@duetds/components 6.10.2 → 6.10.4
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 +4370 -3798
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- 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 +168 -0
- package/lib/cjs/duet-choice_2.cjs.entry.js +24 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +32 -135
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-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 +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- 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 +8 -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 +45 -0
- package/lib/cjs/duet-popup-menu.cjs.entry.js +113 -0
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +5 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- 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 +95 -0
- 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 +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- 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.cjs.entry.js +4 -1174
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- 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 +2 -2
- package/lib/cjs/errorcodes.utils-5deca818.js +39 -0
- package/lib/cjs/floating-ui.dom.esm-3801794e.js +1251 -0
- package/lib/cjs/{focus-utils-a7ec8d4d.js → focus-utils-a66763f4.js} +1 -1
- package/lib/cjs/{index-b91d0c7f.js → index-4eb7ce33.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +5 -0
- package/lib/collection/components/duet-chip/duet-chip.css +202 -0
- package/lib/collection/components/duet-chip/duet-chip.js +395 -0
- package/lib/collection/components/duet-choice/duet-choice.css +60 -33
- package/lib/collection/components/duet-choice/duet-choice.js +39 -8
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -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-number-input/duet-number-input.js +23 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +57 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +361 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +69 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +225 -0
- package/lib/collection/components/duet-radio/duet-radio.css +3 -3
- package/lib/collection/components/duet-radio/duet-radio.js +9 -3
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.css +46 -0
- package/lib/collection/components/duet-show-more/duet-show-more.js +214 -0
- 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/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +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 +3 -3
- 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.d.ts +11 -0
- package/lib/dist-custom-elements/duet-chip.js +200 -0
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +28 -14
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +10 -10
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +10 -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 +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- 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 +18 -10
- 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.d.ts +11 -0
- package/lib/dist-custom-elements/duet-popup-menu-item.js +75 -0
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +11 -0
- package/lib/dist-custom-elements/duet-popup-menu.js +142 -0
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +6 -5
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- 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.d.ts +11 -0
- package/lib/dist-custom-elements/duet-show-more.js +137 -0
- 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 +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- 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 +11 -11
- 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 +8 -8
- 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.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- 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 +58 -158
- 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-4197b9ee.js → p-006d0fb1.js} +2 -2
- package/lib/dist-custom-elements/{p-05139591.js → p-03297bf3.js} +1 -1
- package/lib/dist-custom-elements/{p-e3acab40.js → p-08f20e44.js} +2 -2
- package/lib/dist-custom-elements/{p-39c6c68e.js → p-0f04ecb5.js} +1 -1
- package/lib/dist-custom-elements/{p-c202693f.js → p-171c70e8.js} +1 -1
- package/lib/dist-custom-elements/{p-8fb68cb1.js → p-1b34adf1.js} +2 -2
- package/lib/dist-custom-elements/{p-d6a6460a.js → p-1f14a267.js} +1 -1
- package/lib/dist-custom-elements/{p-f6b5ce88.js → p-226f50bb.js} +1 -1
- package/lib/dist-custom-elements/{p-1b3de4b8.js → p-25d3d458.js} +1 -1
- package/lib/dist-custom-elements/{p-2b132855.js → p-25fa826f.js} +1 -1
- package/lib/dist-custom-elements/{p-e6f6efa6.js → p-265d42fd.js} +1 -1
- package/lib/dist-custom-elements/{p-96b624ec.js → p-26a65533.js} +1 -1
- package/lib/dist-custom-elements/{p-419d2da0.js → p-2b8c0c2f.js} +6 -6
- package/lib/dist-custom-elements/{p-28658e20.js → p-37255027.js} +8 -8
- package/lib/dist-custom-elements/{p-58105b4f.js → p-3e609785.js} +1 -1
- package/lib/dist-custom-elements/p-4c575cf4.js +278 -0
- package/lib/dist-custom-elements/{p-9e83a449.js → p-5114f1bd.js} +2 -2
- package/lib/dist-custom-elements/{p-8638ba69.js → p-5c48ca92.js} +1 -1
- package/lib/dist-custom-elements/{p-ea756e9e.js → p-661fee29.js} +6 -6
- package/lib/dist-custom-elements/{p-3595aea9.js → p-7681059e.js} +1 -1
- package/lib/dist-custom-elements/{p-7d6d90bc.js → p-7c2e755b.js} +1 -1
- package/lib/dist-custom-elements/{p-e3ac121c.js → p-80cd62f8.js} +5 -5
- package/lib/dist-custom-elements/p-84a78894.js +187 -0
- package/lib/dist-custom-elements/{p-62f3b6cb.js → p-8a1632b1.js} +3 -3
- package/lib/dist-custom-elements/{p-eb29050b.js → p-a60259d1.js} +1 -1
- package/lib/dist-custom-elements/{p-227cc94f.js → p-b98f1d2a.js} +1 -1
- package/lib/dist-custom-elements/{p-6de01596.js → p-c85e7fbd.js} +1 -1
- package/lib/dist-custom-elements/{p-6f4b6168.js → p-d5e61aac.js} +1 -1
- package/lib/dist-custom-elements/{p-a0f68c00.js → p-dbb9df4e.js} +3 -3
- package/lib/dist-custom-elements/{p-38b3c30a.js → p-df10a767.js} +71 -274
- package/lib/dist-custom-elements/p-e0afb5aa.js +197 -0
- package/lib/dist-custom-elements/{p-beca0ced.js → p-e467de13.js} +1 -1
- package/lib/dist-custom-elements/{p-2747b8c6.js → p-ffc196f5.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-d3323581.system.entry.js → p-000a0a75.system.entry.js} +1 -1
- package/lib/duet/{p-6766ef3d.system.entry.js → p-00355028.system.entry.js} +1 -1
- package/lib/duet/{p-62b68de6.system.js → p-053be9dd.system.js} +1 -1
- package/lib/duet/p-05dd0fb6.entry.js +4 -0
- package/lib/duet/{p-1e6f5e74.system.entry.js → p-06969947.system.entry.js} +1 -1
- package/lib/duet/p-08c7360e.system.entry.js +4 -0
- package/lib/duet/{p-5e7dc52a.system.entry.js → p-099119d3.system.entry.js} +1 -1
- package/lib/duet/{p-6ad538a7.system.entry.js → p-0b696003.system.entry.js} +1 -1
- package/lib/duet/p-101cc3fe.system.entry.js +4 -0
- package/lib/duet/{p-1df0bbf9.system.entry.js → p-110c2c76.system.entry.js} +1 -1
- package/lib/duet/{p-8c404f51.system.entry.js → p-11d01178.system.entry.js} +1 -1
- package/lib/duet/{p-87f85912.system.entry.js → p-13fa33f3.system.entry.js} +1 -1
- package/lib/duet/{p-91a5c4fd.system.entry.js → p-1483de5f.system.entry.js} +1 -1
- package/lib/duet/{p-62b435d1.system.entry.js → p-15505723.system.entry.js} +1 -1
- package/lib/duet/{p-89d9030e.system.entry.js → p-1616c51d.system.entry.js} +1 -1
- package/lib/duet/{p-1f3d12d2.system.entry.js → p-184ee980.system.entry.js} +1 -1
- package/lib/duet/p-19ea4e54.entry.js +4 -0
- package/lib/duet/{p-cfde4f9a.system.entry.js → p-1ff16557.system.entry.js} +1 -1
- package/lib/duet/{p-f88ac93f.system.entry.js → p-20c19d2e.system.entry.js} +1 -1
- package/lib/duet/p-26ed5006.system.entry.js +4 -0
- package/lib/duet/{p-72a2ff4d.entry.js → p-276da9b8.entry.js} +1 -1
- package/lib/duet/{p-94d448f9.system.entry.js → p-28b0deff.system.entry.js} +1 -1
- package/lib/duet/{p-03522bb4.entry.js → p-28cf3d78.entry.js} +1 -1
- package/lib/duet/{p-af3060c1.system.entry.js → p-2a37e574.system.entry.js} +1 -1
- package/lib/duet/{p-de31586c.system.entry.js → p-2a9b8270.system.entry.js} +1 -1
- package/lib/duet/{p-245a63f4.entry.js → p-2a9e5e4c.entry.js} +1 -1
- package/lib/duet/{p-17d2c223.system.entry.js → p-2bd98cbe.system.entry.js} +1 -1
- package/lib/duet/{p-c424c794.entry.js → p-31155f08.entry.js} +1 -1
- package/lib/duet/{p-8f7f4724.entry.js → p-322f69c7.entry.js} +1 -1
- package/lib/duet/{p-56b92797.entry.js → p-32d31570.entry.js} +1 -1
- package/lib/duet/{p-909e088e.system.entry.js → p-32ee127a.system.entry.js} +1 -1
- package/lib/duet/{p-d159787d.entry.js → p-35b74797.entry.js} +1 -1
- package/lib/duet/{p-058dfaad.entry.js → p-368e63a8.entry.js} +1 -1
- package/lib/duet/{p-e7af2cd8.system.entry.js → p-380ead38.system.entry.js} +1 -1
- package/lib/duet/{p-c7fbe38a.entry.js → p-38e24930.entry.js} +1 -1
- package/lib/duet/{p-6392cafe.entry.js → p-3b33c459.entry.js} +1 -1
- package/lib/duet/{p-2f8c7a7d.entry.js → p-3c43d0ee.entry.js} +1 -1
- package/lib/duet/{p-30551712.system.entry.js → p-40463065.system.entry.js} +1 -1
- package/lib/duet/p-434b31e9.system.js +4 -0
- package/lib/duet/{p-5c4a2f44.system.entry.js → p-45046cb8.system.entry.js} +1 -1
- package/lib/duet/{p-99a8b5f5.entry.js → p-4667e5cc.entry.js} +1 -1
- package/lib/duet/{p-bbadf525.system.entry.js → p-4956fa1c.system.entry.js} +1 -1
- package/lib/duet/{p-d18383cd.entry.js → p-4af3a90a.entry.js} +1 -1
- package/lib/duet/{p-b906790d.entry.js → p-4f321fb8.entry.js} +1 -1
- package/lib/duet/{p-29ce564d.entry.js → p-4f90dd0a.entry.js} +1 -1
- package/lib/duet/{p-a6917de1.system.entry.js → p-4fc64fe9.system.entry.js} +1 -1
- package/lib/duet/{p-6a42d57c.system.entry.js → p-521b2f02.system.entry.js} +1 -1
- package/lib/duet/p-540d7ed6.entry.js +4 -0
- package/lib/duet/p-549a1ffd.system.entry.js +4 -0
- package/lib/duet/{p-eb9c8e60.entry.js → p-5e2af124.entry.js} +1 -1
- package/lib/duet/{p-cad8060d.system.entry.js → p-5ed8969b.system.entry.js} +1 -1
- package/lib/duet/{p-420dfc2c.entry.js → p-604adb3e.entry.js} +1 -1
- package/lib/duet/{p-c085e346.system.entry.js → p-60c99082.system.entry.js} +1 -1
- package/lib/duet/{p-ef033a06.system.entry.js → p-6508eed1.system.entry.js} +1 -1
- package/lib/duet/{p-09daf29e.system.entry.js → p-684b2d77.system.entry.js} +1 -1
- package/lib/duet/{p-0738bb7d.system.entry.js → p-6892546a.system.entry.js} +1 -1
- package/lib/duet/{p-36edc06c.system.entry.js → p-699f593c.system.entry.js} +1 -1
- package/lib/duet/p-6b115b63.system.js +4 -0
- package/lib/duet/{p-ed78f6fe.system.entry.js → p-6baede6c.system.entry.js} +1 -1
- package/lib/duet/{p-42e270f3.entry.js → p-6bb42603.entry.js} +1 -1
- package/lib/duet/{p-0dda8331.entry.js → p-6e93b2f3.entry.js} +1 -1
- package/lib/duet/{p-dc9bf216.entry.js → p-6ee35830.entry.js} +1 -1
- package/lib/duet/{p-9c554b07.entry.js → p-700cc5d1.entry.js} +1 -1
- package/lib/duet/{p-ff5f4d38.entry.js → p-721bf508.entry.js} +1 -1
- package/lib/duet/{p-a4cc9386.system.entry.js → p-7284cb09.system.entry.js} +1 -1
- package/lib/duet/{p-d85d8db5.entry.js → p-72d18d55.entry.js} +1 -1
- package/lib/duet/p-756341c2.system.entry.js +4 -0
- package/lib/duet/{p-a31222e3.entry.js → p-7565b093.entry.js} +1 -1
- package/lib/duet/{p-673127ac.system.entry.js → p-773268e7.system.entry.js} +1 -1
- package/lib/duet/{p-30c684e8.entry.js → p-77616680.entry.js} +1 -1
- package/lib/duet/{p-f4799c34.system.entry.js → p-7a3071a5.system.entry.js} +1 -1
- package/lib/duet/{p-779be7c6.system.entry.js → p-7e061e75.system.entry.js} +1 -1
- package/lib/duet/{p-8ec5c49e.entry.js → p-7f588669.entry.js} +1 -1
- package/lib/duet/p-8094e185.entry.js +4 -0
- package/lib/duet/{p-7dea5e1a.system.entry.js → p-8146f5d7.system.entry.js} +1 -1
- package/lib/duet/{p-81668ed2.system.entry.js → p-82330774.system.entry.js} +1 -1
- package/lib/duet/{p-1d3647c6.system.entry.js → p-8275330c.system.entry.js} +1 -1
- package/lib/duet/p-82b5380b.system.js +4 -0
- package/lib/duet/{p-0fbdbb6a.entry.js → p-8445fc10.entry.js} +1 -1
- package/lib/duet/{p-0b34d9b5.system.entry.js → p-8584bcfe.system.entry.js} +1 -1
- package/lib/duet/{p-07300cb6.entry.js → p-86e7a88a.entry.js} +1 -1
- package/lib/duet/p-871eca43.entry.js +4 -0
- package/lib/duet/{p-72d1f618.system.entry.js → p-8862fec1.system.entry.js} +1 -1
- package/lib/duet/{p-1b11e540.entry.js → p-8cf359d9.entry.js} +1 -1
- package/lib/duet/{p-2528a411.system.entry.js → p-8daa915d.system.entry.js} +1 -1
- package/lib/duet/{p-379e2995.system.entry.js → p-8db6114f.system.entry.js} +1 -1
- package/lib/duet/p-90f06b7a.system.entry.js +4 -0
- package/lib/duet/p-91b3d075.entry.js +4 -0
- package/lib/duet/p-9226aca2.entry.js +4 -0
- package/lib/duet/{p-fd33eb2c.entry.js → p-99a90b30.entry.js} +1 -1
- package/lib/duet/{p-3b70cce3.entry.js → p-9ad6fc83.entry.js} +1 -1
- package/lib/duet/p-9e72b23c.system.entry.js +4 -0
- package/lib/duet/{p-13384099.entry.js → p-9ec0d197.entry.js} +1 -1
- package/lib/duet/{p-1a542b7c.system.entry.js → p-a0f76a04.system.entry.js} +1 -1
- package/lib/duet/p-a1978b4b.entry.js +4 -0
- package/lib/duet/p-a2ddca83.system.entry.js +4 -0
- package/lib/duet/{p-a7c64d94.entry.js → p-a5cf2316.entry.js} +1 -1
- package/lib/duet/{p-39496689.entry.js → p-a61825d9.entry.js} +1 -1
- package/lib/duet/{p-22dd2fab.entry.js → p-a6696d45.entry.js} +1 -1
- package/lib/duet/{p-7f8020bf.entry.js → p-a66ca0af.entry.js} +1 -1
- package/lib/duet/{p-62c70a95.entry.js → p-a7ed46e3.entry.js} +1 -1
- package/lib/duet/{p-85ad609f.entry.js → p-a86ae0c3.entry.js} +1 -1
- package/lib/duet/{p-9960de16.entry.js → p-ae7602cb.entry.js} +1 -1
- package/lib/duet/{p-cf9279b9.system.entry.js → p-b134229a.system.entry.js} +1 -1
- package/lib/duet/p-b362d8f7.entry.js +4 -0
- package/lib/duet/{p-65a5fdd5.entry.js → p-b4b5f803.entry.js} +1 -1
- package/lib/duet/{p-8cf1327e.entry.js → p-b594282a.entry.js} +1 -1
- package/lib/duet/{p-cb5ebe92.system.entry.js → p-b650e679.system.entry.js} +1 -1
- package/lib/duet/{p-6a07feba.entry.js → p-b77224fc.entry.js} +1 -1
- package/lib/duet/{p-6a89c7d0.system.entry.js → p-b7fe2c37.system.entry.js} +1 -1
- package/lib/duet/{p-931c3e1f.system.entry.js → p-bc541e97.system.entry.js} +1 -1
- package/lib/duet/{p-93ef4cc2.system.entry.js → p-be295e13.system.entry.js} +1 -1
- package/lib/duet/{p-98202339.entry.js → p-c0874730.entry.js} +1 -1
- package/lib/duet/{p-1d73a1d2.system.entry.js → p-c0c92199.system.entry.js} +1 -1
- package/lib/duet/p-c185ea87.system.entry.js +4 -0
- package/lib/duet/{p-fa400061.entry.js → p-c1c6a4f5.entry.js} +1 -1
- package/lib/duet/p-c2ff6bb2.entry.js +4 -0
- package/lib/duet/{p-637f635a.entry.js → p-c391b2a4.entry.js} +1 -1
- package/lib/duet/p-c5efb3f6.entry.js +4 -0
- package/lib/duet/p-c6122404.entry.js +4 -0
- package/lib/duet/p-c6b09397.js +4 -0
- package/lib/duet/p-c79f4b4b.entry.js +4 -0
- package/lib/duet/{p-32237f45.entry.js → p-c9198461.entry.js} +1 -1
- package/lib/duet/{p-770d0c35.system.entry.js → p-ca2725cd.system.entry.js} +1 -1
- package/lib/duet/{p-4a97ca92.system.entry.js → p-ca4d7a6d.system.entry.js} +1 -1
- package/lib/duet/{p-ee909d5f.system.entry.js → p-cb4799d1.system.entry.js} +1 -1
- package/lib/duet/{p-2a277fb6.entry.js → p-ccb08e8c.entry.js} +1 -1
- package/lib/duet/p-cf504df5.js +4 -0
- package/lib/duet/{p-b76ce62b.entry.js → p-cff11c78.entry.js} +1 -1
- package/lib/duet/{p-22e418ea.entry.js → p-d0175269.entry.js} +1 -1
- package/lib/duet/{p-91df8a4a.system.entry.js → p-d029f8dc.system.entry.js} +1 -1
- package/lib/duet/{p-5f2e386e.entry.js → p-d42279cd.entry.js} +1 -1
- package/lib/duet/{p-b3154717.entry.js → p-d4bc7a19.entry.js} +1 -1
- package/lib/duet/{p-1c7ad230.system.entry.js → p-d6dfa7c8.system.entry.js} +1 -1
- package/lib/duet/{p-ad3eba9a.entry.js → p-d841291b.entry.js} +1 -1
- package/lib/duet/{p-5048f9a7.entry.js → p-d988f03a.entry.js} +1 -1
- package/lib/duet/{p-a8a1d1f6.entry.js → p-da4f4b6c.entry.js} +1 -1
- package/lib/duet/{p-bd1d0640.system.js → p-dd1393e3.system.js} +1 -1
- package/lib/duet/{p-e9939ddb.system.entry.js → p-dee73c08.system.entry.js} +1 -1
- package/lib/duet/p-df10a767.js +4 -0
- package/lib/duet/{p-4f4ed95d.system.entry.js → p-df213a66.system.entry.js} +1 -1
- package/lib/duet/{p-e501bad4.system.entry.js → p-e288bb38.system.entry.js} +1 -1
- package/lib/duet/{p-5c444839.entry.js → p-e368e194.entry.js} +1 -1
- package/lib/duet/{p-f5728af6.system.entry.js → p-e6315f68.system.entry.js} +1 -1
- package/lib/duet/{p-1b426189.entry.js → p-e79c63b6.entry.js} +1 -1
- package/lib/duet/{p-2d3dbd85.system.entry.js → p-e8d8c7a2.system.entry.js} +1 -1
- package/lib/duet/{p-925f2b45.entry.js → p-e983ff0c.entry.js} +1 -1
- package/lib/duet/{p-17dc8da9.system.entry.js → p-ec796dfe.system.entry.js} +1 -1
- package/lib/duet/{p-d7425b07.entry.js → p-f58832f6.entry.js} +1 -1
- package/lib/duet/p-f5b53f2f.system.entry.js +4 -0
- package/lib/duet/{p-073221c9.system.entry.js → p-f74e934b.system.entry.js} +1 -1
- package/lib/duet/{p-c794bee3.system.entry.js → p-f78e3197.system.entry.js} +1 -1
- package/lib/duet/{p-6c1a2b16.entry.js → p-f90e86d3.entry.js} +1 -1
- package/lib/duet/p-f9603b0d.entry.js +4 -0
- package/lib/duet/{p-308b881b.js → p-fbd0d098.js} +1 -1
- package/lib/duet/{p-6486ab91.entry.js → p-fd1dcee1.entry.js} +1 -1
- package/lib/duet/{p-b4e863ee.system.entry.js → p-feaaff49.system.entry.js} +1 -1
- package/lib/duet/p-ff5a9358.system.entry.js +4 -0
- package/lib/duet/{p-d6a1c0de.entry.js → p-ffa34163.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- 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 +164 -0
- package/lib/esm/duet-choice_2.entry.js +24 -11
- package/lib/esm/duet-collapsible.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +24 -127
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- 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 +8 -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 +41 -0
- package/lib/esm/duet-popup-menu.entry.js +109 -0
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +5 -4
- package/lib/esm/duet-range-slider.entry.js +1 -1
- 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 +91 -0
- 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 +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- 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.entry.js +2 -1172
- package/lib/esm/duet-tray.entry.js +1 -1
- 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 +3 -3
- package/lib/esm/errorcodes.utils-c0c33bce.js +36 -0
- package/lib/esm/floating-ui.dom.esm-37dc174a.js +1245 -0
- package/lib/esm/{focus-utils-552e67ed.js → focus-utils-e2239371.js} +1 -1
- package/lib/esm/{index-5aaf4b5b.js → index-b67ea1f1.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +4 -0
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +4 -0
- package/lib/esm-es5/duet-popup-menu.entry.js +4 -0
- 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 +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +4 -0
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.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 +4 -0
- package/lib/esm-es5/focus-utils-e2239371.js +4 -0
- package/lib/esm-es5/{index-5aaf4b5b.js → index-b67ea1f1.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +97 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +7 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +4 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +77 -0
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +51 -0
- package/lib/types/components/duet-radio/duet-radio.d.ts +4 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +53 -0
- 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 +417 -0
- package/package.json +11 -6
- package/lib/collection/components/duet-upload/upload-item.js +0 -44
- package/lib/dist-custom-elements/p-00f8d4bc.js +0 -183
- package/lib/duet/p-077edef7.entry.js +0 -4
- package/lib/duet/p-0952d4a4.system.entry.js +0 -4
- package/lib/duet/p-225d9dbe.js +0 -4
- package/lib/duet/p-2cab347d.system.entry.js +0 -4
- package/lib/duet/p-3a0676ab.entry.js +0 -4
- package/lib/duet/p-55952227.system.entry.js +0 -4
- package/lib/duet/p-5ad63594.entry.js +0 -4
- package/lib/duet/p-6a9319ad.system.entry.js +0 -4
- package/lib/duet/p-75898c81.entry.js +0 -4
- package/lib/duet/p-78cb4832.entry.js +0 -4
- package/lib/duet/p-80f4a443.system.js +0 -4
- package/lib/duet/p-8c9d67e4.entry.js +0 -4
- package/lib/duet/p-8faea849.entry.js +0 -4
- package/lib/duet/p-b17e6185.system.entry.js +0 -4
- package/lib/duet/p-c1ccc327.entry.js +0 -4
- package/lib/duet/p-c654f863.system.entry.js +0 -4
- package/lib/duet/p-f8d00821.entry.js +0 -4
- package/lib/esm-es5/focus-utils-552e67ed.js +0 -4
- package/lib/types/components/duet-upload/upload-item.d.ts +0 -20
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.duet-popup-menu-list {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 0;
|
|
28
|
+
left: 0;
|
|
29
|
+
z-index: 950;
|
|
30
|
+
width: max-content;
|
|
31
|
+
min-width: 175px;
|
|
32
|
+
padding: 0;
|
|
33
|
+
padding: 1rem 0;
|
|
34
|
+
margin: 0;
|
|
35
|
+
color: rgb(0, 41, 77);
|
|
36
|
+
list-style: none;
|
|
37
|
+
visibility: hidden !important;
|
|
38
|
+
background: rgb(243, 249, 252);
|
|
39
|
+
border-radius: 0 0 8px 8px;
|
|
40
|
+
box-shadow: 0 6px 6px 0 rgba(0, 41, 77, 0.1);
|
|
41
|
+
opacity: 0;
|
|
42
|
+
transition: transform 300ms ease, visibility 300ms ease, opacity 300ms ease;
|
|
43
|
+
transform: scaleY(0);
|
|
44
|
+
transform-origin: top center;
|
|
45
|
+
}
|
|
46
|
+
.duet-popup-menu-list.open {
|
|
47
|
+
visibility: visible !important;
|
|
48
|
+
opacity: 1;
|
|
49
|
+
transform: scaleY(1);
|
|
50
|
+
}
|
|
51
|
+
.duet-popup-menu-list.fixed {
|
|
52
|
+
position: fixed;
|
|
53
|
+
}
|
|
54
|
+
.duet-popup-menu-list.duet-theme-turva {
|
|
55
|
+
color: rgb(23, 28, 58) !important;
|
|
56
|
+
background: rgb(245, 245, 247);
|
|
57
|
+
}
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { computePosition, flip, offset } from "@floating-ui/dom";
|
|
5
|
+
import { Build, h, Host } from "@stencil/core";
|
|
6
|
+
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
+
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
8
|
+
export class DuetPopupMenu {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.updatePlacement = async () => {
|
|
11
|
+
if (!this.controller) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const coordinates = await computePosition(this.controller, this.element, {
|
|
15
|
+
middleware: [offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }), flip()],
|
|
16
|
+
placement: this.placement,
|
|
17
|
+
strategy: this.position,
|
|
18
|
+
});
|
|
19
|
+
this.menuY = coordinates.y;
|
|
20
|
+
this.menuX = coordinates.x;
|
|
21
|
+
};
|
|
22
|
+
this.open = false;
|
|
23
|
+
this.menuY = undefined;
|
|
24
|
+
this.menuX = undefined;
|
|
25
|
+
this.accessibleLabel = undefined;
|
|
26
|
+
this.theme = "";
|
|
27
|
+
this.controller = undefined;
|
|
28
|
+
this.placement = "bottom-start";
|
|
29
|
+
this.position = "absolute";
|
|
30
|
+
this.mainAxisOffset = 0;
|
|
31
|
+
this.crossAxisOffset = 0;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Component lifecycle events.
|
|
35
|
+
*/
|
|
36
|
+
componentWillLoad() {
|
|
37
|
+
inheritGlobalTheme(this);
|
|
38
|
+
}
|
|
39
|
+
componentDidLoad() {
|
|
40
|
+
if (!Build.isServer) {
|
|
41
|
+
this.updatePlacement();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Component event handling.
|
|
46
|
+
*/
|
|
47
|
+
handleKeyUp(evt) {
|
|
48
|
+
if (this.open) {
|
|
49
|
+
// When Esc is pressed the modal should be closed
|
|
50
|
+
if (isEscapeKey(evt)) {
|
|
51
|
+
this.hide();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
handleClick(evt) {
|
|
56
|
+
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.controller);
|
|
57
|
+
if (this.open && isClickOutside) {
|
|
58
|
+
this.hide();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* isOpen.
|
|
63
|
+
*/
|
|
64
|
+
async isOpen() {
|
|
65
|
+
return this.open;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Show.
|
|
69
|
+
*/
|
|
70
|
+
async show() {
|
|
71
|
+
this.open = true;
|
|
72
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
73
|
+
this.updatePlacement();
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Hide.
|
|
77
|
+
*/
|
|
78
|
+
async hide() {
|
|
79
|
+
this.open = false;
|
|
80
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Toggle.
|
|
84
|
+
*/
|
|
85
|
+
async toggle() {
|
|
86
|
+
if (this.open) {
|
|
87
|
+
this.hide();
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
this.show();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
render() {
|
|
94
|
+
const positionStyles = {
|
|
95
|
+
top: `${this.menuY}px`,
|
|
96
|
+
left: `${this.menuX}px`,
|
|
97
|
+
};
|
|
98
|
+
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))));
|
|
99
|
+
}
|
|
100
|
+
static get is() { return "duet-popup-menu"; }
|
|
101
|
+
static get encapsulation() { return "shadow"; }
|
|
102
|
+
static get originalStyleUrls() {
|
|
103
|
+
return {
|
|
104
|
+
"$": ["duet-popup-menu.scss"]
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
static get styleUrls() {
|
|
108
|
+
return {
|
|
109
|
+
"$": ["duet-popup-menu.css"]
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
static get properties() {
|
|
113
|
+
return {
|
|
114
|
+
"accessibleLabel": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"mutable": false,
|
|
117
|
+
"complexType": {
|
|
118
|
+
"original": "string",
|
|
119
|
+
"resolved": "string",
|
|
120
|
+
"references": {}
|
|
121
|
+
},
|
|
122
|
+
"required": false,
|
|
123
|
+
"optional": false,
|
|
124
|
+
"docs": {
|
|
125
|
+
"tags": [],
|
|
126
|
+
"text": "Adds accessible label for the menu that is only presented for users of assistive technologies.\nA popup menu should always have an accessible label that describes the popup's function."
|
|
127
|
+
},
|
|
128
|
+
"attribute": "accessible-label",
|
|
129
|
+
"reflect": false
|
|
130
|
+
},
|
|
131
|
+
"theme": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"mutable": true,
|
|
134
|
+
"complexType": {
|
|
135
|
+
"original": "DuetTheme",
|
|
136
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
137
|
+
"references": {
|
|
138
|
+
"DuetTheme": {
|
|
139
|
+
"location": "import",
|
|
140
|
+
"path": "../../common-types"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": false,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": "Theme."
|
|
149
|
+
},
|
|
150
|
+
"attribute": "theme",
|
|
151
|
+
"reflect": false,
|
|
152
|
+
"defaultValue": "\"\""
|
|
153
|
+
},
|
|
154
|
+
"controller": {
|
|
155
|
+
"type": "unknown",
|
|
156
|
+
"mutable": false,
|
|
157
|
+
"complexType": {
|
|
158
|
+
"original": "HTMLElement",
|
|
159
|
+
"resolved": "HTMLElement",
|
|
160
|
+
"references": {
|
|
161
|
+
"HTMLElement": {
|
|
162
|
+
"location": "global"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"optional": false,
|
|
168
|
+
"docs": {
|
|
169
|
+
"tags": [],
|
|
170
|
+
"text": "Element controlling the opening and closing of the popup menu."
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"placement": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"mutable": false,
|
|
176
|
+
"complexType": {
|
|
177
|
+
"original": "| \"top\"\n | \"right\"\n | \"bottom\"\n | \"left\"\n | \"top-start\"\n | \"top-end\"\n | \"right-start\"\n | \"right-end\"\n | \"bottom-start\"\n | \"bottom-end\"\n | \"left-start\"\n | \"left-end\"",
|
|
178
|
+
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
179
|
+
"references": {}
|
|
180
|
+
},
|
|
181
|
+
"required": false,
|
|
182
|
+
"optional": false,
|
|
183
|
+
"docs": {
|
|
184
|
+
"tags": [],
|
|
185
|
+
"text": "Placement of the popup menu relative to its controller.\nPossible values: \"top\", \"bottom\", \"left\" and \"right\", optionally combined with \"-start\" or \"-end\"."
|
|
186
|
+
},
|
|
187
|
+
"attribute": "placement",
|
|
188
|
+
"reflect": false,
|
|
189
|
+
"defaultValue": "\"bottom-start\""
|
|
190
|
+
},
|
|
191
|
+
"position": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"mutable": false,
|
|
194
|
+
"complexType": {
|
|
195
|
+
"original": "\"absolute\" | \"fixed\"",
|
|
196
|
+
"resolved": "\"absolute\" | \"fixed\"",
|
|
197
|
+
"references": {}
|
|
198
|
+
},
|
|
199
|
+
"required": false,
|
|
200
|
+
"optional": false,
|
|
201
|
+
"docs": {
|
|
202
|
+
"tags": [],
|
|
203
|
+
"text": ""
|
|
204
|
+
},
|
|
205
|
+
"attribute": "position",
|
|
206
|
+
"reflect": false,
|
|
207
|
+
"defaultValue": "\"absolute\""
|
|
208
|
+
},
|
|
209
|
+
"mainAxisOffset": {
|
|
210
|
+
"type": "number",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "number",
|
|
214
|
+
"resolved": "number",
|
|
215
|
+
"references": {}
|
|
216
|
+
},
|
|
217
|
+
"required": false,
|
|
218
|
+
"optional": false,
|
|
219
|
+
"docs": {
|
|
220
|
+
"tags": [],
|
|
221
|
+
"text": "Main axis positioning offset of the popup menu relative to its controller.\nFor \"top\" and \"bottom\" placements main axis is vertical, for \"left\" and \"right\" horizontal."
|
|
222
|
+
},
|
|
223
|
+
"attribute": "main-axis-offset",
|
|
224
|
+
"reflect": false,
|
|
225
|
+
"defaultValue": "0"
|
|
226
|
+
},
|
|
227
|
+
"crossAxisOffset": {
|
|
228
|
+
"type": "number",
|
|
229
|
+
"mutable": false,
|
|
230
|
+
"complexType": {
|
|
231
|
+
"original": "number",
|
|
232
|
+
"resolved": "number",
|
|
233
|
+
"references": {}
|
|
234
|
+
},
|
|
235
|
+
"required": false,
|
|
236
|
+
"optional": false,
|
|
237
|
+
"docs": {
|
|
238
|
+
"tags": [],
|
|
239
|
+
"text": "Cross axis positioning offset of the popup menu relative to its controller.\nFor \"top\" and \"bottom\" placements cross axis is horizontal, for \"left\" and \"right\" vertical."
|
|
240
|
+
},
|
|
241
|
+
"attribute": "cross-axis-offset",
|
|
242
|
+
"reflect": false,
|
|
243
|
+
"defaultValue": "0"
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
static get states() {
|
|
248
|
+
return {
|
|
249
|
+
"open": {},
|
|
250
|
+
"menuY": {},
|
|
251
|
+
"menuX": {}
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
static get events() {
|
|
255
|
+
return [{
|
|
256
|
+
"method": "duetToggle",
|
|
257
|
+
"name": "duetToggle",
|
|
258
|
+
"bubbles": true,
|
|
259
|
+
"cancelable": true,
|
|
260
|
+
"composed": true,
|
|
261
|
+
"docs": {
|
|
262
|
+
"tags": [],
|
|
263
|
+
"text": "Emitted when the popup menu is opened or closed."
|
|
264
|
+
},
|
|
265
|
+
"complexType": {
|
|
266
|
+
"original": "DuetPopupMenuEvent",
|
|
267
|
+
"resolved": "{ open: boolean; component: \"duet-popup-menu\"; }",
|
|
268
|
+
"references": {
|
|
269
|
+
"DuetPopupMenuEvent": {
|
|
270
|
+
"location": "local",
|
|
271
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-popup-menu/duet-popup-menu.tsx"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}];
|
|
276
|
+
}
|
|
277
|
+
static get methods() {
|
|
278
|
+
return {
|
|
279
|
+
"isOpen": {
|
|
280
|
+
"complexType": {
|
|
281
|
+
"signature": "() => Promise<boolean>",
|
|
282
|
+
"parameters": [],
|
|
283
|
+
"references": {
|
|
284
|
+
"Promise": {
|
|
285
|
+
"location": "global"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"return": "Promise<boolean>"
|
|
289
|
+
},
|
|
290
|
+
"docs": {
|
|
291
|
+
"text": "isOpen.",
|
|
292
|
+
"tags": []
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"show": {
|
|
296
|
+
"complexType": {
|
|
297
|
+
"signature": "() => Promise<void>",
|
|
298
|
+
"parameters": [],
|
|
299
|
+
"references": {
|
|
300
|
+
"Promise": {
|
|
301
|
+
"location": "global"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"return": "Promise<void>"
|
|
305
|
+
},
|
|
306
|
+
"docs": {
|
|
307
|
+
"text": "Show.",
|
|
308
|
+
"tags": []
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"hide": {
|
|
312
|
+
"complexType": {
|
|
313
|
+
"signature": "() => Promise<void>",
|
|
314
|
+
"parameters": [],
|
|
315
|
+
"references": {
|
|
316
|
+
"Promise": {
|
|
317
|
+
"location": "global"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"return": "Promise<void>"
|
|
321
|
+
},
|
|
322
|
+
"docs": {
|
|
323
|
+
"text": "Hide.",
|
|
324
|
+
"tags": []
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"toggle": {
|
|
328
|
+
"complexType": {
|
|
329
|
+
"signature": "() => Promise<void>",
|
|
330
|
+
"parameters": [],
|
|
331
|
+
"references": {
|
|
332
|
+
"Promise": {
|
|
333
|
+
"location": "global"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"return": "Promise<void>"
|
|
337
|
+
},
|
|
338
|
+
"docs": {
|
|
339
|
+
"text": "Toggle.",
|
|
340
|
+
"tags": []
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
static get elementRef() { return "element"; }
|
|
346
|
+
static get listeners() {
|
|
347
|
+
return [{
|
|
348
|
+
"name": "keyup",
|
|
349
|
+
"method": "handleKeyUp",
|
|
350
|
+
"target": "window",
|
|
351
|
+
"capture": false,
|
|
352
|
+
"passive": false
|
|
353
|
+
}, {
|
|
354
|
+
"name": "click",
|
|
355
|
+
"method": "handleClick",
|
|
356
|
+
"target": "window",
|
|
357
|
+
"capture": false,
|
|
358
|
+
"passive": false
|
|
359
|
+
}];
|
|
360
|
+
}
|
|
361
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: row;
|
|
25
|
+
gap: 0.5rem;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: flex-start;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.duet-popup-menu-item {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-grow: 1;
|
|
33
|
+
gap: 8px;
|
|
34
|
+
align-items: center;
|
|
35
|
+
height: 100%;
|
|
36
|
+
padding: 8px 20px;
|
|
37
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
38
|
+
font-size: 0.875rem;
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
line-height: 1.25;
|
|
41
|
+
color: rgb(0, 41, 77);
|
|
42
|
+
text-align: left;
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
.duet-popup-menu-item:focus {
|
|
47
|
+
outline: 0;
|
|
48
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
49
|
+
}
|
|
50
|
+
.duet-popup-menu-item:focus.duet-theme-turva {
|
|
51
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
52
|
+
}
|
|
53
|
+
.duet-popup-menu-item.active, .duet-popup-menu-item.active:hover {
|
|
54
|
+
color: rgb(255, 255, 255);
|
|
55
|
+
background: rgb(0, 119, 179);
|
|
56
|
+
}
|
|
57
|
+
.duet-popup-menu-item.active.duet-theme-turva, .duet-popup-menu-item.active:hover.duet-theme-turva {
|
|
58
|
+
color: rgb(255, 255, 255);
|
|
59
|
+
background: rgb(198, 12, 48);
|
|
60
|
+
}
|
|
61
|
+
.duet-popup-menu-item:hover {
|
|
62
|
+
background: rgb(230, 242, 248);
|
|
63
|
+
}
|
|
64
|
+
.duet-popup-menu-item:hover.duet-theme-turva {
|
|
65
|
+
background: rgb(228, 228, 230);
|
|
66
|
+
}
|
|
67
|
+
.duet-popup-menu-item .duet-popup-menu-item-label {
|
|
68
|
+
flex-grow: 1;
|
|
69
|
+
}
|