@duetds/components 6.7.1 → 6.8.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 +151 -54
- package/lib/cjs/action-arrow-right-24fe06be.js +8 -0
- 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 +4 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +21 -5
- package/lib/cjs/duet-card.cjs.entry.js +12 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +12 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +8 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -2
- 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 +4 -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 +3 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +6 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +6 -2
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +38 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +9 -3
- package/lib/cjs/duet-modal.cjs.entry.js +13 -12
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
- 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 +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- 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 +3 -3
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- 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-b2f050a2.js → focus-utils-b0dc8aa1.js} +1 -1
- package/lib/cjs/{index-5d835acd.js → index-d02209e9.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/common/index.js +1 -0
- package/lib/collection/common/runtime-types.js +5 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +2 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +6 -0
- package/lib/collection/components/duet-card/duet-card.css +14 -5
- package/lib/collection/components/duet-card/duet-card.js +34 -7
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +46 -2
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +32 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +19 -1
- package/lib/collection/components/duet-combobox/duet-combobox.js +25 -1
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +3 -1
- package/lib/collection/components/duet-grid/duet-grid.css +83 -0
- package/lib/collection/components/duet-grid/duet-grid.js +3 -1
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +1 -1
- package/lib/collection/components/duet-heading/duet-heading.css +3 -0
- package/lib/collection/components/duet-hero/duet-hero.css +78 -24
- package/lib/collection/components/duet-icon/duet-icon.css +7 -0
- package/lib/collection/components/duet-icon/duet-icon.js +6 -4
- package/lib/collection/components/duet-input/duet-input.js +1 -1
- package/lib/collection/components/duet-link/duet-link.css +27 -0
- package/lib/collection/components/duet-link/duet-link.js +86 -2
- package/lib/collection/components/duet-list/duet-list.js +5 -1
- package/lib/collection/components/duet-list-item/duet-list-item.css +24 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +7 -1
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +1 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +41 -1
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +1 -1
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.css +3 -0
- package/lib/collection/components/duet-modal/duet-modal.js +30 -12
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +5 -4
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +7 -0
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +9 -9
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +2 -2
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +0 -5
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +1 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +1 -1
- package/lib/collection/components/duet-table/duet-table.css +11 -0
- package/lib/collection/components/duet-table/duet-table.js +20 -0
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +2 -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 +5 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- 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 +15 -6
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +17 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +5 -3
- package/lib/dist-custom-elements/duet-combobox.js +10 -3
- package/lib/dist-custom-elements/duet-contact-card.js +11 -9
- 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 +5 -6
- 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 +10 -10
- 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 +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +41 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +10 -4
- package/lib/dist-custom-elements/duet-modal.js +19 -17
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +9 -9
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- 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 +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +11 -11
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-ca2fe740.js → p-01ffc602.js} +1 -1
- package/lib/dist-custom-elements/{p-b9b19d30.js → p-156628ee.js} +1 -1
- package/lib/dist-custom-elements/{p-fcd87887.js → p-1ef726c7.js} +2 -2
- package/lib/dist-custom-elements/{p-7e1eab44.js → p-2053808f.js} +1 -1
- package/lib/dist-custom-elements/p-20a7e678.js +113 -0
- package/lib/dist-custom-elements/{p-a080c8ea.js → p-2b1e6b5d.js} +1 -1
- package/lib/dist-custom-elements/p-2d0de36a.js +178 -0
- package/lib/dist-custom-elements/{p-032585fc.js → p-326cf323.js} +7 -7
- package/lib/dist-custom-elements/{p-a4ba7145.js → p-3ec4c5a3.js} +6 -6
- package/lib/dist-custom-elements/{p-fd7efa16.js → p-43c6d719.js} +2 -2
- package/lib/dist-custom-elements/{p-42457971.js → p-51d9c7c1.js} +1 -1
- package/lib/dist-custom-elements/{p-6a1d1526.js → p-53e6d3f1.js} +1 -1
- package/lib/dist-custom-elements/{p-efd5d01e.js → p-55d4ce4d.js} +1 -1
- package/lib/dist-custom-elements/p-5cd6cc1c.js +123 -0
- package/lib/dist-custom-elements/{p-6fe0175a.js → p-6a114fc5.js} +1 -1
- package/lib/dist-custom-elements/{p-beeeb7a4.js → p-6aa4d505.js} +9 -9
- package/lib/dist-custom-elements/{p-adb9a785.js → p-6f251b0d.js} +2 -2
- package/lib/dist-custom-elements/p-6fa39608.js +6 -0
- package/lib/dist-custom-elements/{p-108485b6.js → p-76544393.js} +1 -1
- package/lib/dist-custom-elements/{p-43363964.js → p-9ffd6287.js} +2 -2
- package/lib/dist-custom-elements/{p-f65831ce.js → p-a9b833c4.js} +5 -1
- package/lib/dist-custom-elements/{p-fc98d756.js → p-aa4fc281.js} +1 -1
- package/lib/dist-custom-elements/{p-67e14cd3.js → p-aa7f3d85.js} +1 -1
- package/lib/dist-custom-elements/{p-1eb646ce.js → p-ba3c9ede.js} +1 -1
- package/lib/dist-custom-elements/{p-5c4104e5.js → p-bf7f746f.js} +2 -2
- package/lib/dist-custom-elements/{p-1b0ba3fe.js → p-c4e077b3.js} +4 -4
- package/lib/dist-custom-elements/{p-eb4fb7b2.js → p-cc3bb9f3.js} +3 -3
- package/lib/dist-custom-elements/{p-5fdfdb42.js → p-cdd3420f.js} +5 -5
- package/lib/dist-custom-elements/{p-697162df.js → p-d8caf2d2.js} +1 -1
- package/lib/dist-custom-elements/{p-614f2712.js → p-d9c36445.js} +2 -2
- package/lib/dist-custom-elements/{p-2a6f4122.js → p-e1c7945c.js} +3 -3
- package/lib/dist-custom-elements/{p-66ce2aa1.js → p-e65fa79a.js} +2 -2
- package/lib/dist-custom-elements/{p-c6137eb6.js → p-f6acbcec.js} +6 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-d0a204dd.js → p-00172969.js} +1 -1
- package/lib/duet/{p-a29a4414.system.entry.js → p-0050fcea.system.entry.js} +1 -1
- package/lib/duet/{p-b4c89247.entry.js → p-03de94fe.entry.js} +1 -1
- package/lib/duet/{p-83a78090.system.entry.js → p-047713ed.system.entry.js} +1 -1
- package/lib/duet/p-04a72387.system.entry.js +4 -0
- package/lib/duet/{p-960b240d.system.entry.js → p-0535962b.system.entry.js} +1 -1
- package/lib/duet/{p-eac7d756.system.entry.js → p-05ca989b.system.entry.js} +1 -1
- package/lib/duet/{p-f6dfcdb7.system.entry.js → p-062f3759.system.entry.js} +1 -1
- package/lib/duet/{p-63996737.entry.js → p-072cc012.entry.js} +1 -1
- package/lib/duet/{p-ab13177d.entry.js → p-07e4077e.entry.js} +1 -1
- package/lib/duet/{p-88c382be.entry.js → p-0b8d596f.entry.js} +1 -1
- package/lib/duet/p-0c65784e.entry.js +4 -0
- package/lib/duet/{p-b87a1d54.system.entry.js → p-113efe69.system.entry.js} +2 -2
- package/lib/duet/{p-b3cdf97b.js → p-15df8929.js} +1 -1
- package/lib/duet/{p-ea0c5cce.system.entry.js → p-17680aab.system.entry.js} +1 -1
- package/lib/duet/{p-317e939c.system.entry.js → p-17d9c17b.system.entry.js} +1 -1
- package/lib/duet/p-1ace9df6.system.entry.js +4 -0
- package/lib/duet/p-1babc6be.entry.js +4 -0
- package/lib/duet/{p-8fcec069.system.entry.js → p-1c3be420.system.entry.js} +1 -1
- package/lib/duet/p-1d7f1df4.entry.js +4 -0
- package/lib/duet/p-1de3cfb8.entry.js +4 -0
- package/lib/duet/{p-8f806a8b.entry.js → p-2058c3cb.entry.js} +1 -1
- package/lib/duet/{p-cd51c9f9.entry.js → p-2065404b.entry.js} +1 -1
- package/lib/duet/{p-fd55984b.system.entry.js → p-20dc2ce5.system.entry.js} +1 -1
- package/lib/duet/{p-3a053f92.entry.js → p-21ecd01e.entry.js} +1 -1
- package/lib/duet/{p-23e7d935.entry.js → p-25f31f1d.entry.js} +1 -1
- package/lib/duet/{p-c4d454c3.entry.js → p-283301cd.entry.js} +1 -1
- package/lib/duet/{p-0c095985.system.js → p-2c44325a.system.js} +1 -1
- package/lib/duet/{p-a221c855.entry.js → p-2fb4f3b5.entry.js} +1 -1
- package/lib/duet/{p-07e066a7.entry.js → p-3176b8fc.entry.js} +1 -1
- package/lib/duet/{p-a5d5622d.system.entry.js → p-334a3c39.system.entry.js} +1 -1
- package/lib/duet/p-33884197.entry.js +4 -0
- package/lib/duet/p-34db2dcf.entry.js +4 -0
- package/lib/duet/{p-bb04665a.entry.js → p-35daef86.entry.js} +1 -1
- package/lib/duet/{p-9d0a9bd5.system.entry.js → p-35f98b09.system.entry.js} +1 -1
- package/lib/duet/{p-0c6ed41d.system.entry.js → p-365da977.system.entry.js} +1 -1
- package/lib/duet/{p-56db6310.entry.js → p-38a57d62.entry.js} +1 -1
- package/lib/duet/p-3a6729c3.entry.js +4 -0
- package/lib/duet/{p-22442b75.system.entry.js → p-3e100ee8.system.entry.js} +1 -1
- package/lib/duet/{p-cd44cc43.system.entry.js → p-40b97e14.system.entry.js} +1 -1
- package/lib/duet/p-410fd1f0.system.entry.js +4 -0
- package/lib/duet/{p-fb92ab7b.system.entry.js → p-427add54.system.entry.js} +1 -1
- package/lib/duet/{p-4d427b74.entry.js → p-4707c32c.entry.js} +1 -1
- package/lib/duet/{p-b9e6d933.system.entry.js → p-47ad406b.system.entry.js} +1 -1
- package/lib/duet/{p-ccca2abd.system.entry.js → p-4bd30449.system.entry.js} +1 -1
- package/lib/duet/p-4c1e550d.system.entry.js +4 -0
- package/lib/duet/{p-31dc2463.entry.js → p-4d585c01.entry.js} +1 -1
- package/lib/duet/{p-f7c8e22c.entry.js → p-4f03d185.entry.js} +1 -1
- package/lib/duet/{p-193cae12.system.entry.js → p-4f1e71ea.system.entry.js} +1 -1
- package/lib/duet/{p-4bf107bc.system.entry.js → p-51410532.system.entry.js} +1 -1
- package/lib/duet/p-561ad02e.system.entry.js +4 -0
- package/lib/duet/p-56574368.entry.js +4 -0
- package/lib/duet/p-56f058c2.entry.js +4 -0
- package/lib/duet/p-5f0b9b1c.system.entry.js +4 -0
- package/lib/duet/{p-dd52fc75.entry.js → p-61d0fa5b.entry.js} +1 -1
- package/lib/duet/{p-d5039af1.entry.js → p-643f0001.entry.js} +1 -1
- package/lib/duet/p-66584556.system.entry.js +4 -0
- package/lib/duet/{p-812836a4.entry.js → p-666fe490.entry.js} +1 -1
- package/lib/duet/{p-a917e3b6.entry.js → p-6a4118bf.entry.js} +1 -1
- package/lib/duet/{p-b5d742f4.entry.js → p-6ba49302.entry.js} +1 -1
- package/lib/duet/{p-a933c3f8.system.entry.js → p-6bce1181.system.entry.js} +1 -1
- package/lib/duet/{p-67d326ad.system.entry.js → p-6f621e11.system.entry.js} +1 -1
- package/lib/duet/p-6f85b3b2.entry.js +4 -0
- package/lib/duet/p-6fa39608.js +4 -0
- package/lib/duet/{p-31c08993.system.entry.js → p-700a95eb.system.entry.js} +1 -1
- package/lib/duet/{p-eb4dc652.system.entry.js → p-70f4ebe3.system.entry.js} +1 -1
- package/lib/duet/p-729a6e20.entry.js +4 -0
- package/lib/duet/{p-2af0cd90.system.entry.js → p-74ad3952.system.entry.js} +1 -1
- package/lib/duet/{p-322b78d6.system.entry.js → p-74d1ce07.system.entry.js} +1 -1
- package/lib/duet/{p-6d3af831.system.entry.js → p-7677f2f8.system.entry.js} +1 -1
- package/lib/duet/p-76858d7c.system.entry.js +4 -0
- package/lib/duet/{p-86fa6670.entry.js → p-7727a44a.entry.js} +1 -1
- package/lib/duet/{p-2634dad4.entry.js → p-78ed0c18.entry.js} +1 -1
- package/lib/duet/p-7a3f2b74.entry.js +4 -0
- package/lib/duet/p-7db95aa4.entry.js +4 -0
- package/lib/duet/{p-ba3c427f.entry.js → p-7dea3b1c.entry.js} +1 -1
- package/lib/duet/{p-6228593b.system.entry.js → p-7e97bed4.system.entry.js} +1 -1
- package/lib/duet/p-803bec7d.entry.js +4 -0
- package/lib/duet/p-81308c38.entry.js +4 -0
- package/lib/duet/{p-cd0c52b9.system.js → p-81844f31.system.js} +1 -1
- package/lib/duet/{p-9f1f39b5.entry.js → p-8821f614.entry.js} +1 -1
- package/lib/duet/p-8a363e59.entry.js +4 -0
- package/lib/duet/{p-9f11e160.system.entry.js → p-9291c5a9.system.entry.js} +1 -1
- package/lib/duet/{p-d54bc721.entry.js → p-9340367b.entry.js} +1 -1
- package/lib/duet/{p-8982ddf8.entry.js → p-93564d46.entry.js} +1 -1
- package/lib/duet/p-95c0d478.system.entry.js +4 -0
- package/lib/duet/{p-1f4351ab.system.entry.js → p-95c75961.system.entry.js} +1 -1
- package/lib/duet/p-975684e4.system.entry.js +4 -0
- package/lib/duet/p-9acb547a.entry.js +4 -0
- package/lib/duet/p-9bf1b6ec.entry.js +4 -0
- package/lib/duet/{p-460e0000.system.entry.js → p-9e6763fd.system.entry.js} +1 -1
- package/lib/duet/{p-b50558d2.entry.js → p-9e7923ce.entry.js} +1 -1
- package/lib/duet/{p-3575bb17.entry.js → p-a036041f.entry.js} +1 -1
- package/lib/duet/{p-2f560eb6.system.entry.js → p-a09e6bdb.system.entry.js} +2 -2
- package/lib/duet/p-a2293dee.system.js +4 -0
- package/lib/duet/{p-3c24751d.system.entry.js → p-a37ef41d.system.entry.js} +1 -1
- package/lib/duet/p-a3da6b7b.system.entry.js +4 -0
- package/lib/duet/{p-8d2d6072.entry.js → p-a5331bb2.entry.js} +1 -1
- package/lib/duet/{p-9629d71a.system.entry.js → p-a5b08a77.system.entry.js} +1 -1
- package/lib/duet/{p-6b420202.system.entry.js → p-a5db1616.system.entry.js} +1 -1
- package/lib/duet/{p-ff6679c1.entry.js → p-a7ee23c4.entry.js} +1 -1
- package/lib/duet/p-aace5d7b.entry.js +4 -0
- package/lib/duet/{p-33887f28.entry.js → p-afe0e62a.entry.js} +1 -1
- package/lib/duet/{p-59d0e9da.system.entry.js → p-b11d4150.system.entry.js} +1 -1
- package/lib/duet/{p-57ff4a56.system.entry.js → p-b226a97c.system.entry.js} +2 -2
- package/lib/duet/{p-25152446.system.entry.js → p-b35baeed.system.entry.js} +1 -1
- package/lib/duet/p-b81a4e3c.entry.js +4 -0
- package/lib/duet/{p-3a8be22c.entry.js → p-bb7b92e9.entry.js} +1 -1
- package/lib/duet/{p-1c8c6afd.entry.js → p-bde04bd3.entry.js} +1 -1
- package/lib/duet/{p-3b808dd4.system.entry.js → p-be1ca3c9.system.entry.js} +1 -1
- package/lib/duet/{p-0c53f007.system.entry.js → p-c1ebf12e.system.entry.js} +1 -1
- package/lib/duet/p-c538413b.system.entry.js +4 -0
- package/lib/duet/{p-8d545d1b.system.entry.js → p-c7b63dea.system.entry.js} +1 -1
- package/lib/duet/{p-fe87de6d.entry.js → p-c829c363.entry.js} +1 -1
- package/lib/duet/p-cad2ce97.system.entry.js +4 -0
- package/lib/duet/p-cd7db17d.entry.js +4 -0
- package/lib/duet/{p-88a6749f.system.entry.js → p-cdf2e7e8.system.entry.js} +1 -1
- package/lib/duet/p-d07aacdc.system.entry.js +4 -0
- package/lib/duet/p-d337fd5d.entry.js +4 -0
- package/lib/duet/{p-b44772bb.entry.js → p-d6925758.entry.js} +1 -1
- package/lib/duet/{p-83740a39.entry.js → p-d82c4706.entry.js} +1 -1
- package/lib/duet/{p-fcdc6d18.entry.js → p-da8c937e.entry.js} +1 -1
- package/lib/duet/p-dd994793.system.js +4 -0
- package/lib/duet/p-deadbb54.system.entry.js +4 -0
- package/lib/duet/p-e4355e6c.entry.js +4 -0
- package/lib/duet/{p-e79b8e08.system.entry.js → p-e56d2f1e.system.entry.js} +1 -1
- package/lib/duet/p-e5aaea95.entry.js +4 -0
- package/lib/duet/p-e97f7391.system.entry.js +4 -0
- package/lib/duet/{p-49cf2d52.system.entry.js → p-ec4e2f2a.system.entry.js} +1 -1
- package/lib/duet/p-f12bf693.entry.js +4 -0
- package/lib/duet/{p-3a2bc2f9.system.entry.js → p-f3ac3c5b.system.entry.js} +1 -1
- package/lib/duet/{p-b2ba1012.system.entry.js → p-f599ebfc.system.entry.js} +1 -1
- package/lib/duet/{p-77149afc.entry.js → p-f5db84bb.entry.js} +1 -1
- package/lib/duet/{p-924a6fae.system.entry.js → p-f6b884c4.system.entry.js} +1 -1
- package/lib/duet/{p-43d6c9e5.system.entry.js → p-f86b3eb4.system.entry.js} +1 -1
- package/lib/duet/{p-f695a268.system.entry.js → p-f936f13c.system.entry.js} +1 -1
- package/lib/duet/{p-8757adcf.system.entry.js → p-f9b6198b.system.entry.js} +1 -1
- package/lib/duet/{p-8d129d52.entry.js → p-fd5f21d8.entry.js} +1 -1
- package/lib/duet/{p-f364ae29.entry.js → p-fed8565c.entry.js} +1 -1
- package/lib/esm/action-arrow-right-f7d56681.js +6 -0
- 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 +4 -3
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +21 -5
- package/lib/esm/duet-card.entry.js +12 -4
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +12 -4
- package/lib/esm/duet-collapsible.entry.js +3 -2
- package/lib/esm/duet-combobox.entry.js +8 -2
- package/lib/esm/duet-contact-card.entry.js +4 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +4 -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 +2 -3
- package/lib/esm/duet-grid_2.entry.js +4 -2
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +6 -4
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +6 -2
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +38 -3
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +9 -3
- package/lib/esm/duet-modal.entry.js +13 -12
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +3 -3
- 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 +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- 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 +3 -3
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- 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 +3 -3
- package/lib/esm/{focus-utils-cf8246ed.js → focus-utils-e582db06.js} +1 -1
- package/lib/esm/{index-df15a197.js → index-2ffd554c.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/action-arrow-right-f7d56681.js +4 -0
- 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 +2 -2
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- 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-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +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 +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-cf8246ed.js → focus-utils-e582db06.js} +1 -1
- package/lib/esm-es5/{index-df15a197.js → index-2ffd554c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common/index.d.ts +1 -0
- package/lib/types/common/runtime-types.d.ts +2 -0
- package/lib/types/common-types.d.ts +5 -1
- package/lib/types/components/duet-card/duet-card.d.ts +10 -2
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +6 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +6 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +4 -0
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
- package/lib/types/components/duet-link/duet-link.d.ts +15 -1
- package/lib/types/components/duet-list/duet-list.d.ts +1 -1
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +7 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +8 -2
- package/lib/types/components/duet-table/duet-table.d.ts +4 -0
- package/lib/types/components.d.ts +84 -12
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-562ae9bf.js +0 -176
- package/lib/dist-custom-elements/p-646d548a.js +0 -120
- package/lib/dist-custom-elements/p-7c398a84.js +0 -94
- package/lib/duet/p-03cfa47f.entry.js +0 -4
- package/lib/duet/p-0656f2f9.system.entry.js +0 -4
- package/lib/duet/p-08ef8050.system.entry.js +0 -4
- package/lib/duet/p-0adf7b64.entry.js +0 -4
- package/lib/duet/p-1550576c.entry.js +0 -4
- package/lib/duet/p-18c0ff13.entry.js +0 -4
- package/lib/duet/p-193a8abf.entry.js +0 -4
- package/lib/duet/p-1b7f8128.entry.js +0 -4
- package/lib/duet/p-1d0fe0e5.entry.js +0 -4
- package/lib/duet/p-228a7948.entry.js +0 -4
- package/lib/duet/p-25cfb26a.system.entry.js +0 -4
- package/lib/duet/p-2c0dbf48.system.entry.js +0 -4
- package/lib/duet/p-35853dae.system.entry.js +0 -4
- package/lib/duet/p-466aa228.entry.js +0 -4
- package/lib/duet/p-4c3009d4.entry.js +0 -4
- package/lib/duet/p-51eee6b2.system.entry.js +0 -4
- package/lib/duet/p-59ab89fe.entry.js +0 -4
- package/lib/duet/p-5a158681.system.entry.js +0 -4
- package/lib/duet/p-5c142974.system.entry.js +0 -4
- package/lib/duet/p-703d38f6.entry.js +0 -4
- package/lib/duet/p-77f82263.entry.js +0 -4
- package/lib/duet/p-92e65f96.entry.js +0 -4
- package/lib/duet/p-9b9055ce.entry.js +0 -4
- package/lib/duet/p-9c87118f.entry.js +0 -4
- package/lib/duet/p-a1199061.system.entry.js +0 -4
- package/lib/duet/p-acad33fd.entry.js +0 -4
- package/lib/duet/p-b5895431.system.entry.js +0 -4
- package/lib/duet/p-b7867483.system.entry.js +0 -4
- package/lib/duet/p-bbd312c3.entry.js +0 -4
- package/lib/duet/p-c0b16f31.entry.js +0 -4
- package/lib/duet/p-c9971192.system.entry.js +0 -4
- package/lib/duet/p-cc12d9fa.entry.js +0 -4
- package/lib/duet/p-cd24dd64.entry.js +0 -4
- package/lib/duet/p-d4a49f9d.entry.js +0 -4
- package/lib/duet/p-d6c3dc66.entry.js +0 -4
- package/lib/duet/p-de63db12.system.entry.js +0 -4
- package/lib/duet/p-e2592469.system.entry.js +0 -4
- package/lib/duet/p-ef6131cf.system.entry.js +0 -4
- package/lib/duet/p-f20780ad.system.js +0 -4
- package/lib/duet/p-f3340517.entry.js +0 -4
- package/lib/duet/p-f495c3af.system.entry.js +0 -4
- package/lib/duet/p-fcaa49c3.entry.js +0 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
+
import chevronIcon from "@duetds/icons/lib/assets/action-arrow-right";
|
|
4
5
|
import newWindowIcon from "@duetds/icons/lib/assets/action-new-window-small";
|
|
5
6
|
import { Build, Fragment, h, Host } from "@stencil/core";
|
|
6
7
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
@@ -11,6 +12,7 @@ import { getLanguage, getLocaleString } from "../../utils/language-utils";
|
|
|
11
12
|
*/
|
|
12
13
|
export class DuetLink {
|
|
13
14
|
constructor() {
|
|
15
|
+
this.variation = "default";
|
|
14
16
|
this.accessibleLabel = undefined;
|
|
15
17
|
this.language = getLanguage();
|
|
16
18
|
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
@@ -20,6 +22,8 @@ export class DuetLink {
|
|
|
20
22
|
this.url = "#";
|
|
21
23
|
this.external = false;
|
|
22
24
|
this.tabToLink = false;
|
|
25
|
+
this.icon = undefined;
|
|
26
|
+
this.padding = "auto";
|
|
23
27
|
}
|
|
24
28
|
/**
|
|
25
29
|
* Component lifecycle events.
|
|
@@ -34,6 +38,12 @@ export class DuetLink {
|
|
|
34
38
|
async setFocus(options) {
|
|
35
39
|
this.nativeLink.focus(options);
|
|
36
40
|
}
|
|
41
|
+
renderContent() {
|
|
42
|
+
return (h(Fragment, null, h("slot", null), Build.isBrowser && this.external && (h(Fragment, null, "\u00A0\u00A0", h("duet-visually-hidden", null, this.accessibleLabelExternal), "\u00A0", h("span", { class: "duet-link-external" }, "\u00A0", h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" }))))));
|
|
43
|
+
}
|
|
44
|
+
renderGrid() {
|
|
45
|
+
return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", { size: "x-small", name: this.icon, margin: "none", color: "currentColor" }))), h("span", { class: "block__content" }, this.renderContent()), h("span", { class: "block__chevron" }, h("duet-icon", { class: "block__chevron-icon", icon: chevronIcon.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
46
|
+
}
|
|
37
47
|
/**
|
|
38
48
|
* render() function
|
|
39
49
|
* Always the last one in the class.
|
|
@@ -41,12 +51,18 @@ export class DuetLink {
|
|
|
41
51
|
render() {
|
|
42
52
|
// Notice that the external icon needs to be places right after the last word of the link.
|
|
43
53
|
// This is why we use &nbps; to keep everything on the same line.
|
|
44
|
-
return (h(Host,
|
|
54
|
+
return (h(Host, { class: {
|
|
55
|
+
"duet-link-block": this.variation === "block",
|
|
56
|
+
} }, h("a", { href: this.url, class: {
|
|
45
57
|
"duet-link": true,
|
|
46
58
|
"duet-link-is-external": this.external,
|
|
59
|
+
"duet-link-has-icon": !!this.icon,
|
|
47
60
|
"duet-tab-to-link": this.tabToLink,
|
|
48
61
|
"duet-theme-turva": this.theme === "turva",
|
|
49
|
-
|
|
62
|
+
"duet-p-0": this.padding === "none",
|
|
63
|
+
[this.padding]: true,
|
|
64
|
+
[this.variation]: true,
|
|
65
|
+
}, 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 }, this.variation === "block" ? this.renderGrid() : this.renderContent())));
|
|
50
66
|
}
|
|
51
67
|
static get is() { return "duet-link"; }
|
|
52
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,6 +79,29 @@ export class DuetLink {
|
|
|
63
79
|
}
|
|
64
80
|
static get properties() {
|
|
65
81
|
return {
|
|
82
|
+
"variation": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"mutable": false,
|
|
85
|
+
"complexType": {
|
|
86
|
+
"original": "DuetLinkVariation",
|
|
87
|
+
"resolved": "\"block\" | \"default\"",
|
|
88
|
+
"references": {
|
|
89
|
+
"DuetLinkVariation": {
|
|
90
|
+
"location": "import",
|
|
91
|
+
"path": "../../common-types"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": "Style variation of the link."
|
|
100
|
+
},
|
|
101
|
+
"attribute": "variation",
|
|
102
|
+
"reflect": false,
|
|
103
|
+
"defaultValue": "\"default\""
|
|
104
|
+
},
|
|
66
105
|
"accessibleLabel": {
|
|
67
106
|
"type": "string",
|
|
68
107
|
"mutable": false,
|
|
@@ -249,6 +288,51 @@ export class DuetLink {
|
|
|
249
288
|
"attribute": "tab-to-link",
|
|
250
289
|
"reflect": false,
|
|
251
290
|
"defaultValue": "false"
|
|
291
|
+
},
|
|
292
|
+
"icon": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"mutable": false,
|
|
295
|
+
"complexType": {
|
|
296
|
+
"original": "DuetIconName",
|
|
297
|
+
"resolved": "string",
|
|
298
|
+
"references": {
|
|
299
|
+
"DuetIconName": {
|
|
300
|
+
"location": "import",
|
|
301
|
+
"path": "../../common-types"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"required": false,
|
|
306
|
+
"optional": false,
|
|
307
|
+
"docs": {
|
|
308
|
+
"tags": [],
|
|
309
|
+
"text": "Icon to display on the left side of the ink text. (only with variations other than \"default\")"
|
|
310
|
+
},
|
|
311
|
+
"attribute": "icon",
|
|
312
|
+
"reflect": false
|
|
313
|
+
},
|
|
314
|
+
"padding": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"mutable": false,
|
|
317
|
+
"complexType": {
|
|
318
|
+
"original": "DuetPadding",
|
|
319
|
+
"resolved": "\"auto\" | \"none\"",
|
|
320
|
+
"references": {
|
|
321
|
+
"DuetPadding": {
|
|
322
|
+
"location": "import",
|
|
323
|
+
"path": "../../common-types"
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"required": false,
|
|
328
|
+
"optional": false,
|
|
329
|
+
"docs": {
|
|
330
|
+
"tags": [],
|
|
331
|
+
"text": "Controls the padding of the component (only with variations other than \"default\")"
|
|
332
|
+
},
|
|
333
|
+
"attribute": "padding",
|
|
334
|
+
"reflect": false,
|
|
335
|
+
"defaultValue": "\"auto\""
|
|
252
336
|
}
|
|
253
337
|
};
|
|
254
338
|
}
|
|
@@ -58,6 +58,10 @@ export class DuetList {
|
|
|
58
58
|
this.toggleClass(item, "duet-list-breakpoint-large", this.breakpoint === "large");
|
|
59
59
|
// Create zebra striping if striped variation is used
|
|
60
60
|
this.toggleClass(item, "duet-list-striped", this.variation === "striped");
|
|
61
|
+
// Create borders if bordered variation is used
|
|
62
|
+
this.toggleClass(item, "duet-list-bordered", this.variation === "bordered");
|
|
63
|
+
// Create inner borders if inner-bordered variation is used
|
|
64
|
+
this.toggleClass(item, "duet-list-inner-bordered", this.variation === "inner-bordered");
|
|
61
65
|
// Finally apply turva theme if necessary
|
|
62
66
|
this.toggleClass(item, "duet-theme-turva", this.theme === "turva");
|
|
63
67
|
});
|
|
@@ -203,7 +207,7 @@ export class DuetList {
|
|
|
203
207
|
"mutable": false,
|
|
204
208
|
"complexType": {
|
|
205
209
|
"original": "DuetListVariation",
|
|
206
|
-
"resolved": "\"default\" | \"striped\"",
|
|
210
|
+
"resolved": "\"bordered\" | \"default\" | \"inner-bordered\" | \"striped\"",
|
|
207
211
|
"references": {
|
|
208
212
|
"DuetListVariation": {
|
|
209
213
|
"location": "local",
|
|
@@ -112,6 +112,30 @@
|
|
|
112
112
|
background: rgb(245, 245, 247);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
:host(.duet-list-bordered) {
|
|
116
|
+
border-block-start: 1px solid rgb(225, 227, 230);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host(.duet-list-bordered:last-child) {
|
|
120
|
+
border-block-end: 1px solid rgb(225, 227, 230);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:host(.duet-list-bordered.duet-theme-turva) {
|
|
124
|
+
border-block-start: 1px solid rgb(228, 228, 230);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
:host(.duet-list-bordered.duet-theme-turva:last-child) {
|
|
128
|
+
border-block-end: 1px solid rgb(228, 228, 230);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
:host(.duet-list-inner-bordered:not(:last-child)) {
|
|
132
|
+
border-block-end: 1px solid rgb(225, 227, 230);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)) {
|
|
136
|
+
border-block-end: 1px solid rgb(228, 228, 230);
|
|
137
|
+
}
|
|
138
|
+
|
|
115
139
|
:host(.duet-list-width-30) dt {
|
|
116
140
|
flex-basis: 33%;
|
|
117
141
|
}
|
|
@@ -157,7 +157,7 @@ slot[name=center] {
|
|
|
157
157
|
}
|
|
158
158
|
.duet-theme-turva slot[name=center] {
|
|
159
159
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
160
|
-
color: rgb(
|
|
160
|
+
color: rgb(23, 28, 58);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
slot[name=right] {
|
|
@@ -168,5 +168,5 @@ slot[name=right] {
|
|
|
168
168
|
}
|
|
169
169
|
.duet-theme-turva slot[name=right] {
|
|
170
170
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
171
|
-
color: rgb(
|
|
171
|
+
color: rgb(23, 28, 58);
|
|
172
172
|
}
|
|
@@ -23,7 +23,13 @@ export class DuetMenuBar {
|
|
|
23
23
|
this.rightMoreVisible = this.container.scrollLeft !== this.container.scrollWidth - this.container.clientWidth;
|
|
24
24
|
};
|
|
25
25
|
this.scrollToActive = () => {
|
|
26
|
-
const
|
|
26
|
+
const actives = this.element.querySelectorAll("[active]");
|
|
27
|
+
let active;
|
|
28
|
+
actives.forEach(a => {
|
|
29
|
+
if (a.active) {
|
|
30
|
+
active = a;
|
|
31
|
+
}
|
|
32
|
+
});
|
|
27
33
|
if (active && active.offsetLeft) {
|
|
28
34
|
if (active.offsetLeft > 50) {
|
|
29
35
|
this.container.scrollLeft = active.offsetLeft - this.element.offsetWidth / 2 + active.offsetWidth / 2;
|
|
@@ -73,7 +73,7 @@ export class DuetMenuBarButton {
|
|
|
73
73
|
return (h(Host, { onfocus: () => this.setFocus() }, h("button", { ref: button => (this.nativeButton = button), class: {
|
|
74
74
|
"duet-menu-bar-button": true,
|
|
75
75
|
"duet-theme-turva": this.theme === "turva",
|
|
76
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && h("duet-icon", { size: this.iconSize, name: this.icon, margin: "none" }), h("slot", null))));
|
|
76
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { theme: this.theme, size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" })), h("slot", null))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "duet-menu-bar-button"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
align-items: center;
|
|
46
46
|
justify-content: center;
|
|
47
47
|
height: 100%;
|
|
48
|
-
min-height: 5rem;
|
|
49
48
|
padding: 0 12px;
|
|
50
49
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
51
50
|
font-size: 0.875rem;
|
|
@@ -121,7 +120,7 @@
|
|
|
121
120
|
}
|
|
122
121
|
.duet-menu-bar-dropdown.duet-theme-turva button {
|
|
123
122
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
124
|
-
color: rgb(
|
|
123
|
+
color: rgb(23, 28, 58);
|
|
125
124
|
}
|
|
126
125
|
.duet-menu-bar-dropdown.duet-theme-turva button:hover {
|
|
127
126
|
color: rgb(198, 12, 48);
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
+
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
4
5
|
import { h, Host } from "@stencil/core";
|
|
5
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
7
|
export class DuetMenuBarDropdown {
|
|
7
8
|
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* Own Properties.
|
|
11
|
+
*/
|
|
12
|
+
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
13
|
+
this.boundMqlFunctions = [];
|
|
14
|
+
this.changeIconSize = () => {
|
|
15
|
+
if (this.mql[0].matches) {
|
|
16
|
+
this.iconSize = "x-small";
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
this.iconSize = "small";
|
|
20
|
+
}
|
|
21
|
+
};
|
|
8
22
|
this.onClick = () => {
|
|
9
23
|
this.open = !this.open;
|
|
10
24
|
};
|
|
@@ -19,6 +33,7 @@ export class DuetMenuBarDropdown {
|
|
|
19
33
|
return "right";
|
|
20
34
|
}
|
|
21
35
|
};
|
|
36
|
+
this.iconSize = "x-small";
|
|
22
37
|
this.accessibleLabel = undefined;
|
|
23
38
|
this.theme = "";
|
|
24
39
|
this.open = false;
|
|
@@ -36,6 +51,26 @@ export class DuetMenuBarDropdown {
|
|
|
36
51
|
componentWillLoad() {
|
|
37
52
|
inheritGlobalTheme(this);
|
|
38
53
|
}
|
|
54
|
+
connectedCallback() {
|
|
55
|
+
this.changeIconSize();
|
|
56
|
+
for (let i = 0; i < this.mql.length; i++) {
|
|
57
|
+
// addEventListener is not available in Stencil hydrate
|
|
58
|
+
if (this.mql[i].addEventListener) {
|
|
59
|
+
const bound = this.changeIconSize.bind(this);
|
|
60
|
+
this.mql[i].addEventListener("change", bound);
|
|
61
|
+
this.boundMqlFunctions[i] = bound;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
disconnectedCallback() {
|
|
66
|
+
for (let i = 0; i < this.mql.length; i++) {
|
|
67
|
+
// removeEventListener is not available in Stencil hydrate
|
|
68
|
+
if (this.mql[i].removeEventListener) {
|
|
69
|
+
this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
this.boundMqlFunctions = [];
|
|
73
|
+
}
|
|
39
74
|
/**
|
|
40
75
|
* render() function
|
|
41
76
|
* Always the last one in the class.
|
|
@@ -48,7 +83,7 @@ export class DuetMenuBarDropdown {
|
|
|
48
83
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
49
84
|
} }, h("button", { "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
50
85
|
active: this.open,
|
|
51
|
-
}, onClick: this.onClick }, this.icon && h("duet-icon", { name: this.icon, size:
|
|
86
|
+
}, onClick: this.onClick }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: this.iconSize, margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
52
87
|
items: true,
|
|
53
88
|
hidden: !this.open,
|
|
54
89
|
} }, h("slot", null)))));
|
|
@@ -145,6 +180,11 @@ export class DuetMenuBarDropdown {
|
|
|
145
180
|
}
|
|
146
181
|
};
|
|
147
182
|
}
|
|
183
|
+
static get states() {
|
|
184
|
+
return {
|
|
185
|
+
"iconSize": {}
|
|
186
|
+
};
|
|
187
|
+
}
|
|
148
188
|
static get elementRef() { return "element"; }
|
|
149
189
|
static get listeners() {
|
|
150
190
|
return [{
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -35,7 +35,7 @@ export class DuetMenuBarDropdownLink {
|
|
|
35
35
|
"duet-menu-bar-dropdown-link": true,
|
|
36
36
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
37
37
|
"duet-theme-turva": this.theme === "turva",
|
|
38
|
-
}, href: this.href, role: "menuitem" }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("slot", null))));
|
|
38
|
+
}, href: this.href, role: "menuitem" }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", null))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,7 +60,7 @@ export class DuetMenuBarLink {
|
|
|
60
60
|
"duet-menu-bar-link": true,
|
|
61
61
|
"duet-theme-turva": this.theme === "turva",
|
|
62
62
|
active: this.active,
|
|
63
|
-
}, href: this.href }, this.icon && h("duet-icon", { size: this.iconSize, name: this.icon, margin: "none" }), h("slot", null))));
|
|
63
|
+
}, href: this.href }, this.icon && (h("duet-icon", { theme: this.theme, size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" })), h("slot", null))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "duet-menu-bar-link"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,6 +50,7 @@ export class DuetModal {
|
|
|
50
50
|
this.size = "medium";
|
|
51
51
|
this.accessibleDescribedBy = undefined;
|
|
52
52
|
this.accessibleLabelledBy = undefined;
|
|
53
|
+
this.accessibleLabel = undefined;
|
|
53
54
|
this.accessibleDetails = undefined;
|
|
54
55
|
this.accessibleDescription = undefined;
|
|
55
56
|
this.gutterSize = "medium";
|
|
@@ -167,23 +168,23 @@ export class DuetModal {
|
|
|
167
168
|
iconColor = "primary-turva";
|
|
168
169
|
closeColor = "secondary-turva";
|
|
169
170
|
}
|
|
170
|
-
return (h("div", { ref: modal => (this.modalEl = modal), "aria-labelledby": this.heading ? this.modalId : false, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy
|
|
171
|
+
return (h("div", { ref: modal => (this.modalEl = modal), "aria-label": this.accessibleLabel, "aria-labelledby": this.heading ? this.modalId : false, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", "aria-flowto": this.slotDefaultId, class: {
|
|
171
172
|
"duet-modal-overlay": true,
|
|
172
173
|
"duet-theme-turva": this.theme === "turva",
|
|
173
174
|
"duet-modal-active": this.open,
|
|
174
|
-
} }, h(FocusGuard, { moveFocusTo: this.buttonEl }), h("div", { class: {
|
|
175
|
+
} }, h(FocusGuard, { moveFocusTo: this.buttonEl }), h("div", { ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
175
176
|
"duet-modal-inner": true,
|
|
176
177
|
"duet-modal-large": this.size === "large",
|
|
177
|
-
},
|
|
178
|
+
}, onClick: e => {
|
|
178
179
|
if (this.closeOnBlur) {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
e.stopPropagation();
|
|
180
|
+
const source = e.target || e.srcElement;
|
|
181
|
+
if (source === this.modalInnerEl) {
|
|
182
|
+
this.closeModal(e);
|
|
183
|
+
}
|
|
184
184
|
}
|
|
185
|
-
} }, h("duet-spacer", null), h("div", { class: "duet-modal-close" }, h("duet-button", { ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })), h("div", { class: {
|
|
185
|
+
} }, h("div", { class: { "duet-modal": true, [this.size]: true } }, this.gutterSize !== "none" && h("duet-spacer", null), h("div", { class: "duet-modal-close" }, h("duet-button", { ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })), h("div", { class: {
|
|
186
186
|
"duet-modal-body": true,
|
|
187
|
+
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
187
188
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
188
189
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
189
190
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
@@ -336,6 +337,23 @@ export class DuetModal {
|
|
|
336
337
|
"attribute": "accessible-labelled-by",
|
|
337
338
|
"reflect": false
|
|
338
339
|
},
|
|
340
|
+
"accessibleLabel": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"mutable": false,
|
|
343
|
+
"complexType": {
|
|
344
|
+
"original": "string",
|
|
345
|
+
"resolved": "string",
|
|
346
|
+
"references": {}
|
|
347
|
+
},
|
|
348
|
+
"required": false,
|
|
349
|
+
"optional": false,
|
|
350
|
+
"docs": {
|
|
351
|
+
"tags": [],
|
|
352
|
+
"text": "By default the heading is used as target for aria-labelledby, and it overrides this label.\nIf you wish to skip the heading, you must set this label."
|
|
353
|
+
},
|
|
354
|
+
"attribute": "accessible-label",
|
|
355
|
+
"reflect": false
|
|
356
|
+
},
|
|
339
357
|
"accessibleDetails": {
|
|
340
358
|
"type": "string",
|
|
341
359
|
"mutable": false,
|
|
@@ -376,8 +394,8 @@ export class DuetModal {
|
|
|
376
394
|
"type": "string",
|
|
377
395
|
"mutable": false,
|
|
378
396
|
"complexType": {
|
|
379
|
-
"original": "DuetModalSize",
|
|
380
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
397
|
+
"original": "DuetModalSize | \"none\"",
|
|
398
|
+
"resolved": "\"large\" | \"medium\" | \"none\" | \"small\"",
|
|
381
399
|
"references": {
|
|
382
400
|
"DuetModalSize": {
|
|
383
401
|
"location": "local",
|
|
@@ -389,7 +407,7 @@ export class DuetModal {
|
|
|
389
407
|
"optional": false,
|
|
390
408
|
"docs": {
|
|
391
409
|
"tags": [],
|
|
392
|
-
"text": "Size of the modal window."
|
|
410
|
+
"text": "Size of the modal window's padding."
|
|
393
411
|
},
|
|
394
412
|
"attribute": "gutter-size",
|
|
395
413
|
"reflect": false,
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
.duet-page-heading .background .brand-shape {
|
|
118
118
|
position: absolute;
|
|
119
119
|
top: -157px;
|
|
120
|
-
right: -
|
|
120
|
+
right: -20px;
|
|
121
121
|
width: 185px;
|
|
122
122
|
height: 185px;
|
|
123
123
|
background: rgb(0, 119, 179);
|
|
@@ -128,15 +128,15 @@
|
|
|
128
128
|
}
|
|
129
129
|
@media (min-width: 48em) {
|
|
130
130
|
.duet-page-heading .background .brand-shape {
|
|
131
|
-
top: -
|
|
132
|
-
right: -
|
|
131
|
+
top: -280px;
|
|
132
|
+
right: -40px;
|
|
133
133
|
width: 325px;
|
|
134
134
|
height: 325px;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
.duet-page-heading .background .brand-shape.second-shape {
|
|
138
138
|
top: -182px;
|
|
139
|
-
right:
|
|
139
|
+
right: 100px;
|
|
140
140
|
width: 207px;
|
|
141
141
|
height: 207px;
|
|
142
142
|
background: rgb(11, 114, 136);
|
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
@media (min-width: 48em) {
|
|
146
146
|
.duet-page-heading .background .brand-shape.second-shape {
|
|
147
147
|
top: -325px;
|
|
148
|
+
right: 200px;
|
|
148
149
|
width: 365px;
|
|
149
150
|
height: 365px;
|
|
150
151
|
}
|
|
@@ -78,6 +78,13 @@
|
|
|
78
78
|
font-size: 1.5rem;
|
|
79
79
|
font-weight: 800;
|
|
80
80
|
}
|
|
81
|
+
.duet-slideout-link .label {
|
|
82
|
+
display: flex;
|
|
83
|
+
gap: 0.5rem;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: space-between;
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
81
88
|
|
|
82
89
|
slot[name=description]::slotted(*) {
|
|
83
90
|
display: block;
|
|
@@ -31,7 +31,7 @@ export class DuetSlideoutLink {
|
|
|
31
31
|
"duet-theme-turva": this.theme === "turva",
|
|
32
32
|
active: this.active,
|
|
33
33
|
[this.size]: true,
|
|
34
|
-
}, href: this.href, role: this.menuItem && "menuitem", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { name: this.icon, color: this.menuItem && "currentColor", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("span", null, h("slot", null), h("slot", { name: "description" })), this.caret && h("duet-icon", { name: "action-arrow-right", color: "primary", size: "x-small", margin: "none" }))));
|
|
34
|
+
}, href: this.href, role: this.menuItem && "menuitem", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { name: this.icon, color: this.menuItem && "currentColor", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { class: "label" }, h("span", null, h("slot", null), h("slot", { name: "description" })), this.caret && (h("duet-icon", { name: "action-arrow-right", color: "primary", size: "x-small", margin: "none" }))))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "duet-slideout-link"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class DuetSubmenuBar {
|
|
|
24
24
|
render() {
|
|
25
25
|
return (h(Host, null, h("div", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, role: "menubar" }, h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
26
26
|
active: this.open,
|
|
27
|
-
}, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small" }))), h("div", { role: "menu", id: "menu", "aria-labelledby": "button", "aria-expanded": this.open ? "true" : "false", class: {
|
|
27
|
+
}, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { role: "menu", id: "menu", "aria-labelledby": "button", "aria-expanded": this.open ? "true" : "false", class: {
|
|
28
28
|
items: true,
|
|
29
29
|
hidden: !this.open,
|
|
30
30
|
} }, h("slot", null)))));
|
|
@@ -149,20 +149,20 @@
|
|
|
149
149
|
color: rgb(23, 28, 58);
|
|
150
150
|
}
|
|
151
151
|
@media (min-width: 62em) {
|
|
152
|
-
.duet-submenu-bar-dropdown.duet-theme-turva button {
|
|
153
|
-
color: rgb(148, 9, 37);
|
|
154
|
-
}
|
|
155
152
|
.duet-submenu-bar-dropdown.duet-theme-turva button:hover {
|
|
156
|
-
color: rgb(23, 28, 58);
|
|
157
153
|
background: rgb(228, 228, 230);
|
|
158
154
|
}
|
|
159
155
|
}
|
|
160
|
-
|
|
161
|
-
|
|
156
|
+
@media (min-width: 62em) {
|
|
157
|
+
.duet-submenu-bar-dropdown.duet-theme-turva button.active {
|
|
158
|
+
color: rgb(148, 9, 37);
|
|
159
|
+
}
|
|
162
160
|
}
|
|
163
161
|
.duet-submenu-bar-dropdown.duet-theme-turva button.active::after {
|
|
164
|
-
background: rgb(
|
|
162
|
+
background: rgb(148, 9, 37);
|
|
165
163
|
}
|
|
166
|
-
|
|
167
|
-
|
|
164
|
+
@media (min-width: 62em) {
|
|
165
|
+
.duet-submenu-bar-dropdown.duet-theme-turva .items {
|
|
166
|
+
background: rgb(255, 255, 255);
|
|
167
|
+
}
|
|
168
168
|
}
|
|
@@ -66,7 +66,7 @@ export class DuetSubmenuBarDropdown {
|
|
|
66
66
|
render() {
|
|
67
67
|
return (h(Host, null, h("div", { class: { "duet-submenu-bar-dropdown": true, "duet-theme-turva": this.theme === "turva", active: this.open } }, h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
68
68
|
active: this.open,
|
|
69
|
-
}, onClick: this.onClick }, this.icon && h("duet-icon", { name: this.icon, size: this.iconSize, margin: "none" }), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
69
|
+
}, onClick: this.onClick }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: this.iconSize, margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
70
70
|
items: true,
|
|
71
71
|
hidden: !this.open,
|
|
72
72
|
} }, h("slot", null)))));
|
package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css
CHANGED
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
}
|
|
58
58
|
.duet-submenu-bar-dropdown-link:hover.duet-theme-turva {
|
|
59
59
|
color: rgb(148, 9, 37);
|
|
60
|
-
background: rgb(
|
|
60
|
+
background: rgb(245, 245, 247);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
.duet-submenu-bar-dropdown-link.highlight {
|
|
64
64
|
color: rgb(0, 119, 179);
|
|
65
65
|
}
|
|
66
66
|
.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva {
|
|
67
|
-
color: rgb(
|
|
67
|
+
color: rgb(148, 9, 37);
|
|
68
68
|
}
|
|
@@ -59,11 +59,6 @@
|
|
|
59
59
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
60
60
|
color: rgb(23, 28, 58);
|
|
61
61
|
}
|
|
62
|
-
@media (min-width: 62em) {
|
|
63
|
-
.duet-submenu-bar-link.duet-theme-turva {
|
|
64
|
-
color: rgb(148, 9, 37);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
62
|
@media (min-width: 62em) {
|
|
68
63
|
.duet-submenu-bar-link:hover {
|
|
69
64
|
color: rgb(0, 41, 77);
|
|
@@ -55,7 +55,7 @@ export class DuetSubmenuBarLink {
|
|
|
55
55
|
* Always the last one in the class.
|
|
56
56
|
*/
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, null, h("a", { class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva" }, href: this.href, role: "menuitem" }, this.icon && h("duet-icon", { name: this.icon, size: this.iconSize, margin: "none" }), h("slot", null))));
|
|
58
|
+
return (h(Host, null, h("a", { class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva" }, href: this.href, role: "menuitem" }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: this.iconSize, margin: "none", color: "currentColor" })), h("slot", null))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "duet-submenu-bar-link"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,6 +38,17 @@ duet-table table {
|
|
|
38
38
|
border-spacing: 0;
|
|
39
39
|
border-collapse: separate;
|
|
40
40
|
}
|
|
41
|
+
duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,
|
|
42
|
+
duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead * {
|
|
43
|
+
position: absolute !important;
|
|
44
|
+
top: 0;
|
|
45
|
+
width: 1px !important;
|
|
46
|
+
height: 1px !important;
|
|
47
|
+
padding: 0 !important;
|
|
48
|
+
overflow: hidden !important;
|
|
49
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
50
|
+
border: 0 !important;
|
|
51
|
+
}
|
|
41
52
|
duet-table.duet-theme-turva table {
|
|
42
53
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
43
54
|
}
|