@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
|
@@ -10,7 +10,7 @@ const themeableComponent = require('./themeable-component-996b489c.js');
|
|
|
10
10
|
const bodyScroll = require('./body-scroll-dba42314.js');
|
|
11
11
|
const focusUtils = require('./focus-utils-68fa1c8f.js');
|
|
12
12
|
const languageUtils = require('./language-utils-beee36ce.js');
|
|
13
|
-
const slotUtils = require('./slot-utils-
|
|
13
|
+
const slotUtils = require('./slot-utils-31c0ed00.js');
|
|
14
14
|
const tokenUtils = require('./token-utils-12717808.js');
|
|
15
15
|
require('./string-utils-7b13c16e.js');
|
|
16
16
|
require('./tokens.module-46ddb47a.js');
|
|
@@ -164,23 +164,23 @@ const DuetSlideoutPanel = class {
|
|
|
164
164
|
};
|
|
165
165
|
const exitTranslation = languageUtils.getLocaleString(this.exitLangObject);
|
|
166
166
|
const backTranslation = languageUtils.getLocaleString(this.backLangObject);
|
|
167
|
-
return (index.h(index.Host, { key: '
|
|
167
|
+
return (index.h(index.Host, { key: '0318776fab9cea36b44efcbd8a066fc7a71aa59e' }, index.h("div", { key: '1d95822243d5c86ec5b5173e4e681b4146e4476f', class: {
|
|
168
168
|
"duet-slideout-panel": true,
|
|
169
169
|
"duet-theme-turva": this.theme === "turva",
|
|
170
170
|
active: this.open,
|
|
171
|
-
} }, index.h("button", { key: '
|
|
171
|
+
} }, index.h("button", { key: 'a45e36b09686a148c2ba62e9984627920710ecb7', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
172
172
|
link: true,
|
|
173
173
|
active: this.active,
|
|
174
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (index.h("div", { key: '
|
|
174
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (index.h("div", { key: '6f2dee22c324bf4ead87048ebff2a20c47ca896a', class: "duet-slideout-icon" }, index.h("duet-icon", { key: '44e1cac15f61dab325132fcc3514c8e0354cc43a', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && index.h("div", { key: '024312ec408282554844e751ab4b49d05b96b548', class: "duet-slideout-badge" }))), index.h("span", { key: '283051aa5c3b14ee17ca9da70c094a57235e749e', class: "label" }, index.h("span", { key: '81b5642422add92e13dbf34d95a26c0588858de7', class: { "label-text": true, [this.labelSize]: true } }, index.h("slot", { key: 'd44a3600f9a66a1768a530317ee8e97d61d7d5a4', name: "label" })), index.h("duet-icon", { key: '4e27c46508e15f8a57b08025121d7a30386fd7e1', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), index.h("div", { key: '0e7fce1743db4fe772c3165ea76ddd2b5215e3c3', ref: element => (this.dialog = element), class: {
|
|
175
175
|
dialog: true,
|
|
176
176
|
hidden: !this.open,
|
|
177
|
-
}, style: styles }, index.h(focusUtils.FocusGuard, { key: '
|
|
177
|
+
}, style: styles }, index.h(focusUtils.FocusGuard, { key: '40a3ed99c1bf1bceb7378326804d3f5e76a2caf0', moveFocusTo: this.closeButton }), index.h("div", { key: '513ce8191e12b73aa0ec22360499905c9a120aca', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, index.h("div", { key: 'f6d518848785f147415050e356dcfe42e00e64af', class: "top" }, index.h("button", { key: '6c6d3320016eeabed6b06b5d997bf0fe871b7d5b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
178
178
|
back: true,
|
|
179
|
-
}, onClick: this.onClick }, index.h("duet-icon", { key: '
|
|
179
|
+
}, onClick: this.onClick }, index.h("duet-icon", { key: 'e68686b85946c9e54babfb2aa7012e37048b6a23', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), index.h("span", { key: 'b2082182002d6fc1687fdbe1a75c30a62061a083' }, this.label.innerHTML), index.h("button", { key: 'b6cfea3156d9398f6ff290c6abbdbdff55a16edd', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, index.h("duet-icon", { key: '4f973e329f5254a4d6fbb230bb2e1c815d07fab5', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), index.h("div", { key: 'b2f3ca3d5bd5e4881cfbe6acd61b8ff209408f35', class: "sticky-header" }, index.h("slot", { key: '9a1594cd89ffce28613a575b53219736fcf02bae', name: "sticky-header" }))), index.h("div", { key: '74a5a1eefa940a78f4904f118fbb22da52177d83', tabindex: "-1", role: "menu",
|
|
180
180
|
//TODO: slideout menu fades out, needs to be instant
|
|
181
181
|
id: "menu", "aria-labelledby": "button", class: {
|
|
182
182
|
items: true,
|
|
183
|
-
} }, index.h("slot", { key: '
|
|
183
|
+
} }, index.h("slot", { key: '59168289af3be6afbf35af828da4800c1209809c' })), index.h(focusUtils.FocusGuard, { key: '688c55a2b0881c10204aa353123bc524c88a23b9', moveFocusTo: this.closeButton })))));
|
|
184
184
|
}
|
|
185
185
|
get element() { return index.getElement(this); }
|
|
186
186
|
static get watchers() { return {
|
|
@@ -11,7 +11,7 @@ const bodyScroll = require('./body-scroll-dba42314.js');
|
|
|
11
11
|
const focusUtils = require('./focus-utils-68fa1c8f.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
13
13
|
const languageUtils = require('./language-utils-beee36ce.js');
|
|
14
|
-
const slotUtils = require('./slot-utils-
|
|
14
|
+
const slotUtils = require('./slot-utils-31c0ed00.js');
|
|
15
15
|
const teleport = require('./teleport-c6f8391a.js');
|
|
16
16
|
const tokenUtils = require('./token-utils-12717808.js');
|
|
17
17
|
require('./string-utils-7b13c16e.js');
|
|
@@ -249,16 +249,16 @@ const DuetSlideout = class {
|
|
|
249
249
|
};
|
|
250
250
|
const topLevelOpenMenuBarTranslation = languageUtils.getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
251
251
|
const exitTranslation = languageUtils.getLocaleString(this.exitLangObject);
|
|
252
|
-
return (index.h(index.Host, { key: '
|
|
252
|
+
return (index.h(index.Host, { key: '7e5384e7a8da21a6bfcd4e6f84f8c0cb60d3250a' }, index.h("div", { key: 'a0ddecf72e05002132592afbea9ab503e8929698', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && index.h("duet-overlay", { key: 'bd9eb4bb301549c79486fbec4ec9cc3306001152', visible: this.open, "display-device": "large", zIndex: "600" }), index.h("div", { key: '8bcb933d1862b16a784105144cbb830b085b7a37', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
253
253
|
dialog: true,
|
|
254
254
|
hidden: !this.open,
|
|
255
255
|
modal: this.modal,
|
|
256
|
-
}, style: styles }, index.h(focusUtils.FocusGuard, { key: '
|
|
256
|
+
}, style: styles }, index.h(focusUtils.FocusGuard, { key: '4f32ae824a9963b9324a6a75aec30a1ec3b9da34', moveFocusTo: this.closeButton }), index.h("div", { key: 'b3a2d23360f0080c3345925ab2dd3ba71726102e', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, index.h("div", { key: '346320e78d1b3b31cd27505873e27d9de14e7105', class: "top" }, index.h("button", { key: '70bd3ca676c250d31bf67ffc0cd4900c73d2e093', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
257
257
|
"slideout-close": true,
|
|
258
258
|
active: this.open,
|
|
259
|
-
}, onClick: this.onClick, inert: this.openPanel }, index.h("duet-icon", { key: '
|
|
259
|
+
}, onClick: this.onClick, inert: this.openPanel }, index.h("duet-icon", { key: '1aa814b1f9015483a3b4bc7f473b5aede84f3cd0', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), index.h("div", { key: 'f11c81c8efcdca2ddb6cdc987e2e1f220d467398', class: "sticky-header" }, index.h("slot", { key: 'e0bf8ba236ee29c1f1b497df27b337ab1f96628a', name: "sticky-header" }))), index.h("div", { key: 'dbf227d18aed0d6d3db65db6522ffda1b69d8dba', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
260
260
|
items: true,
|
|
261
|
-
} }, index.h("slot", { key: '
|
|
261
|
+
} }, index.h("slot", { key: 'facef4d207e8df7c34a8aeca8595d832fd6de5e6' })), index.h(focusUtils.FocusGuard, { key: '5733820870caa0acd80b157d88b03ae1797360b8', moveFocusTo: this.closeButton })))));
|
|
262
262
|
}
|
|
263
263
|
get element() { return index.getElement(this); }
|
|
264
264
|
static get watchers() { return {
|
|
@@ -91,13 +91,13 @@ const DuetStep = class {
|
|
|
91
91
|
* Always the last one in the class.
|
|
92
92
|
*/
|
|
93
93
|
render() {
|
|
94
|
-
return (index.h("div", { class: {
|
|
94
|
+
return (index.h("div", { key: '4824107e0acf23c2c8705c98bf936075b57f0832', class: {
|
|
95
95
|
"duet-step": true,
|
|
96
96
|
[`is-${this.state}`]: true,
|
|
97
97
|
"rounded-top": this.roundedTop,
|
|
98
98
|
"rounded-bottom": this.roundedBottom,
|
|
99
99
|
"duet-theme-turva": this.theme === "turva",
|
|
100
|
-
} }, index.h("div", { class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, index.h("div", { "aria-hidden": "true" }, index.h("div", { class: "duet-step-counter" }, this.renderStepCounter())), index.h("duet-spacer", { direction: "horizontal", size: "large", breakpoint: "small" }), index.h("duet-spacer", { direction: "horizontal", size: "medium", breakpoint: "x-small" }), index.h("div",
|
|
100
|
+
} }, index.h("div", { key: '090c1ada985e57f936ac65154af4e1cde73cf820', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, index.h("div", { key: '2fe4d50db56975760a58c1aa4a326758fbceeac8', "aria-hidden": "true" }, index.h("div", { key: '9c2265041152125c05b017c65f432b9ec0c758d6', class: "duet-step-counter" }, this.renderStepCounter())), index.h("duet-spacer", { key: '3820e59fd9b9cb0b9618eed034474a90293f3985', direction: "horizontal", size: "large", breakpoint: "small" }), index.h("duet-spacer", { key: '9c3a323b02d4543d4791ba77a2bf90d2e0ed77bd', direction: "horizontal", size: "medium", breakpoint: "x-small" }), index.h("div", { key: 'a50916963ca0efc77a309f009255f283b5584258' }, index.h("duet-heading", { key: '637ef135f7d47160eba76bf7d736e0f0a8086282', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), index.h("duet-spacer", { key: 'efe8ebfe55fbc93f526803ac66c469492967f21d', direction: "horizontal", size: "large" }), index.h("div", { key: '0974cb5ac0bb24d1cf9bd7a1bfa2eaac4a67f18f', class: "duet-step-heading-slot" }, index.h("slot", { key: 'f7ee80ecb5f96068f5dfc59f1a42cd17fca1f2c3', name: "heading-content" }))), index.h("div", { key: '31fab92932786d05ac222d35e3097b4f4d9a014d', class: "duet-step-content-wrapper" }, index.h("div", { key: '00679961075564d18dbd7faffa05618cf3dac572', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, index.h("slot", { key: '898ad6c5810daff1adeb5d85ff6db990ae3d7c43' })))));
|
|
101
101
|
}
|
|
102
102
|
get element() { return index.getElement(this); }
|
|
103
103
|
};
|
|
@@ -204,7 +204,7 @@ const DuetStepper = class {
|
|
|
204
204
|
* Always the last one in the class.
|
|
205
205
|
*/
|
|
206
206
|
render() {
|
|
207
|
-
return (index.h(index.Host, { key: '
|
|
207
|
+
return (index.h(index.Host, { key: 'a9fd058aba3edef3374cccd0a93f842c0f9aaeb2', class: { "duet-m-0": this.margin === "none" } }, index.h("div", { key: '0669c1d5037caa0fd14184e653d7bcd8bff5c84e', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, index.h("duet-visually-hidden", { key: 'c129a1a808027193572c28b4708b9bc036b117c2', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), index.h("slot", { key: 'c6d77528bc6dcd5f9e3fd0d2a3ae62253fca0114' }))));
|
|
208
208
|
}
|
|
209
209
|
get element() { return index.getElement(this); }
|
|
210
210
|
static get watchers() { return {
|
|
@@ -40,12 +40,12 @@ const DuetSubmenuBarDropdownLink = 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: 'a746efa1453d4cec928e66f4122f1a1b593e8442' }, index.h("a", { key: '6c959b9aad16526f25fa0f8c94d544e47850a69b', class: {
|
|
44
44
|
"duet-submenu-bar-dropdown-link": true,
|
|
45
45
|
"duet-theme-turva": this.theme === "turva",
|
|
46
46
|
highlight: this.highlight,
|
|
47
47
|
active: this.active,
|
|
48
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && index.h("duet-icon", { key: '
|
|
48
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && index.h("duet-icon", { key: 'c0fc8773a756787903d3e312ebabdae1f5854445', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), index.h("span", { key: 'e3970bb855fdb008fe5c71d5b70ffaa0c95c6ca1', class: "label-container" }, index.h("span", { key: '615e56e9b3b4c900b96ae2e77435dcfd29a9a321', class: "label" }, index.h("slot", { key: '66142de58ca0b982f962787e57583acf2645acd2' })), this.caret && index.h("duet-icon", { key: '690f5210ff9271e47c36a9ec86fbe0c427a7e823', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (index.h("duet-icon", { key: '019e32fdb4672495348327df056ff55e5654c91d', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
49
49
|
}
|
|
50
50
|
get element() { return index.getElement(this); }
|
|
51
51
|
};
|
|
@@ -105,18 +105,18 @@ const DuetSubmenuBarDropdown = class {
|
|
|
105
105
|
* Always the last one in the class.
|
|
106
106
|
*/
|
|
107
107
|
render() {
|
|
108
|
-
return (index.h(index.Host, { key: '
|
|
108
|
+
return (index.h(index.Host, { key: '950ec986065630156024e30fc4ff3808bd83331e', role: "listitem" }, index.h("div", { key: '8aa74d12b0b0e63f82062c705b61f3881a130ece', class: {
|
|
109
109
|
"duet-submenu-bar-dropdown": true,
|
|
110
110
|
"duet-theme-turva": this.theme === "turva",
|
|
111
111
|
open: this.open,
|
|
112
112
|
active: this.active,
|
|
113
|
-
} }, index.h("button", { key: '
|
|
113
|
+
} }, index.h("button", { key: '06132dc834775c0f78a00690e71381f2f8bc48dd', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
114
114
|
open: this.open,
|
|
115
115
|
active: this.active,
|
|
116
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: '
|
|
116
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: '5808b4d746aacc6834d5c7cfc886cb2318ca11bf', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: '4d1a960326bb00837cdffa7d7968d1a09c246656', class: "label" }, index.h("span", { key: '0b0fab9353193d5f65ba7a40474548653b0bd233', class: "label-text" }, index.h("slot", { key: '6270448ade06bfe7555500c63eba0c0dd4bc589a', name: "label" })), index.h("duet-icon", { key: '445ce13635b1ac94a6059dfa0cc74925bdb42829', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '72428c05d80b77b7443611c15548731847faf492', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
117
117
|
items: true,
|
|
118
118
|
hidden: !this.open,
|
|
119
|
-
} }, index.h("slot", { key: '
|
|
119
|
+
} }, index.h("slot", { key: 'da23085cb0178dc3a796bfef1127aff57a055703' })))));
|
|
120
120
|
}
|
|
121
121
|
get element() { return index.getElement(this); }
|
|
122
122
|
};
|
|
@@ -67,7 +67,7 @@ const DuetSubmenuBarItem = class {
|
|
|
67
67
|
render() {
|
|
68
68
|
const TagName = this.url ? "a" : "button";
|
|
69
69
|
const role = this.url ? "link" : "button";
|
|
70
|
-
return (index.h(index.Host, { key: '
|
|
70
|
+
return (index.h(index.Host, { key: 'bbd6de093fd02cb675b6a27822e8fd64ae2e6e36', role: "listitem" }, index.h(TagName, { key: '857df988d8c2d9ee3c830455d97496903f43af24', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "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, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (index.h("duet-icon", { key: '77a2683b345776fdd073d562025d01ad7b42b8cf', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: 'e5e54d900b8e9861fd7f687c302a83e9a5d26087', class: "label" }, index.h("span", { key: '7b8893ae6bd4a6209763cd1e88606495db78f84e', class: "label-text" }, index.h("slot", { key: 'bd0380cd2eee95bed2c16884fdc77827a7748da2' })), (this.trailingIcon || this.external) && (index.h("duet-icon", { key: '94315f7a4d4ab2444536fec20724bbbeaee83a65', class: {
|
|
71
71
|
"trailing-icon": !!this.trailingIcon,
|
|
72
72
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
73
73
|
"external-icon": !!this.external,
|
|
@@ -38,7 +38,7 @@ const DuetSubmenuBarLink = class {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: 'd500cddc2f019854bae1756301dc68ae23835b10', role: "listitem" }, index.h("a", { key: '3688cdd47046d93cae4ad667a348881d35449cb8', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (index.h("duet-icon", { key: 'c620d6cac216344f07879ad271f2488f9e4a3036', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("span", { key: '82438bf5ee24adf621d9e342de9886829f193176', class: "label" }, index.h("slot", { key: '5ee0ae247c68b887845ce939e812e7923b994be8' })))));
|
|
42
42
|
}
|
|
43
43
|
get element() { return index.getElement(this); }
|
|
44
44
|
};
|
|
@@ -131,19 +131,19 @@ const DuetSubmenuBar = class {
|
|
|
131
131
|
* Always the last one in the class.
|
|
132
132
|
*/
|
|
133
133
|
render() {
|
|
134
|
-
return (index.h(index.Host, { key: '
|
|
134
|
+
return (index.h(index.Host, { key: 'a63e21429e735858870de3a6c6b4f1d641ea0536' }, index.h("nav", { key: 'ec81c1ea9da9a6a1f976e4f809a44f5a0cc9129f', class: {
|
|
135
135
|
"duet-submenu-bar": true,
|
|
136
136
|
"duet-theme-turva": this.theme === "turva",
|
|
137
137
|
hidden: this.hidden,
|
|
138
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (index.h("button", { key: '
|
|
138
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (index.h("button", { key: '9c7afa7571d91d251c0a9ed320dcfaefe4ff10ec', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
139
139
|
active: this.open,
|
|
140
|
-
}, onClick: this.onClick }, index.h("span", { key: '
|
|
140
|
+
}, onClick: this.onClick }, index.h("span", { key: '670e006fcab56b5057addd32c86e78c488a6a954', class: "label" }, index.h("slot", { key: '6aeb5157b136b0d51ea614df7170db9901d7159a', name: "label" }), index.h("duet-icon", { key: 'd7801a42f75a4b6dfde7c1bd197b5c4aafb7eb03', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), index.h("div", { key: 'b527227c328438130d7ec32a80c7d9ac8ee472b2', class: {
|
|
141
141
|
"menu-container": true,
|
|
142
142
|
hidden: !this.open,
|
|
143
|
-
}, role: "presentation" }, index.h("div", { key: '
|
|
143
|
+
}, role: "presentation" }, index.h("div", { key: '60bcdce4e176cf742905e6eb6e50d4dc8046b1be', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
144
144
|
items: true,
|
|
145
145
|
hidden: !this.open,
|
|
146
|
-
}, ref: element => (this.itemsContainer = element) }, index.h("div", { key: '
|
|
146
|
+
}, ref: element => (this.itemsContainer = element) }, index.h("div", { key: '69d9ea394265451a554e19db4e5105e21027a61e', class: "list", role: this.mobile ? "presentation" : "list" }, index.h("slot", { key: '95f8cedf2b0590010f0a6560531e9306350b2c37' }), index.h("div", { key: '780946443cd19822597df52bd006d3d3a30c2e5f', class: "list-padding" }))), index.h("duet-overlay", { key: '19734aa5ac1dd7c03192d3310518173fa8a43c07', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
147
147
|
}
|
|
148
148
|
get element() { return index.getElement(this); }
|
|
149
149
|
static get watchers() { return {
|
|
@@ -10,10 +10,10 @@ 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
12
|
const languageUtils = require('./language-utils-beee36ce.js');
|
|
13
|
-
const slotUtils = require('./slot-utils-
|
|
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
|
}
|
|
@@ -9,8 +9,9 @@ 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 {
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -13,7 +13,7 @@ const a11yUtils = require('./a11y-utils-76311b95.js');
|
|
|
13
13
|
const languageUtils = require('./language-utils-beee36ce.js');
|
|
14
14
|
require('./string-utils-7b13c16e.js');
|
|
15
15
|
|
|
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 .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)}";
|
|
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)}";
|
|
17
17
|
const DuetToolbarItemStyle0 = duetToolbarItemCss;
|
|
18
18
|
|
|
19
19
|
const DuetToolbarItem = class {
|
|
@@ -67,17 +67,17 @@ const DuetToolbarItem = class {
|
|
|
67
67
|
: this.variation === "secondary"
|
|
68
68
|
? "secondary"
|
|
69
69
|
: "default";
|
|
70
|
-
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: {
|
|
71
71
|
"duet-toolbar-item": true,
|
|
72
72
|
"duet-theme-turva": this.theme === "turva",
|
|
73
73
|
active: this.active,
|
|
74
74
|
[variation]: true,
|
|
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: '
|
|
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: {
|
|
76
76
|
"trailing-icon": !!this.trailingIcon,
|
|
77
77
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
78
78
|
"external-icon": !!(this.url && this.external),
|
|
79
79
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
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: '
|
|
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" }))))));
|
|
81
81
|
}
|
|
82
82
|
get element() { return index.getElement(this); }
|
|
83
83
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|