@duetds/components 6.10.1 → 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 +4130 -3647
- 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 +5 -3
- 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 +23 -5
- 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 +4 -4
- 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-b45e4830.js → focus-utils-fa8771cc.js} +1 -1
- package/lib/cjs/{index-a6cfed65.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-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 +39 -8
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +10 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +22 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +23 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +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 +9 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +12 -2
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +25 -2
- package/lib/collection/components/duet-show-more/duet-show-more.css +46 -0
- package/lib/collection/components/duet-show-more/duet-show-more.js +214 -0
- package/lib/collection/components/duet-upload/duet-upload.js +48 -1
- package/lib/collection/components/duet-upload/upload-item.js +8 -2
- 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 +7 -4
- 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 +5 -4
- 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 +37 -20
- 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-7a8d0bb0.js → p-0639a930.js} +1 -1
- package/lib/dist-custom-elements/{p-d7b4d591.js → p-06f56040.js} +1 -1
- package/lib/dist-custom-elements/{p-3b39da12.js → p-0bab8976.js} +3 -3
- package/lib/dist-custom-elements/{p-1344c068.js → p-1460c5f4.js} +1 -1
- package/lib/dist-custom-elements/{p-a15eaed8.js → p-362cf634.js} +2 -2
- package/lib/dist-custom-elements/{p-4fcae101.js → p-4524a59b.js} +2 -2
- package/lib/dist-custom-elements/{p-0e902571.js → p-581d4969.js} +1 -1
- package/lib/dist-custom-elements/{p-ceee58b4.js → p-59964344.js} +1 -1
- package/lib/dist-custom-elements/{p-8b72e2b2.js → p-8549a5d3.js} +1 -1
- package/lib/dist-custom-elements/{p-9db7387e.js → p-87b42dc0.js} +3 -3
- package/lib/dist-custom-elements/{p-ddfc5de9.js → p-88a1aa29.js} +1 -1
- package/lib/dist-custom-elements/{p-0674039c.js → p-9a39285c.js} +1 -1
- package/lib/dist-custom-elements/{p-d9a3be78.js → p-9e321809.js} +1 -1
- package/lib/dist-custom-elements/{p-72c5512a.js → p-a76c2c68.js} +6 -6
- package/lib/dist-custom-elements/{p-bcf1e39a.js → p-ab8093ce.js} +2 -2
- package/lib/dist-custom-elements/{p-28c1f4ec.js → p-abf2f8eb.js} +1 -1
- package/lib/dist-custom-elements/{p-628b8684.js → p-b0a1fc7a.js} +1 -1
- package/lib/dist-custom-elements/{p-1d986611.js → p-b0e822ad.js} +1 -1
- package/lib/dist-custom-elements/{p-75c1e787.js → p-bd3f4de1.js} +1 -1
- package/lib/dist-custom-elements/{p-8dd1cf45.js → p-c221f8d5.js} +5 -5
- package/lib/dist-custom-elements/{p-2f9bbe4a.js → p-c3a8f22f.js} +1 -1
- package/lib/dist-custom-elements/{p-fe45f59f.js → p-c5723f69.js} +1 -1
- package/lib/dist-custom-elements/{p-717d775c.js → p-c9cee36a.js} +1 -1
- package/lib/dist-custom-elements/{p-351d00f1.js → p-d993c8ca.js} +4 -4
- package/lib/dist-custom-elements/{p-633e1ebc.js → p-dade840c.js} +2 -2
- package/lib/dist-custom-elements/{p-48515caf.js → p-ddbc4897.js} +5 -5
- package/lib/dist-custom-elements/{p-d3213a33.js → p-df10a767.js} +71 -274
- package/lib/dist-custom-elements/{p-fdc1ca33.js → p-e550208a.js} +1 -1
- package/lib/dist-custom-elements/{p-65758ed5.js → p-e6027c0e.js} +8 -8
- package/lib/dist-custom-elements/{p-a46a6322.js → p-f4a36471.js} +1 -1
- package/lib/dist-custom-elements/{p-1ac08a92.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-87cf954f.system.entry.js → p-000197bb.system.entry.js} +1 -1
- package/lib/duet/p-00c61228.system.entry.js +4 -0
- package/lib/duet/{p-01a6becd.system.entry.js → p-02a9b697.system.entry.js} +2 -2
- package/lib/duet/{p-4d93a692.entry.js → p-07795672.entry.js} +1 -1
- package/lib/duet/{p-82047e57.system.entry.js → p-0b208f94.system.entry.js} +1 -1
- package/lib/duet/{p-75f889b4.system.entry.js → p-0b4324b1.system.entry.js} +1 -1
- package/lib/duet/p-0c7c6acc.system.entry.js +4 -0
- package/lib/duet/{p-631d95f8.system.entry.js → p-0de3b52d.system.entry.js} +1 -1
- package/lib/duet/{p-5a229ae7.system.entry.js → p-0f05038e.system.entry.js} +1 -1
- package/lib/duet/{p-8c4f1396.system.entry.js → p-0f49469b.system.entry.js} +1 -1
- package/lib/duet/{p-8542d6f4.entry.js → p-0fc4fd1f.entry.js} +1 -1
- package/lib/duet/p-0fdddc6d.system.entry.js +4 -0
- package/lib/duet/{p-16ca0476.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-10d57786.entry.js +4 -0
- package/lib/duet/{p-2cadaf24.entry.js → p-17569309.entry.js} +1 -1
- package/lib/duet/{p-02a26b88.entry.js → p-18084aa4.entry.js} +1 -1
- package/lib/duet/{p-89a01897.system.entry.js → p-18b63745.system.entry.js} +1 -1
- package/lib/duet/{p-1d0a1fa6.system.entry.js → p-190e7c1f.system.entry.js} +1 -1
- package/lib/duet/{p-9be7d929.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-69617bca.entry.js → p-242c1c1a.entry.js} +1 -1
- package/lib/duet/{p-a9ce97b9.system.entry.js → p-26cfed76.system.entry.js} +1 -1
- package/lib/duet/p-26fb19cc.entry.js +4 -0
- package/lib/duet/{p-5b66a87d.entry.js → p-29dd2b2b.entry.js} +1 -1
- package/lib/duet/{p-cda24383.entry.js → p-2a8ca3eb.entry.js} +1 -1
- package/lib/duet/{p-7243f2ca.entry.js → p-2ab30c7f.entry.js} +1 -1
- package/lib/duet/{p-7f7ae89e.entry.js → p-2f2554c2.entry.js} +1 -1
- package/lib/duet/p-31a14896.entry.js +4 -0
- package/lib/duet/{p-445317f4.system.entry.js → p-33ace290.system.entry.js} +1 -1
- package/lib/duet/{p-5f860b63.entry.js → p-33e8ba00.entry.js} +1 -1
- package/lib/duet/{p-19dcac63.entry.js → p-346b440a.entry.js} +1 -1
- package/lib/duet/{p-70ab41b1.entry.js → p-369190ba.entry.js} +1 -1
- package/lib/duet/{p-ff7274a1.system.entry.js → p-38b225ec.system.entry.js} +1 -1
- package/lib/duet/{p-0bb09731.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-3144ba75.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-1c7bdfb0.entry.js → p-42199e80.entry.js} +1 -1
- package/lib/duet/p-4489355c.system.entry.js +4 -0
- package/lib/duet/{p-c490fc82.entry.js → p-45df6b17.entry.js} +1 -1
- package/lib/duet/{p-29a1886d.entry.js → p-476bec1d.entry.js} +1 -1
- package/lib/duet/{p-a279383c.entry.js → p-49cbf9cc.entry.js} +1 -1
- package/lib/duet/{p-5b939562.entry.js → p-49f5f27e.entry.js} +1 -1
- package/lib/duet/p-4f40525e.system.entry.js +4 -0
- package/lib/duet/{p-2ab14f9d.entry.js → p-53800205.entry.js} +1 -1
- package/lib/duet/{p-3794c025.system.entry.js → p-54607ab5.system.entry.js} +1 -1
- package/lib/duet/{p-1354a068.entry.js → p-5514488e.entry.js} +1 -1
- package/lib/duet/{p-5369340a.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-f5e2ac5a.system.entry.js → p-596343b6.system.entry.js} +1 -1
- package/lib/duet/{p-8905f9e9.entry.js → p-5c5dd33e.entry.js} +1 -1
- package/lib/duet/p-5dfc4e72.entry.js +4 -0
- package/lib/duet/{p-b7847f6c.system.entry.js → p-5f9fc349.system.entry.js} +1 -1
- package/lib/duet/{p-c60e5e81.entry.js → p-60210fa0.entry.js} +1 -1
- package/lib/duet/{p-4b7d3edc.entry.js → p-6059377c.entry.js} +1 -1
- package/lib/duet/{p-60f7231d.system.entry.js → p-61dbdf5a.system.entry.js} +1 -1
- package/lib/duet/{p-e5d2f039.system.entry.js → p-639c44ed.system.entry.js} +1 -1
- package/lib/duet/{p-1c1e78f4.system.entry.js → p-642a879a.system.entry.js} +1 -1
- package/lib/duet/{p-0ee1b7f3.entry.js → p-645d04bc.entry.js} +1 -1
- package/lib/duet/{p-65beaf78.entry.js → p-65180079.entry.js} +1 -1
- package/lib/duet/{p-e2e3b866.system.entry.js → p-659b9600.system.entry.js} +1 -1
- package/lib/duet/{p-cb896d18.system.entry.js → p-679721de.system.entry.js} +1 -1
- package/lib/duet/{p-3d0cabd0.entry.js → p-67f35157.entry.js} +1 -1
- package/lib/duet/{p-5b705989.system.js → p-6dea5bde.system.js} +1 -1
- package/lib/duet/{p-85350ba7.system.entry.js → p-6fafabc4.system.entry.js} +1 -1
- package/lib/duet/{p-a7ad439b.entry.js → p-6ff2601a.entry.js} +1 -1
- package/lib/duet/p-72a8644b.system.entry.js +4 -0
- package/lib/duet/{p-b7c8caab.system.entry.js → p-74bf128c.system.entry.js} +1 -1
- package/lib/duet/{p-7b3b57b5.system.entry.js → p-7604e184.system.entry.js} +1 -1
- package/lib/duet/{p-1c1d9986.system.entry.js → p-76c68d61.system.entry.js} +1 -1
- package/lib/duet/{p-009c5ed3.entry.js → p-77432368.entry.js} +1 -1
- package/lib/duet/{p-0815f8d2.system.entry.js → p-7b75c66a.system.entry.js} +1 -1
- package/lib/duet/{p-8bdf321a.system.entry.js → p-7c81a1aa.system.entry.js} +1 -1
- package/lib/duet/{p-ea6b5401.system.entry.js → p-7ce403a2.system.entry.js} +1 -1
- package/lib/duet/{p-95e558a0.system.entry.js → p-7fd5d974.system.entry.js} +1 -1
- package/lib/duet/{p-1402a469.system.entry.js → p-7fe4bf9c.system.entry.js} +1 -1
- package/lib/duet/{p-80fcd4a9.system.entry.js → p-8168ef41.system.entry.js} +2 -2
- package/lib/duet/{p-d8266018.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-61232a45.system.entry.js → p-831c76d5.system.entry.js} +1 -1
- package/lib/duet/{p-513794cb.system.entry.js → p-855f2712.system.entry.js} +1 -1
- package/lib/duet/{p-eb0c0713.system.entry.js → p-87ea8cd4.system.entry.js} +1 -1
- package/lib/duet/{p-2654e699.entry.js → p-8a06964b.entry.js} +1 -1
- package/lib/duet/{p-3c237b9a.system.entry.js → p-8d9dc8b8.system.entry.js} +1 -1
- package/lib/duet/{p-74571004.entry.js → p-8fc58e21.entry.js} +1 -1
- package/lib/duet/{p-73fed2b4.entry.js → p-9277a98e.entry.js} +1 -1
- package/lib/duet/{p-594fcb94.entry.js → p-9781cd5a.entry.js} +1 -1
- package/lib/duet/{p-7f8d73d1.system.entry.js → p-984be1b2.system.entry.js} +1 -1
- package/lib/duet/{p-3bad0565.entry.js → p-9ad4b03e.entry.js} +1 -1
- package/lib/duet/{p-221a319e.system.entry.js → p-9b4b6a88.system.entry.js} +1 -1
- package/lib/duet/{p-9fe84140.system.entry.js → p-9cec464f.system.entry.js} +1 -1
- package/lib/duet/{p-96cfe85e.entry.js → p-a1e03781.entry.js} +1 -1
- package/lib/duet/{p-f66ba762.system.entry.js → p-a6f4302f.system.entry.js} +1 -1
- package/lib/duet/{p-fbef8044.system.js → p-a7774674.system.js} +1 -1
- package/lib/duet/{p-9f7016b8.entry.js → p-a80b6e7d.entry.js} +1 -1
- package/lib/duet/{p-e7e2beca.entry.js → p-a9fac1f4.entry.js} +1 -1
- package/lib/duet/{p-5eb79fac.system.entry.js → p-aa1c11b3.system.entry.js} +1 -1
- package/lib/duet/{p-b5f84ba1.entry.js → p-ab15c9ba.entry.js} +1 -1
- package/lib/duet/{p-04e21013.entry.js → p-b6f46697.entry.js} +1 -1
- package/lib/duet/{p-73018bd7.entry.js → p-bb3ab94b.entry.js} +1 -1
- package/lib/duet/{p-c0151dc7.entry.js → p-bb450fde.entry.js} +1 -1
- package/lib/duet/{p-e2a64fc4.js → p-bcb2eb05.js} +1 -1
- package/lib/duet/{p-fe826eeb.entry.js → p-bd21ed24.entry.js} +1 -1
- package/lib/duet/{p-e8145797.system.entry.js → p-be64cb47.system.entry.js} +1 -1
- package/lib/duet/{p-127549bc.system.entry.js → p-bf5e03b7.system.entry.js} +1 -1
- package/lib/duet/{p-acfb1306.entry.js → p-c01a1e38.entry.js} +1 -1
- package/lib/duet/{p-3ea2c86d.system.entry.js → p-c20f14ee.system.entry.js} +1 -1
- package/lib/duet/{p-2d50b598.entry.js → p-c56f6296.entry.js} +1 -1
- package/lib/duet/{p-95740985.system.entry.js → p-c591ed98.system.entry.js} +1 -1
- package/lib/duet/{p-2f3e497c.system.entry.js → p-c838f35a.system.entry.js} +1 -1
- package/lib/duet/{p-7e67d36d.system.entry.js → p-c8af967c.system.entry.js} +1 -1
- package/lib/duet/{p-37909c09.system.entry.js → p-cd14aa98.system.entry.js} +1 -1
- package/lib/duet/{p-906f44d1.system.entry.js → p-ced270b7.system.entry.js} +1 -1
- package/lib/duet/{p-50a7fb1c.entry.js → p-d1308874.entry.js} +1 -1
- package/lib/duet/{p-518d1263.entry.js → p-d1fdf904.entry.js} +1 -1
- package/lib/duet/{p-665f67ed.entry.js → p-d20bc0fc.entry.js} +1 -1
- package/lib/duet/{p-8bba046c.entry.js → p-d309acda.entry.js} +1 -1
- package/lib/duet/{p-5fed2b0f.entry.js → p-d707c91d.entry.js} +1 -1
- package/lib/duet/{p-388212f3.entry.js → p-d70c1993.entry.js} +1 -1
- package/lib/duet/{p-762401f8.entry.js → p-d837c30c.entry.js} +1 -1
- package/lib/duet/{p-c0c28ecb.entry.js → p-d90b9d82.entry.js} +1 -1
- package/lib/duet/{p-759770b5.system.entry.js → p-d95542b2.system.entry.js} +1 -1
- package/lib/duet/{p-8f235d9a.system.entry.js → p-dcb58b72.system.entry.js} +1 -1
- package/lib/duet/p-df10a767.js +4 -0
- package/lib/duet/{p-3508f30c.system.entry.js → p-e13b266c.system.entry.js} +1 -1
- package/lib/duet/{p-b9e1d2e3.system.entry.js → p-e1470177.system.entry.js} +1 -1
- package/lib/duet/{p-8c8ab0cd.entry.js → p-e195ff77.entry.js} +1 -1
- package/lib/duet/{p-59e1c2ab.entry.js → p-e26c92ae.entry.js} +1 -1
- package/lib/duet/{p-249de5f3.entry.js → p-e33b158e.entry.js} +1 -1
- package/lib/duet/{p-87415ffd.system.entry.js → p-e3a868e7.system.entry.js} +1 -1
- package/lib/duet/{p-724bd42f.system.entry.js → p-e5ff4740.system.entry.js} +1 -1
- package/lib/duet/{p-b14ce6d0.system.entry.js → p-e664403b.system.entry.js} +1 -1
- package/lib/duet/{p-c13f03ef.entry.js → p-e6701508.entry.js} +1 -1
- package/lib/duet/{p-848d80c0.entry.js → p-ea0b3f23.entry.js} +1 -1
- package/lib/duet/{p-0786d3a0.entry.js → p-eaf5b796.entry.js} +1 -1
- package/lib/duet/{p-59b62cfa.entry.js → p-f01b3bfa.entry.js} +1 -1
- package/lib/duet/{p-f2403023.system.entry.js → p-f1bce38a.system.entry.js} +1 -1
- package/lib/duet/{p-1d42396a.system.entry.js → p-f3baf86a.system.entry.js} +1 -1
- package/lib/duet/{p-53dec0a5.system.entry.js → p-f605a26a.system.entry.js} +1 -1
- package/lib/duet/{p-470110fc.entry.js → p-f9191467.entry.js} +1 -1
- package/lib/duet/p-f93a2b8c.system.js +4 -0
- package/lib/duet/p-fb88df1a.entry.js +4 -0
- package/lib/duet/{p-c9460722.system.entry.js → p-fca2f60d.system.entry.js} +1 -1
- package/lib/duet/{p-7743b137.entry.js → p-fcc9c563.entry.js} +1 -1
- package/lib/duet/{p-1fb0d391.entry.js → p-fce75de7.entry.js} +1 -1
- package/lib/duet/{p-4b2e1595.system.entry.js → p-fd760e06.system.entry.js} +1 -1
- package/lib/duet/{p-6b1a925a.system.entry.js → p-ff0c5b5b.system.entry.js} +1 -1
- package/lib/duet/{p-8511fe95.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 +5 -3
- 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 +23 -5
- 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 +4 -4
- 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-4c89d596.js → focus-utils-20785530.js} +1 -1
- package/lib/esm/{index-b45ea754.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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +4 -0
- package/lib/esm-es5/duet-popup-menu.entry.js +4 -0
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +4 -0
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +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-20785530.js +4 -0
- package/lib/esm-es5/{index-b45ea754.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-collapsible/duet-collapsible.d.ts +5 -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-shaped-image/duet-shaped-image.d.ts +5 -1
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +53 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +10 -0
- package/lib/types/components/duet-upload/upload-item.d.ts +1 -0
- package/lib/types/components.d.ts +370 -0
- package/package.json +11 -6
- package/lib/duet/p-2ee395b0.entry.js +0 -4
- package/lib/duet/p-5b450895.entry.js +0 -4
- package/lib/duet/p-68732531.entry.js +0 -4
- package/lib/duet/p-68ed4709.entry.js +0 -4
- package/lib/duet/p-6b02f893.system.entry.js +0 -4
- package/lib/duet/p-84474371.entry.js +0 -4
- package/lib/duet/p-9bb6ecf1.system.js +0 -4
- package/lib/duet/p-c0d5c4b4.entry.js +0 -4
- package/lib/duet/p-c85da6e1.system.entry.js +0 -4
- package/lib/duet/p-d5e35912.system.entry.js +0 -4
- package/lib/duet/p-e395bef5.system.entry.js +0 -4
- package/lib/duet/p-e6b6d7db.system.entry.js +0 -4
- package/lib/duet/p-f3f57a5e.entry.js +0 -4
- package/lib/duet/p-fbf03833.system.entry.js +0 -4
- package/lib/duet/p-fc9bbd16.js +0 -4
- package/lib/esm-es5/focus-utils-4c89d596.js +0 -4
|
@@ -11,6 +11,7 @@ export class DuetEditableTable {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.hasHeadSlotFirst = false;
|
|
13
13
|
this.hasHeadSlotLast = false;
|
|
14
|
+
this.hasFootSlot = false;
|
|
14
15
|
this.sortableDefaultLabel = {
|
|
15
16
|
fi: "Järjestä",
|
|
16
17
|
en: "Click to sort",
|
|
@@ -63,6 +64,7 @@ export class DuetEditableTable {
|
|
|
63
64
|
inheritGlobalTheme(this);
|
|
64
65
|
this.hasHeadSlotFirst = !!this.element.querySelector("[slot='thead-first']");
|
|
65
66
|
this.hasHeadSlotLast = !!this.element.querySelector("[slot='thead-last']");
|
|
67
|
+
this.hasFootSlot = !!this.element.querySelector("[slot='tfoot']");
|
|
66
68
|
}
|
|
67
69
|
connectedCallback() {
|
|
68
70
|
connectLanguageChangeObserver(this);
|
|
@@ -160,7 +162,7 @@ export class DuetEditableTable {
|
|
|
160
162
|
"duet-editable-table-actions": !!this.actions,
|
|
161
163
|
"duet-m-0": this.margin === "none",
|
|
162
164
|
"duet-theme-turva": this.theme === "turva",
|
|
163
|
-
} }, h("duet-table", { class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, h("table", { role: this.accessibleRole }, h("caption", null, h("slot", { name: "tcaption" })), h("thead", null, this.hasHeadSlotFirst && (h("tr", null, h("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (h("tr", null, h("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { name: "thead-last" }))))), h("tbody", null, this.renderTableBody()), h("tfoot", null, h("tr", null, h("
|
|
165
|
+
} }, h("duet-table", { class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, h("table", { role: this.accessibleRole }, h("caption", null, h("slot", { name: "tcaption" })), h("thead", null, this.hasHeadSlotFirst && (h("tr", null, h("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (h("tr", null, h("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { name: "thead-last" }))))), h("tbody", null, this.renderTableBody()), this.hasFootSlot && (h("tfoot", null, h("tr", null, h("td", { class: "duet-editable-table-footer-menu", colSpan: 99 }, h("slot", { name: "tfoot" })))))))));
|
|
164
166
|
}
|
|
165
167
|
static get is() { return "duet-editable-table"; }
|
|
166
168
|
static get encapsulation() { return "scoped"; }
|
|
@@ -241,6 +241,13 @@ export class DuetNumberInput {
|
|
|
241
241
|
async setFocus(options) {
|
|
242
242
|
this.duetInputElement.setFocus(options);
|
|
243
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Returns a promise which resolves to the current input numeric value.
|
|
246
|
+
*/
|
|
247
|
+
async getValueAsNumber() {
|
|
248
|
+
const currentValue = SafeParseFloat(this.value, this.locale);
|
|
249
|
+
return this.value === undefined || this.value === null || isNaN(currentValue) ? null : currentValue;
|
|
250
|
+
}
|
|
244
251
|
clearValue() {
|
|
245
252
|
this.value = null;
|
|
246
253
|
this.duetInputElement.value = "";
|
|
@@ -1085,6 +1092,22 @@ export class DuetNumberInput {
|
|
|
1085
1092
|
"text": "Sets focus on the specified `duet-number-input`. Use this method instead of the global\n`input.focus()`.",
|
|
1086
1093
|
"tags": []
|
|
1087
1094
|
}
|
|
1095
|
+
},
|
|
1096
|
+
"getValueAsNumber": {
|
|
1097
|
+
"complexType": {
|
|
1098
|
+
"signature": "() => Promise<number>",
|
|
1099
|
+
"parameters": [],
|
|
1100
|
+
"references": {
|
|
1101
|
+
"Promise": {
|
|
1102
|
+
"location": "global"
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
"return": "Promise<number>"
|
|
1106
|
+
},
|
|
1107
|
+
"docs": {
|
|
1108
|
+
"text": "Returns a promise which resolves to the current input numeric value.",
|
|
1109
|
+
"tags": []
|
|
1110
|
+
}
|
|
1088
1111
|
}
|
|
1089
1112
|
};
|
|
1090
1113
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.duet-popup-menu-list {
|
|
26
|
+
position: fixed;
|
|
27
|
+
top: 0;
|
|
28
|
+
left: 0;
|
|
29
|
+
z-index: 950;
|
|
30
|
+
width: max-content;
|
|
31
|
+
min-width: 175px;
|
|
32
|
+
padding: 0;
|
|
33
|
+
padding: 1rem 0;
|
|
34
|
+
margin: 0;
|
|
35
|
+
color: rgb(0, 41, 77);
|
|
36
|
+
list-style: none;
|
|
37
|
+
visibility: hidden !important;
|
|
38
|
+
background: rgb(243, 249, 252);
|
|
39
|
+
border-radius: 0 0 8px 8px;
|
|
40
|
+
box-shadow: 0 6px 6px 0 rgba(0, 41, 77, 0.1);
|
|
41
|
+
opacity: 0;
|
|
42
|
+
transition: transform 300ms ease, visibility 300ms ease, opacity 300ms ease;
|
|
43
|
+
transform: scaleY(0);
|
|
44
|
+
transform-origin: top center;
|
|
45
|
+
}
|
|
46
|
+
.duet-popup-menu-list.open {
|
|
47
|
+
visibility: visible !important;
|
|
48
|
+
opacity: 1;
|
|
49
|
+
transform: scaleY(1);
|
|
50
|
+
}
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { computePosition, flip, offset } from "@floating-ui/dom";
|
|
5
|
+
import { Build, h, Host } from "@stencil/core";
|
|
6
|
+
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
+
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
8
|
+
export class DuetPopupMenu {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.updatePlacement = async () => {
|
|
11
|
+
if (!this.controller) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const position = await computePosition(this.controller, this.element, {
|
|
15
|
+
middleware: [offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }), flip()],
|
|
16
|
+
placement: this.placement,
|
|
17
|
+
strategy: "fixed",
|
|
18
|
+
});
|
|
19
|
+
this.menuY = position.y;
|
|
20
|
+
this.menuX = position.x;
|
|
21
|
+
};
|
|
22
|
+
this.open = false;
|
|
23
|
+
this.menuY = undefined;
|
|
24
|
+
this.menuX = undefined;
|
|
25
|
+
this.accessibleLabel = undefined;
|
|
26
|
+
this.theme = "";
|
|
27
|
+
this.controller = undefined;
|
|
28
|
+
this.placement = "bottom-start";
|
|
29
|
+
this.mainAxisOffset = 0;
|
|
30
|
+
this.crossAxisOffset = 0;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Component lifecycle events.
|
|
34
|
+
*/
|
|
35
|
+
componentWillLoad() {
|
|
36
|
+
inheritGlobalTheme(this);
|
|
37
|
+
}
|
|
38
|
+
componentDidLoad() {
|
|
39
|
+
if (!Build.isServer) {
|
|
40
|
+
this.updatePlacement();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Component event handling.
|
|
45
|
+
*/
|
|
46
|
+
handleKeyUp(evt) {
|
|
47
|
+
if (this.open) {
|
|
48
|
+
// When Esc is pressed the modal should be closed
|
|
49
|
+
if (isEscapeKey(evt)) {
|
|
50
|
+
this.hide();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
handleClick(evt) {
|
|
55
|
+
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.controller);
|
|
56
|
+
if (this.open && isClickOutside) {
|
|
57
|
+
this.hide();
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* isOpen.
|
|
62
|
+
*/
|
|
63
|
+
async isOpen() {
|
|
64
|
+
return this.open;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Show.
|
|
68
|
+
*/
|
|
69
|
+
async show() {
|
|
70
|
+
this.open = true;
|
|
71
|
+
this.updatePlacement();
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Hide.
|
|
75
|
+
*/
|
|
76
|
+
async hide() {
|
|
77
|
+
this.open = false;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Toggle.
|
|
81
|
+
*/
|
|
82
|
+
async toggle() {
|
|
83
|
+
if (this.open) {
|
|
84
|
+
this.hide();
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
this.show();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
render() {
|
|
91
|
+
const positionStyles = {
|
|
92
|
+
top: `${this.menuY}px`,
|
|
93
|
+
left: `${this.menuX}px`,
|
|
94
|
+
};
|
|
95
|
+
return (h(Host, null, h("div", { style: positionStyles, class: { open: this.open, "duet-popup-menu-list": true }, role: "menu", "aria-label": this.accessibleLabel }, h("slot", null))));
|
|
96
|
+
}
|
|
97
|
+
static get is() { return "duet-popup-menu"; }
|
|
98
|
+
static get encapsulation() { return "shadow"; }
|
|
99
|
+
static get originalStyleUrls() {
|
|
100
|
+
return {
|
|
101
|
+
"$": ["duet-popup-menu.scss"]
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
static get styleUrls() {
|
|
105
|
+
return {
|
|
106
|
+
"$": ["duet-popup-menu.css"]
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
static get properties() {
|
|
110
|
+
return {
|
|
111
|
+
"accessibleLabel": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"mutable": false,
|
|
114
|
+
"complexType": {
|
|
115
|
+
"original": "string",
|
|
116
|
+
"resolved": "string",
|
|
117
|
+
"references": {}
|
|
118
|
+
},
|
|
119
|
+
"required": false,
|
|
120
|
+
"optional": false,
|
|
121
|
+
"docs": {
|
|
122
|
+
"tags": [],
|
|
123
|
+
"text": "Adds accessible label for the menu that is only presented for users of assistive technologies.\nA popup menu should always have an accessible label that describes the popup's function."
|
|
124
|
+
},
|
|
125
|
+
"attribute": "accessible-label",
|
|
126
|
+
"reflect": false
|
|
127
|
+
},
|
|
128
|
+
"theme": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"mutable": true,
|
|
131
|
+
"complexType": {
|
|
132
|
+
"original": "DuetTheme",
|
|
133
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
134
|
+
"references": {
|
|
135
|
+
"DuetTheme": {
|
|
136
|
+
"location": "import",
|
|
137
|
+
"path": "../../common-types"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": false,
|
|
142
|
+
"optional": false,
|
|
143
|
+
"docs": {
|
|
144
|
+
"tags": [],
|
|
145
|
+
"text": "Theme."
|
|
146
|
+
},
|
|
147
|
+
"attribute": "theme",
|
|
148
|
+
"reflect": false,
|
|
149
|
+
"defaultValue": "\"\""
|
|
150
|
+
},
|
|
151
|
+
"controller": {
|
|
152
|
+
"type": "unknown",
|
|
153
|
+
"mutable": false,
|
|
154
|
+
"complexType": {
|
|
155
|
+
"original": "HTMLElement",
|
|
156
|
+
"resolved": "HTMLElement",
|
|
157
|
+
"references": {
|
|
158
|
+
"HTMLElement": {
|
|
159
|
+
"location": "global"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": false,
|
|
164
|
+
"optional": false,
|
|
165
|
+
"docs": {
|
|
166
|
+
"tags": [],
|
|
167
|
+
"text": "Element controlling the opening and closing of the popup menu."
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"placement": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"mutable": false,
|
|
173
|
+
"complexType": {
|
|
174
|
+
"original": "| \"top\"\n | \"right\"\n | \"bottom\"\n | \"left\"\n | \"top-start\"\n | \"top-end\"\n | \"right-start\"\n | \"right-end\"\n | \"bottom-start\"\n | \"bottom-end\"\n | \"left-start\"\n | \"left-end\"",
|
|
175
|
+
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
176
|
+
"references": {}
|
|
177
|
+
},
|
|
178
|
+
"required": false,
|
|
179
|
+
"optional": false,
|
|
180
|
+
"docs": {
|
|
181
|
+
"tags": [],
|
|
182
|
+
"text": "Placement of the popup menu relative to its controller.\nPossible values: \"top\", \"bottom\", \"left\" and \"right\", optionally combined with \"-start\" or \"-end\"."
|
|
183
|
+
},
|
|
184
|
+
"attribute": "placement",
|
|
185
|
+
"reflect": false,
|
|
186
|
+
"defaultValue": "\"bottom-start\""
|
|
187
|
+
},
|
|
188
|
+
"mainAxisOffset": {
|
|
189
|
+
"type": "number",
|
|
190
|
+
"mutable": false,
|
|
191
|
+
"complexType": {
|
|
192
|
+
"original": "number",
|
|
193
|
+
"resolved": "number",
|
|
194
|
+
"references": {}
|
|
195
|
+
},
|
|
196
|
+
"required": false,
|
|
197
|
+
"optional": false,
|
|
198
|
+
"docs": {
|
|
199
|
+
"tags": [],
|
|
200
|
+
"text": "Main axis positioning offset of the popup menu relative to its controller.\nFor \"top\" and \"bottom\" placements main axis is vertical, for \"left\" and \"right\" horizontal."
|
|
201
|
+
},
|
|
202
|
+
"attribute": "main-axis-offset",
|
|
203
|
+
"reflect": false,
|
|
204
|
+
"defaultValue": "0"
|
|
205
|
+
},
|
|
206
|
+
"crossAxisOffset": {
|
|
207
|
+
"type": "number",
|
|
208
|
+
"mutable": false,
|
|
209
|
+
"complexType": {
|
|
210
|
+
"original": "number",
|
|
211
|
+
"resolved": "number",
|
|
212
|
+
"references": {}
|
|
213
|
+
},
|
|
214
|
+
"required": false,
|
|
215
|
+
"optional": false,
|
|
216
|
+
"docs": {
|
|
217
|
+
"tags": [],
|
|
218
|
+
"text": "Cross axis positioning offset of the popup menu relative to its controller.\nFor \"top\" and \"bottom\" placements cross axis is horizontal, for \"left\" and \"right\" vertical."
|
|
219
|
+
},
|
|
220
|
+
"attribute": "cross-axis-offset",
|
|
221
|
+
"reflect": false,
|
|
222
|
+
"defaultValue": "0"
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
static get states() {
|
|
227
|
+
return {
|
|
228
|
+
"open": {},
|
|
229
|
+
"menuY": {},
|
|
230
|
+
"menuX": {}
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
static get methods() {
|
|
234
|
+
return {
|
|
235
|
+
"isOpen": {
|
|
236
|
+
"complexType": {
|
|
237
|
+
"signature": "() => Promise<boolean>",
|
|
238
|
+
"parameters": [],
|
|
239
|
+
"references": {
|
|
240
|
+
"Promise": {
|
|
241
|
+
"location": "global"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"return": "Promise<boolean>"
|
|
245
|
+
},
|
|
246
|
+
"docs": {
|
|
247
|
+
"text": "isOpen.",
|
|
248
|
+
"tags": []
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"show": {
|
|
252
|
+
"complexType": {
|
|
253
|
+
"signature": "() => Promise<void>",
|
|
254
|
+
"parameters": [],
|
|
255
|
+
"references": {
|
|
256
|
+
"Promise": {
|
|
257
|
+
"location": "global"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"return": "Promise<void>"
|
|
261
|
+
},
|
|
262
|
+
"docs": {
|
|
263
|
+
"text": "Show.",
|
|
264
|
+
"tags": []
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"hide": {
|
|
268
|
+
"complexType": {
|
|
269
|
+
"signature": "() => Promise<void>",
|
|
270
|
+
"parameters": [],
|
|
271
|
+
"references": {
|
|
272
|
+
"Promise": {
|
|
273
|
+
"location": "global"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"return": "Promise<void>"
|
|
277
|
+
},
|
|
278
|
+
"docs": {
|
|
279
|
+
"text": "Hide.",
|
|
280
|
+
"tags": []
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"toggle": {
|
|
284
|
+
"complexType": {
|
|
285
|
+
"signature": "() => Promise<void>",
|
|
286
|
+
"parameters": [],
|
|
287
|
+
"references": {
|
|
288
|
+
"Promise": {
|
|
289
|
+
"location": "global"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"return": "Promise<void>"
|
|
293
|
+
},
|
|
294
|
+
"docs": {
|
|
295
|
+
"text": "Toggle.",
|
|
296
|
+
"tags": []
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
static get elementRef() { return "element"; }
|
|
302
|
+
static get listeners() {
|
|
303
|
+
return [{
|
|
304
|
+
"name": "keyup",
|
|
305
|
+
"method": "handleKeyUp",
|
|
306
|
+
"target": "window",
|
|
307
|
+
"capture": false,
|
|
308
|
+
"passive": false
|
|
309
|
+
}, {
|
|
310
|
+
"name": "click",
|
|
311
|
+
"method": "handleClick",
|
|
312
|
+
"target": "window",
|
|
313
|
+
"capture": false,
|
|
314
|
+
"passive": false
|
|
315
|
+
}];
|
|
316
|
+
}
|
|
317
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: row;
|
|
25
|
+
gap: 0.5rem;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: flex-start;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.duet-popup-menu-item {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-grow: 1;
|
|
33
|
+
gap: 8px;
|
|
34
|
+
align-items: center;
|
|
35
|
+
height: 100%;
|
|
36
|
+
padding: 8px 20px;
|
|
37
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
38
|
+
font-size: 0.875rem;
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
line-height: 1.25;
|
|
41
|
+
color: rgb(0, 41, 77);
|
|
42
|
+
text-align: left;
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
.duet-popup-menu-item:focus {
|
|
47
|
+
outline: 0;
|
|
48
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
49
|
+
}
|
|
50
|
+
.duet-popup-menu-item:focus.duet-theme-turva {
|
|
51
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
52
|
+
}
|
|
53
|
+
.duet-popup-menu-item.active, .duet-popup-menu-item.active:hover {
|
|
54
|
+
color: rgb(255, 255, 255);
|
|
55
|
+
background: rgb(0, 119, 179);
|
|
56
|
+
}
|
|
57
|
+
.duet-popup-menu-item.active.duet-theme-turva, .duet-popup-menu-item.active:hover.duet-theme-turva {
|
|
58
|
+
color: rgb(255, 255, 255);
|
|
59
|
+
background: rgb(198, 12, 48);
|
|
60
|
+
}
|
|
61
|
+
.duet-popup-menu-item:hover {
|
|
62
|
+
background: rgb(230, 242, 248);
|
|
63
|
+
}
|
|
64
|
+
.duet-popup-menu-item:hover.duet-theme-turva {
|
|
65
|
+
background: rgb(228, 228, 230);
|
|
66
|
+
}
|
|
67
|
+
.duet-popup-menu-item .duet-popup-menu-item-label {
|
|
68
|
+
flex-grow: 1;
|
|
69
|
+
}
|