@duetds/components 6.5.3 → 6.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +199 -36
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +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 +4 -4
- 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 +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +14 -3
- 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 +3 -3
- 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 +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +4 -3
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +18 -7
- package/lib/cjs/duet-slideout.cjs.entry.js +4 -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 +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-ed2dad1b.js → focus-utils-610b64ea.js} +1 -1
- package/lib/cjs/{index-9ee8fef8.js → index-ab4a3a2d.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +3 -1
- 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.js +3 -3
- 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-link/duet-link.css +37 -0
- package/lib/collection/components/duet-link/duet-link.js +20 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +33 -1
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +1 -0
- package/lib/collection/components/duet-nav/duet-nav.css +1 -1
- package/lib/collection/components/duet-nav/duet-nav.js +6 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +201 -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 +3 -11
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -0
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +1 -8
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +37 -4
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +18 -0
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +20 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +3 -3
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +6 -1
- 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/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 +7 -6
- 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 +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +15 -4
- 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 +3 -3
- 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 +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -4
- package/lib/dist-custom-elements/duet-slideout-panel.js +18 -7
- package/lib/dist-custom-elements/duet-slideout.js +4 -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 +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- 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 +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.d.ts +2 -0
- package/lib/dist-custom-elements/index.js +3 -1
- package/lib/dist-custom-elements/{p-a3118d10.js → p-01a3fc90.js} +1 -1
- package/lib/dist-custom-elements/{p-6fc347ac.js → p-0303fc6c.js} +1 -1
- package/lib/dist-custom-elements/{p-f51c6f0d.js → p-0f388d82.js} +5 -5
- package/lib/dist-custom-elements/{p-a9df186e.js → p-17448a2e.js} +2 -2
- package/lib/dist-custom-elements/{p-0f583b14.js → p-20ec54d8.js} +1 -1
- package/lib/dist-custom-elements/{p-1c1d12e6.js → p-22d5db87.js} +4 -4
- package/lib/dist-custom-elements/{p-2799f459.js → p-488f81fc.js} +2 -2
- package/lib/dist-custom-elements/{p-12b2209e.js → p-624f932a.js} +2 -2
- package/lib/dist-custom-elements/{p-2cc693bd.js → p-641086b9.js} +3 -3
- package/lib/dist-custom-elements/{p-e9433706.js → p-6f122fb1.js} +1 -1
- package/lib/dist-custom-elements/{p-19f6ccfd.js → p-72fd3c82.js} +2 -2
- package/lib/dist-custom-elements/p-799128c4.js +54 -0
- package/lib/dist-custom-elements/{p-70525432.js → p-87c14342.js} +2 -2
- package/lib/dist-custom-elements/{p-29ac3d37.js → p-9087725f.js} +1 -1
- package/lib/dist-custom-elements/{p-65ff709e.js → p-92a4c07d.js} +7 -4
- package/lib/dist-custom-elements/{p-c4833a6d.js → p-9ba51d7b.js} +2 -2
- package/lib/dist-custom-elements/{p-c8062b13.js → p-9e8142d1.js} +1 -1
- package/lib/dist-custom-elements/{p-fdfff09b.js → p-ac3c7ec9.js} +1 -1
- package/lib/dist-custom-elements/{p-3f4b8d49.js → p-b0d4be95.js} +6 -6
- package/lib/dist-custom-elements/{p-4385956a.js → p-bd9de5b1.js} +1 -1
- package/lib/dist-custom-elements/{p-f0e97570.js → p-c40c2037.js} +1 -1
- package/lib/dist-custom-elements/{p-c58ed6c1.js → p-cc44f2ef.js} +1 -1
- package/lib/dist-custom-elements/{p-fd3b1d69.js → p-ccb69669.js} +8 -8
- package/lib/dist-custom-elements/{p-b33885be.js → p-ce3c83bd.js} +1 -1
- package/lib/dist-custom-elements/{p-2973295e.js → p-d2ab6c91.js} +1 -1
- package/lib/dist-custom-elements/p-d555c27d.js +186 -0
- package/lib/dist-custom-elements/{p-47157a1e.js → p-e2a56394.js} +1 -1
- package/lib/dist-custom-elements/{p-637de545.js → p-e9377a6f.js} +3 -3
- package/lib/dist-custom-elements/{p-018af97c.js → p-edc40331.js} +1 -1
- package/lib/dist-custom-elements/{p-51525197.js → p-f5374a36.js} +7 -7
- package/lib/dist-custom-elements/{p-b1567b3c.js → p-f6865034.js} +1 -1
- package/lib/dist-custom-elements/{p-e41dcc90.js → p-fc736d50.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-02ab4153.entry.js +4 -0
- package/lib/duet/{p-107abf9a.system.entry.js → p-02baa2fe.system.entry.js} +1 -1
- package/lib/duet/p-0461b580.system.entry.js +4 -0
- package/lib/duet/{p-debdd0e0.system.entry.js → p-04b4d722.system.entry.js} +1 -1
- package/lib/duet/p-05aa5888.entry.js +4 -0
- package/lib/duet/{p-ae39acbe.entry.js → p-07849a2f.entry.js} +1 -1
- package/lib/duet/{p-dc87c6ce.system.entry.js → p-0bfdda04.system.entry.js} +1 -1
- package/lib/duet/p-10d8cb97.system.entry.js +4 -0
- package/lib/duet/{p-d57020ab.entry.js → p-123310e9.entry.js} +1 -1
- package/lib/duet/{p-a1dc9c9e.system.entry.js → p-125cfc74.system.entry.js} +1 -1
- package/lib/duet/{p-9cbc891f.system.entry.js → p-156c7f0e.system.entry.js} +1 -1
- package/lib/duet/{p-af8dbf72.entry.js → p-15d7c1cd.entry.js} +1 -1
- package/lib/duet/{p-3bfd250e.entry.js → p-17fedf3c.entry.js} +1 -1
- package/lib/duet/{p-a5a6751e.system.entry.js → p-206e364e.system.entry.js} +1 -1
- package/lib/duet/{p-d9859e96.js → p-2477340d.js} +1 -1
- package/lib/duet/{p-006b7cf2.entry.js → p-29073f62.entry.js} +1 -1
- package/lib/duet/p-2d63710e.entry.js +4 -0
- package/lib/duet/{p-8e69027d.system.entry.js → p-33fb2bba.system.entry.js} +1 -1
- package/lib/duet/{p-ae1e4397.system.entry.js → p-354a2aa0.system.entry.js} +1 -1
- package/lib/duet/p-356118ba.entry.js +4 -0
- package/lib/duet/p-35c194c6.system.entry.js +4 -0
- package/lib/duet/{p-bdbf8bca.entry.js → p-3628272f.entry.js} +1 -1
- package/lib/duet/{p-1d3b7252.entry.js → p-4036786c.entry.js} +1 -1
- package/lib/duet/{p-43abf083.entry.js → p-41dd874f.entry.js} +1 -1
- package/lib/duet/{p-dfe588e8.system.entry.js → p-4219375b.system.entry.js} +1 -1
- package/lib/duet/{p-09c3fee3.entry.js → p-456d8dad.entry.js} +1 -1
- package/lib/duet/{p-6410c967.entry.js → p-458fc16d.entry.js} +1 -1
- package/lib/duet/p-491cd6de.system.entry.js +4 -0
- package/lib/duet/{p-055cffab.system.entry.js → p-4ba5ad88.system.entry.js} +1 -1
- package/lib/duet/{p-f4b19481.system.entry.js → p-4bfe2c71.system.entry.js} +1 -1
- package/lib/duet/{p-5ec490da.system.entry.js → p-4ce1e34e.system.entry.js} +1 -1
- package/lib/duet/{p-08f3c955.entry.js → p-5059db01.entry.js} +1 -1
- package/lib/duet/{p-61fe36d3.entry.js → p-5108a877.entry.js} +1 -1
- package/lib/duet/{p-b6753d6e.entry.js → p-5325fda4.entry.js} +1 -1
- package/lib/duet/{p-74a742c9.system.entry.js → p-55f19eb2.system.entry.js} +1 -1
- package/lib/duet/{p-acf4057a.entry.js → p-58bb9a97.entry.js} +1 -1
- package/lib/duet/{p-05ff4ff2.entry.js → p-61846f98.entry.js} +1 -1
- package/lib/duet/{p-9bc15874.entry.js → p-6260487d.entry.js} +1 -1
- package/lib/duet/p-6277cd13.system.entry.js +4 -0
- package/lib/duet/{p-bbc717af.entry.js → p-6283c6f5.entry.js} +1 -1
- package/lib/duet/{p-f7cefa5d.system.entry.js → p-633f264e.system.entry.js} +1 -1
- package/lib/duet/{p-25f8b35d.entry.js → p-636ed472.entry.js} +1 -1
- package/lib/duet/{p-a7ec9aa4.system.js → p-642ad398.system.js} +1 -1
- package/lib/duet/{p-ecc8c5f4.system.entry.js → p-64d1926e.system.entry.js} +1 -1
- package/lib/duet/{p-052545fb.system.entry.js → p-66ff8d48.system.entry.js} +1 -1
- package/lib/duet/{p-51dae606.system.entry.js → p-6c6de74f.system.entry.js} +1 -1
- package/lib/duet/{p-f888deb6.system.entry.js → p-6da41e73.system.entry.js} +1 -1
- package/lib/duet/p-6de35e4e.system.entry.js +4 -0
- package/lib/duet/p-6f712ded.system.entry.js +4 -0
- package/lib/duet/{p-9b949b28.entry.js → p-70220be1.entry.js} +1 -1
- package/lib/duet/p-72f18985.system.entry.js +4 -0
- package/lib/duet/p-766f74de.system.entry.js +4 -0
- package/lib/duet/{p-a9ba6306.system.js → p-78c7f756.system.js} +1 -1
- package/lib/duet/p-7ae6bdb5.entry.js +4 -0
- package/lib/duet/{p-68986f07.system.entry.js → p-7bd315dc.system.entry.js} +2 -2
- package/lib/duet/{p-cce6bb84.entry.js → p-7e24d9c9.entry.js} +1 -1
- package/lib/duet/p-7f9402f3.entry.js +4 -0
- package/lib/duet/{p-9ad584d2.entry.js → p-843c21f0.entry.js} +1 -1
- package/lib/duet/{p-0d24350f.entry.js → p-865dded4.entry.js} +1 -1
- package/lib/duet/p-8916a9d7.entry.js +4 -0
- package/lib/duet/{p-24ec796f.system.entry.js → p-8a32c9b7.system.entry.js} +1 -1
- package/lib/duet/{p-e0c48a7d.entry.js → p-8f1615e1.entry.js} +1 -1
- package/lib/duet/{p-a4054eae.entry.js → p-91cb6b67.entry.js} +1 -1
- package/lib/duet/{p-36ad1015.system.entry.js → p-92dd8f9a.system.entry.js} +1 -1
- package/lib/duet/{p-2bea974a.system.entry.js → p-938e54fa.system.entry.js} +1 -1
- package/lib/duet/{p-5b7cbc4d.entry.js → p-947f9576.entry.js} +1 -1
- package/lib/duet/{p-ce35d050.system.entry.js → p-95e59e56.system.entry.js} +1 -1
- package/lib/duet/{p-d3f8e957.system.entry.js → p-96dcd185.system.entry.js} +1 -1
- package/lib/duet/{p-79ff1a6a.entry.js → p-97c23fa5.entry.js} +1 -1
- package/lib/duet/{p-edd23a3b.entry.js → p-994deb34.entry.js} +1 -1
- package/lib/duet/{p-dcf65419.entry.js → p-9a7b148d.entry.js} +1 -1
- package/lib/duet/{p-ca5373cf.entry.js → p-9b61b5aa.entry.js} +1 -1
- package/lib/duet/p-9b941a2e.entry.js +4 -0
- package/lib/duet/{p-69ab5590.system.entry.js → p-a0e93a23.system.entry.js} +1 -1
- package/lib/duet/{p-4aa4735d.entry.js → p-a3c535e8.entry.js} +1 -1
- package/lib/duet/p-a4f26de9.system.js +4 -0
- package/lib/duet/{p-c2f44fde.entry.js → p-a51cc486.entry.js} +1 -1
- package/lib/duet/{p-b0428a5d.system.entry.js → p-a6700437.system.entry.js} +1 -1
- package/lib/duet/{p-35d9ede4.system.entry.js → p-a6d93b8d.system.entry.js} +1 -1
- package/lib/duet/{p-08cc78bf.entry.js → p-a6e26074.entry.js} +1 -1
- package/lib/duet/p-a722af17.system.entry.js +4 -0
- package/lib/duet/{p-04103703.system.entry.js → p-abdc380a.system.entry.js} +1 -1
- package/lib/duet/{p-3179dcc4.entry.js → p-abeb98fd.entry.js} +1 -1
- package/lib/duet/{p-80ffbd1c.entry.js → p-ac7162c9.entry.js} +1 -1
- package/lib/duet/{p-4a7c0c4f.entry.js → p-ad8d2fdc.entry.js} +1 -1
- package/lib/duet/{p-fc6de9c4.system.entry.js → p-b0ed984f.system.entry.js} +1 -1
- package/lib/duet/{p-b63f60f6.system.entry.js → p-b109c24d.system.entry.js} +1 -1
- package/lib/duet/{p-ea09c830.system.entry.js → p-b1d2cecb.system.entry.js} +1 -1
- package/lib/duet/p-b26547fa.entry.js +4 -0
- package/lib/duet/{p-577f5a55.entry.js → p-b441ead1.entry.js} +1 -1
- package/lib/duet/{p-ee4e7bff.system.entry.js → p-b44db4ac.system.entry.js} +1 -1
- package/lib/duet/{p-5058dcff.system.entry.js → p-b462c43d.system.entry.js} +1 -1
- package/lib/duet/{p-11eec0c4.system.entry.js → p-b5d9eb82.system.entry.js} +1 -1
- package/lib/duet/{p-285a5c7a.system.entry.js → p-b6e93acf.system.entry.js} +1 -1
- package/lib/duet/{p-5e02b923.entry.js → p-b733f66d.entry.js} +1 -1
- package/lib/duet/{p-72bda1b3.entry.js → p-b84287b8.entry.js} +1 -1
- package/lib/duet/{p-cd33c4cd.entry.js → p-b961d8f5.entry.js} +1 -1
- package/lib/duet/{p-94f0387e.entry.js → p-b9ae3e48.entry.js} +1 -1
- package/lib/duet/{p-cfd2206f.system.entry.js → p-bcef0348.system.entry.js} +1 -1
- package/lib/duet/{p-1f5b0f23.system.entry.js → p-be29ea26.system.entry.js} +1 -1
- package/lib/duet/{p-6989d392.system.entry.js → p-c0631be0.system.entry.js} +1 -1
- package/lib/duet/{p-5e110a00.system.entry.js → p-c2d9d8bd.system.entry.js} +1 -1
- package/lib/duet/{p-ebfb519a.entry.js → p-c3ecbf50.entry.js} +1 -1
- package/lib/duet/{p-0eed7e9d.entry.js → p-c63b1734.entry.js} +1 -1
- package/lib/duet/{p-b20bff64.entry.js → p-cd0821d2.entry.js} +1 -1
- package/lib/duet/{p-d76aa87f.system.entry.js → p-cdf0aa76.system.entry.js} +1 -1
- package/lib/duet/p-d068e34d.system.entry.js +4 -0
- package/lib/duet/{p-183db4fd.entry.js → p-d0c1e6c3.entry.js} +1 -1
- package/lib/duet/{p-e82cc5a7.entry.js → p-d1311b4e.entry.js} +1 -1
- package/lib/duet/p-d17ecc3d.entry.js +4 -0
- package/lib/duet/{p-4be58c8b.system.entry.js → p-d2e4cf26.system.entry.js} +1 -1
- package/lib/duet/{p-b77e364d.entry.js → p-d57cb704.entry.js} +1 -1
- package/lib/duet/{p-f8bdcad4.entry.js → p-d6bb163e.entry.js} +1 -1
- package/lib/duet/{p-12014f2b.system.entry.js → p-d7131bae.system.entry.js} +1 -1
- package/lib/duet/p-d92954fa.js +4 -0
- package/lib/duet/p-da0df0a7.entry.js +4 -0
- package/lib/duet/{p-15910757.system.entry.js → p-dca133bd.system.entry.js} +1 -1
- package/lib/duet/p-ddd42071.system.entry.js +4 -0
- package/lib/duet/{p-11c83814.system.entry.js → p-dfbd555a.system.entry.js} +1 -1
- package/lib/duet/{p-466341b7.entry.js → p-e2c54679.entry.js} +1 -1
- package/lib/duet/{p-5fff98bf.entry.js → p-e38b675a.entry.js} +1 -1
- package/lib/duet/{p-95a4082f.entry.js → p-e815803c.entry.js} +1 -1
- package/lib/duet/p-e980ae79.entry.js +4 -0
- package/lib/duet/p-ec06d75f.system.entry.js +4 -0
- package/lib/duet/{p-f58e2c75.system.entry.js → p-ecab9ce4.system.entry.js} +1 -1
- package/lib/duet/{p-aa9f3fc8.entry.js → p-ed8af96b.entry.js} +1 -1
- package/lib/duet/{p-1fcb57c4.system.entry.js → p-eec5e67e.system.entry.js} +1 -1
- package/lib/duet/p-f2c963da.entry.js +4 -0
- package/lib/duet/{p-3783db99.system.entry.js → p-f3f68891.system.entry.js} +1 -1
- package/lib/duet/{p-cd514cf6.system.entry.js → p-f5d225d1.system.entry.js} +1 -1
- package/lib/duet/p-f6bc09ff.entry.js +4 -0
- package/lib/duet/{p-4bb8d188.system.entry.js → p-f79dfc00.system.entry.js} +1 -1
- package/lib/duet/p-fc58061a.system.entry.js +4 -0
- package/lib/duet/p-fda615a0.system.entry.js +4 -0
- package/lib/duet/{p-d2ffedfa.system.entry.js → p-ff2521ee.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +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 +4 -4
- 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 +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +14 -3
- 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 +3 -3
- 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 +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +4 -3
- package/lib/esm/duet-slideout-panel.entry.js +18 -7
- package/lib/esm/duet-slideout.entry.js +4 -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 +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +2 -2
- package/lib/esm/{focus-utils-9717e725.js → focus-utils-202c5ae0.js} +1 -1
- package/lib/esm/{index-e394f675.js → index-c56801d3.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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-202c5ae0.js +4 -0
- package/lib/esm-es5/{index-e394f675.js → index-c56801d3.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-icon/duet-icon.d.ts +4 -0
- package/lib/types/components/duet-link/duet-link.d.ts +4 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +19 -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-panel/duet-slideout-panel.d.ts +5 -1
- package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +4 -0
- 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.d.ts +145 -1
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-ff814bad.js +0 -183
- package/lib/duet/p-0e4288ad.entry.js +0 -4
- package/lib/duet/p-10525faa.system.entry.js +0 -4
- package/lib/duet/p-111468b4.system.js +0 -4
- package/lib/duet/p-1ca17c3d.system.entry.js +0 -4
- package/lib/duet/p-1d86c33e.entry.js +0 -4
- package/lib/duet/p-20077ae5.entry.js +0 -4
- package/lib/duet/p-29f2cb57.system.entry.js +0 -4
- package/lib/duet/p-36e6b035.entry.js +0 -4
- package/lib/duet/p-4faaf699.entry.js +0 -4
- package/lib/duet/p-5831b7b3.system.entry.js +0 -4
- package/lib/duet/p-5c66df7c.entry.js +0 -4
- package/lib/duet/p-609cd028.system.entry.js +0 -4
- package/lib/duet/p-6d3a3fd0.js +0 -4
- package/lib/duet/p-7e39a550.system.entry.js +0 -4
- package/lib/duet/p-98ae2cb9.entry.js +0 -4
- package/lib/duet/p-a77d4c37.system.entry.js +0 -4
- package/lib/duet/p-b0e1180e.system.entry.js +0 -4
- package/lib/duet/p-b3f3bca8.system.entry.js +0 -4
- package/lib/duet/p-b4659570.entry.js +0 -4
- package/lib/duet/p-c0d2e97b.entry.js +0 -4
- package/lib/duet/p-c41c7735.system.entry.js +0 -4
- package/lib/duet/p-c81e306c.system.entry.js +0 -4
- package/lib/duet/p-d86cf803.entry.js +0 -4
- package/lib/duet/p-d9aa697b.entry.js +0 -4
- package/lib/duet/p-dc1e280d.entry.js +0 -4
- package/lib/duet/p-df40670a.system.entry.js +0 -4
- package/lib/duet/p-feb0de52.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-9717e725.js +0 -4
|
@@ -118,6 +118,11 @@
|
|
|
118
118
|
color: #00294d;
|
|
119
119
|
visibility: visible;
|
|
120
120
|
transition: max-height 0.3s ease-in, padding 0.3s ease-in;
|
|
121
|
+
-ms-overflow-style: none;
|
|
122
|
+
scrollbar-width: none;
|
|
123
|
+
}
|
|
124
|
+
.duet-submenu-bar-dropdown .items::-webkit-scrollbar {
|
|
125
|
+
display: none;
|
|
121
126
|
}
|
|
122
127
|
@media (min-width: 62em) {
|
|
123
128
|
.duet-submenu-bar-dropdown .items {
|
|
@@ -137,7 +142,7 @@
|
|
|
137
142
|
padding: 0;
|
|
138
143
|
overflow: hidden;
|
|
139
144
|
visibility: hidden;
|
|
140
|
-
transition: max-height 0.3s ease-
|
|
145
|
+
transition: max-height 0.3s ease-in, padding 0.3s ease-in;
|
|
141
146
|
}
|
|
142
147
|
.duet-submenu-bar-dropdown.duet-theme-turva button {
|
|
143
148
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
@@ -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
|
};
|
|
@@ -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-e9377a6f.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-0f388d82.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-fc736d50.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-d2ab6c91.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-d555c27d.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-d2ab6c91.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-d555c27d.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-22d5db87.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-cc44f2ef.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-d2ab6c91.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-d555c27d.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-c40c2037.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-ce3c83bd.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface DuetCheckmark extends Components.DuetCheckmark, HTMLElement {}
|
|
4
|
+
export const DuetCheckmark: {
|
|
5
|
+
prototype: DuetCheckmark;
|
|
6
|
+
new (): DuetCheckmark;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-799128c4.js';
|
|
5
|
+
|
|
6
|
+
const DuetCheckmark = DuetCheckmark$1;
|
|
7
|
+
const defineCustomElement = defineCustomElement$1;
|
|
8
|
+
|
|
9
|
+
export { DuetCheckmark, defineCustomElement };
|
|
@@ -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-d2ab6c91.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-cc44f2ef.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-72fd3c82.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-d555c27d.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-641086b9.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-bd9de5b1.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-d2ab6c91.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-cc44f2ef.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-d555c27d.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-c40c2037.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-bd9de5b1.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
|
|
|
@@ -175,6 +175,12 @@ const DuetChoice$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
175
175
|
async setFocus(options) {
|
|
176
176
|
this.nativeInput.focus(options);
|
|
177
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* This method toggles the info section.
|
|
180
|
+
*/
|
|
181
|
+
async toggleInfoMethod() {
|
|
182
|
+
this.isInfoOpen = !this.isInfoOpen;
|
|
183
|
+
}
|
|
178
184
|
getAriaDescribedby() {
|
|
179
185
|
if (this.accessibleDescribedBy) {
|
|
180
186
|
return this.accessibleDescribedBy;
|
|
@@ -277,7 +283,8 @@ const DuetChoice$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
277
283
|
"isHovering": [32],
|
|
278
284
|
"isInfoOpen": [32],
|
|
279
285
|
"isBlurred": [32],
|
|
280
|
-
"setFocus": [64]
|
|
286
|
+
"setFocus": [64],
|
|
287
|
+
"toggleInfoMethod": [64]
|
|
281
288
|
}, [[2, "blur", "handleHostBlur"], [2, "keydown", "handleHostKeyDown"], [2, "keyup", "handleHostKeyUp"]]]);
|
|
282
289
|
function defineCustomElement$1() {
|
|
283
290
|
if (typeof customElements === "undefined") {
|
|
@@ -1,21 +1,22 @@
|
|
|
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-d2ab6c91.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-d555c27d.js';
|
|
12
12
|
|
|
13
|
-
const duetCollapsibleCss = "
|
|
13
|
+
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-collapsible-heading .duet-collapsible-heading-content{flex:0 auto;min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{flex:1 0 auto;margin-left:16px}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:#00294d;transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
|
|
14
14
|
|
|
15
15
|
const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
16
16
|
constructor() {
|
|
17
17
|
super();
|
|
18
18
|
this.__registerHost();
|
|
19
|
+
this.__attachShadow();
|
|
19
20
|
this.duetToggle = createEvent(this, "duetToggle", 7);
|
|
20
21
|
this.id = createID("DuetCollapsible");
|
|
21
22
|
this.handleKeyDown = (e) => {
|
|
@@ -95,16 +96,16 @@ const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
95
96
|
*/
|
|
96
97
|
render() {
|
|
97
98
|
const HeadingTagName = this.headingLevel ? sanitizeString(this.headingLevel) : "div";
|
|
98
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h(HeadingTagName, { class: {
|
|
99
|
+
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h(HeadingTagName, null, h("button", { class: {
|
|
99
100
|
"duet-collapsible-heading": true,
|
|
100
101
|
"duet-theme-turva": this.theme === "turva",
|
|
101
102
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
102
103
|
"has-after-heading": this.hasAfterHeading,
|
|
103
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button",
|
|
104
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", 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))));
|
|
104
105
|
}
|
|
105
106
|
get element() { return this; }
|
|
106
107
|
static get style() { return duetCollapsibleCss; }
|
|
107
|
-
}, [
|
|
108
|
+
}, [1, "duet-collapsible", {
|
|
108
109
|
"theme": [1025],
|
|
109
110
|
"heading": [1],
|
|
110
111
|
"headingWeight": [1, "heading-weight"],
|
|
@@ -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-d2ab6c91.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-d555c27d.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-d2ab6c91.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-22d5db87.js';
|
|
7
|
+
import { d as defineCustomElement$5 } from './p-d555c27d.js';
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-c40c2037.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-9087725f.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-bd9de5b1.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
|
|