@duetds/components 6.8.6 → 6.8.8
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 +96 -29
- 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 +4 -3
- 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 +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 +19 -4
- 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 +5 -4
- 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 +9 -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 +17 -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-ff93a6ec.js} +1 -1
- package/lib/cjs/{index-1d72531b.js → index-a3e8bc14.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-combobox/duet-combobox.js +21 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -1
- package/lib/collection/components/duet-hero/duet-hero.css +143 -22
- 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 +13 -6
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +51 -2
- 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 +2 -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 +9 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +24 -2
- 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 +7 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +32 -1
- 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 +6 -4
- 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 +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 +22 -5
- 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 +5 -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 +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 +11 -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 +19 -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-c6743310.js → p-0531827c.js} +1 -1
- package/lib/dist-custom-elements/{p-1bb1bc0f.js → p-0ca98fac.js} +1 -1
- package/lib/dist-custom-elements/{p-6713af30.js → p-11968273.js} +1 -1
- package/lib/dist-custom-elements/{p-d56e25b8.js → p-18928f76.js} +1 -1
- package/lib/dist-custom-elements/{p-1dcfcc9f.js → p-18eb8a09.js} +10 -10
- package/lib/dist-custom-elements/{p-1f065f44.js → p-2a5cb90a.js} +1 -1
- package/lib/dist-custom-elements/{p-6bfd97a0.js → p-321ebafe.js} +2 -2
- package/lib/dist-custom-elements/{p-86bdfc5f.js → p-4d94ed39.js} +1 -1
- package/lib/dist-custom-elements/{p-c94512a3.js → p-4de93a4d.js} +3 -3
- package/lib/dist-custom-elements/{p-56443db2.js → p-54680d09.js} +1 -1
- package/lib/dist-custom-elements/{p-33ba43e1.js → p-59650585.js} +1 -1
- package/lib/dist-custom-elements/{p-068064d2.js → p-5f6be181.js} +1 -1
- package/lib/dist-custom-elements/{p-2b97f950.js → p-6c7f6492.js} +12 -8
- package/lib/dist-custom-elements/{p-a64f3e9c.js → p-7f53cb7b.js} +2 -2
- package/lib/dist-custom-elements/{p-a9c9cbc3.js → p-8330affc.js} +2 -2
- package/lib/dist-custom-elements/{p-58fa2020.js → p-8b2b7e77.js} +2 -2
- package/lib/dist-custom-elements/{p-f8f93c32.js → p-94ae95da.js} +3 -3
- package/lib/dist-custom-elements/{p-8198ee17.js → p-95711e28.js} +1 -1
- package/lib/dist-custom-elements/{p-32e43a11.js → p-9a6eda30.js} +4 -4
- package/lib/dist-custom-elements/{p-9340fc7c.js → p-a50a98c7.js} +1 -1
- package/lib/dist-custom-elements/{p-077f3d0f.js → p-a93335f6.js} +19 -3
- package/lib/dist-custom-elements/{p-40818933.js → p-abff644a.js} +2 -2
- package/lib/dist-custom-elements/{p-bc2fe9f9.js → p-aecb0a5e.js} +1 -1
- package/lib/dist-custom-elements/{p-81d240e1.js → p-b4ecffcc.js} +1 -1
- package/lib/dist-custom-elements/{p-de338e31.js → p-bc53c84a.js} +5 -5
- package/lib/dist-custom-elements/{p-023342e9.js → p-c23454c0.js} +1 -1
- package/lib/dist-custom-elements/{p-10bc90a5.js → p-c45d78ad.js} +1 -1
- package/lib/dist-custom-elements/{p-a4fc8229.js → p-c9182b8c.js} +1 -1
- package/lib/dist-custom-elements/{p-46027643.js → p-d3e9fa79.js} +3 -3
- package/lib/dist-custom-elements/{p-998f0e68.js → p-e6c6717b.js} +1 -1
- package/lib/dist-custom-elements/{p-46998408.js → p-ea9a3c47.js} +1 -1
- package/lib/dist-custom-elements/{p-28141fe5.js → p-ebbe90a8.js} +6 -6
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-010b0c7e.entry.js +4 -0
- package/lib/duet/{p-53db1b2d.entry.js → p-02c7edd0.entry.js} +1 -1
- package/lib/duet/{p-5e1d86aa.entry.js → p-03731409.entry.js} +1 -1
- package/lib/duet/p-05226ce1.entry.js +4 -0
- package/lib/duet/{p-f94c7bd2.system.entry.js → p-08511b16.system.entry.js} +1 -1
- package/lib/duet/{p-b1aa9b0e.entry.js → p-092339f8.entry.js} +1 -1
- package/lib/duet/p-0bb66e24.entry.js +4 -0
- package/lib/duet/{p-f02f252c.entry.js → p-1070b759.entry.js} +1 -1
- package/lib/duet/{p-9bfe1254.system.entry.js → p-113f7afe.system.entry.js} +1 -1
- package/lib/duet/p-13b52e54.system.entry.js +4 -0
- package/lib/duet/{p-34a536c5.entry.js → p-1495babe.entry.js} +1 -1
- package/lib/duet/{p-2c8ec5dc.entry.js → p-167c6afa.entry.js} +1 -1
- package/lib/duet/{p-384cd404.entry.js → p-16dbbf0f.entry.js} +1 -1
- package/lib/duet/p-181c9320.entry.js +4 -0
- package/lib/duet/{p-bd5a23ad.entry.js → p-19a46ccc.entry.js} +1 -1
- package/lib/duet/p-1b417a81.entry.js +4 -0
- package/lib/duet/p-22476bd9.entry.js +4 -0
- package/lib/duet/{p-fa00dc57.system.entry.js → p-2469ec0a.system.entry.js} +1 -1
- package/lib/duet/{p-441bf2f7.system.entry.js → p-24c6dbed.system.entry.js} +1 -1
- package/lib/duet/{p-34b4940f.entry.js → p-259bb597.entry.js} +1 -1
- package/lib/duet/p-2abc31ff.system.entry.js +4 -0
- package/lib/duet/{p-914cd18e.entry.js → p-2c647f93.entry.js} +1 -1
- package/lib/duet/{p-1e404cf1.entry.js → p-2ca21c70.entry.js} +1 -1
- package/lib/duet/p-2e81a884.system.entry.js +4 -0
- package/lib/duet/{p-56f04d8b.system.entry.js → p-31510b9d.system.entry.js} +1 -1
- package/lib/duet/{p-de7c93e6.system.entry.js → p-32b7661a.system.entry.js} +1 -1
- package/lib/duet/{p-20310f15.system.entry.js → p-34e1a893.system.entry.js} +1 -1
- package/lib/duet/{p-d6bf59f8.entry.js → p-35ee3c02.entry.js} +1 -1
- package/lib/duet/{p-a2eb4c1f.entry.js → p-380c1b6d.entry.js} +1 -1
- package/lib/duet/{p-6303e2c2.system.entry.js → p-39948f72.system.entry.js} +1 -1
- package/lib/duet/{p-70e3e285.system.entry.js → p-3adeafd9.system.entry.js} +1 -1
- package/lib/duet/{p-af645d50.system.entry.js → p-3ce879c8.system.entry.js} +1 -1
- package/lib/duet/{p-c99dff59.system.entry.js → p-446287e7.system.entry.js} +1 -1
- package/lib/duet/{p-baa83969.system.entry.js → p-46493c73.system.entry.js} +1 -1
- package/lib/duet/{p-0f76b544.js → p-48bd2e8f.js} +1 -1
- package/lib/duet/{p-9fdfdaed.system.entry.js → p-494ddebc.system.entry.js} +1 -1
- package/lib/duet/{p-26b45af6.system.entry.js → p-49d4ca3a.system.entry.js} +1 -1
- package/lib/duet/{p-637954d3.entry.js → p-4b75977e.entry.js} +1 -1
- package/lib/duet/{p-3a8973fc.entry.js → p-4b873326.entry.js} +1 -1
- package/lib/duet/{p-b9ff52c3.system.entry.js → p-4c11dd19.system.entry.js} +1 -1
- package/lib/duet/{p-8f3e2da9.entry.js → p-4d14e835.entry.js} +1 -1
- package/lib/duet/{p-ecb016d1.entry.js → p-4f9a3272.entry.js} +1 -1
- package/lib/duet/{p-95770ba7.entry.js → p-5120cf45.entry.js} +1 -1
- package/lib/duet/{p-751cded7.entry.js → p-515bef3b.entry.js} +1 -1
- package/lib/duet/{p-9d6beb46.entry.js → p-52be0c45.entry.js} +1 -1
- package/lib/duet/{p-5eee6f5b.system.entry.js → p-54739dc4.system.entry.js} +1 -1
- package/lib/duet/p-5bad512d.entry.js +4 -0
- package/lib/duet/{p-24266786.system.entry.js → p-5bf8daa8.system.entry.js} +1 -1
- package/lib/duet/{p-7ca90a39.entry.js → p-5e4e7d48.entry.js} +1 -1
- package/lib/duet/{p-733c0420.system.entry.js → p-5eee6d48.system.entry.js} +1 -1
- package/lib/duet/{p-e98a91bd.system.entry.js → p-6116351d.system.entry.js} +1 -1
- package/lib/duet/{p-00052a21.entry.js → p-61b41371.entry.js} +1 -1
- package/lib/duet/{p-dafbf164.entry.js → p-660a6691.entry.js} +1 -1
- package/lib/duet/{p-3bcc21b1.entry.js → p-68bb404f.entry.js} +1 -1
- package/lib/duet/{p-1af44cd7.system.entry.js → p-6a9c258b.system.entry.js} +1 -1
- package/lib/duet/{p-008e926c.system.entry.js → p-6cc35083.system.entry.js} +1 -1
- package/lib/duet/{p-33df50af.system.entry.js → p-6d6dddf6.system.entry.js} +1 -1
- package/lib/duet/{p-0ee9fe5a.system.entry.js → p-6f68220c.system.entry.js} +1 -1
- package/lib/duet/{p-3d283bed.system.entry.js → p-711d5c90.system.entry.js} +1 -1
- package/lib/duet/p-71dd05bf.entry.js +4 -0
- package/lib/duet/{p-d2ea6a49.system.entry.js → p-7396f499.system.entry.js} +1 -1
- package/lib/duet/{p-eaa14406.entry.js → p-775d5c50.entry.js} +1 -1
- package/lib/duet/{p-115bc126.system.entry.js → p-77e2eba0.system.entry.js} +1 -1
- package/lib/duet/{p-680fe6e2.entry.js → p-7af63b73.entry.js} +1 -1
- package/lib/duet/{p-d5add2a1.entry.js → p-7c860a8b.entry.js} +1 -1
- package/lib/duet/{p-b03452eb.system.js → p-7d6351ee.system.js} +1 -1
- package/lib/duet/{p-78538446.system.entry.js → p-7deb19fe.system.entry.js} +1 -1
- package/lib/duet/{p-e653cfd1.system.entry.js → p-83160849.system.entry.js} +1 -1
- package/lib/duet/{p-c2691df5.entry.js → p-8346f3df.entry.js} +1 -1
- package/lib/duet/{p-5127875a.entry.js → p-8498c856.entry.js} +1 -1
- package/lib/duet/p-879d7357.entry.js +4 -0
- package/lib/duet/{p-73941510.entry.js → p-88750631.entry.js} +1 -1
- package/lib/duet/{p-d7890385.entry.js → p-8a7c5d79.entry.js} +1 -1
- package/lib/duet/{p-96befdd7.system.entry.js → p-8dfd54fa.system.entry.js} +1 -1
- package/lib/duet/{p-a7d8d000.system.entry.js → p-8e9dde5b.system.entry.js} +1 -1
- package/lib/duet/{p-af878746.system.entry.js → p-8ecb7a52.system.entry.js} +1 -1
- package/lib/duet/{p-187f61a9.entry.js → p-90bb0d6e.entry.js} +1 -1
- package/lib/duet/{p-b6f1722a.entry.js → p-91088965.entry.js} +1 -1
- package/lib/duet/{p-abf85b30.system.entry.js → p-92218406.system.entry.js} +1 -1
- package/lib/duet/{p-a6da9ebd.system.entry.js → p-92631252.system.entry.js} +1 -1
- package/lib/duet/{p-cfa12307.system.entry.js → p-9521f627.system.entry.js} +1 -1
- package/lib/duet/{p-2357cbb2.system.entry.js → p-9730e382.system.entry.js} +1 -1
- package/lib/duet/{p-c6ab65e4.system.entry.js → p-97408054.system.entry.js} +1 -1
- package/lib/duet/p-97929e49.system.js +4 -0
- package/lib/duet/{p-dfbb9078.system.entry.js → p-984dd5b8.system.entry.js} +1 -1
- package/lib/duet/{p-a1d584e5.entry.js → p-997b2b9f.entry.js} +1 -1
- package/lib/duet/p-99836c8b.system.entry.js +4 -0
- package/lib/duet/{p-355f2ced.system.entry.js → p-99cbab16.system.entry.js} +1 -1
- package/lib/duet/{p-547f0190.entry.js → p-9d0a8699.entry.js} +1 -1
- package/lib/duet/{p-3466ab1a.system.entry.js → p-9db5ccda.system.entry.js} +1 -1
- package/lib/duet/{p-1ca5d9c9.system.entry.js → p-9e66ec5a.system.entry.js} +1 -1
- package/lib/duet/{p-2ff2f7ab.entry.js → p-a373581e.entry.js} +1 -1
- package/lib/duet/{p-e7505450.system.entry.js → p-a6054e33.system.entry.js} +1 -1
- package/lib/duet/{p-131a09ef.system.entry.js → p-a789758e.system.entry.js} +1 -1
- package/lib/duet/{p-23e3e56f.entry.js → p-aa0e8c20.entry.js} +1 -1
- package/lib/duet/{p-ea3cb1bd.entry.js → p-ae269abb.entry.js} +1 -1
- package/lib/duet/{p-8b0af3a4.entry.js → p-aff3a01c.entry.js} +1 -1
- package/lib/duet/p-b2ee0816.system.entry.js +4 -0
- package/lib/duet/{p-fad0a3b6.entry.js → p-b52969e7.entry.js} +1 -1
- package/lib/duet/{p-98ac3517.system.entry.js → p-b599e988.system.entry.js} +1 -1
- package/lib/duet/{p-0c647794.system.entry.js → p-bc886019.system.entry.js} +1 -1
- package/lib/duet/p-bd979a4c.system.entry.js +4 -0
- package/lib/duet/p-be140833.system.entry.js +4 -0
- package/lib/duet/{p-3d9462b2.system.entry.js → p-bf23e2c2.system.entry.js} +1 -1
- package/lib/duet/{p-4bce10fd.entry.js → p-c030c439.entry.js} +1 -1
- package/lib/duet/{p-6e02f332.entry.js → p-c1ecad44.entry.js} +1 -1
- package/lib/duet/{p-02402b1d.system.entry.js → p-c252fd27.system.entry.js} +1 -1
- package/lib/duet/{p-5704bea4.entry.js → p-c406feab.entry.js} +1 -1
- package/lib/duet/{p-def5eefd.system.entry.js → p-c4ff0d5e.system.entry.js} +1 -1
- package/lib/duet/{p-3c02b40c.system.entry.js → p-c54163d4.system.entry.js} +1 -1
- package/lib/duet/{p-c21e0220.system.entry.js → p-c6f1cac9.system.entry.js} +1 -1
- package/lib/duet/{p-91417a9a.entry.js → p-c86289ac.entry.js} +1 -1
- package/lib/duet/{p-2e65c35d.system.entry.js → p-ca8c60df.system.entry.js} +1 -1
- package/lib/duet/{p-7bd0998b.entry.js → p-cc46a1b1.entry.js} +1 -1
- package/lib/duet/p-d576a779.entry.js +4 -0
- package/lib/duet/{p-7033077c.entry.js → p-d6bb4328.entry.js} +1 -1
- package/lib/duet/{p-64a196c8.entry.js → p-d74f6c72.entry.js} +1 -1
- package/lib/duet/{p-d11642a4.system.entry.js → p-d7a00344.system.entry.js} +1 -1
- package/lib/duet/{p-6843534a.entry.js → p-d9534bab.entry.js} +1 -1
- package/lib/duet/{p-2885dc4f.system.entry.js → p-db66ad12.system.entry.js} +1 -1
- package/lib/duet/p-dbae4b4f.entry.js +4 -0
- package/lib/duet/{p-c0e762c5.entry.js → p-de399c6f.entry.js} +1 -1
- package/lib/duet/p-de784087.entry.js +4 -0
- package/lib/duet/p-df6dadb2.system.entry.js +4 -0
- package/lib/duet/p-e10c2b0d.entry.js +4 -0
- package/lib/duet/{p-653c4b81.system.entry.js → p-e1d767cf.system.entry.js} +1 -1
- package/lib/duet/{p-4a820e40.entry.js → p-e44c2634.entry.js} +1 -1
- package/lib/duet/{p-52598698.entry.js → p-e4d9d7d7.entry.js} +1 -1
- package/lib/duet/p-e72eb774.system.entry.js +4 -0
- package/lib/duet/{p-0d47b5d0.system.js → p-eb93ebaa.system.js} +1 -1
- package/lib/duet/{p-d3bb4cd0.system.entry.js → p-ec32e21b.system.entry.js} +1 -1
- package/lib/duet/{p-716f6b7f.system.entry.js → p-f1674fe8.system.entry.js} +1 -1
- package/lib/duet/{p-2c385164.system.entry.js → p-f78cbe1a.system.entry.js} +1 -1
- package/lib/duet/{p-e3f9f86d.entry.js → p-fc063fa8.entry.js} +1 -1
- package/lib/duet/{p-29a36b0d.system.entry.js → p-fcf9d72b.system.entry.js} +1 -1
- package/lib/duet/p-fddfa497.entry.js +4 -0
- package/lib/duet/{p-0478aca4.js → p-fe7f676a.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 +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 +4 -3
- 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 +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 +19 -4
- 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 +5 -4
- 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 +9 -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 +17 -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-3d6defe8.js} +1 -1
- package/lib/esm/{index-0237f6f4.js → index-56a17140.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 +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 +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +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 +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 +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-038f6536.js → focus-utils-3d6defe8.js} +1 -1
- package/lib/esm-es5/{index-0237f6f4.js → index-56a17140.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 +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 +6 -0
- package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +6 -0
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +6 -0
- package/lib/types/components.d.ts +52 -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-0fae73be.system.entry.js +0 -4
- package/lib/duet/p-118c2455.entry.js +0 -4
- package/lib/duet/p-1de4480f.system.entry.js +0 -4
- package/lib/duet/p-317e511d.entry.js +0 -4
- package/lib/duet/p-33ffc418.entry.js +0 -4
- package/lib/duet/p-3db2790b.system.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-6a186073.system.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-85652a95.system.entry.js +0 -4
- package/lib/duet/p-8761c920.system.entry.js +0 -4
- package/lib/duet/p-90aef7eb.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-e403da27.entry.js +0 -4
- package/lib/duet/p-edc3786b.entry.js +0 -4
|
@@ -60,12 +60,27 @@ export class DuetMenuBar {
|
|
|
60
60
|
this.theme = "";
|
|
61
61
|
this.logo = true;
|
|
62
62
|
this.logoHref = undefined;
|
|
63
|
+
this.logoLinkAccessibleLabel = undefined;
|
|
64
|
+
this.accessibleLabel = undefined;
|
|
63
65
|
}
|
|
64
66
|
/**
|
|
65
67
|
* Component lifecycle events.
|
|
66
68
|
*/
|
|
67
69
|
componentWillLoad() {
|
|
68
70
|
inheritGlobalTheme(this);
|
|
71
|
+
const children = Array.from(this.element.children);
|
|
72
|
+
for (const child of children) {
|
|
73
|
+
if (child.getAttribute("slot") === "center") {
|
|
74
|
+
for (const slotChild of Array.from(child.children)) {
|
|
75
|
+
slotChild.setAttribute("role", "listitem");
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
else if (child.getAttribute("slot") === "right") {
|
|
79
|
+
for (const slotChild of Array.from(child.children)) {
|
|
80
|
+
slotChild.setAttribute("role", "listitem");
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
69
84
|
}
|
|
70
85
|
connectedCallback() {
|
|
71
86
|
this.changeLogoSize();
|
|
@@ -109,11 +124,11 @@ export class DuetMenuBar {
|
|
|
109
124
|
render() {
|
|
110
125
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
111
126
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
112
|
-
return (h(Host, null, h("
|
|
127
|
+
return (h(Host, null, h("nav", { class: {
|
|
113
128
|
"duet-menu-bar": true,
|
|
114
129
|
"duet-theme-turva": this.theme === "turva",
|
|
115
130
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
116
|
-
},
|
|
131
|
+
}, "aria-label": this.accessibleLabel }, h("div", { class: "top" }), h("div", { class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", null, h("duet-logo", { size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick }))), h("div", { class: "list center", role: "list" }, h("div", { class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { name: "center" }), h("div", { class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { class: "list right", role: "list" }, h("slot", { name: "right" }))), h("div", { class: "bottom" }))));
|
|
117
132
|
}
|
|
118
133
|
static get is() { return "duet-menu-bar"; }
|
|
119
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -186,6 +201,40 @@ export class DuetMenuBar {
|
|
|
186
201
|
},
|
|
187
202
|
"attribute": "logo-href",
|
|
188
203
|
"reflect": false
|
|
204
|
+
},
|
|
205
|
+
"logoLinkAccessibleLabel": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"mutable": true,
|
|
208
|
+
"complexType": {
|
|
209
|
+
"original": "string",
|
|
210
|
+
"resolved": "string",
|
|
211
|
+
"references": {}
|
|
212
|
+
},
|
|
213
|
+
"required": false,
|
|
214
|
+
"optional": false,
|
|
215
|
+
"docs": {
|
|
216
|
+
"tags": [],
|
|
217
|
+
"text": "Logo link accessible label."
|
|
218
|
+
},
|
|
219
|
+
"attribute": "logo-link-accessible-label",
|
|
220
|
+
"reflect": false
|
|
221
|
+
},
|
|
222
|
+
"accessibleLabel": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"mutable": false,
|
|
225
|
+
"complexType": {
|
|
226
|
+
"original": "string",
|
|
227
|
+
"resolved": "string",
|
|
228
|
+
"references": {}
|
|
229
|
+
},
|
|
230
|
+
"required": false,
|
|
231
|
+
"optional": false,
|
|
232
|
+
"docs": {
|
|
233
|
+
"tags": [],
|
|
234
|
+
"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."
|
|
235
|
+
},
|
|
236
|
+
"attribute": "accessible-label",
|
|
237
|
+
"reflect": false
|
|
189
238
|
}
|
|
190
239
|
};
|
|
191
240
|
}
|
|
@@ -23,7 +23,7 @@ export class DuetNav {
|
|
|
23
23
|
* Always the last one in the class.
|
|
24
24
|
*/
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, null, h("
|
|
26
|
+
return (h(Host, null, h("div", null, h("slot", null), h("slot", { name: "mobile" }), h("slot", { name: "desktop" }))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "duet-nav"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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;
|
|
@@ -120,7 +121,7 @@ export class DuetSlideout {
|
|
|
120
121
|
hidden: !this.open,
|
|
121
122
|
}, onClick: () => {
|
|
122
123
|
this.open = false;
|
|
123
|
-
} }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal":
|
|
124
|
+
} }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "menubar", class: {
|
|
124
125
|
dialog: true,
|
|
125
126
|
hidden: !this.open,
|
|
126
127
|
}, 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,9 @@
|
|
|
96
96
|
border-bottom: 1px solid rgb(207, 210, 212);
|
|
97
97
|
transition: 300ms ease;
|
|
98
98
|
}
|
|
99
|
+
.duet-submenu-bar .items ::slotted(*) {
|
|
100
|
+
position: relative;
|
|
101
|
+
}
|
|
99
102
|
.duet-submenu-bar .items.hidden {
|
|
100
103
|
max-height: 0;
|
|
101
104
|
overflow: hidden;
|
|
@@ -104,6 +107,12 @@
|
|
|
104
107
|
transition: 300ms ease;
|
|
105
108
|
}
|
|
106
109
|
@media (min-width: 62em) {
|
|
110
|
+
.duet-submenu-bar .items .list {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
justify-content: space-between;
|
|
114
|
+
height: 100%;
|
|
115
|
+
}
|
|
107
116
|
.duet-submenu-bar .items, .duet-submenu-bar .items.hidden {
|
|
108
117
|
position: static;
|
|
109
118
|
z-index: auto;
|
|
@@ -22,12 +22,17 @@ export class DuetSubmenuBar {
|
|
|
22
22
|
this.mobile = true;
|
|
23
23
|
this.theme = "";
|
|
24
24
|
this.open = false;
|
|
25
|
+
this.accessibleLabel = undefined;
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
28
|
* Component lifecycle events.
|
|
28
29
|
*/
|
|
29
30
|
componentWillLoad() {
|
|
30
31
|
inheritGlobalTheme(this);
|
|
32
|
+
const children = Array.from(this.element.children);
|
|
33
|
+
for (const child of children) {
|
|
34
|
+
child.setAttribute("role", "listitem");
|
|
35
|
+
}
|
|
31
36
|
}
|
|
32
37
|
connectedCallback() {
|
|
33
38
|
this.changeAriaProperties();
|
|
@@ -60,12 +65,12 @@ export class DuetSubmenuBar {
|
|
|
60
65
|
* Always the last one in the class.
|
|
61
66
|
*/
|
|
62
67
|
render() {
|
|
63
|
-
return (h(Host, null, h("
|
|
68
|
+
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
69
|
active: this.open,
|
|
65
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: {
|
|
66
71
|
items: true,
|
|
67
72
|
hidden: !this.open,
|
|
68
|
-
} }, h("slot", null)))));
|
|
73
|
+
} }, h("div", { class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", null))))));
|
|
69
74
|
}
|
|
70
75
|
static get is() { return "duet-submenu-bar"; }
|
|
71
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,6 +126,23 @@ export class DuetSubmenuBar {
|
|
|
121
126
|
"attribute": "open",
|
|
122
127
|
"reflect": true,
|
|
123
128
|
"defaultValue": "false"
|
|
129
|
+
},
|
|
130
|
+
"accessibleLabel": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"mutable": false,
|
|
133
|
+
"complexType": {
|
|
134
|
+
"original": "string",
|
|
135
|
+
"resolved": "string",
|
|
136
|
+
"references": {}
|
|
137
|
+
},
|
|
138
|
+
"required": false,
|
|
139
|
+
"optional": false,
|
|
140
|
+
"docs": {
|
|
141
|
+
"tags": [],
|
|
142
|
+
"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."
|
|
143
|
+
},
|
|
144
|
+
"attribute": "accessible-label",
|
|
145
|
+
"reflect": false
|
|
124
146
|
}
|
|
125
147
|
};
|
|
126
148
|
}
|
|
@@ -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,6 +41,13 @@
|
|
|
41
41
|
margin: 0 28px;
|
|
42
42
|
border-bottom: 1px solid rgb(225, 227, 230);
|
|
43
43
|
}
|
|
44
|
+
.duet-toolbar .list {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
height: 100%;
|
|
49
|
+
list-style-type: none;
|
|
50
|
+
}
|
|
44
51
|
.duet-toolbar ::slotted(*) {
|
|
45
52
|
display: flex;
|
|
46
53
|
align-items: center;
|
|
@@ -10,19 +10,33 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
10
10
|
export class DuetToolbar {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.theme = "";
|
|
13
|
+
this.accessibleLabel = undefined;
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
16
|
* Component lifecycle events.
|
|
16
17
|
*/
|
|
17
18
|
componentWillLoad() {
|
|
18
19
|
inheritGlobalTheme(this);
|
|
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
|
+
}
|
|
32
|
+
}
|
|
19
33
|
}
|
|
20
34
|
/**
|
|
21
35
|
* render() function
|
|
22
36
|
* Always the last one in the class.
|
|
23
37
|
*/
|
|
24
38
|
render() {
|
|
25
|
-
return (h(Host, null, 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" }))))));
|
|
26
40
|
}
|
|
27
41
|
static get is() { return "duet-toolbar"; }
|
|
28
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,6 +74,23 @@ export class DuetToolbar {
|
|
|
60
74
|
"attribute": "theme",
|
|
61
75
|
"reflect": false,
|
|
62
76
|
"defaultValue": "\"\""
|
|
77
|
+
},
|
|
78
|
+
"accessibleLabel": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"mutable": false,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "string",
|
|
83
|
+
"resolved": "string",
|
|
84
|
+
"references": {}
|
|
85
|
+
},
|
|
86
|
+
"required": false,
|
|
87
|
+
"optional": false,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"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."
|
|
91
|
+
},
|
|
92
|
+
"attribute": "accessible-label",
|
|
93
|
+
"reflect": false
|
|
63
94
|
}
|
|
64
95
|
};
|
|
65
96
|
}
|
|
@@ -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-d3e9fa79.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-bc53c84a.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-18928f76.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-59650585.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-c9182b8c.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-59650585.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-c9182b8c.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-9a6eda30.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-11968273.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-59650585.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-c9182b8c.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-0531827c.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-5f6be181.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-0ca98fac.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-59650585.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-11968273.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-8330affc.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-c9182b8c.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-4de93a4d.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-54680d09.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-59650585.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-11968273.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-c9182b8c.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-0531827c.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-54680d09.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-59650585.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-c9182b8c.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-59650585.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-c9182b8c.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],
|