You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***Build:** Include the build in the npm package. ([544b589](https://github.com/Patternslib/patterns/commit/544b58993af72e02872efcb9564a54af60b64ba8))The compiled build is now included in npm packages by including the dist
14
+
directory in .npmignore. To not increase the package size too much the
15
+
JavaScript map files are not included. Now you can include Patternslib
***core dom:** Add is_input method. ([554e32e](https://github.com/Patternslib/patterns/commit/554e32e08b825e6799df47f23ac643349be2de5a))Add "is_input" to test if a element is of input type.
23
+
This is basically the same as $(":input") from Sizzle/jQuery.
24
+
25
+
***pat-markdown:** Soft-depend on pat-syntax-highlight. ([cf0f6e3](https://github.com/Patternslib/patterns/commit/cf0f6e31d99eac3b4ee925f0ee3f0194c85c6b0b))Only highlight code blocks when the pattern is available.
26
+
27
+
Not hard-depending and importing pat-syntax-highlight fixes a problem
28
+
where only including pat-markup also included pat-syntax-highlight and
29
+
it's big highlight.js library.
30
+
31
+
This can reduce the generated bundle size significantly.
32
+
33
+
***pat-tooltip:** Soft-depend on pat-markdown. ([1f81238](https://github.com/Patternslib/patterns/commit/1f81238d7cb0e838dba4cbd085b7c0369623be0b))Only register the markdown data type handler when the pattern is available.
34
+
35
+
Not hard-depending and importing pat-markdown fixes a problem where only
36
+
including pat-tooltip also included pat-markdown and
37
+
pat-syntax-highlight with it's big highlight.js library.
38
+
39
+
This can reduce the generated bundle size significantly.
40
+
41
+
42
+
### Bug Fixes
43
+
44
+
45
+
***pat-bumper:** Fix runtime error due to reference to wrong container. ([893d392](https://github.com/Patternslib/patterns/commit/893d392738be0b98d2e5b2cf19e89714dc92965c))
46
+
47
+
***pat-collapsible:** Class-based patterns cannot be jQuery plugins. ([eedcc47](https://github.com/Patternslib/patterns/commit/eedcc474130244cdb3a5944a910af60e69d707ba))
48
+
49
+
***pat-syntax-highlight:** Do not load all languages. ([c34d4a0](https://github.com/Patternslib/patterns/commit/c34d4a0e65739c4f00752fef77e98e8d8cdf74c1))Change the import so that no language is included by default.
50
+
Instead import the languages dynamically.
51
+
52
+
This reduces the download size when pat-syntaax-highlight is used
53
+
significantly.
54
+
55
+
***pat-syntax-highlight:** Fix language registration. ([19bbb53](https://github.com/Patternslib/patterns/commit/19bbb53d11d46a9a183c64454930f70d603dca18))Fix a typo where all languages were registered as "javascript".
56
+
57
+
58
+
### Maintenance
59
+
60
+
61
+
* Add deprecation note for public_path. ([f6d8124](https://github.com/Patternslib/patterns/commit/f6d8124a84d744f217a8eec2d5b7b184d210439d))
62
+
63
+
***Build:** Remove the IE11 polyfills-loader. ([6eaddec](https://github.com/Patternslib/patterns/commit/6eaddecd4fa6dcdb0670ee4cc4e8658f7cad7b68))Clear out the polyfills-loader script but keep the module for backwards
64
+
compatibility. No IE11 compatibility polyfills are included anymore as
65
+
support for IE11 has recently really and finally dropped. The
66
+
polyfills-loader.js file is still shipped but empty for compatibility
67
+
with projects including the polyfills loader.
68
+
69
+
***Build:** Remove unused prismljs and google-code-prettify modules. ([ed808e5](https://github.com/Patternslib/patterns/commit/ed808e5cb4b6a1adbebf3609bf1ff65b69557561))
70
+
71
+
***Build:** Update browserslist setting. ([a29b9e8](https://github.com/Patternslib/patterns/commit/a29b9e8edcfd87326b5a9c18b35733ebf0afa58a))Explicitly remove ie11 from browserslist.
72
+
It wasn't used due to the "not dead" setting anyways.
***Build:** Upgrade pat-tiptap to 4.7.0. ([ad0be10](https://github.com/Patternslib/patterns/commit/ad0be10f070b3a23057f957aad036eb97b594baf))
77
+
78
+
***core basepattern:** Avoid code linting problem. ([d2836bd](https://github.com/Patternslib/patterns/commit/d2836bdd0ec5dc63ca1a96711fd34d6d6efd5f1a))Avoid code linting problem and make clear the init method is/can be
79
+
asynchronous.
80
+
81
+
***pat-markdown:** Improve registering the markdown handler for pat-inject. ([3f17e99](https://github.com/Patternslib/patterns/commit/3f17e9989de092da5b95480a6dd7334912933799))Wait a tick before registering the markdown type handler for pat-inject.
82
+
83
+
With that there is no need for pat-inject to be imported before
84
+
pat-markdown, as long as it is imported side by side with pat-markdown.
85
+
86
+
***pat-markdown:** Switch to class based pattern. ([c6dc8b0](https://github.com/Patternslib/patterns/commit/c6dc8b093f252d94b69a2e57812f9ca5b8070c30))
87
+
88
+
***pat-stacks:** The trigger should be a static property. ([4f0bb0f](https://github.com/Patternslib/patterns/commit/4f0bb0f0efa32975480c3d755a09dfe79390f8c9))
89
+
90
+
***pat-syntax-highlight:** The trigger should be a static property. ([e341681](https://github.com/Patternslib/patterns/commit/e341681c27575e99e5a6d1fb90277bf9d75b0046))
91
+
92
+
***pat-tooltip:** Switch to class based pattern. ([4fdb12a](https://github.com/Patternslib/patterns/commit/4fdb12a751e5fa798dcdc810f461383c334ee7fb))
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@patternslib/patternslib",
3
-
"version": "9.8.0-alpha.1",
3
+
"version": "9.8.0-alpha.2",
4
4
"title": "Markup patterns to drive behaviour.",
5
5
"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.",
0 commit comments