@duetds/components 6.10.4 → 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 +299 -59
- 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 +8 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +8 -7
- 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 +3 -3
- 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 +1 -1
- 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 +33 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +88 -2
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +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 +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +6 -86
- package/lib/cjs/{focus-utils-a66763f4.js → focus-utils-f19181d6.js} +1 -1
- package/lib/cjs/{index-4eb7ce33.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 +2 -1
- package/lib/collection/common/index.js +1 -0
- package/lib/collection/common/slot-query.js +9 -0
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +37 -4
- package/lib/collection/components/duet-choice/duet-choice.js +10 -14
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +6 -8
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +2 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +6 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +70 -5
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +120 -1
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +220 -27
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.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 +25 -14
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
- package/lib/collection/utils/teleport.js +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 +11 -3
- package/lib/dist-custom-elements/duet-choice-group.js +16 -10
- package/lib/dist-custom-elements/duet-choice.js +12 -11
- 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 +38 -4
- package/lib/dist-custom-elements/duet-popup-menu.js +90 -4
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +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.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-a60259d1.js → p-00416416.js} +1 -1
- package/lib/dist-custom-elements/{p-1f14a267.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-4c575cf4.js → p-0ada372b.js} +30 -19
- package/lib/dist-custom-elements/{p-26a65533.js → p-0aeec550.js} +2 -2
- package/lib/dist-custom-elements/{p-661fee29.js → p-0c506783.js} +5 -5
- package/lib/dist-custom-elements/{p-ffc196f5.js → p-0c934ab8.js} +5 -5
- package/lib/dist-custom-elements/{p-7681059e.js → p-1212aab5.js} +1 -1
- package/lib/dist-custom-elements/{p-0f04ecb5.js → p-127ad24e.js} +1 -1
- package/lib/dist-custom-elements/{p-1b34adf1.js → p-1f5d4fdb.js} +2 -2
- package/lib/dist-custom-elements/{p-84a78894.js → p-238d0ad2.js} +1 -1
- package/lib/dist-custom-elements/{p-e467de13.js → p-264ce363.js} +1 -1
- package/lib/dist-custom-elements/{p-25d3d458.js → p-2c9478af.js} +2 -2
- package/lib/dist-custom-elements/{p-5114f1bd.js → p-31eb790f.js} +2 -2
- package/lib/dist-custom-elements/{p-03297bf3.js → p-42fe016c.js} +2 -2
- package/lib/dist-custom-elements/{p-80cd62f8.js → p-44376288.js} +5 -5
- package/lib/dist-custom-elements/{p-7c2e755b.js → p-55c2bb2d.js} +1 -1
- package/lib/dist-custom-elements/{p-006d0fb1.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-5c48ca92.js → p-757bf6af.js} +1 -1
- package/lib/dist-custom-elements/{p-3e609785.js → p-773bf99a.js} +1 -1
- package/lib/dist-custom-elements/{p-e0afb5aa.js → p-7d158728.js} +10 -10
- package/lib/dist-custom-elements/{p-171c70e8.js → p-85edc0fe.js} +2 -2
- package/lib/dist-custom-elements/{p-226f50bb.js → p-980b82ed.js} +2 -2
- package/lib/dist-custom-elements/p-9d915d45.js +8 -0
- package/lib/dist-custom-elements/{p-08f20e44.js → p-b761b810.js} +2 -2
- package/lib/dist-custom-elements/{p-8a1632b1.js → p-ba31dce0.js} +3 -3
- package/lib/dist-custom-elements/{p-b98f1d2a.js → p-baccad0b.js} +2 -2
- package/lib/dist-custom-elements/{p-265d42fd.js → p-c35ceaed.js} +1 -1
- package/lib/dist-custom-elements/{p-d5e61aac.js → p-c6c0520d.js} +3 -3
- package/lib/dist-custom-elements/{p-37255027.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-dbb9df4e.js → p-cedbe8b5.js} +4 -4
- package/lib/dist-custom-elements/p-cfe72fa4.js +88 -0
- package/lib/dist-custom-elements/{p-25fa826f.js → p-dfbbdce3.js} +4 -18
- package/lib/dist-custom-elements/{p-2b8c0c2f.js → p-e71e9330.js} +16 -10
- package/lib/dist-custom-elements/{p-c85e7fbd.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-dee73c08.system.entry.js → p-0077c0b9.system.entry.js} +2 -2
- package/lib/duet/{p-6892546a.system.entry.js → p-015f92ba.system.entry.js} +2 -2
- package/lib/duet/{p-45046cb8.system.entry.js → p-03b229f9.system.entry.js} +1 -1
- package/lib/duet/{p-f78e3197.system.entry.js → p-04da6058.system.entry.js} +1 -1
- package/lib/duet/p-076452be.js +1 -1
- package/lib/duet/{p-a5cf2316.entry.js → p-07b68373.entry.js} +1 -1
- package/lib/duet/{p-a6696d45.entry.js → p-0a5bea68.entry.js} +1 -1
- package/lib/duet/p-0b19b2fc.system.entry.js +4 -0
- package/lib/duet/{p-8862fec1.system.entry.js → p-0d941b02.system.entry.js} +2 -2
- package/lib/duet/{p-ae7602cb.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-184ee980.system.entry.js → p-1447cb8a.system.entry.js} +1 -1
- package/lib/duet/{p-ca2725cd.system.entry.js → p-16493302.system.entry.js} +1 -1
- package/lib/duet/{p-11d01178.system.entry.js → p-17e717aa.system.entry.js} +1 -1
- package/lib/duet/p-1880e89c.system.js +5 -0
- package/lib/duet/{p-8445fc10.entry.js → p-19c4479c.entry.js} +1 -1
- package/lib/duet/p-1afb6da1.system.entry.js +4 -0
- package/lib/duet/{p-2a9b8270.system.entry.js → p-1b7bb41b.system.entry.js} +2 -2
- package/lib/duet/{p-6508eed1.system.entry.js → p-1eb8f4fe.system.entry.js} +2 -2
- package/lib/duet/p-200f1abc.entry.js +4 -0
- package/lib/duet/{p-13fa33f3.system.entry.js → p-21e22519.system.entry.js} +1 -1
- package/lib/duet/{p-c1c6a4f5.entry.js → p-22b301c0.entry.js} +1 -1
- package/lib/duet/{p-b650e679.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-cb4799d1.system.entry.js → p-2827e61e.system.entry.js} +2 -2
- package/lib/duet/{p-8db6114f.system.entry.js → p-2867f068.system.entry.js} +2 -2
- package/lib/duet/{p-28b0deff.system.entry.js → p-28e7d8ee.system.entry.js} +2 -2
- package/lib/duet/p-2b16b250.system.entry.js +4 -0
- package/lib/duet/{p-0b696003.system.entry.js → p-2b79476c.system.entry.js} +1 -1
- package/lib/duet/{p-c0874730.entry.js → p-2bfb9cf4.entry.js} +1 -1
- package/lib/duet/{p-bc541e97.system.entry.js → p-2ed796cf.system.entry.js} +2 -2
- package/lib/duet/{p-a86ae0c3.entry.js → p-30c6c9f0.entry.js} +1 -1
- package/lib/duet/{p-4667e5cc.entry.js → p-30f0945c.entry.js} +1 -1
- package/lib/duet/{p-c185ea87.system.entry.js → p-312ae93d.system.entry.js} +2 -2
- package/lib/duet/{p-380ead38.system.entry.js → p-32d6a948.system.entry.js} +1 -1
- package/lib/duet/{p-ca4d7a6d.system.entry.js → p-3499c5ce.system.entry.js} +2 -2
- package/lib/duet/{p-4fc64fe9.system.entry.js → p-358f27d4.system.entry.js} +1 -1
- package/lib/duet/{p-82330774.system.entry.js → p-35fddc0c.system.entry.js} +2 -2
- package/lib/duet/{p-2bd98cbe.system.entry.js → p-379b7a5b.system.entry.js} +1 -1
- package/lib/duet/{p-f90e86d3.entry.js → p-3a47193c.entry.js} +1 -1
- package/lib/duet/p-3a9e4386.system.entry.js +4 -0
- package/lib/duet/{p-cff11c78.entry.js → p-3cff6ebc.entry.js} +1 -1
- package/lib/duet/{p-6e93b2f3.entry.js → p-3dbbd772.entry.js} +1 -1
- package/lib/duet/{p-000a0a75.system.entry.js → p-3f9bafee.system.entry.js} +1 -1
- package/lib/duet/{p-7284cb09.system.entry.js → p-3fd216ee.system.entry.js} +2 -2
- package/lib/duet/{p-2a37e574.system.entry.js → p-402a51b4.system.entry.js} +2 -2
- package/lib/duet/{p-e288bb38.system.entry.js → p-42e29141.system.entry.js} +2 -2
- package/lib/duet/{p-871eca43.entry.js → p-435cb7c2.entry.js} +1 -1
- package/lib/duet/p-440aff1c.system.entry.js +4 -0
- package/lib/duet/{p-c79f4b4b.entry.js → p-46547a79.entry.js} +1 -1
- package/lib/duet/{p-77616680.entry.js → p-469c8430.entry.js} +1 -1
- package/lib/duet/{p-4af3a90a.entry.js → p-49c0b3f8.entry.js} +1 -1
- package/lib/duet/p-4b9c271c.entry.js +4 -0
- package/lib/duet/{p-604adb3e.entry.js → p-4ba495ae.entry.js} +1 -1
- package/lib/duet/{p-06969947.system.entry.js → p-4c05864f.system.entry.js} +1 -1
- package/lib/duet/{p-20c19d2e.system.entry.js → p-4cb95b05.system.entry.js} +1 -1
- package/lib/duet/{p-b594282a.entry.js → p-4f49a9ca.entry.js} +1 -1
- package/lib/duet/{p-a2ddca83.system.entry.js → p-57bc9d10.system.entry.js} +2 -2
- package/lib/duet/p-5a9d75e1.js +1 -1
- package/lib/duet/{p-a0f76a04.system.entry.js → p-5ba959af.system.entry.js} +1 -1
- package/lib/duet/p-5c8e5f29.system.js +4 -0
- package/lib/duet/{p-700cc5d1.entry.js → p-5c9febf5.entry.js} +1 -1
- package/lib/duet/{p-df213a66.system.entry.js → p-5cca8d3e.system.entry.js} +2 -2
- package/lib/duet/{p-c5efb3f6.entry.js → p-6105d937.entry.js} +1 -1
- package/lib/duet/{p-a66ca0af.entry.js → p-61611577.entry.js} +1 -1
- package/lib/duet/{p-4f321fb8.entry.js → p-6322975a.entry.js} +1 -1
- package/lib/duet/{p-4956fa1c.system.entry.js → p-6a1f6639.system.entry.js} +2 -2
- package/lib/duet/{p-05dd0fb6.entry.js → p-6b7d3c8c.entry.js} +1 -1
- package/lib/duet/{p-be295e13.system.entry.js → p-6c7a20e1.system.entry.js} +2 -2
- package/lib/duet/{p-549a1ffd.system.entry.js → p-6e8dbf19.system.entry.js} +2 -2
- package/lib/duet/{p-b4b5f803.entry.js → p-6ea838bf.entry.js} +1 -1
- package/lib/duet/{p-da4f4b6c.entry.js → p-6fba1a6d.entry.js} +1 -1
- package/lib/duet/{p-f58832f6.entry.js → p-71cc3d68.entry.js} +1 -1
- package/lib/duet/{p-8275330c.system.entry.js → p-74b822f7.system.entry.js} +2 -2
- package/lib/duet/{p-e8d8c7a2.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-6bb42603.entry.js → p-762f26d7.entry.js} +1 -1
- package/lib/duet/p-7649b95e.js +4 -0
- package/lib/duet/{p-521b2f02.system.entry.js → p-798f633d.system.entry.js} +1 -1
- package/lib/duet/p-79b6ac98.js +5 -0
- package/lib/duet/{p-8cf359d9.entry.js → p-7b29ea1b.entry.js} +1 -1
- package/lib/duet/{p-9ec0d197.entry.js → p-7d0c4a6e.entry.js} +1 -1
- package/lib/duet/{p-31155f08.entry.js → p-80c9d1a3.entry.js} +1 -1
- package/lib/duet/p-82b5380b.system.js +1 -1
- package/lib/duet/{p-e983ff0c.entry.js → p-84492c72.entry.js} +1 -1
- package/lib/duet/{p-d4bc7a19.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-c391b2a4.entry.js → p-890ce3fa.entry.js} +1 -1
- package/lib/duet/{p-721bf508.entry.js → p-8b1084e1.entry.js} +1 -1
- package/lib/duet/{p-7565b093.entry.js → p-8cde4aa3.entry.js} +1 -1
- package/lib/duet/{p-ffa34163.entry.js → p-8d1df4a0.entry.js} +1 -1
- package/lib/duet/{p-86e7a88a.entry.js → p-8fe534ac.entry.js} +1 -1
- package/lib/duet/{p-773268e7.system.entry.js → p-90b0a60f.system.entry.js} +2 -2
- package/lib/duet/{p-32ee127a.system.entry.js → p-95a2dc66.system.entry.js} +1 -1
- package/lib/duet/{p-3c43d0ee.entry.js → p-98894eb0.entry.js} +1 -1
- package/lib/duet/p-9a9bc779.entry.js +4 -0
- package/lib/duet/{p-d988f03a.entry.js → p-9b96a374.entry.js} +1 -1
- package/lib/duet/p-9d915d45.js +4 -0
- package/lib/duet/{p-ccb08e8c.entry.js → p-a18c65be.entry.js} +1 -1
- package/lib/duet/p-a4376044.entry.js +4 -0
- package/lib/duet/{p-7f588669.entry.js → p-a481cf6f.entry.js} +1 -1
- package/lib/duet/{p-3b33c459.entry.js → p-a4f63bc8.entry.js} +1 -1
- package/lib/duet/{p-b77224fc.entry.js → p-a57b8625.entry.js} +1 -1
- package/lib/duet/p-a5ee6446.entry.js +4 -0
- package/lib/duet/{p-7e061e75.system.entry.js → p-a7925c2c.system.entry.js} +2 -2
- package/lib/duet/p-a8657943.entry.js +4 -0
- package/lib/duet/{p-f74e934b.system.entry.js → p-a9dee517.system.entry.js} +1 -1
- package/lib/duet/p-aaf1b496.system.js +4 -0
- package/lib/duet/{p-32d31570.entry.js → p-ab1488e4.entry.js} +1 -1
- package/lib/duet/{p-28cf3d78.entry.js → p-ab308aa0.entry.js} +1 -1
- package/lib/duet/{p-110c2c76.system.entry.js → p-ab9b002c.system.entry.js} +1 -1
- package/lib/duet/{p-d0175269.entry.js → p-ad3c2f28.entry.js} +1 -1
- package/lib/duet/p-ae4927ce.entry.js +4 -0
- package/lib/duet/{p-9ad6fc83.entry.js → p-b07af8d7.entry.js} +1 -1
- package/lib/duet/{p-38e24930.entry.js → p-b29fac9e.entry.js} +1 -1
- package/lib/duet/{p-c2ff6bb2.entry.js → p-b54bf042.entry.js} +1 -1
- package/lib/duet/{p-276da9b8.entry.js → p-b5546c64.entry.js} +1 -1
- package/lib/duet/{p-a7ed46e3.entry.js → p-b6d43529.entry.js} +1 -1
- package/lib/duet/p-b6d51921.system.js +1 -1
- package/lib/duet/{p-40463065.system.entry.js → p-bdd55461.system.entry.js} +2 -2
- package/lib/duet/p-be37633b.entry.js +4 -0
- package/lib/duet/{p-368e63a8.entry.js → p-be8e6a2f.entry.js} +1 -1
- package/lib/duet/{p-e79c63b6.entry.js → p-bf35789c.entry.js} +1 -1
- package/lib/duet/p-c1aafc6e.entry.js +4 -0
- package/lib/duet/{p-5e2af124.entry.js → p-c1b71a60.entry.js} +1 -1
- package/lib/duet/{p-1616c51d.system.entry.js → p-c2860fc6.system.entry.js} +2 -2
- package/lib/duet/{p-c0c92199.system.entry.js → p-c3bf4ada.system.entry.js} +1 -1
- package/lib/duet/{p-ec796dfe.system.entry.js → p-c8967f73.system.entry.js} +2 -2
- package/lib/duet/p-c8dc599d.system.js +1 -1
- package/lib/duet/{p-dd1393e3.system.js → p-ca783bce.system.js} +1 -1
- package/lib/duet/{p-d841291b.entry.js → p-cad183f3.entry.js} +1 -1
- package/lib/duet/{p-a61825d9.entry.js → p-caf1d401.entry.js} +1 -1
- package/lib/duet/p-cb620ca3.system.entry.js +4 -0
- package/lib/duet/{p-c9198461.entry.js → p-cd1ed6f6.entry.js} +1 -1
- package/lib/duet/{p-5ed8969b.system.entry.js → p-cdbd1085.system.entry.js} +2 -2
- package/lib/duet/{p-b134229a.system.entry.js → p-ce48373f.system.entry.js} +2 -2
- package/lib/duet/{p-8584bcfe.system.entry.js → p-cefbaef0.system.entry.js} +1 -1
- package/lib/duet/{p-b7fe2c37.system.entry.js → p-cfdd8822.system.entry.js} +1 -1
- package/lib/duet/{p-60c99082.system.entry.js → p-d58ad6fe.system.entry.js} +1 -1
- package/lib/duet/{p-8146f5d7.system.entry.js → p-d7460d04.system.entry.js} +2 -2
- package/lib/duet/{p-d42279cd.entry.js → p-d86b661a.entry.js} +1 -1
- package/lib/duet/{p-72d18d55.entry.js → p-dc003f39.entry.js} +1 -1
- package/lib/duet/{p-00355028.system.entry.js → p-dd2c8397.system.entry.js} +1 -1
- package/lib/duet/{p-d6dfa7c8.system.entry.js → p-de933c56.system.entry.js} +1 -1
- package/lib/duet/{p-6baede6c.system.entry.js → p-deb6c0b1.system.entry.js} +1 -1
- package/lib/duet/p-df10a767.js +1 -1
- package/lib/duet/{p-99a90b30.entry.js → p-e009dd0e.entry.js} +1 -1
- package/lib/duet/{p-15505723.system.entry.js → p-e0711844.system.entry.js} +1 -1
- package/lib/duet/p-e414a557.js +4 -0
- package/lib/duet/{p-1ff16557.system.entry.js → p-e53475fd.system.entry.js} +1 -1
- package/lib/duet/{p-fd1dcee1.entry.js → p-e66b2cf4.entry.js} +1 -1
- package/lib/duet/{p-d029f8dc.system.entry.js → p-e689dc8c.system.entry.js} +2 -2
- package/lib/duet/{p-c6122404.entry.js → p-eb478d40.entry.js} +1 -1
- package/lib/duet/{p-e6315f68.system.entry.js → p-ebaf813c.system.entry.js} +1 -1
- package/lib/duet/{p-e368e194.entry.js → p-ebd0deb2.entry.js} +1 -1
- package/lib/duet/{p-26ed5006.system.entry.js → p-ec120930.system.entry.js} +2 -2
- package/lib/duet/{p-322f69c7.entry.js → p-ed2fa79e.entry.js} +1 -1
- package/lib/duet/{p-1483de5f.system.entry.js → p-f15e031a.system.entry.js} +2 -2
- package/lib/duet/{p-099119d3.system.entry.js → p-f58f7049.system.entry.js} +1 -1
- package/lib/duet/{p-699f593c.system.entry.js → p-f5bc03c1.system.entry.js} +2 -2
- package/lib/duet/p-f5c10f8e.entry.js +4 -0
- package/lib/duet/{p-6ee35830.entry.js → p-f6ba5087.entry.js} +1 -1
- package/lib/duet/{p-35b74797.entry.js → p-f783a2bc.entry.js} +1 -1
- package/lib/duet/{p-90f06b7a.system.entry.js → p-f80275c5.system.entry.js} +2 -2
- package/lib/duet/p-f93a4db5.entry.js +4 -0
- package/lib/duet/{p-7a3071a5.system.entry.js → p-fa579e10.system.entry.js} +1 -1
- package/lib/duet/{p-684b2d77.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 +8 -1
- package/lib/esm/duet-choice_2.entry.js +8 -7
- 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 +3 -3
- 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 +1 -1
- 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 +33 -2
- package/lib/esm/duet-popup-menu.entry.js +89 -3
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +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 +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +7 -87
- package/lib/esm/{focus-utils-e2239371.js → focus-utils-a516bd48.js} +1 -1
- package/lib/esm/{index-b67ea1f1.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 +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +1 -1
- package/lib/esm-es5/{focus-utils-e2239371.js → focus-utils-a516bd48.js} +1 -1
- 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 +5 -0
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +8 -1
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +26 -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.d.ts +133 -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/dist-custom-elements/p-6ee53ac3.js +0 -390
- package/lib/duet/p-053be9dd.system.js +0 -5
- package/lib/duet/p-08c7360e.system.entry.js +0 -4
- package/lib/duet/p-101cc3fe.system.entry.js +0 -4
- package/lib/duet/p-19ea4e54.entry.js +0 -4
- package/lib/duet/p-2a9e5e4c.entry.js +0 -4
- package/lib/duet/p-434b31e9.system.js +0 -4
- package/lib/duet/p-4f90dd0a.entry.js +0 -4
- package/lib/duet/p-540d7ed6.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-756341c2.system.entry.js +0 -4
- package/lib/duet/p-8094e185.entry.js +0 -4
- package/lib/duet/p-8daa915d.system.entry.js +0 -4
- package/lib/duet/p-91b3d075.entry.js +0 -4
- package/lib/duet/p-9226aca2.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-9e72b23c.system.entry.js +0 -4
- package/lib/duet/p-a1978b4b.entry.js +0 -4
- package/lib/duet/p-b362d8f7.entry.js +0 -4
- package/lib/duet/p-c6b09397.js +0 -4
- package/lib/duet/p-f5b53f2f.system.entry.js +0 -4
- package/lib/duet/p-f9603b0d.entry.js +0 -4
- package/lib/duet/p-fbd0d098.js +0 -5
- package/lib/duet/p-fd4785ab.js +0 -4
- package/lib/duet/p-feaaff49.system.entry.js +0 -4
- package/lib/duet/p-ff5a9358.system.entry.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/index-b67ea1f1.js +0 -5
- package/lib/esm-es5/shadow-css-66bc7949.js +0 -15
- /package/lib/dist-custom-elements/{p-152ee893.js → p-ec4d603d.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { i as isInternetExplorer } from './is-internet-explorer-62b3bdbd.js';
|
|
6
6
|
|
|
7
7
|
const duetLayoutCss = "*,*::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;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-layout-has-top{margin-top:0}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%;margin:72px auto 0}.duet-layout-top.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, g as getElement, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, g as getElement, H as Host } from './index-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { w as watchForOptions } from './watch-options-dd55bce8.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, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-23851de5.js';
|
|
5
5
|
import { a as media_query_large } from './tokens-f6b32339.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.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, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { f as isEscapeKey } from './keyboard-utils-d237bd5a.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, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-23851de5.js';
|
|
5
5
|
import { a as media_query_large } from './tokens-f6b32339.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
7
7
|
import { f as isEscapeKey } from './keyboard-utils-d237bd5a.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { a as media_query_large } from './tokens-f6b32339.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
7
7
|
|
|
@@ -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-23851de5.js';
|
|
5
5
|
import { a as media_query_large, c as media_query_xx_large } from './tokens-f6b32339.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-23851de5.js';
|
|
5
5
|
import { d as disableBodyScroll, e as enableBodyScroll } from './bodyScrollLock.es6-61b5e9a4.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
7
7
|
import { c as createID } from './create-id-981107da.js';
|
|
8
|
-
import { f as focusElement, F as FocusGuard } from './focus-utils-
|
|
8
|
+
import { f as focusElement, F as FocusGuard } from './focus-utils-a516bd48.js';
|
|
9
9
|
import { f as isEscapeKey } from './keyboard-utils-d237bd5a.js';
|
|
10
10
|
import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
|
|
11
11
|
import './string-utils-5954f458.js';
|
|
@@ -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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { c as createID } from './create-id-981107da.js';
|
|
7
7
|
import { f as isEscapeKey, o as isTabKey, j as isEnterKey, d as isArrowLeftKey, b as isArrowUpKey, a as isArrowRightKey, c as isArrowDownKey } from './keyboard-utils-d237bd5a.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.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,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, g as getElement } from './index-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
|
|
7
7
|
import { a as actionArrowDownSmall } from './action-arrow-down-small-82273dc8.js';
|
|
@@ -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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { c as createID } from './create-id-981107da.js';
|
|
7
7
|
import { a as isArrowRightKey, b as isArrowUpKey, c as isArrowDownKey, d as isArrowLeftKey, e as isBackspaceKey } from './keyboard-utils-d237bd5a.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, g as getElement } from './index-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
|
|
7
7
|
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+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44MTYgLTU5LjA0OSAxODAuNDk4IC02MC4yODc3IDE4MS43ODggLTYxLjY1NjdDMTgzLjA2NiAtNjMuMDEyNiAxODUuNDY1IC02Mi4yODI1IDE4OS4wMTIgLTU5LjQ3OTNDMTg0LjczNSAtNTEuMTM1IDE4MC43NTkgLTQyLjk2MDIgMTc3LjAxNyAtMzQuOTAyN0MxNzMuMjg4IC0yNi44NDUyIDE2Ny42ODEgLTE5LjEyNjggMTYwLjIxMSAtMTEuNzYwM0MxNTIuNzUzIC00LjM4MDgzIDE0NC45NTYgMy4zMTE1MiAxMzYuODQ3IDExLjM2OUMxMjguNzI0IDE5LjQyNjUgMTIwLjk2NiAyNy4xNDUgMTEzLjQ4MyAzNC40OTg0Qzk3LjQ5OCA0OS44MTggNzkuNjYyID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TYyIDU2MC4yOTUgMjcuMzUzN0M1NjUuMzc5IDE4LjE3NDkgNTcwLjc3NyA5LjEwMDU1IDU3Ni40MzYgMC4wOTEzMDg2SDQzMC4xNzZDNDI0LjIwNCAxMi42NzMgNDE5LjA1NCAyNS45NDU2IDQxNC44MyAzOS45ODc1QzQwNi40NzMgNjEuOTU2NSA0MDQuMjgyIDgyLjI2OTcgNDA4LjI4NSAxMDAuOTY2QzQxMi4wMTQgMTIwLjQ1OCA0MTguODMzIDEzOC40NjMgNDI4LjcyOCAxNTQuOTgyQzQzOC42MTEgMTcxLjUyOCA0NTIuNDU4IDE4NS4wODcgNDcwLjI1NCAxOTUuN0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K\");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}";
|
|
@@ -1,7 +1,7 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { c as createID } from './create-id-981107da.js';
|
|
7
7
|
import { d as debounce } from './js-utils-fa98b8cd.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
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, c as createEvent, h, H as Host, g as getElement } from './index-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
|
|
7
7
|
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,6 +9,28 @@ const duetPopupMenuItemCss = "*,*::after,*::before{box-sizing:border-box;padding
|
|
|
9
9
|
const DuetPopupMenuItem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
registerInstance(this, hostRef);
|
|
12
|
+
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
13
|
+
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
14
|
+
/**
|
|
15
|
+
* Component event handling.
|
|
16
|
+
*/
|
|
17
|
+
this.onFocus = (ev) => {
|
|
18
|
+
this.focus = true;
|
|
19
|
+
this.duetFocus.emit({
|
|
20
|
+
originalEvent: ev,
|
|
21
|
+
value: this.value,
|
|
22
|
+
component: "duet-popup-menu-item",
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
this.onBlur = (ev) => {
|
|
26
|
+
this.focus = false;
|
|
27
|
+
this.duetBlur.emit({
|
|
28
|
+
originalEvent: ev,
|
|
29
|
+
value: this.value,
|
|
30
|
+
component: "duet-popup-menu-item",
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
this.focus = false;
|
|
12
34
|
this.accessibleLabel = undefined;
|
|
13
35
|
this.theme = "";
|
|
14
36
|
this.url = undefined;
|
|
@@ -25,6 +47,15 @@ const DuetPopupMenuItem = class {
|
|
|
25
47
|
componentWillLoad() {
|
|
26
48
|
inheritGlobalTheme(this);
|
|
27
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Sets focus. Use this method instead of the global focus().
|
|
52
|
+
*/
|
|
53
|
+
async setFocus(options) {
|
|
54
|
+
setTimeout(() => this.itemElement.focus(options), 200);
|
|
55
|
+
}
|
|
56
|
+
async isFocused() {
|
|
57
|
+
return this.focus;
|
|
58
|
+
}
|
|
28
59
|
render() {
|
|
29
60
|
const TagName = this.url ? "a" : "button";
|
|
30
61
|
const classes = {
|
|
@@ -32,7 +63,7 @@ const DuetPopupMenuItem = class {
|
|
|
32
63
|
active: this.active,
|
|
33
64
|
"duet-theme-turva": this.theme === "turva",
|
|
34
65
|
};
|
|
35
|
-
return (h(Host, null, h(TagName, { 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))));
|
|
66
|
+
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))));
|
|
36
67
|
}
|
|
37
68
|
get element() { return getElement(this); }
|
|
38
69
|
};
|
|
@@ -1,10 +1,38 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { c as computePosition, o as offset, f as flip } from './floating-ui.dom.esm-37dc174a.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
7
|
-
import { f as isEscapeKey } from './keyboard-utils-d237bd5a.js';
|
|
7
|
+
import { f as isEscapeKey, c as isArrowDownKey, b as isArrowUpKey, o as isTabKey } from './keyboard-utils-d237bd5a.js';
|
|
8
|
+
import { z as zIndexPopup } from './tokens.module-f436c2cd.js';
|
|
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
|
+
}
|
|
8
36
|
|
|
9
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
|
|
|
@@ -40,6 +68,7 @@ const DuetPopupMenu = class {
|
|
|
40
68
|
*/
|
|
41
69
|
componentWillLoad() {
|
|
42
70
|
inheritGlobalTheme(this);
|
|
71
|
+
this.teleport = new Teleport(this.element);
|
|
43
72
|
}
|
|
44
73
|
componentDidLoad() {
|
|
45
74
|
{
|
|
@@ -51,8 +80,39 @@ const DuetPopupMenu = class {
|
|
|
51
80
|
*/
|
|
52
81
|
handleKeyUp(evt) {
|
|
53
82
|
if (this.open) {
|
|
54
|
-
// When Esc is pressed the
|
|
83
|
+
// When Esc is pressed the menu should be closed
|
|
55
84
|
if (isEscapeKey(evt)) {
|
|
85
|
+
this.focusController();
|
|
86
|
+
this.hide();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
async handleKeyDown(evt) {
|
|
91
|
+
if (this.open) {
|
|
92
|
+
if (isArrowDownKey(evt)) {
|
|
93
|
+
const current = await this.getFocusedItemIndex();
|
|
94
|
+
if (current !== -1) {
|
|
95
|
+
if (current < this.itemElements.length - 1) {
|
|
96
|
+
this.itemElements[current + 1].setFocus();
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
this.itemElements[0].setFocus();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
if (isArrowUpKey(evt)) {
|
|
104
|
+
const current = await this.getFocusedItemIndex();
|
|
105
|
+
if (current !== -1) {
|
|
106
|
+
if (current === 0) {
|
|
107
|
+
this.itemElements[this.itemElements.length - 1].setFocus();
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
this.itemElements[current - 1].setFocus();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
if (isTabKey(evt)) {
|
|
115
|
+
evt.preventDefault();
|
|
56
116
|
this.hide();
|
|
57
117
|
}
|
|
58
118
|
}
|
|
@@ -74,6 +134,8 @@ const DuetPopupMenu = class {
|
|
|
74
134
|
*/
|
|
75
135
|
async show() {
|
|
76
136
|
this.open = true;
|
|
137
|
+
this.teleport.go();
|
|
138
|
+
this.itemElements[0].setFocus();
|
|
77
139
|
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
78
140
|
this.updatePlacement();
|
|
79
141
|
}
|
|
@@ -83,6 +145,8 @@ const DuetPopupMenu = class {
|
|
|
83
145
|
async hide() {
|
|
84
146
|
this.open = false;
|
|
85
147
|
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
148
|
+
this.focusController();
|
|
149
|
+
this.teleport.resume(200);
|
|
86
150
|
}
|
|
87
151
|
/**
|
|
88
152
|
* Toggle.
|
|
@@ -95,6 +159,28 @@ const DuetPopupMenu = class {
|
|
|
95
159
|
this.show();
|
|
96
160
|
}
|
|
97
161
|
}
|
|
162
|
+
focusController() {
|
|
163
|
+
if (this.controller) {
|
|
164
|
+
if ("setFocus" in this.controller) {
|
|
165
|
+
this.controller.setFocus();
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
this.controller.focus();
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
get itemElements() {
|
|
173
|
+
return Array.from(this.element.querySelectorAll(":scope > duet-popup-menu-item"));
|
|
174
|
+
}
|
|
175
|
+
async getFocusedItemIndex() {
|
|
176
|
+
const items = this.itemElements;
|
|
177
|
+
for (let i = 0; i < items.length; i++) {
|
|
178
|
+
if (await items[i].isFocused()) {
|
|
179
|
+
return i;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return -1;
|
|
183
|
+
}
|
|
98
184
|
render() {
|
|
99
185
|
const positionStyles = {
|
|
100
186
|
top: `${this.menuY}px`,
|
|
@@ -1,7 +1,7 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { c as createID } from './create-id-981107da.js';
|
|
7
7
|
import { a as getLocaleString } from './language-utils-6be16ff0.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
|
-
import { g as getColorByName } from './token-utils-
|
|
7
|
-
import './tokens.module-
|
|
6
|
+
import { g as getColorByName } from './token-utils-058d6220.js';
|
|
7
|
+
import './tokens.module-f436c2cd.js';
|
|
8
8
|
|
|
9
9
|
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\"}";
|
|
10
10
|
|
|
@@ -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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { c as createID } from './create-id-981107da.js';
|
|
7
7
|
import { f as findCheckedOption, w as watchForOptions } from './watch-options-dd55bce8.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { i as colorPrimaryTurva, j as colorGrayTurva, k as colorPrimary, l as colorGray } from './tokens.module-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-23851de5.js';
|
|
5
|
+
import { i as colorPrimaryTurva, j as colorGrayTurva, k as colorPrimary, l as colorGray } from './tokens.module-f436c2cd.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
7
7
|
import { c as createID } from './create-id-981107da.js';
|
|
8
8
|
import { i as isInternetExplorer } from './is-internet-explorer-62b3bdbd.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { a as getLocaleString, g as getLanguage } from './language-utils-6be16ff0.js';
|
|
7
7
|
import { c as createID } from './create-id-981107da.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { i as isInternetExplorer } from './is-internet-explorer-62b3bdbd.js';
|
|
6
6
|
|
|
7
7
|
const duetSectionLayoutCss = "*,*::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;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";
|
|
@@ -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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { c as createID } from './create-id-981107da.js';
|
|
7
7
|
import { p as parsePossibleJSON } from './string-utils-5954f458.js';
|
|
@@ -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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
|
|
7
7
|
const duetShapedImageCss = "*,*::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-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-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}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}";
|
|
@@ -1,11 +1,11 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { c as createID } from './create-id-981107da.js';
|
|
7
7
|
import { i as isKeyboardClick } from './keyboard-utils-d237bd5a.js';
|
|
8
|
-
import { g as getLanguage,
|
|
8
|
+
import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
|
|
9
9
|
import './string-utils-5954f458.js';
|
|
10
10
|
|
|
11
11
|
const duetShowMoreCss = "*,*::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:16px !important;display:block}.duet-show-more{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(0, 41, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more.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)}";
|
|
@@ -16,31 +16,6 @@ const DuetShowMore = class {
|
|
|
16
16
|
this.duetToggle = createEvent(this, "duetToggle", 7);
|
|
17
17
|
this.contentId = createID("DuetShowMore");
|
|
18
18
|
this.buttonId = createID("DuetShowMoreButton");
|
|
19
|
-
this.showMoreLangObject = {
|
|
20
|
-
fi: "Näytä lisää",
|
|
21
|
-
sv: "Visa mer",
|
|
22
|
-
en: "Show more",
|
|
23
|
-
};
|
|
24
|
-
this.showLessLangObject = {
|
|
25
|
-
fi: "Näytä vähemmän",
|
|
26
|
-
sv: "Visa mindre",
|
|
27
|
-
en: "Show less",
|
|
28
|
-
};
|
|
29
|
-
this.showMoreContentAriaLangObject = {
|
|
30
|
-
fi: "Piilotettu sisältö",
|
|
31
|
-
sv: "Utökat innehåll",
|
|
32
|
-
en: "Hidden content",
|
|
33
|
-
};
|
|
34
|
-
this.showMoreAriaLangObject = {
|
|
35
|
-
fi: "Paljasta piilotettu sisältö ennen tätä painiketta",
|
|
36
|
-
sv: "Visa dolt innehåll före den här knappen",
|
|
37
|
-
en: "Reveal hidden content before this button",
|
|
38
|
-
};
|
|
39
|
-
this.showLessAriaLangObject = {
|
|
40
|
-
fi: "Piilota paljastettu sisältö ennen tätä painiketta",
|
|
41
|
-
sv: "Dölj innehåll före den här knappen",
|
|
42
|
-
en: "Hide revealed content before this button",
|
|
43
|
-
};
|
|
44
19
|
this.handleKeyDown = (e) => {
|
|
45
20
|
if (isKeyboardClick(e)) {
|
|
46
21
|
this.handleClick(e);
|
|
@@ -50,21 +25,72 @@ const DuetShowMore = class {
|
|
|
50
25
|
e.preventDefault();
|
|
51
26
|
const open = !this.open;
|
|
52
27
|
this.open = open;
|
|
28
|
+
if (open) {
|
|
29
|
+
setTimeout(() => {
|
|
30
|
+
this.contentElement.focus();
|
|
31
|
+
}, 100);
|
|
32
|
+
setTimeout(() => {
|
|
33
|
+
this.buttonAriaOpen = open;
|
|
34
|
+
}, 500);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
this.buttonAriaOpen = open;
|
|
38
|
+
}
|
|
53
39
|
this.duetToggle.emit({
|
|
54
40
|
component: "duet-show-more",
|
|
55
41
|
originalEvent: e,
|
|
56
42
|
});
|
|
57
43
|
};
|
|
44
|
+
this.buttonAriaOpen = false;
|
|
58
45
|
this.theme = "";
|
|
59
46
|
this.language = getLanguage();
|
|
47
|
+
this.showMoreLabelDefaults = {
|
|
48
|
+
fi: "Näytä lisää",
|
|
49
|
+
sv: "Visa mer",
|
|
50
|
+
en: "Show more",
|
|
51
|
+
};
|
|
52
|
+
this.showMoreLabel = getLocaleString(this.showMoreLabelDefaults);
|
|
53
|
+
this.showLessLabelDefaults = {
|
|
54
|
+
fi: "Näytä vähemmän",
|
|
55
|
+
sv: "Visa mindre",
|
|
56
|
+
en: "Show less",
|
|
57
|
+
};
|
|
58
|
+
this.showLessLabel = getLocaleString(this.showLessLabelDefaults);
|
|
59
|
+
this.showMoreAccessibleLabelDefaults = {
|
|
60
|
+
fi: "Näytä lisää tästä aiheesta",
|
|
61
|
+
sv: "Visa mer om detta ämne",
|
|
62
|
+
en: "Show more about this subject",
|
|
63
|
+
};
|
|
64
|
+
this.showMoreAccessibleLabel = getLocaleString(this.showMoreAccessibleLabelDefaults);
|
|
65
|
+
this.showLessAccessibleLabelDefaults = {
|
|
66
|
+
fi: "Näytä vähemmän tästä aiheesta",
|
|
67
|
+
sv: "Visa mindre om detta ämne",
|
|
68
|
+
en: "Show less about this subject",
|
|
69
|
+
};
|
|
70
|
+
this.showLessAccessibleLabel = getLocaleString(this.showLessAccessibleLabelDefaults);
|
|
60
71
|
this.margin = "auto";
|
|
61
72
|
this.open = false;
|
|
62
73
|
}
|
|
74
|
+
watchLanguageStateHandler(newValue, oldValue) {
|
|
75
|
+
if (newValue !== oldValue && this.showMoreLabel === this.showMoreLabelDefaults[oldValue]) {
|
|
76
|
+
this.showMoreLabel = getLocaleString(this.showMoreLabelDefaults, newValue);
|
|
77
|
+
}
|
|
78
|
+
if (newValue !== oldValue && this.showLessLabel === this.showLessLabelDefaults[oldValue]) {
|
|
79
|
+
this.showLessLabel = getLocaleString(this.showLessLabelDefaults, newValue);
|
|
80
|
+
}
|
|
81
|
+
if (newValue !== oldValue && this.showMoreAccessibleLabel === this.showMoreAccessibleLabelDefaults[oldValue]) {
|
|
82
|
+
this.showMoreAccessibleLabel = getLocaleString(this.showMoreAccessibleLabelDefaults, newValue);
|
|
83
|
+
}
|
|
84
|
+
if (newValue !== oldValue && this.showLessAccessibleLabel === this.showLessAccessibleLabelDefaults[oldValue]) {
|
|
85
|
+
this.showLessAccessibleLabel = getLocaleString(this.showLessAccessibleLabelDefaults, newValue);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
63
88
|
/**
|
|
64
89
|
* Component lifecycle events.
|
|
65
90
|
*/
|
|
66
91
|
componentWillLoad() {
|
|
67
92
|
inheritGlobalTheme(this);
|
|
93
|
+
this.buttonAriaOpen = this.open;
|
|
68
94
|
}
|
|
69
95
|
connectedCallback() {
|
|
70
96
|
connectLanguageChangeObserver(this);
|
|
@@ -82,9 +108,12 @@ const DuetShowMore = class {
|
|
|
82
108
|
"duet-theme-turva": this.theme === "turva",
|
|
83
109
|
"duet-m-0": this.margin === "none",
|
|
84
110
|
open: this.open,
|
|
85
|
-
} }, h("div", {
|
|
111
|
+
} }, h("div", { ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, h("div", { class: { "slotted-content": true } }, h("slot", null))), h("duet-button", { id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small" }, this.open ? this.showLessLabel : this.showMoreLabel))));
|
|
86
112
|
}
|
|
87
113
|
get element() { return getElement(this); }
|
|
114
|
+
static get watchers() { return {
|
|
115
|
+
"language": ["watchLanguageStateHandler"]
|
|
116
|
+
}; }
|
|
88
117
|
};
|
|
89
118
|
DuetShowMore.style = duetShowMoreCss;
|
|
90
119
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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-23851de5.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
|
|
6
6
|
import { g as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, a as getLocaleString } from './language-utils-6be16ff0.js';
|
|
7
7
|
import './string-utils-5954f458.js';
|