@ulu/frontend 0.1.0-beta.99 → 0.2.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/README.md +12 -0
- package/{types/utils/system.d.ts → dist/es/core/component.d.ts} +7 -16
- package/dist/es/core/component.d.ts.map +1 -0
- package/dist/es/core/component.js +134 -0
- package/dist/es/core/events.d.ts +27 -0
- package/dist/es/core/events.d.ts.map +1 -0
- package/dist/es/core/events.js +45 -0
- package/dist/es/core/index.d.ts +4 -0
- package/{types/utils → dist/es/core}/index.d.ts.map +1 -1
- package/{types → dist/es/core}/settings.d.ts +1 -1
- package/dist/es/core/settings.d.ts.map +1 -0
- package/dist/es/core/settings.js +44 -0
- package/dist/es/index.d.ts +4 -0
- package/{types → dist/es}/index.d.ts.map +1 -1
- package/dist/es/index.js +125 -0
- package/{types → dist/es}/ui/breakpoints.d.ts +9 -9
- package/dist/es/ui/breakpoints.d.ts.map +1 -0
- package/dist/es/ui/breakpoints.js +194 -0
- package/{types → dist/es}/ui/collapsible.d.ts +28 -7
- package/dist/es/ui/collapsible.d.ts.map +1 -0
- package/dist/es/ui/collapsible.js +140 -0
- package/{types → dist/es}/ui/details-group.d.ts +1 -1
- package/dist/es/ui/details-group.d.ts.map +1 -0
- package/dist/es/ui/details-group.js +49 -0
- package/{types → dist/es}/ui/dialog.d.ts +3 -3
- package/dist/es/ui/dialog.d.ts.map +1 -0
- package/dist/es/ui/dialog.js +112 -0
- package/{types → dist/es}/ui/flipcard.d.ts +1 -1
- package/dist/es/ui/flipcard.d.ts.map +1 -0
- package/dist/es/ui/flipcard.js +97 -0
- package/{types → dist/es}/ui/grid.d.ts +2 -2
- package/dist/es/ui/grid.d.ts.map +1 -0
- package/dist/es/ui/grid.js +18 -0
- package/dist/es/ui/index.d.ts +23 -0
- package/{types → dist/es}/ui/index.d.ts.map +1 -1
- package/{types → dist/es}/ui/modal-builder.d.ts +22 -17
- package/dist/es/ui/modal-builder.d.ts.map +1 -0
- package/dist/es/ui/modal-builder.js +136 -0
- package/dist/es/ui/overflow-scroller-pager.d.ts.map +1 -0
- package/dist/es/ui/overflow-scroller-pager.js +28 -0
- package/{types → dist/es}/ui/overflow-scroller.d.ts +3 -3
- package/dist/es/ui/overflow-scroller.d.ts.map +1 -0
- package/dist/es/ui/overflow-scroller.js +90 -0
- package/dist/es/ui/page.d.ts.map +1 -0
- package/dist/es/ui/page.js +7 -0
- package/{types → dist/es}/ui/popover.d.ts +4 -4
- package/dist/es/ui/popover.d.ts.map +1 -0
- package/dist/es/ui/popover.js +77 -0
- package/dist/es/ui/print-details.d.ts.map +1 -0
- package/dist/es/ui/print-details.js +22 -0
- package/dist/es/ui/print.d.ts.map +1 -0
- package/dist/es/ui/print.js +34 -0
- package/{types → dist/es}/ui/programmatic-modal.d.ts +2 -2
- package/dist/es/ui/programmatic-modal.d.ts.map +1 -0
- package/dist/es/ui/programmatic-modal.js +55 -0
- package/{types → dist/es}/ui/proxy-click.d.ts +4 -4
- package/dist/es/ui/proxy-click.d.ts.map +1 -0
- package/dist/es/ui/proxy-click.js +44 -0
- package/{types → dist/es}/ui/resizer.d.ts +17 -17
- package/dist/es/ui/resizer.d.ts.map +1 -0
- package/dist/es/ui/resizer.js +242 -0
- package/{types → dist/es}/ui/scroll-slider.d.ts +1 -1
- package/dist/es/ui/scroll-slider.d.ts.map +1 -0
- package/dist/es/ui/scroll-slider.js +29 -0
- package/{types → dist/es}/ui/scrollpoint.d.ts +80 -12
- package/dist/es/ui/scrollpoint.d.ts.map +1 -0
- package/dist/es/ui/scrollpoint.js +178 -0
- package/{types → dist/es}/ui/slider.d.ts +16 -13
- package/dist/es/ui/slider.d.ts.map +1 -0
- package/dist/es/ui/slider.js +290 -0
- package/{types → dist/es}/ui/tabs.d.ts +2 -2
- package/dist/es/ui/tabs.d.ts.map +1 -0
- package/dist/es/ui/tabs.js +64 -0
- package/{types → dist/es}/ui/theme-toggle.d.ts +4 -4
- package/dist/es/ui/theme-toggle.d.ts.map +1 -0
- package/dist/es/ui/theme-toggle.js +190 -0
- package/{types → dist/es}/ui/tooltip.d.ts +5 -5
- package/dist/es/ui/tooltip.d.ts.map +1 -0
- package/dist/es/ui/tooltip.js +184 -0
- package/{types → dist/es}/utils/class-logger.d.ts +4 -4
- package/dist/es/utils/class-logger.d.ts.map +1 -0
- package/dist/es/utils/class-logger.js +37 -0
- package/dist/es/utils/css.d.ts.map +1 -0
- package/dist/es/utils/css.js +6 -0
- package/{types → dist/es}/utils/dom.d.ts +1 -1
- package/dist/es/utils/dom.d.ts.map +1 -0
- package/dist/es/utils/dom.js +29 -0
- package/{types → dist/es}/utils/file-save.d.ts +4 -1
- package/dist/es/utils/file-save.d.ts.map +1 -0
- package/dist/es/utils/file-save.js +46 -0
- package/{types → dist/es}/utils/floating-ui.d.ts +1 -1
- package/dist/es/utils/floating-ui.d.ts.map +1 -0
- package/dist/es/utils/floating-ui.js +46 -0
- package/dist/es/utils/font-awesome.d.ts.map +1 -0
- package/dist/es/utils/font-awesome.js +13 -0
- package/dist/es/utils/id.d.ts.map +1 -0
- package/dist/es/utils/id.js +11 -0
- package/dist/es/utils/index.d.ts +8 -0
- package/dist/es/utils/index.d.ts.map +1 -0
- package/dist/es/utils/pause-youtube-video.d.ts.map +1 -0
- package/dist/es/utils/pause-youtube-video.js +27 -0
- package/dist/umd/style.css +1 -0
- package/dist/umd/ulu-frontend.umd.js +70 -0
- package/lib/index.js +5 -0
- package/{js/utils/system.js → lib/js/core/component.js} +13 -12
- package/lib/js/core/events.js +98 -0
- package/lib/js/core/index.js +34 -0
- package/{js → lib/js/core}/settings.js +3 -3
- package/lib/js/exports.md +126 -0
- package/lib/js/index.js +7 -0
- package/{js → lib/js}/ui/breakpoints.js +40 -35
- package/{js → lib/js}/ui/collapsible.js +2 -2
- package/{js → lib/js}/ui/details-group.js +2 -2
- package/{js → lib/js}/ui/dialog.js +6 -6
- package/{js → lib/js}/ui/flipcard.js +2 -2
- package/{js → lib/js}/ui/grid.js +2 -2
- package/lib/js/ui/index.js +165 -0
- package/{js → lib/js}/ui/modal-builder.js +11 -9
- package/{js → lib/js}/ui/overflow-scroller.js +2 -2
- package/{js → lib/js}/ui/popover.js +2 -2
- package/{js → lib/js}/ui/print-details.js +3 -3
- package/{js → lib/js}/ui/print.js +2 -2
- package/{js → lib/js}/ui/programmatic-modal.js +3 -3
- package/{js → lib/js}/ui/proxy-click.js +2 -2
- package/{js → lib/js}/ui/resizer.js +2 -2
- package/{js → lib/js}/ui/scroll-slider.js +2 -2
- package/{js → lib/js}/ui/scrollpoint.js +2 -2
- package/{js → lib/js}/ui/slider.js +25 -16
- package/{js → lib/js}/ui/tabs.js +2 -2
- package/{js → lib/js}/ui/theme-toggle.js +5 -5
- package/{js → lib/js}/ui/tooltip.js +4 -4
- package/{js → lib/js}/utils/css.js +1 -1
- package/{js → lib/js}/utils/font-awesome.js +2 -2
- package/lib/js/utils/index.js +63 -0
- package/{scss → lib/scss}/_breakpoint.scss +4 -4
- package/{scss → lib/scss}/_button.scss +1 -0
- package/{scss → lib/scss}/_color.scss +42 -38
- package/{scss → lib/scss}/_element.scss +13 -2
- package/{scss → lib/scss}/_typography.scss +15 -0
- package/lib/scss/components/_accordion.scss +268 -0
- package/{scss → lib/scss}/components/_basic-hero.scss +1 -1
- package/lib/scss/components/_breadcrumb.scss +110 -0
- package/{scss → lib/scss}/components/_button.scss +23 -4
- package/{scss → lib/scss}/components/_card-grid.scss +8 -2
- package/lib/scss/components/_card.scss +655 -0
- package/lib/scss/components/_definition-list.scss +178 -0
- package/{scss → lib/scss}/components/_form-theme.scss +3 -3
- package/{scss → lib/scss}/components/_index.scss +25 -0
- package/{scss → lib/scss}/components/_menu-stack.scss +170 -16
- package/{scss → lib/scss}/components/_modal.scss +23 -13
- package/lib/scss/components/_progress-bar.scss +260 -0
- package/lib/scss/components/_progress-circle.scss +175 -0
- package/{scss → lib/scss}/components/_skeleton.scss +24 -20
- package/{scss → lib/scss}/components/_tag.scss +49 -7
- package/{scss → lib/scss}/helpers/_utilities.scss +22 -3
- package/package.json +65 -43
- package/.browserslistrc +0 -2
- package/.eslintrc +0 -17
- package/.prettierrc +0 -10
- package/CHANGELOG.md +0 -750
- package/deprecated/js/doc-ready.js +0 -28
- package/deprecated/js/drupal-programmatic-modal.js +0 -91
- package/deprecated/js/jquery-prototypes.js +0 -309
- package/deprecated/js/micromodal-modals.js +0 -196
- package/deprecated/js/mini-collapsible-popper-positioning.js +0 -126
- package/deprecated/js/mini-collapsible.js +0 -607
- package/deprecated/js/node-data-manager.js +0 -78
- package/deprecated/js/script-loader.js +0 -60
- package/deprecated/js/waypoints/README.md +0 -3
- package/deprecated/js/waypoints/anchor-menu.js +0 -76
- package/deprecated/js/waypoints/element-waypoint.js +0 -75
- package/deprecated/js/waypoints/examples/page-link-menu.md +0 -106
- package/deprecated/js/waypoints/state-in-attribute.js +0 -32
- package/dist/ulu-frontend.min.css +0 -1
- package/dist/ulu-frontend.min.js +0 -77
- package/docs-dev/.nojekyll +0 -1
- package/docs-dev/assets/chunks/modulepreload-polyfill.DaKOjhqt.js +0 -37
- package/docs-dev/assets/favicons/android-chrome-192x192.png +0 -0
- package/docs-dev/assets/favicons/android-chrome-256x256.png +0 -0
- package/docs-dev/assets/favicons/apple-touch-icon.png +0 -0
- package/docs-dev/assets/favicons/browserconfig.xml +0 -9
- package/docs-dev/assets/favicons/favicon-16x16.png +0 -0
- package/docs-dev/assets/favicons/favicon-32x32.png +0 -0
- package/docs-dev/assets/favicons/favicon.ico +0 -0
- package/docs-dev/assets/favicons/mstile-150x150.png +0 -0
- package/docs-dev/assets/favicons/safari-pinned-tab.svg +0 -1
- package/docs-dev/assets/favicons/site.webmanifest +0 -19
- package/docs-dev/assets/fonts/fontawesome/fa-brands-400.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-brands-400.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-regular-400.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-regular-400.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-solid-900.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-solid-900.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-v4compatibility.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-v4compatibility.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Black.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-BlackItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Bold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-BoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraLight.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraLightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Light.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-LightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Medium.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-MediumItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Regular.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-SemiBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Thin.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ThinItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Black.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-BlackItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Bold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-BoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraLight.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Light.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-LightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Medium.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-MediumItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Regular.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-SemiBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Thin.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ThinItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterVariable-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterVariable.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/LICENSE.txt +0 -92
- package/docs-dev/assets/fonts/inter/inter.css +0 -37
- package/docs-dev/assets/main.js +0 -23312
- package/docs-dev/assets/placeholder/4065947-uhd_4096_2160_25fps.credits.txt +0 -2
- package/docs-dev/assets/placeholder/4065947-uhd_4096_2160_25fps.mp4 +0 -0
- package/docs-dev/assets/placeholder/icon-calendar.svg +0 -1
- package/docs-dev/assets/placeholder/icon-check.svg +0 -1
- package/docs-dev/assets/placeholder/image-1-attribution.txt +0 -7
- package/docs-dev/assets/placeholder/image-1-darkened.jpg +0 -0
- package/docs-dev/assets/placeholder/image-1-lightened.jpg +0 -0
- package/docs-dev/assets/placeholder/image-1.jpg +0 -0
- package/docs-dev/assets/style.css +0 -19153
- package/docs-dev/changelog/index.html +0 -7184
- package/docs-dev/demos/accordion/index.html +0 -5811
- package/docs-dev/demos/badge/index.html +0 -5655
- package/docs-dev/demos/badge-stack/index.html +0 -5636
- package/docs-dev/demos/badge.1/index.html +0 -5595
- package/docs-dev/demos/basic-hero/index.html +0 -111
- package/docs-dev/demos/breakpoints-manager/index.html +0 -5666
- package/docs-dev/demos/button/index.html +0 -5665
- package/docs-dev/demos/button-group/index.html +0 -5652
- package/docs-dev/demos/button-verbose/index.html +0 -5658
- package/docs-dev/demos/callout/index.html +0 -5704
- package/docs-dev/demos/captioned-figure/index.html +0 -5686
- package/docs-dev/demos/card/index.html +0 -5682
- package/docs-dev/demos/card-grid/index.html +0 -5777
- package/docs-dev/demos/counter-list/index.html +0 -5660
- package/docs-dev/demos/css-icons/index.html +0 -6298
- package/docs-dev/demos/data-grid/index.html +0 -6529
- package/docs-dev/demos/data-table/index.html +0 -5833
- package/docs-dev/demos/details-group/index.html +0 -5687
- package/docs-dev/demos/file-save/index.html +0 -5675
- package/docs-dev/demos/flipcard/index.html +0 -6224
- package/docs-dev/demos/form-theme/index.html +0 -5842
- package/docs-dev/demos/headline-label/index.html +0 -5622
- package/docs-dev/demos/hero/index.html +0 -309
- package/docs-dev/demos/image-grid/index.html +0 -165
- package/docs-dev/demos/index.html +0 -5613
- package/docs-dev/demos/list-inline/index.html +0 -5640
- package/docs-dev/demos/list-lines/index.html +0 -5630
- package/docs-dev/demos/menu-stack/index.html +0 -5769
- package/docs-dev/demos/modals/index.html +0 -5844
- package/docs-dev/demos/nav-strip/index.html +0 -5725
- package/docs-dev/demos/overlay-section/index.html +0 -5701
- package/docs-dev/demos/panel/index.html +0 -5682
- package/docs-dev/demos/popovers/index.html +0 -0
- package/docs-dev/demos/print/index.html +0 -5633
- package/docs-dev/demos/pull-quote/index.html +0 -5632
- package/docs-dev/demos/rail/index.html +0 -5730
- package/docs-dev/demos/rule/index.html +0 -5694
- package/docs-dev/demos/scroll-slider/index.html +0 -170
- package/docs-dev/demos/scrollpoints/index.html +0 -5651
- package/docs-dev/demos/skeleton/index.html +0 -5676
- package/docs-dev/demos/slider/index.html +0 -172
- package/docs-dev/demos/spoke-spinner/index.html +0 -5628
- package/docs-dev/demos/sticky-list/index.html +0 -5643
- package/docs-dev/demos/tabs/index.html +0 -5753
- package/docs-dev/demos/tag/index.html +0 -5633
- package/docs-dev/demos/theme-toggle/index.html +0 -5699
- package/docs-dev/demos/tile-grid-overlay/index.html +0 -390
- package/docs-dev/demos/tiles/index.html +0 -5882
- package/docs-dev/demos/tooltip/index.html +0 -5661
- package/docs-dev/demos/wysiwyg/index.html +0 -5672
- package/docs-dev/guide/building-stylesheet/index.html +0 -5682
- package/docs-dev/guide/developing-ulu-scss-module/index.html +0 -5734
- package/docs-dev/guide/index.html +0 -5615
- package/docs-dev/index.html +0 -5662
- package/docs-dev/javascript/events/index.html +0 -5811
- package/docs-dev/javascript/index.html +0 -5628
- package/docs-dev/javascript/settings/index.html +0 -5825
- package/docs-dev/javascript/ui-breakpoints/index.html +0 -6071
- package/docs-dev/javascript/ui-collapsible/index.html +0 -5738
- package/docs-dev/javascript/ui-details-group/index.html +0 -5742
- package/docs-dev/javascript/ui-dialog/index.html +0 -5787
- package/docs-dev/javascript/ui-flipcard/index.html +0 -5678
- package/docs-dev/javascript/ui-grid/index.html +0 -5653
- package/docs-dev/javascript/ui-modal-builder/index.html +0 -5901
- package/docs-dev/javascript/ui-overflow-scroller/index.html +0 -5611
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +0 -5629
- package/docs-dev/javascript/ui-page/index.html +0 -5626
- package/docs-dev/javascript/ui-popover/index.html +0 -5661
- package/docs-dev/javascript/ui-print/index.html +0 -5670
- package/docs-dev/javascript/ui-print-details/index.html +0 -5641
- package/docs-dev/javascript/ui-programmatic-modal/index.html +0 -5611
- package/docs-dev/javascript/ui-proxy-click/index.html +0 -5740
- package/docs-dev/javascript/ui-resizer/index.html +0 -5946
- package/docs-dev/javascript/ui-scroll-slider/index.html +0 -5672
- package/docs-dev/javascript/ui-scrollpoint/index.html +0 -5851
- package/docs-dev/javascript/ui-slider/index.html +0 -5813
- package/docs-dev/javascript/ui-tabs/index.html +0 -5706
- package/docs-dev/javascript/ui-theme-toggle/index.html +0 -5830
- package/docs-dev/javascript/ui-tooltip/index.html +0 -5754
- package/docs-dev/javascript/utils-class-logger/index.html +0 -5746
- package/docs-dev/javascript/utils-css/index.html +0 -5644
- package/docs-dev/javascript/utils-dom/index.html +0 -5711
- package/docs-dev/javascript/utils-file-save/index.html +0 -5783
- package/docs-dev/javascript/utils-floating-ui/index.html +0 -5643
- package/docs-dev/javascript/utils-id/index.html +0 -5653
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +0 -5661
- package/docs-dev/javascript/utils-system/index.html +0 -5947
- package/docs-dev/sass/base/color/index.html +0 -5644
- package/docs-dev/sass/base/elements/index.html +0 -5815
- package/docs-dev/sass/base/index/index.html +0 -5814
- package/docs-dev/sass/base/index.html +0 -5622
- package/docs-dev/sass/base/keyframes/index.html +0 -5646
- package/docs-dev/sass/base/layout/index.html +0 -5806
- package/docs-dev/sass/base/normalize/index.html +0 -5654
- package/docs-dev/sass/base/print/index.html +0 -5650
- package/docs-dev/sass/base/root/index.html +0 -5670
- package/docs-dev/sass/base/typography/index.html +0 -5670
- package/docs-dev/sass/components/accordion/index.html +0 -5979
- package/docs-dev/sass/components/adaptive-spacing/index.html +0 -5915
- package/docs-dev/sass/components/badge/index.html +0 -5881
- package/docs-dev/sass/components/badge-stack/index.html +0 -5811
- package/docs-dev/sass/components/basic-hero/index.html +0 -5805
- package/docs-dev/sass/components/button/index.html +0 -5799
- package/docs-dev/sass/components/button-group/index.html +0 -5803
- package/docs-dev/sass/components/button-verbose/index.html +0 -5986
- package/docs-dev/sass/components/callout/index.html +0 -5961
- package/docs-dev/sass/components/captioned-figure/index.html +0 -5904
- package/docs-dev/sass/components/card/index.html +0 -6219
- package/docs-dev/sass/components/card-grid/index.html +0 -5813
- package/docs-dev/sass/components/counter-list/index.html +0 -5887
- package/docs-dev/sass/components/css-icon/index.html +0 -5917
- package/docs-dev/sass/components/data-grid/index.html +0 -6052
- package/docs-dev/sass/components/data-table/index.html +0 -5988
- package/docs-dev/sass/components/fill-context/index.html +0 -5679
- package/docs-dev/sass/components/flipcard/index.html +0 -5980
- package/docs-dev/sass/components/flipcard-grid/index.html +0 -5800
- package/docs-dev/sass/components/form-theme/index.html +0 -6525
- package/docs-dev/sass/components/headline-label/index.html +0 -5833
- package/docs-dev/sass/components/hero/index.html +0 -5849
- package/docs-dev/sass/components/horizontal-rule/index.html +0 -5798
- package/docs-dev/sass/components/image-grid/index.html +0 -5805
- package/docs-dev/sass/components/index/index.html +0 -5859
- package/docs-dev/sass/components/index.html +0 -5622
- package/docs-dev/sass/components/links/index.html +0 -5649
- package/docs-dev/sass/components/list-inline/index.html +0 -5819
- package/docs-dev/sass/components/list-lines/index.html +0 -5840
- package/docs-dev/sass/components/list-ordered/index.html +0 -5645
- package/docs-dev/sass/components/list-unordered/index.html +0 -5649
- package/docs-dev/sass/components/menu-stack/index.html +0 -5992
- package/docs-dev/sass/components/modal/index.html +0 -6068
- package/docs-dev/sass/components/nav-strip/index.html +0 -5899
- package/docs-dev/sass/components/overlay-section/index.html +0 -5843
- package/docs-dev/sass/components/pager/index.html +0 -5961
- package/docs-dev/sass/components/panel/index.html +0 -6033
- package/docs-dev/sass/components/placeholder-block/index.html +0 -5883
- package/docs-dev/sass/components/popover/index.html +0 -5994
- package/docs-dev/sass/components/pull-quote/index.html +0 -5857
- package/docs-dev/sass/components/rail/index.html +0 -5823
- package/docs-dev/sass/components/ratio-box/index.html +0 -5803
- package/docs-dev/sass/components/rule/index.html +0 -5805
- package/docs-dev/sass/components/scroll-slider/index.html +0 -5904
- package/docs-dev/sass/components/skeleton/index.html +0 -5860
- package/docs-dev/sass/components/skip-link/index.html +0 -5789
- package/docs-dev/sass/components/slider/index.html +0 -5913
- package/docs-dev/sass/components/spoke-spinner/index.html +0 -5863
- package/docs-dev/sass/components/sticky-list/index.html +0 -6023
- package/docs-dev/sass/components/table-sticky/index.html +0 -5677
- package/docs-dev/sass/components/tabs/index.html +0 -5954
- package/docs-dev/sass/components/tag/index.html +0 -5964
- package/docs-dev/sass/components/tile-button/index.html +0 -5844
- package/docs-dev/sass/components/tile-grid/index.html +0 -5979
- package/docs-dev/sass/components/tile-grid-overlay/index.html +0 -5780
- package/docs-dev/sass/components/vignette/index.html +0 -5799
- package/docs-dev/sass/components/wysiwyg/index.html +0 -5827
- package/docs-dev/sass/core/breakpoint/index.html +0 -6454
- package/docs-dev/sass/core/button/index.html +0 -6538
- package/docs-dev/sass/core/color/index.html +0 -6520
- package/docs-dev/sass/core/cssvar/index.html +0 -6411
- package/docs-dev/sass/core/element/index.html +0 -6816
- package/docs-dev/sass/core/index.html +0 -5609
- package/docs-dev/sass/core/layout/index.html +0 -6388
- package/docs-dev/sass/core/path/index.html +0 -5778
- package/docs-dev/sass/core/selector/index.html +0 -5857
- package/docs-dev/sass/core/typography/index.html +0 -6783
- package/docs-dev/sass/core/units/index.html +0 -5822
- package/docs-dev/sass/core/utils/index.html +0 -8406
- package/docs-dev/sass/helpers/color/index.html +0 -5644
- package/docs-dev/sass/helpers/display/index.html +0 -5649
- package/docs-dev/sass/helpers/index/index.html +0 -5811
- package/docs-dev/sass/helpers/index.html +0 -5622
- package/docs-dev/sass/helpers/print/index.html +0 -5199
- package/docs-dev/sass/helpers/typography/index.html +0 -5672
- package/docs-dev/sass/helpers/units/index.html +0 -5818
- package/docs-dev/sass/helpers/utilities/index.html +0 -5649
- package/docs-dev/sass/index.html +0 -5673
- package/index.js +0 -7
- package/js/events/index.js +0 -108
- package/js/index.js +0 -11
- package/js/ui/index.js +0 -22
- package/js/utils/index.js +0 -8
- package/resources/drupal/twig-macros/accordion.twig +0 -99
- package/resources/drupal/twig-macros/dropdown.twig +0 -44
- package/resources/drupal/twig-macros/flipcard.twig +0 -69
- package/resources/drupal/twig-macros/image.twig +0 -30
- package/resources/drupal/twig-macros/layout.twig +0 -338
- package/resources/drupal/twig-macros/slider.twig +0 -214
- package/resources/drupal/twig-macros/tabs.twig +0 -84
- package/scss/components/_accordion.scss +0 -231
- package/scss/components/_card.scss +0 -596
- package/types/events/index.d.ts +0 -26
- package/types/events/index.d.ts.map +0 -1
- package/types/index.d.ts +0 -5
- package/types/settings.d.ts.map +0 -1
- package/types/ui/breakpoints.d.ts.map +0 -1
- package/types/ui/collapsible.d.ts.map +0 -1
- package/types/ui/details-group.d.ts.map +0 -1
- package/types/ui/dialog.d.ts.map +0 -1
- package/types/ui/flipcard.d.ts.map +0 -1
- package/types/ui/grid.d.ts.map +0 -1
- package/types/ui/index.d.ts +0 -24
- package/types/ui/modal-builder.d.ts.map +0 -1
- package/types/ui/overflow-scroller-pager.d.ts.map +0 -1
- package/types/ui/overflow-scroller.d.ts.map +0 -1
- package/types/ui/page.d.ts.map +0 -1
- package/types/ui/popover.d.ts.map +0 -1
- package/types/ui/print-details.d.ts.map +0 -1
- package/types/ui/print.d.ts.map +0 -1
- package/types/ui/programmatic-modal.d.ts.map +0 -1
- package/types/ui/proxy-click.d.ts.map +0 -1
- package/types/ui/resizer.d.ts.map +0 -1
- package/types/ui/scroll-slider.d.ts.map +0 -1
- package/types/ui/scrollpoint.d.ts.map +0 -1
- package/types/ui/slider.d.ts.map +0 -1
- package/types/ui/tabs.d.ts.map +0 -1
- package/types/ui/theme-toggle.d.ts.map +0 -1
- package/types/ui/tooltip.d.ts.map +0 -1
- package/types/utils/class-logger.d.ts.map +0 -1
- package/types/utils/css.d.ts.map +0 -1
- package/types/utils/dom.d.ts.map +0 -1
- package/types/utils/file-save.d.ts.map +0 -1
- package/types/utils/floating-ui.d.ts.map +0 -1
- package/types/utils/font-awesome.d.ts.map +0 -1
- package/types/utils/id.d.ts.map +0 -1
- package/types/utils/index.d.ts +0 -10
- package/types/utils/pause-youtube-video.d.ts.map +0 -1
- package/types/utils/system.d.ts.map +0 -1
- /package/{types → dist/es}/ui/overflow-scroller-pager.d.ts +0 -0
- /package/{types → dist/es}/ui/page.d.ts +0 -0
- /package/{types → dist/es}/ui/print-details.d.ts +0 -0
- /package/{types → dist/es}/ui/print.d.ts +0 -0
- /package/{types → dist/es}/utils/css.d.ts +0 -0
- /package/{types → dist/es}/utils/font-awesome.d.ts +0 -0
- /package/{types → dist/es}/utils/id.d.ts +0 -0
- /package/{types → dist/es}/utils/pause-youtube-video.d.ts +0 -0
- /package/{js → lib/js}/ui/dialog.todo +0 -0
- /package/{js → lib/js}/ui/overflow-scroller-pager.js +0 -0
- /package/{js → lib/js}/ui/page.js +0 -0
- /package/{js → lib/js}/utils/class-logger.js +0 -0
- /package/{js → lib/js}/utils/dom.js +0 -0
- /package/{js → lib/js}/utils/file-save.js +0 -0
- /package/{js → lib/js}/utils/floating-ui.js +0 -0
- /package/{js → lib/js}/utils/id.js +0 -0
- /package/{js → lib/js}/utils/pause-youtube-video.js +0 -0
- /package/{scss → lib/scss}/README.md +0 -0
- /package/{scss → lib/scss}/_cssvar.scss +0 -0
- /package/{scss → lib/scss}/_index.scss +0 -0
- /package/{scss → lib/scss}/_layout.scss +0 -0
- /package/{scss → lib/scss}/_path.scss +0 -0
- /package/{scss → lib/scss}/_selector.scss +0 -0
- /package/{scss → lib/scss}/_units.scss +0 -0
- /package/{scss → lib/scss}/_utils.scss +0 -0
- /package/{scss → lib/scss}/base/_color.scss +0 -0
- /package/{scss → lib/scss}/base/_elements.scss +0 -0
- /package/{scss → lib/scss}/base/_index.scss +0 -0
- /package/{scss → lib/scss}/base/_keyframes.scss +0 -0
- /package/{scss → lib/scss}/base/_layout.scss +0 -0
- /package/{scss → lib/scss}/base/_normalize.scss +0 -0
- /package/{scss → lib/scss}/base/_print.scss +0 -0
- /package/{scss → lib/scss}/base/_root.scss +0 -0
- /package/{scss → lib/scss}/base/_typography.scss +0 -0
- /package/{scss → lib/scss}/components/README.md +0 -0
- /package/{scss → lib/scss}/components/README.todos +0 -0
- /package/{scss → lib/scss}/components/_adaptive-spacing.scss +0 -0
- /package/{scss → lib/scss}/components/_badge-stack.scss +0 -0
- /package/{scss → lib/scss}/components/_badge.scss +0 -0
- /package/{scss → lib/scss}/components/_button-group.scss +0 -0
- /package/{scss → lib/scss}/components/_button-verbose.scss +0 -0
- /package/{scss → lib/scss}/components/_callout.scss +0 -0
- /package/{scss → lib/scss}/components/_captioned-figure.scss +0 -0
- /package/{scss → lib/scss}/components/_counter-list.scss +0 -0
- /package/{scss → lib/scss}/components/_css-icon.scss +0 -0
- /package/{scss → lib/scss}/components/_data-grid.scss +0 -0
- /package/{scss → lib/scss}/components/_data-table.scss +0 -0
- /package/{scss → lib/scss}/components/_fill-context.scss +0 -0
- /package/{scss → lib/scss}/components/_flipcard-grid.scss +0 -0
- /package/{scss → lib/scss}/components/_flipcard.scss +0 -0
- /package/{scss → lib/scss}/components/_headline-label.scss +0 -0
- /package/{scss → lib/scss}/components/_hero.scss +0 -0
- /package/{scss → lib/scss}/components/_horizontal-rule.scss +0 -0
- /package/{scss → lib/scss}/components/_image-grid.scss +0 -0
- /package/{scss → lib/scss}/components/_links.scss +0 -0
- /package/{scss → lib/scss}/components/_list-inline.scss +0 -0
- /package/{scss → lib/scss}/components/_list-lines.scss +0 -0
- /package/{scss → lib/scss}/components/_list-ordered.scss +0 -0
- /package/{scss → lib/scss}/components/_list-unordered.scss +0 -0
- /package/{scss → lib/scss}/components/_nav-strip.scss +0 -0
- /package/{scss → lib/scss}/components/_overlay-section.scss +0 -0
- /package/{scss → lib/scss}/components/_pager.scss +0 -0
- /package/{scss → lib/scss}/components/_panel.scss +0 -0
- /package/{scss → lib/scss}/components/_placeholder-block.scss +0 -0
- /package/{scss → lib/scss}/components/_popover.scss +0 -0
- /package/{scss → lib/scss}/components/_pull-quote.scss +0 -0
- /package/{scss → lib/scss}/components/_rail.scss +0 -0
- /package/{scss → lib/scss}/components/_ratio-box.scss +0 -0
- /package/{scss → lib/scss}/components/_rule.scss +0 -0
- /package/{scss → lib/scss}/components/_scroll-slider.scss +0 -0
- /package/{scss → lib/scss}/components/_skip-link.scss +0 -0
- /package/{scss → lib/scss}/components/_slider.scss +0 -0
- /package/{scss → lib/scss}/components/_spoke-spinner.scss +0 -0
- /package/{scss → lib/scss}/components/_sticky-list.scss +0 -0
- /package/{scss → lib/scss}/components/_tabs.scss +0 -0
- /package/{scss → lib/scss}/components/_tile-button.scss +0 -0
- /package/{scss → lib/scss}/components/_tile-grid-overlay.scss +0 -0
- /package/{scss → lib/scss}/components/_tile-grid.scss +0 -0
- /package/{scss → lib/scss}/components/_vignette.scss +0 -0
- /package/{scss → lib/scss}/components/_wysiwyg.scss +0 -0
- /package/{scss → lib/scss}/helpers/_color.scss +0 -0
- /package/{scss → lib/scss}/helpers/_display.scss +0 -0
- /package/{scss → lib/scss}/helpers/_index.scss +0 -0
- /package/{scss → lib/scss}/helpers/_print.scss +0 -0
- /package/{scss → lib/scss}/helpers/_typography.scss +0 -0
- /package/{scss → lib/scss}/helpers/_units.scss +0 -0
- /package/{scss → lib/scss}/stylesheets/README.md +0 -0
- /package/{scss → lib/scss}/stylesheets/base-styles.scss +0 -0
- /package/{scss → lib/scss}/stylesheets/component-styles.scss +0 -0
- /package/{scss → lib/scss}/stylesheets/full.scss +0 -0
- /package/{scss → lib/scss}/stylesheets/helper-styles.scss +0 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
|
+
var p = (s, t, e) => t in s ? u(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
3
|
+
var r = (s, t, e) => p(s, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
import { removeArrayElement as c } from "@ulu/utils/array.js";
|
|
5
|
+
import { isBrowser as g } from "@ulu/utils/browser/dom.js";
|
|
6
|
+
import { getCoreEventName as v } from "../core/events.js";
|
|
7
|
+
import { wrapSettingString as b } from "../core/settings.js";
|
|
8
|
+
import { getCustomProperty as k } from "../utils/css.js";
|
|
9
|
+
import { log as d, logError as f } from "../utils/class-logger.js";
|
|
10
|
+
const y = (s) => k(s, "breakpoint"), i = class i {
|
|
11
|
+
static _initializeGlobals() {
|
|
12
|
+
i.globalsInitialized || !g() || (window.addEventListener(v("pageResized"), () => {
|
|
13
|
+
i.instances.forEach((t) => t.update());
|
|
14
|
+
}), i.globalsInitialized = !0);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @param {Object} config Configuration object
|
|
18
|
+
* @param {Array} config.order Array of strings that correspond to the breakpoints setup in the styles, Breakpoints from smallest to largest, defaults to [small, medium, large]
|
|
19
|
+
* @param {Array} config.customProperty Property to grab breakpoint from (default is --breakpoint)
|
|
20
|
+
* @param {Array} config.valueFromPseudo Use the legacy method of grabbing breakpoint from pseudo element, default uses custom property
|
|
21
|
+
* @param {Node} config.element The element to retrieve active breakpoint from stylesheet. (default is html) For using the old pseudo method, adjust this to document.body
|
|
22
|
+
* @param {String} config.pseudoSelector Change pseudo selector used to get the breakpoint from the pseudo's content property
|
|
23
|
+
*/
|
|
24
|
+
constructor(t) {
|
|
25
|
+
i._initializeGlobals(), Object.assign(this, i.defaults, t), this.active = null, this.previous = null, this.activeIndex = null, this.resizeDirection = null, this.previousIndex = null, this.breakpoints = {}, this.onChangeCallbacks = [], this.order.forEach((e) => this.breakpoints[e] = new x(e, this)), d(this, this), this.update(), i.instances.push(this);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Add a callback for every time a breakpoint changes
|
|
29
|
+
* - Not recommended, possibly use to watch for changes, etc
|
|
30
|
+
* - For more control use instance.at(name) with breakpoint methods
|
|
31
|
+
* @param {Function} callback Function to call, passed one argument current instance which can be used to get information about breakpoints
|
|
32
|
+
*/
|
|
33
|
+
onChange(t) {
|
|
34
|
+
this.onChangeCallbacks.push(t);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Remove change callback
|
|
38
|
+
* @param {Function} callback Function to remove
|
|
39
|
+
*/
|
|
40
|
+
removeOnChange(t) {
|
|
41
|
+
c(this.onChangeCallbacks, t);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Get breakpoint from a pseudo element
|
|
45
|
+
*/
|
|
46
|
+
getBreakpointInPseudo() {
|
|
47
|
+
return window.getComputedStyle(this.element, this.pseudoSelector).content.replace(/^"|"$/g, "");
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get breakpoint from a custom property
|
|
51
|
+
*/
|
|
52
|
+
getBreakpointInProperty() {
|
|
53
|
+
return getComputedStyle(this.element).getPropertyValue(this.customProperty).trim();
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Get breakpoint from element (design note: user could override prototype)
|
|
57
|
+
*/
|
|
58
|
+
getBreakpoint() {
|
|
59
|
+
return this.valueFromPseudo ? this.getBreakpointInPseudo() : this.getBreakpointInProperty();
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Updates the active breakpoint by checking the element and executes handlers on change
|
|
63
|
+
*/
|
|
64
|
+
update() {
|
|
65
|
+
const t = this.getBreakpoint();
|
|
66
|
+
if (!t) {
|
|
67
|
+
f(this, "Unable to get current breakpoint, maybe order is incorrect? Breakpoint check skipped!");
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
if (t === this.active) return;
|
|
71
|
+
this.previous = this.active, this.previousIndex = this.activeIndex;
|
|
72
|
+
const e = this.order.indexOf(t);
|
|
73
|
+
this.active = t, this.activeIndex = e, this.order.forEach((o, n) => {
|
|
74
|
+
const a = this.breakpoints[o], h = this.activeIndex;
|
|
75
|
+
a._setDirection("min", n <= h), a._setDirection("max", n > h), a._setDirection("only", n === h);
|
|
76
|
+
}), this.previousIndex !== null && (this.resizeDirection = this.previousIndex < e ? "up" : "down"), this.onChangeCallbacks.forEach((o) => o(this));
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Get a breakpoint by key
|
|
80
|
+
* @param {String} name The name of the breakpoint to get
|
|
81
|
+
* @return {Breakpoint} Breakpoint to act on (see Breakpoint class)
|
|
82
|
+
*/
|
|
83
|
+
at(t) {
|
|
84
|
+
const e = this.breakpoints[t];
|
|
85
|
+
return t || f(this, "Unable to find breakpoint for:", e), e;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
r(i, "instances", []), r(i, "globalsInitialized", !1), r(i, "defaults", {
|
|
89
|
+
element: document == null ? void 0 : document.documentElement,
|
|
90
|
+
valueFromPseudo: !1,
|
|
91
|
+
customProperty: "--breakpoint",
|
|
92
|
+
customProperty: b("cssvarPrefix", y),
|
|
93
|
+
pseudoSelector: ":before",
|
|
94
|
+
order: ["none", "small", "medium", "large"],
|
|
95
|
+
debug: !1
|
|
96
|
+
});
|
|
97
|
+
let m = i;
|
|
98
|
+
class l {
|
|
99
|
+
constructor(t, e) {
|
|
100
|
+
this.direction = t, this.active = !1, this.on = [], this.off = [], this.breakpoint = e;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Change the state of the direction
|
|
104
|
+
*/
|
|
105
|
+
change(t) {
|
|
106
|
+
this.active !== t && (t ? this._call(!0) : this.active && this._call(!1), this.active = t);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Calls all functions in handlers or
|
|
110
|
+
*/
|
|
111
|
+
_call(t) {
|
|
112
|
+
(t ? this.on : this.off).forEach((o) => o()), d(this.breakpoint._manager, `Handlers called (${t ? "on" : "off"}): ${this.direction}`);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Returns handlers in normalized object format on/off
|
|
116
|
+
*/
|
|
117
|
+
getHandlers(t) {
|
|
118
|
+
return typeof t != "object" ? { on: t } : t;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Adds a handler for the direction, optionally use object to add off state handler
|
|
122
|
+
* @param {Function|Object} handler Function to be executed when direction is active, read object description for on/off
|
|
123
|
+
* @param {Function|Object} handler.on Function to be executed when direction is active
|
|
124
|
+
* @param {Function|Object} handler.off Function to be executed when direction was active and is now changed to inactive
|
|
125
|
+
*/
|
|
126
|
+
add(t) {
|
|
127
|
+
const e = this.getHandlers(t);
|
|
128
|
+
e.on && this.on.push(e.on), e.off && this.off.push(e.off), this.active && e.on && (e.on(), d(this.breakpoint._manager, `Handler called immediately: ${this.direction}`, e.on));
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Removes a handler
|
|
132
|
+
*/
|
|
133
|
+
remove(t) {
|
|
134
|
+
const e = this.getHandlers(t);
|
|
135
|
+
e.on && c(this.on, e.on), e.off && c(this.off, e.off);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
class x {
|
|
139
|
+
constructor(t, e) {
|
|
140
|
+
this.directions = {
|
|
141
|
+
max: new l("max", this),
|
|
142
|
+
min: new l("min", this),
|
|
143
|
+
only: new l("only", this)
|
|
144
|
+
}, this._manager = e, this.name = t;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Private method used inrternally for managing direction activation
|
|
148
|
+
* - Each direction manages it's own state and handlers
|
|
149
|
+
* @param {String} direction The directional key
|
|
150
|
+
* @param {Boolean} active State of that direction to set
|
|
151
|
+
*/
|
|
152
|
+
_setDirection(t, e) {
|
|
153
|
+
this.directions[t].change(e);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Attach handler to be executed from the breakpoint and to all breakpoints below (inclusive).
|
|
157
|
+
* This corresponds to a `max-width` media query in SCSS.
|
|
158
|
+
* @param {Function} handler Handler to be executed
|
|
159
|
+
*/
|
|
160
|
+
max(t) {
|
|
161
|
+
this.directions.max.add(t);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Attach handler to be executed from the breakpoint and to all breakpoints above (inclusive).
|
|
165
|
+
* This corresponds to a `min-width` media query in SCSS.
|
|
166
|
+
* @param {Function} handler Handler to be executed
|
|
167
|
+
*/
|
|
168
|
+
min(t) {
|
|
169
|
+
this.directions.min.add(t);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Attach a handler to fire when the breakpoint is within the key
|
|
173
|
+
* @param {Function} handler Handler to be executed
|
|
174
|
+
*/
|
|
175
|
+
only(t) {
|
|
176
|
+
this.directions.only.add(t);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Remove handler
|
|
180
|
+
* @param {Function} handler Handler to be removed, extended on/off object style can be used
|
|
181
|
+
* @param {String} direction Remove handler only from specified direction, else search all directions
|
|
182
|
+
*/
|
|
183
|
+
remove(t, e) {
|
|
184
|
+
(e ? [e] : ["max", "min", "only"]).forEach((n) => {
|
|
185
|
+
this.directions[n] && this.directions[n].remove(t);
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
log(...t) {
|
|
189
|
+
t.unshift(`Breakpoint (${this.name}):`), this._manager.log.apply(this._manager, t);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
export {
|
|
193
|
+
m as BreakpointManager
|
|
194
|
+
};
|
|
@@ -34,17 +34,38 @@ export class Collapsible {
|
|
|
34
34
|
constructor(elements: {
|
|
35
35
|
trigger: Node;
|
|
36
36
|
content: Node;
|
|
37
|
-
}, config:
|
|
37
|
+
}, config: Object);
|
|
38
38
|
elements: {
|
|
39
39
|
trigger: Node;
|
|
40
40
|
content: Node;
|
|
41
|
-
};
|
|
42
|
-
options:
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
} | undefined;
|
|
42
|
+
options: ({
|
|
43
|
+
clickOutsideCloses: boolean;
|
|
44
|
+
focusoutCloses: boolean;
|
|
45
|
+
escapeCloses: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* The module won't attach the handlers (you need to do it yourself)
|
|
48
|
+
*/
|
|
49
|
+
selfManaged: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* This collapsible starts in open state
|
|
52
|
+
*/
|
|
53
|
+
startOpen: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Open/active state class
|
|
56
|
+
*/
|
|
57
|
+
openClass: string;
|
|
58
|
+
/**
|
|
59
|
+
* Output debug info
|
|
60
|
+
*/
|
|
61
|
+
debug: boolean;
|
|
62
|
+
onChange(_ctx: any): void;
|
|
63
|
+
} & Object) | undefined;
|
|
64
|
+
isOpen: boolean | undefined;
|
|
65
|
+
handlers: {} | undefined;
|
|
45
66
|
attachHandlers(): void;
|
|
46
|
-
clickHandler: (event: any) => void;
|
|
47
|
-
focusoutHandler: (event: any) => void;
|
|
67
|
+
clickHandler: ((event: any) => void) | undefined;
|
|
68
|
+
focusoutHandler: ((event: any) => void) | undefined;
|
|
48
69
|
removeHandlers(): void;
|
|
49
70
|
onClick(event: any): void;
|
|
50
71
|
destroy(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../lib/js/ui/collapsible.js"],"names":[],"mappings":"AAQA;;GAEG;AACH;IACE;;;;QAME;;WAEG;;QAGH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;MAKH;IACF;;;;;;OAMG;IACH,sBALG;QAAuB,OAAO,EAAtB,IAAI;QACW,OAAO,EAAtB,IAAI;KACZ,UAAQ,MAAM,EAqBhB;IAXC;iBAZS,IAAI;iBACJ,IAAI;kBAWW;IACxB;;;;QApCA;;WAEG;;QAGH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;4BAqBmB;IACtB,4BAAmB;IACnB,yBAAkB;IASpB,uBAoBC;IAjBC,iDAEC;IACD,oDAWC;IAIH,uBAIC;IACD,0BAEC;IACD,gBAGC;IACD,+BAIC;IACD,cAOC;IACD,sDAEC;IACD,wCAqBC;IACD;;OAEG;IACH,+BAoBC;IACD;;OAEG;IACH,iCAQC;IACD,uBAEC;IACD,wBAEC;IACD,yBAEC;CAqBF"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
var f = Object.defineProperty;
|
|
2
|
+
var p = (r, t, e) => t in r ? f(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
|
+
var d = (r, t, e) => p(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
import { getUluEventName as v } from "../core/events.js";
|
|
5
|
+
import { logError as k, log as E } from "../utils/class-logger.js";
|
|
6
|
+
import { ensureId as h } from "../utils/id.js";
|
|
7
|
+
const l = class l {
|
|
8
|
+
/**
|
|
9
|
+
* @param {Object} elements Elements object
|
|
10
|
+
* @param {Node} elements.trigger Trigger button/element that opens/closes collapsible
|
|
11
|
+
* @param {Node} elements.content The content element that the trigger reveals
|
|
12
|
+
* @param {Object} config Configuration options (see defaults)
|
|
13
|
+
* @returns {Object} Collapsible instance
|
|
14
|
+
*/
|
|
15
|
+
constructor(t, e) {
|
|
16
|
+
const { trigger: s, content: n } = t;
|
|
17
|
+
if (!s || !n) {
|
|
18
|
+
k(this, "missing required elements (trigger or content)");
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
const i = Object.assign({}, l.defaults, e);
|
|
22
|
+
this.elements = t, this.options = i, this.isOpen = !1, this.handlers = {}, h(s), h(n), this.debugLog(this, this), i.selfManaged || this.attachHandlers(), this.setup();
|
|
23
|
+
}
|
|
24
|
+
attachHandlers() {
|
|
25
|
+
const { trigger: t, content: e } = this.elements, { focusoutCloses: s } = this.options;
|
|
26
|
+
this.clickHandler = (n) => {
|
|
27
|
+
this.onClick(n);
|
|
28
|
+
}, this.focusoutHandler = (n) => {
|
|
29
|
+
s && document.addEventListener("focusin", () => {
|
|
30
|
+
e.contains(document.activeElement) || this.close(n);
|
|
31
|
+
}, { once: !0 });
|
|
32
|
+
}, t.addEventListener("click", this.clickHandler), e.addEventListener("focusout", this.focusoutHandler);
|
|
33
|
+
}
|
|
34
|
+
removeHandlers() {
|
|
35
|
+
const { trigger: t, content: e } = this.elements;
|
|
36
|
+
t.removeEventListener("click", this.clickHandler), e.removeEventListener("focusout", this.focusoutHandler);
|
|
37
|
+
}
|
|
38
|
+
onClick(t) {
|
|
39
|
+
this.toggle(t);
|
|
40
|
+
}
|
|
41
|
+
destroy() {
|
|
42
|
+
this.removeHandlers(), this.destroyTemporaryHandlers();
|
|
43
|
+
}
|
|
44
|
+
debugLog(...t) {
|
|
45
|
+
this.options.debug && E(this, ...t);
|
|
46
|
+
}
|
|
47
|
+
setup() {
|
|
48
|
+
const { trigger: t, content: e } = this.elements, { startOpen: s } = this.options;
|
|
49
|
+
t.setAttribute("role", "button"), t.setAttribute("aria-controls", e.id), e.setAttribute("aria-labelledby", t.id), this.setState(s);
|
|
50
|
+
}
|
|
51
|
+
createEvent(t, e) {
|
|
52
|
+
return new CustomEvent(v("collapsible:" + t), { detail: e });
|
|
53
|
+
}
|
|
54
|
+
setState(t, e) {
|
|
55
|
+
const s = {
|
|
56
|
+
collapsible: this,
|
|
57
|
+
isOpen: t,
|
|
58
|
+
event: e
|
|
59
|
+
};
|
|
60
|
+
this.debugLog(this, "Set state", s);
|
|
61
|
+
const { trigger: n, content: i } = this.elements, { openClass: c } = this.options, o = (a) => a.classList[t ? "add" : "remove"](c);
|
|
62
|
+
n.setAttribute("aria-expanded", t ? "true" : "false"), o(n), o(i), this.isOpen = t, this.options.onChange(s), n.dispatchEvent(this.createEvent("change", s)), t ? this.setupTemporaryHandlers() : this.destroyTemporaryHandlers();
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Setup handlers needed for closing once open
|
|
66
|
+
*/
|
|
67
|
+
setupTemporaryHandlers() {
|
|
68
|
+
const { content: t, trigger: e } = this.elements, { clickOutsideCloses: s, escapeCloses: n } = this.options, i = (o) => {
|
|
69
|
+
const { target: a } = o, m = e.contains(a), g = t.contains(a);
|
|
70
|
+
s && !m && !g && this.close(o);
|
|
71
|
+
}, c = (o) => {
|
|
72
|
+
n && o.key === "Escape" && this.close(o);
|
|
73
|
+
};
|
|
74
|
+
document.addEventListener("click", i), document.addEventListener("keydown", c), this.handlers.onDocumentClick = i, this.handlers.onDocumentKeydown = c;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Destroy handlers attached for closing once open
|
|
78
|
+
*/
|
|
79
|
+
destroyTemporaryHandlers() {
|
|
80
|
+
const { onDocumentClick: t, onDocumentKeydown: e } = this.handlers;
|
|
81
|
+
t && document.removeEventListener("click", t), t && document.removeEventListener("keydown", e);
|
|
82
|
+
}
|
|
83
|
+
open(t) {
|
|
84
|
+
this.setState(!0, t);
|
|
85
|
+
}
|
|
86
|
+
close(t) {
|
|
87
|
+
this.setState(!1, t);
|
|
88
|
+
}
|
|
89
|
+
toggle(t) {
|
|
90
|
+
this.setState(!this.isOpen, t);
|
|
91
|
+
}
|
|
92
|
+
// This is removed because I think it's not useful, users should keep references
|
|
93
|
+
// Static Methods for managing instances of this class
|
|
94
|
+
// static instances = [];
|
|
95
|
+
// /**
|
|
96
|
+
// * Get collapsible instance by trigger element
|
|
97
|
+
// * @param {Node|String} trigger Trigger node or trigger ID
|
|
98
|
+
// */
|
|
99
|
+
// static getInstance(trigger) {
|
|
100
|
+
// return Collapsible.instances.find(c => typeof trigger === "string" ?
|
|
101
|
+
// c.elements.trigger.id === trigger :
|
|
102
|
+
// c.elements.trigger === trigger
|
|
103
|
+
// );
|
|
104
|
+
// }
|
|
105
|
+
// static removeInstance(instance) {
|
|
106
|
+
// const index = Collapsible.instances.findIndex(c => c === instance);
|
|
107
|
+
// if (index > -1) {
|
|
108
|
+
// Collapsible.instances.splice(index, 1);
|
|
109
|
+
// }
|
|
110
|
+
// }
|
|
111
|
+
};
|
|
112
|
+
d(l, "defaults", {
|
|
113
|
+
clickOutsideCloses: !1,
|
|
114
|
+
// oneOpenPerContext: false, // This should be another module that manages instances within a context (accordions)
|
|
115
|
+
// clickWithinCloses: false, // Not sure how this was used but seems like it should be separate
|
|
116
|
+
focusoutCloses: !1,
|
|
117
|
+
escapeCloses: !1,
|
|
118
|
+
/**
|
|
119
|
+
* The module won't attach the handlers (you need to do it yourself)
|
|
120
|
+
*/
|
|
121
|
+
selfManaged: !1,
|
|
122
|
+
/**
|
|
123
|
+
* This collapsible starts in open state
|
|
124
|
+
*/
|
|
125
|
+
startOpen: !1,
|
|
126
|
+
/**
|
|
127
|
+
* Open/active state class
|
|
128
|
+
*/
|
|
129
|
+
openClass: "is-active",
|
|
130
|
+
/**
|
|
131
|
+
* Output debug info
|
|
132
|
+
*/
|
|
133
|
+
debug: !0,
|
|
134
|
+
onChange(t) {
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
let u = l;
|
|
138
|
+
export {
|
|
139
|
+
u as Collapsible
|
|
140
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComponentInitializer } from '../core/component.js';
|
|
1
2
|
/**
|
|
2
3
|
* Initialize everything in document
|
|
3
4
|
* - This will only initialize elements once, it is safe to call on page changes
|
|
@@ -34,5 +35,4 @@ export type DetailsGroupInstance = {
|
|
|
34
35
|
*/
|
|
35
36
|
setupChildren: Function;
|
|
36
37
|
};
|
|
37
|
-
import { ComponentInitializer } from "../utils/system.js";
|
|
38
38
|
//# sourceMappingURL=details-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details-group.d.ts","sourceRoot":"","sources":["../../../lib/js/ui/details-group.js"],"names":[],"mappings":"AAqBA;;;GAGG;AACH,6BASC;AAED;;;;;GAKG;AAEH;;;;;GAKG;AACH,oCAJW,WAAW,qBAET,oBAAoB,CAgEhC;AAxGD;;GAEG;AACH,+CAGG;;;;;;;;;aA0BW,WAAW;;;;;;qCAlCY,sBAAsB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ComponentInitializer as p } from "../core/component.js";
|
|
2
|
+
const s = new p({
|
|
3
|
+
type: "details-group",
|
|
4
|
+
baseAttribute: "data-ulu-details-group"
|
|
5
|
+
}), u = s.getAttribute("child-init"), f = {
|
|
6
|
+
onlyOneOpen: !0,
|
|
7
|
+
childSelector: ":scope > details"
|
|
8
|
+
};
|
|
9
|
+
function b() {
|
|
10
|
+
s.init({
|
|
11
|
+
withData: !0,
|
|
12
|
+
coreEvents: ["pageModified"],
|
|
13
|
+
setup({ element: e, data: n, initialize: r }) {
|
|
14
|
+
d(e, n), r();
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function d(e, n) {
|
|
19
|
+
const r = Object.assign({}, f, n);
|
|
20
|
+
try {
|
|
21
|
+
c();
|
|
22
|
+
} catch (t) {
|
|
23
|
+
console.error(t);
|
|
24
|
+
}
|
|
25
|
+
function i() {
|
|
26
|
+
return e.querySelectorAll(r.childSelector);
|
|
27
|
+
}
|
|
28
|
+
function c() {
|
|
29
|
+
i().forEach((t) => {
|
|
30
|
+
t.hasAttribute(u) || (t.setAttribute(u, ""), t.addEventListener("toggle", a));
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function a({ target: t }) {
|
|
34
|
+
r.onlyOneOpen && t.open && i().forEach((o) => {
|
|
35
|
+
o !== t && o.open && (o.open = !1);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function l() {
|
|
39
|
+
i().forEach((t) => {
|
|
40
|
+
t.removeEventListener("toggle", a), t.removeAttribute(u);
|
|
41
|
+
}), e.removeAttribute(s.getAttribute("init"));
|
|
42
|
+
}
|
|
43
|
+
return { destroy: l, element: e, setupChildren: c };
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
b as init,
|
|
47
|
+
s as initializer,
|
|
48
|
+
d as setupGroup
|
|
49
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ComponentInitializer } from '../core/component.js';
|
|
1
2
|
/**
|
|
2
3
|
* @param {Object} options Change options used as default for dialogs, can then be overridden by data attribute settings on element
|
|
3
4
|
*/
|
|
4
|
-
export function setDefaults(options:
|
|
5
|
+
export function setDefaults(options: Object): void;
|
|
5
6
|
/**
|
|
6
7
|
* Initialize everything in document
|
|
7
8
|
* - This will only initialize elements once, it is safe to call on page changes
|
|
@@ -23,7 +24,7 @@ export function setupDialog(dialog: Node, userOptions: any): void;
|
|
|
23
24
|
* @param {Node} dialog
|
|
24
25
|
* @returns {Object}
|
|
25
26
|
*/
|
|
26
|
-
export function getDialogOptions(dialog: Node):
|
|
27
|
+
export function getDialogOptions(dialog: Node): Object;
|
|
27
28
|
/**
|
|
28
29
|
* Base attribute for a dialog
|
|
29
30
|
*/
|
|
@@ -44,5 +45,4 @@ export namespace defaults {
|
|
|
44
45
|
let preventScroll: boolean;
|
|
45
46
|
let preventScrollShift: boolean;
|
|
46
47
|
}
|
|
47
|
-
import { ComponentInitializer } from "../utils/system.js";
|
|
48
48
|
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../lib/js/ui/dialog.js"],"names":[],"mappings":"AA6DA;;GAEG;AACH,qCAFW,MAAM,QAIhB;AAED;;;GAGG;AACH,6BAqBC;AAED;;;;GAIG;AACH,sCAHW,IAAI,0BA2Bd;AAED;;;GAGG;AACH,oCAFW,IAAI,0BA6Dd;AAED;;;;GAIG;AACH,yCAHW,IAAI,GACF,MAAM,CAIlB;AA7LD;;GAEG;AACH,4BAA6B,iBAAiB,CAAC;AAE/C;;GAEG;AACH,+CAAuF;AAEvF;;GAEG;AACH,oCAAgE;;;;;;;;;qCAjB3B,sBAAsB"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { getUluEventName as f } from "../core/events.js";
|
|
2
|
+
import { ComponentInitializer as v } from "../core/component.js";
|
|
3
|
+
import { preventScroll as h, wasClickOutside as E } from "@ulu/utils/browser/dom.js";
|
|
4
|
+
import { prepVideos as O, pauseVideos as S } from "../utils/pause-youtube-video.js";
|
|
5
|
+
const b = "data-ulu-dialog", i = new v({ type: "dialog", baseAttribute: b }), F = i.getAttribute("close"), V = {
|
|
6
|
+
/**
|
|
7
|
+
* Use non-modal interface for dialog
|
|
8
|
+
*/
|
|
9
|
+
nonModal: !1,
|
|
10
|
+
/**
|
|
11
|
+
* Move the dialog to the document end (hoist out of content)
|
|
12
|
+
* - helpful if dialogs are within editor body, etc
|
|
13
|
+
*/
|
|
14
|
+
documentEnd: !1,
|
|
15
|
+
/**
|
|
16
|
+
* Requires styling that reduces any padding/border on dialog
|
|
17
|
+
*/
|
|
18
|
+
clickOutsideCloses: !0,
|
|
19
|
+
/**
|
|
20
|
+
* Whether or not to pause videos when dialog closes (currently just youtube and native)
|
|
21
|
+
*/
|
|
22
|
+
pauseVideos: !0,
|
|
23
|
+
/**
|
|
24
|
+
* When open and not non-modal, the body is prevented from scrolling (defaults to true).
|
|
25
|
+
*/
|
|
26
|
+
preventScroll: !0,
|
|
27
|
+
/**
|
|
28
|
+
* Compensate for layout shift when preventing scroll. Which adds padding equal to scrollbars
|
|
29
|
+
* width while dialog is open
|
|
30
|
+
*/
|
|
31
|
+
preventScrollShift: !0
|
|
32
|
+
};
|
|
33
|
+
let a = { ...V };
|
|
34
|
+
function R(e) {
|
|
35
|
+
a = Object.assign({}, a, e);
|
|
36
|
+
}
|
|
37
|
+
function T() {
|
|
38
|
+
i.init({
|
|
39
|
+
coreEvents: ["pageModified"],
|
|
40
|
+
withData: !0,
|
|
41
|
+
setup({ element: e, initialize: s, data: t }) {
|
|
42
|
+
C(e, t), s();
|
|
43
|
+
}
|
|
44
|
+
}), i.init({
|
|
45
|
+
key: "trigger",
|
|
46
|
+
coreEvents: ["pageModified"],
|
|
47
|
+
withData: !0,
|
|
48
|
+
setup({ element: e, initialize: s, data: t }) {
|
|
49
|
+
w(e, t), s();
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function w(e, s) {
|
|
54
|
+
e.addEventListener("click", t);
|
|
55
|
+
function t(r) {
|
|
56
|
+
var c;
|
|
57
|
+
r.target.closest("a") && r.preventDefault();
|
|
58
|
+
const o = document.getElementById(s);
|
|
59
|
+
if (!o) {
|
|
60
|
+
console.error("Could not locate dialog (id)", s);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (((c = o == null ? void 0 : o.tagName) == null ? void 0 : c.toLowerCase()) !== "dialog") {
|
|
64
|
+
console.error("Attempted to trigger non <dialog> element. Did you mean to use modal builder?");
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const u = D(o);
|
|
68
|
+
o[u.nonModal ? "show" : "showModal"]();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function C(e, s) {
|
|
72
|
+
const t = Object.assign({}, a, s), r = document.body, { preventScrollShift: d } = t;
|
|
73
|
+
let o;
|
|
74
|
+
if (e.addEventListener(f("resizer:start"), c), e.addEventListener(f("resizer:end"), m), e.addEventListener("click", u), t.documentEnd && r.appendChild(e), t.pauseVideos && k(e), !t.nonModal && t.preventScroll) {
|
|
75
|
+
let n;
|
|
76
|
+
e.addEventListener("toggle", (l) => {
|
|
77
|
+
l.newState === "open" ? n = h({ preventShift: d }) : n && n();
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
function u(n) {
|
|
81
|
+
const { target: l } = n, p = l === e, g = l.closest(i.attributeSelector("close"));
|
|
82
|
+
(!o && t.clickOutsideCloses && p && E(e, n) || g) && (t.pauseVideos && L(e), e.close());
|
|
83
|
+
}
|
|
84
|
+
function c(n) {
|
|
85
|
+
o = n.pointerId;
|
|
86
|
+
}
|
|
87
|
+
function m(n) {
|
|
88
|
+
o === n.pointerId && setTimeout(() => {
|
|
89
|
+
o = null;
|
|
90
|
+
}, 0);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function D(e) {
|
|
94
|
+
return Object.assign({}, a, i.getData(e));
|
|
95
|
+
}
|
|
96
|
+
function k(e) {
|
|
97
|
+
O(e);
|
|
98
|
+
}
|
|
99
|
+
function L(e) {
|
|
100
|
+
S(e), e.querySelectorAll("video").forEach((t) => t.pause());
|
|
101
|
+
}
|
|
102
|
+
export {
|
|
103
|
+
b as baseAttribute,
|
|
104
|
+
F as closeAttribute,
|
|
105
|
+
V as defaults,
|
|
106
|
+
D as getDialogOptions,
|
|
107
|
+
T as init,
|
|
108
|
+
i as initializer,
|
|
109
|
+
R as setDefaults,
|
|
110
|
+
C as setupDialog,
|
|
111
|
+
w as setupTrigger
|
|
112
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComponentInitializer } from '../core/component.js';
|
|
1
2
|
/**
|
|
2
3
|
* Initialize flipcards using data-ulu-flipcard attribute
|
|
3
4
|
*/
|
|
@@ -47,5 +48,4 @@ export class Flipcard {
|
|
|
47
48
|
containerCss(): string;
|
|
48
49
|
panelCss(zIndex?: number): string;
|
|
49
50
|
}
|
|
50
|
-
import { ComponentInitializer } from "../utils/system.js";
|
|
51
51
|
//# sourceMappingURL=flipcard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flipcard.d.ts","sourceRoot":"","sources":["../../../lib/js/ui/flipcard.js"],"names":[],"mappings":"AAgBA;;GAEG;AACH,6BAYC;AAvBD;;GAEG;AACH,+CAGG;AAmBH;;GAEG;AACH;IACE,wBAAsB;IACtB;;OAEG;IACH;;;;;;;MAOE;IACF,gEAgBC;IAZC,aAA2D;IAK3D;;;;MAA0C;IAC1C,gBAAmB;IACnB,YAA6D;IAC7D,kBAA0D;IAK5D,eAEC;IACD,cAqCC;IACD;;;OAGG;IACH;;aAQC;IACD,0BAGC;IACD,+BAIC;IACD,kCASC;IACD,uBAWC;IACD,kCAKC;CACF;qCAzJoC,sBAAsB"}
|