@duetds/components 9.7.3 → 9.8.1
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 +167 -158
- package/lib/cjs/{a11y-utils-dff7b9d2.js → a11y-utils-097578a2.js} +1 -1
- package/lib/cjs/{app-globals-30a48744.js → app-globals-939b4e56.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +14 -11
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
- package/lib/cjs/duet-button_2.cjs.entry.js +8 -11
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +9 -8
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- 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 +47 -43
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -5
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +5 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-phone-input.cjs.entry.js +7 -6
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +12 -9
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
- package/lib/cjs/duet-status-icon.cjs.entry.js +11 -8
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
- 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 +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-653d3ef3.js → errorcodes.utils-8daf7a3e.js} +1 -1
- package/lib/cjs/{floating-ui.dom.esm-806e7c53.js → floating-ui.dom.esm-bdde8521.js} +50 -27
- package/lib/cjs/{focus-utils-147b9ceb.js → focus-utils-ea4a19c7.js} +1 -1
- package/lib/cjs/{index-a33450b5.js → index-fc6fff62.js} +2 -2
- package/lib/cjs/{language-utils-1e374ec6.js → language-utils-57e014ea.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-9a6728d0.js → slot-utils-6c8e09f2.js} +1 -1
- package/lib/cjs/{themeable-component-996b489c.js → themeable-component-ad21363c.js} +3 -2
- package/lib/cjs/{tokens-202c2577.js → tokens-e6fda5ee.js} +0 -1
- package/lib/cjs/{watch-options-30a12622.js → watch-options-31527e7b.js} +0 -20
- package/lib/collection/common/themeable-component.js +3 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +11 -8
- package/lib/collection/components/duet-banner/duet-banner.js +1 -1
- package/lib/collection/components/duet-button/duet-button.js +10 -13
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +6 -6
- package/lib/collection/components/duet-choice/duet-choice.js +4 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +50 -49
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-input/duet-input.css +27 -0
- package/lib/collection/components/duet-input/duet-input.js +9 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.css +33 -11
- package/lib/collection/components/duet-link/duet-link.js +4 -3
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +4 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +7 -6
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +9 -6
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +9 -6
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- 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 +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- 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 +9 -9
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +16 -16
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +8 -8
- 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 +10 -10
- 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-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +9 -9
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +20 -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 +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +10 -10
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +4 -4
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
- package/lib/dist-custom-elements/duet-tab-group.js +8 -8
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +11 -11
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-item.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +2 -2
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +4 -4
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-0bc0fae0.js → p-04667e10.js} +2 -2
- package/lib/dist-custom-elements/{p-b9038c11.js → p-04f23cbd.js} +2 -2
- package/lib/dist-custom-elements/{p-3ec4af1c.js → p-0686dc77.js} +6 -6
- package/lib/dist-custom-elements/{p-7f7bbfd6.js → p-096bf531.js} +12 -9
- package/lib/dist-custom-elements/{p-3618ad6e.js → p-09910065.js} +2 -2
- package/lib/dist-custom-elements/{p-85baafd3.js → p-11a0aa1e.js} +3 -3
- package/lib/dist-custom-elements/{p-6fd10f9f.js → p-137202b7.js} +2 -2
- package/lib/dist-custom-elements/{p-d22b3e1e.js → p-1dc954e8.js} +10 -13
- package/lib/dist-custom-elements/{p-2eed03e9.js → p-24c28a7d.js} +1 -1
- package/lib/dist-custom-elements/{p-aaa7a7bd.js → p-2e417433.js} +3 -2
- package/lib/dist-custom-elements/{p-df59ab0d.js → p-39b0cc41.js} +2 -2
- package/lib/dist-custom-elements/{p-3cbf5b86.js → p-3b006865.js} +2 -2
- package/lib/dist-custom-elements/{p-361ee963.js → p-3be17de6.js} +9 -9
- package/lib/dist-custom-elements/{p-5ad562f8.js → p-3e85c24b.js} +2 -2
- package/lib/dist-custom-elements/{p-9839f95a.js → p-3e8e8086.js} +5 -5
- package/lib/dist-custom-elements/{p-ad4e9593.js → p-43bc973b.js} +3 -3
- package/lib/dist-custom-elements/{p-de7c425c.js → p-488020a7.js} +2 -2
- package/lib/dist-custom-elements/{p-b8f0a57f.js → p-55e9908e.js} +11 -11
- package/lib/dist-custom-elements/{p-8bd8a028.js → p-5b8ccb94.js} +3 -3
- package/lib/dist-custom-elements/{p-d897581d.js → p-5df3d6fc.js} +2 -2
- package/lib/dist-custom-elements/{p-d40dea65.js → p-5f1b2f21.js} +1 -1
- package/lib/dist-custom-elements/{p-d3836623.js → p-63fe7ca7.js} +2 -2
- package/lib/dist-custom-elements/{p-16d626f7.js → p-667241b7.js} +2 -2
- package/lib/dist-custom-elements/{p-1ab17905.js → p-7a72ebb0.js} +2 -2
- package/lib/dist-custom-elements/{p-731b9d6d.js → p-834b2a63.js} +4 -4
- package/lib/dist-custom-elements/{p-7f801ab9.js → p-83a1e485.js} +7 -6
- package/lib/{esm/watch-options-e96ecd92.js → dist-custom-elements/p-8a5bd61a.js} +1 -20
- package/lib/dist-custom-elements/{p-e1e94579.js → p-8ba73d37.js} +3 -3
- package/lib/dist-custom-elements/{p-071f0e0e.js → p-93b6c77d.js} +3 -3
- package/lib/dist-custom-elements/{p-da8bfcfd.js → p-96a35539.js} +2 -2
- package/lib/dist-custom-elements/{p-e2ba7871.js → p-9c0c0583.js} +3 -3
- package/lib/dist-custom-elements/{p-43c6c2c7.js → p-a250051a.js} +47 -44
- package/lib/dist-custom-elements/{p-f161c655.js → p-a79cf453.js} +13 -12
- package/lib/dist-custom-elements/{p-49865b1b.js → p-ae395997.js} +18 -15
- package/lib/dist-custom-elements/{p-6c0e7ef6.js → p-b9ff419d.js} +7 -7
- package/lib/dist-custom-elements/{p-2bba1f11.js → p-c02edb53.js} +20 -17
- package/lib/dist-custom-elements/{p-5b3417af.js → p-cbcfee87.js} +3 -3
- package/lib/dist-custom-elements/{p-0e2efa7c.js → p-d32bd233.js} +1 -1
- package/lib/dist-custom-elements/{p-2912cf42.js → p-d385e3d5.js} +1 -1
- package/lib/dist-custom-elements/{p-0f369092.js → p-e6686c28.js} +2 -2
- package/lib/dist-custom-elements/{p-503b4e9a.js → p-ec5e2453.js} +2 -2
- package/lib/dist-custom-elements/{p-9f8ce24f.js → p-f851b808.js} +2 -2
- package/lib/dist-custom-elements/{p-78310bb8.js → p-fd6463e9.js} +57 -34
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-32134eef.system.entry.js → p-00dcfb01.system.entry.js} +1 -1
- package/lib/duet/{p-832dc848.system.entry.js → p-04817234.system.entry.js} +1 -1
- package/lib/duet/{p-a79e89f7.system.entry.js → p-06d3fe65.system.entry.js} +1 -1
- package/lib/duet/{p-2b9f6f73.entry.js → p-0a3a04ef.entry.js} +1 -1
- package/lib/duet/{p-684afcde.system.entry.js → p-0bfc0d18.system.entry.js} +1 -1
- package/lib/duet/{p-060cdb54.system.js → p-0d66d8aa.system.js} +1 -1
- package/lib/duet/{p-5f93edb6.system.entry.js → p-0eb08814.system.entry.js} +1 -1
- package/lib/duet/p-10868102.entry.js +4 -0
- package/lib/duet/p-10c15de8.js +4 -0
- package/lib/duet/{p-7eff9ec4.system.entry.js → p-137c741a.system.entry.js} +1 -1
- package/lib/duet/{p-5b4fc043.entry.js → p-14ba3f91.entry.js} +1 -1
- package/lib/duet/{p-99917fe3.entry.js → p-18fa97ec.entry.js} +1 -1
- package/lib/duet/{p-c9fda76d.system.entry.js → p-1c6c54d7.system.entry.js} +1 -1
- package/lib/duet/{p-fceb4498.entry.js → p-1d0fe824.entry.js} +1 -1
- package/lib/duet/{p-a24875fa.entry.js → p-1df62080.entry.js} +1 -1
- package/lib/duet/{p-97a065d3.js → p-1e507e83.js} +1 -1
- package/lib/duet/{p-d8aa6c84.system.entry.js → p-1e8f0c99.system.entry.js} +1 -1
- package/lib/duet/{p-38cdebd0.entry.js → p-1ef17cee.entry.js} +1 -1
- package/lib/duet/{p-cc05f17e.entry.js → p-21573559.entry.js} +1 -1
- package/lib/duet/p-24f81ad8.entry.js +4 -0
- package/lib/duet/{p-263edbd6.entry.js → p-26a24272.entry.js} +1 -1
- package/lib/duet/{p-bbe6727f.system.entry.js → p-280e5fbc.system.entry.js} +1 -1
- package/lib/duet/{p-0e82b604.system.entry.js → p-2b21b9f9.system.entry.js} +1 -1
- package/lib/duet/p-2e417433.js +4 -0
- package/lib/duet/{p-883d13d2.system.entry.js → p-2f5ae557.system.entry.js} +1 -1
- package/lib/duet/p-2ff1d200.entry.js +4 -0
- package/lib/duet/{p-31dcdb86.entry.js → p-3095009a.entry.js} +1 -1
- package/lib/duet/{p-5a9b782c.entry.js → p-32207489.entry.js} +1 -1
- package/lib/duet/{p-91c5a1c8.system.entry.js → p-3447a0d5.system.entry.js} +1 -1
- package/lib/duet/{p-b4ad5c7e.system.entry.js → p-389f0a82.system.entry.js} +1 -1
- package/lib/duet/{p-cdf0bc59.entry.js → p-38c651af.entry.js} +1 -1
- package/lib/duet/{p-d786e65c.entry.js → p-390d28f8.entry.js} +1 -1
- package/lib/duet/{p-23b7e9b5.system.entry.js → p-392eff23.system.entry.js} +2 -2
- package/lib/duet/{p-102dfbe4.entry.js → p-399daeeb.entry.js} +1 -1
- package/lib/duet/{p-de868afd.entry.js → p-3c0c4647.entry.js} +1 -1
- package/lib/duet/{p-341c73ed.system.entry.js → p-3d7e8a4c.system.entry.js} +1 -1
- package/lib/duet/{p-ae3420e6.system.js → p-3ea20a06.system.js} +1 -1
- package/lib/duet/{p-1f9989a6.system.entry.js → p-40a9a9ec.system.entry.js} +1 -1
- package/lib/duet/{p-682277c7.system.entry.js → p-424991f9.system.entry.js} +1 -1
- package/lib/duet/p-43c0bdf6.system.entry.js +4 -0
- package/lib/duet/{p-59443b10.system.entry.js → p-4467e702.system.entry.js} +1 -1
- package/lib/duet/{p-5c6f4f5b.entry.js → p-44dbafbc.entry.js} +1 -1
- package/lib/duet/{p-28df1178.system.entry.js → p-464ba021.system.entry.js} +1 -1
- package/lib/duet/p-46779515.entry.js +4 -0
- package/lib/duet/{p-28b04b91.entry.js → p-46862b49.entry.js} +1 -1
- package/lib/duet/{p-0cb26302.entry.js → p-46d11c81.entry.js} +1 -1
- package/lib/duet/{p-ca52c41a.system.entry.js → p-47639ffb.system.entry.js} +1 -1
- package/lib/duet/p-479dbb1a.entry.js +4 -0
- package/lib/duet/{p-733a386f.system.entry.js → p-480818a9.system.entry.js} +1 -1
- package/lib/duet/{p-a48872f4.system.entry.js → p-4c945e8d.system.entry.js} +1 -1
- package/lib/duet/p-4ce3657e.js +5 -0
- package/lib/duet/{p-dfc069a4.system.entry.js → p-4d4ee898.system.entry.js} +1 -1
- package/lib/duet/{p-edc9b555.entry.js → p-4e8caaa1.entry.js} +1 -1
- package/lib/duet/p-4f748c8f.system.entry.js +4 -0
- package/lib/duet/{p-b28b6056.entry.js → p-54647826.entry.js} +1 -1
- package/lib/duet/{p-65a74e17.system.entry.js → p-56359195.system.entry.js} +2 -2
- package/lib/duet/p-56a9d89a.js +4 -0
- package/lib/duet/{p-281b2b5d.system.entry.js → p-59e27cad.system.entry.js} +1 -1
- package/lib/duet/{p-0ed55531.entry.js → p-5a05ac1c.entry.js} +1 -1
- package/lib/duet/{p-c9cab8c2.system.entry.js → p-5c40f796.system.entry.js} +1 -1
- package/lib/duet/{p-c6c6c25a.entry.js → p-5ce67557.entry.js} +1 -1
- package/lib/duet/{p-e1c09777.system.entry.js → p-5fc41341.system.entry.js} +1 -1
- package/lib/duet/{p-6430224c.system.entry.js → p-609ddf66.system.entry.js} +1 -1
- package/lib/duet/{p-1ce03a3a.entry.js → p-6127a46f.entry.js} +1 -1
- package/lib/duet/{p-3a302ff4.entry.js → p-62197a6b.entry.js} +1 -1
- package/lib/duet/p-6229bcd8.system.js +4 -0
- package/lib/duet/{p-fd68976a.entry.js → p-64de9f31.entry.js} +1 -1
- package/lib/duet/{p-a7f744e6.entry.js → p-65a7b2e7.entry.js} +1 -1
- package/lib/duet/{p-746c4bff.system.entry.js → p-667b336e.system.entry.js} +1 -1
- package/lib/duet/p-66fa5726.system.js +4 -0
- package/lib/duet/{p-9e498391.system.entry.js → p-67928d56.system.entry.js} +1 -1
- package/lib/duet/{p-14709e0a.system.entry.js → p-67d95d6b.system.entry.js} +2 -2
- package/lib/duet/{p-c18f8690.system.entry.js → p-6b4c3ca3.system.entry.js} +1 -1
- package/lib/duet/{p-6409bcfb.system.js → p-6b51c48f.system.js} +1 -1
- package/lib/duet/{p-0883306d.entry.js → p-6bd2ee7c.entry.js} +1 -1
- package/lib/duet/{p-d56f03f8.system.entry.js → p-6e0bf246.system.entry.js} +1 -1
- package/lib/duet/{p-2a0a2d22.entry.js → p-6e7593cc.entry.js} +1 -1
- package/lib/duet/{p-23b80b3e.entry.js → p-6efad73a.entry.js} +1 -1
- package/lib/duet/{p-f55bc4f2.system.entry.js → p-70597f4c.system.entry.js} +1 -1
- package/lib/duet/{p-8d6996cb.system.entry.js → p-72481e45.system.entry.js} +1 -1
- package/lib/duet/{p-ec6119b3.system.entry.js → p-72e3606a.system.entry.js} +1 -1
- package/lib/duet/p-7610d693.entry.js +4 -0
- package/lib/duet/{p-b8a679d4.system.entry.js → p-77a0c991.system.entry.js} +1 -1
- package/lib/duet/{p-6bf1d93b.entry.js → p-7a2affb3.entry.js} +1 -1
- package/lib/duet/{p-97dcfc10.entry.js → p-7a5289a2.entry.js} +1 -1
- package/lib/duet/p-7ec3d3e3.entry.js +4 -0
- package/lib/duet/{p-2c780825.system.entry.js → p-8001d81f.system.entry.js} +1 -1
- package/lib/duet/{p-c9edc2f5.entry.js → p-80982954.entry.js} +1 -1
- package/lib/duet/{p-4ac51cbc.entry.js → p-81f0049b.entry.js} +1 -1
- package/lib/duet/p-832472d6.system.entry.js +4 -0
- package/lib/duet/{p-c5f069a2.system.entry.js → p-83331645.system.entry.js} +1 -1
- package/lib/duet/p-83d919a0.system.entry.js +4 -0
- package/lib/duet/{p-c6440b7a.system.entry.js → p-843b6ffb.system.entry.js} +1 -1
- package/lib/duet/{p-9b22764a.system.entry.js → p-877d4d36.system.entry.js} +1 -1
- package/lib/duet/p-8a5bd61a.js +4 -0
- package/lib/duet/{p-e191bcd7.entry.js → p-8a95f91f.entry.js} +1 -1
- package/lib/duet/{p-39748f5b.system.entry.js → p-8e4cdc90.system.entry.js} +1 -1
- package/lib/duet/{p-96a2950c.system.entry.js → p-90a3d2a3.system.entry.js} +1 -1
- package/lib/duet/{p-d0346501.entry.js → p-93063ada.entry.js} +1 -1
- package/lib/duet/{p-917794fe.system.entry.js → p-952d883d.system.entry.js} +1 -1
- package/lib/duet/{p-036cf847.entry.js → p-9753e113.entry.js} +1 -1
- package/lib/duet/{p-d2998633.system.entry.js → p-9801b273.system.entry.js} +1 -1
- package/lib/duet/{p-4fe2417b.system.entry.js → p-989e7207.system.entry.js} +1 -1
- package/lib/duet/{p-b73a17a4.entry.js → p-99b95f5b.entry.js} +1 -1
- package/lib/duet/{p-ad44b252.system.entry.js → p-99f20857.system.entry.js} +1 -1
- package/lib/duet/{p-2b88e2a6.entry.js → p-9bcd668f.entry.js} +1 -1
- package/lib/duet/p-9d336f77.system.js +4 -0
- package/lib/duet/p-9e453fe1.entry.js +4 -0
- package/lib/duet/{p-9f289df9.entry.js → p-9ec8dbd7.entry.js} +1 -1
- package/lib/duet/p-a30e2463.entry.js +4 -0
- package/lib/duet/{p-58df7fa5.system.entry.js → p-a5db972f.system.entry.js} +1 -1
- package/lib/duet/{p-561cea14.entry.js → p-a6350c1a.entry.js} +1 -1
- package/lib/duet/{p-3ff1b416.entry.js → p-a6bea7ba.entry.js} +1 -1
- package/lib/duet/{p-e10bc642.system.entry.js → p-a6cc3e96.system.entry.js} +1 -1
- package/lib/duet/{p-cb395cd0.entry.js → p-a78172c5.entry.js} +1 -1
- package/lib/duet/{p-c1974cab.system.entry.js → p-a79a1f51.system.entry.js} +1 -1
- package/lib/duet/{p-7bc341d3.entry.js → p-ab06a9a9.entry.js} +1 -1
- package/lib/duet/{p-534b8454.js → p-ac4e4fce.js} +1 -1
- package/lib/duet/{p-21d87f83.entry.js → p-ad30ebd0.entry.js} +1 -1
- package/lib/duet/{p-61d393a4.entry.js → p-ad64f0f9.entry.js} +1 -1
- package/lib/duet/{p-06f4c377.system.entry.js → p-ae24eb7a.system.entry.js} +1 -1
- package/lib/duet/{p-02367465.entry.js → p-ae76d6f4.entry.js} +1 -1
- package/lib/duet/{p-7a37a7d4.system.entry.js → p-af8baa25.system.entry.js} +1 -1
- package/lib/duet/{p-c594b223.js → p-b076d1e9.js} +1 -1
- package/lib/duet/p-b18e0e24.entry.js +4 -0
- package/lib/duet/p-b24ea804.system.js +4 -0
- package/lib/duet/p-b3d4537f.entry.js +4 -0
- package/lib/duet/{p-b3f35171.entry.js → p-b518aa35.entry.js} +1 -1
- package/lib/duet/{p-6bff5f9f.system.entry.js → p-b717cd3c.system.entry.js} +1 -1
- package/lib/duet/{p-11ee216a.entry.js → p-b8b3d2bd.entry.js} +1 -1
- package/lib/duet/{p-c4eda159.system.entry.js → p-b8b78b10.system.entry.js} +1 -1
- package/lib/duet/{p-e8388ca9.system.entry.js → p-b9bdc17f.system.entry.js} +1 -1
- package/lib/duet/{p-afed10df.entry.js → p-bc33cf30.entry.js} +1 -1
- package/lib/duet/{p-49fb1e7a.system.entry.js → p-bd942603.system.entry.js} +1 -1
- package/lib/duet/{p-3b6dd272.system.entry.js → p-bea64888.system.entry.js} +1 -1
- package/lib/duet/{p-ae790ae1.entry.js → p-c03ab48d.entry.js} +1 -1
- package/lib/duet/{p-ed9a284a.entry.js → p-c0f912cc.entry.js} +1 -1
- package/lib/duet/{p-e27caa72.system.js → p-c167fa9c.system.js} +1 -1
- package/lib/duet/{p-3e6d0c30.system.entry.js → p-c29e36d2.system.entry.js} +1 -1
- package/lib/duet/p-c2cc4081.system.entry.js +4 -0
- package/lib/duet/{p-e9b67de4.entry.js → p-c418caff.entry.js} +1 -1
- package/lib/duet/{p-03ac358d.system.entry.js → p-c4806b54.system.entry.js} +1 -1
- package/lib/duet/p-c4fcc1fa.entry.js +4 -0
- package/lib/duet/{p-2bb9d33b.system.entry.js → p-c5d5ecc9.system.entry.js} +1 -1
- package/lib/duet/p-c5da89d2.entry.js +4 -0
- package/lib/duet/{p-3499470e.entry.js → p-c91a0af8.entry.js} +1 -1
- package/lib/duet/p-c9906be7.system.js +5 -0
- package/lib/duet/p-cbcf289e.entry.js +4 -0
- package/lib/duet/{p-71b5840a.entry.js → p-cf7c4d7a.entry.js} +1 -1
- package/lib/duet/{p-6b4d54d0.system.entry.js → p-d0ecd074.system.entry.js} +1 -1
- package/lib/duet/{p-0e2efa7c.js → p-d32bd233.js} +1 -1
- package/lib/duet/{p-b1f363ec.system.js → p-d41d25b8.system.js} +1 -1
- package/lib/duet/{p-98c3503e.entry.js → p-d42fdaeb.entry.js} +1 -1
- package/lib/duet/{p-5fefa37e.system.entry.js → p-d444335a.system.entry.js} +1 -1
- package/lib/duet/{p-3cb26df9.system.entry.js → p-d6a10b17.system.entry.js} +1 -1
- package/lib/duet/{p-cb9180df.entry.js → p-d712ab71.entry.js} +1 -1
- package/lib/duet/p-d7f543fb.js +4 -0
- package/lib/duet/p-d8861775.system.js +4 -0
- package/lib/duet/{p-ebdebc5b.entry.js → p-d891a3d5.entry.js} +1 -1
- package/lib/duet/{p-5fc533ae.entry.js → p-d937f8a0.entry.js} +1 -1
- package/lib/duet/p-d997b605.system.js +4 -0
- package/lib/duet/{p-f830361c.entry.js → p-daf28095.entry.js} +1 -1
- package/lib/duet/{p-2f5fcc3a.system.entry.js → p-dc03d7c1.system.entry.js} +1 -1
- package/lib/duet/{p-9e410004.system.entry.js → p-dca60359.system.entry.js} +1 -1
- package/lib/duet/{p-0461e7e9.system.entry.js → p-dd11e9d1.system.entry.js} +1 -1
- package/lib/duet/{p-ee0e4a1f.system.entry.js → p-dfb49ef9.system.entry.js} +1 -1
- package/lib/duet/{p-eab16154.entry.js → p-dfbe0fb4.entry.js} +1 -1
- package/lib/duet/{p-35df4480.system.entry.js → p-e0a33b1b.system.entry.js} +1 -1
- package/lib/duet/{p-632353fd.system.entry.js → p-e134a4fb.system.entry.js} +1 -1
- package/lib/duet/{p-1d05a412.system.entry.js → p-e1a10b0a.system.entry.js} +1 -1
- package/lib/duet/{p-feea3395.system.entry.js → p-e4810a48.system.entry.js} +1 -1
- package/lib/duet/{p-e282d081.entry.js → p-e4b1161d.entry.js} +1 -1
- package/lib/duet/{p-2b71cb1a.system.entry.js → p-e607f70f.system.entry.js} +1 -1
- package/lib/duet/{p-e51b7a02.entry.js → p-e84be897.entry.js} +1 -1
- package/lib/duet/{p-c57b845b.entry.js → p-e93e2173.entry.js} +1 -1
- package/lib/duet/{p-18a96271.entry.js → p-e9727644.entry.js} +1 -1
- package/lib/duet/{p-3c1e1b2d.system.entry.js → p-eae140c0.system.entry.js} +1 -1
- package/lib/duet/{p-7559dcad.entry.js → p-eb247c69.entry.js} +1 -1
- package/lib/duet/{p-dbec9fa6.system.entry.js → p-eca1a4e7.system.entry.js} +2 -2
- package/lib/duet/{p-10524349.entry.js → p-ecca6f8b.entry.js} +1 -1
- package/lib/duet/p-eef0fb8e.js +4 -0
- package/lib/duet/p-f31077cb.entry.js +4 -0
- package/lib/duet/{p-02222785.entry.js → p-f379651a.entry.js} +1 -1
- package/lib/duet/{p-fb626606.system.entry.js → p-f55ab6b2.system.entry.js} +1 -1
- package/lib/duet/{p-4347d3c9.entry.js → p-f7e90f95.entry.js} +1 -1
- package/lib/duet/{p-93541f56.system.entry.js → p-fabffe99.system.entry.js} +1 -1
- package/lib/duet/{p-d6f6125e.system.entry.js → p-fe9466e8.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-1b009bcf.js → a11y-utils-2a2d96fc.js} +1 -1
- package/lib/esm/{app-globals-b9758fdf.js → app-globals-a715e37b.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +14 -11
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +3 -3
- package/lib/esm/duet-breadcrumbs.entry.js +3 -3
- package/lib/esm/duet-button_2.entry.js +8 -11
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +9 -8
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +5 -5
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +3 -3
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +5 -5
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +4 -4
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +3 -3
- 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 +47 -43
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +6 -5
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-item.entry.js +5 -5
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +5 -5
- package/lib/esm/duet-multiselect.entry.js +4 -4
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +3 -3
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +3 -3
- package/lib/esm/duet-phone-input.entry.js +7 -6
- package/lib/esm/duet-popup-menu_2.entry.js +12 -9
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +4 -4
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +4 -4
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +5 -5
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +5 -5
- package/lib/esm/duet-slideout.entry.js +5 -5
- package/lib/esm/duet-status-icon.entry.js +11 -8
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +3 -3
- 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 +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm/duet-toolbar-item.entry.js +5 -5
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
- package/lib/esm/duet-tooltip.entry.js +5 -5
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-fe38d5a8.js → errorcodes.utils-4706f52b.js} +1 -1
- package/lib/esm/{floating-ui.dom.esm-ebc91b33.js → floating-ui.dom.esm-ef361ca5.js} +50 -27
- package/lib/esm/{focus-utils-81b0913e.js → focus-utils-24b4b611.js} +1 -1
- package/lib/esm/{index-7fc39d5e.js → index-34ea6605.js} +2 -2
- package/lib/esm/{language-utils-bbed41c3.js → language-utils-b9cfda88.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-b5cb1606.js → slot-utils-c2720dae.js} +1 -1
- package/lib/esm/{themeable-component-860041c5.js → themeable-component-2575bd2f.js} +3 -2
- package/lib/esm/{tokens-5ce17832.js → tokens-85fb95d1.js} +1 -1
- package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-e22542d2.js} +1 -20
- package/lib/esm-es5/{a11y-utils-1b009bcf.js → a11y-utils-2a2d96fc.js} +1 -1
- package/lib/esm-es5/{app-globals-b9758fdf.js → app-globals-a715e37b.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 +2 -2
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +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 +2 -2
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +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-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +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 +1 -1
- 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-fe38d5a8.js → errorcodes.utils-4706f52b.js} +1 -1
- package/lib/esm-es5/floating-ui.dom.esm-ef361ca5.js +4 -0
- package/lib/esm-es5/{focus-utils-81b0913e.js → focus-utils-24b4b611.js} +1 -1
- package/lib/esm-es5/index-34ea6605.js +4 -0
- package/lib/esm-es5/{language-utils-bbed41c3.js → language-utils-b9cfda88.js} +1 -1
- package/lib/esm-es5/loader.js +2 -2
- package/lib/esm-es5/{slot-utils-b5cb1606.js → slot-utils-c2720dae.js} +1 -1
- package/lib/esm-es5/themeable-component-2575bd2f.js +4 -0
- package/lib/esm-es5/{tokens-5ce17832.js → tokens-85fb95d1.js} +1 -1
- package/lib/esm-es5/watch-options-e22542d2.js +4 -0
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-grid/duet-grid.d.ts +4 -4
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +0 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -1
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
- package/lib/types/components.d.ts +2 -2
- package/package.json +4 -4
- package/lib/duet/p-0dc9089b.system.js +0 -4
- package/lib/duet/p-0e753feb.entry.js +0 -4
- package/lib/duet/p-1844f05a.entry.js +0 -4
- package/lib/duet/p-195ff1d3.entry.js +0 -4
- package/lib/duet/p-1bf70e2e.system.js +0 -4
- package/lib/duet/p-1fbf259e.js +0 -4
- package/lib/duet/p-2b197ef4.entry.js +0 -4
- package/lib/duet/p-35374149.entry.js +0 -4
- package/lib/duet/p-3c8f2480.entry.js +0 -4
- package/lib/duet/p-50e9e9ab.entry.js +0 -4
- package/lib/duet/p-56df20b9.js +0 -5
- package/lib/duet/p-6040e724.system.js +0 -4
- package/lib/duet/p-6312466b.system.js +0 -5
- package/lib/duet/p-63ea9155.entry.js +0 -4
- package/lib/duet/p-6a5ea5bc.entry.js +0 -4
- package/lib/duet/p-74ca330b.entry.js +0 -4
- package/lib/duet/p-796281c2.js +0 -4
- package/lib/duet/p-7d8a2628.js +0 -4
- package/lib/duet/p-7fa80fa6.system.entry.js +0 -4
- package/lib/duet/p-81287261.js +0 -4
- package/lib/duet/p-93fb1172.system.entry.js +0 -4
- package/lib/duet/p-97992dea.system.entry.js +0 -4
- package/lib/duet/p-a0109bd5.entry.js +0 -4
- package/lib/duet/p-a2ed4290.entry.js +0 -4
- package/lib/duet/p-aaa7a7bd.js +0 -4
- package/lib/duet/p-afad5fd3.system.js +0 -4
- package/lib/duet/p-b8119989.entry.js +0 -4
- package/lib/duet/p-c185dfa0.js +0 -4
- package/lib/duet/p-d73fbc78.system.entry.js +0 -4
- package/lib/duet/p-d7aa5d3b.system.entry.js +0 -4
- package/lib/duet/p-da373b15.entry.js +0 -4
- package/lib/duet/p-e1b912a0.entry.js +0 -4
- package/lib/duet/p-e216bea4.system.js +0 -4
- package/lib/duet/p-e9be3542.system.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
- package/lib/esm-es5/index-7fc39d5e.js +0 -4
- package/lib/esm-es5/themeable-component-860041c5.js +0 -4
- package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duetds/components",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.8.1",
|
|
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.1.
|
|
49
|
-
"@duetds/tokens": "4.0.
|
|
48
|
+
"@duetds/icons": "4.1.20",
|
|
49
|
+
"@duetds/tokens": "4.0.97",
|
|
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": "729c5501f801fb581b5d9c2cac74a607a94210d5"
|
|
81
81
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var t,n=1,e=arguments.length;n<e;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))r[i]=t[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,t,n,e){function i(r){return r instanceof n?r:new n((function(t){t(r)}))}return new(n||(n=Promise))((function(n,a){function u(r){try{f(e.next(r))}catch(r){a(r)}}function o(r){try{f(e["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(u,o)}f((e=e.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,i,a,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(r){return function(t){return f([r,t])}}function f(o){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(e=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(r,n)}catch(r){o=[6,r];i=0}finally{e=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,t){var n={};for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0)n[e]=r[e];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,e=Object.getOwnPropertySymbols(r);i<e.length;i++){if(t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i]))n[e[i]]=r[e[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var e=0,i=t.length,a;e<i;e++){if(a||!(e in t)){if(!a)a=Array.prototype.slice.call(t,0,e);a[e]=t[e]}}return r.concat(a||Array.prototype.slice.call(t))};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register([],(function(r){"use strict";return{execute:function(){var t=this;r("b",mr);var n=Math.min;var e=Math.max;var i={left:"right",right:"left",bottom:"top",top:"bottom"};var a={start:"end",end:"start"};function u(r,t,i){return e(r,n(t,i))}function o(r,t){return typeof r==="function"?r(t):r}function f(r){return r.split("-")[0]}function c(r){return r.split("-")[1]}function s(r){return r==="x"?"y":"x"}function v(r){return r==="y"?"height":"width"}function l(r){return["top","bottom"].includes(f(r))?"y":"x"}function d(r){return s(l(r))}function h(r,t,n){if(n===void 0){n=false}var e=c(r);var i=d(r);var a=v(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){u=m(u)}return[u,m(u)]}function _(r){var t=m(r);return[g(r),t,g(t)]}function g(r){return r.replace(/start|end/g,(function(r){return a[r]}))}function y(r,t,n){var e=["left","right"];var i=["right","left"];var a=["top","bottom"];var u=["bottom","top"];switch(r){case"top":case"bottom":if(n)return t?i:e;return t?e:i;case"left":case"right":return t?a:u;default:return[]}}function p(r,t,n,e){var i=c(r);var a=y(f(r),n==="start",e);if(i){a=a.map((function(r){return r+"-"+i}));if(t){a=a.concat(a.map(g))}}return a}function m(r){return r.replace(/left|right|bottom|top/g,(function(r){return i[r]}))}function w(r){return __assign({top:0,right:0,bottom:0,left:0},r)}function x(r){return typeof r!=="number"?w(r):{top:r,right:r,bottom:r,left:r}}function b(r){var t=r.x,n=r.y,e=r.width,i=r.height;return{width:e,height:i,top:n,left:t,right:t+e,bottom:n+i,x:t,y:n}}function A(r,t,n){var e=r.reference,i=r.floating;var a=l(t);var u=d(t);var o=v(u);var s=f(t);var h=a==="y";var _=e.x+e.width/2-i.width/2;var g=e.y+e.height/2-i.height/2;var y=e[o]/2-i[o]/2;var p;switch(s){case"top":p={x:_,y:e.y-i.height};break;case"bottom":p={x:_,y:e.y+e.height};break;case"right":p={x:e.x+e.width,y:g};break;case"left":p={x:e.x-i.width,y:g};break;default:p={x:e.x,y:e.y}}switch(c(t)){case"start":p[u]-=y*(n&&h?-1:1);break;case"end":p[u]+=y*(n&&h?-1:1);break}return p}var k=function(r,n,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,u,o,f,c,s,v,l,d,h,_,g,y,p,m,w,x,b,k,S,R,O,F,j;var P,T;return __generator(this,(function(C){switch(C.label){case 0:t=e.placement,i=t===void 0?"bottom":t,a=e.strategy,u=a===void 0?"absolute":a,o=e.middleware,f=o===void 0?[]:o,c=e.platform;s=f.filter(Boolean);return[4,c.isRTL==null?void 0:c.isRTL(n)];case 1:v=C.sent();return[4,c.getElementRects({reference:r,floating:n,strategy:u})];case 2:l=C.sent();d=A(l,i,v),h=d.x,_=d.y;g=i;y={};p=0;m=0;C.label=3;case 3:if(!(m<s.length))return[3,11];w=s[m],x=w.name,b=w.fn;return[4,b({x:h,y:_,initialPlacement:i,placement:g,strategy:u,middlewareData:y,rects:l,platform:c,elements:{reference:r,floating:n}})];case 4:k=C.sent(),S=k.x,R=k.y,O=k.data,F=k.reset;h=S!=null?S:h;_=R!=null?R:_;y=__assign(__assign({},y),(P={},P[x]=__assign(__assign({},y[x]),O),P));if(!(F&&p<=50))return[3,10];p++;if(!(typeof F==="object"))return[3,9];if(F.placement){g=F.placement}if(!F.rects)return[3,8];if(!(F.rects===true))return[3,6];return[4,c.getElementRects({reference:r,floating:n,strategy:u})];case 5:j=C.sent();return[3,7];case 6:j=F.rects;C.label=7;case 7:l=j;C.label=8;case 8:T=A(l,g,v),h=T.x,_=T.y;C.label=9;case 9:m=-1;C.label=10;case 10:m++;return[3,3];case 11:return[2,{x:h,y:_,placement:g,strategy:u,middlewareData:y}]}}))}))};function S(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,f,c,s,v,l,d,h,_,g,y,p,m,w,A,k,S,R,O,F,j,P,T,C,M,D,L,E,z,N;var V;return __generator(this,(function(q){switch(q.label){case 0:if(t===void 0){t={}}e=r.x,i=r.y,a=r.platform,u=r.rects,f=r.elements,c=r.strategy;s=o(t,r),v=s.boundary,l=v===void 0?"clippingAncestors":v,d=s.rootBoundary,h=d===void 0?"viewport":d,_=s.elementContext,g=_===void 0?"floating":_,y=s.altBoundary,p=y===void 0?false:y,m=s.padding,w=m===void 0?0:m;A=x(w);k=g==="floating"?"reference":"floating";S=f[p?k:g];O=b;j=(F=a).getClippingRect;V={};return[4,a.isElement==null?void 0:a.isElement(S)];case 1:if(!((n=q.sent())!=null?n:true))return[3,2];P=S;return[3,5];case 2:T=S.contextElement;if(T)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(f.floating)];case 3:T=q.sent();q.label=4;case 4:P=T;q.label=5;case 5:return[4,j.apply(F,[(V.element=P,V.boundary=l,V.rootBoundary=h,V.strategy=c,V)])];case 6:R=O.apply(void 0,[q.sent()]);C=g==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(f.floating)];case 7:M=q.sent();return[4,a.isElement==null?void 0:a.isElement(M)];case 8:if(!q.sent())return[3,10];return[4,a.getScale==null?void 0:a.getScale(M)];case 9:L=q.sent()||{x:1,y:1};return[3,11];case 10:L={x:1,y:1};q.label=11;case 11:D=L;z=b;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:C,offsetParent:M,strategy:c})];case 12:N=q.sent();return[3,14];case 13:N=C;q.label=14;case 14:E=z.apply(void 0,[N]);return[2,{top:(R.top-E.top+A.top)/D.y,bottom:(E.bottom-R.bottom+A.bottom)/D.y,left:(R.left-E.left+A.left)/D.x,right:(E.right-R.right+A.right)/D.x}]}}))}))}var R=r("a",(function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,a,f,s,l,h,_,g,y,p,m,w,b,A,k,S,R,O,F,j,P,T,C,M,D,L,E,z,N,V,q,B,G,H;var W,I;return __generator(this,(function(J){switch(J.label){case 0:e=t.x,i=t.y,a=t.placement,f=t.rects,s=t.platform,l=t.elements,h=t.middlewareData;_=o(r,t)||{},g=_.element,y=_.padding,p=y===void 0?0:y;if(g==null){return[2,{}]}m=x(p);w={x:e,y:i};b=d(a);A=v(b);return[4,s.getDimensions(g)];case 1:k=J.sent();S=b==="y";R=S?"top":"left";O=S?"bottom":"right";F=S?"clientHeight":"clientWidth";j=f.reference[A]+f.reference[b]-w[b]-f.floating[A];P=w[b]-f.reference[b];return[4,s.getOffsetParent==null?void 0:s.getOffsetParent(g)];case 2:T=J.sent();C=T?T[F]:0;M=!C;if(M)return[3,4];return[4,s.isElement==null?void 0:s.isElement(T)];case 3:M=!J.sent();J.label=4;case 4:if(M){C=l.floating[F]||f.floating[A]}D=j/2-P/2;L=C/2-k[A]/2-1;E=n(m[R],L);z=n(m[O],L);N=E;V=C-k[A]-z;q=C/2-k[A]/2+D;B=u(N,q,V);G=!h.arrow&&c(a)!=null&&q!==B&&f.reference[A]/2-(q<N?E:z)-k[A]/2<0;H=G?q<N?q-N:q-V:0;return[2,(W={},W[b]=w[b]+H,W.data=__assign((I={},I[b]=B,I.centerOffset=q-B-H,I),G&&{alignmentOffset:H}),W.reset=G,W)]}}))}))}}}));var O=r("f",(function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,c,s,v,l,d,g,y,w,x,b,A,k,R,O,F,j,P,T,C,M,D,L,E,z,N,V,q,B,G,H,W,I;return __generator(this,(function(J){switch(J.label){case 0:i=t.placement,a=t.middlewareData,u=t.rects,c=t.initialPlacement,s=t.platform,v=t.elements;l=o(r,t),d=l.mainAxis,g=d===void 0?true:d,y=l.crossAxis,w=y===void 0?true:y,x=l.fallbackPlacements,b=l.fallbackStrategy,A=b===void 0?"bestFit":b,k=l.fallbackAxisSideDirection,R=k===void 0?"none":k,O=l.flipAlignment,F=O===void 0?true:O,j=__rest(l,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset){return[2,{}]}P=f(i);T=f(c)===c;return[4,s.isRTL==null?void 0:s.isRTL(v.floating)];case 1:C=J.sent();M=x||(T||!F?[m(c)]:_(c));if(!x&&R!=="none"){M.push.apply(M,p(c,F,R,C))}D=__spreadArray([c],M,true);return[4,S(t,j)];case 2:L=J.sent();E=[];z=((e=a.flip)==null?void 0:e.overflows)||[];if(g){E.push(L[P])}if(w){N=h(i,u,C);E.push(L[N[0]],L[N[1]])}z=__spreadArray(__spreadArray([],z,true),[{placement:i,overflows:E}],false);if(!E.every((function(r){return r<=0}))){B=(((V=a.flip)==null?void 0:V.index)||0)+1;G=D[B];if(G){return[2,{data:{index:B,overflows:z},reset:{placement:G}}]}H=(q=z.filter((function(r){return r.overflows[0]<=0})).sort((function(r,t){return r.overflows[1]-t.overflows[1]}))[0])==null?void 0:q.placement;if(!H){switch(A){case"bestFit":{I=(W=z.map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,t){return r+t}),0)]})).sort((function(r,t){return r[1]-t[1]}))[0])==null?void 0:W[0];if(I){H=I}break}case"initialPlacement":H=c;break}}if(i!==H){return[2,{reset:{placement:H}}]}}return[2,{}]}}))}))}}}));function F(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,s,v,d,h,_,g,y,p,m;return __generator(this,(function(w){switch(w.label){case 0:n=r.placement,e=r.platform,i=r.elements;return[4,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();u=f(n);s=c(n);v=l(n)==="y";d=["left","top"].includes(u)?-1:1;h=a&&v?-1:1;_=o(t,r);g=typeof _==="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},_),y=g.mainAxis,p=g.crossAxis,m=g.alignmentAxis;if(s&&typeof m==="number"){p=s==="end"?m*-1:m}return[2,v?{x:p*h,y:y*d}:{x:y*d,y:p*h}]}}))}))}var j=r("o",(function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(c){switch(c.label){case 0:i=t.x,a=t.y,u=t.placement,o=t.middlewareData;return[4,F(t,r)];case 1:f=c.sent();if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOffset){return[2,{}]}return[2,{x:i+f.x,y:a+f.y,data:__assign(__assign({},f),{placement:u})}]}}))}))}}}));var P=r("s",(function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,c,v,d,h,_,g,y,p,m,w,x,b,A,k,R,O,F,k,R,j,P,T;var C;return __generator(this,(function(M){switch(M.label){case 0:n=t.x,e=t.y,i=t.placement;a=o(r,t),c=a.mainAxis,v=c===void 0?true:c,d=a.crossAxis,h=d===void 0?false:d,_=a.limiter,g=_===void 0?{fn:function(r){var t=r.x,n=r.y;return{x:t,y:n}}}:_,y=__rest(a,["mainAxis","crossAxis","limiter"]);p={x:n,y:e};return[4,S(t,y)];case 1:m=M.sent();w=l(f(i));x=s(w);b=p[x];A=p[w];if(v){k=x==="y"?"top":"left";R=x==="y"?"bottom":"right";O=b+m[k];F=b-m[R];b=u(O,b,F)}if(h){k=w==="y"?"top":"left";R=w==="y"?"bottom":"right";j=A+m[k];P=A-m[R];A=u(j,A,P)}T=g.fn(__assign(__assign({},t),(C={},C[x]=b,C[w]=A,C)));return[2,__assign(__assign({},T),{data:{x:T.x-n,y:T.y-e}})]}}))}))}}}));function T(r){var t;return((t=r.ownerDocument)==null?void 0:t.defaultView)||window}function C(r){return T(r).getComputedStyle(r)}function M(r){return r instanceof T(r).Node}function D(r){return M(r)?(r.nodeName||"").toLowerCase():""}function L(r){return r instanceof T(r).HTMLElement}function E(r){return r instanceof T(r).Element}function z(r){if(typeof ShadowRoot==="undefined"){return false}var t=T(r).ShadowRoot;return r instanceof t||r instanceof ShadowRoot}function N(r){var t=C(r),n=t.overflow,e=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&!["inline","contents"].includes(a)}function V(r){return["table","td","th"].includes(D(r))}function q(r){var t=B();var n=C(r);return n.transform!=="none"||n.perspective!=="none"||!t&&(n.backdropFilter?n.backdropFilter!=="none":false)||!t&&(n.filter?n.filter!=="none":false)||["transform","perspective","filter"].some((function(r){return(n.willChange||"").includes(r)}))||["paint","layout","strict","content"].some((function(r){return(n.contain||"").includes(r)}))}function B(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function G(r){return["html","body","#document"].includes(D(r))}var H=Math.min;var W=Math.max;var I=Math.round;function J(r){var t=C(r);var n=parseFloat(t.width)||0;var e=parseFloat(t.height)||0;var i=L(r);var a=i?r.offsetWidth:n;var u=i?r.offsetHeight:e;var o=I(n)!==a||I(e)!==u;if(o){n=a;e=u}return{width:n,height:e,fallback:o}}function K(r){return!E(r)?r.contextElement:r}var Q={x:1,y:1};function U(r){var t=K(r);if(!L(t)){return Q}var n=t.getBoundingClientRect();var e=J(t),i=e.width,a=e.height,u=e.fallback;var o=(u?I(n.width):n.width)/i;var f=(u?I(n.height):n.height)/a;if(!o||!Number.isFinite(o)){o=1}if(!f||!Number.isFinite(f)){f=1}return{x:o,y:f}}var X={x:0,y:0};function Y(r,t,n){var e,i;if(t===void 0){t=true}if(!B()){return X}var a=r?T(r):window;if(!n||t&&n!==a){return X}return{x:((e=a.visualViewport)==null?void 0:e.offsetLeft)||0,y:((i=a.visualViewport)==null?void 0:i.offsetTop)||0}}function Z(r,t,n,e){if(t===void 0){t=false}if(n===void 0){n=false}var i=r.getBoundingClientRect();var a=K(r);var u=Q;if(t){if(e){if(E(e)){u=U(e)}}else{u=U(r)}}var o=Y(a,n,e);var f=(i.left+o.x)/u.x;var c=(i.top+o.y)/u.y;var s=i.width/u.x;var v=i.height/u.y;if(a){var l=T(a);var d=e&&E(e)?T(e):e;var h=l.frameElement;while(h&&e&&d!==l){var _=U(h);var g=h.getBoundingClientRect();var y=getComputedStyle(h);g.x+=(h.clientLeft+parseFloat(y.paddingLeft))*_.x;g.y+=(h.clientTop+parseFloat(y.paddingTop))*_.y;f*=_.x;c*=_.y;s*=_.x;v*=_.y;f+=g.x;c+=g.y;h=T(h).frameElement}}return b({width:s,height:v,x:f,y:c})}function $(r){return((M(r)?r.ownerDocument:r.document)||window.document).documentElement}function rr(r){if(E(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function tr(r){var t=r.rect,n=r.offsetParent,e=r.strategy;var i=L(n);var a=$(n);if(n===a){return t}var u={scrollLeft:0,scrollTop:0};var o={x:1,y:1};var f={x:0,y:0};if(i||!i&&e!=="fixed"){if(D(n)!=="body"||N(a)){u=rr(n)}if(L(n)){var c=Z(n);o=U(n);f.x=c.x+n.clientLeft;f.y=c.y+n.clientTop}}return{width:t.width*o.x,height:t.height*o.y,x:t.x*o.x-u.scrollLeft*o.x+f.x,y:t.y*o.y-u.scrollTop*o.y+f.y}}function nr(r){return Z($(r)).left+rr(r).scrollLeft}function er(r){var t=$(r);var n=rr(r);var e=r.ownerDocument.body;var i=W(t.scrollWidth,t.clientWidth,e.scrollWidth,e.clientWidth);var a=W(t.scrollHeight,t.clientHeight,e.scrollHeight,e.clientHeight);var u=-n.scrollLeft+nr(r);var o=-n.scrollTop;if(C(e).direction==="rtl"){u+=W(t.clientWidth,e.clientWidth)-i}return{width:i,height:a,x:u,y:o}}function ir(r){if(D(r)==="html"){return r}var t=r.assignedSlot||r.parentNode||z(r)&&r.host||$(r);return z(t)?t.host:t}function ar(r){var t=ir(r);if(G(t)){return t.ownerDocument.body}if(L(t)&&N(t)){return t}return ar(t)}function ur(r,t){var n;if(t===void 0){t=[]}var e=ar(r);var i=e===((n=r.ownerDocument)==null?void 0:n.body);var a=T(e);if(i){return t.concat(a,a.visualViewport||[],N(e)?e:[])}return t.concat(e,ur(e))}function or(r,t){var n=T(r);var e=$(r);var i=n.visualViewport;var a=e.clientWidth;var u=e.clientHeight;var o=0;var f=0;if(i){a=i.width;u=i.height;var c=B();if(!c||c&&t==="fixed"){o=i.offsetLeft;f=i.offsetTop}}return{width:a,height:u,x:o,y:f}}function fr(r,t){var n=Z(r,true,t==="fixed");var e=n.top+r.clientTop;var i=n.left+r.clientLeft;var a=L(r)?U(r):{x:1,y:1};var u=r.clientWidth*a.x;var o=r.clientHeight*a.y;var f=i*a.x;var c=e*a.y;return{width:u,height:o,x:f,y:c}}function cr(r,t,n){var e;if(t==="viewport"){e=or(r,n)}else if(t==="document"){e=er($(r))}else if(E(t)){e=fr(t,n)}else{var i=Y(r);e=__assign(__assign({},t),{x:t.x-i.x,y:t.y-i.y})}return b(e)}function sr(r,t){var n=ir(r);if(n===t||!E(n)||G(n)){return false}return C(n).position==="fixed"||sr(n,t)}function vr(r,t){var n=t.get(r);if(n){return n}var e=ur(r).filter((function(r){return E(r)&&D(r)!=="body"}));var i=null;var a=C(r).position==="fixed";var u=a?ir(r):r;while(E(u)&&!G(u)){var o=C(u);var f=q(u);if(!f&&o.position==="fixed"){i=null}var c=a?!f&&!i:!f&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||N(u)&&!f&&sr(r,u);if(c){e=e.filter((function(r){return r!==u}))}else{i=o}u=ir(u)}t.set(r,e);return e}function lr(r){var t=r.element,n=r.boundary,e=r.rootBoundary,i=r.strategy;var a=n==="clippingAncestors"?vr(t,this._c):[].concat(n);var u=__spreadArray(__spreadArray([],a,true),[e],false);var o=u[0];var f=u.reduce((function(r,n){var e=cr(t,n,i);r.top=W(e.top,r.top);r.right=H(e.right,r.right);r.bottom=H(e.bottom,r.bottom);r.left=W(e.left,r.left);return r}),cr(t,o,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function dr(r){return J(r)}function hr(r,t){if(!L(r)||C(r).position==="fixed"){return null}if(t){return t(r)}return r.offsetParent}function _r(r){var t=ir(r);while(L(t)&&!G(t)){if(q(t)){return t}else{t=ir(t)}}return null}function gr(r,t){var n=T(r);if(!L(r)){return n}var e=hr(r,t);while(e&&V(e)&&C(e).position==="static"){e=hr(e,t)}if(e&&(D(e)==="html"||D(e)==="body"&&C(e).position==="static"&&!q(e))){return n}return e||_r(r)||n}function yr(r,t,n){var e=L(t);var i=$(t);var a=n==="fixed";var u=Z(r,true,a,t);var o={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(e||!e&&!a){if(D(t)!=="body"||N(i)){o=rr(t)}if(L(t)){var c=Z(t,true,a,t);f.x=c.x+t.clientLeft;f.y=c.y+t.clientTop}else if(i){f.x=nr(i)}}return{x:u.left+o.scrollLeft-f.x,y:u.top+o.scrollTop-f.y,width:u.width,height:u.height}}var pr={getClippingRect:lr,convertOffsetParentRelativeRectToViewportRelativeRect:tr,isElement:E,getDimensions:dr,getOffsetParent:gr,getDocumentElement:$,getScale:U,getElementRects:function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a,u,o,f;var c;return __generator(this,(function(s){switch(s.label){case 0:t=r.reference,n=r.floating,e=r.strategy;i=this.getOffsetParent||gr;a=this.getDimensions;c={};u=yr;o=[t];return[4,i(n)];case 1:c.reference=u.apply(void 0,o.concat([s.sent(),e]));f=[{x:0,y:0}];return[4,a(n)];case 2:return[2,(c.floating=__assign.apply(void 0,f.concat([s.sent()])),c)]}}))}))},getClientRects:function(r){return Array.from(r.getClientRects())},isRTL:function(r){return C(r).direction==="rtl"}};function mr(r,t,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,c=f===void 0?true:f,s=e.animationFrame,v=s===void 0?false:s;var l=a||o?__spreadArray(__spreadArray([],E(r)?ur(r):r.contextElement?ur(r.contextElement):[],true),ur(t),true):[];l.forEach((function(r){var t=!E(r)&&r.toString().includes("V");if(a&&(v?t:true)){r.addEventListener("scroll",n,{passive:true})}o&&r.addEventListener("resize",n)}));var d=null;if(c){d=new ResizeObserver((function(){n()}));E(r)&&!v&&d.observe(r);if(!E(r)&&r.contextElement&&!v){d.observe(r.contextElement)}d.observe(t)}var h;var _=v?Z(r):null;if(v){g()}function g(){var t=Z(r);if(_&&(t.x!==_.x||t.y!==_.y||t.width!==_.width||t.height!==_.height)){n()}_=t;h=requestAnimationFrame(g)}n();return function(){var r;l.forEach((function(r){a&&r.removeEventListener("scroll",n);o&&r.removeEventListener("resize",n)}));(r=d)==null?void 0:r.disconnect();d=null;if(v){cancelAnimationFrame(h)}}}var wr=r("c",(function(r,t,n){var e=new Map;var i=__assign({platform:pr},n);var a=__assign(__assign({},i.platform),{_c:e});return k(r,t,__assign(__assign({},i),{platform:a}))}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,c as t,h as s,H as o,g as a}from"./p-56df20b9.js";import{i}from"./p-aaa7a7bd.js";import{c as n}from"./p-5e59e970.js";import{i as r}from"./p-a45e3f8b.js";import{a as h,g as c,c as l,d}from"./p-97a065d3.js";import"./p-9c3c64b9.js";const m=class{constructor(s){e(this,s),this.duetToggle=t(this,"duetToggle",7),this.contentId=n("DuetShowMore"),this.buttonId=n("DuetShowMoreButton"),this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.handleKeyDown=e=>{r(e)&&this.handleClick(e)},this.handleClick=e=>{e.preventDefault();const t=!this.open;this.open=t,t?(setTimeout((()=>{this.contentElement.focus()}),100),setTimeout((()=>{this.buttonAriaOpen=t}),500)):this.buttonAriaOpen=t,this.duetToggle.emit({component:"duet-show-more",originalEvent:e})},this.buttonAriaOpen=!1,this.theme="",this.language=h(),this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"},this.showMoreLabel=c(this.showMoreLabelDefaults),this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"},this.showLessLabel=c(this.showLessLabelDefaults),this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"},this.showMoreAccessibleLabel=c(this.showMoreAccessibleLabelDefaults),this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"},this.showLessAccessibleLabel=c(this.showLessAccessibleLabelDefaults),this.margin="auto",this.buttonMargin="auto",this.buttonPadding="auto",this.open=!1}componentWillLoad(){i(this),this.buttonAriaOpen=this.open}connectedCallback(){l(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])}disconnectedCallback(){d(this)}render(){return s(o,{key:"cf001cd88b6d046f5d38edb4415fea3e14621949"},s("div",{key:"7b3e3eb12202d72e88304e7168d92ec9775b1907",class:{"duet-show-more":!0,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin,open:this.open}},s("div",{key:"cb5ee3dc6799544ca3143b393e56c1e071a2d665",ref:e=>this.contentElement=e,class:{content:!0},id:this.contentId,tabindex:this.open?"0":""},s("div",{key:"76e41c6973f3726aa33d00976cc63193eec441fc",class:{"slotted-content":!0}},s("slot",{key:"28428da989122f03a691452b9d9dfdad572a020f"}))),s("duet-button",{key:"cb1b97b696381ce1ce411c164cfb4871a99453d0",id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,accessiblePressed:this.isSafariBrowser?this.open:null,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":!0,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small",margin:this.buttonMargin,padding:this.buttonPadding,theme:"turva"===this.theme?"turva":"default"},s("span",{key:"3fd3eaa07a9d0d5b021a9c32c552801bee29986c"},this.open?this.showLessLabel:this.showMoreLabel))))}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:block}.duet-show-more{margin-bottom:16px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{m as duet_show_more}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as i,H as n,g as e}from"./p-56df20b9.js";import{a as d,m as r,b as a}from"./p-0e2efa7c.js";import{w as o,a as m}from"./p-7d8a2628.js";import{i as l}from"./p-aaa7a7bd.js";function g(t){return"duet-grid-item"===t.tagName.toLowerCase()}const s=class{constructor(i){t(this,i),this.mql=[window.matchMedia(d.replace(/'/g,"")),window.matchMedia(r.replace(/'/g,"")),window.matchMedia(a.replace(/'/g,""))],this.distributeFormElement=!1,this.responsive=!1,this.breakpoint="small",this.direction="horizontal",this.rowReverse=!1,this.alignment="top",this.distribution="default",this.mobile="",this.gridTemplate=null}outerHeight(t){const i=t.offsetHeight,n=window.getComputedStyle(t);return["top","bottom"].map((t=>parseInt(n[`margin-${t}`]))).reduce(((t,i)=>t+i),i)}async connectedCallback(){const t=this.element;if(this.distributeFormElement="form_distribute"===this.alignment,this.mutationO=o(t,"duet-grid-item",(()=>{this.updateGridItems()})),this.distributeFormElement){this.mutation1=m(t,"duet-input",(()=>{this.updateGridItemsWithInputFields()}));for(let t=0;t<this.mql.length;t++)this.mql[t].addEventListener&&this.mql[t].addEventListener("change",this.updateGridItemsWithInputFields.bind(this))}this.updateGridItems()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.mutation1&&(this.mutation1.disconnect(),this.mutation1=void 0);for(let t=0;t<this.mql.length;t++)this.mql[t].removeEventListener&&this.mql[t].removeEventListener("change",this.updateGridItemsWithInputFields.bind(this))}async updateGridItems(){Array.from(this.element.children).filter(g).forEach((t=>{t.responsive=this.responsive,t.breakpoint=this.breakpoint,t.direction=this.direction,t.rowReverse=this.rowReverse}))}async updateGridItemsWithInputFields(){const t=Array.from(this.element.children).filter(g),i=!!window&&"column"===window.getComputedStyle(this.element).flexDirection;let n=0;const e=[];t.forEach((t=>{const i=t.querySelector("span.duet-input-error"),n=i?this.outerHeight(i):0;e.push(n)})),n=Math.max(...e),t.forEach((t=>{const e=t.querySelector("span.duet-input-error"),d=e?this.outerHeight(e):0;d<n&&!i?t.setAttribute("style",`padding-bottom: ${n-d}px;`):(d===n||i)&&t.setAttribute("style","padding-bottom: 0px;")}))}render(){return i(n,{class:{"duet-grid":!0,"duet-no-stacking":!this.responsive,"duet-grid-align-top":"top"===this.alignment,"duet-grid-align-bottom":"bottom"===this.alignment||"form_distribute"===this.alignment,"duet-grid-align-center":"center"===this.alignment,"duet-grid-align-stretch":"stretch"===this.alignment,"duet-grid-align-baseline":"baseline"===this.alignment,"duet-grid-distribution-left":"left"===this.distribution,"duet-grid-distribution-right":"right"===this.distribution,"duet-grid-distribution-center":"center"===this.distribution,"duet-grid-distribution-between":"space-between"===this.distribution,"duet-grid-distribution-around":"space-around"===this.distribution,"duet-grid-distribution-evenly":"space-evenly"===this.distribution,"duet-grid-mobile-left":"left"===this.mobile,"duet-grid-mobile-center":"center"===this.mobile,"duet-grid-mobile-right":"right"===this.mobile,"duet-grid-direction-horizontal":"horizontal"===this.direction,"duet-grid-direction-vertical":"vertical"===this.direction,"duet-grid-breakpoint-x-small":"x-small"===this.breakpoint,"duet-grid-breakpoint-small":"small"===this.breakpoint,"duet-grid-breakpoint-medium":"medium"===this.breakpoint,"duet-grid-breakpoint-large":"large"===this.breakpoint,"duet-grid-breakpoint-x-large":"x-large"===this.breakpoint,"duet-grid-row-reverse":this.rowReverse,["duet-grid-variation-"+(this.gridTemplate?"grid":"flex")]:!0,[`duet-grid-template-${this.gridTemplate}`]:!0}},i("slot",null))}get element(){return e(this)}static get watchers(){return{responsive:["updateGridItems"],breakpoint:["updateGridItems"],direction:["updateGridItems"]}}};s.style=":host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host(.duet-grid-variation-flex) {\n display: flex !important;\n flex-direction: column !important;\n align-items: flex-start !important;\n justify-content: flex-start !important;\n width: 100%;\n max-width: 100%;\n height: auto;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: row !important;\n}\n@media (max-width: 22.5em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-wrap) {\n flex-wrap: wrap !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking) {\n flex-direction: row !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n}\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n}\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking) {\n align-items: center !important;\n}\n\n.duet-grid-align-stretch.duet-no-stacking {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking) {\n align-items: baseline !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small) {\n align-items: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small) {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small) {\n align-items: baseline !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large) {\n align-items: baseline !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-left) {\n justify-content: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-right) {\n justify-content: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-center) {\n justify-content: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-between) {\n justify-content: space-between !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-around) {\n justify-content: space-around !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-evenly) {\n justify-content: space-evenly !important;\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-left) {\n align-items: flex-start !important;\n justify-content: flex-start !important;\n text-align: left !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) {\n align-items: center !important;\n justify-content: center !important;\n text-align: center !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) * {\n text-align: center !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) {\n align-items: flex-end !important;\n justify-content: flex-end !important;\n text-align: right !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) * {\n text-align: right !important;\n }\n}\n\n:host(.duet-grid-variation-grid) {\n display: grid;\n grid-template-rows: repeat(1, 1fr);\n grid-template-columns: repeat(4, minmax(0, 1fr));\n gap: 16px;\n align-items: flex-start;\n justify-content: center;\n padding: 0 20px;\n container-type: inline-size;\n overflow-x: clip;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid) {\n gap: 24px;\n padding: 0 40px;\n }\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(8, 55px);\n gap: 24px 32px;\n padding: 0;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n padding: 0 64px;\n }\n}\n@media (min-width: 76.25em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, 55px);\n gap: 40px;\n padding: 0;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 3/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 2/span 10;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 12;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 5/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 6;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 5/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 7/span 6;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 5/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: minmax(0, 1fr);\n gap: 12px;\n padding: 0;\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n gap: 16px;\n }\n}\n@container (min-width: 664px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n /* stylelint-enable */\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n@container (min-width: 1100px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n /* stylelint-enable */\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}";const u=class{constructor(i){t(this,i),this.fill=!1,this.maxWidth=void 0,this.minWidth=void 0,this.theme="",this.margin="auto",this.responsive=!1,this.direction="horizontal",this.breakpoint="small",this.rowReverse=!1}componentWillLoad(){l(this)}render(){return i(n,{style:{"min-width":this.minWidth,"max-width":this.maxWidth},class:{"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-grid-item":!0,"duet-grid-item-fill":this.fill,"duet-grid-item-responsive":this.responsive,"duet-grid-item-row-reverse":this.rowReverse,"duet-grid-direction-horizontal":"horizontal"===this.direction,"duet-grid-direction-vertical":"vertical"===this.direction,"duet-grid-item-br-x-small":"x-small"===this.breakpoint,"duet-grid-item-br-small":"small"===this.breakpoint,"duet-grid-item-br-medium":"medium"===this.breakpoint,"duet-grid-item-br-large":"large"===this.breakpoint,"duet-grid-item-br-x-large":"x-large"===this.breakpoint}},i("slot",null))}};u.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):first-child){padding-left:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):first-of-type){padding-left:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):last-child){padding-right:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):last-of-type){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:first-child){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:first-of-type){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:last-child){padding-left:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:last-of-type){padding-left:0}@media (max-width: 35.9375em){:host(.duet-grid-item-responsive){width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){:host(.duet-grid-item-br-medium){width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){:host(.duet-grid-item-responsive.duet-grid-item-br-medium){padding-right:0;padding-left:0}}@media screen and (max-width: 64em){:host(.duet-grid-item-br-x-large){width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){:host(.duet-grid-item-responsive.duet-grid-item-br-x-large){padding-right:0;padding-left:0}}:host(.duet-grid-item-fill){flex:1 1 auto;width:100%}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-m-0){padding:0 !important;margin:0 !important}';export{s as duet_grid,u as duet_grid_item}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as e,h as o,H as n,g as u}from"./p-56df20b9.js";import{i as r}from"./p-aaa7a7bd.js";import{D as d,b as i}from"./p-beeb12f1.js";import{a,g as b,c as s,d as l}from"./p-97a065d3.js";import{g as p}from"./p-5de30279.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const h=class{constructor(o){t(this,o),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.proxyButtonSetUp=()=>{const t=this.element.querySelector("button[slot=proxybutton]"),e=t||document.createElement("button");if(this.url)return t&&t.remove(),void(this.proxyButton=null);e.setAttribute("slot","proxybutton"),e.style.display="none",e.type=this.getButtonType(),e.disabled=this.disabled,e.setAttribute("form",this.form),this.form||e.removeAttribute("form"),null!=this.name?e.name=this.name:e.removeAttribute("name"),null!=this.value?e.value=this.value:e.removeAttribute("value"),t||this.element.appendChild(e),this.proxyButton=e},this.handleClick=t=>{this.submit&&!this.url&&(this.element.closest("form")||this.form)&&(t.stopPropagation(),t.preventDefault(),this.proxyButton.click())},this.onFocus=()=>{this.duetFocus.emit()},this.onBlur=()=>{this.duetBlur.emit()},this.accessibleLabel=void 0,this.accessibleControls=void 0,this.accessiblePopup="false",this.accessibleActiveDescendant=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleExpanded=void 0,this.accessiblePressed=void 0,this.loading=!1,this.variation="default",this.negative=!1,this.theme="",this.margin="auto",this.form=void 0,this.padding="auto",this.centerText=!1,this.wrapping="auto",this.expand=!1,this.fixed=!1,this.disabled=!1,this.name=void 0,this.value=void 0,this.identifier=void 0,this.submit=!1,this.external=!1,this.language=a(),this.accessibleLabelExternalDefaults=d,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.accessibleLabelLoadingDefaults=i,this.accessibleLabelLoading=b(this.accessibleLabelLoadingDefaults),this.icon="",this.color="",this.iconRight=!1,this.iconSize="medium",this.size="medium",this.iconOnly=!1,this.url=void 0}componentWillLoad(){r(this),this.url&&this.external&&this.icon&&console.warn("[DUET]: Button used as an external link will override any icon that is set")}connectedCallback(){s(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}])}disconnectedCallback(){this.proxyButton&&(this.proxyButton=null),l(this)}componentDidRender(){!1===this.disabled&&this.element.removeAttribute("disabled"),this.submit&&this.proxyButtonSetUp()}getButtonType(){return this.submit?"submit":"button"}getButtonIconSize(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":default:return"medium";case"large":return"large"}}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){var t,e;const u=this.external&&this.url,r=u?"action-new-window":this.icon,d=!!u||this.iconRight,i=o("span",{key:"6df4a72f66f9fd4ae02883ad8ab231bf6b20f6a6",class:{"duet-button-contents":!0,"icon-right":d},style:{color:p(this.color)}},r&&o("span",{key:"690ebfa2995cd90691f4fc4e2e5deb62f89b5e29","aria-hidden":"true",class:{"duet-button-icon":!0,left:!d,right:d,[this.getButtonIconSize()]:!0}},o("duet-icon",{key:"c6e2fc503c4a4f104a0b7d1508342ecac6f0db32",size:"auto",margin:"none",name:r,color:"currentColor"})),o("span",{key:"edbff7f759d1b849b74a736e6ef6a99294d44289",class:"duet-button-contents-slot"},o("slot",{key:"4379b5ff8076f808776bcf763c59a39d51b7b569"}))),a="medium"==this.size||"small"==this.size||"x-small"==this.size?this.size:"medium",b={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.nativeButton=t,id:this.identifier,class:{"duet-m-0":"none"===this.margin,"duet-p-0":"none"===this.padding,"duet-no-wrap":"none"===this.wrapping,"duet-button":!0,"duet-button-is-small":"small"===this.size,[`duet-button-size-${a}`]:!0,"duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0,"input-button":null===(t=this.variation)||void 0===t?void 0:t.startsWith("input-button"),disabled:this.disabled,icon:!!r,"icon-right":d,"icon-left":!!r&&!d,[this.getButtonIconSize()]:!0},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(n,{key:"1d74b0a85872e849c86b8a3ffe589d4a443c72ca",class:{"duet-m-0":"none"===this.margin,"duet-small":"small"===this.size,"duet-x-small":"x-small"===this.size,"duet-fixed":this.fixed,"duet-expand":this.expand,[this.variation]:!0,"input-button":null===(e=this.variation)||void 0===e?void 0:e.startsWith("input-button")}},o("span",{key:"744d6dacf5f2d588382d024d36d0cbc1b2236929",onClick:this.handleClick,class:{"duet-button-container":!0,"duet-button-is-loading":this.loading,"duet-theme-turva":"turva"===this.theme,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0}},this.url?o("a",Object.assign({},b,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":void 0}),i,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},b,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":null!=this.accessiblePressed?this.accessiblePressed.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,"aria-disabled":this.disabled}),i,this.loading&&o("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&o("duet-spinner",{key:"902914bbba7d1a08b8f028d8a6235dc84f9ae0f7",color:"currentColor"})),o("slot",{key:"e5a8158694af4cebd82e33faf28e6214be2823de",name:"proxybutton"}))}get element(){return u(this)}};h.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;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}';const m=class{constructor(e){t(this,e),this.accessibleLabel=void 0,this.color="gray-lightest",this.size="small",this.theme=""}componentWillLoad(){r(this)}render(){const t="currentColor"===this.color?"currentColor":p(this.color);return o(n,{key:"dcb6140eeae0e31c85319ee668193865ba6a5e57",class:{"duet-custom-color":"currentColor"!==this.color&&"turva"!==this.theme&&"default"!==this.theme,"duet-theme-turva":"turva"===this.theme&&"currentColor"!==this.color,"duet-theme-default":"default"===this.theme&&"currentColor"!==this.color}},o("div",{key:"d3d38db9f52dbd35af639463194130c6c265d24d",class:{"duet-spinner":!0,[this.size]:!0},style:{color:t},"aria-label":this.accessibleLabel}))}};m.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';export{h as duet_button,m as duet_spinner}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register([],(function(r){"use strict";return{execute:function(){var _="rgb(0, 161, 212)";var a="rgb(178, 180, 179)";var o="rgb(11, 114, 136)";var l="rgb(199, 12, 112)";var e="rgb(122, 1, 196)";var c="rgb(211, 36, 131)";var t="rgb(161, 10, 78)";var g="rgb(168, 1, 78)";var v="rgb(213, 66, 3)";var i="rgb(9, 129, 148)";var s="rgb(169, 69, 124)";var d="rgb(54, 74, 129)";var u="rgb(23, 28, 58)";var n="rgb(214, 28, 82)";var b="rgb(255, 240, 243)";var x="rgb(255, 211, 219)";var m="rgb(89, 0, 45)";var y="rgb(255, 173, 190)";var p="rgb(252, 136, 162)";var h="rgb(243, 98, 134)";var w="rgb(255, 225, 231)";var z="rgb(231, 62, 107)";var f="rgb(214, 28, 82)";var k="rgb(185, 16, 74)";var q="rgb(153, 9, 66)";var S="rgb(120, 4, 56)";var I="rgb(214, 28, 82)";var U="rgb(122, 1, 196)";var j="rgb(0, 155, 204)";var A="rgb(27, 171, 75)";var E="rgb(255, 86, 34)";var B="rgb(245, 76, 154)";var C="rgb(194, 21, 101)";var F="rgb(192, 101, 247)";var H="rgb(0, 105, 191)";var M="rgb(19, 120, 53)";var R="rgb(179, 60, 24)";var O="rgb(13, 163, 166)";var D="rgb(11, 114, 136)";var G="rgb(179, 137, 24)";var J="rgb(128, 98, 17)";var K="rgb(0, 41, 77)";var L="rgb(181, 198, 208)";var N="rgb(127, 150, 165)";var P="rgb(143, 147, 158)";var Q="rgb(98, 121, 138)";var T="rgb(113, 118, 132)";var V="rgb(212, 223, 229)";var W="rgb(222, 224, 228)";var X="rgb(245, 248, 250)";var Y="rgb(245, 247, 250)";var Z="rgb(255, 255, 255)";var $="rgb(255, 255, 255)";var rr="rgb(199, 202, 207)";var _r="rgb(240, 247, 250)";var ar="rgb(217, 236, 245)";var or="rgb(8, 42, 77)";var lr="rgb(198, 225, 238)";var er="rgb(172, 210, 229)";var cr="rgb(131, 188, 217)";var tr="rgb(228, 241, 247)";var gr="rgb(50, 153, 204)";var vr="rgb(0, 119, 179)";var ir="rgb(0, 97, 155)";var sr="rgb(0, 75, 129)";var dr="rgb(3, 56, 102)";var ur="rgb(245, 248, 250)";var nr="rgb(212, 223, 229)";var br="rgb(17, 28, 38)";var xr="rgb(181, 198, 208)";var mr="rgb(153, 174, 186)";var yr="rgb(127, 150, 165)";var pr="rgb(228, 236, 239)";var hr="rgb(98, 121, 138)";var wr="rgb(81, 105, 123)";var zr="rgb(62, 84, 102)";var fr="rgb(45, 64, 81)";var kr="rgb(30, 45, 59)";var qr="rgb(0, 119, 179)";var Sr="rgb(0, 75, 129)";var Ir="rgb(126, 2, 35)";var Ur="rgb(0, 97, 155)";var jr="rgb(164, 4, 40)";var Ar="rgb(198, 225, 238)";var Er="rgb(255, 185, 190)";var Br="rgb(228, 241, 247)";var Cr="rgb(255, 227, 228)";var Fr="rgb(240, 247, 250)";var Hr="rgb(255, 241, 241)";var Mr="rgb(198, 12, 48)";var Rr="rgb(8, 42, 77)";var Or="rgb(23, 28, 58)";var Dr="rgb(48, 131, 105)";var Gr="rgb(244, 250, 247)";var Jr="rgb(218, 246, 233)";var Kr="rgb(4, 38, 33)";var Lr="rgb(191, 239, 218)";var Nr="rgb(163, 229, 202)";var Pr="rgb(134, 215, 185)";var Qr="rgb(231, 248, 239)";var Tr="rgb(105, 196, 166)";var Vr="rgb(76, 164, 138)";var Wr="rgb(48, 131, 105)";var Xr="rgb(29, 106, 88)";var Yr="rgb(13, 71, 59)";var Zr="rgb(48, 131, 105)";var $r="rgb(245, 247, 250)";var r_="rgb(222, 224, 228)";var __="rgb(8, 13, 38)";var a_="rgb(199, 202, 207)";var o_="rgb(175, 178, 186)";var l_="rgb(143, 147, 158)";var e_="rgb(234, 235, 239)";var c_="rgb(113, 118, 132)";var t_="rgb(98, 104, 122)";var g_="rgb(71, 78, 101)";var v_="rgb(45, 52, 79)";var i_="rgb(23, 28, 58)";var s_="rgb(255, 241, 241)";var d_="rgb(255, 213, 215)";var u_="rgb(51, 5, 20)";var n_="rgb(255, 185, 190)";var b_="rgb(252, 148, 158)";var x_="rgb(240, 102, 119)";var m_="rgb(255, 227, 228)";var y_="rgb(221, 49, 77)";var p_="rgb(198, 12, 48)";var h_="rgb(164, 4, 40)";var w_="rgb(126, 2, 35)";var z_="rgb(87, 4, 29)";var f_="rgb(247, 178, 40)";var k_="rgb(255, 251, 242)";var q_="rgb(255, 244, 198)";var S_="rgb(38, 26, 4)";var I_="rgb(255, 232, 160)";var U_="rgb(255, 217, 120)";var j_="rgb(255, 199, 79)";var A_="rgb(255, 247, 221)";var E_="rgb(247, 178, 40)";var B_="rgb(196, 138, 23)";var C_="rgb(156, 110, 22)";var F_="rgb(126, 87, 16)";var H_="rgb(81, 55, 9)";var M_="rgb(247, 178, 40)";var R_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var O_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var D_="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var G_="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";var J_="1.25rem";var K_=r("f","1rem");var L_="0.875rem";var N_="1.5rem";var P_="0.75rem";var Q_="2.25rem";var T_="3rem";var V_="4.5rem";var W_="700";var X_="800";var Y_="400";var Z_="600";var $_="-0.01rem";var ra="1.5";var _a="1.25";var aa="1.1";var oa=r("a","'(min-width: 62em)'");var la=r("m","'(min-width: 48em)'");var ea=r("b","'(min-width: 36em)'");var ca="'(min-width: 64.0625em)'";var ta="'(max-width: 35.9375em)'";var ga=r("c","'(min-width: 76.25em)'");var va="'(max-width: 22.5em)'";var ia="'(min-width: 106.25em)'";var sa="'(max-width: 20.5em)'";var da="0.30";var ua="0.50";var na="0.75";var ba="0.85";var xa="50%";var ma="4px";var ya="12px";var pa="16px";var ha="8px";var wa="20rem";var za="0";var fa="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var ka="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";var qa="0 2px 6px 0 rgba(0, 41, 77, 0.07)";var Sa="0 2px 6px 0 rgba(117, 117, 117, 0.13)";var Ia="0 0 0 1px #de2362";var Ua="0 0 0 1px #e55039";var ja="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3";var Aa="0 0 0 1px #0077b3";var Ea="0 0 0 1px #171c3a";var Ba="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a";var Ca="0 2px 10px 0 rgba(0, 41, 77, 0.1)";var Fa="0 0 0 1px #909599";var Ha="0 0 0 1px #747475";var Ma="0 2px 10px 0 rgba(117, 117, 117, 0.15)";var Ra="0 2px 20px 0 rgba(0, 0, 0, 0.2)";var Oa="0 2px 10px 0 rgba(0, 41, 77, 0.07)";var Da="0 2px 10px 0 rgba(117, 117, 117, 0.13)";var Ga="1px";var Ja="8rem";var Ka="1px";var La="1px";var Na="4rem";var Pa="30px";var Qa="24px";var Ta="20px";var Va="36px";var Wa="16px";var Xa="48px";var Ya="10px";var Za="72px";var $a="7px";var ro="1110px";var _o="2px";var ao="3rem";var oo="40px";var lo="30px";var eo="48px";var co="20px";var to="16px";var go="12px";var vo="28px";var io="8px";var so="36px";var uo="4px";var no="48px";var bo="2px";var xo="72px";var mo="94px";var yo="300ms ease";var po="600ms ease";var ho="-999999";var wo="1";var zo="600";var fo="400";var ko="200";var qo="250";var So="100";var Io="900";var Uo="700";var jo="950";var Ao="800";var Eo="300";var Bo="500";var Co={color_brand_blue:_,color_brand_gray_turva:a,color_category_family:o,color_category_family_turva:l,color_category_finance:e,color_category_home:c,color_category_home_turva:t,color_category_pet:g,color_category_travel:v,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:b,color_danger_100:x,color_danger_1000:m,color_danger_200:y,color_danger_300:p,color_danger_400:h,color_danger_50:w,color_danger_500:z,color_danger_600:f,color_danger_700:k,color_danger_800:q,color_danger_900:S,color_danger_turva:I,color_data_01:U,color_data_02:j,color_data_03:A,color_data_04:E,color_data_05:B,color_data_06:C,color_data_07:F,color_data_08:H,color_data_09:M,color_data_10:R,color_data_11:O,color_data_12:D,color_data_13:G,color_data_14:J,color_data_15:K,color_gray:L,color_gray_dark:N,color_gray_dark_turva:P,color_gray_darker:Q,color_gray_darker_turva:T,color_gray_light:V,color_gray_light_turva:W,color_gray_lighter:X,color_gray_lighter_turva:Y,color_gray_lightest:Z,color_gray_lightest_turva:$,color_gray_turva:rr,color_lt_blue_00:_r,color_lt_blue_100:ar,color_lt_blue_1000:or,color_lt_blue_200:lr,color_lt_blue_300:er,color_lt_blue_400:cr,color_lt_blue_50:tr,color_lt_blue_500:gr,color_lt_blue_600:vr,color_lt_blue_700:ir,color_lt_blue_800:sr,color_lt_blue_900:dr,color_lt_gray_00:ur,color_lt_gray_100:nr,color_lt_gray_1000:br,color_lt_gray_200:xr,color_lt_gray_300:mr,color_lt_gray_400:yr,color_lt_gray_50:pr,color_lt_gray_500:hr,color_lt_gray_600:wr,color_lt_gray_700:zr,color_lt_gray_800:fr,color_lt_gray_900:kr,color_primary:qr,color_primary_dark:Sr,color_primary_dark_turva:Ir,color_primary_darker:Ur,color_primary_darker_turva:jr,color_primary_light:Ar,color_primary_light_turva:Er,color_primary_lighter:Br,color_primary_lighter_turva:Cr,color_primary_lightest:Fr,color_primary_lightest_turva:Hr,color_primary_turva:Mr,color_secondary:Rr,color_secondary_turva:Or,color_success:Dr,color_success_00:Gr,color_success_100:Jr,color_success_1000:Kr,color_success_200:Lr,color_success_300:Nr,color_success_400:Pr,color_success_50:Qr,color_success_500:Tr,color_success_600:Vr,color_success_700:Wr,color_success_800:Xr,color_success_900:Yr,color_success_turva:Zr,color_turva_gray_00:$r,color_turva_gray_100:r_,color_turva_gray_1000:__,color_turva_gray_200:a_,color_turva_gray_300:o_,color_turva_gray_400:l_,color_turva_gray_50:e_,color_turva_gray_500:c_,color_turva_gray_600:t_,color_turva_gray_700:g_,color_turva_gray_800:v_,color_turva_gray_900:i_,color_turva_red_00:s_,color_turva_red_100:d_,color_turva_red_1000:u_,color_turva_red_200:n_,color_turva_red_300:b_,color_turva_red_400:x_,color_turva_red_50:m_,color_turva_red_500:y_,color_turva_red_600:p_,color_turva_red_700:h_,color_turva_red_800:w_,color_turva_red_900:z_,color_warning:f_,color_warning_00:k_,color_warning_100:q_,color_warning_1000:S_,color_warning_200:I_,color_warning_300:U_,color_warning_400:j_,color_warning_50:A_,color_warning_500:E_,color_warning_600:B_,color_warning_700:C_,color_warning_800:F_,color_warning_900:H_,color_warning_turva:M_,font_family_heading:R_,font_family_heading_turva:O_,font_family_text:D_,font_family_text_turva:G_,font_size_large:J_,font_size_medium:K_,font_size_small:L_,font_size_x_large:N_,font_size_x_small:P_,font_size_xx_large:Q_,font_size_xxx_large:T_,font_size_xxxx_large:V_,font_weight_bold:W_,font_weight_extra_bold:X_,font_weight_normal:Y_,font_weight_semi_bold:Z_,letter_spacing_heading:$_,line_height_medium:ra,line_height_small:_a,line_height_x_small:aa,media_query_large:oa,media_query_medium:la,media_query_small:ea,media_query_x_large:ca,media_query_x_small:ta,media_query_xx_large:ga,media_query_xx_small:va,media_query_xxx_large:ia,media_query_xxx_small:sa,opacity_30:da,opacity_50:ua,opacity_75:na,opacity_85:ba,radius_circle:xa,radius_default:ma,radius_intermediate:ya,radius_large:pa,radius_medium:ha,radius_pill:wa,radius_sharp:za,shadow_card:fa,shadow_card_turva:ka,shadow_default:qa,shadow_default_turva:Sa,shadow_error:Ia,shadow_error_turva:Ua,shadow_focus:ja,shadow_focus_input:Aa,shadow_focus_input_turva:Ea,shadow_focus_turva:Ba,shadow_hover:Ca,shadow_hover_input:Fa,shadow_hover_input_turva:Ha,shadow_hover_turva:Ma,shadow_modal:Ra,shadow_tooltip:Oa,shadow_tooltip_turva:Da,size_button_border:Ga,size_button_min_width:Ja,size_button_tiny_border:Ka,size_form_border:La,size_header:Na,size_icon_large:Pa,size_icon_medium:Qa,size_icon_small:Ta,size_icon_x_large:Va,size_icon_x_small:Wa,size_icon_xx_large:Xa,size_icon_xx_small:Ya,size_icon_xxx_large:Za,size_icon_xxx_small:$a,size_layout_max_width:ro,size_medium_border:_o,size_navigation:ao,size_step_medium:oo,size_step_small:lo,size_tappable_square:eo,space_large:co,space_medium:to,space_small:go,space_x_large:vo,space_x_small:io,space_xx_large:so,space_xx_small:uo,space_xxx_large:no,space_xxx_small:bo,space_xxxx_large:xo,space_xxxxx_large:mo,transition_quickly:yo,transition_slowly:po,z_index_deep:ho,z_index_default:wo,z_index_dropdown:zo,z_index_header:fo,z_index_mask:ko,z_index_mask_buttons:qo,z_index_masked:So,z_index_modal:Io,z_index_overlay:Uo,z_index_popup:jo,z_index_spinner:Ao,z_index_sticky:Eo,z_index_toast:Bo};var Fo=Object.freeze({__proto__:null,color_brand_blue:_,color_brand_gray_turva:a,color_category_family:o,color_category_family_turva:l,color_category_finance:e,color_category_home:c,color_category_home_turva:t,color_category_pet:g,color_category_travel:v,color_category_travel_turva:i,color_category_union_turva:s,color_category_vehicle:d,color_category_vehicle_turva:u,color_danger:n,color_danger_00:b,color_danger_100:x,color_danger_1000:m,color_danger_200:y,color_danger_300:p,color_danger_400:h,color_danger_50:w,color_danger_500:z,color_danger_600:f,color_danger_700:k,color_danger_800:q,color_danger_900:S,color_danger_turva:I,color_data_01:U,color_data_02:j,color_data_03:A,color_data_04:E,color_data_05:B,color_data_06:C,color_data_07:F,color_data_08:H,color_data_09:M,color_data_10:R,color_data_11:O,color_data_12:D,color_data_13:G,color_data_14:J,color_data_15:K,color_gray:L,color_gray_dark:N,color_gray_dark_turva:P,color_gray_darker:Q,color_gray_darker_turva:T,color_gray_light:V,color_gray_light_turva:W,color_gray_lighter:X,color_gray_lighter_turva:Y,color_gray_lightest:Z,color_gray_lightest_turva:$,color_gray_turva:rr,color_lt_blue_00:_r,color_lt_blue_100:ar,color_lt_blue_1000:or,color_lt_blue_200:lr,color_lt_blue_300:er,color_lt_blue_400:cr,color_lt_blue_50:tr,color_lt_blue_500:gr,color_lt_blue_600:vr,color_lt_blue_700:ir,color_lt_blue_800:sr,color_lt_blue_900:dr,color_lt_gray_00:ur,color_lt_gray_100:nr,color_lt_gray_1000:br,color_lt_gray_200:xr,color_lt_gray_300:mr,color_lt_gray_400:yr,color_lt_gray_50:pr,color_lt_gray_500:hr,color_lt_gray_600:wr,color_lt_gray_700:zr,color_lt_gray_800:fr,color_lt_gray_900:kr,color_primary:qr,color_primary_dark:Sr,color_primary_dark_turva:Ir,color_primary_darker:Ur,color_primary_darker_turva:jr,color_primary_light:Ar,color_primary_light_turva:Er,color_primary_lighter:Br,color_primary_lighter_turva:Cr,color_primary_lightest:Fr,color_primary_lightest_turva:Hr,color_primary_turva:Mr,color_secondary:Rr,color_secondary_turva:Or,color_success:Dr,color_success_00:Gr,color_success_100:Jr,color_success_1000:Kr,color_success_200:Lr,color_success_300:Nr,color_success_400:Pr,color_success_50:Qr,color_success_500:Tr,color_success_600:Vr,color_success_700:Wr,color_success_800:Xr,color_success_900:Yr,color_success_turva:Zr,color_turva_gray_00:$r,color_turva_gray_100:r_,color_turva_gray_1000:__,color_turva_gray_200:a_,color_turva_gray_300:o_,color_turva_gray_400:l_,color_turva_gray_50:e_,color_turva_gray_500:c_,color_turva_gray_600:t_,color_turva_gray_700:g_,color_turva_gray_800:v_,color_turva_gray_900:i_,color_turva_red_00:s_,color_turva_red_100:d_,color_turva_red_1000:u_,color_turva_red_200:n_,color_turva_red_300:b_,color_turva_red_400:x_,color_turva_red_50:m_,color_turva_red_500:y_,color_turva_red_600:p_,color_turva_red_700:h_,color_turva_red_800:w_,color_turva_red_900:z_,color_warning:f_,color_warning_00:k_,color_warning_100:q_,color_warning_1000:S_,color_warning_200:I_,color_warning_300:U_,color_warning_400:j_,color_warning_50:A_,color_warning_500:E_,color_warning_600:B_,color_warning_700:C_,color_warning_800:F_,color_warning_900:H_,color_warning_turva:M_,font_family_heading:R_,font_family_heading_turva:O_,font_family_text:D_,font_family_text_turva:G_,font_size_large:J_,font_size_medium:K_,font_size_small:L_,font_size_x_large:N_,font_size_x_small:P_,font_size_xx_large:Q_,font_size_xxx_large:T_,font_size_xxxx_large:V_,font_weight_bold:W_,font_weight_extra_bold:X_,font_weight_normal:Y_,font_weight_semi_bold:Z_,letter_spacing_heading:$_,line_height_medium:ra,line_height_small:_a,line_height_x_small:aa,media_query_large:oa,media_query_medium:la,media_query_small:ea,media_query_x_large:ca,media_query_x_small:ta,media_query_xx_large:ga,media_query_xx_small:va,media_query_xxx_large:ia,media_query_xxx_small:sa,opacity_30:da,opacity_50:ua,opacity_75:na,opacity_85:ba,radius_circle:xa,radius_default:ma,radius_intermediate:ya,radius_large:pa,radius_medium:ha,radius_pill:wa,radius_sharp:za,shadow_card:fa,shadow_card_turva:ka,shadow_default:qa,shadow_default_turva:Sa,shadow_error:Ia,shadow_error_turva:Ua,shadow_focus:ja,shadow_focus_input:Aa,shadow_focus_input_turva:Ea,shadow_focus_turva:Ba,shadow_hover:Ca,shadow_hover_input:Fa,shadow_hover_input_turva:Ha,shadow_hover_turva:Ma,shadow_modal:Ra,shadow_tooltip:Oa,shadow_tooltip_turva:Da,size_button_border:Ga,size_button_min_width:Ja,size_button_tiny_border:Ka,size_form_border:La,size_header:Na,size_icon_large:Pa,size_icon_medium:Qa,size_icon_small:Ta,size_icon_x_large:Va,size_icon_x_small:Wa,size_icon_xx_large:Xa,size_icon_xx_small:Ya,size_icon_xxx_large:Za,size_icon_xxx_small:$a,size_layout_max_width:ro,size_medium_border:_o,size_navigation:ao,size_step_medium:oo,size_step_small:lo,size_tappable_square:eo,space_large:co,space_medium:to,space_small:go,space_x_large:vo,space_x_small:io,space_xx_large:so,space_xx_small:uo,space_xxx_large:no,space_xxx_small:bo,space_xxxx_large:xo,space_xxxxx_large:mo,transition_quickly:yo,transition_slowly:po,z_index_deep:ho,z_index_default:wo,z_index_dropdown:zo,z_index_header:fo,z_index_mask:ko,z_index_mask_buttons:qo,z_index_masked:So,z_index_modal:Io,z_index_overlay:Uo,z_index_popup:jo,z_index_spinner:Ao,z_index_sticky:Eo,z_index_toast:Bo,default:Co});r("t",Fo)}}}));
|
package/lib/duet/p-1fbf259e.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,c,h as t,H as i,g as o}from"./p-56df20b9.js";import{i as d}from"./p-aaa7a7bd.js";import{D as h}from"./p-beeb12f1.js";import{c as s}from"./p-5e59e970.js";import{i as r,h as a,s as u,u as n,f as l}from"./p-a45e3f8b.js";import{g as p,a as b,c as g,d as m}from"./p-97a065d3.js";import{h as f,c as k}from"./p-534b8454.js";import"./p-9c3c64b9.js";const v=class{constructor(t){e(this,t),this.duetChoiceReady=c(this,"duetChoiceReady",7),this.duetChoiceRemove=c(this,"duetChoiceRemove",7),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=s("DuetChoice"),this.expandId=s("DuetChoiceExpand"),this.headerId=s("DuetChoiceHeader"),this.infoButtonId=s("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{r(e)&&this.toggleChecked(e),a(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"}))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen,this.isInfoOpen&&setTimeout((()=>{var e;null===(e=this.infoContainer)||void 0===e||e.focus()}),150)},this.isHovering=!1,this.isInfoOpen=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=h,this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=p(this.infoLabelDefaults,b()),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,b())}componentWillLoad(){d(this),this.hasInfo=f(this.element,"info"),this.hasHeader=f(this.element,"header"),this.hasAdditional=f(this.element,"additional"),this.hasLabel=f(this.element,"label"),this.hasBeforeText=f(this.element,"before-text"),this.duetChoiceReady.emit()}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]),u(this),this.duetChoiceReady.emit()}disconnectedCallback(){m(this),n(this),this.duetChoiceRemove.emit()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}handleEscape(e){l(e)&&this.isInfoOpen&&(this.isInfoOpen=!1,this.infoButtonEl&&this.infoButtonEl.focus())}isCollapsibleAnnounceable(){if(!this.collapsible||!this.getExpanded())return!1;const e=Array.from(this.element.querySelectorAll(`#${this.choiceId}-collapsible-content > *`)||[]),c=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((e=>c.includes(e.tagName.toLowerCase())))}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:(this.collapsible||this.hasInfo)&&this.getExpanded()?this.hasHeader?this.headerId:this.isCollapsibleAnnounceable()?this.expandId:`${this.choiceId}-collapsible-notification`:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.identifier||this.choiceId;return t(i,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"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":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:e,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:e=>this.nativeInput=e}),t("label",{htmlFor:e,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button",onKeyUp:e=>this.handleEscape(e)},t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<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>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&t("span",{id:`${this.choiceId}-collapsible-notification`,hidden:!0},this.collapsibleNotification),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",{ref:e=>this.infoContainer=e,tabindex:"0",class:"duet-choice-info-container",onKeyUp:e=>this.handleEscape(e)},t("span",null,t("slot",{name:"info"})),t("slot",null)):t("span",{id:`${this.choiceId}-collapsible-content`},t("slot",null)))):null)}get element(){return o(this)}};v.style='*.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}';const x=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.choices=new Set,this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.choices.has(c)&&(this.value=c.value)},this.onChoiceReady=e=>{const c=e.target;c.closest("duet-choice-group")!==this.element||this.choices.has(c)||(this.choices.add(c),this.updateChoices())},this.onChoiceRemove=e=>{this.choices.delete(e.target),this.updateChoices()},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0,this.required=!1,this.accessibleLiveError="polite"}async connectedCallback(){this.setInitialValue(),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this),k(this.element,"tooltip","duet-tooltip",1,!0)}setInitialValue(){void 0===this.initialValue&&(this.initialValue=this.value)}async getInitialValue(){return this.initialValue}async updateChoices(){var e;const c=null!==(e=this.value)&&void 0!==e?e:this.initialValue;let t=!1;for(const e of Array.from(this.choices))e.name=this.name,e.required=this.required,e.groupDisabled=this.disabled,e.groupDirection=this.direction,e.groupResponsive=this.responsive,t||e.value!==c?e.checked=!1:(t=!0,e.checked=!0,void 0===this.value&&(this.value=c));t||(this.value=void 0)}render(){return t(i,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("slot",{name:"tooltip"}),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return o(this)}static get watchers(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};x.style="*.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}";export{v as duet_choice,x as duet_choice_group}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r,h as e,H as s,g as a}from"./p-56df20b9.js";import{i as o}from"./p-aaa7a7bd.js";import{c as t}from"./p-5e59e970.js";import{g as i,c as n,d as p}from"./p-97a065d3.js";import"./p-9c3c64b9.js";const d=class{constructor(e){r(this,e),this.progressId=t("DuetProgress"),this.progressLabelId=t("DuetProgressLabel"),this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabel=void 0,this.accessibleLabelUploadDefaults={fi:["lähetys valmis","lähetys käynnissä"],sv:["Uppladdningen är klar","Uppladdning pågår"],en:["upload completed","upload in progress"]},this.accessibleLabelUpload=i(this.accessibleLabelUploadDefaults),this.progress=0,this.caption=void 0,this.height="10px",this.theme=""}componentWillLoad(){o(this)}connectedCallback(){n(this,{prop:"accessibleLabelUpload",defaults:"accessibleLabelUploadDefaults"})}disconnectedCallback(){p(this)}render(){return e(s,null,e("div",{"aria-live":this.accessibleLabel?"polite":"off","aria-hidden":this.accessibleLabel?"false":"true","aria-atomic":"true",style:{height:this.height},id:this.progressId,class:{"duet-progress":!0,"duet-progress-done":100===this.progress,"duet-progress-start":0===this.progress,"duet-progress-inprogress":this.progress<99&&0!==this.progress,"duet-theme-turva":"turva"===this.theme}},e("duet-visually-hidden",null,e("label",{htmlFor:this.progressLabelId},e("span",null,this.accessibleLabel,0!==this.progress&&`, ${this.accessibleLabelUpload[this.progress<99?1:0]}`))),this.caption&&e("div",{class:"duet-progress-caption"},e("span",null,this.caption)),e("progress",{id:this.progressLabelId,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:"progressbar",value:this.progress,max:"100","aria-valuemin":"0","aria-valuemax":"100"},e("div",{class:"progress-bar"},e("span",{style:{width:`${this.progress}%;`}},"Progress: ",this.progress,"%")))))}get element(){return a(this)}};d.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;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(240, 247, 250);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(255, 241, 241)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(240, 247, 250);border-radius:0}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(240, 247, 250)}.duet-progress.duet-theme-turva progress[value]{color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar{background-color:rgb(255, 241, 241)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value] ::-moz-progress-bar{background-color:rgb(255, 241, 241)}";export{d as duet_progress}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as e,h as i,H as o,g as s}from"./p-56df20b9.js";import{i as a}from"./p-aaa7a7bd.js";import{e as d,d as n}from"./p-fc09c464.js";import{f as l,F as r}from"./p-c185dfa0.js";import{f as h}from"./p-a45e3f8b.js";import{a as u,c,d as b,g as p}from"./p-97a065d3.js";import{h as g}from"./p-534b8454.js";import{T as m}from"./p-8cb0e6bd.js";import{g as f}from"./p-5de30279.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const y=class{constructor(i){t(this,i),this.duetSlideoutEvent=e(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(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.hasStickyHeaderSlot=!1,this.disconnectController=new AbortController,this.eventListenerController=new AbortController,this.setOpenButton=(t,e=!1)=>{if(this.eventListenerController&&this.eventListenerController.abort(),t)try{const i=t;i.accessiblePopup="true",i.accessibleExpanded=!1,this.openButton=i,e&&!this.disconnectController.signal.aborted&&(this.eventListenerController=new AbortController,this.openButton.addEventListener("click",this.openButtonEventListener,{signal:this.eventListenerController.signal}))}catch(t){console.error(t)}else this.openButton=void 0},this.setStickHeaderStyleMutations=(t=!1)=>{this.element.querySelectorAll('[slot="sticky-header"] duet-tab-group').forEach((e=>{e.style.position=t?null:"relative",e.style.top=t?null:"1px",e.switchLargeBreakpoint="always"}))},this.openButtonEventListener=t=>{this.onClick(t)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{this.open=!this.open,this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"})},this.onClick=t=>{this.toggleMenu(t)},this.language=u(),this.displaying=!1,this.openPanel=!1,this.theme="",this.accessibleRole="menubar",this.open=!1,this.backgroundColor="gray-lightest",this.modal=!0}get opener(){return this._opener}set opener(t){const e="string"==typeof t,i=e?document.getElementById(t):t;this.openButton!==i&&(this._opener=t,this.setOpenButton(i,e))}get controller(){return this._opener}set controller(t){this.opener=t}componentWillLoad(){a(this),this.hasStickyHeaderSlot=g(this.element,"sticky-header")}connectedCallback(){c(this),this.disconnectController&&this.disconnectController.signal.aborted&&(this.disconnectController=new AbortController),this.teleport||(this.teleport=new m(this.element)),this.teleport&&this.teleport.activate(),this.setStickHeaderStyleMutations(),this.mutationObserver||(this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()}))),this.mutationObserver&&this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}disconnectedCallback(){b(this),this.dialog&&this.modal&&d(this.dialog),this.mutationObserver&&this.mutationObserver.disconnect(),this.disconnectController&&this.disconnectController.abort(),this.setOpenButton(void 0),this.setStickHeaderStyleMutations(!0)}handleOpenChange(t,e){if(!!t!=!!e)if(this.open&&!e){this.openButton&&(this.openButton.accessibleExpanded=!0);const t=this.getOpenPanel();this.teleport.makeSiblingsInert(),this.modal&&n(this.dialog,{reserveScrollBarGap:!0}),t?t.setFocus():setTimeout((()=>{this.closeButton.focus()}),200)}else!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),setTimeout((()=>{l(this.openButton),this.modal&&d(this.dialog),this.teleport.removeInertFromSiblings()}),200))}handleKeyUp(t){h(t)&&this.open&&this.toggleMenu(t)}handleDocumentClick(t){if(!this.open)return;const e=t.composedPath();e.includes(this.dialog)||e.includes(this.openButton)||this.toggleMenu(t)}async setFocus(t){var e;null===(e=this.openButton)||void 0===e||e.focus(t)}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){this.open||(this.setOpenButton(document.activeElement),this.toggleMenu(new CustomEvent("toggle")))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}render(){const t={background:f(this.backgroundColor,this.theme)},e=p(this.topLevelOpenMenuBarLangObject),s=p(this.exitLangObject);return i(o,{key:"dcefec6bb011072769a403f67849797e5fa8f3ae"},i("div",{key:"d498c18cb535e4750ce2b9af9d19a7e2197c8a0a",class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},this.modal&&i("duet-overlay",{key:"032de240d334b8653caab29e94d72abafa1807fc",visible:this.open,"display-device":"large",zIndex:"600"}),i("div",{key:"48ed352b83ed43e36bc3689f5606500b549fd871",ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"slot-container",class:{dialog:!0,hidden:!this.open,modal:this.modal},style:t},i(r,{key:"b434b224c99a059a8ac6f764eaa6a37a8aefd142",moveFocusTo:this.closeButton}),i("div",{key:"be5f535c7ed0347040bedca4a4b4834666d6c327",class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{key:"f74dce46123f8bb14f06a5a69bea2de111f53a69",class:"top"},i("button",{key:"1054e241cbd47253774aeb9fa51631ae94688592",ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${s}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},i("duet-icon",{key:"41709242489fff542f2db4560557795af2620408",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{key:"fa2eeb005c1d625af0c792b735128a22fb33169c",class:"sticky-header"},i("slot",{key:"c2754ffd21e986a6038fb5cac5fd50f8823cf933",name:"sticky-header"}))),i("div",{key:"5a42ff8d5bc2a3e3749460bc71b6792530295993",id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?e:null,class:{items:!0}},i("slot",{key:"ef27791ecc42176dffccc3b5aa9bab77a736d4fb"})),i(r,{key:"94f2649dff2bcebaa1b716aa4bd15e472d1730e8",moveFocusTo:this.closeButton}))))}get element(){return s(this)}static get watchers(){return{open:["handleOpenChange"]}}};y.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;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)}';export{y as duet_slideout}
|