@duetds/components 6.5.1 → 6.5.3
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 +128 -25
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +5 -3
- 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 +64 -7
- 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 +13 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -3
- 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 +17 -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 +4 -2
- 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-51b5276c.js → focus-utils-ed2dad1b.js} +1 -1
- package/lib/cjs/{index-64cbfac2.js → index-9ee8fef8.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.css +1 -0
- package/lib/collection/components/duet-button/duet-button.css +25 -12
- package/lib/collection/components/duet-button/duet-button.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +7 -2
- package/lib/collection/components/duet-input/duet-input.css +66 -0
- package/lib/collection/components/duet-input/duet-input.js +71 -8
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +203 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +19 -1
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +0 -19
- package/lib/collection/components/duet-slideout/duet-slideout.css +41 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +18 -9
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +12 -0
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +58 -2
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +38 -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 +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 +6 -4
- 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 +25 -13
- 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.js +25 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- 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 +23 -11
- 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 +10 -4
- 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 +17 -8
- 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 +7 -3
- 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.js +1 -1
- package/lib/dist-custom-elements/{p-e36e0709.js → p-018af97c.js} +1 -1
- package/lib/dist-custom-elements/{p-fe6b0ed3.js → p-0f583b14.js} +1 -1
- package/lib/dist-custom-elements/{p-1cfd49ee.js → p-12b2209e.js} +2 -2
- package/lib/dist-custom-elements/{p-c5a072f2.js → p-19f6ccfd.js} +2 -2
- package/lib/dist-custom-elements/p-1c1d12e6.js +265 -0
- package/lib/dist-custom-elements/{p-f04e8a3b.js → p-2799f459.js} +2 -2
- package/lib/dist-custom-elements/{p-0df84707.js → p-2973295e.js} +1 -1
- package/lib/dist-custom-elements/{p-f0803854.js → p-29ac3d37.js} +1 -1
- package/lib/dist-custom-elements/{p-688a047d.js → p-2cc693bd.js} +3 -3
- package/lib/dist-custom-elements/{p-6775ca86.js → p-3f4b8d49.js} +6 -6
- package/lib/dist-custom-elements/{p-21cfd55b.js → p-4385956a.js} +1 -1
- package/lib/dist-custom-elements/{p-cb5e8149.js → p-47157a1e.js} +1 -1
- package/lib/dist-custom-elements/{p-ef91ff76.js → p-51525197.js} +7 -7
- package/lib/dist-custom-elements/{p-aa118c82.js → p-637de545.js} +3 -3
- package/lib/dist-custom-elements/{p-1287c9f0.js → p-65ff709e.js} +3 -3
- package/lib/dist-custom-elements/{p-14c4ae63.js → p-6fc347ac.js} +1 -1
- package/lib/dist-custom-elements/{p-8ef57d6b.js → p-70525432.js} +2 -2
- package/lib/dist-custom-elements/{p-ea4a0707.js → p-a3118d10.js} +1 -1
- package/lib/dist-custom-elements/{p-19125b3a.js → p-a9df186e.js} +1 -1
- package/lib/dist-custom-elements/{p-012ce9cd.js → p-b1567b3c.js} +1 -1
- package/lib/dist-custom-elements/{p-59d01811.js → p-b33885be.js} +1 -1
- package/lib/dist-custom-elements/{p-84e4317d.js → p-c4833a6d.js} +2 -2
- package/lib/dist-custom-elements/{p-2cae1940.js → p-c58ed6c1.js} +1 -1
- package/lib/dist-custom-elements/{p-9c0459ca.js → p-c8062b13.js} +1 -1
- package/lib/dist-custom-elements/{p-a7fc05d9.js → p-e41dcc90.js} +1 -1
- package/lib/dist-custom-elements/{p-8ece8544.js → p-e9433706.js} +1 -1
- package/lib/dist-custom-elements/{p-0d44f43d.js → p-f0e97570.js} +1 -1
- package/lib/dist-custom-elements/{p-788c36f2.js → p-f51c6f0d.js} +6 -6
- package/lib/dist-custom-elements/{p-667f368c.js → p-fd3b1d69.js} +87 -16
- package/lib/dist-custom-elements/{p-a7331687.js → p-fdfff09b.js} +1 -1
- package/lib/dist-custom-elements/{p-dd54924c.js → p-ff814bad.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-de635e2e.entry.js → p-006b7cf2.entry.js} +1 -1
- package/lib/duet/{p-e4eb67fa.system.entry.js → p-04103703.system.entry.js} +1 -1
- package/lib/duet/p-052545fb.system.entry.js +4 -0
- package/lib/duet/{p-401a0998.system.entry.js → p-055cffab.system.entry.js} +1 -1
- package/lib/duet/{p-03ee21a3.entry.js → p-05ff4ff2.entry.js} +1 -1
- package/lib/duet/{p-6cde8c43.entry.js → p-08cc78bf.entry.js} +1 -1
- package/lib/duet/{p-3f2d8fe4.entry.js → p-08f3c955.entry.js} +1 -1
- package/lib/duet/{p-b519684f.entry.js → p-09c3fee3.entry.js} +1 -1
- package/lib/duet/{p-362174cc.entry.js → p-0d24350f.entry.js} +1 -1
- package/lib/duet/{p-890aabd1.entry.js → p-0e4288ad.entry.js} +1 -1
- package/lib/duet/{p-f54e0616.entry.js → p-0eed7e9d.entry.js} +1 -1
- package/lib/duet/p-10525faa.system.entry.js +4 -0
- package/lib/duet/{p-1f745490.system.entry.js → p-107abf9a.system.entry.js} +1 -1
- package/lib/duet/p-111468b4.system.js +4 -0
- package/lib/duet/{p-b94a478a.system.entry.js → p-11c83814.system.entry.js} +1 -1
- package/lib/duet/{p-2deda672.system.entry.js → p-11eec0c4.system.entry.js} +1 -1
- package/lib/duet/{p-ba93a403.system.entry.js → p-12014f2b.system.entry.js} +1 -1
- package/lib/duet/{p-09be550b.system.entry.js → p-15910757.system.entry.js} +1 -1
- package/lib/duet/{p-e781e62c.entry.js → p-183db4fd.entry.js} +1 -1
- package/lib/duet/p-1ca17c3d.system.entry.js +4 -0
- package/lib/duet/{p-a3047a26.entry.js → p-1d3b7252.entry.js} +1 -1
- package/lib/duet/{p-44d2a1b5.entry.js → p-1d86c33e.entry.js} +1 -1
- package/lib/duet/{p-2b73dd59.system.entry.js → p-1f5b0f23.system.entry.js} +1 -1
- package/lib/duet/{p-2fdbd2c6.system.entry.js → p-1fcb57c4.system.entry.js} +1 -1
- package/lib/duet/{p-2cea3fdb.entry.js → p-20077ae5.entry.js} +1 -1
- package/lib/duet/{p-87f2c5d4.system.entry.js → p-24ec796f.system.entry.js} +1 -1
- package/lib/duet/{p-f9be45b3.entry.js → p-25f8b35d.entry.js} +1 -1
- package/lib/duet/{p-b8decc75.system.entry.js → p-285a5c7a.system.entry.js} +1 -1
- package/lib/duet/{p-3d4aa492.system.entry.js → p-29f2cb57.system.entry.js} +1 -1
- package/lib/duet/{p-5983d1b7.system.entry.js → p-2bea974a.system.entry.js} +1 -1
- package/lib/duet/{p-9884486c.entry.js → p-3179dcc4.entry.js} +1 -1
- package/lib/duet/p-35d9ede4.system.entry.js +4 -0
- package/lib/duet/{p-1d2a9cf6.system.entry.js → p-36ad1015.system.entry.js} +1 -1
- package/lib/duet/p-36e6b035.entry.js +4 -0
- package/lib/duet/{p-672dcefc.system.entry.js → p-3783db99.system.entry.js} +1 -1
- package/lib/duet/{p-48aa12e2.entry.js → p-3bfd250e.entry.js} +1 -1
- package/lib/duet/{p-a9f36246.entry.js → p-43abf083.entry.js} +1 -1
- package/lib/duet/{p-80c05a0f.entry.js → p-466341b7.entry.js} +1 -1
- package/lib/duet/{p-d6b7e4e9.entry.js → p-4a7c0c4f.entry.js} +1 -1
- package/lib/duet/{p-408a536f.entry.js → p-4aa4735d.entry.js} +1 -1
- package/lib/duet/{p-8e05ca49.system.entry.js → p-4bb8d188.system.entry.js} +1 -1
- package/lib/duet/{p-98c780ad.system.entry.js → p-4be58c8b.system.entry.js} +1 -1
- package/lib/duet/{p-7d54d6e1.entry.js → p-4faaf699.entry.js} +1 -1
- package/lib/duet/{p-823de698.system.entry.js → p-5058dcff.system.entry.js} +1 -1
- package/lib/duet/{p-a63f753e.system.js → p-51721695.system.js} +1 -1
- package/lib/duet/{p-17e21461.system.entry.js → p-51dae606.system.entry.js} +1 -1
- package/lib/duet/{p-ae39325e.entry.js → p-577f5a55.entry.js} +1 -1
- package/lib/duet/{p-781aa86e.system.entry.js → p-5831b7b3.system.entry.js} +1 -1
- package/lib/duet/{p-2afce187.entry.js → p-5b7cbc4d.entry.js} +1 -1
- package/lib/duet/{p-276895fe.entry.js → p-5c66df7c.entry.js} +1 -1
- package/lib/duet/{p-da31f5fc.entry.js → p-5e02b923.entry.js} +1 -1
- package/lib/duet/{p-97816dce.system.entry.js → p-5e110a00.system.entry.js} +1 -1
- package/lib/duet/{p-437083ed.system.entry.js → p-5ec490da.system.entry.js} +1 -1
- package/lib/duet/p-5fff98bf.entry.js +4 -0
- package/lib/duet/{p-fb74bd6a.system.entry.js → p-609cd028.system.entry.js} +1 -1
- package/lib/duet/{p-42e7aa32.entry.js → p-61fe36d3.entry.js} +1 -1
- package/lib/duet/{p-2e49d057.entry.js → p-6410c967.entry.js} +1 -1
- package/lib/duet/{p-593f2330.system.entry.js → p-68986f07.system.entry.js} +1 -1
- package/lib/duet/{p-6c5f600b.system.entry.js → p-6989d392.system.entry.js} +1 -1
- package/lib/duet/{p-ec91cdca.system.entry.js → p-69ab5590.system.entry.js} +1 -1
- package/lib/duet/p-6d3a3fd0.js +4 -0
- package/lib/duet/{p-5bfb6d98.entry.js → p-72bda1b3.entry.js} +1 -1
- package/lib/duet/{p-3937796f.system.entry.js → p-74a742c9.system.entry.js} +1 -1
- package/lib/duet/{p-7c4798b2.entry.js → p-79ff1a6a.entry.js} +1 -1
- package/lib/duet/{p-fd2c782d.system.entry.js → p-7e39a550.system.entry.js} +1 -1
- package/lib/duet/{p-1d08b9ed.entry.js → p-80ffbd1c.entry.js} +1 -1
- package/lib/duet/{p-9c7ecd2a.system.entry.js → p-8e69027d.system.entry.js} +1 -1
- package/lib/duet/{p-8f69d87b.entry.js → p-94f0387e.entry.js} +1 -1
- package/lib/duet/{p-942e7a28.entry.js → p-95a4082f.entry.js} +1 -1
- package/lib/duet/p-98ae2cb9.entry.js +4 -0
- package/lib/duet/{p-233e91ea.entry.js → p-9ad584d2.entry.js} +1 -1
- package/lib/duet/p-9b949b28.entry.js +4 -0
- package/lib/duet/p-9bc15874.entry.js +4 -0
- package/lib/duet/{p-4e3e91fd.system.entry.js → p-9cbc891f.system.entry.js} +1 -1
- package/lib/duet/{p-75c38aee.system.entry.js → p-a1dc9c9e.system.entry.js} +1 -1
- package/lib/duet/{p-6afd7b03.entry.js → p-a4054eae.entry.js} +1 -1
- package/lib/duet/{p-e7a8d51f.system.entry.js → p-a5a6751e.system.entry.js} +1 -1
- package/lib/duet/{p-4ce3c6a6.system.entry.js → p-a77d4c37.system.entry.js} +1 -1
- package/lib/duet/{p-2c67137b.system.js → p-a7ec9aa4.system.js} +1 -1
- package/lib/duet/{p-01fcb80e.system.js → p-a9ba6306.system.js} +1 -1
- package/lib/duet/{p-e68499ea.entry.js → p-aa9f3fc8.entry.js} +1 -1
- package/lib/duet/{p-0b415c31.entry.js → p-acf4057a.entry.js} +1 -1
- package/lib/duet/{p-91893eb4.system.entry.js → p-ae1e4397.system.entry.js} +1 -1
- package/lib/duet/{p-704eb099.entry.js → p-ae39acbe.entry.js} +1 -1
- package/lib/duet/{p-ac1eaf2d.entry.js → p-af8dbf72.entry.js} +1 -1
- package/lib/duet/{p-4c12d8ba.system.entry.js → p-b0428a5d.system.entry.js} +1 -1
- package/lib/duet/{p-77e3c513.system.entry.js → p-b0e1180e.system.entry.js} +1 -1
- package/lib/duet/{p-6cf7ebc2.entry.js → p-b20bff64.entry.js} +1 -1
- package/lib/duet/{p-4970d360.system.entry.js → p-b3f3bca8.system.entry.js} +1 -1
- package/lib/duet/{p-64d1cc95.entry.js → p-b4659570.entry.js} +1 -1
- package/lib/duet/p-b63f60f6.system.entry.js +4 -0
- package/lib/duet/{p-da71d66d.entry.js → p-b6753d6e.entry.js} +1 -1
- package/lib/duet/{p-40ac94f6.entry.js → p-b77e364d.entry.js} +1 -1
- package/lib/duet/{p-26d917a0.entry.js → p-bbc717af.entry.js} +1 -1
- package/lib/duet/{p-ab4e81ca.entry.js → p-bdbf8bca.entry.js} +1 -1
- package/lib/duet/{p-1ab5cbbc.entry.js → p-c0d2e97b.entry.js} +1 -1
- package/lib/duet/{p-5ce46c84.entry.js → p-c2f44fde.entry.js} +1 -1
- package/lib/duet/{p-6921cfa6.system.entry.js → p-c41c7735.system.entry.js} +2 -2
- package/lib/duet/p-c81e306c.system.entry.js +4 -0
- package/lib/duet/{p-d39cf5b1.entry.js → p-ca5373cf.entry.js} +1 -1
- package/lib/duet/p-cce6bb84.entry.js +4 -0
- package/lib/duet/{p-3e5839c6.entry.js → p-cd33c4cd.entry.js} +1 -1
- package/lib/duet/p-cd514cf6.system.entry.js +4 -0
- package/lib/duet/{p-99e33456.system.entry.js → p-ce35d050.system.entry.js} +1 -1
- package/lib/duet/{p-341a9eb0.system.entry.js → p-cfd2206f.system.entry.js} +1 -1
- package/lib/duet/{p-31e877bf.system.entry.js → p-d2ffedfa.system.entry.js} +1 -1
- package/lib/duet/{p-933256d2.system.entry.js → p-d3f8e957.system.entry.js} +1 -1
- package/lib/duet/{p-1c82d61e.entry.js → p-d57020ab.entry.js} +1 -1
- package/lib/duet/{p-054a2d07.system.entry.js → p-d76aa87f.system.entry.js} +1 -1
- package/lib/duet/p-d86cf803.entry.js +4 -0
- package/lib/duet/{p-ab11408b.js → p-d9859e96.js} +1 -1
- package/lib/duet/{p-f36dc895.entry.js → p-d9aa697b.entry.js} +1 -1
- package/lib/duet/p-dc1e280d.entry.js +4 -0
- package/lib/duet/{p-01b63777.system.entry.js → p-dc87c6ce.system.entry.js} +1 -1
- package/lib/duet/p-dcf65419.entry.js +4 -0
- package/lib/duet/{p-0590a8c0.system.entry.js → p-debdd0e0.system.entry.js} +1 -1
- package/lib/duet/{p-d30d6c41.system.entry.js → p-df40670a.system.entry.js} +1 -1
- package/lib/duet/{p-ec7699f0.system.entry.js → p-dfe588e8.system.entry.js} +1 -1
- package/lib/duet/p-e0c48a7d.entry.js +4 -0
- package/lib/duet/{p-9b4de80f.entry.js → p-e82cc5a7.entry.js} +1 -1
- package/lib/duet/{p-85658cea.system.entry.js → p-ea09c830.system.entry.js} +1 -1
- package/lib/duet/{p-e3165e41.entry.js → p-ebfb519a.entry.js} +1 -1
- package/lib/duet/{p-4b838a9c.system.entry.js → p-ecc8c5f4.system.entry.js} +1 -1
- package/lib/duet/p-edd23a3b.entry.js +4 -0
- package/lib/duet/{p-525687a7.system.entry.js → p-ee4e7bff.system.entry.js} +1 -1
- package/lib/duet/{p-54f35a79.js → p-f077c646.js} +1 -1
- package/lib/duet/{p-c1f14850.system.entry.js → p-f4b19481.system.entry.js} +1 -1
- package/lib/duet/{p-59d13b8d.system.entry.js → p-f58e2c75.system.entry.js} +1 -1
- package/lib/duet/{p-d15c8354.system.entry.js → p-f7cefa5d.system.entry.js} +1 -1
- package/lib/duet/{p-f6a3085c.system.entry.js → p-f888deb6.system.entry.js} +1 -1
- package/lib/duet/{p-4e37aedf.entry.js → p-f8bdcad4.entry.js} +1 -1
- package/lib/duet/{p-16911df0.system.entry.js → p-fc6de9c4.system.entry.js} +1 -1
- package/lib/duet/{p-66f2c12f.system.entry.js → p-feb0de52.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +6 -4
- package/lib/esm/duet-combobox.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 +2 -2
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +65 -8
- 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 +13 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -2
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +3 -3
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +6 -3
- 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 +17 -7
- package/lib/esm/duet-step_2.entry.js +2 -2
- 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 +4 -2
- 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-f1a08e01.js → focus-utils-9717e725.js} +1 -1
- package/lib/esm/{index-bcdc5466.js → index-e394f675.js} +1 -1
- package/lib/esm/{keyboard-utils-88ea1007.js → keyboard-utils-d237bd5a.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +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 +2 -2
- 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-9717e725.js +4 -0
- package/lib/esm-es5/{index-bcdc5466.js → index-e394f675.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-88ea1007.js → keyboard-utils-d237bd5a.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-button/duet-button.d.ts +1 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +2 -0
- package/lib/types/components/duet-input/duet-input.d.ts +23 -4
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +51 -1
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +6 -0
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +0 -4
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -3
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +15 -1
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +10 -0
- package/lib/types/components.d.ts +144 -16
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-45377b84.js +0 -265
- package/lib/duet/p-0112579c.entry.js +0 -4
- package/lib/duet/p-24cb9a5c.entry.js +0 -4
- package/lib/duet/p-2aed3283.system.entry.js +0 -4
- package/lib/duet/p-2b5f338b.entry.js +0 -4
- package/lib/duet/p-3211450e.entry.js +0 -4
- package/lib/duet/p-35bb4ee9.entry.js +0 -4
- package/lib/duet/p-37de9a2f.entry.js +0 -4
- package/lib/duet/p-3f375bef.entry.js +0 -4
- package/lib/duet/p-4ab49eb4.js +0 -4
- package/lib/duet/p-555192b0.system.entry.js +0 -4
- package/lib/duet/p-5feb0657.system.entry.js +0 -4
- package/lib/duet/p-64cca33a.entry.js +0 -4
- package/lib/duet/p-6ab272dd.system.entry.js +0 -4
- package/lib/duet/p-6d7d186f.entry.js +0 -4
- package/lib/duet/p-6e75fbd6.system.entry.js +0 -4
- package/lib/duet/p-7bd6683a.system.entry.js +0 -4
- package/lib/duet/p-9b4402ef.entry.js +0 -4
- package/lib/duet/p-c87eeeb5.system.js +0 -4
- package/lib/duet/p-e53e892f.system.entry.js +0 -4
- package/lib/duet/p-f3301cbc.entry.js +0 -4
- package/lib/esm-es5/focus-utils-f1a08e01.js +0 -4
|
@@ -4,6 +4,7 @@
|
|
|
4
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
|
+
import { getColorByName } from "../../utils/token-utils";
|
|
7
8
|
export class DuetSlideout {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.toggleMenu = (e) => {
|
|
@@ -21,7 +22,7 @@ export class DuetSlideout {
|
|
|
21
22
|
}
|
|
22
23
|
else {
|
|
23
24
|
setTimeout(() => {
|
|
24
|
-
this.openButton.
|
|
25
|
+
this.openButton.setFocus();
|
|
25
26
|
}, 200);
|
|
26
27
|
}
|
|
27
28
|
};
|
|
@@ -30,7 +31,7 @@ export class DuetSlideout {
|
|
|
30
31
|
};
|
|
31
32
|
this.theme = "";
|
|
32
33
|
this.open = false;
|
|
33
|
-
this.
|
|
34
|
+
this.background = "";
|
|
34
35
|
}
|
|
35
36
|
/**
|
|
36
37
|
* Toggles the slideout.
|
|
@@ -71,10 +72,18 @@ export class DuetSlideout {
|
|
|
71
72
|
* Always the last one in the class.
|
|
72
73
|
*/
|
|
73
74
|
render() {
|
|
74
|
-
|
|
75
|
+
const styles = {
|
|
76
|
+
background: getColorByName(this.background, this.theme),
|
|
77
|
+
};
|
|
78
|
+
return (h(Host, null, h("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { name: "toggle" }), h("div", { class: {
|
|
79
|
+
"desktop-bg": true,
|
|
80
|
+
hidden: !this.open,
|
|
81
|
+
}, onClick: () => {
|
|
82
|
+
this.open = false;
|
|
83
|
+
} }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": "true", "aria-flowto": "menubar", class: {
|
|
75
84
|
dialog: true,
|
|
76
85
|
hidden: !this.open,
|
|
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: {
|
|
86
|
+
}, 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", type: "button", class: {
|
|
78
87
|
"slideout-close": true,
|
|
79
88
|
active: this.open,
|
|
80
89
|
}, onClick: this.onClick }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none" }))), h("div", { id: "menubar", role: "menubar", class: {
|
|
@@ -136,14 +145,14 @@ export class DuetSlideout {
|
|
|
136
145
|
"reflect": true,
|
|
137
146
|
"defaultValue": "false"
|
|
138
147
|
},
|
|
139
|
-
"
|
|
148
|
+
"background": {
|
|
140
149
|
"type": "string",
|
|
141
150
|
"mutable": false,
|
|
142
151
|
"complexType": {
|
|
143
|
-
"original": "
|
|
152
|
+
"original": "DuetColor",
|
|
144
153
|
"resolved": "string",
|
|
145
154
|
"references": {
|
|
146
|
-
"
|
|
155
|
+
"DuetColor": {
|
|
147
156
|
"location": "import",
|
|
148
157
|
"path": "../../common-types"
|
|
149
158
|
}
|
|
@@ -153,9 +162,9 @@ export class DuetSlideout {
|
|
|
153
162
|
"optional": false,
|
|
154
163
|
"docs": {
|
|
155
164
|
"tags": [],
|
|
156
|
-
"text": "
|
|
165
|
+
"text": "Custom color to be used for a circular background, as a design token entered\nin camelCase or kebab-case.."
|
|
157
166
|
},
|
|
158
|
-
"attribute": "
|
|
167
|
+
"attribute": "background",
|
|
159
168
|
"reflect": false,
|
|
160
169
|
"defaultValue": "\"\""
|
|
161
170
|
}
|
|
@@ -77,4 +77,16 @@
|
|
|
77
77
|
.duet-slideout-link.large {
|
|
78
78
|
font-size: 1.5rem;
|
|
79
79
|
font-weight: 800;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
slot[name=description]::slotted(*) {
|
|
83
|
+
display: block;
|
|
84
|
+
padding: 8px 0 0;
|
|
85
|
+
font-size: 1rem;
|
|
86
|
+
font-size: 1.25;
|
|
87
|
+
font-weight: 400;
|
|
88
|
+
color: #657787;
|
|
89
|
+
}
|
|
90
|
+
.duet-theme-turva slot[name=description]::slotted(*) {
|
|
91
|
+
color: #444445;
|
|
80
92
|
}
|
|
@@ -5,11 +5,14 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
export class DuetSlideoutLink {
|
|
7
7
|
constructor() {
|
|
8
|
+
this.accessibleLabel = undefined;
|
|
8
9
|
this.theme = "";
|
|
10
|
+
this.targetLanguage = undefined;
|
|
9
11
|
this.active = false;
|
|
10
12
|
this.href = "#";
|
|
11
13
|
this.icon = undefined;
|
|
12
14
|
this.size = "inherit";
|
|
15
|
+
this.caret = false;
|
|
13
16
|
this.menuItem = false;
|
|
14
17
|
}
|
|
15
18
|
/**
|
|
@@ -28,7 +31,7 @@ export class DuetSlideoutLink {
|
|
|
28
31
|
"duet-theme-turva": this.theme === "turva",
|
|
29
32
|
active: this.active,
|
|
30
33
|
[this.size]: true,
|
|
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)))));
|
|
34
|
+
}, href: this.href, role: this.menuItem && "menuitem", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, 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), h("slot", { name: "description" })), this.caret && h("duet-icon", { name: "action-arrow-right", color: "primary", size: "x-small", margin: "none" }))));
|
|
32
35
|
}
|
|
33
36
|
static get is() { return "duet-slideout-link"; }
|
|
34
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,6 +47,23 @@ export class DuetSlideoutLink {
|
|
|
44
47
|
}
|
|
45
48
|
static get properties() {
|
|
46
49
|
return {
|
|
50
|
+
"accessibleLabel": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"mutable": false,
|
|
53
|
+
"complexType": {
|
|
54
|
+
"original": "string",
|
|
55
|
+
"resolved": "string",
|
|
56
|
+
"references": {}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"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."
|
|
63
|
+
},
|
|
64
|
+
"attribute": "accessible-label",
|
|
65
|
+
"reflect": false
|
|
66
|
+
},
|
|
47
67
|
"theme": {
|
|
48
68
|
"type": "string",
|
|
49
69
|
"mutable": true,
|
|
@@ -67,6 +87,24 @@ export class DuetSlideoutLink {
|
|
|
67
87
|
"reflect": false,
|
|
68
88
|
"defaultValue": "\"\""
|
|
69
89
|
},
|
|
90
|
+
"targetLanguage": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "\"en\" | \"fi\" | \"sv\"",
|
|
95
|
+
"resolved": "\"en\" | \"fi\" | \"sv\"",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Language of the link. Use this only for language selection links."
|
|
103
|
+
},
|
|
104
|
+
"attribute": "target-language",
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"defaultValue": "undefined"
|
|
107
|
+
},
|
|
70
108
|
"active": {
|
|
71
109
|
"type": "boolean",
|
|
72
110
|
"mutable": true,
|
|
@@ -133,12 +171,30 @@ export class DuetSlideoutLink {
|
|
|
133
171
|
"optional": false,
|
|
134
172
|
"docs": {
|
|
135
173
|
"tags": [],
|
|
136
|
-
"text": "Size.
|
|
174
|
+
"text": "Size. Inherit, small, medium or large. Inherit value inherits styles from the value in the underlying slot."
|
|
137
175
|
},
|
|
138
176
|
"attribute": "size",
|
|
139
177
|
"reflect": true,
|
|
140
178
|
"defaultValue": "\"inherit\""
|
|
141
179
|
},
|
|
180
|
+
"caret": {
|
|
181
|
+
"type": "boolean",
|
|
182
|
+
"mutable": true,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "boolean",
|
|
185
|
+
"resolved": "boolean",
|
|
186
|
+
"references": {}
|
|
187
|
+
},
|
|
188
|
+
"required": false,
|
|
189
|
+
"optional": false,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [],
|
|
192
|
+
"text": "Caret"
|
|
193
|
+
},
|
|
194
|
+
"attribute": "caret",
|
|
195
|
+
"reflect": false,
|
|
196
|
+
"defaultValue": "false"
|
|
197
|
+
},
|
|
142
198
|
"menuItem": {
|
|
143
199
|
"type": "boolean",
|
|
144
200
|
"mutable": false,
|
|
@@ -5,7 +5,9 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
export class DuetToolbarDropdownLink {
|
|
7
7
|
constructor() {
|
|
8
|
+
this.accessibleLabel = undefined;
|
|
8
9
|
this.theme = "";
|
|
10
|
+
this.targetLanguage = undefined;
|
|
9
11
|
this.href = "#";
|
|
10
12
|
this.icon = undefined;
|
|
11
13
|
this.active = false;
|
|
@@ -25,7 +27,7 @@ export class DuetToolbarDropdownLink {
|
|
|
25
27
|
"duet-toolbar-dropdown-link": true,
|
|
26
28
|
"duet-theme-turva": this.theme === "turva",
|
|
27
29
|
active: this.active,
|
|
28
|
-
}, href: this.href, role: "menuitem" }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("slot", null))));
|
|
30
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "menuitem", "aria-label": this.accessibleLabel }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("slot", null))));
|
|
29
31
|
}
|
|
30
32
|
static get is() { return "duet-toolbar-dropdown-link"; }
|
|
31
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,6 +43,23 @@ export class DuetToolbarDropdownLink {
|
|
|
41
43
|
}
|
|
42
44
|
static get properties() {
|
|
43
45
|
return {
|
|
46
|
+
"accessibleLabel": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"mutable": false,
|
|
49
|
+
"complexType": {
|
|
50
|
+
"original": "string",
|
|
51
|
+
"resolved": "string",
|
|
52
|
+
"references": {}
|
|
53
|
+
},
|
|
54
|
+
"required": false,
|
|
55
|
+
"optional": false,
|
|
56
|
+
"docs": {
|
|
57
|
+
"tags": [],
|
|
58
|
+
"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."
|
|
59
|
+
},
|
|
60
|
+
"attribute": "accessible-label",
|
|
61
|
+
"reflect": false
|
|
62
|
+
},
|
|
44
63
|
"theme": {
|
|
45
64
|
"type": "string",
|
|
46
65
|
"mutable": true,
|
|
@@ -64,6 +83,24 @@ export class DuetToolbarDropdownLink {
|
|
|
64
83
|
"reflect": false,
|
|
65
84
|
"defaultValue": "\"\""
|
|
66
85
|
},
|
|
86
|
+
"targetLanguage": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "\"en\" | \"fi\" | \"sv\"",
|
|
91
|
+
"resolved": "\"en\" | \"fi\" | \"sv\"",
|
|
92
|
+
"references": {}
|
|
93
|
+
},
|
|
94
|
+
"required": false,
|
|
95
|
+
"optional": false,
|
|
96
|
+
"docs": {
|
|
97
|
+
"tags": [],
|
|
98
|
+
"text": "Language of the link. Use this only for language selection links."
|
|
99
|
+
},
|
|
100
|
+
"attribute": "target-language",
|
|
101
|
+
"reflect": false,
|
|
102
|
+
"defaultValue": "undefined"
|
|
103
|
+
},
|
|
67
104
|
"href": {
|
|
68
105
|
"type": "string",
|
|
69
106
|
"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-637de545.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-f51c6f0d.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-e41dcc90.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-2973295e.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-ff814bad.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-2973295e.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-ff814bad.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-1c1d12e6.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-c58ed6c1.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-2973295e.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-ff814bad.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-f0e97570.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-b33885be.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-2973295e.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-c58ed6c1.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-19f6ccfd.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-ff814bad.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-2cc693bd.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-4385956a.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-2973295e.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-c58ed6c1.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-ff814bad.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-f0e97570.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-4385956a.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,16 +1,16 @@
|
|
|
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-2973295e.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-ff814bad.js';
|
|
12
12
|
|
|
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)}";
|
|
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:0 auto;min-width:0}.duet-collapsible-heading.has-after-heading.sc-duet-collapsible .duet-collapsible-heading-content.sc-duet-collapsible+div.sc-duet-collapsible{flex:1 0 auto;margin-left:16px}.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
|
|
|
15
15
|
const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
16
16
|
constructor() {
|
|
@@ -77,6 +77,7 @@ const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
77
77
|
*/
|
|
78
78
|
componentWillLoad() {
|
|
79
79
|
inheritGlobalTheme(this);
|
|
80
|
+
this.hasAfterHeading = !!this.element.querySelector(":scope > [slot='after-heading']");
|
|
80
81
|
}
|
|
81
82
|
/**
|
|
82
83
|
* Sets focus on the specified `duet-collapsible`. Use this method instead of the global
|
|
@@ -98,7 +99,8 @@ const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
98
99
|
"duet-collapsible-heading": true,
|
|
99
100
|
"duet-theme-turva": this.theme === "turva",
|
|
100
101
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
101
|
-
|
|
102
|
+
"has-after-heading": this.hasAfterHeading,
|
|
103
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", tabindex: "0", ref: button => (this.nativeButton = button), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "duet-collapsible-heading-icon" }, h("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", null, h("slot", { name: "after-heading" })))), h("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", null))));
|
|
102
104
|
}
|
|
103
105
|
get element() { return this; }
|
|
104
106
|
static get style() { return duetCollapsibleCss; }
|
|
@@ -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-2973295e.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-ff814bad.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-2973295e.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-1c1d12e6.js';
|
|
7
|
+
import { d as defineCustomElement$5 } from './p-ff814bad.js';
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-f0e97570.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-29ac3d37.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-4385956a.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,21 @@
|
|
|
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-2973295e.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$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
10
|
+
import { d as defineCustomElement$a } from './p-637de545.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-1c1d12e6.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-c58ed6c1.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-ff814bad.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-fd3b1d69.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './p-47157a1e.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './p-29ac3d37.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './p-2cc693bd.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './p-4385956a.js';
|
|
17
19
|
|
|
18
20
|
const formatOptionsShort = { day: "numeric", month: "long" };
|
|
19
21
|
const formatOptionsLong = { day: "numeric", month: "long", year: "numeric" };
|
|
@@ -784,7 +786,7 @@ function defineCustomElement$1() {
|
|
|
784
786
|
if (typeof customElements === "undefined") {
|
|
785
787
|
return;
|
|
786
788
|
}
|
|
787
|
-
const components = ["duet-date-picker", "duet-action-button", "duet-caption", "duet-icon", "duet-input", "duet-label", "duet-tooltip", "duet-visually-hidden"];
|
|
789
|
+
const components = ["duet-date-picker", "duet-action-button", "duet-button", "duet-caption", "duet-icon", "duet-input", "duet-label", "duet-spinner", "duet-tooltip", "duet-visually-hidden"];
|
|
788
790
|
components.forEach(tagName => { switch (tagName) {
|
|
789
791
|
case "duet-date-picker":
|
|
790
792
|
if (!customElements.get(tagName)) {
|
|
@@ -793,25 +795,35 @@ function defineCustomElement$1() {
|
|
|
793
795
|
break;
|
|
794
796
|
case "duet-action-button":
|
|
795
797
|
if (!customElements.get(tagName)) {
|
|
796
|
-
defineCustomElement$
|
|
798
|
+
defineCustomElement$a();
|
|
799
|
+
}
|
|
800
|
+
break;
|
|
801
|
+
case "duet-button":
|
|
802
|
+
if (!customElements.get(tagName)) {
|
|
803
|
+
defineCustomElement$9();
|
|
797
804
|
}
|
|
798
805
|
break;
|
|
799
806
|
case "duet-caption":
|
|
800
807
|
if (!customElements.get(tagName)) {
|
|
801
|
-
defineCustomElement$
|
|
808
|
+
defineCustomElement$8();
|
|
802
809
|
}
|
|
803
810
|
break;
|
|
804
811
|
case "duet-icon":
|
|
805
812
|
if (!customElements.get(tagName)) {
|
|
806
|
-
defineCustomElement$
|
|
813
|
+
defineCustomElement$7();
|
|
807
814
|
}
|
|
808
815
|
break;
|
|
809
816
|
case "duet-input":
|
|
810
817
|
if (!customElements.get(tagName)) {
|
|
811
|
-
defineCustomElement$
|
|
818
|
+
defineCustomElement$6();
|
|
812
819
|
}
|
|
813
820
|
break;
|
|
814
821
|
case "duet-label":
|
|
822
|
+
if (!customElements.get(tagName)) {
|
|
823
|
+
defineCustomElement$5();
|
|
824
|
+
}
|
|
825
|
+
break;
|
|
826
|
+
case "duet-spinner":
|
|
815
827
|
if (!customElements.get(tagName)) {
|
|
816
828
|
defineCustomElement$4();
|
|
817
829
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetDivider$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetDivider$1, d as defineCustomElement$1 } from './p-fdfff09b.js';
|
|
5
5
|
|
|
6
6
|
const DuetDivider = DuetDivider$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 DuetEditableTable$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetEditableTable$1, d as defineCustomElement$1 } from './p-51525197.js';
|
|
5
5
|
|
|
6
6
|
const DuetEditableTable = DuetEditableTable$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 DuetEmptyState$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetEmptyState$1, d as defineCustomElement$1 } from './p-12b2209e.js';
|
|
5
5
|
|
|
6
6
|
const DuetEmptyState = DuetEmptyState$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|