@duetds/components 9.17.0 → 9.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +522 -230
- package/lib/cjs/{a11y-utils-3f03a649.js → a11y-utils-27715462.js} +1 -1
- package/lib/cjs/{app-globals-ec84cf84.js → app-globals-a6c4e8f5.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
- package/lib/cjs/duet-alert.cjs.entry.js +11 -17
- package/lib/cjs/duet-badge.cjs.entry.js +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +17 -10
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +17 -15
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +13 -10
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-collapsible.cjs.entry.js +17 -14
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
- package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +6 -6
- package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +10 -9
- package/lib/cjs/duet-hero.cjs.entry.js +17 -10
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +9 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-layout.cjs.entry.js +3 -3
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +18 -8
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
- package/lib/cjs/duet-panel.cjs.entry.js +3 -3
- package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-progress.cjs.entry.js +4 -4
- package/lib/cjs/duet-promo-card.cjs.entry.js +9 -8
- package/lib/cjs/duet-radio_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -13
- package/lib/cjs/duet-section-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +8 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -13
- package/lib/cjs/duet-slideout.cjs.entry.js +12 -11
- package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-42b43a15.js → errorcodes.utils-7e221216.js} +1 -1
- package/lib/cjs/{focus-utils-c047d67f.js → focus-utils-6d8d093e.js} +1 -1
- package/lib/cjs/{index-a23bb130.js → index-1044eab0.js} +1 -1
- package/lib/cjs/{language-utils-ebd2e191.js → language-utils-b3314f13.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-628154c1.js → slot-utils-0ce4686e.js} +6 -1
- package/lib/cjs/{themeable-component-7637c899.js → themeable-component-3f7d616d.js} +1 -1
- package/lib/cjs/{token-utils-c73ca50c.js → token-utils-955dd258.js} +37 -37
- package/lib/cjs/{tokens-22702e71.js → tokens-bdaa8818.js} +144 -0
- package/lib/cjs/{tokens.module-a7c77c13.js → tokens.module-2358195b.js} +96 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +18 -20
- package/lib/collection/components/duet-alert/duet-alert.css +12 -23
- package/lib/collection/components/duet-alert/duet-alert.js +16 -16
- package/lib/collection/components/duet-badge/duet-badge.css +15 -12
- package/lib/collection/components/duet-banner/duet-banner.css +30 -32
- package/lib/collection/components/duet-banner/duet-banner.js +30 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +9 -7
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +7 -7
- package/lib/collection/components/duet-button/duet-button.css +85 -60
- package/lib/collection/components/duet-callout/duet-callout.css +3 -3
- package/lib/collection/components/duet-caption/duet-caption.css +4 -4
- package/lib/collection/components/duet-card/duet-card.css +28 -18
- package/lib/collection/components/duet-card/duet-card.js +26 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +22 -12
- package/lib/collection/components/duet-chip/duet-chip.css +36 -28
- package/lib/collection/components/duet-choice/duet-checkmark.css +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +58 -53
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +29 -14
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +14 -10
- package/lib/collection/components/duet-combobox/duet-combobox.css +4 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +5 -5
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +15 -15
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +71 -51
- package/lib/collection/components/duet-divider/duet-divider.css +5 -5
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +8 -8
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +7 -7
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
- package/lib/collection/components/duet-footer/duet-footer.css +33 -19
- package/lib/collection/components/duet-footer/duet-footer.js +1 -1
- package/lib/collection/components/duet-grid/duet-grid.css +2 -6
- package/lib/collection/components/duet-grid/duet-grid.js +4 -3
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -3
- package/lib/collection/components/duet-header/duet-header.css +116 -88
- package/lib/collection/components/duet-heading/duet-heading.css +7 -7
- package/lib/collection/components/duet-hero/duet-hero.css +27 -24
- package/lib/collection/components/duet-hero/duet-hero.js +31 -5
- package/lib/collection/components/duet-icon/duet-icon.css +7 -7
- package/lib/collection/components/duet-indicator/duet-indicator.css +8 -4
- package/lib/collection/components/duet-indicator/duet-indicator.js +32 -1
- package/lib/collection/components/duet-input/duet-input.css +78 -81
- package/lib/collection/components/duet-label/duet-label.css +5 -5
- package/lib/collection/components/duet-layout/duet-layout.css +4 -4
- package/lib/collection/components/duet-link/duet-link.css +27 -24
- package/lib/collection/components/duet-list/duet-list.css +4 -4
- package/lib/collection/components/duet-list-item/duet-list-item.css +10 -10
- package/lib/collection/components/duet-logo/duet-logo.css +19 -8
- package/lib/collection/components/duet-logo/duet-logo.js +2 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +13 -13
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +12 -9
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +19 -16
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +13 -10
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +17 -14
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +16 -13
- package/lib/collection/components/duet-modal/duet-modal.css +13 -13
- package/lib/collection/components/duet-modal/duet-modal.js +2 -2
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +49 -38
- package/lib/collection/components/duet-nav/duet-nav.css +4 -4
- package/lib/collection/components/duet-notification/duet-notification.css +18 -16
- package/lib/collection/components/duet-notification/duet-notification.js +9 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +30 -26
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
- package/lib/collection/components/duet-number-input/duet-number-input.css +23 -15
- package/lib/collection/components/duet-overlay/duet-overlay.css +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +9 -9
- package/lib/collection/components/duet-pagination/duet-pagination.css +5 -5
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.css +8 -9
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +9 -9
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +8 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +7 -7
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +23 -15
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-progress/duet-progress.css +14 -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 +22 -2
- package/lib/collection/components/duet-radio/duet-radio.css +28 -15
- package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +36 -28
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +5 -5
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +20 -20
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
- package/lib/collection/components/duet-select/duet-select.css +39 -31
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
- package/lib/collection/components/duet-share-chart/duet-share-chart.css +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.css +13 -10
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +29 -32
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -3
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +5 -5
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +14 -11
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +34 -25
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +7 -5
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +20 -20
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +5 -3
- package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.css +9 -18
- package/lib/collection/components/duet-spinner/duet-spinner.js +15 -15
- package/lib/collection/components/duet-step/duet-step.css +17 -15
- package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +23 -23
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +24 -21
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +16 -13
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -17
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +19 -16
- package/lib/collection/components/duet-tab/duet-tab.css +15 -11
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +31 -37
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -4
- package/lib/collection/components/duet-table/duet-table.css +21 -18
- package/lib/collection/components/duet-textarea/duet-textarea.css +41 -31
- package/lib/collection/components/duet-toggle/duet-toggle.css +14 -9
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +6 -6
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +20 -17
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +14 -11
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +23 -21
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +23 -15
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +19 -16
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +32 -25
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +4 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
- package/lib/collection/components/duet-tray/duet-tray.css +36 -32
- package/lib/collection/components/duet-upload/duet-upload.css +6 -6
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
- package/lib/collection/utils/slot-utils.js +4 -0
- package/lib/collection/utils/turva2-color-tokens.js +36 -36
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +18 -10
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +14 -10
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +10 -10
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +18 -15
- package/lib/dist-custom-elements/duet-combobox.js +17 -17
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +15 -15
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +10 -10
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +11 -11
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +24 -16
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-indicator.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +3 -3
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +13 -13
- package/lib/dist-custom-elements/duet-multiselect.js +11 -11
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +11 -8
- package/lib/dist-custom-elements/duet-notification.js +13 -6
- package/lib/dist-custom-elements/duet-number-input.js +13 -13
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +26 -26
- package/lib/dist-custom-elements/duet-panel.js +2 -2
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +18 -18
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +10 -8
- package/lib/dist-custom-elements/duet-radio-group.js +10 -10
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +2 -2
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
- package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
- package/lib/dist-custom-elements/duet-share-chart.js +5 -5
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +14 -12
- package/lib/dist-custom-elements/duet-slideout.js +10 -9
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
- package/lib/dist-custom-elements/duet-tab-group.js +14 -13
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-item.js +9 -9
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +4 -4
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-f90dc0c0.js → p-0b65a85b.js} +12 -12
- package/lib/dist-custom-elements/{p-314fe903.js → p-0ba28ed9.js} +5 -5
- package/lib/dist-custom-elements/p-0c92061d.js +66 -0
- package/lib/dist-custom-elements/{p-7b1d0747.js → p-1f32b9fd.js} +8 -5
- package/lib/dist-custom-elements/{p-b0f1b267.js → p-27b0790d.js} +2 -2
- package/lib/dist-custom-elements/{p-a1e9e10b.js → p-318f7157.js} +5 -5
- package/lib/dist-custom-elements/{p-80451d58.js → p-36daddcc.js} +10 -10
- package/lib/dist-custom-elements/{p-a1ec8b34.js → p-370b0653.js} +1 -1
- package/lib/dist-custom-elements/{p-858e92f7.js → p-388d3f27.js} +3 -3
- package/lib/dist-custom-elements/{p-414a9cf3.js → p-4d81562b.js} +7 -7
- package/lib/dist-custom-elements/{p-e2596bcf.js → p-4e7c6547.js} +3 -3
- package/lib/dist-custom-elements/{p-24702026.js → p-586d4e77.js} +2 -2
- package/lib/dist-custom-elements/{p-474d3bfc.js → p-58dd40d8.js} +2 -2
- package/lib/dist-custom-elements/{p-ad548c39.js → p-59668efb.js} +3 -3
- package/lib/dist-custom-elements/{p-b678c2ea.js → p-6611bb3c.js} +7 -7
- package/lib/dist-custom-elements/p-67617261.js +78 -0
- package/lib/dist-custom-elements/{p-3fe34e20.js → p-6b2617d7.js} +2 -2
- package/lib/dist-custom-elements/{p-a0a4aa34.js → p-6b642a0f.js} +2 -2
- package/lib/dist-custom-elements/{p-a69b6577.js → p-6bde0f88.js} +2 -2
- package/lib/dist-custom-elements/{p-ec992e6a.js → p-6ca748e5.js} +3 -3
- package/lib/dist-custom-elements/{p-197ff38c.js → p-6cc7b04f.js} +2 -2
- package/lib/dist-custom-elements/{p-a6e34cfd.js → p-6e61da36.js} +3 -3
- package/lib/dist-custom-elements/{p-a81fd33c.js → p-71176ae5.js} +3 -3
- package/lib/dist-custom-elements/{p-04b7c053.js → p-738df69f.js} +2 -2
- package/lib/dist-custom-elements/{p-bf4a60a5.js → p-73cfbf89.js} +5 -4
- package/lib/dist-custom-elements/p-822a3658.js +221 -0
- package/lib/dist-custom-elements/{p-5e60533d.js → p-9ee646c7.js} +2 -2
- package/lib/dist-custom-elements/{p-16e2a02e.js → p-a10e2105.js} +3 -3
- package/lib/dist-custom-elements/{p-96c4a294.js → p-a5acdbd1.js} +4 -4
- package/lib/dist-custom-elements/{p-54c30917.js → p-b3c2ecbc.js} +3 -3
- package/lib/dist-custom-elements/{p-a92010cb.js → p-bc5d9435.js} +14 -14
- package/lib/dist-custom-elements/{p-4019d212.js → p-bebe4e35.js} +6 -5
- package/lib/dist-custom-elements/{p-78b6337a.js → p-c224f527.js} +37 -37
- package/lib/dist-custom-elements/{p-6f42296b.js → p-c936343b.js} +96 -0
- package/lib/dist-custom-elements/{p-eb60efcc.js → p-c972a96e.js} +144 -0
- package/lib/dist-custom-elements/{p-5fa530e0.js → p-caaa84e9.js} +5 -5
- package/lib/dist-custom-elements/{p-5251b6f3.js → p-d62457b3.js} +11 -5
- package/lib/dist-custom-elements/{p-7937b6b8.js → p-da422056.js} +4 -4
- package/lib/dist-custom-elements/{p-9ffaf6b5.js → p-de31461b.js} +10 -10
- package/lib/dist-custom-elements/{p-fedfd826.js → p-e14bb6cb.js} +2 -2
- package/lib/dist-custom-elements/{p-6a3c8021.js → p-e3318f50.js} +3 -3
- package/lib/dist-custom-elements/p-e89676de.js +318 -0
- package/lib/dist-custom-elements/{p-e772674e.js → p-ed52e0d3.js} +3 -3
- package/lib/dist-custom-elements/{p-3875b690.js → p-f407268e.js} +7 -7
- package/lib/dist-custom-elements/{p-1e3171d9.js → p-f8d1e874.js} +1 -1
- package/lib/dist-custom-elements/{p-f21662ea.js → p-fe478fac.js} +5 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-00fdc8a5.entry.js +4 -0
- package/lib/duet/p-0353b07b.entry.js +4 -0
- package/lib/duet/p-0407196d.system.entry.js +4 -0
- package/lib/duet/{p-e177046c.system.entry.js → p-04608f57.system.entry.js} +1 -1
- package/lib/duet/p-06317021.system.entry.js +4 -0
- package/lib/duet/{p-badd028d.system.entry.js → p-0738c052.system.entry.js} +1 -1
- package/lib/duet/{p-8ab631e7.entry.js → p-074c91c7.entry.js} +1 -1
- package/lib/duet/p-0834979e.entry.js +4 -0
- package/lib/duet/{p-2436f107.system.js → p-083738b6.system.js} +1 -1
- package/lib/duet/{p-bf2ef446.system.entry.js → p-087cfec4.system.entry.js} +1 -1
- package/lib/duet/p-0932bf00.system.entry.js +4 -0
- package/lib/duet/{p-1f4fc545.system.js → p-0db56130.system.js} +1 -1
- package/lib/duet/p-0dda51a5.system.entry.js +4 -0
- package/lib/duet/{p-94b4498f.system.entry.js → p-0eff2032.system.entry.js} +1 -1
- package/lib/duet/p-0fb9f963.system.entry.js +4 -0
- package/lib/duet/p-0fd2949d.entry.js +4 -0
- package/lib/duet/p-10190357.entry.js +4 -0
- package/lib/duet/p-1122796e.entry.js +4 -0
- package/lib/duet/p-117a0379.system.entry.js +4 -0
- package/lib/duet/p-14ac8312.entry.js +4 -0
- package/lib/duet/p-1853a8d1.system.entry.js +4 -0
- package/lib/duet/{p-e5f8e365.system.entry.js → p-1a8ef4df.system.entry.js} +1 -1
- package/lib/duet/p-1aabfaed.entry.js +4 -0
- package/lib/duet/{p-76503ac9.system.js → p-1f5071fd.system.js} +1 -1
- package/lib/duet/p-20da5e5e.entry.js +4 -0
- package/lib/duet/p-22a0d711.entry.js +4 -0
- package/lib/duet/{p-3f42d7b1.system.js → p-22b9e7b9.system.js} +1 -1
- package/lib/duet/p-23a14a5a.system.entry.js +4 -0
- package/lib/duet/p-27e23edc.system.entry.js +4 -0
- package/lib/duet/p-2a2a7f85.js +4 -0
- package/lib/duet/p-2e209e01.system.entry.js +4 -0
- package/lib/duet/{p-663ffd9a.system.entry.js → p-30528008.system.entry.js} +1 -1
- package/lib/duet/p-31492c23.system.entry.js +4 -0
- package/lib/duet/p-3164c809.system.entry.js +4 -0
- package/lib/duet/{p-e14eece2.entry.js → p-31dc3df9.entry.js} +1 -1
- package/lib/duet/{p-fa24fae9.system.entry.js → p-33c2b5bc.system.entry.js} +1 -1
- package/lib/duet/p-342c967e.system.entry.js +4 -0
- package/lib/duet/p-343ed54b.system.entry.js +4 -0
- package/lib/duet/p-36678b00.entry.js +4 -0
- package/lib/duet/p-36f85144.entry.js +4 -0
- package/lib/duet/{p-293e9e27.system.entry.js → p-370d2601.system.entry.js} +1 -1
- package/lib/duet/p-3815b0dd.system.entry.js +4 -0
- package/lib/duet/p-38fb1743.entry.js +4 -0
- package/lib/duet/p-396f0210.system.entry.js +4 -0
- package/lib/duet/p-3a134c72.entry.js +4 -0
- package/lib/duet/{p-53e6e1da.js → p-3b2e4c1d.js} +1 -1
- package/lib/duet/p-3c009b49.entry.js +4 -0
- package/lib/duet/p-3c312b08.entry.js +4 -0
- package/lib/duet/p-3c8067bd.entry.js +4 -0
- package/lib/duet/{p-496f50a3.entry.js → p-3ebd766d.entry.js} +1 -1
- package/lib/duet/p-3f85b6e1.system.entry.js +4 -0
- package/lib/duet/p-3fbd1e41.entry.js +4 -0
- package/lib/duet/p-403c3143.system.entry.js +4 -0
- package/lib/duet/{p-da1d7e82.entry.js → p-42fc2f19.entry.js} +1 -1
- package/lib/duet/p-43bbba35.system.js +4 -0
- package/lib/duet/{p-dfe1b2d2.entry.js → p-44a37072.entry.js} +1 -1
- package/lib/duet/p-451c3aab.system.entry.js +4 -0
- package/lib/duet/p-454d2e52.entry.js +4 -0
- package/lib/duet/{p-dbb01db7.entry.js → p-457b0314.entry.js} +1 -1
- package/lib/duet/{p-87097e7a.system.entry.js → p-47387024.system.entry.js} +1 -1
- package/lib/duet/p-47853cbb.entry.js +4 -0
- package/lib/duet/p-4af8fdc9.entry.js +4 -0
- package/lib/duet/p-4d6d92ad.system.entry.js +4 -0
- package/lib/duet/{p-f6f1463b.entry.js → p-4f10a6a2.entry.js} +1 -1
- package/lib/duet/p-5162f6cd.entry.js +4 -0
- package/lib/duet/p-5173ee52.system.entry.js +4 -0
- package/lib/duet/p-522ea2bc.system.entry.js +4 -0
- package/lib/duet/p-52a20f17.entry.js +4 -0
- package/lib/duet/p-52ea64b7.entry.js +4 -0
- package/lib/duet/p-542e6df7.system.entry.js +4 -0
- package/lib/duet/p-544af526.entry.js +4 -0
- package/lib/duet/p-55bbe82e.system.entry.js +4 -0
- package/lib/duet/{p-bd89ee4c.system.entry.js → p-567e98c3.system.entry.js} +1 -1
- package/lib/duet/p-568074aa.system.entry.js +4 -0
- package/lib/duet/p-5a366583.entry.js +4 -0
- package/lib/duet/p-5a8d14bf.system.entry.js +4 -0
- package/lib/duet/p-5b3f7cac.system.entry.js +4 -0
- package/lib/duet/{p-6a768ba8.system.entry.js → p-5bdebddc.system.entry.js} +1 -1
- package/lib/duet/p-5d338cf8.entry.js +4 -0
- package/lib/duet/{p-a6944360.system.entry.js → p-5e747ef8.system.entry.js} +1 -1
- package/lib/duet/p-5f1353eb.system.entry.js +4 -0
- package/lib/duet/p-5fc75c92.entry.js +4 -0
- package/lib/duet/p-614797cd.system.entry.js +4 -0
- package/lib/duet/p-62065bae.entry.js +4 -0
- package/lib/duet/p-64766118.js +4 -0
- package/lib/duet/p-654d2c52.entry.js +4 -0
- package/lib/duet/p-67acb8a1.entry.js +4 -0
- package/lib/duet/{p-05cdcf47.system.entry.js → p-696e260a.system.entry.js} +1 -1
- package/lib/duet/{p-d384c9b0.entry.js → p-6a74bdc7.entry.js} +1 -1
- package/lib/duet/p-6b3b79fe.system.entry.js +4 -0
- package/lib/duet/p-6daf8a1b.js +4 -0
- package/lib/duet/p-6ec70ae7.system.entry.js +4 -0
- package/lib/duet/p-73c92818.system.entry.js +4 -0
- package/lib/duet/p-74a07533.system.entry.js +4 -0
- package/lib/duet/{p-a2b06e6c.system.entry.js → p-78fd95ce.system.entry.js} +1 -1
- package/lib/duet/p-799ca114.entry.js +4 -0
- package/lib/duet/{p-33700431.system.entry.js → p-7a2bb47e.system.entry.js} +1 -1
- package/lib/duet/p-7a9b2555.system.entry.js +4 -0
- package/lib/duet/p-801de8a1.js +4 -0
- package/lib/duet/{p-ceb58878.entry.js → p-858e5593.entry.js} +1 -1
- package/lib/duet/p-8693fac0.system.entry.js +4 -0
- package/lib/duet/{p-b28604f2.entry.js → p-8e150d9e.entry.js} +1 -1
- package/lib/duet/{p-ddf20691.system.js → p-8e1def15.system.js} +1 -1
- package/lib/duet/p-8f38dd1f.entry.js +4 -0
- package/lib/duet/{p-3294a767.entry.js → p-8f63f345.entry.js} +1 -1
- package/lib/duet/{p-581391e8.entry.js → p-8fe4c3f3.entry.js} +1 -1
- package/lib/duet/p-912d1e35.entry.js +4 -0
- package/lib/duet/p-9148808e.entry.js +4 -0
- package/lib/duet/p-9309d30f.system.entry.js +4 -0
- package/lib/duet/{p-c97abf64.entry.js → p-94421fff.entry.js} +1 -1
- package/lib/duet/p-9461adf1.system.entry.js +4 -0
- package/lib/duet/p-94f50cf0.system.entry.js +4 -0
- package/lib/duet/p-96c0a423.system.entry.js +4 -0
- package/lib/duet/p-9718c106.js +4 -0
- package/lib/duet/p-975a3215.system.entry.js +4 -0
- package/lib/duet/p-987df55c.system.entry.js +4 -0
- package/lib/duet/p-9b7e8ab5.system.entry.js +4 -0
- package/lib/duet/{p-f183abd6.system.js → p-9d6c1403.system.js} +1 -1
- package/lib/duet/p-9d8ac94e.entry.js +4 -0
- package/lib/duet/p-9d9457bf.js +4 -0
- package/lib/duet/p-9e34f749.system.entry.js +4 -0
- package/lib/duet/p-9f79df76.system.entry.js +4 -0
- package/lib/duet/{p-ca32f459.js → p-9fe69b29.js} +1 -1
- package/lib/duet/p-a081ba40.system.entry.js +4 -0
- package/lib/duet/p-a44bb8ed.system.entry.js +4 -0
- package/lib/duet/p-a4a80b80.system.entry.js +4 -0
- package/lib/duet/{p-1f9e01ca.entry.js → p-a723ed36.entry.js} +1 -1
- package/lib/duet/p-a8e575f2.entry.js +4 -0
- package/lib/duet/{p-7c11a214.system.entry.js → p-ab5a725f.system.entry.js} +1 -1
- package/lib/duet/{p-a9c973e2.entry.js → p-ac04269e.entry.js} +1 -1
- package/lib/duet/{p-3a36c86a.entry.js → p-ae0f818b.entry.js} +1 -1
- package/lib/duet/p-ae0fd651.entry.js +4 -0
- package/lib/duet/p-b111d93d.system.entry.js +4 -0
- package/lib/duet/p-b2121bec.entry.js +4 -0
- package/lib/duet/p-b259aa2e.entry.js +4 -0
- package/lib/duet/p-b70a5218.system.entry.js +4 -0
- package/lib/duet/{p-ae898815.entry.js → p-b786f573.entry.js} +1 -1
- package/lib/duet/p-b81ac5ae.system.js +4 -0
- package/lib/duet/p-b8688298.entry.js +4 -0
- package/lib/duet/p-b8789b13.system.entry.js +4 -0
- package/lib/duet/{p-b4bdd169.entry.js → p-ba9b82ac.entry.js} +1 -1
- package/lib/duet/p-bb6c5d9b.entry.js +4 -0
- package/lib/duet/p-c311a973.entry.js +4 -0
- package/lib/duet/p-c45a6eb5.entry.js +4 -0
- package/lib/duet/{p-d5ddd427.system.entry.js → p-c6b3efe7.system.entry.js} +1 -1
- package/lib/duet/p-c88bd45b.system.js +4 -0
- package/lib/duet/p-c972a96e.js +4 -0
- package/lib/duet/p-cbe272ff.system.entry.js +4 -0
- package/lib/duet/p-cc300171.system.entry.js +4 -0
- package/lib/duet/{p-23e07f62.entry.js → p-cd94ea4d.entry.js} +1 -1
- package/lib/duet/p-d0799d89.entry.js +4 -0
- package/lib/duet/p-d0dbbd18.entry.js +4 -0
- package/lib/duet/p-d20c3b70.entry.js +4 -0
- package/lib/duet/p-d21f9230.system.js +4 -0
- package/lib/duet/p-d40c555f.system.entry.js +4 -0
- package/lib/duet/{p-4d453e20.entry.js → p-d51bbbc5.entry.js} +1 -1
- package/lib/duet/p-d5fca58a.entry.js +4 -0
- package/lib/duet/{p-a270142b.system.entry.js → p-d647ee04.system.entry.js} +1 -1
- package/lib/duet/{p-ed759aeb.system.entry.js → p-d838a9ab.system.entry.js} +1 -1
- package/lib/duet/p-d9a48ce2.system.entry.js +4 -0
- package/lib/duet/p-da0d4e53.system.entry.js +4 -0
- package/lib/duet/p-db0ba7b6.system.js +4 -0
- package/lib/duet/{p-9d8190ef.entry.js → p-db94518e.entry.js} +1 -1
- package/lib/duet/p-dbe544da.system.entry.js +4 -0
- package/lib/duet/p-dc52f8b3.entry.js +4 -0
- package/lib/duet/p-de665458.entry.js +4 -0
- package/lib/duet/{p-4bb73342.entry.js → p-df475aba.entry.js} +1 -1
- package/lib/duet/p-e42f6025.system.entry.js +4 -0
- package/lib/duet/{p-cbf98d67.entry.js → p-e4695812.entry.js} +1 -1
- package/lib/duet/{p-b348dd23.entry.js → p-e4819f63.entry.js} +1 -1
- package/lib/duet/p-e59c5a32.system.js +4 -0
- package/lib/duet/p-e6f0be75.entry.js +4 -0
- package/lib/duet/{p-c6b55245.entry.js → p-e7ee0ec6.entry.js} +1 -1
- package/lib/duet/{p-1070bd45.entry.js → p-e919fa07.entry.js} +1 -1
- package/lib/duet/{p-e58784e3.entry.js → p-ebb705ea.entry.js} +1 -1
- package/lib/duet/p-ebfbee15.system.entry.js +4 -0
- package/lib/duet/p-ef3c6cfe.system.entry.js +4 -0
- package/lib/duet/p-f051365a.system.entry.js +4 -0
- package/lib/duet/p-f0a6103e.js +5 -0
- package/lib/duet/{p-1adddd5f.entry.js → p-f1cd0117.entry.js} +1 -1
- package/lib/duet/{p-c2a4fdd4.entry.js → p-f428124a.entry.js} +1 -1
- package/lib/duet/p-f67270bc.entry.js +4 -0
- package/lib/duet/p-f744061c.system.entry.js +4 -0
- package/lib/duet/p-f856fc6d.system.entry.js +4 -0
- package/lib/duet/p-f8a583d7.system.entry.js +4 -0
- package/lib/duet/p-f8a8bf99.system.entry.js +4 -0
- package/lib/duet/p-f8ca9352.entry.js +4 -0
- package/lib/duet/{p-68fea15e.js → p-f9051bab.js} +1 -1
- package/lib/duet/p-fa878282.entry.js +4 -0
- package/lib/duet/p-fc8f1bed.system.entry.js +4 -0
- package/lib/duet/p-fc9aafe5.entry.js +4 -0
- package/lib/duet/p-fd34a664.entry.js +4 -0
- package/lib/duet/p-fe1ac373.entry.js +4 -0
- package/lib/duet/p-ff1d5ca4.system.entry.js +4 -0
- package/lib/duet/{p-9b4645ac.system.entry.js → p-ff5f3e09.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-477acfdc.js → a11y-utils-35c2f182.js} +1 -1
- package/lib/esm/{app-globals-fbabb161.js → app-globals-143619f5.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +6 -6
- package/lib/esm/duet-alert.entry.js +11 -17
- package/lib/esm/duet-badge.entry.js +4 -4
- package/lib/esm/duet-banner.entry.js +17 -10
- package/lib/esm/duet-breadcrumb.entry.js +3 -3
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +17 -15
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +13 -10
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +6 -6
- package/lib/esm/duet-collapsible.entry.js +17 -14
- package/lib/esm/duet-combobox.entry.js +5 -5
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +6 -6
- package/lib/esm/duet-divider_2.entry.js +6 -6
- package/lib/esm/duet-editable-table_3.entry.js +9 -9
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +4 -4
- package/lib/esm/duet-file-chooser.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +6 -6
- package/lib/esm/duet-grid_2.entry.js +7 -6
- package/lib/esm/duet-header_2.entry.js +10 -9
- package/lib/esm/duet-hero.entry.js +17 -10
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +9 -4
- package/lib/esm/duet-input_2.entry.js +8 -8
- package/lib/esm/duet-layout.entry.js +3 -3
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +10 -10
- package/lib/esm/duet-multiselect.entry.js +5 -5
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +18 -8
- package/lib/esm/duet-number-input.entry.js +5 -5
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +18 -18
- package/lib/esm/duet-panel.entry.js +3 -3
- package/lib/esm/duet-phone-input.entry.js +5 -5
- package/lib/esm/duet-popup-menu_2.entry.js +9 -9
- package/lib/esm/duet-progress.entry.js +4 -4
- package/lib/esm/duet-promo-card.entry.js +9 -8
- package/lib/esm/duet-radio_2.entry.js +5 -5
- package/lib/esm/duet-range-slider.entry.js +4 -4
- package/lib/esm/duet-scrollable_3.entry.js +14 -13
- package/lib/esm/duet-section-layout.entry.js +2 -2
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-share-chart-item.entry.js +1 -1
- package/lib/esm/duet-share-chart.entry.js +7 -7
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +6 -6
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +8 -6
- package/lib/esm/duet-slideout-panel.entry.js +15 -13
- package/lib/esm/duet-slideout.entry.js +12 -11
- package/lib/esm/duet-status-icon.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +4 -4
- package/lib/esm/duet-textarea.entry.js +5 -5
- package/lib/esm/duet-toggle.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- package/lib/esm/duet-toolbar-item.entry.js +9 -9
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +5 -5
- package/lib/esm/duet-tooltip-button_2.entry.js +9 -6
- package/lib/esm/duet-tooltip.entry.js +5 -5
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-3b160dbb.js → errorcodes.utils-1e9af184.js} +1 -1
- package/lib/esm/{focus-utils-1bece0cd.js → focus-utils-d80e0fff.js} +1 -1
- package/lib/esm/{index-79fc1b32.js → index-8edff080.js} +1 -1
- package/lib/esm/{language-utils-a17dc5f3.js → language-utils-da0a98a7.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-b099bb75.js → slot-utils-86873bd2.js} +6 -2
- package/lib/esm/{themeable-component-356b273d.js → themeable-component-19d01405.js} +1 -1
- package/lib/esm/{token-utils-cf052bc0.js → token-utils-d02c20ff.js} +37 -37
- package/lib/esm/{tokens-57aa1508.js → tokens-1fd83076.js} +144 -0
- package/lib/esm/{tokens.module-821694bb.js → tokens.module-7b07911f.js} +96 -0
- package/lib/esm-es5/{a11y-utils-477acfdc.js → a11y-utils-35c2f182.js} +1 -1
- package/lib/esm-es5/{app-globals-fbabb161.js → app-globals-143619f5.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-indicator.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-panel.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +2 -2
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-3b160dbb.js → errorcodes.utils-1e9af184.js} +1 -1
- package/lib/esm-es5/focus-utils-d80e0fff.js +4 -0
- package/lib/esm-es5/index-8edff080.js +4 -0
- package/lib/esm-es5/{language-utils-a17dc5f3.js → language-utils-da0a98a7.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/slot-utils-86873bd2.js +4 -0
- package/lib/esm-es5/{themeable-component-356b273d.js → themeable-component-19d01405.js} +1 -1
- package/lib/esm-es5/token-utils-d02c20ff.js +4 -0
- package/lib/esm-es5/tokens-1fd83076.js +4 -0
- package/lib/esm-es5/tokens.module-7b07911f.js +4 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +2 -4
- package/lib/types/components/duet-banner/duet-banner.d.ts +4 -0
- package/lib/types/components/duet-card/duet-card.d.ts +4 -0
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -1
- package/lib/types/components/duet-grid/duet-grid.d.ts +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +4 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +8 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +5 -3
- package/lib/types/components.d.ts +47 -7
- package/lib/types/utils/slot-utils.d.ts +1 -0
- package/package.json +9 -9
- package/lib/dist-custom-elements/p-495059d2.js +0 -78
- package/lib/dist-custom-elements/p-7500a672.js +0 -318
- package/lib/dist-custom-elements/p-b2b8bd32.js +0 -227
- package/lib/dist-custom-elements/p-f1ad635a.js +0 -64
- package/lib/duet/p-008bb91e.system.entry.js +0 -4
- package/lib/duet/p-0438375f.entry.js +0 -4
- package/lib/duet/p-049c988c.entry.js +0 -4
- package/lib/duet/p-04d95150.entry.js +0 -4
- package/lib/duet/p-05ca0ad3.system.entry.js +0 -4
- package/lib/duet/p-061ef483.entry.js +0 -4
- package/lib/duet/p-06359695.system.entry.js +0 -4
- package/lib/duet/p-0b80b34f.system.entry.js +0 -4
- package/lib/duet/p-0fa600fe.system.entry.js +0 -4
- package/lib/duet/p-0ff69fd9.system.entry.js +0 -4
- package/lib/duet/p-13eec75c.system.js +0 -4
- package/lib/duet/p-17efced0.js +0 -4
- package/lib/duet/p-19b6319d.entry.js +0 -4
- package/lib/duet/p-1c37974e.entry.js +0 -4
- package/lib/duet/p-1cd1ae13.system.entry.js +0 -4
- package/lib/duet/p-1d003050.system.entry.js +0 -4
- package/lib/duet/p-212cdff6.system.entry.js +0 -4
- package/lib/duet/p-2437fb8b.entry.js +0 -4
- package/lib/duet/p-273b65d0.entry.js +0 -4
- package/lib/duet/p-29076935.system.entry.js +0 -4
- package/lib/duet/p-29d51b92.system.entry.js +0 -4
- package/lib/duet/p-2d1690fa.system.entry.js +0 -4
- package/lib/duet/p-2e8124ec.entry.js +0 -4
- package/lib/duet/p-2fa5de89.entry.js +0 -4
- package/lib/duet/p-3476ee3c.entry.js +0 -4
- package/lib/duet/p-39754220.entry.js +0 -4
- package/lib/duet/p-3cff3d41.entry.js +0 -4
- package/lib/duet/p-3dc9bee2.entry.js +0 -4
- package/lib/duet/p-410c86aa.system.entry.js +0 -4
- package/lib/duet/p-42d40a3c.entry.js +0 -4
- package/lib/duet/p-443ac457.system.entry.js +0 -4
- package/lib/duet/p-46183ffe.system.entry.js +0 -4
- package/lib/duet/p-47d5e1ce.system.entry.js +0 -4
- package/lib/duet/p-493aa637.entry.js +0 -4
- package/lib/duet/p-4b6044f0.system.entry.js +0 -4
- package/lib/duet/p-4da157c6.entry.js +0 -4
- package/lib/duet/p-52284920.system.entry.js +0 -4
- package/lib/duet/p-537a1070.entry.js +0 -4
- package/lib/duet/p-55666326.system.entry.js +0 -4
- package/lib/duet/p-56774ba4.system.js +0 -4
- package/lib/duet/p-56c98bbe.system.entry.js +0 -4
- package/lib/duet/p-57184a72.system.entry.js +0 -4
- package/lib/duet/p-577ef99d.system.entry.js +0 -4
- package/lib/duet/p-57e79e5a.entry.js +0 -4
- package/lib/duet/p-58deab8e.system.entry.js +0 -4
- package/lib/duet/p-5b1d7d11.system.entry.js +0 -4
- package/lib/duet/p-5bbfd1f3.entry.js +0 -4
- package/lib/duet/p-5f76cca6.system.entry.js +0 -4
- package/lib/duet/p-60e0b1b3.entry.js +0 -4
- package/lib/duet/p-62f62a4e.system.entry.js +0 -4
- package/lib/duet/p-64959c1d.system.js +0 -4
- package/lib/duet/p-64fff9d4.entry.js +0 -4
- package/lib/duet/p-65282a91.entry.js +0 -4
- package/lib/duet/p-65b5d699.entry.js +0 -4
- package/lib/duet/p-67c1b790.entry.js +0 -4
- package/lib/duet/p-67c57029.entry.js +0 -4
- package/lib/duet/p-68b8d3a7.entry.js +0 -4
- package/lib/duet/p-68ec675c.system.entry.js +0 -4
- package/lib/duet/p-6af320c5.system.entry.js +0 -4
- package/lib/duet/p-6e179c6b.system.entry.js +0 -4
- package/lib/duet/p-700d90be.system.entry.js +0 -4
- package/lib/duet/p-718db92a.entry.js +0 -4
- package/lib/duet/p-74a09baf.system.entry.js +0 -4
- package/lib/duet/p-75fdf144.system.js +0 -4
- package/lib/duet/p-76fa145c.entry.js +0 -4
- package/lib/duet/p-79f4d63d.entry.js +0 -4
- package/lib/duet/p-7a4605fd.system.entry.js +0 -4
- package/lib/duet/p-7a9e70bd.entry.js +0 -4
- package/lib/duet/p-7ae725cf.system.js +0 -4
- package/lib/duet/p-7ea0d841.js +0 -4
- package/lib/duet/p-7fb3b41a.entry.js +0 -4
- package/lib/duet/p-80bf7a6d.js +0 -4
- package/lib/duet/p-823df6f8.entry.js +0 -4
- package/lib/duet/p-847984b4.system.entry.js +0 -4
- package/lib/duet/p-8480c4ef.entry.js +0 -4
- package/lib/duet/p-85e2b80d.system.entry.js +0 -4
- package/lib/duet/p-8642fde1.js +0 -4
- package/lib/duet/p-86482d30.system.entry.js +0 -4
- package/lib/duet/p-8668b568.entry.js +0 -4
- package/lib/duet/p-876e3c63.entry.js +0 -4
- package/lib/duet/p-88cf5661.entry.js +0 -4
- package/lib/duet/p-899d6d41.entry.js +0 -4
- package/lib/duet/p-8ab69ada.entry.js +0 -4
- package/lib/duet/p-8e2ffeb6.system.entry.js +0 -4
- package/lib/duet/p-9117cb65.system.entry.js +0 -4
- package/lib/duet/p-9468eb9d.entry.js +0 -4
- package/lib/duet/p-95193904.entry.js +0 -4
- package/lib/duet/p-97374309.system.entry.js +0 -4
- package/lib/duet/p-a0b4a7c0.system.entry.js +0 -4
- package/lib/duet/p-a3e95ce2.system.entry.js +0 -4
- package/lib/duet/p-a40be7c9.system.entry.js +0 -4
- package/lib/duet/p-a5997dea.entry.js +0 -4
- package/lib/duet/p-a5ddcabc.system.js +0 -4
- package/lib/duet/p-a65df70c.entry.js +0 -4
- package/lib/duet/p-ad04b6d1.system.entry.js +0 -4
- package/lib/duet/p-ae7b2ff0.entry.js +0 -4
- package/lib/duet/p-b0d6f6da.entry.js +0 -4
- package/lib/duet/p-b4ffb80d.js +0 -4
- package/lib/duet/p-b62b157d.entry.js +0 -4
- package/lib/duet/p-b81c80d4.js +0 -4
- package/lib/duet/p-bb69d7c1.entry.js +0 -4
- package/lib/duet/p-c01ab555.system.entry.js +0 -4
- package/lib/duet/p-c185128e.system.entry.js +0 -4
- package/lib/duet/p-c1b0c2d9.system.entry.js +0 -4
- package/lib/duet/p-c34f89af.system.entry.js +0 -4
- package/lib/duet/p-c6d073be.js +0 -5
- package/lib/duet/p-c843e862.system.entry.js +0 -4
- package/lib/duet/p-caa37dc7.system.entry.js +0 -4
- package/lib/duet/p-cd1744f2.system.entry.js +0 -4
- package/lib/duet/p-cfa5ca24.entry.js +0 -4
- package/lib/duet/p-d191efda.system.entry.js +0 -4
- package/lib/duet/p-d2e4bd07.system.entry.js +0 -4
- package/lib/duet/p-dc330b8c.system.entry.js +0 -4
- package/lib/duet/p-dcd63244.entry.js +0 -4
- package/lib/duet/p-ddf7a3ca.system.entry.js +0 -4
- package/lib/duet/p-e080806b.system.entry.js +0 -4
- package/lib/duet/p-e1d27084.system.entry.js +0 -4
- package/lib/duet/p-e3656611.system.entry.js +0 -4
- package/lib/duet/p-e3752ac5.entry.js +0 -4
- package/lib/duet/p-e3c246cb.entry.js +0 -4
- package/lib/duet/p-e94c7242.entry.js +0 -4
- package/lib/duet/p-e9a0f29e.system.entry.js +0 -4
- package/lib/duet/p-eb60efcc.js +0 -4
- package/lib/duet/p-ebe1da5f.system.entry.js +0 -4
- package/lib/duet/p-ef853142.system.entry.js +0 -4
- package/lib/duet/p-f55a48a1.entry.js +0 -4
- package/lib/duet/p-f6711efe.system.entry.js +0 -4
- package/lib/duet/p-f6b920dd.system.entry.js +0 -4
- package/lib/duet/p-f6d7404f.system.entry.js +0 -4
- package/lib/duet/p-f6efded0.entry.js +0 -4
- package/lib/duet/p-fa1176a3.system.entry.js +0 -4
- package/lib/duet/p-fa2f610d.entry.js +0 -4
- package/lib/duet/p-fb26ac12.system.entry.js +0 -4
- package/lib/duet/p-fd806af2.entry.js +0 -4
- package/lib/duet/p-fdf201cd.system.entry.js +0 -4
- package/lib/duet/p-fe781761.system.entry.js +0 -4
- package/lib/duet/p-ff8570f9.entry.js +0 -4
- package/lib/esm-es5/focus-utils-1bece0cd.js +0 -4
- package/lib/esm-es5/index-79fc1b32.js +0 -4
- package/lib/esm-es5/slot-utils-b099bb75.js +0 -4
- package/lib/esm-es5/token-utils-cf052bc0.js +0 -4
- package/lib/esm-es5/tokens-57aa1508.js +0 -4
- package/lib/esm-es5/tokens.module-821694bb.js +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-370b0653.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
|
-
import { h as hasSlot } from './p-
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { h as hasSlot } from './p-fe478fac.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-6cc7b04f.js';
|
|
9
9
|
|
|
10
|
-
const duetFieldsetCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0
|
|
10
|
+
const duetFieldsetCss = "*,*::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-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{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-legend-wrapper{position:relative;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{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-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-fieldset-help span.duet-m-0{margin-top:0}.duet-theme-turva .duet-fieldset-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(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}:host(.duet-theme-turva2) .duet-theme-turva .duet-legend-wrapper{color:rgb(23, 42, 59)}";
|
|
11
11
|
const DuetFieldsetStyle0 = duetFieldsetCss;
|
|
12
12
|
|
|
13
13
|
const DuetFieldset = /*@__PURE__*/ proxyCustomElement(class DuetFieldset extends H {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-370b0653.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { g as getLocaleString } from './p-d9b2e80e.js';
|
|
7
7
|
import { p as parsePossibleJSON } from './p-9c3c64b9.js';
|
|
8
|
-
import { d as defineCustomElement$9 } from './p-
|
|
9
|
-
import { d as defineCustomElement$8 } from './p-
|
|
10
|
-
import { d as defineCustomElement$7 } from './p-
|
|
11
|
-
import { d as defineCustomElement$6 } from './p-
|
|
12
|
-
import { d as defineCustomElement$5 } from './p-
|
|
13
|
-
import { d as defineCustomElement$4 } from './p-
|
|
14
|
-
import { d as defineCustomElement$3 } from './p-
|
|
15
|
-
import { d as defineCustomElement$2 } from './p-
|
|
16
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$9 } from './p-0ba28ed9.js';
|
|
9
|
+
import { d as defineCustomElement$8 } from './p-67617261.js';
|
|
10
|
+
import { d as defineCustomElement$7 } from './p-59668efb.js';
|
|
11
|
+
import { d as defineCustomElement$6 } from './p-71176ae5.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './p-318f7157.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-6e61da36.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-ed52e0d3.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-58dd40d8.js';
|
|
16
|
+
import { d as defineCustomElement$1 } from './p-9ee646c7.js';
|
|
17
17
|
|
|
18
18
|
const getError = (code, errorCodes) => {
|
|
19
19
|
let error = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-370b0653.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
|
|
8
|
-
const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0
|
|
8
|
+
const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-checkbox-h{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;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}[alignment=form-distribute]>.sc-duet-checkbox-h:last-of-type{margin-right:8px !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;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;vertical-align:top;color:rgb(8, 42, 77);cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{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-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before,.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before.duet-theme-turva,.duet-theme-turva2.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before,.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(143, 147, 158)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error.sc-duet-checkbox{margin-left:31px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox{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(214, 28, 82)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox,.duet-label-hidden.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 42, 59);border-color:rgb(23, 42, 59)}";
|
|
9
9
|
const DuetCheckboxStyle0 = duetCheckboxCss;
|
|
10
10
|
|
|
11
11
|
const DuetCheckbox = /*@__PURE__*/ proxyCustomElement(class DuetCheckbox extends H {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-370b0653.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange, e as enableUserIsTabbing } from './p-8db11326.js';
|
|
8
8
|
import { g as getLocaleString } from './p-d9b2e80e.js';
|
|
9
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$1 } from './p-71176ae5.js';
|
|
10
10
|
|
|
11
|
-
const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(255, 213, 215)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:#172a3b !important;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:#fdf7f2;border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:#fbe1d1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:#fdf7f2;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:#e61740}";
|
|
11
|
+
const duetChipCss = "*,*::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;position:relative;display:inline-block;width:auto;max-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{margin-right:8px !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;hyphens:none;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){visibility:visible;width:auto;transform:scaleX(1);transition:width 300ms ease, transform 300ms ease}.duet-chip-container duet-icon.check-mark{visibility:hidden;width:0;overflow:hidden;transform:scaleX(0);transition:width 300ms ease, transform 300ms ease}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){visibility:hidden;width:0;overflow:hidden;transform:scaleX(0);transition:width 300ms ease, transform 300ms ease}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{visibility:visible;width:auto;transform:scaleX(1);transition:width 300ms ease, transform 300ms ease}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(255, 213, 215)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva2,.duet-theme-turva :host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;appearance:none;cursor:pointer;border-width:2px;border-radius:8px;opacity:0}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:rgb(23, 42, 59) !important;border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:rgb(253, 247, 242);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:rgb(253, 247, 242);border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:rgb(230, 23, 64)}";
|
|
12
12
|
const DuetChipStyle0 = duetChipCss;
|
|
13
13
|
|
|
14
14
|
const DuetChip = /*@__PURE__*/ proxyCustomElement(class DuetChip extends H {
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-370b0653.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
|
+
import { a as DuetStringsExternalDefaults, b as DuetStringsLoadingDefaults } from './p-b7a93f1c.js';
|
|
7
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-d9b2e80e.js';
|
|
8
|
+
import { g as getColorByName } from './p-c224f527.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-71176ae5.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-0c92061d.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-9ee646c7.js';
|
|
12
|
+
|
|
13
|
+
const duetButtonCss = "*,*::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;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;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{margin-right:8px !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.square):last-of-type{margin-right:12px !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.duet-small):last-of-type,[alignment=form-distribute]>:host(.duet-x-small):last-of-type{margin-right:4px !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.duet-x-small):last-of-type{margin-right:2px !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.square.duet-small):last-of-type,[alignment=form-distribute]>:host(.square.duet-x-small):last-of-type{margin-right:8px !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva,.duet-theme-turva2 .duet-button:focus,.duet-button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{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(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179);outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva2{outline-color:rgb(120, 145, 164)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.plain.duet-button-icon-only:focus{outline-offset:1px}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;outline:none !important;outline-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;outline-color:rgb(222, 224, 228) !important;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button{border-radius:8px}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:rgb(230, 23, 64) !important;border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 42, 59) !important;border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-bottom-left-radius:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-left-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-left-secondary{border-top-right-radius:0;border-bottom-right-radius:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:rgb(23, 42, 59) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:rgb(230, 23, 64) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:rgb(140, 0, 30) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(95, 122, 143) !important;background:transparent !important;border-color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(120, 145, 164) !important;cursor:not-allowed;outline-color:rgb(212, 221, 226) !important;background:rgb(212, 221, 226) !important;border-color:rgb(212, 221, 226) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:rgb(230, 23, 64)}";
|
|
14
|
+
const DuetButtonStyle0 = duetButtonCss;
|
|
15
|
+
|
|
16
|
+
const DuetButton = /*@__PURE__*/ proxyCustomElement(class DuetButton extends H {
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
19
|
+
this.__registerHost();
|
|
20
|
+
this.__attachShadow();
|
|
21
|
+
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
22
|
+
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
23
|
+
this.proxyButtonSetUp = () => {
|
|
24
|
+
const slottedElement = this.element.querySelector("button[slot=proxybutton]");
|
|
25
|
+
const button = slottedElement || document.createElement("button");
|
|
26
|
+
if (this.url) {
|
|
27
|
+
if (slottedElement) {
|
|
28
|
+
slottedElement.remove();
|
|
29
|
+
}
|
|
30
|
+
this.proxyButton = null;
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
button.setAttribute("slot", "proxybutton");
|
|
34
|
+
button.style.display = "none";
|
|
35
|
+
button.type = this.getButtonType();
|
|
36
|
+
button.disabled = this.disabled;
|
|
37
|
+
button.setAttribute("form", this.form);
|
|
38
|
+
if (!this.form) {
|
|
39
|
+
button.removeAttribute("form");
|
|
40
|
+
}
|
|
41
|
+
// attributes should be removed in cases where name/value is not set
|
|
42
|
+
if (this.name != null) {
|
|
43
|
+
button.name = this.name;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
button.removeAttribute("name");
|
|
47
|
+
}
|
|
48
|
+
if (this.value != null) {
|
|
49
|
+
button.value = this.value;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
button.removeAttribute("value");
|
|
53
|
+
}
|
|
54
|
+
if (!slottedElement) {
|
|
55
|
+
this.element.appendChild(button);
|
|
56
|
+
}
|
|
57
|
+
this.proxyButton = button;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Component event handling.
|
|
61
|
+
*/
|
|
62
|
+
this.handleClick = (ev) => {
|
|
63
|
+
// If this button wants to specifically submit a form
|
|
64
|
+
// climb up the dom to see if we're in a <form>
|
|
65
|
+
// and if so, then use JS to submit it.
|
|
66
|
+
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
67
|
+
if (this.submit && !this.url && (this.element.closest("form") || this.form)) {
|
|
68
|
+
ev.stopPropagation();
|
|
69
|
+
ev.preventDefault();
|
|
70
|
+
this.proxyButton.click();
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
this.onFocus = () => {
|
|
74
|
+
this.duetFocus.emit();
|
|
75
|
+
};
|
|
76
|
+
this.onBlur = () => {
|
|
77
|
+
this.duetBlur.emit();
|
|
78
|
+
};
|
|
79
|
+
this.accessibleLabel = undefined;
|
|
80
|
+
this.accessibleControls = undefined;
|
|
81
|
+
this.accessiblePopup = "false";
|
|
82
|
+
this.accessibleActiveDescendant = undefined;
|
|
83
|
+
this.accessibleOwns = undefined;
|
|
84
|
+
this.accessibleDescribedBy = undefined;
|
|
85
|
+
this.accessibleDetails = undefined;
|
|
86
|
+
this.accessibleLabelledBy = undefined;
|
|
87
|
+
this.accessibleDescription = undefined;
|
|
88
|
+
this.accessibleExpanded = undefined;
|
|
89
|
+
this.accessiblePressed = undefined;
|
|
90
|
+
this.loading = false;
|
|
91
|
+
this.variation = "default";
|
|
92
|
+
this.negative = false;
|
|
93
|
+
this.theme = "";
|
|
94
|
+
this.margin = "auto";
|
|
95
|
+
this.form = undefined;
|
|
96
|
+
this.padding = "auto";
|
|
97
|
+
this.centerText = false;
|
|
98
|
+
this.wrapping = "auto";
|
|
99
|
+
this.expand = false;
|
|
100
|
+
this.fixed = false;
|
|
101
|
+
this.disabled = false;
|
|
102
|
+
this.name = undefined;
|
|
103
|
+
this.value = undefined;
|
|
104
|
+
this.identifier = undefined;
|
|
105
|
+
this.submit = false;
|
|
106
|
+
this.external = false;
|
|
107
|
+
this.language = getLanguage();
|
|
108
|
+
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
109
|
+
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
110
|
+
this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
|
|
111
|
+
this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
|
|
112
|
+
this.icon = "";
|
|
113
|
+
this.color = "";
|
|
114
|
+
this.iconRight = false;
|
|
115
|
+
this.iconSize = "medium";
|
|
116
|
+
this.size = "medium";
|
|
117
|
+
this.iconOnly = false;
|
|
118
|
+
this.url = undefined;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Component lifecycle events.
|
|
122
|
+
*/
|
|
123
|
+
componentWillLoad() {
|
|
124
|
+
inheritGlobalTheme(this);
|
|
125
|
+
if (this.url && this.external && this.icon) {
|
|
126
|
+
console.warn("[DUET]: Button used as an external link will override any icon that is set");
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
connectedCallback() {
|
|
130
|
+
connectLanguageChangeObserver(this, [
|
|
131
|
+
{
|
|
132
|
+
prop: "accessibleLabelExternal",
|
|
133
|
+
defaults: "accessibleLabelExternalDefaults",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
prop: "accessibleLabelLoading",
|
|
137
|
+
defaults: "accessibleLabelLoadingDefaults",
|
|
138
|
+
},
|
|
139
|
+
]);
|
|
140
|
+
}
|
|
141
|
+
disconnectedCallback() {
|
|
142
|
+
disconnectLanguageChangeObserver(this);
|
|
143
|
+
}
|
|
144
|
+
componentDidRender() {
|
|
145
|
+
if (this.disabled === false) {
|
|
146
|
+
this.element.removeAttribute("disabled");
|
|
147
|
+
}
|
|
148
|
+
if (this.submit) {
|
|
149
|
+
this.proxyButtonSetUp();
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
getButtonType() {
|
|
153
|
+
return this.submit ? "submit" : "button";
|
|
154
|
+
}
|
|
155
|
+
getButtonIconSize() {
|
|
156
|
+
switch (this.iconSize) {
|
|
157
|
+
case "small":
|
|
158
|
+
return "small";
|
|
159
|
+
case "medium-small":
|
|
160
|
+
return "medium-small";
|
|
161
|
+
case "medium":
|
|
162
|
+
return "medium";
|
|
163
|
+
case "large":
|
|
164
|
+
return "large";
|
|
165
|
+
default:
|
|
166
|
+
return "medium";
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Sets focus on the specified `duet-button`. Use this method instead of the global
|
|
171
|
+
* `button.focus()`.
|
|
172
|
+
*/
|
|
173
|
+
async setFocus(options) {
|
|
174
|
+
if (this.nativeButton) {
|
|
175
|
+
this.nativeButton.focus(options);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* render() function.
|
|
180
|
+
* Always the last one in the class.
|
|
181
|
+
*/
|
|
182
|
+
render() {
|
|
183
|
+
var _a, _b;
|
|
184
|
+
const isExternalLink = this.external && this.url;
|
|
185
|
+
// enforce consistency for external links
|
|
186
|
+
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
187
|
+
const iconRight = isExternalLink ? true : this.iconRight;
|
|
188
|
+
const commonChildren = (h("span", { key: '4b6618222c037ec329c118f7ad247b9fd514e878', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (h("span", { key: '67492c9b50231879ba232f7c6bcdadcb2d219875', "aria-hidden": "true", class: {
|
|
189
|
+
"duet-button-icon": true,
|
|
190
|
+
left: !iconRight,
|
|
191
|
+
right: iconRight,
|
|
192
|
+
[this.getButtonIconSize()]: true,
|
|
193
|
+
} }, h("duet-icon", { key: 'fce0630d78df187c2a7f3946ff3d262c43e5ce95', size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { key: '34d608211bac6921c4aec51f71a9b33e2ac2b7b0', class: "duet-button-contents-slot" }, h("slot", { key: 'b2478d851993c148be6a83a76f9f725469bc9944' }))));
|
|
194
|
+
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
195
|
+
const commonProps = {
|
|
196
|
+
onFocus: this.onFocus,
|
|
197
|
+
onBlur: this.onBlur,
|
|
198
|
+
ref: button => (this.nativeButton = button),
|
|
199
|
+
id: this.identifier,
|
|
200
|
+
class: {
|
|
201
|
+
"duet-m-0": this.margin === "none",
|
|
202
|
+
"duet-p-0": this.padding === "none",
|
|
203
|
+
"duet-no-wrap": this.wrapping === "none",
|
|
204
|
+
"duet-button": true,
|
|
205
|
+
"duet-button-is-small": this.size === "small",
|
|
206
|
+
[`duet-button-size-${size}`]: true,
|
|
207
|
+
"duet-button-icon-only": this.iconOnly,
|
|
208
|
+
"duet-button-text-center": this.centerText,
|
|
209
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
210
|
+
[this.variation]: true,
|
|
211
|
+
"input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
|
|
212
|
+
disabled: this.disabled,
|
|
213
|
+
icon: !!icon,
|
|
214
|
+
"icon-right": iconRight,
|
|
215
|
+
"icon-left": !!icon && !iconRight,
|
|
216
|
+
[this.getButtonIconSize()]: true,
|
|
217
|
+
},
|
|
218
|
+
"aria-controls": this.accessibleControls,
|
|
219
|
+
"aria-label": this.accessibleLabel,
|
|
220
|
+
"aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
|
|
221
|
+
"aria-activedescendant": this.accessibleActiveDescendant,
|
|
222
|
+
"aria-owns": this.accessibleOwns,
|
|
223
|
+
"aria-describedby": this.accessibleDescribedBy,
|
|
224
|
+
"aria-labelledby": this.accessibleLabelledBy,
|
|
225
|
+
"aria-details": this.accessibleDetails,
|
|
226
|
+
"aria-description": this.accessibleDescription,
|
|
227
|
+
};
|
|
228
|
+
return (h(Host, { key: 'c70e2d9cbe884c7b6cc3012721f01ce6d54b4555', class: {
|
|
229
|
+
"duet-m-0": this.margin === "none",
|
|
230
|
+
"duet-small": this.size === "small",
|
|
231
|
+
"duet-x-small": this.size === "x-small",
|
|
232
|
+
"duet-fixed": this.fixed,
|
|
233
|
+
"duet-expand": this.expand,
|
|
234
|
+
[this.variation]: true,
|
|
235
|
+
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
236
|
+
} }, h("span", { key: 'c8be7792d2ae572befbfbe921a3ec453c073637d', onClick: this.handleClick, class: {
|
|
237
|
+
"duet-button-container": true,
|
|
238
|
+
"duet-button-is-loading": this.loading,
|
|
239
|
+
"duet-theme-turva": this.theme === "turva",
|
|
240
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
241
|
+
[this.variation]: true,
|
|
242
|
+
} }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: 'da956cda627d2afc5084ee69629b54ffabcb672b', color: "currentColor" })), h("slot", { key: '0ead01a475d6242c0049a259f9b9c725830d4b80', name: "proxybutton" })));
|
|
243
|
+
}
|
|
244
|
+
get element() { return this; }
|
|
245
|
+
static get style() { return DuetButtonStyle0; }
|
|
246
|
+
}, [1, "duet-button", {
|
|
247
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
248
|
+
"accessibleControls": [1, "accessible-controls"],
|
|
249
|
+
"accessiblePopup": [1, "accessible-popup"],
|
|
250
|
+
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
251
|
+
"accessibleOwns": [1, "accessible-owns"],
|
|
252
|
+
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
253
|
+
"accessibleDetails": [1, "accessible-details"],
|
|
254
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
255
|
+
"accessibleDescription": [1, "accessible-description"],
|
|
256
|
+
"accessibleExpanded": [4, "accessible-expanded"],
|
|
257
|
+
"accessiblePressed": [4, "accessible-pressed"],
|
|
258
|
+
"loading": [4],
|
|
259
|
+
"variation": [1],
|
|
260
|
+
"negative": [4],
|
|
261
|
+
"theme": [1025],
|
|
262
|
+
"margin": [1],
|
|
263
|
+
"form": [1],
|
|
264
|
+
"padding": [1],
|
|
265
|
+
"centerText": [4, "center-text"],
|
|
266
|
+
"wrapping": [1],
|
|
267
|
+
"expand": [4],
|
|
268
|
+
"fixed": [4],
|
|
269
|
+
"disabled": [516],
|
|
270
|
+
"name": [1],
|
|
271
|
+
"value": [1],
|
|
272
|
+
"identifier": [1],
|
|
273
|
+
"submit": [516],
|
|
274
|
+
"external": [4],
|
|
275
|
+
"language": [1537],
|
|
276
|
+
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
277
|
+
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
278
|
+
"accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
|
|
279
|
+
"accessibleLabelLoading": [1025, "accessible-label-loading"],
|
|
280
|
+
"icon": [1],
|
|
281
|
+
"color": [1],
|
|
282
|
+
"iconRight": [4, "icon-right"],
|
|
283
|
+
"iconSize": [1, "icon-size"],
|
|
284
|
+
"size": [1],
|
|
285
|
+
"iconOnly": [4, "icon-only"],
|
|
286
|
+
"url": [513],
|
|
287
|
+
"setFocus": [64]
|
|
288
|
+
}]);
|
|
289
|
+
function defineCustomElement() {
|
|
290
|
+
if (typeof customElements === "undefined") {
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
|
|
294
|
+
components.forEach(tagName => { switch (tagName) {
|
|
295
|
+
case "duet-button":
|
|
296
|
+
if (!customElements.get(tagName)) {
|
|
297
|
+
customElements.define(tagName, DuetButton);
|
|
298
|
+
}
|
|
299
|
+
break;
|
|
300
|
+
case "duet-icon":
|
|
301
|
+
if (!customElements.get(tagName)) {
|
|
302
|
+
defineCustomElement$3();
|
|
303
|
+
}
|
|
304
|
+
break;
|
|
305
|
+
case "duet-spinner":
|
|
306
|
+
if (!customElements.get(tagName)) {
|
|
307
|
+
defineCustomElement$2();
|
|
308
|
+
}
|
|
309
|
+
break;
|
|
310
|
+
case "duet-visually-hidden":
|
|
311
|
+
if (!customElements.get(tagName)) {
|
|
312
|
+
defineCustomElement$1();
|
|
313
|
+
}
|
|
314
|
+
break;
|
|
315
|
+
} });
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export { DuetButton as D, defineCustomElement as d };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-370b0653.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-d9b2e80e.js';
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-9ee646c7.js';
|
|
9
9
|
|
|
10
|
-
const duetProgressCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0
|
|
10
|
+
const duetProgressCss = "*,*::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:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(240, 247, 250);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(255, 241, 241)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0 none}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(240, 247, 250);border-radius:0}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(240, 247, 250)}.duet-progress.duet-theme-turva progress[value]{color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar{background-color:rgb(255, 241, 241)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value] ::-moz-progress-bar{background-color:rgb(255, 241, 241)}.duet-theme-turva2 .duet-progress.duet-theme-turva .progress-bar{background-color:rgb(253, 247, 242)}.duet-theme-turva2 .duet-progress.duet-theme-turva .progress-bar>span{background-color:rgb(230, 23, 64)}.duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]{color:rgb(230, 23, 64)}.duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar{background-color:rgb(253, 247, 242)}.duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-webkit-progress-value{background-color:rgb(230, 23, 64)}.duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-moz-progress-bar{background-color:rgb(253, 247, 242)}";
|
|
11
11
|
const DuetProgressStyle0 = duetProgressCss;
|
|
12
12
|
|
|
13
13
|
const DuetProgress = /*@__PURE__*/ proxyCustomElement(class DuetProgress extends H {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-370b0653.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-8db11326.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-d9b2e80e.js';
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-e89676de.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-71176ae5.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-0c92061d.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-9ee646c7.js';
|
|
13
13
|
|
|
14
|
-
const duetShowMoreCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0
|
|
14
|
+
const duetShowMoreCss = "*,*::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;display:block}.duet-show-more{margin-bottom:16px !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;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-show-more .content:focus,.duet-show-more .content:focus.duet-theme-turva,.duet-theme-turva2 .duet-show-more .content:focus,.duet-show-more .content:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-show-more.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)}:host(.duet-theme-turva2) .duet-show-more.duet-theme-turva{color:rgb(23, 42, 59)}";
|
|
15
15
|
const DuetShowMoreStyle0 = duetShowMoreCss;
|
|
16
16
|
|
|
17
17
|
const DuetShowMore = /*@__PURE__*/ proxyCustomElement(class DuetShowMore extends H {
|
|
@@ -108,7 +108,7 @@ const DuetShowMore = /*@__PURE__*/ proxyCustomElement(class DuetShowMore extends
|
|
|
108
108
|
"duet-theme-turva": this.theme === "turva",
|
|
109
109
|
"duet-m-0": this.margin === "none",
|
|
110
110
|
open: this.open,
|
|
111
|
-
} }, h("div", { key: '
|
|
111
|
+
} }, h("div", { key: '6afaf121c58138f90038b80120d2078f26c03b0f', ref: ref => (this.contentElement = ref), class: { content: true, "duet-theme-turva": this.theme === "turva" }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: 'dae368a22e7ccf39355af66f099c03affeb903a8', class: { "slotted-content": true } }, h("slot", { key: '0a343674cab958718bf41cf81fa7f50377ef88a2' }))), h("duet-button", { key: 'b099b8982f27b745619611d11b5d1fad9122c97f', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: '3e653ae12786956661bcf4be192514d56ff9fcf3' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
112
112
|
}
|
|
113
113
|
get element() { return this; }
|
|
114
114
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { b as getElementsFromDefaultSlot } from './p-fe478fac.js';
|
|
5
5
|
|
|
6
6
|
function getAccessibleLinkLabel(component) {
|
|
7
7
|
const textContent = component.element.textContent;
|