@duetds/components 8.1.0 → 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 +168 -80
- package/lib/cjs/app-globals-aece069f.js +28 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +4 -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 +11 -2
- 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 +15 -5
- package/lib/cjs/duet-card.cjs.entry.js +10 -4
- 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 +8 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +5 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +9 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +8 -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 +4 -4
- 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 +4 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +6 -4
- 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 +3 -3
- 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 +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -4
- 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 +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +4 -4
- 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 +9 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -2
- 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 +2 -2
- 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 +13 -10
- package/lib/cjs/duet-step_2.cjs.entry.js +8 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- 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 +8 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- 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 +14 -19
- package/lib/cjs/duet-tooltip.cjs.entry.js +8 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -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 +3 -3
- package/lib/cjs/{focus-utils-9b549956.js → focus-utils-6b554ff9.js} +1 -1
- package/lib/cjs/{index-ce232ed8.js → index-157c822b.js} +1 -1
- package/lib/cjs/keyboard-utils-7248dd0a.js +69 -0
- package/lib/cjs/loader.cjs.js +3 -3
- 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/collection-manifest.json +1 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +4 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +34 -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 +10 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +11 -4
- package/lib/collection/components/duet-choice/duet-choice.js +6 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +10 -4
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +8 -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 +10 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +18 -16
- 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-icon/duet-icon.js +3 -3
- 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-link/duet-link.js +12 -2
- 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/duet-notification.js +3 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +7 -5
- 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 +9 -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.css +4 -10
- 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 +9 -3
- 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 +8 -6
- 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 +8 -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-button.js +6 -28
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +6 -28
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +6 -2
- package/lib/collection/components/duet-tray/duet-tray.js +3 -0
- 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/global/duet-global.js +0 -26
- package/lib/collection/utils/keyboard-utils.js +43 -12
- 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 +20 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +11 -5
- 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 +9 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +8 -6
- package/lib/dist-custom-elements/duet-collapsible.js +10 -4
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +13 -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 +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -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 +12 -10
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -5
- 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 +9 -9
- package/lib/dist-custom-elements/duet-multiselect.js +12 -12
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +7 -4
- package/lib/dist-custom-elements/duet-notification.js +5 -2
- package/lib/dist-custom-elements/duet-number-input.js +14 -12
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +15 -15
- 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 +4 -4
- 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 +10 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +6 -6
- 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 +12 -9
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +11 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +16 -14
- 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 +9 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
- 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 +7 -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 -27
- package/lib/dist-custom-elements/{p-402e81c0.js → p-04889da1.js} +5 -5
- package/lib/dist-custom-elements/{p-76b345c8.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-9b5f8ba4.js → p-0d345f52.js} +2 -2
- package/lib/dist-custom-elements/{p-98746766.js → p-16e97b9c.js} +1 -1
- package/lib/dist-custom-elements/{p-ba0f907f.js → p-17f23d02.js} +2 -2
- package/lib/dist-custom-elements/{p-872a2adb.js → p-18ae77da.js} +2 -2
- package/lib/dist-custom-elements/{p-dfd29738.js → p-23f7068d.js} +1 -1
- package/lib/dist-custom-elements/{p-ffc7f083.js → p-2591d3c1.js} +1 -1
- package/lib/dist-custom-elements/{p-6f7dcc4d.js → p-26c9e94a.js} +1 -1
- package/lib/dist-custom-elements/{p-598731b0.js → p-2f7f4d60.js} +2 -2
- package/lib/dist-custom-elements/{p-a45d0398.js → p-3e81fc67.js} +2 -2
- package/lib/dist-custom-elements/{p-4f43c247.js → p-5f7df847.js} +1 -1
- package/lib/dist-custom-elements/{p-f91cddd9.js → p-60358cbc.js} +12 -8
- package/lib/dist-custom-elements/{p-0a7c0d3d.js → p-60d4a8ce.js} +10 -10
- package/lib/dist-custom-elements/{p-ba9ad148.js → p-666a097e.js} +1 -1
- package/lib/dist-custom-elements/{p-2605a78e.js → p-6b73593d.js} +2 -2
- package/lib/dist-custom-elements/{p-38b35e69.js → p-6cdb4bc9.js} +9 -9
- package/lib/{esm/teleport-4462e8c1.js → dist-custom-elements/p-751344b2.js} +8 -0
- package/lib/dist-custom-elements/{p-c057158b.js → p-7d6b2e2a.js} +1 -1
- package/lib/dist-custom-elements/{p-247a9d01.js → p-803d6f4c.js} +8 -5
- package/lib/dist-custom-elements/{p-d5f3b174.js → p-8496cd8c.js} +1 -1
- package/lib/dist-custom-elements/{p-3a17ba0c.js → p-88a1e813.js} +5 -5
- package/lib/dist-custom-elements/p-8f253845.js +51 -0
- package/lib/dist-custom-elements/{p-57a1cba9.js → p-9a81250e.js} +1 -1
- package/lib/dist-custom-elements/{p-02eb68f2.js → p-a4f9be99.js} +2 -2
- package/lib/dist-custom-elements/{p-0825cbc5.js → p-a5450dd6.js} +9 -12
- package/lib/dist-custom-elements/{p-bc3fa417.js → p-a88f801c.js} +1 -1
- package/lib/dist-custom-elements/{p-a6e6f578.js → p-c7e8eeec.js} +1 -1
- package/lib/dist-custom-elements/{p-ff387a2f.js → p-ca00c920.js} +2 -2
- package/lib/dist-custom-elements/{p-39827833.js → p-d4cb22d8.js} +2 -2
- package/lib/dist-custom-elements/p-d8f01eb9.js +301 -0
- package/lib/dist-custom-elements/{p-1cd7077a.js → p-dab34418.js} +1 -1
- package/lib/dist-custom-elements/{p-257f2e82.js → p-db24b3f2.js} +16 -12
- package/lib/dist-custom-elements/{p-70a66e96.js → p-e65ac105.js} +1 -1
- package/lib/dist-custom-elements/{p-d5fc2405.js → p-e6b65023.js} +2 -2
- package/lib/dist-custom-elements/{p-86649f25.js → p-ea3632de.js} +12 -12
- package/lib/dist-custom-elements/{p-6fbb1970.js → p-ec4ffa81.js} +3 -3
- package/lib/dist-custom-elements/{p-ce1cc5ab.js → p-ff6cac8b.js} +11 -14
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-ad5e3c9c.system.entry.js → p-01e08373.system.entry.js} +1 -1
- package/lib/duet/p-04249722.entry.js +4 -0
- package/lib/duet/{p-d32e9ae1.system.entry.js → p-04e87e02.system.entry.js} +1 -1
- package/lib/duet/{p-4212bab8.js → p-06570fbf.js} +1 -1
- package/lib/duet/{p-8cf2feaa.entry.js → p-0a2bd8cf.entry.js} +1 -1
- package/lib/duet/{p-64d43840.js → p-0cc51aa5.js} +1 -1
- package/lib/duet/p-0d7aef74.entry.js +4 -0
- package/lib/duet/p-0d80334c.entry.js +4 -0
- package/lib/duet/{p-bd97fff1.system.entry.js → p-0f69701f.system.entry.js} +1 -1
- package/lib/duet/{p-191959c7.entry.js → p-1074866e.entry.js} +1 -1
- package/lib/duet/p-10932e23.system.entry.js +4 -0
- package/lib/duet/{p-bc16a555.entry.js → p-12bb48aa.entry.js} +1 -1
- package/lib/duet/{p-bf3bf531.system.entry.js → p-12c62fda.system.entry.js} +1 -1
- package/lib/duet/{p-5dccd17b.entry.js → p-13662eb9.entry.js} +1 -1
- package/lib/duet/{p-d41e819d.entry.js → p-137fbf26.entry.js} +1 -1
- package/lib/duet/{p-338ba4d2.entry.js → p-1a716787.entry.js} +1 -1
- package/lib/duet/p-1a9958ee.system.js +4 -0
- package/lib/duet/p-1ddd6fc8.system.entry.js +4 -0
- package/lib/duet/{p-226489c4.entry.js → p-1ef2844f.entry.js} +1 -1
- package/lib/duet/{p-b868bb09.system.entry.js → p-2417aad9.system.entry.js} +1 -1
- package/lib/duet/p-259a297a.system.js +4 -0
- package/lib/duet/{p-8920edb7.system.entry.js → p-2ab62956.system.entry.js} +1 -1
- package/lib/duet/p-2bb2b022.js +4 -0
- package/lib/duet/p-3021e910.entry.js +4 -0
- package/lib/duet/p-3043f61b.system.entry.js +4 -0
- package/lib/duet/{p-ab2da6f9.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-351b5fd0.system.entry.js +4 -0
- package/lib/duet/p-37cca48e.entry.js +4 -0
- package/lib/duet/{p-200089a6.system.entry.js → p-38dfb538.system.entry.js} +1 -1
- package/lib/duet/{p-ec98691e.system.entry.js → p-3a39dd19.system.entry.js} +1 -1
- package/lib/duet/p-3a7a6906.entry.js +4 -0
- package/lib/duet/p-3b586fc5.entry.js +4 -0
- package/lib/duet/p-3d0b9e59.entry.js +4 -0
- package/lib/duet/{p-f8c64564.system.entry.js → p-3e1b4203.system.entry.js} +1 -1
- package/lib/duet/{p-0a7c3ecf.entry.js → p-43cccc70.entry.js} +1 -1
- package/lib/duet/{p-8a16fb3c.entry.js → p-4534b63a.entry.js} +1 -1
- package/lib/duet/{p-bcd1e9d8.system.entry.js → p-45cb0078.system.entry.js} +1 -1
- package/lib/duet/{p-6b2876f1.entry.js → p-470b320a.entry.js} +1 -1
- package/lib/duet/{p-e3574b05.entry.js → p-47b9ebfc.entry.js} +1 -1
- package/lib/duet/p-48ad58f7.entry.js +4 -0
- package/lib/duet/{p-6e6ececd.system.entry.js → p-49d0f126.system.entry.js} +1 -1
- package/lib/duet/p-4d8758f9.entry.js +4 -0
- package/lib/duet/{p-bf0e9413.entry.js → p-4e431ff6.entry.js} +1 -1
- package/lib/duet/{p-24f7d6bf.entry.js → p-4ec02d20.entry.js} +1 -1
- package/lib/duet/p-4ed862cd.system.entry.js +4 -0
- package/lib/duet/p-52e711b6.system.js +4 -0
- package/lib/duet/{p-51d53e57.entry.js → p-5692f185.entry.js} +1 -1
- package/lib/duet/{p-9f39d6de.system.entry.js → p-56b22bac.system.entry.js} +1 -1
- package/lib/duet/p-5795b0d9.system.js +4 -0
- package/lib/duet/{p-a4dd147b.entry.js → p-58aec0bf.entry.js} +1 -1
- package/lib/duet/p-5eed2113.entry.js +4 -0
- package/lib/duet/p-60cd790e.entry.js +4 -0
- package/lib/duet/p-61a28f2c.system.entry.js +4 -0
- package/lib/duet/p-63287e64.entry.js +4 -0
- package/lib/duet/p-63885f31.system.entry.js +4 -0
- package/lib/duet/p-66a1f261.system.entry.js +4 -0
- package/lib/duet/{p-8e414050.entry.js → p-67eb8cc6.entry.js} +1 -1
- package/lib/duet/{p-42b49430.system.entry.js → p-6a410f49.system.entry.js} +1 -1
- package/lib/duet/{p-d73f7574.entry.js → p-6a7ed346.entry.js} +1 -1
- package/lib/duet/{p-7a832531.entry.js → p-6bbd1456.entry.js} +1 -1
- package/lib/duet/{p-258b8732.entry.js → p-6d5e9d4d.entry.js} +1 -1
- package/lib/duet/p-6d839458.js +4 -0
- package/lib/duet/{p-9fb3e7b4.system.entry.js → p-717013b6.system.entry.js} +1 -1
- package/lib/duet/{p-e3c5663f.entry.js → p-730c0fff.entry.js} +1 -1
- package/lib/duet/p-751344b2.js +4 -0
- package/lib/duet/p-752eccd9.system.entry.js +4 -0
- package/lib/duet/{p-57a63204.entry.js → p-79d99a3a.entry.js} +1 -1
- package/lib/duet/{p-e1f6b6f3.system.entry.js → p-7e877080.system.entry.js} +1 -1
- package/lib/duet/{p-7bbc5a65.system.entry.js → p-7f81eb4c.system.entry.js} +1 -1
- package/lib/duet/{p-9aa0ebba.entry.js → p-808eb713.entry.js} +1 -1
- package/lib/duet/p-81aa9e58.system.entry.js +4 -0
- package/lib/duet/{p-793d7e04.system.entry.js → p-81ec9b35.system.entry.js} +1 -1
- package/lib/duet/{p-97d72f16.system.entry.js → p-81f0c65d.system.entry.js} +1 -1
- package/lib/duet/{p-1e587bcc.system.entry.js → p-84b2e3f0.system.entry.js} +1 -1
- package/lib/duet/{p-f25e57fe.system.entry.js → p-854ca73a.system.entry.js} +1 -1
- package/lib/duet/{p-d13cb6f4.system.entry.js → p-86abce17.system.entry.js} +1 -1
- package/lib/duet/{p-9ec69dbc.system.entry.js → p-870db7df.system.entry.js} +1 -1
- package/lib/duet/p-87551364.system.entry.js +4 -0
- package/lib/duet/{p-fb8a5b68.system.entry.js → p-8c655835.system.entry.js} +1 -1
- package/lib/duet/{p-16db7b1e.entry.js → p-8d0cb2d8.entry.js} +1 -1
- package/lib/duet/{p-542d792f.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-917dedc1.system.entry.js +4 -0
- package/lib/duet/{p-1fbbf69f.entry.js → p-92579533.entry.js} +1 -1
- package/lib/duet/{p-75243a15.system.entry.js → p-9357c710.system.entry.js} +1 -1
- package/lib/duet/{p-55f98dc4.entry.js → p-9508feb6.entry.js} +1 -1
- package/lib/duet/{p-d8104d1b.entry.js → p-951d1081.entry.js} +1 -1
- package/lib/duet/{p-4b272eca.system.entry.js → p-9762f038.system.entry.js} +1 -1
- package/lib/duet/{p-dcfe6e27.system.entry.js → p-977a40ba.system.entry.js} +1 -1
- package/lib/duet/{p-60cee508.system.entry.js → p-994f3966.system.entry.js} +1 -1
- package/lib/duet/{p-13f7d993.entry.js → p-9a868a09.entry.js} +1 -1
- package/lib/duet/{p-8d8bdf90.system.entry.js → p-9b6df3eb.system.entry.js} +1 -1
- package/lib/duet/{p-6f891451.entry.js → p-9c3381d1.entry.js} +1 -1
- package/lib/duet/p-9ee5583e.entry.js +4 -0
- package/lib/duet/p-9fab377c.system.entry.js +4 -0
- package/lib/duet/{p-aa6ad573.system.entry.js → p-a080b5ee.system.entry.js} +1 -1
- package/lib/duet/p-a1c69051.system.entry.js +4 -0
- package/lib/duet/{p-2349e838.entry.js → p-a2b1a4c0.entry.js} +1 -1
- package/lib/duet/{p-f4493cb6.entry.js → p-a38b0c78.entry.js} +1 -1
- package/lib/duet/{p-6576401a.entry.js → p-a3e01217.entry.js} +1 -1
- package/lib/duet/{p-38320af8.js → p-a4fd3204.js} +1 -1
- package/lib/duet/p-a51fc564.entry.js +4 -0
- package/lib/duet/{p-07af14f1.js → p-a68b58e6.js} +1 -1
- package/lib/duet/{p-b27b1902.system.entry.js → p-a76a945d.system.entry.js} +1 -1
- package/lib/duet/{p-c565698d.system.entry.js → p-a881dcee.system.entry.js} +1 -1
- package/lib/duet/{p-71ef1651.system.entry.js → p-a8eef96f.system.entry.js} +1 -1
- package/lib/duet/{p-5ed00370.system.js → p-ab04f0b5.system.js} +1 -1
- package/lib/duet/{p-903efe1d.entry.js → p-ac03e45a.entry.js} +1 -1
- package/lib/duet/{p-b036d4f0.system.entry.js → p-adb4f00d.system.entry.js} +1 -1
- package/lib/duet/{p-ad3021d3.system.entry.js → p-ae0edbf0.system.entry.js} +1 -1
- package/lib/duet/{p-d8ee9cc9.entry.js → p-ae55ab01.entry.js} +1 -1
- package/lib/duet/{p-ebe22b98.system.entry.js → p-af129095.system.entry.js} +1 -1
- package/lib/duet/{p-e79bf1c2.entry.js → p-af24d0ba.entry.js} +1 -1
- package/lib/duet/{p-dce5a6f9.entry.js → p-b00491f4.entry.js} +1 -1
- package/lib/duet/{p-a5504252.entry.js → p-b0b1f2a2.entry.js} +1 -1
- package/lib/duet/{p-b54be005.entry.js → p-b14f32a6.entry.js} +1 -1
- package/lib/duet/{p-c0c9acd9.system.entry.js → p-b2196a24.system.entry.js} +1 -1
- package/lib/duet/p-b2bba5c2.system.entry.js +4 -0
- package/lib/duet/{p-13876bc6.entry.js → p-b421c710.entry.js} +1 -1
- package/lib/duet/{p-26f7d1b9.system.entry.js → p-b59a6d4c.system.entry.js} +1 -1
- package/lib/duet/p-b7fd8ad4.system.entry.js +4 -0
- package/lib/duet/{p-b62108c8.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-bb01e446.system.entry.js +4 -0
- package/lib/duet/{p-9308c47c.system.entry.js → p-bb0cfbf7.system.entry.js} +1 -1
- package/lib/duet/{p-625f750f.system.entry.js → p-bb174891.system.entry.js} +1 -1
- package/lib/duet/p-bc1fed7e.system.entry.js +4 -0
- package/lib/duet/p-be2d339f.system.entry.js +4 -0
- package/lib/duet/p-bf3e4216.entry.js +4 -0
- package/lib/duet/{p-b62ed1f0.entry.js → p-bfd0356f.entry.js} +1 -1
- package/lib/duet/{p-3aa3fb24.system.entry.js → p-c0fc230e.system.entry.js} +1 -1
- package/lib/duet/{p-f009e108.entry.js → p-c796c3f4.entry.js} +1 -1
- package/lib/duet/p-cc62667c.entry.js +4 -0
- package/lib/duet/{p-580a7bae.entry.js → p-cd042667.entry.js} +1 -1
- package/lib/duet/{p-81230084.system.entry.js → p-cd5dba94.system.entry.js} +1 -1
- package/lib/duet/{p-0aa1b1cd.system.entry.js → p-cd970535.system.entry.js} +2 -2
- package/lib/duet/p-cfe49bdb.entry.js +4 -0
- package/lib/duet/p-d538903d.entry.js +4 -0
- package/lib/duet/p-d6453fde.entry.js +4 -0
- package/lib/duet/{p-f1d51e20.js → p-d96c1564.js} +1 -1
- package/lib/duet/{p-342527a4.entry.js → p-dac54475.entry.js} +1 -1
- package/lib/duet/{p-33d6e5ef.entry.js → p-db498557.entry.js} +1 -1
- package/lib/duet/{p-e6bd0e51.system.entry.js → p-e07fa18a.system.entry.js} +1 -1
- package/lib/duet/p-e10553a8.entry.js +4 -0
- package/lib/duet/{p-785ff4f2.entry.js → p-e27983cf.entry.js} +1 -1
- package/lib/duet/p-e41cd4f9.system.entry.js +4 -0
- package/lib/duet/{p-b022a3d5.system.entry.js → p-e42e3a8a.system.entry.js} +2 -2
- package/lib/duet/{p-f7b58d72.system.js → p-e42e59a8.system.js} +1 -1
- package/lib/duet/{p-cfb85117.entry.js → p-e4bbb63e.entry.js} +1 -1
- package/lib/duet/p-e5514a5b.entry.js +4 -0
- package/lib/duet/{p-246db04a.entry.js → p-e6a69686.entry.js} +1 -1
- package/lib/duet/{p-2b9499f1.entry.js → p-e6d43779.entry.js} +1 -1
- package/lib/duet/{p-464adc60.system.entry.js → p-eaac2908.system.entry.js} +1 -1
- package/lib/duet/p-ead618f6.system.entry.js +4 -0
- package/lib/duet/{p-132ea5e6.entry.js → p-eadfb5cf.entry.js} +1 -1
- package/lib/duet/{p-7b847e11.system.entry.js → p-eb0e33f2.system.entry.js} +1 -1
- package/lib/duet/{p-51bdb5fd.system.entry.js → p-eb0e706a.system.entry.js} +1 -1
- package/lib/duet/{p-502f43bb.entry.js → p-eb892ea8.entry.js} +1 -1
- package/lib/duet/{p-61fe1543.system.entry.js → p-ec80c9be.system.entry.js} +1 -1
- package/lib/duet/p-eccd38da.system.js +4 -0
- package/lib/duet/{p-2c730d40.entry.js → p-f1c23c0a.entry.js} +1 -1
- package/lib/duet/{p-1b11541f.entry.js → p-f5aacbf9.entry.js} +1 -1
- package/lib/duet/p-f662ac7c.system.entry.js +4 -0
- package/lib/duet/{p-69fba9fe.system.entry.js → p-f7105228.system.entry.js} +1 -1
- package/lib/duet/p-f8d2bf05.system.entry.js +4 -0
- package/lib/duet/{p-9192de69.system.entry.js → p-f9fc34c4.system.entry.js} +1 -1
- package/lib/duet/{p-8bc5df74.entry.js → p-fa25a512.entry.js} +1 -1
- package/lib/duet/p-fe1e84a5.system.entry.js +4 -0
- package/lib/esm/app-globals-45aa6d20.js +26 -0
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +4 -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 +11 -2
- 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 +15 -5
- package/lib/esm/duet-card.entry.js +10 -4
- 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 +8 -1
- package/lib/esm/duet-choice_2.entry.js +5 -3
- package/lib/esm/duet-collapsible.entry.js +9 -3
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +8 -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 +4 -4
- 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 +4 -1
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +6 -4
- 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 +3 -3
- 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 +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -4
- 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 +4 -4
- package/lib/esm/duet-multiselect.entry.js +3 -3
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +6 -1
- package/lib/esm/duet-number-input.entry.js +4 -2
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +4 -4
- 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 +9 -2
- package/lib/esm/duet-scrollable_3.entry.js +4 -2
- 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 +2 -2
- 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 +13 -10
- package/lib/esm/duet-step_2.entry.js +8 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- 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 +8 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- 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 +14 -19
- package/lib/esm/duet-tooltip.entry.js +8 -4
- package/lib/esm/duet-tray.entry.js +5 -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 +4 -4
- package/lib/esm/{focus-utils-d54af982.js → focus-utils-270bf5da.js} +1 -1
- package/lib/esm/{index-d4489a2e.js → index-d7bdcdc1.js} +1 -1
- package/lib/esm/keyboard-utils-eba88365.js +51 -0
- package/lib/esm/loader.js +4 -4
- package/lib/{dist-custom-elements/p-b2e550a3.js → esm/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/app-globals-45aa6d20.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-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 +2 -2
- 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-d4489a2e.js → index-d7bdcdc1.js} +1 -1
- package/lib/esm-es5/keyboard-utils-eba88365.js +4 -0
- 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/common-types.d.ts +11 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +6 -1
- package/lib/types/components/duet-card/duet-card.d.ts +2 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +2 -0
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +2 -0
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +2 -0
- package/lib/types/components/duet-header/duet-header-icon.d.ts +1 -1
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -2
- package/lib/types/components/duet-link/duet-link.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +1 -2
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +1 -2
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +1 -2
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
- package/lib/types/components/duet-step/duet-step.d.ts +2 -0
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +1 -2
- package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +1 -2
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +2 -0
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +2 -3
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +2 -3
- package/lib/types/components.d.ts +10 -4
- package/lib/types/utils/keyboard-utils.d.ts +2 -0
- package/package.json +5 -5
- package/lib/cjs/app-globals-cd75f624.js +0 -54
- package/lib/cjs/keyboard-utils-02441bc5.js +0 -36
- package/lib/dist-custom-elements/p-56ac3289.js +0 -20
- package/lib/dist-custom-elements/p-5fe36e8b.js +0 -300
- package/lib/duet/p-0782a6e5.js +0 -4
- package/lib/duet/p-105a1448.entry.js +0 -4
- package/lib/duet/p-1ea5e7e8.system.entry.js +0 -4
- package/lib/duet/p-25bde810.entry.js +0 -4
- package/lib/duet/p-26c85bab.entry.js +0 -4
- package/lib/duet/p-2f0a23ae.entry.js +0 -4
- package/lib/duet/p-3cafacc3.system.entry.js +0 -4
- package/lib/duet/p-3e1248d8.entry.js +0 -4
- package/lib/duet/p-40ee5f5e.system.entry.js +0 -4
- package/lib/duet/p-42b9c6f9.system.entry.js +0 -4
- package/lib/duet/p-48d6a81d.system.entry.js +0 -4
- package/lib/duet/p-4911c778.system.entry.js +0 -4
- package/lib/duet/p-4c650a9e.entry.js +0 -4
- package/lib/duet/p-513dfe01.entry.js +0 -4
- package/lib/duet/p-5b86c564.entry.js +0 -4
- package/lib/duet/p-5c94249e.system.entry.js +0 -4
- package/lib/duet/p-5f43dbcf.entry.js +0 -4
- package/lib/duet/p-65e434a5.entry.js +0 -4
- package/lib/duet/p-67c653f9.system.js +0 -4
- package/lib/duet/p-6a972453.system.entry.js +0 -4
- package/lib/duet/p-6cae9d4b.entry.js +0 -4
- package/lib/duet/p-73f176dc.system.entry.js +0 -4
- package/lib/duet/p-7a085479.system.entry.js +0 -4
- package/lib/duet/p-7a91a53e.system.entry.js +0 -4
- package/lib/duet/p-7b5cd54a.system.entry.js +0 -4
- package/lib/duet/p-7e833901.system.entry.js +0 -4
- package/lib/duet/p-81a6df68.system.js +0 -4
- package/lib/duet/p-8d0d6e06.system.js +0 -4
- package/lib/duet/p-8d69624a.entry.js +0 -4
- package/lib/duet/p-8eb82556.system.entry.js +0 -4
- package/lib/duet/p-97488cc9.entry.js +0 -4
- package/lib/duet/p-9de9d3eb.entry.js +0 -4
- package/lib/duet/p-9e36548d.system.js +0 -4
- package/lib/duet/p-a59b5059.entry.js +0 -4
- package/lib/duet/p-ad0179fa.system.entry.js +0 -4
- package/lib/duet/p-b2e550a3.js +0 -4
- package/lib/duet/p-b5831260.system.entry.js +0 -4
- package/lib/duet/p-b5ffa156.entry.js +0 -4
- package/lib/duet/p-b6af2626.entry.js +0 -4
- package/lib/duet/p-b8b0249f.system.entry.js +0 -4
- package/lib/duet/p-c0152624.system.entry.js +0 -4
- package/lib/duet/p-cb69ce4a.entry.js +0 -4
- package/lib/duet/p-cc1909de.js +0 -4
- package/lib/duet/p-cd8177fe.entry.js +0 -4
- package/lib/duet/p-d2681203.entry.js +0 -4
- package/lib/duet/p-d3069a7b.entry.js +0 -4
- package/lib/duet/p-d5d57b8f.system.entry.js +0 -4
- package/lib/duet/p-db14fdfd.system.entry.js +0 -4
- package/lib/duet/p-e3a8dcb3.system.entry.js +0 -4
- package/lib/duet/p-e96a5f8b.system.entry.js +0 -4
- package/lib/duet/p-f0dc0a5b.entry.js +0 -4
- package/lib/duet/p-f1d894da.system.entry.js +0 -4
- package/lib/duet/p-f3bf4d40.system.js +0 -4
- package/lib/duet/p-fb30fcb0.system.entry.js +0 -4
- package/lib/duet/p-fc0fe631.system.entry.js +0 -4
- package/lib/duet/p-fc4f175f.system.entry.js +0 -4
- package/lib/duet/p-ff815e47.entry.js +0 -4
- package/lib/esm/app-globals-41b37f11.js +0 -52
- package/lib/esm/keyboard-utils-5746e126.js +0 -20
- package/lib/esm-es5/app-globals-41b37f11.js +0 -4
- package/lib/esm-es5/focus-utils-d54af982.js +0 -4
- package/lib/esm-es5/keyboard-utils-5746e126.js +0 -4
- package/lib/esm-es5/teleport-4462e8c1.js +0 -4
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
const isArrowLeftKey = (e) => e.key === "ArrowLeft" || e.key === "Left";
|
|
5
|
+
const isArrowUpKey = (e) => e.key === "ArrowUp" || e.key === "Up";
|
|
6
|
+
const isArrowRightKey = (e) => e.key === "ArrowRight" || e.key === "Right";
|
|
7
|
+
const isArrowDownKey = (e) => e.key === "ArrowDown" || e.key === "Down";
|
|
8
|
+
const isArrowKey = (e) => isArrowDownKey(e) || isArrowRightKey(e) || isArrowUpKey(e) || isArrowLeftKey(e);
|
|
9
|
+
const isEscapeKey = (e) => e.key === "Escape" || e.key === "Esc";
|
|
10
|
+
const isTabKey = (e) => e.key === "Tab";
|
|
11
|
+
const isBackspaceKey = (e) => e.key === "Backspace";
|
|
12
|
+
const isSpaceKey = (e) => e.key === " " || e.key === "Spacebar";
|
|
13
|
+
const isPlusKey = (e) => e.key === "+" || e.key === "Add";
|
|
14
|
+
const isMinusKey = (e) => e.key === "-" || e.key === "Subtract";
|
|
15
|
+
const isQuestionKey = (e) => e.key === "?";
|
|
16
|
+
const isEnterKey = (e) => e.key === "Enter";
|
|
17
|
+
const isKeyboardClick = (e) => isEnterKey(e) || isSpaceKey(e);
|
|
18
|
+
const isNumber = (e) => e.key >= "0" && e.key <= "9";
|
|
19
|
+
/**
|
|
20
|
+
* Component instances that have subscribed to tabbing change.
|
|
21
|
+
*/
|
|
22
|
+
const tabbingChangeSubscribers = new Set();
|
|
23
|
+
function notifySubscribers(tabbing) {
|
|
24
|
+
tabbingChangeSubscribers.forEach(subscriber => {
|
|
25
|
+
subscriber.element.classList[tabbing ? "add" : "remove"]("user-is-tabbing");
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function listenKeys(event) {
|
|
29
|
+
if (isTabKey(event)) {
|
|
30
|
+
notifySubscribers(true);
|
|
31
|
+
window.removeEventListener("keydown", listenKeys);
|
|
32
|
+
window.addEventListener("mousedown", listenMouse, false);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function listenMouse() {
|
|
36
|
+
notifySubscribers(false);
|
|
37
|
+
window.removeEventListener("mousedown", listenMouse);
|
|
38
|
+
window.addEventListener("keydown", listenKeys, false);
|
|
39
|
+
}
|
|
40
|
+
// start listening for tabbing (and mouse clicking through that) only if window is defined (i.e. not on server)
|
|
41
|
+
if (typeof window !== "undefined") {
|
|
42
|
+
window.addEventListener("keydown", listenKeys, false);
|
|
43
|
+
}
|
|
44
|
+
const subscribeTabbingChange = component => {
|
|
45
|
+
tabbingChangeSubscribers.add(component);
|
|
46
|
+
};
|
|
47
|
+
const unsubscribeTabbingChange = component => {
|
|
48
|
+
tabbingChangeSubscribers.delete(component);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export { isQuestionKey as a, isEscapeKey as b, isEnterKey as c, isTabKey as d, isArrowUpKey as e, isArrowDownKey as f, isSpaceKey as g, isArrowLeftKey as h, isKeyboardClick as i, isArrowRightKey as j, isBackspaceKey as k, isArrowKey as l, isNumber as m, isMinusKey as n, isPlusKey as o, subscribeTabbingChange as s, unsubscribeTabbingChange as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { m as mediaQueryXxSmall, a as mediaQueryXSmall, b as mediaQuerySmall, c as mediaQueryMedium, d as mediaQueryLarge, e as mediaQueryXLarge, f as mediaQueryXxLarge, g as mediaQueryXxxLarge, h as mediaQueryXxxSmall, t as tokens } from './p-
|
|
4
|
+
import { m as mediaQueryXxSmall, a as mediaQueryXSmall, b as mediaQuerySmall, c as mediaQueryMedium, d as mediaQueryLarge, e as mediaQueryXLarge, f as mediaQueryXxLarge, g as mediaQueryXxxLarge, h as mediaQueryXxxSmall, t as tokens } from './p-7d6b2e2a.js';
|
|
5
5
|
|
|
6
6
|
const allowedThemes = ["turva"];
|
|
7
7
|
function isDashCase(str) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
|
|
5
|
+
import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-7d6b2e2a.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
7
|
import { c as createID } from './p-5e59e970.js';
|
|
8
8
|
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import {
|
|
6
|
+
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8f253845.js';
|
|
7
|
+
import { d as defineCustomElement$1 } from './p-8496cd8c.js';
|
|
7
8
|
|
|
8
9
|
const duetTooltipButtonCss = "*,*::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-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button:hover{color:rgb(0, 77, 128)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}";
|
|
9
10
|
|
|
@@ -12,7 +13,6 @@ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class DuetTooltipButt
|
|
|
12
13
|
super();
|
|
13
14
|
this.__registerHost();
|
|
14
15
|
this.__attachShadow();
|
|
15
|
-
this.userIsTabbing = false;
|
|
16
16
|
this.label = "";
|
|
17
17
|
this.accessibleLabel = undefined;
|
|
18
18
|
this.theme = "";
|
|
@@ -25,13 +25,11 @@ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class DuetTooltipButt
|
|
|
25
25
|
componentWillLoad() {
|
|
26
26
|
inheritGlobalTheme(this);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
this.userIsTabbing = true;
|
|
31
|
-
}
|
|
28
|
+
connectedCallback() {
|
|
29
|
+
subscribeTabbingChange(this);
|
|
32
30
|
}
|
|
33
|
-
|
|
34
|
-
this
|
|
31
|
+
disconnectedCallback() {
|
|
32
|
+
unsubscribeTabbingChange(this);
|
|
35
33
|
}
|
|
36
34
|
async setFocus(options) {
|
|
37
35
|
if (this.buttonElement) {
|
|
@@ -43,7 +41,7 @@ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class DuetTooltipButt
|
|
|
43
41
|
* Always the last one in the class.
|
|
44
42
|
*/
|
|
45
43
|
render() {
|
|
46
|
-
return (h(Host,
|
|
44
|
+
return (h(Host, null, h("button", { ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
47
45
|
"duet-tooltip-button": true,
|
|
48
46
|
"duet-tooltip-button-has-label": !!this.label,
|
|
49
47
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -57,9 +55,8 @@ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class DuetTooltipButt
|
|
|
57
55
|
"theme": [1025],
|
|
58
56
|
"active": [4],
|
|
59
57
|
"tooltipId": [1, "tooltip-id"],
|
|
60
|
-
"userIsTabbing": [32],
|
|
61
58
|
"setFocus": [64]
|
|
62
|
-
}
|
|
59
|
+
}]);
|
|
63
60
|
function defineCustomElement() {
|
|
64
61
|
if (typeof customElements === "undefined") {
|
|
65
62
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
|
|
7
7
|
const duetGridItemCss = ".sc-duet-grid-item-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77)}.duet-grid-direction-horizontal.sc-duet-grid-item-h:first-child,.duet-grid-direction-horizontal.sc-duet-grid-item-h:first-of-type{padding-left:0}.duet-grid-direction-horizontal.sc-duet-grid-item-h:last-child,.duet-grid-direction-horizontal.sc-duet-grid-item-h:last-of-type{padding-right:0}@media (max-width: 35.9375em){.duet-grid-item-responsive.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){.duet-grid-item-br-medium.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){.duet-grid-item-responsive.duet-grid-item-br-medium.sc-duet-grid-item-h{padding-right:0;padding-left:0}}@media screen and (max-width: 64em){.duet-grid-item-br-x-large.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){.duet-grid-item-responsive.duet-grid-item-br-x-large.sc-duet-grid-item-h{padding-right:0;padding-left:0}}.duet-grid-item-fill.sc-duet-grid-item-h{flex:1 1 auto;width:100%}.duet-theme-turva.sc-duet-grid-item-h{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-m-0.sc-duet-grid-item-h{padding:0 !important;margin:0 !important}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
|
|
7
7
|
const duetBadgeCss = "*,*::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:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;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.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-26c9e94a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { g as getColorByName } from './p-
|
|
6
|
+
import { g as getColorByName } from './p-9a81250e.js';
|
|
7
7
|
|
|
8
8
|
const duetDividerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import { a as media_query_large, m as media_query_medium, b as media_query_small } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
|
|
5
|
+
import { a as media_query_large, m as media_query_medium, b as media_query_small } from './p-0cc51aa5.js';
|
|
6
6
|
import { w as watchForOptions, a as watchForElement } from './p-7d8a2628.js';
|
|
7
7
|
|
|
8
8
|
const duetGridCss = ".sc-duet-grid-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-grid-variation-flex.sc-duet-grid-h{display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:100%;max-width:100%;height:auto}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}@media (max-width: 22.5em){.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}.duet-grid-variation-flex.duet-grid-wrap.sc-duet-grid-h{flex-wrap:wrap !important}.duet-grid-variation-flex.duet-no-stacking.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-no-stacking.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking.sc-duet-grid-h{align-items:baseline !important}.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:baseline !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:center !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:center !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:baseline !important}}.duet-grid-variation-flex.duet-grid-distribution-left.sc-duet-grid-h{justify-content:flex-start !important}.duet-grid-variation-flex.duet-grid-distribution-right.sc-duet-grid-h{justify-content:flex-end !important}.duet-grid-variation-flex.duet-grid-distribution-center.sc-duet-grid-h{justify-content:center !important}.duet-grid-variation-flex.duet-grid-distribution-between.sc-duet-grid-h{justify-content:space-between !important}.duet-grid-variation-flex.duet-grid-distribution-around.sc-duet-grid-h{justify-content:space-around !important}.duet-grid-variation-flex.duet-grid-distribution-evenly.sc-duet-grid-h{justify-content:space-evenly !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-left.sc-duet-grid-h{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h{align-items:center !important;justify-content:center !important;text-align:center !important}.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h *.sc-duet-grid{text-align:center !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h{align-items:flex-end !important;justify-content:flex-end !important;text-align:right !important}.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h *.sc-duet-grid{text-align:right !important}}.duet-grid-variation-grid.sc-duet-grid-h{display:grid;grid-template-rows:repeat(1, 1fr);grid-template-columns:repeat(4, minmax(0, 1fr));gap:16px;align-items:flex-start;justify-content:center;margin:0 20px}@media (min-width: 36em){.duet-grid-variation-grid.sc-duet-grid-h{gap:24px;margin:0 40px}}@media (min-width: 48em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(8, 55px);gap:24px 32px;margin:0 auto}}@media (min-width: 62em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, minmax(0, 1fr));margin:0 64px}}@media (min-width: 76.25em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, 55px);gap:40px;margin:0 auto}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:3/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:2/span 10}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 12}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:9/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:5/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:7/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:9/span 4}}";
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-26c9e94a.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-9a81250e.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-0583d228.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-e6b65023.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-8496cd8c.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:12.5px;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;border-radius:10px}.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}.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-size-${this.size}`]: true,
|
|
184
|
+
"duet-button-icon-only": this.iconOnly,
|
|
185
|
+
"duet-button-text-center": this.centerText,
|
|
186
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
187
|
+
[this.variation]: true,
|
|
188
|
+
disabled: this.disabled,
|
|
189
|
+
icon: !!icon,
|
|
190
|
+
"icon-right": iconRight,
|
|
191
|
+
[this.getButtonIconSize()]: true,
|
|
192
|
+
},
|
|
193
|
+
"aria-controls": this.accessibleControls,
|
|
194
|
+
"aria-label": this.accessibleLabel,
|
|
195
|
+
"aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
|
|
196
|
+
"aria-activedescendant": this.accessibleActiveDescendant,
|
|
197
|
+
"aria-owns": this.accessibleOwns,
|
|
198
|
+
"aria-describedby": this.accessibleDescribedBy,
|
|
199
|
+
"aria-labelledby": this.accessibleLabelledBy,
|
|
200
|
+
"aria-details": this.accessibleDetails,
|
|
201
|
+
"aria-description": this.accessibleDescription,
|
|
202
|
+
};
|
|
203
|
+
return (h(Host, { onClick: this.handleClick, class: {
|
|
204
|
+
"duet-m-0": this.margin === "none",
|
|
205
|
+
"duet-small": this.size === "small",
|
|
206
|
+
"duet-fixed": this.fixed,
|
|
207
|
+
"duet-expand": this.expand,
|
|
208
|
+
"input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
|
|
209
|
+
} }, h("div", { class: {
|
|
210
|
+
"duet-button-container": true,
|
|
211
|
+
"duet-button-is-loading": this.loading,
|
|
212
|
+
"duet-theme-turva": this.theme === "turva",
|
|
213
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
214
|
+
[this.variation]: true,
|
|
215
|
+
} }, 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" }))));
|
|
216
|
+
}
|
|
217
|
+
get element() { return this; }
|
|
218
|
+
static get watchers() { return {
|
|
219
|
+
"disabled": ["syncToProxyButton"],
|
|
220
|
+
"submit": ["syncToProxyButton"],
|
|
221
|
+
"value": ["syncToProxyButton"],
|
|
222
|
+
"name": ["syncToProxyButton"]
|
|
223
|
+
}; }
|
|
224
|
+
static get style() { return duetButtonCss; }
|
|
225
|
+
}, [1, "duet-button", {
|
|
226
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
227
|
+
"accessibleControls": [1, "accessible-controls"],
|
|
228
|
+
"accessiblePopup": [1, "accessible-popup"],
|
|
229
|
+
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
230
|
+
"accessibleOwns": [1, "accessible-owns"],
|
|
231
|
+
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
232
|
+
"accessibleDetails": [1, "accessible-details"],
|
|
233
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
234
|
+
"accessibleDescription": [1, "accessible-description"],
|
|
235
|
+
"accessibleExpanded": [4, "accessible-expanded"],
|
|
236
|
+
"accessiblePressed": [4, "accessible-pressed"],
|
|
237
|
+
"loading": [4],
|
|
238
|
+
"variation": [1],
|
|
239
|
+
"negative": [4],
|
|
240
|
+
"theme": [1025],
|
|
241
|
+
"margin": [1],
|
|
242
|
+
"padding": [1],
|
|
243
|
+
"centerText": [4, "center-text"],
|
|
244
|
+
"wrapping": [1],
|
|
245
|
+
"expand": [4],
|
|
246
|
+
"fixed": [4],
|
|
247
|
+
"disabled": [516],
|
|
248
|
+
"name": [1],
|
|
249
|
+
"value": [1],
|
|
250
|
+
"identifier": [1],
|
|
251
|
+
"submit": [516],
|
|
252
|
+
"external": [4],
|
|
253
|
+
"language": [1537],
|
|
254
|
+
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
255
|
+
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
256
|
+
"accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
|
|
257
|
+
"accessibleLabelLoading": [1025, "accessible-label-loading"],
|
|
258
|
+
"icon": [1],
|
|
259
|
+
"color": [1],
|
|
260
|
+
"iconRight": [4, "icon-right"],
|
|
261
|
+
"iconSize": [1, "icon-size"],
|
|
262
|
+
"size": [1],
|
|
263
|
+
"iconOnly": [4, "icon-only"],
|
|
264
|
+
"url": [513],
|
|
265
|
+
"setFocus": [64]
|
|
266
|
+
}, undefined, {
|
|
267
|
+
"disabled": ["syncToProxyButton"],
|
|
268
|
+
"submit": ["syncToProxyButton"],
|
|
269
|
+
"value": ["syncToProxyButton"],
|
|
270
|
+
"name": ["syncToProxyButton"]
|
|
271
|
+
}]);
|
|
272
|
+
function defineCustomElement() {
|
|
273
|
+
if (typeof customElements === "undefined") {
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
|
|
277
|
+
components.forEach(tagName => { switch (tagName) {
|
|
278
|
+
case "duet-button":
|
|
279
|
+
if (!customElements.get(tagName)) {
|
|
280
|
+
customElements.define(tagName, DuetButton);
|
|
281
|
+
}
|
|
282
|
+
break;
|
|
283
|
+
case "duet-icon":
|
|
284
|
+
if (!customElements.get(tagName)) {
|
|
285
|
+
defineCustomElement$3();
|
|
286
|
+
}
|
|
287
|
+
break;
|
|
288
|
+
case "duet-spinner":
|
|
289
|
+
if (!customElements.get(tagName)) {
|
|
290
|
+
defineCustomElement$2();
|
|
291
|
+
}
|
|
292
|
+
break;
|
|
293
|
+
case "duet-visually-hidden":
|
|
294
|
+
if (!customElements.get(tagName)) {
|
|
295
|
+
defineCustomElement$1();
|
|
296
|
+
}
|
|
297
|
+
break;
|
|
298
|
+
} });
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export { DuetButton as D, defineCustomElement as d };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
|
|
5
5
|
|
|
6
6
|
const duetListItemCss = "*,*::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;flex-direction:column;display:flex;width:100%;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77)}:host dt{padding-bottom:4px}:host dd{padding-top:0}:host dt,:host dd{flex-basis:100%}:host dt,:host dd{width:100%;margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}:host dt{font-weight:600}.duet-theme-turva :host dt{font-weight:700}:host dd{margin-left:auto}:host(.duet-list-striped) dt,:host(.duet-list-striped) dd{padding:16px}:host(.duet-list-striped) dt{padding-bottom:4px}:host(.duet-list-striped) dd{padding-top:0}:host(.duet-list-striped.duet-no-stacking) dt,:host(.duet-list-striped.duet-no-stacking) dd{padding:16px}:host(:not(.duet-list-striped)) dt,:host(:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(:not(.duet-list-striped)) dt{padding-bottom:4px}:host(:not(.duet-list-striped)) dd{padding-top:0}:host(:not(.duet-list-striped).duet-no-stacking) dt,:host(:not(.duet-list-striped).duet-no-stacking) dd{padding:8px;padding-inline:0}:host(.duet-p-0) dt,:host(.duet-p-0) dd{padding:0 !important}:host(.duet-list-mobile-center) dt,:host(.duet-list-mobile-center) dd{text-align:center}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-list-striped:nth-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:rgb(245, 245, 247)}:host(.duet-list-bordered){border-block-start:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(228, 228, 230)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-no-stacking){flex-direction:row}:host(.duet-list-mobile-center.duet-no-stacking) dt,:host(.duet-list-mobile-center.duet-no-stacking) dd{text-align:left}:host(.duet-no-stacking.duet-list-width-30) dt{flex-basis:33%}:host(.duet-no-stacking.duet-list-width-30) dd{flex-basis:67%}:host(.duet-no-stacking.duet-list-width-50) dt{flex-basis:47%}:host(.duet-no-stacking.duet-list-width-50) dd{flex-basis:53%}:host(.duet-no-stacking.duet-list-width-70) dt{flex-basis:65%}:host(.duet-no-stacking.duet-list-width-70) dd{flex-basis:35%}:host(.duet-list-item-breakpoint-x-small){flex-direction:row}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd{flex-basis:35%}@media (max-width: 22.5em){:host(.duet-list-item-breakpoint-x-small){flex-direction:column}:host(.duet-list-item-breakpoint-x-small) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd{text-align:center}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd{flex-basis:100%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd{flex-basis:100%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd{flex-basis:100%}}@media (min-width: 36em){:host(.duet-list-item-breakpoint-small){flex-direction:row}:host(.duet-list-item-breakpoint-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-small.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-small.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-small.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-small.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-small.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-small.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 48em){:host(.duet-list-item-breakpoint-medium){flex-direction:row}:host(.duet-list-item-breakpoint-medium.duet-list-striped) dt,:host(.duet-list-item-breakpoint-medium.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-medium.duet-p-0) dt,:host(.duet-list-item-breakpoint-medium.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 62em){:host(.duet-list-item-breakpoint-large){flex-direction:row}:host(.duet-list-item-breakpoint-large.duet-list-striped) dt,:host(.duet-list-item-breakpoint-large.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-large.duet-p-0) dt,:host(.duet-list-item-breakpoint-large.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-large.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-large.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-large.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-large.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-large.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-large.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 64.0625em){:host(.duet-list-item-breakpoint-x-large){flex-direction:row}:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-large.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-large.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dd{flex-basis:35%}}";
|
|
7
7
|
|