@duetds/components 9.2.8 → 10.0.0-alpha.0
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 +950 -273
- package/lib/cjs/a11y-utils-76311b95.js +20 -0
- package/lib/cjs/{app-globals-718a3704.js → app-globals-a1431483.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +10 -11
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +6 -6
- package/lib/cjs/duet-choice_2.cjs.entry.js +100 -14
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +14 -11
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +16 -12
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -5
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +11 -6
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +87 -11
- package/lib/cjs/duet-range-slider.cjs.entry.js +9 -4
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +16 -16
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +8 -8
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +11 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +9 -4
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +6 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +21 -3
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-b4cf3ce2.js} +1 -1
- package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-68fa1c8f.js} +1 -1
- package/lib/cjs/{index-21e67ab3.js → index-7e38df71.js} +1 -1
- package/lib/cjs/{language-utils-b5940c7b.js → language-utils-beee36ce.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-b5c4d888.js → slot-utils-31c0ed00.js} +52 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +1 -1
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +19 -18
- package/lib/collection/components/duet-choice/duet-choice.js +97 -13
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -6
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +1 -1
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/date-picker-input.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +9 -8
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +3 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +3 -6
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +15 -14
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +2 -2
- 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 +2 -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 +6 -6
- 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.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +10 -8
- 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-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-progress/duet-progress.js +1 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.css +29 -27
- package/lib/collection/components/duet-radio/duet-radio.js +90 -13
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +3 -6
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +9 -7
- 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 +7 -10
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +3 -6
- 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 +4 -7
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +10 -9
- package/lib/collection/components/duet-toggle/duet-toggle.js +9 -7
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +19 -1
- 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/collection/utils/a11y-utils.js +5 -9
- package/lib/collection/utils/slot-utils.js +51 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +14 -13
- package/lib/dist-custom-elements/duet-choice.js +102 -14
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +19 -18
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +26 -22
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +12 -12
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +15 -15
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +7 -7
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -5
- package/lib/dist-custom-elements/duet-modal.js +15 -15
- package/lib/dist-custom-elements/duet-multiselect.js +15 -15
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +22 -16
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +24 -24
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +6 -6
- package/lib/dist-custom-elements/duet-radio-group.js +13 -12
- package/lib/dist-custom-elements/duet-radio.js +88 -9
- package/lib/dist-custom-elements/duet-range-slider.js +12 -6
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
- package/lib/dist-custom-elements/duet-slideout.js +8 -8
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -6
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +18 -18
- package/lib/dist-custom-elements/duet-tab.js +6 -5
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +21 -16
- package/lib/dist-custom-elements/duet-toggle.js +12 -6
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-e536b916.js → p-01846eb6.js} +11 -11
- package/lib/dist-custom-elements/{p-5f8dc639.js → p-0ac72fc8.js} +4 -3
- package/lib/dist-custom-elements/p-145c94a8.js +273 -0
- package/lib/dist-custom-elements/{p-899ca0bf.js → p-18c3a72b.js} +2 -2
- package/lib/dist-custom-elements/{p-b5aa78c4.js → p-266569ef.js} +2 -2
- package/lib/dist-custom-elements/{p-e0de8502.js → p-2a6a71e4.js} +3 -3
- package/lib/dist-custom-elements/{p-034f07f8.js → p-36804cd7.js} +4 -3
- package/lib/dist-custom-elements/{p-96652f7b.js → p-38a3168a.js} +4 -4
- package/lib/dist-custom-elements/{p-38e65e8c.js → p-39b63c58.js} +3 -3
- package/lib/dist-custom-elements/{p-6ec31ae0.js → p-4d4c66b0.js} +3 -3
- package/lib/dist-custom-elements/{p-96949bb3.js → p-4f5a1d66.js} +2 -2
- package/lib/dist-custom-elements/{p-3667436c.js → p-5270ad3d.js} +4 -4
- package/lib/dist-custom-elements/{p-29782b53.js → p-5448ad53.js} +1 -1
- package/lib/dist-custom-elements/{p-0fbbaee9.js → p-61282ed8.js} +4 -4
- package/lib/dist-custom-elements/{p-a21a8e5e.js → p-644b52bb.js} +3 -3
- package/lib/dist-custom-elements/{p-5fc9921c.js → p-649a8c3e.js} +3 -3
- package/lib/dist-custom-elements/{p-2e2c1d87.js → p-7ff1b14d.js} +3 -3
- package/lib/dist-custom-elements/{p-94a7d4af.js → p-824a3b0b.js} +6 -6
- package/lib/dist-custom-elements/{p-23f0b101.js → p-8342a3e5.js} +4 -4
- package/lib/dist-custom-elements/{p-276aeab7.js → p-8c993e48.js} +2 -2
- package/lib/dist-custom-elements/{p-8ac247f4.js → p-92f36210.js} +12 -12
- package/lib/dist-custom-elements/{p-c67a668c.js → p-98b1d4c1.js} +26 -7
- package/lib/dist-custom-elements/{p-c0b022c4.js → p-a5c06963.js} +3 -3
- package/lib/dist-custom-elements/{p-d2a5148f.js → p-a6b39855.js} +1 -1
- package/lib/dist-custom-elements/{p-50f145f2.js → p-aa62c36f.js} +2 -2
- package/lib/dist-custom-elements/{p-7d56d012.js → p-acacce04.js} +7 -7
- package/lib/dist-custom-elements/{p-6008fcdd.js → p-b33a176e.js} +3 -3
- package/lib/dist-custom-elements/{p-8b3decf2.js → p-b5ea877d.js} +49 -1
- package/lib/dist-custom-elements/{p-992a5de8.js → p-b9488320.js} +26 -21
- package/lib/dist-custom-elements/{p-79375342.js → p-c57a67d3.js} +6 -6
- package/lib/dist-custom-elements/{p-e6dc15da.js → p-c9a14c7b.js} +5 -5
- package/lib/dist-custom-elements/{p-47d4e647.js → p-cb5df864.js} +3 -3
- package/lib/dist-custom-elements/{p-33e3a1a9.js → p-d0a4a69f.js} +3 -3
- package/lib/dist-custom-elements/{p-9e61a1b8.js → p-d0aaf2cd.js} +1 -1
- package/lib/dist-custom-elements/{p-56bc455d.js → p-e5962501.js} +3 -3
- package/lib/dist-custom-elements/{p-e1efb203.js → p-ed8b17fe.js} +7 -7
- package/lib/dist-custom-elements/{p-be9acce7.js → p-ee079d76.js} +4 -4
- package/lib/dist-custom-elements/p-f0cc5629.js +18 -0
- package/lib/dist-custom-elements/{p-d77db171.js → p-f66602b0.js} +1 -1
- package/lib/dist-custom-elements/{p-386b0af9.js → p-fb63021d.js} +2 -2
- package/lib/dist-custom-elements/{p-c58d2abe.js → p-fc92fc89.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-3608cf6e.system.entry.js → p-00c7bd0a.system.entry.js} +2 -2
- package/lib/duet/p-0245b6df.system.entry.js +4 -0
- package/lib/duet/p-03ad2cf3.system.entry.js +4 -0
- package/lib/duet/p-0c527115.entry.js +4 -0
- package/lib/duet/{p-22fd3cfc.entry.js → p-0cb1aedd.entry.js} +1 -1
- package/lib/duet/{p-e2daf94c.entry.js → p-0cb6800d.entry.js} +1 -1
- package/lib/duet/{p-c210a9f3.system.entry.js → p-0cde41e1.system.entry.js} +1 -1
- package/lib/duet/p-0d730e50.system.entry.js +4 -0
- package/lib/duet/{p-11db4aac.system.entry.js → p-0d79ddc1.system.entry.js} +1 -1
- package/lib/duet/{p-446ed731.system.entry.js → p-0f3fbf65.system.entry.js} +1 -1
- package/lib/duet/{p-2c3a1d5b.system.entry.js → p-12abe4eb.system.entry.js} +1 -1
- package/lib/duet/p-130939b4.entry.js +4 -0
- package/lib/duet/p-1411cba2.entry.js +4 -0
- package/lib/duet/{p-eaf1640f.entry.js → p-146a6092.entry.js} +1 -1
- package/lib/duet/p-14b4ee4d.entry.js +4 -0
- package/lib/duet/{p-eb8799b0.system.entry.js → p-14c1e05f.system.entry.js} +1 -1
- package/lib/duet/p-19096d3f.system.entry.js +4 -0
- package/lib/duet/p-194e89c3.system.entry.js +4 -0
- package/lib/duet/{p-a2c6d500.system.entry.js → p-19519c35.system.entry.js} +1 -1
- package/lib/duet/{p-47523d35.entry.js → p-19baff31.entry.js} +1 -1
- package/lib/duet/p-1aaa8887.entry.js +4 -0
- package/lib/duet/{p-ba2dea2c.entry.js → p-1ac5803b.entry.js} +1 -1
- package/lib/duet/p-1b6e33e3.system.entry.js +4 -0
- package/lib/duet/p-1bdd845b.system.js +4 -0
- package/lib/duet/p-1ce82dfa.system.js +4 -0
- package/lib/duet/{p-2823bfcc.system.entry.js → p-1ec66cb0.system.entry.js} +1 -1
- package/lib/duet/{p-8e1e8d62.system.entry.js → p-210045f4.system.entry.js} +1 -1
- package/lib/duet/{p-2eae4a0b.js → p-214444f4.js} +1 -1
- package/lib/duet/{p-216fbdc6.system.entry.js → p-21785af3.system.entry.js} +2 -2
- package/lib/duet/{p-3fef9e7b.entry.js → p-252df607.entry.js} +1 -1
- package/lib/duet/p-265b2d3f.system.entry.js +4 -0
- package/lib/duet/p-293cb37c.entry.js +4 -0
- package/lib/duet/p-296eb384.entry.js +4 -0
- package/lib/duet/{p-bc0290cc.system.entry.js → p-2de11c55.system.entry.js} +1 -1
- package/lib/duet/{p-1e17463d.system.js → p-3300a0a4.system.js} +1 -1
- package/lib/duet/{p-3c286a31.entry.js → p-343c72ca.entry.js} +1 -1
- package/lib/duet/{p-87a3db45.system.entry.js → p-351076bc.system.entry.js} +1 -1
- package/lib/duet/{p-2a0b04d0.system.entry.js → p-35196930.system.entry.js} +1 -1
- package/lib/duet/{p-82ed064b.entry.js → p-3662ad90.entry.js} +1 -1
- package/lib/duet/p-3693a39c.entry.js +4 -0
- package/lib/duet/p-39733fa6.system.entry.js +4 -0
- package/lib/duet/{p-877b2e4b.system.entry.js → p-3a1f45d1.system.entry.js} +1 -1
- package/lib/duet/{p-8570bdcb.system.entry.js → p-3b77a305.system.entry.js} +1 -1
- package/lib/duet/{p-ecc9994d.system.entry.js → p-3f690e05.system.entry.js} +1 -1
- package/lib/duet/{p-c4bfa2ff.system.entry.js → p-3fce7ef4.system.entry.js} +1 -1
- package/lib/duet/{p-95f9824f.entry.js → p-405ba8bb.entry.js} +1 -1
- package/lib/duet/{p-605e69c8.system.js → p-406af1f3.system.js} +1 -1
- package/lib/duet/{p-d940168e.entry.js → p-413ee44a.entry.js} +1 -1
- package/lib/duet/{p-2ea8dd6c.system.entry.js → p-425e3794.system.entry.js} +1 -1
- package/lib/duet/{p-76d69a18.system.js → p-42d0aeb0.system.js} +1 -1
- package/lib/duet/{p-24c50312.system.entry.js → p-4afd1e0f.system.entry.js} +1 -1
- package/lib/duet/{p-b8607e71.entry.js → p-4bdae83b.entry.js} +1 -1
- package/lib/duet/p-4e261200.js +4 -0
- package/lib/duet/{p-04cb4f0a.entry.js → p-4f913952.entry.js} +1 -1
- package/lib/duet/{p-cfa09268.system.entry.js → p-50754042.system.entry.js} +2 -2
- package/lib/duet/p-5222dec4.system.entry.js +4 -0
- package/lib/duet/{p-00340ba9.system.entry.js → p-5269e599.system.entry.js} +1 -1
- package/lib/duet/{p-fa1ea9bd.entry.js → p-530144b7.entry.js} +1 -1
- package/lib/duet/p-56c887fb.js +4 -0
- package/lib/duet/{p-3dc61c8e.system.entry.js → p-58497877.system.entry.js} +1 -1
- package/lib/duet/p-5c17c2ad.entry.js +4 -0
- package/lib/duet/{p-ff6c9c23.system.entry.js → p-5e62f1da.system.entry.js} +1 -1
- package/lib/duet/{p-bde7e1d8.system.entry.js → p-603f6dd4.system.entry.js} +1 -1
- package/lib/duet/p-62e046bf.system.entry.js +4 -0
- package/lib/duet/p-639fd3db.entry.js +4 -0
- package/lib/duet/{p-a07d21e7.system.entry.js → p-65a3b7a2.system.entry.js} +1 -1
- package/lib/duet/p-6727fc0e.entry.js +4 -0
- package/lib/duet/{p-4cb02d4c.system.entry.js → p-6858f043.system.entry.js} +1 -1
- package/lib/duet/{p-bc12ff8f.system.entry.js → p-69d6bbfe.system.entry.js} +1 -1
- package/lib/duet/{p-2b06592d.system.entry.js → p-6c501d0a.system.entry.js} +1 -1
- package/lib/duet/{p-e95e650d.system.entry.js → p-6e9ec04c.system.entry.js} +1 -1
- package/lib/duet/{p-25c23189.system.entry.js → p-702dc745.system.entry.js} +1 -1
- package/lib/duet/{p-f43ebf88.entry.js → p-706c3914.entry.js} +1 -1
- package/lib/duet/{p-824d882f.entry.js → p-70adc2c4.entry.js} +1 -1
- package/lib/duet/{p-e559149e.system.entry.js → p-70fd8af5.system.entry.js} +1 -1
- package/lib/duet/{p-1f74f3cd.entry.js → p-71d12412.entry.js} +1 -1
- package/lib/duet/{p-8e4ffb74.entry.js → p-72508bb9.entry.js} +1 -1
- package/lib/duet/{p-6c25b6a4.system.entry.js → p-778e26b4.system.entry.js} +1 -1
- package/lib/duet/p-778e721c.entry.js +4 -0
- package/lib/duet/p-779cfa4a.system.entry.js +4 -0
- package/lib/duet/{p-53455bd1.system.entry.js → p-77eb9c59.system.entry.js} +1 -1
- package/lib/duet/p-783e8788.system.entry.js +4 -0
- package/lib/duet/{p-f3c1ae71.system.entry.js → p-79bd8c35.system.entry.js} +1 -1
- package/lib/duet/p-7a3ae8a9.system.js +4 -0
- package/lib/duet/{p-a3306993.system.entry.js → p-7ba55da2.system.entry.js} +2 -2
- package/lib/duet/{p-a19244e5.system.js → p-7d32c253.system.js} +1 -1
- package/lib/duet/{p-046b98cf.entry.js → p-7f519ad1.entry.js} +1 -1
- package/lib/duet/p-83d125ee.system.entry.js +4 -0
- package/lib/duet/{p-3e02acba.entry.js → p-849cdc4a.entry.js} +1 -1
- package/lib/duet/{p-c7b44ed6.system.entry.js → p-8911e1f0.system.entry.js} +1 -1
- package/lib/duet/p-898a81ab.system.entry.js +4 -0
- package/lib/duet/{p-909ae316.entry.js → p-8a9a7082.entry.js} +1 -1
- package/lib/duet/{p-9d9713da.entry.js → p-8bc4d112.entry.js} +1 -1
- package/lib/duet/{p-b8dd07d6.system.entry.js → p-907ef071.system.entry.js} +1 -1
- package/lib/duet/{p-3a2e39e9.entry.js → p-93bc8bc7.entry.js} +1 -1
- package/lib/duet/{p-ae215ca8.system.entry.js → p-989ecf2e.system.entry.js} +1 -1
- package/lib/duet/{p-b1ab6641.entry.js → p-99443d70.entry.js} +1 -1
- package/lib/duet/p-99f873a0.entry.js +4 -0
- package/lib/duet/p-9a219c40.entry.js +4 -0
- package/lib/duet/p-9c45ed44.entry.js +4 -0
- package/lib/duet/{p-c5bacc6d.system.entry.js → p-9e27e0a8.system.entry.js} +1 -1
- package/lib/duet/p-9e9599ce.system.entry.js +4 -0
- package/lib/duet/p-9f30783d.system.entry.js +4 -0
- package/lib/duet/{p-21a9fa67.system.entry.js → p-9f466e90.system.entry.js} +1 -1
- package/lib/duet/{p-222fc546.entry.js → p-9ff1b619.entry.js} +1 -1
- package/lib/duet/{p-4982cc6b.entry.js → p-a023bf22.entry.js} +1 -1
- package/lib/duet/{p-e13854bd.entry.js → p-a1dbb6ae.entry.js} +1 -1
- package/lib/duet/{p-d5870c1f.system.entry.js → p-a236f333.system.entry.js} +1 -1
- package/lib/duet/{p-072798e6.system.entry.js → p-a42c1c73.system.entry.js} +2 -2
- package/lib/duet/{p-e5f269b7.entry.js → p-a5406a98.entry.js} +1 -1
- package/lib/duet/{p-2d950c77.system.entry.js → p-a6ee1072.system.entry.js} +1 -1
- package/lib/duet/{p-f43e134e.system.entry.js → p-a7c7e6a4.system.entry.js} +1 -1
- package/lib/duet/p-aa436035.system.entry.js +4 -0
- package/lib/duet/{p-d9186e07.entry.js → p-aabf13cc.entry.js} +1 -1
- package/lib/duet/p-aad77751.system.js +4 -0
- package/lib/duet/{p-b5846de1.system.entry.js → p-abe63ae2.system.entry.js} +1 -1
- package/lib/duet/p-ac1125e2.entry.js +4 -0
- package/lib/duet/{p-b10ace99.entry.js → p-ad0b50f0.entry.js} +1 -1
- package/lib/duet/{p-4913f02c.entry.js → p-ad3fc579.entry.js} +1 -1
- package/lib/duet/{p-dfef2cbe.entry.js → p-b11c1b81.entry.js} +1 -1
- package/lib/duet/{p-6541a645.system.entry.js → p-b1c78160.system.entry.js} +2 -2
- package/lib/duet/{p-32c7c509.entry.js → p-b1f3e71c.entry.js} +1 -1
- package/lib/duet/{p-37181efc.entry.js → p-b55e935f.entry.js} +1 -1
- package/lib/duet/{p-9fa72371.entry.js → p-b5b5040f.entry.js} +1 -1
- package/lib/duet/{p-3aad3baf.system.entry.js → p-b5eec241.system.entry.js} +1 -1
- package/lib/duet/{p-6e7ef80c.system.entry.js → p-b5ef2959.system.entry.js} +1 -1
- package/lib/duet/{p-ec975bab.entry.js → p-b6214d5a.entry.js} +1 -1
- package/lib/duet/{p-8abb0984.js → p-b899b000.js} +1 -1
- package/lib/duet/p-bbc168d3.entry.js +4 -0
- package/lib/duet/{p-62bd233d.entry.js → p-bf2016fd.entry.js} +1 -1
- package/lib/duet/{p-ed532434.system.entry.js → p-c00beb34.system.entry.js} +1 -1
- package/lib/duet/p-c032689a.entry.js +4 -0
- package/lib/duet/p-c055a0a5.entry.js +4 -0
- package/lib/duet/p-c0f0ba52.entry.js +4 -0
- package/lib/duet/{p-295e34bd.entry.js → p-c20c2ae0.entry.js} +1 -1
- package/lib/duet/{p-72fde124.entry.js → p-c20e0bcd.entry.js} +1 -1
- package/lib/duet/{p-193fbc0f.entry.js → p-c2ece51b.entry.js} +1 -1
- package/lib/duet/{p-845b092d.system.entry.js → p-c5efbb76.system.entry.js} +1 -1
- package/lib/duet/p-c6915c43.system.entry.js +4 -0
- package/lib/duet/{p-3c6c1ee0.system.entry.js → p-c7f38ac3.system.entry.js} +1 -1
- package/lib/duet/{p-6e00b714.system.entry.js → p-c8437ddb.system.entry.js} +2 -2
- package/lib/duet/{p-0c243b6f.entry.js → p-cab2979b.entry.js} +1 -1
- package/lib/duet/p-cdccf8e6.system.entry.js +4 -0
- package/lib/duet/{p-b4c0dc4c.entry.js → p-cfee6451.entry.js} +1 -1
- package/lib/duet/{p-d7d86092.js → p-d048f25c.js} +1 -1
- package/lib/duet/{p-acf39158.entry.js → p-d1e5ab5e.entry.js} +1 -1
- package/lib/duet/{p-d1266569.system.entry.js → p-d2ded72c.system.entry.js} +2 -2
- package/lib/duet/{p-d0cd60a6.entry.js → p-d3a5400e.entry.js} +1 -1
- package/lib/duet/{p-3be0272c.entry.js → p-d452cbb7.entry.js} +1 -1
- package/lib/duet/{p-328685e9.entry.js → p-d554e96b.entry.js} +1 -1
- package/lib/duet/{p-0aed733f.entry.js → p-d6b53d40.entry.js} +1 -1
- package/lib/duet/p-d709d282.entry.js +4 -0
- package/lib/duet/{p-36a317f6.entry.js → p-d7c1c492.entry.js} +1 -1
- package/lib/duet/{p-0f7eec22.system.entry.js → p-d803a966.system.entry.js} +1 -1
- package/lib/duet/p-da7ce3da.entry.js +4 -0
- package/lib/duet/p-dc74c7c2.system.entry.js +4 -0
- package/lib/duet/p-dd1ec0ef.entry.js +4 -0
- package/lib/duet/{p-72053364.system.entry.js → p-dea69e25.system.entry.js} +1 -1
- package/lib/duet/{p-b4680142.entry.js → p-e062a11a.entry.js} +1 -1
- package/lib/duet/p-e1d33d05.entry.js +4 -0
- package/lib/duet/{p-62e7624c.entry.js → p-e33c42ff.entry.js} +1 -1
- package/lib/duet/{p-2437b4cb.js → p-e4d4cc92.js} +1 -1
- package/lib/duet/p-e8465166.entry.js +4 -0
- package/lib/duet/{p-388cd5aa.entry.js → p-eb35e521.entry.js} +1 -1
- package/lib/duet/p-f0cc5629.js +4 -0
- package/lib/duet/{p-bfbe3a6d.system.entry.js → p-f210b371.system.entry.js} +1 -1
- package/lib/duet/{p-cb612283.system.entry.js → p-f29c480a.system.entry.js} +1 -1
- package/lib/duet/{p-c8cbf8d3.entry.js → p-f35be908.entry.js} +1 -1
- package/lib/duet/{p-e21744ad.system.entry.js → p-f380d364.system.entry.js} +1 -1
- package/lib/duet/p-f417c864.entry.js +4 -0
- package/lib/duet/{p-c013a413.entry.js → p-f6900a3e.entry.js} +1 -1
- package/lib/duet/{p-6ce40239.system.entry.js → p-f933ada6.system.entry.js} +1 -1
- package/lib/duet/{p-998b929a.entry.js → p-f9a64d11.entry.js} +1 -1
- package/lib/esm/a11y-utils-92930863.js +18 -0
- package/lib/esm/{app-globals-00959ca9.js → app-globals-386e1feb.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +10 -11
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +6 -6
- package/lib/esm/duet-choice_2.entry.js +100 -14
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +14 -11
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +7 -7
- package/lib/esm/duet-grid_2.entry.js +5 -5
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +16 -12
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +5 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -5
- package/lib/esm/duet-modal.entry.js +10 -10
- package/lib/esm/duet-multiselect.entry.js +8 -8
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +11 -6
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +15 -15
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +87 -11
- package/lib/esm/duet-range-slider.entry.js +9 -4
- package/lib/esm/duet-scrollable_3.entry.js +16 -16
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +8 -8
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +8 -8
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +4 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +11 -7
- package/lib/esm/duet-toggle.entry.js +9 -4
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +6 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- package/lib/esm/duet-tooltip.entry.js +21 -3
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-f2529568.js} +1 -1
- package/lib/esm/{focus-utils-adcd9463.js → focus-utils-fb393f52.js} +1 -1
- package/lib/esm/{index-1d0b7c66.js → index-4e3ad237.js} +1 -1
- package/lib/esm/{language-utils-14969cef.js → language-utils-95643489.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-c62f2d7c.js → slot-utils-23c88903.js} +50 -2
- package/lib/esm-es5/a11y-utils-92930863.js +4 -0
- package/lib/esm-es5/{app-globals-00959ca9.js → app-globals-386e1feb.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +2 -2
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-d9431251.js → errorcodes.utils-f2529568.js} +1 -1
- package/lib/esm-es5/focus-utils-fb393f52.js +4 -0
- package/lib/esm-es5/{index-1d0b7c66.js → index-4e3ad237.js} +1 -1
- package/lib/esm-es5/{language-utils-14969cef.js → language-utils-95643489.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-c62f2d7c.js → slot-utils-23c88903.js} +1 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +7 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +2 -0
- package/lib/types/components/duet-input/duet-input.d.ts +2 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +2 -0
- package/lib/types/components/duet-progress/duet-progress.d.ts +0 -6
- package/lib/types/components/duet-radio/duet-radio.d.ts +7 -1
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +2 -0
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +2 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -0
- package/lib/types/utils/slot-utils.d.ts +17 -0
- package/package.json +4 -4
- package/lib/cjs/a11y-utils-a0a1c591.js +0 -25
- package/lib/dist-custom-elements/p-33ef7275.js +0 -23
- package/lib/dist-custom-elements/p-e3c6562a.js +0 -272
- package/lib/duet/p-0acaeef1.system.entry.js +0 -4
- package/lib/duet/p-0bf7b3c5.entry.js +0 -4
- package/lib/duet/p-115db258.entry.js +0 -4
- package/lib/duet/p-15553b15.system.entry.js +0 -4
- package/lib/duet/p-1d988a7d.entry.js +0 -4
- package/lib/duet/p-1fa1ce4b.entry.js +0 -4
- package/lib/duet/p-216bc706.system.entry.js +0 -4
- package/lib/duet/p-22e54537.system.entry.js +0 -4
- package/lib/duet/p-2bc9a07a.system.entry.js +0 -4
- package/lib/duet/p-3149beee.system.entry.js +0 -4
- package/lib/duet/p-3b25391c.entry.js +0 -4
- package/lib/duet/p-3b838a83.system.js +0 -4
- package/lib/duet/p-3ed182b5.entry.js +0 -4
- package/lib/duet/p-40354594.entry.js +0 -4
- package/lib/duet/p-41f2f90c.entry.js +0 -4
- package/lib/duet/p-5b378d7e.entry.js +0 -4
- package/lib/duet/p-5d6463a4.entry.js +0 -4
- package/lib/duet/p-5e8d9c74.system.entry.js +0 -4
- package/lib/duet/p-5f9da024.system.entry.js +0 -4
- package/lib/duet/p-67f593af.entry.js +0 -4
- package/lib/duet/p-720a5baf.system.entry.js +0 -4
- package/lib/duet/p-73a912a8.system.entry.js +0 -4
- package/lib/duet/p-76f8cf1e.entry.js +0 -4
- package/lib/duet/p-79e8dc10.entry.js +0 -4
- package/lib/duet/p-876398dc.entry.js +0 -4
- package/lib/duet/p-88592630.js +0 -4
- package/lib/duet/p-965e597c.system.js +0 -4
- package/lib/duet/p-99bddf65.system.js +0 -4
- package/lib/duet/p-9cc4e4a1.entry.js +0 -4
- package/lib/duet/p-9dddb2a6.system.entry.js +0 -4
- package/lib/duet/p-9ed7087f.entry.js +0 -4
- package/lib/duet/p-a3a959a4.entry.js +0 -4
- package/lib/duet/p-abcf33aa.entry.js +0 -4
- package/lib/duet/p-ac975c3d.js +0 -4
- package/lib/duet/p-bffcb6cc.system.entry.js +0 -4
- package/lib/duet/p-cda56872.entry.js +0 -4
- package/lib/duet/p-ce60e510.entry.js +0 -4
- package/lib/duet/p-da114a78.entry.js +0 -4
- package/lib/duet/p-e1c881da.system.js +0 -4
- package/lib/duet/p-e263da06.entry.js +0 -4
- package/lib/duet/p-e5810f77.entry.js +0 -4
- package/lib/duet/p-e6ac5022.system.entry.js +0 -4
- package/lib/duet/p-e96a159d.system.entry.js +0 -4
- package/lib/duet/p-ed803e3f.entry.js +0 -4
- package/lib/duet/p-ee1c534c.system.entry.js +0 -4
- package/lib/duet/p-f2bc16bb.system.entry.js +0 -4
- package/lib/duet/p-f3b6b75d.system.entry.js +0 -4
- package/lib/duet/p-f5f81926.system.entry.js +0 -4
- package/lib/duet/p-faf02cb3.entry.js +0 -4
- package/lib/duet/p-fb0c0f16.entry.js +0 -4
- package/lib/duet/p-fd78f61a.js +0 -4
- package/lib/duet/p-fe4a2e84.system.entry.js +0 -4
- package/lib/duet/p-fe56aeca.system.entry.js +0 -4
- package/lib/esm/a11y-utils-02741d98.js +0 -23
- package/lib/esm-es5/a11y-utils-02741d98.js +0 -4
- package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
|
@@ -116,15 +116,15 @@ export class DuetFooter {
|
|
|
116
116
|
render() {
|
|
117
117
|
const text = getLocaleString(i18n, this.language);
|
|
118
118
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
119
|
-
return (h("footer", { key: '
|
|
119
|
+
return (h("footer", { key: '984434597100f2619e70f0fb78942e03971633ba', class: {
|
|
120
120
|
"duet-footer": true,
|
|
121
121
|
"duet-m-0": this.margin === "none",
|
|
122
122
|
"duet-theme-turva": this.theme === "turva",
|
|
123
123
|
"duet-footer-simple": this.variation === "simple",
|
|
124
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
124
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '54916b84623acfa5541d9c4fd744405251657f4c', class: "duet-footer-wrapper" }, this.variation !== "simple" && (h("div", { key: '1750f3f4dfdc27ca09ad5aeb8109bda2bd05ec77', class: {
|
|
125
125
|
"duet-footer-top": true,
|
|
126
126
|
"duet-has-info": this.hasInfoSlot,
|
|
127
|
-
}, part: "top" }, h("div", { key: '
|
|
127
|
+
}, part: "top" }, h("div", { key: 'bb9d1aca77e745616b992c4c298987db3c17aea7', class: "footer-top-logo" }, h("duet-logo", { key: '6e7b06875f6fbe9c37ee62e55e998ed3a21a8721', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), h("div", { key: '21c24e081d8345e51e292e294a185ad6823e2353', class: "footer-top-right-container" }, h("slot", { key: '5432347d10fd601d8d676c3228f0695370f96db6', name: "info" }), h("div", { key: '27d2b49fdac1ab15bebcce259432bc8d9827a02d', class: "footer-top-items" }, this.processedItems &&
|
|
128
128
|
this.processedItems.map((item, index) => {
|
|
129
129
|
var _a, _b, _c, _d, _e, _f;
|
|
130
130
|
return (h(Fragment, null, index > 0 && h("duet-spacer", { size: "x-large", direction: "horizontal" }), h("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
@@ -134,7 +134,7 @@ export class DuetFooter {
|
|
|
134
134
|
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
135
135
|
? "medium"
|
|
136
136
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
137
|
-
}))))), h("slot", { key: '
|
|
137
|
+
}))))), h("slot", { key: '2d0660ceb4c7f5696d1dddd46506d84ea879ed19', name: "extra" }), h("p", { key: '0c6ad47b06a8db2a3668bcb26a48d8f5e5c0e460', class: "duet-footer-menu", part: "menu" }, h("span", { key: 'e2540585ee767f554113a6f8d796b9ebdeed13ba', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), h("span", { key: '8fb63fa6bf02d4876aa2d8a555768a53bf168762', class: "duet-footer-menu-links" }, this.processedMenu && (h(Fragment, { key: '8a21168dfc250e46ca4e16cd302108ca43b51dc2' }, this.processedMenu.map(item => (h("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-footer-external" }, h("duet-icon", { icon: newWindowIconSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), h("p", { key: 'b0a1683053d60ace83a92a07b2800649d4b976f5', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
138
138
|
}
|
|
139
139
|
static get is() { return "duet-footer"; }
|
|
140
140
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { media_query_large, media_query_medium, media_query_small } from "@duetds/tokens/lib/tokens.json";
|
|
5
|
-
import {
|
|
5
|
+
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { watchForElement, watchForOptions } from "../../utils/watch-options";
|
|
7
7
|
function isGridItem(element) {
|
|
8
8
|
return element.tagName.toLowerCase() === "duet-grid-item";
|
|
@@ -119,10 +119,7 @@ export class DuetGrid {
|
|
|
119
119
|
* Always the last one in the class.
|
|
120
120
|
*/
|
|
121
121
|
render() {
|
|
122
|
-
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
return (h(Host, { class: {
|
|
122
|
+
return (h(Host, { key: 'fd65566d78340fbb5446524cb7c18694f40f219e', class: {
|
|
126
123
|
"duet-grid": true,
|
|
127
124
|
"duet-no-stacking": !this.responsive,
|
|
128
125
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -149,7 +146,7 @@ export class DuetGrid {
|
|
|
149
146
|
"duet-grid-row-reverse": this.rowReverse,
|
|
150
147
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
151
148
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
152
|
-
} }, h("slot",
|
|
149
|
+
} }, h("slot", { key: 'acc5ce23bb2454400755b6dac1f31db22d00877b' })));
|
|
153
150
|
}
|
|
154
151
|
static get is() { return "duet-grid"; }
|
|
155
152
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
export class DuetGridItem {
|
|
7
7
|
constructor() {
|
|
@@ -26,10 +26,7 @@ export class DuetGridItem {
|
|
|
26
26
|
* Always the last one in the class.
|
|
27
27
|
*/
|
|
28
28
|
render() {
|
|
29
|
-
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
return (h(Host, { style: {
|
|
29
|
+
return (h(Host, { key: '89acf29883fafc4e79dcb26e288ae0b7540c43a1', style: {
|
|
33
30
|
"min-width": this.minWidth,
|
|
34
31
|
"max-width": this.maxWidth,
|
|
35
32
|
}, class: {
|
|
@@ -46,7 +43,7 @@ export class DuetGridItem {
|
|
|
46
43
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
47
44
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
48
45
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
49
|
-
} }, h("slot",
|
|
46
|
+
} }, h("slot", { key: '44bf045264a1cfe27bd16f2eab6881a2eb7850b6' })));
|
|
50
47
|
}
|
|
51
48
|
static get is() { return "duet-grid-item"; }
|
|
52
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class DuetHeading {
|
|
|
33
33
|
render() {
|
|
34
34
|
const TagName = sanitizeString(this.level);
|
|
35
35
|
const color = getColorByName(this.color);
|
|
36
|
-
return (h(TagName, { key: '
|
|
36
|
+
return (h(TagName, { key: 'f606e3e4de6cf69ec6743328d4e9e8bbce5fe66b', class: {
|
|
37
37
|
"duet-heading": true,
|
|
38
38
|
"duet-heading-border": this.border !== false,
|
|
39
39
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -44,7 +44,7 @@ export class DuetHeading {
|
|
|
44
44
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
45
45
|
"duet-theme-turva": this.theme === "turva",
|
|
46
46
|
"fixed-size": this.fixedSize,
|
|
47
|
-
}, style: { color }, part: "duet-heading" }, h("slot", { key: '
|
|
47
|
+
}, style: { color }, part: "duet-heading" }, h("slot", { key: '57fe6321051376c1b8dd03ceb22130a79d916745' })));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "duet-heading"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -158,7 +158,7 @@ export class DuetHero {
|
|
|
158
158
|
outlineColor = "color-primary-turva";
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
return (h("div", { key: '
|
|
161
|
+
return (h("div", { key: '0c4038b005e7b453195addcd524b72d6ba2b3f86', role: "region", class: {
|
|
162
162
|
"duet-hero": true,
|
|
163
163
|
"duet-theme-turva": this.theme === "turva",
|
|
164
164
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -176,17 +176,17 @@ export class DuetHero {
|
|
|
176
176
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
177
177
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
178
178
|
"duet-hero-narrow": this.layout === "narrow",
|
|
179
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '
|
|
180
|
-
this.processedBack && (h("div", { key: '
|
|
179
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '2cb744f9d21aae8900369096bffd08e271402053', class: "background-area" }, h("div", { key: '9a6c181bff667af0cc99f16896ff702761736e68', class: "background-container" }, h("div", { key: '9d96ddb71b6ff095622a709796aca2c64b30deb2', class: "background" }, h("img", { key: '5c7b3ac41baf0186fc4f63bd9970bf16c2dc74dc', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), h("div", { key: 'eb4469222c17d13a1fa751cb60da7292dcdf5749', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: '80278ce211fb2d3085d68ab1cb531d8ea7a01466', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '73d1a5d1e768ae43b2c118c0b8b18e6855a116ab', class: { "background-container": true, [this.layout]: true } }, h("div", { key: 'e65bbd5ad6ee10717273740a1cf5f4f9e55bb069', class: { background: true, [this.layout]: true } }, h("div", { key: '006f31a8ec8a628d32a7a910cfffe9058a314a54', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '655eb93298ed822cec744262497129f5470fdc52', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: 'fe646994943778c82b885c51ef0486aac015a99a', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '685632469ce5465d35954d83b52463421bdfbf20', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: '377041432c9d2ed89fb8d76f9930a5d754464869', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { key: 'c2adf4a16bdc21724bbdbb99353fbb494632ea08', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: 'fa66a3685808028cb23b95c6f509995469cbef1c', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '47590fda0e8e1d0342bdaa3f879e71b6d86c3873', class: "background-area" }, h("div", { key: '3a18024fff5df5404b8e8f4406dcbdbfcfc5017c', class: "background" }, h("div", { key: '159c2abcc696ca752a3d7657bd0714377dad40fa', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '3a56d7ab5ed83ec71182d607a79d4566953d8627', class: "brand-shape" }), h("div", { key: '4d0ee4bc1e28d66da1bcf2b0cb5cd47dcf1ae8b3', class: "brand-shaped-image" }, h("div", { key: '6e1345fbc0cf5e553df210e81c39de26e11c5714', class: "brand-shaped-image-wrapper" }, h("div", { key: '7ea88df1647ed0473e3c92b547118cd27c13e51e', class: "brand-shaped-image-bg", style: styles })))))), h("div", { key: '7f01db8e264b2e73a20426055b5a270281def01a', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'cd6ee31a587dc5728f1086208e34609c4cb41576', class: "duet-hero-image-mask" }, h("div", { key: '240753cdf68d85b41903e1d6134e83627c36ea20', class: "duet-hero-image-wrapper" }, h("div", { key: '6cafe1f5e91d8ec09c6deac64d10a2e18dc7dfa0', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
180
|
+
this.processedBack && (h("div", { key: '42d227de39c2c3c2f363d6254ad0443447f14b5a', class: "duet-hero-back" }, h("duet-button", { key: '417c38fa04a95e3fa3c050d338cab9715949ee26', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
181
181
|
label: this.processedBack.label,
|
|
182
182
|
href: this.processedBack.href,
|
|
183
183
|
id: this.processedBack.id,
|
|
184
184
|
analyticsId: this.processedBack.analyticsId,
|
|
185
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '
|
|
185
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '66063cd0b99415c605abe15352a9b71168037059', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '4a3fcc41f5daaf4d700068aa75197cd68a46bc11', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: '62051b4ac62ec3a47501537478ee19e709d10166', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: 'ea902d83a964060c8597405b0b24e1679af35e98', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: 'd77ac46a19fa244d4dcb33a68b44a3ff7cba8e4f', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? (this.heading) : (h("span", null, h("slot", { name: "heading" }))))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: 'c21c9d1e62d0eec3999fe1feaff0cec00179f5cc', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("span", { key: '9199c48d4fc9f198b7d8b9dee733b2f11eed776b' }, h("slot", { key: 'c42f417640ac4c491cfdc8365fa3e6b42e736777', name: "subheading" })))), this.description && (h("duet-paragraph", { key: '30dda4b5e866efe5078f4fe416b1e869cdd41d96', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: 'ed22cd538744a99e79f4f4114da63273bc87cd8f', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: '3bc7ef7148147a5d45bd58da145ad45a1bc446d7', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: 'decca9d5a65846b314106812964952a4a31dd749' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '241e28061c2c805cb601a4f76298856359bfec12', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
186
186
|
this.variation !== "image" &&
|
|
187
187
|
!campaignOrSection &&
|
|
188
188
|
this.variation !== "product" &&
|
|
189
|
-
this.variation !== "content" && h("div", { key: '
|
|
189
|
+
this.variation !== "content" && h("div", { key: '004ab35e7ed914486fbcd85ec53efe7bdc2b98ce', class: "duet-hero-image", style: styles }), h("slot", { key: '63d9b82445adb55bb89618092ed1e4178d6b8755', name: "bottom" }))));
|
|
190
190
|
}
|
|
191
191
|
static get is() { return "duet-hero"; }
|
|
192
192
|
static get encapsulation() { return "shadow"; }
|
|
@@ -97,11 +97,11 @@ export class DuetIcon {
|
|
|
97
97
|
: {};
|
|
98
98
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
99
99
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
100
|
-
return (h(Host, { key: '
|
|
100
|
+
return (h(Host, { key: 'bcc69839a12f0f324283e2ac3fcdcc0bf9f62f97', class: {
|
|
101
101
|
"duet-m-0": this.margin === "none",
|
|
102
102
|
"duet-icon-has-outline": !!this.outline,
|
|
103
103
|
"duet-icon-has-background": !!this.background,
|
|
104
|
-
} }, h("span", { key: '
|
|
104
|
+
} }, h("span", { key: '7b11a7a766f0b472bea854c1f39971d73a499b9b', "aria-hidden": "true", style: styles, class: {
|
|
105
105
|
"duet-icon": true,
|
|
106
106
|
"duet-theme-turva": this.theme === "turva",
|
|
107
107
|
"duet-theme-default": this.theme === "default",
|
|
@@ -110,7 +110,7 @@ export class DuetIcon {
|
|
|
110
110
|
[shapeStyle]: true,
|
|
111
111
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
112
112
|
"duet-icon-not-responsive": !this.responsive,
|
|
113
|
-
} }, h("span", { key: '
|
|
113
|
+
} }, h("span", { key: 'e84a88efa8d6d8f3b04c288939d3a36b80095878', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "duet-icon"; }
|
|
116
116
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import emailIcon from "@duetds/icons/lib/assets/form-email";
|
|
5
5
|
import searchIcon from "@duetds/icons/lib/assets/form-search";
|
|
6
|
-
import {
|
|
6
|
+
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
9
|
import { cleanValue, resetCursor } from "../../utils/input-utils";
|
|
10
10
|
import { isArrowLeftKey, isArrowRightKey, isBackspaceKey, isEnterKey, isEscapeKey } from "../../utils/keyboard-utils";
|
|
11
11
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
12
|
-
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
12
|
+
import { checkNamedSlotElement, proxyInputToSlot } from "../../utils/slot-utils";
|
|
13
13
|
const icons = {
|
|
14
14
|
search: searchIcon,
|
|
15
15
|
email: emailIcon,
|
|
@@ -23,6 +23,7 @@ export class DuetInput {
|
|
|
23
23
|
* Own Properties
|
|
24
24
|
*/
|
|
25
25
|
this.inputId = createID("DuetInput");
|
|
26
|
+
this.proxyId = createID("DuetInput");
|
|
26
27
|
this.clearId = createID("DuetInputClear");
|
|
27
28
|
this.labelId = createID("DuetLabel");
|
|
28
29
|
this.topCaptionId = createID("DuetCaptionTop");
|
|
@@ -274,6 +275,9 @@ export class DuetInput {
|
|
|
274
275
|
disconnectedCallback() {
|
|
275
276
|
disconnectLanguageChangeObserver(this);
|
|
276
277
|
}
|
|
278
|
+
componentDidRender() {
|
|
279
|
+
proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
|
|
280
|
+
}
|
|
277
281
|
/**
|
|
278
282
|
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
279
283
|
* `input.focus()`.
|
|
@@ -306,7 +310,7 @@ export class DuetInput {
|
|
|
306
310
|
}
|
|
307
311
|
}
|
|
308
312
|
getAllChips() {
|
|
309
|
-
return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"));
|
|
313
|
+
return Array.from(this.element.shadowRoot.querySelectorAll(".duet-input-relative duet-chip"));
|
|
310
314
|
}
|
|
311
315
|
isChipSelected() {
|
|
312
316
|
return this.getAllChips().some(chip => chip.selected);
|
|
@@ -369,7 +373,7 @@ export class DuetInput {
|
|
|
369
373
|
* Add a chip to the input
|
|
370
374
|
*/
|
|
371
375
|
async addChip(chip) {
|
|
372
|
-
const container = this.element.querySelector(".duet-input-relative");
|
|
376
|
+
const container = this.element.shadowRoot.querySelector(".duet-input-relative");
|
|
373
377
|
const input = container.querySelector("input:not(duet-chip input)");
|
|
374
378
|
chip.id = createID("DuetInputChip");
|
|
375
379
|
container.insertBefore(chip, input);
|
|
@@ -400,9 +404,6 @@ export class DuetInput {
|
|
|
400
404
|
* Always the last one in the class.
|
|
401
405
|
*/
|
|
402
406
|
render() {
|
|
403
|
-
if (Build.isServer) {
|
|
404
|
-
return;
|
|
405
|
-
}
|
|
406
407
|
const identifier = this.identifier || this.inputId;
|
|
407
408
|
const inputProps = {};
|
|
408
409
|
if (this.numericKeyboard) {
|
|
@@ -431,7 +432,7 @@ export class DuetInput {
|
|
|
431
432
|
this.type !== "password" &&
|
|
432
433
|
this.type !== "time" &&
|
|
433
434
|
this.variation !== "button";
|
|
434
|
-
return (h(Host, { class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { class: {
|
|
435
|
+
return (h(Host, { key: 'e4e873f95bf94f97147a15b2587cce826ffe328d', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: '6c116b58cda98a99d0561e57f42478e6f95fe85b', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: 'dc417736dc38bf828bb78b5ef7c18b4fd0f55660', class: {
|
|
435
436
|
"duet-input-container": true,
|
|
436
437
|
"duet-theme-turva": this.theme === "turva",
|
|
437
438
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -445,7 +446,7 @@ export class DuetInput {
|
|
|
445
446
|
"has-clear": this.clear,
|
|
446
447
|
"has-focus": this.isFocused,
|
|
447
448
|
disabled: this.disabled,
|
|
448
|
-
} }, h("div", { class: "duet-input-label-container" }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { name: "tooltip" })), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
449
|
+
} }, h("div", { key: '3120dd57e859e1f11c7f871046ff93ca379f7d33', class: "duet-input-label-container" }, h("duet-label", { key: '1625fdf912a8f117979ac70414b749e5920d6697', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '3e8fb18bae9803bd617d98fc326ff4879113505b', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'f9e4dca121a806252b7d523be78ae0db191ab05a', name: "tooltip" })), this.caption && (h("duet-caption", { key: 'c3a0f5039b0a6a78600b26003cf742b6c100b715', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '6df3e2e0abb79ce6bf5347c6e52e03be6ac374e1', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: '3f6dec06ad90dba4cb28b08ed008252423f6db74', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: 'a53cd8aa2761ac6ebd7b5d6ee329573595c9aacf', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), h("input", Object.assign({ key: '37decf03a973f6fa26a76961afc0598ab976b1e7', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
449
450
|
"duet-input": true,
|
|
450
451
|
disabled: this.disabled,
|
|
451
452
|
"is-number": this.component === "number",
|
|
@@ -453,19 +454,19 @@ export class DuetInput {
|
|
|
453
454
|
"after-chip": this.getAllChips().length > 0,
|
|
454
455
|
"align-right": this.inputAlign === "right",
|
|
455
456
|
[`input-padding-${this.inputPadding}`]: true,
|
|
456
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { class: {
|
|
457
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '2b06ed113322c4e03fdcb04bf528cc9425307013', class: "duet-input-icon" }, h("duet-icon", { key: 'b5d41a945b099d2c5ade8c121738a9d387599c80', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: 'f89624f414e9005f484f4d31b90edcf6ea81ca44', class: {
|
|
457
458
|
"duet-input-clear-icon": true,
|
|
458
459
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
459
460
|
"duet-input-clear-icon-double": !!this.icon,
|
|
460
461
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
461
|
-
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
462
|
+
} }, h("button", { key: 'aeedec82776de92e930bef230fdaed43552002a6', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: '92d15bab69bbfc0ea9b635c94b0edc5e5ddf4f3f', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: 'e16da8f6c4c252309cd6cf2fd9ad1d3f5ccdb547', class: "duet-input-icon" }, h("duet-icon", { key: 'ee55dc419577e1bd21eca218717c1ec7a64f38c2', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: '104d0b90682cd0508d684bebc22b9d4893d7181e', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: '838c0aef8ef924af565ad34a0004f4d5f187418f', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
462
463
|
? this.hidePasswordLabel[this.language]
|
|
463
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden",
|
|
464
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '902ec5a2c111186ed9cda34dcd1ad0d6666b74c7' }, h("span", { key: '1c94535e903e542ff97a52cb871e91d4ab244646', "aria-live": "polite" }, this.isPasswordRevealed
|
|
464
465
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
465
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot",
|
|
466
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '9e346bbb5e1d4a0e78fe8ff3b79401c7988a4e91' })), h("span", { key: '661e5d3ae11da4b71c4b024b6835b230008ddf42', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '66b313ab9b88db56592c542e1294012f6fbf3c10', class: "duet-input-error" }, this.error)))));
|
|
466
467
|
}
|
|
467
468
|
static get is() { return "duet-input"; }
|
|
468
|
-
static get encapsulation() { return "
|
|
469
|
+
static get encapsulation() { return "shadow"; }
|
|
469
470
|
static get originalStyleUrls() {
|
|
470
471
|
return {
|
|
471
472
|
"$": ["duet-input.scss"]
|
|
@@ -43,24 +43,24 @@ export class DuetLayout {
|
|
|
43
43
|
* Always the last one in the class.
|
|
44
44
|
*/
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '90f647eba78b36ab1d85e0a560b038ffc21303a2', class: {
|
|
47
47
|
center: this.center,
|
|
48
48
|
"duet-middle": this.middle,
|
|
49
49
|
"duet-ie": isInternetExplorer(),
|
|
50
|
-
} }, h("div", { key: '
|
|
50
|
+
} }, h("div", { key: '1431a32d05c84c241a2d8c7159e612e609e2824c', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: '60671d632fc27c596bdfcc7d615a48dc21f8b9a8', class: {
|
|
51
51
|
"duet-layout-top": true,
|
|
52
52
|
"duet-center": this.center,
|
|
53
|
-
} }, h("div", { key: '
|
|
53
|
+
} }, h("div", { key: '5550861a3548f488f5626097295495e42f1da21b', class: "duet-layout-top-wrapper" }, h("slot", { key: '50d4f55c8a796813d02274f30346110262213a88', name: "top" })))), h("div", { key: '1225a8d5b7023bc36962ce3ac6def89d972435d1', class: {
|
|
54
54
|
"duet-layout": true,
|
|
55
55
|
"has-sidebar": this.hasSidebar,
|
|
56
56
|
"duet-center": this.center,
|
|
57
57
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
58
|
-
} }, h("main", { key: '
|
|
58
|
+
} }, h("main", { key: '0e584acec6dc315e435bd00361e1ff3b374d04c0', class: "duet-main" }, this.hasPageHeading && h("slot", { key: '301f7c76d42a45373c5bf769e9293ede7d38e05c', name: "page-heading" }), h("slot", { key: 'cc8b9f7018c621c98ebb261167a92cace2b8ab62', name: "main" })), this.hasSidebar && (h("aside", { key: '811455504b48787253def2101178f1aeb6f497fd', class: "duet-sidebar" }, h("div", { key: '6bd13075032951b5837f51e7ffec4ab0966b16da', class: {
|
|
59
59
|
"duet-sidebar-container": true,
|
|
60
60
|
"has-tabs": this.tabs,
|
|
61
61
|
sticky: this.sticky,
|
|
62
62
|
[this.stickyDistance]: this.sticky,
|
|
63
|
-
} }, h("slot", { key: '
|
|
63
|
+
} }, h("slot", { key: '9dd5da1cca1abfb7f3946c2e9b254f76f4edf609', name: "sidebar" }))))))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "duet-layout"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
}
|
|
54
54
|
.duet-link:focus {
|
|
55
55
|
outline: 0;
|
|
56
|
-
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3
|
|
56
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
|
|
57
57
|
}
|
|
58
58
|
.duet-theme-turva .duet-link:focus, .duet-link:focus.duet-theme-turva {
|
|
59
|
-
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a
|
|
59
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
60
60
|
}
|
|
61
61
|
.duet-link.duet-theme-turva {
|
|
62
62
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
@@ -142,10 +142,10 @@ export class DuetLink {
|
|
|
142
142
|
render() {
|
|
143
143
|
const Tag = !this.url ? "button" : "a";
|
|
144
144
|
const isButton = Tag === "button";
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: 'e7cb6ea76d92ed46bca6c328a17e50755ea4c750', class: {
|
|
146
146
|
[`duet-link-${this.variation}`]: true,
|
|
147
147
|
"duet-m-0": this.margin === "none",
|
|
148
|
-
} }, h(Tag, { key: '
|
|
148
|
+
} }, h(Tag, { key: 'c6c6d30ed3774822aeae25f20e0bd227f71b397b', href: this.url, class: {
|
|
149
149
|
"duet-link": true,
|
|
150
150
|
"duet-link-is-external": this.external,
|
|
151
151
|
"duet-link-is-download": !!this.download,
|
|
@@ -72,7 +72,7 @@ export class DuetList {
|
|
|
72
72
|
* Always the last one in the class.
|
|
73
73
|
*/
|
|
74
74
|
render() {
|
|
75
|
-
return (h("dl", { key: '
|
|
75
|
+
return (h("dl", { key: '2494b68d174f2bed0ca129e8970a12ccf09d3532', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", { key: '966205c93097469e4b0e1c92aa7e7f264a235ae3' })));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "duet-list"; }
|
|
78
78
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,14 +16,14 @@ export class DuetListItem {
|
|
|
16
16
|
* Always the last one in the class.
|
|
17
17
|
*/
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'b6d3629f682ab9c7962c63213a42d93633b7b5ae', class: {
|
|
20
20
|
"duet-no-stacking": !this.responsive,
|
|
21
21
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
22
22
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
23
23
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
24
24
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
25
25
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
26
|
-
} }, h("dt", { key: '
|
|
26
|
+
} }, h("dt", { key: '6fd5bb285e0657c6669dcd1aa45983655ae96e44' }, h("slot", { key: '3042541fb55b198c4f183ddcbd5d3a318f20c0f6', name: "label" })), h("dd", { key: 'd925ef59c712ea7ea6308c65ff10e8e2293202bb' }, h("slot", { key: 'e38113683d53d0a1a23f80c900784c148ade05de', name: "value" }))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "duet-list-item"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -79,7 +79,7 @@ export class DuetLogo {
|
|
|
79
79
|
*/
|
|
80
80
|
render() {
|
|
81
81
|
const TagName = this.href ? "a" : "div";
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: 'e0134b0c6453f025fbb84513f17ad1fe857841fd', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '5d97b1065c652c700fef53b4cdd3c92e3a49a82f', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
83
83
|
"duet-logo": true,
|
|
84
84
|
[this.size]: true,
|
|
85
85
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -119,7 +119,6 @@ export class DuetMenuBar {
|
|
|
119
119
|
this.boundMqlFunctions[i] = bound;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
this.checkCenterSlot();
|
|
123
122
|
}
|
|
124
123
|
disconnectedCallback() {
|
|
125
124
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -153,14 +152,14 @@ export class DuetMenuBar {
|
|
|
153
152
|
render() {
|
|
154
153
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
155
154
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
156
|
-
return (h(Host, { key: '
|
|
155
|
+
return (h(Host, { key: 'e13a866fd4bd3ea3ae238bdfb4112afb068f0fab' }, h("nav", { key: 'db9045533c937a21efbc304286b5092f04243305', class: {
|
|
157
156
|
"duet-menu-bar": true,
|
|
158
157
|
"duet-theme-turva": this.theme === "turva",
|
|
159
158
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
160
159
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
161
160
|
hidden: this.hidden && this.hideOnScroll,
|
|
162
161
|
bottom: this.onBottom,
|
|
163
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
162
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '576b5b70223b4d2a3c3fe0d51b6463381ed02fd0', class: "top" }), h("div", { key: '3ea0281105040d3c08cad1f21d6da1b8a5fdb414', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '9705c47b5abafad8fca9cda63fc6210a6aa3db8d' }, h("duet-logo", { key: '75eeb4e66ec2fa1474406b004082ef0397daface', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), h("div", { key: '2cd20b518c5f8ece27f1038a476d467b6a319563', class: "list center", role: "list" }, h("div", { key: '6306281ddee87b21b54998ceaa9d00452fdd207d', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '2bed6d063a3826b81a1f2e94562e4441ed26fa5c', name: "center" }), h("div", { key: '9ed25492a82ceafafca374e2466d86d3b6491acb', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: 'b1cfd7cdd4cfd0450fe01ec99ede3e9860ac365c', class: "list right", role: "list" }, h("slot", { key: '6e9e1132485a765842ef8c99fc98dadf0b11bc63', name: "right" }))), h("div", { key: '168346a69638fbc80bcd180c0582aa167a84bb2e', class: "bottom" }))));
|
|
164
163
|
}
|
|
165
164
|
static get is() { return "duet-menu-bar"; }
|
|
166
165
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,10 +38,10 @@ export class DuetMenuBarButton {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '7ede8c9b9c82a2c6bcdcfc416f3794834ab77293', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '6910d36f8ae066a551ca0143b2f34ec38775dfdb', ref: button => (this.nativeButton = button), class: {
|
|
42
42
|
"duet-menu-bar-button": true,
|
|
43
43
|
"duet-theme-turva": this.theme === "turva",
|
|
44
|
-
}, "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: '
|
|
44
|
+
}, "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: '0e45ee09f68a3aac1f440e01ace151783be7c120', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '1a0b04b92ffc25cf50f594a50d02be255f24aeba' }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-menu-bar-button"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,17 +54,17 @@ export class DuetMenuBarDropdown {
|
|
|
54
54
|
* Always the last one in the class.
|
|
55
55
|
*/
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '30ea5bdc409a19c4f606a08a851fc3a91f636e87', role: "listitem" }, h("div", { key: '60eacea3711c3398f19bb391127b0a3742f6c779', class: {
|
|
58
58
|
"duet-menu-bar-dropdown": true,
|
|
59
59
|
"duet-theme-turva": this.theme === "turva",
|
|
60
60
|
active: this.open,
|
|
61
61
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
62
|
-
} }, h("button", { key: '
|
|
62
|
+
} }, h("button", { key: '87b94f39ed7bbbf01ec425ccadb044d64d797c59', 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: {
|
|
63
63
|
active: this.open,
|
|
64
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
64
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '5d1abdaafbd7e5b1bb75e46863f7d178799ee757', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'a1d04c25159935646c9613c3f59d176af8a3ee3d', class: "label" }, h("slot", { key: '48e78d6657df24ad22b495d244702169de00cfda', name: "label" }), h("duet-icon", { key: '5577398b8bd80946812d5f3a816684707852337d', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '14071561dd61cdc2e5d918323587f4d30674d2dc', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
65
65
|
items: true,
|
|
66
66
|
hidden: !this.open,
|
|
67
|
-
} }, h("slot", { key: '
|
|
67
|
+
} }, h("slot", { key: 'c42c206ba4b3c97f6dcd92c72a1cffc13d57834c' })))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-menu-bar-dropdown"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -40,11 +40,11 @@ export class DuetMenuBarDropdownLink {
|
|
|
40
40
|
* Always the last one in the class.
|
|
41
41
|
*/
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: 'fe377ce2b21f3ec7de8c6db577d706ed4e9e8745' }, h("a", { key: '583c2614e636104b1b2ff40c597e127550be5f5e', class: {
|
|
44
44
|
"duet-menu-bar-dropdown-link": true,
|
|
45
45
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
46
46
|
"duet-theme-turva": this.theme === "turva",
|
|
47
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
47
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '147d4e4ca57001748a3adf41757770577efb3113', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '3b471e970dfa2dbb5054245bd0c459860a629c91' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,11 +48,11 @@ export class DuetMenuBarItem {
|
|
|
48
48
|
*/
|
|
49
49
|
render() {
|
|
50
50
|
const TagName = this.url ? "a" : "button";
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '9a4fa3850a59a9e92ed6453f83ba66510ba98eed', role: "listitem" }, h(TagName, { key: '89b1d29049ab6f5a5cde267a3ff6488c1fc9ee6f', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
52
52
|
"duet-menu-bar-item": true,
|
|
53
53
|
"duet-theme-turva": this.theme === "turva",
|
|
54
54
|
active: this.active,
|
|
55
|
-
}, 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: '
|
|
55
|
+
}, 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: '4c323e8083d3dabfa32c7ad10d5cef783c25b50e', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '2cdf47895c4330542078da87b401ca6e51467c6c' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'e0c912d7168f8ae6072f5329d3d451da30adf4db', class: {
|
|
56
56
|
"trailing-icon": !!this.trailingIcon,
|
|
57
57
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
58
58
|
"external-icon": !!this.external,
|
|
@@ -22,11 +22,11 @@ export class DuetMenuBarLink {
|
|
|
22
22
|
* Always the last one in the class.
|
|
23
23
|
*/
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '944fc042969f5fb1c958f2e2b3c3b90cf4ed09e8', role: "listitem" }, h("a", { key: '8a379484694ccdd6eac62c98606b3d0410fd012f', class: {
|
|
26
26
|
"duet-menu-bar-link": true,
|
|
27
27
|
"duet-theme-turva": this.theme === "turva",
|
|
28
28
|
active: this.active,
|
|
29
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
29
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '6cb57d184b32ccf2d88b480cf6e14febee77d8bd', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'be23134b984610bea7ed18384aad517712760e84' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "duet-menu-bar-link"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|