@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
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const inputUtils = require('./input-utils-1096a2c5.js');
|
|
12
|
-
const languageUtils = require('./language-utils-
|
|
13
|
-
const slotUtils = require('./slot-utils-
|
|
12
|
+
const languageUtils = require('./language-utils-beee36ce.js');
|
|
13
|
+
const slotUtils = require('./slot-utils-31c0ed00.js');
|
|
14
14
|
require('./string-utils-7b13c16e.js');
|
|
15
15
|
|
|
16
|
-
const duetTextareaCss = "
|
|
16
|
+
const duetTextareaCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-theme-turva .duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.duet-theme-turva .duet-textarea-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count{display:block;margin:8px 0 0 auto}";
|
|
17
17
|
const DuetTextareaStyle0 = duetTextareaCss;
|
|
18
18
|
|
|
19
19
|
const CharacterCount = ({ value, maxlength, label, theme }) => {
|
|
@@ -36,6 +36,7 @@ const DuetTextarea = class {
|
|
|
36
36
|
* Own Properties
|
|
37
37
|
*/
|
|
38
38
|
this.textareaId = createId.createID("DuetTextarea");
|
|
39
|
+
this.proxyId = createId.createID("DuetTextarea");
|
|
39
40
|
this.topCaptionId = createId.createID("DuetCaptionTop");
|
|
40
41
|
this.topCaptionPlaceholderId = createId.createID("DuetCaptionPlaceholderTop");
|
|
41
42
|
this.labelId = createId.createID("DuetLabel");
|
|
@@ -161,6 +162,9 @@ const DuetTextarea = class {
|
|
|
161
162
|
disconnectedCallback() {
|
|
162
163
|
languageUtils.disconnectLanguageChangeObserver(this);
|
|
163
164
|
}
|
|
165
|
+
componentDidRender() {
|
|
166
|
+
slotUtils.proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
|
|
167
|
+
}
|
|
164
168
|
/**
|
|
165
169
|
* Sets focus on the specified `duet-textarea`. Use this method instead of the global
|
|
166
170
|
* `textarea.focus()`.
|
|
@@ -174,17 +178,17 @@ const DuetTextarea = class {
|
|
|
174
178
|
*/
|
|
175
179
|
render() {
|
|
176
180
|
const identifier = this.identifier || this.textareaId;
|
|
177
|
-
return (index.h(index.Host, { class: {
|
|
181
|
+
return (index.h(index.Host, { key: 'afb475015d0e4ad8439c1a2baf3ecd6196d608a4', class: {
|
|
178
182
|
"duet-m-0": this.margin === "none",
|
|
179
183
|
"duet-has-counter": this.counter && !this.error,
|
|
180
184
|
"duet-expand": this.expand,
|
|
181
|
-
} }, index.h("div", { class: {
|
|
185
|
+
} }, index.h("div", { key: '0978415bfb413a15d80dfffc46c1e4d4990989dd', class: {
|
|
182
186
|
"duet-textarea-container": true,
|
|
183
187
|
"duet-theme-turva": this.theme === "turva",
|
|
184
188
|
"duet-label-hidden": this.labelHidden,
|
|
185
189
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
186
190
|
"has-error": !!this.error,
|
|
187
|
-
} }, index.h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { name: "tooltip" }), this.caption && (index.h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), index.h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), index.h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), index.h("duet-grid", { alignment: "stretch" }, index.h("duet-grid-item", { margin: "none", fill: true }, index.h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span",
|
|
191
|
+
} }, index.h("duet-label", { key: 'd2bc5abddc08c58802a4123e8bfecd42d8ef286e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { key: 'ecb4778229571b2a0430cd8440a383b8e7a9ce4c', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { key: 'f55c7c3f480ed44c6476a276ecc8a21213b08ee9', name: "tooltip" }), this.caption && (index.h("duet-caption", { key: '9508ae1e04ff3a74551efa81779c7e6f5ac5b3e8', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), index.h("div", { key: 'fa901006cd5a7ef28e443fb0ec1e289e7b91fd02', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { key: 'f352aa22e295837c2697022318f0ed3e27bdef8b', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), index.h("textarea", { key: 'b481afa761533533c22861249961fea2b6933a99', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), index.h("duet-grid", { key: '5448fd837456b03dbf6c6beb3fddc63e6ab767ff', alignment: "stretch" }, index.h("duet-grid-item", { key: '23a4a4c7166b21e3749164f384def7a733421c59', margin: "none", fill: true }, index.h("div", { key: 'a0d0109c87a899274270d83e5dd2ec30df16caa6', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span", { key: 'f23227e447ca85e2e8e79ebdea459d6ebfcd0420' }, this.error))), index.h("duet-grid-item", { key: '3646d29d504b4f9c9cce38f66e58e8f994e54fb8', margin: "none", class: "duet-character-count-caption" }, this.counter && (index.h(CharacterCount, { key: '83b2e50ae63c30e0cd0beff5891309b8ce36e6a7', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (index.h("duet-visually-hidden", { key: '66fd9e4bab5013f6afd24a99dc1fbe2aa56ed5a9', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
188
192
|
this.hiddenCounterLabel = el;
|
|
189
193
|
} })))));
|
|
190
194
|
}
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
12
|
+
const slotUtils = require('./slot-utils-31c0ed00.js');
|
|
12
13
|
|
|
13
|
-
const duetToggleCss = "
|
|
14
|
+
const duetToggleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:\"\";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}";
|
|
14
15
|
const DuetToggleStyle0 = duetToggleCss;
|
|
15
16
|
|
|
16
17
|
const DuetToggle = class {
|
|
@@ -21,6 +22,7 @@ const DuetToggle = class {
|
|
|
21
22
|
* Own Properties
|
|
22
23
|
*/
|
|
23
24
|
this.toggleId = createId.createID("DuetToggle");
|
|
25
|
+
this.proxyId = createId.createID("DuetToggle");
|
|
24
26
|
/**
|
|
25
27
|
* Component event handling.
|
|
26
28
|
*/
|
|
@@ -72,6 +74,9 @@ const DuetToggle = class {
|
|
|
72
74
|
disconnectedCallback() {
|
|
73
75
|
keyboardUtils.unsubscribeTabbingChange(this);
|
|
74
76
|
}
|
|
77
|
+
componentDidRender() {
|
|
78
|
+
slotUtils.proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required, this.checked);
|
|
79
|
+
}
|
|
75
80
|
/**
|
|
76
81
|
* Sets focus on the specified `duet-toggle`. Use this method instead of the global
|
|
77
82
|
* `input.focus()`.
|
|
@@ -85,12 +90,12 @@ const DuetToggle = class {
|
|
|
85
90
|
*/
|
|
86
91
|
render() {
|
|
87
92
|
const identifier = this.identifier || this.toggleId;
|
|
88
|
-
return (index.h(index.Host, { onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, index.h("div", { class: {
|
|
93
|
+
return (index.h(index.Host, { key: 'f1b8c9c08fb1aee347e563410dca93a4ab121bac', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, index.h("div", { key: '68fbc5e970aa27bb23354da6ef76fe97ef7ac56c', class: {
|
|
89
94
|
"duet-toggle": true,
|
|
90
95
|
"duet-theme-turva": this.theme === "turva",
|
|
91
96
|
"duet-side-label": this.labelPosition !== "top",
|
|
92
97
|
"duet-reverse-label": this.labelPosition === "right",
|
|
93
|
-
} }, index.h("duet-label", { theme: this.theme, color: this.labelColor, weight: this.labelWeight,
|
|
98
|
+
} }, index.h("duet-label", { key: '71d8ab7afbe009e196619c59fc7f4d67e5014ecd', theme: this.theme, color: this.labelColor, weight: this.labelWeight, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), index.h("label", { key: 'ad1ad4bb8249ff6999f9c8dfd48fd70ee658e80c', class: "duet-switch" }, index.h("input", { key: '79c34fa10a7846e3e4751f314616a96ac7aaaacc', type: "checkbox", value: this.value, "aria-label": this.label, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), index.h("div", { key: '36aa5a3052136ff112b395ebac661c6496e64f93', class: "duet-slider" })))));
|
|
94
99
|
}
|
|
95
100
|
get element() { return index.getElement(this); }
|
|
96
101
|
static get watchers() { return {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
11
11
|
|
|
@@ -40,11 +40,11 @@ const DuetToolbarDropdownLink = class {
|
|
|
40
40
|
* Always the last one in the class.
|
|
41
41
|
*/
|
|
42
42
|
render() {
|
|
43
|
-
return (index.h(index.Host, { key: '
|
|
43
|
+
return (index.h(index.Host, { key: '8cb69dd33c2d35233088309fd5cdad8c1d16ed01' }, index.h("a", { key: 'c805b960def6061680c14e5b401d1854c52f94a6', class: {
|
|
44
44
|
"duet-toolbar-dropdown-link": true,
|
|
45
45
|
"duet-theme-turva": this.theme === "turva",
|
|
46
46
|
active: this.active,
|
|
47
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && index.h("duet-icon", { key: '
|
|
47
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && index.h("duet-icon", { key: 'aa73a86d1c127f99f803b772bd2ae89b207fab30', name: this.icon, size: "x-small", margin: "none" }), index.h("span", { key: '7435a9263b6389e3a4a2e980a6528741c3b7a46f', class: "label" }, index.h("slot", { key: '5bdd6f17bf41ee7a6f6dec80b9f3c9f741a1fc27' })), this.active && (index.h("duet-icon", { key: '6d9294ed304b2652d8cf535f549edad17fc6965d', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
48
48
|
}
|
|
49
49
|
get element() { return index.getElement(this); }
|
|
50
50
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
11
11
|
|
|
@@ -59,18 +59,18 @@ const DuetToolbarDropdown = class {
|
|
|
59
59
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
60
60
|
}
|
|
61
61
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: '3f216acdbee35637a06bba1ad6bd31c79060c485', role: "listitem" }, index.h("div", { key: 'f327067f1cca48416dbadf416c81beb395f68bf6', class: {
|
|
63
63
|
"duet-toolbar-dropdown": true,
|
|
64
64
|
"duet-theme-turva": this.theme === "turva",
|
|
65
65
|
[itemsAlign]: true,
|
|
66
66
|
[variation]: true,
|
|
67
|
-
} }, index.h("button", { key: '
|
|
67
|
+
} }, index.h("button", { key: '7dc771dbb2a86dea2b8765ce9913edf088f789f6', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
68
68
|
active: this.active,
|
|
69
69
|
open: this.open,
|
|
70
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: '
|
|
70
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: 'dddf695359ec083dc8f227c5e1deae8a5506b73f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), index.h("span", { key: 'd334e49d8815344ab29ac8db03eb694ddb496a54', class: "label" }, index.h("slot", { key: '348fcd3dd00b6a81b94d33771f6e4557284bd16d', name: "label" }), index.h("duet-icon", { key: '7dc2d3d54ff3117e2f48e687f3a762db43a837d4', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '90d305c6cecfb3fd7ee23ce5169cdcad6c4dd66f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
71
71
|
items: true,
|
|
72
72
|
hidden: !this.open,
|
|
73
|
-
} }, index.h("slot", { key: '
|
|
73
|
+
} }, index.h("slot", { key: 'eda0a71fd30d9a00a11d61a797243b2da1d4e19a' })))));
|
|
74
74
|
}
|
|
75
75
|
get element() { return index.getElement(this); }
|
|
76
76
|
};
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
10
10
|
const commonStrings = require('./common-strings-2984301e.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
12
|
-
const a11yUtils = require('./a11y-utils-
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
14
|
-
require('./slot-utils-b5c4d888.js');
|
|
12
|
+
const a11yUtils = require('./a11y-utils-76311b95.js');
|
|
13
|
+
const languageUtils = require('./language-utils-beee36ce.js');
|
|
15
14
|
require('./string-utils-7b13c16e.js');
|
|
16
15
|
|
|
17
16
|
const duetToolbarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item:focus.primary{box-shadow:0 0 0 4px rgba(8, 42, 77, 0.3), 0 0 0 1px #033866}.duet-theme-turva .duet-toolbar-item:focus.primary,.duet-toolbar-item:focus.primary.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{position:absolute;top:0;left:11px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{background:rgb(247, 178, 40)}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
|
|
@@ -68,17 +67,17 @@ const DuetToolbarItem = class {
|
|
|
68
67
|
: this.variation === "secondary"
|
|
69
68
|
? "secondary"
|
|
70
69
|
: "default";
|
|
71
|
-
return (index.h(index.Host, { key: '
|
|
70
|
+
return (index.h(index.Host, { key: 'dd49a814af5543b3c5322f9ba0f14b94c1f2c0ff', role: "listitem" }, index.h(TagName, { key: '99e8b130d9de3a738aa494473908afa59fcb5c9d', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
72
71
|
"duet-toolbar-item": true,
|
|
73
72
|
"duet-theme-turva": this.theme === "turva",
|
|
74
73
|
active: this.active,
|
|
75
74
|
[variation]: true,
|
|
76
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && a11yUtils.getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (index.h("div", { key: '
|
|
75
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && a11yUtils.getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (index.h("div", { key: 'f2cb988f3e1224d79d1fe65d289e08364b43d75f', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: '8608706b7b512cfe61e35f4eb63a41804ac0085d', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && index.h("div", { key: 'c4a5b2eba922d2bcaf1e90c63d496d6e0e8a282f', class: "duet-toolbar-badge" }))), index.h("slot", { key: 'c4c8114069e098da845703905b77f15c4bb1c743' }), (this.trailingIcon || (this.url && this.external)) && (index.h("div", { key: '7f21cf0cd2a5aeca2685360049504e5daab02c3b', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: '0c39d469df56947c3cec7f2e377906f0f48d0ef6', class: {
|
|
77
76
|
"trailing-icon": !!this.trailingIcon,
|
|
78
77
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
79
78
|
"external-icon": !!(this.url && this.external),
|
|
80
79
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
81
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && index.h("div", { key: '
|
|
80
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && index.h("div", { key: 'a59af5319ed0f896c0ba81b8c6234d7ebed0d3f2', class: "duet-toolbar-badge" }))))));
|
|
82
81
|
}
|
|
83
82
|
get element() { return index.getElement(this); }
|
|
84
83
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
|
|
11
11
|
const duetToolbarLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
|
|
@@ -33,12 +33,12 @@ const DuetToolbarLink = class {
|
|
|
33
33
|
*/
|
|
34
34
|
render() {
|
|
35
35
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
36
|
-
return (index.h(index.Host, { key: '
|
|
36
|
+
return (index.h(index.Host, { key: '2656a1b596a4b66cf46c4f417335e35eb881dab2', role: "listitem" }, index.h("a", { key: 'ce034bce2589926b97d4bb34280799747927414f', class: {
|
|
37
37
|
"duet-toolbar-link": true,
|
|
38
38
|
"duet-theme-turva": this.theme === "turva",
|
|
39
39
|
active: this.active,
|
|
40
40
|
[variation]: true,
|
|
41
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '
|
|
41
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '0fc473d63161aaa4922c4557f902e170f68464ed', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), index.h("slot", { key: 'beba45fdc4e282f23e04735c6491c67f65ac7b7f' }))));
|
|
42
42
|
}
|
|
43
43
|
get element() { return index.getElement(this); }
|
|
44
44
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
|
|
11
11
|
const duetToolbarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}";
|
|
@@ -36,11 +36,11 @@ const DuetToolbar = class {
|
|
|
36
36
|
: this.variation === "secondary"
|
|
37
37
|
? "secondary"
|
|
38
38
|
: "default";
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: '21d533cd790fd3160001662f405fd6d576238601' }, index.h("nav", { key: '7b6dd43ab8c737929acec750be80136d3f5bb007', class: {
|
|
40
40
|
"duet-toolbar": true,
|
|
41
41
|
"duet-theme-turva": this.theme === "turva",
|
|
42
42
|
[variation]: true,
|
|
43
|
-
}, "aria-label": this.accessibleLabel }, index.h("div", { key: '
|
|
43
|
+
}, "aria-label": this.accessibleLabel }, index.h("div", { key: 'c6858334c5f7a5a760775d6cb1d5f3c8439f10a7', class: "container" }, index.h("div", { key: '28485640df44e2daf65bee426b757931d7fe01e8', class: "list", role: "list" }, index.h("slot", { key: '7fe71028d8cd2e938ec176fcf8a3bf9dd1d2e446', name: "left" })), index.h("div", { key: 'a5fa75c98324be554112c6bead973905e2144371', class: "list", role: "list" }, index.h("slot", { key: '277f1bafd019f0e03080d3c830be989eac1dd461', name: "right" }))))));
|
|
44
44
|
}
|
|
45
45
|
get element() { return index.getElement(this); }
|
|
46
46
|
};
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
11
|
-
const focusUtils = require('./focus-utils-
|
|
11
|
+
const focusUtils = require('./focus-utils-68fa1c8f.js');
|
|
12
12
|
const teleport = require('./teleport-c6f8391a.js');
|
|
13
13
|
|
|
14
14
|
const duetTooltipButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:hover{color:rgb(0, 75, 129)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-tooltip-button:hover.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}";
|
|
@@ -46,12 +46,12 @@ const DuetTooltipButton = class {
|
|
|
46
46
|
* Always the last one in the class.
|
|
47
47
|
*/
|
|
48
48
|
render() {
|
|
49
|
-
return (index.h(index.Host, { key: '
|
|
49
|
+
return (index.h(index.Host, { key: '9072e8917cb41793dea41b85387c0d0ed01364ab' }, index.h("button", { key: '873fe45b6a53107875d7f6cbd52edcef6c35a4cd', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
50
50
|
"duet-tooltip-button": true,
|
|
51
51
|
"duet-tooltip-button-has-label": !!this.label,
|
|
52
52
|
"duet-theme-turva": this.theme === "turva",
|
|
53
53
|
"duet-tooltip-button-negative": this.negative,
|
|
54
|
-
} }, index.h("svg", { key: '
|
|
54
|
+
} }, index.h("svg", { key: '323d7874dea1e157dfa25d203eb3dda93e4a4100', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'ef7df8fea96fc5f5adfec07ac1c7176c58f5939e', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), index.h("circle", { key: 'd5e097119c80dbcee1e9a8b40e0a8e1416991c78', cx: "11.625", cy: "7.125", r: "1.125" }), index.h("path", { key: 'a85da0b6a9f044e2584d7a0cfbab5ff3045ee19a', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (index.h("span", { class: "duet-tooltip-label" }, this.label)) : (index.h("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
55
55
|
}
|
|
56
56
|
get element() { return index.getElement(this); }
|
|
57
57
|
};
|
|
@@ -102,11 +102,11 @@ const DuetTooltipPopup = class {
|
|
|
102
102
|
this.contentEl.focus();
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
|
-
return (index.h(index.Host, { key: '
|
|
105
|
+
return (index.h(index.Host, { key: '8acc3821b4d946db588b369f4b6a49949049aef3' }, index.h("div", { key: '4e67df16578e9d684c13956359696ebb46aaa431', class: {
|
|
106
106
|
"duet-tooltip": true,
|
|
107
107
|
"duet-theme-turva": this.theme === "turva",
|
|
108
108
|
"duet-tooltip-active": this.active === true,
|
|
109
|
-
} }, index.h(focusUtils.FocusGuard, { key: '
|
|
109
|
+
} }, index.h(focusUtils.FocusGuard, { key: 'f80a8056489ea1d33f28e35e02956080855b8e0c', moveFocusTo: this.buttonEl }), index.h("div", { key: '776dd94339d875a1a66e6384792b6ceb1c6aa3d0', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, index.h("slot", { key: '5ca5cb490bbd841897e92550487d5ec2994c1454' })), index.h("div", { key: '0d94a795e9e48495dfaf0f89a2deb85168e28e93', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, index.h("div", { key: '55de0f4a7b2af1fdc80591cf22164528677038b3', class: { "arrow-container": true, [this.placement]: true } })), index.h("button", { key: '5c666a5fa3eeb84d1b9cae6a8e8c9ead45c44b69', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, index.h("duet-icon", { key: '50e2ef126f129c562fe92652d057f7295d1c67f2', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), index.h("duet-visually-hidden", { key: '1453b395ca04e521704846b572d7165cc150f0ff' }, this.accessibleCloseLabel)), index.h(focusUtils.FocusGuard, { key: '75fbf5e7a95c4f2a30064a47e2e1c3905c2ee289', moveFocusTo: this.contentEl }))));
|
|
110
110
|
}
|
|
111
111
|
get element() { return index.getElement(this); }
|
|
112
112
|
};
|
|
@@ -5,16 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const tokens = require('./tokens-57e06fe4.js');
|
|
10
10
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-806e7c53.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
12
12
|
const createId = require('./create-id-1f8c438f.js');
|
|
13
13
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
14
|
-
const languageUtils = require('./language-utils-
|
|
14
|
+
const languageUtils = require('./language-utils-beee36ce.js');
|
|
15
|
+
const slotUtils = require('./slot-utils-31c0ed00.js');
|
|
15
16
|
require('./string-utils-7b13c16e.js');
|
|
16
17
|
|
|
17
|
-
const duetTooltipCss = "
|
|
18
|
+
const duetTooltipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button{position:relative}duet-tooltip-popup{position:absolute}";
|
|
18
19
|
const DuetTooltipStyle0 = duetTooltipCss;
|
|
19
20
|
|
|
20
21
|
const DuetTooltip = class {
|
|
@@ -23,6 +24,7 @@ const DuetTooltip = class {
|
|
|
23
24
|
/**
|
|
24
25
|
* Own Properties.
|
|
25
26
|
*/
|
|
27
|
+
this.firstRender = true;
|
|
26
28
|
this.mql = [
|
|
27
29
|
window.matchMedia(tokens.media_query_medium.replace(/'/g, "")),
|
|
28
30
|
window.matchMedia(tokens.media_query_large.replace(/'/g, "")),
|
|
@@ -139,6 +141,22 @@ const DuetTooltip = class {
|
|
|
139
141
|
{ prop: "accessibleLabel", defaults: "accessibleLabelDefault" },
|
|
140
142
|
{ prop: "accessibleCloseLabel", defaults: "accessibleCloseLabelDefault" },
|
|
141
143
|
]);
|
|
144
|
+
if (typeof MutationObserver !== "undefined") {
|
|
145
|
+
this.mutationO = new MutationObserver(() => {
|
|
146
|
+
slotUtils.cloneDefaultSlotContent(this.element, this.popupElement);
|
|
147
|
+
});
|
|
148
|
+
this.mutationO.observe(this.element, {
|
|
149
|
+
childList: true,
|
|
150
|
+
characterData: true,
|
|
151
|
+
subtree: true,
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
componentDidRender() {
|
|
156
|
+
if (this.firstRender) {
|
|
157
|
+
slotUtils.cloneDefaultSlotContent(this.element, this.popupElement);
|
|
158
|
+
this.firstRender = false;
|
|
159
|
+
}
|
|
142
160
|
}
|
|
143
161
|
disconnectedCallback() {
|
|
144
162
|
languageUtils.disconnectLanguageChangeObserver(this);
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const tokens_module = require('./tokens.module-46ddb47a.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
11
11
|
const createId = require('./create-id-1f8c438f.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
13
|
+
const languageUtils = require('./language-utils-beee36ce.js');
|
|
14
14
|
require('./string-utils-7b13c16e.js');
|
|
15
15
|
|
|
16
16
|
const duetTrayCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tray{position:fixed;top:4rem;right:0;left:0;z-index:399;display:flex;flex-direction:column;max-height:calc(100% - 8rem);padding:16px 20px 16px 24px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);visibility:hidden;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:opacity 600ms ease, visibility 600ms ease, transform 600ms ease;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray{padding:16px 36px}}@media (min-width: 106.25em){.duet-tray{padding:16px 52px 16px 60px}}.duet-tray:focus{outline:0}:host(.user-is-tabbing) .duet-tray:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-tray.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-tray.duet-tray-is-active{visibility:visible;opacity:1;transform:translateY(0)}.duet-tray.duet-tray-is-hidden{visibility:hidden;opacity:0;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray.duet-tray-is-responsive{display:none !important}}.duet-tray.duet-tray-is-expandable{padding-right:66px}@media (min-width: 62em){.duet-tray.duet-tray-is-expandable{padding-right:78px}}@media (min-width: 106.25em){.duet-tray.duet-tray-is-expandable{padding-right:94px}}.duet-tray-expandable{position:relative;z-index:100;width:calc(100% + 46px);max-height:0;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 600ms ease, visibility 600ms ease, max-height 600ms ease;scrollbar-width:none}.duet-tray-expandable::-webkit-scrollbar{display:none}.duet-tray-expandable.active{max-height:500px;visibility:visible;opacity:1}.duet-tray-expandable-content{width:100%;margin-top:16px;border-top:1px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tray-expandable-content{border-color:rgb(222, 224, 228)}.duet-tray-button{-webkit-user-select:none;user-select:none;padding:20px !important;position:absolute;top:-2px;right:0;z-index:200;color:rgb(8, 42, 77);text-align:center;cursor:pointer;border-radius:4px;transition:transform 300ms ease;-webkit-tap-highlight-color:transparent}@media (min-width: 62em){.duet-tray-button{margin-right:16px}}@media (min-width: 106.25em){.duet-tray-button{margin-right:36px}}.duet-theme-turva .duet-tray-button{color:rgb(23, 28, 58)}.duet-tray-button.duet-tray-is-expanded{transform:rotate(-180deg)}.duet-tray-button:focus{outline:0}:host(.user-is-tabbing) .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tray-button:active{box-shadow:none;opacity:0.75}";
|
|
@@ -93,14 +93,14 @@ const DuetTray = class {
|
|
|
93
93
|
* Always the last one in the class.
|
|
94
94
|
*/
|
|
95
95
|
render() {
|
|
96
|
-
return (index.h("div", { key: '
|
|
96
|
+
return (index.h("div", { key: '978707965f7036c59164be861c06e3a95d0b010c', class: {
|
|
97
97
|
"duet-tray": true,
|
|
98
98
|
"duet-tray-is-active": this.active,
|
|
99
99
|
"duet-tray-is-hidden": this.hiddenState,
|
|
100
100
|
"duet-tray-is-responsive": this.responsive,
|
|
101
101
|
"duet-theme-turva": this.theme === "turva",
|
|
102
102
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
103
|
-
} }, index.h("div", { key: '
|
|
103
|
+
} }, index.h("div", { key: 'fa71800b202335afe225062b6546c259024d1ebc', class: "duet-tray-default-content", role: "status" }, index.h("slot", { key: '88504b3e7785cb2c996ca2a69f4f7613b3142641' })), this.hasAdditionalContent && (index.h(index.Fragment, { key: 'b7bbc3062d4b56e76021d7fb1e275033b1d973de' }, index.h("button", { key: '9f63e2b609caa6ba75251270b1e3f21e2c51900f', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, index.h("duet-icon", { key: '1976d894857521dba637850fd6d0f67dc5d2fb7c', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), index.h("duet-visually-hidden", { key: '52a51dd5b1c5f590ab6b69cb14f229df0b7af8cd' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), index.h("div", { key: '6258528ccbe8a9bb546ad35639457757583a4914', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, index.h("div", { key: '79124cc2718b71d49e3ce57eaa405f7663f2db1e', class: "duet-tray-expandable-content" }, index.h("slot", { key: '842a4506b47dae4db5b81bd1fe551e09a08672f0', name: "additional" })))))));
|
|
104
104
|
}
|
|
105
105
|
get element() { return index.getElement(this); }
|
|
106
106
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
|
|
10
10
|
const DuetUploadAriaStatus = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -66,7 +66,7 @@ const DuetUploadAriaStatus = class {
|
|
|
66
66
|
* Always the last one in the class.
|
|
67
67
|
*/
|
|
68
68
|
render() {
|
|
69
|
-
return (index.h(index.Host, { key: '
|
|
69
|
+
return (index.h(index.Host, { key: '177f33a14fe939c866cc4b465b1886899d97af29', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, index.h("duet-visually-hidden", { key: '410c70a49016691f5795d537a66ead6cc2a9bb64' }, this.statusMessage)));
|
|
70
70
|
}
|
|
71
71
|
get element() { return index.getElement(this); }
|
|
72
72
|
static get watchers() { return {
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const languageUtils = require('./language-utils-
|
|
11
|
-
const errorcodes_utils = require('./errorcodes.utils-
|
|
10
|
+
const languageUtils = require('./language-utils-beee36ce.js');
|
|
11
|
+
const errorcodes_utils = require('./errorcodes.utils-b4cf3ce2.js');
|
|
12
12
|
require('./string-utils-7b13c16e.js');
|
|
13
13
|
|
|
14
14
|
const formatBytes = (bytes, decimals = 2) => {
|
|
@@ -96,9 +96,9 @@ const DuetUploadItem = class {
|
|
|
96
96
|
const { uid, meta, item } = this.data;
|
|
97
97
|
const Badges = meta && meta.badges ? (index.h("span", null, meta.badges.map(badgeText => (index.h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
98
98
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
99
|
-
return (index.h("div", { key: '
|
|
99
|
+
return (index.h("div", { key: '499163ce1be1b45ff2d97156ce06d7d9f3fefeb2', class: {
|
|
100
100
|
"upload-item-row": true,
|
|
101
|
-
} }, this.showCategory && (index.h("div", { key: '
|
|
101
|
+
} }, this.showCategory && (index.h("div", { key: '0486c8703101bcb3837161c24ad0fc1a4ffe215f', class: "item-categories" }, index.h("duet-heading", { key: '292cc4893eebebb39be0360efc9559c5de47b22e', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, languageUtils.getLocaleString(this.categoryLabel)), Badges)), index.h("div", { key: '8e6c67e49f9b5bc79fc011bc44362392eb3b7b24', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (index.h("duet-heading", { key: '24f05bb11ee5970722963e688fd5c5e797a0e77c', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, languageUtils.getLocaleString(this.label))), this.getFileNameLine()), index.h("div", { key: '1c93322e3405f0c329978af89b70c91e7eb9733d', class: "item-actions" }, this.actions.map(actionItem => {
|
|
102
102
|
return (index.h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${languageUtils.getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
103
103
|
}))));
|
|
104
104
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7e38df71.js');
|
|
9
9
|
|
|
10
10
|
const duetVisuallyHiddenCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";
|
|
11
11
|
const DuetVisuallyHiddenStyle0 = duetVisuallyHiddenCss;
|
|
@@ -19,7 +19,7 @@ const DuetVisuallyHidden = class {
|
|
|
19
19
|
* Always the last one in the class.
|
|
20
20
|
*/
|
|
21
21
|
render() {
|
|
22
|
-
return (index.h(index.Host, { key: '
|
|
22
|
+
return (index.h(index.Host, { key: 'cd9e7fe168ed42bfa9fc4751303db7edd312ce75', class: "duet-visually-hidden" }, index.h("slot", { key: 'bd33aa5a8f5cf442fab2f40ef59b13c36b32eb9d' })));
|
|
23
23
|
}
|
|
24
24
|
get element() { return index.getElement(this); }
|
|
25
25
|
};
|