Releases: perimetre/ui
Releases · perimetre/ui
v3.4.5
[3.4.5] 2022-01-26
Changes
- Removed gradient props (gradientInitialColor, gradientMiddleColor, gradientFinalColor) from
ProgramCard
component. - Removed gradient props (gradientInitialColor, gradientMiddleColor, gradientFinalColor) from
EventCard
component.
Added
- Added prop classNameBar to allow changing the styles of bar for the
EventCard
component. - Added class
outline-none
toModuleCard
to prevent outline when focus the button. - Added class
outline-none
toProgramCard
to prevent outline when focus the button. - Added class
outline-none
toEventCard
to prevent outline when focus the button. - Added
onPressButton
callback toEventCard
button.
Fixed
- Fixed problem with
ModuleCard
andProgramCard
buttons displaying a black outline when pressed. - Fixed problem with
EventCard
not having a button callback.
v3.4.4
[3.4.4] 2022-01-24
Added
- Added prop classNameTitle to allow changing the styles of title for the
ProgramCard
component. - Added filter props (filter variant and classNameFilter) on
ProgramCard
to display a linear gradient overlay on the top of the image. - Added
onPressButton
callback toProgramCard
button.
Fixed
- Fixed problem with
ProgramCard
not having a button callback.
v3.4.3
[3.4.2] 2022-01-18
Fixed
- Fix font weight for buttons in cards
- Fix the type issue in the percentage bar on ModuleCards
v3.4.2
[3.4.2] 2022-01-18
Fixed
- Fix font weight for buttons in cards
- Fix the type issue in the percentage bar on ModuleCards
v3.4.1
[3.4.1] 2022-01-14
Added
- Added props (classNameTitle and classNameContent) to allow changing the styles of title and content from the
ModuleCard
component. - Added filter props (filter variant and classNameFilter) on
ModuleCard
to display a linear gradient overlay on the top of the image. - Added
onPressButton
callback toModuleCard
button.
Fixed
- Fixed problem with
ModuleCard
not having a button callback.
v3.4.0
[3.4.0] 2022-01-10
Added
- Add percentage cicles component
- Add percentage list connector component
- Add percentage card Banners component
- Add percentage cirlces component
- Add images with gradient border component
- Add expert cards
- Add Event cards
- Add Program cards
- Add Resources cards
v3.3.0
[3.3.0]
Fixed
- Moved storybook libraries to
devDependencies
so they are not included in the package bundle - Updated storybook libraries to fix vulnerabilities issues
- Removed
next
frompeerDependencies
since the components in the UI lib don't depend on it - Moved
next
todevDependencies
so it is not included in the package bundle - Updated
next
to fix vulnerabilities issues - Updated
formik
to fix vulnerabilities issues - Updated
svgo
to fix vulnerabilities issues, and made code tweaks where it is used because the update involved breaking changes - Updated other libraries to fix vulnerabilities issues
v3.2.0
[3.2.0] 2021-11-24
Added
- Added imperative handler
resetInitialValue
to reset WYSIWYG rich text editor state to the value set indefaultHtmlValue
v3.1.4
v3.1.3
[3.1.3] 2021-08-04
Added
- Added
entityLinkTransform
function onWYSIWYG
input to add the propstarget="_blank" rel="noreferrer"
into all linksa
tags. - Added new config into
DOMPurify.sanitize
to prevent it from replacing thetarget="_blank"
prop on links.
Fixed
- Fixed problem with links not opening on a new tab.