@duetds/components 6.5.2 → 6.6.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/hydrate/index.js +227 -30
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -2
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +38 -0
- package/lib/cjs/duet-choice_2.cjs.entry.js +8 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +4 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +15 -3
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +13 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +41 -0
- package/lib/cjs/duet-pagination_2.cjs.entry.js +11 -5
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +33 -7
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +16 -5
- package/lib/cjs/duet-slideout.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-e463fcd1.js → focus-utils-995144a1.js} +1 -1
- package/lib/cjs/{index-d28eaddf.js → index-7924dfe2.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +2 -0
- package/lib/collection/components/duet-alert/duet-alert.css +1 -0
- package/lib/collection/components/duet-choice/duet-checkmark.css +74 -0
- package/lib/collection/components/duet-choice/duet-checkmark.js +142 -0
- package/lib/collection/components/duet-choice/duet-choice.js +22 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +7 -2
- package/lib/collection/components/duet-icon/duet-icon.css +121 -2
- package/lib/collection/components/duet-icon/duet-icon.js +20 -0
- package/lib/collection/components/duet-input/duet-input.js +14 -2
- package/lib/collection/components/duet-link/duet-link.css +37 -0
- package/lib/collection/components/duet-link/duet-link.js +20 -0
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +203 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +19 -1
- package/lib/collection/components/duet-nav/duet-nav.js +6 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +205 -0
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +113 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +10 -4
- package/lib/collection/components/duet-slideout/duet-slideout.css +0 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +38 -1
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +1 -8
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +35 -2
- package/lib/collection/components/duet-tab/duet-tab.js +18 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +140 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +31 -6
- package/lib/collection/components/duet-table/duet-table.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +38 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.d.ts +11 -0
- package/lib/dist-custom-elements/duet-checkmark.js +9 -0
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +13 -6
- package/lib/dist-custom-elements/duet-collapsible.js +6 -4
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +10 -10
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +1 -1
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +25 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +9 -9
- package/lib/dist-custom-elements/duet-page-heading.d.ts +11 -0
- package/lib/dist-custom-elements/duet-page-heading.js +65 -0
- package/lib/dist-custom-elements/duet-pagination.js +17 -11
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +7 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +16 -5
- package/lib/dist-custom-elements/duet-slideout.js +3 -3
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +46 -15
- package/lib/dist-custom-elements/duet-tab.js +3 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +7 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.d.ts +2 -0
- package/lib/dist-custom-elements/index.js +3 -1
- package/lib/dist-custom-elements/{p-68604dde.js → p-090c4f84.js} +1 -1
- package/lib/dist-custom-elements/{p-bed64271.js → p-0b3c5fd3.js} +4 -4
- package/lib/dist-custom-elements/{p-b93d2f59.js → p-0b46cf7c.js} +1 -1
- package/lib/dist-custom-elements/{p-c2cb9c20.js → p-1b40f099.js} +2 -2
- package/lib/dist-custom-elements/{p-b0973ee5.js → p-1edc6268.js} +1 -1
- package/lib/dist-custom-elements/{p-a515e4af.js → p-25e3ecf6.js} +1 -1
- package/lib/dist-custom-elements/{p-f3ac9547.js → p-2bed378b.js} +1 -1
- package/lib/dist-custom-elements/{p-9112f395.js → p-2e8d4cbb.js} +3 -3
- package/lib/dist-custom-elements/{p-a3dc0179.js → p-31869282.js} +2 -2
- package/lib/dist-custom-elements/{p-e4516cf4.js → p-47c90993.js} +1 -1
- package/lib/dist-custom-elements/{p-b49b6dfe.js → p-4da5814e.js} +7 -4
- package/lib/dist-custom-elements/{p-d2ba9048.js → p-4f601182.js} +2 -2
- package/lib/dist-custom-elements/{p-25b67c58.js → p-505b1084.js} +2 -2
- package/lib/dist-custom-elements/{p-d7d50d4f.js → p-5243162f.js} +1 -1
- package/lib/dist-custom-elements/{p-4cf27349.js → p-58d5e801.js} +1 -1
- package/lib/dist-custom-elements/{p-ab0944f2.js → p-5bd12ce0.js} +2 -2
- package/lib/dist-custom-elements/{p-4a9c90b4.js → p-62024326.js} +1 -1
- package/lib/dist-custom-elements/{p-99260df6.js → p-73fbb616.js} +1 -1
- package/lib/dist-custom-elements/{p-dda23bd9.js → p-7cd9c98d.js} +1 -1
- package/lib/dist-custom-elements/{p-cae5ee62.js → p-7fdcbaf8.js} +22 -10
- package/lib/dist-custom-elements/p-83dc78d3.js +186 -0
- package/lib/dist-custom-elements/{p-15968e9a.js → p-94317ac7.js} +1 -1
- package/lib/dist-custom-elements/{p-95e95871.js → p-9aaafcd5.js} +6 -6
- package/lib/dist-custom-elements/{p-c933203e.js → p-a0db949c.js} +6 -6
- package/lib/dist-custom-elements/{p-2646bc44.js → p-c1c93be7.js} +7 -7
- package/lib/dist-custom-elements/{p-9e3ea8a4.js → p-c1eea28e.js} +1 -1
- package/lib/dist-custom-elements/{p-98ae1730.js → p-d2842398.js} +1 -1
- package/lib/dist-custom-elements/{p-8cc35bc1.js → p-dab5118b.js} +1 -1
- package/lib/dist-custom-elements/p-db1a354c.js +54 -0
- package/lib/dist-custom-elements/{p-a623d58c.js → p-dc195b26.js} +3 -3
- package/lib/dist-custom-elements/{p-b80f18af.js → p-ee73ac71.js} +1 -1
- package/lib/dist-custom-elements/{p-43343a18.js → p-f3d819f9.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-0ae5fcca.entry.js +4 -0
- package/lib/duet/{p-1bb2ca48.system.entry.js → p-0f74b52f.system.entry.js} +1 -1
- package/lib/duet/{p-e5b23434.system.entry.js → p-1153165c.system.entry.js} +1 -1
- package/lib/duet/{p-03c19b62.system.entry.js → p-123a086a.system.entry.js} +1 -1
- package/lib/duet/{p-3cc241bf.entry.js → p-13177687.entry.js} +1 -1
- package/lib/duet/{p-67718cc3.entry.js → p-1490ab5a.entry.js} +1 -1
- package/lib/duet/{p-6869a12b.system.entry.js → p-16172210.system.entry.js} +1 -1
- package/lib/duet/p-1908e8bc.system.entry.js +4 -0
- package/lib/duet/{p-8d8d820a.entry.js → p-1bf30e42.entry.js} +1 -1
- package/lib/duet/{p-29749e15.system.entry.js → p-1ff8518c.system.entry.js} +1 -1
- package/lib/duet/{p-ec8178ca.system.entry.js → p-20e0e96a.system.entry.js} +1 -1
- package/lib/duet/{p-b9e81db8.entry.js → p-21a8e0eb.entry.js} +1 -1
- package/lib/duet/{p-186a18d8.entry.js → p-221ca56a.entry.js} +1 -1
- package/lib/duet/{p-00fd4357.entry.js → p-22d0724c.entry.js} +1 -1
- package/lib/duet/p-23a53ae7.entry.js +4 -0
- package/lib/duet/{p-98542cf6.entry.js → p-24179e4c.entry.js} +1 -1
- package/lib/duet/p-28fc49de.js +4 -0
- package/lib/duet/{p-c606f454.entry.js → p-2a48131b.entry.js} +1 -1
- package/lib/duet/{p-eaae6b36.system.js → p-2a7f92fa.system.js} +1 -1
- package/lib/duet/{p-8422b441.entry.js → p-2cd36122.entry.js} +1 -1
- package/lib/duet/{p-8f6a5e2c.system.entry.js → p-2dc966c6.system.entry.js} +1 -1
- package/lib/duet/p-31497c7f.entry.js +4 -0
- package/lib/duet/p-32b5532c.entry.js +4 -0
- package/lib/duet/{p-4649ec1d.entry.js → p-36aed263.entry.js} +1 -1
- package/lib/duet/{p-e57b9976.entry.js → p-36b14352.entry.js} +1 -1
- package/lib/duet/{p-c53f21c9.system.entry.js → p-3a44e66a.system.entry.js} +1 -1
- package/lib/duet/{p-491611e0.system.entry.js → p-3ae2bc39.system.entry.js} +1 -1
- package/lib/duet/{p-0eceb1fe.entry.js → p-3c5b1adb.entry.js} +1 -1
- package/lib/duet/{p-990418d6.entry.js → p-3cb7c2b8.entry.js} +1 -1
- package/lib/duet/{p-4544887e.system.entry.js → p-3d2a830f.system.entry.js} +1 -1
- package/lib/duet/{p-1aa70bf3.entry.js → p-3d82f269.entry.js} +1 -1
- package/lib/duet/p-3e0a6231.system.entry.js +4 -0
- package/lib/duet/p-3fb428e9.system.entry.js +4 -0
- package/lib/duet/{p-d567cab7.system.entry.js → p-4578d79a.system.entry.js} +1 -1
- package/lib/duet/{p-9864f91b.system.entry.js → p-45f6cac0.system.entry.js} +1 -1
- package/lib/duet/p-49bc849e.system.entry.js +4 -0
- package/lib/duet/{p-5a72573d.entry.js → p-4bb30628.entry.js} +1 -1
- package/lib/duet/{p-f82d3ee5.system.entry.js → p-4eda4e90.system.entry.js} +1 -1
- package/lib/duet/{p-63c45943.system.entry.js → p-4fdb8a65.system.entry.js} +1 -1
- package/lib/duet/{p-a8f0d3a9.entry.js → p-533787dd.entry.js} +1 -1
- package/lib/duet/{p-3b941474.system.entry.js → p-53ca7657.system.entry.js} +1 -1
- package/lib/duet/{p-2089a333.system.entry.js → p-53fb3b65.system.entry.js} +1 -1
- package/lib/duet/p-5710f613.entry.js +4 -0
- package/lib/duet/{p-867d4e87.system.entry.js → p-58c3a641.system.entry.js} +1 -1
- package/lib/duet/{p-9335c92f.entry.js → p-59bb59f1.entry.js} +1 -1
- package/lib/duet/{p-ba29d84e.entry.js → p-5f10cf32.entry.js} +1 -1
- package/lib/duet/{p-ce8d53d6.system.entry.js → p-5f1ed8ac.system.entry.js} +1 -1
- package/lib/duet/{p-45970c94.entry.js → p-5fac76f8.entry.js} +1 -1
- package/lib/duet/{p-edbf0850.system.entry.js → p-63913eab.system.entry.js} +1 -1
- package/lib/duet/{p-6cc4b6bd.system.entry.js → p-6973b44c.system.entry.js} +1 -1
- package/lib/duet/{p-732b050a.entry.js → p-6be424b0.entry.js} +1 -1
- package/lib/duet/{p-576b1a97.system.entry.js → p-6cdea556.system.entry.js} +1 -1
- package/lib/duet/{p-ae69645e.system.entry.js → p-6cf47dac.system.entry.js} +1 -1
- package/lib/duet/{p-1da6954c.js → p-707fc6cf.js} +1 -1
- package/lib/duet/{p-076d8525.system.entry.js → p-7090f15a.system.entry.js} +1 -1
- package/lib/duet/{p-964c9e93.system.entry.js → p-711fb114.system.entry.js} +1 -1
- package/lib/duet/p-714c2b56.entry.js +4 -0
- package/lib/duet/{p-8f72abcb.entry.js → p-72d7785c.entry.js} +1 -1
- package/lib/duet/{p-90e005cc.entry.js → p-7420063a.entry.js} +1 -1
- package/lib/duet/p-75019a0f.entry.js +4 -0
- package/lib/duet/p-7526cac0.system.js +4 -0
- package/lib/duet/{p-55ec59ba.system.entry.js → p-75817145.system.entry.js} +1 -1
- package/lib/duet/{p-ed67528b.system.entry.js → p-75c291a0.system.entry.js} +1 -1
- package/lib/duet/{p-8ebf07a2.entry.js → p-76669675.entry.js} +1 -1
- package/lib/duet/{p-6181ec36.entry.js → p-78bdcfdd.entry.js} +1 -1
- package/lib/duet/{p-6c473cbf.system.entry.js → p-7f52cc01.system.entry.js} +1 -1
- package/lib/duet/{p-e91b40e2.system.entry.js → p-80515ee1.system.entry.js} +1 -1
- package/lib/duet/{p-bcd2526b.system.entry.js → p-8143f9b5.system.entry.js} +1 -1
- package/lib/duet/p-8280a9fe.entry.js +4 -0
- package/lib/duet/{p-3669cb32.entry.js → p-84327fb5.entry.js} +1 -1
- package/lib/duet/{p-cd5055a1.system.entry.js → p-8dad489b.system.entry.js} +1 -1
- package/lib/duet/{p-2be1feb2.system.entry.js → p-8ffe50ff.system.entry.js} +1 -1
- package/lib/duet/{p-ff76aad3.entry.js → p-91203227.entry.js} +1 -1
- package/lib/duet/{p-c5b583e5.entry.js → p-934dc718.entry.js} +1 -1
- package/lib/duet/p-95c34866.system.entry.js +4 -0
- package/lib/duet/p-96f06f5b.entry.js +4 -0
- package/lib/duet/{p-8d019ca0.system.entry.js → p-9807e8a6.system.entry.js} +1 -1
- package/lib/duet/{p-8fcb7700.entry.js → p-9933a4cd.entry.js} +1 -1
- package/lib/duet/{p-d6f2d26c.entry.js → p-9b4aec27.entry.js} +1 -1
- package/lib/duet/p-9e24f4b5.entry.js +4 -0
- package/lib/duet/{p-a92b5519.entry.js → p-9ebaf967.entry.js} +1 -1
- package/lib/duet/{p-b3a0b737.entry.js → p-a14705b2.entry.js} +1 -1
- package/lib/duet/p-a1f24860.entry.js +4 -0
- package/lib/duet/{p-2c6c9c16.entry.js → p-a302c770.entry.js} +1 -1
- package/lib/duet/{p-c9e2607d.entry.js → p-a46504b6.entry.js} +1 -1
- package/lib/duet/{p-13d603f4.system.entry.js → p-a4c9a9ad.system.entry.js} +1 -1
- package/lib/duet/{p-7034d814.entry.js → p-a563600c.entry.js} +1 -1
- package/lib/duet/{p-a198ec6f.entry.js → p-a69cbaf1.entry.js} +1 -1
- package/lib/duet/{p-35206dee.system.entry.js → p-a7886157.system.entry.js} +1 -1
- package/lib/duet/{p-351daa15.entry.js → p-a9bbe66f.entry.js} +1 -1
- package/lib/duet/p-aa2ce92b.system.entry.js +4 -0
- package/lib/duet/{p-e27c8c99.entry.js → p-ad35ad40.entry.js} +1 -1
- package/lib/duet/p-b33f7ad2.entry.js +4 -0
- package/lib/duet/p-b5ff7b05.system.entry.js +4 -0
- package/lib/duet/{p-2db45e2b.system.entry.js → p-b6a10dd8.system.entry.js} +1 -1
- package/lib/duet/{p-433565c9.entry.js → p-b883c31c.entry.js} +1 -1
- package/lib/duet/{p-945de64d.system.entry.js → p-b9c37a63.system.entry.js} +1 -1
- package/lib/duet/{p-d032551e.entry.js → p-bbe654c7.entry.js} +1 -1
- package/lib/duet/p-bcbfe8f2.entry.js +4 -0
- package/lib/duet/{p-5ec2343b.system.entry.js → p-c0b2021e.system.entry.js} +1 -1
- package/lib/duet/{p-da79ce12.entry.js → p-c0de302a.entry.js} +1 -1
- package/lib/duet/{p-eacc99e2.system.entry.js → p-c0f70bd0.system.entry.js} +1 -1
- package/lib/duet/p-c1f19d12.entry.js +4 -0
- package/lib/duet/{p-584a9687.system.entry.js → p-c3604035.system.entry.js} +1 -1
- package/lib/duet/{p-6b6fd2dd.system.entry.js → p-c3d3e73a.system.entry.js} +1 -1
- package/lib/duet/{p-8ed60a7f.system.entry.js → p-c5559214.system.entry.js} +1 -1
- package/lib/duet/{p-94fca55e.system.js → p-c6acd578.system.js} +1 -1
- package/lib/duet/{p-111f753f.system.entry.js → p-c7201ad9.system.entry.js} +1 -1
- package/lib/duet/{p-70b6d01c.system.entry.js → p-c816445d.system.entry.js} +1 -1
- package/lib/duet/{p-5f4090c2.entry.js → p-c996eaa2.entry.js} +1 -1
- package/lib/duet/{p-f3a000ac.entry.js → p-c9defd29.entry.js} +1 -1
- package/lib/duet/{p-50827bbe.system.entry.js → p-ce1551ed.system.entry.js} +1 -1
- package/lib/duet/{p-41bc24a5.entry.js → p-ce2d5f1f.entry.js} +1 -1
- package/lib/duet/{p-54a98fee.system.entry.js → p-ce4d2c6a.system.entry.js} +1 -1
- package/lib/duet/{p-10bb0906.entry.js → p-d0516946.entry.js} +1 -1
- package/lib/duet/p-d547f6fe.system.entry.js +4 -0
- package/lib/duet/{p-7309e6ea.system.entry.js → p-d60301f1.system.entry.js} +1 -1
- package/lib/duet/{p-f5bf2165.entry.js → p-deaf017e.entry.js} +1 -1
- package/lib/duet/{p-3295c503.system.entry.js → p-df736b00.system.entry.js} +1 -1
- package/lib/duet/p-e272e778.system.entry.js +4 -0
- package/lib/duet/{p-15529d9c.system.entry.js → p-e5762e3e.system.entry.js} +2 -2
- package/lib/duet/p-ea3468e2.system.entry.js +4 -0
- package/lib/duet/{p-b277f3c9.entry.js → p-ea80c358.entry.js} +1 -1
- package/lib/duet/{p-074fa88a.system.entry.js → p-ecaf90fd.system.entry.js} +1 -1
- package/lib/duet/{p-aeacd894.system.entry.js → p-ecf5724b.system.entry.js} +1 -1
- package/lib/duet/{p-e06581ab.system.entry.js → p-edc1fa35.system.entry.js} +1 -1
- package/lib/duet/{p-357f64e4.system.entry.js → p-ef076528.system.entry.js} +1 -1
- package/lib/duet/{p-f692b21a.system.entry.js → p-ef76d461.system.entry.js} +1 -1
- package/lib/duet/{p-805c34c6.entry.js → p-f02d7e7d.entry.js} +1 -1
- package/lib/duet/{p-da8b3bee.entry.js → p-f1a7e606.entry.js} +1 -1
- package/lib/duet/p-f34f65af.entry.js +4 -0
- package/lib/duet/{p-172bc679.entry.js → p-f8a68dfd.entry.js} +1 -1
- package/lib/duet/{p-7ce5f24c.system.entry.js → p-fc98f0fe.system.entry.js} +1 -1
- package/lib/duet/{p-dc282755.entry.js → p-fcbdd6a3.entry.js} +1 -1
- package/lib/duet/{p-97e2494e.system.entry.js → p-feaa6888.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +4 -2
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +34 -0
- package/lib/esm/duet-choice_2.entry.js +8 -2
- package/lib/esm/duet-collapsible.entry.js +5 -3
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +2 -2
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +4 -2
- package/lib/esm/duet-input_2.entry.js +15 -3
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +13 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -2
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +37 -0
- package/lib/esm/duet-pagination_2.entry.js +11 -5
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +33 -7
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +4 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +16 -5
- package/lib/esm/duet-slideout.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +2 -2
- package/lib/esm/{focus-utils-1131b2e1.js → focus-utils-0619fdea.js} +1 -1
- package/lib/esm/{index-0d301ddd.js → index-11a2e0a0.js} +1 -1
- package/lib/esm/loader.js +2 -2
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +4 -0
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-page-heading.entry.js +4 -0
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-0619fdea.js +4 -0
- package/lib/esm-es5/{index-0d301ddd.js → index-11a2e0a0.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-choice/duet-checkmark.d.ts +34 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +4 -0
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +2 -0
- package/lib/types/components/duet-icon/duet-icon.d.ts +4 -0
- package/lib/types/components/duet-input/duet-input.d.ts +1 -0
- package/lib/types/components/duet-link/duet-link.d.ts +4 -0
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +51 -1
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +6 -0
- package/lib/types/components/duet-nav/duet-nav.d.ts +5 -0
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +32 -0
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +10 -0
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +5 -1
- package/lib/types/components/duet-tab/duet-tab.d.ts +4 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +4 -1
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +10 -0
- package/lib/types/components.d.ts +256 -1
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-246bd550.js +0 -183
- package/lib/duet/p-172ff1de.system.entry.js +0 -4
- package/lib/duet/p-28280afb.system.js +0 -4
- package/lib/duet/p-337d152b.entry.js +0 -4
- package/lib/duet/p-385d60a2.entry.js +0 -4
- package/lib/duet/p-3a31f9c0.system.entry.js +0 -4
- package/lib/duet/p-3d53ec4a.system.entry.js +0 -4
- package/lib/duet/p-5687713d.js +0 -4
- package/lib/duet/p-57d581a0.entry.js +0 -4
- package/lib/duet/p-5cc1dae6.entry.js +0 -4
- package/lib/duet/p-5d6e4a9e.system.entry.js +0 -4
- package/lib/duet/p-7d6d0a89.system.entry.js +0 -4
- package/lib/duet/p-83b45db7.system.entry.js +0 -4
- package/lib/duet/p-87ffe2f3.entry.js +0 -4
- package/lib/duet/p-90c2dd61.entry.js +0 -4
- package/lib/duet/p-90f46d58.entry.js +0 -4
- package/lib/duet/p-bcb088de.entry.js +0 -4
- package/lib/duet/p-c485773b.entry.js +0 -4
- package/lib/duet/p-c5d9ca19.entry.js +0 -4
- package/lib/duet/p-dd383dac.entry.js +0 -4
- package/lib/duet/p-de97a5a0.system.entry.js +0 -4
- package/lib/duet/p-e800bb84.entry.js +0 -4
- package/lib/duet/p-f51f0dae.entry.js +0 -4
- package/lib/duet/p-f7a9305b.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-1131b2e1.js +0 -4
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { f as formSearch } from './p-d004da5f.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
8
|
import { c as cleanValue, r as resetCursor } from './p-56118313.js';
|
|
9
9
|
import { b as isEscapeKey, c as isEnterKey } from './p-d8549efe.js';
|
|
10
10
|
import { g as getLocaleString } from './p-ede854e1.js';
|
|
11
|
-
import { d as defineCustomElement$7 } from './p-
|
|
12
|
-
import { d as defineCustomElement$6 } from './p-
|
|
13
|
-
import { d as defineCustomElement$5 } from './p-
|
|
14
|
-
import { d as defineCustomElement$4 } from './p-
|
|
15
|
-
import { d as defineCustomElement$3 } from './p-
|
|
16
|
-
import { d as defineCustomElement$2 } from './p-
|
|
17
|
-
import { d as defineCustomElement$1 } from './p-
|
|
11
|
+
import { d as defineCustomElement$7 } from './p-0b3c5fd3.js';
|
|
12
|
+
import { d as defineCustomElement$6 } from './p-d2842398.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './p-83dc78d3.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './p-73fbb616.js';
|
|
15
|
+
import { d as defineCustomElement$3 } from './p-dab5118b.js';
|
|
16
|
+
import { d as defineCustomElement$2 } from './p-2e8d4cbb.js';
|
|
17
|
+
import { d as defineCustomElement$1 } from './p-1edc6268.js';
|
|
18
18
|
|
|
19
19
|
var formEmail={"title":"form-email","tags":"form email","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z\"/></svg>"};
|
|
20
20
|
|
|
@@ -88,6 +88,13 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
88
88
|
});
|
|
89
89
|
};
|
|
90
90
|
this.onBlur = (ev) => {
|
|
91
|
+
// prevent blur event when focus moves to the reveal password button or the input itself
|
|
92
|
+
if (ev.relatedTarget === this.nativeInput || ev.relatedTarget === this.togglePasswordRevealedButton) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
if (this.variation === "revealable") {
|
|
96
|
+
this.isPasswordRevealed = false;
|
|
97
|
+
}
|
|
91
98
|
this.isFocused = false;
|
|
92
99
|
this.duetBlur.emit({
|
|
93
100
|
originalEvent: ev,
|
|
@@ -139,7 +146,12 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
139
146
|
this.handleClearClick(event);
|
|
140
147
|
}
|
|
141
148
|
if (isEnterKey(event) && this.variation === "revealable") {
|
|
142
|
-
this.
|
|
149
|
+
if (event.target === this.togglePasswordRevealedButton) {
|
|
150
|
+
event.stopPropagation();
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
this.isPasswordRevealed = false;
|
|
154
|
+
}
|
|
143
155
|
}
|
|
144
156
|
return event;
|
|
145
157
|
};
|
|
@@ -323,7 +335,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
323
335
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
324
336
|
"duet-input-clear-icon-double": !!this.icon,
|
|
325
337
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
326
|
-
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel, "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed ? this.hidePasswordLabel : this.showPasswordLabel, margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && (h("duet-visually-hidden", null, h("span", { "aria-live": "polite" }, this.isPasswordRevealed ? this.passwordShownAriaAnnouncement : this.passwordHiddenAriaAnnouncement))), h("slot", null)), h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
338
|
+
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel, "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed ? this.hidePasswordLabel : this.showPasswordLabel, margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && (h("duet-visually-hidden", null, h("span", { "aria-live": "polite" }, this.isPasswordRevealed ? this.passwordShownAriaAnnouncement : this.passwordHiddenAriaAnnouncement))), h("slot", null)), h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
327
339
|
}
|
|
328
340
|
get element() { return this; }
|
|
329
341
|
static get watchers() { return {
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { E as Env, p as proxyCustomElement, H, h, b as Host } from './p-58d5e801.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
import { g as getColorByName } from './p-535ce3ec.js';
|
|
7
|
+
|
|
8
|
+
const cleanupSvg = (svgContent) => {
|
|
9
|
+
if (typeof document === "undefined" || !svgContent) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
const div = document.createElement("div");
|
|
13
|
+
div.innerHTML = svgContent;
|
|
14
|
+
// setup this way to ensure it works on our buddy IE
|
|
15
|
+
for (let i = div.childNodes.length - 1; i >= 0; i--) {
|
|
16
|
+
const child = div.childNodes[i];
|
|
17
|
+
if (child.nodeName.toLowerCase() !== "svg") {
|
|
18
|
+
div.removeChild(div.childNodes[i]);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return div.firstElementChild;
|
|
22
|
+
};
|
|
23
|
+
const isValid = (elm) => {
|
|
24
|
+
if (elm.nodeName.toLowerCase() === "script") {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
for (let i = 0; i < elm.attributes.length; i++) {
|
|
28
|
+
const attribute = elm.attributes[i];
|
|
29
|
+
if (attribute.name.toLowerCase().indexOf("on") === 0) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (elm.children) {
|
|
34
|
+
for (let i = 0; i < elm.children.length; i++) {
|
|
35
|
+
if (!isValid(elm.children[i])) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return true;
|
|
41
|
+
};
|
|
42
|
+
const buildIconUrl = (iconName) => {
|
|
43
|
+
// under normal operations the Icons should always be loaded from the CDN
|
|
44
|
+
{
|
|
45
|
+
return `${Env.cdnURIProd}/icons/${Env.duetIconVersion}/lib/assets/${iconName}.svg`;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const iconCache = {};
|
|
49
|
+
function fetchIconByUrl(url) {
|
|
50
|
+
if (iconCache[url]) {
|
|
51
|
+
return iconCache[url];
|
|
52
|
+
}
|
|
53
|
+
// we create a function that covers all the fetching, cleanup, validation etc,
|
|
54
|
+
// this way we can perform that work just once, and then return the same promise in future.
|
|
55
|
+
async function doFetch() {
|
|
56
|
+
const res = await fetch(url);
|
|
57
|
+
if (!res.ok) {
|
|
58
|
+
throw new Error(`SVG request failed: ${res.status} ${res.statusText}`);
|
|
59
|
+
}
|
|
60
|
+
const responseText = await res.text();
|
|
61
|
+
const svgElement = cleanupSvg(responseText);
|
|
62
|
+
if (!isValid(svgElement)) {
|
|
63
|
+
throw new Error("SVG validation failed");
|
|
64
|
+
}
|
|
65
|
+
// OuterHTML does not unfortunately work here with IE11
|
|
66
|
+
// was previously: resolve(svgElement.outerHTML)
|
|
67
|
+
const div = document.createElement("div");
|
|
68
|
+
div.appendChild(svgElement);
|
|
69
|
+
return div.innerHTML;
|
|
70
|
+
}
|
|
71
|
+
// we do not `await` the fetch, as we only care about initiating the work,
|
|
72
|
+
// it's the responsibility of the calling code to wait for the response.
|
|
73
|
+
const req = doFetch();
|
|
74
|
+
// cache for the repeat requests
|
|
75
|
+
return (iconCache[url] = req);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const duetIconCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:white}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:white}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:#0077b3}.duet-icon.duet-theme-turva{color:#c60c30}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";
|
|
79
|
+
|
|
80
|
+
const DuetIcon = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
81
|
+
constructor() {
|
|
82
|
+
super();
|
|
83
|
+
this.__registerHost();
|
|
84
|
+
this.__attachShadow();
|
|
85
|
+
this.svgContent = undefined;
|
|
86
|
+
this.theme = "";
|
|
87
|
+
this.icon = undefined;
|
|
88
|
+
this.src = undefined;
|
|
89
|
+
this.name = "action-add";
|
|
90
|
+
this.margin = "auto";
|
|
91
|
+
this.responsive = true;
|
|
92
|
+
this.color = "";
|
|
93
|
+
this.background = "";
|
|
94
|
+
this.size = "medium";
|
|
95
|
+
this.outline = "";
|
|
96
|
+
this.shape = "circle";
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Component lifecycle events.
|
|
100
|
+
*/
|
|
101
|
+
componentWillLoad() {
|
|
102
|
+
inheritGlobalTheme(this);
|
|
103
|
+
if (this.src && this.icon) {
|
|
104
|
+
console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence", "icon:", this.icon, "src:", this.src);
|
|
105
|
+
}
|
|
106
|
+
this.loadIcon();
|
|
107
|
+
}
|
|
108
|
+
async loadIcon() {
|
|
109
|
+
// static icon known at build-time, so we can set it synchronously
|
|
110
|
+
if (this.icon) {
|
|
111
|
+
this.svgContent = this.icon;
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
// dynamically load icon from url
|
|
115
|
+
const src = this.src ? this.src : buildIconUrl(this.name);
|
|
116
|
+
try {
|
|
117
|
+
this.svgContent = await fetchIconByUrl(src);
|
|
118
|
+
}
|
|
119
|
+
catch (e) {
|
|
120
|
+
console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${src}.`, e);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* render() function.
|
|
125
|
+
* Always the last one in the class.
|
|
126
|
+
*/
|
|
127
|
+
render() {
|
|
128
|
+
const color = this.color === "currentColor"
|
|
129
|
+
? "currentColor"
|
|
130
|
+
: getColorByName(this.color, this.theme) || getColorByName(this.outline, this.theme);
|
|
131
|
+
const styles = {
|
|
132
|
+
color,
|
|
133
|
+
background: getColorByName(this.background, this.theme),
|
|
134
|
+
"border-color": getColorByName(this.outline, this.theme),
|
|
135
|
+
};
|
|
136
|
+
return (h(Host, { class: {
|
|
137
|
+
"duet-m-0": this.margin === "none",
|
|
138
|
+
"duet-icon-has-outline": !!this.outline,
|
|
139
|
+
"duet-icon-has-background": !!this.background,
|
|
140
|
+
} }, h("div", { "aria-hidden": "true", style: styles, class: {
|
|
141
|
+
"duet-icon": true,
|
|
142
|
+
[this.size]: true,
|
|
143
|
+
"duet-theme-turva": this.theme === "turva",
|
|
144
|
+
"duet-theme-default": this.theme === "default",
|
|
145
|
+
"duet-icon-has-outline": !!this.outline,
|
|
146
|
+
"duet-icon-has-background": !!this.background,
|
|
147
|
+
[`duet-icon-shape-${this.shape}`]: true,
|
|
148
|
+
"duet-icon-not-responsive": !this.responsive,
|
|
149
|
+
} }, h("span", { "aria-hidden": "true", class: "duet-icon-svg", innerHTML: this.svgContent }))));
|
|
150
|
+
}
|
|
151
|
+
get element() { return this; }
|
|
152
|
+
static get watchers() { return {
|
|
153
|
+
"src": ["loadIcon"],
|
|
154
|
+
"icon": ["loadIcon"],
|
|
155
|
+
"name": ["loadIcon"]
|
|
156
|
+
}; }
|
|
157
|
+
static get style() { return duetIconCss; }
|
|
158
|
+
}, [1, "duet-icon", {
|
|
159
|
+
"theme": [1025],
|
|
160
|
+
"icon": [1],
|
|
161
|
+
"src": [1],
|
|
162
|
+
"name": [1],
|
|
163
|
+
"margin": [1],
|
|
164
|
+
"responsive": [4],
|
|
165
|
+
"color": [513],
|
|
166
|
+
"background": [1],
|
|
167
|
+
"size": [1],
|
|
168
|
+
"outline": [1],
|
|
169
|
+
"shape": [1],
|
|
170
|
+
"svgContent": [32]
|
|
171
|
+
}]);
|
|
172
|
+
function defineCustomElement() {
|
|
173
|
+
if (typeof customElements === "undefined") {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
const components = ["duet-icon"];
|
|
177
|
+
components.forEach(tagName => { switch (tagName) {
|
|
178
|
+
case "duet-icon":
|
|
179
|
+
if (!customElements.get(tagName)) {
|
|
180
|
+
customElements.define(tagName, DuetIcon);
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
|
+
} });
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export { DuetIcon as D, defineCustomElement as d };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
8
|
-
import { d as defineCustomElement$5 } from './p-
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-d2842398.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-83dc78d3.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-73fbb616.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-2e8d4cbb.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-1edc6268.js';
|
|
13
13
|
|
|
14
14
|
const duetSelectCss = "@charset \"UTF-8\";*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:white}.duet-select-container.sc-duet-select{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny.sc-duet-select{width:72px}.duet-select-wrapper.sc-duet-select{position:relative;width:100%;padding:15px 14px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny.sc-duet-select .duet-select-wrapper.sc-duet-select{width:81px;padding:0 !important}.duet-select-wrapper.sc-duet-select::after{content:\" \"}.duet-select-wrapper.sc-duet-select select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:#909599;box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:#747475;box-shadow:0 0 0 1px #747475}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e02a0d}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:#0077b3;outline:0;box-shadow:0 0 0 1px #0077b3;transition:none}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:#171c3a;box-shadow:0 0 0 1px #171c3a}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:#171c3a}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:#0077b3}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e02a0d}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select{cursor:default !important}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:#00294d !important;cursor:default !important;background:#f5f8fa !important;border-color:#f5f8fa !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:#00294d !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:#171c3a !important;background:#f5f5f7 !important;border-color:#f5f5f7 !important;-webkit-text-fill-color:#171c3a !important}.duet-select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:#00294d;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:white;border:1px solid #909599;border-radius:4px;transition:150ms ease}.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:#de2362 !important}.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:#de2362 !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:#e02a0d !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:#e02a0d !important}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a;border-color:#747475}.duet-select.sc-duet-select svg.sc-duet-select{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:#00294d;pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select svg.sc-duet-select{color:#171c3a}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select{padding-left:10px}.duet-select-help.sc-duet-select{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:#657787;border-radius:4px}.duet-select-help.sc-duet-select span.sc-duet-select{display:block;margin-top:8px}.duet-theme-turva.sc-duet-select .duet-select-help.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#747475}.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:#de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:#e02a0d}.duet-label-hidden.sc-duet-select duet-label.sc-duet-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
15
15
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { g as getLocaleString } from './p-ede854e1.js';
|
|
8
|
-
import { d as defineCustomElement$4 } from './p-
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-0b3c5fd3.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-83dc78d3.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-dab5118b.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-1edc6268.js';
|
|
12
12
|
|
|
13
|
-
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;visibility:hidden;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:#00294d;background:#f2f8fb;border:1px solid #0077b3;border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a;background:#f3f4f5;border-color:#171c3a}.duet-alert.warning{background:#fffbf4;border-color:#f7b228}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:#faa40f}.duet-alert.danger{background:#fdf4f7;border-color:#de2362}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:#e02a0d}.duet-alert.success{background:#f2f9f7;border-color:#00875a}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:#08874e}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
|
|
13
|
+
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:#00294d;background:#f2f8fb;border:1px solid #0077b3;border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a;background:#f3f4f5;border-color:#171c3a}.duet-alert.warning{background:#fffbf4;border-color:#f7b228}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:#faa40f}.duet-alert.danger{background:#fdf4f7;border-color:#de2362}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:#e02a0d}.duet-alert.success{background:#f2f9f7;border-color:#00875a}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:#08874e}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
|
|
14
14
|
|
|
15
15
|
const DuetAlert = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
16
16
|
constructor() {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h as h$1, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h as h$1, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { f as fieldSorter } from './p-0b3f675e.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
8
8
|
import { g as getLocaleString } from './p-ede854e1.js';
|
|
9
9
|
import { h } from './p-e4a60f42.js';
|
|
10
|
-
import { d as defineCustomElement$6 } from './p-
|
|
11
|
-
import { d as defineCustomElement$5 } from './p-
|
|
12
|
-
import { d as defineCustomElement$4 } from './p-
|
|
13
|
-
import { d as defineCustomElement$3 } from './p-
|
|
14
|
-
import { d as defineCustomElement$2 } from './p-
|
|
15
|
-
import { d as defineCustomElement$1 } from './p-
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-dc195b26.js';
|
|
11
|
+
import { d as defineCustomElement$5 } from './p-0b3c5fd3.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-83dc78d3.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-dab5118b.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-31869282.js';
|
|
15
|
+
import { d as defineCustomElement$1 } from './p-1edc6268.js';
|
|
16
16
|
|
|
17
17
|
//simple functional component that renders the data in the table
|
|
18
18
|
const TableData = ({ data, groupId, alignment }, _children) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
|
|
6
6
|
const duetListItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-flow:row;width:100%;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:#00294d}@media (max-width: 35.9375em){:host{flex-wrap:wrap}}:host dt,:host dd{margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}@media (max-width: 35.9375em){:host dt,:host dd{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}}:host dt{padding:16px !important;font-weight:600}@media (max-width: 35.9375em){:host dt{padding-bottom:4px !important}}.duet-theme-turva :host dt{font-weight:700}:host dd{padding:16px !important;margin-left:auto;text-align:left}@media (max-width: 35.9375em){:host dd{padding-top:0 !important}}:host(:not(.duet-list-striped)) dt{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){:host(:not(.duet-list-striped)) dt{padding-bottom:4px !important}}:host(:not(.duet-list-striped)) dd{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){:host(:not(.duet-list-striped)) dd{padding-top:0 !important}}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}:host(.duet-list-striped:nth-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:#f5f8fa}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:#f5f5f7}:host(.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-width-70) dd{flex-basis:35%}:host(.duet-p-0) dt,:host(.duet-p-0) dd{padding-top:0 !important;padding-bottom:4px !important}@media (max-width: 35.9375em){:host(.duet-list-mobile-center) dt,:host(.duet-list-mobile-center) dd{text-align:center}}@media (max-width: 61.9375em){:host(.duet-list-breakpoint-large){flex-wrap:wrap}:host(.duet-list-breakpoint-large) dt,:host(.duet-list-breakpoint-large) dd{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}:host(.duet-list-breakpoint-large) dd{padding-top:0 !important}}:host(.duet-list-breakpoint-large.duet-list-striped) dd{padding-bottom:16px !important}@media (max-width: 61.9375em){:host(.duet-list-breakpoint-large.duet-list-mobile-center) dt,:host(.duet-list-breakpoint-large.duet-list-mobile-center) dd{text-align:center !important}}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
7
|
const duetCaptionCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:#657787;vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#747475}:host(.duet-caption-selected){color:#0077b3}:host(.duet-caption-selected.duet-theme-turva){color:#171c3a}:host(.duet-m-0){margin:0 !important}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getColorByName } from './p-535ce3ec.js';
|
|
7
7
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-58d5e801.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
|
|
7
|
+
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid #909599;border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:#747475}.checked .duet-checkmark-container{background:#0077b3;border-color:#0077b3;transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:#171c3a;border-color:#171c3a !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:#cfd2d4 !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:#cfcfd1 !important}.checked [disabled]+label .duet-checkmark-container{background:#cfd2d4 !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:#cfcfd1 !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid white;border-right:2px solid white;opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
8
|
+
|
|
9
|
+
const DuetCheckmark = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.theme = "";
|
|
14
|
+
this.checked = false;
|
|
15
|
+
this.presentationOnly = false;
|
|
16
|
+
this.center = false;
|
|
17
|
+
this.type = "checkbox";
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Component lifecycle events.
|
|
21
|
+
*/
|
|
22
|
+
componentWillLoad() {
|
|
23
|
+
inheritGlobalTheme(this);
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
return (h(Host, { class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { class: {
|
|
27
|
+
"duet-checkmark-container": true,
|
|
28
|
+
center: this.center,
|
|
29
|
+
"duet-checkmark-radio": this.type === "radio",
|
|
30
|
+
} }, this.checked && h("div", { class: "duet-checkmark" })))));
|
|
31
|
+
}
|
|
32
|
+
static get style() { return duetCheckmarkCss; }
|
|
33
|
+
}, [0, "duet-checkmark", {
|
|
34
|
+
"theme": [1025],
|
|
35
|
+
"checked": [1028],
|
|
36
|
+
"presentationOnly": [4, "presentation-only"],
|
|
37
|
+
"center": [4],
|
|
38
|
+
"type": [513]
|
|
39
|
+
}]);
|
|
40
|
+
function defineCustomElement() {
|
|
41
|
+
if (typeof customElements === "undefined") {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const components = ["duet-checkmark"];
|
|
45
|
+
components.forEach(tagName => { switch (tagName) {
|
|
46
|
+
case "duet-checkmark":
|
|
47
|
+
if (!customElements.get(tagName)) {
|
|
48
|
+
customElements.define(tagName, DuetCheckmark);
|
|
49
|
+
}
|
|
50
|
+
break;
|
|
51
|
+
} });
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { DuetCheckmark as D, defineCustomElement as d };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { d as debounce } from './p-0b3f675e.js';
|
|
8
8
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
9
9
|
import { g as getLocaleString } from './p-ede854e1.js';
|
|
10
10
|
import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './p-535ce3ec.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-83dc78d3.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-1edc6268.js';
|
|
13
13
|
|
|
14
14
|
const duetActionButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}button.duet-action-button{white-space:nowrap}button.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px !important;color:#00294d;cursor:pointer;background:#f5f8fa;border-radius:50%;transition:background-color 300ms ease !important}.duet-theme-turva button.duet-action-button{color:#171c3a;background:#f5f5f7}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-theme-turva button.duet-action-button:not(:disabled):hover{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva button.duet-action-button:focus{box-shadow:0 0 0 2px #171c3a !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-theme-turva button.duet-action-button:active:focus{background:#ddddde !important}button.duet-action-button:disabled{color:#909599;cursor:default;background:#f5f8fa;opacity:0.75}.duet-theme-turva button.duet-action-button:disabled{color:#747475;background:#f5f5f7}";
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-58d5e801.js';
|
|
5
5
|
import { e as colorGrayLightest, f as colorBrandGrayTurva, c as colorPrimaryTurva, g as colorBrandBlue } from './p-55325c49.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-58d5e801.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-1edc6268.js';
|
|
6
6
|
|
|
7
7
|
const DuetUploadAriaStatus = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
8
8
|
constructor() {
|