@duetds/components 10.0.0-alpha.1 → 10.0.0-alpha.3
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 +777 -256
- package/lib/cjs/a11y-utils-8177cf00.js +25 -0
- package/lib/cjs/{app-globals-a1431483.js → app-globals-718a3704.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +8 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +508 -15
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +13 -12
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -5
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -9
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-range-slider.cjs.entry.js +7 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +9 -8
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -4
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +8 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +6 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -6
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-b4cf3ce2.js → errorcodes.utils-4e8a9de4.js} +1 -1
- package/lib/cjs/{focus-utils-68fa1c8f.js → focus-utils-2a0030aa.js} +1 -1
- package/lib/cjs/{index-7e38df71.js → index-21e67ab3.js} +1 -1
- package/lib/cjs/label-2abeac23.js +22 -0
- package/lib/cjs/{language-utils-beee36ce.js → language-utils-b5940c7b.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-80463bf1.js → slot-utils-382633cf.js} +10 -5
- package/lib/cjs/{token-utils-12717808.js → token-utils-5000595c.js} +1 -1
- package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-7c947029.js} +16 -0
- package/lib/collection/common/label.js +16 -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.css +9 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -6
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- 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/duet-date-picker.css +77 -4
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +3 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +3 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +4 -7
- 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 +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- 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.css +80 -7
- package/lib/collection/components/duet-input/duet-input.js +7 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +2 -2
- 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.css +69 -1
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -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.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- 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 +12 -12
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +69 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +3 -2
- 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.css +89 -13
- package/lib/collection/components/duet-select/duet-select.js +6 -5
- 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 +2 -2
- 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 +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-table/duet-table-styles.js +499 -0
- package/lib/collection/components/duet-table/duet-table.js +5 -12
- package/lib/collection/components/duet-textarea/duet-textarea.css +69 -1
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -3
- package/lib/collection/components/duet-toggle/duet-toggle.css +68 -0
- package/lib/collection/components/duet-toggle/duet-toggle.js +3 -2
- 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.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-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/a11y-utils.js +9 -5
- package/lib/collection/utils/slot-utils.js +9 -4
- 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 +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- 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 +11 -11
- package/lib/dist-custom-elements/duet-choice.js +11 -11
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +20 -26
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +22 -27
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +12 -11
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +12 -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 +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +15 -15
- 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-label.js +62 -1
- package/lib/dist-custom-elements/duet-layout.js +7 -7
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +15 -15
- package/lib/dist-custom-elements/duet-multiselect.js +19 -24
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +17 -23
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +30 -36
- 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-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +7 -7
- package/lib/dist-custom-elements/duet-radio-group.js +10 -10
- package/lib/dist-custom-elements/duet-radio.js +5 -5
- package/lib/dist-custom-elements/duet-range-slider.js +8 -13
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
- package/lib/dist-custom-elements/duet-slideout.js +9 -9
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -6
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +21 -27
- package/lib/dist-custom-elements/duet-tab.js +4 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +19 -24
- package/lib/dist-custom-elements/duet-toggle.js +7 -12
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- 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 +6 -6
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-18c3a72b.js → p-02f97b91.js} +2 -2
- package/lib/dist-custom-elements/{p-4f5a1d66.js → p-087d8c5a.js} +3 -3
- package/lib/dist-custom-elements/{p-5270ad3d.js → p-1296f851.js} +4 -4
- package/lib/dist-custom-elements/{p-fc92fc89.js → p-174a9d1d.js} +4 -4
- package/lib/dist-custom-elements/{p-b33a176e.js → p-1ccd7c39.js} +4 -4
- package/lib/dist-custom-elements/{p-88ed3495.js → p-1f4fbc7a.js} +1 -1
- package/lib/dist-custom-elements/p-22147601.js +642 -0
- package/lib/dist-custom-elements/{p-aa62c36f.js → p-29be247b.js} +2 -2
- package/lib/dist-custom-elements/{p-e5962501.js → p-2c70b9f4.js} +3 -3
- package/lib/dist-custom-elements/p-2f25dfb3.js +154 -0
- package/lib/dist-custom-elements/{p-c44197e0.js → p-330bcf1d.js} +7 -7
- package/lib/dist-custom-elements/{p-d0a4a69f.js → p-3431b690.js} +3 -3
- package/lib/dist-custom-elements/{p-ee079d76.js → p-36ab2d57.js} +4 -4
- package/lib/dist-custom-elements/{p-92f36210.js → p-3ce1f7b8.js} +12 -12
- package/lib/dist-custom-elements/{p-cb5df864.js → p-41dca9e4.js} +4 -4
- package/lib/dist-custom-elements/p-42619f94.js +20 -0
- package/lib/dist-custom-elements/{p-0ac72fc8.js → p-430f3778.js} +2 -2
- package/lib/dist-custom-elements/{p-a5c06963.js → p-43c4a1af.js} +3 -3
- package/lib/dist-custom-elements/{p-8342a3e5.js → p-4da43fbc.js} +5 -5
- package/lib/dist-custom-elements/{p-266569ef.js → p-68c629a8.js} +2 -2
- package/lib/dist-custom-elements/{p-5448ad53.js → p-6b77d4d3.js} +4 -4
- package/lib/dist-custom-elements/{p-c9a14c7b.js → p-89b10856.js} +5 -5
- package/lib/dist-custom-elements/{p-39b63c58.js → p-956e3bce.js} +3 -3
- package/lib/dist-custom-elements/{p-fb63021d.js → p-9f9423c6.js} +2 -2
- package/lib/dist-custom-elements/{p-34d6d7b1.js → p-9fa4eb51.js} +6 -6
- package/lib/dist-custom-elements/p-a2147aff.js +268 -0
- package/lib/dist-custom-elements/{p-8c993e48.js → p-ab34075b.js} +3 -3
- package/lib/dist-custom-elements/{p-392a87b6.js → p-ad615991.js} +9 -4
- package/lib/dist-custom-elements/p-afb6f7fb.js +23 -0
- package/lib/dist-custom-elements/{p-38a3168a.js → p-b0925e24.js} +5 -5
- package/lib/dist-custom-elements/{p-acacce04.js → p-b8de9a9c.js} +7 -7
- package/lib/dist-custom-elements/{p-644b52bb.js → p-c7d815f6.js} +3 -3
- package/lib/dist-custom-elements/{p-4c179c1e.js → p-cea716f7.js} +1 -1
- package/lib/dist-custom-elements/{p-61282ed8.js → p-d1f89e90.js} +4 -4
- package/lib/dist-custom-elements/{p-a6b39855.js → p-d2a5148f.js} +1 -1
- package/lib/dist-custom-elements/{p-f66602b0.js → p-d77db171.js} +1 -1
- package/lib/dist-custom-elements/{p-4b53c636.js → p-dad518a5.js} +11 -11
- package/lib/dist-custom-elements/{p-824a3b0b.js → p-de4ee016.js} +7 -7
- package/lib/dist-custom-elements/{p-7ff1b14d.js → p-de8f018a.js} +3 -3
- package/lib/dist-custom-elements/{p-649a8c3e.js → p-df2042f8.js} +4 -4
- package/lib/dist-custom-elements/{p-4d4c66b0.js → p-e176f419.js} +3 -3
- package/lib/dist-custom-elements/{p-a4c60ad4.js → p-e37d189b.js} +21 -26
- package/lib/dist-custom-elements/{p-d9d8aaec.js → p-fe9e47d9.js} +6 -6
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-b5eec241.system.entry.js → p-021a4763.system.entry.js} +1 -1
- package/lib/duet/{p-79bd8c35.system.entry.js → p-031167a1.system.entry.js} +1 -1
- package/lib/duet/{p-252df607.entry.js → p-051c4536.entry.js} +1 -1
- package/lib/duet/{p-5e7d7f1b.entry.js → p-05ca5aea.entry.js} +1 -1
- package/lib/duet/{p-351e60ba.system.entry.js → p-07847129.system.entry.js} +1 -1
- package/lib/duet/{p-a023bf22.entry.js → p-0a305aee.entry.js} +1 -1
- package/lib/duet/p-0d7da85a.js +4 -0
- package/lib/duet/{p-42b8ef9c.system.entry.js → p-0e348f96.system.entry.js} +1 -1
- package/lib/duet/{p-c20c2ae0.entry.js → p-0e8e80b1.entry.js} +1 -1
- package/lib/duet/{p-343c72ca.entry.js → p-0ee85b71.entry.js} +1 -1
- package/lib/duet/{p-eec65fc4.system.entry.js → p-1183d305.system.entry.js} +1 -1
- package/lib/duet/{p-778e26b4.system.entry.js → p-1268b5a0.system.entry.js} +1 -1
- package/lib/duet/{p-0d79ddc1.system.entry.js → p-153b6150.system.entry.js} +1 -1
- package/lib/duet/{p-3a1f45d1.system.entry.js → p-192bba35.system.entry.js} +1 -1
- package/lib/duet/{p-3300a0a4.system.js → p-1e17463d.system.js} +1 -1
- package/lib/duet/{p-d710c54e.entry.js → p-1e904342.entry.js} +1 -1
- package/lib/duet/{p-bf2016fd.entry.js → p-1e9e887d.entry.js} +1 -1
- package/lib/duet/{p-70fd8af5.system.entry.js → p-209d6065.system.entry.js} +1 -1
- package/lib/duet/{p-9be7442d.entry.js → p-20d056ac.entry.js} +1 -1
- package/lib/duet/{p-dc85fbfe.system.entry.js → p-20eaf445.system.entry.js} +1 -1
- package/lib/duet/{p-b1c78160.system.entry.js → p-215f4257.system.entry.js} +1 -1
- package/lib/duet/p-237efb0c.system.entry.js +4 -0
- package/lib/duet/{p-e4d4cc92.js → p-2437b4cb.js} +1 -1
- package/lib/duet/p-250fb070.entry.js +4 -0
- package/lib/duet/{p-72508bb9.entry.js → p-25af4a6c.entry.js} +1 -1
- package/lib/duet/p-25d79094.entry.js +4 -0
- package/lib/duet/{p-01fae8f7.entry.js → p-27260106.entry.js} +1 -1
- package/lib/duet/{p-26eb501a.system.entry.js → p-27ed5ca7.system.entry.js} +1 -1
- package/lib/duet/p-2810c6dc.system.entry.js +4 -0
- package/lib/duet/{p-12abe4eb.system.entry.js → p-2814473c.system.entry.js} +1 -1
- package/lib/duet/p-29152853.entry.js +4 -0
- package/lib/duet/p-2a0ad29c.system.entry.js +4 -0
- package/lib/duet/{p-b11c1b81.entry.js → p-2a979523.entry.js} +1 -1
- package/lib/duet/p-2b2cd3be.entry.js +4 -0
- package/lib/duet/p-2b35de7b.entry.js +4 -0
- package/lib/duet/{p-f9a64d11.entry.js → p-2b45d2e4.entry.js} +1 -1
- package/lib/duet/p-2b6a7397.js +4 -0
- package/lib/duet/p-2bf17427.entry.js +4 -0
- package/lib/duet/{p-f6900a3e.entry.js → p-2dc360ee.entry.js} +1 -1
- package/lib/duet/{p-351076bc.system.entry.js → p-2de0ab3d.system.entry.js} +1 -1
- package/lib/duet/{p-214444f4.js → p-2eae4a0b.js} +1 -1
- package/lib/duet/{p-7ed9a6ec.entry.js → p-2fa7ecef.entry.js} +1 -1
- package/lib/duet/p-2fb96333.entry.js +4 -0
- package/lib/duet/{p-b5b5040f.entry.js → p-3106c658.entry.js} +1 -1
- package/lib/duet/{p-3fce7ef4.system.entry.js → p-34024554.system.entry.js} +1 -1
- package/lib/duet/p-380f74e8.system.entry.js +4 -0
- package/lib/duet/p-3810c7dc.entry.js +4 -0
- package/lib/duet/{p-ad3fc579.entry.js → p-3c64dab9.entry.js} +1 -1
- package/lib/duet/{p-210045f4.system.entry.js → p-3d826a58.system.entry.js} +1 -1
- package/lib/duet/{p-1ec66cb0.system.entry.js → p-3d96186f.system.entry.js} +1 -1
- package/lib/duet/{p-b5ef2959.system.entry.js → p-3df2981e.system.entry.js} +1 -1
- package/lib/duet/{p-706c3914.entry.js → p-3faaa469.entry.js} +1 -1
- package/lib/duet/p-3fe7e109.system.entry.js +4 -0
- package/lib/duet/{p-35196930.system.entry.js → p-40bab9a0.system.entry.js} +1 -1
- package/lib/duet/{p-0de62774.system.entry.js → p-41552571.system.entry.js} +1 -1
- package/lib/duet/{p-eb425280.system.entry.js → p-43cc4ad9.system.entry.js} +1 -1
- package/lib/duet/{p-907ef071.system.entry.js → p-43d16748.system.entry.js} +1 -1
- package/lib/duet/p-44ee649f.system.entry.js +4 -0
- package/lib/duet/{p-778e721c.entry.js → p-486576ee.entry.js} +1 -1
- package/lib/duet/{p-70adc2c4.entry.js → p-49fa4a07.entry.js} +1 -1
- package/lib/duet/{p-37f90207.entry.js → p-4a9978a4.entry.js} +1 -1
- package/lib/duet/{p-cbbf6d6a.system.js → p-4cff3036.system.js} +1 -1
- package/lib/duet/{p-9bfe7c56.entry.js → p-4e7f27d8.entry.js} +1 -1
- package/lib/duet/p-4e9052cd.entry.js +4 -0
- package/lib/duet/{p-c055a0a5.entry.js → p-4ee7eb8a.entry.js} +1 -1
- package/lib/duet/{p-00c7bd0a.system.entry.js → p-5170726b.system.entry.js} +1 -1
- package/lib/duet/p-55674524.entry.js +4 -0
- package/lib/duet/{p-989ecf2e.system.entry.js → p-58caf53a.system.entry.js} +1 -1
- package/lib/duet/p-5b927db3.entry.js +4 -0
- package/lib/duet/p-5db9497a.entry.js +4 -0
- package/lib/duet/{p-f35be908.entry.js → p-5dbd1202.entry.js} +1 -1
- package/lib/duet/{p-c20e0bcd.entry.js → p-5e25b406.entry.js} +1 -1
- package/lib/duet/{p-19519c35.system.entry.js → p-60547899.system.entry.js} +1 -1
- package/lib/duet/{p-406af1f3.system.js → p-605e69c8.system.js} +1 -1
- package/lib/duet/{p-b1f3e71c.entry.js → p-612fbfcc.entry.js} +1 -1
- package/lib/duet/{p-c7f38ac3.system.entry.js → p-620d4575.system.entry.js} +1 -1
- package/lib/duet/{p-0cb1aedd.entry.js → p-629a9c13.entry.js} +1 -1
- package/lib/duet/{p-b9e3e4e1.system.entry.js → p-62bdecfb.system.entry.js} +1 -1
- package/lib/duet/{p-2de11c55.system.entry.js → p-6324514a.system.entry.js} +1 -1
- package/lib/duet/{p-c162b6f1.system.entry.js → p-6447f20d.system.entry.js} +1 -1
- package/lib/duet/{p-bcbd3dde.system.entry.js → p-6537159a.system.entry.js} +2 -2
- package/lib/duet/{p-5269e599.system.entry.js → p-670bd483.system.entry.js} +1 -1
- package/lib/duet/p-6b436ca9.entry.js +4 -0
- package/lib/duet/{p-028c7b18.entry.js → p-6be341c4.entry.js} +1 -1
- package/lib/duet/p-7483d86c.entry.js +4 -0
- package/lib/duet/{p-eacd8c67.entry.js → p-76563c02.entry.js} +1 -1
- package/lib/duet/{p-f933ada6.system.entry.js → p-769a3309.system.entry.js} +1 -1
- package/lib/duet/{p-aabf13cc.entry.js → p-76b42e90.entry.js} +1 -1
- package/lib/duet/p-76b84b22.entry.js +4 -0
- package/lib/duet/{p-42d0aeb0.system.js → p-76d69a18.system.js} +1 -1
- package/lib/duet/p-7972306f.entry.js +4 -0
- package/lib/duet/{p-4b45bf31.system.entry.js → p-79dfc8e6.system.entry.js} +2 -2
- package/lib/duet/{p-f380d364.system.entry.js → p-7a67ce10.system.entry.js} +1 -1
- package/lib/duet/p-7acabaa7.system.js +4 -0
- package/lib/duet/{p-e7fa96bb.system.js → p-7cce22af.system.js} +1 -1
- package/lib/duet/{p-d7c1c492.entry.js → p-7d2fffc2.entry.js} +1 -1
- package/lib/duet/p-7dd3b7d1.entry.js +4 -0
- package/lib/duet/{p-256b4fd3.entry.js → p-7f5c1da2.entry.js} +1 -1
- package/lib/duet/p-8142169f.system.entry.js +4 -0
- package/lib/duet/p-8481bbda.entry.js +4 -0
- package/lib/duet/{p-d2ded72c.system.entry.js → p-871d7ca1.system.entry.js} +2 -2
- package/lib/duet/{p-5e62f1da.system.entry.js → p-894c1be1.system.entry.js} +1 -1
- package/lib/duet/{p-b899b000.js → p-8abb0984.js} +1 -1
- package/lib/duet/p-8c9eb171.js +4 -0
- package/lib/duet/p-8f4cdf46.system.entry.js +4 -0
- package/lib/duet/{p-3b77a305.system.entry.js → p-9253e832.system.entry.js} +1 -1
- package/lib/duet/p-965e597c.system.js +4 -0
- package/lib/duet/{p-530144b7.entry.js → p-966bd64a.entry.js} +1 -1
- package/lib/duet/{p-4bdae83b.entry.js → p-9b04e4a2.entry.js} +1 -1
- package/lib/duet/{p-37c5de09.entry.js → p-9fb9ba73.entry.js} +1 -1
- package/lib/duet/{p-7d32c253.system.js → p-a19244e5.system.js} +1 -1
- package/lib/duet/{p-8911e1f0.system.entry.js → p-a2aa619b.system.entry.js} +1 -1
- package/lib/duet/{p-5c5e87a7.system.entry.js → p-a2b93336.system.entry.js} +1 -1
- package/lib/duet/{p-a5406a98.entry.js → p-a3341588.entry.js} +1 -1
- package/lib/duet/{p-71d12412.entry.js → p-a47047f2.entry.js} +1 -1
- package/lib/duet/{p-e1a53396.entry.js → p-a51e1b9e.entry.js} +1 -1
- package/lib/duet/{p-2ac4c5d4.entry.js → p-a600451a.entry.js} +1 -1
- package/lib/duet/{p-9f466e90.system.entry.js → p-a7d809b4.system.entry.js} +1 -1
- package/lib/duet/{p-58497877.system.entry.js → p-a8a381c9.system.entry.js} +1 -1
- package/lib/duet/{p-19baff31.entry.js → p-aa82f9a1.entry.js} +1 -1
- package/lib/duet/p-ac9460ca.entry.js +4 -0
- package/lib/duet/{p-b73129bb.entry.js → p-aca3a5a9.entry.js} +1 -1
- package/lib/duet/{p-b6214d5a.entry.js → p-af209330.entry.js} +1 -1
- package/lib/duet/{p-c8437ddb.system.entry.js → p-b010f56b.system.entry.js} +2 -2
- package/lib/duet/p-b69f3d9d.system.entry.js +4 -0
- package/lib/duet/{p-296eb384.entry.js → p-b6c584b6.entry.js} +1 -1
- package/lib/duet/{p-a5526302.entry.js → p-b765710e.entry.js} +1 -1
- package/lib/duet/p-ba03d034.system.js +4 -0
- package/lib/duet/p-bcc40139.system.entry.js +4 -0
- package/lib/duet/{p-69d6bbfe.system.entry.js → p-c15cd383.system.entry.js} +1 -1
- package/lib/duet/{p-3f690e05.system.entry.js → p-c22935bf.system.entry.js} +1 -1
- package/lib/duet/p-c2dd561e.entry.js +4 -0
- package/lib/duet/{p-c00beb34.system.entry.js → p-c3ba8e74.system.entry.js} +1 -1
- package/lib/duet/{p-99443d70.entry.js → p-c52e8007.entry.js} +1 -1
- package/lib/duet/{p-dea69e25.system.entry.js → p-c6894b07.system.entry.js} +1 -1
- package/lib/duet/{p-779cfa4a.system.entry.js → p-c694f12d.system.entry.js} +1 -1
- package/lib/duet/{p-d554e96b.entry.js → p-c79cbfdb.entry.js} +1 -1
- package/lib/duet/{p-b822ce49.system.entry.js → p-c8421271.system.entry.js} +1 -1
- package/lib/duet/{p-8bc4d112.entry.js → p-c8d3cb52.entry.js} +1 -1
- package/lib/duet/p-c8e22ae2.system.entry.js +4 -0
- package/lib/duet/{p-f29c480a.system.entry.js → p-cbedbd77.system.entry.js} +1 -1
- package/lib/duet/{p-10c530d1.js → p-cc67e773.js} +1 -1
- package/lib/duet/{p-7785b7a6.system.entry.js → p-ce543cc1.system.entry.js} +1 -1
- package/lib/duet/{p-cab2979b.entry.js → p-cf30c088.entry.js} +1 -1
- package/lib/duet/p-d3c304b5.system.js +4 -0
- package/lib/duet/{p-a6ee1072.system.entry.js → p-d43fc5e9.system.entry.js} +1 -1
- package/lib/duet/{p-b0823273.system.entry.js → p-d6dc9819.system.entry.js} +1 -1
- package/lib/duet/{p-d048f25c.js → p-d7d86092.js} +1 -1
- package/lib/duet/{p-425e3794.system.entry.js → p-d86d8491.system.entry.js} +1 -1
- package/lib/duet/{p-146a6092.entry.js → p-dfd223d9.entry.js} +1 -1
- package/lib/duet/{p-cfee6451.entry.js → p-e0536bb5.entry.js} +1 -1
- package/lib/duet/{p-1ce82dfa.system.js → p-e1c881da.system.js} +1 -1
- package/lib/duet/{p-4f913952.entry.js → p-e258270f.entry.js} +1 -1
- package/lib/duet/{p-0cb6800d.entry.js → p-e2daf94c.entry.js} +1 -1
- package/lib/duet/{p-0cde41e1.system.entry.js → p-e38edd16.system.entry.js} +1 -1
- package/lib/duet/p-e44da0ff.system.entry.js +4 -0
- package/lib/duet/{p-f417c864.entry.js → p-e8dd29e7.entry.js} +1 -1
- package/lib/duet/p-e93849fd.system.entry.js +4 -0
- package/lib/duet/p-e9d2f4a1.entry.js +4 -0
- package/lib/duet/{p-06e6b044.js → p-eca03d5e.js} +1 -1
- package/lib/duet/{p-65a3b7a2.system.entry.js → p-ee1eb7cb.system.entry.js} +1 -1
- package/lib/duet/{p-3662ad90.entry.js → p-efa5ec67.entry.js} +1 -1
- package/lib/duet/p-f0b0e2b2.system.entry.js +4 -0
- package/lib/duet/{p-a1b49d73.system.entry.js → p-f105f32a.system.entry.js} +1 -1
- package/lib/duet/p-f3633004.entry.js +4 -0
- package/lib/duet/{p-59eadabe.entry.js → p-f3cf6b50.entry.js} +1 -1
- package/lib/duet/{p-a7c7e6a4.system.entry.js → p-f43e134e.system.entry.js} +1 -1
- package/lib/duet/{p-77eb9c59.system.entry.js → p-f5dd7e7e.system.entry.js} +1 -1
- package/lib/duet/{p-1a629881.system.entry.js → p-f6bd2d4f.system.entry.js} +2 -2
- package/lib/duet/{p-6c501d0a.system.entry.js → p-f75a6d54.system.entry.js} +1 -1
- package/lib/duet/p-f97500ff.system.entry.js +4 -0
- package/lib/duet/{p-adca50f8.system.entry.js → p-fa3b3dbc.system.entry.js} +1 -1
- package/lib/duet/{p-4ee32b23.system.entry.js → p-fbc396a7.system.entry.js} +2 -2
- package/lib/duet/{p-6e9ec04c.system.entry.js → p-fbf89657.system.entry.js} +1 -1
- package/lib/duet/p-fcb14b31.system.entry.js +4 -0
- package/lib/duet/{p-413ee44a.entry.js → p-fd2299b4.entry.js} +1 -1
- package/lib/duet/p-fd78f61a.js +4 -0
- package/lib/duet/{p-d452cbb7.entry.js → p-fee25f59.entry.js} +1 -1
- package/lib/duet/{p-c2ece51b.entry.js → p-ff4f7076.entry.js} +1 -1
- package/lib/esm/a11y-utils-8fc393f6.js +23 -0
- package/lib/esm/{app-globals-386e1feb.js → app-globals-00959ca9.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +6 -6
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +13 -12
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +4 -4
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +9 -9
- package/lib/esm/duet-choice_2.entry.js +11 -11
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +8 -7
- package/lib/esm/duet-divider_2.entry.js +5 -5
- package/lib/esm/duet-editable-table_3.entry.js +508 -15
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +7 -7
- package/lib/esm/duet-grid_2.entry.js +5 -5
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +13 -12
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +6 -5
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +10 -10
- package/lib/esm/duet-multiselect.entry.js +10 -9
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +5 -5
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +18 -18
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +6 -6
- package/lib/esm/duet-range-slider.entry.js +7 -6
- package/lib/esm/duet-scrollable_3.entry.js +17 -17
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +9 -8
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -4
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +8 -7
- package/lib/esm/duet-toggle.entry.js +6 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +7 -6
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-f2529568.js → errorcodes.utils-d9431251.js} +1 -1
- package/lib/esm/{focus-utils-fb393f52.js → focus-utils-adcd9463.js} +1 -1
- package/lib/esm/{index-4e3ad237.js → index-1d0b7c66.js} +1 -1
- package/lib/esm/label-ce262202.js +20 -0
- package/lib/esm/{language-utils-95643489.js → language-utils-14969cef.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-76c14c1b.js → slot-utils-4e5ed4eb.js} +10 -5
- package/lib/esm/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
- package/lib/esm/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
- package/lib/esm-es5/a11y-utils-8fc393f6.js +4 -0
- package/lib/esm-es5/{app-globals-386e1feb.js → app-globals-00959ca9.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -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-card.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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +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 +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-f2529568.js → errorcodes.utils-d9431251.js} +1 -1
- package/lib/esm-es5/focus-utils-adcd9463.js +4 -0
- package/lib/esm-es5/{index-4e3ad237.js → index-1d0b7c66.js} +1 -1
- package/lib/esm-es5/label-ce262202.js +4 -0
- package/lib/esm-es5/{language-utils-95643489.js → language-utils-14969cef.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-76c14c1b.js → slot-utils-4e5ed4eb.js} +1 -1
- package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
- package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
- package/lib/types/common/label.d.ts +13 -0
- package/lib/types/components/duet-table/duet-table-styles.d.ts +1 -0
- package/package.json +3 -3
- package/lib/cjs/a11y-utils-76311b95.js +0 -20
- package/lib/collection/components/duet-table/duet-table.css +0 -365
- package/lib/dist-custom-elements/p-2a6a71e4.js +0 -148
- package/lib/dist-custom-elements/p-36804cd7.js +0 -154
- package/lib/dist-custom-elements/p-4c8762a0.js +0 -273
- package/lib/dist-custom-elements/p-d0aaf2cd.js +0 -67
- package/lib/dist-custom-elements/p-f0cc5629.js +0 -18
- package/lib/duet/p-04c70cc1.entry.js +0 -4
- package/lib/duet/p-0c527115.entry.js +0 -4
- package/lib/duet/p-0d730e50.system.entry.js +0 -4
- package/lib/duet/p-1004af75.js +0 -4
- package/lib/duet/p-1aaa8887.entry.js +0 -4
- package/lib/duet/p-265b2d3f.system.entry.js +0 -4
- package/lib/duet/p-29646ce5.system.entry.js +0 -4
- package/lib/duet/p-2d34c1fe.system.entry.js +0 -4
- package/lib/duet/p-39733fa6.system.entry.js +0 -4
- package/lib/duet/p-3d797231.system.entry.js +0 -4
- package/lib/duet/p-405ba8bb.entry.js +0 -4
- package/lib/duet/p-4424b9e6.system.entry.js +0 -4
- package/lib/duet/p-5222dec4.system.entry.js +0 -4
- package/lib/duet/p-56c887fb.js +0 -4
- package/lib/duet/p-639fd3db.entry.js +0 -4
- package/lib/duet/p-65505cbd.entry.js +0 -4
- package/lib/duet/p-66adb361.entry.js +0 -4
- package/lib/duet/p-6858f043.system.entry.js +0 -4
- package/lib/duet/p-740c1ef1.entry.js +0 -4
- package/lib/duet/p-795e5faa.entry.js +0 -4
- package/lib/duet/p-7a3ae8a9.system.js +0 -4
- package/lib/duet/p-83d125ee.system.entry.js +0 -4
- package/lib/duet/p-9e27e0a8.system.entry.js +0 -4
- package/lib/duet/p-9ff1b619.entry.js +0 -4
- package/lib/duet/p-aa436035.system.entry.js +0 -4
- package/lib/duet/p-aad77751.system.js +0 -4
- package/lib/duet/p-ac1125e2.entry.js +0 -4
- package/lib/duet/p-bf60f901.system.entry.js +0 -4
- package/lib/duet/p-c0f0ba52.entry.js +0 -4
- package/lib/duet/p-c4de2dcc.entry.js +0 -4
- package/lib/duet/p-cc15edd9.entry.js +0 -4
- package/lib/duet/p-cdccf8e6.system.entry.js +0 -4
- package/lib/duet/p-d3a5400e.entry.js +0 -4
- package/lib/duet/p-d6b53d40.entry.js +0 -4
- package/lib/duet/p-d709d282.entry.js +0 -4
- package/lib/duet/p-d9187b9e.entry.js +0 -4
- package/lib/duet/p-dd1ec0ef.entry.js +0 -4
- package/lib/duet/p-e1d33d05.entry.js +0 -4
- package/lib/duet/p-e8216065.system.entry.js +0 -4
- package/lib/duet/p-ed72e8f0.entry.js +0 -4
- package/lib/duet/p-ef731dfb.system.js +0 -4
- package/lib/duet/p-f0cc5629.js +0 -4
- package/lib/duet/p-f1b8c169.entry.js +0 -4
- package/lib/duet/p-ffe761ec.system.entry.js +0 -4
- package/lib/esm/a11y-utils-92930863.js +0 -18
- package/lib/esm-es5/a11y-utils-92930863.js +0 -4
- package/lib/esm-es5/focus-utils-fb393f52.js +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-d77db171.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
6
|
import { F as FocusGuard } from './p-e30dc66d.js';
|
|
7
7
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-ca700701.js';
|
|
8
8
|
import { T as Teleport } from './p-ca3cb21e.js';
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-4da43fbc.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './p-02f97b91.js';
|
|
11
11
|
|
|
12
12
|
const duetTooltipPopupCss = "*,*::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;position:absolute;z-index:950}.duet-tooltip{position:relative;width:282px;min-height:48px;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(8, 42, 77);visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:300ms ease;transform-origin:100% 100%}.duet-tooltip.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);border-color:rgb(222, 224, 228);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip .arrow{position:absolute;width:22px;height:22px;pointer-events:none}.duet-tooltip .arrow.bottom,.duet-tooltip .arrow.bottom-start,.duet-tooltip .arrow.bottom-end{top:-20px}.duet-tooltip .arrow-container{position:relative;left:4px;width:100%;height:100%;pointer-events:none}.duet-tooltip .arrow-container::after{position:absolute;z-index:200;width:0;height:0;pointer-events:none;content:\"\"}.duet-tooltip .arrow-container::before{position:absolute;z-index:100;width:0;height:0;pointer-events:none;content:\"\"}.duet-tooltip .arrow-container.top::after,.duet-tooltip .arrow-container.top-start::after,.duet-tooltip .arrow-container.top-end::after{bottom:2px;left:2px;border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.top::before,.duet-tooltip .arrow-container.top-start::before,.duet-tooltip .arrow-container.top-end::before{bottom:-1px;left:1px;border:11px solid transparent;border-top:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.top::before,.duet-theme-turva .duet-tooltip .arrow-container.top-start::before,.duet-theme-turva .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip .arrow-container.bottom::after,.duet-tooltip .arrow-container.bottom-start::after,.duet-tooltip .arrow-container.bottom-end::after{bottom:1px;left:2px;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.bottom::before,.duet-tooltip .arrow-container.bottom-start::before,.duet-tooltip .arrow-container.bottom-end::before{bottom:1px;left:1px;border:11px solid transparent;border-bottom:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.bottom::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity}.duet-tooltip-content-area{padding:20px !important;width:100%;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-content-area:focus{outline:none}:host(.user-is-tabbing) .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tooltip-content-area:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tooltip-content-area::-webkit-scrollbar{width:4px}.duet-tooltip-content-area::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(212, 223, 229);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(222, 224, 228)}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(8, 42, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;-webkit-appearance:none;appearance:none}.duet-tooltip-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-tooltip-close:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}";
|
|
13
13
|
const DuetTooltipPopupStyle0 = duetTooltipPopupCss;
|
|
@@ -56,11 +56,11 @@ const DuetTooltipPopup = /*@__PURE__*/ proxyCustomElement(class DuetTooltipPopup
|
|
|
56
56
|
this.contentEl.focus();
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '964556bf2968cb31ee22add9a0e5f776b8bf6d97' }, h("div", { key: '82334ed0e1c500f24b71337475a2d54236f3e87a', class: {
|
|
60
60
|
"duet-tooltip": true,
|
|
61
61
|
"duet-theme-turva": this.theme === "turva",
|
|
62
62
|
"duet-tooltip-active": this.active === true,
|
|
63
|
-
} }, h(FocusGuard, { key: '
|
|
63
|
+
} }, h(FocusGuard, { key: '42360ef43ddb6feb72e5fe4cc4133ab0338946a1', moveFocusTo: this.buttonEl }), h("div", { key: 'f72ad11e31a3e94c9e605cb08b65f93e7718ddfd', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, h("slot", { key: '3259ef9c053e2db1b0bad6cc6dc0f444081163d9' })), h("div", { key: 'e278204fb9d9cfd336fe51a7b3902a8193b27191', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: '292a12a67948c7186631bc1bb17a4897ba17f2f0', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: 'e624c12dff7a645bbb09fc938ae55366afdea858', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: '6913f2962c93f355f3336636b1b2b806cd09561a', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: '1a4ffc8085ae871cfa321a0aef3b4c88354fe077' }, this.accessibleCloseLabel)), h(FocusGuard, { key: '9db665a257c4fdd8152612ddc981e14d3534debd', moveFocusTo: this.contentEl }))));
|
|
64
64
|
}
|
|
65
65
|
get element() { return this; }
|
|
66
66
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d77db171.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-02f97b91.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: '26f9145a9517170dfe1ba393f2c5ad65b0b06a02', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: '972991ded0b6c0b7006d97923b1a0f554b7ab597' }, this.statusMessage)));
|
|
69
69
|
}
|
|
70
70
|
get element() { return this; }
|
|
71
71
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d77db171.js';
|
|
5
5
|
|
|
6
6
|
const duetSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";
|
|
7
7
|
const DuetSpacerStyle0 = duetSpacerCss;
|
|
@@ -20,7 +20,7 @@ const DuetSpacer = /*@__PURE__*/ proxyCustomElement(class DuetSpacer extends H {
|
|
|
20
20
|
* Always the last one in the class.
|
|
21
21
|
*/
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '2aa5669c773f8841ad33637ee24c845c7eeb5dd2', class: {
|
|
24
24
|
"duet-spacer": true,
|
|
25
25
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
26
26
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d77db171.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
|
-
import { h as hasSlot } from './p-
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { h as hasSlot } from './p-ad615991.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-d2a5148f.js';
|
|
9
9
|
|
|
10
10
|
const duetFieldsetCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
11
11
|
const DuetFieldsetStyle0 = duetFieldsetCss;
|
|
@@ -43,20 +43,20 @@ const DuetFieldset = /*@__PURE__*/ proxyCustomElement(class DuetFieldset extends
|
|
|
43
43
|
* Always the last one in the class.
|
|
44
44
|
*/
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: 'c90be4dee8fe0279fbf6c4c3c928d137fe61f233', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '3ad5f101a81531194d9f6524cfc75b3287f0d28e', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
47
47
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
48
48
|
// once they do, we can remove errors from the aria-describedby
|
|
49
49
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
50
50
|
class: {
|
|
51
51
|
"duet-fieldset": true,
|
|
52
52
|
"duet-theme-turva": this.theme === "turva",
|
|
53
|
-
} }, h("legend", { key: '
|
|
53
|
+
} }, h("legend", { key: '213151ed1b0f84deb14a3e6a03b01bef9be36f6b', id: this.labelId }, h(this.labelHeadingLevel, { key: 'ab8f6890f78a7ae2c9b22e4c04bc38291bc5b164' }, this.label), this.caption && h("span", { key: '6aacc89f2c37744e16870ac20225109bc3313854' }, this.caption)), h("div", { key: '794ce3c1573e68c7cfb73d48ff7850511ac19109', class: {
|
|
54
54
|
"duet-legend-wrapper": true,
|
|
55
55
|
"duet-legend-has-caption": !!this.caption,
|
|
56
56
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
57
57
|
"duet-legend-hidden": this.labelHidden,
|
|
58
58
|
"duet-legend-compact": this.compactLabel,
|
|
59
|
-
} }, h("div", { key: '
|
|
59
|
+
} }, h("div", { key: '96448a08b7e74689135328c41823d0041e0460a1', class: "duet-fieldset-label" }, h("span", { key: '2ee830f8dc815dc2fe7a5cdd28a7c8e587d00aa5', "aria-hidden": "true" }, this.label), h("slot", { key: 'd466637b64d4233f5dd1ed3695311a46d1e7e284', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '12e9e36fefa42445a363148a516db4f906e8f91e', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: '543f734d48f22df932e73d2b9907e1afda57187a', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '34ebf937cbd6e396647aba6282a527698a8a0a89' }), h("span", { key: 'e810b0f8f8ab440f4a8956b72ab1a2a66bc04274', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '3cf4d71eb3ce812d1a5848961740a2b9c98f22a0' }, this.error)))));
|
|
60
60
|
}
|
|
61
61
|
get element() { return this; }
|
|
62
62
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-d77db171.js';
|
|
5
|
+
import { D as DuetInternalLabel } from './p-42619f94.js';
|
|
6
|
+
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
7
|
+
import { c as createID } from './p-5e59e970.js';
|
|
8
|
+
import { c as checkNamedSlotElement } from './p-ad615991.js';
|
|
9
|
+
import { p as parsePossibleJSON } from './p-9c3c64b9.js';
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-d2a5148f.js';
|
|
11
|
+
import { d as defineCustomElement$5 } from './p-4da43fbc.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-fe9e47d9.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-36ab2d57.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-89b10856.js';
|
|
15
|
+
import { d as defineCustomElement$1 } from './p-02f97b91.js';
|
|
16
|
+
|
|
17
|
+
const duetSelectCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(:not(.duet-m-0)){margin-right:16px !important;margin-bottom:12px !important}:host(:not(.duet-m-0)):last-child,:host(:not(.duet-m-0)):last-of-type{margin-right:0 !important}@media (min-width: 36em){:host(.duet-expand){width:100% !important}}:host(.duet-select-variation-tiny),:host(.duet-select-variation-compact){position:relative;top:-2px;width:72px;margin:0;vertical-align:baseline}:host(.duet-select-variation-compact){width:auto}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-internal-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: '847b57caa876d33226540190655ebad3853321a6', 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: 'cd440b3b4732daf0682e132f0d8882749b44fb58', 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(DuetInternalLabel, { key: 'f5a95e470436a18716d2e8776fdc3c797462cc17', 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: '4596fd07d9e1e2b54c1a1ecd1a4b11d9a252d64b', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '534a7a1d55d25a1bac04d7e875eedea92b750401', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'f6209eb669879a3ffd5e3f75c22635a3a43420cf', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'c3fdbdee82e459e1799fd579e9d9ef72e3875afb', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '15f9255e6167fb72ef530e01b11d220684e46ba8', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { key: '548ce61c3912e40c99466af3191224b2d11c1104', 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: 'fce5373b96ac5d37357ddec517c50cac493005e7', 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: '27bcfaaa3cb88cba2bd54a46bad51c2a1a077010', 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: '5ff56760239bbf6df5fd1196c431bb0d2922ce40', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'af31312140ff712064d8549cb23cc6132e72d1cc', 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: '662ea26357efc0545567b0878932aba619a02e8c', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: '084a9edb74ffb5de18b3dbb737fd18feb04582ef', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '59fda925694a93e39fca62495ba1164a6a046ca4', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '40def81c304d6e95679f9078ebacaee423d2682b' }, 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-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$6();
|
|
238
|
+
}
|
|
239
|
+
break;
|
|
240
|
+
case "duet-icon":
|
|
241
|
+
if (!customElements.get(tagName)) {
|
|
242
|
+
defineCustomElement$5();
|
|
243
|
+
}
|
|
244
|
+
break;
|
|
245
|
+
case "duet-tooltip":
|
|
246
|
+
if (!customElements.get(tagName)) {
|
|
247
|
+
defineCustomElement$4();
|
|
248
|
+
}
|
|
249
|
+
break;
|
|
250
|
+
case "duet-tooltip-button":
|
|
251
|
+
if (!customElements.get(tagName)) {
|
|
252
|
+
defineCustomElement$3();
|
|
253
|
+
}
|
|
254
|
+
break;
|
|
255
|
+
case "duet-tooltip-popup":
|
|
256
|
+
if (!customElements.get(tagName)) {
|
|
257
|
+
defineCustomElement$2();
|
|
258
|
+
}
|
|
259
|
+
break;
|
|
260
|
+
case "duet-visually-hidden":
|
|
261
|
+
if (!customElements.get(tagName)) {
|
|
262
|
+
defineCustomElement$1();
|
|
263
|
+
}
|
|
264
|
+
break;
|
|
265
|
+
} });
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export { DuetSelect as D, defineCustomElement as d };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import {
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d77db171.js';
|
|
5
|
+
import { x as colorGrayLightest, F as colorBrandGrayTurva, G as colorPrimaryTurva, C as colorPrimary } from './p-cea716f7.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
7
7
|
import { c as createID } from './p-5e59e970.js';
|
|
8
8
|
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-35375593.js';
|
|
@@ -86,7 +86,7 @@ const DuetLogo = /*@__PURE__*/ proxyCustomElement(class DuetLogo extends H {
|
|
|
86
86
|
*/
|
|
87
87
|
render() {
|
|
88
88
|
const TagName = this.href ? "a" : "div";
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '755522a4d8a0d79b25a402de924b39757c3eff92', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '03328ec8c5569b1f4203846cbbdc3014028a36ea', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
90
90
|
"duet-logo": true,
|
|
91
91
|
[this.size]: true,
|
|
92
92
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -61,10 +61,15 @@ const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0,
|
|
|
61
61
|
*/
|
|
62
62
|
const cloneDefaultSlotContent = (hostElement, targetElement) => {
|
|
63
63
|
targetElement.innerHTML = "";
|
|
64
|
-
hostElement.childNodes.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
if (hostElement.childNodes.length === 0) {
|
|
65
|
+
targetElement.innerHTML = hostElement.innerHTML;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
hostElement.childNodes.forEach(childNode => {
|
|
69
|
+
const copy = childNode.cloneNode(true);
|
|
70
|
+
targetElement.appendChild(copy);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
68
73
|
};
|
|
69
74
|
/**
|
|
70
75
|
* Creates hidden input element inside component's slot.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { b as getElementsFromDefaultSlot } from './p-ad615991.js';
|
|
5
|
+
|
|
6
|
+
function getAccessibleLinkLabel(component) {
|
|
7
|
+
const textContent = component.element.textContent;
|
|
8
|
+
if (component.accessibleLabel) {
|
|
9
|
+
return component.accessibleLabel;
|
|
10
|
+
}
|
|
11
|
+
if ((!!component.download || component.download === "") && textContent) {
|
|
12
|
+
return `${textContent}. ${component.accessibleLabelDownload}.`;
|
|
13
|
+
}
|
|
14
|
+
if (component.external && textContent) {
|
|
15
|
+
return `${textContent}. ${component.accessibleLabelExternal}.`;
|
|
16
|
+
}
|
|
17
|
+
if (getElementsFromDefaultSlot(component.element).length) {
|
|
18
|
+
return textContent;
|
|
19
|
+
}
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { getAccessibleLinkLabel as g };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-d77db171.js';
|
|
5
5
|
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
|
-
import { g as getColorByName } from './p-
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { g as getColorByName } from './p-1f4fbc7a.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-4da43fbc.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-41dca9e4.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-02f97b91.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;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-d77db171.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-ca700701.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-35375593.js';
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-b0925e24.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-4da43fbc.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-41dca9e4.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-02f97b91.js';
|
|
13
13
|
|
|
14
14
|
const duetShowMoreCss = "*,*::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}.duet-show-more{margin-bottom:16px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
15
15
|
const DuetShowMoreStyle0 = duetShowMoreCss;
|
|
@@ -102,12 +102,12 @@ const DuetShowMore = /*@__PURE__*/ proxyCustomElement(class DuetShowMore extends
|
|
|
102
102
|
* Always the last one of the class.
|
|
103
103
|
*/
|
|
104
104
|
render() {
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '7aabc68122e39e13570c288807ddf7217bf2c794' }, h("div", { key: 'd6624d52f08b44fd3a8bc120e4b91f27c7780930', class: {
|
|
106
106
|
"duet-show-more": true,
|
|
107
107
|
"duet-theme-turva": this.theme === "turva",
|
|
108
108
|
"duet-m-0": this.margin === "none",
|
|
109
109
|
open: this.open,
|
|
110
|
-
} }, h("div", { key: '
|
|
110
|
+
} }, h("div", { key: 'ae9e3f907c01acca68e65d494d95d5cb94fc98dc', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, h("div", { key: 'b48162785643ad6cf19317034330292fb9b68d35', class: { "slotted-content": true } }, h("slot", { key: 'fbf4b3787e4da0aece2faa1572b17d2f90e5a305' }))), h("duet-button", { key: '607c79dca958f12c36b480232904934bfd75c2b7', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: 'fc42b31d2ecdc7f250776565b6dc19fba34d3919' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
111
111
|
}
|
|
112
112
|
get element() { return this; }
|
|
113
113
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d77db171.js';
|
|
5
5
|
import { a as media_query_large, m as media_query_medium, b as media_query_small } from './p-f6000a03.js';
|
|
6
6
|
import { w as watchForOptions, a as watchForElement } from './p-7d8a2628.js';
|
|
7
7
|
|
|
@@ -126,7 +126,7 @@ const DuetGrid = /*@__PURE__*/ proxyCustomElement(class DuetGrid extends H {
|
|
|
126
126
|
* Always the last one in the class.
|
|
127
127
|
*/
|
|
128
128
|
render() {
|
|
129
|
-
return (h(Host, { key: '
|
|
129
|
+
return (h(Host, { key: 'cb5bd9c4309fb0032446255aaed26f0442596f07', class: {
|
|
130
130
|
"duet-grid": true,
|
|
131
131
|
"duet-no-stacking": !this.responsive,
|
|
132
132
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -153,7 +153,7 @@ const DuetGrid = /*@__PURE__*/ proxyCustomElement(class DuetGrid extends H {
|
|
|
153
153
|
"duet-grid-row-reverse": this.rowReverse,
|
|
154
154
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
155
155
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
156
|
-
} }, h("slot", { key: '
|
|
156
|
+
} }, h("slot", { key: '809a8de54de8b002bda6ce79cee4a081fb61db62' })));
|
|
157
157
|
}
|
|
158
158
|
get element() { return this; }
|
|
159
159
|
static get watchers() { return {
|