@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
|
@@ -5,7 +5,7 @@ import { Build, h, Host, } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { debounce } from "../../utils/js-utils";
|
|
7
7
|
import { isArrowDownKey, isArrowUpKey, isEnterKey, isEscapeKey, isTabKey } from "../../utils/keyboard-utils";
|
|
8
|
-
import { getLanguage, getLocaleString } from "../../utils/language-utils";
|
|
8
|
+
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
9
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
10
10
|
import { DuetComboBoxSelect } from "./duet-combobox-select";
|
|
11
11
|
export class DuetCombobox {
|
|
@@ -26,6 +26,7 @@ export class DuetCombobox {
|
|
|
26
26
|
this.listOpen = false;
|
|
27
27
|
this.selectedItems = new Set();
|
|
28
28
|
this.activeItem = undefined;
|
|
29
|
+
this.language = getLanguage();
|
|
29
30
|
this.accessibleLabelDefaults = {
|
|
30
31
|
en: {
|
|
31
32
|
heading: "Select:",
|
|
@@ -56,6 +57,12 @@ export class DuetCombobox {
|
|
|
56
57
|
activeItemHandler(state) {
|
|
57
58
|
this.input.accessibleActiveDescendant = this.listOpen && (state || state === 0) ? `active_item` : "";
|
|
58
59
|
}
|
|
60
|
+
watchLanguageStateHandler(newValue, oldValue) {
|
|
61
|
+
if (newValue !== oldValue &&
|
|
62
|
+
this.accessibleLabels === getLocaleString(parsePossibleJSON(this.accessibleLabelDefaults), oldValue)) {
|
|
63
|
+
this.accessibleLabels = getLocaleString(parsePossibleJSON(this.accessibleLabelDefaults), newValue);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
59
66
|
handleDocumentClick(e) {
|
|
60
67
|
//we want to remove all user text if they have NOT selected from the dropdown
|
|
61
68
|
const path = e.composedPath();
|
|
@@ -94,6 +101,7 @@ export class DuetCombobox {
|
|
|
94
101
|
}
|
|
95
102
|
});
|
|
96
103
|
this.element.addEventListener("keydown", this.handleInputKeyDownEvent.bind(this));
|
|
104
|
+
connectLanguageChangeObserver(this);
|
|
97
105
|
//add correct aria attributes to the input element
|
|
98
106
|
this.input.accessibleAutocomplete = "list";
|
|
99
107
|
this.input.accessibleControls = "duet-combobox-list-element";
|
|
@@ -109,6 +117,7 @@ export class DuetCombobox {
|
|
|
109
117
|
e.stopPropagation();
|
|
110
118
|
});
|
|
111
119
|
this.resizeObserver.disconnect();
|
|
120
|
+
disconnectLanguageChangeObserver(this);
|
|
112
121
|
}
|
|
113
122
|
componentDidLoad() {
|
|
114
123
|
// observe resize events to dynamically adjust size of dropdown area
|
|
@@ -380,7 +389,7 @@ export class DuetCombobox {
|
|
|
380
389
|
},
|
|
381
390
|
"accessibleLabels": {
|
|
382
391
|
"type": "unknown",
|
|
383
|
-
"mutable":
|
|
392
|
+
"mutable": true,
|
|
384
393
|
"complexType": {
|
|
385
394
|
"original": "Record<string, string>",
|
|
386
395
|
"resolved": "{ [x: string]: string; }",
|
|
@@ -468,7 +477,7 @@ export class DuetCombobox {
|
|
|
468
477
|
"references": {
|
|
469
478
|
"DuetComboboxItem": {
|
|
470
479
|
"location": "local",
|
|
471
|
-
"path": "/Users/
|
|
480
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-combobox/duet-combobox.tsx"
|
|
472
481
|
}
|
|
473
482
|
}
|
|
474
483
|
},
|
|
@@ -567,7 +576,8 @@ export class DuetCombobox {
|
|
|
567
576
|
"selectionMsg": {},
|
|
568
577
|
"listOpen": {},
|
|
569
578
|
"selectedItems": {},
|
|
570
|
-
"activeItem": {}
|
|
579
|
+
"activeItem": {},
|
|
580
|
+
"language": {}
|
|
571
581
|
};
|
|
572
582
|
}
|
|
573
583
|
static get events() {
|
|
@@ -587,7 +597,7 @@ export class DuetCombobox {
|
|
|
587
597
|
"references": {
|
|
588
598
|
"DuetComboboxEvent": {
|
|
589
599
|
"location": "local",
|
|
590
|
-
"path": "/Users/
|
|
600
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-combobox/duet-combobox.tsx"
|
|
591
601
|
}
|
|
592
602
|
}
|
|
593
603
|
}
|
|
@@ -611,7 +621,7 @@ export class DuetCombobox {
|
|
|
611
621
|
},
|
|
612
622
|
"DuetComboboxItem": {
|
|
613
623
|
"location": "local",
|
|
614
|
-
"path": "/Users/
|
|
624
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-combobox/duet-combobox.tsx"
|
|
615
625
|
}
|
|
616
626
|
},
|
|
617
627
|
"return": "Promise<string>"
|
|
@@ -631,6 +641,9 @@ export class DuetCombobox {
|
|
|
631
641
|
return [{
|
|
632
642
|
"propName": "activeItem",
|
|
633
643
|
"methodName": "activeItemHandler"
|
|
644
|
+
}, {
|
|
645
|
+
"propName": "language",
|
|
646
|
+
"methodName": "watchLanguageStateHandler"
|
|
634
647
|
}];
|
|
635
648
|
}
|
|
636
649
|
static get listeners() {
|
|
@@ -99,7 +99,7 @@ export class DuetCookieConsent {
|
|
|
99
99
|
"references": {
|
|
100
100
|
"DuetCookieConsentEvent": {
|
|
101
101
|
"location": "local",
|
|
102
|
-
"path": "/Users/
|
|
102
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-cookie-consent/duet-cookie-consent.tsx"
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -755,7 +755,7 @@ export class DuetDatePicker {
|
|
|
755
755
|
"references": {
|
|
756
756
|
"DuetDatePickerDirection": {
|
|
757
757
|
"location": "local",
|
|
758
|
-
"path": "/Users/
|
|
758
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-date-picker/duet-date-picker.tsx"
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
},
|
|
@@ -927,7 +927,7 @@ export class DuetDatePicker {
|
|
|
927
927
|
"references": {
|
|
928
928
|
"DuetDatePickerChangeEvent": {
|
|
929
929
|
"location": "local",
|
|
930
|
-
"path": "/Users/
|
|
930
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-date-picker/duet-date-picker.tsx"
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
933
|
}
|
|
@@ -947,7 +947,7 @@ export class DuetDatePicker {
|
|
|
947
947
|
"references": {
|
|
948
948
|
"DuetDatePickerFocusEvent": {
|
|
949
949
|
"location": "local",
|
|
950
|
-
"path": "/Users/
|
|
950
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-date-picker/duet-date-picker.tsx"
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
953
|
}
|
|
@@ -967,7 +967,7 @@ export class DuetDatePicker {
|
|
|
967
967
|
"references": {
|
|
968
968
|
"DuetDatePickerFocusEvent": {
|
|
969
969
|
"location": "local",
|
|
970
|
-
"path": "/Users/
|
|
970
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-date-picker/duet-date-picker.tsx"
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
973
|
}
|
|
@@ -75,7 +75,7 @@ export class DuetDivider {
|
|
|
75
75
|
"references": {
|
|
76
76
|
"DuetDividerMargin": {
|
|
77
77
|
"location": "local",
|
|
78
|
-
"path": "/Users/
|
|
78
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-divider/duet-divider.tsx"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
},
|
|
@@ -5,7 +5,7 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
import { fieldSorter } from "../../utils/js-utils";
|
|
7
7
|
import { isKeyboardClick } from "../../utils/keyboard-utils";
|
|
8
|
-
import { getLocaleString } from "../../utils/language-utils";
|
|
8
|
+
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
9
|
import { TableData } from "./duet-editable-table-tabledata";
|
|
10
10
|
export class DuetEditableTable {
|
|
11
11
|
constructor() {
|
|
@@ -41,6 +41,7 @@ export class DuetEditableTable {
|
|
|
41
41
|
this.toggleColumn(column, e);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
+
this.language = getLanguage();
|
|
44
45
|
this.margin = "auto";
|
|
45
46
|
this.variation = "striped";
|
|
46
47
|
this.sticky = false;
|
|
@@ -63,6 +64,12 @@ export class DuetEditableTable {
|
|
|
63
64
|
this.hasHeadSlotFirst = !!this.element.querySelector("[slot='thead-first']");
|
|
64
65
|
this.hasHeadSlotLast = !!this.element.querySelector("[slot='thead-last']");
|
|
65
66
|
}
|
|
67
|
+
connectedCallback() {
|
|
68
|
+
connectLanguageChangeObserver(this);
|
|
69
|
+
}
|
|
70
|
+
disconnectedCallback() {
|
|
71
|
+
disconnectLanguageChangeObserver(this);
|
|
72
|
+
}
|
|
66
73
|
createLabel(column) {
|
|
67
74
|
const { sort_order, direction, index, label } = column;
|
|
68
75
|
const i18nLabel = getLocaleString(label);
|
|
@@ -81,7 +88,7 @@ export class DuetEditableTable {
|
|
|
81
88
|
}
|
|
82
89
|
return "action-subtract-small";
|
|
83
90
|
};
|
|
84
|
-
return (h("span", { class: "duet-table-label", "data-index": index }, h("duet-button", { size: "small", icon: getButtonIcon(), "icon-size": "medium-small", "accessible-label":
|
|
91
|
+
return (h("span", { class: "duet-table-label", "data-index": index }, h("duet-button", { size: "small", icon: getButtonIcon(), "icon-size": "medium-small", "accessible-label": this.sortableDefaultLabel[this.language], variation: "plain", margin: "none", "icon-right": true, onClick: event => this.toggleColumn(column, event), onKeyDown: event => this.handleKeyDown(column, event) }, i18nLabel)));
|
|
85
92
|
}
|
|
86
93
|
getSortedColumns() {
|
|
87
94
|
//create a new array from sort instead of mutating original
|
|
@@ -110,7 +117,7 @@ export class DuetEditableTable {
|
|
|
110
117
|
const label = this.createLabel(column);
|
|
111
118
|
return label !== "" ? h("th", { scope: "col" }, label) : h("td", null);
|
|
112
119
|
}
|
|
113
|
-
}), this.actions && (h("th", { scope: "col", class: "duet-table-action-header-heading" }, this.actions && h("duet-visually-hidden", null,
|
|
120
|
+
}), this.actions && (h("th", { scope: "col", class: "duet-table-action-header-heading" }, this.actions && h("duet-visually-hidden", null, this.actionColumnLabel[this.language])))));
|
|
114
121
|
}
|
|
115
122
|
renderActions(rowItem, index) {
|
|
116
123
|
// escape early
|
|
@@ -261,7 +268,7 @@ export class DuetEditableTable {
|
|
|
261
268
|
"mutable": false,
|
|
262
269
|
"complexType": {
|
|
263
270
|
"original": "DuetTableBreakpoint",
|
|
264
|
-
"resolved": "\"large\" | \"medium\" | \"none\" | \"none-scrollable\" | \"small\" | \"x-large\" | \"xx-large\" | \"xxx-large\"",
|
|
271
|
+
"resolved": "\"large\" | \"medium\" | \"none\" | \"none-scrollable\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\" | \"xxx-large\" | \"xxx-small\"",
|
|
265
272
|
"references": {
|
|
266
273
|
"DuetTableBreakpoint": {
|
|
267
274
|
"location": "import",
|
|
@@ -288,7 +295,7 @@ export class DuetEditableTable {
|
|
|
288
295
|
"references": {
|
|
289
296
|
"DuetEditableTableActions": {
|
|
290
297
|
"location": "local",
|
|
291
|
-
"path": "/Users/
|
|
298
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx"
|
|
292
299
|
}
|
|
293
300
|
}
|
|
294
301
|
},
|
|
@@ -312,7 +319,7 @@ export class DuetEditableTable {
|
|
|
312
319
|
"references": {
|
|
313
320
|
"DuetEditableTableColumns": {
|
|
314
321
|
"location": "local",
|
|
315
|
-
"path": "/Users/
|
|
322
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx"
|
|
316
323
|
}
|
|
317
324
|
}
|
|
318
325
|
},
|
|
@@ -336,7 +343,7 @@ export class DuetEditableTable {
|
|
|
336
343
|
"references": {
|
|
337
344
|
"DuetEditableTableRows": {
|
|
338
345
|
"location": "local",
|
|
339
|
-
"path": "/Users/
|
|
346
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx"
|
|
340
347
|
}
|
|
341
348
|
}
|
|
342
349
|
},
|
|
@@ -448,6 +455,11 @@ export class DuetEditableTable {
|
|
|
448
455
|
}
|
|
449
456
|
};
|
|
450
457
|
}
|
|
458
|
+
static get states() {
|
|
459
|
+
return {
|
|
460
|
+
"language": {}
|
|
461
|
+
};
|
|
462
|
+
}
|
|
451
463
|
static get events() {
|
|
452
464
|
return [{
|
|
453
465
|
"method": "duetTableToggle",
|
|
@@ -465,7 +477,7 @@ export class DuetEditableTable {
|
|
|
465
477
|
"references": {
|
|
466
478
|
"DuetTableToggleEvent": {
|
|
467
479
|
"location": "local",
|
|
468
|
-
"path": "/Users/
|
|
480
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx"
|
|
469
481
|
}
|
|
470
482
|
}
|
|
471
483
|
}
|
|
@@ -485,7 +497,7 @@ export class DuetEditableTable {
|
|
|
485
497
|
"references": {
|
|
486
498
|
"DuetTableMenuEvent": {
|
|
487
499
|
"location": "local",
|
|
488
|
-
"path": "/Users/
|
|
500
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-editable-table/duet-editable-table.tsx"
|
|
489
501
|
}
|
|
490
502
|
}
|
|
491
503
|
}
|
|
@@ -95,7 +95,7 @@ export class DuetEmptyState {
|
|
|
95
95
|
"references": {
|
|
96
96
|
"DuetEmptyStateSize": {
|
|
97
97
|
"location": "local",
|
|
98
|
-
"path": "/Users/
|
|
98
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-empty-state/duet-empty-state.tsx"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
|
@@ -160,7 +160,7 @@ export class DuetFooter {
|
|
|
160
160
|
"references": {
|
|
161
161
|
"DuetFooterVariation": {
|
|
162
162
|
"location": "local",
|
|
163
|
-
"path": "/Users/
|
|
163
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-footer/duet-footer.tsx"
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
},
|
|
@@ -354,7 +354,7 @@ export class DuetFooter {
|
|
|
354
354
|
"references": {
|
|
355
355
|
"DuetFooterChangeEvent": {
|
|
356
356
|
"location": "local",
|
|
357
|
-
"path": "/Users/
|
|
357
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-footer/duet-footer.tsx"
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
}
|
|
@@ -374,7 +374,7 @@ export class DuetFooter {
|
|
|
374
374
|
"references": {
|
|
375
375
|
"DuetFooterChangeEvent": {
|
|
376
376
|
"location": "local",
|
|
377
|
-
"path": "/Users/
|
|
377
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-footer/duet-footer.tsx"
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
}
|
|
@@ -394,7 +394,7 @@ export class DuetFooter {
|
|
|
394
394
|
"references": {
|
|
395
395
|
"DuetFooterChangeEvent": {
|
|
396
396
|
"location": "local",
|
|
397
|
-
"path": "/Users/
|
|
397
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-footer/duet-footer.tsx"
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
}
|
|
@@ -414,7 +414,7 @@ export class DuetFooter {
|
|
|
414
414
|
"references": {
|
|
415
415
|
"DuetFooterChangeEvent": {
|
|
416
416
|
"location": "local",
|
|
417
|
-
"path": "/Users/
|
|
417
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-footer/duet-footer.tsx"
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
}
|
|
@@ -434,7 +434,7 @@ export class DuetFooter {
|
|
|
434
434
|
"references": {
|
|
435
435
|
"DuetFooterAnalyticsEvent": {
|
|
436
436
|
"location": "local",
|
|
437
|
-
"path": "/Users/
|
|
437
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-footer/duet-footer.tsx"
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
}
|
|
@@ -454,7 +454,7 @@ export class DuetFooter {
|
|
|
454
454
|
"references": {
|
|
455
455
|
"DuetFooterChangeEvent": {
|
|
456
456
|
"location": "local",
|
|
457
|
-
"path": "/Users/
|
|
457
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-footer/duet-footer.tsx"
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
}
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
:host(.duet-grid-breakpoint-x-small) {
|
|
20
20
|
flex-direction: row !important;
|
|
21
21
|
}
|
|
22
|
+
:host(.duet-grid-breakpoint-x-small).duet-grid-row-reverse {
|
|
23
|
+
flex-direction: row-reverse !important;
|
|
24
|
+
}
|
|
22
25
|
@media (max-width: 22.5em) {
|
|
23
26
|
:host(.duet-grid-breakpoint-x-small) {
|
|
24
27
|
flex-direction: column !important;
|
|
@@ -29,24 +32,36 @@
|
|
|
29
32
|
:host(.duet-grid-breakpoint-small) {
|
|
30
33
|
flex-direction: row !important;
|
|
31
34
|
}
|
|
35
|
+
:host(.duet-grid-breakpoint-small).duet-grid-row-reverse {
|
|
36
|
+
flex-direction: row-reverse !important;
|
|
37
|
+
}
|
|
32
38
|
}
|
|
33
39
|
|
|
34
40
|
@media (min-width: 48em) {
|
|
35
41
|
:host(.duet-grid-breakpoint-medium) {
|
|
36
42
|
flex-direction: row !important;
|
|
37
43
|
}
|
|
44
|
+
:host(.duet-grid-breakpoint-medium).duet-grid-row-reverse {
|
|
45
|
+
flex-direction: row-reverse !important;
|
|
46
|
+
}
|
|
38
47
|
}
|
|
39
48
|
|
|
40
49
|
@media (min-width: 62em) {
|
|
41
50
|
:host(.duet-grid-breakpoint-large) {
|
|
42
51
|
flex-direction: row !important;
|
|
43
52
|
}
|
|
53
|
+
:host(.duet-grid-breakpoint-large).duet-grid-row-reverse {
|
|
54
|
+
flex-direction: row-reverse !important;
|
|
55
|
+
}
|
|
44
56
|
}
|
|
45
57
|
|
|
46
58
|
@media (min-width: 64.0625em) {
|
|
47
59
|
:host(.duet-grid-breakpoint-x-large) {
|
|
48
60
|
flex-direction: row !important;
|
|
49
61
|
}
|
|
62
|
+
:host(.duet-grid-breakpoint-x-large).duet-grid-row-reverse {
|
|
63
|
+
flex-direction: row-reverse !important;
|
|
64
|
+
}
|
|
50
65
|
}
|
|
51
66
|
|
|
52
67
|
:host(.duet-grid-wrap) {
|
|
@@ -56,6 +71,9 @@
|
|
|
56
71
|
:host(.duet-no-stacking) {
|
|
57
72
|
flex-direction: row !important;
|
|
58
73
|
}
|
|
74
|
+
:host(.duet-no-stacking).duet-grid-row-reverse {
|
|
75
|
+
flex-direction: row-reverse !important;
|
|
76
|
+
}
|
|
59
77
|
|
|
60
78
|
:host(.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {
|
|
61
79
|
flex-direction: column !important;
|
|
@@ -18,6 +18,7 @@ export class DuetGrid {
|
|
|
18
18
|
this.responsive = false;
|
|
19
19
|
this.breakpoint = "small";
|
|
20
20
|
this.direction = "horizontal";
|
|
21
|
+
this.rowReverse = false;
|
|
21
22
|
this.alignment = "top";
|
|
22
23
|
this.distribution = "default";
|
|
23
24
|
this.mobile = "";
|
|
@@ -85,6 +86,7 @@ export class DuetGrid {
|
|
|
85
86
|
items.forEach(item => {
|
|
86
87
|
item.responsive = this.responsive;
|
|
87
88
|
item.breakpoint = this.breakpoint;
|
|
89
|
+
item.direction = this.direction;
|
|
88
90
|
});
|
|
89
91
|
}
|
|
90
92
|
async updateGridItemsWithInputFields() {
|
|
@@ -139,6 +141,7 @@ export class DuetGrid {
|
|
|
139
141
|
"duet-grid-breakpoint-medium": this.breakpoint === "medium",
|
|
140
142
|
"duet-grid-breakpoint-large": this.breakpoint === "large",
|
|
141
143
|
"duet-grid-breakpoint-x-large": this.breakpoint === "x-large",
|
|
144
|
+
"duet-grid-row-reverse": this.rowReverse,
|
|
142
145
|
} }));
|
|
143
146
|
}
|
|
144
147
|
static get is() { return "duet-grid"; }
|
|
@@ -219,6 +222,24 @@ export class DuetGrid {
|
|
|
219
222
|
"reflect": false,
|
|
220
223
|
"defaultValue": "\"horizontal\""
|
|
221
224
|
},
|
|
225
|
+
"rowReverse": {
|
|
226
|
+
"type": "boolean",
|
|
227
|
+
"mutable": false,
|
|
228
|
+
"complexType": {
|
|
229
|
+
"original": "boolean",
|
|
230
|
+
"resolved": "boolean",
|
|
231
|
+
"references": {}
|
|
232
|
+
},
|
|
233
|
+
"required": false,
|
|
234
|
+
"optional": false,
|
|
235
|
+
"docs": {
|
|
236
|
+
"tags": [],
|
|
237
|
+
"text": "Reverse the order of the grid items when horizontal. Usefull when we want the primary item\nto be on bottom right on desktop, but on top on mobile and the first for screen readers."
|
|
238
|
+
},
|
|
239
|
+
"attribute": "row-reverse",
|
|
240
|
+
"reflect": false,
|
|
241
|
+
"defaultValue": "false"
|
|
242
|
+
},
|
|
222
243
|
"alignment": {
|
|
223
244
|
"type": "string",
|
|
224
245
|
"mutable": false,
|
|
@@ -228,7 +249,7 @@ export class DuetGrid {
|
|
|
228
249
|
"references": {
|
|
229
250
|
"DuetGridAlignment": {
|
|
230
251
|
"location": "local",
|
|
231
|
-
"path": "/Users/
|
|
252
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-grid/duet-grid.tsx"
|
|
232
253
|
}
|
|
233
254
|
}
|
|
234
255
|
},
|
|
@@ -251,7 +272,7 @@ export class DuetGrid {
|
|
|
251
272
|
"references": {
|
|
252
273
|
"DuetGridDistribution": {
|
|
253
274
|
"location": "local",
|
|
254
|
-
"path": "/Users/
|
|
275
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-grid/duet-grid.tsx"
|
|
255
276
|
}
|
|
256
277
|
}
|
|
257
278
|
},
|
|
@@ -274,7 +295,7 @@ export class DuetGrid {
|
|
|
274
295
|
"references": {
|
|
275
296
|
"DuetGridMobileAlignment": {
|
|
276
297
|
"location": "local",
|
|
277
|
-
"path": "/Users/
|
|
298
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-grid/duet-grid.tsx"
|
|
278
299
|
}
|
|
279
300
|
}
|
|
280
301
|
},
|
|
@@ -303,6 +324,9 @@ export class DuetGrid {
|
|
|
303
324
|
}, {
|
|
304
325
|
"propName": "breakpoint",
|
|
305
326
|
"methodName": "updateGridItems"
|
|
327
|
+
}, {
|
|
328
|
+
"propName": "direction",
|
|
329
|
+
"methodName": "updateGridItems"
|
|
306
330
|
}];
|
|
307
331
|
}
|
|
308
332
|
}
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
line-height: 1.5;
|
|
21
21
|
color: rgb(0, 41, 77);
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
:host(.duet-grid-direction-horizontal):first-child, :host(.duet-grid-direction-horizontal):first-of-type {
|
|
24
25
|
padding-left: 0;
|
|
25
26
|
}
|
|
26
|
-
:host:last-child, :host:last-of-type {
|
|
27
|
+
:host(.duet-grid-direction-horizontal):last-child, :host(.duet-grid-direction-horizontal):last-of-type {
|
|
27
28
|
padding-right: 0;
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -11,6 +11,7 @@ export class DuetGridItem {
|
|
|
11
11
|
this.theme = "";
|
|
12
12
|
this.margin = "auto";
|
|
13
13
|
this.responsive = false;
|
|
14
|
+
this.direction = "horizontal";
|
|
14
15
|
this.breakpoint = "small";
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
@@ -33,7 +34,12 @@ export class DuetGridItem {
|
|
|
33
34
|
"duet-grid-item": true,
|
|
34
35
|
"duet-grid-item-fill": this.fill,
|
|
35
36
|
"duet-grid-item-responsive": this.responsive,
|
|
37
|
+
"duet-grid-direction-horizontal": this.direction === "horizontal",
|
|
38
|
+
"duet-grid-direction-vertical": this.direction === "vertical",
|
|
39
|
+
"duet-grid-item-br-x-small": this.breakpoint === "x-small",
|
|
40
|
+
"duet-grid-item-br-small": this.breakpoint === "small",
|
|
36
41
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
42
|
+
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
37
43
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
38
44
|
} }));
|
|
39
45
|
}
|
|
@@ -170,6 +176,32 @@ export class DuetGridItem {
|
|
|
170
176
|
"reflect": false,
|
|
171
177
|
"defaultValue": "false"
|
|
172
178
|
},
|
|
179
|
+
"direction": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"mutable": false,
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "DuetDirection",
|
|
184
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
185
|
+
"references": {
|
|
186
|
+
"DuetDirection": {
|
|
187
|
+
"location": "import",
|
|
188
|
+
"path": "../../common-types"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"required": false,
|
|
193
|
+
"optional": false,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [{
|
|
196
|
+
"name": "internal",
|
|
197
|
+
"text": "Direction of the grid items.\nThis property is used internally by Grid, and should not be set by the developer."
|
|
198
|
+
}],
|
|
199
|
+
"text": ""
|
|
200
|
+
},
|
|
201
|
+
"attribute": "direction",
|
|
202
|
+
"reflect": false,
|
|
203
|
+
"defaultValue": "\"horizontal\""
|
|
204
|
+
},
|
|
173
205
|
"breakpoint": {
|
|
174
206
|
"type": "string",
|
|
175
207
|
"mutable": false,
|