@duetds/components 9.2.4 → 9.2.6
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 +156 -94
- package/lib/cjs/{app-globals-452e6cb2.js → app-globals-78dc4702.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +50 -40
- package/lib/cjs/duet-callout.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +19 -10
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip_3.cjs.entry.js +28 -16
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +31 -18
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +8 -8
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- 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 +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +12 -6
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
- 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 +2 -2
- 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 +6 -6
- package/lib/cjs/duet-slideout.cjs.entry.js +27 -18
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-fa1119ad.js → errorcodes.utils-e044ec9a.js} +1 -1
- package/lib/cjs/{focus-utils-deb8c93f.js → focus-utils-a25e1b26.js} +1 -1
- package/lib/cjs/{index-d9b6d20e.js → index-efe7ea48.js} +2 -2
- package/lib/cjs/{language-utils-dbe5d8aa.js → language-utils-041b3463.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-39adb320.js → slot-utils-c1e99a43.js} +1 -1
- package/lib/cjs/{token-utils-453a4e75.js → token-utils-12717808.js} +1 -1
- package/lib/cjs/{tokens.module-fcba867f.js → tokens.module-46ddb47a.js} +1 -0
- package/lib/collection/components/duet-button/duet-button.js +65 -45
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +23 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +31 -16
- package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +6 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
- package/lib/collection/components/duet-link/duet-link.css +89 -24
- package/lib/collection/components/duet-link/duet-link.js +15 -6
- package/lib/collection/components/duet-notification/duet-notification.css +4 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +9 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +4 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +41 -10
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +47 -12
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +7 -5
- package/lib/dist-custom-elements/duet-combobox.js +44 -30
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +17 -17
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -7
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +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 +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +20 -14
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- 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 +27 -17
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +4 -4
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +19 -19
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-3b812ded.js → p-02e8f591.js} +6 -6
- package/lib/dist-custom-elements/{p-c87df135.js → p-16c8b661.js} +1 -1
- package/lib/dist-custom-elements/{p-7ead8f48.js → p-247254f4.js} +1 -1
- package/lib/dist-custom-elements/{p-69c07319.js → p-3100da6e.js} +3 -3
- package/lib/dist-custom-elements/{p-18b56e3d.js → p-324773e2.js} +1 -1
- package/lib/dist-custom-elements/{p-e7733e82.js → p-326e709b.js} +8 -8
- package/lib/dist-custom-elements/{p-0875d52d.js → p-44576862.js} +2 -2
- package/lib/dist-custom-elements/{p-0e77715d.js → p-4c179c1e.js} +1 -1
- package/lib/dist-custom-elements/{p-7e2739b2.js → p-5096f482.js} +2 -2
- package/lib/dist-custom-elements/{p-c9787e5e.js → p-561b46f4.js} +3 -3
- package/lib/dist-custom-elements/{p-cd6d3c5d.js → p-583817e7.js} +1 -1
- package/lib/dist-custom-elements/{p-905ec46b.js → p-58f4ac3e.js} +52 -46
- package/lib/dist-custom-elements/{p-cd3e7d26.js → p-5b74ff74.js} +4 -4
- package/lib/dist-custom-elements/{p-1cd26b78.js → p-5d5b0bf3.js} +1 -1
- package/lib/dist-custom-elements/{p-6ecce492.js → p-60125797.js} +1 -1
- package/lib/dist-custom-elements/{p-8b3f67c1.js → p-64ab1e7f.js} +1 -1
- package/lib/dist-custom-elements/{p-d53e4d53.js → p-6fcd56d1.js} +2 -2
- package/lib/dist-custom-elements/{p-ed73a017.js → p-79508a54.js} +2 -2
- package/lib/dist-custom-elements/{p-54fcbd1e.js → p-839fb8d6.js} +25 -12
- package/lib/dist-custom-elements/{p-34992550.js → p-8636a95c.js} +2 -2
- package/lib/dist-custom-elements/{p-b2e2b6dc.js → p-8778bcdf.js} +4 -4
- package/lib/dist-custom-elements/{p-9fa78368.js → p-88ed3495.js} +1 -1
- package/lib/dist-custom-elements/{p-c7c1a1b2.js → p-a9d05a98.js} +1 -1
- package/lib/dist-custom-elements/{p-8da7bd75.js → p-ab0d3de7.js} +5 -5
- package/lib/dist-custom-elements/{p-91c13425.js → p-ab4a29e9.js} +2 -2
- package/lib/dist-custom-elements/{p-e9a7ac8f.js → p-b597eea5.js} +1 -1
- package/lib/dist-custom-elements/{p-9fe78f80.js → p-bfa56fd6.js} +5 -5
- package/lib/dist-custom-elements/{p-d2417cc3.js → p-c14e6ca4.js} +10 -10
- package/lib/dist-custom-elements/{p-ed15e4de.js → p-c92b6a37.js} +18 -9
- package/lib/dist-custom-elements/{p-01dc62e0.js → p-c9b46160.js} +2 -2
- package/lib/dist-custom-elements/{p-87457587.js → p-d44fe5d0.js} +10 -10
- package/lib/dist-custom-elements/{p-152ae732.js → p-d71e24a5.js} +2 -2
- package/lib/dist-custom-elements/{p-a847fd5c.js → p-d84ba8f5.js} +2 -2
- package/lib/dist-custom-elements/{p-18790b2b.js → p-d84f6aae.js} +2 -2
- package/lib/dist-custom-elements/{p-e74a12bb.js → p-da3148b6.js} +2 -2
- package/lib/dist-custom-elements/{p-9b7883f9.js → p-db58dd65.js} +1 -1
- package/lib/dist-custom-elements/{p-e1dea5ff.js → p-dbc0966a.js} +2 -2
- package/lib/dist-custom-elements/{p-6142f327.js → p-ddaf17a4.js} +2 -2
- package/lib/dist-custom-elements/{p-4adfb795.js → p-e1289f43.js} +1 -1
- package/lib/dist-custom-elements/{p-89343aa8.js → p-ec438ba9.js} +2 -2
- package/lib/dist-custom-elements/{p-dfac3130.js → p-f6926397.js} +5 -5
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-6f2ad6b4.system.entry.js → p-008e68b4.system.entry.js} +1 -1
- package/lib/duet/{p-1c426c1d.entry.js → p-03b72e84.entry.js} +1 -1
- package/lib/duet/{p-8270417c.system.entry.js → p-08b2f3dd.system.entry.js} +1 -1
- package/lib/duet/p-08eb8156.entry.js +4 -0
- package/lib/duet/{p-fbbfa934.entry.js → p-092ce0f1.entry.js} +1 -1
- package/lib/duet/{p-60bf0c2e.entry.js → p-0991986c.entry.js} +1 -1
- package/lib/duet/p-0a42e97a.system.entry.js +4 -0
- package/lib/duet/{p-acb9e573.system.entry.js → p-0adec9cf.system.entry.js} +1 -1
- package/lib/duet/{p-210280af.entry.js → p-0b2b9fa2.entry.js} +1 -1
- package/lib/duet/{p-db2186c9.entry.js → p-0ebc6e34.entry.js} +1 -1
- package/lib/duet/p-1004af75.js +4 -0
- package/lib/duet/{p-3d9a63aa.js → p-10c530d1.js} +1 -1
- package/lib/duet/{p-87ed537a.entry.js → p-11fb9dc4.entry.js} +1 -1
- package/lib/duet/{p-45271738.entry.js → p-18d7d777.entry.js} +1 -1
- package/lib/duet/{p-8d76cbf3.system.entry.js → p-1b538c45.system.entry.js} +1 -1
- package/lib/duet/{p-7549ad4b.entry.js → p-1d1addfe.entry.js} +1 -1
- package/lib/duet/{p-9f714fa0.system.entry.js → p-1e3d71f9.system.entry.js} +1 -1
- package/lib/duet/{p-60b0947c.entry.js → p-1eb3f237.entry.js} +1 -1
- package/lib/duet/{p-c0bbcfcc.system.entry.js → p-1fa48eac.system.entry.js} +1 -1
- package/lib/duet/{p-a5849a0b.entry.js → p-200ce847.entry.js} +1 -1
- package/lib/duet/{p-1d4135ca.system.entry.js → p-20645770.system.entry.js} +1 -1
- package/lib/duet/{p-6e73f832.system.entry.js → p-207ea7e9.system.entry.js} +1 -1
- package/lib/duet/{p-e319cf5e.system.entry.js → p-23aa27b2.system.entry.js} +1 -1
- package/lib/duet/{p-986a7b1e.system.entry.js → p-266639f9.system.entry.js} +1 -1
- package/lib/duet/{p-391ef0db.entry.js → p-27480faf.entry.js} +1 -1
- package/lib/duet/{p-639fa1be.entry.js → p-29d9ff1e.entry.js} +1 -1
- package/lib/duet/{p-4f6ac285.system.entry.js → p-2aaf03e1.system.entry.js} +1 -1
- package/lib/duet/{p-05b48f49.entry.js → p-2c65fead.entry.js} +1 -1
- package/lib/duet/{p-11c1e43d.system.entry.js → p-2e78b185.system.entry.js} +1 -1
- package/lib/duet/{p-6db9af7a.system.entry.js → p-30598218.system.entry.js} +2 -2
- package/lib/duet/{p-11fcafeb.entry.js → p-377315e2.entry.js} +1 -1
- package/lib/duet/{p-3cf012fb.entry.js → p-3a8d65e6.entry.js} +1 -1
- package/lib/duet/{p-d1e2c9cf.system.entry.js → p-3ac94cc4.system.entry.js} +1 -1
- package/lib/duet/p-3f3bcada.entry.js +4 -0
- package/lib/duet/{p-544cdd2f.system.entry.js → p-421f851f.system.entry.js} +1 -1
- package/lib/duet/{p-9f1da60b.system.entry.js → p-42778d18.system.entry.js} +1 -1
- package/lib/duet/{p-7446f33f.entry.js → p-44156252.entry.js} +1 -1
- package/lib/duet/{p-75f73c8c.entry.js → p-45bb56a8.entry.js} +1 -1
- package/lib/duet/{p-a61c6e59.system.entry.js → p-476b2cf2.system.entry.js} +1 -1
- package/lib/duet/{p-3113b50e.system.entry.js → p-49ca595b.system.entry.js} +1 -1
- package/lib/duet/p-4b961592.entry.js +4 -0
- package/lib/duet/{p-6896514c.system.entry.js → p-4c2d2ce0.system.entry.js} +1 -1
- package/lib/duet/p-4d8ebbe4.entry.js +4 -0
- package/lib/duet/{p-974f67c1.system.entry.js → p-4ec14860.system.entry.js} +1 -1
- package/lib/duet/{p-bf0a3ef8.entry.js → p-4efe4a6c.entry.js} +1 -1
- package/lib/duet/{p-40bc0b7d.system.entry.js → p-50260da1.system.entry.js} +1 -1
- package/lib/duet/{p-0650bad8.entry.js → p-50ac9df8.entry.js} +1 -1
- package/lib/duet/{p-1373db77.js → p-520ac4b7.js} +1 -1
- package/lib/duet/{p-abba7304.entry.js → p-521d978e.entry.js} +1 -1
- package/lib/duet/{p-9cd03739.system.entry.js → p-5298f539.system.entry.js} +1 -1
- package/lib/duet/p-539938fb.js +4 -0
- package/lib/duet/{p-71e50550.system.entry.js → p-53dee3c7.system.entry.js} +1 -1
- package/lib/duet/{p-f41951bb.entry.js → p-572652e8.entry.js} +1 -1
- package/lib/duet/{p-d5dd6d15.system.entry.js → p-58c73080.system.entry.js} +1 -1
- package/lib/duet/{p-080a4eb6.system.entry.js → p-59f7aa7f.system.entry.js} +1 -1
- package/lib/duet/{p-cd4d12b0.entry.js → p-5ae47d2b.entry.js} +1 -1
- package/lib/duet/{p-2f1dcd53.system.entry.js → p-5c1467cf.system.entry.js} +1 -1
- package/lib/duet/{p-26008ae7.system.entry.js → p-5d3ba53d.system.entry.js} +1 -1
- package/lib/duet/{p-c0881fa6.system.entry.js → p-5d5f4146.system.entry.js} +1 -1
- package/lib/duet/{p-a5c7e697.system.js → p-5d89c45e.system.js} +1 -1
- package/lib/duet/p-60a0cb7f.system.js +4 -0
- package/lib/duet/p-615a6764.system.js +4 -0
- package/lib/duet/{p-b228a3c3.system.entry.js → p-6181c1f5.system.entry.js} +1 -1
- package/lib/duet/{p-eb20c18e.system.entry.js → p-626efe62.system.entry.js} +1 -1
- package/lib/duet/p-63c5fd6b.entry.js +4 -0
- package/lib/duet/p-63fd1f1b.entry.js +4 -0
- package/lib/duet/{p-69a80411.system.entry.js → p-64027802.system.entry.js} +1 -1
- package/lib/duet/{p-f383657a.entry.js → p-6428de74.entry.js} +1 -1
- package/lib/duet/{p-2b5456e2.system.entry.js → p-65de8d51.system.entry.js} +1 -1
- package/lib/duet/{p-3fc43d94.entry.js → p-6b3a8a12.entry.js} +1 -1
- package/lib/duet/{p-1e94efe3.entry.js → p-6bd8fb57.entry.js} +1 -1
- package/lib/duet/{p-c6d82f55.system.entry.js → p-6bfc098e.system.entry.js} +1 -1
- package/lib/duet/{p-c223e6b4.entry.js → p-6decccda.entry.js} +1 -1
- package/lib/duet/{p-a600718b.entry.js → p-6f21adbf.entry.js} +1 -1
- package/lib/duet/{p-6f3b0043.entry.js → p-6f66ba45.entry.js} +1 -1
- package/lib/duet/p-73c4bdf7.js +4 -0
- package/lib/duet/p-73e0f5cf.system.entry.js +4 -0
- package/lib/duet/{p-8727f234.entry.js → p-7478fc5e.entry.js} +1 -1
- package/lib/duet/{p-1174088c.system.entry.js → p-749267a3.system.entry.js} +1 -1
- package/lib/duet/{p-1458593e.entry.js → p-7956df66.entry.js} +1 -1
- package/lib/duet/{p-3afc91eb.system.entry.js → p-79ccf9ad.system.entry.js} +1 -1
- package/lib/duet/{p-caec0ae0.system.entry.js → p-79f305ba.system.entry.js} +1 -1
- package/lib/duet/{p-bb8a20ce.entry.js → p-7d0fcdcd.entry.js} +1 -1
- package/lib/duet/{p-d25a005e.system.entry.js → p-7ec5ee46.system.entry.js} +1 -1
- package/lib/duet/{p-c3b30540.entry.js → p-7f93593e.entry.js} +1 -1
- package/lib/duet/{p-80878906.system.entry.js → p-7fadfb31.system.entry.js} +1 -1
- package/lib/duet/{p-c328ff56.system.entry.js → p-818bb33d.system.entry.js} +1 -1
- package/lib/duet/{p-75bd16ec.system.entry.js → p-83dabfc5.system.entry.js} +1 -1
- package/lib/duet/p-849ffaec.system.entry.js +4 -0
- package/lib/duet/p-854808cd.entry.js +4 -0
- package/lib/duet/{p-c106a592.entry.js → p-86a3bc38.entry.js} +1 -1
- package/lib/duet/{p-5f75e4a2.entry.js → p-8a9fe70c.entry.js} +1 -1
- package/lib/duet/{p-81d6c23b.entry.js → p-8b5976ca.entry.js} +1 -1
- package/lib/duet/{p-83241e2a.system.entry.js → p-8d051bf2.system.entry.js} +1 -1
- package/lib/duet/{p-bd05c841.system.entry.js → p-8d6dcdb1.system.entry.js} +1 -1
- package/lib/duet/{p-7685d441.system.entry.js → p-8ef9cba1.system.entry.js} +1 -1
- package/lib/duet/{p-2bf89772.system.entry.js → p-914a0898.system.entry.js} +1 -1
- package/lib/duet/p-93ce45ce.system.entry.js +4 -0
- package/lib/duet/{p-744bd7cf.entry.js → p-9432f9ec.entry.js} +1 -1
- package/lib/duet/p-94c63013.system.js +4 -0
- package/lib/duet/{p-6012e82f.entry.js → p-96714a74.entry.js} +1 -1
- package/lib/duet/{p-98a29d5f.system.entry.js → p-9675e1d5.system.entry.js} +1 -1
- package/lib/duet/{p-73462771.system.entry.js → p-9aee8a81.system.entry.js} +1 -1
- package/lib/duet/{p-e8de57d3.system.entry.js → p-9b90f38e.system.entry.js} +1 -1
- package/lib/duet/{p-5810ba83.system.entry.js → p-a0b111e3.system.entry.js} +1 -1
- package/lib/duet/{p-0587ebcf.entry.js → p-a1c780b5.entry.js} +1 -1
- package/lib/duet/{p-a8b7091a.entry.js → p-a29e4976.entry.js} +1 -1
- package/lib/duet/{p-5395ddc8.entry.js → p-a4164a2d.entry.js} +1 -1
- package/lib/duet/{p-e77ac510.entry.js → p-a54ec315.entry.js} +1 -1
- package/lib/duet/p-a60f3669.system.entry.js +4 -0
- package/lib/duet/{p-431d59a3.system.entry.js → p-a7d46fef.system.entry.js} +1 -1
- package/lib/duet/{p-088fce9c.entry.js → p-a81baadd.entry.js} +1 -1
- package/lib/duet/{p-6e3906df.entry.js → p-a987ab9d.entry.js} +1 -1
- package/lib/duet/{p-39e9e000.system.entry.js → p-af35e151.system.entry.js} +1 -1
- package/lib/duet/{p-cf4e7590.entry.js → p-b038b80c.entry.js} +1 -1
- package/lib/duet/{p-1ae31ca3.system.entry.js → p-b37f9402.system.entry.js} +1 -1
- package/lib/duet/{p-8f15eb9c.system.entry.js → p-b3a2ecfc.system.entry.js} +1 -1
- package/lib/duet/p-b4e05d38.entry.js +4 -0
- package/lib/duet/p-b575bed5.entry.js +4 -0
- package/lib/duet/{p-8b0de573.system.entry.js → p-b75f0c5b.system.entry.js} +1 -1
- package/lib/duet/{p-48ca823e.system.entry.js → p-b7996eff.system.entry.js} +1 -1
- package/lib/duet/{p-4a44d6b5.system.entry.js → p-b7a606a0.system.entry.js} +1 -1
- package/lib/duet/{p-3a006e78.system.entry.js → p-b84965cf.system.entry.js} +1 -1
- package/lib/duet/{p-58088232.entry.js → p-b9f092f2.entry.js} +1 -1
- package/lib/duet/{p-67ee9418.entry.js → p-bae3eb9c.entry.js} +1 -1
- package/lib/duet/{p-d7f565bd.system.entry.js → p-be815d6f.system.entry.js} +1 -1
- package/lib/duet/{p-11868ab7.entry.js → p-bf804ab7.entry.js} +1 -1
- package/lib/duet/{p-dc2586c4.entry.js → p-c152f45c.entry.js} +1 -1
- package/lib/duet/{p-12563d2c.system.entry.js → p-c1b9e00b.system.entry.js} +1 -1
- package/lib/duet/{p-81da236f.entry.js → p-c2626d64.entry.js} +1 -1
- package/lib/duet/{p-a7b23ef5.system.entry.js → p-c41b616b.system.entry.js} +1 -1
- package/lib/duet/{p-899541f6.system.entry.js → p-c42ba43f.system.entry.js} +1 -1
- package/lib/duet/p-c54aec23.entry.js +4 -0
- package/lib/duet/{p-c4e7b543.system.entry.js → p-c9fbbebc.system.entry.js} +1 -1
- package/lib/duet/{p-6e2a6ba2.system.entry.js → p-cb0513ed.system.entry.js} +1 -1
- package/lib/duet/{p-d5e0b809.entry.js → p-cb26eeef.entry.js} +1 -1
- package/lib/duet/{p-20de631c.system.entry.js → p-cb39f212.system.entry.js} +1 -1
- package/lib/duet/{p-23fb1498.entry.js → p-cb840c6d.entry.js} +1 -1
- package/lib/duet/{p-6a95a2e3.system.js → p-cbbf6d6a.system.js} +1 -1
- package/lib/duet/{p-eb01ad49.system.entry.js → p-cbcfcf2f.system.entry.js} +1 -1
- package/lib/duet/{p-b3db918f.system.js → p-ce9ccf2d.system.js} +1 -1
- package/lib/duet/{p-0dc6b624.entry.js → p-cf99e1f3.entry.js} +1 -1
- package/lib/duet/{p-4089860d.entry.js → p-d183f34f.entry.js} +1 -1
- package/lib/duet/{p-9142977a.system.entry.js → p-d4756796.system.entry.js} +1 -1
- package/lib/duet/{p-968b499b.system.entry.js → p-d4de8d9f.system.entry.js} +1 -1
- package/lib/duet/{p-d5515fac.entry.js → p-d53821a2.entry.js} +1 -1
- package/lib/duet/{p-0b378a70.entry.js → p-d7c2f4d7.entry.js} +1 -1
- package/lib/duet/{p-b7bf4009.entry.js → p-d8097437.entry.js} +1 -1
- package/lib/duet/{p-74dfe55a.system.entry.js → p-db17c060.system.entry.js} +1 -1
- package/lib/duet/{p-5454ec0d.entry.js → p-dbcafad8.entry.js} +1 -1
- package/lib/duet/{p-c8dbbdb3.entry.js → p-dd3427ef.entry.js} +1 -1
- package/lib/duet/{p-cf909acf.entry.js → p-de0a78f9.entry.js} +1 -1
- package/lib/duet/{p-d7a3e71f.entry.js → p-e10e1117.entry.js} +1 -1
- package/lib/duet/{p-5477fad9.entry.js → p-e1e65613.entry.js} +1 -1
- package/lib/duet/{p-e84bace7.system.entry.js → p-e32ff504.system.entry.js} +1 -1
- package/lib/duet/{p-f3826346.entry.js → p-e3d448c5.entry.js} +1 -1
- package/lib/duet/{p-f0045080.entry.js → p-e3e5f427.entry.js} +1 -1
- package/lib/duet/{p-983cfc54.entry.js → p-e44f1b3a.entry.js} +1 -1
- package/lib/duet/{p-b7356342.system.entry.js → p-e53164d0.system.entry.js} +2 -2
- package/lib/duet/p-e7c62f85.js +4 -0
- package/lib/duet/{p-178bcd12.entry.js → p-e7e3b445.entry.js} +1 -1
- package/lib/duet/{p-ed4f4aad.system.entry.js → p-e87b84f3.system.entry.js} +1 -1
- package/lib/duet/{p-3015a884.system.js → p-e88c356e.system.js} +1 -1
- package/lib/duet/{p-5af61a5f.entry.js → p-ea386f3b.entry.js} +1 -1
- package/lib/duet/{p-bd983df7.system.entry.js → p-eb5844f6.system.entry.js} +1 -1
- package/lib/duet/{p-7b8ac676.system.entry.js → p-ef65048c.system.entry.js} +1 -1
- package/lib/duet/{p-94eab61e.system.js → p-ef731dfb.system.js} +1 -1
- package/lib/duet/{p-eb1a935b.js → p-f1e02e7b.js} +1 -1
- package/lib/duet/{p-4a043858.entry.js → p-f35b246d.entry.js} +1 -1
- package/lib/duet/p-f3e84569.js +5 -0
- package/lib/duet/{p-0d304014.system.entry.js → p-f4be3ed1.system.entry.js} +1 -1
- package/lib/duet/p-f4c1b623.system.js +5 -0
- package/lib/duet/p-f5546613.entry.js +4 -0
- package/lib/duet/{p-b16949ab.entry.js → p-f6e819df.entry.js} +1 -1
- package/lib/duet/{p-3bbea70e.system.entry.js → p-fcc9506a.system.entry.js} +1 -1
- package/lib/esm/{app-globals-69cf92e7.js → app-globals-60b4029b.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +50 -40
- package/lib/esm/duet-callout.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +19 -10
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip_3.entry.js +28 -16
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +6 -5
- package/lib/esm/duet-combobox.entry.js +31 -18
- package/lib/esm/duet-contact-card.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +8 -8
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +5 -5
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- 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 +3 -3
- package/lib/esm/duet-number-input.entry.js +12 -6
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +5 -5
- 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 +2 -2
- 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 +6 -6
- package/lib/esm/duet-slideout.entry.js +27 -18
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-item.entry.js +2 -2
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +3 -3
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-6d8b4e99.js → errorcodes.utils-b639fe8c.js} +1 -1
- package/lib/esm/{focus-utils-32a6966b.js → focus-utils-fad21cfb.js} +1 -1
- package/lib/esm/{index-fd030e61.js → index-4160b620.js} +2 -2
- package/lib/esm/{language-utils-58773b88.js → language-utils-afb0d677.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-b0edb3d8.js → slot-utils-fdd6c75c.js} +1 -1
- package/lib/esm/{token-utils-3c2fb643.js → token-utils-a32eb753.js} +1 -1
- package/lib/esm/{tokens.module-216c2ae9.js → tokens.module-a746651a.js} +1 -1
- package/lib/esm-es5/{app-globals-69cf92e7.js → app-globals-60b4029b.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-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-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-6d8b4e99.js → errorcodes.utils-b639fe8c.js} +1 -1
- package/lib/esm-es5/focus-utils-fad21cfb.js +4 -0
- package/lib/esm-es5/index-4160b620.js +5 -0
- package/lib/esm-es5/{language-utils-58773b88.js → language-utils-afb0d677.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-b0edb3d8.js → slot-utils-fdd6c75c.js} +1 -1
- package/lib/esm-es5/{token-utils-3c2fb643.js → token-utils-a32eb753.js} +1 -1
- package/lib/esm-es5/{tokens.module-216c2ae9.js → tokens.module-a746651a.js} +1 -1
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-button/duet-button.d.ts +6 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
- package/lib/types/components/duet-link/duet-link.d.ts +1 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +5 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +5 -1
- package/lib/types/components.d.ts +32 -0
- package/package.json +4 -4
- package/lib/duet/p-019b2e71.entry.js +0 -4
- package/lib/duet/p-103ca5a4.system.entry.js +0 -4
- package/lib/duet/p-11c247e4.system.entry.js +0 -4
- package/lib/duet/p-1a0f2b4f.entry.js +0 -4
- package/lib/duet/p-29280b69.system.js +0 -4
- package/lib/duet/p-3e99f641.entry.js +0 -4
- package/lib/duet/p-4cb1e4cb.js +0 -5
- package/lib/duet/p-4cd53729.entry.js +0 -4
- package/lib/duet/p-50b6a535.entry.js +0 -4
- package/lib/duet/p-54029779.js +0 -4
- package/lib/duet/p-5901fd99.js +0 -4
- package/lib/duet/p-71a4f317.js +0 -4
- package/lib/duet/p-71a7b2a4.system.entry.js +0 -4
- package/lib/duet/p-71eaba09.system.entry.js +0 -4
- package/lib/duet/p-7592ae1c.entry.js +0 -4
- package/lib/duet/p-76268cc3.entry.js +0 -4
- package/lib/duet/p-77103998.entry.js +0 -4
- package/lib/duet/p-83466781.entry.js +0 -4
- package/lib/duet/p-8b3b5673.js +0 -4
- package/lib/duet/p-9c371796.entry.js +0 -4
- package/lib/duet/p-ae0a58ae.entry.js +0 -4
- package/lib/duet/p-b4485a1c.system.js +0 -4
- package/lib/duet/p-c87a4d77.system.js +0 -4
- package/lib/duet/p-cbde8507.system.js +0 -5
- package/lib/duet/p-d82677e9.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-32a6966b.js +0 -4
- package/lib/esm-es5/index-fd030e61.js +0 -5
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { s as sanitizeString } from './string-utils-192eb3c8.js';
|
|
7
|
-
import { g as getColorByName, a as breakpointToToken } from './token-utils-
|
|
7
|
+
import { g as getColorByName, a as breakpointToToken } from './token-utils-a32eb753.js';
|
|
8
8
|
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
9
9
|
import { D as DuetStringsExternalDefaults, c as DuetStringsDownloadLinkDefaults } from './common-strings-af765cad.js';
|
|
10
10
|
import { g as getAccessibleLinkLabel } from './a11y-utils-92930863.js';
|
|
11
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
11
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-afb0d677.js';
|
|
12
12
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
13
|
-
import './tokens.module-
|
|
13
|
+
import './tokens.module-a746651a.js';
|
|
14
14
|
|
|
15
15
|
const duetCaptionCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}: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(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}";
|
|
16
16
|
const DuetCaptionStyle0 = duetCaptionCss;
|
|
@@ -98,7 +98,7 @@ var actionDownloadSmall={"title":"action-download-small","tags":"action download
|
|
|
98
98
|
|
|
99
99
|
var actionNewWindow={"title":"action-new-window","tags":"arrow open new window tab external link square box rectangle action","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z\"/></svg>"};
|
|
100
100
|
|
|
101
|
-
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button),.duet-link-is-download.duet-link:not(.block,.button){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*{flex-shrink:0}.duet-link.button .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button{min-height:50px}.duet-link.button.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}";
|
|
101
|
+
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
102
102
|
const DuetLinkStyle0 = duetLinkCss;
|
|
103
103
|
|
|
104
104
|
const DuetLink = class {
|
|
@@ -162,6 +162,7 @@ const DuetLink = class {
|
|
|
162
162
|
this.mediaQuerySmall = window.matchMedia(breakpointToToken["xx-small"]);
|
|
163
163
|
this.mediaQueryMedium = window.matchMedia(breakpointToToken["medium"]);
|
|
164
164
|
this.isSmallScreen = this.mediaQuerySmall.matches;
|
|
165
|
+
this.isMediumScreen = this.mediaQueryMedium.matches;
|
|
165
166
|
this.mediaQuerySmall.addEventListener("change", this.screenTestBound);
|
|
166
167
|
this.mediaQueryMedium.addEventListener("change", this.screenTestBound);
|
|
167
168
|
}
|
|
@@ -175,6 +176,7 @@ const DuetLink = class {
|
|
|
175
176
|
}
|
|
176
177
|
screenTest(event) {
|
|
177
178
|
this.isSmallScreen = event.matches;
|
|
179
|
+
this.isMediumScreen = event.matches;
|
|
178
180
|
}
|
|
179
181
|
resolveDownload() {
|
|
180
182
|
if (this.download === "") {
|
|
@@ -190,11 +192,17 @@ const DuetLink = class {
|
|
|
190
192
|
renderBlockContent() {
|
|
191
193
|
return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", { size: this.iconResponsive ? (this.isSmallScreen ? "medium" : "large") : "x-small", name: this.icon, margin: "none", color: this.iconColor }))), h("span", { class: "block__content" }, this.renderDefaultContent()), h("span", { class: "block__chevron", part: "block-chevron" }, h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
192
194
|
}
|
|
193
|
-
|
|
195
|
+
renderButtonCardContent() {
|
|
194
196
|
const iconWrapStyle = {
|
|
195
197
|
"background-color": getColorByName(this.iconBackground, this.theme),
|
|
196
198
|
};
|
|
197
|
-
|
|
199
|
+
const iconSize = () => {
|
|
200
|
+
if (this.variation === "button") {
|
|
201
|
+
return this.iconBackground && this.isMediumScreen ? "medium" : "small";
|
|
202
|
+
}
|
|
203
|
+
return this.isMediumScreen ? "large" : "medium";
|
|
204
|
+
};
|
|
205
|
+
return (h(Fragment, null, this.icon && (h("span", { class: "icon-wrap", style: iconWrapStyle }, h("duet-icon", { size: iconSize(), name: this.icon, margin: "none", color: this.iconColor }))), h("div", { class: "duet-link-content", part: "duet-link-content" }, h("slot", null)), h("span", { class: "chevron-wrap" }, h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
198
206
|
}
|
|
199
207
|
renderContent() {
|
|
200
208
|
switch (this.variation) {
|
|
@@ -203,7 +211,8 @@ const DuetLink = class {
|
|
|
203
211
|
case "block":
|
|
204
212
|
return this.renderBlockContent();
|
|
205
213
|
case "button":
|
|
206
|
-
|
|
214
|
+
case "card":
|
|
215
|
+
return this.renderButtonCardContent();
|
|
207
216
|
}
|
|
208
217
|
}
|
|
209
218
|
/**
|
|
@@ -213,10 +222,10 @@ const DuetLink = class {
|
|
|
213
222
|
render() {
|
|
214
223
|
const Tag = !this.url ? "button" : "a";
|
|
215
224
|
const isButton = Tag === "button";
|
|
216
|
-
return (h(Host, { key: '
|
|
225
|
+
return (h(Host, { key: '2025edd3774d559f0d6877498e0a806532fb310c', class: {
|
|
217
226
|
[`duet-link-${this.variation}`]: true,
|
|
218
227
|
"duet-m-0": this.margin === "none",
|
|
219
|
-
} }, h(Tag, { key: '
|
|
228
|
+
} }, h(Tag, { key: 'ee013e25058fdfe22cf04784e06162181b9ff5a2', href: this.url, class: {
|
|
220
229
|
"duet-link": true,
|
|
221
230
|
"duet-link-is-external": this.external,
|
|
222
231
|
"duet-link-is-download": !!this.download,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
8
8
|
import { s as sanitizeString } from './string-utils-192eb3c8.js';
|
|
9
|
-
import { g as getColorByName } from './token-utils-
|
|
10
|
-
import './tokens.module-
|
|
9
|
+
import { g as getColorByName } from './token-utils-a32eb753.js';
|
|
10
|
+
import './tokens.module-a746651a.js';
|
|
11
11
|
|
|
12
12
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
13
13
|
const duetBlock = "div";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
|
|
7
7
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange, f as isEscapeKey, c as isArrowDownKey, b as isArrowUpKey, o as isTabKey } from './keyboard-utils-439bcc8b.js';
|
|
8
|
-
import { g as getLocaleString } from './language-utils-
|
|
8
|
+
import { g as getLocaleString } from './language-utils-afb0d677.js';
|
|
9
|
+
import { q as spaceXSmall } from './tokens.module-a746651a.js';
|
|
9
10
|
import { o as offset, f as flip, s as shift, c as computePosition, b as autoUpdate } from './floating-ui.dom.esm-ebc91b33.js';
|
|
10
|
-
import { f as focusElement } from './focus-utils-
|
|
11
|
+
import { f as focusElement } from './focus-utils-fad21cfb.js';
|
|
11
12
|
import { T as Teleport } from './teleport-546f382d.js';
|
|
12
13
|
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
13
14
|
import './string-utils-192eb3c8.js';
|
|
@@ -324,7 +325,7 @@ const DuetChip = class {
|
|
|
324
325
|
};
|
|
325
326
|
DuetChip.style = DuetChipStyle0;
|
|
326
327
|
|
|
327
|
-
const duetPopupMenuCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";
|
|
328
|
+
const duetPopupMenuCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";
|
|
328
329
|
const DuetPopupMenuStyle0 = duetPopupMenuCss;
|
|
329
330
|
|
|
330
331
|
const DuetPopupMenu = class {
|
|
@@ -380,6 +381,7 @@ const DuetPopupMenu = class {
|
|
|
380
381
|
this.mainAxisOffset = 0;
|
|
381
382
|
this.crossAxisOffset = 0;
|
|
382
383
|
this.controllerIcon = "action-arrow-down-small";
|
|
384
|
+
this.scrollLimit = undefined;
|
|
383
385
|
}
|
|
384
386
|
/**
|
|
385
387
|
* Element, or id of an element, that controls the opening and closing of the popup menu. If id is given,
|
|
@@ -389,9 +391,10 @@ const DuetPopupMenu = class {
|
|
|
389
391
|
return this._controller;
|
|
390
392
|
}
|
|
391
393
|
set controller(value) {
|
|
392
|
-
if (this.
|
|
394
|
+
if (this._controller === value) {
|
|
393
395
|
return;
|
|
394
396
|
}
|
|
397
|
+
this._controller = value;
|
|
395
398
|
if (typeof value === "string") {
|
|
396
399
|
this.setOpenButton(document.getElementById(value));
|
|
397
400
|
if (this.openButton) {
|
|
@@ -448,7 +451,6 @@ const DuetPopupMenu = class {
|
|
|
448
451
|
if (this.open) {
|
|
449
452
|
// When Esc is pressed the menu should be closed
|
|
450
453
|
if (isEscapeKey(evt)) {
|
|
451
|
-
this.focusOpenButton();
|
|
452
454
|
this.hide();
|
|
453
455
|
}
|
|
454
456
|
}
|
|
@@ -556,7 +558,7 @@ const DuetPopupMenu = class {
|
|
|
556
558
|
}
|
|
557
559
|
setTimeout(() => {
|
|
558
560
|
if (this.accessibleRole === "menu") {
|
|
559
|
-
this.
|
|
561
|
+
focusElement(this.openButton);
|
|
560
562
|
}
|
|
561
563
|
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
562
564
|
if (this.accessibleRole !== "listbox") {
|
|
@@ -565,14 +567,18 @@ const DuetPopupMenu = class {
|
|
|
565
567
|
}, 200);
|
|
566
568
|
}
|
|
567
569
|
}
|
|
568
|
-
focusOpenButton() {
|
|
569
|
-
if (this.open) {
|
|
570
|
-
focusElement(this.openButton);
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
570
|
get itemElements() {
|
|
574
571
|
return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"));
|
|
575
572
|
}
|
|
573
|
+
get popupMenuStyleHeight() {
|
|
574
|
+
if (this.itemElements.length > 0 && this.scrollLimit) {
|
|
575
|
+
const paddings = Number(spaceXSmall.replace("px", "")) * 2;
|
|
576
|
+
return `${this.itemElements[0].offsetHeight * this.scrollLimit + paddings}px`;
|
|
577
|
+
}
|
|
578
|
+
else {
|
|
579
|
+
return "auto";
|
|
580
|
+
}
|
|
581
|
+
}
|
|
576
582
|
async getFocusedItemIndex() {
|
|
577
583
|
const items = this.itemElements;
|
|
578
584
|
for (let i = 0; i < items.length; i++) {
|
|
@@ -588,10 +594,16 @@ const DuetPopupMenu = class {
|
|
|
588
594
|
left: `${this.menuX}px`,
|
|
589
595
|
position: this.position,
|
|
590
596
|
overflowY: "auto",
|
|
597
|
+
height: this.popupMenuStyleHeight,
|
|
591
598
|
};
|
|
592
|
-
return (h(Host, { key: '
|
|
599
|
+
return (h(Host, { key: '4754c8522cdd93a4e90398840cb321821636b489' }, h("div", { key: '45ceb31093aa93bf21e61daed2c77c4ba816556f', ref: element => {
|
|
593
600
|
this.menuElement = element;
|
|
594
|
-
}, style: styles, class: {
|
|
601
|
+
}, style: styles, class: {
|
|
602
|
+
open: this.open,
|
|
603
|
+
"duet-popup-menu-list": true,
|
|
604
|
+
"duet-theme-turva": this.theme === "turva",
|
|
605
|
+
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
606
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, h("slot", { key: '88dde9607c352adc70eb6a27b5fab917585cef1e' }))));
|
|
595
607
|
}
|
|
596
608
|
get element() { return getElement(this); }
|
|
597
609
|
static get watchers() { return {
|
|
@@ -668,11 +680,11 @@ const DuetPopupMenuItem = class {
|
|
|
668
680
|
"duet-theme-turva": this.theme === "turva",
|
|
669
681
|
"active-descendant": this.activeDescendant,
|
|
670
682
|
};
|
|
671
|
-
return (h(Host, { key: '02e7a087e9f8df28e015c45b2182ab19167c39a2', role: this.accessibleRole }, h(TagName, { key: '
|
|
683
|
+
return (h(Host, { key: '02e7a087e9f8df28e015c45b2182ab19167c39a2', role: this.accessibleRole }, h(TagName, { key: 'ac6c8e523bb7dbd6ce78dfb8e5ba1a34c765f538', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: '003f72c807601366ce44ba41c92d01cc3867a995', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: '5936e48916d5c665070e490074e5310b52ad0cd9', class: "duet-popup-menu-item-label" }, h("slot", { key: '4f365167fa1ae20a9a26f91352791b8b94007088' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: '52e54059ac3b56ad022ed42085029a58b7010806', name: this.url && this.external
|
|
672
684
|
? actionNewWindowSmall.title
|
|
673
685
|
: this.active
|
|
674
686
|
? "messaging-checked-small"
|
|
675
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '
|
|
687
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '16fb5260a8d79c5b20bc7dcbb0d6fb078d41f0d5', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
676
688
|
}
|
|
677
689
|
get element() { return getElement(this); }
|
|
678
690
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './common-strings-af765cad.js';
|
|
7
7
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
8
8
|
import { i as isKeyboardClick, h as isQuestionKey, s as subscribeTabbingChange, u as unsubscribeTabbingChange, f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
9
|
-
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-
|
|
9
|
+
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-afb0d677.js';
|
|
10
|
+
import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-fdd6c75c.js';
|
|
11
11
|
import './string-utils-192eb3c8.js';
|
|
12
12
|
|
|
13
13
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4160b620.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './action-arrow-down-small-82273dc8.js';
|
|
6
6
|
import { f as font_size_medium, t as tokens } from './tokens-84fb2357.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
8
8
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
9
9
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
10
|
-
import { h as hasSlot } from './slot-utils-
|
|
10
|
+
import { h as hasSlot } from './slot-utils-fdd6c75c.js';
|
|
11
11
|
import { s as sanitizeString } from './string-utils-192eb3c8.js';
|
|
12
12
|
|
|
13
|
-
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top: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-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
|
|
13
|
+
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top: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-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}";
|
|
14
14
|
const DuetCollapsibleStyle0 = duetCollapsibleCss;
|
|
15
15
|
|
|
16
16
|
const DuetCollapsible = class {
|
|
@@ -65,6 +65,7 @@ const DuetCollapsible = class {
|
|
|
65
65
|
});
|
|
66
66
|
};
|
|
67
67
|
this.theme = "";
|
|
68
|
+
this.negative = false;
|
|
68
69
|
this.accessibleLabel = undefined;
|
|
69
70
|
this.heading = "";
|
|
70
71
|
this.headingFullWidth = false;
|
|
@@ -104,14 +105,14 @@ const DuetCollapsible = class {
|
|
|
104
105
|
*/
|
|
105
106
|
render() {
|
|
106
107
|
const HeadingTagName = this.headingLevel ? sanitizeString(this.headingLevel) : "div";
|
|
107
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: 'aff15bb7d7a183ad8717bd077ed5e692549479e2', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, h(HeadingTagName, { key: '8c8b350ac427399cf5e694ae5045b5d757b17324' }, h("button", { key: '16304aab427f0c1493c1d464a5959d0c063433f8', class: {
|
|
108
109
|
"duet-collapsible-heading": true,
|
|
109
110
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
110
111
|
"duet-theme-turva": this.theme === "turva",
|
|
111
112
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
112
113
|
"has-after-heading": this.hasAfterHeading,
|
|
113
114
|
"full-width": this.headingFullWidth,
|
|
114
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
115
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: 'e2943d02487fd97319e47030dba988b6e90ab8e8', class: "duet-collapsible-heading-icon" }, h("duet-icon", { key: '2e80461c2e5eb1d3cae6552ebdae873e6430a433', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { key: 'fdaecea0fa4dbb325e7bc460d5ca016ccf083111', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", { key: '3b1a1f5cd79b5cd31b1204ae9dd3db28601f8fa9', part: "duet-collapsible-after-heading" }, h("slot", { key: '2c8a5041e7264addf9840a3cecf6c7ebbddeb871', name: "after-heading" }))))), h("div", { key: '151b1f002a2745bf31ff97496f53b4a81c77b524', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", { key: '6b729485bb03d25d5529b23b4a2ce502d5a58a32' }))));
|
|
115
116
|
}
|
|
116
117
|
get element() { return getElement(this); }
|
|
117
118
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-
|
|
4
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { d as debounce } from './js-utils-9b9e0039.js';
|
|
8
8
|
import { j as isEnterKey, f as isEscapeKey, o as isTabKey, b as isArrowUpKey, c as isArrowDownKey } from './keyboard-utils-439bcc8b.js';
|
|
9
|
-
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { g as getElementsFromDefaultSlot } from './slot-utils-
|
|
9
|
+
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-afb0d677.js';
|
|
10
|
+
import { g as getElementsFromDefaultSlot } from './slot-utils-fdd6c75c.js';
|
|
11
11
|
import { r as regexEscape, p as parsePossibleJSON } from './string-utils-192eb3c8.js';
|
|
12
12
|
|
|
13
13
|
const DuetComboBoxSelect = ({ item, activeDescendant, selected, label = undefined, clickHandler = e => {
|
|
@@ -76,6 +76,7 @@ const DuetCombobox = class {
|
|
|
76
76
|
this.listOpen = String(newValue).length >= this.minCharacters && ((_a = this.getFilteredItems()) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
77
77
|
};
|
|
78
78
|
this.onKeyDown = (e) => {
|
|
79
|
+
var _a, _b, _c;
|
|
79
80
|
//if selection is made, close the list and update internal and external values
|
|
80
81
|
const listItems = this.returnFilteredOrNonFiltered();
|
|
81
82
|
const listItemsSuggestions = listItems.filter(i => !this.selectedItems.has(i.id));
|
|
@@ -84,7 +85,10 @@ const DuetCombobox = class {
|
|
|
84
85
|
this.input.accessibleActiveDescendant = undefined;
|
|
85
86
|
if (isEnterKey(e)) {
|
|
86
87
|
e.preventDefault();
|
|
87
|
-
if (this.listOpen &&
|
|
88
|
+
if (this.listOpen &&
|
|
89
|
+
this.activeItem !== undefined &&
|
|
90
|
+
listItems[this.activeItem] &&
|
|
91
|
+
!this.selectedItems.has(listItems[this.activeItem].id)) {
|
|
88
92
|
if (this.multiple) {
|
|
89
93
|
this.addSelectedItem(listItems[this.activeItem].id, true);
|
|
90
94
|
}
|
|
@@ -118,6 +122,9 @@ const DuetCombobox = class {
|
|
|
118
122
|
nextActiveItem = this.activeItem - 1;
|
|
119
123
|
}
|
|
120
124
|
else if (isArrowDownKey(e)) {
|
|
125
|
+
if (((_c = (_b = (_a = this.input) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0) < this.minCharacters) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
121
128
|
e.preventDefault();
|
|
122
129
|
nextActiveItem = this.listOpen ? this.activeItem + 1 : this.activeItem;
|
|
123
130
|
this.listOpen = true;
|
|
@@ -168,7 +175,7 @@ const DuetCombobox = class {
|
|
|
168
175
|
this.items = undefined;
|
|
169
176
|
this.formatter = (item) => item && item.name ? item.name : "";
|
|
170
177
|
this.value = undefined;
|
|
171
|
-
this.minCharacters =
|
|
178
|
+
this.minCharacters = 0;
|
|
172
179
|
this.openListOnClick = false;
|
|
173
180
|
this.filterType = "startsWith";
|
|
174
181
|
}
|
|
@@ -183,6 +190,15 @@ const DuetCombobox = class {
|
|
|
183
190
|
activeItemHandler(state) {
|
|
184
191
|
this.input.accessibleActiveDescendant = this.listOpen && (state || state === 0) ? this.activeDescendantId : "";
|
|
185
192
|
}
|
|
193
|
+
inputValueHandler() {
|
|
194
|
+
setTimeout(async () => {
|
|
195
|
+
const label = await this.getSelectedItemLabel();
|
|
196
|
+
if (this.input.value == "" && label) {
|
|
197
|
+
this.input.value = "";
|
|
198
|
+
this.value = undefined;
|
|
199
|
+
}
|
|
200
|
+
}, 200);
|
|
201
|
+
}
|
|
186
202
|
handleDocumentClick(e) {
|
|
187
203
|
//we want to remove all user text if they have NOT selected from the dropdown
|
|
188
204
|
const path = e.composedPath();
|
|
@@ -316,7 +332,11 @@ const DuetCombobox = class {
|
|
|
316
332
|
* Helper function that checks inputs in the field, compares it with the item list and returns true when inputvalue matches selectedItem id
|
|
317
333
|
*/
|
|
318
334
|
shouldListBeFiltered() {
|
|
319
|
-
|
|
335
|
+
var _a;
|
|
336
|
+
if (!this.multiple &&
|
|
337
|
+
this.selectedItems.size &&
|
|
338
|
+
this.input.value === this.inputValue &&
|
|
339
|
+
((_a = this.inputValue) === null || _a === void 0 ? void 0 : _a.length) < this.minCharacters) {
|
|
320
340
|
const item = this.processedItems.find(item => this.selectedItems.has(item.id));
|
|
321
341
|
return !(this.formatter(item).toLowerCase() === this.input.value.toLowerCase());
|
|
322
342
|
}
|
|
@@ -379,17 +399,9 @@ const DuetCombobox = class {
|
|
|
379
399
|
* Updates the selected item based on the item id. Used only when multiple is false.
|
|
380
400
|
*/
|
|
381
401
|
async updateSelectedItem(id, emitEvent) {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
this.input.value = "";
|
|
386
|
-
await this.input.setFocus();
|
|
387
|
-
}
|
|
388
|
-
else {
|
|
389
|
-
this.selectedItems.clear();
|
|
390
|
-
this.selectedItems.add(id);
|
|
391
|
-
this.value = this.processedItems.find(item => item.id === id).value;
|
|
392
|
-
}
|
|
402
|
+
this.selectedItems.clear();
|
|
403
|
+
this.selectedItems.add(id);
|
|
404
|
+
this.value = this.processedItems.find(item => item.id === id).value;
|
|
393
405
|
if (emitEvent) {
|
|
394
406
|
this.emitChangeEvent(this.value && id);
|
|
395
407
|
}
|
|
@@ -476,7 +488,7 @@ const DuetCombobox = class {
|
|
|
476
488
|
}
|
|
477
489
|
//function that scrolls to the li element with the class "active"
|
|
478
490
|
scrollToActive() {
|
|
479
|
-
const activeElement = document.getElementById(`${this.activeDescendantId}`);
|
|
491
|
+
const activeElement = document.getElementById(`${this.activeDescendantId}`);
|
|
480
492
|
if (activeElement) {
|
|
481
493
|
activeElement.scrollIntoView({
|
|
482
494
|
behavior: "smooth",
|
|
@@ -557,6 +569,7 @@ const DuetCombobox = class {
|
|
|
557
569
|
static get watchers() { return {
|
|
558
570
|
"listOpen": ["popupMenuOpenHandler", "processListOpenChange"],
|
|
559
571
|
"activeItem": ["activeItemHandler"],
|
|
572
|
+
"inputValue": ["inputValueHandler"],
|
|
560
573
|
"items": ["processItems"],
|
|
561
574
|
"value": ["processValue"]
|
|
562
575
|
}; }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
6
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-afb0d677.js';
|
|
7
7
|
import './string-utils-192eb3c8.js';
|
|
8
8
|
|
|
9
9
|
const duetContactCardCss = "*,*::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-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4160b620.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
7
7
|
|