@duetds/components 10.0.0-alpha.8 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.d.ts +38 -7
- package/hydrate/index.js +11723 -4211
- package/hydrate/index.mjs +46153 -0
- package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
- package/lib/cjs/a11y-utils-DmZK4TTO.js +46 -0
- 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-99f2f39f.js → app-globals-C35yvbFy.js} +2 -2
- package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
- package/lib/cjs/duet-alert.cjs.entry.js +106 -49
- package/lib/cjs/duet-badge.cjs.entry.js +31 -9
- package/lib/cjs/duet-banner.cjs.entry.js +71 -28
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
- package/lib/cjs/duet-button_2.cjs.entry.js +152 -72
- package/lib/cjs/duet-callout.cjs.entry.js +13 -10
- package/lib/cjs/duet-caption_4.cjs.entry.js +212 -46
- package/lib/cjs/duet-card.cjs.entry.js +93 -35
- package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
- package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
- package/lib/cjs/duet-chip.cjs.entry.js +356 -0
- package/lib/cjs/duet-choice_2.cjs.entry.js +279 -130
- package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
- package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
- package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
- package/lib/cjs/duet-date-picker.cjs.entry.js +158 -57
- package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -210
- package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
- package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
- package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
- package/lib/cjs/duet-footer.cjs.entry.js +56 -30
- package/lib/cjs/duet-grid_2.cjs.entry.js +165 -64
- package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
- package/lib/cjs/duet-hero.cjs.entry.js +159 -35
- package/lib/cjs/duet-icon.cjs.entry.js +64 -20
- package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +225 -86
- package/lib/cjs/duet-layout.cjs.entry.js +33 -13
- package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
- package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -59
- package/lib/cjs/duet-modal.cjs.entry.js +122 -35
- package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
- package/lib/cjs/duet-nav.cjs.entry.js +12 -8
- package/lib/cjs/duet-notification_2.cjs.entry.js +98 -32
- package/lib/cjs/duet-number-input.cjs.entry.js +191 -70
- package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
- package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
- package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
- package/lib/cjs/duet-panel.cjs.entry.js +52 -0
- package/lib/cjs/duet-phone-input.cjs.entry.js +2072 -0
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +550 -0
- package/lib/cjs/duet-progress.cjs.entry.js +32 -13
- package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
- package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
- package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +245 -91
- package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
- package/lib/cjs/duet-select.cjs.entry.js +89 -46
- package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
- package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
- package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout-link.cjs.entry.js +61 -10
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
- package/lib/cjs/duet-slideout.cjs.entry.js +85 -52
- package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
- package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
- package/lib/cjs/duet-textarea.cjs.entry.js +146 -71
- package/lib/cjs/duet-toggle.cjs.entry.js +50 -29
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
- package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
- package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
- package/lib/cjs/duet-tray.cjs.entry.js +63 -24
- 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 +4 -7
- package/lib/cjs/duet.cjs.js +8 -8
- package/lib/cjs/{errorcodes.utils-2db03da6.js → errorcodes.utils-lNwivqkj.js} +2 -2
- package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
- package/lib/cjs/{focus-utils-5578a0a5.js → focus-utils-DFa0zwT7.js} +1 -1
- package/lib/cjs/form-search-CzPfHB80.js +21 -0
- package/lib/cjs/{index-9c3aea30.js → index-C0kw3uAi.js} +1863 -1363
- package/lib/cjs/{label-a742a2d5.js → label-BJ7gT5C1.js} +1 -1
- package/lib/cjs/{language-utils-9499975c.js → language-utils-v37OZJFe.js} +10 -2
- package/lib/cjs/loader.cjs.js +3 -5
- package/lib/cjs/{slot-utils-799906b5.js → slot-utils-DFmRJ2pY.js} +6 -1
- package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
- package/lib/cjs/themeable-component-BEm0vuJc.js +74 -0
- package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
- package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
- package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
- package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
- package/lib/collection/collection-manifest.json +6 -1
- package/lib/collection/common/themeable-component.js +61 -3
- package/lib/collection/common-strings.js +28 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
- package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
- package/lib/collection/components/duet-alert/duet-alert.css +96 -58
- package/lib/collection/components/duet-alert/duet-alert.js +145 -58
- package/lib/collection/components/duet-badge/duet-badge.css +24 -9
- package/lib/collection/components/duet-badge/duet-badge.js +30 -6
- package/lib/collection/components/duet-banner/duet-banner.css +51 -24
- package/lib/collection/components/duet-banner/duet-banner.js +94 -29
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
- package/lib/collection/components/duet-button/duet-button.css +170 -48
- package/lib/collection/components/duet-button/duet-button.js +170 -89
- package/lib/collection/components/duet-callout/duet-callout.css +7 -2
- package/lib/collection/components/duet-callout/duet-callout.js +10 -4
- package/lib/collection/components/duet-caption/duet-caption.css +7 -3
- package/lib/collection/components/duet-caption/duet-caption.js +18 -6
- package/lib/collection/components/duet-card/duet-card.css +48 -16
- package/lib/collection/components/duet-card/duet-card.js +131 -37
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
- package/lib/collection/components/duet-chip/duet-chip.css +66 -25
- package/lib/collection/components/duet-chip/duet-chip.js +67 -35
- package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
- package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
- package/lib/collection/components/duet-choice/duet-choice.css +160 -40
- package/lib/collection/components/duet-choice/duet-choice.js +241 -139
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +97 -35
- package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +103 -56
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
- package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +102 -45
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +172 -69
- package/lib/collection/components/duet-divider/duet-divider.css +12 -6
- package/lib/collection/components/duet-divider/duet-divider.js +14 -4
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
- package/lib/collection/components/duet-footer/duet-footer.css +43 -14
- package/lib/collection/components/duet-footer/duet-footer.js +55 -27
- package/lib/collection/components/duet-grid/duet-grid.css +2 -6
- package/lib/collection/components/duet-grid/duet-grid.js +144 -67
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
- package/lib/collection/components/duet-header/duet-header.css +165 -65
- package/lib/collection/components/duet-header/duet-header.js +165 -76
- package/lib/collection/components/duet-heading/duet-heading.css +11 -6
- package/lib/collection/components/duet-heading/duet-heading.js +56 -12
- package/lib/collection/components/duet-hero/duet-hero.css +326 -18
- package/lib/collection/components/duet-hero/duet-hero.js +197 -51
- package/lib/collection/components/duet-icon/duet-icon.css +17 -5
- package/lib/collection/components/duet-icon/duet-icon.js +71 -24
- package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
- package/lib/collection/components/duet-input/duet-input.css +159 -53
- package/lib/collection/components/duet-input/duet-input.js +315 -141
- package/lib/collection/components/duet-label/duet-label.css +8 -4
- package/lib/collection/components/duet-label/duet-label.js +23 -8
- package/lib/collection/components/duet-layout/duet-layout.css +4 -4
- package/lib/collection/components/duet-layout/duet-layout.js +35 -12
- package/lib/collection/components/duet-link/duet-link.css +144 -25
- package/lib/collection/components/duet-link/duet-link.js +120 -32
- package/lib/collection/components/duet-list/duet-list.css +4 -4
- package/lib/collection/components/duet-list/duet-list.js +38 -9
- package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
- package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
- package/lib/collection/components/duet-logo/duet-logo.css +36 -8
- package/lib/collection/components/duet-logo/duet-logo.js +111 -11
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -58
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
- 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.css +28 -12
- 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 +19 -9
- 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.css +28 -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.css +25 -10
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
- package/lib/collection/components/duet-modal/duet-modal.css +23 -25
- package/lib/collection/components/duet-modal/duet-modal.js +193 -39
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +70 -29
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
- package/lib/collection/components/duet-nav/duet-nav.css +8 -4
- package/lib/collection/components/duet-nav/duet-nav.js +10 -3
- package/lib/collection/components/duet-notification/duet-notification.css +33 -26
- package/lib/collection/components/duet-notification/duet-notification.js +46 -9
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
- package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
- package/lib/collection/components/duet-number-input/duet-number-input.js +204 -103
- package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
- package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
- package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
- package/lib/collection/components/duet-panel/duet-panel.css +99 -0
- package/lib/collection/components/duet-panel/duet-panel.js +233 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +64 -0
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +930 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +245 -91
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
- package/lib/collection/components/duet-progress/duet-progress.css +27 -8
- package/lib/collection/components/duet-progress/duet-progress.js +36 -14
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
- package/lib/collection/components/duet-radio/duet-radio.css +41 -8
- package/lib/collection/components/duet-radio/duet-radio.js +67 -49
- package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +63 -18
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +36 -25
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +175 -31
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
- package/lib/collection/components/duet-select/duet-select.css +54 -23
- package/lib/collection/components/duet-select/duet-select.js +109 -63
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
- package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
- package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
- package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
- package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
- package/lib/collection/components/duet-slideout/duet-slideout.js +88 -50
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +41 -13
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
- package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
- package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
- package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
- package/lib/collection/components/duet-spinner/duet-spinner.js +21 -23
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
- package/lib/collection/components/duet-step/duet-step.css +28 -13
- package/lib/collection/components/duet-step/duet-step.js +25 -16
- package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
- package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
- 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.css +49 -15
- 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.css +29 -8
- 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.css +33 -10
- 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.css +34 -9
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
- package/lib/collection/components/duet-tab/duet-tab.css +15 -11
- package/lib/collection/components/duet-tab/duet-tab.js +88 -24
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +175 -52
- package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
- package/lib/collection/components/duet-table/duet-table.js +43 -14
- package/lib/collection/components/duet-textarea/duet-textarea.css +67 -22
- package/lib/collection/components/duet-textarea/duet-textarea.js +227 -99
- package/lib/collection/components/duet-toggle/duet-toggle.css +26 -10
- package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
- 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.css +21 -8
- 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.css +52 -30
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
- package/lib/collection/components/duet-tray/duet-tray.css +43 -27
- package/lib/collection/components/duet-tray/duet-tray.js +63 -21
- package/lib/collection/components/duet-upload/duet-upload.css +6 -6
- 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.css +3 -3
- 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/a11y-utils.js +20 -0
- package/lib/collection/utils/language-utils.js +7 -0
- package/lib/collection/utils/slot-utils.js +4 -0
- package/lib/collection/utils/teleport.js +22 -7
- package/lib/collection/utils/test-utils.js +2 -2
- package/lib/collection/utils/token-utils.js +59 -7
- package/lib/collection/utils/turva2-color-tokens.js +42 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/p-0393a2ca.entry.js +4 -0
- package/lib/duet/p-0b8da007.entry.js +4 -0
- package/lib/duet/p-0d2652f7.entry.js +4 -0
- package/lib/duet/p-0f746b98.entry.js +4 -0
- package/lib/duet/p-1061ece7.entry.js +4 -0
- package/lib/duet/p-10b89587.entry.js +4 -0
- package/lib/duet/p-155804fc.entry.js +4 -0
- package/lib/duet/p-1695a1dd.entry.js +4 -0
- package/lib/duet/p-1c122e53.entry.js +4 -0
- package/lib/duet/p-1ede805a.entry.js +4 -0
- package/lib/duet/p-1fc5668c.entry.js +4 -0
- package/lib/duet/p-203c2af3.entry.js +4 -0
- package/lib/duet/p-2170d5a6.entry.js +4 -0
- package/lib/duet/{p-98c15b83.entry.js → p-2292ac97.entry.js} +1 -1
- package/lib/duet/p-23719bbb.entry.js +4 -0
- package/lib/duet/p-25a8b510.entry.js +4 -0
- package/lib/duet/p-267d0b7d.entry.js +4 -0
- package/lib/duet/{p-bfafaac4.entry.js → p-333694e4.entry.js} +1 -1
- package/lib/duet/p-36e58097.entry.js +4 -0
- package/lib/duet/p-38159827.entry.js +4 -0
- package/lib/duet/p-3968d0e9.entry.js +4 -0
- package/lib/duet/p-39775eb6.entry.js +4 -0
- package/lib/duet/p-3f940846.entry.js +4 -0
- package/lib/duet/p-3fbe4a4b.entry.js +4 -0
- package/lib/duet/p-3hcgvjwC.js +4 -0
- package/lib/duet/p-40dc43ed.entry.js +4 -0
- package/lib/duet/p-4203ad81.entry.js +4 -0
- package/lib/duet/p-42c15472.entry.js +4 -0
- package/lib/duet/p-43129496.entry.js +4 -0
- package/lib/duet/p-44e37a84.entry.js +4 -0
- package/lib/duet/p-451c55fb.entry.js +4 -0
- package/lib/duet/p-475cc911.entry.js +4 -0
- package/lib/duet/p-47d446f9.entry.js +4 -0
- package/lib/duet/p-4966dc81.entry.js +4 -0
- package/lib/duet/{p-15ecb8d0.entry.js → p-4a86aee3.entry.js} +1 -1
- package/lib/duet/p-4cc6fbda.entry.js +4 -0
- package/lib/duet/p-4d49d2ad.entry.js +4 -0
- package/lib/duet/p-529c4873.entry.js +4 -0
- package/lib/duet/p-53cb5ddf.entry.js +4 -0
- package/lib/duet/p-55243d88.entry.js +4 -0
- package/lib/duet/p-581d7bf3.entry.js +4 -0
- package/lib/duet/p-58ab58da.entry.js +4 -0
- package/lib/duet/p-58f95bf2.entry.js +4 -0
- package/lib/duet/p-5c89aaf2.entry.js +4 -0
- package/lib/duet/p-5e15625d.entry.js +4 -0
- package/lib/duet/p-5iZMFvpJ.js +4 -0
- package/lib/duet/p-6be3d1ac.entry.js +4 -0
- package/lib/duet/p-6cb3031c.entry.js +4 -0
- package/lib/duet/p-7a4f44c2.entry.js +4 -0
- package/lib/duet/p-7b820413.entry.js +4 -0
- package/lib/duet/p-7be47e32.entry.js +4 -0
- package/lib/duet/{p-6138ae4f.entry.js → p-7d3681f4.entry.js} +1 -1
- package/lib/duet/p-80fd305f.entry.js +4 -0
- package/lib/duet/p-85074a3f.entry.js +4 -0
- package/lib/duet/p-871323e5.entry.js +4 -0
- package/lib/duet/p-88682993.entry.js +4 -0
- package/lib/duet/p-8885f050.entry.js +4 -0
- package/lib/duet/p-89c4434a.entry.js +4 -0
- package/lib/duet/p-8a5a900e.entry.js +4 -0
- package/lib/duet/p-96725230.entry.js +4 -0
- package/lib/duet/p-9c2ad6b1.entry.js +4 -0
- package/lib/duet/p-BDAqOMlM.js +4 -0
- package/lib/duet/p-BVgBUIYF.js +4 -0
- package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
- package/lib/duet/p-BdCvOZ0R.js +4 -0
- package/lib/duet/p-Bg75Vqqq.js +4 -0
- package/lib/duet/p-BmMFVM-y.js +4 -0
- package/lib/duet/{p-5e9210a0.js → p-CDjWio68.js} +1 -1
- package/lib/duet/p-CVPfl9fc.js +4 -0
- package/lib/duet/p-CXz8FCgk.js +4 -0
- package/lib/duet/p-CooAqTCj.js +4 -0
- package/lib/duet/p-DEoH9jLj.js +4 -0
- package/lib/duet/p-DOuLHrH5.js +4 -0
- package/lib/duet/p-DXnMp1Z1.js +4 -0
- package/lib/duet/p-DYyVxyo8.js +4 -0
- package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
- package/lib/duet/p-DvwKrUS6.js +4 -0
- package/lib/duet/p-EZOAO_vc.js +5 -0
- package/lib/duet/p-Tof9ag29.js +4 -0
- package/lib/duet/p-a05d9667.entry.js +4 -0
- package/lib/duet/p-a109719f.entry.js +4 -0
- package/lib/duet/p-a2c4fa32.entry.js +4 -0
- package/lib/duet/p-a3a61c66.entry.js +4 -0
- package/lib/duet/p-ac2a957c.entry.js +4 -0
- package/lib/duet/p-b4541648.entry.js +4 -0
- package/lib/duet/p-b4bf40a5.entry.js +4 -0
- package/lib/duet/p-b7d0d9fa.entry.js +4 -0
- package/lib/duet/p-baa33e33.entry.js +4 -0
- package/lib/duet/p-bd1c363d.entry.js +4 -0
- package/lib/duet/p-bda426ce.entry.js +4 -0
- package/lib/duet/p-c010c504.entry.js +4 -0
- package/lib/duet/p-c14ad166.entry.js +4 -0
- package/lib/duet/p-c3a79627.entry.js +4 -0
- package/lib/duet/p-d06af257.entry.js +4 -0
- package/lib/duet/p-d70babeb.entry.js +4 -0
- package/lib/duet/p-dc3f731a.entry.js +4 -0
- package/lib/duet/p-dc50ce9f.entry.js +4 -0
- package/lib/duet/p-dc53f89d.entry.js +4 -0
- package/lib/duet/p-e0054c71.entry.js +4 -0
- package/lib/duet/p-e26fee5b.entry.js +4 -0
- package/lib/duet/p-e528ba03.entry.js +4 -0
- package/lib/duet/p-e80de2cb.entry.js +4 -0
- package/lib/duet/p-eb6c0729.entry.js +4 -0
- package/lib/duet/p-ef206ef5.entry.js +4 -0
- package/lib/duet/p-f2fadb27.entry.js +4 -0
- package/lib/duet/p-fcbdf07c.entry.js +4 -0
- package/lib/duet/p-vVCYtBMj.js +4 -0
- package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
- package/lib/esm/a11y-utils-By9FOQXs.js +43 -0
- 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-f12e0500.js → app-globals-xm_WC7uO.js} +2 -2
- package/lib/esm/common-strings-CVPfl9fc.js +53 -0
- package/lib/esm/duet-action-button.entry.js +84 -27
- package/lib/esm/duet-alert.entry.js +106 -47
- package/lib/esm/duet-badge.entry.js +31 -7
- package/lib/esm/duet-banner.entry.js +71 -26
- package/lib/esm/duet-breadcrumb.entry.js +38 -25
- package/lib/esm/duet-breadcrumbs.entry.js +20 -12
- package/lib/esm/duet-button_2.entry.js +152 -70
- package/lib/esm/duet-callout.entry.js +13 -8
- package/lib/esm/duet-caption_4.entry.js +212 -44
- package/lib/esm/duet-card.entry.js +93 -33
- package/lib/esm/duet-checkbox.entry.js +68 -30
- package/lib/esm/duet-checkmark.entry.js +21 -7
- package/lib/esm/duet-chip.entry.js +354 -0
- package/lib/esm/duet-choice_2.entry.js +280 -129
- package/lib/esm/duet-collapsible.entry.js +92 -31
- package/lib/esm/duet-combobox.entry.js +99 -56
- package/lib/esm/duet-contact-card.entry.js +17 -16
- package/lib/esm/duet-cookie-consent.entry.js +14 -9
- package/lib/esm/duet-date-picker.entry.js +158 -55
- package/lib/esm/duet-divider_2.entry.js +30 -12
- package/lib/esm/duet-editable-table_3.entry.js +556 -208
- package/lib/esm/duet-empty-state.entry.js +15 -7
- package/lib/esm/duet-fieldset.entry.js +51 -16
- package/lib/esm/duet-file-chooser.entry.js +18 -9
- package/lib/esm/duet-footer.entry.js +56 -28
- package/lib/esm/duet-grid_2.entry.js +165 -62
- package/lib/esm/duet-header_2.entry.js +303 -90
- package/lib/esm/duet-hero.entry.js +159 -33
- package/lib/esm/duet-icon.entry.js +64 -18
- package/lib/esm/duet-indicator.entry.js +59 -0
- package/lib/esm/duet-input_2.entry.js +226 -85
- package/lib/esm/duet-layout.entry.js +33 -11
- package/lib/esm/duet-list_2.entry.js +58 -12
- package/lib/esm/duet-menu-bar-button.entry.js +24 -14
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
- package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
- package/lib/esm/duet-menu-bar-item.entry.js +40 -17
- package/lib/esm/duet-menu-bar-link.entry.js +18 -8
- package/lib/esm/duet-menu-bar.entry.js +37 -57
- package/lib/esm/duet-modal.entry.js +122 -33
- package/lib/esm/duet-multiselect.entry.js +88 -40
- package/lib/esm/duet-nav.entry.js +12 -6
- package/lib/esm/duet-notification_2.entry.js +98 -30
- package/lib/esm/duet-number-input.entry.js +192 -69
- package/lib/esm/duet-overlay.entry.js +36 -12
- package/lib/esm/duet-page-heading.entry.js +16 -9
- package/lib/esm/duet-pagination_2.entry.js +162 -85
- package/lib/esm/duet-panel.entry.js +50 -0
- package/lib/esm/duet-phone-input.entry.js +2070 -0
- package/lib/esm/duet-popup-menu_2.entry.js +547 -0
- package/lib/esm/duet-progress.entry.js +32 -11
- package/lib/esm/duet-promo-card.entry.js +27 -11
- package/lib/esm/duet-radio_2.entry.js +114 -53
- package/lib/esm/duet-range-slider.entry.js +73 -35
- package/lib/esm/duet-scrollable_3.entry.js +245 -89
- package/lib/esm/duet-section-layout.entry.js +17 -8
- package/lib/esm/duet-select.entry.js +89 -44
- package/lib/esm/duet-shaped-image.entry.js +16 -9
- package/lib/esm/duet-share-chart-item.entry.js +20 -0
- package/lib/esm/duet-share-chart.entry.js +83 -0
- package/lib/esm/duet-show-more.entry.js +81 -36
- package/lib/esm/duet-slideout-lang.entry.js +10 -8
- package/lib/esm/duet-slideout-link.entry.js +61 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
- package/lib/esm/duet-slideout-panel.entry.js +50 -34
- package/lib/esm/duet-slideout.entry.js +85 -50
- package/lib/esm/duet-status-icon.entry.js +28 -13
- package/lib/esm/duet-step_2.entry.js +73 -23
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
- package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
- package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
- package/lib/esm/duet-submenu-bar.entry.js +27 -19
- package/lib/esm/duet-textarea.entry.js +146 -69
- package/lib/esm/duet-toggle.entry.js +50 -27
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
- package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
- package/lib/esm/duet-toolbar-item.entry.js +46 -17
- package/lib/esm/duet-toolbar-link.entry.js +21 -8
- package/lib/esm/duet-toolbar.entry.js +12 -8
- package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
- package/lib/esm/duet-tooltip.entry.js +97 -43
- package/lib/esm/duet-tray.entry.js +63 -22
- 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 +4 -5
- package/lib/esm/duet.js +7 -6
- package/lib/esm/{errorcodes.utils-d594aed8.js → errorcodes.utils-By8gaKwQ.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-BVqqQKeY.js} +1 -1
- package/lib/esm/form-search-CevX33LA.js +19 -0
- package/lib/esm/{index-fa810c91.js → index-EZOAO_vc.js} +1861 -1359
- package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
- package/lib/{dist-custom-elements/p-42619f94.js → esm/label-Dji6BDQC.js} +1 -1
- package/lib/esm/{language-utils-35eb1c9f.js → language-utils-COd-eoxb.js} +10 -3
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-b2101c56.js → slot-utils-BSu3Mnho.js} +6 -2
- package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-CooAqTCj.js} +22 -7
- package/lib/esm/themeable-component-spmVa3d3.js +72 -0
- package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
- package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
- package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -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-strings.d.ts +3 -0
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
- package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
- package/lib/types/components/duet-button/duet-button.d.ts +1 -1
- package/lib/types/components/duet-card/duet-card.d.ts +10 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -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 +9 -7
- package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
- package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
- package/lib/types/components/duet-input/duet-input.d.ts +25 -16
- package/lib/types/components/duet-link/duet-link.d.ts +3 -0
- package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
- package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
- package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
- package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
- package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +178 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +21 -7
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +19 -0
- package/lib/types/components/duet-select/duet-select.d.ts +2 -1
- package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
- package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -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 -5
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +10 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
- package/lib/types/components.d.ts +2440 -130
- 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/a11y-utils.d.ts +11 -0
- package/lib/types/utils/language-utils.d.ts +1 -0
- package/lib/types/utils/slot-utils.d.ts +1 -0
- package/lib/types/utils/teleport.d.ts +4 -1
- package/lib/types/utils/token-utils.d.ts +4 -0
- package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
- package/package.json +37 -17
- package/lib/cjs/a11y-utils-e921b85d.js +0 -25
- 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 -703
- package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
- package/lib/cjs/form-search-d61b2843.js +0 -8
- package/lib/cjs/themeable-component-996b489c.js +0 -15
- 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 -174
- 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 -176
- 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 -937
- 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 -207
- 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 -328
- 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-status-icon.d.ts +0 -11
- package/lib/dist-custom-elements/duet-status-icon.js +0 -111
- 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 -306
- 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-0ccb587d.js +0 -124
- package/lib/dist-custom-elements/p-1080a6c7.js +0 -2130
- package/lib/dist-custom-elements/p-10cd2c68.js +0 -214
- package/lib/dist-custom-elements/p-115c79b6.js +0 -6
- package/lib/dist-custom-elements/p-1892dc7c.js +0 -80
- package/lib/dist-custom-elements/p-1a58f15b.js +0 -63
- package/lib/dist-custom-elements/p-297845c1.js +0 -206
- package/lib/dist-custom-elements/p-2d798e15.js +0 -80
- package/lib/dist-custom-elements/p-34a901da.js +0 -124
- package/lib/dist-custom-elements/p-35375593.js +0 -161
- package/lib/dist-custom-elements/p-3bea94c3.js +0 -313
- package/lib/dist-custom-elements/p-4c3d0ee5.js +0 -127
- package/lib/dist-custom-elements/p-530451fd.js +0 -55
- package/lib/dist-custom-elements/p-5ad0aa2d.js +0 -56
- package/lib/dist-custom-elements/p-6e12d8f9.js +0 -73
- package/lib/dist-custom-elements/p-77fe0881.js +0 -165
- package/lib/dist-custom-elements/p-7ef7ecb2.js +0 -607
- package/lib/dist-custom-elements/p-81287261.js +0 -1348
- package/lib/dist-custom-elements/p-846239a5.js +0 -340
- package/lib/dist-custom-elements/p-88a11eef.js +0 -81
- 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-9f10e30c.js +0 -642
- package/lib/dist-custom-elements/p-a2d287b0.js +0 -321
- package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
- package/lib/dist-custom-elements/p-ad615991.js +0 -115
- package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
- package/lib/dist-custom-elements/p-b2db5fb1.js +0 -287
- package/lib/dist-custom-elements/p-b662900e.js +0 -178
- package/lib/dist-custom-elements/p-bae3d92e.js +0 -61
- package/lib/dist-custom-elements/p-bf91603e.js +0 -154
- package/lib/dist-custom-elements/p-c84c39d8.js +0 -60
- package/lib/dist-custom-elements/p-cea716f7.js +0 -503
- package/lib/dist-custom-elements/p-d004da5f.js +0 -6
- package/lib/dist-custom-elements/p-d07ce35f.js +0 -232
- package/lib/dist-custom-elements/p-d1aca1bf.js +0 -268
- package/lib/dist-custom-elements/p-d4202ee8.js +0 -110
- package/lib/dist-custom-elements/p-d74ee462.js +0 -61
- package/lib/dist-custom-elements/p-d8e88497.js +0 -194
- package/lib/dist-custom-elements/p-db1a07f5.js +0 -94
- package/lib/dist-custom-elements/p-df9299e6.js +0 -39
- package/lib/dist-custom-elements/p-e96839f2.js +0 -63
- package/lib/dist-custom-elements/p-ed2d40fe.js +0 -50
- package/lib/dist-custom-elements/p-f0d82988.js +0 -205
- package/lib/dist-custom-elements/p-f11208c3.js +0 -6
- package/lib/dist-custom-elements/p-f4e71ced.js +0 -102
- package/lib/dist-custom-elements/p-f6000a03.js +0 -753
- package/lib/dist-custom-elements/p-f611b32e.js +0 -83
- package/lib/dist-custom-elements/p-f86f4403.js +0 -100
- package/lib/dist-custom-elements/p-faa49d55.js +0 -370
- package/lib/duet/duet.js +0 -127
- package/lib/duet/p-038bb299.entry.js +0 -4
- package/lib/duet/p-03bfd386.system.js +0 -4
- package/lib/duet/p-050923e5.entry.js +0 -4
- package/lib/duet/p-053b71e6.system.js +0 -4
- package/lib/duet/p-054f5ec6.system.js +0 -4
- package/lib/duet/p-05aec682.entry.js +0 -4
- package/lib/duet/p-06995c4e.system.entry.js +0 -4
- package/lib/duet/p-08344bda.system.entry.js +0 -4
- package/lib/duet/p-0846f883.entry.js +0 -4
- package/lib/duet/p-08f3a77e.system.entry.js +0 -4
- package/lib/duet/p-091ce42a.entry.js +0 -4
- package/lib/duet/p-0998026d.system.entry.js +0 -4
- package/lib/duet/p-0a4b0639.entry.js +0 -4
- package/lib/duet/p-0a675075.js +0 -4
- package/lib/duet/p-0b818355.entry.js +0 -4
- package/lib/duet/p-0bcc93b7.entry.js +0 -4
- package/lib/duet/p-0c4708c0.system.entry.js +0 -4
- package/lib/duet/p-0c4bbd65.system.js +0 -4
- package/lib/duet/p-0cbec7c8.entry.js +0 -4
- package/lib/duet/p-0d334c84.system.entry.js +0 -4
- package/lib/duet/p-0d7369ef.system.entry.js +0 -4
- package/lib/duet/p-0d7da85a.js +0 -4
- package/lib/duet/p-0dc9089b.system.js +0 -4
- package/lib/duet/p-10b1f772.entry.js +0 -4
- package/lib/duet/p-115c79b6.js +0 -4
- package/lib/duet/p-12b25cdd.system.entry.js +0 -4
- package/lib/duet/p-145d2c10.entry.js +0 -4
- package/lib/duet/p-15d66914.system.entry.js +0 -4
- package/lib/duet/p-166d19ac.entry.js +0 -4
- package/lib/duet/p-178b8a47.system.entry.js +0 -4
- package/lib/duet/p-17bfda66.entry.js +0 -4
- package/lib/duet/p-18463379.system.entry.js +0 -4
- package/lib/duet/p-1a65974d.system.entry.js +0 -4
- package/lib/duet/p-1cc7a137.entry.js +0 -4
- package/lib/duet/p-1d1198dd.system.entry.js +0 -4
- package/lib/duet/p-1dff1118.system.entry.js +0 -4
- package/lib/duet/p-1ed2ef65.entry.js +0 -4
- package/lib/duet/p-20a1c9ac.entry.js +0 -4
- package/lib/duet/p-21dd3dba.system.entry.js +0 -4
- package/lib/duet/p-22d16f94.entry.js +0 -4
- package/lib/duet/p-2667d9dc.entry.js +0 -4
- package/lib/duet/p-2aa130a2.entry.js +0 -4
- package/lib/duet/p-2ae03409.entry.js +0 -4
- package/lib/duet/p-2afb5bf3.system.entry.js +0 -4
- package/lib/duet/p-2d6171e9.system.entry.js +0 -4
- package/lib/duet/p-2dcc7b0c.entry.js +0 -4
- package/lib/duet/p-31e19362.system.entry.js +0 -4
- package/lib/duet/p-330a4b1f.system.entry.js +0 -4
- package/lib/duet/p-374599c9.entry.js +0 -4
- package/lib/duet/p-38b22704.system.entry.js +0 -4
- package/lib/duet/p-3948c738.system.entry.js +0 -4
- package/lib/duet/p-3b15bdda.system.entry.js +0 -4
- package/lib/duet/p-3c2b3349.entry.js +0 -4
- package/lib/duet/p-3ca8e462.entry.js +0 -4
- package/lib/duet/p-41982d26.system.js +0 -4
- package/lib/duet/p-41d03609.system.entry.js +0 -4
- package/lib/duet/p-4289c19b.system.js +0 -5
- package/lib/duet/p-45c37e01.system.entry.js +0 -4
- package/lib/duet/p-473b8661.entry.js +0 -4
- package/lib/duet/p-485832e7.entry.js +0 -4
- package/lib/duet/p-49957220.system.js +0 -4
- package/lib/duet/p-4a2af66f.entry.js +0 -4
- package/lib/duet/p-4cff3036.system.js +0 -4
- package/lib/duet/p-4d06fd44.js +0 -4
- package/lib/duet/p-4d496fbd.entry.js +0 -4
- package/lib/duet/p-4d8a5d37.entry.js +0 -4
- package/lib/duet/p-4dc15982.system.entry.js +0 -4
- package/lib/duet/p-53604f23.entry.js +0 -4
- package/lib/duet/p-53c2006e.system.entry.js +0 -4
- package/lib/duet/p-53fc94a0.system.entry.js +0 -4
- package/lib/duet/p-54704ee1.system.entry.js +0 -4
- package/lib/duet/p-56f40850.system.entry.js +0 -4
- package/lib/duet/p-59f0bbf0.entry.js +0 -4
- package/lib/duet/p-5a0482d3.entry.js +0 -4
- package/lib/duet/p-5a72f8b5.system.entry.js +0 -4
- package/lib/duet/p-5c026823.entry.js +0 -4
- package/lib/duet/p-5ff95850.entry.js +0 -4
- package/lib/duet/p-60734222.system.entry.js +0 -4
- package/lib/duet/p-62a7d1e0.system.entry.js +0 -4
- package/lib/duet/p-652ef5c4.system.entry.js +0 -4
- package/lib/duet/p-65d9b543.entry.js +0 -4
- package/lib/duet/p-66dfb534.system.entry.js +0 -4
- package/lib/duet/p-6880e7e4.system.entry.js +0 -4
- package/lib/duet/p-69dda5cf.entry.js +0 -4
- package/lib/duet/p-6e5dbf3f.system.entry.js +0 -4
- package/lib/duet/p-6f878638.system.entry.js +0 -4
- package/lib/duet/p-70a6edcd.system.entry.js +0 -4
- package/lib/duet/p-70ea5a26.system.entry.js +0 -4
- package/lib/duet/p-72767ad2.entry.js +0 -4
- package/lib/duet/p-739ffce8.entry.js +0 -4
- package/lib/duet/p-74aa0f9d.system.js +0 -4
- package/lib/duet/p-752fa0fc.system.js +0 -4
- package/lib/duet/p-7648f559.system.js +0 -4
- package/lib/duet/p-77bbd147.entry.js +0 -4
- package/lib/duet/p-77f01407.entry.js +0 -4
- package/lib/duet/p-7931d6b8.entry.js +0 -4
- package/lib/duet/p-798942ab.entry.js +0 -4
- package/lib/duet/p-7b2d2e4d.system.entry.js +0 -4
- package/lib/duet/p-7bbf3a3b.system.entry.js +0 -4
- package/lib/duet/p-7d8a2628.js +0 -4
- package/lib/duet/p-7dfee16a.entry.js +0 -4
- package/lib/duet/p-7f16d0df.entry.js +0 -4
- package/lib/duet/p-7f22291f.entry.js +0 -4
- package/lib/duet/p-81cde516.system.entry.js +0 -4
- package/lib/duet/p-8228f180.system.entry.js +0 -4
- package/lib/duet/p-84835d40.entry.js +0 -4
- package/lib/duet/p-874f4064.system.entry.js +0 -4
- package/lib/duet/p-897e6941.entry.js +0 -4
- package/lib/duet/p-8a970f0a.system.entry.js +0 -4
- package/lib/duet/p-8b1c69f9.system.entry.js +0 -4
- package/lib/duet/p-8baeb065.entry.js +0 -4
- package/lib/duet/p-8eea942e.entry.js +0 -4
- package/lib/duet/p-8f477bd6.system.js +0 -4
- package/lib/duet/p-8f871c29.entry.js +0 -4
- package/lib/duet/p-8faaaf5f.system.js +0 -4
- package/lib/duet/p-90999186.entry.js +0 -4
- package/lib/duet/p-979fb2cf.entry.js +0 -4
- package/lib/duet/p-97b3fb78.system.entry.js +0 -4
- package/lib/duet/p-97eb9b2e.entry.js +0 -4
- package/lib/duet/p-97fe4968.js +0 -5
- package/lib/duet/p-98636086.system.js +0 -4
- package/lib/duet/p-9fab0a1d.system.entry.js +0 -4
- package/lib/duet/p-a0a59034.system.entry.js +0 -4
- package/lib/duet/p-a1a0370a.system.entry.js +0 -4
- package/lib/duet/p-a20ed47c.js +0 -4
- package/lib/duet/p-a4dbef0b.system.entry.js +0 -4
- package/lib/duet/p-a54c3c58.system.entry.js +0 -4
- package/lib/duet/p-a6bb7eb0.entry.js +0 -4
- package/lib/duet/p-aaa7a7bd.js +0 -4
- package/lib/duet/p-ac21f1dc.system.entry.js +0 -4
- package/lib/duet/p-ac7ef7e2.js +0 -4
- package/lib/duet/p-aca1538e.entry.js +0 -4
- package/lib/duet/p-ae19da09.entry.js +0 -4
- package/lib/duet/p-afad5fd3.system.js +0 -4
- package/lib/duet/p-b2d5f07c.system.js +0 -4
- package/lib/duet/p-b2f3287a.system.entry.js +0 -4
- package/lib/duet/p-b5b8973c.js +0 -4
- package/lib/duet/p-b6366830.system.entry.js +0 -4
- package/lib/duet/p-b864159a.system.js +0 -4
- package/lib/duet/p-b8d342d1.system.entry.js +0 -4
- package/lib/duet/p-ba03d034.system.js +0 -4
- package/lib/duet/p-bd3c7c60.system.entry.js +0 -4
- package/lib/duet/p-be8044cb.system.entry.js +0 -4
- package/lib/duet/p-beeb12f1.js +0 -4
- package/lib/duet/p-bf85a8c6.entry.js +0 -4
- package/lib/duet/p-bfe1d1d1.system.entry.js +0 -4
- package/lib/duet/p-c2308ebd.entry.js +0 -4
- package/lib/duet/p-c47bc68e.entry.js +0 -4
- package/lib/duet/p-c5b6d9ed.entry.js +0 -4
- package/lib/duet/p-c93daa4f.entry.js +0 -4
- package/lib/duet/p-ca3cb21e.js +0 -4
- package/lib/duet/p-cc5e6288.system.js +0 -4
- package/lib/duet/p-cc67e773.js +0 -4
- package/lib/duet/p-cc6e2037.system.entry.js +0 -4
- package/lib/duet/p-cd4cd328.entry.js +0 -4
- package/lib/duet/p-cf3dbdbe.entry.js +0 -4
- package/lib/duet/p-cf6a502f.system.entry.js +0 -4
- package/lib/duet/p-cfb501bd.entry.js +0 -4
- package/lib/duet/p-d004da5f.js +0 -4
- package/lib/duet/p-d080e1b9.system.js +0 -4
- package/lib/duet/p-d159daa2.entry.js +0 -4
- package/lib/duet/p-d3960f14.system.js +0 -4
- package/lib/duet/p-d4f2abe8.entry.js +0 -4
- package/lib/duet/p-d5a87e9a.js +0 -4
- package/lib/duet/p-d6b00137.entry.js +0 -4
- package/lib/duet/p-d7b8ea98.system.entry.js +0 -4
- package/lib/duet/p-db2ccb9d.system.js +0 -4
- package/lib/duet/p-dc68fee2.entry.js +0 -4
- package/lib/duet/p-e05cecd0.system.entry.js +0 -4
- package/lib/duet/p-e0b5d41a.system.entry.js +0 -4
- package/lib/duet/p-e12066c8.system.js +0 -4
- package/lib/duet/p-e1c5ef00.entry.js +0 -4
- package/lib/duet/p-e21018b3.entry.js +0 -4
- package/lib/duet/p-e216bea4.system.js +0 -4
- package/lib/duet/p-e263283f.entry.js +0 -4
- package/lib/duet/p-e4a0a1b3.entry.js +0 -4
- package/lib/duet/p-e4c8559c.system.js +0 -4
- package/lib/duet/p-e513c4ca.system.entry.js +0 -4
- package/lib/duet/p-e6b5a1c7.system.js +0 -4
- package/lib/duet/p-e6f7a7fd.system.entry.js +0 -4
- package/lib/duet/p-e8f8aae8.system.js +0 -4
- package/lib/duet/p-e93169b0.system.entry.js +0 -4
- package/lib/duet/p-eb425c47.entry.js +0 -4
- package/lib/duet/p-edcdd3e6.system.entry.js +0 -4
- package/lib/duet/p-efa05a47.system.entry.js +0 -4
- package/lib/duet/p-efe71c0a.system.entry.js +0 -4
- package/lib/duet/p-f065f062.system.entry.js +0 -4
- package/lib/duet/p-f11208c3.js +0 -4
- package/lib/duet/p-f23de827.system.entry.js +0 -4
- package/lib/duet/p-f4df9001.system.entry.js +0 -4
- package/lib/duet/p-f5a0878c.entry.js +0 -4
- package/lib/duet/p-f5b6fd8e.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-f785408c.system.entry.js +0 -4
- package/lib/duet/p-f892350a.entry.js +0 -4
- package/lib/duet/p-f966e96a.system.entry.js +0 -4
- package/lib/duet/p-fc06b1eb.system.entry.js +0 -4
- package/lib/duet/p-fcc0e0bf.system.entry.js +0 -4
- package/lib/duet/p-fd376e7c.entry.js +0 -4
- package/lib/duet/p-fe13effe.system.entry.js +0 -4
- package/lib/duet/p-ffb9535d.system.entry.js +0 -4
- package/lib/esm/a11y-utils-9f6bee96.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/common-strings-af765cad.js +0 -25
- package/lib/esm/create-id-149a1b6d.js +0 -11
- package/lib/esm/duet-chip_3.entry.js +0 -697
- package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
- package/lib/esm/focus-utils-fc101536.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/keyboard-utils-daf80d44.js +0 -58
- package/lib/esm/label-b3694b48.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/token-utils-b9ba8c5e.js +0 -138
- package/lib/esm/watch-options-e96ecd92.js +0 -57
- package/lib/esm-es5/a11y-utils-9f6bee96.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-f12e0500.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-status-icon.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-d594aed8.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
- package/lib/esm-es5/focus-utils-fc101536.js +0 -4
- package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
- package/lib/esm-es5/index-fa810c91.js +0 -4
- 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-daf80d44.js +0 -4
- package/lib/esm-es5/label-b3694b48.js +0 -4
- package/lib/esm-es5/language-utils-35eb1c9f.js +0 -4
- package/lib/esm-es5/loader.js +0 -4
- package/lib/esm-es5/slot-utils-b2101c56.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-b9ba8c5e.js +0 -4
- package/lib/esm-es5/tokens-84fb2357.js +0 -4
- package/lib/esm-es5/tokens.module-2d02f5ff.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/{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/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
- /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.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-43b89e38.js → p-DxESMgwA.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/{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
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
6
|
-
import { D as DuetInternalLabel } from './label-
|
|
7
|
-
import { c as createID } from './create-id-
|
|
8
|
-
import { c as cleanValue } from './input-utils-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import './
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-EZOAO_vc.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-spmVa3d3.js';
|
|
6
|
+
import { D as DuetInternalLabel } from './label-Dji6BDQC.js';
|
|
7
|
+
import { c as createID } from './create-id-Cfr_DJqU.js';
|
|
8
|
+
import { c as cleanValue } from './input-utils-CLDy7YaM.js';
|
|
9
|
+
import { d as debounce } from './js-utils-BlUsLmbQ.js';
|
|
10
|
+
import { a as getLanguage, f as formatNumber } from './language-utils-COd-eoxb.js';
|
|
11
|
+
import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-BSu3Mnho.js';
|
|
12
|
+
import './string-utils-C6E9F6QT.js';
|
|
12
13
|
|
|
13
|
-
const duetTextareaCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0
|
|
14
|
-
const DuetTextareaStyle0 = duetTextareaCss;
|
|
14
|
+
const duetTextareaCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-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-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-textarea:focus{outline:2px solid;outline-offset:0;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva,.duet-theme-turva2 .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva2{outline:2px solid;outline-offset:0;outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva .duet-textarea{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);border-color:rgb(143, 147, 158)}.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea[rows]{min-height:auto}.duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-textarea:hover:not(:disabled),.duet-textarea:hover:not(:disabled).duet-theme-turva,.duet-theme-turva2 .duet-textarea:hover:not(:disabled),.duet-textarea:hover:not(:disabled).duet-theme-turva2{outline-color:rgb(120, 145, 164)}.has-error .duet-textarea:hover:not(:disabled){outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-textarea:focus{border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58)}.has-error .duet-textarea:focus{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-textarea:not(:focus):not(:hover):invalid{outline:none}.duet-textarea-help{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;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.duet-theme-turva .duet-textarea-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-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-character-count{display:block;margin:8px 0 0 auto}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]{background:rgb(245, 246, 247) !important;border-color:rgb(245, 246, 247) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:-webkit-input-placeholder{color:rgb(120, 145, 164)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 42, 59)}";
|
|
15
15
|
|
|
16
|
-
const CharacterCount = ({ value, maxlength,
|
|
16
|
+
const CharacterCount = ({ value, maxlength, theme }) => {
|
|
17
17
|
if (maxlength == null) {
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
20
|
const length = value.length;
|
|
21
|
-
|
|
22
|
-
const isApproachingLimit = remainder / maxlength <= 0.1; // <= 10% chars remaining
|
|
23
|
-
return (h("div", { class: "duet-character-count" }, h("duet-caption", { margin: "none", theme: theme, size: "small" }, h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", class: "duet-textarea-counter-remaining" }, isApproachingLimit && `${remainder} ${label}`), h("span", { "aria-hidden": "true" }, length, "/", maxlength))));
|
|
21
|
+
return (h("div", { class: "duet-character-count" }, h("duet-caption", { margin: "none", theme: theme, size: "small" }, h("span", { "aria-hidden": "true" }, length, "/", maxlength))));
|
|
24
22
|
};
|
|
25
23
|
const DuetTextarea = class {
|
|
26
24
|
constructor(hostRef) {
|
|
@@ -39,12 +37,103 @@ const DuetTextarea = class {
|
|
|
39
37
|
this.labelId = createID("DuetLabel");
|
|
40
38
|
this.errorId = createID("DuetError");
|
|
41
39
|
this.characterCountId = createID("DuetCharacterCount");
|
|
40
|
+
this.visuallyHiddenCounterDebounceMS = 1000;
|
|
42
41
|
this.disallowPatternRegex = null;
|
|
43
|
-
this.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
this.charactersRemainingLabel = {
|
|
43
|
+
// The comma in Finnish is to prevent use of partitive case for remaining
|
|
44
|
+
fi: "{remaining}, merkkiä jäljellä {max}{postfix}.",
|
|
45
|
+
en: "{remaining} characters remaining out of {max}.",
|
|
46
|
+
sv: "{remaining} tecken kvar av {max}.",
|
|
47
47
|
};
|
|
48
|
+
this.language = getLanguage();
|
|
49
|
+
/**
|
|
50
|
+
* Controls the margin of the component.
|
|
51
|
+
*/
|
|
52
|
+
this.margin = "auto";
|
|
53
|
+
/**
|
|
54
|
+
* Aria Details of the component
|
|
55
|
+
*/
|
|
56
|
+
this.accessibleDetails = undefined;
|
|
57
|
+
/**
|
|
58
|
+
* String of id's that indicate alternative labels elements
|
|
59
|
+
*/
|
|
60
|
+
this.accessibleLabelledBy = undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Aria description the button
|
|
63
|
+
*/
|
|
64
|
+
this.accessibleDescription = undefined;
|
|
65
|
+
/**
|
|
66
|
+
* The aria-live attribute for the error message. When the input is validated on blur, use "off", as using "polite" or "assertive"
|
|
67
|
+
* makes the screen reader read the error message twice. When the input is validated on submit, use "polite", as "off" would leave
|
|
68
|
+
* the messages unread by screen readers. Use "assertive" only in those rare cases when "polite" would leave the error message
|
|
69
|
+
* unread by screen readers.
|
|
70
|
+
*/
|
|
71
|
+
this.accessibleLiveError = "polite";
|
|
72
|
+
/**
|
|
73
|
+
* Theme of the textarea.
|
|
74
|
+
*/
|
|
75
|
+
this.theme = "";
|
|
76
|
+
/**
|
|
77
|
+
* Expands the textarea to fill 100% of the container width.
|
|
78
|
+
*/
|
|
79
|
+
this.expand = false;
|
|
80
|
+
/**
|
|
81
|
+
* Makes the textarea component disabled. This prevents users from being able
|
|
82
|
+
* to interact with the textarea, and conveys its inactive state to assistive
|
|
83
|
+
* technologies.
|
|
84
|
+
*/
|
|
85
|
+
this.disabled = false;
|
|
86
|
+
/**
|
|
87
|
+
* Set whether the textarea is required or not. Please note that this is required for
|
|
88
|
+
* accessible inputs when the user is required to fill them. When using this property
|
|
89
|
+
* you need to also set “novalidate” attribute to your form element to prevent
|
|
90
|
+
* browser from displaying its own validation errors.
|
|
91
|
+
*/
|
|
92
|
+
this.required = false;
|
|
93
|
+
/**
|
|
94
|
+
* Label for the textarea.
|
|
95
|
+
*/
|
|
96
|
+
this.label = "label";
|
|
97
|
+
/**
|
|
98
|
+
* Visually hide the label, but still show it to screen readers.
|
|
99
|
+
*/
|
|
100
|
+
this.labelHidden = false;
|
|
101
|
+
/**
|
|
102
|
+
* If form input field has a placeholder text, and user types anything (causing the text to dissapear),
|
|
103
|
+
* 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)
|
|
104
|
+
*/
|
|
105
|
+
this.echoPlaceholder = false;
|
|
106
|
+
/**
|
|
107
|
+
* Display the textarea in error state along with an error message.
|
|
108
|
+
*/
|
|
109
|
+
this.error = "";
|
|
110
|
+
/**
|
|
111
|
+
* Tooltip to display next to the label of the input.
|
|
112
|
+
*/
|
|
113
|
+
this.tooltip = "";
|
|
114
|
+
/**
|
|
115
|
+
* With direction setting you can force the tooltip to always open towards left
|
|
116
|
+
* or right instead of automatically determining the direction.
|
|
117
|
+
*/
|
|
118
|
+
this.tooltipDirection = "auto";
|
|
119
|
+
/**
|
|
120
|
+
* Value of the textarea.
|
|
121
|
+
*/
|
|
122
|
+
this.value = "";
|
|
123
|
+
/**
|
|
124
|
+
* A regular expression that matches any characters which should be *disallowed*.
|
|
125
|
+
* This differs from `pattern`, as it actively prevents users entering any characters which match the regular expression.
|
|
126
|
+
* e.g. the following will disallow any non-numeric characters `[^0-9]`
|
|
127
|
+
*/
|
|
128
|
+
this.disallowPattern = null;
|
|
129
|
+
/**
|
|
130
|
+
* Display character counter. Must be used in conjunction with **maxlength** property.
|
|
131
|
+
*/
|
|
132
|
+
this.counter = false;
|
|
133
|
+
/**
|
|
134
|
+
* @deprecated, the visually hidden counter label is no longer changeable
|
|
135
|
+
*/
|
|
136
|
+
this.counterLabel = "";
|
|
48
137
|
/**
|
|
49
138
|
* Component event handling.
|
|
50
139
|
*/
|
|
@@ -76,15 +165,23 @@ const DuetTextarea = class {
|
|
|
76
165
|
});
|
|
77
166
|
};
|
|
78
167
|
this.handleFocus = (ev) => {
|
|
79
|
-
if (this.counter) {
|
|
80
|
-
this.hiddenCounterLabel.textContent = `${Math.max(this.maxlength - this.value.length, 0)}/${this.maxlength} ${this.counterLabel}`;
|
|
81
|
-
}
|
|
82
168
|
this.duetFocus.emit({
|
|
83
169
|
originalEvent: ev,
|
|
84
170
|
value: this.value,
|
|
85
171
|
component: "duet-textarea",
|
|
86
172
|
});
|
|
87
173
|
};
|
|
174
|
+
/**
|
|
175
|
+
* When the character limit has been reached and key is pressed, switch the
|
|
176
|
+
* visually hidden label temprorily to empty so it is re-read.
|
|
177
|
+
*/
|
|
178
|
+
this.handleKeyDown = () => {
|
|
179
|
+
var _a;
|
|
180
|
+
if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === this.maxlength) {
|
|
181
|
+
this.visuallyHiddenCounterText = "";
|
|
182
|
+
setTimeout(() => this.updateVisuallyHiddenCounterText(), 10);
|
|
183
|
+
}
|
|
184
|
+
};
|
|
88
185
|
this.getDescribedBy = () => {
|
|
89
186
|
const describedBy = [];
|
|
90
187
|
if (this.isCaptionVisible && this.topCaptionId) {
|
|
@@ -96,44 +193,22 @@ const DuetTextarea = class {
|
|
|
96
193
|
if (this.error) {
|
|
97
194
|
describedBy.push(this.errorId);
|
|
98
195
|
}
|
|
99
|
-
if (this.counter) {
|
|
196
|
+
if (this.counter && this.maxlength) {
|
|
100
197
|
describedBy.push(this.characterCountId);
|
|
101
198
|
}
|
|
102
199
|
return describedBy.length > 0 ? describedBy.join(" ") : null;
|
|
103
200
|
};
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
this.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
this.expand = false;
|
|
116
|
-
this.disabled = false;
|
|
117
|
-
this.identifier = undefined;
|
|
118
|
-
this.required = false;
|
|
119
|
-
this.label = "label";
|
|
120
|
-
this.labelColor = undefined;
|
|
121
|
-
this.labelWeight = undefined;
|
|
122
|
-
this.labelHidden = false;
|
|
123
|
-
this.name = undefined;
|
|
124
|
-
this.placeholder = undefined;
|
|
125
|
-
this.caption = undefined;
|
|
126
|
-
this.echoPlaceholder = false;
|
|
127
|
-
this.maxlength = undefined;
|
|
128
|
-
this.minlength = undefined;
|
|
129
|
-
this.error = "";
|
|
130
|
-
this.role = undefined;
|
|
131
|
-
this.tooltip = "";
|
|
132
|
-
this.tooltipDirection = "auto";
|
|
133
|
-
this.value = "";
|
|
134
|
-
this.disallowPattern = null;
|
|
135
|
-
this.counter = false;
|
|
136
|
-
this.counterLabel = getLocaleString(this.counterLabelDefaults);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* This is a proxy for the enclosed native textarea's validity
|
|
204
|
+
*/
|
|
205
|
+
get validity() {
|
|
206
|
+
return this.nativeInput.validity;
|
|
207
|
+
}
|
|
208
|
+
valueChange(newValue, oldValue) {
|
|
209
|
+
if (newValue !== oldValue) {
|
|
210
|
+
debounce(() => this.updateVisuallyHiddenCounterText(), this.visuallyHiddenCounterDebounceMS)();
|
|
211
|
+
}
|
|
137
212
|
}
|
|
138
213
|
disallowedPatternChange() {
|
|
139
214
|
this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "gu") : null;
|
|
@@ -145,19 +220,22 @@ const DuetTextarea = class {
|
|
|
145
220
|
inheritGlobalTheme(this);
|
|
146
221
|
this.disallowedPatternChange();
|
|
147
222
|
this.isCaptionVisible = !!this.caption;
|
|
223
|
+
this.updateVisuallyHiddenCounterText();
|
|
148
224
|
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
149
225
|
if (this.counter && this.maxlength == null) {
|
|
150
226
|
console.warn("[DUET WARNING]: counter will only take effect if maxlength is set");
|
|
151
227
|
}
|
|
152
228
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
229
|
+
updateVisuallyHiddenCounterText() {
|
|
230
|
+
var _a;
|
|
231
|
+
const remaining = formatNumber(Math.max(this.maxlength - (((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0), 0));
|
|
232
|
+
// postfix is used only in Finnish
|
|
233
|
+
// with "a" for full hundreds or numbers ending with 2, 3, 6, or 8; with "ä" otherwise
|
|
234
|
+
const postfix = this.maxlength % 100 === 0 || [2, 3, 6, 8].includes(this.maxlength % 10) ? ":sta" : ":stä";
|
|
235
|
+
this.visuallyHiddenCounterText = this.charactersRemainingLabel[this.language]
|
|
236
|
+
.replace("{remaining}", remaining)
|
|
237
|
+
.replace("{max}", formatNumber(this.maxlength))
|
|
238
|
+
.replace("{postfix}", postfix);
|
|
161
239
|
}
|
|
162
240
|
componentDidRender() {
|
|
163
241
|
proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
|
|
@@ -175,25 +253,24 @@ const DuetTextarea = class {
|
|
|
175
253
|
*/
|
|
176
254
|
render() {
|
|
177
255
|
const identifier = this.identifier || this.textareaId;
|
|
178
|
-
return (h(Host, { key: '
|
|
256
|
+
return (h(Host, { key: '6b4a9a29634b3b4eebba44aa1329c044ad4627e0', class: {
|
|
179
257
|
"duet-m-0": this.margin === "none",
|
|
180
258
|
"duet-has-counter": this.counter && !this.error,
|
|
181
259
|
"duet-expand": this.expand,
|
|
182
|
-
} }, h("div", { key: '
|
|
260
|
+
} }, h("div", { key: 'fc6fff054e8c331eaa64eb81ea38fec26ccf2623', class: {
|
|
183
261
|
"duet-textarea-container": true,
|
|
184
262
|
"duet-theme-turva": this.theme === "turva",
|
|
185
263
|
"duet-label-hidden": this.labelHidden,
|
|
186
264
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
187
265
|
"has-error": !!this.error,
|
|
188
|
-
} }, h(DuetInternalLabel, { key: '
|
|
189
|
-
this.hiddenCounterLabel = el;
|
|
190
|
-
} })))));
|
|
266
|
+
} }, h(DuetInternalLabel, { key: '72a397fea607b1bf78eb044d2edfe908b531c196', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'df27e380533776bbd55e322ee553a4e7307a9c25', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '0ad23242a566add6660b8d0d05f0945f2881c736', name: "tooltip" }), this.caption && (h("duet-caption", { key: '2140852f453a515fdc400664083170df2c5d25b8', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '3d8086ad2a9120553f7d9348a12f122513743f9e', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '41d5d3fbe9b850ae576456b65c38e70d7b54d1c4', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '958b5b54572eeeb9a14cccc84768c94ac8934751', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '2eeb3e5cc00bb5323ace41bc47c8704065ed9cf8', alignment: "stretch" }, h("duet-grid-item", { key: 'df795c73d5e1d02b95780b00a3109a08af5265d1', margin: "none", fill: true }, h("div", { key: '0ca123aee248bdefecb272d01744496e14fca789', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'fab26ce8771f27cc8bd7df1b32f027f7e1a77f5c' }, this.error))), h("duet-grid-item", { key: 'af06a4534964dea7090defa29dcae06c463f987a', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '9feddf09bed0a8dba0e3ec415e02a895e6cf20b7', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: '923f821ec7eea31d6538bec8e9e80d5bed1a8e85', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
|
|
191
267
|
}
|
|
192
268
|
get element() { return getElement(this); }
|
|
193
269
|
static get watchers() { return {
|
|
270
|
+
"value": ["valueChange"],
|
|
194
271
|
"disallowPattern": ["disallowedPatternChange"]
|
|
195
272
|
}; }
|
|
196
273
|
};
|
|
197
|
-
DuetTextarea.style =
|
|
274
|
+
DuetTextarea.style = duetTextareaCss;
|
|
198
275
|
|
|
199
276
|
export { DuetTextarea as duet_textarea };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
6
|
-
import { D as DuetInternalLabel } from './label-
|
|
7
|
-
import { c as createID } from './create-id-
|
|
8
|
-
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-
|
|
9
|
-
import { p as proxyInputToSlot } from './slot-utils-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-EZOAO_vc.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-spmVa3d3.js';
|
|
6
|
+
import { D as DuetInternalLabel } from './label-Dji6BDQC.js';
|
|
7
|
+
import { c as createID } from './create-id-Cfr_DJqU.js';
|
|
8
|
+
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
|
|
9
|
+
import { p as proxyInputToSlot } from './slot-utils-BSu3Mnho.js';
|
|
10
10
|
|
|
11
|
-
const duetToggleCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0
|
|
12
|
-
const DuetToggleStyle0 = duetToggleCss;
|
|
11
|
+
const duetToggleCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:8px !important}:host(.duet-m-0){margin:0 !important}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-switch input:focus+.duet-slider,:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-switch input:focus+.duet-slider,:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:\"\";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}:host(.duet-theme-turva2) .duet-switch input:checked+.duet-slider{background-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-switch input:checked+.duet-slider::before{box-shadow:-1px 0 2px #890e26;transform:translateX(20px)}:host(.duet-theme-turva2) .duet-switch input:disabled:checked+.duet-slider{background:#f38ba0}";
|
|
13
12
|
|
|
14
13
|
const DuetToggle = class {
|
|
15
14
|
constructor(hostRef) {
|
|
@@ -21,33 +20,57 @@ const DuetToggle = class {
|
|
|
21
20
|
this.toggleId = createID("DuetToggle");
|
|
22
21
|
this.proxyId = createID("DuetToggle");
|
|
23
22
|
/**
|
|
24
|
-
*
|
|
23
|
+
* Theme of the card.
|
|
25
24
|
*/
|
|
26
|
-
this.onClick = (ev) => {
|
|
27
|
-
ev.preventDefault();
|
|
28
|
-
this.setFocus();
|
|
29
|
-
this.checked = !this.checked;
|
|
30
|
-
};
|
|
31
25
|
this.theme = "";
|
|
26
|
+
/**
|
|
27
|
+
* Controls the margin of the component.
|
|
28
|
+
*/
|
|
32
29
|
this.margin = "auto";
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
this.accessibleDescribedBy = undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Aria Details of the component
|
|
32
|
+
*/
|
|
37
33
|
this.accessibleDetails = undefined;
|
|
34
|
+
/**
|
|
35
|
+
* String of id's that indicate alternative labels elements
|
|
36
|
+
*/
|
|
38
37
|
this.accessibleLabelledBy = undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Aria description the button
|
|
40
|
+
*/
|
|
39
41
|
this.accessibleDescription = undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Label for the toggle.
|
|
44
|
+
*/
|
|
40
45
|
this.label = "label";
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Position of the label
|
|
48
|
+
*/
|
|
43
49
|
this.labelPosition = "top";
|
|
50
|
+
/**
|
|
51
|
+
* Set whether the input is required or not. Please note that this is necessary for
|
|
52
|
+
* accessible inputs when the user is required to fill them. When using this property
|
|
53
|
+
* you need to also set “novalidate” attribute to your form element to prevent
|
|
54
|
+
* browser from displaying its own validation errors.
|
|
55
|
+
*/
|
|
44
56
|
this.required = false;
|
|
57
|
+
/**
|
|
58
|
+
* Makes the input component disabled. This prevents users from being able to
|
|
59
|
+
* interact with the input, and conveys its inactive state to assistive technologies.
|
|
60
|
+
*/
|
|
45
61
|
this.disabled = false;
|
|
62
|
+
/**
|
|
63
|
+
* Check state of the checkbox.
|
|
64
|
+
*/
|
|
46
65
|
this.checked = false;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
this.
|
|
66
|
+
/**
|
|
67
|
+
* Component event handling.
|
|
68
|
+
*/
|
|
69
|
+
this.onClick = (ev) => {
|
|
70
|
+
ev.preventDefault();
|
|
71
|
+
this.setFocus();
|
|
72
|
+
this.checked = !this.checked;
|
|
73
|
+
};
|
|
51
74
|
}
|
|
52
75
|
checkedChanged(isChecked) {
|
|
53
76
|
this.duetChange.emit({
|
|
@@ -87,18 +110,18 @@ const DuetToggle = class {
|
|
|
87
110
|
*/
|
|
88
111
|
render() {
|
|
89
112
|
const identifier = this.identifier || this.toggleId;
|
|
90
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: '5dd02994122156506b124c5fc5b34369770653ee', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'd9ecee8e94677b861f8bdd075a116e4e294ea197', class: {
|
|
91
114
|
"duet-toggle": true,
|
|
92
115
|
"duet-theme-turva": this.theme === "turva",
|
|
93
116
|
"duet-side-label": this.labelPosition !== "top",
|
|
94
117
|
"duet-reverse-label": this.labelPosition === "right",
|
|
95
|
-
} }, h(DuetInternalLabel, { key: '
|
|
118
|
+
} }, h(DuetInternalLabel, { key: '5c5a5ee2c5ac9e772c2bb8f2aaa822503af728dd', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { key: '811421a233717397e31a4f3242c92197be133ed3', class: "duet-switch" }, h("input", { key: '1e2fce505e70caf118d61d53d08b0aaff69f3ac3', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), h("div", { key: 'ca394aa66c3b8be2ad8b5c056ec7c737fcb93c44', class: "duet-slider" })))));
|
|
96
119
|
}
|
|
97
120
|
get element() { return getElement(this); }
|
|
98
121
|
static get watchers() { return {
|
|
99
122
|
"checked": ["checkedChanged"]
|
|
100
123
|
}; }
|
|
101
124
|
};
|
|
102
|
-
DuetToggle.style =
|
|
125
|
+
DuetToggle.style = duetToggleCss;
|
|
103
126
|
|
|
104
127
|
export { DuetToggle as duet_toggle };
|
|
@@ -1,21 +1,34 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
6
|
-
import {
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-EZOAO_vc.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-spmVa3d3.js';
|
|
6
|
+
import { a as isEscapeKey } from './keyboard-utils-Db8rvjPI.js';
|
|
7
7
|
|
|
8
|
-
const duetToolbarDropdownLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0
|
|
9
|
-
const DuetToolbarDropdownLinkStyle0 = duetToolbarDropdownLinkCss;
|
|
8
|
+
const duetToolbarDropdownLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-dropdown-link.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)}.duet-toolbar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva.active{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva:hover{background:rgb(251, 225, 209)}";
|
|
10
9
|
|
|
11
10
|
const DuetToolbarDropdownLink = class {
|
|
12
11
|
constructor(hostRef) {
|
|
13
12
|
registerInstance(this, hostRef);
|
|
14
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Theme.
|
|
15
|
+
*/
|
|
15
16
|
this.theme = "";
|
|
17
|
+
/**
|
|
18
|
+
* Language of the link. Use this only for language selection links.
|
|
19
|
+
*/
|
|
16
20
|
this.targetLanguage = undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Href
|
|
23
|
+
*/
|
|
17
24
|
this.href = "#";
|
|
25
|
+
/**
|
|
26
|
+
* Icon
|
|
27
|
+
*/
|
|
18
28
|
this.icon = undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Active
|
|
31
|
+
*/
|
|
19
32
|
this.active = false;
|
|
20
33
|
}
|
|
21
34
|
/**
|
|
@@ -36,14 +49,14 @@ const DuetToolbarDropdownLink = class {
|
|
|
36
49
|
* Always the last one in the class.
|
|
37
50
|
*/
|
|
38
51
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '34a5369d2806e4474bbb32400d5563fddcc3590a' }, h("a", { key: 'b16d10c8be40329d90136c486d568fb9511524d7', class: {
|
|
40
53
|
"duet-toolbar-dropdown-link": true,
|
|
41
54
|
"duet-theme-turva": this.theme === "turva",
|
|
42
55
|
active: this.active,
|
|
43
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '
|
|
56
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: 'cce54b8721ad1d017e32ac331ebcc54d53fbd88c', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '515f4c68a3917e3403e59f938fc2a2ba296e1f63', class: "label" }, h("slot", { key: '43e7eddd00dc07766e9842a4070f09e908021551' })), this.active && (h("duet-icon", { key: 'e69da314290045e523944a6d3554158627151d48', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
44
57
|
}
|
|
45
58
|
get element() { return getElement(this); }
|
|
46
59
|
};
|
|
47
|
-
DuetToolbarDropdownLink.style =
|
|
60
|
+
DuetToolbarDropdownLink.style = duetToolbarDropdownLinkCss;
|
|
48
61
|
|
|
49
62
|
export { DuetToolbarDropdownLink as duet_toolbar_dropdown_link };
|