@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,21 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { f as formSearch } from './form-search-ea8e19ae.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
7
|
+
import { D as DuetInternalLabel } from './label-ce262202.js';
|
|
7
8
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
8
9
|
import { c as cleanValue, r as resetCursor } from './input-utils-85681162.js';
|
|
9
10
|
import { f as isEscapeKey, j as isEnterKey, e as isBackspaceKey, d as isArrowLeftKey, a as isArrowRightKey } from './keyboard-utils-439bcc8b.js';
|
|
10
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './language-utils-
|
|
11
|
-
import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-
|
|
12
|
-
import { g as getColorByName } from './token-utils-
|
|
11
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './language-utils-14969cef.js';
|
|
12
|
+
import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-4e5ed4eb.js';
|
|
13
|
+
import { g as getColorByName } from './token-utils-b9ba8c5e.js';
|
|
13
14
|
import './string-utils-192eb3c8.js';
|
|
14
|
-
import './tokens.module-
|
|
15
|
+
import './tokens.module-2d02f5ff.js';
|
|
15
16
|
|
|
16
17
|
var formEmail={"title":"form-email","tags":"form email","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z\"/></svg>"};
|
|
17
18
|
|
|
18
|
-
const duetInputCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button{position:relative;width:100%}.duet-input-variation-button .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
19
|
+
const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input,.has-error .duet-input[disabled]{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon,.has-error .duet-input[disabled]+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button{position:relative;width:100%}.duet-input-variation-button .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
19
20
|
const DuetInputStyle0 = duetInputCss;
|
|
20
21
|
|
|
21
22
|
const icons = {
|
|
@@ -443,7 +444,7 @@ const DuetInput = class {
|
|
|
443
444
|
this.type !== "password" &&
|
|
444
445
|
this.type !== "time" &&
|
|
445
446
|
this.variation !== "button";
|
|
446
|
-
return (h(Host, { key: '
|
|
447
|
+
return (h(Host, { key: '27157f0e0ef781231dc53f62242c93dd77416fe3', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: '0950770844044af41ffeb7f505312cf68dbc2fa6', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: '0487bdedb2b60c45282063b1d0c4effeb6b79829', class: {
|
|
447
448
|
"duet-input-container": true,
|
|
448
449
|
"duet-theme-turva": this.theme === "turva",
|
|
449
450
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -457,7 +458,7 @@ const DuetInput = class {
|
|
|
457
458
|
"has-clear": this.clear,
|
|
458
459
|
"has-focus": this.isFocused,
|
|
459
460
|
disabled: this.disabled,
|
|
460
|
-
} }, h("div", { key: '
|
|
461
|
+
} }, h("div", { key: '40e554a5592ea303807714f476945a51d4cd0302', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: '82145a5b72cfa13cce38d0e8af3e8d0f8aa7fab7', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '74e0e7af69d8365d2066b542eba340291b76a9ec', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '5ccfc047cab7357c2e6e55808ccf9f111be22276', name: "tooltip" })), this.caption && (h("duet-caption", { key: '160a25f13bd945f574883cc89b5b829082a18008', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'cab2e63b8540c1fdf2e91547b340e2bc6e9c4031', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: 'f57924871c11446e290fbaace72833a2de1dbe44', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '5f06062a838de900d4375ff88cb41d81e9b10cb1', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), h("input", Object.assign({ key: 'b609360af202b5553aad22388d27d3373044a9d6', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
461
462
|
"duet-input": true,
|
|
462
463
|
disabled: this.disabled,
|
|
463
464
|
"is-number": this.component === "number",
|
|
@@ -465,16 +466,16 @@ const DuetInput = class {
|
|
|
465
466
|
"after-chip": this.getAllChips().length > 0,
|
|
466
467
|
"align-right": this.inputAlign === "right",
|
|
467
468
|
[`input-padding-${this.inputPadding}`]: true,
|
|
468
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '
|
|
469
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '5a464779c56b22fa5e47864b08645a6000b9e367', class: "duet-input-icon" }, h("duet-icon", { key: '07c479f447dbc3e7c0c49fdf2aa96635afb428e3', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: '7fa36d6ad59a8b190d640412faf6d57f50b60c7f', class: {
|
|
469
470
|
"duet-input-clear-icon": true,
|
|
470
471
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
471
472
|
"duet-input-clear-icon-double": !!this.icon,
|
|
472
473
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
473
|
-
} }, h("button", { key: '
|
|
474
|
+
} }, h("button", { key: 'dfd9300e5066f5954a1d9c2064442d6bda1c55c4', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: '555bcd3e91c25634dcff7e6fe5943f03911aa9ad', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '2b55687e10eccff71ee6a9352374bbe6580a31fb', class: "duet-input-icon" }, h("duet-icon", { key: 'e2c67768dfdaac05944a056a7ada779c597dd296', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: '2f973344b0c97c66d9b4ec434c40cbe2b63f7fde', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: 'a357be477c11b6b966bb15109feaaa7bd9a6381b', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
474
475
|
? this.hidePasswordLabel[this.language]
|
|
475
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '
|
|
476
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '23d4b1ae14b4a0c21c4fbde49023db0d6413ee73' }, h("span", { key: '9891ed43653dfa4c27457299fb1f3bbc3c248943', "aria-live": "polite" }, this.isPasswordRevealed
|
|
476
477
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
477
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '
|
|
478
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '55200ed3023d68f4f7fbd8acaa523e5b616221f9' })), h("span", { key: '5172ad8b5d0544b20e7fd5d2a9ba37c4a8eb6aa5', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '97f1f28f046074d7a450b1b56b1af793d41a734d', class: "duet-input-error" }, this.error)))));
|
|
478
479
|
}
|
|
479
480
|
get element() { return getElement(this); }
|
|
480
481
|
static get watchers() { return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { i as isInternetExplorer } from './is-internet-explorer-2c48f686.js';
|
|
6
|
-
import { c as checkNamedSlotElement } from './slot-utils-
|
|
6
|
+
import { c as checkNamedSlotElement } from './slot-utils-4e5ed4eb.js';
|
|
7
7
|
|
|
8
8
|
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
9
9
|
const DuetLayoutStyle0 = duetLayoutCss;
|
|
@@ -42,24 +42,24 @@ const DuetLayout = class {
|
|
|
42
42
|
* Always the last one in the class.
|
|
43
43
|
*/
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'c4699088f31020eb2b8ed7d4ecef65514bc3d28d', class: {
|
|
46
46
|
center: this.center,
|
|
47
47
|
"duet-middle": this.middle,
|
|
48
48
|
"duet-ie": isInternetExplorer(),
|
|
49
|
-
} }, h("div", { key: '
|
|
49
|
+
} }, h("div", { key: '075e7f223d3dda19f6f5ac9f29494eda8ffc7ff9', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: 'f3127c1c4f7fefdce569c2c30c77d990a1b9e11d', class: {
|
|
50
50
|
"duet-layout-top": true,
|
|
51
51
|
"duet-center": this.center,
|
|
52
|
-
} }, h("div", { key: '
|
|
52
|
+
} }, h("div", { key: '4954d9c1c200c323bf2b4906e862ede88190c025', class: "duet-layout-top-wrapper" }, h("slot", { key: 'e176f01c9d6662ee1bcfb0b9c6a0bc73b258abd6', name: "top" })))), h("div", { key: '85c1e1219c0745d92be32716169f2097a1051ac8', class: {
|
|
53
53
|
"duet-layout": true,
|
|
54
54
|
"has-sidebar": this.hasSidebar,
|
|
55
55
|
"duet-center": this.center,
|
|
56
56
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
57
|
-
} }, h("main", { key: '
|
|
57
|
+
} }, h("main", { key: '7c70810abab73c6419db8ee5c1271ba34e877892', class: "duet-main" }, this.hasPageHeading && h("slot", { key: 'd60f45fe444f1de3089fb2207d169cc0bbfb1d5c', name: "page-heading" }), h("slot", { key: 'cf79d7bd693259864500a1b9285b3bbc84c42326', name: "main" })), this.hasSidebar && (h("aside", { key: '8c2c2c6e31a690aa01f72a03f2f62c0929902e09', class: "duet-sidebar" }, h("div", { key: '3b846f204a5b322134649c2b822d3c7bdb03447b', class: {
|
|
58
58
|
"duet-sidebar-container": true,
|
|
59
59
|
"has-tabs": this.tabs,
|
|
60
60
|
sticky: this.sticky,
|
|
61
61
|
[this.stickyDistance]: this.sticky,
|
|
62
|
-
} }, h("slot", { key: '
|
|
62
|
+
} }, h("slot", { key: 'ea597d8559fa042256c715339923f3fc885d8e50', name: "sidebar" }))))))));
|
|
63
63
|
}
|
|
64
64
|
get element() { return getElement(this); }
|
|
65
65
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, g as getElement, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, g as getElement, H as Host } from './index-1d0b7c66.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { w as watchForOptions } from './watch-options-e96ecd92.js';
|
|
7
7
|
|
|
@@ -77,7 +77,7 @@ const DuetList = class {
|
|
|
77
77
|
* Always the last one in the class.
|
|
78
78
|
*/
|
|
79
79
|
render() {
|
|
80
|
-
return (h("dl", { key: '
|
|
80
|
+
return (h("dl", { key: '0f63ce12f7d83722524fecc8e803c455f636d277', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", { key: 'd8dc331b6707093063ae55cb8024fa723b7adbca' })));
|
|
81
81
|
}
|
|
82
82
|
get element() { return getElement(this); }
|
|
83
83
|
static get watchers() { return {
|
|
@@ -106,14 +106,14 @@ const DuetListItem = class {
|
|
|
106
106
|
* Always the last one in the class.
|
|
107
107
|
*/
|
|
108
108
|
render() {
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: '95db1eb8cfa0c88dad6a34ca300fd710a8f2d773', class: {
|
|
110
110
|
"duet-no-stacking": !this.responsive,
|
|
111
111
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
112
112
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
113
113
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
114
114
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
115
115
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
116
|
-
} }, h("dt", { key: '
|
|
116
|
+
} }, h("dt", { key: '27457dbebf1c7f29cd87199d1044d1830e00e1f9' }, h("slot", { key: '6760928d435314ff885b768ab2f74917a7891a46', name: "label" })), h("dd", { key: '97ae930888f789b056413956ee6bc8240252d9c6' }, h("slot", { key: '9a1daf78702df7b6b000e8d10aa8a848058f38ca', name: "value" }))));
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
DuetListItem.style = DuetListItemStyle0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
|
|
7
7
|
const duetMenuBarButtonCss = "*,*::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;height:100%}.duet-menu-bar-button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;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:inherit;color:inherit;text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-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-menu-bar-button:focus,.duet-menu-bar-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-button .menu-bar-button-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-button .menu-bar-button-icon{width:16px;height:16px}}.duet-menu-bar-button.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\"}@media (min-width: 62em){.duet-menu-bar-button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-button{padding:0 28px}}@media (min-width: 62em){.duet-menu-bar-button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-button:hover.duet-theme-turva{color:rgb(198, 12, 48)}}";
|
|
@@ -43,10 +43,10 @@ const DuetMenuBarButton = class {
|
|
|
43
43
|
* Always the last one in the class.
|
|
44
44
|
*/
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '640df6e6807e77ded11a2793dac96c1783152ca6', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '1fb58e8bf4bc3c2b2d562f26527aa2e2ba048dcf', ref: button => (this.nativeButton = button), class: {
|
|
47
47
|
"duet-menu-bar-button": true,
|
|
48
48
|
"duet-theme-turva": this.theme === "turva",
|
|
49
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '
|
|
49
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '81483d7b24188277fff27a75241baa455429c396', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'fb62d6b302940eead24c6abcce7bd63018285701' }))));
|
|
50
50
|
}
|
|
51
51
|
get element() { return getElement(this); }
|
|
52
52
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
7
7
|
|
|
@@ -45,11 +45,11 @@ const DuetMenuBarDropdownLink = class {
|
|
|
45
45
|
* Always the last one in the class.
|
|
46
46
|
*/
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'c965e7903be45582dba26411b6dafa610efee277' }, h("a", { key: '548353a242840f57bf155fa2acef059db4b99037', class: {
|
|
49
49
|
"duet-menu-bar-dropdown-link": true,
|
|
50
50
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
51
51
|
"duet-theme-turva": this.theme === "turva",
|
|
52
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
52
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'f67150954824158f3ddd8512ccbc759cac7eef98', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'd8f7e857839f68b0ed63d68d43093b42e8232a15' }))));
|
|
53
53
|
}
|
|
54
54
|
get element() { return getElement(this); }
|
|
55
55
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
7
7
|
|
|
@@ -59,17 +59,17 @@ const DuetMenuBarDropdown = class {
|
|
|
59
59
|
* Always the last one in the class.
|
|
60
60
|
*/
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '8b40cdb860995adb53e2af728a887e9b4708691a', role: "listitem" }, h("div", { key: '2f82e317fa1e0047cf4c39cc95f108bfc44a8f39', class: {
|
|
63
63
|
"duet-menu-bar-dropdown": true,
|
|
64
64
|
"duet-theme-turva": this.theme === "turva",
|
|
65
65
|
active: this.open,
|
|
66
66
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
67
|
-
} }, h("button", { key: '
|
|
67
|
+
} }, h("button", { key: '1224e23b4a0ff1f364096bea12eb4f865444d1d8', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
68
68
|
active: this.open,
|
|
69
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
69
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '2a4af8378e45ded016940bfc47fa885ce2df9ce7', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '1f04992d67aaae7bff60adbffc1b44ce51888e89', class: "label" }, h("slot", { key: '80a68b5b749449101c198271ea76e59ba299d36a', name: "label" }), h("duet-icon", { key: 'c52a29144937f583f2acdd6fa295c22f66e9bda7', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'e3585849f0b032094ebe1121f8923a4c6fab798b', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
70
70
|
items: true,
|
|
71
71
|
hidden: !this.open,
|
|
72
|
-
} }, h("slot", { key: '
|
|
72
|
+
} }, h("slot", { key: 'c73b647bb5890887f3de54d54a2858190c57e630' })))));
|
|
73
73
|
}
|
|
74
74
|
get element() { return getElement(this); }
|
|
75
75
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './common-strings-af765cad.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
8
|
-
import { g as getAccessibleLinkLabel } from './a11y-utils-
|
|
9
|
-
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
8
|
+
import { g as getAccessibleLinkLabel } from './a11y-utils-8fc393f6.js';
|
|
9
|
+
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-14969cef.js';
|
|
10
|
+
import './slot-utils-4e5ed4eb.js';
|
|
10
11
|
import './string-utils-192eb3c8.js';
|
|
11
12
|
|
|
12
13
|
const duetMenuBarItemCss = "*,*::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;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;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:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}";
|
|
@@ -54,11 +55,11 @@ const DuetMenuBarItem = class {
|
|
|
54
55
|
*/
|
|
55
56
|
render() {
|
|
56
57
|
const TagName = this.url ? "a" : "button";
|
|
57
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '76d2f9d042bc0e53b7cc18ec3392809ec28741ec', role: "listitem" }, h(TagName, { key: '610690beca56e7dad3a586a5e3dcfcd8371c8b97', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
58
59
|
"duet-menu-bar-item": true,
|
|
59
60
|
"duet-theme-turva": this.theme === "turva",
|
|
60
61
|
active: this.active,
|
|
61
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '
|
|
62
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '0c6ff2c355336b6ec6047c0974ed85b608021ead', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '0172426db559c60d93da9fcc61dc9ac9f2d84c50' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '91dff051070148a6f4f70aca4dcffe59b0f8f19f', class: {
|
|
62
63
|
"trailing-icon": !!this.trailingIcon,
|
|
63
64
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
64
65
|
"external-icon": !!this.external,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
|
|
7
7
|
const duetMenuBarLinkCss = "*,*::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;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link .menu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-link .menu-bar-link-icon{width:16px;height:16px}}.duet-menu-bar-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}";
|
|
@@ -27,11 +27,11 @@ const DuetMenuBarLink = class {
|
|
|
27
27
|
* Always the last one in the class.
|
|
28
28
|
*/
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'e2fe10eefaa50b8a12212c834d5f518c9ad14917', role: "listitem" }, h("a", { key: '929e202f5253e131b76f99ebeb2ceb65c597cef1', class: {
|
|
31
31
|
"duet-menu-bar-link": true,
|
|
32
32
|
"duet-theme-turva": this.theme === "turva",
|
|
33
33
|
active: this.active,
|
|
34
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
34
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '4670f1ffd76084d038e8b17dfac26a13fb793667', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '18c4355e146e6e752116f7df05bf265967a0606f' }))));
|
|
35
35
|
}
|
|
36
36
|
get element() { return getElement(this); }
|
|
37
37
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { a as media_query_large, c as media_query_xx_large } from './tokens-84fb2357.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
7
|
-
import { a as getLanguage } from './language-utils-
|
|
7
|
+
import { a as getLanguage } from './language-utils-14969cef.js';
|
|
8
8
|
import './string-utils-192eb3c8.js';
|
|
9
9
|
|
|
10
10
|
const duetMenuBarCss = "*,*::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:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{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)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{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)}";
|
|
@@ -153,14 +153,14 @@ const DuetMenuBar = class {
|
|
|
153
153
|
render() {
|
|
154
154
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
155
155
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
156
|
-
return (h(Host, { key: '
|
|
156
|
+
return (h(Host, { key: '879fc36781875cd6dea48e11839a85a185085dc0' }, h("nav", { key: '2ea40e5fc7e651f516d4f9edae5ac2f71fd4fee9', class: {
|
|
157
157
|
"duet-menu-bar": true,
|
|
158
158
|
"duet-theme-turva": this.theme === "turva",
|
|
159
159
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
160
160
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
161
161
|
hidden: this.hidden && this.hideOnScroll,
|
|
162
162
|
bottom: this.onBottom,
|
|
163
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
163
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: 'ff8cc7d764c170ddd58d7ed93375961a95db7e20', class: "top" }), h("div", { key: 'f1a58089bfde393327f4602887e2c3bb850f2344', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: 'f3ef014e2ea267d5b52553854490be997f13cf25' }, h("duet-logo", { key: '063b69ae891ce4cb9bc6960aa0f0a9dbeca46cb8', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), h("div", { key: '241a7083365bb7b039787e4f8debcd9185092057', class: "list center", role: "list" }, h("div", { key: 'e91f65554fe261b6eac8f2e27b1a38a41f26ad11', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '54aca3809af67d932ccde820be7575dceb6c422c', name: "center" }), h("div", { key: '89998cee04eba79bb73de1a494b5a6b87790276b', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: 'e949ddcfac19ccaf615fdcbc2ce2faacbf7b9a91', class: "list right", role: "list" }, h("slot", { key: 'c29da062d16c0070f56c034008c6cc911f6570b2', name: "right" }))), h("div", { key: '02cca0e6a68888052ccc9721adc8d8692b6f2841', class: "bottom" }))));
|
|
164
164
|
}
|
|
165
165
|
get element() { return getElement(this); }
|
|
166
166
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-1d0b7c66.js';
|
|
5
5
|
import { d as disableBodyScroll, e as enableBodyScroll } from './bodyScrollLock.es6-ecbf187e.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
7
7
|
import { a as DuetStringsPleaseWaitDefaults } from './common-strings-af765cad.js';
|
|
8
|
-
import { f as focusElement } from './focus-utils-
|
|
8
|
+
import { f as focusElement } from './focus-utils-adcd9463.js';
|
|
9
9
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
10
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
11
|
-
import { h as hasSlot } from './slot-utils-
|
|
10
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-14969cef.js';
|
|
11
|
+
import { h as hasSlot } from './slot-utils-4e5ed4eb.js';
|
|
12
12
|
import { T as Teleport } from './teleport-546f382d.js';
|
|
13
13
|
import './string-utils-192eb3c8.js';
|
|
14
14
|
|
|
@@ -249,18 +249,18 @@ const DuetModal = class {
|
|
|
249
249
|
var _a, _b;
|
|
250
250
|
let iconColor = "primary";
|
|
251
251
|
let closeColor = "secondary";
|
|
252
|
-
const closingButton = (h("div", { key: '
|
|
252
|
+
const closingButton = (h("div", { key: 'e3680a1a39e49c693a42fc7fb9759bc668d40db6', class: "duet-modal-close" }, h("duet-button", { key: 'f83e0f5cb99b5a95989e6c142c12dd4abdccd4c5', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
253
253
|
if (this.theme === "turva") {
|
|
254
254
|
iconColor = "primary-turva";
|
|
255
255
|
closeColor = "secondary-turva";
|
|
256
256
|
}
|
|
257
|
-
return (h("div", { key: '
|
|
257
|
+
return (h("div", { key: '958d3dcd432c8954835f6cb522b2fe09bccafaa4', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
258
258
|
"duet-modal-container": true,
|
|
259
259
|
"duet-theme-turva": this.theme === "turva",
|
|
260
260
|
"duet-modal-active": this.open,
|
|
261
261
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
262
262
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
263
|
-
} }, h("duet-overlay", { key: '
|
|
263
|
+
} }, h("duet-overlay", { key: 'fbc2fc13d50311db1c8a0a4f2cc2803129eafe58', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: '8a07986bcfc3448a09fef42541dbe3cfada8bdcb', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
264
264
|
"duet-modal-inner": true,
|
|
265
265
|
[this.size]: true,
|
|
266
266
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -271,18 +271,18 @@ const DuetModal = class {
|
|
|
271
271
|
this.closeModal(e);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
} }, h("div", { key: '
|
|
274
|
+
} }, h("div", { key: 'a0b9f37bf6628afa8f99e12a917d57eaeec54583', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
275
275
|
"duet-modal": true,
|
|
276
276
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
277
277
|
[this.size]: true,
|
|
278
278
|
[this.variation]: true,
|
|
279
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '
|
|
279
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '9168f67fd2f8ede394df502d619287153224558e' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '9f08ea38b797e2f08e90b844af00bc7520f74524', class: {
|
|
280
280
|
"duet-modal-body": true,
|
|
281
281
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
282
282
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
283
283
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
284
284
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
285
|
-
} }, h("div", { key: '
|
|
285
|
+
} }, h("div", { key: '46de5037af55d3b54aea4f8a133aa3ed573c0599', class: "duet-modal-header" }, h("span", { key: 'ce17770a8dd4f97629729ab7823f9f7da02e5234', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'b347be9693d36ac02bd0bbfb004c84fbe2a27b2f', name: "top" })), this.icon && h("duet-icon", { key: '4e60fc0b0a51d95dcc67841be4e780c5e71538e0', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: '3749e6adf5b669773e1ecf50e989b8dceac017bd', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: 'ec5d5a5d428cc6cd4cb86c1c7ba9e34f0725a4c0', class: "duet-modal-spinner" }, h("duet-spinner", { key: 'c4459171ed652867da2bcc125dcab78ba11aca07', size: "large", color: "primary" }))), h("div", { key: '4aa8b636aca91d1178fc3749a905d467c102461e', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", { key: '47bb63f76e7bb4ae0a4c765bc4fbd4f26a8b47f9' })))))));
|
|
286
286
|
}
|
|
287
287
|
get element() { return getElement(this); }
|
|
288
288
|
static get watchers() { return {
|