@duetds/components 9.15.0 → 9.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +289 -204
- package/lib/cjs/{a11y-utils-741fad59.js → a11y-utils-5a9c531a.js} +1 -1
- package/lib/cjs/{app-globals-c5cb9046.js → app-globals-1cf9bebc.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +5 -5
- package/lib/cjs/duet-banner.cjs.entry.js +19 -8
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +9 -9
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +5 -5
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +12 -12
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +24 -7
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +20 -16
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- 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 +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-699bddbb.js → errorcodes.utils-cd519cbd.js} +1 -1
- package/lib/cjs/{focus-utils-4a07d896.js → focus-utils-241733db.js} +1 -1
- package/lib/cjs/{index-80fa07e3.js → index-f3dac623.js} +5 -1
- package/lib/cjs/{language-utils-ce60d2a9.js → language-utils-cf6db76f.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-9c5efe2a.js → slot-utils-872ee5f7.js} +1 -1
- package/lib/cjs/{themeable-component-1307284b.js → themeable-component-002fbe60.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +27 -0
- package/lib/collection/components/duet-banner/duet-banner.js +15 -4
- 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-card/duet-card.css +12 -3
- package/lib/collection/components/duet-chip/duet-chip.css +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +4 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid/duet-grid.js +5 -4
- package/lib/collection/components/duet-hero/duet-hero.css +216 -29
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +101 -0
- package/lib/collection/components/duet-input/duet-input.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- 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 +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +4 -15
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.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 +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +58 -3
- 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-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +1 -1
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
- 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-status-icon/duet-status-icon.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 +54 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -6
- package/lib/collection/components/duet-table/duet-table.js +2 -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.css +9 -14
- 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 +3 -3
- 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/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 +19 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +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 +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -7
- 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 +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-indicator.d.ts +11 -0
- package/lib/dist-custom-elements/duet-indicator.js +9 -0
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +6 -6
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +5 -5
- package/lib/dist-custom-elements/duet-modal.js +15 -15
- package/lib/dist-custom-elements/duet-multiselect.js +14 -14
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +22 -10
- package/lib/dist-custom-elements/duet-notification.js +12 -6
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- 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 +24 -24
- package/lib/dist-custom-elements/duet-panel.js +3 -3
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +38 -19
- 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 +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- 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-share-chart-item.js +2 -2
- package/lib/dist-custom-elements/duet-share-chart.js +4 -4
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +24 -17
- package/lib/dist-custom-elements/duet-slideout.js +8 -8
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- 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 +3 -3
- 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 +22 -17
- package/lib/dist-custom-elements/duet-tab.js +8 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- 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 +19 -7
- 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 +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +22 -22
- 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-9efbcc67.js → p-03c9ec22.js} +1 -1
- package/lib/dist-custom-elements/{p-e54a1871.js → p-1172497f.js} +4 -4
- package/lib/dist-custom-elements/{p-2e95d393.js → p-139e1daa.js} +3 -3
- package/lib/dist-custom-elements/{p-49fcb05d.js → p-1c66f5a0.js} +2 -2
- package/lib/dist-custom-elements/{p-f214be38.js → p-21d23d6c.js} +3 -3
- package/lib/dist-custom-elements/{p-5d684af3.js → p-21f19284.js} +7 -7
- package/lib/dist-custom-elements/{p-31316d91.js → p-24404a59.js} +2 -2
- package/lib/dist-custom-elements/{p-ff94cac9.js → p-271a8315.js} +1 -1
- package/lib/dist-custom-elements/{p-66c6751e.js → p-292fa964.js} +4 -4
- package/lib/dist-custom-elements/{p-35af6d7a.js → p-3663183a.js} +3 -3
- package/lib/dist-custom-elements/{p-4b8be370.js → p-38dd3c2b.js} +12 -12
- package/lib/dist-custom-elements/{p-62a4796f.js → p-3972dc75.js} +5 -5
- package/lib/dist-custom-elements/{p-2fa067ff.js → p-41ce0759.js} +1 -1
- package/lib/dist-custom-elements/{p-1901a05e.js → p-42a5e1de.js} +6 -5
- package/lib/dist-custom-elements/{p-8d68da95.js → p-4f923779.js} +3 -3
- package/lib/dist-custom-elements/{p-307aa29d.js → p-52a4d93a.js} +2 -2
- package/lib/dist-custom-elements/{p-1f2176b1.js → p-60ffc3cf.js} +1 -1
- package/lib/dist-custom-elements/{p-15d1bb49.js → p-6402ad5d.js} +4 -4
- package/lib/dist-custom-elements/{p-9a9b2708.js → p-6bcaf414.js} +1 -1
- package/lib/dist-custom-elements/{p-1b1d5047.js → p-6c16fc37.js} +4 -4
- package/lib/dist-custom-elements/{p-8debf5b8.js → p-7a60242d.js} +2 -2
- package/lib/dist-custom-elements/{p-3b352cea.js → p-7d6b4a88.js} +2 -2
- package/lib/dist-custom-elements/{p-0a932f51.js → p-7e7dcf59.js} +1 -1
- package/lib/dist-custom-elements/{p-e371f35d.js → p-81d2c117.js} +3 -3
- package/lib/dist-custom-elements/p-8653283d.js +72 -0
- package/lib/dist-custom-elements/{p-9654a846.js → p-867790e2.js} +7 -7
- package/lib/dist-custom-elements/{p-4c68ba95.js → p-886f39eb.js} +12 -12
- package/lib/dist-custom-elements/{p-dd16af35.js → p-8959f96f.js} +4 -4
- package/lib/dist-custom-elements/{p-8a6a51b2.js → p-9aa4a7b3.js} +2 -2
- package/lib/dist-custom-elements/{p-f5b135c5.js → p-a019caf4.js} +9 -9
- package/lib/dist-custom-elements/{p-a1876945.js → p-a1827b91.js} +4 -4
- package/lib/dist-custom-elements/{p-1b591fcd.js → p-ab6148ae.js} +3 -3
- package/lib/dist-custom-elements/{p-92467a66.js → p-b74c6798.js} +10 -10
- package/lib/dist-custom-elements/{p-5ee14292.js → p-bb3c4ead.js} +1 -1
- package/lib/dist-custom-elements/{p-9dc1ec50.js → p-bb928027.js} +5 -5
- package/lib/dist-custom-elements/{p-a20321ec.js → p-c0f48cc4.js} +3 -3
- package/lib/dist-custom-elements/{p-6b02ba40.js → p-d1f886eb.js} +5 -5
- package/lib/dist-custom-elements/{p-d17f51c7.js → p-d40a8125.js} +3 -3
- package/lib/dist-custom-elements/{p-ea21cb5d.js → p-dc0c957e.js} +5 -5
- package/lib/dist-custom-elements/{p-d3345442.js → p-f5c2e1f7.js} +2 -2
- package/lib/dist-custom-elements/{p-6098c129.js → p-f75df296.js} +10 -10
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-00c65f9d.entry.js +4 -0
- package/lib/duet/{p-e3a21063.system.entry.js → p-05e0ef86.system.entry.js} +1 -1
- package/lib/duet/{p-5e658b40.js → p-07eaae93.js} +1 -1
- package/lib/duet/p-09f85d39.entry.js +4 -0
- package/lib/duet/{p-484c1cc2.system.entry.js → p-0ab42908.system.entry.js} +1 -1
- package/lib/duet/{p-5b0337d8.entry.js → p-0b1f9ab1.entry.js} +1 -1
- package/lib/duet/{p-8173aad1.entry.js → p-0db191ad.entry.js} +1 -1
- package/lib/duet/{p-d71b8774.system.entry.js → p-0e1edb8d.system.entry.js} +1 -1
- package/lib/duet/{p-d28853ae.system.entry.js → p-0e414d45.system.entry.js} +1 -1
- package/lib/duet/{p-f756e03d.system.entry.js → p-0e638ebd.system.entry.js} +2 -2
- package/lib/duet/{p-6703c635.entry.js → p-0ee0acc5.entry.js} +1 -1
- package/lib/duet/p-0faea567.js +4 -0
- package/lib/duet/p-103e565a.system.entry.js +4 -0
- package/lib/duet/{p-ff139142.entry.js → p-1099e3c1.entry.js} +1 -1
- package/lib/duet/{p-f69dc290.entry.js → p-11158849.entry.js} +1 -1
- package/lib/duet/{p-969327bd.entry.js → p-12398ce3.entry.js} +1 -1
- package/lib/duet/{p-510aee05.entry.js → p-143df6ab.entry.js} +1 -1
- package/lib/duet/{p-2bc08ca1.system.entry.js → p-144aab10.system.entry.js} +1 -1
- package/lib/duet/{p-78df5993.entry.js → p-151e589f.entry.js} +1 -1
- package/lib/duet/{p-8fa3a4db.system.entry.js → p-15745be0.system.entry.js} +1 -1
- package/lib/duet/{p-d3f723cf.system.entry.js → p-17375bc6.system.entry.js} +1 -1
- package/lib/duet/{p-bb3cd264.system.entry.js → p-181b00e5.system.entry.js} +1 -1
- package/lib/duet/p-185be698.system.entry.js +4 -0
- package/lib/duet/{p-a4f3a6d6.entry.js → p-1c21d6bb.entry.js} +1 -1
- package/lib/duet/{p-18c66326.system.entry.js → p-1db742d9.system.entry.js} +1 -1
- package/lib/duet/{p-50cb674e.js → p-1dcaf506.js} +1 -1
- package/lib/duet/{p-552be4d4.entry.js → p-1e543545.entry.js} +1 -1
- package/lib/duet/{p-72baa999.entry.js → p-1ea05c4e.entry.js} +1 -1
- package/lib/duet/p-1ea2eed2.entry.js +4 -0
- package/lib/duet/{p-61b2c1c9.entry.js → p-1eac8308.entry.js} +1 -1
- package/lib/duet/{p-f3a26af1.system.entry.js → p-202295c7.system.entry.js} +2 -2
- package/lib/duet/p-20ad3525.entry.js +4 -0
- package/lib/duet/{p-a48a6cf9.system.entry.js → p-21352a03.system.entry.js} +1 -1
- package/lib/duet/p-249ece01.system.entry.js +4 -0
- package/lib/duet/{p-007eb67f.system.entry.js → p-28439eeb.system.entry.js} +1 -1
- package/lib/duet/{p-f1a06e83.entry.js → p-29287b24.entry.js} +1 -1
- package/lib/duet/p-296d890c.entry.js +4 -0
- package/lib/duet/{p-b70e378a.entry.js → p-297be33a.entry.js} +1 -1
- package/lib/duet/{p-f9536c83.entry.js → p-29a57223.entry.js} +1 -1
- package/lib/duet/{p-38f30c2b.system.entry.js → p-2a01ec55.system.entry.js} +1 -1
- package/lib/duet/p-2a327afb.system.js +4 -0
- package/lib/duet/{p-694e5a97.system.js → p-2ca74bdf.system.js} +1 -1
- package/lib/duet/{p-367a3dd8.system.entry.js → p-314579ab.system.entry.js} +1 -1
- package/lib/duet/p-31740db1.system.entry.js +4 -0
- package/lib/duet/{p-601e275c.entry.js → p-32d67711.entry.js} +1 -1
- package/lib/duet/{p-e34ddfda.system.entry.js → p-335f3ad7.system.entry.js} +1 -1
- package/lib/duet/{p-200f57b6.system.entry.js → p-34b4e0d4.system.entry.js} +1 -1
- package/lib/duet/{p-460c0029.system.entry.js → p-38838777.system.entry.js} +1 -1
- package/lib/duet/{p-81dbbba7.system.entry.js → p-39c9a066.system.entry.js} +1 -1
- package/lib/duet/p-3ad777ed.system.js +4 -0
- package/lib/duet/p-3b48325f.entry.js +4 -0
- package/lib/duet/{p-d9cafc77.js → p-3f59cd08.js} +1 -1
- package/lib/duet/{p-039cbd8d.entry.js → p-449238fa.entry.js} +1 -1
- package/lib/duet/p-489f6566.entry.js +4 -0
- package/lib/duet/{p-a12e5499.entry.js → p-49e49df2.entry.js} +1 -1
- package/lib/duet/p-51680ed4.system.js +4 -0
- package/lib/duet/p-53601652.entry.js +4 -0
- package/lib/duet/{p-1dd1cd21.entry.js → p-53f7c29f.entry.js} +1 -1
- package/lib/duet/{p-8c80b769.system.entry.js → p-5610daf3.system.entry.js} +1 -1
- package/lib/duet/{p-05f7f78d.system.entry.js → p-578c23a4.system.entry.js} +1 -1
- package/lib/duet/{p-9e93e46d.entry.js → p-58f230b9.entry.js} +1 -1
- package/lib/duet/p-5a5d2bd5.system.entry.js +4 -0
- package/lib/duet/{p-aa224793.system.entry.js → p-5c636299.system.entry.js} +1 -1
- package/lib/duet/{p-c57ed342.system.entry.js → p-5df26556.system.entry.js} +1 -1
- package/lib/duet/{p-b57e1a16.system.entry.js → p-5f1e33f1.system.entry.js} +1 -1
- package/lib/duet/{p-451fe5ef.system.entry.js → p-617a3a36.system.entry.js} +1 -1
- package/lib/duet/{p-47fd41c6.system.entry.js → p-66fbd83d.system.entry.js} +1 -1
- package/lib/duet/{p-57b716e6.system.entry.js → p-6796f3c3.system.entry.js} +1 -1
- package/lib/duet/{p-4a7a6dcb.system.entry.js → p-67ce5fe7.system.entry.js} +2 -2
- package/lib/duet/{p-c4a1cfd6.js → p-682a0ad1.js} +1 -1
- package/lib/duet/p-688647ad.js +4 -0
- package/lib/duet/{p-6ceeb4c1.entry.js → p-68e43f24.entry.js} +1 -1
- package/lib/duet/{p-d67c45eb.entry.js → p-69186487.entry.js} +1 -1
- package/lib/duet/{p-f0dce24e.entry.js → p-6d52ee47.entry.js} +1 -1
- package/lib/duet/{p-6fb7afac.system.entry.js → p-6e9997df.system.entry.js} +1 -1
- package/lib/duet/{p-aca600ee.system.entry.js → p-700d96c2.system.entry.js} +1 -1
- package/lib/duet/{p-3455bcd6.entry.js → p-709df441.entry.js} +1 -1
- package/lib/duet/p-73db1b4e.entry.js +4 -0
- package/lib/duet/{p-3f3571ae.system.entry.js → p-757f068a.system.entry.js} +1 -1
- package/lib/duet/p-7582d712.system.entry.js +4 -0
- package/lib/duet/{p-2dc5c7c5.entry.js → p-75e98d7d.entry.js} +1 -1
- package/lib/duet/{p-0ff4932b.system.entry.js → p-7677fb67.system.entry.js} +1 -1
- package/lib/duet/p-770aa3e8.entry.js +4 -0
- package/lib/duet/p-777d0fdd.system.entry.js +4 -0
- package/lib/duet/{p-e2949e43.system.entry.js → p-79565bed.system.entry.js} +1 -1
- package/lib/duet/{p-fa2d27c3.entry.js → p-7c726fa5.entry.js} +1 -1
- package/lib/duet/{p-75a66b82.js → p-7da818b1.js} +1 -1
- package/lib/duet/p-817e80e5.entry.js +4 -0
- package/lib/duet/p-839650fa.system.entry.js +4 -0
- package/lib/duet/{p-66dd8b2f.entry.js → p-84c3c6a9.entry.js} +1 -1
- package/lib/duet/{p-2dddb575.entry.js → p-85b614eb.entry.js} +1 -1
- package/lib/duet/{p-08f39b32.entry.js → p-85ed8d2a.entry.js} +1 -1
- package/lib/duet/{p-f052ccf2.system.entry.js → p-8808de6e.system.entry.js} +1 -1
- package/lib/duet/{p-58b34a23.system.entry.js → p-88433a46.system.entry.js} +1 -1
- package/lib/duet/{p-95137492.entry.js → p-891b2193.entry.js} +1 -1
- package/lib/duet/{p-8911207e.entry.js → p-8d82f49d.entry.js} +1 -1
- package/lib/duet/{p-5afe6d8e.system.entry.js → p-8dad8fce.system.entry.js} +1 -1
- package/lib/duet/{p-7f50e5e3.system.entry.js → p-8f0bdfa8.system.entry.js} +1 -1
- package/lib/duet/{p-aee53cdc.system.entry.js → p-90f215e3.system.entry.js} +1 -1
- package/lib/duet/{p-acac731e.system.entry.js → p-928c05ef.system.entry.js} +1 -1
- package/lib/duet/{p-f38175f1.system.entry.js → p-931c3e0e.system.entry.js} +1 -1
- package/lib/duet/{p-1dc4442a.entry.js → p-96d506b1.entry.js} +1 -1
- package/lib/duet/{p-cdfca639.system.entry.js → p-9aa64cd1.system.entry.js} +2 -2
- package/lib/duet/{p-0dcf3c74.system.entry.js → p-9bb58dc0.system.entry.js} +1 -1
- package/lib/duet/{p-0bbfb836.entry.js → p-9c0eb1e6.entry.js} +1 -1
- package/lib/duet/{p-72f4c54a.system.entry.js → p-9cbabc0b.system.entry.js} +1 -1
- package/lib/duet/p-9cf1f9b9.entry.js +4 -0
- package/lib/duet/{p-61bb70ea.system.entry.js → p-9dc73fc9.system.entry.js} +2 -2
- package/lib/duet/{p-8303c23a.entry.js → p-9ddf4f25.entry.js} +1 -1
- package/lib/duet/p-9e2eef25.entry.js +4 -0
- package/lib/duet/p-9ecf394a.system.js +4 -0
- package/lib/duet/{p-f83e4a46.system.entry.js → p-9f6eba5f.system.entry.js} +1 -1
- package/lib/duet/p-a0512a05.system.entry.js +4 -0
- package/lib/duet/{p-6cdc13f4.entry.js → p-a07cef22.entry.js} +1 -1
- package/lib/duet/{p-d1814664.entry.js → p-a1166aa4.entry.js} +1 -1
- package/lib/duet/{p-1cc2eb98.system.js → p-a142a88f.system.js} +1 -1
- package/lib/duet/{p-1b393d78.system.entry.js → p-a15d9a7f.system.entry.js} +1 -1
- package/lib/duet/p-a195d9c1.entry.js +4 -0
- package/lib/duet/p-a1b74038.entry.js +4 -0
- package/lib/duet/{p-17a1f7cd.entry.js → p-a2a4a889.entry.js} +1 -1
- package/lib/duet/{p-0beb2a3f.system.entry.js → p-a388ed17.system.entry.js} +1 -1
- package/lib/duet/{p-43d6b171.system.js → p-a3ea8aa0.system.js} +1 -1
- package/lib/duet/{p-5d987b8d.system.entry.js → p-a47b5cf0.system.entry.js} +2 -2
- package/lib/duet/{p-58f4c4ef.system.entry.js → p-a652025e.system.entry.js} +1 -1
- package/lib/duet/{p-fcb5179d.system.entry.js → p-a90271b5.system.entry.js} +1 -1
- package/lib/duet/{p-6b97b58c.entry.js → p-ab8f38c1.entry.js} +1 -1
- package/lib/duet/{p-8497c4a3.entry.js → p-abbe0bdb.entry.js} +1 -1
- package/lib/duet/{p-c9798a8d.system.js → p-adc02ebb.system.js} +1 -1
- package/lib/duet/p-adef3dfe.entry.js +4 -0
- package/lib/duet/{p-56c024f4.system.entry.js → p-b07a5883.system.entry.js} +1 -1
- package/lib/duet/{p-6eed12c2.entry.js → p-b137766b.entry.js} +1 -1
- package/lib/duet/{p-5e1045dc.entry.js → p-b31576e2.entry.js} +1 -1
- package/lib/duet/{p-6ec3fa80.entry.js → p-b3e8a986.entry.js} +1 -1
- package/lib/duet/{p-63d23d82.entry.js → p-b4f2405c.entry.js} +1 -1
- package/lib/duet/{p-69b7e6dc.entry.js → p-b50db31a.entry.js} +1 -1
- package/lib/duet/{p-0d9f34ae.entry.js → p-b5defe7d.entry.js} +1 -1
- package/lib/duet/{p-eb157d71.system.entry.js → p-b737793a.system.entry.js} +1 -1
- package/lib/duet/{p-0e442247.system.entry.js → p-b7706f3e.system.entry.js} +1 -1
- package/lib/duet/{p-ae3c38ec.system.entry.js → p-b9ea2688.system.entry.js} +1 -1
- package/lib/duet/{p-930ea887.system.entry.js → p-bb6d4e02.system.entry.js} +1 -1
- package/lib/duet/{p-fe7ba159.system.entry.js → p-bbb5ceff.system.entry.js} +1 -1
- package/lib/duet/{p-431b0896.system.entry.js → p-bcadf02c.system.entry.js} +1 -1
- package/lib/duet/{p-6106103e.system.entry.js → p-be76413c.system.entry.js} +1 -1
- package/lib/duet/{p-d5f395c0.entry.js → p-bf53d017.entry.js} +1 -1
- package/lib/duet/{p-c7302b85.system.entry.js → p-c0ad7828.system.entry.js} +1 -1
- package/lib/duet/{p-ce447833.entry.js → p-c0de9913.entry.js} +1 -1
- package/lib/duet/{p-b7f0f071.entry.js → p-c1186d0d.entry.js} +1 -1
- package/lib/duet/{p-9715fa3d.entry.js → p-c282ebfd.entry.js} +1 -1
- package/lib/duet/{p-48452fe6.entry.js → p-c327a6b9.entry.js} +1 -1
- package/lib/duet/{p-b21962b0.entry.js → p-c398295a.entry.js} +1 -1
- package/lib/duet/{p-3b816caf.system.entry.js → p-c4eff1d7.system.entry.js} +1 -1
- package/lib/duet/p-c70b69a7.system.entry.js +4 -0
- package/lib/duet/{p-d42f9e4f.system.entry.js → p-c73fad00.system.entry.js} +1 -1
- package/lib/duet/{p-15694ea7.entry.js → p-c7d0fd92.entry.js} +1 -1
- package/lib/duet/{p-ffe9f317.system.entry.js → p-c7fc62e7.system.entry.js} +1 -1
- package/lib/duet/{p-72e617b1.entry.js → p-c861f3d9.entry.js} +1 -1
- package/lib/duet/{p-9fe084e8.system.entry.js → p-ce5b779c.system.entry.js} +1 -1
- package/lib/duet/{p-71507957.entry.js → p-d02c0a0b.entry.js} +1 -1
- package/lib/duet/{p-24749596.system.entry.js → p-d329f24b.system.entry.js} +1 -1
- package/lib/duet/{p-2500e9bc.entry.js → p-d33eef1f.entry.js} +1 -1
- package/lib/duet/p-d66c0235.entry.js +4 -0
- package/lib/duet/{p-7c597c01.entry.js → p-dc68a5b4.entry.js} +1 -1
- package/lib/duet/p-de4d3f16.entry.js +4 -0
- package/lib/duet/{p-18b56724.entry.js → p-deec5fa6.entry.js} +1 -1
- package/lib/duet/{p-e007c11a.entry.js → p-e0308e1f.entry.js} +1 -1
- package/lib/duet/{p-544a2e7d.entry.js → p-e05bbc0f.entry.js} +1 -1
- package/lib/duet/p-e30f0acf.entry.js +4 -0
- package/lib/duet/{p-a3c50037.system.entry.js → p-e4e4e4d7.system.entry.js} +1 -1
- package/lib/duet/{p-1daaef7a.entry.js → p-e78a7199.entry.js} +1 -1
- package/lib/duet/{p-6314d434.entry.js → p-e7f98811.entry.js} +1 -1
- package/lib/duet/{p-5b0f2f3d.entry.js → p-e89c1ca6.entry.js} +1 -1
- package/lib/duet/{p-7f5b3bb1.entry.js → p-ec3ce240.entry.js} +1 -1
- package/lib/duet/{p-14ffb5c1.system.entry.js → p-ed9f7d82.system.entry.js} +1 -1
- package/lib/duet/{p-4ac878dd.system.entry.js → p-eecbc77f.system.entry.js} +1 -1
- package/lib/duet/{p-5bcce1c4.entry.js → p-ef3038cf.entry.js} +1 -1
- package/lib/duet/{p-de0a91b3.system.entry.js → p-efd3c1ca.system.entry.js} +1 -1
- package/lib/duet/{p-5cb10012.system.entry.js → p-f1f892da.system.entry.js} +2 -2
- package/lib/duet/{p-d08d078b.system.entry.js → p-f2c7e3ee.system.entry.js} +1 -1
- package/lib/duet/{p-d9a2772b.entry.js → p-f32df45c.entry.js} +1 -1
- package/lib/duet/{p-1a46c899.system.entry.js → p-f33021ec.system.entry.js} +1 -1
- package/lib/duet/{p-cddad487.system.js → p-f50d1845.system.js} +1 -1
- package/lib/duet/{p-a68a90f3.js → p-f587ebfc.js} +1 -1
- package/lib/duet/{p-b230c327.system.entry.js → p-f743f28c.system.entry.js} +1 -1
- package/lib/duet/{p-80121038.system.entry.js → p-f7f9a565.system.entry.js} +2 -2
- package/lib/duet/{p-1192e8c9.entry.js → p-f922b327.entry.js} +1 -1
- package/lib/duet/{p-d4859ceb.system.entry.js → p-fc154425.system.entry.js} +1 -1
- package/lib/duet/p-fc168be9.system.entry.js +4 -0
- package/lib/duet/{p-c1652045.entry.js → p-fcdf0b4f.entry.js} +1 -1
- package/lib/duet/{p-db82eb02.system.entry.js → p-ff81c192.system.entry.js} +2 -2
- package/lib/esm/{a11y-utils-fb6d24ef.js → a11y-utils-056fbc86.js} +1 -1
- package/lib/esm/{app-globals-595167e1.js → app-globals-2e3fbb8b.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +5 -5
- package/lib/esm/duet-banner.entry.js +19 -8
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +5 -5
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +9 -9
- package/lib/esm/duet-card.entry.js +4 -4
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +5 -5
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +5 -5
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +7 -6
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +5 -5
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +49 -0
- package/lib/esm/duet-input_2.entry.js +4 -4
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +6 -6
- package/lib/esm/duet-modal.entry.js +12 -12
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +24 -7
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +5 -5
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +20 -16
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +6 -6
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -5
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +14 -19
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +4 -4
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +9 -9
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- 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 +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-7effaab9.js → errorcodes.utils-1673d536.js} +1 -1
- package/lib/esm/{focus-utils-2ff60ebe.js → focus-utils-ef5827e9.js} +1 -1
- package/lib/esm/{index-4cc3ec50.js → index-917bdca5.js} +5 -1
- package/lib/esm/{language-utils-aa864aed.js → language-utils-fc71dceb.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-28b6b964.js → slot-utils-e20aeb67.js} +1 -1
- package/lib/esm/{themeable-component-35ed7853.js → themeable-component-5aa6dce7.js} +1 -1
- package/lib/esm-es5/{a11y-utils-fb6d24ef.js → a11y-utils-056fbc86.js} +1 -1
- package/lib/esm-es5/{app-globals-595167e1.js → app-globals-2e3fbb8b.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 +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +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-indicator.entry.js +4 -0
- 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 +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-panel.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- 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-7effaab9.js → errorcodes.utils-1673d536.js} +1 -1
- package/lib/esm-es5/focus-utils-ef5827e9.js +4 -0
- package/lib/esm-es5/index-917bdca5.js +4 -0
- package/lib/esm-es5/{language-utils-aa864aed.js → language-utils-fc71dceb.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-28b6b964.js → slot-utils-e20aeb67.js} +1 -1
- package/lib/esm-es5/{themeable-component-35ed7853.js → themeable-component-5aa6dce7.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
- package/lib/types/components/duet-input/duet-input.d.ts +0 -2
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components.d.ts +71 -6
- package/package.json +4 -4
- package/lib/duet/p-0018881b.entry.js +0 -4
- package/lib/duet/p-0ad0afe1.entry.js +0 -4
- package/lib/duet/p-137beb16.system.entry.js +0 -4
- package/lib/duet/p-2179e714.system.entry.js +0 -4
- package/lib/duet/p-22ab0759.system.entry.js +0 -4
- package/lib/duet/p-26b49f30.entry.js +0 -4
- package/lib/duet/p-3f8dd0b3.system.entry.js +0 -4
- package/lib/duet/p-531d399b.system.entry.js +0 -4
- package/lib/duet/p-55eab330.system.entry.js +0 -4
- package/lib/duet/p-583b4f49.js +0 -4
- package/lib/duet/p-58d2375e.system.entry.js +0 -4
- package/lib/duet/p-6015aa05.system.entry.js +0 -4
- package/lib/duet/p-60636c0f.js +0 -4
- package/lib/duet/p-612fe73a.system.entry.js +0 -4
- package/lib/duet/p-729bb657.entry.js +0 -4
- package/lib/duet/p-75eda30d.entry.js +0 -4
- package/lib/duet/p-7d4fb1da.system.js +0 -4
- package/lib/duet/p-894105da.entry.js +0 -4
- package/lib/duet/p-8a7cfab8.entry.js +0 -4
- package/lib/duet/p-8ef88917.entry.js +0 -4
- package/lib/duet/p-9bff6ed8.entry.js +0 -4
- package/lib/duet/p-9f6fe3bd.entry.js +0 -4
- package/lib/duet/p-a20eeb3a.entry.js +0 -4
- package/lib/duet/p-b197d195.system.js +0 -4
- package/lib/duet/p-b275f92a.entry.js +0 -4
- package/lib/duet/p-c16d08b2.entry.js +0 -4
- package/lib/duet/p-c6b0afdd.entry.js +0 -4
- package/lib/duet/p-d3b64256.entry.js +0 -4
- package/lib/duet/p-d4630d55.system.js +0 -4
- package/lib/duet/p-dc812f17.entry.js +0 -4
- package/lib/duet/p-e24ab988.system.entry.js +0 -4
- package/lib/duet/p-e6cd1ffb.system.js +0 -4
- package/lib/duet/p-f80ef600.entry.js +0 -4
- package/lib/duet/p-fff88e02.entry.js +0 -4
- package/lib/esm-es5/focus-utils-2ff60ebe.js +0 -4
- package/lib/esm-es5/index-4cc3ec50.js +0 -4
|
@@ -31,6 +31,7 @@ import { DuetGridAlignment, DuetGridDistribution, DuetGridMobileAlignment } from
|
|
|
31
31
|
import { DuetHeaderAnalyticsEvent, DuetHeaderChangeEvent, DuetHeaderMobileNavToggleEvent, I18nText } from "./components/duet-header/duet-header";
|
|
32
32
|
import { DuetHeadingWeight } from "./components/duet-heading/duet-heading";
|
|
33
33
|
import { DuetHeroAnalyticsEvent, DuetHeroButtonData, DuetHeroClickEvent, DuetHeroIconSize, DuetHeroVariation } from "./components/duet-hero/duet-hero";
|
|
34
|
+
import { IndicatorVariation } from "./components/duet-indicator/duet-indicator";
|
|
34
35
|
import { DuetInputComponentType, DuetInputEvent, DuetInputType, DuetVariationType } from "./components/duet-input/duet-input";
|
|
35
36
|
import { DuetLabelMargin, DuetLabelSize } from "./components/duet-label/duet-label";
|
|
36
37
|
import { DuetLayoutStickyDistance } from "./components/duet-layout/duet-layout";
|
|
@@ -60,6 +61,7 @@ import { DuetSpacerBreakpoint, DuetSpacerSize } from "./components/duet-spacer/d
|
|
|
60
61
|
import { DuetSpinnerSize } from "./components/duet-spinner/duet-spinner";
|
|
61
62
|
import { DuetStepClickEvent, DuetStepState } from "./components/duet-step/duet-step";
|
|
62
63
|
import { DuetStepChangeEvent } from "./components/duet-stepper/duet-stepper";
|
|
64
|
+
import { IndicatorVariation as IndicatorVariation1 } from "./components/duet-indicator/duet-indicator";
|
|
63
65
|
import { DuetTabGroupEvent, DuetTabVariation } from "./components/duet-tab-group/duet-tab-group";
|
|
64
66
|
import { DuetTextareaEvent } from "./components/duet-textarea/duet-textarea";
|
|
65
67
|
import { DuetToggleChangeEvent } from "./components/duet-toggle/duet-toggle";
|
|
@@ -97,6 +99,7 @@ export { DuetGridAlignment, DuetGridDistribution, DuetGridMobileAlignment } from
|
|
|
97
99
|
export { DuetHeaderAnalyticsEvent, DuetHeaderChangeEvent, DuetHeaderMobileNavToggleEvent, I18nText } from "./components/duet-header/duet-header";
|
|
98
100
|
export { DuetHeadingWeight } from "./components/duet-heading/duet-heading";
|
|
99
101
|
export { DuetHeroAnalyticsEvent, DuetHeroButtonData, DuetHeroClickEvent, DuetHeroIconSize, DuetHeroVariation } from "./components/duet-hero/duet-hero";
|
|
102
|
+
export { IndicatorVariation } from "./components/duet-indicator/duet-indicator";
|
|
100
103
|
export { DuetInputComponentType, DuetInputEvent, DuetInputType, DuetVariationType } from "./components/duet-input/duet-input";
|
|
101
104
|
export { DuetLabelMargin, DuetLabelSize } from "./components/duet-label/duet-label";
|
|
102
105
|
export { DuetLayoutStickyDistance } from "./components/duet-layout/duet-layout";
|
|
@@ -126,6 +129,7 @@ export { DuetSpacerBreakpoint, DuetSpacerSize } from "./components/duet-spacer/d
|
|
|
126
129
|
export { DuetSpinnerSize } from "./components/duet-spinner/duet-spinner";
|
|
127
130
|
export { DuetStepClickEvent, DuetStepState } from "./components/duet-step/duet-step";
|
|
128
131
|
export { DuetStepChangeEvent } from "./components/duet-stepper/duet-stepper";
|
|
132
|
+
export { IndicatorVariation as IndicatorVariation1 } from "./components/duet-indicator/duet-indicator";
|
|
129
133
|
export { DuetTabGroupEvent, DuetTabVariation } from "./components/duet-tab-group/duet-tab-group";
|
|
130
134
|
export { DuetTextareaEvent } from "./components/duet-textarea/duet-textarea";
|
|
131
135
|
export { DuetToggleChangeEvent } from "./components/duet-toggle/duet-toggle";
|
|
@@ -1914,6 +1918,16 @@ export namespace Components {
|
|
|
1914
1918
|
*/
|
|
1915
1919
|
"theme": DuetTheme;
|
|
1916
1920
|
}
|
|
1921
|
+
interface DuetIndicator {
|
|
1922
|
+
/**
|
|
1923
|
+
* Label for users of assistive technologies. This component has sensible defaults, but they can be replaced with this property.
|
|
1924
|
+
*/
|
|
1925
|
+
"accessibleLabel": string;
|
|
1926
|
+
/**
|
|
1927
|
+
* The variation of the indicator. Typically "change" and "new" are used; "error" and "success" should be used only in special cases, as errors and succeses normally require a more prominent message.
|
|
1928
|
+
*/
|
|
1929
|
+
"variation": IndicatorVariation;
|
|
1930
|
+
}
|
|
1917
1931
|
interface DuetInput {
|
|
1918
1932
|
/**
|
|
1919
1933
|
* Indicates the id of a related component’s visually focused element.
|
|
@@ -2042,11 +2056,11 @@ export namespace Components {
|
|
|
2042
2056
|
*/
|
|
2043
2057
|
"margin": DuetMargin;
|
|
2044
2058
|
/**
|
|
2045
|
-
* Use maxlength to specify the maximum length of the value that can be entered.
|
|
2059
|
+
* Use maxlength to specify the maximum length of the value that can be entered.
|
|
2046
2060
|
*/
|
|
2047
2061
|
"maxlength": number;
|
|
2048
2062
|
/**
|
|
2049
|
-
* Use minlength to specify the minimum length of the value that can be entered.
|
|
2063
|
+
* Use minlength to specify the minimum length of the value that can be entered.
|
|
2050
2064
|
*/
|
|
2051
2065
|
"minlength": number;
|
|
2052
2066
|
/**
|
|
@@ -3262,6 +3276,14 @@ export namespace Components {
|
|
|
3262
3276
|
* Controls the margin of the component.
|
|
3263
3277
|
*/
|
|
3264
3278
|
"margin": DuetMargin;
|
|
3279
|
+
/**
|
|
3280
|
+
* Use maxlength to specify the maximum length of the value that can be entered.
|
|
3281
|
+
*/
|
|
3282
|
+
"maxlength": number;
|
|
3283
|
+
/**
|
|
3284
|
+
* Use minlength to specify the minimum length of the value that can be entered.
|
|
3285
|
+
*/
|
|
3286
|
+
"minlength": number;
|
|
3265
3287
|
/**
|
|
3266
3288
|
* Name of the input.
|
|
3267
3289
|
*/
|
|
@@ -4477,12 +4499,20 @@ export namespace Components {
|
|
|
4477
4499
|
* HTML id of element that is to be used when opening this tab. This enables decoupling the content from the tab buttons.
|
|
4478
4500
|
*/
|
|
4479
4501
|
"contentId": string;
|
|
4502
|
+
/**
|
|
4503
|
+
* Indicator to show in the tab button.
|
|
4504
|
+
*/
|
|
4505
|
+
"indicator": IndicatorVariation1;
|
|
4506
|
+
/**
|
|
4507
|
+
* Provides accessible text for the Duet Indicator. If Indicator's default is sufficient this is not needed.
|
|
4508
|
+
*/
|
|
4509
|
+
"indicatorAccessibleLabel": string;
|
|
4480
4510
|
/**
|
|
4481
4511
|
* Label for the tab.
|
|
4482
4512
|
*/
|
|
4483
4513
|
"label": string;
|
|
4484
4514
|
/**
|
|
4485
|
-
* Notification mark to show in the tab button. Works better with plain variation, as the dark background of selected default button makes the mark less noticable.
|
|
4515
|
+
* @deprecated Use indicator property instead. Notification mark to show in the tab button. Works better with plain variation, as the dark background of selected default button makes the mark less noticable.
|
|
4486
4516
|
*/
|
|
4487
4517
|
"notificationMark": "warning" | "danger";
|
|
4488
4518
|
/**
|
|
@@ -6025,6 +6055,12 @@ declare global {
|
|
|
6025
6055
|
prototype: HTMLDuetIconElement;
|
|
6026
6056
|
new (): HTMLDuetIconElement;
|
|
6027
6057
|
};
|
|
6058
|
+
interface HTMLDuetIndicatorElement extends Components.DuetIndicator, HTMLStencilElement {
|
|
6059
|
+
}
|
|
6060
|
+
var HTMLDuetIndicatorElement: {
|
|
6061
|
+
prototype: HTMLDuetIndicatorElement;
|
|
6062
|
+
new (): HTMLDuetIndicatorElement;
|
|
6063
|
+
};
|
|
6028
6064
|
interface HTMLDuetInputElementEventMap {
|
|
6029
6065
|
"duetInput": DuetInputEvent;
|
|
6030
6066
|
"duetChange": DuetInputEvent;
|
|
@@ -6774,6 +6810,7 @@ declare global {
|
|
|
6774
6810
|
"duet-heading": HTMLDuetHeadingElement;
|
|
6775
6811
|
"duet-hero": HTMLDuetHeroElement;
|
|
6776
6812
|
"duet-icon": HTMLDuetIconElement;
|
|
6813
|
+
"duet-indicator": HTMLDuetIndicatorElement;
|
|
6777
6814
|
"duet-input": HTMLDuetInputElement;
|
|
6778
6815
|
"duet-label": HTMLDuetLabelElement;
|
|
6779
6816
|
"duet-layout": HTMLDuetLayoutElement;
|
|
@@ -8717,6 +8754,16 @@ declare namespace LocalJSX {
|
|
|
8717
8754
|
*/
|
|
8718
8755
|
"theme"?: DuetTheme;
|
|
8719
8756
|
}
|
|
8757
|
+
interface DuetIndicator {
|
|
8758
|
+
/**
|
|
8759
|
+
* Label for users of assistive technologies. This component has sensible defaults, but they can be replaced with this property.
|
|
8760
|
+
*/
|
|
8761
|
+
"accessibleLabel"?: string;
|
|
8762
|
+
/**
|
|
8763
|
+
* The variation of the indicator. Typically "change" and "new" are used; "error" and "success" should be used only in special cases, as errors and succeses normally require a more prominent message.
|
|
8764
|
+
*/
|
|
8765
|
+
"variation"?: IndicatorVariation;
|
|
8766
|
+
}
|
|
8720
8767
|
interface DuetInput {
|
|
8721
8768
|
/**
|
|
8722
8769
|
* Indicates the id of a related component’s visually focused element.
|
|
@@ -8835,11 +8882,11 @@ declare namespace LocalJSX {
|
|
|
8835
8882
|
*/
|
|
8836
8883
|
"margin"?: DuetMargin;
|
|
8837
8884
|
/**
|
|
8838
|
-
* Use maxlength to specify the maximum length of the value that can be entered.
|
|
8885
|
+
* Use maxlength to specify the maximum length of the value that can be entered.
|
|
8839
8886
|
*/
|
|
8840
8887
|
"maxlength"?: number;
|
|
8841
8888
|
/**
|
|
8842
|
-
* Use minlength to specify the minimum length of the value that can be entered.
|
|
8889
|
+
* Use minlength to specify the minimum length of the value that can be entered.
|
|
8843
8890
|
*/
|
|
8844
8891
|
"minlength"?: number;
|
|
8845
8892
|
/**
|
|
@@ -10038,6 +10085,14 @@ declare namespace LocalJSX {
|
|
|
10038
10085
|
* Controls the margin of the component.
|
|
10039
10086
|
*/
|
|
10040
10087
|
"margin"?: DuetMargin;
|
|
10088
|
+
/**
|
|
10089
|
+
* Use maxlength to specify the maximum length of the value that can be entered.
|
|
10090
|
+
*/
|
|
10091
|
+
"maxlength"?: number;
|
|
10092
|
+
/**
|
|
10093
|
+
* Use minlength to specify the minimum length of the value that can be entered.
|
|
10094
|
+
*/
|
|
10095
|
+
"minlength"?: number;
|
|
10041
10096
|
/**
|
|
10042
10097
|
* Name of the input.
|
|
10043
10098
|
*/
|
|
@@ -11233,12 +11288,20 @@ declare namespace LocalJSX {
|
|
|
11233
11288
|
* HTML id of element that is to be used when opening this tab. This enables decoupling the content from the tab buttons.
|
|
11234
11289
|
*/
|
|
11235
11290
|
"contentId"?: string;
|
|
11291
|
+
/**
|
|
11292
|
+
* Indicator to show in the tab button.
|
|
11293
|
+
*/
|
|
11294
|
+
"indicator"?: IndicatorVariation1;
|
|
11295
|
+
/**
|
|
11296
|
+
* Provides accessible text for the Duet Indicator. If Indicator's default is sufficient this is not needed.
|
|
11297
|
+
*/
|
|
11298
|
+
"indicatorAccessibleLabel"?: string;
|
|
11236
11299
|
/**
|
|
11237
11300
|
* Label for the tab.
|
|
11238
11301
|
*/
|
|
11239
11302
|
"label"?: string;
|
|
11240
11303
|
/**
|
|
11241
|
-
* Notification mark to show in the tab button. Works better with plain variation, as the dark background of selected default button makes the mark less noticable.
|
|
11304
|
+
* @deprecated Use indicator property instead. Notification mark to show in the tab button. Works better with plain variation, as the dark background of selected default button makes the mark less noticable.
|
|
11242
11305
|
*/
|
|
11243
11306
|
"notificationMark"?: "warning" | "danger";
|
|
11244
11307
|
/**
|
|
@@ -12275,6 +12338,7 @@ declare namespace LocalJSX {
|
|
|
12275
12338
|
"duet-heading": DuetHeading;
|
|
12276
12339
|
"duet-hero": DuetHero;
|
|
12277
12340
|
"duet-icon": DuetIcon;
|
|
12341
|
+
"duet-indicator": DuetIndicator;
|
|
12278
12342
|
"duet-input": DuetInput;
|
|
12279
12343
|
"duet-label": DuetLabel;
|
|
12280
12344
|
"duet-layout": DuetLayout;
|
|
@@ -12386,6 +12450,7 @@ declare module "@stencil/core" {
|
|
|
12386
12450
|
"duet-heading": LocalJSX.DuetHeading & JSXBase.HTMLAttributes<HTMLDuetHeadingElement>;
|
|
12387
12451
|
"duet-hero": LocalJSX.DuetHero & JSXBase.HTMLAttributes<HTMLDuetHeroElement>;
|
|
12388
12452
|
"duet-icon": LocalJSX.DuetIcon & JSXBase.HTMLAttributes<HTMLDuetIconElement>;
|
|
12453
|
+
"duet-indicator": LocalJSX.DuetIndicator & JSXBase.HTMLAttributes<HTMLDuetIndicatorElement>;
|
|
12389
12454
|
"duet-input": LocalJSX.DuetInput & JSXBase.HTMLAttributes<HTMLDuetInputElement>;
|
|
12390
12455
|
"duet-label": LocalJSX.DuetLabel & JSXBase.HTMLAttributes<HTMLDuetLabelElement>;
|
|
12391
12456
|
"duet-layout": LocalJSX.DuetLayout & JSXBase.HTMLAttributes<HTMLDuetLayoutElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duetds/components",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.16.0",
|
|
4
4
|
"description": "This package includes Duet Design System Web Components and related utilities.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "duetdesignsystem@lahitapiola.fi"
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@duetds/fonts": "3.0.51",
|
|
48
|
-
"@duetds/icons": "4.2.
|
|
49
|
-
"@duetds/tokens": "4.0.
|
|
48
|
+
"@duetds/icons": "4.2.6",
|
|
49
|
+
"@duetds/tokens": "4.0.107",
|
|
50
50
|
"@percy/cli": "1.30.1",
|
|
51
51
|
"@rollup/plugin-replace": "5.0.2",
|
|
52
52
|
"@stencil/core": "4.23.0",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"collection": "lib/collection/collection-manifest.json",
|
|
78
78
|
"es2015": "lib/esm/index.js",
|
|
79
79
|
"es2017": "lib/esm/index.js",
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "535561b75a5d9a8c8cb680469bce48f480b5420e"
|
|
81
81
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as o,h as e,H as i,g as a}from"./p-c4a1cfd6.js";import{i as n}from"./p-d9cafc77.js";import{c as s}from"./p-5e59e970.js";import{d as r}from"./p-9e371678.js";import{i as d}from"./p-a45e3f8b.js";import{g as c,c as u,d as h}from"./p-75a66b82.js";import{c as b,g as l,s as p}from"./p-e63f5ff5.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const m=class{constructor(e){t(this,e),this.duetActionEvent=o(this,"duetActionEvent",6),this.listId=s("duet-action-button"),this.emitPageEvent=r((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})})),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName=void 0,this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleTitle=!0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"},this.accessibleLabel=c(this.accessibleLabelsDefaults),this.accessibleControls="",this.url=void 0}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}getTitle(){return"string"==typeof this.accessibleTitle?this.accessibleTitle:!0===this.accessibleTitle&&this.actionName?b(`${this.actionName}`):null}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){n(this)}connectedCallback(){u(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){h(this)}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){const t="currentColor"===this.color?"currentColor":l(this.color,this.theme),o=l(this.background,this.theme),a=o?p(o,-.1):o,n=o?`\n button.duet-action-button {\n background: ${o} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${a} !important;\n }\n `:"",s={ref:t=>this.nativeButton=t,part:"button",style:{color:t,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"},disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme,"duet-theme-turva":"turva"===this.theme}};return e(i,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:t=>this.onKeyboardDown(t)},e("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:n}),this.url&&!this.disabled?e("a",Object.assign({},s,{href:this.url}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):e("button",Object.assign({},s,{onClick:t=>this.onMouseHandler(t)}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),e("duet-visually-hidden",null,e("slot",null))))}get element(){return a(this)}};m.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva{color:#172a3b;background:#fdf7f2}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:not(:disabled):hover{background:#f0ebe6}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:focus{box-shadow:0 0 0 2px #172a3b !important}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:active:focus{background:#e4deda !important;box-shadow:none}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:disabled{color:#7891a4;background:#f5f6f7}";export{m as duet_action_button}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,h as t,H as a,g as i}from"./p-c4a1cfd6.js";import{i as o}from"./p-d9cafc77.js";import{e as s,d as l}from"./p-fc09c464.js";import{F as n}from"./p-5e658b40.js";import{a as d,c as r,d as c,g as u}from"./p-75a66b82.js";import{h as p}from"./p-a68a90f3.js";import{g as h}from"./p-e63f5ff5.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const b=class{constructor(t){e(this,t),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"},this.hasStickyHeaderSlot=!1,this.updateLabel=()=>{const e=this.element.querySelector("[slot='label']");this.label=e},this.toggleMenu=()=>{this.open=!this.open},this.onClick=()=>{this.toggleMenu()},this.onCloseClick=e=>{if(e.stopPropagation(),"DUET-SLIDEOUT"===this.element.parentElement.tagName){const e=this.element.parentElement;s(this.dialog),this.bodyScrollLocked=!1,e.toggle()}},this.label=void 0,this.language=d(),this.bodyScrollLocked=!1,this.theme="",this.active=!1,this.open=!1,this.icon=void 0,this.labelSize="medium",this.backgroundColor="primary-lightest",this.badge=!1}componentWillLoad(){o(this),this.updateLabel(),this.hasStickyHeaderSlot=p(this.element,"sticky-header")}connectedCallback(){r(this),this.mutationObserver=new MutationObserver((()=>{if("DUET-SLIDEOUT"===this.element.parentElement.tagName){const e=this.element.parentElement;e.open&&this.open&&!this.bodyScrollLocked?(this.bodyScrollLocked=!0,l(this.dialog,{reserveScrollBarGap:!0})):!e.open&&this.bodyScrollLocked&&(this.bodyScrollLocked=!1,s(this.dialog))}})),this.mutationObserver.observe(this.element.parentElement,{childList:!1,attributeFilter:["open"],subtree:!1})}disconnectedCallback(){c(this),this.dialog&&(s(this.dialog),this.bodyScrollLocked=!1),this.mutationObserver&&this.mutationObserver.disconnect()}handleOpenChange(e,t){!!e!=!!t&&(this.open&&!t?setTimeout((()=>{Array.from(this.element.parentElement.children).forEach((e=>{e!==this.element&&(e.inert=!0)})),this.bodyScrollLocked||(l(this.dialog,{reserveScrollBarGap:!0}),this.bodyScrollLocked=!0),this.closeButton.focus()}),200):!this.open&&t&&setTimeout((()=>{Array.from(this.element.parentElement.children).forEach((e=>{e.inert=!1})),this.openButton.focus(),s(this.dialog),this.bodyScrollLocked=!1}),200))}async setFocus(e){this.open?setTimeout((()=>{this.closeButton.focus(e)}),200):setTimeout((()=>{this.openButton.focus(e)}),200)}render(){const e={background:h("primary-lightest"===this.backgroundColor&&"turva"===this.theme?"gray-lighter":this.backgroundColor,this.theme)},i=u(this.exitLangObject),o=u(this.backLangObject);return t(a,{key:"e99b424542a7b552d8fd4a26cbfb97bf6f62802e"},t("div",{key:"f4eb81ccf905117701734ce4ef2421cb9cb07a57",class:{"duet-slideout-panel":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{key:"a425e254942d90ddbdd9f3cd2009c993d3da65ca",ref:e=>this.openButton=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:!0,active:this.active},onClick:this.onClick,inert:this.open},this.icon&&t("div",{key:"e14a24be1ee1a5efad686c4234b85166eb617a0c",class:"duet-slideout-icon"},t("duet-icon",{key:"0da267b47534ce1b11aae1f0931839d96cbb6e2d",name:this.icon,size:"medium",margin:"none",color:"secondary"}),this.badge&&t("div",{key:"6b2579d84b69f8b110b0112f855041a3f9007c87",class:"duet-slideout-badge"})),t("span",{key:"7b3e4a85c66e7a20016f39c18a41b00851331966",class:"label"},t("span",{key:"123fd11e48b7ec88e0b003ba9c9d68fb40c53dd2",class:{"label-text":!0,[this.labelSize]:!0}},t("slot",{key:"ad8e630553aade4ba6fbdefc3a9c978f0e28a149",name:"label"})),t("duet-icon",{key:"2b767d5777edef7f9d7497d6b728c6535f1bb48d",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),t("div",{key:"7920d9f9c941634ba3534b8446692a72b252da52",ref:e=>this.dialog=e,class:{dialog:!0,hidden:!this.open},style:e},t(n,{key:"26b5c3dd970fb7882b7fdcf5c9efe5909ab1e953",moveFocusTo:this.closeButton}),t("div",{key:"a45324a8bf4ec8c14aabeaf862fed11f69b3092a",class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},t("div",{key:"a18b6840ae7dd6b6525c87c38728d76644399f25",class:"top"},t("button",{key:"96c89b1489b381e885de6d02bbdc444bc3247885",ref:e=>this.closeButton=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":`${o}`,type:"button",class:{back:!0},onClick:this.onClick},t("duet-icon",{key:"10a8a23416d004be7cc64d6544758809ccc44007",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),t("span",{key:"286a41f140716604ecf61deeb76cf304ebefbb58"},this.label.innerHTML),t("button",{key:"4278c87e2bb7d82d70458b6814e8920f6a3e5ac5",class:"close",type:"button",onClick:this.onCloseClick,"aria-label":`${i}`},t("duet-icon",{key:"26093ede70cc0968857d8e02edcaa345603e9b56",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),t("div",{key:"8498e84fed4ec4ea35893cf10a4942f80e01dce1",class:"sticky-header"},t("slot",{key:"dae14d8c70e8b8af5c19952e42c6120ac199334d",name:"sticky-header"}))),t("div",{key:"b7a35e2345a7c47e5e7d118e494e94160f4b3530",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0}},t("slot",{key:"88c632c16c465457b45b27c500157b481afd6f0c"})),t(n,{key:"977a6164b9286feeabf4b69c0cc25b0e6ade5f65",moveFocusTo:this.closeButton}))))}get element(){return i(this)}static get watchers(){return{open:["handleOpenChange"]}}};b.style='*,*::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%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{position:absolute;top:0;left:16px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{background:rgb(247, 178, 40)}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(8, 42, 77)}.duet-slideout-panel.duet-theme-turva .link{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:#e61740}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:#fdf7f2}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:#fdf7f2;border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .top span{color:#172a3b}:host(.duet-theme-turva2) slot:not([name=label]){color:#172a3b}';export{b as duet_slideout_panel}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,r,i){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function n(t){try{u(i.next(t))}catch(t){a(t)}}function d(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?r(t.value):o(t.value).then(n,d)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,n;return n={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function d(t){return function(e){return u([t,e])}}function u(d){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,d[0]&&(r=0)),r)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;o=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1];a=d;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(d);break}if(a[2])r.ops.pop();r.trys.pop();continue}d=e.call(t,r)}catch(t){d=[6,t];o=0}finally{i=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-43d6b171.system.js","./p-cddad487.system.js","./p-752fa0fc.system.js","./p-1cc2eb98.system.js","./p-0c4bbd65.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,r,i,o,a,n,d,u,s,c,h;return{setters:[function(t){e=t.r;r=t.h;i=t.g},function(t){o=t.i},function(t){a=t.s;n=t.u},function(t){d=t.a;u=t.g;s=t.c;c=t.d},function(t){h=t.a},function(){}],execute:function(){var f="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}:host(.duet-theme-turva2) .duet-notification.duet-theme-turva{color:#172a3b;border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva{background:#fdf7f2}:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva{background:#fdf7f2}}";var l=f;var b=t("duet_notification",function(){function t(t){e(this,t);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=u(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});a(this)};t.prototype.disconnectedCallback=function(){c(this);n(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.linkElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"22f2597d7f520c03d164b9612b1f619486745a09",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{key:"825bb432d6d6402df953b5a1a1f67cfddfa00931",ref:function(e){return t.linkElement=e},href:this.url,target:this.external?"_blank":"_self"},r("div",{key:"669563019a7dda0a692965ee8fb616692c3be343",class:"duet-notification-container"},r("div",{key:"fa7b5612cf3b5a172385a915d09e23a1b12258a1",class:"duet-notification-badge-container"},this.highlight&&r("div",{key:"21a94b09ee6ef41da16349b53c39c66ccc744db3",class:"duet-notification-badge"},r("duet-visually-hidden",{key:"89a22cdefb3ad8530b55a1a22dc44cb51547a9ec"},this.accessibleLabelUnread,":"))),r("div",{key:"6c08f36593b743d1b28dfef6ff96e60c1f0a5f2f",class:"duet-notification-content"},r("slot",{key:"74584952dedc2d734b8c04626fb0377c34d3d183"})),r("div",{key:"4f6feeebc9b918683300bd434eec573912291a82",class:"duet-notification-date"},this.date))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());b.style=l;var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{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);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(247, 178, 40)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle{color:#172a3b;border-color:#d4dde2}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after{background:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:#8c001e;border-color:#f5f6f7}';var p=g;var m=27;var w=t("duet_notification_drawer",function(){function t(t){var r=this;e(this,t);this.handleKeyDown=function(t){if(r.isOpen&&t.keyCode===m){r.close()}};this.toggleMenu=function(t){t.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=u(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}t.prototype.componentWillLoad=function(){o(this);this.updateNotificationState()};t.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});a(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;n(this)};t.prototype.handleClickFocusOutside=function(t){var e=t.target;if(this.isOpen&&!this.element.contains(e)){this.close(false)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.drawerButtonEl.focus(t);return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.element.closest("duet-header");if(t){t.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};t.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){this.isOpen=false;if(t){this.setFocus({preventScroll:true})}return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"8ef9649e5f79d548b8ea459e702e8cfac4fcfff4",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{key:"88f5571a59e721e77c275927ba134edf616f8c2b",ref:function(e){return t.drawerButtonEl=e},type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&r("div",{key:"ae96c1156e5f3533c6cfe14f71cb06e3d5f37dcd",class:"duet-drawer-icon"},r("duet-icon",{key:"25623fed9e75f768b6617506af5f24d47cf491a4",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("div",{key:"b2ebd4178aa5680e97f5ff9f0b12fb6cb92b1e33",class:"duet-drawer-badge"})),r("span",{key:"9f8446b2cbbd5041e0431b3e724364364493e773",class:"duet-drawer-label"},this.label),r("div",{key:"162eea01bfbd402f5325b4428ca0e75d51cf1ab1",class:"duet-drawer-caret"},r("duet-icon",{key:"93086f79bf7f637b9933ed53999718cd2797d2c2",margin:"none",size:"auto",icon:h.svg,color:"currentColor"}))),r("div",{key:"106c804293207a14600e49af7f996cce568d0b5c",id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(e){return t.drawerContentEl=e}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());w.style=p}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,c,i){function o(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,d){function r(e){try{u(i.next(e))}catch(e){d(e)}}function h(e){try{u(i["throw"](e))}catch(e){d(e)}}function u(e){e.done?c(e.value):o(e.value).then(r,h)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},i,o,d,r;return r={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function h(e){return function(t){return u([e,t])}}function u(h){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,h[0]&&(c=0)),c)try{if(i=1,o&&(d=h[0]&2?o["return"]:h[0]?o["throw"]||((d=o["return"])&&d.call(o),0):o.next)&&!(d=d.call(o,h[1])).done)return d;if(o=0,d)h=[h[0]&2,d.value];switch(h[0]){case 0:case 1:d=h;break;case 4:c.label++;return{value:h[1],done:false};case 5:c.label++;o=h[1];h=[0];continue;case 7:h=c.ops.pop();c.trys.pop();continue;default:if(!(d=c.trys,d=d.length>0&&d[d.length-1])&&(h[0]===6||h[0]===2)){c=0;continue}if(h[0]===3&&(!d||h[1]>d[0]&&h[1]<d[3])){c.label=h[1];break}if(h[0]===6&&c.label<d[1]){c.label=d[1];d=h;break}if(d&&c.label<d[2]){c.label=d[2];c.ops.push(h);break}if(d[2])c.ops.pop();c.trys.pop();continue}h=t.call(e,c)}catch(e){h=[6,e];o=0}finally{i=d=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-43d6b171.system.js","./p-cddad487.system.js","./p-87633fff.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-1cc2eb98.system.js","./p-d4630d55.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,c,i,o,d,r,h,u,a,s,n,l,b,p,g,m,f,v,k;return{setters:[function(e){t=e.r;c=e.c;i=e.h;o=e.H;d=e.g},function(e){r=e.i},function(e){h=e.a},function(e){u=e.c},function(e){a=e.i;s=e.h;n=e.s;l=e.u;b=e.f},function(e){p=e.g;g=e.a;m=e.c;f=e.d},function(e){v=e.h;k=e.c},function(){}],execute:function(){var x={title:"messaging-info",tags:"messaging info information circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>'};var w='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{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;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{color:#172a3b !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:#b2c2cd}.info .duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:#b2c2cd}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:#fdf7f2;border-color:#172a3b !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:#e61740}.duet-choice-label .duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:#172a3b;border-color:#172a3b !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-info.sc-duet-choice,.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.sc-duet-choice{color:#172a3b;border-color:#172a3b}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.sc-duet-choice{border-color:#b2c2cd}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:#172a3b}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-info.sc-duet-choice{background:#fdf7f2;border-color:#b2c2cd}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:#7891a4}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-info-toggle.sc-duet-choice{border-color:#b2c2cd}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:#fdf7f2;border-bottom-color:transparent}.duet-theme-turva2.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-theme-turva.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:#172a3b}.duet-theme-turva2.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-theme-turva.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:#7891a4}';var y=w;var z=e("duet_choice",function(){function e(e){var i=this;t(this,e);this.duetChoiceReady=c(this,"duetChoiceReady",7);this.duetChange=c(this,"duetChange",7);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.hasHeader=false;this.choiceId=u("DuetChoice");this.expandId=u("DuetChoiceExpand");this.headerId=u("DuetChoiceHeader");this.infoButtonId=u("DuetChoiceInfoButton");this.onMouseEnter=function(){i.isHovering=true};this.onMouseLeave=function(){i.isHovering=false};this.onClick=function(e){i.toggleChecked(e)};this.handleKeyDown=function(e){if(a(e)){i.toggleChecked(e)}if(s(e)&&i.hasInfo){i.toggleInfo()}};this.onChange=function(){i.checked=i.nativeInput.checked||false;i.duetChange.emit({checked:i.checked,value:i.value,component:"duet-choice"})};this.onBlur=function(e){i.duetBlur.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.onFocus=function(e){i.duetFocus.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(i.getDisabled()){return}if(i.type==="radio"&&i.checked){return}i.checked=!i.checked;i.duetChange.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.toggleInfo=function(){i.isInfoOpen=!i.isInfoOpen;if(i.isInfoOpen){setTimeout((function(){var e;(e=i.infoContainer)===null||e===void 0?void 0:e.focus()}),150)}};this.isHovering=false;this.isInfoOpen=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=h;this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=p(this.infoLabelDefaults,g());this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"};this.collapsibleNotification=p(this.collapsibleNotificationDefaults,g())}e.prototype.componentWillLoad=function(){r(this);this.hasInfo=v(this.element,"info");this.hasHeader=v(this.element,"header");this.hasAdditional=v(this.element,"additional");this.hasLabel=v(this.element,"label");this.hasBeforeText=v(this.element,"before-text");this.duetChoiceReady.emit()};e.prototype.connectedCallback=function(){m(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]);n(this);this.duetChoiceReady.emit()};e.prototype.disconnectedCallback=function(){f(this);l(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.handleEscape=function(e){if(b(e)){if(this.isInfoOpen){this.isInfoOpen=false;if(this.infoButtonEl){this.infoButtonEl.focus()}}}};e.prototype.isCollapsibleAnnounceable=function(){if(!this.collapsible||!this.getExpanded()){return false}var e=Array.from(this.element.querySelectorAll("#".concat(this.choiceId,"-collapsible-content > *"))||[]);var t=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((function(e){return t.includes(e.tagName.toLowerCase())}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if((this.collapsible||this.hasInfo)&&this.getExpanded()){if(this.hasHeader){return this.headerId}else if(this.isCollapsibleAnnounceable()){return this.expandId}else{return"".concat(this.choiceId,"-collapsible-notification")}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.render=function(){var e=this;var t=this.identifier||this.choiceId;return i(o,{class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},i("div",{class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},i("div",{class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},i("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:t,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:function(t){return e.nativeInput=t}}),i("label",{htmlFor:t,class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&i("slot",{name:"before-text"}),this.icon&&i("div",{class:"duet-choice-card-icon"},i("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),i("div",{class:"duet-choice-card-text"},i("div",null,this.hasLabel?i("slot",{name:"label"}):this.label),this.caption&&i("div",null,i("duet-spacer",{size:"xx-small"}),i("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&i("div",null,i("duet-spacer",{size:"xx-small"}),i("slot",{name:"additional"}))),i("div",null,i("div",{class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&i("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&i("button",{ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button",onKeyUp:function(t){return e.handleEscape(t)}},i("div",{class:"duet-choice-info-icon"},i("duet-icon",{icon:x.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&i("span",{id:"".concat(this.choiceId,"-collapsible-notification"),hidden:true},this.collapsibleNotification),this.collapsible||this.hasInfo?i("div",{class:this.getClassNames(),id:this.expandId},i("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},i("span",{id:this.headerId},i("slot",{name:"header"})),this.hasInfo?i("span",{ref:function(t){return e.infoContainer=t},tabindex:"-1",class:"duet-choice-info-container",onKeyUp:function(t){return e.handleEscape(t)}},i("span",null,i("slot",{name:"info"})),i("slot",null)):i("span",{id:"".concat(this.choiceId,"-collapsible-content")},i("slot",null)))):null)};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});return e}());z.style=y;var _="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var C=_;var j=e("duet_choice_group",function(){function e(e){var c=this;t(this,e);this.choiceGroupName="duet-choice-group";this.choices=new Set;this.childObserverCallback=function(e){if(e.some((function(e){var t;return((t=e.removedNodes)===null||t===void 0?void 0:t.length)>0&&Array.from(e.removedNodes.values()).some((function(e){return e.nodeName.toLowerCase()==="duet-choice"}))}))){c.updateChoices()}};this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&c.choices.has(t)){c.value=t.value}};this.onChoiceReady=function(){c.updateChoices()};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.removeDisabledAttributeWhenFalse=function(){if(!this.disabled){this.element.removeAttribute("disabled")}};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.childObserver=new MutationObserver(this.childObserverCallback.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true});this.setInitialValue();this.updateChoices();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.componentWillLoad=function(){r(this);this.removeDisabledAttributeWhenFalse();k(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.setInitialValue=function(){if(typeof this.initialValue==="undefined"){this.initialValue=this.value}};e.prototype.getInitialValue=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.initialValue]}))}))};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,c,i,o,d;var r=this;return __generator(this,(function(h){t=(e=this.value)!==null&&e!==void 0?e:this.initialValue;c=false;this.choices.clear();this.element.querySelectorAll("duet-choice").forEach((function(e){if(e.closest("duet-choice-group")===r.element){r.choices.add(e)}}));for(i=0,o=Array.from(this.choices);i<o.length;i++){d=o[i];d.name=this.name;d.required=this.required;d.groupDisabled=this.disabled;d.groupDirection=this.direction;d.groupResponsive=this.responsive;if(!c&&d.value===t){c=true;d.checked=true;if(typeof this.value==="undefined"){this.value=t}}else{d.checked=false}}if(!c){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return i(o,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},i("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&i("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),i("slot",{name:"tooltip"}),i("div",{class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["removeDisabledAttributeWhenFalse","updateChoices"],value:["setInitialValue","updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());j.style=C}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-43d6b171.system.js","./p-053b71e6.system.js","./p-87633fff.system.js","./p-cddad487.system.js","./p-b197d195.system.js","./p-1cc2eb98.system.js","./p-d4630d55.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,a,s,o,l,r,d,c,u;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){s=e.a},function(e){o=e.a},function(e){l=e.i},function(e){r=e.g},function(e){d=e.g;c=e.c;u=e.d},function(){},function(){}],execute:function(){var f='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-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-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-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"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active .label-content::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%}.duet-slideout-link .label-container{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%}.duet-slideout-link .external-icon{width:10px;height:10px}.duet-slideout-link.medium .external-icon,.duet-slideout-link.large .external-icon{width:12px;height:12px}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva.active .label-content::after{background:#e61740}:host(.duet-theme-turva2) slot[name=description]::slotted(*){color:#172a3b}';var b=f;var h=e("duet_slideout_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.active=false;this.href="#";this.icon=undefined;this.size="inherit";this.caret=false;this.menuItem=false;this.accessibleLabelExternalDefaults=o;this.accessibleLabelExternal=d(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){l(this)};e.prototype.connectedCallback=function(){c(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.render=function(){var e;return i(n,{key:"85b04b902faeb2e3444ff20971a517cdb5abdd02"},i("a",{key:"b249137ea0b61d56f0a2699341334febeccb6b0e",target:!this.href?null:this.external?"_blank":"_self",class:(e={"duet-slideout-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[this.size]=true,e),href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.href&&r(this)||this.accessibleLabel,rel:this.external?"noopener":undefined},this.icon&&i("duet-icon",{key:"b14c636765c3b990b3c6c6f6c57b0641bbdfe006",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"medium",margin:"none"}),i("div",{key:"63ff80e401e011a6792a623ef4be0da0f3f40634",class:"label"},i("span",{key:"b9d5c8b4ed62ef045da9f02e6a7ab00084c4dfbf"},i("span",{key:"5499b4548d27509b4e6294e3b335c56a264160b6",class:"label-container"},i("span",{key:"495a1abd5fdb4a18af251d7c15c449968e700725",class:"label-content"},i("slot",{key:"2cb954b89c28550f7f00008da0a87805062c8f38"})),this.external&&i("duet-icon",{key:"16ad7d515886268c1f1a2db9dd19a38549df15de",class:"external-icon",theme:this.theme,name:s.title,margin:"none",size:"auto",color:"currentColor"})),i("slot",{key:"ede009435b1cae9498c0f94a50040c322b494757",name:"description"})),this.caret&&i("duet-icon",{key:"d3398cd49789c167b1f084856b49ba1a483ca263",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());h.style=b}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,h as a,H as t,g as n}from"./p-c4a1cfd6.js";import{i as o}from"./p-d9cafc77.js";import{a as r,c as i,d as s,g as d}from"./p-75a66b82.js";import"./p-9c3c64b9.js";const c=class{constructor(a){e(this,a),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=r(),this.theme=""}componentWillLoad(){o(this)}connectedCallback(){i(this)}disconnectedCallback(){s(this)}render(){const e=d(this.chooseLangObject);return a(t,{key:"9b9ad45986a3dcfdb55b5f0ba70688ca195db838"},a("div",{key:"6094526122040f9602eaff0be103623ba489617f",class:"duet-slideout-lang",role:"group","aria-label":e},a("duet-icon",{key:"1b0eef8fe172f80c3a955e6104a7728b903830f1",name:"navigation-language",margin:"none",color:"secondary"}),a("slot",{key:"0793321a6531c610413d42a8700b87e92ce922b7"})))}get element(){return n(this)}};c.style='*,*::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}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-16px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva ::slotted(:not(:last-child))::after{background:#172a3b}';export{c as duet_slideout_lang}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,r,a){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function n(t){try{d(a.next(t))}catch(t){i(t)}}function u(t){try{d(a["throw"](t))}catch(t){i(t)}}function d(t){t.done?r(t.value):o(t.value).then(n,u)}d((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,i,n;return n={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function u(t){return function(e){return d([t,e])}}function d(u){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,u[0]&&(r=0)),r)try{if(a=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;o=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=e.call(t,r)}catch(t){u=[6,t];o=0}finally{a=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-43d6b171.system.js","./p-053b71e6.system.js","./p-87633fff.system.js","./p-cddad487.system.js","./p-b197d195.system.js","./p-1cc2eb98.system.js","./p-d4630d55.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,r,a,o,i,n,u,d,s,c,b;return{setters:[function(t){e=t.r;r=t.h;a=t.H;o=t.g},function(t){i=t.a},function(t){n=t.a},function(t){u=t.i},function(t){d=t.g},function(t){s=t.g;c=t.c;b=t.d},function(){},function(){}],execute:function(){var l='*,*::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-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;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(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-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-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item:focus.primary{box-shadow:0 0 0 4px rgba(8, 42, 77, 0.3), 0 0 0 1px #033866}.duet-theme-turva .duet-toolbar-item:focus.primary,.duet-toolbar-item:focus.primary.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{position:absolute;top:0;left:11px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{background:rgb(247, 178, 40)}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:not(.primary){color:#172a3b}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover{background:#fdf7f2}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover:not(.primary){color:#172a3b}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover.primary{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva::after{background:#e61740}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva:not(.primary){color:#172a3b}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva.primary{background:rgba(23, 42, 59, 0.2)}';var h=l;var m=t("duet_toolbar_item",function(){function t(t){e(this,t);this.theme="";this.variation="default";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false";this.accessibleLabelExternalDefaults=n;this.accessibleLabelExternal=s(this.accessibleLabelExternalDefaults);this.external=false;this.badge=false}t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){c(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(r){setTimeout((function(){return e.itemElement.focus(t)}),200);return[2]}))}))};t.prototype.render=function(){var t;var e=this;var o=this.url?"a":"button";var n=this.variation==="primary"||this.variation==="negative"||this.theme==="turva"&&this.variation==="secondary"?"primary":this.variation==="secondary"?"secondary":"default";return r(a,{key:"91f498617087f1ccd8491ebf7690a627d990290b",role:"listitem"},r(o,{key:"50e607df470d4d85f9bd8045878e1e9be69bbd49",target:!this.url?null:this.external?"_blank":"_self",ref:function(t){return e.itemElement=t},class:(t={"duet-toolbar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},t[n]=true,t),href:this.url,role:"".concat(o==="a"?"link":"button"),"aria-current":this.active?"true":"false","aria-label":this.url&&d(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&&r("div",{key:"bcd2fc09f93642ba9a110a3bddd881ced3d9fc8e",class:"duet-toolbar-icon"},r("duet-icon",{key:"323aac653803756d74d7722101aed3854cf6c093",size:"x-small",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),this.badge&&r("div",{key:"3d71181d7a06a62b2523c8bc943eeba061b4e16d",class:"duet-toolbar-badge"})),r("slot",{key:"25f69cdd90c2734def4500e476f505b3ea6408ad"}),(this.trailingIcon||this.url&&this.external)&&r("div",{key:"0fc3a9d378996699e077ebaac42fbd13987bd862",class:"duet-toolbar-icon"},r("duet-icon",{key:"d462ac02e841954a22e151eeeca7cdbf1e504e15",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small","external-icon":!!(this.url&&this.external),rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.url&&this.external?i.title:"",margin:"none",size:"auto",color:"currentColor"}),this.badge&&this.trailingIcon!=="action-arrow-down-small"&&r("div",{key:"ca240186f267085e343f7e625e496ba9d25178b4",class:"duet-toolbar-badge"}))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());m.style=h}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,i,o){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function a(t){try{u(o.next(t))}catch(t){s(t)}}function r(t){try{u(o["throw"](t))}catch(t){s(t)}}function u(t){t.done?i(t.value):n(t.value).then(a,r)}u((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,n,s,a;return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(t){return function(e){return u([t,e])}}function u(r){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,r[0]&&(i=0)),i)try{if(o=1,n&&(s=r[0]&2?n["return"]:r[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,r[1])).done)return s;if(n=0,s)r=[r[0]&2,s.value];switch(r[0]){case 0:case 1:s=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!s||r[1]>s[0]&&r[1]<s[3])){i.label=r[1];break}if(r[0]===6&&i.label<s[1]){i.label=s[1];s=r;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(r);break}if(s[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];n=0}finally{o=s=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-43d6b171.system.js","./p-cddad487.system.js","./p-db2ccb9d.system.js","./p-7d4fb1da.system.js","./p-752fa0fc.system.js","./p-1cc2eb98.system.js","./p-d4630d55.system.js","./p-b1f33063.system.js","./p-59777da7.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(t){"use strict";var e,i,o,n,s,a,r,u,d,l,c,h,f,b,p,m,g,v;return{setters:[function(t){e=t.r;i=t.c;o=t.h;n=t.H;s=t.g},function(t){a=t.i},function(t){r=t.e;u=t.d},function(t){d=t.f;l=t.F},function(t){c=t.f},function(t){h=t.a;f=t.c;b=t.d;p=t.g},function(t){m=t.h},function(t){g=t.T},function(t){v=t.g},function(){},function(){}],execute:function(){var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}.duet-slideout.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)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:600;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}.duet-slideout .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva{color:#172a3b}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .desktop-bg{background:#172a3b}}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active{color:#e61740}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active::after{background:#e61740}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:#fdf7f2}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:#fdf7f2;border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) slot{color:#172a3b}';var k=y;var x=t("duet_slideout",function(){function t(t){var o=this;e(this,t);this.duetSlideoutEvent=i(this,"duetSlideoutEvent",7);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"};this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.hasStickyHeaderSlot=false;this.disconnectController=new AbortController;this.eventListenerController=new AbortController;this.setOpenButton=function(t,e){if(e===void 0){e=false}if(o.eventListenerController){o.eventListenerController.abort()}if(!t){o.openButton=undefined;return}try{var i=t;i.accessiblePopup="true";i.accessibleExpanded=false;o.openButton=i;if(e&&!o.disconnectController.signal.aborted){o.eventListenerController=new AbortController;o.openButton.addEventListener("click",o.openButtonEventListener,{signal:o.eventListenerController.signal})}}catch(t){console.error(t)}};this.setStickHeaderStyleMutations=function(t){if(t===void 0){t=false}var e=o.element.querySelectorAll('[slot="sticky-header"] duet-tab-group');e.forEach((function(e){e.style.position=t?null:"relative";e.style.top=t?null:"1px";e.switchLargeBreakpoint="always"}))};this.openButtonEventListener=function(t){o.onClick(t)};this.getOpenPanel=function(){return o.element.querySelector("duet-slideout-panel[open]")};this.toggleMenu=function(t){o.open=!o.open;o.duetSlideoutEvent.emit({originalEvent:t,data:{element:o.element,open:o.open},component:"duet-slideout"})};this.onClick=function(t){o.toggleMenu(t)};this.language=h();this.displaying=false;this.openPanel=false;this.theme="";this.accessibleRole="menubar";this.open=false;this.backgroundColor="gray-lightest";this.modal=true}Object.defineProperty(t.prototype,"opener",{get:function(){return this._opener},set:function(t){var e=typeof t==="string";var i=e?document.getElementById(t):t;if(this.openButton!==i){this._opener=t;this.setOpenButton(i,e)}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"controller",{get:function(){return this._opener},set:function(t){this.opener=t},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){a(this);this.hasStickyHeaderSlot=m(this.element,"sticky-header")};t.prototype.connectedCallback=function(){var t=this;f(this);if(this.disconnectController&&this.disconnectController.signal.aborted){this.disconnectController=new AbortController}if(!this.teleport){this.teleport=new g(this.element)}if(this.teleport){this.teleport.activate()}this.setStickHeaderStyleMutations();if(!this.mutationObserver){this.mutationObserver=new MutationObserver((function(){t.openPanel=!!t.getOpenPanel()}))}if(this.mutationObserver){this.mutationObserver.observe(this.element,{childList:true,attributeFilter:["open"],subtree:true})}};t.prototype.disconnectedCallback=function(){b(this);if(this.dialog&&this.modal){r(this.dialog)}if(this.mutationObserver){this.mutationObserver.disconnect()}if(this.disconnectController){this.disconnectController.abort()}this.setOpenButton(undefined);this.setStickHeaderStyleMutations(true)};t.prototype.handleOpenChange=function(t,e){var i=this;if(!!t===!!e){return}if(this.open&&!e){if(this.openButton){this.openButton.accessibleExpanded=true}var o=this.getOpenPanel();this.teleport.makeSiblingsInert();if(this.modal){u(this.dialog,{reserveScrollBarGap:true})}if(o){o.setFocus()}else{setTimeout((function(){i.closeButton.focus()}),200)}}else if(!this.open&&e){if(this.openButton){this.openButton.accessibleExpanded=false}setTimeout((function(){d(i.openButton);if(i.modal){r(i.dialog)}i.teleport.removeInertFromSiblings()}),200)}};t.prototype.handleKeyUp=function(t){if(c(t)){if(this.open){this.toggleMenu(t)}}};t.prototype.handleDocumentClick=function(t){if(!this.open){return}var e=t.composedPath();if(!e.includes(this.dialog)&&!e.includes(this.openButton)){this.toggleMenu(t)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){(e=this.openButton)===null||e===void 0?void 0:e.focus(t);return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=new CustomEvent("toggle");this.toggleMenu(t);setTimeout((function(){e.closeButton.focus()}),200);return[2]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){return[2]}this.setOpenButton(document.activeElement);this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.open){return[2]}this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.render=function(){var t=this;var e={background:v(this.backgroundColor,this.theme)};var i=p(this.topLevelOpenMenuBarLangObject);var s=p(this.exitLangObject);return o(n,{key:"9333789c721a340099e10ded0a75fd40e9a11351"},o("div",{key:"401f5878c00c8844606f58cf65bd970fefc9aab7",class:{"duet-slideout":true,"duet-theme-turva":this.theme==="turva"}},this.modal&&o("duet-overlay",{key:"ee8e733825dc3a76a590f10c5575b9b696c5c920",visible:this.open,"display-device":"large",zIndex:"600"}),o("div",{key:"ceed0da1890638fbacd6ff8c98e1444545c4ce9f",ref:function(e){return t.dialog=e},tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":this.isSafariBrowser?false:true,"aria-flowto":"slot-container",class:{dialog:true,hidden:!this.open,modal:this.modal},style:e},o(l,{key:"5ba5f11f9e65dd3b4e7f41dc425cb504fdf41227",moveFocusTo:this.closeButton}),o("div",{key:"644cb47533203d7a1a0411ad3d685f772f1727af",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},o("div",{key:"27811bda6d392533473673dd1f9e3384fc010c9a",class:"top"},o("button",{key:"afcf0a441eb2100eece645b01229005076a98b0b",ref:function(e){return t.closeButton=e},"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":"".concat(s),type:"button",class:{"slideout-close":true,active:this.open},onClick:this.onClick,inert:this.openPanel},o("duet-icon",{key:"a1f41fbc6db6c3e139c86c5243947230e6d3f3c0",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),o("div",{key:"6333fb0cb464bd1bae7295a7ed3dba2f82aa4afe",class:"sticky-header"},o("slot",{key:"9295f086423cb44b73d2df211b7095facfa77c79",name:"sticky-header"}))),o("div",{key:"1535ab887ae6f901cc97f3b7a7cd541d423e174c",id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?i:null,class:{items:true}},o("slot",{key:"5dff867d2868e62737eb06a1618c269187db5468"})),o(l,{key:"fcfc5f9ea11a7edac6b76a1479dfb0374b8f16eb",moveFocusTo:this.closeButton}))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return t}());x.style=k}}}));
|