@duetds/components 6.8.7 → 6.8.9
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 +106 -92
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-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 +4 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -2
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +16 -2
- package/lib/cjs/duet-hero.cjs.entry.js +8 -4
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- 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 +18 -32
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +28 -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 +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -25
- 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 +16 -38
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -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-b501431f.js → focus-utils-f5b81c1f.js} +1 -1
- package/lib/cjs/{index-13388615.js → index-8a8ba131.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +21 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -1
- package/lib/collection/components/duet-hero/duet-hero.css +95 -15
- package/lib/collection/components/duet-hero/duet-hero.js +6 -2
- package/lib/collection/components/duet-input/duet-input.css +12 -22
- package/lib/collection/components/duet-input/duet-input.js +1 -1
- package/lib/collection/components/duet-logo/duet-logo.js +58 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -13
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +34 -39
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +27 -5
- package/lib/collection/components/duet-slideout/duet-slideout.js +0 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +22 -8
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +8 -32
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +5 -0
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +0 -5
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +2 -5
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +14 -48
- 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 +6 -6
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +6 -4
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +10 -10
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +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 +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +16 -12
- 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 +21 -36
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +9 -9
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +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 +31 -9
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -3
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +9 -27
- package/lib/dist-custom-elements/duet-tab-group.js +9 -9
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +17 -41
- 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-fdc72d0f.js → p-00635432.js} +12 -8
- package/lib/dist-custom-elements/{p-69659e26.js → p-03367341.js} +1 -1
- package/lib/dist-custom-elements/{p-15a0e9fd.js → p-0853da89.js} +3 -3
- package/lib/dist-custom-elements/{p-9c053778.js → p-0f07edcd.js} +1 -1
- package/lib/dist-custom-elements/{p-30637273.js → p-23e46e22.js} +4 -4
- package/lib/dist-custom-elements/{p-4d8d1b92.js → p-2697a4f6.js} +1 -1
- package/lib/dist-custom-elements/{p-194c6d5b.js → p-297a6774.js} +1 -1
- package/lib/dist-custom-elements/{p-19150a67.js → p-2bfc9c26.js} +1 -1
- package/lib/dist-custom-elements/{p-5e8a98c7.js → p-2e320d47.js} +2 -2
- package/lib/dist-custom-elements/{p-136bba51.js → p-2f2a5be2.js} +19 -3
- package/lib/dist-custom-elements/{p-e67ec38e.js → p-35c660bf.js} +5 -5
- package/lib/dist-custom-elements/{p-1cbf685d.js → p-35d1520f.js} +1 -1
- package/lib/dist-custom-elements/{p-950410b7.js → p-3dca144f.js} +2 -2
- package/lib/dist-custom-elements/{p-4a21157d.js → p-48ee4427.js} +2 -2
- package/lib/dist-custom-elements/{p-7c186545.js → p-4af6c136.js} +10 -10
- package/lib/dist-custom-elements/{p-5146b16a.js → p-4b9ef5dc.js} +1 -1
- package/lib/dist-custom-elements/{p-3644a561.js → p-697167af.js} +1 -1
- package/lib/dist-custom-elements/{p-05af1562.js → p-799100e3.js} +1 -1
- package/lib/dist-custom-elements/{p-7c5c5437.js → p-7cc3a9b6.js} +1 -1
- package/lib/dist-custom-elements/{p-4672eb29.js → p-8348ca39.js} +2 -2
- package/lib/dist-custom-elements/{p-d0fad319.js → p-8563290f.js} +3 -3
- package/lib/dist-custom-elements/{p-7180327e.js → p-88d347ec.js} +1 -1
- package/lib/dist-custom-elements/{p-a4e7ed86.js → p-aa453ca9.js} +1 -1
- package/lib/dist-custom-elements/{p-8b969843.js → p-babace4d.js} +1 -1
- package/lib/dist-custom-elements/{p-68ebd7ae.js → p-ce3afba1.js} +6 -6
- package/lib/dist-custom-elements/{p-1460a593.js → p-cefc1697.js} +1 -1
- package/lib/dist-custom-elements/{p-d307a46b.js → p-d409a0fc.js} +1 -1
- package/lib/dist-custom-elements/{p-f316bb52.js → p-db993558.js} +1 -1
- package/lib/dist-custom-elements/{p-29949e1b.js → p-e95c3a28.js} +1 -1
- package/lib/dist-custom-elements/{p-d4fea7f4.js → p-eabaa24d.js} +1 -1
- package/lib/dist-custom-elements/{p-18ecc42e.js → p-fa582233.js} +3 -3
- package/lib/dist-custom-elements/{p-5343b436.js → p-fbfbd3c9.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-78bc14ae.system.entry.js → p-00676a36.system.entry.js} +1 -1
- package/lib/duet/p-01006278.js +4 -0
- package/lib/duet/{p-25e10b51.system.entry.js → p-0226f751.system.entry.js} +1 -1
- package/lib/duet/{p-3ca9a002.entry.js → p-060f8f64.entry.js} +1 -1
- package/lib/duet/{p-3baf3dcc.entry.js → p-062d4c6b.entry.js} +1 -1
- package/lib/duet/{p-bc75a8d1.system.entry.js → p-0782a91f.system.entry.js} +1 -1
- package/lib/duet/{p-a8964560.system.entry.js → p-0c89b6f9.system.entry.js} +1 -1
- package/lib/duet/{p-c83c936f.system.entry.js → p-0d95bf16.system.entry.js} +1 -1
- package/lib/duet/{p-13815abb.system.entry.js → p-1dfc8eb0.system.entry.js} +1 -1
- package/lib/duet/{p-f7fbbc35.system.entry.js → p-200c17f6.system.entry.js} +1 -1
- package/lib/duet/p-2011c8e6.system.entry.js +4 -0
- package/lib/duet/{p-f9e966e7.system.entry.js → p-230830eb.system.entry.js} +1 -1
- package/lib/duet/{p-dc372b0d.entry.js → p-236447b8.entry.js} +1 -1
- package/lib/duet/{p-f3494bcf.entry.js → p-255ede66.entry.js} +1 -1
- package/lib/duet/{p-d6641757.system.entry.js → p-29851757.system.entry.js} +1 -1
- package/lib/duet/{p-a132127e.entry.js → p-2abe8f54.entry.js} +1 -1
- package/lib/duet/{p-18e72b2c.system.entry.js → p-2ad517e0.system.entry.js} +1 -1
- package/lib/duet/{p-6a9f3539.system.entry.js → p-2c39a50d.system.entry.js} +1 -1
- package/lib/duet/{p-14fa519e.system.entry.js → p-2c44d7d1.system.entry.js} +1 -1
- package/lib/duet/{p-f4db2b86.system.entry.js → p-2e8ae6ef.system.entry.js} +2 -2
- package/lib/duet/{p-1ede9679.entry.js → p-2fc1306e.entry.js} +1 -1
- package/lib/duet/{p-69d5c27d.system.entry.js → p-3023d41a.system.entry.js} +1 -1
- package/lib/duet/{p-1f912fb4.entry.js → p-313fe3f5.entry.js} +1 -1
- package/lib/duet/{p-433fb103.system.entry.js → p-337b32f1.system.entry.js} +1 -1
- package/lib/duet/{p-b672f754.entry.js → p-352ef7d4.entry.js} +1 -1
- package/lib/duet/{p-a16eed4d.entry.js → p-365bc70c.entry.js} +1 -1
- package/lib/duet/{p-9780467a.system.entry.js → p-3693927d.system.entry.js} +1 -1
- package/lib/duet/{p-2718896c.system.entry.js → p-36cb9f64.system.entry.js} +1 -1
- package/lib/duet/{p-2bd4d42d.entry.js → p-398584d4.entry.js} +1 -1
- package/lib/duet/{p-13409919.entry.js → p-3cdfb467.entry.js} +1 -1
- package/lib/duet/p-3db073f3.system.entry.js +4 -0
- package/lib/duet/{p-823197ed.system.entry.js → p-406c6277.system.entry.js} +1 -1
- package/lib/duet/{p-427f78f8.system.entry.js → p-429ae180.system.entry.js} +1 -1
- package/lib/duet/{p-796ba871.system.entry.js → p-42ff082a.system.entry.js} +1 -1
- package/lib/duet/p-43c99bf1.entry.js +4 -0
- package/lib/duet/{p-5eca64bb.entry.js → p-43e589c8.entry.js} +1 -1
- package/lib/duet/{p-4aae5fa5.entry.js → p-44d753ee.entry.js} +1 -1
- package/lib/duet/{p-c38a3306.system.entry.js → p-45b4586f.system.entry.js} +1 -1
- package/lib/duet/{p-19a7afea.entry.js → p-46fb20ed.entry.js} +1 -1
- package/lib/duet/p-477efcbc.entry.js +4 -0
- package/lib/duet/{p-330febf7.entry.js → p-4d40f304.entry.js} +1 -1
- package/lib/duet/{p-579feef2.entry.js → p-4ef2841d.entry.js} +1 -1
- package/lib/duet/{p-56bdca95.system.entry.js → p-508d3dcb.system.entry.js} +1 -1
- package/lib/duet/{p-488f5515.entry.js → p-53c13b55.entry.js} +1 -1
- package/lib/duet/{p-bf01b2a3.system.entry.js → p-54dca5e8.system.entry.js} +1 -1
- package/lib/duet/{p-f2e37eed.entry.js → p-556fa590.entry.js} +1 -1
- package/lib/duet/{p-7b5cc047.entry.js → p-55e5bf94.entry.js} +1 -1
- package/lib/duet/{p-d5af9e03.system.js → p-5782d12a.system.js} +1 -1
- package/lib/duet/{p-90cfdbb8.system.entry.js → p-5822c65a.system.entry.js} +1 -1
- package/lib/duet/{p-669cf7dd.system.entry.js → p-59673927.system.entry.js} +1 -1
- package/lib/duet/{p-255f1542.system.entry.js → p-5c28fd80.system.entry.js} +1 -1
- package/lib/duet/{p-8bded27b.entry.js → p-61b2e583.entry.js} +1 -1
- package/lib/duet/p-62587a99.entry.js +4 -0
- package/lib/duet/{p-80d61c0b.entry.js → p-633dced0.entry.js} +1 -1
- package/lib/duet/{p-9d040ae3.system.entry.js → p-63dc5d85.system.entry.js} +1 -1
- package/lib/duet/p-63dfae1b.entry.js +4 -0
- package/lib/duet/{p-fa52d2f1.entry.js → p-65b8dc2a.entry.js} +1 -1
- package/lib/duet/p-69671377.system.js +4 -0
- package/lib/duet/p-6a011296.entry.js +4 -0
- package/lib/duet/{p-7fce8695.entry.js → p-6aeb4931.entry.js} +1 -1
- package/lib/duet/p-6ed854c9.system.entry.js +4 -0
- package/lib/duet/{p-7770a36f.system.entry.js → p-71917207.system.entry.js} +1 -1
- package/lib/duet/{p-161ddf06.entry.js → p-728bfa77.entry.js} +1 -1
- package/lib/duet/{p-851ad654.system.entry.js → p-73627cbb.system.entry.js} +1 -1
- package/lib/duet/{p-adcd531d.entry.js → p-749fc136.entry.js} +1 -1
- package/lib/duet/{p-0d2741c1.system.entry.js → p-75effec6.system.entry.js} +1 -1
- package/lib/duet/{p-d7bb0434.system.entry.js → p-7675eb6f.system.entry.js} +1 -1
- package/lib/duet/{p-01aaa7a2.system.entry.js → p-77fbdca2.system.entry.js} +1 -1
- package/lib/duet/{p-6dc4a6b7.entry.js → p-7a096435.entry.js} +1 -1
- package/lib/duet/{p-c6eb7ed0.system.entry.js → p-7c9bdbe1.system.entry.js} +1 -1
- package/lib/duet/p-7cf7fde9.entry.js +4 -0
- package/lib/duet/p-7e3541f6.system.entry.js +4 -0
- package/lib/duet/{p-9e97cd91.system.entry.js → p-7e4af76c.system.entry.js} +1 -1
- package/lib/duet/{p-12970382.system.entry.js → p-808cc181.system.entry.js} +1 -1
- package/lib/duet/{p-dafad527.entry.js → p-8169f888.entry.js} +1 -1
- package/lib/duet/{p-1e130f27.entry.js → p-837acc55.entry.js} +1 -1
- package/lib/duet/p-86270afd.entry.js +4 -0
- package/lib/duet/{p-17baf252.entry.js → p-881ed26f.entry.js} +1 -1
- package/lib/duet/{p-aaf64918.system.entry.js → p-8941bf37.system.entry.js} +1 -1
- package/lib/duet/p-8b8eec00.system.entry.js +4 -0
- package/lib/duet/{p-8c4d279b.entry.js → p-8bc10d1a.entry.js} +1 -1
- package/lib/duet/{p-5f5191d3.entry.js → p-8c5399f3.entry.js} +1 -1
- package/lib/duet/{p-f4804f02.entry.js → p-8cf75c3e.entry.js} +1 -1
- package/lib/duet/{p-e73ce021.entry.js → p-8da23c48.entry.js} +1 -1
- package/lib/duet/{p-778ac454.system.entry.js → p-8e831193.system.entry.js} +1 -1
- package/lib/duet/{p-e4a11340.entry.js → p-936a1b6b.entry.js} +1 -1
- package/lib/duet/{p-65d31e27.entry.js → p-96853ebb.entry.js} +1 -1
- package/lib/duet/p-96ee76aa.entry.js +4 -0
- package/lib/duet/p-99967a86.entry.js +4 -0
- package/lib/duet/{p-028ec3d7.system.entry.js → p-9bc8d785.system.entry.js} +1 -1
- package/lib/duet/p-9d7a6b9d.system.entry.js +4 -0
- package/lib/duet/p-9e704252.entry.js +4 -0
- package/lib/duet/{p-97c4ff91.entry.js → p-a335e0bc.entry.js} +1 -1
- package/lib/duet/{p-bdb56679.entry.js → p-a6df6c15.entry.js} +1 -1
- package/lib/duet/{p-65438201.system.entry.js → p-a9448361.system.entry.js} +1 -1
- package/lib/duet/{p-69542357.entry.js → p-abde6822.entry.js} +1 -1
- package/lib/duet/{p-e5489bc7.system.entry.js → p-ac5df61e.system.entry.js} +1 -1
- package/lib/duet/p-ac8174e5.system.entry.js +4 -0
- package/lib/duet/{p-de7b708f.entry.js → p-ac90e4ba.entry.js} +1 -1
- package/lib/duet/{p-780a75a2.entry.js → p-ad9b1943.entry.js} +1 -1
- package/lib/duet/{p-d40a7872.entry.js → p-ade32ce7.entry.js} +1 -1
- package/lib/duet/{p-35c0d8e2.system.entry.js → p-b32d877a.system.entry.js} +1 -1
- package/lib/duet/{p-54083f7e.system.entry.js → p-b708a4c0.system.entry.js} +1 -1
- package/lib/duet/{p-25f14ac5.system.entry.js → p-b97b1676.system.entry.js} +1 -1
- package/lib/duet/{p-19ee06ab.entry.js → p-bf91e001.entry.js} +1 -1
- package/lib/duet/{p-94244bf4.entry.js → p-c42fad8c.entry.js} +1 -1
- package/lib/duet/{p-c1d00a72.entry.js → p-c5191cdc.entry.js} +1 -1
- package/lib/duet/{p-5d12bac3.system.entry.js → p-c520d4ea.system.entry.js} +1 -1
- package/lib/duet/{p-e42ab7c6.entry.js → p-c54774ab.entry.js} +1 -1
- package/lib/duet/{p-dfe03aaa.entry.js → p-c6083026.entry.js} +1 -1
- package/lib/duet/{p-d339f6db.system.entry.js → p-c9ac338f.system.entry.js} +1 -1
- package/lib/duet/{p-b8735715.system.js → p-ca597046.system.js} +1 -1
- package/lib/duet/{p-99a34692.system.entry.js → p-cd98e431.system.entry.js} +1 -1
- package/lib/duet/{p-b26d675a.system.entry.js → p-cfbf4269.system.entry.js} +1 -1
- package/lib/duet/{p-10ea9dce.js → p-cfc2b098.js} +1 -1
- package/lib/duet/{p-8abf9da5.system.entry.js → p-d1ad24a0.system.entry.js} +1 -1
- package/lib/duet/{p-bc1d488f.system.entry.js → p-d35c775f.system.entry.js} +1 -1
- package/lib/duet/{p-28d6f291.system.entry.js → p-d6cd2bb9.system.entry.js} +1 -1
- package/lib/duet/{p-0614e1c5.system.entry.js → p-db511eee.system.entry.js} +2 -2
- package/lib/duet/{p-dc332689.system.entry.js → p-dc0d47f6.system.entry.js} +1 -1
- package/lib/duet/{p-e819b8fb.entry.js → p-df4c44a0.entry.js} +1 -1
- package/lib/duet/{p-85c6f600.system.entry.js → p-e7ecad67.system.entry.js} +1 -1
- package/lib/duet/{p-8b2728c2.system.entry.js → p-e827c36c.system.entry.js} +1 -1
- package/lib/duet/p-e9dae4ed.system.entry.js +4 -0
- package/lib/duet/{p-82be0673.entry.js → p-ea109080.entry.js} +1 -1
- package/lib/duet/{p-208d4e98.entry.js → p-ebbbcd73.entry.js} +1 -1
- package/lib/duet/{p-3d2bcd2e.system.entry.js → p-ec6683f4.system.entry.js} +1 -1
- package/lib/duet/{p-957af858.entry.js → p-f2893a52.entry.js} +1 -1
- package/lib/duet/{p-72abda3c.entry.js → p-f40d72fb.entry.js} +1 -1
- package/lib/duet/p-f5103ded.entry.js +4 -0
- package/lib/duet/{p-1b8a0131.entry.js → p-f591ed1f.entry.js} +1 -1
- package/lib/duet/{p-187153ca.system.entry.js → p-f59c99ac.system.entry.js} +1 -1
- package/lib/duet/{p-d2cfb003.system.entry.js → p-f9141695.system.entry.js} +1 -1
- package/lib/duet/{p-8155e4f7.system.entry.js → p-f98b9ae8.system.entry.js} +1 -1
- package/lib/duet/{p-0a996015.entry.js → p-fd74020b.entry.js} +1 -1
- package/lib/duet/{p-d9aaf1e7.entry.js → p-fdf5e1b6.entry.js} +1 -1
- package/lib/duet/{p-1503bfe4.entry.js → p-fe31c401.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +4 -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 +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +6 -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 +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +16 -2
- package/lib/esm/duet-hero.entry.js +8 -4
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +3 -3
- 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 +18 -32
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +28 -6
- 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 +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -3
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +8 -25
- 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 +16 -38
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-6b1704b1.js → focus-utils-f1ddeb69.js} +1 -1
- package/lib/esm/{index-b024f5b5.js → index-57a87c63.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- 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 +2 -2
- 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-6b1704b1.js → focus-utils-f1ddeb69.js} +1 -1
- package/lib/esm-es5/{index-b024f5b5.js → index-57a87c63.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +4 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +2 -0
- package/lib/types/components/duet-logo/duet-logo.d.ts +4 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +4 -4
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +2 -0
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +0 -3
- package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +0 -6
- package/lib/types/components.d.ts +20 -0
- package/package.json +5 -5
- package/lib/duet/p-1585e4fa.entry.js +0 -4
- package/lib/duet/p-2e119045.system.entry.js +0 -4
- package/lib/duet/p-2e394748.system.entry.js +0 -4
- package/lib/duet/p-323d22b9.entry.js +0 -4
- package/lib/duet/p-3bf4a093.system.entry.js +0 -4
- package/lib/duet/p-3f4fcae9.entry.js +0 -4
- package/lib/duet/p-4a2569f0.entry.js +0 -4
- package/lib/duet/p-508e5f90.entry.js +0 -4
- package/lib/duet/p-69f480e1.entry.js +0 -4
- package/lib/duet/p-7f317b88.entry.js +0 -4
- package/lib/duet/p-8232b1d5.system.entry.js +0 -4
- package/lib/duet/p-8a4ed826.entry.js +0 -4
- package/lib/duet/p-9ae7a189.js +0 -4
- package/lib/duet/p-a36d502c.system.entry.js +0 -4
- package/lib/duet/p-a842a56f.entry.js +0 -4
- package/lib/duet/p-bac833e6.entry.js +0 -4
- package/lib/duet/p-bf4f657d.system.entry.js +0 -4
- package/lib/duet/p-c86d2229.entry.js +0 -4
- package/lib/duet/p-e5151a14.system.entry.js +0 -4
- package/lib/duet/p-ead52cf7.system.js +0 -4
- package/lib/duet/p-fcd74652.system.entry.js +0 -4
|
@@ -53,15 +53,19 @@ export class DuetRangeStepper {
|
|
|
53
53
|
watchStepIndexStateHandler(newValue) {
|
|
54
54
|
if (this.leftBnRef && this.rightBnRef) {
|
|
55
55
|
if (newValue <= 1) {
|
|
56
|
+
if (this.element === document.activeElement) {
|
|
57
|
+
this.rightBnRef.setFocus();
|
|
58
|
+
}
|
|
56
59
|
this.leftBnRef.setAttribute("disabled", "");
|
|
57
|
-
this.rightBnRef.setFocus();
|
|
58
60
|
}
|
|
59
61
|
else {
|
|
60
62
|
this.leftBnRef.removeAttribute("disabled");
|
|
61
63
|
}
|
|
62
64
|
if (newValue >= this.total / this.stepSize) {
|
|
65
|
+
if (this.element === document.activeElement) {
|
|
66
|
+
this.leftBnRef.setFocus();
|
|
67
|
+
}
|
|
63
68
|
this.rightBnRef.setAttribute("disabled", "");
|
|
64
|
-
this.leftBnRef.setFocus();
|
|
65
69
|
}
|
|
66
70
|
else {
|
|
67
71
|
this.rightBnRef.removeAttribute("disabled");
|
|
@@ -73,7 +77,7 @@ export class DuetRangeStepper {
|
|
|
73
77
|
if (this.stepIndex * newValue > this.total) {
|
|
74
78
|
this.stepIndex = Math.ceil(this.total / newValue);
|
|
75
79
|
}
|
|
76
|
-
// trigger handler in case a button needs to be disabled or enabled but
|
|
80
|
+
// trigger handler in case a button needs to be disabled or enabled but stepIndex did not change
|
|
77
81
|
this.watchStepIndexStateHandler(this.stepIndex);
|
|
78
82
|
}
|
|
79
83
|
}
|
|
@@ -119,6 +123,24 @@ export class DuetRangeStepper {
|
|
|
119
123
|
.replace("{1}", String(this.getTo()))
|
|
120
124
|
.replace("{2}", String(this.total));
|
|
121
125
|
}
|
|
126
|
+
generatePreviousIncrementLabel() {
|
|
127
|
+
if (this.getFrom() === 1) {
|
|
128
|
+
return "";
|
|
129
|
+
}
|
|
130
|
+
return this.ariaLabels.x_of_y
|
|
131
|
+
.replace("{0}", String(Math.max(this.getFrom() - this.stepSize, 1)))
|
|
132
|
+
.replace("{1}", String(Math.min(this.getFrom() - 1, this.total)))
|
|
133
|
+
.replace("{2}", String(this.total));
|
|
134
|
+
}
|
|
135
|
+
generateNextIncrementLabel() {
|
|
136
|
+
if (this.getTo() === this.total) {
|
|
137
|
+
return "";
|
|
138
|
+
}
|
|
139
|
+
return this.ariaLabels.x_of_y
|
|
140
|
+
.replace("{0}", String(this.getTo() + 1))
|
|
141
|
+
.replace("{1}", String(Math.min(this.getTo() + this.stepSize, this.total)))
|
|
142
|
+
.replace("{2}", String(this.total));
|
|
143
|
+
}
|
|
122
144
|
//handle a11y keyboard navigation events
|
|
123
145
|
async onKeyboardDown(e) {
|
|
124
146
|
// handle a11y based keyboard navigation for left/right/up/down
|
|
@@ -127,7 +149,7 @@ export class DuetRangeStepper {
|
|
|
127
149
|
if (isArrowLeftKey(e) || isArrowUpKey(e) || isMinusKey(e)) {
|
|
128
150
|
next--;
|
|
129
151
|
dir = -1;
|
|
130
|
-
this.leftBnRef.
|
|
152
|
+
this.leftBnRef.setFocus();
|
|
131
153
|
}
|
|
132
154
|
if (isArrowRightKey(e) || isArrowDownKey(e) || isPlusKey(e)) {
|
|
133
155
|
next++;
|
|
@@ -150,7 +172,7 @@ export class DuetRangeStepper {
|
|
|
150
172
|
return (h("div", { class: {
|
|
151
173
|
"duet-range-stepper": true,
|
|
152
174
|
"duet-theme-turva": this.theme === "turva",
|
|
153
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": this.ariaLabels.previous_increment
|
|
175
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small" }), h("duet-action-button", { class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small" })));
|
|
154
176
|
}
|
|
155
177
|
static get is() { return "duet-range-stepper"; }
|
|
156
178
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,6 +50,26 @@
|
|
|
50
50
|
position: relative;
|
|
51
51
|
background: rgb(243, 249, 252);
|
|
52
52
|
}
|
|
53
|
+
.duet-submenu-bar .shadow-container {
|
|
54
|
+
position: absolute;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
59
|
+
.duet-submenu-bar .shadow-container .top-shadow {
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: -52px;
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 52px;
|
|
64
|
+
box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07);
|
|
65
|
+
}
|
|
66
|
+
@media (min-width: 62em) {
|
|
67
|
+
.duet-submenu-bar .shadow-container .top-shadow {
|
|
68
|
+
top: -80px;
|
|
69
|
+
height: 80px;
|
|
70
|
+
box-shadow: 0 3px 6px rgba(0, 41, 77, 0.1);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
53
73
|
@media (min-width: 62em) {
|
|
54
74
|
.duet-submenu-bar {
|
|
55
75
|
border-bottom: 1px solid rgb(205, 229, 241);
|
|
@@ -96,10 +116,7 @@
|
|
|
96
116
|
border-bottom: 1px solid rgb(207, 210, 212);
|
|
97
117
|
transition: 300ms ease;
|
|
98
118
|
}
|
|
99
|
-
.duet-submenu-bar .items
|
|
100
|
-
list-style-type: none;
|
|
101
|
-
}
|
|
102
|
-
.duet-submenu-bar .items li {
|
|
119
|
+
.duet-submenu-bar .items ::slotted(*) {
|
|
103
120
|
position: relative;
|
|
104
121
|
}
|
|
105
122
|
.duet-submenu-bar .items.hidden {
|
|
@@ -110,7 +127,7 @@
|
|
|
110
127
|
transition: 300ms ease;
|
|
111
128
|
}
|
|
112
129
|
@media (min-width: 62em) {
|
|
113
|
-
.duet-submenu-bar .items
|
|
130
|
+
.duet-submenu-bar .items .list {
|
|
114
131
|
display: flex;
|
|
115
132
|
align-items: center;
|
|
116
133
|
justify-content: space-between;
|
|
@@ -139,7 +156,4 @@
|
|
|
139
156
|
}
|
|
140
157
|
.duet-submenu-bar.duet-theme-turva .items {
|
|
141
158
|
background: rgb(245, 245, 247);
|
|
142
|
-
}
|
|
143
|
-
.duet-submenu-bar .hide {
|
|
144
|
-
display: none;
|
|
145
159
|
}
|
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
|
-
import {
|
|
5
|
+
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
export class DuetSubmenuBar {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
10
10
|
this.boundMqlFunctions = [];
|
|
11
|
-
this.observers = [];
|
|
12
|
-
this.setChildren = (children) => {
|
|
13
|
-
this.slotChildren = Array.from(children);
|
|
14
|
-
};
|
|
15
11
|
this.changeAriaProperties = () => {
|
|
16
12
|
if (this.mql[0].matches) {
|
|
17
13
|
this.mobile = false;
|
|
@@ -24,7 +20,6 @@ export class DuetSubmenuBar {
|
|
|
24
20
|
this.open = !this.open;
|
|
25
21
|
};
|
|
26
22
|
this.mobile = true;
|
|
27
|
-
this.slotChildren = [];
|
|
28
23
|
this.theme = "";
|
|
29
24
|
this.open = false;
|
|
30
25
|
this.accessibleLabel = undefined;
|
|
@@ -34,6 +29,10 @@ export class DuetSubmenuBar {
|
|
|
34
29
|
*/
|
|
35
30
|
componentWillLoad() {
|
|
36
31
|
inheritGlobalTheme(this);
|
|
32
|
+
const children = Array.from(this.element.children);
|
|
33
|
+
for (const child of children) {
|
|
34
|
+
child.setAttribute("role", "listitem");
|
|
35
|
+
}
|
|
37
36
|
}
|
|
38
37
|
connectedCallback() {
|
|
39
38
|
this.changeAriaProperties();
|
|
@@ -45,21 +44,6 @@ export class DuetSubmenuBar {
|
|
|
45
44
|
this.boundMqlFunctions[i] = bound;
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
|
-
if (Build.isServer) {
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
Array.from(this.element.children).forEach(child => {
|
|
52
|
-
const observer = new MutationObserver(() => {
|
|
53
|
-
this.setChildren(Array.from(this.element.children));
|
|
54
|
-
});
|
|
55
|
-
observer.observe(child, {
|
|
56
|
-
childList: true,
|
|
57
|
-
subtree: true,
|
|
58
|
-
attributes: true,
|
|
59
|
-
characterData: true,
|
|
60
|
-
});
|
|
61
|
-
this.observers = [...this.observers, observer];
|
|
62
|
-
});
|
|
63
47
|
}
|
|
64
48
|
disconnectedCallback() {
|
|
65
49
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -69,11 +53,6 @@ export class DuetSubmenuBar {
|
|
|
69
53
|
}
|
|
70
54
|
}
|
|
71
55
|
this.boundMqlFunctions = [];
|
|
72
|
-
if (Build.isServer) {
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
this.observers.forEach(observer => observer.disconnect());
|
|
76
|
-
this.observers = [];
|
|
77
56
|
}
|
|
78
57
|
/**
|
|
79
58
|
* Sets focus. Use this method instead of the global focus().
|
|
@@ -86,14 +65,12 @@ export class DuetSubmenuBar {
|
|
|
86
65
|
* Always the last one in the class.
|
|
87
66
|
*/
|
|
88
67
|
render() {
|
|
89
|
-
return (h(Host, null, h("nav", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
68
|
+
return (h(Host, null, h("nav", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("div", { class: "shadow-container", role: "presentation" }, h("div", { class: "top-shadow" })), h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
90
69
|
active: this.open,
|
|
91
70
|
}, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
92
71
|
items: true,
|
|
93
72
|
hidden: !this.open,
|
|
94
|
-
} }, h("
|
|
95
|
-
.filter(child => !child.hasAttribute("slot"))
|
|
96
|
-
.map(child => (h("li", { innerHTML: child.outerHTML }))))), h("div", { class: "hide" }, h("slot", null)))));
|
|
73
|
+
} }, h("div", { class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", null))))));
|
|
97
74
|
}
|
|
98
75
|
static get is() { return "duet-submenu-bar"; }
|
|
99
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -171,8 +148,7 @@ export class DuetSubmenuBar {
|
|
|
171
148
|
}
|
|
172
149
|
static get states() {
|
|
173
150
|
return {
|
|
174
|
-
"mobile": {}
|
|
175
|
-
"slotChildren": {}
|
|
151
|
+
"mobile": {}
|
|
176
152
|
};
|
|
177
153
|
}
|
|
178
154
|
static get methods() {
|
|
@@ -73,6 +73,11 @@
|
|
|
73
73
|
outline: 0;
|
|
74
74
|
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
75
75
|
}
|
|
76
|
+
@media (min-width: 62em) {
|
|
77
|
+
.duet-submenu-bar-dropdown button.open {
|
|
78
|
+
background: rgb(230, 242, 248);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
76
81
|
.duet-submenu-bar-dropdown button.open .caret {
|
|
77
82
|
transform: rotate(180deg);
|
|
78
83
|
}
|
package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css
CHANGED
|
@@ -68,11 +68,6 @@
|
|
|
68
68
|
background: rgb(0, 119, 179);
|
|
69
69
|
transform: 1px;
|
|
70
70
|
}
|
|
71
|
-
@media (min-width: 62em) {
|
|
72
|
-
.duet-submenu-bar-dropdown-link.active .label::after {
|
|
73
|
-
display: none;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
71
|
.duet-submenu-bar-dropdown-link.duet-theme-turva {
|
|
77
72
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
78
73
|
color: rgb(23, 28, 58);
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
margin: 0 28px;
|
|
42
42
|
border-bottom: 1px solid rgb(225, 227, 230);
|
|
43
43
|
}
|
|
44
|
-
.duet-toolbar
|
|
44
|
+
.duet-toolbar .list {
|
|
45
45
|
display: flex;
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: space-between;
|
|
48
48
|
height: 100%;
|
|
49
49
|
list-style-type: none;
|
|
50
50
|
}
|
|
51
|
-
.duet-toolbar
|
|
51
|
+
.duet-toolbar ::slotted(*) {
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
54
|
justify-content: center;
|
|
@@ -59,7 +59,4 @@
|
|
|
59
59
|
}
|
|
60
60
|
.duet-toolbar.duet-theme-turva .container {
|
|
61
61
|
border-bottom: 1px solid rgb(228, 228, 230);
|
|
62
|
-
}
|
|
63
|
-
.duet-toolbar .hide {
|
|
64
|
-
display: none;
|
|
65
62
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
/**
|
|
7
7
|
* @slot left - Slot for content in left side.
|
|
@@ -9,22 +9,6 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
9
9
|
*/
|
|
10
10
|
export class DuetToolbar {
|
|
11
11
|
constructor() {
|
|
12
|
-
/**
|
|
13
|
-
* Own Properties.
|
|
14
|
-
*/
|
|
15
|
-
this.observers = [];
|
|
16
|
-
this.setChildren = (children) => {
|
|
17
|
-
for (const child of children) {
|
|
18
|
-
if (child.getAttribute("slot") === "left") {
|
|
19
|
-
this.leftSlotChildren = Array.from(child.children);
|
|
20
|
-
}
|
|
21
|
-
else if (child.getAttribute("slot") === "right") {
|
|
22
|
-
this.rightSlotChildren = Array.from(child.children);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
this.leftSlotChildren = [];
|
|
27
|
-
this.rightSlotChildren = [];
|
|
28
12
|
this.theme = "";
|
|
29
13
|
this.accessibleLabel = undefined;
|
|
30
14
|
}
|
|
@@ -33,38 +17,26 @@ export class DuetToolbar {
|
|
|
33
17
|
*/
|
|
34
18
|
componentWillLoad() {
|
|
35
19
|
inheritGlobalTheme(this);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
subtree: true,
|
|
49
|
-
attributes: true,
|
|
50
|
-
characterData: true,
|
|
51
|
-
});
|
|
52
|
-
this.observers = [...this.observers, observer];
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
disconnectedCallback() {
|
|
56
|
-
if (Build.isServer) {
|
|
57
|
-
return;
|
|
20
|
+
const children = Array.from(this.element.children);
|
|
21
|
+
for (const child of children) {
|
|
22
|
+
if (child.getAttribute("slot") === "left") {
|
|
23
|
+
for (const slotChild of Array.from(child.children)) {
|
|
24
|
+
slotChild.setAttribute("role", "listitem");
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
else if (child.getAttribute("slot") === "right") {
|
|
28
|
+
for (const slotChild of Array.from(child.children)) {
|
|
29
|
+
slotChild.setAttribute("role", "listitem");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
58
32
|
}
|
|
59
|
-
this.observers.forEach(observer => observer.disconnect());
|
|
60
|
-
this.observers = [];
|
|
61
33
|
}
|
|
62
34
|
/**
|
|
63
35
|
* render() function
|
|
64
36
|
* Always the last one in the class.
|
|
65
37
|
*/
|
|
66
38
|
render() {
|
|
67
|
-
return (h(Host, null, h("nav", { class: { "duet-toolbar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("div", { class: "container" }, h("
|
|
39
|
+
return (h(Host, null, h("nav", { class: { "duet-toolbar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("div", { class: "container" }, h("div", { class: "list", role: "list" }, h("slot", { name: "left" })), h("div", { class: "list", role: "list" }, h("slot", { name: "right" }))))));
|
|
68
40
|
}
|
|
69
41
|
static get is() { return "duet-toolbar"; }
|
|
70
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -122,11 +94,5 @@ export class DuetToolbar {
|
|
|
122
94
|
}
|
|
123
95
|
};
|
|
124
96
|
}
|
|
125
|
-
static get states() {
|
|
126
|
-
return {
|
|
127
|
-
"leftSlotChildren": {},
|
|
128
|
-
"rightSlotChildren": {}
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
97
|
static get elementRef() { return "element"; }
|
|
132
98
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-0853da89.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-35c660bf.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-799100e3.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-0f07edcd.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-cefc1697.js';
|
|
7
7
|
|
|
8
8
|
const duetBreadcrumbCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:rgb(0, 41, 77);text-decoration:none}.duet-breadcrumb:hover{color:rgb(0, 77, 128)}.duet-breadcrumb.duet-theme-turva{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-theme-turva:hover{color:rgb(148, 9, 37)}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:hover{color:rgb(0, 41, 77)}.duet-breadcrumb.duet-breadcrumb-without-href.duet-theme-turva:hover{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:active{opacity:1}";
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-0f07edcd.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getLocaleString } from './p-6c05e879.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-cefc1697.js';
|
|
8
8
|
|
|
9
9
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-23e46e22.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-03367341.js';
|
|
5
5
|
|
|
6
6
|
const DuetCaption = DuetCaption$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-0f07edcd.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
8
8
|
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
9
9
|
import { g as getColorByName } from './p-9ed347f9.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-cefc1697.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-e95c3a28.js';
|
|
12
12
|
|
|
13
13
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
14
14
|
const duetBlock = "div";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-35d1520f.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-2bfc9c26.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckmark = DuetCheckmark$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-0f07edcd.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { f as findCheckedOption, w as watchForOptions } from './p-12721178.js';
|
|
7
|
-
import { d as defineCustomElement$6 } from './p-
|
|
8
|
-
import { d as defineCustomElement$5 } from './p-
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$6 } from './p-03367341.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-48ee4427.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-cefc1697.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-8563290f.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-eabaa24d.js';
|
|
12
12
|
|
|
13
13
|
const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
14
14
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0f07edcd.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
8
|
import { F as FocusGuard } from './p-efaad71c.js';
|
|
9
9
|
import { i as isKeyboardClick, a as isQuestionKey, b as isEscapeKey } from './p-d8549efe.js';
|
|
10
10
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
|
|
11
|
-
import { d as defineCustomElement$5 } from './p-
|
|
12
|
-
import { d as defineCustomElement$4 } from './p-
|
|
13
|
-
import { d as defineCustomElement$3 } from './p-
|
|
14
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$5 } from './p-03367341.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-cefc1697.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-e95c3a28.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-eabaa24d.js';
|
|
15
15
|
|
|
16
16
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
17
17
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0f07edcd.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { f as font_size_medium, t as tokens } from './p-c4d8cad0.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
8
8
|
import { c as createID } from './p-c1325e35.js';
|
|
9
9
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
10
10
|
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-cefc1697.js';
|
|
12
12
|
|
|
13
13
|
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{flex:0 auto;min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{flex:1 0 auto;margin-left:16px}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
|
|
14
14
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-0f07edcd.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { d as debounce } from './p-0b3f675e.js';
|
|
7
7
|
import { c as isEnterKey, b as isEscapeKey, d as isTabKey, e as isArrowUpKey, f as isArrowDownKey } from './p-d8549efe.js';
|
|
8
8
|
import { g as getLocaleString, a as getLanguage } from './p-6c05e879.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
10
10
|
import { h, F as Fragment } from './p-152ee893.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-cefc1697.js';
|
|
12
12
|
|
|
13
13
|
const SelectSingle = ({ item, search = "", selected }) => {
|
|
14
14
|
const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
|
|
@@ -82,6 +82,7 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
82
82
|
this.value = undefined;
|
|
83
83
|
this.minCharacters = 1;
|
|
84
84
|
this.openListOnClick = false;
|
|
85
|
+
this.filterType = "startsWith";
|
|
85
86
|
}
|
|
86
87
|
activeItemHandler(state) {
|
|
87
88
|
this.input.accessibleActiveDescendant = this.listOpen && (state || state === 0) ? `active_item` : "";
|
|
@@ -319,10 +320,10 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
319
320
|
var _a, _b, _c, _d;
|
|
320
321
|
// filter by name and value
|
|
321
322
|
// if value contains inputvalue
|
|
322
|
-
return ((_a = String(item.value)) === null || _a === void 0 ? void 0 : _a.toLowerCase().
|
|
323
|
+
return ((_a = String(item.value)) === null || _a === void 0 ? void 0 : _a.toLowerCase()[this.filterType]((_b = this.inputValue) === null || _b === void 0 ? void 0 : _b.toLowerCase())) ||
|
|
323
324
|
(
|
|
324
325
|
// if name contains input value
|
|
325
|
-
(_c = String(item.name)) === null || _c === void 0 ? void 0 : _c.toLowerCase().
|
|
326
|
+
(_c = String(item.name)) === null || _c === void 0 ? void 0 : _c.toLowerCase()[this.filterType]((_d = this.inputValue) === null || _d === void 0 ? void 0 : _d.toLowerCase())) ||
|
|
326
327
|
// if the item is selected
|
|
327
328
|
this.selectedItems.has(item.id);
|
|
328
329
|
});
|
|
@@ -377,6 +378,7 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
377
378
|
"value": [1537],
|
|
378
379
|
"minCharacters": [2, "min-characters"],
|
|
379
380
|
"openListOnClick": [4, "open-list-on-click"],
|
|
381
|
+
"filterType": [1, "filter-type"],
|
|
380
382
|
"processedItems": [32],
|
|
381
383
|
"inputWidth": [32],
|
|
382
384
|
"inputValue": [32],
|