atomicuilibrary 0.0.1 → 0.1.0
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/cjs/category-section.cjs.entry.js +1 -1
- package/dist/cjs/exploration-project-tailwind.cjs.js +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/library-card.cjs.entry.js +1 -1
- package/dist/cjs/lm-container_2.cjs.entry.js +1 -1
- package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +1 -1
- package/dist/cjs/nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
- package/dist/cjs/smart-step.cjs.entry.js +2 -2
- package/dist/cjs/timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +613 -26
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +1 -1
- package/dist/cjs/ui-anchor.cjs.entry.js +1 -1
- package/dist/cjs/ui-aside-panel.cjs.entry.js +5 -5
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +5 -5
- package/dist/cjs/ui-callout-banner.cjs.entry.js +1 -1
- package/dist/cjs/ui-card.cjs.entry.js +26 -4
- package/dist/cjs/ui-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/ui-code-preview.cjs.entry.js +1 -1
- package/dist/cjs/ui-color-controller.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +3 -3
- package/dist/cjs/ui-drag-drop.cjs.entry.js +1 -1
- package/dist/cjs/ui-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ui-fab-item.cjs.entry.js +1 -1
- package/dist/cjs/ui-fab.cjs.entry.js +2 -2
- package/dist/cjs/ui-library.cjs.entry.js +1 -1
- package/dist/cjs/ui-list-group_2.cjs.entry.js +9 -5
- package/dist/cjs/ui-list.cjs.entry.js +4 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +2 -2
- package/dist/cjs/{ui-pagination_3.cjs.entry.js → ui-pagination_4.cjs.entry.js} +202 -0
- package/dist/cjs/ui-pattern-input.cjs.entry.js +5 -5
- package/dist/cjs/ui-popover.cjs.entry.js +1 -1
- package/dist/cjs/ui-progress.cjs.entry.js +101 -17
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +1 -1
- package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ui-switch.cjs.entry.js +9 -9
- package/dist/cjs/ui-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ui-timeline.cjs.entry.js +1 -1
- package/dist/cjs/ui-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/ui-transfer-list.cjs.entry.js +1 -1
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +1 -1
- package/dist/collection/assets/js/demo-loader.js +0 -1
- package/dist/collection/assets/js/demos/accordion-demo.js +189 -0
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +213 -214
- package/dist/collection/assets/js/demos/aside-panel-demo.js +6 -6
- package/dist/collection/assets/js/demos/button-demo.js +60 -1
- package/dist/collection/assets/js/demos/callout-banner-demo.js +324 -34
- package/dist/collection/assets/js/demos/card-demo.js +108 -61
- package/dist/collection/assets/js/demos/context-menu-demo.js +433 -12
- package/dist/collection/assets/js/demos/dock-demo.js +80 -60
- package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
- package/dist/collection/assets/js/demos/empty-state-demo.js +10 -10
- package/dist/collection/assets/js/demos/list-demo.js +41 -18
- package/dist/collection/assets/js/demos/masonry-demo.js +164 -0
- package/dist/collection/assets/js/demos/progress-demo.js +701 -8
- package/dist/collection/assets/js/demos/radio-demo.js +1 -1
- package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
- package/dist/collection/assets/js/demos/tag-demo.js +48 -18
- package/dist/collection/assets/js/demos/timeline-demo.js +20 -7
- package/dist/collection/assets/js/demos/tooltip-demo.js +26 -26
- package/dist/collection/assets/js/demos/tree-demo.js +28 -10
- package/dist/collection/collection-manifest.json +1 -4
- package/dist/collection/components/accordion/accordion.css +301 -0
- package/dist/collection/components/accordion/accordion.js +40 -8
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +19 -5
- package/dist/collection/components/anchor/anchor.css +0 -2
- package/dist/collection/components/aside-panel/aside-panel.css +1 -3
- package/dist/collection/components/aside-panel/aside-panel.js +5 -5
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/badge/badge.css +1 -0
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +131 -0
- package/dist/collection/components/button/button.js +128 -9
- package/dist/collection/components/card/card.css +83 -31
- package/dist/collection/components/card/card.js +46 -3
- package/dist/collection/components/checkbox/checkbox.css +8 -10
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-controller/color-controller.js +1 -1
- package/dist/collection/components/context-menu/context-menu.css +3 -3
- package/dist/collection/components/dialog-box/dialog-box.js +1 -1
- package/dist/collection/components/dialog-header/dialog-header.js +1 -1
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.js +4 -4
- package/dist/collection/components/list-item/list-item.css +24 -0
- package/dist/collection/components/list-item/list-item.js +35 -4
- package/dist/collection/components/loader/loader.css +1635 -0
- package/dist/collection/components/loader/loader.js +1120 -0
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/otp-input/otp-input.js +2 -2
- package/dist/collection/components/pattern-input/pattern-input.js +5 -5
- package/dist/collection/components/progress/progress.css +150 -15
- package/dist/collection/components/progress/progress.js +180 -18
- package/dist/collection/components/radio/radio.css +3 -3
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +2 -2
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +1 -1
- package/dist/collection/components/speed-dial/speed-dial.js +1 -1
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/switch/switch.js +10 -10
- package/dist/collection/components/tag-group/tag-group.js +2 -2
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +19 -4
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +6 -6
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/components.js +1 -0
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -0
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-controller.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-divider.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/{ui-input-pair.d.ts → ui-loader.d.ts} +4 -4
- package/dist/components/ui-loader.js +1 -0
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-context-menu.js +1 -1
- package/dist/components/ui-smart-location-dropdown.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +1 -1
- package/dist/esm/exploration-project-tailwind.js +1 -1
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/library-card.entry.js +1 -1
- package/dist/esm/lm-container_2.entry.js +1 -1
- package/dist/esm/lm-panel_3.entry.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/my-step.entry.js +1 -1
- package/dist/esm/nav-bar.entry.js +2 -2
- package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
- package/dist/esm/smart-step.entry.js +2 -2
- package/dist/esm/timeline-item.entry.js +1 -1
- package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +613 -27
- package/dist/esm/ui-advanced-data-table.entry.js +1 -1
- package/dist/esm/ui-anchor.entry.js +1 -1
- package/dist/esm/ui-aside-panel.entry.js +5 -5
- package/dist/esm/ui-avatar-group_3.entry.js +5 -5
- package/dist/esm/ui-callout-banner.entry.js +1 -1
- package/dist/esm/ui-card.entry.js +26 -4
- package/dist/esm/ui-checkbox.entry.js +2 -2
- package/dist/esm/ui-code-editor.entry.js +2 -2
- package/dist/esm/ui-code-preview.entry.js +1 -1
- package/dist/esm/ui-color-controller.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +3 -3
- package/dist/esm/ui-drag-drop.entry.js +1 -1
- package/dist/esm/ui-empty-state.entry.js +1 -1
- package/dist/esm/ui-fab-item.entry.js +1 -1
- package/dist/esm/ui-fab.entry.js +2 -2
- package/dist/esm/ui-library.entry.js +1 -1
- package/dist/esm/ui-list-group_2.entry.js +9 -5
- package/dist/esm/ui-list.entry.js +4 -4
- package/dist/esm/ui-navigation-item.entry.js +3 -3
- package/dist/esm/ui-otp-input.entry.js +2 -2
- package/dist/esm/{ui-pagination_3.entry.js → ui-pagination_4.entry.js} +202 -1
- package/dist/esm/ui-pattern-input.entry.js +5 -5
- package/dist/esm/ui-popover.entry.js +1 -1
- package/dist/esm/ui-progress.entry.js +101 -17
- package/dist/esm/ui-resizable-panel.entry.js +1 -1
- package/dist/esm/ui-smart-location-dropdown.entry.js +2 -2
- package/dist/esm/ui-smart-stepper.entry.js +1 -1
- package/dist/esm/ui-snackbar.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +1 -1
- package/dist/esm/ui-stepper.entry.js +1 -1
- package/dist/esm/ui-switch.entry.js +9 -9
- package/dist/esm/ui-tabs.entry.js +1 -1
- package/dist/esm/ui-timeline.entry.js +1 -1
- package/dist/esm/ui-toolbar.entry.js +1 -1
- package/dist/esm/ui-tooltip.entry.js +4 -4
- package/dist/esm/ui-transfer-list.entry.js +1 -1
- package/dist/esm/ui-workspace-manager.entry.js +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-036d2a44.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-05a436d3.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a4f52a76.entry.js → p-16bdd162.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-20ecc116.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-2347d21b.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3d381f75.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-4288c158.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2f1aebb3.entry.js → p-4417a9d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-049744f9.entry.js → p-44742ddd.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4aaa8e40.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6fa9dc15.entry.js → p-4bef8bed.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-64e3a484.entry.js → p-4efd63ce.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-54965530.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-5c835d90.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-6b838549.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-6ddbee42.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-70bacda8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9fa70359.entry.js → p-71d95bb1.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-7889bfc4.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-790556f0.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-7ba2258a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-81ebba11.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-8578b616.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-8b57fe4e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-97af03cc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-98e91da5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d2308a00.entry.js → p-9bd14f69.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
- package/dist/exploration-project-tailwind/{p-ba21fed3.entry.js → p-a27f59d2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-70d82d79.entry.js → p-a7b07cf4.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-5508874f.entry.js → p-bd89d060.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-c02284ea.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-c1c8ac28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c63c522e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-cbee2607.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-d114a347.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-d2e45c5e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-d59da767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-46596a28.entry.js → p-d6ce9721.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-875be805.entry.js → p-dc92a343.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-e22317c1.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d16c9635.entry.js → p-e76318c7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-e8c6d395.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c2ca71ac.entry.js → p-eab5ad36.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f1beee72.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f543392f.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-46efdea3.entry.js → p-f61cfb7c.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-fb4aca69.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -2
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/list-item/list-item.d.ts +1 -0
- package/dist/types/components/loader/loader.d.ts +145 -0
- package/dist/types/components/progress/progress.d.ts +34 -2
- package/dist/types/components.d.ts +509 -993
- package/dist/types/types/common.d.ts +1 -1
- package/dist/types/types/common.type.d.ts +1 -1
- package/package.json +8 -7
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
- package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
- package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
- package/dist/cjs/ui-radio.cjs.entry.js +0 -206
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
- package/dist/collection/components/checkbox-group/types.js +0 -1
- package/dist/collection/components/image-button/image-button.css +0 -154
- package/dist/collection/components/image-button/image-button.js +0 -310
- package/dist/collection/components/image-button/types.js +0 -1
- package/dist/collection/components/input-pair/input-pair.css +0 -72
- package/dist/collection/components/input-pair/input-pair.js +0 -309
- package/dist/collection/components/radio-group/radio-group.css +0 -202
- package/dist/collection/components/radio-group/radio-group.js +0 -903
- package/dist/collection/components/radio-group/types.js +0 -1
- package/dist/components/ui-checkbox-group.d.ts +0 -11
- package/dist/components/ui-checkbox-group.js +0 -1
- package/dist/components/ui-image-button.d.ts +0 -11
- package/dist/components/ui-image-button.js +0 -1
- package/dist/components/ui-input-pair.js +0 -1
- package/dist/components/ui-radio-group.d.ts +0 -11
- package/dist/components/ui-radio-group.js +0 -1
- package/dist/esm/ui-checkbox-group.entry.js +0 -328
- package/dist/esm/ui-image-button.entry.js +0 -65
- package/dist/esm/ui-input-pair.entry.js +0 -42
- package/dist/esm/ui-radio-group.entry.js +0 -203
- package/dist/esm/ui-radio.entry.js +0 -204
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7f91d949.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
- package/dist/types/components/checkbox-group/types.d.ts +0 -8
- package/dist/types/components/image-button/image-button.d.ts +0 -31
- package/dist/types/components/image-button/types.d.ts +0 -1
- package/dist/types/components/input-pair/input-pair.d.ts +0 -28
- package/dist/types/components/radio-group/radio-group.d.ts +0 -74
- package/dist/types/components/radio-group/types.d.ts +0 -2
|
@@ -208,12 +208,12 @@ const NavBar = class {
|
|
|
208
208
|
connectedCallback() {
|
|
209
209
|
}
|
|
210
210
|
render() {
|
|
211
|
-
return (h(Host, { key: '
|
|
211
|
+
return (h(Host, { key: '18e3c8af7dbb483dff73b88a1f355a0e3b6605f9', collapsed: this.collapsed }, h("nav", { key: 'ddf81e32206bfae3fb517a8c3b48444401d8ab28', class: `nav-bar ${this.collapsed ? 'collapsed' : 'expanded'}` }, h("div", { key: 'b4c7aebc1bfbc9ecb60123d6114efdefd07a3b5b', class: "nav-header" }, this.logoUrl && (h("img", { key: 'c7ae8fda61df03e604e275d92368b0fddb6089fa', src: this.logoUrl, alt: this.logoAlt, class: "nav-logo" })), this.appTitle && (h("span", { key: 'be00df3ab559af0244bc5d8aaa2def21a93eb404', class: "nav-title" }, this.appTitle)), this.showHamburger && (h("button", { key: '948f1574a82f4d4e10ae160e6c2e211e8d839c77', class: "nav-hamburger", onClick: this.handleHamburgerClick, "aria-label": this.collapsed ? 'Expand navigation' : 'Collapse navigation' }, this.collapsed ? (h("ui-icon", { name: "menu", library: this.iconLibrary, size: "1.5rem" })) : (h("ui-icon", { name: "x", library: this.iconLibrary, size: "1.5rem" }))))), this.showSearch && !this.collapsed && (h("div", { key: 'f83cfa8d13441a86ea9db30b91364efb8041e865', class: "nav-search" }, h("input", { key: '50a802fc2e85124866ad4d2d19d845cfe60b9ee3', type: "text", class: "nav-search-input", placeholder: this.searchPlaceholder, onInput: this.handleSearchInput }))), h("div", { key: 'ff8a5604ad82dd2ebca182c2d56d62a9abd79bed', class: "nav-content" }, this.renderSection(this.topItems, 'nav-section-top')), this.hoveredIcon && (h("div", { key: '6fe4b41539a4cd1d81c63846c25c26a8d452c9b9', class: "nav-tooltip visible", style: {
|
|
212
212
|
top: `${this.tooltipPos.top}px`,
|
|
213
213
|
left: `${this.tooltipPos.left}px`
|
|
214
214
|
} }, [...this.topItems, ...this.bottomItems, ...this.bottomItemsSecondary]
|
|
215
215
|
.flatMap(i => [i, ...(i.children || [])])
|
|
216
|
-
.find(i => i.id === this.hoveredIcon)?.label)), h("div", { key: '
|
|
216
|
+
.find(i => i.id === this.hoveredIcon)?.label)), h("div", { key: '8f6d53da23fbe4fc12151683fc0dca55bf33ab5c', class: "nav-footer" }, this.renderSection(this.bottomItems, 'nav-section-bottom'), this.renderSection(this.bottomItemsSecondary, 'nav-section-bottom-secondary')))));
|
|
217
217
|
}
|
|
218
218
|
renderSection(items, sectionClass) {
|
|
219
219
|
if (!items || items.length === 0)
|
|
@@ -1,62 +1,21 @@
|
|
|
1
|
-
/*! @license DOMPurify 3.4.
|
|
1
|
+
/*! @license DOMPurify 3.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.1/LICENSE */
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
f = true,
|
|
20
|
-
o = false;
|
|
21
|
-
try {
|
|
22
|
-
if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true);
|
|
23
|
-
} catch (r) {
|
|
24
|
-
o = true, n = r;
|
|
25
|
-
} finally {
|
|
26
|
-
try {
|
|
27
|
-
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
28
|
-
} finally {
|
|
29
|
-
if (o) throw n;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return a;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
function _nonIterableRest() {
|
|
36
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
37
|
-
}
|
|
38
|
-
function _slicedToArray(r, e) {
|
|
39
|
-
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
40
|
-
}
|
|
41
|
-
function _unsupportedIterableToArray(r, a) {
|
|
42
|
-
if (r) {
|
|
43
|
-
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
44
|
-
var t = {}.toString.call(r).slice(8, -1);
|
|
45
|
-
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
const entries = Object.entries,
|
|
50
|
-
setPrototypeOf = Object.setPrototypeOf,
|
|
51
|
-
isFrozen = Object.isFrozen,
|
|
52
|
-
getPrototypeOf = Object.getPrototypeOf,
|
|
53
|
-
getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
54
|
-
let freeze = Object.freeze,
|
|
55
|
-
seal = Object.seal,
|
|
56
|
-
create = Object.create; // eslint-disable-line import/no-mutable-exports
|
|
57
|
-
let _ref = typeof Reflect !== 'undefined' && Reflect,
|
|
58
|
-
apply = _ref.apply,
|
|
59
|
-
construct = _ref.construct;
|
|
3
|
+
const {
|
|
4
|
+
entries,
|
|
5
|
+
setPrototypeOf,
|
|
6
|
+
isFrozen,
|
|
7
|
+
getPrototypeOf,
|
|
8
|
+
getOwnPropertyDescriptor
|
|
9
|
+
} = Object;
|
|
10
|
+
let {
|
|
11
|
+
freeze,
|
|
12
|
+
seal,
|
|
13
|
+
create
|
|
14
|
+
} = Object; // eslint-disable-line import/no-mutable-exports
|
|
15
|
+
let {
|
|
16
|
+
apply,
|
|
17
|
+
construct
|
|
18
|
+
} = typeof Reflect !== 'undefined' && Reflect;
|
|
60
19
|
if (!freeze) {
|
|
61
20
|
freeze = function freeze(x) {
|
|
62
21
|
return x;
|
|
@@ -193,10 +152,7 @@ function cleanArray(array) {
|
|
|
193
152
|
*/
|
|
194
153
|
function clone(object) {
|
|
195
154
|
const newObject = create(null);
|
|
196
|
-
for (const
|
|
197
|
-
var _ref3 = _slicedToArray(_ref2, 2);
|
|
198
|
-
const property = _ref3[0];
|
|
199
|
-
const value = _ref3[1];
|
|
155
|
+
for (const [property, value] of entries(object)) {
|
|
200
156
|
const isPropertyExist = objectHasOwnProperty(object, property);
|
|
201
157
|
if (isPropertyExist) {
|
|
202
158
|
if (arrayIsArray(value)) {
|
|
@@ -315,9 +271,10 @@ const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseli
|
|
|
315
271
|
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lquote', 'lspace', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
|
|
316
272
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
317
273
|
|
|
318
|
-
|
|
319
|
-
const
|
|
320
|
-
const
|
|
274
|
+
// eslint-disable-next-line unicorn/better-regex
|
|
275
|
+
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
|
|
276
|
+
const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
|
|
277
|
+
const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
|
|
321
278
|
const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
|
|
322
279
|
const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
|
|
323
280
|
const IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
|
|
@@ -328,6 +285,20 @@ const ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205
|
|
|
328
285
|
const DOCTYPE_NAME = seal(/^html$/i);
|
|
329
286
|
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
330
287
|
|
|
288
|
+
var EXPRESSIONS = /*#__PURE__*/Object.freeze({
|
|
289
|
+
__proto__: null,
|
|
290
|
+
ARIA_ATTR: ARIA_ATTR,
|
|
291
|
+
ATTR_WHITESPACE: ATTR_WHITESPACE,
|
|
292
|
+
CUSTOM_ELEMENT: CUSTOM_ELEMENT,
|
|
293
|
+
DATA_ATTR: DATA_ATTR,
|
|
294
|
+
DOCTYPE_NAME: DOCTYPE_NAME,
|
|
295
|
+
ERB_EXPR: ERB_EXPR,
|
|
296
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI,
|
|
297
|
+
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
|
|
298
|
+
MUSTACHE_EXPR: MUSTACHE_EXPR,
|
|
299
|
+
TMPLIT_EXPR: TMPLIT_EXPR
|
|
300
|
+
});
|
|
301
|
+
|
|
331
302
|
/* eslint-disable @typescript-eslint/indent */
|
|
332
303
|
// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
|
|
333
304
|
const NODE_TYPE = {
|
|
@@ -394,7 +365,7 @@ const _createHooksMap = function _createHooksMap() {
|
|
|
394
365
|
function createDOMPurify() {
|
|
395
366
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
396
367
|
const DOMPurify = root => createDOMPurify(root);
|
|
397
|
-
DOMPurify.version = '3.4.
|
|
368
|
+
DOMPurify.version = '3.4.1';
|
|
398
369
|
DOMPurify.removed = [];
|
|
399
370
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
400
371
|
// Not running in a browser, provide a factory function
|
|
@@ -402,19 +373,22 @@ function createDOMPurify() {
|
|
|
402
373
|
DOMPurify.isSupported = false;
|
|
403
374
|
return DOMPurify;
|
|
404
375
|
}
|
|
405
|
-
let
|
|
376
|
+
let {
|
|
377
|
+
document
|
|
378
|
+
} = window;
|
|
406
379
|
const originalDocument = document;
|
|
407
380
|
const currentScript = originalDocument.currentScript;
|
|
408
|
-
const
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
NamedNodeMap =
|
|
415
|
-
HTMLFormElement
|
|
416
|
-
DOMParser
|
|
417
|
-
trustedTypes
|
|
381
|
+
const {
|
|
382
|
+
DocumentFragment,
|
|
383
|
+
HTMLTemplateElement,
|
|
384
|
+
Node,
|
|
385
|
+
Element,
|
|
386
|
+
NodeFilter,
|
|
387
|
+
NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,
|
|
388
|
+
HTMLFormElement,
|
|
389
|
+
DOMParser,
|
|
390
|
+
trustedTypes
|
|
391
|
+
} = window;
|
|
418
392
|
const ElementPrototype = Element.prototype;
|
|
419
393
|
const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
|
|
420
394
|
const remove = lookupGetter(ElementPrototype, 'remove');
|
|
@@ -435,26 +409,33 @@ function createDOMPurify() {
|
|
|
435
409
|
}
|
|
436
410
|
let trustedTypesPolicy;
|
|
437
411
|
let emptyHTML = '';
|
|
438
|
-
const
|
|
439
|
-
implementation
|
|
440
|
-
createNodeIterator
|
|
441
|
-
createDocumentFragment
|
|
442
|
-
getElementsByTagName
|
|
443
|
-
|
|
412
|
+
const {
|
|
413
|
+
implementation,
|
|
414
|
+
createNodeIterator,
|
|
415
|
+
createDocumentFragment,
|
|
416
|
+
getElementsByTagName
|
|
417
|
+
} = document;
|
|
418
|
+
const {
|
|
419
|
+
importNode
|
|
420
|
+
} = originalDocument;
|
|
444
421
|
let hooks = _createHooksMap();
|
|
445
422
|
/**
|
|
446
423
|
* Expose whether this browser supports running the full DOMPurify.
|
|
447
424
|
*/
|
|
448
425
|
DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
426
|
+
const {
|
|
427
|
+
MUSTACHE_EXPR,
|
|
428
|
+
ERB_EXPR,
|
|
429
|
+
TMPLIT_EXPR,
|
|
430
|
+
DATA_ATTR,
|
|
431
|
+
ARIA_ATTR,
|
|
432
|
+
IS_SCRIPT_OR_DATA,
|
|
433
|
+
ATTR_WHITESPACE,
|
|
434
|
+
CUSTOM_ELEMENT
|
|
435
|
+
} = EXPRESSIONS;
|
|
436
|
+
let {
|
|
437
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI$1
|
|
438
|
+
} = EXPRESSIONS;
|
|
458
439
|
/**
|
|
459
440
|
* We consider the elements and attributes below to be safe. Ideally
|
|
460
441
|
* don't add any new ones but feel free to remove unwanted ones.
|
|
@@ -1082,7 +1063,7 @@ function createDOMPurify() {
|
|
|
1082
1063
|
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
|
|
1083
1064
|
/* Get the element's text content */
|
|
1084
1065
|
content = currentNode.textContent;
|
|
1085
|
-
arrayForEach([MUSTACHE_EXPR
|
|
1066
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1086
1067
|
content = stringReplace(content, expr, ' ');
|
|
1087
1068
|
});
|
|
1088
1069
|
if (currentNode.textContent !== content) {
|
|
@@ -1114,12 +1095,11 @@ function createDOMPurify() {
|
|
|
1114
1095
|
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
|
1115
1096
|
return false;
|
|
1116
1097
|
}
|
|
1117
|
-
const nameIsPermitted = ALLOWED_ATTR[lcName] || EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag);
|
|
1118
1098
|
/* Allow valid data-* attributes: At least one character after "-"
|
|
1119
1099
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
|
1120
1100
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
|
1121
1101
|
We don't need to check the value; it's always URI safe. */
|
|
1122
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR
|
|
1102
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1123
1103
|
if (
|
|
1124
1104
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1125
1105
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -1131,7 +1111,7 @@ function createDOMPurify() {
|
|
|
1131
1111
|
return false;
|
|
1132
1112
|
}
|
|
1133
1113
|
/* Check value is safe. First, is attr inert? If so, is safe */
|
|
1134
|
-
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE
|
|
1114
|
+
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {
|
|
1135
1115
|
return false;
|
|
1136
1116
|
} else ;
|
|
1137
1117
|
return true;
|
|
@@ -1149,7 +1129,7 @@ function createDOMPurify() {
|
|
|
1149
1129
|
* @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
|
|
1150
1130
|
*/
|
|
1151
1131
|
const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
|
|
1152
|
-
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT
|
|
1132
|
+
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT, tagName);
|
|
1153
1133
|
};
|
|
1154
1134
|
/**
|
|
1155
1135
|
* _sanitizeAttributes
|
|
@@ -1164,7 +1144,9 @@ function createDOMPurify() {
|
|
|
1164
1144
|
const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
|
|
1165
1145
|
/* Execute a hook if present */
|
|
1166
1146
|
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
|
1167
|
-
const
|
|
1147
|
+
const {
|
|
1148
|
+
attributes
|
|
1149
|
+
} = currentNode;
|
|
1168
1150
|
/* Check if we have attributes; if not we might have a text node */
|
|
1169
1151
|
if (!attributes || _isClobbered(currentNode)) {
|
|
1170
1152
|
return;
|
|
@@ -1180,9 +1162,11 @@ function createDOMPurify() {
|
|
|
1180
1162
|
/* Go backwards over all attributes; safely remove bad ones */
|
|
1181
1163
|
while (l--) {
|
|
1182
1164
|
const attr = attributes[l];
|
|
1183
|
-
const
|
|
1184
|
-
|
|
1185
|
-
|
|
1165
|
+
const {
|
|
1166
|
+
name,
|
|
1167
|
+
namespaceURI,
|
|
1168
|
+
value: attrValue
|
|
1169
|
+
} = attr;
|
|
1186
1170
|
const lcName = transformCaseFunc(name);
|
|
1187
1171
|
const initValue = attrValue;
|
|
1188
1172
|
let value = name === 'value' ? initValue : stringTrim(initValue);
|
|
@@ -1230,7 +1214,7 @@ function createDOMPurify() {
|
|
|
1230
1214
|
}
|
|
1231
1215
|
/* Sanitize attribute content to be template-safe */
|
|
1232
1216
|
if (SAFE_FOR_TEMPLATES) {
|
|
1233
|
-
arrayForEach([MUSTACHE_EXPR
|
|
1217
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1234
1218
|
value = stringReplace(value, expr, ' ');
|
|
1235
1219
|
});
|
|
1236
1220
|
}
|
|
@@ -1304,49 +1288,6 @@ function createDOMPurify() {
|
|
|
1304
1288
|
/* Execute a hook if present */
|
|
1305
1289
|
_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
|
|
1306
1290
|
};
|
|
1307
|
-
/**
|
|
1308
|
-
* _sanitizeAttachedShadowRoots
|
|
1309
|
-
*
|
|
1310
|
-
* Walks `root` and feeds every attached shadow root we encounter into
|
|
1311
|
-
* the existing _sanitizeShadowDOM pipeline. The default node iterator
|
|
1312
|
-
* does not descend into shadow trees, so nodes inside an attached
|
|
1313
|
-
* shadow root would otherwise be skipped entirely.
|
|
1314
|
-
*
|
|
1315
|
-
* Two real input paths put attached shadow roots in front of us:
|
|
1316
|
-
* 1. IN_PLACE on a DOM node that already has shadow roots attached.
|
|
1317
|
-
* 2. DOM-node input where importNode(dirty, true) deep-clones the
|
|
1318
|
-
* shadow root because it was created with `clonable: true`.
|
|
1319
|
-
*
|
|
1320
|
-
* This pass runs once, up front, so the main iteration loop (and the
|
|
1321
|
-
* existing _sanitizeShadowDOM template-content recursion) stay
|
|
1322
|
-
* untouched — string-input paths are not affected.
|
|
1323
|
-
*
|
|
1324
|
-
* @param root the subtree root to walk for attached shadow roots
|
|
1325
|
-
*/
|
|
1326
|
-
const _sanitizeAttachedShadowRoots2 = function _sanitizeAttachedShadowRoots(root) {
|
|
1327
|
-
if (root.nodeType === NODE_TYPE.element && root.shadowRoot instanceof DocumentFragment) {
|
|
1328
|
-
const sr = root.shadowRoot;
|
|
1329
|
-
// Recurse first so that nested shadow roots are reached even if
|
|
1330
|
-
// _sanitizeShadowDOM removes hosts at this level.
|
|
1331
|
-
_sanitizeAttachedShadowRoots2(sr);
|
|
1332
|
-
_sanitizeShadowDOM2(sr);
|
|
1333
|
-
}
|
|
1334
|
-
// Snapshot children before recursing. Sanitization of one subtree
|
|
1335
|
-
// (e.g. via an uponSanitizeShadowNode hook) may detach siblings,
|
|
1336
|
-
// and naive nextSibling traversal would silently skip the rest of
|
|
1337
|
-
// the list once a node is detached.
|
|
1338
|
-
const childNodes = root.childNodes;
|
|
1339
|
-
if (!childNodes) {
|
|
1340
|
-
return;
|
|
1341
|
-
}
|
|
1342
|
-
const snapshot = [];
|
|
1343
|
-
arrayForEach(childNodes, child => {
|
|
1344
|
-
arrayPush(snapshot, child);
|
|
1345
|
-
});
|
|
1346
|
-
for (const child of snapshot) {
|
|
1347
|
-
_sanitizeAttachedShadowRoots2(child);
|
|
1348
|
-
}
|
|
1349
|
-
};
|
|
1350
1291
|
// eslint-disable-next-line complexity
|
|
1351
1292
|
DOMPurify.sanitize = function (dirty) {
|
|
1352
1293
|
let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -1391,9 +1332,6 @@ function createDOMPurify() {
|
|
|
1391
1332
|
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
|
1392
1333
|
}
|
|
1393
1334
|
}
|
|
1394
|
-
/* Sanitize attached shadow roots before the main iterator runs.
|
|
1395
|
-
The iterator does not descend into shadow trees. */
|
|
1396
|
-
_sanitizeAttachedShadowRoots2(dirty);
|
|
1397
1335
|
} else if (dirty instanceof Node) {
|
|
1398
1336
|
/* If dirty is a DOM element, append to an empty document to avoid
|
|
1399
1337
|
elements being stripped by the parser */
|
|
@@ -1408,10 +1346,6 @@ function createDOMPurify() {
|
|
|
1408
1346
|
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
|
1409
1347
|
body.appendChild(importedNode);
|
|
1410
1348
|
}
|
|
1411
|
-
/* Clonable shadow roots are deep-cloned by importNode(); sanitize
|
|
1412
|
-
them before the main iterator runs, since the iterator does not
|
|
1413
|
-
descend into shadow trees. */
|
|
1414
|
-
_sanitizeAttachedShadowRoots2(importedNode);
|
|
1415
1349
|
} else {
|
|
1416
1350
|
/* Exit directly if we have nothing to do */
|
|
1417
1351
|
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
|
|
@@ -1452,7 +1386,7 @@ function createDOMPurify() {
|
|
|
1452
1386
|
if (SAFE_FOR_TEMPLATES) {
|
|
1453
1387
|
body.normalize();
|
|
1454
1388
|
let html = body.innerHTML;
|
|
1455
|
-
arrayForEach([MUSTACHE_EXPR
|
|
1389
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1456
1390
|
html = stringReplace(html, expr, ' ');
|
|
1457
1391
|
});
|
|
1458
1392
|
body.innerHTML = html;
|
|
@@ -1485,7 +1419,7 @@ function createDOMPurify() {
|
|
|
1485
1419
|
}
|
|
1486
1420
|
/* Sanitize final string template-safe */
|
|
1487
1421
|
if (SAFE_FOR_TEMPLATES) {
|
|
1488
|
-
arrayForEach([MUSTACHE_EXPR
|
|
1422
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1489
1423
|
serializedHTML = stringReplace(serializedHTML, expr, ' ');
|
|
1490
1424
|
});
|
|
1491
1425
|
}
|
|
@@ -33,11 +33,11 @@ const SmartStep = class {
|
|
|
33
33
|
*/
|
|
34
34
|
disabled = false;
|
|
35
35
|
render() {
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: 'a2c117d2cec46a6f1fdafab7cb152026a1c637be', class: "smart-step-wrapper" }, h("div", { key: '470c34c7b17ad9b6e829ebfb30e1b4c3848d1c09', class: {
|
|
37
37
|
'step-header': true,
|
|
38
38
|
'disabled': this.disabled,
|
|
39
39
|
[`status-${this.status}`]: true
|
|
40
|
-
} }, h("div", { key: '
|
|
40
|
+
} }, h("div", { key: '6a6cbddfd46581cbdb2e22ba9dfddad491faf93b', class: "step-icon" }, this.icon ? (h("span", { class: "custom-icon" }, h("ui-icon", { name: this.icon, library: this.iconLibrary, size: "1.2rem" }))) : h("span", { class: "step-number" })), h("div", { key: '2d11b3d888e9cc500723d0be29a8c6fc580372b7', class: "step-text" }, h("span", { key: '8a13c5542cc413516b7a083e26330a34f7a43990', class: "step-title" }, this.label), this.description && h("span", { key: '1ad7e4e299a6d6faa338445a926279ec3d04c7b3', class: "step-desc" }, this.description))), h("div", { key: 'df61b0cb3ba51afbba28d4075c8e7a128616b74a', class: "stepper-content" }, h("slot", { key: '277c02deb6d5ee2c2ac992e3ea3da964cf8dd9e2' }))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
SmartStep.style = smartStepCss();
|
|
@@ -19,7 +19,7 @@ const TimelineItem = class {
|
|
|
19
19
|
*/
|
|
20
20
|
itemDate;
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '0004428a7a312050db13c20a0b01ccfa1bbefec8', class: "timeline-item-container" }, h("div", { key: '706c054af22b45409c3eec9c3cae7bf13b016c88', class: "timeline-item-content" }, h("h2", { key: '176eb8c8b42d7658f001acaa2a94d01abcbc2060' }, this.itemTitle), h("p", { key: 'a0b6b862951518676293156a8dba54fbb2608d65' }, this.itemDescription), h("span", { key: 'e753aaeffb2c672b2c6b243f96e270e7a6b10c6e' }, this.itemDate))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
TimelineItem.style = timelineItemCss();
|