@duetds/components 10.0.0-alpha.21 → 10.0.0-alpha.23
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 +702 -356
- package/hydrate/index.mjs +702 -356
- package/lib/cjs/{a11y-utils-qqRC-Gci.js → a11y-utils-aMJTxbM9.js} +1 -1
- package/lib/cjs/{app-globals-B6AFACoz.js → app-globals-DN9e0v8L.js} +1 -1
- package/lib/cjs/{common-strings-BhhnIQp3.js → common-strings-DQ3xONmA.js} +6 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +32 -9
- package/lib/cjs/duet-badge.cjs.entry.js +5 -5
- package/lib/cjs/duet-banner.cjs.entry.js +5 -5
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +14 -16
- package/lib/cjs/duet-callout.cjs.entry.js +6 -6
- package/lib/cjs/duet-caption_4.cjs.entry.js +21 -18
- package/lib/cjs/duet-card.cjs.entry.js +7 -7
- package/lib/cjs/duet-checkbox.cjs.entry.js +5 -5
- package/lib/cjs/duet-checkmark.cjs.entry.js +5 -5
- package/lib/cjs/duet-chip.cjs.entry.js +13 -6
- package/lib/cjs/duet-choice_2.cjs.entry.js +22 -16
- 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 +6 -6
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -4
- package/lib/cjs/duet-date-picker.cjs.entry.js +9 -9
- package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +70 -10
- package/lib/cjs/duet-empty-state.cjs.entry.js +5 -5
- package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
- package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +10 -10
- package/lib/cjs/duet-grid_2.cjs.entry.js +38 -9
- package/lib/cjs/duet-header_2.cjs.entry.js +11 -8
- package/lib/cjs/duet-hero.cjs.entry.js +37 -11
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +14 -13
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +15 -6
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +9 -9
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +13 -13
- 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 +7 -7
- package/lib/cjs/duet-overlay.cjs.entry.js +5 -4
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
- package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
- package/lib/cjs/duet-phone-input.cjs.entry.js +17 -15
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +41 -13
- package/lib/cjs/duet-progress.cjs.entry.js +4 -4
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +15 -9
- package/lib/cjs/duet-range-slider.cjs.entry.js +7 -7
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +19 -19
- 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 +22 -0
- package/lib/cjs/duet-share-chart.cjs.entry.js +83 -0
- package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +22 -8
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
- package/lib/cjs/duet-textarea.cjs.entry.js +16 -10
- package/lib/cjs/duet-toggle.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
- package/lib/cjs/duet-tooltip.cjs.entry.js +10 -4
- 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-CWkNAdwZ.js → errorcodes.utils-CSxc4txc.js} +1 -1
- package/lib/cjs/{focus-utils-C1gNgKW5.js → focus-utils-R3gIGr8k.js} +1 -1
- package/lib/cjs/{index-C-4fRZp1.js → index-cypK_uRu.js} +9 -1
- package/lib/cjs/{label-BYZNaLK_.js → label-61f_b8fi.js} +1 -1
- package/lib/cjs/{language-utils-DjPkoVoW.js → language-utils-DIDyCgUk.js} +9 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-DYGV7vRF.js → slot-utils-BC5Q3UDm.js} +1 -1
- package/lib/cjs/themeable-component-BWW4XmUY.js +62 -0
- package/lib/collection/collection-manifest.json +2 -0
- package/lib/collection/common/themeable-component.js +49 -3
- package/lib/collection/common-strings.js +5 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +19 -0
- package/lib/collection/components/duet-alert/duet-alert.js +28 -5
- package/lib/collection/components/duet-badge/duet-badge.css +12 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +11 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +61 -0
- package/lib/collection/components/duet-button/duet-button.js +5 -8
- package/lib/collection/components/duet-callout/duet-callout.css +5 -0
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.css +4 -0
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +13 -0
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +11 -0
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.css +25 -0
- package/lib/collection/components/duet-chip/duet-chip.js +10 -1
- package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +52 -0
- package/lib/collection/components/duet-choice/duet-choice.js +7 -7
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +11 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +8 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.css +7 -0
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +4 -0
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +9 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +37 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
- package/lib/collection/components/duet-divider/duet-divider.css +8 -2
- 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.css +5 -0
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +4 -0
- 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 +15 -0
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +33 -4
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +4 -0
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-header/duet-header.css +69 -0
- package/lib/collection/components/duet-heading/duet-heading.css +4 -0
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +17 -0
- package/lib/collection/components/duet-hero/duet-hero.js +32 -6
- package/lib/collection/components/duet-icon/duet-icon.css +7 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.css +70 -0
- package/lib/collection/components/duet-input/duet-input.js +7 -6
- package/lib/collection/components/duet-label/duet-label.css +4 -0
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +74 -0
- package/lib/collection/components/duet-link/duet-link.js +10 -3
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.css +20 -0
- package/lib/collection/components/duet-list-item/duet-list-item.js +38 -2
- package/lib/collection/components/duet-logo/duet-logo.css +9 -0
- package/lib/collection/components/duet-logo/duet-logo.js +5 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +7 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -0
- 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 +13 -0
- 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 +7 -0
- 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 +15 -0
- 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 +12 -0
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +10 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +30 -0
- 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 +16 -0
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +13 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.css +7 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.css +4 -0
- package/lib/collection/components/duet-overlay/duet-overlay.js +2 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +27 -11
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.css +4 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +10 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +13 -11
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +8 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +30 -5
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +10 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +5 -2
- package/lib/collection/components/duet-progress/duet-progress.css +19 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.css +20 -0
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +10 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +37 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +4 -0
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +7 -0
- 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 +23 -0
- 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.css +82 -0
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +139 -0
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
- package/lib/collection/components/duet-show-more/duet-show-more.css +4 -0
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +28 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +4 -0
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +10 -0
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +20 -0
- 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 +13 -0
- 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.css +3 -0
- package/lib/collection/components/duet-spinner/duet-spinner.js +3 -5
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.css +13 -0
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +24 -6
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +14 -0
- 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 +31 -0
- 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 +18 -0
- 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 +20 -0
- 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 +22 -0
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +31 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +6 -6
- package/lib/collection/components/duet-table/duet-table-styles.js +60 -0
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.css +32 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +36 -7
- package/lib/collection/components/duet-toggle/duet-toggle.css +11 -0
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +7 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +21 -0
- 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 +10 -0
- 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 +25 -0
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +24 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +7 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +25 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +6 -0
- package/lib/collection/components/duet-tray/duet-tray.css +12 -0
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/language-utils.js +7 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-008beeb0.entry.js → p-05cb3ef2.entry.js} +1 -1
- package/lib/duet/p-061f484f.entry.js +4 -0
- package/lib/duet/p-0710ad83.entry.js +4 -0
- package/lib/duet/p-07cd31d4.entry.js +4 -0
- package/lib/duet/p-11b6b71d.entry.js +4 -0
- package/lib/duet/{p-068cfada.entry.js → p-1662ddb0.entry.js} +1 -1
- package/lib/duet/p-1b4e4213.entry.js +4 -0
- package/lib/duet/{p-2c420105.entry.js → p-1cc69291.entry.js} +1 -1
- package/lib/duet/p-2354e2c1.entry.js +4 -0
- package/lib/duet/p-24f39c08.entry.js +4 -0
- package/lib/duet/{p-1b3b9ed6.entry.js → p-26ef0a2c.entry.js} +1 -1
- package/lib/duet/{p-547e30c3.entry.js → p-2b2be1ce.entry.js} +1 -1
- package/lib/duet/p-2c2a8a28.entry.js +4 -0
- package/lib/duet/{p-3381e3e2.entry.js → p-2de0e6b5.entry.js} +1 -1
- package/lib/duet/{p-62c46ebb.entry.js → p-32352972.entry.js} +1 -1
- package/lib/duet/p-3d266d49.entry.js +4 -0
- package/lib/duet/p-3ea842ba.entry.js +4 -0
- package/lib/duet/p-44786477.entry.js +4 -0
- package/lib/duet/{p-2df8b608.entry.js → p-48bcf197.entry.js} +1 -1
- package/lib/duet/p-50Jw5Ir2.js +4 -0
- package/lib/duet/{p-abe188c7.entry.js → p-5432f24c.entry.js} +1 -1
- package/lib/duet/p-54b978c0.entry.js +4 -0
- package/lib/duet/p-5956c71f.entry.js +4 -0
- package/lib/duet/p-5b2e8342.entry.js +4 -0
- package/lib/duet/p-5c749aae.entry.js +4 -0
- package/lib/duet/{p-294adde1.entry.js → p-5f437262.entry.js} +1 -1
- package/lib/duet/p-61da8d25.entry.js +4 -0
- package/lib/duet/{p-3ae06437.entry.js → p-625a23c2.entry.js} +1 -1
- package/lib/duet/p-626e92a9.entry.js +4 -0
- package/lib/duet/{p-4ec38183.entry.js → p-6fa05aeb.entry.js} +1 -1
- package/lib/duet/{p-7189e720.entry.js → p-70fd5cb5.entry.js} +1 -1
- package/lib/duet/p-710ae64d.entry.js +4 -0
- package/lib/duet/p-73f38d13.entry.js +4 -0
- package/lib/duet/p-779380f8.entry.js +4 -0
- package/lib/duet/{p-0e78737d.entry.js → p-7a9e6423.entry.js} +1 -1
- package/lib/duet/{p-2661240f.entry.js → p-7ac87fc1.entry.js} +1 -1
- package/lib/duet/{p-d74bb3b4.entry.js → p-7c4f010e.entry.js} +1 -1
- package/lib/duet/{p-6b17cd4a.entry.js → p-7cfcd244.entry.js} +1 -1
- package/lib/duet/{p-fde72aa3.entry.js → p-8057c9e5.entry.js} +1 -1
- package/lib/duet/{p-d195712b.entry.js → p-80f567c7.entry.js} +1 -1
- package/lib/duet/p-828a4e8b.entry.js +4 -0
- package/lib/duet/p-835874ed.entry.js +4 -0
- package/lib/duet/{p-66693593.entry.js → p-85ddf215.entry.js} +1 -1
- package/lib/duet/{p-d7990dff.entry.js → p-88773ebf.entry.js} +1 -1
- package/lib/duet/{p-e232c7ad.entry.js → p-89e6b8d0.entry.js} +1 -1
- package/lib/duet/{p-23adcf71.entry.js → p-89e9badf.entry.js} +1 -1
- package/lib/duet/p-8ae3ba95.entry.js +4 -0
- package/lib/duet/p-95dd811d.entry.js +4 -0
- package/lib/duet/{p-8c02d2af.entry.js → p-9b9031cf.entry.js} +1 -1
- package/lib/duet/{p-2f30e410.entry.js → p-9d16f09d.entry.js} +1 -1
- package/lib/duet/p-9d501c34.entry.js +4 -0
- package/lib/duet/p-9d5be586.entry.js +4 -0
- package/lib/duet/p-BI7G8d3Z.js +4 -0
- package/lib/duet/p-B_RHZ7jo.js +4 -0
- package/lib/duet/p-Be6-farU.js +4 -0
- package/lib/duet/p-CF5Kkdym.js +4 -0
- package/lib/duet/p-CUNSbdt4.js +5 -0
- package/lib/duet/p-M3ljdQX1.js +4 -0
- package/lib/duet/p-MxsWrBCY.js +4 -0
- package/lib/duet/{p-e0fcc26a.entry.js → p-a40fbcac.entry.js} +1 -1
- package/lib/duet/p-a544dcb2.entry.js +4 -0
- package/lib/duet/{p-91e669ab.entry.js → p-a854a83c.entry.js} +1 -1
- package/lib/duet/{p-08affd1f.entry.js → p-a930cc2b.entry.js} +1 -1
- package/lib/duet/{p-42621b5c.entry.js → p-a9353027.entry.js} +1 -1
- package/lib/duet/{p-5964d490.entry.js → p-a94d6219.entry.js} +1 -1
- package/lib/duet/{p-155586a6.entry.js → p-b2c2a24e.entry.js} +1 -1
- package/lib/duet/p-b314a75a.entry.js +4 -0
- package/lib/duet/p-b3547427.entry.js +4 -0
- package/lib/duet/p-b4569b01.entry.js +4 -0
- package/lib/duet/p-b52c9aed.entry.js +4 -0
- package/lib/duet/p-b5cdfd48.entry.js +4 -0
- package/lib/duet/{p-958a2b42.entry.js → p-bd6f7e7b.entry.js} +1 -1
- package/lib/duet/{p-f865dcfc.entry.js → p-c037858f.entry.js} +1 -1
- package/lib/duet/{p-722eb4b8.entry.js → p-c0721ad9.entry.js} +1 -1
- package/lib/duet/p-d154fb42.entry.js +4 -0
- package/lib/duet/p-d29c6c90.entry.js +4 -0
- package/lib/duet/p-d2e1cef2.entry.js +4 -0
- package/lib/duet/{p-d064dd2d.entry.js → p-d5270614.entry.js} +1 -1
- package/lib/duet/p-e1715e1f.entry.js +4 -0
- package/lib/duet/p-e3c9a33a.entry.js +4 -0
- package/lib/duet/p-e6a5676c.entry.js +4 -0
- package/lib/duet/{p-0fb24b59.entry.js → p-e72e498d.entry.js} +1 -1
- package/lib/duet/{p-90c43d96.entry.js → p-e8668d1a.entry.js} +1 -1
- package/lib/duet/p-e89e940b.entry.js +4 -0
- package/lib/duet/{p-580d558b.entry.js → p-e89f59fe.entry.js} +1 -1
- package/lib/duet/{p-595b2f3b.entry.js → p-e8bf81e8.entry.js} +1 -1
- package/lib/duet/{p-a24fff3c.entry.js → p-eafab2a1.entry.js} +1 -1
- package/lib/duet/p-ekdrapBY.js +4 -0
- package/lib/duet/{p-909352a9.entry.js → p-f2e88086.entry.js} +1 -1
- package/lib/duet/p-f3d5e40a.entry.js +4 -0
- package/lib/duet/{p-9f48a30c.entry.js → p-f7782ce5.entry.js} +1 -1
- package/lib/duet/p-fc319c57.entry.js +4 -0
- package/lib/duet/p-fcb87d86.entry.js +4 -0
- package/lib/duet/{p-BAFwjrjc.js → p-fwfCVW-k.js} +1 -1
- package/lib/esm/{a11y-utils-CQOH3qGQ.js → a11y-utils-Do8wJ0uc.js} +1 -1
- package/lib/esm/{app-globals-D3VunZ8x.js → app-globals-CM7s1rys.js} +1 -1
- package/lib/esm/{common-strings-D6YBFNe9.js → common-strings-MxsWrBCY.js} +6 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +32 -9
- package/lib/esm/duet-badge.entry.js +5 -5
- package/lib/esm/duet-banner.entry.js +5 -5
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +14 -16
- package/lib/esm/duet-callout.entry.js +6 -6
- package/lib/esm/duet-caption_4.entry.js +21 -18
- package/lib/esm/duet-card.entry.js +7 -7
- package/lib/esm/duet-checkbox.entry.js +5 -5
- package/lib/esm/duet-checkmark.entry.js +5 -5
- package/lib/esm/duet-chip.entry.js +13 -6
- package/lib/esm/duet-choice_2.entry.js +22 -16
- 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 +6 -6
- package/lib/esm/duet-cookie-consent.entry.js +4 -4
- package/lib/esm/duet-date-picker.entry.js +9 -9
- package/lib/esm/duet-divider_2.entry.js +5 -5
- package/lib/esm/duet-editable-table_3.entry.js +70 -10
- package/lib/esm/duet-empty-state.entry.js +5 -5
- package/lib/esm/duet-fieldset.entry.js +7 -7
- package/lib/esm/duet-file-chooser.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +10 -10
- package/lib/esm/duet-grid_2.entry.js +38 -9
- package/lib/esm/duet-header_2.entry.js +11 -8
- package/lib/esm/duet-hero.entry.js +37 -11
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +14 -13
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +15 -6
- package/lib/esm/duet-menu-bar-button.entry.js +5 -5
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
- package/lib/esm/duet-menu-bar-item.entry.js +9 -9
- package/lib/esm/duet-menu-bar-link.entry.js +5 -5
- package/lib/esm/duet-menu-bar.entry.js +6 -6
- package/lib/esm/duet-modal.entry.js +13 -13
- 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 +7 -7
- package/lib/esm/duet-overlay.entry.js +5 -4
- package/lib/esm/duet-page-heading.entry.js +5 -5
- package/lib/esm/duet-pagination_2.entry.js +18 -18
- package/lib/esm/duet-phone-input.entry.js +17 -15
- package/lib/esm/duet-popup-menu_2.entry.js +41 -13
- package/lib/esm/duet-progress.entry.js +4 -4
- package/lib/esm/duet-promo-card.entry.js +5 -5
- package/lib/esm/duet-radio_2.entry.js +15 -9
- package/lib/esm/duet-range-slider.entry.js +7 -7
- package/lib/esm/duet-scrollable_3.entry.js +19 -19
- 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 +20 -0
- package/lib/esm/duet-share-chart.entry.js +81 -0
- package/lib/esm/duet-show-more.entry.js +6 -6
- package/lib/esm/duet-slideout-lang.entry.js +5 -5
- package/lib/esm/duet-slideout-link.entry.js +9 -9
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +22 -8
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-item.entry.js +8 -8
- package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar.entry.js +8 -8
- package/lib/esm/duet-textarea.entry.js +16 -10
- package/lib/esm/duet-toggle.entry.js +7 -7
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
- package/lib/esm/duet-toolbar-item.entry.js +10 -10
- package/lib/esm/duet-toolbar-link.entry.js +5 -5
- package/lib/esm/duet-toolbar.entry.js +5 -5
- package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
- package/lib/esm/duet-tooltip.entry.js +10 -4
- 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--4tOXPNI.js → errorcodes.utils-jdmUflM5.js} +1 -1
- package/lib/esm/{focus-utils-CUvuUZuo.js → focus-utils-Fb4Hjq5k.js} +1 -1
- package/lib/esm/{index-Djr45qSY.js → index-CUNSbdt4.js} +9 -1
- package/lib/esm/{label-DoZNNWYj.js → label-CSouuUKb.js} +1 -1
- package/lib/esm/{language-utils-BCnFs8Da.js → language-utils-fAqNRSrI.js} +9 -2
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-CSLPO69o.js → slot-utils-CgXzS75x.js} +2 -2
- package/lib/esm/themeable-component-EVqsr6Ut.js +60 -0
- package/lib/types/common-strings.d.ts +1 -0
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-alert/duet-alert.d.ts +1 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
- package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
- package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
- package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +0 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -0
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
- package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
- package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -0
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +4 -2
- package/lib/types/components.d.ts +92 -8
- package/lib/types/utils/language-utils.d.ts +1 -0
- package/package.json +3 -3
- package/lib/cjs/themeable-component-C57DSx5w.js +0 -15
- package/lib/duet/p-0239abf5.entry.js +0 -4
- package/lib/duet/p-088001ee.entry.js +0 -4
- package/lib/duet/p-1326964d.entry.js +0 -4
- package/lib/duet/p-214a4675.entry.js +0 -4
- package/lib/duet/p-22773cce.entry.js +0 -4
- package/lib/duet/p-27fbdb67.entry.js +0 -4
- package/lib/duet/p-2b3219a7.entry.js +0 -4
- package/lib/duet/p-412ef68f.entry.js +0 -4
- package/lib/duet/p-47597304.entry.js +0 -4
- package/lib/duet/p-4a791521.entry.js +0 -4
- package/lib/duet/p-4f750925.entry.js +0 -4
- package/lib/duet/p-50d0ff41.entry.js +0 -4
- package/lib/duet/p-56574361.entry.js +0 -4
- package/lib/duet/p-60eb6013.entry.js +0 -4
- package/lib/duet/p-6fe83dd7.entry.js +0 -4
- package/lib/duet/p-72a4ada8.entry.js +0 -4
- package/lib/duet/p-75db52e4.entry.js +0 -4
- package/lib/duet/p-77d68685.entry.js +0 -4
- package/lib/duet/p-8974c058.entry.js +0 -4
- package/lib/duet/p-8d5e5316.entry.js +0 -4
- package/lib/duet/p-9302dba5.entry.js +0 -4
- package/lib/duet/p-948f9054.entry.js +0 -4
- package/lib/duet/p-96e70d5b.entry.js +0 -4
- package/lib/duet/p-98f1ee13.entry.js +0 -4
- package/lib/duet/p-9f2785ce.entry.js +0 -4
- package/lib/duet/p-CCVcVc3m.js +0 -4
- package/lib/duet/p-CDAA0sDY.js +0 -4
- package/lib/duet/p-CO8vqpmW.js +0 -4
- package/lib/duet/p-D6YBFNe9.js +0 -4
- package/lib/duet/p-DX5mWLkB.js +0 -4
- package/lib/duet/p-Djr45qSY.js +0 -5
- package/lib/duet/p-FCSGJbLJ.js +0 -4
- package/lib/duet/p-WhCDf9tt.js +0 -4
- package/lib/duet/p-a47e139c.entry.js +0 -4
- package/lib/duet/p-b0dc7df5.entry.js +0 -4
- package/lib/duet/p-cb60a521.entry.js +0 -4
- package/lib/duet/p-cebee4a6.entry.js +0 -4
- package/lib/duet/p-d2402c02.entry.js +0 -4
- package/lib/duet/p-d56c1db9.entry.js +0 -4
- package/lib/duet/p-d60c71fc.entry.js +0 -4
- package/lib/duet/p-de5e4a26.entry.js +0 -4
- package/lib/duet/p-e8718555.entry.js +0 -4
- package/lib/duet/p-ed9b30ed.entry.js +0 -4
- package/lib/duet/p-f110c4fb.entry.js +0 -4
- package/lib/duet/p-f383ccca.entry.js +0 -4
- package/lib/duet/p-f593a703.entry.js +0 -4
- package/lib/duet/p-fa355e38.entry.js +0 -4
- package/lib/duet/p-fc83b2e2.entry.js +0 -4
- package/lib/duet/p-k-CbGkPp.js +0 -4
- package/lib/esm/themeable-component-WhCDf9tt.js +0 -13
|
@@ -1216,4 +1216,73 @@ button {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
.duet-header-multi-level .duet-theme-turva .duet-header-multi-level-utils .duet-header-dropdown .duet-header-dropdown-content {
|
|
1218
1218
|
background: rgb(245, 247, 250);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
:host(.duet-theme-turva2) .duet-header.duet-theme-turva {
|
|
1222
|
+
color: #172a3b;
|
|
1223
|
+
}
|
|
1224
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-top {
|
|
1225
|
+
border-color: #d4dde2;
|
|
1226
|
+
}
|
|
1227
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-top .duet-header-region {
|
|
1228
|
+
border-color: #b2c2cd;
|
|
1229
|
+
}
|
|
1230
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-bottom {
|
|
1231
|
+
background: #fdf7f2;
|
|
1232
|
+
}
|
|
1233
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-button:not(:hover) {
|
|
1234
|
+
color: #172a3b;
|
|
1235
|
+
}
|
|
1236
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-items .duet-header-item:not(:hover) {
|
|
1237
|
+
color: #172a3b;
|
|
1238
|
+
}
|
|
1239
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-items .duet-header-item.active {
|
|
1240
|
+
color: #e61740;
|
|
1241
|
+
}
|
|
1242
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-items .duet-header-item.active::after {
|
|
1243
|
+
background: #e61740;
|
|
1244
|
+
}
|
|
1245
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-hamburger .duet-header-bar {
|
|
1246
|
+
background: #172a3b;
|
|
1247
|
+
}
|
|
1248
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle::after {
|
|
1249
|
+
background: #e61740;
|
|
1250
|
+
}
|
|
1251
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active,
|
|
1252
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active:hover {
|
|
1253
|
+
border-bottom-color: #f5f6f7;
|
|
1254
|
+
}
|
|
1255
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content {
|
|
1256
|
+
background: #fdf7f2;
|
|
1257
|
+
}
|
|
1258
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item) {
|
|
1259
|
+
color: #172a3b;
|
|
1260
|
+
}
|
|
1261
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item):hover {
|
|
1262
|
+
background: #f1cab2;
|
|
1263
|
+
}
|
|
1264
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a:not(.duet-header-item).active {
|
|
1265
|
+
background: #f1cab2;
|
|
1266
|
+
}
|
|
1267
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-header-skip {
|
|
1268
|
+
color: #172a3b;
|
|
1269
|
+
}
|
|
1270
|
+
:host(.duet-theme-turva2) .duet-header-multi-level .duet-theme-turva .logo-and-segment .duet-header-dropdown .duet-header-dropdown-content {
|
|
1271
|
+
background: #fdf7f2;
|
|
1272
|
+
}
|
|
1273
|
+
:host(.duet-theme-turva2) .duet-header-multi-level-nav .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content {
|
|
1274
|
+
background: #f5f6f7;
|
|
1275
|
+
border-color: #d4dde2;
|
|
1276
|
+
}
|
|
1277
|
+
:host(.duet-theme-turva2) .duet-header-multi-level-nav .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-toggle.active {
|
|
1278
|
+
color: #e61740;
|
|
1279
|
+
}
|
|
1280
|
+
:host(.duet-theme-turva2) .duet-header-multi-level-nav .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a::after {
|
|
1281
|
+
background: #e61740;
|
|
1282
|
+
}
|
|
1283
|
+
:host(.duet-theme-turva2) .duet-header-multi-level-nav .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content a.active {
|
|
1284
|
+
color: #e61740;
|
|
1285
|
+
}
|
|
1286
|
+
:host(.duet-theme-turva2) .duet-header-multi-level-utils .duet-theme-turva .duet-header-dropdown .duet-header-dropdown-content {
|
|
1287
|
+
background: #f5f6f7;
|
|
1219
1288
|
}
|
|
@@ -58,7 +58,7 @@ export class DuetHeading {
|
|
|
58
58
|
render() {
|
|
59
59
|
const TagName = sanitizeString(this.level);
|
|
60
60
|
const color = getColorByName(this.color);
|
|
61
|
-
return (h(TagName, { key: '
|
|
61
|
+
return (h(TagName, { key: '2a16d1cb80380aed37b1ed878ec5dce7081a2bbf', class: {
|
|
62
62
|
"duet-heading": true,
|
|
63
63
|
"duet-heading-border": this.border !== false,
|
|
64
64
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -69,7 +69,7 @@ export class DuetHeading {
|
|
|
69
69
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
70
70
|
"duet-theme-turva": this.theme === "turva",
|
|
71
71
|
"fixed-size": this.fixedSize,
|
|
72
|
-
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, h("slot", { key: '
|
|
72
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, h("slot", { key: '195a5b29f298c0abb79e37b308559cf65203c13c' })));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "duet-heading"; }
|
|
75
75
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1766,4 +1766,21 @@ duet-heading + duet-button {
|
|
|
1766
1766
|
|
|
1767
1767
|
.duet-hero-pre + duet-heading {
|
|
1768
1768
|
margin-top: 0 !important;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-light.duet-theme-turva, :host(.duet-theme-turva2) .duet-hero.duet-hero-with-image.duet-theme-turva {
|
|
1772
|
+
color: #172a3b;
|
|
1773
|
+
background-image: linear-gradient(#fdf7f2, #fefbf9);
|
|
1774
|
+
}
|
|
1775
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-light.duet-theme-turva::before, :host(.duet-theme-turva2) .duet-hero.duet-hero-with-image.duet-theme-turva::before {
|
|
1776
|
+
background-image: linear-gradient(#fefbf9, rgb(255, 255, 255));
|
|
1777
|
+
}
|
|
1778
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-gray.duet-theme-turva {
|
|
1779
|
+
background: #f5f6f7;
|
|
1780
|
+
}
|
|
1781
|
+
.duet-theme-turva :host(.duet-theme-turva2) .duet-hero-link {
|
|
1782
|
+
color: #e61740;
|
|
1783
|
+
}
|
|
1784
|
+
.duet-theme-turva :host(.duet-theme-turva2) .duet-hero-action-arrow {
|
|
1785
|
+
color: #e61740;
|
|
1769
1786
|
}
|
|
@@ -6,7 +6,7 @@ import { h } from "@stencil/core";
|
|
|
6
6
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
-
import { checkNamedSlotElement, hasSlot } from "../../utils/slot-utils";
|
|
9
|
+
import { checkNamedSlotElement, getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
|
|
10
10
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
11
11
|
/**
|
|
12
12
|
* @part duet-hero - piercing selector for styling the hero container
|
|
@@ -149,6 +149,32 @@ export class DuetHero {
|
|
|
149
149
|
}
|
|
150
150
|
this.emitChange(ev, data);
|
|
151
151
|
};
|
|
152
|
+
this.getPreHeadingText = () => {
|
|
153
|
+
if (this.preHeading) {
|
|
154
|
+
return this.preHeading;
|
|
155
|
+
}
|
|
156
|
+
if (this.hasPreHeadingSlot) {
|
|
157
|
+
const slotContents = getElementsFromNamedSlot(this.element, "pre-heading");
|
|
158
|
+
return slotContents.map(s => s.textContent).join(" ");
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
this.getHeadingText = () => {
|
|
162
|
+
if (this.heading) {
|
|
163
|
+
return this.heading;
|
|
164
|
+
}
|
|
165
|
+
if (this.hasHeadingSlot) {
|
|
166
|
+
const slotContents = getElementsFromNamedSlot(this.element, "heading");
|
|
167
|
+
return slotContents.map(s => s.textContent).join(" ");
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
this.getAccessibleHeading = () => {
|
|
171
|
+
const preHeadingText = this.getPreHeadingText();
|
|
172
|
+
if (!preHeadingText) {
|
|
173
|
+
return null;
|
|
174
|
+
}
|
|
175
|
+
const headingText = this.getHeadingText();
|
|
176
|
+
return `${preHeadingText} ${headingText}`;
|
|
177
|
+
};
|
|
152
178
|
}
|
|
153
179
|
/**
|
|
154
180
|
* Component lifecycle events.
|
|
@@ -244,7 +270,7 @@ export class DuetHero {
|
|
|
244
270
|
outlineColor = "color-primary-turva";
|
|
245
271
|
}
|
|
246
272
|
}
|
|
247
|
-
return (h("div", { key: '
|
|
273
|
+
return (h("div", { key: '050542b6acfc853e803793b7ce454506a9c485d4', role: "region", class: {
|
|
248
274
|
"duet-hero": true,
|
|
249
275
|
"duet-theme-turva": this.theme === "turva",
|
|
250
276
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -262,17 +288,17 @@ export class DuetHero {
|
|
|
262
288
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
263
289
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
264
290
|
"duet-hero-narrow": this.layout === "narrow",
|
|
265
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '
|
|
266
|
-
this.processedBack && (h("div", { key: '
|
|
291
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: 'db9f7d160ebee968dca3e4efead01b0af6288043', class: "background-area" }, h("div", { key: 'c0bf3537b54cc4d8b04b72360be1bc922b887c0d', class: "background-container" }, h("div", { key: '39f9c4466c54b54fce2f8ea33c9163a4ca5a8cf1', class: "background" }, h("img", { key: 'bc5aefeac085a2f758668ec48b3ffd4d313b43a5', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), h("div", { key: '296411aa792beefc76a425f5b39f16f39486c5c2', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: '7f53ee027d3b917a9bc5284dbb152ae96ab034ad', class: { "background-area": true, [this.layout]: true } }, h("div", { key: 'e5119c084fc6b292252a111c4acb3e2ea6c6cd77', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '3faf62ed852d07e8458c379a06ed3cfd3ca3fafb', class: { background: true, [this.layout]: true } }, h("div", { key: '43b7df5d771099f7c819c23c820b18fb053b67f0', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '3ac9ab64a699f79eafe749c027383f7753437805', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '2bd54c40138a7a732cf0bae9a5b57137a3cfded4', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '63a9404b8e42499bcd15bacdca4658931c49fbcc', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: '038c455f20502c4600208d6a4e31a8dabd9b7799', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { key: '9b5e7df86df015dbabfaff2fc4f37c1c54f82cd3', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: 'd9ab558d532f77eca798e2998ba5cd592881f03a', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: 'fe41770dc2aa046b1f7eeb76ac8d77dd0ff964cf', class: "background-area" }, h("div", { key: 'a1821e7ecd479f6d5e78d30aa60b9eaca214de30', class: "background" }, h("div", { key: '37093f57801077d47fc4da19453b47979039d1f5', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '6c2ca91302a3ddccfc3f61043d660d5c86ef2bd6', class: "brand-shape" }), h("div", { key: '5e862b201459878273988077df6fe7d10abcbf55', class: "brand-shaped-image" }, h("div", { key: '915e7aed1c7561bb280156e72b7b03fc6f711c81', class: "brand-shaped-image-wrapper" }, h("div", { key: 'abcbf26a40434f3470ef7576b3f342dcd6e75081', class: "brand-shaped-image-bg", style: styles })))))), h("div", { key: '8b81e3958219408f71b8c7a53b325097f9d95c0c', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'cba83e5423eae68e909b4ca76af31aa2ad621b0b', class: "duet-hero-image-mask" }, h("div", { key: '7b6f261e94a3233c4254a729c94196e0c6f27324', class: "duet-hero-image-wrapper" }, h("div", { key: '7e8b9202b8ffe7b6e5f91b432ec68dd3272789bd', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
292
|
+
this.processedBack && (h("div", { key: '2623bba361537fb8e0c7103ad62b76cd25e33388', class: "duet-hero-back" }, h("duet-button", { key: '1e4c727a46d6554826d3e30653244c1a51162b92', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
267
293
|
label: this.processedBack.label,
|
|
268
294
|
href: this.processedBack.href,
|
|
269
295
|
id: this.processedBack.id,
|
|
270
296
|
analyticsId: this.processedBack.analyticsId,
|
|
271
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '
|
|
297
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: 'b3222a455e2be4304240b213ec34ff9a8254511d', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '1f369768e19771c9d962558704707072c355577f', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: '319f24f87d1adfa4840e1b3c4adfa9e5a4efdbcc', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: 'cab3fd5560e97bdaa5e7da9833bebdb1b58c77aa', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: '070825e4bae09477947bc840a07df3a49f72cda3', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: '593ff167e8e2027765467078c3a8e7fb6478a0f2', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: 'b0dfe6f310419cd5129b6419c2f98fcee3510439', name: "subheading" }))), this.description && (h("duet-paragraph", { key: 'e4f7966e4118c83e518b170818e0a07b8bff8f0c', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: 'c50112688f95b19886481c47f6158f9ce5a73dc0', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: '1d9a44bd408aad6ed6f7571660b6284a2622c9ee', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '6409f66cd66a04c3720b95444ca4354e1927bf92' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '8103af21642ae0c19bb00cf2918afe83bca217ac', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
272
298
|
this.variation !== "image" &&
|
|
273
299
|
!campaignOrSection &&
|
|
274
300
|
this.variation !== "product" &&
|
|
275
|
-
this.variation !== "content" && h("div", { key: '
|
|
301
|
+
this.variation !== "content" && h("div", { key: '2e854294f691337a3683daa831b498bdcdf56945', class: "duet-hero-image", style: styles }), h("slot", { key: '21cb460439eddf5f9a251722b9c6c3b3864a701d', name: "bottom" }))));
|
|
276
302
|
}
|
|
277
303
|
static get is() { return "duet-hero"; }
|
|
278
304
|
static get encapsulation() { return "shadow"; }
|
|
@@ -317,4 +317,11 @@
|
|
|
317
317
|
width: 144px;
|
|
318
318
|
height: 130px;
|
|
319
319
|
padding: 0;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
:host(.duet-theme-turva2) .duet-icon.duet-theme-turva {
|
|
323
|
+
color: #e61740;
|
|
324
|
+
}
|
|
325
|
+
:host(.duet-theme-turva2) .duet-icon.duet-theme-turva.duet-icon-has-background {
|
|
326
|
+
color: rgb(255, 255, 255);
|
|
320
327
|
}
|
|
@@ -144,11 +144,11 @@ export class DuetIcon {
|
|
|
144
144
|
: {};
|
|
145
145
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
146
146
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '8c71cfdee48ff45d0e1bb65c133ed33cceb1a9f3', class: {
|
|
148
148
|
"duet-m-0": this.margin === "none",
|
|
149
149
|
"duet-icon-has-outline": !!this.outline,
|
|
150
150
|
"duet-icon-has-background": !!this.background,
|
|
151
|
-
} }, h("span", { key: '
|
|
151
|
+
} }, h("span", { key: '109821efbfa23ed2d50c72bfb036f900eae08f01', "aria-hidden": "true", style: styles, class: {
|
|
152
152
|
"duet-icon": true,
|
|
153
153
|
"duet-theme-turva": this.theme === "turva",
|
|
154
154
|
"duet-theme-default": this.theme === "default",
|
|
@@ -157,7 +157,7 @@ export class DuetIcon {
|
|
|
157
157
|
[shapeStyle]: true,
|
|
158
158
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
159
159
|
"duet-icon-not-responsive": !this.responsive,
|
|
160
|
-
} }, h("span", { key: '
|
|
160
|
+
} }, h("span", { key: '5c14e77686beeca052caed3777bab1e55676d010', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
161
161
|
}
|
|
162
162
|
static get is() { return "duet-icon"; }
|
|
163
163
|
static get encapsulation() { return "shadow"; }
|
|
@@ -200,14 +200,41 @@ duet-caption:not(:last-of-type) {
|
|
|
200
200
|
opacity: 0.75;
|
|
201
201
|
transition: none;
|
|
202
202
|
}
|
|
203
|
+
.duet-input-container.has-clear .duet-input-clear-icon.input-padding-xx-small button {
|
|
204
|
+
top: -12px;
|
|
205
|
+
}
|
|
206
|
+
.duet-input-container.has-clear .duet-input-clear-icon.input-padding-x-small button {
|
|
207
|
+
top: -16px;
|
|
208
|
+
}
|
|
209
|
+
.duet-input-container.has-clear .duet-input-clear-icon.input-padding-small button {
|
|
210
|
+
top: -20px;
|
|
211
|
+
}
|
|
203
212
|
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button {
|
|
204
213
|
top: -48px;
|
|
205
214
|
right: 0;
|
|
206
215
|
}
|
|
216
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-xx-small button {
|
|
217
|
+
top: -36px;
|
|
218
|
+
}
|
|
219
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-x-small button {
|
|
220
|
+
top: -40px;
|
|
221
|
+
}
|
|
222
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-small button {
|
|
223
|
+
top: -44px;
|
|
224
|
+
}
|
|
207
225
|
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button {
|
|
208
226
|
top: -24px;
|
|
209
227
|
right: 12px;
|
|
210
228
|
}
|
|
229
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-xx-small button {
|
|
230
|
+
top: -12px;
|
|
231
|
+
}
|
|
232
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-x-small button {
|
|
233
|
+
top: -16px;
|
|
234
|
+
}
|
|
235
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-small button {
|
|
236
|
+
top: -20px;
|
|
237
|
+
}
|
|
211
238
|
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button {
|
|
212
239
|
top: -24px;
|
|
213
240
|
right: 0;
|
|
@@ -596,4 +623,47 @@ duet-caption:not(:last-of-type) {
|
|
|
596
623
|
.duet-input-container.has-chips .duet-input-relative .duet-input:focus, .duet-input-container.has-chips .duet-input-relative .duet-input:hover {
|
|
597
624
|
border-width: 0 !important;
|
|
598
625
|
box-shadow: none !important;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input-icon {
|
|
629
|
+
color: #172a3b;
|
|
630
|
+
}
|
|
631
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input {
|
|
632
|
+
color: #172a3b !important;
|
|
633
|
+
}
|
|
634
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input::-webkit-input-placeholder {
|
|
635
|
+
color: #7891a4;
|
|
636
|
+
}
|
|
637
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input:focus::-webkit-input-placeholder {
|
|
638
|
+
color: #b2c2cd;
|
|
639
|
+
}
|
|
640
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input:-moz-placeholder {
|
|
641
|
+
color: #7891a4;
|
|
642
|
+
}
|
|
643
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input:focus::-moz-placeholder {
|
|
644
|
+
color: #b2c2cd;
|
|
645
|
+
}
|
|
646
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input:-ms-input-placeholder {
|
|
647
|
+
color: #7891a4;
|
|
648
|
+
}
|
|
649
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input:focus:-ms-input-placeholder {
|
|
650
|
+
color: #f1cab2;
|
|
651
|
+
}
|
|
652
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input[disabled] {
|
|
653
|
+
color: #172a3b !important;
|
|
654
|
+
background: #f5f6f7 !important;
|
|
655
|
+
border-color: #f5f6f7 !important;
|
|
656
|
+
-webkit-text-fill-color: #172a3b !important;
|
|
657
|
+
}
|
|
658
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input:focus {
|
|
659
|
+
border-color: #172a3b !important;
|
|
660
|
+
}
|
|
661
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input:focus + .duet-input-icon {
|
|
662
|
+
color: #172a3b;
|
|
663
|
+
}
|
|
664
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input-variation-button-left.has-focus .duet-input-relative {
|
|
665
|
+
border-color: #172a3b;
|
|
666
|
+
}
|
|
667
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-input-variation-revealable.has-focus .duet-input-relative {
|
|
668
|
+
border-color: #172a3b;
|
|
599
669
|
}
|
|
@@ -528,7 +528,7 @@ export class DuetInput {
|
|
|
528
528
|
this.type !== "password" &&
|
|
529
529
|
this.type !== "time" &&
|
|
530
530
|
this.variation !== "button";
|
|
531
|
-
return (h(Host, { key: '
|
|
531
|
+
return (h(Host, { key: 'b937912982c9ab26076a7a8ef6d92d86721f1e52', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: 'f2c5263ad8bdc5420c0a57bb0de0257172dce64a', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: 'fc9419ac20d284a2d74922a41f66e6457ce2f68d', class: {
|
|
532
532
|
"duet-input-container": true,
|
|
533
533
|
"duet-theme-turva": this.theme === "turva",
|
|
534
534
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -542,7 +542,7 @@ export class DuetInput {
|
|
|
542
542
|
"has-clear": this.clear,
|
|
543
543
|
"has-focus": this.isFocused,
|
|
544
544
|
disabled: this.disabled,
|
|
545
|
-
} }, h("div", { key: '
|
|
545
|
+
} }, h("div", { key: '42a3f546f411b3179ed4224d0c1847be2cb4bd17', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: '50f07e14449aa88f4f8f67b5c21fb23c435b318c', 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: '9161fff80a689ae4fa7fa7bc4532fef2b48cf8c7', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '17c98bf119774ef6606bac7117cb0826215fcfda', name: "tooltip" })), this.caption && (h("duet-caption", { key: 'df3c5e4b0ca4830cec0e0ace48520847688f79bc', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '9cc334f9c6d565a5ad325c9218c6a2e24a04444b', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: '3d24e72417e5f1d4b744a37e9847f7e0dd5e387e', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '3d28cc9d073f283b5f58524a9cb274b61808aaeb', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && h("slot", { key: 'a153bedd03fe832c4dbfc1911c3469872ef45425', name: "button-left" }), h("input", Object.assign({ key: '6ef60b5b5ec7b53ec70114bf9cd75c354fe81c36', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
546
546
|
"duet-input": true,
|
|
547
547
|
disabled: this.disabled,
|
|
548
548
|
"is-number": this.component === "number",
|
|
@@ -550,16 +550,17 @@ export class DuetInput {
|
|
|
550
550
|
"after-chip": this.getAllChips().length > 0,
|
|
551
551
|
"align-right": this.inputAlign === "right",
|
|
552
552
|
[`input-padding-${this.inputPadding}`]: true,
|
|
553
|
-
}, 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: '
|
|
553
|
+
}, 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: '2febfb7a160144de44956c244f4a9b68bd8019c5', class: "duet-input-icon" }, h("duet-icon", { key: 'bfec761a97f3aaa0a686027b295f1004635db337', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: '0f04d8c0153cd96923d3ec222eefe5ee936900dd', class: {
|
|
554
554
|
"duet-input-clear-icon": true,
|
|
555
555
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
556
556
|
"duet-input-clear-icon-double": !!this.icon,
|
|
557
557
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
558
|
-
|
|
558
|
+
[`input-padding-${this.inputPadding}`]: true,
|
|
559
|
+
} }, h("button", { key: '3dc787b6e8470795c202b2b9e027c9193e731b9e', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: 'f29c35083e8541aeabbf3130b73dcbbe35ed20a9', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '59e4fe1f64ca4f11d2cf39d7b33f086a838e2e60', class: "duet-input-icon" }, h("duet-icon", { key: 'e304b595a8594e38c63662e7bd47e7fdf9f06fc3', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: '660d57f251986c4e712299152cd0fa1afa8a67c7', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: '4b8d5a513f6513246217b18ea75bf0b44df3bbe9', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
559
560
|
? this.hidePasswordLabel[this.language]
|
|
560
|
-
: 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: '
|
|
561
|
+
: 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: 'c16a59469b63b6d623cb0119dbcf49bed4269d37' }, h("span", { key: '60d86ffe14dc83c8f27a364c691014084a612d90', "aria-live": "polite" }, this.isPasswordRevealed
|
|
561
562
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
562
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '
|
|
563
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '700c7f3d746185f743b90f8c14e7cdbfe290d9b8' })), h("span", { key: 'b2ed0a75c22c458ab4008c83f1ad03e63cf143ac', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'aa9820e4fe4939f57bf2b50670693fc82ef925ce', class: "duet-input-error" }, this.error)))));
|
|
563
564
|
}
|
|
564
565
|
static get is() { return "duet-input"; }
|
|
565
566
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,4 +87,8 @@ label span {
|
|
|
87
87
|
:host(.duet-theme-turva) label {
|
|
88
88
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
89
89
|
color: rgb(23, 28, 58);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host(.duet-theme-turva2.duet-theme-turva) label {
|
|
93
|
+
color: #172a3b;
|
|
90
94
|
}
|
|
@@ -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: '53712da1e22dc258d30906570bf1271624379ed8', 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: '80dc2f3b86a02c22c7aebd8802bd332154c4a273', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: '9f3f4c713d5b921ad78480072e3dcea4d4867d04', class: {
|
|
74
74
|
"duet-layout-top": true,
|
|
75
75
|
"duet-center": this.center,
|
|
76
|
-
} }, h("div", { key: '
|
|
76
|
+
} }, h("div", { key: '7cd44f76b96b5e2bd6033cc044f08e75a10760ed', class: "duet-layout-top-wrapper" }, h("slot", { key: '7743f1fe659f31925b27a85a970e934506b935e7', name: "top" })))), h("div", { key: '637a68f8376e073f146c63f2c866b6f52722577e', 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: 'f6b2682dfb675be08976b23a485cf1a7ad76de0c', class: "duet-main" }, this.hasPageHeading && h("slot", { key: '9ec618959d54d768b880f95e05df0e5aaf76de75', name: "page-heading" }), h("slot", { key: 'b3c960b48d55fb863854fc34e126b1a143b3d194', name: "main" })), this.hasSidebar && (h("aside", { key: '68671aab139ba365d60284909e489a78bd7438d3', class: "duet-sidebar" }, h("div", { key: '60a53e1fa61ccec8fa2b85f20b475c52e016b963', 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: 'a6131a1af98bb5cf2c6c808b15cea9e6996143f3', name: "sidebar" }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "duet-layout"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|