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
***core events:** Add dragstart and dragend event factories. ([73d7fc7](https://github.com/Patternslib/patterns/commit/73d7fc748f1c2c6be8f9fd1d0d405aadea140594))
14
+
15
+
16
+
### Bug Fixes
17
+
18
+
19
+
***Build:** Load modernizr early and non-asynchronously. ([8bc9b66](https://github.com/Patternslib/patterns/commit/8bc9b66e96285496fdb129ca1fa07759ddd4fd42))Include the modernizr bundle by injecting a script tag. This ensures
20
+
modernizr is loaded synchronously and executing early and sets it's
21
+
feature detection classes before the layout is done by the browser.
22
+
23
+
This reverts the breaking change from the previous Patternslib 9.8.0-beta.2
24
+
release. The separate modernizr.min.js build file is still kept, but
25
+
modernizr is included by the main Patternslib bundle. There is no need
26
+
to add another script tag to include modernizr.
27
+
28
+
You can disable loading of modernizr by setting the following before the
Also, the "js" class is set on the HTML root tag when a "no-js" class
34
+
was present regardless of the "__patternslib_disable_modernizr" setting.
35
+
36
+
Since Patternslib 9.0.0-alpha.0 where we introduced webpack module
37
+
federation for our bundles, Modernizr is loaded asynchronously and
38
+
applying it's CSS classes a tick too late. For example, the change from
39
+
the "no-js" to the "js" class was done while the tiles have already been
40
+
drawn and visible on the screen, resulting in screen flickering. There
41
+
are a number of projects which depend on Modernizr being applied early.
42
+
43
+
***pat-sortable:** Initialize sorting on cloned elements. ([d7abbc0](https://github.com/Patternslib/patterns/commit/d7abbc01febabec2162d58251c59495a89d2ed6f))Fix sorting behavior on cloned elements, which broke on Patternslib 9.8.0-alpha.0.
44
+
45
+
46
+
### Maintenance
47
+
48
+
49
+
***Build:** Do not include the example minimalpattern in the build. ([9712019](https://github.com/Patternslib/patterns/commit/971201918da325644a8fa04d1c1886424055913e))
50
+
51
+
***Build:** Remove now unused globals module. ([8e05515](https://github.com/Patternslib/patterns/commit/8e05515fbca24f0a16536f20263b09b4506d7f2c))jQuery is now imported and set earlier.
52
+
53
+
***Docs:** Update some documentation. ([4ccf1bd](https://github.com/Patternslib/patterns/commit/4ccf1bd23fa3983844836973a6febd3549836106))
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-beta.2",
3
+
"version": "9.8.0-beta.3",
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