@duetds/components 6.8.2 → 6.8.4
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 +407 -86
- package/lib/cjs/duet-action-button.cjs.entry.js +11 -2
- package/lib/cjs/duet-alert.cjs.entry.js +14 -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 +9 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +15 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +22 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +15 -3
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- 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 +14 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +11 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +17 -4
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +7 -1
- package/lib/cjs/duet-modal.cjs.entry.js +12 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -4
- 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 +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +9 -2
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +9 -3
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +37 -9
- package/lib/cjs/duet-slideout.cjs.entry.js +48 -9
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +13 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +31 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +12 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +42 -4
- 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 +11 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +17 -4
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-65c3a6dd.js → focus-utils-1cfcd199.js} +1 -1
- package/lib/cjs/{index-5bd185a8.js → index-ab015402.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +38 -3
- package/lib/collection/components/duet-alert/duet-alert.js +21 -4
- package/lib/collection/components/duet-button/duet-button.js +27 -12
- 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 +33 -11
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +1 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +3 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +23 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -9
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +26 -12
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +20 -3
- package/lib/collection/components/duet-list/duet-list.js +4 -4
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +17 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +7 -0
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +7 -0
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +41 -2
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -0
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +9 -1
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +7 -0
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +19 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +6 -6
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-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 +6 -4
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-slideout/duet-slideout.css +14 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +81 -7
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +14 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +7 -0
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +1 -1
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -0
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +63 -8
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +8 -1
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +33 -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 +7 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +71 -2
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +41 -8
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +73 -3
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +30 -0
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +29 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +54 -0
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +28 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +8 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -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-toolbar-dropdown/duet-toolbar-dropdown.css +7 -0
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +41 -2
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +7 -0
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +9 -1
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +7 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +4 -1
- package/lib/collection/components/duet-upload/duet-upload.js +13 -13
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +7 -7
- package/lib/dist-custom-elements/duet-choice.js +28 -9
- package/lib/dist-custom-elements/duet-collapsible.js +6 -3
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +26 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +1 -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 +20 -8
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +12 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +20 -6
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +9 -3
- package/lib/dist-custom-elements/duet-modal.js +20 -10
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-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 +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +9 -7
- 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 +14 -12
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +12 -5
- package/lib/dist-custom-elements/duet-slideout-panel.js +41 -11
- package/lib/dist-custom-elements/duet-slideout.js +51 -11
- 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 +15 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +35 -7
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +14 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +46 -6
- package/lib/dist-custom-elements/duet-tab-group.js +10 -10
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +12 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +20 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- 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-a4002a4d.js → p-03f5e1df.js} +1 -1
- package/lib/dist-custom-elements/{p-6b444ad0.js → p-104dae34.js} +21 -7
- package/lib/dist-custom-elements/{p-df0799f0.js → p-139ccc08.js} +1 -1
- package/lib/dist-custom-elements/{p-a1c07138.js → p-14fe8052.js} +1 -1
- package/lib/dist-custom-elements/{p-b239c17f.js → p-17a5bfd6.js} +2 -2
- package/lib/dist-custom-elements/{p-5881ed64.js → p-1b6d9683.js} +1 -1
- package/lib/dist-custom-elements/{p-17f54d13.js → p-21ae30e5.js} +20 -6
- package/lib/dist-custom-elements/{p-c828fba6.js → p-258d095f.js} +1 -1
- package/lib/dist-custom-elements/{p-84465a50.js → p-2b8d110c.js} +1 -1
- package/lib/dist-custom-elements/{p-d0a59e71.js → p-43901e47.js} +1 -1
- package/lib/dist-custom-elements/{p-92a173c2.js → p-49026ea5.js} +1 -1
- package/lib/dist-custom-elements/{p-7ef0b13d.js → p-51be19a2.js} +1 -1
- package/lib/dist-custom-elements/{p-4040e9d1.js → p-5333970a.js} +1 -1
- package/lib/dist-custom-elements/{p-68b17599.js → p-6891c1b3.js} +2 -2
- package/lib/dist-custom-elements/{p-43f613b6.js → p-6c630da1.js} +1 -1
- package/lib/dist-custom-elements/{p-f070808d.js → p-7782af26.js} +2 -2
- package/lib/dist-custom-elements/{p-1e73f619.js → p-7cccb592.js} +6 -3
- package/lib/dist-custom-elements/{p-27004490.js → p-8a77e325.js} +1 -1
- package/lib/dist-custom-elements/{p-c6acb315.js → p-92135039.js} +2 -2
- package/lib/dist-custom-elements/{p-f2ee6981.js → p-a53cebf1.js} +1 -1
- package/lib/dist-custom-elements/{p-6c1ba2d9.js → p-a89fd096.js} +1 -1
- package/lib/dist-custom-elements/{p-4ebe6fca.js → p-a971f4cf.js} +7 -7
- package/lib/dist-custom-elements/{p-bd43e7e4.js → p-b2b89a56.js} +2 -2
- package/lib/dist-custom-elements/{p-f6dad5c3.js → p-bf71c608.js} +1 -1
- package/lib/dist-custom-elements/{p-015d1608.js → p-c05dc335.js} +1 -1
- package/lib/dist-custom-elements/{p-a3194fa3.js → p-c1d5b264.js} +8 -8
- package/lib/dist-custom-elements/{p-e76d5673.js → p-cd486ca1.js} +6 -6
- package/lib/dist-custom-elements/{p-7003023f.js → p-d3e697f4.js} +1 -1
- package/lib/dist-custom-elements/{p-2f7dd873.js → p-d4995343.js} +1 -1
- package/lib/dist-custom-elements/{p-35850774.js → p-e9e98c22.js} +1 -1
- package/lib/dist-custom-elements/{p-07f7b627.js → p-f41d4dba.js} +15 -5
- package/lib/dist-custom-elements/{p-b869fb52.js → p-fa93f54b.js} +15 -7
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-7f7f4403.system.entry.js → p-006cfe82.system.entry.js} +1 -1
- package/lib/duet/{p-6c05e879.js → p-076452be.js} +1 -1
- package/lib/duet/p-0769bfaa.system.entry.js +4 -0
- package/lib/duet/{p-c46a5357.js → p-0a64a5a4.js} +1 -1
- package/lib/duet/{p-df278f38.system.entry.js → p-0a79b874.system.entry.js} +1 -1
- package/lib/duet/{p-f2f38e08.system.entry.js → p-0a96cc2c.system.entry.js} +1 -1
- package/lib/duet/{p-2c4f8685.system.entry.js → p-0aac4192.system.entry.js} +1 -1
- package/lib/duet/p-0ec18f3b.system.entry.js +4 -0
- package/lib/duet/p-0ec5260f.system.entry.js +4 -0
- package/lib/duet/p-0f5b0e9a.entry.js +4 -0
- package/lib/duet/{p-346a2bd3.system.entry.js → p-0f7ab746.system.entry.js} +1 -1
- package/lib/duet/p-141234e3.entry.js +4 -0
- package/lib/duet/{p-e3dfa3fd.system.entry.js → p-142e0dd6.system.entry.js} +1 -1
- package/lib/duet/{p-68e640b3.system.entry.js → p-15346bb7.system.entry.js} +1 -1
- package/lib/duet/p-1578385a.system.entry.js +4 -0
- package/lib/duet/p-1835986d.system.entry.js +4 -0
- package/lib/duet/p-19deb8bb.entry.js +4 -0
- package/lib/duet/{p-0c17cc73.entry.js → p-1bdce03c.entry.js} +1 -1
- package/lib/duet/{p-353cdb52.entry.js → p-1c731783.entry.js} +1 -1
- package/lib/duet/{p-6dd1beb2.entry.js → p-207ad310.entry.js} +1 -1
- package/lib/duet/{p-1a769d18.entry.js → p-21f94254.entry.js} +1 -1
- package/lib/duet/{p-a7886626.system.entry.js → p-23500651.system.entry.js} +1 -1
- package/lib/duet/{p-7204d1fd.system.entry.js → p-238517b4.system.entry.js} +1 -1
- package/lib/duet/{p-42160f39.entry.js → p-25bf58d2.entry.js} +1 -1
- package/lib/duet/p-271e6527.entry.js +4 -0
- package/lib/duet/p-28b0eafe.entry.js +4 -0
- package/lib/duet/{p-d174f424.entry.js → p-2b6e9c34.entry.js} +1 -1
- package/lib/duet/{p-b457649c.entry.js → p-2b998d32.entry.js} +1 -1
- package/lib/duet/p-2b9c8a7d.entry.js +4 -0
- package/lib/duet/{p-0de14da6.system.entry.js → p-2b9fb222.system.entry.js} +1 -1
- package/lib/duet/{p-05b8ca0a.system.entry.js → p-2dafbb00.system.entry.js} +1 -1
- package/lib/duet/p-322c2769.entry.js +4 -0
- package/lib/duet/{p-c3caf728.js → p-32ba724d.js} +1 -1
- package/lib/duet/{p-ffa1f02e.system.entry.js → p-33a2e92d.system.entry.js} +1 -1
- package/lib/duet/p-3405c2df.entry.js +4 -0
- package/lib/duet/p-345381c1.entry.js +4 -0
- package/lib/duet/{p-d48d67bc.entry.js → p-3490b163.entry.js} +1 -1
- package/lib/duet/p-350bad81.system.entry.js +4 -0
- package/lib/duet/{p-d114fc82.entry.js → p-369661b2.entry.js} +1 -1
- package/lib/duet/p-39f8bec2.entry.js +4 -0
- package/lib/duet/{p-2c8c2eb0.entry.js → p-3b197740.entry.js} +1 -1
- package/lib/duet/{p-374e2afa.system.entry.js → p-3d2339ae.system.entry.js} +1 -1
- package/lib/duet/{p-f49afb80.system.entry.js → p-433085d5.system.entry.js} +1 -1
- package/lib/duet/p-45c55f88.system.entry.js +4 -0
- package/lib/duet/p-464e267f.system.js +4 -0
- package/lib/duet/{p-41bac23d.entry.js → p-4de46382.entry.js} +1 -1
- package/lib/duet/p-514e2f71.entry.js +4 -0
- package/lib/duet/p-5252d291.system.entry.js +4 -0
- package/lib/duet/p-52a0bf60.system.entry.js +4 -0
- package/lib/duet/{p-4d16edd4.system.entry.js → p-53d28f2b.system.entry.js} +1 -1
- package/lib/duet/p-545ca91e.system.entry.js +4 -0
- package/lib/duet/p-57824291.entry.js +4 -0
- package/lib/duet/{p-ae043b1a.entry.js → p-599dfb21.entry.js} +1 -1
- package/lib/duet/p-5aaee74b.entry.js +4 -0
- package/lib/duet/{p-d2a65bd0.system.entry.js → p-5b0b828a.system.entry.js} +1 -1
- package/lib/duet/p-5d3c68ad.system.entry.js +4 -0
- package/lib/duet/p-5daa0d26.system.entry.js +4 -0
- package/lib/duet/p-5dedf71b.entry.js +4 -0
- package/lib/duet/{p-582f45a6.entry.js → p-5f1e31c7.entry.js} +1 -1
- package/lib/duet/{p-b0a272b8.system.entry.js → p-5f5fae98.system.entry.js} +1 -1
- package/lib/duet/p-6597319a.entry.js +4 -0
- package/lib/duet/{p-70703d59.system.entry.js → p-6aa662f0.system.entry.js} +1 -1
- package/lib/duet/p-6b7be36b.entry.js +4 -0
- package/lib/duet/{p-e0a55532.entry.js → p-6c171fd9.entry.js} +1 -1
- package/lib/duet/p-6d99c12c.entry.js +4 -0
- package/lib/duet/{p-4a0eabaa.system.entry.js → p-6f930a32.system.entry.js} +1 -1
- package/lib/duet/p-71eda242.entry.js +4 -0
- package/lib/duet/{p-61b2a984.entry.js → p-73e2201d.entry.js} +1 -1
- package/lib/duet/{p-e48b3cb6.system.entry.js → p-76dabced.system.entry.js} +1 -1
- package/lib/duet/{p-a2fba110.system.entry.js → p-783530af.system.entry.js} +1 -1
- package/lib/duet/{p-08577b4d.entry.js → p-78b89180.entry.js} +1 -1
- package/lib/duet/{p-06639fa9.system.js → p-7adef50f.system.js} +1 -1
- package/lib/duet/p-8025514b.system.entry.js +4 -0
- package/lib/duet/{p-9e0534d6.entry.js → p-8085ad32.entry.js} +1 -1
- package/lib/duet/{p-484cb1df.entry.js → p-83ac5c6e.entry.js} +1 -1
- package/lib/duet/p-85053e56.system.entry.js +4 -0
- package/lib/duet/{p-aba0c851.system.entry.js → p-8661ddb0.system.entry.js} +1 -1
- package/lib/duet/{p-898b51f5.entry.js → p-86799457.entry.js} +1 -1
- package/lib/duet/{p-ef058a21.system.js → p-8684b2af.system.js} +1 -1
- package/lib/duet/p-886f3df1.system.entry.js +4 -0
- package/lib/duet/{p-2ed52ca0.system.entry.js → p-88d3cc5a.system.entry.js} +1 -1
- package/lib/duet/{p-0f50db76.entry.js → p-8aba8575.entry.js} +1 -1
- package/lib/duet/{p-61f38e7c.entry.js → p-8ada2a8a.entry.js} +1 -1
- package/lib/duet/{p-3f59ba68.entry.js → p-8c20f50a.entry.js} +1 -1
- package/lib/duet/p-8dc321a1.entry.js +4 -0
- package/lib/duet/{p-5e3a7392.system.entry.js → p-8de9a81e.system.entry.js} +1 -1
- package/lib/duet/{p-0b36298e.system.entry.js → p-8f7a04bc.system.entry.js} +1 -1
- package/lib/duet/{p-b1a9298f.entry.js → p-8fcd5734.entry.js} +1 -1
- package/lib/duet/p-9116af4f.entry.js +4 -0
- package/lib/duet/p-94c6c463.entry.js +4 -0
- package/lib/duet/{p-4e21a0e1.entry.js → p-994c33e2.entry.js} +1 -1
- package/lib/duet/{p-7b98e5b6.system.entry.js → p-9c456965.system.entry.js} +1 -1
- package/lib/duet/p-9eaee650.system.entry.js +4 -0
- package/lib/duet/{p-0cc7ecde.system.entry.js → p-a05666f0.system.entry.js} +1 -1
- package/lib/duet/p-a08a9752.entry.js +4 -0
- package/lib/duet/p-a4042d5b.system.entry.js +4 -0
- package/lib/duet/{p-654e6734.system.entry.js → p-a4f9eacd.system.entry.js} +1 -1
- package/lib/duet/{p-77e68564.entry.js → p-a7b1f336.entry.js} +1 -1
- package/lib/duet/p-ac37e21d.entry.js +4 -0
- package/lib/duet/p-ad983011.entry.js +4 -0
- package/lib/duet/p-aee5400b.system.entry.js +4 -0
- package/lib/duet/p-af47bd24.system.entry.js +4 -0
- package/lib/duet/{p-06e42ed2.system.entry.js → p-b16848d3.system.entry.js} +1 -1
- package/lib/duet/{p-c99c31f7.entry.js → p-b2ebc2e1.entry.js} +1 -1
- package/lib/duet/{p-04e7a695.system.entry.js → p-b3e57f17.system.entry.js} +1 -1
- package/lib/duet/{p-b32e5d04.system.entry.js → p-b59904ae.system.entry.js} +1 -1
- package/lib/duet/{p-5f6f8b70.entry.js → p-c17ad6a4.entry.js} +1 -1
- package/lib/duet/p-c32df4f2.system.entry.js +4 -0
- package/lib/duet/{p-e0273afd.system.entry.js → p-c46b2038.system.entry.js} +1 -1
- package/lib/duet/{p-f426cd26.system.entry.js → p-c6787142.system.entry.js} +1 -1
- package/lib/duet/{p-3646032b.entry.js → p-c8892cfa.entry.js} +1 -1
- package/lib/duet/{p-5b5238f6.system.entry.js → p-c8b3d426.system.entry.js} +1 -1
- package/lib/duet/{p-2ef88161.system.js → p-c8dc599d.system.js} +1 -1
- package/lib/duet/{p-6791f183.system.entry.js → p-ca4539ce.system.entry.js} +2 -2
- package/lib/duet/{p-1183c748.entry.js → p-ca8a79e7.entry.js} +1 -1
- package/lib/duet/{p-5f4a75ea.system.entry.js → p-ccbff327.system.entry.js} +1 -1
- package/lib/duet/p-cf33e4a4.entry.js +4 -0
- package/lib/duet/{p-aa4d6d89.entry.js → p-d27f9702.entry.js} +1 -1
- package/lib/duet/p-d65b676f.entry.js +4 -0
- package/lib/duet/{p-dc399de0.system.entry.js → p-d8769dca.system.entry.js} +1 -1
- package/lib/duet/p-daf3ccef.system.entry.js +4 -0
- package/lib/duet/{p-29413090.system.entry.js → p-db98a514.system.entry.js} +1 -1
- package/lib/duet/{p-3d2b012c.entry.js → p-dc8c7e0b.entry.js} +1 -1
- package/lib/duet/p-e0651eca.system.entry.js +4 -0
- package/lib/duet/{p-48ee2f44.entry.js → p-e4b73cff.entry.js} +1 -1
- package/lib/duet/{p-cd515231.entry.js → p-e829bf10.entry.js} +1 -1
- package/lib/duet/{p-24e47e60.system.entry.js → p-ec5ae55d.system.entry.js} +1 -1
- package/lib/duet/p-ec9d77cf.system.entry.js +4 -0
- package/lib/duet/p-f0384acb.entry.js +4 -0
- package/lib/duet/{p-642ab531.system.entry.js → p-f06940f6.system.entry.js} +2 -2
- package/lib/duet/{p-9e71007b.system.entry.js → p-f0ba21c3.system.entry.js} +1 -1
- package/lib/duet/p-f5e7e0a7.system.entry.js +4 -0
- package/lib/duet/p-f6f5032b.entry.js +4 -0
- package/lib/duet/p-f738d8e5.entry.js +4 -0
- package/lib/duet/{p-308907c6.entry.js → p-faaa35cf.entry.js} +1 -1
- package/lib/duet/{p-69617b20.entry.js → p-fb1b340d.entry.js} +1 -1
- package/lib/duet/{p-7c95a58b.system.entry.js → p-fc318998.system.entry.js} +1 -1
- package/lib/duet/p-fcca01e2.entry.js +4 -0
- package/lib/duet/{p-1878784a.entry.js → p-ffba3249.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +12 -3
- package/lib/esm/duet-alert.entry.js +15 -2
- 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 +2 -2
- package/lib/esm/duet-button_2.entry.js +10 -2
- package/lib/esm/duet-caption_4.entry.js +16 -2
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +23 -5
- package/lib/esm/duet-collapsible.entry.js +4 -2
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +16 -4
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +2 -2
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +15 -3
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +11 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +17 -4
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +7 -1
- package/lib/esm/duet-modal.entry.js +13 -3
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +7 -5
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +3 -3
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +10 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +9 -3
- package/lib/esm/duet-slideout-panel.entry.js +38 -10
- package/lib/esm/duet-slideout.entry.js +48 -9
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +13 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +31 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +12 -3
- package/lib/esm/duet-submenu-bar.entry.js +42 -4
- 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 +11 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +17 -4
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +5 -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-21a3a53d.js → focus-utils-5c277b1d.js} +1 -1
- package/lib/esm/{index-bcaee850.js → index-dc7d6b8d.js} +1 -1
- package/lib/esm/{language-utils-7b211f31.js → language-utils-6be16ff0.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
- 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-5c277b1d.js +4 -0
- package/lib/esm-es5/{index-bcaee850.js → index-dc7d6b8d.js} +1 -1
- package/lib/esm-es5/{language-utils-7b211f31.js → language-utils-6be16ff0.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +6 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +4 -1
- package/lib/types/components/duet-button/duet-button.d.ts +3 -2
- package/lib/types/components/duet-choice/duet-choice.d.ts +6 -2
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +3 -0
- package/lib/types/components/duet-footer/duet-footer.d.ts +3 -0
- package/lib/types/components/duet-link/duet-link.d.ts +3 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +3 -1
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +6 -0
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +1 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +2 -0
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +0 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +13 -1
- package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +4 -1
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +9 -1
- package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +5 -0
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +11 -0
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +10 -0
- package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +9 -0
- package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +5 -0
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +6 -0
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +1 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -0
- package/lib/types/components.d.ts +68 -4
- package/package.json +5 -5
- package/lib/duet/p-02f78e7e.entry.js +0 -4
- package/lib/duet/p-0936046f.system.entry.js +0 -4
- package/lib/duet/p-095c84a5.system.entry.js +0 -4
- package/lib/duet/p-0bc5e109.entry.js +0 -4
- package/lib/duet/p-14f3c696.system.entry.js +0 -4
- package/lib/duet/p-151a48c3.entry.js +0 -4
- package/lib/duet/p-151ed5e0.system.entry.js +0 -4
- package/lib/duet/p-181d4b35.entry.js +0 -4
- package/lib/duet/p-1dcbe259.entry.js +0 -4
- package/lib/duet/p-1e65e29d.system.entry.js +0 -4
- package/lib/duet/p-2020fc25.system.entry.js +0 -4
- package/lib/duet/p-28d28436.system.entry.js +0 -4
- package/lib/duet/p-28fabb76.entry.js +0 -4
- package/lib/duet/p-3815cc9a.entry.js +0 -4
- package/lib/duet/p-3c4d9930.system.entry.js +0 -4
- package/lib/duet/p-3e428087.entry.js +0 -4
- package/lib/duet/p-40411d3b.system.entry.js +0 -4
- package/lib/duet/p-4176d5a4.entry.js +0 -4
- package/lib/duet/p-488a4d3f.entry.js +0 -4
- package/lib/duet/p-498b7d6a.system.entry.js +0 -4
- package/lib/duet/p-50e66d06.entry.js +0 -4
- package/lib/duet/p-5bc052a4.entry.js +0 -4
- package/lib/duet/p-5db96ea2.system.entry.js +0 -4
- package/lib/duet/p-5fa09cdb.entry.js +0 -4
- package/lib/duet/p-61785e0b.system.entry.js +0 -4
- package/lib/duet/p-658283be.system.entry.js +0 -4
- package/lib/duet/p-6d4d5fc6.entry.js +0 -4
- package/lib/duet/p-727d0488.entry.js +0 -4
- package/lib/duet/p-72988da1.entry.js +0 -4
- package/lib/duet/p-746ea729.entry.js +0 -4
- package/lib/duet/p-78f118fb.entry.js +0 -4
- package/lib/duet/p-803ceb21.system.entry.js +0 -4
- package/lib/duet/p-86e6814a.entry.js +0 -4
- package/lib/duet/p-8b0d3fae.system.entry.js +0 -4
- package/lib/duet/p-97eeacac.entry.js +0 -4
- package/lib/duet/p-9e886ecf.entry.js +0 -4
- package/lib/duet/p-a1eb24b8.system.entry.js +0 -4
- package/lib/duet/p-a5689603.system.entry.js +0 -4
- package/lib/duet/p-a7edccbb.entry.js +0 -4
- package/lib/duet/p-a8bb4f37.entry.js +0 -4
- package/lib/duet/p-aeea9d49.system.entry.js +0 -4
- package/lib/duet/p-b75cdfc6.entry.js +0 -4
- package/lib/duet/p-b8a5580a.entry.js +0 -4
- package/lib/duet/p-b9eec94d.entry.js +0 -4
- package/lib/duet/p-c4c035fe.entry.js +0 -4
- package/lib/duet/p-c7b12a60.system.js +0 -4
- package/lib/duet/p-c954e200.system.entry.js +0 -4
- package/lib/duet/p-d719bc5b.system.entry.js +0 -4
- package/lib/duet/p-d8ccc12d.entry.js +0 -4
- package/lib/duet/p-ea17eb88.entry.js +0 -4
- package/lib/duet/p-ec7a79f2.system.entry.js +0 -4
- package/lib/duet/p-f3089cd4.system.entry.js +0 -4
- package/lib/duet/p-f3c7ffda.system.entry.js +0 -4
- package/lib/duet/p-f550f63a.system.entry.js +0 -4
- package/lib/duet/p-f5623ee8.entry.js +0 -4
- package/lib/esm-es5/focus-utils-21a3a53d.js +0 -4
|
@@ -76,6 +76,10 @@
|
|
|
76
76
|
font-size: 1.5rem;
|
|
77
77
|
font-weight: 800;
|
|
78
78
|
}
|
|
79
|
+
.duet-slideout-panel .link:focus {
|
|
80
|
+
outline: 0;
|
|
81
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
82
|
+
}
|
|
79
83
|
.duet-slideout-panel .link.active .label-text {
|
|
80
84
|
position: relative;
|
|
81
85
|
}
|
|
@@ -122,6 +126,11 @@
|
|
|
122
126
|
opacity: 1;
|
|
123
127
|
transition: top 0.3s ease-in, opacity 0.3s ease-in;
|
|
124
128
|
}
|
|
129
|
+
.duet-slideout-panel .top .back:focus,
|
|
130
|
+
.duet-slideout-panel .top .close:focus {
|
|
131
|
+
outline: 0;
|
|
132
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
133
|
+
}
|
|
125
134
|
.duet-slideout-panel .top duet-icon {
|
|
126
135
|
padding: 16px;
|
|
127
136
|
}
|
|
@@ -147,9 +156,16 @@
|
|
|
147
156
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
148
157
|
color: rgb(23, 28, 58);
|
|
149
158
|
}
|
|
159
|
+
.duet-slideout-panel.duet-theme-turva .link:focus {
|
|
160
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
161
|
+
}
|
|
150
162
|
.duet-slideout-panel.duet-theme-turva .link.active .label-text::after {
|
|
151
163
|
background: rgb(198, 12, 48);
|
|
152
164
|
}
|
|
165
|
+
.duet-slideout-panel.duet-theme-turva .top .back:focus,
|
|
166
|
+
.duet-slideout-panel.duet-theme-turva .top .close:focus {
|
|
167
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
168
|
+
}
|
|
153
169
|
.duet-slideout-panel.duet-theme-turva .top span {
|
|
154
170
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
155
171
|
color: rgb(23, 28, 58);
|
|
@@ -4,14 +4,19 @@
|
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
import { FocusGuard } from "../../utils/focus-utils";
|
|
7
|
-
import { getLocaleString } from "../../utils/language-utils";
|
|
7
|
+
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
8
8
|
import { getColorByName } from "../../utils/token-utils";
|
|
9
9
|
export class DuetSlideoutPanel {
|
|
10
10
|
constructor() {
|
|
11
11
|
this.exitLangObject = {
|
|
12
|
-
en: "Exit the
|
|
13
|
-
fi: "Poistu
|
|
14
|
-
sv: "
|
|
12
|
+
en: "Exit the menu",
|
|
13
|
+
fi: "Poistu valikosta",
|
|
14
|
+
sv: "Avsluta menyn",
|
|
15
|
+
};
|
|
16
|
+
this.backLangObject = {
|
|
17
|
+
en: "Back to main menu",
|
|
18
|
+
fi: "Takaisin päävalikkoon",
|
|
19
|
+
sv: "Tillbaka till huvudmenyn",
|
|
15
20
|
};
|
|
16
21
|
this.updateLabel = () => {
|
|
17
22
|
const labelSlotElement = this.element.querySelector("[slot='label']");
|
|
@@ -40,6 +45,7 @@ export class DuetSlideoutPanel {
|
|
|
40
45
|
}
|
|
41
46
|
};
|
|
42
47
|
this.label = undefined;
|
|
48
|
+
this.language = getLanguage();
|
|
43
49
|
this.theme = "";
|
|
44
50
|
this.active = false;
|
|
45
51
|
this.open = false;
|
|
@@ -54,6 +60,27 @@ export class DuetSlideoutPanel {
|
|
|
54
60
|
inheritGlobalTheme(this);
|
|
55
61
|
this.updateLabel();
|
|
56
62
|
}
|
|
63
|
+
connectedCallback() {
|
|
64
|
+
connectLanguageChangeObserver(this);
|
|
65
|
+
}
|
|
66
|
+
disconnectedCallback() {
|
|
67
|
+
disconnectLanguageChangeObserver(this);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Sets focus. Use this method instead of the global focus().
|
|
71
|
+
*/
|
|
72
|
+
async setFocus(options) {
|
|
73
|
+
if (this.open) {
|
|
74
|
+
setTimeout(() => {
|
|
75
|
+
this.closeButton.focus(options);
|
|
76
|
+
}, 200);
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
setTimeout(() => {
|
|
80
|
+
this.openButton.focus(options);
|
|
81
|
+
}, 200);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
57
84
|
/**
|
|
58
85
|
* render() function
|
|
59
86
|
* Always the last one in the class.
|
|
@@ -68,19 +95,20 @@ export class DuetSlideoutPanel {
|
|
|
68
95
|
background: getColorByName(defaultBackgroundColor, this.theme),
|
|
69
96
|
};
|
|
70
97
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
98
|
+
const backTranslation = getLocaleString(this.backLangObject);
|
|
71
99
|
return (h(Host, null, h("div", { class: {
|
|
72
100
|
"duet-slideout-panel": true,
|
|
73
101
|
"duet-theme-turva": this.theme === "turva",
|
|
74
102
|
active: this.open,
|
|
75
|
-
} }, h("button", { ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
103
|
+
} }, h("button", { ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
76
104
|
link: true,
|
|
77
105
|
active: this.active,
|
|
78
106
|
}, onClick: this.onToggleClick }, this.icon && h("duet-icon", { name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("div", { class: "label" }, h("span", { class: { "label-text": true, [this.labelSize]: true } }, h("slot", { name: "label" })), h("duet-icon", { class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { class: {
|
|
79
107
|
dialog: true,
|
|
80
108
|
hidden: !this.open,
|
|
81
|
-
}, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", type: "button", class: {
|
|
109
|
+
}, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
82
110
|
back: true,
|
|
83
|
-
}, onClick: this.onToggleClick }, h("duet-icon", { class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", null, this.label.innerHTML), h("button", { type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
111
|
+
}, onClick: this.onToggleClick }, h("duet-icon", { class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", null, this.label.innerHTML), h("button", { class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
84
112
|
items: true,
|
|
85
113
|
} }, h("slot", null)), h(FocusGuard, { moveFocusTo: this.closeButton })))));
|
|
86
114
|
}
|
|
@@ -220,7 +248,34 @@ export class DuetSlideoutPanel {
|
|
|
220
248
|
}
|
|
221
249
|
static get states() {
|
|
222
250
|
return {
|
|
223
|
-
"label": {}
|
|
251
|
+
"label": {},
|
|
252
|
+
"language": {}
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
static get methods() {
|
|
256
|
+
return {
|
|
257
|
+
"setFocus": {
|
|
258
|
+
"complexType": {
|
|
259
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
260
|
+
"parameters": [{
|
|
261
|
+
"tags": [],
|
|
262
|
+
"text": ""
|
|
263
|
+
}],
|
|
264
|
+
"references": {
|
|
265
|
+
"Promise": {
|
|
266
|
+
"location": "global"
|
|
267
|
+
},
|
|
268
|
+
"FocusOptions": {
|
|
269
|
+
"location": "global"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"return": "Promise<void>"
|
|
273
|
+
},
|
|
274
|
+
"docs": {
|
|
275
|
+
"text": "Sets focus. Use this method instead of the global focus().",
|
|
276
|
+
"tags": []
|
|
277
|
+
}
|
|
278
|
+
}
|
|
224
279
|
};
|
|
225
280
|
}
|
|
226
281
|
static get elementRef() { return "element"; }
|
package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css
CHANGED
|
@@ -66,6 +66,10 @@
|
|
|
66
66
|
align-items: center;
|
|
67
67
|
justify-content: center;
|
|
68
68
|
}
|
|
69
|
+
.duet-slideout-panel-dropdown button:focus {
|
|
70
|
+
outline: 0;
|
|
71
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
72
|
+
}
|
|
69
73
|
.duet-slideout-panel-dropdown button.active .label::after {
|
|
70
74
|
position: absolute;
|
|
71
75
|
top: auto;
|
|
@@ -85,7 +89,7 @@
|
|
|
85
89
|
justify-content: center;
|
|
86
90
|
width: 100%;
|
|
87
91
|
max-height: 1000px;
|
|
88
|
-
padding:
|
|
92
|
+
padding: 4px 20px 8px 44px;
|
|
89
93
|
overflow-y: auto;
|
|
90
94
|
visibility: visible;
|
|
91
95
|
transition: max-height 0.3s ease-in, padding-bottom 0.3s ease-in;
|
|
@@ -106,6 +110,9 @@
|
|
|
106
110
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
107
111
|
color: rgb(23, 28, 58);
|
|
108
112
|
}
|
|
113
|
+
.duet-slideout-panel-dropdown.duet-theme-turva button:focus {
|
|
114
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
115
|
+
}
|
|
109
116
|
.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after {
|
|
110
117
|
background: rgb(198, 12, 48);
|
|
111
118
|
}
|
package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js
CHANGED
|
@@ -29,6 +29,12 @@ export class DuetSlideoutPanelDropdown {
|
|
|
29
29
|
link.menuItem = true;
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Sets focus. Use this method instead of the global focus().
|
|
34
|
+
*/
|
|
35
|
+
async setFocus(options) {
|
|
36
|
+
this.button.focus(options);
|
|
37
|
+
}
|
|
32
38
|
/**
|
|
33
39
|
* render() function
|
|
34
40
|
* Always the last one in the class.
|
|
@@ -38,7 +44,7 @@ export class DuetSlideoutPanelDropdown {
|
|
|
38
44
|
"duet-slideout-panel-dropdown": true,
|
|
39
45
|
"duet-theme-turva": this.theme === "turva",
|
|
40
46
|
active: this.open,
|
|
41
|
-
} }, h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
47
|
+
} }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
42
48
|
active: this.active,
|
|
43
49
|
}, onClick: this.onClick }, this.icon && h("duet-icon", { name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
44
50
|
items: true,
|
|
@@ -138,6 +144,32 @@ export class DuetSlideoutPanelDropdown {
|
|
|
138
144
|
}
|
|
139
145
|
};
|
|
140
146
|
}
|
|
147
|
+
static get methods() {
|
|
148
|
+
return {
|
|
149
|
+
"setFocus": {
|
|
150
|
+
"complexType": {
|
|
151
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
152
|
+
"parameters": [{
|
|
153
|
+
"tags": [],
|
|
154
|
+
"text": ""
|
|
155
|
+
}],
|
|
156
|
+
"references": {
|
|
157
|
+
"Promise": {
|
|
158
|
+
"location": "global"
|
|
159
|
+
},
|
|
160
|
+
"FocusOptions": {
|
|
161
|
+
"location": "global"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"return": "Promise<void>"
|
|
165
|
+
},
|
|
166
|
+
"docs": {
|
|
167
|
+
"text": "Sets focus. Use this method instead of the global focus().",
|
|
168
|
+
"tags": []
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
}
|
|
141
173
|
static get elementRef() { return "element"; }
|
|
142
174
|
static get listeners() {
|
|
143
175
|
return [{
|
|
@@ -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
|
}
|
|
@@ -67,6 +67,10 @@
|
|
|
67
67
|
line-height: 1.25;
|
|
68
68
|
color: rgb(0, 41, 77);
|
|
69
69
|
}
|
|
70
|
+
.duet-submenu-bar button:focus {
|
|
71
|
+
outline: 0;
|
|
72
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
73
|
+
}
|
|
70
74
|
.duet-submenu-bar button.active .caret {
|
|
71
75
|
transform: rotate(180deg);
|
|
72
76
|
}
|
|
@@ -118,6 +122,9 @@
|
|
|
118
122
|
background: rgb(245, 245, 247);
|
|
119
123
|
border-bottom: 1px solid rgb(228, 228, 230);
|
|
120
124
|
}
|
|
125
|
+
.duet-submenu-bar.duet-theme-turva button:focus {
|
|
126
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
127
|
+
}
|
|
121
128
|
.duet-submenu-bar.duet-theme-turva .items {
|
|
122
129
|
background: rgb(245, 245, 247);
|
|
123
130
|
}
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
+
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
4
5
|
import { h, Host } from "@stencil/core";
|
|
5
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
7
|
export class DuetSubmenuBar {
|
|
7
8
|
constructor() {
|
|
9
|
+
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
10
|
+
this.boundMqlFunctions = [];
|
|
11
|
+
this.changeAriaProperties = () => {
|
|
12
|
+
if (this.mql[0].matches) {
|
|
13
|
+
this.mobile = false;
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
this.mobile = true;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
8
19
|
this.onClick = () => {
|
|
9
20
|
this.open = !this.open;
|
|
10
21
|
};
|
|
22
|
+
this.mobile = true;
|
|
11
23
|
this.theme = "";
|
|
12
24
|
this.open = false;
|
|
13
25
|
}
|
|
@@ -17,14 +29,40 @@ export class DuetSubmenuBar {
|
|
|
17
29
|
componentWillLoad() {
|
|
18
30
|
inheritGlobalTheme(this);
|
|
19
31
|
}
|
|
32
|
+
connectedCallback() {
|
|
33
|
+
this.changeAriaProperties();
|
|
34
|
+
for (let i = 0; i < this.mql.length; i++) {
|
|
35
|
+
// addEventListener is not available in Stencil hydrate
|
|
36
|
+
if (this.mql[i].addEventListener) {
|
|
37
|
+
const bound = this.changeAriaProperties.bind(this);
|
|
38
|
+
this.mql[i].addEventListener("change", bound);
|
|
39
|
+
this.boundMqlFunctions[i] = bound;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
disconnectedCallback() {
|
|
44
|
+
for (let i = 0; i < this.mql.length; i++) {
|
|
45
|
+
// removeEventListener is not available in Stencil hydrate
|
|
46
|
+
if (this.mql[i].removeEventListener) {
|
|
47
|
+
this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
this.boundMqlFunctions = [];
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Sets focus. Use this method instead of the global focus().
|
|
54
|
+
*/
|
|
55
|
+
async setFocus(options) {
|
|
56
|
+
this.button.focus(options);
|
|
57
|
+
}
|
|
20
58
|
/**
|
|
21
59
|
* render() function
|
|
22
60
|
* Always the last one in the class.
|
|
23
61
|
*/
|
|
24
62
|
render() {
|
|
25
|
-
return (h(Host, null, h("div", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, role: "menubar" }, h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
63
|
+
return (h(Host, null, h("div", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, role: this.mobile ? null : "menubar" }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
26
64
|
active: this.open,
|
|
27
|
-
}, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { role: "menu", id: "menu", "aria-labelledby": "button", "aria-expanded": this.open ? "true" : "false", class: {
|
|
65
|
+
}, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
28
66
|
items: true,
|
|
29
67
|
hidden: !this.open,
|
|
30
68
|
} }, h("slot", null)))));
|
|
@@ -86,5 +124,36 @@ export class DuetSubmenuBar {
|
|
|
86
124
|
}
|
|
87
125
|
};
|
|
88
126
|
}
|
|
127
|
+
static get states() {
|
|
128
|
+
return {
|
|
129
|
+
"mobile": {}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
static get methods() {
|
|
133
|
+
return {
|
|
134
|
+
"setFocus": {
|
|
135
|
+
"complexType": {
|
|
136
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
137
|
+
"parameters": [{
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": ""
|
|
140
|
+
}],
|
|
141
|
+
"references": {
|
|
142
|
+
"Promise": {
|
|
143
|
+
"location": "global"
|
|
144
|
+
},
|
|
145
|
+
"FocusOptions": {
|
|
146
|
+
"location": "global"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"return": "Promise<void>"
|
|
150
|
+
},
|
|
151
|
+
"docs": {
|
|
152
|
+
"text": "Sets focus. Use this method instead of the global focus().",
|
|
153
|
+
"tags": []
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
}
|
|
89
158
|
static get elementRef() { return "element"; }
|
|
90
159
|
}
|
|
@@ -69,9 +69,33 @@
|
|
|
69
69
|
align-items: center;
|
|
70
70
|
justify-content: center;
|
|
71
71
|
}
|
|
72
|
-
.duet-submenu-bar-dropdown button
|
|
72
|
+
.duet-submenu-bar-dropdown button:focus {
|
|
73
|
+
outline: 0;
|
|
74
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
75
|
+
}
|
|
76
|
+
.duet-submenu-bar-dropdown button.open .caret {
|
|
73
77
|
transform: rotate(180deg);
|
|
74
78
|
}
|
|
79
|
+
.duet-submenu-bar-dropdown button.active .label-text {
|
|
80
|
+
position: relative;
|
|
81
|
+
}
|
|
82
|
+
.duet-submenu-bar-dropdown button.active .label-text::after {
|
|
83
|
+
position: absolute;
|
|
84
|
+
top: auto;
|
|
85
|
+
bottom: 0;
|
|
86
|
+
left: 0;
|
|
87
|
+
display: block;
|
|
88
|
+
width: 100%;
|
|
89
|
+
height: 1px;
|
|
90
|
+
content: "";
|
|
91
|
+
background: rgb(0, 119, 179);
|
|
92
|
+
transform: 1px;
|
|
93
|
+
}
|
|
94
|
+
@media (min-width: 62em) {
|
|
95
|
+
.duet-submenu-bar-dropdown button.active .label-text::after {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
75
99
|
@media (min-width: 62em) {
|
|
76
100
|
.duet-submenu-bar-dropdown button .caret {
|
|
77
101
|
position: absolute;
|
|
@@ -82,7 +106,10 @@
|
|
|
82
106
|
background: rgb(230, 242, 248);
|
|
83
107
|
}
|
|
84
108
|
.duet-submenu-bar-dropdown button:hover.active {
|
|
85
|
-
color: rgb(0,
|
|
109
|
+
color: rgb(0, 41, 77);
|
|
110
|
+
}
|
|
111
|
+
.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active {
|
|
112
|
+
color: rgb(23, 28, 58);
|
|
86
113
|
}
|
|
87
114
|
.duet-submenu-bar-dropdown button.active {
|
|
88
115
|
color: rgb(0, 119, 179);
|
|
@@ -90,7 +117,7 @@
|
|
|
90
117
|
.duet-theme-turva .duet-submenu-bar-dropdown button.active {
|
|
91
118
|
color: rgb(198, 12, 48);
|
|
92
119
|
}
|
|
93
|
-
.duet-submenu-bar-dropdown button.active::after {
|
|
120
|
+
.duet-submenu-bar-dropdown button.active::after, .duet-submenu-bar-dropdown button.open::after {
|
|
94
121
|
position: absolute;
|
|
95
122
|
top: auto;
|
|
96
123
|
bottom: 0;
|
|
@@ -103,7 +130,7 @@
|
|
|
103
130
|
transition: 300ms ease;
|
|
104
131
|
transform: translateY(1px);
|
|
105
132
|
}
|
|
106
|
-
.duet-theme-turva .duet-submenu-bar-dropdown button.active::after {
|
|
133
|
+
.duet-theme-turva .duet-submenu-bar-dropdown button.active::after, .duet-theme-turva .duet-submenu-bar-dropdown button.open::after {
|
|
107
134
|
background: rgb(198, 12, 48);
|
|
108
135
|
}
|
|
109
136
|
}
|
|
@@ -113,7 +140,7 @@
|
|
|
113
140
|
align-items: center;
|
|
114
141
|
justify-content: center;
|
|
115
142
|
max-height: 1000px;
|
|
116
|
-
padding:
|
|
143
|
+
padding: 4px 0 16px;
|
|
117
144
|
overflow-y: auto;
|
|
118
145
|
color: rgb(0, 41, 77);
|
|
119
146
|
visibility: visible;
|
|
@@ -130,7 +157,7 @@
|
|
|
130
157
|
top: 102%;
|
|
131
158
|
z-index: 600;
|
|
132
159
|
min-width: 320px;
|
|
133
|
-
padding: 0;
|
|
160
|
+
padding: 4px 0 0;
|
|
134
161
|
background: rgb(255, 255, 255);
|
|
135
162
|
border-radius: 0 0 4px 4px;
|
|
136
163
|
box-shadow: 0 6px 6px 0 rgba(0, 41, 77, 0.1);
|
|
@@ -148,17 +175,23 @@
|
|
|
148
175
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
149
176
|
color: rgb(23, 28, 58);
|
|
150
177
|
}
|
|
178
|
+
.duet-submenu-bar-dropdown.duet-theme-turva button:focus {
|
|
179
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
180
|
+
}
|
|
151
181
|
@media (min-width: 62em) {
|
|
152
182
|
.duet-submenu-bar-dropdown.duet-theme-turva button:hover {
|
|
153
183
|
background: rgb(228, 228, 230);
|
|
154
184
|
}
|
|
155
185
|
}
|
|
186
|
+
.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after, .duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after {
|
|
187
|
+
background: rgb(198, 12, 48);
|
|
188
|
+
}
|
|
156
189
|
@media (min-width: 62em) {
|
|
157
|
-
.duet-submenu-bar-dropdown.duet-theme-turva button.active {
|
|
190
|
+
.duet-submenu-bar-dropdown.duet-theme-turva button.active, .duet-submenu-bar-dropdown.duet-theme-turva button.open {
|
|
158
191
|
color: rgb(148, 9, 37);
|
|
159
192
|
}
|
|
160
193
|
}
|
|
161
|
-
.duet-submenu-bar-dropdown.duet-theme-turva button.active::after {
|
|
194
|
+
.duet-submenu-bar-dropdown.duet-theme-turva button.active::after, .duet-submenu-bar-dropdown.duet-theme-turva button.open::after {
|
|
162
195
|
background: rgb(148, 9, 37);
|
|
163
196
|
}
|
|
164
197
|
@media (min-width: 62em) {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
5
|
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
+
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
7
8
|
export class DuetSubmenuBarDropdown {
|
|
8
9
|
constructor() {
|
|
9
10
|
/**
|
|
@@ -24,6 +25,7 @@ export class DuetSubmenuBarDropdown {
|
|
|
24
25
|
};
|
|
25
26
|
this.iconSize = "small";
|
|
26
27
|
this.theme = "";
|
|
28
|
+
this.active = false;
|
|
27
29
|
this.open = false;
|
|
28
30
|
this.icon = undefined;
|
|
29
31
|
}
|
|
@@ -59,14 +61,38 @@ export class DuetSubmenuBarDropdown {
|
|
|
59
61
|
}
|
|
60
62
|
this.boundMqlFunctions = [];
|
|
61
63
|
}
|
|
64
|
+
handleEscape(e) {
|
|
65
|
+
if (isEscapeKey(e)) {
|
|
66
|
+
if (this.open) {
|
|
67
|
+
this.open = false;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
const dropdown = this.element.closest("duet-submenu-bar");
|
|
71
|
+
dropdown.open = false;
|
|
72
|
+
dropdown.setFocus();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Sets focus. Use this method instead of the global focus().
|
|
78
|
+
*/
|
|
79
|
+
async setFocus(options) {
|
|
80
|
+
this.button.focus(options);
|
|
81
|
+
}
|
|
62
82
|
/**
|
|
63
83
|
* render() function
|
|
64
84
|
* Always the last one in the class.
|
|
65
85
|
*/
|
|
66
86
|
render() {
|
|
67
|
-
return (h(Host, null, h("div", { class: {
|
|
68
|
-
|
|
69
|
-
|
|
87
|
+
return (h(Host, null, h("div", { class: {
|
|
88
|
+
"duet-submenu-bar-dropdown": true,
|
|
89
|
+
"duet-theme-turva": this.theme === "turva",
|
|
90
|
+
open: this.open,
|
|
91
|
+
active: this.active,
|
|
92
|
+
} }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
93
|
+
open: this.open,
|
|
94
|
+
active: this.active,
|
|
95
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: this.iconSize, margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("span", { class: "label-text" }, h("slot", { name: "label" })), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
70
96
|
items: true,
|
|
71
97
|
hidden: !this.open,
|
|
72
98
|
} }, h("slot", null)))));
|
|
@@ -108,6 +134,24 @@ export class DuetSubmenuBarDropdown {
|
|
|
108
134
|
"reflect": false,
|
|
109
135
|
"defaultValue": "\"\""
|
|
110
136
|
},
|
|
137
|
+
"active": {
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"mutable": true,
|
|
140
|
+
"complexType": {
|
|
141
|
+
"original": "boolean",
|
|
142
|
+
"resolved": "boolean",
|
|
143
|
+
"references": {}
|
|
144
|
+
},
|
|
145
|
+
"required": false,
|
|
146
|
+
"optional": false,
|
|
147
|
+
"docs": {
|
|
148
|
+
"tags": [],
|
|
149
|
+
"text": "Active"
|
|
150
|
+
},
|
|
151
|
+
"attribute": "active",
|
|
152
|
+
"reflect": false,
|
|
153
|
+
"defaultValue": "false"
|
|
154
|
+
},
|
|
111
155
|
"open": {
|
|
112
156
|
"type": "boolean",
|
|
113
157
|
"mutable": true,
|
|
@@ -151,6 +195,32 @@ export class DuetSubmenuBarDropdown {
|
|
|
151
195
|
"iconSize": {}
|
|
152
196
|
};
|
|
153
197
|
}
|
|
198
|
+
static get methods() {
|
|
199
|
+
return {
|
|
200
|
+
"setFocus": {
|
|
201
|
+
"complexType": {
|
|
202
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
203
|
+
"parameters": [{
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": ""
|
|
206
|
+
}],
|
|
207
|
+
"references": {
|
|
208
|
+
"Promise": {
|
|
209
|
+
"location": "global"
|
|
210
|
+
},
|
|
211
|
+
"FocusOptions": {
|
|
212
|
+
"location": "global"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"return": "Promise<void>"
|
|
216
|
+
},
|
|
217
|
+
"docs": {
|
|
218
|
+
"text": "Sets focus. Use this method instead of the global focus().",
|
|
219
|
+
"tags": []
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
}
|
|
154
224
|
static get elementRef() { return "element"; }
|
|
155
225
|
static get listeners() {
|
|
156
226
|
return [{
|