@duetds/components 10.0.0-alpha.25 → 10.0.0-alpha.26
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 +259 -211
- package/hydrate/index.mjs +259 -211
- package/lib/cjs/{a11y-utils-BeS3x4Hg.js → a11y-utils-CnLnSK4z.js} +1 -1
- package/lib/cjs/{app-globals-BvljEFtV.js → app-globals-B3iie8Hv.js} +1 -1
- package/lib/cjs/{common-strings-DQ3xONmA.js → common-strings-CSqtNIxt.js} +23 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +24 -33
- package/lib/cjs/duet-badge.cjs.entry.js +16 -4
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +9 -9
- package/lib/cjs/duet-card.cjs.entry.js +13 -7
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +35 -28
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +19 -9
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -6
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +6 -6
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +25 -22
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +8 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-CwTzu57-.js → errorcodes.utils-BgHe-1YU.js} +1 -1
- package/lib/cjs/{focus-utils-Dh4b8BiX.js → focus-utils-CT74z9Qb.js} +1 -1
- package/lib/cjs/{index-D3O_5Hr7.js → index-C6D9Bly8.js} +1 -1
- package/lib/cjs/{label-8AXhdqJy.js → label-tyZX3oPG.js} +1 -1
- package/lib/cjs/{language-utils-CMK9eR4Q.js → language-utils-DcgSN-KH.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-BIdgEejh.js → slot-utils-ByPWwvPp.js} +1 -1
- package/lib/cjs/{themeable-component-B3llZmjN.js → themeable-component-Doq36ycm.js} +1 -1
- package/lib/collection/common-strings.js +22 -0
- package/lib/collection/components/duet-alert/duet-alert.js +21 -30
- package/lib/collection/components/duet-badge/duet-badge.js +13 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +36 -4
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +6 -27
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +24 -15
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-hero/duet-hero.css +95 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +4 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +14 -11
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-9a1f29ac.entry.js → p-02ba799f.entry.js} +1 -1
- package/lib/duet/{p-6aa6ce7d.entry.js → p-066f855b.entry.js} +1 -1
- package/lib/duet/p-0864a12e.entry.js +4 -0
- package/lib/duet/{p-aefcd222.entry.js → p-0964b56d.entry.js} +1 -1
- package/lib/duet/{p-a4a768bf.entry.js → p-0e15fd30.entry.js} +1 -1
- package/lib/duet/p-0fccda7b.entry.js +4 -0
- package/lib/duet/{p-71a6b137.entry.js → p-117970c7.entry.js} +1 -1
- package/lib/duet/{p-65a8dd89.entry.js → p-148b6203.entry.js} +1 -1
- package/lib/duet/{p-e9421a0e.entry.js → p-15859eb3.entry.js} +1 -1
- package/lib/duet/{p-71603edd.entry.js → p-15a7a9be.entry.js} +1 -1
- package/lib/duet/{p-64ebf5e9.entry.js → p-16f691fd.entry.js} +1 -1
- package/lib/duet/{p-c6479694.entry.js → p-1ec554c6.entry.js} +1 -1
- package/lib/duet/{p-7a9f3475.entry.js → p-1f9c5d58.entry.js} +1 -1
- package/lib/duet/{p-5ab64521.entry.js → p-22641f21.entry.js} +1 -1
- package/lib/duet/{p-774cf9f5.entry.js → p-23475050.entry.js} +1 -1
- package/lib/duet/{p-06ed84cb.entry.js → p-288da581.entry.js} +1 -1
- package/lib/duet/{p-2e34dd28.entry.js → p-2a563d22.entry.js} +1 -1
- package/lib/duet/{p-4aece4f9.entry.js → p-2d62148e.entry.js} +1 -1
- package/lib/duet/{p-73ce0ef8.entry.js → p-2f150cd4.entry.js} +1 -1
- package/lib/duet/{p-466ef37c.entry.js → p-34706bbb.entry.js} +1 -1
- package/lib/duet/{p-9fff2189.entry.js → p-433a9f98.entry.js} +1 -1
- package/lib/duet/{p-625347d3.entry.js → p-44deeddc.entry.js} +1 -1
- package/lib/duet/{p-2057cc55.entry.js → p-4a325ef1.entry.js} +1 -1
- package/lib/duet/{p-d2ceafd6.entry.js → p-4c118ad6.entry.js} +1 -1
- package/lib/duet/{p-a440c5b3.entry.js → p-4c37165a.entry.js} +1 -1
- package/lib/duet/p-4cd019a5.entry.js +4 -0
- package/lib/duet/{p-67290546.entry.js → p-4da25e3d.entry.js} +1 -1
- package/lib/duet/{p-72c2ba6b.entry.js → p-4da439ae.entry.js} +1 -1
- package/lib/duet/{p-0dc4fe1d.entry.js → p-4fc62376.entry.js} +1 -1
- package/lib/duet/{p-ba2b47d3.entry.js → p-534180fa.entry.js} +1 -1
- package/lib/duet/p-57165bf0.entry.js +4 -0
- package/lib/duet/{p-4628e002.entry.js → p-5a6fd350.entry.js} +1 -1
- package/lib/duet/p-5bfa5e5d.entry.js +4 -0
- package/lib/duet/{p-94e33308.entry.js → p-5fdfb13d.entry.js} +1 -1
- package/lib/duet/{p-3dd4fbf1.entry.js → p-62df87ea.entry.js} +1 -1
- package/lib/duet/{p-402c8cd9.entry.js → p-66cb6021.entry.js} +1 -1
- package/lib/duet/{p-2d3d11db.entry.js → p-6b2697ad.entry.js} +1 -1
- package/lib/duet/{p-a09c6e42.entry.js → p-6dca8f77.entry.js} +1 -1
- package/lib/duet/p-6fa7de01.entry.js +4 -0
- package/lib/duet/{p-693fda6b.entry.js → p-6fdb09d1.entry.js} +1 -1
- package/lib/duet/{p-867aab83.entry.js → p-78a9b684.entry.js} +1 -1
- package/lib/duet/{p-37222c50.entry.js → p-7b849d35.entry.js} +1 -1
- package/lib/duet/{p-767afcf4.entry.js → p-7c1e8291.entry.js} +1 -1
- package/lib/duet/{p-8ed6f7c7.entry.js → p-7f0aa937.entry.js} +1 -1
- package/lib/duet/{p-7f1fb1a9.entry.js → p-804b326c.entry.js} +1 -1
- package/lib/duet/{p-bcbe4d11.entry.js → p-806121b1.entry.js} +1 -1
- package/lib/duet/p-8194b05d.entry.js +4 -0
- package/lib/duet/{p-35ac072d.entry.js → p-829482da.entry.js} +1 -1
- package/lib/duet/{p-fb3b8e0f.entry.js → p-84777c03.entry.js} +1 -1
- package/lib/duet/{p-c8308bec.entry.js → p-8625d3ce.entry.js} +1 -1
- package/lib/duet/{p-2792ec0b.entry.js → p-88216acf.entry.js} +1 -1
- package/lib/duet/{p-d0f3a2e6.entry.js → p-92b13088.entry.js} +1 -1
- package/lib/duet/{p-bf5fae27.entry.js → p-9440a479.entry.js} +1 -1
- package/lib/duet/{p-05766552.entry.js → p-98aa7ac5.entry.js} +1 -1
- package/lib/duet/{p-83f6beb5.entry.js → p-9a7382a4.entry.js} +1 -1
- package/lib/duet/{p-960f95b4.entry.js → p-9c838ec0.entry.js} +1 -1
- package/lib/duet/p-B5RO_CRT.js +4 -0
- package/lib/duet/{p-B_VBeM3r.js → p-BPFqbaxm.js} +1 -1
- package/lib/duet/p-BWvtXbhA.js +4 -0
- package/lib/duet/{p-BaR6ufr4.js → p-BkHWWyft.js} +1 -1
- package/lib/duet/{p-DdwVwK5C.js → p-C-YpEPL-.js} +1 -1
- package/lib/duet/p-C2xFZ1pZ.js +4 -0
- package/lib/duet/p-CwVyzidG.js +4 -0
- package/lib/duet/p-D5MfS1RP.js +4 -0
- package/lib/duet/p-DixsuovU.js +4 -0
- package/lib/duet/{p-DyXNfxdT.js → p-DoTAjqzf.js} +1 -1
- package/lib/duet/{p-0ebeee02.entry.js → p-a64da31d.entry.js} +1 -1
- package/lib/duet/{p-04ce95ba.entry.js → p-a704d617.entry.js} +1 -1
- package/lib/duet/{p-66c7af01.entry.js → p-a745298d.entry.js} +1 -1
- package/lib/duet/{p-a72b8cf4.entry.js → p-ad08429f.entry.js} +1 -1
- package/lib/duet/{p-15593e3e.entry.js → p-ad3d8ac8.entry.js} +1 -1
- package/lib/duet/{p-7c814d9a.entry.js → p-b1f362dc.entry.js} +1 -1
- package/lib/duet/{p-86b74914.entry.js → p-b9acaca1.entry.js} +1 -1
- package/lib/duet/{p-9973c0dc.entry.js → p-babe244b.entry.js} +1 -1
- package/lib/duet/{p-60be3836.entry.js → p-c35c9198.entry.js} +1 -1
- package/lib/duet/{p-8596c993.entry.js → p-c62aeb2e.entry.js} +1 -1
- package/lib/duet/p-c8a66d4b.entry.js +4 -0
- package/lib/duet/p-cfd5c934.entry.js +4 -0
- package/lib/duet/p-d05bbd77.entry.js +4 -0
- package/lib/duet/p-d079278e.entry.js +4 -0
- package/lib/duet/p-d110954d.entry.js +4 -0
- package/lib/duet/p-d71a366e.entry.js +4 -0
- package/lib/duet/{p-ba0fcce1.entry.js → p-d92c5cfa.entry.js} +1 -1
- package/lib/duet/{p-73290da8.entry.js → p-dbab30ea.entry.js} +1 -1
- package/lib/duet/p-dd8216e7.entry.js +4 -0
- package/lib/duet/{p-6a6e4d82.entry.js → p-e18a1599.entry.js} +1 -1
- package/lib/duet/p-e76051c3.entry.js +4 -0
- package/lib/duet/{p-5564a39c.entry.js → p-e9886226.entry.js} +1 -1
- package/lib/duet/{p-64f8d654.entry.js → p-e9becc58.entry.js} +1 -1
- package/lib/duet/{p-30ade10d.entry.js → p-ec72f3a2.entry.js} +1 -1
- package/lib/duet/{p-d96af9c9.entry.js → p-ecb4e99d.entry.js} +1 -1
- package/lib/duet/{p-ec6e097b.entry.js → p-f2ae56b2.entry.js} +1 -1
- package/lib/duet/{p-106d3089.entry.js → p-f51c072f.entry.js} +1 -1
- package/lib/duet/{p-ab0cd4e5.entry.js → p-f82079f2.entry.js} +1 -1
- package/lib/duet/{p-dee8ff90.entry.js → p-f82a2ab7.entry.js} +1 -1
- package/lib/esm/{a11y-utils-CXqm1pj1.js → a11y-utils-C6cn5C3e.js} +1 -1
- package/lib/esm/{app-globals-s-_CGo5t.js → app-globals-CcxHDwb4.js} +1 -1
- package/lib/esm/{common-strings-MxsWrBCY.js → common-strings-BWvtXbhA.js} +23 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +24 -33
- package/lib/esm/duet-badge.entry.js +16 -4
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +9 -9
- package/lib/esm/duet-card.entry.js +13 -7
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +35 -28
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +19 -9
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +6 -6
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +5 -5
- package/lib/esm/duet-grid_2.entry.js +4 -4
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +6 -6
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +8 -8
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +6 -6
- package/lib/esm/duet-multiselect.entry.js +5 -5
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +3 -3
- package/lib/esm/duet-panel.entry.js +2 -2
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +4 -4
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +5 -5
- package/lib/esm/duet-radio_2.entry.js +4 -4
- package/lib/esm/duet-range-slider.entry.js +4 -4
- package/lib/esm/duet-scrollable_3.entry.js +25 -22
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +8 -6
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +11 -11
- package/lib/esm/duet-slideout.entry.js +5 -5
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +5 -5
- package/lib/esm/duet-toggle.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +9 -9
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-Bre55Njd.js → errorcodes.utils-CEyBUBSM.js} +1 -1
- package/lib/esm/{focus-utils-vvgYykmM.js → focus-utils-BhO5oz9w.js} +1 -1
- package/lib/esm/{index-B_VBeM3r.js → index-BPFqbaxm.js} +1 -1
- package/lib/esm/{label-l-Eza5H3.js → label-BGqhM4kx.js} +1 -1
- package/lib/esm/{language-utils-B7PXWqpg.js → language-utils-CNMTW_pZ.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-aDCRCdc4.js → slot-utils-BABbKvvc.js} +1 -1
- package/lib/esm/{themeable-component-DPqozkF4.js → themeable-component-Csv1RXxf.js} +1 -1
- package/lib/types/common-strings.d.ts +2 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
- package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
- package/lib/types/components/duet-card/duet-card.d.ts +6 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
- package/lib/types/components.d.ts +12 -7
- package/package.json +3 -3
- package/lib/duet/p-065f7e81.entry.js +0 -4
- package/lib/duet/p-08ed76c2.entry.js +0 -4
- package/lib/duet/p-0a448068.entry.js +0 -4
- package/lib/duet/p-28a998f9.entry.js +0 -4
- package/lib/duet/p-39169420.entry.js +0 -4
- package/lib/duet/p-4ee576a2.entry.js +0 -4
- package/lib/duet/p-500d799b.entry.js +0 -4
- package/lib/duet/p-5848a34c.entry.js +0 -4
- package/lib/duet/p-652eefa8.entry.js +0 -4
- package/lib/duet/p-9fade6a0.entry.js +0 -4
- package/lib/duet/p-BdUQgQFn.js +0 -4
- package/lib/duet/p-DzerL_yn.js +0 -4
- package/lib/duet/p-KocOARXM.js +0 -4
- package/lib/duet/p-MxsWrBCY.js +0 -4
- package/lib/duet/p-OdY4DjJa.js +0 -4
- package/lib/duet/p-T5kkooky.js +0 -4
- package/lib/duet/p-a3a2e89e.entry.js +0 -4
- package/lib/duet/p-b84ac47b.entry.js +0 -4
- package/lib/duet/p-baeb1090.entry.js +0 -4
- package/lib/duet/p-d28a8bc4.entry.js +0 -4
- package/lib/duet/p-effefdec.entry.js +0 -4
|
@@ -62,17 +62,17 @@ export class DuetMenuBarDropdown {
|
|
|
62
62
|
* Always the last one in the class.
|
|
63
63
|
*/
|
|
64
64
|
render() {
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '5d1851929ee7081f01cea9c55edeee771dc42be3', role: "listitem" }, h("div", { key: 'e54d3af80bbca5e24f4c5ab831b0797c605c45ca', class: {
|
|
66
66
|
"duet-menu-bar-dropdown": true,
|
|
67
67
|
"duet-theme-turva": this.theme === "turva",
|
|
68
68
|
active: this.open,
|
|
69
69
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
70
|
-
} }, h("button", { key: '
|
|
70
|
+
} }, h("button", { key: 'cf2bcb77b1a0841f83a21077142e178b066484f0', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
71
71
|
active: this.open,
|
|
72
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
72
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'a39f3f0341a93ffe8c5974c8900f42f45c262b4d', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '2333c31f1a6dbb2f90712614d6861cd565e24c99', class: "label" }, h("slot", { key: '55556372f68d0fed856a6fbf49280f4803781e81', name: "label" }), h("duet-icon", { key: '770ff3a4aeb359e88e05cb6f8739e5a9c51109eb', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'ca0f2366604f3b92dbdbb2684229f7edd4992ef0', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
73
73
|
items: true,
|
|
74
74
|
hidden: !this.open,
|
|
75
|
-
} }, h("slot", { key: '
|
|
75
|
+
} }, h("slot", { key: 'b9f25b138f37a033bb6bd753f67765bb08a8aff6' })))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "duet-menu-bar-dropdown"; }
|
|
78
78
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -48,11 +48,11 @@ export class DuetMenuBarDropdownLink {
|
|
|
48
48
|
* Always the last one in the class.
|
|
49
49
|
*/
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '3255461b870d6e7985daaaabd358db008926df23' }, h("a", { key: '1ff26c26e3029f63b5a2052676137c2e6f3cb70d', class: {
|
|
52
52
|
"duet-menu-bar-dropdown-link": true,
|
|
53
53
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
55
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '0b009531dc2f921fd0557d417f16974a2a0225e2', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '1cace4ae4f0967a87b621717569fbfca8d504cb6' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,11 +71,11 @@ export class DuetMenuBarItem {
|
|
|
71
71
|
*/
|
|
72
72
|
render() {
|
|
73
73
|
const TagName = this.url ? "a" : "button";
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '96e3f6f65b5e2e3b218d75f1fa26bbf06026389c', role: "listitem" }, h(TagName, { key: 'f673532ffa1d58f430618e6e9b62bbd2291d8262', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
75
75
|
"duet-menu-bar-item": true,
|
|
76
76
|
"duet-theme-turva": this.theme === "turva",
|
|
77
77
|
active: this.active,
|
|
78
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '
|
|
78
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '1c232e9096b3307a39f41cb169b3eb4149dcca40', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '0ce1d48d334370e8b90c6250e3bc4386a1dd6a42' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '0e1f8ea5c34566ff0b6d35672f7ac21c174be123', class: {
|
|
79
79
|
"trailing-icon": !!this.trailingIcon,
|
|
80
80
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
81
81
|
"external-icon": !!this.external,
|
|
@@ -33,11 +33,11 @@ export class DuetMenuBarLink {
|
|
|
33
33
|
* Always the last one in the class.
|
|
34
34
|
*/
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '2dbba977ecce40e0e35b0446763fb4f2ce144071', role: "listitem" }, h("a", { key: 'e593c87de20138cb156e002a6de68a6492fbcb2b', class: {
|
|
37
37
|
"duet-menu-bar-link": true,
|
|
38
38
|
"duet-theme-turva": this.theme === "turva",
|
|
39
39
|
active: this.active,
|
|
40
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
40
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'ea48038cdd45b8fb0ea26eab4a60a1c14f1ce091', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'b679ffa584c1e1738c5c31f320a14ef8aea42937' }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "duet-menu-bar-link"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,7 +31,7 @@ export class DuetNav {
|
|
|
31
31
|
* Always the last one in the class.
|
|
32
32
|
*/
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'f7a8ed09a94df6c749849af4fa57746415c1ed35' }, h("div", { key: '0698cb914b2069f402b0771c748a488e3523aa67', class: { container: true, sticky: this.sticky } }, h("slot", { key: 'dbac0328ad41f8a9bde92011b654dc8640021b0d' }), h("slot", { key: '9b3161669471c6505d0aab172afe2c6953e09ec2', name: "mobile" }), h("slot", { key: 'd6067606d1a4544c027d36edf530ec1488c15ce9', name: "desktop" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "duet-nav"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -72,11 +72,11 @@ export class DuetNotification {
|
|
|
72
72
|
this.linkElement.focus(options);
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: '38f589ecc0f7bfacef51a99bcdc34e11972a623c', role: "listitem", class: {
|
|
76
76
|
"duet-notification": true,
|
|
77
77
|
"duet-notification-highlight": this.highlight,
|
|
78
78
|
"duet-theme-turva": this.theme === "turva",
|
|
79
|
-
} }, h("a", { key: '
|
|
79
|
+
} }, h("a", { key: '1baa41acae73931933c8fd7cb844cc9565486168', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '86b846fbd0624d5a01f339cb65875300681610e9', class: "duet-notification-container" }, h("div", { key: '41cc6cb349bce5689c3f31b08beb985a0aff4677', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: 'd51af06ea2f23509bb96299c0b75e04a5e42d41d', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '6d7f78247068a68e8e2a8eb1157f2788ecb871ab' }, this.accessibleLabelUnread, ":")))), h("div", { key: 'f0ccd721e329487b11e3ccd7dda1a9c252445d9a', class: "duet-notification-content" }, h("slot", { key: '0e583c14cdea246a712a99880b9a39f9d0a4504e' })), h("div", { key: 'ba4174a98f6f89b9cba21ab077c30c85b23675e1', class: "duet-notification-date" }, this.date)))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "duet-notification"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,12 +43,12 @@ export class DuetPageHeading {
|
|
|
43
43
|
*/
|
|
44
44
|
render() {
|
|
45
45
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: 'c8965538a92caf79f80e48d48064860b3fba4a1c', class: {
|
|
47
47
|
"duet-page-heading": true,
|
|
48
48
|
"duet-theme-turva": this.theme === "turva",
|
|
49
49
|
"has-icon": !!this.icon,
|
|
50
50
|
[layout]: true,
|
|
51
|
-
} }, h("div", { key: '
|
|
51
|
+
} }, h("div", { key: '845fe8135a9ae4814633cc083a4b87b7ef7b716f', class: "background" }, this.theme === "turva" && h("div", { key: 'c6d6d61458c267811e1b3bd2f5c53a0e69b6fd4e', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '8f17b5fbb587dd2628c8928da6019f00e4d74f53', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '125cb3cdd58e3f0f43927446c57759efd2d6473d', class: "brand-shape second-shape" }), this.icon && (h("div", { key: 'b547fb58f9df92aeb648bb37f3d28b0d3982fe41', class: "brand-shaped-icon" }, h("duet-icon", { key: 'e74873b15c8f7f2dac7e7589c107308b60bb4ff0', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'e75036eaeaa3a4665202b042acbd9a58a896f2bd', class: "heading" }, h("slot", { key: '3aa3b62846356cf5e5aa8b25dcd7cce2f6d9867f', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (h("div", { key: 'cb1b3dcd21c496a3ba752b3ce718d054c6a317ca' }, h("duet-spacer", { key: '08ab03a19f3d5a495cdbad4f5e06f6ed36bd6819', size: "large" }), h("div", { key: 'c7c2fe589b8c599a82403408c9e3bda91d8b01ac', role: "presentation" }, this.progressIndicator()))))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "duet-page-heading"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,12 +70,12 @@ export class DuetPromoCard {
|
|
|
70
70
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
71
71
|
};
|
|
72
72
|
const TagName = this.url ? "a" : "div";
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'dcfc9fe0c01bdd6a3c127d33e73c786dfe34403d', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '08e0c5687e205a7b69e0c9ce9c874061a5c77158', class: {
|
|
74
74
|
"duet-promo-card": true,
|
|
75
75
|
"duet-theme-turva": this.theme === "turva",
|
|
76
76
|
"no-bg-color": !this.backgroundColor,
|
|
77
77
|
"duet-promo-card-link": !!this.url,
|
|
78
|
-
}, style: bannerStyles }, h(TagName, { key: '
|
|
78
|
+
}, style: bannerStyles }, h(TagName, { key: 'c44a877377e4e16e1cf651165ada068712de8a1d', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, h("img", { key: 'e9349820426a672f8e7106f0376e5b5ca9be639c', class: "image", src: this.image, alt: "", role: "presentation" }), h("div", { key: '7a79c417f607e37608dee33ea1a463ca87ed8736', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: 'fce0bc86243d0fe8174b4e1b5e0aeaca9e2fa285', class: "pre-heading" }, h("slot", { key: '55ea16147dbd175071917cee3beda6db4679a6fe', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'f5298df0419f9dda577c8ee5632a15e1860f8cf8', class: "heading" }, h("duet-heading", { key: '608bb6c15a2cb6abf5e4f175581738db58fe24ec', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '42abfd8c2e6d350602767b60f3491e0fd575322e' }, h("slot", { key: '4048b41700d0a54a11df20e4c1a180d662424b76', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: 'dc7662d900140f51c633ece8abcc46cc1187f5ef', class: "description" }, h("duet-paragraph", { key: 'c61e556777f7dc382d06c913e7e1990304aa5740', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '610970b31c93d2fe14c1d967a43105e3fe7737f3' }, h("slot", { key: 'c38b144ab61f06d8b8df9d072a89acc5c7357a3c', name: "description" }))))), this.hasActionSlot && (h("div", { key: '8206bdc5367fd9cca9eab63539ac488cc8233c14', class: "action" }, h("slot", { key: '162fa1fe7c8ead96253bc3e43bb0d663054a4c37', name: "action" }))))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "duet-promo-card"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -158,7 +158,7 @@ export class DuetRadioGroup {
|
|
|
158
158
|
* Always the last one in the class.
|
|
159
159
|
*/
|
|
160
160
|
render() {
|
|
161
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: 'ce0d325f055e68197bbdfc9f84f2b1f318483134', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: '8f73fa5457e7e95a5e86c5c69875c10ead9e703a', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: 'd6d6455b725d087219d8aa4aa261530ef6e00d16', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '26c388eeed2a7782327e859bc08f6cdd17a22515', name: "tooltip" }), h("div", { key: '7ebf921fb7de9817005aa82317f2cd21736baa48', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '8d0088c7a3b3951fcede92d7da5aae7a1eb8dc41' })))));
|
|
162
162
|
}
|
|
163
163
|
static get is() { return "duet-radio-group"; }
|
|
164
164
|
static get encapsulation() { return "shadow"; }
|
|
@@ -265,18 +265,18 @@ export class DuetScrollable {
|
|
|
265
265
|
* Always the last one in the class.
|
|
266
266
|
*/
|
|
267
267
|
render() {
|
|
268
|
-
return (h(Host, { key: '
|
|
268
|
+
return (h(Host, { key: '0052e12de4aea5e4a3f67e031c90f4f6d9ad53d7', class: {
|
|
269
269
|
"duet-theme-turva": this.theme === "turva",
|
|
270
270
|
"duet-theme-default": this.theme === "default",
|
|
271
|
-
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: '
|
|
271
|
+
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: '9aa2cbde134aa4bdfe60c540cea270c5db2487a2', class: {
|
|
272
272
|
collapse: true,
|
|
273
273
|
hide: !this.needsScrolling && !this.collapsed,
|
|
274
|
-
} }, h("duet-button", { key: '
|
|
274
|
+
} }, h("duet-button", { key: '10acabde835061194bee92f32e954d2912d768d2', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: 'be354ed8ac0f0f5f6e51a64764d311498a90f3a4', name: "collapse-button-label" })))), h("div", { key: '7c9a6efbf372a908873364f1140e57c8e085ea28', class: {
|
|
275
275
|
"duet-scrollable-items": true,
|
|
276
276
|
buttons: this.buttons,
|
|
277
277
|
center: this.center,
|
|
278
278
|
"duet-theme-turva": this.theme === "turva",
|
|
279
|
-
} }, this.buttons && this.renderButton("left"), h("div", { key: '
|
|
279
|
+
} }, this.buttons && this.renderButton("left"), h("div", { key: '228646dca94886c735c18f35755b30d67cb3e082', class: {
|
|
280
280
|
"duet-scrollable-list": true,
|
|
281
281
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
282
282
|
[`gap-${this.gap}`]: true,
|
|
@@ -284,7 +284,7 @@ export class DuetScrollable {
|
|
|
284
284
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
285
285
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
286
286
|
"duet-scrollable-stretch": this.stretch,
|
|
287
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '
|
|
287
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '4453deb9090c1ad53469a85232d2c188f9f2556f' })), this.buttons && this.renderButton("right"))));
|
|
288
288
|
}
|
|
289
289
|
static get is() { return "duet-scrollable"; }
|
|
290
290
|
static get encapsulation() { return "shadow"; }
|
|
@@ -515,7 +515,7 @@ export class DuetScrollable {
|
|
|
515
515
|
},
|
|
516
516
|
"getter": false,
|
|
517
517
|
"setter": false,
|
|
518
|
-
"reflect":
|
|
518
|
+
"reflect": true,
|
|
519
519
|
"defaultValue": "0"
|
|
520
520
|
},
|
|
521
521
|
"stretch": {
|
|
@@ -24,13 +24,13 @@ export class DuetSectionLayout {
|
|
|
24
24
|
* Always the last one in the class.
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '092586b7c997c6c850a1e6c3af1379765d077b2f', class: {
|
|
28
28
|
"duet-middle": this.middle,
|
|
29
29
|
"duet-ie": isInternetExplorer(),
|
|
30
|
-
} }, h("div", { key: '
|
|
30
|
+
} }, h("div", { key: '125c4e3f67f73ee0eed48dcb561349e28587aefd', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: 'e1786b2d7a0c258bdd3d92bb8132ea0c2371ab36', class: {
|
|
31
31
|
"duet-layout": true,
|
|
32
32
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
33
|
-
} }, h("section", { key: '
|
|
33
|
+
} }, h("section", { key: 'cabd2f501a9c6826a30beb2bf40993d0942a1415', class: "duet-main" }, h("slot", { key: 'ee9b8efe014ed27a0e6838028d5060590444ee42' }))))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "duet-section-layout"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,9 +33,9 @@ export class DuetShapedImage {
|
|
|
33
33
|
const style = {
|
|
34
34
|
"--rotation": `${this.rotation}deg`,
|
|
35
35
|
};
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'dcc19a1624a88154af7cf3c3c895bde83dc28d15', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: 'e1a1750e828b0b337433d0cfcc2377be44a03642', class: {
|
|
37
37
|
"shaped-image": true,
|
|
38
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '
|
|
38
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: 'a75be0a31d3bcef5b7c0191aa5da4235f8f9b548', class: "shaped-image-mask", role: "presentation" }, h("span", { key: '19a03a8a14b1ec7a15c8938e031d73d78819bf00', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-shaped-image"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,10 +63,12 @@ export class DuetShareChart {
|
|
|
63
63
|
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '3ada6920466227b32ee18d3bdee2fb8762a555ea' }, h("div", { key: 'f2abaf3b3e3e631e48c4df538c397953f133c357', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
|
|
67
|
+
.filter(i => !!i.value)
|
|
68
|
+
.map(item => (h("span", { class: "duet-share-chart-share", style: {
|
|
67
69
|
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
68
70
|
backgroundColor: getColorByName(item.color, this.theme),
|
|
69
|
-
} })))), h("ul", { key: '
|
|
71
|
+
} })))), h("ul", { key: '47cc62dfd72a9fd17cfd34e42ddefc84368f8277', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: '0dd9f58d3af51af5179e5a93dc18a4ab34c519f3' })));
|
|
70
72
|
}
|
|
71
73
|
static get is() { return "duet-share-chart"; }
|
|
72
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class DuetShareChartItem {
|
|
|
10
10
|
this.value = 0;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '9b3c4881b8b8c51625dd470b88b67988841b2ca1' }, h("div", { key: '9394034bdf632e6c75848d95faec2ab3ffd75ba8', hidden: true }, h("slot", { key: 'd0341130c130271d932639f4d5dc0678432272ad' }))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "duet-share-chart-item"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +38,7 @@ export class DuetSlideoutLang {
|
|
|
38
38
|
*/
|
|
39
39
|
render() {
|
|
40
40
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '9b4b8cd45c9f80726b2a8b30ee470c1c66a36844' }, h("div", { key: 'a2dd75af5a7f4bc86019e14c7981a33e605bda58', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: 'c2e848bda85007675b1c312d583d68cb12da8f29', name: "navigation-language", margin: "none", color: "secondary" }), h("slot", { key: 'cf120478d33ad1eb78a600abc241bcc79c7e5c36' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "duet-slideout-lang"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,12 +77,12 @@ export class DuetSlideoutLink {
|
|
|
77
77
|
* Always the last one in the class.
|
|
78
78
|
*/
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '8e06b49cf6c749adf92ccc160d8ad3da287ed5b1' }, h("a", { key: 'b828c5cb14d1668459f533e7dd1455b96d749389', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
81
81
|
"duet-slideout-link": true,
|
|
82
82
|
"duet-theme-turva": this.theme === "turva",
|
|
83
83
|
active: this.active,
|
|
84
84
|
[this.size]: true,
|
|
85
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: '
|
|
85
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: '2b9425445f8002a2e4ba7e4e3505c8dd16f1037b', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { key: '299f3051479f68f1526bef4ac0b7829e6c1e599e', class: "label" }, h("span", { key: '58e45ed7ec8752c8d123a0de448ef6aae50fe928' }, h("span", { key: 'b7e99ab8c08332ee1fb816ca174333d45ddd856a', class: "label-container" }, h("span", { key: '52592842baf1612fd196be0e46b6dbee46e27422', class: "label-content" }, h("slot", { key: 'b0c2f5f85ddea248f188c1a33d6e4c50ec4232ba' })), this.external && (h("duet-icon", { key: '7c65cd396055e355fd604e9ad7eab4b6314be31c', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: 'ca4a97fef08540a3ec086e27b4f952567e6c4428', name: "description" })), this.caret && (h("duet-icon", { key: 'ed73e7886cfcf256368e4daa5b272d127ed192a3', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "duet-slideout-link"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -179,23 +179,23 @@ export class DuetSlideoutPanel {
|
|
|
179
179
|
};
|
|
180
180
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
181
181
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
182
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: 'afd36490cf0c6d09eda7d8baff552e38dd096c4c' }, h("div", { key: '986b2a87ea1c43e8f86e4d01dfad235b52ace8cc', class: {
|
|
183
183
|
"duet-slideout-panel": true,
|
|
184
184
|
"duet-theme-turva": this.theme === "turva",
|
|
185
185
|
active: this.open,
|
|
186
|
-
} }, h("button", { key: '
|
|
186
|
+
} }, h("button", { key: '3edf7d1d3e0366b5032fc132b01efa9daede6090', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
187
187
|
link: true,
|
|
188
188
|
active: this.active,
|
|
189
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '
|
|
189
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '5dd55d6242510d00b1eaeb6e77a92920a7681838', class: "duet-slideout-icon" }, h("duet-icon", { key: 'd57f4a660cd4ddc96298f249191917bc39b89944', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && h("div", { key: '43df47250dfab5e896892e3e97ef14a43946c3fe', class: "duet-slideout-badge" }))), h("span", { key: '1369627522c7594abe5d4ba5db3db4c13fd9d883', class: "label" }, h("span", { key: 'e90b85f8745db02e8b6a1a7170493167db209bc1', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '6a8526daee6d38ec252b1af3aa695f570ee9f42a', name: "label" })), h("duet-icon", { key: '7e73cb75767071d370dc967920bb9158bce33db4', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: '84e1373565feee119c920fc65c48f59f89162eff', ref: element => (this.dialog = element), class: {
|
|
190
190
|
dialog: true,
|
|
191
191
|
hidden: !this.open,
|
|
192
|
-
}, style: styles }, h(FocusGuard, { key: '
|
|
192
|
+
}, style: styles }, h(FocusGuard, { key: '9226ff82f6efbbbad946ae3484000d213a6611da', moveFocusTo: this.closeButton }), h("div", { key: 'fe9a1debab52a26239eb64bada4872541934d4cd', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'e27e127736dafcf1611b608a658a7b8331b41d21', class: "top" }, h("button", { key: '24ea4eba589c4ad194bb8869e9ef030273c42485', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
193
193
|
back: true,
|
|
194
|
-
}, onClick: this.onClick }, h("duet-icon", { key: '
|
|
194
|
+
}, onClick: this.onClick }, h("duet-icon", { key: '64350d00957fc92a6bbe8d118a6b2e19211aafc7', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '14a36e4811739ca58157a8471dca3093b41092d4' }, this.label.innerHTML), h("button", { key: '65ab2fb0772eb15968c8c39947297b6fe5267be6', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '35f57ddf92c662cd34471e252d92a5659bc9f156', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '6a04831c4fd00957cadaed33b05b40916dd7df23', class: "sticky-header" }, h("slot", { key: '11ac017b06d70caa56a96504d571e645f8688490', name: "sticky-header" }))), h("div", { key: '81e41a2cbff93f37de79ad06547cf8851ba9d200', tabindex: "-1", role: "menu",
|
|
195
195
|
//TODO: slideout menu fades out, needs to be instant
|
|
196
196
|
id: "menu", "aria-labelledby": "button", class: {
|
|
197
197
|
items: true,
|
|
198
|
-
} }, h("slot", { key: '
|
|
198
|
+
} }, h("slot", { key: 'b5078c149d14316098f0a24e61f66ad805d90447' })), h(FocusGuard, { key: '552292100714317d2dee0c464fca748358cdd5e7', moveFocusTo: this.closeButton })))));
|
|
199
199
|
}
|
|
200
200
|
static get is() { return "duet-slideout-panel"; }
|
|
201
201
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js
CHANGED
|
@@ -52,16 +52,16 @@ export class DuetSlideoutPanelDropdown {
|
|
|
52
52
|
* Always the last one in the class.
|
|
53
53
|
*/
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '70632cbca7f7f90d9ed33f75c8913bffb398b4e6' }, h("div", { key: 'b69b29bf73e4706eebb0b7d0068250577f19808e', class: {
|
|
56
56
|
"duet-slideout-panel-dropdown": true,
|
|
57
57
|
"duet-theme-turva": this.theme === "turva",
|
|
58
58
|
active: this.open,
|
|
59
|
-
} }, h("button", { key: '
|
|
59
|
+
} }, h("button", { key: 'bb15069b603473eb2f366449677e2f59f0547981', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
60
60
|
active: this.active,
|
|
61
|
-
}, onClick: this.onClick }, this.icon && h("duet-icon", { key: '
|
|
61
|
+
}, onClick: this.onClick }, this.icon && h("duet-icon", { key: '5992324c1a87a2a0f5338f3fd82dee182747d686', name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("span", { key: '4d00fac6dfa37bac0d46c7dc0e6a973d5186f52b', class: "label" }, h("slot", { key: 'acab9e5e487fe00ef21349332683feaf89ee5c56', name: "label" }), h("duet-icon", { key: 'b46c4a55691e471aa548a212934540481319c469', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: 'c5fe75f29aae07bc9b94f50cbef5e3af44a138af', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
62
62
|
items: true,
|
|
63
63
|
hidden: !this.open,
|
|
64
|
-
} }, h("slot", { key: '
|
|
64
|
+
} }, h("slot", { key: 'f98bb0683206267f64f87a51093f067f3eeb53c2' })))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "duet-slideout-panel-dropdown"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,10 +85,10 @@ export class DuetStatusIcon {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: 'cdcf064007e8c8e9a10f15a87a8d995da2b5fbc4', class: {
|
|
89
89
|
[`duet-status-icon-${this.getVariation()}`]: true,
|
|
90
90
|
"duet-strong-bg": this.strong,
|
|
91
|
-
} }, h("duet-icon", { key: '
|
|
91
|
+
} }, h("duet-icon", { key: '9437981c1dc35ab71d67e9616100b8ec991f55af', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "duet-status-icon"; }
|
|
94
94
|
static get encapsulation() { return "shadow"; }
|
|
@@ -131,19 +131,19 @@ export class DuetSubmenuBar {
|
|
|
131
131
|
* Always the last one in the class.
|
|
132
132
|
*/
|
|
133
133
|
render() {
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '98b1aef33dbecb72db770aad2e638895df757769' }, h("nav", { key: '2da9e98166d85b6bf7b693ec74f2c7862da6e32f', class: {
|
|
135
135
|
"duet-submenu-bar": true,
|
|
136
136
|
"duet-theme-turva": this.theme === "turva",
|
|
137
137
|
hidden: this.hidden,
|
|
138
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '
|
|
138
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '1a118edf09c9be310988c12d093c63d27949e5bf', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
139
139
|
active: this.open,
|
|
140
|
-
}, onClick: this.onClick }, h("span", { key: '
|
|
140
|
+
}, onClick: this.onClick }, h("span", { key: '7b26b751bf105fe6c40320dc2eb68b8f729a1a8f', class: "label" }, h("slot", { key: 'b2fae59665ec7f21d8b9d6cebce396cda942d6de', name: "label" }), h("duet-icon", { key: 'dce5c1f7585eb179ebbc6cb604c8cae186282d61', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '003ce0e07e1b88ea0353b13a24531ce65ddddfd7', class: {
|
|
141
141
|
"menu-container": true,
|
|
142
142
|
hidden: !this.open,
|
|
143
|
-
}, role: "presentation" }, h("div", { key: '
|
|
143
|
+
}, role: "presentation" }, h("div", { key: 'df40a36793d796f1a78304db83f2b650834b7dc4', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
144
144
|
items: true,
|
|
145
145
|
hidden: !this.open,
|
|
146
|
-
}, ref: element => (this.itemsContainer = element) }, h("div", { key: '
|
|
146
|
+
}, ref: element => (this.itemsContainer = element) }, h("div", { key: '2e63a7cbbc0221285dd94bb4a9abf18724dd51ce', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '15914d5a16f162661e52be38210d64266c1a2175' }), h("div", { key: '5b59a4d292c2631a45c9c16de265dfae6a12c5e9', class: "list-padding" }))), h("duet-overlay", { key: 'ad96690e7d9db9801005ed9010293734263b9a61', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "duet-submenu-bar"; }
|
|
149
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -108,18 +108,18 @@ export class DuetSubmenuBarDropdown {
|
|
|
108
108
|
* Always the last one in the class.
|
|
109
109
|
*/
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '576e12e55d09213173616d89f5b408c8492ba5af', role: "listitem" }, h("div", { key: '08580206c21044dbb8d4545f8544e0ced9b6a14e', class: {
|
|
112
112
|
"duet-submenu-bar-dropdown": true,
|
|
113
113
|
"duet-theme-turva": this.theme === "turva",
|
|
114
114
|
open: this.open,
|
|
115
115
|
active: this.active,
|
|
116
|
-
} }, h("button", { key: '
|
|
116
|
+
} }, h("button", { key: 'be74c18d69e315c5db7d23665d4a9625fc0b04d0', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
117
117
|
open: this.open,
|
|
118
118
|
active: this.active,
|
|
119
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
119
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '5bfc68090e446c4233ac00f348beaeefcd451709', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'e8fb4a7b73f6344bf5752b4855454dd964d20580', class: "label" }, h("span", { key: 'ff915210483dee69657e6b285a710ad9c5b1fef4', class: "label-text" }, h("slot", { key: '580d71312446d97630ee169b4d00e527d1c3acb5', name: "label" })), h("duet-icon", { key: 'a67edbe1c6a6a386db9738da55a07c13969bd9a6', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'f13cdbe5d132fdc0c9470e87ee2fe4e9bd4599dd', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
120
120
|
items: true,
|
|
121
121
|
hidden: !this.open,
|
|
122
|
-
} }, h("slot", { key: '
|
|
122
|
+
} }, h("slot", { key: '4c3c1e530e6ae8d2893d7d57c3f89dc42ea4ca73' })))));
|
|
123
123
|
}
|
|
124
124
|
static get is() { return "duet-submenu-bar-dropdown"; }
|
|
125
125
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js
CHANGED
|
@@ -49,12 +49,12 @@ export class DuetSubmenuBarDropdownLink {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '2fee28c0408aea99ea9eca4f11d4e2f841364790' }, h("a", { key: '0d7695a6ab69f0137ecf0ceeafec3a46af81dd1f', class: {
|
|
53
53
|
"duet-submenu-bar-dropdown-link": true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
55
|
highlight: this.highlight,
|
|
56
56
|
active: this.active,
|
|
57
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '
|
|
57
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '01df67e9b8670dc05128745c6882d2938ef9eedc', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '6c841e3ff249215c127c9e94f08bae8d7a18a5b8', class: "label-container" }, h("span", { key: '7a6170103bd0c33ec47d8c5bd315d0933674280d', class: "label" }, h("slot", { key: '325eed72978c7f19c85163b6af1cce4df6cd9bbf' })), this.caret && h("duet-icon", { key: '075731587db83d4e2857574fdec50f701f3b1e9e', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '8751218f86cec61805f4a74d1fd5449a7b936b6f', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "duet-submenu-bar-dropdown-link"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,7 +80,7 @@ export class DuetSubmenuBarItem {
|
|
|
80
80
|
render() {
|
|
81
81
|
const TagName = this.url ? "a" : "button";
|
|
82
82
|
const role = this.url ? "link" : "button";
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: 'e36b7b57f271197062c51666cbbbd1d57132b681', role: "listitem" }, h(TagName, { key: 'b95b4f6fd21f111bb18c1bc866c9a6ec125a6144', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '5a087cb5fcd29a41c424e025bad0040ef6e86900', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'a365ea511e78cdfa9b940934ba6f38fdda5937a8', class: "label" }, h("span", { key: '527ee473a8da72431ae6afd60e35b21e5211c589', class: "label-text" }, h("slot", { key: '51f297ccaf35795f59e7bcf616c22711f1e92f06' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'ab43acf3850c0148e50ac264530643a67ab1a276', class: {
|
|
84
84
|
"trailing-icon": !!this.trailingIcon,
|
|
85
85
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
86
86
|
"external-icon": !!this.external,
|
|
@@ -41,7 +41,7 @@ export class DuetSubmenuBarLink {
|
|
|
41
41
|
* Always the last one in the class.
|
|
42
42
|
*/
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '3b758ccd9b6b2aed28589ddea46b8c6ac516d059', role: "listitem" }, h("a", { key: '6a28b37917562bcad81693762e537734dfe39c4d', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '545a4c6be36be038fc79745186c7260e2509d8e5', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '5274e116ccaa52e75981801000933956f074eb29', class: "label" }, h("slot", { key: 'bcca6d327a8e7dfab90e9b6b4c625c0e024efcd2' })))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-submenu-bar-link"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -107,7 +107,7 @@ export class DuetTab {
|
|
|
107
107
|
* Always the last one in the class.
|
|
108
108
|
*/
|
|
109
109
|
render() {
|
|
110
|
-
return (h("div", { key: '
|
|
110
|
+
return (h("div", { key: 'b4bd4852c9b69f58d223d3c9f4abe99b6657eb1e', ref: element => {
|
|
111
111
|
if (!this.contentId) {
|
|
112
112
|
this.tabpanelElement = element;
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ export class DuetTab {
|
|
|
116
116
|
"duet-tab": true,
|
|
117
117
|
selected: this.selected,
|
|
118
118
|
"has-content-id": !!this.contentId,
|
|
119
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: '
|
|
119
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: '18c22a0a004cf4c7e38b88aaa2abbffcc2145baa' })));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "duet-tab"; }
|
|
122
122
|
static get encapsulation() { return "shadow"; }
|