@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
|
@@ -1,9 +1,10 @@
|
|
|
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";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
|
+
import { getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
|
|
7
8
|
/**
|
|
8
9
|
* @slot label - Label content.
|
|
9
10
|
*/
|
|
@@ -13,6 +14,70 @@ export class DuetRadio {
|
|
|
13
14
|
* Own Properties.
|
|
14
15
|
*/
|
|
15
16
|
this.radioId = createID("DuetRadio");
|
|
17
|
+
this.radioInputListenersRemove = radioInput => {
|
|
18
|
+
radioInput.removeEventListener("change", this.onChange);
|
|
19
|
+
//radioInput.removeEventListener("click", this.onRadioClick)
|
|
20
|
+
radioInput.removeEventListener("focus", this.onFocus);
|
|
21
|
+
radioInput.removeEventListener("blur", this.onBlur);
|
|
22
|
+
};
|
|
23
|
+
this.radioInputListenersAdd = radioInput => {
|
|
24
|
+
radioInput.addEventListener("change", this.onChange);
|
|
25
|
+
//radioInput.addEventListener("click", this.onRadioClick)
|
|
26
|
+
radioInput.addEventListener("focus", this.onFocus);
|
|
27
|
+
radioInput.addEventListener("blur", this.onBlur);
|
|
28
|
+
};
|
|
29
|
+
this.radioInputSetUp = () => {
|
|
30
|
+
const slotInput = this.element.querySelector("input[slot=input]");
|
|
31
|
+
const radioInput = slotInput || document.createElement("input");
|
|
32
|
+
radioInput.slot = "input";
|
|
33
|
+
radioInput.disabled = this.disabled || this.groupDisabled ? true : undefined;
|
|
34
|
+
radioInput.id = this.identifier || this.radioId;
|
|
35
|
+
radioInput.type = "radio";
|
|
36
|
+
radioInput.name = this.name;
|
|
37
|
+
radioInput.value = this.value;
|
|
38
|
+
radioInput.checked = this.checked;
|
|
39
|
+
if (this.accessibleIndex) {
|
|
40
|
+
radioInput.tabIndex = Number(this.accessibleIndex);
|
|
41
|
+
}
|
|
42
|
+
radioInput.required = this.required;
|
|
43
|
+
radioInput.role = this.role;
|
|
44
|
+
if (this.accessibleControls) {
|
|
45
|
+
radioInput.setAttribute("aria-controls", this.accessibleControls);
|
|
46
|
+
}
|
|
47
|
+
if (this.accessibleActiveDescendant) {
|
|
48
|
+
radioInput.setAttribute("aria-activedescendant", this.accessibleActiveDescendant);
|
|
49
|
+
}
|
|
50
|
+
if (this.accessibleOwns) {
|
|
51
|
+
radioInput.setAttribute("aria-owns", this.accessibleOwns);
|
|
52
|
+
}
|
|
53
|
+
if (this.accessibleDescribedBy) {
|
|
54
|
+
radioInput.setAttribute("aria-describedby", this.accessibleDescribedBy);
|
|
55
|
+
}
|
|
56
|
+
if (this.accessibleLabelledBy) {
|
|
57
|
+
radioInput.setAttribute("aria-labelledby", this.accessibleLabelledBy);
|
|
58
|
+
}
|
|
59
|
+
if (this.accessibleDetails) {
|
|
60
|
+
radioInput.setAttribute("aria-details", this.accessibleDetails);
|
|
61
|
+
}
|
|
62
|
+
if (this.accessibleDescription) {
|
|
63
|
+
radioInput.setAttribute("aria-description", this.accessibleDescription);
|
|
64
|
+
}
|
|
65
|
+
if (this.hasLabel) {
|
|
66
|
+
const slotContent = getElementsFromNamedSlot(this.element, "label");
|
|
67
|
+
radioInput.ariaLabel = slotContent.length > 0 ? slotContent[0].textContent : this.labelElement.textContent;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
radioInput.ariaLabel = this.labelElement.textContent;
|
|
71
|
+
}
|
|
72
|
+
if (slotInput) {
|
|
73
|
+
this.radioInputListenersRemove(radioInput);
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
this.element.appendChild(radioInput);
|
|
77
|
+
}
|
|
78
|
+
this.radioInputListenersAdd(radioInput);
|
|
79
|
+
this.focusableElement = radioInput;
|
|
80
|
+
};
|
|
16
81
|
/**
|
|
17
82
|
* Component event handling.
|
|
18
83
|
*/
|
|
@@ -20,7 +85,9 @@ export class DuetRadio {
|
|
|
20
85
|
ev.stopPropagation();
|
|
21
86
|
};
|
|
22
87
|
this.onChange = (ev) => {
|
|
23
|
-
|
|
88
|
+
const input = this.focusableElement;
|
|
89
|
+
const inputChecked = input.checked;
|
|
90
|
+
this.checked = inputChecked;
|
|
24
91
|
if (this.checked && !this.blockEvents) {
|
|
25
92
|
this.duetChange.emit({
|
|
26
93
|
originalEvent: ev,
|
|
@@ -31,6 +98,7 @@ export class DuetRadio {
|
|
|
31
98
|
}
|
|
32
99
|
};
|
|
33
100
|
this.onBlur = (ev) => {
|
|
101
|
+
this.focus = false;
|
|
34
102
|
this.duetBlur.emit({
|
|
35
103
|
originalEvent: ev,
|
|
36
104
|
checked: this.checked,
|
|
@@ -39,6 +107,7 @@ export class DuetRadio {
|
|
|
39
107
|
});
|
|
40
108
|
};
|
|
41
109
|
this.onFocus = (ev) => {
|
|
110
|
+
this.focus = true;
|
|
42
111
|
this.duetFocus.emit({
|
|
43
112
|
originalEvent: ev,
|
|
44
113
|
checked: this.checked,
|
|
@@ -46,6 +115,7 @@ export class DuetRadio {
|
|
|
46
115
|
component: "duet-radio",
|
|
47
116
|
});
|
|
48
117
|
};
|
|
118
|
+
this.focus = false;
|
|
49
119
|
this.accessibleActiveDescendant = undefined;
|
|
50
120
|
this.accessibleDetails = undefined;
|
|
51
121
|
this.accessibleLabelledBy = undefined;
|
|
@@ -74,37 +144,39 @@ export class DuetRadio {
|
|
|
74
144
|
*/
|
|
75
145
|
componentWillLoad() {
|
|
76
146
|
inheritGlobalTheme(this);
|
|
77
|
-
this.hasLabel =
|
|
78
|
-
? Array.from(this.element.children).filter(el => el.matches("[slot='label']")).length > 0
|
|
79
|
-
: !!this.element.querySelector(":scope > [slot='label']");
|
|
147
|
+
this.hasLabel = hasSlot(this.element, "label");
|
|
80
148
|
if (this.value === undefined) {
|
|
81
149
|
this.value = this.identifier;
|
|
82
150
|
}
|
|
83
151
|
}
|
|
152
|
+
componentDidRender() {
|
|
153
|
+
this.radioInputSetUp();
|
|
154
|
+
}
|
|
84
155
|
/**
|
|
85
156
|
* Sets focus on the specified `duet-radio`. Use this method instead of the global
|
|
86
157
|
* `input.focus()`.
|
|
87
158
|
*/
|
|
88
159
|
async setFocus(options) {
|
|
89
|
-
this.
|
|
160
|
+
this.focusableElement.focus(options);
|
|
90
161
|
}
|
|
91
162
|
/**
|
|
92
163
|
* render() function
|
|
93
164
|
* Always the last one in the class.
|
|
94
165
|
*/
|
|
95
166
|
render() {
|
|
96
|
-
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
const identifier = this.identifier || this.radioId;
|
|
100
|
-
return (h(Host, { onClick: this.onClick, class: {
|
|
167
|
+
return (h(Host, { key: '45b1545ee1fba45f0e798ecc8d00e3a1008626f8', onClick: this.onClick, class: {
|
|
101
168
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
102
169
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
103
170
|
"duet-m-0": this.margin === "none",
|
|
104
|
-
} }, h("div", { class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("
|
|
171
|
+
} }, h("div", { key: '08a710d7eba8d2d525f28914ee1a607772193aad', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { key: '0ae4454c2bbca3802ff1e39a9a8cc9fa8e5a0f55', name: "input" }), h("label", { key: '135a95b34307d57a9af5fe5768da8df2a74e7803', inert: true, ref: element => (this.labelElement = element), class: {
|
|
172
|
+
"duet-label": true,
|
|
173
|
+
checked: this.checked,
|
|
174
|
+
focus: this.focus,
|
|
175
|
+
disabled: this.disabled || this.groupDisabled,
|
|
176
|
+
} }, h("div", { key: '908ecfc2809c9ff575ded9cc37c034921d7c4966', class: "duet-label-content" }, this.hasLabel ? h("slot", { name: "label" }) : this.label)))));
|
|
105
177
|
}
|
|
106
178
|
static get is() { return "duet-radio"; }
|
|
107
|
-
static get encapsulation() { return "
|
|
179
|
+
static get encapsulation() { return "shadow"; }
|
|
108
180
|
static get originalStyleUrls() {
|
|
109
181
|
return {
|
|
110
182
|
"$": ["duet-radio.scss"]
|
|
@@ -573,6 +645,11 @@ export class DuetRadio {
|
|
|
573
645
|
}
|
|
574
646
|
};
|
|
575
647
|
}
|
|
648
|
+
static get states() {
|
|
649
|
+
return {
|
|
650
|
+
"focus": {}
|
|
651
|
+
};
|
|
652
|
+
}
|
|
576
653
|
static get events() {
|
|
577
654
|
return [{
|
|
578
655
|
"method": "duetChange",
|
|
@@ -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
|
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
7
7
|
import { findCheckedOption, watchForOptions } from "../../utils/watch-options";
|
|
@@ -113,13 +113,10 @@ export class DuetRadioGroup {
|
|
|
113
113
|
* Always the last one in the class.
|
|
114
114
|
*/
|
|
115
115
|
render() {
|
|
116
|
-
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
return (h(Host, { onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip" }), h("div", { class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", null)))));
|
|
116
|
+
return (h(Host, { key: 'e516156e7c44831a8e14c4025a5533d4b2a4b7c9', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: 'dec5b7cb93bc57ea111b05a52dc0a3c2bf34cd79', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: 'e26e641c572e513574e148f6fb7132a6456a5692', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '27b29b5694912bcbac44b04c4842eaf18acfb941', name: "tooltip" }), h("div", { key: '6ddeead79d117c688fcb68166a7eecbd51f5b7df', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '3b8f61ca49010d8ebd8aed718c514a5e51f9feaf' })))));
|
|
120
117
|
}
|
|
121
118
|
static get is() { return "duet-radio-group"; }
|
|
122
|
-
static get encapsulation() { return "
|
|
119
|
+
static get encapsulation() { return "shadow"; }
|
|
123
120
|
static get originalStyleUrls() {
|
|
124
121
|
return {
|
|
125
122
|
"$": ["duet-radio-group.scss"]
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { colorGray, colorGrayTurva, colorPrimary, colorPrimaryTurva } from "@duetds/tokens";
|
|
5
|
-
import {
|
|
5
|
+
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
import { createID } from "../../utils/create-id";
|
|
8
8
|
import isInternetExplorer from "../../utils/is-internet-explorer";
|
|
9
9
|
import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
|
|
10
|
+
import { proxyInputToSlot } from "../../utils/slot-utils";
|
|
10
11
|
const colors = {
|
|
11
12
|
turva: {
|
|
12
13
|
active: colorPrimaryTurva,
|
|
@@ -23,6 +24,7 @@ export class DuetRangeSlider {
|
|
|
23
24
|
* Own Properties
|
|
24
25
|
*/
|
|
25
26
|
this.rangeId = createID("DuetRange");
|
|
27
|
+
this.proxyId = createID("DuetRange");
|
|
26
28
|
/**
|
|
27
29
|
* Component event handling.
|
|
28
30
|
*/
|
|
@@ -86,6 +88,9 @@ export class DuetRangeSlider {
|
|
|
86
88
|
disconnectedCallback() {
|
|
87
89
|
unsubscribeTabbingChange(this);
|
|
88
90
|
}
|
|
91
|
+
componentDidRender() {
|
|
92
|
+
proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
|
|
93
|
+
}
|
|
89
94
|
/**
|
|
90
95
|
* Sets focus on the specified `duet-range-slider`. Use this method instead of the global
|
|
91
96
|
* `input.focus()`.
|
|
@@ -104,9 +109,6 @@ export class DuetRangeSlider {
|
|
|
104
109
|
* Always the last one in the class.
|
|
105
110
|
*/
|
|
106
111
|
render() {
|
|
107
|
-
if (Build.isServer) {
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
110
112
|
const identifier = this.identifier || this.rangeId;
|
|
111
113
|
const theme = this.theme === "turva" ? "turva" : "default";
|
|
112
114
|
const { inactive, active } = colors[theme];
|
|
@@ -114,16 +116,16 @@ export class DuetRangeSlider {
|
|
|
114
116
|
const rangeStyles = {
|
|
115
117
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
116
118
|
};
|
|
117
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { class: {
|
|
119
|
+
return (h(Host, { key: '88829030a8bbb0f4f4029de9ec16b04e3e476798', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: 'be11c8a8f243506acbd30ee4676104dbcea9a1ba', class: {
|
|
118
120
|
"duet-range-container": true,
|
|
119
121
|
"duet-label-hidden": this.labelHidden,
|
|
120
122
|
"duet-theme-turva": this.theme === "turva",
|
|
121
123
|
"duet-ie": isInternetExplorer(),
|
|
122
124
|
"duet-range-disabled": this.disabled,
|
|
123
|
-
} }, h("duet-label", { theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small"
|
|
125
|
+
} }, h("duet-label", { key: 'c732b5fee1e4bfdb9873dfea49c26fdc34d6b03d', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small" }, this.label), h("output", { key: '43e6503a9b071299e557c6e39b64679e32f8f483', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: '2cc4a064e002ac2c4ae45d6fd13f0bdc3401f5de', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-label": this.label, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
124
126
|
}
|
|
125
127
|
static get is() { return "duet-range-slider"; }
|
|
126
|
-
static get encapsulation() { return "
|
|
128
|
+
static get encapsulation() { return "shadow"; }
|
|
127
129
|
static get originalStyleUrls() {
|
|
128
130
|
return {
|
|
129
131
|
"$": ["duet-range-slider.scss"]
|
|
@@ -169,10 +169,10 @@ export class DuetRangeStepper {
|
|
|
169
169
|
* Always the last one in the class.
|
|
170
170
|
*/
|
|
171
171
|
render() {
|
|
172
|
-
return (h("div", { key: '
|
|
172
|
+
return (h("div", { key: 'e398ec0cf2d35150c78f4e3475fd7e4c95d646ad', class: {
|
|
173
173
|
"duet-range-stepper": true,
|
|
174
174
|
"duet-theme-turva": this.theme === "turva",
|
|
175
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '
|
|
175
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '24a874579791e03416eb316216ea44c6d35d7e0b', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: '13d2b13c96b44797b61192a0e99c63ec0098e7a6', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: 'd8b25262e3f9549252640e5479b83dd2c7ea4930', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
176
176
|
}
|
|
177
177
|
static get is() { return "duet-range-stepper"; }
|
|
178
178
|
static get encapsulation() { return "shadow"; }
|
|
@@ -222,21 +222,21 @@ export class DuetScrollable {
|
|
|
222
222
|
* Always the last one in the class.
|
|
223
223
|
*/
|
|
224
224
|
render() {
|
|
225
|
-
return (h(Host, { key: '
|
|
225
|
+
return (h(Host, { key: 'b4198b556c21a0b793694cfc88c23d2ae01d50bf', class: {
|
|
226
226
|
"duet-theme-turva": this.theme === "turva",
|
|
227
227
|
"duet-theme-default": this.theme === "default",
|
|
228
|
-
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: '
|
|
228
|
+
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: 'c15a9e37829ff7f41eb5c90156f78086777a44d7', class: {
|
|
229
229
|
collapse: true,
|
|
230
230
|
hide: !this.needsScrolling && !this.collapsed,
|
|
231
|
-
} }, h("duet-button", { key: '
|
|
231
|
+
} }, h("duet-button", { key: '69ac59727a4efdf372e05a241e53f3f465278782', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '9ae0e03e390f546425e0c4a36ba4e1b14e9df548', name: "collapse-button-label" })))), h("div", { key: '693aa91ad582ae80b569a3d1c1cdcd6a2fd5b4fc', class: {
|
|
232
232
|
"duet-scrollable-items": true,
|
|
233
233
|
buttons: this.buttons,
|
|
234
234
|
center: this.center,
|
|
235
|
-
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), h("div", { key: '
|
|
235
|
+
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), h("div", { key: 'f24739dbd27c222602e2aaf283e1ebdbc9a4af0b', class: {
|
|
236
236
|
"duet-scrollable-list": true,
|
|
237
237
|
collapsed: this.collapsed,
|
|
238
238
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
239
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '
|
|
239
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'a27f4a34f1c196b441eebf291c9cfd9e2a632299' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
|
|
240
240
|
}
|
|
241
241
|
static get is() { return "duet-scrollable"; }
|
|
242
242
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,13 +14,13 @@ export class DuetSectionLayout {
|
|
|
14
14
|
* Always the last one in the class.
|
|
15
15
|
*/
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '7f434babace607653e64faabeddb9c27bb616862', class: {
|
|
18
18
|
"duet-middle": this.middle,
|
|
19
19
|
"duet-ie": isInternetExplorer(),
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: '9fbdea587d94910e97eb9ecbea464c1778fc1ff8', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: 'f4c957ebabd014d3ebf626d7539f3542314ce0a1', class: {
|
|
21
21
|
"duet-layout": true,
|
|
22
22
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
23
|
-
} }, h("section", { key: '
|
|
23
|
+
} }, h("section", { key: 'd803f587fb3f7f481d22d2a3e3566bcd85c7f98b', class: "duet-main" }, h("slot", { key: 'fb1c82948b2d25d0437c41743abf0f9ed666b4d5' }))))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "duet-section-layout"; }
|
|
26
26
|
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
|
import { createID } from "../../utils/create-id";
|
|
7
7
|
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
@@ -149,30 +149,27 @@ export class DuetSelect {
|
|
|
149
149
|
* Always the last one in the class.
|
|
150
150
|
*/
|
|
151
151
|
render() {
|
|
152
|
-
if (Build.isServer) {
|
|
153
|
-
return;
|
|
154
|
-
}
|
|
155
152
|
const identifier = this.identifier || this.selectId;
|
|
156
|
-
return (h(Host, { onClick: this.onClick, class: {
|
|
153
|
+
return (h(Host, { key: '28f5db49f64ea0115fa20745df6d535fac98ca08', onClick: this.onClick, class: {
|
|
157
154
|
"duet-m-0": this.margin === "none",
|
|
158
155
|
"duet-expand": this.expand,
|
|
159
156
|
[`duet-select-variation-${this.variation}`]: true,
|
|
160
|
-
} }, h("div", { class: {
|
|
157
|
+
} }, h("div", { key: '73e7a3937df41f97d6501cb393b05a1e11e07b97', class: {
|
|
161
158
|
"duet-select-container": true,
|
|
162
159
|
"duet-label-hidden": this.labelHidden,
|
|
163
160
|
"duet-theme-turva": this.theme === "turva",
|
|
164
161
|
[`duet-select-variation-${this.variation}`]: true,
|
|
165
162
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
166
163
|
"has-error": !!this.error,
|
|
167
|
-
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip" }), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
164
|
+
} }, h("duet-label", { key: '1b908d4ce2db347aea7654f7d150c3536023be7e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'f4ae4625f3844a0a4ff41ceeb5b09cc73f2c3139', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '56432a29cd588587216dcb91b1d7fa29ae80c12d', name: "tooltip" }), this.caption && (h("duet-caption", { key: '2664591e6e79d7786ecd95e2136b7eb6ac46eb43', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '17a7d144eb109640535302879dc8e46622f7542a', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '2777dafee5e8f98ca467b83cfa672aeb2bd51d26', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { key: '2d00bf64843b3d4402d75b50660baaa701e776bd', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: '9f4a48986073692a67a221d489c3bc9402324828', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
168
165
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
169
|
-
}))), h("div", { class: {
|
|
166
|
+
}))), h("div", { key: '00870092e20d5e30222ad0afa3072d1dfba03dce', class: {
|
|
170
167
|
"duet-select": true,
|
|
171
168
|
[`duet-select-variation-${this.variation}`]: true,
|
|
172
|
-
}, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { 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("duet-icon", { theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span",
|
|
169
|
+
}, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'e1e57dfb22ba2d97a460c34b18a49355e8fa41a7', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5fedaf97f4a4293f318512cc312d4c1d6ac9fce2', 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("duet-icon", { key: '52b2404b48602331e322f5ccf6f338cf5dba46e4', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'c647fdcfac98bfd444789464f4e89f905a3db068', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '2f8730fa473524bdc6fbfe52f295215fe023b984', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '438e8329537edfc708bb57ce8de8d91abb7aaae8' }, this.error)))));
|
|
173
170
|
}
|
|
174
171
|
static get is() { return "duet-select"; }
|
|
175
|
-
static get encapsulation() { return "
|
|
172
|
+
static get encapsulation() { return "shadow"; }
|
|
176
173
|
static get originalStyleUrls() {
|
|
177
174
|
return {
|
|
178
175
|
"$": ["duet-select.scss"]
|
|
@@ -25,9 +25,9 @@ export class DuetShapedImage {
|
|
|
25
25
|
const style = {
|
|
26
26
|
"--rotation": `${this.rotation}deg`,
|
|
27
27
|
};
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '555cbcb9c76cbda51c3c4cede13d764de7334c4e', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '11704c842ec39f85048625cc78eb3dac55c18508', class: {
|
|
29
29
|
"shaped-image": true,
|
|
30
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '
|
|
30
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: 'f4ebb6576b8d69bc929ccae1662a87bc7c2481c7', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'd7d83206a5d52dd0ec81ea25256ace0b0f68df6c', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "duet-shaped-image"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -90,12 +90,12 @@ export class DuetShowMore {
|
|
|
90
90
|
* Always the last one of the class.
|
|
91
91
|
*/
|
|
92
92
|
render() {
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: 'e795502d610ccc4d9fb5e2820c6e50a58b1f1d9d' }, h("div", { key: '7f3dc284c84c60fea4742b85c080e43e4529b6f8', class: {
|
|
94
94
|
"duet-show-more": true,
|
|
95
95
|
"duet-theme-turva": this.theme === "turva",
|
|
96
96
|
"duet-m-0": this.margin === "none",
|
|
97
97
|
open: this.open,
|
|
98
|
-
} }, h("div", { key: '
|
|
98
|
+
} }, h("div", { key: '7f2d9de11a429a5d9e219cdeb5835e2ea8be2c2b', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, h("div", { key: 'f10b510dd9a1369178d5bc4259d2ef55fc569e10', class: { "slotted-content": true } }, h("slot", { key: '21169537ec721827e96bd24710de3f5d6d81fa8f' }))), h("duet-button", { key: 'fd0aae5f657aeab52c5a9a49003e0d70c3644a10', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: 'e4996c3f3a786b12ef395679e892ccce7d84399d' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "duet-show-more"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -243,16 +243,16 @@ export class DuetSlideout {
|
|
|
243
243
|
};
|
|
244
244
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
245
245
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
246
|
-
return (h(Host, { key: '
|
|
246
|
+
return (h(Host, { key: '7e5384e7a8da21a6bfcd4e6f84f8c0cb60d3250a' }, h("div", { key: 'a0ddecf72e05002132592afbea9ab503e8929698', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: 'bd9eb4bb301549c79486fbec4ec9cc3306001152', visible: this.open, "display-device": "large", zIndex: "600" }), h("div", { key: '8bcb933d1862b16a784105144cbb830b085b7a37', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
247
247
|
dialog: true,
|
|
248
248
|
hidden: !this.open,
|
|
249
249
|
modal: this.modal,
|
|
250
|
-
}, style: styles }, h(FocusGuard, { key: '
|
|
250
|
+
}, style: styles }, h(FocusGuard, { key: '4f32ae824a9963b9324a6a75aec30a1ec3b9da34', moveFocusTo: this.closeButton }), h("div", { key: 'b3a2d23360f0080c3345925ab2dd3ba71726102e', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '346320e78d1b3b31cd27505873e27d9de14e7105', class: "top" }, h("button", { key: '70bd3ca676c250d31bf67ffc0cd4900c73d2e093', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
251
251
|
"slideout-close": true,
|
|
252
252
|
active: this.open,
|
|
253
|
-
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '
|
|
253
|
+
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '1aa814b1f9015483a3b4bc7f473b5aede84f3cd0', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'f11c81c8efcdca2ddb6cdc987e2e1f220d467398', class: "sticky-header" }, h("slot", { key: 'e0bf8ba236ee29c1f1b497df27b337ab1f96628a', name: "sticky-header" }))), h("div", { key: 'dbf227d18aed0d6d3db65db6522ffda1b69d8dba', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
254
254
|
items: true,
|
|
255
|
-
} }, h("slot", { key: '
|
|
255
|
+
} }, h("slot", { key: 'facef4d207e8df7c34a8aeca8595d832fd6de5e6' })), h(FocusGuard, { key: '5733820870caa0acd80b157d88b03ae1797360b8', moveFocusTo: this.closeButton })))));
|
|
256
256
|
}
|
|
257
257
|
static get is() { return "duet-slideout"; }
|
|
258
258
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,7 +35,7 @@ export class DuetSlideoutLang {
|
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
37
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'd163f56230650efc540cf21892239905271a775e' }, h("div", { key: '7b1d95d36da23db34a90055407a7f307ab0d4ffa', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '07ed0679705221e14ba5e20d0db83a5b3073a7cf', name: "navigation-language", margin: "none", color: "secondary" }), h("slot", { key: 'e847d0a2bf84e7099988d6bc9f6e59dfa0ba99d7' }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-slideout-lang"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,12 +26,12 @@ export class DuetSlideoutLink {
|
|
|
26
26
|
* Always the last one in the class.
|
|
27
27
|
*/
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'dbcb8bf6b8c65743fb716cbdda625cf4ea5162f8' }, h("a", { key: '542c9910bad183af64eff3b965ef1cec19b4ac7b', class: {
|
|
30
30
|
"duet-slideout-link": true,
|
|
31
31
|
"duet-theme-turva": this.theme === "turva",
|
|
32
32
|
active: this.active,
|
|
33
33
|
[this.size]: true,
|
|
34
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
34
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'c192e191c1323e742022c48651a75c16017b4837', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { key: 'b0e214e358e524f13a884c78e1d78118b171e3ed', class: "label" }, h("span", { key: 'af8697663031dc729bc98cf7c15cd2d58a03f861' }, h("slot", { key: '84b1b365ac8fabcbf3c6451a8aa51caa18010aa9' }), h("slot", { key: '82b78e911b41cfd441fb9eab798093f6b726c993', name: "description" })), this.caret && (h("duet-icon", { key: 'ee835e2bd7427531239041e03b19ed4335b8ad74', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "duet-slideout-link"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -159,23 +159,23 @@ export class DuetSlideoutPanel {
|
|
|
159
159
|
};
|
|
160
160
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
161
161
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: '0318776fab9cea36b44efcbd8a066fc7a71aa59e' }, h("div", { key: '1d95822243d5c86ec5b5173e4e681b4146e4476f', class: {
|
|
163
163
|
"duet-slideout-panel": true,
|
|
164
164
|
"duet-theme-turva": this.theme === "turva",
|
|
165
165
|
active: this.open,
|
|
166
|
-
} }, h("button", { key: '
|
|
166
|
+
} }, h("button", { key: 'a45e36b09686a148c2ba62e9984627920710ecb7', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
167
167
|
link: true,
|
|
168
168
|
active: this.active,
|
|
169
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '
|
|
169
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '6f2dee22c324bf4ead87048ebff2a20c47ca896a', class: "duet-slideout-icon" }, h("duet-icon", { key: '44e1cac15f61dab325132fcc3514c8e0354cc43a', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && h("div", { key: '024312ec408282554844e751ab4b49d05b96b548', class: "duet-slideout-badge" }))), h("span", { key: '283051aa5c3b14ee17ca9da70c094a57235e749e', class: "label" }, h("span", { key: '81b5642422add92e13dbf34d95a26c0588858de7', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: 'd44a3600f9a66a1768a530317ee8e97d61d7d5a4', name: "label" })), h("duet-icon", { key: '4e27c46508e15f8a57b08025121d7a30386fd7e1', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: '0e7fce1743db4fe772c3165ea76ddd2b5215e3c3', ref: element => (this.dialog = element), class: {
|
|
170
170
|
dialog: true,
|
|
171
171
|
hidden: !this.open,
|
|
172
|
-
}, style: styles }, h(FocusGuard, { key: '
|
|
172
|
+
}, style: styles }, h(FocusGuard, { key: '40a3ed99c1bf1bceb7378326804d3f5e76a2caf0', moveFocusTo: this.closeButton }), h("div", { key: '513ce8191e12b73aa0ec22360499905c9a120aca', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'f6d518848785f147415050e356dcfe42e00e64af', class: "top" }, h("button", { key: '6c6d3320016eeabed6b06b5d997bf0fe871b7d5b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
173
173
|
back: true,
|
|
174
|
-
}, onClick: this.onClick }, h("duet-icon", { key: '
|
|
174
|
+
}, onClick: this.onClick }, h("duet-icon", { key: 'e68686b85946c9e54babfb2aa7012e37048b6a23', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: 'b2082182002d6fc1687fdbe1a75c30a62061a083' }, this.label.innerHTML), h("button", { key: 'b6cfea3156d9398f6ff290c6abbdbdff55a16edd', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '4f973e329f5254a4d6fbb230bb2e1c815d07fab5', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'b2f3ca3d5bd5e4881cfbe6acd61b8ff209408f35', class: "sticky-header" }, h("slot", { key: '9a1594cd89ffce28613a575b53219736fcf02bae', name: "sticky-header" }))), h("div", { key: '74a5a1eefa940a78f4904f118fbb22da52177d83', tabindex: "-1", role: "menu",
|
|
175
175
|
//TODO: slideout menu fades out, needs to be instant
|
|
176
176
|
id: "menu", "aria-labelledby": "button", class: {
|
|
177
177
|
items: true,
|
|
178
|
-
} }, h("slot", { key: '
|
|
178
|
+
} }, h("slot", { key: '59168289af3be6afbf35af828da4800c1209809c' })), h(FocusGuard, { key: '688c55a2b0881c10204aa353123bc524c88a23b9', moveFocusTo: this.closeButton })))));
|
|
179
179
|
}
|
|
180
180
|
static get is() { return "duet-slideout-panel"; }
|
|
181
181
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js
CHANGED
|
@@ -40,16 +40,16 @@ export class DuetSlideoutPanelDropdown {
|
|
|
40
40
|
* Always the last one in the class.
|
|
41
41
|
*/
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: 'f7a1b3521e799c7792945551a66c1c295dd5ffdc' }, h("div", { key: 'd63da6a1f3650e633c97795042a7b34b8ad48302', class: {
|
|
44
44
|
"duet-slideout-panel-dropdown": true,
|
|
45
45
|
"duet-theme-turva": this.theme === "turva",
|
|
46
46
|
active: this.open,
|
|
47
|
-
} }, h("button", { key: '
|
|
47
|
+
} }, h("button", { key: 'ed40e8b4d2a431e4f578ea26583a70b8977d951c', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
48
48
|
active: this.active,
|
|
49
|
-
}, onClick: this.onClick }, this.icon && h("duet-icon", { key: '
|
|
49
|
+
}, onClick: this.onClick }, this.icon && h("duet-icon", { key: '44a4510103738db121e37e1d18f3a5f2484e7683', name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("span", { key: 'b2ce145800f498a7382885190458bb49205b7ada', class: "label" }, h("slot", { key: '6ce00dfcd2d2ef3ac62143b9150b80f1ecc9a69d', name: "label" }), h("duet-icon", { key: 'e6890351789e07002b0b9fc85d79baf6862bd239', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: '81a201018140f6519e9ed18baec3855790ef4cb4', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
50
50
|
items: true,
|
|
51
51
|
hidden: !this.open,
|
|
52
|
-
} }, h("slot", { key: '
|
|
52
|
+
} }, h("slot", { key: '473c54c7f46f6cb77f5656ff8c7d60106836aa73' })))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "duet-slideout-panel-dropdown"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,7 +13,7 @@ export class DuetSpacer {
|
|
|
13
13
|
* Always the last one in the class.
|
|
14
14
|
*/
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '9983782e43b5323f7af87b3b18656794fa851208', class: {
|
|
17
17
|
"duet-spacer": true,
|
|
18
18
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
19
19
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -23,11 +23,11 @@ export class DuetSpinner {
|
|
|
23
23
|
*/
|
|
24
24
|
render() {
|
|
25
25
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'dee78f5cd0044c327f345f8fc6f36a79eb92552e', class: {
|
|
27
27
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
28
28
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
29
29
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
30
|
-
} }, h("div", { key: '
|
|
30
|
+
} }, h("div", { key: 'e896d825e335fa91c0b583b17fce6b5012fee1ca', class: {
|
|
31
31
|
"duet-spinner": true,
|
|
32
32
|
[this.size]: true,
|
|
33
33
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|