@duetds/components 9.14.0 → 9.16.0
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 +407 -287
- package/lib/cjs/{a11y-utils-a934645c.js → a11y-utils-5a9c531a.js} +1 -1
- package/lib/cjs/{app-globals-6b9852f3.js → app-globals-1cf9bebc.js} +1 -1
- package/lib/cjs/{common-strings-a54bbf77.js → common-strings-92c2f034.js} +23 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +20 -32
- package/lib/cjs/duet-badge.cjs.entry.js +16 -4
- package/lib/cjs/duet-banner.cjs.entry.js +19 -8
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +9 -8
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +29 -22
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +18 -8
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +13 -13
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +24 -7
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +30 -23
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +8 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-9ce7ca99.js → errorcodes.utils-cd519cbd.js} +1 -1
- package/lib/cjs/{focus-utils-fa11f04b.js → focus-utils-241733db.js} +1 -1
- package/lib/cjs/{index-3d15fb5e.js → index-f3dac623.js} +5 -1
- package/lib/cjs/{language-utils-eaec2648.js → language-utils-cf6db76f.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-61317778.js → slot-utils-872ee5f7.js} +1 -1
- package/lib/cjs/{themeable-component-46222401.js → themeable-component-002fbe60.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/common-strings.js +22 -0
- package/lib/collection/components/duet-alert/duet-alert.js +17 -29
- package/lib/collection/components/duet-badge/duet-badge.js +13 -2
- package/lib/collection/components/duet-banner/duet-banner.css +27 -0
- package/lib/collection/components/duet-banner/duet-banner.js +15 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +12 -3
- package/lib/collection/components/duet-card/duet-card.js +31 -4
- package/lib/collection/components/duet-chip/duet-chip.css +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +4 -4
- package/lib/collection/components/duet-choice/duet-choice.js +0 -21
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +23 -14
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid/duet-grid.js +5 -4
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-hero/duet-hero.css +282 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +101 -0
- package/lib/collection/components/duet-input/duet-input.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +4 -15
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +58 -3
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +1 -1
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +4 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +54 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +15 -13
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/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 +19 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +10 -8
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +31 -22
- package/lib/dist-custom-elements/duet-choice.js +6 -8
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +26 -16
- 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-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +8 -8
- 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 +11 -11
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-indicator.d.ts +11 -0
- package/lib/dist-custom-elements/duet-indicator.js +9 -0
- 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 +6 -6
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +5 -5
- package/lib/dist-custom-elements/duet-modal.js +16 -16
- package/lib/dist-custom-elements/duet-multiselect.js +14 -14
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +22 -10
- package/lib/dist-custom-elements/duet-notification.js +12 -6
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +24 -24
- package/lib/dist-custom-elements/duet-panel.js +3 -3
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +38 -19
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- 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 +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
- package/lib/dist-custom-elements/duet-share-chart.js +6 -4
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +24 -17
- package/lib/dist-custom-elements/duet-slideout.js +8 -8
- 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-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +32 -24
- package/lib/dist-custom-elements/duet-tab.js +8 -1
- 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 +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +20 -8
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +22 -22
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-10893657.js → p-03c9ec22.js} +1 -1
- package/lib/dist-custom-elements/{p-0e0a0525.js → p-1172497f.js} +21 -4
- package/lib/dist-custom-elements/{p-f3b2867a.js → p-139e1daa.js} +3 -3
- package/lib/dist-custom-elements/{p-a4513f7a.js → p-1c66f5a0.js} +2 -2
- package/lib/dist-custom-elements/{p-b3835995.js → p-21d23d6c.js} +3 -3
- package/lib/dist-custom-elements/{p-96cabce8.js → p-21f19284.js} +23 -35
- package/lib/dist-custom-elements/{p-db2b09ab.js → p-24404a59.js} +2 -2
- package/lib/dist-custom-elements/{p-706a9a13.js → p-271a8315.js} +2 -2
- package/lib/dist-custom-elements/{p-65300e85.js → p-292fa964.js} +5 -5
- package/lib/dist-custom-elements/{p-9f715fa9.js → p-3663183a.js} +3 -3
- package/lib/dist-custom-elements/{p-d04e213c.js → p-38dd3c2b.js} +12 -12
- package/lib/dist-custom-elements/{p-85f0068e.js → p-3972dc75.js} +5 -5
- package/lib/dist-custom-elements/{p-3471fa90.js → p-41ce0759.js} +1 -1
- package/lib/dist-custom-elements/{p-92710b68.js → p-42a5e1de.js} +6 -5
- package/lib/dist-custom-elements/{p-9ac441e6.js → p-4f923779.js} +3 -3
- package/lib/dist-custom-elements/{p-d0bc3da2.js → p-52a4d93a.js} +2 -2
- package/lib/dist-custom-elements/{p-fddb3ec1.js → p-60ffc3cf.js} +1 -1
- package/lib/dist-custom-elements/{p-ee948dc8.js → p-6402ad5d.js} +4 -4
- package/lib/dist-custom-elements/{p-0a34fa11.js → p-6bcaf414.js} +1 -1
- package/lib/dist-custom-elements/{p-05fb2c81.js → p-6c16fc37.js} +4 -4
- package/lib/dist-custom-elements/{p-81360956.js → p-7a60242d.js} +2 -2
- package/lib/dist-custom-elements/{p-e9c8ad74.js → p-7d6b4a88.js} +2 -2
- package/lib/dist-custom-elements/{p-a69bc735.js → p-7e7dcf59.js} +1 -1
- package/lib/dist-custom-elements/{p-25f8ea4b.js → p-81d2c117.js} +3 -3
- package/lib/dist-custom-elements/p-8653283d.js +72 -0
- package/lib/dist-custom-elements/{p-f38adca4.js → p-867790e2.js} +7 -7
- package/lib/dist-custom-elements/{p-61b4aec9.js → p-886f39eb.js} +12 -12
- package/lib/dist-custom-elements/{p-d5c72ea3.js → p-8959f96f.js} +4 -4
- package/lib/dist-custom-elements/{p-5e16131c.js → p-9aa4a7b3.js} +2 -2
- package/lib/dist-custom-elements/{p-3419cd58.js → p-a019caf4.js} +9 -9
- package/lib/dist-custom-elements/{p-444e732a.js → p-a1827b91.js} +5 -5
- package/lib/dist-custom-elements/{p-c7f33aed.js → p-ab6148ae.js} +3 -3
- package/lib/dist-custom-elements/{p-3a815628.js → p-b74c6798.js} +11 -11
- package/lib/{esm/common-strings-a48b3fba.js → dist-custom-elements/p-b7a93f1c.js} +23 -1
- package/lib/dist-custom-elements/{p-dc970fdb.js → p-bb3c4ead.js} +1 -1
- package/lib/dist-custom-elements/{p-3883f329.js → p-bb928027.js} +5 -5
- package/lib/dist-custom-elements/{p-778364d6.js → p-c0f48cc4.js} +3 -3
- package/lib/dist-custom-elements/{p-f479ee47.js → p-d1f886eb.js} +5 -5
- package/lib/dist-custom-elements/{p-e77ffc34.js → p-d40a8125.js} +3 -3
- package/lib/dist-custom-elements/{p-f290964d.js → p-dc0c957e.js} +5 -5
- package/lib/dist-custom-elements/{p-36f6ec52.js → p-f5c2e1f7.js} +2 -2
- package/lib/dist-custom-elements/{p-cc1b78ce.js → p-f75df296.js} +10 -10
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-00c65f9d.entry.js +4 -0
- package/lib/duet/{p-6a718c27.system.entry.js → p-05e0ef86.system.entry.js} +1 -1
- package/lib/duet/{p-854605a6.js → p-07eaae93.js} +1 -1
- package/lib/duet/p-09f85d39.entry.js +4 -0
- package/lib/duet/{p-2e7454bd.system.entry.js → p-0ab42908.system.entry.js} +1 -1
- package/lib/duet/{p-c70b52b6.entry.js → p-0b1f9ab1.entry.js} +1 -1
- package/lib/duet/{p-86929bf6.entry.js → p-0db191ad.entry.js} +1 -1
- package/lib/duet/{p-22349ab1.system.entry.js → p-0e1edb8d.system.entry.js} +1 -1
- package/lib/duet/{p-713918d1.system.entry.js → p-0e414d45.system.entry.js} +1 -1
- package/lib/duet/{p-58d8549a.system.entry.js → p-0e638ebd.system.entry.js} +2 -2
- package/lib/duet/{p-c0020521.entry.js → p-0ee0acc5.entry.js} +1 -1
- package/lib/duet/p-0faea567.js +4 -0
- package/lib/duet/{p-b728fce7.system.entry.js → p-103e565a.system.entry.js} +1 -1
- package/lib/duet/{p-063b31ef.entry.js → p-1099e3c1.entry.js} +1 -1
- package/lib/duet/p-11158849.entry.js +4 -0
- package/lib/duet/{p-593df331.entry.js → p-12398ce3.entry.js} +1 -1
- package/lib/duet/p-143df6ab.entry.js +4 -0
- package/lib/duet/{p-78024429.system.entry.js → p-144aab10.system.entry.js} +1 -1
- package/lib/duet/p-151e589f.entry.js +4 -0
- package/lib/duet/{p-fae74a37.system.entry.js → p-15745be0.system.entry.js} +1 -1
- package/lib/duet/{p-11262ef8.system.entry.js → p-17375bc6.system.entry.js} +1 -1
- package/lib/duet/p-181b00e5.system.entry.js +4 -0
- package/lib/duet/p-185be698.system.entry.js +4 -0
- package/lib/duet/{p-baaa9e94.entry.js → p-1c21d6bb.entry.js} +1 -1
- package/lib/duet/{p-8a9fb89c.system.entry.js → p-1db742d9.system.entry.js} +1 -1
- package/lib/duet/{p-52d80d96.js → p-1dcaf506.js} +1 -1
- package/lib/duet/{p-83c0cfed.entry.js → p-1e543545.entry.js} +1 -1
- package/lib/duet/p-1ea05c4e.entry.js +4 -0
- package/lib/duet/p-1ea2eed2.entry.js +4 -0
- package/lib/duet/p-1eac8308.entry.js +4 -0
- package/lib/duet/{p-9ae77fe6.system.entry.js → p-202295c7.system.entry.js} +2 -2
- package/lib/duet/p-20ad3525.entry.js +4 -0
- package/lib/duet/{p-07dd4405.system.entry.js → p-21352a03.system.entry.js} +1 -1
- package/lib/duet/p-24954951.js +4 -0
- package/lib/duet/p-249ece01.system.entry.js +4 -0
- package/lib/duet/{p-fe9adf7c.system.entry.js → p-28439eeb.system.entry.js} +1 -1
- package/lib/duet/{p-aaa700a4.entry.js → p-29287b24.entry.js} +1 -1
- package/lib/duet/p-296d890c.entry.js +4 -0
- package/lib/duet/{p-89d45610.entry.js → p-297be33a.entry.js} +1 -1
- package/lib/duet/{p-48fb5298.entry.js → p-29a57223.entry.js} +1 -1
- package/lib/duet/{p-23d5c3fe.system.entry.js → p-2a01ec55.system.entry.js} +1 -1
- package/lib/duet/p-2a327afb.system.js +4 -0
- package/lib/duet/{p-99ffd1cf.system.js → p-2ca74bdf.system.js} +1 -1
- package/lib/duet/{p-6d5e6c51.system.entry.js → p-314579ab.system.entry.js} +1 -1
- package/lib/duet/p-31740db1.system.entry.js +4 -0
- package/lib/duet/{p-49b6f9a1.entry.js → p-32d67711.entry.js} +1 -1
- package/lib/duet/p-335f3ad7.system.entry.js +4 -0
- package/lib/duet/{p-0bc88aac.system.entry.js → p-34b4e0d4.system.entry.js} +1 -1
- package/lib/duet/{p-4215bd92.system.entry.js → p-38838777.system.entry.js} +1 -1
- package/lib/duet/{p-786418b7.system.entry.js → p-39c9a066.system.entry.js} +1 -1
- package/lib/duet/{p-6b99bf3d.system.js → p-3ad777ed.system.js} +1 -1
- package/lib/duet/p-3b48325f.entry.js +4 -0
- package/lib/duet/{p-fbc59efc.js → p-3f59cd08.js} +1 -1
- package/lib/duet/{p-9dc97ec5.entry.js → p-449238fa.entry.js} +1 -1
- package/lib/duet/p-489f6566.entry.js +4 -0
- package/lib/duet/{p-44b3eb2c.entry.js → p-49e49df2.entry.js} +1 -1
- package/lib/duet/p-51680ed4.system.js +4 -0
- package/lib/duet/p-53601652.entry.js +4 -0
- package/lib/duet/{p-e70fad83.entry.js → p-53f7c29f.entry.js} +1 -1
- package/lib/duet/{p-344834d8.system.entry.js → p-5610daf3.system.entry.js} +1 -1
- package/lib/duet/{p-4e21f876.system.entry.js → p-578c23a4.system.entry.js} +1 -1
- package/lib/duet/{p-c60c40a2.entry.js → p-58f230b9.entry.js} +1 -1
- package/lib/duet/p-5a5d2bd5.system.entry.js +4 -0
- package/lib/duet/{p-903d05d9.system.entry.js → p-5c636299.system.entry.js} +1 -1
- package/lib/duet/{p-56bada0c.system.entry.js → p-5df26556.system.entry.js} +1 -1
- package/lib/duet/{p-2455cbff.system.entry.js → p-5f1e33f1.system.entry.js} +1 -1
- package/lib/duet/{p-2e58b3ab.system.entry.js → p-617a3a36.system.entry.js} +1 -1
- package/lib/duet/{p-cb279bed.system.entry.js → p-66fbd83d.system.entry.js} +1 -1
- package/lib/duet/{p-f3587718.system.entry.js → p-6796f3c3.system.entry.js} +1 -1
- package/lib/duet/{p-ebb0b51d.system.entry.js → p-67ce5fe7.system.entry.js} +2 -2
- package/lib/duet/{p-72b4c06f.js → p-682a0ad1.js} +1 -1
- package/lib/duet/{p-378546de.js → p-688647ad.js} +1 -1
- package/lib/duet/{p-d8fadd2d.entry.js → p-68e43f24.entry.js} +1 -1
- package/lib/duet/{p-10310520.entry.js → p-69186487.entry.js} +1 -1
- package/lib/duet/{p-5b583276.entry.js → p-6d52ee47.entry.js} +1 -1
- package/lib/duet/{p-eb7b2984.system.entry.js → p-6e9997df.system.entry.js} +1 -1
- package/lib/duet/{p-f1beb947.system.entry.js → p-700d96c2.system.entry.js} +1 -1
- package/lib/duet/{p-f9b9fbf5.entry.js → p-709df441.entry.js} +1 -1
- package/lib/duet/p-73db1b4e.entry.js +4 -0
- package/lib/duet/{p-352b3557.system.entry.js → p-757f068a.system.entry.js} +1 -1
- package/lib/duet/p-7582d712.system.entry.js +4 -0
- package/lib/duet/{p-147f5eb5.entry.js → p-75e98d7d.entry.js} +1 -1
- package/lib/duet/{p-322c0015.system.entry.js → p-7677fb67.system.entry.js} +1 -1
- package/lib/duet/p-770aa3e8.entry.js +4 -0
- package/lib/duet/p-777d0fdd.system.entry.js +4 -0
- package/lib/duet/{p-e6f40951.system.entry.js → p-79565bed.system.entry.js} +1 -1
- package/lib/duet/{p-6cf2b2b8.entry.js → p-7c726fa5.entry.js} +1 -1
- package/lib/duet/{p-8637a449.js → p-7da818b1.js} +1 -1
- package/lib/duet/p-817e80e5.entry.js +4 -0
- package/lib/duet/p-839650fa.system.entry.js +4 -0
- package/lib/duet/{p-20170d5a.entry.js → p-84c3c6a9.entry.js} +1 -1
- package/lib/duet/{p-75542e0e.entry.js → p-85b614eb.entry.js} +1 -1
- package/lib/duet/{p-6a900d10.entry.js → p-85ed8d2a.entry.js} +1 -1
- package/lib/duet/p-87633fff.system.js +4 -0
- package/lib/duet/{p-ff97f8e4.system.entry.js → p-8808de6e.system.entry.js} +1 -1
- package/lib/duet/{p-7a022fb4.system.entry.js → p-88433a46.system.entry.js} +1 -1
- package/lib/duet/{p-17f215e8.entry.js → p-891b2193.entry.js} +1 -1
- package/lib/duet/p-8d82f49d.entry.js +4 -0
- package/lib/duet/{p-d6a2cc77.system.entry.js → p-8dad8fce.system.entry.js} +1 -1
- package/lib/duet/{p-c371758a.system.entry.js → p-8f0bdfa8.system.entry.js} +1 -1
- package/lib/duet/{p-561dd467.system.entry.js → p-90f215e3.system.entry.js} +1 -1
- package/lib/duet/{p-5c271084.system.entry.js → p-928c05ef.system.entry.js} +1 -1
- package/lib/duet/{p-d06d2098.system.entry.js → p-931c3e0e.system.entry.js} +1 -1
- package/lib/duet/{p-52746f84.entry.js → p-96d506b1.entry.js} +1 -1
- package/lib/duet/{p-2a96f88a.system.entry.js → p-9aa64cd1.system.entry.js} +2 -2
- package/lib/duet/{p-4c44b9d0.system.entry.js → p-9bb58dc0.system.entry.js} +1 -1
- package/lib/duet/{p-961dc1b6.entry.js → p-9c0eb1e6.entry.js} +1 -1
- package/lib/duet/{p-0e013c22.system.entry.js → p-9cbabc0b.system.entry.js} +1 -1
- package/lib/duet/p-9cf1f9b9.entry.js +4 -0
- package/lib/duet/{p-7ce8fc32.system.entry.js → p-9dc73fc9.system.entry.js} +1 -1
- package/lib/duet/{p-2c15a77e.entry.js → p-9ddf4f25.entry.js} +1 -1
- package/lib/duet/p-9e2eef25.entry.js +4 -0
- package/lib/duet/p-9ecf394a.system.js +4 -0
- package/lib/duet/{p-013232a8.system.entry.js → p-9f6eba5f.system.entry.js} +1 -1
- package/lib/duet/p-a0512a05.system.entry.js +4 -0
- package/lib/duet/p-a07cef22.entry.js +4 -0
- package/lib/duet/{p-ac643c4d.entry.js → p-a1166aa4.entry.js} +1 -1
- package/lib/duet/{p-7fd0a219.system.js → p-a142a88f.system.js} +1 -1
- package/lib/duet/{p-a2f05f0b.system.entry.js → p-a15d9a7f.system.entry.js} +1 -1
- package/lib/duet/p-a195d9c1.entry.js +4 -0
- package/lib/duet/p-a1b74038.entry.js +4 -0
- package/lib/duet/{p-f7b6fecb.entry.js → p-a2a4a889.entry.js} +1 -1
- package/lib/duet/{p-f947b5c5.system.entry.js → p-a388ed17.system.entry.js} +1 -1
- package/lib/duet/{p-ed810e76.system.js → p-a3ea8aa0.system.js} +1 -1
- package/lib/duet/{p-d3e245f0.system.entry.js → p-a47b5cf0.system.entry.js} +2 -2
- package/lib/duet/p-a652025e.system.entry.js +4 -0
- package/lib/duet/{p-d6368121.system.entry.js → p-a90271b5.system.entry.js} +1 -1
- package/lib/duet/{p-7be7fb2c.entry.js → p-ab8f38c1.entry.js} +1 -1
- package/lib/duet/{p-119d8a9d.entry.js → p-abbe0bdb.entry.js} +1 -1
- package/lib/duet/{p-670f33d1.system.js → p-adc02ebb.system.js} +1 -1
- package/lib/duet/p-adef3dfe.entry.js +4 -0
- package/lib/duet/{p-76c797cb.system.entry.js → p-b07a5883.system.entry.js} +1 -1
- package/lib/duet/{p-edb65a28.entry.js → p-b137766b.entry.js} +1 -1
- package/lib/duet/{p-cd27da84.entry.js → p-b31576e2.entry.js} +1 -1
- package/lib/duet/{p-98af4e91.entry.js → p-b3e8a986.entry.js} +1 -1
- package/lib/duet/{p-6a4e23b5.entry.js → p-b4f2405c.entry.js} +1 -1
- package/lib/duet/{p-af4c5e2b.entry.js → p-b50db31a.entry.js} +1 -1
- package/lib/duet/{p-11e013dd.entry.js → p-b5defe7d.entry.js} +1 -1
- package/lib/duet/{p-b083c7df.system.entry.js → p-b737793a.system.entry.js} +1 -1
- package/lib/duet/{p-dc3646e2.system.entry.js → p-b7706f3e.system.entry.js} +1 -1
- package/lib/duet/{p-75e72c46.system.entry.js → p-b9ea2688.system.entry.js} +1 -1
- package/lib/duet/{p-2d14dafa.system.entry.js → p-bb6d4e02.system.entry.js} +1 -1
- package/lib/duet/{p-eb237688.system.entry.js → p-bbb5ceff.system.entry.js} +1 -1
- package/lib/duet/{p-f835eb92.system.entry.js → p-bcadf02c.system.entry.js} +1 -1
- package/lib/duet/{p-6f46b9da.system.entry.js → p-be76413c.system.entry.js} +1 -1
- package/lib/duet/{p-1c2dcb63.entry.js → p-bf53d017.entry.js} +1 -1
- package/lib/duet/{p-22932c08.system.entry.js → p-c0ad7828.system.entry.js} +1 -1
- package/lib/duet/{p-08f64c06.entry.js → p-c0de9913.entry.js} +1 -1
- package/lib/duet/p-c1186d0d.entry.js +4 -0
- package/lib/duet/{p-9921468e.entry.js → p-c282ebfd.entry.js} +1 -1
- package/lib/duet/{p-704b8b7e.entry.js → p-c327a6b9.entry.js} +1 -1
- package/lib/duet/{p-4989501c.entry.js → p-c398295a.entry.js} +1 -1
- package/lib/duet/{p-38faf7e7.system.entry.js → p-c4eff1d7.system.entry.js} +1 -1
- package/lib/duet/p-c70b69a7.system.entry.js +4 -0
- package/lib/duet/{p-6db869c9.system.entry.js → p-c73fad00.system.entry.js} +1 -1
- package/lib/duet/{p-463b0d7a.entry.js → p-c7d0fd92.entry.js} +1 -1
- package/lib/duet/{p-fb9c9879.system.entry.js → p-c7fc62e7.system.entry.js} +1 -1
- package/lib/duet/{p-430ef395.entry.js → p-c861f3d9.entry.js} +1 -1
- package/lib/duet/{p-13f4076a.system.entry.js → p-ce5b779c.system.entry.js} +2 -2
- package/lib/duet/{p-2162fe62.entry.js → p-d02c0a0b.entry.js} +1 -1
- package/lib/duet/{p-2ee8e84d.system.entry.js → p-d329f24b.system.entry.js} +1 -1
- package/lib/duet/{p-e8777cf4.entry.js → p-d33eef1f.entry.js} +1 -1
- package/lib/duet/p-d66c0235.entry.js +4 -0
- package/lib/duet/{p-16e80004.entry.js → p-dc68a5b4.entry.js} +1 -1
- package/lib/duet/p-de4d3f16.entry.js +4 -0
- package/lib/duet/p-deec5fa6.entry.js +4 -0
- package/lib/duet/{p-7d63b0c0.entry.js → p-e0308e1f.entry.js} +1 -1
- package/lib/duet/{p-9361e0ff.entry.js → p-e05bbc0f.entry.js} +1 -1
- package/lib/duet/p-e30f0acf.entry.js +4 -0
- package/lib/duet/{p-a8527a22.system.entry.js → p-e4e4e4d7.system.entry.js} +1 -1
- package/lib/duet/{p-3b9c02b1.entry.js → p-e78a7199.entry.js} +1 -1
- package/lib/duet/{p-08f594ea.entry.js → p-e7f98811.entry.js} +1 -1
- package/lib/duet/{p-2a542c6a.entry.js → p-e89c1ca6.entry.js} +1 -1
- package/lib/duet/{p-86d288e5.entry.js → p-ec3ce240.entry.js} +1 -1
- package/lib/duet/{p-adcfa80c.system.entry.js → p-ed9f7d82.system.entry.js} +1 -1
- package/lib/duet/p-eecbc77f.system.entry.js +4 -0
- package/lib/duet/{p-628a59a6.entry.js → p-ef3038cf.entry.js} +1 -1
- package/lib/duet/{p-c9751b3c.system.entry.js → p-efd3c1ca.system.entry.js} +1 -1
- package/lib/duet/{p-8f55b49a.system.entry.js → p-f1f892da.system.entry.js} +2 -2
- package/lib/duet/{p-201895ea.system.entry.js → p-f2c7e3ee.system.entry.js} +1 -1
- package/lib/duet/{p-901f7bd1.entry.js → p-f32df45c.entry.js} +1 -1
- package/lib/duet/{p-c157389b.system.entry.js → p-f33021ec.system.entry.js} +1 -1
- package/lib/duet/p-f50d1845.system.js +4 -0
- package/lib/duet/p-f587ebfc.js +4 -0
- package/lib/duet/{p-d647ef97.system.entry.js → p-f743f28c.system.entry.js} +1 -1
- package/lib/duet/{p-4a54ae2a.system.entry.js → p-f7f9a565.system.entry.js} +1 -1
- package/lib/duet/p-f922b327.entry.js +4 -0
- package/lib/duet/{p-34485370.system.entry.js → p-fc154425.system.entry.js} +1 -1
- package/lib/duet/p-fc168be9.system.entry.js +4 -0
- package/lib/duet/{p-268d9b35.entry.js → p-fcdf0b4f.entry.js} +1 -1
- package/lib/duet/{p-0cef5003.system.entry.js → p-ff81c192.system.entry.js} +2 -2
- package/lib/esm/{a11y-utils-87967050.js → a11y-utils-056fbc86.js} +1 -1
- package/lib/esm/{app-globals-db5be99e.js → app-globals-2e3fbb8b.js} +1 -1
- package/lib/{dist-custom-elements/p-9b044291.js → esm/common-strings-1274857d.js} +23 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +20 -32
- package/lib/esm/duet-badge.entry.js +16 -4
- package/lib/esm/duet-banner.entry.js +19 -8
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +6 -6
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +9 -8
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +29 -22
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +18 -8
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +5 -5
- package/lib/esm/duet-grid_2.entry.js +7 -6
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +6 -6
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +49 -0
- package/lib/esm/duet-input_2.entry.js +4 -4
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +8 -8
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +6 -6
- package/lib/esm/duet-modal.entry.js +13 -13
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +24 -7
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +5 -5
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +30 -23
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +8 -6
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -5
- package/lib/esm/duet-slideout-link.entry.js +9 -9
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +14 -19
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +4 -4
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +10 -10
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-f17cc5a4.js → errorcodes.utils-1673d536.js} +1 -1
- package/lib/esm/{focus-utils-28046c5d.js → focus-utils-ef5827e9.js} +1 -1
- package/lib/esm/{index-04630419.js → index-917bdca5.js} +5 -1
- package/lib/esm/{language-utils-7caf2c7c.js → language-utils-fc71dceb.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-e3cda10f.js → slot-utils-e20aeb67.js} +1 -1
- package/lib/esm/{themeable-component-ddf67193.js → themeable-component-5aa6dce7.js} +1 -1
- package/lib/esm-es5/{a11y-utils-87967050.js → a11y-utils-056fbc86.js} +1 -1
- package/lib/esm-es5/{app-globals-db5be99e.js → app-globals-2e3fbb8b.js} +1 -1
- package/lib/esm-es5/{common-strings-a48b3fba.js → common-strings-1274857d.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-indicator.entry.js +4 -0
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +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-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-panel.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.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 +2 -2
- package/lib/esm-es5/duet-status-icon.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 +2 -2
- package/lib/esm-es5/duet-submenu-bar-item.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 +2 -2
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-f17cc5a4.js → errorcodes.utils-1673d536.js} +1 -1
- package/lib/esm-es5/{focus-utils-28046c5d.js → focus-utils-ef5827e9.js} +1 -1
- package/lib/esm-es5/index-917bdca5.js +4 -0
- package/lib/esm-es5/{language-utils-7caf2c7c.js → language-utils-fc71dceb.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-e3cda10f.js → slot-utils-e20aeb67.js} +1 -1
- package/lib/esm-es5/{themeable-component-ddf67193.js → themeable-component-5aa6dce7.js} +1 -1
- package/lib/types/common-strings.d.ts +2 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
- package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
- package/lib/types/components/duet-card/duet-card.d.ts +6 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
- package/lib/types/components/duet-input/duet-input.d.ts +0 -2
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components.d.ts +81 -13
- package/package.json +4 -4
- package/lib/duet/p-01fe0f34.js +0 -4
- package/lib/duet/p-07d21021.system.entry.js +0 -4
- package/lib/duet/p-0c16128f.entry.js +0 -4
- package/lib/duet/p-0e4ff2a3.system.entry.js +0 -4
- package/lib/duet/p-13821573.system.entry.js +0 -4
- package/lib/duet/p-18b21048.entry.js +0 -4
- package/lib/duet/p-19ad52bc.entry.js +0 -4
- package/lib/duet/p-1a767c08.system.entry.js +0 -4
- package/lib/duet/p-1f495ebe.entry.js +0 -4
- package/lib/duet/p-2dd204b0.entry.js +0 -4
- package/lib/duet/p-2fe381b6.entry.js +0 -4
- package/lib/duet/p-3a75e6d3.entry.js +0 -4
- package/lib/duet/p-413fc831.system.entry.js +0 -4
- package/lib/duet/p-42a0205d.entry.js +0 -4
- package/lib/duet/p-49b696b3.entry.js +0 -4
- package/lib/duet/p-4d81e7f6.system.js +0 -4
- package/lib/duet/p-51717f08.entry.js +0 -4
- package/lib/duet/p-51fc30ef.entry.js +0 -4
- package/lib/duet/p-564022f1.entry.js +0 -4
- package/lib/duet/p-5f678caa.entry.js +0 -4
- package/lib/duet/p-62cb44f1.entry.js +0 -4
- package/lib/duet/p-72ad70a2.entry.js +0 -4
- package/lib/duet/p-76332920.system.js +0 -4
- package/lib/duet/p-7856f483.entry.js +0 -4
- package/lib/duet/p-82680aa5.system.js +0 -4
- package/lib/duet/p-82733ff7.entry.js +0 -4
- package/lib/duet/p-834d6b2d.system.entry.js +0 -4
- package/lib/duet/p-870a420d.system.entry.js +0 -4
- package/lib/duet/p-89b2f873.system.js +0 -4
- package/lib/duet/p-89f89a39.system.entry.js +0 -4
- package/lib/duet/p-8bb2ddda.entry.js +0 -4
- package/lib/duet/p-8cbe7888.system.entry.js +0 -4
- package/lib/duet/p-8e7af8a4.system.entry.js +0 -4
- package/lib/duet/p-8edc7ed6.entry.js +0 -4
- package/lib/duet/p-914292d2.entry.js +0 -4
- package/lib/duet/p-91be5d76.system.entry.js +0 -4
- package/lib/duet/p-936f0051.entry.js +0 -4
- package/lib/duet/p-b1b64718.system.entry.js +0 -4
- package/lib/duet/p-b4018154.entry.js +0 -4
- package/lib/duet/p-b65f6339.system.js +0 -4
- package/lib/duet/p-b84841d7.js +0 -4
- package/lib/duet/p-be26ac3a.entry.js +0 -4
- package/lib/duet/p-c4e34a8e.entry.js +0 -4
- package/lib/duet/p-cc531319.js +0 -4
- package/lib/duet/p-cff34f13.entry.js +0 -4
- package/lib/duet/p-d6afc825.entry.js +0 -4
- package/lib/duet/p-ec22154d.entry.js +0 -4
- package/lib/duet/p-f58cbc59.system.entry.js +0 -4
- package/lib/duet/p-f89feeb2.entry.js +0 -4
- package/lib/esm-es5/index-04630419.js +0 -4
|
@@ -753,10 +753,10 @@ export class DuetUpload {
|
|
|
753
753
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
754
754
|
}
|
|
755
755
|
// @ts-ignore
|
|
756
|
-
return (h(Host, { key: '
|
|
756
|
+
return (h(Host, { key: 'c7f1bf7d8cf499d955da5205808a3ea5428035b2', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '1460d528cb7fa48e6c6867100f4f12646eb28cf9', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: 'dcc7b2faccc425c862b51d5c1732351973e5bb35', name: "header" }), !this.files.size && (h("duet-empty-state", { key: 'cd063eb6f01f9c981e6d5489948905b6109077b6', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: '6a233a0b84de2933ea96e01d3bf83a45e7a6e50c', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: '3aafba5896461df3b1c8ddb13dd663c98a1983e0', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: 'f776236c6ba78c275e213a82c8c00b337f9b7594', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { key: '7e8c78fb32117643609ac7cd0b984207513ab742', name: "filefooter" }), h("slot", { key: 'de74f9f77d8d78d0a738d5cb10af764c830d90a7', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: '7abd791a093afc3fb151847fc1e2ac955f0e59ee', margin: "none", size: "small" }, h("div", { key: '5f68e2b352db0e0905a791647f0dafe74063897d', class: "upload-bottom-caption" }, caption))), h("slot", { key: 'd286427445a790dc955f7ffc96ae2b5af7cb04e7', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '055b712495e396748b320913cab77e5377e4c38d' }, h("duet-spacer", { key: 'b5f63e77e82da67f1b5b88e88b70c9b14d7dbe1a', size: "large" }), h("duet-button", { key: '11feaaf6cf24744aecc3c4c159a03841e6cba34e', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
757
757
|
this.bytesMaxReached ||
|
|
758
758
|
this.filesToUploadExceedsLimit ||
|
|
759
|
-
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '
|
|
759
|
+
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '7ce04c54d1dc3f550c956a81f032f816fdf78b46' }, h("duet-spacer", { key: 'b4a03f6aa7757f47018a7c906807d9065d1c71e2', size: "medium" }), h("duet-alert", { key: '9bb87f4fbed6c654fc01e6b981559b71d2d84386', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { key: 'd3f9fb94e17554fcec4db21a9a66cadaf98fa073', "aria-hidden": "true" }, h("input", { key: '728996468d1dd97139be322580f2475d6917eb5f', ref: input => {
|
|
760
760
|
this.nativeInput = input;
|
|
761
761
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
762
762
|
"duet-upload": true,
|
|
@@ -64,7 +64,7 @@ export class DuetUploadAriaStatus {
|
|
|
64
64
|
* Always the last one in the class.
|
|
65
65
|
*/
|
|
66
66
|
render() {
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '7ca533d944adaea769cb04e2239230858961990b', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: 'a87edd299b5ad36c33005c241c5f74ca068a9c40' }, this.statusMessage)));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-upload-aria-status"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,9 +80,9 @@ export class DuetUploadItem {
|
|
|
80
80
|
const { uid, meta, item } = this.data;
|
|
81
81
|
const Badges = meta && meta.badges ? (h("span", null, meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
82
82
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
83
|
-
return (h("div", { key: '
|
|
83
|
+
return (h("div", { key: '1412bdaaf8001dd4849c5128cc463327f4a5dd2d', class: {
|
|
84
84
|
"upload-item-row": true,
|
|
85
|
-
} }, this.showCategory && (h("div", { key: '
|
|
85
|
+
} }, this.showCategory && (h("div", { key: '635382f438d151cbf5f84b04d24ca36d80584953', class: "item-categories" }, h("duet-heading", { key: '1a8f5beb2b403297bfe5a25fb125337817848c97', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: 'b51a8872eff794722a6fbde9fad6cd77e81b036f', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: 'c423681df8f4f2c90dec48b5204090ffe7428019', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '3f0c5fc33ca3f8053b7a28190e4816aeb2354cbf', class: "item-actions" }, this.actions.map(actionItem => {
|
|
86
86
|
return (h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
87
87
|
}))));
|
|
88
88
|
}
|
|
@@ -8,7 +8,7 @@ export class DuetVisuallyHidden {
|
|
|
8
8
|
* Always the last one in the class.
|
|
9
9
|
*/
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '0cde507e2a8a8ec27d6865d26a1647a6a0817ec0', class: "duet-visually-hidden" }, h("slot", { key: 'fb334f7b1a33c43cfba9cdc8410ce829a7865f49' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "duet-visually-hidden"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-21d23d6c.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-21f19284.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-1172497f.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-60ffc3cf.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { h } from './p-993aea39.js';
|
|
7
7
|
import { h as hasSlot, c as checkNamedSlotElement } from './p-f21662ea.js';
|
|
8
8
|
import { p as parsePossibleJSON } from './p-9c3c64b9.js';
|
|
9
9
|
import { g as getColorByName, p as postfixTheme } from './p-499da71e.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-271a8315.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-8959f96f.js';
|
|
12
12
|
|
|
13
13
|
const DuetPicture = ({ img, sources }) => {
|
|
14
14
|
return (h("picture", null,
|
|
@@ -17,7 +17,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
17
17
|
h("img", Object.assign({}, img))));
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n transform: scale(101%);\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";
|
|
20
|
+
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n transform: scale(101%);\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}\n\n:host(.duet-theme-turva2) .duet-banner {\n border-radius: 8px;\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium, :host(.duet-theme-turva2) .duet-banner.size-large {\n /* stylelint-disable */\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium .visual .brand-shape, :host(.duet-theme-turva2) .duet-banner.size-large .visual .brand-shape {\n display: none;\n}\n@container duet-banner-container (min-width: 486px) {\n :host(.duet-theme-turva2) .duet-banner.size-medium, :host(.duet-theme-turva2) .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-columns: 1fr 1fr;\n gap: 28px;\n border-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 12px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 12px;\n }\n}";
|
|
21
21
|
const DuetBannerStyle0 = duetBannerCss;
|
|
22
22
|
|
|
23
23
|
const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H {
|
|
@@ -54,6 +54,18 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
+
this.isTurva2 = () => { var _a; return (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"); };
|
|
58
|
+
this.getBackgroundColor = () => {
|
|
59
|
+
if (this.theme === "turva" && this.backgroundColor === "primary-lighter") {
|
|
60
|
+
if (this.isTurva2()) {
|
|
61
|
+
return "#fdf7f2"; // turva-nude-00 - not yet available as token
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
return getColorByName("gray-lighter", this.theme);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return getColorByName(this.backgroundColor, this.theme);
|
|
68
|
+
};
|
|
57
69
|
this.currentSize = undefined;
|
|
58
70
|
this.theme = "";
|
|
59
71
|
this.margin = "auto";
|
|
@@ -92,8 +104,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
92
104
|
* Always the last one of the class.
|
|
93
105
|
*/
|
|
94
106
|
render() {
|
|
95
|
-
const
|
|
96
|
-
const backgroundColor = getColorByName(backgroundColorTemp, this.theme);
|
|
107
|
+
const backgroundColor = this.getBackgroundColor();
|
|
97
108
|
const color = getColorByName(this.textColor, this.theme);
|
|
98
109
|
const bannerStyles = {
|
|
99
110
|
backgroundColor,
|
|
@@ -102,14 +113,14 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
102
113
|
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
103
114
|
sources: parsePossibleJSON(this.sources),
|
|
104
115
|
};
|
|
105
|
-
return (h$1(Host, { key: '
|
|
116
|
+
return (h$1(Host, { key: 'c8e3140dea20791061866feb62588c5a5491f277', class: { "duet-m-0": this.margin === "none" } }, h$1("aside", { key: '7e6834ed607505ee35d026a71d3406280644856b', class: {
|
|
106
117
|
"duet-banner": true,
|
|
107
118
|
"duet-theme-turva": this.theme === "turva",
|
|
108
119
|
[this.currentSize]: true,
|
|
109
120
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
110
121
|
"size-large": this.size === "large",
|
|
111
122
|
"no-image": !this.image,
|
|
112
|
-
}, style: bannerStyles }, h$1("div", { key: '
|
|
123
|
+
}, style: bannerStyles }, h$1("div", { key: 'fc4dc8649243b6a63368328de6eb4e50ed176a6b', class: "visual" }, h$1("div", { key: '37384ee4753623f1be3281d984a0bb838ed73f58', class: "image-container" }, this.image && h$1(DuetPicture, Object.assign({ key: '20843c2967598ea78d178de08e35e9ac6b913e2d' }, pictureSource))), 1 > 2 , h$1("div", { key: 'c7a8ea6e28e80f6b10f37d3d9ae649e72362d59b', style: bannerStyles, class: "brand-shape" })), h$1("div", { key: '1cf3029099015dd0ff396e9f9c94075c3eb5b70f', class: "content" }, this.hasHeadingSlot && (h$1("div", { key: 'bd471f924ebdcd3a08f9aed0ac669f46188a5452', class: "heading" }, h$1("duet-heading", { key: 'f8a595ae3eb8a76b5f2ffb245912d8dea6221873', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h$1("span", { key: 'cc6134c267fdc0401198afdff0a75776f091db58' }, h$1("slot", { key: 'bdfc9e47dfe979c9355b99379533e81e36d55ac3', name: "heading" }))))), this.hasDescriptionSlot && (h$1("div", { key: '38b1971548ed44d7b5c02c5eb6feb85625880f09', class: "description", style: { color } }, h$1("slot", { key: '2b8ed684179262322589d0e8702f3bd823e7614f', name: "description" }))), this.hasActionSlot && (h$1("div", { key: '75e5f3ba7ef02266554854f6963e4c471ca0fa4f', class: "action" }, h$1("slot", { key: '1c9affe286d41ac0266758465f0d574591e38b2c', name: "action" })))))));
|
|
113
124
|
}
|
|
114
125
|
get element() { return this; }
|
|
115
126
|
static get style() { return DuetBannerStyle0; }
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-60ffc3cf.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8db11326.js';
|
|
7
7
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-d9b2e80e.js';
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-8959f96f.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-24404a59.js';
|
|
10
10
|
|
|
11
11
|
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>"};
|
|
12
12
|
|
|
@@ -52,14 +52,14 @@ const DuetBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class DuetBreadcrumb e
|
|
|
52
52
|
*/
|
|
53
53
|
render() {
|
|
54
54
|
var _a;
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'a9f1782d98a790e469a78d27b5eb79ba277578e2', role: "listitem" }, h("div", { key: '0044cdcf0d7b79d76e4b86d075d318485ff6cb5d', class: "container" }, this.icon === "arrow-right-small-icon" && (h("duet-icon", { key: '6c6be2a00e8fdbbcd15a99b9535066864cca20df', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), h("a", { key: '438e3d0d02eb4abce710c1ca3a88a28efc69ffca', class: {
|
|
56
56
|
"duet-breadcrumb": true,
|
|
57
57
|
"duet-theme-turva": this.theme === "turva",
|
|
58
58
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
59
59
|
this.icon && [
|
|
60
|
-
h("duet-icon", { key: '
|
|
61
|
-
this.hasSlottedContent && h("duet-spacer", { key: '
|
|
62
|
-
], h("slot", { key: '
|
|
60
|
+
h("duet-icon", { key: 'fd3385a6710d02e06c3b5f7cc6718c98a8104989', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
61
|
+
this.hasSlottedContent && h("duet-spacer", { key: '5a280907832a4d1f0577469fc402f44a7979c376', size: "x-small", direction: "horizontal" }),
|
|
62
|
+
], h("slot", { key: 'b1215c5fd3872c3498378fd1f625e177005fb3fc' })))));
|
|
63
63
|
}
|
|
64
64
|
get element() { return this; }
|
|
65
65
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-60ffc3cf.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { g as getLocaleString } from './p-d9b2e80e.js';
|
|
7
7
|
import { g as getColorByName } from './p-499da71e.js';
|
|
@@ -54,11 +54,11 @@ const DuetBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class DuetBreadcrumbs
|
|
|
54
54
|
*/
|
|
55
55
|
render() {
|
|
56
56
|
const color = getColorByName(this.color);
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '353dc54191f3da65ebc9bbba39c9904a23ac31d7' }, h("nav", { key: '98ea70d7dba93ceda61bba1c572dc690bbb3aab9', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
58
58
|
"duet-breadcrumbs": true,
|
|
59
59
|
"duet-theme-turva": this.theme === "turva",
|
|
60
60
|
[this.variation]: true,
|
|
61
|
-
} }, h("div", { key: '
|
|
61
|
+
} }, h("div", { key: 'affe18004c3a9fbdb8f820d78b3bcb08cc9bb6f3', class: "container" }, h("div", { key: 'f90581d901c83261650c3c887f332888a160858a', role: "list", class: "list", style: { color } }, h("slot", { key: '55867215483c5114bd599015847cd0ecafd7c456' })), h("div", { key: 'cbbc4775098ce98422265fbce5632be69ed916f9', class: "bottom-border bottom-border--container" })), h("div", { key: '7463cda762ef2acdb4437c88f030ee7bfcd34864', class: "bottom-border bottom-border--nav" }))));
|
|
62
62
|
}
|
|
63
63
|
get element() { return this; }
|
|
64
64
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-292fa964.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-60ffc3cf.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { h as hasSlot, c as checkNamedSlotElement } from './p-f21662ea.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-8959f96f.js';
|
|
8
8
|
|
|
9
9
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(8, 42, 77)}.duet-callout.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-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}:host(.duet-theme-turva2) .duet-callout.duet-theme-turva .author,:host(.duet-theme-turva2) .duet-callout.duet-theme-turva blockquote{color:#172a3b}";
|
|
10
10
|
const DuetCalloutStyle0 = duetCalloutCss;
|
|
@@ -35,11 +35,11 @@ const DuetCallout$1 = /*@__PURE__*/ proxyCustomElement(class DuetCallout extends
|
|
|
35
35
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
36
36
|
</svg>
|
|
37
37
|
`;
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'cce1d247cffb8bd198d58740a8755b5905f8f321' }, h("div", { key: 'a03c534b9c6ba8bed4bcc16b1ccbc0f100219bd3', class: {
|
|
39
39
|
"duet-callout": true,
|
|
40
40
|
"duet-theme-turva": this.theme === "turva",
|
|
41
41
|
"duet-m-0": this.margin === "none",
|
|
42
|
-
} }, h("figure", { key: '
|
|
42
|
+
} }, h("figure", { key: 'f085eed2d1b58950d4c208a845e412edad1deb4c', class: "container" }, h("duet-icon", { key: '50c166c27467e4ec8b0dbcd82466c9dcc33ceeaa', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: 'ba44180d41f337b19561e2af2e47451481c82f09' }, h("slot", { key: '9366ad783cc9af7d9a21e91b0fc9570c039a1a69' })), this.hasAuthorSlot && (h("figcaption", { key: '8fa76f3b5cf65e1ce55f97dcb23ce8b72d20e8be', class: "author" }, h("span", { key: '5f26224b4abc476e96d80f321cd5b0c38c9cdf13' }, "\u2014 "), h("slot", { key: '8b3f9ac4cb7dacf68336ce555e4ccdf2cbe8b8fa', name: "author" })))))));
|
|
43
43
|
}
|
|
44
44
|
get element() { return this; }
|
|
45
45
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-bb3c4ead.js';
|
|
5
5
|
|
|
6
6
|
const DuetCaption = DuetCaption$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-60ffc3cf.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8db11326.js';
|
|
8
8
|
import { g as getElementsFromNamedSlot } from './p-f21662ea.js';
|
|
9
9
|
import { s as sanitizeString } from './p-9c3c64b9.js';
|
|
10
10
|
import { g as getColorByName } from './p-499da71e.js';
|
|
11
|
-
import { d as defineCustomElement$3 } from './p-
|
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$3 } from './p-8959f96f.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-24404a59.js';
|
|
13
13
|
|
|
14
14
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
15
15
|
const duetBlock = "div";
|
|
16
16
|
|
|
17
17
|
var actionArrowUp={"title":"action-arrow-up","tags":"action arrow up caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z\"/></svg>"};
|
|
18
18
|
|
|
19
|
-
const duetCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;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:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:4px 4px 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}";
|
|
19
|
+
const duetCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;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:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius);box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}";
|
|
20
20
|
const DuetCardStyle0 = duetCardCss;
|
|
21
21
|
|
|
22
22
|
const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
@@ -51,6 +51,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
51
51
|
this.headingLevel = "h2";
|
|
52
52
|
this.headingBackground = undefined;
|
|
53
53
|
this.icon = undefined;
|
|
54
|
+
this.iconColor = "currentColor";
|
|
54
55
|
this.image = undefined;
|
|
55
56
|
this.background = "gray-lightest";
|
|
56
57
|
this.padding = "small";
|
|
@@ -80,7 +81,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
80
81
|
const headingStyles = {
|
|
81
82
|
backgroundColor: getColorByName(this.headingBackground),
|
|
82
83
|
};
|
|
83
|
-
const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color:
|
|
84
|
+
const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: this.iconColor }), h("duet-spacer", { direction: "horizontal", size: "small" }))), h("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.secondaryHeading && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("duet-icon", { class: "duet-card-caret", icon: actionArrowUp.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), h("slot", { name: "below-heading" })));
|
|
84
85
|
if (this.collapsible) {
|
|
85
86
|
const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
|
|
86
87
|
return (h(HeadingTag, { style: headingStyles, class: "duet-card-heading duet-card-heading--collapsible", onClick: this.togglePanel, onKeyDown: this.handleKeyDown }, h("button", { type: "button", "aria-controls": this.cardId, "aria-expanded": this.open ? "true" : "false", "aria-label": ariaLabel }, headingContent)));
|
|
@@ -108,10 +109,10 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
108
109
|
const styles = {
|
|
109
110
|
backgroundColor: getColorByName(this.background),
|
|
110
111
|
};
|
|
111
|
-
return (h(Host, { key: '
|
|
112
|
+
return (h(Host, { key: 'b229fd28e5e5058ba357db373f25c9de68dc2694', class: {
|
|
112
113
|
"duet-m-0": this.margin === "none",
|
|
113
114
|
"duet-card-info": this.variation === "info",
|
|
114
|
-
} }, h(TagName, { key: '
|
|
115
|
+
} }, h(TagName, { key: 'b80082cae6d0e4d564bc1eca68f57749b6975e0e', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
115
116
|
"duet-card": true,
|
|
116
117
|
[this.padding]: true,
|
|
117
118
|
[this.variation]: true,
|
|
@@ -121,7 +122,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
121
122
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
122
123
|
"duet-card-has-icon": !!this.icon,
|
|
123
124
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
124
|
-
} }, this.image && (h("div", { key: '
|
|
125
|
+
} }, this.image && (h("div", { key: 'c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a', class: "duet-card-image-mask" }, h("img", { key: '828ed65b312a0e50257adfa39f25307b13e7d51a', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: '081d59770bc88f9b7bd2a9b25d0bf905ea0d141b', class: "duet-card-content", id: this.cardId }, h("slot", { key: 'ad92895c2eea7a7697bd4924165656e72ee9b1da' }), this.hasFooter && (h("div", { key: '9a920473b4242e87a36032511f982b3e890df463', class: "duet-card-footer" }, h("slot", { key: '41350a63089d579579bca4454a1fcbc27a60b445', name: "footer" })))))));
|
|
125
126
|
}
|
|
126
127
|
get element() { return this; }
|
|
127
128
|
static get style() { return DuetCardStyle0; }
|
|
@@ -135,6 +136,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
135
136
|
"headingLevel": [1, "heading-level"],
|
|
136
137
|
"headingBackground": [1, "heading-background"],
|
|
137
138
|
"icon": [1],
|
|
139
|
+
"iconColor": [513, "icon-color"],
|
|
138
140
|
"image": [1],
|
|
139
141
|
"background": [1],
|
|
140
142
|
"padding": [1],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-03c9ec22.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-c0f48cc4.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckmark = DuetCheckmark$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetChip$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetChip$1, d as defineCustomElement$1 } from './p-81d2c117.js';
|
|
5
5
|
|
|
6
6
|
const DuetChip = DuetChip$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-60ffc3cf.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { c as checkNamedSlotElement } from './p-f21662ea.js';
|
|
7
|
-
import { d as defineCustomElement$8 } from './p-
|
|
8
|
-
import { d as defineCustomElement$7 } from './p-
|
|
9
|
-
import { d as defineCustomElement$6 } from './p-
|
|
10
|
-
import { d as defineCustomElement$5 } from './p-
|
|
11
|
-
import { d as defineCustomElement$4 } from './p-
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
13
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$8 } from './p-bb3c4ead.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-bb928027.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-8959f96f.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-dc0c957e.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-d1f886eb.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-3972dc75.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-f5c2e1f7.js';
|
|
14
14
|
|
|
15
15
|
const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
16
16
|
const DuetChoiceGroupStyle0 = duetChoiceGroupCss;
|
|
@@ -21,6 +21,16 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
21
21
|
this.__registerHost();
|
|
22
22
|
this.choiceGroupName = "duet-choice-group";
|
|
23
23
|
this.choices = new Set();
|
|
24
|
+
// Call this.updateChoices when a child choice has been removed - addtions are handled by events
|
|
25
|
+
this.childObserverCallback = (mutationList) => {
|
|
26
|
+
if (mutationList.some(r => {
|
|
27
|
+
var _a;
|
|
28
|
+
return ((_a = r.removedNodes) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
|
|
29
|
+
Array.from(r.removedNodes.values()).some(n => n.nodeName.toLowerCase() === "duet-choice");
|
|
30
|
+
})) {
|
|
31
|
+
this.updateChoices();
|
|
32
|
+
}
|
|
33
|
+
};
|
|
24
34
|
/**
|
|
25
35
|
* Component event handling.
|
|
26
36
|
*/
|
|
@@ -33,16 +43,7 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
33
43
|
this.value = selectedChoice.value;
|
|
34
44
|
}
|
|
35
45
|
};
|
|
36
|
-
this.onChoiceReady = (
|
|
37
|
-
const choice = ev.target;
|
|
38
|
-
if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
|
|
39
|
-
this.choices.add(choice);
|
|
40
|
-
this.updateChoices();
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
this.onChoiceRemove = (ev) => {
|
|
44
|
-
const choice = ev.target;
|
|
45
|
-
this.choices.delete(choice);
|
|
46
|
+
this.onChoiceReady = () => {
|
|
46
47
|
this.updateChoices();
|
|
47
48
|
};
|
|
48
49
|
this.direction = "vertical";
|
|
@@ -71,13 +72,15 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
71
72
|
* Component lifecycle events.
|
|
72
73
|
*/
|
|
73
74
|
async connectedCallback() {
|
|
75
|
+
this.childObserver = new MutationObserver(this.childObserverCallback.bind(this));
|
|
76
|
+
this.childObserver.observe(this.element, { childList: true, subtree: true });
|
|
74
77
|
this.setInitialValue();
|
|
75
78
|
this.updateChoices();
|
|
76
79
|
}
|
|
77
80
|
disconnectedCallback() {
|
|
78
|
-
if (this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
+
if (this.childObserver) {
|
|
82
|
+
this.childObserver.disconnect();
|
|
83
|
+
this.childObserver = undefined;
|
|
81
84
|
}
|
|
82
85
|
}
|
|
83
86
|
componentWillLoad() {
|
|
@@ -104,6 +107,12 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
104
107
|
var _a;
|
|
105
108
|
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
|
|
106
109
|
let hasChecked = false;
|
|
110
|
+
this.choices.clear();
|
|
111
|
+
this.element.querySelectorAll("duet-choice").forEach((choice) => {
|
|
112
|
+
if (choice.closest("duet-choice-group") === this.element) {
|
|
113
|
+
this.choices.add(choice);
|
|
114
|
+
}
|
|
115
|
+
});
|
|
107
116
|
// Walk the DOM in reverse order, since the last selected one wins
|
|
108
117
|
for (const choice of Array.from(this.choices)) {
|
|
109
118
|
choice.name = this.name;
|
|
@@ -135,7 +144,7 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
135
144
|
* Always the last one in the class.
|
|
136
145
|
*/
|
|
137
146
|
render() {
|
|
138
|
-
return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady,
|
|
147
|
+
return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
|
|
139
148
|
horizontal: this.direction === "horizontal",
|
|
140
149
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
141
150
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|