Releases: perimetre/ui
Releases · perimetre/ui
v1.4.2
[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
[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
[1.4.0] - 2021-03-04
Changes
- Removed
DOMPurify
in favor ofxss
for sanitization due to server side rendering compatibility.xss
is used instead ofisomorphic-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 sanitizesdefaultHtmlValue
Fixed
- Fixed an issue in
WYSIWYGInput
where its max-width would be limited due to theprose
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
[1.3.2] - 2021-03-03
Fixed
- Added missing export for
SelectInput
component
v1.3.1
[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
[1.3.0] - 2021-03-02
Added
- Added
getPlainText
method touseImperativeHandle
hook in WYSIWYGInput component
v1.2.0
[1.2.0] - 2021-03-01
Added
- Added Grid component
v1.1.11
[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
[1.1.10] - 2021-02-26
Changes
- Button component now allows
ref
forwarding
v1.1.9
[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