@patternslib/pat-content-mirror
Advanced tools
Changelog
4.0.0 (2025-01-15)
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
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.
Add test showing a different than the proposed markup structure. (6a3e948)
Create a better demo. (3144221)
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)
Changelog
3.0.0-alpha.0 (2022-06-15)
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)
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)
Changelog
1.0.1 (2021-04-23)