@duetds/components 7.0.13 → 7.1.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.d.ts +6 -6
- package/hydrate/index.js +554 -223
- package/lib/cjs/duet-action-button.cjs.entry.js +12 -8
- package/lib/cjs/duet-alert.cjs.entry.js +8 -5
- package/lib/cjs/duet-badge.cjs.entry.js +7 -2
- package/lib/cjs/duet-banner.cjs.entry.js +7 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +8 -4
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +10 -6
- package/lib/cjs/duet-callout.cjs.entry.js +6 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +40 -8
- package/lib/cjs/duet-card.cjs.entry.js +10 -6
- package/lib/cjs/duet-checkbox.cjs.entry.js +7 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip.cjs.entry.js +20 -16
- package/lib/cjs/duet-choice_2.cjs.entry.js +17 -10
- package/lib/cjs/duet-collapsible.cjs.entry.js +10 -6
- package/lib/cjs/duet-combobox.cjs.entry.js +6 -6
- package/lib/cjs/duet-contact-card.cjs.entry.js +8 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +6 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +10 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +16 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +7 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +8 -4
- package/lib/cjs/duet-footer.cjs.entry.js +9 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +12 -8
- package/lib/cjs/duet-hero.cjs.entry.js +10 -6
- package/lib/cjs/duet-icon.cjs.entry.js +7 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +13 -7
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +6 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +7 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +6 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -2
- package/lib/cjs/duet-modal.cjs.entry.js +11 -9
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -6
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +11 -4
- package/lib/cjs/duet-number-input.cjs.entry.js +10 -6
- package/lib/cjs/duet-page-heading.cjs.entry.js +6 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +11 -8
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +6 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -5
- package/lib/cjs/duet-progress.cjs.entry.js +9 -5
- package/lib/cjs/duet-promo-card.cjs.entry.js +7 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +8 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +8 -4
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +19 -12
- package/lib/cjs/duet-section-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-select.cjs.entry.js +8 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-show-more.cjs.entry.js +10 -6
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +8 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -2
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -6
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -8
- package/lib/cjs/duet-step_2.cjs.entry.js +11 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +7 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +7 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +8 -4
- package/lib/cjs/duet-toggle.cjs.entry.js +7 -3
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +7 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -3
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +6 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +23 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +10 -12
- package/lib/cjs/duet-tray.cjs.entry.js +9 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +9 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +10 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +6 -1
- package/lib/cjs/duet.cjs.js +4 -11
- package/lib/cjs/{errorcodes.utils-c85ef728.js → errorcodes.utils-8e928de5.js} +2 -2
- package/lib/cjs/{focus-utils-a94e86a5.js → focus-utils-135b1e70.js} +1 -1
- package/lib/cjs/{index-04d05fd9.js → index-8d4b3790.js} +505 -183
- package/lib/cjs/{language-utils-6f1ce5d7.js → language-utils-dc19e8b6.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -12
- package/lib/cjs/nudge-ee03ce2e.js +18 -0
- package/lib/cjs/{teleport-18e2b4b9.js → teleport-af825e04.js} +9 -12
- package/lib/collection/collection-manifest.json +98 -98
- package/lib/collection/components/duet-action-button/duet-action-button.js +22 -9
- package/lib/collection/components/duet-alert/duet-alert.e2e.js +53 -0
- package/lib/collection/components/duet-alert/duet-alert.js +26 -12
- package/lib/collection/components/duet-badge/duet-badge.e2e.js +28 -0
- package/lib/collection/components/duet-badge/duet-badge.js +11 -3
- package/lib/collection/components/duet-banner/duet-banner.e2e.js +23 -0
- package/lib/collection/components/duet-banner/duet-banner.js +20 -8
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +8 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +18 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -1
- package/lib/collection/components/duet-button/duet-button.e2e.js +210 -0
- package/lib/collection/components/duet-button/duet-button.js +33 -15
- package/lib/collection/components/duet-callout/duet-callout.e2e.js +21 -0
- package/lib/collection/components/duet-callout/duet-callout.js +8 -2
- package/lib/collection/components/duet-caption/duet-caption.e2e.js +26 -0
- package/lib/collection/components/duet-caption/duet-caption.js +11 -3
- package/lib/collection/components/duet-card/duet-card.e2e.js +91 -0
- package/lib/collection/components/duet-card/duet-card.js +28 -12
- package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +112 -0
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +18 -7
- package/lib/collection/components/duet-chip/duet-chip.e2e.js +46 -0
- package/lib/collection/components/duet-chip/duet-chip.js +51 -22
- package/lib/collection/components/duet-choice/duet-checkmark.js +4 -2
- package/lib/collection/components/duet-choice/duet-choice.e2e.js +181 -0
- package/lib/collection/components/duet-choice/duet-choice.js +31 -14
- package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +88 -0
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +14 -5
- package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +125 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +20 -8
- package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +110 -0
- package/lib/collection/components/duet-combobox/duet-combobox.js +14 -7
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +10 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +31 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +8 -2
- package/lib/collection/components/duet-date-picker/date-utils.spec.js +330 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +694 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +32 -14
- package/lib/collection/components/duet-divider/duet-divider.e2e.js +32 -0
- package/lib/collection/components/duet-divider/duet-divider.js +6 -3
- package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +29 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +24 -10
- package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +16 -0
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +11 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +13 -0
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +10 -3
- package/lib/collection/components/duet-footer/duet-footer.e2e.js +186 -0
- package/lib/collection/components/duet-footer/duet-footer.js +27 -12
- package/lib/collection/components/duet-grid/duet-grid.e2e.js +42 -0
- package/lib/collection/components/duet-grid/duet-grid.js +10 -5
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +8 -4
- package/lib/collection/components/duet-header/duet-header.e2e.js +468 -0
- package/lib/collection/components/duet-header/duet-header.js +54 -26
- package/lib/collection/components/duet-heading/duet-heading.e2e.js +27 -0
- package/lib/collection/components/duet-heading/duet-heading.js +16 -6
- package/lib/collection/components/duet-hero/duet-hero.css +30 -0
- package/lib/collection/components/duet-hero/duet-hero.e2e.js +172 -0
- package/lib/collection/components/duet-hero/duet-hero.js +30 -13
- package/lib/collection/components/duet-icon/duet-icon.e2e.js +32 -0
- package/lib/collection/components/duet-icon/duet-icon.js +18 -7
- package/lib/collection/components/duet-icon/icon-utils.spec.js +84 -0
- package/lib/collection/components/duet-input/duet-input.e2e.js +201 -0
- package/lib/collection/components/duet-input/duet-input.js +34 -16
- package/lib/collection/components/duet-label/duet-label.e2e.js +32 -0
- package/lib/collection/components/duet-label/duet-label.js +11 -3
- package/lib/collection/components/duet-layout/duet-layout.e2e.js +32 -0
- package/lib/collection/components/duet-layout/duet-layout.js +6 -3
- package/lib/collection/components/duet-link/duet-link.css +4 -1
- package/lib/collection/components/duet-link/duet-link.e2e.js +53 -0
- package/lib/collection/components/duet-link/duet-link.js +95 -11
- package/lib/collection/components/duet-list/duet-list.e2e.js +105 -0
- package/lib/collection/components/duet-list/duet-list.js +14 -7
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -1
- package/lib/collection/components/duet-logo/duet-logo.e2e.js +42 -0
- package/lib/collection/components/duet-logo/duet-logo.js +14 -7
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +6 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +10 -3
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +10 -3
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +6 -1
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +6 -1
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +125 -0
- package/lib/collection/components/duet-modal/duet-modal.js +26 -12
- package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +96 -0
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +24 -10
- package/lib/collection/components/duet-nav/duet-nav.js +2 -1
- package/lib/collection/components/duet-notification/duet-notification.e2e.js +12 -0
- package/lib/collection/components/duet-notification/duet-notification.js +15 -6
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +177 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +22 -9
- package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +32 -0
- package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +242 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +34 -15
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +8 -2
- package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +101 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +14 -6
- package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +27 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +16 -6
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +14 -7
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -8
- package/lib/collection/components/duet-progress/duet-progress.e2e.js +12 -0
- package/lib/collection/components/duet-progress/duet-progress.js +8 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +23 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +14 -5
- package/lib/collection/components/duet-radio/duet-radio.e2e.js +135 -0
- package/lib/collection/components/duet-radio/duet-radio.js +16 -8
- package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +57 -0
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +12 -4
- package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +57 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +18 -7
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +51 -0
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +10 -4
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +23 -0
- package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +12 -0
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +12 -9
- package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +22 -0
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +2 -1
- package/lib/collection/components/duet-select/duet-select.e2e.js +211 -0
- package/lib/collection/components/duet-select/duet-select.js +24 -10
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +4 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +20 -8
- package/lib/collection/components/duet-slideout/duet-slideout.js +14 -6
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +6 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +6 -1
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +12 -4
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +10 -3
- package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +27 -0
- package/lib/collection/components/duet-spacer/duet-spacer.js +6 -3
- package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +30 -0
- package/lib/collection/components/duet-spinner/duet-spinner.js +6 -3
- package/lib/collection/components/duet-step/duet-step.e2e.js +92 -0
- package/lib/collection/components/duet-step/duet-step.js +16 -6
- package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +85 -0
- package/lib/collection/components/duet-stepper/duet-stepper.js +10 -3
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +10 -3
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +10 -3
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +6 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +6 -1
- package/lib/collection/components/duet-tab/duet-tab.e2e.js +16 -0
- package/lib/collection/components/duet-tab/duet-tab.js +7 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +108 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +26 -12
- package/lib/collection/components/duet-table/duet-table.e2e.js +95 -0
- package/lib/collection/components/duet-table/duet-table.js +10 -5
- package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +199 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +22 -9
- package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +73 -0
- package/lib/collection/components/duet-toggle/duet-toggle.js +14 -5
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +10 -3
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +6 -1
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +6 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +10 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +34 -7
- package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +99 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +15 -11
- package/lib/collection/components/duet-tray/duet-tray.e2e.js +103 -0
- package/lib/collection/components/duet-tray/duet-tray.js +12 -4
- package/lib/collection/components/duet-upload/duet-upload.e2e.js +49 -0
- package/lib/collection/components/duet-upload/duet-upload.js +73 -35
- package/lib/collection/components/duet-upload/upload-validators.spec.js +41 -0
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +10 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +23 -9
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +12 -0
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +5 -0
- package/lib/collection/utils/create-id.spec.js +12 -0
- package/lib/collection/utils/js-utils.spec.js +22 -0
- package/lib/collection/utils/language-utils.spec.js +159 -0
- package/lib/collection/utils/math.utils.spec.js +140 -0
- package/lib/collection/utils/nudge.js +14 -0
- package/lib/collection/utils/string-utils.spec.js +39 -0
- package/lib/collection/utils/teleport.js +9 -12
- package/lib/collection/utils/template-utils.spec.js +39 -0
- package/lib/collection/utils/token-utils.spec.js +178 -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 +11 -7
- package/lib/dist-custom-elements/duet-breadcrumb.js +9 -5
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +9 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +13 -9
- 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 +26 -19
- package/lib/dist-custom-elements/duet-choice-group.js +21 -11
- package/lib/dist-custom-elements/duet-choice.js +17 -13
- package/lib/dist-custom-elements/duet-collapsible.js +12 -8
- package/lib/dist-custom-elements/duet-combobox.js +15 -10
- package/lib/dist-custom-elements/duet-contact-card.js +15 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +12 -8
- package/lib/dist-custom-elements/duet-date-picker.js +28 -19
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +17 -13
- 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-footer.js +16 -9
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +28 -17
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +23 -15
- 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 +3 -3
- 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 +8 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +9 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +9 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +8 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +6 -4
- package/lib/dist-custom-elements/duet-modal.js +21 -16
- package/lib/dist-custom-elements/duet-multiselect.js +23 -17
- package/lib/dist-custom-elements/duet-nav.js +3 -3
- package/lib/dist-custom-elements/duet-notification-drawer.js +11 -7
- package/lib/dist-custom-elements/duet-notification.js +9 -5
- package/lib/dist-custom-elements/duet-number-input.js +20 -16
- package/lib/dist-custom-elements/duet-page-heading.js +8 -4
- package/lib/dist-custom-elements/duet-pagination.js +25 -20
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +8 -4
- package/lib/dist-custom-elements/duet-popup-menu.js +6 -6
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +10 -6
- package/lib/dist-custom-elements/duet-radio-group.js +21 -11
- package/lib/dist-custom-elements/duet-radio.js +4 -4
- package/lib/dist-custom-elements/duet-range-slider.js +10 -6
- package/lib/dist-custom-elements/duet-range-stepper.js +14 -9
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +3 -3
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +14 -10
- package/lib/dist-custom-elements/duet-slideout-lang.js +9 -5
- package/lib/dist-custom-elements/duet-slideout-link.js +8 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -4
- package/lib/dist-custom-elements/duet-slideout-panel.js +11 -7
- package/lib/dist-custom-elements/duet-slideout.js +11 -9
- 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 +12 -8
- package/lib/dist-custom-elements/duet-stepper.js +12 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +9 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +9 -5
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +9 -5
- package/lib/dist-custom-elements/duet-submenu-bar.js +11 -5
- package/lib/dist-custom-elements/duet-tab-group.js +20 -18
- package/lib/dist-custom-elements/duet-tab.js +8 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +20 -14
- package/lib/dist-custom-elements/duet-toggle.js +11 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +9 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +9 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +8 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- 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 +11 -7
- 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 +30 -24
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.d.ts +6 -0
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/p-040f8831.js +16 -0
- package/lib/dist-custom-elements/{p-7a8c2aed.js → p-092ff822.js} +17 -17
- package/lib/dist-custom-elements/{p-5128c90e.js → p-0c7dab94.js} +10 -6
- package/lib/dist-custom-elements/{p-fbdc5afe.js → p-227dc421.js} +3 -3
- package/lib/dist-custom-elements/{p-7394e25f.js → p-24853ebf.js} +9 -12
- package/lib/dist-custom-elements/{p-ae9d10ef.js → p-2764b248.js} +9 -4
- package/lib/dist-custom-elements/{p-89f61853.js → p-3c3e91d0.js} +4 -4
- package/lib/dist-custom-elements/{p-8a544a4a.js → p-461756c5.js} +8 -6
- package/lib/dist-custom-elements/{p-03baceb5.js → p-4883df66.js} +1 -1
- package/lib/dist-custom-elements/{p-e9d838dd.js → p-51a58715.js} +7 -3
- package/lib/dist-custom-elements/{p-87ab6444.js → p-5f06c4ee.js} +8 -4
- package/lib/dist-custom-elements/{p-778299c4.js → p-5fd9c816.js} +10 -6
- package/lib/dist-custom-elements/{p-ec4d603d.js → p-62c7d9d4.js} +1 -1
- package/lib/dist-custom-elements/{p-811e436b.js → p-6e063bb0.js} +8 -3
- package/lib/dist-custom-elements/{p-e4de8f7b.js → p-720c72c5.js} +18 -9
- package/lib/dist-custom-elements/{p-580110b9.js → p-7579d4ae.js} +507 -166
- package/lib/dist-custom-elements/{p-444a8a81.js → p-7da4aa07.js} +7 -2
- package/lib/dist-custom-elements/{p-235639a0.js → p-8160c830.js} +14 -10
- package/lib/dist-custom-elements/{p-e8146874.js → p-84946626.js} +35 -9
- package/lib/dist-custom-elements/{p-735d77aa.js → p-8800fa36.js} +8 -3
- package/lib/dist-custom-elements/{p-31d056ee.js → p-8afda636.js} +21 -16
- package/lib/dist-custom-elements/{p-9ec763ef.js → p-8f0848ab.js} +3 -3
- package/lib/dist-custom-elements/{p-e7815ffd.js → p-9468d6ea.js} +4 -4
- package/lib/dist-custom-elements/{p-891cf00a.js → p-96f45950.js} +2 -2
- package/lib/dist-custom-elements/{p-457ad3b4.js → p-a0669ee9.js} +9 -5
- package/lib/dist-custom-elements/{p-7ccf98f1.js → p-aa2863af.js} +8 -3
- package/lib/dist-custom-elements/{p-216ee242.js → p-bc972b0a.js} +8 -4
- package/lib/dist-custom-elements/{p-061830ef.js → p-c5032d3a.js} +1 -1
- package/lib/dist-custom-elements/{p-70bf0b69.js → p-cfca65c8.js} +17 -13
- package/lib/dist-custom-elements/{p-9510958d.js → p-d27dc964.js} +12 -9
- package/lib/dist-custom-elements/{p-6658c850.js → p-db1ac527.js} +12 -4
- package/lib/dist-custom-elements/{p-86766141.js → p-dbe427e1.js} +19 -14
- package/lib/dist-custom-elements/{p-03e72a70.js → p-e19d1e27.js} +1 -1
- package/lib/dist-custom-elements/{p-147839fe.js → p-eb55b736.js} +16 -3
- package/lib/dist-custom-elements/{p-dddcc1da.js → p-eea6945b.js} +5 -5
- package/lib/dist-custom-elements/{p-6ff6de66.js → p-f06ebf0f.js} +19 -12
- package/lib/dist-custom-elements/{p-b4fb8e06.js → p-f2263866.js} +25 -6
- package/lib/dist-custom-elements/{p-3b2d38bd.js → p-f6ae66d9.js} +8 -4
- package/lib/dist-custom-elements/{p-32b3e436.js → p-fa9cb266.js} +12 -4
- package/lib/dist-custom-elements/{p-54138086.js → p-fc5aceac.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +2 -6
- package/lib/duet/p-015c6c0f.entry.js +4 -0
- package/lib/duet/p-040f8831.js +4 -0
- package/lib/duet/p-053b71e6.system.js +1 -1
- package/lib/duet/p-05432941.system.entry.js +4 -0
- package/lib/duet/p-07ae2d9c.system.js +5 -0
- package/lib/duet/p-07bf4b25.system.entry.js +4 -0
- package/lib/duet/{p-b760effb.entry.js → p-09694f22.entry.js} +1 -1
- package/lib/duet/p-0c4bbd65.system.js +1 -1
- package/lib/duet/p-168f9b1c.entry.js +4 -0
- package/lib/duet/p-1a91e22a.system.js +4 -0
- package/lib/duet/p-1b56e37f.system.entry.js +4 -0
- package/lib/duet/p-1fb54404.system.entry.js +4 -0
- package/lib/duet/p-2043a083.entry.js +4 -0
- package/lib/duet/{p-8a3fcbdb.system.entry.js → p-2118ce4b.system.entry.js} +1 -1
- package/lib/duet/p-21f3a17a.system.js +1 -1
- package/lib/duet/p-22a9a885.system.entry.js +4 -0
- package/lib/duet/p-22c45d9c.system.entry.js +4 -0
- package/lib/duet/p-232940fa.system.js +4 -0
- package/lib/duet/p-24853ebf.js +4 -0
- package/lib/duet/{p-c201968f.entry.js → p-2622c405.entry.js} +1 -1
- package/lib/duet/p-26415995.entry.js +4 -0
- package/lib/duet/p-26e1dca0.system.entry.js +4 -0
- package/lib/duet/p-28f8fa55.system.entry.js +4 -0
- package/lib/duet/p-299e8254.entry.js +4 -0
- package/lib/duet/p-2abe65e5.entry.js +4 -0
- package/lib/duet/p-31382b41.system.entry.js +4 -0
- package/lib/duet/p-31a0d4f6.system.entry.js +4 -0
- package/lib/duet/p-3469e15c.entry.js +4 -0
- package/lib/duet/{p-0c6705bb.system.entry.js → p-35762693.system.entry.js} +1 -1
- package/lib/duet/p-38eb6aa3.system.entry.js +4 -0
- package/lib/duet/p-3a0fde44.entry.js +4 -0
- package/lib/duet/{p-a678835a.entry.js → p-3e27b126.entry.js} +1 -1
- package/lib/duet/p-3f78ed00.entry.js +4 -0
- package/lib/duet/p-3f96e6be.system.entry.js +4 -0
- package/lib/duet/{p-e7cc2826.system.entry.js → p-3fbc446a.system.entry.js} +1 -1
- package/lib/duet/p-403df195.entry.js +4 -0
- package/lib/duet/p-406ec3c8.entry.js +4 -0
- package/lib/duet/p-442872df.system.entry.js +4 -0
- package/lib/duet/p-449c2232.system.entry.js +4 -0
- package/lib/duet/p-4655fafc.entry.js +4 -0
- package/lib/duet/{p-e91385fb.js → p-4669b0af.js} +1 -1
- package/lib/duet/p-4801f8f8.system.entry.js +4 -0
- package/lib/duet/{p-03baceb5.js → p-4883df66.js} +1 -1
- package/lib/duet/p-4abb665b.system.entry.js +4 -0
- package/lib/duet/p-4ce91f2d.system.entry.js +4 -0
- package/lib/duet/p-4e958a51.system.entry.js +4 -0
- package/lib/duet/p-5167068e.system.entry.js +4 -0
- package/lib/duet/p-52e15824.entry.js +4 -0
- package/lib/duet/p-53da8993.entry.js +4 -0
- package/lib/duet/p-556983df.entry.js +4 -0
- package/lib/duet/p-56b259c4.system.entry.js +4 -0
- package/lib/duet/p-57b02e39.system.entry.js +4 -0
- package/lib/duet/p-5aa42e6e.system.entry.js +4 -0
- package/lib/duet/p-5b014c86.system.js +4 -0
- package/lib/duet/p-5c08947a.system.entry.js +4 -0
- package/lib/duet/p-5e25fed6.system.entry.js +4 -0
- package/lib/duet/p-6043a34d.entry.js +4 -0
- package/lib/duet/p-618fae79.system.entry.js +4 -0
- package/lib/duet/p-61989371.system.entry.js +4 -0
- package/lib/duet/p-6278bb45.system.entry.js +4 -0
- package/lib/duet/p-62e31f4f.entry.js +4 -0
- package/lib/duet/p-64599d16.entry.js +4 -0
- package/lib/duet/p-64c58523.system.entry.js +4 -0
- package/lib/duet/p-6665a293.entry.js +4 -0
- package/lib/duet/p-668716b8.system.js +4 -0
- package/lib/duet/p-678e5dee.entry.js +4 -0
- package/lib/duet/p-6878509c.system.entry.js +4 -0
- package/lib/duet/p-68c41c1e.system.entry.js +4 -0
- package/lib/duet/p-68e69fb0.entry.js +4 -0
- package/lib/duet/p-69180c8a.entry.js +4 -0
- package/lib/duet/p-69ed2463.entry.js +4 -0
- package/lib/duet/p-6a11cde0.system.entry.js +4 -0
- package/lib/duet/p-6ac42c0b.system.entry.js +4 -0
- package/lib/duet/p-6cd9e728.system.entry.js +4 -0
- package/lib/duet/p-6ff847d2.entry.js +4 -0
- package/lib/duet/p-70046a69.entry.js +4 -0
- package/lib/duet/p-7041ce72.system.entry.js +4 -0
- package/lib/duet/p-7047ac99.system.entry.js +4 -0
- package/lib/duet/p-719b38fe.system.js +4 -0
- package/lib/duet/p-73e91b76.entry.js +4 -0
- package/lib/duet/p-75daef16.system.js +4 -0
- package/lib/duet/p-7671b7b7.system.js +4 -0
- package/lib/duet/{p-16abb2d5.system.entry.js → p-76837ecf.system.entry.js} +1 -1
- package/lib/duet/{p-33b3aba4.system.js → p-77b6e4ba.system.js} +1 -1
- package/lib/duet/p-7862b921.entry.js +4 -0
- package/lib/duet/{p-e4e0578f.entry.js → p-79b111a8.entry.js} +1 -1
- package/lib/duet/p-79f248ef.entry.js +4 -0
- package/lib/duet/{p-4ab24dcd.entry.js → p-7b2e5d7f.entry.js} +1 -1
- package/lib/duet/p-7c29d36a.system.js +4 -0
- package/lib/duet/p-7cc4dfa7.entry.js +4 -0
- package/lib/duet/p-7d836058.entry.js +4 -0
- package/lib/duet/p-7ff3e582.entry.js +4 -0
- package/lib/duet/p-81107718.entry.js +4 -0
- package/lib/duet/p-846ff870.entry.js +4 -0
- package/lib/duet/p-8517c898.entry.js +4 -0
- package/lib/duet/p-867ac9cc.system.entry.js +4 -0
- package/lib/duet/p-8683ae46.system.entry.js +4 -0
- package/lib/duet/p-87dd7bf3.system.js +4 -0
- package/lib/duet/p-8972381a.system.js +4 -0
- package/lib/duet/p-89f3b845.entry.js +4 -0
- package/lib/duet/p-8b3ca5ab.system.entry.js +4 -0
- package/lib/duet/{p-7174ea1e.entry.js → p-8b5fcd98.entry.js} +1 -1
- package/lib/duet/p-8d0d6e06.system.js +4 -0
- package/lib/duet/p-8e1da663.system.js +4 -0
- package/lib/duet/p-8f477bd6.system.js +1 -1
- package/lib/duet/p-90c5eed1.entry.js +4 -0
- package/lib/duet/p-91aef612.entry.js +4 -0
- package/lib/duet/p-92978891.system.entry.js +4 -0
- package/lib/duet/p-930e7709.system.entry.js +4 -0
- package/lib/duet/p-9323e964.js +4 -0
- package/lib/duet/p-93877e30.system.entry.js +4 -0
- package/lib/duet/{p-e91a7222.entry.js → p-93c389a8.entry.js} +1 -1
- package/lib/duet/p-94f4e0bf.entry.js +4 -0
- package/lib/duet/{p-0acc8f88.system.entry.js → p-9c7d954f.system.entry.js} +1 -1
- package/lib/duet/p-9d033a04.system.js +1 -1
- package/lib/duet/p-9f04f069.entry.js +4 -0
- package/lib/duet/p-a1b259b5.entry.js +4 -0
- package/lib/duet/p-a31ec36c.entry.js +4 -0
- package/lib/duet/{p-6d711206.entry.js → p-a3a93783.entry.js} +1 -1
- package/lib/duet/{p-f5903e7d.entry.js → p-a42e4e99.entry.js} +1 -1
- package/lib/duet/{p-7fe6bf2c.system.entry.js → p-a5d3e6fb.system.entry.js} +1 -1
- package/lib/duet/p-a65edc8c.entry.js +4 -0
- package/lib/duet/p-a7c0ac21.system.entry.js +4 -0
- package/lib/duet/p-aa326c4e.entry.js +4 -0
- package/lib/duet/p-ab981ff7.entry.js +4 -0
- package/lib/duet/p-ac711c85.entry.js +4 -0
- package/lib/duet/p-acb44157.system.entry.js +4 -0
- package/lib/duet/p-ae8732d6.system.entry.js +4 -0
- package/lib/duet/p-aeccbda2.entry.js +4 -0
- package/lib/duet/p-b1db3006.js +1 -1
- package/lib/duet/p-b223f9f3.entry.js +4 -0
- package/lib/duet/p-b440e72b.system.entry.js +4 -0
- package/lib/duet/{p-e4734600.entry.js → p-b4d48cd1.entry.js} +1 -1
- package/lib/duet/p-b66ecbb2.entry.js +4 -0
- package/lib/duet/p-b8c3530f.system.entry.js +4 -0
- package/lib/duet/{p-429a181d.system.entry.js → p-b9122050.system.entry.js} +1 -1
- package/lib/duet/p-b932a1dc.system.entry.js +4 -0
- package/lib/duet/p-b99c00fa.system.js +4 -0
- package/lib/duet/p-bd988e8e.entry.js +4 -0
- package/lib/duet/p-c05d40ff.system.entry.js +4 -0
- package/lib/duet/p-c2884d84.system.entry.js +4 -0
- package/lib/duet/p-c30a5f7c.system.js +4 -0
- package/lib/duet/p-c4162949.system.entry.js +4 -0
- package/lib/duet/p-c67fb8ae.entry.js +4 -0
- package/lib/duet/{p-7dc87593.system.entry.js → p-c7719838.system.entry.js} +1 -1
- package/lib/duet/p-c7d985bf.system.entry.js +4 -0
- package/lib/duet/p-c94181d2.entry.js +4 -0
- package/lib/duet/p-c97109b5.system.js +4 -0
- package/lib/duet/{p-8db716f2.system.entry.js → p-cb01acfa.system.entry.js} +2 -2
- package/lib/duet/p-cbe9191a.entry.js +4 -0
- package/lib/duet/p-cbf7f63b.entry.js +4 -0
- package/lib/duet/p-cefb4bab.entry.js +4 -0
- package/lib/duet/{p-213ba11f.entry.js → p-d0dd55f5.entry.js} +1 -1
- package/lib/duet/p-d1edbad6.system.entry.js +4 -0
- package/lib/duet/p-d3384a8b.entry.js +4 -0
- package/lib/duet/p-d366b0ac.system.entry.js +4 -0
- package/lib/duet/p-d3e74991.system.entry.js +4 -0
- package/lib/duet/p-d5ac9c19.system.entry.js +4 -0
- package/lib/duet/p-d60fc476.entry.js +4 -0
- package/lib/duet/p-d97155db.system.entry.js +4 -0
- package/lib/duet/p-da858b14.entry.js +4 -0
- package/lib/duet/p-daea7760.entry.js +4 -0
- package/lib/duet/p-e0321b18.system.entry.js +4 -0
- package/lib/duet/{p-7804ff1e.entry.js → p-e1178f0e.entry.js} +1 -1
- package/lib/duet/p-e2d5f327.entry.js +4 -0
- package/lib/duet/p-e4a8487e.system.entry.js +4 -0
- package/lib/duet/p-e5fbc547.system.entry.js +4 -0
- package/lib/duet/p-e82882cb.system.entry.js +4 -0
- package/lib/duet/p-e8f76d19.system.entry.js +4 -0
- package/lib/duet/p-ea2375d5.entry.js +4 -0
- package/lib/duet/p-ebf8ad5c.system.entry.js +4 -0
- package/lib/duet/p-ec2b5cc2.system.entry.js +4 -0
- package/lib/duet/p-ecf1f6cd.system.js +4 -0
- package/lib/duet/p-ed5a5071.system.js +4 -0
- package/lib/duet/{p-1d463cc4.system.entry.js → p-f158a882.system.entry.js} +1 -1
- package/lib/duet/p-f6476f51.entry.js +4 -0
- package/lib/duet/p-f67da334.system.entry.js +4 -0
- package/lib/duet/p-f69e737e.system.entry.js +4 -0
- package/lib/duet/p-f89001e8.entry.js +4 -0
- package/lib/duet/{p-25495204.system.entry.js → p-faefd02d.system.entry.js} +2 -2
- package/lib/duet/p-fd0d794b.entry.js +4 -0
- package/lib/duet/p-fdcc3016.entry.js +4 -0
- package/lib/duet/p-ff9db811.js +5 -0
- package/lib/esm/duet-action-button.entry.js +12 -8
- package/lib/esm/duet-alert.entry.js +8 -5
- package/lib/esm/duet-badge.entry.js +7 -2
- package/lib/esm/duet-banner.entry.js +7 -3
- package/lib/esm/duet-breadcrumb.entry.js +8 -4
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +10 -6
- package/lib/esm/duet-callout.entry.js +6 -2
- package/lib/esm/duet-caption_4.entry.js +40 -8
- package/lib/esm/duet-card.entry.js +10 -6
- package/lib/esm/duet-checkbox.entry.js +7 -3
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip.entry.js +20 -16
- package/lib/esm/duet-choice_2.entry.js +17 -10
- package/lib/esm/duet-collapsible.entry.js +10 -6
- package/lib/esm/duet-combobox.entry.js +6 -6
- package/lib/esm/duet-contact-card.entry.js +8 -4
- package/lib/esm/duet-cookie-consent.entry.js +6 -2
- package/lib/esm/duet-date-picker.entry.js +10 -6
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +16 -9
- package/lib/esm/duet-empty-state.entry.js +7 -2
- package/lib/esm/duet-fieldset.entry.js +8 -4
- package/lib/esm/duet-footer.entry.js +9 -5
- package/lib/esm/duet-grid_2.entry.js +3 -3
- package/lib/esm/duet-header_2.entry.js +12 -8
- package/lib/esm/duet-hero.entry.js +10 -6
- package/lib/esm/duet-icon.entry.js +7 -3
- package/lib/esm/duet-input_2.entry.js +13 -7
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +6 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +7 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -3
- package/lib/esm/duet-menu-bar-link.entry.js +6 -2
- package/lib/esm/duet-menu-bar.entry.js +4 -2
- package/lib/esm/duet-modal.entry.js +11 -9
- package/lib/esm/duet-multiselect.entry.js +10 -6
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +11 -4
- package/lib/esm/duet-number-input.entry.js +10 -6
- package/lib/esm/duet-page-heading.entry.js +6 -2
- package/lib/esm/duet-pagination_2.entry.js +11 -8
- package/lib/esm/duet-popup-menu-item.entry.js +6 -2
- package/lib/esm/duet-popup-menu.entry.js +5 -5
- package/lib/esm/duet-progress.entry.js +9 -5
- package/lib/esm/duet-promo-card.entry.js +7 -3
- package/lib/esm/duet-radio_2.entry.js +8 -4
- package/lib/esm/duet-range-slider.entry.js +8 -4
- package/lib/esm/duet-scrollable_3.entry.js +19 -12
- package/lib/esm/duet-section-layout.entry.js +2 -2
- package/lib/esm/duet-select.entry.js +8 -4
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-show-more.entry.js +10 -6
- package/lib/esm/duet-slideout-lang.entry.js +8 -4
- package/lib/esm/duet-slideout-link.entry.js +6 -2
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -2
- package/lib/esm/duet-slideout-panel.entry.js +10 -6
- package/lib/esm/duet-slideout.entry.js +10 -8
- package/lib/esm/duet-step_2.entry.js +11 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +7 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +7 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -3
- package/lib/esm/duet-textarea.entry.js +8 -4
- package/lib/esm/duet-toggle.entry.js +7 -3
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +7 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +7 -3
- package/lib/esm/duet-toolbar-link.entry.js +6 -2
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip-button_2.entry.js +23 -3
- package/lib/esm/duet-tooltip.entry.js +10 -12
- package/lib/esm/duet-tray.entry.js +9 -5
- package/lib/esm/duet-upload-aria-status.entry.js +9 -1
- package/lib/esm/duet-upload-item.entry.js +10 -5
- package/lib/esm/duet-visually-hidden.entry.js +6 -1
- package/lib/esm/duet.js +5 -12
- package/lib/esm/{errorcodes.utils-47fc5d49.js → errorcodes.utils-424b1197.js} +2 -2
- package/lib/esm/{focus-utils-e26ba3b3.js → focus-utils-d927e096.js} +1 -1
- package/lib/esm/{index-c1a17a4c.js → index-bb518df4.js} +505 -183
- package/lib/esm/{language-utils-9d850f6c.js → language-utils-9ff76444.js} +1 -1
- package/lib/esm/loader.js +4 -13
- package/lib/esm/nudge-560904c3.js +16 -0
- package/lib/esm/{teleport-6b18ccae.js → teleport-15747328.js} +9 -12
- package/lib/esm-es5/app-globals-de2a5510.js +1 -1
- package/lib/esm-es5/{bodyScrollLock.es6-61b5e9a4.js → bodyScrollLock.es6-8dc7cca7.js} +1 -1
- package/lib/esm-es5/{create-id-981107da.js → create-id-2b0cd46d.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +2 -2
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- 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-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +2 -2
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +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 +2 -2
- package/lib/esm-es5/duet-tooltip.entry.js +2 -2
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/errorcodes.utils-424b1197.js +4 -0
- package/lib/esm-es5/{floating-ui.dom.esm-6025c98f.js → floating-ui.dom.esm-efad5c89.js} +2 -2
- package/lib/esm-es5/focus-utils-d927e096.js +4 -0
- package/lib/esm-es5/index-bb518df4.js +5 -0
- package/lib/esm-es5/input-utils-a0225b92.js +4 -0
- package/lib/esm-es5/keyboard-utils-5746e126.js +4 -0
- package/lib/esm-es5/{language-utils-9d850f6c.js → language-utils-9ff76444.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/nudge-560904c3.js +4 -0
- package/lib/esm-es5/string-utils-59ad4cb2.js +4 -0
- package/lib/esm-es5/teleport-15747328.js +4 -0
- package/lib/esm-es5/token-utils-46c8fe31.js +4 -0
- package/lib/esm-es5/watch-options-f189118b.js +4 -0
- package/lib/loader/index.d.ts +2 -2
- package/lib/types/common-types.d.ts +1 -0
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +1 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +2 -1
- package/lib/types/components/duet-badge/duet-badge.d.ts +2 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +1 -0
- package/lib/types/components/duet-button/duet-button.d.ts +2 -1
- package/lib/types/components/duet-callout/duet-callout.d.ts +1 -0
- package/lib/types/components/duet-caption/duet-caption.d.ts +2 -0
- package/lib/types/components/duet-card/duet-card.d.ts +1 -0
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +6 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +2 -1
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -0
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +1 -0
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +1 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -0
- package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +2 -0
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -0
- package/lib/types/components/duet-footer/duet-footer.d.ts +2 -1
- package/lib/types/components/duet-header/duet-header.d.ts +3 -2
- package/lib/types/components/duet-heading/duet-heading.d.ts +1 -0
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -0
- package/lib/types/components/duet-label/duet-label.d.ts +2 -0
- package/lib/types/components/duet-link/duet-link.d.ts +22 -3
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +1 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +1 -1
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -0
- package/lib/types/components/duet-notification/duet-notification.d.ts +2 -1
- package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +1 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -0
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +1 -0
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
- package/lib/types/components/duet-progress/duet-progress.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +1 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -1
- package/lib/types/components/duet-select/duet-select.d.ts +1 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
- package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +1 -0
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +1 -0
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +1 -0
- package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +1 -0
- package/lib/types/components/duet-step/duet-step.d.ts +1 -0
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +1 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +2 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -0
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -0
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +1 -0
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +1 -0
- package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +1 -0
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +1 -0
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +3 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +0 -1
- package/lib/types/components/duet-tray/duet-tray.d.ts +1 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +2 -1
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +5 -0
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +2 -0
- package/lib/types/components/duet-visually-hidden/duet-visually-hidden.d.ts +2 -0
- package/lib/types/components.d.ts +502 -22
- package/lib/types/stencil-public-runtime.d.ts +41 -5
- package/lib/types/utils/nudge.d.ts +7 -0
- package/lib/types/utils/teleport.d.ts +0 -2
- package/package.json +6 -6
- package/lib/duet/p-00abf5b6.entry.js +0 -4
- package/lib/duet/p-02b7e1ef.system.entry.js +0 -4
- package/lib/duet/p-02f1d7cc.system.js +0 -4
- package/lib/duet/p-0478d0eb.entry.js +0 -4
- package/lib/duet/p-04940a8a.system.entry.js +0 -4
- package/lib/duet/p-059c9d4e.entry.js +0 -4
- package/lib/duet/p-066f7fdf.entry.js +0 -4
- package/lib/duet/p-076228e9.system.entry.js +0 -4
- package/lib/duet/p-076aef18.entry.js +0 -4
- package/lib/duet/p-0b0a898d.entry.js +0 -4
- package/lib/duet/p-0c3d7e64.system.entry.js +0 -4
- package/lib/duet/p-0e697654.system.entry.js +0 -4
- package/lib/duet/p-0ffc3cf9.entry.js +0 -4
- package/lib/duet/p-108d9370.system.entry.js +0 -4
- package/lib/duet/p-11e79c8c.system.entry.js +0 -4
- package/lib/duet/p-14285f86.system.entry.js +0 -4
- package/lib/duet/p-14bd6514.entry.js +0 -4
- package/lib/duet/p-1719aa4e.entry.js +0 -4
- package/lib/duet/p-18f1d30e.js +0 -5
- package/lib/duet/p-1b398a07.entry.js +0 -4
- package/lib/duet/p-1c0ad101.system.entry.js +0 -4
- package/lib/duet/p-23ba9eba.entry.js +0 -4
- package/lib/duet/p-243a9ef5.system.entry.js +0 -4
- package/lib/duet/p-24e2be74.entry.js +0 -4
- package/lib/duet/p-29280d68.entry.js +0 -4
- package/lib/duet/p-2992af15.entry.js +0 -4
- package/lib/duet/p-29be2109.entry.js +0 -4
- package/lib/duet/p-29f1e1a4.system.entry.js +0 -4
- package/lib/duet/p-2bf922c1.system.js +0 -4
- package/lib/duet/p-2e9a772c.entry.js +0 -4
- package/lib/duet/p-2ea04945.entry.js +0 -4
- package/lib/duet/p-2eabea79.entry.js +0 -4
- package/lib/duet/p-31b566c1.entry.js +0 -4
- package/lib/duet/p-3346552d.entry.js +0 -4
- package/lib/duet/p-34928212.entry.js +0 -4
- package/lib/duet/p-34ea0849.system.js +0 -4
- package/lib/duet/p-3536fd40.system.entry.js +0 -4
- package/lib/duet/p-356745e0.system.entry.js +0 -4
- package/lib/duet/p-3709d186.entry.js +0 -4
- package/lib/duet/p-380c94f6.system.entry.js +0 -4
- package/lib/duet/p-388e6ec4.entry.js +0 -4
- package/lib/duet/p-3cb9e865.system.js +0 -4
- package/lib/duet/p-3ec86ced.entry.js +0 -4
- package/lib/duet/p-417357f9.system.entry.js +0 -4
- package/lib/duet/p-427dbb96.system.entry.js +0 -4
- package/lib/duet/p-43660fa9.system.js +0 -4
- package/lib/duet/p-43b0c3d2.system.entry.js +0 -4
- package/lib/duet/p-43b42819.entry.js +0 -4
- package/lib/duet/p-45bec102.entry.js +0 -4
- package/lib/duet/p-46b3ed07.entry.js +0 -4
- package/lib/duet/p-4a4faa7d.entry.js +0 -4
- package/lib/duet/p-4e886433.system.entry.js +0 -4
- package/lib/duet/p-51721695.system.js +0 -4
- package/lib/duet/p-521c96ec.entry.js +0 -4
- package/lib/duet/p-56952081.entry.js +0 -4
- package/lib/duet/p-5738c25c.system.entry.js +0 -4
- package/lib/duet/p-5c8e5f29.system.js +0 -4
- package/lib/duet/p-5f6bd5db.system.js +0 -4
- package/lib/duet/p-60a70493.entry.js +0 -4
- package/lib/duet/p-67862509.system.entry.js +0 -4
- package/lib/duet/p-67d9de79.system.entry.js +0 -4
- package/lib/duet/p-6aa821df.system.js +0 -4
- package/lib/duet/p-6c93f614.system.entry.js +0 -4
- package/lib/duet/p-6d74aac6.system.entry.js +0 -4
- package/lib/duet/p-6f677b2a.system.entry.js +0 -4
- package/lib/duet/p-6f6a58e4.system.entry.js +0 -4
- package/lib/duet/p-701b89a1.entry.js +0 -4
- package/lib/duet/p-70477e77.system.entry.js +0 -4
- package/lib/duet/p-7260f799.entry.js +0 -4
- package/lib/duet/p-7326a4c0.system.entry.js +0 -4
- package/lib/duet/p-7394e25f.js +0 -4
- package/lib/duet/p-74216caa.entry.js +0 -4
- package/lib/duet/p-79075bec.system.entry.js +0 -4
- package/lib/duet/p-7ac0621b.system.entry.js +0 -4
- package/lib/duet/p-7b7faa01.system.entry.js +0 -4
- package/lib/duet/p-7cf9e266.system.entry.js +0 -4
- package/lib/duet/p-81c35152.entry.js +0 -4
- package/lib/duet/p-822a791e.entry.js +0 -4
- package/lib/duet/p-8364fae3.entry.js +0 -4
- package/lib/duet/p-8433b6d1.system.entry.js +0 -4
- package/lib/duet/p-850eacf6.entry.js +0 -4
- package/lib/duet/p-87ca87df.entry.js +0 -4
- package/lib/duet/p-8810df88.js +0 -4
- package/lib/duet/p-8b5d616e.system.entry.js +0 -4
- package/lib/duet/p-8b641c9c.system.entry.js +0 -4
- package/lib/duet/p-8e5253bc.entry.js +0 -4
- package/lib/duet/p-97fc4a88.system.entry.js +0 -4
- package/lib/duet/p-98488fab.system.entry.js +0 -4
- package/lib/duet/p-9949a334.entry.js +0 -4
- package/lib/duet/p-9ce8627c.system.entry.js +0 -4
- package/lib/duet/p-9d505129.system.entry.js +0 -4
- package/lib/duet/p-9e3276c6.system.entry.js +0 -4
- package/lib/duet/p-9f9ada02.system.entry.js +0 -4
- package/lib/duet/p-a374de00.entry.js +0 -4
- package/lib/duet/p-a39844b6.entry.js +0 -4
- package/lib/duet/p-a659351d.system.js +0 -4
- package/lib/duet/p-a7c2017b.system.js +0 -5
- package/lib/duet/p-a87a2760.system.entry.js +0 -4
- package/lib/duet/p-a8e6dcb9.entry.js +0 -4
- package/lib/duet/p-ac962b74.system.entry.js +0 -4
- package/lib/duet/p-afee3739.system.entry.js +0 -4
- package/lib/duet/p-b0475c8a.entry.js +0 -4
- package/lib/duet/p-b07fe45f.system.entry.js +0 -4
- package/lib/duet/p-b465c929.entry.js +0 -4
- package/lib/duet/p-b6d51921.system.js +0 -4
- package/lib/duet/p-b71c141b.system.entry.js +0 -4
- package/lib/duet/p-b7605eb1.entry.js +0 -4
- package/lib/duet/p-b760c72b.system.js +0 -4
- package/lib/duet/p-b7e61bdc.system.entry.js +0 -4
- package/lib/duet/p-b8b12400.system.entry.js +0 -4
- package/lib/duet/p-b9eb37ae.system.entry.js +0 -4
- package/lib/duet/p-bd594a8b.entry.js +0 -4
- package/lib/duet/p-bde9a702.system.entry.js +0 -4
- package/lib/duet/p-c1573ac3.system.entry.js +0 -4
- package/lib/duet/p-c1fb544b.system.entry.js +0 -4
- package/lib/duet/p-c2731be1.system.entry.js +0 -4
- package/lib/duet/p-c2b0861c.system.entry.js +0 -4
- package/lib/duet/p-c3a883e3.entry.js +0 -4
- package/lib/duet/p-c466bad9.system.js +0 -4
- package/lib/duet/p-c4fac0b5.system.entry.js +0 -4
- package/lib/duet/p-cb451f23.entry.js +0 -4
- package/lib/duet/p-cba1009b.entry.js +0 -4
- package/lib/duet/p-cd05fea5.system.entry.js +0 -4
- package/lib/duet/p-cf824b6b.system.entry.js +0 -4
- package/lib/duet/p-d183a3e7.system.entry.js +0 -4
- package/lib/duet/p-d1f815a3.system.entry.js +0 -4
- package/lib/duet/p-d4d63fbd.system.entry.js +0 -4
- package/lib/duet/p-d68c84ab.entry.js +0 -4
- package/lib/duet/p-d6d5ef13.entry.js +0 -4
- package/lib/duet/p-d7c5ac53.entry.js +0 -4
- package/lib/duet/p-d863e150.system.js +0 -4
- package/lib/duet/p-db6887df.entry.js +0 -4
- package/lib/duet/p-db95e133.entry.js +0 -4
- package/lib/duet/p-dfc66b98.entry.js +0 -4
- package/lib/duet/p-e27a7520.system.entry.js +0 -4
- package/lib/duet/p-e356ca29.entry.js +0 -4
- package/lib/duet/p-e3f8becc.entry.js +0 -4
- package/lib/duet/p-e50d1003.system.entry.js +0 -4
- package/lib/duet/p-e566ff11.system.js +0 -4
- package/lib/duet/p-e9b8cee0.system.entry.js +0 -4
- package/lib/duet/p-ea1287ce.system.entry.js +0 -4
- package/lib/duet/p-eb55ccd2.system.js +0 -4
- package/lib/duet/p-f0317574.entry.js +0 -4
- package/lib/duet/p-f27b134c.system.entry.js +0 -4
- package/lib/duet/p-f74b6629.entry.js +0 -4
- package/lib/duet/p-faf2b9d1.entry.js +0 -4
- package/lib/duet/p-fbdb1eec.entry.js +0 -4
- package/lib/duet/p-fc0f56ae.system.entry.js +0 -4
- package/lib/duet/p-fee0f558.entry.js +0 -4
- package/lib/esm/polyfills/css-shim.js +0 -1
- package/lib/esm-es5/errorcodes.utils-47fc5d49.js +0 -4
- package/lib/esm-es5/focus-utils-e26ba3b3.js +0 -4
- package/lib/esm-es5/index-c1a17a4c.js +0 -5
- package/lib/esm-es5/input-utils-de45e099.js +0 -4
- package/lib/esm-es5/keyboard-utils-d237bd5a.js +0 -4
- package/lib/esm-es5/string-utils-5954f458.js +0 -4
- package/lib/esm-es5/teleport-6b18ccae.js +0 -4
- package/lib/esm-es5/token-utils-2d3af0db.js +0 -4
- package/lib/esm-es5/watch-options-dd55bce8.js +0 -4
- /package/lib/cjs/{bodyScrollLock.es6-6ef1142a.js → bodyScrollLock.es6-83f334d1.js} +0 -0
- /package/lib/cjs/{common-strings-de17f887.js → common-strings-17770d7a.js} +0 -0
- /package/lib/cjs/{create-id-c3b984b1.js → create-id-167cd350.js} +0 -0
- /package/lib/cjs/{floating-ui.dom.esm-d537b048.js → floating-ui.dom.esm-a7d59d53.js} +0 -0
- /package/lib/cjs/{input-utils-b5e8f524.js → input-utils-b4615782.js} +0 -0
- /package/lib/cjs/{is-internet-explorer-91361c56.js → is-internet-explorer-76c3b538.js} +0 -0
- /package/lib/cjs/{js-utils-134e0318.js → js-utils-b20cfc79.js} +0 -0
- /package/lib/cjs/{keyboard-utils-bb32119b.js → keyboard-utils-02441bc5.js} +0 -0
- /package/lib/cjs/{slot-query-1624497e.js → slot-query-b7555763.js} +0 -0
- /package/lib/cjs/{string-utils-5cadd058.js → string-utils-51a2f59f.js} +0 -0
- /package/lib/cjs/{themeable-component-fdeaef9f.js → themeable-component-0be6d1f4.js} +0 -0
- /package/lib/cjs/{token-utils-71db4785.js → token-utils-dbfeff2e.js} +0 -0
- /package/lib/cjs/{watch-options-d88afac0.js → watch-options-1773d69f.js} +0 -0
- /package/lib/dist-custom-elements/{p-8adb9463.js → p-00c8a755.js} +0 -0
- /package/lib/dist-custom-elements/{p-bd779757.js → p-141e14d0.js} +0 -0
- /package/lib/dist-custom-elements/{p-5a9d75e1.js → p-1a395a8d.js} +0 -0
- /package/lib/dist-custom-elements/{p-704245ef.js → p-268171f7.js} +0 -0
- /package/lib/dist-custom-elements/{p-0b3f675e.js → p-3d8d557b.js} +0 -0
- /package/lib/dist-custom-elements/{p-c1325e35.js → p-45f71a69.js} +0 -0
- /package/lib/dist-custom-elements/{p-d8549efe.js → p-56ac3289.js} +0 -0
- /package/lib/dist-custom-elements/{p-56118313.js → p-77f2dbee.js} +0 -0
- /package/lib/dist-custom-elements/{p-12721178.js → p-a1371eee.js} +0 -0
- /package/lib/dist-custom-elements/{p-4ebf1618.js → p-d48735b6.js} +0 -0
- /package/lib/dist-custom-elements/{p-76f00bd5.js → p-dade978b.js} +0 -0
- /package/lib/dist-custom-elements/{p-9d915d45.js → p-f8c76b25.js} +0 -0
- /package/lib/duet/{p-8adb9463.js → p-00c8a755.js} +0 -0
- /package/lib/duet/{p-2bb34e3d.js → p-0b31864f.js} +0 -0
- /package/lib/duet/{p-bd779757.js → p-141e14d0.js} +0 -0
- /package/lib/duet/{p-5a9d75e1.js → p-1a395a8d.js} +0 -0
- /package/lib/duet/{p-704245ef.js → p-268171f7.js} +0 -0
- /package/lib/duet/{p-c7ae95bd.system.js → p-36b36a8e.system.js} +0 -0
- /package/lib/duet/{p-0b3f675e.js → p-3d8d557b.js} +0 -0
- /package/lib/duet/{p-c1325e35.js → p-45f71a69.js} +0 -0
- /package/lib/duet/{p-56118313.js → p-77f2dbee.js} +0 -0
- /package/lib/duet/{p-12721178.js → p-a1371eee.js} +0 -0
- /package/lib/duet/{p-f077c646.js → p-cc1909de.js} +0 -0
- /package/lib/duet/{p-4ebf1618.js → p-d48735b6.js} +0 -0
- /package/lib/duet/{p-76f00bd5.js → p-dade978b.js} +0 -0
- /package/lib/duet/{p-9d915d45.js → p-f8c76b25.js} +0 -0
- /package/lib/esm/{bodyScrollLock.es6-61b5e9a4.js → bodyScrollLock.es6-8dc7cca7.js} +0 -0
- /package/lib/esm/{common-strings-97e04e4b.js → common-strings-71f2aabd.js} +0 -0
- /package/lib/esm/{create-id-981107da.js → create-id-2b0cd46d.js} +0 -0
- /package/lib/esm/{floating-ui.dom.esm-6025c98f.js → floating-ui.dom.esm-efad5c89.js} +0 -0
- /package/lib/esm/{input-utils-de45e099.js → input-utils-a0225b92.js} +0 -0
- /package/lib/esm/{is-internet-explorer-62b3bdbd.js → is-internet-explorer-032d4dae.js} +0 -0
- /package/lib/esm/{js-utils-fa98b8cd.js → js-utils-a35dcc8c.js} +0 -0
- /package/lib/esm/{keyboard-utils-d237bd5a.js → keyboard-utils-5746e126.js} +0 -0
- /package/lib/esm/{slot-query-8c7dce21.js → slot-query-7877f18f.js} +0 -0
- /package/lib/esm/{string-utils-5954f458.js → string-utils-59ad4cb2.js} +0 -0
- /package/lib/esm/{themeable-component-cb76be7c.js → themeable-component-fdce4fd7.js} +0 -0
- /package/lib/esm/{token-utils-2d3af0db.js → token-utils-46c8fe31.js} +0 -0
- /package/lib/esm/{watch-options-dd55bce8.js → watch-options-f189118b.js} +0 -0
- /package/lib/esm-es5/{common-strings-97e04e4b.js → common-strings-71f2aabd.js} +0 -0
- /package/lib/esm-es5/{is-internet-explorer-62b3bdbd.js → is-internet-explorer-032d4dae.js} +0 -0
- /package/lib/esm-es5/{js-utils-fa98b8cd.js → js-utils-a35dcc8c.js} +0 -0
- /package/lib/esm-es5/{slot-query-8c7dce21.js → slot-query-7877f18f.js} +0 -0
- /package/lib/esm-es5/{themeable-component-cb76be7c.js → themeable-component-fdce4fd7.js} +0 -0
|
@@ -1,16 +1,20 @@
|
|
|
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-7579d4ae.js';
|
|
5
|
+
import { n as nudge } from './p-040f8831.js';
|
|
5
6
|
|
|
6
7
|
const duetVisuallyHiddenCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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}";
|
|
7
8
|
|
|
8
|
-
const DuetVisuallyHidden = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
9
|
+
const DuetVisuallyHidden = /*@__PURE__*/ proxyCustomElement(class DuetVisuallyHidden extends H {
|
|
9
10
|
constructor() {
|
|
10
11
|
super();
|
|
11
12
|
this.__registerHost();
|
|
12
13
|
this.__attachShadow();
|
|
13
14
|
}
|
|
15
|
+
componentDidLoad() {
|
|
16
|
+
nudge(this);
|
|
17
|
+
}
|
|
14
18
|
/**
|
|
15
19
|
* render() function
|
|
16
20
|
* Always the last one in the class.
|
|
@@ -18,6 +22,7 @@ const DuetVisuallyHidden = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
18
22
|
render() {
|
|
19
23
|
return (h(Host, { class: "duet-visually-hidden" }, h("slot", null)));
|
|
20
24
|
}
|
|
25
|
+
get element() { return this; }
|
|
21
26
|
static get style() { return duetVisuallyHiddenCss; }
|
|
22
27
|
}, [1, "duet-visually-hidden"]);
|
|
23
28
|
function defineCustomElement() {
|
|
@@ -1,19 +1,20 @@
|
|
|
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-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
6
|
-
import { c as createID } from './p-
|
|
7
|
-
import { d as debounce } from './p-
|
|
8
|
-
import { i as isKeyboardClick } from './p-
|
|
9
|
-
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { c as createID } from './p-45f71a69.js';
|
|
7
|
+
import { d as debounce } from './p-3d8d557b.js';
|
|
8
|
+
import { i as isKeyboardClick } from './p-56ac3289.js';
|
|
9
|
+
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-4883df66.js';
|
|
10
|
+
import { n as nudge } from './p-040f8831.js';
|
|
11
|
+
import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './p-e19d1e27.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-db1ac527.js';
|
|
13
|
+
import { d as defineCustomElement$1 } from './p-7da4aa07.js';
|
|
13
14
|
|
|
14
15
|
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}button.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(0, 41, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}button.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}button.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}button.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}button.duet-action-button:active:focus.duet-theme-turva{background:#ddddde !important}button.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}button.duet-action-button.duet-theme-turva:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";
|
|
15
16
|
|
|
16
|
-
const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
17
|
+
const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class DuetActionButton extends H {
|
|
17
18
|
constructor() {
|
|
18
19
|
super();
|
|
19
20
|
this.__registerHost();
|
|
@@ -92,6 +93,9 @@ const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
92
93
|
componentWillLoad() {
|
|
93
94
|
inheritGlobalTheme(this);
|
|
94
95
|
}
|
|
96
|
+
componentDidLoad() {
|
|
97
|
+
nudge(this);
|
|
98
|
+
}
|
|
95
99
|
connectedCallback() {
|
|
96
100
|
connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelsDefaults" });
|
|
97
101
|
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-7579d4ae.js';
|
|
5
5
|
import { a as actionArrowRight } from './p-6fa39608.js';
|
|
6
6
|
import { a as actionNewWindowSmall } from './p-f11208c3.js';
|
|
7
|
-
import { D as DuetStringsExternalDefaults } from './p-
|
|
8
|
-
import { i as inheritGlobalTheme } from './p-
|
|
9
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
7
|
+
import { D as DuetStringsExternalDefaults } from './p-dade978b.js';
|
|
8
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
9
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-4883df66.js';
|
|
10
|
+
import { n as nudge } from './p-040f8831.js';
|
|
11
|
+
import { b as breakpointToToken } from './p-e19d1e27.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-db1ac527.js';
|
|
13
|
+
import { d as defineCustomElement$1 } from './p-7da4aa07.js';
|
|
12
14
|
|
|
13
|
-
const duetLinkCss = "*,*::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}:host(.duet-link-block){display:block}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-is-external.duet-link:not(.block){text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-external{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:
|
|
15
|
+
const duetLinkCss = "*,*::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}:host(.duet-link-block){display:block}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-is-external.duet-link:not(.block){text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-external{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:hover .block__chevron-icon{transform:translateX(4px)}";
|
|
14
16
|
|
|
15
|
-
const DuetLink = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
17
|
+
const DuetLink = /*@__PURE__*/ proxyCustomElement(class DuetLink extends H {
|
|
16
18
|
constructor() {
|
|
17
19
|
super();
|
|
18
20
|
this.__registerHost();
|
|
@@ -28,13 +30,20 @@ const DuetLink = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
28
30
|
this.external = false;
|
|
29
31
|
this.tabToLink = false;
|
|
30
32
|
this.icon = undefined;
|
|
33
|
+
this.iconColor = "currentColor";
|
|
34
|
+
this.iconResponsive = false;
|
|
31
35
|
this.padding = "auto";
|
|
36
|
+
this.isSmallScreen = false;
|
|
32
37
|
}
|
|
33
38
|
/**
|
|
34
39
|
* Component lifecycle events.
|
|
35
40
|
*/
|
|
36
41
|
componentWillLoad() {
|
|
37
42
|
inheritGlobalTheme(this);
|
|
43
|
+
this.initMediaQuery();
|
|
44
|
+
}
|
|
45
|
+
componentDidLoad() {
|
|
46
|
+
nudge(this);
|
|
38
47
|
}
|
|
39
48
|
connectedCallback() {
|
|
40
49
|
connectLanguageChangeObserver(this, {
|
|
@@ -44,6 +53,7 @@ const DuetLink = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
44
53
|
}
|
|
45
54
|
disconnectedCallback() {
|
|
46
55
|
disconnectLanguageChangeObserver(this);
|
|
56
|
+
this.destroyMediaQuery();
|
|
47
57
|
}
|
|
48
58
|
/**
|
|
49
59
|
* Sets focus on the specified `duet-link`. Use this method instead of the global
|
|
@@ -52,11 +62,23 @@ const DuetLink = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
52
62
|
async setFocus(options) {
|
|
53
63
|
this.nativeLink.focus(options);
|
|
54
64
|
}
|
|
65
|
+
initMediaQuery() {
|
|
66
|
+
this.screenTestBound = this.screenTest.bind(this);
|
|
67
|
+
this.mediaQuery = window.matchMedia(breakpointToToken["xx-small"]);
|
|
68
|
+
this.isSmallScreen = this.mediaQuery.matches;
|
|
69
|
+
this.mediaQuery.addEventListener("change", this.screenTestBound);
|
|
70
|
+
}
|
|
71
|
+
destroyMediaQuery() {
|
|
72
|
+
this.mediaQuery.removeEventListener("change", this.screenTestBound);
|
|
73
|
+
}
|
|
74
|
+
screenTest(event) {
|
|
75
|
+
this.isSmallScreen = event.matches;
|
|
76
|
+
}
|
|
55
77
|
renderContent() {
|
|
56
78
|
return (h(Fragment, null, h("span", { class: "duet-link-content" }, h("slot", null)), this.external && (h(Fragment, null, h("span", { class: "duet-link-external" }, "\u00A0", h("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })), h("duet-visually-hidden", null, this.accessibleLabelExternal)))));
|
|
57
79
|
}
|
|
58
80
|
renderGrid() {
|
|
59
|
-
return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", { size: "x-small", name: this.icon, margin: "none", color:
|
|
81
|
+
return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", { size: this.iconResponsive ? (this.isSmallScreen ? "medium" : "large") : "x-small", name: this.icon, margin: "none", color: this.iconColor }))), h("span", { class: "block__content" }, this.renderContent()), h("span", { class: "block__chevron", part: "block-chevron" }, h("duet-icon", { class: "block__chevron-icon", icon: actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
60
82
|
}
|
|
61
83
|
/**
|
|
62
84
|
* render() function
|
|
@@ -79,6 +101,7 @@ const DuetLink = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
79
101
|
}, target: this.external ? "_blank" : "_self", "aria-label": this.accessibleLabel, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.variation === "block" ? this.renderGrid() : this.renderContent())));
|
|
80
102
|
}
|
|
81
103
|
static get delegatesFocus() { return true; }
|
|
104
|
+
get element() { return this; }
|
|
82
105
|
static get style() { return duetLinkCss; }
|
|
83
106
|
}, [17, "duet-link", {
|
|
84
107
|
"variation": [1],
|
|
@@ -92,7 +115,10 @@ const DuetLink = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
92
115
|
"external": [4],
|
|
93
116
|
"tabToLink": [4, "tab-to-link"],
|
|
94
117
|
"icon": [1],
|
|
118
|
+
"iconColor": [1, "icon-color"],
|
|
119
|
+
"iconResponsive": [4, "icon-responsive"],
|
|
95
120
|
"padding": [1],
|
|
121
|
+
"isSmallScreen": [32],
|
|
96
122
|
"setFocus": [64]
|
|
97
123
|
}]);
|
|
98
124
|
function defineCustomElement() {
|
|
@@ -1,12 +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-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { n as nudge } from './p-040f8831.js';
|
|
6
7
|
|
|
7
8
|
const duetLabelCss = "*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;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 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{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)}";
|
|
8
9
|
|
|
9
|
-
const DuetLabel = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
10
|
+
const DuetLabel = /*@__PURE__*/ proxyCustomElement(class DuetLabel extends H {
|
|
10
11
|
constructor() {
|
|
11
12
|
super();
|
|
12
13
|
this.__registerHost();
|
|
@@ -21,6 +22,9 @@ const DuetLabel = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
21
22
|
componentWillLoad() {
|
|
22
23
|
inheritGlobalTheme(this);
|
|
23
24
|
}
|
|
25
|
+
componentDidLoad() {
|
|
26
|
+
nudge(this);
|
|
27
|
+
}
|
|
24
28
|
/**
|
|
25
29
|
* render() function
|
|
26
30
|
* Always the last one in the class.
|
|
@@ -34,6 +38,7 @@ const DuetLabel = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
34
38
|
"duet-m-0": this.margin === "none",
|
|
35
39
|
} }, h("label", { htmlFor: this.for }, h("span", null, h("slot", null)))));
|
|
36
40
|
}
|
|
41
|
+
get element() { return this; }
|
|
37
42
|
static get style() { return duetLabelCss; }
|
|
38
43
|
}, [6, "duet-label", {
|
|
39
44
|
"theme": [1025],
|
|
@@ -1,22 +1,23 @@
|
|
|
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-7579d4ae.js';
|
|
5
5
|
import { f as formSearch } from './p-d004da5f.js';
|
|
6
|
-
import { i as inheritGlobalTheme } from './p-
|
|
7
|
-
import { c as createID } from './p-
|
|
8
|
-
import { c as cleanValue, r as resetCursor } from './p-
|
|
9
|
-
import { b as isEscapeKey, c as isEnterKey } from './p-
|
|
10
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
11
|
-
import {
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
6
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
7
|
+
import { c as createID } from './p-45f71a69.js';
|
|
8
|
+
import { c as cleanValue, r as resetCursor } from './p-77f2dbee.js';
|
|
9
|
+
import { b as isEscapeKey, c as isEnterKey } from './p-56ac3289.js';
|
|
10
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-4883df66.js';
|
|
11
|
+
import { n as nudge } from './p-040f8831.js';
|
|
12
|
+
import { d as defineCustomElement$9 } from './p-720c72c5.js';
|
|
13
|
+
import { d as defineCustomElement$8 } from './p-aa2863af.js';
|
|
14
|
+
import { d as defineCustomElement$7 } from './p-db1ac527.js';
|
|
15
|
+
import { d as defineCustomElement$6 } from './p-8800fa36.js';
|
|
16
|
+
import { d as defineCustomElement$5 } from './p-3c3e91d0.js';
|
|
17
|
+
import { d as defineCustomElement$4 } from './p-092ff822.js';
|
|
18
|
+
import { d as defineCustomElement$3 } from './p-f6ae66d9.js';
|
|
19
|
+
import { d as defineCustomElement$2 } from './p-f2263866.js';
|
|
20
|
+
import { d as defineCustomElement$1 } from './p-7da4aa07.js';
|
|
20
21
|
|
|
21
22
|
var formEmail={"title":"form-email","tags":"form email","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z\"/></svg>"};
|
|
22
23
|
|
|
@@ -26,7 +27,7 @@ const icons = {
|
|
|
26
27
|
search: formSearch,
|
|
27
28
|
email: formEmail,
|
|
28
29
|
};
|
|
29
|
-
const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
30
|
+
const DuetInput = /*@__PURE__*/ proxyCustomElement(class DuetInput extends H {
|
|
30
31
|
constructor() {
|
|
31
32
|
super();
|
|
32
33
|
this.__registerHost();
|
|
@@ -246,6 +247,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
246
247
|
this.isPasswordRevealed = false;
|
|
247
248
|
});
|
|
248
249
|
}
|
|
250
|
+
nudge(this);
|
|
249
251
|
}
|
|
250
252
|
connectedCallback() {
|
|
251
253
|
connectLanguageChangeObserver(this);
|
|
@@ -399,6 +401,9 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
399
401
|
"setFocus": [64],
|
|
400
402
|
"resetCursor": [64],
|
|
401
403
|
"clearInput": [64]
|
|
404
|
+
}, undefined, {
|
|
405
|
+
"disallowPattern": ["disallowedPatternChange"],
|
|
406
|
+
"value": ["valueChanged"]
|
|
402
407
|
}]);
|
|
403
408
|
function defineCustomElement() {
|
|
404
409
|
if (typeof customElements === "undefined") {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
|
|
7
7
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
8
8
|
|
|
9
|
-
const DuetCheckmark = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
9
|
+
const DuetCheckmark = /*@__PURE__*/ proxyCustomElement(class DuetCheckmark extends H {
|
|
10
10
|
constructor() {
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
6
|
-
import { g as getColorByName } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { g as getColorByName } from './p-e19d1e27.js';
|
|
7
7
|
|
|
8
8
|
const duetDividerCss = "*,*::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:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";
|
|
9
9
|
|
|
10
|
-
const DuetDivider = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
10
|
+
const DuetDivider = /*@__PURE__*/ proxyCustomElement(class DuetDivider extends H {
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
@@ -1,11 +1,11 @@
|
|
|
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-7579d4ae.js';
|
|
5
5
|
|
|
6
6
|
const duetSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";
|
|
7
7
|
|
|
8
|
-
const DuetSpacer = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
8
|
+
const DuetSpacer = /*@__PURE__*/ proxyCustomElement(class DuetSpacer extends H {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { n as nudge } from './p-040f8831.js';
|
|
7
|
+
import { s as sanitizeString } from './p-1a395a8d.js';
|
|
8
|
+
import { g as getColorByName } from './p-e19d1e27.js';
|
|
8
9
|
|
|
9
10
|
const duetHeadingCss = "*,*::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;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
10
11
|
|
|
11
|
-
const DuetHeading = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
12
|
+
const DuetHeading = /*@__PURE__*/ proxyCustomElement(class DuetHeading extends H {
|
|
12
13
|
constructor() {
|
|
13
14
|
super();
|
|
14
15
|
this.__registerHost();
|
|
@@ -28,6 +29,9 @@ const DuetHeading = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
28
29
|
componentWillLoad() {
|
|
29
30
|
inheritGlobalTheme(this);
|
|
30
31
|
}
|
|
32
|
+
componentDidLoad() {
|
|
33
|
+
nudge(this);
|
|
34
|
+
}
|
|
31
35
|
/**
|
|
32
36
|
* render() function
|
|
33
37
|
* Always the last one in the class.
|
|
@@ -1,12 +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-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { n as nudge } from './p-040f8831.js';
|
|
6
7
|
|
|
7
8
|
const duetCaptionCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;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:400;line-height:1.5;color:rgb(101, 119, 135);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(116, 116, 117)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}";
|
|
8
9
|
|
|
9
|
-
const DuetCaption = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
10
|
+
const DuetCaption = /*@__PURE__*/ proxyCustomElement(class DuetCaption extends H {
|
|
10
11
|
constructor() {
|
|
11
12
|
super();
|
|
12
13
|
this.__registerHost();
|
|
@@ -22,6 +23,9 @@ const DuetCaption = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
22
23
|
componentWillLoad() {
|
|
23
24
|
inheritGlobalTheme(this);
|
|
24
25
|
}
|
|
26
|
+
componentDidLoad() {
|
|
27
|
+
nudge(this);
|
|
28
|
+
}
|
|
25
29
|
/**
|
|
26
30
|
* render() function
|
|
27
31
|
* Always the last one in the class.
|
|
@@ -35,6 +39,7 @@ const DuetCaption = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
35
39
|
"duet-m-0": this.margin === "none",
|
|
36
40
|
} }, h("slot", null)));
|
|
37
41
|
}
|
|
42
|
+
get element() { return this; }
|
|
38
43
|
static get style() { return duetCaptionCss; }
|
|
39
44
|
}, [1, "duet-caption", {
|
|
40
45
|
"theme": [1025],
|
|
@@ -1,13 +1,14 @@
|
|
|
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-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
6
|
-
import { c as createID } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { c as createID } from './p-45f71a69.js';
|
|
7
|
+
import { n as nudge } from './p-040f8831.js';
|
|
7
8
|
|
|
8
9
|
const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{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;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{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-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 41, 77);border:1px solid rgb(0, 41, 77)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(116, 116, 117)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 207, 209)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(101, 119, 135);border:1px solid rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
9
10
|
|
|
10
|
-
const DuetCheckbox = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
|
+
const DuetCheckbox = /*@__PURE__*/ proxyCustomElement(class DuetCheckbox extends H {
|
|
11
12
|
constructor() {
|
|
12
13
|
super();
|
|
13
14
|
this.__registerHost();
|
|
@@ -76,6 +77,9 @@ const DuetCheckbox = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
76
77
|
this.value = this.identifier;
|
|
77
78
|
}
|
|
78
79
|
}
|
|
80
|
+
componentDidLoad() {
|
|
81
|
+
nudge(this);
|
|
82
|
+
}
|
|
79
83
|
/**
|
|
80
84
|
* Sets focus on the specified `duet-checkbox`. Use this method instead of the global
|
|
81
85
|
* `input.focus()`.
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
6
|
-
import {
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { n as nudge } from './p-040f8831.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './p-720c72c5.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-db1ac527.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-3c3e91d0.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './p-7da4aa07.js';
|
|
10
11
|
|
|
11
12
|
const duetScrollableCss = "*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--occluded{visibility:hidden}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){scroll-snap-align:center;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}";
|
|
12
13
|
|
|
13
|
-
const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
14
|
+
const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class DuetScrollable extends H {
|
|
14
15
|
constructor() {
|
|
15
16
|
super();
|
|
16
17
|
this.__registerHost();
|
|
@@ -54,12 +55,13 @@ const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
54
55
|
*/
|
|
55
56
|
componentWillLoad() {
|
|
56
57
|
inheritGlobalTheme(this);
|
|
57
|
-
this.hasCollapseButtonLabelSlot = !!this.
|
|
58
|
-
const slotted = this.
|
|
58
|
+
this.hasCollapseButtonLabelSlot = !!this.element.querySelector(":scope > [slot='collapse-button-label']");
|
|
59
|
+
const slotted = this.element.querySelectorAll(":scope > :not([slot='collapse-button-label'])");
|
|
59
60
|
this.childrenData = { hasChildren: slotted && slotted.length > 0, numberOfChildren: slotted && slotted.length };
|
|
60
61
|
}
|
|
61
62
|
componentDidLoad() {
|
|
62
63
|
this.resizeObserver.observe(this.tabListElement);
|
|
64
|
+
nudge(this);
|
|
63
65
|
}
|
|
64
66
|
disconnectedCallback() {
|
|
65
67
|
this.resizeObserver.disconnect();
|
|
@@ -69,11 +71,11 @@ const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
69
71
|
*/
|
|
70
72
|
getLastVisibleElement() {
|
|
71
73
|
const clientWidth = this.tabListElement.clientWidth;
|
|
72
|
-
const xValues = Array.from(this.
|
|
74
|
+
const xValues = Array.from(this.element.querySelectorAll("button")).findIndex(element => element.getBoundingClientRect().x > clientWidth);
|
|
73
75
|
return xValues;
|
|
74
76
|
}
|
|
75
77
|
getFirstVisibleElement() {
|
|
76
|
-
const buttonCollection = this.
|
|
78
|
+
const buttonCollection = this.element.querySelectorAll("button");
|
|
77
79
|
// reverse the array because we want the first invisible element form the middle, not the first in the list
|
|
78
80
|
const arrayOfXValues = Array.from(buttonCollection).map(el => el.getBoundingClientRect().x - el.getBoundingClientRect().width);
|
|
79
81
|
const xValues = arrayOfXValues.findIndex(element => {
|
|
@@ -108,7 +110,7 @@ const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
108
110
|
if (index < 0) {
|
|
109
111
|
index = 0;
|
|
110
112
|
}
|
|
111
|
-
const buttons = this.
|
|
113
|
+
const buttons = this.element.querySelectorAll("button");
|
|
112
114
|
// store previous position
|
|
113
115
|
let prevPosition = buttons[0].getBoundingClientRect().x;
|
|
114
116
|
// iterations to run
|
|
@@ -170,7 +172,7 @@ const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
170
172
|
"duet-scrollable-button--occluded": !this.isTabContentSmallerThanWrapper,
|
|
171
173
|
}, onClick: () => this.scrollRight(), disabled: this.tablistAtEnd, tabindex: "-1", hidden: !this.buttons }, h("duet-icon", { name: "action-arrow-right-small", size: "small", margin: "none" })))));
|
|
172
174
|
}
|
|
173
|
-
get
|
|
175
|
+
get element() { return this; }
|
|
174
176
|
static get watchers() { return {
|
|
175
177
|
"selected": ["watchPropHandler"]
|
|
176
178
|
}; }
|
|
@@ -186,6 +188,8 @@ const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
186
188
|
"isTabContentSmallerThanWrapper": [32],
|
|
187
189
|
"tablistAtEnd": [32],
|
|
188
190
|
"childrenData": [32]
|
|
191
|
+
}, undefined, {
|
|
192
|
+
"selected": ["watchPropHandler"]
|
|
189
193
|
}]);
|
|
190
194
|
function defineCustomElement() {
|
|
191
195
|
if (typeof customElements === "undefined") {
|
|
@@ -1,18 +1,19 @@
|
|
|
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-
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-
|
|
6
|
-
import { c as createID } from './p-
|
|
7
|
-
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
8
|
-
import {
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-7579d4ae.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { c as createID } from './p-45f71a69.js';
|
|
7
|
+
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-4883df66.js';
|
|
8
|
+
import { n as nudge } from './p-040f8831.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-720c72c5.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-db1ac527.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-3c3e91d0.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-7da4aa07.js';
|
|
12
13
|
|
|
13
14
|
const duetAlertCss = "*,*::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:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
|
|
14
15
|
|
|
15
|
-
const DuetAlert = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
16
|
+
const DuetAlert = /*@__PURE__*/ proxyCustomElement(class DuetAlert extends H {
|
|
16
17
|
constructor() {
|
|
17
18
|
super();
|
|
18
19
|
this.__registerHost();
|
|
@@ -60,6 +61,7 @@ const DuetAlert = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
60
61
|
if (this.autoDismiss) {
|
|
61
62
|
this.timeoutID = setTimeout(() => this.handleDismiss(), this.autoDismiss);
|
|
62
63
|
}
|
|
64
|
+
nudge(this);
|
|
63
65
|
}
|
|
64
66
|
connectedCallback() {
|
|
65
67
|
connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelDefaults" });
|
|
@@ -118,6 +120,7 @@ const DuetAlert = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
118
120
|
this.alertContainer = element;
|
|
119
121
|
}, tabindex: this.focusable ? "0" : undefined }, this.icon && (h("div", { class: "duet-alert-icon" }, h("duet-icon", { size: "auto", name: this.icon, color: "currentColor" }))), h("span", { id: this.descriptiveId }, h("slot", null))), this.dismissible && (h("div", { class: "duet-alert-dismiss" }, h("duet-button", { variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, color: closeColor, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: this.handleDismiss, fixed: true }))))));
|
|
120
122
|
}
|
|
123
|
+
get element() { return this; }
|
|
121
124
|
static get style() { return duetAlertCss; }
|
|
122
125
|
}, [1, "duet-alert", {
|
|
123
126
|
"theme": [1025],
|