@duetds/components 9.2.7 → 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 +954 -265
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-banner.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +6 -6
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +98 -12
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +11 -8
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +14 -6
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +14 -10
- package/lib/cjs/duet-layout.cjs.entry.js +6 -6
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +7 -7
- package/lib/cjs/duet-multiselect.cjs.entry.js +6 -6
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +9 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +13 -13
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +86 -10
- package/lib/cjs/duet-range-slider.cjs.entry.js +8 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -14
- package/lib/cjs/duet-section-layout.cjs.entry.js +3 -3
- package/lib/cjs/duet-select.cjs.entry.js +7 -7
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +5 -5
- package/lib/cjs/duet-textarea.cjs.entry.js +9 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +8 -3
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip.cjs.entry.js +19 -1
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/cjs/{slot-utils-f309572d.js → slot-utils-31c0ed00.js} +51 -0
- 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-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 +15 -7
- 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.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 -2
- 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.css +0 -4
- 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.css +6 -0
- 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/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 +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +6 -6
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-card.js +2 -2
- 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 +12 -11
- package/lib/dist-custom-elements/duet-choice.js +100 -12
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +15 -14
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +23 -19
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +6 -6
- 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 +2 -2
- package/lib/dist-custom-elements/duet-footer.js +20 -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 +7 -7
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- 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-layout.js +6 -6
- 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 +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +14 -14
- package/lib/dist-custom-elements/duet-multiselect.js +12 -12
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +19 -13
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +21 -21
- 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-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +11 -10
- package/lib/dist-custom-elements/duet-radio.js +87 -8
- package/lib/dist-custom-elements/duet-range-slider.js +10 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +3 -3
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +7 -7
- 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 +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +7 -7
- package/lib/dist-custom-elements/duet-tab-group.js +15 -15
- package/lib/dist-custom-elements/duet-tab.js +5 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +18 -13
- package/lib/dist-custom-elements/duet-toggle.js +10 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +2 -2
- 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 +4 -4
- 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 +19 -19
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/{p-d5201dfd.js → p-01846eb6.js} +10 -10
- package/lib/dist-custom-elements/{p-a8b848a0.js → p-0ac72fc8.js} +3 -2
- package/lib/dist-custom-elements/p-145c94a8.js +273 -0
- package/lib/dist-custom-elements/{p-20906875.js → p-18c3a72b.js} +1 -1
- package/lib/dist-custom-elements/{p-d58879c8.js → p-266569ef.js} +1 -1
- package/lib/dist-custom-elements/{p-e87b21c0.js → p-2a6a71e4.js} +2 -2
- package/lib/dist-custom-elements/{p-358832fc.js → p-36804cd7.js} +3 -2
- package/lib/dist-custom-elements/{p-ee6f575b.js → p-38a3168a.js} +3 -3
- package/lib/dist-custom-elements/{p-026f66e3.js → p-39b63c58.js} +2 -2
- package/lib/dist-custom-elements/{p-a19d42f7.js → p-4d4c66b0.js} +2 -2
- package/lib/dist-custom-elements/{p-369da8da.js → p-4f5a1d66.js} +1 -1
- package/lib/dist-custom-elements/{p-3844adaa.js → p-5270ad3d.js} +3 -3
- package/lib/dist-custom-elements/{p-23a9891b.js → p-61282ed8.js} +3 -3
- package/lib/dist-custom-elements/{p-79fb21bb.js → p-644b52bb.js} +2 -2
- package/lib/dist-custom-elements/{p-6f149d10.js → p-649a8c3e.js} +2 -2
- package/lib/dist-custom-elements/{p-a866db8a.js → p-7ff1b14d.js} +2 -2
- package/lib/dist-custom-elements/{p-dde3f1e6.js → p-824a3b0b.js} +3 -3
- package/lib/dist-custom-elements/{p-b5b250a2.js → p-8342a3e5.js} +3 -3
- package/lib/dist-custom-elements/{p-1ae20645.js → p-8c993e48.js} +1 -1
- package/lib/dist-custom-elements/{p-79372cc4.js → p-92f36210.js} +11 -11
- package/lib/dist-custom-elements/{p-1a9028fa.js → p-98b1d4c1.js} +25 -6
- package/lib/dist-custom-elements/{p-7590e1a9.js → p-a5c06963.js} +2 -2
- package/lib/dist-custom-elements/{p-f3d279c9.js → p-aa62c36f.js} +1 -1
- package/lib/dist-custom-elements/{p-a4667181.js → p-acacce04.js} +6 -6
- package/lib/dist-custom-elements/{p-02e6b3aa.js → p-b33a176e.js} +2 -2
- package/lib/dist-custom-elements/{p-8b3decf2.js → p-b5ea877d.js} +49 -1
- package/lib/dist-custom-elements/{p-1f84f4ac.js → p-b9488320.js} +23 -18
- package/lib/dist-custom-elements/{p-343f0aa2.js → p-c57a67d3.js} +4 -4
- package/lib/dist-custom-elements/{p-aad0e9d5.js → p-c9a14c7b.js} +4 -4
- package/lib/dist-custom-elements/{p-4d4d8c03.js → p-cb5df864.js} +2 -2
- package/lib/dist-custom-elements/{p-4b198aee.js → p-d0a4a69f.js} +1 -1
- package/lib/dist-custom-elements/{p-e6540ffb.js → p-e5962501.js} +2 -2
- package/lib/dist-custom-elements/{p-82cbf2aa.js → p-ed8b17fe.js} +6 -6
- package/lib/dist-custom-elements/{p-0bd5bcab.js → p-ee079d76.js} +3 -3
- package/lib/dist-custom-elements/{p-3cf59aa7.js → p-fb63021d.js} +1 -1
- package/lib/dist-custom-elements/{p-a1c8f31d.js → p-fc92fc89.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-9a9505b0.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-1de76e0d.entry.js → p-0cb1aedd.entry.js} +1 -1
- package/lib/duet/{p-87345e08.system.entry.js → p-0cde41e1.system.entry.js} +1 -1
- package/lib/duet/p-0d730e50.system.entry.js +4 -0
- package/lib/duet/{p-d20f0c7d.system.entry.js → p-0d79ddc1.system.entry.js} +1 -1
- package/lib/duet/{p-332d0c18.system.entry.js → p-0f3fbf65.system.entry.js} +1 -1
- package/lib/duet/{p-ae15b924.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-d9845dc6.entry.js → p-146a6092.entry.js} +1 -1
- package/lib/duet/p-14b4ee4d.entry.js +4 -0
- package/lib/duet/{p-238d490e.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-3cb42e12.system.entry.js → p-19519c35.system.entry.js} +1 -1
- package/lib/duet/{p-9eedb975.entry.js → p-19baff31.entry.js} +1 -1
- package/lib/duet/p-1aaa8887.entry.js +4 -0
- package/lib/duet/{p-14d1fc10.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 +1 -1
- package/lib/duet/{p-8f66a793.system.entry.js → p-1ec66cb0.system.entry.js} +1 -1
- package/lib/duet/{p-0457dff6.system.entry.js → p-210045f4.system.entry.js} +1 -1
- package/lib/duet/{p-977e9ed4.system.entry.js → p-21785af3.system.entry.js} +2 -2
- package/lib/duet/{p-02473a29.entry.js → p-252df607.entry.js} +1 -1
- package/lib/duet/p-265b2d3f.system.entry.js +4 -0
- package/lib/duet/{p-911a8711.entry.js → p-293cb37c.entry.js} +1 -1
- package/lib/duet/p-296eb384.entry.js +4 -0
- package/lib/duet/{p-f96c47b4.system.entry.js → p-2de11c55.system.entry.js} +1 -1
- package/lib/duet/{p-955c3761.entry.js → p-343c72ca.entry.js} +1 -1
- package/lib/duet/{p-45c3a7d2.system.entry.js → p-351076bc.system.entry.js} +1 -1
- package/lib/duet/{p-07b9cd1a.system.entry.js → p-35196930.system.entry.js} +1 -1
- package/lib/duet/{p-43a86f8a.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-6a4f6469.system.entry.js → p-3a1f45d1.system.entry.js} +1 -1
- package/lib/duet/{p-d6613fe4.system.entry.js → p-3b77a305.system.entry.js} +1 -1
- package/lib/duet/{p-05ea29c7.system.entry.js → p-3f690e05.system.entry.js} +1 -1
- package/lib/duet/{p-5786db38.system.entry.js → p-3fce7ef4.system.entry.js} +1 -1
- package/lib/duet/{p-ea692823.entry.js → p-405ba8bb.entry.js} +1 -1
- package/lib/duet/{p-c5970ff9.entry.js → p-413ee44a.entry.js} +1 -1
- package/lib/duet/{p-3ffcebff.system.entry.js → p-425e3794.system.entry.js} +1 -1
- package/lib/duet/{p-4c79d2a9.system.entry.js → p-4afd1e0f.system.entry.js} +1 -1
- package/lib/duet/{p-15e00afb.entry.js → p-4bdae83b.entry.js} +1 -1
- package/lib/duet/p-4e261200.js +4 -0
- package/lib/duet/{p-aa8f18b0.entry.js → p-4f913952.entry.js} +1 -1
- package/lib/duet/{p-83c03efa.system.entry.js → p-50754042.system.entry.js} +2 -2
- package/lib/duet/{p-ad81986c.system.entry.js → p-5222dec4.system.entry.js} +1 -1
- package/lib/duet/{p-36593090.system.entry.js → p-5269e599.system.entry.js} +1 -1
- package/lib/duet/{p-aeb9568f.entry.js → p-530144b7.entry.js} +1 -1
- package/lib/duet/{p-a6f74d7f.system.entry.js → p-58497877.system.entry.js} +1 -1
- package/lib/duet/p-5c17c2ad.entry.js +4 -0
- package/lib/duet/{p-f3d88a94.system.entry.js → p-5e62f1da.system.entry.js} +1 -1
- package/lib/duet/{p-e9cecefd.system.entry.js → p-603f6dd4.system.entry.js} +1 -1
- package/lib/duet/p-62e046bf.system.entry.js +4 -0
- package/lib/duet/{p-da5fbdcd.entry.js → p-639fd3db.entry.js} +1 -1
- package/lib/duet/{p-8bfbadfc.system.entry.js → p-65a3b7a2.system.entry.js} +1 -1
- package/lib/duet/p-6727fc0e.entry.js +4 -0
- package/lib/duet/{p-8136e15e.system.entry.js → p-6858f043.system.entry.js} +1 -1
- package/lib/duet/{p-c620f77b.system.entry.js → p-69d6bbfe.system.entry.js} +1 -1
- package/lib/duet/{p-d87f8bb5.system.entry.js → p-6c501d0a.system.entry.js} +1 -1
- package/lib/duet/{p-0b61a372.system.entry.js → p-702dc745.system.entry.js} +1 -1
- package/lib/duet/{p-c1c02b47.entry.js → p-706c3914.entry.js} +1 -1
- package/lib/duet/{p-f9d54f1a.system.entry.js → p-70fd8af5.system.entry.js} +1 -1
- package/lib/duet/{p-a414d7b1.entry.js → p-71d12412.entry.js} +1 -1
- package/lib/duet/{p-74025593.entry.js → p-72508bb9.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-2fc1b57e.system.entry.js → p-77eb9c59.system.entry.js} +1 -1
- package/lib/duet/p-783e8788.system.entry.js +4 -0
- package/lib/duet/{p-af0c9fa2.system.entry.js → p-79bd8c35.system.entry.js} +1 -1
- package/lib/duet/{p-bc57459e.system.entry.js → p-7ba55da2.system.entry.js} +2 -2
- package/lib/duet/{p-09b2f2cb.entry.js → p-7f519ad1.entry.js} +1 -1
- package/lib/duet/{p-89558e39.system.entry.js → p-83d125ee.system.entry.js} +1 -1
- package/lib/duet/{p-fb083164.entry.js → p-849cdc4a.entry.js} +1 -1
- package/lib/duet/{p-836ae3bb.system.entry.js → p-8911e1f0.system.entry.js} +1 -1
- package/lib/duet/p-898a81ab.system.entry.js +4 -0
- package/lib/duet/p-8a9a7082.entry.js +4 -0
- package/lib/duet/{p-b6e98c33.entry.js → p-8bc4d112.entry.js} +1 -1
- package/lib/duet/{p-d90c1000.system.entry.js → p-907ef071.system.entry.js} +1 -1
- package/lib/duet/{p-d6efda2f.entry.js → p-93bc8bc7.entry.js} +1 -1
- package/lib/duet/{p-099daa35.system.entry.js → p-989ecf2e.system.entry.js} +1 -1
- package/lib/duet/{p-e84dc0ac.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-83920005.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-042ce36a.system.entry.js → p-9f466e90.system.entry.js} +1 -1
- package/lib/duet/{p-8d3cb875.entry.js → p-9ff1b619.entry.js} +1 -1
- package/lib/duet/{p-2a4032e4.entry.js → p-a023bf22.entry.js} +1 -1
- package/lib/duet/{p-d1dd14a3.entry.js → p-a1dbb6ae.entry.js} +1 -1
- package/lib/duet/{p-4219eda3.system.entry.js → p-a236f333.system.entry.js} +1 -1
- package/lib/duet/{p-c552326c.system.entry.js → p-a42c1c73.system.entry.js} +2 -2
- package/lib/duet/p-a5406a98.entry.js +4 -0
- package/lib/duet/{p-1d56f5f8.system.entry.js → p-a6ee1072.system.entry.js} +1 -1
- package/lib/duet/{p-b0632410.system.entry.js → p-aa436035.system.entry.js} +1 -1
- package/lib/duet/{p-f9d93246.entry.js → p-aabf13cc.entry.js} +1 -1
- package/lib/duet/{p-2073ff86.system.entry.js → p-abe63ae2.system.entry.js} +1 -1
- package/lib/duet/p-ac1125e2.entry.js +4 -0
- package/lib/duet/p-ad0b50f0.entry.js +4 -0
- package/lib/duet/{p-fea43afb.entry.js → p-ad3fc579.entry.js} +1 -1
- package/lib/duet/{p-6f5dbc6e.system.entry.js → p-b1c78160.system.entry.js} +2 -2
- package/lib/duet/{p-3fe02797.entry.js → p-b1f3e71c.entry.js} +1 -1
- package/lib/duet/{p-8335c1bf.entry.js → p-b55e935f.entry.js} +1 -1
- package/lib/duet/{p-d25bbacd.entry.js → p-b5b5040f.entry.js} +1 -1
- package/lib/duet/{p-b7f262fc.system.entry.js → p-b5eec241.system.entry.js} +1 -1
- package/lib/duet/{p-5e12c437.system.entry.js → p-b5ef2959.system.entry.js} +1 -1
- package/lib/duet/{p-b238bac2.entry.js → p-b6214d5a.entry.js} +1 -1
- package/lib/duet/p-bbc168d3.entry.js +4 -0
- package/lib/duet/{p-8c44d3e9.entry.js → p-bf2016fd.entry.js} +1 -1
- package/lib/duet/{p-e6eb1780.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-24f98450.entry.js → p-c0f0ba52.entry.js} +1 -1
- package/lib/duet/{p-20c7ae09.entry.js → p-c20c2ae0.entry.js} +1 -1
- package/lib/duet/{p-f86c7315.entry.js → p-c20e0bcd.entry.js} +1 -1
- package/lib/duet/{p-a52fb767.entry.js → p-c2ece51b.entry.js} +1 -1
- package/lib/duet/{p-bcd88ac2.system.entry.js → p-c5efbb76.system.entry.js} +1 -1
- package/lib/duet/p-c6915c43.system.entry.js +4 -0
- package/lib/duet/{p-8378430a.system.entry.js → p-c7f38ac3.system.entry.js} +1 -1
- package/lib/duet/{p-3deacd18.system.entry.js → p-c8437ddb.system.entry.js} +2 -2
- package/lib/duet/{p-180c21a7.entry.js → p-cab2979b.entry.js} +1 -1
- package/lib/duet/{p-c9d3dd02.system.entry.js → p-cdccf8e6.system.entry.js} +1 -1
- package/lib/duet/{p-c1ef1b6e.entry.js → p-cfee6451.entry.js} +1 -1
- package/lib/duet/{p-db3eaaa3.entry.js → p-d1e5ab5e.entry.js} +1 -1
- package/lib/duet/{p-fa115b76.system.entry.js → p-d2ded72c.system.entry.js} +2 -2
- package/lib/duet/{p-a2e17a01.entry.js → p-d3a5400e.entry.js} +1 -1
- package/lib/duet/{p-69d18102.entry.js → p-d452cbb7.entry.js} +1 -1
- package/lib/duet/{p-edaefdfb.entry.js → p-d554e96b.entry.js} +1 -1
- package/lib/duet/{p-44af6523.entry.js → p-d6b53d40.entry.js} +1 -1
- package/lib/duet/{p-9c93192b.entry.js → p-d709d282.entry.js} +1 -1
- package/lib/duet/{p-ff1e3ce2.entry.js → p-d7c1c492.entry.js} +1 -1
- package/lib/duet/{p-ccc58d5d.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-5763afe7.system.entry.js → p-dea69e25.system.entry.js} +1 -1
- package/lib/duet/{p-a37f93eb.entry.js → p-e062a11a.entry.js} +1 -1
- package/lib/duet/p-e1d33d05.entry.js +4 -0
- package/lib/duet/{p-eeb9da2d.entry.js → p-e33c42ff.entry.js} +1 -1
- package/lib/duet/p-e8465166.entry.js +4 -0
- package/lib/duet/{p-14662d84.entry.js → p-eb35e521.entry.js} +1 -1
- package/lib/duet/{p-cf16818c.system.entry.js → p-f210b371.system.entry.js} +1 -1
- package/lib/duet/{p-9c0b9de2.system.entry.js → p-f29c480a.system.entry.js} +1 -1
- package/lib/duet/{p-9eb974d8.entry.js → p-f35be908.entry.js} +1 -1
- package/lib/duet/{p-1037271e.system.entry.js → p-f380d364.system.entry.js} +1 -1
- package/lib/duet/p-f417c864.entry.js +4 -0
- package/lib/duet/{p-f745dcfb.entry.js → p-f6900a3e.entry.js} +1 -1
- package/lib/duet/{p-8df1c0da.system.entry.js → p-f933ada6.system.entry.js} +1 -1
- package/lib/duet/{p-7831e011.entry.js → p-f9a64d11.entry.js} +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-banner.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +4 -4
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +6 -6
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip_3.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +98 -12
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +11 -8
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +4 -4
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +4 -4
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +14 -6
- package/lib/esm/duet-grid_2.entry.js +4 -4
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +6 -6
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +14 -10
- package/lib/esm/duet-layout.entry.js +6 -6
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +7 -7
- package/lib/esm/duet-multiselect.entry.js +6 -6
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +9 -4
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +13 -13
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +86 -10
- package/lib/esm/duet-range-slider.entry.js +8 -3
- package/lib/esm/duet-scrollable_3.entry.js +14 -14
- package/lib/esm/duet-section-layout.entry.js +3 -3
- package/lib/esm/duet-select.entry.js +7 -7
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +2 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +4 -4
- package/lib/esm/duet-slideout-panel.entry.js +7 -7
- package/lib/esm/duet-slideout.entry.js +5 -5
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +5 -5
- package/lib/esm/duet-textarea.entry.js +9 -5
- package/lib/esm/duet-toggle.entry.js +8 -3
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +4 -4
- package/lib/esm/duet-toolbar-item.entry.js +4 -4
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
- package/lib/esm/duet-tooltip.entry.js +19 -1
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +2 -2
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +1 -1
- package/lib/esm/loader.js +1 -1
- package/lib/esm/{slot-utils-1be24d72.js → slot-utils-23c88903.js} +49 -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-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 +2 -2
- 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 +2 -2
- 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-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 +2 -2
- 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/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-1be24d72.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-footer/duet-footer.d.ts +8 -4
- 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/components.d.ts +4 -4
- package/lib/types/utils/slot-utils.d.ts +17 -0
- package/package.json +2 -2
- package/lib/dist-custom-elements/p-05a0e048.js +0 -272
- package/lib/duet/p-062b4356.system.entry.js +0 -4
- package/lib/duet/p-197fcd81.entry.js +0 -4
- package/lib/duet/p-2892f9e4.entry.js +0 -4
- package/lib/duet/p-2be4521f.entry.js +0 -4
- package/lib/duet/p-34caafca.entry.js +0 -4
- package/lib/duet/p-3c48ca69.system.entry.js +0 -4
- package/lib/duet/p-46753ebc.entry.js +0 -4
- package/lib/duet/p-4920eb5e.entry.js +0 -4
- package/lib/duet/p-4efc484e.entry.js +0 -4
- package/lib/duet/p-5ba11951.entry.js +0 -4
- package/lib/duet/p-5d429d2c.entry.js +0 -4
- package/lib/duet/p-60e1e165.system.entry.js +0 -4
- package/lib/duet/p-618a822d.system.entry.js +0 -4
- package/lib/duet/p-63a09802.js +0 -4
- package/lib/duet/p-6abb0f77.system.entry.js +0 -4
- package/lib/duet/p-6f3fd8bf.entry.js +0 -4
- package/lib/duet/p-70fab25f.system.entry.js +0 -4
- package/lib/duet/p-762b831e.system.entry.js +0 -4
- package/lib/duet/p-79c1f08a.entry.js +0 -4
- package/lib/duet/p-835e6d3b.entry.js +0 -4
- package/lib/duet/p-849ae71a.system.entry.js +0 -4
- package/lib/duet/p-8babfd74.entry.js +0 -4
- package/lib/duet/p-8df4a03c.entry.js +0 -4
- package/lib/duet/p-8e672ddb.entry.js +0 -4
- package/lib/duet/p-919c1794.system.entry.js +0 -4
- package/lib/duet/p-9c95fff6.entry.js +0 -4
- package/lib/duet/p-9c9b25f3.system.entry.js +0 -4
- package/lib/duet/p-a4914611.entry.js +0 -4
- package/lib/duet/p-a8333037.entry.js +0 -4
- package/lib/duet/p-aa61f1da.entry.js +0 -4
- package/lib/duet/p-b7fe31c6.system.entry.js +0 -4
- package/lib/duet/p-b8b011df.system.entry.js +0 -4
- package/lib/duet/p-c2ca6ff0.system.entry.js +0 -4
- package/lib/duet/p-c8896685.system.entry.js +0 -4
- package/lib/duet/p-d03accc5.entry.js +0 -4
- package/lib/duet/p-d3f4d98f.system.entry.js +0 -4
- package/lib/duet/p-e238bb61.entry.js +0 -4
- package/lib/duet/p-e7a6457f.entry.js +0 -4
- package/lib/duet/p-f022f85b.entry.js +0 -4
- package/lib/duet/p-f7f098cb.entry.js +0 -4
- package/lib/duet/p-f84cdfef.entry.js +0 -4
- package/lib/duet/p-faa44b79.system.entry.js +0 -4
- package/lib/duet/p-fadcbdae.system.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
|
|
7
7
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLocaleString, } from "../../utils/language-utils";
|
|
@@ -93,10 +93,7 @@ export class DuetTab {
|
|
|
93
93
|
* Always the last one in the class.
|
|
94
94
|
*/
|
|
95
95
|
render() {
|
|
96
|
-
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
return (h("div", { ref: element => {
|
|
96
|
+
return (h("div", { key: '82a68331e195880eaab4d0975ebe843c8b0383e8', ref: element => {
|
|
100
97
|
if (!this.contentId) {
|
|
101
98
|
this.tabpanelElement = element;
|
|
102
99
|
}
|
|
@@ -105,10 +102,10 @@ export class DuetTab {
|
|
|
105
102
|
"duet-tab": true,
|
|
106
103
|
selected: this.selected,
|
|
107
104
|
"has-content-id": !!this.contentId,
|
|
108
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot",
|
|
105
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: '1c63bb93ad6c9c031569794c156568497ee28b27' })));
|
|
109
106
|
}
|
|
110
107
|
static get is() { return "duet-tab"; }
|
|
111
|
-
static get encapsulation() { return "
|
|
108
|
+
static get encapsulation() { return "shadow"; }
|
|
112
109
|
static get originalStyleUrls() {
|
|
113
110
|
return {
|
|
114
111
|
"$": ["duet-tab.scss"]
|
|
@@ -203,27 +203,27 @@ export class DuetTabGroup {
|
|
|
203
203
|
render() {
|
|
204
204
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
205
205
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
206
|
-
return (h("div", { key: '
|
|
206
|
+
return (h("div", { key: '55b19c0083ced74f0862c8879512d8a7ac550ccf', class: {
|
|
207
207
|
"duet-tab-group": true,
|
|
208
208
|
"duet-theme-turva": this.theme === "turva",
|
|
209
209
|
[variationClass]: true,
|
|
210
210
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
211
211
|
"duet-tab-group-scrolls": this.scrolls,
|
|
212
212
|
"duet-tab-group-collapses": this.collapses,
|
|
213
|
-
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (h("duet-select", { key: '
|
|
213
|
+
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (h("duet-select", { key: 'fa42a4e505fb4d94cfde64470682bcda87c4e8a8', value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
214
214
|
return { label: tab.label, value: index.toString() };
|
|
215
|
-
}) })), h("div", { key: '
|
|
215
|
+
}) })), h("div", { key: '5a4ba1e8089bd37f2bcd012ef58285369eb0282f', role: "tablist", class: {
|
|
216
216
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
217
217
|
"duet-tab-group-tabs": true,
|
|
218
218
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
219
219
|
"duet-tab-group-collapses": this.collapses,
|
|
220
220
|
}, ref: el => {
|
|
221
221
|
this.tabsContainer = el;
|
|
222
|
-
} }, this.renderTab()), h("div", { key: '
|
|
222
|
+
} }, this.renderTab()), h("div", { key: 'd80d6fdd3ad52d8c0dfd13d7ae1d906703eac971', class: {
|
|
223
223
|
"duet-tab-group-content": true,
|
|
224
224
|
"duet-m-0": this.margin === "none",
|
|
225
225
|
"checked-group-content": this.variation === "checked",
|
|
226
|
-
} }, h("slot", { key: '
|
|
226
|
+
} }, h("slot", { key: 'a14facc65a69917ede3d270a93919e949aa5116e' }))));
|
|
227
227
|
}
|
|
228
228
|
static get is() { return "duet-tab-group"; }
|
|
229
229
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,7 +113,7 @@ export class DuetTable {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: 'fe804ab98faa5a67150c751bb1c75fffd76d9979', class: {
|
|
117
117
|
[`duet-table-${this.variation}`]: true,
|
|
118
118
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
119
119
|
// sticky only valid when in regular table layout
|
|
@@ -122,7 +122,7 @@ export class DuetTable {
|
|
|
122
122
|
"duet-m-0": this.margin === "none",
|
|
123
123
|
"duet-theme-turva": this.theme === "turva",
|
|
124
124
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
125
|
-
} }, h("slot", { key: '
|
|
125
|
+
} }, h("slot", { key: '5771327fbab3d42432e014a2f527de6c865d4999' })));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "duet-table"; }
|
|
128
128
|
static get originalStyleUrls() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { h, Host, } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
7
|
import { cleanValue } from "../../utils/input-utils";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
-
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
9
|
+
import { checkNamedSlotElement, proxyInputToSlot } from "../../utils/slot-utils";
|
|
10
10
|
const CharacterCount = ({ value, maxlength, label, theme }) => {
|
|
11
11
|
if (maxlength == null) {
|
|
12
12
|
return;
|
|
@@ -25,6 +25,7 @@ export class DuetTextarea {
|
|
|
25
25
|
* Own Properties
|
|
26
26
|
*/
|
|
27
27
|
this.textareaId = createID("DuetTextarea");
|
|
28
|
+
this.proxyId = createID("DuetTextarea");
|
|
28
29
|
this.topCaptionId = createID("DuetCaptionTop");
|
|
29
30
|
this.topCaptionPlaceholderId = createID("DuetCaptionPlaceholderTop");
|
|
30
31
|
this.labelId = createID("DuetLabel");
|
|
@@ -150,6 +151,9 @@ export class DuetTextarea {
|
|
|
150
151
|
disconnectedCallback() {
|
|
151
152
|
disconnectLanguageChangeObserver(this);
|
|
152
153
|
}
|
|
154
|
+
componentDidRender() {
|
|
155
|
+
proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
|
|
156
|
+
}
|
|
153
157
|
/**
|
|
154
158
|
* Sets focus on the specified `duet-textarea`. Use this method instead of the global
|
|
155
159
|
* `textarea.focus()`.
|
|
@@ -162,26 +166,23 @@ export class DuetTextarea {
|
|
|
162
166
|
* Always the last one in the class.
|
|
163
167
|
*/
|
|
164
168
|
render() {
|
|
165
|
-
if (Build.isServer) {
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
169
|
const identifier = this.identifier || this.textareaId;
|
|
169
|
-
return (h(Host, { class: {
|
|
170
|
+
return (h(Host, { key: 'afb475015d0e4ad8439c1a2baf3ecd6196d608a4', class: {
|
|
170
171
|
"duet-m-0": this.margin === "none",
|
|
171
172
|
"duet-has-counter": this.counter && !this.error,
|
|
172
173
|
"duet-expand": this.expand,
|
|
173
|
-
} }, h("div", { class: {
|
|
174
|
+
} }, h("div", { key: '0978415bfb413a15d80dfffc46c1e4d4990989dd', class: {
|
|
174
175
|
"duet-textarea-container": true,
|
|
175
176
|
"duet-theme-turva": this.theme === "turva",
|
|
176
177
|
"duet-label-hidden": this.labelHidden,
|
|
177
178
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
178
179
|
"has-error": !!this.error,
|
|
179
|
-
} }, 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 && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { name: "tooltip" }), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), 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 })), h("duet-grid", { alignment: "stretch" }, h("duet-grid-item", { margin: "none", fill: true }, h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span",
|
|
180
|
+
} }, 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 && (h("duet-tooltip", { key: 'ecb4778229571b2a0430cd8440a383b8e7a9ce4c', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'f55c7c3f480ed44c6476a276ecc8a21213b08ee9', name: "tooltip" }), this.caption && (h("duet-caption", { key: '9508ae1e04ff3a74551efa81779c7e6f5ac5b3e8', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: 'fa901006cd5a7ef28e443fb0ec1e289e7b91fd02', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: 'f352aa22e295837c2697022318f0ed3e27bdef8b', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), 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 })), h("duet-grid", { key: '5448fd837456b03dbf6c6beb3fddc63e6ab767ff', alignment: "stretch" }, h("duet-grid-item", { key: '23a4a4c7166b21e3749164f384def7a733421c59', margin: "none", fill: true }, h("div", { key: 'a0d0109c87a899274270d83e5dd2ec30df16caa6', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'f23227e447ca85e2e8e79ebdea459d6ebfcd0420' }, this.error))), h("duet-grid-item", { key: '3646d29d504b4f9c9cce38f66e58e8f994e54fb8', margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { key: '83b2e50ae63c30e0cd0beff5891309b8ce36e6a7', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { key: '66fd9e4bab5013f6afd24a99dc1fbe2aa56ed5a9', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
180
181
|
this.hiddenCounterLabel = el;
|
|
181
182
|
} })))));
|
|
182
183
|
}
|
|
183
184
|
static get is() { return "duet-textarea"; }
|
|
184
|
-
static get encapsulation() { return "
|
|
185
|
+
static get encapsulation() { return "shadow"; }
|
|
185
186
|
static get originalStyleUrls() {
|
|
186
187
|
return {
|
|
187
188
|
"$": ["duet-textarea.scss"]
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
7
|
import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
|
|
8
|
+
import { proxyInputToSlot } from "../../utils/slot-utils";
|
|
8
9
|
export class DuetToggle {
|
|
9
10
|
constructor() {
|
|
10
11
|
/**
|
|
11
12
|
* Own Properties
|
|
12
13
|
*/
|
|
13
14
|
this.toggleId = createID("DuetToggle");
|
|
15
|
+
this.proxyId = createID("DuetToggle");
|
|
14
16
|
/**
|
|
15
17
|
* Component event handling.
|
|
16
18
|
*/
|
|
@@ -62,6 +64,9 @@ export class DuetToggle {
|
|
|
62
64
|
disconnectedCallback() {
|
|
63
65
|
unsubscribeTabbingChange(this);
|
|
64
66
|
}
|
|
67
|
+
componentDidRender() {
|
|
68
|
+
proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required, this.checked);
|
|
69
|
+
}
|
|
65
70
|
/**
|
|
66
71
|
* Sets focus on the specified `duet-toggle`. Use this method instead of the global
|
|
67
72
|
* `input.focus()`.
|
|
@@ -74,19 +79,16 @@ export class DuetToggle {
|
|
|
74
79
|
* Always the last one in the class.
|
|
75
80
|
*/
|
|
76
81
|
render() {
|
|
77
|
-
if (Build.isServer) {
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
82
|
const identifier = this.identifier || this.toggleId;
|
|
81
|
-
return (h(Host, { onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, h("div", { class: {
|
|
83
|
+
return (h(Host, { key: 'f1b8c9c08fb1aee347e563410dca93a4ab121bac', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '68fbc5e970aa27bb23354da6ef76fe97ef7ac56c', class: {
|
|
82
84
|
"duet-toggle": true,
|
|
83
85
|
"duet-theme-turva": this.theme === "turva",
|
|
84
86
|
"duet-side-label": this.labelPosition !== "top",
|
|
85
87
|
"duet-reverse-label": this.labelPosition === "right",
|
|
86
|
-
} }, h("duet-label", { theme: this.theme, color: this.labelColor, weight: this.labelWeight,
|
|
88
|
+
} }, h("duet-label", { key: '71d8ab7afbe009e196619c59fc7f4d67e5014ecd', theme: this.theme, color: this.labelColor, weight: this.labelWeight, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { key: 'ad1ad4bb8249ff6999f9c8dfd48fd70ee658e80c', class: "duet-switch" }, 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) }), h("div", { key: '36aa5a3052136ff112b395ebac661c6496e64f93', class: "duet-slider" })))));
|
|
87
89
|
}
|
|
88
90
|
static get is() { return "duet-toggle"; }
|
|
89
|
-
static get encapsulation() { return "
|
|
91
|
+
static get encapsulation() { return "shadow"; }
|
|
90
92
|
static get originalStyleUrls() {
|
|
91
93
|
return {
|
|
92
94
|
"$": ["duet-toggle.scss"]
|
|
@@ -31,11 +31,11 @@ export class DuetToolbar {
|
|
|
31
31
|
: this.variation === "secondary"
|
|
32
32
|
? "secondary"
|
|
33
33
|
: "default";
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '21d533cd790fd3160001662f405fd6d576238601' }, h("nav", { key: '7b6dd43ab8c737929acec750be80136d3f5bb007', class: {
|
|
35
35
|
"duet-toolbar": true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
37
|
[variation]: true,
|
|
38
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
38
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: 'c6858334c5f7a5a760775d6cb1d5f3c8439f10a7', class: "container" }, h("div", { key: '28485640df44e2daf65bee426b757931d7fe01e8', class: "list", role: "list" }, h("slot", { key: '7fe71028d8cd2e938ec176fcf8a3bf9dd1d2e446', name: "left" })), h("div", { key: 'a5fa75c98324be554112c6bead973905e2144371', class: "list", role: "list" }, h("slot", { key: '277f1bafd019f0e03080d3c830be989eac1dd461', name: "right" }))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-toolbar"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,18 +50,18 @@ export class DuetToolbarDropdown {
|
|
|
50
50
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
51
51
|
}
|
|
52
52
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '3f216acdbee35637a06bba1ad6bd31c79060c485', role: "listitem" }, h("div", { key: 'f327067f1cca48416dbadf416c81beb395f68bf6', class: {
|
|
54
54
|
"duet-toolbar-dropdown": true,
|
|
55
55
|
"duet-theme-turva": this.theme === "turva",
|
|
56
56
|
[itemsAlign]: true,
|
|
57
57
|
[variation]: true,
|
|
58
|
-
} }, h("button", { key: '
|
|
58
|
+
} }, 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: {
|
|
59
59
|
active: this.active,
|
|
60
60
|
open: this.open,
|
|
61
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
61
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'dddf695359ec083dc8f227c5e1deae8a5506b73f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: 'd334e49d8815344ab29ac8db03eb694ddb496a54', class: "label" }, h("slot", { key: '348fcd3dd00b6a81b94d33771f6e4557284bd16d', name: "label" }), h("duet-icon", { key: '7dc2d3d54ff3117e2f48e687f3a762db43a837d4', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '90d305c6cecfb3fd7ee23ce5169cdcad6c4dd66f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
62
62
|
items: true,
|
|
63
63
|
hidden: !this.open,
|
|
64
|
-
} }, h("slot", { key: '
|
|
64
|
+
} }, h("slot", { key: 'eda0a71fd30d9a00a11d61a797243b2da1d4e19a' })))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "duet-toolbar-dropdown"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,11 +31,11 @@ export class DuetToolbarDropdownLink {
|
|
|
31
31
|
* Always the last one in the class.
|
|
32
32
|
*/
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '8cb69dd33c2d35233088309fd5cdad8c1d16ed01' }, h("a", { key: 'c805b960def6061680c14e5b401d1854c52f94a6', class: {
|
|
35
35
|
"duet-toolbar-dropdown-link": true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
37
|
active: this.active,
|
|
38
|
-
}, 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 && h("duet-icon", { key: '
|
|
38
|
+
}, 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 && h("duet-icon", { key: 'aa73a86d1c127f99f803b772bd2ae89b207fab30', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '7435a9263b6389e3a4a2e980a6528741c3b7a46f', class: "label" }, h("slot", { key: '5bdd6f17bf41ee7a6f6dec80b9f3c9f741a1fc27' })), this.active && (h("duet-icon", { key: '6d9294ed304b2652d8cf535f549edad17fc6965d', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-toolbar-dropdown-link"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,6 +48,12 @@
|
|
|
48
48
|
.duet-theme-turva .duet-toolbar-item:focus, .duet-toolbar-item:focus.duet-theme-turva {
|
|
49
49
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
50
50
|
}
|
|
51
|
+
.duet-toolbar-item:focus.primary {
|
|
52
|
+
box-shadow: 0 0 0 4px rgba(8, 42, 77, 0.3), 0 0 0 1px #033866;
|
|
53
|
+
}
|
|
54
|
+
.duet-theme-turva .duet-toolbar-item:focus.primary, .duet-toolbar-item:focus.primary.duet-theme-turva {
|
|
55
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
56
|
+
}
|
|
51
57
|
.duet-toolbar-item .duet-toolbar-icon {
|
|
52
58
|
position: relative;
|
|
53
59
|
display: inline-flex;
|
|
@@ -57,17 +57,17 @@ export class DuetToolbarItem {
|
|
|
57
57
|
: this.variation === "secondary"
|
|
58
58
|
? "secondary"
|
|
59
59
|
: "default";
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'dd49a814af5543b3c5322f9ba0f14b94c1f2c0ff', role: "listitem" }, h(TagName, { key: '99e8b130d9de3a738aa494473908afa59fcb5c9d', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
61
61
|
"duet-toolbar-item": true,
|
|
62
62
|
"duet-theme-turva": this.theme === "turva",
|
|
63
63
|
active: this.active,
|
|
64
64
|
[variation]: true,
|
|
65
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("div", { key: '
|
|
65
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("div", { key: 'f2cb988f3e1224d79d1fe65d289e08364b43d75f', class: "duet-toolbar-icon" }, h("duet-icon", { key: '8608706b7b512cfe61e35f4eb63a41804ac0085d', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: 'c4a5b2eba922d2bcaf1e90c63d496d6e0e8a282f', class: "duet-toolbar-badge" }))), h("slot", { key: 'c4c8114069e098da845703905b77f15c4bb1c743' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: '7f21cf0cd2a5aeca2685360049504e5daab02c3b', class: "duet-toolbar-icon" }, h("duet-icon", { key: '0c39d469df56947c3cec7f2e377906f0f48d0ef6', class: {
|
|
66
66
|
"trailing-icon": !!this.trailingIcon,
|
|
67
67
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
68
68
|
"external-icon": !!(this.url && this.external),
|
|
69
69
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
70
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: '
|
|
70
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: 'a59af5319ed0f896c0ba81b8c6234d7ebed0d3f2', class: "duet-toolbar-badge" }))))));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "duet-toolbar-item"; }
|
|
73
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,12 +24,12 @@ export class DuetToolbarLink {
|
|
|
24
24
|
*/
|
|
25
25
|
render() {
|
|
26
26
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '2656a1b596a4b66cf46c4f417335e35eb881dab2', role: "listitem" }, h("a", { key: 'ce034bce2589926b97d4bb34280799747927414f', class: {
|
|
28
28
|
"duet-toolbar-link": true,
|
|
29
29
|
"duet-theme-turva": this.theme === "turva",
|
|
30
30
|
active: this.active,
|
|
31
31
|
[variation]: true,
|
|
32
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
32
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '0fc473d63161aaa4922c4557f902e170f68464ed', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'beba45fdc4e282f23e04735c6491c67f65ac7b7f' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "duet-toolbar-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,12 +39,12 @@ export class DuetTooltipButton {
|
|
|
39
39
|
* Always the last one in the class.
|
|
40
40
|
*/
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '9072e8917cb41793dea41b85387c0d0ed01364ab' }, h("button", { key: '873fe45b6a53107875d7f6cbd52edcef6c35a4cd', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
43
43
|
"duet-tooltip-button": true,
|
|
44
44
|
"duet-tooltip-button-has-label": !!this.label,
|
|
45
45
|
"duet-theme-turva": this.theme === "turva",
|
|
46
46
|
"duet-tooltip-button-negative": this.negative,
|
|
47
|
-
} }, h("svg", { key: '
|
|
47
|
+
} }, h("svg", { key: '323d7874dea1e157dfa25d203eb3dda93e4a4100', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, 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" }), h("circle", { key: 'd5e097119c80dbcee1e9a8b40e0a8e1416991c78', cx: "11.625", cy: "7.125", r: "1.125" }), 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 ? (h("span", { class: "duet-tooltip-label" }, this.label)) : (h("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "duet-tooltip-button"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,11 +53,11 @@ export class DuetTooltipPopup {
|
|
|
53
53
|
this.contentEl.focus();
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '8acc3821b4d946db588b369f4b6a49949049aef3' }, h("div", { key: '4e67df16578e9d684c13956359696ebb46aaa431', class: {
|
|
57
57
|
"duet-tooltip": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
59
|
"duet-tooltip-active": this.active === true,
|
|
60
|
-
} }, h(FocusGuard, { key: '
|
|
60
|
+
} }, h(FocusGuard, { key: 'f80a8056489ea1d33f28e35e02956080855b8e0c', moveFocusTo: this.buttonEl }), h("div", { key: '776dd94339d875a1a66e6384792b6ceb1c6aa3d0', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, h("slot", { key: '5ca5cb490bbd841897e92550487d5ec2994c1454' })), h("div", { key: '0d94a795e9e48495dfaf0f89a2deb85168e28e93', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: '55de0f4a7b2af1fdc80591cf22164528677038b3', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: '5c666a5fa3eeb84d1b9cae6a8e8c9ead45c44b69', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: '50e2ef126f129c562fe92652d057f7295d1c67f2', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: '1453b395ca04e521704846b572d7165cc150f0ff' }, this.accessibleCloseLabel)), h(FocusGuard, { key: '75fbf5e7a95c4f2a30064a47e2e1c3905c2ee289', moveFocusTo: this.contentEl }))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "duet-tooltip-popup"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,11 +8,13 @@ import { inheritGlobalTheme } from "../../common";
|
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
9
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
10
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
11
|
+
import { cloneDefaultSlotContent } from "../../utils/slot-utils";
|
|
11
12
|
export class DuetTooltip {
|
|
12
13
|
constructor() {
|
|
13
14
|
/**
|
|
14
15
|
* Own Properties.
|
|
15
16
|
*/
|
|
17
|
+
this.firstRender = true;
|
|
16
18
|
this.mql = [
|
|
17
19
|
window.matchMedia(media_query_medium.replace(/'/g, "")),
|
|
18
20
|
window.matchMedia(media_query_large.replace(/'/g, "")),
|
|
@@ -132,6 +134,22 @@ export class DuetTooltip {
|
|
|
132
134
|
{ prop: "accessibleLabel", defaults: "accessibleLabelDefault" },
|
|
133
135
|
{ prop: "accessibleCloseLabel", defaults: "accessibleCloseLabelDefault" },
|
|
134
136
|
]);
|
|
137
|
+
if (typeof MutationObserver !== "undefined") {
|
|
138
|
+
this.mutationO = new MutationObserver(() => {
|
|
139
|
+
cloneDefaultSlotContent(this.element, this.popupElement);
|
|
140
|
+
});
|
|
141
|
+
this.mutationO.observe(this.element, {
|
|
142
|
+
childList: true,
|
|
143
|
+
characterData: true,
|
|
144
|
+
subtree: true,
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
componentDidRender() {
|
|
149
|
+
if (this.firstRender) {
|
|
150
|
+
cloneDefaultSlotContent(this.element, this.popupElement);
|
|
151
|
+
this.firstRender = false;
|
|
152
|
+
}
|
|
135
153
|
}
|
|
136
154
|
disconnectedCallback() {
|
|
137
155
|
disconnectLanguageChangeObserver(this);
|
|
@@ -198,7 +216,7 @@ export class DuetTooltip {
|
|
|
198
216
|
this.accessibleLabel, onClick: this.toggleOpen, theme: this.theme, negative: this.negative }), h("div", { style: popupContainerStyles }, h("duet-tooltip-popup", { ref: element => (this.popupElement = element), active: this.active, tooltipId: this.tooltipId, arrowStyles: arrowStyles, style: positionStyles, placement: this.placement, accessibleCloseLabel: this.accessibleCloseLabel, theme: this.theme }, h("slot", null)))));
|
|
199
217
|
}
|
|
200
218
|
static get is() { return "duet-tooltip"; }
|
|
201
|
-
static get encapsulation() { return "
|
|
219
|
+
static get encapsulation() { return "shadow"; }
|
|
202
220
|
static get originalStyleUrls() {
|
|
203
221
|
return {
|
|
204
222
|
"$": ["duet-tooltip.scss"]
|
|
@@ -87,14 +87,14 @@ export class DuetTray {
|
|
|
87
87
|
* Always the last one in the class.
|
|
88
88
|
*/
|
|
89
89
|
render() {
|
|
90
|
-
return (h("div", { key: '
|
|
90
|
+
return (h("div", { key: '978707965f7036c59164be861c06e3a95d0b010c', class: {
|
|
91
91
|
"duet-tray": true,
|
|
92
92
|
"duet-tray-is-active": this.active,
|
|
93
93
|
"duet-tray-is-hidden": this.hiddenState,
|
|
94
94
|
"duet-tray-is-responsive": this.responsive,
|
|
95
95
|
"duet-theme-turva": this.theme === "turva",
|
|
96
96
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
97
|
-
} }, h("div", { key: '
|
|
97
|
+
} }, h("div", { key: 'fa71800b202335afe225062b6546c259024d1ebc', class: "duet-tray-default-content", role: "status" }, h("slot", { key: '88504b3e7785cb2c996ca2a69f4f7613b3142641' })), this.hasAdditionalContent && (h(Fragment, { key: 'b7bbc3062d4b56e76021d7fb1e275033b1d973de' }, 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 } }, h("duet-icon", { key: '1976d894857521dba637850fd6d0f67dc5d2fb7c', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), h("duet-visually-hidden", { key: '52a51dd5b1c5f590ab6b69cb14f229df0b7af8cd' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), h("div", { key: '6258528ccbe8a9bb546ad35639457757583a4914', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, h("div", { key: '79124cc2718b71d49e3ce57eaa405f7663f2db1e', class: "duet-tray-expandable-content" }, h("slot", { key: '842a4506b47dae4db5b81bd1fe551e09a08672f0', name: "additional" })))))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "duet-tray"; }
|
|
100
100
|
static get encapsulation() { return "shadow"; }
|
|
@@ -753,10 +753,10 @@ export class DuetUpload {
|
|
|
753
753
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
754
754
|
}
|
|
755
755
|
// @ts-ignore
|
|
756
|
-
return (h(Host, { key: '
|
|
756
|
+
return (h(Host, { key: 'd9a06a80ee3dbe6c14afeba29034210c0876e030', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '91dd6b9b6702eda6b91bde8051ba3dc19f61897f', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: 'db5e4b9f271fe451b5d22f7400ec4c0d3a6f138e', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '27ba6010ee533701bf11a149427d2216c8ce29d9', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: 'e89c1d5f4ec256d1e3a78c3c39d2e70abf10e8e6', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: '42eadc522cef6c31bf92926536586c335f70aa29', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: '73e49bd8b917493fe195e9a41485bc92f7b28f87', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { key: 'f4af2ea636e86ad99ea095816a947160842e473a', name: "filefooter" }), h("slot", { key: '4f5808dd9f1d1f59a22358e889b465603fcf66e5', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: '098d617ed6b92abb83204dfd0c02f38aee307091', margin: "none", size: "small" }, h("div", { key: 'df692c821b64ef7d2a8e00f1b798e0d6ea28589b', class: "upload-bottom-caption" }, caption))), h("slot", { key: 'f5c2d00cef8aea857176ccfa0cf3ff52eb4b07ec', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '6950dea516b4b35f4e5fb7c9d37afd340a151a14' }, h("duet-spacer", { key: '24eac12d73d7ed5ad8fab3be0777d7452bf326d7', size: "large" }), h("duet-button", { key: 'fb63b67dfcd988535867d4fde83bd13c110d9f1c', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
757
757
|
this.bytesMaxReached ||
|
|
758
758
|
this.filesToUploadExceedsLimit ||
|
|
759
|
-
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '
|
|
759
|
+
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '749d1166c084a9b2919b909ee7ab9246d2c0ebe7' }, h("duet-spacer", { key: '907c8f0f2709cf387eef1b2bb815335ded8ad30d', size: "medium" }), h("duet-alert", { key: '792b424865e2a20fe34eeb248cbd00e376bcd646', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { key: '31b3a469d2722362b44ee1e89e468f79e313fc7e', "aria-hidden": "true" }, h("input", { key: 'ee5f9699f2d29c0ac92d0ba78c3e007a0cc327cd', ref: input => {
|
|
760
760
|
this.nativeInput = input;
|
|
761
761
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
762
762
|
"duet-upload": true,
|
|
@@ -64,7 +64,7 @@ export class DuetUploadAriaStatus {
|
|
|
64
64
|
* Always the last one in the class.
|
|
65
65
|
*/
|
|
66
66
|
render() {
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '177f33a14fe939c866cc4b465b1886899d97af29', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: '410c70a49016691f5795d537a66ead6cc2a9bb64' }, this.statusMessage)));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-upload-aria-status"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,9 +80,9 @@ export class DuetUploadItem {
|
|
|
80
80
|
const { uid, meta, item } = this.data;
|
|
81
81
|
const Badges = meta && meta.badges ? (h("span", null, meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
82
82
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
83
|
-
return (h("div", { key: '
|
|
83
|
+
return (h("div", { key: '499163ce1be1b45ff2d97156ce06d7d9f3fefeb2', class: {
|
|
84
84
|
"upload-item-row": true,
|
|
85
|
-
} }, this.showCategory && (h("div", { key: '
|
|
85
|
+
} }, this.showCategory && (h("div", { key: '0486c8703101bcb3837161c24ad0fc1a4ffe215f', class: "item-categories" }, h("duet-heading", { key: '292cc4893eebebb39be0360efc9559c5de47b22e', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: '8e6c67e49f9b5bc79fc011bc44362392eb3b7b24', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '24f05bb11ee5970722963e688fd5c5e797a0e77c', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '1c93322e3405f0c329978af89b70c91e7eb9733d', class: "item-actions" }, this.actions.map(actionItem => {
|
|
86
86
|
return (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} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
87
87
|
}))));
|
|
88
88
|
}
|
|
@@ -8,7 +8,7 @@ export class DuetVisuallyHidden {
|
|
|
8
8
|
* Always the last one in the class.
|
|
9
9
|
*/
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'cd9e7fe168ed42bfa9fc4751303db7edd312ce75', class: "duet-visually-hidden" }, h("slot", { key: 'bd33aa5a8f5cf442fab2f40ef59b13c36b32eb9d' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "duet-visually-hidden"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,3 +51,54 @@ export const checkNamedSlotElement = (hostElement, slotName, selector, maxChildr
|
|
|
51
51
|
console[warnOrError](`Duet ${warnOrError} in ${hostElement.tagName.toLowerCase()}:\n${errors.join("\n")}${remove ? `\nElement${errors.length > 1 ? "s" : ""} removed.` : ""}`);
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* Clones host element's default slot contents inside of target element.
|
|
56
|
+
* Uses cloneNode so remember to always check for its caveats.
|
|
57
|
+
*
|
|
58
|
+
* @param hostElement Host element
|
|
59
|
+
* @param targetElement Target element
|
|
60
|
+
*/
|
|
61
|
+
export const cloneDefaultSlotContent = (hostElement, targetElement) => {
|
|
62
|
+
if (Build.isServer) {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
targetElement.innerHTML = "";
|
|
66
|
+
hostElement.childNodes.forEach(childNode => {
|
|
67
|
+
const copy = childNode.cloneNode(true);
|
|
68
|
+
targetElement.appendChild(copy);
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Creates hidden input element inside component's slot.
|
|
73
|
+
* This can be used to support native <form> element functionalities.
|
|
74
|
+
*
|
|
75
|
+
* @param element Element
|
|
76
|
+
* @param name Input name
|
|
77
|
+
* @param value Input value
|
|
78
|
+
*/
|
|
79
|
+
export const proxyInputToSlot = (element, id, name, value, required, checked = undefined) => {
|
|
80
|
+
const prevInput = element.querySelector("input");
|
|
81
|
+
const input = prevInput || document.createElement("input");
|
|
82
|
+
if (checked === false) {
|
|
83
|
+
input.remove();
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
input.id = id;
|
|
87
|
+
if (name !== undefined && name !== null) {
|
|
88
|
+
input.name = name;
|
|
89
|
+
}
|
|
90
|
+
if (required) {
|
|
91
|
+
input.type = "text";
|
|
92
|
+
input.hidden = true;
|
|
93
|
+
input.required = true;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
input.type = "hidden";
|
|
97
|
+
input.hidden = false;
|
|
98
|
+
input.required = false;
|
|
99
|
+
}
|
|
100
|
+
input.value = value;
|
|
101
|
+
if (!prevInput) {
|
|
102
|
+
element.appendChild(input);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-649a8c3e.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-ed8b17fe.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|