@duetds/components 6.8.9 → 6.9.1
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 +337 -196
- package/lib/cjs/duet-action-button.cjs.entry.js +19 -4
- 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 +12 -2
- 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 +112 -127
- 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 +14 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +20 -6
- package/lib/cjs/duet-hero.cjs.entry.js +15 -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 +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -3
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +15 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +47 -27
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +21 -6
- 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 +3 -3
- 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 +5 -5
- 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 +22 -7
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- 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 +16 -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-f5b81c1f.js → focus-utils-46e27452.js} +1 -1
- package/lib/cjs/{index-8a8ba131.js → index-8512a70b.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 +27 -8
- 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 +19 -6
- 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 +21 -9
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.css +18 -0
- package/lib/collection/components/duet-grid/duet-grid.js +27 -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 +35 -19
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +10 -0
- package/lib/collection/components/duet-hero/duet-hero.js +22 -8
- 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.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +16 -9
- package/lib/collection/components/duet-notification/duet-notification.js +22 -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 +50 -30
- package/lib/collection/components/duet-pagination/duet-pagination.js +29 -11
- 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 +1 -1
- package/lib/collection/components/duet-select/duet-select.css +0 -4
- package/lib/collection/components/duet-select/duet-select.js +6 -6
- package/lib/collection/components/duet-slideout/duet-slideout.css +2 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +5 -21
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +1 -0
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +21 -5
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +20 -4
- 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 +22 -5
- package/lib/collection/components/duet-upload/duet-upload.css +89 -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 +22 -6
- 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 +3 -3
- 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 +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +16 -5
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +11 -11
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +246 -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 +5 -5
- 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 +26 -12
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +25 -13
- 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 +8 -8
- package/lib/dist-custom-elements/duet-multiselect.js +18 -11
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +19 -5
- package/lib/dist-custom-elements/duet-number-input.js +56 -36
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +31 -15
- 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 +5 -5
- 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 +3 -3
- 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 +4 -4
- package/lib/dist-custom-elements/duet-slideout.js +5 -5
- 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 +24 -8
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +10 -10
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- 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 +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +123 -159
- 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-35d1520f.js → p-00afad07.js} +1 -1
- package/lib/dist-custom-elements/{p-6c05e879.js → p-076452be.js} +1 -1
- package/lib/dist-custom-elements/{p-aa453ca9.js → p-117109e4.js} +2 -2
- package/lib/dist-custom-elements/{p-0f07edcd.js → p-11fbe397.js} +1 -1
- package/lib/dist-custom-elements/{p-8563290f.js → p-2a919c81.js} +21 -6
- package/lib/dist-custom-elements/{p-db993558.js → p-414fdb0c.js} +2 -2
- package/lib/dist-custom-elements/{p-48ee4427.js → p-43bbb094.js} +2 -2
- package/lib/dist-custom-elements/{p-33e00967.js → p-505389ac.js} +1 -1
- package/lib/dist-custom-elements/{p-cefc1697.js → p-51307fda.js} +2 -2
- package/lib/dist-custom-elements/{p-23e46e22.js → p-528cdd3e.js} +6 -6
- package/lib/dist-custom-elements/{p-2bfc9c26.js → p-57d6495c.js} +1 -1
- package/lib/dist-custom-elements/{p-4af6c136.js → p-5e60f757.js} +9 -9
- package/lib/dist-custom-elements/{p-9ed347f9.js → p-68024252.js} +4 -2
- package/lib/dist-custom-elements/{p-ce3afba1.js → p-69fa1743.js} +8 -8
- package/lib/dist-custom-elements/{p-babace4d.js → p-6f661b09.js} +2 -2
- package/lib/dist-custom-elements/{p-88d347ec.js → p-72635656.js} +9 -2
- package/lib/dist-custom-elements/{p-3dca144f.js → p-7392a942.js} +2 -2
- package/lib/dist-custom-elements/{p-297a6774.js → p-7c4c8cf0.js} +1 -1
- package/lib/dist-custom-elements/{p-fa582233.js → p-84d75d9d.js} +4 -4
- package/lib/dist-custom-elements/{p-03367341.js → p-8d12a863.js} +1 -1
- package/lib/dist-custom-elements/{p-8348ca39.js → p-9175529e.js} +3 -3
- package/lib/dist-custom-elements/{p-799100e3.js → p-94df5d2c.js} +1 -1
- package/lib/dist-custom-elements/{p-697167af.js → p-98b0f345.js} +1 -1
- package/lib/dist-custom-elements/p-9f027a93.js +183 -0
- package/lib/dist-custom-elements/{p-2e320d47.js → p-afc65a24.js} +2 -2
- package/lib/dist-custom-elements/{p-fbfbd3c9.js → p-b51fbd15.js} +2 -2
- package/lib/dist-custom-elements/{p-2697a4f6.js → p-b7b7c63b.js} +2 -2
- package/lib/dist-custom-elements/{p-e95c3a28.js → p-bbf48894.js} +1 -1
- package/lib/dist-custom-elements/{p-7cc3a9b6.js → p-bdc087cb.js} +18 -5
- package/lib/dist-custom-elements/{p-35c660bf.js → p-c272c5d5.js} +6 -6
- package/lib/dist-custom-elements/{p-0853da89.js → p-c57eccd3.js} +23 -7
- package/lib/dist-custom-elements/{p-2f2a5be2.js → p-c8659d75.js} +7 -7
- package/lib/dist-custom-elements/{p-d409a0fc.js → p-cefb33f9.js} +1 -1
- package/lib/dist-custom-elements/{p-eabaa24d.js → p-f1b800f0.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-062d4c6b.entry.js → p-00c11b87.entry.js} +1 -1
- package/lib/duet/{p-abde6822.entry.js → p-018b0ffe.entry.js} +1 -1
- package/lib/duet/p-01ca2f64.system.entry.js +4 -0
- package/lib/duet/{p-bf91e001.entry.js → p-02fb736a.entry.js} +1 -1
- package/lib/duet/{p-ad9b1943.entry.js → p-04ccc444.entry.js} +1 -1
- package/lib/duet/{p-398584d4.entry.js → p-05f30291.entry.js} +1 -1
- package/lib/duet/p-08b03779.system.entry.js +4 -0
- package/lib/duet/{p-55e5bf94.entry.js → p-097c4d0c.entry.js} +1 -1
- package/lib/duet/p-0ab4083f.entry.js +4 -0
- package/lib/duet/{p-808cc181.system.entry.js → p-0ca53854.system.entry.js} +1 -1
- package/lib/duet/{p-dc0d47f6.system.entry.js → p-0e8dab5b.system.entry.js} +1 -1
- package/lib/duet/{p-236447b8.entry.js → p-1254c99a.entry.js} +1 -1
- package/lib/duet/{p-3db073f3.system.entry.js → p-1263323e.system.entry.js} +1 -1
- package/lib/duet/{p-1dfc8eb0.system.entry.js → p-133d2ee1.system.entry.js} +1 -1
- package/lib/duet/{p-d35c775f.system.entry.js → p-14e3383d.system.entry.js} +1 -1
- package/lib/duet/{p-8da23c48.entry.js → p-154c0d34.entry.js} +1 -1
- package/lib/duet/{p-45b4586f.system.entry.js → p-1666fed9.system.entry.js} +1 -1
- package/lib/duet/{p-fdf5e1b6.entry.js → p-1739bdd1.entry.js} +1 -1
- package/lib/duet/p-187c9ec6.system.entry.js +4 -0
- package/lib/duet/{p-477efcbc.entry.js → p-2078d7cd.entry.js} +1 -1
- package/lib/duet/{p-3cdfb467.entry.js → p-22caa775.entry.js} +1 -1
- package/lib/duet/{p-060f8f64.entry.js → p-2695e6c6.entry.js} +1 -1
- package/lib/duet/{p-8c5399f3.entry.js → p-27cc2332.entry.js} +1 -1
- package/lib/duet/{p-96853ebb.entry.js → p-2c28eb80.entry.js} +1 -1
- package/lib/duet/{p-365bc70c.entry.js → p-2c6e4614.entry.js} +1 -1
- package/lib/duet/{p-3023d41a.system.entry.js → p-2d6e3927.system.entry.js} +1 -1
- package/lib/duet/{p-936a1b6b.entry.js → p-2e1e2d3d.entry.js} +1 -1
- package/lib/duet/{p-0226f751.system.entry.js → p-2f936baf.system.entry.js} +1 -1
- package/lib/duet/{p-36cb9f64.system.entry.js → p-33bf6eed.system.entry.js} +1 -1
- package/lib/duet/{p-7c9bdbe1.system.entry.js → p-340bef19.system.entry.js} +1 -1
- package/lib/duet/{p-c9ac338f.system.entry.js → p-35907d51.system.entry.js} +1 -1
- package/lib/duet/p-361ce072.system.entry.js +4 -0
- package/lib/duet/{p-61b2e583.entry.js → p-376ec229.entry.js} +1 -1
- package/lib/duet/{p-6aeb4931.entry.js → p-3856f3a8.entry.js} +1 -1
- package/lib/duet/{p-7e4af76c.system.entry.js → p-3a21d43b.system.entry.js} +1 -1
- package/lib/duet/{p-6a011296.entry.js → p-3a28cf58.entry.js} +1 -1
- package/lib/duet/p-3d3e5e9e.entry.js +4 -0
- package/lib/duet/{p-2e8ae6ef.system.entry.js → p-417c1eca.system.entry.js} +2 -2
- package/lib/duet/{p-837acc55.entry.js → p-45a939b3.entry.js} +1 -1
- package/lib/duet/{p-337b32f1.system.entry.js → p-46ca69cf.system.entry.js} +1 -1
- package/lib/duet/{p-cfc2b098.js → p-4879ffe9.js} +1 -1
- package/lib/duet/p-4b7f3ac1.system.js +4 -0
- package/lib/duet/{p-8e831193.system.entry.js → p-4bdd34bc.system.entry.js} +1 -1
- package/lib/duet/{p-d1ad24a0.system.entry.js → p-4c286dee.system.entry.js} +1 -1
- package/lib/duet/{p-c6083026.entry.js → p-50b51053.entry.js} +1 -1
- package/lib/duet/p-51160aa4.entry.js +4 -0
- package/lib/duet/{p-73627cbb.system.entry.js → p-539034b3.system.entry.js} +1 -1
- package/lib/duet/{p-77fbdca2.system.entry.js → p-54a44e1e.system.entry.js} +1 -1
- package/lib/duet/{p-d6cd2bb9.system.entry.js → p-56b4f6e5.system.entry.js} +1 -1
- package/lib/duet/{p-fd74020b.entry.js → p-57f981bd.entry.js} +1 -1
- package/lib/duet/{p-4d40f304.entry.js → p-58833aca.entry.js} +1 -1
- package/lib/duet/{p-0c89b6f9.system.entry.js → p-5abf961b.system.entry.js} +1 -1
- package/lib/duet/{p-e7ecad67.system.entry.js → p-5c2dd50b.system.entry.js} +2 -2
- package/lib/duet/p-5c83e833.entry.js +4 -0
- package/lib/duet/p-614194b1.entry.js +4 -0
- package/lib/duet/p-618615d1.system.entry.js +4 -0
- package/lib/duet/{p-ade32ce7.entry.js → p-61e84177.entry.js} +1 -1
- package/lib/duet/p-621e8af8.js +4 -0
- package/lib/duet/{p-0d95bf16.system.entry.js → p-64297b4d.system.entry.js} +1 -1
- package/lib/duet/{p-5822c65a.system.entry.js → p-64b14d85.system.entry.js} +1 -1
- package/lib/duet/p-6a1f0973.system.entry.js +4 -0
- package/lib/duet/{p-8169f888.entry.js → p-6a8341c1.entry.js} +1 -1
- package/lib/duet/p-71779b62.entry.js +4 -0
- package/lib/duet/{p-b97b1676.system.entry.js → p-71e63186.system.entry.js} +1 -1
- package/lib/duet/p-736eb6f6.system.entry.js +4 -0
- package/lib/duet/p-75a307e4.entry.js +4 -0
- package/lib/duet/{p-f98b9ae8.system.entry.js → p-76bac602.system.entry.js} +1 -1
- package/lib/duet/{p-313fe3f5.entry.js → p-7743d05c.entry.js} +1 -1
- package/lib/duet/{p-44d753ee.entry.js → p-78973e79.entry.js} +1 -1
- package/lib/duet/p-7c4baf1c.js +4 -0
- package/lib/duet/{p-00676a36.system.entry.js → p-7cbc8aa1.system.entry.js} +1 -1
- package/lib/duet/{p-2abe8f54.entry.js → p-7dd4e3f6.entry.js} +1 -1
- package/lib/duet/p-7e9e10ab.entry.js +4 -0
- package/lib/duet/{p-2c39a50d.system.entry.js → p-80973cda.system.entry.js} +1 -1
- package/lib/duet/{p-2ad517e0.system.entry.js → p-825c4e47.system.entry.js} +1 -1
- package/lib/duet/{p-6ed854c9.system.entry.js → p-84881c84.system.entry.js} +1 -1
- package/lib/duet/p-86201340.system.entry.js +4 -0
- package/lib/duet/{p-59673927.system.entry.js → p-8a517f70.system.entry.js} +1 -1
- package/lib/duet/{p-ebbbcd73.entry.js → p-8b7b4c46.entry.js} +1 -1
- package/lib/duet/{p-c54774ab.entry.js → p-90fece55.entry.js} +1 -1
- package/lib/duet/{p-f2893a52.entry.js → p-9389ce47.entry.js} +1 -1
- package/lib/duet/{p-200c17f6.system.entry.js → p-94f2509c.system.entry.js} +1 -1
- package/lib/duet/p-960503a3.entry.js +4 -0
- package/lib/duet/p-9616579e.entry.js +4 -0
- package/lib/duet/{p-8cf75c3e.entry.js → p-981b43c2.entry.js} +1 -1
- package/lib/duet/{p-0782a91f.system.entry.js → p-99ccb2c2.system.entry.js} +1 -1
- package/lib/duet/p-9cd3ea60.system.entry.js +4 -0
- package/lib/duet/p-9d36613e.system.entry.js +4 -0
- package/lib/duet/{p-b708a4c0.system.entry.js → p-9fc991c2.system.entry.js} +1 -1
- package/lib/duet/{p-cfbf4269.system.entry.js → p-a0bcc46c.system.entry.js} +1 -1
- package/lib/duet/p-a113525c.entry.js +4 -0
- package/lib/duet/{p-5782d12a.system.js → p-a190f8b9.system.js} +1 -1
- package/lib/duet/{p-c42fad8c.entry.js → p-a29118e6.entry.js} +1 -1
- package/lib/duet/{p-7a096435.entry.js → p-a3f23363.entry.js} +1 -1
- package/lib/duet/{p-43e589c8.entry.js → p-a4a9705f.entry.js} +1 -1
- package/lib/duet/{p-7e3541f6.system.entry.js → p-a4e42811.system.entry.js} +1 -1
- package/lib/duet/p-a6751ba6.entry.js +4 -0
- package/lib/duet/{p-ea109080.entry.js → p-a7d9728a.entry.js} +1 -1
- package/lib/duet/{p-749fc136.entry.js → p-abbcf5dc.entry.js} +1 -1
- package/lib/duet/{p-7675eb6f.system.entry.js → p-aee38b4a.system.entry.js} +1 -1
- package/lib/duet/{p-42ff082a.system.entry.js → p-b1abb582.system.entry.js} +1 -1
- package/lib/duet/{p-71917207.system.entry.js → p-b2be54b5.system.entry.js} +1 -1
- package/lib/duet/{p-63dc5d85.system.entry.js → p-b308ce5d.system.entry.js} +1 -1
- package/lib/duet/{p-881ed26f.entry.js → p-b3f12c59.entry.js} +1 -1
- package/lib/duet/{p-f40d72fb.entry.js → p-b656b461.entry.js} +1 -1
- package/lib/duet/{p-a335e0bc.entry.js → p-bb536ec4.entry.js} +1 -1
- package/lib/duet/{p-46fb20ed.entry.js → p-bc0ce7e7.entry.js} +1 -1
- package/lib/duet/{p-9bc8d785.system.entry.js → p-bf37cb60.system.entry.js} +1 -1
- package/lib/duet/{p-f59c99ac.system.entry.js → p-c141d219.system.entry.js} +1 -1
- package/lib/duet/p-c16de43f.system.entry.js +4 -0
- package/lib/duet/{p-2c44d7d1.system.entry.js → p-c19d32af.system.entry.js} +1 -1
- package/lib/duet/{p-ac5df61e.system.entry.js → p-c213c2f2.system.entry.js} +1 -1
- package/lib/duet/{p-df4c44a0.entry.js → p-c3c98ddf.entry.js} +1 -1
- package/lib/duet/{p-5c28fd80.system.entry.js → p-c70da05a.system.entry.js} +1 -1
- package/lib/duet/{p-c5191cdc.entry.js → p-cb5771c5.entry.js} +1 -1
- package/lib/duet/{p-63dfae1b.entry.js → p-cd410e2a.entry.js} +1 -1
- package/lib/duet/{p-2011c8e6.system.entry.js → p-cfebc130.system.entry.js} +1 -1
- package/lib/duet/{p-f591ed1f.entry.js → p-d22e694c.entry.js} +1 -1
- package/lib/duet/{p-a9448361.system.entry.js → p-d2d14d3b.system.entry.js} +1 -1
- package/lib/duet/p-d51ed3e2.system.entry.js +4 -0
- package/lib/duet/{p-ca597046.system.js → p-d8422099.system.js} +1 -1
- package/lib/duet/{p-53c13b55.entry.js → p-d924703a.entry.js} +1 -1
- package/lib/duet/{p-4ef2841d.entry.js → p-db9f9e24.entry.js} +1 -1
- package/lib/duet/{p-8941bf37.system.entry.js → p-dc1f60cd.system.entry.js} +1 -1
- package/lib/duet/p-dc566220.entry.js +4 -0
- package/lib/duet/{p-230830eb.system.entry.js → p-df1531b7.system.entry.js} +1 -1
- package/lib/duet/{p-cd98e431.system.entry.js → p-e13d0460.system.entry.js} +1 -1
- package/lib/duet/p-e1919861.js +4 -0
- package/lib/duet/{p-8bc10d1a.entry.js → p-e4626c0e.entry.js} +1 -1
- package/lib/duet/{p-f9141695.system.entry.js → p-e920e34f.system.entry.js} +1 -1
- package/lib/duet/{p-8b8eec00.system.entry.js → p-e9fb2c3b.system.entry.js} +1 -1
- package/lib/duet/{p-9e704252.entry.js → p-eb4393ed.entry.js} +1 -1
- package/lib/duet/p-eb6c4a2a.system.js +4 -0
- package/lib/duet/{p-556fa590.entry.js → p-ed222f86.entry.js} +1 -1
- package/lib/duet/p-f25db9b8.entry.js +4 -0
- package/lib/duet/{p-c520d4ea.system.entry.js → p-f28d27a4.system.entry.js} +1 -1
- package/lib/duet/p-f67ee736.system.js +4 -0
- package/lib/duet/{p-b32d877a.system.entry.js → p-fa0896f4.system.entry.js} +1 -1
- package/lib/duet/{p-62587a99.entry.js → p-faeed6cf.entry.js} +1 -1
- package/lib/duet/{p-406c6277.system.entry.js → p-fb352dcf.system.entry.js} +1 -1
- package/lib/duet/{p-a6df6c15.entry.js → p-fec9ec39.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +20 -5
- 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 +13 -3
- 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 +113 -128
- 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 +14 -4
- package/lib/esm/duet-header_2.entry.js +20 -6
- package/lib/esm/duet-hero.entry.js +16 -4
- 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 +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +10 -4
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +16 -2
- package/lib/esm/duet-number-input.entry.js +47 -27
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +22 -7
- 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 +3 -3
- 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 +5 -5
- 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 +22 -7
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- 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 +17 -2
- 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-f1ddeb69.js → focus-utils-3483f616.js} +1 -1
- package/lib/esm/{index-57a87c63.js → index-fff18e02.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- 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-3483f616.js +4 -0
- package/lib/esm-es5/{index-57a87c63.js → index-fff18e02.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-action-button/duet-action-button.d.ts +8 -1
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +4 -1
- package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
- package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +7 -1
- package/lib/types/components/duet-header/duet-header.d.ts +1 -0
- package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +4 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +3 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -0
- package/lib/types/components/duet-pagination/duet-pagination.d.ts +5 -1
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +2 -1
- package/lib/types/components/duet-table/duet-table.d.ts +6 -1
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -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 +35 -0
- package/lib/types/utils/token-utils.d.ts +2 -0
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-00635432.js +0 -243
- package/lib/dist-custom-elements/p-4b9ef5dc.js +0 -178
- package/lib/duet/p-01006278.js +0 -4
- package/lib/duet/p-17063917.system.js +0 -4
- package/lib/duet/p-255ede66.entry.js +0 -4
- package/lib/duet/p-29851757.system.entry.js +0 -4
- package/lib/duet/p-2fc1306e.entry.js +0 -4
- package/lib/duet/p-352ef7d4.entry.js +0 -4
- package/lib/duet/p-3693927d.system.entry.js +0 -4
- package/lib/duet/p-429ae180.system.entry.js +0 -4
- package/lib/duet/p-43c99bf1.entry.js +0 -4
- package/lib/duet/p-508d3dcb.system.entry.js +0 -4
- package/lib/duet/p-54dca5e8.system.entry.js +0 -4
- package/lib/duet/p-5d46f619.system.js +0 -4
- package/lib/duet/p-633dced0.entry.js +0 -4
- package/lib/duet/p-65b8dc2a.entry.js +0 -4
- package/lib/duet/p-69671377.system.js +0 -4
- package/lib/duet/p-728bfa77.entry.js +0 -4
- package/lib/duet/p-75effec6.system.entry.js +0 -4
- package/lib/duet/p-79a9746e.js +0 -4
- package/lib/duet/p-7cf7fde9.entry.js +0 -4
- package/lib/duet/p-86270afd.entry.js +0 -4
- package/lib/duet/p-9052b6f5.js +0 -4
- package/lib/duet/p-96ee76aa.entry.js +0 -4
- package/lib/duet/p-99967a86.entry.js +0 -4
- package/lib/duet/p-9d7a6b9d.system.entry.js +0 -4
- package/lib/duet/p-ac8174e5.system.entry.js +0 -4
- package/lib/duet/p-ac90e4ba.entry.js +0 -4
- package/lib/duet/p-db511eee.system.entry.js +0 -4
- package/lib/duet/p-e827c36c.system.entry.js +0 -4
- package/lib/duet/p-e9dae4ed.system.entry.js +0 -4
- package/lib/duet/p-ec6683f4.system.entry.js +0 -4
- package/lib/duet/p-f5103ded.entry.js +0 -4
- package/lib/duet/p-fe31c401.entry.js +0 -4
- package/lib/esm-es5/focus-utils-f1ddeb69.js +0 -4
|
@@ -145,7 +145,7 @@ export class DuetSelect {
|
|
|
145
145
|
}))), h("div", { class: {
|
|
146
146
|
"duet-select": true,
|
|
147
147
|
"duet-select-variation-tiny": this.variation === "tiny",
|
|
148
|
-
}, "aria-hidden": "true" }, h("span", { key: this.value }, this.getSelectedItemLabel()), this.variation !== "tiny" && (h("svg", { role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), this.variation === "tiny" && (h("duet-icon", { name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xx-small" })))), h("span", { class: "duet-select-help", id: this.errorId, "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", null, this.error)))));
|
|
148
|
+
}, "aria-hidden": "true" }, h("span", { key: this.value }, this.getSelectedItemLabel()), this.variation !== "tiny" && (h("svg", { role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), this.variation === "tiny" && (h("duet-icon", { name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xx-small" }))), h("span", { class: "keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { class: "duet-select-help", id: this.errorId, "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", null, this.error)))));
|
|
149
149
|
}
|
|
150
150
|
static get is() { return "duet-select"; }
|
|
151
151
|
static get encapsulation() { return "scoped"; }
|
|
@@ -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
|
}
|
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
z-index: 400;
|
|
80
80
|
width: 100%;
|
|
81
81
|
height: 100%;
|
|
82
|
+
padding-bottom: 75px;
|
|
82
83
|
overflow-y: auto;
|
|
83
84
|
box-shadow: 0 3px 6px 0 rgba(0, 41, 77, 0.1) inset;
|
|
84
85
|
}
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
right: 0;
|
|
88
89
|
left: auto;
|
|
89
90
|
width: 500px;
|
|
91
|
+
padding-bottom: 0;
|
|
90
92
|
transition: right 300ms ease;
|
|
91
93
|
transition-delay: 0s;
|
|
92
94
|
}
|
|
@@ -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
|
}
|
|
@@ -23,29 +23,15 @@
|
|
|
23
23
|
width: 100%;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
:host
|
|
27
|
-
:
|
|
28
|
-
position: relative;
|
|
29
|
-
top: -0.5rem;
|
|
30
|
-
opacity: 0;
|
|
31
|
-
transition: top 0.3s ease-in, opacity 0.3s ease-in;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
:host([open]) slot::slotted(duet-submenu-bar-link),
|
|
35
|
-
:host([open]) slot::slotted(duet-submenu-bar-dropdown) {
|
|
36
|
-
top: 0;
|
|
37
|
-
opacity: 1;
|
|
26
|
+
:host(:not([open])) ::slotted(duet-submenu-bar-dropdown) {
|
|
27
|
+
display: none;
|
|
38
28
|
}
|
|
39
|
-
|
|
40
29
|
@media (min-width: 62em) {
|
|
41
|
-
:host
|
|
42
|
-
|
|
43
|
-
position: relative;
|
|
44
|
-
top: auto;
|
|
45
|
-
opacity: 1;
|
|
46
|
-
transition: none;
|
|
30
|
+
:host(:not([open])) ::slotted(duet-submenu-bar-dropdown) {
|
|
31
|
+
display: inherit;
|
|
47
32
|
}
|
|
48
33
|
}
|
|
34
|
+
|
|
49
35
|
.duet-submenu-bar {
|
|
50
36
|
position: relative;
|
|
51
37
|
background: rgb(243, 249, 252);
|
|
@@ -114,7 +100,6 @@
|
|
|
114
100
|
visibility: visible;
|
|
115
101
|
background: rgb(243, 249, 252);
|
|
116
102
|
border-bottom: 1px solid rgb(207, 210, 212);
|
|
117
|
-
transition: 300ms ease;
|
|
118
103
|
}
|
|
119
104
|
.duet-submenu-bar .items ::slotted(*) {
|
|
120
105
|
position: relative;
|
|
@@ -124,7 +109,6 @@
|
|
|
124
109
|
overflow: hidden;
|
|
125
110
|
visibility: hidden;
|
|
126
111
|
border-bottom: 0 solid rgb(207, 210, 212);
|
|
127
|
-
transition: 300ms ease;
|
|
128
112
|
}
|
|
129
113
|
@media (min-width: 62em) {
|
|
130
114
|
.duet-submenu-bar .items .list {
|
|
@@ -194,6 +194,7 @@
|
|
|
194
194
|
@media (min-width: 62em) {
|
|
195
195
|
.duet-submenu-bar-dropdown.duet-theme-turva button.active, .duet-submenu-bar-dropdown.duet-theme-turva button.open {
|
|
196
196
|
color: rgb(148, 9, 37);
|
|
197
|
+
background: rgb(228, 228, 230);
|
|
197
198
|
}
|
|
198
199
|
}
|
|
199
200
|
.duet-submenu-bar-dropdown.duet-theme-turva button.active::after, .duet-submenu-bar-dropdown.duet-theme-turva button.open::after {
|
|
@@ -12,17 +12,32 @@ export class DuetSubmenuBarDropdown {
|
|
|
12
12
|
*/
|
|
13
13
|
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
14
14
|
this.boundMqlFunctions = [];
|
|
15
|
-
this.
|
|
15
|
+
this.checkIsDesktop = () => {
|
|
16
16
|
if (this.mql[0].matches) {
|
|
17
|
+
this.isDesktop = true;
|
|
17
18
|
this.iconSize = "x-small";
|
|
18
19
|
}
|
|
19
20
|
else {
|
|
21
|
+
this.isDesktop = false;
|
|
20
22
|
this.iconSize = "small";
|
|
21
23
|
}
|
|
22
24
|
};
|
|
23
25
|
this.onClick = () => {
|
|
24
|
-
|
|
26
|
+
const open = this.open;
|
|
27
|
+
if (!this.isDesktop) {
|
|
28
|
+
const dropdowns = Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));
|
|
29
|
+
for (const dropdown of dropdowns) {
|
|
30
|
+
dropdown.open = false;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (open) {
|
|
34
|
+
this.open = false;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
this.open = true;
|
|
38
|
+
}
|
|
25
39
|
};
|
|
40
|
+
this.isDesktop = false;
|
|
26
41
|
this.iconSize = "small";
|
|
27
42
|
this.theme = "";
|
|
28
43
|
this.active = false;
|
|
@@ -31,7 +46,7 @@ export class DuetSubmenuBarDropdown {
|
|
|
31
46
|
}
|
|
32
47
|
handleFocus(e) {
|
|
33
48
|
const isClickOutside = e.composedPath().every(node => node !== this.element);
|
|
34
|
-
if (isClickOutside) {
|
|
49
|
+
if (isClickOutside && this.isDesktop) {
|
|
35
50
|
this.open = false;
|
|
36
51
|
}
|
|
37
52
|
}
|
|
@@ -42,11 +57,11 @@ export class DuetSubmenuBarDropdown {
|
|
|
42
57
|
inheritGlobalTheme(this);
|
|
43
58
|
}
|
|
44
59
|
connectedCallback() {
|
|
45
|
-
this.
|
|
60
|
+
this.checkIsDesktop();
|
|
46
61
|
for (let i = 0; i < this.mql.length; i++) {
|
|
47
62
|
// addEventListener is not available in Stencil hydrate
|
|
48
63
|
if (this.mql[i].addEventListener) {
|
|
49
|
-
const bound = this.
|
|
64
|
+
const bound = this.checkIsDesktop.bind(this);
|
|
50
65
|
this.mql[i].addEventListener("change", bound);
|
|
51
66
|
this.boundMqlFunctions[i] = bound;
|
|
52
67
|
}
|
|
@@ -192,6 +207,7 @@ export class DuetSubmenuBarDropdown {
|
|
|
192
207
|
}
|
|
193
208
|
static get states() {
|
|
194
209
|
return {
|
|
210
|
+
"isDesktop": {},
|
|
195
211
|
"iconSize": {}
|
|
196
212
|
};
|
|
197
213
|
}
|
|
@@ -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,8 @@ 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 {
|
|
8
|
+
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, } from "../../utils/language-utils";
|
|
9
|
+
import { breakpointTokensUpTo, breakpointToToken } from "../../utils/token-utils";
|
|
9
10
|
const stickyTopValues = {
|
|
10
11
|
none: 0,
|
|
11
12
|
"with-links": parseFloat(sizeNavigation) * 16,
|
|
@@ -20,9 +21,10 @@ export class DuetTable {
|
|
|
20
21
|
constructor() {
|
|
21
22
|
this.headingSelector = "thead tr > :not(*.duet-editable-table-actions-menu)";
|
|
22
23
|
this.handleMediaQueryChange = (mq) => {
|
|
23
|
-
this.matchesBreakpoint = mq.matches;
|
|
24
|
+
this.matchesBreakpoint = breakpointTokensUpTo.includes(this.breakpoint) ? !mq.matches : mq.matches;
|
|
24
25
|
};
|
|
25
26
|
this.matchesBreakpoint = true;
|
|
27
|
+
this.language = getLanguage();
|
|
26
28
|
this.theme = undefined;
|
|
27
29
|
this.margin = "auto";
|
|
28
30
|
this.variation = "striped";
|
|
@@ -31,6 +33,11 @@ export class DuetTable {
|
|
|
31
33
|
this.breakpoint = "small";
|
|
32
34
|
this.hideHeadVisually = false;
|
|
33
35
|
}
|
|
36
|
+
watchLanguageStateHandler(newValue, oldValue) {
|
|
37
|
+
if (newValue !== oldValue) {
|
|
38
|
+
setTimeout(() => this.copyHeadingsToCells(), 50);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
34
41
|
connectedCallback() {
|
|
35
42
|
if (Build.isServer) {
|
|
36
43
|
return;
|
|
@@ -65,6 +72,7 @@ export class DuetTable {
|
|
|
65
72
|
// that way we avoid dealing with any initial changes
|
|
66
73
|
// and only get genuine mutations as rows are added/removed
|
|
67
74
|
this.observer ? this.observer.takeRecords() : null;
|
|
75
|
+
connectLanguageChangeObserver(this);
|
|
68
76
|
}
|
|
69
77
|
disconnectedCallback() {
|
|
70
78
|
if (Build.isServer) {
|
|
@@ -75,6 +83,7 @@ export class DuetTable {
|
|
|
75
83
|
this.mq.removeListener(this.handleMediaQueryChange);
|
|
76
84
|
this.mq = null;
|
|
77
85
|
this.matchesBreakpoint = true;
|
|
86
|
+
disconnectLanguageChangeObserver(this);
|
|
78
87
|
}
|
|
79
88
|
/**
|
|
80
89
|
* Local methods.
|
|
@@ -230,7 +239,7 @@ export class DuetTable {
|
|
|
230
239
|
"mutable": false,
|
|
231
240
|
"complexType": {
|
|
232
241
|
"original": "DuetTableBreakpoint",
|
|
233
|
-
"resolved": "\"large\" | \"medium\" | \"none\" | \"none-scrollable\" | \"small\" | \"x-large\" | \"xx-large\" | \"xxx-large\"",
|
|
242
|
+
"resolved": "\"large\" | \"medium\" | \"none\" | \"none-scrollable\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\" | \"xxx-large\" | \"xxx-small\"",
|
|
234
243
|
"references": {
|
|
235
244
|
"DuetTableBreakpoint": {
|
|
236
245
|
"location": "import",
|
|
@@ -270,8 +279,15 @@ export class DuetTable {
|
|
|
270
279
|
}
|
|
271
280
|
static get states() {
|
|
272
281
|
return {
|
|
273
|
-
"matchesBreakpoint": {}
|
|
282
|
+
"matchesBreakpoint": {},
|
|
283
|
+
"language": {}
|
|
274
284
|
};
|
|
275
285
|
}
|
|
276
286
|
static get elementRef() { return "element"; }
|
|
287
|
+
static get watchers() {
|
|
288
|
+
return [{
|
|
289
|
+
"propName": "language",
|
|
290
|
+
"methodName": "watchLanguageStateHandler"
|
|
291
|
+
}];
|
|
292
|
+
}
|
|
277
293
|
}
|
|
@@ -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
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
|
-
import { getLanguage, getLocaleString } from "../../utils/language-utils";
|
|
7
|
+
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
8
8
|
export class DuetTooltip {
|
|
9
9
|
constructor() {
|
|
10
10
|
/**
|
|
@@ -113,6 +113,14 @@ export class DuetTooltip {
|
|
|
113
113
|
this.positionHorizontal = "0";
|
|
114
114
|
this.active = false;
|
|
115
115
|
}
|
|
116
|
+
watchLanguageStateHandler(newValue, oldValue) {
|
|
117
|
+
if (newValue !== oldValue && this.accessibleLabel === this.accessibleLabelDefault[oldValue]) {
|
|
118
|
+
this.accessibleLabel = getLocaleString(this.accessibleLabelDefault, newValue);
|
|
119
|
+
}
|
|
120
|
+
if (newValue !== oldValue && this.accessibleCloseLabel === this.accessibleCloseLabelDefault[oldValue]) {
|
|
121
|
+
this.accessibleCloseLabel = getLocaleString(this.accessibleCloseLabelDefault, newValue);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
116
124
|
/**
|
|
117
125
|
* Component lifecycle events.
|
|
118
126
|
*/
|
|
@@ -133,6 +141,12 @@ export class DuetTooltip {
|
|
|
133
141
|
}
|
|
134
142
|
this.focusTarget = null;
|
|
135
143
|
}
|
|
144
|
+
connectedCallback() {
|
|
145
|
+
connectLanguageChangeObserver(this);
|
|
146
|
+
}
|
|
147
|
+
disconnectedCallback() {
|
|
148
|
+
disconnectLanguageChangeObserver(this);
|
|
149
|
+
}
|
|
136
150
|
/**
|
|
137
151
|
* Component event handling.
|
|
138
152
|
*/
|
|
@@ -287,7 +301,7 @@ export class DuetTooltip {
|
|
|
287
301
|
},
|
|
288
302
|
"accessibleLabel": {
|
|
289
303
|
"type": "string",
|
|
290
|
-
"mutable":
|
|
304
|
+
"mutable": true,
|
|
291
305
|
"complexType": {
|
|
292
306
|
"original": "string",
|
|
293
307
|
"resolved": "string",
|
|
@@ -354,7 +368,7 @@ export class DuetTooltip {
|
|
|
354
368
|
},
|
|
355
369
|
"accessibleCloseLabel": {
|
|
356
370
|
"type": "string",
|
|
357
|
-
"mutable":
|
|
371
|
+
"mutable": true,
|
|
358
372
|
"complexType": {
|
|
359
373
|
"original": "string",
|
|
360
374
|
"resolved": "string",
|
|
@@ -371,7 +385,7 @@ export class DuetTooltip {
|
|
|
371
385
|
},
|
|
372
386
|
"attribute": "accessible-close-label",
|
|
373
387
|
"reflect": false,
|
|
374
|
-
"defaultValue": "getLocaleString(this.accessibleCloseLabelDefault
|
|
388
|
+
"defaultValue": "getLocaleString(\n this.accessibleCloseLabelDefault,\n this.language\n )"
|
|
375
389
|
},
|
|
376
390
|
"label": {
|
|
377
391
|
"type": "string",
|
|
@@ -400,7 +414,7 @@ export class DuetTooltip {
|
|
|
400
414
|
"references": {
|
|
401
415
|
"DuetTooltipBreakpoint": {
|
|
402
416
|
"location": "local",
|
|
403
|
-
"path": "/Users/
|
|
417
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tooltip/duet-tooltip.tsx"
|
|
404
418
|
}
|
|
405
419
|
}
|
|
406
420
|
},
|
|
@@ -503,6 +517,9 @@ export class DuetTooltip {
|
|
|
503
517
|
static get elementRef() { return "element"; }
|
|
504
518
|
static get watchers() {
|
|
505
519
|
return [{
|
|
520
|
+
"propName": "language",
|
|
521
|
+
"methodName": "watchLanguageStateHandler"
|
|
522
|
+
}, {
|
|
506
523
|
"propName": "active",
|
|
507
524
|
"methodName": "handleActiveChange"
|
|
508
525
|
}];
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
margin-top: 16px;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
::slotted([slot=uploadfooter]) {
|
|
38
|
+
margin-top: 28px;
|
|
39
|
+
}
|
|
40
|
+
|
|
37
41
|
.duet-upload {
|
|
38
42
|
box-sizing: border-box;
|
|
39
43
|
padding: 0;
|
|
@@ -99,10 +103,6 @@
|
|
|
99
103
|
.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
104
|
border: 0;
|
|
101
105
|
}
|
|
102
|
-
.duet-upload-editable-table .duet-upload-item-name duet-icon {
|
|
103
|
-
position: relative;
|
|
104
|
-
top: 2px;
|
|
105
|
-
}
|
|
106
106
|
|
|
107
107
|
duet-paragraph::part(duet-paragraph) {
|
|
108
108
|
word-break: break-word;
|
|
@@ -113,19 +113,95 @@ duet-editable-table tfoot {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.upload-bottom-caption {
|
|
116
|
-
margin-
|
|
116
|
+
margin-top: 12px;
|
|
117
|
+
margin-bottom: 28px;
|
|
117
118
|
}
|
|
118
119
|
|
|
119
|
-
.
|
|
120
|
-
display:
|
|
120
|
+
.items-header {
|
|
121
|
+
display: none;
|
|
121
122
|
flex-direction: row;
|
|
122
123
|
}
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
@media (min-width: 36em) {
|
|
125
|
+
.items-header {
|
|
126
|
+
display: flex;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
.items-header:not(:last-child), .items-header:not(:first-child) {
|
|
130
|
+
margin-top: 12px;
|
|
131
|
+
}
|
|
132
|
+
.items-header .category-header {
|
|
133
|
+
width: 35%;
|
|
134
|
+
}
|
|
135
|
+
.items-header .filename-header {
|
|
136
|
+
width: 65%;
|
|
137
|
+
}
|
|
138
|
+
.items-header .filename-header.no-category {
|
|
139
|
+
width: 100%;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.upload-item-row {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
gap: 10px;
|
|
146
|
+
align-content: center;
|
|
147
|
+
align-items: center;
|
|
148
|
+
padding: 16px 0 16px 0;
|
|
149
|
+
border-bottom: 1px solid rgb(225, 227, 230);
|
|
150
|
+
}
|
|
151
|
+
@media (min-width: 36em) {
|
|
152
|
+
.upload-item-row {
|
|
153
|
+
flex-direction: row;
|
|
154
|
+
}
|
|
125
155
|
}
|
|
126
|
-
.
|
|
127
|
-
|
|
156
|
+
.upload-item-row .item-categories {
|
|
157
|
+
width: 100%;
|
|
128
158
|
}
|
|
129
|
-
|
|
130
|
-
|
|
159
|
+
@media (min-width: 36em) {
|
|
160
|
+
.upload-item-row .item-categories {
|
|
161
|
+
width: 35%;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
.upload-item-row .item-name {
|
|
165
|
+
position: relative;
|
|
166
|
+
bottom: 2px;
|
|
167
|
+
width: 100%;
|
|
168
|
+
text-align: left;
|
|
169
|
+
}
|
|
170
|
+
@media (min-width: 36em) {
|
|
171
|
+
.upload-item-row .item-name {
|
|
172
|
+
width: 50%;
|
|
173
|
+
}
|
|
174
|
+
.upload-item-row .item-name.no-category {
|
|
175
|
+
width: 85%;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
.upload-item-row .item-categories .heading,
|
|
179
|
+
.upload-item-row .item-name .heading {
|
|
180
|
+
display: block;
|
|
181
|
+
}
|
|
182
|
+
@media (min-width: 36em) {
|
|
183
|
+
.upload-item-row .item-categories .heading,
|
|
184
|
+
.upload-item-row .item-name .heading {
|
|
185
|
+
display: none;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
.upload-item-row .item-actions {
|
|
189
|
+
width: 100%;
|
|
190
|
+
padding-top: 6px;
|
|
191
|
+
text-align: left;
|
|
192
|
+
}
|
|
193
|
+
@media (min-width: 36em) {
|
|
194
|
+
.upload-item-row .item-actions {
|
|
195
|
+
width: 15%;
|
|
196
|
+
padding-top: 0;
|
|
197
|
+
text-align: right;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
.upload-item-row .duet-upload-item-name duet-icon {
|
|
201
|
+
position: relative;
|
|
202
|
+
top: 4px;
|
|
203
|
+
}
|
|
204
|
+
.upload-item-row .duet-upload-item-name duet-progress {
|
|
205
|
+
display: block;
|
|
206
|
+
margin-top: 16px;
|
|
131
207
|
}
|