@duetds/components 10.0.0-alpha.2 → 10.0.0-alpha.20
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.d.ts +38 -7
- package/hydrate/index.js +11119 -4035
- package/hydrate/index.mjs +45109 -0
- package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
- package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-qqRC-Gci.js} +1 -1
- package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
- package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
- package/lib/cjs/{app-globals-718a3704.js → app-globals-B6AFACoz.js} +2 -2
- package/lib/cjs/duet-action-button.cjs.entry.js +83 -28
- package/lib/cjs/duet-alert.cjs.entry.js +87 -42
- package/lib/cjs/duet-badge.cjs.entry.js +18 -8
- package/lib/cjs/duet-banner.cjs.entry.js +50 -24
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +35 -15
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +19 -13
- package/lib/cjs/duet-button_2.cjs.entry.js +160 -64
- package/lib/cjs/duet-callout.cjs.entry.js +12 -9
- package/lib/cjs/duet-caption_4.cjs.entry.js +202 -72
- package/lib/cjs/duet-card.cjs.entry.js +86 -33
- package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
- package/lib/cjs/duet-checkmark.cjs.entry.js +20 -8
- package/lib/cjs/duet-chip.cjs.entry.js +349 -0
- package/lib/cjs/duet-choice_2.cjs.entry.js +246 -111
- package/lib/cjs/duet-collapsible.cjs.entry.js +79 -26
- package/lib/cjs/duet-combobox.cjs.entry.js +84 -47
- package/lib/cjs/duet-contact-card.cjs.entry.js +16 -17
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +13 -10
- package/lib/cjs/duet-date-picker.cjs.entry.js +151 -55
- package/lib/cjs/duet-divider_2.cjs.entry.js +28 -12
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1033 -258
- package/lib/cjs/duet-empty-state.cjs.entry.js +14 -8
- package/lib/cjs/duet-fieldset.cjs.entry.js +47 -18
- package/lib/cjs/duet-file-chooser.cjs.entry.js +17 -10
- package/lib/cjs/duet-footer.cjs.entry.js +55 -29
- package/lib/cjs/duet-grid_2.cjs.entry.js +112 -55
- package/lib/cjs/duet-header_2.cjs.entry.js +251 -86
- package/lib/cjs/duet-hero.cjs.entry.js +115 -31
- package/lib/cjs/duet-icon.cjs.entry.js +63 -19
- package/lib/cjs/duet-input_2.cjs.entry.js +194 -76
- package/lib/cjs/duet-layout.cjs.entry.js +33 -13
- package/lib/cjs/duet-list_2.cjs.entry.js +47 -12
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +23 -15
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +20 -15
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +39 -18
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +17 -9
- package/lib/cjs/duet-menu-bar.cjs.entry.js +36 -25
- package/lib/cjs/duet-modal.cjs.entry.js +84 -26
- package/lib/cjs/duet-multiselect.cjs.entry.js +87 -41
- package/lib/cjs/duet-nav.cjs.entry.js +11 -7
- package/lib/cjs/duet-notification_2.cjs.entry.js +86 -30
- package/lib/cjs/duet-number-input.cjs.entry.js +177 -67
- package/lib/cjs/duet-overlay.cjs.entry.js +34 -13
- package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
- package/lib/cjs/duet-pagination_2.cjs.entry.js +160 -85
- package/lib/cjs/duet-phone-input.cjs.entry.js +2055 -0
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +524 -0
- package/lib/cjs/duet-progress.cjs.entry.js +31 -12
- package/lib/cjs/duet-promo-card.cjs.entry.js +26 -12
- package/lib/cjs/duet-radio_2.cjs.entry.js +105 -52
- package/lib/cjs/duet-range-slider.cjs.entry.js +72 -36
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +253 -120
- package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
- package/lib/cjs/duet-select.cjs.entry.js +88 -42
- package/lib/cjs/duet-shaped-image.cjs.entry.js +15 -10
- package/lib/cjs/duet-show-more.cjs.entry.js +80 -37
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +9 -9
- package/lib/cjs/duet-slideout-link.cjs.entry.js +61 -10
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +22 -13
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +46 -29
- package/lib/cjs/duet-slideout.cjs.entry.js +108 -59
- package/lib/cjs/duet-status-icon.cjs.entry.js +99 -0
- package/lib/cjs/duet-step_2.cjs.entry.js +55 -21
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +24 -9
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +26 -17
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +39 -18
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +17 -8
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +26 -20
- package/lib/cjs/duet-textarea.cjs.entry.js +101 -48
- package/lib/cjs/duet-toggle.cjs.entry.js +49 -28
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +21 -10
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +26 -15
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +45 -18
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +20 -9
- package/lib/cjs/duet-toolbar.cjs.entry.js +11 -9
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +19 -25
- package/lib/cjs/duet-tooltip.cjs.entry.js +91 -45
- package/lib/cjs/duet-tray.cjs.entry.js +62 -23
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
- package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +3 -6
- package/lib/cjs/duet.cjs.js +8 -8
- package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-CWkNAdwZ.js} +2 -2
- package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
- package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-C1gNgKW5.js} +1 -1
- package/lib/cjs/form-search-CzPfHB80.js +21 -0
- package/lib/cjs/index-C-4fRZp1.js +3091 -0
- package/lib/cjs/{keyboard-utils-681e11ec.js → keyboard-utils-D9UlHbik.js} +4 -0
- package/lib/cjs/{label-2abeac23.js → label-BYZNaLK_.js} +1 -1
- package/lib/cjs/{language-utils-b5940c7b.js → language-utils-DjPkoVoW.js} +2 -2
- package/lib/cjs/loader.cjs.js +3 -5
- package/lib/cjs/{slot-utils-382633cf.js → slot-utils-DYGV7vRF.js} +1 -1
- package/lib/cjs/{teleport-c6f8391a.js → teleport-ccTmw82_.js} +22 -7
- package/lib/cjs/{token-utils-12717808.js → token-utils-CHLLcMzU.js} +2 -2
- package/lib/cjs/{tokens-57e06fe4.js → tokens-DYbf8HFV.js} +6 -7
- package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-7opSZfop.js} +19 -3
- package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
- package/lib/collection/collection-manifest.json +3 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
- package/lib/collection/components/duet-alert/duet-alert.css +75 -36
- package/lib/collection/components/duet-alert/duet-alert.js +115 -46
- package/lib/collection/components/duet-badge/duet-badge.js +19 -6
- package/lib/collection/components/duet-banner/duet-banner.js +54 -25
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +22 -11
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
- package/lib/collection/components/duet-button/duet-button.css +32 -18
- package/lib/collection/components/duet-button/duet-button.js +175 -88
- package/lib/collection/components/duet-callout/duet-callout.js +10 -4
- package/lib/collection/components/duet-caption/duet-caption.js +18 -6
- package/lib/collection/components/duet-card/duet-card.js +80 -36
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +9 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -50
- package/lib/collection/components/duet-chip/duet-chip.css +12 -4
- package/lib/collection/components/duet-chip/duet-chip.js +61 -36
- package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
- package/lib/collection/components/duet-choice/duet-choice.css +5 -4
- package/lib/collection/components/duet-choice/duet-choice.js +227 -111
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +77 -34
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +17 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +99 -24
- package/lib/collection/components/duet-combobox/duet-combobox.js +88 -46
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +176 -68
- package/lib/collection/components/duet-divider/duet-divider.js +14 -4
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +84 -30
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +3 -0
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +52 -19
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
- package/lib/collection/components/duet-footer/duet-footer.js +55 -27
- package/lib/collection/components/duet-grid/duet-grid.js +88 -57
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
- package/lib/collection/components/duet-header/duet-header.js +162 -74
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-heading/duet-heading.js +56 -12
- package/lib/collection/components/duet-hero/duet-hero.css +2 -0
- package/lib/collection/components/duet-hero/duet-hero.js +135 -51
- package/lib/collection/components/duet-icon/duet-icon.js +71 -24
- package/lib/collection/components/duet-input/duet-input.css +34 -3
- package/lib/collection/components/duet-input/duet-input.js +220 -102
- package/lib/collection/components/duet-label/duet-label.js +22 -7
- package/lib/collection/components/duet-layout/duet-layout.css +0 -3
- package/lib/collection/components/duet-layout/duet-layout.js +35 -12
- package/lib/collection/components/duet-link/duet-link.css +72 -8
- package/lib/collection/components/duet-link/duet-link.js +112 -69
- package/lib/collection/components/duet-list/duet-list.js +38 -9
- package/lib/collection/components/duet-list-item/duet-list-item.js +14 -4
- package/lib/collection/components/duet-logo/duet-logo.js +35 -8
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +36 -22
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
- package/lib/collection/components/duet-modal/duet-modal.css +3 -13
- package/lib/collection/components/duet-modal/duet-modal.js +91 -30
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +97 -47
- package/lib/collection/components/duet-nav/duet-nav.js +10 -3
- package/lib/collection/components/duet-notification/duet-notification.js +39 -9
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +54 -24
- package/lib/collection/components/duet-number-input/duet-number-input.js +181 -91
- package/lib/collection/components/duet-overlay/duet-overlay.js +39 -15
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +1 -0
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
- package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +27 -8
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +61 -0
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +875 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +210 -76
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +61 -29
- package/lib/collection/components/duet-progress/duet-progress.js +36 -14
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +27 -10
- package/lib/collection/components/duet-radio/duet-radio.js +67 -49
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +68 -29
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +67 -37
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +159 -42
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +0 -3
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
- package/lib/collection/components/duet-select/duet-select.js +108 -59
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
- package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
- package/lib/collection/components/duet-slideout/duet-slideout.js +108 -54
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +17 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +43 -23
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +23 -11
- package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
- package/lib/collection/components/duet-spinner/duet-spinner.js +20 -7
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +197 -0
- package/lib/collection/components/duet-step/duet-step.js +25 -16
- package/lib/collection/components/duet-stepper/duet-stepper.js +23 -6
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
- package/lib/collection/components/duet-tab/duet-tab.js +37 -23
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +178 -59
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +216 -74
- package/lib/collection/components/duet-table/duet-table-styles.js +502 -0
- package/lib/collection/components/duet-table/duet-table.js +45 -23
- package/lib/collection/components/duet-textarea/duet-textarea.js +125 -69
- package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +15 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +94 -45
- package/lib/collection/components/duet-tray/duet-tray.js +63 -21
- package/lib/collection/components/duet-upload/duet-upload.js +419 -213
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/data/countries.js +1762 -0
- package/lib/collection/index.js +1 -0
- package/lib/collection/utils/keyboard-utils.js +3 -0
- package/lib/collection/utils/teleport.js +22 -7
- package/lib/collection/utils/test-utils.js +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/p-008beeb0.entry.js +4 -0
- package/lib/duet/p-0239abf5.entry.js +4 -0
- package/lib/duet/p-04a693c7.entry.js +4 -0
- package/lib/duet/p-068cfada.entry.js +4 -0
- package/lib/duet/{p-3b281171.entry.js → p-088001ee.entry.js} +1 -1
- package/lib/duet/p-08affd1f.entry.js +4 -0
- package/lib/duet/p-0e78737d.entry.js +4 -0
- package/lib/duet/p-0fb24b59.entry.js +4 -0
- package/lib/duet/{p-77b21edc.entry.js → p-1326964d.entry.js} +1 -1
- package/lib/duet/p-155586a6.entry.js +4 -0
- package/lib/duet/p-1b3b9ed6.entry.js +4 -0
- package/lib/duet/p-20a2fb53.entry.js +4 -0
- package/lib/duet/{p-4f212753.entry.js → p-214a4675.entry.js} +1 -1
- package/lib/duet/p-22773cce.entry.js +4 -0
- package/lib/duet/p-23adcf71.entry.js +4 -0
- package/lib/duet/p-2661240f.entry.js +4 -0
- package/lib/duet/p-27fbdb67.entry.js +4 -0
- package/lib/duet/p-294adde1.entry.js +4 -0
- package/lib/duet/p-2b3219a7.entry.js +4 -0
- package/lib/duet/p-2c420105.entry.js +4 -0
- package/lib/duet/p-2df8b608.entry.js +4 -0
- package/lib/duet/{p-4bd72541.entry.js → p-2f30e410.entry.js} +1 -1
- package/lib/duet/{p-4f527f43.entry.js → p-3381e3e2.entry.js} +1 -1
- package/lib/duet/{p-86176559.entry.js → p-3ae06437.entry.js} +1 -1
- package/lib/duet/p-412ef68f.entry.js +4 -0
- package/lib/duet/p-42621b5c.entry.js +4 -0
- package/lib/duet/p-47597304.entry.js +4 -0
- package/lib/duet/p-4ec38183.entry.js +4 -0
- package/lib/duet/p-4f750925.entry.js +4 -0
- package/lib/duet/p-50d0ff41.entry.js +4 -0
- package/lib/duet/p-547e30c3.entry.js +4 -0
- package/lib/duet/p-56574361.entry.js +4 -0
- package/lib/duet/p-580d558b.entry.js +4 -0
- package/lib/duet/p-595b2f3b.entry.js +4 -0
- package/lib/duet/p-5964d490.entry.js +4 -0
- package/lib/duet/p-599cbc2e.entry.js +4 -0
- package/lib/duet/p-5iZMFvpJ.js +4 -0
- package/lib/duet/{p-8440bd4f.entry.js → p-60eb6013.entry.js} +1 -1
- package/lib/duet/p-62c46ebb.entry.js +4 -0
- package/lib/duet/p-66693593.entry.js +4 -0
- package/lib/duet/p-6fe83dd7.entry.js +4 -0
- package/lib/duet/p-7189e720.entry.js +4 -0
- package/lib/duet/{p-705c5299.entry.js → p-722eb4b8.entry.js} +1 -1
- package/lib/duet/p-72a4ada8.entry.js +4 -0
- package/lib/duet/p-75db52e4.entry.js +4 -0
- package/lib/duet/p-77d68685.entry.js +4 -0
- package/lib/duet/p-8974c058.entry.js +4 -0
- package/lib/duet/p-8c02d2af.entry.js +4 -0
- package/lib/duet/p-8d5e5316.entry.js +4 -0
- package/lib/duet/p-909352a9.entry.js +4 -0
- package/lib/duet/p-90c43d96.entry.js +4 -0
- package/lib/duet/{p-435a217b.entry.js → p-91e669ab.entry.js} +1 -1
- package/lib/duet/p-9302dba5.entry.js +4 -0
- package/lib/duet/p-948f9054.entry.js +4 -0
- package/lib/duet/{p-f8b6380d.entry.js → p-958a2b42.entry.js} +1 -1
- package/lib/duet/p-96e70d5b.entry.js +4 -0
- package/lib/duet/p-98f1ee13.entry.js +4 -0
- package/lib/duet/p-990e825f.entry.js +4 -0
- package/lib/duet/p-9f48a30c.entry.js +4 -0
- package/lib/duet/{p-2b6a7397.js → p-BAFwjrjc.js} +1 -1
- package/lib/duet/p-BVgBUIYF.js +4 -0
- package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
- package/lib/duet/p-BmMFVM-y.js +4 -0
- package/lib/duet/{p-8c9eb171.js → p-CCVcVc3m.js} +1 -1
- package/lib/duet/{p-2eae4a0b.js → p-CDAA0sDY.js} +1 -1
- package/lib/duet/p-CO8vqpmW.js +4 -0
- package/lib/duet/p-D5_4M8f7.js +4 -0
- package/lib/duet/p-DFidj4Vk.js +4 -0
- package/lib/duet/p-DX5mWLkB.js +4 -0
- package/lib/duet/p-Db8rvjPI.js +4 -0
- package/lib/duet/p-Djr45qSY.js +5 -0
- package/lib/duet/p-Dvk6bntS.js +4 -0
- package/lib/duet/p-DvwKrUS6.js +4 -0
- package/lib/duet/{p-10c530d1.js → p-DyjhCDQL.js} +1 -1
- package/lib/duet/{p-2437b4cb.js → p-FCSGJbLJ.js} +1 -1
- package/lib/duet/{p-97ec270c.entry.js → p-a24fff3c.entry.js} +1 -1
- package/lib/duet/p-a47e139c.entry.js +4 -0
- package/lib/duet/p-b0dc7df5.entry.js +4 -0
- package/lib/duet/p-cb60a521.entry.js +4 -0
- package/lib/duet/p-cebee4a6.entry.js +4 -0
- package/lib/duet/p-d064dd2d.entry.js +4 -0
- package/lib/duet/p-d195712b.entry.js +4 -0
- package/lib/duet/p-d2402c02.entry.js +4 -0
- package/lib/duet/{p-066b94ca.entry.js → p-d56c1db9.entry.js} +1 -1
- package/lib/duet/p-d60c71fc.entry.js +4 -0
- package/lib/duet/p-d74bb3b4.entry.js +4 -0
- package/lib/duet/p-d7990dff.entry.js +4 -0
- package/lib/duet/p-de5e4a26.entry.js +4 -0
- package/lib/duet/p-e0fcc26a.entry.js +4 -0
- package/lib/duet/p-e232c7ad.entry.js +4 -0
- package/lib/duet/p-e8718555.entry.js +4 -0
- package/lib/duet/p-ed9b30ed.entry.js +4 -0
- package/lib/duet/p-f110c4fb.entry.js +4 -0
- package/lib/duet/{p-3ab3a8c6.entry.js → p-f383ccca.entry.js} +1 -1
- package/lib/duet/{p-8ceddf7a.entry.js → p-f593a703.entry.js} +1 -1
- package/lib/duet/p-f865dcfc.entry.js +4 -0
- package/lib/duet/{p-7512d569.entry.js → p-fa355e38.entry.js} +1 -1
- package/lib/duet/p-fc83b2e2.entry.js +4 -0
- package/lib/duet/p-fde72aa3.entry.js +4 -0
- package/lib/duet/p-k-CbGkPp.js +4 -0
- package/lib/duet/p-vVCYtBMj.js +4 -0
- package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
- package/lib/{dist-custom-elements/p-afb6f7fb.js → esm/a11y-utils-CQOH3qGQ.js} +1 -1
- package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
- package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
- package/lib/esm/{app-globals-00959ca9.js → app-globals-D3VunZ8x.js} +2 -2
- package/lib/esm/duet-action-button.entry.js +83 -26
- package/lib/esm/duet-alert.entry.js +87 -40
- package/lib/esm/duet-badge.entry.js +18 -6
- package/lib/esm/duet-banner.entry.js +50 -22
- package/lib/esm/duet-breadcrumb.entry.js +36 -14
- package/lib/esm/duet-breadcrumbs.entry.js +19 -11
- package/lib/esm/duet-button_2.entry.js +160 -62
- package/lib/esm/duet-callout.entry.js +12 -7
- package/lib/esm/duet-caption_4.entry.js +202 -70
- package/lib/esm/duet-card.entry.js +86 -31
- package/lib/esm/duet-checkbox.entry.js +68 -30
- package/lib/esm/duet-checkmark.entry.js +20 -6
- package/lib/{dist-custom-elements/p-2c4fc6d3.js → esm/duet-chip.entry.js} +60 -81
- package/lib/esm/duet-choice_2.entry.js +247 -110
- package/lib/esm/duet-collapsible.entry.js +79 -24
- package/lib/esm/duet-combobox.entry.js +84 -45
- package/lib/esm/duet-contact-card.entry.js +16 -15
- package/lib/esm/duet-cookie-consent.entry.js +13 -8
- package/lib/esm/duet-date-picker.entry.js +151 -53
- package/lib/esm/duet-divider_2.entry.js +28 -10
- package/lib/esm/duet-editable-table_3.entry.js +1033 -256
- package/lib/esm/duet-empty-state.entry.js +14 -6
- package/lib/esm/duet-fieldset.entry.js +47 -16
- package/lib/esm/duet-file-chooser.entry.js +17 -8
- package/lib/esm/duet-footer.entry.js +55 -27
- package/lib/esm/duet-grid_2.entry.js +112 -53
- package/lib/esm/duet-header_2.entry.js +252 -85
- package/lib/esm/duet-hero.entry.js +115 -29
- package/lib/esm/duet-icon.entry.js +63 -17
- package/lib/esm/duet-input_2.entry.js +195 -75
- package/lib/esm/duet-layout.entry.js +33 -11
- package/lib/esm/duet-list_2.entry.js +47 -10
- package/lib/esm/duet-menu-bar-button.entry.js +23 -13
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
- package/lib/esm/duet-menu-bar-dropdown.entry.js +20 -13
- package/lib/esm/duet-menu-bar-item.entry.js +39 -16
- package/lib/esm/duet-menu-bar-link.entry.js +17 -7
- package/lib/esm/duet-menu-bar.entry.js +36 -23
- package/lib/esm/duet-modal.entry.js +84 -24
- package/lib/esm/duet-multiselect.entry.js +87 -39
- package/lib/esm/duet-nav.entry.js +11 -5
- package/lib/esm/duet-notification_2.entry.js +86 -28
- package/lib/esm/duet-number-input.entry.js +178 -66
- package/lib/esm/duet-overlay.entry.js +34 -11
- package/lib/esm/duet-page-heading.entry.js +16 -9
- package/lib/esm/duet-pagination_2.entry.js +160 -83
- package/lib/esm/duet-phone-input.entry.js +2053 -0
- package/lib/esm/duet-popup-menu_2.entry.js +521 -0
- package/lib/esm/duet-progress.entry.js +31 -10
- package/lib/esm/duet-promo-card.entry.js +26 -10
- package/lib/esm/duet-radio_2.entry.js +105 -50
- package/lib/esm/duet-range-slider.entry.js +72 -34
- package/lib/esm/duet-scrollable_3.entry.js +253 -118
- package/lib/esm/duet-section-layout.entry.js +17 -8
- package/lib/esm/duet-select.entry.js +88 -40
- package/lib/esm/duet-shaped-image.entry.js +15 -8
- package/lib/esm/duet-show-more.entry.js +80 -35
- package/lib/esm/duet-slideout-lang.entry.js +9 -7
- package/lib/esm/duet-slideout-link.entry.js +61 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +22 -11
- package/lib/esm/duet-slideout-panel.entry.js +46 -27
- package/lib/esm/duet-slideout.entry.js +108 -57
- package/lib/esm/duet-status-icon.entry.js +97 -0
- package/lib/esm/duet-step_2.entry.js +56 -20
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +24 -7
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +26 -15
- package/lib/esm/duet-submenu-bar-item.entry.js +39 -16
- package/lib/esm/duet-submenu-bar-link.entry.js +17 -6
- package/lib/esm/duet-submenu-bar.entry.js +26 -18
- package/lib/esm/duet-textarea.entry.js +101 -46
- package/lib/esm/duet-toggle.entry.js +49 -26
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +21 -8
- package/lib/esm/duet-toolbar-dropdown.entry.js +26 -13
- package/lib/esm/duet-toolbar-item.entry.js +45 -16
- package/lib/esm/duet-toolbar-link.entry.js +20 -7
- package/lib/esm/duet-toolbar.entry.js +11 -7
- package/lib/esm/duet-tooltip-button_2.entry.js +19 -23
- package/lib/esm/duet-tooltip.entry.js +90 -42
- package/lib/esm/duet-tray.entry.js +62 -21
- package/lib/esm/duet-upload-aria-status.entry.js +30 -9
- package/lib/esm/duet-upload-item.entry.js +12 -20
- package/lib/esm/duet-visually-hidden.entry.js +3 -4
- package/lib/esm/duet.js +7 -6
- package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils--4tOXPNI.js} +3 -3
- package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
- package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-CUvuUZuo.js} +1 -1
- package/lib/esm/form-search-CevX33LA.js +19 -0
- package/lib/esm/{index-1d0b7c66.js → index-Djr45qSY.js} +2053 -1238
- package/lib/esm/{keyboard-utils-439bcc8b.js → keyboard-utils-Db8rvjPI.js} +4 -1
- package/lib/{dist-custom-elements/p-42619f94.js → esm/label-DoZNNWYj.js} +1 -1
- package/lib/esm/{language-utils-14969cef.js → language-utils-BCnFs8Da.js} +2 -2
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-CSLPO69o.js} +2 -2
- package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-DFidj4Vk.js} +22 -7
- package/lib/esm/{token-utils-a32eb753.js → token-utils-orOLyKQw.js} +2 -2
- package/lib/esm/{tokens-84fb2357.js → tokens-Dvk6bntS.js} +7 -7
- package/lib/esm/{tokens.module-a746651a.js → tokens.module-D5_4M8f7.js} +4 -4
- package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
- package/lib/index.js +1 -1
- package/lib/loader/cdn.js +1 -2
- package/lib/loader/index.cjs.js +1 -2
- package/lib/loader/index.es2017.js +0 -1
- package/lib/loader/index.js +1 -2
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-alert/duet-alert.d.ts +13 -5
- package/lib/types/components/duet-button/duet-button.d.ts +1 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +1 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +5 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +4 -4
- package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -2
- package/lib/types/components/duet-input/duet-input.d.ts +8 -3
- package/lib/types/components/duet-link/duet-link.d.ts +3 -7
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +2 -1
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +165 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +18 -5
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -1
- package/lib/types/components/duet-select/duet-select.d.ts +2 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -3
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +27 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +24 -4
- package/lib/types/components/duet-table/duet-table-styles.d.ts +1 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
- package/lib/types/components.d.ts +2030 -27
- package/lib/types/data/countries.d.ts +22 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/stencil-public-runtime.d.ts +35 -6
- package/lib/types/utils/keyboard-utils.d.ts +1 -0
- package/lib/types/utils/teleport.d.ts +4 -1
- package/package.json +25 -11
- package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
- package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
- package/lib/cjs/duet-chip_3.cjs.entry.js +0 -699
- package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
- package/lib/cjs/form-search-d61b2843.js +0 -8
- package/lib/cjs/index-21e67ab3.js +0 -2278
- package/lib/collection/components/duet-table/duet-table.css +0 -365
- package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-action-button.js +0 -9
- package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
- package/lib/dist-custom-elements/duet-alert.js +0 -9
- package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
- package/lib/dist-custom-elements/duet-badge.js +0 -9
- package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
- package/lib/dist-custom-elements/duet-banner.js +0 -157
- package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
- package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
- package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
- package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
- package/lib/dist-custom-elements/duet-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-button.js +0 -9
- package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-callout.js +0 -72
- package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
- package/lib/dist-custom-elements/duet-caption.js +0 -9
- package/lib/dist-custom-elements/duet-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-card.js +0 -171
- package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
- package/lib/dist-custom-elements/duet-checkbox.js +0 -9
- package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
- package/lib/dist-custom-elements/duet-checkmark.js +0 -9
- package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
- package/lib/dist-custom-elements/duet-chip.js +0 -9
- package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-choice-group.js +0 -228
- package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
- package/lib/dist-custom-elements/duet-choice.js +0 -454
- package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
- package/lib/dist-custom-elements/duet-collapsible.js +0 -158
- package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
- package/lib/dist-custom-elements/duet-combobox.js +0 -702
- package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-contact-card.js +0 -134
- package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
- package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
- package/lib/dist-custom-elements/duet-date-picker.js +0 -932
- package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
- package/lib/dist-custom-elements/duet-divider.js +0 -9
- package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
- package/lib/dist-custom-elements/duet-editable-table.js +0 -258
- package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
- package/lib/dist-custom-elements/duet-empty-state.js +0 -9
- package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
- package/lib/dist-custom-elements/duet-fieldset.js +0 -9
- package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
- package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
- package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-footer.js +0 -223
- package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-grid-item.js +0 -9
- package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
- package/lib/dist-custom-elements/duet-grid.js +0 -9
- package/lib/dist-custom-elements/duet-header.d.ts +0 -11
- package/lib/dist-custom-elements/duet-header.js +0 -698
- package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
- package/lib/dist-custom-elements/duet-heading.js +0 -9
- package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
- package/lib/dist-custom-elements/duet-hero.js +0 -299
- package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
- package/lib/dist-custom-elements/duet-icon.js +0 -9
- package/lib/dist-custom-elements/duet-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-input.js +0 -9
- package/lib/dist-custom-elements/duet-label.d.ts +0 -11
- package/lib/dist-custom-elements/duet-label.js +0 -70
- package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-layout.js +0 -94
- package/lib/dist-custom-elements/duet-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-link.js +0 -9
- package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-list-item.js +0 -9
- package/lib/dist-custom-elements/duet-list.d.ts +0 -11
- package/lib/dist-custom-elements/duet-list.js +0 -9
- package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
- package/lib/dist-custom-elements/duet-logo.js +0 -9
- package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
- package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
- package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
- package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-menu-bar.js +0 -206
- package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
- package/lib/dist-custom-elements/duet-modal.js +0 -382
- package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
- package/lib/dist-custom-elements/duet-multiselect.js +0 -346
- package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
- package/lib/dist-custom-elements/duet-nav.js +0 -54
- package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
- package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
- package/lib/dist-custom-elements/duet-notification.js +0 -95
- package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
- package/lib/dist-custom-elements/duet-number-input.js +0 -484
- package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
- package/lib/dist-custom-elements/duet-overlay.js +0 -9
- package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
- package/lib/dist-custom-elements/duet-page-heading.js +0 -87
- package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
- package/lib/dist-custom-elements/duet-pagination.js +0 -493
- package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
- package/lib/dist-custom-elements/duet-paragraph.js +0 -9
- package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
- package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
- package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
- package/lib/dist-custom-elements/duet-progress.js +0 -9
- package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
- package/lib/dist-custom-elements/duet-promo-card.js +0 -105
- package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-radio-group.js +0 -213
- package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
- package/lib/dist-custom-elements/duet-radio.js +0 -230
- package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
- package/lib/dist-custom-elements/duet-range-slider.js +0 -181
- package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
- package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
- package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
- package/lib/dist-custom-elements/duet-scrollable.js +0 -9
- package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-section-layout.js +0 -56
- package/lib/dist-custom-elements/duet-select.d.ts +0 -11
- package/lib/dist-custom-elements/duet-select.js +0 -9
- package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
- package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
- package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
- package/lib/dist-custom-elements/duet-show-more.js +0 -9
- package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
- package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-link.js +0 -79
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
- package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
- package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout.js +0 -311
- package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
- package/lib/dist-custom-elements/duet-spacer.js +0 -9
- package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
- package/lib/dist-custom-elements/duet-spinner.js +0 -9
- package/lib/dist-custom-elements/duet-step.d.ts +0 -11
- package/lib/dist-custom-elements/duet-step.js +0 -147
- package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
- package/lib/dist-custom-elements/duet-stepper.js +0 -151
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
- package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
- package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
- package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
- package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tab-group.js +0 -339
- package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tab.js +0 -150
- package/lib/dist-custom-elements/duet-table.d.ts +0 -11
- package/lib/dist-custom-elements/duet-table.js +0 -9
- package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
- package/lib/dist-custom-elements/duet-textarea.js +0 -301
- package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toggle.js +0 -146
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
- package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
- package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
- package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
- package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
- package/lib/dist-custom-elements/duet-toolbar.js +0 -67
- package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
- package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
- package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tooltip.js +0 -9
- package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
- package/lib/dist-custom-elements/duet-tray.js +0 -146
- package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
- package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload-item.js +0 -9
- package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
- package/lib/dist-custom-elements/duet-upload.js +0 -1444
- package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
- package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
- package/lib/dist-custom-elements/index.d.ts +0 -33
- package/lib/dist-custom-elements/index.js +0 -29
- package/lib/dist-custom-elements/p-115c79b6.js +0 -6
- package/lib/dist-custom-elements/p-19172e2c.js +0 -80
- package/lib/dist-custom-elements/p-1df834b1.js +0 -73
- package/lib/dist-custom-elements/p-1e88beeb.js +0 -80
- package/lib/dist-custom-elements/p-1f7ae97d.js +0 -205
- package/lib/dist-custom-elements/p-254d2993.js +0 -63
- package/lib/dist-custom-elements/p-29782b53.js +0 -338
- package/lib/dist-custom-elements/p-35375593.js +0 -161
- package/lib/dist-custom-elements/p-35ad7f77.js +0 -61
- package/lib/dist-custom-elements/p-3b5e8904.js +0 -124
- package/lib/dist-custom-elements/p-3c7d413f.js +0 -60
- package/lib/dist-custom-elements/p-4c179c1e.js +0 -503
- package/lib/dist-custom-elements/p-4c1f4287.js +0 -102
- package/lib/dist-custom-elements/p-5086d1a0.js +0 -100
- package/lib/dist-custom-elements/p-55bbb3b6.js +0 -607
- package/lib/dist-custom-elements/p-56d9b926.js +0 -81
- package/lib/dist-custom-elements/p-5fbb6039.js +0 -154
- package/lib/dist-custom-elements/p-64139e5c.js +0 -50
- package/lib/dist-custom-elements/p-6a285be8.js +0 -39
- package/lib/dist-custom-elements/p-723b6358.js +0 -209
- package/lib/dist-custom-elements/p-726ae243.js +0 -55
- package/lib/dist-custom-elements/p-7f69e1e3.js +0 -287
- package/lib/dist-custom-elements/p-81287261.js +0 -1348
- package/lib/dist-custom-elements/p-86f479be.js +0 -124
- package/lib/dist-custom-elements/p-87b1c772.js +0 -63
- package/lib/dist-custom-elements/p-88ed3495.js +0 -138
- package/lib/dist-custom-elements/p-993aea39.js +0 -175
- package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
- package/lib/dist-custom-elements/p-a0f74881.js +0 -165
- package/lib/dist-custom-elements/p-a1e17113.js +0 -318
- package/lib/dist-custom-elements/p-a2b5c68e.js +0 -94
- package/lib/dist-custom-elements/p-a9e09647.js +0 -303
- package/lib/dist-custom-elements/p-ad615991.js +0 -115
- package/lib/dist-custom-elements/p-b4289ed0.js +0 -232
- package/lib/dist-custom-elements/p-c0a30d29.js +0 -127
- package/lib/dist-custom-elements/p-c81244d9.js +0 -194
- package/lib/dist-custom-elements/p-ca700701.js +0 -55
- package/lib/dist-custom-elements/p-d004da5f.js +0 -6
- package/lib/dist-custom-elements/p-d2a5148f.js +0 -61
- package/lib/dist-custom-elements/p-d5812145.js +0 -56
- package/lib/dist-custom-elements/p-d77db171.js +0 -2130
- package/lib/dist-custom-elements/p-e4936fed.js +0 -268
- package/lib/dist-custom-elements/p-e5a55204.js +0 -214
- package/lib/dist-custom-elements/p-e774334b.js +0 -83
- package/lib/dist-custom-elements/p-f11208c3.js +0 -6
- package/lib/dist-custom-elements/p-f6000a03.js +0 -753
- package/lib/dist-custom-elements/p-f9994ef4.js +0 -206
- package/lib/dist-custom-elements/p-fca5b65b.js +0 -110
- package/lib/dist-custom-elements/p-ffa44070.js +0 -148
- package/lib/duet/duet.js +0 -127
- package/lib/duet/p-009c7325.entry.js +0 -4
- package/lib/duet/p-020be412.system.entry.js +0 -4
- package/lib/duet/p-02200dcc.entry.js +0 -4
- package/lib/duet/p-032fbfa1.system.entry.js +0 -4
- package/lib/duet/p-03af0f0d.system.entry.js +0 -4
- package/lib/duet/p-042576d6.system.entry.js +0 -4
- package/lib/duet/p-0458abd0.system.entry.js +0 -4
- package/lib/duet/p-053b71e6.system.js +0 -4
- package/lib/duet/p-07200cbb.entry.js +0 -4
- package/lib/duet/p-084ab781.entry.js +0 -4
- package/lib/duet/p-0937f800.system.entry.js +0 -4
- package/lib/duet/p-0c4aa4d0.system.entry.js +0 -4
- package/lib/duet/p-0c4bbd65.system.js +0 -4
- package/lib/duet/p-0dc9089b.system.js +0 -4
- package/lib/duet/p-0ecb70e0.system.entry.js +0 -4
- package/lib/duet/p-1004af75.js +0 -4
- package/lib/duet/p-105f1a75.entry.js +0 -4
- package/lib/duet/p-115c79b6.js +0 -4
- package/lib/duet/p-1183d305.system.entry.js +0 -4
- package/lib/duet/p-14bae734.system.entry.js +0 -4
- package/lib/duet/p-150e5f1b.entry.js +0 -4
- package/lib/duet/p-17aa3a20.entry.js +0 -4
- package/lib/duet/p-1d016525.system.entry.js +0 -4
- package/lib/duet/p-1da5945a.system.entry.js +0 -4
- package/lib/duet/p-1e17463d.system.js +0 -4
- package/lib/duet/p-1fd3ec9e.system.entry.js +0 -4
- package/lib/duet/p-20213e01.system.entry.js +0 -4
- package/lib/duet/p-2034ac6f.system.entry.js +0 -4
- package/lib/duet/p-23376e2a.entry.js +0 -4
- package/lib/duet/p-265fdd97.system.entry.js +0 -4
- package/lib/duet/p-26d1dc6c.system.entry.js +0 -4
- package/lib/duet/p-274473a3.system.entry.js +0 -4
- package/lib/duet/p-27a43e79.entry.js +0 -4
- package/lib/duet/p-27ed5ca7.system.entry.js +0 -4
- package/lib/duet/p-29672737.entry.js +0 -4
- package/lib/duet/p-2af3edb3.system.entry.js +0 -4
- package/lib/duet/p-2af9e483.entry.js +0 -4
- package/lib/duet/p-2c9a6e05.entry.js +0 -4
- package/lib/duet/p-2fa7ecef.entry.js +0 -4
- package/lib/duet/p-319e77d6.entry.js +0 -4
- package/lib/duet/p-328d9919.system.entry.js +0 -4
- package/lib/duet/p-34d7dd10.system.js +0 -4
- package/lib/duet/p-376a0839.system.entry.js +0 -4
- package/lib/duet/p-38685b43.system.entry.js +0 -4
- package/lib/duet/p-38908608.system.entry.js +0 -4
- package/lib/duet/p-3987eed8.system.entry.js +0 -4
- package/lib/duet/p-3b3432e2.system.entry.js +0 -4
- package/lib/duet/p-3b3c341e.system.entry.js +0 -4
- package/lib/duet/p-3b8dbebe.system.entry.js +0 -4
- package/lib/duet/p-3cd483ab.entry.js +0 -4
- package/lib/duet/p-3cd80f60.system.entry.js +0 -4
- package/lib/duet/p-3d794db6.system.entry.js +0 -4
- package/lib/duet/p-3f97122e.system.entry.js +0 -4
- package/lib/duet/p-41982d26.system.js +0 -4
- package/lib/duet/p-4289f34a.entry.js +0 -4
- package/lib/duet/p-472b3fbd.entry.js +0 -4
- package/lib/duet/p-48618d75.entry.js +0 -4
- package/lib/duet/p-49957220.system.js +0 -4
- package/lib/duet/p-4eb70cc2.system.entry.js +0 -4
- package/lib/duet/p-502bf069.entry.js +0 -4
- package/lib/duet/p-50ca9099.system.entry.js +0 -4
- package/lib/duet/p-53366e23.entry.js +0 -4
- package/lib/duet/p-58f6b887.system.entry.js +0 -4
- package/lib/duet/p-5db9497a.entry.js +0 -4
- package/lib/duet/p-5e6b91f6.entry.js +0 -4
- package/lib/duet/p-605e69c8.system.js +0 -4
- package/lib/duet/p-61a93486.system.entry.js +0 -4
- package/lib/duet/p-63016bc3.entry.js +0 -4
- package/lib/duet/p-639def3e.system.entry.js +0 -4
- package/lib/duet/p-67dd83cc.entry.js +0 -4
- package/lib/duet/p-68fd5f9a.entry.js +0 -4
- package/lib/duet/p-6c25b6a4.system.entry.js +0 -4
- package/lib/duet/p-6f285100.system.entry.js +0 -4
- package/lib/duet/p-70651da4.system.entry.js +0 -4
- package/lib/duet/p-716865fe.entry.js +0 -4
- package/lib/duet/p-7606ec6c.system.entry.js +0 -4
- package/lib/duet/p-76d69a18.system.js +0 -4
- package/lib/duet/p-772dbed5.entry.js +0 -4
- package/lib/duet/p-77e70fca.entry.js +0 -4
- package/lib/duet/p-7813d124.system.entry.js +0 -4
- package/lib/duet/p-7a25f374.entry.js +0 -4
- package/lib/duet/p-7acabaa7.system.js +0 -4
- package/lib/duet/p-7af3fb35.entry.js +0 -4
- package/lib/duet/p-7b8b93c3.entry.js +0 -4
- package/lib/duet/p-7cce22af.system.js +0 -4
- package/lib/duet/p-7d8a2628.js +0 -4
- package/lib/duet/p-7f5c1da2.entry.js +0 -4
- package/lib/duet/p-7fe5e0dc.system.entry.js +0 -4
- package/lib/duet/p-806adaa3.entry.js +0 -4
- package/lib/duet/p-807bf6da.system.entry.js +0 -4
- package/lib/duet/p-824d882f.entry.js +0 -4
- package/lib/duet/p-84bfc619.system.entry.js +0 -4
- package/lib/duet/p-851e1a0f.entry.js +0 -4
- package/lib/duet/p-8520e026.system.entry.js +0 -4
- package/lib/duet/p-87e96a18.system.entry.js +0 -4
- package/lib/duet/p-88d8265d.entry.js +0 -4
- package/lib/duet/p-88fe57e8.system.entry.js +0 -4
- package/lib/duet/p-8abb0984.js +0 -5
- package/lib/duet/p-8ad8b9a8.entry.js +0 -4
- package/lib/duet/p-8b397c1a.entry.js +0 -4
- package/lib/duet/p-8d462e3a.system.entry.js +0 -4
- package/lib/duet/p-8f31572d.system.entry.js +0 -4
- package/lib/duet/p-8f477bd6.system.js +0 -4
- package/lib/duet/p-8faaaf5f.system.js +0 -4
- package/lib/duet/p-8ff30ce6.system.entry.js +0 -4
- package/lib/duet/p-947ceeb6.system.entry.js +0 -4
- package/lib/duet/p-95836be2.system.entry.js +0 -4
- package/lib/duet/p-965e597c.system.js +0 -4
- package/lib/duet/p-98636086.system.js +0 -4
- package/lib/duet/p-9dda3449.system.entry.js +0 -4
- package/lib/duet/p-9fcce08c.system.entry.js +0 -4
- package/lib/duet/p-a19244e5.system.js +0 -5
- package/lib/duet/p-a1b7f2a0.js +0 -4
- package/lib/duet/p-a23eec0f.entry.js +0 -4
- package/lib/duet/p-a2b93336.system.entry.js +0 -4
- package/lib/duet/p-a437992b.system.entry.js +0 -4
- package/lib/duet/p-a48acf0f.system.entry.js +0 -4
- package/lib/duet/p-a51f3a0b.entry.js +0 -4
- package/lib/duet/p-ab4c886f.system.entry.js +0 -4
- package/lib/duet/p-abec198c.system.entry.js +0 -4
- package/lib/duet/p-afad5fd3.system.js +0 -4
- package/lib/duet/p-b0b00dad.system.entry.js +0 -4
- package/lib/duet/p-b0d79ffe.entry.js +0 -4
- package/lib/duet/p-b864159a.system.js +0 -4
- package/lib/duet/p-b865116a.entry.js +0 -4
- package/lib/duet/p-bbb56267.entry.js +0 -4
- package/lib/duet/p-bbeafbd0.entry.js +0 -4
- package/lib/duet/p-bc6e219f.system.entry.js +0 -4
- package/lib/duet/p-bed279f6.entry.js +0 -4
- package/lib/duet/p-bf5c8102.entry.js +0 -4
- package/lib/duet/p-c1b1801d.entry.js +0 -4
- package/lib/duet/p-c551216e.system.entry.js +0 -4
- package/lib/duet/p-c6617f16.entry.js +0 -4
- package/lib/duet/p-c6995496.system.entry.js +0 -4
- package/lib/duet/p-c7ecec29.entry.js +0 -4
- package/lib/duet/p-ca3cb21e.js +0 -4
- package/lib/duet/p-ca691c4a.entry.js +0 -4
- package/lib/duet/p-cbbf6d6a.system.js +0 -4
- package/lib/duet/p-cc5e6288.system.js +0 -4
- package/lib/duet/p-cdb6c612.entry.js +0 -4
- package/lib/duet/p-cef3ec26.entry.js +0 -4
- package/lib/duet/p-d004da5f.js +0 -4
- package/lib/duet/p-d04dbf1f.system.entry.js +0 -4
- package/lib/duet/p-d3aa7a74.entry.js +0 -4
- package/lib/duet/p-d3c304b5.system.js +0 -4
- package/lib/duet/p-d41543d3.entry.js +0 -4
- package/lib/duet/p-d42b2af0.entry.js +0 -4
- package/lib/duet/p-d5dfa70d.system.entry.js +0 -4
- package/lib/duet/p-d62b6ca1.system.entry.js +0 -4
- package/lib/duet/p-d62da84e.system.entry.js +0 -4
- package/lib/duet/p-d7d86092.js +0 -4
- package/lib/duet/p-d85741b1.entry.js +0 -4
- package/lib/duet/p-db2ccb9d.system.js +0 -4
- package/lib/duet/p-dc4b5372.system.entry.js +0 -4
- package/lib/duet/p-df19c239.system.entry.js +0 -4
- package/lib/duet/p-dfef2cbe.entry.js +0 -4
- package/lib/duet/p-e12066c8.system.js +0 -4
- package/lib/duet/p-e1c881da.system.js +0 -4
- package/lib/duet/p-e216bea4.system.js +0 -4
- package/lib/duet/p-e283e9fe.entry.js +0 -4
- package/lib/duet/p-e2daf94c.entry.js +0 -4
- package/lib/duet/p-e4c8559c.system.js +0 -4
- package/lib/duet/p-e5cb7fc9.entry.js +0 -4
- package/lib/duet/p-e6b5a1c7.system.js +0 -4
- package/lib/duet/p-e7558f6c.entry.js +0 -4
- package/lib/duet/p-e797e2f4.system.entry.js +0 -4
- package/lib/duet/p-e95e650d.system.entry.js +0 -4
- package/lib/duet/p-eb0d15a0.system.entry.js +0 -4
- package/lib/duet/p-eca03d5e.js +0 -4
- package/lib/duet/p-eca1904d.system.entry.js +0 -4
- package/lib/duet/p-ed17957c.system.entry.js +0 -4
- package/lib/duet/p-ed6a110f.system.entry.js +0 -4
- package/lib/duet/p-ef731dfb.system.js +0 -4
- package/lib/duet/p-f0fa9c9a.system.entry.js +0 -4
- package/lib/duet/p-f11208c3.js +0 -4
- package/lib/duet/p-f2f1e0e9.entry.js +0 -4
- package/lib/duet/p-f43e134e.system.entry.js +0 -4
- package/lib/duet/p-f6000a03.js +0 -4
- package/lib/duet/p-f6b21d17.system.js +0 -4
- package/lib/duet/p-f78099b6.entry.js +0 -4
- package/lib/duet/p-fd78f61a.js +0 -4
- package/lib/duet/p-fdb3098f.system.entry.js +0 -4
- package/lib/duet/p-ffd1290e.system.entry.js +0 -4
- package/lib/duet/p-ffe6fbbb.entry.js +0 -4
- package/lib/esm/a11y-utils-8fc393f6.js +0 -23
- package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
- package/lib/esm/action-new-window-small-1945be91.js +0 -6
- package/lib/esm/body-scroll-46854769.js +0 -234
- package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
- package/lib/esm/create-id-149a1b6d.js +0 -11
- package/lib/esm/duet-chip_3.entry.js +0 -693
- package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
- package/lib/esm/focus-utils-adcd9463.js +0 -18
- package/lib/esm/form-search-ea8e19ae.js +0 -6
- package/lib/esm/input-utils-85681162.js +0 -53
- package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
- package/lib/esm/js-utils-9b9e0039.js +0 -47
- package/lib/esm/label-ce262202.js +0 -20
- package/lib/esm/polyfills/core-js.js +0 -11
- package/lib/esm/polyfills/dom.js +0 -79
- package/lib/esm/polyfills/es5-html-element.js +0 -1
- package/lib/esm/polyfills/index.js +0 -34
- package/lib/esm/polyfills/system.js +0 -6
- package/lib/esm/string-utils-192eb3c8.js +0 -61
- package/lib/esm/teleport-546f382d.js +0 -116
- package/lib/esm/themeable-component-860041c5.js +0 -13
- package/lib/esm/watch-options-e96ecd92.js +0 -57
- package/lib/esm-es5/a11y-utils-8fc393f6.js +0 -4
- package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
- package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
- package/lib/esm-es5/app-globals-00959ca9.js +0 -4
- package/lib/esm-es5/body-scroll-46854769.js +0 -4
- package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
- package/lib/esm-es5/common-strings-af765cad.js +0 -4
- package/lib/esm-es5/create-id-149a1b6d.js +0 -4
- package/lib/esm-es5/duet-action-button.entry.js +0 -4
- package/lib/esm-es5/duet-alert.entry.js +0 -4
- package/lib/esm-es5/duet-badge.entry.js +0 -4
- package/lib/esm-es5/duet-banner.entry.js +0 -4
- package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
- package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
- package/lib/esm-es5/duet-button_2.entry.js +0 -4
- package/lib/esm-es5/duet-callout.entry.js +0 -4
- package/lib/esm-es5/duet-caption_4.entry.js +0 -4
- package/lib/esm-es5/duet-card.entry.js +0 -4
- package/lib/esm-es5/duet-checkbox.entry.js +0 -4
- package/lib/esm-es5/duet-checkmark.entry.js +0 -4
- package/lib/esm-es5/duet-chip_3.entry.js +0 -4
- package/lib/esm-es5/duet-choice_2.entry.js +0 -4
- package/lib/esm-es5/duet-collapsible.entry.js +0 -4
- package/lib/esm-es5/duet-combobox.entry.js +0 -4
- package/lib/esm-es5/duet-contact-card.entry.js +0 -4
- package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
- package/lib/esm-es5/duet-date-picker.entry.js +0 -4
- package/lib/esm-es5/duet-divider_2.entry.js +0 -4
- package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
- package/lib/esm-es5/duet-empty-state.entry.js +0 -4
- package/lib/esm-es5/duet-fieldset.entry.js +0 -4
- package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
- package/lib/esm-es5/duet-footer.entry.js +0 -4
- package/lib/esm-es5/duet-grid_2.entry.js +0 -4
- package/lib/esm-es5/duet-header_2.entry.js +0 -4
- package/lib/esm-es5/duet-hero.entry.js +0 -4
- package/lib/esm-es5/duet-icon.entry.js +0 -4
- package/lib/esm-es5/duet-input_2.entry.js +0 -4
- package/lib/esm-es5/duet-layout.entry.js +0 -4
- package/lib/esm-es5/duet-list_2.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
- package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
- package/lib/esm-es5/duet-modal.entry.js +0 -4
- package/lib/esm-es5/duet-multiselect.entry.js +0 -4
- package/lib/esm-es5/duet-nav.entry.js +0 -4
- package/lib/esm-es5/duet-notification_2.entry.js +0 -4
- package/lib/esm-es5/duet-number-input.entry.js +0 -4
- package/lib/esm-es5/duet-overlay.entry.js +0 -4
- package/lib/esm-es5/duet-page-heading.entry.js +0 -4
- package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
- package/lib/esm-es5/duet-progress.entry.js +0 -4
- package/lib/esm-es5/duet-promo-card.entry.js +0 -4
- package/lib/esm-es5/duet-radio_2.entry.js +0 -4
- package/lib/esm-es5/duet-range-slider.entry.js +0 -4
- package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
- package/lib/esm-es5/duet-section-layout.entry.js +0 -4
- package/lib/esm-es5/duet-select.entry.js +0 -4
- package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
- package/lib/esm-es5/duet-show-more.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
- package/lib/esm-es5/duet-slideout.entry.js +0 -4
- package/lib/esm-es5/duet-step_2.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
- package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
- package/lib/esm-es5/duet-textarea.entry.js +0 -4
- package/lib/esm-es5/duet-toggle.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
- package/lib/esm-es5/duet-toolbar.entry.js +0 -4
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
- package/lib/esm-es5/duet-tooltip.entry.js +0 -4
- package/lib/esm-es5/duet-tray.entry.js +0 -4
- package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
- package/lib/esm-es5/duet-upload-item.entry.js +0 -4
- package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
- package/lib/esm-es5/duet.js +0 -4
- package/lib/esm-es5/errorcodes.utils-d9431251.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
- package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
- package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
- package/lib/esm-es5/index-1d0b7c66.js +0 -5
- package/lib/esm-es5/index.js +0 -3
- package/lib/esm-es5/input-utils-85681162.js +0 -4
- package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
- package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
- package/lib/esm-es5/keyboard-utils-439bcc8b.js +0 -4
- package/lib/esm-es5/label-ce262202.js +0 -4
- package/lib/esm-es5/language-utils-14969cef.js +0 -4
- package/lib/esm-es5/loader.js +0 -4
- package/lib/esm-es5/slot-utils-4e5ed4eb.js +0 -4
- package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
- package/lib/esm-es5/teleport-546f382d.js +0 -4
- package/lib/esm-es5/themeable-component-860041c5.js +0 -4
- package/lib/esm-es5/token-utils-a32eb753.js +0 -4
- package/lib/esm-es5/tokens-84fb2357.js +0 -4
- package/lib/esm-es5/tokens.module-a746651a.js +0 -4
- package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
- package/lib/loader/package.json +0 -11
- /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
- /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
- /package/lib/cjs/{common-strings-2984301e.js → common-strings-BhhnIQp3.js} +0 -0
- /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
- /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
- /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
- /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
- /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
- /package/lib/cjs/{themeable-component-996b489c.js → themeable-component-C57DSx5w.js} +0 -0
- /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
- /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
- /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
- /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
- /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
- /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
- /package/lib/duet/{p-beeb12f1.js → p-D6YBFNe9.js} +0 -0
- /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
- /package/lib/duet/{p-aaa7a7bd.js → p-WhCDf9tt.js} +0 -0
- /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
- /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
- /package/lib/esm/{common-strings-af765cad.js → common-strings-D6YBFNe9.js} +0 -0
- /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
- /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
- /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
- /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
- /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
- /package/lib/{dist-custom-elements/p-aaa7a7bd.js → esm/themeable-component-WhCDf9tt.js} +0 -0
|
@@ -3,21 +3,30 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
var index = require('./index-C-4fRZp1.js');
|
|
7
|
+
var _commonjsHelpers = require('./_commonjsHelpers-4N64IRaP.js');
|
|
8
|
+
var themeableComponent = require('./themeable-component-C57DSx5w.js');
|
|
9
|
+
var commonStrings = require('./common-strings-BhhnIQp3.js');
|
|
10
|
+
var createId = require('./create-id-DtslnIOq.js');
|
|
11
|
+
var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
|
|
12
|
+
var languageUtils = require('./language-utils-DjPkoVoW.js');
|
|
13
|
+
var slotUtils = require('./slot-utils-DYGV7vRF.js');
|
|
14
|
+
require('./string-utils-B35hEUBv.js');
|
|
7
15
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const commonStrings = require('./common-strings-2984301e.js');
|
|
11
|
-
const createId = require('./create-id-1f8c438f.js');
|
|
12
|
-
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
13
|
-
const languageUtils = require('./language-utils-b5940c7b.js');
|
|
14
|
-
const slotUtils = require('./slot-utils-382633cf.js');
|
|
15
|
-
require('./string-utils-7b13c16e.js');
|
|
16
|
+
var messagingInfo;
|
|
17
|
+
var hasRequiredMessagingInfo;
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
function requireMessagingInfo () {
|
|
20
|
+
if (hasRequiredMessagingInfo) return messagingInfo;
|
|
21
|
+
hasRequiredMessagingInfo = 1;
|
|
22
|
+
messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
23
|
+
return messagingInfo;
|
|
24
|
+
}
|
|
18
25
|
|
|
19
|
-
const duetChoiceCss = "*,*::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-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 48em){:host(.horizontal-responsive){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}.duet-choice-card{position:relative;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer{display:flex}.duet-choice-label{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.duet-theme-turva .info :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}:host(.user-is-tabbing) .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}:host(.user-is-tabbing) :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}:host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);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}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle:focus{outline:none}:host(.user-is-tabbing) .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceradioinput]){position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
20
|
-
|
|
26
|
+
var messagingInfoExports = requireMessagingInfo();
|
|
27
|
+
var infoIcon = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(messagingInfoExports);
|
|
28
|
+
|
|
29
|
+
const duetChoiceCss = "*,*::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-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 48em){:host(.horizontal-responsive){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}.duet-choice-card{position:relative;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer{display:flex}.duet-choice-label{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}:host(.duet-theme-turva:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}:host(.duet-theme-turva:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.info :host(.duet-theme-turva:not(.no-hover):not(.disabled):hover){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}:host(.user-is-tabbing) .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}:host(.user-is-tabbing) :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}:host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);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}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle:focus{outline:none}:host(.user-is-tabbing) .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceinput]){position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
21
30
|
|
|
22
31
|
const DuetChoice = class {
|
|
23
32
|
constructor(hostRef) {
|
|
@@ -27,11 +36,141 @@ const DuetChoice = class {
|
|
|
27
36
|
this.duetChange = index.createEvent(this, "duetChange", 7);
|
|
28
37
|
this.duetFocus = index.createEvent(this, "duetFocus", 7);
|
|
29
38
|
this.duetBlur = index.createEvent(this, "duetBlur", 7);
|
|
39
|
+
this.focus = false;
|
|
30
40
|
this.hasHeader = false;
|
|
31
41
|
this.choiceId = createId.createID("DuetChoice");
|
|
32
42
|
this.expandId = createId.createID("DuetChoiceExpand");
|
|
33
43
|
this.headerId = createId.createID("DuetChoiceHeader");
|
|
34
44
|
this.infoButtonId = createId.createID("DuetChoiceInfoButton");
|
|
45
|
+
/**
|
|
46
|
+
* State() variables
|
|
47
|
+
* Inlined decorator, alphabetical order.
|
|
48
|
+
*/
|
|
49
|
+
this.isHovering = false;
|
|
50
|
+
this.isInfoOpen = false;
|
|
51
|
+
/**
|
|
52
|
+
* Theme of the choice.
|
|
53
|
+
*/
|
|
54
|
+
this.theme = "";
|
|
55
|
+
/**
|
|
56
|
+
* Label for the choice button.
|
|
57
|
+
*/
|
|
58
|
+
this.label = "label";
|
|
59
|
+
/**
|
|
60
|
+
* Property to change accessibleLabelInfoButton defaults on the component.
|
|
61
|
+
* normally you would handle these strings on an application level and override accessibleLabelInfoButton when needed
|
|
62
|
+
*/
|
|
63
|
+
this.accessibleLabelInfoButtonDefaults = commonStrings.DuetStringsExternalDefaults;
|
|
64
|
+
/**
|
|
65
|
+
* Accessible label that is read for screen reader users in the info toggle trigger button.
|
|
66
|
+
* Not visible for normal users.
|
|
67
|
+
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
68
|
+
*/
|
|
69
|
+
this.accessibleLabelInfoButton = languageUtils.getLocaleString(this.accessibleLabelInfoButtonDefaults);
|
|
70
|
+
/**
|
|
71
|
+
* Aria Details of the component
|
|
72
|
+
*/
|
|
73
|
+
this.accessibleDetails = undefined;
|
|
74
|
+
/**
|
|
75
|
+
* String of id's that indicate alternative labels elements
|
|
76
|
+
*/
|
|
77
|
+
this.accessibleLabelledBy = undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Aria description the button
|
|
80
|
+
*/
|
|
81
|
+
this.accessibleDescription = undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Additional caption to show inside the label of the choice button.
|
|
84
|
+
*/
|
|
85
|
+
this.caption = "";
|
|
86
|
+
/**
|
|
87
|
+
* Type of the choice button. You can set the type of the choice to be either
|
|
88
|
+
* “radio” or “checkbox”. Depending on this selection we convey the selection
|
|
89
|
+
* type to assistive technologies as well. When type “radio” is chosen it is
|
|
90
|
+
* required to place the choices inside Choice Group component.
|
|
91
|
+
*/
|
|
92
|
+
this.type = "checkbox";
|
|
93
|
+
/**
|
|
94
|
+
* Checked state of the choice button.
|
|
95
|
+
*/
|
|
96
|
+
this.checked = false;
|
|
97
|
+
/**
|
|
98
|
+
* Makes the choice button open a new section underneath it when clicked or
|
|
99
|
+
* tapped. This new section can be used to show more options related to this
|
|
100
|
+
* choice. Please note that this feature can’t be used together with the "info"
|
|
101
|
+
* functionality and that it only accepts plain dom nodes (no shadow dom elements
|
|
102
|
+
* such as duet-paragraph can be used as this will break accessibility)
|
|
103
|
+
*/
|
|
104
|
+
this.collapsible = false;
|
|
105
|
+
/**
|
|
106
|
+
* This attribute works only when the 'collapsible' attribute is set to true.
|
|
107
|
+
* It maintains the visibility of the additional content section, regardless of whether the input is checked or not.
|
|
108
|
+
*/
|
|
109
|
+
this.collapsibleForceExpanded = false;
|
|
110
|
+
/**
|
|
111
|
+
* Controls the margin of the component.
|
|
112
|
+
*/
|
|
113
|
+
this.margin = "auto";
|
|
114
|
+
/**
|
|
115
|
+
* Icon to display to the left of the choice button label.
|
|
116
|
+
*/
|
|
117
|
+
this.icon = "";
|
|
118
|
+
/**
|
|
119
|
+
* Expands the choice button to fill 100% of the container width.
|
|
120
|
+
*/
|
|
121
|
+
this.expand = false;
|
|
122
|
+
/**
|
|
123
|
+
* Controls the padding of the component.
|
|
124
|
+
*/
|
|
125
|
+
this.padding = "auto";
|
|
126
|
+
/**
|
|
127
|
+
* Makes the choice component disabled. This prevents users from being able to
|
|
128
|
+
* interact with the choice, and conveys its inactive state to assistive technologies.
|
|
129
|
+
*/
|
|
130
|
+
this.disabled = false;
|
|
131
|
+
/**
|
|
132
|
+
* Set whether the input is required or not. Please note that this is necessary for
|
|
133
|
+
* accessible inputs when the user is required to fill them. When using this property
|
|
134
|
+
* you need to also set “novalidate” attribute to your form element to prevent
|
|
135
|
+
* browser from displaying its own validation errors.
|
|
136
|
+
*/
|
|
137
|
+
this.required = false;
|
|
138
|
+
/**
|
|
139
|
+
* Accessible info label defaults
|
|
140
|
+
*/
|
|
141
|
+
this.infoLabelDefaults = {
|
|
142
|
+
fi: "Lisätietoja vaihtoehdosta",
|
|
143
|
+
en: "More information about",
|
|
144
|
+
sv: "Mera information om",
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Accessible info label
|
|
148
|
+
* @default {
|
|
149
|
+
* fi: "Lisätietoja vaihtoehdosta",
|
|
150
|
+
* en: "More information about",
|
|
151
|
+
* sv: "Mera information om",
|
|
152
|
+
* }
|
|
153
|
+
*/
|
|
154
|
+
this.infoLabel = languageUtils.getLocaleString(this.infoLabelDefaults, languageUtils.getLanguage());
|
|
155
|
+
/**
|
|
156
|
+
* Accessible collapsible notification defaults
|
|
157
|
+
*/
|
|
158
|
+
this.collapsibleNotificationDefaults = {
|
|
159
|
+
fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
160
|
+
en: "This choice has additional information opened below",
|
|
161
|
+
sv: "Det här val har mer information som öppnades nedan",
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* Accessible collapsible notification. If a collapsible choice has no header, and contains other
|
|
165
|
+
* elements than duet-paragraph, duet-heading or duet-fieldset, this is used as the accessible
|
|
166
|
+
* notification of opening the collapsible content (added to aria-describedby).
|
|
167
|
+
* @default {
|
|
168
|
+
* fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
169
|
+
* en: "This choice has additional information opened below",
|
|
170
|
+
* sv: "Det här val har mer information som öppnades nedan",
|
|
171
|
+
* }
|
|
172
|
+
*/
|
|
173
|
+
this.collapsibleNotification = languageUtils.getLocaleString(this.collapsibleNotificationDefaults, languageUtils.getLanguage());
|
|
35
174
|
this.radioInputListenersRemove = radioInput => {
|
|
36
175
|
radioInput.removeEventListener("change", this.onChange);
|
|
37
176
|
radioInput.removeEventListener("keydown", this.handleKeyDown);
|
|
@@ -44,45 +183,45 @@ const DuetChoice = class {
|
|
|
44
183
|
radioInput.addEventListener("focus", this.onFocus);
|
|
45
184
|
radioInput.addEventListener("blur", this.onBlur);
|
|
46
185
|
};
|
|
47
|
-
this.
|
|
48
|
-
const slotInput = this.element.
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
186
|
+
this.inputSetUp = () => {
|
|
187
|
+
const slotInput = this.element.querySelectorAll(":scope > input");
|
|
188
|
+
const input = slotInput[slotInput.length - 1] || document.createElement("input");
|
|
189
|
+
input.slot = "choiceinput";
|
|
190
|
+
input.disabled = this.getDisabled();
|
|
191
|
+
input.id = this.identifier || this.choiceId;
|
|
192
|
+
input.type = this.type;
|
|
193
|
+
input.name = this.name;
|
|
194
|
+
input.value = this.value;
|
|
195
|
+
input.checked = this.checked;
|
|
196
|
+
input.required = this.required;
|
|
197
|
+
input.ariaDescription = this.accessibleDescription;
|
|
59
198
|
if (this.accessibleControls) {
|
|
60
|
-
|
|
199
|
+
input.setAttribute("aria-controls", this.accessibleControls);
|
|
61
200
|
}
|
|
62
201
|
if (this.accessibleActiveDescendant) {
|
|
63
|
-
|
|
202
|
+
input.setAttribute("aria-activedescendant", this.accessibleActiveDescendant);
|
|
64
203
|
}
|
|
65
204
|
if (this.accessibleLabelledBy) {
|
|
66
|
-
|
|
205
|
+
input.setAttribute("aria-labelledby", this.accessibleLabelledBy);
|
|
67
206
|
}
|
|
68
207
|
if (this.accessibleDetails) {
|
|
69
|
-
|
|
208
|
+
input.setAttribute("aria-details", this.accessibleDetails);
|
|
70
209
|
}
|
|
71
210
|
if (this.accessibleOwns) {
|
|
72
|
-
|
|
211
|
+
input.setAttribute("aria-owns", this.accessibleOwns);
|
|
73
212
|
}
|
|
74
213
|
if (this.getAriaDescribedby()) {
|
|
75
|
-
|
|
214
|
+
input.setAttribute("aria-describedby", this.getAriaDescribedby());
|
|
76
215
|
}
|
|
77
|
-
|
|
78
|
-
if (slotInput) {
|
|
79
|
-
this.radioInputListenersRemove(
|
|
216
|
+
input.ariaLabel = this.getLabel();
|
|
217
|
+
if (slotInput.length > 0) {
|
|
218
|
+
this.radioInputListenersRemove(input);
|
|
80
219
|
}
|
|
81
220
|
else {
|
|
82
|
-
this.element.appendChild(
|
|
221
|
+
this.element.appendChild(input);
|
|
83
222
|
}
|
|
84
|
-
this.radioInputListenersAdd(
|
|
85
|
-
this.focusableElement =
|
|
223
|
+
this.radioInputListenersAdd(input);
|
|
224
|
+
this.focusableElement = input;
|
|
86
225
|
};
|
|
87
226
|
/**
|
|
88
227
|
* Component event handling.
|
|
@@ -163,49 +302,6 @@ const DuetChoice = class {
|
|
|
163
302
|
}, 150);
|
|
164
303
|
}
|
|
165
304
|
};
|
|
166
|
-
this.focus = false;
|
|
167
|
-
this.isHovering = false;
|
|
168
|
-
this.isInfoOpen = false;
|
|
169
|
-
this.theme = "";
|
|
170
|
-
this.label = "label";
|
|
171
|
-
this.accessibleLabelInfoButtonDefaults = commonStrings.DuetStringsExternalDefaults;
|
|
172
|
-
this.accessibleLabelInfoButton = languageUtils.getLocaleString(this.accessibleLabelInfoButtonDefaults);
|
|
173
|
-
this.accessibleActiveDescendant = undefined;
|
|
174
|
-
this.accessibleControls = undefined;
|
|
175
|
-
this.accessibleOwns = undefined;
|
|
176
|
-
this.accessibleDescribedBy = undefined;
|
|
177
|
-
this.accessibleDetails = undefined;
|
|
178
|
-
this.accessibleLabelledBy = undefined;
|
|
179
|
-
this.accessibleDescription = undefined;
|
|
180
|
-
this.caption = "";
|
|
181
|
-
this.value = undefined;
|
|
182
|
-
this.type = "checkbox";
|
|
183
|
-
this.name = undefined;
|
|
184
|
-
this.checked = false;
|
|
185
|
-
this.collapsible = false;
|
|
186
|
-
this.collapsibleForceExpanded = false;
|
|
187
|
-
this.margin = "auto";
|
|
188
|
-
this.icon = "";
|
|
189
|
-
this.expand = false;
|
|
190
|
-
this.padding = "auto";
|
|
191
|
-
this.identifier = undefined;
|
|
192
|
-
this.groupDirection = undefined;
|
|
193
|
-
this.groupDisabled = undefined;
|
|
194
|
-
this.groupResponsive = undefined;
|
|
195
|
-
this.disabled = false;
|
|
196
|
-
this.required = false;
|
|
197
|
-
this.infoLabelDefaults = {
|
|
198
|
-
fi: "Lisätietoja vaihtoehdosta",
|
|
199
|
-
en: "More information about",
|
|
200
|
-
sv: "Mera information om",
|
|
201
|
-
};
|
|
202
|
-
this.infoLabel = languageUtils.getLocaleString(this.infoLabelDefaults, languageUtils.getLanguage());
|
|
203
|
-
this.collapsibleNotificationDefaults = {
|
|
204
|
-
fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
205
|
-
en: "This choice has additional information opened below",
|
|
206
|
-
sv: "Det här val har mer information som öppnades nedan",
|
|
207
|
-
};
|
|
208
|
-
this.collapsibleNotification = languageUtils.getLocaleString(this.collapsibleNotificationDefaults, languageUtils.getLanguage());
|
|
209
305
|
}
|
|
210
306
|
/**
|
|
211
307
|
* Component lifecycle events.
|
|
@@ -229,9 +325,7 @@ const DuetChoice = class {
|
|
|
229
325
|
this.duetChoiceReady.emit();
|
|
230
326
|
}
|
|
231
327
|
componentDidRender() {
|
|
232
|
-
|
|
233
|
-
this.radioInputSetUp();
|
|
234
|
-
}
|
|
328
|
+
this.inputSetUp();
|
|
235
329
|
}
|
|
236
330
|
disconnectedCallback() {
|
|
237
331
|
languageUtils.disconnectLanguageChangeObserver(this);
|
|
@@ -276,7 +370,7 @@ const DuetChoice = class {
|
|
|
276
370
|
if (this.accessibleDescribedBy) {
|
|
277
371
|
return this.accessibleDescribedBy;
|
|
278
372
|
}
|
|
279
|
-
if (this.collapsible || this.hasInfo) {
|
|
373
|
+
if ((this.collapsible || this.hasInfo) && this.getExpanded()) {
|
|
280
374
|
if (this.hasHeader) {
|
|
281
375
|
return this.headerId;
|
|
282
376
|
}
|
|
@@ -343,8 +437,7 @@ const DuetChoice = class {
|
|
|
343
437
|
* Always the last one in the class.
|
|
344
438
|
*/
|
|
345
439
|
render() {
|
|
346
|
-
|
|
347
|
-
return (index.h(index.Host, { key: '769363c98f975c9f2881acdc911ba2cd28c36351', class: {
|
|
440
|
+
return (index.h(index.Host, { key: '3cd595ba657c1527c2f790fc1e1d162c63c912ca', class: {
|
|
348
441
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
349
442
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
350
443
|
"duet-m-0": this.margin === "none",
|
|
@@ -352,10 +445,10 @@ const DuetChoice = class {
|
|
|
352
445
|
"duet-theme-turva": this.theme === "turva",
|
|
353
446
|
"no-hover": this.isHovering,
|
|
354
447
|
disabled: this.getDisabled(),
|
|
355
|
-
} }, index.h("div", { key: '
|
|
448
|
+
} }, index.h("div", { key: '7acf5e8f9ba7dd5950ad6d218d2da20adb64b513', class: {
|
|
356
449
|
"duet-choice-card-flextainer": true,
|
|
357
450
|
"duet-theme-turva": this.theme === "turva",
|
|
358
|
-
} }, index.h("div", { key: '
|
|
451
|
+
} }, index.h("div", { key: '473a2f20bdd827050e9a6006f71085ee73b2da7b', class: {
|
|
359
452
|
"duet-choice-card": true,
|
|
360
453
|
"has-icon": !!this.icon,
|
|
361
454
|
"has-info": this.hasInfo,
|
|
@@ -364,32 +457,90 @@ const DuetChoice = class {
|
|
|
364
457
|
collapsible: this.collapsible,
|
|
365
458
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
366
459
|
"duet-p-0": this.padding === "none",
|
|
367
|
-
} },
|
|
460
|
+
} }, index.h("slot", { key: '72cb91da3988022bd7f221986e16fb90610cc5f5', name: "choiceinput" }), index.h("label", { key: '36619c729ed3cdad2272b5a4448cfd360069074b', class: {
|
|
368
461
|
"duet-choice-label": true,
|
|
369
462
|
"has-before-text": this.hasBeforeText,
|
|
370
463
|
checked: this.checked,
|
|
371
464
|
focus: this.focus,
|
|
372
465
|
disabled: this.getDisabled(),
|
|
373
|
-
}, onClick: this.onClick }, this.hasBeforeText && index.h("slot", { key: '
|
|
466
|
+
}, onClick: this.onClick }, this.hasBeforeText && index.h("slot", { key: 'ac1cf1b20636e148580edcddcd59647a967af71f', name: "before-text" }), this.icon && (index.h("div", { key: 'ff24b7015eb15a19fc6fbbc8571f504eeaedeb9c', class: "duet-choice-card-icon" }, index.h("duet-icon", { key: 'e918484b339f07a43fcb6d29b9e05d1f538c039f', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), index.h("div", { key: '0b26a3a48e73784c5fbc6313e796a5c5bff6d095', class: "duet-choice-card-text" }, index.h("div", { key: '4ff71e94dc64417f5eceea9c6b5b2564934e91a1' }, this.hasLabel ? index.h("slot", { name: "label" }) : this.label), this.caption && (index.h("div", { key: 'b5a9af3867e2fa6e9855b3eadcce9402f6ebf0a9' }, index.h("duet-spacer", { key: 'bdca93dda657e78bfedf162ac260ee2958cfc706', size: "xx-small" }), index.h("duet-caption", { key: 'bcc955a445b81584b183e12bf0635dc7ce50c9f6', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (index.h("div", { key: 'f6466d09b9c933177ad99d78934c3ad4ea346f14' }, index.h("duet-spacer", { key: '57c7d16263fd21d13125994e447cde914c808ad6', size: "xx-small" }), index.h("slot", { key: 'e597e6d6a3d9daab59cf3409326768551c76ead1', name: "additional" })))), index.h("div", { key: 'c14c337e3dacf67b9f65a0c1664d18a1e3843237' }, index.h("div", { key: 'e4dda03f92c9927288f8b1a64280ffcd61218744', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && index.h("div", { key: '7a2b4382dba7aca1719181b6195748ed8ed5e8be', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (index.h("button", { key: '0bf2114a4ab8c6460d16b4b142c502cf3b4093fe', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
374
467
|
"duet-choice-info-toggle": true,
|
|
375
468
|
"duet-theme-turva": this.theme === "turva",
|
|
376
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, index.h("div", { key: '
|
|
469
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, index.h("div", { key: '1f66a70722f9096620b8cb7923ae4557b1e83261', class: "duet-choice-info-icon" }, index.h("duet-icon", { key: '880807ed6905e1932917e1553fb9321ce00f4271', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (index.h("span", { key: '576e9c8837ebac9641d9d6005c896013485be87f', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (index.h("div", { class: this.getClassNames(), id: this.expandId }, index.h("span", { class: {
|
|
377
470
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
378
471
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
379
472
|
} }, index.h("span", { id: this.headerId }, index.h("slot", { name: "header" })), this.hasInfo ? (index.h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, index.h("span", null, index.h("slot", { name: "info" })), index.h("slot", null))) : (index.h("span", { id: `${this.choiceId}-collapsible-content` }, index.h("slot", null)))))) : null));
|
|
380
473
|
}
|
|
381
474
|
get element() { return index.getElement(this); }
|
|
382
475
|
};
|
|
383
|
-
DuetChoice.style =
|
|
476
|
+
DuetChoice.style = duetChoiceCss;
|
|
384
477
|
|
|
385
478
|
const duetChoiceGroupCss = "*,*::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%}:host(.horizontal) .duet-choice-group{display:block;margin-bottom:-12px}:host(.horizontal) .duet-choice-group.duet-no-stacking{display:flex}@media (min-width: 48em){:host(.horizontal) .duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){:host(.horizontal) .duet-choice-group{display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:block}}:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
386
|
-
const DuetChoiceGroupStyle0 = duetChoiceGroupCss;
|
|
387
479
|
|
|
388
480
|
const DuetChoiceGroup = class {
|
|
389
481
|
constructor(hostRef) {
|
|
390
482
|
index.registerInstance(this, hostRef);
|
|
391
483
|
this.choiceGroupName = "duet-choice-group";
|
|
392
484
|
this.choices = new Set();
|
|
485
|
+
/**
|
|
486
|
+
* Direction of the choice group.
|
|
487
|
+
*/
|
|
488
|
+
this.direction = "vertical";
|
|
489
|
+
/**
|
|
490
|
+
* Controls the margin of the component.
|
|
491
|
+
*/
|
|
492
|
+
this.margin = "auto";
|
|
493
|
+
/**
|
|
494
|
+
* Theme of the choice group.
|
|
495
|
+
*/
|
|
496
|
+
this.theme = "";
|
|
497
|
+
/**
|
|
498
|
+
* Display choice group in error state along with an error message.
|
|
499
|
+
*/
|
|
500
|
+
this.error = "";
|
|
501
|
+
/**
|
|
502
|
+
* Legend displayed for the choice buttons in this group.
|
|
503
|
+
*/
|
|
504
|
+
this.label = "Label";
|
|
505
|
+
/**
|
|
506
|
+
* Visually hide the label, but still show it to screen readers.
|
|
507
|
+
*/
|
|
508
|
+
this.labelHidden = false;
|
|
509
|
+
/**
|
|
510
|
+
* Additional caption to show inside the label of the choice group.
|
|
511
|
+
*/
|
|
512
|
+
this.caption = undefined;
|
|
513
|
+
/**
|
|
514
|
+
* Tooltip to display next to the label of the choice group.
|
|
515
|
+
*/
|
|
516
|
+
this.tooltip = undefined;
|
|
517
|
+
/**
|
|
518
|
+
* With direction setting you can force the tooltip to always open towards left
|
|
519
|
+
* or right instead of automatically determining the direction.
|
|
520
|
+
*/
|
|
521
|
+
this.tooltipDirection = "auto";
|
|
522
|
+
/**
|
|
523
|
+
* Enable or disable the automatic responsive behaviour of the choice group
|
|
524
|
+
* component when horizontal setting is used. Setting this option to "true"
|
|
525
|
+
* makes sure that contents are stacked vertically on mobile.
|
|
526
|
+
*/
|
|
527
|
+
this.responsive = false;
|
|
528
|
+
/**
|
|
529
|
+
* Switch the breakpoint used to trigger the content stacking. These match to
|
|
530
|
+
* similar media query tokens eg.: $media-query-small, $media-query-medium.
|
|
531
|
+
*/
|
|
532
|
+
this.breakpoint = "small";
|
|
533
|
+
/**
|
|
534
|
+
* Sets whether making a choice is required or optional. Will set contained choices to required as well.
|
|
535
|
+
*/
|
|
536
|
+
this.required = false;
|
|
537
|
+
/**
|
|
538
|
+
* The aria-live attribute for the error message. When the input is validated on blur, use "off", as using "polite" or "assertive"
|
|
539
|
+
* makes the screen reader read the error message twice. When the input is validated on submit, use "polite", as "off" would leave
|
|
540
|
+
* the messages unread by screen readers. Use "assertive" only in those rare cases when "polite" would leave the error message
|
|
541
|
+
* unread by screen readers.
|
|
542
|
+
*/
|
|
543
|
+
this.accessibleLiveError = "polite";
|
|
393
544
|
/**
|
|
394
545
|
* Component event handling.
|
|
395
546
|
*/
|
|
@@ -414,22 +565,6 @@ const DuetChoiceGroup = class {
|
|
|
414
565
|
this.choices.delete(choice);
|
|
415
566
|
this.updateChoices();
|
|
416
567
|
};
|
|
417
|
-
this.direction = "vertical";
|
|
418
|
-
this.margin = "auto";
|
|
419
|
-
this.theme = "";
|
|
420
|
-
this.error = "";
|
|
421
|
-
this.name = undefined;
|
|
422
|
-
this.label = "Label";
|
|
423
|
-
this.labelHidden = false;
|
|
424
|
-
this.caption = undefined;
|
|
425
|
-
this.tooltip = undefined;
|
|
426
|
-
this.tooltipDirection = "auto";
|
|
427
|
-
this.responsive = false;
|
|
428
|
-
this.breakpoint = "small";
|
|
429
|
-
this.value = undefined;
|
|
430
|
-
this.disabled = undefined;
|
|
431
|
-
this.required = false;
|
|
432
|
-
this.accessibleLiveError = "polite";
|
|
433
568
|
}
|
|
434
569
|
/**
|
|
435
570
|
* Component lifecycle events.
|
|
@@ -498,14 +633,14 @@ const DuetChoiceGroup = class {
|
|
|
498
633
|
* Always the last one in the class.
|
|
499
634
|
*/
|
|
500
635
|
render() {
|
|
501
|
-
return (index.h(index.Host, { key: '
|
|
636
|
+
return (index.h(index.Host, { key: '967a67b10f45d108c5d7eb2d2ff250a4396695fd', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
502
637
|
horizontal: this.direction === "horizontal",
|
|
503
638
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
504
639
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
505
640
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
506
641
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
507
642
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
508
|
-
} }, index.h("duet-fieldset", { key: '
|
|
643
|
+
} }, index.h("duet-fieldset", { key: '6f58bf64cc5ca2326e2595305e24f9932846c4a1', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (index.h("duet-tooltip", { key: 'b4ea4ca439481dac9f3f771f440a95b8786ec5da', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), index.h("slot", { key: '150cf49e738b7c3ea6af895e7de008ef4a4ad03e', name: "tooltip" }), index.h("div", { key: 'a15d6d6ce5d5a8fa87af640b53e7ee614177065f', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, index.h("slot", { key: '93df359f90c758766148ec0ca19a2f497cfd1c56' })))));
|
|
509
644
|
}
|
|
510
645
|
get element() { return index.getElement(this); }
|
|
511
646
|
static get watchers() { return {
|
|
@@ -516,7 +651,7 @@ const DuetChoiceGroup = class {
|
|
|
516
651
|
"responsive": ["updateChoices"]
|
|
517
652
|
}; }
|
|
518
653
|
};
|
|
519
|
-
DuetChoiceGroup.style =
|
|
654
|
+
DuetChoiceGroup.style = duetChoiceGroupCss;
|
|
520
655
|
|
|
521
656
|
exports.duet_choice = DuetChoice;
|
|
522
657
|
exports.duet_choice_group = DuetChoiceGroup;
|