@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,12 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const tokenUtils = require('./token-utils-12717808.js');
|
|
11
|
-
require('./tokens.module-46ddb47a.js');
|
|
6
|
+
var index = require('./index-C-4fRZp1.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-C57DSx5w.js');
|
|
8
|
+
var tokenUtils = require('./token-utils-CHLLcMzU.js');
|
|
9
|
+
require('./tokens.module-7opSZfop.js');
|
|
12
10
|
|
|
13
11
|
const cleanupSvg = (svgContent) => {
|
|
14
12
|
if (typeof document === "undefined" || !svgContent) {
|
|
@@ -94,24 +92,65 @@ function fetchIconByUrl(url) {
|
|
|
94
92
|
}
|
|
95
93
|
|
|
96
94
|
const duetIconCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(7deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat;mask-position:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-7deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;overflow:clip;fill:currentColor;overflow-clip-margin:1px}:host([size=auto]) .duet-icon-svg{width:100%;height:100%}:host([size=xxx-small]) .duet-icon-svg{width:7px;height:7px}:host([size=xxx-small]) .duet-icon-has-background{padding:6px}:host([size=xxx-small]) .duet-icon-has-outline{padding:4px}:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg{width:10px;height:10px}:host([size=xxx-small]) .duet-icon-shape-brand{padding:0}:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg{width:0;height:0}:host([size=xx-small]) .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-icon-has-background{padding:8px}:host([size=xx-small]) .duet-icon-has-outline{padding:7px}:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg{width:16px;height:16px}:host([size=xx-small]) .duet-icon-shape-brand{padding:4px}:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand{width:18px;height:15px;padding:0}:host([size=x-small]) .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-icon-has-outline{padding:10px}:host([size=x-small]) .duet-icon-has-background{padding:12px}:host([size=x-small]) .duet-icon-shape-brand{padding:8px}:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand{width:32px;height:30px;padding:0}:host([size=small]) .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-icon-has-background{padding:14px}:host([size=small]) .duet-icon-shape-brand{padding:8px}:host([size=small]) .duet-icon-shape-brand .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-theme-turva .duet-icon-shape-brand{width:36px;height:34px;padding:0}:host([size=medium]) .duet-icon-shape-brand{padding:12px}:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg{width:24px;height:24px}:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand{width:48px;height:44px;padding:0}:host([size=large]) .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-icon-shape-brand{padding:16px}:host([size=large]) .duet-icon-shape-brand .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-theme-turva .duet-icon-shape-brand{width:62px;height:56px;padding:0}:host([size=x-large]) .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-icon-shape-brand{padding:20px}:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand{width:76px;height:68px;padding:0}:host([size=xx-large]) .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-icon-shape-brand{padding:24px}:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand{width:95px;height:86px;padding:0}:host([size=xxx-large]) .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){:host([size=xxx-large]) .duet-icon-svg{width:72px;height:72px}}:host([size=xxx-large]) .duet-icon-shape-brand{padding:36px}:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg{width:72px;height:72px}:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand{width:144px;height:130px;padding:0}";
|
|
97
|
-
const DuetIconStyle0 = duetIconCss;
|
|
98
95
|
|
|
99
96
|
const DuetIcon = class {
|
|
100
97
|
constructor(hostRef) {
|
|
101
98
|
index.registerInstance(this, hostRef);
|
|
102
|
-
|
|
99
|
+
/**
|
|
100
|
+
* Theme of the icon. This setting will be overridden when you set the color
|
|
101
|
+
* property
|
|
102
|
+
*/
|
|
103
103
|
this.theme = "";
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
/**
|
|
105
|
+
* Icon name from Duet to display.
|
|
106
|
+
*/
|
|
106
107
|
this.name = "action-add";
|
|
108
|
+
/**
|
|
109
|
+
* Controls the margin of the component.
|
|
110
|
+
*/
|
|
107
111
|
this.margin = "auto";
|
|
112
|
+
/**
|
|
113
|
+
* Whether the icon changes its size responsively or not.
|
|
114
|
+
*/
|
|
108
115
|
this.responsive = true;
|
|
116
|
+
/**
|
|
117
|
+
* Custom color to be used for the icon, as a design token entered in camelCase
|
|
118
|
+
* or kebab-case. Example: "color-primary". This property can also be set to
|
|
119
|
+
* "currentColor" which forces the icon to use the CSS text color of parent
|
|
120
|
+
* element instead. Useful when you want to control the color in stylesheet
|
|
121
|
+
* instead.
|
|
122
|
+
*/
|
|
109
123
|
this.color = "";
|
|
124
|
+
/**
|
|
125
|
+
* Custom color to be used for a circular background, as a design token entered
|
|
126
|
+
* in camelCase or kebab-case. Using this option the icon will always be resized
|
|
127
|
+
* to $size-icon-medium on mobile viewports. Example: "color-primary".
|
|
128
|
+
*/
|
|
110
129
|
this.background = "";
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
* Opacity of the background. Possible value in between 0-1. For example 0.75.
|
|
133
|
+
*/
|
|
111
134
|
this.backgroundOpacity = 1;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
* Rotation of the background. Possible value in between 0-360. For example 30.
|
|
138
|
+
*/
|
|
112
139
|
this.backgroundRotation = 0;
|
|
140
|
+
/**
|
|
141
|
+
* Icon size. Entered as one of the icon size design tokens.
|
|
142
|
+
*/
|
|
113
143
|
this.size = "medium";
|
|
144
|
+
/**
|
|
145
|
+
* Custom color to be used for a circular border and icon outline, as a design
|
|
146
|
+
* token entered in camelCase or kebab-case. Using this option the icon will
|
|
147
|
+
* always be resized to $size-icon-medium on mobile viewports.
|
|
148
|
+
* Example: "color-primary".
|
|
149
|
+
*/
|
|
114
150
|
this.outline = "";
|
|
151
|
+
/**
|
|
152
|
+
* Shape of the background. Brand follows new designs and currently doesn't support xxx-small size.
|
|
153
|
+
*/
|
|
115
154
|
this.shape = "circle";
|
|
116
155
|
}
|
|
117
156
|
/**
|
|
@@ -144,12 +183,17 @@ const DuetIcon = class {
|
|
|
144
183
|
return;
|
|
145
184
|
}
|
|
146
185
|
}
|
|
147
|
-
const src = this.src ? this.src : buildIconUrl(this.name);
|
|
148
|
-
|
|
149
|
-
|
|
186
|
+
const src = this.src ? this.src : this.name ? buildIconUrl(this.name) : "";
|
|
187
|
+
if (src) {
|
|
188
|
+
try {
|
|
189
|
+
this.svgContent = await fetchIconByUrl(src);
|
|
190
|
+
}
|
|
191
|
+
catch (e) {
|
|
192
|
+
console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${src}.`, e);
|
|
193
|
+
}
|
|
150
194
|
}
|
|
151
|
-
|
|
152
|
-
|
|
195
|
+
else {
|
|
196
|
+
this.svgContent = "";
|
|
153
197
|
}
|
|
154
198
|
}
|
|
155
199
|
/**
|
|
@@ -175,11 +219,11 @@ const DuetIcon = class {
|
|
|
175
219
|
: {};
|
|
176
220
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
177
221
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
178
|
-
return (index.h(index.Host, { key: '
|
|
222
|
+
return (index.h(index.Host, { key: 'cf31c647893de38fbf76528f89e04a6ddf0c6aed', class: {
|
|
179
223
|
"duet-m-0": this.margin === "none",
|
|
180
224
|
"duet-icon-has-outline": !!this.outline,
|
|
181
225
|
"duet-icon-has-background": !!this.background,
|
|
182
|
-
} }, index.h("span", { key: '
|
|
226
|
+
} }, index.h("span", { key: '4fd35914dddff28bc3173617b0658a62682d4710', "aria-hidden": "true", style: styles, class: {
|
|
183
227
|
"duet-icon": true,
|
|
184
228
|
"duet-theme-turva": this.theme === "turva",
|
|
185
229
|
"duet-theme-default": this.theme === "default",
|
|
@@ -188,7 +232,7 @@ const DuetIcon = class {
|
|
|
188
232
|
[shapeStyle]: true,
|
|
189
233
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
190
234
|
"duet-icon-not-responsive": !this.responsive,
|
|
191
|
-
} }, index.h("span", { key: '
|
|
235
|
+
} }, index.h("span", { key: '7c643f42d59572d41c5a076bd94c3a56eaf5eac6', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
192
236
|
}
|
|
193
237
|
get element() { return index.getElement(this); }
|
|
194
238
|
static get watchers() { return {
|
|
@@ -197,6 +241,6 @@ const DuetIcon = class {
|
|
|
197
241
|
"name": ["loadIcon"]
|
|
198
242
|
}; }
|
|
199
243
|
};
|
|
200
|
-
DuetIcon.style =
|
|
244
|
+
DuetIcon.style = duetIconCss;
|
|
201
245
|
|
|
202
246
|
exports.duet_icon = DuetIcon;
|
|
@@ -3,29 +3,38 @@
|
|
|
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 formSearch = require('./form-search-CzPfHB80.js');
|
|
9
|
+
var themeableComponent = require('./themeable-component-C57DSx5w.js');
|
|
10
|
+
var label = require('./label-BYZNaLK_.js');
|
|
11
|
+
var createId = require('./create-id-DtslnIOq.js');
|
|
12
|
+
var inputUtils = require('./input-utils-DUKdslOM.js');
|
|
13
|
+
var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
|
|
14
|
+
var languageUtils = require('./language-utils-DjPkoVoW.js');
|
|
15
|
+
var slotUtils = require('./slot-utils-DYGV7vRF.js');
|
|
16
|
+
var tokenUtils = require('./token-utils-CHLLcMzU.js');
|
|
17
|
+
require('./string-utils-B35hEUBv.js');
|
|
18
|
+
require('./tokens.module-7opSZfop.js');
|
|
7
19
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
11
|
-
const label = require('./label-2abeac23.js');
|
|
12
|
-
const createId = require('./create-id-1f8c438f.js');
|
|
13
|
-
const inputUtils = require('./input-utils-1096a2c5.js');
|
|
14
|
-
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
15
|
-
const languageUtils = require('./language-utils-b5940c7b.js');
|
|
16
|
-
const slotUtils = require('./slot-utils-382633cf.js');
|
|
17
|
-
const tokenUtils = require('./token-utils-12717808.js');
|
|
18
|
-
require('./string-utils-7b13c16e.js');
|
|
19
|
-
require('./tokens.module-46ddb47a.js');
|
|
20
|
+
var formEmail;
|
|
21
|
+
var hasRequiredFormEmail;
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
function requireFormEmail () {
|
|
24
|
+
if (hasRequiredFormEmail) return formEmail;
|
|
25
|
+
hasRequiredFormEmail = 1;
|
|
26
|
+
formEmail={"title":"form-email","tags":"form email","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z\"/></svg>"};
|
|
27
|
+
return formEmail;
|
|
28
|
+
}
|
|
22
29
|
|
|
23
|
-
const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input,.has-error .duet-input[disabled]{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon,.has-error .duet-input[disabled]+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{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;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-help{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(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button{position:relative;width:100%}.duet-input-variation-button .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
24
|
-
|
|
30
|
+
var formEmailExports = requireFormEmail();
|
|
31
|
+
var emailIcon = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(formEmailExports);
|
|
32
|
+
|
|
33
|
+
const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input,.has-error .duet-input[disabled]{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon,.has-error .duet-input[disabled]+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{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;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-help{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(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button,.duet-input-variation-button-left{position:relative;width:100%}.duet-input-variation-button .duet-input-relative,.duet-input-variation-button-left .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button,.duet-input-variation-button-left .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button-left .duet-input-relative{border-radius:4px}.duet-input-variation-button-left.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-button-left.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-button-left:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-button-left.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-button-left .duet-input:focus,.duet-input-variation-button-left .duet-input:hover:not(.disabled){box-shadow:none !important}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left .duet-input-relative .duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
25
34
|
|
|
26
35
|
const icons = {
|
|
27
|
-
search: formSearch.
|
|
28
|
-
email:
|
|
36
|
+
search: formSearch.searchIcon,
|
|
37
|
+
email: emailIcon,
|
|
29
38
|
};
|
|
30
39
|
const DuetInput = class {
|
|
31
40
|
constructor(hostRef) {
|
|
@@ -82,6 +91,143 @@ const DuetInput = class {
|
|
|
82
91
|
fi: "valittu",
|
|
83
92
|
sv: "valt",
|
|
84
93
|
};
|
|
94
|
+
/**
|
|
95
|
+
* State() variables
|
|
96
|
+
*/
|
|
97
|
+
this.language = languageUtils.getLanguage();
|
|
98
|
+
/**
|
|
99
|
+
* Indicates whether the input is focused.
|
|
100
|
+
*/
|
|
101
|
+
this.isFocused = false;
|
|
102
|
+
/**
|
|
103
|
+
* Indicates the id or a string of space seperated ids of a component(s) that describes the input.
|
|
104
|
+
*/
|
|
105
|
+
this.accessibleDescribedBy = "";
|
|
106
|
+
/**
|
|
107
|
+
* Indicates value of any popup element associated with the input.
|
|
108
|
+
*/
|
|
109
|
+
this.accessibleHasPopup = undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Aria Details of the component
|
|
112
|
+
*/
|
|
113
|
+
this.accessibleDetails = undefined;
|
|
114
|
+
/**
|
|
115
|
+
* String of id's that indicate alternative labels elements
|
|
116
|
+
*/
|
|
117
|
+
this.accessibleLabelledBy = undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Aria description the button
|
|
120
|
+
*/
|
|
121
|
+
this.accessibleDescription = undefined;
|
|
122
|
+
/**
|
|
123
|
+
* The aria-live attribute for the error message. When the input is validated on blur, use "off", as using "polite" or "assertive"
|
|
124
|
+
* makes the screen reader read the error message twice. When the input is validated on submit, use "polite", as "off" would leave
|
|
125
|
+
* the messages unread by screen readers. Use "assertive" only in those rare cases when "polite" would leave the error message
|
|
126
|
+
* unread by screen readers.
|
|
127
|
+
*/
|
|
128
|
+
this.accessibleLiveError = "polite";
|
|
129
|
+
/**
|
|
130
|
+
* Set the amount of time, in milliseconds, to wait to trigger the duetChange
|
|
131
|
+
* event after each keystroke.
|
|
132
|
+
*/
|
|
133
|
+
this.debounce = 0;
|
|
134
|
+
/**
|
|
135
|
+
* If set, the input field will display a clear button that can be accessed with tabbing.
|
|
136
|
+
*/
|
|
137
|
+
this.clear = false;
|
|
138
|
+
/**
|
|
139
|
+
* If form input field has a placeholder text, and user types anything (causing the placeholder text to disappear),
|
|
140
|
+
* settings this to true will "echo" it into the caption slot - this option will be false by default for the next few versions, but will eventually be true by default (scheduled for 4.30.0)
|
|
141
|
+
*/
|
|
142
|
+
this.echoPlaceholder = false;
|
|
143
|
+
/**
|
|
144
|
+
* Theme of the input.
|
|
145
|
+
*/
|
|
146
|
+
this.theme = "";
|
|
147
|
+
/**
|
|
148
|
+
* Expands the input to fill 100% of the container width.
|
|
149
|
+
*/
|
|
150
|
+
this.expand = false;
|
|
151
|
+
/**
|
|
152
|
+
* Makes the input component disabled. This prevents users from being able to
|
|
153
|
+
* interact with the input, and conveys its inactive state to assistive technologies.
|
|
154
|
+
*/
|
|
155
|
+
this.disabled = false;
|
|
156
|
+
/**
|
|
157
|
+
* Controls the margin of the component.
|
|
158
|
+
*/
|
|
159
|
+
this.margin = "auto";
|
|
160
|
+
/**
|
|
161
|
+
* Alignment of the input element
|
|
162
|
+
*/
|
|
163
|
+
this.inputAlign = "left";
|
|
164
|
+
/**
|
|
165
|
+
* Padding of the input element. Use this only in special cases, never with regular forms.
|
|
166
|
+
* Setting this to other than the default will not work properly with button variation or
|
|
167
|
+
* together with icons.
|
|
168
|
+
*/
|
|
169
|
+
this.inputPadding = "medium";
|
|
170
|
+
/**
|
|
171
|
+
* Set whether the input is required or not. Please note that this is necessary for
|
|
172
|
+
* accessible inputs when the user is required to fill them. When using this property
|
|
173
|
+
* you need to also set “novalidate” attribute to your form element to prevent
|
|
174
|
+
* browser from displaying its own validation errors.
|
|
175
|
+
*/
|
|
176
|
+
this.required = false;
|
|
177
|
+
/**
|
|
178
|
+
* Type of the input.
|
|
179
|
+
*/
|
|
180
|
+
this.type = "text";
|
|
181
|
+
/**
|
|
182
|
+
* Variation of button. Use "button" to render a button element next to the input, "button-left" to render a button on
|
|
183
|
+
* the left edge of the input, and "revealable" to render a button that reveals the password.
|
|
184
|
+
*/
|
|
185
|
+
this.variation = "default";
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
* Render a container for chips
|
|
189
|
+
*/
|
|
190
|
+
this.chips = false;
|
|
191
|
+
/**
|
|
192
|
+
* Label for the input.
|
|
193
|
+
*/
|
|
194
|
+
this.label = "Label";
|
|
195
|
+
/**
|
|
196
|
+
* Display the input in error state along with an error message.
|
|
197
|
+
*/
|
|
198
|
+
this.error = "";
|
|
199
|
+
/**
|
|
200
|
+
* Visually hide the label, but still show it to screen readers.
|
|
201
|
+
*/
|
|
202
|
+
this.labelHidden = false;
|
|
203
|
+
/**
|
|
204
|
+
* Enable numeric keyboard for the input.
|
|
205
|
+
*/
|
|
206
|
+
this.numericKeyboard = false;
|
|
207
|
+
/**
|
|
208
|
+
* @internal
|
|
209
|
+
* Used internally in Duet to adjust whether this component acts as e.g. number input.
|
|
210
|
+
*/
|
|
211
|
+
this.component = "input";
|
|
212
|
+
/**
|
|
213
|
+
* Enable or disable automatic completion by the browser
|
|
214
|
+
*/
|
|
215
|
+
this.autoComplete = "on";
|
|
216
|
+
/**
|
|
217
|
+
* A regular expression that matches any characters which should be *disallowed*.
|
|
218
|
+
* This differs from `pattern`, as it actively prevents users entering any characters which match the regular expression.
|
|
219
|
+
* e.g. the following will disallow any non-numeric characters `[^0-9]`
|
|
220
|
+
*/
|
|
221
|
+
this.disallowPattern = null;
|
|
222
|
+
/**
|
|
223
|
+
* Tooltip to display next to the label of the input.
|
|
224
|
+
*/
|
|
225
|
+
this.tooltip = "";
|
|
226
|
+
/**
|
|
227
|
+
* With direction setting you can force the tooltip to always open towards left
|
|
228
|
+
* or right instead of automatically determining the direction.
|
|
229
|
+
*/
|
|
230
|
+
this.tooltipDirection = "auto";
|
|
85
231
|
/**
|
|
86
232
|
* Component event handling.
|
|
87
233
|
*/
|
|
@@ -196,54 +342,6 @@ const DuetInput = class {
|
|
|
196
342
|
}
|
|
197
343
|
return this.type;
|
|
198
344
|
};
|
|
199
|
-
this.language = languageUtils.getLanguage();
|
|
200
|
-
this.isPasswordRevealed = undefined;
|
|
201
|
-
this.isFocused = false;
|
|
202
|
-
this.accessibleActiveDescendant = undefined;
|
|
203
|
-
this.accessibleAutocomplete = undefined;
|
|
204
|
-
this.accessibleControls = undefined;
|
|
205
|
-
this.accessibleOwns = undefined;
|
|
206
|
-
this.accessibleExpanded = undefined;
|
|
207
|
-
this.accessibleDescribedBy = "";
|
|
208
|
-
this.accessibleHasPopup = undefined;
|
|
209
|
-
this.accessibleDetails = undefined;
|
|
210
|
-
this.accessibleLabelledBy = undefined;
|
|
211
|
-
this.accessibleDescription = undefined;
|
|
212
|
-
this.accessibleLiveError = "polite";
|
|
213
|
-
this.debounce = 0;
|
|
214
|
-
this.clear = false;
|
|
215
|
-
this.caption = undefined;
|
|
216
|
-
this.echoPlaceholder = false;
|
|
217
|
-
this.theme = "";
|
|
218
|
-
this.expand = false;
|
|
219
|
-
this.disabled = false;
|
|
220
|
-
this.identifier = undefined;
|
|
221
|
-
this.margin = "auto";
|
|
222
|
-
this.inputAlign = "left";
|
|
223
|
-
this.inputPadding = "medium";
|
|
224
|
-
this.required = false;
|
|
225
|
-
this.type = "text";
|
|
226
|
-
this.variation = "default";
|
|
227
|
-
this.chips = false;
|
|
228
|
-
this.label = "Label";
|
|
229
|
-
this.labelColor = undefined;
|
|
230
|
-
this.labelWeight = undefined;
|
|
231
|
-
this.error = "";
|
|
232
|
-
this.labelHidden = false;
|
|
233
|
-
this.numericKeyboard = false;
|
|
234
|
-
this.name = undefined;
|
|
235
|
-
this.pattern = undefined;
|
|
236
|
-
this.maxlength = undefined;
|
|
237
|
-
this.minlength = undefined;
|
|
238
|
-
this.placeholder = undefined;
|
|
239
|
-
this.component = "input";
|
|
240
|
-
this.role = undefined;
|
|
241
|
-
this.icon = undefined;
|
|
242
|
-
this.autoComplete = "on";
|
|
243
|
-
this.disallowPattern = null;
|
|
244
|
-
this.value = undefined;
|
|
245
|
-
this.tooltip = "";
|
|
246
|
-
this.tooltipDirection = "auto";
|
|
247
345
|
}
|
|
248
346
|
disallowedPatternChange() {
|
|
249
347
|
this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "gu") : null;
|
|
@@ -269,6 +367,12 @@ const DuetInput = class {
|
|
|
269
367
|
this.timeoutId = setTimeout(emitEvent, this.debounce);
|
|
270
368
|
}
|
|
271
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* This is a proxy for the enclosed native inputs validity
|
|
372
|
+
*/
|
|
373
|
+
get validity() {
|
|
374
|
+
return this.nativeInput.validity;
|
|
375
|
+
}
|
|
272
376
|
/**
|
|
273
377
|
* Component lifecycle events.
|
|
274
378
|
*/
|
|
@@ -448,7 +552,7 @@ const DuetInput = class {
|
|
|
448
552
|
this.type !== "password" &&
|
|
449
553
|
this.type !== "time" &&
|
|
450
554
|
this.variation !== "button";
|
|
451
|
-
return (index.h(index.Host, { key: '
|
|
555
|
+
return (index.h(index.Host, { key: '2698c40b636f52bb2104c74a23ecd3925237c054', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (index.h("duet-visually-hidden", { key: 'bebef7a5a7b57492709f43d983797ab2d529e58b', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), index.h("div", { key: 'fc6a07da8c902900e1397d79ae1e859942a6f5b1', class: {
|
|
452
556
|
"duet-input-container": true,
|
|
453
557
|
"duet-theme-turva": this.theme === "turva",
|
|
454
558
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -462,7 +566,7 @@ const DuetInput = class {
|
|
|
462
566
|
"has-clear": this.clear,
|
|
463
567
|
"has-focus": this.isFocused,
|
|
464
568
|
disabled: this.disabled,
|
|
465
|
-
} }, index.h("div", { key: '
|
|
569
|
+
} }, index.h("div", { key: '687127884e9d9cd0e7ad8154ce6c0463fb8869f0', class: "duet-input-label-container" }, index.h(label.DuetInternalLabel, { key: '827c2edbdd377574a39ccb5c7c29896b6f714610', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { key: 'a9ece9536b308ac98eec27d357da3c33c3123516', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { key: '4a75b1054494551f2056f54e6510769487e8c069', name: "tooltip" })), this.caption && (index.h("duet-caption", { key: '9bb76c5948b33b1f7a631aa9dc8de48599852b27', id: this.topCaptionId, size: "medium" }, this.caption)), index.h("div", { key: '7a99e9a28efe7d5d497d6ab9a35a9ebfdb27229b', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (index.h("duet-caption", { key: '9b75f9744d1ed4e373b76ac8ac39e86078085ea0', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (index.h("duet-visually-hidden", { key: '826f0a81b9e67c9729f91e80b9e63c367c0cb57b', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${languageUtils.getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && index.h("slot", { key: '9c6b58e34e2195b5a6bf4cd65b4abff5eeb63a7d', name: "button-left" }), index.h("input", Object.assign({ key: 'ac9d982d0fde21d818cabfd0852a8c6f70a6eecb', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
466
570
|
"duet-input": true,
|
|
467
571
|
disabled: this.disabled,
|
|
468
572
|
"is-number": this.component === "number",
|
|
@@ -470,16 +574,16 @@ const DuetInput = class {
|
|
|
470
574
|
"after-chip": this.getAllChips().length > 0,
|
|
471
575
|
"align-right": this.inputAlign === "right",
|
|
472
576
|
[`input-padding-${this.inputPadding}`]: true,
|
|
473
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (index.h("div", { key: '
|
|
577
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (index.h("div", { key: 'd7ea6c3427b3322bca19315c2e53cccfc7c18720', class: "duet-input-icon" }, index.h("duet-icon", { key: '61c4fd1949006b451107d30ae3fd28d64cb190e6', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (index.h("div", { key: 'def3271d3fdac203a5207bae75ddd98e2b5e9468', class: {
|
|
474
578
|
"duet-input-clear-icon": true,
|
|
475
579
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
476
580
|
"duet-input-clear-icon-double": !!this.icon,
|
|
477
581
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
478
|
-
} }, index.h("button", { key: '
|
|
582
|
+
} }, index.h("button", { key: '17de740b399371c65036dca103bfc4c886308390', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, index.h("duet-icon", { key: '2655b6148930c0af787b741eb20a44b8b34759a2', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (index.h("div", { key: '269f9dbfab80af2cdb9bdf0d64244da2020c9fa2', class: "duet-input-icon" }, index.h("duet-icon", { key: '1ad17408d82b564de7a5645e75419a93757200e3', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && index.h("slot", { key: '70516ac151effecf5b422a4a3de2d1dcd19023da', name: "button" }), this.variation === "revealable" && (index.h("duet-button", { key: '7853ad3332cbfdc7c24e84c434e6bf5a0a82f39c', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
479
583
|
? this.hidePasswordLabel[this.language]
|
|
480
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (index.h("duet-visually-hidden", { key: '
|
|
584
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (index.h("duet-visually-hidden", { key: 'b7be6ea65925eab1669e05244a2429ccf34aaada' }, index.h("span", { key: 'cd0074837e59dc04d600b7feae1d4169d7ee29ae', "aria-live": "polite" }, this.isPasswordRevealed
|
|
481
585
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
482
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), index.h("slot", { key: '
|
|
586
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), index.h("slot", { key: 'a22cf48a6d4f750ed4746a5b7d9e3079398e7231' })), index.h("span", { key: 'aafc2df53796f2c27847eca31e88de3e35e5adca', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span", { key: '13e297b0f5d148ae9b92b177db23c0ca3728c7ac', class: "duet-input-error" }, this.error)))));
|
|
483
587
|
}
|
|
484
588
|
get element() { return index.getElement(this); }
|
|
485
589
|
static get watchers() { return {
|
|
@@ -487,19 +591,33 @@ const DuetInput = class {
|
|
|
487
591
|
"value": ["valueChanged"]
|
|
488
592
|
}; }
|
|
489
593
|
};
|
|
490
|
-
DuetInput.style =
|
|
594
|
+
DuetInput.style = duetInputCss;
|
|
491
595
|
|
|
492
596
|
const duetLabelCss = "*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{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)}";
|
|
493
|
-
const DuetLabelStyle0 = duetLabelCss;
|
|
494
597
|
|
|
495
598
|
const DuetLabel = class {
|
|
496
599
|
constructor(hostRef) {
|
|
497
600
|
index.registerInstance(this, hostRef);
|
|
601
|
+
/**
|
|
602
|
+
* Theme of the label.
|
|
603
|
+
*/
|
|
498
604
|
this.theme = "";
|
|
499
|
-
|
|
605
|
+
/**
|
|
606
|
+
* Controls the margin of the component.
|
|
607
|
+
*/
|
|
500
608
|
this.margin = "auto";
|
|
609
|
+
/**
|
|
610
|
+
* Controls the size of the label.
|
|
611
|
+
*/
|
|
501
612
|
this.size = "medium";
|
|
613
|
+
/**
|
|
614
|
+
* Controls the weight of the label.
|
|
615
|
+
*/
|
|
502
616
|
this.weight = "semi-bold";
|
|
617
|
+
/**
|
|
618
|
+
* Custom color to be used for text, as a design token entered in camelCase or kebab-case.
|
|
619
|
+
* Example: "color-primary".
|
|
620
|
+
*/
|
|
503
621
|
this.color = "";
|
|
504
622
|
}
|
|
505
623
|
/**
|
|
@@ -525,7 +643,7 @@ const DuetLabel = class {
|
|
|
525
643
|
}
|
|
526
644
|
get element() { return index.getElement(this); }
|
|
527
645
|
};
|
|
528
|
-
DuetLabel.style =
|
|
646
|
+
DuetLabel.style = duetLabelCss;
|
|
529
647
|
|
|
530
648
|
exports.duet_input = DuetInput;
|
|
531
649
|
exports.duet_label = DuetLabel;
|