@duetds/components 6.10.3 → 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 +229 -118
- 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 +82 -9
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- 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 +29 -134
- 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 +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 +4 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +11 -7
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/{focus-utils-fa8771cc.js → focus-utils-a66763f4.js} +1 -1
- package/lib/cjs/{index-ad229c23.js → index-4eb7ce33.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +2 -1
- 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.css +38 -10
- package/lib/collection/components/duet-chip/duet-chip.js +88 -13
- package/lib/collection/components/duet-choice/duet-choice.css +22 -22
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- 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-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.css +260 -116
- package/lib/collection/components/duet-grid/duet-grid.js +25 -4
- 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.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.css +8 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +49 -5
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +21 -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-scrollable/duet-scrollable.css +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.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.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +51 -27
- 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.js +87 -12
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- 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 +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-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 +9 -9
- 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 +6 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +12 -7
- 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 +1 -1
- 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.js +5 -5
- 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-362cf634.js → p-006d0fb1.js} +2 -2
- package/lib/dist-custom-elements/{p-f97098ff.js → p-03297bf3.js} +1 -1
- package/lib/dist-custom-elements/{p-ab8093ce.js → p-08f20e44.js} +2 -2
- package/lib/dist-custom-elements/{p-0639a930.js → p-0f04ecb5.js} +1 -1
- package/lib/dist-custom-elements/{p-9a39285c.js → p-171c70e8.js} +1 -1
- package/lib/dist-custom-elements/{p-4524a59b.js → p-1b34adf1.js} +2 -2
- package/lib/dist-custom-elements/{p-c9cee36a.js → p-1f14a267.js} +1 -1
- package/lib/dist-custom-elements/{p-b0a1fc7a.js → p-226f50bb.js} +1 -1
- package/lib/dist-custom-elements/{p-c5723f69.js → p-25d3d458.js} +1 -1
- package/lib/dist-custom-elements/{p-e550208a.js → p-25fa826f.js} +1 -1
- package/lib/dist-custom-elements/{p-581d4969.js → p-265d42fd.js} +1 -1
- package/lib/dist-custom-elements/{p-bd3f4de1.js → p-26a65533.js} +1 -1
- package/lib/dist-custom-elements/{p-a76c2c68.js → p-2b8c0c2f.js} +6 -6
- package/lib/dist-custom-elements/{p-e6027c0e.js → p-37255027.js} +8 -8
- package/lib/dist-custom-elements/{p-abf2f8eb.js → p-3e609785.js} +1 -1
- package/lib/dist-custom-elements/{p-fa4af49a.js → p-4c575cf4.js} +3 -3
- package/lib/dist-custom-elements/{p-dade840c.js → p-5114f1bd.js} +2 -2
- package/lib/dist-custom-elements/{p-9e321809.js → p-5c48ca92.js} +1 -1
- package/lib/dist-custom-elements/{p-ddbc4897.js → p-661fee29.js} +6 -6
- package/lib/dist-custom-elements/{p-88a1aa29.js → p-7681059e.js} +1 -1
- package/lib/dist-custom-elements/{p-c3a8f22f.js → p-7c2e755b.js} +1 -1
- package/lib/dist-custom-elements/{p-c221f8d5.js → p-80cd62f8.js} +5 -5
- package/lib/dist-custom-elements/p-84a78894.js +187 -0
- package/lib/dist-custom-elements/{p-87b42dc0.js → p-8a1632b1.js} +3 -3
- package/lib/dist-custom-elements/{p-f4a36471.js → p-a60259d1.js} +1 -1
- package/lib/dist-custom-elements/{p-06f56040.js → p-b98f1d2a.js} +1 -1
- package/lib/dist-custom-elements/{p-b0e822ad.js → p-c85e7fbd.js} +1 -1
- package/lib/dist-custom-elements/{p-8549a5d3.js → p-d5e61aac.js} +1 -1
- package/lib/dist-custom-elements/{p-0bab8976.js → p-dbb9df4e.js} +3 -3
- package/lib/dist-custom-elements/p-e0afb5aa.js +197 -0
- package/lib/dist-custom-elements/{p-1460c5f4.js → p-e467de13.js} +1 -1
- package/lib/dist-custom-elements/{p-d993c8ca.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-a6f4302f.system.entry.js → p-000a0a75.system.entry.js} +1 -1
- package/lib/duet/{p-aa1c11b3.system.entry.js → p-00355028.system.entry.js} +1 -1
- package/lib/duet/{p-a7774674.system.js → p-053be9dd.system.js} +1 -1
- package/lib/duet/p-05dd0fb6.entry.js +4 -0
- package/lib/duet/{p-0b208f94.system.entry.js → p-06969947.system.entry.js} +1 -1
- package/lib/duet/{p-0c7c6acc.system.entry.js → p-08c7360e.system.entry.js} +1 -1
- package/lib/duet/{p-76c68d61.system.entry.js → p-099119d3.system.entry.js} +1 -1
- package/lib/duet/{p-855f2712.system.entry.js → p-0b696003.system.entry.js} +1 -1
- package/lib/duet/{p-00c61228.system.entry.js → p-101cc3fe.system.entry.js} +1 -1
- package/lib/duet/{p-7c81a1aa.system.entry.js → p-110c2c76.system.entry.js} +1 -1
- package/lib/duet/{p-f3baf86a.system.entry.js → p-11d01178.system.entry.js} +1 -1
- package/lib/duet/{p-0fdddc6d.system.entry.js → p-13fa33f3.system.entry.js} +1 -1
- package/lib/duet/{p-984be1b2.system.entry.js → p-1483de5f.system.entry.js} +1 -1
- package/lib/duet/{p-c20f14ee.system.entry.js → p-15505723.system.entry.js} +1 -1
- package/lib/duet/{p-d95542b2.system.entry.js → p-1616c51d.system.entry.js} +1 -1
- package/lib/duet/{p-be64cb47.system.entry.js → p-184ee980.system.entry.js} +1 -1
- package/lib/duet/{p-26fb19cc.entry.js → p-19ea4e54.entry.js} +1 -1
- package/lib/duet/{p-f1bce38a.system.entry.js → p-1ff16557.system.entry.js} +1 -1
- package/lib/duet/{p-26cfed76.system.entry.js → p-20c19d2e.system.entry.js} +1 -1
- package/lib/duet/p-26ed5006.system.entry.js +4 -0
- package/lib/duet/{p-49f5f27e.entry.js → p-276da9b8.entry.js} +1 -1
- package/lib/duet/{p-fca2f60d.system.entry.js → p-28b0deff.system.entry.js} +1 -1
- package/lib/duet/{p-3fe319db.entry.js → p-28cf3d78.entry.js} +1 -1
- package/lib/duet/{p-ff0c5b5b.system.entry.js → p-2a37e574.system.entry.js} +1 -1
- package/lib/duet/{p-7604e184.system.entry.js → p-2a9b8270.system.entry.js} +1 -1
- package/lib/duet/{p-45df6b17.entry.js → p-2a9e5e4c.entry.js} +1 -1
- package/lib/duet/{p-cd14aa98.system.entry.js → p-2bd98cbe.system.entry.js} +1 -1
- package/lib/duet/{p-9781cd5a.entry.js → p-31155f08.entry.js} +1 -1
- package/lib/duet/{p-ea0b3f23.entry.js → p-322f69c7.entry.js} +1 -1
- package/lib/duet/{p-d309acda.entry.js → p-32d31570.entry.js} +1 -1
- package/lib/duet/{p-c8af967c.system.entry.js → p-32ee127a.system.entry.js} +1 -1
- package/lib/duet/{p-645d04bc.entry.js → p-35b74797.entry.js} +1 -1
- package/lib/duet/{p-8fc58e21.entry.js → p-368e63a8.entry.js} +1 -1
- package/lib/duet/{p-7fe4bf9c.system.entry.js → p-380ead38.system.entry.js} +1 -1
- package/lib/duet/{p-8a06964b.entry.js → p-38e24930.entry.js} +1 -1
- package/lib/duet/{p-77432368.entry.js → p-3b33c459.entry.js} +1 -1
- package/lib/duet/{p-9ad4b03e.entry.js → p-3c43d0ee.entry.js} +1 -1
- package/lib/duet/{p-74bf128c.system.entry.js → p-40463065.system.entry.js} +1 -1
- package/lib/duet/p-434b31e9.system.js +4 -0
- package/lib/duet/{p-679721de.system.entry.js → p-45046cb8.system.entry.js} +1 -1
- package/lib/duet/{p-d20bc0fc.entry.js → p-4667e5cc.entry.js} +1 -1
- package/lib/duet/{p-e664403b.system.entry.js → p-4956fa1c.system.entry.js} +1 -1
- package/lib/duet/{p-ab15c9ba.entry.js → p-4af3a90a.entry.js} +1 -1
- package/lib/duet/{p-f9191467.entry.js → p-4f321fb8.entry.js} +1 -1
- package/lib/duet/{p-29dd2b2b.entry.js → p-4f90dd0a.entry.js} +1 -1
- package/lib/duet/{p-7fd5d974.system.entry.js → p-4fc64fe9.system.entry.js} +1 -1
- package/lib/duet/{p-e5ff4740.system.entry.js → p-521b2f02.system.entry.js} +1 -1
- package/lib/duet/p-540d7ed6.entry.js +4 -0
- package/lib/duet/{p-82ebc3a6.system.entry.js → p-549a1ffd.system.entry.js} +1 -1
- package/lib/duet/{p-fcc9c563.entry.js → p-5e2af124.entry.js} +1 -1
- package/lib/duet/{p-8168ef41.system.entry.js → p-5ed8969b.system.entry.js} +2 -2
- package/lib/duet/{p-d837c30c.entry.js → p-604adb3e.entry.js} +1 -1
- package/lib/duet/{p-e1470177.system.entry.js → p-60c99082.system.entry.js} +1 -1
- package/lib/duet/{p-c838f35a.system.entry.js → p-6508eed1.system.entry.js} +1 -1
- package/lib/duet/{p-87ea8cd4.system.entry.js → p-684b2d77.system.entry.js} +1 -1
- package/lib/duet/{p-659b9600.system.entry.js → p-6892546a.system.entry.js} +1 -1
- package/lib/duet/{p-7b75c66a.system.entry.js → p-699f593c.system.entry.js} +1 -1
- package/lib/duet/p-6b115b63.system.js +4 -0
- package/lib/duet/{p-e13b266c.system.entry.js → p-6baede6c.system.entry.js} +1 -1
- package/lib/duet/{p-07795672.entry.js → p-6bb42603.entry.js} +1 -1
- package/lib/duet/{p-e6701508.entry.js → p-6e93b2f3.entry.js} +1 -1
- package/lib/duet/{p-0fc4fd1f.entry.js → p-6ee35830.entry.js} +1 -1
- package/lib/duet/{p-f01b3bfa.entry.js → p-700cc5d1.entry.js} +1 -1
- package/lib/duet/{p-49cbf9cc.entry.js → p-721bf508.entry.js} +1 -1
- package/lib/duet/{p-33ace290.system.entry.js → p-7284cb09.system.entry.js} +1 -1
- package/lib/duet/{p-d707c91d.entry.js → p-72d18d55.entry.js} +1 -1
- package/lib/duet/{p-3d4d7d03.system.entry.js → p-756341c2.system.entry.js} +1 -1
- package/lib/duet/{p-65180079.entry.js → p-7565b093.entry.js} +1 -1
- package/lib/duet/{p-190e7c1f.system.entry.js → p-773268e7.system.entry.js} +1 -1
- package/lib/duet/{p-242c1c1a.entry.js → p-77616680.entry.js} +1 -1
- package/lib/duet/{p-61dbdf5a.system.entry.js → p-7a3071a5.system.entry.js} +1 -1
- package/lib/duet/{p-c591ed98.system.entry.js → p-7e061e75.system.entry.js} +1 -1
- package/lib/duet/{p-6ff2601a.entry.js → p-7f588669.entry.js} +1 -1
- package/lib/duet/{p-57ec25ee.entry.js → p-8094e185.entry.js} +1 -1
- package/lib/duet/{p-fd760e06.system.entry.js → p-8146f5d7.system.entry.js} +1 -1
- package/lib/duet/{p-831c76d5.system.entry.js → p-82330774.system.entry.js} +1 -1
- package/lib/duet/{p-18b63745.system.entry.js → p-8275330c.system.entry.js} +1 -1
- package/lib/duet/{p-0fe6e2f3.entry.js → p-8445fc10.entry.js} +1 -1
- package/lib/duet/{p-f605a26a.system.entry.js → p-8584bcfe.system.entry.js} +1 -1
- package/lib/duet/{p-c01a1e38.entry.js → p-86e7a88a.entry.js} +1 -1
- package/lib/duet/p-871eca43.entry.js +4 -0
- package/lib/duet/{p-bf5e03b7.system.entry.js → p-8862fec1.system.entry.js} +1 -1
- package/lib/duet/{p-369190ba.entry.js → p-8cf359d9.entry.js} +1 -1
- package/lib/duet/{p-9b4b6a88.system.entry.js → p-8daa915d.system.entry.js} +1 -1
- package/lib/duet/{p-38b225ec.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-bd21ed24.entry.js → p-99a90b30.entry.js} +1 -1
- package/lib/duet/{p-346b440a.entry.js → p-9ad6fc83.entry.js} +1 -1
- package/lib/duet/p-9e72b23c.system.entry.js +4 -0
- package/lib/duet/{p-60210fa0.entry.js → p-9ec0d197.entry.js} +1 -1
- package/lib/duet/{p-dcb58b72.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-e195ff77.entry.js → p-a5cf2316.entry.js} +1 -1
- package/lib/duet/{p-a1e03781.entry.js → p-a61825d9.entry.js} +1 -1
- package/lib/duet/{p-d1fdf904.entry.js → p-a6696d45.entry.js} +1 -1
- package/lib/duet/{p-bb450fde.entry.js → p-a66ca0af.entry.js} +1 -1
- package/lib/duet/{p-d90b9d82.entry.js → p-a7ed46e3.entry.js} +1 -1
- package/lib/duet/{p-a80b6e7d.entry.js → p-a86ae0c3.entry.js} +1 -1
- package/lib/duet/{p-53800205.entry.js → p-ae7602cb.entry.js} +1 -1
- package/lib/duet/{p-5590d075.system.entry.js → p-b134229a.system.entry.js} +1 -1
- package/lib/duet/p-b362d8f7.entry.js +4 -0
- package/lib/duet/{p-2ab30c7f.entry.js → p-b4b5f803.entry.js} +1 -1
- package/lib/duet/{p-10d57786.entry.js → p-b594282a.entry.js} +1 -1
- package/lib/duet/{p-8d9dc8b8.system.entry.js → p-b650e679.system.entry.js} +1 -1
- package/lib/duet/{p-ff814fdc.entry.js → p-b77224fc.entry.js} +1 -1
- package/lib/duet/{p-8215e341.system.entry.js → p-b7fe2c37.system.entry.js} +1 -1
- package/lib/duet/{p-0b4324b1.system.entry.js → p-bc541e97.system.entry.js} +1 -1
- package/lib/duet/{p-0f05038e.system.entry.js → p-be295e13.system.entry.js} +1 -1
- package/lib/duet/{p-33e8ba00.entry.js → p-c0874730.entry.js} +1 -1
- package/lib/duet/{p-0f49469b.system.entry.js → p-c0c92199.system.entry.js} +1 -1
- package/lib/duet/p-c185ea87.system.entry.js +4 -0
- package/lib/duet/{p-b6f46697.entry.js → p-c1c6a4f5.entry.js} +1 -1
- package/lib/duet/p-c2ff6bb2.entry.js +4 -0
- package/lib/duet/{p-bb3ab94b.entry.js → p-c391b2a4.entry.js} +1 -1
- package/lib/duet/{p-10d47bb3.entry.js → p-c5efb3f6.entry.js} +1 -1
- package/lib/duet/{p-3aebf88e.entry.js → p-c6122404.entry.js} +1 -1
- package/lib/duet/p-c6b09397.js +4 -0
- package/lib/duet/p-c79f4b4b.entry.js +4 -0
- package/lib/duet/{p-e26c92ae.entry.js → p-c9198461.entry.js} +1 -1
- package/lib/duet/{p-193d3aaa.system.entry.js → p-ca2725cd.system.entry.js} +1 -1
- package/lib/duet/{p-6fafabc4.system.entry.js → p-ca4d7a6d.system.entry.js} +1 -1
- package/lib/duet/{p-3ae87f9a.system.entry.js → p-cb4799d1.system.entry.js} +1 -1
- package/lib/duet/{p-476bec1d.entry.js → p-ccb08e8c.entry.js} +1 -1
- package/lib/duet/p-cf504df5.js +4 -0
- package/lib/duet/{p-eaf5b796.entry.js → p-cff11c78.entry.js} +1 -1
- package/lib/duet/{p-18084aa4.entry.js → p-d0175269.entry.js} +1 -1
- package/lib/duet/{p-639c44ed.system.entry.js → p-d029f8dc.system.entry.js} +1 -1
- package/lib/duet/{p-c56f6296.entry.js → p-d42279cd.entry.js} +1 -1
- package/lib/duet/{p-6059377c.entry.js → p-d4bc7a19.entry.js} +1 -1
- package/lib/duet/{p-e3a868e7.system.entry.js → p-d6dfa7c8.system.entry.js} +1 -1
- package/lib/duet/{p-d1308874.entry.js → p-d841291b.entry.js} +1 -1
- package/lib/duet/{p-d70c1993.entry.js → p-d988f03a.entry.js} +1 -1
- package/lib/duet/{p-5c5dd33e.entry.js → p-da4f4b6c.entry.js} +1 -1
- package/lib/duet/{p-6dea5bde.system.js → p-dd1393e3.system.js} +1 -1
- package/lib/duet/{p-0de3b52d.system.entry.js → p-dee73c08.system.entry.js} +1 -1
- package/lib/duet/{p-5f9fc349.system.entry.js → p-df213a66.system.entry.js} +1 -1
- package/lib/duet/{p-ced270b7.system.entry.js → p-e288bb38.system.entry.js} +1 -1
- package/lib/duet/{p-e33b158e.entry.js → p-e368e194.entry.js} +1 -1
- package/lib/duet/{p-54607ab5.system.entry.js → p-e6315f68.system.entry.js} +1 -1
- package/lib/duet/{p-9277a98e.entry.js → p-e79c63b6.entry.js} +1 -1
- package/lib/duet/{p-9cec464f.system.entry.js → p-e8d8c7a2.system.entry.js} +1 -1
- package/lib/duet/{p-42199e80.entry.js → p-e983ff0c.entry.js} +1 -1
- package/lib/duet/{p-000197bb.system.entry.js → p-ec796dfe.system.entry.js} +1 -1
- package/lib/duet/{p-fce75de7.entry.js → p-f58832f6.entry.js} +1 -1
- package/lib/duet/p-f5b53f2f.system.entry.js +4 -0
- package/lib/duet/{p-642a879a.system.entry.js → p-f74e934b.system.entry.js} +1 -1
- package/lib/duet/{p-596343b6.system.entry.js → p-f78e3197.system.entry.js} +1 -1
- package/lib/duet/{p-2a8ca3eb.entry.js → p-f90e86d3.entry.js} +1 -1
- package/lib/duet/p-f9603b0d.entry.js +4 -0
- package/lib/duet/{p-bcb2eb05.js → p-fbd0d098.js} +1 -1
- package/lib/duet/{p-a9fac1f4.entry.js → p-fd1dcee1.entry.js} +1 -1
- package/lib/duet/{p-72a8644b.system.entry.js → p-feaaff49.system.entry.js} +1 -1
- package/lib/duet/p-ff5a9358.system.entry.js +4 -0
- package/lib/duet/{p-67f35157.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 +82 -9
- package/lib/esm/duet-choice_2.entry.js +3 -3
- 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 +21 -126
- 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 +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 +4 -2
- package/lib/esm/duet-popup-menu.entry.js +11 -7
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/{focus-utils-20785530.js → focus-utils-e2239371.js} +1 -1
- package/lib/esm/{index-dcb8c495.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +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/focus-utils-e2239371.js +4 -0
- package/lib/esm-es5/{index-dcb8c495.js → index-b67ea1f1.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +16 -2
- package/lib/types/components/duet-grid/duet-grid.d.ts +4 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +10 -0
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -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 +75 -0
- package/package.json +5 -5
- package/lib/collection/components/duet-upload/upload-item.js +0 -44
- package/lib/dist-custom-elements/p-59964344.js +0 -183
- package/lib/duet/p-02a9b697.system.entry.js +0 -4
- package/lib/duet/p-1090bfbd.entry.js +0 -4
- package/lib/duet/p-17569309.entry.js +0 -4
- package/lib/duet/p-1983b903.system.entry.js +0 -4
- package/lib/duet/p-2271aa12.entry.js +0 -4
- package/lib/duet/p-2f2554c2.entry.js +0 -4
- package/lib/duet/p-31a14896.entry.js +0 -4
- package/lib/duet/p-4047730e.entry.js +0 -4
- package/lib/duet/p-41993ad4.js +0 -4
- package/lib/duet/p-4489355c.system.entry.js +0 -4
- package/lib/duet/p-4f40525e.system.entry.js +0 -4
- package/lib/duet/p-5514488e.entry.js +0 -4
- package/lib/duet/p-59570fb7.system.entry.js +0 -4
- package/lib/duet/p-5dfc4e72.entry.js +0 -4
- package/lib/duet/p-7ce403a2.system.entry.js +0 -4
- package/lib/duet/p-f93a2b8c.system.js +0 -4
- package/lib/duet/p-fb88df1a.entry.js +0 -4
- package/lib/esm-es5/focus-utils-20785530.js +0 -4
- package/lib/types/components/duet-upload/upload-item.d.ts +0 -20
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
|
+
import { inheritGlobalTheme } from "../../common";
|
|
6
|
+
import { getLocaleString } from "../../utils/language-utils";
|
|
7
|
+
import { getI18nError } from "../duet-upload/errorcodes.utils";
|
|
8
|
+
import { formatBytes } from "../duet-upload/upload.helpers";
|
|
9
|
+
export class DuetUploadItem {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.fileUploadingInfo = {
|
|
12
|
+
fi: "Tiedosto latautuu",
|
|
13
|
+
sv: "Filen laddas upp",
|
|
14
|
+
en: "File is uploading",
|
|
15
|
+
};
|
|
16
|
+
this.onLinkClick = (event) => {
|
|
17
|
+
const { url, meta } = this.data;
|
|
18
|
+
if (!!this.linkClickEvent) {
|
|
19
|
+
event.preventDefault();
|
|
20
|
+
this.linkClickEvent.emit({
|
|
21
|
+
component: "duet-upload",
|
|
22
|
+
data: { name: this.data.item.name, url, meta },
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
this.theme = "";
|
|
27
|
+
this.data = undefined;
|
|
28
|
+
this.type = undefined;
|
|
29
|
+
this.showLinks = undefined;
|
|
30
|
+
this.actions = undefined;
|
|
31
|
+
this.label = undefined;
|
|
32
|
+
this.categoryLabel = undefined;
|
|
33
|
+
this.errorCodes = undefined;
|
|
34
|
+
this.showCategory = undefined;
|
|
35
|
+
this.linkClickEvent = undefined;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Component lifecycle events.
|
|
39
|
+
*/
|
|
40
|
+
componentWillLoad() {
|
|
41
|
+
inheritGlobalTheme(this);
|
|
42
|
+
}
|
|
43
|
+
async focusActionButton() {
|
|
44
|
+
if (this.actionButton) {
|
|
45
|
+
await this.actionButton.setFocus();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
getFileNameLine() {
|
|
49
|
+
const { item, size, uploaded, url, progress, error } = this.data;
|
|
50
|
+
const { name } = item;
|
|
51
|
+
const ContentName = (h("span", { class: "duet-upload-item-name" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name));
|
|
52
|
+
const SizeText = (h("span", { class: "duet-upload-item-size", style: { fontSize: "14px", fontWeight: "400" } }, "(", formatBytes(size), ")"));
|
|
53
|
+
switch (this.type) {
|
|
54
|
+
case "inprogress":
|
|
55
|
+
return (h("span", { class: "duet-upload-item-name", role: "status" }, h("duet-paragraph", { class: "duet-upload-item-name", color: "gray-darker", margin: "none", weight: "semi-bold" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), h("duet-visually-hidden", null, h("duet-paragraph", null, getLocaleString(this.fileUploadingInfo))), h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));
|
|
56
|
+
case "pending":
|
|
57
|
+
return (h("span", { class: "duet-upload-item-name" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name));
|
|
58
|
+
case "failure":
|
|
59
|
+
return (h("span", { class: "duet-upload-item-error", role: "status" }, h("duet-paragraph", { class: "duet-upload-item-name", color: "danger", margin: "none", weight: "semi-bold" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), h("duet-paragraph", { class: "duet-upload-item-error-label", size: "small", margin: "none", color: "danger" }, getI18nError(error.type, this.errorCodes))));
|
|
60
|
+
default:
|
|
61
|
+
return uploaded && url && this.showLinks ? (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, h("duet-link", { onClick: this.onLinkClick, url: url, external: true }, ContentName), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText)) : (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, ContentName, h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
const { uid, meta } = this.data;
|
|
66
|
+
const Badges = meta && meta.badges ? (h("span", null, meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
67
|
+
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${name}`;
|
|
68
|
+
return (h("div", { class: {
|
|
69
|
+
"upload-item-row": true,
|
|
70
|
+
} }, this.showCategory && (h("div", { class: "item-categories" }, h("duet-heading", { class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { class: "item-actions" }, this.actions.map(actionItem => {
|
|
71
|
+
return (h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: false, ref: button => (this.actionButton = button) }));
|
|
72
|
+
}))));
|
|
73
|
+
}
|
|
74
|
+
static get is() { return "duet-upload-item"; }
|
|
75
|
+
static get properties() {
|
|
76
|
+
return {
|
|
77
|
+
"theme": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"mutable": true,
|
|
80
|
+
"complexType": {
|
|
81
|
+
"original": "DuetTheme",
|
|
82
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
83
|
+
"references": {
|
|
84
|
+
"DuetTheme": {
|
|
85
|
+
"location": "import",
|
|
86
|
+
"path": "../../common-types"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": false,
|
|
91
|
+
"optional": false,
|
|
92
|
+
"docs": {
|
|
93
|
+
"tags": [],
|
|
94
|
+
"text": "Theme of the card. Can be one of: \"default\", \"turva\"."
|
|
95
|
+
},
|
|
96
|
+
"attribute": "theme",
|
|
97
|
+
"reflect": false,
|
|
98
|
+
"defaultValue": "\"\""
|
|
99
|
+
},
|
|
100
|
+
"data": {
|
|
101
|
+
"type": "unknown",
|
|
102
|
+
"mutable": false,
|
|
103
|
+
"complexType": {
|
|
104
|
+
"original": "DuetFileListItem",
|
|
105
|
+
"resolved": "{ uid: string; item: File; size: number; meta?: Record<string, any>; uploaded: boolean; error: DuetUploadErrorCode; progress: number; deleted: boolean; valid: boolean; xhr: false | DuetXhrRequest; url: string | false; group?: string; html?: string; status?: number; pending?: boolean; }",
|
|
106
|
+
"references": {
|
|
107
|
+
"DuetFileListItem": {
|
|
108
|
+
"location": "import",
|
|
109
|
+
"path": "../duet-upload/duet-upload"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": false,
|
|
114
|
+
"optional": false,
|
|
115
|
+
"docs": {
|
|
116
|
+
"tags": [],
|
|
117
|
+
"text": ""
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"type": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"mutable": false,
|
|
123
|
+
"complexType": {
|
|
124
|
+
"original": "ItemType",
|
|
125
|
+
"resolved": "\"failure\" | \"inprogress\" | \"pending\" | \"success\"",
|
|
126
|
+
"references": {
|
|
127
|
+
"ItemType": {
|
|
128
|
+
"location": "local",
|
|
129
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload-item/duet-upload-item.tsx"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": false,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": ""
|
|
138
|
+
},
|
|
139
|
+
"attribute": "type",
|
|
140
|
+
"reflect": false
|
|
141
|
+
},
|
|
142
|
+
"showLinks": {
|
|
143
|
+
"type": "boolean",
|
|
144
|
+
"mutable": false,
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "boolean",
|
|
147
|
+
"resolved": "boolean",
|
|
148
|
+
"references": {}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": false,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [],
|
|
154
|
+
"text": ""
|
|
155
|
+
},
|
|
156
|
+
"attribute": "show-links",
|
|
157
|
+
"reflect": false
|
|
158
|
+
},
|
|
159
|
+
"actions": {
|
|
160
|
+
"type": "any",
|
|
161
|
+
"mutable": false,
|
|
162
|
+
"complexType": {
|
|
163
|
+
"original": "any",
|
|
164
|
+
"resolved": "any",
|
|
165
|
+
"references": {}
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"optional": false,
|
|
169
|
+
"docs": {
|
|
170
|
+
"tags": [],
|
|
171
|
+
"text": ""
|
|
172
|
+
},
|
|
173
|
+
"attribute": "actions",
|
|
174
|
+
"reflect": false
|
|
175
|
+
},
|
|
176
|
+
"label": {
|
|
177
|
+
"type": "unknown",
|
|
178
|
+
"mutable": false,
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "DuetLangObject",
|
|
181
|
+
"resolved": "DuetLangObject",
|
|
182
|
+
"references": {
|
|
183
|
+
"DuetLangObject": {
|
|
184
|
+
"location": "import",
|
|
185
|
+
"path": "../../utils/language-utils"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"required": false,
|
|
190
|
+
"optional": true,
|
|
191
|
+
"docs": {
|
|
192
|
+
"tags": [],
|
|
193
|
+
"text": ""
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"categoryLabel": {
|
|
197
|
+
"type": "unknown",
|
|
198
|
+
"mutable": false,
|
|
199
|
+
"complexType": {
|
|
200
|
+
"original": "DuetLangObject",
|
|
201
|
+
"resolved": "DuetLangObject",
|
|
202
|
+
"references": {
|
|
203
|
+
"DuetLangObject": {
|
|
204
|
+
"location": "import",
|
|
205
|
+
"path": "../../utils/language-utils"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"required": false,
|
|
210
|
+
"optional": true,
|
|
211
|
+
"docs": {
|
|
212
|
+
"tags": [],
|
|
213
|
+
"text": ""
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"errorCodes": {
|
|
217
|
+
"type": "unknown",
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "DuetUploadErrorCode[]",
|
|
221
|
+
"resolved": "DuetUploadErrorCode[]",
|
|
222
|
+
"references": {
|
|
223
|
+
"DuetUploadErrorCode": {
|
|
224
|
+
"location": "import",
|
|
225
|
+
"path": "../duet-upload/errorcodes.utils"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": false,
|
|
230
|
+
"optional": true,
|
|
231
|
+
"docs": {
|
|
232
|
+
"tags": [],
|
|
233
|
+
"text": ""
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"showCategory": {
|
|
237
|
+
"type": "boolean",
|
|
238
|
+
"mutable": false,
|
|
239
|
+
"complexType": {
|
|
240
|
+
"original": "boolean",
|
|
241
|
+
"resolved": "boolean",
|
|
242
|
+
"references": {}
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": true,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": ""
|
|
249
|
+
},
|
|
250
|
+
"attribute": "show-category",
|
|
251
|
+
"reflect": false
|
|
252
|
+
},
|
|
253
|
+
"linkClickEvent": {
|
|
254
|
+
"type": "unknown",
|
|
255
|
+
"mutable": false,
|
|
256
|
+
"complexType": {
|
|
257
|
+
"original": "EventEmitter<DuetUploadEvent>",
|
|
258
|
+
"resolved": "EventEmitter<DuetUploadEvent>",
|
|
259
|
+
"references": {
|
|
260
|
+
"EventEmitter": {
|
|
261
|
+
"location": "import",
|
|
262
|
+
"path": "@stencil/core"
|
|
263
|
+
},
|
|
264
|
+
"DuetUploadEvent": {
|
|
265
|
+
"location": "import",
|
|
266
|
+
"path": "../duet-upload/duet-upload"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"required": false,
|
|
271
|
+
"optional": true,
|
|
272
|
+
"docs": {
|
|
273
|
+
"tags": [],
|
|
274
|
+
"text": ""
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
static get methods() {
|
|
280
|
+
return {
|
|
281
|
+
"focusActionButton": {
|
|
282
|
+
"complexType": {
|
|
283
|
+
"signature": "() => Promise<void>",
|
|
284
|
+
"parameters": [],
|
|
285
|
+
"references": {
|
|
286
|
+
"Promise": {
|
|
287
|
+
"location": "global"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"return": "Promise<void>"
|
|
291
|
+
},
|
|
292
|
+
"docs": {
|
|
293
|
+
"text": "",
|
|
294
|
+
"tags": []
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-dbb9df4e.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-80cd62f8.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-5c48ca92.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-25fa826f.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getColorByName } from './p-de68431d.js';
|
|
7
|
-
import { d as defineCustomElement$4 } from './p-
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$4 } from './p-226f50bb.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-171c70e8.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-26a65533.js';
|
|
10
10
|
|
|
11
11
|
const duetBannerCss = "*,*::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-banner{display:grid;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;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.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\"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;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}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-25fa826f.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-171c70e8.js';
|
|
7
7
|
|
|
8
8
|
const duetBreadcrumbCss = "*,*::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-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-25fa826f.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { a as getLocaleString } from './p-076452be.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-171c70e8.js';
|
|
8
8
|
|
|
9
9
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-ffc196f5.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-25fa826f.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$3 } from './p-
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$3 } from './p-171c70e8.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-26a65533.js';
|
|
8
8
|
|
|
9
9
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.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\"}.duet-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-1f14a267.js';
|
|
5
5
|
|
|
6
6
|
const DuetCaption = DuetCaption$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-25fa826f.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
8
8
|
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
9
9
|
import { g as getColorByName } from './p-de68431d.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-171c70e8.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-7681059e.js';
|
|
12
12
|
|
|
13
13
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
14
14
|
const duetBlock = "div";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-7c2e755b.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-a60259d1.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckmark = DuetCheckmark$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-25fa826f.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-171c70e8.js';
|
|
8
8
|
|
|
9
|
-
const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;
|
|
9
|
+
const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease, padding 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-chip-container.duet-theme-turva:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-chip-container.duet-theme-turva:hover button,.duet-chip-container.duet-theme-turva:hover label{color:rgb(23, 28, 58) !important}.duet-chip-container:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-chip-container:hover button,.duet-chip-container:hover label{color:rgb(0, 119, 179) !important}.duet-chip-container:hover.duet-theme-turva button,.duet-chip-container:hover.duet-theme-turva label{color:rgb(198, 12, 48) !important}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:7px 16px;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:600;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container button:hover,.duet-chip-container label:hover{color:rgb(0, 119, 179) !important}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container duet-icon:not(.check-mark){width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked{background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container{padding-right:8px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container div.duet-chip-popup-disclosure{padding-left:8px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-chip-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-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
|
|
10
10
|
|
|
11
11
|
const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
12
12
|
constructor() {
|
|
@@ -20,6 +20,55 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
20
20
|
* Own Properties.
|
|
21
21
|
*/
|
|
22
22
|
this.chipId = createID("DuetChip");
|
|
23
|
+
this.popupSetUp = () => {
|
|
24
|
+
const popup = this.element.querySelector("duet-popup-menu");
|
|
25
|
+
if (popup) {
|
|
26
|
+
this.popup = popup;
|
|
27
|
+
popup.controller = this.element;
|
|
28
|
+
const labelSpan = this.element.querySelector("span");
|
|
29
|
+
const originalText = labelSpan.textContent;
|
|
30
|
+
const originalValue = this.value;
|
|
31
|
+
if (!popup.id) {
|
|
32
|
+
popup.id = "popup-menu";
|
|
33
|
+
}
|
|
34
|
+
popup.addEventListener("duetToggle", (evt) => {
|
|
35
|
+
this.popupOpen = evt.detail.open;
|
|
36
|
+
});
|
|
37
|
+
const clearActive = () => {
|
|
38
|
+
popup.querySelectorAll("duet-popup-menu-item").forEach(item => {
|
|
39
|
+
item.active = false;
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
popup.querySelectorAll("duet-popup-menu-item").forEach(item => {
|
|
43
|
+
item.addEventListener("click", evt => {
|
|
44
|
+
var _a;
|
|
45
|
+
const value = (_a = item.value) !== null && _a !== void 0 ? _a : item.innerText;
|
|
46
|
+
if (!item.active) {
|
|
47
|
+
clearActive();
|
|
48
|
+
item.active = true;
|
|
49
|
+
labelSpan.textContent = item.innerText;
|
|
50
|
+
this.value = value;
|
|
51
|
+
this.checked = true;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
clearActive();
|
|
55
|
+
labelSpan.textContent = originalText;
|
|
56
|
+
this.value = originalValue;
|
|
57
|
+
this.checked = false;
|
|
58
|
+
}
|
|
59
|
+
this.emitChange(evt);
|
|
60
|
+
// A workaround to the difference of event handling between the browers.
|
|
61
|
+
// Chrome will emit a separate click event on the chip after the popup is closed, resulting popup.toggle() to
|
|
62
|
+
// open the popup again. Firefox does not have this behavior.
|
|
63
|
+
setTimeout(() => {
|
|
64
|
+
if (this.popup.isOpen()) {
|
|
65
|
+
this.popup.hide();
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
};
|
|
23
72
|
/**
|
|
24
73
|
* Component event handling.
|
|
25
74
|
*/
|
|
@@ -41,21 +90,42 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
41
90
|
component: "duet-chip",
|
|
42
91
|
});
|
|
43
92
|
};
|
|
44
|
-
this.
|
|
45
|
-
this.checked = !this.checked;
|
|
93
|
+
this.emitChange = originalEvent => {
|
|
46
94
|
this.duetChange.emit({
|
|
47
|
-
originalEvent
|
|
95
|
+
originalEvent,
|
|
48
96
|
checked: this.checked,
|
|
49
97
|
value: this.value,
|
|
50
98
|
component: "duet-chip",
|
|
51
99
|
});
|
|
52
100
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
101
|
+
/**
|
|
102
|
+
* Change checked state and emit duetChange event.
|
|
103
|
+
*/
|
|
104
|
+
this.onFilterChange = (evt) => {
|
|
105
|
+
this.checked = !this.checked;
|
|
106
|
+
this.emitChange(evt);
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Stop propagation and prevent default if popup is present, as the popup controls value and checked state.
|
|
110
|
+
*/
|
|
111
|
+
this.onFilterClick = (evt) => {
|
|
112
|
+
if (this.popup) {
|
|
113
|
+
evt.stopPropagation();
|
|
114
|
+
evt.preventDefault();
|
|
115
|
+
this.popup.toggle();
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Remove input chip
|
|
120
|
+
*/
|
|
121
|
+
this.onRemoveClick = (evt) => {
|
|
122
|
+
evt.stopPropagation();
|
|
123
|
+
evt.preventDefault();
|
|
56
124
|
this.element.remove();
|
|
57
125
|
};
|
|
58
126
|
this.focus = false;
|
|
127
|
+
this.popup = undefined;
|
|
128
|
+
this.popupOpen = undefined;
|
|
59
129
|
this.accessibleLabel = undefined;
|
|
60
130
|
this.variation = "button";
|
|
61
131
|
this.icon = "";
|
|
@@ -70,8 +140,10 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
70
140
|
*/
|
|
71
141
|
componentWillLoad() {
|
|
72
142
|
inheritGlobalTheme(this);
|
|
143
|
+
this.popupSetUp();
|
|
73
144
|
}
|
|
74
145
|
render() {
|
|
146
|
+
var _a;
|
|
75
147
|
const identifier = this.identifier || this.chipId;
|
|
76
148
|
const classes = {
|
|
77
149
|
"duet-chip-container": true,
|
|
@@ -80,12 +152,13 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
80
152
|
"duet-chip-has-icon": !!this.icon,
|
|
81
153
|
"duet-theme-turva": this.theme === "turva",
|
|
82
154
|
"duet-chip-filter-checked": this.variation === "filter" && this.checked,
|
|
155
|
+
"duet-chip-filter-popup-open": this.popupOpen,
|
|
83
156
|
};
|
|
84
157
|
const focusHandlers = {
|
|
85
158
|
onFocus: this.onFocus,
|
|
86
159
|
onBlur: this.onBlur,
|
|
87
160
|
};
|
|
88
|
-
return (h(Host, null, this.variation === "button" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "
|
|
161
|
+
return (h(Host, null, this.variation === "button" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)))), this.variation === "input" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, class: "duet-chip-input-button", "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)), h("button", { class: "duet-chip-remove-button", onClick: this.onRemoveClick }, h("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("div", { class: classes }, h("input", Object.assign({ "aria-haspopup": this.popup && "menu", "aria-controls": (_a = this.popup) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.popup ? (this.popupOpen ? "true" : "false") : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" })), h("slot", null), this.popup && (h("div", { class: "duet-chip-popup-disclosure" }, h("duet-icon", { name: "action-arrow-down-small", size: "xx-small", margin: "none", color: "currentColor" }))))))));
|
|
89
162
|
}
|
|
90
163
|
get element() { return this; }
|
|
91
164
|
static get style() { return duetChipCss; }
|
|
@@ -95,10 +168,12 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
95
168
|
"icon": [1],
|
|
96
169
|
"theme": [1025],
|
|
97
170
|
"identifier": [1],
|
|
98
|
-
"value": [
|
|
171
|
+
"value": [1025],
|
|
99
172
|
"name": [1],
|
|
100
173
|
"checked": [1540],
|
|
101
|
-
"focus": [32]
|
|
174
|
+
"focus": [32],
|
|
175
|
+
"popup": [32],
|
|
176
|
+
"popupOpen": [32]
|
|
102
177
|
}]);
|
|
103
178
|
function defineCustomElement$1() {
|
|
104
179
|
if (typeof customElements === "undefined") {
|