@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
|
@@ -43,6 +43,18 @@ export class DuetBanner {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
+
this.isTurva2 = () => { var _a; return (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"); };
|
|
47
|
+
this.getBackgroundColor = () => {
|
|
48
|
+
if (this.theme === "turva" && this.backgroundColor === "primary-lighter") {
|
|
49
|
+
if (this.isTurva2()) {
|
|
50
|
+
return "#fdf7f2"; // turva-nude-00 - not yet available as token
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
return getColorByName("gray-lighter", this.theme);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return getColorByName(this.backgroundColor, this.theme);
|
|
57
|
+
};
|
|
46
58
|
this.currentSize = undefined;
|
|
47
59
|
this.theme = "";
|
|
48
60
|
this.margin = "auto";
|
|
@@ -81,8 +93,7 @@ export class DuetBanner {
|
|
|
81
93
|
* Always the last one of the class.
|
|
82
94
|
*/
|
|
83
95
|
render() {
|
|
84
|
-
const
|
|
85
|
-
const backgroundColor = getColorByName(backgroundColorTemp, this.theme);
|
|
96
|
+
const backgroundColor = this.getBackgroundColor();
|
|
86
97
|
const color = getColorByName(this.textColor, this.theme);
|
|
87
98
|
const bannerStyles = {
|
|
88
99
|
backgroundColor,
|
|
@@ -91,14 +102,14 @@ export class DuetBanner {
|
|
|
91
102
|
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
92
103
|
sources: parsePossibleJSON(this.sources),
|
|
93
104
|
};
|
|
94
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: 'c8e3140dea20791061866feb62588c5a5491f277', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '7e6834ed607505ee35d026a71d3406280644856b', class: {
|
|
95
106
|
"duet-banner": true,
|
|
96
107
|
"duet-theme-turva": this.theme === "turva",
|
|
97
108
|
[this.currentSize]: true,
|
|
98
109
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
99
110
|
"size-large": this.size === "large",
|
|
100
111
|
"no-image": !this.image,
|
|
101
|
-
}, style: bannerStyles }, h("div", { key: '
|
|
112
|
+
}, style: bannerStyles }, h("div", { key: 'fc4dc8649243b6a63368328de6eb4e50ed176a6b', class: "visual" }, h("div", { key: '37384ee4753623f1be3281d984a0bb838ed73f58', class: "image-container" }, this.image && h(DuetPicture, Object.assign({ key: '20843c2967598ea78d178de08e35e9ac6b913e2d' }, pictureSource))), 1 > 2 && this.icon && (h("duet-icon", { key: '5004d77927bfb893d67503a452dea3e7cf74f8d3', theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.currentSize === "large" ? "xx-large" : "x-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" })), h("div", { key: 'c7a8ea6e28e80f6b10f37d3d9ae649e72362d59b', style: bannerStyles, class: "brand-shape" })), h("div", { key: '1cf3029099015dd0ff396e9f9c94075c3eb5b70f', class: "content" }, this.hasHeadingSlot && (h("div", { key: 'bd471f924ebdcd3a08f9aed0ac669f46188a5452', class: "heading" }, h("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("span", { key: 'cc6134c267fdc0401198afdff0a75776f091db58' }, h("slot", { key: 'bdfc9e47dfe979c9355b99379533e81e36d55ac3', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '38b1971548ed44d7b5c02c5eb6feb85625880f09', class: "description", style: { color } }, h("slot", { key: '2b8ed684179262322589d0e8702f3bd823e7614f', name: "description" }))), this.hasActionSlot && (h("div", { key: '75e5f3ba7ef02266554854f6963e4c471ca0fa4f', class: "action" }, h("slot", { key: '1c9affe286d41ac0266758465f0d574591e38b2c', name: "action" })))))));
|
|
102
113
|
}
|
|
103
114
|
static get is() { return "duet-banner"; }
|
|
104
115
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,14 +42,14 @@ export class DuetBreadcrumb {
|
|
|
42
42
|
*/
|
|
43
43
|
render() {
|
|
44
44
|
var _a;
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
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: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), h("a", { key: '438e3d0d02eb4abce710c1ca3a88a28efc69ffca', class: {
|
|
46
46
|
"duet-breadcrumb": true,
|
|
47
47
|
"duet-theme-turva": this.theme === "turva",
|
|
48
48
|
}, 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" &&
|
|
49
49
|
this.icon && [
|
|
50
|
-
h("duet-icon", { key: '
|
|
51
|
-
this.hasSlottedContent && h("duet-spacer", { key: '
|
|
52
|
-
], h("slot", { key: '
|
|
50
|
+
h("duet-icon", { key: 'fd3385a6710d02e06c3b5f7cc6718c98a8104989', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
51
|
+
this.hasSlottedContent && h("duet-spacer", { key: '5a280907832a4d1f0577469fc402f44a7979c376', size: "x-small", direction: "horizontal" }),
|
|
52
|
+
], h("slot", { key: 'b1215c5fd3872c3498378fd1f625e177005fb3fc' })))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "duet-breadcrumb"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,11 +53,11 @@ export class DuetBreadcrumbs {
|
|
|
53
53
|
*/
|
|
54
54
|
render() {
|
|
55
55
|
const color = getColorByName(this.color);
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '353dc54191f3da65ebc9bbba39c9904a23ac31d7' }, h("nav", { key: '98ea70d7dba93ceda61bba1c572dc690bbb3aab9', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
57
57
|
"duet-breadcrumbs": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
59
|
[this.variation]: true,
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, 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" }))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "duet-breadcrumbs"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,11 +31,11 @@ export class DuetCallout {
|
|
|
31
31
|
<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"/>
|
|
32
32
|
</svg>
|
|
33
33
|
`;
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'cce1d247cffb8bd198d58740a8755b5905f8f321' }, h("div", { key: 'a03c534b9c6ba8bed4bcc16b1ccbc0f100219bd3', class: {
|
|
35
35
|
"duet-callout": true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
37
|
"duet-m-0": this.margin === "none",
|
|
38
|
-
} }, h("figure", { key: '
|
|
38
|
+
} }, 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" })))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-callout"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,6 +34,15 @@
|
|
|
34
34
|
margin: 0 !important;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
:host {
|
|
38
|
+
--duet-card-border-radius: 12px;
|
|
39
|
+
}
|
|
40
|
+
@media (min-width: 36em) {
|
|
41
|
+
:host {
|
|
42
|
+
--duet-card-border-radius: 16px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
37
46
|
.duet-card {
|
|
38
47
|
padding: 20px !important;
|
|
39
48
|
position: relative;
|
|
@@ -47,7 +56,7 @@
|
|
|
47
56
|
line-height: 1.5;
|
|
48
57
|
color: rgb(8, 42, 77);
|
|
49
58
|
text-decoration: none;
|
|
50
|
-
border-radius:
|
|
59
|
+
border-radius: var(--duet-card-border-radius);
|
|
51
60
|
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);
|
|
52
61
|
}
|
|
53
62
|
.duet-card.duet-p-0 {
|
|
@@ -234,7 +243,7 @@
|
|
|
234
243
|
font-weight: 800;
|
|
235
244
|
color: rgb(8, 42, 77);
|
|
236
245
|
border-bottom: 1px solid rgb(212, 223, 229);
|
|
237
|
-
border-radius:
|
|
246
|
+
border-radius: var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0;
|
|
238
247
|
}
|
|
239
248
|
@media (min-width: 36em) {
|
|
240
249
|
.duet-card-heading {
|
|
@@ -265,7 +274,7 @@
|
|
|
265
274
|
outline: 0;
|
|
266
275
|
}
|
|
267
276
|
:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus {
|
|
268
|
-
border-radius:
|
|
277
|
+
border-radius: var(--duet-card-border-radius);
|
|
269
278
|
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
|
|
270
279
|
}
|
|
271
280
|
:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus {
|
|
@@ -43,6 +43,7 @@ export class DuetCard {
|
|
|
43
43
|
this.headingLevel = "h2";
|
|
44
44
|
this.headingBackground = undefined;
|
|
45
45
|
this.icon = undefined;
|
|
46
|
+
this.iconColor = "currentColor";
|
|
46
47
|
this.image = undefined;
|
|
47
48
|
this.background = "gray-lightest";
|
|
48
49
|
this.padding = "small";
|
|
@@ -74,7 +75,7 @@ export class DuetCard {
|
|
|
74
75
|
const headingStyles = {
|
|
75
76
|
backgroundColor: getColorByName(this.headingBackground),
|
|
76
77
|
};
|
|
77
|
-
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:
|
|
78
|
+
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: arrowUpIcon.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" })));
|
|
78
79
|
if (this.collapsible) {
|
|
79
80
|
const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
|
|
80
81
|
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)));
|
|
@@ -102,10 +103,10 @@ export class DuetCard {
|
|
|
102
103
|
const styles = {
|
|
103
104
|
backgroundColor: getColorByName(this.background),
|
|
104
105
|
};
|
|
105
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: 'b229fd28e5e5058ba357db373f25c9de68dc2694', class: {
|
|
106
107
|
"duet-m-0": this.margin === "none",
|
|
107
108
|
"duet-card-info": this.variation === "info",
|
|
108
|
-
} }, h(TagName, { key: '
|
|
109
|
+
} }, h(TagName, { key: 'b80082cae6d0e4d564bc1eca68f57749b6975e0e', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
109
110
|
"duet-card": true,
|
|
110
111
|
[this.padding]: true,
|
|
111
112
|
[this.variation]: true,
|
|
@@ -115,7 +116,7 @@ export class DuetCard {
|
|
|
115
116
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
116
117
|
"duet-card-has-icon": !!this.icon,
|
|
117
118
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
118
|
-
} }, this.image && (h("div", { key: '
|
|
119
|
+
} }, 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" })))))));
|
|
119
120
|
}
|
|
120
121
|
static get is() { return "duet-card"; }
|
|
121
122
|
static get encapsulation() { return "shadow"; }
|
|
@@ -332,6 +333,32 @@ export class DuetCard {
|
|
|
332
333
|
"attribute": "icon",
|
|
333
334
|
"reflect": false
|
|
334
335
|
},
|
|
336
|
+
"iconColor": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"mutable": false,
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "DuetColor",
|
|
341
|
+
"resolved": "string",
|
|
342
|
+
"references": {
|
|
343
|
+
"DuetColor": {
|
|
344
|
+
"location": "import",
|
|
345
|
+
"path": "../../common-types",
|
|
346
|
+
"id": "src/common-types.d.ts::DuetColor"
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"required": false,
|
|
351
|
+
"optional": false,
|
|
352
|
+
"docs": {
|
|
353
|
+
"tags": [],
|
|
354
|
+
"text": "Custom color to be used for the icon, as a design token entered in camelCase\nor kebab-case. Example: \"color-primary\". This property can also be set to\n\"currentColor\"."
|
|
355
|
+
},
|
|
356
|
+
"getter": false,
|
|
357
|
+
"setter": false,
|
|
358
|
+
"attribute": "icon-color",
|
|
359
|
+
"reflect": true,
|
|
360
|
+
"defaultValue": "\"currentColor\""
|
|
361
|
+
},
|
|
335
362
|
"image": {
|
|
336
363
|
"type": "string",
|
|
337
364
|
"mutable": false,
|
|
@@ -188,11 +188,11 @@
|
|
|
188
188
|
transform: scaleX(1);
|
|
189
189
|
}
|
|
190
190
|
.duet-chip-container.duet-chip-filter-checked.duet-theme-turva, .duet-chip-container.duet-chip-radio-checked.duet-theme-turva {
|
|
191
|
-
background: rgb(
|
|
191
|
+
background: rgb(255, 241, 241);
|
|
192
192
|
border-color: rgb(198, 12, 48);
|
|
193
193
|
}
|
|
194
194
|
.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover, .duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover {
|
|
195
|
-
background: rgb(
|
|
195
|
+
background: rgb(255, 213, 215);
|
|
196
196
|
}
|
|
197
197
|
.duet-chip-container .duet-chip-popup-disclosure {
|
|
198
198
|
padding-right: 4.5px;
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
border-color: rgb(240, 247, 250);
|
|
207
207
|
}
|
|
208
208
|
.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva {
|
|
209
|
-
background: rgb(
|
|
209
|
+
background: rgb(255, 241, 241);
|
|
210
210
|
border-color: rgb(245, 247, 250);
|
|
211
211
|
}
|
|
212
212
|
.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon {
|
|
@@ -328,14 +328,14 @@
|
|
|
328
328
|
border-color: #e61740;
|
|
329
329
|
}
|
|
330
330
|
:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked, :host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked {
|
|
331
|
-
background: #
|
|
331
|
+
background: #fdf7f2;
|
|
332
332
|
border-color: #e61740;
|
|
333
333
|
}
|
|
334
334
|
:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover, :host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover {
|
|
335
|
-
background: #
|
|
335
|
+
background: #fbe1d1;
|
|
336
336
|
}
|
|
337
337
|
:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open {
|
|
338
|
-
background: #
|
|
338
|
+
background: #fdf7f2;
|
|
339
339
|
border-color: #b2c2cd;
|
|
340
340
|
}
|
|
341
341
|
:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover {
|
|
@@ -18,11 +18,11 @@ export class DuetCheckmark {
|
|
|
18
18
|
inheritGlobalTheme(this);
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'ac5830102d190e3315b4798b50f042d285f600f4', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '35f0f3e407a0835d5d29eff77793ca6d9e5c5744', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: 'f6fe02c597eb1264d6135b30933c371208426ad0', class: {
|
|
22
22
|
"duet-checkmark-container": true,
|
|
23
23
|
center: this.center,
|
|
24
24
|
"duet-checkmark-radio": this.type === "radio",
|
|
25
|
-
} }, this.checked && h("div", { key: '
|
|
25
|
+
} }, this.checked && h("div", { key: '7b23a08c03ac673e9ff0b969793df4f055ac4341', class: "duet-checkmark" })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "duet-checkmark"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -204,19 +204,19 @@ input:focus {
|
|
|
204
204
|
outline: 0;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
|
|
207
|
+
input:checked:focus + .duet-choice-label {
|
|
208
208
|
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3);
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
|
|
211
|
+
input:not(:checked):focus + .duet-choice-label {
|
|
212
212
|
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
|
|
215
|
+
.duet-theme-turva input:checked:focus + .duet-choice-label {
|
|
216
216
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
.duet-theme-turva input:not(:checked):focus + .duet-choice-label {
|
|
220
220
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
221
221
|
}
|
|
222
222
|
|
|
@@ -166,7 +166,6 @@ export class DuetChoice {
|
|
|
166
166
|
disconnectedCallback() {
|
|
167
167
|
disconnectLanguageChangeObserver(this);
|
|
168
168
|
unsubscribeTabbingChange(this);
|
|
169
|
-
this.duetChoiceRemove.emit();
|
|
170
169
|
}
|
|
171
170
|
/**
|
|
172
171
|
* Sets focus on the specified `duet-choice`. Use this method instead of the global
|
|
@@ -1026,26 +1025,6 @@ export class DuetChoice {
|
|
|
1026
1025
|
}
|
|
1027
1026
|
}
|
|
1028
1027
|
}
|
|
1029
|
-
}, {
|
|
1030
|
-
"method": "duetChoiceRemove",
|
|
1031
|
-
"name": "duetChoiceRemove",
|
|
1032
|
-
"bubbles": true,
|
|
1033
|
-
"cancelable": true,
|
|
1034
|
-
"composed": true,
|
|
1035
|
-
"docs": {
|
|
1036
|
-
"tags": [],
|
|
1037
|
-
"text": "Emitted when the component is removed from the DOM."
|
|
1038
|
-
},
|
|
1039
|
-
"complexType": {
|
|
1040
|
-
"original": "CustomEvent",
|
|
1041
|
-
"resolved": "CustomEvent<any>",
|
|
1042
|
-
"references": {
|
|
1043
|
-
"CustomEvent": {
|
|
1044
|
-
"location": "global",
|
|
1045
|
-
"id": "global::CustomEvent"
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
1028
|
}, {
|
|
1050
1029
|
"method": "duetChange",
|
|
1051
1030
|
"name": "duetChange",
|
|
@@ -11,6 +11,16 @@ export class DuetChoiceGroup {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.choiceGroupName = "duet-choice-group";
|
|
13
13
|
this.choices = new Set();
|
|
14
|
+
// Call this.updateChoices when a child choice has been removed - addtions are handled by events
|
|
15
|
+
this.childObserverCallback = (mutationList) => {
|
|
16
|
+
if (mutationList.some(r => {
|
|
17
|
+
var _a;
|
|
18
|
+
return ((_a = r.removedNodes) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
|
|
19
|
+
Array.from(r.removedNodes.values()).some(n => n.nodeName.toLowerCase() === "duet-choice");
|
|
20
|
+
})) {
|
|
21
|
+
this.updateChoices();
|
|
22
|
+
}
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* Component event handling.
|
|
16
26
|
*/
|
|
@@ -23,16 +33,7 @@ export class DuetChoiceGroup {
|
|
|
23
33
|
this.value = selectedChoice.value;
|
|
24
34
|
}
|
|
25
35
|
};
|
|
26
|
-
this.onChoiceReady = (
|
|
27
|
-
const choice = ev.target;
|
|
28
|
-
if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
|
|
29
|
-
this.choices.add(choice);
|
|
30
|
-
this.updateChoices();
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
this.onChoiceRemove = (ev) => {
|
|
34
|
-
const choice = ev.target;
|
|
35
|
-
this.choices.delete(choice);
|
|
36
|
+
this.onChoiceReady = () => {
|
|
36
37
|
this.updateChoices();
|
|
37
38
|
};
|
|
38
39
|
this.direction = "vertical";
|
|
@@ -64,6 +65,8 @@ export class DuetChoiceGroup {
|
|
|
64
65
|
if (Build.isServer) {
|
|
65
66
|
return;
|
|
66
67
|
}
|
|
68
|
+
this.childObserver = new MutationObserver(this.childObserverCallback.bind(this));
|
|
69
|
+
this.childObserver.observe(this.element, { childList: true, subtree: true });
|
|
67
70
|
this.setInitialValue();
|
|
68
71
|
this.updateChoices();
|
|
69
72
|
}
|
|
@@ -71,9 +74,9 @@ export class DuetChoiceGroup {
|
|
|
71
74
|
if (Build.isServer) {
|
|
72
75
|
return;
|
|
73
76
|
}
|
|
74
|
-
if (this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
+
if (this.childObserver) {
|
|
78
|
+
this.childObserver.disconnect();
|
|
79
|
+
this.childObserver = undefined;
|
|
77
80
|
}
|
|
78
81
|
}
|
|
79
82
|
componentWillLoad() {
|
|
@@ -100,6 +103,12 @@ export class DuetChoiceGroup {
|
|
|
100
103
|
var _a;
|
|
101
104
|
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
|
|
102
105
|
let hasChecked = false;
|
|
106
|
+
this.choices.clear();
|
|
107
|
+
this.element.querySelectorAll("duet-choice").forEach((choice) => {
|
|
108
|
+
if (choice.closest("duet-choice-group") === this.element) {
|
|
109
|
+
this.choices.add(choice);
|
|
110
|
+
}
|
|
111
|
+
});
|
|
103
112
|
// Walk the DOM in reverse order, since the last selected one wins
|
|
104
113
|
for (const choice of Array.from(this.choices)) {
|
|
105
114
|
choice.name = this.name;
|
|
@@ -134,7 +143,7 @@ export class DuetChoiceGroup {
|
|
|
134
143
|
if (Build.isServer) {
|
|
135
144
|
return;
|
|
136
145
|
}
|
|
137
|
-
return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady,
|
|
146
|
+
return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
|
|
138
147
|
horizontal: this.direction === "horizontal",
|
|
139
148
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
140
149
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
@@ -45,10 +45,10 @@ export class DuetContactCard {
|
|
|
45
45
|
render() {
|
|
46
46
|
const isTurva = this.theme === "turva";
|
|
47
47
|
const theme = isTurva ? "turva" : "default";
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '031a1cc6617901d47c4ffa723e7e5af73a11b609', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '3eadcbaad47c4fced83d4db168810f79bfa7b786', class: {
|
|
49
49
|
"duet-contact-card": true,
|
|
50
50
|
"duet-theme-turva": this.theme === "turva",
|
|
51
|
-
}, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '
|
|
51
|
+
}, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '54b585ba0d7820ddc0170b050d7b2fc1160fc559' }, this.name && (h("duet-heading", { key: 'b6ff67b0d0a8a8443a2318de87068aa15f080774', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '3586614b97c27b190bd6cf657970e3fd54999733', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'f28904a0807287b25d77dabd04d62e3db9dd9885', class: "email" }, h("duet-icon", { key: 'f51b5fe58a74b65433172d96c921aebd5cd046f0', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '84014fd0fa9c758aa002751e780a876b1acf14cd', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '97814f25bbd4afa0c0449a22b09a72803717aaca', class: "phone" }, h("duet-icon", { key: 'e6775a6b8eadfe789170d5a896a225c5d2736bab', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '61cd5ffd1d0850313af726624b8207cec0f3732f', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'dbe676faf77918b470a549472baa29d249a86ac1', class: "call-to-action" }, h("duet-button", { key: '294a9d190cdeba8cd13efc1d0f68aef675470c4b', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '0319211fcb9e7f11dd5b32a53a1c57436ed79268' }), h("slot", { key: '0ffb08aec4351a29a0cd3ccd25911f3271cb4058' }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "duet-contact-card"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
import i18n from "./date-i18n";
|
|
6
6
|
import { isEqual, printISODate } from "./date-utils";
|
|
7
|
+
const selectedDayLabel = {
|
|
8
|
+
fi: "Valittu päivä",
|
|
9
|
+
en: "Selected day",
|
|
10
|
+
sv: "Vald dag",
|
|
11
|
+
};
|
|
7
12
|
export const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, onKeyboardNavigation, ref, inRange, isSelected, }) => {
|
|
8
13
|
const isToday = isEqual(day, today);
|
|
9
14
|
const isFocused = isEqual(day, focusedDay);
|
|
@@ -13,5 +18,5 @@ export const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, o
|
|
|
13
18
|
function handleClick(e) {
|
|
14
19
|
onDaySelect(e, day);
|
|
15
20
|
}
|
|
16
|
-
return (h("td", { "data-day": printISODate(day), class: "duet-date-table-cell", "aria-label": formatterShort.format(day)
|
|
21
|
+
return (h("td", { "data-day": printISODate(day), class: { "duet-date-table-cell": true, selected: isSelected }, "aria-label": `${formatterShort.format(day)}${isSelected ? `, ${selectedDayLabel[language]}` : undefined}`, role: "button", tabIndex: isFocused ? 0 : -1, onClick: handleClick, onKeyDown: onKeyboardNavigation, "aria-disabled": isOutsideRange || isDisabled, ref: ref }, h("span", { class: { "duet-date-table-button": true, outside: isOutsideRange, disabled: isDisabled, today: isToday } }, day.getDate())));
|
|
17
22
|
};
|
|
@@ -18,7 +18,12 @@ function createDate(year, month, day) {
|
|
|
18
18
|
dayInt <= 31 &&
|
|
19
19
|
yearInt > 0;
|
|
20
20
|
if (isValid) {
|
|
21
|
-
|
|
21
|
+
const date = new Date(yearInt, monthInt - 1, dayInt);
|
|
22
|
+
// Reject dates where JS overflowed to a different month/day (e.g. Feb 31 → Mar 3)
|
|
23
|
+
if (date.getDate() !== dayInt || date.getMonth() !== monthInt - 1) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
return date;
|
|
22
27
|
}
|
|
23
28
|
}
|
|
24
29
|
/**
|
|
@@ -303,12 +303,12 @@
|
|
|
303
303
|
background: rgb(255, 241, 241) !important;
|
|
304
304
|
box-shadow: 0 0 0 1px #171c3a !important;
|
|
305
305
|
}
|
|
306
|
-
|
|
306
|
+
.selected .duet-date-table-button, :focus .duet-date-table-button {
|
|
307
307
|
color: rgb(255, 255, 255) !important;
|
|
308
308
|
background: rgb(0, 119, 179) !important;
|
|
309
309
|
outline: 0;
|
|
310
310
|
}
|
|
311
|
-
.duet-theme-turva
|
|
311
|
+
.duet-theme-turva .selected .duet-date-table-button, .duet-theme-turva :focus .duet-date-table-button {
|
|
312
312
|
color: rgb(255, 255, 255) !important;
|
|
313
313
|
background: rgb(198, 12, 48) !important;
|
|
314
314
|
}
|
|
@@ -49,20 +49,20 @@ export class DuetFieldset {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '083178e4b5c3ef208a7d20c1e29ccd67ae436a1e', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '371ad27e2db160c7f6c4711a80ad237d8aa59b46', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
53
53
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
54
54
|
// once they do, we can remove errors from the aria-describedby
|
|
55
55
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
56
56
|
class: {
|
|
57
57
|
"duet-fieldset": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
|
-
} }, h("legend", { key: '
|
|
59
|
+
} }, h("legend", { key: '6de5ea55ae42baf9675b44f521736892ea4b8e35', id: this.labelId }, h(this.labelHeadingLevel, { key: '664e33dc98e540a2643f8cc3098e6f9a7d565090' }, this.label), this.caption && h("span", { key: '53689d2f323c13e68fc48e8fc4a641dd210c6761' }, this.caption)), h("div", { key: '3a03e91ea4d9603fc9f91f1edba19cb07f63b36f', class: {
|
|
60
60
|
"duet-legend-wrapper": true,
|
|
61
61
|
"duet-legend-has-caption": !!this.caption,
|
|
62
62
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
63
63
|
"duet-legend-hidden": this.labelHidden,
|
|
64
64
|
"duet-legend-compact": this.compactLabel,
|
|
65
|
-
} }, h("div", { key: '
|
|
65
|
+
} }, h("div", { key: 'daa5af05aa9b131aa9cc56f1b6268cb4ea05d847', class: "duet-fieldset-label" }, h("span", { key: '87309ad8a81cae6cf99e7a2782c493f0de4fd73c', "aria-hidden": "true" }, this.label), h("slot", { key: 'f94b32bb98a136b08901468961f2df0018907e76', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '8d1d958991d27bada3452873155619968813aef4', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'eb614cbb4ce3ce64f5e42cb31dfd106002ec5d2d', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '8385bd2d465d37b3c01eade80dd800b6e0ff880c' }), h("span", { key: 'b22a8dca8b5bccde89451e2153c25d4006826057', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '9673648ce6bfd6d71f16870e62f4551f00a087df', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "duet-fieldset"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,10 +23,11 @@ export class DuetGrid {
|
|
|
23
23
|
* @returns {number}
|
|
24
24
|
*/
|
|
25
25
|
outerHeight(element) {
|
|
26
|
-
const height = element.offsetHeight
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
const height = element.offsetHeight;
|
|
27
|
+
const style = window.getComputedStyle(element);
|
|
28
|
+
const topMargin = parseInt(style.marginTop);
|
|
29
|
+
const bottomMargin = parseInt(style.marginBottom);
|
|
30
|
+
return topMargin + height + bottomMargin;
|
|
30
31
|
}
|
|
31
32
|
debounceWindowResizeHandler() {
|
|
32
33
|
debounce(this.updateGridItemsWithInputFields, 100);
|