@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
|
@@ -45,11 +45,11 @@ export class DuetIndicator {
|
|
|
45
45
|
inheritGlobalTheme(this);
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'dec9ae44791d7c11742399064ae9f5abcb25a0da' }, h("span", { key: '869ad4db73c79b071b6b1cc4667926874f836351', class: {
|
|
49
49
|
"duet-indicator": true,
|
|
50
50
|
[`duet-indicator-${this.variation}`]: true,
|
|
51
51
|
"duet-theme-turva": this.theme === "turva",
|
|
52
|
-
} }), h("duet-visually-hidden", { key: '
|
|
52
|
+
} }), h("duet-visually-hidden", { key: '95d24f44ddab59732430691a257eebe5de008870' }, this.getAccessibleLabel())));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "duet-indicator"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -202,7 +202,7 @@ duet-caption:not(:last-of-type) {
|
|
|
202
202
|
outline-offset: 2px;
|
|
203
203
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
204
204
|
}
|
|
205
|
-
.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus, .duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva
|
|
205
|
+
.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus, .duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva {
|
|
206
206
|
outline: 2px solid;
|
|
207
207
|
outline-offset: 2px;
|
|
208
208
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -310,10 +310,12 @@ duet-caption:not(:last-of-type) {
|
|
|
310
310
|
.duet-input.after-chip {
|
|
311
311
|
padding-left: 8px !important;
|
|
312
312
|
}
|
|
313
|
-
.has-error .duet-input
|
|
313
|
+
.has-error .duet-input {
|
|
314
|
+
outline-offset: -1px;
|
|
315
|
+
background-color: rgb(255, 240, 243) !important;
|
|
314
316
|
border-color: rgb(214, 28, 82) !important;
|
|
315
317
|
}
|
|
316
|
-
.has-error .duet-input + .duet-input-icon
|
|
318
|
+
.has-error .duet-input + .duet-input-icon {
|
|
317
319
|
color: rgb(214, 28, 82) !important;
|
|
318
320
|
}
|
|
319
321
|
.has-icon .duet-input {
|
|
@@ -328,25 +330,12 @@ duet-caption:not(:last-of-type) {
|
|
|
328
330
|
.duet-input::-webkit-contacts-auto-fill-button {
|
|
329
331
|
display: none !important;
|
|
330
332
|
}
|
|
331
|
-
.duet-input
|
|
333
|
+
.duet-input::placeholder {
|
|
332
334
|
color: rgb(98, 121, 138);
|
|
333
335
|
opacity: 1 !important;
|
|
334
336
|
transition: color 300ms ease;
|
|
335
337
|
}
|
|
336
|
-
.duet-input:focus
|
|
337
|
-
color: rgb(181, 198, 208);
|
|
338
|
-
}
|
|
339
|
-
.duet-input::-moz-placeholder {
|
|
340
|
-
color: rgb(98, 121, 138);
|
|
341
|
-
opacity: 1 !important;
|
|
342
|
-
}
|
|
343
|
-
.duet-input:focus::-moz-placeholder {
|
|
344
|
-
color: rgb(181, 198, 208);
|
|
345
|
-
}
|
|
346
|
-
.duet-input:-ms-input-placeholder {
|
|
347
|
-
color: rgb(98, 121, 138);
|
|
348
|
-
}
|
|
349
|
-
.duet-input:focus:-ms-input-placeholder {
|
|
338
|
+
.duet-input:focus::placeholder {
|
|
350
339
|
color: rgb(181, 198, 208);
|
|
351
340
|
}
|
|
352
341
|
.duet-input[disabled] {
|
|
@@ -358,27 +347,36 @@ duet-caption:not(:last-of-type) {
|
|
|
358
347
|
opacity: 1 !important;
|
|
359
348
|
-webkit-text-fill-color: rgb(8, 42, 77) !important;
|
|
360
349
|
}
|
|
361
|
-
.duet-input:hover:not(:disabled) {
|
|
350
|
+
.duet-input:hover:not(:disabled):not(:focus) {
|
|
362
351
|
outline: 2px solid;
|
|
363
|
-
outline-color: rgb(
|
|
352
|
+
outline-color: rgb(127, 150, 165) !important;
|
|
364
353
|
outline-offset: -1px;
|
|
365
354
|
}
|
|
366
|
-
.duet-theme-turva .duet-input:hover:not(:disabled)
|
|
367
|
-
outline-color: rgb(120, 145, 164);
|
|
355
|
+
.duet-theme-turva .duet-input:hover:not(:disabled):not(:focus), .duet-input:hover:not(:disabled):not(:focus).duet-theme-turva {
|
|
356
|
+
outline-color: rgb(120, 145, 164) !important;
|
|
368
357
|
}
|
|
369
|
-
.has-error .duet-input:hover:not(:disabled) {
|
|
370
|
-
outline: 1px solid;
|
|
371
|
-
outline-color: rgb(214, 28, 82);
|
|
358
|
+
.has-error .duet-input:hover:not(:disabled):not(:focus) {
|
|
372
359
|
outline-offset: -1px;
|
|
360
|
+
background-color: rgb(255, 240, 243) !important;
|
|
361
|
+
border-color: rgb(214, 28, 82) !important;
|
|
362
|
+
outline-width: 2px;
|
|
363
|
+
outline-color: rgb(214, 28, 82) !important;
|
|
373
364
|
}
|
|
374
365
|
.duet-input:focus {
|
|
375
|
-
|
|
376
|
-
|
|
366
|
+
outline: 2px solid;
|
|
367
|
+
outline-color: rgb(0, 119, 179) !important;
|
|
368
|
+
outline-offset: -1px;
|
|
369
|
+
}
|
|
370
|
+
.duet-theme-turva .duet-input:focus, .duet-input:focus.duet-theme-turva {
|
|
371
|
+
outline-color: rgb(23, 42, 59) !important;
|
|
377
372
|
}
|
|
378
373
|
.has-error .duet-input:focus {
|
|
379
|
-
outline: 1px solid;
|
|
380
|
-
outline-color: rgb(214, 28, 82);
|
|
381
374
|
outline-offset: -1px;
|
|
375
|
+
background-color: rgb(255, 240, 243) !important;
|
|
376
|
+
border-color: rgb(214, 28, 82) !important;
|
|
377
|
+
outline-width: 2px;
|
|
378
|
+
outline-color: rgb(214, 28, 82) !important;
|
|
379
|
+
background: rgb(255, 255, 255) !important;
|
|
382
380
|
}
|
|
383
381
|
.duet-input:focus + .duet-input-icon {
|
|
384
382
|
color: rgb(0, 119, 179);
|
|
@@ -513,24 +511,55 @@ duet-caption:not(:last-of-type) {
|
|
|
513
511
|
outline-color: rgb(62, 84, 102);
|
|
514
512
|
border-color: rgb(0, 119, 179);
|
|
515
513
|
}
|
|
516
|
-
.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative {
|
|
514
|
+
.duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative {
|
|
517
515
|
outline: 2px solid;
|
|
518
|
-
outline-color: rgb(
|
|
516
|
+
outline-color: rgb(127, 150, 165) !important;
|
|
519
517
|
outline-offset: -1px;
|
|
520
518
|
}
|
|
521
|
-
.duet-theme-turva .duet-input-variation-revealable:hover:not(.disabled)
|
|
522
|
-
outline-color: rgb(120, 145, 164);
|
|
519
|
+
.duet-theme-turva .duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative, .duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative.duet-theme-turva {
|
|
520
|
+
outline-color: rgb(120, 145, 164) !important;
|
|
523
521
|
}
|
|
524
522
|
.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative {
|
|
525
|
-
outline: 1px solid;
|
|
526
|
-
outline-color: rgb(214, 28, 82);
|
|
527
523
|
outline-offset: -1px;
|
|
524
|
+
background-color: rgb(255, 240, 243) !important;
|
|
525
|
+
border-color: rgb(214, 28, 82) !important;
|
|
528
526
|
}
|
|
529
527
|
|
|
530
528
|
.duet-input-container.has-chips.has-focus .duet-input-relative {
|
|
531
529
|
outline: 2px solid;
|
|
530
|
+
outline-color: rgb(0, 119, 179) !important;
|
|
532
531
|
outline-offset: -1px;
|
|
533
|
-
|
|
532
|
+
}
|
|
533
|
+
.duet-theme-turva .duet-input-container.has-chips.has-focus .duet-input-relative, .duet-input-container.has-chips.has-focus .duet-input-relative.duet-theme-turva {
|
|
534
|
+
outline-color: rgb(23, 42, 59) !important;
|
|
535
|
+
}
|
|
536
|
+
.duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative {
|
|
537
|
+
outline: 2px solid;
|
|
538
|
+
outline-color: rgb(127, 150, 165) !important;
|
|
539
|
+
outline-offset: -1px;
|
|
540
|
+
}
|
|
541
|
+
.duet-theme-turva .duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative, .duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative.duet-theme-turva {
|
|
542
|
+
outline-color: rgb(120, 145, 164) !important;
|
|
543
|
+
}
|
|
544
|
+
.duet-input-container.has-chips.has-error .duet-input-relative {
|
|
545
|
+
outline-offset: -1px;
|
|
546
|
+
background-color: rgb(255, 240, 243) !important;
|
|
547
|
+
border-color: rgb(214, 28, 82) !important;
|
|
548
|
+
}
|
|
549
|
+
.duet-input-container.has-chips.has-error.has-focus .duet-input-relative {
|
|
550
|
+
outline-offset: -1px;
|
|
551
|
+
background-color: rgb(255, 240, 243) !important;
|
|
552
|
+
border-color: rgb(214, 28, 82) !important;
|
|
553
|
+
outline-width: 2px;
|
|
554
|
+
outline-color: rgb(214, 28, 82) !important;
|
|
555
|
+
background: rgb(255, 255, 255) !important;
|
|
556
|
+
}
|
|
557
|
+
.duet-input-container.has-chips.has-error:hover:not(:disabled):not(.has-focus) .duet-input-relative {
|
|
558
|
+
outline-offset: -1px;
|
|
559
|
+
background-color: rgb(255, 240, 243) !important;
|
|
560
|
+
border-color: rgb(214, 28, 82) !important;
|
|
561
|
+
outline-width: 2px;
|
|
562
|
+
outline-color: rgb(214, 28, 82) !important;
|
|
534
563
|
}
|
|
535
564
|
.duet-input-container.has-chips .duet-input-relative {
|
|
536
565
|
display: flex;
|
|
@@ -540,6 +569,7 @@ duet-caption:not(:last-of-type) {
|
|
|
540
569
|
align-items: center;
|
|
541
570
|
justify-content: flex-start;
|
|
542
571
|
width: auto;
|
|
572
|
+
padding-right: 2px;
|
|
543
573
|
border: 1px solid rgb(127, 150, 165);
|
|
544
574
|
border-radius: 4px;
|
|
545
575
|
transition: border 150ms ease;
|
|
@@ -562,44 +592,22 @@ duet-caption:not(:last-of-type) {
|
|
|
562
592
|
.duet-theme-turva.duet-input-container.has-clear .duet-input-clear-icon button {
|
|
563
593
|
color: rgb(8, 42, 77);
|
|
564
594
|
}
|
|
565
|
-
.duet-theme-turva.has-error .duet-input {
|
|
566
|
-
border-color: rgb(214, 28, 82) !important;
|
|
567
|
-
}
|
|
568
595
|
.duet-theme-turva.has-error .duet-input + .duet-input-icon {
|
|
569
596
|
color: rgb(214, 28, 82) !important;
|
|
570
597
|
}
|
|
598
|
+
.duet-theme-turva:not(.has-error) .duet-input {
|
|
599
|
+
border-color: rgb(120, 145, 164) !important;
|
|
600
|
+
}
|
|
571
601
|
.duet-theme-turva .duet-input {
|
|
572
602
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
573
603
|
color: rgb(23, 42, 59) !important;
|
|
574
|
-
border-color: rgb(120, 145, 164) !important;
|
|
575
|
-
}
|
|
576
|
-
.duet-theme-turva .duet-input::-webkit-input-placeholder {
|
|
577
|
-
color: rgb(120, 145, 164);
|
|
578
|
-
}
|
|
579
|
-
.duet-theme-turva .duet-input:focus::-webkit-input-placeholder {
|
|
580
|
-
color: rgb(178, 194, 205);
|
|
581
604
|
}
|
|
582
|
-
.duet-theme-turva .duet-input
|
|
605
|
+
.duet-theme-turva .duet-input::placeholder {
|
|
583
606
|
color: rgb(120, 145, 164);
|
|
584
607
|
}
|
|
585
|
-
.duet-theme-turva .duet-input:focus
|
|
608
|
+
.duet-theme-turva .duet-input:focus::placeholder {
|
|
586
609
|
color: rgb(178, 194, 205);
|
|
587
610
|
}
|
|
588
|
-
.duet-theme-turva .duet-input:-ms-input-placeholder {
|
|
589
|
-
color: rgb(120, 145, 164);
|
|
590
|
-
}
|
|
591
|
-
.duet-theme-turva .duet-input:focus:-ms-input-placeholder {
|
|
592
|
-
color: rgb(241, 202, 178);
|
|
593
|
-
}
|
|
594
|
-
.duet-theme-turva .duet-input[disabled] {
|
|
595
|
-
color: rgb(23, 42, 59) !important;
|
|
596
|
-
background: rgb(228, 233, 237) !important;
|
|
597
|
-
border-color: rgb(228, 233, 237) !important;
|
|
598
|
-
-webkit-text-fill-color: rgb(23, 42, 59) !important;
|
|
599
|
-
}
|
|
600
|
-
.duet-theme-turva .duet-input:focus {
|
|
601
|
-
border-color: rgb(23, 42, 59) !important;
|
|
602
|
-
}
|
|
603
611
|
.duet-theme-turva .duet-input:focus + .duet-input-icon {
|
|
604
612
|
color: rgb(23, 42, 59);
|
|
605
613
|
}
|
|
@@ -548,7 +548,7 @@ export class DuetInput {
|
|
|
548
548
|
this.type !== "password" &&
|
|
549
549
|
this.type !== "time" &&
|
|
550
550
|
this.variation !== "button";
|
|
551
|
-
return (h(Host, { key: '
|
|
551
|
+
return (h(Host, { key: '1eb6191aaab4c5bd1077c68882b28d04fe1affef', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: '606e2f2ae2ab2b48318b7fd8f4d2192e9c1d9ea8', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: '80a74a720c101407751f1004d0ded71d9f5b0cca', class: {
|
|
552
552
|
"duet-input-container": true,
|
|
553
553
|
"duet-theme-turva": this.theme === "turva",
|
|
554
554
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -562,7 +562,11 @@ export class DuetInput {
|
|
|
562
562
|
"has-clear": this.clear,
|
|
563
563
|
"has-focus": this.isFocused,
|
|
564
564
|
disabled: this.disabled,
|
|
565
|
-
} }, h("div", { key: '
|
|
565
|
+
} }, h("div", { key: 'e75d978a35f9329df71ec9e85f0eed8433addb13', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: '42155bef67e2f2ed2bc401abbed050e9b147c5b0', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '0b17713442d9e85a071fd8f891ad8b18e6d41c1b', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '574024190707b602760edf56f6f081cdc5ce3a06', name: "tooltip" })), this.caption && (h("duet-caption", { key: '3bfd4db6bcb18def8439d3b3532fed1f4ec2c3ed', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '0db5fecd76df4b90a6990d382e5af5ea655597a2', class: {
|
|
566
|
+
"duet-input-relative": true,
|
|
567
|
+
"duet-theme-turva": this.theme === "turva",
|
|
568
|
+
"has-error": !!this.error,
|
|
569
|
+
} }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: 'd501c8b4037074997020bca7c3ea488e85eecd00', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '80ada9143fc5d0a80be79225176321dde4c2b751', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && h("slot", { key: 'd2f2297577b918f9b00dffe210310f8b5902b8f4', name: "button-left" }), h("input", Object.assign({ key: 'c73b07336a423b55fc1365d51db107df4ec3c9d0', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
566
570
|
"duet-input": true,
|
|
567
571
|
disabled: this.disabled,
|
|
568
572
|
"is-number": this.component === "number",
|
|
@@ -570,17 +574,17 @@ export class DuetInput {
|
|
|
570
574
|
"after-chip": this.getAllChips().length > 0,
|
|
571
575
|
"align-right": this.inputAlign === "right",
|
|
572
576
|
[`input-padding-${this.inputPadding}`]: true,
|
|
573
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '
|
|
577
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '1c17a9d9d010a4f780603790a88dee696a2b9cc4', class: "duet-input-icon" }, h("duet-icon", { key: '31a464daf54eb879f7e29821dfea02e2e0a3ea1a', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: 'ceeb34206ddc6e2b5aa413e1811cf9884b88aa02', class: {
|
|
574
578
|
"duet-input-clear-icon": true,
|
|
575
579
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
576
580
|
"duet-input-clear-icon-double": !!this.icon,
|
|
577
581
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
578
582
|
[`input-padding-${this.inputPadding}`]: true,
|
|
579
|
-
} }, h("button", { key: '
|
|
583
|
+
} }, h("button", { key: '1857977acef2e30274a24d1d79f517e2f4c85622', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: '7873a22bdde0030f84d65a12eb9eef6f7e5b4f05', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '772cbb355e2e10bd6ed14b8f5f3f7759943d564e', class: "duet-input-icon" }, h("duet-icon", { key: 'a814a80c20d9b449b780bfb76300c0bfd2a81179', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: 'e5dc657f02e11f18fce79ac4ae100ec22d7c6262', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: 'f6f4f1af8a5597235245bfa13c569a3b8b15b58c', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
580
584
|
? this.hidePasswordLabel[this.language]
|
|
581
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '
|
|
585
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '8194008037516aa17ab2ee14066ee3b936dee6dd' }, h("span", { key: '3eaba770a22e3c7fce643f29204cba36837ae6ca', "aria-live": "polite" }, this.isPasswordRevealed
|
|
582
586
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
583
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '
|
|
587
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '85d82cb13cee107e0bbf8a45a882954cb680b1ef' })), h("span", { key: '7dc23251785bd369b7485d5e07c7b13b8594b3bd', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '6e5d9037b73b4aac9643ce004fafa25eb0a2ad9d', class: "duet-input-error" }, this.error)))));
|
|
584
588
|
}
|
|
585
589
|
static get is() { return "duet-input"; }
|
|
586
590
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,24 +66,24 @@ export class DuetLayout {
|
|
|
66
66
|
* Always the last one in the class.
|
|
67
67
|
*/
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '2cdbe38f663ea0d8cc15fd500ecda5f411b9e0ad', class: {
|
|
70
70
|
center: this.center,
|
|
71
71
|
"duet-middle": this.middle,
|
|
72
72
|
"duet-ie": isInternetExplorer(),
|
|
73
|
-
} }, h("div", { key: '
|
|
73
|
+
} }, h("div", { key: '3844cb119e6ee20b71358c128536e493c0cefa10', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: 'fc18a4c1bf4b0779f72fbe64409a7b34bf352761', class: {
|
|
74
74
|
"duet-layout-top": true,
|
|
75
75
|
"duet-center": this.center,
|
|
76
|
-
} }, h("div", { key: '
|
|
76
|
+
} }, h("div", { key: '3737558d8a28f5d5036e7a80dcaaf0b4414e62fb', class: "duet-layout-top-wrapper" }, h("slot", { key: '7fb843ff9f8debeb3690193a15fd76c1bcf4e12d', name: "top" })))), h("div", { key: 'adfd7395cbb2e39f853b88a14f991b00f8476090', class: {
|
|
77
77
|
"duet-layout": true,
|
|
78
78
|
"has-sidebar": this.hasSidebar,
|
|
79
79
|
"duet-center": this.center,
|
|
80
80
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
81
|
-
} }, h("main", { key: '
|
|
81
|
+
} }, h("main", { key: '0506f7e5ae428fbab490af792a6c9662b7b4e9fd', class: "duet-main" }, this.hasPageHeading && h("slot", { key: '820596fd9584dc5abfc82f2aae4b1fafe6d1f7a5', name: "page-heading" }), h("slot", { key: '8f513267e5becd3d5f079983895ebd7c4a409e74', name: "main" })), this.hasSidebar && (h("aside", { key: 'c3689c4105724962cffbedef78edbfa5d51e114b', class: "duet-sidebar" }, h("div", { key: 'b327b7c652bf43acaf36442b9aa47e0289d52d0c', class: {
|
|
82
82
|
"duet-sidebar-container": true,
|
|
83
83
|
"has-tabs": this.tabs,
|
|
84
84
|
sticky: this.sticky,
|
|
85
85
|
[this.stickyDistance]: this.sticky,
|
|
86
|
-
} }, h("slot", { key: '
|
|
86
|
+
} }, h("slot", { key: '75ea637d7fc09abde7ffb80b306b4f688811e415', name: "sidebar" }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "duet-layout"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
outline-offset: 2px;
|
|
60
60
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
61
61
|
}
|
|
62
|
-
.duet-theme-turva .duet-link:focus, .duet-link:focus.duet-theme-turva
|
|
62
|
+
.duet-theme-turva .duet-link:focus, .duet-link:focus.duet-theme-turva {
|
|
63
63
|
outline: 2px solid;
|
|
64
64
|
outline-offset: 2px;
|
|
65
65
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -187,10 +187,10 @@ export class DuetLink {
|
|
|
187
187
|
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
188
188
|
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
189
189
|
const isButton = Tag === "button";
|
|
190
|
-
return (h(Host, { key: '
|
|
190
|
+
return (h(Host, { key: 'b7bc738a8b128a9e56337a4ddc2b3d8cb87d4cf6', class: {
|
|
191
191
|
[`duet-link-${this.variation}`]: true,
|
|
192
192
|
"duet-m-0": this.margin === "none",
|
|
193
|
-
} }, h(Tag, { key: '
|
|
193
|
+
} }, h(Tag, { key: '5b530346d4036ccf8d777a2114ab74385d390eb9', href: this.url, class: {
|
|
194
194
|
"duet-link": true,
|
|
195
195
|
"duet-link-is-external": this.external,
|
|
196
196
|
"duet-link-is-download": !!this.download,
|
|
@@ -101,7 +101,7 @@ export class DuetList {
|
|
|
101
101
|
* Always the last one in the class.
|
|
102
102
|
*/
|
|
103
103
|
render() {
|
|
104
|
-
return (h("dl", { key: '
|
|
104
|
+
return (h("dl", { key: '8db79297c536ab67ccc4692ce3fba04812ad38f0', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", { key: '9644e8591deac7c8e4ac380f65e93ffb54154e70' })));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "duet-list"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class DuetListItem {
|
|
|
34
34
|
* Always the last one in the class.
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '47185c0399f547a7d80ac43adf617b617e33e604', class: {
|
|
38
38
|
"duet-theme-turva": this.theme === "turva",
|
|
39
39
|
"duet-no-stacking": !this.responsive,
|
|
40
40
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -42,7 +42,7 @@ export class DuetListItem {
|
|
|
42
42
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
43
43
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
44
44
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
45
|
-
} }, h("dt", { key: '
|
|
45
|
+
} }, h("dt", { key: '6ae3c144789f6f61efd296b660b88b180a5e0e38' }, h("slot", { key: 'c33e76c13b822b05a938e421d6eb53ef95e403f7', name: "label" })), h("dd", { key: '31bda43d4a91ec3b4a44746a0ddde2f7b91845c2' }, h("slot", { key: 'c1ce54a0b9a7dd7256a7dcf3a32bef70bb063621', name: "value" }))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "duet-list-item"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
outline-offset: 2px;
|
|
50
50
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
51
51
|
}
|
|
52
|
-
.duet-theme-turva .duet-logo:focus, .duet-logo:focus.duet-theme-turva
|
|
52
|
+
.duet-theme-turva .duet-logo:focus, .duet-logo:focus.duet-theme-turva {
|
|
53
53
|
outline: 2px solid;
|
|
54
54
|
outline-offset: 2px;
|
|
55
55
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -123,7 +123,7 @@ export class DuetLogo {
|
|
|
123
123
|
*/
|
|
124
124
|
render() {
|
|
125
125
|
const TagName = this.href ? "a" : "div";
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'd99854962d44321597d2a365ebb9a1cc9ea96ef5', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: 'a68c65c4e68571831417a0c6ae7e8ae339f7fe29', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
127
127
|
"duet-logo": true,
|
|
128
128
|
[this.size]: true,
|
|
129
129
|
"duet-logo-inverse": this.inverse,
|
|
@@ -132,17 +132,17 @@ export class DuetMenuBar {
|
|
|
132
132
|
render() {
|
|
133
133
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
134
134
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
135
|
-
return (h(Host, { key: '
|
|
135
|
+
return (h(Host, { key: '20953eddb5841bc9c3270486dd3734ec5cc3a952' }, h("nav", { key: '1c25040ecad0544d6875be135b0e37d228d252ac', class: {
|
|
136
136
|
"duet-menu-bar": true,
|
|
137
137
|
"duet-theme-turva": this.theme === "turva",
|
|
138
138
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
139
139
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
140
140
|
hidden: this.hidden && this.hideOnScroll,
|
|
141
141
|
bottom: this.onBottom,
|
|
142
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
142
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '8f97938d286808eeaac40b082bce5e01011d23be', class: "top" }), h("div", { key: '1e9f311e8d1cfd877a927a8088b898446dd180ac', class: { container: true, "with-info-text": !!this.logoInfoText && !this.centerSlotUsed }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: 'c294599cde52e8fcabd0412fcd803e472bf97e45' }, h("duet-logo", { key: '0a25bba9944d981a0c0a0fc030df98c3ab191a20', class: "medium", size: "medium", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: '93471aa81e550289950f4bf1334ec780bbffa658', class: "large", size: "large", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: '08c23b2467aa25bb26f2d63b6bcf282b66930ece', class: "only-symbol", onlySymbol: true, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), this.logoInfoText && !this.centerSlotUsed && (h("div", { key: '56afacfd12bbaf8221f0054098db968d6cf48821', class: {
|
|
143
143
|
"duet-logo-info-text": true,
|
|
144
144
|
"duet-theme-turva": this.theme === "turva",
|
|
145
|
-
} }, this.logoInfoText)))), h("div", { key: '
|
|
145
|
+
} }, this.logoInfoText)))), h("div", { key: 'f0c2016af395fbf2b559d04250b37e615ec6aa6d', class: "list center", role: "list" }, h("div", { key: 'f22dc0cbdccf64d0eca130fadaa5ce0a94a49652', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '013cb15f8cf0e113f61ee79951145ba591643c8e', name: "center" }), h("div", { key: '261f3b02c4a5479c55f14d184d1f62f0e1b423e5', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '340de122eae1f45e67510326ed7853d554620629', class: "list right", role: "list" }, h("slot", { key: '4e06e5759df443ea2f958eb3337714b353c46a1a', name: "right" }))), h("div", { key: 'd7cf80a004bef36a8d4ddd7b15276ba703393e11', class: "bottom" }))));
|
|
146
146
|
}
|
|
147
147
|
static get is() { return "duet-menu-bar"; }
|
|
148
148
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
outline-offset: -4px;
|
|
44
44
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
45
45
|
}
|
|
46
|
-
.duet-theme-turva .duet-menu-bar-button:focus, .duet-menu-bar-button:focus.duet-theme-turva
|
|
46
|
+
.duet-theme-turva .duet-menu-bar-button:focus, .duet-menu-bar-button:focus.duet-theme-turva {
|
|
47
47
|
outline: 2px solid;
|
|
48
48
|
outline-offset: -4px;
|
|
49
49
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -49,10 +49,10 @@ export class DuetMenuBarButton {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '5e64c2ede59d8e16972663cace2e98dffca3a060', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '362525c4f563bd1a5ffad7b8fee029d904fb72c8', ref: button => (this.nativeButton = button), class: {
|
|
53
53
|
"duet-menu-bar-button": true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
|
-
}, "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: '
|
|
55
|
+
}, "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: '439d74e7bdfb1396a7c1e2940c3bcf142c3150b6', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '61a36d95ee1b2962b3f966dc99678c7e00c00692' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-menu-bar-button"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
outline-offset: 2px;
|
|
61
61
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
62
62
|
}
|
|
63
|
-
.duet-theme-turva .duet-menu-bar-dropdown button:focus, .duet-menu-bar-dropdown button:focus.duet-theme-turva
|
|
63
|
+
.duet-theme-turva .duet-menu-bar-dropdown button:focus, .duet-menu-bar-dropdown button:focus.duet-theme-turva {
|
|
64
64
|
outline: 2px solid;
|
|
65
65
|
outline-offset: 2px;
|
|
66
66
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -62,17 +62,17 @@ export class DuetMenuBarDropdown {
|
|
|
62
62
|
* Always the last one in the class.
|
|
63
63
|
*/
|
|
64
64
|
render() {
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '870e7ba2d40001532dabdb4c9468b73570e1ade7', role: "listitem" }, h("div", { key: '7c60bf682acd9d11e8633f862f07391a706de817', class: {
|
|
66
66
|
"duet-menu-bar-dropdown": true,
|
|
67
67
|
"duet-theme-turva": this.theme === "turva",
|
|
68
68
|
active: this.open,
|
|
69
69
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
70
|
-
} }, h("button", { key: '
|
|
70
|
+
} }, h("button", { key: 'c0bdf57ef46ae179d3c0d6e7f45bdd7ffe10769b', 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: {
|
|
71
71
|
active: this.open,
|
|
72
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
72
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'c97e52d72933959ecbd6b9519940427735cdeccc', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'd831c0f2defb108643ac9a11f6be93f4f98a8dbc', class: "label" }, h("slot", { key: 'c396567614cd3badd2b373a1922ea907f75750a8', name: "label" }), h("duet-icon", { key: '4e8adfdf9998028a514fa386275affa9c4fe29be', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '683257ed3f02ee4cde289c0efe48af7f06fa50c5', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
73
73
|
items: true,
|
|
74
74
|
hidden: !this.open,
|
|
75
|
-
} }, h("slot", { key: '
|
|
75
|
+
} }, h("slot", { key: '281de42fd56a1c9be76c9b4218d4354032a56834' })))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "duet-menu-bar-dropdown"; }
|
|
78
78
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
outline-offset: 2px;
|
|
46
46
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
47
47
|
}
|
|
48
|
-
.duet-theme-turva .duet-menu-bar-dropdown-link:focus, .duet-menu-bar-dropdown-link:focus.duet-theme-turva
|
|
48
|
+
.duet-theme-turva .duet-menu-bar-dropdown-link:focus, .duet-menu-bar-dropdown-link:focus.duet-theme-turva {
|
|
49
49
|
outline: 2px solid;
|
|
50
50
|
outline-offset: 2px;
|
|
51
51
|
outline-color: rgba(53, 79, 101, 0.8);
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -48,11 +48,11 @@ export class DuetMenuBarDropdownLink {
|
|
|
48
48
|
* Always the last one in the class.
|
|
49
49
|
*/
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '6d31641d480353ee7f924029a31c94dc1747f1ed' }, h("a", { key: 'ea374446994ad7ea0780b8f4320247c718f08219', class: {
|
|
52
52
|
"duet-menu-bar-dropdown-link": true,
|
|
53
53
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
55
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '486173db589cdbf851d3a5dd9171990af84707bb', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'd284cabdff17ad2590e80ed02894fe87425507b0' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
outline-offset: -4px;
|
|
46
46
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
47
47
|
}
|
|
48
|
-
.duet-theme-turva .duet-menu-bar-item:focus, .duet-menu-bar-item:focus.duet-theme-turva
|
|
48
|
+
.duet-theme-turva .duet-menu-bar-item:focus, .duet-menu-bar-item:focus.duet-theme-turva {
|
|
49
49
|
outline: 2px solid;
|
|
50
50
|
outline-offset: -4px;
|
|
51
51
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -71,11 +71,11 @@ export class DuetMenuBarItem {
|
|
|
71
71
|
*/
|
|
72
72
|
render() {
|
|
73
73
|
const TagName = this.url ? "a" : "button";
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'd968cd5ac488d7cc0fea66408de412524dc88b35', role: "listitem" }, h(TagName, { key: '143da0db925d6a45f69a6defcc0d96710d395cbf', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
75
75
|
"duet-menu-bar-item": true,
|
|
76
76
|
"duet-theme-turva": this.theme === "turva",
|
|
77
77
|
active: this.active,
|
|
78
|
-
}, 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: '
|
|
78
|
+
}, 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: '22ef7c16eb08f2a24bbd902c1e702103a8319621', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '9560bccb8d749a945592866e33279c9e1686f9af' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'c152621621d193d9d80cc0984fe36d230a2b7a63', class: {
|
|
79
79
|
"trailing-icon": !!this.trailingIcon,
|
|
80
80
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
81
81
|
"external-icon": !!this.external,
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
outline-offset: -4px;
|
|
43
43
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
44
44
|
}
|
|
45
|
-
.duet-theme-turva .duet-menu-bar-link:focus, .duet-menu-bar-link:focus.duet-theme-turva
|
|
45
|
+
.duet-theme-turva .duet-menu-bar-link:focus, .duet-menu-bar-link:focus.duet-theme-turva {
|
|
46
46
|
outline: 2px solid;
|
|
47
47
|
outline-offset: -4px;
|
|
48
48
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -33,11 +33,11 @@ export class DuetMenuBarLink {
|
|
|
33
33
|
* Always the last one in the class.
|
|
34
34
|
*/
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'd150209d2395822ac0ba4b0d6372bdc0ba5532fd', role: "listitem" }, h("a", { key: '46070813f893e645146a7ca8ea798fa455df11e9', class: {
|
|
37
37
|
"duet-menu-bar-link": true,
|
|
38
38
|
"duet-theme-turva": this.theme === "turva",
|
|
39
39
|
active: this.active,
|
|
40
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
40
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'bac5752b20258b49e6b3210f071578154de8d8d8', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'efec03fcc7a033a4f9df871a4a087d7c9a04a0e8' }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "duet-menu-bar-link"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|