@duetds/components 6.8.6 → 6.8.7
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 +95 -20
- 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 +3 -3
- 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 +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- 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 +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 +1 -1
- 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 +2 -2
- 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 +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 +34 -5
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +6 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +26 -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 +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +39 -3
- 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-e3004898.js → focus-utils-b501431f.js} +1 -1
- package/lib/cjs/{index-1d72531b.js → index-13388615.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +17 -9
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +1 -1
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +67 -10
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +14 -4
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +58 -4
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +3 -1
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +15 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +50 -4
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +67 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +19 -1
- 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 +4 -4
- 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 +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +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 +10 -10
- 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 +39 -7
- 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 +2 -2
- 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 +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +6 -4
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +29 -5
- 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 +5 -3
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +43 -4
- 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-d56e25b8.js → p-05af1562.js} +1 -1
- package/lib/dist-custom-elements/{p-077f3d0f.js → p-136bba51.js} +1 -1
- package/lib/dist-custom-elements/{p-a4fc8229.js → p-1460a593.js} +1 -1
- package/lib/dist-custom-elements/{p-46027643.js → p-15a0e9fd.js} +3 -3
- package/lib/dist-custom-elements/{p-f8f93c32.js → p-18ecc42e.js} +3 -3
- package/lib/dist-custom-elements/{p-1bb1bc0f.js → p-19150a67.js} +1 -1
- package/lib/dist-custom-elements/{p-023342e9.js → p-194c6d5b.js} +1 -1
- package/lib/dist-custom-elements/{p-068064d2.js → p-1cbf685d.js} +1 -1
- package/lib/dist-custom-elements/{p-c6743310.js → p-29949e1b.js} +1 -1
- package/lib/dist-custom-elements/{p-32e43a11.js → p-30637273.js} +4 -4
- package/lib/dist-custom-elements/{p-1f065f44.js → p-3644a561.js} +1 -1
- package/lib/dist-custom-elements/{p-58fa2020.js → p-4672eb29.js} +2 -2
- package/lib/dist-custom-elements/{p-a9c9cbc3.js → p-4a21157d.js} +2 -2
- package/lib/dist-custom-elements/{p-46998408.js → p-4d8d1b92.js} +1 -1
- package/lib/dist-custom-elements/{p-8198ee17.js → p-5146b16a.js} +1 -1
- package/lib/dist-custom-elements/{p-6bfd97a0.js → p-5343b436.js} +2 -2
- package/lib/dist-custom-elements/{p-a64f3e9c.js → p-5e8a98c7.js} +2 -2
- package/lib/dist-custom-elements/{p-28141fe5.js → p-68ebd7ae.js} +6 -6
- package/lib/dist-custom-elements/{p-6713af30.js → p-69659e26.js} +1 -1
- package/lib/dist-custom-elements/{p-998f0e68.js → p-7180327e.js} +1 -1
- package/lib/dist-custom-elements/{p-1dcfcc9f.js → p-7c186545.js} +8 -8
- package/lib/dist-custom-elements/{p-10bc90a5.js → p-7c5c5437.js} +1 -1
- package/lib/dist-custom-elements/{p-86bdfc5f.js → p-8b969843.js} +1 -1
- package/lib/dist-custom-elements/{p-40818933.js → p-950410b7.js} +2 -2
- package/lib/dist-custom-elements/{p-33ba43e1.js → p-9c053778.js} +1 -1
- package/lib/dist-custom-elements/{p-9340fc7c.js → p-a4e7ed86.js} +1 -1
- package/lib/dist-custom-elements/{p-c94512a3.js → p-d0fad319.js} +3 -3
- package/lib/dist-custom-elements/{p-81d240e1.js → p-d307a46b.js} +1 -1
- package/lib/dist-custom-elements/{p-56443db2.js → p-d4fea7f4.js} +1 -1
- package/lib/dist-custom-elements/{p-de338e31.js → p-e67ec38e.js} +5 -5
- package/lib/dist-custom-elements/{p-bc2fe9f9.js → p-f316bb52.js} +1 -1
- package/lib/dist-custom-elements/{p-2b97f950.js → p-fdc72d0f.js} +7 -7
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-26b45af6.system.entry.js → p-01aaa7a2.system.entry.js} +1 -1
- package/lib/duet/{p-56f04d8b.system.entry.js → p-028ec3d7.system.entry.js} +1 -1
- package/lib/duet/{p-653c4b81.system.entry.js → p-0614e1c5.system.entry.js} +1 -1
- package/lib/duet/{p-4a820e40.entry.js → p-0a996015.entry.js} +1 -1
- package/lib/duet/{p-af645d50.system.entry.js → p-0d2741c1.system.entry.js} +1 -1
- package/lib/duet/{p-0478aca4.js → p-10ea9dce.js} +1 -1
- package/lib/duet/{p-a7d8d000.system.entry.js → p-12970382.system.entry.js} +1 -1
- package/lib/duet/{p-5e1d86aa.entry.js → p-13409919.entry.js} +1 -1
- package/lib/duet/{p-5eee6f5b.system.entry.js → p-13815abb.system.entry.js} +1 -1
- package/lib/duet/{p-e98a91bd.system.entry.js → p-14fa519e.system.entry.js} +1 -1
- package/lib/duet/{p-751cded7.entry.js → p-1503bfe4.entry.js} +1 -1
- package/lib/duet/p-1585e4fa.entry.js +4 -0
- package/lib/duet/{p-dafbf164.entry.js → p-161ddf06.entry.js} +1 -1
- package/lib/duet/{p-637954d3.entry.js → p-17baf252.entry.js} +1 -1
- package/lib/duet/{p-2c385164.system.entry.js → p-187153ca.system.entry.js} +1 -1
- package/lib/duet/{p-de7c93e6.system.entry.js → p-18e72b2c.system.entry.js} +1 -1
- package/lib/duet/{p-4bce10fd.entry.js → p-19a7afea.entry.js} +1 -1
- package/lib/duet/{p-34b4940f.entry.js → p-19ee06ab.entry.js} +1 -1
- package/lib/duet/{p-5127875a.entry.js → p-1b8a0131.entry.js} +1 -1
- package/lib/duet/{p-52598698.entry.js → p-1e130f27.entry.js} +1 -1
- package/lib/duet/{p-3bcc21b1.entry.js → p-1ede9679.entry.js} +1 -1
- package/lib/duet/{p-9d6beb46.entry.js → p-1f912fb4.entry.js} +1 -1
- package/lib/duet/{p-53db1b2d.entry.js → p-208d4e98.entry.js} +1 -1
- package/lib/duet/{p-d3bb4cd0.system.entry.js → p-255f1542.system.entry.js} +1 -1
- package/lib/duet/{p-1ca5d9c9.system.entry.js → p-25e10b51.system.entry.js} +1 -1
- package/lib/duet/p-25f14ac5.system.entry.js +4 -0
- package/lib/duet/{p-98ac3517.system.entry.js → p-2718896c.system.entry.js} +1 -1
- package/lib/duet/{p-def5eefd.system.entry.js → p-28d6f291.system.entry.js} +1 -1
- package/lib/duet/{p-e3f9f86d.entry.js → p-2bd4d42d.entry.js} +1 -1
- package/lib/duet/{p-85652a95.system.entry.js → p-2e119045.system.entry.js} +1 -1
- package/lib/duet/p-2e394748.system.entry.js +4 -0
- package/lib/duet/p-323d22b9.entry.js +4 -0
- package/lib/duet/p-330febf7.entry.js +4 -0
- package/lib/duet/{p-af878746.system.entry.js → p-35c0d8e2.system.entry.js} +1 -1
- package/lib/duet/{p-73941510.entry.js → p-3baf3dcc.entry.js} +1 -1
- package/lib/duet/{p-6a186073.system.entry.js → p-3bf4a093.system.entry.js} +1 -1
- package/lib/duet/{p-7ca90a39.entry.js → p-3ca9a002.entry.js} +1 -1
- package/lib/duet/{p-115bc126.system.entry.js → p-3d2bcd2e.system.entry.js} +1 -1
- package/lib/duet/{p-317e511d.entry.js → p-3f4fcae9.entry.js} +1 -1
- package/lib/duet/{p-29a36b0d.system.entry.js → p-427f78f8.system.entry.js} +1 -1
- package/lib/duet/{p-baa83969.system.entry.js → p-433fb103.system.entry.js} +1 -1
- package/lib/duet/{p-384cd404.entry.js → p-488f5515.entry.js} +1 -1
- package/lib/duet/{p-118c2455.entry.js → p-4a2569f0.entry.js} +1 -1
- package/lib/duet/{p-c0e762c5.entry.js → p-4aae5fa5.entry.js} +1 -1
- package/lib/duet/{p-c2691df5.entry.js → p-508e5f90.entry.js} +1 -1
- package/lib/duet/{p-b9ff52c3.system.entry.js → p-54083f7e.system.entry.js} +1 -1
- package/lib/duet/{p-a6da9ebd.system.entry.js → p-56bdca95.system.entry.js} +1 -1
- package/lib/duet/{p-23e3e56f.entry.js → p-579feef2.entry.js} +1 -1
- package/lib/duet/{p-008e926c.system.entry.js → p-5d12bac3.system.entry.js} +1 -1
- package/lib/duet/{p-7033077c.entry.js → p-5eca64bb.entry.js} +1 -1
- package/lib/duet/{p-547f0190.entry.js → p-5f5191d3.entry.js} +1 -1
- package/lib/duet/{p-70e3e285.system.entry.js → p-65438201.system.entry.js} +1 -1
- package/lib/duet/p-65d31e27.entry.js +4 -0
- package/lib/duet/{p-78538446.system.entry.js → p-669cf7dd.system.entry.js} +1 -1
- package/lib/duet/{p-7bd0998b.entry.js → p-69542357.entry.js} +1 -1
- package/lib/duet/{p-131a09ef.system.entry.js → p-69d5c27d.system.entry.js} +1 -1
- package/lib/duet/{p-e403da27.entry.js → p-69f480e1.entry.js} +1 -1
- package/lib/duet/{p-3d9462b2.system.entry.js → p-6a9f3539.system.entry.js} +1 -1
- package/lib/duet/{p-680fe6e2.entry.js → p-6dc4a6b7.entry.js} +1 -1
- package/lib/duet/p-72abda3c.entry.js +4 -0
- package/lib/duet/{p-3d283bed.system.entry.js → p-7770a36f.system.entry.js} +1 -1
- package/lib/duet/{p-2885dc4f.system.entry.js → p-778ac454.system.entry.js} +1 -1
- package/lib/duet/{p-2c8ec5dc.entry.js → p-780a75a2.entry.js} +1 -1
- package/lib/duet/{p-c6ab65e4.system.entry.js → p-78bc14ae.system.entry.js} +1 -1
- package/lib/duet/{p-3466ab1a.system.entry.js → p-796ba871.system.entry.js} +1 -1
- package/lib/duet/{p-187f61a9.entry.js → p-7b5cc047.entry.js} +1 -1
- package/lib/duet/p-7f317b88.entry.js +4 -0
- package/lib/duet/{p-ea3cb1bd.entry.js → p-7fce8695.entry.js} +1 -1
- package/lib/duet/{p-a2eb4c1f.entry.js → p-80d61c0b.entry.js} +1 -1
- package/lib/duet/{p-2e65c35d.system.entry.js → p-8155e4f7.system.entry.js} +1 -1
- package/lib/duet/{p-9bfe1254.system.entry.js → p-823197ed.system.entry.js} +1 -1
- package/lib/duet/{p-1de4480f.system.entry.js → p-8232b1d5.system.entry.js} +1 -1
- package/lib/duet/{p-6e02f332.entry.js → p-82be0673.entry.js} +1 -1
- package/lib/duet/{p-2357cbb2.system.entry.js → p-851ad654.system.entry.js} +1 -1
- package/lib/duet/{p-e653cfd1.system.entry.js → p-85c6f600.system.entry.js} +1 -1
- package/lib/duet/p-8a4ed826.entry.js +4 -0
- package/lib/duet/{p-96befdd7.system.entry.js → p-8abf9da5.system.entry.js} +1 -1
- package/lib/duet/{p-c21e0220.system.entry.js → p-8b2728c2.system.entry.js} +1 -1
- package/lib/duet/{p-8f3e2da9.entry.js → p-8bded27b.entry.js} +1 -1
- package/lib/duet/{p-3a8973fc.entry.js → p-8c4d279b.entry.js} +1 -1
- package/lib/duet/{p-1af44cd7.system.entry.js → p-90cfdbb8.system.entry.js} +1 -1
- package/lib/duet/{p-a1d584e5.entry.js → p-94244bf4.entry.js} +1 -1
- package/lib/duet/{p-64a196c8.entry.js → p-957af858.entry.js} +1 -1
- package/lib/duet/{p-33df50af.system.entry.js → p-9780467a.system.entry.js} +1 -1
- package/lib/duet/p-97c4ff91.entry.js +4 -0
- package/lib/duet/{p-02402b1d.system.entry.js → p-99a34692.system.entry.js} +1 -1
- package/lib/duet/p-9ae7a189.js +4 -0
- package/lib/duet/{p-3c02b40c.system.entry.js → p-9d040ae3.system.entry.js} +1 -1
- package/lib/duet/{p-e7505450.system.entry.js → p-9e97cd91.system.entry.js} +1 -1
- package/lib/duet/{p-8b0af3a4.entry.js → p-a132127e.entry.js} +1 -1
- package/lib/duet/{p-2ff2f7ab.entry.js → p-a16eed4d.entry.js} +1 -1
- package/lib/duet/p-a36d502c.system.entry.js +4 -0
- package/lib/duet/p-a842a56f.entry.js +4 -0
- package/lib/duet/{p-d2ea6a49.system.entry.js → p-a8964560.system.entry.js} +1 -1
- package/lib/duet/{p-f94c7bd2.system.entry.js → p-aaf64918.system.entry.js} +1 -1
- package/lib/duet/{p-00052a21.entry.js → p-adcd531d.entry.js} +1 -1
- package/lib/duet/{p-441bf2f7.system.entry.js → p-b26d675a.system.entry.js} +1 -1
- package/lib/duet/{p-d5add2a1.entry.js → p-b672f754.entry.js} +1 -1
- package/lib/duet/{p-b03452eb.system.js → p-b8735715.system.js} +1 -1
- package/lib/duet/{p-90aef7eb.entry.js → p-bac833e6.entry.js} +1 -1
- package/lib/duet/{p-fa00dc57.system.entry.js → p-bc1d488f.system.entry.js} +1 -1
- package/lib/duet/{p-cfa12307.system.entry.js → p-bc75a8d1.system.entry.js} +1 -1
- package/lib/duet/{p-1e404cf1.entry.js → p-bdb56679.entry.js} +1 -1
- package/lib/duet/{p-dfbb9078.system.entry.js → p-bf01b2a3.system.entry.js} +1 -1
- package/lib/duet/{p-3db2790b.system.entry.js → p-bf4f657d.system.entry.js} +1 -1
- package/lib/duet/{p-91417a9a.entry.js → p-c1d00a72.entry.js} +1 -1
- package/lib/duet/{p-733c0420.system.entry.js → p-c38a3306.system.entry.js} +1 -1
- package/lib/duet/{p-9fdfdaed.system.entry.js → p-c6eb7ed0.system.entry.js} +1 -1
- package/lib/duet/{p-20310f15.system.entry.js → p-c83c936f.system.entry.js} +1 -1
- package/lib/duet/p-c86d2229.entry.js +4 -0
- package/lib/duet/{p-355f2ced.system.entry.js → p-d2cfb003.system.entry.js} +1 -1
- package/lib/duet/{p-d11642a4.system.entry.js → p-d339f6db.system.entry.js} +1 -1
- package/lib/duet/{p-fad0a3b6.entry.js → p-d40a7872.entry.js} +1 -1
- package/lib/duet/{p-0d47b5d0.system.js → p-d5af9e03.system.js} +1 -1
- package/lib/duet/{p-0ee9fe5a.system.entry.js → p-d6641757.system.entry.js} +1 -1
- package/lib/duet/{p-c99dff59.system.entry.js → p-d7bb0434.system.entry.js} +1 -1
- package/lib/duet/{p-b1aa9b0e.entry.js → p-d9aaf1e7.entry.js} +1 -1
- package/lib/duet/{p-ecb016d1.entry.js → p-dafad527.entry.js} +1 -1
- package/lib/duet/{p-24266786.system.entry.js → p-dc332689.system.entry.js} +1 -1
- package/lib/duet/{p-b6f1722a.entry.js → p-dc372b0d.entry.js} +1 -1
- package/lib/duet/{p-bd5a23ad.entry.js → p-de7b708f.entry.js} +1 -1
- package/lib/duet/{p-5704bea4.entry.js → p-dfe03aaa.entry.js} +1 -1
- package/lib/duet/{p-95770ba7.entry.js → p-e42ab7c6.entry.js} +1 -1
- package/lib/duet/{p-d6bf59f8.entry.js → p-e4a11340.entry.js} +1 -1
- package/lib/duet/p-e5151a14.system.entry.js +4 -0
- package/lib/duet/{p-abf85b30.system.entry.js → p-e5489bc7.system.entry.js} +1 -1
- package/lib/duet/{p-6843534a.entry.js → p-e73ce021.entry.js} +1 -1
- package/lib/duet/{p-f02f252c.entry.js → p-e819b8fb.entry.js} +1 -1
- package/lib/duet/p-ead52cf7.system.js +4 -0
- package/lib/duet/{p-d7890385.entry.js → p-f2e37eed.entry.js} +1 -1
- package/lib/duet/{p-914cd18e.entry.js → p-f3494bcf.entry.js} +1 -1
- package/lib/duet/{p-eaa14406.entry.js → p-f4804f02.entry.js} +1 -1
- package/lib/duet/{p-0c647794.system.entry.js → p-f4db2b86.system.entry.js} +1 -1
- package/lib/duet/{p-716f6b7f.system.entry.js → p-f7fbbc35.system.entry.js} +1 -1
- package/lib/duet/{p-6303e2c2.system.entry.js → p-f9e966e7.system.entry.js} +1 -1
- package/lib/duet/{p-34a536c5.entry.js → p-fa52d2f1.entry.js} +1 -1
- package/lib/duet/p-fcd74652.system.entry.js +4 -0
- 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 +3 -3
- 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 +1 -1
- 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 +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +34 -5
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +6 -4
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +26 -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 +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -2
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +39 -3
- 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-038f6536.js → focus-utils-6b1704b1.js} +1 -1
- package/lib/esm/{index-0237f6f4.js → index-b024f5b5.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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +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 +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +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 +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-038f6536.js → focus-utils-6b1704b1.js} +1 -1
- package/lib/esm-es5/{index-0237f6f4.js → index-b024f5b5.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +10 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +9 -0
- package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +12 -0
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +6 -0
- package/lib/types/components.d.ts +32 -0
- package/package.json +5 -5
- package/lib/duet/p-0135d3be.entry.js +0 -4
- package/lib/duet/p-01f704c5.system.entry.js +0 -4
- package/lib/duet/p-0ac82243.system.js +0 -4
- package/lib/duet/p-0f76b544.js +0 -4
- package/lib/duet/p-0fae73be.system.entry.js +0 -4
- package/lib/duet/p-33ffc418.entry.js +0 -4
- package/lib/duet/p-44e0cb33.system.entry.js +0 -4
- package/lib/duet/p-5c4e7535.entry.js +0 -4
- package/lib/duet/p-70df605a.entry.js +0 -4
- package/lib/duet/p-72a74500.entry.js +0 -4
- package/lib/duet/p-73058322.entry.js +0 -4
- package/lib/duet/p-7af1ae76.entry.js +0 -4
- package/lib/duet/p-8761c920.system.entry.js +0 -4
- package/lib/duet/p-91cb169e.entry.js +0 -4
- package/lib/duet/p-a9d4d0e3.system.entry.js +0 -4
- package/lib/duet/p-b09de818.entry.js +0 -4
- package/lib/duet/p-edc3786b.entry.js +0 -4
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
.duet-slideout.duet-theme-turva button.active::after {
|
|
141
141
|
background: rgb(198, 12, 48);
|
|
142
142
|
}
|
|
143
|
-
.duet-slideout .dialog .top button:focus {
|
|
143
|
+
.duet-slideout.duet-theme-turva .dialog .top button:focus {
|
|
144
144
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
145
145
|
}
|
|
146
146
|
|
|
@@ -14,6 +14,7 @@ export class DuetSlideout {
|
|
|
14
14
|
fi: "Poistu valikosta",
|
|
15
15
|
sv: "Avsluta menyn",
|
|
16
16
|
};
|
|
17
|
+
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
17
18
|
this.toggleMenu = (e) => {
|
|
18
19
|
const toggle = !this.open;
|
|
19
20
|
this.open = toggle;
|
|
@@ -30,6 +31,7 @@ export class DuetSlideout {
|
|
|
30
31
|
}
|
|
31
32
|
else {
|
|
32
33
|
setTimeout(() => {
|
|
34
|
+
console.log("focus to close button");
|
|
33
35
|
this.closeButton.focus();
|
|
34
36
|
}, 200);
|
|
35
37
|
}
|
|
@@ -120,7 +122,7 @@ export class DuetSlideout {
|
|
|
120
122
|
hidden: !this.open,
|
|
121
123
|
}, onClick: () => {
|
|
122
124
|
this.open = false;
|
|
123
|
-
} }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal":
|
|
125
|
+
} }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "menubar", class: {
|
|
124
126
|
dialog: true,
|
|
125
127
|
hidden: !this.open,
|
|
126
128
|
}, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
@@ -35,7 +35,7 @@ export class DuetSlideoutLang {
|
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
37
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
38
|
-
return (h(Host, null, h("div", { class: "duet-slideout-lang",
|
|
38
|
+
return (h(Host, null, h("div", { class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { name: "navigation-language", margin: "none", color: "secondary" }), h("slot", null))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-slideout-lang"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,6 +96,12 @@
|
|
|
96
96
|
border-bottom: 1px solid rgb(207, 210, 212);
|
|
97
97
|
transition: 300ms ease;
|
|
98
98
|
}
|
|
99
|
+
.duet-submenu-bar .items ul {
|
|
100
|
+
list-style-type: none;
|
|
101
|
+
}
|
|
102
|
+
.duet-submenu-bar .items li {
|
|
103
|
+
position: relative;
|
|
104
|
+
}
|
|
99
105
|
.duet-submenu-bar .items.hidden {
|
|
100
106
|
max-height: 0;
|
|
101
107
|
overflow: hidden;
|
|
@@ -104,6 +110,12 @@
|
|
|
104
110
|
transition: 300ms ease;
|
|
105
111
|
}
|
|
106
112
|
@media (min-width: 62em) {
|
|
113
|
+
.duet-submenu-bar .items ul {
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: space-between;
|
|
117
|
+
height: 100%;
|
|
118
|
+
}
|
|
107
119
|
.duet-submenu-bar .items, .duet-submenu-bar .items.hidden {
|
|
108
120
|
position: static;
|
|
109
121
|
z-index: auto;
|
|
@@ -127,4 +139,7 @@
|
|
|
127
139
|
}
|
|
128
140
|
.duet-submenu-bar.duet-theme-turva .items {
|
|
129
141
|
background: rgb(245, 245, 247);
|
|
142
|
+
}
|
|
143
|
+
.duet-submenu-bar .hide {
|
|
144
|
+
display: none;
|
|
130
145
|
}
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
|
-
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { Build, 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
|
+
};
|
|
11
15
|
this.changeAriaProperties = () => {
|
|
12
16
|
if (this.mql[0].matches) {
|
|
13
17
|
this.mobile = false;
|
|
@@ -20,8 +24,10 @@ export class DuetSubmenuBar {
|
|
|
20
24
|
this.open = !this.open;
|
|
21
25
|
};
|
|
22
26
|
this.mobile = true;
|
|
27
|
+
this.slotChildren = [];
|
|
23
28
|
this.theme = "";
|
|
24
29
|
this.open = false;
|
|
30
|
+
this.accessibleLabel = undefined;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Component lifecycle events.
|
|
@@ -39,6 +45,21 @@ export class DuetSubmenuBar {
|
|
|
39
45
|
this.boundMqlFunctions[i] = bound;
|
|
40
46
|
}
|
|
41
47
|
}
|
|
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
|
+
});
|
|
42
63
|
}
|
|
43
64
|
disconnectedCallback() {
|
|
44
65
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -48,6 +69,11 @@ export class DuetSubmenuBar {
|
|
|
48
69
|
}
|
|
49
70
|
}
|
|
50
71
|
this.boundMqlFunctions = [];
|
|
72
|
+
if (Build.isServer) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
this.observers.forEach(observer => observer.disconnect());
|
|
76
|
+
this.observers = [];
|
|
51
77
|
}
|
|
52
78
|
/**
|
|
53
79
|
* Sets focus. Use this method instead of the global focus().
|
|
@@ -60,12 +86,14 @@ export class DuetSubmenuBar {
|
|
|
60
86
|
* Always the last one in the class.
|
|
61
87
|
*/
|
|
62
88
|
render() {
|
|
63
|
-
return (h(Host, null, h("
|
|
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: {
|
|
64
90
|
active: this.open,
|
|
65
91
|
}, 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: {
|
|
66
92
|
items: true,
|
|
67
93
|
hidden: !this.open,
|
|
68
|
-
} }, h("
|
|
94
|
+
} }, h("ul", null, this.slotChildren
|
|
95
|
+
.filter(child => !child.hasAttribute("slot"))
|
|
96
|
+
.map(child => (h("li", { innerHTML: child.outerHTML }))))), h("div", { class: "hide" }, h("slot", null)))));
|
|
69
97
|
}
|
|
70
98
|
static get is() { return "duet-submenu-bar"; }
|
|
71
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,12 +149,30 @@ export class DuetSubmenuBar {
|
|
|
121
149
|
"attribute": "open",
|
|
122
150
|
"reflect": true,
|
|
123
151
|
"defaultValue": "false"
|
|
152
|
+
},
|
|
153
|
+
"accessibleLabel": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"mutable": false,
|
|
156
|
+
"complexType": {
|
|
157
|
+
"original": "string",
|
|
158
|
+
"resolved": "string",
|
|
159
|
+
"references": {}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
166
|
+
},
|
|
167
|
+
"attribute": "accessible-label",
|
|
168
|
+
"reflect": false
|
|
124
169
|
}
|
|
125
170
|
};
|
|
126
171
|
}
|
|
127
172
|
static get states() {
|
|
128
173
|
return {
|
|
129
|
-
"mobile": {}
|
|
174
|
+
"mobile": {},
|
|
175
|
+
"slotChildren": {}
|
|
130
176
|
};
|
|
131
177
|
}
|
|
132
178
|
static get methods() {
|
|
@@ -41,7 +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 ul {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
height: 100%;
|
|
49
|
+
list-style-type: none;
|
|
50
|
+
}
|
|
51
|
+
.duet-toolbar li {
|
|
45
52
|
display: flex;
|
|
46
53
|
align-items: center;
|
|
47
54
|
justify-content: center;
|
|
@@ -52,4 +59,7 @@
|
|
|
52
59
|
}
|
|
53
60
|
.duet-toolbar.duet-theme-turva .container {
|
|
54
61
|
border-bottom: 1px solid rgb(228, 228, 230);
|
|
62
|
+
}
|
|
63
|
+
.duet-toolbar .hide {
|
|
64
|
+
display: none;
|
|
55
65
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, Host } from "@stencil/core";
|
|
4
|
+
import { Build, 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,20 +9,62 @@ 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 = [];
|
|
12
28
|
this.theme = "";
|
|
29
|
+
this.accessibleLabel = undefined;
|
|
13
30
|
}
|
|
14
31
|
/**
|
|
15
32
|
* Component lifecycle events.
|
|
16
33
|
*/
|
|
17
34
|
componentWillLoad() {
|
|
18
35
|
inheritGlobalTheme(this);
|
|
36
|
+
this.setChildren(Array.from(this.element.children));
|
|
37
|
+
}
|
|
38
|
+
connectedCallback() {
|
|
39
|
+
if (Build.isServer) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
Array.from(this.element.children).forEach(child => {
|
|
43
|
+
const observer = new MutationObserver(() => {
|
|
44
|
+
this.setChildren(Array.from(this.element.children));
|
|
45
|
+
});
|
|
46
|
+
observer.observe(child, {
|
|
47
|
+
childList: true,
|
|
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;
|
|
58
|
+
}
|
|
59
|
+
this.observers.forEach(observer => observer.disconnect());
|
|
60
|
+
this.observers = [];
|
|
19
61
|
}
|
|
20
62
|
/**
|
|
21
63
|
* render() function
|
|
22
64
|
* Always the last one in the class.
|
|
23
65
|
*/
|
|
24
66
|
render() {
|
|
25
|
-
return (h(Host, null, h("
|
|
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("ul", null, this.leftSlotChildren.map(child => (h("li", { innerHTML: child.outerHTML })))), h("ul", null, this.rightSlotChildren.map(child => (h("li", { innerHTML: child.outerHTML }))))), h("div", { class: "hide" }, h("slot", { name: "left" }), h("slot", { name: "right" })))));
|
|
26
68
|
}
|
|
27
69
|
static get is() { return "duet-toolbar"; }
|
|
28
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,8 +102,31 @@ export class DuetToolbar {
|
|
|
60
102
|
"attribute": "theme",
|
|
61
103
|
"reflect": false,
|
|
62
104
|
"defaultValue": "\"\""
|
|
105
|
+
},
|
|
106
|
+
"accessibleLabel": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"mutable": false,
|
|
109
|
+
"complexType": {
|
|
110
|
+
"original": "string",
|
|
111
|
+
"resolved": "string",
|
|
112
|
+
"references": {}
|
|
113
|
+
},
|
|
114
|
+
"required": false,
|
|
115
|
+
"optional": false,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
119
|
+
},
|
|
120
|
+
"attribute": "accessible-label",
|
|
121
|
+
"reflect": false
|
|
63
122
|
}
|
|
64
123
|
};
|
|
65
124
|
}
|
|
125
|
+
static get states() {
|
|
126
|
+
return {
|
|
127
|
+
"leftSlotChildren": {},
|
|
128
|
+
"rightSlotChildren": {}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
66
131
|
static get elementRef() { return "element"; }
|
|
67
132
|
}
|
|
@@ -10,6 +10,7 @@ export class DuetToolbarDropdown {
|
|
|
10
10
|
this.open = !this.open;
|
|
11
11
|
};
|
|
12
12
|
this.theme = "";
|
|
13
|
+
this.accessibleLabel = undefined;
|
|
13
14
|
this.active = false;
|
|
14
15
|
this.open = false;
|
|
15
16
|
this.icon = undefined;
|
|
@@ -51,7 +52,7 @@ export class DuetToolbarDropdown {
|
|
|
51
52
|
"duet-toolbar-dropdown": true,
|
|
52
53
|
"duet-theme-turva": this.theme === "turva",
|
|
53
54
|
[itemsAlign]: true,
|
|
54
|
-
} }, 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: {
|
|
55
|
+
} }, 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", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
55
56
|
active: this.active,
|
|
56
57
|
open: this.open,
|
|
57
58
|
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("div", { class: "label" }, 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: {
|
|
@@ -96,6 +97,23 @@ export class DuetToolbarDropdown {
|
|
|
96
97
|
"reflect": false,
|
|
97
98
|
"defaultValue": "\"\""
|
|
98
99
|
},
|
|
100
|
+
"accessibleLabel": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"mutable": false,
|
|
103
|
+
"complexType": {
|
|
104
|
+
"original": "string",
|
|
105
|
+
"resolved": "string",
|
|
106
|
+
"references": {}
|
|
107
|
+
},
|
|
108
|
+
"required": false,
|
|
109
|
+
"optional": false,
|
|
110
|
+
"docs": {
|
|
111
|
+
"tags": [],
|
|
112
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
113
|
+
},
|
|
114
|
+
"attribute": "accessible-label",
|
|
115
|
+
"reflect": false
|
|
116
|
+
},
|
|
99
117
|
"active": {
|
|
100
118
|
"type": "boolean",
|
|
101
119
|
"mutable": true,
|
|
@@ -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-15a0e9fd.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-e67ec38e.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-05af1562.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-9c053778.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-1460a593.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,14 +1,14 @@
|
|
|
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-9c053778.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-1460a593.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
|
|
|
11
|
-
const duetBreadcrumbsCss = "*,*::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}.duet-breadcrumbs{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-breadcrumbs ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px
|
|
11
|
+
const duetBreadcrumbsCss = "*,*::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-breadcrumbs{display:flex;align-items:center;justify-content:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-breadcrumbs .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:rgb(0, 41, 77);list-style:none}.duet-breadcrumbs ol li{font-weight:400}.duet-breadcrumbs ol li:last-of-type{font-weight:600}.duet-breadcrumbs.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\";background:rgb(245, 245, 247)}.duet-breadcrumbs.duet-theme-turva ol{color:rgb(23, 28, 58)}.duet-breadcrumbs .duet-breadrumbs-arrow{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumbs .hide{display:none}";
|
|
12
12
|
|
|
13
13
|
const DuetBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
14
14
|
constructor() {
|
|
@@ -55,7 +55,7 @@ const DuetBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
55
55
|
return (h(Host, null, h("nav", { "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
56
56
|
"duet-breadcrumbs": true,
|
|
57
57
|
"duet-theme-turva": this.theme === "turva",
|
|
58
|
-
} }, h("ol", null, this.children.map((child, index) => (h(Fragment, null, index > 0 && (h("li", { "aria-hidden": "true" }, h("duet-icon", { class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" }))), h("li", { innerHTML: child.outerHTML }), h("div", { class: "hide" }, h("slot", null)))))))));
|
|
58
|
+
} }, h("div", { class: "container" }, h("ol", null, this.children.map((child, index) => (h(Fragment, null, index > 0 && (h("li", { "aria-hidden": "true" }, h("duet-icon", { class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" }))), h("li", { innerHTML: child.outerHTML }), h("div", { class: "hide" }, h("slot", null))))))))));
|
|
59
59
|
}
|
|
60
60
|
get element() { return this; }
|
|
61
61
|
static get style() { return duetBreadcrumbsCss; }
|
|
@@ -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-30637273.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-69659e26.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-9c053778.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-1460a593.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-29949e1b.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-1cbf685d.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-19150a67.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-9c053778.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-69659e26.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-4a21157d.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-1460a593.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-d0fad319.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-d4fea7f4.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-9c053778.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-69659e26.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-1460a593.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-29949e1b.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-d4fea7f4.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-9c053778.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-1460a593.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-9c053778.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-1460a593.js';
|
|
12
12
|
|
|
13
13
|
const SelectSingle = ({ item, search = "", selected }) => {
|
|
14
14
|
const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
|
|
@@ -1,16 +1,16 @@
|
|
|
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-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
|
|
7
|
-
import { d as defineCustomElement$8 } from './p-
|
|
8
|
-
import { d as defineCustomElement$7 } from './p-
|
|
9
|
-
import { d as defineCustomElement$6 } from './p-
|
|
10
|
-
import { d as defineCustomElement$5 } from './p-
|
|
11
|
-
import { d as defineCustomElement$4 } from './p-
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
13
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$8 } from './p-30637273.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-f316bb52.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-1460a593.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-18ecc42e.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-8b969843.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-4d8d1b92.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-d4fea7f4.js';
|
|
14
14
|
|
|
15
15
|
const duetContactCardCss = "*,*::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:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;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)}.duet-contact-card.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)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;word-break:break-all}";
|
|
16
16
|
|
|
@@ -61,7 +61,7 @@ const DuetContactCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
61
61
|
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("div", { class: {
|
|
62
62
|
"duet-contact-card": true,
|
|
63
63
|
"duet-theme-turva": this.theme === "turva",
|
|
64
|
-
},
|
|
64
|
+
}, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", null, this.name && (h("duet-heading", { class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { class: "email" }, h("duet-icon", { name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { class: "phone" }, h("duet-icon", { name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { class: "call-to-action" }, h("duet-button", { variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", null), h("slot", null))));
|
|
65
65
|
}
|
|
66
66
|
get element() { return this; }
|
|
67
67
|
static get style() { return duetContactCardCss; }
|