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
Copy file name to clipboardExpand all lines: CHANGES.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@
29
29
30
30
### Features
31
31
32
+
- core registry: Do not scan patterns within trees with attribute ``hidden`` or class ``cant-touch-this``.
32
33
- Implenent lazy loading for external libraries via dynamic imports. Leads to significantly reduced bundle sizes.
33
34
- Upgrade pat-calendar to use latest fullcalendar version (5.3.0).
34
35
- pat calendar: Add fullcalendar list views.
@@ -48,6 +49,7 @@
48
49
- Allow overriding the public path from outside via the definition of a ``window.__patternslib_public_path__`` global variable.
49
50
- Introduce new ``core/dom`` module for DOM manipulation and traversing.
50
51
``core/dom`` includes methods which help transition from jQuery to the JavaScript DOM API.
52
+
- core dom: Add ``get_parents`` to return all parent elements from a given DOM node.
51
53
- core dom: Add ``toNodeArray`` to return an array of DOM nodes if a NodeList, single DOM node or a jQuery object was passed.
52
54
- core dom: Add ``querySelectorAllAndMe`` to do a querySelectorAll including the starter element.
53
55
- core dom: Add ``wrap`` wrap an element with a wrapper element.
@@ -72,6 +74,9 @@
72
74
73
75
### Technical
74
76
77
+
- core polyfills: Add polyfill for Node.closest method.
78
+
- Core Base: ``await`` for initalization in the base class constructor, so that the ``init`` event is really thrown after initialization is done.
79
+
- pat calendar: Explicitly import JavaScript language files to avoid missing Webpack TypeScript loader errors.
75
80
- Use Babel for all files, allowing latest JavaScript features everywhere.
76
81
- Add example `minimalpattern`.
77
82
- Replace `slave` terminology with `dependent`.
@@ -101,6 +106,7 @@
101
106
102
107
### Fixes
103
108
109
+
- core dom is_visible: Mock in tests to check only for hidden to avoid unavailable offsetWidth/offsetHeight in Jest.
104
110
- pat calendar, pat checklist, pat datetime-picker: Dispatch DOM events with bubbling and canceling features enabled, as real DOM events do.
105
111
Fixes a problem where calendar categories did not show their initial state correctly.
106
112
- pat inject: Make sure that nested pat-inject element have the correct context for target ``self``. Fixes: https://github.com/quaive/ploneintranet.prototype/issues/1164
0 commit comments