@duetds/components 6.10.2 → 6.10.3
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 +4106 -3645
- 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 +95 -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 +4 -2
- 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 +1 -1
- 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 +43 -0
- package/lib/cjs/duet-popup-menu.cjs.entry.js +109 -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 +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +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-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/floating-ui.dom.esm-3801794e.js +1251 -0
- package/lib/cjs/{focus-utils-a7ec8d4d.js → focus-utils-fa8771cc.js} +1 -1
- package/lib/cjs/{index-b91d0c7f.js → index-ad229c23.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +4 -0
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.css +174 -0
- package/lib/collection/components/duet-chip/duet-chip.js +320 -0
- package/lib/collection/components/duet-choice/duet-choice.css +48 -21
- package/lib/collection/components/duet-choice/duet-choice.js +42 -11
- 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 +8 -6
- 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.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.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 +27 -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 +50 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +317 -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 +205 -0
- package/lib/collection/components/duet-radio/duet-radio.css +3 -3
- package/lib/collection/components/duet-radio/duet-radio.js +12 -6
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.css +46 -0
- package/lib/collection/components/duet-show-more/duet-show-more.js +214 -0
- 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 +14 -14
- 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 +125 -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 +72 -0
- package/lib/dist-custom-elements/duet-popup-menu.d.ts +11 -0
- package/lib/dist-custom-elements/duet-popup-menu.js +137 -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.js +17 -17
- 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-39c6c68e.js → p-0639a930.js} +1 -1
- package/lib/dist-custom-elements/{p-227cc94f.js → p-06f56040.js} +1 -1
- package/lib/dist-custom-elements/{p-a0f68c00.js → p-0bab8976.js} +3 -3
- package/lib/dist-custom-elements/{p-beca0ced.js → p-1460c5f4.js} +1 -1
- package/lib/dist-custom-elements/{p-4197b9ee.js → p-362cf634.js} +2 -2
- package/lib/dist-custom-elements/{p-8fb68cb1.js → p-4524a59b.js} +2 -2
- package/lib/dist-custom-elements/{p-e6f6efa6.js → p-581d4969.js} +1 -1
- package/lib/dist-custom-elements/{p-00f8d4bc.js → p-59964344.js} +1 -1
- package/lib/dist-custom-elements/{p-6f4b6168.js → p-8549a5d3.js} +1 -1
- package/lib/dist-custom-elements/{p-62f3b6cb.js → p-87b42dc0.js} +3 -3
- package/lib/dist-custom-elements/{p-3595aea9.js → p-88a1aa29.js} +1 -1
- package/lib/dist-custom-elements/{p-c202693f.js → p-9a39285c.js} +1 -1
- package/lib/dist-custom-elements/{p-8638ba69.js → p-9e321809.js} +1 -1
- package/lib/dist-custom-elements/{p-419d2da0.js → p-a76c2c68.js} +6 -6
- package/lib/dist-custom-elements/{p-e3acab40.js → p-ab8093ce.js} +2 -2
- package/lib/dist-custom-elements/{p-58105b4f.js → p-abf2f8eb.js} +1 -1
- package/lib/dist-custom-elements/{p-f6b5ce88.js → p-b0a1fc7a.js} +1 -1
- package/lib/dist-custom-elements/{p-6de01596.js → p-b0e822ad.js} +1 -1
- package/lib/dist-custom-elements/{p-96b624ec.js → p-bd3f4de1.js} +1 -1
- package/lib/dist-custom-elements/{p-e3ac121c.js → p-c221f8d5.js} +5 -5
- package/lib/dist-custom-elements/{p-7d6d90bc.js → p-c3a8f22f.js} +1 -1
- package/lib/dist-custom-elements/{p-1b3de4b8.js → p-c5723f69.js} +1 -1
- package/lib/dist-custom-elements/{p-d6a6460a.js → p-c9cee36a.js} +1 -1
- package/lib/dist-custom-elements/{p-2747b8c6.js → p-d993c8ca.js} +4 -4
- package/lib/dist-custom-elements/{p-9e83a449.js → p-dade840c.js} +2 -2
- package/lib/dist-custom-elements/{p-ea756e9e.js → p-ddbc4897.js} +5 -5
- package/lib/dist-custom-elements/{p-38b3c30a.js → p-df10a767.js} +71 -274
- package/lib/dist-custom-elements/{p-2b132855.js → p-e550208a.js} +1 -1
- package/lib/dist-custom-elements/{p-28658e20.js → p-e6027c0e.js} +8 -8
- package/lib/dist-custom-elements/{p-eb29050b.js → p-f4a36471.js} +1 -1
- package/lib/dist-custom-elements/{p-05139591.js → p-f97098ff.js} +1 -1
- package/lib/dist-custom-elements/p-fa4af49a.js +278 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-17dc8da9.system.entry.js → p-000197bb.system.entry.js} +1 -1
- package/lib/duet/p-00c61228.system.entry.js +4 -0
- package/lib/duet/{p-2cab347d.system.entry.js → p-02a9b697.system.entry.js} +2 -2
- package/lib/duet/{p-42e270f3.entry.js → p-07795672.entry.js} +1 -1
- package/lib/duet/{p-1e6f5e74.system.entry.js → p-0b208f94.system.entry.js} +1 -1
- package/lib/duet/{p-931c3e1f.system.entry.js → p-0b4324b1.system.entry.js} +1 -1
- package/lib/duet/p-0c7c6acc.system.entry.js +4 -0
- package/lib/duet/{p-e9939ddb.system.entry.js → p-0de3b52d.system.entry.js} +1 -1
- package/lib/duet/{p-93ef4cc2.system.entry.js → p-0f05038e.system.entry.js} +1 -1
- package/lib/duet/{p-1d73a1d2.system.entry.js → p-0f49469b.system.entry.js} +1 -1
- package/lib/duet/{p-dc9bf216.entry.js → p-0fc4fd1f.entry.js} +1 -1
- package/lib/duet/{p-87f85912.system.entry.js → p-0fdddc6d.system.entry.js} +1 -1
- package/lib/duet/{p-0fbdbb6a.entry.js → p-0fe6e2f3.entry.js} +1 -1
- package/lib/duet/p-1090bfbd.entry.js +4 -0
- package/lib/duet/p-10d47bb3.entry.js +4 -0
- package/lib/duet/{p-8cf1327e.entry.js → p-10d57786.entry.js} +1 -1
- package/lib/duet/{p-75898c81.entry.js → p-17569309.entry.js} +1 -1
- package/lib/duet/{p-22e418ea.entry.js → p-18084aa4.entry.js} +1 -1
- package/lib/duet/{p-1d3647c6.system.entry.js → p-18b63745.system.entry.js} +1 -1
- package/lib/duet/{p-673127ac.system.entry.js → p-190e7c1f.system.entry.js} +1 -1
- package/lib/duet/{p-770d0c35.system.entry.js → p-193d3aaa.system.entry.js} +1 -1
- package/lib/duet/p-1983b903.system.entry.js +4 -0
- package/lib/duet/p-2271aa12.entry.js +4 -0
- package/lib/duet/{p-30c684e8.entry.js → p-242c1c1a.entry.js} +1 -1
- package/lib/duet/{p-f88ac93f.system.entry.js → p-26cfed76.system.entry.js} +1 -1
- package/lib/duet/p-26fb19cc.entry.js +4 -0
- package/lib/duet/{p-29ce564d.entry.js → p-29dd2b2b.entry.js} +1 -1
- package/lib/duet/{p-6c1a2b16.entry.js → p-2a8ca3eb.entry.js} +1 -1
- package/lib/duet/{p-65a5fdd5.entry.js → p-2ab30c7f.entry.js} +1 -1
- package/lib/duet/{p-5ad63594.entry.js → p-2f2554c2.entry.js} +1 -1
- package/lib/duet/p-31a14896.entry.js +4 -0
- package/lib/duet/{p-a4cc9386.system.entry.js → p-33ace290.system.entry.js} +1 -1
- package/lib/duet/{p-98202339.entry.js → p-33e8ba00.entry.js} +1 -1
- package/lib/duet/{p-3b70cce3.entry.js → p-346b440a.entry.js} +1 -1
- package/lib/duet/{p-1b11e540.entry.js → p-369190ba.entry.js} +1 -1
- package/lib/duet/{p-379e2995.system.entry.js → p-38b225ec.system.entry.js} +1 -1
- package/lib/duet/{p-ee909d5f.system.entry.js → p-3ae87f9a.system.entry.js} +1 -1
- package/lib/duet/p-3aebf88e.entry.js +4 -0
- package/lib/duet/p-3d4d7d03.system.entry.js +4 -0
- package/lib/duet/{p-03522bb4.entry.js → p-3fe319db.entry.js} +1 -1
- package/lib/duet/p-4047730e.entry.js +4 -0
- package/lib/duet/p-41993ad4.js +4 -0
- package/lib/duet/{p-925f2b45.entry.js → p-42199e80.entry.js} +1 -1
- package/lib/duet/p-4489355c.system.entry.js +4 -0
- package/lib/duet/{p-245a63f4.entry.js → p-45df6b17.entry.js} +1 -1
- package/lib/duet/{p-2a277fb6.entry.js → p-476bec1d.entry.js} +1 -1
- package/lib/duet/{p-ff5f4d38.entry.js → p-49cbf9cc.entry.js} +1 -1
- package/lib/duet/{p-72a2ff4d.entry.js → p-49f5f27e.entry.js} +1 -1
- package/lib/duet/p-4f40525e.system.entry.js +4 -0
- package/lib/duet/{p-9960de16.entry.js → p-53800205.entry.js} +1 -1
- package/lib/duet/{p-f5728af6.system.entry.js → p-54607ab5.system.entry.js} +1 -1
- package/lib/duet/{p-f8d00821.entry.js → p-5514488e.entry.js} +1 -1
- package/lib/duet/{p-cf9279b9.system.entry.js → p-5590d075.system.entry.js} +1 -1
- package/lib/duet/p-57ec25ee.entry.js +4 -0
- package/lib/duet/p-59570fb7.system.entry.js +4 -0
- package/lib/duet/{p-c794bee3.system.entry.js → p-596343b6.system.entry.js} +1 -1
- package/lib/duet/{p-a8a1d1f6.entry.js → p-5c5dd33e.entry.js} +1 -1
- package/lib/duet/p-5dfc4e72.entry.js +4 -0
- package/lib/duet/{p-4f4ed95d.system.entry.js → p-5f9fc349.system.entry.js} +1 -1
- package/lib/duet/{p-13384099.entry.js → p-60210fa0.entry.js} +1 -1
- package/lib/duet/{p-b3154717.entry.js → p-6059377c.entry.js} +1 -1
- package/lib/duet/{p-f4799c34.system.entry.js → p-61dbdf5a.system.entry.js} +1 -1
- package/lib/duet/{p-91df8a4a.system.entry.js → p-639c44ed.system.entry.js} +1 -1
- package/lib/duet/{p-073221c9.system.entry.js → p-642a879a.system.entry.js} +1 -1
- package/lib/duet/{p-d159787d.entry.js → p-645d04bc.entry.js} +1 -1
- package/lib/duet/{p-a31222e3.entry.js → p-65180079.entry.js} +1 -1
- package/lib/duet/{p-0738bb7d.system.entry.js → p-659b9600.system.entry.js} +1 -1
- package/lib/duet/{p-5c4a2f44.system.entry.js → p-679721de.system.entry.js} +1 -1
- package/lib/duet/{p-d6a1c0de.entry.js → p-67f35157.entry.js} +1 -1
- package/lib/duet/{p-bd1d0640.system.js → p-6dea5bde.system.js} +1 -1
- package/lib/duet/{p-4a97ca92.system.entry.js → p-6fafabc4.system.entry.js} +1 -1
- package/lib/duet/{p-8ec5c49e.entry.js → p-6ff2601a.entry.js} +1 -1
- package/lib/duet/{p-b4e863ee.system.entry.js → p-72a8644b.system.entry.js} +1 -1
- package/lib/duet/{p-30551712.system.entry.js → p-74bf128c.system.entry.js} +1 -1
- package/lib/duet/{p-de31586c.system.entry.js → p-7604e184.system.entry.js} +1 -1
- package/lib/duet/{p-5e7dc52a.system.entry.js → p-76c68d61.system.entry.js} +1 -1
- package/lib/duet/{p-6392cafe.entry.js → p-77432368.entry.js} +1 -1
- package/lib/duet/{p-36edc06c.system.entry.js → p-7b75c66a.system.entry.js} +1 -1
- package/lib/duet/{p-1df0bbf9.system.entry.js → p-7c81a1aa.system.entry.js} +1 -1
- package/lib/duet/{p-c654f863.system.entry.js → p-7ce403a2.system.entry.js} +1 -1
- package/lib/duet/{p-a6917de1.system.entry.js → p-7fd5d974.system.entry.js} +1 -1
- package/lib/duet/{p-e7af2cd8.system.entry.js → p-7fe4bf9c.system.entry.js} +1 -1
- package/lib/duet/{p-cad8060d.system.entry.js → p-8168ef41.system.entry.js} +2 -2
- package/lib/duet/{p-6a89c7d0.system.entry.js → p-8215e341.system.entry.js} +1 -1
- package/lib/duet/p-82b5380b.system.js +4 -0
- package/lib/duet/p-82ebc3a6.system.entry.js +4 -0
- package/lib/duet/{p-81668ed2.system.entry.js → p-831c76d5.system.entry.js} +1 -1
- package/lib/duet/{p-6ad538a7.system.entry.js → p-855f2712.system.entry.js} +1 -1
- package/lib/duet/{p-09daf29e.system.entry.js → p-87ea8cd4.system.entry.js} +1 -1
- package/lib/duet/{p-c7fbe38a.entry.js → p-8a06964b.entry.js} +1 -1
- package/lib/duet/{p-cb5ebe92.system.entry.js → p-8d9dc8b8.system.entry.js} +1 -1
- package/lib/duet/{p-058dfaad.entry.js → p-8fc58e21.entry.js} +1 -1
- package/lib/duet/{p-1b426189.entry.js → p-9277a98e.entry.js} +1 -1
- package/lib/duet/{p-c424c794.entry.js → p-9781cd5a.entry.js} +1 -1
- package/lib/duet/{p-91a5c4fd.system.entry.js → p-984be1b2.system.entry.js} +1 -1
- package/lib/duet/{p-2f8c7a7d.entry.js → p-9ad4b03e.entry.js} +1 -1
- package/lib/duet/{p-2528a411.system.entry.js → p-9b4b6a88.system.entry.js} +1 -1
- package/lib/duet/{p-2d3dbd85.system.entry.js → p-9cec464f.system.entry.js} +1 -1
- package/lib/duet/{p-39496689.entry.js → p-a1e03781.entry.js} +1 -1
- package/lib/duet/{p-d3323581.system.entry.js → p-a6f4302f.system.entry.js} +1 -1
- package/lib/duet/{p-62b68de6.system.js → p-a7774674.system.js} +1 -1
- package/lib/duet/{p-85ad609f.entry.js → p-a80b6e7d.entry.js} +1 -1
- package/lib/duet/{p-6486ab91.entry.js → p-a9fac1f4.entry.js} +1 -1
- package/lib/duet/{p-6766ef3d.system.entry.js → p-aa1c11b3.system.entry.js} +1 -1
- package/lib/duet/{p-d18383cd.entry.js → p-ab15c9ba.entry.js} +1 -1
- package/lib/duet/{p-fa400061.entry.js → p-b6f46697.entry.js} +1 -1
- package/lib/duet/{p-637f635a.entry.js → p-bb3ab94b.entry.js} +1 -1
- package/lib/duet/{p-7f8020bf.entry.js → p-bb450fde.entry.js} +1 -1
- package/lib/duet/{p-308b881b.js → p-bcb2eb05.js} +1 -1
- package/lib/duet/{p-fd33eb2c.entry.js → p-bd21ed24.entry.js} +1 -1
- package/lib/duet/{p-1f3d12d2.system.entry.js → p-be64cb47.system.entry.js} +1 -1
- package/lib/duet/{p-72d1f618.system.entry.js → p-bf5e03b7.system.entry.js} +1 -1
- package/lib/duet/{p-07300cb6.entry.js → p-c01a1e38.entry.js} +1 -1
- package/lib/duet/{p-62b435d1.system.entry.js → p-c20f14ee.system.entry.js} +1 -1
- package/lib/duet/{p-5f2e386e.entry.js → p-c56f6296.entry.js} +1 -1
- package/lib/duet/{p-779be7c6.system.entry.js → p-c591ed98.system.entry.js} +1 -1
- package/lib/duet/{p-ef033a06.system.entry.js → p-c838f35a.system.entry.js} +1 -1
- package/lib/duet/{p-909e088e.system.entry.js → p-c8af967c.system.entry.js} +1 -1
- package/lib/duet/{p-17d2c223.system.entry.js → p-cd14aa98.system.entry.js} +1 -1
- package/lib/duet/{p-e501bad4.system.entry.js → p-ced270b7.system.entry.js} +1 -1
- package/lib/duet/{p-ad3eba9a.entry.js → p-d1308874.entry.js} +1 -1
- package/lib/duet/{p-22dd2fab.entry.js → p-d1fdf904.entry.js} +1 -1
- package/lib/duet/{p-99a8b5f5.entry.js → p-d20bc0fc.entry.js} +1 -1
- package/lib/duet/{p-56b92797.entry.js → p-d309acda.entry.js} +1 -1
- package/lib/duet/{p-d85d8db5.entry.js → p-d707c91d.entry.js} +1 -1
- package/lib/duet/{p-5048f9a7.entry.js → p-d70c1993.entry.js} +1 -1
- package/lib/duet/{p-420dfc2c.entry.js → p-d837c30c.entry.js} +1 -1
- package/lib/duet/{p-62c70a95.entry.js → p-d90b9d82.entry.js} +1 -1
- package/lib/duet/{p-89d9030e.system.entry.js → p-d95542b2.system.entry.js} +1 -1
- package/lib/duet/{p-1a542b7c.system.entry.js → p-dcb58b72.system.entry.js} +1 -1
- package/lib/duet/p-df10a767.js +4 -0
- package/lib/duet/{p-ed78f6fe.system.entry.js → p-e13b266c.system.entry.js} +1 -1
- package/lib/duet/{p-c085e346.system.entry.js → p-e1470177.system.entry.js} +1 -1
- package/lib/duet/{p-a7c64d94.entry.js → p-e195ff77.entry.js} +1 -1
- package/lib/duet/{p-32237f45.entry.js → p-e26c92ae.entry.js} +1 -1
- package/lib/duet/{p-5c444839.entry.js → p-e33b158e.entry.js} +1 -1
- package/lib/duet/{p-1c7ad230.system.entry.js → p-e3a868e7.system.entry.js} +1 -1
- package/lib/duet/{p-6a42d57c.system.entry.js → p-e5ff4740.system.entry.js} +1 -1
- package/lib/duet/{p-bbadf525.system.entry.js → p-e664403b.system.entry.js} +1 -1
- package/lib/duet/{p-0dda8331.entry.js → p-e6701508.entry.js} +1 -1
- package/lib/duet/{p-8f7f4724.entry.js → p-ea0b3f23.entry.js} +1 -1
- package/lib/duet/{p-b76ce62b.entry.js → p-eaf5b796.entry.js} +1 -1
- package/lib/duet/{p-9c554b07.entry.js → p-f01b3bfa.entry.js} +1 -1
- package/lib/duet/{p-cfde4f9a.system.entry.js → p-f1bce38a.system.entry.js} +1 -1
- package/lib/duet/{p-8c404f51.system.entry.js → p-f3baf86a.system.entry.js} +1 -1
- package/lib/duet/{p-0b34d9b5.system.entry.js → p-f605a26a.system.entry.js} +1 -1
- package/lib/duet/{p-b906790d.entry.js → p-f9191467.entry.js} +1 -1
- package/lib/duet/p-f93a2b8c.system.js +4 -0
- package/lib/duet/{p-077edef7.entry.js → p-fb88df1a.entry.js} +1 -1
- package/lib/duet/{p-94d448f9.system.entry.js → p-fca2f60d.system.entry.js} +1 -1
- package/lib/duet/{p-eb9c8e60.entry.js → p-fcc9c563.entry.js} +1 -1
- package/lib/duet/{p-d7425b07.entry.js → p-fce75de7.entry.js} +1 -1
- package/lib/duet/{p-7dea5e1a.system.entry.js → p-fd760e06.system.entry.js} +1 -1
- package/lib/duet/{p-af3060c1.system.entry.js → p-ff0c5b5b.system.entry.js} +1 -1
- package/lib/duet/{p-6a07feba.entry.js → p-ff814fdc.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 +91 -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 +4 -2
- 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 +1 -1
- 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 +39 -0
- package/lib/esm/duet-popup-menu.entry.js +105 -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 +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +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-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/floating-ui.dom.esm-37dc174a.js +1245 -0
- package/lib/esm/{focus-utils-552e67ed.js → focus-utils-20785530.js} +1 -1
- package/lib/esm/{index-5aaf4b5b.js → index-dcb8c495.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 +1 -1
- 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 +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 +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-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +4 -0
- package/lib/esm-es5/{focus-utils-552e67ed.js → focus-utils-20785530.js} +1 -1
- package/lib/esm-es5/{index-5aaf4b5b.js → index-dcb8c495.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +83 -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-number-input/duet-number-input.d.ts +4 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +67 -0
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +47 -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.d.ts +342 -0
- package/package.json +11 -6
- package/lib/duet/p-0952d4a4.system.entry.js +0 -4
- package/lib/duet/p-225d9dbe.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-6a9319ad.system.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
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { inheritGlobalTheme } from "../../common";
|
|
6
|
+
import { createID } from "../../utils/create-id";
|
|
7
|
+
export class DuetChip {
|
|
8
|
+
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* Own Properties.
|
|
11
|
+
*/
|
|
12
|
+
this.chipId = createID("DuetChip");
|
|
13
|
+
/**
|
|
14
|
+
* Component event handling.
|
|
15
|
+
*/
|
|
16
|
+
this.onFocus = (ev) => {
|
|
17
|
+
this.focus = true;
|
|
18
|
+
this.duetFocus.emit({
|
|
19
|
+
originalEvent: ev,
|
|
20
|
+
checked: this.checked,
|
|
21
|
+
value: this.value,
|
|
22
|
+
component: "duet-chip",
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
this.onBlur = (ev) => {
|
|
26
|
+
this.focus = false;
|
|
27
|
+
this.duetBlur.emit({
|
|
28
|
+
originalEvent: ev,
|
|
29
|
+
checked: this.checked,
|
|
30
|
+
value: this.value,
|
|
31
|
+
component: "duet-chip",
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
this.toggleChecked = (ev) => {
|
|
35
|
+
this.checked = !this.checked;
|
|
36
|
+
this.duetChange.emit({
|
|
37
|
+
originalEvent: ev,
|
|
38
|
+
checked: this.checked,
|
|
39
|
+
value: this.value,
|
|
40
|
+
component: "duet-chip",
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
this.remove = (ev) => {
|
|
44
|
+
ev.stopPropagation();
|
|
45
|
+
ev.preventDefault();
|
|
46
|
+
this.element.remove();
|
|
47
|
+
};
|
|
48
|
+
this.focus = false;
|
|
49
|
+
this.accessibleLabel = undefined;
|
|
50
|
+
this.variation = "button";
|
|
51
|
+
this.icon = "";
|
|
52
|
+
this.theme = "";
|
|
53
|
+
this.identifier = undefined;
|
|
54
|
+
this.value = undefined;
|
|
55
|
+
this.name = undefined;
|
|
56
|
+
this.checked = false;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Component lifecycle events.
|
|
60
|
+
*/
|
|
61
|
+
componentWillLoad() {
|
|
62
|
+
inheritGlobalTheme(this);
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
const identifier = this.identifier || this.chipId;
|
|
66
|
+
const classes = {
|
|
67
|
+
"duet-chip-container": true,
|
|
68
|
+
[`duet-chip-${this.variation}`]: true,
|
|
69
|
+
"duet-chip-focus": this.focus,
|
|
70
|
+
"duet-chip-has-icon": !!this.icon,
|
|
71
|
+
"duet-theme-turva": this.theme === "turva",
|
|
72
|
+
"duet-chip-filter-checked": this.variation === "filter" && this.checked,
|
|
73
|
+
};
|
|
74
|
+
const focusHandlers = {
|
|
75
|
+
onFocus: this.onFocus,
|
|
76
|
+
onBlur: this.onBlur,
|
|
77
|
+
};
|
|
78
|
+
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: "xx-small", margin: "none", color: "currentColor" }))), h("slot", null)))), this.variation === "input" && (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: "xx-small", margin: "none", color: "currentColor" }))), h("slot", null)), h("button", { class: "duet-chip-remove-button", onClick: this.remove }, h("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("div", { class: classes }, h("input", Object.assign({ id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onChange: this.toggleChecked }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "xx-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))))));
|
|
79
|
+
}
|
|
80
|
+
static get is() { return "duet-chip"; }
|
|
81
|
+
static get encapsulation() { return "shadow"; }
|
|
82
|
+
static get originalStyleUrls() {
|
|
83
|
+
return {
|
|
84
|
+
"$": ["duet-chip.scss"]
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
static get styleUrls() {
|
|
88
|
+
return {
|
|
89
|
+
"$": ["duet-chip.css"]
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
static get properties() {
|
|
93
|
+
return {
|
|
94
|
+
"accessibleLabel": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"mutable": false,
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "string",
|
|
99
|
+
"resolved": "string",
|
|
100
|
+
"references": {}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": false,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [],
|
|
106
|
+
"text": "Adds accessible label for the chip that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
107
|
+
},
|
|
108
|
+
"attribute": "accessible-label",
|
|
109
|
+
"reflect": false
|
|
110
|
+
},
|
|
111
|
+
"variation": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"mutable": false,
|
|
114
|
+
"complexType": {
|
|
115
|
+
"original": "DuetChipVariation",
|
|
116
|
+
"resolved": "\"button\" | \"filter\" | \"input\"",
|
|
117
|
+
"references": {
|
|
118
|
+
"DuetChipVariation": {
|
|
119
|
+
"location": "local",
|
|
120
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"required": false,
|
|
125
|
+
"optional": false,
|
|
126
|
+
"docs": {
|
|
127
|
+
"tags": [],
|
|
128
|
+
"text": "Variation of the chip.\nButton should be used to present a list of actions or suggestions. It behaves like a button and must be used\ntogether with a click handler. Filter acts like a checkbox, it can be toggled on or off, and it should be\nused with a value. Input represents items input by the user, and the chip can be removed with a click.\nWARNING: Input variation is still work-in-progress and subject to change."
|
|
129
|
+
},
|
|
130
|
+
"attribute": "variation",
|
|
131
|
+
"reflect": false,
|
|
132
|
+
"defaultValue": "\"button\""
|
|
133
|
+
},
|
|
134
|
+
"icon": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"mutable": false,
|
|
137
|
+
"complexType": {
|
|
138
|
+
"original": "DuetIconName",
|
|
139
|
+
"resolved": "string",
|
|
140
|
+
"references": {
|
|
141
|
+
"DuetIconName": {
|
|
142
|
+
"location": "import",
|
|
143
|
+
"path": "../../common-types"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"optional": false,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": "Icon to display to the left of the chip content."
|
|
152
|
+
},
|
|
153
|
+
"attribute": "icon",
|
|
154
|
+
"reflect": false,
|
|
155
|
+
"defaultValue": "\"\""
|
|
156
|
+
},
|
|
157
|
+
"theme": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"mutable": true,
|
|
160
|
+
"complexType": {
|
|
161
|
+
"original": "DuetTheme",
|
|
162
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
163
|
+
"references": {
|
|
164
|
+
"DuetTheme": {
|
|
165
|
+
"location": "import",
|
|
166
|
+
"path": "../../common-types"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": false,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": "Theme of the button."
|
|
175
|
+
},
|
|
176
|
+
"attribute": "theme",
|
|
177
|
+
"reflect": false,
|
|
178
|
+
"defaultValue": "\"\""
|
|
179
|
+
},
|
|
180
|
+
"identifier": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"mutable": false,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "string",
|
|
185
|
+
"resolved": "string",
|
|
186
|
+
"references": {}
|
|
187
|
+
},
|
|
188
|
+
"required": false,
|
|
189
|
+
"optional": false,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [],
|
|
192
|
+
"text": "Adds a unique identifier for the chip."
|
|
193
|
+
},
|
|
194
|
+
"attribute": "identifier",
|
|
195
|
+
"reflect": false
|
|
196
|
+
},
|
|
197
|
+
"value": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"mutable": false,
|
|
200
|
+
"complexType": {
|
|
201
|
+
"original": "string",
|
|
202
|
+
"resolved": "string",
|
|
203
|
+
"references": {}
|
|
204
|
+
},
|
|
205
|
+
"required": false,
|
|
206
|
+
"optional": false,
|
|
207
|
+
"docs": {
|
|
208
|
+
"tags": [],
|
|
209
|
+
"text": "The value of the html input when used as filter, or the button's value."
|
|
210
|
+
},
|
|
211
|
+
"attribute": "value",
|
|
212
|
+
"reflect": false
|
|
213
|
+
},
|
|
214
|
+
"name": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"mutable": false,
|
|
217
|
+
"complexType": {
|
|
218
|
+
"original": "string",
|
|
219
|
+
"resolved": "string",
|
|
220
|
+
"references": {}
|
|
221
|
+
},
|
|
222
|
+
"required": false,
|
|
223
|
+
"optional": false,
|
|
224
|
+
"docs": {
|
|
225
|
+
"tags": [],
|
|
226
|
+
"text": "Name attribute of the html input (filter) or button."
|
|
227
|
+
},
|
|
228
|
+
"attribute": "name",
|
|
229
|
+
"reflect": false
|
|
230
|
+
},
|
|
231
|
+
"checked": {
|
|
232
|
+
"type": "boolean",
|
|
233
|
+
"mutable": true,
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "boolean",
|
|
236
|
+
"resolved": "boolean",
|
|
237
|
+
"references": {}
|
|
238
|
+
},
|
|
239
|
+
"required": false,
|
|
240
|
+
"optional": false,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": "Checked state of the filter chip."
|
|
244
|
+
},
|
|
245
|
+
"attribute": "checked",
|
|
246
|
+
"reflect": true,
|
|
247
|
+
"defaultValue": "false"
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
static get states() {
|
|
252
|
+
return {
|
|
253
|
+
"focus": {}
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
static get events() {
|
|
257
|
+
return [{
|
|
258
|
+
"method": "duetChange",
|
|
259
|
+
"name": "duetChange",
|
|
260
|
+
"bubbles": false,
|
|
261
|
+
"cancelable": true,
|
|
262
|
+
"composed": true,
|
|
263
|
+
"docs": {
|
|
264
|
+
"tags": [],
|
|
265
|
+
"text": "Emitted when the checked property has changed (applicable only for the filter variation)."
|
|
266
|
+
},
|
|
267
|
+
"complexType": {
|
|
268
|
+
"original": "DuetChipEvent",
|
|
269
|
+
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-chip\"; }",
|
|
270
|
+
"references": {
|
|
271
|
+
"DuetChipEvent": {
|
|
272
|
+
"location": "local",
|
|
273
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx"
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}, {
|
|
278
|
+
"method": "duetFocus",
|
|
279
|
+
"name": "duetFocus",
|
|
280
|
+
"bubbles": true,
|
|
281
|
+
"cancelable": true,
|
|
282
|
+
"composed": true,
|
|
283
|
+
"docs": {
|
|
284
|
+
"tags": [],
|
|
285
|
+
"text": "Emitted when the chip receives focus."
|
|
286
|
+
},
|
|
287
|
+
"complexType": {
|
|
288
|
+
"original": "DuetChipEvent",
|
|
289
|
+
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-chip\"; }",
|
|
290
|
+
"references": {
|
|
291
|
+
"DuetChipEvent": {
|
|
292
|
+
"location": "local",
|
|
293
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}, {
|
|
298
|
+
"method": "duetBlur",
|
|
299
|
+
"name": "duetBlur",
|
|
300
|
+
"bubbles": true,
|
|
301
|
+
"cancelable": true,
|
|
302
|
+
"composed": true,
|
|
303
|
+
"docs": {
|
|
304
|
+
"tags": [],
|
|
305
|
+
"text": "Emitted when the chip loses focus."
|
|
306
|
+
},
|
|
307
|
+
"complexType": {
|
|
308
|
+
"original": "DuetChipEvent",
|
|
309
|
+
"resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-chip\"; }",
|
|
310
|
+
"references": {
|
|
311
|
+
"DuetChipEvent": {
|
|
312
|
+
"location": "local",
|
|
313
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-chip/duet-chip.tsx"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}];
|
|
318
|
+
}
|
|
319
|
+
static get elementRef() { return "element"; }
|
|
320
|
+
}
|
|
@@ -151,21 +151,6 @@
|
|
|
151
151
|
.duet-theme-turva .info .duet-choice-label {
|
|
152
152
|
border-color: rgb(228, 228, 230);
|
|
153
153
|
}
|
|
154
|
-
.duet-choice-label:not(.no-hover):hover {
|
|
155
|
-
border-color: rgb(144, 149, 153);
|
|
156
|
-
}
|
|
157
|
-
.duet-choice-label:not(.no-hover):hover .duet-checkmark-container {
|
|
158
|
-
border-color: rgb(144, 149, 153);
|
|
159
|
-
}
|
|
160
|
-
.duet-theme-turva .duet-choice-label:not(.no-hover):hover {
|
|
161
|
-
border-color: rgb(116, 116, 117);
|
|
162
|
-
}
|
|
163
|
-
.duet-theme-turva .duet-choice-label:not(.no-hover):hover .duet-checkmark-container {
|
|
164
|
-
border-color: rgb(116, 116, 117);
|
|
165
|
-
}
|
|
166
|
-
.duet-theme-turva .info .duet-choice-label:not(.no-hover):hover {
|
|
167
|
-
border-color: rgb(116, 116, 117);
|
|
168
|
-
}
|
|
169
154
|
.duet-choice-label:active {
|
|
170
155
|
opacity: 0.75;
|
|
171
156
|
transition: none !important;
|
|
@@ -186,12 +171,29 @@
|
|
|
186
171
|
.duet-theme-turva .checked .duet-choice-label .duet-checkmark-container {
|
|
187
172
|
border-color: rgb(198, 12, 48);
|
|
188
173
|
}
|
|
189
|
-
.checked.collapsible .duet-choice-label {
|
|
174
|
+
.checked.collapsible .duet-choice-label, .collapsible-force-expanded.collapsible .duet-choice-label {
|
|
175
|
+
padding-bottom: calc(1rem + 2px);
|
|
190
176
|
border-bottom: 0 !important;
|
|
191
177
|
border-bottom-right-radius: 0;
|
|
192
178
|
border-bottom-left-radius: 0;
|
|
193
179
|
}
|
|
194
180
|
|
|
181
|
+
:host(:not(.no-hover):not(.disabled):hover) .duet-choice-label:not(.checked) {
|
|
182
|
+
border-color: rgb(144, 149, 153);
|
|
183
|
+
}
|
|
184
|
+
:host(:not(.no-hover):not(.disabled):hover) .duet-choice-label:not(.checked) .duet-checkmark-container {
|
|
185
|
+
border-color: rgb(144, 149, 153);
|
|
186
|
+
}
|
|
187
|
+
.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) .duet-choice-label:not(.checked) {
|
|
188
|
+
border-color: rgb(116, 116, 117);
|
|
189
|
+
}
|
|
190
|
+
.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) .duet-choice-label:not(.checked) .duet-checkmark-container {
|
|
191
|
+
border-color: rgb(116, 116, 117);
|
|
192
|
+
}
|
|
193
|
+
.duet-theme-turva .info :host(:not(.no-hover):not(.disabled):hover) .duet-choice-label:not(.checked) {
|
|
194
|
+
border-color: rgb(116, 116, 117);
|
|
195
|
+
}
|
|
196
|
+
|
|
195
197
|
input:focus {
|
|
196
198
|
outline: 0;
|
|
197
199
|
}
|
|
@@ -341,7 +343,6 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
341
343
|
.duet-choice-card-info, .duet-choice-card-collapsible {
|
|
342
344
|
padding: 20px !important;
|
|
343
345
|
position: relative;
|
|
344
|
-
z-index: 200;
|
|
345
346
|
width: 100%;
|
|
346
347
|
font-weight: 400;
|
|
347
348
|
color: rgb(0, 41, 77);
|
|
@@ -366,21 +367,33 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
366
367
|
}
|
|
367
368
|
.duet-choice-card-collapsible {
|
|
368
369
|
background: rgb(255, 255, 255);
|
|
369
|
-
border: 2px solid rgb(
|
|
370
|
+
border: 2px solid rgb(225, 227, 230);
|
|
370
371
|
border-top: 0;
|
|
371
372
|
}
|
|
372
373
|
.duet-choice-card-collapsible.duet-theme-turva {
|
|
373
374
|
background: rgb(255, 255, 255);
|
|
375
|
+
border-color: rgb(228, 228, 230);
|
|
376
|
+
}
|
|
377
|
+
.duet-choice-card-collapsible.checked {
|
|
378
|
+
border-color: rgb(0, 119, 179);
|
|
379
|
+
}
|
|
380
|
+
.duet-choice-card-collapsible.checked.duet-theme-turva {
|
|
374
381
|
border-color: rgb(23, 28, 58);
|
|
375
382
|
}
|
|
376
383
|
.duet-choice-card-collapsible-disabled {
|
|
377
384
|
background: rgb(245, 248, 250);
|
|
378
385
|
border-color: rgb(225, 227, 230);
|
|
379
386
|
}
|
|
387
|
+
.duet-choice-card-collapsible-disabled.checked {
|
|
388
|
+
border-color: rgb(225, 227, 230);
|
|
389
|
+
}
|
|
380
390
|
.duet-choice-card-collapsible-disabled.duet-theme-turva {
|
|
381
391
|
background: rgb(245, 245, 247);
|
|
382
392
|
border-color: rgb(228, 228, 230);
|
|
383
393
|
}
|
|
394
|
+
.duet-choice-card-collapsible-disabled.duet-theme-turva.checked {
|
|
395
|
+
border-color: rgb(228, 228, 230);
|
|
396
|
+
}
|
|
384
397
|
.duet-choice-card-info {
|
|
385
398
|
font-size: 0.875rem;
|
|
386
399
|
line-height: 1.5;
|
|
@@ -392,6 +405,13 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
392
405
|
border-color: rgb(228, 228, 230);
|
|
393
406
|
}
|
|
394
407
|
|
|
408
|
+
:host(:not(.no-hover):not(.disabled):hover) .duet-choice-card-collapsible:not(.checked) {
|
|
409
|
+
border-color: rgb(144, 149, 153);
|
|
410
|
+
}
|
|
411
|
+
.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) .duet-choice-card-collapsible:not(.checked) {
|
|
412
|
+
border-color: rgb(116, 116, 117);
|
|
413
|
+
}
|
|
414
|
+
|
|
395
415
|
.duet-choice-info-toggle {
|
|
396
416
|
display: flex;
|
|
397
417
|
flex-shrink: 0;
|
|
@@ -413,6 +433,9 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
413
433
|
border-bottom-color: transparent;
|
|
414
434
|
border-bottom-right-radius: 0;
|
|
415
435
|
}
|
|
436
|
+
.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true] {
|
|
437
|
+
background: rgb(245, 245, 247);
|
|
438
|
+
}
|
|
416
439
|
.duet-choice-info-toggle[disabled] {
|
|
417
440
|
pointer-events: none;
|
|
418
441
|
background: rgb(245, 248, 250) !important;
|
|
@@ -434,9 +457,6 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
434
457
|
:host(.user-is-tabbing) .duet-choice-info-toggle:focus {
|
|
435
458
|
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
436
459
|
}
|
|
437
|
-
.duet-choice-label:not(.no-hover):hover .duet-choice-info-toggle {
|
|
438
|
-
border-left-color: rgb(144, 149, 153);
|
|
439
|
-
}
|
|
440
460
|
.checked .duet-choice-info-toggle {
|
|
441
461
|
border-left-color: rgb(0, 119, 179) !important;
|
|
442
462
|
}
|
|
@@ -450,6 +470,13 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
450
470
|
color: rgb(198, 12, 48);
|
|
451
471
|
}
|
|
452
472
|
|
|
473
|
+
:host(:not(.no-hover):not(.disabled):hover) .duet-choice-label .duet-choice-info-toggle {
|
|
474
|
+
border-left-color: rgb(144, 149, 153);
|
|
475
|
+
}
|
|
476
|
+
.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) .duet-choice-label .duet-choice-info-toggle {
|
|
477
|
+
border-left-color: rgb(116, 116, 117);
|
|
478
|
+
}
|
|
479
|
+
|
|
453
480
|
.duet-choice-input {
|
|
454
481
|
position: absolute !important;
|
|
455
482
|
width: 100%;
|
|
@@ -71,7 +71,7 @@ export class DuetChoice {
|
|
|
71
71
|
this.toggleChecked = ev => {
|
|
72
72
|
ev.preventDefault();
|
|
73
73
|
ev.stopPropagation();
|
|
74
|
-
if (this.
|
|
74
|
+
if (this.getDisabled()) {
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
77
|
this.isInfoOpen = false;
|
|
@@ -112,6 +112,7 @@ export class DuetChoice {
|
|
|
112
112
|
this.name = undefined;
|
|
113
113
|
this.checked = false;
|
|
114
114
|
this.collapsible = false;
|
|
115
|
+
this.collapsibleForceExpanded = false;
|
|
115
116
|
this.margin = "auto";
|
|
116
117
|
this.icon = "";
|
|
117
118
|
this.expand = false;
|
|
@@ -209,9 +210,16 @@ export class DuetChoice {
|
|
|
209
210
|
}
|
|
210
211
|
return null;
|
|
211
212
|
}
|
|
213
|
+
getDisabled() {
|
|
214
|
+
return this.disabled || this.groupDisabled;
|
|
215
|
+
}
|
|
216
|
+
getExpanded() {
|
|
217
|
+
return this.checked || this.collapsibleForceExpanded;
|
|
218
|
+
}
|
|
212
219
|
getClassNames() {
|
|
213
220
|
if (this.hasInfo && !this.collapsible) {
|
|
214
221
|
return {
|
|
222
|
+
checked: this.checked,
|
|
215
223
|
"duet-choice-card-info": true,
|
|
216
224
|
"duet-choice-card-info-expanded": this.isInfoOpen,
|
|
217
225
|
"duet-choice-card-collapsed": !this.isInfoOpen,
|
|
@@ -220,14 +228,16 @@ export class DuetChoice {
|
|
|
220
228
|
}
|
|
221
229
|
if (!this.hasInfo && this.collapsible) {
|
|
222
230
|
return {
|
|
231
|
+
checked: this.checked,
|
|
223
232
|
"duet-choice-card-collapsible": true,
|
|
224
|
-
"duet-choice-card-collapsible-expanded": this.
|
|
225
|
-
"duet-choice-card-collapsed": !this.
|
|
226
|
-
"duet-choice-card-collapsible-disabled": this.
|
|
233
|
+
"duet-choice-card-collapsible-expanded": this.getExpanded(),
|
|
234
|
+
"duet-choice-card-collapsed": !this.getExpanded(),
|
|
235
|
+
"duet-choice-card-collapsible-disabled": this.getDisabled(),
|
|
227
236
|
"duet-theme-turva": this.theme === "turva",
|
|
228
237
|
};
|
|
229
238
|
}
|
|
230
239
|
return {
|
|
240
|
+
checked: this.checked,
|
|
231
241
|
"duet-choice-default-slot": true,
|
|
232
242
|
};
|
|
233
243
|
}
|
|
@@ -245,6 +255,8 @@ export class DuetChoice {
|
|
|
245
255
|
"duet-m-0": this.margin === "none",
|
|
246
256
|
"duet-expand": this.expand,
|
|
247
257
|
"duet-theme-turva": this.theme === "turva",
|
|
258
|
+
"no-hover": this.isHovering,
|
|
259
|
+
disabled: this.getDisabled(),
|
|
248
260
|
} }, h("div", { class: {
|
|
249
261
|
"duet-choice-card-flextainer": true,
|
|
250
262
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -255,13 +267,14 @@ export class DuetChoice {
|
|
|
255
267
|
checked: this.checked,
|
|
256
268
|
info: this.isInfoOpen,
|
|
257
269
|
collapsible: this.collapsible,
|
|
270
|
+
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
258
271
|
"duet-p-0": this.padding === "none",
|
|
259
|
-
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.
|
|
272
|
+
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, choiceGroupLabel && h("duet-visually-hidden", null, choiceGroupLabel, ", "), h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
260
273
|
"duet-choice-info-toggle": true,
|
|
261
274
|
"duet-theme-turva": this.theme === "turva",
|
|
262
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.
|
|
263
|
-
"duet-choice-section-visible": this.collapsible ? this.
|
|
264
|
-
"duet-choice-section-hidden": this.collapsible ? !this.
|
|
275
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
276
|
+
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
277
|
+
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
265
278
|
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", null, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", null, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
|
|
266
279
|
}
|
|
267
280
|
static get is() { return "duet-choice"; }
|
|
@@ -596,6 +609,24 @@ export class DuetChoice {
|
|
|
596
609
|
"reflect": false,
|
|
597
610
|
"defaultValue": "false"
|
|
598
611
|
},
|
|
612
|
+
"collapsibleForceExpanded": {
|
|
613
|
+
"type": "boolean",
|
|
614
|
+
"mutable": false,
|
|
615
|
+
"complexType": {
|
|
616
|
+
"original": "boolean",
|
|
617
|
+
"resolved": "boolean",
|
|
618
|
+
"references": {}
|
|
619
|
+
},
|
|
620
|
+
"required": false,
|
|
621
|
+
"optional": false,
|
|
622
|
+
"docs": {
|
|
623
|
+
"tags": [],
|
|
624
|
+
"text": "This attribute works only when the 'collapsible' attribute is set to true.\nIt maintains the visibility of the additional content section, regardless of whether the input is checked or not."
|
|
625
|
+
},
|
|
626
|
+
"attribute": "collapsible-force-expanded",
|
|
627
|
+
"reflect": false,
|
|
628
|
+
"defaultValue": "false"
|
|
629
|
+
},
|
|
599
630
|
"margin": {
|
|
600
631
|
"type": "string",
|
|
601
632
|
"mutable": false,
|
|
@@ -870,7 +901,7 @@ export class DuetChoice {
|
|
|
870
901
|
"references": {
|
|
871
902
|
"DuetChoiceEvent": {
|
|
872
903
|
"location": "local",
|
|
873
|
-
"path": "/Users/
|
|
904
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx"
|
|
874
905
|
}
|
|
875
906
|
}
|
|
876
907
|
}
|
|
@@ -890,7 +921,7 @@ export class DuetChoice {
|
|
|
890
921
|
"references": {
|
|
891
922
|
"DuetChoiceEvent": {
|
|
892
923
|
"location": "local",
|
|
893
|
-
"path": "/Users/
|
|
924
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx"
|
|
894
925
|
}
|
|
895
926
|
}
|
|
896
927
|
}
|
|
@@ -910,7 +941,7 @@ export class DuetChoice {
|
|
|
910
941
|
"references": {
|
|
911
942
|
"DuetChoiceEvent": {
|
|
912
943
|
"location": "local",
|
|
913
|
-
"path": "/Users/
|
|
944
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx"
|
|
914
945
|
}
|
|
915
946
|
}
|
|
916
947
|
}
|
|
@@ -225,7 +225,7 @@ export class DuetCollapsible {
|
|
|
225
225
|
"references": {
|
|
226
226
|
"DuetCollapsibleWeight": {
|
|
227
227
|
"location": "local",
|
|
228
|
-
"path": "/Users/
|
|
228
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx"
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
},
|
|
@@ -248,7 +248,7 @@ export class DuetCollapsible {
|
|
|
248
248
|
"references": {
|
|
249
249
|
"DuetCollapsibleHeadingFontSize": {
|
|
250
250
|
"location": "local",
|
|
251
|
-
"path": "/Users/
|
|
251
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx"
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
},
|
|
@@ -345,7 +345,7 @@ export class DuetCollapsible {
|
|
|
345
345
|
"references": {
|
|
346
346
|
"DuetCollapsibleToggleEvent": {
|
|
347
347
|
"location": "local",
|
|
348
|
-
"path": "/Users/
|
|
348
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx"
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
}
|
|
@@ -498,7 +498,7 @@ export class DuetCombobox {
|
|
|
498
498
|
"references": {
|
|
499
499
|
"DuetComboboxItem": {
|
|
500
500
|
"location": "local",
|
|
501
|
-
"path": "/Users/
|
|
501
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx"
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
},
|
|
@@ -618,7 +618,7 @@ export class DuetCombobox {
|
|
|
618
618
|
"references": {
|
|
619
619
|
"DuetComboboxEvent": {
|
|
620
620
|
"location": "local",
|
|
621
|
-
"path": "/Users/
|
|
621
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx"
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
}
|
|
@@ -642,7 +642,7 @@ export class DuetCombobox {
|
|
|
642
642
|
},
|
|
643
643
|
"DuetComboboxItem": {
|
|
644
644
|
"location": "local",
|
|
645
|
-
"path": "/Users/
|
|
645
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx"
|
|
646
646
|
}
|
|
647
647
|
},
|
|
648
648
|
"return": "Promise<string>"
|
|
@@ -99,7 +99,7 @@ export class DuetCookieConsent {
|
|
|
99
99
|
"references": {
|
|
100
100
|
"DuetCookieConsentEvent": {
|
|
101
101
|
"location": "local",
|
|
102
|
-
"path": "/Users/
|
|
102
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-cookie-consent/duet-cookie-consent.tsx"
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
}
|