|
26 | 26 | - pat date picker: Remove ``format`` argument and just use the ISO 8601 standard "YYYY-MM-DD", like the specification of date inputs defines it.
|
27 | 27 | Format would have submitted a formatted value where the ISO standard is expected.
|
28 | 28 | This also allows for removing the dependency of ``pat-date-picker`` on MomentJS.
|
| 29 | +- pat datetime picker: |
| 30 | + - Change CSS selectors for better namespacing and remove implicit dependency on glyphicons. |
| 31 | + - Remove dependency on MomentJS. |
| 32 | + - After updating the original input, let the ``change`` event bubble up. |
| 33 | + - Support ``native`` behavior. |
| 34 | + |
29 | 35 |
|
30 | 36 | ### Features
|
31 | 37 |
|
| 38 | +- pat gallery: Import styles for photoswipe. |
| 39 | +- pat carousel: Import styles for slick carousel. |
| 40 | +- pat auto suggest: Import styles for select2. |
| 41 | +- pat-tooltip: Import styles for tippy. |
| 42 | +- pat-modal: Import styles. |
| 43 | +- pat datetime picker: Import styles. |
| 44 | +- pat date picker: Import styles for pikaday. |
| 45 | +- Styles: Import styles by setting ``__patternslib_import_styles`` |
| 46 | + Allow importing styles from external libraries in Patternslib JavaScript via the global variable ``window.__patternslib_import_styles`` set to ``true``. |
| 47 | + This allows loading these styles automatically via Webpack. |
| 48 | + Disable setting style import per default. |
| 49 | +- pat carousel: Use ``imagesloaded`` instead of timeout to wait for images to have been loaded. |
32 | 50 | - core registry: Do not scan patterns within trees with attribute ``hidden`` or class ``cant-touch-this``.
|
33 | 51 | - Implenent lazy loading for external libraries via dynamic imports. Leads to significantly reduced bundle sizes.
|
34 | 52 | - Upgrade pat-calendar to use latest fullcalendar version (5.3.0).
|
|
72 | 90 | - pat-scroll: Implement `selector:bottom` attribute value to scroll to the bottom of the scroll container.
|
73 | 91 | - pat-scroll: Do handle click events also when trigger is set to `auto`.
|
74 | 92 |
|
| 93 | + |
75 | 94 | ### Technical
|
76 | 95 |
|
| 96 | +- Infrastructure: Upgrade jQuery to 3.6.0. |
| 97 | +- Webpack: Backport changes from Mockup - add loaders for images, svg, sass and xml. |
| 98 | +- Webpack: Automatically detect the chunk path or "__webpack_public_path__" while still allowing for overriding via "__patternslib_public_path__". |
| 99 | +- Export all parsers in all patterns to be able to modify default values or add aliases. |
77 | 100 | - core polyfills: Add polyfill for Node.closest method.
|
78 | 101 | - Core Base: ``await`` for initalization in the base class constructor, so that the ``init`` event is really thrown after initialization is done.
|
79 | 102 | - pat calendar: Explicitly import JavaScript language files to avoid missing Webpack TypeScript loader errors.
|
|
104 | 127 | - core base: Add the parser instance to pattern attributes if available.
|
105 | 128 | We can then reuse the parser from registered patterns. This is used in the ``_rebaseHTML`` method of pat-inject to URL-rebase the pattern configuration.
|
106 | 129 |
|
| 130 | + |
107 | 131 | ### Fixes
|
108 | 132 |
|
109 | 133 | - core dom is_visible: Mock in tests to check only for hidden to avoid unavailable offsetWidth/offsetHeight in Jest.
|
|
0 commit comments