Skip to content

Releases: perimetre/ui

v3.4.5

26 Jan 14:48
c901126
Compare
Choose a tag to compare

[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 to ModuleCard to prevent outline when focus the button.
  • Added class outline-none to ProgramCard to prevent outline when focus the button.
  • Added class outline-none to EventCard to prevent outline when focus the button.
  • Added onPressButton callback to EventCard button.

Fixed

  • Fixed problem with ModuleCard and ProgramCard buttons displaying a black outline when pressed.
  • Fixed problem with EventCard not having a button callback.

v3.4.4

24 Jan 18:09
e878e6a
Compare
Choose a tag to compare

[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 to ProgramCard button.

Fixed

  • Fixed problem with ProgramCard not having a button callback.

v3.4.3

24 Jan 13:55
46a2a12
Compare
Choose a tag to compare

[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

18 Jan 14:52
6b4a910
Compare
Choose a tag to compare

[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

14 Jan 18:31
1ba8de4
Compare
Choose a tag to compare

[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 to ModuleCard button.

Fixed

  • Fixed problem with ModuleCard not having a button callback.

v3.4.0

10 Jan 18:43
cb7823a
Compare
Choose a tag to compare

[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

03 Dec 17:47
9245d95
Compare
Choose a tag to compare

[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 from peerDependencies since the components in the UI lib don't depend on it
  • Moved next to devDependencies 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

24 Nov 20:24
18d2c74
Compare
Choose a tag to compare

[3.2.0] 2021-11-24

Added

  • Added imperative handler resetInitialValue to reset WYSIWYG rich text editor state to the value set in defaultHtmlValue

v3.1.4

20 Oct 13:08
64e0543
Compare
Choose a tag to compare

[3.1.4] 2021-10-20

Added

  • Added rich-text support for inputs of type Radio and Checkbox

v3.1.3

04 Aug 13:43
1bfbc9f
Compare
Choose a tag to compare

[3.1.3] 2021-08-04

Added

  • Added entityLinkTransform function on WYSIWYG input to add the props target="_blank" rel="noreferrer" into all links a tags.
  • Added new config into DOMPurify.sanitize to prevent it from replacing the target="_blank" prop on links.

Fixed

  • Fixed problem with links not opening on a new tab.