@duetds/components 8.0.2 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +80 -38
- package/lib/cjs/{common-strings-17770d7a.js → common-strings-86913e94.js} +6 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +15 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +31 -9
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +7 -2
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -3
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-b3f9c253.js → focus-utils-04f168fd.js} +1 -1
- package/lib/cjs/{index-6daa7c8e.js → index-b9ee6ca5.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/common-strings.js +5 -0
- package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +34 -0
- package/lib/collection/components/duet-banner/duet-banner.js +31 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +2 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +48 -0
- package/lib/collection/components/duet-button/duet-button.js +83 -13
- package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +29 -0
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +4 -4
- package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +25 -0
- package/lib/collection/components/duet-chip/duet-chip.js +4 -4
- package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +79 -0
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +24 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-combobox/duet-combobox.js +4 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +36 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +16 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +5 -5
- package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +202 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +15 -0
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +22 -0
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +42 -0
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +70 -0
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +33 -0
- package/lib/collection/components/duet-input/duet-input.js +9 -9
- package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +14 -0
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +18 -0
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +39 -0
- package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +30 -0
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +27 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +49 -0
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +22 -0
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -6
- package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +28 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +14 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +5 -5
- package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +15 -0
- package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +36 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +18 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +27 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-progress/duet-progress.js +1 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +43 -0
- package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-radio/duet-radio.js +4 -4
- package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +36 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +14 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +18 -0
- package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +45 -0
- package/lib/collection/components/duet-select/duet-select.js +6 -6
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +47 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +26 -0
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +21 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +2 -1
- package/lib/collection/components/duet-tab/duet-tab.js +20 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +6 -6
- package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +35 -0
- package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +28 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +5 -5
- package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +31 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +34 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +22 -0
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +15 -0
- package/lib/collection/utils/axe-core-utils.js +37 -0
- package/lib/collection/utils/picture-utils.js +8 -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 +21 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- 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 +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +12 -12
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- 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 +5 -5
- 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 +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +16 -11
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- 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 +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +14 -14
- package/lib/dist-custom-elements/duet-tab.js +5 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- 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 +3 -3
- 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 +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-3cff1466.js → p-16b97666.js} +2 -2
- package/lib/dist-custom-elements/{p-c24dd06b.js → p-1a0d1104.js} +4 -4
- package/lib/dist-custom-elements/{p-95a50166.js → p-1b63a427.js} +1 -1
- package/lib/{esm/common-strings-71f2aabd.js → dist-custom-elements/p-274d11e3.js} +6 -1
- package/lib/dist-custom-elements/{p-31f2b544.js → p-27c98907.js} +10 -10
- package/lib/dist-custom-elements/{p-0059a17c.js → p-423d3f0d.js} +3 -3
- package/lib/dist-custom-elements/{p-c0d5adf0.js → p-46d172ad.js} +8 -8
- package/lib/dist-custom-elements/{p-fb79c0df.js → p-60f6b2e8.js} +3 -3
- package/lib/dist-custom-elements/{p-9fb89b86.js → p-647197d2.js} +10 -10
- package/lib/dist-custom-elements/{p-82be1f91.js → p-6c228574.js} +2 -2
- package/lib/dist-custom-elements/{p-11805f8e.js → p-71f948ca.js} +1 -1
- package/lib/dist-custom-elements/{p-cc0415a6.js → p-73858765.js} +3 -3
- package/lib/dist-custom-elements/{p-66bc5722.js → p-77dc878e.js} +36 -12
- package/lib/dist-custom-elements/{p-fcfc2821.js → p-7b7d919c.js} +5 -5
- package/lib/dist-custom-elements/{p-22ec1739.js → p-7f09da03.js} +5 -5
- package/lib/dist-custom-elements/{p-aa9b5c36.js → p-84065d73.js} +1 -1
- package/lib/dist-custom-elements/{p-5c15155e.js → p-85817780.js} +1 -1
- package/lib/dist-custom-elements/{p-1db9b4e0.js → p-8ba450f0.js} +1 -1
- package/lib/dist-custom-elements/{p-69ce95bd.js → p-8c68da59.js} +1 -1
- package/lib/dist-custom-elements/{p-8c89e5bb.js → p-90901592.js} +1 -1
- package/lib/dist-custom-elements/{p-5f426542.js → p-960c3c51.js} +1 -1
- package/lib/dist-custom-elements/{p-d940a49d.js → p-970d143f.js} +1 -1
- package/lib/dist-custom-elements/{p-c9499905.js → p-99b8d96d.js} +1 -1
- package/lib/dist-custom-elements/{p-569556c9.js → p-a62138f2.js} +1 -1
- package/lib/dist-custom-elements/{p-dcbe235f.js → p-a6a02d26.js} +1 -1
- package/lib/dist-custom-elements/{p-f9547527.js → p-a7c46306.js} +1 -1
- package/lib/dist-custom-elements/{p-67166d85.js → p-b1795ede.js} +1 -1
- package/lib/dist-custom-elements/{p-e93f5581.js → p-c230fe39.js} +2 -2
- package/lib/dist-custom-elements/{p-e698b935.js → p-d547ac90.js} +2 -2
- package/lib/dist-custom-elements/{p-2729945f.js → p-e31a9266.js} +5 -5
- package/lib/dist-custom-elements/{p-2ffde01d.js → p-e3b1a969.js} +1 -1
- package/lib/dist-custom-elements/{p-8bfad3e0.js → p-e6ce939c.js} +1 -1
- package/lib/dist-custom-elements/{p-1cd6ccc0.js → p-ebfb1ccd.js} +1 -1
- package/lib/dist-custom-elements/{p-e43d5ffc.js → p-f12d5ad9.js} +1 -1
- package/lib/dist-custom-elements/{p-c0a4a783.js → p-fc76a9f3.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-a1582631.entry.js → p-01bd8000.entry.js} +1 -1
- package/lib/duet/{p-fc9a7037.entry.js → p-05ddb8d7.entry.js} +1 -1
- package/lib/duet/{p-77e47450.system.entry.js → p-08bcd57d.system.entry.js} +1 -1
- package/lib/duet/{p-05525f40.entry.js → p-0a6ee84e.entry.js} +1 -1
- package/lib/duet/{p-9fd48fe0.entry.js → p-0b59eb11.entry.js} +1 -1
- package/lib/duet/{p-99311d82.system.entry.js → p-0bb30bf2.system.entry.js} +1 -1
- package/lib/duet/{p-02660cf2.system.entry.js → p-0c3e3891.system.entry.js} +1 -1
- package/lib/duet/{p-fc5b6b9d.system.entry.js → p-0c4459c0.system.entry.js} +1 -1
- package/lib/duet/{p-381ac995.system.entry.js → p-0c708a6b.system.entry.js} +1 -1
- package/lib/duet/{p-8c6ffecd.entry.js → p-0d22fa04.entry.js} +1 -1
- package/lib/duet/{p-fd2cc5ae.js → p-115e5a74.js} +1 -1
- package/lib/duet/{p-fed2032f.entry.js → p-11d78956.entry.js} +1 -1
- package/lib/duet/{p-cb345a69.system.entry.js → p-11e4884c.system.entry.js} +1 -1
- package/lib/duet/{p-38c8826f.entry.js → p-1298b261.entry.js} +1 -1
- package/lib/duet/{p-28a91d37.entry.js → p-140f3e19.entry.js} +1 -1
- package/lib/duet/{p-c48612d3.entry.js → p-14c30d34.entry.js} +1 -1
- package/lib/duet/{p-5b71a670.entry.js → p-15aa743e.entry.js} +1 -1
- package/lib/duet/p-17392944.entry.js +4 -0
- package/lib/duet/{p-5f7c6c4b.system.entry.js → p-1910a63b.system.entry.js} +1 -1
- package/lib/duet/{p-24617c6d.entry.js → p-1bbf5a2c.entry.js} +1 -1
- package/lib/duet/{p-ba11b37a.entry.js → p-1d0d7d5d.entry.js} +1 -1
- package/lib/duet/{p-5b16cb2f.system.entry.js → p-1fccc372.system.entry.js} +1 -1
- package/lib/duet/{p-186337f1.system.entry.js → p-2126a190.system.entry.js} +1 -1
- package/lib/duet/{p-3c334925.system.entry.js → p-24c831ec.system.entry.js} +1 -1
- package/lib/duet/{p-dade978b.js → p-274d11e3.js} +1 -1
- package/lib/duet/{p-96a6a8f4.system.entry.js → p-2b419553.system.entry.js} +1 -1
- package/lib/duet/p-2d4fcd47.entry.js +4 -0
- package/lib/duet/{p-8885bcbe.system.entry.js → p-2e6d11c7.system.entry.js} +1 -1
- package/lib/duet/{p-bcbc90ea.entry.js → p-2e719260.entry.js} +1 -1
- package/lib/duet/{p-1eb49427.system.entry.js → p-2ea486ae.system.entry.js} +1 -1
- package/lib/duet/{p-61cd81d5.system.entry.js → p-30eadd8b.system.entry.js} +1 -1
- package/lib/duet/{p-6d05c93e.entry.js → p-32ee4f34.entry.js} +1 -1
- package/lib/duet/{p-44f25642.entry.js → p-37961e05.entry.js} +1 -1
- package/lib/duet/{p-b8c0ac2b.entry.js → p-396e0025.entry.js} +1 -1
- package/lib/duet/{p-b672aa2d.system.entry.js → p-397aa011.system.entry.js} +1 -1
- package/lib/duet/{p-c4b6a0ac.entry.js → p-39bd9bac.entry.js} +1 -1
- package/lib/duet/p-39d9f25b.system.entry.js +4 -0
- package/lib/duet/{p-32b04990.system.entry.js → p-3b06e609.system.entry.js} +1 -1
- package/lib/duet/{p-3f09ae37.entry.js → p-3b11f97a.entry.js} +1 -1
- package/lib/duet/{p-6a696095.entry.js → p-3e79b617.entry.js} +1 -1
- package/lib/duet/{p-d525fe08.entry.js → p-3ec8ee39.entry.js} +1 -1
- package/lib/duet/{p-a313db30.js → p-41363488.js} +1 -1
- package/lib/duet/{p-070ec8bb.entry.js → p-42e2d141.entry.js} +1 -1
- package/lib/duet/{p-c8acef00.system.entry.js → p-436745f1.system.entry.js} +1 -1
- package/lib/duet/{p-4f5556f2.entry.js → p-46a8594c.entry.js} +1 -1
- package/lib/duet/{p-944101a8.entry.js → p-47b62443.entry.js} +1 -1
- package/lib/duet/{p-133f98ce.system.entry.js → p-4901f740.system.entry.js} +1 -1
- package/lib/duet/{p-cfebfeaa.entry.js → p-4e870704.entry.js} +1 -1
- package/lib/duet/{p-fcf0a09b.system.entry.js → p-4f2f039c.system.entry.js} +1 -1
- package/lib/duet/{p-c4f604fd.entry.js → p-5053b084.entry.js} +1 -1
- package/lib/duet/{p-5e5e2608.entry.js → p-5317f4fb.entry.js} +1 -1
- package/lib/duet/{p-2dbc77bb.entry.js → p-546d7868.entry.js} +1 -1
- package/lib/duet/{p-de9fd52c.system.entry.js → p-55eb8c7c.system.entry.js} +1 -1
- package/lib/duet/{p-caeda12e.system.entry.js → p-569be9eb.system.entry.js} +1 -1
- package/lib/duet/{p-1dc41676.system.entry.js → p-58d1b520.system.entry.js} +1 -1
- package/lib/duet/{p-8418063c.entry.js → p-58e07a25.entry.js} +1 -1
- package/lib/duet/{p-bdb92ce7.system.entry.js → p-5f914bd7.system.entry.js} +1 -1
- package/lib/duet/{p-6233ba02.entry.js → p-5fe520fd.entry.js} +1 -1
- package/lib/duet/{p-939b757e.entry.js → p-5fed0e82.entry.js} +1 -1
- package/lib/duet/{p-b2418385.system.entry.js → p-603a7942.system.entry.js} +1 -1
- package/lib/duet/{p-2d59e4c7.entry.js → p-62839e24.entry.js} +1 -1
- package/lib/duet/{p-3f7a1de2.entry.js → p-63370211.entry.js} +1 -1
- package/lib/duet/{p-d42a8f2d.entry.js → p-638f7d0e.entry.js} +1 -1
- package/lib/duet/{p-e4643be5.entry.js → p-64790718.entry.js} +1 -1
- package/lib/duet/{p-7eca4788.entry.js → p-64bc0173.entry.js} +1 -1
- package/lib/duet/{p-52d86f7b.entry.js → p-664e856a.entry.js} +1 -1
- package/lib/duet/{p-fea258a3.system.entry.js → p-6c405b4d.system.entry.js} +1 -1
- package/lib/duet/{p-b39afb39.system.entry.js → p-6ed45a15.system.entry.js} +1 -1
- package/lib/duet/{p-25a2a3f4.system.entry.js → p-70192ee4.system.entry.js} +1 -1
- package/lib/duet/{p-7614d35e.system.entry.js → p-706cd2e1.system.entry.js} +1 -1
- package/lib/duet/{p-0a85de9e.entry.js → p-70c4fd04.entry.js} +1 -1
- package/lib/duet/{p-6a69b1af.system.entry.js → p-71d6578b.system.entry.js} +1 -1
- package/lib/duet/{p-77462571.system.entry.js → p-736fce63.system.entry.js} +1 -1
- package/lib/duet/{p-e8614366.system.entry.js → p-744f44b4.system.entry.js} +1 -1
- package/lib/duet/{p-d70156aa.entry.js → p-74d79e97.entry.js} +1 -1
- package/lib/duet/{p-fc93dae3.system.entry.js → p-755dd4ac.system.entry.js} +1 -1
- package/lib/duet/{p-a2502dab.entry.js → p-7751209d.entry.js} +1 -1
- package/lib/duet/{p-83e0a9ad.system.entry.js → p-78408872.system.entry.js} +2 -2
- package/lib/duet/{p-51912824.system.entry.js → p-79dc49af.system.entry.js} +1 -1
- package/lib/duet/{p-549587ba.entry.js → p-7a02ef0d.entry.js} +1 -1
- package/lib/duet/{p-e876de11.system.entry.js → p-7a2b0683.system.entry.js} +1 -1
- package/lib/duet/{p-f5f9d249.entry.js → p-7aaf227f.entry.js} +1 -1
- package/lib/duet/{p-ebe7e977.system.entry.js → p-7e5e362d.system.entry.js} +1 -1
- package/lib/duet/{p-f7c41718.system.entry.js → p-7f13b214.system.entry.js} +1 -1
- package/lib/duet/{p-337fd9bc.entry.js → p-8010d152.entry.js} +1 -1
- package/lib/duet/{p-7a1192d3.system.entry.js → p-80dfb88c.system.entry.js} +1 -1
- package/lib/duet/{p-dace5770.system.entry.js → p-81829412.system.entry.js} +1 -1
- package/lib/duet/{p-d94decde.system.entry.js → p-851868b5.system.entry.js} +1 -1
- package/lib/duet/{p-ee45535e.system.entry.js → p-8864ba0e.system.entry.js} +1 -1
- package/lib/duet/p-88a50491.system.js +4 -0
- package/lib/duet/{p-f353af2c.system.entry.js → p-88e789b9.system.entry.js} +1 -1
- package/lib/duet/{p-e467f932.entry.js → p-891c5ca1.entry.js} +1 -1
- package/lib/duet/{p-700f811b.system.entry.js → p-8a3cca2a.system.entry.js} +1 -1
- package/lib/duet/p-8aae2ee1.entry.js +4 -0
- package/lib/duet/{p-29bc9659.entry.js → p-8db7ccfd.entry.js} +1 -1
- package/lib/duet/{p-a757e8de.entry.js → p-8ee612f4.entry.js} +1 -1
- package/lib/duet/{p-521e45af.system.entry.js → p-8f191365.system.entry.js} +1 -1
- package/lib/duet/{p-dabc2694.entry.js → p-90c87945.entry.js} +1 -1
- package/lib/duet/{p-7229c899.system.entry.js → p-915e638f.system.entry.js} +1 -1
- package/lib/duet/{p-75fb4f1c.entry.js → p-93a9d03f.entry.js} +1 -1
- package/lib/duet/{p-c832a424.entry.js → p-9594405f.entry.js} +1 -1
- package/lib/duet/{p-1ef0d77b.entry.js → p-9664f656.entry.js} +1 -1
- package/lib/duet/{p-4d22780e.system.entry.js → p-971fe383.system.entry.js} +1 -1
- package/lib/duet/p-97ccb6b2.entry.js +4 -0
- package/lib/duet/{p-f7c420fd.entry.js → p-9d445004.entry.js} +1 -1
- package/lib/duet/{p-2525f10f.entry.js → p-9ff169a8.entry.js} +1 -1
- package/lib/duet/{p-fa55105b.system.entry.js → p-9ff3ef1a.system.entry.js} +1 -1
- package/lib/duet/{p-bbab3ec2.entry.js → p-a1d72dc5.entry.js} +1 -1
- package/lib/duet/{p-b14e2cef.entry.js → p-a3fd3b97.entry.js} +1 -1
- package/lib/duet/p-a43c1a0f.entry.js +4 -0
- package/lib/duet/{p-276afe9f.system.entry.js → p-a494f7d2.system.entry.js} +1 -1
- package/lib/duet/{p-43a1bc71.entry.js → p-a8a32775.entry.js} +1 -1
- package/lib/duet/{p-d827cdf2.system.entry.js → p-a923e368.system.entry.js} +1 -1
- package/lib/duet/{p-45b44159.system.entry.js → p-a9a50440.system.entry.js} +2 -2
- package/lib/duet/{p-60c18c57.system.entry.js → p-ae3622ce.system.entry.js} +1 -1
- package/lib/duet/{p-1b93d773.entry.js → p-ae652505.entry.js} +1 -1
- package/lib/duet/{p-5360a081.entry.js → p-b9434c17.entry.js} +1 -1
- package/lib/duet/{p-daf1c188.system.entry.js → p-c0e476fd.system.entry.js} +1 -1
- package/lib/duet/{p-607aaab1.entry.js → p-c409a1dc.entry.js} +1 -1
- package/lib/duet/{p-19ea7a51.entry.js → p-c6e4ebf0.entry.js} +1 -1
- package/lib/duet/{p-46750b7e.system.entry.js → p-c7303568.system.entry.js} +1 -1
- package/lib/duet/{p-9ad4c219.system.js → p-c7b04440.system.js} +1 -1
- package/lib/duet/p-c8e267bc.entry.js +4 -0
- package/lib/duet/{p-b98d7858.entry.js → p-c918ea31.entry.js} +1 -1
- package/lib/duet/{p-5435c3b4.system.entry.js → p-c99cc796.system.entry.js} +1 -1
- package/lib/duet/{p-cf633362.entry.js → p-cadf7c9b.entry.js} +1 -1
- package/lib/duet/p-cb1cf88a.system.entry.js +4 -0
- package/lib/duet/{p-d0dd892b.system.entry.js → p-cc104f41.system.entry.js} +1 -1
- package/lib/duet/{p-dc9a63fe.system.entry.js → p-cc434423.system.entry.js} +1 -1
- package/lib/duet/{p-a79f55dd.entry.js → p-ce1d649d.entry.js} +1 -1
- package/lib/duet/{p-61ab82cd.system.entry.js → p-d1914efd.system.entry.js} +1 -1
- package/lib/duet/{p-fdb743cd.entry.js → p-d22d1465.entry.js} +1 -1
- package/lib/duet/{p-d8c1605f.system.entry.js → p-d2f6423e.system.entry.js} +1 -1
- package/lib/duet/p-d325c3d3.system.entry.js +4 -0
- package/lib/duet/{p-2fd27387.system.entry.js → p-d39e2edb.system.entry.js} +2 -2
- package/lib/duet/{p-94795921.system.entry.js → p-d8e41f55.system.entry.js} +1 -1
- package/lib/duet/{p-009fba8e.system.entry.js → p-d8e56dcd.system.entry.js} +2 -2
- package/lib/duet/{p-1c85d5b3.system.entry.js → p-d9b3b34a.system.entry.js} +1 -1
- package/lib/duet/{p-f479fc15.system.entry.js → p-db8b2380.system.entry.js} +1 -1
- package/lib/duet/{p-37b3373f.system.entry.js → p-dbbd3a11.system.entry.js} +1 -1
- package/lib/duet/p-dbf5bd13.entry.js +4 -0
- package/lib/duet/{p-b9095610.system.js → p-dc059577.system.js} +1 -1
- package/lib/duet/{p-f6c715f8.entry.js → p-dfb08a79.entry.js} +1 -1
- package/lib/duet/{p-48897c78.system.entry.js → p-e0887380.system.entry.js} +1 -1
- package/lib/duet/{p-954180c5.system.entry.js → p-e5a4b88c.system.entry.js} +1 -1
- package/lib/duet/{p-d2735e6f.entry.js → p-e90a1481.entry.js} +1 -1
- package/lib/duet/{p-b384dd4d.entry.js → p-ec0fadf9.entry.js} +1 -1
- package/lib/duet/{p-9e700d1c.entry.js → p-ef8efbf5.entry.js} +1 -1
- package/lib/duet/{p-1294e538.entry.js → p-f0023574.entry.js} +1 -1
- package/lib/duet/{p-3ff41d7f.system.entry.js → p-f04338dd.system.entry.js} +1 -1
- package/lib/duet/p-f36029aa.system.entry.js +4 -0
- package/lib/duet/{p-e1593168.system.entry.js → p-f448c5da.system.entry.js} +1 -1
- package/lib/duet/{p-4f419ad9.system.entry.js → p-f765b6a6.system.entry.js} +1 -1
- package/lib/duet/{p-f04ed25e.entry.js → p-f7c032a2.entry.js} +1 -1
- package/lib/duet/p-f7f200b1.system.entry.js +4 -0
- package/lib/duet/{p-4cb86860.entry.js → p-fbefd879.entry.js} +1 -1
- package/lib/duet/{p-65273068.system.entry.js → p-fc57622c.system.entry.js} +1 -1
- package/lib/duet/p-fd4c42f8.system.js +4 -0
- package/lib/duet/{p-52a0423d.system.entry.js → p-ff3660d4.system.entry.js} +1 -1
- package/lib/{dist-custom-elements/p-dade978b.js → esm/common-strings-c0ac5a0b.js} +6 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +15 -2
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +31 -9
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +2 -2
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +7 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +4 -3
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-b5ee5205.js → focus-utils-03333699.js} +1 -1
- package/lib/esm/{index-bc4e29df.js → index-c3bd1656.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/common-strings-c0ac5a0b.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-03333699.js +4 -0
- package/lib/esm-es5/{index-bc4e29df.js → index-c3bd1656.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common-strings.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
- package/lib/types/components/duet-button/duet-button.d.ts +12 -0
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -1
- package/lib/types/components/duet-input/duet-input.d.ts +1 -1
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -1
- package/lib/types/components/duet-radio/duet-radio.d.ts +1 -1
- package/lib/types/components/duet-select/duet-select.d.ts +1 -1
- package/lib/types/components/duet-tab/duet-tab.d.ts +4 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -1
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -1
- package/lib/types/components.d.ts +54 -16
- package/lib/types/stencil-public-runtime.d.ts +2 -2
- package/lib/types/utils/axe-core-utils.d.ts +9 -0
- package/lib/types/utils/picture-utils.d.ts +18 -0
- package/package.json +6 -5
- package/lib/duet/p-11eb90f6.entry.js +0 -4
- package/lib/duet/p-2b1e39d0.entry.js +0 -4
- package/lib/duet/p-2e6fb207.entry.js +0 -4
- package/lib/duet/p-32f094f1.system.entry.js +0 -4
- package/lib/duet/p-365e7732.system.entry.js +0 -4
- package/lib/duet/p-36b36a8e.system.js +0 -4
- package/lib/duet/p-36e94f5b.entry.js +0 -4
- package/lib/duet/p-3f654f99.entry.js +0 -4
- package/lib/duet/p-89d82d24.system.entry.js +0 -4
- package/lib/duet/p-9dfdcbb2.entry.js +0 -4
- package/lib/duet/p-a6078084.system.entry.js +0 -4
- package/lib/duet/p-c0c4fa47.entry.js +0 -4
- package/lib/duet/p-ccf99f79.system.entry.js +0 -4
- package/lib/duet/p-e6af2ec8.system.js +0 -4
- package/lib/esm-es5/common-strings-71f2aabd.js +0 -4
- package/lib/esm-es5/focus-utils-b5ee5205.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -6932,6 +6932,13 @@ class DuetBadge {
|
|
|
6932
6932
|
}; }
|
|
6933
6933
|
}
|
|
6934
6934
|
|
|
6935
|
+
const DuetPicture = ({ img, sources }) => {
|
|
6936
|
+
return (hAsync("picture", null,
|
|
6937
|
+
sources &&
|
|
6938
|
+
sources.map(source => (hAsync("source", { srcSet: source.srcset, media: source.media, type: source.type, sizes: source.sizes }))),
|
|
6939
|
+
hAsync("img", Object.assign({}, img))));
|
|
6940
|
+
};
|
|
6941
|
+
|
|
6935
6942
|
const duetBannerCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-banner,*.sc-duet-banner::after,*.sc-duet-banner::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-banner-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}/*!@:host:last-child, :host:last-of-type*/.sc-duet-banner-h:last-child,.sc-duet-banner-h:last-of-type{margin-right:0 !important}/*!@:host(.duet-m-0)*/.duet-m-0.sc-duet-banner-h{margin:0 !important}/*!@.duet-banner*/.duet-banner.sc-duet-banner{display:grid;width:100%;height: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;text-align:left;border-radius:24px}/*!@.duet-banner.duet-p-0*/.duet-banner.duet-p-0.sc-duet-banner{padding:0 !important}/*!@.duet-banner.duet-m-0*/.duet-banner.duet-m-0.sc-duet-banner{margin:0 !important}/*!@.duet-banner .visual*/.duet-banner.sc-duet-banner .visual.sc-duet-banner{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner .visual .image-container*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}/*!@.duet-banner .visual .image*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}/*!@.duet-banner .visual .icon*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{position:absolute}/*!@.duet-banner .content*/.duet-banner.sc-duet-banner .content.sc-duet-banner{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}/*!@.duet-banner .action*/.duet-banner.sc-duet-banner .action.sc-duet-banner{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}/*!@.duet-banner.small*/.duet-banner.small.sc-duet-banner{grid-template-rows:335px 1fr;max-width:335px}/*!@.duet-banner.small .visual*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner.small .visual .image-container*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-130px;left:-40px}/*!@.duet-banner.small .visual .icon*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:30px;left:15px}/*!@.duet-banner.large*/.duet-banner.large.sc-duet-banner{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}/*!@.duet-banner.large .visual*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-bottom-left-radius:24px}/*!@.duet-banner.large .visual .image-container*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-30px;left:-30px}/*!@.duet-banner.large .visual .image*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:-15px;left:30px}/*!@.duet-banner.large .visual .icon*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{top:40px;bottom:auto;left:335px}/*!@.duet-banner.large .content*/.duet-banner.large.sc-duet-banner .content.sc-duet-banner{align-items:flex-start;justify-content:center;padding:0 72px 0 0}/*!@.duet-banner.large .action*/.duet-banner.large.sc-duet-banner .action.sc-duet-banner{flex-grow:0}/*!@.duet-banner.auto*/.duet-banner.auto.sc-duet-banner{grid-template-rows:335px 1fr;max-width:335px}/*!@.duet-banner.auto .visual*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner.auto .visual .image-container*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-130px;left:-40px}/*!@.duet-banner.auto .visual .icon*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:30px;left:15px}@media (min-width: 62em){/*!@.duet-banner.auto*/.duet-banner.auto.sc-duet-banner{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}/*!@.duet-banner.auto .visual*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-bottom-left-radius:24px}/*!@.duet-banner.auto .visual .image-container*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-30px;left:-30px}/*!@.duet-banner.auto .visual .image*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:-15px;left:30px}/*!@.duet-banner.auto .visual .icon*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{top:40px;bottom:auto;left:335px}/*!@.duet-banner.auto .content*/.duet-banner.auto.sc-duet-banner .content.sc-duet-banner{align-items:flex-start;justify-content:center;padding:0 72px 0 0}/*!@.duet-banner.auto .action*/.duet-banner.auto.sc-duet-banner .action.sc-duet-banner{flex-grow:0}}/*!@.duet-banner.duet-theme-turva*/.duet-banner.duet-theme-turva.sc-duet-banner{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}/*!@.duet-banner.duet-theme-turva .visual .image-container*/.duet-banner.duet-theme-turva.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}/*!@.duet-banner.duet-theme-turva .visual .image*/.duet-banner.duet-theme-turva.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{transform:none}/*!@.duet-banner.duet-theme-turva.small .visual .image-container*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-164px;left:-147px}/*!@.duet-banner.duet-theme-turva.small .visual .image*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.small .visual .icon*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:15px}/*!@.duet-banner.duet-theme-turva.large .visual .image-container*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-54.923px;left:-147px}/*!@.duet-banner.duet-theme-turva.large .visual .image*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.large .visual .icon*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:auto;left:295px}/*!@.duet-banner.duet-theme-turva.auto .visual .image-container*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-164px;left:-147px}/*!@.duet-banner.duet-theme-turva.auto .visual .image*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.auto .visual .icon*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:15px}@media (min-width: 62em){/*!@.duet-banner.duet-theme-turva.auto .visual .image-container*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-54.923px;left:-147px}/*!@.duet-banner.duet-theme-turva.auto .visual .image*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.auto .visual .icon*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:auto;left:295px}}";
|
|
6936
6943
|
|
|
6937
6944
|
class DuetBanner {
|
|
@@ -6945,6 +6952,7 @@ class DuetBanner {
|
|
|
6945
6952
|
this.textColor = "secondary";
|
|
6946
6953
|
this.size = "auto";
|
|
6947
6954
|
this.image = "";
|
|
6955
|
+
this.sources = undefined;
|
|
6948
6956
|
this.icon = "";
|
|
6949
6957
|
this.headingLevel = "h2";
|
|
6950
6958
|
}
|
|
@@ -6967,11 +6975,15 @@ class DuetBanner {
|
|
|
6967
6975
|
const bannerStyles = {
|
|
6968
6976
|
backgroundColor,
|
|
6969
6977
|
};
|
|
6978
|
+
const pictureSource = {
|
|
6979
|
+
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
6980
|
+
sources: parsePossibleJSON(this.sources),
|
|
6981
|
+
};
|
|
6970
6982
|
return (hAsync(Host, { class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { class: {
|
|
6971
6983
|
"duet-banner": true,
|
|
6972
6984
|
"duet-theme-turva": this.theme === "turva",
|
|
6973
6985
|
[this.size]: true,
|
|
6974
|
-
}, style: bannerStyles }, hAsync("div", { class: "visual" }, hAsync("div", { class: "image-container" },
|
|
6986
|
+
}, style: bannerStyles }, hAsync("div", { class: "visual" }, hAsync("div", { class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({}, pictureSource))), this.icon && (hAsync("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: "xx-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), hAsync("div", { class: "content" }, this.hasHeadingSlot && (hAsync("div", { class: "heading" }, hAsync("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, hAsync("slot", { name: "heading" })))), this.hasDescriptionSlot && (hAsync("div", { class: "description" }, hAsync("duet-paragraph", { theme: this.theme, margin: "none", color: this.textColor }, hAsync("slot", { name: "description" })))), this.hasActionSlot && (hAsync("div", { class: "action" }, hAsync("slot", { name: "action" })))))));
|
|
6975
6987
|
}
|
|
6976
6988
|
get element() { return getElement(this); }
|
|
6977
6989
|
static get style() { return duetBannerCss; }
|
|
@@ -6987,6 +6999,7 @@ class DuetBanner {
|
|
|
6987
6999
|
"textColor": [1, "text-color"],
|
|
6988
7000
|
"size": [1],
|
|
6989
7001
|
"image": [1],
|
|
7002
|
+
"sources": [1],
|
|
6990
7003
|
"icon": [1],
|
|
6991
7004
|
"headingLevel": [1, "heading-level"]
|
|
6992
7005
|
},
|
|
@@ -6998,7 +7011,7 @@ class DuetBanner {
|
|
|
6998
7011
|
|
|
6999
7012
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
7000
7013
|
|
|
7001
|
-
const duetBreadcrumbCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-breadcrumb,*.sc-duet-breadcrumb::after,*.sc-duet-breadcrumb::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-breadcrumb-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:list-item;width:auto}/*!@.container*/.container.sc-duet-breadcrumb{display:flex;gap:8px;align-items:center}/*!@.hide*/.hide.sc-duet-breadcrumb{display:none}/*!@.duet-breadrumbs-arrow*/.duet-breadrumbs-arrow.sc-duet-breadcrumb{display:block;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}/*!@.duet-breadcrumb*/.duet-breadcrumb.sc-duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}/*!@.duet-breadcrumb:focus*/.duet-breadcrumb.sc-duet-breadcrumb:focus{outline:0}/*!@:host(.user-is-tabbing) .duet-breadcrumb:focus*/.user-is-tabbing.sc-duet-breadcrumb-h .duet-breadcrumb.sc-duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus*/.user-is-tabbing.sc-duet-breadcrumb-h .duet-breadcrumb.duet-theme-turva.sc-duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
7014
|
+
const duetBreadcrumbCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-breadcrumb,*.sc-duet-breadcrumb::after,*.sc-duet-breadcrumb::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-breadcrumb-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:list-item;width:auto}/*!@.container*/.container.sc-duet-breadcrumb{display:flex;gap:8px;align-items:center}/*!@.hide*/.hide.sc-duet-breadcrumb{display:none}/*!@.duet-breadrumbs-arrow*/.duet-breadrumbs-arrow.sc-duet-breadcrumb{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}/*!@.duet-breadcrumb*/.duet-breadcrumb.sc-duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}/*!@.duet-breadcrumb:focus*/.duet-breadcrumb.sc-duet-breadcrumb:focus{outline:0}/*!@:host(.user-is-tabbing) .duet-breadcrumb:focus*/.user-is-tabbing.sc-duet-breadcrumb-h .duet-breadcrumb.sc-duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus*/.user-is-tabbing.sc-duet-breadcrumb-h .duet-breadcrumb.duet-theme-turva.sc-duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
7002
7015
|
|
|
7003
7016
|
class DuetBreadcrumb {
|
|
7004
7017
|
constructor(hostRef) {
|
|
@@ -7119,6 +7132,11 @@ const DuetStringsExternalDefaults = {
|
|
|
7119
7132
|
sv: "Öppnas i nytt fönster",
|
|
7120
7133
|
en: "Opens in a new window",
|
|
7121
7134
|
};
|
|
7135
|
+
const DuetStringsLoadingDefaults = {
|
|
7136
|
+
fi: "Ladataan",
|
|
7137
|
+
sv: "Lastning",
|
|
7138
|
+
en: "Loading…",
|
|
7139
|
+
};
|
|
7122
7140
|
|
|
7123
7141
|
const duetButtonCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-button,*.sc-duet-button::after,*.sc-duet-button::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-button-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;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}/*!@:host:last-child, :host:last-of-type*/.sc-duet-button-h:last-child,.sc-duet-button-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){/*!@:host*/.sc-duet-button-h{width:100%}}/*!@:host(.input-button)*/.input-button.sc-duet-button-h{z-index:250}/*!@:host(.duet-small)*/.duet-small.sc-duet-button-h{margin-right:2px !important;margin-bottom:8px !important}/*!@:host(.duet-small):last-child, :host(.duet-small):last-of-type*/.duet-small.sc-duet-button-h:last-child,.duet-small.sc-duet-button-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){/*!@:host(.duet-small)*/.duet-small.sc-duet-button-h{width:auto}}/*!@:host(.duet-expand)*/.duet-expand.sc-duet-button-h{width:100% !important}/*!@:host(.duet-m-0)*/.duet-m-0.sc-duet-button-h{margin:0 !important}/*!@:host(.duet-fixed)*/.duet-fixed.sc-duet-button-h{width:auto !important}/*!@:host(:last-child)*/.sc-duet-button-h:last-child{margin-right:0 !important}/*!@.duet-button-container*/.duet-button-container.sc-duet-button{position:relative;width:100%}/*!@.duet-button*/.duet-button.sc-duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}/*!@.duet-button.duet-p-0*/.duet-button.duet-p-0.sc-duet-button{padding:0 !important}/*!@.duet-button.duet-m-0*/.duet-button.duet-m-0.sc-duet-button{margin:0 !important}/*!@.duet-button:focus*/.duet-button.sc-duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-theme-turva .duet-button:focus, .duet-button:focus.duet-theme-turva*/.duet-theme-turva.sc-duet-button .duet-button.sc-duet-button:focus,.duet-button.sc-duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-button:not(.input-button-primary, .input-button-secondary, .input-button-embedded)*/.duet-button.sc-duet-button:not(.input-button-primary,.input-button-secondary.sc-duet-button,.input-button-embedded).sc-duet-button{font-variant-numeric:tabular-nums}/*!@.duet-button.duet-button-text-center*/.duet-button.duet-button-text-center.sc-duet-button{text-align:center !important}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only)*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only).duet-p-0{padding:0 !important}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only).icon{padding-left:48px !important}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}/*!@.duet-theme-turva .duet-button*/.duet-theme-turva.sc-duet-button .duet-button.sc-duet-button{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) !important}/*!@.duet-button .duet-button-contents*/.duet-button.sc-duet-button .duet-button-contents.sc-duet-button{position:relative;display:inline-block;margin:0 auto;pointer-events:none}/*!@.duet-button.duet-no-wrap*/.duet-button.duet-no-wrap.sc-duet-button{white-space:nowrap}/*!@.duet-button.icon*/.duet-button.icon.sc-duet-button{padding-left:52px !important}/*!@.duet-button.icon-right*/.duet-button.icon-right.sc-duet-button{padding-right:52px !important;padding-left:28px !important}/*!@.duet-button svg*/.duet-button.sc-duet-button svg.sc-duet-button{width:100%;min-width:100%;fill:currentColor}/*!@.duet-button .duet-button-icon*/.duet-button.sc-duet-button .duet-button-icon.sc-duet-button{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}/*!@.duet-button .duet-button-icon duet-icon*/.duet-button.sc-duet-button .duet-button-icon.sc-duet-button duet-icon.sc-duet-button{width:16px;height:16px}/*!@.duet-button .duet-button-icon.right*/.duet-button.sc-duet-button .duet-button-icon.right.sc-duet-button{right:-28px;left:auto}/*!@.duet-button .duet-button-icon.large*/.duet-button.sc-duet-button .duet-button-icon.large.sc-duet-button{left:-32px;width:20px;height:20px}/*!@.duet-button .duet-button-icon.large duet-icon*/.duet-button.sc-duet-button .duet-button-icon.large.sc-duet-button duet-icon.sc-duet-button{width:20px;height:20px}/*!@.duet-button .duet-button-icon.large.right*/.duet-button.sc-duet-button .duet-button-icon.large.right.sc-duet-button{right:-32px;left:auto}/*!@.duet-button .duet-button-icon.medium-small*/.duet-button.sc-duet-button .duet-button-icon.medium-small.sc-duet-button{left:-16px;width:10px;height:10px;padding-top:1px}/*!@.duet-button .duet-button-icon.medium-small duet-icon*/.duet-button.sc-duet-button .duet-button-icon.medium-small.sc-duet-button duet-icon.sc-duet-button{width:10px;height:10px}/*!@.duet-button .duet-button-icon.medium-small.right*/.duet-button.sc-duet-button .duet-button-icon.medium-small.right.sc-duet-button{right:-16px;left:auto}/*!@.duet-button .duet-button-icon.small*/.duet-button.sc-duet-button .duet-button-icon.small.sc-duet-button{left:-16px;width:7px;height:7px}/*!@.duet-button .duet-button-icon.small duet-icon*/.duet-button.sc-duet-button .duet-button-icon.small.sc-duet-button duet-icon.sc-duet-button{width:7px;height:7px}/*!@.duet-button .duet-button-icon.small.right*/.duet-button.sc-duet-button .duet-button-icon.small.right.sc-duet-button{right:-16px;left:auto}/*!@.duet-button:active:not([disabled])*/.duet-button.sc-duet-button:active:not([disabled]){opacity:0.75;transition:none}/*!@.duet-button.default*/.duet-button.default.sc-duet-button{border-color:rgb(225, 227, 230)}/*!@.duet-theme-turva .duet-button.default*/.duet-theme-turva.sc-duet-button .duet-button.default.sc-duet-button{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}/*!@.duet-button.default:hover*/.duet-button.default.sc-duet-button:hover{border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.default:hover*/.duet-theme-turva.sc-duet-button .duet-button.default.sc-duet-button:hover{border-color:rgb(198, 12, 48)}/*!@.duet-button.default.duet-button-negative*/.duet-button.default.duet-button-negative.sc-duet-button{background-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.default.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.default.duet-button-negative.sc-duet-button{background-color:rgb(228, 228, 230) !important}/*!@.duet-button.default.duet-button-negative:hover*/.duet-button.default.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.default.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.default.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.primary, .duet-button.input-button-primary*/.duet-button.primary.sc-duet-button,.duet-button.input-button-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.primary, .duet-theme-turva .duet-button.input-button-primary*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}/*!@.duet-button.primary:hover, .duet-button.input-button-primary:hover*/.duet-button.primary.sc-duet-button:hover,.duet-button.input-button-primary.sc-duet-button:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}/*!@.duet-theme-turva .duet-button.primary:hover, .duet-theme-turva .duet-button.input-button-primary:hover*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}/*!@.duet-button.primary:focus, .duet-button.input-button-primary:focus*/.duet-button.primary.sc-duet-button:focus,.duet-button.input-button-primary.sc-duet-button:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}/*!@.duet-theme-turva .duet-button.primary:focus, .duet-theme-turva .duet-button.input-button-primary:focus*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button:focus,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}/*!@.duet-button.secondary, .duet-button.input-button-secondary, .duet-button.input-button-embedded*/.duet-button.secondary.sc-duet-button,.duet-button.input-button-secondary.sc-duet-button,.duet-button.input-button-embedded.sc-duet-button{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}/*!@.duet-theme-turva .duet-button.secondary, .duet-theme-turva .duet-button.input-button-secondary, .duet-theme-turva .duet-button.input-button-embedded*/.duet-theme-turva.sc-duet-button .duet-button.secondary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.sc-duet-button{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}/*!@.duet-button.secondary:hover, .duet-button.input-button-secondary:hover, .duet-button.input-button-embedded:hover*/.duet-button.secondary.sc-duet-button:hover,.duet-button.input-button-secondary.sc-duet-button:hover,.duet-button.input-button-embedded.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.secondary:hover, .duet-theme-turva .duet-button.input-button-secondary:hover, .duet-theme-turva .duet-button.input-button-embedded:hover*/.duet-theme-turva.sc-duet-button .duet-button.secondary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.secondary.duet-button-negative, .duet-button.input-button-secondary.duet-button-negative, .duet-button.input-button-embedded.duet-button-negative*/.duet-button.secondary.duet-button-negative.sc-duet-button,.duet-button.input-button-secondary.duet-button-negative.sc-duet-button,.duet-button.input-button-embedded.duet-button-negative.sc-duet-button{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.secondary.duet-button-negative, .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative, .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.secondary.duet-button-negative.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.duet-button-negative.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.duet-button-negative.sc-duet-button{color:rgb(228, 228, 230) !important}/*!@.duet-button.secondary.duet-button-negative:hover, .duet-button.input-button-secondary.duet-button-negative:hover, .duet-button.input-button-embedded.duet-button-negative:hover*/.duet-button.secondary.duet-button-negative.sc-duet-button:hover,.duet-button.input-button-secondary.duet-button-negative.sc-duet-button:hover,.duet-button.input-button-embedded.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.secondary.duet-button-negative:hover, .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover, .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.secondary.duet-button-negative.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.duet-button-negative.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.input-button-embedded*/.duet-button.input-button-embedded.sc-duet-button{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}/*!@.duet-button.negative*/.duet-button.negative.sc-duet-button{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.negative*/.duet-theme-turva.sc-duet-button .duet-button.negative.sc-duet-button{color:rgb(23, 28, 58) !important}/*!@.duet-button.negative:hover*/.duet-button.negative.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}/*!@.duet-button.negative:focus*/.duet-button.negative.sc-duet-button:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}/*!@.duet-theme-turva .duet-button.negative:focus*/.duet-theme-turva.sc-duet-button .duet-button.negative.sc-duet-button:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}/*!@.duet-button.destructive-primary*/.duet-button.destructive-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}/*!@.duet-theme-turva .duet-button.destructive-primary*/.duet-theme-turva.sc-duet-button .duet-button.destructive-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}/*!@.duet-button.destructive-primary:hover*/.duet-button.destructive-primary.sc-duet-button:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}/*!@.duet-theme-turva .duet-button.destructive-primary:hover*/.duet-theme-turva.sc-duet-button .duet-button.destructive-primary.sc-duet-button:hover{background:#b3220a}/*!@.duet-button.destructive, .duet-button.destructive-secondary*/.duet-button.destructive.sc-duet-button,.duet-button.destructive-secondary.sc-duet-button{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}/*!@.duet-theme-turva .duet-button.destructive, .duet-theme-turva .duet-button.destructive-secondary*/.duet-theme-turva.sc-duet-button .duet-button.destructive.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.destructive-secondary.sc-duet-button{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}/*!@.duet-button.destructive:hover, .duet-button.destructive-secondary:hover*/.duet-button.destructive.sc-duet-button:hover,.duet-button.destructive-secondary.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}/*!@.duet-theme-turva .duet-button.destructive:hover, .duet-theme-turva .duet-button.destructive-secondary:hover*/.duet-theme-turva.sc-duet-button .duet-button.destructive.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.destructive-secondary.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}/*!@.duet-button.plain*/.duet-button.plain.sc-duet-button{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}/*!@.duet-theme-turva .duet-button.plain*/.duet-theme-turva.sc-duet-button .duet-button.plain.sc-duet-button{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}/*!@.duet-button.plain.icon*/.duet-button.plain.icon.sc-duet-button{padding-left:20px !important}/*!@.duet-button.plain.icon.icon-right*/.duet-button.plain.icon.icon-right.sc-duet-button{padding-right:20px !important;padding-left:0 !important}/*!@.duet-button.plain.icon.small*/.duet-button.plain.icon.small.sc-duet-button{padding-left:20px !important}/*!@.duet-button.plain.icon.small.icon-right*/.duet-button.plain.icon.small.icon-right.sc-duet-button{padding-right:20px !important;padding-left:0 !important}/*!@.duet-button.plain.icon.medium-small*/.duet-button.plain.icon.medium-small.sc-duet-button{padding-left:20px !important}/*!@.duet-button.plain.icon.medium-small.icon-right*/.duet-button.plain.icon.medium-small.icon-right.sc-duet-button{padding-right:20px !important;padding-left:0 !important}/*!@.duet-button.plain.icon.medium*/.duet-button.plain.icon.medium.sc-duet-button{padding-left:24px !important}/*!@.duet-button.plain.icon.medium.icon-right*/.duet-button.plain.icon.medium.icon-right.sc-duet-button{padding-right:24px !important;padding-left:0 !important}/*!@.duet-button.plain.icon.large*/.duet-button.plain.icon.large.sc-duet-button{padding-left:30px !important}/*!@.duet-button.plain.icon.large.icon-right*/.duet-button.plain.icon.large.icon-right.sc-duet-button{padding-right:30px !important;padding-left:0 !important}/*!@.duet-button.plain .duet-button-icon.left*/.duet-button.plain.sc-duet-button .duet-button-icon.left.sc-duet-button{left:-16.6666666667px !important}/*!@.duet-button.plain .duet-button-icon.left.medium*/.duet-button.plain.sc-duet-button .duet-button-icon.left.medium.sc-duet-button{left:-24px !important}/*!@.duet-button.plain .duet-button-icon.left.large*/.duet-button.plain.sc-duet-button .duet-button-icon.left.large.sc-duet-button{left:-30px !important}/*!@.duet-button.plain .duet-button-icon.right*/.duet-button.plain.sc-duet-button .duet-button-icon.right.sc-duet-button{right:-16.6666666667px !important}/*!@.duet-button.plain .duet-button-icon.right.medium*/.duet-button.plain.sc-duet-button .duet-button-icon.right.medium.sc-duet-button{right:-24px !important}/*!@.duet-button.plain .duet-button-icon.right.large*/.duet-button.plain.sc-duet-button .duet-button-icon.right.large.sc-duet-button{right:-30px !important}/*!@.duet-button.plain[disabled]*/.duet-button.plain[disabled].sc-duet-button{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}/*!@.duet-theme-turva .duet-button.plain[disabled]*/.duet-theme-turva.sc-duet-button .duet-button.plain[disabled].sc-duet-button{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}/*!@.duet-button.plain:hover*/.duet-button.plain.sc-duet-button:hover{color:rgb(0, 77, 128) !important;background:transparent !important}/*!@.duet-theme-turva .duet-button.plain:hover*/.duet-theme-turva.sc-duet-button .duet-button.plain.sc-duet-button:hover{color:rgb(148, 9, 37) !important}/*!@.duet-button.plain.duet-button-negative*/.duet-button.plain.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important}/*!@.duet-theme-turva .duet-button.plain.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.plain.duet-button-negative.sc-duet-button{color:rgb(228, 228, 230) !important}/*!@.duet-button.plain.duet-button-negative:hover*/.duet-button.plain.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important}/*!@.duet-theme-turva .duet-button.plain.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.plain.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important}/*!@.duet-button.duet-button-icon-only*/.duet-button.duet-button-icon-only.sc-duet-button{min-width:48px;min-height:48px;padding:0 !important}/*!@.duet-button.duet-button-icon-only .duet-button-contents*/.duet-button.duet-button-icon-only.sc-duet-button .duet-button-contents.sc-duet-button{position:static}/*!@.duet-button.duet-button-icon-only .duet-button-icon.left.large,\n.duet-button.duet-button-icon-only .duet-button-icon.left.medium,\n.duet-button.duet-button-icon-only .duet-button-icon.left.small*/.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.small.sc-duet-button{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}/*!@.duet-button.duet-button.input-button-primary, .duet-button.duet-button.input-button-secondary, .duet-button.duet-button.input-button-embedded*/.duet-button.duet-button.input-button-primary.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}/*!@.duet-button.duet-button.input-button-primary .duet-button-contents, .duet-button.duet-button.input-button-secondary .duet-button-contents, .duet-button.duet-button.input-button-embedded .duet-button-contents*/.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-contents.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-contents.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-contents.sc-duet-button{position:static}/*!@.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-primary .duet-button-icon.left.small, .duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small, .duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small*/.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.small.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.small.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.small.sc-duet-button{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}/*!@.duet-button.duet-button.input-button-embedded*/.duet-button.duet-button.input-button-embedded.sc-duet-button{border-left-width:0}/*!@.duet-button.square*/.duet-button.square.sc-duet-button{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}/*!@.duet-button.square.duet-button-is-small*/.duet-button.square.duet-button-is-small.sc-duet-button{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}/*!@.duet-button.square.duet-button-negative*/.duet-button.square.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.square.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.square.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}/*!@.duet-theme-turva .duet-button.square*/.duet-theme-turva.sc-duet-button .duet-button.square.sc-duet-button{border-color:rgb(228, 228, 230)}/*!@.duet-button[disabled], .duet-button[disabled]:hover, .duet-button.duet-button-negative[disabled], .duet-button.duet-button-negative[disabled]:hover*/.duet-button[disabled].sc-duet-button,.duet-button[disabled].sc-duet-button:hover,.duet-button.duet-button-negative[disabled].sc-duet-button,.duet-button.duet-button-negative[disabled].sc-duet-button:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}/*!@.duet-theme-turva .duet-button[disabled], .duet-theme-turva .duet-button[disabled]:hover, .duet-theme-turva .duet-button.duet-button-negative [disabled], .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover*/.duet-theme-turva.sc-duet-button .duet-button[disabled].sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button[disabled].sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.duet-button-negative.sc-duet-button [disabled].sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.duet-button-negative.sc-duet-button [disabled].sc-duet-button:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}/*!@.duet-button-is-loading.primary, .duet-button-is-loading.input-button-primary*/.duet-button-is-loading.primary.sc-duet-button,.duet-button-is-loading.input-button-primary.sc-duet-button{color:rgb(255, 255, 255)}/*!@.duet-button-is-loading.default*/.duet-button-is-loading.default.sc-duet-button{color:rgb(0, 119, 179)}/*!@.duet-button-is-loading.default.duet-theme-turva*/.duet-button-is-loading.default.duet-theme-turva.sc-duet-button{color:rgb(198, 12, 48)}/*!@.duet-button-is-loading .duet-button-contents*/.duet-button-is-loading.sc-duet-button .duet-button-contents.sc-duet-button{visibility:hidden;opacity:0}";
|
|
7124
7142
|
|
|
@@ -7176,6 +7194,8 @@ class DuetButton {
|
|
|
7176
7194
|
this.language = getLanguage();
|
|
7177
7195
|
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
7178
7196
|
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
7197
|
+
this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
|
|
7198
|
+
this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
|
|
7179
7199
|
this.icon = "";
|
|
7180
7200
|
this.color = "";
|
|
7181
7201
|
this.iconRight = false;
|
|
@@ -7197,10 +7217,16 @@ class DuetButton {
|
|
|
7197
7217
|
this.proxyButton = document.createElement("button");
|
|
7198
7218
|
this.proxyButton.style.display = "none";
|
|
7199
7219
|
this.syncToProxyButton();
|
|
7200
|
-
connectLanguageChangeObserver(this,
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7220
|
+
connectLanguageChangeObserver(this, [
|
|
7221
|
+
{
|
|
7222
|
+
prop: "accessibleLabelExternal",
|
|
7223
|
+
defaults: "accessibleLabelExternalDefaults",
|
|
7224
|
+
},
|
|
7225
|
+
{
|
|
7226
|
+
prop: "accessibleLabelLoading",
|
|
7227
|
+
defaults: "accessibleLabelLoadingDefaults",
|
|
7228
|
+
},
|
|
7229
|
+
]);
|
|
7204
7230
|
if (!this.url && this.element.closest("form")) {
|
|
7205
7231
|
this.element.insertAdjacentElement("beforebegin", this.proxyButton);
|
|
7206
7232
|
}
|
|
@@ -7230,6 +7256,20 @@ class DuetButton {
|
|
|
7230
7256
|
getButtonType() {
|
|
7231
7257
|
return this.submit ? "submit" : "button";
|
|
7232
7258
|
}
|
|
7259
|
+
getButtonIconSize() {
|
|
7260
|
+
switch (this.iconSize) {
|
|
7261
|
+
case "small":
|
|
7262
|
+
return "small";
|
|
7263
|
+
case "medium-small":
|
|
7264
|
+
return "medium-small";
|
|
7265
|
+
case "medium":
|
|
7266
|
+
return "medium";
|
|
7267
|
+
case "large":
|
|
7268
|
+
return "large";
|
|
7269
|
+
default:
|
|
7270
|
+
return "medium";
|
|
7271
|
+
}
|
|
7272
|
+
}
|
|
7233
7273
|
/**
|
|
7234
7274
|
* Sets focus on the specified `duet-button`. Use this method instead of the global
|
|
7235
7275
|
* `button.focus()`.
|
|
@@ -7253,7 +7293,7 @@ class DuetButton {
|
|
|
7253
7293
|
"duet-button-icon": true,
|
|
7254
7294
|
left: !iconRight,
|
|
7255
7295
|
right: iconRight,
|
|
7256
|
-
[this.
|
|
7296
|
+
[this.getButtonIconSize()]: true,
|
|
7257
7297
|
} }, hAsync("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("slot", null)));
|
|
7258
7298
|
const commonProps = {
|
|
7259
7299
|
onFocus: this.onFocus,
|
|
@@ -7273,7 +7313,7 @@ class DuetButton {
|
|
|
7273
7313
|
disabled: this.disabled,
|
|
7274
7314
|
icon: !!icon,
|
|
7275
7315
|
"icon-right": iconRight,
|
|
7276
|
-
[this.
|
|
7316
|
+
[this.getButtonIconSize()]: true,
|
|
7277
7317
|
},
|
|
7278
7318
|
"aria-controls": this.accessibleControls,
|
|
7279
7319
|
"aria-label": this.accessibleLabel,
|
|
@@ -7297,7 +7337,7 @@ class DuetButton {
|
|
|
7297
7337
|
"duet-theme-turva": this.theme === "turva",
|
|
7298
7338
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
7299
7339
|
[this.variation]: true,
|
|
7300
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren)), this.loading && hAsync("duet-spinner", { color: "currentColor" }))));
|
|
7340
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { color: "currentColor" }))));
|
|
7301
7341
|
}
|
|
7302
7342
|
get element() { return getElement(this); }
|
|
7303
7343
|
static get watchers() { return {
|
|
@@ -7341,6 +7381,8 @@ class DuetButton {
|
|
|
7341
7381
|
"language": [1537],
|
|
7342
7382
|
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
7343
7383
|
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
7384
|
+
"accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
|
|
7385
|
+
"accessibleLabelLoading": [1025, "accessible-label-loading"],
|
|
7344
7386
|
"icon": [1],
|
|
7345
7387
|
"color": [1],
|
|
7346
7388
|
"iconRight": [4, "icon-right"],
|
|
@@ -8446,7 +8488,7 @@ class DuetChoiceGroup {
|
|
|
8446
8488
|
}; }
|
|
8447
8489
|
}
|
|
8448
8490
|
|
|
8449
|
-
var actionArrowDownSmall
|
|
8491
|
+
var actionArrowDownSmall={"title":"action-arrow-down-small","tags":"action arrow down small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 19.5a2.3 2.3 0 0 1-1.729-.78L.46 7.568a1.847 1.847 0 0 1 2.773-2.439l8.579 9.752a.25.25 0 0 0 .376 0l8.579-9.752a1.847 1.847 0 1 1 2.773 2.439l-9.808 11.148A2.31 2.31 0 0 1 12 19.5z\"/></svg>"};
|
|
8450
8492
|
|
|
8451
8493
|
const color_warning = "rgb(247, 178, 40)";
|
|
8452
8494
|
const color_gray_darker = "rgb(101, 119, 135)";
|
|
@@ -8600,12 +8642,12 @@ const transition_quickly = "300ms ease";
|
|
|
8600
8642
|
const transition_slowly = "600ms ease";
|
|
8601
8643
|
const media_query_xxx_large = "'(min-width: 106.25em)'";
|
|
8602
8644
|
const media_query_x_large = "'(min-width: 64.0625em)'";
|
|
8603
|
-
const media_query_medium
|
|
8604
|
-
const media_query_large
|
|
8605
|
-
const media_query_xx_large
|
|
8645
|
+
const media_query_medium = "'(min-width: 48em)'";
|
|
8646
|
+
const media_query_large = "'(min-width: 62em)'";
|
|
8647
|
+
const media_query_xx_large = "'(min-width: 76.25em)'";
|
|
8606
8648
|
const media_query_x_small = "'(max-width: 35.9375em)'";
|
|
8607
8649
|
const media_query_xxx_small = "'(max-width: 20.5em)'";
|
|
8608
|
-
const media_query_small
|
|
8650
|
+
const media_query_small = "'(min-width: 36em)'";
|
|
8609
8651
|
const media_query_xx_small = "'(max-width: 22.5em)'";
|
|
8610
8652
|
var tokens = {
|
|
8611
8653
|
color_warning: color_warning,
|
|
@@ -8760,12 +8802,12 @@ var tokens = {
|
|
|
8760
8802
|
transition_slowly: transition_slowly,
|
|
8761
8803
|
media_query_xxx_large: media_query_xxx_large,
|
|
8762
8804
|
media_query_x_large: media_query_x_large,
|
|
8763
|
-
media_query_medium: media_query_medium
|
|
8764
|
-
media_query_large: media_query_large
|
|
8765
|
-
media_query_xx_large: media_query_xx_large
|
|
8805
|
+
media_query_medium: media_query_medium,
|
|
8806
|
+
media_query_large: media_query_large,
|
|
8807
|
+
media_query_xx_large: media_query_xx_large,
|
|
8766
8808
|
media_query_x_small: media_query_x_small,
|
|
8767
8809
|
media_query_xxx_small: media_query_xxx_small,
|
|
8768
|
-
media_query_small: media_query_small
|
|
8810
|
+
media_query_small: media_query_small,
|
|
8769
8811
|
media_query_xx_small: media_query_xx_small
|
|
8770
8812
|
};
|
|
8771
8813
|
|
|
@@ -8923,12 +8965,12 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
8923
8965
|
transition_slowly: transition_slowly,
|
|
8924
8966
|
media_query_xxx_large: media_query_xxx_large,
|
|
8925
8967
|
media_query_x_large: media_query_x_large,
|
|
8926
|
-
media_query_medium: media_query_medium
|
|
8927
|
-
media_query_large: media_query_large
|
|
8928
|
-
media_query_xx_large: media_query_xx_large
|
|
8968
|
+
media_query_medium: media_query_medium,
|
|
8969
|
+
media_query_large: media_query_large,
|
|
8970
|
+
media_query_xx_large: media_query_xx_large,
|
|
8929
8971
|
media_query_x_small: media_query_x_small,
|
|
8930
8972
|
media_query_xxx_small: media_query_xxx_small,
|
|
8931
|
-
media_query_small: media_query_small
|
|
8973
|
+
media_query_small: media_query_small,
|
|
8932
8974
|
media_query_xx_small: media_query_xx_small,
|
|
8933
8975
|
'default': tokens
|
|
8934
8976
|
});
|
|
@@ -9033,7 +9075,7 @@ class DuetCollapsible {
|
|
|
9033
9075
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
9034
9076
|
"has-after-heading": this.hasAfterHeading,
|
|
9035
9077
|
"full-width": this.headingFullWidth,
|
|
9036
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall
|
|
9078
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { part: "duet-collapsible-after-heading" }, hAsync("slot", { name: "after-heading" }))))), hAsync("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", null))));
|
|
9037
9079
|
}
|
|
9038
9080
|
get element() { return getElement(this); }
|
|
9039
9081
|
static get style() { return duetCollapsibleCss; }
|
|
@@ -9411,7 +9453,7 @@ class DuetCombobox {
|
|
|
9411
9453
|
return (hAsync(Host, { role: "combobox", "aria-expanded": this.listOpen ? "true" : "false", "aria-owns": "duet-combobox-list-element", "aria-haspopup": "listbox", class: {
|
|
9412
9454
|
"duet-combobox": true,
|
|
9413
9455
|
[`duet-theme-${this.theme}`]: true,
|
|
9414
|
-
} }, hAsync("slot", null), hAsync("div", {
|
|
9456
|
+
} }, hAsync("slot", null), hAsync("div", { class: {
|
|
9415
9457
|
"duet-combobox-list": true,
|
|
9416
9458
|
open: this.listOpen,
|
|
9417
9459
|
}, ref: el => (this.listContainer = el) }, hAsync("ul", { class: {
|
|
@@ -10884,11 +10926,6 @@ class DuetFooter {
|
|
|
10884
10926
|
}; }
|
|
10885
10927
|
}
|
|
10886
10928
|
|
|
10887
|
-
const media_query_medium = "'(min-width: 48em)'";
|
|
10888
|
-
const media_query_large = "'(min-width: 62em)'";
|
|
10889
|
-
const media_query_xx_large = "'(min-width: 76.25em)'";
|
|
10890
|
-
const media_query_small = "'(min-width: 36em)'";
|
|
10891
|
-
|
|
10892
10929
|
const watchFor = (containerEl, tagName, onChange, changeHandler, options = {
|
|
10893
10930
|
childList: true,
|
|
10894
10931
|
subtree: true,
|
|
@@ -11370,8 +11407,6 @@ const enableBodyScroll = targetElement => {
|
|
|
11370
11407
|
}
|
|
11371
11408
|
};
|
|
11372
11409
|
|
|
11373
|
-
var actionArrowDownSmall={"title":"action-arrow-down-small","tags":"action arrow down small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 19.5a2.3 2.3 0 0 1-1.729-.78L.46 7.568a1.847 1.847 0 0 1 2.773-2.439l8.579 9.752a.25.25 0 0 0 .376 0l8.579-9.752a1.847 1.847 0 1 1 2.773 2.439l-9.808 11.148A2.31 2.31 0 0 1 12 19.5z\"/></svg>"};
|
|
11374
|
-
|
|
11375
11410
|
const DuetHeaderIcon = (props, _children) => {
|
|
11376
11411
|
const iconSize = props.iconSize ? props.iconSize : "x-small";
|
|
11377
11412
|
return (hAsync("span", { class: `duet-header-icon ${props.class ? props.class : ""}` },
|
|
@@ -14198,6 +14233,11 @@ class DuetMultiselect {
|
|
|
14198
14233
|
fi: "Tyhjennä kaikki",
|
|
14199
14234
|
sv: "Rensa alla",
|
|
14200
14235
|
};
|
|
14236
|
+
this.placeholderLabel = {
|
|
14237
|
+
en: "Hint",
|
|
14238
|
+
fi: "Vihje",
|
|
14239
|
+
sv: "Tips",
|
|
14240
|
+
};
|
|
14201
14241
|
/**
|
|
14202
14242
|
* Component event handling.
|
|
14203
14243
|
*/
|
|
@@ -14361,7 +14401,7 @@ class DuetMultiselect {
|
|
|
14361
14401
|
"duet-theme-turva": this.theme === "turva",
|
|
14362
14402
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
14363
14403
|
"has-error": !!this.error,
|
|
14364
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (hAsync("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { class: "duet-multiselect-wrapper" }, hAsync("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes
|
|
14404
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (hAsync("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { class: "duet-multiselect-wrapper" }, hAsync("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language] }, this.placeholder), this.value && this.value.length > 0 && (hAsync("duet-badge", { class: "duet-multiselect-badge", margin: "none", theme: this.theme }, this.value.length, " ", this.selectedLangObject[this.language], hAsync("duet-visually-hidden", null, ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), hAsync("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
14365
14405
|
"duet-multiselect-checkboxes": true,
|
|
14366
14406
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
14367
14407
|
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems && this.allControls && (hAsync("div", { class: "duet-multiselect-all-control-buttons" }, hAsync("button", { class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("button", { class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
@@ -17104,7 +17144,7 @@ class DuetProgress {
|
|
|
17104
17144
|
"duet-progress-start": this.progress === 0,
|
|
17105
17145
|
"duet-progress-inprogress": this.progress < 99 && this.progress !== 0,
|
|
17106
17146
|
"duet-theme-turva": this.theme === "turva",
|
|
17107
|
-
} }, hAsync("duet-visually-hidden", null, hAsync("label", { htmlFor: this.progressLabelId },
|
|
17147
|
+
} }, hAsync("duet-visually-hidden", null, hAsync("label", { htmlFor: this.progressLabelId }, hAsync("span", null, this.accessibleLabel, this.progress !== 0 && `, ${this.accessibleLabelUpload[this.progress < 99 ? 1 : 0]}`))), this.caption && (hAsync("div", { class: "duet-progress-caption" }, hAsync("span", null, this.caption))), hAsync("progress", { id: this.progressLabelId, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, role: "progressbar", value: this.progress, max: "100", "aria-valuemin": "0", "aria-valuemax": "100" }, hAsync("div", { class: "progress-bar" }, hAsync("span", { style: { width: `${this.progress}%;` } }, "Progress: ", this.progress, "%"))))));
|
|
17108
17148
|
}
|
|
17109
17149
|
get element() { return getElement(this); }
|
|
17110
17150
|
static get style() { return duetProgressCss; }
|
|
@@ -18273,7 +18313,7 @@ class DuetShapedImage {
|
|
|
18273
18313
|
}; }
|
|
18274
18314
|
}
|
|
18275
18315
|
|
|
18276
|
-
const duetShowMoreCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-show-more,*.sc-duet-show-more::after,*.sc-duet-show-more::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-show-more-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;
|
|
18316
|
+
const duetShowMoreCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-show-more,*.sc-duet-show-more::after,*.sc-duet-show-more::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-show-more-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}/*!@.duet-show-more*/.duet-show-more.sc-duet-show-more{margin-bottom:16px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}/*!@.duet-show-more.duet-m-0*/.duet-show-more.duet-m-0.sc-duet-show-more{margin:0 !important}/*!@.duet-show-more .slotted-content*/.duet-show-more.sc-duet-show-more .slotted-content.sc-duet-show-more{display:none}/*!@.duet-show-more.open .slotted-content*/.duet-show-more.open.sc-duet-show-more .slotted-content.sc-duet-show-more{display:block}/*!@.duet-show-more.duet-theme-turva*/.duet-show-more.duet-theme-turva.sc-duet-show-more{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)}";
|
|
18277
18317
|
|
|
18278
18318
|
class DuetShowMore {
|
|
18279
18319
|
constructor(hostRef) {
|
|
@@ -19271,7 +19311,7 @@ class DuetSubmenuBar {
|
|
|
19271
19311
|
*/
|
|
19272
19312
|
componentWillLoad() {
|
|
19273
19313
|
inheritGlobalTheme(this);
|
|
19274
|
-
const children = Array.from(this.element.children);
|
|
19314
|
+
const children = Array.from(this.element.children).filter(child => !child.hasAttribute("slot"));
|
|
19275
19315
|
for (const child of children) {
|
|
19276
19316
|
child.setAttribute("role", "listitem");
|
|
19277
19317
|
}
|
|
@@ -19472,7 +19512,7 @@ class DuetSubmenuBarDropdown {
|
|
|
19472
19512
|
}; }
|
|
19473
19513
|
}
|
|
19474
19514
|
|
|
19475
|
-
const duetSubmenuBarDropdownLinkCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-submenu-bar-dropdown-link,*.sc-duet-submenu-bar-dropdown-link::after,*.sc-duet-submenu-bar-dropdown-link::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-submenu-bar-dropdown-link-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}/*!@.duet-submenu-bar-dropdown-link*/.duet-submenu-bar-dropdown-link.sc-duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;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);text-align:
|
|
19515
|
+
const duetSubmenuBarDropdownLinkCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-submenu-bar-dropdown-link,*.sc-duet-submenu-bar-dropdown-link::after,*.sc-duet-submenu-bar-dropdown-link::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-submenu-bar-dropdown-link-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}/*!@.duet-submenu-bar-dropdown-link*/.duet-submenu-bar-dropdown-link.sc-duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;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);text-align:left;text-decoration:none}/*!@.duet-submenu-bar-dropdown-link:focus*/.duet-submenu-bar-dropdown-link.sc-duet-submenu-bar-dropdown-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-submenu-bar-dropdown-link:focus, .duet-submenu-bar-dropdown-link:focus.duet-theme-turva*/.duet-theme-turva.sc-duet-submenu-bar-dropdown-link .duet-submenu-bar-dropdown-link.sc-duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link.sc-duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (min-width: 62em){/*!@.duet-submenu-bar-dropdown-link*/.duet-submenu-bar-dropdown-link.sc-duet-submenu-bar-dropdown-link{padding:0.675rem 16px;font-size:0.875rem;text-align:center}}/*!@.duet-submenu-bar-dropdown-link.active .label*/.duet-submenu-bar-dropdown-link.active.sc-duet-submenu-bar-dropdown-link .label.sc-duet-submenu-bar-dropdown-link{position:relative}/*!@.duet-submenu-bar-dropdown-link.active .label::after*/.duet-submenu-bar-dropdown-link.active.sc-duet-submenu-bar-dropdown-link .label.sc-duet-submenu-bar-dropdown-link::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}/*!@.duet-submenu-bar-dropdown-link.duet-theme-turva*/.duet-submenu-bar-dropdown-link.duet-theme-turva.sc-duet-submenu-bar-dropdown-link{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-submenu-bar-dropdown-link.duet-theme-turva.active .label::after*/.duet-submenu-bar-dropdown-link.duet-theme-turva.active.sc-duet-submenu-bar-dropdown-link .label.sc-duet-submenu-bar-dropdown-link::after{background:rgb(198, 12, 48)}@media (min-width: 62em){/*!@.duet-submenu-bar-dropdown-link:hover*/.duet-submenu-bar-dropdown-link.sc-duet-submenu-bar-dropdown-link:hover{color:rgb(0, 77, 128);background:rgb(243, 249, 252)}/*!@.duet-submenu-bar-dropdown-link:hover.duet-theme-turva*/.duet-submenu-bar-dropdown-link.sc-duet-submenu-bar-dropdown-link:hover.duet-theme-turva{color:rgb(148, 9, 37);background:rgb(245, 245, 247)}}/*!@.duet-submenu-bar-dropdown-link.highlight*/.duet-submenu-bar-dropdown-link.highlight.sc-duet-submenu-bar-dropdown-link{color:rgb(0, 119, 179)}/*!@.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva*/.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva.sc-duet-submenu-bar-dropdown-link{color:rgb(148, 9, 37)}";
|
|
19476
19516
|
|
|
19477
19517
|
class DuetSubmenuBarDropdownLink {
|
|
19478
19518
|
constructor(hostRef) {
|
|
@@ -19623,6 +19663,7 @@ class DuetTab {
|
|
|
19623
19663
|
.accessibleDescriptionDefault
|
|
19624
19664
|
? getLocaleString(this.accessibleDescriptionDefault)
|
|
19625
19665
|
: null;
|
|
19666
|
+
this.accessibleLabelledBy = undefined;
|
|
19626
19667
|
}
|
|
19627
19668
|
/**
|
|
19628
19669
|
* Component lifecycle events.
|
|
@@ -19649,7 +19690,8 @@ class DuetTab {
|
|
|
19649
19690
|
"caption": [513],
|
|
19650
19691
|
"selected": [516],
|
|
19651
19692
|
"accessibleDescriptionDefault": [1, "accessible-description-defaults"],
|
|
19652
|
-
"accessibleDescription": [1025, "accessible-description"]
|
|
19693
|
+
"accessibleDescription": [1025, "accessible-description"],
|
|
19694
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"]
|
|
19653
19695
|
},
|
|
19654
19696
|
"$listeners$": undefined,
|
|
19655
19697
|
"$lazyBundleId$": "-",
|
|
@@ -19831,7 +19873,7 @@ class DuetTabGroup {
|
|
|
19831
19873
|
this.tabs = this.getTabs();
|
|
19832
19874
|
this.tabs.forEach((tab, index) => {
|
|
19833
19875
|
tab.id = this.getTabId(index);
|
|
19834
|
-
tab.setAttribute("
|
|
19876
|
+
tab.setAttribute("accessible-labelled-by", this.getButtonId(index));
|
|
19835
19877
|
if (tab.selected) {
|
|
19836
19878
|
if (this.selected === undefined) {
|
|
19837
19879
|
this.selected = index;
|
|
@@ -8,5 +8,11 @@ const DuetStringsExternalDefaults = {
|
|
|
8
8
|
sv: "Öppnas i nytt fönster",
|
|
9
9
|
en: "Opens in a new window",
|
|
10
10
|
};
|
|
11
|
+
const DuetStringsLoadingDefaults = {
|
|
12
|
+
fi: "Ladataan",
|
|
13
|
+
sv: "Lastning",
|
|
14
|
+
en: "Loading…",
|
|
15
|
+
};
|
|
11
16
|
|
|
12
17
|
exports.DuetStringsExternalDefaults = DuetStringsExternalDefaults;
|
|
18
|
+
exports.DuetStringsLoadingDefaults = DuetStringsLoadingDefaults;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-b9ee6ca5.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const createId = require('./create-id-167cd350.js');
|
|
11
11
|
const jsUtils = require('./js-utils-b20cfc79.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-b9ee6ca5.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const createId = require('./create-id-167cd350.js');
|
|
11
11
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-b9ee6ca5.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
|
|
11
11
|
const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}";
|
|
@@ -5,11 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-b9ee6ca5.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
|
+
const stringUtils = require('./string-utils-51a2f59f.js');
|
|
10
11
|
const tokenUtils = require('./token-utils-dbfeff2e.js');
|
|
11
12
|
require('./tokens.module-10f42b21.js');
|
|
12
13
|
|
|
14
|
+
const DuetPicture = ({ img, sources }) => {
|
|
15
|
+
return (index.h("picture", null,
|
|
16
|
+
sources &&
|
|
17
|
+
sources.map(source => (index.h("source", { srcSet: source.srcset, media: source.media, type: source.type, sizes: source.sizes }))),
|
|
18
|
+
index.h("img", Object.assign({}, img))));
|
|
19
|
+
};
|
|
20
|
+
|
|
13
21
|
const duetBannerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height: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;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.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\"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
|
|
14
22
|
|
|
15
23
|
const DuetBanner = class {
|
|
@@ -23,6 +31,7 @@ const DuetBanner = class {
|
|
|
23
31
|
this.textColor = "secondary";
|
|
24
32
|
this.size = "auto";
|
|
25
33
|
this.image = "";
|
|
34
|
+
this.sources = undefined;
|
|
26
35
|
this.icon = "";
|
|
27
36
|
this.headingLevel = "h2";
|
|
28
37
|
}
|
|
@@ -45,11 +54,15 @@ const DuetBanner = class {
|
|
|
45
54
|
const bannerStyles = {
|
|
46
55
|
backgroundColor,
|
|
47
56
|
};
|
|
57
|
+
const pictureSource = {
|
|
58
|
+
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
59
|
+
sources: stringUtils.parsePossibleJSON(this.sources),
|
|
60
|
+
};
|
|
48
61
|
return (index.h(index.Host, { class: { "duet-m-0": this.margin === "none" } }, index.h("aside", { class: {
|
|
49
62
|
"duet-banner": true,
|
|
50
63
|
"duet-theme-turva": this.theme === "turva",
|
|
51
64
|
[this.size]: true,
|
|
52
|
-
}, style: bannerStyles }, index.h("div", { class: "visual" }, index.h("div", { class: "image-container" }, index.h(
|
|
65
|
+
}, style: bannerStyles }, index.h("div", { class: "visual" }, index.h("div", { class: "image-container" }, this.image && index.h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (index.h("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: "xx-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), index.h("div", { class: "content" }, this.hasHeadingSlot && (index.h("div", { class: "heading" }, index.h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, index.h("slot", { name: "heading" })))), this.hasDescriptionSlot && (index.h("div", { class: "description" }, index.h("duet-paragraph", { theme: this.theme, margin: "none", color: this.textColor }, index.h("slot", { name: "description" })))), this.hasActionSlot && (index.h("div", { class: "action" }, index.h("slot", { name: "action" })))))));
|
|
53
66
|
}
|
|
54
67
|
get element() { return index.getElement(this); }
|
|
55
68
|
};
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-b9ee6ca5.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
11
11
|
require('./string-utils-51a2f59f.js');
|
|
12
12
|
|
|
13
13
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
14
14
|
|
|
15
|
-
const duetBreadcrumbCss = "*,*::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:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
15
|
+
const duetBreadcrumbCss = "*,*::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:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
16
16
|
|
|
17
17
|
const DuetBreadcrumb = class {
|
|
18
18
|
constructor(hostRef) {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-b9ee6ca5.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
11
11
|
require('./string-utils-51a2f59f.js');
|