@duetds/components 10.3.0 → 10.3.1
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 +693 -301
- package/hydrate/index.mjs +693 -301
- package/lib/cjs/{a11y-utils-b27OEdFX.js → a11y-utils-dXXDBTyF.js} +1 -1
- package/lib/cjs/{app-globals-DhPOoPl1.js → app-globals-CyPV2FZK.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +5 -5
- package/lib/cjs/duet-banner.cjs.entry.js +13 -9
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
- package/lib/cjs/duet-button_2.cjs.entry.js +27 -12
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +15 -15
- package/lib/cjs/duet-card.cjs.entry.js +8 -8
- package/lib/cjs/duet-checkbox.cjs.entry.js +5 -5
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +30 -34
- package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +12 -12
- package/lib/cjs/duet-empty-state.cjs.entry.js +4 -4
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +8 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-hero.cjs.entry.js +9 -9
- package/lib/cjs/duet-icon.cjs.entry.js +7 -7
- package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +18 -14
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +14 -14
- package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +20 -18
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +13 -9
- package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +7 -7
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +10 -10
- 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 -8
- 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 +13 -13
- package/lib/cjs/duet-slideout.cjs.entry.js +20 -18
- package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
- 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 +8 -8
- package/lib/cjs/duet-textarea.cjs.entry.js +9 -9
- package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
- 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 +9 -9
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +6 -6
- 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-BlVVWFcS.js → errorcodes.utils-DQ-I8x2z.js} +1 -1
- package/lib/cjs/{focus-utils-DIeiBu1A.js → focus-utils-DstNW4_h.js} +1 -1
- package/lib/cjs/{index-CeCDgexG.js → index-B_QTwXEx.js} +1 -1
- package/lib/cjs/{label-BK_7MvDR.js → label-yAj5CKm3.js} +1 -1
- package/lib/cjs/{language-utils-BmMgyx0x.js → language-utils-DjtvVntE.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-PLQ1zjHe.js → slot-utils-YUU0XWn9.js} +1 -1
- package/lib/cjs/{themeable-component-DD3okLL-.js → themeable-component-h3OzJgCb.js} +1 -1
- package/lib/cjs/{token-utils-CaLsk40I.js → token-utils-DY3-olMV.js} +1 -1
- package/lib/cjs/{tokens-DWngQgYY.js → tokens-COLlUECP.js} +226 -4
- package/lib/cjs/{tokens.module-BMAWZwue.js → tokens.module-CTbvyezn.js} +152 -4
- package/lib/collection/components/duet-action-button/duet-action-button.css +1 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +7 -0
- package/lib/collection/components/duet-banner/duet-banner.js +8 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
- 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 -8
- package/lib/collection/components/duet-button/duet-button.js +20 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +2 -2
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.css +1 -3
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +3 -3
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +1 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +2 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +8 -8
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -29
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.css +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-header/duet-header.css +6 -6
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.js +2 -2
- package/lib/collection/components/duet-input/duet-input.css +71 -63
- package/lib/collection/components/duet-input/duet-input.js +10 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +1 -1
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.css +1 -1
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +1 -1
- 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.css +1 -1
- 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.css +1 -1
- 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.css +1 -1
- 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.css +1 -1
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +24 -48
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +1 -1
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.css +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -9
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +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.css +8 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -4
- package/lib/collection/components/duet-radio/duet-radio.css +1 -1
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.css +20 -37
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- 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.css +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +12 -10
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +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.css +2 -4
- 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.css +1 -1
- 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 +1 -1
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.css +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +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.css +1 -1
- 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.css +1 -1
- 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.css +1 -1
- 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.css +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.css +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +3 -3
- 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-textarea/duet-textarea.css +33 -78
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.css +1 -1
- package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +1 -1
- 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.css +1 -1
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +1 -1
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +1 -1
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
- package/lib/collection/components/duet-tray/duet-tray.css +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/duet/duet.esm.js +1 -1
- package/lib/duet/{p-f9f25386.entry.js → p-06f17fe7.entry.js} +1 -1
- package/lib/duet/{p-2d9e573a.entry.js → p-07b9b6c3.entry.js} +1 -1
- package/lib/duet/{p-831e210d.entry.js → p-0a80de40.entry.js} +1 -1
- package/lib/duet/{p-1eb20304.entry.js → p-0cc2921b.entry.js} +1 -1
- package/lib/duet/{p-137e710f.entry.js → p-0ccecf5b.entry.js} +1 -1
- package/lib/duet/{p-f58c0527.entry.js → p-10a326fa.entry.js} +1 -1
- package/lib/duet/{p-43723ce5.entry.js → p-12b2d402.entry.js} +1 -1
- package/lib/duet/{p-c18726af.entry.js → p-162993d2.entry.js} +1 -1
- package/lib/duet/{p-565bcf84.entry.js → p-162a0691.entry.js} +1 -1
- package/lib/duet/{p-6db9ac4d.entry.js → p-17413943.entry.js} +1 -1
- package/lib/duet/{p-00e0f919.entry.js → p-17c063a3.entry.js} +1 -1
- package/lib/duet/p-18eada94.entry.js +4 -0
- package/lib/duet/{p-014c965f.entry.js → p-1e168d4b.entry.js} +1 -1
- package/lib/duet/p-234f4365.entry.js +4 -0
- package/lib/duet/{p-9f941e06.entry.js → p-245c0535.entry.js} +1 -1
- package/lib/duet/{p-42105616.entry.js → p-25b4886a.entry.js} +1 -1
- package/lib/duet/{p-70d7a04d.entry.js → p-278ef4d8.entry.js} +1 -1
- package/lib/duet/{p-59553aa5.entry.js → p-29599dc5.entry.js} +1 -1
- package/lib/duet/{p-554d9373.entry.js → p-2ac11077.entry.js} +1 -1
- package/lib/duet/{p-713cc11f.entry.js → p-2d963ab0.entry.js} +1 -1
- package/lib/duet/{p-5a576bae.entry.js → p-2e126e15.entry.js} +1 -1
- package/lib/duet/{p-c0785349.entry.js → p-301b8664.entry.js} +1 -1
- package/lib/duet/{p-b7865974.entry.js → p-3a45c3a4.entry.js} +1 -1
- package/lib/duet/{p-408ace89.entry.js → p-3d00efb7.entry.js} +1 -1
- package/lib/duet/p-3d0a716c.entry.js +4 -0
- package/lib/duet/{p-c8f8acf7.entry.js → p-3eba33cd.entry.js} +1 -1
- package/lib/duet/{p-dfab71df.entry.js → p-419b96b6.entry.js} +1 -1
- package/lib/duet/{p-b0622412.entry.js → p-44a97d21.entry.js} +1 -1
- package/lib/duet/{p-4de84b4d.entry.js → p-4856f07c.entry.js} +1 -1
- package/lib/duet/{p-9240c039.entry.js → p-4b8293b3.entry.js} +1 -1
- package/lib/duet/{p-d3b4339e.entry.js → p-550bfab9.entry.js} +1 -1
- package/lib/duet/{p-2e967dc9.entry.js → p-5c60eca3.entry.js} +1 -1
- package/lib/duet/{p-32c7c0c1.entry.js → p-5c9530f1.entry.js} +1 -1
- package/lib/duet/{p-f31a6b2e.entry.js → p-5fb1092c.entry.js} +1 -1
- package/lib/duet/{p-a745eb10.entry.js → p-5fb783eb.entry.js} +1 -1
- package/lib/duet/{p-91370277.entry.js → p-608ebd47.entry.js} +1 -1
- package/lib/duet/{p-ae714f68.entry.js → p-65350441.entry.js} +1 -1
- package/lib/duet/{p-2981f32d.entry.js → p-67b3a01a.entry.js} +1 -1
- package/lib/duet/{p-098d7665.entry.js → p-690beb31.entry.js} +1 -1
- package/lib/duet/{p-73263349.entry.js → p-6cffc5b7.entry.js} +1 -1
- package/lib/duet/p-6e1b9cc8.entry.js +4 -0
- package/lib/duet/p-7ce31e10.entry.js +4 -0
- package/lib/duet/{p-ed252dd9.entry.js → p-806c4ab8.entry.js} +1 -1
- package/lib/duet/p-86166f8d.entry.js +4 -0
- package/lib/duet/{p-caf9df46.entry.js → p-898d5701.entry.js} +1 -1
- package/lib/duet/p-8a28f86e.entry.js +4 -0
- package/lib/duet/{p-8ff66f04.entry.js → p-9172ba70.entry.js} +1 -1
- package/lib/duet/{p-22143e3e.entry.js → p-93abd97a.entry.js} +1 -1
- package/lib/duet/{p-9ceede7a.entry.js → p-968546f6.entry.js} +1 -1
- package/lib/duet/p-B6Z_1gqI.js +4 -0
- package/lib/duet/p-BQVGvl4H.js +4 -0
- package/lib/duet/p-BUWuSkQW.js +4 -0
- package/lib/duet/p-CLZq8YfV.js +4 -0
- package/lib/duet/{p-DNW9B4-w.js → p-CW11pVgw.js} +1 -1
- package/lib/duet/p-Ce9HQd35.js +4 -0
- package/lib/duet/p-D2JvSVnG.js +4 -0
- package/lib/duet/{p-D8k4CqJb.js → p-D2ly4TZR.js} +1 -1
- package/lib/duet/p-DEzE2U5T.js +4 -0
- package/lib/duet/{p-Bo0igXOs.js → p-DFAnksuG.js} +1 -1
- package/lib/duet/{p-FlJJ5tdo.js → p-DrqQiRTn.js} +1 -1
- package/lib/duet/p-ELbbzMVZ.js +4 -0
- package/lib/duet/{p-1a28bbe1.entry.js → p-a3ad5622.entry.js} +1 -1
- package/lib/duet/{p-1da05915.entry.js → p-a6bec2da.entry.js} +1 -1
- package/lib/duet/p-a73b7110.entry.js +4 -0
- package/lib/duet/{p-6f08e639.entry.js → p-a8229728.entry.js} +1 -1
- package/lib/duet/{p-20aefca2.entry.js → p-ae778cb1.entry.js} +1 -1
- package/lib/duet/{p-2b489051.entry.js → p-b1d91a91.entry.js} +1 -1
- package/lib/duet/{p-6ff3fc39.entry.js → p-b4c18ee6.entry.js} +1 -1
- package/lib/duet/{p-9da7ffc9.entry.js → p-b6dc4395.entry.js} +1 -1
- package/lib/duet/{p-bc5b4e44.entry.js → p-b9a54319.entry.js} +1 -1
- package/lib/duet/{p-b8648d7a.entry.js → p-b9be36c8.entry.js} +1 -1
- package/lib/duet/{p-1d81fcf9.entry.js → p-bdae48d3.entry.js} +1 -1
- package/lib/duet/p-bdf6a296.entry.js +4 -0
- package/lib/duet/{p-7609417a.entry.js → p-bfc75bb9.entry.js} +1 -1
- package/lib/duet/p-c8d10c67.entry.js +4 -0
- package/lib/duet/{p-11847d3e.entry.js → p-c8e520b6.entry.js} +1 -1
- package/lib/duet/p-ce4d9add.entry.js +4 -0
- package/lib/duet/{p-e19d51b1.entry.js → p-d2e74e89.entry.js} +1 -1
- package/lib/duet/{p-2736a400.entry.js → p-d7506eaa.entry.js} +1 -1
- package/lib/duet/{p-bb0567b4.entry.js → p-d83f38c7.entry.js} +1 -1
- package/lib/duet/{p-a5b9e098.entry.js → p-d8bc628c.entry.js} +1 -1
- package/lib/duet/p-da275568.entry.js +4 -0
- package/lib/duet/p-dc5682d8.entry.js +4 -0
- package/lib/duet/{p-c23accaf.entry.js → p-de4b0518.entry.js} +1 -1
- package/lib/duet/p-e050ed5c.entry.js +4 -0
- package/lib/duet/{p-90ab8a57.entry.js → p-e9c2eb66.entry.js} +1 -1
- package/lib/duet/{p-e655dd7d.entry.js → p-ec5f40a5.entry.js} +1 -1
- package/lib/duet/{p-d36dabf1.entry.js → p-ec689a7c.entry.js} +1 -1
- package/lib/duet/{p-c504dc42.entry.js → p-ecf69f6d.entry.js} +1 -1
- package/lib/duet/p-ed750cdf.entry.js +4 -0
- package/lib/duet/{p-faf6d461.entry.js → p-efa1cd0b.entry.js} +1 -1
- package/lib/duet/{p-6ca30a68.entry.js → p-f15ab3b8.entry.js} +1 -1
- package/lib/duet/{p-d9963958.entry.js → p-f55f8bd9.entry.js} +1 -1
- package/lib/duet/{p-9fd00141.entry.js → p-f68a4a23.entry.js} +1 -1
- package/lib/duet/p-f71d04ce.entry.js +4 -0
- package/lib/duet/p-f8e26f21.entry.js +4 -0
- package/lib/duet/{p-3a4dcdbd.entry.js → p-fca9c5c4.entry.js} +1 -1
- package/lib/duet/{p-6e98887f.entry.js → p-fe00331c.entry.js} +1 -1
- package/lib/esm/{a11y-utils-DAo2lcPY.js → a11y-utils-D66Lzlz5.js} +1 -1
- package/lib/esm/{app-globals-CzrvWXbM.js → app-globals-G9KPoeGD.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +5 -5
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +5 -5
- package/lib/esm/duet-banner.entry.js +13 -9
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +7 -7
- package/lib/esm/duet-button_2.entry.js +27 -12
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +15 -15
- package/lib/esm/duet-card.entry.js +8 -8
- package/lib/esm/duet-checkbox.entry.js +5 -5
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +12 -12
- package/lib/esm/duet-collapsible.entry.js +6 -6
- package/lib/esm/duet-combobox.entry.js +5 -5
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +30 -34
- package/lib/esm/duet-divider_2.entry.js +6 -6
- package/lib/esm/duet-editable-table_3.entry.js +12 -12
- package/lib/esm/duet-empty-state.entry.js +4 -4
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +8 -8
- package/lib/esm/duet-grid_2.entry.js +6 -6
- package/lib/esm/duet-header_2.entry.js +7 -7
- package/lib/esm/duet-hero.entry.js +9 -9
- package/lib/esm/duet-icon.entry.js +7 -7
- package/lib/esm/duet-indicator.entry.js +5 -5
- package/lib/esm/duet-input_2.entry.js +18 -14
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +6 -6
- package/lib/esm/duet-modal.entry.js +14 -14
- package/lib/esm/duet-multiselect.entry.js +11 -11
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +8 -8
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +18 -18
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +20 -18
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +13 -9
- package/lib/esm/duet-radio_2.entry.js +7 -7
- package/lib/esm/duet-range-slider.entry.js +7 -7
- package/lib/esm/duet-scrollable_3.entry.js +17 -17
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +10 -10
- 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 -8
- 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 +13 -13
- package/lib/esm/duet-slideout.entry.js +20 -18
- package/lib/esm/duet-status-icon.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
- 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 +8 -8
- package/lib/esm/duet-textarea.entry.js +9 -9
- package/lib/esm/duet-toggle.entry.js +8 -8
- 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 +9 -9
- package/lib/esm/duet-tooltip.entry.js +5 -5
- package/lib/esm/duet-tray.entry.js +6 -6
- 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-DFNtyigo.js → errorcodes.utils-C6zptXiM.js} +1 -1
- package/lib/esm/{focus-utils-BMaSpIw7.js → focus-utils-YZ2ticmM.js} +1 -1
- package/lib/esm/{index-FlJJ5tdo.js → index-DrqQiRTn.js} +1 -1
- package/lib/esm/{label-B8qZstXv.js → label-CnTwCD-3.js} +1 -1
- package/lib/esm/{language-utils-D6DmVtHY.js → language-utils-BEG0cFmw.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-CNDJ1X0N.js → slot-utils-Dzrezpl3.js} +1 -1
- package/lib/esm/{themeable-component-r_Tw1vqr.js → themeable-component-BLql61nC.js} +1 -1
- package/lib/esm/{token-utils-D46K_pN4.js → token-utils-B0KAgyj_.js} +1 -1
- package/lib/esm/{tokens-vvm7i9oY.js → tokens-Ce9HQd35.js} +226 -4
- package/lib/esm/{tokens.module-D84A7Xf6.js → tokens.module-DEzE2U5T.js} +152 -4
- package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
- package/lib/types/components/duet-date-picker/date-utils.d.ts +1 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -2
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
- package/package.json +5 -5
- package/lib/duet/p-0c653c09.entry.js +0 -4
- package/lib/duet/p-0ef804e4.entry.js +0 -4
- package/lib/duet/p-1f2469d6.entry.js +0 -4
- package/lib/duet/p-30190152.entry.js +0 -4
- package/lib/duet/p-44d1fafb.entry.js +0 -4
- package/lib/duet/p-47070cce.entry.js +0 -4
- package/lib/duet/p-5dc3f346.entry.js +0 -4
- package/lib/duet/p-5dc8a394.entry.js +0 -4
- package/lib/duet/p-62954ecf.entry.js +0 -4
- package/lib/duet/p-6359eb27.entry.js +0 -4
- package/lib/duet/p-846b040f.entry.js +0 -4
- package/lib/duet/p-93bfe3dd.entry.js +0 -4
- package/lib/duet/p-BEzfNXw0.js +0 -4
- package/lib/duet/p-BZkhQa5F.js +0 -4
- package/lib/duet/p-BsJux4JM.js +0 -4
- package/lib/duet/p-Bv3O2yFB.js +0 -4
- package/lib/duet/p-D84A7Xf6.js +0 -4
- package/lib/duet/p-Dd0j805V.js +0 -4
- package/lib/duet/p-a4b62f2f.entry.js +0 -4
- package/lib/duet/p-ab939713.entry.js +0 -4
- package/lib/duet/p-c2572d80.entry.js +0 -4
- package/lib/duet/p-dZaxsCbb.js +0 -4
- package/lib/duet/p-f0eda0e2.entry.js +0 -4
- package/lib/duet/p-fc0cb6fb.entry.js +0 -4
- package/lib/duet/p-vvm7i9oY.js +0 -4
|
@@ -64,6 +64,6 @@
|
|
|
64
64
|
outline-offset: 2px;
|
|
65
65
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
66
66
|
}
|
|
67
|
-
.duet-theme-turva :host(.user-is-tabbing) .duet-breadcrumb:focus, :host(.user-is-tabbing) .duet-breadcrumb:focus.duet-theme-turva
|
|
67
|
+
.duet-theme-turva :host(.user-is-tabbing) .duet-breadcrumb:focus, :host(.user-is-tabbing) .duet-breadcrumb:focus.duet-theme-turva {
|
|
68
68
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
69
69
|
}
|
|
@@ -44,15 +44,15 @@ export class DuetBreadcrumb {
|
|
|
44
44
|
*/
|
|
45
45
|
render() {
|
|
46
46
|
const Tag = this.href ? "a" : "span";
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '34a5e92e51adfec7868e9df7ce42c448bd0199bd', role: "listitem" }, h("div", { key: '55c358452ded2ad2471012dbad1126396ec7328a', class: "container" }, this.icon === "arrow-right-small-icon" && (h("duet-icon", { key: 'a18e042b22da27aa25dfafcc66e6821aa7738485', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), h(Tag, { key: 'ada812d487db85ae7dca3946aed805631df1be28', class: {
|
|
48
48
|
"duet-breadcrumb": true,
|
|
49
49
|
"duet-theme-turva": this.theme === "turva",
|
|
50
50
|
"icon-only": this.icon && !this.hasSlottedContent,
|
|
51
51
|
}, href: this.href || undefined, "aria-label": this.accessibleLabel || this.element.textContent, "aria-current": this.href ? undefined : "page" }, this.icon !== "arrow-right-small-icon" &&
|
|
52
52
|
this.icon && [
|
|
53
|
-
h("duet-icon", { key: '
|
|
54
|
-
this.hasSlottedContent && h("duet-spacer", { key: '
|
|
55
|
-
], h("slot", { key: '
|
|
53
|
+
h("duet-icon", { key: '6ea363f16a27da9172c1257587bd4e8a03dd3e14', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
54
|
+
this.hasSlottedContent && h("duet-spacer", { key: 'e4e63fbc6d9e371743570528b4bf2cf3eb1cd289', size: "x-small", direction: "horizontal" }),
|
|
55
|
+
], h("slot", { key: 'ae2098eb9604da79ea48f19f35cf727588b59adc' })))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-breadcrumb"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -62,11 +62,11 @@ export class DuetBreadcrumbs {
|
|
|
62
62
|
*/
|
|
63
63
|
render() {
|
|
64
64
|
const color = getColorByName(this.color);
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'a33196239b9b8f6933f6e8b46df005591cd7234c' }, h("nav", { key: 'e132c17465eefb28d91c1a2a98fb6fa6bf812c92', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
66
66
|
"duet-breadcrumbs": true,
|
|
67
67
|
"duet-theme-turva": this.theme === "turva",
|
|
68
68
|
[this.variation]: true,
|
|
69
|
-
} }, h("div", { key: '
|
|
69
|
+
} }, h("div", { key: '515e61b4523d016aeaf79f9785f335793f3fd8a7', class: "container" }, h("div", { key: '5cc015e840532c3e5450d2f99ea6dbfe16da9e21', role: "list", class: "list", style: { color } }, h("slot", { key: '712824b51a9798d5df687a5146e7564c32e3b192' })), h("div", { key: '6c669b82b4d9bebfec76cd852e422df64fc378f7', class: "bottom-border bottom-border--container" })), h("div", { key: '04cb09bd7682b668fd9ca24ddd91efea24da9bf6', class: "bottom-border bottom-border--nav" }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "duet-breadcrumbs"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
outline-offset: 2px;
|
|
158
158
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
159
159
|
}
|
|
160
|
-
.duet-theme-turva .duet-button:focus, .duet-button:focus.duet-theme-turva
|
|
160
|
+
.duet-theme-turva .duet-button:focus, .duet-button:focus.duet-theme-turva {
|
|
161
161
|
outline: 2px solid;
|
|
162
162
|
outline-offset: 2px;
|
|
163
163
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -308,11 +308,11 @@
|
|
|
308
308
|
color: rgb(0, 119, 179) !important;
|
|
309
309
|
border-color: rgb(0, 119, 179);
|
|
310
310
|
outline: 2px solid;
|
|
311
|
-
outline-color: rgb(
|
|
311
|
+
outline-color: rgb(127, 150, 165) !important;
|
|
312
312
|
outline-offset: -1px;
|
|
313
313
|
}
|
|
314
|
-
.duet-theme-turva .duet-button.secondary:hover, .duet-button.secondary:hover.duet-theme-turva, .duet-theme-turva .duet-button.
|
|
315
|
-
outline-color: rgb(120, 145, 164);
|
|
314
|
+
.duet-theme-turva .duet-button.secondary:hover, .duet-button.secondary:hover.duet-theme-turva, .duet-theme-turva .duet-button.input-button-secondary:hover, .duet-button.input-button-secondary:hover.duet-theme-turva, .duet-theme-turva .duet-button.input-button-left-secondary:hover, .duet-button.input-button-left-secondary:hover.duet-theme-turva, .duet-theme-turva .duet-button.input-button-embedded:hover, .duet-button.input-button-embedded:hover.duet-theme-turva {
|
|
315
|
+
outline-color: rgb(120, 145, 164) !important;
|
|
316
316
|
}
|
|
317
317
|
.duet-button.secondary.duet-button-negative, .duet-button.input-button-secondary.duet-button-negative, .duet-button.input-button-left-secondary.duet-button-negative, .duet-button.input-button-embedded.duet-button-negative {
|
|
318
318
|
color: rgb(212, 223, 229) !important;
|
|
@@ -429,8 +429,8 @@
|
|
|
429
429
|
}
|
|
430
430
|
.duet-button.duet-button.input-button-primary, .duet-button.duet-button.input-button-secondary, .duet-button.duet-button.input-button-embedded {
|
|
431
431
|
border-top-left-radius: 0;
|
|
432
|
-
border-top-right-radius: 4px;
|
|
433
|
-
border-bottom-right-radius: 4px;
|
|
432
|
+
border-top-right-radius: 4px !important;
|
|
433
|
+
border-bottom-right-radius: 4px !important;
|
|
434
434
|
border-bottom-left-radius: 0;
|
|
435
435
|
}
|
|
436
436
|
.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,
|
|
@@ -451,14 +451,17 @@
|
|
|
451
451
|
border-left-width: 0;
|
|
452
452
|
}
|
|
453
453
|
.duet-button.duet-button.input-button-left-primary, .duet-button.duet-button.input-button-left-secondary {
|
|
454
|
-
border-top-left-radius: 4px;
|
|
454
|
+
border-top-left-radius: 4px !important;
|
|
455
455
|
border-top-right-radius: 0;
|
|
456
456
|
border-bottom-right-radius: 0;
|
|
457
|
-
border-bottom-left-radius: 4px;
|
|
457
|
+
border-bottom-left-radius: 4px !important;
|
|
458
458
|
}
|
|
459
459
|
.duet-button.duet-button.input-button-left-primary .duet-button-contents, .duet-button.duet-button.input-button-left-secondary .duet-button-contents {
|
|
460
460
|
position: static;
|
|
461
461
|
}
|
|
462
|
+
.duet-button.duet-button.input-button-secondary, .duet-button.duet-button.input-button-left-secondary {
|
|
463
|
+
border-color: rgb(127, 150, 165);
|
|
464
|
+
}
|
|
462
465
|
.duet-button.square {
|
|
463
466
|
width: 52px;
|
|
464
467
|
min-width: auto !important;
|
|
@@ -584,6 +587,9 @@
|
|
|
584
587
|
border-top-right-radius: 0;
|
|
585
588
|
border-bottom-right-radius: 0;
|
|
586
589
|
}
|
|
590
|
+
.duet-theme-turva .duet-button.duet-button.input-button-secondary, .duet-theme-turva .duet-button.duet-button.input-button-left-secondary {
|
|
591
|
+
border-color: rgb(120, 145, 164);
|
|
592
|
+
}
|
|
587
593
|
.duet-theme-turva .duet-button.negative {
|
|
588
594
|
color: rgb(23, 42, 59) !important;
|
|
589
595
|
}
|
|
@@ -257,12 +257,27 @@ export class DuetButton {
|
|
|
257
257
|
// enforce consistency for external links
|
|
258
258
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
259
259
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
260
|
-
const
|
|
260
|
+
const getSpinnerColor = () => {
|
|
261
|
+
if (this.disabled) {
|
|
262
|
+
return "primary";
|
|
263
|
+
}
|
|
264
|
+
if (this.variation === "destructive-secondary") {
|
|
265
|
+
return "color-status-foreground-danger-primary";
|
|
266
|
+
}
|
|
267
|
+
if (this.variation === "default" || this.variation.includes("secondary")) {
|
|
268
|
+
return "primary";
|
|
269
|
+
}
|
|
270
|
+
if (this.variation.includes("destructive")) {
|
|
271
|
+
return "gray-lightest";
|
|
272
|
+
}
|
|
273
|
+
return "currentColor";
|
|
274
|
+
};
|
|
275
|
+
const commonChildren = (h("span", { class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (h("span", { "aria-hidden": "true", class: {
|
|
261
276
|
"duet-button-icon": true,
|
|
262
277
|
left: !iconRight,
|
|
263
278
|
right: iconRight,
|
|
264
279
|
[this.getButtonIconSize()]: true,
|
|
265
|
-
} }, h("duet-icon", {
|
|
280
|
+
} }, h("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { class: "duet-button-contents-slot" }, h("slot", null))));
|
|
266
281
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
267
282
|
const commonProps = {
|
|
268
283
|
onFocus: this.onFocus,
|
|
@@ -297,7 +312,7 @@ export class DuetButton {
|
|
|
297
312
|
"aria-details": this.accessibleDetails,
|
|
298
313
|
"aria-description": this.accessibleDescription,
|
|
299
314
|
};
|
|
300
|
-
return (h(Host, {
|
|
315
|
+
return (h(Host, { class: {
|
|
301
316
|
"duet-m-0": this.margin === "none",
|
|
302
317
|
"duet-small": this.size === "small",
|
|
303
318
|
"duet-x-small": this.size === "x-small",
|
|
@@ -305,13 +320,13 @@ export class DuetButton {
|
|
|
305
320
|
"duet-expand": this.expand,
|
|
306
321
|
[this.variation]: true,
|
|
307
322
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
308
|
-
} }, h("span", {
|
|
323
|
+
} }, h("span", { onClick: this.handleClick, class: {
|
|
309
324
|
"duet-button-container": true,
|
|
310
325
|
"duet-button-is-loading": this.loading,
|
|
311
326
|
"duet-theme-turva": this.theme === "turva",
|
|
312
327
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
313
328
|
[this.variation]: true,
|
|
314
|
-
} }, 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", {
|
|
329
|
+
} }, 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", { color: getSpinnerColor() })), h("slot", { name: "proxybutton" })));
|
|
315
330
|
}
|
|
316
331
|
static get is() { return "duet-button"; }
|
|
317
332
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,11 +37,11 @@ export class DuetCallout {
|
|
|
37
37
|
<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"/>
|
|
38
38
|
</svg>
|
|
39
39
|
`;
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'c491469b698a73c9a411cf3f660770be81879bd7' }, h("div", { key: '4c7e1af2f3c229e617d04c0aaf1355bce04a2d6d', class: {
|
|
41
41
|
"duet-callout": true,
|
|
42
42
|
"duet-theme-turva": this.theme === "turva",
|
|
43
43
|
"duet-m-0": this.margin === "none",
|
|
44
|
-
} }, h("figure", { key: '
|
|
44
|
+
} }, h("figure", { key: 'eb03690c450a0d767e18bffdbce24d83e3334e65', class: "container" }, h("duet-icon", { key: '1695f3f5c59f29b3497a9df3269e791bc19095a6', 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: '6297aefa621ef90e3cb100bcfd07c798cf9b378a' }, h("slot", { key: '14186875763fbf1989d9de9cb90706be15de8508' })), this.hasAuthorSlot && (h("figcaption", { key: 'c17e4fe83fb3c067c4c91369ee6d80a2a6abf3a8', class: "author" }, h("span", { key: 'fac4c2303e1ff78e28fd1538ab43d1b19e84610f' }, "\u2014 "), h("slot", { key: '648acac653c20369d7d52a5537c43175cb4dbd5d', name: "author" })))))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-callout"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,13 +33,13 @@ export class DuetCaption {
|
|
|
33
33
|
* Always the last one in the class.
|
|
34
34
|
*/
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'f0006c630adf5dfdffecf1694f5f132b6bbfc285', class: {
|
|
37
37
|
"duet-caption": true,
|
|
38
38
|
"duet-caption-selected": this.selected,
|
|
39
39
|
"duet-caption-small": this.size === "small",
|
|
40
40
|
"duet-theme-turva": this.theme === "turva",
|
|
41
41
|
"duet-m-0": this.margin === "none",
|
|
42
|
-
} }, h("slot", { key: '
|
|
42
|
+
} }, h("slot", { key: '6d6fcee0296c8e2c445b048b3cde5a6fdee74f66' })));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "duet-caption"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
outline-offset: 2px;
|
|
71
71
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
72
72
|
}
|
|
73
|
-
.duet-theme-turva .duet-card:focus, .duet-card:focus.duet-theme-turva
|
|
73
|
+
.duet-theme-turva .duet-card:focus, .duet-card:focus.duet-theme-turva {
|
|
74
74
|
outline: 2px solid;
|
|
75
75
|
outline-offset: 2px;
|
|
76
76
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
outline-offset: 2px;
|
|
277
277
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
278
278
|
}
|
|
279
|
-
.duet-theme-turva :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus, :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus.duet-theme-turva
|
|
279
|
+
.duet-theme-turva :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus, :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus.duet-theme-turva {
|
|
280
280
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
281
281
|
}
|
|
282
282
|
:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus {
|
|
@@ -151,10 +151,10 @@ export class DuetCard {
|
|
|
151
151
|
const styles = {
|
|
152
152
|
backgroundColor: getColorByName(this.background),
|
|
153
153
|
};
|
|
154
|
-
return (h(Host, { key: '
|
|
154
|
+
return (h(Host, { key: '526da1b920f1be4a18d200ab81bc1951649cf3b2', class: {
|
|
155
155
|
"duet-m-0": this.margin === "none",
|
|
156
156
|
"duet-card-info": this.variation === "info",
|
|
157
|
-
} }, h(TagName, { key: '
|
|
157
|
+
} }, h(TagName, { key: '1cfae581c87423ea9d466fd39084b28505b01a77', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
158
158
|
"duet-card": true,
|
|
159
159
|
[this.padding]: true,
|
|
160
160
|
[this.variation]: true,
|
|
@@ -164,7 +164,7 @@ export class DuetCard {
|
|
|
164
164
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
165
165
|
"duet-card-has-icon": !!this.icon,
|
|
166
166
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
167
|
-
} }, this.image && (h("div", { key: '
|
|
167
|
+
} }, this.image && (h("div", { key: 'e310f18c792507a78333290fc56a3866efe302ca', class: "duet-card-image-mask" }, h("img", { key: '84eaf59d2df2a9dd85cf0703b9b1641dff78c473', src: this.image, class: "duet-card-image", loading: "lazy", alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: 'ef549d1a5f7efeb35a2fd0ca6ab2c22566955029', class: "duet-card-content", id: this.cardId }, h("slot", { key: '746a25475887db3e0ba914e273eb32571accbb56' }), this.hasFooter && (h("div", { key: 'd30c96b12ae73fc4bdfbfd22f25b862287b8fce5', class: "duet-card-footer" }, h("slot", { key: '887615186784331005c099562f296bdd3d216c98', name: "footer" })))))));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "duet-card"; }
|
|
170
170
|
static get encapsulation() { return "shadow"; }
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
outline-offset: 2px;
|
|
108
108
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
109
109
|
}
|
|
110
|
-
.duet-theme-turva .duet-checkbox:focus + label::before, .duet-checkbox:focus + label::before.duet-theme-turva
|
|
110
|
+
.duet-theme-turva .duet-checkbox:focus + label::before, .duet-checkbox:focus + label::before.duet-theme-turva {
|
|
111
111
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
112
112
|
}
|
|
113
113
|
.duet-checkbox[aria-invalid=true] + label::before {
|
|
@@ -150,11 +150,11 @@ export class DuetCheckbox {
|
|
|
150
150
|
*/
|
|
151
151
|
render() {
|
|
152
152
|
const identifier = this.identifier || this.checkboxId;
|
|
153
|
-
return (h(Host, { key: '
|
|
153
|
+
return (h(Host, { key: '969fef83a2c19f8bde9bbe4244282e8baf694dee', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '7dec18303e2eb5f1d03efcd8913ee16aac4279a5', class: {
|
|
154
154
|
"duet-checkbox-container": true,
|
|
155
155
|
"duet-label-hidden": this.labelHidden,
|
|
156
156
|
"duet-theme-turva": this.theme === "turva",
|
|
157
|
-
} }, h("input", { key: '
|
|
157
|
+
} }, h("input", { key: 'd48062c10d7b99b4f41e36dc84f293d3217c1112', ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-invalid": this.error ? "true" : "false", "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.getAriaDetails(), "aria-description": this.accessibleDescription, "aria-selected": this.accessibleSelected, required: this.required, role: this.role, name: this.name, id: identifier }), h("label", { key: '16993274e2fc393f0975638cb9b086985e8a7824', class: "duet-label", htmlFor: identifier }, h("span", { key: 'e23f56d12d28ac8b2365a10d42af3a2da0e22c4f' }, this.label)), this.hasAfterLabelSlot && (h("div", { key: '70c7eb127b99fecd261cce9532fe29b52dd6b06a', class: "duet-after-label", id: this.afterLabelId }, h("slot", { key: '1ff432b9f19edecef2d61fef39807731f23b887d', name: "after-label" }))), h("div", { key: '3684cba399c53315f800893f2865543385fc0160', class: "duet-checkbox-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'a6ef45046d9857c1a546796fc1be69bb63e5b714' }, this.error)))));
|
|
158
158
|
}
|
|
159
159
|
static get is() { return "duet-checkbox"; }
|
|
160
160
|
static get encapsulation() { return "shadow"; }
|
|
@@ -252,9 +252,7 @@
|
|
|
252
252
|
outline-offset: 2px;
|
|
253
253
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
254
254
|
}
|
|
255
|
-
.duet-theme-turva :host(.user-is-tabbing) .duet-chip-focus, :host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,
|
|
256
|
-
.duet-theme-turva :host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button,
|
|
257
|
-
:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva,
|
|
255
|
+
.duet-theme-turva :host(.user-is-tabbing) .duet-chip-focus, :host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,
|
|
258
256
|
.duet-theme-turva :host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button,
|
|
259
257
|
:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva {
|
|
260
258
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -332,7 +332,7 @@ export class DuetChip {
|
|
|
332
332
|
onBlur: this.onBlur,
|
|
333
333
|
ref: el => (this.focusableElement = el),
|
|
334
334
|
};
|
|
335
|
-
return (h(Host, { key: '
|
|
335
|
+
return (h(Host, { key: '767a15cc909e022208fcde5be228793bee3b6976', class: { [this.variation]: true } }, this.variation === "button" && (h("span", { key: 'c8825faa73dbdcdcb1205a23cda99d78a3260094', class: classes }, h("button", Object.assign({ key: 'e6da48743479479b5297d5d6ab907ff496d16ffc', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("span", { key: '96950c91e2d34903ddccd8e9db3af5d0768965cb', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '51549e09fbf833745b858e166b074a136afbdf74', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '9feae0579ee54a12770b88ec4f6c4ea1d19b9150' })))), this.variation === "input" && (h("span", { key: '6da4e282e09b8c5d597c889d7f213e40be19668d', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, h("button", Object.assign({ key: '188896fb3724b4e136d4dae90ddfa19948c45417', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), h("span", { key: '55b16c4be2ba628ad94bc2dbb5115a52e6e06f14', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: 'b290e850434af122fc074a33ad80e79284b63f04', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '85481330d91a6fda693bd86588333d8b721ea9d7' })), h("button", { key: '8eec4cb37be314a064f5638b0ed412d5c450fd83', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, h("duet-icon", { key: '8efbe50fabd85dd7599e4a3b304d06c023c5e150', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("span", { key: '789ab88639feff72321c139d23afab0ddcfeaca9', class: classes }, h("input", Object.assign({ key: '611a30eed4de5b7c4fd0153006db23f7ad16f797', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { key: '574fa08ad87d0337be9d919367fca851ce1230fc', htmlFor: identifier }, this.icon && (h("span", { key: 'e1c2ccf10a2be64b8d7e17b244f7c0c618262160', class: "duet-chip-icon-container" }, h("duet-icon", { key: 'a91294fe02e8444302c3f75a94e90fddb9a3b0ca', name: this.icon, size: this.size === "large" ? "small" : "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '1f4eae14832b5ba6cd943ddd69a69841b4b4e494', name: "messaging-checked-small", size: this.size === "large" ? "x-small" : "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '6685426d95bfccb9d349d357fdda0311af132d08' }), this.popupElement && (h("span", { key: '6736d4b0b1b32d092bb2896ae909812e2abaede9', class: "duet-chip-popup-disclosure" }, h("duet-icon", { key: '68f49f84e631f7fcb4010f0b748c380aea6c9fda', name: "action-arrow-down-small", size: this.size === "large" ? "xx-small" : "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("span", { key: '8e95895e06e422064e64a037cb7fecc560614043', class: classes }, h("slot", { key: 'ef700ca570f14aa7306abf57a071bdf9f102abb3', name: "input" }), h("label", { key: '599aec04fc86a809f0e4d86cdde2c329c160ef7c', htmlFor: identifier }, this.icon && (h("span", { key: '9b138f1e3303ac8b6143756af5a371e2972925de', class: "duet-chip-icon-container" }, h("duet-icon", { key: '4b4fe62396483bcd44270c0a9e6fb592caf903b6', name: this.icon, size: this.size === "large" ? "small" : "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '53bad7860f10b420e15875726dbd423148785873', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '9c2141abc5349eb9e4fa1ee8a93a99dffcefc829' }))))));
|
|
336
336
|
}
|
|
337
337
|
static get is() { return "duet-chip"; }
|
|
338
338
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,11 +33,11 @@ export class DuetCheckmark {
|
|
|
33
33
|
inheritGlobalTheme(this);
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '9a2512992413ec797c17d55d2a41908cda0e6307', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'f95a151961586c89597dd2d31436deecc0cabf4d', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '42f1b50012a17910a3c1d91bac31bfc370c73abf', class: {
|
|
37
37
|
"duet-checkmark-container": true,
|
|
38
38
|
center: this.center,
|
|
39
39
|
"duet-checkmark-radio": this.type === "radio",
|
|
40
|
-
} }, this.checked && h("div", { key: '
|
|
40
|
+
} }, this.checked && h("div", { key: 'ed62491f54edf398da1c22ae672683107b6aa8bc', class: "duet-checkmark" })))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "duet-checkmark"; }
|
|
43
43
|
static get originalStyleUrls() {
|
|
@@ -254,7 +254,7 @@ input:focus {
|
|
|
254
254
|
outline-offset: 2px;
|
|
255
255
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
256
256
|
}
|
|
257
|
-
.duet-theme-turva .focus.duet-choice-label, .focus.duet-choice-label.duet-theme-turva
|
|
257
|
+
.duet-theme-turva .focus.duet-choice-label, .focus.duet-choice-label.duet-theme-turva {
|
|
258
258
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
259
259
|
}
|
|
260
260
|
|
|
@@ -423,7 +423,7 @@ label.disabled .duet-checkmark-container {
|
|
|
423
423
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
424
424
|
display: block;
|
|
425
425
|
}
|
|
426
|
-
.duet-theme-turva :host(.user-is-tabbing) .duet-choice-info-container:focus, :host(.user-is-tabbing) .duet-choice-info-container:focus.duet-theme-turva
|
|
426
|
+
.duet-theme-turva :host(.user-is-tabbing) .duet-choice-info-container:focus, :host(.user-is-tabbing) .duet-choice-info-container:focus.duet-theme-turva {
|
|
427
427
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
428
428
|
}
|
|
429
429
|
|
|
@@ -471,7 +471,7 @@ label.disabled .duet-checkmark-container {
|
|
|
471
471
|
outline-offset: 2px;
|
|
472
472
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
473
473
|
}
|
|
474
|
-
.duet-theme-turva :host(.user-is-tabbing) .duet-choice-info-toggle:focus, :host(.user-is-tabbing) .duet-choice-info-toggle:focus.duet-theme-turva
|
|
474
|
+
.duet-theme-turva :host(.user-is-tabbing) .duet-choice-info-toggle:focus, :host(.user-is-tabbing) .duet-choice-info-toggle:focus.duet-theme-turva {
|
|
475
475
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
476
476
|
}
|
|
477
477
|
.duet-choice-info-toggle[aria-expanded=true] {
|
|
@@ -422,7 +422,7 @@ export class DuetChoice {
|
|
|
422
422
|
* Always the last one in the class.
|
|
423
423
|
*/
|
|
424
424
|
render() {
|
|
425
|
-
return (h(Host, { key: '
|
|
425
|
+
return (h(Host, { key: '20fca5910765c8cca647f5632a5b922957ab3295', class: {
|
|
426
426
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
427
427
|
[`horizontal-responsive-${this.groupResponsive}`]: this.groupDirection === "horizontal" && !!this.groupResponsive,
|
|
428
428
|
"vertical-stretch": this.groupDirection === "horizontal",
|
|
@@ -431,10 +431,10 @@ export class DuetChoice {
|
|
|
431
431
|
"duet-theme-turva": this.theme === "turva",
|
|
432
432
|
"no-hover": this.isHovering,
|
|
433
433
|
disabled: this.getDisabled(),
|
|
434
|
-
} }, h("div", { key: '
|
|
434
|
+
} }, h("div", { key: 'fd4d2187540b58f67ba2215fb1e92ae80e1bda59', class: {
|
|
435
435
|
"duet-choice-card-flextainer": true,
|
|
436
436
|
"duet-theme-turva": this.theme === "turva",
|
|
437
|
-
} }, h("div", { key: '
|
|
437
|
+
} }, h("div", { key: '767518376936e2ac6b0317ed2961c9832a9540f9', class: {
|
|
438
438
|
"duet-choice-card": true,
|
|
439
439
|
"has-icon": !!this.icon,
|
|
440
440
|
"has-info": this.hasInfo,
|
|
@@ -443,16 +443,16 @@ export class DuetChoice {
|
|
|
443
443
|
collapsible: this.collapsible,
|
|
444
444
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
445
445
|
"duet-p-0": this.padding === "none",
|
|
446
|
-
} }, h("slot", { key: '
|
|
446
|
+
} }, h("slot", { key: '3218ec3ce6232219942048b1dc4720e6544d5a8e', name: "choiceinput" }), h("label", { key: '43d66fc0a5fbe3dc91ba24b1b9a61bfe1565c9c4', class: {
|
|
447
447
|
"duet-choice-label": true,
|
|
448
448
|
"has-before-text": this.hasBeforeText,
|
|
449
449
|
checked: this.checked,
|
|
450
450
|
focus: this.focus,
|
|
451
451
|
disabled: this.getDisabled(),
|
|
452
|
-
}, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: '
|
|
452
|
+
}, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: '144d416819882f6ef4d1b7e8fc2de04e045e9e6f', name: "before-text" }), this.icon && (h("div", { key: 'adfb01ba2ba8dd118a9780ec2e01db2efa75c0ce', class: "duet-choice-card-icon" }, h("duet-icon", { key: 'abf48b519c4d60cc2ce9923eaf6a1830061a13a6', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: 'ddccee835dbdc2c123fc51ec2ced2539515f5e07', class: "duet-choice-card-text" }, h("div", { key: '68c2770f71856d031a720d03242809bcae202624' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: '67a7ead271ee52570028c6f2ce64267c9b7e687d' }, h("duet-spacer", { key: 'eb726497b2e68a5ddc43486af8fa621e4a620dd0', size: "xx-small" }), h("duet-caption", { key: '7656a138b5d881f6aaa5ce978816d550d30debd4', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: 'ed0700c59f2e492ba38dd03f1157332ac5794003' }, h("duet-spacer", { key: 'e45435defc128599b911095c8d845a4b19b5085c', size: "xx-small" }), h("slot", { key: 'aff1622080409265769aad87862ad14e6f4e96a1', name: "additional" })))), h("div", { key: '01f506c4af993b10b3f651a4175a3f93288ffac4' }, h("div", { key: '9d328e36a1e61a1ebec8bc5bab0fdbce0ba03cc2', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: 'ebad90b11052d439d9a9c3243fa32a621d770215', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: 'a1d78aab1bd360876936e79ad1c8a00d534ad2d5', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
453
453
|
"duet-choice-info-toggle": true,
|
|
454
454
|
"duet-theme-turva": this.theme === "turva",
|
|
455
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: '
|
|
455
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: '8c394a1cc633e65e9f8c9162fbe4c361e37a15f6', class: "duet-choice-info-icon" }, h("duet-icon", { key: '52c25fe2a72346e9efde109af0736ec6673dfc0e', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: 'dda02c201e7874c64ed98b6b48e30f734bc8ecb8', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
456
456
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
457
457
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
458
458
|
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "-1", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
|
|
@@ -183,14 +183,14 @@ export class DuetChoiceGroup {
|
|
|
183
183
|
* Always the last one in the class.
|
|
184
184
|
*/
|
|
185
185
|
render() {
|
|
186
|
-
return (h(Host, { key: '
|
|
186
|
+
return (h(Host, { key: '76d5ad8cc7a9f59c9ab08932b3e6e6596ff1f9d0', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
|
|
187
187
|
horizontal: this.direction === "horizontal",
|
|
188
188
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
189
189
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
190
190
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
191
191
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
192
192
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
193
|
-
} }, h("duet-fieldset", { key: '
|
|
193
|
+
} }, h("duet-fieldset", { key: 'ade69113f55cbcc86f0504f857ede704aa4c0075', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '388b1ccb2ac2ba51cb35dbe6f9f824183f0d3f0f', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '104f30e94ea5413347edb6abc1975fcd9ae8ad6c', name: "tooltip", slot: "tooltip" }), h("div", { key: 'af118f2f9fef2e7c2a6aa8d242bdd0cb4001f328', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: 'ebb96354e1a32cb4821ad6700e0cdbe1087ee815' })))));
|
|
194
194
|
}
|
|
195
195
|
static get is() { return "duet-choice-group"; }
|
|
196
196
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
outline-offset: 2px;
|
|
82
82
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
83
83
|
}
|
|
84
|
-
.duet-theme-turva :host(.user-is-tabbing) .duet-collapsible-heading:focus, :host(.user-is-tabbing) .duet-collapsible-heading:focus.duet-theme-turva
|
|
84
|
+
.duet-theme-turva :host(.user-is-tabbing) .duet-collapsible-heading:focus, :host(.user-is-tabbing) .duet-collapsible-heading:focus.duet-theme-turva {
|
|
85
85
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
86
86
|
}
|
|
87
87
|
.duet-collapsible-heading.full-width {
|
|
@@ -177,7 +177,7 @@ export class DuetCollapsible {
|
|
|
177
177
|
*/
|
|
178
178
|
render() {
|
|
179
179
|
const HeadingTagName = this.headingTags.includes(this.headingLevel) ? this.headingLevel : "div";
|
|
180
|
-
return (h(Host, { key: '
|
|
180
|
+
return (h(Host, { key: 'b19b694f6710f4338d26580dea95463eefaa30d4', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, h(HeadingTagName, { key: '47062fe8e280b4c2489ebe9ba784e6211ecac9e3' }, h("button", { key: '5e635b36739a5ab604c5d523435522b83bddcd56', class: {
|
|
181
181
|
"duet-collapsible-heading": true,
|
|
182
182
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
183
183
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -185,7 +185,7 @@ export class DuetCollapsible {
|
|
|
185
185
|
"has-after-heading": this.hasAfterHeadingSlot,
|
|
186
186
|
"full-width": this.headingFullWidth,
|
|
187
187
|
"has-caption": !!this.caption,
|
|
188
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
188
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '9d49b16d4375ea5c4700c3142b920e3e76924443', class: "duet-collapsible-heading-wrapper" }, h("div", { key: '6b45ae151d90d269a466c782eed5c7ed29ecdbee', class: "duet-collapsible-heading-icon" }, h("duet-icon", { key: '99eac9e54f5bbf71068e9b5dc3557ee347d2cd5b', margin: "none", size: this.getEquivalentIconSize(), icon: icon.svg })), h("div", { key: '732d6cf225d17864487046efc9c3cb26e19b9dc8', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.hasAfterHeadingSlot && (h("div", { key: 'ecb0414b87ff8340967c2a65d5715986b8c11c01', part: "duet-collapsible-after-heading" }, h("slot", { key: '85b150c18dd43fbe21041bd4a8258d6412a350f0', name: "after-heading" })))), this.caption && (h("div", { key: '6d3aa5e7917e2db228251eab60ee888ec51d3944', class: "duet-collapsible-heading-caption" }, h("duet-caption", { key: '52aa682a75aa4a7bfef36ad34cbf900b41fb46ba', size: "small", margin: "none" }, this.caption))))), h("div", { key: '815c138b748356c749954d2a99564edd608e8b41', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", { key: '5f5ccef4fa9e4cba89278e034ae23a68c29add51' }))));
|
|
189
189
|
}
|
|
190
190
|
static get is() { return "duet-collapsible"; }
|
|
191
191
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,10 +47,10 @@ export class DuetContactCard {
|
|
|
47
47
|
render() {
|
|
48
48
|
const isTurva = this.theme === "turva";
|
|
49
49
|
const theme = isTurva ? "turva" : "default";
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'a08fac4daef7586a885d4556d27260feb027d4fb', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'd70cc29e06be46210e3150661f16bcf19fab27b1', class: {
|
|
51
51
|
"duet-contact-card": true,
|
|
52
52
|
"duet-theme-turva": this.theme === "turva",
|
|
53
|
-
}, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '
|
|
53
|
+
}, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '4cde139368ebb252e83638d0634671f2167b14a0' }, this.name && (h("duet-heading", { key: 'c91fe7f5ef066de893cfa2fb4018e9b17e5e66af', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '9ef8bdab5f11c125115cfa147428327131e6086a', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'd07bbb21d8963247655a3b172e26c9f1becc2fd2', class: "email" }, h("duet-icon", { key: 'd25b13911b29302d0eabc8f715e13ff59b473c7f', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '2765a6cbc0fb671c3cb8a37d7ac2fe578f369cfe', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: 'fcbed4d2a82ed0ee1e90665f5e42f10bfdcaf344', class: "phone" }, h("duet-icon", { key: '17233a8a4863c68255e207c23de3667437bd1177', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '0a49811728ddfd13096701fe9d33c54722554107', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'eb199cf8f4f83cb7ebebbfb2e791c78b6424091e', class: "call-to-action" }, h("duet-button", { key: 'c8e0d2d72d5b15a74b0d7fd79a595c6ffddf6f7e', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '5e2f0915b883c85ad3bca3f54b62347af8250749' }), h("slot", { key: '388383ea2ca2a756a28d13bdbf521cd85094526a' }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "duet-contact-card"; }
|
|
56
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
49
49
|
border-radius: 4px;
|
|
50
50
|
}
|
|
51
|
-
.duet-theme-turva :host(.user-is-tabbing:not(.descendant-focused):focus), :host(.user-is-tabbing:not(.descendant-focused):focus).duet-theme-turva
|
|
51
|
+
.duet-theme-turva :host(.user-is-tabbing:not(.descendant-focused):focus), :host(.user-is-tabbing:not(.descendant-focused):focus).duet-theme-turva {
|
|
52
52
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
outline-offset: 2px;
|
|
102
102
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
103
103
|
}
|
|
104
|
-
.duet-theme-turva ::slotted(a:focus), ::slotted(a:focus).duet-theme-turva
|
|
104
|
+
.duet-theme-turva ::slotted(a:focus), ::slotted(a:focus).duet-theme-turva {
|
|
105
105
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -46,7 +46,7 @@ export class DuetCookieConsent {
|
|
|
46
46
|
* Always the last one in the class.
|
|
47
47
|
*/
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'e79333a51d76cf03ac4fdaee8e2795e98d79319d', tabindex: "-1", class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'befef096fcaaf1b57daa84ff54cbe665e84f3a86', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '78b54949afed67ada604c2ce9dea9c2fcb87a39f', class: "duet-cookie-consent-content" }, h("div", { key: '84a2a875986036aad4ba0b68fa2f902cf1148b01', class: "expand" }, h("slot", { key: 'd6402515233aaa20e4c1a3ff9b59647c674fe03d' })), h("duet-spacer", { key: 'aa7b8ad14f32db64dd72219593c7217567920556', size: "large", direction: "horizontal" }), h("div", { key: '9e7c71566df83cc4e3b6224b2fcf623e81a80db2' }, h("duet-button", { key: '5dc91aa2ae5b05394f1dce473b831d490d62eeae', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "duet-cookie-consent"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,13 +25,14 @@ function createDate(year, month, day) {
|
|
|
25
25
|
}
|
|
26
26
|
return date;
|
|
27
27
|
}
|
|
28
|
+
return undefined;
|
|
28
29
|
}
|
|
29
30
|
/**
|
|
30
31
|
* @param value date string in format dd.mm.yyyy
|
|
31
32
|
*/
|
|
32
33
|
export function parseDate(value) {
|
|
33
34
|
if (!value) {
|
|
34
|
-
return;
|
|
35
|
+
return undefined;
|
|
35
36
|
}
|
|
36
37
|
const matches = value.match(DATE_FORMAT);
|
|
37
38
|
if (matches) {
|