@duetds/components 9.13.0 → 9.15.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 +460 -251
- package/lib/cjs/{a11y-utils-7f0f44ac.js → a11y-utils-741fad59.js} +1 -1
- package/lib/cjs/{app-globals-7f261ff1.js → app-globals-c5cb9046.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 +4 -4
- 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 +7 -7
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +13 -13
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +15 -14
- 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 +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +28 -21
- 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 +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- 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 +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -6
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +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 +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +40 -21
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +11 -7
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-panel.cjs.entry.js +47 -0
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- 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 +6 -6
- 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 +24 -21
- 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 +9 -7
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- 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 +9 -9
- 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-cde5cb76.js → errorcodes.utils-699bddbb.js} +1 -1
- package/lib/cjs/{focus-utils-3b3e2586.js → focus-utils-4a07d896.js} +1 -1
- package/lib/cjs/{index-4babbdda.js → index-80fa07e3.js} +5 -1
- package/lib/cjs/{language-utils-83791d57.js → language-utils-ce60d2a9.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-c565d8b9.js → slot-utils-9c5efe2a.js} +1 -1
- package/lib/cjs/{themeable-component-a007f8ee.js → themeable-component-1307284b.js} +1 -1
- package/lib/cjs/{token-utils-6258d3f7.js → token-utils-658c4c54.js} +103 -7
- 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 +1 -0
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- 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-button/duet-button.css +14 -5
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +31 -4
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- 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-header/duet-header.js +3 -2
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-hero/duet-hero.css +95 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-label/duet-label.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +5 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- 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 +98 -15
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-panel/duet-panel.css +98 -0
- package/lib/collection/components/duet-panel/duet-panel.js +225 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- 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 +3 -3
- 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.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.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-group/duet-tab-group.js +14 -11
- 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.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/collection/utils/token-utils.js +59 -7
- package/lib/collection/utils/turva2-color-tokens.js +42 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +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 +5 -7
- 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 +12 -11
- 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-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +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 +2 -2
- package/lib/dist-custom-elements/duet-modal.js +45 -24
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +18 -14
- 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 +14 -14
- package/lib/dist-custom-elements/duet-panel.d.ts +11 -0
- package/lib/dist-custom-elements/duet-panel.js +70 -0
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +16 -16
- 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 +6 -6
- 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 +7 -5
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
- 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 +21 -18
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- 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 +6 -6
- 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-135f668d.js → p-0a932f51.js} +1 -1
- package/lib/dist-custom-elements/{p-f80dea81.js → p-15d1bb49.js} +4 -4
- package/lib/dist-custom-elements/{p-8c472242.js → p-1901a05e.js} +1 -1
- package/lib/dist-custom-elements/{p-e8dc8877.js → p-1b1d5047.js} +4 -4
- package/lib/dist-custom-elements/{p-cdf4b7f6.js → p-1b591fcd.js} +4 -4
- package/lib/dist-custom-elements/{p-47d05b62.js → p-1f2176b1.js} +1 -1
- package/lib/dist-custom-elements/{p-2582f9a3.js → p-2e95d393.js} +3 -3
- package/lib/dist-custom-elements/{p-ad927290.js → p-2fa067ff.js} +3 -3
- package/lib/dist-custom-elements/{p-63a0bdcd.js → p-307aa29d.js} +1 -1
- package/lib/dist-custom-elements/{p-4e53b45e.js → p-31316d91.js} +2 -2
- package/lib/dist-custom-elements/{p-70b67cdd.js → p-35af6d7a.js} +4 -4
- package/lib/dist-custom-elements/{p-d60c7d74.js → p-3b352cea.js} +1 -1
- package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
- package/lib/dist-custom-elements/{p-55c477f3.js → p-49fcb05d.js} +2 -2
- package/lib/dist-custom-elements/{p-e3280064.js → p-4b8be370.js} +12 -12
- package/lib/dist-custom-elements/{p-3c558254.js → p-4c68ba95.js} +12 -12
- package/lib/dist-custom-elements/{p-2e148296.js → p-5d684af3.js} +23 -35
- package/lib/dist-custom-elements/{p-de35873c.js → p-5ee14292.js} +1 -1
- package/lib/dist-custom-elements/{p-653d2256.js → p-6098c129.js} +10 -10
- package/lib/dist-custom-elements/{p-80bbbb3a.js → p-62a4796f.js} +5 -5
- package/lib/dist-custom-elements/{p-67e54308.js → p-66c6751e.js} +12 -12
- package/lib/dist-custom-elements/{p-be9b9c9d.js → p-6b02ba40.js} +5 -5
- package/lib/dist-custom-elements/{p-c7002b0e.js → p-8a6a51b2.js} +1 -1
- package/lib/dist-custom-elements/{p-276a59a3.js → p-8d68da95.js} +4 -4
- package/lib/dist-custom-elements/{p-13082a20.js → p-8debf5b8.js} +2 -2
- package/lib/dist-custom-elements/{p-b660d362.js → p-92467a66.js} +11 -11
- package/lib/dist-custom-elements/{p-7fd99694.js → p-9654a846.js} +7 -7
- package/lib/dist-custom-elements/{p-06beac61.js → p-9a9b2708.js} +2 -2
- package/lib/dist-custom-elements/{p-f7d93067.js → p-9dc1ec50.js} +5 -5
- package/lib/dist-custom-elements/{p-0c829768.js → p-9efbcc67.js} +1 -1
- package/lib/dist-custom-elements/{p-ca899a3c.js → p-a1876945.js} +9 -8
- package/lib/dist-custom-elements/{p-1271d1b9.js → p-a20321ec.js} +3 -3
- package/lib/{esm/common-strings-a48b3fba.js → dist-custom-elements/p-b7a93f1c.js} +23 -1
- package/lib/dist-custom-elements/{p-46749593.js → p-d17f51c7.js} +3 -3
- package/lib/dist-custom-elements/{p-911326a0.js → p-d3345442.js} +2 -2
- package/lib/dist-custom-elements/{p-aa4ebea4.js → p-dd16af35.js} +5 -5
- package/lib/dist-custom-elements/{p-a000e044.js → p-e371f35d.js} +2 -2
- package/lib/dist-custom-elements/{p-c1e381e3.js → p-e54a1871.js} +21 -4
- package/lib/dist-custom-elements/{p-1027ea53.js → p-ea21cb5d.js} +5 -5
- package/lib/dist-custom-elements/{p-12884dcf.js → p-f214be38.js} +4 -4
- package/lib/dist-custom-elements/{p-2dcb2900.js → p-f5b135c5.js} +9 -9
- package/lib/dist-custom-elements/{p-16151d9e.js → p-ff94cac9.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-0018881b.entry.js +4 -0
- package/lib/duet/{p-0aaac3fd.system.entry.js → p-007eb67f.system.entry.js} +1 -1
- package/lib/duet/{p-d1c7c87b.entry.js → p-039cbd8d.entry.js} +1 -1
- package/lib/duet/{p-cc22486b.system.entry.js → p-05f7f78d.system.entry.js} +1 -1
- package/lib/duet/{p-01965153.entry.js → p-08f39b32.entry.js} +1 -1
- package/lib/duet/{p-d5a2f426.entry.js → p-0ad0afe1.entry.js} +1 -1
- package/lib/duet/{p-4421763f.entry.js → p-0bbfb836.entry.js} +1 -1
- package/lib/duet/{p-bc44defc.system.entry.js → p-0beb2a3f.system.entry.js} +1 -1
- package/lib/duet/{p-9e4e3a7d.entry.js → p-0d9f34ae.entry.js} +1 -1
- package/lib/duet/{p-d5ad1dca.system.entry.js → p-0dcf3c74.system.entry.js} +1 -1
- package/lib/duet/{p-7d050716.system.entry.js → p-0e442247.system.entry.js} +1 -1
- package/lib/duet/{p-dd011cf1.system.entry.js → p-0ff4932b.system.entry.js} +2 -2
- package/lib/duet/{p-62ba7ee2.entry.js → p-1192e8c9.entry.js} +1 -1
- package/lib/duet/{p-b6578600.system.entry.js → p-137beb16.system.entry.js} +1 -1
- package/lib/duet/p-14ffb5c1.system.entry.js +4 -0
- package/lib/duet/{p-4509c90e.entry.js → p-15694ea7.entry.js} +1 -1
- package/lib/duet/{p-3c438fec.entry.js → p-17a1f7cd.entry.js} +1 -1
- package/lib/duet/{p-8c1442ff.entry.js → p-18b56724.entry.js} +1 -1
- package/lib/duet/{p-7789db31.system.entry.js → p-18c66326.system.entry.js} +1 -1
- package/lib/duet/p-1a46c899.system.entry.js +4 -0
- package/lib/duet/{p-8a02bd75.system.entry.js → p-1b393d78.system.entry.js} +1 -1
- package/lib/duet/{p-b5eb657a.system.js → p-1cc2eb98.system.js} +1 -1
- package/lib/duet/{p-c23c9c77.entry.js → p-1daaef7a.entry.js} +1 -1
- package/lib/duet/{p-e5716306.entry.js → p-1dc4442a.entry.js} +1 -1
- package/lib/duet/p-1dd1cd21.entry.js +4 -0
- package/lib/duet/{p-d0b648c5.system.entry.js → p-200f57b6.system.entry.js} +1 -1
- package/lib/duet/{p-b9af2990.system.entry.js → p-2179e714.system.entry.js} +2 -2
- package/lib/duet/{p-0dd78a56.system.entry.js → p-22ab0759.system.entry.js} +1 -1
- package/lib/duet/{p-3aecf400.system.entry.js → p-24749596.system.entry.js} +1 -1
- package/lib/duet/p-24954951.js +4 -0
- package/lib/duet/{p-077813ae.entry.js → p-2500e9bc.entry.js} +1 -1
- package/lib/duet/{p-e9e59d73.entry.js → p-26b49f30.entry.js} +1 -1
- package/lib/duet/{p-0a405da0.system.entry.js → p-2bc08ca1.system.entry.js} +1 -1
- package/lib/duet/{p-7686eb1f.entry.js → p-2dc5c7c5.entry.js} +1 -1
- package/lib/duet/{p-43c4d670.entry.js → p-2dddb575.entry.js} +1 -1
- package/lib/duet/{p-1425b59f.entry.js → p-3455bcd6.entry.js} +1 -1
- package/lib/duet/{p-ad43bd23.system.entry.js → p-367a3dd8.system.entry.js} +1 -1
- package/lib/duet/{p-7adab44d.system.entry.js → p-38f30c2b.system.entry.js} +1 -1
- package/lib/duet/{p-5c48b80a.system.entry.js → p-3b816caf.system.entry.js} +1 -1
- package/lib/duet/{p-97393e12.system.entry.js → p-3f3571ae.system.entry.js} +1 -1
- package/lib/duet/{p-ab7e07be.system.entry.js → p-3f8dd0b3.system.entry.js} +1 -1
- package/lib/duet/{p-808d9dc7.system.entry.js → p-431b0896.system.entry.js} +2 -2
- package/lib/duet/{p-f78b9d60.system.js → p-43d6b171.system.js} +1 -1
- package/lib/duet/{p-e4bda446.system.entry.js → p-451fe5ef.system.entry.js} +1 -1
- package/lib/duet/p-460c0029.system.entry.js +4 -0
- package/lib/duet/{p-25bfda5f.system.entry.js → p-47fd41c6.system.entry.js} +1 -1
- package/lib/duet/{p-22ae0db4.entry.js → p-48452fe6.entry.js} +1 -1
- package/lib/duet/{p-7761f427.system.entry.js → p-484c1cc2.system.entry.js} +1 -1
- package/lib/duet/{p-f482b5af.system.entry.js → p-4a7a6dcb.system.entry.js} +1 -1
- package/lib/duet/p-4ac878dd.system.entry.js +4 -0
- package/lib/duet/p-50cb674e.js +4 -0
- package/lib/duet/p-510aee05.entry.js +4 -0
- package/lib/duet/{p-a51a1f94.system.entry.js → p-531d399b.system.entry.js} +1 -1
- package/lib/duet/{p-33ee2b28.entry.js → p-544a2e7d.entry.js} +1 -1
- package/lib/duet/{p-7194f790.entry.js → p-552be4d4.entry.js} +1 -1
- package/lib/duet/{p-a04ebea2.system.entry.js → p-55eab330.system.entry.js} +1 -1
- package/lib/duet/{p-98feb289.system.entry.js → p-56c024f4.system.entry.js} +1 -1
- package/lib/duet/{p-5a1dbce7.system.entry.js → p-57b716e6.system.entry.js} +1 -1
- package/lib/duet/p-583b4f49.js +4 -0
- package/lib/duet/{p-17ed0be9.system.entry.js → p-58b34a23.system.entry.js} +1 -1
- package/lib/duet/{p-8bed4283.system.entry.js → p-58d2375e.system.entry.js} +1 -1
- package/lib/duet/p-58f4c4ef.system.entry.js +4 -0
- package/lib/duet/p-59777da7.system.js +4 -0
- package/lib/duet/{p-2fe6628e.system.entry.js → p-5afe6d8e.system.entry.js} +1 -1
- package/lib/duet/{p-f740cd96.entry.js → p-5b0337d8.entry.js} +1 -1
- package/lib/duet/p-5b0f2f3d.entry.js +4 -0
- package/lib/duet/{p-cf5551f7.entry.js → p-5bcce1c4.entry.js} +1 -1
- package/lib/duet/{p-080a85af.system.entry.js → p-5cb10012.system.entry.js} +2 -2
- package/lib/duet/{p-e124ed8c.system.entry.js → p-5d987b8d.system.entry.js} +2 -2
- package/lib/duet/{p-14f51a29.entry.js → p-5e1045dc.entry.js} +1 -1
- package/lib/duet/p-5e658b40.js +4 -0
- package/lib/duet/{p-8c66abfb.system.entry.js → p-6015aa05.system.entry.js} +1 -1
- package/lib/duet/{p-8da3b624.entry.js → p-601e275c.entry.js} +1 -1
- package/lib/duet/p-60636c0f.js +4 -0
- package/lib/duet/{p-45cb4d7f.system.entry.js → p-6106103e.system.entry.js} +1 -1
- package/lib/duet/{p-f7a30994.system.entry.js → p-612fe73a.system.entry.js} +1 -1
- package/lib/duet/p-61b2c1c9.entry.js +4 -0
- package/lib/duet/{p-c4eb60a1.system.entry.js → p-61bb70ea.system.entry.js} +2 -2
- package/lib/duet/{p-9f1e07cc.entry.js → p-6314d434.entry.js} +1 -1
- package/lib/duet/p-63d23d82.entry.js +4 -0
- package/lib/duet/{p-570a2d5c.entry.js → p-66dd8b2f.entry.js} +1 -1
- package/lib/duet/{p-73666dbd.entry.js → p-6703c635.entry.js} +1 -1
- package/lib/duet/{p-d63c92fc.system.js → p-694e5a97.system.js} +1 -1
- package/lib/duet/{p-442cac9c.entry.js → p-69b7e6dc.entry.js} +1 -1
- package/lib/duet/{p-8e5de54a.entry.js → p-6b97b58c.entry.js} +1 -1
- package/lib/duet/{p-79562f98.entry.js → p-6cdc13f4.entry.js} +1 -1
- package/lib/duet/{p-41a3f8ed.entry.js → p-6ceeb4c1.entry.js} +1 -1
- package/lib/duet/{p-1830fafe.entry.js → p-6ec3fa80.entry.js} +1 -1
- package/lib/duet/{p-618a0f3a.entry.js → p-6eed12c2.entry.js} +1 -1
- package/lib/duet/p-6fb7afac.system.entry.js +4 -0
- package/lib/duet/{p-3c29e0ba.entry.js → p-71507957.entry.js} +1 -1
- package/lib/duet/p-729bb657.entry.js +4 -0
- package/lib/duet/p-72baa999.entry.js +4 -0
- package/lib/duet/{p-bb71c581.entry.js → p-72e617b1.entry.js} +1 -1
- package/lib/duet/{p-0990faec.system.entry.js → p-72f4c54a.system.entry.js} +1 -1
- package/lib/duet/{p-89a1d75a.js → p-75a66b82.js} +1 -1
- package/lib/duet/p-75eda30d.entry.js +4 -0
- package/lib/duet/p-78df5993.entry.js +4 -0
- package/lib/duet/p-7c597c01.entry.js +4 -0
- package/lib/duet/{p-519fef05.system.js → p-7d4fb1da.system.js} +1 -1
- package/lib/duet/{p-d977fe38.system.entry.js → p-7f50e5e3.system.entry.js} +1 -1
- package/lib/duet/{p-80c89ac1.entry.js → p-7f5b3bb1.entry.js} +1 -1
- package/lib/duet/{p-1be0f96f.system.entry.js → p-80121038.system.entry.js} +2 -2
- package/lib/duet/{p-3372296f.entry.js → p-8173aad1.entry.js} +1 -1
- package/lib/duet/{p-e8059b67.system.entry.js → p-81dbbba7.system.entry.js} +1 -1
- package/lib/duet/{p-ecb06d44.entry.js → p-8303c23a.entry.js} +1 -1
- package/lib/duet/{p-24cc3a49.entry.js → p-8497c4a3.entry.js} +1 -1
- package/lib/duet/p-87633fff.system.js +4 -0
- package/lib/duet/p-8911207e.entry.js +4 -0
- package/lib/duet/p-894105da.entry.js +4 -0
- package/lib/duet/{p-af3397e6.entry.js → p-8a7cfab8.entry.js} +1 -1
- package/lib/duet/{p-f01d0296.system.entry.js → p-8c80b769.system.entry.js} +1 -1
- package/lib/duet/{p-85696a8e.entry.js → p-8ef88917.entry.js} +1 -1
- package/lib/duet/{p-e2e84fa3.system.entry.js → p-8fa3a4db.system.entry.js} +1 -1
- package/lib/duet/{p-c6c01a4f.system.entry.js → p-930ea887.system.entry.js} +1 -1
- package/lib/duet/{p-38baa305.entry.js → p-95137492.entry.js} +1 -1
- package/lib/duet/{p-3b760329.entry.js → p-969327bd.entry.js} +1 -1
- package/lib/duet/p-9715fa3d.entry.js +4 -0
- package/lib/duet/p-9bff6ed8.entry.js +4 -0
- package/lib/duet/{p-9c201da2.entry.js → p-9e93e46d.entry.js} +1 -1
- package/lib/duet/{p-20baa68b.entry.js → p-9f6fe3bd.entry.js} +1 -1
- package/lib/duet/{p-5026ba81.system.entry.js → p-9fe084e8.system.entry.js} +1 -1
- package/lib/duet/p-a12e5499.entry.js +4 -0
- package/lib/duet/{p-964cab98.entry.js → p-a20eeb3a.entry.js} +1 -1
- package/lib/duet/{p-4dd14bc1.system.entry.js → p-a3c50037.system.entry.js} +1 -1
- package/lib/duet/p-a48a6cf9.system.entry.js +4 -0
- package/lib/duet/{p-bffda5ab.entry.js → p-a4f3a6d6.entry.js} +1 -1
- package/lib/duet/{p-8c2abe91.js → p-a68a90f3.js} +1 -1
- package/lib/duet/{p-61198184.system.entry.js → p-aa224793.system.entry.js} +1 -1
- package/lib/duet/{p-024c34d9.system.entry.js → p-aca600ee.system.entry.js} +1 -1
- package/lib/duet/{p-0a72cb14.system.entry.js → p-acac731e.system.entry.js} +1 -1
- package/lib/duet/{p-9faf2ac2.system.entry.js → p-ae3c38ec.system.entry.js} +1 -1
- package/lib/duet/{p-33a9413f.system.entry.js → p-aee53cdc.system.entry.js} +1 -1
- package/lib/duet/{p-a03fcf76.system.js → p-b197d195.system.js} +1 -1
- package/lib/duet/{p-13dce266.entry.js → p-b21962b0.entry.js} +1 -1
- package/lib/duet/{p-c6e60d08.system.entry.js → p-b230c327.system.entry.js} +1 -1
- package/lib/duet/{p-844d9170.entry.js → p-b275f92a.entry.js} +1 -1
- package/lib/duet/{p-71a70553.system.entry.js → p-b57e1a16.system.entry.js} +1 -1
- package/lib/duet/{p-9004d8ff.entry.js → p-b70e378a.entry.js} +1 -1
- package/lib/duet/p-b7f0f071.entry.js +4 -0
- package/lib/duet/p-bb3cd264.system.entry.js +4 -0
- package/lib/duet/{p-17029aad.entry.js → p-c1652045.entry.js} +1 -1
- package/lib/duet/{p-e762de37.entry.js → p-c16d08b2.entry.js} +1 -1
- package/lib/duet/{p-9eed5f82.js → p-c4a1cfd6.js} +1 -1
- package/lib/duet/{p-d610918e.system.entry.js → p-c57ed342.system.entry.js} +1 -1
- package/lib/duet/{p-1ca12248.entry.js → p-c6b0afdd.entry.js} +1 -1
- package/lib/duet/{p-e538f43c.system.entry.js → p-c7302b85.system.entry.js} +1 -1
- package/lib/duet/{p-5122eee8.system.js → p-c9798a8d.system.js} +1 -1
- package/lib/duet/{p-9608ad22.system.js → p-cddad487.system.js} +1 -1
- package/lib/duet/p-cdfca639.system.entry.js +4 -0
- package/lib/duet/{p-ece11bcb.entry.js → p-ce447833.entry.js} +1 -1
- package/lib/duet/{p-c59fbbb1.system.entry.js → p-d08d078b.system.entry.js} +1 -1
- package/lib/duet/{p-5c01b990.entry.js → p-d1814664.entry.js} +1 -1
- package/lib/duet/{p-aadd382f.system.entry.js → p-d28853ae.system.entry.js} +1 -1
- package/lib/duet/p-d3b64256.entry.js +4 -0
- package/lib/duet/{p-b5191612.system.entry.js → p-d3f723cf.system.entry.js} +1 -1
- package/lib/duet/{p-18e13eb6.system.entry.js → p-d42f9e4f.system.entry.js} +1 -1
- package/lib/duet/{p-662c351a.system.js → p-d4630d55.system.js} +1 -1
- package/lib/duet/{p-0e4fe522.system.entry.js → p-d4859ceb.system.entry.js} +1 -1
- package/lib/duet/{p-b094d253.entry.js → p-d5f395c0.entry.js} +1 -1
- package/lib/duet/p-d67c45eb.entry.js +4 -0
- package/lib/duet/{p-526bce13.system.entry.js → p-d71b8774.system.entry.js} +1 -1
- package/lib/duet/{p-05fc82b0.entry.js → p-d9a2772b.entry.js} +1 -1
- package/lib/duet/{p-e5f1e38a.js → p-d9cafc77.js} +1 -1
- package/lib/duet/{p-71a2b27b.system.entry.js → p-db82eb02.system.entry.js} +2 -2
- package/lib/duet/{p-328f8f18.entry.js → p-dc812f17.entry.js} +1 -1
- package/lib/duet/{p-8b350472.system.entry.js → p-de0a91b3.system.entry.js} +1 -1
- package/lib/duet/{p-333f7ae7.entry.js → p-e007c11a.entry.js} +1 -1
- package/lib/duet/p-e24ab988.system.entry.js +4 -0
- package/lib/duet/{p-5aeec4ac.system.entry.js → p-e2949e43.system.entry.js} +1 -1
- package/lib/duet/p-e34ddfda.system.entry.js +4 -0
- package/lib/duet/{p-590505a4.system.entry.js → p-e3a21063.system.entry.js} +1 -1
- package/lib/duet/p-e63f5ff5.js +4 -0
- package/lib/duet/p-e6cd1ffb.system.js +4 -0
- package/lib/duet/{p-04e49b2e.system.entry.js → p-eb157d71.system.entry.js} +1 -1
- package/lib/duet/{p-02aca5ee.system.entry.js → p-f052ccf2.system.entry.js} +1 -1
- package/lib/duet/{p-7d10302e.entry.js → p-f0dce24e.entry.js} +1 -1
- package/lib/duet/{p-7930882f.entry.js → p-f1a06e83.entry.js} +1 -1
- package/lib/duet/{p-60ef6c46.system.entry.js → p-f38175f1.system.entry.js} +1 -1
- package/lib/duet/{p-03e76030.system.entry.js → p-f3a26af1.system.entry.js} +1 -1
- package/lib/duet/p-f69dc290.entry.js +4 -0
- package/lib/duet/{p-b3f5912a.system.entry.js → p-f756e03d.system.entry.js} +1 -1
- package/lib/duet/{p-85167dd4.entry.js → p-f80ef600.entry.js} +1 -1
- package/lib/duet/{p-c45ddc7a.system.entry.js → p-f83e4a46.system.entry.js} +1 -1
- package/lib/duet/{p-4ead37f9.entry.js → p-f9536c83.entry.js} +1 -1
- package/lib/duet/{p-a8e26d38.entry.js → p-fa2d27c3.entry.js} +1 -1
- package/lib/duet/{p-68d50809.system.entry.js → p-fcb5179d.system.entry.js} +1 -1
- package/lib/duet/{p-22f40c48.system.entry.js → p-fe7ba159.system.entry.js} +1 -1
- package/lib/duet/{p-88dda3dd.entry.js → p-ff139142.entry.js} +1 -1
- package/lib/duet/{p-35d651a8.system.entry.js → p-ffe9f317.system.entry.js} +1 -1
- package/lib/duet/p-fff88e02.entry.js +4 -0
- package/lib/esm/{a11y-utils-d44f1172.js → a11y-utils-fb6d24ef.js} +1 -1
- package/lib/esm/{app-globals-5ec0d260.js → app-globals-595167e1.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 +4 -4
- 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 +7 -7
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +13 -13
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +15 -14
- 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 +3 -3
- package/lib/esm/duet-choice_2.entry.js +28 -21
- 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 +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +9 -9
- 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 +2 -2
- package/lib/esm/duet-header_2.entry.js +7 -6
- package/lib/esm/duet-hero.entry.js +6 -6
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +6 -6
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +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 +3 -3
- package/lib/esm/duet-modal.entry.js +40 -21
- package/lib/esm/duet-multiselect.entry.js +4 -4
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +11 -7
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +6 -6
- package/lib/esm/duet-panel.entry.js +43 -0
- package/lib/esm/duet-phone-input.entry.js +4 -4
- 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 +6 -6
- 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 +24 -21
- 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 +9 -7
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- 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 +9 -9
- 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-4ce3105d.js → errorcodes.utils-7effaab9.js} +1 -1
- package/lib/esm/{focus-utils-0d727936.js → focus-utils-2ff60ebe.js} +1 -1
- package/lib/esm/{index-5757a151.js → index-4cc3ec50.js} +5 -1
- package/lib/esm/{language-utils-1aea3619.js → language-utils-aa864aed.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-03502471.js → slot-utils-28b6b964.js} +1 -1
- package/lib/esm/{themeable-component-e507940b.js → themeable-component-35ed7853.js} +1 -1
- package/lib/esm/{token-utils-7360bb84.js → token-utils-06ae5c10.js} +103 -8
- package/lib/esm-es5/{a11y-utils-d44f1172.js → a11y-utils-fb6d24ef.js} +1 -1
- package/lib/esm-es5/{app-globals-5ec0d260.js → app-globals-595167e1.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 +2 -2
- 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-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 +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +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 +2 -2
- 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 +4 -0
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-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 +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-4ce3105d.js → errorcodes.utils-7effaab9.js} +1 -1
- package/lib/esm-es5/focus-utils-2ff60ebe.js +4 -0
- package/lib/esm-es5/index-4cc3ec50.js +4 -0
- package/lib/esm-es5/{language-utils-1aea3619.js → language-utils-aa864aed.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-03502471.js → slot-utils-28b6b964.js} +1 -1
- package/lib/esm-es5/{themeable-component-e507940b.js → themeable-component-35ed7853.js} +1 -1
- package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
- 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-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-modal/duet-modal.d.ts +17 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
- package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
- package/lib/types/components.d.ts +113 -11
- package/lib/types/utils/token-utils.d.ts +4 -0
- package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
- package/package.json +4 -4
- package/lib/duet/p-0e1d879e.system.js +0 -4
- package/lib/duet/p-1390ae19.entry.js +0 -4
- package/lib/duet/p-144182a4.entry.js +0 -4
- package/lib/duet/p-1657ff9a.entry.js +0 -4
- package/lib/duet/p-1b355115.entry.js +0 -4
- package/lib/duet/p-1fe5a7e9.js +0 -4
- package/lib/duet/p-20669a1b.system.entry.js +0 -4
- package/lib/duet/p-2519a1b2.entry.js +0 -4
- package/lib/duet/p-2d6cd3b0.system.entry.js +0 -4
- package/lib/duet/p-3c2cf893.system.entry.js +0 -4
- package/lib/duet/p-3cbeb209.system.entry.js +0 -4
- package/lib/duet/p-3cd37502.entry.js +0 -4
- package/lib/duet/p-3ea64651.entry.js +0 -4
- package/lib/duet/p-40edc180.system.entry.js +0 -4
- package/lib/duet/p-435ed67f.entry.js +0 -4
- package/lib/duet/p-473febb8.entry.js +0 -4
- package/lib/duet/p-4cae058e.entry.js +0 -4
- package/lib/duet/p-5de30279.js +0 -4
- package/lib/duet/p-63a67247.js +0 -4
- package/lib/duet/p-76332920.system.js +0 -4
- package/lib/duet/p-78033ea5.js +0 -4
- package/lib/duet/p-836bee60.system.entry.js +0 -4
- package/lib/duet/p-8522541f.entry.js +0 -4
- package/lib/duet/p-8975b5ee.entry.js +0 -4
- package/lib/duet/p-9508ee67.system.js +0 -4
- package/lib/duet/p-9615338f.system.entry.js +0 -4
- package/lib/duet/p-a41a83dc.system.entry.js +0 -4
- package/lib/duet/p-b036d747.entry.js +0 -4
- package/lib/duet/p-b16705db.js +0 -4
- package/lib/duet/p-b5cb52b3.entry.js +0 -4
- package/lib/duet/p-baf03e8b.entry.js +0 -4
- package/lib/duet/p-bfa13cf6.entry.js +0 -4
- package/lib/duet/p-c658fdf2.system.entry.js +0 -4
- package/lib/duet/p-cc531319.js +0 -4
- package/lib/duet/p-d4e9333f.entry.js +0 -4
- package/lib/duet/p-d87768a3.entry.js +0 -4
- package/lib/duet/p-ecf25e2f.system.entry.js +0 -4
- package/lib/duet/p-f38adc18.entry.js +0 -4
- package/lib/duet/p-f6ada3f6.entry.js +0 -4
- package/lib/esm-es5/focus-utils-0d727936.js +0 -4
- package/lib/esm-es5/index-5757a151.js +0 -4
- package/lib/esm-es5/token-utils-7360bb84.js +0 -4
|
@@ -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: 'b8619c958091052111b38b30a4b2d21aba5aa128', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '2abbbe4d836d366658e307ae8959e38fbba7f809', "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: '971a82ae56dc2d3b312222d7690903a1561b573b', id: this.labelId }, h(this.labelHeadingLevel, { key: '01a0d519b11e5255c9dceb12ed346ee2a69a5988' }, this.label), this.caption && h("span", { key: 'bcd38310da2d41495e5a0a9f14397277f9c19518' }, this.caption)), h("div", { key: '917f12cc08216b73edb5d390d2adb4dc60e67c83', 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: 'bb9869ccdd739a3e16319bfc92153073dd2b924a', class: "duet-fieldset-label" }, h("span", { key: '700fd555d3c6725de4a81d5a8be5eea99d571c31', "aria-hidden": "true" }, this.label), h("slot", { key: 'fa5a11572a5a47c5f50358c0382913c347557fd7', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '1d693a77fbac816f444ac82b84cadf53d13f99b5', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: '9982e1b3a570edb5a2505edca6ef1a6ca074c226', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'e4ea0a8b3b0089a3a2aba2576b218f4f28f6ddc1' }), h("span", { key: '610ca7a9f4159cf2e5b39618deec8c6d3ce18f5e', 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: '67546da26bbd68b8b47d70c4dd5da77a4d144b2b', 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"; }
|
|
@@ -15,6 +15,7 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
15
15
|
import { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isEscapeKey, isSpaceKey, subscribeTabbingChange, unsubscribeTabbingChange, } from "../../utils/keyboard-utils";
|
|
16
16
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
17
17
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
18
|
+
import { postfixTheme } from "../../utils/token-utils";
|
|
18
19
|
import { DuetHeaderDropdown } from "./duet-header-dropdown";
|
|
19
20
|
import { DuetHeaderHamburger } from "./duet-header-hamburger";
|
|
20
21
|
import { DuetHeaderIcon } from "./duet-header-icon";
|
|
@@ -429,7 +430,7 @@ export class DuetHeader {
|
|
|
429
430
|
const skipToLabel = () => this.skipToId ? (h("a", { href: this.skipToId, class: "duet-header-skip", onClick: this.handleSkipClick }, skipLabel)) : null;
|
|
430
431
|
const logo = () => (h("duet-logo", { href: this.logoHref, size: "medium", ref: el => (this.logoEl = el), language: this.language, theme: this.theme, onClick: this.handleLogoClick }));
|
|
431
432
|
const largeLogo = () => (h("duet-logo", { href: this.logoHref, size: "large", ref: el => (this.logoEl = el), language: this.language, theme: this.theme, onClick: this.handleLogoClick }));
|
|
432
|
-
const contactDropdown = () => this.contact && this.processedContactItems ? (h(DuetHeaderDropdown, { id: "duet-header-contact", label: this.contact, icon: contactDropdownIcon.svg, active: this.isContactOpen, isOpen: this.isContactOpen, badge: false, toggleRef: el => (this.contactItemsButtonEl = el), itemsRef: el => (this.contactItemsEl = el), onToggle: event => this.toggleMenu(event, "contact") }, this.processedContactItems.map(item => (h("a", { role: "menuitem", href: item.href || "#", id: item.id, onClick: event => this.handleContactClick(event, item), onKeyDown: ev => this.handleArrowKeys(ev), target: item.external ? "_blank" : "_self" }, item.label, Build.isBrowser && item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-header-link-external" }, h("duet-icon", { name: "action-new-window-small", size: "xx-small", margin: "none", color:
|
|
433
|
+
const contactDropdown = () => this.contact && this.processedContactItems ? (h(DuetHeaderDropdown, { id: "duet-header-contact", label: this.contact, icon: contactDropdownIcon.svg, active: this.isContactOpen, isOpen: this.isContactOpen, badge: false, toggleRef: el => (this.contactItemsButtonEl = el), itemsRef: el => (this.contactItemsEl = el), onToggle: event => this.toggleMenu(event, "contact") }, this.processedContactItems.map(item => (h("a", { role: "menuitem", href: item.href || "#", id: item.id, onClick: event => this.handleContactClick(event, item), onKeyDown: ev => this.handleArrowKeys(ev), target: item.external ? "_blank" : "_self" }, item.label, Build.isBrowser && item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-header-link-external" }, h("duet-icon", { name: "action-new-window-small", size: "xx-small", margin: "none", color: postfixTheme("primary", this.theme) }))))))))) : null;
|
|
433
434
|
const languageDropdown = () => this.language && this.processedLanguageItems ? (h(DuetHeaderDropdown, { id: "duet-header-language", label: this.language, icon: languageIcon.svg, accessibleText: `${changeLanguage}${this.hasLanguageChanged ? `, ${activeLanguage}` : ""}`, active: this.isLanguageOpen, isOpen: this.isLanguageOpen, badge: false, toggleRef: el => (this.languageItemsButtonEl = el), itemsRef: el => (this.languageItemsEl = el), onToggle: event => this.toggleMenu(event, "language") }, this.processedLanguageItems.map(item => (h("a", { class: { active: this.language === item.country }, "aria-selected": this.language === item.country, role: "menuitem", id: item.id, lang: item.country, href: item.href || "#", onClick: event => this.handleLanguageClick(event, item), onKeyDown: this.handleArrowKeys }, item.label))))) : null;
|
|
434
435
|
const processedUserWithLink = () => this.processedUser && this.processedUser.href ? (h("a", { href: this.processedUser.href || "#", id: this.processedUser.id, class: "duet-header-user duet-header-button", onClick: this.handleUserClick }, h(DuetHeaderIcon, { icon: userIcon.svg }), h("span", { class: "duet-header-user-label" }, this.processedUser.label))) : null;
|
|
435
436
|
const processedUserWithoutLink = () => this.processedUser && !this.processedUser.href ? (h("span", { id: this.processedUser.id, class: "duet-header-user duet-header-button duet-header-no-action" }, h(DuetHeaderIcon, { icon: userIcon.svg }), h("span", { class: "duet-header-user-label" }, this.processedUser.label))) : null;
|
|
@@ -443,7 +444,7 @@ export class DuetHeader {
|
|
|
443
444
|
"duet-theme-turva": this.theme === "turva",
|
|
444
445
|
"duet-header-back": true,
|
|
445
446
|
"duet-header-inactive": true,
|
|
446
|
-
}, part: "header" }, h("div", { class: "duet-header-top" }, skipToLabel(), h("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color:
|
|
447
|
+
}, part: "header" }, h("div", { class: "duet-header-top" }, skipToLabel(), h("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color: postfixTheme("secondary", this.theme), icon: "navigation-arrow-left", iconSize: "large", onClick: this.handleBackClick }, this.processedBack.label), logo(), h("slot", { name: "logo-utility" }))))));
|
|
447
448
|
}
|
|
448
449
|
const itemsHaveSubItems = this.processedItems && this.processedItems.some(item => item.items && item.items.length > 0);
|
|
449
450
|
const isSecondLevelActive = this.processedItems &&
|
|
@@ -1778,6 +1778,101 @@ duet-heading + duet-button {
|
|
|
1778
1778
|
:host(.duet-theme-turva2) .duet-hero.duet-hero-gray.duet-theme-turva {
|
|
1779
1779
|
background: #f5f6f7;
|
|
1780
1780
|
}
|
|
1781
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1782
|
+
margin-bottom: 2rem;
|
|
1783
|
+
}
|
|
1784
|
+
@media (min-width: 22.5em) {
|
|
1785
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1786
|
+
margin-bottom: 2rem;
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
@media (min-width: 36em) {
|
|
1790
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1791
|
+
margin-bottom: 4rem;
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
@media (min-width: 48em) {
|
|
1795
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1796
|
+
margin-bottom: 6rem;
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
@media (min-width: 62em) {
|
|
1800
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1801
|
+
margin-bottom: 7rem;
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
@media (min-width: 76.25em) {
|
|
1805
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1806
|
+
margin-bottom: 8rem;
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
@media (min-width: 106.25em) {
|
|
1810
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1811
|
+
margin-botton: 9rem;
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .background-area .brand-shape, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .background-area .brand-shape {
|
|
1815
|
+
background-color: rgb(255, 255, 255);
|
|
1816
|
+
border-radius: 48px;
|
|
1817
|
+
mask-image: none;
|
|
1818
|
+
}
|
|
1819
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .background-mask {
|
|
1820
|
+
background-image: none;
|
|
1821
|
+
}
|
|
1822
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-image {
|
|
1823
|
+
border-radius: 26px;
|
|
1824
|
+
mask-image: none;
|
|
1825
|
+
}
|
|
1826
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-image::after {
|
|
1827
|
+
position: absolute;
|
|
1828
|
+
bottom: 0;
|
|
1829
|
+
z-index: 1;
|
|
1830
|
+
width: 100%;
|
|
1831
|
+
height: 100%;
|
|
1832
|
+
content: "";
|
|
1833
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22530%22%20height%3D%22136%22%20viewBox%3D%220%200%20530%20136%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M530%2018.0108V320.699H0V11.2176C0%202.8484%208.16439%20-2.58266%2015.0467%201.2636C33.0582%2011.2977%2054.6667%2020.0141%2078.875%2027.2525C131.948%2043.1273%20197.512%2051.9149%20265%2051.9149C332.488%2051.9149%20398.061%2043.1273%20451.125%2027.2525C475.333%2020.0052%20496.942%2011.2888%20514.953%201.2547C521.836%20-2.58266%20530%202.8484%20530%2011.2176V18.0108Z%22%20fill%3D%22%23E61740%22%2F%3E%0A%3C%2Fsvg%3E");
|
|
1834
|
+
background-repeat: no-repeat;
|
|
1835
|
+
background-position-y: bottom;
|
|
1836
|
+
background-size: contain;
|
|
1837
|
+
}
|
|
1838
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-icon {
|
|
1839
|
+
display: none;
|
|
1840
|
+
}
|
|
1841
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background .background-mask {
|
|
1842
|
+
background-image: none;
|
|
1843
|
+
}
|
|
1844
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image {
|
|
1845
|
+
border-radius: 26px;
|
|
1846
|
+
mask-image: none;
|
|
1847
|
+
}
|
|
1848
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image::after {
|
|
1849
|
+
position: absolute;
|
|
1850
|
+
bottom: 0;
|
|
1851
|
+
z-index: 1;
|
|
1852
|
+
width: 100%;
|
|
1853
|
+
height: 100%;
|
|
1854
|
+
content: "";
|
|
1855
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22530%22%20height%3D%22136%22%20viewBox%3D%220%200%20530%20136%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M530%2018.0108V320.699H0V11.2176C0%202.8484%208.16439%20-2.58266%2015.0467%201.2636C33.0582%2011.2977%2054.6667%2020.0141%2078.875%2027.2525C131.948%2043.1273%20197.512%2051.9149%20265%2051.9149C332.488%2051.9149%20398.061%2043.1273%20451.125%2027.2525C475.333%2020.0052%20496.942%2011.2888%20514.953%201.2547C521.836%20-2.58266%20530%202.8484%20530%2011.2176V18.0108Z%22%20fill%3D%22%23E61740%22%2F%3E%0A%3C%2Fsvg%3E");
|
|
1856
|
+
background-repeat: no-repeat;
|
|
1857
|
+
background-position-y: bottom;
|
|
1858
|
+
background-size: contain;
|
|
1859
|
+
}
|
|
1860
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
|
|
1861
|
+
margin-top: 28px;
|
|
1862
|
+
}
|
|
1863
|
+
@media (min-width: 48em) {
|
|
1864
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
|
|
1865
|
+
margin-top: 36px;
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
:host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
|
|
1869
|
+
margin-top: 16px;
|
|
1870
|
+
}
|
|
1871
|
+
@media (min-width: 48em) {
|
|
1872
|
+
:host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
|
|
1873
|
+
margin-top: 0;
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1781
1876
|
.duet-theme-turva :host(.duet-theme-turva2) .duet-hero-link {
|
|
1782
1877
|
color: #e61740;
|
|
1783
1878
|
}
|
|
@@ -102,11 +102,11 @@ export class DuetIcon {
|
|
|
102
102
|
: {};
|
|
103
103
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
104
104
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: 'e3c5b8a95b66d10d648b3dcb13c8a914a797b164', class: {
|
|
106
106
|
"duet-m-0": this.margin === "none",
|
|
107
107
|
"duet-icon-has-outline": !!this.outline,
|
|
108
108
|
"duet-icon-has-background": !!this.background,
|
|
109
|
-
} }, h("span", { key: '
|
|
109
|
+
} }, h("span", { key: '64fb78e9ff14dade6c8a57e7e0b0c9eda9faa5f1', "aria-hidden": "true", style: styles, class: {
|
|
110
110
|
"duet-icon": true,
|
|
111
111
|
"duet-theme-turva": this.theme === "turva",
|
|
112
112
|
"duet-theme-default": this.theme === "default",
|
|
@@ -115,7 +115,7 @@ export class DuetIcon {
|
|
|
115
115
|
[shapeStyle]: true,
|
|
116
116
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
117
117
|
"duet-icon-not-responsive": !this.responsive,
|
|
118
|
-
} }, h("span", { key: '
|
|
118
|
+
} }, h("span", { key: 'c58b6751f605b678b535275abd7ec18dcd22ce32', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "duet-icon"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class DuetLabel {
|
|
|
27
27
|
if (Build.isServer) {
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
|
-
const color = getColorByName(this.color);
|
|
30
|
+
const color = getColorByName(this.color, this.theme);
|
|
31
31
|
return (h(Host, { class: {
|
|
32
32
|
"duet-label": true,
|
|
33
33
|
"duet-label-small": this.size === "small",
|
|
@@ -120,12 +120,13 @@ export class DuetLink {
|
|
|
120
120
|
* Always the last one in the class.
|
|
121
121
|
*/
|
|
122
122
|
render() {
|
|
123
|
-
const Tag = !this.url ? "button" : "a";
|
|
123
|
+
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
124
|
+
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
124
125
|
const isButton = Tag === "button";
|
|
125
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'bd19012201568549a78386fd891946aff5eee646', class: {
|
|
126
127
|
[`duet-link-${this.variation}`]: true,
|
|
127
128
|
"duet-m-0": this.margin === "none",
|
|
128
|
-
} }, h(Tag, { key: '
|
|
129
|
+
} }, h(Tag, { key: 'dcaadc6459de680b921529b4cf1a53fb68ec32e5', href: this.url, class: {
|
|
129
130
|
"duet-link": true,
|
|
130
131
|
"duet-link-is-external": this.external,
|
|
131
132
|
"duet-link-is-download": !!this.download,
|
|
@@ -136,7 +137,7 @@ export class DuetLink {
|
|
|
136
137
|
"duet-p-0": this.padding === "none",
|
|
137
138
|
[this.padding]: true,
|
|
138
139
|
[this.variation]: true,
|
|
139
|
-
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
|
|
140
|
+
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined, role: role }, this.renderContent())));
|
|
140
141
|
}
|
|
141
142
|
static get is() { return "duet-link"; }
|
|
142
143
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class DuetListItem {
|
|
|
21
21
|
* Always the last one in the class.
|
|
22
22
|
*/
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '23fa4bb0260854f29feb8bc4a9ee8772116d6cdd', class: {
|
|
25
25
|
"duet-theme-turva": this.theme === "turva",
|
|
26
26
|
"duet-no-stacking": !this.responsive,
|
|
27
27
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -29,7 +29,7 @@ export class DuetListItem {
|
|
|
29
29
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
30
30
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
31
31
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
32
|
-
} }, h("dt", { key: '
|
|
32
|
+
} }, h("dt", { key: 'a55da3a043c0961d1acb0d734f40a13520dfa8f6' }, h("slot", { key: '283eb7096125f841974c4c024826bb026f12f44a', name: "label" })), h("dd", { key: 'b0bf838e880dc0bbd8a408f43519b9c9c14f50ca' }, h("slot", { key: '59a38693290b270f27d9f5e1eddc94eff91009c2', name: "value" }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "duet-list-item"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,10 +38,10 @@ export class DuetMenuBarButton {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'ef1a83dc24d287d2e22423313bb9d60cd3c47105', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '8b958da1cd1c474fea165bfaa3b0a1a59bbf48fe', ref: button => (this.nativeButton = button), class: {
|
|
42
42
|
"duet-menu-bar-button": true,
|
|
43
43
|
"duet-theme-turva": this.theme === "turva",
|
|
44
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '
|
|
44
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '8d32a9113bf2c7f5cf223fade74451107c65017e', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'c2a291f310468f23944eb380df208917ee3f266f' }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-menu-bar-button"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,17 +54,17 @@ export class DuetMenuBarDropdown {
|
|
|
54
54
|
* Always the last one in the class.
|
|
55
55
|
*/
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'a755c7ef4437e698cd14f5638243822ae80a9da5', role: "listitem" }, h("div", { key: '245f998243bda4eb0de30979a0e3170b44f3e59f', class: {
|
|
58
58
|
"duet-menu-bar-dropdown": true,
|
|
59
59
|
"duet-theme-turva": this.theme === "turva",
|
|
60
60
|
active: this.open,
|
|
61
61
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
62
|
-
} }, h("button", { key: '
|
|
62
|
+
} }, h("button", { key: 'd650dc95d9c3d179c443de80c835e220a74c7ddb', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
63
63
|
active: this.open,
|
|
64
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
64
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'b813e5b92c2262c8980753710295beeb6938c911', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '792ad8ef544c66a404bd68efad3f61664bd0af88', class: "label" }, h("slot", { key: '400b69105667c569099cf1fb10f4235e0f59d062', name: "label" }), h("duet-icon", { key: 'bc9de20358bde54e02e79ce27a80e97d122fdd8f', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'ed8e5128bb958f6eab527687f0574f48eae65002', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
65
65
|
items: true,
|
|
66
66
|
hidden: !this.open,
|
|
67
|
-
} }, h("slot", { key: '
|
|
67
|
+
} }, h("slot", { key: '2b8c3ce983de1c602add43e43c38eb1eb85e3c19' })))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-menu-bar-dropdown"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -40,11 +40,11 @@ export class DuetMenuBarDropdownLink {
|
|
|
40
40
|
* Always the last one in the class.
|
|
41
41
|
*/
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '5fc02f0c81d1098a7b16009477df67993d685de6' }, h("a", { key: '2b903aecceeae547c7d15a49b7a04258ff10c4b6', class: {
|
|
44
44
|
"duet-menu-bar-dropdown-link": true,
|
|
45
45
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
46
46
|
"duet-theme-turva": this.theme === "turva",
|
|
47
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
47
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'af824f35477f30049c01db8adb39d06b731643b9', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '883594427c71275ce5b693f706b9505f9e18a71e' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,11 +48,11 @@ export class DuetMenuBarItem {
|
|
|
48
48
|
*/
|
|
49
49
|
render() {
|
|
50
50
|
const TagName = this.url ? "a" : "button";
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '641913af18dbe2980a845788e89622a9b089dbb0', role: "listitem" }, h(TagName, { key: '328e465490357d6da14c2b790a82a3241a527d87', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
52
52
|
"duet-menu-bar-item": true,
|
|
53
53
|
"duet-theme-turva": this.theme === "turva",
|
|
54
54
|
active: this.active,
|
|
55
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '
|
|
55
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'd30575df32ecb1a4ede06522d8eda04bf9fc5fc2', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'b06945bdda299b4e2d7a7209f307bf116b9cf744' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'c8fc5e562221728aea6214de11916a8a41c45d7f', class: {
|
|
56
56
|
"trailing-icon": !!this.trailingIcon,
|
|
57
57
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
58
58
|
"external-icon": !!this.external,
|
|
@@ -22,11 +22,11 @@ export class DuetMenuBarLink {
|
|
|
22
22
|
* Always the last one in the class.
|
|
23
23
|
*/
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'a13c68b467960207214b517d7308cc0aa12109bc', role: "listitem" }, h("a", { key: 'a54219b4e1e160a5860536bc784b166f17885823', class: {
|
|
26
26
|
"duet-menu-bar-link": true,
|
|
27
27
|
"duet-theme-turva": this.theme === "turva",
|
|
28
28
|
active: this.active,
|
|
29
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
29
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'b1b80f750becedd7069327b1a3014caf8f8e9796', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'd52076de0ceb00251df6fdce37c8fabd9377f8b8' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "duet-menu-bar-link"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,6 +10,7 @@ import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
|
10
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
11
11
|
import { hasSlot } from "../../utils/slot-utils";
|
|
12
12
|
import { Teleport } from "../../utils/teleport";
|
|
13
|
+
import { postfixTheme } from "../../utils/token-utils";
|
|
13
14
|
// The transition below is slightly higher than the actual CSS transition as VoiceOver on
|
|
14
15
|
// iOS has otherwise problems moving the focus from modal back to the original element.
|
|
15
16
|
// This issue is similar to what we’ve seen in Duet Date Picker + iOS VoiceOver.
|
|
@@ -64,6 +65,8 @@ export class DuetModal {
|
|
|
64
65
|
this.color = "";
|
|
65
66
|
this.active = false;
|
|
66
67
|
this.closeOnBlur = false;
|
|
68
|
+
this.focusElementOnClose = undefined;
|
|
69
|
+
this.accessibleAnnounceChanges = undefined;
|
|
67
70
|
}
|
|
68
71
|
openChanged() {
|
|
69
72
|
if (this.open) {
|
|
@@ -110,9 +113,18 @@ export class DuetModal {
|
|
|
110
113
|
enableBodyScroll(this.variation === "slide-up" ? this.modalContentEl : this.modalEl);
|
|
111
114
|
this.duetClose.emit();
|
|
112
115
|
this.teleport.removeInertFromSiblings();
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
if (this.focusElementOnClose !== "") {
|
|
117
|
+
setTimeout(() => {
|
|
118
|
+
let focusEl = this.focusedElBeforeOpen;
|
|
119
|
+
if (typeof this.focusElementOnClose === "string") {
|
|
120
|
+
focusEl = document.getElementById(this.focusElementOnClose) || focusEl;
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
focusEl = this.focusElementOnClose || focusEl;
|
|
124
|
+
}
|
|
125
|
+
focusElement(focusEl);
|
|
126
|
+
}, TRANSITION_MS);
|
|
127
|
+
}
|
|
116
128
|
if (this.isAndroidDevice) {
|
|
117
129
|
window.removeEventListener("resize", this.handleAndroidResizeEvents);
|
|
118
130
|
}
|
|
@@ -186,6 +198,12 @@ export class DuetModal {
|
|
|
186
198
|
async hide() {
|
|
187
199
|
this.open = false;
|
|
188
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* Set focus on the close button of the modal.
|
|
203
|
+
*/
|
|
204
|
+
async focusCloseButton() {
|
|
205
|
+
this.buttonEl.setFocus();
|
|
206
|
+
}
|
|
189
207
|
/**
|
|
190
208
|
* Scolls the top of the modal's content into view
|
|
191
209
|
*
|
|
@@ -247,20 +265,16 @@ export class DuetModal {
|
|
|
247
265
|
*/
|
|
248
266
|
render() {
|
|
249
267
|
var _a, _b;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
const closingButton = (h("div", { key: '
|
|
253
|
-
|
|
254
|
-
iconColor = "primary-turva";
|
|
255
|
-
closeColor = "secondary-turva";
|
|
256
|
-
}
|
|
257
|
-
return (h("div", { key: 'b56533d39c5b27cb1dc9ed8080755b3b51ce23e5', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
268
|
+
const iconColor = postfixTheme("primary", this.theme);
|
|
269
|
+
const closeColor = postfixTheme("secondary", this.theme);
|
|
270
|
+
const closingButton = (h("div", { key: '9de636719074c96f49913c1a19b33329ae39a3a0', class: "duet-modal-close" }, h("duet-button", { key: '1852a8322aaeb49c937cfd4b4d80d61073f12f96', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
271
|
+
return (h("div", { key: '4c602c318db94b02ca730640b8c0c6fc7eb96453', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
258
272
|
"duet-modal-container": true,
|
|
259
273
|
"duet-theme-turva": this.theme === "turva",
|
|
260
274
|
"duet-modal-active": this.open,
|
|
261
275
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
262
276
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
263
|
-
} }, h("duet-overlay", { key: '
|
|
277
|
+
} }, h("duet-overlay", { key: 'c70e730388bdfa452ab51fb810304ba004022885', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: 'ceae3fcf909fdfa380eaddc2f8c9ac2637fc8810', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
264
278
|
"duet-modal-inner": true,
|
|
265
279
|
[this.size]: true,
|
|
266
280
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -271,18 +285,22 @@ export class DuetModal {
|
|
|
271
285
|
this.closeModal(e);
|
|
272
286
|
}
|
|
273
287
|
}
|
|
274
|
-
} }, h("div", { key: '
|
|
288
|
+
} }, h("div", { key: 'c0559f2b2d236a3e0fd339cd65900d400547fb70', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
275
289
|
"duet-modal": true,
|
|
276
290
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
277
291
|
[this.size]: true,
|
|
278
292
|
[this.variation]: true,
|
|
279
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '
|
|
293
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '81664165163cd30e192906cb50bb71a4906256ba' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '92c81c3e5545b4a08b93b3174a888cc42837f2ac', class: {
|
|
280
294
|
"duet-modal-body": true,
|
|
281
295
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
282
296
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
283
297
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
284
298
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
285
|
-
} }, h("div", { key: '
|
|
299
|
+
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: '72936aa2c2d2551e34b2c2d7344f666d49c3d0f4', class: "duet-modal-header" }, h("span", { key: '30ac91712c2d7065901679fcf1cd5cb0191cbb11', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'c7e4bd42dfac73ebdfcf98f9d16438c14945d30b', name: "top" })), this.icon && h("duet-icon", { key: '3664c556ad580c917e80e796df4236f89134ab9d', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'd77b16d2577ce36f4e135790a7f49d8a2b17096c', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: 'ed0fa900e15be0fef3166e61f2f7c860dab067f0', class: "duet-modal-spinner" }, h("duet-spinner", { key: '1d15d8e837273755c1c6242098e198f51c1cda90', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: '4d06b9164f277a7cc586a6b754429764cccb1f2e', "aria-live": this.variation === "loader"
|
|
300
|
+
? "assertive"
|
|
301
|
+
: this.accessibleAnnounceChanges === "body"
|
|
302
|
+
? "polite"
|
|
303
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: '520b8542f921248916d3470204ce4ee2533da5ee' })))))));
|
|
286
304
|
}
|
|
287
305
|
static get is() { return "duet-modal"; }
|
|
288
306
|
static get encapsulation() { return "shadow"; }
|
|
@@ -739,6 +757,54 @@ export class DuetModal {
|
|
|
739
757
|
"attribute": "close-on-blur",
|
|
740
758
|
"reflect": false,
|
|
741
759
|
"defaultValue": "false"
|
|
760
|
+
},
|
|
761
|
+
"focusElementOnClose": {
|
|
762
|
+
"type": "string",
|
|
763
|
+
"mutable": false,
|
|
764
|
+
"complexType": {
|
|
765
|
+
"original": "FocusableComponent | HTMLElement | string",
|
|
766
|
+
"resolved": "FocusableComponent | HTMLElement | string",
|
|
767
|
+
"references": {
|
|
768
|
+
"FocusableComponent": {
|
|
769
|
+
"location": "import",
|
|
770
|
+
"path": "../../common",
|
|
771
|
+
"id": "src/common/index.ts::FocusableComponent"
|
|
772
|
+
},
|
|
773
|
+
"HTMLElement": {
|
|
774
|
+
"location": "global",
|
|
775
|
+
"id": "global::HTMLElement"
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"required": false,
|
|
780
|
+
"optional": false,
|
|
781
|
+
"docs": {
|
|
782
|
+
"tags": [],
|
|
783
|
+
"text": "Where to move focus when the modal is closed, either set the element dirctly with JS or give the id of the\nelement as a string. Use empty string to disable focus moving on close - do this if after closing there is\nanother element that automatically gets the focus or you handle focusing manually."
|
|
784
|
+
},
|
|
785
|
+
"getter": false,
|
|
786
|
+
"setter": false,
|
|
787
|
+
"attribute": "focus-element-on-close",
|
|
788
|
+
"reflect": false
|
|
789
|
+
},
|
|
790
|
+
"accessibleAnnounceChanges": {
|
|
791
|
+
"type": "string",
|
|
792
|
+
"mutable": false,
|
|
793
|
+
"complexType": {
|
|
794
|
+
"original": "\"all\" | \"heading\" | \"body\"",
|
|
795
|
+
"resolved": "\"all\" | \"body\" | \"heading\"",
|
|
796
|
+
"references": {}
|
|
797
|
+
},
|
|
798
|
+
"required": false,
|
|
799
|
+
"optional": false,
|
|
800
|
+
"docs": {
|
|
801
|
+
"tags": [],
|
|
802
|
+
"text": "Makes either the entire modal (\"all\"), headign and body content (\"heading\"), or just its body content (\"body\")\nan aria-live region, so that changes are announced by the screen readers. Do not use with loader variation,\nas it handles aria-live separately."
|
|
803
|
+
},
|
|
804
|
+
"getter": false,
|
|
805
|
+
"setter": false,
|
|
806
|
+
"attribute": "accessible-announce-changes",
|
|
807
|
+
"reflect": false
|
|
742
808
|
}
|
|
743
809
|
};
|
|
744
810
|
}
|
|
@@ -852,6 +918,23 @@ export class DuetModal {
|
|
|
852
918
|
"tags": []
|
|
853
919
|
}
|
|
854
920
|
},
|
|
921
|
+
"focusCloseButton": {
|
|
922
|
+
"complexType": {
|
|
923
|
+
"signature": "() => Promise<void>",
|
|
924
|
+
"parameters": [],
|
|
925
|
+
"references": {
|
|
926
|
+
"Promise": {
|
|
927
|
+
"location": "global",
|
|
928
|
+
"id": "global::Promise"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"return": "Promise<void>"
|
|
932
|
+
},
|
|
933
|
+
"docs": {
|
|
934
|
+
"text": "Set focus on the close button of the modal.",
|
|
935
|
+
"tags": []
|
|
936
|
+
}
|
|
937
|
+
},
|
|
855
938
|
"scrollToTop": {
|
|
856
939
|
"complexType": {
|
|
857
940
|
"signature": "(smooth?: boolean) => Promise<void>",
|
|
@@ -24,7 +24,7 @@ export class DuetNav {
|
|
|
24
24
|
* Always the last one in the class.
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '399e510569b42fa52d9461dcf6e935858bbaa763' }, h("div", { key: '93717d9be84024edba4544c474b225f4c150ec61', class: { container: true, sticky: this.sticky } }, h("slot", { key: 'e49c0ec868a936a63599023d6853b2eb0ccbfd9e' }), h("slot", { key: '91564d4869ec5966bd1e6f412543a793985fd5e2', name: "mobile" }), h("slot", { key: 'f26f92f774eecd3513fe969235c6bea01e08586f', name: "desktop" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "duet-nav"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,11 +43,11 @@ export class DuetNotification {
|
|
|
43
43
|
this.linkElement.focus(options);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '22f2597d7f520c03d164b9612b1f619486745a09', role: "listitem", class: {
|
|
47
47
|
"duet-notification": true,
|
|
48
48
|
"duet-notification-highlight": this.highlight,
|
|
49
49
|
"duet-theme-turva": this.theme === "turva",
|
|
50
|
-
} }, h("a", { key: '
|
|
50
|
+
} }, h("a", { key: '825bb432d6d6402df953b5a1a1f67cfddfa00931', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '669563019a7dda0a692965ee8fb616692c3be343', class: "duet-notification-container" }, h("div", { key: 'fa7b5612cf3b5a172385a915d09e23a1b12258a1', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: '21a94b09ee6ef41da16349b53c39c66ccc744db3', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '89a22cdefb3ad8530b55a1a22dc44cb51547a9ec' }, this.accessibleLabelUnread, ":")))), h("div", { key: '6c08f36593b743d1b28dfef6ff96e60c1f0a5f2f', class: "duet-notification-content" }, h("slot", { key: '74584952dedc2d734b8c04626fb0377c34d3d183' })), h("div", { key: '4f6feeebc9b918683300bd434eec573912291a82', class: "duet-notification-date" }, this.date)))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "duet-notification"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|