@duetds/components 6.10.3 → 6.11.0
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 +526 -175
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +89 -9
- package/lib/cjs/duet-choice_2.cjs.entry.js +9 -8
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +31 -136
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -2
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +6 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +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-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +35 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +98 -8
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +56 -27
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
- 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-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 +1 -1
- 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-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-popup.cjs.entry.js +56 -0
- package/lib/cjs/duet-tooltip.cjs.entry.js +20 -15
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +93 -0
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +6 -86
- package/lib/cjs/errorcodes.utils-5deca818.js +39 -0
- package/lib/cjs/{focus-utils-fa8771cc.js → focus-utils-f19181d6.js} +1 -1
- package/lib/cjs/{index-ad229c23.js → index-ef0568d5.js} +6 -19
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/slot-query-1624497e.js +10 -0
- package/lib/cjs/{token-utils-c1864408.js → token-utils-18a05118.js} +1 -1
- package/lib/cjs/{tokens.module-5fe478ed.js → tokens.module-d30fb52a.js} +1 -0
- package/lib/collection/collection-manifest.json +4 -2
- package/lib/collection/common/index.js +1 -0
- package/lib/collection/common/slot-query.js +9 -0
- package/lib/collection/components/duet-chip/duet-chip.css +38 -10
- package/lib/collection/components/duet-chip/duet-chip.js +117 -9
- package/lib/collection/components/duet-choice/duet-choice.css +22 -22
- package/lib/collection/components/duet-choice/duet-choice.js +7 -11
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -5
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +2 -1
- package/lib/collection/components/duet-grid/duet-grid.css +260 -116
- package/lib/collection/components/duet-grid/duet-grid.js +22 -1
- package/lib/collection/components/duet-hero/duet-hero.css +6 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +8 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +118 -9
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +140 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +219 -26
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +183 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +251 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +0 -163
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +24 -13
- package/lib/collection/components/duet-upload/duet-upload.js +37 -13
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +299 -0
- package/lib/collection/utils/teleport.js +30 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +95 -12
- package/lib/dist-custom-elements/duet-choice-group.js +16 -10
- package/lib/dist-custom-elements/duet-choice.js +13 -12
- package/lib/dist-custom-elements/duet-collapsible.js +4 -3
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +26 -20
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +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-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 +20 -14
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +22 -16
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +41 -4
- package/lib/dist-custom-elements/duet-popup-menu.js +101 -10
- 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 +16 -10
- 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 +71 -33
- 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 +4 -4
- package/lib/dist-custom-elements/duet-slideout.js +4 -4
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-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-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +26 -20
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +20 -14
- 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-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +11 -0
- package/lib/dist-custom-elements/duet-tooltip-popup.js +9 -0
- 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.d.ts +11 -0
- package/lib/dist-custom-elements/duet-upload-item.js +9 -0
- package/lib/dist-custom-elements/duet-upload.js +59 -159
- 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-f4a36471.js → p-00416416.js} +1 -1
- package/lib/dist-custom-elements/{p-c9cee36a.js → p-04bb5c9f.js} +1 -1
- package/lib/dist-custom-elements/{p-efaad71c.js → p-061830ef.js} +1 -1
- package/lib/dist-custom-elements/{p-fa4af49a.js → p-0ada372b.js} +30 -19
- package/lib/dist-custom-elements/{p-bd3f4de1.js → p-0aeec550.js} +2 -2
- package/lib/dist-custom-elements/{p-ddbc4897.js → p-0c506783.js} +6 -6
- package/lib/dist-custom-elements/{p-d993c8ca.js → p-0c934ab8.js} +5 -5
- package/lib/dist-custom-elements/{p-88a1aa29.js → p-1212aab5.js} +1 -1
- package/lib/dist-custom-elements/{p-0639a930.js → p-127ad24e.js} +1 -1
- package/lib/dist-custom-elements/{p-4524a59b.js → p-1f5d4fdb.js} +2 -2
- package/lib/dist-custom-elements/p-238d0ad2.js +187 -0
- package/lib/dist-custom-elements/{p-1460c5f4.js → p-264ce363.js} +1 -1
- package/lib/dist-custom-elements/{p-c5723f69.js → p-2c9478af.js} +2 -2
- package/lib/dist-custom-elements/{p-dade840c.js → p-31eb790f.js} +2 -2
- package/lib/dist-custom-elements/{p-f97098ff.js → p-42fe016c.js} +2 -2
- package/lib/dist-custom-elements/{p-c221f8d5.js → p-44376288.js} +5 -5
- package/lib/dist-custom-elements/{p-c3a8f22f.js → p-55c2bb2d.js} +1 -1
- package/lib/dist-custom-elements/{p-362cf634.js → p-62d5eeeb.js} +4 -3
- package/lib/dist-custom-elements/{p-de68431d.js → p-661e7864.js} +1 -1
- package/lib/dist-custom-elements/{p-9e321809.js → p-757bf6af.js} +1 -1
- package/lib/dist-custom-elements/{p-abf2f8eb.js → p-773bf99a.js} +1 -1
- package/lib/dist-custom-elements/p-7d158728.js +197 -0
- package/lib/dist-custom-elements/{p-9a39285c.js → p-85edc0fe.js} +2 -2
- package/lib/dist-custom-elements/{p-b0a1fc7a.js → p-980b82ed.js} +2 -2
- package/lib/dist-custom-elements/p-9d915d45.js +8 -0
- package/lib/dist-custom-elements/{p-ab8093ce.js → p-b761b810.js} +2 -2
- package/lib/dist-custom-elements/{p-87b42dc0.js → p-ba31dce0.js} +3 -3
- package/lib/dist-custom-elements/{p-06f56040.js → p-baccad0b.js} +2 -2
- package/lib/dist-custom-elements/{p-581d4969.js → p-c35ceaed.js} +1 -1
- package/lib/dist-custom-elements/{p-8549a5d3.js → p-c6c0520d.js} +3 -3
- package/lib/dist-custom-elements/{p-e6027c0e.js → p-ca8561b3.js} +20 -14
- package/lib/dist-custom-elements/{p-e8475b3c.js → p-cd9b5f96.js} +1 -1
- package/lib/dist-custom-elements/{p-0bab8976.js → p-cedbe8b5.js} +4 -4
- package/lib/dist-custom-elements/p-cfe72fa4.js +88 -0
- package/lib/dist-custom-elements/{p-e550208a.js → p-dfbbdce3.js} +4 -18
- package/lib/dist-custom-elements/{p-a76c2c68.js → p-e71e9330.js} +16 -10
- package/lib/dist-custom-elements/{p-b0e822ad.js → p-f462e031.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-0de3b52d.system.entry.js → p-0077c0b9.system.entry.js} +2 -2
- package/lib/duet/{p-659b9600.system.entry.js → p-015f92ba.system.entry.js} +2 -2
- package/lib/duet/{p-679721de.system.entry.js → p-03b229f9.system.entry.js} +1 -1
- package/lib/duet/{p-596343b6.system.entry.js → p-04da6058.system.entry.js} +1 -1
- package/lib/duet/p-076452be.js +1 -1
- package/lib/duet/{p-e195ff77.entry.js → p-07b68373.entry.js} +1 -1
- package/lib/duet/{p-d1fdf904.entry.js → p-0a5bea68.entry.js} +1 -1
- package/lib/duet/p-0b19b2fc.system.entry.js +4 -0
- package/lib/duet/{p-bf5e03b7.system.entry.js → p-0d941b02.system.entry.js} +2 -2
- package/lib/duet/{p-53800205.entry.js → p-0de1d79f.entry.js} +1 -1
- package/lib/duet/{p-8c6e3c4f.system.js → p-10695d55.system.js} +1 -1
- package/lib/duet/p-120fcef7.system.entry.js +4 -0
- package/lib/duet/{p-be64cb47.system.entry.js → p-1447cb8a.system.entry.js} +1 -1
- package/lib/duet/{p-193d3aaa.system.entry.js → p-16493302.system.entry.js} +1 -1
- package/lib/duet/{p-f3baf86a.system.entry.js → p-17e717aa.system.entry.js} +1 -1
- package/lib/duet/p-1880e89c.system.js +5 -0
- package/lib/duet/{p-0fe6e2f3.entry.js → p-19c4479c.entry.js} +1 -1
- package/lib/duet/p-1afb6da1.system.entry.js +4 -0
- package/lib/duet/{p-7604e184.system.entry.js → p-1b7bb41b.system.entry.js} +2 -2
- package/lib/duet/{p-c838f35a.system.entry.js → p-1eb8f4fe.system.entry.js} +2 -2
- package/lib/duet/p-200f1abc.entry.js +4 -0
- package/lib/duet/{p-0fdddc6d.system.entry.js → p-21e22519.system.entry.js} +1 -1
- package/lib/duet/{p-b6f46697.entry.js → p-22b301c0.entry.js} +1 -1
- package/lib/duet/{p-8d9dc8b8.system.entry.js → p-26fc5f52.system.entry.js} +2 -2
- package/lib/duet/{p-71a46879.system.js → p-277d9e45.system.js} +1 -1
- package/lib/duet/{p-3ae87f9a.system.entry.js → p-2827e61e.system.entry.js} +2 -2
- package/lib/duet/{p-38b225ec.system.entry.js → p-2867f068.system.entry.js} +2 -2
- package/lib/duet/{p-fca2f60d.system.entry.js → p-28e7d8ee.system.entry.js} +2 -2
- package/lib/duet/p-2b16b250.system.entry.js +4 -0
- package/lib/duet/{p-855f2712.system.entry.js → p-2b79476c.system.entry.js} +1 -1
- package/lib/duet/{p-33e8ba00.entry.js → p-2bfb9cf4.entry.js} +1 -1
- package/lib/duet/{p-0b4324b1.system.entry.js → p-2ed796cf.system.entry.js} +2 -2
- package/lib/duet/{p-a80b6e7d.entry.js → p-30c6c9f0.entry.js} +1 -1
- package/lib/duet/{p-d20bc0fc.entry.js → p-30f0945c.entry.js} +1 -1
- package/lib/duet/p-312ae93d.system.entry.js +4 -0
- package/lib/duet/{p-7fe4bf9c.system.entry.js → p-32d6a948.system.entry.js} +1 -1
- package/lib/duet/{p-6fafabc4.system.entry.js → p-3499c5ce.system.entry.js} +2 -2
- package/lib/duet/{p-7fd5d974.system.entry.js → p-358f27d4.system.entry.js} +1 -1
- package/lib/duet/{p-831c76d5.system.entry.js → p-35fddc0c.system.entry.js} +2 -2
- package/lib/duet/{p-cd14aa98.system.entry.js → p-379b7a5b.system.entry.js} +1 -1
- package/lib/duet/{p-2a8ca3eb.entry.js → p-3a47193c.entry.js} +1 -1
- package/lib/duet/p-3a9e4386.system.entry.js +4 -0
- package/lib/duet/{p-eaf5b796.entry.js → p-3cff6ebc.entry.js} +1 -1
- package/lib/duet/{p-e6701508.entry.js → p-3dbbd772.entry.js} +1 -1
- package/lib/duet/{p-a6f4302f.system.entry.js → p-3f9bafee.system.entry.js} +1 -1
- package/lib/duet/{p-33ace290.system.entry.js → p-3fd216ee.system.entry.js} +2 -2
- package/lib/duet/{p-ff0c5b5b.system.entry.js → p-402a51b4.system.entry.js} +2 -2
- package/lib/duet/{p-ced270b7.system.entry.js → p-42e29141.system.entry.js} +2 -2
- package/lib/duet/p-435cb7c2.entry.js +4 -0
- package/lib/duet/p-440aff1c.system.entry.js +4 -0
- package/lib/duet/p-46547a79.entry.js +4 -0
- package/lib/duet/{p-242c1c1a.entry.js → p-469c8430.entry.js} +1 -1
- package/lib/duet/{p-ab15c9ba.entry.js → p-49c0b3f8.entry.js} +1 -1
- package/lib/duet/p-4b9c271c.entry.js +4 -0
- package/lib/duet/{p-d837c30c.entry.js → p-4ba495ae.entry.js} +1 -1
- package/lib/duet/{p-0b208f94.system.entry.js → p-4c05864f.system.entry.js} +1 -1
- package/lib/duet/{p-26cfed76.system.entry.js → p-4cb95b05.system.entry.js} +1 -1
- package/lib/duet/{p-10d57786.entry.js → p-4f49a9ca.entry.js} +1 -1
- package/lib/duet/p-57bc9d10.system.entry.js +4 -0
- package/lib/duet/p-5a9d75e1.js +1 -1
- package/lib/duet/{p-dcb58b72.system.entry.js → p-5ba959af.system.entry.js} +1 -1
- package/lib/duet/p-5c8e5f29.system.js +4 -0
- package/lib/duet/{p-f01b3bfa.entry.js → p-5c9febf5.entry.js} +1 -1
- package/lib/duet/{p-5f9fc349.system.entry.js → p-5cca8d3e.system.entry.js} +2 -2
- package/lib/duet/{p-10d47bb3.entry.js → p-6105d937.entry.js} +1 -1
- package/lib/duet/{p-bb450fde.entry.js → p-61611577.entry.js} +1 -1
- package/lib/duet/{p-f9191467.entry.js → p-6322975a.entry.js} +1 -1
- package/lib/duet/{p-e664403b.system.entry.js → p-6a1f6639.system.entry.js} +2 -2
- package/lib/duet/p-6b115b63.system.js +4 -0
- package/lib/duet/p-6b7d3c8c.entry.js +4 -0
- package/lib/duet/{p-0f05038e.system.entry.js → p-6c7a20e1.system.entry.js} +2 -2
- package/lib/duet/{p-82ebc3a6.system.entry.js → p-6e8dbf19.system.entry.js} +2 -2
- package/lib/duet/{p-2ab30c7f.entry.js → p-6ea838bf.entry.js} +1 -1
- package/lib/duet/{p-5c5dd33e.entry.js → p-6fba1a6d.entry.js} +1 -1
- package/lib/duet/{p-fce75de7.entry.js → p-71cc3d68.entry.js} +1 -1
- package/lib/duet/{p-18b63745.system.entry.js → p-74b822f7.system.entry.js} +2 -2
- package/lib/duet/{p-9cec464f.system.entry.js → p-75d98b0c.system.entry.js} +2 -2
- package/lib/duet/{p-a76ceaf6.js → p-75f7a572.js} +1 -1
- package/lib/duet/{p-07795672.entry.js → p-762f26d7.entry.js} +1 -1
- package/lib/duet/p-7649b95e.js +4 -0
- package/lib/duet/{p-e5ff4740.system.entry.js → p-798f633d.system.entry.js} +1 -1
- package/lib/duet/p-79b6ac98.js +5 -0
- package/lib/duet/{p-369190ba.entry.js → p-7b29ea1b.entry.js} +1 -1
- package/lib/duet/{p-60210fa0.entry.js → p-7d0c4a6e.entry.js} +1 -1
- package/lib/duet/{p-9781cd5a.entry.js → p-80c9d1a3.entry.js} +1 -1
- package/lib/duet/p-82b5380b.system.js +1 -1
- package/lib/duet/{p-42199e80.entry.js → p-84492c72.entry.js} +1 -1
- package/lib/duet/{p-6059377c.entry.js → p-84848786.entry.js} +1 -1
- package/lib/duet/p-864ccce8.system.entry.js +4 -0
- package/lib/duet/p-8793147c.system.entry.js +4 -0
- package/lib/duet/{p-bb3ab94b.entry.js → p-890ce3fa.entry.js} +1 -1
- package/lib/duet/{p-49cbf9cc.entry.js → p-8b1084e1.entry.js} +1 -1
- package/lib/duet/{p-65180079.entry.js → p-8cde4aa3.entry.js} +1 -1
- package/lib/duet/{p-67f35157.entry.js → p-8d1df4a0.entry.js} +1 -1
- package/lib/duet/{p-c01a1e38.entry.js → p-8fe534ac.entry.js} +1 -1
- package/lib/duet/{p-190e7c1f.system.entry.js → p-90b0a60f.system.entry.js} +2 -2
- package/lib/duet/{p-c8af967c.system.entry.js → p-95a2dc66.system.entry.js} +1 -1
- package/lib/duet/{p-9ad4b03e.entry.js → p-98894eb0.entry.js} +1 -1
- package/lib/duet/p-9a9bc779.entry.js +4 -0
- package/lib/duet/{p-d70c1993.entry.js → p-9b96a374.entry.js} +1 -1
- package/lib/duet/p-9d915d45.js +4 -0
- package/lib/duet/{p-476bec1d.entry.js → p-a18c65be.entry.js} +1 -1
- package/lib/duet/p-a4376044.entry.js +4 -0
- package/lib/duet/{p-6ff2601a.entry.js → p-a481cf6f.entry.js} +1 -1
- package/lib/duet/{p-77432368.entry.js → p-a4f63bc8.entry.js} +1 -1
- package/lib/duet/{p-ff814fdc.entry.js → p-a57b8625.entry.js} +1 -1
- package/lib/duet/{p-17569309.entry.js → p-a5ee6446.entry.js} +1 -1
- package/lib/duet/{p-c591ed98.system.entry.js → p-a7925c2c.system.entry.js} +2 -2
- package/lib/duet/p-a8657943.entry.js +4 -0
- package/lib/duet/{p-642a879a.system.entry.js → p-a9dee517.system.entry.js} +1 -1
- package/lib/duet/p-aaf1b496.system.js +4 -0
- package/lib/duet/{p-d309acda.entry.js → p-ab1488e4.entry.js} +1 -1
- package/lib/duet/{p-3fe319db.entry.js → p-ab308aa0.entry.js} +1 -1
- package/lib/duet/{p-7c81a1aa.system.entry.js → p-ab9b002c.system.entry.js} +1 -1
- package/lib/duet/{p-18084aa4.entry.js → p-ad3c2f28.entry.js} +1 -1
- package/lib/duet/p-ae4927ce.entry.js +4 -0
- package/lib/duet/{p-346b440a.entry.js → p-b07af8d7.entry.js} +1 -1
- package/lib/duet/{p-8a06964b.entry.js → p-b29fac9e.entry.js} +1 -1
- package/lib/duet/p-b54bf042.entry.js +4 -0
- package/lib/duet/{p-49f5f27e.entry.js → p-b5546c64.entry.js} +1 -1
- package/lib/duet/{p-d90b9d82.entry.js → p-b6d43529.entry.js} +1 -1
- package/lib/duet/p-b6d51921.system.js +1 -1
- package/lib/duet/{p-74bf128c.system.entry.js → p-bdd55461.system.entry.js} +2 -2
- package/lib/duet/p-be37633b.entry.js +4 -0
- package/lib/duet/{p-8fc58e21.entry.js → p-be8e6a2f.entry.js} +1 -1
- package/lib/duet/{p-9277a98e.entry.js → p-bf35789c.entry.js} +1 -1
- package/lib/duet/p-c1aafc6e.entry.js +4 -0
- package/lib/duet/{p-fcc9c563.entry.js → p-c1b71a60.entry.js} +1 -1
- package/lib/duet/{p-d95542b2.system.entry.js → p-c2860fc6.system.entry.js} +2 -2
- package/lib/duet/{p-0f49469b.system.entry.js → p-c3bf4ada.system.entry.js} +1 -1
- package/lib/duet/{p-000197bb.system.entry.js → p-c8967f73.system.entry.js} +2 -2
- package/lib/duet/p-c8dc599d.system.js +1 -1
- package/lib/duet/{p-6dea5bde.system.js → p-ca783bce.system.js} +1 -1
- package/lib/duet/{p-d1308874.entry.js → p-cad183f3.entry.js} +1 -1
- package/lib/duet/{p-a1e03781.entry.js → p-caf1d401.entry.js} +1 -1
- package/lib/duet/p-cb620ca3.system.entry.js +4 -0
- package/lib/duet/{p-e26c92ae.entry.js → p-cd1ed6f6.entry.js} +1 -1
- package/lib/duet/{p-8168ef41.system.entry.js → p-cdbd1085.system.entry.js} +2 -2
- package/lib/duet/{p-5590d075.system.entry.js → p-ce48373f.system.entry.js} +2 -2
- package/lib/duet/{p-f605a26a.system.entry.js → p-cefbaef0.system.entry.js} +1 -1
- package/lib/duet/p-cf504df5.js +4 -0
- package/lib/duet/{p-8215e341.system.entry.js → p-cfdd8822.system.entry.js} +1 -1
- package/lib/duet/{p-e1470177.system.entry.js → p-d58ad6fe.system.entry.js} +1 -1
- package/lib/duet/{p-fd760e06.system.entry.js → p-d7460d04.system.entry.js} +2 -2
- package/lib/duet/{p-c56f6296.entry.js → p-d86b661a.entry.js} +1 -1
- package/lib/duet/{p-d707c91d.entry.js → p-dc003f39.entry.js} +1 -1
- package/lib/duet/{p-aa1c11b3.system.entry.js → p-dd2c8397.system.entry.js} +1 -1
- package/lib/duet/{p-e3a868e7.system.entry.js → p-de933c56.system.entry.js} +1 -1
- package/lib/duet/{p-e13b266c.system.entry.js → p-deb6c0b1.system.entry.js} +1 -1
- package/lib/duet/p-df10a767.js +1 -1
- package/lib/duet/{p-bd21ed24.entry.js → p-e009dd0e.entry.js} +1 -1
- package/lib/duet/{p-c20f14ee.system.entry.js → p-e0711844.system.entry.js} +1 -1
- package/lib/duet/p-e414a557.js +4 -0
- package/lib/duet/{p-f1bce38a.system.entry.js → p-e53475fd.system.entry.js} +1 -1
- package/lib/duet/{p-a9fac1f4.entry.js → p-e66b2cf4.entry.js} +1 -1
- package/lib/duet/{p-639c44ed.system.entry.js → p-e689dc8c.system.entry.js} +2 -2
- package/lib/duet/{p-3aebf88e.entry.js → p-eb478d40.entry.js} +1 -1
- package/lib/duet/{p-54607ab5.system.entry.js → p-ebaf813c.system.entry.js} +1 -1
- package/lib/duet/{p-e33b158e.entry.js → p-ebd0deb2.entry.js} +1 -1
- package/lib/duet/p-ec120930.system.entry.js +4 -0
- package/lib/duet/{p-ea0b3f23.entry.js → p-ed2fa79e.entry.js} +1 -1
- package/lib/duet/{p-984be1b2.system.entry.js → p-f15e031a.system.entry.js} +2 -2
- package/lib/duet/{p-76c68d61.system.entry.js → p-f58f7049.system.entry.js} +1 -1
- package/lib/duet/{p-7b75c66a.system.entry.js → p-f5bc03c1.system.entry.js} +2 -2
- package/lib/duet/p-f5c10f8e.entry.js +4 -0
- package/lib/duet/{p-0fc4fd1f.entry.js → p-f6ba5087.entry.js} +1 -1
- package/lib/duet/{p-645d04bc.entry.js → p-f783a2bc.entry.js} +1 -1
- package/lib/duet/p-f80275c5.system.entry.js +4 -0
- package/lib/duet/p-f93a4db5.entry.js +4 -0
- package/lib/duet/{p-61dbdf5a.system.entry.js → p-fa579e10.system.entry.js} +1 -1
- package/lib/duet/{p-87ea8cd4.system.entry.js → p-fdd13933.system.entry.js} +2 -2
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +3 -3
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +89 -9
- package/lib/esm/duet-choice_2.entry.js +9 -8
- package/lib/esm/duet-collapsible.entry.js +3 -2
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +23 -128
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +3 -2
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +6 -3
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +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-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +35 -2
- package/lib/esm/duet-popup-menu.entry.js +99 -9
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +57 -28
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +4 -4
- package/lib/esm/duet-slideout.entry.js +4 -4
- 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-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- 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-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-popup.entry.js +52 -0
- package/lib/esm/duet-tooltip.entry.js +20 -15
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +89 -0
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +7 -87
- package/lib/esm/errorcodes.utils-c0c33bce.js +36 -0
- package/lib/esm/{focus-utils-20785530.js → focus-utils-a516bd48.js} +1 -1
- package/lib/esm/{index-dcb8c495.js → index-23851de5.js} +7 -18
- package/lib/esm/loader.js +3 -3
- package/lib/esm/slot-query-8c7dce21.js +8 -0
- package/lib/esm/{token-utils-a1dcaa4b.js → token-utils-058d6220.js} +1 -1
- package/lib/esm/{tokens.module-ed773027.js → tokens.module-f436c2cd.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +2 -2
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- 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-footer.entry.js +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +2 -2
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.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 +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +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-popup.entry.js +4 -0
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- 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 +4 -0
- 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-c0c33bce.js +4 -0
- package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +1 -1
- package/lib/esm-es5/focus-utils-a516bd48.js +4 -0
- package/lib/esm-es5/index-23851de5.js +5 -0
- package/lib/esm-es5/language-utils-6be16ff0.js +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/slot-query-8c7dce21.js +4 -0
- package/lib/esm-es5/string-utils-5954f458.js +1 -1
- package/lib/esm-es5/{token-utils-a1dcaa4b.js → token-utils-058d6220.js} +1 -1
- package/lib/esm-es5/{tokens.module-ed773027.js → tokens.module-f436c2cd.js} +1 -1
- package/lib/types/common/index.d.ts +1 -0
- package/lib/types/common/slot-query.d.ts +1 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +21 -2
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -1
- package/lib/types/components/duet-grid/duet-grid.d.ts +4 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +18 -1
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +30 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +36 -5
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +41 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +4 -4
- package/lib/types/components/duet-upload/duet-upload.d.ts +2 -1
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +29 -0
- package/lib/types/components.d.ts +208 -2
- package/lib/types/utils/teleport.d.ts +15 -0
- package/package.json +5 -5
- package/lib/cjs/dom-c42e1019.js +0 -78
- package/lib/cjs/shadow-css-6c99270e.js +0 -392
- package/lib/collection/components/duet-upload/upload-item.js +0 -44
- package/lib/dist-custom-elements/p-59964344.js +0 -183
- package/lib/dist-custom-elements/p-6ee53ac3.js +0 -390
- package/lib/duet/p-00c61228.system.entry.js +0 -4
- package/lib/duet/p-02a9b697.system.entry.js +0 -4
- package/lib/duet/p-0c7c6acc.system.entry.js +0 -4
- package/lib/duet/p-1090bfbd.entry.js +0 -4
- package/lib/duet/p-1983b903.system.entry.js +0 -4
- package/lib/duet/p-2271aa12.entry.js +0 -4
- package/lib/duet/p-26fb19cc.entry.js +0 -4
- package/lib/duet/p-29dd2b2b.entry.js +0 -4
- package/lib/duet/p-2f2554c2.entry.js +0 -4
- package/lib/duet/p-31a14896.entry.js +0 -4
- package/lib/duet/p-3d4d7d03.system.entry.js +0 -4
- package/lib/duet/p-4047730e.entry.js +0 -4
- package/lib/duet/p-41993ad4.js +0 -4
- package/lib/duet/p-4489355c.system.entry.js +0 -4
- package/lib/duet/p-45df6b17.entry.js +0 -4
- package/lib/duet/p-4f40525e.system.entry.js +0 -4
- package/lib/duet/p-5514488e.entry.js +0 -4
- package/lib/duet/p-57ec25ee.entry.js +0 -4
- package/lib/duet/p-59570fb7.system.entry.js +0 -4
- package/lib/duet/p-5dfc4e72.entry.js +0 -4
- package/lib/duet/p-6cf44bfa.system.js +0 -24
- package/lib/duet/p-6ee53ac3.js +0 -15
- package/lib/duet/p-72a8644b.system.entry.js +0 -4
- package/lib/duet/p-7ce403a2.system.entry.js +0 -4
- package/lib/duet/p-9b4b6a88.system.entry.js +0 -4
- package/lib/duet/p-9c159fd4.js +0 -22
- package/lib/duet/p-9d9204af.system.js +0 -16
- package/lib/duet/p-a7774674.system.js +0 -5
- package/lib/duet/p-bcb2eb05.js +0 -5
- package/lib/duet/p-f93a2b8c.system.js +0 -4
- package/lib/duet/p-fb88df1a.entry.js +0 -4
- package/lib/duet/p-fd4785ab.js +0 -4
- package/lib/esm/dom-ae12a113.js +0 -76
- package/lib/esm/shadow-css-66bc7949.js +0 -390
- package/lib/esm-es5/dom-ae12a113.js +0 -24
- package/lib/esm-es5/focus-utils-20785530.js +0 -4
- package/lib/esm-es5/index-dcb8c495.js +0 -5
- package/lib/esm-es5/shadow-css-66bc7949.js +0 -15
- package/lib/types/components/duet-upload/upload-item.d.ts +0 -20
- /package/lib/dist-custom-elements/{p-152ee893.js → p-ec4d603d.js} +0 -0
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-dfbbdce3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { b as isEscapeKey, d as isTabKey, c as isEnterKey, h as isArrowLeftKey, e as isArrowUpKey, j as isArrowRightKey, f as isArrowDownKey } from './p-d8549efe.js';
|
|
8
8
|
import { g as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
10
|
+
import { d as defineCustomElement$9 } from './p-757bf6af.js';
|
|
11
|
+
import { d as defineCustomElement$8 } from './p-04bb5c9f.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './p-55c2bb2d.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './p-85edc0fe.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './p-127ad24e.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-0ada372b.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-cfe72fa4.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-264ce363.js';
|
|
17
18
|
|
|
18
19
|
const duetMultiselectCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip{position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;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.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-multiselect{display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;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;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px rgb(144, 149, 153)}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px rgb(116, 116, 117)}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px rgb(0, 119, 179);transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px rgb(23, 28, 58)}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1}.duet-multiselect .duet-multiselect-badge{position:absolute;right:3rem}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{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);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{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(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
19
20
|
|
|
@@ -234,7 +235,7 @@ function defineCustomElement$1() {
|
|
|
234
235
|
if (typeof customElements === "undefined") {
|
|
235
236
|
return;
|
|
236
237
|
}
|
|
237
|
-
const components = ["duet-multiselect", "duet-badge", "duet-caption", "duet-checkbox", "duet-icon", "duet-label", "duet-tooltip", "duet-visually-hidden"];
|
|
238
|
+
const components = ["duet-multiselect", "duet-badge", "duet-caption", "duet-checkbox", "duet-icon", "duet-label", "duet-tooltip", "duet-tooltip-popup", "duet-visually-hidden"];
|
|
238
239
|
components.forEach(tagName => { switch (tagName) {
|
|
239
240
|
case "duet-multiselect":
|
|
240
241
|
if (!customElements.get(tagName)) {
|
|
@@ -243,30 +244,35 @@ function defineCustomElement$1() {
|
|
|
243
244
|
break;
|
|
244
245
|
case "duet-badge":
|
|
245
246
|
if (!customElements.get(tagName)) {
|
|
246
|
-
defineCustomElement$
|
|
247
|
+
defineCustomElement$9();
|
|
247
248
|
}
|
|
248
249
|
break;
|
|
249
250
|
case "duet-caption":
|
|
250
251
|
if (!customElements.get(tagName)) {
|
|
251
|
-
defineCustomElement$
|
|
252
|
+
defineCustomElement$8();
|
|
252
253
|
}
|
|
253
254
|
break;
|
|
254
255
|
case "duet-checkbox":
|
|
255
256
|
if (!customElements.get(tagName)) {
|
|
256
|
-
defineCustomElement$
|
|
257
|
+
defineCustomElement$7();
|
|
257
258
|
}
|
|
258
259
|
break;
|
|
259
260
|
case "duet-icon":
|
|
260
261
|
if (!customElements.get(tagName)) {
|
|
261
|
-
defineCustomElement$
|
|
262
|
+
defineCustomElement$6();
|
|
262
263
|
}
|
|
263
264
|
break;
|
|
264
265
|
case "duet-label":
|
|
265
266
|
if (!customElements.get(tagName)) {
|
|
266
|
-
defineCustomElement$
|
|
267
|
+
defineCustomElement$5();
|
|
267
268
|
}
|
|
268
269
|
break;
|
|
269
270
|
case "duet-tooltip":
|
|
271
|
+
if (!customElements.get(tagName)) {
|
|
272
|
+
defineCustomElement$4();
|
|
273
|
+
}
|
|
274
|
+
break;
|
|
275
|
+
case "duet-tooltip-popup":
|
|
270
276
|
if (!customElements.get(tagName)) {
|
|
271
277
|
defineCustomElement$3();
|
|
272
278
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-dfbbdce3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
7
|
const duetNavCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}slot[name=mobile]{display:inherit}slot[name=desktop]{display:none}@media (min-width: 62em){slot[name=mobile]{display:none}slot[name=desktop]{display:inherit}}";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-dfbbdce3.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { g as getLanguage, a as getLocaleString } from './p-076452be.js';
|
|
8
|
-
import { d as defineCustomElement$4 } from './p-
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-31eb790f.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-85edc0fe.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-0aeec550.js';
|
|
11
11
|
|
|
12
12
|
const duetNotificationDrawerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;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;line-height:48px;color:rgb(0, 41, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{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);background-color:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-drawer-toggle:hover{color:rgb(0, 77, 128)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(68, 68, 69)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 77, 128);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(68, 68, 69);border-color:rgb(245, 245, 247)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(250, 164, 15)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(225, 227, 230)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}";
|
|
13
13
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-dfbbdce3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-264ce363.js';
|
|
8
8
|
|
|
9
9
|
const duetNotificationCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(243, 249, 252)}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(252, 243, 244)}@media (min-width: 62em){.duet-notification:hover{background:rgb(243, 249, 252)}.duet-notification:hover.duet-theme-turva{background:rgb(252, 243, 244)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(68, 68, 69)}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";
|
|
10
10
|
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-dfbbdce3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { j as isArrowRightKey, e as isArrowUpKey, f as isArrowDownKey, h as isArrowLeftKey, k as isBackspaceKey } from './p-d8549efe.js';
|
|
8
8
|
import { g as getLanguage, b as getLocale, a as getLocaleString } from './p-076452be.js';
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
9
|
+
import { d as defineCustomElement$a } from './p-0c934ab8.js';
|
|
10
|
+
import { d as defineCustomElement$9 } from './p-04bb5c9f.js';
|
|
11
|
+
import { d as defineCustomElement$8 } from './p-85edc0fe.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './p-ca8561b3.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './p-127ad24e.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './p-42fe016c.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-0ada372b.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-cfe72fa4.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-264ce363.js';
|
|
17
18
|
|
|
18
19
|
var actionAdd={"title":"action-add","tags":"action add plus","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z\"/></svg>"};
|
|
19
20
|
|
|
@@ -411,7 +412,7 @@ function defineCustomElement$1() {
|
|
|
411
412
|
if (typeof customElements === "undefined") {
|
|
412
413
|
return;
|
|
413
414
|
}
|
|
414
|
-
const components = ["duet-number-input", "duet-button", "duet-caption", "duet-icon", "duet-input", "duet-label", "duet-spinner", "duet-tooltip", "duet-visually-hidden"];
|
|
415
|
+
const components = ["duet-number-input", "duet-button", "duet-caption", "duet-icon", "duet-input", "duet-label", "duet-spinner", "duet-tooltip", "duet-tooltip-popup", "duet-visually-hidden"];
|
|
415
416
|
components.forEach(tagName => { switch (tagName) {
|
|
416
417
|
case "duet-number-input":
|
|
417
418
|
if (!customElements.get(tagName)) {
|
|
@@ -420,35 +421,40 @@ function defineCustomElement$1() {
|
|
|
420
421
|
break;
|
|
421
422
|
case "duet-button":
|
|
422
423
|
if (!customElements.get(tagName)) {
|
|
423
|
-
defineCustomElement$
|
|
424
|
+
defineCustomElement$a();
|
|
424
425
|
}
|
|
425
426
|
break;
|
|
426
427
|
case "duet-caption":
|
|
427
428
|
if (!customElements.get(tagName)) {
|
|
428
|
-
defineCustomElement$
|
|
429
|
+
defineCustomElement$9();
|
|
429
430
|
}
|
|
430
431
|
break;
|
|
431
432
|
case "duet-icon":
|
|
432
433
|
if (!customElements.get(tagName)) {
|
|
433
|
-
defineCustomElement$
|
|
434
|
+
defineCustomElement$8();
|
|
434
435
|
}
|
|
435
436
|
break;
|
|
436
437
|
case "duet-input":
|
|
437
438
|
if (!customElements.get(tagName)) {
|
|
438
|
-
defineCustomElement$
|
|
439
|
+
defineCustomElement$7();
|
|
439
440
|
}
|
|
440
441
|
break;
|
|
441
442
|
case "duet-label":
|
|
442
443
|
if (!customElements.get(tagName)) {
|
|
443
|
-
defineCustomElement$
|
|
444
|
+
defineCustomElement$6();
|
|
444
445
|
}
|
|
445
446
|
break;
|
|
446
447
|
case "duet-spinner":
|
|
447
448
|
if (!customElements.get(tagName)) {
|
|
448
|
-
defineCustomElement$
|
|
449
|
+
defineCustomElement$5();
|
|
449
450
|
}
|
|
450
451
|
break;
|
|
451
452
|
case "duet-tooltip":
|
|
453
|
+
if (!customElements.get(tagName)) {
|
|
454
|
+
defineCustomElement$4();
|
|
455
|
+
}
|
|
456
|
+
break;
|
|
457
|
+
case "duet-tooltip-popup":
|
|
452
458
|
if (!customElements.get(tagName)) {
|
|
453
459
|
defineCustomElement$3();
|
|
454
460
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-dfbbdce3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-85edc0fe.js';
|
|
7
7
|
|
|
8
8
|
const duetPageHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(0, 41, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44MTYgLTU5LjA0OSAxODAuNDk4IC02MC4yODc3IDE4MS43ODggLTYxLjY1NjdDMTgzLjA2NiAtNjMuMDEyNiAxODUuNDY1IC02Mi4yODI1IDE4OS4wMTIgLTU5LjQ3OTN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jxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K\");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-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(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}";
|
|
9
9
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-dfbbdce3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { d as debounce } from './p-0b3f675e.js';
|
|
8
8
|
import { l as isArrowKey, m as isNumber, h as isArrowLeftKey, e as isArrowUpKey, j as isArrowRightKey, f as isArrowDownKey } from './p-d8549efe.js';
|
|
9
9
|
import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
|
|
10
|
-
import { d as defineCustomElement$7 } from './p-
|
|
11
|
-
import { d as defineCustomElement$6 } from './p-
|
|
12
|
-
import { d as defineCustomElement$5 } from './p-
|
|
13
|
-
import { d as defineCustomElement$4 } from './p-
|
|
14
|
-
import { d as defineCustomElement$3 } from './p-
|
|
15
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$7 } from './p-cedbe8b5.js';
|
|
11
|
+
import { d as defineCustomElement$6 } from './p-757bf6af.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './p-0c934ab8.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-85edc0fe.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-42fe016c.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-264ce363.js';
|
|
16
16
|
|
|
17
17
|
const shouldDisplayNavigation = (visibleItems, total, take) => {
|
|
18
18
|
if (visibleItems * 2 > total / take) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetParagraph$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetParagraph$1, d as defineCustomElement$1 } from './p-0aeec550.js';
|
|
5
5
|
|
|
6
6
|
const DuetParagraph = DuetParagraph$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-dfbbdce3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-85edc0fe.js';
|
|
7
7
|
|
|
8
8
|
const duetPopupMenuItemCss = "*,*::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:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:8px;align-items:center;height:100%;padding:8px 20px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-popup-menu-item.active,.duet-popup-menu-item.active:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-popup-menu-item.active.duet-theme-turva,.duet-popup-menu-item.active:hover.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}";
|
|
9
9
|
|
|
@@ -12,10 +12,33 @@ const DuetPopupMenuItem$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.__attachShadow();
|
|
15
|
+
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
16
|
+
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
17
|
+
/**
|
|
18
|
+
* Component event handling.
|
|
19
|
+
*/
|
|
20
|
+
this.onFocus = (ev) => {
|
|
21
|
+
this.focus = true;
|
|
22
|
+
this.duetFocus.emit({
|
|
23
|
+
originalEvent: ev,
|
|
24
|
+
value: this.value,
|
|
25
|
+
component: "duet-popup-menu-item",
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
this.onBlur = (ev) => {
|
|
29
|
+
this.focus = false;
|
|
30
|
+
this.duetBlur.emit({
|
|
31
|
+
originalEvent: ev,
|
|
32
|
+
value: this.value,
|
|
33
|
+
component: "duet-popup-menu-item",
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
this.focus = false;
|
|
15
37
|
this.accessibleLabel = undefined;
|
|
16
38
|
this.theme = "";
|
|
17
39
|
this.url = undefined;
|
|
18
40
|
this.external = false;
|
|
41
|
+
this.value = undefined;
|
|
19
42
|
this.leadingIcon = undefined;
|
|
20
43
|
this.trailingIcon = undefined;
|
|
21
44
|
this.trailingText = undefined;
|
|
@@ -27,13 +50,23 @@ const DuetPopupMenuItem$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
27
50
|
componentWillLoad() {
|
|
28
51
|
inheritGlobalTheme(this);
|
|
29
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Sets focus. Use this method instead of the global focus().
|
|
55
|
+
*/
|
|
56
|
+
async setFocus(options) {
|
|
57
|
+
setTimeout(() => this.itemElement.focus(options), 200);
|
|
58
|
+
}
|
|
59
|
+
async isFocused() {
|
|
60
|
+
return this.focus;
|
|
61
|
+
}
|
|
30
62
|
render() {
|
|
31
63
|
const TagName = this.url ? "a" : "button";
|
|
32
64
|
const classes = {
|
|
33
65
|
"duet-popup-menu-item": true,
|
|
34
66
|
active: this.active,
|
|
67
|
+
"duet-theme-turva": this.theme === "turva",
|
|
35
68
|
};
|
|
36
|
-
return (h(Host, null, h(TagName, { role: "menuitem", "aria-label": this.accessibleLabel, class: classes, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { name: this.leadingIcon, size: "xx-small", color: "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { class: "duet-popup-menu-item-label" }, h("slot", null)), this.trailingIcon && (h("duet-icon", { name: this.trailingIcon, size: "xx-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
69
|
+
return (h(Host, null, h(TagName, { ref: element => (this.itemElement = element), tabIndex: -1, onFocus: this.onFocus, onBlur: this.onBlur, role: "menuitem", "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { name: this.leadingIcon, size: "xx-small", color: "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { class: "duet-popup-menu-item-label" }, h("slot", null)), this.trailingIcon && (h("duet-icon", { name: this.trailingIcon, size: "xx-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
37
70
|
}
|
|
38
71
|
get element() { return this; }
|
|
39
72
|
static get style() { return duetPopupMenuItemCss; }
|
|
@@ -42,10 +75,14 @@ const DuetPopupMenuItem$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
42
75
|
"theme": [1025],
|
|
43
76
|
"url": [1],
|
|
44
77
|
"external": [4],
|
|
78
|
+
"value": [1],
|
|
45
79
|
"leadingIcon": [1, "leading-icon"],
|
|
46
80
|
"trailingIcon": [1, "trailing-icon"],
|
|
47
81
|
"trailingText": [1, "trailing-text"],
|
|
48
|
-
"active": [1028]
|
|
82
|
+
"active": [1028],
|
|
83
|
+
"focus": [32],
|
|
84
|
+
"setFocus": [64],
|
|
85
|
+
"isFocused": [64]
|
|
49
86
|
}]);
|
|
50
87
|
function defineCustomElement$1() {
|
|
51
88
|
if (typeof customElements === "undefined") {
|
|
@@ -1,29 +1,58 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-dfbbdce3.js';
|
|
5
5
|
import { c as computePosition, o as offset, f as flip } from './p-df10a767.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
|
-
import { b as isEscapeKey } from './p-d8549efe.js';
|
|
7
|
+
import { b as isEscapeKey, f as isArrowDownKey, e as isArrowUpKey, d as isTabKey } from './p-d8549efe.js';
|
|
8
|
+
import { z as zIndexPopup } from './p-cd9b5f96.js';
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Teleport helps resolving z-index issues of overlapping popup elements.
|
|
12
|
+
* Initiate it in your component's willLoad or didLoad lifecycle hook.
|
|
13
|
+
* When you open the popup, call teleport.go() and move focus to the popup.
|
|
14
|
+
* When you close the popup, call teleport.resume() and move focus to the element that opened the popup.
|
|
15
|
+
* If your popup has closing animation, use the timeout parameter.
|
|
16
|
+
*/
|
|
17
|
+
class Teleport {
|
|
18
|
+
constructor(element, target) {
|
|
19
|
+
this.element = element;
|
|
20
|
+
this.target = target || document.body;
|
|
21
|
+
}
|
|
22
|
+
go() {
|
|
23
|
+
this.stub = document.createElement("div");
|
|
24
|
+
this.element.insertAdjacentElement("afterend", this.stub);
|
|
25
|
+
this.target.appendChild(this.element);
|
|
26
|
+
this.element.style.zIndex = zIndexPopup;
|
|
27
|
+
}
|
|
28
|
+
resume(timeout = 0) {
|
|
29
|
+
setTimeout(() => {
|
|
30
|
+
this.element.style.zIndex = "";
|
|
31
|
+
this.stub.insertAdjacentElement("beforebegin", this.element);
|
|
32
|
+
this.stub.remove();
|
|
33
|
+
}, timeout);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
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:0;padding:1rem 0;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247)}";
|
|
10
38
|
|
|
11
39
|
const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
12
40
|
constructor() {
|
|
13
41
|
super();
|
|
14
42
|
this.__registerHost();
|
|
15
43
|
this.__attachShadow();
|
|
44
|
+
this.duetToggle = createEvent(this, "duetToggle", 7);
|
|
16
45
|
this.updatePlacement = async () => {
|
|
17
46
|
if (!this.controller) {
|
|
18
47
|
return;
|
|
19
48
|
}
|
|
20
|
-
const
|
|
49
|
+
const coordinates = await computePosition(this.controller, this.element, {
|
|
21
50
|
middleware: [offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }), flip()],
|
|
22
51
|
placement: this.placement,
|
|
23
|
-
strategy:
|
|
52
|
+
strategy: this.position,
|
|
24
53
|
});
|
|
25
|
-
this.menuY =
|
|
26
|
-
this.menuX =
|
|
54
|
+
this.menuY = coordinates.y;
|
|
55
|
+
this.menuX = coordinates.x;
|
|
27
56
|
};
|
|
28
57
|
this.open = false;
|
|
29
58
|
this.menuY = undefined;
|
|
@@ -32,6 +61,7 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
32
61
|
this.theme = "";
|
|
33
62
|
this.controller = undefined;
|
|
34
63
|
this.placement = "bottom-start";
|
|
64
|
+
this.position = "absolute";
|
|
35
65
|
this.mainAxisOffset = 0;
|
|
36
66
|
this.crossAxisOffset = 0;
|
|
37
67
|
}
|
|
@@ -40,6 +70,7 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
40
70
|
*/
|
|
41
71
|
componentWillLoad() {
|
|
42
72
|
inheritGlobalTheme(this);
|
|
73
|
+
this.teleport = new Teleport(this.element);
|
|
43
74
|
}
|
|
44
75
|
componentDidLoad() {
|
|
45
76
|
{
|
|
@@ -51,8 +82,39 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
51
82
|
*/
|
|
52
83
|
handleKeyUp(evt) {
|
|
53
84
|
if (this.open) {
|
|
54
|
-
// When Esc is pressed the
|
|
85
|
+
// When Esc is pressed the menu should be closed
|
|
55
86
|
if (isEscapeKey(evt)) {
|
|
87
|
+
this.focusController();
|
|
88
|
+
this.hide();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
async handleKeyDown(evt) {
|
|
93
|
+
if (this.open) {
|
|
94
|
+
if (isArrowDownKey(evt)) {
|
|
95
|
+
const current = await this.getFocusedItemIndex();
|
|
96
|
+
if (current !== -1) {
|
|
97
|
+
if (current < this.itemElements.length - 1) {
|
|
98
|
+
this.itemElements[current + 1].setFocus();
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
this.itemElements[0].setFocus();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (isArrowUpKey(evt)) {
|
|
106
|
+
const current = await this.getFocusedItemIndex();
|
|
107
|
+
if (current !== -1) {
|
|
108
|
+
if (current === 0) {
|
|
109
|
+
this.itemElements[this.itemElements.length - 1].setFocus();
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
this.itemElements[current - 1].setFocus();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
if (isTabKey(evt)) {
|
|
117
|
+
evt.preventDefault();
|
|
56
118
|
this.hide();
|
|
57
119
|
}
|
|
58
120
|
}
|
|
@@ -74,6 +136,9 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
74
136
|
*/
|
|
75
137
|
async show() {
|
|
76
138
|
this.open = true;
|
|
139
|
+
this.teleport.go();
|
|
140
|
+
this.itemElements[0].setFocus();
|
|
141
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
77
142
|
this.updatePlacement();
|
|
78
143
|
}
|
|
79
144
|
/**
|
|
@@ -81,6 +146,9 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
81
146
|
*/
|
|
82
147
|
async hide() {
|
|
83
148
|
this.open = false;
|
|
149
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
150
|
+
this.focusController();
|
|
151
|
+
this.teleport.resume(200);
|
|
84
152
|
}
|
|
85
153
|
/**
|
|
86
154
|
* Toggle.
|
|
@@ -93,12 +161,34 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
93
161
|
this.show();
|
|
94
162
|
}
|
|
95
163
|
}
|
|
164
|
+
focusController() {
|
|
165
|
+
if (this.controller) {
|
|
166
|
+
if ("setFocus" in this.controller) {
|
|
167
|
+
this.controller.setFocus();
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
this.controller.focus();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
get itemElements() {
|
|
175
|
+
return Array.from(this.element.querySelectorAll(":scope > duet-popup-menu-item"));
|
|
176
|
+
}
|
|
177
|
+
async getFocusedItemIndex() {
|
|
178
|
+
const items = this.itemElements;
|
|
179
|
+
for (let i = 0; i < items.length; i++) {
|
|
180
|
+
if (await items[i].isFocused()) {
|
|
181
|
+
return i;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
return -1;
|
|
185
|
+
}
|
|
96
186
|
render() {
|
|
97
187
|
const positionStyles = {
|
|
98
188
|
top: `${this.menuY}px`,
|
|
99
189
|
left: `${this.menuX}px`,
|
|
100
190
|
};
|
|
101
|
-
return (h(Host,
|
|
191
|
+
return (h(Host, { class: this.position }, h("div", { style: positionStyles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: "menu", "aria-label": this.accessibleLabel }, h("slot", null))));
|
|
102
192
|
}
|
|
103
193
|
get element() { return this; }
|
|
104
194
|
static get style() { return duetPopupMenuCss; }
|
|
@@ -107,6 +197,7 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
107
197
|
"theme": [1025],
|
|
108
198
|
"controller": [16],
|
|
109
199
|
"placement": [1],
|
|
200
|
+
"position": [1],
|
|
110
201
|
"mainAxisOffset": [2, "main-axis-offset"],
|
|
111
202
|
"crossAxisOffset": [2, "cross-axis-offset"],
|
|
112
203
|
"open": [32],
|
|
@@ -116,7 +207,7 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
116
207
|
"show": [64],
|
|
117
208
|
"hide": [64],
|
|
118
209
|
"toggle": [64]
|
|
119
|
-
}, [[8, "keyup", "handleKeyUp"], [8, "click", "handleClick"]]]);
|
|
210
|
+
}, [[8, "keyup", "handleKeyUp"], [8, "keydown", "handleKeyDown"], [8, "click", "handleClick"]]]);
|
|
120
211
|
function defineCustomElement$1() {
|
|
121
212
|
if (typeof customElements === "undefined") {
|
|
122
213
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetProgress$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetProgress$1, d as defineCustomElement$1 } from './p-b761b810.js';
|
|
5
5
|
|
|
6
6
|
const DuetProgress = DuetProgress$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-dfbbdce3.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { g as getColorByName } from './p-
|
|
7
|
-
import { d as defineCustomElement$3 } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { g as getColorByName } from './p-661e7864.js';
|
|
7
|
+
import { d as defineCustomElement$3 } from './p-980b82ed.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-0aeec550.js';
|
|
9
9
|
|
|
10
10
|
const duetPromoCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-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\"}";
|
|
11
11
|
|