Skip to content

Releases: perimetre/ui

v1.4.2

08 Mar 13:00
11c210c
Compare
Choose a tag to compare

[1.4.2] - 2021-03-08

Fixed

  • Fixed an issue where purgecss was purging more than it needed to
  • Fixed a bug where the WYSIWYGInput text align buttons were not toggling correctly when switching from an alignment to another

v1.4.1

04 Mar 19:40
a42f8aa
Compare
Choose a tag to compare

[1.4.1] - 2021-03-04

Fixed

  • Typescript declaration files are now being exported in the src folder. Updated the npm lookup to consider that folder now.

v1.4.0

04 Mar 18:25
ec0b6db
Compare
Choose a tag to compare

[1.4.0] - 2021-03-04

Changes

  • Removed DOMPurify in favor of xss for sanitization due to server side rendering compatibility. xss is used instead of isomorphic-dompurify because the latter includes the JSDOM in a manner that rollup cannot correctly build it.
  • Moved string interpolation in favor of classname mappers on components.
  • Moved string interpolation in favor of classname mappers on stories.

Added

  • The following components were added:
    • HTMLParsedContent
    • DragFileUploadInput
  • WYSIWYGInput now also sanitizes defaultHtmlValue

Fixed

  • Fixed an issue in WYSIWYGInput where its max-width would be limited due to the prose class
  • Fixed an issue with the Button component classes where the classnames would overlap, and no classname would be returned in the end
  • Fixed an issue where purgecss wasn't considering the storybook folder

v1.3.2

03 Mar 19:07
70a0281
Compare
Choose a tag to compare

[1.3.2] - 2021-03-03

Fixed

  • Added missing export for SelectInput component

v1.3.1

02 Mar 17:10
d433dc0
Compare
Choose a tag to compare

[1.3.1] - 2021-03-02

Changes

  • Overriding tailwind prose default color values for our colors

Fixed

  • Added type definition for new getPlainText method in WYSIWYGInput component

v1.3.0

02 Mar 16:15
673022b
Compare
Choose a tag to compare

[1.3.0] - 2021-03-02

Added

  • Added getPlainText method to useImperativeHandle hook in WYSIWYGInput component

v1.2.0

01 Mar 18:09
be99d52
Compare
Choose a tag to compare

[1.2.0] - 2021-03-01

Added

  • Added Grid component

v1.1.11

26 Feb 19:55
Compare
Choose a tag to compare

[1.1.11] - 2021-02-26

Fixed

  • Fixed an issue where the button classes weren't being applied if using icon variant

v1.1.10

26 Feb 18:10
Compare
Choose a tag to compare

[1.1.10] - 2021-02-26

Changes

  • Button component now allows ref forwarding

v1.1.9

26 Feb 17:29
Compare
Choose a tag to compare

[1.1.9] - 2021-02-26

Fixed

  • Absolute position of drawer in relation to screen fixed to also lock beginning of drawer to left side of screen