@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
|
@@ -220,6 +220,7 @@ button {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
.duet-link.button,
|
|
223
|
+
.duet-link.list-button,
|
|
223
224
|
.duet-link.card {
|
|
224
225
|
display: flex;
|
|
225
226
|
gap: 12px;
|
|
@@ -237,10 +238,12 @@ button {
|
|
|
237
238
|
transition: all 300ms ease;
|
|
238
239
|
}
|
|
239
240
|
.duet-link.button > *,
|
|
241
|
+
.duet-link.list-button > *,
|
|
240
242
|
.duet-link.card > * {
|
|
241
243
|
flex-shrink: 0;
|
|
242
244
|
}
|
|
243
245
|
.duet-link.button .duet-link-content,
|
|
246
|
+
.duet-link.list-button .duet-link-content,
|
|
244
247
|
.duet-link.card .duet-link-content {
|
|
245
248
|
flex-grow: 1;
|
|
246
249
|
flex-shrink: 1;
|
|
@@ -250,24 +253,28 @@ button {
|
|
|
250
253
|
text-align: left;
|
|
251
254
|
}
|
|
252
255
|
.duet-link.button .icon-wrap,
|
|
256
|
+
.duet-link.list-button .icon-wrap,
|
|
253
257
|
.duet-link.card .icon-wrap {
|
|
254
258
|
display: flex;
|
|
255
259
|
align-items: center;
|
|
256
260
|
justify-content: center;
|
|
257
261
|
}
|
|
258
262
|
.duet-link.button .icon-wrap duet-icon,
|
|
263
|
+
.duet-link.list-button .icon-wrap duet-icon,
|
|
259
264
|
.duet-link.card .icon-wrap duet-icon {
|
|
260
265
|
width: 24px;
|
|
261
266
|
height: 24px;
|
|
262
267
|
}
|
|
263
268
|
@media (min-width: 48em) {
|
|
264
269
|
.duet-link.button .icon-wrap duet-icon,
|
|
270
|
+
.duet-link.list-button .icon-wrap duet-icon,
|
|
265
271
|
.duet-link.card .icon-wrap duet-icon {
|
|
266
272
|
width: 30px;
|
|
267
273
|
height: 30px;
|
|
268
274
|
}
|
|
269
275
|
}
|
|
270
276
|
.duet-link.button.duet-link-has-icon-background,
|
|
277
|
+
.duet-link.list-button.duet-link-has-icon-background,
|
|
271
278
|
.duet-link.card.duet-link-has-icon-background {
|
|
272
279
|
min-height: 60px;
|
|
273
280
|
padding: 12px;
|
|
@@ -275,60 +282,105 @@ button {
|
|
|
275
282
|
line-height: 1.5;
|
|
276
283
|
}
|
|
277
284
|
.duet-link.button.duet-link-has-icon-background .icon-wrap,
|
|
285
|
+
.duet-link.list-button.duet-link-has-icon-background .icon-wrap,
|
|
278
286
|
.duet-link.card.duet-link-has-icon-background .icon-wrap {
|
|
279
287
|
width: 36px;
|
|
280
288
|
height: 36px;
|
|
281
289
|
border-radius: 8px;
|
|
282
290
|
}
|
|
283
291
|
.duet-link.button:hover,
|
|
292
|
+
.duet-link.list-button:hover,
|
|
284
293
|
.duet-link.card:hover {
|
|
285
294
|
border-color: rgb(0, 119, 179);
|
|
286
295
|
outline: 2px solid rgb(0, 119, 179);
|
|
287
296
|
}
|
|
288
297
|
@media (min-width: 48em) {
|
|
289
298
|
.duet-link.button,
|
|
299
|
+
.duet-link.list-button,
|
|
290
300
|
.duet-link.card {
|
|
291
301
|
min-height: 50px;
|
|
292
302
|
}
|
|
293
303
|
.duet-link.button.duet-link-has-icon-background,
|
|
304
|
+
.duet-link.list-button.duet-link-has-icon-background,
|
|
294
305
|
.duet-link.card.duet-link-has-icon-background {
|
|
295
306
|
gap: 16px;
|
|
296
307
|
min-height: 72px;
|
|
297
308
|
border-radius: 16px;
|
|
298
309
|
}
|
|
299
310
|
.duet-link.button.duet-link-has-icon-background .icon-wrap,
|
|
311
|
+
.duet-link.list-button.duet-link-has-icon-background .icon-wrap,
|
|
300
312
|
.duet-link.card.duet-link-has-icon-background .icon-wrap {
|
|
301
313
|
width: 48px;
|
|
302
314
|
height: 48px;
|
|
303
315
|
border-radius: 12px;
|
|
304
316
|
}
|
|
305
317
|
.duet-link.button.duet-link-has-icon-background .duet-link-content,
|
|
318
|
+
.duet-link.list-button.duet-link-has-icon-background .duet-link-content,
|
|
306
319
|
.duet-link.card.duet-link-has-icon-background .duet-link-content {
|
|
307
320
|
font-size: 1.1rem;
|
|
308
321
|
}
|
|
309
322
|
}
|
|
310
323
|
.duet-link.button.duet-theme-turva,
|
|
324
|
+
.duet-link.list-button.duet-theme-turva,
|
|
311
325
|
.duet-link.card.duet-theme-turva {
|
|
312
326
|
border-color: rgb(199, 202, 207);
|
|
313
327
|
}
|
|
314
328
|
.duet-link.button.duet-theme-turva .duet-link-content,
|
|
329
|
+
.duet-link.list-button.duet-theme-turva .duet-link-content,
|
|
315
330
|
.duet-link.card.duet-theme-turva .duet-link-content {
|
|
316
331
|
color: rgb(23, 28, 58);
|
|
317
332
|
}
|
|
318
333
|
.duet-link.button.duet-theme-turva:hover,
|
|
334
|
+
.duet-link.list-button.duet-theme-turva:hover,
|
|
319
335
|
.duet-link.card.duet-theme-turva:hover {
|
|
320
336
|
border-color: rgb(198, 12, 48);
|
|
321
337
|
outline-color: rgb(198, 12, 48);
|
|
322
338
|
}
|
|
323
339
|
.duet-link.button .block__chevron-icon,
|
|
340
|
+
.duet-link.list-button .block__chevron-icon,
|
|
324
341
|
.duet-link.card .block__chevron-icon {
|
|
325
342
|
transition: 300ms ease;
|
|
326
343
|
}
|
|
327
344
|
.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,
|
|
345
|
+
.duet-link.list-button:not(.duet-link-is-external):hover .block__chevron-icon,
|
|
328
346
|
.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon {
|
|
329
347
|
transform: translateX(4px);
|
|
330
348
|
}
|
|
331
349
|
|
|
350
|
+
.duet-link.list-button {
|
|
351
|
+
padding: 20px 12px 20px 4px;
|
|
352
|
+
margin-top: -1px;
|
|
353
|
+
border: solid 1px rgb(181, 198, 208);
|
|
354
|
+
border-width: 1px 0;
|
|
355
|
+
border-radius: 0;
|
|
356
|
+
}
|
|
357
|
+
.duet-link.list-button .icon-wrap duet-icon {
|
|
358
|
+
width: 20px;
|
|
359
|
+
height: 20px;
|
|
360
|
+
}
|
|
361
|
+
@media (min-width: 48em) {
|
|
362
|
+
.duet-link.list-button .icon-wrap duet-icon {
|
|
363
|
+
width: 24px;
|
|
364
|
+
height: 24px;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
.duet-link.list-button:hover {
|
|
368
|
+
border-color: rgb(181, 198, 208);
|
|
369
|
+
outline: 0;
|
|
370
|
+
}
|
|
371
|
+
.duet-link.list-button:hover .duet-link-content {
|
|
372
|
+
color: rgb(0, 119, 179);
|
|
373
|
+
}
|
|
374
|
+
.duet-link.list-button.duet-theme-turva .duet-link-content {
|
|
375
|
+
color: rgb(23, 28, 58);
|
|
376
|
+
}
|
|
377
|
+
.duet-link.list-button.duet-theme-turva:hover {
|
|
378
|
+
border-color: rgb(199, 202, 207);
|
|
379
|
+
}
|
|
380
|
+
.duet-link.list-button.duet-theme-turva:hover .duet-link-content {
|
|
381
|
+
color: rgb(198, 12, 48);
|
|
382
|
+
}
|
|
383
|
+
|
|
332
384
|
.duet-link.card {
|
|
333
385
|
border-color: rgb(228, 236, 239);
|
|
334
386
|
box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07);
|
|
@@ -376,4 +428,26 @@ button {
|
|
|
376
428
|
.duet-link.card.duet-link-has-icon .chevron-wrap {
|
|
377
429
|
height: 62px;
|
|
378
430
|
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
:host(.duet-theme-turva2) .duet-tab-to-link.duet-theme-turva {
|
|
434
|
+
color: #172a3b;
|
|
435
|
+
}
|
|
436
|
+
:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva,
|
|
437
|
+
:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva {
|
|
438
|
+
border-color: #b2c2cd;
|
|
439
|
+
}
|
|
440
|
+
:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva .duet-link-content,
|
|
441
|
+
:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva .duet-link-content {
|
|
442
|
+
color: #172a3b;
|
|
443
|
+
}
|
|
444
|
+
:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva:hover {
|
|
445
|
+
border-color: #e61740;
|
|
446
|
+
outline-color: #e61740;
|
|
447
|
+
}
|
|
448
|
+
:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover {
|
|
449
|
+
border-color: #b2c2cd;
|
|
450
|
+
}
|
|
451
|
+
:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover .duet-link-content {
|
|
452
|
+
color: #e61740;
|
|
379
453
|
}
|
|
@@ -168,6 +168,7 @@ export class DuetLink {
|
|
|
168
168
|
case "block-center":
|
|
169
169
|
return this.renderBlockContent();
|
|
170
170
|
case "button":
|
|
171
|
+
case "list-button":
|
|
171
172
|
case "card":
|
|
172
173
|
return this.renderButtonCardContent();
|
|
173
174
|
}
|
|
@@ -179,10 +180,10 @@ export class DuetLink {
|
|
|
179
180
|
render() {
|
|
180
181
|
const Tag = !this.url ? "button" : "a";
|
|
181
182
|
const isButton = Tag === "button";
|
|
182
|
-
return (h(Host, { key: '
|
|
183
|
+
return (h(Host, { key: 'a9fddd138f64a17b494e02bcefc679cd1a0d4051', class: {
|
|
183
184
|
[`duet-link-${this.variation}`]: true,
|
|
184
185
|
"duet-m-0": this.margin === "none",
|
|
185
|
-
} }, h(Tag, { key: '
|
|
186
|
+
} }, h(Tag, { key: 'c8cbf018a9ab3660f0c32053503c82fe725d41cd', href: this.url, class: {
|
|
186
187
|
"duet-link": true,
|
|
187
188
|
"duet-link-is-external": this.external,
|
|
188
189
|
"duet-link-is-download": !!this.download,
|
|
@@ -216,7 +217,7 @@ export class DuetLink {
|
|
|
216
217
|
"mutable": false,
|
|
217
218
|
"complexType": {
|
|
218
219
|
"original": "DuetLinkVariation",
|
|
219
|
-
"resolved": "\"block\" | \"block-center\" | \"button\" | \"card\" | \"default\"",
|
|
220
|
+
"resolved": "\"block\" | \"block-center\" | \"button\" | \"card\" | \"default\" | \"list-button\"",
|
|
220
221
|
"references": {
|
|
221
222
|
"DuetLinkVariation": {
|
|
222
223
|
"location": "import",
|
|
@@ -744,6 +745,12 @@ export class DuetLink {
|
|
|
744
745
|
static get elementRef() { return "element"; }
|
|
745
746
|
static get watchers() {
|
|
746
747
|
return [{
|
|
748
|
+
"propName": "download",
|
|
749
|
+
"methodName": "setAriaLabel"
|
|
750
|
+
}, {
|
|
751
|
+
"propName": "external",
|
|
752
|
+
"methodName": "setAriaLabel"
|
|
753
|
+
}, {
|
|
747
754
|
"propName": "language",
|
|
748
755
|
"methodName": "setAriaLabel"
|
|
749
756
|
}];
|
|
@@ -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: '82930dea1fe1193f295b5888ed5f06a85693faaa', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", { key: '44602efe41782f5dc0221b0fe2dd2ac6dc905ae3' })));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "duet-list"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -431,4 +431,24 @@
|
|
|
431
431
|
:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dd {
|
|
432
432
|
flex-basis: 35%;
|
|
433
433
|
}
|
|
434
|
+
}
|
|
435
|
+
:host(.duet-theme-turva2.duet-theme-turva) {
|
|
436
|
+
color: #172a3b;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
:host(.duet-theme-turva2.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,
|
|
440
|
+
:host(.duet-theme-turva2.duet-list-striped.duet-theme-turva:nth-child(odd)) dd {
|
|
441
|
+
background: #f5f6f7;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
:host(.duet-theme-turva2.duet-list-bordered.duet-theme-turva) {
|
|
445
|
+
border-block-start: 1px solid #d4dde2;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
:host(.duet-theme-turva2.duet-list-bordered.duet-theme-turva:last-child) {
|
|
449
|
+
border-block-end: 1px solid #d4dde2;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
:host(.duet-theme-turva2.duet-list-inner-bordered.duet-theme-turva:not(:last-child)) {
|
|
453
|
+
border-block-end: 1px solid #d4dde2;
|
|
434
454
|
}
|
|
@@ -2,12 +2,17 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { inheritGlobalTheme } from "../../common";
|
|
5
6
|
/**
|
|
6
7
|
* @slot label - The list item component’s label content. Use this to put content into description list’s dt element.
|
|
7
8
|
* @slot value - The list item component’s value content. Use this to put content into description list’s dd element.
|
|
8
9
|
*/
|
|
9
10
|
export class DuetListItem {
|
|
10
11
|
constructor() {
|
|
12
|
+
/**
|
|
13
|
+
* Theme.
|
|
14
|
+
*/
|
|
15
|
+
this.theme = "";
|
|
11
16
|
/**
|
|
12
17
|
* @internal
|
|
13
18
|
* Enable or disable the automatic responsive behaviour of the list item.
|
|
@@ -21,19 +26,23 @@ export class DuetListItem {
|
|
|
21
26
|
*/
|
|
22
27
|
this.breakpoint = "small";
|
|
23
28
|
}
|
|
29
|
+
componentWillLoad() {
|
|
30
|
+
inheritGlobalTheme(this);
|
|
31
|
+
}
|
|
24
32
|
/**
|
|
25
33
|
* render() function
|
|
26
34
|
* Always the last one in the class.
|
|
27
35
|
*/
|
|
28
36
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '8b3943e8c6c0ff91b8405bfedb46b4612da7451b', class: {
|
|
38
|
+
"duet-theme-turva": this.theme === "turva",
|
|
30
39
|
"duet-no-stacking": !this.responsive,
|
|
31
40
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
32
41
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
33
42
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
34
43
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
35
44
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
36
|
-
} }, h("dt", { key: '
|
|
45
|
+
} }, h("dt", { key: '587ef41965121757aa51fc12391e17fd7f5563fd' }, h("slot", { key: '466137ac7d5182f8d0223429f0c5159677d4330b', name: "label" })), h("dd", { key: '4f85ab7cd34ecf8d528857c07e214dbd023d0465' }, h("slot", { key: '3d270b99641b4b152556402d5818216f6d34c5fa', name: "value" }))));
|
|
37
46
|
}
|
|
38
47
|
static get is() { return "duet-list-item"; }
|
|
39
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,6 +58,32 @@ export class DuetListItem {
|
|
|
49
58
|
}
|
|
50
59
|
static get properties() {
|
|
51
60
|
return {
|
|
61
|
+
"theme": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"attribute": "theme",
|
|
64
|
+
"mutable": true,
|
|
65
|
+
"complexType": {
|
|
66
|
+
"original": "DuetTheme",
|
|
67
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
68
|
+
"references": {
|
|
69
|
+
"DuetTheme": {
|
|
70
|
+
"location": "import",
|
|
71
|
+
"path": "../../common-types",
|
|
72
|
+
"id": "src/common-types.d.ts::DuetTheme"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": false,
|
|
77
|
+
"optional": false,
|
|
78
|
+
"docs": {
|
|
79
|
+
"tags": [],
|
|
80
|
+
"text": "Theme."
|
|
81
|
+
},
|
|
82
|
+
"getter": false,
|
|
83
|
+
"setter": false,
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"defaultValue": "\"\""
|
|
86
|
+
},
|
|
52
87
|
"responsive": {
|
|
53
88
|
"type": "boolean",
|
|
54
89
|
"attribute": "responsive",
|
|
@@ -103,4 +138,5 @@ export class DuetListItem {
|
|
|
103
138
|
}
|
|
104
139
|
};
|
|
105
140
|
}
|
|
141
|
+
static get elementRef() { return "element"; }
|
|
106
142
|
}
|
|
@@ -76,4 +76,13 @@
|
|
|
76
76
|
.duet-logo.large.duet-theme-turva {
|
|
77
77
|
width: 149.6px;
|
|
78
78
|
height: 54.4px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host(.duet-theme-turva2) .duet-logo {
|
|
82
|
+
width: 92px;
|
|
83
|
+
height: 22.2px;
|
|
84
|
+
}
|
|
85
|
+
:host(.duet-theme-turva2) .duet-logo.large {
|
|
86
|
+
width: 124.3243243243px;
|
|
87
|
+
height: 30px;
|
|
79
88
|
}
|
|
@@ -7,9 +7,12 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
7
7
|
import { createID } from "../../utils/create-id";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
9
|
const TurvaLogo = ({ inverse, logoId }) => {
|
|
10
|
+
var _a;
|
|
10
11
|
const logoColor = inverse ? colorGrayLightest : colorBrandGrayTurva;
|
|
11
12
|
const textColor = inverse ? colorGrayLightest : colorPrimaryTurva;
|
|
12
|
-
|
|
13
|
+
const turva2LogoColor = inverse ? colorGrayLightest : "#e61740"; // turva2-red-600 - hard coded as not yet available as token
|
|
14
|
+
const isTurva2 = (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2");
|
|
15
|
+
return isTurva2 ? (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 460 111" }, h("path", { fill: turva2LogoColor, d: "M376.31,6.532L353.12,6.532C351.181,6.585 348.968,6.454 348.169,8.504L335.005,45.585C335.005,45.585 332.621,52.566 331.6,56.371C330.84,59.194 327.113,59.305 326.432,56.299C325.588,52.559 323.119,45.637 323.119,45.637L311.311,9.316C310.439,6.572 308.979,6.539 306.53,6.539L279.678,6.539C277.262,6.539 277.537,7.803 277.963,8.884L313.177,98.22C314.323,101.049 315.633,101.455 317.945,101.455L338.98,101.455C341.869,101.455 342.707,99.195 343.132,98.22L378.425,9.715C378.773,8.818 379.362,6.539 376.297,6.539L376.31,6.532Z" }), h("path", { fill: turva2LogoColor, d: "M459.516,96.346C454.277,83.268 433.732,31.15 425.821,9.722C424.662,6.821 423.686,6.539 421.689,6.539L399.651,6.539C397.647,6.539 396.783,7.541 395.885,9.925C387.024,33.495 362.341,94.31 361.535,96.346C360.704,98.455 360.717,101.455 363.277,101.455L387.358,101.455C389.52,101.455 389.827,100.63 391.032,98.22C391.36,97.558 394.097,91.461 395.034,89.103C395.329,88.357 396.049,87.872 396.848,87.872L422.298,87.813C423.084,87.813 423.791,88.271 424.099,88.992C425.225,91.605 428.598,98.815 428.932,99.621C429.574,101.167 430.235,101.455 432.095,101.455L457.768,101.455C460.328,101.455 460.341,98.455 459.51,96.346L459.516,96.346ZM417.916,66.253L402.559,66.286C401.144,66.286 400.463,65.075 400.974,63.529C401.308,62.52 408.224,43.574 408.551,42.611C408.551,42.592 408.571,42.579 408.584,42.559C408.925,41.485 409.272,40.365 409.501,39.507C409.809,38.354 411.452,38.387 411.714,39.553C411.898,40.352 412.376,41.937 412.52,42.408C413.064,44.209 419.449,63.313 419.508,63.49C420.019,65.035 419.344,66.247 417.923,66.247L417.916,66.253Z" }), h("path", { fill: turva2LogoColor, d: "M162.312,28.57L162.312,27.3C162.312,25.734 163.838,24.719 165.122,25.44C168.953,27.575 173.662,29.389 178.96,30.843C179.432,30.974 179.897,30.613 179.897,30.129L179.897,9.748C179.897,7.148 179.327,6.46 176.616,6.46L153.15,6.46C150.432,6.46 149.869,7.148 149.869,9.748L149.869,60.327C149.869,75.547 142.207,78.356 136.457,78.356C130.707,78.356 123.031,74.99 123.031,60.327L123.031,9.748C123.031,7.148 122.461,6.46 119.75,6.46L96.311,6.46C93.593,6.46 93.03,7.148 93.03,9.748L93.03,65.599C93.03,99.621 125.493,104.618 136.496,104.618C149.057,104.618 179.897,100.158 179.897,65.599L179.897,51.511C179.897,50.974 179.602,50.483 179.13,50.215C169.019,44.504 162.306,36.553 162.306,28.563L162.312,28.57Z" }), h("path", { fill: turva2LogoColor, d: "M282.593,98.252C279.561,93.989 261.976,67.203 261.976,67.203C258.662,62.213 263.967,65.854 271.472,55.546C283.497,39.022 275.684,11.68 252.166,7.823C244.025,6.153 235.492,6.467 231.025,6.467L199,6.467C196.282,6.467 195.719,7.155 195.719,9.755L195.719,33.338C195.719,33.718 196.001,34.039 196.381,34.078C201.371,34.628 206.558,34.91 211.817,34.91C230.174,34.91 247.771,31.432 258.512,25.446C259.795,24.732 261.321,25.741 261.321,27.306L261.321,28.577C261.321,43.666 237.417,58.604 211.817,58.604C206.623,58.604 201.502,57.989 196.63,56.882C196.165,56.777 195.719,57.124 195.719,57.602L195.719,98.174C195.719,100.774 196.289,101.461 199,101.461L221.739,101.461C224.457,101.461 225.02,100.774 225.02,98.174L225.039,71.047C225.039,69.954 229.44,70.111 230.776,71.702C235.086,76.843 242.899,92.928 246.547,96.857C248.852,99.346 253.011,101.461 260.287,101.461L278.958,101.461C281.231,101.461 283.765,99.916 282.586,98.265L282.593,98.252Z" }), h("path", { fill: turva2LogoColor, d: "M77.377,6.388L3.281,6.388C0.563,6.388 0,7.076 0,9.676L0,31.556C0,33.809 0,34.7 2.331,34.7L24.297,34.7C26.432,34.7 26.491,35.46 26.491,37.359L26.504,98.174C26.504,100.774 27.074,101.461 29.785,101.461L51.24,101.461C53.958,101.461 54.521,100.774 54.521,98.174L54.521,37.221C54.521,35.427 54.632,34.7 56.715,34.7L78.026,34.7C80.161,34.7 80.665,33.665 80.665,31.936L80.665,9.682C80.665,7.083 80.095,6.395 77.384,6.395L77.377,6.388Z" }))) : (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 305 111" }, h("title", { id: logoId }, "Turva"), h("path", { fill: logoColor, d: "M79 90.1A40.5 40.5 0 0 0 98.3 58H79v32.2z" }), h("path", { fill: logoColor, d: "M45.1 57.9V46.4h52.3a40.5 40.5 0 1 0-30 48.5V58H45z" }), h("path", { fill: textColor, d: "M278.9 80.3v-9.8l-7.4.4c-2.4.3-4.3.6-5.7 1-1.7.4-4 1.3-5 2.3-1 1-2.3 2.8-2.3 4.6 0 2 .8 3.8 2 4.8s3.3 2 5.7 2a22 22 0 0 0 12.7-5.3zm4.2 8H279v-4.1l-3 1.9-2.8 1.5a17.4 17.4 0 0 1-7.4 1.6c-3 0-6.3-.7-8-2.3a9.6 9.6 0 0 1-3.4-7.2 9 9 0 0 1 1.8-5.9c1.1-1.6 3.1-3.3 5.2-4.2 2.1-1 4.7-1.6 7.7-1.9 3.4-.4 6.8-.6 9.8-.7v-1.1a6 6 0 0 0-.7-3.3 8 8 0 0 0-2.6-2.5c-.8-.5-2.2-1-3.4-1.1a25.7 25.7 0 0 0-8.8.4c-1.9.4-3.3 1-5.4 1.7h-.3v-4.3c1.2-.3 2.3-.7 4.5-1a37.7 37.7 0 0 1 12.8 0c1.8.4 2.9 1 4.2 2 1.3 1 2.3 2.3 3 3.8.7 1.5 1 3.2 1 4.7v22zM250.1 56l-14 32.4h-4.8L217.4 56h4.5l12 27.7L245.6 56zM137.7 88.2l-2.7.7c-.9.2-2 .4-4.2.4a9 9 0 0 1-7.2-3c-1.9-1.8-2.6-5-2.6-9.3V60.2h-5.2V56h5.2V47h4.2v9h12.6v4.2h-12.6v14.2c0 1.8 0 4.3.2 5.4 0 1 .3 2.5.8 3.4.5.8 1.4 1.4 2.2 1.8.8.4 2.7.5 4.1.5 1-.1 1.7-.2 2.7-.5l2.2-.6h.3v3.8zM176.4 88.4h-4.2v-3.9c-2 1.6-4.5 2.8-6.3 3.6-1.8.8-3.8 1.3-6 1.3-3.6 0-6-1.2-8-3.4s-2.5-5.5-2.5-9.9v-20h4.2V74c0 1.8.1 3.8.3 5 .2 1.3.5 3 1 3.8a5 5 0 0 0 2.2 2c1 .5 2.2.7 4 .7 1.5 0 3.1-.4 5-1.2 1.7-.8 4.5-2.4 6-3.6V56.1h4.3v32.3zM210.4 61h-.3a21.6 21.6 0 0 0-5.4-.7c-1.9 0-3.6.4-5.3 1.2a31 31 0 0 0-5.4 3.7v23.2h-4.3V56h4.3v5.2c2.3-1.9 5-3.2 6.7-4 1.8-.8 3.6-1.2 5.5-1.2a22.3 22.3 0 0 1 4.2.4v4.4z" })));
|
|
13
16
|
};
|
|
14
17
|
const i18n = {
|
|
15
18
|
fi: {
|
|
@@ -105,7 +108,7 @@ export class DuetLogo {
|
|
|
105
108
|
*/
|
|
106
109
|
render() {
|
|
107
110
|
const TagName = this.href ? "a" : "div";
|
|
108
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '79e576b071b49326a95d2d5ab7c6e113d1688670', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '41f68531196f1418719916208cd9a223f98813b7', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
109
112
|
"duet-logo": true,
|
|
110
113
|
[this.size]: true,
|
|
111
114
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -200,4 +200,11 @@
|
|
|
200
200
|
.duet-theme-turva .right {
|
|
201
201
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
202
202
|
color: rgb(23, 28, 58);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:host(.duet-theme-turva2) .duet-theme-turva .center {
|
|
206
|
+
color: #172a3b;
|
|
207
|
+
}
|
|
208
|
+
:host(.duet-theme-turva2) .duet-theme-turva .right {
|
|
209
|
+
color: #172a3b;
|
|
203
210
|
}
|
|
@@ -167,14 +167,14 @@ export class DuetMenuBar {
|
|
|
167
167
|
render() {
|
|
168
168
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
169
169
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '349581a9e41fcb410d37770ed09d2311de7d38a5' }, h("nav", { key: '96ed53773cd355d673a2b3977b40286d67985810', class: {
|
|
171
171
|
"duet-menu-bar": true,
|
|
172
172
|
"duet-theme-turva": this.theme === "turva",
|
|
173
173
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
174
174
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
175
175
|
hidden: this.hidden && this.hideOnScroll,
|
|
176
176
|
bottom: this.onBottom,
|
|
177
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
177
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '93a3b7f680dfc2f998274c56a380e29332b24f90', class: "top" }), h("div", { key: 'a8d14b711a83aee7ea63fa39f5be9d6d61929a37', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '306ad41f64eaecd20cc98bbe2b9d490912c6820c' }, h("duet-logo", { key: '5a91055e192e1214c7bd921c2ff300510594c47b', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), h("div", { key: '7fea1e39256f5847358f2533607ac26f53fc35d3', class: "list center", role: "list" }, h("div", { key: '4c953fc8762eadafb6e4a41534676021e4fb0675', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: 'ee961cf16f11a62fdef74f7ab57cf4bf653ba8ab', name: "center" }), h("div", { key: '1f66cfd1c1fea5f9c1764ff8b3a697c0459a653b', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '3d7cb50a008c1ce893a3ad504b186dbb3965a130', class: "list right", role: "list" }, h("slot", { key: '7ff47fae8ea6f7d49fcfe5e53d43491994741f26', name: "right" }))), h("div", { key: '8bc982c15ce030ae88966fe1646914b6bf295960', class: "bottom" }))));
|
|
178
178
|
}
|
|
179
179
|
static get is() { return "duet-menu-bar"; }
|
|
180
180
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '6e69fa56fa86d15fd577b1147cb564053c9e8c9e', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: 'd2baf734d37ebd5183628f2cf789651a7627da3d', 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: '17e4032b4ce67707c6694b1e7ab25ee15070f1fc', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'acc459e8b86197b65b2db8e43ff6b72aff63b516' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-menu-bar-button"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -151,4 +151,17 @@
|
|
|
151
151
|
}
|
|
152
152
|
.duet-menu-bar-dropdown.duet-theme-turva .items {
|
|
153
153
|
background: rgb(255, 255, 255);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button {
|
|
157
|
+
color: #172a3b;
|
|
158
|
+
}
|
|
159
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button:hover {
|
|
160
|
+
color: #e61740;
|
|
161
|
+
}
|
|
162
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active {
|
|
163
|
+
color: #e61740;
|
|
164
|
+
}
|
|
165
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active::after {
|
|
166
|
+
background: #e61740;
|
|
154
167
|
}
|
|
@@ -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: 'bd58e1dff54dcb742f71d79a3f4ac926698d8be4', role: "listitem" }, h("div", { key: '5e2ecae92d1714eb9fd29b2ad9c288f0acb022f7', 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: 'bca33875be854118e12277bf022757f89deac664', 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: '8b2139cbecc402ef2475876525963e51923f8e36', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '4ef57ea2a1222ba117d6a0ec160c42e5eb01684c', class: "label" }, h("slot", { key: 'e81fd8db1ce93315bc5bdb466026c170d16141b6', name: "label" }), h("duet-icon", { key: '9f01bcc4114618806fa680c3c813ef9a88e760ab', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'b9877d928d13f438e0cee0fe159f43923932417d', 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: 'aa50757464cf5184b8bda091e87010c8e0d58b41' })))));
|
|
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
|
@@ -56,4 +56,11 @@
|
|
|
56
56
|
}
|
|
57
57
|
.duet-menu-bar-dropdown-link:hover.duet-theme-turva {
|
|
58
58
|
background: rgb(222, 224, 228);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva {
|
|
62
|
+
color: #172a3b;
|
|
63
|
+
}
|
|
64
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva:hover {
|
|
65
|
+
background: #fbebe1;
|
|
59
66
|
}
|
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: '94cfab99d4f458ac36c33cf98a8878fdb0ec4893' }, h("a", { key: '282dd002e0715e81d26680884c5c445dd7babc73', 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: '546189e81f3a44ca198026d4fb856b65120b3c50', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'ec0f06a5ab23e770da10f3b22ee8576cf7276da2' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -125,4 +125,19 @@
|
|
|
125
125
|
.duet-menu-bar-item:hover.duet-theme-turva {
|
|
126
126
|
color: rgb(198, 12, 48);
|
|
127
127
|
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true] {
|
|
131
|
+
color: #e61740;
|
|
132
|
+
}
|
|
133
|
+
:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva {
|
|
134
|
+
color: #e61740;
|
|
135
|
+
}
|
|
136
|
+
:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after {
|
|
137
|
+
background: #e61740;
|
|
138
|
+
}
|
|
139
|
+
@media (min-width: 62em) {
|
|
140
|
+
:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover {
|
|
141
|
+
color: #e61740;
|
|
142
|
+
}
|
|
128
143
|
}
|
|
@@ -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: 'f974d8d652cd213c89d81ead0f2048f1d109caa2', role: "listitem" }, h(TagName, { key: 'd7ead167979db9405ffbf213ad8f38bd63b0be77', 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: '62660a414dab1ad3892c2466ff6550665a6bdbbb', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '63610a02057061d8dbd192e8f29fb80d602b8f62' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '118ed1bb4814e4b1f89f45322ee5ef4afedd798b', class: {
|
|
79
79
|
"trailing-icon": !!this.trailingIcon,
|
|
80
80
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
81
81
|
"external-icon": !!this.external,
|
|
@@ -103,4 +103,16 @@
|
|
|
103
103
|
.duet-menu-bar-link:hover.duet-theme-turva {
|
|
104
104
|
color: rgb(198, 12, 48);
|
|
105
105
|
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva {
|
|
109
|
+
color: #e61740;
|
|
110
|
+
}
|
|
111
|
+
:host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva::after {
|
|
112
|
+
background: #e61740;
|
|
113
|
+
}
|
|
114
|
+
@media (min-width: 62em) {
|
|
115
|
+
:host(.duet-theme-turva2) .duet-menu-bar-link.duet-theme-turva:hover {
|
|
116
|
+
color: #e61740;
|
|
117
|
+
}
|
|
106
118
|
}
|
|
@@ -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: 'c00780c565b538d20ff204a3f9f52dd2cb2bc4d7', role: "listitem" }, h("a", { key: '64c3be1bc38f176f7de7431b6c934685b30e9ee2', 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: 'c1602e9610415be0eecb03ab05e972ed4b19bbc6', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '321c5f2123e2eb98ab9cd89bffedb027fc412e26' }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "duet-menu-bar-link"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -293,8 +293,8 @@
|
|
|
293
293
|
|
|
294
294
|
.duet-modal-close {
|
|
295
295
|
position: absolute;
|
|
296
|
-
top:
|
|
297
|
-
right:
|
|
296
|
+
top: 8px;
|
|
297
|
+
right: 8px;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
.duet-modal-heading {
|
|
@@ -318,4 +318,12 @@
|
|
|
318
318
|
}
|
|
319
319
|
.duet-modal-heading.duet-m-0 {
|
|
320
320
|
margin: 0 !important;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-modal {
|
|
324
|
+
color: #172a3b;
|
|
325
|
+
}
|
|
326
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-modal-sticky-header {
|
|
327
|
+
background: #fdf7f2;
|
|
328
|
+
border-bottom: 1px solid #d4dde2;
|
|
321
329
|
}
|