@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
|
@@ -249,18 +249,18 @@ export class DuetModal {
|
|
|
249
249
|
var _a, _b;
|
|
250
250
|
let iconColor = "primary";
|
|
251
251
|
let closeColor = "secondary";
|
|
252
|
-
const closingButton = (h("div", { key: '
|
|
252
|
+
const closingButton = (h("div", { key: '0a05dbaf283737a1f77b62ab112c88b353464350', class: "duet-modal-close" }, h("duet-button", { key: '3a87f9968b872763efed783e1014d1117f1d375f', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
253
253
|
if (this.theme === "turva") {
|
|
254
254
|
iconColor = "primary-turva";
|
|
255
255
|
closeColor = "secondary-turva";
|
|
256
256
|
}
|
|
257
|
-
return (h("div", { key: '
|
|
257
|
+
return (h("div", { key: 'c93f95ce929ec3c82786932e3d6a0fe5d82d3173', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
258
258
|
"duet-modal-container": true,
|
|
259
259
|
"duet-theme-turva": this.theme === "turva",
|
|
260
260
|
"duet-modal-active": this.open,
|
|
261
261
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
262
262
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
263
|
-
} }, h("duet-overlay", { key: '
|
|
263
|
+
} }, h("duet-overlay", { key: '874d509e0e869ace4ec126dc6c4316f1618ac0d9', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: 'fe13b5967653c95bb6fc6087d048de8b0dddae5c', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
264
264
|
"duet-modal-inner": true,
|
|
265
265
|
[this.size]: true,
|
|
266
266
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -271,18 +271,18 @@ export class DuetModal {
|
|
|
271
271
|
this.closeModal(e);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
} }, h("div", { key: '
|
|
274
|
+
} }, h("div", { key: '97db4dc604168bf16f732f70233bea7b08bc3269', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
275
275
|
"duet-modal": true,
|
|
276
276
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
277
277
|
[this.size]: true,
|
|
278
278
|
[this.variation]: true,
|
|
279
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '
|
|
279
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: 'e238c81f94ffdef58ced08126a52e121e010c1ba' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: 'e6c7fe686edbee8d767ceb94c6c355b9de5f2932', class: {
|
|
280
280
|
"duet-modal-body": true,
|
|
281
281
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
282
282
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
283
283
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
284
284
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
285
|
-
} }, h("div", { key: '
|
|
285
|
+
} }, h("div", { key: '503f1759d8da05b03424f7cd4dc4fcbc1475b750', class: "duet-modal-header" }, h("span", { key: '4da34d236160f41ebebcbedf021756e2e7f16e7a', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'a4ec96d9dbce295980f9310f4e346b7db2b2ae1c', name: "top" })), this.icon && h("duet-icon", { key: '189ce6c874db5b0c63f6a4f99832467967660c36', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: '1ea245199b5d0824fc099b8efd3c0c78a5685c46', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: 'b6445a691a50ba8c5c675e400b5452ffc8076df5', class: "duet-modal-spinner" }, h("duet-spinner", { key: '5931daa7f184bfe4639353d28004a6c940b36854', size: "large", color: "primary" }))), h("div", { key: '3fb83728c1ecb7aa1c1c5cebfb426322e57065eb', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", { key: '34cade5d14c9b734a6c330b9648a2d3d33cbe878' })))))));
|
|
286
286
|
}
|
|
287
287
|
static get is() { return "duet-modal"; }
|
|
288
288
|
static get encapsulation() { return "shadow"; }
|
|
@@ -223,23 +223,23 @@ export class DuetMultiselect {
|
|
|
223
223
|
*/
|
|
224
224
|
render() {
|
|
225
225
|
var _a;
|
|
226
|
-
return (h(Host, { key: '
|
|
226
|
+
return (h(Host, { key: '3a671559e08eccdf48ad44b9e9b52b7d7e48e0c6', class: {
|
|
227
227
|
"duet-m-0": this.margin === "none",
|
|
228
228
|
"duet-expand": this.expand,
|
|
229
|
-
} }, h("div", { key: '
|
|
229
|
+
} }, h("div", { key: 'fdf19e2d8b4d3b2badc1578e9024bb2aa3eb0c79', class: {
|
|
230
230
|
"duet-multiselect-container": true,
|
|
231
231
|
"duet-label-hidden": this.labelHidden,
|
|
232
232
|
"duet-theme-turva": this.theme === "turva",
|
|
233
233
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
234
234
|
"has-error": !!this.error,
|
|
235
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { key: '
|
|
235
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { key: 'a0fbdb1c0e5fb5bec6fd6bca6e2664daf8167857', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'afa2b2750e582751ad2f939c06a926d642674d97', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '6de41caacf1f02a5c1a1d066fd374ff3c4a11c5a', name: "tooltip" }), this.caption && (h("duet-caption", { key: '27d956b0dda43a64bde53c69d5e09c3a1187aee7', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '4f7e7596be60a0108a21644d0673d5f80e28ecd3', class: "duet-multiselect-wrapper" }, h("button", { key: 'bbcf2b3c97dc20be60de1436ab54a12299fe249c', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '6cbf96b0870b6bcce05de05913c5bb7c52fe0f52', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '314065c7594a074bc12181cb0e1ee435ee430430', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: '7aad3d1e91e90de0a0dfe7f36033e136c748d0ed' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { key: 'e72d639f91e3d087689764dd2328c72e8d891702', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'bb0c604921ecb5c00cf369fa4765093c88d62129', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: 'a0ca77aba5de16cd53113ded0103d776062b84c9', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
236
236
|
"duet-multiselect-checkboxes": true,
|
|
237
237
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
238
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '
|
|
238
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '867656e4631ed271950191a5144ef7ec14f782eb', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'b55d9d3e7f6726a76301c32276608b307353e9d9', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '94d9f908ea389d09f404906f75121a7d38eac415', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
239
239
|
this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
|
|
240
240
|
var _a, _b;
|
|
241
241
|
return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
242
|
-
})))))), h("span", { key: '
|
|
242
|
+
})))))), h("span", { key: '823e0b5d814cf797b45c231fded5191e17911527', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '8ffa0864b4ff78136869432028f26f80957d38a2' }, this.error)))));
|
|
243
243
|
}
|
|
244
244
|
static get is() { return "duet-multiselect"; }
|
|
245
245
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class DuetNav {
|
|
|
24
24
|
* Always the last one in the class.
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: 'c5ab5dae2e7d22ca95bc16e28afef27ae15afcb0' }, h("div", { key: '4dce1e440de9e33921a8d156dd2a7e524e6a6f19', class: { container: true, sticky: this.sticky } }, h("slot", { key: '6172b6cf2f4def6008bcf4738d66aff2042e9a0a' }), h("slot", { key: 'd363f92ea1b28f1d09b413affc48e6780fb6374b', name: "mobile" }), h("slot", { key: '6a7323e9949b9d2c68ddf41048c23aefa4873f0d', name: "desktop" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "duet-nav"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,11 +43,11 @@ export class DuetNotification {
|
|
|
43
43
|
this.linkElement.focus(options);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '890f3393ed0551fe1b939f89f6d2f04e892c4913', role: "listitem", class: {
|
|
47
47
|
"duet-notification": true,
|
|
48
48
|
"duet-notification-highlight": this.highlight,
|
|
49
49
|
"duet-theme-turva": this.theme === "turva",
|
|
50
|
-
} }, h("a", { key: '
|
|
50
|
+
} }, h("a", { key: 'cc685fd8b8b81325ed7e98bc08ae5503066ac612', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '0e5be7a64538f4da436284ad7284230f1f86028d', class: "duet-notification-container" }, h("div", { key: '307f2270705569eefc4200d8b2b0ff452116821d', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: 'bbdb2452de67bf6e56bd8540ad0d34fc0a8d77e1', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: 'f01eee90a99d84210a27e271e3b2338cd35bb524' }, this.accessibleLabelUnread, ":")))), h("div", { key: '6173ca5bd3321cffdcaee2ae9e8fa48c84c46651', class: "duet-notification-content" }, h("slot", { key: '10edf0a272da934786f59453fb9700e5f8a53de0' })), h("div", { key: '2dfad6249fe5be7e28f37fa6ddfb665f7cbd04f3', class: "duet-notification-date" }, this.date)))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "duet-notification"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,10 +96,10 @@ export class DuetNotificationDrawer {
|
|
|
96
96
|
* Always the last one in the class.
|
|
97
97
|
*/
|
|
98
98
|
render() {
|
|
99
|
-
return (h("div", { key: '
|
|
99
|
+
return (h("div", { key: 'd3c48a796945f129730ee58bb90a5d74fbe2d20a', class: {
|
|
100
100
|
"duet-drawer": true,
|
|
101
101
|
"duet-theme-turva": this.theme === "turva",
|
|
102
|
-
}, onKeyDown: this.handleKeyDown }, h("button", { key: '
|
|
102
|
+
}, onKeyDown: this.handleKeyDown }, h("button", { key: 'a475ca447ada0163de80bc07e655202171c5e303', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (h("div", { key: '6b0367bfa98ae6940f657ebd59591f6a9f37f88b', class: "duet-drawer-icon" }, h("duet-icon", { key: 'd2fbb0ac6b02c5df43ffd02aa3267af80e0cb2e8', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && h("div", { key: '4d461ddfeb0718e2e8b02cc26b8a06a4302a54ac', class: "duet-drawer-badge" }))), h("span", { key: '3648203174b5eb431f9f3c7d294c66c151435f1f', class: "duet-drawer-label" }, this.label), h("div", { key: '98c6a53d3f09666c54320fc0805ee7b1acedcb01', class: "duet-drawer-caret" }, h("duet-icon", { key: '025d6d0ed15cce1e08a4256fbe8bda777b8d98eb', margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" }))), h("div", { key: 'bda418ac6381015dbbb2c588764161883af0e9c8', id: "duet-drawer-content", class: {
|
|
103
103
|
"duet-drawer-content": true,
|
|
104
104
|
"duet-drawer-right": this.direction === "right",
|
|
105
105
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -3,19 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import addIcon from "@duetds/icons/lib/assets/action-add";
|
|
5
5
|
import subtractIcon from "@duetds/icons/lib/assets/action-subtract";
|
|
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 { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isBackspaceKey, subscribeTabbingChange, unsubscribeTabbingChange, } from "../../utils/keyboard-utils";
|
|
10
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocale, getLocaleString, } from "../../utils/language-utils";
|
|
11
11
|
import { clamp, roundTo, SafeParseFloat } from "../../utils/math.utils";
|
|
12
|
-
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
12
|
+
import { checkNamedSlotElement, proxyInputToSlot } from "../../utils/slot-utils";
|
|
13
13
|
/**
|
|
14
14
|
* @slot tooltip - Use to place a tooltip alongside the label.
|
|
15
15
|
*/
|
|
16
16
|
export class DuetNumberInput {
|
|
17
17
|
constructor() {
|
|
18
18
|
this.inputId = createID("DuetInput");
|
|
19
|
+
this.proxyId = createID("DuetInput");
|
|
19
20
|
/**
|
|
20
21
|
* Component event handling.
|
|
21
22
|
*/
|
|
@@ -35,6 +36,7 @@ export class DuetNumberInput {
|
|
|
35
36
|
}
|
|
36
37
|
};
|
|
37
38
|
this.handleChange = (ev) => {
|
|
39
|
+
ev.stopPropagation();
|
|
38
40
|
const input = ev.target;
|
|
39
41
|
if (input && input.value) {
|
|
40
42
|
try {
|
|
@@ -255,6 +257,9 @@ export class DuetNumberInput {
|
|
|
255
257
|
disconnectLanguageChangeObserver(this);
|
|
256
258
|
unsubscribeTabbingChange(this);
|
|
257
259
|
}
|
|
260
|
+
componentDidRender() {
|
|
261
|
+
proxyInputToSlot(this.element, this.proxyId, this.name, this.value ? `${this.value} ${this.unit}` : "", this.required);
|
|
262
|
+
}
|
|
258
263
|
/**
|
|
259
264
|
* Sets focus on the specified `duet-number-input`. Use this method instead of the global
|
|
260
265
|
* `input.focus()`.
|
|
@@ -288,20 +293,17 @@ export class DuetNumberInput {
|
|
|
288
293
|
* Always the last one in the class.
|
|
289
294
|
*/
|
|
290
295
|
render() {
|
|
291
|
-
if (Build.isServer) {
|
|
292
|
-
return;
|
|
293
|
-
}
|
|
294
296
|
const identifier = this.identifier || this.inputId;
|
|
295
297
|
const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
|
|
296
298
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
297
|
-
return (h(Host, { class: {
|
|
299
|
+
return (h(Host, { key: '27634a68033872b85ed0ac1d2baa3ab694680d41', class: {
|
|
298
300
|
"duet-theme-turva": this.theme === "turva",
|
|
299
301
|
"duet-expand": this.expand,
|
|
300
302
|
"duet-m-0": this.margin === "none",
|
|
301
|
-
} }, h("div", { class: "duet-number-container" }, h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { name: "tooltip" }), h("div", { class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", {
|
|
303
|
+
} }, h("div", { key: '6827f8b2e63c45d4c1a102af1cc451806e22c6b2', class: "duet-number-container" }, h("duet-input", { key: '6ebc92848603fb489852d878a1d26aa75401527d', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { key: '8d5588224b8d90b55c49aedf839923eccff05d0f', name: "tooltip" }), h("div", { key: '26ecdb715139c53e42ad0365ddde6b73b66ba525', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { key: '9ee76518bfa2851ddb3c195b1f2ae44b55b81a94', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", { key: 'af735c2a71d3ec8f158bad31f424f58eda96b371' }, this.accessibleSubtract, " ", this.step), h("duet-icon", { key: '315b5a60f0c2930f1ebdbf54fa61b6f00ca2a2cc', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { key: '9b0f29334057be1214d1ed30a1cf192f5a40bca2', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", { key: 'dad3dcf4e65c811e03147889494f664b875f0b95' }, this.accessibleAdd, " ", this.step), h("duet-icon", { key: 'd9662ee9fd8d82605e4ee26c0b00826500674b0a', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { key: '974d023f255a72941f249af920c4ffbff4786b37', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
302
304
|
}
|
|
303
305
|
static get is() { return "duet-number-input"; }
|
|
304
|
-
static get encapsulation() { return "
|
|
306
|
+
static get encapsulation() { return "shadow"; }
|
|
305
307
|
static get originalStyleUrls() {
|
|
306
308
|
return {
|
|
307
309
|
"$": ["duet-number-input.scss"]
|
|
@@ -35,7 +35,7 @@ export class DuetOverlay {
|
|
|
35
35
|
* Always the last one in the class.
|
|
36
36
|
*/
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '06582c6852e2d6982612c3acc9fa8bbd09a275e3', "aria-hidden": "true" }, h("div", { key: '4e3a9651ea3d397a1ea974216514c2e29ff35082', style: { zIndex: this.zIndex }, class: {
|
|
39
39
|
"duet-overlay": true,
|
|
40
40
|
"duet-theme-turva": this.theme === "turva",
|
|
41
41
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -35,12 +35,12 @@ export class DuetPageHeading {
|
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
37
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
38
|
-
return (h("div", { key: '
|
|
38
|
+
return (h("div", { key: '3f0397cbed93e749d4486cf990007f59ea93ce13', class: {
|
|
39
39
|
"duet-page-heading": true,
|
|
40
40
|
"duet-theme-turva": this.theme === "turva",
|
|
41
41
|
"has-icon": !!this.icon,
|
|
42
42
|
[layout]: true,
|
|
43
|
-
} }, h("div", { key: '
|
|
43
|
+
} }, h("div", { key: '1b66828676f13f2949f1ae77f184a1febc9c1f9c', class: "background" }, this.theme === "turva" && h("div", { key: 'c7d6eb30d8a969debc22e0dac7e5d63a1ad23431', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'eff5674f587d91449d40c1c58ec1d736123dae4b', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: 'bead352c11517d3cdc8bbe778872a5d1aeac3933', class: "brand-shape second-shape" }), this.icon && (h("div", { key: 'af08880826e40a0c82a800625801f4783fe9bac8', class: "brand-shaped-icon" }, h("duet-icon", { key: 'a0b0a5baf486627155ea0e5bb385752b62d5617a', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: '12d4f1a5336805f643f0a3aa25c40a688e92253c', class: "heading" }, h("slot", { key: 'ff2c2f3da8dd82cd5943f24f1bedc609a13ae5d1', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (h("div", { key: 'a1e2fe5be47a7fb043006deddc1e728154062db9' }, h("duet-spacer", { key: '7b1923732eec7a9b35f9b5b8a15687be6212fd90', size: "large" }), h("div", { key: 'b6c4d4905ea4a19c0b466e1492debe516a0e2e6c', role: "presentation" }, this.progressIndicator()))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "duet-page-heading"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -342,32 +342,32 @@ export class DuetPagination {
|
|
|
342
342
|
* Always the last one in the class.
|
|
343
343
|
*/
|
|
344
344
|
render() {
|
|
345
|
-
return (h(Host, { key: '
|
|
345
|
+
return (h(Host, { key: '63ebab0bf7dea080db742a196ec6cadd4faf3422', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '5b4e1021fb02a66c75a69bd9d38aa122b02f0853', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
346
346
|
"duet-pagination-nav": true,
|
|
347
347
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
348
|
-
} }, this.numbersStore !== "" && (h("div", { key: '
|
|
348
|
+
} }, this.numbersStore !== "" && (h("div", { key: '93e3182cbbc58a95b98717a46d7b12493ec0818d', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '2c4d460cefbb01010e16f981ee02a88c72676697', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: '34474987dd9a26aea05634587138e95af4fe450c', id: this.listId, class: {
|
|
349
349
|
"duet-pagination": true,
|
|
350
350
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
351
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
351
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'c69df7d962b26a27a954c7d8bef8f535505a4cd1', class: {
|
|
352
352
|
"duet-pagination-page-button": true,
|
|
353
353
|
"duet-pagination-button-first": true,
|
|
354
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
354
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '901a11fde18ff828ab5ee44301b430f1551ff721', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: 'deb4f81302119384f87796c6c571d3bff92394cc', class: {
|
|
355
355
|
"duet-pagination-page-button": true,
|
|
356
356
|
"duet-pagination-button-first": true,
|
|
357
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
357
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '43edc2b4276101f2a199656d97905fbb5c318d01', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
358
358
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
359
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
360
|
-
this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
359
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: 'e7bb804999bcc0049a36cee1cfed6eace4f69a9d' }, h("li", { key: 'bc8e86d51a05ed7207c61130e03adab99972d990', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'c8cf1aa4d17fa21f4bac1df94d567ee7c6518926', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: '949333bff2072db55bc94f2038c0dc17086075f7', class: "duet-pagination-page-number" }, "1"))), h("li", { key: 'a60a0b5db53ce3ab2d53ef5d621cb116bfc54a24', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'ac69e69536e75c62726f5d0ebc403575ff059b2b', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: 'e6fa249f0f887d99b24f8d98f8b2872c7d259ffe', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
360
|
+
this.shouldDisplayNavigation() && (h(Fragment, { key: '68d65a89a09e8f96f8079165c10677ea7e28eb16' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '2b3a962f01999ee98fa7404fb492d70facca7ce0', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '0007c2b7bfb175274c0d9bf0b6c44cb391573a4a', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: '6fe7f71ea889cf3338600fd1bd0eb4f7ded1c02a', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: 'e2e34841b26b18aca84c76f43ef2d185528fefe4', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '8947ea4940b1e8df4759fdf76fc53c2f77febaf7', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
361
361
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
362
|
-
: undefined }, h("div", { key: '
|
|
362
|
+
: undefined }, h("div", { key: '60e347e323fd4361a1cf408ee51e4bc67a9230d3', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '978ffca86c84b3fed8deaa3842f5ce5d1176699e', class: {
|
|
363
363
|
"duet-pagination-page-button": true,
|
|
364
364
|
"duet-pagination-button-last": true,
|
|
365
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
365
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '1d9c0a03632a95f0da443958fc9701410407ad24', disabled: !!((this.current === this.totalPages &&
|
|
366
366
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
367
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
367
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '6387079d576477e9fd25739cc58563a16f3d7f00', class: {
|
|
368
368
|
"duet-pagination-page-button": true,
|
|
369
369
|
"duet-pagination-button-last": true,
|
|
370
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
370
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '6b41bfa37ce32dbc2a977aa9110659c8720d04ab', disabled: (this.current === this.totalPages &&
|
|
371
371
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
372
372
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
373
373
|
}
|
|
@@ -32,7 +32,7 @@ export class DuetParagraph {
|
|
|
32
32
|
const color = getColorByName(this.color);
|
|
33
33
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
34
34
|
// are not announced when placed inside duet-modal
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '3cf5f2bd4aeee4bd1c6314a7ac8d54539a87b895', "aria-describedby": this.id }, h("p", { key: '1f9c9162b385ac72e8a47f7f80b69293ea6bfc78', id: this.id, class: {
|
|
36
36
|
"duet-paragraph": true,
|
|
37
37
|
"duet-paragraph-small": this.size === "small",
|
|
38
38
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -40,7 +40,7 @@ export class DuetParagraph {
|
|
|
40
40
|
"duet-m-0": this.margin === "none",
|
|
41
41
|
[this.variation]: true,
|
|
42
42
|
"duet-theme-turva": this.theme === "turva",
|
|
43
|
-
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '
|
|
43
|
+
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: 'd5c6a5b6d69f600454a85ad01f39406fd57b7188' }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "duet-paragraph"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,11 +66,11 @@ export class DuetPopupMenuItem {
|
|
|
66
66
|
"duet-theme-turva": this.theme === "turva",
|
|
67
67
|
"active-descendant": this.activeDescendant,
|
|
68
68
|
};
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'd8a0f9f62ecc1abedce8431e27331ff3d88f4c24', role: this.accessibleRole }, h(TagName, { key: '998d7156c8a1e789405240a5927923e83130eb48', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: 'db04fcce497b69525b6dafe5179aaff15a61a98f', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'f67feb833576c6272f80097877c16cc0c68f41f8', class: "duet-popup-menu-item-label" }, h("slot", { key: 'bd8abe74d51a7398ab7ba70813dc1449ad5e0bb4' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: '3f75ee757d5ff1b5fa9055b897fd51c31f6919d5', name: this.url && this.external
|
|
70
70
|
? newWindowIcon.title
|
|
71
71
|
: this.active
|
|
72
72
|
? "messaging-checked-small"
|
|
73
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '
|
|
73
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: 'e716737df75eb8ee5512b2075e37ef539fe4ef2c', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "duet-popup-menu-item"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,6 +59,7 @@ export class DuetProgress {
|
|
|
59
59
|
} }, h("duet-visually-hidden", null, h("label", { htmlFor: this.progressLabelId }, h("span", null, this.accessibleLabel, this.progress !== 0 && `, ${this.accessibleLabelUpload[this.progress < 99 ? 1 : 0]}`))), this.caption && (h("div", { class: "duet-progress-caption" }, h("span", null, this.caption))), h("progress", { id: this.progressLabelId, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, role: "progressbar", value: this.progress, max: "100", "aria-valuemin": "0", "aria-valuemax": "100" }, h("div", { class: "progress-bar" }, h("span", { style: { width: `${this.progress}%;` } }, "Progress: ", this.progress, "%"))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "duet-progress"; }
|
|
62
|
+
static get encapsulation() { return "shadow"; }
|
|
62
63
|
static get originalStyleUrls() {
|
|
63
64
|
return {
|
|
64
65
|
"$": ["duet-progress.scss"]
|
|
@@ -53,12 +53,12 @@ export class DuetPromoCard {
|
|
|
53
53
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
54
54
|
};
|
|
55
55
|
const TagName = this.url ? "a" : "div";
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'cf0d6881f2f47a55a8143ca7b3456883bb2d772a', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '928893cdc7ec06b1d2c063bb97534847c647272e', class: {
|
|
57
57
|
"duet-promo-card": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
59
|
"no-bg-color": !this.backgroundColor,
|
|
60
60
|
"duet-promo-card-link": !!this.url,
|
|
61
|
-
}, style: bannerStyles }, h(TagName, { key: '
|
|
61
|
+
}, style: bannerStyles }, h(TagName, { key: '364938761185a64da7aa41156bc9537a98214cd9', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, h("img", { key: '2c0cf1389b24e9f83d2ceaa0f8c9b7d61497be6d', class: "image", src: this.image, alt: "", role: "presentation" }), h("div", { key: '1d0b3d4c573a508916a2764704371938cde06015', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: '2b37c5cdafaed100d881143c347afb3c61001204', class: "pre-heading" }, h("slot", { key: '25a7c6af10e95f45da8d0b541f62deef43e1425c', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'd442b4843e6ef12edaf638fa40ea1dfeb7530b67', class: "heading" }, h("duet-heading", { key: 'a958109c2ee15936268c1f4d2442c882b2201f23', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, h("span", { key: 'c0e6cfbc00e165a7d268e523f70fb9bd35319d74' }, h("slot", { key: '0486de64216f817a4beea3c033cc8358b1c5e0e4', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '290862c134b87ef88be10e76b8bbcdd4d3b81e4a', class: "description" }, h("duet-paragraph", { key: '62c172d0ca03aaf5a07eebc9ba746522b3ad4111', theme: this.theme, margin: "none", color: this.textColor }, h("span", { key: '2e1aa4953e82e554989d540ea3457b4e3bf41ab1' }, h("slot", { key: 'e84b12f234411a1cc96e6e3162a1c0c18014dd2b', name: "description" }))))), this.hasActionSlot && (h("div", { key: '2fb7c4c6c1c6e1726ea7ae5b2dc98964523f7161', class: "action" }, h("slot", { key: '62ed799aa718b7dfe639a2c06e868ed5d019d881', name: "action" }))))))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "duet-promo-card"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -107,18 +107,7 @@
|
|
|
107
107
|
height: 100%;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.duet-
|
|
111
|
-
padding: 14px !important;
|
|
112
|
-
position: absolute;
|
|
113
|
-
top: 0;
|
|
114
|
-
left: 0;
|
|
115
|
-
z-index: 200;
|
|
116
|
-
width: 100%;
|
|
117
|
-
height: 100%;
|
|
118
|
-
cursor: pointer;
|
|
119
|
-
opacity: 0;
|
|
120
|
-
}
|
|
121
|
-
.duet-radio + label::before {
|
|
110
|
+
.duet-label::before {
|
|
122
111
|
z-index: 100;
|
|
123
112
|
flex-shrink: 0;
|
|
124
113
|
width: 20px;
|
|
@@ -129,16 +118,16 @@
|
|
|
129
118
|
border: 1px solid rgb(8, 42, 77);
|
|
130
119
|
border-radius: 50%;
|
|
131
120
|
}
|
|
132
|
-
.duet-theme-turva .duet-
|
|
121
|
+
.duet-theme-turva .duet-label::before {
|
|
133
122
|
border-color: rgb(23, 28, 58);
|
|
134
123
|
}
|
|
135
|
-
.duet-
|
|
124
|
+
.duet-label.focus::before {
|
|
136
125
|
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
|
|
137
126
|
}
|
|
138
|
-
.duet-theme-turva .duet-
|
|
127
|
+
.duet-theme-turva .duet-label.focus::before {
|
|
139
128
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
140
129
|
}
|
|
141
|
-
.duet-
|
|
130
|
+
.duet-label.checked::after {
|
|
142
131
|
position: absolute;
|
|
143
132
|
top: 6px;
|
|
144
133
|
left: 5px;
|
|
@@ -150,31 +139,44 @@
|
|
|
150
139
|
background: rgb(0, 119, 179);
|
|
151
140
|
border-radius: 50%;
|
|
152
141
|
}
|
|
153
|
-
.duet-theme-turva .duet-
|
|
142
|
+
.duet-theme-turva .duet-label.checked::after {
|
|
154
143
|
background: rgb(23, 28, 58);
|
|
155
144
|
}
|
|
156
|
-
.duet-
|
|
157
|
-
cursor: default;
|
|
158
|
-
}
|
|
159
|
-
.duet-radio[disabled] + label {
|
|
145
|
+
.duet-label.disabled {
|
|
160
146
|
color: rgb(98, 121, 138);
|
|
161
147
|
}
|
|
162
|
-
.duet-theme-turva .duet-
|
|
148
|
+
.duet-theme-turva .duet-label.disabled {
|
|
163
149
|
color: rgb(143, 147, 158);
|
|
164
150
|
}
|
|
165
|
-
.duet-
|
|
151
|
+
.duet-label.disabled::before {
|
|
166
152
|
border-color: rgb(181, 198, 208);
|
|
167
153
|
}
|
|
168
|
-
.duet-theme-turva .duet-
|
|
154
|
+
.duet-theme-turva .duet-label.disabled::before {
|
|
169
155
|
border-color: rgb(143, 147, 158);
|
|
170
156
|
}
|
|
171
|
-
.duet-
|
|
157
|
+
.duet-label.disabled.checked::before {
|
|
172
158
|
border: 1px solid rgb(127, 150, 165);
|
|
173
159
|
}
|
|
174
|
-
.duet-
|
|
160
|
+
.duet-label.disabled.checked::after {
|
|
175
161
|
background: rgb(127, 150, 165);
|
|
176
162
|
}
|
|
177
|
-
.duet-theme-turva .duet-
|
|
163
|
+
.duet-theme-turva .duet-label.disabled.checked::after {
|
|
178
164
|
background: rgb(143, 147, 158);
|
|
179
165
|
border-color: rgb(143, 147, 158);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
*::slotted([slot=input]) {
|
|
169
|
+
padding: 14px !important;
|
|
170
|
+
position: absolute;
|
|
171
|
+
top: 0;
|
|
172
|
+
left: 0;
|
|
173
|
+
z-index: 200;
|
|
174
|
+
width: 100%;
|
|
175
|
+
height: 100%;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
opacity: 0;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
*::slotted([slot=input][disabled]) {
|
|
181
|
+
cursor: default;
|
|
180
182
|
}
|