@duetds/components 9.2.0 → 9.2.1
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 +488 -293
- package/lib/cjs/a11y-utils-76311b95.js +20 -0
- package/lib/cjs/{app-globals-8b08f415.js → app-globals-940f10af.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 +45 -8
- 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-a9512b40.js} +1 -1
- package/lib/cjs/{focus-utils-87585a09.js → focus-utils-c9b32897.js} +1 -1
- package/lib/cjs/{index-290ab697.js → index-ce05ed4b.js} +2 -2
- package/lib/cjs/{language-utils-3372de6f.js → language-utils-04d69d6b.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-8015a7e6.js → slot-utils-83d6d31e.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-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.css +12 -12
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- 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-banner/duet-banner.js +1 -1
- 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-button/duet-button.js +5 -5
- 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-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.css +6 -6
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +16 -16
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.css +83 -28
- package/lib/collection/components/duet-chip/duet-chip.js +108 -12
- 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-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +4 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.css +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +5 -11
- 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-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +26 -26
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.css +2 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- 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-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.css +5 -5
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- 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-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.css +3 -3
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +13 -13
- 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.css +39 -37
- package/lib/collection/components/duet-input/duet-input.js +104 -15
- package/lib/collection/components/duet-label/duet-label.css +1 -1
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +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/duet-list.js +3 -3
- 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-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +3 -3
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- 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-modal/duet-modal.js +4 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +24 -24
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- 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-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.css +5 -5
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.css +1 -1
- package/lib/collection/components/duet-overlay/duet-overlay.js +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-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +3 -3
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +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 +2 -2
- 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-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +21 -21
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +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-select/duet-select.js +5 -5
- 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 +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +8 -8
- package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
- 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 +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
- package/lib/collection/components/duet-step/duet-step.css +4 -4
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
- 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 +10 -10
- 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 +7 -7
- package/lib/collection/components/duet-toggle/duet-toggle.css +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- 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-tooltip/duet-tooltip.js +1 -1
- 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 +16 -16
- 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 +5 -5
- 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 +6 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +9 -9
- package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -6
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +6 -6
- 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 +9 -9
- package/lib/dist-custom-elements/duet-choice.js +8 -8
- package/lib/dist-custom-elements/duet-collapsible.js +6 -6
- package/lib/dist-custom-elements/duet-combobox.js +21 -27
- package/lib/dist-custom-elements/duet-contact-card.js +12 -12
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- package/lib/dist-custom-elements/duet-date-picker.js +18 -18
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +10 -10
- 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 +11 -11
- 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 +13 -13
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +12 -12
- 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 +2 -2
- 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 +5 -5
- package/lib/dist-custom-elements/duet-modal.js +13 -13
- package/lib/dist-custom-elements/duet-multiselect.js +13 -13
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
- package/lib/dist-custom-elements/duet-notification.js +7 -7
- package/lib/dist-custom-elements/duet-number-input.js +15 -15
- 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 +17 -17
- 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 +8 -8
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- 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 +7 -7
- 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 +5 -5
- 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 +13 -13
- package/lib/dist-custom-elements/duet-slideout.js +13 -13
- 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 +21 -21
- package/lib/dist-custom-elements/duet-tab.js +4 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +16 -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 +9 -9
- 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 +24 -24
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +2 -2
- package/lib/dist-custom-elements/p-01dec611.js +368 -0
- package/lib/dist-custom-elements/{p-10f0fddb.js → p-0cf30970.js} +7 -7
- package/lib/dist-custom-elements/{p-dc26d4a2.js → p-0e77715d.js} +25 -25
- package/lib/dist-custom-elements/{p-4e532364.js → p-1149a5f1.js} +2 -2
- package/lib/dist-custom-elements/{p-e7918410.js → p-14903ee8.js} +7 -7
- package/lib/dist-custom-elements/{p-6a5c7011.js → p-1749d98a.js} +44 -23
- package/lib/dist-custom-elements/{p-c775f5b9.js → p-1cea02c6.js} +3 -3
- package/lib/dist-custom-elements/{p-e416ccec.js → p-1cf7db2a.js} +3 -3
- package/lib/dist-custom-elements/{p-7e6cdbe3.js → p-28807fbd.js} +2 -2
- package/lib/dist-custom-elements/{p-550504de.js → p-29c84284.js} +4 -4
- package/lib/dist-custom-elements/{p-cdf8041c.js → p-2cc77e29.js} +9 -9
- package/lib/dist-custom-elements/{p-8e557451.js → p-329cec9e.js} +1 -1
- package/lib/dist-custom-elements/{p-f2f2bcca.js → p-3883514c.js} +6 -6
- package/lib/dist-custom-elements/{p-e0913e76.js → p-3d136f5c.js} +10 -10
- package/lib/dist-custom-elements/{p-e9361277.js → p-55342fcd.js} +9 -20
- package/lib/dist-custom-elements/{p-d6a8840d.js → p-55989a50.js} +8 -8
- package/lib/dist-custom-elements/{p-3bc3ac8a.js → p-570cecb0.js} +3 -3
- package/lib/dist-custom-elements/{p-20420946.js → p-5e4809d5.js} +7 -7
- package/lib/dist-custom-elements/{p-317b4bb8.js → p-69f6a6aa.js} +1 -1
- package/lib/dist-custom-elements/{p-95971567.js → p-6fdef72e.js} +2 -2
- package/lib/dist-custom-elements/{p-0fb7a267.js → p-72bc5f40.js} +2 -2
- package/lib/dist-custom-elements/{p-8b0dee3e.js → p-782759f5.js} +2 -2
- package/lib/dist-custom-elements/{p-3f00c32a.js → p-791ee647.js} +2 -2
- package/lib/dist-custom-elements/{p-e5f6aaab.js → p-87248c43.js} +3 -3
- package/lib/dist-custom-elements/{p-2e9f301d.js → p-95fb5b4b.js} +8 -8
- package/lib/dist-custom-elements/{p-ecc803b3.js → p-9f461090.js} +3 -3
- package/lib/dist-custom-elements/{p-fac41d14.js → p-9fa78368.js} +1 -1
- package/lib/dist-custom-elements/{p-43f6f1e6.js → p-a407fdb5.js} +4 -4
- package/lib/dist-custom-elements/{p-0bb6686b.js → p-a89ea763.js} +7 -7
- package/lib/dist-custom-elements/{p-c3854d56.js → p-a9169fe0.js} +1 -1
- package/lib/dist-custom-elements/{p-52535b60.js → p-aa53a402.js} +13 -13
- package/lib/dist-custom-elements/{p-1dbac987.js → p-aad2ab95.js} +10 -10
- package/lib/dist-custom-elements/{p-b3773c10.js → p-ab30a756.js} +4 -4
- package/lib/dist-custom-elements/{p-ec4d6856.js → p-ae917476.js} +4 -4
- package/lib/dist-custom-elements/{p-684cca0d.js → p-b87d1e74.js} +4 -4
- package/lib/dist-custom-elements/{p-6d83f337.js → p-be13a7a6.js} +6 -6
- package/lib/dist-custom-elements/{p-936d5746.js → p-c43f0450.js} +3 -3
- package/lib/dist-custom-elements/{p-fc9b988f.js → p-c5df07b9.js} +1 -1
- package/lib/dist-custom-elements/{p-f055bb61.js → p-c8e032e9.js} +4 -4
- package/lib/dist-custom-elements/{p-785686e3.js → p-ca700701.js} +1 -1
- package/lib/dist-custom-elements/{p-bdeb5fba.js → p-d00e8f90.js} +108 -19
- package/lib/dist-custom-elements/{p-e8d60da0.js → p-d551ba52.js} +2 -2
- package/lib/dist-custom-elements/{p-ae262553.js → p-e685687b.js} +2 -2
- package/lib/dist-custom-elements/{p-33b260ff.js → p-e8594dcd.js} +3 -3
- package/lib/dist-custom-elements/p-f0cc5629.js +18 -0
- package/lib/dist-custom-elements/{p-0403f6da.js → p-f1a4011f.js} +3 -3
- package/lib/{esm/tokens-e0e3d241.js → dist-custom-elements/p-f6000a03.js} +25 -25
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-40ee32f0.system.entry.js → p-033a796b.system.entry.js} +1 -1
- package/lib/duet/{p-8483586d.js → p-03ebb87c.js} +1 -1
- package/lib/duet/{p-554cff02.entry.js → p-09f97fb6.entry.js} +1 -1
- package/lib/duet/p-0e91ae89.js +4 -0
- package/lib/duet/{p-584be931.entry.js → p-0f61ec4f.entry.js} +1 -1
- package/lib/duet/{p-231c6724.system.entry.js → p-102d7289.system.entry.js} +1 -1
- package/lib/duet/p-1117cfde.system.entry.js +4 -0
- package/lib/duet/{p-88a370ef.entry.js → p-1261a1b5.entry.js} +1 -1
- package/lib/duet/{p-522e0468.system.entry.js → p-13f6afbe.system.entry.js} +1 -1
- package/lib/duet/{p-82557326.system.entry.js → p-14a83e9e.system.entry.js} +1 -1
- package/lib/duet/{p-9fa9db50.entry.js → p-151b3794.entry.js} +1 -1
- package/lib/duet/{p-b97c6e73.system.entry.js → p-16a3016e.system.entry.js} +1 -1
- package/lib/duet/{p-c02efffc.system.entry.js → p-16e3f6f0.system.entry.js} +1 -1
- package/lib/duet/{p-d7d9526b.entry.js → p-16ee7d09.entry.js} +1 -1
- package/lib/duet/p-176154a9.system.entry.js +4 -0
- package/lib/duet/{p-546ca397.entry.js → p-186dc204.entry.js} +1 -1
- package/lib/duet/{p-b7efe3b3.system.entry.js → p-19097787.system.entry.js} +1 -1
- package/lib/duet/{p-9b70444f.system.entry.js → p-1f32a819.system.entry.js} +1 -1
- package/lib/duet/{p-434bda24.system.entry.js → p-1fb804dc.system.entry.js} +1 -1
- package/lib/duet/{p-002c99c1.entry.js → p-2091f634.entry.js} +1 -1
- package/lib/duet/{p-3958bcfa.system.entry.js → p-22b59f78.system.entry.js} +1 -1
- package/lib/duet/{p-ec809c70.entry.js → p-231b853e.entry.js} +1 -1
- package/lib/duet/p-25deb7be.system.entry.js +4 -0
- package/lib/duet/p-28d2739c.entry.js +4 -0
- package/lib/duet/{p-e43ff11c.system.entry.js → p-2b0552dc.system.entry.js} +1 -1
- package/lib/duet/{p-3daaefaf.system.entry.js → p-2c42ece3.system.entry.js} +1 -1
- package/lib/duet/{p-52fc5c3b.entry.js → p-306faf90.entry.js} +1 -1
- package/lib/duet/p-30947766.entry.js +4 -0
- package/lib/duet/{p-6f1fc369.entry.js → p-312f509d.entry.js} +1 -1
- package/lib/duet/{p-d64e3229.entry.js → p-3363aa75.entry.js} +1 -1
- package/lib/duet/{p-fef50246.system.entry.js → p-36b2ad26.system.entry.js} +1 -1
- package/lib/duet/{p-ede1eb73.entry.js → p-375948ff.entry.js} +1 -1
- package/lib/duet/p-37b8bb50.system.entry.js +4 -0
- package/lib/duet/p-386c614c.system.entry.js +4 -0
- package/lib/duet/{p-9fdb1552.system.js → p-39fb8819.system.js} +2 -2
- package/lib/duet/{p-4cc5c937.system.entry.js → p-3beb1c58.system.entry.js} +1 -1
- package/lib/duet/{p-77bd02b8.system.entry.js → p-3c0373cb.system.entry.js} +1 -1
- package/lib/duet/{p-e95fa292.js → p-3d9a63aa.js} +1 -1
- package/lib/duet/{p-54d7e599.entry.js → p-3e13fb5c.entry.js} +1 -1
- package/lib/duet/{p-39630105.entry.js → p-3e15a291.entry.js} +1 -1
- package/lib/duet/{p-98d9fcfc.entry.js → p-4068cfee.entry.js} +1 -1
- package/lib/duet/{p-9df917b9.entry.js → p-408a9ccb.entry.js} +1 -1
- package/lib/duet/p-4217dab3.system.entry.js +4 -0
- package/lib/duet/{p-8575f97e.entry.js → p-446f79d6.entry.js} +1 -1
- package/lib/duet/p-46030b7e.entry.js +4 -0
- package/lib/duet/{p-deaa6b23.system.entry.js → p-48c61eee.system.entry.js} +1 -1
- package/lib/duet/p-48c90346.system.js +4 -0
- package/lib/duet/p-495d8962.system.entry.js +4 -0
- package/lib/duet/p-497263c5.entry.js +4 -0
- package/lib/duet/{p-07293953.entry.js → p-4a657e92.entry.js} +1 -1
- package/lib/duet/p-4d20e324.system.entry.js +4 -0
- package/lib/duet/{p-66da99e1.entry.js → p-50bf90d6.entry.js} +1 -1
- package/lib/duet/{p-d19b027a.system.js → p-514b6b5b.system.js} +1 -1
- package/lib/duet/{p-5e46b67c.system.entry.js → p-528db5b3.system.entry.js} +1 -1
- package/lib/duet/{p-b69d6f0f.entry.js → p-529aff73.entry.js} +1 -1
- package/lib/duet/p-54fbe5c8.entry.js +4 -0
- package/lib/duet/p-599c6ee4.system.entry.js +4 -0
- package/lib/duet/p-5f6a8312.system.entry.js +4 -0
- package/lib/duet/{p-4543f9e7.entry.js → p-5fe9bbe0.entry.js} +1 -1
- package/lib/duet/{p-06051dcb.entry.js → p-60754704.entry.js} +1 -1
- package/lib/duet/p-61fe7d32.entry.js +4 -0
- package/lib/duet/{p-bff7ece1.system.entry.js → p-64030845.system.entry.js} +2 -2
- package/lib/duet/{p-5eda45d0.system.entry.js → p-646fcab7.system.entry.js} +1 -1
- package/lib/duet/{p-2f891fbb.system.js → p-6a95a2e3.system.js} +1 -1
- package/lib/duet/p-6adc0389.system.entry.js +4 -0
- package/lib/duet/{p-a89f11eb.entry.js → p-6f106108.entry.js} +1 -1
- package/lib/duet/{p-083353cb.system.entry.js → p-6f53cfb2.system.entry.js} +1 -1
- package/lib/duet/{p-18cd13be.system.entry.js → p-739bfa4e.system.entry.js} +1 -1
- package/lib/duet/{p-77009e02.system.entry.js → p-753333e9.system.entry.js} +1 -1
- package/lib/duet/{p-b6e8a587.js → p-75e078ac.js} +1 -1
- package/lib/duet/{p-210715c1.system.entry.js → p-7712eb09.system.entry.js} +1 -1
- package/lib/duet/{p-912860f0.entry.js → p-783cc158.entry.js} +1 -1
- package/lib/duet/{p-199d505a.entry.js → p-7863c54a.entry.js} +1 -1
- package/lib/duet/p-7a3ae8a9.system.js +4 -0
- package/lib/duet/{p-54460ce3.system.entry.js → p-7a41aff3.system.entry.js} +1 -1
- package/lib/duet/{p-f00a57c0.entry.js → p-7b6bacd8.entry.js} +1 -1
- package/lib/duet/{p-277fd80e.entry.js → p-7db5f5b6.entry.js} +1 -1
- package/lib/duet/p-7f94c928.entry.js +4 -0
- package/lib/duet/{p-0c12d3cd.system.js → p-8002cdbf.system.js} +1 -1
- package/lib/duet/{p-0bfee3a1.system.entry.js → p-8002d713.system.entry.js} +1 -1
- package/lib/duet/{p-6014d518.system.entry.js → p-8087cdcd.system.entry.js} +1 -1
- package/lib/duet/{p-372b1880.entry.js → p-81168888.entry.js} +1 -1
- package/lib/duet/{p-0740edce.system.js → p-832862b7.system.js} +1 -1
- package/lib/duet/{p-c999ea8d.system.entry.js → p-832e5af8.system.entry.js} +1 -1
- package/lib/duet/{p-bc188b4d.entry.js → p-8486a863.entry.js} +1 -1
- package/lib/duet/{p-58400179.entry.js → p-84b5b372.entry.js} +1 -1
- package/lib/duet/p-8b3b5673.js +4 -0
- package/lib/duet/{p-18917d49.entry.js → p-8bee5b14.entry.js} +1 -1
- package/lib/duet/{p-7bc8a7ba.entry.js → p-8c95d7e7.entry.js} +1 -1
- package/lib/duet/{p-48836fcc.system.entry.js → p-8d947a43.system.entry.js} +1 -1
- package/lib/duet/{p-477d4c2a.system.entry.js → p-91b2664a.system.entry.js} +1 -1
- package/lib/duet/p-94eab61e.system.js +4 -0
- package/lib/duet/{p-40b33a43.system.entry.js → p-961a7a42.system.entry.js} +1 -1
- package/lib/duet/{p-04734a93.system.entry.js → p-962a7ed7.system.entry.js} +2 -2
- package/lib/duet/p-9832a62e.system.entry.js +4 -0
- package/lib/duet/{p-0ce0c979.system.entry.js → p-9abe2d23.system.entry.js} +1 -1
- package/lib/duet/{p-0e1e68bc.system.entry.js → p-9c50306c.system.entry.js} +1 -1
- package/lib/duet/{p-7776b2e3.system.entry.js → p-9c5717a5.system.entry.js} +1 -1
- package/lib/duet/p-9d0d4329.system.entry.js +4 -0
- package/lib/duet/p-9d7aea44.entry.js +4 -0
- package/lib/duet/{p-357fba0e.system.entry.js → p-a033bafa.system.entry.js} +1 -1
- package/lib/duet/p-a0c1c7d8.system.entry.js +4 -0
- package/lib/duet/p-a0ffaabf.entry.js +4 -0
- package/lib/duet/{p-ee6bfb1e.entry.js → p-a1e13f21.entry.js} +1 -1
- package/lib/duet/{p-410c17b6.system.entry.js → p-a838f364.system.entry.js} +1 -1
- package/lib/duet/{p-2b790430.entry.js → p-a90efe08.entry.js} +1 -1
- package/lib/duet/{p-7ca5fee5.system.entry.js → p-aba65c68.system.entry.js} +1 -1
- package/lib/duet/{p-0fdbde27.entry.js → p-ac538db7.entry.js} +1 -1
- package/lib/duet/p-adcd2fb3.entry.js +4 -0
- package/lib/duet/{p-ba7657d2.system.entry.js → p-b224ee72.system.entry.js} +1 -1
- package/lib/duet/{p-cb833d34.system.entry.js → p-b274ebde.system.entry.js} +1 -1
- package/lib/duet/{p-cb7626f8.entry.js → p-b2f64f34.entry.js} +1 -1
- package/lib/duet/{p-a2023033.system.entry.js → p-b3ab4a17.system.entry.js} +1 -1
- package/lib/duet/{p-a710fd68.entry.js → p-b4df4c57.entry.js} +1 -1
- package/lib/duet/p-b4e4bf04.system.entry.js +4 -0
- package/lib/duet/{p-a4d2aea7.entry.js → p-b5443923.entry.js} +1 -1
- package/lib/duet/p-b657f08f.system.entry.js +4 -0
- package/lib/duet/{p-0660a0ef.system.entry.js → p-ba4bdb0d.system.entry.js} +1 -1
- package/lib/duet/{p-ae8d9deb.js → p-bb2d58bc.js} +1 -1
- package/lib/duet/{p-c1e4c10f.system.entry.js → p-bc2be70e.system.entry.js} +1 -1
- package/lib/duet/p-bc50d23b.entry.js +4 -0
- package/lib/duet/{p-ab487d80.system.entry.js → p-bd2768a5.system.entry.js} +2 -2
- package/lib/duet/p-c1b1b16d.entry.js +4 -0
- package/lib/duet/{p-e8daf1e2.entry.js → p-c8783040.entry.js} +1 -1
- package/lib/duet/{p-0258c8de.entry.js → p-cade991a.entry.js} +1 -1
- package/lib/duet/{p-44ecb79f.entry.js → p-cca4a7db.entry.js} +1 -1
- package/lib/duet/p-ccf2bc0a.system.entry.js +4 -0
- package/lib/duet/{p-5a8ca9f7.system.entry.js → p-cd0e3537.system.entry.js} +1 -1
- package/lib/duet/{p-b5329846.entry.js → p-ce754f76.entry.js} +1 -1
- package/lib/duet/{p-a37a7f5f.system.entry.js → p-ce7987e8.system.entry.js} +1 -1
- package/lib/duet/{p-6119ef0a.entry.js → p-cf1206a8.entry.js} +1 -1
- package/lib/duet/{p-6db337db.entry.js → p-d08a89dc.entry.js} +1 -1
- package/lib/duet/{p-765f640d.js → p-d11659fd.js} +1 -1
- package/lib/duet/p-d22c889b.entry.js +4 -0
- package/lib/duet/{p-d40e8899.system.js → p-d6c69f62.system.js} +1 -1
- package/lib/duet/{p-83dc6278.entry.js → p-d6e16c5d.entry.js} +1 -1
- package/lib/duet/{p-d9f0722f.entry.js → p-d6fbbecc.entry.js} +1 -1
- package/lib/duet/{p-dd48441b.system.entry.js → p-d8d99c33.system.entry.js} +1 -1
- package/lib/duet/{p-f4b2f2e8.entry.js → p-d9ad612c.entry.js} +1 -1
- package/lib/duet/{p-ab5f9de6.entry.js → p-d9b32ab3.entry.js} +1 -1
- package/lib/duet/{p-e3bf718e.system.entry.js → p-db2c01b7.system.entry.js} +1 -1
- package/lib/duet/{p-e021729d.entry.js → p-dcbb4af4.entry.js} +1 -1
- package/lib/duet/p-defbfc15.js +4 -0
- package/lib/duet/{p-0e2c37c7.system.js → p-dfbd0dd7.system.js} +1 -1
- package/lib/duet/{p-5899db41.system.entry.js → p-e2122bd3.system.entry.js} +1 -1
- package/lib/duet/p-e4c8559c.system.js +4 -0
- package/lib/duet/p-e5997320.entry.js +4 -0
- package/lib/duet/{p-73f290b1.entry.js → p-e6596826.entry.js} +1 -1
- package/lib/duet/{p-a25f447e.system.entry.js → p-e7f0d18b.system.entry.js} +1 -1
- package/lib/duet/{p-acd9cb61.entry.js → p-e8d31be7.entry.js} +1 -1
- package/lib/duet/{p-1abf7d11.system.entry.js → p-ead4b210.system.entry.js} +1 -1
- package/lib/duet/{p-61fe999e.system.entry.js → p-eaeee3a3.system.entry.js} +1 -1
- package/lib/duet/{p-8d6d407f.system.entry.js → p-eb26c1f5.system.entry.js} +1 -1
- package/lib/duet/{p-4407ea5a.entry.js → p-eb9677dc.entry.js} +1 -1
- package/lib/duet/{p-17077f57.entry.js → p-ec58f8ee.entry.js} +1 -1
- package/lib/duet/{p-d2b0c35d.entry.js → p-ec5d2407.entry.js} +1 -1
- package/lib/duet/{p-4451f3eb.entry.js → p-ec70084a.entry.js} +1 -1
- package/lib/duet/p-ee067380.system.entry.js +4 -0
- package/lib/duet/{p-11e4c749.system.entry.js → p-ee52d40a.system.entry.js} +1 -1
- package/lib/duet/{p-18e6e7fe.entry.js → p-f0634b57.entry.js} +1 -1
- package/lib/duet/p-f0cc5629.js +4 -0
- package/lib/duet/{p-be7c8c61.system.entry.js → p-f28acd06.system.entry.js} +1 -1
- package/lib/duet/{p-50f8076d.entry.js → p-f2957e8e.entry.js} +1 -1
- package/lib/duet/{p-a696a103.entry.js → p-f33f42ce.entry.js} +1 -1
- package/lib/duet/p-f40c4ff4.entry.js +4 -0
- package/lib/duet/{p-0bfe2f53.system.entry.js → p-f48366d3.system.entry.js} +1 -1
- package/lib/duet/p-f6000a03.js +4 -0
- package/lib/duet/{p-04efd66c.system.entry.js → p-f6471762.system.entry.js} +2 -2
- package/lib/duet/{p-49e6e791.system.entry.js → p-f749aa8a.system.entry.js} +1 -1
- package/lib/duet/{p-6b2a8199.system.entry.js → p-f930128c.system.entry.js} +1 -1
- package/lib/duet/{p-281fa7a1.entry.js → p-fa2ef682.entry.js} +1 -1
- package/lib/duet/p-fa3e0628.system.entry.js +4 -0
- package/lib/duet/{p-80ebdba0.entry.js → p-fbcd3fb7.entry.js} +1 -1
- package/lib/duet/p-fc100c70.entry.js +4 -0
- package/lib/duet/{p-f7845fea.entry.js → p-fccf2ddc.entry.js} +1 -1
- package/lib/duet/{p-bd60816f.entry.js → p-fd5d4f14.entry.js} +1 -1
- package/lib/duet/p-fdbc3f6c.entry.js +4 -0
- package/lib/duet/{p-da60c177.system.entry.js → p-fdbc9c7f.system.entry.js} +1 -1
- package/lib/duet/{p-2a2f7fe9.system.entry.js → p-ffdfb64b.system.entry.js} +2 -2
- package/lib/esm/a11y-utils-92930863.js +18 -0
- package/lib/esm/{app-globals-01df0e2e.js → app-globals-19322ff1.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 +45 -8
- 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-953f4d47.js} +1 -1
- package/lib/esm/{focus-utils-3e81bca4.js → focus-utils-5147573d.js} +1 -1
- package/lib/esm/{index-5d196317.js → index-940c081d.js} +2 -2
- package/lib/esm/{language-utils-97f0a1bb.js → language-utils-b0c1eb01.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-4442cc08.js → slot-utils-4a318cb9.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-19322ff1.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +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 +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 +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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-ac65ace8.js → errorcodes.utils-953f4d47.js} +1 -1
- package/lib/esm-es5/{focus-utils-3e81bca4.js → focus-utils-5147573d.js} +1 -1
- package/lib/esm-es5/{index-5d196317.js → index-940c081d.js} +2 -2
- package/lib/esm-es5/{language-utils-97f0a1bb.js → language-utils-b0c1eb01.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-4442cc08.js → slot-utils-4a318cb9.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-17b64351.system.entry.js +0 -4
- package/lib/duet/p-1db515c6.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-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-af311c80.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-d1c6861d.system.entry.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/tokens-e0e3d241.js +0 -4
- package/lib/esm-es5/tokens.module-b5fab24a.js +0 -4
- /package/lib/dist-custom-elements/{p-8764aea1.js → p-bc933201.js} +0 -0
|
@@ -91,7 +91,7 @@ duet-caption:not(:last-of-type) {
|
|
|
91
91
|
height: 20px;
|
|
92
92
|
font-size: 0;
|
|
93
93
|
line-height: normal;
|
|
94
|
-
color: rgb(
|
|
94
|
+
color: rgb(8, 42, 77);
|
|
95
95
|
pointer-events: none;
|
|
96
96
|
transform: translateY(-50%);
|
|
97
97
|
}
|
|
@@ -114,7 +114,7 @@ duet-caption:not(:last-of-type) {
|
|
|
114
114
|
right: -24px;
|
|
115
115
|
min-width: 48px;
|
|
116
116
|
min-height: 48px;
|
|
117
|
-
color: rgb(0,
|
|
117
|
+
color: rgb(0, 75, 129);
|
|
118
118
|
}
|
|
119
119
|
.duet-input-container.has-clear .duet-input-clear-icon button:focus {
|
|
120
120
|
outline: 0;
|
|
@@ -144,7 +144,7 @@ duet-caption:not(:last-of-type) {
|
|
|
144
144
|
right: 24px;
|
|
145
145
|
}
|
|
146
146
|
.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button {
|
|
147
|
-
color: rgb(
|
|
147
|
+
color: rgb(8, 42, 77);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.duet-input-label-container {
|
|
@@ -175,11 +175,11 @@ duet-caption:not(:last-of-type) {
|
|
|
175
175
|
font-weight: 400 !important;
|
|
176
176
|
font-variant-numeric: tabular-nums;
|
|
177
177
|
line-height: 1.5 !important;
|
|
178
|
-
color: rgb(
|
|
178
|
+
color: rgb(8, 42, 77) !important;
|
|
179
179
|
cursor: initial !important;
|
|
180
180
|
background: rgb(255, 255, 255) !important;
|
|
181
181
|
background-clip: initial !important;
|
|
182
|
-
border: 1px solid rgb(
|
|
182
|
+
border: 1px solid rgb(127, 150, 165) !important;
|
|
183
183
|
border-radius: 4px !important;
|
|
184
184
|
box-shadow: initial !important;
|
|
185
185
|
transition: box-shadow 150ms ease, border 150ms ease !important;
|
|
@@ -203,16 +203,16 @@ duet-caption:not(:last-of-type) {
|
|
|
203
203
|
padding-left: 8px !important;
|
|
204
204
|
}
|
|
205
205
|
.has-error .duet-input {
|
|
206
|
-
border-color: rgb(
|
|
206
|
+
border-color: rgb(214, 28, 82) !important;
|
|
207
207
|
}
|
|
208
208
|
.has-error .duet-input + .duet-input-icon {
|
|
209
|
-
color: rgb(
|
|
209
|
+
color: rgb(214, 28, 82) !important;
|
|
210
210
|
}
|
|
211
211
|
.duet-theme-turva.has-error .duet-input {
|
|
212
|
-
border-color: rgb(
|
|
212
|
+
border-color: rgb(214, 28, 82) !important;
|
|
213
213
|
}
|
|
214
214
|
.duet-theme-turva.has-error .duet-input + .duet-input-icon {
|
|
215
|
-
color: rgb(
|
|
215
|
+
color: rgb(214, 28, 82) !important;
|
|
216
216
|
}
|
|
217
217
|
.has-icon .duet-input {
|
|
218
218
|
padding-right: 48px !important;
|
|
@@ -220,7 +220,7 @@ duet-caption:not(:last-of-type) {
|
|
|
220
220
|
.duet-theme-turva .duet-input {
|
|
221
221
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
222
222
|
color: rgb(23, 28, 58) !important;
|
|
223
|
-
border-color: rgb(
|
|
223
|
+
border-color: rgb(143, 147, 158) !important;
|
|
224
224
|
}
|
|
225
225
|
.duet-input.align-right {
|
|
226
226
|
text-align: right;
|
|
@@ -232,57 +232,57 @@ duet-caption:not(:last-of-type) {
|
|
|
232
232
|
display: none !important;
|
|
233
233
|
}
|
|
234
234
|
.duet-input::-webkit-input-placeholder {
|
|
235
|
-
color: rgb(
|
|
235
|
+
color: rgb(98, 121, 138);
|
|
236
236
|
opacity: 1 !important;
|
|
237
237
|
transition: color 300ms ease;
|
|
238
238
|
}
|
|
239
239
|
.duet-theme-turva .duet-input::-webkit-input-placeholder {
|
|
240
|
-
color: rgb(
|
|
240
|
+
color: rgb(143, 147, 158);
|
|
241
241
|
}
|
|
242
242
|
.duet-input:focus::-webkit-input-placeholder {
|
|
243
|
-
color: rgb(
|
|
243
|
+
color: rgb(181, 198, 208);
|
|
244
244
|
}
|
|
245
245
|
.duet-theme-turva .duet-input:focus::-webkit-input-placeholder {
|
|
246
|
-
color: rgb(
|
|
246
|
+
color: rgb(199, 202, 207);
|
|
247
247
|
}
|
|
248
248
|
.duet-input::-moz-placeholder {
|
|
249
|
-
color: rgb(
|
|
249
|
+
color: rgb(98, 121, 138);
|
|
250
250
|
opacity: 1 !important;
|
|
251
251
|
}
|
|
252
252
|
.duet-theme-turva .duet-input::-moz-placeholder {
|
|
253
|
-
color: rgb(
|
|
253
|
+
color: rgb(143, 147, 158);
|
|
254
254
|
}
|
|
255
255
|
.duet-input:focus::-moz-placeholder {
|
|
256
|
-
color: rgb(
|
|
256
|
+
color: rgb(181, 198, 208);
|
|
257
257
|
}
|
|
258
258
|
.duet-theme-turva .duet-input:focus::-moz-placeholder {
|
|
259
|
-
color: rgb(
|
|
259
|
+
color: rgb(199, 202, 207);
|
|
260
260
|
}
|
|
261
261
|
.duet-input:-ms-input-placeholder {
|
|
262
|
-
color: rgb(
|
|
262
|
+
color: rgb(98, 121, 138);
|
|
263
263
|
}
|
|
264
264
|
.duet-theme-turva .duet-input:-ms-input-placeholder {
|
|
265
|
-
color: rgb(
|
|
265
|
+
color: rgb(143, 147, 158);
|
|
266
266
|
}
|
|
267
267
|
.duet-input:focus:-ms-input-placeholder {
|
|
268
|
-
color: rgb(
|
|
268
|
+
color: rgb(181, 198, 208);
|
|
269
269
|
}
|
|
270
270
|
.duet-theme-turva .duet-input:focus:-ms-input-placeholder {
|
|
271
|
-
color: rgb(
|
|
271
|
+
color: rgb(199, 202, 207);
|
|
272
272
|
}
|
|
273
273
|
.duet-input[disabled] {
|
|
274
|
-
color: rgb(
|
|
274
|
+
color: rgb(8, 42, 77) !important;
|
|
275
275
|
cursor: not-allowed !important;
|
|
276
276
|
background: rgb(245, 248, 250) !important;
|
|
277
277
|
border-color: rgb(245, 248, 250) !important;
|
|
278
278
|
box-shadow: none !important;
|
|
279
279
|
opacity: 1 !important;
|
|
280
|
-
-webkit-text-fill-color: rgb(
|
|
280
|
+
-webkit-text-fill-color: rgb(8, 42, 77) !important;
|
|
281
281
|
}
|
|
282
282
|
.duet-theme-turva .duet-input[disabled] {
|
|
283
283
|
color: rgb(23, 28, 58) !important;
|
|
284
|
-
background: rgb(245,
|
|
285
|
-
border-color: rgb(245,
|
|
284
|
+
background: rgb(245, 247, 250) !important;
|
|
285
|
+
border-color: rgb(245, 247, 250) !important;
|
|
286
286
|
-webkit-text-fill-color: rgb(23, 28, 58) !important;
|
|
287
287
|
}
|
|
288
288
|
.duet-input:hover:not(:disabled) {
|
|
@@ -340,7 +340,7 @@ duet-caption:not(:last-of-type) {
|
|
|
340
340
|
font-size: 0.875rem;
|
|
341
341
|
font-weight: 400;
|
|
342
342
|
line-height: 1.25;
|
|
343
|
-
color: rgb(
|
|
343
|
+
color: rgb(98, 121, 138);
|
|
344
344
|
border-radius: 4px;
|
|
345
345
|
}
|
|
346
346
|
.duet-input-help span {
|
|
@@ -349,13 +349,13 @@ duet-caption:not(:last-of-type) {
|
|
|
349
349
|
}
|
|
350
350
|
.duet-theme-turva .duet-input-help {
|
|
351
351
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
352
|
-
color: rgb(
|
|
352
|
+
color: rgb(143, 147, 158);
|
|
353
353
|
}
|
|
354
354
|
.has-error .duet-input-help {
|
|
355
|
-
color: rgb(
|
|
355
|
+
color: rgb(214, 28, 82);
|
|
356
356
|
}
|
|
357
357
|
.duet-theme-turva.has-error .duet-input-help {
|
|
358
|
-
color: rgb(
|
|
358
|
+
color: rgb(214, 28, 82);
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
.duet-label-hidden duet-label {
|
|
@@ -412,13 +412,13 @@ duet-caption:not(:last-of-type) {
|
|
|
412
412
|
align-items: center;
|
|
413
413
|
justify-content: flex-start;
|
|
414
414
|
width: auto;
|
|
415
|
-
border: 1px solid rgb(
|
|
415
|
+
border: 1px solid rgb(127, 150, 165);
|
|
416
416
|
border-radius: 4px;
|
|
417
417
|
box-shadow: initial;
|
|
418
418
|
transition: box-shadow 150ms ease, border 150ms ease;
|
|
419
419
|
}
|
|
420
420
|
.duet-theme-turva .duet-input-variation-revealable .duet-input-relative {
|
|
421
|
-
border-color: rgb(
|
|
421
|
+
border-color: rgb(143, 147, 158);
|
|
422
422
|
}
|
|
423
423
|
.duet-input-variation-revealable .duet-input-relative duet-button {
|
|
424
424
|
z-index: 250;
|
|
@@ -433,14 +433,14 @@ duet-caption:not(:last-of-type) {
|
|
|
433
433
|
}
|
|
434
434
|
.duet-input-variation-revealable.disabled .duet-input-relative {
|
|
435
435
|
background: rgb(245, 248, 250);
|
|
436
|
-
border-color: rgb(
|
|
436
|
+
border-color: rgb(212, 223, 229);
|
|
437
437
|
box-shadow: none;
|
|
438
438
|
}
|
|
439
439
|
.duet-input-variation-revealable.has-error .duet-input-relative {
|
|
440
|
-
border-color: rgb(
|
|
440
|
+
border-color: rgb(214, 28, 82);
|
|
441
441
|
}
|
|
442
442
|
.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative {
|
|
443
|
-
border-color: rgb(
|
|
443
|
+
border-color: rgb(214, 28, 82);
|
|
444
444
|
}
|
|
445
445
|
.duet-input-variation-revealable.has-focus .duet-input-relative {
|
|
446
446
|
border-color: rgb(0, 119, 179);
|
|
@@ -471,17 +471,19 @@ duet-caption:not(:last-of-type) {
|
|
|
471
471
|
align-items: center;
|
|
472
472
|
justify-content: flex-start;
|
|
473
473
|
width: auto;
|
|
474
|
-
border: 1px solid rgb(
|
|
474
|
+
border: 1px solid rgb(127, 150, 165);
|
|
475
475
|
border-radius: 4px;
|
|
476
476
|
box-shadow: initial;
|
|
477
477
|
transition: box-shadow 150ms ease, border 150ms ease;
|
|
478
478
|
}
|
|
479
479
|
.duet-theme-turva .duet-input-container.has-chips .duet-input-relative {
|
|
480
|
-
border-color: rgb(
|
|
480
|
+
border-color: rgb(143, 147, 158);
|
|
481
481
|
}
|
|
482
482
|
.duet-input-container.has-chips .duet-input-relative .duet-input {
|
|
483
483
|
flex-basis: 4rem;
|
|
484
484
|
flex-grow: 1;
|
|
485
|
+
padding-left: 0 !important;
|
|
486
|
+
margin-left: 12px !important;
|
|
485
487
|
border-width: 0 !important;
|
|
486
488
|
}
|
|
487
489
|
.duet-input-container.has-chips .duet-input-relative .duet-input:focus, .duet-input-container.has-chips .duet-input-relative .duet-input:hover {
|
|
@@ -7,8 +7,8 @@ import { Build, h, Host } from "@stencil/core";
|
|
|
7
7
|
import { inheritGlobalTheme } from "../../common";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
9
|
import { cleanValue, resetCursor } from "../../utils/input-utils";
|
|
10
|
-
import { isEnterKey, isEscapeKey } from "../../utils/keyboard-utils";
|
|
11
|
-
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, } from "../../utils/language-utils";
|
|
10
|
+
import { isArrowLeftKey, isArrowRightKey, isBackspaceKey, isEnterKey, isEscapeKey } from "../../utils/keyboard-utils";
|
|
11
|
+
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
12
12
|
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
13
13
|
const icons = {
|
|
14
14
|
search: searchIcon,
|
|
@@ -27,6 +27,7 @@ export class DuetInput {
|
|
|
27
27
|
this.labelId = createID("DuetLabel");
|
|
28
28
|
this.topCaptionId = createID("DuetCaptionTop");
|
|
29
29
|
this.topCaptionPlaceholderId = createID("DuetCaptionPlaceholderTop");
|
|
30
|
+
this.chipCountId = createID("DuetInputChipCount");
|
|
30
31
|
this.errorId = createID("DuetError");
|
|
31
32
|
this.disallowPatternRegex = null;
|
|
32
33
|
this.clearLabel = {
|
|
@@ -59,6 +60,11 @@ export class DuetInput {
|
|
|
59
60
|
fi: "Salasana on piilotettu",
|
|
60
61
|
sv: "Lösenordet är dolt",
|
|
61
62
|
};
|
|
63
|
+
this.chipsSelectedDesriptionLabel = {
|
|
64
|
+
en: "selected",
|
|
65
|
+
fi: "valittu",
|
|
66
|
+
sv: "valt",
|
|
67
|
+
};
|
|
62
68
|
/**
|
|
63
69
|
* Component event handling.
|
|
64
70
|
*/
|
|
@@ -66,6 +72,9 @@ export class DuetInput {
|
|
|
66
72
|
if (this.disallowPatternRegex) {
|
|
67
73
|
cleanValue(this.nativeInput, this.disallowPatternRegex);
|
|
68
74
|
}
|
|
75
|
+
if (this.chips) {
|
|
76
|
+
this.clearChipSelection();
|
|
77
|
+
}
|
|
69
78
|
this.value = this.nativeInput.value || "";
|
|
70
79
|
this.duetInput.emit({
|
|
71
80
|
originalEvent: ev,
|
|
@@ -89,6 +98,7 @@ export class DuetInput {
|
|
|
89
98
|
});
|
|
90
99
|
};
|
|
91
100
|
this.onFocus = (ev) => {
|
|
101
|
+
this.clearChipSelection();
|
|
92
102
|
this.isFocused = true;
|
|
93
103
|
this.duetFocus.emit({
|
|
94
104
|
originalEvent: ev,
|
|
@@ -106,7 +116,7 @@ export class DuetInput {
|
|
|
106
116
|
/**
|
|
107
117
|
* Private functions
|
|
108
118
|
*/
|
|
109
|
-
this.
|
|
119
|
+
this.getAriaDescribedBy = () => {
|
|
110
120
|
const describedBy = [];
|
|
111
121
|
if (this.isCaptionVisible && this.topCaptionId) {
|
|
112
122
|
describedBy.push(this.topCaptionId);
|
|
@@ -114,17 +124,24 @@ export class DuetInput {
|
|
|
114
124
|
if (this.accessibleDescribedBy) {
|
|
115
125
|
describedBy.push(this.accessibleDescribedBy);
|
|
116
126
|
}
|
|
127
|
+
if (this.chips) {
|
|
128
|
+
const currentChips = this.getAllChips();
|
|
129
|
+
if (currentChips.length) {
|
|
130
|
+
describedBy.push(this.chipCountId);
|
|
131
|
+
currentChips.forEach(chip => describedBy.push(chip.id));
|
|
132
|
+
}
|
|
133
|
+
}
|
|
117
134
|
if (this.error) {
|
|
118
135
|
describedBy.push(this.errorId);
|
|
119
136
|
}
|
|
120
137
|
return describedBy.length > 0 ? describedBy.join(" ") : null;
|
|
121
138
|
};
|
|
122
|
-
this.handleClearClick = event => {
|
|
139
|
+
this.handleClearClick = (event) => {
|
|
123
140
|
const clearing = this.clearInput();
|
|
124
141
|
this.onClear(event);
|
|
125
142
|
return clearing;
|
|
126
143
|
};
|
|
127
|
-
this.keyHandler = event => {
|
|
144
|
+
this.keyHandler = (event) => {
|
|
128
145
|
if (isEscapeKey(event) && this.clear) {
|
|
129
146
|
this.handleClearClick(event);
|
|
130
147
|
}
|
|
@@ -136,6 +153,21 @@ export class DuetInput {
|
|
|
136
153
|
this.isPasswordRevealed = false;
|
|
137
154
|
}
|
|
138
155
|
}
|
|
156
|
+
if (this.chips && this.nativeInput.value.length === 0) {
|
|
157
|
+
if (isBackspaceKey(event)) {
|
|
158
|
+
if (this.isChipSelected()) {
|
|
159
|
+
this.getSelectedChip().removeChip();
|
|
160
|
+
setTimeout(() => this.selectLastChip());
|
|
161
|
+
}
|
|
162
|
+
this.selectLastChip();
|
|
163
|
+
}
|
|
164
|
+
if (isArrowLeftKey(event)) {
|
|
165
|
+
this.selectChipToLeft();
|
|
166
|
+
}
|
|
167
|
+
if (isArrowRightKey(event) && this.isChipSelected()) {
|
|
168
|
+
this.selectChipToRight();
|
|
169
|
+
}
|
|
170
|
+
}
|
|
139
171
|
return event;
|
|
140
172
|
};
|
|
141
173
|
this.togglePasswordRevealed = () => {
|
|
@@ -276,6 +308,62 @@ export class DuetInput {
|
|
|
276
308
|
getAllChips() {
|
|
277
309
|
return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"));
|
|
278
310
|
}
|
|
311
|
+
isChipSelected() {
|
|
312
|
+
return this.getAllChips().some(chip => chip.selected);
|
|
313
|
+
}
|
|
314
|
+
getSelectedChip() {
|
|
315
|
+
return this.getAllChips().find(chip => chip.selected);
|
|
316
|
+
}
|
|
317
|
+
clearChipSelection() {
|
|
318
|
+
const chips = this.getAllChips();
|
|
319
|
+
chips.forEach(chip => (chip.selected = false));
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* If input has chips set the last, rightmost chip as selected
|
|
323
|
+
*/
|
|
324
|
+
selectLastChip() {
|
|
325
|
+
const chips = this.getAllChips();
|
|
326
|
+
if (chips.length) {
|
|
327
|
+
chips.forEach(chip => (chip.selected = false));
|
|
328
|
+
chips.at(-1).selected = true;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* If input has chips. and one is selected, set the chip next to the left as selected.
|
|
333
|
+
* If none was selected before, select the last, rightmost chip.
|
|
334
|
+
* If the first, leftmost chip was selected before, do nothing.
|
|
335
|
+
*/
|
|
336
|
+
selectChipToLeft() {
|
|
337
|
+
const chips = this.getAllChips();
|
|
338
|
+
const selectedIndex = chips.findIndex(chip => chip.selected);
|
|
339
|
+
if (chips.length) {
|
|
340
|
+
chips.forEach(chip => (chip.selected = false));
|
|
341
|
+
if (selectedIndex === -1) {
|
|
342
|
+
chips.at(-1).selected = true;
|
|
343
|
+
}
|
|
344
|
+
else if (selectedIndex === 0) {
|
|
345
|
+
chips[0].selected = true;
|
|
346
|
+
}
|
|
347
|
+
else {
|
|
348
|
+
chips[selectedIndex - 1].selected = true;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* If input has chips. and one is selected, set the chip next to the right as selected.
|
|
354
|
+
* If none was selected before, do nothing.
|
|
355
|
+
* If the last, rightmost chip was selected before, unselect it.
|
|
356
|
+
*/
|
|
357
|
+
selectChipToRight() {
|
|
358
|
+
const chips = this.getAllChips();
|
|
359
|
+
const selectedIndex = chips.findIndex(chip => chip.selected);
|
|
360
|
+
if (chips.length) {
|
|
361
|
+
chips.forEach(chip => (chip.selected = false));
|
|
362
|
+
if (selectedIndex > -1 && selectedIndex < chips.length - 1) {
|
|
363
|
+
chips[selectedIndex + 1].selected = true;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
279
367
|
/**
|
|
280
368
|
* @internal
|
|
281
369
|
* Add a chip to the input
|
|
@@ -283,6 +371,7 @@ export class DuetInput {
|
|
|
283
371
|
async addChip(chip) {
|
|
284
372
|
const container = this.element.querySelector(".duet-input-relative");
|
|
285
373
|
const input = container.querySelector("input:not(duet-chip input)");
|
|
374
|
+
chip.id = createID("DuetInputChip");
|
|
286
375
|
container.insertBefore(chip, input);
|
|
287
376
|
}
|
|
288
377
|
/**
|
|
@@ -356,7 +445,7 @@ export class DuetInput {
|
|
|
356
445
|
"has-clear": this.clear,
|
|
357
446
|
"has-focus": this.isFocused,
|
|
358
447
|
disabled: this.disabled,
|
|
359
|
-
} }, h("div", { class: "duet-input-label-container" }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { name: "tooltip" })), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
448
|
+
} }, h("div", { class: "duet-input-label-container" }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { name: "tooltip" })), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
360
449
|
"duet-input": true,
|
|
361
450
|
disabled: this.disabled,
|
|
362
451
|
"is-number": this.component === "number",
|
|
@@ -364,7 +453,7 @@ export class DuetInput {
|
|
|
364
453
|
"after-chip": this.getAllChips().length > 0,
|
|
365
454
|
"align-right": this.inputAlign === "right",
|
|
366
455
|
[`input-padding-${this.inputPadding}`]: true,
|
|
367
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.
|
|
456
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { class: {
|
|
368
457
|
"duet-input-clear-icon": true,
|
|
369
458
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
370
459
|
"duet-input-clear-icon-double": !!this.icon,
|
|
@@ -823,7 +912,7 @@ export class DuetInput {
|
|
|
823
912
|
"references": {
|
|
824
913
|
"DuetInputType": {
|
|
825
914
|
"location": "local",
|
|
826
|
-
"path": "/Users/
|
|
915
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-input/duet-input.tsx",
|
|
827
916
|
"id": "src/components/duet-input/duet-input.tsx::DuetInputType"
|
|
828
917
|
}
|
|
829
918
|
}
|
|
@@ -847,7 +936,7 @@ export class DuetInput {
|
|
|
847
936
|
"references": {
|
|
848
937
|
"DuetVariationType": {
|
|
849
938
|
"location": "local",
|
|
850
|
-
"path": "/Users/
|
|
939
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-input/duet-input.tsx",
|
|
851
940
|
"id": "src/components/duet-input/duet-input.tsx::DuetVariationType"
|
|
852
941
|
}
|
|
853
942
|
}
|
|
@@ -1089,7 +1178,7 @@ export class DuetInput {
|
|
|
1089
1178
|
"references": {
|
|
1090
1179
|
"DuetInputComponentType": {
|
|
1091
1180
|
"location": "local",
|
|
1092
|
-
"path": "/Users/
|
|
1181
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1093
1182
|
"id": "src/components/duet-input/duet-input.tsx::DuetInputComponentType"
|
|
1094
1183
|
}
|
|
1095
1184
|
}
|
|
@@ -1268,7 +1357,7 @@ export class DuetInput {
|
|
|
1268
1357
|
"references": {
|
|
1269
1358
|
"DuetInputEvent": {
|
|
1270
1359
|
"location": "local",
|
|
1271
|
-
"path": "/Users/
|
|
1360
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1272
1361
|
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1273
1362
|
}
|
|
1274
1363
|
}
|
|
@@ -1289,7 +1378,7 @@ export class DuetInput {
|
|
|
1289
1378
|
"references": {
|
|
1290
1379
|
"DuetInputEvent": {
|
|
1291
1380
|
"location": "local",
|
|
1292
|
-
"path": "/Users/
|
|
1381
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1293
1382
|
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1294
1383
|
}
|
|
1295
1384
|
}
|
|
@@ -1310,7 +1399,7 @@ export class DuetInput {
|
|
|
1310
1399
|
"references": {
|
|
1311
1400
|
"DuetInputEvent": {
|
|
1312
1401
|
"location": "local",
|
|
1313
|
-
"path": "/Users/
|
|
1402
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1314
1403
|
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1315
1404
|
}
|
|
1316
1405
|
}
|
|
@@ -1331,7 +1420,7 @@ export class DuetInput {
|
|
|
1331
1420
|
"references": {
|
|
1332
1421
|
"DuetInputEvent": {
|
|
1333
1422
|
"location": "local",
|
|
1334
|
-
"path": "/Users/
|
|
1423
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1335
1424
|
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1336
1425
|
}
|
|
1337
1426
|
}
|
|
@@ -1352,7 +1441,7 @@ export class DuetInput {
|
|
|
1352
1441
|
"references": {
|
|
1353
1442
|
"DuetInputEvent": {
|
|
1354
1443
|
"location": "local",
|
|
1355
|
-
"path": "/Users/
|
|
1444
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-input/duet-input.tsx",
|
|
1356
1445
|
"id": "src/components/duet-input/duet-input.tsx::DuetInputEvent"
|
|
1357
1446
|
}
|
|
1358
1447
|
}
|
|
@@ -101,7 +101,7 @@ export class DuetLabel {
|
|
|
101
101
|
"references": {
|
|
102
102
|
"DuetLabelMargin": {
|
|
103
103
|
"location": "local",
|
|
104
|
-
"path": "/Users/
|
|
104
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-label/duet-label.tsx",
|
|
105
105
|
"id": "src/components/duet-label/duet-label.tsx::DuetLabelMargin"
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -125,7 +125,7 @@ export class DuetLabel {
|
|
|
125
125
|
"references": {
|
|
126
126
|
"DuetLabelSize": {
|
|
127
127
|
"location": "local",
|
|
128
|
-
"path": "/Users/
|
|
128
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-label/duet-label.tsx",
|
|
129
129
|
"id": "src/components/duet-label/duet-label.tsx::DuetLabelSize"
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -127,7 +127,7 @@ export class DuetLayout {
|
|
|
127
127
|
"references": {
|
|
128
128
|
"DuetLayoutStickyDistance": {
|
|
129
129
|
"location": "local",
|
|
130
|
-
"path": "/Users/
|
|
130
|
+
"path": "/Users/kasimir/Documents/projects/duet-design-system/packages/components/src/components/duet-layout/duet-layout.tsx",
|
|
131
131
|
"id": "src/components/duet-layout/duet-layout.tsx::DuetLayoutStickyDistance"
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
47
47
|
font-style: normal;
|
|
48
48
|
font-weight: 400;
|
|
49
|
-
color: rgb(0,
|
|
49
|
+
color: rgb(0, 97, 155);
|
|
50
50
|
text-decoration: underline;
|
|
51
51
|
border-radius: 4px;
|
|
52
52
|
transition: 300ms ease;
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
}
|
|
61
61
|
.duet-link.duet-theme-turva {
|
|
62
62
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
63
|
-
color: rgb(
|
|
63
|
+
color: rgb(164, 4, 40);
|
|
64
64
|
}
|
|
65
65
|
.duet-link:hover {
|
|
66
|
-
color: rgb(0,
|
|
66
|
+
color: rgb(0, 75, 129);
|
|
67
67
|
text-decoration: none;
|
|
68
68
|
}
|
|
69
69
|
.duet-link:hover.duet-theme-turva {
|
|
70
|
-
color: rgb(
|
|
70
|
+
color: rgb(126, 2, 35);
|
|
71
71
|
}
|
|
72
72
|
.duet-link:active {
|
|
73
73
|
opacity: 0.75;
|
|
@@ -141,7 +141,7 @@ button {
|
|
|
141
141
|
align-items: start;
|
|
142
142
|
padding: 16px;
|
|
143
143
|
font-weight: 600;
|
|
144
|
-
color: rgb(
|
|
144
|
+
color: rgb(8, 42, 77);
|
|
145
145
|
text-decoration: none;
|
|
146
146
|
}
|
|
147
147
|
.block.duet-link.duet-link-has-icon {
|
|
@@ -177,9 +177,9 @@ button {
|
|
|
177
177
|
line-height: 1.25;
|
|
178
178
|
text-decoration: none;
|
|
179
179
|
background-color: rgb(255, 255, 255);
|
|
180
|
-
border: solid 1px rgb(
|
|
180
|
+
border: solid 1px rgb(181, 198, 208);
|
|
181
181
|
border-radius: 12px;
|
|
182
|
-
outline: 0 solid rgb(
|
|
182
|
+
outline: 0 solid rgb(181, 198, 208);
|
|
183
183
|
outline-offset: -2px;
|
|
184
184
|
transition: all 300ms ease;
|
|
185
185
|
}
|
|
@@ -191,7 +191,7 @@ button {
|
|
|
191
191
|
flex-shrink: 1;
|
|
192
192
|
font-size: 1rem;
|
|
193
193
|
font-weight: 600;
|
|
194
|
-
color: rgb(
|
|
194
|
+
color: rgb(8, 42, 77);
|
|
195
195
|
text-align: left;
|
|
196
196
|
}
|
|
197
197
|
.duet-link.button .icon-wrap {
|
|
@@ -233,7 +233,7 @@ button {
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
.duet-link.button.duet-theme-turva {
|
|
236
|
-
border-color: rgb(
|
|
236
|
+
border-color: rgb(199, 202, 207);
|
|
237
237
|
}
|
|
238
238
|
.duet-link.button.duet-theme-turva .duet-link-content {
|
|
239
239
|
color: rgb(23, 28, 58);
|
|
@@ -8,6 +8,7 @@ import newWindowIcon from "@duetds/icons/lib/assets/action-new-window-small";
|
|
|
8
8
|
import { Build, Fragment, h, Host } from "@stencil/core";
|
|
9
9
|
import { DuetStringsDownloadLinkDefaults, DuetStringsExternalDefaults } from "../../common-strings";
|
|
10
10
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
11
|
+
import { getAccessibleLinkLabel } from "../../utils/a11y-utils";
|
|
11
12
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
12
13
|
import { breakpointToToken, getColorByName } from "../../utils/token-utils";
|
|
13
14
|
/**
|
|
@@ -95,18 +96,6 @@ export class DuetLink {
|
|
|
95
96
|
screenTest(event) {
|
|
96
97
|
this.isSmallScreen = event.matches;
|
|
97
98
|
}
|
|
98
|
-
getAccessibleLabel() {
|
|
99
|
-
if (this.accessibleLabel) {
|
|
100
|
-
return this.accessibleLabel;
|
|
101
|
-
}
|
|
102
|
-
if ((!!this.download || this.download === "") && this.element.textContent) {
|
|
103
|
-
return `${this.element.textContent}. ${this.accessibleLabelDownload}.`;
|
|
104
|
-
}
|
|
105
|
-
if (this.external && this.element.textContent) {
|
|
106
|
-
return `${this.element.textContent}. ${this.accessibleLabelExternal}.`;
|
|
107
|
-
}
|
|
108
|
-
return null;
|
|
109
|
-
}
|
|
110
99
|
resolveDownload() {
|
|
111
100
|
if (this.download === "") {
|
|
112
101
|
return this.url.split("/").pop();
|
|
@@ -144,10 +133,10 @@ export class DuetLink {
|
|
|
144
133
|
render() {
|
|
145
134
|
const Tag = !this.url ? "button" : "a";
|
|
146
135
|
const isButton = Tag === "button";
|
|
147
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: 'ec5433304f9679e5b88eaff914e6bddf9f9b5aa9', class: {
|
|
148
137
|
[`duet-link-${this.variation}`]: true,
|
|
149
138
|
"duet-m-0": this.margin === "none",
|
|
150
|
-
} }, h(Tag, { key: '
|
|
139
|
+
} }, h(Tag, { key: '491399aa70b38266a7377c118c8b15281ca2b0ae', href: this.url, class: {
|
|
151
140
|
"duet-link": true,
|
|
152
141
|
"duet-link-is-external": this.external,
|
|
153
142
|
"duet-link-is-download": !!this.download,
|
|
@@ -158,7 +147,7 @@ export class DuetLink {
|
|
|
158
147
|
"duet-p-0": this.padding === "none",
|
|
159
148
|
[this.padding]: true,
|
|
160
149
|
[this.variation]: true,
|
|
161
|
-
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.
|
|
150
|
+
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
|
|
162
151
|
}
|
|
163
152
|
static get is() { return "duet-link"; }
|
|
164
153
|
static get encapsulation() { return "shadow"; }
|