diff --git a/CHANGES.md b/CHANGES.md index 52da30ae5..5a83319c8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,60 @@ See the [history](./docs/history/index.md) for older changelog entries. +## [9.9.14](https://github.com/Patternslib/patterns/compare/9.9.13...9.9.14) (2024-08-19) + + +### Bug Fixes + + +* **core dom:** Avoid circular imports. ([962d5f2](https://github.com/Patternslib/patterns/commit/962d5f275c577beff0bd3cd7eccea376a117dcbb)) + + Remove BBB export "add_event_listener" and "remove_event_listener" to avoid circular imports. +This fixes a test-run problem in pat-tiptap and was long overdue anyways. + +## [9.9.13](https://github.com/Patternslib/patterns/compare/9.9.12...9.9.13) (2024-08-19) + + +### Bug Fixes + + +* **Build:** Apply "npm pkg fix" to correct the repository URL. ([cfec736](https://github.com/Patternslib/patterns/commit/cfec7360ed2026e07f037dca92ed56d0232f7fa7)) + + +* Fix reference to 3rd party styles in stylesheets. ([d00253d](https://github.com/Patternslib/patterns/commit/d00253df839fbb4b2f774992c0c3df8ab7b757a9)) + + Since latest scss build tools which became available in +`@patternslib/dev` version 3.6 references to `node_modules` need to be +left out. The build tool searches in node_modules anyways. This is now +fixed. + + +* **pat-carousel:** Fix SASS compilation warnings. ([e4e2dae](https://github.com/Patternslib/patterns/commit/e4e2daea38c59740a8e0a72b40c9772c65d549fe)) + + Upgrade to a version of slick.js where the compilation warnings are fixed. + + +* **pat-inject:** Fix failing test. ([1472b06](https://github.com/Patternslib/patterns/commit/1472b0635820c97d376846910dcfe1cdf0c36328)) + + Recent Jest/jsDOM stopped working with uppercase tag selectors. +This is now fixed without making compromises to production code, as the +new result is more readable. + + + +### Maintenance + + +* **pat-inject:** Fix some test method names. ([e9a5257](https://github.com/Patternslib/patterns/commit/e9a52571be5c12b394600e48d164a2fb802d5481)) + + +* **pat-inject:** Rework `_rebaseHTML` to non-JQuery code as preparation to fix a failing test with recent @patternslib/dev. ([df710a2](https://github.com/Patternslib/patterns/commit/df710a20a15d7a9b26ee6411a9b463e791b7f386)) + + +* Update GitHub Actions workflow. ([a413e26](https://github.com/Patternslib/patterns/commit/a413e2649f0c19ae1bea791ef7c8241f00b92b18)) + + +* Upgrade devDependencies. ([bda3cf1](https://github.com/Patternslib/patterns/commit/bda3cf13dbbf4c597dc8e8a70c3a8b584a473163)) ## [9.9.12](https://github.com/Patternslib/patterns/compare/9.9.11...9.9.12) (2024-07-23) diff --git a/package.json b/package.json index ad0dc4ea5..7c0b2ec21 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@patternslib/patternslib", - "version": "9.9.12", + "version": "9.9.14", "title": "Markup patterns to drive behaviour.", "description": "Patternslib is a JavaScript library that enables designers to build rich interactive prototypes without the need for writing any Javascript. All events are triggered by classes and other attributes in the HTML, without abusing the HTML as a programming language. Accessibility, SEO and well structured HTML are core values of Patterns.", "license": "BSD-3-Clause", @@ -30,7 +30,7 @@ "select2": "^3.5.1", "showdown": "^2.1.0", "showdown-prettify": "^1.3.0", - "slick-carousel": "^1.8.1", + "slick-carousel": "git+https://github.com/kenwheeler/slick.git#d0716f1", "slides": "git+https://github.com/Patternslib/slides.git", "spectrum-colorpicker": "^1.8.0", "tippy.js": "^6.3.7" @@ -82,7 +82,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/Patternslib/patterns.git" + "url": "git+https://github.com/Patternslib/patterns.git" }, "maintainers": [ { diff --git a/src/core/dom.js b/src/core/dom.js index 706b81c82..01529d838 100644 --- a/src/core/dom.js +++ b/src/core/dom.js @@ -1,5 +1,4 @@ /* Utilities for DOM traversal or navigation */ -import events from "./events"; import logging from "./logging"; const logger = logging.getLogger("core dom"); @@ -606,8 +605,6 @@ const dom = { escape_css_id: escape_css_id, element_uuid: element_uuid, find_form: find_form, - add_event_listener: events.add_event_listener, // BBB export. TODO: Remove in an upcoming version. - remove_event_listener: events.remove_event_listener, // BBB export. TODO: Remove in an upcoming version. }; export default dom; diff --git a/src/pat/colour-picker/_colour-picker.scss b/src/pat/colour-picker/_colour-picker.scss index 72d7932b2..9b469c553 100644 --- a/src/pat/colour-picker/_colour-picker.scss +++ b/src/pat/colour-picker/_colour-picker.scss @@ -1,5 +1,6 @@ @charset "UTF-8"; -@import "node_modules/spectrum-colorpicker/spectrum"; + +@import "spectrum-colorpicker/spectrum"; .checkNative, .checkPattern { diff --git a/src/pat/date-picker/_date-picker.scss b/src/pat/date-picker/_date-picker.scss index 9320adea9..e7f9877f1 100644 --- a/src/pat/date-picker/_date-picker.scss +++ b/src/pat/date-picker/_date-picker.scss @@ -1,2 +1,2 @@ @charset "UTF-8"; -@import "node_modules/pikaday/scss/pikaday.scss"; +@import "pikaday/scss/pikaday.scss"; diff --git a/yarn.lock b/yarn.lock index 195354f5b..5298755fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8671,10 +8671,9 @@ slash@^5.0.0, slash@^5.1.0: resolved "https://registry.yarnpkg.com/slash/-/slash-5.1.0.tgz#be3adddcdf09ac38eebe8dcdc7b1a57a75b095ce" integrity sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg== -slick-carousel@^1.8.1: +"slick-carousel@git+https://github.com/kenwheeler/slick.git#d0716f1": version "1.8.1" - resolved "https://registry.yarnpkg.com/slick-carousel/-/slick-carousel-1.8.1.tgz#a4bfb29014887bb66ce528b90bd0cda262cc8f8d" - integrity sha512-XB9Ftrf2EEKfzoQXt3Nitrt/IPbT+f1fgqBdoxO3W/+JYvtEOW6EgxnWfr9GH6nmULv7Y2tPmEX3koxThVmebA== + resolved "git+https://github.com/kenwheeler/slick.git#d0716f19aa730006ee80ab026625fb1107816a97" "slides@git+https://github.com/Patternslib/slides.git": version "0.1.1"