Releases: Patternslib/pat-content-mirror
Release 4.0.1
Release 4.0.0
4.0.0 (2025-01-15)
Features
-
Remove line breaks. (459890d)
.pat-content-mirror is intended for single-line inputs which need to be
wrapped if the line is getting too long. Line breaks are not allowed but
were possible until now.
Now they are stripped from the input. Instead a single space character
is used. This also works for copy/pasting where a list would not result
in a long concatenated string but with a space as separator in between.
Ref: scrum-2879
Bug Fixes
-
Add a test for the form reset feature fix. (c2ec64e)
Before modernization the reset button did not reset the placeholders in
the pat-content-mirror mirror element. Not it does. This test just shows it,
the fix was done in the previous commit.
Maintenance
-
Add test showing a different than the proposed markup structure. (6a3e948)
-
Create a better demo. (3144221)
- Include the bundle from the webpack dev server url.
- Add a reset button to test the reset functionality.
- Add a form to test form integration with the reset button.
- Empty the placeholders as they are filled from the placeholder
attribute on the pat-content-mirror input. - Remove unnecessary elements, add fieldset wrappers.
- Reformat with zpretty, modernize.
-
pat-content-mirror: Align with latest stanards from pat-PATTERN_TEMPLATE. (597a66e)
-
pat-content-mirror: Rework for class based pattern. (78c3b67)
Note: the event binding on the propertychange event is removed as this dates
back to IE times and is not supported by any modern browser. -
Upgrade Node.js version for GitHub actions to 22 (LTS) and GitHub workflow dependencies. (b31d4a7)
Release 3.0.0
Release 3.0.0-alpha.0
3.0.0-alpha.0 (2022-06-15)
Features
- Build: Build module federation enabled bundles. (3ef070b)
Breaking Changes
-
Depend on @patternslib/dev and extend config from there. (2ec9a14)
-
Extend babel config from @patternslib/dev. (7362aa6)
-
Extend commitlint config from @patternslib/dev. (fa15a47)
-
Extend eslint config from @patternslib/dev. (354dac2)
-
Extend jest config from @patternslib/dev. (665a68c)
-
Extend Makefile from @patternslib/dev. (9906b70)
-
Extend prettier config from @patternslib/dev. (246875b)
-
Extend release-it config from @patternslib/dev. (dfe1071)
-
Extend webpack config from @patternslib/dev. (078daa9)
Maintenance
-
build: Add build:dev script to package.json to create a unminified development build. (24899fc)
-
Build: @patternslib/patternslib as peerDependency. (8290399)Move @patternslib/patternslib dependency to peerDependencies and set to any version to avoid version conflicts when this package is a dependency of another Patternslib based package.
-
Build: Add @patternslib/patternslib also to devDependencies so that we get it installed. (98c29eb)
-
Build: Add keyword "patternslib" to package.json. (4952153)
-
Build: Extend jest.config.js from Patternslib and reuse their setupTests file too. (6d6e04a)
-
Build: Keep yarn.lock in repository. (7cd4042)
-
Build: Makefile - Allow OTP when publishing to npm, build bundles and publish them on GitHub, add pre-release targets. (401eace)
-
Build: Remove dependency regenerator-runtime except from test setup. The async/await runtime handling is already built-in in current Babel. (25f8f0f)
-
Build: Remove dependency underscore, explicitly add dependency jquery. (1d201ac)
-
Build: Update GitHub actions setup. (0bf2b95)
-
Build: Upgrade and cleanup dependencies. (779af4d)