@duetds/components 10.0.0-alpha.26 → 10.0.0-alpha.27
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 +321 -238
- package/hydrate/index.mjs +321 -238
- package/lib/cjs/{a11y-utils-CnLnSK4z.js → a11y-utils-B33qnv_c.js} +1 -1
- package/lib/cjs/{app-globals-B3iie8Hv.js → app-globals-DxEBgBDv.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +5 -5
- package/lib/cjs/duet-banner.cjs.entry.js +19 -8
- 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 +5 -5
- 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 +4 -4
- 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 +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +7 -7
- 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 +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- 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 +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +5 -5
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- 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 +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +12 -12
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- 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 +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +20 -18
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +9 -9
- 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 +6 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
- 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 +6 -6
- 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 +8 -8
- package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
- 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 +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-BgHe-1YU.js → errorcodes.utils-D9V4NJkh.js} +1 -1
- package/lib/cjs/{focus-utils-CT74z9Qb.js → focus-utils-2MQWj2yf.js} +1 -1
- package/lib/cjs/{index-C6D9Bly8.js → index-CgbT-GDe.js} +5 -1
- package/lib/cjs/{label-tyZX3oPG.js → label-B2EZulEI.js} +1 -1
- package/lib/cjs/{language-utils-DcgSN-KH.js → language-utils-DjVt82-o.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-ByPWwvPp.js → slot-utils-mZWWDERy.js} +1 -1
- package/lib/cjs/{themeable-component-Doq36ycm.js → themeable-component-DtTN09xK.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +27 -0
- package/lib/collection/components/duet-banner/duet-banner.js +15 -4
- 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.css +12 -3
- package/lib/collection/components/duet-chip/duet-chip.css +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +4 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid/duet-grid.js +7 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +216 -29
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- 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-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +4 -15
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- 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 +53 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -6
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.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.css +9 -14
- 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/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- 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-9a7382a4.entry.js → p-0528f691.entry.js} +1 -1
- package/lib/duet/{p-84777c03.entry.js → p-076d2d0d.entry.js} +1 -1
- package/lib/duet/p-1228299f.entry.js +4 -0
- package/lib/duet/{p-7b849d35.entry.js → p-15d4751c.entry.js} +1 -1
- package/lib/duet/p-167290f7.entry.js +4 -0
- package/lib/duet/{p-6fa7de01.entry.js → p-1995091e.entry.js} +1 -1
- package/lib/duet/{p-DoTAjqzf.js → p-1s1EpusX.js} +1 -1
- package/lib/duet/p-208fdfe6.entry.js +4 -0
- package/lib/duet/p-25ebe6a5.entry.js +4 -0
- package/lib/duet/{p-1ec554c6.entry.js → p-26146512.entry.js} +1 -1
- package/lib/duet/p-263790e3.entry.js +4 -0
- package/lib/duet/p-2c976b5a.entry.js +4 -0
- package/lib/duet/p-338667ab.entry.js +4 -0
- package/lib/duet/{p-1f9c5d58.entry.js → p-3389969d.entry.js} +1 -1
- package/lib/duet/{p-ec72f3a2.entry.js → p-39087512.entry.js} +1 -1
- package/lib/duet/{p-66cb6021.entry.js → p-3c7ba14f.entry.js} +1 -1
- package/lib/duet/p-3d3aff4c.entry.js +4 -0
- package/lib/duet/p-3facac5a.entry.js +4 -0
- package/lib/duet/{p-f2ae56b2.entry.js → p-4107efb5.entry.js} +1 -1
- package/lib/duet/{p-d05bbd77.entry.js → p-41dd144f.entry.js} +1 -1
- package/lib/duet/{p-8625d3ce.entry.js → p-4289c214.entry.js} +1 -1
- package/lib/duet/p-46eaee49.entry.js +4 -0
- package/lib/duet/p-493d938a.entry.js +4 -0
- package/lib/duet/{p-babe244b.entry.js → p-4b032feb.entry.js} +1 -1
- package/lib/duet/{p-e9becc58.entry.js → p-4f638a3d.entry.js} +1 -1
- package/lib/duet/{p-a704d617.entry.js → p-503a290b.entry.js} +1 -1
- package/lib/duet/{p-d71a366e.entry.js → p-50afabfb.entry.js} +1 -1
- package/lib/duet/p-537d3b11.entry.js +4 -0
- package/lib/duet/{p-4da439ae.entry.js → p-55a63695.entry.js} +1 -1
- package/lib/duet/{p-829482da.entry.js → p-59cd72fc.entry.js} +1 -1
- package/lib/duet/{p-288da581.entry.js → p-5a8f14cf.entry.js} +1 -1
- package/lib/duet/{p-2f150cd4.entry.js → p-5b2527f7.entry.js} +1 -1
- package/lib/duet/p-5efda812.entry.js +4 -0
- package/lib/duet/{p-4c37165a.entry.js → p-61105f0d.entry.js} +1 -1
- package/lib/duet/{p-f82a2ab7.entry.js → p-6943a2ef.entry.js} +1 -1
- package/lib/duet/p-6a95d722.entry.js +4 -0
- package/lib/duet/{p-5a6fd350.entry.js → p-6fe283f7.entry.js} +1 -1
- package/lib/duet/p-72c7db64.entry.js +4 -0
- package/lib/duet/{p-02ba799f.entry.js → p-7379c2ed.entry.js} +1 -1
- package/lib/duet/{p-dd8216e7.entry.js → p-75fd0eca.entry.js} +1 -1
- package/lib/duet/{p-066f855b.entry.js → p-79c93372.entry.js} +1 -1
- package/lib/duet/{p-4a325ef1.entry.js → p-7ace4629.entry.js} +1 -1
- package/lib/duet/{p-4cd019a5.entry.js → p-875dd701.entry.js} +1 -1
- package/lib/duet/{p-78a9b684.entry.js → p-8ff78f91.entry.js} +1 -1
- package/lib/duet/{p-16f691fd.entry.js → p-91f39296.entry.js} +1 -1
- package/lib/duet/{p-117970c7.entry.js → p-931b4437.entry.js} +1 -1
- package/lib/duet/{p-4c118ad6.entry.js → p-9500f26b.entry.js} +1 -1
- package/lib/duet/{p-62df87ea.entry.js → p-950c4ec0.entry.js} +1 -1
- package/lib/duet/p-9af77c24.entry.js +4 -0
- package/lib/duet/{p-2d62148e.entry.js → p-9f9576a2.entry.js} +1 -1
- package/lib/duet/{p-CwVyzidG.js → p-BSOF0zb5.js} +1 -1
- package/lib/duet/{p-C-YpEPL-.js → p-BXJZKiJg.js} +1 -1
- package/lib/duet/p-Cq7Ixl9a.js +4 -0
- package/lib/duet/p-DejMEymG.js +4 -0
- package/lib/duet/p-G09pKpI-.js +4 -0
- package/lib/duet/{p-BkHWWyft.js → p-Ob09ol4-.js} +1 -1
- package/lib/duet/p-a0e708db.entry.js +4 -0
- package/lib/duet/{p-15859eb3.entry.js → p-a274b8fd.entry.js} +1 -1
- package/lib/duet/p-a431d704.entry.js +4 -0
- package/lib/duet/{p-15a7a9be.entry.js → p-a582e823.entry.js} +1 -1
- package/lib/duet/{p-0864a12e.entry.js → p-a9094bdc.entry.js} +1 -1
- package/lib/duet/{p-44deeddc.entry.js → p-a94cc8a6.entry.js} +1 -1
- package/lib/duet/p-aWO-HcmJ.js +4 -0
- package/lib/duet/p-ab61831a.entry.js +4 -0
- package/lib/duet/{p-e9886226.entry.js → p-b001a8a4.entry.js} +1 -1
- package/lib/duet/{p-ecb4e99d.entry.js → p-b025df86.entry.js} +1 -1
- package/lib/duet/{p-ad3d8ac8.entry.js → p-b2780442.entry.js} +1 -1
- package/lib/duet/{p-a64da31d.entry.js → p-b37b1542.entry.js} +1 -1
- package/lib/duet/{p-806121b1.entry.js → p-b6354004.entry.js} +1 -1
- package/lib/duet/{p-6dca8f77.entry.js → p-ba6dc53e.entry.js} +1 -1
- package/lib/duet/{p-e18a1599.entry.js → p-babbf633.entry.js} +1 -1
- package/lib/duet/{p-ad08429f.entry.js → p-bc7d4da0.entry.js} +1 -1
- package/lib/duet/{p-2a563d22.entry.js → p-bed6b29f.entry.js} +1 -1
- package/lib/duet/{p-534180fa.entry.js → p-c43669b3.entry.js} +1 -1
- package/lib/duet/{p-0e15fd30.entry.js → p-c4fe8bae.entry.js} +1 -1
- package/lib/duet/{p-433a9f98.entry.js → p-c516bf93.entry.js} +1 -1
- package/lib/duet/{p-92b13088.entry.js → p-c588fc15.entry.js} +1 -1
- package/lib/duet/{p-d079278e.entry.js → p-c745c02a.entry.js} +1 -1
- package/lib/duet/{p-4da25e3d.entry.js → p-ca2fd9dc.entry.js} +1 -1
- package/lib/duet/p-cbedc26b.entry.js +4 -0
- package/lib/duet/{p-6b2697ad.entry.js → p-cd4d12c2.entry.js} +1 -1
- package/lib/duet/{p-148b6203.entry.js → p-d11b094d.entry.js} +1 -1
- package/lib/duet/{p-23475050.entry.js → p-d65a706f.entry.js} +1 -1
- package/lib/duet/{p-34706bbb.entry.js → p-deb90dc7.entry.js} +1 -1
- package/lib/duet/p-e439d733.entry.js +4 -0
- package/lib/duet/{p-0fccda7b.entry.js → p-e882bbb5.entry.js} +1 -1
- package/lib/duet/{p-22641f21.entry.js → p-ed5f5c6b.entry.js} +1 -1
- package/lib/duet/{p-b1f362dc.entry.js → p-ef821bec.entry.js} +1 -1
- package/lib/duet/{p-5bfa5e5d.entry.js → p-f46480c6.entry.js} +1 -1
- package/lib/duet/{p-a745298d.entry.js → p-f6b76f66.entry.js} +1 -1
- package/lib/duet/{p-5fdfb13d.entry.js → p-fc7d6429.entry.js} +1 -1
- package/lib/duet/{p-6fdb09d1.entry.js → p-fd989bd6.entry.js} +1 -1
- package/lib/duet/{p-9440a479.entry.js → p-fe29dee3.entry.js} +1 -1
- package/lib/duet/{p-88216acf.entry.js → p-fe393084.entry.js} +1 -1
- package/lib/duet/{p-BPFqbaxm.js → p-vt84lkeQ.js} +1 -1
- package/lib/esm/{a11y-utils-C6cn5C3e.js → a11y-utils-CROKOfOD.js} +1 -1
- package/lib/esm/{app-globals-CcxHDwb4.js → app-globals-CahJi_2c.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +5 -5
- package/lib/esm/duet-banner.entry.js +19 -8
- 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 +5 -5
- 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 +4 -4
- 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 +4 -4
- package/lib/esm/duet-choice_2.entry.js +7 -7
- 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 +6 -6
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- 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 +4 -4
- package/lib/esm/duet-grid_2.entry.js +11 -10
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +5 -5
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +51 -0
- package/lib/esm/duet-input_2.entry.js +11 -11
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- 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 +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +6 -6
- package/lib/esm/duet-modal.entry.js +12 -12
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +6 -6
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +22 -7
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- 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 +7 -7
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +20 -18
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +9 -9
- 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 +6 -6
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -5
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +14 -19
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +6 -6
- 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 +6 -6
- 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 +8 -8
- package/lib/esm/duet-toggle.entry.js +6 -6
- 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 +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-CEyBUBSM.js → errorcodes.utils-6V_f8y5q.js} +1 -1
- package/lib/esm/{focus-utils-BhO5oz9w.js → focus-utils-CErdQceY.js} +1 -1
- package/lib/esm/{index-BPFqbaxm.js → index-vt84lkeQ.js} +5 -1
- package/lib/esm/{label-BGqhM4kx.js → label-BosP5JdK.js} +1 -1
- package/lib/esm/{language-utils-CNMTW_pZ.js → language-utils-B9dLrWKg.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-BABbKvvc.js → slot-utils-BZXZ33TK.js} +1 -1
- package/lib/esm/{themeable-component-Csv1RXxf.js → themeable-component-CsnFpp6R.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
- package/lib/types/components/duet-input/duet-input.d.ts +0 -2
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components.d.ts +75 -8
- package/package.json +3 -3
- package/lib/duet/p-0964b56d.entry.js +0 -4
- package/lib/duet/p-4fc62376.entry.js +0 -4
- package/lib/duet/p-57165bf0.entry.js +0 -4
- package/lib/duet/p-7c1e8291.entry.js +0 -4
- package/lib/duet/p-7f0aa937.entry.js +0 -4
- package/lib/duet/p-804b326c.entry.js +0 -4
- package/lib/duet/p-8194b05d.entry.js +0 -4
- package/lib/duet/p-98aa7ac5.entry.js +0 -4
- package/lib/duet/p-9c838ec0.entry.js +0 -4
- package/lib/duet/p-B5RO_CRT.js +0 -4
- package/lib/duet/p-C2xFZ1pZ.js +0 -4
- package/lib/duet/p-D5MfS1RP.js +0 -4
- package/lib/duet/p-DixsuovU.js +0 -4
- package/lib/duet/p-b9acaca1.entry.js +0 -4
- package/lib/duet/p-c35c9198.entry.js +0 -4
- package/lib/duet/p-c62aeb2e.entry.js +0 -4
- package/lib/duet/p-c8a66d4b.entry.js +0 -4
- package/lib/duet/p-cfd5c934.entry.js +0 -4
- package/lib/duet/p-d110954d.entry.js +0 -4
- package/lib/duet/p-d92c5cfa.entry.js +0 -4
- package/lib/duet/p-dbab30ea.entry.js +0 -4
- package/lib/duet/p-e76051c3.entry.js +0 -4
- package/lib/duet/p-f51c072f.entry.js +0 -4
- package/lib/duet/p-f82079f2.entry.js +0 -4
|
@@ -136,12 +136,12 @@ export class DuetShowMore {
|
|
|
136
136
|
* Always the last one of the class.
|
|
137
137
|
*/
|
|
138
138
|
render() {
|
|
139
|
-
return (h(Host, { key: '
|
|
139
|
+
return (h(Host, { key: '5a2691671f8db729580e5e163f0a4172065b60a1' }, h("div", { key: 'd00e9ad7eec18c34b53f35be55000cc238e96d41', class: {
|
|
140
140
|
"duet-show-more": true,
|
|
141
141
|
"duet-theme-turva": this.theme === "turva",
|
|
142
142
|
"duet-m-0": this.margin === "none",
|
|
143
143
|
open: this.open,
|
|
144
|
-
} }, h("div", { key: '
|
|
144
|
+
} }, h("div", { key: '4db263318b4e7dd0a0b79d2ce7db9708194246c4', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: 'e3a7ffd7b7acf798ecbcbacd26e721471c48c447', class: { "slotted-content": true } }, h("slot", { key: 'db2dbe58ad4f75648f0e98c80dd00a1909f745f9' }))), h("duet-button", { key: '9ece7898fa0ad9effd08cc728b38d580aad8e906', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: '4f697ac0915ece52e0edb022923f05e2c2812cb1' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
145
145
|
}
|
|
146
146
|
static get is() { return "duet-show-more"; }
|
|
147
147
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
width: 100%;
|
|
30
30
|
visibility: hidden;
|
|
31
31
|
opacity: 0;
|
|
32
|
+
transition: opacity 300ms ease;
|
|
33
|
+
transition-delay: 300ms;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
:host([open]:not([open=false])) ::slotted(*) {
|
|
@@ -62,28 +64,20 @@
|
|
|
62
64
|
.duet-slideout .dialog {
|
|
63
65
|
position: fixed;
|
|
64
66
|
top: 0;
|
|
67
|
+
right: 0;
|
|
65
68
|
bottom: 0;
|
|
66
|
-
left:
|
|
69
|
+
left: auto;
|
|
67
70
|
z-index: 600;
|
|
68
|
-
width: 100
|
|
69
|
-
height: 100%;
|
|
71
|
+
width: min(450px, 100%);
|
|
70
72
|
padding-bottom: 75px;
|
|
71
73
|
overflow-y: auto;
|
|
72
74
|
box-shadow: 0 3px 6px 0 rgba(0, 41, 77, 0.1) inset;
|
|
75
|
+
transition: bottom 300ms ease;
|
|
76
|
+
transition-delay: 0s;
|
|
73
77
|
}
|
|
74
78
|
.duet-slideout .dialog:not(.modal) {
|
|
75
79
|
box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.2);
|
|
76
80
|
}
|
|
77
|
-
@media (min-width: 62em) {
|
|
78
|
-
.duet-slideout .dialog {
|
|
79
|
-
right: 0;
|
|
80
|
-
left: auto;
|
|
81
|
-
width: 500px;
|
|
82
|
-
padding-bottom: 0;
|
|
83
|
-
transition: right 300ms ease;
|
|
84
|
-
transition-delay: 0s;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
81
|
.duet-slideout .dialog .top-container.has-sticky-header-slot {
|
|
88
82
|
position: sticky;
|
|
89
83
|
top: 0;
|
|
@@ -102,6 +96,8 @@
|
|
|
102
96
|
align-items: center;
|
|
103
97
|
justify-content: flex-end;
|
|
104
98
|
padding: 4px;
|
|
99
|
+
opacity: 1;
|
|
100
|
+
transition: opacity 300ms ease;
|
|
105
101
|
}
|
|
106
102
|
.duet-slideout .dialog .top button {
|
|
107
103
|
cursor: pointer;
|
|
@@ -127,17 +123,28 @@
|
|
|
127
123
|
align-items: flex-start;
|
|
128
124
|
justify-content: center;
|
|
129
125
|
width: 100%;
|
|
130
|
-
padding:
|
|
126
|
+
padding: 12px 20px;
|
|
127
|
+
opacity: 1;
|
|
128
|
+
transition: padding 600ms ease, opacity 300ms ease;
|
|
129
|
+
transition-delay: 300ms;
|
|
130
|
+
}
|
|
131
|
+
@media (min-width: 36em) {
|
|
132
|
+
.duet-slideout .dialog .items {
|
|
133
|
+
padding: 16px 28px;
|
|
134
|
+
}
|
|
131
135
|
}
|
|
132
136
|
.duet-slideout .dialog.hidden {
|
|
137
|
+
bottom: 100vh;
|
|
133
138
|
pointer-events: none;
|
|
134
139
|
visibility: hidden;
|
|
140
|
+
transition: 300ms ease;
|
|
135
141
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
142
|
+
.duet-slideout .dialog.hidden .items {
|
|
143
|
+
padding-top: 28px;
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
.duet-slideout .dialog.hidden .top {
|
|
147
|
+
opacity: 0;
|
|
141
148
|
}
|
|
142
149
|
.duet-slideout.duet-theme-turva .dialog {
|
|
143
150
|
box-shadow: 0 3px 6px 0 rgba(23, 28, 58, 0.1) inset;
|
|
@@ -294,16 +294,16 @@ export class DuetSlideout {
|
|
|
294
294
|
};
|
|
295
295
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
296
296
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
297
|
-
return (h(Host, { key: '
|
|
297
|
+
return (h(Host, { key: 'ad0060e5e7d7b09eda9fe1c00d917a24cd72425e' }, h("div", { key: 'ffe49d23661b5297b214ce27e88defba216f840e', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: 'ed8951a46a9e18802724ca812ad1c0248d7ba334', visible: this.open, zIndex: "600" }), h("div", { key: '1fdbc5b634dc380494c1b389514c4bb24c3867e5', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
298
298
|
dialog: true,
|
|
299
299
|
hidden: !this.open,
|
|
300
300
|
modal: this.modal,
|
|
301
|
-
}, style: styles }, h(FocusGuard, { key: '
|
|
301
|
+
}, style: styles }, h(FocusGuard, { key: '0dc00c309bd543a23e1ea874cb6398c2c39e1411', moveFocusTo: this.closeButton }), h("div", { key: '8d2adfc16b01db12ca6f7c47810cdee6021e5460', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'e389d21af73e9d8163ca89a167f0bbd596ba3450', class: "top" }, h("button", { key: '2bd8df761d9064e5ef73c4ebc98485e1754afe2e', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
302
302
|
"slideout-close": true,
|
|
303
303
|
active: this.open,
|
|
304
|
-
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '
|
|
304
|
+
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: 'cb4da32359194cfa8c1cea2d09f5ebdfae3d1537', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'ede6365d0ba52b6794916367a4e42535a3666b98', class: "sticky-header" }, h("slot", { key: '58a33822c3e852ebd1e69fdc6f4be40f76e3c8a8', name: "sticky-header" }))), h("div", { key: '216d18823ac4376220aa985f5043ff3aa293fd40', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
305
305
|
items: true,
|
|
306
|
-
} }, h("slot", { key: '
|
|
306
|
+
} }, h("slot", { key: '495d7d363e0b0697b0733bec84c57cd234cdfcc9' })), h(FocusGuard, { key: 'a74db283e802ea746bf2777ffb4bd36f35412886', moveFocusTo: this.closeButton })))));
|
|
307
307
|
}
|
|
308
308
|
static get is() { return "duet-slideout"; }
|
|
309
309
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.duet-slideout-lang {
|
|
26
26
|
display: flex;
|
|
27
|
-
gap:
|
|
27
|
+
gap: 16px;
|
|
28
28
|
align-items: center;
|
|
29
29
|
justify-content: flex-start;
|
|
30
30
|
width: min-content;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
::slotted(:not(:last-child))::after {
|
|
44
44
|
position: absolute;
|
|
45
45
|
top: 25%;
|
|
46
|
-
right: -
|
|
46
|
+
right: -14px;
|
|
47
47
|
width: 2px;
|
|
48
48
|
height: 50%;
|
|
49
49
|
content: "";
|
|
@@ -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: '8847b4894f616c58b889e51d183c71ec672554fc' }, h("div", { key: '86a6652e67569a898f9aceea571fd656ae22bfa6', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '038bdf514daccd3f28a27ad0225f4a46ea84ecea', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: '49e912e3e178c2d4c3042c4d9d1ae39991bbef52' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "duet-slideout-lang"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.duet-slideout-link {
|
|
28
28
|
position: relative;
|
|
29
29
|
display: flex;
|
|
30
|
-
gap:
|
|
30
|
+
gap: 16px;
|
|
31
31
|
align-items: center;
|
|
32
32
|
justify-content: flex-start;
|
|
33
33
|
width: 100%;
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
--active-translate-y: 1px;
|
|
79
79
|
}
|
|
80
80
|
.duet-slideout-link.medium {
|
|
81
|
-
font-size:
|
|
81
|
+
font-size: 1rem;
|
|
82
82
|
font-weight: 600;
|
|
83
83
|
}
|
|
84
84
|
.duet-slideout-link.large {
|
|
85
|
-
font-size: 1.
|
|
85
|
+
font-size: 1.25rem;
|
|
86
86
|
font-weight: 800;
|
|
87
87
|
}
|
|
88
88
|
.duet-slideout-link .label {
|
|
@@ -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: 'eca2104ff848dfd3c52bab08c4377d19e374d13d' }, h("a", { key: '9915adbb807d80081d2d791f36926a5b8a6b2a3e', 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: 'eabe8fda17546094fafc6fa4a253e05c63fc1938', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: '98d30980e7ac325c36be8bb86b788d60cd36831d', class: "label" }, h("span", { key: '7f96584e0ee24069a7cc9afc2649d3a0a7fe8758' }, h("span", { key: '2b844eb1ae6ff0f7215e7979776c673e6f1accfb', class: "label-container" }, h("span", { key: 'd6de09afc6dbb0cfd6855f98e34c6b7b0b2c6421', class: "label-content" }, h("slot", { key: 'ef0c11c80556e88596d115ef534f86cc044362f8' })), this.external && (h("duet-icon", { key: 'ffe4c9d8a90105199e4a79702847705f958adf00', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: 'd329594665a0964175ea0872747342f4e070227d', name: "description" })), this.caret && (h("duet-icon", { key: 'aafabb173724e1a6b736f289a7d76582f03f78c4', 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"; }
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
.duet-slideout-panel .link {
|
|
43
43
|
position: relative;
|
|
44
44
|
display: flex;
|
|
45
|
-
gap:
|
|
45
|
+
gap: 16px;
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: flex-start;
|
|
48
48
|
width: 100%;
|
|
@@ -64,20 +64,6 @@
|
|
|
64
64
|
line-height: normal;
|
|
65
65
|
vertical-align: baseline;
|
|
66
66
|
}
|
|
67
|
-
.duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge {
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 16px;
|
|
71
|
-
display: inline-block;
|
|
72
|
-
width: 6px;
|
|
73
|
-
height: 6px;
|
|
74
|
-
background: rgb(247, 178, 40);
|
|
75
|
-
border-radius: 50%;
|
|
76
|
-
box-shadow: 0 0 0 1px #c18b1f;
|
|
77
|
-
}
|
|
78
|
-
.duet-theme-turva .duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge {
|
|
79
|
-
background: rgb(247, 178, 40);
|
|
80
|
-
}
|
|
81
67
|
@media (min-width: 62em) {
|
|
82
68
|
.duet-slideout-panel .link .duet-slideout-icon {
|
|
83
69
|
margin-right: 8px;
|
|
@@ -95,11 +81,11 @@
|
|
|
95
81
|
font-weight: 600;
|
|
96
82
|
}
|
|
97
83
|
.duet-slideout-panel .link .label-text.medium {
|
|
98
|
-
font-size:
|
|
84
|
+
font-size: 1rem;
|
|
99
85
|
font-weight: 600;
|
|
100
86
|
}
|
|
101
87
|
.duet-slideout-panel .link .label-text.large {
|
|
102
|
-
font-size: 1.
|
|
88
|
+
font-size: 1.25rem;
|
|
103
89
|
font-weight: 800;
|
|
104
90
|
}
|
|
105
91
|
.duet-slideout-panel .link:focus {
|
|
@@ -128,9 +114,9 @@
|
|
|
128
114
|
.duet-slideout-panel .dialog {
|
|
129
115
|
position: fixed;
|
|
130
116
|
top: 0;
|
|
131
|
-
|
|
117
|
+
right: 0;
|
|
132
118
|
z-index: 600;
|
|
133
|
-
width: 100
|
|
119
|
+
width: min(450px, 100%);
|
|
134
120
|
height: 100%;
|
|
135
121
|
overflow-y: auto;
|
|
136
122
|
visibility: visible;
|
|
@@ -174,8 +160,8 @@
|
|
|
174
160
|
}
|
|
175
161
|
.duet-slideout-panel .top span {
|
|
176
162
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
177
|
-
font-size: 1rem;
|
|
178
|
-
font-weight:
|
|
163
|
+
font-size: 1.1rem;
|
|
164
|
+
font-weight: 700;
|
|
179
165
|
line-height: 1.5;
|
|
180
166
|
color: rgb(8, 42, 77);
|
|
181
167
|
opacity: 1;
|
|
@@ -194,10 +180,18 @@
|
|
|
194
180
|
flex-direction: column;
|
|
195
181
|
align-items: flex-start;
|
|
196
182
|
justify-content: flex-start;
|
|
197
|
-
padding:
|
|
183
|
+
padding: 12px 20px;
|
|
198
184
|
overflow-y: auto;
|
|
199
185
|
color: rgb(8, 42, 77);
|
|
200
186
|
}
|
|
187
|
+
@media (min-width: 36em) {
|
|
188
|
+
.duet-slideout-panel .items {
|
|
189
|
+
padding: 16px 28px;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
.duet-slideout-panel duet-indicator {
|
|
193
|
+
top: 4px;
|
|
194
|
+
}
|
|
201
195
|
.duet-slideout-panel.duet-theme-turva .link {
|
|
202
196
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
203
197
|
color: rgb(23, 28, 58);
|
|
@@ -49,7 +49,7 @@ export class DuetSlideoutPanel {
|
|
|
49
49
|
/**
|
|
50
50
|
* Background color. Use one of the color tokens.
|
|
51
51
|
*/
|
|
52
|
-
this.backgroundColor = "
|
|
52
|
+
this.backgroundColor = "gray-lightest";
|
|
53
53
|
/**
|
|
54
54
|
* Show a badge that indicates something has changed.
|
|
55
55
|
*/
|
|
@@ -169,33 +169,28 @@ export class DuetSlideoutPanel {
|
|
|
169
169
|
* Always the last one in the class.
|
|
170
170
|
*/
|
|
171
171
|
render() {
|
|
172
|
-
const defaultBackgroundColor = this.backgroundColor === "primary-lightest"
|
|
173
|
-
? this.theme === "turva"
|
|
174
|
-
? "gray-lighter"
|
|
175
|
-
: this.backgroundColor
|
|
176
|
-
: this.backgroundColor;
|
|
177
172
|
const styles = {
|
|
178
|
-
background: getColorByName(
|
|
173
|
+
background: getColorByName(this.backgroundColor, this.theme),
|
|
179
174
|
};
|
|
180
175
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
181
176
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
182
|
-
return (h(Host, { key: '
|
|
177
|
+
return (h(Host, { key: '91e1bfb50346e6f0b7d7b93f6d9cb16e84df9297' }, h("div", { key: '80891454e08a69f87d42ca5879c85a7e1eab6d5c', class: {
|
|
183
178
|
"duet-slideout-panel": true,
|
|
184
179
|
"duet-theme-turva": this.theme === "turva",
|
|
185
180
|
active: this.open,
|
|
186
|
-
} }, h("button", { key: '
|
|
181
|
+
} }, this.badge && h("duet-indicator", { key: '2dc9f2f3b5eebbc44158f9c7795ee2e9dadbfeef', variation: "change" }), h("button", { key: 'fe2d4c0f8dc01d791946a720592101e83dc016ea', 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
182
|
link: true,
|
|
188
183
|
active: this.active,
|
|
189
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '
|
|
184
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: 'b38f6287ae32328d38478369c11fcf53af075731', class: "duet-slideout-icon" }, h("duet-icon", { key: '7b8e0204a8a23daf0ece9b96b981921dd7dc6e84', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: '15944b22ad22f757436034fb8ef1465d19caca6d', class: "label" }, h("span", { key: '7bed6412b760df7878162e7a683488ccf91b01e9', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '4700d12f643dd979d5c90a1bf193f9ef55e5e584', name: "label" })), h("duet-icon", { key: '99c0ce44ec6a8abec00a1379a3bbd695c728e873', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: 'ea37489cb1f9476b74c7e14311011293002791ef', ref: element => (this.dialog = element), class: {
|
|
190
185
|
dialog: true,
|
|
191
186
|
hidden: !this.open,
|
|
192
|
-
}, style: styles }, h(FocusGuard, { key: '
|
|
187
|
+
}, style: styles }, h(FocusGuard, { key: 'f936fd64a01150ec06f4007872e38ed39f2d13a3', moveFocusTo: this.closeButton }), h("div", { key: '12af8aafbb83a7470bdf6d43def68492ea0b950d', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '71ee6b6d138c1dfc009f41460f43676ba7ee405b', class: "top" }, h("button", { key: '8b1170da102425174dfe9ec6a12996cb3d1fa123', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
193
188
|
back: true,
|
|
194
|
-
}, onClick: this.onClick }, h("duet-icon", { key: '
|
|
189
|
+
}, onClick: this.onClick }, h("duet-icon", { key: '99d2cf1b6a7b2584460187cce27f9f9f0713f58e', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '7c41e4f0d2f3c71cfaf03f3a0350f9d390b3e0ec' }, this.label.innerHTML), h("button", { key: '96024d91d7946d05f62fc2c7f051bfce152e07f7', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '89b82c6c543718835c92fcf8ed4c4b9882eea0fe', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '3665563f52fa7947c426394d637447ae157e7a83', class: "sticky-header" }, h("slot", { key: '2db3b51deffa106264a66fddb59d2e614a7f1691', name: "sticky-header" }))), h("div", { key: 'e2e29f223e33babd0c6186802383f2f4578b5063', tabindex: "-1", role: "menu",
|
|
195
190
|
//TODO: slideout menu fades out, needs to be instant
|
|
196
191
|
id: "menu", "aria-labelledby": "button", class: {
|
|
197
192
|
items: true,
|
|
198
|
-
} }, h("slot", { key: '
|
|
193
|
+
} }, h("slot", { key: 'ebdc8c4f45b0670a30806ce49c1dbf812e47ec14' })), h(FocusGuard, { key: 'db918af81f016c137a0551589daf1b2848239817', moveFocusTo: this.closeButton })))));
|
|
199
194
|
}
|
|
200
195
|
static get is() { return "duet-slideout-panel"; }
|
|
201
196
|
static get encapsulation() { return "shadow"; }
|
|
@@ -341,7 +336,7 @@ export class DuetSlideoutPanel {
|
|
|
341
336
|
"getter": false,
|
|
342
337
|
"setter": false,
|
|
343
338
|
"reflect": true,
|
|
344
|
-
"defaultValue": "\"
|
|
339
|
+
"defaultValue": "\"gray-lightest\""
|
|
345
340
|
},
|
|
346
341
|
"badge": {
|
|
347
342
|
"type": "boolean",
|
package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.duet-slideout-panel-dropdown button {
|
|
45
45
|
position: relative;
|
|
46
46
|
display: flex;
|
|
47
|
-
gap:
|
|
47
|
+
gap: 16px;
|
|
48
48
|
align-items: center;
|
|
49
49
|
justify-content: flex-start;
|
|
50
50
|
width: 100%;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
justify-content: center;
|
|
90
90
|
width: 100%;
|
|
91
91
|
max-height: 1000px;
|
|
92
|
-
padding: 4px 20px 8px
|
|
92
|
+
padding: 4px 20px 8px 36px;
|
|
93
93
|
overflow-y: auto;
|
|
94
94
|
visibility: visible;
|
|
95
95
|
transition: max-height 0.3s ease-in, padding-bottom 0.3s ease-in;
|
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: '74023ff3094ea4e1867ae58690abaa3f338053e7' }, h("div", { key: '0a0de8be47b2d48bc9f0c1564d458af29ee2e05f', 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: '06d4e99fe87e549a17af9dc8100528b349ff51ba', 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: '0822390f41e67611f8e441bea52420840e010f9e', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: '379e21cd716611030dc29ddf1caf36aa44ea722d', class: "label" }, h("slot", { key: '9f4235a7e7c71766070591db1fb2186cf11e395f', name: "label" }), h("duet-icon", { key: 'e138b8d3f0d3218d3585d463a5ee7202647ef623', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: '64cb95df7ee047d6de44a0f4187beec77fd25770', 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: '83cd9c5df8e8e8399f10f4b709fcbb08bcabb919' })))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "duet-slideout-panel-dropdown"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,7 +23,7 @@ export class DuetSpacer {
|
|
|
23
23
|
* Always the last one in the class.
|
|
24
24
|
*/
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '6765403ee0beffd36f0e97c767260714c18bdc19', class: {
|
|
27
27
|
"duet-spacer": true,
|
|
28
28
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
29
29
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -33,11 +33,11 @@ export class DuetSpinner {
|
|
|
33
33
|
*/
|
|
34
34
|
render() {
|
|
35
35
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '02a74b72a4b22798ac1a768e41793ee920494ca0', class: {
|
|
37
37
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
38
38
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
39
39
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
40
|
-
} }, h("div", { key: '
|
|
40
|
+
} }, h("div", { key: 'e4d1b98fbcdc05241e8ea87fe91a944be89d1bff', class: {
|
|
41
41
|
"duet-spinner": true,
|
|
42
42
|
[this.size]: true,
|
|
43
43
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -85,10 +85,10 @@ export class DuetStatusIcon {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: '7f80e70111b54c6828f96f9b4701ed969e592e0e', 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: '8a5d1ee9135d47f515b8e74bbbaea58d7e6815b6', 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"; }
|
|
@@ -93,13 +93,13 @@ export class DuetStep {
|
|
|
93
93
|
* Always the last one in the class.
|
|
94
94
|
*/
|
|
95
95
|
render() {
|
|
96
|
-
return (h("div", { key: '
|
|
96
|
+
return (h("div", { key: '369f656f742589a178915ed4e72365d3dda7b907', class: {
|
|
97
97
|
"duet-step": true,
|
|
98
98
|
[`is-${this.state}`]: true,
|
|
99
99
|
"rounded-top": this.roundedTop,
|
|
100
100
|
"rounded-bottom": this.roundedBottom,
|
|
101
101
|
"duet-theme-turva": this.theme === "turva",
|
|
102
|
-
} }, h("div", { key: '
|
|
102
|
+
} }, h("div", { key: '486a6f5b91cd3a6435bd02202b2191077469044d', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: '80895fe6a9d2581b54ddeb9095f50ab2ae2c40ec', "aria-hidden": "true" }, h("div", { key: '8b38a04e831e7feb20bfbccaf56a017b0c52260d', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '2220531e141df3a5cd47dbcecdf5992265af1fff', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: '80ba3be5b395b09c02a15ddabc70319bdb710ec2', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: '7426ac138a49a07b9d914c7b92b24dde89fd2220' }, h("duet-heading", { key: '2cf9505b640081b6bc33bf726aa95fb8b49a100e', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: '8888b2e5b45f4bc049454ef6166b97af508a09b6', direction: "horizontal", size: "large" }), h("div", { key: '2931ae9df30278381ee5634a45d3bb934ae34215', class: "duet-step-heading-slot" }, h("slot", { key: '0f4314f52c16ef8f3929cea2bf0b5e405168593e', name: "heading-content" }))), h("div", { key: '43264d21b4cb69938551d3e81d4378369c4b23b3', class: "duet-step-content-wrapper" }, h("div", { key: '4913f58605148bb81539d7a24b29b288210f2f3d', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: '7e7ce320adcd8b1dd456fdb63249c983b03a829e' })))));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "duet-step"; }
|
|
105
105
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class DuetStepper {
|
|
|
118
118
|
* Always the last one in the class.
|
|
119
119
|
*/
|
|
120
120
|
render() {
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: 'df89f1e452d33048371e02ceb399b3392e370b00', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '41faad40942a4fbc0bfec56801d76f6972f87eb4', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: '225714f663a988bfcca3ae1ff3846bf9bafa12fb', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: 'e24151a3887c08c59be65fb9b9ab14be52db5fa7' }))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "duet-stepper"; }
|
|
124
124
|
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: '463af77c5ac9d7a775876cfc005df160c5e7fdfa' }, h("nav", { key: 'fcbdbfc332d352007b1122ffa65cd6d13012a559', 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: '98fadd59813f2aae19d4cb5d4734d73a98d4bb7e', 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: 'dc38b3df13d3a4d1b4a9c78c53a9fc68b932152e', class: "label" }, h("slot", { key: '128302a4e4c2c6e68d9fd8cb96d1439db8daf800', name: "label" }), h("duet-icon", { key: '0d4d0b35713d68685084568f0f95f1818b8deaca', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '7396ba0b29224cfa487e725604ff50dab010cdeb', class: {
|
|
141
141
|
"menu-container": true,
|
|
142
142
|
hidden: !this.open,
|
|
143
|
-
}, role: "presentation" }, h("div", { key: '
|
|
143
|
+
}, role: "presentation" }, h("div", { key: '4b5178a06a8933dfb9be60276a1a893158c62aaa', 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: '71ee3de51b625b340635a30fb39292e25ddfc116', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '4baa81a1de7c328e826df2f752075a9c4b05af0f' }), h("div", { key: '38b755c720305c3627d82a5e53af380752616396', class: "list-padding" }))), h("duet-overlay", { key: '62afaa179b2175f4c4c6cd56c6773675cffc061c', "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: 'b08d71c303bbbb5dc488ccb9df3a6606cbcee45f', role: "listitem" }, h("div", { key: 'f27808ba704701f0857e90d8c4474f11f2bd284d', 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: 'da50cea3b3daea0da483dc01649345a9fcc27d55', 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: '41562541f2cf4bbe9e8d6ccb3214b8fc5b44079f', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '8b2782607b3478bc491ce2fa423257d4233968fa', class: "label" }, h("span", { key: '5b22aff9852f284416e15d60b1a262e963ff228e', class: "label-text" }, h("slot", { key: 'aec50191a12adf0fbd6f9e388c2dc09954d21f83', name: "label" })), h("duet-icon", { key: '154795bda221d38ca73b47a86c97da4c6e4d573b', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '574669c2280fa1e7e4d14666f95fbe912a068119', 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: '9a69e63aae77e184049ed7d8f7f511d47eca642e' })))));
|
|
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: '206adf55a559a97afad7c5bc107b46f6a099d8c0' }, h("a", { key: 'a61437b76e1ecd5c7d61b773b0b97fe43c457bc5', 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: '50c64c74c7f21aebcb34252b9a5fbf75c391c0d3', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '0e697759844c9f0255d18fdb41765290f1389581', class: "label-container" }, h("span", { key: '3fafa6fece2c5188ec289dbc6fab760d49c73fb4', class: "label" }, h("slot", { key: '498dacafcd6fa3c3d097e9bcceb9e78c906cc236' })), this.caret && h("duet-icon", { key: 'd7055d84b2cd8de873b0400e7b3434f7670f987a', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '40d559b351fcc4d3f56f26045d065a55b840c740', 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: '35be20639e3574ca775aa4b697485c84a1512045', role: "listitem" }, h(TagName, { key: '10e74fbfad350fa687d2ed5c6d5bfa6c3c3b7a08', 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: 'e4de062ea87077cdf5ab2f80a72cb746d10b32e9', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '1829e95b6db1e8970ca53e5f8332b0aa97df310a', class: "label" }, h("span", { key: '815b45070604d6a9fc3f875677119480812c448d', class: "label-text" }, h("slot", { key: '195a9798c946491c1ec6318a99b5738e92d68f58' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: '8718695a96ec8294833a18791aeefbe51526308f', 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: '43fe2f21e9f7ce5b2ea4a31fb4ac6f9f76b7dea7', role: "listitem" }, h("a", { key: '78ffb34f6f54b32f8c8401139b23b34a5fe9ef95', 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: 'c42d8f5d5fe3c4b9d4dbcfe3151a1ee2c7be2ec2', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: 'a2e72daf94cc2c40ab025e399c949b4f8111bdea', class: "label" }, h("slot", { key: 'a5fb89a7dc0aea64b82a6be83104f8b9971066c8' })))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-submenu-bar-link"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|