@duetds/components 6.8.8 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +152 -144
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- 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 +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +95 -125
- 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 +11 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +33 -9
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- 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/{focus-utils-ff93a6ec.js → focus-utils-5c2e36e8.js} +1 -1
- package/lib/cjs/{index-a3e8bc14.js → index-92f0a873.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{token-utils-2e10264d.js → token-utils-4bfb15d4.js} +4 -1
- package/lib/cjs/{tokens.module-69170ddd.js → tokens.module-d402cfac.js} +0 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +6 -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 +7 -3
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +32 -0
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +21 -2
- package/lib/collection/components/duet-hero/duet-hero.js +6 -6
- 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 +4 -4
- package/lib/collection/components/duet-logo/duet-logo.js +7 -7
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +0 -6
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +8 -6
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +28 -6
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- 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-submenu-bar/duet-submenu-bar.css +20 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +3 -3
- 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.css +79 -13
- package/lib/collection/components/duet-upload/duet-upload.js +113 -90
- package/lib/collection/components/duet-upload/upload-item-header.js +8 -0
- package/lib/collection/components/duet-upload/upload-item.js +21 -5
- package/lib/collection/utils/token-utils.js +2 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-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-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- 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 +238 -1
- 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 +11 -11
- 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 +3 -3
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +9 -9
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +12 -10
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +31 -9
- 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-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 +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +3 -3
- 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 +4 -4
- package/lib/dist-custom-elements/duet-tab-group.js +9 -9
- 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 +4 -4
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +125 -158
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-59650585.js → p-0d1b84db.js} +1 -1
- package/lib/dist-custom-elements/{p-ebbe90a8.js → p-132f2514.js} +6 -6
- package/lib/dist-custom-elements/{p-94ae95da.js → p-17d43428.js} +3 -3
- package/lib/dist-custom-elements/{p-e6c6717b.js → p-19ad4945.js} +9 -2
- package/lib/dist-custom-elements/{p-5f6be181.js → p-1bf112be.js} +1 -1
- package/lib/dist-custom-elements/{p-4de93a4d.js → p-26d32594.js} +3 -3
- package/lib/dist-custom-elements/{p-bc53c84a.js → p-276e05ab.js} +5 -5
- package/lib/dist-custom-elements/{p-11968273.js → p-29b2c3bb.js} +1 -1
- package/lib/dist-custom-elements/{p-0ca98fac.js → p-353d6d0c.js} +1 -1
- package/lib/dist-custom-elements/{p-d3e9fa79.js → p-41ef88f4.js} +4 -4
- package/lib/dist-custom-elements/{p-c45d78ad.js → p-47ba781e.js} +4 -4
- package/lib/dist-custom-elements/{p-18928f76.js → p-49848110.js} +1 -1
- package/lib/dist-custom-elements/{p-18eb8a09.js → p-4b4a086d.js} +8 -8
- package/lib/dist-custom-elements/{p-33e00967.js → p-505389ac.js} +1 -1
- package/lib/dist-custom-elements/{p-9ed347f9.js → p-68024252.js} +4 -2
- package/lib/dist-custom-elements/{p-8b2b7e77.js → p-7199196e.js} +2 -2
- package/lib/dist-custom-elements/{p-0531827c.js → p-7a4bdb83.js} +1 -1
- package/lib/dist-custom-elements/{p-54680d09.js → p-85fd8f09.js} +1 -1
- package/lib/dist-custom-elements/{p-321ebafe.js → p-890a9b12.js} +2 -2
- package/lib/dist-custom-elements/{p-a93335f6.js → p-945a2c0c.js} +6 -6
- package/lib/dist-custom-elements/{p-ea9a3c47.js → p-9d23386f.js} +2 -2
- package/lib/dist-custom-elements/{p-8330affc.js → p-9eba8647.js} +2 -2
- package/lib/dist-custom-elements/{p-b4ecffcc.js → p-a1ee31fb.js} +1 -1
- package/lib/dist-custom-elements/{p-7f53cb7b.js → p-a56cc313.js} +2 -2
- package/lib/dist-custom-elements/{p-abff644a.js → p-c01c91d6.js} +2 -2
- package/lib/dist-custom-elements/{p-c23454c0.js → p-c4a3d30d.js} +1 -1
- package/lib/dist-custom-elements/{p-aecb0a5e.js → p-c820f65e.js} +2 -2
- package/lib/dist-custom-elements/{p-a50a98c7.js → p-d0dea200.js} +2 -2
- package/lib/dist-custom-elements/{p-c9182b8c.js → p-d6a4de03.js} +2 -2
- package/lib/dist-custom-elements/{p-2a5cb90a.js → p-d6bcc527.js} +1 -1
- package/lib/dist-custom-elements/{p-9a6eda30.js → p-dde8e436.js} +5 -5
- package/lib/dist-custom-elements/{p-4d94ed39.js → p-e1de0408.js} +2 -2
- package/lib/dist-custom-elements/{p-95711e28.js → p-e48e8201.js} +4 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-fcf9d72b.system.entry.js → p-00e57f9b.system.entry.js} +1 -1
- package/lib/duet/{p-35ee3c02.entry.js → p-02e23372.entry.js} +1 -1
- package/lib/duet/{p-22476bd9.entry.js → p-049f7427.entry.js} +1 -1
- package/lib/duet/{p-de399c6f.entry.js → p-07e54b8a.entry.js} +1 -1
- package/lib/duet/{p-c252fd27.system.entry.js → p-12ee9a23.system.entry.js} +1 -1
- package/lib/duet/{p-8346f3df.entry.js → p-1710310b.entry.js} +1 -1
- package/lib/duet/{p-c86289ac.entry.js → p-17d1d5ee.entry.js} +1 -1
- package/lib/duet/p-18843061.entry.js +4 -0
- package/lib/duet/{p-df6dadb2.system.entry.js → p-190507d4.system.entry.js} +1 -1
- package/lib/duet/p-197dba64.system.entry.js +4 -0
- package/lib/duet/{p-ca8c60df.system.entry.js → p-1bfff197.system.entry.js} +1 -1
- package/lib/duet/{p-6f68220c.system.entry.js → p-1d283741.system.entry.js} +1 -1
- package/lib/duet/{p-08511b16.system.entry.js → p-1de4b105.system.entry.js} +1 -1
- package/lib/duet/{p-fe7f676a.js → p-1ef436d2.js} +1 -1
- package/lib/duet/{p-6116351d.system.entry.js → p-2184a285.system.entry.js} +1 -1
- package/lib/duet/{p-092339f8.entry.js → p-21d08944.entry.js} +1 -1
- package/lib/duet/{p-4b873326.entry.js → p-21d4df80.entry.js} +1 -1
- package/lib/duet/{p-bd979a4c.system.entry.js → p-26ebc753.system.entry.js} +1 -1
- package/lib/duet/{p-03731409.entry.js → p-29193196.entry.js} +1 -1
- package/lib/duet/{p-1070b759.entry.js → p-2a80caf9.entry.js} +1 -1
- package/lib/duet/p-2a89686a.entry.js +4 -0
- package/lib/duet/{p-8ecb7a52.system.entry.js → p-2b0d6d66.system.entry.js} +1 -1
- package/lib/duet/{p-97408054.system.entry.js → p-2b4f4c85.system.entry.js} +1 -1
- package/lib/duet/{p-879d7357.entry.js → p-2b94fb6c.entry.js} +1 -1
- package/lib/duet/{p-9d0a8699.entry.js → p-2c0d4d3c.entry.js} +1 -1
- package/lib/duet/{p-cc46a1b1.entry.js → p-2e69c81b.entry.js} +1 -1
- package/lib/duet/{p-8a7c5d79.entry.js → p-2e822cf0.entry.js} +1 -1
- package/lib/duet/{p-de784087.entry.js → p-2faa3962.entry.js} +1 -1
- package/lib/duet/{p-010b0c7e.entry.js → p-2ff8c614.entry.js} +1 -1
- package/lib/duet/{p-9521f627.system.entry.js → p-38680e94.system.entry.js} +1 -1
- package/lib/duet/{p-a6054e33.system.entry.js → p-39c34fde.system.entry.js} +1 -1
- package/lib/duet/{p-52be0c45.entry.js → p-4136d211.entry.js} +1 -1
- package/lib/duet/{p-c1ecad44.entry.js → p-44bbf984.entry.js} +1 -1
- package/lib/duet/p-459b8e74.system.entry.js +4 -0
- package/lib/duet/{p-259bb597.entry.js → p-45a64d20.entry.js} +1 -1
- package/lib/duet/{p-a789758e.system.entry.js → p-47fb8005.system.entry.js} +1 -1
- package/lib/duet/{p-e10c2b0d.entry.js → p-48bab8b6.entry.js} +1 -1
- package/lib/duet/{p-7396f499.system.entry.js → p-4ab70001.system.entry.js} +1 -1
- package/lib/duet/{p-4c11dd19.system.entry.js → p-4b02643a.system.entry.js} +1 -1
- package/lib/duet/{p-02c7edd0.entry.js → p-5047ae3d.entry.js} +1 -1
- package/lib/duet/{p-515bef3b.entry.js → p-5127e9fb.entry.js} +1 -1
- package/lib/duet/{p-1495babe.entry.js → p-52766fb1.entry.js} +1 -1
- package/lib/duet/{p-99cbab16.system.entry.js → p-5576e447.system.entry.js} +1 -1
- package/lib/duet/{p-8498c856.entry.js → p-568c7b6d.entry.js} +1 -1
- package/lib/duet/{p-eb93ebaa.system.js → p-5743852f.system.js} +1 -1
- package/lib/duet/{p-f1674fe8.system.entry.js → p-58b9c7b4.system.entry.js} +1 -1
- package/lib/duet/{p-b52969e7.entry.js → p-58d08fb8.entry.js} +1 -1
- package/lib/duet/p-5c083efb.system.entry.js +4 -0
- package/lib/duet/{p-181c9320.entry.js → p-5f872140.entry.js} +1 -1
- package/lib/duet/{p-c6f1cac9.system.entry.js → p-6023d419.system.entry.js} +1 -1
- package/lib/duet/p-621e8af8.js +4 -0
- package/lib/duet/{p-8dfd54fa.system.entry.js → p-628c4fc7.system.entry.js} +1 -1
- package/lib/duet/{p-46493c73.system.entry.js → p-6326cade.system.entry.js} +1 -1
- package/lib/duet/{p-e4d9d7d7.entry.js → p-643dd974.entry.js} +1 -1
- package/lib/duet/{p-5eee6d48.system.entry.js → p-65b119a7.system.entry.js} +1 -1
- package/lib/duet/{p-5bad512d.entry.js → p-6fe463e6.entry.js} +1 -1
- package/lib/duet/{p-b599e988.system.entry.js → p-6fe5922d.system.entry.js} +1 -1
- package/lib/duet/{p-167c6afa.entry.js → p-702a9390.entry.js} +1 -1
- package/lib/duet/{p-d74f6c72.entry.js → p-72264693.entry.js} +1 -1
- package/lib/duet/p-723308e1.entry.js +4 -0
- package/lib/duet/{p-ae269abb.entry.js → p-72585f83.entry.js} +1 -1
- package/lib/duet/{p-d7a00344.system.entry.js → p-78f49cbf.system.entry.js} +1 -1
- package/lib/duet/{p-bf23e2c2.system.entry.js → p-7a5077a2.system.entry.js} +1 -1
- package/lib/duet/{p-5120cf45.entry.js → p-7a53ff56.entry.js} +1 -1
- package/lib/duet/{p-9e66ec5a.system.entry.js → p-7c32523b.system.entry.js} +1 -1
- package/lib/duet/p-7c4baf1c.js +4 -0
- package/lib/duet/{p-6cc35083.system.entry.js → p-7d4e2e96.system.entry.js} +1 -1
- package/lib/duet/{p-7d6351ee.system.js → p-7dc36831.system.js} +1 -1
- package/lib/duet/{p-d6bb4328.entry.js → p-7f2a16b3.entry.js} +1 -1
- package/lib/duet/{p-db66ad12.system.entry.js → p-7fd9b8b6.system.entry.js} +1 -1
- package/lib/duet/{p-7af63b73.entry.js → p-80bc3db3.entry.js} +1 -1
- package/lib/duet/{p-54739dc4.system.entry.js → p-835ea0dc.system.entry.js} +1 -1
- package/lib/duet/{p-92218406.system.entry.js → p-84eb3d96.system.entry.js} +1 -1
- package/lib/duet/{p-a373581e.entry.js → p-850b95d7.entry.js} +1 -1
- package/lib/duet/{p-99836c8b.system.entry.js → p-8760c0ee.system.entry.js} +1 -1
- package/lib/duet/{p-5e4e7d48.entry.js → p-893d0a53.entry.js} +1 -1
- package/lib/duet/{p-984dd5b8.system.entry.js → p-8a963cd7.system.entry.js} +1 -1
- package/lib/duet/{p-9730e382.system.entry.js → p-8b123c27.system.entry.js} +1 -1
- package/lib/duet/{p-c030c439.entry.js → p-8f0579d1.entry.js} +1 -1
- package/lib/duet/{p-660a6691.entry.js → p-8f60b4a4.entry.js} +1 -1
- package/lib/duet/{p-31510b9d.system.entry.js → p-93f3e158.system.entry.js} +1 -1
- package/lib/duet/{p-c4ff0d5e.system.entry.js → p-95f020cc.system.entry.js} +1 -1
- package/lib/duet/p-98c7286c.entry.js +4 -0
- package/lib/duet/{p-ec32e21b.system.entry.js → p-9aae9d2a.system.entry.js} +1 -1
- package/lib/duet/{p-2469ec0a.system.entry.js → p-9f5446d7.system.entry.js} +1 -1
- package/lib/duet/{p-68bb404f.entry.js → p-9f9a14d7.entry.js} +1 -1
- package/lib/duet/p-a3782a14.entry.js +4 -0
- package/lib/duet/{p-6a9c258b.system.entry.js → p-a5b5f3e2.system.entry.js} +1 -1
- package/lib/duet/{p-90bb0d6e.entry.js → p-a6a5458a.entry.js} +1 -1
- package/lib/duet/{p-39948f72.system.entry.js → p-a79f86b5.system.entry.js} +1 -1
- package/lib/duet/{p-997b2b9f.entry.js → p-aac361b8.entry.js} +1 -1
- package/lib/duet/{p-6d6dddf6.system.entry.js → p-acb0fbdc.system.entry.js} +1 -1
- package/lib/duet/{p-9db5ccda.system.entry.js → p-ad82c633.system.entry.js} +1 -1
- package/lib/duet/{p-24c6dbed.system.entry.js → p-addd277e.system.entry.js} +1 -1
- package/lib/duet/p-afb58e46.js +4 -0
- package/lib/duet/{p-34e1a893.system.entry.js → p-b16b89c3.system.entry.js} +1 -1
- package/lib/duet/{p-c54163d4.system.entry.js → p-b1b1160e.system.entry.js} +1 -1
- package/lib/duet/{p-bc886019.system.entry.js → p-b3584ef1.system.entry.js} +1 -1
- package/lib/duet/{p-92631252.system.entry.js → p-b421ea8a.system.entry.js} +1 -1
- package/lib/duet/{p-4f9a3272.entry.js → p-bc89db28.entry.js} +1 -1
- package/lib/duet/{p-c406feab.entry.js → p-be3c04fb.entry.js} +1 -1
- package/lib/duet/{p-2e81a884.system.entry.js → p-c073eb55.system.entry.js} +1 -1
- package/lib/duet/{p-16dbbf0f.entry.js → p-c0ac70a9.entry.js} +1 -1
- package/lib/duet/{p-49d4ca3a.system.entry.js → p-c22a97ea.system.entry.js} +1 -1
- package/lib/duet/p-c3495075.system.entry.js +4 -0
- package/lib/duet/{p-97929e49.system.js → p-c360334a.system.js} +1 -1
- package/lib/duet/{p-711d5c90.system.entry.js → p-c3e4e6a2.system.entry.js} +1 -1
- package/lib/duet/{p-5bf8daa8.system.entry.js → p-c4738155.system.entry.js} +1 -1
- package/lib/duet/{p-7deb19fe.system.entry.js → p-c518f7da.system.entry.js} +1 -1
- package/lib/duet/{p-83160849.system.entry.js → p-c7507f6b.system.entry.js} +1 -1
- package/lib/duet/{p-f78cbe1a.system.entry.js → p-c832c83e.system.entry.js} +1 -1
- package/lib/duet/{p-32b7661a.system.entry.js → p-c91aaa04.system.entry.js} +1 -1
- package/lib/duet/{p-19a46ccc.entry.js → p-cb2bd40e.entry.js} +1 -1
- package/lib/duet/{p-aa0e8c20.entry.js → p-cc7f7692.entry.js} +1 -1
- package/lib/duet/{p-aff3a01c.entry.js → p-ce108a20.entry.js} +1 -1
- package/lib/duet/{p-113f7afe.system.entry.js → p-d3da2989.system.entry.js} +1 -1
- package/lib/duet/{p-91088965.entry.js → p-d503fd3d.entry.js} +1 -1
- package/lib/duet/{p-8e9dde5b.system.entry.js → p-d5474f30.system.entry.js} +1 -1
- package/lib/duet/{p-4b75977e.entry.js → p-d563682c.entry.js} +1 -1
- package/lib/duet/{p-4d14e835.entry.js → p-d7c0027e.entry.js} +1 -1
- package/lib/duet/{p-77e2eba0.system.entry.js → p-d8d3f485.system.entry.js} +1 -1
- package/lib/duet/{p-88750631.entry.js → p-d8de0d06.entry.js} +1 -1
- package/lib/duet/{p-fddfa497.entry.js → p-daa0dccd.entry.js} +1 -1
- package/lib/duet/{p-2c647f93.entry.js → p-dc71bc89.entry.js} +1 -1
- package/lib/duet/{p-d576a779.entry.js → p-dcce6bad.entry.js} +1 -1
- package/lib/duet/{p-1b417a81.entry.js → p-de06c5ff.entry.js} +1 -1
- package/lib/duet/{p-2ca21c70.entry.js → p-e57b04f0.entry.js} +1 -1
- package/lib/duet/{p-0bb66e24.entry.js → p-e71cb6f4.entry.js} +1 -1
- package/lib/duet/{p-e1d767cf.system.entry.js → p-e73937e1.system.entry.js} +2 -2
- package/lib/duet/{p-494ddebc.system.entry.js → p-e8a6eda7.system.entry.js} +1 -1
- package/lib/duet/{p-61b41371.entry.js → p-e9cea31c.entry.js} +1 -1
- package/lib/duet/p-eb6c4a2a.system.js +4 -0
- package/lib/duet/{p-be140833.system.entry.js → p-ef31120e.system.entry.js} +1 -1
- package/lib/duet/{p-fc063fa8.entry.js → p-f173da98.entry.js} +1 -1
- package/lib/duet/p-f67ee736.system.js +4 -0
- package/lib/duet/{p-775d5c50.entry.js → p-f7ff8b67.entry.js} +1 -1
- package/lib/duet/p-f9c26b20.system.entry.js +4 -0
- package/lib/duet/{p-d9534bab.entry.js → p-fa7a4245.entry.js} +1 -1
- package/lib/duet/{p-e44c2634.entry.js → p-faaa6249.entry.js} +1 -1
- package/lib/duet/{p-446287e7.system.entry.js → p-fad8bcee.system.entry.js} +1 -1
- package/lib/duet/{p-3adeafd9.system.entry.js → p-fc8b03f3.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +3 -3
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- 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 +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +95 -125
- 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 +11 -3
- package/lib/esm/duet-header_2.entry.js +6 -6
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +33 -9
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +4 -4
- package/lib/esm/duet-slideout.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +3 -3
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +2 -2
- 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/{focus-utils-3d6defe8.js → focus-utils-123e9cba.js} +1 -1
- package/lib/esm/{index-56a17140.js → index-9d169c3d.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{token-utils-b531747a.js → token-utils-6e0e2653.js} +4 -2
- package/lib/esm/{tokens.module-d3321092.js → tokens.module-5601adc9.js} +1 -1
- 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-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-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-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- 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-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-3d6defe8.js → focus-utils-123e9cba.js} +1 -1
- package/lib/esm-es5/{index-56a17140.js → index-9d169c3d.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-b531747a.js → token-utils-6e0e2653.js} +1 -1
- package/lib/esm-es5/{tokens.module-d3321092.js → tokens.module-5601adc9.js} +1 -1
- package/lib/types/common-types.d.ts +3 -0
- package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +7 -1
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +2 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +21 -4
- package/lib/types/components/duet-upload/upload-item-header.d.ts +8 -0
- package/lib/types/components/duet-upload/upload-item.d.ts +10 -1
- package/lib/types/components.d.ts +27 -0
- package/lib/types/utils/token-utils.d.ts +2 -0
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-6c7f6492.js +0 -243
- package/lib/duet/p-05226ce1.entry.js +0 -4
- package/lib/duet/p-13b52e54.system.entry.js +0 -4
- package/lib/duet/p-17063917.system.js +0 -4
- package/lib/duet/p-2abc31ff.system.entry.js +0 -4
- package/lib/duet/p-380c1b6d.entry.js +0 -4
- package/lib/duet/p-3ce879c8.system.entry.js +0 -4
- package/lib/duet/p-48bd2e8f.js +0 -4
- package/lib/duet/p-5d46f619.system.js +0 -4
- package/lib/duet/p-71dd05bf.entry.js +0 -4
- package/lib/duet/p-79a9746e.js +0 -4
- package/lib/duet/p-7c860a8b.entry.js +0 -4
- package/lib/duet/p-9052b6f5.js +0 -4
- package/lib/duet/p-b2ee0816.system.entry.js +0 -4
- package/lib/duet/p-dbae4b4f.entry.js +0 -4
- package/lib/duet/p-e72eb774.system.entry.js +0 -4
|
@@ -53,15 +53,19 @@ export class DuetRangeStepper {
|
|
|
53
53
|
watchStepIndexStateHandler(newValue) {
|
|
54
54
|
if (this.leftBnRef && this.rightBnRef) {
|
|
55
55
|
if (newValue <= 1) {
|
|
56
|
+
if (this.element === document.activeElement) {
|
|
57
|
+
this.rightBnRef.setFocus();
|
|
58
|
+
}
|
|
56
59
|
this.leftBnRef.setAttribute("disabled", "");
|
|
57
|
-
this.rightBnRef.setFocus();
|
|
58
60
|
}
|
|
59
61
|
else {
|
|
60
62
|
this.leftBnRef.removeAttribute("disabled");
|
|
61
63
|
}
|
|
62
64
|
if (newValue >= this.total / this.stepSize) {
|
|
65
|
+
if (this.element === document.activeElement) {
|
|
66
|
+
this.leftBnRef.setFocus();
|
|
67
|
+
}
|
|
63
68
|
this.rightBnRef.setAttribute("disabled", "");
|
|
64
|
-
this.leftBnRef.setFocus();
|
|
65
69
|
}
|
|
66
70
|
else {
|
|
67
71
|
this.rightBnRef.removeAttribute("disabled");
|
|
@@ -73,7 +77,7 @@ export class DuetRangeStepper {
|
|
|
73
77
|
if (this.stepIndex * newValue > this.total) {
|
|
74
78
|
this.stepIndex = Math.ceil(this.total / newValue);
|
|
75
79
|
}
|
|
76
|
-
// trigger handler in case a button needs to be disabled or enabled but
|
|
80
|
+
// trigger handler in case a button needs to be disabled or enabled but stepIndex did not change
|
|
77
81
|
this.watchStepIndexStateHandler(this.stepIndex);
|
|
78
82
|
}
|
|
79
83
|
}
|
|
@@ -119,6 +123,24 @@ export class DuetRangeStepper {
|
|
|
119
123
|
.replace("{1}", String(this.getTo()))
|
|
120
124
|
.replace("{2}", String(this.total));
|
|
121
125
|
}
|
|
126
|
+
generatePreviousIncrementLabel() {
|
|
127
|
+
if (this.getFrom() === 1) {
|
|
128
|
+
return "";
|
|
129
|
+
}
|
|
130
|
+
return this.ariaLabels.x_of_y
|
|
131
|
+
.replace("{0}", String(Math.max(this.getFrom() - this.stepSize, 1)))
|
|
132
|
+
.replace("{1}", String(Math.min(this.getFrom() - 1, this.total)))
|
|
133
|
+
.replace("{2}", String(this.total));
|
|
134
|
+
}
|
|
135
|
+
generateNextIncrementLabel() {
|
|
136
|
+
if (this.getTo() === this.total) {
|
|
137
|
+
return "";
|
|
138
|
+
}
|
|
139
|
+
return this.ariaLabels.x_of_y
|
|
140
|
+
.replace("{0}", String(this.getTo() + 1))
|
|
141
|
+
.replace("{1}", String(Math.min(this.getTo() + this.stepSize, this.total)))
|
|
142
|
+
.replace("{2}", String(this.total));
|
|
143
|
+
}
|
|
122
144
|
//handle a11y keyboard navigation events
|
|
123
145
|
async onKeyboardDown(e) {
|
|
124
146
|
// handle a11y based keyboard navigation for left/right/up/down
|
|
@@ -127,7 +149,7 @@ export class DuetRangeStepper {
|
|
|
127
149
|
if (isArrowLeftKey(e) || isArrowUpKey(e) || isMinusKey(e)) {
|
|
128
150
|
next--;
|
|
129
151
|
dir = -1;
|
|
130
|
-
this.leftBnRef.
|
|
152
|
+
this.leftBnRef.setFocus();
|
|
131
153
|
}
|
|
132
154
|
if (isArrowRightKey(e) || isArrowDownKey(e) || isPlusKey(e)) {
|
|
133
155
|
next++;
|
|
@@ -150,7 +172,7 @@ export class DuetRangeStepper {
|
|
|
150
172
|
return (h("div", { class: {
|
|
151
173
|
"duet-range-stepper": true,
|
|
152
174
|
"duet-theme-turva": this.theme === "turva",
|
|
153
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": this.ariaLabels.previous_increment
|
|
175
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small" }), h("duet-action-button", { class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small" })));
|
|
154
176
|
}
|
|
155
177
|
static get is() { return "duet-range-stepper"; }
|
|
156
178
|
static get encapsulation() { return "shadow"; }
|
|
@@ -335,7 +357,7 @@ export class DuetRangeStepper {
|
|
|
335
357
|
"references": {
|
|
336
358
|
"DuetRangeStepperUpdateEvent": {
|
|
337
359
|
"location": "local",
|
|
338
|
-
"path": "/Users/
|
|
360
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-range-stepper/duet-range-stepper.tsx"
|
|
339
361
|
}
|
|
340
362
|
}
|
|
341
363
|
}
|
|
@@ -170,7 +170,7 @@ export class DuetSelect {
|
|
|
170
170
|
"references": {
|
|
171
171
|
"DuetSelectVariation": {
|
|
172
172
|
"location": "local",
|
|
173
|
-
"path": "/Users/
|
|
173
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-select/duet-select.tsx"
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
},
|
|
@@ -465,7 +465,7 @@ export class DuetSelect {
|
|
|
465
465
|
"references": {
|
|
466
466
|
"DuetSelectItems": {
|
|
467
467
|
"location": "local",
|
|
468
|
-
"path": "/Users/
|
|
468
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-select/duet-select.tsx"
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
},
|
|
@@ -614,7 +614,7 @@ export class DuetSelect {
|
|
|
614
614
|
"references": {
|
|
615
615
|
"DuetSelectEvent": {
|
|
616
616
|
"location": "local",
|
|
617
|
-
"path": "/Users/
|
|
617
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-select/duet-select.tsx"
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
}
|
|
@@ -634,7 +634,7 @@ export class DuetSelect {
|
|
|
634
634
|
"references": {
|
|
635
635
|
"DuetSelectEvent": {
|
|
636
636
|
"location": "local",
|
|
637
|
-
"path": "/Users/
|
|
637
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-select/duet-select.tsx"
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
}
|
|
@@ -654,7 +654,7 @@ export class DuetSelect {
|
|
|
654
654
|
"references": {
|
|
655
655
|
"DuetSelectEvent": {
|
|
656
656
|
"location": "local",
|
|
657
|
-
"path": "/Users/
|
|
657
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-select/duet-select.tsx"
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
}
|
|
@@ -233,7 +233,7 @@ export class DuetSlideout {
|
|
|
233
233
|
"references": {
|
|
234
234
|
"DuetSlideoutEventDetails": {
|
|
235
235
|
"location": "local",
|
|
236
|
-
"path": "/Users/
|
|
236
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-slideout/duet-slideout.tsx"
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
}
|
|
@@ -49,7 +49,7 @@ export class DuetSpacer {
|
|
|
49
49
|
"references": {
|
|
50
50
|
"DuetSpacerSize": {
|
|
51
51
|
"location": "local",
|
|
52
|
-
"path": "/Users/
|
|
52
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-spacer/duet-spacer.tsx"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
},
|
|
@@ -95,7 +95,7 @@ export class DuetSpacer {
|
|
|
95
95
|
"references": {
|
|
96
96
|
"DuetSpacerBreakpoint": {
|
|
97
97
|
"location": "local",
|
|
98
|
-
"path": "/Users/
|
|
98
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-spacer/duet-spacer.tsx"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
|
@@ -95,7 +95,7 @@ export class DuetSpinner {
|
|
|
95
95
|
"references": {
|
|
96
96
|
"DuetSpinnerSize": {
|
|
97
97
|
"location": "local",
|
|
98
|
-
"path": "/Users/
|
|
98
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-spinner/duet-spinner.tsx"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
|
@@ -193,7 +193,7 @@ export class DuetStep {
|
|
|
193
193
|
"references": {
|
|
194
194
|
"DuetStepState": {
|
|
195
195
|
"location": "local",
|
|
196
|
-
"path": "/Users/
|
|
196
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-step/duet-step.tsx"
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
},
|
|
@@ -270,7 +270,7 @@ export class DuetStep {
|
|
|
270
270
|
"references": {
|
|
271
271
|
"DuetStepClickEvent": {
|
|
272
272
|
"location": "local",
|
|
273
|
-
"path": "/Users/
|
|
273
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-step/duet-step.tsx"
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
@@ -223,7 +223,7 @@ export class DuetStepper {
|
|
|
223
223
|
"references": {
|
|
224
224
|
"DuetStepChangeEvent": {
|
|
225
225
|
"location": "local",
|
|
226
|
-
"path": "/Users/
|
|
226
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-stepper/duet-stepper.tsx"
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
@@ -50,6 +50,26 @@
|
|
|
50
50
|
position: relative;
|
|
51
51
|
background: rgb(243, 249, 252);
|
|
52
52
|
}
|
|
53
|
+
.duet-submenu-bar .shadow-container {
|
|
54
|
+
position: absolute;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
59
|
+
.duet-submenu-bar .shadow-container .top-shadow {
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: -52px;
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 52px;
|
|
64
|
+
box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07);
|
|
65
|
+
}
|
|
66
|
+
@media (min-width: 62em) {
|
|
67
|
+
.duet-submenu-bar .shadow-container .top-shadow {
|
|
68
|
+
top: -80px;
|
|
69
|
+
height: 80px;
|
|
70
|
+
box-shadow: 0 3px 6px rgba(0, 41, 77, 0.1);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
53
73
|
@media (min-width: 62em) {
|
|
54
74
|
.duet-submenu-bar {
|
|
55
75
|
border-bottom: 1px solid rgb(205, 229, 241);
|
|
@@ -65,7 +65,7 @@ export class DuetSubmenuBar {
|
|
|
65
65
|
* Always the last one in the class.
|
|
66
66
|
*/
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, null, h("nav", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
68
|
+
return (h(Host, null, h("nav", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("div", { class: "shadow-container", role: "presentation" }, h("div", { class: "top-shadow" })), h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
69
69
|
active: this.open,
|
|
70
70
|
}, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
71
71
|
items: true,
|
|
@@ -294,7 +294,7 @@ export class DuetTabGroup {
|
|
|
294
294
|
"references": {
|
|
295
295
|
"DuetTabVariation": {
|
|
296
296
|
"location": "local",
|
|
297
|
-
"path": "/Users/
|
|
297
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
},
|
|
@@ -512,7 +512,7 @@ export class DuetTabGroup {
|
|
|
512
512
|
"references": {
|
|
513
513
|
"DuetTabGroupEvent": {
|
|
514
514
|
"location": "local",
|
|
515
|
-
"path": "/Users/
|
|
515
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
}
|
|
@@ -532,7 +532,7 @@ export class DuetTabGroup {
|
|
|
532
532
|
"references": {
|
|
533
533
|
"DuetTabGroupEvent": {
|
|
534
534
|
"location": "local",
|
|
535
|
-
"path": "/Users/
|
|
535
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -553,7 +553,7 @@ export class DuetTabGroup {
|
|
|
553
553
|
},
|
|
554
554
|
"DuetTabGroupEvent": {
|
|
555
555
|
"location": "local",
|
|
556
|
-
"path": "/Users/
|
|
556
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
557
557
|
}
|
|
558
558
|
},
|
|
559
559
|
"return": "Promise<void>"
|
|
@@ -5,7 +5,7 @@ import { sizeHeader, sizeNavigation } from "@duetds/tokens";
|
|
|
5
5
|
import { Build, h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
import { debounce } from "../../utils/js-utils";
|
|
8
|
-
import { breakpointToToken } from "../../utils/token-utils";
|
|
8
|
+
import { breakpointTokensUpTo, breakpointToToken } from "../../utils/token-utils";
|
|
9
9
|
const stickyTopValues = {
|
|
10
10
|
none: 0,
|
|
11
11
|
"with-links": parseFloat(sizeNavigation) * 16,
|
|
@@ -20,7 +20,7 @@ export class DuetTable {
|
|
|
20
20
|
constructor() {
|
|
21
21
|
this.headingSelector = "thead tr > :not(*.duet-editable-table-actions-menu)";
|
|
22
22
|
this.handleMediaQueryChange = (mq) => {
|
|
23
|
-
this.matchesBreakpoint = mq.matches;
|
|
23
|
+
this.matchesBreakpoint = breakpointTokensUpTo.includes(this.breakpoint) ? !mq.matches : mq.matches;
|
|
24
24
|
};
|
|
25
25
|
this.matchesBreakpoint = true;
|
|
26
26
|
this.theme = undefined;
|
|
@@ -230,7 +230,7 @@ export class DuetTable {
|
|
|
230
230
|
"mutable": false,
|
|
231
231
|
"complexType": {
|
|
232
232
|
"original": "DuetTableBreakpoint",
|
|
233
|
-
"resolved": "\"large\" | \"medium\" | \"none\" | \"none-scrollable\" | \"small\" | \"x-large\" | \"xx-large\" | \"xxx-large\"",
|
|
233
|
+
"resolved": "\"large\" | \"medium\" | \"none\" | \"none-scrollable\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\" | \"xxx-large\" | \"xxx-small\"",
|
|
234
234
|
"references": {
|
|
235
235
|
"DuetTableBreakpoint": {
|
|
236
236
|
"location": "import",
|
|
@@ -715,7 +715,7 @@ export class DuetTextarea {
|
|
|
715
715
|
"references": {
|
|
716
716
|
"DuetTextareaEvent": {
|
|
717
717
|
"location": "local",
|
|
718
|
-
"path": "/Users/
|
|
718
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
}
|
|
@@ -735,7 +735,7 @@ export class DuetTextarea {
|
|
|
735
735
|
"references": {
|
|
736
736
|
"DuetTextareaEvent": {
|
|
737
737
|
"location": "local",
|
|
738
|
-
"path": "/Users/
|
|
738
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
741
|
}
|
|
@@ -755,7 +755,7 @@ export class DuetTextarea {
|
|
|
755
755
|
"references": {
|
|
756
756
|
"DuetTextareaEvent": {
|
|
757
757
|
"location": "local",
|
|
758
|
-
"path": "/Users/
|
|
758
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
}
|
|
@@ -775,7 +775,7 @@ export class DuetTextarea {
|
|
|
775
775
|
"references": {
|
|
776
776
|
"DuetTextareaEvent": {
|
|
777
777
|
"location": "local",
|
|
778
|
-
"path": "/Users/
|
|
778
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
779
779
|
}
|
|
780
780
|
}
|
|
781
781
|
}
|
|
@@ -432,7 +432,7 @@ export class DuetToggle {
|
|
|
432
432
|
"references": {
|
|
433
433
|
"DuetToggleChangeEvent": {
|
|
434
434
|
"location": "local",
|
|
435
|
-
"path": "/Users/
|
|
435
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-toggle/duet-toggle.tsx"
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
}
|
|
@@ -400,7 +400,7 @@ export class DuetTooltip {
|
|
|
400
400
|
"references": {
|
|
401
401
|
"DuetTooltipBreakpoint": {
|
|
402
402
|
"location": "local",
|
|
403
|
-
"path": "/Users/
|
|
403
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tooltip/duet-tooltip.tsx"
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
},
|
|
@@ -99,10 +99,6 @@
|
|
|
99
99
|
.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button), .duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button) {
|
|
100
100
|
border: 0;
|
|
101
101
|
}
|
|
102
|
-
.duet-upload-editable-table .duet-upload-item-name duet-icon {
|
|
103
|
-
position: relative;
|
|
104
|
-
top: 2px;
|
|
105
|
-
}
|
|
106
102
|
|
|
107
103
|
duet-paragraph::part(duet-paragraph) {
|
|
108
104
|
word-break: break-word;
|
|
@@ -113,19 +109,89 @@ duet-editable-table tfoot {
|
|
|
113
109
|
}
|
|
114
110
|
|
|
115
111
|
.upload-bottom-caption {
|
|
116
|
-
margin-
|
|
112
|
+
margin-top: 8px;
|
|
113
|
+
margin-bottom: 8px;
|
|
117
114
|
}
|
|
118
115
|
|
|
119
|
-
.
|
|
120
|
-
display:
|
|
116
|
+
.items-header {
|
|
117
|
+
display: none;
|
|
121
118
|
flex-direction: row;
|
|
122
119
|
}
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
@media (min-width: 36em) {
|
|
121
|
+
.items-header {
|
|
122
|
+
display: flex;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.items-header:not(:last-child), .items-header:not(:first-child) {
|
|
126
|
+
margin-top: 12px;
|
|
127
|
+
}
|
|
128
|
+
.items-header .category-header {
|
|
129
|
+
width: 35%;
|
|
125
130
|
}
|
|
126
|
-
.
|
|
127
|
-
|
|
131
|
+
.items-header .filename-header {
|
|
132
|
+
width: 65%;
|
|
128
133
|
}
|
|
129
|
-
.
|
|
130
|
-
|
|
134
|
+
.items-header .filename-header.no-category {
|
|
135
|
+
width: 100%;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.upload-item-row {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
gap: 10px;
|
|
142
|
+
align-content: center;
|
|
143
|
+
align-items: center;
|
|
144
|
+
padding: 16px 0 16px 0;
|
|
145
|
+
border-bottom: 1px solid rgb(225, 227, 230);
|
|
146
|
+
}
|
|
147
|
+
@media (min-width: 36em) {
|
|
148
|
+
.upload-item-row {
|
|
149
|
+
flex-direction: row;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
.upload-item-row .item-categories {
|
|
153
|
+
width: 100%;
|
|
154
|
+
margin-bottom: 8px;
|
|
155
|
+
}
|
|
156
|
+
@media (min-width: 36em) {
|
|
157
|
+
.upload-item-row .item-categories {
|
|
158
|
+
width: 35%;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
.upload-item-row .item-label {
|
|
162
|
+
width: 100%;
|
|
163
|
+
margin-bottom: 8px;
|
|
164
|
+
text-align: left;
|
|
165
|
+
}
|
|
166
|
+
@media (min-width: 36em) {
|
|
167
|
+
.upload-item-row .item-label {
|
|
168
|
+
width: 50%;
|
|
169
|
+
}
|
|
170
|
+
.upload-item-row .item-label.no-category {
|
|
171
|
+
width: 85%;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
.upload-item-row .item-categories .heading,
|
|
175
|
+
.upload-item-row .item-label .heading {
|
|
176
|
+
display: block;
|
|
177
|
+
}
|
|
178
|
+
@media (min-width: 36em) {
|
|
179
|
+
.upload-item-row .item-categories .heading,
|
|
180
|
+
.upload-item-row .item-label .heading {
|
|
181
|
+
display: none;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
.upload-item-row .item-actions {
|
|
185
|
+
width: 100%;
|
|
186
|
+
text-align: left;
|
|
187
|
+
}
|
|
188
|
+
@media (min-width: 36em) {
|
|
189
|
+
.upload-item-row .item-actions {
|
|
190
|
+
width: 15%;
|
|
191
|
+
text-align: right;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
.upload-item-row .duet-upload-item-name duet-icon {
|
|
195
|
+
position: relative;
|
|
196
|
+
top: 4px;
|
|
131
197
|
}
|