@duetds/components 8.1.1 → 8.1.2
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 +31 -19
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +5 -4
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- 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 +3 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +3 -3
- package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -3
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +11 -8
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- 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-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +1 -1
- package/lib/cjs/{focus-utils-d0b70745.js → focus-utils-6b554ff9.js} +1 -1
- package/lib/cjs/{index-2dc54a15.js → index-157c822b.js} +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/cjs/{teleport-e9d05bca.js → teleport-e7315776.js} +8 -0
- package/lib/cjs/{token-utils-84b3bca6.js → token-utils-f11c288e.js} +1 -1
- package/lib/cjs/{tokens-cecc0f2f.js → tokens-c0b8b3a8.js} +1 -1
- package/lib/cjs/{tokens.module-10f42b21.js → tokens.module-44ad1fdb.js} +1 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +2 -2
- package/lib/collection/components/duet-button/duet-button.css +2 -2
- package/lib/collection/components/duet-button/duet-button.js +6 -5
- 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 +4 -4
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- 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 +1 -1
- 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 +3 -3
- 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 +2 -2
- package/lib/collection/components/duet-input/duet-input.js +8 -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-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-menu-bar-dropdown/duet-menu-bar-dropdown.css +5 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +12 -20
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +1 -1
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- 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-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- 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.css +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +7 -4
- 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-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +15 -7
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.css +1 -1
- 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-toolbar-dropdown/duet-toolbar-dropdown.css +5 -5
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +12 -10
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.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 +1 -1
- package/lib/collection/utils/teleport.js +8 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- 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 +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +12 -12
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- 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 +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- package/lib/dist-custom-elements/duet-multiselect.js +11 -11
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- 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-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +3 -3
- 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 +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- 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 +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +10 -7
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- 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-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- 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 +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- 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 +18 -18
- 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-fc1fa737.js → p-04889da1.js} +4 -4
- package/lib/dist-custom-elements/{p-65d472d7.js → p-0583d228.js} +2 -2
- package/lib/{esm/tokens-e6b6db9b.js → dist-custom-elements/p-0cc51aa5.js} +1 -1
- package/lib/dist-custom-elements/{p-76e8ab22.js → p-0d345f52.js} +2 -2
- package/lib/dist-custom-elements/{p-435c14fe.js → p-16e97b9c.js} +1 -1
- package/lib/dist-custom-elements/{p-adef0aaa.js → p-17f23d02.js} +2 -2
- package/lib/dist-custom-elements/{p-ff591309.js → p-18ae77da.js} +2 -2
- package/lib/dist-custom-elements/{p-e034dfea.js → p-23f7068d.js} +1 -1
- package/lib/dist-custom-elements/{p-8e357cfb.js → p-2591d3c1.js} +1 -1
- package/lib/dist-custom-elements/{p-04a295c6.js → p-26c9e94a.js} +1 -1
- package/lib/dist-custom-elements/{p-4391eb0d.js → p-2f7f4d60.js} +2 -2
- package/lib/dist-custom-elements/{p-6222a43f.js → p-3e81fc67.js} +2 -2
- package/lib/dist-custom-elements/{p-1e4ca38f.js → p-5f7df847.js} +1 -1
- package/lib/dist-custom-elements/{p-064f1578.js → p-60358cbc.js} +6 -6
- package/lib/dist-custom-elements/{p-ba28f5ce.js → p-60d4a8ce.js} +10 -10
- package/lib/dist-custom-elements/{p-490933fd.js → p-666a097e.js} +1 -1
- package/lib/dist-custom-elements/{p-e929268c.js → p-6b73593d.js} +2 -2
- package/lib/dist-custom-elements/{p-2613ae6a.js → p-6cdb4bc9.js} +9 -9
- package/lib/dist-custom-elements/{p-b2e550a3.js → p-751344b2.js} +8 -0
- package/lib/dist-custom-elements/{p-c057158b.js → p-7d6b2e2a.js} +1 -1
- package/lib/dist-custom-elements/{p-8b89622f.js → p-803d6f4c.js} +5 -5
- package/lib/dist-custom-elements/{p-68bd36c7.js → p-8496cd8c.js} +1 -1
- package/lib/dist-custom-elements/{p-0f8e290f.js → p-88a1e813.js} +5 -5
- package/lib/dist-custom-elements/{p-57a1cba9.js → p-9a81250e.js} +1 -1
- package/lib/dist-custom-elements/{p-5788a98f.js → p-a4f9be99.js} +2 -2
- package/lib/dist-custom-elements/{p-5e1cd480.js → p-a5450dd6.js} +2 -2
- package/lib/dist-custom-elements/{p-d0e52a83.js → p-a88f801c.js} +1 -1
- package/lib/dist-custom-elements/{p-10a15ea1.js → p-c7e8eeec.js} +1 -1
- package/lib/dist-custom-elements/{p-1b2fea2b.js → p-ca00c920.js} +2 -2
- package/lib/dist-custom-elements/{p-916e66c9.js → p-d4cb22d8.js} +2 -2
- package/lib/dist-custom-elements/p-d8f01eb9.js +301 -0
- package/lib/dist-custom-elements/{p-63ec7678.js → p-dab34418.js} +1 -1
- package/lib/dist-custom-elements/{p-994556c0.js → p-db24b3f2.js} +3 -3
- package/lib/dist-custom-elements/{p-beb5db77.js → p-e65ac105.js} +1 -1
- package/lib/dist-custom-elements/{p-24ae0332.js → p-e6b65023.js} +2 -2
- package/lib/dist-custom-elements/{p-47247d7e.js → p-ea3632de.js} +11 -11
- package/lib/dist-custom-elements/{p-618174a5.js → p-ec4ffa81.js} +3 -3
- package/lib/dist-custom-elements/{p-0b123cad.js → p-ff6cac8b.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-27d40494.system.entry.js → p-01e08373.system.entry.js} +1 -1
- package/lib/duet/{p-8693a1f3.entry.js → p-04249722.entry.js} +1 -1
- package/lib/duet/{p-87421fc1.system.entry.js → p-04e87e02.system.entry.js} +1 -1
- package/lib/duet/{p-1276c914.js → p-06570fbf.js} +1 -1
- package/lib/duet/{p-bd2b785a.entry.js → p-0a2bd8cf.entry.js} +1 -1
- package/lib/duet/{p-64d43840.js → p-0cc51aa5.js} +1 -1
- package/lib/duet/{p-737f4f78.entry.js → p-0d7aef74.entry.js} +1 -1
- package/lib/duet/p-0d80334c.entry.js +4 -0
- package/lib/duet/{p-a57b06db.system.entry.js → p-0f69701f.system.entry.js} +1 -1
- package/lib/duet/{p-4196e4ba.entry.js → p-1074866e.entry.js} +1 -1
- package/lib/duet/{p-89f7e363.system.entry.js → p-10932e23.system.entry.js} +1 -1
- package/lib/duet/{p-3640cb93.entry.js → p-12bb48aa.entry.js} +1 -1
- package/lib/duet/{p-ac0a0c5f.system.entry.js → p-12c62fda.system.entry.js} +1 -1
- package/lib/duet/{p-ba993fed.entry.js → p-13662eb9.entry.js} +1 -1
- package/lib/duet/{p-7f2e3a82.entry.js → p-137fbf26.entry.js} +1 -1
- package/lib/duet/{p-d832be12.entry.js → p-1a716787.entry.js} +1 -1
- package/lib/duet/p-1a9958ee.system.js +4 -0
- package/lib/duet/{p-f3efe8c2.system.entry.js → p-1ddd6fc8.system.entry.js} +1 -1
- package/lib/duet/{p-dba55421.entry.js → p-1ef2844f.entry.js} +1 -1
- package/lib/duet/{p-060a790b.system.entry.js → p-2417aad9.system.entry.js} +1 -1
- package/lib/duet/{p-482cb8b5.system.entry.js → p-2ab62956.system.entry.js} +1 -1
- package/lib/duet/{p-c23ab199.entry.js → p-3021e910.entry.js} +1 -1
- package/lib/duet/p-3043f61b.system.entry.js +4 -0
- package/lib/duet/{p-f19b59f8.entry.js → p-31a0f1fe.entry.js} +1 -1
- package/lib/duet/p-338cf0ab.entry.js +4 -0
- package/lib/duet/p-33aec494.system.entry.js +4 -0
- package/lib/duet/p-3487783b.system.entry.js +4 -0
- package/lib/duet/{p-644b687c.system.entry.js → p-351b5fd0.system.entry.js} +1 -1
- package/lib/duet/{p-9fc19072.entry.js → p-37cca48e.entry.js} +1 -1
- package/lib/duet/{p-917d8b40.system.entry.js → p-38dfb538.system.entry.js} +1 -1
- package/lib/duet/{p-693ebab3.system.entry.js → p-3a39dd19.system.entry.js} +1 -1
- package/lib/duet/{p-868deb49.entry.js → p-3a7a6906.entry.js} +1 -1
- package/lib/duet/{p-785b629e.entry.js → p-3b586fc5.entry.js} +1 -1
- package/lib/duet/{p-bb05780d.entry.js → p-3d0b9e59.entry.js} +1 -1
- package/lib/duet/{p-37d0ea90.system.entry.js → p-3e1b4203.system.entry.js} +1 -1
- package/lib/duet/{p-e3ba4d89.entry.js → p-43cccc70.entry.js} +1 -1
- package/lib/duet/{p-218eba4d.entry.js → p-4534b63a.entry.js} +1 -1
- package/lib/duet/{p-0b16d4ca.system.entry.js → p-45cb0078.system.entry.js} +1 -1
- package/lib/duet/{p-c172f523.entry.js → p-470b320a.entry.js} +1 -1
- package/lib/duet/{p-2ddd31db.entry.js → p-47b9ebfc.entry.js} +1 -1
- package/lib/duet/{p-5ef65fd9.entry.js → p-48ad58f7.entry.js} +1 -1
- package/lib/duet/{p-1d772039.system.entry.js → p-49d0f126.system.entry.js} +1 -1
- package/lib/duet/p-4d8758f9.entry.js +4 -0
- package/lib/duet/{p-c17932bc.entry.js → p-4e431ff6.entry.js} +1 -1
- package/lib/duet/{p-530dd0b2.entry.js → p-4ec02d20.entry.js} +1 -1
- package/lib/duet/{p-582f1599.system.entry.js → p-4ed862cd.system.entry.js} +1 -1
- package/lib/duet/p-52e711b6.system.js +4 -0
- package/lib/duet/{p-548b740e.entry.js → p-5692f185.entry.js} +1 -1
- package/lib/duet/{p-b294d764.system.entry.js → p-56b22bac.system.entry.js} +1 -1
- package/lib/duet/{p-507f463e.entry.js → p-58aec0bf.entry.js} +1 -1
- package/lib/duet/{p-3126ade6.entry.js → p-5eed2113.entry.js} +1 -1
- package/lib/duet/{p-1bd21f27.entry.js → p-60cd790e.entry.js} +1 -1
- package/lib/duet/p-61a28f2c.system.entry.js +4 -0
- package/lib/duet/{p-470f5db7.entry.js → p-63287e64.entry.js} +1 -1
- package/lib/duet/{p-4dc4f2de.system.entry.js → p-63885f31.system.entry.js} +1 -1
- package/lib/duet/p-66a1f261.system.entry.js +4 -0
- package/lib/duet/{p-07f5193f.entry.js → p-67eb8cc6.entry.js} +1 -1
- package/lib/duet/{p-07ce89ff.system.entry.js → p-6a410f49.system.entry.js} +1 -1
- package/lib/duet/{p-2c67f7a8.entry.js → p-6a7ed346.entry.js} +1 -1
- package/lib/duet/{p-fc788a9a.entry.js → p-6bbd1456.entry.js} +1 -1
- package/lib/duet/{p-d5271b57.entry.js → p-6d5e9d4d.entry.js} +1 -1
- package/lib/duet/{p-b32624a6.system.entry.js → p-717013b6.system.entry.js} +1 -1
- package/lib/duet/{p-4da0332f.entry.js → p-730c0fff.entry.js} +1 -1
- package/lib/duet/p-751344b2.js +4 -0
- package/lib/duet/{p-d1ef0249.system.entry.js → p-752eccd9.system.entry.js} +1 -1
- package/lib/duet/{p-9f19cdc2.entry.js → p-79d99a3a.entry.js} +1 -1
- package/lib/duet/{p-23eaa3b4.system.entry.js → p-7e877080.system.entry.js} +1 -1
- package/lib/duet/{p-461fd4d8.system.entry.js → p-7f81eb4c.system.entry.js} +1 -1
- package/lib/duet/{p-55fbe6bc.entry.js → p-808eb713.entry.js} +1 -1
- package/lib/duet/{p-68625c53.system.entry.js → p-81aa9e58.system.entry.js} +1 -1
- package/lib/duet/{p-26de4395.system.entry.js → p-81ec9b35.system.entry.js} +1 -1
- package/lib/duet/{p-9865ef30.system.entry.js → p-81f0c65d.system.entry.js} +1 -1
- package/lib/duet/{p-6399c03a.system.entry.js → p-84b2e3f0.system.entry.js} +1 -1
- package/lib/duet/{p-a69a6b39.system.entry.js → p-854ca73a.system.entry.js} +1 -1
- package/lib/duet/{p-c6296393.system.entry.js → p-86abce17.system.entry.js} +1 -1
- package/lib/duet/{p-50108ac2.system.entry.js → p-870db7df.system.entry.js} +1 -1
- package/lib/duet/{p-93fd3aa5.system.entry.js → p-87551364.system.entry.js} +1 -1
- package/lib/duet/{p-4d081cf5.system.entry.js → p-8c655835.system.entry.js} +1 -1
- package/lib/duet/{p-25c78304.entry.js → p-8d0cb2d8.entry.js} +1 -1
- package/lib/duet/{p-16203527.entry.js → p-8de5a1f0.entry.js} +1 -1
- package/lib/duet/{p-9d033a04.system.js → p-8eaaef1c.system.js} +1 -1
- package/lib/duet/{p-43249fcf.system.entry.js → p-917dedc1.system.entry.js} +1 -1
- package/lib/duet/{p-46cacf4b.entry.js → p-92579533.entry.js} +1 -1
- package/lib/duet/{p-5bb41296.system.entry.js → p-9357c710.system.entry.js} +1 -1
- package/lib/duet/{p-5aaf2889.entry.js → p-9508feb6.entry.js} +1 -1
- package/lib/duet/{p-92d45100.entry.js → p-951d1081.entry.js} +1 -1
- package/lib/duet/{p-77216458.system.entry.js → p-9762f038.system.entry.js} +1 -1
- package/lib/duet/{p-fc366b12.system.entry.js → p-977a40ba.system.entry.js} +1 -1
- package/lib/duet/{p-245dedef.system.entry.js → p-994f3966.system.entry.js} +1 -1
- package/lib/duet/{p-7c3de686.entry.js → p-9a868a09.entry.js} +1 -1
- package/lib/duet/{p-02f49953.system.entry.js → p-9b6df3eb.system.entry.js} +1 -1
- package/lib/duet/{p-c71634ee.entry.js → p-9c3381d1.entry.js} +1 -1
- package/lib/duet/{p-a931d71d.entry.js → p-9ee5583e.entry.js} +1 -1
- package/lib/duet/{p-9b877798.system.entry.js → p-9fab377c.system.entry.js} +1 -1
- package/lib/duet/{p-27c6aebd.system.entry.js → p-a080b5ee.system.entry.js} +1 -1
- package/lib/duet/{p-57f6f292.system.entry.js → p-a1c69051.system.entry.js} +1 -1
- package/lib/duet/{p-a5f0d126.entry.js → p-a2b1a4c0.entry.js} +1 -1
- package/lib/duet/{p-5bab6421.entry.js → p-a38b0c78.entry.js} +1 -1
- package/lib/duet/{p-3772cde9.entry.js → p-a3e01217.entry.js} +1 -1
- package/lib/duet/{p-38320af8.js → p-a4fd3204.js} +1 -1
- package/lib/duet/{p-bec206f3.entry.js → p-a51fc564.entry.js} +1 -1
- package/lib/duet/{p-db4ca364.js → p-a68b58e6.js} +1 -1
- package/lib/duet/{p-78e18f90.system.entry.js → p-a76a945d.system.entry.js} +1 -1
- package/lib/duet/{p-773d5541.system.entry.js → p-a881dcee.system.entry.js} +1 -1
- package/lib/duet/{p-2efce50b.system.entry.js → p-a8eef96f.system.entry.js} +1 -1
- package/lib/duet/{p-8bb9591d.system.js → p-ab04f0b5.system.js} +1 -1
- package/lib/duet/{p-3efd29e1.entry.js → p-ac03e45a.entry.js} +1 -1
- package/lib/duet/{p-380ee907.system.entry.js → p-adb4f00d.system.entry.js} +1 -1
- package/lib/duet/{p-82b6d775.system.entry.js → p-ae0edbf0.system.entry.js} +1 -1
- package/lib/duet/{p-5e777157.entry.js → p-ae55ab01.entry.js} +1 -1
- package/lib/duet/{p-27560f1b.system.entry.js → p-af129095.system.entry.js} +1 -1
- package/lib/duet/{p-75655f00.entry.js → p-af24d0ba.entry.js} +1 -1
- package/lib/duet/{p-11653c1e.entry.js → p-b00491f4.entry.js} +1 -1
- package/lib/duet/{p-f20d29b8.entry.js → p-b0b1f2a2.entry.js} +1 -1
- package/lib/duet/{p-d5c70827.entry.js → p-b14f32a6.entry.js} +1 -1
- package/lib/duet/{p-0f3f2906.system.entry.js → p-b2196a24.system.entry.js} +1 -1
- package/lib/duet/{p-db7ec3f2.system.entry.js → p-b2bba5c2.system.entry.js} +1 -1
- package/lib/duet/{p-ca5dfafc.entry.js → p-b421c710.entry.js} +1 -1
- package/lib/duet/{p-7206856c.system.entry.js → p-b59a6d4c.system.entry.js} +1 -1
- package/lib/duet/p-b7fd8ad4.system.entry.js +4 -0
- package/lib/duet/{p-a2a3b572.system.entry.js → p-b853ccf5.system.entry.js} +2 -2
- package/lib/duet/{p-885b38a9.system.js → p-b985bcf7.system.js} +1 -1
- package/lib/duet/{p-37811477.system.entry.js → p-bb01e446.system.entry.js} +1 -1
- package/lib/duet/{p-ba95cf16.system.entry.js → p-bb0cfbf7.system.entry.js} +1 -1
- package/lib/duet/{p-de9c3476.system.entry.js → p-bb174891.system.entry.js} +1 -1
- package/lib/duet/{p-2877f5d2.system.entry.js → p-bc1fed7e.system.entry.js} +1 -1
- package/lib/duet/p-be2d339f.system.entry.js +4 -0
- package/lib/duet/{p-df073faa.entry.js → p-bf3e4216.entry.js} +1 -1
- package/lib/duet/{p-ab4e6587.entry.js → p-bfd0356f.entry.js} +1 -1
- package/lib/duet/{p-9d6c89df.system.entry.js → p-c0fc230e.system.entry.js} +1 -1
- package/lib/duet/{p-609aaedd.entry.js → p-c796c3f4.entry.js} +1 -1
- package/lib/duet/{p-d328922e.entry.js → p-cc62667c.entry.js} +1 -1
- package/lib/duet/{p-fb5877c4.entry.js → p-cd042667.entry.js} +1 -1
- package/lib/duet/{p-309546c3.system.entry.js → p-cd5dba94.system.entry.js} +1 -1
- package/lib/duet/{p-1753cb05.system.entry.js → p-cd970535.system.entry.js} +2 -2
- package/lib/duet/{p-df5f7376.entry.js → p-cfe49bdb.entry.js} +1 -1
- package/lib/duet/{p-6a4fa614.entry.js → p-d538903d.entry.js} +1 -1
- package/lib/duet/p-d6453fde.entry.js +4 -0
- package/lib/duet/{p-f1d51e20.js → p-d96c1564.js} +1 -1
- package/lib/duet/{p-31c8c180.entry.js → p-dac54475.entry.js} +1 -1
- package/lib/duet/{p-0f162710.entry.js → p-db498557.entry.js} +1 -1
- package/lib/duet/{p-1a44a9e5.system.entry.js → p-e07fa18a.system.entry.js} +1 -1
- package/lib/duet/p-e10553a8.entry.js +4 -0
- package/lib/duet/{p-094eedb8.entry.js → p-e27983cf.entry.js} +1 -1
- package/lib/duet/{p-26332d59.system.entry.js → p-e41cd4f9.system.entry.js} +1 -1
- package/lib/duet/{p-00da8ac7.system.entry.js → p-e42e3a8a.system.entry.js} +2 -2
- package/lib/duet/{p-f18c2892.system.js → p-e42e59a8.system.js} +1 -1
- package/lib/duet/{p-cab7ff29.entry.js → p-e4bbb63e.entry.js} +1 -1
- package/lib/duet/p-e5514a5b.entry.js +4 -0
- package/lib/duet/{p-3009021d.entry.js → p-e6a69686.entry.js} +1 -1
- package/lib/duet/{p-3aa3de10.entry.js → p-e6d43779.entry.js} +1 -1
- package/lib/duet/{p-ffc50558.system.entry.js → p-eaac2908.system.entry.js} +1 -1
- package/lib/duet/{p-ef66a3c3.system.entry.js → p-ead618f6.system.entry.js} +1 -1
- package/lib/duet/{p-c13fcc8d.entry.js → p-eadfb5cf.entry.js} +1 -1
- package/lib/duet/{p-9ce2bf89.system.entry.js → p-eb0e33f2.system.entry.js} +1 -1
- package/lib/duet/{p-63bdc921.system.entry.js → p-eb0e706a.system.entry.js} +1 -1
- package/lib/duet/{p-0981fdb2.entry.js → p-eb892ea8.entry.js} +1 -1
- package/lib/duet/{p-befd7146.system.entry.js → p-ec80c9be.system.entry.js} +1 -1
- package/lib/duet/p-eccd38da.system.js +4 -0
- package/lib/duet/{p-5be3bb6e.entry.js → p-f1c23c0a.entry.js} +1 -1
- package/lib/duet/{p-bcee8104.entry.js → p-f5aacbf9.entry.js} +1 -1
- package/lib/duet/p-f662ac7c.system.entry.js +4 -0
- package/lib/duet/{p-d0270ec7.system.entry.js → p-f7105228.system.entry.js} +1 -1
- package/lib/duet/{p-f1f5dfa4.system.entry.js → p-f8d2bf05.system.entry.js} +1 -1
- package/lib/duet/{p-52471579.system.entry.js → p-f9fc34c4.system.entry.js} +1 -1
- package/lib/duet/{p-023ee57b.entry.js → p-fa25a512.entry.js} +1 -1
- package/lib/duet/{p-538a7c32.system.entry.js → p-fe1e84a5.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +5 -4
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +3 -3
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +3 -3
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- 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 +3 -3
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +3 -3
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +3 -3
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +3 -3
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +4 -4
- package/lib/esm/duet-slideout.entry.js +11 -8
- package/lib/esm/duet-step_2.entry.js +1 -1
- 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-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +2 -2
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +2 -2
- package/lib/esm/{focus-utils-23aad0c9.js → focus-utils-270bf5da.js} +1 -1
- package/lib/esm/{index-02e78bbf.js → index-d7bdcdc1.js} +1 -1
- package/lib/esm/loader.js +2 -2
- package/lib/esm/{teleport-4462e8c1.js → teleport-691e534d.js} +8 -0
- package/lib/esm/{token-utils-b4bd3ec7.js → token-utils-84d66351.js} +1 -1
- package/lib/{dist-custom-elements/p-64d43840.js → esm/tokens-5a0d14c7.js} +1 -1
- package/lib/esm/{tokens.module-c7944140.js → tokens.module-16569707.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +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 +2 -2
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-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-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +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 +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-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-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/focus-utils-270bf5da.js +4 -0
- package/lib/esm-es5/{index-02e78bbf.js → index-d7bdcdc1.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/teleport-691e534d.js +4 -0
- package/lib/esm-es5/{token-utils-b4bd3ec7.js → token-utils-84d66351.js} +1 -1
- package/lib/esm-es5/{tokens-e6b6db9b.js → tokens-5a0d14c7.js} +1 -1
- package/lib/esm-es5/{tokens.module-c7944140.js → tokens.module-16569707.js} +1 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-1224c98d.js +0 -300
- package/lib/duet/p-0a5966c8.system.entry.js +0 -4
- package/lib/duet/p-176fa0e5.system.entry.js +0 -4
- package/lib/duet/p-24423276.system.entry.js +0 -4
- package/lib/duet/p-24f96782.system.entry.js +0 -4
- package/lib/duet/p-32aed830.system.entry.js +0 -4
- package/lib/duet/p-461d8a0b.entry.js +0 -4
- package/lib/duet/p-67c653f9.system.js +0 -4
- package/lib/duet/p-6b4c9fe2.entry.js +0 -4
- package/lib/duet/p-95f33440.entry.js +0 -4
- package/lib/duet/p-9e36548d.system.js +0 -4
- package/lib/duet/p-abe0caff.system.entry.js +0 -4
- package/lib/duet/p-b2e550a3.js +0 -4
- package/lib/duet/p-bca48b8e.system.entry.js +0 -4
- package/lib/duet/p-cbfdaac4.system.js +0 -4
- package/lib/duet/p-d23f7bd1.entry.js +0 -4
- package/lib/duet/p-ef4a09e9.entry.js +0 -4
- package/lib/duet/p-f2b556d7.system.entry.js +0 -4
- package/lib/duet/p-fcfe83b1.entry.js +0 -4
- package/lib/esm-es5/focus-utils-23aad0c9.js +0 -4
- package/lib/esm-es5/teleport-4462e8c1.js +0 -4
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-04a295c6.js';
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { D as DuetStringsExternalDefaults, a as DuetStringsLoadingDefaults } from './p-4ab776f4.js';
|
|
7
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
8
|
-
import { g as getColorByName } from './p-57a1cba9.js';
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-65d472d7.js';
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-24ae0332.js';
|
|
11
|
-
import { d as defineCustomElement$1 } from './p-68bd36c7.js';
|
|
12
|
-
|
|
13
|
-
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
|
|
14
|
-
|
|
15
|
-
const DuetButton = /*@__PURE__*/ proxyCustomElement(class DuetButton extends H {
|
|
16
|
-
constructor() {
|
|
17
|
-
super();
|
|
18
|
-
this.__registerHost();
|
|
19
|
-
this.__attachShadow();
|
|
20
|
-
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
21
|
-
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
22
|
-
/**
|
|
23
|
-
* Component event handling.
|
|
24
|
-
*/
|
|
25
|
-
this.handleClick = (ev) => {
|
|
26
|
-
// If this button wants to specifically submit a form
|
|
27
|
-
// climb up the dom to see if we're in a <form>
|
|
28
|
-
// and if so, then use JS to submit it.
|
|
29
|
-
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
30
|
-
if (!this.url && this.element.closest("form")) {
|
|
31
|
-
ev.preventDefault();
|
|
32
|
-
this.proxyButton.click();
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
this.onFocus = () => {
|
|
36
|
-
this.duetFocus.emit();
|
|
37
|
-
};
|
|
38
|
-
this.onBlur = () => {
|
|
39
|
-
this.duetBlur.emit();
|
|
40
|
-
};
|
|
41
|
-
this.accessibleLabel = undefined;
|
|
42
|
-
this.accessibleControls = undefined;
|
|
43
|
-
this.accessiblePopup = "false";
|
|
44
|
-
this.accessibleActiveDescendant = undefined;
|
|
45
|
-
this.accessibleOwns = undefined;
|
|
46
|
-
this.accessibleDescribedBy = undefined;
|
|
47
|
-
this.accessibleDetails = undefined;
|
|
48
|
-
this.accessibleLabelledBy = undefined;
|
|
49
|
-
this.accessibleDescription = undefined;
|
|
50
|
-
this.accessibleExpanded = undefined;
|
|
51
|
-
this.accessiblePressed = undefined;
|
|
52
|
-
this.loading = false;
|
|
53
|
-
this.variation = "default";
|
|
54
|
-
this.negative = false;
|
|
55
|
-
this.theme = "";
|
|
56
|
-
this.margin = "auto";
|
|
57
|
-
this.padding = "auto";
|
|
58
|
-
this.centerText = false;
|
|
59
|
-
this.wrapping = "auto";
|
|
60
|
-
this.expand = false;
|
|
61
|
-
this.fixed = false;
|
|
62
|
-
this.disabled = false;
|
|
63
|
-
this.name = undefined;
|
|
64
|
-
this.value = undefined;
|
|
65
|
-
this.identifier = undefined;
|
|
66
|
-
this.submit = false;
|
|
67
|
-
this.external = false;
|
|
68
|
-
this.language = getLanguage();
|
|
69
|
-
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
70
|
-
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
71
|
-
this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
|
|
72
|
-
this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
|
|
73
|
-
this.icon = "";
|
|
74
|
-
this.color = "";
|
|
75
|
-
this.iconRight = false;
|
|
76
|
-
this.iconSize = "medium";
|
|
77
|
-
this.size = "medium";
|
|
78
|
-
this.iconOnly = false;
|
|
79
|
-
this.url = undefined;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Component lifecycle events.
|
|
83
|
-
*/
|
|
84
|
-
componentWillLoad() {
|
|
85
|
-
inheritGlobalTheme(this);
|
|
86
|
-
if (this.url && this.external && this.icon) {
|
|
87
|
-
console.warn("[DUET]: Button used as an external link will override any icon that is set");
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
connectedCallback() {
|
|
91
|
-
this.proxyButton = document.createElement("button");
|
|
92
|
-
this.proxyButton.style.display = "none";
|
|
93
|
-
this.syncToProxyButton();
|
|
94
|
-
connectLanguageChangeObserver(this, [
|
|
95
|
-
{
|
|
96
|
-
prop: "accessibleLabelExternal",
|
|
97
|
-
defaults: "accessibleLabelExternalDefaults",
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
prop: "accessibleLabelLoading",
|
|
101
|
-
defaults: "accessibleLabelLoadingDefaults",
|
|
102
|
-
},
|
|
103
|
-
]);
|
|
104
|
-
if (!this.url && this.element.closest("form")) {
|
|
105
|
-
this.element.insertAdjacentElement("beforebegin", this.proxyButton);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
disconnectedCallback() {
|
|
109
|
-
this.proxyButton.remove();
|
|
110
|
-
this.proxyButton = null;
|
|
111
|
-
disconnectLanguageChangeObserver(this);
|
|
112
|
-
}
|
|
113
|
-
syncToProxyButton() {
|
|
114
|
-
this.proxyButton.type = this.getButtonType();
|
|
115
|
-
this.proxyButton.disabled = this.disabled;
|
|
116
|
-
// attributes should be removed in cases where name/value is not set
|
|
117
|
-
if (this.name != null) {
|
|
118
|
-
this.proxyButton.name = this.name;
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
this.proxyButton.removeAttribute("name");
|
|
122
|
-
}
|
|
123
|
-
if (this.value != null) {
|
|
124
|
-
this.proxyButton.value = this.value;
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
this.proxyButton.removeAttribute("value");
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
getButtonType() {
|
|
131
|
-
return this.submit ? "submit" : "button";
|
|
132
|
-
}
|
|
133
|
-
getButtonIconSize() {
|
|
134
|
-
switch (this.iconSize) {
|
|
135
|
-
case "small":
|
|
136
|
-
return "small";
|
|
137
|
-
case "medium-small":
|
|
138
|
-
return "medium-small";
|
|
139
|
-
case "medium":
|
|
140
|
-
return "medium";
|
|
141
|
-
case "large":
|
|
142
|
-
return "large";
|
|
143
|
-
default:
|
|
144
|
-
return "medium";
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Sets focus on the specified `duet-button`. Use this method instead of the global
|
|
149
|
-
* `button.focus()`.
|
|
150
|
-
*/
|
|
151
|
-
async setFocus(options) {
|
|
152
|
-
if (this.nativeButton) {
|
|
153
|
-
this.nativeButton.focus(options);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* render() function.
|
|
158
|
-
* Always the last one in the class.
|
|
159
|
-
*/
|
|
160
|
-
render() {
|
|
161
|
-
var _a;
|
|
162
|
-
const isExternalLink = this.external && this.url;
|
|
163
|
-
// enforce consistency for external links
|
|
164
|
-
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
165
|
-
const iconRight = isExternalLink ? true : this.iconRight;
|
|
166
|
-
const commonChildren = (h("span", { class: "duet-button-contents", style: { color: getColorByName(this.color) } }, icon && (h("div", { "aria-hidden": "true", class: {
|
|
167
|
-
"duet-button-icon": true,
|
|
168
|
-
left: !iconRight,
|
|
169
|
-
right: iconRight,
|
|
170
|
-
[this.getButtonIconSize()]: true,
|
|
171
|
-
} }, h("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("slot", null)));
|
|
172
|
-
const commonProps = {
|
|
173
|
-
onFocus: this.onFocus,
|
|
174
|
-
onBlur: this.onBlur,
|
|
175
|
-
ref: button => (this.nativeButton = button),
|
|
176
|
-
id: this.identifier,
|
|
177
|
-
class: {
|
|
178
|
-
"duet-m-0": this.margin === "none",
|
|
179
|
-
"duet-p-0": this.padding === "none",
|
|
180
|
-
"duet-no-wrap": this.wrapping === "none",
|
|
181
|
-
"duet-button": true,
|
|
182
|
-
"duet-button-is-small": this.size === "small",
|
|
183
|
-
"duet-button-icon-only": this.iconOnly,
|
|
184
|
-
"duet-button-text-center": this.centerText,
|
|
185
|
-
"duet-button-negative": this.negative || this.variation === "negative",
|
|
186
|
-
[this.variation]: true,
|
|
187
|
-
disabled: this.disabled,
|
|
188
|
-
icon: !!icon,
|
|
189
|
-
"icon-right": iconRight,
|
|
190
|
-
[this.getButtonIconSize()]: true,
|
|
191
|
-
},
|
|
192
|
-
"aria-controls": this.accessibleControls,
|
|
193
|
-
"aria-label": this.accessibleLabel,
|
|
194
|
-
"aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
|
|
195
|
-
"aria-activedescendant": this.accessibleActiveDescendant,
|
|
196
|
-
"aria-owns": this.accessibleOwns,
|
|
197
|
-
"aria-describedby": this.accessibleDescribedBy,
|
|
198
|
-
"aria-labelledby": this.accessibleLabelledBy,
|
|
199
|
-
"aria-details": this.accessibleDetails,
|
|
200
|
-
"aria-description": this.accessibleDescription,
|
|
201
|
-
};
|
|
202
|
-
return (h(Host, { onClick: this.handleClick, class: {
|
|
203
|
-
"duet-m-0": this.margin === "none",
|
|
204
|
-
"duet-small": this.size === "small",
|
|
205
|
-
"duet-fixed": this.fixed,
|
|
206
|
-
"duet-expand": this.expand,
|
|
207
|
-
"input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
|
|
208
|
-
} }, h("div", { class: {
|
|
209
|
-
"duet-button-container": true,
|
|
210
|
-
"duet-button-is-loading": this.loading,
|
|
211
|
-
"duet-theme-turva": this.theme === "turva",
|
|
212
|
-
"duet-button-negative": this.negative || this.variation === "negative",
|
|
213
|
-
[this.variation]: true,
|
|
214
|
-
} }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("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 && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { color: "currentColor" }))));
|
|
215
|
-
}
|
|
216
|
-
get element() { return this; }
|
|
217
|
-
static get watchers() { return {
|
|
218
|
-
"disabled": ["syncToProxyButton"],
|
|
219
|
-
"submit": ["syncToProxyButton"],
|
|
220
|
-
"value": ["syncToProxyButton"],
|
|
221
|
-
"name": ["syncToProxyButton"]
|
|
222
|
-
}; }
|
|
223
|
-
static get style() { return duetButtonCss; }
|
|
224
|
-
}, [1, "duet-button", {
|
|
225
|
-
"accessibleLabel": [1, "accessible-label"],
|
|
226
|
-
"accessibleControls": [1, "accessible-controls"],
|
|
227
|
-
"accessiblePopup": [1, "accessible-popup"],
|
|
228
|
-
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
229
|
-
"accessibleOwns": [1, "accessible-owns"],
|
|
230
|
-
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
231
|
-
"accessibleDetails": [1, "accessible-details"],
|
|
232
|
-
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
233
|
-
"accessibleDescription": [1, "accessible-description"],
|
|
234
|
-
"accessibleExpanded": [4, "accessible-expanded"],
|
|
235
|
-
"accessiblePressed": [4, "accessible-pressed"],
|
|
236
|
-
"loading": [4],
|
|
237
|
-
"variation": [1],
|
|
238
|
-
"negative": [4],
|
|
239
|
-
"theme": [1025],
|
|
240
|
-
"margin": [1],
|
|
241
|
-
"padding": [1],
|
|
242
|
-
"centerText": [4, "center-text"],
|
|
243
|
-
"wrapping": [1],
|
|
244
|
-
"expand": [4],
|
|
245
|
-
"fixed": [4],
|
|
246
|
-
"disabled": [516],
|
|
247
|
-
"name": [1],
|
|
248
|
-
"value": [1],
|
|
249
|
-
"identifier": [1],
|
|
250
|
-
"submit": [516],
|
|
251
|
-
"external": [4],
|
|
252
|
-
"language": [1537],
|
|
253
|
-
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
254
|
-
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
255
|
-
"accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
|
|
256
|
-
"accessibleLabelLoading": [1025, "accessible-label-loading"],
|
|
257
|
-
"icon": [1],
|
|
258
|
-
"color": [1],
|
|
259
|
-
"iconRight": [4, "icon-right"],
|
|
260
|
-
"iconSize": [1, "icon-size"],
|
|
261
|
-
"size": [1],
|
|
262
|
-
"iconOnly": [4, "icon-only"],
|
|
263
|
-
"url": [513],
|
|
264
|
-
"setFocus": [64]
|
|
265
|
-
}, undefined, {
|
|
266
|
-
"disabled": ["syncToProxyButton"],
|
|
267
|
-
"submit": ["syncToProxyButton"],
|
|
268
|
-
"value": ["syncToProxyButton"],
|
|
269
|
-
"name": ["syncToProxyButton"]
|
|
270
|
-
}]);
|
|
271
|
-
function defineCustomElement() {
|
|
272
|
-
if (typeof customElements === "undefined") {
|
|
273
|
-
return;
|
|
274
|
-
}
|
|
275
|
-
const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
|
|
276
|
-
components.forEach(tagName => { switch (tagName) {
|
|
277
|
-
case "duet-button":
|
|
278
|
-
if (!customElements.get(tagName)) {
|
|
279
|
-
customElements.define(tagName, DuetButton);
|
|
280
|
-
}
|
|
281
|
-
break;
|
|
282
|
-
case "duet-icon":
|
|
283
|
-
if (!customElements.get(tagName)) {
|
|
284
|
-
defineCustomElement$3();
|
|
285
|
-
}
|
|
286
|
-
break;
|
|
287
|
-
case "duet-spinner":
|
|
288
|
-
if (!customElements.get(tagName)) {
|
|
289
|
-
defineCustomElement$2();
|
|
290
|
-
}
|
|
291
|
-
break;
|
|
292
|
-
case "duet-visually-hidden":
|
|
293
|
-
if (!customElements.get(tagName)) {
|
|
294
|
-
defineCustomElement$1();
|
|
295
|
-
}
|
|
296
|
-
break;
|
|
297
|
-
} });
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
export { DuetButton as D, defineCustomElement as d };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var a=0,o=r.length,n;a<o;a++){if(n||!(a in r)){if(!n)n=Array.prototype.slice.call(r,0,a);n[a]=r[a]}}return e.concat(n||Array.prototype.slice.call(r))};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var r,t,a,o,n,i;return{setters:[function(e){r=e.r;t=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(){}],execute:function(){var d='*,*::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%}::slotted(duet-breadcrumb){font-weight:400}::slotted(duet-breadcrumb:last-of-type){font-weight:600}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 77, 128)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(225, 227, 230)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(148, 9, 37)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}';var s=e("duet_breadcrumbs",function(){function e(e){r(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header"}e.prototype.componentWillLoad=function(){n(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(r){var t=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));t.observe(r,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[t],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;return t(a,null,t("nav",{"aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},t("div",{class:"container"},t("div",{role:"list",class:"list"},t("slot",null)),t("div",{class:"bottom-border bottom-border--container"})),t("div",{class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=d}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r["throw"](t))}catch(t){i(t)}}function s(t){t.done?n(t.value):o(t.value).then(a,u)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return s([t,e])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-f18c2892.system.js","./p-885b38a9.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(t){"use strict";var e,n,r,o,i,a,u;return{setters:[function(t){e=t.r;n=t.h;r=t.H;o=t.g},function(t){i=t.a},function(t){a=t.i},function(t){u=t.f}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .items{position:absolute;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:1rem 0;color:rgb(0, 41, 77);background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(245, 245, 247)}';var d=t("duet_menu_bar_dropdown",function(){function t(t){var n=this;e(this,t);this.mql=[window.matchMedia(i.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.onClick=function(){n.open=!n.open};this.getVariant=function(){var t=n.element.parentElement.getAttribute("slot");switch(t){case"center":return"right";case"right":return"right";default:return"right"}};this.iconSize="x-small";this.accessibleLabel=undefined;this.theme="";this.open=false;this.icon=undefined}t.prototype.handleFocus=function(t){var e=this;var n=t.composedPath().every((function(t){return t!==e.element}));if(n){this.open=false}};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){this.changeIconSize();for(var t=0;t<this.mql.length;t++){if(this.mql[t].addEventListener){var e=this.changeIconSize.bind(this);this.mql[t].addEventListener("change",e);this.boundMqlFunctions[t]=e}}};t.prototype.disconnectedCallback=function(){for(var t=0;t<this.mql.length;t++){if(this.mql[t].removeEventListener){this.mql[t].removeEventListener("change",this.boundMqlFunctions[t])}}this.boundMqlFunctions=[]};t.prototype.handleEscape=function(t){if(u(t)){this.open=false;this.setFocus()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.button.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;return n(r,null,n("div",{class:(t={"duet-menu-bar-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open},t["duet-menu-bar-dropdown--slot-".concat(this.getVariant())]=true,t)},n("button",{ref:function(t){return e.button=t},"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&n("duet-icon",{theme:this.theme,name:this.icon,size:this.iconSize,margin:"none",color:"currentColor"}),n("div",{class:"label"},n("slot",{name:"label"}),n("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),n("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());d.style=s}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,u){function i(t){try{a(o.next(t))}catch(t){u(t)}}function d(t){try{a(o["throw"](t))}catch(t){u(t)}}function a(t){t.done?n(t.value):r(t.value).then(i,d)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},o,r,u,i;return i={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function d(t){return function(e){return a([t,e])}}function a(d){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,d[0]&&(n=0)),n)try{if(o=1,r&&(u=d[0]&2?r["return"]:d[0]?r["throw"]||((u=r["return"])&&u.call(r),0):r.next)&&!(u=u.call(r,d[1])).done)return u;if(r=0,u)d=[d[0]&2,u.value];switch(d[0]){case 0:case 1:u=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;r=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){n.label=d[1];break}if(d[0]===6&&n.label<u[1]){n.label=u[1];u=d;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(d);break}if(u[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];r=0}finally{o=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-d1cedaa1.system.js","./p-224f6c46.system.js","./p-67c653f9.system.js","./p-6ef75455.system.js","./p-9d033a04.system.js"],(function(t){"use strict";var e,n,o,r,u,i,d,a,b,s,l,p,h;return{setters:[function(t){e=t.r;n=t.c;o=t.h;r=t.H;u=t.g},function(t){i=t.i},function(t){d=t.D;a=t.a},function(t){b=t.a;s=t.g;l=t.c;p=t.d},function(t){h=t.g},function(){},function(){}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}';var m=t("duet_button",function(){function t(t){var o=this;e(this,t);this.duetFocus=n(this,"duetFocus",7);this.duetBlur=n(this,"duetBlur",7);this.handleClick=function(t){if(!o.url&&o.element.closest("form")){t.preventDefault();o.proxyButton.click()}};this.onFocus=function(){o.duetFocus.emit()};this.onBlur=function(){o.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=b();this.accessibleLabelExternalDefaults=d;this.accessibleLabelExternal=s(this.accessibleLabelExternalDefaults);this.accessibleLabelLoadingDefaults=a;this.accessibleLabelLoading=s(this.accessibleLabelLoadingDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){i(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){this.proxyButton=document.createElement("button");this.proxyButton.style.display="none";this.syncToProxyButton();l(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}]);if(!this.url&&this.element.closest("form")){this.element.insertAdjacentElement("beforebegin",this.proxyButton)}};t.prototype.disconnectedCallback=function(){this.proxyButton.remove();this.proxyButton=null;p(this)};t.prototype.syncToProxyButton=function(){this.proxyButton.type=this.getButtonType();this.proxyButton.disabled=this.disabled;if(this.name!=null){this.proxyButton.name=this.name}else{this.proxyButton.removeAttribute("name")}if(this.value!=null){this.proxyButton.value=this.value}else{this.proxyButton.removeAttribute("value")}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.getButtonIconSize=function(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":return"medium";case"large":return"large";default:return"medium"}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,n;var u=this;var i;var d=this.external&&this.url;var a=d?"action-new-window":this.icon;var b=d?true:this.iconRight;var s=o("span",{class:"duet-button-contents",style:{color:h(this.color)}},a&&o("div",{"aria-hidden":"true",class:(t={"duet-button-icon":true,left:!b,right:b},t[this.getButtonIconSize()]=true,t)},o("duet-icon",{size:"auto",margin:"none",name:a,color:"currentColor"})),o("slot",null));var l={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return u.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small","duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||this.variation==="negative"},e[this.variation]=true,e.disabled=this.disabled,e.icon=!!a,e["icon-right"]=b,e[this.getButtonIconSize()]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(r,{onClick:this.handleClick,class:{"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-fixed":this.fixed,"duet-expand":this.expand,"input-button":(i=this.variation)===null||i===void 0?void 0:i.startsWith("input-button")}},o("div",{class:(n={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},n[this.variation]=true,n)},this.url?o("a",Object.assign({},l,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),s,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},l,{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}),s,this.loading&&o("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&o("duet-spinner",{color:"currentColor"})))};Object.defineProperty(t.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}},enumerable:false,configurable:true});return t}());m.style=c;var g=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';var f=t("duet_spinner",function(){function t(t){e(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){i(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":h(this.color);return o(r,{class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},o("div",{class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};return t}());f.style=g}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(e){"use strict";var t,o,n,r,a,i;return{setters:[function(e){t=e.r;o=e.h;n=e.H;r=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-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(23, 28, 58)}.duet-toolbar-dropdown-link.active,.duet-toolbar-dropdown-link.active:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-toolbar-dropdown-link.active.duet-theme-turva,.duet-toolbar-dropdown-link.active:hover.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-toolbar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';var l=e("duet_toolbar_dropdown_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.href="#";this.icon=undefined;this.active=false}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-toolbar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return o(n,null,o("a",{class:{"duet-toolbar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&o("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),o("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());l.style=d}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(e){"use strict";var t,n,r,o,a,i;return{setters:[function(e){t=e.r;n=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-menu-bar-dropdown-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(23, 28, 58)}.duet-menu-bar-dropdown-link--slot-right:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link--slot-right:focus,.duet-menu-bar-dropdown-link--slot-right:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link--slot-right:hover{background:rgb(230, 242, 248)}.duet-menu-bar-dropdown-link--slot-right:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-menu-bar-dropdown-link--slot-below:hover{color:rgb(0, 77, 128);background:rgb(243, 249, 252)}.duet-menu-bar-dropdown-link--slot-below:hover.duet-theme-turva{color:rgb(148, 9, 37);background:rgb(228, 228, 230)}';var s=e("duet_menu_bar_dropdown_link",function(){function e(e){var n=this;t(this,e);this.getVariant=function(){var e=n.element.parentElement.parentElement.getAttribute("slot");switch(e){case"center":return"right";case"right":return"right";default:return"right"}};this.theme="";this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-menu-bar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e;var t=this;return n(r,null,n("a",{class:(e={"duet-menu-bar-dropdown-link":true},e["duet-menu-bar-dropdown-link--slot-".concat(this.getVariant())]=true,e["duet-theme-turva"]=this.theme==="turva",e),href:this.href,role:"menuitem",onKeyUp:function(e){return t.handleEscape(e)},"aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as i,h as e,H as s,g as o}from"./p-1276c914.js";import{d as a,e as n}from"./p-141e14d0.js";import{i as d}from"./p-a58bd561.js";import{F as l}from"./p-db4ca364.js";import{f as r}from"./p-2bb2b022.js";import{a as h,c as u,d as p,g as c}from"./p-2e36d5bf.js";import{T as m}from"./p-b2e550a3.js";import{g as b}from"./p-38320af8.js";import"./p-0e052642.js";import"./p-f1d51e20.js";const g=class{constructor(e){t(this,e),this.duetSlideoutEvent=i(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.handleBodyScrolling=()=>{this.displaying&&this.open?a(this.dialog,{reserveScrollBarGap:!0}):n(this.dialog)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{if(this.open=!this.open,this.openButton&&(this.openButton.accessibleExpanded=this.open),this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"}),this.open){const t=this.getOpenPanel();this.teleport.go(!0),t?(t.setFocus(),this.handleBodyScrolling()):setTimeout((()=>{this.closeButton.focus(),this.handleBodyScrolling()}),200)}else setTimeout((()=>{var t;null===(t=this.openButton)||void 0===t||t.setFocus(),this.handleBodyScrolling(),this.teleport.resume()}),200)},this.onClick=t=>{this.toggleMenu(t)},this.language=h(),this.displaying=!1,this.openPanel=!1,this.theme="",this.open=!1,this.opener=void 0,this.backgroundColor="gray-lightest"}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){if(this.open)return;const t=document.activeElement;t&&(t.accessiblePopup="true",this.openButton=t),this.toggleMenu(new CustomEvent("toggle"))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}componentWillLoad(){d(this);const t=this.opener&&document.getElementById(this.opener);t&&(t.accessiblePopup="true",t.accessibleExpanded=!1,t.addEventListener("click",(i=>{i.stopPropagation(),i.preventDefault(),this.openButton=t,this.onClick(i)}))),this.teleport=new m(this.element)}async componentDidLoad(){this.intersectionObserver=new IntersectionObserver((t=>{this.displaying=!!t[0].isIntersecting,this.handleBodyScrolling()})),this.intersectionObserver.observe(this.dialog)}connectedCallback(){u(this),this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()})),this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}disconnectedCallback(){p(this),n(this.dialog),this.intersectionObserver&&this.intersectionObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()}handleKeyUp(t){r(t)&&this.open&&this.toggleMenu(t)}async setFocus(t){var i;null===(i=this.openButton)||void 0===i||i.focus(t)}render(){const t={background:b(this.backgroundColor,this.theme)},i=c(this.topLevelOpenMenuBarLangObject),o=c(this.exitLangObject);return e(s,null,e("div",{class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},e("div",{class:{"desktop-bg":!0,hidden:!this.open},onClick:()=>{this.open=!1}}),e("div",{ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"menubar",class:{dialog:!0,hidden:!this.open},style:t},e(l,{moveFocusTo:this.closeButton}),e("div",{class:"top"},e("button",{ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${o}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},e("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),e("div",{id:"menubar",role:"menubar","aria-label":this.openPanel?i:null,class:{items:!0}},e("slot",null)),e(l,{moveFocusTo:this.closeButton}))))}get element(){return o(this)}};g.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';export{g as duet_slideout}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-9d033a04.system.js"],(function(r){"use strict";var n,t,i,u,e,a,f,o,v,c;return{setters:[function(r){n=r.m;t=r.a;i=r.b;u=r.c;e=r.d;a=r.e;f=r.f;o=r.g;v=r.h;c=r.t}],execute:function(){r({c:p,g:j,r:y,s:O});var s=["turva"];function d(r){var n=r.includes("-");var t=r.includes(" ")||r.includes("_");var i=r.charAt(0)==="-";return n&&!t&&!i}function l(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toUpperCase()).concat(r.slice(1))}function x(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toLowerCase()).concat(r.slice(1))}function m(r){if(r===void 0){r=""}var n=r.split("-");n.forEach((function(r,t){n[t]=l(r)}));return n.join("")}function g(r){if(r===void 0){r=""}if(s.includes(r.toLowerCase())){return r.toLowerCase()}return""}function p(r){return r.charAt(0).toUpperCase()+r.slice(1)}function I(r,n){if(n===void 0){n=""}return n.indexOf(p(r))===0||n.indexOf(r)===0}function b(r,n){if(n===void 0){n=""}if(n&&!d(n)&&!I(r,n)){return"".concat(r).concat(l(n))}return n}function h(r,n){var t=g(n).length;if(t&&r.indexOf(n)===-1){return"".concat(r).concat(l(n))}return r}function j(r,n){if(n===void 0){n=""}if(!r){return undefined}var t=M(r);var i=M(r,n);var u=c[i];if(!u){u=c[t]}return u}function M(r,n){if(r===void 0){r=""}if(n===void 0){n=""}var t=r;var i=d(r);if(i){t=m(t)}t=b("color",t);t=h(t,n);t=x(t);return t}function y(r,n){if(!r||n!==0&&!n){return undefined}var t=r.split(",");var i=parseInt(t[0].slice(4)),u=parseInt(t[1]),e=parseInt(t[2]);return"rgba(".concat(i,",").concat(u,",").concat(e,",").concat(n,")")}function O(r,n){var t=r.split(","),i=n<0?0:255,u=n<0?n*-1:n;var e=parseInt(t[0].slice(4)),a=parseInt(t[1]),f=parseInt(t[2]);e=Math.round((i-e)*u)+e;a=Math.round((i-a)*u)+a;f=Math.round((i-f)*u)+f;e=e<0?0:e;e=e>255?255:e;a=a<0?0:a;a=a>255?255:a;f=f<0?0:f;f=f>255?255:f;return"rgb(".concat(e,",").concat(a,",").concat(f,")")}var S=function(r){return r.substring(1,r.length-1)};var _=r("a",{"xxx-small":S(v),"xx-small":S(n),"x-small":S(t),small:S(i),medium:S(u),large:S(e),"x-large":S(a),"xx-large":S(f),"xxx-large":S(o)});var k=r("b",Object.keys(_).filter((function(r){return r.indexOf("x-small")!==-1})));Object.keys(_).filter((function(r){return!k.includes(r)}))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,h as o,H as t,g as r}from"./p-1276c914.js";import{i as n}from"./p-a58bd561.js";import{f as a}from"./p-2bb2b022.js";const i=class{constructor(o){e(this,o),this.getVariant=()=>(this.element.parentElement.parentElement.getAttribute("slot"),"right"),this.theme="",this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){n(this)}handleEscape(e){if(a(e)){const e=this.element.closest("duet-menu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,null,o("a",{class:{"duet-menu-bar-dropdown-link":!0,[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]:!0,"duet-theme-turva":"turva"===this.theme},href:this.href,role:"menuitem",onKeyUp:e=>this.handleEscape(e),"aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("slot",null)))}get element(){return r(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-menu-bar-dropdown-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(23, 28, 58)}.duet-menu-bar-dropdown-link--slot-right:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link--slot-right:focus,.duet-menu-bar-dropdown-link--slot-right:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link--slot-right:hover{background:rgb(230, 242, 248)}.duet-menu-bar-dropdown-link--slot-right:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-menu-bar-dropdown-link--slot-below:hover{color:rgb(0, 77, 128);background:rgb(243, 249, 252)}.duet-menu-bar-dropdown-link--slot-below:hover.duet-theme-turva{color:rgb(148, 9, 37);background:rgb(228, 228, 230)}';export{i as duet_menu_bar_dropdown_link}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as o,h as e,H as t,g as r}from"./p-1276c914.js";import{i as a}from"./p-a58bd561.js";import{f as n}from"./p-2bb2b022.js";const i=class{constructor(e){o(this,e),this.accessibleLabel=void 0,this.theme="",this.targetLanguage=void 0,this.href="#",this.icon=void 0,this.active=!1}componentWillLoad(){a(this)}handleEscape(o){if(n(o)){const o=this.element.closest("duet-toolbar-dropdown");o.open=!1,o.setFocus()}}render(){return e(t,null,e("a",{class:{"duet-toolbar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:o=>this.handleEscape(o)},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),e("slot",null)))}get element(){return r(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-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(23, 28, 58)}.duet-toolbar-dropdown-link.active,.duet-toolbar-dropdown-link.active:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-toolbar-dropdown-link.active.duet-theme-turva,.duet-toolbar-dropdown-link.active:hover.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-toolbar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';export{i as duet_toolbar_dropdown_link}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register([],(function(t){"use strict";return{execute:function(){var i=function(){function t(t,i){this.isActive=false;this.element=t;this.target=i||document.body;this.teleportId="".concat(Math.random(),"-").concat(Date.now()).substring(2)}t.prototype.go=function(t){if(t===void 0){t=false}if(!this.element.dataset.reactPortal){this.stub=document.createElement("template");this.element.insertAdjacentElement("afterend",this.stub);this.target.appendChild(this.element)}if(t){this._makeSiblingsInert()}this.deletionObserver=new MutationObserver(this._deletionObserverCallback.bind(this));this.deletionObserver.observe(document.documentElement,{childList:true,subtree:true});this.isActive=true};t.prototype.resume=function(t){if(t===void 0){t=0}if(!this.isActive){return}this.isActive=false;if(t){setTimeout(this._resume.bind(this),t)}else{this._resume()}};t.prototype._resume=function(){if(!this.element.dataset.reactPortal){this.stub.insertAdjacentElement("beforebegin",this.element);this.stub.remove()}this._removeInertFromSiblings();this.deletionObserver.disconnect()};t.prototype._remove=function(){var t,i;(t=this.element)===null||t===void 0?void 0:t.remove();(i=this.stub)===null||i===void 0?void 0:i.remove();this._removeInertFromSiblings();this.deletionObserver.disconnect()};t.prototype._makeSiblingsInert=function(){var t=this;var i=Array.from(this.target.children);i.forEach((function(i){if(i!==t.element){i.dataset.duetTeleportId=(i.dataset.duetTeleportId||"")+t.teleportId;i.inert=true}}))};t.prototype._removeInertFromSiblings=function(){var t=this;var i=Array.from(this.target.children);i.forEach((function(i){var s;if((s=i.dataset.duetTeleportId)===null||s===void 0?void 0:s.includes(t.teleportId)){i.dataset.duetTeleportId=i.dataset.duetTeleportId.replace(t.teleportId,"");if(i.dataset.duetTeleportId===""){delete i.dataset.duetTeleportId;i.inert=false}}}))};t.prototype._deletionObserverCallback=function(t){var i=this;t.forEach((function(t){if(Array.from(t.removedNodes).includes(i.element)||Array.from(t.removedNodes).some((function(t){return t.contains(i.stub)}))){i._remove()}}))};return t}();t("T",i)}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,o,e,r){function n(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,a){function i(t){try{d(r.next(t))}catch(t){a(t)}}function u(t){try{d(r["throw"](t))}catch(t){a(t)}}function d(t){t.done?e(t.value):n(t.value).then(i,u)}d((r=r.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(t){return function(o){return d([t,o])}}function d(u){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,u[0]&&(e=0)),e)try{if(r=1,n&&(a=u[0]&2?n["return"]:u[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;if(n=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;n=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){e.label=u[1];break}if(u[0]===6&&e.label<a[1]){e.label=a[1];a=u;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(u);break}if(a[2])e.ops.pop();e.trys.pop();continue}u=o.call(t,e)}catch(t){u=[6,t];n=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(t){"use strict";var o,e,r,n,a,i;return{setters:[function(t){o=t.r;e=t.h;r=t.H;n=t.g},function(t){a=t.i},function(t){i=t.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(0, 41, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-dropdown .items{position:absolute;top:102%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:1rem 0;color:rgb(0, 41, 77);background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(245, 245, 247)}.duet-toolbar-dropdown.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button:hover{color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-dropdown.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-dropdown.negative button.open{color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-dropdown.negative button duet-icon{color:rgb(205, 229, 241)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(244, 207, 214)}';var d=t("duet_toolbar_dropdown",function(){function t(t){var e=this;o(this,t);this.onClick=function(){e.open=!e.open};this.theme="";this.variation="default";this.accessibleLabel=undefined;this.active=false;this.open=false;this.icon=undefined}t.prototype.handleFocus=function(t){var o=this;var e=t.composedPath().every((function(t){return t!==o.element}));if(e){this.open=false}};t.prototype.componentWillLoad=function(){a(this)};t.prototype.handleEscape=function(t){if(i(t)){this.open=false;this.setFocus()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){this.button.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var o=this;var n="right";if(this.element&&this.element.parentElement){n=this.element.parentElement.getAttribute("slot")==="left"?"right":"left"}var a=this.variation==="negative"?"negative":"white";return e(r,null,e("div",{class:(t={"duet-toolbar-dropdown":true,"duet-theme-turva":this.theme==="turva"},t[n]=true,t[a]=true,t)},e("button",{ref:function(t){return o.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,id:"button",type:"button",class:{active:this.active,open:this.open},onClick:this.onClick,onKeyUp:function(t){return o.handleEscape(t)}},this.icon&&e("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("div",{class:"label"},e("slot",{name:"label"}),e("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),e("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},e("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=u}}}));
|
package/lib/duet/p-b2e550a3.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
class t{constructor(t,i){this.isActive=!1,this.element=t,this.target=i||document.body,this.teleportId=`${Math.random()}-${Date.now()}`.substring(2)}go(t=!1){this.element.dataset.reactPortal||(this.stub=document.createElement("template"),this.element.insertAdjacentElement("afterend",this.stub),this.target.appendChild(this.element)),t&&this._makeSiblingsInert(),this.deletionObserver=new MutationObserver(this._deletionObserverCallback.bind(this)),this.deletionObserver.observe(document.documentElement,{childList:!0,subtree:!0}),this.isActive=!0}resume(t=0){this.isActive&&(this.isActive=!1,t?setTimeout(this._resume.bind(this),t):this._resume())}_resume(){this.element.dataset.reactPortal||(this.stub.insertAdjacentElement("beforebegin",this.element),this.stub.remove()),this._removeInertFromSiblings(),this.deletionObserver.disconnect()}_remove(){var t,i;null===(t=this.element)||void 0===t||t.remove(),null===(i=this.stub)||void 0===i||i.remove(),this._removeInertFromSiblings(),this.deletionObserver.disconnect()}_makeSiblingsInert(){Array.from(this.target.children).forEach((t=>{t!==this.element&&(t.dataset.duetTeleportId=(t.dataset.duetTeleportId||"")+this.teleportId,t.inert=!0)}))}_removeInertFromSiblings(){Array.from(this.target.children).forEach((t=>{var i;(null===(i=t.dataset.duetTeleportId)||void 0===i?void 0:i.includes(this.teleportId))&&(t.dataset.duetTeleportId=t.dataset.duetTeleportId.replace(this.teleportId,""),""===t.dataset.duetTeleportId&&(delete t.dataset.duetTeleportId,t.inert=!1))}))}_deletionObserverCallback(t){t.forEach((t=>{(Array.from(t.removedNodes).includes(this.element)||Array.from(t.removedNodes).some((t=>t.contains(this.stub))))&&this._remove()}))}}export{t as T}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function o(t){try{a(n.next(t))}catch(t){s(t)}}function u(t){try{a(n["throw"](t))}catch(t){s(t)}}function a(t){t.done?e(t.value):r(t.value).then(o,u)}a((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return a([t,i])}}function a(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(e=0)),e)try{if(n=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;r=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){e.label=u[1];break}if(u[0]===6&&e.label<s[1]){e.label=s[1];s=u;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(u);break}if(s[2])e.ops.pop();e.trys.pop();continue}u=i.call(t,e)}catch(t){u=[6,t];r=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-f18c2892.system.js","./p-232940fa.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js","./p-9e36548d.system.js"],(function(t){"use strict";var i,e,n,r,s,o,u,a,c,h,f,p,d,l;return{setters:[function(t){i=t.r;e=t.c;n=t.h;r=t.H;s=t.g},function(t){o=t.c;u=t.o;a=t.f},function(t){c=t.i},function(t){h=t.f;f=t.c;p=t.b;d=t.o},function(t){l=t.T}],execute:function(){var m="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:0;padding:1rem 0;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247)}";var b=t("duet_popup_menu",function(){function t(t){var n=this;i(this,t);this.duetToggle=e(this,"duetToggle",7);this.updatePlacement=function(){return __awaiter(n,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.controller){return[2]}return[4,o(this.controller,this.element,{middleware:[u({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),a()],placement:this.placement,strategy:this.position})];case 1:t=i.sent();this.menuY=t.y;this.menuX=t.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.theme="";this.controller=undefined;this.placement="bottom-start";this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0}t.prototype.componentWillLoad=function(){c(this);this.teleport=new l(this.element)};t.prototype.componentDidLoad=function(){{this.updatePlacement()}};t.prototype.handleKeyUp=function(t){if(this.open){if(h(t)){this.focusController();this.hide()}}};t.prototype.handleKeyDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,i;return __generator(this,(function(e){switch(e.label){case 0:if(!this.open)return[3,5];if(!f(t))return[3,2];t.preventDefault();return[4,this.getFocusedItemIndex()];case 1:i=e.sent();if(i!==-1){if(i<this.itemElements.length-1){this.itemElements[i+1].setFocus()}else{this.itemElements[0].setFocus()}}e.label=2;case 2:if(!p(t))return[3,4];t.preventDefault();return[4,this.getFocusedItemIndex()];case 3:i=e.sent();if(i!==-1){if(i===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[i-1].setFocus()}}e.label=4;case 4:if(d(t)){t.preventDefault();this.hide()}e.label=5;case 5:return[2]}}))}))};t.prototype.handleClick=function(t){var i=this;var e=t.composedPath().every((function(t){return t!==i.element&&t!==i.controller}));if(this.open&&e){this.hide()}};t.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.open]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;this.teleport.go();this.itemElements[0].setFocus();this.duetToggle.emit({open:this.open,component:"duet-popup-menu"});this.updatePlacement();return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=false;this.duetToggle.emit({open:this.open,component:"duet-popup-menu"});this.focusController();this.teleport.resume(200);return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){this.hide()}else{this.show()}return[2]}))}))};t.prototype.focusController=function(){if(this.controller){if("setFocus"in this.controller){this.controller.setFocus()}else{this.controller.focus()}}};Object.defineProperty(t.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope > duet-popup-menu-item"))},enumerable:false,configurable:true});t.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this.itemElements;i=0;e.label=1;case 1:if(!(i<t.length))return[3,4];return[4,t[i].isFocused()];case 2:if(e.sent()){return[2,i]}e.label=3;case 3:i++;return[3,1];case 4:return[2,-1]}}))}))};t.prototype.render=function(){var t={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px")};return n(r,{class:this.position},n("div",{style:t,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva"},role:"menu","aria-label":this.accessibleLabel},n("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());b.style=m}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-f18c2892.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.h}],execute:function(){var e=t("f",(function(t){if("setFocus"in t){t.setFocus()}else{t.focus()}}));var u=t("F",(function(t){var u=t.moveFocusTo;return n("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return e(u)}})}))}}}));
|