@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/hydrate/index.js
CHANGED
|
@@ -479,7 +479,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
481
|
var parseClassListRegex = /\s/;
|
|
482
|
-
var parseClassList
|
|
482
|
+
var parseClassList=s=>("object"==typeof s&&"baseVal"in s&&(s=s.baseVal),s?s.split(parseClassListRegex):[]);
|
|
483
483
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
484
484
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
485
485
|
|
|
@@ -2651,8 +2651,9 @@ var Build = {
|
|
|
2651
2651
|
var styles = /* @__PURE__ */ new Map();
|
|
2652
2652
|
|
|
2653
2653
|
const inheritGlobalTheme = (component) => {
|
|
2654
|
-
|
|
2655
|
-
|
|
2654
|
+
var _a, _b;
|
|
2655
|
+
// this is done in a complex way to support hydrate.renderToString
|
|
2656
|
+
const classList = (_b = (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "";
|
|
2656
2657
|
const theme = /(duet-theme-)([a-z]*)/gi.exec(classList);
|
|
2657
2658
|
if (theme && theme[1] === "duet-theme-") {
|
|
2658
2659
|
component.theme = theme[2] === "default" ? "" : theme[2];
|
|
@@ -3911,17 +3912,20 @@ class DuetAlert {
|
|
|
3911
3912
|
* Always the last one in the class.
|
|
3912
3913
|
*/
|
|
3913
3914
|
render() {
|
|
3914
|
-
|
|
3915
|
+
const variation = ["default", "success", "danger", "warning"].includes(this.variation)
|
|
3916
|
+
? this.variation
|
|
3917
|
+
: "default";
|
|
3918
|
+
return (hAsync(Host, { key: 'b9a786006544e12ee10ee1a8af704ac65c97c3b3', class: {
|
|
3915
3919
|
"duet-theme-turva": this.theme === "turva",
|
|
3916
3920
|
"duet-alert-is-dismissed": this.isDismissed,
|
|
3917
|
-
}, role: this.announcements ? "alert" : undefined }, hAsync("div", { key: '
|
|
3921
|
+
}, role: this.announcements ? "alert" : undefined }, hAsync("div", { key: '3abfcee0d83c8806925875c34cafd4898a045cbe', class: {
|
|
3918
3922
|
"duet-alert-wrapper": true,
|
|
3919
3923
|
"duet-p-0": this.padding === "none",
|
|
3920
3924
|
"duet-m-0": this.margin === "none",
|
|
3921
|
-
[
|
|
3925
|
+
[variation]: true,
|
|
3922
3926
|
[this.position]: true,
|
|
3923
3927
|
"duet-theme-turva": this.theme === "turva",
|
|
3924
|
-
} }, hAsync("div", { key: '
|
|
3928
|
+
} }, hAsync("div", { key: '64bdd7788c6f4de9c409597f57b0a4c04e4d08c0', class: {
|
|
3925
3929
|
"duet-alert": true,
|
|
3926
3930
|
"duet-alert-expandable": !!this.expandingTitle,
|
|
3927
3931
|
"duet-alert-expanded": this.isExpanded,
|
|
@@ -3930,11 +3934,11 @@ class DuetAlert {
|
|
|
3930
3934
|
"duet-alert-is-dismissible": this.dismissible,
|
|
3931
3935
|
"duet-p-0": this.padding === "none",
|
|
3932
3936
|
"duet-m-0": this.margin === "none",
|
|
3933
|
-
[
|
|
3937
|
+
[variation]: true,
|
|
3934
3938
|
"duet-theme-turva": this.theme === "turva",
|
|
3935
|
-
} }, hAsync("div", { key: '
|
|
3939
|
+
} }, hAsync("div", { key: '23c686f352e1d59a16c2418d870d9bac5a7bc7a0', class: "duet-alert-container", ref: element => {
|
|
3936
3940
|
this.alertContainer = element;
|
|
3937
|
-
}, tabindex: this.focusable ? "0" : undefined }, this.position !== "below-nav" && (hAsync("div", { key: '
|
|
3941
|
+
}, tabindex: this.focusable ? "0" : undefined }, this.position !== "below-nav" && (hAsync("div", { key: '03f16f41c1f3021d20e826cefc4beb0de0b24c04', class: "duet-alert-icon" }, (this.icon && hAsync("duet-icon", { key: '8afb7844d4941299ce755eb0fcf2b0d5bc9848ca', size: "auto", name: this.icon, color: "currentColor" })) || (hAsync("duet-status-icon", { key: 'acb87af93cf0e438fc2424b03c66a47d7c2377fc', strong: true, variation: variation, margin: "none", size: "auto" })))), this.position === "below-nav" && (hAsync("div", { key: 'c4d34eb31fc386b50b5f0a5c52f88487d83fe29b', class: "duet-alert-icon below-nav" }, hAsync("duet-status-icon", { key: 'f38cba8f102c47aca6e902a76e89d8a3633891f0', strong: true, variation: variation, margin: "none", size: "auto" }))), hAsync("div", { key: '4af2b55a31cdab6c1481c1a174e677f09311f0ac', class: "duet-alert-content", id: this.descriptiveId }, this.expandingTitle && (hAsync("button", { key: '7e77ad8d36c7ddeb1118ba8585f3b50e8af2264d', "aria-expanded": this.isExpanded.toString(), "aria-controls": `${this.descriptiveId}-content`, class: "duet-alert-expander", onClick: this.handleExpandToggle }, hAsync("span", { key: 'dea341c2b66217c66fabb05236a83bfdde7155d8', class: "expanding-title" }, this.expandingTitle), hAsync("duet-icon", { key: '4a4dfb197c068d1cf585cd3fd4c510586bf7ba6c', name: "action-arrow-down", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, margin: "none", size: "x-small" }))), (!this.expandingTitle || this.isExpanded) && (hAsync("div", { key: 'fe30abd1f14777e30a7f39c7d6e09965d31bfcc3', id: `${this.descriptiveId}-content` }, hAsync("slot", { key: '12180f3b78a1bd75b76e2a5842800f8a6c5552c8' }))))), this.hasShowMoreSlot && (hAsync("duet-show-more", { key: '1369e15586f49ec467770522ae394be560c2d461', margin: "none", class: "duet-alert-show-more" }, hAsync("slot", { key: '24c5b71daf8a6ae0136006a21fe789e590faf960', name: "show-more" }))), this.dismissible && !this.expandingTitle && (hAsync("div", { key: '75f16a5078ded896ce370396dc422fa959d90e2c', class: "duet-alert-dismiss" }, hAsync("duet-button", { key: '243a3bec904a6d8bac1fb2c2d47e206213d60832', variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, theme: this.theme, onClick: this.handleDismiss, fixed: true })))))));
|
|
3938
3942
|
}
|
|
3939
3943
|
get element() { return getElement(this); }
|
|
3940
3944
|
static get style() { return DuetAlertStyle0; }
|
|
@@ -4425,9 +4429,6 @@ class DuetButton {
|
|
|
4425
4429
|
]);
|
|
4426
4430
|
}
|
|
4427
4431
|
disconnectedCallback() {
|
|
4428
|
-
if (this.proxyButton) {
|
|
4429
|
-
this.proxyButton = null;
|
|
4430
|
-
}
|
|
4431
4432
|
disconnectLanguageChangeObserver(this);
|
|
4432
4433
|
}
|
|
4433
4434
|
componentDidRender() {
|
|
@@ -4474,12 +4475,12 @@ class DuetButton {
|
|
|
4474
4475
|
// enforce consistency for external links
|
|
4475
4476
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
4476
4477
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
4477
|
-
const commonChildren = (hAsync("span", { key: '
|
|
4478
|
+
const commonChildren = (hAsync("span", { key: '678d799beaacfd7ba10f347c1134f9994c17bd37', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (hAsync("span", { key: '268e13a5110b19f4813f84f1b86ea82ebb855c04', "aria-hidden": "true", class: {
|
|
4478
4479
|
"duet-button-icon": true,
|
|
4479
4480
|
left: !iconRight,
|
|
4480
4481
|
right: iconRight,
|
|
4481
4482
|
[this.getButtonIconSize()]: true,
|
|
4482
|
-
} }, hAsync("duet-icon", { key: '
|
|
4483
|
+
} }, hAsync("duet-icon", { key: '129c01f0be6794839256abc0d38f08b0f6e5d1a0', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: '0fdab10e6e3372dc2a1fce7669eb34857292e8f1', class: "duet-button-contents-slot" }, hAsync("slot", { key: '63bcd80d436f5a8cefbfbd079402a792d67b924a' }))));
|
|
4483
4484
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
4484
4485
|
const commonProps = {
|
|
4485
4486
|
onFocus: this.onFocus,
|
|
@@ -4514,7 +4515,7 @@ class DuetButton {
|
|
|
4514
4515
|
"aria-details": this.accessibleDetails,
|
|
4515
4516
|
"aria-description": this.accessibleDescription,
|
|
4516
4517
|
};
|
|
4517
|
-
return (hAsync(Host, { key: '
|
|
4518
|
+
return (hAsync(Host, { key: 'f9fadeb94d8058d459bd8bac7fee7e998ea6665c', class: {
|
|
4518
4519
|
"duet-m-0": this.margin === "none",
|
|
4519
4520
|
"duet-small": this.size === "small",
|
|
4520
4521
|
"duet-x-small": this.size === "x-small",
|
|
@@ -4522,13 +4523,13 @@ class DuetButton {
|
|
|
4522
4523
|
"duet-expand": this.expand,
|
|
4523
4524
|
[this.variation]: true,
|
|
4524
4525
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
4525
|
-
} }, hAsync("span", { key: '
|
|
4526
|
+
} }, hAsync("span", { key: '7604ca1173113123edfcf47d03ae88ada1831604', onClick: this.handleClick, class: {
|
|
4526
4527
|
"duet-button-container": true,
|
|
4527
4528
|
"duet-button-is-loading": this.loading,
|
|
4528
4529
|
"duet-theme-turva": this.theme === "turva",
|
|
4529
4530
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
4530
4531
|
[this.variation]: true,
|
|
4531
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '
|
|
4532
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '2dc9b4755bd4211fe1be3ff779989777688893d7', color: "currentColor" })), hAsync("slot", { key: '6854922f3b7aed2aa0e72c517a3d46d060d7b9a7', name: "proxybutton" })));
|
|
4532
4533
|
}
|
|
4533
4534
|
get element() { return getElement(this); }
|
|
4534
4535
|
static get style() { return DuetButtonStyle0; }
|
|
@@ -7381,7 +7382,7 @@ class DuetCookieConsent {
|
|
|
7381
7382
|
* Always the last one in the class.
|
|
7382
7383
|
*/
|
|
7383
7384
|
render() {
|
|
7384
|
-
return (hAsync(Host, { key: '
|
|
7385
|
+
return (hAsync(Host, { key: '476f5d2cbdca75ceaf88e2f974a1163ad7f0184f', tabindex: "-1", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '9d26bb861fe4beb008d4f7a7c53002942ec93dff', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'f5906f93ada11a35ee25438441c92c52ed8b8242', class: "duet-cookie-consent-content" }, hAsync("div", { key: '93deeef6b190845355a67151301c9087bfad00f1', class: "expand" }, hAsync("slot", { key: '8e3df378550301e37c91a6552cf66fdf807862f4' })), hAsync("duet-spacer", { key: '4885fb754af9146111969530157bfba03e0e828a', size: "large", direction: "horizontal" }), hAsync("div", { key: 'e1d0ccaac71e1fbfda8d5cc8789c1faed1e45180' }, hAsync("duet-button", { key: '63efb1ffe5afabcde47e60eee02915da395eb83c', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7385
7386
|
}
|
|
7386
7387
|
get element() { return getElement(this); }
|
|
7387
7388
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -8563,74 +8564,12 @@ class DuetFooter {
|
|
|
8563
8564
|
}; }
|
|
8564
8565
|
}
|
|
8565
8566
|
|
|
8566
|
-
const watchFor = (containerEl, tagName, onChange, changeHandler, options = {
|
|
8567
|
-
childList: true,
|
|
8568
|
-
subtree: true,
|
|
8569
|
-
}) => {
|
|
8570
|
-
let mutation;
|
|
8571
|
-
if (typeof MutationObserver !== "undefined") {
|
|
8572
|
-
mutation = new MutationObserver(mutationList => {
|
|
8573
|
-
onChange(changeHandler(mutationList, tagName));
|
|
8574
|
-
});
|
|
8575
|
-
mutation.observe(containerEl, options);
|
|
8576
|
-
}
|
|
8577
|
-
return mutation;
|
|
8578
|
-
};
|
|
8579
|
-
const watchForOptions = (containerEl, tagName, onChange) => {
|
|
8580
|
-
return watchFor(containerEl, tagName, onChange, getSelectedOption);
|
|
8581
|
-
};
|
|
8582
|
-
const watchForElement = (containerEl, tagName, onChange) => {
|
|
8583
|
-
return watchFor(containerEl, tagName, onChange, getElementItem, {
|
|
8584
|
-
childList: true,
|
|
8585
|
-
subtree: true,
|
|
8586
|
-
});
|
|
8587
|
-
};
|
|
8588
|
-
const getElementItem = (mutationList) => {
|
|
8589
|
-
let addedNode = false;
|
|
8590
|
-
let removedNode = false;
|
|
8591
|
-
mutationList.forEach(mut => {
|
|
8592
|
-
if (mut.addedNodes.length) {
|
|
8593
|
-
addedNode = true;
|
|
8594
|
-
}
|
|
8595
|
-
if (mut.removedNodes.length) {
|
|
8596
|
-
removedNode = true;
|
|
8597
|
-
}
|
|
8598
|
-
});
|
|
8599
|
-
return { addedNode, removedNode, mutationList };
|
|
8600
|
-
};
|
|
8601
|
-
const getSelectedOption = (mutationList, tagName) => {
|
|
8602
|
-
let newOption;
|
|
8603
|
-
mutationList.forEach(mut => {
|
|
8604
|
-
// tslint:disable-next-line: prefer-for-of
|
|
8605
|
-
for (let i = 0; i < mut.addedNodes.length; i++) {
|
|
8606
|
-
newOption = findCheckedOption(mut.addedNodes[i], tagName) || newOption;
|
|
8607
|
-
}
|
|
8608
|
-
});
|
|
8609
|
-
return newOption;
|
|
8610
|
-
};
|
|
8611
|
-
const findCheckedOption = (el, tagName) => {
|
|
8612
|
-
if (el.nodeType !== 1) {
|
|
8613
|
-
return undefined;
|
|
8614
|
-
}
|
|
8615
|
-
const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
|
|
8616
|
-
return options.find((o) => o.checked === true);
|
|
8617
|
-
};
|
|
8618
|
-
|
|
8619
8567
|
const duetGridCss = ":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}";
|
|
8620
8568
|
var DuetGridStyle0 = duetGridCss;
|
|
8621
8569
|
|
|
8622
|
-
function isGridItem(element) {
|
|
8623
|
-
return element.tagName.toLowerCase() === "duet-grid-item";
|
|
8624
|
-
}
|
|
8625
8570
|
class DuetGrid {
|
|
8626
8571
|
constructor(hostRef) {
|
|
8627
8572
|
registerInstance(this, hostRef);
|
|
8628
|
-
this.mql = [
|
|
8629
|
-
window.matchMedia(media_query_large.replace(/'/g, "")),
|
|
8630
|
-
window.matchMedia(media_query_medium.replace(/'/g, "")),
|
|
8631
|
-
window.matchMedia(media_query_small.replace(/'/g, "")),
|
|
8632
|
-
];
|
|
8633
|
-
this.distributeFormElement = false;
|
|
8634
8573
|
this.responsive = false;
|
|
8635
8574
|
this.breakpoint = "small";
|
|
8636
8575
|
this.direction = "horizontal";
|
|
@@ -8654,52 +8593,37 @@ class DuetGrid {
|
|
|
8654
8593
|
.map(side => parseInt(style[`margin-${side}`]))
|
|
8655
8594
|
.reduce((total, side) => total + side, height);
|
|
8656
8595
|
}
|
|
8596
|
+
debounceWindowResizeHandler() {
|
|
8597
|
+
}
|
|
8657
8598
|
/**
|
|
8658
8599
|
* Component lifecycle events.
|
|
8659
8600
|
*/
|
|
8660
8601
|
async connectedCallback() {
|
|
8661
|
-
const el = this.element;
|
|
8662
|
-
this.distributeFormElement = this.alignment === "form_distribute";
|
|
8663
|
-
this.mutationO = watchForOptions(el, "duet-grid-item", () => {
|
|
8664
|
-
this.updateGridItems();
|
|
8665
|
-
});
|
|
8666
8602
|
// the next two functions are used to watch for changes in the grid items, and are process intensive - so only run when needed
|
|
8667
|
-
if (this.
|
|
8668
|
-
this.
|
|
8669
|
-
this.updateGridItemsWithInputFields();
|
|
8670
|
-
});
|
|
8671
|
-
// listen for potential mediaquery changes and reset layout
|
|
8672
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
8673
|
-
// addEventListener is not available in Stencil hydrate
|
|
8674
|
-
if (this.mql[i].addEventListener) {
|
|
8675
|
-
this.mql[i].addEventListener("change", this.updateGridItemsWithInputFields.bind(this));
|
|
8676
|
-
}
|
|
8677
|
-
}
|
|
8603
|
+
if (this.alignment === "form_distribute") {
|
|
8604
|
+
this.updateGridItemsWithInputFields();
|
|
8678
8605
|
}
|
|
8679
8606
|
this.updateGridItems();
|
|
8680
8607
|
}
|
|
8681
8608
|
disconnectedCallback() {
|
|
8682
|
-
if (this.
|
|
8683
|
-
this.
|
|
8684
|
-
this.
|
|
8609
|
+
if (this.childObserver) {
|
|
8610
|
+
this.childObserver.disconnect();
|
|
8611
|
+
this.childObserver = undefined;
|
|
8685
8612
|
}
|
|
8686
|
-
if (this.
|
|
8687
|
-
this.
|
|
8688
|
-
this.
|
|
8689
|
-
}
|
|
8690
|
-
// listen for potential mediaquery changes and reset layout
|
|
8691
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
8692
|
-
// addEventListener is not available in Stencil hydrate
|
|
8693
|
-
if (this.mql[i].removeEventListener) {
|
|
8694
|
-
this.mql[i].removeEventListener("change", this.updateGridItemsWithInputFields.bind(this));
|
|
8695
|
-
}
|
|
8613
|
+
if (this.formDistributeObserver) {
|
|
8614
|
+
this.formDistributeObserver.disconnect();
|
|
8615
|
+
this.formDistributeObserver = undefined;
|
|
8696
8616
|
}
|
|
8617
|
+
window.removeEventListener("resize", this.debounceWindowResizeHandler);
|
|
8697
8618
|
}
|
|
8698
8619
|
/**
|
|
8699
8620
|
* Local methods
|
|
8700
8621
|
*/
|
|
8622
|
+
getDirectChildren() {
|
|
8623
|
+
return Array.from(this.element.children );
|
|
8624
|
+
}
|
|
8701
8625
|
async updateGridItems() {
|
|
8702
|
-
const items =
|
|
8626
|
+
const items = this.getDirectChildren().filter(child => child.tagName.toLowerCase() === "duet-grid-item");
|
|
8703
8627
|
items.forEach(item => {
|
|
8704
8628
|
item.responsive = this.responsive;
|
|
8705
8629
|
item.breakpoint = this.breakpoint;
|
|
@@ -8708,7 +8632,28 @@ class DuetGrid {
|
|
|
8708
8632
|
});
|
|
8709
8633
|
}
|
|
8710
8634
|
async updateGridItemsWithInputFields() {
|
|
8711
|
-
|
|
8635
|
+
// Duet components that need to taken into account in form_distribute
|
|
8636
|
+
const elementNames = [
|
|
8637
|
+
"duet-button",
|
|
8638
|
+
"duet-checkbox",
|
|
8639
|
+
"duet-choice",
|
|
8640
|
+
"duet-choice-group",
|
|
8641
|
+
"duet-combobox",
|
|
8642
|
+
"duet-date-picker",
|
|
8643
|
+
"duet-fieldset",
|
|
8644
|
+
"duet-grid-item",
|
|
8645
|
+
"duet-input",
|
|
8646
|
+
"duet-multiselect",
|
|
8647
|
+
"duet-number-input",
|
|
8648
|
+
"duet-phone-input",
|
|
8649
|
+
"duet-radio",
|
|
8650
|
+
"duet-radio-group",
|
|
8651
|
+
"duet-range-slider",
|
|
8652
|
+
"duet-select",
|
|
8653
|
+
"duet-textarea",
|
|
8654
|
+
"duet-toggle",
|
|
8655
|
+
];
|
|
8656
|
+
const items = this.getDirectChildren().filter(child => !!child.querySelector(elementNames.join(",")) || elementNames.includes(child.tagName.toLowerCase()));
|
|
8712
8657
|
// if layout changes to columns instead of row, remove all padding
|
|
8713
8658
|
const hasColumnLayout = window ? window.getComputedStyle(this.element).flexDirection === "column" : false;
|
|
8714
8659
|
let maxHeight = 0;
|
|
@@ -8757,8 +8702,7 @@ class DuetGrid {
|
|
|
8757
8702
|
"alignment": [1],
|
|
8758
8703
|
"distribution": [1],
|
|
8759
8704
|
"mobile": [1],
|
|
8760
|
-
"gridTemplate": [1, "grid-template"]
|
|
8761
|
-
"distributeFormElement": [32]
|
|
8705
|
+
"gridTemplate": [1, "grid-template"]
|
|
8762
8706
|
},
|
|
8763
8707
|
"$listeners$": undefined,
|
|
8764
8708
|
"$lazyBundleId$": "-",
|
|
@@ -10102,7 +10046,7 @@ function cleanValue(input, regex) {
|
|
|
10102
10046
|
return newValue;
|
|
10103
10047
|
}
|
|
10104
10048
|
|
|
10105
|
-
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-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;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input,.duet-input-variation-button-left.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input,.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input,.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input{border-radius:4px}.duet-input-variation-button-left.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-button-left.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-button-left.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-button-left.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-button-left.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-button-left.sc-duet-input .duet-input.sc-duet-input:hover:not(.disabled){box-shadow:none !important}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
10049
|
+
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-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;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.input-padding-xx-small.sc-duet-input button.sc-duet-input{top:-12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.input-padding-x-small.sc-duet-input button.sc-duet-input{top:-16px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.input-padding-small.sc-duet-input button.sc-duet-input{top:-20px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-xx-small.sc-duet-input button.sc-duet-input{top:-36px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-x-small.sc-duet-input button.sc-duet-input{top:-40px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-small.sc-duet-input button.sc-duet-input{top:-44px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-xx-small.sc-duet-input button.sc-duet-input{top:-12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-x-small.sc-duet-input button.sc-duet-input{top:-16px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-small.sc-duet-input button.sc-duet-input{top:-20px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input,.duet-input-variation-button-left.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input,.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input,.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input{border-radius:4px}.duet-input-variation-button-left.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-button-left.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-button-left.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-button-left.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-button-left.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-button-left.sc-duet-input .duet-input.sc-duet-input:hover:not(.disabled){box-shadow:none !important}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
10106
10050
|
var DuetInputStyle0 = duetInputCss;
|
|
10107
10051
|
|
|
10108
10052
|
/**
|
|
@@ -10735,7 +10679,7 @@ function getAccessibleLinkLabel(component) {
|
|
|
10735
10679
|
return null;
|
|
10736
10680
|
}
|
|
10737
10681
|
|
|
10738
|
-
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow: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)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
10682
|
+
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link,.block-center.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon,.block-center.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none,.block-center.duet-link.none{padding:0}.block .block__icon,.block-center .block__icon{display:flex}.block .block__icon duet-icon,.block-center .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content,.block-center .block__content{position:relative;bottom:2px}.block .block__chevron,.block-center .block__chevron{align-self:center}.block .block__chevron-icon,.block-center .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon,.block-center:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.block-center.duet-link{align-items:center}.block-center .block__content{position:static}.block-center .block__chevron{display:flex;align-items:center}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow: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)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
10739
10683
|
var DuetLinkStyle0 = duetLinkCss;
|
|
10740
10684
|
|
|
10741
10685
|
/**
|
|
@@ -10831,6 +10775,7 @@ class DuetLink {
|
|
|
10831
10775
|
case "default":
|
|
10832
10776
|
return this.renderDefaultContent();
|
|
10833
10777
|
case "block":
|
|
10778
|
+
case "block-center":
|
|
10834
10779
|
return this.renderBlockContent();
|
|
10835
10780
|
case "button":
|
|
10836
10781
|
case "card":
|
|
@@ -10844,10 +10789,10 @@ class DuetLink {
|
|
|
10844
10789
|
render() {
|
|
10845
10790
|
const Tag = !this.url ? "button" : "a";
|
|
10846
10791
|
const isButton = Tag === "button";
|
|
10847
|
-
return (hAsync(Host, { key: '
|
|
10792
|
+
return (hAsync(Host, { key: '257fc0e157b43e4e1daaa1ec31f408436c28c733', class: {
|
|
10848
10793
|
[`duet-link-${this.variation}`]: true,
|
|
10849
10794
|
"duet-m-0": this.margin === "none",
|
|
10850
|
-
} }, hAsync(Tag, { key: '
|
|
10795
|
+
} }, hAsync(Tag, { key: 'fc0fe56a54a5ae2cfc59251d8c2c5f3e70fe9fb9', href: this.url, class: {
|
|
10851
10796
|
"duet-link": true,
|
|
10852
10797
|
"duet-link-is-external": this.external,
|
|
10853
10798
|
"duet-link-is-download": !!this.download,
|
|
@@ -10901,6 +10846,40 @@ class DuetLink {
|
|
|
10901
10846
|
}; }
|
|
10902
10847
|
}
|
|
10903
10848
|
|
|
10849
|
+
const watchFor = (containerEl, tagName, onChange, changeHandler, options = {
|
|
10850
|
+
childList: true,
|
|
10851
|
+
subtree: true,
|
|
10852
|
+
}) => {
|
|
10853
|
+
let mutation;
|
|
10854
|
+
if (typeof MutationObserver !== "undefined") {
|
|
10855
|
+
mutation = new MutationObserver(mutationList => {
|
|
10856
|
+
onChange(changeHandler(mutationList, tagName));
|
|
10857
|
+
});
|
|
10858
|
+
mutation.observe(containerEl, options);
|
|
10859
|
+
}
|
|
10860
|
+
return mutation;
|
|
10861
|
+
};
|
|
10862
|
+
const watchForOptions = (containerEl, tagName, onChange) => {
|
|
10863
|
+
return watchFor(containerEl, tagName, onChange, getSelectedOption);
|
|
10864
|
+
};
|
|
10865
|
+
const getSelectedOption = (mutationList, tagName) => {
|
|
10866
|
+
let newOption;
|
|
10867
|
+
mutationList.forEach(mut => {
|
|
10868
|
+
// tslint:disable-next-line: prefer-for-of
|
|
10869
|
+
for (let i = 0; i < mut.addedNodes.length; i++) {
|
|
10870
|
+
newOption = findCheckedOption(mut.addedNodes[i], tagName) || newOption;
|
|
10871
|
+
}
|
|
10872
|
+
});
|
|
10873
|
+
return newOption;
|
|
10874
|
+
};
|
|
10875
|
+
const findCheckedOption = (el, tagName) => {
|
|
10876
|
+
if (el.nodeType !== 1) {
|
|
10877
|
+
return undefined;
|
|
10878
|
+
}
|
|
10879
|
+
const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
|
|
10880
|
+
return options.find((o) => o.checked === true);
|
|
10881
|
+
};
|
|
10882
|
+
|
|
10904
10883
|
const duetListCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";
|
|
10905
10884
|
var DuetListStyle0 = duetListCss;
|
|
10906
10885
|
|
|
@@ -15410,7 +15389,8 @@ class DuetPhoneInput {
|
|
|
15410
15389
|
return (_a = this.duetInputElement.value) === null || _a === void 0 ? void 0 : _a.replace(/\s/g, "");
|
|
15411
15390
|
}
|
|
15412
15391
|
set value(val) {
|
|
15413
|
-
this.
|
|
15392
|
+
this.duetInputElement.value = val;
|
|
15393
|
+
this.handleInput();
|
|
15414
15394
|
}
|
|
15415
15395
|
/**
|
|
15416
15396
|
* This is a proxy for the enclosed native inputs validity
|
|
@@ -15565,8 +15545,9 @@ function getOppositeAxis(axis) {
|
|
|
15565
15545
|
function getAxisLength(axis) {
|
|
15566
15546
|
return axis === 'y' ? 'height' : 'width';
|
|
15567
15547
|
}
|
|
15548
|
+
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
15568
15549
|
function getSideAxis(placement) {
|
|
15569
|
-
return
|
|
15550
|
+
return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
|
|
15570
15551
|
}
|
|
15571
15552
|
function getAlignmentAxis(placement) {
|
|
15572
15553
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -15591,19 +15572,19 @@ function getExpandedPlacements(placement) {
|
|
|
15591
15572
|
function getOppositeAlignmentPlacement(placement) {
|
|
15592
15573
|
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
15593
15574
|
}
|
|
15575
|
+
const lrPlacement = ['left', 'right'];
|
|
15576
|
+
const rlPlacement = ['right', 'left'];
|
|
15577
|
+
const tbPlacement = ['top', 'bottom'];
|
|
15578
|
+
const btPlacement = ['bottom', 'top'];
|
|
15594
15579
|
function getSideList(side, isStart, rtl) {
|
|
15595
|
-
const lr = ['left', 'right'];
|
|
15596
|
-
const rl = ['right', 'left'];
|
|
15597
|
-
const tb = ['top', 'bottom'];
|
|
15598
|
-
const bt = ['bottom', 'top'];
|
|
15599
15580
|
switch (side) {
|
|
15600
15581
|
case 'top':
|
|
15601
15582
|
case 'bottom':
|
|
15602
|
-
if (rtl) return isStart ?
|
|
15603
|
-
return isStart ?
|
|
15583
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
15584
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
15604
15585
|
case 'left':
|
|
15605
15586
|
case 'right':
|
|
15606
|
-
return isStart ?
|
|
15587
|
+
return isStart ? tbPlacement : btPlacement;
|
|
15607
15588
|
default:
|
|
15608
15589
|
return [];
|
|
15609
15590
|
}
|
|
@@ -15993,10 +15974,12 @@ const flip = function (options) {
|
|
|
15993
15974
|
return {};
|
|
15994
15975
|
}
|
|
15995
15976
|
const side = getSide(placement);
|
|
15977
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
15996
15978
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
15997
15979
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
15998
15980
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
15999
|
-
|
|
15981
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
15982
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
16000
15983
|
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
16001
15984
|
}
|
|
16002
15985
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
@@ -16021,16 +16004,22 @@ const flip = function (options) {
|
|
|
16021
16004
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
16022
16005
|
const nextPlacement = placements[nextIndex];
|
|
16023
16006
|
if (nextPlacement) {
|
|
16024
|
-
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
|
|
16007
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
16008
|
+
if (!ignoreCrossAxisOverflow ||
|
|
16009
|
+
// We leave the current main axis only if every placement on that axis
|
|
16010
|
+
// overflows the main axis.
|
|
16011
|
+
overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
16012
|
+
// Try next placement and re-run the lifecycle.
|
|
16013
|
+
return {
|
|
16014
|
+
data: {
|
|
16015
|
+
index: nextIndex,
|
|
16016
|
+
overflows: overflowsData
|
|
16017
|
+
},
|
|
16018
|
+
reset: {
|
|
16019
|
+
placement: nextPlacement
|
|
16020
|
+
}
|
|
16021
|
+
};
|
|
16022
|
+
}
|
|
16034
16023
|
}
|
|
16035
16024
|
|
|
16036
16025
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -16042,8 +16031,17 @@ const flip = function (options) {
|
|
|
16042
16031
|
switch (fallbackStrategy) {
|
|
16043
16032
|
case 'bestFit':
|
|
16044
16033
|
{
|
|
16045
|
-
var _overflowsData$
|
|
16046
|
-
const placement = (_overflowsData$
|
|
16034
|
+
var _overflowsData$filter2;
|
|
16035
|
+
const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
|
|
16036
|
+
if (hasFallbackAxisSideDirection) {
|
|
16037
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
16038
|
+
return currentSideAxis === initialSideAxis ||
|
|
16039
|
+
// Create a bias to the `y` side axis due to horizontal
|
|
16040
|
+
// reading directions favoring greater width.
|
|
16041
|
+
currentSideAxis === 'y';
|
|
16042
|
+
}
|
|
16043
|
+
return true;
|
|
16044
|
+
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
16047
16045
|
if (placement) {
|
|
16048
16046
|
resetPlacement = placement;
|
|
16049
16047
|
}
|
|
@@ -16067,6 +16065,8 @@ const flip = function (options) {
|
|
|
16067
16065
|
};
|
|
16068
16066
|
};
|
|
16069
16067
|
|
|
16068
|
+
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
16069
|
+
|
|
16070
16070
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
16071
16071
|
// Derivable.
|
|
16072
16072
|
|
|
@@ -16080,7 +16080,7 @@ async function convertValueToCoords(state, options) {
|
|
|
16080
16080
|
const side = getSide(placement);
|
|
16081
16081
|
const alignment = getAlignment(placement);
|
|
16082
16082
|
const isVertical = getSideAxis(placement) === 'y';
|
|
16083
|
-
const mainAxisMulti =
|
|
16083
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
16084
16084
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
16085
16085
|
const rawValue = evaluate(options, state);
|
|
16086
16086
|
|
|
@@ -16094,10 +16094,9 @@ async function convertValueToCoords(state, options) {
|
|
|
16094
16094
|
crossAxis: 0,
|
|
16095
16095
|
alignmentAxis: null
|
|
16096
16096
|
} : {
|
|
16097
|
-
mainAxis: 0,
|
|
16098
|
-
crossAxis: 0,
|
|
16099
|
-
alignmentAxis:
|
|
16100
|
-
...rawValue
|
|
16097
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
16098
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
16099
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
16101
16100
|
};
|
|
16102
16101
|
if (alignment && typeof alignmentAxis === 'number') {
|
|
16103
16102
|
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
@@ -16219,7 +16218,11 @@ const shift = function (options) {
|
|
|
16219
16218
|
...limitedCoords,
|
|
16220
16219
|
data: {
|
|
16221
16220
|
x: limitedCoords.x - x,
|
|
16222
|
-
y: limitedCoords.y - y
|
|
16221
|
+
y: limitedCoords.y - y,
|
|
16222
|
+
enabled: {
|
|
16223
|
+
[mainAxis]: checkMainAxis,
|
|
16224
|
+
[crossAxis]: checkCrossAxis
|
|
16225
|
+
}
|
|
16223
16226
|
}
|
|
16224
16227
|
};
|
|
16225
16228
|
}
|
|
@@ -17117,6 +17120,9 @@ class DuetPopupMenu {
|
|
|
17117
17120
|
return;
|
|
17118
17121
|
}
|
|
17119
17122
|
if (this.open && !oldValue) {
|
|
17123
|
+
const autoUpdateConfig = {
|
|
17124
|
+
ancestorScroll: !this.forcePlacement,
|
|
17125
|
+
};
|
|
17120
17126
|
if (this.openButton) {
|
|
17121
17127
|
this.openButton.accessibleExpanded = true;
|
|
17122
17128
|
}
|
|
@@ -17126,7 +17132,7 @@ class DuetPopupMenu {
|
|
|
17126
17132
|
this.updatePlacement();
|
|
17127
17133
|
// Start autoUpdate when menu is open
|
|
17128
17134
|
if (this.menuElement && this.openButton) {
|
|
17129
|
-
this.autoUpdateCleanup = autoUpdate(this.openButton, this.menuElement, this.updatePlacement);
|
|
17135
|
+
this.autoUpdateCleanup = autoUpdate(this.openButton, this.menuElement, this.updatePlacement, autoUpdateConfig);
|
|
17130
17136
|
}
|
|
17131
17137
|
if (this.showFilterInput) {
|
|
17132
17138
|
this.filterInput.value = "";
|
|
@@ -17189,17 +17195,17 @@ class DuetPopupMenu {
|
|
|
17189
17195
|
overflowY: "auto",
|
|
17190
17196
|
height: this.popupMenuStyleHeight,
|
|
17191
17197
|
};
|
|
17192
|
-
return (hAsync(Host, { key: '
|
|
17198
|
+
return (hAsync(Host, { key: '3ec941a205dc0baffda4fb90920a6d66d1f03150' }, hAsync("div", { key: '1574a9dae761cf5226d85299c98aad9cbe66c626', ref: element => {
|
|
17193
17199
|
this.menuElement = element;
|
|
17194
17200
|
}, style: styles, class: {
|
|
17195
17201
|
open: this.open,
|
|
17196
17202
|
"duet-popup-menu-list": true,
|
|
17197
17203
|
"duet-theme-turva": this.theme === "turva",
|
|
17198
17204
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
17199
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '
|
|
17205
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: 'b64b46ed737e9f63979718a106501a188edd5486' }, hAsync("duet-input", { key: 'aa21c8d65868a9c265304d01280b4cc49ba1e996', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), hAsync("duet-visually-hidden", { key: 'b7c8787de1caa71c2436375a96ce26101a864f60' }, hAsync("span", { key: '5573f919752c222b3a99ff56416cb0a6b14e20d3', role: "status" }, `
|
|
17200
17206
|
${this.filterResultCount}/${this.itemElements.length}
|
|
17201
17207
|
${this.filterResultCountLabel[this.language]}
|
|
17202
|
-
`)), hAsync("duet-spacer", { key: '
|
|
17208
|
+
`)), hAsync("duet-spacer", { key: '18b2e0894e1ac20362e94b913467ef8dd46d0176', size: "xx-small" }))), hAsync("slot", { key: '6e3755fca95627759a2af50ddf4fa938c549ceed' }))));
|
|
17203
17209
|
}
|
|
17204
17210
|
get element() { return getElement(this); }
|
|
17205
17211
|
static get watchers() { return {
|
|
@@ -18771,7 +18777,7 @@ class DuetShowMore {
|
|
|
18771
18777
|
"duet-theme-turva": this.theme === "turva",
|
|
18772
18778
|
"duet-m-0": this.margin === "none",
|
|
18773
18779
|
open: this.open,
|
|
18774
|
-
} }, hAsync("div", { key: '
|
|
18780
|
+
} }, hAsync("div", { key: 'bc1f2d3525d4e5ce6b10770013aa6696822a71aa', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, hAsync("div", { key: 'b250102aac08de1604938717797afcfc7f28f624', class: { "slotted-content": true } }, hAsync("slot", { key: '95f39f8e5abf0a79bf9f40cf34281013991cdd8b' }))), hAsync("duet-button", { key: 'b07f00cb1d84ba412a711f7f1f37e7e3269e1984', 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": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: '33157363432909baaa57cb03d67c71c0de61b073' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
18775
18781
|
}
|
|
18776
18782
|
get element() { return getElement(this); }
|
|
18777
18783
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -19810,14 +19816,17 @@ class DuetStatusIcon {
|
|
|
19810
19816
|
this.margin = "auto";
|
|
19811
19817
|
this.strong = false;
|
|
19812
19818
|
}
|
|
19819
|
+
getVariation() {
|
|
19820
|
+
return ["default", "success", "danger", "warning"].includes(this.variation) ? this.variation : "default";
|
|
19821
|
+
}
|
|
19813
19822
|
getBg() {
|
|
19814
|
-
return tokens$1[this.bg[this.strong ? "strong" : "default"][this.
|
|
19823
|
+
return tokens$1[this.bg[this.strong ? "strong" : "default"][this.getVariation()]];
|
|
19815
19824
|
}
|
|
19816
19825
|
getColor() {
|
|
19817
|
-
return tokens$1[this.color[this.strong ? "strong" : "default"][this.
|
|
19826
|
+
return tokens$1[this.color[this.strong ? "strong" : "default"][this.getVariation()]];
|
|
19818
19827
|
}
|
|
19819
19828
|
getIcon() {
|
|
19820
|
-
switch (this.
|
|
19829
|
+
switch (this.getVariation()) {
|
|
19821
19830
|
case "default":
|
|
19822
19831
|
return `
|
|
19823
19832
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
@@ -19842,10 +19851,10 @@ class DuetStatusIcon {
|
|
|
19842
19851
|
}
|
|
19843
19852
|
}
|
|
19844
19853
|
render() {
|
|
19845
|
-
return (hAsync(Host, { key: '
|
|
19846
|
-
[`duet-status-icon-${this.
|
|
19854
|
+
return (hAsync(Host, { key: 'fbe1061f951f0b72c146c3e761867466a7d569a1', class: {
|
|
19855
|
+
[`duet-status-icon-${this.getVariation()}`]: true,
|
|
19847
19856
|
"duet-strong-bg": this.strong,
|
|
19848
|
-
} }, hAsync("duet-icon", { key: '
|
|
19857
|
+
} }, hAsync("duet-icon", { key: '706af593d9624a7a07e991497eeb3221a550ff35', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
19849
19858
|
}
|
|
19850
19859
|
static get cmpMeta() { return {
|
|
19851
19860
|
"$flags$": 9,
|
|
@@ -22044,7 +22053,7 @@ class DuetTooltipPopup {
|
|
|
22044
22053
|
"duet-tooltip": true,
|
|
22045
22054
|
"duet-theme-turva": this.theme === "turva",
|
|
22046
22055
|
"duet-tooltip-active": this.active === true,
|
|
22047
|
-
} }, hAsync(FocusGuard, { key: 'f4c20c86fbdc65570036cffdc8d52fe2c0e418b2', moveFocusTo: this.buttonEl }), hAsync("div", { key: '
|
|
22056
|
+
} }, hAsync(FocusGuard, { key: 'f4c20c86fbdc65570036cffdc8d52fe2c0e418b2', moveFocusTo: this.buttonEl }), hAsync("div", { key: '429dcb3f8f937304222eeced15da8334c190be98', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: -1, id: this.tooltipId }, hAsync("slot", { key: '879f00dcf513564123e16926c5cd5c6a2c607149' })), hAsync("div", { key: 'e1113ba5f78cce26f4e98f4e78031bc5fddbd364', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '26c617c7e2d0ff6dd5146255be51e6396456811e', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'a32aa1233e0bb0d1f5e0d8152feb1ce60c0e8206', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: 'a05d812016bdbacc0eda6c686d1c6d7f58579ad7', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '7b1095d9da1e4ad3a743eca3e929368110061c2e' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '3a044f31d4922f5c2aa4278bb5792b1abf515fa6', moveFocusTo: this.contentEl }))));
|
|
22048
22057
|
}
|
|
22049
22058
|
get element() { return getElement(this); }
|
|
22050
22059
|
static get style() { return DuetTooltipPopupStyle0; }
|