@duetds/components 9.14.0 → 9.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +231 -196
- package/lib/cjs/{a11y-utils-a934645c.js → a11y-utils-741fad59.js} +1 -1
- package/lib/cjs/{app-globals-6b9852f3.js → app-globals-c5cb9046.js} +1 -1
- package/lib/cjs/{common-strings-a54bbf77.js → common-strings-92c2f034.js} +23 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +20 -32
- package/lib/cjs/duet-badge.cjs.entry.js +16 -4
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +9 -9
- package/lib/cjs/duet-card.cjs.entry.js +8 -7
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +28 -21
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +18 -8
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -6
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +6 -6
- 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 +4 -4
- 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 +3 -3
- package/lib/cjs/duet-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +23 -20
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +8 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
- 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 +7 -7
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-9ce7ca99.js → errorcodes.utils-699bddbb.js} +1 -1
- package/lib/cjs/{focus-utils-fa11f04b.js → focus-utils-4a07d896.js} +1 -1
- package/lib/cjs/{index-3d15fb5e.js → index-80fa07e3.js} +1 -1
- package/lib/cjs/{language-utils-eaec2648.js → language-utils-ce60d2a9.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-61317778.js → slot-utils-9c5efe2a.js} +1 -1
- package/lib/cjs/{themeable-component-46222401.js → themeable-component-1307284b.js} +1 -1
- package/lib/collection/common-strings.js +22 -0
- package/lib/collection/components/duet-alert/duet-alert.js +17 -29
- package/lib/collection/components/duet-badge/duet-badge.js +13 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +31 -4
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +0 -21
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +23 -14
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-hero/duet-hero.css +95 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- 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-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +4 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-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-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +14 -11
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +9 -7
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +31 -22
- package/lib/dist-custom-elements/duet-choice.js +5 -7
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +26 -16
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +8 -8
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +11 -11
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +9 -9
- 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 +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-panel.js +1 -1
- 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 +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
- package/lib/dist-custom-elements/duet-share-chart.js +6 -4
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +3 -3
- 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 +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +21 -18
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +20 -20
- 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-a69bc735.js → p-0a932f51.js} +1 -1
- package/lib/dist-custom-elements/{p-ee948dc8.js → p-15d1bb49.js} +2 -2
- package/lib/dist-custom-elements/{p-92710b68.js → p-1901a05e.js} +1 -1
- package/lib/dist-custom-elements/{p-05fb2c81.js → p-1b1d5047.js} +4 -4
- package/lib/dist-custom-elements/{p-c7f33aed.js → p-1b591fcd.js} +1 -1
- package/lib/dist-custom-elements/{p-fddb3ec1.js → p-1f2176b1.js} +1 -1
- package/lib/dist-custom-elements/{p-f3b2867a.js → p-2e95d393.js} +3 -3
- package/lib/dist-custom-elements/{p-3471fa90.js → p-2fa067ff.js} +1 -1
- package/lib/dist-custom-elements/{p-d0bc3da2.js → p-307aa29d.js} +1 -1
- package/lib/dist-custom-elements/{p-db2b09ab.js → p-31316d91.js} +1 -1
- package/lib/dist-custom-elements/{p-9f715fa9.js → p-35af6d7a.js} +1 -1
- package/lib/dist-custom-elements/{p-e9c8ad74.js → p-3b352cea.js} +1 -1
- package/lib/dist-custom-elements/{p-a4513f7a.js → p-49fcb05d.js} +2 -2
- package/lib/dist-custom-elements/{p-d04e213c.js → p-4b8be370.js} +12 -12
- package/lib/dist-custom-elements/{p-61b4aec9.js → p-4c68ba95.js} +10 -10
- package/lib/dist-custom-elements/{p-96cabce8.js → p-5d684af3.js} +23 -35
- package/lib/dist-custom-elements/{p-dc970fdb.js → p-5ee14292.js} +1 -1
- package/lib/dist-custom-elements/{p-cc1b78ce.js → p-6098c129.js} +10 -10
- package/lib/dist-custom-elements/{p-85f0068e.js → p-62a4796f.js} +5 -5
- package/lib/dist-custom-elements/{p-65300e85.js → p-66c6751e.js} +5 -5
- package/lib/dist-custom-elements/{p-f479ee47.js → p-6b02ba40.js} +5 -5
- package/lib/dist-custom-elements/{p-5e16131c.js → p-8a6a51b2.js} +1 -1
- package/lib/dist-custom-elements/{p-9ac441e6.js → p-8d68da95.js} +3 -3
- package/lib/dist-custom-elements/{p-81360956.js → p-8debf5b8.js} +2 -2
- package/lib/dist-custom-elements/{p-3a815628.js → p-92467a66.js} +11 -11
- package/lib/dist-custom-elements/{p-f38adca4.js → p-9654a846.js} +5 -5
- package/lib/dist-custom-elements/{p-0a34fa11.js → p-9a9b2708.js} +1 -1
- package/lib/dist-custom-elements/{p-3883f329.js → p-9dc1ec50.js} +5 -5
- package/lib/dist-custom-elements/{p-10893657.js → p-9efbcc67.js} +1 -1
- package/lib/dist-custom-elements/{p-444e732a.js → p-a1876945.js} +5 -5
- package/lib/dist-custom-elements/{p-778364d6.js → p-a20321ec.js} +3 -3
- package/lib/{esm/common-strings-a48b3fba.js → dist-custom-elements/p-b7a93f1c.js} +23 -1
- package/lib/dist-custom-elements/{p-e77ffc34.js → p-d17f51c7.js} +3 -3
- package/lib/dist-custom-elements/{p-36f6ec52.js → p-d3345442.js} +2 -2
- package/lib/dist-custom-elements/{p-d5c72ea3.js → p-dd16af35.js} +4 -4
- package/lib/dist-custom-elements/{p-25f8ea4b.js → p-e371f35d.js} +2 -2
- package/lib/dist-custom-elements/{p-0e0a0525.js → p-e54a1871.js} +21 -4
- package/lib/dist-custom-elements/{p-f290964d.js → p-ea21cb5d.js} +5 -5
- package/lib/dist-custom-elements/{p-b3835995.js → p-f214be38.js} +3 -3
- package/lib/dist-custom-elements/{p-3419cd58.js → p-f5b135c5.js} +8 -8
- package/lib/dist-custom-elements/{p-706a9a13.js → p-ff94cac9.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-7856f483.entry.js → p-0018881b.entry.js} +1 -1
- package/lib/duet/{p-fe9adf7c.system.entry.js → p-007eb67f.system.entry.js} +1 -1
- package/lib/duet/{p-9dc97ec5.entry.js → p-039cbd8d.entry.js} +1 -1
- package/lib/duet/{p-4e21f876.system.entry.js → p-05f7f78d.system.entry.js} +1 -1
- package/lib/duet/{p-6a900d10.entry.js → p-08f39b32.entry.js} +1 -1
- package/lib/duet/{p-19ad52bc.entry.js → p-0ad0afe1.entry.js} +1 -1
- package/lib/duet/{p-961dc1b6.entry.js → p-0bbfb836.entry.js} +1 -1
- package/lib/duet/{p-f947b5c5.system.entry.js → p-0beb2a3f.system.entry.js} +1 -1
- package/lib/duet/{p-11e013dd.entry.js → p-0d9f34ae.entry.js} +1 -1
- package/lib/duet/{p-4c44b9d0.system.entry.js → p-0dcf3c74.system.entry.js} +1 -1
- package/lib/duet/{p-dc3646e2.system.entry.js → p-0e442247.system.entry.js} +1 -1
- package/lib/duet/{p-322c0015.system.entry.js → p-0ff4932b.system.entry.js} +1 -1
- package/lib/duet/p-1192e8c9.entry.js +4 -0
- package/lib/duet/{p-8e7af8a4.system.entry.js → p-137beb16.system.entry.js} +1 -1
- package/lib/duet/{p-adcfa80c.system.entry.js → p-14ffb5c1.system.entry.js} +1 -1
- package/lib/duet/{p-463b0d7a.entry.js → p-15694ea7.entry.js} +1 -1
- package/lib/duet/{p-f7b6fecb.entry.js → p-17a1f7cd.entry.js} +1 -1
- package/lib/duet/p-18b56724.entry.js +4 -0
- package/lib/duet/{p-8a9fb89c.system.entry.js → p-18c66326.system.entry.js} +1 -1
- package/lib/duet/{p-c157389b.system.entry.js → p-1a46c899.system.entry.js} +1 -1
- package/lib/duet/{p-a2f05f0b.system.entry.js → p-1b393d78.system.entry.js} +1 -1
- package/lib/duet/{p-7fd0a219.system.js → p-1cc2eb98.system.js} +1 -1
- package/lib/duet/{p-3b9c02b1.entry.js → p-1daaef7a.entry.js} +1 -1
- package/lib/duet/{p-52746f84.entry.js → p-1dc4442a.entry.js} +1 -1
- package/lib/duet/{p-e70fad83.entry.js → p-1dd1cd21.entry.js} +1 -1
- package/lib/duet/{p-0bc88aac.system.entry.js → p-200f57b6.system.entry.js} +1 -1
- package/lib/duet/{p-413fc831.system.entry.js → p-2179e714.system.entry.js} +2 -2
- package/lib/duet/{p-0e4ff2a3.system.entry.js → p-22ab0759.system.entry.js} +1 -1
- package/lib/duet/{p-2ee8e84d.system.entry.js → p-24749596.system.entry.js} +1 -1
- package/lib/duet/p-24954951.js +4 -0
- package/lib/duet/{p-e8777cf4.entry.js → p-2500e9bc.entry.js} +1 -1
- package/lib/duet/{p-62cb44f1.entry.js → p-26b49f30.entry.js} +1 -1
- package/lib/duet/{p-78024429.system.entry.js → p-2bc08ca1.system.entry.js} +1 -1
- package/lib/duet/{p-147f5eb5.entry.js → p-2dc5c7c5.entry.js} +1 -1
- package/lib/duet/{p-75542e0e.entry.js → p-2dddb575.entry.js} +1 -1
- package/lib/duet/{p-f9b9fbf5.entry.js → p-3455bcd6.entry.js} +1 -1
- package/lib/duet/{p-6d5e6c51.system.entry.js → p-367a3dd8.system.entry.js} +1 -1
- package/lib/duet/{p-23d5c3fe.system.entry.js → p-38f30c2b.system.entry.js} +1 -1
- package/lib/duet/{p-38faf7e7.system.entry.js → p-3b816caf.system.entry.js} +1 -1
- package/lib/duet/{p-352b3557.system.entry.js → p-3f3571ae.system.entry.js} +1 -1
- package/lib/duet/{p-1a767c08.system.entry.js → p-3f8dd0b3.system.entry.js} +1 -1
- package/lib/duet/{p-f835eb92.system.entry.js → p-431b0896.system.entry.js} +1 -1
- package/lib/duet/{p-ed810e76.system.js → p-43d6b171.system.js} +1 -1
- package/lib/duet/{p-2e58b3ab.system.entry.js → p-451fe5ef.system.entry.js} +1 -1
- package/lib/duet/{p-4215bd92.system.entry.js → p-460c0029.system.entry.js} +1 -1
- package/lib/duet/{p-cb279bed.system.entry.js → p-47fd41c6.system.entry.js} +1 -1
- package/lib/duet/{p-704b8b7e.entry.js → p-48452fe6.entry.js} +1 -1
- package/lib/duet/{p-2e7454bd.system.entry.js → p-484c1cc2.system.entry.js} +1 -1
- package/lib/duet/{p-ebb0b51d.system.entry.js → p-4a7a6dcb.system.entry.js} +1 -1
- package/lib/duet/p-4ac878dd.system.entry.js +4 -0
- package/lib/duet/{p-52d80d96.js → p-50cb674e.js} +1 -1
- package/lib/duet/p-510aee05.entry.js +4 -0
- package/lib/duet/{p-07d21021.system.entry.js → p-531d399b.system.entry.js} +1 -1
- package/lib/duet/{p-9361e0ff.entry.js → p-544a2e7d.entry.js} +1 -1
- package/lib/duet/{p-83c0cfed.entry.js → p-552be4d4.entry.js} +1 -1
- package/lib/duet/{p-f58cbc59.system.entry.js → p-55eab330.system.entry.js} +1 -1
- package/lib/duet/{p-76c797cb.system.entry.js → p-56c024f4.system.entry.js} +1 -1
- package/lib/duet/{p-f3587718.system.entry.js → p-57b716e6.system.entry.js} +1 -1
- package/lib/duet/p-583b4f49.js +4 -0
- package/lib/duet/{p-7a022fb4.system.entry.js → p-58b34a23.system.entry.js} +1 -1
- package/lib/duet/{p-8cbe7888.system.entry.js → p-58d2375e.system.entry.js} +1 -1
- package/lib/duet/p-58f4c4ef.system.entry.js +4 -0
- package/lib/duet/{p-d6a2cc77.system.entry.js → p-5afe6d8e.system.entry.js} +1 -1
- package/lib/duet/{p-c70b52b6.entry.js → p-5b0337d8.entry.js} +1 -1
- package/lib/duet/{p-2a542c6a.entry.js → p-5b0f2f3d.entry.js} +1 -1
- package/lib/duet/{p-628a59a6.entry.js → p-5bcce1c4.entry.js} +1 -1
- package/lib/duet/{p-8f55b49a.system.entry.js → p-5cb10012.system.entry.js} +1 -1
- package/lib/duet/{p-d3e245f0.system.entry.js → p-5d987b8d.system.entry.js} +2 -2
- package/lib/duet/{p-cd27da84.entry.js → p-5e1045dc.entry.js} +1 -1
- package/lib/duet/{p-854605a6.js → p-5e658b40.js} +1 -1
- package/lib/duet/{p-89f89a39.system.entry.js → p-6015aa05.system.entry.js} +2 -2
- package/lib/duet/{p-49b6f9a1.entry.js → p-601e275c.entry.js} +1 -1
- package/lib/duet/p-60636c0f.js +4 -0
- package/lib/duet/{p-6f46b9da.system.entry.js → p-6106103e.system.entry.js} +1 -1
- package/lib/duet/{p-b728fce7.system.entry.js → p-612fe73a.system.entry.js} +1 -1
- package/lib/duet/p-61b2c1c9.entry.js +4 -0
- package/lib/duet/{p-7ce8fc32.system.entry.js → p-61bb70ea.system.entry.js} +2 -2
- package/lib/duet/{p-08f594ea.entry.js → p-6314d434.entry.js} +1 -1
- package/lib/duet/{p-6a4e23b5.entry.js → p-63d23d82.entry.js} +1 -1
- package/lib/duet/{p-20170d5a.entry.js → p-66dd8b2f.entry.js} +1 -1
- package/lib/duet/{p-c0020521.entry.js → p-6703c635.entry.js} +1 -1
- package/lib/duet/{p-99ffd1cf.system.js → p-694e5a97.system.js} +1 -1
- package/lib/duet/{p-af4c5e2b.entry.js → p-69b7e6dc.entry.js} +1 -1
- package/lib/duet/{p-7be7fb2c.entry.js → p-6b97b58c.entry.js} +1 -1
- package/lib/duet/p-6cdc13f4.entry.js +4 -0
- package/lib/duet/{p-d8fadd2d.entry.js → p-6ceeb4c1.entry.js} +1 -1
- package/lib/duet/{p-98af4e91.entry.js → p-6ec3fa80.entry.js} +1 -1
- package/lib/duet/{p-edb65a28.entry.js → p-6eed12c2.entry.js} +1 -1
- package/lib/duet/{p-eb7b2984.system.entry.js → p-6fb7afac.system.entry.js} +1 -1
- package/lib/duet/{p-2162fe62.entry.js → p-71507957.entry.js} +1 -1
- package/lib/duet/p-729bb657.entry.js +4 -0
- package/lib/duet/p-72baa999.entry.js +4 -0
- package/lib/duet/{p-430ef395.entry.js → p-72e617b1.entry.js} +1 -1
- package/lib/duet/{p-0e013c22.system.entry.js → p-72f4c54a.system.entry.js} +1 -1
- package/lib/duet/{p-8637a449.js → p-75a66b82.js} +1 -1
- package/lib/duet/{p-564022f1.entry.js → p-75eda30d.entry.js} +1 -1
- package/lib/duet/p-78df5993.entry.js +4 -0
- package/lib/duet/{p-16e80004.entry.js → p-7c597c01.entry.js} +1 -1
- package/lib/duet/p-7d4fb1da.system.js +4 -0
- package/lib/duet/{p-c371758a.system.entry.js → p-7f50e5e3.system.entry.js} +1 -1
- package/lib/duet/{p-86d288e5.entry.js → p-7f5b3bb1.entry.js} +1 -1
- package/lib/duet/{p-4a54ae2a.system.entry.js → p-80121038.system.entry.js} +2 -2
- package/lib/duet/{p-86929bf6.entry.js → p-8173aad1.entry.js} +1 -1
- package/lib/duet/{p-786418b7.system.entry.js → p-81dbbba7.system.entry.js} +1 -1
- package/lib/duet/{p-2c15a77e.entry.js → p-8303c23a.entry.js} +1 -1
- package/lib/duet/{p-119d8a9d.entry.js → p-8497c4a3.entry.js} +1 -1
- package/lib/duet/p-87633fff.system.js +4 -0
- package/lib/duet/p-8911207e.entry.js +4 -0
- package/lib/duet/p-894105da.entry.js +4 -0
- package/lib/duet/{p-18b21048.entry.js → p-8a7cfab8.entry.js} +1 -1
- package/lib/duet/{p-344834d8.system.entry.js → p-8c80b769.system.entry.js} +1 -1
- package/lib/duet/{p-ec22154d.entry.js → p-8ef88917.entry.js} +1 -1
- package/lib/duet/{p-fae74a37.system.entry.js → p-8fa3a4db.system.entry.js} +1 -1
- package/lib/duet/{p-2d14dafa.system.entry.js → p-930ea887.system.entry.js} +1 -1
- package/lib/duet/{p-17f215e8.entry.js → p-95137492.entry.js} +1 -1
- package/lib/duet/{p-593df331.entry.js → p-969327bd.entry.js} +1 -1
- package/lib/duet/{p-9921468e.entry.js → p-9715fa3d.entry.js} +1 -1
- package/lib/duet/p-9bff6ed8.entry.js +4 -0
- package/lib/duet/{p-c60c40a2.entry.js → p-9e93e46d.entry.js} +1 -1
- package/lib/duet/{p-3a75e6d3.entry.js → p-9f6fe3bd.entry.js} +1 -1
- package/lib/duet/{p-13f4076a.system.entry.js → p-9fe084e8.system.entry.js} +2 -2
- package/lib/duet/{p-44b3eb2c.entry.js → p-a12e5499.entry.js} +1 -1
- package/lib/duet/{p-0c16128f.entry.js → p-a20eeb3a.entry.js} +1 -1
- package/lib/duet/{p-a8527a22.system.entry.js → p-a3c50037.system.entry.js} +1 -1
- package/lib/duet/{p-07dd4405.system.entry.js → p-a48a6cf9.system.entry.js} +1 -1
- package/lib/duet/{p-baaa9e94.entry.js → p-a4f3a6d6.entry.js} +1 -1
- package/lib/duet/{p-01fe0f34.js → p-a68a90f3.js} +1 -1
- package/lib/duet/{p-903d05d9.system.entry.js → p-aa224793.system.entry.js} +1 -1
- package/lib/duet/{p-f1beb947.system.entry.js → p-aca600ee.system.entry.js} +1 -1
- package/lib/duet/{p-5c271084.system.entry.js → p-acac731e.system.entry.js} +1 -1
- package/lib/duet/{p-75e72c46.system.entry.js → p-ae3c38ec.system.entry.js} +1 -1
- package/lib/duet/{p-561dd467.system.entry.js → p-aee53cdc.system.entry.js} +1 -1
- package/lib/duet/{p-b65f6339.system.js → p-b197d195.system.js} +1 -1
- package/lib/duet/{p-4989501c.entry.js → p-b21962b0.entry.js} +1 -1
- package/lib/duet/{p-d647ef97.system.entry.js → p-b230c327.system.entry.js} +1 -1
- package/lib/duet/{p-936f0051.entry.js → p-b275f92a.entry.js} +1 -1
- package/lib/duet/{p-2455cbff.system.entry.js → p-b57e1a16.system.entry.js} +1 -1
- package/lib/duet/{p-89d45610.entry.js → p-b70e378a.entry.js} +1 -1
- package/lib/duet/p-b7f0f071.entry.js +4 -0
- package/lib/duet/p-bb3cd264.system.entry.js +4 -0
- package/lib/duet/{p-268d9b35.entry.js → p-c1652045.entry.js} +1 -1
- package/lib/duet/{p-82733ff7.entry.js → p-c16d08b2.entry.js} +1 -1
- package/lib/duet/{p-72b4c06f.js → p-c4a1cfd6.js} +1 -1
- package/lib/duet/{p-56bada0c.system.entry.js → p-c57ed342.system.entry.js} +1 -1
- package/lib/duet/{p-8edc7ed6.entry.js → p-c6b0afdd.entry.js} +1 -1
- package/lib/duet/{p-22932c08.system.entry.js → p-c7302b85.system.entry.js} +1 -1
- package/lib/duet/{p-670f33d1.system.js → p-c9798a8d.system.js} +1 -1
- package/lib/duet/p-cddad487.system.js +4 -0
- package/lib/duet/{p-2a96f88a.system.entry.js → p-cdfca639.system.entry.js} +1 -1
- package/lib/duet/{p-08f64c06.entry.js → p-ce447833.entry.js} +1 -1
- package/lib/duet/{p-201895ea.system.entry.js → p-d08d078b.system.entry.js} +1 -1
- package/lib/duet/{p-ac643c4d.entry.js → p-d1814664.entry.js} +1 -1
- package/lib/duet/{p-713918d1.system.entry.js → p-d28853ae.system.entry.js} +1 -1
- package/lib/duet/{p-42a0205d.entry.js → p-d3b64256.entry.js} +1 -1
- package/lib/duet/{p-11262ef8.system.entry.js → p-d3f723cf.system.entry.js} +1 -1
- package/lib/duet/{p-6db869c9.system.entry.js → p-d42f9e4f.system.entry.js} +1 -1
- package/lib/duet/p-d4630d55.system.js +4 -0
- package/lib/duet/{p-34485370.system.entry.js → p-d4859ceb.system.entry.js} +1 -1
- package/lib/duet/{p-1c2dcb63.entry.js → p-d5f395c0.entry.js} +1 -1
- package/lib/duet/{p-10310520.entry.js → p-d67c45eb.entry.js} +1 -1
- package/lib/duet/{p-22349ab1.system.entry.js → p-d71b8774.system.entry.js} +1 -1
- package/lib/duet/{p-901f7bd1.entry.js → p-d9a2772b.entry.js} +1 -1
- package/lib/duet/{p-fbc59efc.js → p-d9cafc77.js} +1 -1
- package/lib/duet/{p-0cef5003.system.entry.js → p-db82eb02.system.entry.js} +1 -1
- package/lib/duet/{p-5f678caa.entry.js → p-dc812f17.entry.js} +1 -1
- package/lib/duet/{p-c9751b3c.system.entry.js → p-de0a91b3.system.entry.js} +1 -1
- package/lib/duet/{p-7d63b0c0.entry.js → p-e007c11a.entry.js} +1 -1
- package/lib/duet/p-e24ab988.system.entry.js +4 -0
- package/lib/duet/{p-e6f40951.system.entry.js → p-e2949e43.system.entry.js} +1 -1
- package/lib/duet/p-e34ddfda.system.entry.js +4 -0
- package/lib/duet/{p-6a718c27.system.entry.js → p-e3a21063.system.entry.js} +1 -1
- package/lib/duet/p-e6cd1ffb.system.js +4 -0
- package/lib/duet/{p-b083c7df.system.entry.js → p-eb157d71.system.entry.js} +1 -1
- package/lib/duet/{p-ff97f8e4.system.entry.js → p-f052ccf2.system.entry.js} +1 -1
- package/lib/duet/{p-5b583276.entry.js → p-f0dce24e.entry.js} +1 -1
- package/lib/duet/{p-aaa700a4.entry.js → p-f1a06e83.entry.js} +1 -1
- package/lib/duet/{p-d06d2098.system.entry.js → p-f38175f1.system.entry.js} +1 -1
- package/lib/duet/{p-9ae77fe6.system.entry.js → p-f3a26af1.system.entry.js} +1 -1
- package/lib/duet/p-f69dc290.entry.js +4 -0
- package/lib/duet/{p-58d8549a.system.entry.js → p-f756e03d.system.entry.js} +1 -1
- package/lib/duet/{p-c4e34a8e.entry.js → p-f80ef600.entry.js} +1 -1
- package/lib/duet/{p-013232a8.system.entry.js → p-f83e4a46.system.entry.js} +1 -1
- package/lib/duet/{p-48fb5298.entry.js → p-f9536c83.entry.js} +1 -1
- package/lib/duet/{p-6cf2b2b8.entry.js → p-fa2d27c3.entry.js} +1 -1
- package/lib/duet/{p-d6368121.system.entry.js → p-fcb5179d.system.entry.js} +1 -1
- package/lib/duet/{p-eb237688.system.entry.js → p-fe7ba159.system.entry.js} +1 -1
- package/lib/duet/{p-063b31ef.entry.js → p-ff139142.entry.js} +1 -1
- package/lib/duet/{p-fb9c9879.system.entry.js → p-ffe9f317.system.entry.js} +1 -1
- package/lib/duet/p-fff88e02.entry.js +4 -0
- package/lib/esm/{a11y-utils-87967050.js → a11y-utils-fb6d24ef.js} +1 -1
- package/lib/esm/{app-globals-db5be99e.js → app-globals-595167e1.js} +1 -1
- package/lib/{dist-custom-elements/p-9b044291.js → esm/common-strings-1274857d.js} +23 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +20 -32
- package/lib/esm/duet-badge.entry.js +16 -4
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +9 -9
- package/lib/esm/duet-card.entry.js +8 -7
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +28 -21
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +18 -8
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +6 -6
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +5 -5
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +6 -6
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-input_2.entry.js +4 -4
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +8 -8
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +6 -6
- 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 +4 -4
- 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 +3 -3
- package/lib/esm/duet-panel.entry.js +2 -2
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +4 -4
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +5 -5
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +23 -20
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +8 -6
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +11 -11
- package/lib/esm/duet-slideout.entry.js +5 -5
- 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 +7 -7
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +4 -4
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +9 -9
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-f17cc5a4.js → errorcodes.utils-7effaab9.js} +1 -1
- package/lib/esm/{focus-utils-28046c5d.js → focus-utils-2ff60ebe.js} +1 -1
- package/lib/esm/{index-04630419.js → index-4cc3ec50.js} +1 -1
- package/lib/esm/{language-utils-7caf2c7c.js → language-utils-aa864aed.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-e3cda10f.js → slot-utils-28b6b964.js} +1 -1
- package/lib/esm/{themeable-component-ddf67193.js → themeable-component-35ed7853.js} +1 -1
- package/lib/esm-es5/{a11y-utils-87967050.js → a11y-utils-fb6d24ef.js} +1 -1
- package/lib/esm-es5/{app-globals-db5be99e.js → app-globals-595167e1.js} +1 -1
- package/lib/esm-es5/{common-strings-a48b3fba.js → common-strings-1274857d.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-panel.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +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 +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +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-f17cc5a4.js → errorcodes.utils-7effaab9.js} +1 -1
- package/lib/esm-es5/focus-utils-2ff60ebe.js +4 -0
- package/lib/esm-es5/{index-04630419.js → index-4cc3ec50.js} +1 -1
- package/lib/esm-es5/{language-utils-7caf2c7c.js → language-utils-aa864aed.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-e3cda10f.js → slot-utils-28b6b964.js} +1 -1
- package/lib/esm-es5/{themeable-component-ddf67193.js → themeable-component-35ed7853.js} +1 -1
- package/lib/types/common-strings.d.ts +2 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
- package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
- package/lib/types/components/duet-card/duet-card.d.ts +6 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
- package/lib/types/components.d.ts +10 -7
- package/package.json +4 -4
- package/lib/duet/p-13821573.system.entry.js +0 -4
- package/lib/duet/p-1f495ebe.entry.js +0 -4
- package/lib/duet/p-2dd204b0.entry.js +0 -4
- package/lib/duet/p-2fe381b6.entry.js +0 -4
- package/lib/duet/p-378546de.js +0 -4
- package/lib/duet/p-49b696b3.entry.js +0 -4
- package/lib/duet/p-4d81e7f6.system.js +0 -4
- package/lib/duet/p-51717f08.entry.js +0 -4
- package/lib/duet/p-51fc30ef.entry.js +0 -4
- package/lib/duet/p-6b99bf3d.system.js +0 -4
- package/lib/duet/p-72ad70a2.entry.js +0 -4
- package/lib/duet/p-76332920.system.js +0 -4
- package/lib/duet/p-82680aa5.system.js +0 -4
- package/lib/duet/p-834d6b2d.system.entry.js +0 -4
- package/lib/duet/p-870a420d.system.entry.js +0 -4
- package/lib/duet/p-89b2f873.system.js +0 -4
- package/lib/duet/p-8bb2ddda.entry.js +0 -4
- package/lib/duet/p-914292d2.entry.js +0 -4
- package/lib/duet/p-91be5d76.system.entry.js +0 -4
- package/lib/duet/p-b1b64718.system.entry.js +0 -4
- package/lib/duet/p-b4018154.entry.js +0 -4
- package/lib/duet/p-b84841d7.js +0 -4
- package/lib/duet/p-be26ac3a.entry.js +0 -4
- package/lib/duet/p-cc531319.js +0 -4
- package/lib/duet/p-cff34f13.entry.js +0 -4
- package/lib/duet/p-d6afc825.entry.js +0 -4
- package/lib/duet/p-f89feeb2.entry.js +0 -4
- package/lib/esm-es5/focus-utils-28046c5d.js +0 -4
|
@@ -43,6 +43,7 @@ export class DuetCard {
|
|
|
43
43
|
this.headingLevel = "h2";
|
|
44
44
|
this.headingBackground = undefined;
|
|
45
45
|
this.icon = undefined;
|
|
46
|
+
this.iconColor = "currentColor";
|
|
46
47
|
this.image = undefined;
|
|
47
48
|
this.background = "gray-lightest";
|
|
48
49
|
this.padding = "small";
|
|
@@ -74,7 +75,7 @@ export class DuetCard {
|
|
|
74
75
|
const headingStyles = {
|
|
75
76
|
backgroundColor: getColorByName(this.headingBackground),
|
|
76
77
|
};
|
|
77
|
-
const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color:
|
|
78
|
+
const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: this.iconColor }), h("duet-spacer", { direction: "horizontal", size: "small" }))), h("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.secondaryHeading && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("duet-icon", { class: "duet-card-caret", icon: arrowUpIcon.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), h("slot", { name: "below-heading" })));
|
|
78
79
|
if (this.collapsible) {
|
|
79
80
|
const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
|
|
80
81
|
return (h(HeadingTag, { style: headingStyles, class: "duet-card-heading duet-card-heading--collapsible", onClick: this.togglePanel, onKeyDown: this.handleKeyDown }, h("button", { type: "button", "aria-controls": this.cardId, "aria-expanded": this.open ? "true" : "false", "aria-label": ariaLabel }, headingContent)));
|
|
@@ -102,10 +103,10 @@ export class DuetCard {
|
|
|
102
103
|
const styles = {
|
|
103
104
|
backgroundColor: getColorByName(this.background),
|
|
104
105
|
};
|
|
105
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: 'b229fd28e5e5058ba357db373f25c9de68dc2694', class: {
|
|
106
107
|
"duet-m-0": this.margin === "none",
|
|
107
108
|
"duet-card-info": this.variation === "info",
|
|
108
|
-
} }, h(TagName, { key: '
|
|
109
|
+
} }, h(TagName, { key: 'b80082cae6d0e4d564bc1eca68f57749b6975e0e', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
109
110
|
"duet-card": true,
|
|
110
111
|
[this.padding]: true,
|
|
111
112
|
[this.variation]: true,
|
|
@@ -115,7 +116,7 @@ export class DuetCard {
|
|
|
115
116
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
116
117
|
"duet-card-has-icon": !!this.icon,
|
|
117
118
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
118
|
-
} }, this.image && (h("div", { key: '
|
|
119
|
+
} }, this.image && (h("div", { key: 'c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a', class: "duet-card-image-mask" }, h("img", { key: '828ed65b312a0e50257adfa39f25307b13e7d51a', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: '081d59770bc88f9b7bd2a9b25d0bf905ea0d141b', class: "duet-card-content", id: this.cardId }, h("slot", { key: 'ad92895c2eea7a7697bd4924165656e72ee9b1da' }), this.hasFooter && (h("div", { key: '9a920473b4242e87a36032511f982b3e890df463', class: "duet-card-footer" }, h("slot", { key: '41350a63089d579579bca4454a1fcbc27a60b445', name: "footer" })))))));
|
|
119
120
|
}
|
|
120
121
|
static get is() { return "duet-card"; }
|
|
121
122
|
static get encapsulation() { return "shadow"; }
|
|
@@ -332,6 +333,32 @@ export class DuetCard {
|
|
|
332
333
|
"attribute": "icon",
|
|
333
334
|
"reflect": false
|
|
334
335
|
},
|
|
336
|
+
"iconColor": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"mutable": false,
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "DuetColor",
|
|
341
|
+
"resolved": "string",
|
|
342
|
+
"references": {
|
|
343
|
+
"DuetColor": {
|
|
344
|
+
"location": "import",
|
|
345
|
+
"path": "../../common-types",
|
|
346
|
+
"id": "src/common-types.d.ts::DuetColor"
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"required": false,
|
|
351
|
+
"optional": false,
|
|
352
|
+
"docs": {
|
|
353
|
+
"tags": [],
|
|
354
|
+
"text": "Custom color to be used for the icon, as a design token entered in camelCase\nor kebab-case. Example: \"color-primary\". This property can also be set to\n\"currentColor\"."
|
|
355
|
+
},
|
|
356
|
+
"getter": false,
|
|
357
|
+
"setter": false,
|
|
358
|
+
"attribute": "icon-color",
|
|
359
|
+
"reflect": true,
|
|
360
|
+
"defaultValue": "\"currentColor\""
|
|
361
|
+
},
|
|
335
362
|
"image": {
|
|
336
363
|
"type": "string",
|
|
337
364
|
"mutable": false,
|
|
@@ -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: 'd29491eace218119aab4bb8742a44ef92ea3e377', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '3d5882eeb89eec6debf9ac38c167335fca22c65b', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '2745649a462f339b630a4a46ea314c89c91dbe52', 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: '910ba85c8709d99174d0a0c6a5208fccdfe9456e', class: "duet-checkmark" })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "duet-checkmark"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -166,7 +166,6 @@ export class DuetChoice {
|
|
|
166
166
|
disconnectedCallback() {
|
|
167
167
|
disconnectLanguageChangeObserver(this);
|
|
168
168
|
unsubscribeTabbingChange(this);
|
|
169
|
-
this.duetChoiceRemove.emit();
|
|
170
169
|
}
|
|
171
170
|
/**
|
|
172
171
|
* Sets focus on the specified `duet-choice`. Use this method instead of the global
|
|
@@ -1026,26 +1025,6 @@ export class DuetChoice {
|
|
|
1026
1025
|
}
|
|
1027
1026
|
}
|
|
1028
1027
|
}
|
|
1029
|
-
}, {
|
|
1030
|
-
"method": "duetChoiceRemove",
|
|
1031
|
-
"name": "duetChoiceRemove",
|
|
1032
|
-
"bubbles": true,
|
|
1033
|
-
"cancelable": true,
|
|
1034
|
-
"composed": true,
|
|
1035
|
-
"docs": {
|
|
1036
|
-
"tags": [],
|
|
1037
|
-
"text": "Emitted when the component is removed from the DOM."
|
|
1038
|
-
},
|
|
1039
|
-
"complexType": {
|
|
1040
|
-
"original": "CustomEvent",
|
|
1041
|
-
"resolved": "CustomEvent<any>",
|
|
1042
|
-
"references": {
|
|
1043
|
-
"CustomEvent": {
|
|
1044
|
-
"location": "global",
|
|
1045
|
-
"id": "global::CustomEvent"
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
1028
|
}, {
|
|
1050
1029
|
"method": "duetChange",
|
|
1051
1030
|
"name": "duetChange",
|
|
@@ -11,6 +11,16 @@ export class DuetChoiceGroup {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.choiceGroupName = "duet-choice-group";
|
|
13
13
|
this.choices = new Set();
|
|
14
|
+
// Call this.updateChoices when a child choice has been removed - addtions are handled by events
|
|
15
|
+
this.childObserverCallback = (mutationList) => {
|
|
16
|
+
if (mutationList.some(r => {
|
|
17
|
+
var _a;
|
|
18
|
+
return ((_a = r.removedNodes) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
|
|
19
|
+
Array.from(r.removedNodes.values()).some(n => n.nodeName.toLowerCase() === "duet-choice");
|
|
20
|
+
})) {
|
|
21
|
+
this.updateChoices();
|
|
22
|
+
}
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* Component event handling.
|
|
16
26
|
*/
|
|
@@ -23,16 +33,7 @@ export class DuetChoiceGroup {
|
|
|
23
33
|
this.value = selectedChoice.value;
|
|
24
34
|
}
|
|
25
35
|
};
|
|
26
|
-
this.onChoiceReady = (
|
|
27
|
-
const choice = ev.target;
|
|
28
|
-
if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
|
|
29
|
-
this.choices.add(choice);
|
|
30
|
-
this.updateChoices();
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
this.onChoiceRemove = (ev) => {
|
|
34
|
-
const choice = ev.target;
|
|
35
|
-
this.choices.delete(choice);
|
|
36
|
+
this.onChoiceReady = () => {
|
|
36
37
|
this.updateChoices();
|
|
37
38
|
};
|
|
38
39
|
this.direction = "vertical";
|
|
@@ -64,6 +65,8 @@ export class DuetChoiceGroup {
|
|
|
64
65
|
if (Build.isServer) {
|
|
65
66
|
return;
|
|
66
67
|
}
|
|
68
|
+
this.childObserver = new MutationObserver(this.childObserverCallback.bind(this));
|
|
69
|
+
this.childObserver.observe(this.element, { childList: true, subtree: true });
|
|
67
70
|
this.setInitialValue();
|
|
68
71
|
this.updateChoices();
|
|
69
72
|
}
|
|
@@ -71,9 +74,9 @@ export class DuetChoiceGroup {
|
|
|
71
74
|
if (Build.isServer) {
|
|
72
75
|
return;
|
|
73
76
|
}
|
|
74
|
-
if (this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
+
if (this.childObserver) {
|
|
78
|
+
this.childObserver.disconnect();
|
|
79
|
+
this.childObserver = undefined;
|
|
77
80
|
}
|
|
78
81
|
}
|
|
79
82
|
componentWillLoad() {
|
|
@@ -100,6 +103,12 @@ export class DuetChoiceGroup {
|
|
|
100
103
|
var _a;
|
|
101
104
|
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
|
|
102
105
|
let hasChecked = false;
|
|
106
|
+
this.choices.clear();
|
|
107
|
+
this.element.querySelectorAll("duet-choice").forEach((choice) => {
|
|
108
|
+
if (choice.closest("duet-choice-group") === this.element) {
|
|
109
|
+
this.choices.add(choice);
|
|
110
|
+
}
|
|
111
|
+
});
|
|
103
112
|
// Walk the DOM in reverse order, since the last selected one wins
|
|
104
113
|
for (const choice of Array.from(this.choices)) {
|
|
105
114
|
choice.name = this.name;
|
|
@@ -134,7 +143,7 @@ export class DuetChoiceGroup {
|
|
|
134
143
|
if (Build.isServer) {
|
|
135
144
|
return;
|
|
136
145
|
}
|
|
137
|
-
return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady,
|
|
146
|
+
return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
|
|
138
147
|
horizontal: this.direction === "horizontal",
|
|
139
148
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
140
149
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
@@ -45,10 +45,10 @@ export class DuetContactCard {
|
|
|
45
45
|
render() {
|
|
46
46
|
const isTurva = this.theme === "turva";
|
|
47
47
|
const theme = isTurva ? "turva" : "default";
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '5e0b606ff3d78d1d6496ec02de6f5b5a0bf5121a', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '326fff7243be5a6fe726d2dd958a407facbc2ba6', 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: '66d4f7fe8b7ee4c0832c2cd6083adae45e452d56' }, this.name && (h("duet-heading", { key: '2ee8e38b16b69e30bdae8b2e567a0fa321591349', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: 'c27dd3836821a7e44b31feb1ee6c281fc0d9fa9c', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'f89f4e94e9519798954104f934b59b0860552088', class: "email" }, h("duet-icon", { key: '8ddd1c63f78947b491ca0e3ae1e2b4378defaa53', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '3ef856aead9f3a024cc8b9d5070ec380e22dd01f', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: 'a4a434ffa32b6bc202d8b766aaa094d5956fb50d', class: "phone" }, h("duet-icon", { key: '685ab55882de242d23455e17445351846b8aa69b', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '8647d8c2842a401007dff5bda3d3941f90c8957a', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'c57ab6d37ed120444703dafae51afc47d7dab9ab', class: "call-to-action" }, h("duet-button", { key: 'e6192686bf25181fcdfca4bccab5af1d6b99fa62', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '59a0888e641e778ff33a97a120914ceb7e35f80f' }), h("slot", { key: '8a48a71e6d41bbbcfcc662b840a8909e464a592c' }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "duet-contact-card"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
import i18n from "./date-i18n";
|
|
6
6
|
import { isEqual, printISODate } from "./date-utils";
|
|
7
|
+
const selectedDayLabel = {
|
|
8
|
+
fi: "Valittu päivä",
|
|
9
|
+
en: "Selected day",
|
|
10
|
+
sv: "Vald dag",
|
|
11
|
+
};
|
|
7
12
|
export const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, onKeyboardNavigation, ref, inRange, isSelected, }) => {
|
|
8
13
|
const isToday = isEqual(day, today);
|
|
9
14
|
const isFocused = isEqual(day, focusedDay);
|
|
@@ -13,5 +18,5 @@ export const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, o
|
|
|
13
18
|
function handleClick(e) {
|
|
14
19
|
onDaySelect(e, day);
|
|
15
20
|
}
|
|
16
|
-
return (h("td", { "data-day": printISODate(day), class: "duet-date-table-cell", "aria-label": formatterShort.format(day)
|
|
21
|
+
return (h("td", { "data-day": printISODate(day), class: { "duet-date-table-cell": true, selected: isSelected }, "aria-label": `${formatterShort.format(day)}${isSelected ? `, ${selectedDayLabel[language]}` : undefined}`, role: "button", tabIndex: isFocused ? 0 : -1, onClick: handleClick, onKeyDown: onKeyboardNavigation, "aria-disabled": isOutsideRange || isDisabled, ref: ref }, h("span", { class: { "duet-date-table-button": true, outside: isOutsideRange, disabled: isDisabled, today: isToday } }, day.getDate())));
|
|
17
22
|
};
|
|
@@ -18,7 +18,12 @@ function createDate(year, month, day) {
|
|
|
18
18
|
dayInt <= 31 &&
|
|
19
19
|
yearInt > 0;
|
|
20
20
|
if (isValid) {
|
|
21
|
-
|
|
21
|
+
const date = new Date(yearInt, monthInt - 1, dayInt);
|
|
22
|
+
// Reject dates where JS overflowed to a different month/day (e.g. Feb 31 → Mar 3)
|
|
23
|
+
if (date.getDate() !== dayInt || date.getMonth() !== monthInt - 1) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
return date;
|
|
22
27
|
}
|
|
23
28
|
}
|
|
24
29
|
/**
|
|
@@ -303,12 +303,12 @@
|
|
|
303
303
|
background: rgb(255, 241, 241) !important;
|
|
304
304
|
box-shadow: 0 0 0 1px #171c3a !important;
|
|
305
305
|
}
|
|
306
|
-
|
|
306
|
+
.selected .duet-date-table-button, :focus .duet-date-table-button {
|
|
307
307
|
color: rgb(255, 255, 255) !important;
|
|
308
308
|
background: rgb(0, 119, 179) !important;
|
|
309
309
|
outline: 0;
|
|
310
310
|
}
|
|
311
|
-
.duet-theme-turva
|
|
311
|
+
.duet-theme-turva .selected .duet-date-table-button, .duet-theme-turva :focus .duet-date-table-button {
|
|
312
312
|
color: rgb(255, 255, 255) !important;
|
|
313
313
|
background: rgb(198, 12, 48) !important;
|
|
314
314
|
}
|
|
@@ -49,20 +49,20 @@ export class DuetFieldset {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: 'b8619c958091052111b38b30a4b2d21aba5aa128', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '2abbbe4d836d366658e307ae8959e38fbba7f809', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
53
53
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
54
54
|
// once they do, we can remove errors from the aria-describedby
|
|
55
55
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
56
56
|
class: {
|
|
57
57
|
"duet-fieldset": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
|
-
} }, h("legend", { key: '
|
|
59
|
+
} }, h("legend", { key: '971a82ae56dc2d3b312222d7690903a1561b573b', id: this.labelId }, h(this.labelHeadingLevel, { key: '01a0d519b11e5255c9dceb12ed346ee2a69a5988' }, this.label), this.caption && h("span", { key: 'bcd38310da2d41495e5a0a9f14397277f9c19518' }, this.caption)), h("div", { key: '917f12cc08216b73edb5d390d2adb4dc60e67c83', class: {
|
|
60
60
|
"duet-legend-wrapper": true,
|
|
61
61
|
"duet-legend-has-caption": !!this.caption,
|
|
62
62
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
63
63
|
"duet-legend-hidden": this.labelHidden,
|
|
64
64
|
"duet-legend-compact": this.compactLabel,
|
|
65
|
-
} }, h("div", { key: '
|
|
65
|
+
} }, h("div", { key: 'bb9869ccdd739a3e16319bfc92153073dd2b924a', class: "duet-fieldset-label" }, h("span", { key: '700fd555d3c6725de4a81d5a8be5eea99d571c31', "aria-hidden": "true" }, this.label), h("slot", { key: 'fa5a11572a5a47c5f50358c0382913c347557fd7', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '1d693a77fbac816f444ac82b84cadf53d13f99b5', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: '9982e1b3a570edb5a2505edca6ef1a6ca074c226', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'e4ea0a8b3b0089a3a2aba2576b218f4f28f6ddc1' }), h("span", { key: '610ca7a9f4159cf2e5b39618deec8c6d3ce18f5e', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '67546da26bbd68b8b47d70c4dd5da77a4d144b2b', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "duet-fieldset"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1778,6 +1778,101 @@ duet-heading + duet-button {
|
|
|
1778
1778
|
:host(.duet-theme-turva2) .duet-hero.duet-hero-gray.duet-theme-turva {
|
|
1779
1779
|
background: #f5f6f7;
|
|
1780
1780
|
}
|
|
1781
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1782
|
+
margin-bottom: 2rem;
|
|
1783
|
+
}
|
|
1784
|
+
@media (min-width: 22.5em) {
|
|
1785
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1786
|
+
margin-bottom: 2rem;
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
@media (min-width: 36em) {
|
|
1790
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1791
|
+
margin-bottom: 4rem;
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
@media (min-width: 48em) {
|
|
1795
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1796
|
+
margin-bottom: 6rem;
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
@media (min-width: 62em) {
|
|
1800
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1801
|
+
margin-bottom: 7rem;
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
@media (min-width: 76.25em) {
|
|
1805
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1806
|
+
margin-bottom: 8rem;
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
@media (min-width: 106.25em) {
|
|
1810
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
|
|
1811
|
+
margin-botton: 9rem;
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .background-area .brand-shape, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .background-area .brand-shape {
|
|
1815
|
+
background-color: rgb(255, 255, 255);
|
|
1816
|
+
border-radius: 48px;
|
|
1817
|
+
mask-image: none;
|
|
1818
|
+
}
|
|
1819
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .background-mask {
|
|
1820
|
+
background-image: none;
|
|
1821
|
+
}
|
|
1822
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-image {
|
|
1823
|
+
border-radius: 26px;
|
|
1824
|
+
mask-image: none;
|
|
1825
|
+
}
|
|
1826
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-image::after {
|
|
1827
|
+
position: absolute;
|
|
1828
|
+
bottom: 0;
|
|
1829
|
+
z-index: 1;
|
|
1830
|
+
width: 100%;
|
|
1831
|
+
height: 100%;
|
|
1832
|
+
content: "";
|
|
1833
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22530%22%20height%3D%22136%22%20viewBox%3D%220%200%20530%20136%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M530%2018.0108V320.699H0V11.2176C0%202.8484%208.16439%20-2.58266%2015.0467%201.2636C33.0582%2011.2977%2054.6667%2020.0141%2078.875%2027.2525C131.948%2043.1273%20197.512%2051.9149%20265%2051.9149C332.488%2051.9149%20398.061%2043.1273%20451.125%2027.2525C475.333%2020.0052%20496.942%2011.2888%20514.953%201.2547C521.836%20-2.58266%20530%202.8484%20530%2011.2176V18.0108Z%22%20fill%3D%22%23E61740%22%2F%3E%0A%3C%2Fsvg%3E");
|
|
1834
|
+
background-repeat: no-repeat;
|
|
1835
|
+
background-position-y: bottom;
|
|
1836
|
+
background-size: contain;
|
|
1837
|
+
}
|
|
1838
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-icon {
|
|
1839
|
+
display: none;
|
|
1840
|
+
}
|
|
1841
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background .background-mask {
|
|
1842
|
+
background-image: none;
|
|
1843
|
+
}
|
|
1844
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image {
|
|
1845
|
+
border-radius: 26px;
|
|
1846
|
+
mask-image: none;
|
|
1847
|
+
}
|
|
1848
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image::after {
|
|
1849
|
+
position: absolute;
|
|
1850
|
+
bottom: 0;
|
|
1851
|
+
z-index: 1;
|
|
1852
|
+
width: 100%;
|
|
1853
|
+
height: 100%;
|
|
1854
|
+
content: "";
|
|
1855
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22530%22%20height%3D%22136%22%20viewBox%3D%220%200%20530%20136%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M530%2018.0108V320.699H0V11.2176C0%202.8484%208.16439%20-2.58266%2015.0467%201.2636C33.0582%2011.2977%2054.6667%2020.0141%2078.875%2027.2525C131.948%2043.1273%20197.512%2051.9149%20265%2051.9149C332.488%2051.9149%20398.061%2043.1273%20451.125%2027.2525C475.333%2020.0052%20496.942%2011.2888%20514.953%201.2547C521.836%20-2.58266%20530%202.8484%20530%2011.2176V18.0108Z%22%20fill%3D%22%23E61740%22%2F%3E%0A%3C%2Fsvg%3E");
|
|
1856
|
+
background-repeat: no-repeat;
|
|
1857
|
+
background-position-y: bottom;
|
|
1858
|
+
background-size: contain;
|
|
1859
|
+
}
|
|
1860
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
|
|
1861
|
+
margin-top: 28px;
|
|
1862
|
+
}
|
|
1863
|
+
@media (min-width: 48em) {
|
|
1864
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
|
|
1865
|
+
margin-top: 36px;
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
:host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
|
|
1869
|
+
margin-top: 16px;
|
|
1870
|
+
}
|
|
1871
|
+
@media (min-width: 48em) {
|
|
1872
|
+
:host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
|
|
1873
|
+
margin-top: 0;
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1781
1876
|
.duet-theme-turva :host(.duet-theme-turva2) .duet-hero-link {
|
|
1782
1877
|
color: #e61740;
|
|
1783
1878
|
}
|
|
@@ -102,11 +102,11 @@ export class DuetIcon {
|
|
|
102
102
|
: {};
|
|
103
103
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
104
104
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: 'e3c5b8a95b66d10d648b3dcb13c8a914a797b164', class: {
|
|
106
106
|
"duet-m-0": this.margin === "none",
|
|
107
107
|
"duet-icon-has-outline": !!this.outline,
|
|
108
108
|
"duet-icon-has-background": !!this.background,
|
|
109
|
-
} }, h("span", { key: '
|
|
109
|
+
} }, h("span", { key: '64fb78e9ff14dade6c8a57e7e0b0c9eda9faa5f1', "aria-hidden": "true", style: styles, class: {
|
|
110
110
|
"duet-icon": true,
|
|
111
111
|
"duet-theme-turva": this.theme === "turva",
|
|
112
112
|
"duet-theme-default": this.theme === "default",
|
|
@@ -115,7 +115,7 @@ export class DuetIcon {
|
|
|
115
115
|
[shapeStyle]: true,
|
|
116
116
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
117
117
|
"duet-icon-not-responsive": !this.responsive,
|
|
118
|
-
} }, h("span", { key: '
|
|
118
|
+
} }, h("span", { key: 'c58b6751f605b678b535275abd7ec18dcd22ce32', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "duet-icon"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,10 +123,10 @@ export class DuetLink {
|
|
|
123
123
|
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
124
124
|
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
125
125
|
const isButton = Tag === "button";
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'bd19012201568549a78386fd891946aff5eee646', class: {
|
|
127
127
|
[`duet-link-${this.variation}`]: true,
|
|
128
128
|
"duet-m-0": this.margin === "none",
|
|
129
|
-
} }, h(Tag, { key: '
|
|
129
|
+
} }, h(Tag, { key: 'dcaadc6459de680b921529b4cf1a53fb68ec32e5', href: this.url, class: {
|
|
130
130
|
"duet-link": true,
|
|
131
131
|
"duet-link-is-external": this.external,
|
|
132
132
|
"duet-link-is-download": !!this.download,
|
|
@@ -21,7 +21,7 @@ export class DuetListItem {
|
|
|
21
21
|
* Always the last one in the class.
|
|
22
22
|
*/
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '23fa4bb0260854f29feb8bc4a9ee8772116d6cdd', class: {
|
|
25
25
|
"duet-theme-turva": this.theme === "turva",
|
|
26
26
|
"duet-no-stacking": !this.responsive,
|
|
27
27
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -29,7 +29,7 @@ export class DuetListItem {
|
|
|
29
29
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
30
30
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
31
31
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
32
|
-
} }, h("dt", { key: '
|
|
32
|
+
} }, h("dt", { key: 'a55da3a043c0961d1acb0d734f40a13520dfa8f6' }, h("slot", { key: '283eb7096125f841974c4c024826bb026f12f44a', name: "label" })), h("dd", { key: 'b0bf838e880dc0bbd8a408f43519b9c9c14f50ca' }, h("slot", { key: '59a38693290b270f27d9f5e1eddc94eff91009c2', name: "value" }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "duet-list-item"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,10 +38,10 @@ export class DuetMenuBarButton {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'ef1a83dc24d287d2e22423313bb9d60cd3c47105', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '8b958da1cd1c474fea165bfaa3b0a1a59bbf48fe', ref: button => (this.nativeButton = button), class: {
|
|
42
42
|
"duet-menu-bar-button": true,
|
|
43
43
|
"duet-theme-turva": this.theme === "turva",
|
|
44
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '
|
|
44
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '8d32a9113bf2c7f5cf223fade74451107c65017e', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'c2a291f310468f23944eb380df208917ee3f266f' }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-menu-bar-button"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,17 +54,17 @@ export class DuetMenuBarDropdown {
|
|
|
54
54
|
* Always the last one in the class.
|
|
55
55
|
*/
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'a755c7ef4437e698cd14f5638243822ae80a9da5', role: "listitem" }, h("div", { key: '245f998243bda4eb0de30979a0e3170b44f3e59f', class: {
|
|
58
58
|
"duet-menu-bar-dropdown": true,
|
|
59
59
|
"duet-theme-turva": this.theme === "turva",
|
|
60
60
|
active: this.open,
|
|
61
61
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
62
|
-
} }, h("button", { key: '
|
|
62
|
+
} }, h("button", { key: 'd650dc95d9c3d179c443de80c835e220a74c7ddb', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
63
63
|
active: this.open,
|
|
64
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
64
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'b813e5b92c2262c8980753710295beeb6938c911', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '792ad8ef544c66a404bd68efad3f61664bd0af88', class: "label" }, h("slot", { key: '400b69105667c569099cf1fb10f4235e0f59d062', name: "label" }), h("duet-icon", { key: 'bc9de20358bde54e02e79ce27a80e97d122fdd8f', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'ed8e5128bb958f6eab527687f0574f48eae65002', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
65
65
|
items: true,
|
|
66
66
|
hidden: !this.open,
|
|
67
|
-
} }, h("slot", { key: '
|
|
67
|
+
} }, h("slot", { key: '2b8c3ce983de1c602add43e43c38eb1eb85e3c19' })))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-menu-bar-dropdown"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -40,11 +40,11 @@ export class DuetMenuBarDropdownLink {
|
|
|
40
40
|
* Always the last one in the class.
|
|
41
41
|
*/
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '5fc02f0c81d1098a7b16009477df67993d685de6' }, h("a", { key: '2b903aecceeae547c7d15a49b7a04258ff10c4b6', class: {
|
|
44
44
|
"duet-menu-bar-dropdown-link": true,
|
|
45
45
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
46
46
|
"duet-theme-turva": this.theme === "turva",
|
|
47
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
47
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'af824f35477f30049c01db8adb39d06b731643b9', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '883594427c71275ce5b693f706b9505f9e18a71e' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,11 +48,11 @@ export class DuetMenuBarItem {
|
|
|
48
48
|
*/
|
|
49
49
|
render() {
|
|
50
50
|
const TagName = this.url ? "a" : "button";
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '641913af18dbe2980a845788e89622a9b089dbb0', role: "listitem" }, h(TagName, { key: '328e465490357d6da14c2b790a82a3241a527d87', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
52
52
|
"duet-menu-bar-item": true,
|
|
53
53
|
"duet-theme-turva": this.theme === "turva",
|
|
54
54
|
active: this.active,
|
|
55
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '
|
|
55
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'd30575df32ecb1a4ede06522d8eda04bf9fc5fc2', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'b06945bdda299b4e2d7a7209f307bf116b9cf744' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'c8fc5e562221728aea6214de11916a8a41c45d7f', class: {
|
|
56
56
|
"trailing-icon": !!this.trailingIcon,
|
|
57
57
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
58
58
|
"external-icon": !!this.external,
|
|
@@ -22,11 +22,11 @@ export class DuetMenuBarLink {
|
|
|
22
22
|
* Always the last one in the class.
|
|
23
23
|
*/
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'a13c68b467960207214b517d7308cc0aa12109bc', role: "listitem" }, h("a", { key: 'a54219b4e1e160a5860536bc784b166f17885823', class: {
|
|
26
26
|
"duet-menu-bar-link": true,
|
|
27
27
|
"duet-theme-turva": this.theme === "turva",
|
|
28
28
|
active: this.active,
|
|
29
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
29
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'b1b80f750becedd7069327b1a3014caf8f8e9796', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'd52076de0ceb00251df6fdce37c8fabd9377f8b8' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "duet-menu-bar-link"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class DuetNav {
|
|
|
24
24
|
* Always the last one in the class.
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '399e510569b42fa52d9461dcf6e935858bbaa763' }, h("div", { key: '93717d9be84024edba4544c474b225f4c150ec61', class: { container: true, sticky: this.sticky } }, h("slot", { key: 'e49c0ec868a936a63599023d6853b2eb0ccbfd9e' }), h("slot", { key: '91564d4869ec5966bd1e6f412543a793985fd5e2', name: "mobile" }), h("slot", { key: 'f26f92f774eecd3513fe969235c6bea01e08586f', name: "desktop" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "duet-nav"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,11 +43,11 @@ export class DuetNotification {
|
|
|
43
43
|
this.linkElement.focus(options);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '22f2597d7f520c03d164b9612b1f619486745a09', role: "listitem", class: {
|
|
47
47
|
"duet-notification": true,
|
|
48
48
|
"duet-notification-highlight": this.highlight,
|
|
49
49
|
"duet-theme-turva": this.theme === "turva",
|
|
50
|
-
} }, h("a", { key: '
|
|
50
|
+
} }, h("a", { key: '825bb432d6d6402df953b5a1a1f67cfddfa00931', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '669563019a7dda0a692965ee8fb616692c3be343', class: "duet-notification-container" }, h("div", { key: 'fa7b5612cf3b5a172385a915d09e23a1b12258a1', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: '21a94b09ee6ef41da16349b53c39c66ccc744db3', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '89a22cdefb3ad8530b55a1a22dc44cb51547a9ec' }, this.accessibleLabelUnread, ":")))), h("div", { key: '6c08f36593b743d1b28dfef6ff96e60c1f0a5f2f', class: "duet-notification-content" }, h("slot", { key: '74584952dedc2d734b8c04626fb0377c34d3d183' })), h("div", { key: '4f6feeebc9b918683300bd434eec573912291a82', class: "duet-notification-date" }, this.date)))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "duet-notification"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|