@duetds/components 6.5.2 → 6.6.0
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 +227 -30
- 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 +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -2
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +38 -0
- package/lib/cjs/duet-choice_2.cjs.entry.js +8 -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 +2 -2
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +4 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +15 -3
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +13 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- 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 +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +41 -0
- package/lib/cjs/duet-pagination_2.cjs.entry.js +11 -5
- 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 +33 -7
- 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 +4 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +16 -5
- package/lib/cjs/duet-slideout.cjs.entry.js +3 -3
- 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-e463fcd1.js → focus-utils-995144a1.js} +1 -1
- package/lib/cjs/{index-d28eaddf.js → index-7924dfe2.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +2 -0
- package/lib/collection/components/duet-alert/duet-alert.css +1 -0
- package/lib/collection/components/duet-choice/duet-checkmark.css +74 -0
- package/lib/collection/components/duet-choice/duet-checkmark.js +142 -0
- package/lib/collection/components/duet-choice/duet-choice.js +22 -0
- 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-icon/duet-icon.css +121 -2
- package/lib/collection/components/duet-icon/duet-icon.js +20 -0
- package/lib/collection/components/duet-input/duet-input.js +14 -2
- package/lib/collection/components/duet-link/duet-link.css +37 -0
- package/lib/collection/components/duet-link/duet-link.js +20 -0
- 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-nav/duet-nav.js +6 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +205 -0
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +113 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +10 -4
- package/lib/collection/components/duet-slideout/duet-slideout.css +0 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +38 -1
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +1 -8
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +35 -2
- package/lib/collection/components/duet-tab/duet-tab.js +18 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +140 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +31 -6
- package/lib/collection/components/duet-table/duet-table.js +1 -1
- 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-checkmark.d.ts +11 -0
- package/lib/dist-custom-elements/duet-checkmark.js +9 -0
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +13 -6
- 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 +10 -10
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +1 -1
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +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 +2 -2
- 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 +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +9 -9
- package/lib/dist-custom-elements/duet-page-heading.d.ts +11 -0
- package/lib/dist-custom-elements/duet-page-heading.js +65 -0
- package/lib/dist-custom-elements/duet-pagination.js +17 -11
- 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 +7 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +16 -5
- package/lib/dist-custom-elements/duet-slideout.js +3 -3
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +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 +46 -15
- package/lib/dist-custom-elements/duet-tab.js +3 -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.d.ts +2 -0
- package/lib/dist-custom-elements/index.js +3 -1
- package/lib/dist-custom-elements/{p-68604dde.js → p-090c4f84.js} +1 -1
- package/lib/dist-custom-elements/{p-bed64271.js → p-0b3c5fd3.js} +4 -4
- package/lib/dist-custom-elements/{p-b93d2f59.js → p-0b46cf7c.js} +1 -1
- package/lib/dist-custom-elements/{p-c2cb9c20.js → p-1b40f099.js} +2 -2
- package/lib/dist-custom-elements/{p-b0973ee5.js → p-1edc6268.js} +1 -1
- package/lib/dist-custom-elements/{p-a515e4af.js → p-25e3ecf6.js} +1 -1
- package/lib/dist-custom-elements/{p-f3ac9547.js → p-2bed378b.js} +1 -1
- package/lib/dist-custom-elements/{p-9112f395.js → p-2e8d4cbb.js} +3 -3
- package/lib/dist-custom-elements/{p-a3dc0179.js → p-31869282.js} +2 -2
- package/lib/dist-custom-elements/{p-e4516cf4.js → p-47c90993.js} +1 -1
- package/lib/dist-custom-elements/{p-b49b6dfe.js → p-4da5814e.js} +7 -4
- package/lib/dist-custom-elements/{p-d2ba9048.js → p-4f601182.js} +2 -2
- package/lib/dist-custom-elements/{p-25b67c58.js → p-505b1084.js} +2 -2
- package/lib/dist-custom-elements/{p-d7d50d4f.js → p-5243162f.js} +1 -1
- package/lib/dist-custom-elements/{p-4cf27349.js → p-58d5e801.js} +1 -1
- package/lib/dist-custom-elements/{p-ab0944f2.js → p-5bd12ce0.js} +2 -2
- package/lib/dist-custom-elements/{p-4a9c90b4.js → p-62024326.js} +1 -1
- package/lib/dist-custom-elements/{p-99260df6.js → p-73fbb616.js} +1 -1
- package/lib/dist-custom-elements/{p-dda23bd9.js → p-7cd9c98d.js} +1 -1
- package/lib/dist-custom-elements/{p-cae5ee62.js → p-7fdcbaf8.js} +22 -10
- package/lib/dist-custom-elements/p-83dc78d3.js +186 -0
- package/lib/dist-custom-elements/{p-15968e9a.js → p-94317ac7.js} +1 -1
- package/lib/dist-custom-elements/{p-95e95871.js → p-9aaafcd5.js} +6 -6
- package/lib/dist-custom-elements/{p-c933203e.js → p-a0db949c.js} +6 -6
- package/lib/dist-custom-elements/{p-2646bc44.js → p-c1c93be7.js} +7 -7
- package/lib/dist-custom-elements/{p-9e3ea8a4.js → p-c1eea28e.js} +1 -1
- package/lib/dist-custom-elements/{p-98ae1730.js → p-d2842398.js} +1 -1
- package/lib/dist-custom-elements/{p-8cc35bc1.js → p-dab5118b.js} +1 -1
- package/lib/dist-custom-elements/p-db1a354c.js +54 -0
- package/lib/dist-custom-elements/{p-a623d58c.js → p-dc195b26.js} +3 -3
- package/lib/dist-custom-elements/{p-b80f18af.js → p-ee73ac71.js} +1 -1
- package/lib/dist-custom-elements/{p-43343a18.js → p-f3d819f9.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-0ae5fcca.entry.js +4 -0
- package/lib/duet/{p-1bb2ca48.system.entry.js → p-0f74b52f.system.entry.js} +1 -1
- package/lib/duet/{p-e5b23434.system.entry.js → p-1153165c.system.entry.js} +1 -1
- package/lib/duet/{p-03c19b62.system.entry.js → p-123a086a.system.entry.js} +1 -1
- package/lib/duet/{p-3cc241bf.entry.js → p-13177687.entry.js} +1 -1
- package/lib/duet/{p-67718cc3.entry.js → p-1490ab5a.entry.js} +1 -1
- package/lib/duet/{p-6869a12b.system.entry.js → p-16172210.system.entry.js} +1 -1
- package/lib/duet/p-1908e8bc.system.entry.js +4 -0
- package/lib/duet/{p-8d8d820a.entry.js → p-1bf30e42.entry.js} +1 -1
- package/lib/duet/{p-29749e15.system.entry.js → p-1ff8518c.system.entry.js} +1 -1
- package/lib/duet/{p-ec8178ca.system.entry.js → p-20e0e96a.system.entry.js} +1 -1
- package/lib/duet/{p-b9e81db8.entry.js → p-21a8e0eb.entry.js} +1 -1
- package/lib/duet/{p-186a18d8.entry.js → p-221ca56a.entry.js} +1 -1
- package/lib/duet/{p-00fd4357.entry.js → p-22d0724c.entry.js} +1 -1
- package/lib/duet/p-23a53ae7.entry.js +4 -0
- package/lib/duet/{p-98542cf6.entry.js → p-24179e4c.entry.js} +1 -1
- package/lib/duet/p-28fc49de.js +4 -0
- package/lib/duet/{p-c606f454.entry.js → p-2a48131b.entry.js} +1 -1
- package/lib/duet/{p-eaae6b36.system.js → p-2a7f92fa.system.js} +1 -1
- package/lib/duet/{p-8422b441.entry.js → p-2cd36122.entry.js} +1 -1
- package/lib/duet/{p-8f6a5e2c.system.entry.js → p-2dc966c6.system.entry.js} +1 -1
- package/lib/duet/p-31497c7f.entry.js +4 -0
- package/lib/duet/p-32b5532c.entry.js +4 -0
- package/lib/duet/{p-4649ec1d.entry.js → p-36aed263.entry.js} +1 -1
- package/lib/duet/{p-e57b9976.entry.js → p-36b14352.entry.js} +1 -1
- package/lib/duet/{p-c53f21c9.system.entry.js → p-3a44e66a.system.entry.js} +1 -1
- package/lib/duet/{p-491611e0.system.entry.js → p-3ae2bc39.system.entry.js} +1 -1
- package/lib/duet/{p-0eceb1fe.entry.js → p-3c5b1adb.entry.js} +1 -1
- package/lib/duet/{p-990418d6.entry.js → p-3cb7c2b8.entry.js} +1 -1
- package/lib/duet/{p-4544887e.system.entry.js → p-3d2a830f.system.entry.js} +1 -1
- package/lib/duet/{p-1aa70bf3.entry.js → p-3d82f269.entry.js} +1 -1
- package/lib/duet/p-3e0a6231.system.entry.js +4 -0
- package/lib/duet/p-3fb428e9.system.entry.js +4 -0
- package/lib/duet/{p-d567cab7.system.entry.js → p-4578d79a.system.entry.js} +1 -1
- package/lib/duet/{p-9864f91b.system.entry.js → p-45f6cac0.system.entry.js} +1 -1
- package/lib/duet/p-49bc849e.system.entry.js +4 -0
- package/lib/duet/{p-5a72573d.entry.js → p-4bb30628.entry.js} +1 -1
- package/lib/duet/{p-f82d3ee5.system.entry.js → p-4eda4e90.system.entry.js} +1 -1
- package/lib/duet/{p-63c45943.system.entry.js → p-4fdb8a65.system.entry.js} +1 -1
- package/lib/duet/{p-a8f0d3a9.entry.js → p-533787dd.entry.js} +1 -1
- package/lib/duet/{p-3b941474.system.entry.js → p-53ca7657.system.entry.js} +1 -1
- package/lib/duet/{p-2089a333.system.entry.js → p-53fb3b65.system.entry.js} +1 -1
- package/lib/duet/p-5710f613.entry.js +4 -0
- package/lib/duet/{p-867d4e87.system.entry.js → p-58c3a641.system.entry.js} +1 -1
- package/lib/duet/{p-9335c92f.entry.js → p-59bb59f1.entry.js} +1 -1
- package/lib/duet/{p-ba29d84e.entry.js → p-5f10cf32.entry.js} +1 -1
- package/lib/duet/{p-ce8d53d6.system.entry.js → p-5f1ed8ac.system.entry.js} +1 -1
- package/lib/duet/{p-45970c94.entry.js → p-5fac76f8.entry.js} +1 -1
- package/lib/duet/{p-edbf0850.system.entry.js → p-63913eab.system.entry.js} +1 -1
- package/lib/duet/{p-6cc4b6bd.system.entry.js → p-6973b44c.system.entry.js} +1 -1
- package/lib/duet/{p-732b050a.entry.js → p-6be424b0.entry.js} +1 -1
- package/lib/duet/{p-576b1a97.system.entry.js → p-6cdea556.system.entry.js} +1 -1
- package/lib/duet/{p-ae69645e.system.entry.js → p-6cf47dac.system.entry.js} +1 -1
- package/lib/duet/{p-1da6954c.js → p-707fc6cf.js} +1 -1
- package/lib/duet/{p-076d8525.system.entry.js → p-7090f15a.system.entry.js} +1 -1
- package/lib/duet/{p-964c9e93.system.entry.js → p-711fb114.system.entry.js} +1 -1
- package/lib/duet/p-714c2b56.entry.js +4 -0
- package/lib/duet/{p-8f72abcb.entry.js → p-72d7785c.entry.js} +1 -1
- package/lib/duet/{p-90e005cc.entry.js → p-7420063a.entry.js} +1 -1
- package/lib/duet/p-75019a0f.entry.js +4 -0
- package/lib/duet/p-7526cac0.system.js +4 -0
- package/lib/duet/{p-55ec59ba.system.entry.js → p-75817145.system.entry.js} +1 -1
- package/lib/duet/{p-ed67528b.system.entry.js → p-75c291a0.system.entry.js} +1 -1
- package/lib/duet/{p-8ebf07a2.entry.js → p-76669675.entry.js} +1 -1
- package/lib/duet/{p-6181ec36.entry.js → p-78bdcfdd.entry.js} +1 -1
- package/lib/duet/{p-6c473cbf.system.entry.js → p-7f52cc01.system.entry.js} +1 -1
- package/lib/duet/{p-e91b40e2.system.entry.js → p-80515ee1.system.entry.js} +1 -1
- package/lib/duet/{p-bcd2526b.system.entry.js → p-8143f9b5.system.entry.js} +1 -1
- package/lib/duet/p-8280a9fe.entry.js +4 -0
- package/lib/duet/{p-3669cb32.entry.js → p-84327fb5.entry.js} +1 -1
- package/lib/duet/{p-cd5055a1.system.entry.js → p-8dad489b.system.entry.js} +1 -1
- package/lib/duet/{p-2be1feb2.system.entry.js → p-8ffe50ff.system.entry.js} +1 -1
- package/lib/duet/{p-ff76aad3.entry.js → p-91203227.entry.js} +1 -1
- package/lib/duet/{p-c5b583e5.entry.js → p-934dc718.entry.js} +1 -1
- package/lib/duet/p-95c34866.system.entry.js +4 -0
- package/lib/duet/p-96f06f5b.entry.js +4 -0
- package/lib/duet/{p-8d019ca0.system.entry.js → p-9807e8a6.system.entry.js} +1 -1
- package/lib/duet/{p-8fcb7700.entry.js → p-9933a4cd.entry.js} +1 -1
- package/lib/duet/{p-d6f2d26c.entry.js → p-9b4aec27.entry.js} +1 -1
- package/lib/duet/p-9e24f4b5.entry.js +4 -0
- package/lib/duet/{p-a92b5519.entry.js → p-9ebaf967.entry.js} +1 -1
- package/lib/duet/{p-b3a0b737.entry.js → p-a14705b2.entry.js} +1 -1
- package/lib/duet/p-a1f24860.entry.js +4 -0
- package/lib/duet/{p-2c6c9c16.entry.js → p-a302c770.entry.js} +1 -1
- package/lib/duet/{p-c9e2607d.entry.js → p-a46504b6.entry.js} +1 -1
- package/lib/duet/{p-13d603f4.system.entry.js → p-a4c9a9ad.system.entry.js} +1 -1
- package/lib/duet/{p-7034d814.entry.js → p-a563600c.entry.js} +1 -1
- package/lib/duet/{p-a198ec6f.entry.js → p-a69cbaf1.entry.js} +1 -1
- package/lib/duet/{p-35206dee.system.entry.js → p-a7886157.system.entry.js} +1 -1
- package/lib/duet/{p-351daa15.entry.js → p-a9bbe66f.entry.js} +1 -1
- package/lib/duet/p-aa2ce92b.system.entry.js +4 -0
- package/lib/duet/{p-e27c8c99.entry.js → p-ad35ad40.entry.js} +1 -1
- package/lib/duet/p-b33f7ad2.entry.js +4 -0
- package/lib/duet/p-b5ff7b05.system.entry.js +4 -0
- package/lib/duet/{p-2db45e2b.system.entry.js → p-b6a10dd8.system.entry.js} +1 -1
- package/lib/duet/{p-433565c9.entry.js → p-b883c31c.entry.js} +1 -1
- package/lib/duet/{p-945de64d.system.entry.js → p-b9c37a63.system.entry.js} +1 -1
- package/lib/duet/{p-d032551e.entry.js → p-bbe654c7.entry.js} +1 -1
- package/lib/duet/p-bcbfe8f2.entry.js +4 -0
- package/lib/duet/{p-5ec2343b.system.entry.js → p-c0b2021e.system.entry.js} +1 -1
- package/lib/duet/{p-da79ce12.entry.js → p-c0de302a.entry.js} +1 -1
- package/lib/duet/{p-eacc99e2.system.entry.js → p-c0f70bd0.system.entry.js} +1 -1
- package/lib/duet/p-c1f19d12.entry.js +4 -0
- package/lib/duet/{p-584a9687.system.entry.js → p-c3604035.system.entry.js} +1 -1
- package/lib/duet/{p-6b6fd2dd.system.entry.js → p-c3d3e73a.system.entry.js} +1 -1
- package/lib/duet/{p-8ed60a7f.system.entry.js → p-c5559214.system.entry.js} +1 -1
- package/lib/duet/{p-94fca55e.system.js → p-c6acd578.system.js} +1 -1
- package/lib/duet/{p-111f753f.system.entry.js → p-c7201ad9.system.entry.js} +1 -1
- package/lib/duet/{p-70b6d01c.system.entry.js → p-c816445d.system.entry.js} +1 -1
- package/lib/duet/{p-5f4090c2.entry.js → p-c996eaa2.entry.js} +1 -1
- package/lib/duet/{p-f3a000ac.entry.js → p-c9defd29.entry.js} +1 -1
- package/lib/duet/{p-50827bbe.system.entry.js → p-ce1551ed.system.entry.js} +1 -1
- package/lib/duet/{p-41bc24a5.entry.js → p-ce2d5f1f.entry.js} +1 -1
- package/lib/duet/{p-54a98fee.system.entry.js → p-ce4d2c6a.system.entry.js} +1 -1
- package/lib/duet/{p-10bb0906.entry.js → p-d0516946.entry.js} +1 -1
- package/lib/duet/p-d547f6fe.system.entry.js +4 -0
- package/lib/duet/{p-7309e6ea.system.entry.js → p-d60301f1.system.entry.js} +1 -1
- package/lib/duet/{p-f5bf2165.entry.js → p-deaf017e.entry.js} +1 -1
- package/lib/duet/{p-3295c503.system.entry.js → p-df736b00.system.entry.js} +1 -1
- package/lib/duet/p-e272e778.system.entry.js +4 -0
- package/lib/duet/{p-15529d9c.system.entry.js → p-e5762e3e.system.entry.js} +2 -2
- package/lib/duet/p-ea3468e2.system.entry.js +4 -0
- package/lib/duet/{p-b277f3c9.entry.js → p-ea80c358.entry.js} +1 -1
- package/lib/duet/{p-074fa88a.system.entry.js → p-ecaf90fd.system.entry.js} +1 -1
- package/lib/duet/{p-aeacd894.system.entry.js → p-ecf5724b.system.entry.js} +1 -1
- package/lib/duet/{p-e06581ab.system.entry.js → p-edc1fa35.system.entry.js} +1 -1
- package/lib/duet/{p-357f64e4.system.entry.js → p-ef076528.system.entry.js} +1 -1
- package/lib/duet/{p-f692b21a.system.entry.js → p-ef76d461.system.entry.js} +1 -1
- package/lib/duet/{p-805c34c6.entry.js → p-f02d7e7d.entry.js} +1 -1
- package/lib/duet/{p-da8b3bee.entry.js → p-f1a7e606.entry.js} +1 -1
- package/lib/duet/p-f34f65af.entry.js +4 -0
- package/lib/duet/{p-172bc679.entry.js → p-f8a68dfd.entry.js} +1 -1
- package/lib/duet/{p-7ce5f24c.system.entry.js → p-fc98f0fe.system.entry.js} +1 -1
- package/lib/duet/{p-dc282755.entry.js → p-fcbdd6a3.entry.js} +1 -1
- package/lib/duet/{p-97e2494e.system.entry.js → p-feaa6888.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-caption_4.entry.js +4 -2
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +34 -0
- package/lib/esm/duet-choice_2.entry.js +8 -2
- package/lib/esm/duet-collapsible.entry.js +5 -3
- 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 +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 +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +4 -2
- package/lib/esm/duet-input_2.entry.js +15 -3
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +13 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- 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 +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +37 -0
- package/lib/esm/duet-pagination_2.entry.js +11 -5
- 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 +33 -7
- 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 +4 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +16 -5
- package/lib/esm/duet-slideout.entry.js +3 -3
- 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 +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-1131b2e1.js → focus-utils-0619fdea.js} +1 -1
- package/lib/esm/{index-0d301ddd.js → index-11a2e0a0.js} +1 -1
- package/lib/esm/loader.js +2 -2
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +4 -0
- 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 +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- 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 +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 +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-page-heading.entry.js +4 -0
- 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 +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-0619fdea.js +4 -0
- package/lib/esm-es5/{index-0d301ddd.js → index-11a2e0a0.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-choice/duet-checkmark.d.ts +34 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +4 -0
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +2 -0
- package/lib/types/components/duet-icon/duet-icon.d.ts +4 -0
- package/lib/types/components/duet-input/duet-input.d.ts +1 -0
- package/lib/types/components/duet-link/duet-link.d.ts +4 -0
- 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-nav/duet-nav.d.ts +5 -0
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +32 -0
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +10 -0
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +5 -1
- package/lib/types/components/duet-tab/duet-tab.d.ts +4 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +4 -1
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +10 -0
- package/lib/types/components.d.ts +256 -1
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-246bd550.js +0 -183
- package/lib/duet/p-172ff1de.system.entry.js +0 -4
- package/lib/duet/p-28280afb.system.js +0 -4
- package/lib/duet/p-337d152b.entry.js +0 -4
- package/lib/duet/p-385d60a2.entry.js +0 -4
- package/lib/duet/p-3a31f9c0.system.entry.js +0 -4
- package/lib/duet/p-3d53ec4a.system.entry.js +0 -4
- package/lib/duet/p-5687713d.js +0 -4
- package/lib/duet/p-57d581a0.entry.js +0 -4
- package/lib/duet/p-5cc1dae6.entry.js +0 -4
- package/lib/duet/p-5d6e4a9e.system.entry.js +0 -4
- package/lib/duet/p-7d6d0a89.system.entry.js +0 -4
- package/lib/duet/p-83b45db7.system.entry.js +0 -4
- package/lib/duet/p-87ffe2f3.entry.js +0 -4
- package/lib/duet/p-90c2dd61.entry.js +0 -4
- package/lib/duet/p-90f46d58.entry.js +0 -4
- package/lib/duet/p-bcb088de.entry.js +0 -4
- package/lib/duet/p-c485773b.entry.js +0 -4
- package/lib/duet/p-c5d9ca19.entry.js +0 -4
- package/lib/duet/p-dd383dac.entry.js +0 -4
- package/lib/duet/p-de97a5a0.system.entry.js +0 -4
- package/lib/duet/p-e800bb84.entry.js +0 -4
- package/lib/duet/p-f51f0dae.entry.js +0 -4
- package/lib/duet/p-f7a9305b.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-1131b2e1.js +0 -4
|
@@ -5,7 +5,9 @@ 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;
|
|
@@ -29,7 +31,7 @@ export class DuetSlideoutLink {
|
|
|
29
31
|
"duet-theme-turva": this.theme === "turva",
|
|
30
32
|
active: this.active,
|
|
31
33
|
[this.size]: true,
|
|
32
|
-
}, 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), h("slot", { name: "description" })), this.caret && h("duet-icon", { name: "action-arrow-right", color: "primary", size: "x-small", margin: "none" }))));
|
|
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" }))));
|
|
33
35
|
}
|
|
34
36
|
static get is() { return "duet-slideout-link"; }
|
|
35
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,6 +47,23 @@ export class DuetSlideoutLink {
|
|
|
45
47
|
}
|
|
46
48
|
static get properties() {
|
|
47
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
|
+
},
|
|
48
67
|
"theme": {
|
|
49
68
|
"type": "string",
|
|
50
69
|
"mutable": true,
|
|
@@ -68,6 +87,24 @@ export class DuetSlideoutLink {
|
|
|
68
87
|
"reflect": false,
|
|
69
88
|
"defaultValue": "\"\""
|
|
70
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
|
+
},
|
|
71
108
|
"active": {
|
|
72
109
|
"type": "boolean",
|
|
73
110
|
"mutable": true,
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
.duet-slideout-panel .link {
|
|
43
43
|
position: relative;
|
|
44
44
|
display: flex;
|
|
45
|
-
gap:
|
|
45
|
+
gap: 20px;
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: flex-start;
|
|
48
48
|
width: 100%;
|
|
@@ -104,7 +104,6 @@
|
|
|
104
104
|
height: 100%;
|
|
105
105
|
overflow-y: auto;
|
|
106
106
|
visibility: visible;
|
|
107
|
-
background: #f3f9fc;
|
|
108
107
|
}
|
|
109
108
|
.duet-slideout-panel .dialog.hidden {
|
|
110
109
|
visibility: hidden;
|
|
@@ -151,16 +150,10 @@
|
|
|
151
150
|
.duet-slideout-panel.duet-theme-turva .link.active .label-text::after {
|
|
152
151
|
background: #c60c30;
|
|
153
152
|
}
|
|
154
|
-
.duet-slideout-panel.duet-theme-turva .dialog {
|
|
155
|
-
background: #f5f5f7;
|
|
156
|
-
}
|
|
157
153
|
.duet-slideout-panel.duet-theme-turva .top span {
|
|
158
154
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
159
155
|
color: #171c3a;
|
|
160
156
|
}
|
|
161
|
-
.duet-slideout-panel.duet-theme-turva .items {
|
|
162
|
-
background: #f5f5f7;
|
|
163
|
-
}
|
|
164
157
|
|
|
165
158
|
slot:not([name=label]) {
|
|
166
159
|
--active-height: 1px;
|
|
@@ -5,6 +5,7 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
import { FocusGuard } from "../../utils/focus-utils";
|
|
7
7
|
import { getLocaleString } from "../../utils/language-utils";
|
|
8
|
+
import { getColorByName } from "../../utils/token-utils";
|
|
8
9
|
export class DuetSlideoutPanel {
|
|
9
10
|
constructor() {
|
|
10
11
|
this.exitLangObject = {
|
|
@@ -44,6 +45,7 @@ export class DuetSlideoutPanel {
|
|
|
44
45
|
this.open = false;
|
|
45
46
|
this.icon = undefined;
|
|
46
47
|
this.labelSize = "medium";
|
|
48
|
+
this.backgroundColor = "primary-lightest";
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
49
51
|
* Component lifecycle events.
|
|
@@ -57,6 +59,14 @@ export class DuetSlideoutPanel {
|
|
|
57
59
|
* Always the last one in the class.
|
|
58
60
|
*/
|
|
59
61
|
render() {
|
|
62
|
+
const defaultBackgroundColor = this.backgroundColor === "primary-lightest"
|
|
63
|
+
? this.theme === "turva"
|
|
64
|
+
? "gray-lighter"
|
|
65
|
+
: this.backgroundColor
|
|
66
|
+
: this.backgroundColor;
|
|
67
|
+
const styles = {
|
|
68
|
+
background: getColorByName(defaultBackgroundColor, this.theme),
|
|
69
|
+
};
|
|
60
70
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
61
71
|
return (h(Host, null, h("div", { class: {
|
|
62
72
|
"duet-slideout-panel": true,
|
|
@@ -65,10 +75,10 @@ export class DuetSlideoutPanel {
|
|
|
65
75
|
} }, h("button", { ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
66
76
|
link: true,
|
|
67
77
|
active: this.active,
|
|
68
|
-
}, onClick: this.onToggleClick }, this.icon && h("duet-icon", { name: this.icon, size: "
|
|
78
|
+
}, onClick: this.onToggleClick }, this.icon && h("duet-icon", { name: this.icon, size: "medium", 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: {
|
|
69
79
|
dialog: true,
|
|
70
80
|
hidden: !this.open,
|
|
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: {
|
|
81
|
+
}, style: styles }, 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: {
|
|
72
82
|
back: true,
|
|
73
83
|
}, onClick: this.onToggleClick }, h("duet-icon", { class: "caret", name: "action-arrow-left", margin: "none", size: "small" })), h("span", null, this.label.innerHTML), h("button", { type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
74
84
|
items: true,
|
|
@@ -182,6 +192,29 @@ export class DuetSlideoutPanel {
|
|
|
182
192
|
"attribute": "label-size",
|
|
183
193
|
"reflect": true,
|
|
184
194
|
"defaultValue": "\"medium\""
|
|
195
|
+
},
|
|
196
|
+
"backgroundColor": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"mutable": true,
|
|
199
|
+
"complexType": {
|
|
200
|
+
"original": "DuetColor",
|
|
201
|
+
"resolved": "string",
|
|
202
|
+
"references": {
|
|
203
|
+
"DuetColor": {
|
|
204
|
+
"location": "import",
|
|
205
|
+
"path": "../../common-types"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"required": false,
|
|
210
|
+
"optional": false,
|
|
211
|
+
"docs": {
|
|
212
|
+
"tags": [],
|
|
213
|
+
"text": "Background color. Use one of the color tokens."
|
|
214
|
+
},
|
|
215
|
+
"attribute": "background-color",
|
|
216
|
+
"reflect": true,
|
|
217
|
+
"defaultValue": "\"primary-lightest\""
|
|
185
218
|
}
|
|
186
219
|
};
|
|
187
220
|
}
|
|
@@ -6,6 +6,7 @@ import { getLocaleString } from "../../utils/language-utils";
|
|
|
6
6
|
export class DuetTab {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.label = undefined;
|
|
9
|
+
this.caption = undefined;
|
|
9
10
|
this.selected = undefined;
|
|
10
11
|
this.accessibleDescriptionDefault = null;
|
|
11
12
|
this.accessibleDescription = this.accessibleDescriptionDefault
|
|
@@ -52,6 +53,23 @@ export class DuetTab {
|
|
|
52
53
|
"attribute": "label",
|
|
53
54
|
"reflect": true
|
|
54
55
|
},
|
|
56
|
+
"caption": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "string",
|
|
61
|
+
"resolved": "string",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": false,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": "Caption for the tab."
|
|
69
|
+
},
|
|
70
|
+
"attribute": "caption",
|
|
71
|
+
"reflect": true
|
|
72
|
+
},
|
|
55
73
|
"selected": {
|
|
56
74
|
"type": "boolean",
|
|
57
75
|
"mutable": false,
|
|
@@ -51,6 +51,28 @@
|
|
|
51
51
|
border-bottom-color: #e4e4e6;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
.duet-tab-variation-checked .duet-tab-group-tabs {
|
|
55
|
+
display: flex;
|
|
56
|
+
gap: 8px;
|
|
57
|
+
padding-right: 16px;
|
|
58
|
+
padding-left: 16px;
|
|
59
|
+
overflow-x: scroll;
|
|
60
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
|
61
|
+
-ms-overflow-style: none;
|
|
62
|
+
/* IE and Edge */
|
|
63
|
+
scrollbar-width: none;
|
|
64
|
+
/* Firefox */
|
|
65
|
+
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
66
|
+
}
|
|
67
|
+
.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
@media (min-width: 36em) {
|
|
71
|
+
.duet-tab-variation-checked .duet-tab-group-tabs {
|
|
72
|
+
overflow: visible;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
54
76
|
@media (min-width: 36em) {
|
|
55
77
|
duet-select {
|
|
56
78
|
display: none !important;
|
|
@@ -66,6 +88,7 @@
|
|
|
66
88
|
width: 100%;
|
|
67
89
|
padding: 20px;
|
|
68
90
|
margin-top: -2px;
|
|
91
|
+
overflow: visible;
|
|
69
92
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
70
93
|
font-size: 1rem;
|
|
71
94
|
font-weight: 600;
|
|
@@ -179,6 +202,108 @@
|
|
|
179
202
|
border-bottom-color: #c60c30;
|
|
180
203
|
}
|
|
181
204
|
|
|
205
|
+
.duet-tab-variation-checked .duet-tab-button {
|
|
206
|
+
position: relative;
|
|
207
|
+
display: inline-block;
|
|
208
|
+
flex-basis: 0;
|
|
209
|
+
flex-grow: 1;
|
|
210
|
+
width: 200px;
|
|
211
|
+
min-width: 200px;
|
|
212
|
+
padding: 16px;
|
|
213
|
+
border-color: #cfd2d4;
|
|
214
|
+
border-bottom-color: #0077b3;
|
|
215
|
+
border-radius: 4px 4px 0 0;
|
|
216
|
+
transition: none;
|
|
217
|
+
}
|
|
218
|
+
.duet-theme-turva.duet-tab-variation-checked .duet-tab-button {
|
|
219
|
+
border-color: #cfd2d4;
|
|
220
|
+
border-bottom-color: #444445;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@media (min-width: 36em) {
|
|
224
|
+
.duet-tab-variation-checked .duet-tab-button {
|
|
225
|
+
min-width: 0;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
.duet-tab-variation-checked .duet-tab-button.stackable-tab {
|
|
229
|
+
min-width: 0;
|
|
230
|
+
}
|
|
231
|
+
.duet-tab-variation-checked .duet-tab-button:first-child {
|
|
232
|
+
margin-left: auto;
|
|
233
|
+
}
|
|
234
|
+
.duet-tab-variation-checked .duet-tab-button:last-child {
|
|
235
|
+
margin-right: auto;
|
|
236
|
+
}
|
|
237
|
+
.duet-tab-variation-checked .duet-tab-button:active {
|
|
238
|
+
opacity: 1;
|
|
239
|
+
transition: none;
|
|
240
|
+
}
|
|
241
|
+
.duet-tab-variation-checked .duet-tab-button.selected {
|
|
242
|
+
color: #0077b3;
|
|
243
|
+
background: linear-gradient(180deg, #f3f9fc 0%, white 100%);
|
|
244
|
+
border-color: #0077b3;
|
|
245
|
+
border-bottom-color: #fff;
|
|
246
|
+
}
|
|
247
|
+
.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected {
|
|
248
|
+
color: #171c3a;
|
|
249
|
+
background: linear-gradient(180deg, #f5f5f7 0%, white 100%);
|
|
250
|
+
border-color: #444445;
|
|
251
|
+
border-bottom-color: #fff;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content {
|
|
255
|
+
display: flex;
|
|
256
|
+
flex-direction: row;
|
|
257
|
+
justify-content: space-between;
|
|
258
|
+
}
|
|
259
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content {
|
|
260
|
+
flex-direction: column;
|
|
261
|
+
height: 100%;
|
|
262
|
+
}
|
|
263
|
+
@media (min-width: 36em) {
|
|
264
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content {
|
|
265
|
+
flex-direction: row;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description {
|
|
269
|
+
display: flex;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
overflow: hidden;
|
|
272
|
+
overflow-wrap: break-word;
|
|
273
|
+
}
|
|
274
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description {
|
|
275
|
+
text-align: center;
|
|
276
|
+
}
|
|
277
|
+
@media (min-width: 36em) {
|
|
278
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description {
|
|
279
|
+
text-align: left;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption {
|
|
283
|
+
margin-top: 4px;
|
|
284
|
+
font-weight: 400;
|
|
285
|
+
color: #657787;
|
|
286
|
+
}
|
|
287
|
+
.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption {
|
|
288
|
+
color: #444445;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected {
|
|
292
|
+
color: #0077b3;
|
|
293
|
+
}
|
|
294
|
+
.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected {
|
|
295
|
+
color: #444445;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark {
|
|
299
|
+
order: -1;
|
|
300
|
+
}
|
|
301
|
+
@media (min-width: 36em) {
|
|
302
|
+
.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark {
|
|
303
|
+
order: 1;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
182
307
|
.duet-tab-group-content {
|
|
183
308
|
position: relative;
|
|
184
309
|
width: 100%;
|
|
@@ -189,7 +314,22 @@
|
|
|
189
314
|
color: #00294d;
|
|
190
315
|
text-align: left;
|
|
191
316
|
}
|
|
317
|
+
.duet-tab-group-content.checked-group-content {
|
|
318
|
+
padding: 28px 0 28px 0;
|
|
319
|
+
}
|
|
320
|
+
.duet-tab-group-content.checked-group-content::after {
|
|
321
|
+
position: absolute;
|
|
322
|
+
top: -2px;
|
|
323
|
+
left: 0;
|
|
324
|
+
width: 100%;
|
|
325
|
+
height: 2px;
|
|
326
|
+
content: " ";
|
|
327
|
+
background-color: #0077b3;
|
|
328
|
+
}
|
|
192
329
|
.duet-theme-turva .duet-tab-group-content {
|
|
193
330
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
194
331
|
color: #171c3a;
|
|
332
|
+
}
|
|
333
|
+
.duet-theme-turva .duet-tab-group-content.checked-group-content::after {
|
|
334
|
+
background-color: #444445;
|
|
195
335
|
}
|
|
@@ -30,13 +30,20 @@ export class DuetTabGroup {
|
|
|
30
30
|
button.focus();
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
+
this.scrollToActive = () => {
|
|
34
|
+
const active = this.tabsContainer.querySelector(".selected");
|
|
35
|
+
if (active) {
|
|
36
|
+
active.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" });
|
|
37
|
+
}
|
|
38
|
+
};
|
|
33
39
|
this.renderTab = () => {
|
|
34
40
|
const renderedTabs = this.tabs.map((element, index) => {
|
|
35
41
|
return (h("button", { role: "tab", id: this.getButtonId(index), "aria-controls": this.getTabId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: index === 0 ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
|
|
36
42
|
"duet-p-0": this.padding === "none",
|
|
37
43
|
"duet-tab-button": true,
|
|
44
|
+
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
38
45
|
selected: element.selected,
|
|
39
|
-
}, onClick: () => this.openTab(index), onKeyDown: ev => this.handleKeyDown(ev) }, element.label));
|
|
46
|
+
}, onClick: () => this.openTab(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (h("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, h("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, h("p", null, element.label), h("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), h("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, h("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label)));
|
|
40
47
|
});
|
|
41
48
|
if (this.scrolls) {
|
|
42
49
|
return (h("duet-scrollable", { selected: this.selected, identifier: this.identifier }, renderedTabs));
|
|
@@ -90,6 +97,13 @@ export class DuetTabGroup {
|
|
|
90
97
|
componentWillLoad() {
|
|
91
98
|
inheritGlobalTheme(this);
|
|
92
99
|
}
|
|
100
|
+
componentDidLoad() {
|
|
101
|
+
if (this.variation === "checked") {
|
|
102
|
+
setTimeout(() => {
|
|
103
|
+
this.scrollToActive();
|
|
104
|
+
}, 50);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
93
107
|
/**
|
|
94
108
|
* This method allows you to open any of the tabs by calling the method and
|
|
95
109
|
* passing the index of the tab. Please note that index starts from zero.
|
|
@@ -102,6 +116,11 @@ export class DuetTabGroup {
|
|
|
102
116
|
this.tabs.forEach((tab, i) => {
|
|
103
117
|
tab.selected = i === tabIndex;
|
|
104
118
|
});
|
|
119
|
+
if (this.variation === "checked") {
|
|
120
|
+
setTimeout(() => {
|
|
121
|
+
this.scrollToActive();
|
|
122
|
+
}, 50);
|
|
123
|
+
}
|
|
105
124
|
const event = {
|
|
106
125
|
value: tabIndex,
|
|
107
126
|
component: "duet-tab-group",
|
|
@@ -161,14 +180,20 @@ export class DuetTabGroup {
|
|
|
161
180
|
[`duet-tab-variation-${this.variation}`]: true,
|
|
162
181
|
"duet-tab-group-scrolls": this.scrolls,
|
|
163
182
|
"duet-tab-group-collapses": this.collapses,
|
|
164
|
-
}, "aria-label": this.accessibleLabel }, this.tabs.length > 3 && this.collapses && (h("duet-select", { value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.openTab(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
183
|
+
}, "aria-label": this.accessibleLabel }, this.variation !== "checked" && this.tabs.length > 3 && this.collapses && (h("duet-select", { value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.openTab(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
165
184
|
return { label: tab.label, value: index.toString() };
|
|
166
185
|
}) })), h("div", { role: "tablist", class: {
|
|
167
|
-
"duet-m-0": this.margin === "none",
|
|
186
|
+
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
168
187
|
"duet-tab-group-tabs": true,
|
|
169
|
-
"duet-tab-group-hidden": this.tabs.length > 3,
|
|
188
|
+
"duet-tab-group-hidden": this.tabs.length > 3 && this.variation !== "checked",
|
|
170
189
|
"duet-tab-group-collapses": this.collapses,
|
|
171
|
-
}
|
|
190
|
+
}, ref: el => {
|
|
191
|
+
this.tabsContainer = el;
|
|
192
|
+
} }, this.renderTab()), h("div", { role: "tabpanel", tabindex: this.setTabIndex ? null : "0", class: {
|
|
193
|
+
"duet-tab-group-content": true,
|
|
194
|
+
"duet-m-0": this.margin === "none",
|
|
195
|
+
"checked-group-content": this.variation === "checked",
|
|
196
|
+
} }, h("slot", null))));
|
|
172
197
|
}
|
|
173
198
|
static get is() { return "duet-tab-group"; }
|
|
174
199
|
static get encapsulation() { return "shadow"; }
|
|
@@ -266,7 +291,7 @@ export class DuetTabGroup {
|
|
|
266
291
|
"mutable": false,
|
|
267
292
|
"complexType": {
|
|
268
293
|
"original": "DuetTabVariation",
|
|
269
|
-
"resolved": "\"default\" | \"plain\"",
|
|
294
|
+
"resolved": "\"checked\" | \"default\" | \"plain\"",
|
|
270
295
|
"references": {
|
|
271
296
|
"DuetTabVariation": {
|
|
272
297
|
"location": "local"
|
|
@@ -18,7 +18,7 @@ const stickyTopValues = {
|
|
|
18
18
|
*/
|
|
19
19
|
export class DuetTable {
|
|
20
20
|
constructor() {
|
|
21
|
-
this.headingSelector = "thead tr > :not(*.duet-editable-table-actions-menu";
|
|
21
|
+
this.headingSelector = "thead tr > :not(*.duet-editable-table-actions-menu)";
|
|
22
22
|
this.handleMediaQueryChange = (mq) => {
|
|
23
23
|
this.matchesBreakpoint = mq.matches;
|
|
24
24
|
};
|
|
@@ -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-dc195b26.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-a0db949c.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-090c4f84.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-58d5e801.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-83dc78d3.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-58d5e801.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-83dc78d3.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-0b3c5fd3.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-d2842398.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-58d5e801.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-83dc78d3.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-5243162f.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-94317ac7.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|