@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
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"./components/duet-layout/duet-layout.js",
|
|
27
27
|
"./components/duet-list/duet-list.js",
|
|
28
28
|
"./components/duet-logo/duet-logo.js",
|
|
29
|
+
"./components/duet-menu-bar/duet-menu-bar.js",
|
|
29
30
|
"./components/duet-modal/duet-modal.js",
|
|
30
31
|
"./components/duet-multiselect/duet-multiselect.js",
|
|
31
32
|
"./components/duet-notification-drawer/duet-notification-drawer.js",
|
|
@@ -50,18 +51,19 @@
|
|
|
50
51
|
"./components/duet-badge/duet-badge.js",
|
|
51
52
|
"./components/duet-breadcrumbs/duet-breadcrumb.js",
|
|
52
53
|
"./components/duet-breadcrumbs/duet-breadcrumbs.js",
|
|
54
|
+
"./components/duet-choice/duet-checkmark.js",
|
|
53
55
|
"./components/duet-choice-group/duet-choice-group.js",
|
|
54
56
|
"./components/duet-fieldset/duet-fieldset.js",
|
|
55
57
|
"./components/duet-grid-item/duet-grid-item.js",
|
|
56
58
|
"./components/duet-link/duet-link.js",
|
|
57
59
|
"./components/duet-list-item/duet-list-item.js",
|
|
58
|
-
"./components/duet-menu-bar/duet-menu-bar.js",
|
|
59
60
|
"./components/duet-menu-bar-button/duet-menu-bar-button.js",
|
|
60
61
|
"./components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js",
|
|
61
62
|
"./components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js",
|
|
62
63
|
"./components/duet-menu-bar-link/duet-menu-bar-link.js",
|
|
63
64
|
"./components/duet-nav/duet-nav.js",
|
|
64
65
|
"./components/duet-notification/duet-notification.js",
|
|
66
|
+
"./components/duet-page-heading/duet-page-heading.js",
|
|
65
67
|
"./components/duet-progress/duet-progress.js",
|
|
66
68
|
"./components/duet-radio-group/duet-radio-group.js",
|
|
67
69
|
"./components/duet-scrollable/duet-scrollable.js",
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.duet-checkmark-container {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 20px;
|
|
4
|
+
height: 20px;
|
|
5
|
+
margin-left: auto;
|
|
6
|
+
border: 1px solid #909599;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
transition: border 300ms ease;
|
|
9
|
+
}
|
|
10
|
+
.duet-checkmark-container.center {
|
|
11
|
+
margin-right: auto;
|
|
12
|
+
}
|
|
13
|
+
.duet-theme-turva .duet-checkmark-container {
|
|
14
|
+
border-color: #747475;
|
|
15
|
+
}
|
|
16
|
+
.checked .duet-checkmark-container {
|
|
17
|
+
background: #0077b3;
|
|
18
|
+
border-color: #0077b3;
|
|
19
|
+
transition: none;
|
|
20
|
+
}
|
|
21
|
+
.duet-theme-turva .checked .duet-checkmark-container {
|
|
22
|
+
background: #171c3a;
|
|
23
|
+
border-color: #171c3a !important;
|
|
24
|
+
}
|
|
25
|
+
.duet-checkmark-container.duet-checkmark-radio {
|
|
26
|
+
border-radius: 50%;
|
|
27
|
+
}
|
|
28
|
+
[disabled] + label .duet-checkmark-container {
|
|
29
|
+
border-color: #cfd2d4 !important;
|
|
30
|
+
}
|
|
31
|
+
.duet-theme-turva [disabled] + label .duet-checkmark-container {
|
|
32
|
+
border-color: #cfcfd1 !important;
|
|
33
|
+
}
|
|
34
|
+
.checked [disabled] + label .duet-checkmark-container {
|
|
35
|
+
background: #cfd2d4 !important;
|
|
36
|
+
}
|
|
37
|
+
.duet-theme-turva .checked [disabled] + label .duet-checkmark-container {
|
|
38
|
+
background: #cfcfd1 !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.duet-checkmark {
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 10px;
|
|
44
|
+
left: 3px;
|
|
45
|
+
width: 5.3333333333px;
|
|
46
|
+
height: 11.8518518519px;
|
|
47
|
+
border-top: 2px solid white;
|
|
48
|
+
border-right: 2px solid white;
|
|
49
|
+
opacity: 1;
|
|
50
|
+
transform: scaleX(-1) rotate(135deg) translateZ(0);
|
|
51
|
+
transform-origin: left top;
|
|
52
|
+
animation-name: duet-checkmark;
|
|
53
|
+
animation-duration: 600ms;
|
|
54
|
+
animation-timing-function: ease-out;
|
|
55
|
+
animation-fill-mode: forwards;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@keyframes duet-checkmark {
|
|
59
|
+
0% {
|
|
60
|
+
width: 0;
|
|
61
|
+
height: 0;
|
|
62
|
+
opacity: 1;
|
|
63
|
+
}
|
|
64
|
+
20% {
|
|
65
|
+
width: 5.3333333333px;
|
|
66
|
+
height: 0;
|
|
67
|
+
opacity: 1;
|
|
68
|
+
}
|
|
69
|
+
40%, 100% {
|
|
70
|
+
width: 5.3333333333px;
|
|
71
|
+
height: 11.8518518519px;
|
|
72
|
+
opacity: 1;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { inheritGlobalTheme } from "../../common";
|
|
6
|
+
export class DuetCheckmark {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.theme = "";
|
|
9
|
+
this.checked = false;
|
|
10
|
+
this.presentationOnly = false;
|
|
11
|
+
this.center = false;
|
|
12
|
+
this.type = "checkbox";
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Component lifecycle events.
|
|
16
|
+
*/
|
|
17
|
+
componentWillLoad() {
|
|
18
|
+
inheritGlobalTheme(this);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (h(Host, { class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { class: {
|
|
22
|
+
"duet-checkmark-container": true,
|
|
23
|
+
center: this.center,
|
|
24
|
+
"duet-checkmark-radio": this.type === "radio",
|
|
25
|
+
} }, this.checked && h("div", { class: "duet-checkmark" })))));
|
|
26
|
+
}
|
|
27
|
+
static get is() { return "duet-checkmark"; }
|
|
28
|
+
static get originalStyleUrls() {
|
|
29
|
+
return {
|
|
30
|
+
"$": ["duet-checkmark.scss"]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
static get styleUrls() {
|
|
34
|
+
return {
|
|
35
|
+
"$": ["duet-checkmark.css"]
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
static get properties() {
|
|
39
|
+
return {
|
|
40
|
+
"theme": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"mutable": true,
|
|
43
|
+
"complexType": {
|
|
44
|
+
"original": "DuetTheme",
|
|
45
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
46
|
+
"references": {
|
|
47
|
+
"DuetTheme": {
|
|
48
|
+
"location": "import",
|
|
49
|
+
"path": "../../common-types"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": false,
|
|
54
|
+
"optional": false,
|
|
55
|
+
"docs": {
|
|
56
|
+
"tags": [],
|
|
57
|
+
"text": "Theme"
|
|
58
|
+
},
|
|
59
|
+
"attribute": "theme",
|
|
60
|
+
"reflect": false,
|
|
61
|
+
"defaultValue": "\"\""
|
|
62
|
+
},
|
|
63
|
+
"checked": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"mutable": true,
|
|
66
|
+
"complexType": {
|
|
67
|
+
"original": "boolean",
|
|
68
|
+
"resolved": "boolean",
|
|
69
|
+
"references": {}
|
|
70
|
+
},
|
|
71
|
+
"required": false,
|
|
72
|
+
"optional": false,
|
|
73
|
+
"docs": {
|
|
74
|
+
"tags": [],
|
|
75
|
+
"text": "Checked"
|
|
76
|
+
},
|
|
77
|
+
"attribute": "checked",
|
|
78
|
+
"reflect": false,
|
|
79
|
+
"defaultValue": "false"
|
|
80
|
+
},
|
|
81
|
+
"presentationOnly": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"mutable": false,
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "boolean",
|
|
86
|
+
"resolved": "boolean",
|
|
87
|
+
"references": {}
|
|
88
|
+
},
|
|
89
|
+
"required": false,
|
|
90
|
+
"optional": false,
|
|
91
|
+
"docs": {
|
|
92
|
+
"tags": [],
|
|
93
|
+
"text": "Checked"
|
|
94
|
+
},
|
|
95
|
+
"attribute": "presentation-only",
|
|
96
|
+
"reflect": false,
|
|
97
|
+
"defaultValue": "false"
|
|
98
|
+
},
|
|
99
|
+
"center": {
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"mutable": false,
|
|
102
|
+
"complexType": {
|
|
103
|
+
"original": "boolean",
|
|
104
|
+
"resolved": "boolean",
|
|
105
|
+
"references": {}
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"optional": false,
|
|
109
|
+
"docs": {
|
|
110
|
+
"tags": [],
|
|
111
|
+
"text": "Checked"
|
|
112
|
+
},
|
|
113
|
+
"attribute": "center",
|
|
114
|
+
"reflect": false,
|
|
115
|
+
"defaultValue": "false"
|
|
116
|
+
},
|
|
117
|
+
"type": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"mutable": false,
|
|
120
|
+
"complexType": {
|
|
121
|
+
"original": "DuetChoiceType",
|
|
122
|
+
"resolved": "\"checkbox\" | \"radio\"",
|
|
123
|
+
"references": {
|
|
124
|
+
"DuetChoiceType": {
|
|
125
|
+
"location": "import",
|
|
126
|
+
"path": "./duet-choice"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"required": false,
|
|
131
|
+
"optional": false,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": "Type"
|
|
135
|
+
},
|
|
136
|
+
"attribute": "type",
|
|
137
|
+
"reflect": true,
|
|
138
|
+
"defaultValue": "\"checkbox\""
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -174,6 +174,12 @@ export class DuetChoice {
|
|
|
174
174
|
async setFocus(options) {
|
|
175
175
|
this.nativeInput.focus(options);
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* This method toggles the info section.
|
|
179
|
+
*/
|
|
180
|
+
async toggleInfoMethod() {
|
|
181
|
+
this.isInfoOpen = !this.isInfoOpen;
|
|
182
|
+
}
|
|
177
183
|
getAriaDescribedby() {
|
|
178
184
|
if (this.accessibleDescribedBy) {
|
|
179
185
|
return this.accessibleDescribedBy;
|
|
@@ -911,6 +917,22 @@ export class DuetChoice {
|
|
|
911
917
|
"text": "Sets focus on the specified `duet-choice`. Use this method instead of the global\n`input.focus()`.",
|
|
912
918
|
"tags": []
|
|
913
919
|
}
|
|
920
|
+
},
|
|
921
|
+
"toggleInfoMethod": {
|
|
922
|
+
"complexType": {
|
|
923
|
+
"signature": "() => Promise<void>",
|
|
924
|
+
"parameters": [],
|
|
925
|
+
"references": {
|
|
926
|
+
"Promise": {
|
|
927
|
+
"location": "global"
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
"return": "Promise<void>"
|
|
931
|
+
},
|
|
932
|
+
"docs": {
|
|
933
|
+
"text": "This method toggles the info section.",
|
|
934
|
+
"tags": []
|
|
935
|
+
}
|
|
914
936
|
}
|
|
915
937
|
};
|
|
916
938
|
}
|
|
@@ -95,15 +95,15 @@ export class DuetCollapsible {
|
|
|
95
95
|
*/
|
|
96
96
|
render() {
|
|
97
97
|
const HeadingTagName = this.headingLevel ? sanitizeString(this.headingLevel) : "div";
|
|
98
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h(HeadingTagName, { class: {
|
|
98
|
+
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h(HeadingTagName, null, h("button", { class: {
|
|
99
99
|
"duet-collapsible-heading": true,
|
|
100
100
|
"duet-theme-turva": this.theme === "turva",
|
|
101
101
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
102
102
|
"has-after-heading": this.hasAfterHeading,
|
|
103
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button",
|
|
103
|
+
}, 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: icon.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
104
|
}
|
|
105
105
|
static get is() { return "duet-collapsible"; }
|
|
106
|
-
static get encapsulation() { return "
|
|
106
|
+
static get encapsulation() { return "shadow"; }
|
|
107
107
|
static get originalStyleUrls() {
|
|
108
108
|
return {
|
|
109
109
|
"$": ["duet-collapsible.scss"]
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
padding: 12px;
|
|
61
61
|
border-style: solid;
|
|
62
62
|
border-width: 1px;
|
|
63
|
-
border-radius: 50%;
|
|
64
63
|
}
|
|
65
64
|
@media (max-width: 35.9375em) {
|
|
66
65
|
.duet-icon.duet-icon-has-outline {
|
|
@@ -71,7 +70,6 @@
|
|
|
71
70
|
.duet-icon.duet-icon-has-background {
|
|
72
71
|
padding: 16px;
|
|
73
72
|
color: white;
|
|
74
|
-
border-radius: 50%;
|
|
75
73
|
}
|
|
76
74
|
@media (max-width: 35.9375em) {
|
|
77
75
|
.duet-icon.duet-icon-has-background {
|
|
@@ -82,6 +80,12 @@
|
|
|
82
80
|
.duet-icon.duet-icon-has-background.duet-theme-turva, .duet-icon.duet-icon-has-background.duet-theme-default {
|
|
83
81
|
color: white;
|
|
84
82
|
}
|
|
83
|
+
.duet-icon.duet-icon-shape-circle {
|
|
84
|
+
border-radius: 50%;
|
|
85
|
+
}
|
|
86
|
+
.duet-icon.duet-icon-shape-brand {
|
|
87
|
+
border-radius: 25%;
|
|
88
|
+
}
|
|
85
89
|
.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg, .duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg {
|
|
86
90
|
width: 10px;
|
|
87
91
|
height: 10px;
|
|
@@ -164,6 +168,121 @@
|
|
|
164
168
|
height: 72px;
|
|
165
169
|
}
|
|
166
170
|
}
|
|
171
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva {
|
|
172
|
+
display: flex;
|
|
173
|
+
align-items: center;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E");
|
|
176
|
+
-webkit-mask-repeat: no-repeat;
|
|
177
|
+
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E");
|
|
178
|
+
mask-repeat: no-repeat;
|
|
179
|
+
}
|
|
180
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg {
|
|
181
|
+
min-width: auto;
|
|
182
|
+
}
|
|
183
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small {
|
|
184
|
+
width: 18px;
|
|
185
|
+
height: 15px;
|
|
186
|
+
padding: 0;
|
|
187
|
+
}
|
|
188
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small {
|
|
189
|
+
width: 32px;
|
|
190
|
+
height: 30px;
|
|
191
|
+
padding: 0;
|
|
192
|
+
}
|
|
193
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva.small {
|
|
194
|
+
width: 36px;
|
|
195
|
+
height: 34px;
|
|
196
|
+
padding: 0;
|
|
197
|
+
}
|
|
198
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium {
|
|
199
|
+
width: 48px;
|
|
200
|
+
height: 44px;
|
|
201
|
+
padding: 0;
|
|
202
|
+
}
|
|
203
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva.large {
|
|
204
|
+
width: 62px;
|
|
205
|
+
height: 56px;
|
|
206
|
+
padding: 0;
|
|
207
|
+
}
|
|
208
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large {
|
|
209
|
+
width: 76px;
|
|
210
|
+
height: 68px;
|
|
211
|
+
padding: 0;
|
|
212
|
+
}
|
|
213
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large {
|
|
214
|
+
width: 95px;
|
|
215
|
+
height: 86px;
|
|
216
|
+
padding: 0;
|
|
217
|
+
}
|
|
218
|
+
.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large {
|
|
219
|
+
width: 144px;
|
|
220
|
+
height: 130px;
|
|
221
|
+
padding: 0;
|
|
222
|
+
}
|
|
223
|
+
.duet-icon.duet-icon-shape-brand.xxx-small {
|
|
224
|
+
padding: 0;
|
|
225
|
+
}
|
|
226
|
+
.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg {
|
|
227
|
+
width: 0;
|
|
228
|
+
height: 0;
|
|
229
|
+
}
|
|
230
|
+
.duet-icon.duet-icon-shape-brand.xx-small {
|
|
231
|
+
padding: 4px;
|
|
232
|
+
}
|
|
233
|
+
.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg {
|
|
234
|
+
width: 10px;
|
|
235
|
+
height: 10px;
|
|
236
|
+
}
|
|
237
|
+
.duet-icon.duet-icon-shape-brand.x-small {
|
|
238
|
+
padding: 8px;
|
|
239
|
+
}
|
|
240
|
+
.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg {
|
|
241
|
+
width: 16px;
|
|
242
|
+
height: 16px;
|
|
243
|
+
}
|
|
244
|
+
.duet-icon.duet-icon-shape-brand.small {
|
|
245
|
+
padding: 8px;
|
|
246
|
+
}
|
|
247
|
+
.duet-icon.duet-icon-shape-brand.small .duet-icon-svg {
|
|
248
|
+
width: 20px;
|
|
249
|
+
height: 20px;
|
|
250
|
+
}
|
|
251
|
+
.duet-icon.duet-icon-shape-brand.medium {
|
|
252
|
+
padding: 12px;
|
|
253
|
+
}
|
|
254
|
+
.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg {
|
|
255
|
+
width: 24px;
|
|
256
|
+
height: 24px;
|
|
257
|
+
}
|
|
258
|
+
.duet-icon.duet-icon-shape-brand.large {
|
|
259
|
+
padding: 16px;
|
|
260
|
+
}
|
|
261
|
+
.duet-icon.duet-icon-shape-brand.large .duet-icon-svg {
|
|
262
|
+
width: 30px;
|
|
263
|
+
height: 30px;
|
|
264
|
+
}
|
|
265
|
+
.duet-icon.duet-icon-shape-brand.x-large {
|
|
266
|
+
padding: 20px;
|
|
267
|
+
}
|
|
268
|
+
.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg {
|
|
269
|
+
width: 36px;
|
|
270
|
+
height: 36px;
|
|
271
|
+
}
|
|
272
|
+
.duet-icon.duet-icon-shape-brand.xx-large {
|
|
273
|
+
padding: 24px;
|
|
274
|
+
}
|
|
275
|
+
.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg {
|
|
276
|
+
width: 48px;
|
|
277
|
+
height: 48px;
|
|
278
|
+
}
|
|
279
|
+
.duet-icon.duet-icon-shape-brand.xxx-large {
|
|
280
|
+
padding: 36px;
|
|
281
|
+
}
|
|
282
|
+
.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg {
|
|
283
|
+
width: 72px;
|
|
284
|
+
height: 72px;
|
|
285
|
+
}
|
|
167
286
|
.duet-icon .duet-icon-svg {
|
|
168
287
|
display: block;
|
|
169
288
|
width: 24px;
|
|
@@ -18,6 +18,7 @@ export class DuetIcon {
|
|
|
18
18
|
this.background = "";
|
|
19
19
|
this.size = "medium";
|
|
20
20
|
this.outline = "";
|
|
21
|
+
this.shape = "circle";
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* Component lifecycle events.
|
|
@@ -72,6 +73,7 @@ export class DuetIcon {
|
|
|
72
73
|
"duet-theme-default": this.theme === "default",
|
|
73
74
|
"duet-icon-has-outline": !!this.outline,
|
|
74
75
|
"duet-icon-has-background": !!this.background,
|
|
76
|
+
[`duet-icon-shape-${this.shape}`]: true,
|
|
75
77
|
"duet-icon-not-responsive": !this.responsive,
|
|
76
78
|
} }, h("span", { "aria-hidden": "true", class: "duet-icon-svg", innerHTML: this.svgContent }))));
|
|
77
79
|
}
|
|
@@ -300,6 +302,24 @@ export class DuetIcon {
|
|
|
300
302
|
"attribute": "outline",
|
|
301
303
|
"reflect": false,
|
|
302
304
|
"defaultValue": "\"\""
|
|
305
|
+
},
|
|
306
|
+
"shape": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"mutable": false,
|
|
309
|
+
"complexType": {
|
|
310
|
+
"original": "\"circle\" | \"brand\"",
|
|
311
|
+
"resolved": "\"brand\" | \"circle\"",
|
|
312
|
+
"references": {}
|
|
313
|
+
},
|
|
314
|
+
"required": false,
|
|
315
|
+
"optional": false,
|
|
316
|
+
"docs": {
|
|
317
|
+
"tags": [],
|
|
318
|
+
"text": "Shape of the background. Brand follows new designs and currently doesn't support xxx-small size."
|
|
319
|
+
},
|
|
320
|
+
"attribute": "shape",
|
|
321
|
+
"reflect": false,
|
|
322
|
+
"defaultValue": "\"circle\""
|
|
303
323
|
}
|
|
304
324
|
};
|
|
305
325
|
}
|
|
@@ -58,4 +58,41 @@
|
|
|
58
58
|
|
|
59
59
|
.duet-link-external {
|
|
60
60
|
margin-left: 4px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.duet-tab-to-link {
|
|
64
|
+
padding: 15px 28px 16px !important;
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: -100%;
|
|
67
|
+
left: -100%;
|
|
68
|
+
z-index: 200;
|
|
69
|
+
width: 1px;
|
|
70
|
+
min-width: 190px;
|
|
71
|
+
height: 1px;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
color: #0077b3;
|
|
75
|
+
text-align: center;
|
|
76
|
+
text-decoration: none;
|
|
77
|
+
background: white;
|
|
78
|
+
border-radius: 4px;
|
|
79
|
+
opacity: 0;
|
|
80
|
+
transition: none;
|
|
81
|
+
}
|
|
82
|
+
.duet-tab-to-link.duet-theme-turva {
|
|
83
|
+
min-width: 120px;
|
|
84
|
+
color: #171c3a;
|
|
85
|
+
}
|
|
86
|
+
@media (min-width: 106.25em) {
|
|
87
|
+
.duet-tab-to-link {
|
|
88
|
+
margin-left: 20px;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
.duet-tab-to-link:focus {
|
|
92
|
+
top: 12px;
|
|
93
|
+
left: 20px;
|
|
94
|
+
width: auto;
|
|
95
|
+
height: auto;
|
|
96
|
+
outline: 0;
|
|
97
|
+
opacity: 1;
|
|
61
98
|
}
|
|
@@ -19,6 +19,7 @@ export class DuetLink {
|
|
|
19
19
|
this.theme = "";
|
|
20
20
|
this.url = "#";
|
|
21
21
|
this.external = false;
|
|
22
|
+
this.tabToLink = false;
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
25
|
* Component lifecycle events.
|
|
@@ -41,6 +42,7 @@ export class DuetLink {
|
|
|
41
42
|
return (h(Host, null, h("a", { href: this.url, class: {
|
|
42
43
|
"duet-link": true,
|
|
43
44
|
"duet-link-is-external": this.external,
|
|
45
|
+
"duet-tab-to-link": this.tabToLink,
|
|
44
46
|
"duet-theme-turva": this.theme === "turva",
|
|
45
47
|
}, target: this.external ? "_blank" : "_self", "aria-label": this.accessibleLabel, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, h("slot", null), Build.isBrowser && this.external && (h(Fragment, null, h("duet-visually-hidden", null, this.accessibleLabelExternal), h("span", { class: "duet-link-external" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))));
|
|
46
48
|
}
|
|
@@ -227,6 +229,24 @@ export class DuetLink {
|
|
|
227
229
|
"attribute": "external",
|
|
228
230
|
"reflect": false,
|
|
229
231
|
"defaultValue": "false"
|
|
232
|
+
},
|
|
233
|
+
"tabToLink": {
|
|
234
|
+
"type": "boolean",
|
|
235
|
+
"mutable": false,
|
|
236
|
+
"complexType": {
|
|
237
|
+
"original": "boolean",
|
|
238
|
+
"resolved": "boolean",
|
|
239
|
+
"references": {}
|
|
240
|
+
},
|
|
241
|
+
"required": false,
|
|
242
|
+
"optional": false,
|
|
243
|
+
"docs": {
|
|
244
|
+
"tags": [],
|
|
245
|
+
"text": "Initially visually hidden link, which is shown on focus."
|
|
246
|
+
},
|
|
247
|
+
"attribute": "tab-to-link",
|
|
248
|
+
"reflect": false,
|
|
249
|
+
"defaultValue": "false"
|
|
230
250
|
}
|
|
231
251
|
};
|
|
232
252
|
}
|
|
@@ -38,6 +38,16 @@ export class DuetMenuBar {
|
|
|
38
38
|
this.logoSize = "medium";
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
+
this.handleLogoClick = (e) => {
|
|
42
|
+
this.duetEvent.emit({
|
|
43
|
+
name: "logoClick",
|
|
44
|
+
component: "duet-menu-bar",
|
|
45
|
+
data: {
|
|
46
|
+
logoHref: this.logoHref,
|
|
47
|
+
},
|
|
48
|
+
originalEvent: e,
|
|
49
|
+
});
|
|
50
|
+
};
|
|
41
51
|
this.logoSize = "large";
|
|
42
52
|
this.leftMoreVisible = false;
|
|
43
53
|
this.rightMoreVisible = false;
|
|
@@ -91,7 +101,7 @@ export class DuetMenuBar {
|
|
|
91
101
|
"duet-menu-bar": true,
|
|
92
102
|
"duet-theme-turva": this.theme === "turva",
|
|
93
103
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
94
|
-
}, role: "menubar" }, h("div", { class: "top" }), h("div", { class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("duet-logo", { size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref })), h("div", { class: "center" }, h("div", { class: "more-left", hidden: !this.leftMoreVisible }), h("slot", { name: "center" }), h("div", { class: "more-right", hidden: !this.rightMoreVisible })), h("slot", { name: "right" })), h("div", { class: "bottom" }))));
|
|
104
|
+
}, role: "menubar" }, h("div", { class: "top" }), h("div", { class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", null, h("duet-logo", { size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, onClick: this.handleLogoClick }))), h("div", { class: "center" }, h("div", { class: "more-left", hidden: !this.leftMoreVisible }), h("slot", { name: "center" }), h("div", { class: "more-right", hidden: !this.rightMoreVisible })), h("slot", { name: "right" })), h("div", { class: "bottom" }))));
|
|
95
105
|
}
|
|
96
106
|
static get is() { return "duet-menu-bar"; }
|
|
97
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -174,5 +184,27 @@ export class DuetMenuBar {
|
|
|
174
184
|
"rightMoreVisible": {}
|
|
175
185
|
};
|
|
176
186
|
}
|
|
187
|
+
static get events() {
|
|
188
|
+
return [{
|
|
189
|
+
"method": "duetEvent",
|
|
190
|
+
"name": "duetEvent",
|
|
191
|
+
"bubbles": true,
|
|
192
|
+
"cancelable": true,
|
|
193
|
+
"composed": true,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [],
|
|
196
|
+
"text": "General event stream for the following events:\nlogoClick\nYou can prevent\nthe default browser functionality by calling **event.detail.originalEvent.preventDefault()**\ninside your listener. Additionally, the passed data is available via\n**event.detail.data**."
|
|
197
|
+
},
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "DuetMenuBarChangeEvent",
|
|
200
|
+
"resolved": "{ originalEvent: Event; name: \"logoClick\"; data: { logoHref: string; }; component: \"duet-menu-bar\"; }",
|
|
201
|
+
"references": {
|
|
202
|
+
"DuetMenuBarChangeEvent": {
|
|
203
|
+
"location": "local"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}];
|
|
208
|
+
}
|
|
177
209
|
static get elementRef() { return "element"; }
|
|
178
210
|
}
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
height: 100%;
|
|
33
33
|
padding: 0 12px;
|
|
34
34
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
35
|
+
font-size: inherit;
|
|
35
36
|
color: inherit;
|
|
36
37
|
text-align: center;
|
|
37
38
|
text-decoration: none;
|