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
|
@@ -21,7 +21,7 @@ const MyStep = class {
|
|
|
21
21
|
return index.h("slot", null);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return index.h("slot", { key: '
|
|
24
|
+
return index.h("slot", { key: '44701e8e4f9dfe6e74f8b9581a80ef6b2c9a5880' });
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
MyStep.style = myStepCss();
|
|
@@ -210,12 +210,12 @@ const NavBar = class {
|
|
|
210
210
|
connectedCallback() {
|
|
211
211
|
}
|
|
212
212
|
render() {
|
|
213
|
-
return (index.h(index.Host, { key: '
|
|
213
|
+
return (index.h(index.Host, { key: '18e3c8af7dbb483dff73b88a1f355a0e3b6605f9', collapsed: this.collapsed }, index.h("nav", { key: 'ddf81e32206bfae3fb517a8c3b48444401d8ab28', class: `nav-bar ${this.collapsed ? 'collapsed' : 'expanded'}` }, index.h("div", { key: 'b4c7aebc1bfbc9ecb60123d6114efdefd07a3b5b', class: "nav-header" }, this.logoUrl && (index.h("img", { key: 'c7ae8fda61df03e604e275d92368b0fddb6089fa', src: this.logoUrl, alt: this.logoAlt, class: "nav-logo" })), this.appTitle && (index.h("span", { key: 'be00df3ab559af0244bc5d8aaa2def21a93eb404', class: "nav-title" }, this.appTitle)), this.showHamburger && (index.h("button", { key: '948f1574a82f4d4e10ae160e6c2e211e8d839c77', class: "nav-hamburger", onClick: this.handleHamburgerClick, "aria-label": this.collapsed ? 'Expand navigation' : 'Collapse navigation' }, this.collapsed ? (index.h("ui-icon", { name: "menu", library: this.iconLibrary, size: "1.5rem" })) : (index.h("ui-icon", { name: "x", library: this.iconLibrary, size: "1.5rem" }))))), this.showSearch && !this.collapsed && (index.h("div", { key: 'f83cfa8d13441a86ea9db30b91364efb8041e865', class: "nav-search" }, index.h("input", { key: '50a802fc2e85124866ad4d2d19d845cfe60b9ee3', type: "text", class: "nav-search-input", placeholder: this.searchPlaceholder, onInput: this.handleSearchInput }))), index.h("div", { key: 'ff8a5604ad82dd2ebca182c2d56d62a9abd79bed', class: "nav-content" }, this.renderSection(this.topItems, 'nav-section-top')), this.hoveredIcon && (index.h("div", { key: '6fe4b41539a4cd1d81c63846c25c26a8d452c9b9', class: "nav-tooltip visible", style: {
|
|
214
214
|
top: `${this.tooltipPos.top}px`,
|
|
215
215
|
left: `${this.tooltipPos.left}px`
|
|
216
216
|
} }, [...this.topItems, ...this.bottomItems, ...this.bottomItemsSecondary]
|
|
217
217
|
.flatMap(i => [i, ...(i.children || [])])
|
|
218
|
-
.find(i => i.id === this.hoveredIcon)?.label)), index.h("div", { key: '
|
|
218
|
+
.find(i => i.id === this.hoveredIcon)?.label)), index.h("div", { key: '8f6d53da23fbe4fc12151683fc0dca55bf33ab5c', class: "nav-footer" }, this.renderSection(this.bottomItems, 'nav-section-bottom'), this.renderSection(this.bottomItemsSecondary, 'nav-section-bottom-secondary')))));
|
|
219
219
|
}
|
|
220
220
|
renderSection(items, sectionClass) {
|
|
221
221
|
if (!items || items.length === 0)
|
|
@@ -1,64 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
/*! @license DOMPurify 3.4.
|
|
3
|
+
/*! @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 */
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
f = true,
|
|
22
|
-
o = false;
|
|
23
|
-
try {
|
|
24
|
-
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);
|
|
25
|
-
} catch (r) {
|
|
26
|
-
o = true, n = r;
|
|
27
|
-
} finally {
|
|
28
|
-
try {
|
|
29
|
-
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
30
|
-
} finally {
|
|
31
|
-
if (o) throw n;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return a;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
function _nonIterableRest() {
|
|
38
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
39
|
-
}
|
|
40
|
-
function _slicedToArray(r, e) {
|
|
41
|
-
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
42
|
-
}
|
|
43
|
-
function _unsupportedIterableToArray(r, a) {
|
|
44
|
-
if (r) {
|
|
45
|
-
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
46
|
-
var t = {}.toString.call(r).slice(8, -1);
|
|
47
|
-
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;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
const entries = Object.entries,
|
|
52
|
-
setPrototypeOf = Object.setPrototypeOf,
|
|
53
|
-
isFrozen = Object.isFrozen,
|
|
54
|
-
getPrototypeOf = Object.getPrototypeOf,
|
|
55
|
-
getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
56
|
-
let freeze = Object.freeze,
|
|
57
|
-
seal = Object.seal,
|
|
58
|
-
create = Object.create; // eslint-disable-line import/no-mutable-exports
|
|
59
|
-
let _ref = typeof Reflect !== 'undefined' && Reflect,
|
|
60
|
-
apply = _ref.apply,
|
|
61
|
-
construct = _ref.construct;
|
|
5
|
+
const {
|
|
6
|
+
entries,
|
|
7
|
+
setPrototypeOf,
|
|
8
|
+
isFrozen,
|
|
9
|
+
getPrototypeOf,
|
|
10
|
+
getOwnPropertyDescriptor
|
|
11
|
+
} = Object;
|
|
12
|
+
let {
|
|
13
|
+
freeze,
|
|
14
|
+
seal,
|
|
15
|
+
create
|
|
16
|
+
} = Object; // eslint-disable-line import/no-mutable-exports
|
|
17
|
+
let {
|
|
18
|
+
apply,
|
|
19
|
+
construct
|
|
20
|
+
} = typeof Reflect !== 'undefined' && Reflect;
|
|
62
21
|
if (!freeze) {
|
|
63
22
|
freeze = function freeze(x) {
|
|
64
23
|
return x;
|
|
@@ -195,10 +154,7 @@ function cleanArray(array) {
|
|
|
195
154
|
*/
|
|
196
155
|
function clone(object) {
|
|
197
156
|
const newObject = create(null);
|
|
198
|
-
for (const
|
|
199
|
-
var _ref3 = _slicedToArray(_ref2, 2);
|
|
200
|
-
const property = _ref3[0];
|
|
201
|
-
const value = _ref3[1];
|
|
157
|
+
for (const [property, value] of entries(object)) {
|
|
202
158
|
const isPropertyExist = objectHasOwnProperty(object, property);
|
|
203
159
|
if (isPropertyExist) {
|
|
204
160
|
if (arrayIsArray(value)) {
|
|
@@ -317,9 +273,10 @@ const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseli
|
|
|
317
273
|
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']);
|
|
318
274
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
319
275
|
|
|
320
|
-
|
|
321
|
-
const
|
|
322
|
-
const
|
|
276
|
+
// eslint-disable-next-line unicorn/better-regex
|
|
277
|
+
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
|
|
278
|
+
const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
|
|
279
|
+
const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
|
|
323
280
|
const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
|
|
324
281
|
const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
|
|
325
282
|
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
|
|
@@ -330,6 +287,20 @@ const ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205
|
|
|
330
287
|
const DOCTYPE_NAME = seal(/^html$/i);
|
|
331
288
|
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
332
289
|
|
|
290
|
+
var EXPRESSIONS = /*#__PURE__*/Object.freeze({
|
|
291
|
+
__proto__: null,
|
|
292
|
+
ARIA_ATTR: ARIA_ATTR,
|
|
293
|
+
ATTR_WHITESPACE: ATTR_WHITESPACE,
|
|
294
|
+
CUSTOM_ELEMENT: CUSTOM_ELEMENT,
|
|
295
|
+
DATA_ATTR: DATA_ATTR,
|
|
296
|
+
DOCTYPE_NAME: DOCTYPE_NAME,
|
|
297
|
+
ERB_EXPR: ERB_EXPR,
|
|
298
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI,
|
|
299
|
+
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
|
|
300
|
+
MUSTACHE_EXPR: MUSTACHE_EXPR,
|
|
301
|
+
TMPLIT_EXPR: TMPLIT_EXPR
|
|
302
|
+
});
|
|
303
|
+
|
|
333
304
|
/* eslint-disable @typescript-eslint/indent */
|
|
334
305
|
// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
|
|
335
306
|
const NODE_TYPE = {
|
|
@@ -396,7 +367,7 @@ const _createHooksMap = function _createHooksMap() {
|
|
|
396
367
|
function createDOMPurify() {
|
|
397
368
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
398
369
|
const DOMPurify = root => createDOMPurify(root);
|
|
399
|
-
DOMPurify.version = '3.4.
|
|
370
|
+
DOMPurify.version = '3.4.1';
|
|
400
371
|
DOMPurify.removed = [];
|
|
401
372
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
402
373
|
// Not running in a browser, provide a factory function
|
|
@@ -404,19 +375,22 @@ function createDOMPurify() {
|
|
|
404
375
|
DOMPurify.isSupported = false;
|
|
405
376
|
return DOMPurify;
|
|
406
377
|
}
|
|
407
|
-
let
|
|
378
|
+
let {
|
|
379
|
+
document
|
|
380
|
+
} = window;
|
|
408
381
|
const originalDocument = document;
|
|
409
382
|
const currentScript = originalDocument.currentScript;
|
|
410
|
-
const
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
NamedNodeMap =
|
|
417
|
-
HTMLFormElement
|
|
418
|
-
DOMParser
|
|
419
|
-
trustedTypes
|
|
383
|
+
const {
|
|
384
|
+
DocumentFragment,
|
|
385
|
+
HTMLTemplateElement,
|
|
386
|
+
Node,
|
|
387
|
+
Element,
|
|
388
|
+
NodeFilter,
|
|
389
|
+
NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,
|
|
390
|
+
HTMLFormElement,
|
|
391
|
+
DOMParser,
|
|
392
|
+
trustedTypes
|
|
393
|
+
} = window;
|
|
420
394
|
const ElementPrototype = Element.prototype;
|
|
421
395
|
const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
|
|
422
396
|
const remove = lookupGetter(ElementPrototype, 'remove');
|
|
@@ -437,26 +411,33 @@ function createDOMPurify() {
|
|
|
437
411
|
}
|
|
438
412
|
let trustedTypesPolicy;
|
|
439
413
|
let emptyHTML = '';
|
|
440
|
-
const
|
|
441
|
-
implementation
|
|
442
|
-
createNodeIterator
|
|
443
|
-
createDocumentFragment
|
|
444
|
-
getElementsByTagName
|
|
445
|
-
|
|
414
|
+
const {
|
|
415
|
+
implementation,
|
|
416
|
+
createNodeIterator,
|
|
417
|
+
createDocumentFragment,
|
|
418
|
+
getElementsByTagName
|
|
419
|
+
} = document;
|
|
420
|
+
const {
|
|
421
|
+
importNode
|
|
422
|
+
} = originalDocument;
|
|
446
423
|
let hooks = _createHooksMap();
|
|
447
424
|
/**
|
|
448
425
|
* Expose whether this browser supports running the full DOMPurify.
|
|
449
426
|
*/
|
|
450
427
|
DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;
|
|
451
|
-
const
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
428
|
+
const {
|
|
429
|
+
MUSTACHE_EXPR,
|
|
430
|
+
ERB_EXPR,
|
|
431
|
+
TMPLIT_EXPR,
|
|
432
|
+
DATA_ATTR,
|
|
433
|
+
ARIA_ATTR,
|
|
434
|
+
IS_SCRIPT_OR_DATA,
|
|
435
|
+
ATTR_WHITESPACE,
|
|
436
|
+
CUSTOM_ELEMENT
|
|
437
|
+
} = EXPRESSIONS;
|
|
438
|
+
let {
|
|
439
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI$1
|
|
440
|
+
} = EXPRESSIONS;
|
|
460
441
|
/**
|
|
461
442
|
* We consider the elements and attributes below to be safe. Ideally
|
|
462
443
|
* don't add any new ones but feel free to remove unwanted ones.
|
|
@@ -1084,7 +1065,7 @@ function createDOMPurify() {
|
|
|
1084
1065
|
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
|
|
1085
1066
|
/* Get the element's text content */
|
|
1086
1067
|
content = currentNode.textContent;
|
|
1087
|
-
arrayForEach([MUSTACHE_EXPR
|
|
1068
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1088
1069
|
content = stringReplace(content, expr, ' ');
|
|
1089
1070
|
});
|
|
1090
1071
|
if (currentNode.textContent !== content) {
|
|
@@ -1116,12 +1097,11 @@ function createDOMPurify() {
|
|
|
1116
1097
|
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
|
1117
1098
|
return false;
|
|
1118
1099
|
}
|
|
1119
|
-
const nameIsPermitted = ALLOWED_ATTR[lcName] || EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag);
|
|
1120
1100
|
/* Allow valid data-* attributes: At least one character after "-"
|
|
1121
1101
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
|
1122
1102
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
|
1123
1103
|
We don't need to check the value; it's always URI safe. */
|
|
1124
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR
|
|
1104
|
+
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]) {
|
|
1125
1105
|
if (
|
|
1126
1106
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1127
1107
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -1133,7 +1113,7 @@ function createDOMPurify() {
|
|
|
1133
1113
|
return false;
|
|
1134
1114
|
}
|
|
1135
1115
|
/* Check value is safe. First, is attr inert? If so, is safe */
|
|
1136
|
-
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE
|
|
1116
|
+
} 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) {
|
|
1137
1117
|
return false;
|
|
1138
1118
|
} else ;
|
|
1139
1119
|
return true;
|
|
@@ -1151,7 +1131,7 @@ function createDOMPurify() {
|
|
|
1151
1131
|
* @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
|
|
1152
1132
|
*/
|
|
1153
1133
|
const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
|
|
1154
|
-
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT
|
|
1134
|
+
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT, tagName);
|
|
1155
1135
|
};
|
|
1156
1136
|
/**
|
|
1157
1137
|
* _sanitizeAttributes
|
|
@@ -1166,7 +1146,9 @@ function createDOMPurify() {
|
|
|
1166
1146
|
const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
|
|
1167
1147
|
/* Execute a hook if present */
|
|
1168
1148
|
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
|
1169
|
-
const
|
|
1149
|
+
const {
|
|
1150
|
+
attributes
|
|
1151
|
+
} = currentNode;
|
|
1170
1152
|
/* Check if we have attributes; if not we might have a text node */
|
|
1171
1153
|
if (!attributes || _isClobbered(currentNode)) {
|
|
1172
1154
|
return;
|
|
@@ -1182,9 +1164,11 @@ function createDOMPurify() {
|
|
|
1182
1164
|
/* Go backwards over all attributes; safely remove bad ones */
|
|
1183
1165
|
while (l--) {
|
|
1184
1166
|
const attr = attributes[l];
|
|
1185
|
-
const
|
|
1186
|
-
|
|
1187
|
-
|
|
1167
|
+
const {
|
|
1168
|
+
name,
|
|
1169
|
+
namespaceURI,
|
|
1170
|
+
value: attrValue
|
|
1171
|
+
} = attr;
|
|
1188
1172
|
const lcName = transformCaseFunc(name);
|
|
1189
1173
|
const initValue = attrValue;
|
|
1190
1174
|
let value = name === 'value' ? initValue : stringTrim(initValue);
|
|
@@ -1232,7 +1216,7 @@ function createDOMPurify() {
|
|
|
1232
1216
|
}
|
|
1233
1217
|
/* Sanitize attribute content to be template-safe */
|
|
1234
1218
|
if (SAFE_FOR_TEMPLATES) {
|
|
1235
|
-
arrayForEach([MUSTACHE_EXPR
|
|
1219
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1236
1220
|
value = stringReplace(value, expr, ' ');
|
|
1237
1221
|
});
|
|
1238
1222
|
}
|
|
@@ -1306,49 +1290,6 @@ function createDOMPurify() {
|
|
|
1306
1290
|
/* Execute a hook if present */
|
|
1307
1291
|
_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
|
|
1308
1292
|
};
|
|
1309
|
-
/**
|
|
1310
|
-
* _sanitizeAttachedShadowRoots
|
|
1311
|
-
*
|
|
1312
|
-
* Walks `root` and feeds every attached shadow root we encounter into
|
|
1313
|
-
* the existing _sanitizeShadowDOM pipeline. The default node iterator
|
|
1314
|
-
* does not descend into shadow trees, so nodes inside an attached
|
|
1315
|
-
* shadow root would otherwise be skipped entirely.
|
|
1316
|
-
*
|
|
1317
|
-
* Two real input paths put attached shadow roots in front of us:
|
|
1318
|
-
* 1. IN_PLACE on a DOM node that already has shadow roots attached.
|
|
1319
|
-
* 2. DOM-node input where importNode(dirty, true) deep-clones the
|
|
1320
|
-
* shadow root because it was created with `clonable: true`.
|
|
1321
|
-
*
|
|
1322
|
-
* This pass runs once, up front, so the main iteration loop (and the
|
|
1323
|
-
* existing _sanitizeShadowDOM template-content recursion) stay
|
|
1324
|
-
* untouched — string-input paths are not affected.
|
|
1325
|
-
*
|
|
1326
|
-
* @param root the subtree root to walk for attached shadow roots
|
|
1327
|
-
*/
|
|
1328
|
-
const _sanitizeAttachedShadowRoots2 = function _sanitizeAttachedShadowRoots(root) {
|
|
1329
|
-
if (root.nodeType === NODE_TYPE.element && root.shadowRoot instanceof DocumentFragment) {
|
|
1330
|
-
const sr = root.shadowRoot;
|
|
1331
|
-
// Recurse first so that nested shadow roots are reached even if
|
|
1332
|
-
// _sanitizeShadowDOM removes hosts at this level.
|
|
1333
|
-
_sanitizeAttachedShadowRoots2(sr);
|
|
1334
|
-
_sanitizeShadowDOM2(sr);
|
|
1335
|
-
}
|
|
1336
|
-
// Snapshot children before recursing. Sanitization of one subtree
|
|
1337
|
-
// (e.g. via an uponSanitizeShadowNode hook) may detach siblings,
|
|
1338
|
-
// and naive nextSibling traversal would silently skip the rest of
|
|
1339
|
-
// the list once a node is detached.
|
|
1340
|
-
const childNodes = root.childNodes;
|
|
1341
|
-
if (!childNodes) {
|
|
1342
|
-
return;
|
|
1343
|
-
}
|
|
1344
|
-
const snapshot = [];
|
|
1345
|
-
arrayForEach(childNodes, child => {
|
|
1346
|
-
arrayPush(snapshot, child);
|
|
1347
|
-
});
|
|
1348
|
-
for (const child of snapshot) {
|
|
1349
|
-
_sanitizeAttachedShadowRoots2(child);
|
|
1350
|
-
}
|
|
1351
|
-
};
|
|
1352
1293
|
// eslint-disable-next-line complexity
|
|
1353
1294
|
DOMPurify.sanitize = function (dirty) {
|
|
1354
1295
|
let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -1393,9 +1334,6 @@ function createDOMPurify() {
|
|
|
1393
1334
|
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
|
1394
1335
|
}
|
|
1395
1336
|
}
|
|
1396
|
-
/* Sanitize attached shadow roots before the main iterator runs.
|
|
1397
|
-
The iterator does not descend into shadow trees. */
|
|
1398
|
-
_sanitizeAttachedShadowRoots2(dirty);
|
|
1399
1337
|
} else if (dirty instanceof Node) {
|
|
1400
1338
|
/* If dirty is a DOM element, append to an empty document to avoid
|
|
1401
1339
|
elements being stripped by the parser */
|
|
@@ -1410,10 +1348,6 @@ function createDOMPurify() {
|
|
|
1410
1348
|
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
|
1411
1349
|
body.appendChild(importedNode);
|
|
1412
1350
|
}
|
|
1413
|
-
/* Clonable shadow roots are deep-cloned by importNode(); sanitize
|
|
1414
|
-
them before the main iterator runs, since the iterator does not
|
|
1415
|
-
descend into shadow trees. */
|
|
1416
|
-
_sanitizeAttachedShadowRoots2(importedNode);
|
|
1417
1351
|
} else {
|
|
1418
1352
|
/* Exit directly if we have nothing to do */
|
|
1419
1353
|
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
|
|
@@ -1454,7 +1388,7 @@ function createDOMPurify() {
|
|
|
1454
1388
|
if (SAFE_FOR_TEMPLATES) {
|
|
1455
1389
|
body.normalize();
|
|
1456
1390
|
let html = body.innerHTML;
|
|
1457
|
-
arrayForEach([MUSTACHE_EXPR
|
|
1391
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1458
1392
|
html = stringReplace(html, expr, ' ');
|
|
1459
1393
|
});
|
|
1460
1394
|
body.innerHTML = html;
|
|
@@ -1487,7 +1421,7 @@ function createDOMPurify() {
|
|
|
1487
1421
|
}
|
|
1488
1422
|
/* Sanitize final string template-safe */
|
|
1489
1423
|
if (SAFE_FOR_TEMPLATES) {
|
|
1490
|
-
arrayForEach([MUSTACHE_EXPR
|
|
1424
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1491
1425
|
serializedHTML = stringReplace(serializedHTML, expr, ' ');
|
|
1492
1426
|
});
|
|
1493
1427
|
}
|
|
@@ -35,11 +35,11 @@ const SmartStep = class {
|
|
|
35
35
|
*/
|
|
36
36
|
disabled = false;
|
|
37
37
|
render() {
|
|
38
|
-
return (index.h("div", { key: '
|
|
38
|
+
return (index.h("div", { key: 'a2c117d2cec46a6f1fdafab7cb152026a1c637be', class: "smart-step-wrapper" }, index.h("div", { key: '470c34c7b17ad9b6e829ebfb30e1b4c3848d1c09', class: {
|
|
39
39
|
'step-header': true,
|
|
40
40
|
'disabled': this.disabled,
|
|
41
41
|
[`status-${this.status}`]: true
|
|
42
|
-
} }, index.h("div", { key: '
|
|
42
|
+
} }, index.h("div", { key: '6a6cbddfd46581cbdb2e22ba9dfddad491faf93b', class: "step-icon" }, this.icon ? (index.h("span", { class: "custom-icon" }, index.h("ui-icon", { name: this.icon, library: this.iconLibrary, size: "1.2rem" }))) : index.h("span", { class: "step-number" })), index.h("div", { key: '2d11b3d888e9cc500723d0be29a8c6fc580372b7', class: "step-text" }, index.h("span", { key: '8a13c5542cc413516b7a083e26330a34f7a43990', class: "step-title" }, this.label), this.description && index.h("span", { key: '1ad7e4e299a6d6faa338445a926279ec3d04c7b3', class: "step-desc" }, this.description))), index.h("div", { key: 'df61b0cb3ba51afbba28d4075c8e7a128616b74a', class: "stepper-content" }, index.h("slot", { key: '277c02deb6d5ee2c2ac992e3ea3da964cf8dd9e2' }))));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
SmartStep.style = smartStepCss();
|
|
@@ -21,7 +21,7 @@ const TimelineItem = class {
|
|
|
21
21
|
*/
|
|
22
22
|
itemDate;
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h("div", { key: '
|
|
24
|
+
return (index.h("div", { key: '0004428a7a312050db13c20a0b01ccfa1bbefec8', class: "timeline-item-container" }, index.h("div", { key: '706c054af22b45409c3eec9c3cae7bf13b016c88', class: "timeline-item-content" }, index.h("h2", { key: '176eb8c8b42d7658f001acaa2a94d01abcbc2060' }, this.itemTitle), index.h("p", { key: 'a0b6b862951518676293156a8dba54fbb2608d65' }, this.itemDescription), index.h("span", { key: 'e753aaeffb2c672b2c6b243f96e270e7a6b10c6e' }, this.itemDate))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
TimelineItem.style = timelineItemCss();
|