Releases: perimetre/ui
Releases · perimetre/ui
v3.0.1
[3.0.1] - 2021-04-30
Fixed
- Fixed how dompurify was getting exported
v3.0.0
[3.0.0] - 2021-04-30
Breaking changes
- Removed
xss
package in favor ofisomorphic-dompurify
v2.1.4
[2.1.4] - 2021-04-16
Fixed
- Fixed a bug that would install mismatching versions of react/react-dom in host projects, causing hooks errors
v2.1.3
[2.1.3] - 2021-04-15
Fixed
- Fixed a bug that would install mismatching versions of react/react-dom in host projects, causing hooks errors
v2.1.2
[2.1.2] - 2021-04-09
Fixed
- Fixed a bug that would cause links to not display their decorators on first render of the WYSIWYGInput component
v2.1.1
[2.1.1] - 2021-04-08
Fixed
- Fixed a bug that would cause links to sanitize their href tags in the HTMLParsedContent component
v2.1.0
[2.1.0] - 2021-03-24
Changes
- Updated setup instructions to use Tailwind's default extractor in purgecss configuration
Added
- Added new class
pui-container
extending Tailwind's defaultcontainer
class, but only allowing maximum width of 1280px instead of allowing up to 1536px - Added new class
pui-container-large
extending Tailwind's defaultcontainer
class
Fixed
- Fixed bug in postcss purge script extractor method, by changing it for Tailwind's default extractor method
- Fixed a bug in disabled buttons to display a regular cursor on hover
v2.0.0
[2.0.0] - 2021-03-12
Breaking changes
- Updated postcss from 7 to 8 and its dependencies
- Updated setup guide to use updated libraries, and
[email protected]
Fixed
- Fixed a bug in the integration of the PostCSS plugin
postcss-nested
withtailwind
by downgrading[email protected]
until known issue gets fixed - Added recommended Next.js settings to custom PostCSS configuration file and to recommended PostCSS instructions in docs
v1.4.4
[1.4.4] - 2021-03-11
Changes
- Changed last example in the WYSIWYGInput docs to use the new HTMLParsedContent component to render the html generated by the input
Fixed
- Fixed a bug in the WYSIWYGInput where the margin between some kind of elements like paragraphs was not being applied in the editor
- Added the same sanitization rules from the WYSIWYGInput to the HTMLParsedContent
v1.4.3
[1.4.3] - 2021-03-10
Fixed
- Fixed a bug where the WYSIWYGInput styles were being all filtered out
- Fixed a bug where the WYSIWYGInput inside a form was making the form submit when clicked on the styles or link buttons