@duetds/components 9.2.7 → 10.0.0-alpha.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 +954 -265
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-banner.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +6 -6
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +98 -12
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +11 -8
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +14 -6
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +14 -10
- package/lib/cjs/duet-layout.cjs.entry.js +6 -6
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +7 -7
- package/lib/cjs/duet-multiselect.cjs.entry.js +6 -6
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +9 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +13 -13
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +86 -10
- package/lib/cjs/duet-range-slider.cjs.entry.js +8 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -14
- package/lib/cjs/duet-section-layout.cjs.entry.js +3 -3
- package/lib/cjs/duet-select.cjs.entry.js +7 -7
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +5 -5
- package/lib/cjs/duet-textarea.cjs.entry.js +9 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +8 -3
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip.cjs.entry.js +19 -1
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/cjs/{slot-utils-f309572d.js → slot-utils-31c0ed00.js} +51 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +19 -18
- package/lib/collection/components/duet-choice/duet-choice.js +97 -13
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -6
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +1 -1
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/date-picker-input.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +9 -8
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +15 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +3 -6
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +15 -14
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -4
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +10 -8
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-progress/duet-progress.js +1 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.css +29 -27
- package/lib/collection/components/duet-radio/duet-radio.js +90 -13
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +3 -6
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +9 -7
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +7 -10
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +3 -6
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +4 -7
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +10 -9
- package/lib/collection/components/duet-toggle/duet-toggle.js +9 -7
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +6 -0
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +19 -1
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/slot-utils.js +51 -0
- 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 +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +6 -6
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-card.js +2 -2
- 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 +12 -11
- package/lib/dist-custom-elements/duet-choice.js +100 -12
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +15 -14
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +23 -19
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +6 -6
- 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 +2 -2
- package/lib/dist-custom-elements/duet-footer.js +20 -12
- 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 +7 -7
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +6 -6
- 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 +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
- 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 +14 -14
- package/lib/dist-custom-elements/duet-multiselect.js +12 -12
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +19 -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 +21 -21
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +11 -10
- package/lib/dist-custom-elements/duet-radio.js +87 -8
- package/lib/dist-custom-elements/duet-range-slider.js +10 -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 +3 -3
- 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-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +7 -7
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +7 -7
- package/lib/dist-custom-elements/duet-tab-group.js +15 -15
- package/lib/dist-custom-elements/duet-tab.js +5 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +18 -13
- package/lib/dist-custom-elements/duet-toggle.js +10 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +2 -2
- 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 +4 -4
- 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 +19 -19
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/{p-d5201dfd.js → p-01846eb6.js} +10 -10
- package/lib/dist-custom-elements/{p-a8b848a0.js → p-0ac72fc8.js} +3 -2
- package/lib/dist-custom-elements/p-145c94a8.js +273 -0
- package/lib/dist-custom-elements/{p-20906875.js → p-18c3a72b.js} +1 -1
- package/lib/dist-custom-elements/{p-d58879c8.js → p-266569ef.js} +1 -1
- package/lib/dist-custom-elements/{p-e87b21c0.js → p-2a6a71e4.js} +2 -2
- package/lib/dist-custom-elements/{p-358832fc.js → p-36804cd7.js} +3 -2
- package/lib/dist-custom-elements/{p-ee6f575b.js → p-38a3168a.js} +3 -3
- package/lib/dist-custom-elements/{p-026f66e3.js → p-39b63c58.js} +2 -2
- package/lib/dist-custom-elements/{p-a19d42f7.js → p-4d4c66b0.js} +2 -2
- package/lib/dist-custom-elements/{p-369da8da.js → p-4f5a1d66.js} +1 -1
- package/lib/dist-custom-elements/{p-3844adaa.js → p-5270ad3d.js} +3 -3
- package/lib/dist-custom-elements/{p-23a9891b.js → p-61282ed8.js} +3 -3
- package/lib/dist-custom-elements/{p-79fb21bb.js → p-644b52bb.js} +2 -2
- package/lib/dist-custom-elements/{p-6f149d10.js → p-649a8c3e.js} +2 -2
- package/lib/dist-custom-elements/{p-a866db8a.js → p-7ff1b14d.js} +2 -2
- package/lib/dist-custom-elements/{p-dde3f1e6.js → p-824a3b0b.js} +3 -3
- package/lib/dist-custom-elements/{p-b5b250a2.js → p-8342a3e5.js} +3 -3
- package/lib/dist-custom-elements/{p-1ae20645.js → p-8c993e48.js} +1 -1
- package/lib/dist-custom-elements/{p-79372cc4.js → p-92f36210.js} +11 -11
- package/lib/dist-custom-elements/{p-1a9028fa.js → p-98b1d4c1.js} +25 -6
- package/lib/dist-custom-elements/{p-7590e1a9.js → p-a5c06963.js} +2 -2
- package/lib/dist-custom-elements/{p-f3d279c9.js → p-aa62c36f.js} +1 -1
- package/lib/dist-custom-elements/{p-a4667181.js → p-acacce04.js} +6 -6
- package/lib/dist-custom-elements/{p-02e6b3aa.js → p-b33a176e.js} +2 -2
- package/lib/dist-custom-elements/{p-8b3decf2.js → p-b5ea877d.js} +49 -1
- package/lib/dist-custom-elements/{p-1f84f4ac.js → p-b9488320.js} +23 -18
- package/lib/dist-custom-elements/{p-343f0aa2.js → p-c57a67d3.js} +4 -4
- package/lib/dist-custom-elements/{p-aad0e9d5.js → p-c9a14c7b.js} +4 -4
- package/lib/dist-custom-elements/{p-4d4d8c03.js → p-cb5df864.js} +2 -2
- package/lib/dist-custom-elements/{p-4b198aee.js → p-d0a4a69f.js} +1 -1
- package/lib/dist-custom-elements/{p-e6540ffb.js → p-e5962501.js} +2 -2
- package/lib/dist-custom-elements/{p-82cbf2aa.js → p-ed8b17fe.js} +6 -6
- package/lib/dist-custom-elements/{p-0bd5bcab.js → p-ee079d76.js} +3 -3
- package/lib/dist-custom-elements/{p-3cf59aa7.js → p-fb63021d.js} +1 -1
- package/lib/dist-custom-elements/{p-a1c8f31d.js → p-fc92fc89.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-9a9505b0.system.entry.js → p-00c7bd0a.system.entry.js} +2 -2
- package/lib/duet/p-0245b6df.system.entry.js +4 -0
- package/lib/duet/p-03ad2cf3.system.entry.js +4 -0
- package/lib/duet/p-0c527115.entry.js +4 -0
- package/lib/duet/{p-1de76e0d.entry.js → p-0cb1aedd.entry.js} +1 -1
- package/lib/duet/{p-87345e08.system.entry.js → p-0cde41e1.system.entry.js} +1 -1
- package/lib/duet/p-0d730e50.system.entry.js +4 -0
- package/lib/duet/{p-d20f0c7d.system.entry.js → p-0d79ddc1.system.entry.js} +1 -1
- package/lib/duet/{p-332d0c18.system.entry.js → p-0f3fbf65.system.entry.js} +1 -1
- package/lib/duet/{p-ae15b924.system.entry.js → p-12abe4eb.system.entry.js} +1 -1
- package/lib/duet/p-130939b4.entry.js +4 -0
- package/lib/duet/p-1411cba2.entry.js +4 -0
- package/lib/duet/{p-d9845dc6.entry.js → p-146a6092.entry.js} +1 -1
- package/lib/duet/p-14b4ee4d.entry.js +4 -0
- package/lib/duet/{p-238d490e.system.entry.js → p-14c1e05f.system.entry.js} +1 -1
- package/lib/duet/p-19096d3f.system.entry.js +4 -0
- package/lib/duet/p-194e89c3.system.entry.js +4 -0
- package/lib/duet/{p-3cb42e12.system.entry.js → p-19519c35.system.entry.js} +1 -1
- package/lib/duet/{p-9eedb975.entry.js → p-19baff31.entry.js} +1 -1
- package/lib/duet/p-1aaa8887.entry.js +4 -0
- package/lib/duet/{p-14d1fc10.entry.js → p-1ac5803b.entry.js} +1 -1
- package/lib/duet/p-1b6e33e3.system.entry.js +4 -0
- package/lib/duet/p-1bdd845b.system.js +4 -0
- package/lib/duet/p-1ce82dfa.system.js +1 -1
- package/lib/duet/{p-8f66a793.system.entry.js → p-1ec66cb0.system.entry.js} +1 -1
- package/lib/duet/{p-0457dff6.system.entry.js → p-210045f4.system.entry.js} +1 -1
- package/lib/duet/{p-977e9ed4.system.entry.js → p-21785af3.system.entry.js} +2 -2
- package/lib/duet/{p-02473a29.entry.js → p-252df607.entry.js} +1 -1
- package/lib/duet/p-265b2d3f.system.entry.js +4 -0
- package/lib/duet/{p-911a8711.entry.js → p-293cb37c.entry.js} +1 -1
- package/lib/duet/p-296eb384.entry.js +4 -0
- package/lib/duet/{p-f96c47b4.system.entry.js → p-2de11c55.system.entry.js} +1 -1
- package/lib/duet/{p-955c3761.entry.js → p-343c72ca.entry.js} +1 -1
- package/lib/duet/{p-45c3a7d2.system.entry.js → p-351076bc.system.entry.js} +1 -1
- package/lib/duet/{p-07b9cd1a.system.entry.js → p-35196930.system.entry.js} +1 -1
- package/lib/duet/{p-43a86f8a.entry.js → p-3662ad90.entry.js} +1 -1
- package/lib/duet/p-3693a39c.entry.js +4 -0
- package/lib/duet/p-39733fa6.system.entry.js +4 -0
- package/lib/duet/{p-6a4f6469.system.entry.js → p-3a1f45d1.system.entry.js} +1 -1
- package/lib/duet/{p-d6613fe4.system.entry.js → p-3b77a305.system.entry.js} +1 -1
- package/lib/duet/{p-05ea29c7.system.entry.js → p-3f690e05.system.entry.js} +1 -1
- package/lib/duet/{p-5786db38.system.entry.js → p-3fce7ef4.system.entry.js} +1 -1
- package/lib/duet/{p-ea692823.entry.js → p-405ba8bb.entry.js} +1 -1
- package/lib/duet/{p-c5970ff9.entry.js → p-413ee44a.entry.js} +1 -1
- package/lib/duet/{p-3ffcebff.system.entry.js → p-425e3794.system.entry.js} +1 -1
- package/lib/duet/{p-4c79d2a9.system.entry.js → p-4afd1e0f.system.entry.js} +1 -1
- package/lib/duet/{p-15e00afb.entry.js → p-4bdae83b.entry.js} +1 -1
- package/lib/duet/p-4e261200.js +4 -0
- package/lib/duet/{p-aa8f18b0.entry.js → p-4f913952.entry.js} +1 -1
- package/lib/duet/{p-83c03efa.system.entry.js → p-50754042.system.entry.js} +2 -2
- package/lib/duet/{p-ad81986c.system.entry.js → p-5222dec4.system.entry.js} +1 -1
- package/lib/duet/{p-36593090.system.entry.js → p-5269e599.system.entry.js} +1 -1
- package/lib/duet/{p-aeb9568f.entry.js → p-530144b7.entry.js} +1 -1
- package/lib/duet/{p-a6f74d7f.system.entry.js → p-58497877.system.entry.js} +1 -1
- package/lib/duet/p-5c17c2ad.entry.js +4 -0
- package/lib/duet/{p-f3d88a94.system.entry.js → p-5e62f1da.system.entry.js} +1 -1
- package/lib/duet/{p-e9cecefd.system.entry.js → p-603f6dd4.system.entry.js} +1 -1
- package/lib/duet/p-62e046bf.system.entry.js +4 -0
- package/lib/duet/{p-da5fbdcd.entry.js → p-639fd3db.entry.js} +1 -1
- package/lib/duet/{p-8bfbadfc.system.entry.js → p-65a3b7a2.system.entry.js} +1 -1
- package/lib/duet/p-6727fc0e.entry.js +4 -0
- package/lib/duet/{p-8136e15e.system.entry.js → p-6858f043.system.entry.js} +1 -1
- package/lib/duet/{p-c620f77b.system.entry.js → p-69d6bbfe.system.entry.js} +1 -1
- package/lib/duet/{p-d87f8bb5.system.entry.js → p-6c501d0a.system.entry.js} +1 -1
- package/lib/duet/{p-0b61a372.system.entry.js → p-702dc745.system.entry.js} +1 -1
- package/lib/duet/{p-c1c02b47.entry.js → p-706c3914.entry.js} +1 -1
- package/lib/duet/{p-f9d54f1a.system.entry.js → p-70fd8af5.system.entry.js} +1 -1
- package/lib/duet/{p-a414d7b1.entry.js → p-71d12412.entry.js} +1 -1
- package/lib/duet/{p-74025593.entry.js → p-72508bb9.entry.js} +1 -1
- package/lib/duet/p-778e721c.entry.js +4 -0
- package/lib/duet/p-779cfa4a.system.entry.js +4 -0
- package/lib/duet/{p-2fc1b57e.system.entry.js → p-77eb9c59.system.entry.js} +1 -1
- package/lib/duet/p-783e8788.system.entry.js +4 -0
- package/lib/duet/{p-af0c9fa2.system.entry.js → p-79bd8c35.system.entry.js} +1 -1
- package/lib/duet/{p-bc57459e.system.entry.js → p-7ba55da2.system.entry.js} +2 -2
- package/lib/duet/{p-09b2f2cb.entry.js → p-7f519ad1.entry.js} +1 -1
- package/lib/duet/{p-89558e39.system.entry.js → p-83d125ee.system.entry.js} +1 -1
- package/lib/duet/{p-fb083164.entry.js → p-849cdc4a.entry.js} +1 -1
- package/lib/duet/{p-836ae3bb.system.entry.js → p-8911e1f0.system.entry.js} +1 -1
- package/lib/duet/p-898a81ab.system.entry.js +4 -0
- package/lib/duet/p-8a9a7082.entry.js +4 -0
- package/lib/duet/{p-b6e98c33.entry.js → p-8bc4d112.entry.js} +1 -1
- package/lib/duet/{p-d90c1000.system.entry.js → p-907ef071.system.entry.js} +1 -1
- package/lib/duet/{p-d6efda2f.entry.js → p-93bc8bc7.entry.js} +1 -1
- package/lib/duet/{p-099daa35.system.entry.js → p-989ecf2e.system.entry.js} +1 -1
- package/lib/duet/{p-e84dc0ac.entry.js → p-99443d70.entry.js} +1 -1
- package/lib/duet/p-99f873a0.entry.js +4 -0
- package/lib/duet/p-9a219c40.entry.js +4 -0
- package/lib/duet/p-9c45ed44.entry.js +4 -0
- package/lib/duet/{p-83920005.system.entry.js → p-9e27e0a8.system.entry.js} +1 -1
- package/lib/duet/p-9e9599ce.system.entry.js +4 -0
- package/lib/duet/p-9f30783d.system.entry.js +4 -0
- package/lib/duet/{p-042ce36a.system.entry.js → p-9f466e90.system.entry.js} +1 -1
- package/lib/duet/{p-8d3cb875.entry.js → p-9ff1b619.entry.js} +1 -1
- package/lib/duet/{p-2a4032e4.entry.js → p-a023bf22.entry.js} +1 -1
- package/lib/duet/{p-d1dd14a3.entry.js → p-a1dbb6ae.entry.js} +1 -1
- package/lib/duet/{p-4219eda3.system.entry.js → p-a236f333.system.entry.js} +1 -1
- package/lib/duet/{p-c552326c.system.entry.js → p-a42c1c73.system.entry.js} +2 -2
- package/lib/duet/p-a5406a98.entry.js +4 -0
- package/lib/duet/{p-1d56f5f8.system.entry.js → p-a6ee1072.system.entry.js} +1 -1
- package/lib/duet/{p-b0632410.system.entry.js → p-aa436035.system.entry.js} +1 -1
- package/lib/duet/{p-f9d93246.entry.js → p-aabf13cc.entry.js} +1 -1
- package/lib/duet/{p-2073ff86.system.entry.js → p-abe63ae2.system.entry.js} +1 -1
- package/lib/duet/p-ac1125e2.entry.js +4 -0
- package/lib/duet/p-ad0b50f0.entry.js +4 -0
- package/lib/duet/{p-fea43afb.entry.js → p-ad3fc579.entry.js} +1 -1
- package/lib/duet/{p-6f5dbc6e.system.entry.js → p-b1c78160.system.entry.js} +2 -2
- package/lib/duet/{p-3fe02797.entry.js → p-b1f3e71c.entry.js} +1 -1
- package/lib/duet/{p-8335c1bf.entry.js → p-b55e935f.entry.js} +1 -1
- package/lib/duet/{p-d25bbacd.entry.js → p-b5b5040f.entry.js} +1 -1
- package/lib/duet/{p-b7f262fc.system.entry.js → p-b5eec241.system.entry.js} +1 -1
- package/lib/duet/{p-5e12c437.system.entry.js → p-b5ef2959.system.entry.js} +1 -1
- package/lib/duet/{p-b238bac2.entry.js → p-b6214d5a.entry.js} +1 -1
- package/lib/duet/p-bbc168d3.entry.js +4 -0
- package/lib/duet/{p-8c44d3e9.entry.js → p-bf2016fd.entry.js} +1 -1
- package/lib/duet/{p-e6eb1780.system.entry.js → p-c00beb34.system.entry.js} +1 -1
- package/lib/duet/p-c032689a.entry.js +4 -0
- package/lib/duet/p-c055a0a5.entry.js +4 -0
- package/lib/duet/{p-24f98450.entry.js → p-c0f0ba52.entry.js} +1 -1
- package/lib/duet/{p-20c7ae09.entry.js → p-c20c2ae0.entry.js} +1 -1
- package/lib/duet/{p-f86c7315.entry.js → p-c20e0bcd.entry.js} +1 -1
- package/lib/duet/{p-a52fb767.entry.js → p-c2ece51b.entry.js} +1 -1
- package/lib/duet/{p-bcd88ac2.system.entry.js → p-c5efbb76.system.entry.js} +1 -1
- package/lib/duet/p-c6915c43.system.entry.js +4 -0
- package/lib/duet/{p-8378430a.system.entry.js → p-c7f38ac3.system.entry.js} +1 -1
- package/lib/duet/{p-3deacd18.system.entry.js → p-c8437ddb.system.entry.js} +2 -2
- package/lib/duet/{p-180c21a7.entry.js → p-cab2979b.entry.js} +1 -1
- package/lib/duet/{p-c9d3dd02.system.entry.js → p-cdccf8e6.system.entry.js} +1 -1
- package/lib/duet/{p-c1ef1b6e.entry.js → p-cfee6451.entry.js} +1 -1
- package/lib/duet/{p-db3eaaa3.entry.js → p-d1e5ab5e.entry.js} +1 -1
- package/lib/duet/{p-fa115b76.system.entry.js → p-d2ded72c.system.entry.js} +2 -2
- package/lib/duet/{p-a2e17a01.entry.js → p-d3a5400e.entry.js} +1 -1
- package/lib/duet/{p-69d18102.entry.js → p-d452cbb7.entry.js} +1 -1
- package/lib/duet/{p-edaefdfb.entry.js → p-d554e96b.entry.js} +1 -1
- package/lib/duet/{p-44af6523.entry.js → p-d6b53d40.entry.js} +1 -1
- package/lib/duet/{p-9c93192b.entry.js → p-d709d282.entry.js} +1 -1
- package/lib/duet/{p-ff1e3ce2.entry.js → p-d7c1c492.entry.js} +1 -1
- package/lib/duet/{p-ccc58d5d.system.entry.js → p-d803a966.system.entry.js} +1 -1
- package/lib/duet/p-da7ce3da.entry.js +4 -0
- package/lib/duet/p-dc74c7c2.system.entry.js +4 -0
- package/lib/duet/p-dd1ec0ef.entry.js +4 -0
- package/lib/duet/{p-5763afe7.system.entry.js → p-dea69e25.system.entry.js} +1 -1
- package/lib/duet/{p-a37f93eb.entry.js → p-e062a11a.entry.js} +1 -1
- package/lib/duet/p-e1d33d05.entry.js +4 -0
- package/lib/duet/{p-eeb9da2d.entry.js → p-e33c42ff.entry.js} +1 -1
- package/lib/duet/p-e8465166.entry.js +4 -0
- package/lib/duet/{p-14662d84.entry.js → p-eb35e521.entry.js} +1 -1
- package/lib/duet/{p-cf16818c.system.entry.js → p-f210b371.system.entry.js} +1 -1
- package/lib/duet/{p-9c0b9de2.system.entry.js → p-f29c480a.system.entry.js} +1 -1
- package/lib/duet/{p-9eb974d8.entry.js → p-f35be908.entry.js} +1 -1
- package/lib/duet/{p-1037271e.system.entry.js → p-f380d364.system.entry.js} +1 -1
- package/lib/duet/p-f417c864.entry.js +4 -0
- package/lib/duet/{p-f745dcfb.entry.js → p-f6900a3e.entry.js} +1 -1
- package/lib/duet/{p-8df1c0da.system.entry.js → p-f933ada6.system.entry.js} +1 -1
- package/lib/duet/{p-7831e011.entry.js → p-f9a64d11.entry.js} +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-banner.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +4 -4
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +6 -6
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip_3.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +98 -12
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +11 -8
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +4 -4
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +4 -4
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +14 -6
- package/lib/esm/duet-grid_2.entry.js +4 -4
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +6 -6
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +14 -10
- package/lib/esm/duet-layout.entry.js +6 -6
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +7 -7
- package/lib/esm/duet-multiselect.entry.js +6 -6
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +9 -4
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +13 -13
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +86 -10
- package/lib/esm/duet-range-slider.entry.js +8 -3
- package/lib/esm/duet-scrollable_3.entry.js +14 -14
- package/lib/esm/duet-section-layout.entry.js +3 -3
- package/lib/esm/duet-select.entry.js +7 -7
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +2 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +4 -4
- package/lib/esm/duet-slideout-panel.entry.js +7 -7
- package/lib/esm/duet-slideout.entry.js +5 -5
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +5 -5
- package/lib/esm/duet-textarea.entry.js +9 -5
- package/lib/esm/duet-toggle.entry.js +8 -3
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +4 -4
- package/lib/esm/duet-toolbar-item.entry.js +4 -4
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
- package/lib/esm/duet-tooltip.entry.js +19 -1
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +2 -2
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +1 -1
- package/lib/esm/loader.js +1 -1
- package/lib/esm/{slot-utils-1be24d72.js → slot-utils-23c88903.js} +49 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-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-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-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 +2 -2
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.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 +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-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 +1 -1
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- 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 +1 -1
- 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-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 +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- 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/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-1be24d72.js → slot-utils-23c88903.js} +1 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +7 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +2 -0
- package/lib/types/components/duet-footer/duet-footer.d.ts +8 -4
- package/lib/types/components/duet-input/duet-input.d.ts +2 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +2 -0
- package/lib/types/components/duet-progress/duet-progress.d.ts +0 -6
- package/lib/types/components/duet-radio/duet-radio.d.ts +7 -1
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +2 -0
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +2 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -0
- package/lib/types/components.d.ts +4 -4
- package/lib/types/utils/slot-utils.d.ts +17 -0
- package/package.json +2 -2
- package/lib/dist-custom-elements/p-05a0e048.js +0 -272
- package/lib/duet/p-062b4356.system.entry.js +0 -4
- package/lib/duet/p-197fcd81.entry.js +0 -4
- package/lib/duet/p-2892f9e4.entry.js +0 -4
- package/lib/duet/p-2be4521f.entry.js +0 -4
- package/lib/duet/p-34caafca.entry.js +0 -4
- package/lib/duet/p-3c48ca69.system.entry.js +0 -4
- package/lib/duet/p-46753ebc.entry.js +0 -4
- package/lib/duet/p-4920eb5e.entry.js +0 -4
- package/lib/duet/p-4efc484e.entry.js +0 -4
- package/lib/duet/p-5ba11951.entry.js +0 -4
- package/lib/duet/p-5d429d2c.entry.js +0 -4
- package/lib/duet/p-60e1e165.system.entry.js +0 -4
- package/lib/duet/p-618a822d.system.entry.js +0 -4
- package/lib/duet/p-63a09802.js +0 -4
- package/lib/duet/p-6abb0f77.system.entry.js +0 -4
- package/lib/duet/p-6f3fd8bf.entry.js +0 -4
- package/lib/duet/p-70fab25f.system.entry.js +0 -4
- package/lib/duet/p-762b831e.system.entry.js +0 -4
- package/lib/duet/p-79c1f08a.entry.js +0 -4
- package/lib/duet/p-835e6d3b.entry.js +0 -4
- package/lib/duet/p-849ae71a.system.entry.js +0 -4
- package/lib/duet/p-8babfd74.entry.js +0 -4
- package/lib/duet/p-8df4a03c.entry.js +0 -4
- package/lib/duet/p-8e672ddb.entry.js +0 -4
- package/lib/duet/p-919c1794.system.entry.js +0 -4
- package/lib/duet/p-9c95fff6.entry.js +0 -4
- package/lib/duet/p-9c9b25f3.system.entry.js +0 -4
- package/lib/duet/p-a4914611.entry.js +0 -4
- package/lib/duet/p-a8333037.entry.js +0 -4
- package/lib/duet/p-aa61f1da.entry.js +0 -4
- package/lib/duet/p-b7fe31c6.system.entry.js +0 -4
- package/lib/duet/p-b8b011df.system.entry.js +0 -4
- package/lib/duet/p-c2ca6ff0.system.entry.js +0 -4
- package/lib/duet/p-c8896685.system.entry.js +0 -4
- package/lib/duet/p-d03accc5.entry.js +0 -4
- package/lib/duet/p-d3f4d98f.system.entry.js +0 -4
- package/lib/duet/p-e238bb61.entry.js +0 -4
- package/lib/duet/p-e7a6457f.entry.js +0 -4
- package/lib/duet/p-f022f85b.entry.js +0 -4
- package/lib/duet/p-f7f098cb.entry.js +0 -4
- package/lib/duet/p-f84cdfef.entry.js +0 -4
- package/lib/duet/p-faa44b79.system.entry.js +0 -4
- package/lib/duet/p-fadcbdae.system.js +0 -4
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { p as proxyCustomElement, H, h, d as Host } from './p-f66602b0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
|
-
import { h as hasSlot,
|
|
7
|
-
import { d as defineCustomElement$4 } from './p-
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
-
import { d as defineCustomElement$1 } from './p-
|
|
6
|
+
import { h as hasSlot, b as getElementsFromDefaultSlot } from './p-b5ea877d.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './p-38a3168a.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-8342a3e5.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-cb5df864.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './p-18c3a72b.js';
|
|
11
11
|
|
|
12
12
|
const duetScrollableCss = "*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items .duet-scrollable-fade-overlay{position:absolute;bottom:0;z-index:250;display:block;width:10px;height:100%;pointer-events:none;transition:transform 300ms ease}:host .duet-scrollable-items .duet-scrollable-fade-overlay--hidden{display:none}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay{}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.left{left:calc(0px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.right{right:calc(0px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.left{left:calc(40px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.right{right:calc(40px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-right:10px;padding-left:10px;margin:0 -10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";
|
|
13
13
|
const DuetScrollableStyle0 = duetScrollableCss;
|
|
@@ -229,21 +229,21 @@ const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class DuetScrollable ext
|
|
|
229
229
|
* Always the last one in the class.
|
|
230
230
|
*/
|
|
231
231
|
render() {
|
|
232
|
-
return (h(Host, { key: '
|
|
232
|
+
return (h(Host, { key: 'b4198b556c21a0b793694cfc88c23d2ae01d50bf', class: {
|
|
233
233
|
"duet-theme-turva": this.theme === "turva",
|
|
234
234
|
"duet-theme-default": this.theme === "default",
|
|
235
|
-
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: '
|
|
235
|
+
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: 'c15a9e37829ff7f41eb5c90156f78086777a44d7', class: {
|
|
236
236
|
collapse: true,
|
|
237
237
|
hide: !this.needsScrolling && !this.collapsed,
|
|
238
|
-
} }, h("duet-button", { key: '
|
|
238
|
+
} }, h("duet-button", { key: '69ac59727a4efdf372e05a241e53f3f465278782', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '9ae0e03e390f546425e0c4a36ba4e1b14e9df548', name: "collapse-button-label" })))), h("div", { key: '693aa91ad582ae80b569a3d1c1cdcd6a2fd5b4fc', class: {
|
|
239
239
|
"duet-scrollable-items": true,
|
|
240
240
|
buttons: this.buttons,
|
|
241
241
|
center: this.center,
|
|
242
|
-
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), h("div", { key: '
|
|
242
|
+
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), h("div", { key: 'f24739dbd27c222602e2aaf283e1ebdbc9a4af0b', class: {
|
|
243
243
|
"duet-scrollable-list": true,
|
|
244
244
|
collapsed: this.collapsed,
|
|
245
245
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
246
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '
|
|
246
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'a27f4a34f1c196b441eebf291c9cfd9e2a632299' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
|
|
247
247
|
}
|
|
248
248
|
get element() { return this; }
|
|
249
249
|
static get watchers() { return {
|
|
@@ -5,7 +5,7 @@ import { p as proxyCustomElement, H, h, d as Host } from './p-f66602b0.js';
|
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.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-35375593.js';
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-18c3a72b.js';
|
|
9
9
|
|
|
10
10
|
const duetProgressCss = "*,*::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;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance: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)}";
|
|
11
11
|
const DuetProgressStyle0 = duetProgressCss;
|
|
@@ -14,6 +14,7 @@ const DuetProgress = /*@__PURE__*/ proxyCustomElement(class DuetProgress extends
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super();
|
|
16
16
|
this.__registerHost();
|
|
17
|
+
this.__attachShadow();
|
|
17
18
|
/**
|
|
18
19
|
* Own Properties
|
|
19
20
|
*/
|
|
@@ -64,7 +65,7 @@ const DuetProgress = /*@__PURE__*/ proxyCustomElement(class DuetProgress extends
|
|
|
64
65
|
}
|
|
65
66
|
get element() { return this; }
|
|
66
67
|
static get style() { return DuetProgressStyle0; }
|
|
67
|
-
}, [
|
|
68
|
+
}, [1, "duet-progress", {
|
|
68
69
|
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
69
70
|
"accessibleDetails": [1, "accessible-details"],
|
|
70
71
|
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f66602b0.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
|
+
import { c as createID } from './p-5e59e970.js';
|
|
7
|
+
import { c as checkNamedSlotElement } from './p-b5ea877d.js';
|
|
8
|
+
import { p as parsePossibleJSON } from './p-9c3c64b9.js';
|
|
9
|
+
import { d as defineCustomElement$7 } from './p-a6b39855.js';
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-8342a3e5.js';
|
|
11
|
+
import { d as defineCustomElement$5 } from './p-d0aaf2cd.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-98b1d4c1.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-ee079d76.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-c9a14c7b.js';
|
|
15
|
+
import { d as defineCustomElement$1 } from './p-18c3a72b.js';
|
|
16
|
+
|
|
17
|
+
const duetSelectCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host.duet-select-variation-tiny,:host.duet-select-variation-compact{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}:host.duet-select-variation-compact{width:auto}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-select-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-select-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva .duet-select-wrapper select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper select:hover+.duet-select{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select:focus+.duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(23, 28, 58)}.duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(0, 119, 179)}.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select[disabled]{cursor:default !important}.duet-select-wrapper select[disabled]+.duet-select{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper span.duet-keep-container-height{opacity:0}.duet-select-variation-compact .duet-select-wrapper span.duet-keep-container-height{display:none}.duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.duet-select svg{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-select svg{color:rgb(23, 28, 58)}.duet-select-variation-tiny .duet-select,.duet-select-variation-compact .duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny .duet-select duet-icon,.duet-select-variation-compact .duet-select duet-icon{padding-left:10px}.duet-select-variation-compact .duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-select-help span{display:block;margin-top:8px}.duet-theme-turva .duet-select-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
18
|
+
const DuetSelectStyle0 = duetSelectCss;
|
|
19
|
+
|
|
20
|
+
function isOptionGroup(item) {
|
|
21
|
+
return "options" in item;
|
|
22
|
+
}
|
|
23
|
+
function findOptionByValue(items, value) {
|
|
24
|
+
for (var i = 0; i < items.length; i++) {
|
|
25
|
+
let item = items[i];
|
|
26
|
+
if (isOptionGroup(item)) {
|
|
27
|
+
item = findOptionByValue(item.options, value);
|
|
28
|
+
}
|
|
29
|
+
if (item && item.value === value) {
|
|
30
|
+
return item;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const DuetSelect = /*@__PURE__*/ proxyCustomElement(class DuetSelect extends H {
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
this.__registerHost();
|
|
38
|
+
this.__attachShadow();
|
|
39
|
+
this.duetChange = createEvent(this, "duetChange", 3);
|
|
40
|
+
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
41
|
+
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
42
|
+
/**
|
|
43
|
+
* Own Properties
|
|
44
|
+
*/
|
|
45
|
+
this.selectId = createID("DuetSelect");
|
|
46
|
+
this.errorId = createID("DuetError");
|
|
47
|
+
this.labelId = createID("DuetLabel");
|
|
48
|
+
this.topCaptionId = createID("DuetCaptionTop");
|
|
49
|
+
this.topCaptionPlaceholderId = createID("DuetCaptionPlaceholderTop");
|
|
50
|
+
/**
|
|
51
|
+
* Component event handling.
|
|
52
|
+
*/
|
|
53
|
+
this.onClick = (ev) => {
|
|
54
|
+
ev.stopPropagation();
|
|
55
|
+
};
|
|
56
|
+
this.onChange = () => {
|
|
57
|
+
this.value = this.nativeSelect.value;
|
|
58
|
+
this.duetChange.emit({
|
|
59
|
+
value: this.value,
|
|
60
|
+
component: "duet-select",
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
this.onBlur = (ev) => {
|
|
64
|
+
this.duetBlur.emit({
|
|
65
|
+
originalEvent: ev,
|
|
66
|
+
value: this.value,
|
|
67
|
+
component: "duet-select",
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
this.onFocus = (ev) => {
|
|
71
|
+
this.duetFocus.emit({
|
|
72
|
+
originalEvent: ev,
|
|
73
|
+
value: this.value,
|
|
74
|
+
component: "duet-select",
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
this.getDescribedBy = () => {
|
|
78
|
+
const describedBy = [];
|
|
79
|
+
if (this.isCaptionVisible && this.topCaptionId) {
|
|
80
|
+
describedBy.push(this.topCaptionId);
|
|
81
|
+
}
|
|
82
|
+
if (this.accessibleDescribedBy) {
|
|
83
|
+
describedBy.push(this.accessibleDescribedBy);
|
|
84
|
+
}
|
|
85
|
+
if (this.error) {
|
|
86
|
+
describedBy.push(this.errorId);
|
|
87
|
+
}
|
|
88
|
+
return describedBy.length > 0 ? describedBy.join(" ") : null;
|
|
89
|
+
};
|
|
90
|
+
this.processedItems = null;
|
|
91
|
+
this.variation = "default";
|
|
92
|
+
this.accessibleActiveDescendant = undefined;
|
|
93
|
+
this.accessibleDescribedBy = undefined;
|
|
94
|
+
this.margin = "auto";
|
|
95
|
+
this.accessibleControls = undefined;
|
|
96
|
+
this.accessibleOwns = undefined;
|
|
97
|
+
this.error = "";
|
|
98
|
+
this.accessibleLiveError = "polite";
|
|
99
|
+
this.expand = false;
|
|
100
|
+
this.value = undefined;
|
|
101
|
+
this.theme = "";
|
|
102
|
+
this.labelHidden = false;
|
|
103
|
+
this.identifier = undefined;
|
|
104
|
+
this.name = undefined;
|
|
105
|
+
this.placeholder = "";
|
|
106
|
+
this.caption = undefined;
|
|
107
|
+
this.echoPlaceholder = false;
|
|
108
|
+
this.items = undefined;
|
|
109
|
+
this.disabled = false;
|
|
110
|
+
this.required = false;
|
|
111
|
+
this.label = "label";
|
|
112
|
+
this.labelColor = undefined;
|
|
113
|
+
this.labelWeight = undefined;
|
|
114
|
+
this.role = undefined;
|
|
115
|
+
this.tooltip = "";
|
|
116
|
+
this.tooltipDirection = "auto";
|
|
117
|
+
}
|
|
118
|
+
valueChanged() {
|
|
119
|
+
if (this.nativeSelect) {
|
|
120
|
+
this.nativeSelect.value = this.value;
|
|
121
|
+
}
|
|
122
|
+
this.isCaptionVisible = !!this.caption;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Component lifecycle events.
|
|
126
|
+
*/
|
|
127
|
+
componentWillLoad() {
|
|
128
|
+
inheritGlobalTheme(this);
|
|
129
|
+
this.isCaptionVisible = !!this.caption;
|
|
130
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
131
|
+
this.refresh();
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Sets focus on the specified `duet-select`. Use this method instead of the global
|
|
135
|
+
* `select.focus()`.
|
|
136
|
+
*/
|
|
137
|
+
async setFocus(options) {
|
|
138
|
+
if (this.nativeSelect) {
|
|
139
|
+
this.nativeSelect.focus(options);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Local methods.
|
|
144
|
+
*/
|
|
145
|
+
async refresh() {
|
|
146
|
+
this.processedItems = parsePossibleJSON(this.items);
|
|
147
|
+
}
|
|
148
|
+
getSelectedItemLabel() {
|
|
149
|
+
let item;
|
|
150
|
+
if (this.processedItems) {
|
|
151
|
+
item = findOptionByValue(this.processedItems, this.value);
|
|
152
|
+
}
|
|
153
|
+
return item ? item.label : this.placeholder || "";
|
|
154
|
+
}
|
|
155
|
+
renderOption(option) {
|
|
156
|
+
return (h("option", { "aria-label": option.ariaLabel, value: option.value, key: option.value, selected: this.value === option.value, disabled: option.disabled }, option.label));
|
|
157
|
+
}
|
|
158
|
+
renderOptionGroup(group) {
|
|
159
|
+
return (h("optgroup", { key: group.label, label: group.label, disabled: group.disabled }, group.options.map(option => this.renderOption(option))));
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* render() function
|
|
163
|
+
* Always the last one in the class.
|
|
164
|
+
*/
|
|
165
|
+
render() {
|
|
166
|
+
const identifier = this.identifier || this.selectId;
|
|
167
|
+
return (h(Host, { key: '28f5db49f64ea0115fa20745df6d535fac98ca08', onClick: this.onClick, class: {
|
|
168
|
+
"duet-m-0": this.margin === "none",
|
|
169
|
+
"duet-expand": this.expand,
|
|
170
|
+
[`duet-select-variation-${this.variation}`]: true,
|
|
171
|
+
} }, h("div", { key: '73e7a3937df41f97d6501cb393b05a1e11e07b97', class: {
|
|
172
|
+
"duet-select-container": true,
|
|
173
|
+
"duet-label-hidden": this.labelHidden,
|
|
174
|
+
"duet-theme-turva": this.theme === "turva",
|
|
175
|
+
[`duet-select-variation-${this.variation}`]: true,
|
|
176
|
+
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
177
|
+
"has-error": !!this.error,
|
|
178
|
+
} }, h("duet-label", { key: '1b908d4ce2db347aea7654f7d150c3536023be7e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'f4ae4625f3844a0a4ff41ceeb5b09cc73f2c3139', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '56432a29cd588587216dcb91b1d7fa29ae80c12d', name: "tooltip" }), this.caption && (h("duet-caption", { key: '2664591e6e79d7786ecd95e2136b7eb6ac46eb43', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '17a7d144eb109640535302879dc8e46622f7542a', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '2777dafee5e8f98ca467b83cfa672aeb2bd51d26', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { key: '2d00bf64843b3d4402d75b50660baaa701e776bd', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: '9f4a48986073692a67a221d489c3bc9402324828', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
179
|
+
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
180
|
+
}))), h("div", { key: '00870092e20d5e30222ad0afa3072d1dfba03dce', class: {
|
|
181
|
+
"duet-select": true,
|
|
182
|
+
[`duet-select-variation-${this.variation}`]: true,
|
|
183
|
+
}, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'e1e57dfb22ba2d97a460c34b18a49355e8fa41a7', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5fedaf97f4a4293f318512cc312d4c1d6ac9fce2', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (h("duet-icon", { key: '52b2404b48602331e322f5ccf6f338cf5dba46e4', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'c647fdcfac98bfd444789464f4e89f905a3db068', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '2f8730fa473524bdc6fbfe52f295215fe023b984', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '438e8329537edfc708bb57ce8de8d91abb7aaae8' }, this.error)))));
|
|
184
|
+
}
|
|
185
|
+
get element() { return this; }
|
|
186
|
+
static get watchers() { return {
|
|
187
|
+
"value": ["valueChanged"],
|
|
188
|
+
"items": ["refresh"]
|
|
189
|
+
}; }
|
|
190
|
+
static get style() { return DuetSelectStyle0; }
|
|
191
|
+
}, [1, "duet-select", {
|
|
192
|
+
"variation": [1],
|
|
193
|
+
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
194
|
+
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
195
|
+
"margin": [1],
|
|
196
|
+
"accessibleControls": [1, "accessible-controls"],
|
|
197
|
+
"accessibleOwns": [1, "accessible-owns"],
|
|
198
|
+
"error": [1],
|
|
199
|
+
"accessibleLiveError": [1, "accessible-live-error"],
|
|
200
|
+
"expand": [4],
|
|
201
|
+
"value": [1537],
|
|
202
|
+
"theme": [1025],
|
|
203
|
+
"labelHidden": [4, "label-hidden"],
|
|
204
|
+
"identifier": [1],
|
|
205
|
+
"name": [1],
|
|
206
|
+
"placeholder": [1],
|
|
207
|
+
"caption": [1],
|
|
208
|
+
"echoPlaceholder": [4, "echo-placeholder"],
|
|
209
|
+
"items": [1],
|
|
210
|
+
"disabled": [516],
|
|
211
|
+
"required": [4],
|
|
212
|
+
"label": [1],
|
|
213
|
+
"labelColor": [1025, "label-color"],
|
|
214
|
+
"labelWeight": [1025, "label-weight"],
|
|
215
|
+
"role": [1],
|
|
216
|
+
"tooltip": [1],
|
|
217
|
+
"tooltipDirection": [1, "tooltip-direction"],
|
|
218
|
+
"processedItems": [32],
|
|
219
|
+
"setFocus": [64]
|
|
220
|
+
}, undefined, {
|
|
221
|
+
"value": ["valueChanged"],
|
|
222
|
+
"items": ["refresh"]
|
|
223
|
+
}]);
|
|
224
|
+
function defineCustomElement() {
|
|
225
|
+
if (typeof customElements === "undefined") {
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
const components = ["duet-select", "duet-caption", "duet-icon", "duet-label", "duet-tooltip", "duet-tooltip-button", "duet-tooltip-popup", "duet-visually-hidden"];
|
|
229
|
+
components.forEach(tagName => { switch (tagName) {
|
|
230
|
+
case "duet-select":
|
|
231
|
+
if (!customElements.get(tagName)) {
|
|
232
|
+
customElements.define(tagName, DuetSelect);
|
|
233
|
+
}
|
|
234
|
+
break;
|
|
235
|
+
case "duet-caption":
|
|
236
|
+
if (!customElements.get(tagName)) {
|
|
237
|
+
defineCustomElement$7();
|
|
238
|
+
}
|
|
239
|
+
break;
|
|
240
|
+
case "duet-icon":
|
|
241
|
+
if (!customElements.get(tagName)) {
|
|
242
|
+
defineCustomElement$6();
|
|
243
|
+
}
|
|
244
|
+
break;
|
|
245
|
+
case "duet-label":
|
|
246
|
+
if (!customElements.get(tagName)) {
|
|
247
|
+
defineCustomElement$5();
|
|
248
|
+
}
|
|
249
|
+
break;
|
|
250
|
+
case "duet-tooltip":
|
|
251
|
+
if (!customElements.get(tagName)) {
|
|
252
|
+
defineCustomElement$4();
|
|
253
|
+
}
|
|
254
|
+
break;
|
|
255
|
+
case "duet-tooltip-button":
|
|
256
|
+
if (!customElements.get(tagName)) {
|
|
257
|
+
defineCustomElement$3();
|
|
258
|
+
}
|
|
259
|
+
break;
|
|
260
|
+
case "duet-tooltip-popup":
|
|
261
|
+
if (!customElements.get(tagName)) {
|
|
262
|
+
defineCustomElement$2();
|
|
263
|
+
}
|
|
264
|
+
break;
|
|
265
|
+
case "duet-visually-hidden":
|
|
266
|
+
if (!customElements.get(tagName)) {
|
|
267
|
+
defineCustomElement$1();
|
|
268
|
+
}
|
|
269
|
+
break;
|
|
270
|
+
} });
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export { DuetSelect as D, defineCustomElement as d };
|
|
@@ -17,7 +17,7 @@ const DuetVisuallyHidden = /*@__PURE__*/ proxyCustomElement(class DuetVisuallyHi
|
|
|
17
17
|
* Always the last one in the class.
|
|
18
18
|
*/
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'cd9e7fe168ed42bfa9fc4751303db7edd312ce75', class: "duet-visually-hidden" }, h("slot", { key: 'bd33aa5a8f5cf442fab2f40ef59b13c36b32eb9d' })));
|
|
21
21
|
}
|
|
22
22
|
get element() { return this; }
|
|
23
23
|
static get style() { return DuetVisuallyHiddenStyle0; }
|
|
@@ -79,7 +79,7 @@ const DuetList = /*@__PURE__*/ proxyCustomElement(class DuetList extends H {
|
|
|
79
79
|
* Always the last one in the class.
|
|
80
80
|
*/
|
|
81
81
|
render() {
|
|
82
|
-
return (h("dl", { key: '
|
|
82
|
+
return (h("dl", { key: '2494b68d174f2bed0ca129e8970a12ccf09d3532', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", { key: '966205c93097469e4b0e1c92aa7e7f264a235ae3' })));
|
|
83
83
|
}
|
|
84
84
|
get element() { return this; }
|
|
85
85
|
static get watchers() { return {
|
|
@@ -102,7 +102,7 @@ const DuetTable = /*@__PURE__*/ proxyCustomElement(class DuetTable extends H {
|
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: 'fe804ab98faa5a67150c751bb1c75fffd76d9979', class: {
|
|
106
106
|
[`duet-table-${this.variation}`]: true,
|
|
107
107
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
108
108
|
// sticky only valid when in regular table layout
|
|
@@ -111,7 +111,7 @@ const DuetTable = /*@__PURE__*/ proxyCustomElement(class DuetTable extends H {
|
|
|
111
111
|
"duet-m-0": this.margin === "none",
|
|
112
112
|
"duet-theme-turva": this.theme === "turva",
|
|
113
113
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
114
|
-
} }, h("slot", { key: '
|
|
114
|
+
} }, h("slot", { key: '5771327fbab3d42432e014a2f527de6c865d4999' })));
|
|
115
115
|
}
|
|
116
116
|
get element() { return this; }
|
|
117
117
|
static get watchers() { return {
|
|
@@ -5,13 +5,14 @@ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
|
|
8
|
-
const duetCheckboxCss = "
|
|
8
|
+
const duetCheckboxCss = "*,*::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;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{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;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::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 .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::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]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{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 .duet-checkbox-error{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 .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
9
9
|
const DuetCheckboxStyle0 = duetCheckboxCss;
|
|
10
10
|
|
|
11
11
|
const DuetCheckbox = /*@__PURE__*/ proxyCustomElement(class DuetCheckbox extends H {
|
|
12
12
|
constructor() {
|
|
13
13
|
super();
|
|
14
14
|
this.__registerHost();
|
|
15
|
+
this.__attachShadow();
|
|
15
16
|
this.duetChange = createEvent(this, "duetChange", 3);
|
|
16
17
|
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
17
18
|
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
@@ -111,7 +112,7 @@ const DuetCheckbox = /*@__PURE__*/ proxyCustomElement(class DuetCheckbox extends
|
|
|
111
112
|
}
|
|
112
113
|
get element() { return this; }
|
|
113
114
|
static get style() { return DuetCheckboxStyle0; }
|
|
114
|
-
}, [
|
|
115
|
+
}, [1, "duet-checkbox", {
|
|
115
116
|
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
116
117
|
"margin": [1],
|
|
117
118
|
"accessibleControls": [1, "accessible-controls"],
|
|
@@ -6,9 +6,9 @@ import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
|
6
6
|
import { D as DuetStringsExternalDefaults, a as DuetStringsLoadingDefaults } from './p-9df4cfa4.js';
|
|
7
7
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-35375593.js';
|
|
8
8
|
import { g as getColorByName } from './p-88ed3495.js';
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-8342a3e5.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-cb5df864.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-18c3a72b.js';
|
|
12
12
|
|
|
13
13
|
const duetButtonCss = "*,*::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;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}@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}: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}@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}: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}: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, outline 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:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.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{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-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{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{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{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{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-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-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-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-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-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-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-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-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.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.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]{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !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.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{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;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-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.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.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{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-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;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-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;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-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}";
|
|
14
14
|
const DuetButtonStyle0 = duetButtonCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { p as proxyCustomElement, H, h, d as Host } from './p-f66602b0.js';
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-18c3a72b.js';
|
|
6
6
|
|
|
7
7
|
const DuetUploadAriaStatus = /*@__PURE__*/ proxyCustomElement(class DuetUploadAriaStatus extends H {
|
|
8
8
|
constructor() {
|
|
@@ -65,7 +65,7 @@ const DuetUploadAriaStatus = /*@__PURE__*/ proxyCustomElement(class DuetUploadAr
|
|
|
65
65
|
* Always the last one in the class.
|
|
66
66
|
*/
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '177f33a14fe939c866cc4b465b1886899d97af29', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: '410c70a49016691f5795d537a66ead6cc2a9bb64' }, this.statusMessage)));
|
|
69
69
|
}
|
|
70
70
|
get element() { return this; }
|
|
71
71
|
static get watchers() { return {
|
|
@@ -29,12 +29,12 @@ const DuetBadge = /*@__PURE__*/ proxyCustomElement(class DuetBadge extends H {
|
|
|
29
29
|
*/
|
|
30
30
|
render() {
|
|
31
31
|
const backgroundClass = `background-${this.background}`;
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'ae708838b39b1a8db655ca27383e92baba3795fd', class: { "duet-m-0": this.margin === "none" } }, h("span", { key: '29dbf98cb938dcd05be7a57c20e355db1e05b1df', class: {
|
|
33
33
|
"duet-badge": true,
|
|
34
34
|
[this.variation]: true,
|
|
35
35
|
[backgroundClass]: true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
|
-
} }, h("slot", { key: '
|
|
37
|
+
} }, h("slot", { key: 'aa2b310511ff50a759a7ef772a38ddbe196ef74a' }))));
|
|
38
38
|
}
|
|
39
39
|
get element() { return this; }
|
|
40
40
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -29,7 +29,7 @@ const DuetDivider = /*@__PURE__*/ proxyCustomElement(class DuetDivider extends H
|
|
|
29
29
|
*/
|
|
30
30
|
render() {
|
|
31
31
|
const background = getColorByName(this.color);
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: 'c2cc3db06f08c31c90b7038ebaa32159765ae737', class: {
|
|
33
33
|
"duet-m-0": this.margin === "none",
|
|
34
34
|
"duet-m-s": this.margin === "small",
|
|
35
35
|
"duet-divider": true,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { p as proxyCustomElement, H, h, d as Host } from './p-f66602b0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-8342a3e5.js';
|
|
7
7
|
|
|
8
8
|
const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(8, 42, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}";
|
|
9
9
|
const DuetEmptyStateStyle0 = duetEmptyStateCss;
|
|
@@ -28,11 +28,11 @@ const DuetEmptyState = /*@__PURE__*/ proxyCustomElement(class DuetEmptyState ext
|
|
|
28
28
|
* Always the last one in the class.
|
|
29
29
|
*/
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'de95b8dde0a1b050210be7afc24bbd534f0cfc1a' }, h("div", { key: '2dde668c5bed949f10a84abb1e6108dabb5e12e8', class: {
|
|
32
32
|
"duet-empty-state": true,
|
|
33
33
|
"duet-theme-turva": this.theme === "turva",
|
|
34
34
|
"duet-is-small": this.size === "small",
|
|
35
|
-
} }, h("duet-icon", { key: '
|
|
35
|
+
} }, h("duet-icon", { key: '0341402760ee9f9417e6c4716ac79831f4b2ef48', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), h("div", { key: '782e28c5c025f7f3aa7839d2fae882b0f159b2e8' }, h("slot", { key: 'fb7d4c425c9680cf0ea95048e16db7b566932941' })))));
|
|
36
36
|
}
|
|
37
37
|
get element() { return this; }
|
|
38
38
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f66602b0.js';
|
|
5
5
|
import { a as actionNewWindowSmall } from './p-f11208c3.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
7
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$1 } from './p-8342a3e5.js';
|
|
8
8
|
|
|
9
9
|
const duetPopupMenuItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
10
10
|
const DuetPopupMenuItemStyle0 = duetPopupMenuItemCss;
|
|
@@ -76,11 +76,11 @@ const DuetPopupMenuItem = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenuIt
|
|
|
76
76
|
"duet-theme-turva": this.theme === "turva",
|
|
77
77
|
"active-descendant": this.activeDescendant,
|
|
78
78
|
};
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'd8a0f9f62ecc1abedce8431e27331ff3d88f4c24', role: this.accessibleRole }, h(TagName, { key: '998d7156c8a1e789405240a5927923e83130eb48', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: 'db04fcce497b69525b6dafe5179aaff15a61a98f', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'f67feb833576c6272f80097877c16cc0c68f41f8', class: "duet-popup-menu-item-label" }, h("slot", { key: 'bd8abe74d51a7398ab7ba70813dc1449ad5e0bb4' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: '3f75ee757d5ff1b5fa9055b897fd51c31f6919d5', name: this.url && this.external
|
|
80
80
|
? actionNewWindowSmall.title
|
|
81
81
|
: this.active
|
|
82
82
|
? "messaging-checked-small"
|
|
83
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '
|
|
83
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: 'e716737df75eb8ee5512b2075e37ef539fe4ef2c', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
84
84
|
}
|
|
85
85
|
get element() { return this; }
|
|
86
86
|
static get style() { return DuetPopupMenuItemStyle0; }
|