@duetds/components 6.4.0 → 6.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +120 -118
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-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-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 +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +79 -0
- 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 +2 -16
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-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 +5 -4
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +5 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +18 -7
- 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 +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +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-2b652cc4.js → focus-utils-51b5276c.js} +1 -1
- package/lib/cjs/{index-164ccd93.js → index-64cbfac2.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +1 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +22 -0
- package/lib/collection/components/{duet-slideout-panel-link/duet-slideout-panel-link.css → duet-menu-bar-button/duet-menu-bar-button.css} +23 -13
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +156 -0
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +6 -33
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +0 -14
- package/lib/collection/components/duet-slideout/duet-slideout.css +27 -34
- package/lib/collection/components/duet-slideout/duet-slideout.js +45 -5
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +1 -0
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +9 -7
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +27 -5
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +30 -5
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +20 -1
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +21 -5
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-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-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +8 -8
- 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 +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-button.js +104 -0
- 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 +3 -17
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +7 -7
- 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 +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +8 -6
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -3
- package/lib/dist-custom-elements/duet-slideout-panel.js +6 -4
- package/lib/dist-custom-elements/duet-slideout.js +19 -7
- 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 +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +8 -8
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.d.ts +1 -2
- package/lib/dist-custom-elements/index.js +2 -3
- package/lib/dist-custom-elements/{p-ff6fc54f.js → p-012ce9cd.js} +1 -1
- package/lib/dist-custom-elements/{p-c2463a4d.js → p-0d44f43d.js} +1 -1
- package/lib/dist-custom-elements/{p-532c54fb.js → p-0df84707.js} +1 -1
- package/lib/dist-custom-elements/{p-322d1aa1.js → p-1287c9f0.js} +3 -3
- package/lib/dist-custom-elements/{p-3e96f1ea.js → p-14c4ae63.js} +1 -1
- package/lib/dist-custom-elements/{p-5f1ada5a.js → p-19125b3a.js} +1 -1
- package/lib/dist-custom-elements/{p-d0e0ef81.js → p-1cfd49ee.js} +2 -2
- package/lib/dist-custom-elements/{p-6be9ba98.js → p-21cfd55b.js} +1 -1
- package/lib/dist-custom-elements/{p-bd2b0442.js → p-2cae1940.js} +1 -1
- package/lib/dist-custom-elements/{p-9ead813e.js → p-45377b84.js} +4 -4
- package/lib/dist-custom-elements/{p-b4d8113c.js → p-59d01811.js} +1 -1
- package/lib/dist-custom-elements/{p-605b6117.js → p-667f368c.js} +6 -6
- package/lib/dist-custom-elements/{p-2836cc93.js → p-6775ca86.js} +6 -6
- package/lib/dist-custom-elements/{p-4e60ac5b.js → p-688a047d.js} +3 -3
- package/lib/dist-custom-elements/{p-5ebb99dd.js → p-788c36f2.js} +5 -5
- package/lib/dist-custom-elements/{p-5bcd669c.js → p-84e4317d.js} +2 -2
- package/lib/dist-custom-elements/{p-ad412049.js → p-8ece8544.js} +1 -1
- package/lib/dist-custom-elements/{p-0046bd9c.js → p-8ef57d6b.js} +2 -2
- package/lib/dist-custom-elements/{p-a9ca4b1a.js → p-9c0459ca.js} +1 -1
- package/lib/dist-custom-elements/{p-69e61cbd.js → p-a7331687.js} +1 -1
- package/lib/dist-custom-elements/{p-7f93146e.js → p-a7fc05d9.js} +1 -1
- package/lib/dist-custom-elements/{p-882a5cfe.js → p-aa118c82.js} +3 -3
- package/lib/dist-custom-elements/{p-66c822ff.js → p-c5a072f2.js} +2 -2
- package/lib/dist-custom-elements/{p-7cb3ff25.js → p-cb5e8149.js} +1 -1
- package/lib/dist-custom-elements/{p-154a3f1c.js → p-dd54924c.js} +1 -1
- package/lib/dist-custom-elements/{p-979e0325.js → p-e36e0709.js} +1 -1
- package/lib/dist-custom-elements/{p-905a69b9.js → p-ea4a0707.js} +1 -1
- package/lib/dist-custom-elements/{p-4516d226.js → p-ef91ff76.js} +7 -7
- package/lib/dist-custom-elements/{p-d2401c36.js → p-f04e8a3b.js} +2 -2
- package/lib/dist-custom-elements/{p-671e7f8b.js → p-f0803854.js} +1 -1
- package/lib/dist-custom-elements/{p-1fdcf20f.js → p-fe6b0ed3.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-68837c63.entry.js → p-0112579c.entry.js} +1 -1
- package/lib/duet/{p-88822dbd.system.entry.js → p-01b63777.system.entry.js} +1 -1
- package/lib/duet/{p-6af671d6.system.js → p-01fcb80e.system.js} +1 -1
- package/lib/duet/{p-6d4cfcb6.entry.js → p-03ee21a3.entry.js} +1 -1
- package/lib/duet/p-054a2d07.system.entry.js +4 -0
- package/lib/duet/{p-a9465ece.system.entry.js → p-0590a8c0.system.entry.js} +1 -1
- package/lib/duet/{p-ea91bf03.system.entry.js → p-09be550b.system.entry.js} +1 -1
- package/lib/duet/{p-e0a8bb43.entry.js → p-0b415c31.entry.js} +1 -1
- package/lib/duet/{p-83d8e53e.system.entry.js → p-16911df0.system.entry.js} +1 -1
- package/lib/duet/{p-4a282246.system.entry.js → p-17e21461.system.entry.js} +1 -1
- package/lib/duet/p-1ab5cbbc.entry.js +4 -0
- package/lib/duet/{p-933f25ba.entry.js → p-1c82d61e.entry.js} +1 -1
- package/lib/duet/{p-c6780fab.entry.js → p-1d08b9ed.entry.js} +1 -1
- package/lib/duet/{p-a5a295c0.system.entry.js → p-1d2a9cf6.system.entry.js} +1 -1
- package/lib/duet/{p-f4b76c99.system.entry.js → p-1f745490.system.entry.js} +1 -1
- package/lib/duet/{p-27a4c915.entry.js → p-233e91ea.entry.js} +1 -1
- package/lib/duet/{p-363d64ad.entry.js → p-24cb9a5c.entry.js} +1 -1
- package/lib/duet/{p-f68637c0.entry.js → p-26d917a0.entry.js} +1 -1
- package/lib/duet/{p-3bbf5056.entry.js → p-276895fe.entry.js} +1 -1
- package/lib/duet/{p-29f05da5.system.entry.js → p-2aed3283.system.entry.js} +1 -1
- package/lib/duet/{p-5e330ea8.entry.js → p-2afce187.entry.js} +1 -1
- package/lib/duet/{p-9b2b98f1.entry.js → p-2b5f338b.entry.js} +1 -1
- package/lib/duet/{p-201d6ec1.system.entry.js → p-2b73dd59.system.entry.js} +1 -1
- package/lib/duet/{p-3782e7bd.system.js → p-2c67137b.system.js} +1 -1
- package/lib/duet/{p-ac049db3.entry.js → p-2cea3fdb.entry.js} +1 -1
- package/lib/duet/{p-25ae871d.system.entry.js → p-2deda672.system.entry.js} +1 -1
- package/lib/duet/p-2e49d057.entry.js +4 -0
- package/lib/duet/{p-020ca1b6.system.entry.js → p-2fdbd2c6.system.entry.js} +1 -1
- package/lib/duet/{p-a3d9704b.system.entry.js → p-31e877bf.system.entry.js} +1 -1
- package/lib/duet/{p-3ff9ea7b.entry.js → p-3211450e.entry.js} +1 -1
- package/lib/duet/{p-ce29e9a8.system.entry.js → p-341a9eb0.system.entry.js} +1 -1
- package/lib/duet/p-35bb4ee9.entry.js +4 -0
- package/lib/duet/{p-27103116.entry.js → p-362174cc.entry.js} +1 -1
- package/lib/duet/{p-4c71d0e1.entry.js → p-37de9a2f.entry.js} +1 -1
- package/lib/duet/{p-aa7238b4.system.entry.js → p-3937796f.system.entry.js} +1 -1
- package/lib/duet/p-3d4aa492.system.entry.js +4 -0
- package/lib/duet/{p-ba5d5cd0.entry.js → p-3e5839c6.entry.js} +1 -1
- package/lib/duet/{p-1754b0d2.entry.js → p-3f2d8fe4.entry.js} +1 -1
- package/lib/duet/{p-4235cfd4.entry.js → p-3f375bef.entry.js} +1 -1
- package/lib/duet/{p-1b441904.system.entry.js → p-401a0998.system.entry.js} +1 -1
- package/lib/duet/{p-e7bdc3e3.entry.js → p-408a536f.entry.js} +1 -1
- package/lib/duet/{p-0fc9f792.entry.js → p-40ac94f6.entry.js} +1 -1
- package/lib/duet/{p-7dfd3e05.entry.js → p-42e7aa32.entry.js} +1 -1
- package/lib/duet/{p-651fafda.system.entry.js → p-437083ed.system.entry.js} +1 -1
- package/lib/duet/{p-cf9c0ba9.entry.js → p-44d2a1b5.entry.js} +1 -1
- package/lib/duet/{p-b16d25ab.entry.js → p-48aa12e2.entry.js} +1 -1
- package/lib/duet/{p-3cf79f67.system.entry.js → p-4970d360.system.entry.js} +1 -1
- package/lib/duet/p-4ab49eb4.js +4 -0
- package/lib/duet/{p-d6ecfe56.system.entry.js → p-4b838a9c.system.entry.js} +1 -1
- package/lib/duet/{p-c69632a2.system.entry.js → p-4c12d8ba.system.entry.js} +1 -1
- package/lib/duet/{p-e798f1ed.system.entry.js → p-4ce3c6a6.system.entry.js} +1 -1
- package/lib/duet/{p-6d8e829d.entry.js → p-4e37aedf.entry.js} +1 -1
- package/lib/duet/{p-cd9d47f5.system.entry.js → p-4e3e91fd.system.entry.js} +1 -1
- package/lib/duet/{p-a140fdcb.system.entry.js → p-525687a7.system.entry.js} +1 -1
- package/lib/duet/p-555192b0.system.entry.js +4 -0
- package/lib/duet/{p-b294e39d.system.entry.js → p-593f2330.system.entry.js} +1 -1
- package/lib/duet/{p-15739a81.system.entry.js → p-5983d1b7.system.entry.js} +1 -1
- package/lib/duet/{p-3526ba4d.system.entry.js → p-59d13b8d.system.entry.js} +1 -1
- package/lib/duet/{p-e18b47a1.entry.js → p-5bfb6d98.entry.js} +1 -1
- package/lib/duet/{p-26fa8de6.entry.js → p-5ce46c84.entry.js} +1 -1
- package/lib/duet/p-5feb0657.system.entry.js +4 -0
- package/lib/duet/p-64cca33a.entry.js +4 -0
- package/lib/duet/p-64d1cc95.entry.js +4 -0
- package/lib/duet/p-66f2c12f.system.entry.js +4 -0
- package/lib/duet/{p-7c34ca99.system.entry.js → p-672dcefc.system.entry.js} +1 -1
- package/lib/duet/{p-03ff3ed6.system.entry.js → p-6921cfa6.system.entry.js} +2 -2
- package/lib/duet/{p-f8f307f4.system.entry.js → p-6ab272dd.system.entry.js} +1 -1
- package/lib/duet/{p-f3e34507.entry.js → p-6afd7b03.entry.js} +1 -1
- package/lib/duet/{p-be05eaac.system.entry.js → p-6c5f600b.system.entry.js} +1 -1
- package/lib/duet/{p-09438348.entry.js → p-6cde8c43.entry.js} +1 -1
- package/lib/duet/{p-246da892.entry.js → p-6cf7ebc2.entry.js} +1 -1
- package/lib/duet/p-6d7d186f.entry.js +4 -0
- package/lib/duet/p-6e75fbd6.system.entry.js +4 -0
- package/lib/duet/{p-02332064.entry.js → p-704eb099.entry.js} +1 -1
- package/lib/duet/{p-0a343e6c.system.entry.js → p-75c38aee.system.entry.js} +1 -1
- package/lib/duet/{p-c3a7e038.system.entry.js → p-77e3c513.system.entry.js} +1 -1
- package/lib/duet/p-781aa86e.system.entry.js +4 -0
- package/lib/duet/{p-76835261.system.entry.js → p-7bd6683a.system.entry.js} +1 -1
- package/lib/duet/{p-28e309cf.entry.js → p-7c4798b2.entry.js} +1 -1
- package/lib/duet/{p-ecc5f30c.entry.js → p-7d54d6e1.entry.js} +1 -1
- package/lib/duet/{p-e968004c.entry.js → p-80c05a0f.entry.js} +1 -1
- package/lib/duet/{p-831f1019.system.entry.js → p-823de698.system.entry.js} +1 -1
- package/lib/duet/{p-2eb091c9.system.entry.js → p-85658cea.system.entry.js} +1 -1
- package/lib/duet/{p-e6f05953.system.entry.js → p-87f2c5d4.system.entry.js} +1 -1
- package/lib/duet/{p-3e278513.entry.js → p-890aabd1.entry.js} +1 -1
- package/lib/duet/{p-56c12873.system.entry.js → p-8e05ca49.system.entry.js} +1 -1
- package/lib/duet/{p-3117deb6.entry.js → p-8f69d87b.entry.js} +1 -1
- package/lib/duet/{p-729b0d66.system.entry.js → p-91893eb4.system.entry.js} +1 -1
- package/lib/duet/{p-1317aa26.system.entry.js → p-933256d2.system.entry.js} +1 -1
- package/lib/duet/{p-1373f6ca.entry.js → p-942e7a28.entry.js} +1 -1
- package/lib/duet/{p-43c7a428.system.entry.js → p-97816dce.system.entry.js} +1 -1
- package/lib/duet/{p-21124c1f.entry.js → p-9884486c.entry.js} +1 -1
- package/lib/duet/p-98c780ad.system.entry.js +4 -0
- package/lib/duet/{p-46c1d349.system.entry.js → p-99e33456.system.entry.js} +1 -1
- package/lib/duet/{p-954415a2.entry.js → p-9b4402ef.entry.js} +1 -1
- package/lib/duet/{p-d25b4394.entry.js → p-9b4de80f.entry.js} +1 -1
- package/lib/duet/{p-129bb559.system.entry.js → p-9c7ecd2a.system.entry.js} +1 -1
- package/lib/duet/{p-8810b6a2.entry.js → p-a3047a26.entry.js} +1 -1
- package/lib/duet/{p-48e43d00.entry.js → p-a9f36246.entry.js} +1 -1
- package/lib/duet/{p-c40ee0fe.js → p-ab11408b.js} +1 -1
- package/lib/duet/{p-12cdb87f.entry.js → p-ab4e81ca.entry.js} +1 -1
- package/lib/duet/{p-6917abaf.entry.js → p-ac1eaf2d.entry.js} +1 -1
- package/lib/duet/{p-38dc7f9b.entry.js → p-ae39325e.entry.js} +1 -1
- package/lib/duet/{p-e788148c.entry.js → p-b519684f.entry.js} +1 -1
- package/lib/duet/{p-047f5071.system.entry.js → p-b8decc75.system.entry.js} +1 -1
- package/lib/duet/{p-602376c0.system.entry.js → p-b94a478a.system.entry.js} +1 -1
- package/lib/duet/{p-72d0199b.system.entry.js → p-ba93a403.system.entry.js} +1 -1
- package/lib/duet/{p-d79ac44b.system.entry.js → p-c1f14850.system.entry.js} +1 -1
- package/lib/duet/p-c87eeeb5.system.js +4 -0
- package/lib/duet/{p-836893af.system.entry.js → p-d15c8354.system.entry.js} +1 -1
- package/lib/duet/{p-51cab7d1.system.entry.js → p-d30d6c41.system.entry.js} +1 -1
- package/lib/duet/{p-ff5d1690.entry.js → p-d39cf5b1.entry.js} +1 -1
- package/lib/duet/{p-a87d96ef.entry.js → p-d6b7e4e9.entry.js} +1 -1
- package/lib/duet/{p-e8a0df5a.entry.js → p-da31f5fc.entry.js} +1 -1
- package/lib/duet/{p-9d2eddb6.entry.js → p-da71d66d.entry.js} +1 -1
- package/lib/duet/{p-80129dd8.entry.js → p-de635e2e.entry.js} +1 -1
- package/lib/duet/{p-2edff55b.entry.js → p-e3165e41.entry.js} +1 -1
- package/lib/duet/{p-a205042e.system.entry.js → p-e4eb67fa.system.entry.js} +1 -1
- package/lib/duet/{p-a360fd9e.system.entry.js → p-e53e892f.system.entry.js} +1 -1
- package/lib/duet/{p-0aa05098.entry.js → p-e68499ea.entry.js} +1 -1
- package/lib/duet/{p-2052a736.entry.js → p-e781e62c.entry.js} +1 -1
- package/lib/duet/{p-af157cd4.system.entry.js → p-e7a8d51f.system.entry.js} +1 -1
- package/lib/duet/{p-5cd03fcc.system.entry.js → p-ec7699f0.system.entry.js} +1 -1
- package/lib/duet/{p-1f202456.system.entry.js → p-ec91cdca.system.entry.js} +1 -1
- package/lib/duet/{p-42733735.entry.js → p-f3301cbc.entry.js} +1 -1
- package/lib/duet/{p-6953d6e1.entry.js → p-f36dc895.entry.js} +1 -1
- package/lib/duet/{p-b0b27e49.entry.js → p-f54e0616.entry.js} +1 -1
- package/lib/duet/{p-ebf1699f.system.entry.js → p-f6a3085c.system.entry.js} +1 -1
- package/lib/duet/{p-ce68689b.entry.js → p-f9be45b3.entry.js} +1 -1
- package/lib/duet/{p-f7391f5a.system.entry.js → p-fb74bd6a.system.entry.js} +1 -1
- package/lib/duet/{p-448aa1de.system.entry.js → p-fd2c782d.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-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-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 +1 -1
- 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 +75 -0
- 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 +2 -16
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-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 +5 -4
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -2
- package/lib/esm/duet-slideout-panel.entry.js +5 -4
- package/lib/esm/duet-slideout.entry.js +18 -7
- 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 +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +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 +2 -2
- package/lib/esm/{focus-utils-2902ad62.js → focus-utils-f1a08e01.js} +1 -1
- package/lib/esm/{index-2315b38f.js → index-bcdc5466.js} +1 -1
- package/lib/esm/loader.js +2 -2
- package/lib/esm-es5/duet-action-button.entry.js +2 -2
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-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-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 +1 -1
- 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 +4 -0
- 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-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 +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-2902ad62.js → focus-utils-f1a08e01.js} +1 -1
- package/lib/esm-es5/{index-2315b38f.js → index-bcdc5466.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/{duet-slideout-panel-link/duet-slideout-panel-link.d.ts → duet-menu-bar-button/duet-menu-bar-button.d.ts} +13 -9
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +0 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +5 -1
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +6 -1
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +4 -0
- package/lib/types/components.d.ts +52 -92
- package/package.json +5 -5
- package/lib/cjs/duet-slideout-panel-dropdown-link.cjs.entry.js +0 -41
- package/lib/cjs/duet-slideout-panel-link.cjs.entry.js +0 -41
- package/lib/collection/components/duet-slideout-panel-dropdown-link/duet-slideout-panel-dropdown-link.css +0 -47
- package/lib/collection/components/duet-slideout-panel-dropdown-link/duet-slideout-panel-dropdown-link.js +0 -123
- package/lib/collection/components/duet-slideout-panel-link/duet-slideout-panel-link.js +0 -123
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown-link.js +0 -66
- package/lib/dist-custom-elements/duet-slideout-panel-link.d.ts +0 -11
- package/lib/dist-custom-elements/duet-slideout-panel-link.js +0 -66
- package/lib/duet/p-0452c32b.system.entry.js +0 -4
- package/lib/duet/p-0a47a876.entry.js +0 -4
- package/lib/duet/p-29dc425b.system.entry.js +0 -4
- package/lib/duet/p-35d94a81.js +0 -4
- package/lib/duet/p-3c2f1eae.system.entry.js +0 -4
- package/lib/duet/p-6cb90c42.system.entry.js +0 -4
- package/lib/duet/p-70187927.system.js +0 -4
- package/lib/duet/p-77743d03.entry.js +0 -4
- package/lib/duet/p-90530e4b.system.entry.js +0 -4
- package/lib/duet/p-a1dcbcdc.entry.js +0 -4
- package/lib/duet/p-a513fa02.system.entry.js +0 -4
- package/lib/duet/p-b0a49e56.entry.js +0 -4
- package/lib/duet/p-b2e4b3df.system.entry.js +0 -4
- package/lib/duet/p-bc2b248c.entry.js +0 -4
- package/lib/duet/p-c61601cd.system.entry.js +0 -4
- package/lib/duet/p-c832245b.entry.js +0 -4
- package/lib/duet/p-d3a1ec04.entry.js +0 -4
- package/lib/duet/p-dd11bb38.system.entry.js +0 -4
- package/lib/esm/duet-slideout-panel-dropdown-link.entry.js +0 -37
- package/lib/esm/duet-slideout-panel-link.entry.js +0 -37
- package/lib/esm-es5/duet-slideout-panel-dropdown-link.entry.js +0 -4
- package/lib/esm-es5/duet-slideout-panel-link.entry.js +0 -4
- package/lib/types/components/duet-slideout-panel-dropdown-link/duet-slideout-panel-dropdown-link.d.ts +0 -36
|
@@ -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
|
import { FocusGuard } from "../../utils/focus-utils";
|
|
7
7
|
export class DuetSlideout {
|
|
@@ -30,6 +30,7 @@ export class DuetSlideout {
|
|
|
30
30
|
};
|
|
31
31
|
this.theme = "";
|
|
32
32
|
this.open = false;
|
|
33
|
+
this.icon = "";
|
|
33
34
|
}
|
|
34
35
|
/**
|
|
35
36
|
* Toggles the slideout.
|
|
@@ -38,7 +39,7 @@ export class DuetSlideout {
|
|
|
38
39
|
const event = new CustomEvent("toggle");
|
|
39
40
|
this.toggleMenu(event);
|
|
40
41
|
setTimeout(() => {
|
|
41
|
-
this.
|
|
42
|
+
this.closeButton.focus();
|
|
42
43
|
}, 200);
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
@@ -46,15 +47,31 @@ export class DuetSlideout {
|
|
|
46
47
|
*/
|
|
47
48
|
componentWillLoad() {
|
|
48
49
|
inheritGlobalTheme(this);
|
|
50
|
+
if (Build.isServer) {
|
|
51
|
+
const toggles = Array.from(this.element.children).filter(el => el.matches("[slot='toggle']"));
|
|
52
|
+
if (toggles.length > 0) {
|
|
53
|
+
this.openButton = toggles[0];
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
this.openButton = this.element.querySelector(":scope > [slot='toggle']");
|
|
58
|
+
}
|
|
59
|
+
if (this.openButton) {
|
|
60
|
+
this.openButton.setAttribute("aria-haspopup", "dialog");
|
|
61
|
+
this.openButton.setAttribute("aria-expanded", "false");
|
|
62
|
+
this.openButton.addEventListener("click", e => {
|
|
63
|
+
e.preventDefault();
|
|
64
|
+
this.onClick(e);
|
|
65
|
+
});
|
|
66
|
+
this.openButton = this.openButton;
|
|
67
|
+
}
|
|
49
68
|
}
|
|
50
69
|
/**
|
|
51
70
|
* render() function
|
|
52
71
|
* Always the last one in the class.
|
|
53
72
|
*/
|
|
54
73
|
render() {
|
|
55
|
-
return (h(Host, null, h("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, h("
|
|
56
|
-
active: this.open,
|
|
57
|
-
}, onClick: this.onClick }, h("div", { class: "hamburger" }, h("span", { class: "bar" }), h("span", { class: "bar" }), h("span", { class: "bar" }), h("span", { class: "bar" }))), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": "true", "aria-flowto": "menubar", class: {
|
|
74
|
+
return (h(Host, null, h("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { name: "toggle" }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": "true", "aria-flowto": "menubar", class: {
|
|
58
75
|
dialog: true,
|
|
59
76
|
hidden: !this.open,
|
|
60
77
|
} }, 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", type: "button", class: {
|
|
@@ -118,6 +135,29 @@ export class DuetSlideout {
|
|
|
118
135
|
"attribute": "open",
|
|
119
136
|
"reflect": true,
|
|
120
137
|
"defaultValue": "false"
|
|
138
|
+
},
|
|
139
|
+
"icon": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"mutable": false,
|
|
142
|
+
"complexType": {
|
|
143
|
+
"original": "DuetIconName",
|
|
144
|
+
"resolved": "string",
|
|
145
|
+
"references": {
|
|
146
|
+
"DuetIconName": {
|
|
147
|
+
"location": "import",
|
|
148
|
+
"path": "../../common-types"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": false,
|
|
153
|
+
"optional": false,
|
|
154
|
+
"docs": {
|
|
155
|
+
"tags": [],
|
|
156
|
+
"text": "Icon name from Duet to display."
|
|
157
|
+
},
|
|
158
|
+
"attribute": "icon",
|
|
159
|
+
"reflect": false,
|
|
160
|
+
"defaultValue": "\"\""
|
|
121
161
|
}
|
|
122
162
|
};
|
|
123
163
|
}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
-moz-appearance: none;
|
|
21
21
|
-webkit-appearance: none;
|
|
22
22
|
appearance: none;
|
|
23
|
+
width: 100%;
|
|
23
24
|
height: 100%;
|
|
24
25
|
}
|
|
25
26
|
|
|
@@ -33,14 +34,15 @@
|
|
|
33
34
|
height: 100%;
|
|
34
35
|
padding: 8px 0;
|
|
35
36
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
37
|
+
font-size: inherit;
|
|
38
|
+
font-weight: inherit;
|
|
36
39
|
line-height: 1.25;
|
|
37
|
-
color:
|
|
38
|
-
text-align:
|
|
40
|
+
color: inherit;
|
|
41
|
+
text-align: left;
|
|
39
42
|
text-decoration: none;
|
|
40
43
|
}
|
|
41
44
|
.duet-slideout-link.duet-theme-turva {
|
|
42
45
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
43
|
-
color: #940925;
|
|
44
46
|
}
|
|
45
47
|
.duet-slideout-link.active span {
|
|
46
48
|
position: relative;
|
|
@@ -52,10 +54,10 @@
|
|
|
52
54
|
left: 0;
|
|
53
55
|
display: block;
|
|
54
56
|
width: 100%;
|
|
55
|
-
height: 2px;
|
|
57
|
+
height: var(--active-height, 2px);
|
|
56
58
|
content: "";
|
|
57
59
|
background: #0077b3;
|
|
58
|
-
transform: translateY(2px);
|
|
60
|
+
transform: var(--active-translate-y, translateY(2px));
|
|
59
61
|
}
|
|
60
62
|
.duet-slideout-link.active.duet-theme-turva span::after {
|
|
61
63
|
background: #c60c30;
|
|
@@ -65,8 +67,8 @@
|
|
|
65
67
|
font-weight: 600;
|
|
66
68
|
}
|
|
67
69
|
.duet-slideout-link.small span::after {
|
|
68
|
-
height: 1px;
|
|
69
|
-
|
|
70
|
+
--active-height: 1px;
|
|
71
|
+
--active-translate-y: 1px;
|
|
70
72
|
}
|
|
71
73
|
.duet-slideout-link.medium {
|
|
72
74
|
font-size: 1.25rem;
|
|
@@ -9,7 +9,8 @@ export class DuetSlideoutLink {
|
|
|
9
9
|
this.active = false;
|
|
10
10
|
this.href = "#";
|
|
11
11
|
this.icon = undefined;
|
|
12
|
-
this.size = "
|
|
12
|
+
this.size = "inherit";
|
|
13
|
+
this.menuItem = false;
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
16
|
* Component lifecycle events.
|
|
@@ -27,7 +28,7 @@ export class DuetSlideoutLink {
|
|
|
27
28
|
"duet-theme-turva": this.theme === "turva",
|
|
28
29
|
active: this.active,
|
|
29
30
|
[this.size]: true,
|
|
30
|
-
}, href: this.href }, this.icon && h("duet-icon", {
|
|
31
|
+
}, href: this.href, role: this.menuItem && "menuitem" }, this.icon && (h("duet-icon", { name: this.icon, color: this.menuItem && "currentColor", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("span", null, h("slot", null)))));
|
|
31
32
|
}
|
|
32
33
|
static get is() { return "duet-slideout-link"; }
|
|
33
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -124,8 +125,8 @@ export class DuetSlideoutLink {
|
|
|
124
125
|
"type": "string",
|
|
125
126
|
"mutable": true,
|
|
126
127
|
"complexType": {
|
|
127
|
-
"original": "
|
|
128
|
-
"resolved": "
|
|
128
|
+
"original": "\"inherit\" | \"small\" | \"medium\" | \"large\"",
|
|
129
|
+
"resolved": "\"inherit\" | \"large\" | \"medium\" | \"small\"",
|
|
129
130
|
"references": {}
|
|
130
131
|
},
|
|
131
132
|
"required": false,
|
|
@@ -136,7 +137,28 @@ export class DuetSlideoutLink {
|
|
|
136
137
|
},
|
|
137
138
|
"attribute": "size",
|
|
138
139
|
"reflect": true,
|
|
139
|
-
"defaultValue": "\"
|
|
140
|
+
"defaultValue": "\"inherit\""
|
|
141
|
+
},
|
|
142
|
+
"menuItem": {
|
|
143
|
+
"type": "boolean",
|
|
144
|
+
"mutable": false,
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "boolean",
|
|
147
|
+
"resolved": "boolean",
|
|
148
|
+
"references": {}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": false,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [{
|
|
154
|
+
"name": "internal",
|
|
155
|
+
"text": "Indicates the component is used where aria-role menuitem is expected"
|
|
156
|
+
}],
|
|
157
|
+
"text": ""
|
|
158
|
+
},
|
|
159
|
+
"attribute": "menu-item",
|
|
160
|
+
"reflect": false,
|
|
161
|
+
"defaultValue": "false"
|
|
140
162
|
}
|
|
141
163
|
};
|
|
142
164
|
}
|
|
@@ -23,16 +23,14 @@
|
|
|
23
23
|
height: 100%;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
:host slot::slotted(
|
|
27
|
-
:host slot::slotted(duet-slideout-panel-link) {
|
|
26
|
+
:host slot:not([name=label])::slotted(*) {
|
|
28
27
|
position: relative;
|
|
29
28
|
top: 0.5rem;
|
|
30
29
|
opacity: 0;
|
|
31
30
|
transition: top 0.3s ease-in, opacity 0.3s ease-in;
|
|
32
31
|
}
|
|
33
32
|
|
|
34
|
-
:host([open]) slot::slotted(
|
|
35
|
-
:host([open]) slot::slotted(duet-slideout-panel-dropdown) {
|
|
33
|
+
:host([open]) slot:not([name=label])::slotted(*) {
|
|
36
34
|
top: 0;
|
|
37
35
|
opacity: 1;
|
|
38
36
|
}
|
|
@@ -55,7 +53,7 @@
|
|
|
55
53
|
font-weight: 800;
|
|
56
54
|
line-height: 1.25;
|
|
57
55
|
color: #00294d;
|
|
58
|
-
text-align:
|
|
56
|
+
text-align: left;
|
|
59
57
|
text-decoration: none;
|
|
60
58
|
cursor: pointer;
|
|
61
59
|
}
|
|
@@ -66,9 +64,25 @@
|
|
|
66
64
|
justify-content: space-between;
|
|
67
65
|
width: 100%;
|
|
68
66
|
}
|
|
67
|
+
.duet-slideout-panel .link .label-text.small {
|
|
68
|
+
font-size: 1rem;
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
}
|
|
71
|
+
.duet-slideout-panel .link .label-text.medium {
|
|
72
|
+
font-size: 1.25rem;
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
}
|
|
75
|
+
.duet-slideout-panel .link .label-text.large {
|
|
76
|
+
font-size: 1.5rem;
|
|
77
|
+
font-weight: 800;
|
|
78
|
+
}
|
|
69
79
|
.duet-slideout-panel .link.active .label-text {
|
|
70
80
|
position: relative;
|
|
71
81
|
}
|
|
82
|
+
.duet-slideout-panel .link.active .label-text.small::after {
|
|
83
|
+
height: 1px;
|
|
84
|
+
transform: translateY(1px);
|
|
85
|
+
}
|
|
72
86
|
.duet-slideout-panel .link.active .label-text::after {
|
|
73
87
|
position: absolute;
|
|
74
88
|
top: auto;
|
|
@@ -146,4 +160,15 @@
|
|
|
146
160
|
}
|
|
147
161
|
.duet-slideout-panel.duet-theme-turva .items {
|
|
148
162
|
background: #f5f5f7;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
slot:not([name=label]) {
|
|
166
|
+
--active-height: 1px;
|
|
167
|
+
--active-translate-y: translateY(1px);
|
|
168
|
+
font-size: 1rem;
|
|
169
|
+
font-weight: 600;
|
|
170
|
+
color: #00294d;
|
|
171
|
+
}
|
|
172
|
+
.duet-theme-turva slot:not([name=label]) {
|
|
173
|
+
color: #940925;
|
|
149
174
|
}
|
|
@@ -43,6 +43,7 @@ export class DuetSlideoutPanel {
|
|
|
43
43
|
this.active = false;
|
|
44
44
|
this.open = false;
|
|
45
45
|
this.icon = undefined;
|
|
46
|
+
this.labelSize = "medium";
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
49
|
* Component lifecycle events.
|
|
@@ -64,7 +65,7 @@ export class DuetSlideoutPanel {
|
|
|
64
65
|
} }, h("button", { ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
65
66
|
link: true,
|
|
66
67
|
active: this.active,
|
|
67
|
-
}, onClick: this.onToggleClick }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("div", { class: "label" }, h("span", { class: "label-text" }, h("slot", { name: "label" })), h("duet-icon", { class: "caret", name: "action-arrow-right", margin: "none", size: "x-small" }))), h("div", { class: {
|
|
68
|
+
}, onClick: this.onToggleClick }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("div", { class: "label" }, h("span", { class: { "label-text": true, [this.labelSize]: true } }, h("slot", { name: "label" })), h("duet-icon", { class: "caret", name: "action-arrow-right", margin: "none", size: "x-small" }))), h("div", { class: {
|
|
68
69
|
dialog: true,
|
|
69
70
|
hidden: !this.open,
|
|
70
71
|
} }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", type: "button", class: {
|
|
@@ -163,6 +164,24 @@ export class DuetSlideoutPanel {
|
|
|
163
164
|
"attribute": "icon",
|
|
164
165
|
"reflect": true,
|
|
165
166
|
"defaultValue": "undefined"
|
|
167
|
+
},
|
|
168
|
+
"labelSize": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"mutable": true,
|
|
171
|
+
"complexType": {
|
|
172
|
+
"original": "\"small\" | \"medium\" | \"large\"",
|
|
173
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
174
|
+
"references": {}
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"optional": false,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "Size. Small, medium or large."
|
|
181
|
+
},
|
|
182
|
+
"attribute": "label-size",
|
|
183
|
+
"reflect": true,
|
|
184
|
+
"defaultValue": "\"medium\""
|
|
166
185
|
}
|
|
167
186
|
};
|
|
168
187
|
}
|
package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css
CHANGED
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
height: 100%;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
:host slot::slotted(
|
|
27
|
+
:host slot:not([name=label])::slotted(*) {
|
|
28
28
|
position: relative;
|
|
29
29
|
top: -0.5rem;
|
|
30
30
|
opacity: 0;
|
|
31
31
|
transition: top 0.3s ease-in, opacity 0.3s ease-in;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
:host([open]) slot::slotted(
|
|
34
|
+
:host([open]) slot:not([name=label])::slotted(*) {
|
|
35
35
|
top: 0;
|
|
36
36
|
opacity: 1;
|
|
37
37
|
}
|
|
@@ -72,19 +72,35 @@
|
|
|
72
72
|
justify-content: center;
|
|
73
73
|
width: 100%;
|
|
74
74
|
max-height: 1000px;
|
|
75
|
-
padding: 0
|
|
75
|
+
padding: 0 20px 8px 44px;
|
|
76
76
|
overflow-y: auto;
|
|
77
77
|
visibility: visible;
|
|
78
|
-
transition: max-height 0.3s ease-in, padding 0.3s ease-in;
|
|
78
|
+
transition: max-height 0.3s ease-in, padding-bottom 0.3s ease-in;
|
|
79
79
|
}
|
|
80
80
|
.duet-slideout-panel-dropdown .items.hidden {
|
|
81
81
|
max-height: 0;
|
|
82
82
|
padding: 0;
|
|
83
83
|
overflow: hidden;
|
|
84
84
|
visibility: hidden;
|
|
85
|
-
transition: max-height 0.3s ease-out, padding 0.3s ease-out;
|
|
85
|
+
transition: max-height 0.3s ease-out, padding-bottom 0.3s ease-out;
|
|
86
86
|
}
|
|
87
87
|
.duet-slideout-panel-dropdown.duet-theme-turva button {
|
|
88
88
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
89
89
|
color: #940925;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
slot {
|
|
93
|
+
--active-height: 1px;
|
|
94
|
+
--active-translate-y: translateY(1px);
|
|
95
|
+
font-size: 1rem;
|
|
96
|
+
font-weight: 400;
|
|
97
|
+
color: #00294d;
|
|
98
|
+
}
|
|
99
|
+
.duet-theme-turva slot {
|
|
100
|
+
color: #940925;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
slot[name=label] {
|
|
104
|
+
font-size: 1rem;
|
|
105
|
+
font-weight: 600;
|
|
90
106
|
}
|
package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js
CHANGED
|
@@ -23,6 +23,10 @@ export class DuetSlideoutPanelDropdown {
|
|
|
23
23
|
*/
|
|
24
24
|
componentWillLoad() {
|
|
25
25
|
inheritGlobalTheme(this);
|
|
26
|
+
const links = this.element.querySelectorAll("duet-slideout-link");
|
|
27
|
+
links.forEach(link => {
|
|
28
|
+
link.menuItem = true;
|
|
29
|
+
});
|
|
26
30
|
}
|
|
27
31
|
/**
|
|
28
32
|
* render() function
|
|
@@ -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-aa118c82.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-788c36f2.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-a7fc05d9.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, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-0df84707.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-dd54924c.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;color:#00294d;text-decoration:none}.duet-breadcrumb:hover{color:#004d80}.duet-breadcrumb.duet-theme-turva{color:#171c3a}.duet-breadcrumb.duet-theme-turva:hover{color:#940925}.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 #0077b3}: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 #171c3a}";
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, b as Host } from './p-0df84707.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getLocaleString } from './p-ede854e1.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-dd54924c.js';
|
|
8
8
|
|
|
9
9
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-45377b84.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-2cae1940.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, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, b as Host } from './p-0df84707.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-535ce3ec.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-dd54924c.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-0d44f43d.js';
|
|
12
12
|
|
|
13
13
|
var actionArrowUp={"title":"action-arrow-up","tags":"action arrow up caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z\"/></svg>"};
|
|
14
14
|
|
|
@@ -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-59d01811.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$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, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-0df84707.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-2cae1940.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-c5a072f2.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-dd54924c.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-688a047d.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-21cfd55b.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}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex;margin-bottom:0}}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{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, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-0df84707.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-9986919d.js';
|
|
9
9
|
import { i as isKeyboardClick, a as isQuestionKey, b as isEscapeKey } from './p-d8549efe.js';
|
|
10
10
|
import { g as getLocaleString, a as getLanguage } from './p-ede854e1.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-2cae1940.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-dd54924c.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-0d44f43d.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-21cfd55b.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, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-0df84707.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { f as font_size_medium, t as tokens } from './p-738bd3c5.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-dd54924c.js';
|
|
12
12
|
|
|
13
13
|
const duetCollapsibleCss = "*.sc-duet-collapsible,*.sc-duet-collapsible::after,*.sc-duet-collapsible::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-collapsible-h{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:#00294d}.duet-theme-turva.sc-duet-collapsible-h{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-m-0.sc-duet-collapsible-h{margin:0 !important}.duet-collapsible-content.sc-duet-collapsible{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:#00294d}@media (max-width: 35.9375em){.duet-collapsible-content.sc-duet-collapsible{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva.sc-duet-collapsible{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}[open].sc-duet-collapsible-h>.duet-collapsible-content.sc-duet-collapsible{display:block}.duet-collapsible-heading.sc-duet-collapsible{-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:#00294d;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-normal-weight.sc-duet-collapsible{font-weight:400}.duet-collapsible-heading.duet-theme-turva.sc-duet-collapsible{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-collapsible-heading.sc-duet-collapsible .duet-collapsible-heading-content.sc-duet-collapsible{flex:1}.duet-collapsible-heading.sc-duet-collapsible:focus{outline:0}.user-is-tabbing.sc-duet-collapsible-h .duet-collapsible-heading.sc-duet-collapsible:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-collapsible-h .duet-collapsible-heading.sc-duet-collapsible:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon.sc-duet-collapsible{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:#00294d;transition:transform 300ms ease}.duet-collapsible-heading-icon.sc-duet-collapsible:last-child,.duet-collapsible-heading-icon.sc-duet-collapsible:last-of-type{margin-right:0 !important}[aria-expanded=true].sc-duet-collapsible .duet-collapsible-heading-icon.sc-duet-collapsible{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, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h as h$1, b as Host } from './p-0df84707.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-ede854e1.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
10
10
|
import { h, F as Fragment } from './p-e4a60f42.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-dd54924c.js';
|
|
12
12
|
|
|
13
13
|
const SelectSingle = ({ item, search = "", selected }) => {
|
|
14
14
|
const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-0df84707.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$6 } from './p-
|
|
7
|
-
import { d as defineCustomElement$5 } from './p-
|
|
8
|
-
import { d as defineCustomElement$4 } from './p-
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$6 } from './p-45377b84.js';
|
|
7
|
+
import { d as defineCustomElement$5 } from './p-dd54924c.js';
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-0d44f43d.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-f0803854.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-21cfd55b.js';
|
|
11
11
|
|
|
12
12
|
const duetCookieConsentCss = "*,*::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;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;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:0.875rem;color:white !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.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-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:white !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
13
13
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h as h$1, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h as h$1, b as Host } from './p-0df84707.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { F as FocusGuard } from './p-9986919d.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString } from './p-ede854e1.js';
|
|
9
9
|
import { h } from './p-e4a60f42.js';
|
|
10
|
-
import { d as defineCustomElement$8 } from './p-
|
|
11
|
-
import { d as defineCustomElement$7 } from './p-
|
|
12
|
-
import { d as defineCustomElement$6 } from './p-
|
|
13
|
-
import { d as defineCustomElement$5 } from './p-
|
|
14
|
-
import { d as defineCustomElement$4 } from './p-
|
|
15
|
-
import { d as defineCustomElement$3 } from './p-
|
|
16
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$8 } from './p-aa118c82.js';
|
|
11
|
+
import { d as defineCustomElement$7 } from './p-2cae1940.js';
|
|
12
|
+
import { d as defineCustomElement$6 } from './p-dd54924c.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './p-667f368c.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './p-cb5e8149.js';
|
|
15
|
+
import { d as defineCustomElement$3 } from './p-688a047d.js';
|
|
16
|
+
import { d as defineCustomElement$2 } from './p-21cfd55b.js';
|
|
17
17
|
|
|
18
18
|
const formatOptionsShort = { day: "numeric", month: "long" };
|
|
19
19
|
const formatOptionsLong = { day: "numeric", month: "long", year: "numeric" };
|