@duetds/components 9.2.0 → 9.2.2
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 +493 -314
- package/lib/cjs/a11y-utils-76311b95.js +20 -0
- package/lib/cjs/{app-globals-8b08f415.js → app-globals-de0a03a8.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
- package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +12 -23
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip_3.cjs.entry.js +51 -9
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -11
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -11
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +101 -12
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +24 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +5 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +7 -7
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +49 -28
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -13
- package/lib/cjs/duet-slideout.cjs.entry.js +11 -11
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +23 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
- package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +25 -6
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +6 -6
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-79df4fcd.js → errorcodes.utils-79edbcbf.js} +1 -1
- package/lib/cjs/{focus-utils-87585a09.js → focus-utils-2f608f43.js} +1 -1
- package/lib/cjs/{index-290ab697.js → index-2538e92d.js} +1 -1
- package/lib/cjs/{language-utils-3372de6f.js → language-utils-6907a35e.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-8015a7e6.js → slot-utils-eb411e83.js} +1 -1
- package/lib/cjs/{token-utils-ecc7f5a1.js → token-utils-453a4e75.js} +1 -1
- package/lib/cjs/{tokens-1c133754.js → tokens-57e06fe4.js} +25 -25
- package/lib/cjs/{tokens.module-cf303205.js → tokens.module-fcba867f.js} +25 -25
- package/lib/collection/components/duet-action-button/duet-action-button.css +7 -7
- package/lib/collection/components/duet-alert/duet-alert.css +12 -12
- package/lib/collection/components/duet-badge/duet-badge.css +18 -18
- 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.css +7 -7
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +39 -39
- package/lib/collection/components/duet-callout/duet-callout.css +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.css +2 -2
- package/lib/collection/components/duet-card/duet-card.css +6 -6
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +16 -16
- package/lib/collection/components/duet-chip/duet-chip.css +83 -28
- package/lib/collection/components/duet-chip/duet-chip.js +102 -6
- package/lib/collection/components/duet-choice/duet-checkmark.css +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +50 -50
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +4 -4
- package/lib/collection/components/duet-combobox/duet-combobox.css +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +2 -8
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +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.css +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +26 -26
- package/lib/collection/components/duet-divider/duet-divider.css +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +3 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-footer/duet-footer.css +5 -5
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +1 -1
- package/lib/collection/components/duet-header/duet-header.css +42 -42
- package/lib/collection/components/duet-heading/duet-heading.css +3 -3
- package/lib/collection/components/duet-hero/duet-hero.css +13 -13
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.css +39 -37
- package/lib/collection/components/duet-input/duet-input.js +96 -7
- package/lib/collection/components/duet-label/duet-label.css +1 -1
- package/lib/collection/components/duet-link/duet-link.css +9 -9
- package/lib/collection/components/duet-link/duet-link.js +4 -15
- package/lib/collection/components/duet-list-item/duet-list-item.css +8 -8
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +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.css +3 -3
- 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.css +4 -1
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +87 -4
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +24 -24
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +9 -9
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +12 -12
- package/lib/collection/components/duet-number-input/duet-number-input.css +5 -5
- package/lib/collection/components/duet-overlay/duet-overlay.css +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.css +1 -1
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +5 -5
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +6 -1
- package/lib/collection/components/duet-progress/duet-progress.css +6 -6
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +1 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.css +10 -10
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +21 -21
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +3 -0
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +38 -16
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.css +18 -18
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +8 -8
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +1 -1
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +2 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +10 -10
- 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.css +2 -2
- 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.css +4 -4
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +9 -9
- 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.css +11 -11
- 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.css +6 -6
- 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.css +13 -9
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +86 -3
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +9 -9
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +27 -27
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-table/duet-table.css +30 -30
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.css +27 -27
- package/lib/collection/components/duet-textarea/duet-textarea.js +8 -5
- package/lib/collection/components/duet-toggle/duet-toggle.css +4 -4
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +11 -11
- 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.css +5 -5
- 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 +23 -11
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +88 -4
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +8 -8
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +10 -10
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.css +8 -8
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.css +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/a11y-utils.js +16 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
- package/lib/dist-custom-elements/duet-breadcrumbs.js +5 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +6 -6
- 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 +8 -8
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +18 -24
- package/lib/dist-custom-elements/duet-contact-card.js +11 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- 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 +9 -9
- 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 +11 -11
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -8
- package/lib/dist-custom-elements/duet-menu-bar-item.js +27 -7
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +10 -10
- package/lib/dist-custom-elements/duet-multiselect.js +11 -11
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +6 -6
- package/lib/dist-custom-elements/duet-number-input.js +13 -13
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +16 -16
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +7 -7
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +5 -5
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
- package/lib/dist-custom-elements/duet-slideout.js +10 -10
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -6
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +9 -9
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +27 -7
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
- package/lib/dist-custom-elements/duet-tab-group.js +20 -20
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +15 -16
- package/lib/dist-custom-elements/duet-toggle.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -8
- package/lib/dist-custom-elements/duet-toolbar-item.js +28 -7
- package/lib/dist-custom-elements/duet-toolbar-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar.js +4 -4
- 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 +8 -8
- 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 +22 -22
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-52535b60.js → p-02438b26.js} +12 -12
- package/lib/dist-custom-elements/{p-43f6f1e6.js → p-03f58276.js} +3 -3
- package/lib/dist-custom-elements/{p-0403f6da.js → p-04e23d1d.js} +3 -3
- package/lib/dist-custom-elements/{p-ec4d6856.js → p-06cfa40e.js} +3 -3
- package/lib/dist-custom-elements/{p-c775f5b9.js → p-073ee906.js} +3 -3
- package/lib/dist-custom-elements/{p-dc26d4a2.js → p-0e77715d.js} +25 -25
- package/lib/dist-custom-elements/{p-8b0dee3e.js → p-0f66ee86.js} +2 -2
- package/lib/dist-custom-elements/{p-e8d60da0.js → p-16251bb2.js} +2 -2
- package/lib/dist-custom-elements/{p-4e532364.js → p-18f83d4e.js} +1 -1
- package/lib/dist-custom-elements/{p-b3773c10.js → p-1b7829a1.js} +4 -4
- package/lib/dist-custom-elements/{p-3f00c32a.js → p-2e45b8be.js} +2 -2
- package/lib/dist-custom-elements/{p-bdeb5fba.js → p-3037abd6.js} +107 -18
- package/lib/dist-custom-elements/{p-d6a8840d.js → p-3882c4af.js} +7 -7
- package/lib/dist-custom-elements/{p-cdf8041c.js → p-38f16dbf.js} +8 -8
- package/lib/dist-custom-elements/{p-2e9f301d.js → p-3c10a825.js} +7 -7
- package/lib/dist-custom-elements/{p-6a5c7011.js → p-53247748.js} +43 -22
- package/lib/dist-custom-elements/{p-936d5746.js → p-730cc2f3.js} +3 -3
- package/lib/dist-custom-elements/{p-0bb6686b.js → p-8f05d29d.js} +6 -6
- package/lib/dist-custom-elements/{p-f2f2bcca.js → p-91faf1b9.js} +5 -5
- package/lib/dist-custom-elements/{p-e0913e76.js → p-953d804b.js} +8 -8
- package/lib/dist-custom-elements/{p-20420946.js → p-956bd0ac.js} +6 -6
- package/lib/dist-custom-elements/{p-0fb7a267.js → p-9c93e4d4.js} +2 -2
- package/lib/dist-custom-elements/{p-ecc803b3.js → p-9f1f81a3.js} +3 -3
- package/lib/dist-custom-elements/{p-fac41d14.js → p-9fa78368.js} +1 -1
- package/lib/dist-custom-elements/{p-ae262553.js → p-a96a809b.js} +2 -2
- package/lib/dist-custom-elements/{p-1dbac987.js → p-adc530ba.js} +9 -9
- package/lib/dist-custom-elements/p-b33fb0bd.js +368 -0
- package/lib/dist-custom-elements/{p-8e557451.js → p-b669630b.js} +1 -1
- package/lib/dist-custom-elements/{p-3bc3ac8a.js → p-bdab3956.js} +9 -4
- package/lib/dist-custom-elements/{p-e5f6aaab.js → p-c2b15a3a.js} +2 -2
- package/lib/dist-custom-elements/{p-95971567.js → p-c47b67df.js} +2 -2
- package/lib/dist-custom-elements/{p-33b260ff.js → p-c96e337d.js} +3 -3
- package/lib/dist-custom-elements/{p-785686e3.js → p-ca700701.js} +1 -1
- package/lib/dist-custom-elements/{p-e416ccec.js → p-d53fce96.js} +3 -3
- package/lib/dist-custom-elements/{p-684cca0d.js → p-d9cadd5e.js} +4 -4
- package/lib/dist-custom-elements/{p-e7918410.js → p-dab711d2.js} +6 -6
- package/lib/dist-custom-elements/{p-f055bb61.js → p-e774b5ee.js} +4 -4
- package/lib/dist-custom-elements/{p-6d83f337.js → p-ef70e2c7.js} +6 -6
- package/lib/dist-custom-elements/p-f0cc5629.js +18 -0
- package/lib/dist-custom-elements/{p-e9361277.js → p-f0dad941.js} +8 -19
- package/lib/dist-custom-elements/{p-10f0fddb.js → p-f515b36d.js} +6 -6
- package/lib/{esm/tokens-e0e3d241.js → dist-custom-elements/p-f6000a03.js} +25 -25
- package/lib/dist-custom-elements/{p-550504de.js → p-f7720c96.js} +4 -4
- package/lib/dist-custom-elements/{p-7e6cdbe3.js → p-fe4f9c1d.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-e8daf1e2.entry.js → p-0068c16a.entry.js} +1 -1
- package/lib/duet/{p-b5329846.entry.js → p-01c85764.entry.js} +1 -1
- package/lib/duet/{p-ee6bfb1e.entry.js → p-01ed3ab8.entry.js} +1 -1
- package/lib/duet/{p-a696a103.entry.js → p-02b18289.entry.js} +1 -1
- package/lib/duet/{p-af311c80.entry.js → p-03c48743.entry.js} +1 -1
- package/lib/duet/{p-ab5f9de6.entry.js → p-04907e86.entry.js} +1 -1
- package/lib/duet/{p-48836fcc.system.entry.js → p-06519d7d.system.entry.js} +1 -1
- package/lib/duet/{p-0fdbde27.entry.js → p-06aee98f.entry.js} +1 -1
- package/lib/duet/{p-fef50246.system.entry.js → p-093abc6e.system.entry.js} +1 -1
- package/lib/duet/{p-0740edce.system.js → p-0b01e52f.system.js} +1 -1
- package/lib/duet/p-0c7b382c.system.entry.js +4 -0
- package/lib/duet/{p-5a8ca9f7.system.entry.js → p-0dea58fb.system.entry.js} +1 -1
- package/lib/duet/{p-8d6d407f.system.entry.js → p-0ff2881c.system.entry.js} +2 -2
- package/lib/duet/p-1212ac86.entry.js +4 -0
- package/lib/duet/p-135b141e.entry.js +4 -0
- package/lib/duet/p-137a6891.system.entry.js +4 -0
- package/lib/duet/{p-acd9cb61.entry.js → p-14472496.entry.js} +1 -1
- package/lib/duet/p-16e164ca.js +4 -0
- package/lib/duet/{p-357fba0e.system.entry.js → p-180cc0c3.system.entry.js} +1 -1
- package/lib/duet/{p-a2023033.system.entry.js → p-18886cb5.system.entry.js} +1 -1
- package/lib/duet/p-19626704.js +4 -0
- package/lib/duet/{p-b69d6f0f.entry.js → p-21256995.entry.js} +1 -1
- package/lib/duet/{p-6db337db.entry.js → p-2333196e.entry.js} +1 -1
- package/lib/duet/{p-bff7ece1.system.entry.js → p-2a1cc5cd.system.entry.js} +1 -1
- package/lib/duet/p-2cc63a64.system.entry.js +4 -0
- package/lib/duet/{p-c999ea8d.system.entry.js → p-2d1c15ca.system.entry.js} +1 -1
- package/lib/duet/p-2df303e1.system.entry.js +4 -0
- package/lib/duet/{p-a25f447e.system.entry.js → p-2f2615c4.system.entry.js} +1 -1
- package/lib/duet/{p-deaa6b23.system.entry.js → p-2fe4b68d.system.entry.js} +1 -1
- package/lib/duet/{p-44ecb79f.entry.js → p-2fe9627e.entry.js} +1 -1
- package/lib/duet/{p-199d505a.entry.js → p-30a225a6.entry.js} +1 -1
- package/lib/duet/p-3299651e.system.entry.js +4 -0
- package/lib/duet/p-337cab93.entry.js +4 -0
- package/lib/duet/{p-b7efe3b3.system.entry.js → p-33fe1e1b.system.entry.js} +1 -1
- package/lib/duet/p-340a9379.system.entry.js +4 -0
- package/lib/duet/{p-9df917b9.entry.js → p-37f88028.entry.js} +1 -1
- package/lib/duet/{p-da60c177.system.entry.js → p-383de017.system.entry.js} +1 -1
- package/lib/duet/{p-4407ea5a.entry.js → p-385618e3.entry.js} +1 -1
- package/lib/duet/{p-7776b2e3.system.entry.js → p-3881e4aa.system.entry.js} +1 -1
- package/lib/duet/{p-6119ef0a.entry.js → p-39068e23.entry.js} +1 -1
- package/lib/duet/{p-e43ff11c.system.entry.js → p-39e7cae9.system.entry.js} +1 -1
- package/lib/duet/{p-f7845fea.entry.js → p-3a4a65fb.entry.js} +1 -1
- package/lib/duet/p-3cf77ef1.entry.js +4 -0
- package/lib/duet/{p-e95fa292.js → p-3d9a63aa.js} +1 -1
- package/lib/duet/p-41dcd22c.system.js +4 -0
- package/lib/duet/{p-a710fd68.entry.js → p-44360109.entry.js} +1 -1
- package/lib/duet/p-45b7ae86.entry.js +4 -0
- package/lib/duet/{p-912860f0.entry.js → p-45d64382.entry.js} +1 -1
- package/lib/duet/{p-281fa7a1.entry.js → p-48efe08e.entry.js} +1 -1
- package/lib/duet/{p-434bda24.system.entry.js → p-495425cd.system.entry.js} +1 -1
- package/lib/duet/p-4a73a090.system.entry.js +4 -0
- package/lib/duet/p-4b9e589b.entry.js +4 -0
- package/lib/duet/{p-5899db41.system.entry.js → p-4be7217d.system.entry.js} +1 -1
- package/lib/duet/{p-a37a7f5f.system.entry.js → p-4e40f582.system.entry.js} +1 -1
- package/lib/duet/p-4f0a578a.entry.js +4 -0
- package/lib/duet/p-50f10190.system.entry.js +4 -0
- package/lib/duet/{p-bc188b4d.entry.js → p-514b8d88.entry.js} +1 -1
- package/lib/duet/{p-3daaefaf.system.entry.js → p-51687979.system.entry.js} +1 -1
- package/lib/duet/{p-3958bcfa.system.entry.js → p-51a9bdd7.system.entry.js} +1 -1
- package/lib/duet/{p-18e6e7fe.entry.js → p-53094306.entry.js} +1 -1
- package/lib/duet/{p-9fa9db50.entry.js → p-53e5c99d.entry.js} +1 -1
- package/lib/duet/p-543b87b6.system.entry.js +4 -0
- package/lib/duet/{p-07293953.entry.js → p-5cb76db3.entry.js} +1 -1
- package/lib/duet/{p-ba7657d2.system.entry.js → p-5e132e66.system.entry.js} +2 -2
- package/lib/duet/{p-b6e8a587.js → p-5ea98736.js} +1 -1
- package/lib/duet/{p-0c12d3cd.system.js → p-6059af2f.system.js} +1 -1
- package/lib/duet/p-63abaa65.system.entry.js +4 -0
- package/lib/duet/{p-1db515c6.entry.js → p-63faedd1.entry.js} +1 -1
- package/lib/duet/p-6488c9a9.system.entry.js +4 -0
- package/lib/duet/{p-52fc5c3b.entry.js → p-693cf3ec.entry.js} +1 -1
- package/lib/duet/p-6a1545b0.entry.js +4 -0
- package/lib/duet/{p-e3bf718e.system.entry.js → p-6a360967.system.entry.js} +1 -1
- package/lib/duet/{p-2f891fbb.system.js → p-6a95a2e3.system.js} +1 -1
- package/lib/duet/{p-50f8076d.entry.js → p-70337fa5.entry.js} +1 -1
- package/lib/duet/{p-49e6e791.system.entry.js → p-7167c100.system.entry.js} +1 -1
- package/lib/duet/{p-410c17b6.system.entry.js → p-735f7521.system.entry.js} +1 -1
- package/lib/duet/{p-f4b2f2e8.entry.js → p-7a2ea041.entry.js} +1 -1
- package/lib/duet/p-7a3ae8a9.system.js +4 -0
- package/lib/duet/{p-a89f11eb.entry.js → p-7b4f66fb.entry.js} +1 -1
- package/lib/duet/{p-9fdb1552.system.js → p-7e08d07c.system.js} +1 -1
- package/lib/duet/{p-e021729d.entry.js → p-7edd0548.entry.js} +1 -1
- package/lib/duet/p-8104d84d.system.entry.js +4 -0
- package/lib/duet/{p-a4d2aea7.entry.js → p-8168beae.entry.js} +1 -1
- package/lib/duet/{p-77bd02b8.system.entry.js → p-816ae1ce.system.entry.js} +1 -1
- package/lib/duet/p-841a55c5.system.js +4 -0
- package/lib/duet/{p-0ce0c979.system.entry.js → p-8648d2f5.system.entry.js} +1 -1
- package/lib/duet/{p-73f290b1.entry.js → p-86e5ee55.entry.js} +1 -1
- package/lib/duet/p-89b0e135.entry.js +4 -0
- package/lib/duet/p-8b3b5673.js +4 -0
- package/lib/duet/{p-ec809c70.entry.js → p-8bcfbfb1.entry.js} +1 -1
- package/lib/duet/{p-231c6724.system.entry.js → p-8bf78cf6.system.entry.js} +1 -1
- package/lib/duet/{p-7bc8a7ba.entry.js → p-8e5651f6.entry.js} +1 -1
- package/lib/duet/{p-18917d49.entry.js → p-927365ae.entry.js} +1 -1
- package/lib/duet/p-92d06b44.entry.js +4 -0
- package/lib/duet/p-933e6de2.system.entry.js +4 -0
- package/lib/duet/p-94eab61e.system.js +4 -0
- package/lib/duet/{p-1abf7d11.system.entry.js → p-97cb5a51.system.entry.js} +1 -1
- package/lib/duet/{p-39630105.entry.js → p-980e091b.entry.js} +1 -1
- package/lib/duet/{p-11e4c749.system.entry.js → p-9a4af723.system.entry.js} +1 -1
- package/lib/duet/{p-477d4c2a.system.entry.js → p-9a7cacc6.system.entry.js} +1 -1
- package/lib/duet/{p-522e0468.system.entry.js → p-9e924acb.system.entry.js} +1 -1
- package/lib/duet/p-9f30e9ff.system.entry.js +4 -0
- package/lib/duet/{p-77009e02.system.entry.js → p-a044bee8.system.entry.js} +1 -1
- package/lib/duet/p-a0932d90.system.entry.js +4 -0
- package/lib/duet/{p-8483586d.js → p-a18e89e9.js} +1 -1
- package/lib/duet/{p-002c99c1.entry.js → p-a2cb5197.entry.js} +1 -1
- package/lib/duet/{p-5e46b67c.system.entry.js → p-a332b9cc.system.entry.js} +1 -1
- package/lib/duet/p-a4fb0b1b.entry.js +4 -0
- package/lib/duet/{p-66da99e1.entry.js → p-a5cc53ad.entry.js} +1 -1
- package/lib/duet/{p-083353cb.system.entry.js → p-a6c255f0.system.entry.js} +1 -1
- package/lib/duet/{p-c1e4c10f.system.entry.js → p-a736cb85.system.entry.js} +1 -1
- package/lib/duet/{p-b97c6e73.system.entry.js → p-a7d80cb0.system.entry.js} +1 -1
- package/lib/duet/p-a914a79e.system.js +4 -0
- package/lib/duet/{p-d7d9526b.entry.js → p-aa3ba248.entry.js} +1 -1
- package/lib/duet/{p-7ca5fee5.system.entry.js → p-aacbc604.system.entry.js} +1 -1
- package/lib/duet/p-ad01fd48.entry.js +4 -0
- package/lib/duet/p-ad0a4c06.entry.js +4 -0
- package/lib/duet/{p-584be931.entry.js → p-ad260c1f.entry.js} +1 -1
- package/lib/duet/{p-0e2c37c7.system.js → p-ae0d2d3f.system.js} +1 -1
- package/lib/duet/{p-6f1fc369.entry.js → p-aea6cad6.entry.js} +1 -1
- package/lib/duet/{p-554cff02.entry.js → p-b0639678.entry.js} +1 -1
- package/lib/duet/{p-80ebdba0.entry.js → p-b2abb860.entry.js} +1 -1
- package/lib/duet/{p-0bfee3a1.system.entry.js → p-b58b7aa7.system.entry.js} +1 -1
- package/lib/duet/{p-6014d518.system.entry.js → p-b88e5d27.system.entry.js} +1 -1
- package/lib/duet/{p-dd48441b.system.entry.js → p-b92f970e.system.entry.js} +1 -1
- package/lib/duet/{p-4543f9e7.entry.js → p-bc4409b4.entry.js} +1 -1
- package/lib/duet/p-bd071a21.entry.js +4 -0
- package/lib/duet/{p-cb7626f8.entry.js → p-bd1a0a0e.entry.js} +1 -1
- package/lib/duet/{p-372b1880.entry.js → p-bd8f13b7.entry.js} +1 -1
- package/lib/duet/{p-5eda45d0.system.entry.js → p-bf6bf882.system.entry.js} +1 -1
- package/lib/duet/{p-d2b0c35d.entry.js → p-c00af14a.entry.js} +1 -1
- package/lib/duet/{p-82557326.system.entry.js → p-c11fb31b.system.entry.js} +1 -1
- package/lib/duet/p-c35840fb.system.entry.js +4 -0
- package/lib/duet/{p-0660a0ef.system.entry.js → p-c442e17f.system.entry.js} +1 -1
- package/lib/duet/{p-8575f97e.entry.js → p-c485556f.entry.js} +1 -1
- package/lib/duet/{p-546ca397.entry.js → p-c55481ce.entry.js} +1 -1
- package/lib/duet/{p-2a2f7fe9.system.entry.js → p-c806e336.system.entry.js} +1 -1
- package/lib/duet/{p-f00a57c0.entry.js → p-c87ca1be.entry.js} +1 -1
- package/lib/duet/{p-d64e3229.entry.js → p-cc59d81e.entry.js} +1 -1
- package/lib/duet/{p-ab487d80.system.entry.js → p-cd140716.system.entry.js} +2 -2
- package/lib/duet/{p-54d7e599.entry.js → p-cfafdabe.entry.js} +1 -1
- package/lib/duet/p-d189564a.system.entry.js +4 -0
- package/lib/duet/{p-04efd66c.system.entry.js → p-d2215b06.system.entry.js} +2 -2
- package/lib/duet/{p-bd60816f.entry.js → p-d2ea8d68.entry.js} +1 -1
- package/lib/duet/{p-ae8d9deb.js → p-d3828a36.js} +1 -1
- package/lib/duet/{p-210715c1.system.entry.js → p-d5584c75.system.entry.js} +1 -1
- package/lib/duet/{p-18cd13be.system.entry.js → p-d6d5b7d2.system.entry.js} +1 -1
- package/lib/duet/p-d81917ad.system.entry.js +4 -0
- package/lib/duet/{p-6b2a8199.system.entry.js → p-ddfc288e.system.entry.js} +1 -1
- package/lib/duet/{p-61fe999e.system.entry.js → p-de6167cd.system.entry.js} +1 -1
- package/lib/duet/p-df07c70e.entry.js +4 -0
- package/lib/duet/{p-98d9fcfc.entry.js → p-df0d8f48.entry.js} +1 -1
- package/lib/duet/p-dfd8cd60.js +4 -0
- package/lib/duet/{p-c02efffc.system.entry.js → p-e09e8b4e.system.entry.js} +1 -1
- package/lib/duet/{p-0bfe2f53.system.entry.js → p-e13df07a.system.entry.js} +1 -1
- package/lib/duet/{p-04734a93.system.entry.js → p-e388b16f.system.entry.js} +2 -2
- package/lib/duet/p-e4c8559c.system.js +4 -0
- package/lib/duet/{p-54460ce3.system.entry.js → p-e55a165e.system.entry.js} +1 -1
- package/lib/duet/{p-40b33a43.system.entry.js → p-e5beaaac.system.entry.js} +1 -1
- package/lib/duet/{p-be7c8c61.system.entry.js → p-e6e10772.system.entry.js} +1 -1
- package/lib/duet/{p-83dc6278.entry.js → p-e77d679c.entry.js} +1 -1
- package/lib/duet/{p-4cc5c937.system.entry.js → p-e896d463.system.entry.js} +1 -1
- package/lib/duet/{p-17077f57.entry.js → p-eb4c270f.entry.js} +1 -1
- package/lib/duet/{p-ede1eb73.entry.js → p-ee2e3a15.entry.js} +1 -1
- package/lib/duet/{p-2b790430.entry.js → p-efbf770c.entry.js} +1 -1
- package/lib/duet/{p-d9f0722f.entry.js → p-f0574462.entry.js} +1 -1
- package/lib/duet/{p-40ee32f0.system.entry.js → p-f08f4352.system.entry.js} +1 -1
- package/lib/duet/p-f0cc5629.js +4 -0
- package/lib/duet/{p-4451f3eb.entry.js → p-f0da6a88.entry.js} +1 -1
- package/lib/duet/{p-9b70444f.system.entry.js → p-f17df5b6.system.entry.js} +1 -1
- package/lib/duet/{p-06051dcb.entry.js → p-f56b7b97.entry.js} +1 -1
- package/lib/duet/p-f6000a03.js +4 -0
- package/lib/duet/p-f68ba028.entry.js +4 -0
- package/lib/duet/{p-88a370ef.entry.js → p-f943c2af.entry.js} +1 -1
- package/lib/duet/{p-cb833d34.system.entry.js → p-fad2449e.system.entry.js} +1 -1
- package/lib/duet/{p-277fd80e.entry.js → p-fd3301c3.entry.js} +1 -1
- package/lib/duet/{p-58400179.entry.js → p-fd68a0b0.entry.js} +1 -1
- package/lib/duet/{p-0e1e68bc.system.entry.js → p-fdf49d7c.system.entry.js} +1 -1
- package/lib/duet/p-fe803897.system.entry.js +4 -0
- package/lib/esm/a11y-utils-92930863.js +18 -0
- package/lib/esm/{app-globals-01df0e2e.js → app-globals-6da9dd84.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +5 -5
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +4 -4
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +7 -7
- package/lib/esm/duet-button_2.entry.js +7 -7
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +12 -23
- package/lib/esm/duet-card.entry.js +4 -4
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip_3.entry.js +51 -9
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +6 -12
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +5 -5
- package/lib/esm/duet-divider_2.entry.js +5 -5
- package/lib/esm/duet-editable-table_3.entry.js +11 -11
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +3 -3
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +102 -13
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +24 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +5 -5
- package/lib/esm/duet-multiselect.entry.js +4 -4
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +7 -7
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +3 -3
- package/lib/esm/duet-scrollable_3.entry.js +49 -28
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +4 -4
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +13 -13
- package/lib/esm/duet-slideout.entry.js +11 -11
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-item.entry.js +23 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +8 -8
- package/lib/esm/duet-textarea.entry.js +7 -7
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +25 -6
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +6 -6
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-ac65ace8.js → errorcodes.utils-a305e00b.js} +1 -1
- package/lib/esm/{focus-utils-3e81bca4.js → focus-utils-8f735598.js} +1 -1
- package/lib/esm/{index-5d196317.js → index-e48e0ceb.js} +1 -1
- package/lib/esm/{language-utils-97f0a1bb.js → language-utils-72de56f9.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-4442cc08.js → slot-utils-3d27a887.js} +1 -1
- package/lib/esm/{token-utils-54a23ef5.js → token-utils-3c2fb643.js} +1 -1
- package/lib/{dist-custom-elements/p-d5c7ae62.js → esm/tokens-84fb2357.js} +25 -25
- package/lib/esm/{tokens.module-b5fab24a.js → tokens.module-216c2ae9.js} +25 -25
- package/lib/esm-es5/a11y-utils-92930863.js +4 -0
- package/lib/esm-es5/{app-globals-01df0e2e.js → app-globals-6da9dd84.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-ac65ace8.js → errorcodes.utils-a305e00b.js} +1 -1
- package/lib/esm-es5/focus-utils-8f735598.js +4 -0
- package/lib/esm-es5/{index-5d196317.js → index-e48e0ceb.js} +1 -1
- package/lib/esm-es5/{language-utils-97f0a1bb.js → language-utils-72de56f9.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-4442cc08.js → slot-utils-3d27a887.js} +1 -1
- package/lib/esm-es5/{token-utils-54a23ef5.js → token-utils-3c2fb643.js} +1 -1
- package/lib/esm-es5/tokens-84fb2357.js +4 -0
- package/lib/esm-es5/tokens.module-216c2ae9.js +4 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +24 -2
- package/lib/types/components/duet-input/duet-input.d.ts +22 -1
- package/lib/types/components/duet-link/duet-link.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +17 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +4 -0
- package/lib/types/components/duet-submenu-bar-item/duet-submenu-bar-item.d.ts +17 -0
- package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +17 -0
- package/lib/types/components.d.ts +97 -4
- package/lib/types/utils/a11y-utils.d.ts +11 -0
- package/package.json +4 -4
- package/lib/dist-custom-elements/p-43a7f93f.js +0 -327
- package/lib/duet/p-0258c8de.entry.js +0 -4
- package/lib/duet/p-17b64351.system.entry.js +0 -4
- package/lib/duet/p-21ad7b3a.system.entry.js +0 -4
- package/lib/duet/p-27aa38b5.system.entry.js +0 -4
- package/lib/duet/p-29072d2d.system.entry.js +0 -4
- package/lib/duet/p-39dab293.entry.js +0 -4
- package/lib/duet/p-44c19fe9.entry.js +0 -4
- package/lib/duet/p-44d2dbb7.entry.js +0 -4
- package/lib/duet/p-49051d57.entry.js +0 -4
- package/lib/duet/p-4a59b12a.system.entry.js +0 -4
- package/lib/duet/p-4e485c1c.system.entry.js +0 -4
- package/lib/duet/p-50c83774.js +0 -4
- package/lib/duet/p-51675591.system.entry.js +0 -4
- package/lib/duet/p-5839bb7a.system.entry.js +0 -4
- package/lib/duet/p-5c5202c1.system.entry.js +0 -4
- package/lib/duet/p-5e0a2a78.system.entry.js +0 -4
- package/lib/duet/p-681afce7.js +0 -4
- package/lib/duet/p-69bb93ee.system.entry.js +0 -4
- package/lib/duet/p-747505e8.entry.js +0 -4
- package/lib/duet/p-765f640d.js +0 -4
- package/lib/duet/p-86ddbb9f.system.entry.js +0 -4
- package/lib/duet/p-89bc2c76.system.entry.js +0 -4
- package/lib/duet/p-8d7d23ca.entry.js +0 -4
- package/lib/duet/p-8e8ac460.system.entry.js +0 -4
- package/lib/duet/p-907e01e1.entry.js +0 -4
- package/lib/duet/p-90e39ad6.entry.js +0 -4
- package/lib/duet/p-91115d1e.system.js +0 -4
- package/lib/duet/p-995b0ea5.system.entry.js +0 -4
- package/lib/duet/p-9bbdecc7.entry.js +0 -4
- package/lib/duet/p-9f08395f.entry.js +0 -4
- package/lib/duet/p-a4d589fb.system.entry.js +0 -4
- package/lib/duet/p-a623fa7e.entry.js +0 -4
- package/lib/duet/p-b01e1603.entry.js +0 -4
- package/lib/duet/p-b24bbdc0.entry.js +0 -4
- package/lib/duet/p-b5dabfe2.entry.js +0 -4
- package/lib/duet/p-b9ca5786.entry.js +0 -4
- package/lib/duet/p-bb896f73.system.js +0 -4
- package/lib/duet/p-c162e573.system.entry.js +0 -4
- package/lib/duet/p-d19b027a.system.js +0 -4
- package/lib/duet/p-d1c6861d.system.entry.js +0 -4
- package/lib/duet/p-d40e8899.system.js +0 -4
- package/lib/duet/p-d5c7ae62.js +0 -4
- package/lib/duet/p-ed4d1a8b.js +0 -4
- package/lib/duet/p-f3a6603e.system.entry.js +0 -4
- package/lib/duet/p-f5063a7d.system.js +0 -4
- package/lib/esm-es5/focus-utils-3e81bca4.js +0 -4
- package/lib/esm-es5/tokens-e0e3d241.js +0 -4
- package/lib/esm-es5/tokens.module-b5fab24a.js +0 -4
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
font-size: 0.875rem;
|
|
36
36
|
font-weight: 400;
|
|
37
37
|
line-height: 1.25;
|
|
38
|
-
color: rgb(0,
|
|
38
|
+
color: rgb(0, 75, 129);
|
|
39
39
|
text-align: center;
|
|
40
40
|
text-decoration: none;
|
|
41
41
|
white-space: nowrap;
|
|
@@ -48,6 +48,18 @@
|
|
|
48
48
|
.duet-theme-turva .duet-toolbar-item:focus, .duet-toolbar-item:focus.duet-theme-turva {
|
|
49
49
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
50
50
|
}
|
|
51
|
+
.duet-toolbar-item .trailing-icon {
|
|
52
|
+
width: 16px;
|
|
53
|
+
height: 16px;
|
|
54
|
+
}
|
|
55
|
+
.duet-toolbar-item .trailing-icon.trailing-icon-arrow {
|
|
56
|
+
width: 7px;
|
|
57
|
+
height: 7px;
|
|
58
|
+
}
|
|
59
|
+
.duet-toolbar-item .external-icon {
|
|
60
|
+
width: 10px;
|
|
61
|
+
height: 10px;
|
|
62
|
+
}
|
|
51
63
|
.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate {
|
|
52
64
|
transform: rotate(180deg);
|
|
53
65
|
}
|
|
@@ -55,13 +67,13 @@
|
|
|
55
67
|
color: rgb(255, 255, 255);
|
|
56
68
|
}
|
|
57
69
|
.duet-toolbar-item.primary[aria-expanded=true], .duet-toolbar-item.secondary[aria-expanded=true] {
|
|
58
|
-
background: rgba(
|
|
70
|
+
background: rgba(8, 42, 77, 0.2);
|
|
59
71
|
}
|
|
60
72
|
.duet-toolbar-item.primary duet-icon, .duet-toolbar-item.secondary duet-icon {
|
|
61
|
-
color: rgb(
|
|
73
|
+
color: rgb(198, 225, 238);
|
|
62
74
|
}
|
|
63
75
|
.duet-toolbar-item.primary[aria-expanded=true] {
|
|
64
|
-
background: rgba(
|
|
76
|
+
background: rgba(8, 42, 77, 0.2);
|
|
65
77
|
}
|
|
66
78
|
.duet-toolbar-item.secondary[aria-expanded=true] {
|
|
67
79
|
background: rgb(3, 56, 102);
|
|
@@ -77,31 +89,31 @@
|
|
|
77
89
|
background: rgba(23, 28, 58, 0.2);
|
|
78
90
|
}
|
|
79
91
|
.duet-toolbar-item.duet-theme-turva.primary duet-icon {
|
|
80
|
-
color: rgb(
|
|
92
|
+
color: rgb(255, 185, 190);
|
|
81
93
|
}
|
|
82
94
|
.duet-toolbar-item:hover {
|
|
83
|
-
color: rgb(
|
|
84
|
-
background: rgb(
|
|
95
|
+
color: rgb(8, 42, 77);
|
|
96
|
+
background: rgb(240, 247, 250);
|
|
85
97
|
}
|
|
86
98
|
.duet-toolbar-item:hover.primary, .duet-toolbar-item:hover.secondary {
|
|
87
99
|
color: rgb(255, 255, 255);
|
|
88
100
|
}
|
|
89
101
|
.duet-toolbar-item:hover.primary {
|
|
90
|
-
background: rgba(
|
|
102
|
+
background: rgba(8, 42, 77, 0.2);
|
|
91
103
|
}
|
|
92
104
|
.duet-toolbar-item:hover.secondary {
|
|
93
105
|
background: rgb(3, 56, 102);
|
|
94
106
|
}
|
|
95
107
|
.duet-toolbar-item:hover.duet-theme-turva {
|
|
96
108
|
color: rgb(23, 28, 58);
|
|
97
|
-
background: rgb(245,
|
|
109
|
+
background: rgb(245, 247, 250);
|
|
98
110
|
}
|
|
99
111
|
.duet-toolbar-item:hover.duet-theme-turva.primary {
|
|
100
112
|
color: rgb(255, 255, 255);
|
|
101
113
|
background: rgba(23, 28, 58, 0.2);
|
|
102
114
|
}
|
|
103
115
|
.duet-toolbar-item.active {
|
|
104
|
-
color: rgb(
|
|
116
|
+
color: rgb(8, 42, 77);
|
|
105
117
|
}
|
|
106
118
|
.duet-toolbar-item.active.primary, .duet-toolbar-item.active.secondary {
|
|
107
119
|
font-weight: 600;
|
|
@@ -111,7 +123,7 @@
|
|
|
111
123
|
display: none;
|
|
112
124
|
}
|
|
113
125
|
.duet-toolbar-item.active.primary {
|
|
114
|
-
background: rgba(
|
|
126
|
+
background: rgba(8, 42, 77, 0.2);
|
|
115
127
|
}
|
|
116
128
|
.duet-toolbar-item.active.secondary {
|
|
117
129
|
background: rgb(3, 56, 102);
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
+
import newWindowIcon from "@duetds/icons/lib/assets/action-new-window-small";
|
|
4
5
|
import { h, Host } from "@stencil/core";
|
|
6
|
+
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
5
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
8
|
+
import { getAccessibleLinkLabel } from "../../utils/a11y-utils";
|
|
9
|
+
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLocaleString, } from "../../utils/language-utils";
|
|
6
10
|
export class DuetToolbarItem {
|
|
7
11
|
constructor() {
|
|
8
12
|
this.theme = "";
|
|
@@ -14,6 +18,9 @@ export class DuetToolbarItem {
|
|
|
14
18
|
this.accessibleLabel = undefined;
|
|
15
19
|
this.accessibleExpanded = undefined;
|
|
16
20
|
this.accessiblePopup = "false";
|
|
21
|
+
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
22
|
+
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
23
|
+
this.external = false;
|
|
17
24
|
}
|
|
18
25
|
/**
|
|
19
26
|
* Component lifecycle events.
|
|
@@ -21,6 +28,15 @@ export class DuetToolbarItem {
|
|
|
21
28
|
componentWillLoad() {
|
|
22
29
|
inheritGlobalTheme(this);
|
|
23
30
|
}
|
|
31
|
+
connectedCallback() {
|
|
32
|
+
connectLanguageChangeObserver(this, {
|
|
33
|
+
prop: "accessibleLabelExternal",
|
|
34
|
+
defaults: "accessibleLabelExternalDefaults",
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
disconnectedCallback() {
|
|
38
|
+
disconnectLanguageChangeObserver(this);
|
|
39
|
+
}
|
|
24
40
|
/**
|
|
25
41
|
* Sets focus. Use this method instead of the global focus().
|
|
26
42
|
*/
|
|
@@ -40,15 +56,17 @@ export class DuetToolbarItem {
|
|
|
40
56
|
: this.variation === "secondary"
|
|
41
57
|
? "secondary"
|
|
42
58
|
: "default";
|
|
43
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '83f80d7e668d1177d5f9d0e836bdfb1e3acf7871', role: "listitem" }, h(TagName, { key: '850c973bb8f9558ab4253454f2687afac75e41dd', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
44
60
|
"duet-toolbar-item": true,
|
|
45
61
|
"duet-theme-turva": this.theme === "turva",
|
|
46
62
|
active: this.active,
|
|
47
63
|
[variation]: true,
|
|
48
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { key: '
|
|
49
|
-
"trailing-icon":
|
|
64
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '9aa6189b20be3fd6906aadc63e97842d78fe5f71', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'e7d6bd17b81c8222d598747f64f306d7d0735b4b' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '4bc521b1a39492b49c2685687279b699be209305', class: {
|
|
65
|
+
"trailing-icon": !!this.trailingIcon,
|
|
66
|
+
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
67
|
+
"external-icon": !!this.external,
|
|
50
68
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
51
|
-
}, theme: this.theme, name: this.trailingIcon
|
|
69
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" })))));
|
|
52
70
|
}
|
|
53
71
|
static get is() { return "duet-toolbar-item"; }
|
|
54
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -240,6 +258,72 @@ export class DuetToolbarItem {
|
|
|
240
258
|
"attribute": "accessible-popup",
|
|
241
259
|
"reflect": true,
|
|
242
260
|
"defaultValue": "\"false\""
|
|
261
|
+
},
|
|
262
|
+
"accessibleLabelExternalDefaults": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"mutable": false,
|
|
265
|
+
"complexType": {
|
|
266
|
+
"original": "DuetLangObject | string",
|
|
267
|
+
"resolved": "DuetLangObject | string",
|
|
268
|
+
"references": {
|
|
269
|
+
"DuetLangObject": {
|
|
270
|
+
"location": "import",
|
|
271
|
+
"path": "../../utils/language-utils",
|
|
272
|
+
"id": "src/utils/language-utils.ts::DuetLangObject"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"required": false,
|
|
277
|
+
"optional": false,
|
|
278
|
+
"docs": {
|
|
279
|
+
"tags": [{
|
|
280
|
+
"name": "default",
|
|
281
|
+
"text": "{fi: \"Avautuu uuteen ikkunaan\",sv: \"\u00D6ppnas i nytt f\u00F6nster\",en: \"Opens in a new window\"}"
|
|
282
|
+
}],
|
|
283
|
+
"text": "Defaults for accessibleLabelExternal"
|
|
284
|
+
},
|
|
285
|
+
"attribute": "accessible-label-external-default",
|
|
286
|
+
"reflect": false,
|
|
287
|
+
"defaultValue": "DuetStringsExternalDefaults"
|
|
288
|
+
},
|
|
289
|
+
"accessibleLabelExternal": {
|
|
290
|
+
"type": "string",
|
|
291
|
+
"mutable": true,
|
|
292
|
+
"complexType": {
|
|
293
|
+
"original": "string",
|
|
294
|
+
"resolved": "string",
|
|
295
|
+
"references": {}
|
|
296
|
+
},
|
|
297
|
+
"required": false,
|
|
298
|
+
"optional": false,
|
|
299
|
+
"docs": {
|
|
300
|
+
"tags": [{
|
|
301
|
+
"name": "default",
|
|
302
|
+
"text": "{fi: \"Avautuu uuteen ikkunaan\",sv: \"\u00D6ppnas i nytt f\u00F6nster\",en: \"Opens in a new window\"}"
|
|
303
|
+
}],
|
|
304
|
+
"text": "Adds accessible label for tooltip that is shown in external link (url & external have both been set)"
|
|
305
|
+
},
|
|
306
|
+
"attribute": "accessible-label-external",
|
|
307
|
+
"reflect": false,
|
|
308
|
+
"defaultValue": "getLocaleString(this.accessibleLabelExternalDefaults)"
|
|
309
|
+
},
|
|
310
|
+
"external": {
|
|
311
|
+
"type": "boolean",
|
|
312
|
+
"mutable": false,
|
|
313
|
+
"complexType": {
|
|
314
|
+
"original": "boolean",
|
|
315
|
+
"resolved": "boolean",
|
|
316
|
+
"references": {}
|
|
317
|
+
},
|
|
318
|
+
"required": false,
|
|
319
|
+
"optional": false,
|
|
320
|
+
"docs": {
|
|
321
|
+
"tags": [],
|
|
322
|
+
"text": "Forces URL to open in a new browser tab. Used together with URL prop."
|
|
323
|
+
},
|
|
324
|
+
"attribute": "external",
|
|
325
|
+
"reflect": false,
|
|
326
|
+
"defaultValue": "false"
|
|
243
327
|
}
|
|
244
328
|
};
|
|
245
329
|
}
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
font-size: 0.875rem;
|
|
36
36
|
font-weight: 400;
|
|
37
37
|
line-height: 1.25;
|
|
38
|
-
color: rgb(0,
|
|
38
|
+
color: rgb(0, 75, 129);
|
|
39
39
|
text-align: center;
|
|
40
40
|
text-decoration: none;
|
|
41
41
|
white-space: nowrap;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
color: rgb(255, 255, 255);
|
|
52
52
|
}
|
|
53
53
|
.duet-toolbar-link.negative duet-icon {
|
|
54
|
-
color: rgb(
|
|
54
|
+
color: rgb(198, 225, 238);
|
|
55
55
|
}
|
|
56
56
|
.duet-toolbar-link.duet-theme-turva {
|
|
57
57
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
@@ -61,26 +61,26 @@
|
|
|
61
61
|
color: rgb(255, 255, 255);
|
|
62
62
|
}
|
|
63
63
|
.duet-toolbar-link.duet-theme-turva.negative duet-icon {
|
|
64
|
-
color: rgb(
|
|
64
|
+
color: rgb(255, 185, 190);
|
|
65
65
|
}
|
|
66
66
|
.duet-toolbar-link:hover {
|
|
67
|
-
color: rgb(
|
|
68
|
-
background: rgb(
|
|
67
|
+
color: rgb(8, 42, 77);
|
|
68
|
+
background: rgb(240, 247, 250);
|
|
69
69
|
}
|
|
70
70
|
.duet-toolbar-link:hover.negative {
|
|
71
71
|
color: rgb(255, 255, 255);
|
|
72
|
-
background: rgba(
|
|
72
|
+
background: rgba(8, 42, 77, 0.2);
|
|
73
73
|
}
|
|
74
74
|
.duet-toolbar-link:hover.duet-theme-turva {
|
|
75
75
|
color: rgb(23, 28, 58);
|
|
76
|
-
background: rgb(245,
|
|
76
|
+
background: rgb(245, 247, 250);
|
|
77
77
|
}
|
|
78
78
|
.duet-toolbar-link:hover.duet-theme-turva.negative {
|
|
79
79
|
color: rgb(255, 255, 255);
|
|
80
80
|
background: rgba(23, 28, 58, 0.2);
|
|
81
81
|
}
|
|
82
82
|
.duet-toolbar-link.active {
|
|
83
|
-
color: rgb(
|
|
83
|
+
color: rgb(8, 42, 77);
|
|
84
84
|
}
|
|
85
85
|
.duet-toolbar-link.active.negative {
|
|
86
86
|
font-weight: 600;
|
|
@@ -24,12 +24,12 @@ export class DuetToolbarLink {
|
|
|
24
24
|
*/
|
|
25
25
|
render() {
|
|
26
26
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: 'aabe5d2605c9a03e071001a702185a1466c83613', role: "listitem" }, h("a", { key: '78a079007a827d89ad01fef55594c77b81a2ed0f', class: {
|
|
28
28
|
"duet-toolbar-link": true,
|
|
29
29
|
"duet-theme-turva": this.theme === "turva",
|
|
30
30
|
active: this.active,
|
|
31
31
|
[variation]: true,
|
|
32
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
32
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '408a6a6bc5bff16d4d4793ce23e34c7d7c295009', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '8c8479842b94400a142de9e1b571e68a1405c04d' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "duet-toolbar-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
color: rgb(198, 12, 48);
|
|
43
43
|
}
|
|
44
44
|
.duet-tooltip-button:hover {
|
|
45
|
-
color: rgb(0,
|
|
45
|
+
color: rgb(0, 75, 129);
|
|
46
46
|
}
|
|
47
47
|
.duet-tooltip-button:hover.duet-theme-turva {
|
|
48
|
-
color: rgb(
|
|
48
|
+
color: rgb(126, 2, 35);
|
|
49
49
|
}
|
|
50
50
|
.duet-tooltip-button:focus {
|
|
51
51
|
background: transparent !important;
|
|
@@ -38,11 +38,11 @@ export class DuetTooltipButton {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '360bc435fef7b15aa942d401e90445ed308649f0' }, h("button", { key: '0caa0a28506e68c0e70dd723177dccbb01654d70', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
42
42
|
"duet-tooltip-button": true,
|
|
43
43
|
"duet-tooltip-button-has-label": !!this.label,
|
|
44
44
|
"duet-theme-turva": this.theme === "turva",
|
|
45
|
-
} }, h("svg", { key: '
|
|
45
|
+
} }, h("svg", { key: '6efc80b2caaa461f37a50eed0db34d9021d2e9cd', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'ff0015bdd563f7974c9e017947da732e9f3486d8', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), h("circle", { key: '3dc766b793c4a4bf697f9f78b9f742c6f9c1e1ab', cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { key: 'd5c64375ff914fd586b9c0a54458c2498cc7b0dc', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (h("span", { class: "duet-tooltip-label" }, this.label)) : (h("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "duet-tooltip-button"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
font-size: 0.875rem;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
line-height: 1.25;
|
|
35
|
-
color: rgb(
|
|
35
|
+
color: rgb(8, 42, 77);
|
|
36
36
|
visibility: hidden;
|
|
37
37
|
background: rgb(255, 255, 255);
|
|
38
|
-
border: 1px solid rgb(
|
|
38
|
+
border: 1px solid rgb(212, 223, 229);
|
|
39
39
|
border-radius: 4px;
|
|
40
40
|
box-shadow: 0 2px 10px 0 rgba(0, 41, 77, 0.07);
|
|
41
41
|
opacity: 0;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
.duet-tooltip.duet-theme-turva {
|
|
46
46
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
47
47
|
color: rgb(23, 28, 58);
|
|
48
|
-
border-color: rgb(
|
|
48
|
+
border-color: rgb(222, 224, 228);
|
|
49
49
|
box-shadow: 0 2px 10px 0 rgba(117, 117, 117, 0.13);
|
|
50
50
|
}
|
|
51
51
|
.duet-tooltip .arrow {
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
bottom: -1px;
|
|
91
91
|
left: 1px;
|
|
92
92
|
border: 11px solid transparent;
|
|
93
|
-
border-top: 11px solid rgb(
|
|
93
|
+
border-top: 11px solid rgb(212, 223, 229);
|
|
94
94
|
}
|
|
95
95
|
.duet-theme-turva .duet-tooltip .arrow-container.top::before, .duet-theme-turva .duet-tooltip .arrow-container.top-start::before, .duet-theme-turva .duet-tooltip .arrow-container.top-end::before {
|
|
96
|
-
border-top: 11px solid rgb(
|
|
96
|
+
border-top: 11px solid rgb(222, 224, 228);
|
|
97
97
|
}
|
|
98
98
|
.duet-tooltip .arrow-container.bottom::after, .duet-tooltip .arrow-container.bottom-start::after, .duet-tooltip .arrow-container.bottom-end::after {
|
|
99
99
|
bottom: 1px;
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
bottom: 1px;
|
|
106
106
|
left: 1px;
|
|
107
107
|
border: 11px solid transparent;
|
|
108
|
-
border-bottom: 11px solid rgb(
|
|
108
|
+
border-bottom: 11px solid rgb(212, 223, 229);
|
|
109
109
|
}
|
|
110
110
|
.duet-theme-turva .duet-tooltip .arrow-container.bottom::before, .duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before, .duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before {
|
|
111
|
-
border-top: 11px solid rgb(
|
|
111
|
+
border-top: 11px solid rgb(222, 224, 228);
|
|
112
112
|
}
|
|
113
113
|
.duet-tooltip.duet-tooltip-has-label {
|
|
114
114
|
right: auto !important;
|
|
@@ -148,11 +148,11 @@
|
|
|
148
148
|
border-radius: 4px;
|
|
149
149
|
}
|
|
150
150
|
.duet-tooltip-content-area::-webkit-scrollbar-thumb {
|
|
151
|
-
background: rgb(
|
|
151
|
+
background: rgb(212, 223, 229);
|
|
152
152
|
border-radius: 4px;
|
|
153
153
|
}
|
|
154
154
|
.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb {
|
|
155
|
-
background: rgb(
|
|
155
|
+
background: rgb(222, 224, 228);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.duet-tooltip-close {
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
padding: 0 !important;
|
|
169
169
|
margin: 0 !important;
|
|
170
170
|
line-height: normal;
|
|
171
|
-
color: rgb(
|
|
171
|
+
color: rgb(8, 42, 77);
|
|
172
172
|
cursor: pointer;
|
|
173
173
|
background: rgb(245, 248, 250);
|
|
174
174
|
border-radius: 50%;
|
|
@@ -53,11 +53,11 @@ export class DuetTooltipPopup {
|
|
|
53
53
|
this.contentEl.focus();
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '9343f1579c908ded68ce8100b7fd2b3564627607' }, h("div", { key: '5fe8a03ff3fdb177498bc623aeb8f852b81b22b2', class: {
|
|
57
57
|
"duet-tooltip": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
59
|
"duet-tooltip-active": this.active === true,
|
|
60
|
-
} }, h(FocusGuard, { key: '
|
|
60
|
+
} }, h(FocusGuard, { key: '99bd903d13fedaef62d858ec84716a86b68fec81', moveFocusTo: this.buttonEl }), h("div", { key: '03e42cf23c0116034b2632c49073d59674c36401', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, h("slot", { key: '4c1aa1b66580eba27c55b6dd6f2f2a2207992937' })), h("div", { key: '00572971db0f698532d313358b0061f1663886d7', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: '369a932964660a82b4e30a479059dddd14bc944b', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: '0aa05fa0c54d83a82b8b0ec77d72e80976dddaae', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: '7d951071b8525d3d29e5949b1643067ed83f4f7c', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: 'c4c392ec261bd9f0f63a8f94acba93e697afe580' }, this.accessibleCloseLabel)), h(FocusGuard, { key: 'e3a763bc0c245f43d9bf128064be5d3140f20f3b', moveFocusTo: this.contentEl }))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "duet-tooltip-popup"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
font-size: 1rem;
|
|
39
39
|
font-weight: 400;
|
|
40
40
|
line-height: 1.5;
|
|
41
|
-
color: rgb(
|
|
41
|
+
color: rgb(8, 42, 77);
|
|
42
42
|
visibility: hidden;
|
|
43
|
-
background: rgb(
|
|
44
|
-
border-bottom: 1px solid rgb(
|
|
43
|
+
background: rgb(240, 247, 250);
|
|
44
|
+
border-bottom: 1px solid rgb(212, 223, 229);
|
|
45
45
|
box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07);
|
|
46
46
|
opacity: 0;
|
|
47
47
|
transition: opacity 600ms ease, visibility 600ms ease, transform 600ms ease;
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
.duet-tray.duet-theme-turva {
|
|
70
70
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
71
71
|
color: rgb(23, 28, 58);
|
|
72
|
-
background: rgb(245,
|
|
73
|
-
border-color: rgb(
|
|
72
|
+
background: rgb(245, 247, 250);
|
|
73
|
+
border-color: rgb(222, 224, 228);
|
|
74
74
|
}
|
|
75
75
|
.duet-tray.duet-tray-is-active {
|
|
76
76
|
visibility: visible;
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
.duet-tray-expandable-content {
|
|
125
125
|
width: 100%;
|
|
126
126
|
margin-top: 16px;
|
|
127
|
-
border-top: 1px solid rgb(
|
|
127
|
+
border-top: 1px solid rgb(212, 223, 229);
|
|
128
128
|
}
|
|
129
129
|
.duet-theme-turva .duet-tray-expandable-content {
|
|
130
|
-
border-color: rgb(
|
|
130
|
+
border-color: rgb(222, 224, 228);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.duet-tray-button {
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
top: -2px;
|
|
139
139
|
right: 0;
|
|
140
140
|
z-index: 200;
|
|
141
|
-
color: rgb(
|
|
141
|
+
color: rgb(8, 42, 77);
|
|
142
142
|
text-align: center;
|
|
143
143
|
cursor: pointer;
|
|
144
144
|
border-radius: 4px;
|
|
@@ -87,14 +87,14 @@ export class DuetTray {
|
|
|
87
87
|
* Always the last one in the class.
|
|
88
88
|
*/
|
|
89
89
|
render() {
|
|
90
|
-
return (h("div", { key: '
|
|
90
|
+
return (h("div", { key: 'eab25fd81da57e62376472de7a34ad172a3d87c1', class: {
|
|
91
91
|
"duet-tray": true,
|
|
92
92
|
"duet-tray-is-active": this.active,
|
|
93
93
|
"duet-tray-is-hidden": this.hiddenState,
|
|
94
94
|
"duet-tray-is-responsive": this.responsive,
|
|
95
95
|
"duet-theme-turva": this.theme === "turva",
|
|
96
96
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
97
|
-
} }, h("div", { key: '
|
|
97
|
+
} }, h("div", { key: '00287ee0f266c18d7dc48f60959255f87df76aee', class: "duet-tray-default-content", role: "status" }, h("slot", { key: '35204c591845b32d4cad662e924241b5902a0d85' })), this.hasAdditionalContent && (h(Fragment, { key: '5497fec464c742440e94f7984cc990c11f23e800' }, h("button", { key: 'c3e8b4a826f65a3d4dd7a63ff4e6d14a954c9737', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, h("duet-icon", { key: '2a888d94001aa2480386b4102d292a8ecd0b946c', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), h("duet-visually-hidden", { key: '629834fc0172c6a9c297cf35395a3ab91f25ee91' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), h("div", { key: 'c50912636246e98dd25201bfc97658c9c64942f3', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, h("div", { key: 'e14080be01b6df9842d241511d58690bba33ecb0', class: "duet-tray-expandable-content" }, h("slot", { key: 'e8143dd8dd7f6e187efd4c186747edd7808cfa11', name: "additional" })))))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "duet-tray"; }
|
|
100
100
|
static get encapsulation() { return "shadow"; }
|
|
@@ -148,7 +148,7 @@ duet-editable-table tfoot {
|
|
|
148
148
|
align-content: center;
|
|
149
149
|
align-items: center;
|
|
150
150
|
padding: 16px 0 16px 0;
|
|
151
|
-
border-bottom: 1px solid rgb(
|
|
151
|
+
border-bottom: 1px solid rgb(212, 223, 229);
|
|
152
152
|
}
|
|
153
153
|
@media (min-width: 36em) {
|
|
154
154
|
.upload-item-row {
|
|
@@ -753,10 +753,10 @@ export class DuetUpload {
|
|
|
753
753
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
754
754
|
}
|
|
755
755
|
// @ts-ignore
|
|
756
|
-
return (h(Host, { key: '
|
|
756
|
+
return (h(Host, { key: '44b4a9f8f0e99182d1db74ed7e2fb3237d90ed71', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '2231a57d1b606059e90c7406f24258d4b844cbe0', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: 'bb0e091ee3d4c96715018d1fc836d6cd5f938c75', name: "header" }), !this.files.size && (h("duet-empty-state", { key: 'd988bc2f8b6a4efc418a65b3ee575095b97ae06a', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: 'b274a3b81132a5119c47bd365bbdd77f08280c17', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: '5a2377d31360af5cbdae90130677853613899ec5', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: '6fe002a8a312e6e067321c07e0b50ed786fd8dc3', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { key: '730c164e68660c49ce18f8fec5d8f184a640bcd9', name: "filefooter" }), h("slot", { key: '303c2be9f728196dc157cd29a39a926ca9951a88', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: 'd0e088aa37d8b789b3dc4efa9e070c74746877d0', margin: "none", size: "small" }, h("div", { key: 'e3ab58aaacb792a297bcc56154073c9289dd1c32', class: "upload-bottom-caption" }, caption))), h("slot", { key: '5a6d988ce4deff649f20207813758e023eb3d817', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '86a890e223fb900e2420ea45564f8c4c484ddc8a' }, h("duet-spacer", { key: 'fdf03610301bb1368fb28db909a35e10320df054', size: "large" }), h("duet-button", { key: 'be03dc2d96b961dc22d63bf0bf4e1128e4c813d4', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
757
757
|
this.bytesMaxReached ||
|
|
758
758
|
this.filesToUploadExceedsLimit ||
|
|
759
|
-
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '
|
|
759
|
+
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '86937ba57803f4ca6379dcab097cf0d08d0962d7' }, h("duet-spacer", { key: '64e72354abfe4dad9e6c1d430e89900b38c50dec', size: "medium" }), h("duet-alert", { key: '02be9578a9bf4afdcda8ff3a9d280525a39e430c', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { key: '619dec515fc6147867da776c79f883d54a2ba9d3', "aria-hidden": "true" }, h("input", { key: '8e13ce6903fa6218b0e56035416dcddd154317a2', ref: input => {
|
|
760
760
|
this.nativeInput = input;
|
|
761
761
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
762
762
|
"duet-upload": true,
|
|
@@ -64,7 +64,7 @@ export class DuetUploadAriaStatus {
|
|
|
64
64
|
* Always the last one in the class.
|
|
65
65
|
*/
|
|
66
66
|
render() {
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '2fd79b79b74b8fd911a981f350412fddba3a9679', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: 'bb7599e22a9e9f4bd188829e2b5b4a69455c3fd3' }, this.statusMessage)));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-upload-aria-status"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,9 +80,9 @@ export class DuetUploadItem {
|
|
|
80
80
|
const { uid, meta, item } = this.data;
|
|
81
81
|
const Badges = meta && meta.badges ? (h("span", null, meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
82
82
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
83
|
-
return (h("div", { key: '
|
|
83
|
+
return (h("div", { key: '3bd049f474c0e5ae36c863e12c83f420338f2120', class: {
|
|
84
84
|
"upload-item-row": true,
|
|
85
|
-
} }, this.showCategory && (h("div", { key: '
|
|
85
|
+
} }, this.showCategory && (h("div", { key: 'cabbda342b80dc26a8742b8c68f6f3ae836a78e5', class: "item-categories" }, h("duet-heading", { key: '9d9f798db399bf1c277b1a1b2699c15a8f8aff7d', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: 'e01fab2744f4cafdadb2defd3fd3da9262cdad68', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: 'e9f12029fc48fa148169a7e962fa42c4a4acd05c', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '61536d97451f6b2be7a7cf2c616860d9f31fb174', class: "item-actions" }, this.actions.map(actionItem => {
|
|
86
86
|
return (h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
87
87
|
}))));
|
|
88
88
|
}
|
|
@@ -8,7 +8,7 @@ export class DuetVisuallyHidden {
|
|
|
8
8
|
* Always the last one in the class.
|
|
9
9
|
*/
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '13d60912c55f88d08d11e927bb6adcc95533e5af', class: "duet-visually-hidden" }, h("slot", { key: 'fdcee4888ca24e39e6aff1ce477fe8c97fd275ea' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "duet-visually-hidden"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
export function getAccessibleLinkLabel(component) {
|
|
5
|
+
const textContext = component.element.textContent;
|
|
6
|
+
if (component.accessibleLabel) {
|
|
7
|
+
return component.accessibleLabel;
|
|
8
|
+
}
|
|
9
|
+
if ((!!component.download || component.download === "") && textContext) {
|
|
10
|
+
return `${textContext}. ${component.accessibleLabelDownload}.`;
|
|
11
|
+
}
|
|
12
|
+
if (component.external && textContext) {
|
|
13
|
+
return `${textContext}. ${component.accessibleLabelExternal}.`;
|
|
14
|
+
}
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-f515b36d.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-953d804b.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-e774b5ee.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-18f83d4e.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
6
|
import { h } from './p-8764aea1.js';
|
|
7
7
|
import { h as hasSlot, c as checkNamedSlotElement } from './p-fc9b988f.js';
|
|
8
8
|
import { p as parsePossibleJSON } from './p-9c3c64b9.js';
|
|
9
|
-
import { g as getColorByName } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
+
import { g as getColorByName } from './p-9fa78368.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-c96e337d.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-91faf1b9.js';
|
|
12
12
|
|
|
13
13
|
const DuetPicture = ({ img, sources }) => {
|
|
14
14
|
return (h("picture", null,
|