@duetds/components 9.13.0 → 9.14.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 +341 -167
- package/lib/cjs/{a11y-utils-7f0f44ac.js → a11y-utils-a934645c.js} +1 -1
- package/lib/cjs/{app-globals-7f261ff1.js → app-globals-6b9852f3.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +4 -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 +12 -12
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- 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 +4 -4
- 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 +5 -5
- 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 +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +6 -5
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- 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 +7 -7
- 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 +39 -20
- 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 +14 -14
- 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 +7 -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 +7 -7
- 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 +4 -4
- 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 +6 -6
- 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 +8 -8
- 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-9ce7ca99.js} +1 -1
- package/lib/cjs/{focus-utils-3b3e2586.js → focus-utils-fa11f04b.js} +1 -1
- package/lib/cjs/{index-4babbdda.js → index-3d15fb5e.js} +5 -1
- package/lib/cjs/{language-utils-83791d57.js → language-utils-eaec2648.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-c565d8b9.js → slot-utils-61317778.js} +1 -1
- package/lib/cjs/{themeable-component-a007f8ee.js → themeable-component-46222401.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/components/duet-badge/duet-badge.js +2 -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-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +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-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 +5 -5
- 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 +2 -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 +4 -4
- 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 +4 -4
- 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 +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- 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 +13 -13
- 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 +7 -7
- 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 +11 -10
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- 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 +4 -4
- 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 +44 -23
- 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 +5 -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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +11 -11
- 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 +5 -5
- 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-e8dc8877.js → p-05fb2c81.js} +4 -4
- package/lib/dist-custom-elements/{p-06beac61.js → p-0a34fa11.js} +2 -2
- package/lib/dist-custom-elements/{p-c1e381e3.js → p-0e0a0525.js} +3 -3
- package/lib/dist-custom-elements/{p-0c829768.js → p-10893657.js} +1 -1
- package/lib/dist-custom-elements/{p-a000e044.js → p-25f8ea4b.js} +2 -2
- package/lib/dist-custom-elements/{p-2dcb2900.js → p-3419cd58.js} +9 -9
- package/lib/dist-custom-elements/{p-ad927290.js → p-3471fa90.js} +3 -3
- package/lib/dist-custom-elements/{p-911326a0.js → p-36f6ec52.js} +2 -2
- package/lib/dist-custom-elements/{p-f7d93067.js → p-3883f329.js} +5 -5
- package/lib/dist-custom-elements/{p-b660d362.js → p-3a815628.js} +10 -10
- package/lib/dist-custom-elements/{p-ca899a3c.js → p-444e732a.js} +8 -7
- package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
- package/lib/dist-custom-elements/{p-c7002b0e.js → p-5e16131c.js} +1 -1
- package/lib/dist-custom-elements/{p-3c558254.js → p-61b4aec9.js} +12 -12
- package/lib/dist-custom-elements/{p-67e54308.js → p-65300e85.js} +11 -11
- package/lib/dist-custom-elements/{p-16151d9e.js → p-706a9a13.js} +2 -2
- package/lib/dist-custom-elements/{p-1271d1b9.js → p-778364d6.js} +3 -3
- package/lib/dist-custom-elements/{p-13082a20.js → p-81360956.js} +2 -2
- package/lib/dist-custom-elements/{p-80bbbb3a.js → p-85f0068e.js} +5 -5
- package/lib/dist-custom-elements/{p-8c472242.js → p-92710b68.js} +1 -1
- package/lib/dist-custom-elements/{p-2e148296.js → p-96cabce8.js} +7 -7
- package/lib/dist-custom-elements/{p-276a59a3.js → p-9ac441e6.js} +4 -4
- package/lib/dist-custom-elements/{p-70b67cdd.js → p-9f715fa9.js} +4 -4
- package/lib/dist-custom-elements/{p-55c477f3.js → p-a4513f7a.js} +2 -2
- package/lib/dist-custom-elements/{p-135f668d.js → p-a69bc735.js} +1 -1
- package/lib/dist-custom-elements/{p-12884dcf.js → p-b3835995.js} +4 -4
- package/lib/dist-custom-elements/{p-cdf4b7f6.js → p-c7f33aed.js} +4 -4
- package/lib/dist-custom-elements/{p-653d2256.js → p-cc1b78ce.js} +10 -10
- package/lib/dist-custom-elements/{p-e3280064.js → p-d04e213c.js} +12 -12
- package/lib/dist-custom-elements/{p-63a0bdcd.js → p-d0bc3da2.js} +1 -1
- package/lib/dist-custom-elements/{p-aa4ebea4.js → p-d5c72ea3.js} +5 -5
- package/lib/dist-custom-elements/{p-4e53b45e.js → p-db2b09ab.js} +2 -2
- package/lib/dist-custom-elements/{p-de35873c.js → p-dc970fdb.js} +1 -1
- package/lib/dist-custom-elements/{p-46749593.js → p-e77ffc34.js} +3 -3
- package/lib/dist-custom-elements/{p-d60c7d74.js → p-e9c8ad74.js} +1 -1
- package/lib/dist-custom-elements/{p-f80dea81.js → p-ee948dc8.js} +4 -4
- package/lib/dist-custom-elements/{p-1027ea53.js → p-f290964d.js} +5 -5
- package/lib/dist-custom-elements/{p-7fd99694.js → p-f38adca4.js} +7 -7
- package/lib/dist-custom-elements/{p-2582f9a3.js → p-f3b2867a.js} +3 -3
- package/lib/dist-custom-elements/{p-be9b9c9d.js → p-f479ee47.js} +5 -5
- package/lib/dist-custom-elements/{p-47d05b62.js → p-fddb3ec1.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-c45ddc7a.system.entry.js → p-013232a8.system.entry.js} +1 -1
- package/lib/duet/{p-8c2abe91.js → p-01fe0f34.js} +1 -1
- package/lib/duet/{p-88dda3dd.entry.js → p-063b31ef.entry.js} +1 -1
- package/lib/duet/{p-a51a1f94.system.entry.js → p-07d21021.system.entry.js} +1 -1
- package/lib/duet/p-07dd4405.system.entry.js +4 -0
- package/lib/duet/{p-9f1e07cc.entry.js → p-08f594ea.entry.js} +1 -1
- package/lib/duet/{p-ece11bcb.entry.js → p-08f64c06.entry.js} +1 -1
- package/lib/duet/{p-d0b648c5.system.entry.js → p-0bc88aac.system.entry.js} +1 -1
- package/lib/duet/{p-964cab98.entry.js → p-0c16128f.entry.js} +1 -1
- package/lib/duet/{p-71a2b27b.system.entry.js → p-0cef5003.system.entry.js} +2 -2
- package/lib/duet/{p-0990faec.system.entry.js → p-0e013c22.system.entry.js} +1 -1
- package/lib/duet/{p-0dd78a56.system.entry.js → p-0e4ff2a3.system.entry.js} +1 -1
- package/lib/duet/p-10310520.entry.js +4 -0
- package/lib/duet/{p-b5191612.system.entry.js → p-11262ef8.system.entry.js} +1 -1
- package/lib/duet/{p-24cc3a49.entry.js → p-119d8a9d.entry.js} +1 -1
- package/lib/duet/{p-9e4e3a7d.entry.js → p-11e013dd.entry.js} +1 -1
- package/lib/duet/{p-c658fdf2.system.entry.js → p-13821573.system.entry.js} +1 -1
- package/lib/duet/{p-5026ba81.system.entry.js → p-13f4076a.system.entry.js} +2 -2
- package/lib/duet/{p-7686eb1f.entry.js → p-147f5eb5.entry.js} +1 -1
- package/lib/duet/p-16e80004.entry.js +4 -0
- package/lib/duet/{p-38baa305.entry.js → p-17f215e8.entry.js} +1 -1
- package/lib/duet/{p-af3397e6.entry.js → p-18b21048.entry.js} +1 -1
- package/lib/duet/{p-d5a2f426.entry.js → p-19ad52bc.entry.js} +1 -1
- package/lib/duet/{p-ab7e07be.system.entry.js → p-1a767c08.system.entry.js} +1 -1
- package/lib/duet/{p-b094d253.entry.js → p-1c2dcb63.entry.js} +1 -1
- package/lib/duet/p-1f495ebe.entry.js +4 -0
- package/lib/duet/{p-570a2d5c.entry.js → p-20170d5a.entry.js} +1 -1
- package/lib/duet/{p-c59fbbb1.system.entry.js → p-201895ea.system.entry.js} +1 -1
- package/lib/duet/{p-3c29e0ba.entry.js → p-2162fe62.entry.js} +1 -1
- package/lib/duet/{p-526bce13.system.entry.js → p-22349ab1.system.entry.js} +1 -1
- package/lib/duet/{p-e538f43c.system.entry.js → p-22932c08.system.entry.js} +1 -1
- package/lib/duet/{p-7adab44d.system.entry.js → p-23d5c3fe.system.entry.js} +1 -1
- package/lib/duet/{p-71a70553.system.entry.js → p-2455cbff.system.entry.js} +1 -1
- package/lib/duet/{p-17029aad.entry.js → p-268d9b35.entry.js} +1 -1
- package/lib/duet/p-2a542c6a.entry.js +4 -0
- package/lib/duet/p-2a96f88a.system.entry.js +4 -0
- package/lib/duet/{p-ecb06d44.entry.js → p-2c15a77e.entry.js} +1 -1
- package/lib/duet/{p-c6c01a4f.system.entry.js → p-2d14dafa.system.entry.js} +1 -1
- package/lib/duet/p-2dd204b0.entry.js +4 -0
- package/lib/duet/{p-e4bda446.system.entry.js → p-2e58b3ab.system.entry.js} +1 -1
- package/lib/duet/{p-7761f427.system.entry.js → p-2e7454bd.system.entry.js} +1 -1
- package/lib/duet/{p-3aecf400.system.entry.js → p-2ee8e84d.system.entry.js} +1 -1
- package/lib/duet/{p-144182a4.entry.js → p-2fe381b6.entry.js} +1 -1
- package/lib/duet/{p-dd011cf1.system.entry.js → p-322c0015.system.entry.js} +2 -2
- package/lib/duet/{p-f01d0296.system.entry.js → p-344834d8.system.entry.js} +1 -1
- package/lib/duet/{p-0e4fe522.system.entry.js → p-34485370.system.entry.js} +1 -1
- package/lib/duet/{p-97393e12.system.entry.js → p-352b3557.system.entry.js} +1 -1
- package/lib/duet/{p-1fe5a7e9.js → p-378546de.js} +1 -1
- package/lib/duet/{p-5c48b80a.system.entry.js → p-38faf7e7.system.entry.js} +1 -1
- package/lib/duet/{p-20baa68b.entry.js → p-3a75e6d3.entry.js} +1 -1
- package/lib/duet/{p-c23c9c77.entry.js → p-3b9c02b1.entry.js} +1 -1
- package/lib/duet/{p-b9af2990.system.entry.js → p-413fc831.system.entry.js} +2 -2
- package/lib/duet/p-4215bd92.system.entry.js +4 -0
- package/lib/duet/p-42a0205d.entry.js +4 -0
- package/lib/duet/{p-bb71c581.entry.js → p-430ef395.entry.js} +1 -1
- package/lib/duet/p-44b3eb2c.entry.js +4 -0
- package/lib/duet/{p-4509c90e.entry.js → p-463b0d7a.entry.js} +1 -1
- package/lib/duet/{p-4ead37f9.entry.js → p-48fb5298.entry.js} +1 -1
- package/lib/duet/{p-13dce266.entry.js → p-4989501c.entry.js} +1 -1
- package/lib/duet/{p-8522541f.entry.js → p-49b696b3.entry.js} +1 -1
- package/lib/duet/{p-8da3b624.entry.js → p-49b6f9a1.entry.js} +1 -1
- package/lib/duet/{p-1be0f96f.system.entry.js → p-4a54ae2a.system.entry.js} +1 -1
- package/lib/duet/{p-d5ad1dca.system.entry.js → p-4c44b9d0.system.entry.js} +1 -1
- package/lib/duet/p-4d81e7f6.system.js +4 -0
- package/lib/duet/{p-cc22486b.system.entry.js → p-4e21f876.system.entry.js} +1 -1
- package/lib/duet/{p-baf03e8b.entry.js → p-51717f08.entry.js} +1 -1
- package/lib/duet/{p-1657ff9a.entry.js → p-51fc30ef.entry.js} +1 -1
- package/lib/duet/{p-e5716306.entry.js → p-52746f84.entry.js} +1 -1
- package/lib/duet/p-52d80d96.js +4 -0
- package/lib/duet/{p-33a9413f.system.entry.js → p-561dd467.system.entry.js} +1 -1
- package/lib/duet/p-564022f1.entry.js +4 -0
- package/lib/duet/{p-d610918e.system.entry.js → p-56bada0c.system.entry.js} +1 -1
- package/lib/duet/{p-b3f5912a.system.entry.js → p-58d8549a.system.entry.js} +1 -1
- package/lib/duet/{p-3b760329.entry.js → p-593df331.entry.js} +1 -1
- package/lib/duet/p-59777da7.system.js +4 -0
- package/lib/duet/{p-7d10302e.entry.js → p-5b583276.entry.js} +1 -1
- package/lib/duet/{p-0a72cb14.system.entry.js → p-5c271084.system.entry.js} +1 -1
- package/lib/duet/{p-328f8f18.entry.js → p-5f678caa.entry.js} +1 -1
- package/lib/duet/{p-cf5551f7.entry.js → p-628a59a6.entry.js} +1 -1
- package/lib/duet/{p-e9e59d73.entry.js → p-62cb44f1.entry.js} +1 -1
- package/lib/duet/{p-5122eee8.system.js → p-670f33d1.system.js} +1 -1
- package/lib/duet/p-6a4e23b5.entry.js +4 -0
- package/lib/duet/{p-590505a4.system.entry.js → p-6a718c27.system.entry.js} +1 -1
- package/lib/duet/{p-01965153.entry.js → p-6a900d10.entry.js} +1 -1
- package/lib/duet/p-6b99bf3d.system.js +4 -0
- package/lib/duet/{p-a8e26d38.entry.js → p-6cf2b2b8.entry.js} +1 -1
- package/lib/duet/{p-ad43bd23.system.entry.js → p-6d5e6c51.system.entry.js} +1 -1
- package/lib/duet/{p-18e13eb6.system.entry.js → p-6db869c9.system.entry.js} +1 -1
- package/lib/duet/{p-45cb4d7f.system.entry.js → p-6f46b9da.system.entry.js} +1 -1
- package/lib/duet/{p-22ae0db4.entry.js → p-704b8b7e.entry.js} +1 -1
- package/lib/duet/{p-aadd382f.system.entry.js → p-713918d1.system.entry.js} +1 -1
- package/lib/duet/{p-d4e9333f.entry.js → p-72ad70a2.entry.js} +1 -1
- package/lib/duet/{p-9eed5f82.js → p-72b4c06f.js} +1 -1
- package/lib/duet/{p-43c4d670.entry.js → p-75542e0e.entry.js} +1 -1
- package/lib/duet/{p-9faf2ac2.system.entry.js → p-75e72c46.system.entry.js} +1 -1
- package/lib/duet/{p-98feb289.system.entry.js → p-76c797cb.system.entry.js} +1 -1
- package/lib/duet/{p-0a405da0.system.entry.js → p-78024429.system.entry.js} +1 -1
- package/lib/duet/p-7856f483.entry.js +4 -0
- package/lib/duet/{p-e8059b67.system.entry.js → p-786418b7.system.entry.js} +1 -1
- package/lib/duet/{p-17ed0be9.system.entry.js → p-7a022fb4.system.entry.js} +1 -1
- package/lib/duet/{p-8e5de54a.entry.js → p-7be7fb2c.entry.js} +1 -1
- package/lib/duet/{p-c4eb60a1.system.entry.js → p-7ce8fc32.system.entry.js} +1 -1
- package/lib/duet/{p-333f7ae7.entry.js → p-7d63b0c0.entry.js} +1 -1
- package/lib/duet/{p-b5eb657a.system.js → p-7fd0a219.system.js} +1 -1
- package/lib/duet/p-82680aa5.system.js +4 -0
- package/lib/duet/{p-e762de37.entry.js → p-82733ff7.entry.js} +1 -1
- package/lib/duet/{p-3cbeb209.system.entry.js → p-834d6b2d.system.entry.js} +1 -1
- package/lib/duet/{p-7194f790.entry.js → p-83c0cfed.entry.js} +1 -1
- package/lib/duet/p-854605a6.js +4 -0
- package/lib/duet/{p-89a1d75a.js → p-8637a449.js} +1 -1
- package/lib/duet/{p-3372296f.entry.js → p-86929bf6.entry.js} +1 -1
- package/lib/duet/{p-80c89ac1.entry.js → p-86d288e5.entry.js} +1 -1
- package/lib/duet/{p-40edc180.system.entry.js → p-870a420d.system.entry.js} +1 -1
- package/lib/duet/p-89b2f873.system.js +4 -0
- package/lib/duet/{p-9004d8ff.entry.js → p-89d45610.entry.js} +1 -1
- package/lib/duet/{p-8c66abfb.system.entry.js → p-89f89a39.system.entry.js} +2 -2
- package/lib/duet/{p-7789db31.system.entry.js → p-8a9fb89c.system.entry.js} +1 -1
- package/lib/duet/p-8bb2ddda.entry.js +4 -0
- package/lib/duet/{p-8bed4283.system.entry.js → p-8cbe7888.system.entry.js} +1 -1
- package/lib/duet/{p-b6578600.system.entry.js → p-8e7af8a4.system.entry.js} +1 -1
- package/lib/duet/{p-1ca12248.entry.js → p-8edc7ed6.entry.js} +1 -1
- package/lib/duet/{p-080a85af.system.entry.js → p-8f55b49a.system.entry.js} +2 -2
- package/lib/duet/{p-05fc82b0.entry.js → p-901f7bd1.entry.js} +1 -1
- package/lib/duet/{p-61198184.system.entry.js → p-903d05d9.system.entry.js} +1 -1
- package/lib/duet/{p-bfa13cf6.entry.js → p-914292d2.entry.js} +1 -1
- package/lib/duet/{p-ecf25e2f.system.entry.js → p-91be5d76.system.entry.js} +1 -1
- package/lib/duet/{p-33ee2b28.entry.js → p-9361e0ff.entry.js} +1 -1
- package/lib/duet/{p-844d9170.entry.js → p-936f0051.entry.js} +1 -1
- package/lib/duet/{p-4421763f.entry.js → p-961dc1b6.entry.js} +1 -1
- package/lib/duet/{p-1830fafe.entry.js → p-98af4e91.entry.js} +1 -1
- package/lib/duet/p-9921468e.entry.js +4 -0
- package/lib/duet/{p-d63c92fc.system.js → p-99ffd1cf.system.js} +1 -1
- package/lib/duet/{p-03e76030.system.entry.js → p-9ae77fe6.system.entry.js} +1 -1
- package/lib/duet/{p-d1c7c87b.entry.js → p-9dc97ec5.entry.js} +1 -1
- package/lib/duet/{p-8a02bd75.system.entry.js → p-a2f05f0b.system.entry.js} +1 -1
- package/lib/duet/{p-4dd14bc1.system.entry.js → p-a8527a22.system.entry.js} +1 -1
- package/lib/duet/{p-7930882f.entry.js → p-aaa700a4.entry.js} +1 -1
- package/lib/duet/{p-5c01b990.entry.js → p-ac643c4d.entry.js} +1 -1
- package/lib/duet/p-adcfa80c.system.entry.js +4 -0
- package/lib/duet/{p-442cac9c.entry.js → p-af4c5e2b.entry.js} +1 -1
- package/lib/duet/{p-04e49b2e.system.entry.js → p-b083c7df.system.entry.js} +1 -1
- package/lib/duet/p-b1b64718.system.entry.js +4 -0
- package/lib/duet/{p-f6ada3f6.entry.js → p-b4018154.entry.js} +1 -1
- package/lib/duet/{p-a03fcf76.system.js → p-b65f6339.system.js} +1 -1
- package/lib/duet/{p-f7a30994.system.entry.js → p-b728fce7.system.entry.js} +1 -1
- package/lib/duet/p-b84841d7.js +4 -0
- package/lib/duet/{p-bffda5ab.entry.js → p-baaa9e94.entry.js} +1 -1
- package/lib/duet/{p-1390ae19.entry.js → p-be26ac3a.entry.js} +1 -1
- package/lib/duet/{p-73666dbd.entry.js → p-c0020521.entry.js} +1 -1
- package/lib/duet/p-c157389b.system.entry.js +4 -0
- package/lib/duet/{p-d977fe38.system.entry.js → p-c371758a.system.entry.js} +1 -1
- package/lib/duet/{p-85167dd4.entry.js → p-c4e34a8e.entry.js} +1 -1
- package/lib/duet/{p-9c201da2.entry.js → p-c60c40a2.entry.js} +1 -1
- package/lib/duet/{p-f740cd96.entry.js → p-c70b52b6.entry.js} +1 -1
- package/lib/duet/{p-8b350472.system.entry.js → p-c9751b3c.system.entry.js} +1 -1
- package/lib/duet/{p-25bfda5f.system.entry.js → p-cb279bed.system.entry.js} +1 -1
- package/lib/duet/{p-14f51a29.entry.js → p-cd27da84.entry.js} +1 -1
- package/lib/duet/p-cff34f13.entry.js +4 -0
- package/lib/duet/{p-60ef6c46.system.entry.js → p-d06d2098.system.entry.js} +1 -1
- package/lib/duet/{p-e124ed8c.system.entry.js → p-d3e245f0.system.entry.js} +1 -1
- package/lib/duet/{p-68d50809.system.entry.js → p-d6368121.system.entry.js} +1 -1
- package/lib/duet/{p-c6e60d08.system.entry.js → p-d647ef97.system.entry.js} +1 -1
- package/lib/duet/{p-2fe6628e.system.entry.js → p-d6a2cc77.system.entry.js} +1 -1
- package/lib/duet/{p-3cd37502.entry.js → p-d6afc825.entry.js} +1 -1
- package/lib/duet/{p-41a3f8ed.entry.js → p-d8fadd2d.entry.js} +1 -1
- package/lib/duet/{p-7d050716.system.entry.js → p-dc3646e2.system.entry.js} +1 -1
- package/lib/duet/p-e63f5ff5.js +4 -0
- package/lib/duet/{p-5aeec4ac.system.entry.js → p-e6f40951.system.entry.js} +1 -1
- package/lib/duet/p-e70fad83.entry.js +4 -0
- package/lib/duet/{p-077813ae.entry.js → p-e8777cf4.entry.js} +1 -1
- package/lib/duet/{p-22f40c48.system.entry.js → p-eb237688.system.entry.js} +1 -1
- package/lib/duet/p-eb7b2984.system.entry.js +4 -0
- package/lib/duet/{p-f482b5af.system.entry.js → p-ebb0b51d.system.entry.js} +1 -1
- package/lib/duet/{p-85696a8e.entry.js → p-ec22154d.entry.js} +1 -1
- package/lib/duet/{p-f78b9d60.system.js → p-ed810e76.system.js} +1 -1
- package/lib/duet/{p-618a0f3a.entry.js → p-edb65a28.entry.js} +1 -1
- package/lib/duet/{p-024c34d9.system.entry.js → p-f1beb947.system.entry.js} +1 -1
- package/lib/duet/{p-5a1dbce7.system.entry.js → p-f3587718.system.entry.js} +1 -1
- package/lib/duet/{p-a04ebea2.system.entry.js → p-f58cbc59.system.entry.js} +1 -1
- package/lib/duet/{p-3c438fec.entry.js → p-f7b6fecb.entry.js} +1 -1
- package/lib/duet/{p-808d9dc7.system.entry.js → p-f835eb92.system.entry.js} +2 -2
- package/lib/duet/p-f89feeb2.entry.js +4 -0
- package/lib/duet/{p-bc44defc.system.entry.js → p-f947b5c5.system.entry.js} +1 -1
- package/lib/duet/{p-1425b59f.entry.js → p-f9b9fbf5.entry.js} +1 -1
- package/lib/duet/{p-e2e84fa3.system.entry.js → p-fae74a37.system.entry.js} +1 -1
- package/lib/duet/{p-35d651a8.system.entry.js → p-fb9c9879.system.entry.js} +1 -1
- package/lib/duet/{p-e5f1e38a.js → p-fbc59efc.js} +1 -1
- package/lib/duet/{p-0aaac3fd.system.entry.js → p-fe9adf7c.system.entry.js} +1 -1
- package/lib/duet/{p-02aca5ee.system.entry.js → p-ff97f8e4.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-d44f1172.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm/{app-globals-5ec0d260.js → app-globals-db5be99e.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +4 -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 +12 -12
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +13 -12
- package/lib/esm/duet-card.entry.js +4 -4
- 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 +4 -4
- 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 +5 -5
- 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 +4 -4
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +6 -5
- package/lib/esm/duet-hero.entry.js +4 -4
- 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 +7 -7
- 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 +39 -20
- 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 +14 -14
- 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 +7 -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 +7 -7
- 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 +4 -4
- 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 +6 -6
- 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 +8 -8
- 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-f17cc5a4.js} +1 -1
- package/lib/esm/{focus-utils-0d727936.js → focus-utils-28046c5d.js} +1 -1
- package/lib/esm/{index-5757a151.js → index-04630419.js} +5 -1
- package/lib/esm/{language-utils-1aea3619.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-03502471.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm/{themeable-component-e507940b.js → themeable-component-ddf67193.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-87967050.js} +1 -1
- package/lib/esm-es5/{app-globals-5ec0d260.js → app-globals-db5be99e.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 +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-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 +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-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 +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 +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-f17cc5a4.js} +1 -1
- package/lib/esm-es5/{focus-utils-0d727936.js → focus-utils-28046c5d.js} +1 -1
- package/lib/esm-es5/index-04630419.js +4 -0
- package/lib/esm-es5/{language-utils-1aea3619.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-03502471.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm-es5/{themeable-component-e507940b.js → themeable-component-ddf67193.js} +1 -1
- package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
- 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 +103 -4
- 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-1b355115.entry.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-3ea64651.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-519fef05.system.js +0 -4
- package/lib/duet/p-5de30279.js +0 -4
- package/lib/duet/p-62ba7ee2.entry.js +0 -4
- package/lib/duet/p-63a67247.js +0 -4
- package/lib/duet/p-662c351a.system.js +0 -4
- package/lib/duet/p-78033ea5.js +0 -4
- package/lib/duet/p-79562f98.entry.js +0 -4
- package/lib/duet/p-836bee60.system.entry.js +0 -4
- package/lib/duet/p-8975b5ee.entry.js +0 -4
- package/lib/duet/p-8c1442ff.entry.js +0 -4
- package/lib/duet/p-9508ee67.system.js +0 -4
- package/lib/duet/p-9608ad22.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-d87768a3.entry.js +0 -4
- package/lib/duet/p-f38adc18.entry.js +0 -4
- package/lib/esm-es5/index-5757a151.js +0 -4
- package/lib/esm-es5/token-utils-7360bb84.js +0 -4
|
@@ -456,14 +456,14 @@
|
|
|
456
456
|
.duet-button.plain.duet-p-0 .duet-button-contents {
|
|
457
457
|
height: auto;
|
|
458
458
|
}
|
|
459
|
-
.duet-button.plain[disabled] {
|
|
459
|
+
.duet-button.plain[disabled], .duet-button.plain[disabled]:hover {
|
|
460
460
|
color: rgb(98, 121, 138) !important;
|
|
461
461
|
cursor: not-allowed;
|
|
462
462
|
background: transparent !important;
|
|
463
463
|
border-color: transparent !important;
|
|
464
464
|
}
|
|
465
|
-
.duet-theme-turva .duet-button.plain[disabled] {
|
|
466
|
-
color:
|
|
465
|
+
.duet-theme-turva .duet-button.plain[disabled], .duet-theme-turva .duet-button.plain[disabled]:hover {
|
|
466
|
+
color: rgb(113, 118, 132) !important;
|
|
467
467
|
cursor: not-allowed;
|
|
468
468
|
background: transparent !important;
|
|
469
469
|
border-color: rgb(222, 224, 228) !important;
|
|
@@ -665,9 +665,11 @@
|
|
|
665
665
|
color: rgb(255, 255, 255) !important;
|
|
666
666
|
}
|
|
667
667
|
:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover {
|
|
668
|
-
color:
|
|
668
|
+
color: #8c001e !important;
|
|
669
669
|
}
|
|
670
|
-
:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled] {
|
|
670
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover {
|
|
671
|
+
color: #5f7a8f !important;
|
|
672
|
+
background: transparent !important;
|
|
671
673
|
border-color: #fbe1d1 !important;
|
|
672
674
|
}
|
|
673
675
|
:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square {
|
|
@@ -681,6 +683,13 @@
|
|
|
681
683
|
border-color: #e61740;
|
|
682
684
|
outline-color: #e61740;
|
|
683
685
|
}
|
|
686
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover, :host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled], :host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover {
|
|
687
|
+
color: #7891a4 !important;
|
|
688
|
+
cursor: not-allowed;
|
|
689
|
+
background: #d4dde2 !important;
|
|
690
|
+
border-color: #d4dde2 !important;
|
|
691
|
+
outline-color: #d4dde2 !important;
|
|
692
|
+
}
|
|
684
693
|
:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default {
|
|
685
694
|
color: #e61740;
|
|
686
695
|
}
|
|
@@ -173,12 +173,12 @@ export class DuetButton {
|
|
|
173
173
|
// enforce consistency for external links
|
|
174
174
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
175
175
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
176
|
-
const commonChildren = (h("span", { key: '
|
|
176
|
+
const commonChildren = (h("span", { key: '4b6618222c037ec329c118f7ad247b9fd514e878', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (h("span", { key: '67492c9b50231879ba232f7c6bcdadcb2d219875', "aria-hidden": "true", class: {
|
|
177
177
|
"duet-button-icon": true,
|
|
178
178
|
left: !iconRight,
|
|
179
179
|
right: iconRight,
|
|
180
180
|
[this.getButtonIconSize()]: true,
|
|
181
|
-
} }, h("duet-icon", { key: '
|
|
181
|
+
} }, h("duet-icon", { key: 'fce0630d78df187c2a7f3946ff3d262c43e5ce95', size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { key: '34d608211bac6921c4aec51f71a9b33e2ac2b7b0', class: "duet-button-contents-slot" }, h("slot", { key: 'b2478d851993c148be6a83a76f9f725469bc9944' }))));
|
|
182
182
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
183
183
|
const commonProps = {
|
|
184
184
|
onFocus: this.onFocus,
|
|
@@ -213,7 +213,7 @@ export class DuetButton {
|
|
|
213
213
|
"aria-details": this.accessibleDetails,
|
|
214
214
|
"aria-description": this.accessibleDescription,
|
|
215
215
|
};
|
|
216
|
-
return (h(Host, { key: '
|
|
216
|
+
return (h(Host, { key: 'c70e2d9cbe884c7b6cc3012721f01ce6d54b4555', class: {
|
|
217
217
|
"duet-m-0": this.margin === "none",
|
|
218
218
|
"duet-small": this.size === "small",
|
|
219
219
|
"duet-x-small": this.size === "x-small",
|
|
@@ -221,13 +221,13 @@ export class DuetButton {
|
|
|
221
221
|
"duet-expand": this.expand,
|
|
222
222
|
[this.variation]: true,
|
|
223
223
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
224
|
-
} }, h("span", { key: '
|
|
224
|
+
} }, h("span", { key: 'c8be7792d2ae572befbfbe921a3ec453c073637d', onClick: this.handleClick, class: {
|
|
225
225
|
"duet-button-container": true,
|
|
226
226
|
"duet-button-is-loading": this.loading,
|
|
227
227
|
"duet-theme-turva": this.theme === "turva",
|
|
228
228
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
229
229
|
[this.variation]: true,
|
|
230
|
-
} }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: '
|
|
230
|
+
} }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: 'da956cda627d2afc5084ee69629b54ffabcb672b', color: "currentColor" })), h("slot", { key: '0ead01a475d6242c0049a259f9b9c725830d4b80', name: "proxybutton" })));
|
|
231
231
|
}
|
|
232
232
|
static get is() { return "duet-button"; }
|
|
233
233
|
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: '85f99d167ac281ddceb8a8a69da07d854be973f7' }, h("div", { key: '14ccbc1c5d5f56368fefdcfa8ac2b48f46c3e0b7', 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: 'fe2a9c932a02907cda19e0f258e36a1c5a83a1bc', class: "container" }, h("duet-icon", { key: 'f9ddcf0c22344b4490cd3433e4d85e644a8b4e63', 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: '11b22131f070c316b6cadd833f0fb5d12bf0ed4a' }, h("slot", { key: '6448a4a8b760c12a583b4454c183f32c26a8e4cf' })), this.hasAuthorSlot && (h("figcaption", { key: '3d98ce3b4e9a1d81ba99d1c8cbb38eacc91bb2d0', class: "author" }, h("span", { key: '9a8f0ab6cbeba79793fbc1926924e4d4acc3cf5b' }, "\u2014 "), h("slot", { key: '928a1113e8f44b3f6439a9ce1ec5f96771b95270', name: "author" })))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-callout"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '8f8df4562a1d37c1e3ced47dace2f8ca487a9f73', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'b803f9fe255ac6166546a8a0398b4958d46cd0df', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: 'a284f559c645796efaa1fd9e74a7d1544154b26f', 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: 'e17c92da194bbedbd6f4159efabad9321c52fa49', class: "duet-checkmark" })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "duet-checkmark"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -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: 'cc92ac8c254dd4d8059e41dc84a0885936486939', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '95dcbf611c7ffa2e00d4e3413b4e5d4ef76007d4', 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: 'cb2b61b56ea9cbfd80aec1c7c280cc35b7704306' }, this.name && (h("duet-heading", { key: 'd7ce3e63272101a9f8a4cd7d3f259a4ffdbe746d', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: 'aea14ddd85a3568d5b77a49e56df6ac76540a3a9', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '323330c4a1a8c188827cd7eeaf9e215706b23b62', class: "email" }, h("duet-icon", { key: '33ae4ab4b3b810d5f48494adad568458f627b07a', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '84ce51f0721ede904044fee80b8cbf86e66b1ec8', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '7c63f2689781c66d80d32415cf200bd968fe347c', class: "phone" }, h("duet-icon", { key: '6a56352c7a808bedf087a8b60edd2579dbddef4b', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'b2b78cbff49648d799b020ee52ce54f412285b13', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: '9a24e774e65e1f9cdd587f8ccfd8a3bf6ac57e10', class: "call-to-action" }, h("duet-button", { key: '7c7e4b45dc28293a9f44a71d07ad4c6a6882364a', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '85e9b10271e93b14e8e5a2821d72e7ee5ff4f194' }), h("slot", { key: 'ba84e396a9e346ff2f9cbc7c9dd66d4eefdbe2d7' }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "duet-contact-card"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: 'faf60f2966a89f4867cf37db394585f73fff686e', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'f020b6ec6801a8b83c9a5bc93a43d7a35d7506ce', "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: '66b5ccbde158c98f27fbc6a46a4e6a6df23ff898', id: this.labelId }, h(this.labelHeadingLevel, { key: '45be33f32735066278ab2b9f3b809014d0f9676b' }, this.label), this.caption && h("span", { key: 'e544fb508d9001319a7f3a4f3b4b5ec8166f8025' }, this.caption)), h("div", { key: 'f0ad41b915201af1a2f9d95e9f9829d0bfdae2e6', 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: '5a632f1718ae040c523fec5d67abe8b7150c62a6', class: "duet-fieldset-label" }, h("span", { key: '96af5bd097ce6c732cabfeeed24ad70acbc0242f', "aria-hidden": "true" }, this.label), h("slot", { key: 'a9d4abbfbc6586fc072f15d0ada1e0678581eea3', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '09060f463be57b59b6a313dbf51961197a567f40', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'd5f8281d4970d4e26290d3163188afea4b286694', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '3e8180e636e2ec3000f4d21dd9ee50dc12f396f6' }), h("span", { key: 'fc0dc472b4ef27d06a1272f621c936f14ffa1de4', 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: '8586a6c9b1a32ed3e780a0d7233664bce741c3b6', 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 &&
|
|
@@ -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: 'cbb8e9ecd29edef7aada30fcbfde72cf18a5a15c', 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: '49a62f09762e014cabe70185e4dd3d351a278d4e', "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: 'c4d3ca6e54186214e4e7f85537357fa8abc2e778', "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: 'd248d82ba7bfbff36991e0556e609b323b6014c6', class: {
|
|
126
127
|
[`duet-link-${this.variation}`]: true,
|
|
127
128
|
"duet-m-0": this.margin === "none",
|
|
128
|
-
} }, h(Tag, { key: '
|
|
129
|
+
} }, h(Tag, { key: '2ae7983d8583c570630c527645ff52c3ddeba010', 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: '734a0dd51a59bbd182a84e31cec8c847bd9b370c', 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: '59e34a2877b7e9c431591276bb3f374e7af6b466' }, h("slot", { key: 'fd6b41b97d6e20e053e3f0f4bfec3f4263819aae', name: "label" })), h("dd", { key: '97aed5f53aa1668d3bae6f2e979e6ed4d99c2026' }, h("slot", { key: 'b89a250df02b8731d5f736da444873b8a257a39a', 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: 'b43562922266653eeb9879dd3eda29b8a5a1b04c', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '29c67b30de26740dec3dac49d2c14a2ed6059270', 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: '9e4a9f1891791aa2bce3c66e7a6b0fce95e247f4', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '11d9a8886ba0e00caea9ac34e68454ada2e2582d' }))));
|
|
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: '686fce2ec763461a60c924fc09846f5a54138106', role: "listitem" }, h("div", { key: 'eefdc59f23daad325ab0dce1113fb862ad4ee5cf', 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: 'baee9aee708d71ee63326c30a8f871a73eb2297e', 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: 'cace1bca4eb588cdbd321b82059fefc9adbc8c47', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '58257618f35379178d9c22a95ed14501fba88154', class: "label" }, h("slot", { key: '57eb7d37a9d7c02e1d29b97e9140f2bab43a767a', name: "label" }), h("duet-icon", { key: 'f11313315fb6e2aad23163bcb58c5c06f0a1e2af', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '9d6bc3e367dca79313d11178ee788a3407d03ec7', 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: '9ff49f8c44510abf631a06bcb4b690058a3840ed' })))));
|
|
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: 'f77b08c5717947e146d8d67fdc55fefc66fce761' }, h("a", { key: 'b9a4069fc0b35e532944250e4d715984973ba085', 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: 'fa9e331e3d9d8cc74c4fd5f7471e607e058fcf53', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '64c5c1d666ded1b933657386f8eec8fb4068fe84' }))));
|
|
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: '135b92b36c52ad014567c93c0bfacff2001f16ef', role: "listitem" }, h(TagName, { key: 'd8772442ee0a49f7c300c398ef4021acf0fb74f0', 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: '31ac80c4f12447cadcd0def7a2941a98d063a1cc', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '1f9e4b935f68d57288190e3572dabe90c2c49efb' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '24c559a7d56a2adce2fc4aa7d00c2eb5682c2c8e', 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: '27e73349cd24930dd1d7ddee302de2260471c5a8', role: "listitem" }, h("a", { key: '524e83c821e67703be8ec2cdb09e937d04202ff2', 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: 'e85b83e58a78898ca57f6db72178915e4cad29f5', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '11758cbe02d818cb5f5f7af2a8832d1712c99fa5' }))));
|
|
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>",
|