@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
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-1149a5f1.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
|
+
import { c as createID } from './p-5e59e970.js';
|
|
7
|
+
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-ca700701.js';
|
|
8
|
+
import { g as getLocaleString } from './p-69f6a6aa.js';
|
|
9
|
+
import { d as defineCustomElement$1 } from './p-3883514c.js';
|
|
10
|
+
|
|
11
|
+
const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}";
|
|
12
|
+
const DuetChipStyle0 = duetChipCss;
|
|
13
|
+
|
|
14
|
+
const DuetChip = /*@__PURE__*/ proxyCustomElement(class DuetChip extends H {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
this.__registerHost();
|
|
18
|
+
this.__attachShadow();
|
|
19
|
+
this.duetChange = createEvent(this, "duetChange", 3);
|
|
20
|
+
this.duetRemove = createEvent(this, "duetRemove", 3);
|
|
21
|
+
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
22
|
+
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
23
|
+
/**
|
|
24
|
+
* Own Properties.
|
|
25
|
+
*/
|
|
26
|
+
this.chipId = createID("DuetChip");
|
|
27
|
+
this.deleteLabels = {
|
|
28
|
+
fi: "Poista",
|
|
29
|
+
en: "Remove",
|
|
30
|
+
sv: "Ta bort",
|
|
31
|
+
};
|
|
32
|
+
this.selectedForDeletionLabels = {
|
|
33
|
+
fi: "Valittu, poista askelpalautinnäppäimellä",
|
|
34
|
+
en: "Selected, remove with backspace",
|
|
35
|
+
sv: "Valt, ta bort med backsteg",
|
|
36
|
+
};
|
|
37
|
+
this.enforceNoDisabledSelected = () => {
|
|
38
|
+
if (this.disabled && this.checked) {
|
|
39
|
+
console.error("Duet error: pre-selected chip may not be disabled");
|
|
40
|
+
this.disabled = false;
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
this.radioInputListenersRemove = radioInput => {
|
|
44
|
+
radioInput.removeEventListener("change", this.onRadioChange);
|
|
45
|
+
radioInput.removeEventListener("click", this.onRadioClick);
|
|
46
|
+
radioInput.removeEventListener("focus", this.onFocus);
|
|
47
|
+
radioInput.removeEventListener("blur", this.onBlur);
|
|
48
|
+
};
|
|
49
|
+
this.radioInputListenersAdd = radioInput => {
|
|
50
|
+
radioInput.addEventListener("change", this.onRadioChange);
|
|
51
|
+
radioInput.addEventListener("click", this.onRadioClick);
|
|
52
|
+
radioInput.addEventListener("focus", this.onFocus);
|
|
53
|
+
radioInput.addEventListener("blur", this.onBlur);
|
|
54
|
+
};
|
|
55
|
+
this.radioInputSetUp = () => {
|
|
56
|
+
const slotInput = this.element.querySelector("input[slot=input]");
|
|
57
|
+
const radioInput = slotInput || document.createElement("input");
|
|
58
|
+
radioInput.slot = "input";
|
|
59
|
+
radioInput.ariaDisabled = this.disabled ? "true" : undefined;
|
|
60
|
+
radioInput.id = this.identifier || this.chipId;
|
|
61
|
+
radioInput.type = "radio";
|
|
62
|
+
radioInput.name = this.name;
|
|
63
|
+
radioInput.value = this.value;
|
|
64
|
+
radioInput.checked = this.checked;
|
|
65
|
+
if (slotInput) {
|
|
66
|
+
this.radioInputListenersRemove(radioInput);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
this.element.appendChild(radioInput);
|
|
70
|
+
}
|
|
71
|
+
this.radioInputListenersAdd(radioInput);
|
|
72
|
+
this.focusableElement = radioInput;
|
|
73
|
+
};
|
|
74
|
+
this.popupSetUp = () => {
|
|
75
|
+
const popup = document.querySelector(`duet-popup-menu#${this.popup}`);
|
|
76
|
+
if (popup) {
|
|
77
|
+
this.popupElement = popup;
|
|
78
|
+
popup.controller = this.element;
|
|
79
|
+
const originalText = this.element.textContent;
|
|
80
|
+
const originalValue = this.value;
|
|
81
|
+
if (!popup.id) {
|
|
82
|
+
popup.id = "popup-menu";
|
|
83
|
+
}
|
|
84
|
+
popup.addEventListener("duetToggle", (evt) => {
|
|
85
|
+
this.popupOpen = evt.detail.open;
|
|
86
|
+
});
|
|
87
|
+
const clearActive = () => {
|
|
88
|
+
popup.querySelectorAll("duet-popup-menu-item").forEach(item => {
|
|
89
|
+
item.active = false;
|
|
90
|
+
});
|
|
91
|
+
};
|
|
92
|
+
popup.querySelectorAll("duet-popup-menu-item").forEach(item => {
|
|
93
|
+
item.addEventListener("click", evt => {
|
|
94
|
+
var _a;
|
|
95
|
+
const value = (_a = item.value) !== null && _a !== void 0 ? _a : item.innerText;
|
|
96
|
+
if (!item.active) {
|
|
97
|
+
clearActive();
|
|
98
|
+
item.active = true;
|
|
99
|
+
this.element.textContent = item.innerText;
|
|
100
|
+
this.value = value;
|
|
101
|
+
this.checked = true;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
clearActive();
|
|
105
|
+
this.element.textContent = originalText;
|
|
106
|
+
this.value = originalValue;
|
|
107
|
+
this.checked = false;
|
|
108
|
+
}
|
|
109
|
+
this.emitChange(evt);
|
|
110
|
+
// A workaround to the difference of event handling between the browers.
|
|
111
|
+
// Chrome will emit a separate click event on the chip after the popup is closed, resulting popup.toggle() to
|
|
112
|
+
// open the popup again. Firefox does not have this behavior.
|
|
113
|
+
setTimeout(() => {
|
|
114
|
+
if (this.popupElement.isOpen()) {
|
|
115
|
+
this.popupElement.hide();
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Component event handling.
|
|
124
|
+
*/
|
|
125
|
+
this.onFocus = (ev) => {
|
|
126
|
+
this.focus = true;
|
|
127
|
+
this.duetFocus.emit({
|
|
128
|
+
originalEvent: ev,
|
|
129
|
+
checked: this.checked,
|
|
130
|
+
value: this.value,
|
|
131
|
+
component: "duet-chip",
|
|
132
|
+
});
|
|
133
|
+
};
|
|
134
|
+
this.onBlur = (ev) => {
|
|
135
|
+
this.focus = false;
|
|
136
|
+
this.duetBlur.emit({
|
|
137
|
+
originalEvent: ev,
|
|
138
|
+
checked: this.checked,
|
|
139
|
+
value: this.value,
|
|
140
|
+
component: "duet-chip",
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
this.emitChange = originalEvent => {
|
|
144
|
+
this.duetChange.emit({
|
|
145
|
+
originalEvent,
|
|
146
|
+
checked: this.checked,
|
|
147
|
+
value: this.value,
|
|
148
|
+
component: "duet-chip",
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Change checked state and emit duetChange event.
|
|
153
|
+
*/
|
|
154
|
+
this.onFilterChange = (evt) => {
|
|
155
|
+
this.checked = !this.checked;
|
|
156
|
+
this.emitChange(evt);
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* Change checked state and emit duetChange event.
|
|
160
|
+
*/
|
|
161
|
+
this.onRadioChange = (evt) => {
|
|
162
|
+
const input = this.focusableElement;
|
|
163
|
+
const inputChecked = input.checked;
|
|
164
|
+
this.checked = inputChecked;
|
|
165
|
+
this.emitChange(evt);
|
|
166
|
+
};
|
|
167
|
+
this.onRadioClick = (evt) => {
|
|
168
|
+
if (this.disabled) {
|
|
169
|
+
evt.preventDefault();
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Stop propagation and prevent default if popup is present, as the popup controls value and checked state.
|
|
174
|
+
*/
|
|
175
|
+
this.onFilterClick = (evt) => {
|
|
176
|
+
if (this.disabled) {
|
|
177
|
+
evt.stopPropagation();
|
|
178
|
+
evt.preventDefault();
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
if (this.popupElement) {
|
|
182
|
+
evt.stopPropagation();
|
|
183
|
+
evt.preventDefault();
|
|
184
|
+
this.popupElement.toggle();
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Remove input chip
|
|
189
|
+
*/
|
|
190
|
+
this.onRemoveClick = (evt) => {
|
|
191
|
+
evt === null || evt === void 0 ? void 0 : evt.stopPropagation();
|
|
192
|
+
evt === null || evt === void 0 ? void 0 : evt.preventDefault();
|
|
193
|
+
this.duetRemove.emit({
|
|
194
|
+
originalEvent: evt,
|
|
195
|
+
checked: this.checked,
|
|
196
|
+
value: this.value,
|
|
197
|
+
component: "duet-chip",
|
|
198
|
+
});
|
|
199
|
+
this.element.remove();
|
|
200
|
+
};
|
|
201
|
+
this.focus = false;
|
|
202
|
+
this.popupElement = undefined;
|
|
203
|
+
this.popupOpen = undefined;
|
|
204
|
+
this.inputChipHover = false;
|
|
205
|
+
this.inputChipDeleteFocus = false;
|
|
206
|
+
this.accessibleLabel = undefined;
|
|
207
|
+
this.variation = "button";
|
|
208
|
+
this.size = "medium";
|
|
209
|
+
this.popup = undefined;
|
|
210
|
+
this.icon = "";
|
|
211
|
+
this.theme = "";
|
|
212
|
+
this.identifier = undefined;
|
|
213
|
+
this.value = undefined;
|
|
214
|
+
this.name = undefined;
|
|
215
|
+
this.selected = false;
|
|
216
|
+
this.checked = false;
|
|
217
|
+
this.disabled = false;
|
|
218
|
+
this.accessibleExpanded = undefined;
|
|
219
|
+
this.accessiblePopup = "false";
|
|
220
|
+
}
|
|
221
|
+
clearOtherRadioButtons() {
|
|
222
|
+
if (this.variation === "radio" && this.checked) {
|
|
223
|
+
const chips = document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`);
|
|
224
|
+
chips.forEach(chip => {
|
|
225
|
+
if (chip !== this.element) {
|
|
226
|
+
chip.checked = false;
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Component lifecycle events.
|
|
233
|
+
*/
|
|
234
|
+
componentWillLoad() {
|
|
235
|
+
inheritGlobalTheme(this);
|
|
236
|
+
this.popupSetUp();
|
|
237
|
+
this.enforceNoDisabledSelected();
|
|
238
|
+
}
|
|
239
|
+
connectedCallback() {
|
|
240
|
+
subscribeTabbingChange(this);
|
|
241
|
+
}
|
|
242
|
+
disconnectedCallback() {
|
|
243
|
+
unsubscribeTabbingChange(this);
|
|
244
|
+
}
|
|
245
|
+
componentDidRender() {
|
|
246
|
+
if (this.variation === "radio") {
|
|
247
|
+
this.radioInputSetUp();
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
getAccessibleExpanded() {
|
|
251
|
+
if (this.accessibleExpanded != null) {
|
|
252
|
+
return (!!this.accessibleExpanded).toString();
|
|
253
|
+
}
|
|
254
|
+
if (this.popupElement) {
|
|
255
|
+
return this.popupOpen ? "true" : "false";
|
|
256
|
+
}
|
|
257
|
+
return undefined;
|
|
258
|
+
}
|
|
259
|
+
getAccessiblePopup() {
|
|
260
|
+
if (this.popupElement) {
|
|
261
|
+
return "true";
|
|
262
|
+
}
|
|
263
|
+
else {
|
|
264
|
+
return this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
getAccessibleDeleteLabel() {
|
|
268
|
+
return `${getLocaleString(this.deleteLabels)} ${this.element.textContent}`;
|
|
269
|
+
}
|
|
270
|
+
getAccessibleInputChipLabel() {
|
|
271
|
+
return `${this.element.textContent}${this.selected ? ` (${getLocaleString(this.selectedForDeletionLabels)}) ` : ""},`;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Sets focus. Use this method instead of the global focus().
|
|
275
|
+
*/
|
|
276
|
+
async setFocus(options) {
|
|
277
|
+
setTimeout(() => this.focusableElement.focus(options), 200);
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* @internal
|
|
281
|
+
*/
|
|
282
|
+
async setDeleteFocus() {
|
|
283
|
+
setTimeout(() => this.deleteButtonElement.focus(), 200);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Removes input chip. Use this method instead of the native remove() so the component can
|
|
287
|
+
* emit appropriate event
|
|
288
|
+
*/
|
|
289
|
+
async removeChip() {
|
|
290
|
+
this.onRemoveClick();
|
|
291
|
+
}
|
|
292
|
+
render() {
|
|
293
|
+
var _a;
|
|
294
|
+
const identifier = this.identifier || this.chipId;
|
|
295
|
+
const classes = {
|
|
296
|
+
"duet-chip-container": true,
|
|
297
|
+
[`duet-chip-${this.variation}`]: true,
|
|
298
|
+
"duet-chip-focus": this.focus,
|
|
299
|
+
"duet-chip-selected": this.selected,
|
|
300
|
+
"duet-chip-hover": this.inputChipHover,
|
|
301
|
+
"duet-chip-delete-focus": this.inputChipDeleteFocus,
|
|
302
|
+
"duet-chip-has-icon": !!this.icon,
|
|
303
|
+
"duet-chip-has-popup": this.variation === "filter" && !!this.popupElement,
|
|
304
|
+
"duet-theme-turva": this.theme === "turva",
|
|
305
|
+
"duet-chip-filter-checked": this.variation === "filter" && this.checked,
|
|
306
|
+
"duet-chip-radio-checked": this.variation === "radio" && this.checked,
|
|
307
|
+
"duet-chip-filter-popup-open": this.popupOpen,
|
|
308
|
+
"duet-chip-disabled": this.disabled,
|
|
309
|
+
[this.size]: true,
|
|
310
|
+
};
|
|
311
|
+
const focusHandlers = {
|
|
312
|
+
onFocus: this.onFocus,
|
|
313
|
+
onBlur: this.onBlur,
|
|
314
|
+
ref: el => (this.focusableElement = el),
|
|
315
|
+
};
|
|
316
|
+
return (h(Host, { key: 'a1e4d371f57abce15c06aa88bf2faab012bde60a', class: { [this.variation]: true } }, this.variation === "button" && (h("span", { key: '48b8e4b70be8c4511a33be55c6fd25ec850fe1c2', class: classes }, h("button", Object.assign({ key: '1e92c0aff2f7d6817644759f8fc0a338a12e651e', id: identifier, "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("span", { key: 'f0dfef6892bc184005d490ad2d1d5f9ff5c21fe9', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '490e975ca8e0573278761ac8fe978a5bac7f1188', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '1e44610c8ab2868243517a700bfdb9e5adbd5d0d' })))), this.variation === "input" && (h("span", { key: 'b4340e31757471ddf6e7e326c4738a34f57d668c', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, h("button", Object.assign({ key: 'dbb4afd5b7f46baa28a026ff4531db068eac8980', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), h("span", { key: '6e871c13f043685a2bd1fbf484256e801437a86b', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '74c2893dc01e6e13a2baf628908c5f92a3bfc9d5', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: 'f0600d50d6bc3a1b549d9d7b8a3c62d4d02ab53f' })), h("button", { key: '70055da94df9cb43034d6b70e63c2748ca91eee5', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, h("duet-icon", { key: '1201fc54755c07ce2bbadfc2ec8aa29d5faa43eb', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("span", { key: 'c6c3ddfc24d0bce8113029c644f01c5eceee6936', class: classes }, h("input", Object.assign({ key: 'dae5813deea4c2b7798852027cc65d2be069fa05', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { key: '5c7534979701b02d02649f0b77aadfae19568c15', htmlFor: identifier }, this.icon && (h("span", { key: 'a92359d55dae65066120c53db2f8fcfa09f89904', class: "duet-chip-icon-container" }, h("duet-icon", { key: '9193a5782a8848231e53276b90b0ce2e665e2812', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '78717f62e085fb0528f6ee7b141691f6c7555f42', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '7c210530d8bb610ac7aaadd0f4a7510ddd020d12' }), this.popupElement && (h("span", { key: '2a6053db849ac7543ce7649c94a3fda09d7dd2f3', class: "duet-chip-popup-disclosure" }, h("duet-icon", { key: 'e21b78ef1b4fca374c1112e4d492ed57f8ab9cab', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("span", { key: 'a964e2e03bfbf19d8a01f8475ee6d4b81c671c76', class: classes }, h("slot", { key: '3b64cb528868bf3f36b83bfe613df41d7ee17513', name: "input" }), h("label", { key: 'f3f52816c1229c2446f51642bcba073e95d44139', htmlFor: identifier }, this.icon && (h("span", { key: 'e5d0dbadb5b2cc473dd1ad618bdc3f0e00d3f02c', class: "duet-chip-icon-container" }, h("duet-icon", { key: '498cf093393d6b44a60aad4b73520d4f3ebecde2', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '153615d1f9923f824ca91a8799dfaebb9489ad47', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '6f89ed2bcee2e5cdf1b6505f04be602fad04b904' }))))));
|
|
317
|
+
}
|
|
318
|
+
get element() { return this; }
|
|
319
|
+
static get watchers() { return {
|
|
320
|
+
"checked": ["clearOtherRadioButtons"]
|
|
321
|
+
}; }
|
|
322
|
+
static get style() { return DuetChipStyle0; }
|
|
323
|
+
}, [1, "duet-chip", {
|
|
324
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
325
|
+
"variation": [1],
|
|
326
|
+
"size": [1],
|
|
327
|
+
"popup": [1],
|
|
328
|
+
"icon": [1],
|
|
329
|
+
"theme": [1025],
|
|
330
|
+
"identifier": [1],
|
|
331
|
+
"value": [1537],
|
|
332
|
+
"name": [1],
|
|
333
|
+
"selected": [1028],
|
|
334
|
+
"checked": [1540],
|
|
335
|
+
"disabled": [4],
|
|
336
|
+
"accessibleExpanded": [1540, "accessible-expanded"],
|
|
337
|
+
"accessiblePopup": [1537, "accessible-popup"],
|
|
338
|
+
"focus": [32],
|
|
339
|
+
"popupElement": [32],
|
|
340
|
+
"popupOpen": [32],
|
|
341
|
+
"inputChipHover": [32],
|
|
342
|
+
"inputChipDeleteFocus": [32],
|
|
343
|
+
"setFocus": [64],
|
|
344
|
+
"setDeleteFocus": [64],
|
|
345
|
+
"removeChip": [64]
|
|
346
|
+
}, undefined, {
|
|
347
|
+
"checked": ["clearOtherRadioButtons"]
|
|
348
|
+
}]);
|
|
349
|
+
function defineCustomElement() {
|
|
350
|
+
if (typeof customElements === "undefined") {
|
|
351
|
+
return;
|
|
352
|
+
}
|
|
353
|
+
const components = ["duet-chip", "duet-icon"];
|
|
354
|
+
components.forEach(tagName => { switch (tagName) {
|
|
355
|
+
case "duet-chip":
|
|
356
|
+
if (!customElements.get(tagName)) {
|
|
357
|
+
customElements.define(tagName, DuetChip);
|
|
358
|
+
}
|
|
359
|
+
break;
|
|
360
|
+
case "duet-icon":
|
|
361
|
+
if (!customElements.get(tagName)) {
|
|
362
|
+
defineCustomElement$1();
|
|
363
|
+
}
|
|
364
|
+
break;
|
|
365
|
+
} });
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export { DuetChip as D, defineCustomElement as d };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-1149a5f1.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { d as debounce } from './p-9e371678.js';
|
|
8
|
-
import { i as isKeyboardClick } from './p-
|
|
9
|
-
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
10
|
-
import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { i as isKeyboardClick } from './p-ca700701.js';
|
|
9
|
+
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-69f6a6aa.js';
|
|
10
|
+
import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './p-9fa78368.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-3883514c.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-d551ba52.js';
|
|
13
13
|
|
|
14
|
-
const duetActionButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(
|
|
14
|
+
const duetActionButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";
|
|
15
15
|
const DuetActionButtonStyle0 = duetActionButtonCss;
|
|
16
16
|
|
|
17
17
|
const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class DuetActionButton extends H {
|
|
@@ -14,7 +14,7 @@ const colorCategoryTravelTurva = "rgb(9, 129, 148)";
|
|
|
14
14
|
const colorCategoryUnionTurva = "rgb(169, 69, 124)";
|
|
15
15
|
const colorCategoryVehicle = "rgb(54, 74, 129)";
|
|
16
16
|
const colorCategoryVehicleTurva = "rgb(23, 28, 58)";
|
|
17
|
-
const colorDanger = "rgb(
|
|
17
|
+
const colorDanger = "rgb(214, 28, 82)";
|
|
18
18
|
const colorDanger00 = "rgb(255, 240, 243)";
|
|
19
19
|
const colorDanger100 = "rgb(255, 211, 219)";
|
|
20
20
|
const colorDanger1000 = "rgb(89, 0, 45)";
|
|
@@ -27,7 +27,7 @@ const colorDanger600 = "rgb(214, 28, 82)";
|
|
|
27
27
|
const colorDanger700 = "rgb(185, 16, 74)";
|
|
28
28
|
const colorDanger800 = "rgb(153, 9, 66)";
|
|
29
29
|
const colorDanger900 = "rgb(120, 4, 56)";
|
|
30
|
-
const colorDangerTurva = "rgb(
|
|
30
|
+
const colorDangerTurva = "rgb(214, 28, 82)";
|
|
31
31
|
const colorData01 = "rgb(122, 1, 196)";
|
|
32
32
|
const colorData02 = "rgb(0, 155, 204)";
|
|
33
33
|
const colorData03 = "rgb(27, 171, 75)";
|
|
@@ -43,18 +43,18 @@ const colorData12 = "rgb(11, 114, 136)";
|
|
|
43
43
|
const colorData13 = "rgb(179, 137, 24)";
|
|
44
44
|
const colorData14 = "rgb(128, 98, 17)";
|
|
45
45
|
const colorData15 = "rgb(0, 41, 77)";
|
|
46
|
-
const colorGray = "rgb(
|
|
47
|
-
const colorGrayDark = "rgb(
|
|
48
|
-
const colorGrayDarkTurva = "rgb(
|
|
49
|
-
const colorGrayDarker = "rgb(
|
|
50
|
-
const colorGrayDarkerTurva = "rgb(
|
|
51
|
-
const colorGrayLight = "rgb(
|
|
52
|
-
const colorGrayLightTurva = "rgb(
|
|
46
|
+
const colorGray = "rgb(181, 198, 208)";
|
|
47
|
+
const colorGrayDark = "rgb(127, 150, 165)";
|
|
48
|
+
const colorGrayDarkTurva = "rgb(143, 147, 158)";
|
|
49
|
+
const colorGrayDarker = "rgb(98, 121, 138)";
|
|
50
|
+
const colorGrayDarkerTurva = "rgb(113, 118, 132)";
|
|
51
|
+
const colorGrayLight = "rgb(212, 223, 229)";
|
|
52
|
+
const colorGrayLightTurva = "rgb(222, 224, 228)";
|
|
53
53
|
const colorGrayLighter = "rgb(245, 248, 250)";
|
|
54
|
-
const colorGrayLighterTurva = "rgb(245,
|
|
54
|
+
const colorGrayLighterTurva = "rgb(245, 247, 250)";
|
|
55
55
|
const colorGrayLightest = "rgb(255, 255, 255)";
|
|
56
56
|
const colorGrayLightestTurva = "rgb(255, 255, 255)";
|
|
57
|
-
const colorGrayTurva = "rgb(
|
|
57
|
+
const colorGrayTurva = "rgb(199, 202, 207)";
|
|
58
58
|
const colorLtBlue00 = "rgb(240, 247, 250)";
|
|
59
59
|
const colorLtBlue100 = "rgb(217, 236, 245)";
|
|
60
60
|
const colorLtBlue1000 = "rgb(8, 42, 77)";
|
|
@@ -80,20 +80,20 @@ const colorLtGray700 = "rgb(62, 84, 102)";
|
|
|
80
80
|
const colorLtGray800 = "rgb(45, 64, 81)";
|
|
81
81
|
const colorLtGray900 = "rgb(30, 45, 59)";
|
|
82
82
|
const colorPrimary = "rgb(0, 119, 179)";
|
|
83
|
-
const colorPrimaryDark = "rgb(0,
|
|
84
|
-
const colorPrimaryDarkTurva = "rgb(
|
|
85
|
-
const colorPrimaryDarker = "rgb(0,
|
|
86
|
-
const colorPrimaryDarkerTurva = "rgb(
|
|
87
|
-
const colorPrimaryLight = "rgb(
|
|
88
|
-
const colorPrimaryLightTurva = "rgb(
|
|
89
|
-
const colorPrimaryLighter = "rgb(
|
|
90
|
-
const colorPrimaryLighterTurva = "rgb(
|
|
91
|
-
const colorPrimaryLightest = "rgb(
|
|
92
|
-
const colorPrimaryLightestTurva = "rgb(
|
|
83
|
+
const colorPrimaryDark = "rgb(0, 75, 129)";
|
|
84
|
+
const colorPrimaryDarkTurva = "rgb(126, 2, 35)";
|
|
85
|
+
const colorPrimaryDarker = "rgb(0, 97, 155)";
|
|
86
|
+
const colorPrimaryDarkerTurva = "rgb(164, 4, 40)";
|
|
87
|
+
const colorPrimaryLight = "rgb(198, 225, 238)";
|
|
88
|
+
const colorPrimaryLightTurva = "rgb(255, 185, 190)";
|
|
89
|
+
const colorPrimaryLighter = "rgb(228, 241, 247)";
|
|
90
|
+
const colorPrimaryLighterTurva = "rgb(255, 227, 228)";
|
|
91
|
+
const colorPrimaryLightest = "rgb(240, 247, 250)";
|
|
92
|
+
const colorPrimaryLightestTurva = "rgb(255, 241, 241)";
|
|
93
93
|
const colorPrimaryTurva = "rgb(198, 12, 48)";
|
|
94
|
-
const colorSecondary = "rgb(
|
|
94
|
+
const colorSecondary = "rgb(8, 42, 77)";
|
|
95
95
|
const colorSecondaryTurva = "rgb(23, 28, 58)";
|
|
96
|
-
const colorSuccess = "rgb(
|
|
96
|
+
const colorSuccess = "rgb(48, 131, 105)";
|
|
97
97
|
const colorSuccess00 = "rgb(244, 250, 247)";
|
|
98
98
|
const colorSuccess100 = "rgb(218, 246, 233)";
|
|
99
99
|
const colorSuccess1000 = "rgb(4, 38, 33)";
|
|
@@ -106,7 +106,7 @@ const colorSuccess600 = "rgb(77, 171, 143)";
|
|
|
106
106
|
const colorSuccess700 = "rgb(48, 131, 105)";
|
|
107
107
|
const colorSuccess800 = "rgb(29, 106, 88)";
|
|
108
108
|
const colorSuccess900 = "rgb(13, 71, 59)";
|
|
109
|
-
const colorSuccessTurva = "rgb(
|
|
109
|
+
const colorSuccessTurva = "rgb(48, 131, 105)";
|
|
110
110
|
const colorTurvaGray00 = "rgb(245, 247, 250)";
|
|
111
111
|
const colorTurvaGray100 = "rgb(222, 224, 228)";
|
|
112
112
|
const colorTurvaGray1000 = "rgb(8, 13, 38)";
|
|
@@ -144,7 +144,7 @@ const colorWarning600 = "rgb(212, 151, 32)";
|
|
|
144
144
|
const colorWarning700 = "rgb(156, 110, 22)";
|
|
145
145
|
const colorWarning800 = "rgb(126, 87, 16)";
|
|
146
146
|
const colorWarning900 = "rgb(81, 55, 9)";
|
|
147
|
-
const colorWarningTurva = "rgb(
|
|
147
|
+
const colorWarningTurva = "rgb(247, 178, 40)";
|
|
148
148
|
const fontFamilyHeading = "'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
|
|
149
149
|
const fontFamilyHeadingTurva = "'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
|
|
150
150
|
const fontFamilyText = "'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
const NAMESPACE = 'duet';
|
|
5
5
|
const BUILD = /* duet */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: false, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: true, shadowDelegatesFocus: true, shadowDom: true, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
6
|
-
const Env = /* duet */ {"cdnURILocal":"http://localhost:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"4.0.
|
|
6
|
+
const Env = /* duet */ {"cdnURILocal":"http://localhost:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"4.0.70"};
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Platform v4.22.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -1235,7 +1235,7 @@ var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
|
|
|
1235
1235
|
if (element && parent && element.nodeType === 1 /* ElementNode */) {
|
|
1236
1236
|
const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
|
|
1237
1237
|
if (scopeIds.size) {
|
|
1238
|
-
(_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] =
|
|
1238
|
+
(_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = [...scopeIds]);
|
|
1239
1239
|
if (element["s-ol"] || iterateChildNodes) {
|
|
1240
1240
|
for (const childNode of Array.from(element.childNodes)) {
|
|
1241
1241
|
updateElementScopeIds(childNode, element, true);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-1149a5f1.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-aaa7a7bd.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
|
-
import { h as hasSlot } from './p-
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { h as hasSlot } from './p-c5df07b9.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-791ee647.js';
|
|
9
9
|
|
|
10
|
-
const duetFieldsetCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(
|
|
10
|
+
const duetFieldsetCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
11
11
|
const DuetFieldsetStyle0 = duetFieldsetCss;
|
|
12
12
|
|
|
13
13
|
const DuetFieldset = /*@__PURE__*/ proxyCustomElement(class DuetFieldset extends H {
|
|
@@ -43,20 +43,20 @@ const DuetFieldset = /*@__PURE__*/ proxyCustomElement(class DuetFieldset extends
|
|
|
43
43
|
* Always the last one in the class.
|
|
44
44
|
*/
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '48d4ee16b180357c5f92388611b1d9811fc560ad', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '8c8ec9d18b60ea69f0f8a7bc68f0a27fd93d7b4a', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
47
47
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
48
48
|
// once they do, we can remove errors from the aria-describedby
|
|
49
49
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
50
50
|
class: {
|
|
51
51
|
"duet-fieldset": true,
|
|
52
52
|
"duet-theme-turva": this.theme === "turva",
|
|
53
|
-
} }, h("legend", { key: '
|
|
53
|
+
} }, h("legend", { key: '6f165b5e848a765821866fe0f8cf622fb5f43231', id: this.labelId }, h(this.labelHeadingLevel, { key: '68c8512465df39e946cb40414c248bdac8e201d6' }, this.label), this.caption && h("span", { key: 'c4e7436c129b51e34efb44bdc4ac4cff1fd0264a' }, this.caption)), h("div", { key: 'fb2d654dc97701d77af4a089af9d05d334b76d9d', class: {
|
|
54
54
|
"duet-legend-wrapper": true,
|
|
55
55
|
"duet-legend-has-caption": !!this.caption,
|
|
56
56
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
57
57
|
"duet-legend-hidden": this.labelHidden,
|
|
58
58
|
"duet-legend-compact": this.compactLabel,
|
|
59
|
-
} }, h("div", { key: '
|
|
59
|
+
} }, h("div", { key: '4fc06cf70c203c6bb13b2ef7f73ed34aa0c5b7f3', class: "duet-fieldset-label" }, h("span", { key: 'ba029a7b2a434a26d454c6c679fd6692ffd1bf05', "aria-hidden": "true" }, this.label), h("slot", { key: 'f2f48a06fe8d6b4cd2636d11615375dba7faed00', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '5706095fca6636ba7009add12721c1d4f3d13338', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'd09d569c80f8a803eafd0e30339a62b40c0bbd29', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'a6964b4d2a1932e979cc94ca7542fb2041582aac' }), h("span", { key: 'd92b76a6fab3c900a8b9f42301dd234e62632cfd', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '0006b187f93449997c58335e12cbe51c899e972a' }, this.error)))));
|
|
60
60
|
}
|
|
61
61
|
get element() { return this; }
|
|
62
62
|
static get style() { return DuetFieldsetStyle0; }
|