@duetds/components 10.0.0-alpha.25 → 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 +460 -329
- package/hydrate/index.mjs +460 -329
- package/lib/cjs/{a11y-utils-BeS3x4Hg.js → a11y-utils-B33qnv_c.js} +1 -1
- package/lib/cjs/{app-globals-BvljEFtV.js → app-globals-DxEBgBDv.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 +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 +6 -6
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +14 -8
- 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 +36 -29
- 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 +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 +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- 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 +8 -8
- 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 +13 -13
- 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 +30 -25
- 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 +8 -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 +9 -9
- 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 +7 -7
- 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 +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 +10 -10
- 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-CwTzu57-.js → errorcodes.utils-D9V4NJkh.js} +1 -1
- package/lib/cjs/{focus-utils-Dh4b8BiX.js → focus-utils-2MQWj2yf.js} +1 -1
- package/lib/cjs/{index-D3O_5Hr7.js → index-CgbT-GDe.js} +5 -1
- package/lib/cjs/{label-8AXhdqJy.js → label-B2EZulEI.js} +1 -1
- package/lib/cjs/{language-utils-CMK9eR4Q.js → language-utils-DjVt82-o.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-BIdgEejh.js → slot-utils-mZWWDERy.js} +1 -1
- package/lib/cjs/{themeable-component-B3llZmjN.js → themeable-component-DtTN09xK.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- 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-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-card/duet-card.js +36 -4
- 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/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/duet-grid.js +7 -6
- 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 +282 -0
- 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 +6 -6
- 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 +4 -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 +15 -13
- 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-83f6beb5.entry.js → p-0528f691.entry.js} +1 -1
- package/lib/duet/{p-fb3b8e0f.entry.js → p-076d2d0d.entry.js} +1 -1
- package/lib/duet/p-1228299f.entry.js +4 -0
- package/lib/duet/{p-37222c50.entry.js → p-15d4751c.entry.js} +1 -1
- package/lib/duet/p-167290f7.entry.js +4 -0
- package/lib/duet/p-1995091e.entry.js +4 -0
- package/lib/duet/{p-DyXNfxdT.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-c6479694.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-7a9f3475.entry.js → p-3389969d.entry.js} +1 -1
- package/lib/duet/{p-30ade10d.entry.js → p-39087512.entry.js} +1 -1
- package/lib/duet/{p-402c8cd9.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-ec6e097b.entry.js → p-4107efb5.entry.js} +1 -1
- package/lib/duet/p-41dd144f.entry.js +4 -0
- package/lib/duet/{p-c8308bec.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-9973c0dc.entry.js → p-4b032feb.entry.js} +1 -1
- package/lib/duet/{p-64f8d654.entry.js → p-4f638a3d.entry.js} +1 -1
- package/lib/duet/{p-04ce95ba.entry.js → p-503a290b.entry.js} +1 -1
- package/lib/duet/p-50afabfb.entry.js +4 -0
- package/lib/duet/p-537d3b11.entry.js +4 -0
- package/lib/duet/{p-72c2ba6b.entry.js → p-55a63695.entry.js} +1 -1
- package/lib/duet/{p-35ac072d.entry.js → p-59cd72fc.entry.js} +1 -1
- package/lib/duet/{p-06ed84cb.entry.js → p-5a8f14cf.entry.js} +1 -1
- package/lib/duet/{p-73ce0ef8.entry.js → p-5b2527f7.entry.js} +1 -1
- package/lib/duet/p-5efda812.entry.js +4 -0
- package/lib/duet/{p-a440c5b3.entry.js → p-61105f0d.entry.js} +1 -1
- package/lib/duet/{p-dee8ff90.entry.js → p-6943a2ef.entry.js} +1 -1
- package/lib/duet/p-6a95d722.entry.js +4 -0
- package/lib/duet/{p-4628e002.entry.js → p-6fe283f7.entry.js} +1 -1
- package/lib/duet/p-72c7db64.entry.js +4 -0
- package/lib/duet/{p-9a1f29ac.entry.js → p-7379c2ed.entry.js} +1 -1
- package/lib/duet/p-75fd0eca.entry.js +4 -0
- package/lib/duet/{p-6aa6ce7d.entry.js → p-79c93372.entry.js} +1 -1
- package/lib/duet/{p-2057cc55.entry.js → p-7ace4629.entry.js} +1 -1
- package/lib/duet/p-875dd701.entry.js +4 -0
- package/lib/duet/{p-867aab83.entry.js → p-8ff78f91.entry.js} +1 -1
- package/lib/duet/{p-64ebf5e9.entry.js → p-91f39296.entry.js} +1 -1
- package/lib/duet/{p-71a6b137.entry.js → p-931b4437.entry.js} +1 -1
- package/lib/duet/{p-d2ceafd6.entry.js → p-9500f26b.entry.js} +1 -1
- package/lib/duet/{p-3dd4fbf1.entry.js → p-950c4ec0.entry.js} +1 -1
- package/lib/duet/{p-ab0cd4e5.entry.js → p-9af77c24.entry.js} +1 -1
- package/lib/duet/{p-4aece4f9.entry.js → p-9f9576a2.entry.js} +1 -1
- package/lib/duet/p-BSOF0zb5.js +4 -0
- package/lib/duet/p-BWvtXbhA.js +4 -0
- package/lib/duet/{p-DdwVwK5C.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-T5kkooky.js → p-G09pKpI-.js} +1 -1
- package/lib/duet/{p-BaR6ufr4.js → p-Ob09ol4-.js} +1 -1
- package/lib/duet/p-a0e708db.entry.js +4 -0
- package/lib/duet/{p-e9421a0e.entry.js → p-a274b8fd.entry.js} +1 -1
- package/lib/duet/p-a431d704.entry.js +4 -0
- package/lib/duet/{p-71603edd.entry.js → p-a582e823.entry.js} +1 -1
- package/lib/duet/p-a9094bdc.entry.js +4 -0
- package/lib/duet/{p-625347d3.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-5564a39c.entry.js → p-b001a8a4.entry.js} +1 -1
- package/lib/duet/{p-d96af9c9.entry.js → p-b025df86.entry.js} +1 -1
- package/lib/duet/{p-15593e3e.entry.js → p-b2780442.entry.js} +1 -1
- package/lib/duet/{p-0ebeee02.entry.js → p-b37b1542.entry.js} +1 -1
- package/lib/duet/{p-bcbe4d11.entry.js → p-b6354004.entry.js} +1 -1
- package/lib/duet/{p-a09c6e42.entry.js → p-ba6dc53e.entry.js} +1 -1
- package/lib/duet/{p-6a6e4d82.entry.js → p-babbf633.entry.js} +1 -1
- package/lib/duet/{p-a72b8cf4.entry.js → p-bc7d4da0.entry.js} +1 -1
- package/lib/duet/{p-2e34dd28.entry.js → p-bed6b29f.entry.js} +1 -1
- package/lib/duet/{p-ba2b47d3.entry.js → p-c43669b3.entry.js} +1 -1
- package/lib/duet/{p-a4a768bf.entry.js → p-c4fe8bae.entry.js} +1 -1
- package/lib/duet/{p-9fff2189.entry.js → p-c516bf93.entry.js} +1 -1
- package/lib/duet/{p-d0f3a2e6.entry.js → p-c588fc15.entry.js} +1 -1
- package/lib/duet/p-c745c02a.entry.js +4 -0
- package/lib/duet/{p-67290546.entry.js → p-ca2fd9dc.entry.js} +1 -1
- package/lib/duet/{p-652eefa8.entry.js → p-cbedc26b.entry.js} +1 -1
- package/lib/duet/{p-2d3d11db.entry.js → p-cd4d12c2.entry.js} +1 -1
- package/lib/duet/{p-65a8dd89.entry.js → p-d11b094d.entry.js} +1 -1
- package/lib/duet/{p-774cf9f5.entry.js → p-d65a706f.entry.js} +1 -1
- package/lib/duet/{p-466ef37c.entry.js → p-deb90dc7.entry.js} +1 -1
- package/lib/duet/p-e439d733.entry.js +4 -0
- package/lib/duet/p-e882bbb5.entry.js +4 -0
- package/lib/duet/{p-5ab64521.entry.js → p-ed5f5c6b.entry.js} +1 -1
- package/lib/duet/{p-7c814d9a.entry.js → p-ef821bec.entry.js} +1 -1
- package/lib/duet/p-f46480c6.entry.js +4 -0
- package/lib/duet/{p-66c7af01.entry.js → p-f6b76f66.entry.js} +1 -1
- package/lib/duet/{p-94e33308.entry.js → p-fc7d6429.entry.js} +1 -1
- package/lib/duet/{p-693fda6b.entry.js → p-fd989bd6.entry.js} +1 -1
- package/lib/duet/{p-bf5fae27.entry.js → p-fe29dee3.entry.js} +1 -1
- package/lib/duet/{p-2792ec0b.entry.js → p-fe393084.entry.js} +1 -1
- package/lib/duet/{p-B_VBeM3r.js → p-vt84lkeQ.js} +1 -1
- package/lib/esm/{a11y-utils-CXqm1pj1.js → a11y-utils-CROKOfOD.js} +1 -1
- package/lib/esm/{app-globals-s-_CGo5t.js → app-globals-CahJi_2c.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 +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 +6 -6
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +14 -8
- 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 +36 -29
- 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 +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 +5 -5
- package/lib/esm/duet-grid_2.entry.js +11 -10
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +6 -6
- 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 +8 -8
- 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 +13 -13
- 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 +30 -25
- 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 +8 -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 +9 -9
- 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 +7 -7
- 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 +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 +10 -10
- 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-Bre55Njd.js → errorcodes.utils-6V_f8y5q.js} +1 -1
- package/lib/esm/{focus-utils-vvgYykmM.js → focus-utils-CErdQceY.js} +1 -1
- package/lib/esm/{index-B_VBeM3r.js → index-vt84lkeQ.js} +5 -1
- package/lib/esm/{label-l-Eza5H3.js → label-BosP5JdK.js} +1 -1
- package/lib/esm/{language-utils-B7PXWqpg.js → language-utils-B9dLrWKg.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-aDCRCdc4.js → slot-utils-BZXZ33TK.js} +1 -1
- package/lib/esm/{themeable-component-DPqozkF4.js → themeable-component-CsnFpp6R.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-banner/duet-banner.d.ts +2 -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/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 +87 -15
- package/package.json +3 -3
- package/lib/duet/p-05766552.entry.js +0 -4
- 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-0dc4fe1d.entry.js +0 -4
- package/lib/duet/p-106d3089.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-60be3836.entry.js +0 -4
- package/lib/duet/p-73290da8.entry.js +0 -4
- package/lib/duet/p-767afcf4.entry.js +0 -4
- package/lib/duet/p-7f1fb1a9.entry.js +0 -4
- package/lib/duet/p-8596c993.entry.js +0 -4
- package/lib/duet/p-86b74914.entry.js +0 -4
- package/lib/duet/p-8ed6f7c7.entry.js +0 -4
- package/lib/duet/p-960f95b4.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-a3a2e89e.entry.js +0 -4
- package/lib/duet/p-aefcd222.entry.js +0 -4
- package/lib/duet/p-b84ac47b.entry.js +0 -4
- package/lib/duet/p-ba0fcce1.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
|
@@ -101,7 +101,7 @@ export class DuetList {
|
|
|
101
101
|
* Always the last one in the class.
|
|
102
102
|
*/
|
|
103
103
|
render() {
|
|
104
|
-
return (h("dl", { key: '
|
|
104
|
+
return (h("dl", { key: '42205f6f2133cfb3816496e3403c3c7f14a529c5', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", { key: 'e143fa86e59cc12e24f1e695f92dfc2466e8b0c5' })));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "duet-list"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class DuetListItem {
|
|
|
34
34
|
* Always the last one in the class.
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'e4cd01b6b0c03f3d82beba7c85400711e49f6582', class: {
|
|
38
38
|
"duet-theme-turva": this.theme === "turva",
|
|
39
39
|
"duet-no-stacking": !this.responsive,
|
|
40
40
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -42,7 +42,7 @@ export class DuetListItem {
|
|
|
42
42
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
43
43
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
44
44
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
45
|
-
} }, h("dt", { key: '
|
|
45
|
+
} }, h("dt", { key: '9644bd50dfb2d6b45bd136bedcb6968f9a2675ba' }, h("slot", { key: 'db3550984b29dd4dad07eb4ab7d047652e83ac22', name: "label" })), h("dd", { key: '1e01b0449b667d1de8e9ba3ed9593725c5ce8353' }, h("slot", { key: 'c0662c72ff8ba3c2a13041b741b15ee1f9b0f544', name: "value" }))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "duet-list-item"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -148,7 +148,7 @@ export class DuetLogo {
|
|
|
148
148
|
*/
|
|
149
149
|
render() {
|
|
150
150
|
const TagName = this.href ? "a" : "div";
|
|
151
|
-
return (h(Host, { key: '
|
|
151
|
+
return (h(Host, { key: '9aa8d797449d771c669f1b489937b72f4f334346', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '2ffc72c161a6527fdeb4b14b9acc82cfe12d80b1', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
152
152
|
"duet-logo": true,
|
|
153
153
|
[this.size]: true,
|
|
154
154
|
"duet-logo-only-symbol": this.onlySymbol,
|
|
@@ -132,17 +132,17 @@ export class DuetMenuBar {
|
|
|
132
132
|
render() {
|
|
133
133
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
134
134
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
135
|
-
return (h(Host, { key: '
|
|
135
|
+
return (h(Host, { key: '9f357dd163db230760ba15408c721b345619e369' }, h("nav", { key: '515afdd6ce472b843bb59ab038fa87b76158743d', class: {
|
|
136
136
|
"duet-menu-bar": true,
|
|
137
137
|
"duet-theme-turva": this.theme === "turva",
|
|
138
138
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
139
139
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
140
140
|
hidden: this.hidden && this.hideOnScroll,
|
|
141
141
|
bottom: this.onBottom,
|
|
142
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
142
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: 'd19d82b1e1c35dd8f0ac72fc3625058f939d2b66', class: "top" }), h("div", { key: '8bd01db2edc2ab2c43e931e07288e252a6838abc', class: { container: true, "with-info-text": !!this.logoInfoText && !this.centerSlotUsed }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '28a65925e1aa7a73822e398a0aaa705de521cc66' }, h("duet-logo", { key: 'f7a068293211c3e3a7c091a084ecf4e7b3c2317c', class: "medium", size: "medium", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: 'dcb75e146d612870f0b65295df9f33a2be699d29', class: "large", size: "large", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: '675cb30c9aaa18f8352d2c8d84978bb291f2337d', class: "only-symbol", onlySymbol: true, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), this.logoInfoText && !this.centerSlotUsed && (h("div", { key: '48cd2679315bb52d535c58b1b54831bcc1120bd4', class: {
|
|
143
143
|
"duet-logo-info-text": true,
|
|
144
144
|
"duet-theme-turva": this.theme === "turva",
|
|
145
|
-
} }, this.logoInfoText)))), h("div", { key: '
|
|
145
|
+
} }, this.logoInfoText)))), h("div", { key: '0cc0ebfc6fe8b9582f8677ca8eba79c7fb102a97', class: "list center", role: "list" }, h("div", { key: '8ed1c963529c2ad79182293ac831fc2a5c4ba308', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: 'c997b17308d679e6364b79e9549600ea88307ebe', name: "center" }), h("div", { key: 'e4d05f0c17fe62eb12a4708237703d32cb8ac339', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '438911a93d2bbcfd6a1084c095611bc031636313', class: "list right", role: "list" }, h("slot", { key: 'd8b922aca72f608f7acd42e29742efa50d0b2343', name: "right" }))), h("div", { key: 'cd333a535ef8eac9c224cd6ebc6a2a4145ba20bd', class: "bottom" }))));
|
|
146
146
|
}
|
|
147
147
|
static get is() { return "duet-menu-bar"; }
|
|
148
148
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,10 +49,10 @@ export class DuetMenuBarButton {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '0e1e537a15d9a7b7d94a2ce24a71281b4757b1d5', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: 'c7ab5d711a28d54af476fdf133e8f92bce25f020', ref: button => (this.nativeButton = button), class: {
|
|
53
53
|
"duet-menu-bar-button": true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '
|
|
55
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '922a6e2fa015b52aac218ce9e803c75a57465310', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'd85350f1fb803be4e524803b0bea4acc62f569fb' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-menu-bar-button"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '549451747b5d958dcac03314e5571631ddb5681c', role: "listitem" }, h("div", { key: '91c7c1f71d878251370fd14fbe8a5f7e53a4d8bd', 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: 'a1bc6d43c28b9070c8f351111312cf436b02b3a2', 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: '612895f551ed8c5045b2a5946b3528948fb34468', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '92d067edbc9fd30ed9113f20153943cfe99030fa', class: "label" }, h("slot", { key: '2dc4b402f56b0e45f4590a563bdbff368bf9e761', name: "label" }), h("duet-icon", { key: '97c55f40d40e52c267bdc2f0edf127c8868b91d2', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '625909f147e2f0d3ac7d74197d787621afd5ad5e', 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: '927e1629164029ae374bf2a0828246865e682f21' })))));
|
|
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: '4f66b37f78e3221d96cc0189a2a8592e6b6f8fc6' }, h("a", { key: 'd6ad6af753be198a1601d09e82478a0e1d9ee172', 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: '4834a4159934c0525ed9e7b7d6ac28132ba2cf03', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'e3f4ac467c7e84ec2c9f0d8ac7f36800a299540f' }))));
|
|
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: 'c8f1492389226bb51cdfb54ab5262d21292a19cb', role: "listitem" }, h(TagName, { key: '251da0ca6cb28157cb26ba5f90c770123cebc5c1', 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: 'bc34c4cc34cd814ec124013da71d619f32986bd7', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'a913f29ab5fd5e0f3a9aeb2115bae74b83c51a7e' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'efb44346bf1cc026263a16f0982981b6420ad298', 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: '997031f3159b6da185e25915d7241ba645b2b9d0', role: "listitem" }, h("a", { key: '8ef71373a7c481ca8dc93506eb8957c470489c2b', 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: 'f0439bbfecdf854d05fa818663e7e7e93fffa404', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '426c1a3de2829a37aba8d4f30169d71425d81301' }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "duet-menu-bar-link"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -326,14 +326,14 @@ export class DuetModal {
|
|
|
326
326
|
var _a, _b;
|
|
327
327
|
const iconColor = postfixTheme("primary", this.theme);
|
|
328
328
|
const closeColor = postfixTheme("secondary", this.theme);
|
|
329
|
-
const closingButton = (h("div", { key: '
|
|
330
|
-
return (h("div", { key: '
|
|
329
|
+
const closingButton = (h("div", { key: 'ee572843326c7c6981aa9e70724bfb73de2f5b18', class: "duet-modal-close" }, h("duet-button", { key: '18d574610d760318b8533137648b8cd6eb0cd242', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
330
|
+
return (h("div", { key: '8908f9d800b06078fde788e21e6230ad05765147', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
331
331
|
"duet-modal-container": true,
|
|
332
332
|
"duet-theme-turva": this.theme === "turva",
|
|
333
333
|
"duet-modal-active": this.open,
|
|
334
334
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
335
335
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
336
|
-
} }, h("duet-overlay", { key: '
|
|
336
|
+
} }, h("duet-overlay", { key: '3e2d20cd2b9c18631d7103c1679a9c24a5227eef', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: '2559835e9bdf2436cc824914d84cca1d87175d84', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
337
337
|
"duet-modal-inner": true,
|
|
338
338
|
[this.size]: true,
|
|
339
339
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -344,22 +344,22 @@ export class DuetModal {
|
|
|
344
344
|
this.closeModal(e);
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
} }, h("div", { key: '
|
|
347
|
+
} }, h("div", { key: '135c144620c16f237d1049be960c803139920a46', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
348
348
|
"duet-modal": true,
|
|
349
349
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
350
350
|
[this.size]: true,
|
|
351
351
|
[this.variation]: true,
|
|
352
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '
|
|
352
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '9a1fa991e33910557b8c952450cbdf8ae95eceeb' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: 'a4603f53a19537b5886ee96561b0b2a68c6205ee', class: {
|
|
353
353
|
"duet-modal-body": true,
|
|
354
354
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
355
355
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
356
356
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
357
357
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
358
|
-
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: '
|
|
358
|
+
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: 'e698bace2e3ed41ec283123dd3bdff378e439dbd', class: "duet-modal-header" }, h("span", { key: '34b6aaf5ba7d95c6800a57e993a08703f8b8f146', class: "duet-modal-inner-slot-top" }, h("slot", { key: '1b12b5a25096233e768446ca8d3908380d5e15d1', name: "top" })), this.icon && h("duet-icon", { key: '8bdafc9dd71f47bfef151dae0f0b73cd64cd54a6', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'e996638326c1526d58e579368a692b19a0ed88f8', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: 'b5261a092defb3671fc33a6a38507d99429b2549', class: "duet-modal-spinner" }, h("duet-spinner", { key: '42123ba82859618de11f0cfba09df8317fb2693c', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: '7ac6dee3c05c9844ab64ec3f8a792cec98019d1d', "aria-live": this.variation === "loader"
|
|
359
359
|
? "assertive"
|
|
360
360
|
: this.accessibleAnnounceChanges === "body"
|
|
361
361
|
? "polite"
|
|
362
|
-
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: '
|
|
362
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: '787243109cdcf4c0ab5767027ad532ad99a69259' })))))));
|
|
363
363
|
}
|
|
364
364
|
static get is() { return "duet-modal"; }
|
|
365
365
|
static get encapsulation() { return "shadow"; }
|
|
@@ -273,23 +273,23 @@ export class DuetMultiselect {
|
|
|
273
273
|
*/
|
|
274
274
|
render() {
|
|
275
275
|
var _a;
|
|
276
|
-
return (h(Host, { key: '
|
|
276
|
+
return (h(Host, { key: '5e4b0b7b9dacba7e6552a38ffb797689de5d1694', class: {
|
|
277
277
|
"duet-m-0": this.margin === "none",
|
|
278
278
|
"duet-expand": this.expand,
|
|
279
|
-
} }, h("div", { key: '
|
|
279
|
+
} }, h("div", { key: 'b0bbc08ee68064b97641c47516e698cc4dfc6160', class: {
|
|
280
280
|
"duet-multiselect-container": true,
|
|
281
281
|
"duet-label-hidden": this.labelHidden,
|
|
282
282
|
"duet-theme-turva": this.theme === "turva",
|
|
283
283
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
284
284
|
"has-error": !!this.error,
|
|
285
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '
|
|
285
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '9d6a23408a530eac7a5764822fe2ab64f47c1f09', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'eecf9f8896b8f95a833b010b76f8efaed851cdce', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '6cfb9e46327f25af55c35a4025aa25a6fa5105ec', name: "tooltip" }), this.caption && (h("duet-caption", { key: '34faed19f890d94368b1b2f92fcb85aac55c5ad2', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'da9ed35e8f61a283bc06eddd5b3761e58b817491', class: "duet-multiselect-wrapper" }, h("button", { key: '3efe23af8a4eee912fde966059b6e15c0bcc19be', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '565444bc98bd29c23ee36c851b0566a11df35c32', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '5ca0c11f5b864e362f9cf7a6b0b6e4f34474f5a3', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: '5a6f417f659169d4ea288cd19a0f5a479aa0b0e2' }, this.selectedLangObject[this.language], ",", " ", Array.isArray(this.value) ? this.value.map(item => item.label).join(", ") : ""))), h("svg", { key: '876dc66671cad3719376a5c0cda901f952099420', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '478294c898ab6f7d50034dc41d73e72e13c7cef4', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: '328f2ea531c42f7c15507ee23e8daf1fb92739c0', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
286
286
|
"duet-multiselect-checkboxes": true,
|
|
287
287
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
288
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '
|
|
288
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: 'c5dd55f86aff43a62677969ab5aba54e89a5e3de', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'ac401a0cda9b93097ce15943be620940726d2348', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '7b5a6fcf434f6866229c787ecb56d2e95fe8eca8', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
289
289
|
this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
|
|
290
290
|
var _a, _b;
|
|
291
291
|
return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
292
|
-
})))))), h("span", { key: '
|
|
292
|
+
})))))), h("span", { key: '2964bb7f42ef736b9deae233826b3bfd7a55ce2f', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'e43ff30f9940548d5c92051289a33d77d771247b' }, this.error)))));
|
|
293
293
|
}
|
|
294
294
|
static get is() { return "duet-multiselect"; }
|
|
295
295
|
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: '524bb027510763efb06f908c78bb6dbc1ff1e24d' }, h("div", { key: '7c86cae3a491c2c568ec09ab7a7dacc935d906be', class: { container: true, sticky: this.sticky } }, h("slot", { key: 'dae33a4dfc1ddd973d4639adc9b711a99bb0256c' }), h("slot", { key: 'ac0da76490e7c39bee65dc53ed368afdecb640a7', name: "mobile" }), h("slot", { key: '5081c449ebbba8d68dec069e18155f8fce9ad87e', name: "desktop" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "duet-nav"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,22 +83,11 @@
|
|
|
83
83
|
border-bottom: 1px solid rgb(212, 223, 229);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.duet-
|
|
86
|
+
.duet-indicator-container {
|
|
87
87
|
position: relative;
|
|
88
|
-
width:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
.duet-notification-badge {
|
|
92
|
-
position: absolute;
|
|
93
|
-
top: 6px;
|
|
94
|
-
left: -2px;
|
|
95
|
-
width: 8px;
|
|
96
|
-
height: 8px;
|
|
97
|
-
background: rgb(0, 119, 179);
|
|
98
|
-
border-radius: 50%;
|
|
99
|
-
}
|
|
100
|
-
.duet-theme-turva .duet-notification-badge {
|
|
101
|
-
background: rgb(198, 12, 48);
|
|
88
|
+
width: 10px;
|
|
89
|
+
margin-top: 6px;
|
|
90
|
+
margin-left: 6px;
|
|
102
91
|
}
|
|
103
92
|
|
|
104
93
|
.duet-notification-content {
|
|
@@ -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: '7e4e38752baee0c65e84c4edfa1ea6225daef0a9', 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: 'd533b34bab8bed57448b132fdcfd7913da27d165', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '9fd48a6483ee03a967abd2deca506a49eda9910c', class: "duet-notification-container" }, h("div", { key: '0a647e9111eb00ae4268e20b72e248edcf211ab5', class: "duet-indicator-container" }, this.highlight && (h("duet-indicator", { key: '61edc87a1995f7ebe37cefff3869dab6a3840d58', variation: "new", "accessible-label": this.accessibleLabelUnread }))), h("div", { key: '461dfcbff675bba86b0e66901b44f272e34b5619', class: "duet-notification-content" }, h("slot", { key: '84fbc735b2ee2b129360419aa2d7a310a4b2895b' })), h("div", { key: '0bd791445a03f66f304fdb094200d95e409fcf09', class: "duet-notification-date" }, this.date)))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "duet-notification"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,21 +184,6 @@
|
|
|
184
184
|
transform: translateY(-50%) rotate(180deg);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.duet-drawer-badge {
|
|
188
|
-
position: absolute;
|
|
189
|
-
top: 0;
|
|
190
|
-
right: 0;
|
|
191
|
-
display: inline-block;
|
|
192
|
-
width: 6px;
|
|
193
|
-
height: 6px;
|
|
194
|
-
background: rgb(247, 178, 40);
|
|
195
|
-
border-radius: 50%;
|
|
196
|
-
box-shadow: 0 0 0 1px #c18b1f;
|
|
197
|
-
}
|
|
198
|
-
.duet-theme-turva .duet-drawer-badge {
|
|
199
|
-
background: rgb(247, 178, 40);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
187
|
.duet-drawer-content {
|
|
203
188
|
display: none;
|
|
204
189
|
background-color: rgb(255, 255, 255);
|
|
@@ -126,10 +126,10 @@ export class DuetNotificationDrawer {
|
|
|
126
126
|
* Always the last one in the class.
|
|
127
127
|
*/
|
|
128
128
|
render() {
|
|
129
|
-
return (h("div", { key: '
|
|
129
|
+
return (h("div", { key: 'd4fa93920c2ed5c6dbde47edb4a06376a78c168d', class: {
|
|
130
130
|
"duet-drawer": true,
|
|
131
131
|
"duet-theme-turva": this.theme === "turva",
|
|
132
|
-
}, onKeyDown: this.handleKeyDown }, h("button", { key: '
|
|
132
|
+
}, onKeyDown: this.handleKeyDown }, h("button", { key: '5e885d2aeb194f364e832f547fe2e78d23bf57c3', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (h("div", { key: '2e9f920cccc92fa5d5b9fd934792fc66481263b5', class: "duet-drawer-icon" }, h("duet-icon", { key: 'e4d62dc6a17fa186cd25dcaa63fbfe1803f350e0', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && h("duet-indicator", { key: 'd6009add6874a0ddd1428236dd70037f9c80baf5', variation: "change" }))), h("span", { key: '17cacff5693e84208c2b4b4d6421c0b728cb8dd5', class: "duet-drawer-label" }, this.label), h("div", { key: '3cb4c839a2246de6668bf12ece0c0b8afe89d739', class: "duet-drawer-caret" }, h("duet-icon", { key: '17a1a0ee733bdd0b58922f82606041fa8ee417d4', margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" }))), h("div", { key: 'cf870b4388a40e9fc2c955f26120dbe7820d93eb', id: "duet-drawer-content", class: {
|
|
133
133
|
"duet-drawer-content": true,
|
|
134
134
|
"duet-drawer-right": this.direction === "right",
|
|
135
135
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -391,11 +391,11 @@ export class DuetNumberInput {
|
|
|
391
391
|
const identifier = this.identifier || this.inputId;
|
|
392
392
|
const maxlength = `${this.localizeValue(this.max)}${this.getUnitString()}`.length;
|
|
393
393
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
394
|
-
return (h(Host, { key: '
|
|
394
|
+
return (h(Host, { key: 'f7f611052626013e23d6e950187e6ff4bae4785a', class: {
|
|
395
395
|
"duet-theme-turva": this.theme === "turva",
|
|
396
396
|
"duet-expand": this.expand,
|
|
397
397
|
"duet-m-0": this.margin === "none",
|
|
398
|
-
} }, h("div", { key: '
|
|
398
|
+
} }, h("div", { key: '3ab65aa403dd3795d71fc92663c9026decbc03d1', class: "duet-number-container" }, h("duet-input", { key: '996f35afadafef64a29b83b0264b2696cda1c4df', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value}${this.getUnitString()}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { key: '3d231debb07358d38d378cb4fe016b2e96db7880', name: "tooltip" }), h("div", { key: '7dda2f48f29615328c419870b24f925b04f826a9', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { key: '0fa07991abc1894a2b6f160321588d0b1844bba6', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", { key: '21306421a46e77a48b56f154360d63d2c8731e78' }, this.accessibleSubtract, " ", this.step), h("duet-icon", { key: 'a7f4a92248d8906cdba527342060fcc89c935f75', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { key: '718295b62b418b47721c0cd09a4dd6d438c81724', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", { key: '63aaf63fc103cb3f02114fc2f6a89111a1f8ecbc' }, this.accessibleAdd, " ", this.step), h("duet-icon", { key: '1ea520e7852bdcbdfc9c59cfe5f8df96f624b67f', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { key: '13e72d3b1f8bd4427e4d7b9b0e94e31f787f81ec', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
399
399
|
}
|
|
400
400
|
static get is() { return "duet-number-input"; }
|
|
401
401
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class DuetOverlay {
|
|
|
59
59
|
* Always the last one in the class.
|
|
60
60
|
*/
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '26baa0d4cb1ad61e8428e4cd0e3b244df2ac1a05', "aria-hidden": "true" }, h("div", { key: '37b1a25497fdde38c5102fa3deac28f2fbde193b', style: { zIndex: this.zIndex }, class: {
|
|
63
63
|
"duet-overlay": true,
|
|
64
64
|
"duet-theme-turva": this.theme === "turva",
|
|
65
65
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -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: 'f353e792c29cf6a49513529f3a54740bf2894dcc', 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: 'b8a5a752d4557b2ac2ac2bfc1c2e65861d4c0521', class: "background" }, this.theme === "turva" && h("div", { key: 'ff9cbab91c325792d84f24d227d67b5bd2f83401', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'c697b3df64c3300caccb801818e16e0f82be19b4', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '86bea79fd3c261f4042b7f55129cf5b3e2bbcc20', class: "brand-shape second-shape" }), this.icon && (h("div", { key: 'f95cb3034647398542c7eac251e3a8ee589fde3c', class: "brand-shaped-icon" }, h("duet-icon", { key: '5ea162f55f426e4fb23d062c42b452f9d02dd8db', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'ca049bcfa7903693dcd81e7053f9c8436f5bc972', class: "heading" }, h("slot", { key: '1f11d60c4883d6a083ab58a3549230893373a4b0', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (h("div", { key: '059a56e68755466f02489b66ea25157f139cc441' }, h("duet-spacer", { key: '10335bc65bcd61f1ce9e424c5fac7058cfe267f5', size: "large" }), h("div", { key: 'c48a3f2f5846193c2428789cfa6bd68cdd4fe534', role: "presentation" }, this.progressIndicator()))))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "duet-page-heading"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -394,32 +394,32 @@ export class DuetPagination {
|
|
|
394
394
|
* Always the last one in the class.
|
|
395
395
|
*/
|
|
396
396
|
render() {
|
|
397
|
-
return (h(Host, { key: '
|
|
397
|
+
return (h(Host, { key: '4538c13203031ba738afe31bf944d5e5cf0822d0', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: 'f74353d0266706e3e98ba2eb0ffd427e17dd7d32', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
398
398
|
"duet-pagination-nav": true,
|
|
399
399
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
400
|
-
} }, this.numbersStore !== "" && (h("div", { key: '
|
|
400
|
+
} }, this.numbersStore !== "" && (h("div", { key: 'ef1c5623374551a2f397f3af374da758f18d32fc', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '952121198f2ef45be88514aadec01a5c96f3533d', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: 'a20aba22fa8fb86c7f85d2f53806d1ca4617f7a2', id: this.listId, class: {
|
|
401
401
|
"duet-pagination": true,
|
|
402
402
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
403
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
403
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '9a3b326a61e687c37098498586030cb657abfe50', class: {
|
|
404
404
|
"duet-pagination-page-button": true,
|
|
405
405
|
"duet-pagination-button-first": true,
|
|
406
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
406
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'd09d305229036887195250ff68758d8ababcba46', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: 'd894e457eb0d8a85407e2ff58336c515efc36b32', class: {
|
|
407
407
|
"duet-pagination-page-button": true,
|
|
408
408
|
"duet-pagination-button-first": true,
|
|
409
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
409
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '608048896bdefbda08da9a074e885be4619213a5', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
410
410
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
411
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
412
|
-
this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
411
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: 'c61298ec08d9d456084704599138fa6947b90f5a' }, h("li", { key: '353c539572913f5c79da697cbbe5904424b66451', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '3fc0820a55c18784babaa94cc582742d7f7ce81d', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: 'b4f8be4468d0c1fb1e45eefe35d0d25a8e35cee5', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '3d2bcf407aff2366deac05bdbc9e02162a1634ea', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'cb9ae00667627845552094b399840bf08a76c63c', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: '39ef13340bc1908984d40d1f428e0e541a346a38', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
412
|
+
this.shouldDisplayNavigation() && (h(Fragment, { key: '3c2d5586ebf42d2c8fd8f651bae865e4bb7a61bf' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '3ff93a876610de4018caa32e8a0836bc93174408', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '6febe996395f01852e2fde2c454f5a296e395141', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: 'd010e340fc4dd341ca566109f5a1c38a89857411', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '984d35d520c9b995ed48c7fbc7a58bfd8c89357d', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '5bb07665b261db54475de478bf2f5fb974ee4047', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
413
413
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
414
|
-
: undefined }, h("div", { key: '
|
|
414
|
+
: undefined }, h("div", { key: '559d8dd4a0f63d440523de1ff4879cbcd8bca408', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '9c986c1207ec4918758a931d009d48708818e736', class: {
|
|
415
415
|
"duet-pagination-page-button": true,
|
|
416
416
|
"duet-pagination-button-last": true,
|
|
417
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
417
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'c8f4048dcf9cb28c6bd4d43c1d1945c2da15ce50', disabled: !!((this.current === this.totalPages &&
|
|
418
418
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
419
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
419
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'f605fc50e28b58a780fa938885031353088d1fc5', class: {
|
|
420
420
|
"duet-pagination-page-button": true,
|
|
421
421
|
"duet-pagination-button-last": true,
|
|
422
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
422
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'da162ed3e9a0bb469be3670395bccda489aeb97a', disabled: (this.current === this.totalPages &&
|
|
423
423
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
424
424
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
425
425
|
}
|
|
@@ -30,7 +30,7 @@ export class DuetPanel {
|
|
|
30
30
|
inheritGlobalTheme(this);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'ba9383fe5d683d44e90c7e3d9f3539365dfbe497' }, h("section", { key: '149796219e3ea56f5fdeab2e2aeaa8ddb3d1fb7e', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
|
|
34
34
|
"duet-panel": true,
|
|
35
35
|
"duet-theme-turva": this.theme === "turva",
|
|
36
36
|
[this.variation.split("-")[0]]: true,
|
|
@@ -38,7 +38,7 @@ export class DuetPanel {
|
|
|
38
38
|
[`padding-${this.padding}`]: true,
|
|
39
39
|
border: this.border,
|
|
40
40
|
"duet-m-0": this.margin === "none",
|
|
41
|
-
} }, h("slot", { key: '
|
|
41
|
+
} }, h("slot", { key: '8291e9635f7795c4e54dfef34239dcda4dbdb33a' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "duet-panel"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class DuetParagraph {
|
|
|
51
51
|
const color = getColorByName(this.color);
|
|
52
52
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
53
53
|
// are not announced when placed inside duet-modal
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '99168fa787b98f3c65146d539ac5a1c391254a95', "aria-describedby": this.id }, h("p", { key: '9b4fb9eb7525804fd786ca72c13bafdfb4c9dfc8', id: this.id, class: {
|
|
55
55
|
"duet-paragraph": true,
|
|
56
56
|
"duet-paragraph-small": this.size === "small",
|
|
57
57
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -59,7 +59,7 @@ export class DuetParagraph {
|
|
|
59
59
|
"duet-m-0": this.margin === "none",
|
|
60
60
|
[this.variation]: true,
|
|
61
61
|
"duet-theme-turva": this.theme === "turva",
|
|
62
|
-
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '
|
|
62
|
+
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '2cc4063866d09f9fc1569bbf3d26661472485147' }))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "duet-paragraph"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|