@duetds/components 10.0.0-alpha.21 → 10.0.0-alpha.22
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 +687 -352
- package/hydrate/index.mjs +687 -352
- package/lib/cjs/{a11y-utils-qqRC-Gci.js → a11y-utils-DrU-H4zQ.js} +1 -1
- package/lib/cjs/{app-globals-B6AFACoz.js → app-globals-D7ZqN2ux.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 +6 -6
- 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 +4 -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 +17 -17
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +10 -10
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
- package/lib/cjs/duet-share-chart.cjs.entry.js +85 -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 +10 -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 +4 -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-BCVCTW73.js} +1 -1
- package/lib/cjs/{focus-utils-C1gNgKW5.js → focus-utils-B_auBCmH.js} +1 -1
- package/lib/cjs/{index-C-4fRZp1.js → index-DzIZlfK0.js} +9 -1
- package/lib/cjs/{label-BYZNaLK_.js → label-yz2T8WXb.js} +1 -1
- package/lib/cjs/{language-utils-DjPkoVoW.js → language-utils-KOz2utYq.js} +9 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-DYGV7vRF.js → slot-utils-DO9r1K5y.js} +1 -1
- package/lib/cjs/themeable-component-CwVP03Xh.js +23 -0
- package/lib/collection/collection-manifest.json +2 -0
- package/lib/collection/common/themeable-component.js +11 -3
- package/lib/collection/common-strings.js +5 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +15 -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 +51 -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 +4 -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 +4 -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 +61 -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.js +1 -1
- 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 +12 -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 +1 -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 +7 -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 +40 -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 +33 -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 +142 -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 +4 -4
- 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 +29 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +5 -5
- 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-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-fde72aa3.entry.js → p-021ca010.entry.js} +1 -1
- package/lib/duet/p-11a0b4b1.entry.js +4 -0
- package/lib/duet/p-1289085f.entry.js +4 -0
- package/lib/duet/{p-547e30c3.entry.js → p-128fac38.entry.js} +1 -1
- package/lib/duet/{p-2df8b608.entry.js → p-15aeca04.entry.js} +1 -1
- package/lib/duet/p-16e1210a.entry.js +4 -0
- package/lib/duet/p-19163909.entry.js +4 -0
- package/lib/duet/p-1a79adf4.entry.js +4 -0
- package/lib/duet/p-1cb5a9ef.entry.js +4 -0
- package/lib/duet/p-2100f112.entry.js +4 -0
- package/lib/duet/p-249e9a88.entry.js +4 -0
- package/lib/duet/{p-5964d490.entry.js → p-2ae3f776.entry.js} +1 -1
- package/lib/duet/p-2f60185b.entry.js +4 -0
- package/lib/duet/{p-9f48a30c.entry.js → p-306c2a29.entry.js} +1 -1
- package/lib/duet/{p-d064dd2d.entry.js → p-3569fb01.entry.js} +1 -1
- package/lib/duet/{p-294adde1.entry.js → p-38440fec.entry.js} +1 -1
- package/lib/duet/{p-e0fcc26a.entry.js → p-3d998041.entry.js} +1 -1
- package/lib/duet/{p-d74bb3b4.entry.js → p-3ea1b697.entry.js} +1 -1
- package/lib/duet/p-41438696.entry.js +4 -0
- package/lib/duet/{p-4ec38183.entry.js → p-426ad459.entry.js} +1 -1
- package/lib/duet/p-428ea355.entry.js +4 -0
- package/lib/duet/p-44e3dd4d.entry.js +4 -0
- package/lib/duet/p-4d4c8e31.entry.js +4 -0
- package/lib/duet/{p-722eb4b8.entry.js → p-4f832459.entry.js} +1 -1
- package/lib/duet/p-508242df.entry.js +4 -0
- package/lib/duet/{p-2661240f.entry.js → p-50868a2f.entry.js} +1 -1
- package/lib/duet/{p-23adcf71.entry.js → p-50b61aab.entry.js} +1 -1
- package/lib/duet/{p-0fb24b59.entry.js → p-5b65fbef.entry.js} +1 -1
- package/lib/duet/p-631e6aaa.entry.js +4 -0
- package/lib/duet/p-6802cdc6.entry.js +4 -0
- package/lib/duet/p-680e5ae3.entry.js +4 -0
- package/lib/duet/{p-d195712b.entry.js → p-6fc62f6a.entry.js} +1 -1
- package/lib/duet/{p-1b3b9ed6.entry.js → p-749947e9.entry.js} +1 -1
- package/lib/duet/{p-7189e720.entry.js → p-753047f7.entry.js} +1 -1
- package/lib/duet/p-765d5aa1.entry.js +4 -0
- package/lib/duet/p-767a1f6f.entry.js +4 -0
- package/lib/duet/p-77fc84fa.entry.js +4 -0
- package/lib/duet/{p-958a2b42.entry.js → p-7956a7c7.entry.js} +1 -1
- package/lib/duet/{p-f865dcfc.entry.js → p-7b72e97e.entry.js} +1 -1
- package/lib/duet/{p-008beeb0.entry.js → p-7f0336e3.entry.js} +1 -1
- package/lib/duet/p-7f79795b.entry.js +4 -0
- package/lib/duet/p-7yB0WcN3.js +4 -0
- package/lib/duet/{p-a24fff3c.entry.js → p-82ef56e8.entry.js} +1 -1
- package/lib/duet/{p-595b2f3b.entry.js → p-876556b5.entry.js} +1 -1
- package/lib/duet/{p-90c43d96.entry.js → p-8c3ef65c.entry.js} +1 -1
- package/lib/duet/{p-72a4ada8.entry.js → p-8ce7295a.entry.js} +1 -1
- package/lib/duet/{p-8c02d2af.entry.js → p-8ee4cced.entry.js} +1 -1
- package/lib/duet/p-90ec955a.entry.js +4 -0
- package/lib/duet/{p-155586a6.entry.js → p-92f6867e.entry.js} +1 -1
- package/lib/duet/{p-f110c4fb.entry.js → p-9c70db83.entry.js} +1 -1
- package/lib/duet/p-9d32216e.entry.js +4 -0
- package/lib/duet/{p-Djr45qSY.js → p-BMR0um0_.js} +1 -1
- package/lib/duet/p-BZd_-P-l.js +4 -0
- package/lib/duet/{p-CCVcVc3m.js → p-Bj5nqN_-.js} +1 -1
- package/lib/duet/p-BplvOJkj.js +4 -0
- package/lib/duet/p-Bx_o402c.js +4 -0
- package/lib/duet/p-CR50RA9g.js +4 -0
- package/lib/duet/p-MxsWrBCY.js +4 -0
- package/lib/duet/p-a11936dc.entry.js +4 -0
- package/lib/duet/{p-580d558b.entry.js → p-a1faa55d.entry.js} +1 -1
- package/lib/duet/{p-068cfada.entry.js → p-a2cb4c57.entry.js} +1 -1
- package/lib/duet/p-a68727d5.entry.js +4 -0
- package/lib/duet/{p-6b17cd4a.entry.js → p-a79f3799.entry.js} +1 -1
- package/lib/duet/{p-abe188c7.entry.js → p-a898b6ce.entry.js} +1 -1
- package/lib/duet/{p-1326964d.entry.js → p-a8ffe18b.entry.js} +1 -1
- package/lib/duet/p-abda6219.entry.js +4 -0
- package/lib/duet/{p-3ae06437.entry.js → p-adb5edf1.entry.js} +1 -1
- package/lib/duet/p-b38ff647.entry.js +4 -0
- package/lib/duet/{p-3381e3e2.entry.js → p-b43b56f9.entry.js} +1 -1
- package/lib/duet/{p-0e78737d.entry.js → p-b562dcda.entry.js} +1 -1
- package/lib/duet/p-bc970f09.entry.js +4 -0
- package/lib/duet/{p-e232c7ad.entry.js → p-c07676bf.entry.js} +1 -1
- package/lib/duet/{p-ed9b30ed.entry.js → p-c3c96ccd.entry.js} +1 -1
- package/lib/duet/p-ca59f39e.entry.js +4 -0
- package/lib/duet/p-cafcfc6c.entry.js +4 -0
- package/lib/duet/{p-96e70d5b.entry.js → p-cb194f7f.entry.js} +1 -1
- package/lib/duet/{p-91e669ab.entry.js → p-cc3d91af.entry.js} +1 -1
- package/lib/duet/p-ce23a866.entry.js +4 -0
- package/lib/duet/{p-2f30e410.entry.js → p-d1885308.entry.js} +1 -1
- package/lib/duet/{p-08affd1f.entry.js → p-d297f286.entry.js} +1 -1
- package/lib/duet/p-da53b233.entry.js +4 -0
- package/lib/duet/p-de702a7f.entry.js +4 -0
- package/lib/duet/{p-909352a9.entry.js → p-dfa128fd.entry.js} +1 -1
- package/lib/duet/{p-66693593.entry.js → p-e8a2db32.entry.js} +1 -1
- package/lib/duet/{p-2c420105.entry.js → p-eab99c65.entry.js} +1 -1
- package/lib/duet/{p-42621b5c.entry.js → p-edd118cc.entry.js} +1 -1
- package/lib/duet/p-f3c7655e.entry.js +4 -0
- package/lib/duet/p-f3e4bc4f.entry.js +4 -0
- package/lib/duet/{p-d7990dff.entry.js → p-f4f9c5ff.entry.js} +1 -1
- package/lib/duet/p-fb1b5d61.entry.js +4 -0
- package/lib/duet/{p-62c46ebb.entry.js → p-fbd2c394.entry.js} +1 -1
- package/lib/duet/p-fdcf696e.entry.js +4 -0
- package/lib/duet/p-o7bk2K5K.js +4 -0
- package/lib/duet/{p-BAFwjrjc.js → p-qQBlrLa4.js} +1 -1
- package/lib/esm/{a11y-utils-CQOH3qGQ.js → a11y-utils-DGj9K5Th.js} +1 -1
- package/lib/esm/{app-globals-D3VunZ8x.js → app-globals-_OR3Nu1D.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 +6 -6
- 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 +4 -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 +17 -17
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +10 -10
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +20 -0
- package/lib/esm/duet-share-chart.entry.js +83 -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 +10 -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 +4 -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-BGfLijBB.js} +1 -1
- package/lib/esm/{focus-utils-CUvuUZuo.js → focus-utils-ugQsYlwO.js} +1 -1
- package/lib/esm/{index-Djr45qSY.js → index-BMR0um0_.js} +9 -1
- package/lib/esm/{label-DoZNNWYj.js → label-DqBJopZl.js} +1 -1
- package/lib/esm/{language-utils-BCnFs8Da.js → language-utils-CETcDBuc.js} +9 -2
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-CSLPO69o.js → slot-utils-Bt-G2UeG.js} +2 -2
- package/lib/esm/themeable-component-CR50RA9g.js +21 -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-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 +36 -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.d.ts +78 -4
- 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-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-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-98f1ee13.entry.js +0 -4
- package/lib/duet/p-9f2785ce.entry.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-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-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
|
@@ -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
|
}
|
|
@@ -105,7 +105,7 @@ export class DuetLogo {
|
|
|
105
105
|
*/
|
|
106
106
|
render() {
|
|
107
107
|
const TagName = this.href ? "a" : "div";
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '1908da4cc561ca347e983052f2b3e062d16d00db', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '8e459889882f39c5e7b5aff75bbde8de1a778bae', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
109
109
|
"duet-logo": true,
|
|
110
110
|
[this.size]: true,
|
|
111
111
|
"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: rgb(35, 46, 61);
|
|
207
|
+
}
|
|
208
|
+
:host(.duet-theme-turva2) .duet-theme-turva .right {
|
|
209
|
+
color: rgb(35, 46, 61);
|
|
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: rgb(35, 46, 61);
|
|
158
|
+
}
|
|
159
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button:hover {
|
|
160
|
+
color: rgb(197, 29, 65);
|
|
161
|
+
}
|
|
162
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active {
|
|
163
|
+
color: rgb(197, 29, 65);
|
|
164
|
+
}
|
|
165
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active::after {
|
|
166
|
+
background: rgb(197, 29, 65);
|
|
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: rgb(35, 46, 61);
|
|
63
|
+
}
|
|
64
|
+
:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva:hover {
|
|
65
|
+
background: rgb(248, 229, 217);
|
|
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: rgb(197, 29, 65);
|
|
132
|
+
}
|
|
133
|
+
:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva {
|
|
134
|
+
color: rgb(197, 29, 65);
|
|
135
|
+
}
|
|
136
|
+
:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after {
|
|
137
|
+
background: rgb(197, 29, 65);
|
|
138
|
+
}
|
|
139
|
+
@media (min-width: 62em) {
|
|
140
|
+
:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover {
|
|
141
|
+
color: rgb(197, 29, 65);
|
|
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: rgb(197, 29, 65);
|
|
110
|
+
}
|
|
111
|
+
:host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva::after {
|
|
112
|
+
background: rgb(197, 29, 65);
|
|
113
|
+
}
|
|
114
|
+
@media (min-width: 62em) {
|
|
115
|
+
:host(.duet-theme-turva2) .duet-menu-bar-link.duet-theme-turva:hover {
|
|
116
|
+
color: rgb(197, 29, 65);
|
|
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: rgb(35, 46, 61);
|
|
325
|
+
}
|
|
326
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-modal-sticky-header {
|
|
327
|
+
background: rgb(253, 247, 242);
|
|
328
|
+
border-bottom: 1px solid rgb(248, 229, 217);
|
|
321
329
|
}
|
|
@@ -310,18 +310,18 @@ export class DuetModal {
|
|
|
310
310
|
var _a, _b;
|
|
311
311
|
let iconColor = "primary";
|
|
312
312
|
let closeColor = "secondary";
|
|
313
|
-
const closingButton = (h("div", { key: '
|
|
313
|
+
const closingButton = (h("div", { key: 'ec3d40550fa55963fb7593d76847c9cd88ce7d7f', class: "duet-modal-close" }, h("duet-button", { key: 'ba63577c49f70ce5a0afb069c611cc71889a1ecc', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
314
314
|
if (this.theme === "turva") {
|
|
315
315
|
iconColor = "primary-turva";
|
|
316
316
|
closeColor = "secondary-turva";
|
|
317
317
|
}
|
|
318
|
-
return (h("div", { key: '
|
|
318
|
+
return (h("div", { key: '45ef05dd96f31c9f905e06a7fd39458e896342ec', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
319
319
|
"duet-modal-container": true,
|
|
320
320
|
"duet-theme-turva": this.theme === "turva",
|
|
321
321
|
"duet-modal-active": this.open,
|
|
322
322
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
323
323
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
324
|
-
} }, h("duet-overlay", { key: '
|
|
324
|
+
} }, h("duet-overlay", { key: 'fae07b0b15aa32b393f28bcb70a2807b67d9afc1', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: 'c3afda30fb6503e4f9f2a6bdfd61b5ffadf33b98', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
325
325
|
"duet-modal-inner": true,
|
|
326
326
|
[this.size]: true,
|
|
327
327
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -332,18 +332,18 @@ export class DuetModal {
|
|
|
332
332
|
this.closeModal(e);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
} }, h("div", { key: '
|
|
335
|
+
} }, h("div", { key: 'ed730970e831d8b6d399da50b2b7e27fb686b12c', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
336
336
|
"duet-modal": true,
|
|
337
337
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
338
338
|
[this.size]: true,
|
|
339
339
|
[this.variation]: true,
|
|
340
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '
|
|
340
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: 'f2ee177793bd6df80606fa4ed029cc1df3cc581c' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: 'f5a12b8a53096e75656c8d7fd879055d26da43a4', class: {
|
|
341
341
|
"duet-modal-body": true,
|
|
342
342
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
343
343
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
344
344
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
345
345
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
346
|
-
} }, h("div", { key: '
|
|
346
|
+
} }, h("div", { key: '7580715861362da09389b987b5e40c5460c9d833', class: "duet-modal-header" }, h("span", { key: 'da33874c652058416c832a1b28219bba3113fff1', class: "duet-modal-inner-slot-top" }, h("slot", { key: '5ac1de4f0ead45d55a72603d465eeff16519a059', name: "top" })), this.icon && h("duet-icon", { key: '9c44461274fde27a1b0a58c4c18a31c49821959c', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'b9cfb51b630ec505e221b51ff98b47f87fe84ae8', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '205e11c6fd001742285c628707cb7758a238b65d', class: "duet-modal-spinner" }, h("duet-spinner", { key: 'ce31836f38e2524b6748993ce45e1c4aed3e55f4', size: "large", color: "primary" }))), h("div", { key: '458d7617638b4ce61afe259a1a0f2d3eb6dca38c', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", { key: '6e85fec665aa51db0ee3ce5726e833cd798709f5' })))))));
|
|
347
347
|
}
|
|
348
348
|
static get is() { return "duet-modal"; }
|
|
349
349
|
static get encapsulation() { return "shadow"; }
|
|
@@ -392,4 +392,34 @@
|
|
|
392
392
|
overflow: hidden;
|
|
393
393
|
clip: rect(0 0 0 0);
|
|
394
394
|
border: 0;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect:focus,
|
|
398
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect.duet-multiselect-active {
|
|
399
|
+
border-color: rgb(35, 46, 61);
|
|
400
|
+
}
|
|
401
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled] {
|
|
402
|
+
color: rgb(35, 46, 61) !important;
|
|
403
|
+
background: rgb(253, 247, 242) !important;
|
|
404
|
+
border-color: rgb(253, 247, 242) !important;
|
|
405
|
+
-webkit-text-fill-color: rgb(35, 46, 61) !important;
|
|
406
|
+
}
|
|
407
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect {
|
|
408
|
+
color: rgb(35, 46, 61);
|
|
409
|
+
}
|
|
410
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg {
|
|
411
|
+
color: rgb(35, 46, 61);
|
|
412
|
+
}
|
|
413
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge {
|
|
414
|
+
color: rgb(35, 46, 61);
|
|
415
|
+
background: #e9eaec;
|
|
416
|
+
}
|
|
417
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes {
|
|
418
|
+
border-color: rgb(248, 229, 217);
|
|
419
|
+
}
|
|
420
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button {
|
|
421
|
+
color: rgb(197, 29, 65);
|
|
422
|
+
}
|
|
423
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover {
|
|
424
|
+
color: rgb(35, 46, 61);
|
|
395
425
|
}
|
|
@@ -273,23 +273,23 @@ export class DuetMultiselect {
|
|
|
273
273
|
*/
|
|
274
274
|
render() {
|
|
275
275
|
var _a;
|
|
276
|
-
return (h(Host, { key: '
|
|
276
|
+
return (h(Host, { key: '9462771c3a5152e905cf83ba95ade9dda200833b', class: {
|
|
277
277
|
"duet-m-0": this.margin === "none",
|
|
278
278
|
"duet-expand": this.expand,
|
|
279
|
-
} }, h("div", { key: '
|
|
279
|
+
} }, h("div", { key: '1235786e07d83c91d28a13462b2fa5cf8e7907e4', class: {
|
|
280
280
|
"duet-multiselect-container": true,
|
|
281
281
|
"duet-label-hidden": this.labelHidden,
|
|
282
282
|
"duet-theme-turva": this.theme === "turva",
|
|
283
283
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
284
284
|
"has-error": !!this.error,
|
|
285
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '
|
|
285
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '5ccd987600f461c3c9a7f7c2f46b602f169b658d', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'e519c7bf79fa2214804ca502285f52a553b79ac3', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'cfc287863231de5436fc09d8cd57b53d4ef24820', name: "tooltip" }), this.caption && (h("duet-caption", { key: '28baa67909e4027ae56a35d87a4e15a5f118e703', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '2b734b81c229392334276022638d7265e23c2168', class: "duet-multiselect-wrapper" }, h("button", { key: 'd6fb96ae298ce6e3d7df71217c728f29e1550c9a', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '7581bf2f7629efe48e128c941beee89c4d22f709', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '7b747555309afe0dc4716f4335269a5dc46f17ff', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: '22f9e68fe690b60dfe7e28ba5767d613e1037070' }, this.selectedLangObject[this.language], ",", " ", Array.isArray(this.value) ? this.value.map(item => item.label).join(", ") : ""))), h("svg", { key: '8058039ac3e9c6cf1fdf9b45468adc80673e7096', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'ac8d3582da5151508ede09fe95ea1fe7a6b79444', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: '0c1236ae0fad913c3e9d2fdd2d8a558467d415e8', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
286
286
|
"duet-multiselect-checkboxes": true,
|
|
287
287
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
288
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '
|
|
288
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '2117b075e96a7825514769fde136f51b1ebf59f9', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'ca41c3bf1cb8dc88c6bf4c5d237e8e3cc5fccd6c', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '7070fc9475815328dc21256e8ddf279f182dd2ad', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
289
289
|
this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
|
|
290
290
|
var _a, _b;
|
|
291
291
|
return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
292
|
-
})))))), h("span", { key: '
|
|
292
|
+
})))))), h("span", { key: '5842f53e10a3f9984cb668fa4730e7d18bb03a21', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'd9ba81594560d3f2c01f50b4832736144aeafe71' }, this.error)))));
|
|
293
293
|
}
|
|
294
294
|
static get is() { return "duet-multiselect"; }
|
|
295
295
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,7 +31,7 @@ export class DuetNav {
|
|
|
31
31
|
* Always the last one in the class.
|
|
32
32
|
*/
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'eba9be23a2185429204c40d8bc881d36ba4347b2' }, h("div", { key: '92a2c02b1be2e6d2422f48b4ca0ceb62599af14a', class: { container: true, sticky: this.sticky } }, h("slot", { key: 'b7061a136c9003c794cd95a673e35e9275d57a1e' }), h("slot", { key: '27b5c3e8d84d665200d5df42b98bfc0c376324f4', name: "mobile" }), h("slot", { key: 'edf2f2ef8f2db435f9a54c41eb0992b7e0a080d0', name: "desktop" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "duet-nav"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,4 +154,20 @@
|
|
|
154
154
|
|
|
155
155
|
::slotted(duet-paragraph) {
|
|
156
156
|
margin-bottom: 2px !important;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:host(.duet-theme-turva2) .duet-notification.duet-theme-turva {
|
|
160
|
+
color: rgb(35, 46, 61);
|
|
161
|
+
border-bottom-color: rgb(248, 229, 217);
|
|
162
|
+
}
|
|
163
|
+
:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva {
|
|
164
|
+
background: rgb(253, 247, 242);
|
|
165
|
+
}
|
|
166
|
+
:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva {
|
|
167
|
+
background: rgb(197, 29, 65);
|
|
168
|
+
}
|
|
169
|
+
@media (min-width: 62em) {
|
|
170
|
+
:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva {
|
|
171
|
+
background: rgb(253, 247, 242);
|
|
172
|
+
}
|
|
157
173
|
}
|
|
@@ -72,11 +72,11 @@ export class DuetNotification {
|
|
|
72
72
|
this.linkElement.focus(options);
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: 'e9780a745bc103c0eab1387924e9382dc60bff3c', role: "listitem", class: {
|
|
76
76
|
"duet-notification": true,
|
|
77
77
|
"duet-notification-highlight": this.highlight,
|
|
78
78
|
"duet-theme-turva": this.theme === "turva",
|
|
79
|
-
} }, h("a", { key: '
|
|
79
|
+
} }, h("a", { key: '431b8cdff6f259708fc7ad25c2f5cd6c9392bb95', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: 'c8cc56cc53bb242a159aa4a03d3e60d984388630', class: "duet-notification-container" }, h("div", { key: '72bd20f9dc41cbe781591acb8b629ddd7826c332', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: 'fb2ed998c5a7389dbf0d70f475929092ef2e33f4', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '0d788165d1ad770a2debcd3efb212d5cd394f32c' }, this.accessibleLabelUnread, ":")))), h("div", { key: 'd9831696985ad34b1bacb4cd7e0ba0466784f44b', class: "duet-notification-content" }, h("slot", { key: '1611ad31717366e3852e70a742be63ebb1283e14' })), h("div", { key: 'ef31c5774b1164e4703f15f6b8a32985b294bd7c', class: "duet-notification-date" }, this.date)))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "duet-notification"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -252,4 +252,16 @@
|
|
|
252
252
|
opacity: 1;
|
|
253
253
|
transform: scale(1) translateZ(0) translateY(0);
|
|
254
254
|
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle {
|
|
258
|
+
color: rgb(35, 46, 61);
|
|
259
|
+
border-color: rgb(248, 229, 217);
|
|
260
|
+
}
|
|
261
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after {
|
|
262
|
+
background: rgb(197, 29, 65);
|
|
263
|
+
}
|
|
264
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],
|
|
265
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover {
|
|
266
|
+
border-color: rgb(253, 247, 242);
|
|
255
267
|
}
|
|
@@ -126,10 +126,10 @@ export class DuetNotificationDrawer {
|
|
|
126
126
|
* Always the last one in the class.
|
|
127
127
|
*/
|
|
128
128
|
render() {
|
|
129
|
-
return (h("div", { key: '
|
|
129
|
+
return (h("div", { key: '659136cc65a195a1de4228bd580d2368d2244a86', class: {
|
|
130
130
|
"duet-drawer": true,
|
|
131
131
|
"duet-theme-turva": this.theme === "turva",
|
|
132
|
-
}, onKeyDown: this.handleKeyDown }, h("button", { key: '
|
|
132
|
+
}, onKeyDown: this.handleKeyDown }, h("button", { key: 'abe8757b0f4db9939465b4ab6011c8625b5baf76', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (h("div", { key: 'a99654516249d53e1a9fd81021998c2e461365a7', class: "duet-drawer-icon" }, h("duet-icon", { key: '76b8f2f443ab22637765dfef1db4000215ef5a19', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && h("div", { key: '6efbba81b7cf33402531b445e5e297d5e48a4fc6', class: "duet-drawer-badge" }))), h("span", { key: '5b9df974799ba860b7d2d964fc22c50d18aa0282', class: "duet-drawer-label" }, this.label), h("div", { key: 'ed02df2f85e017956770c841d1882b6a6ae45280', class: "duet-drawer-caret" }, h("duet-icon", { key: '646368ab0a187e896f1110e4015a05b3bad71a9d', margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" }))), h("div", { key: '0e2cfc291004260d5f02350fd624396768c06b3b', id: "duet-drawer-content", class: {
|
|
133
133
|
"duet-drawer-content": true,
|
|
134
134
|
"duet-drawer-right": this.direction === "right",
|
|
135
135
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -125,4 +125,11 @@
|
|
|
125
125
|
}
|
|
126
126
|
:host(.duet-theme-turva) .duet-number-buttons .duet-number-button:last-of-type::before {
|
|
127
127
|
background: rgb(222, 224, 228);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-number-buttons .duet-number-button:first-of-type::before {
|
|
131
|
+
background: linear-gradient(to left, rgba(244, 213, 193, 0.2) 0%, rgba(244, 213, 193, 0.2) 1px, rgba(244, 213, 193, 0.1) 1px, rgba(244, 213, 193, 0) 100%);
|
|
132
|
+
}
|
|
133
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-number-buttons .duet-number-button:last-of-type::before {
|
|
134
|
+
background: rgb(248, 229, 217);
|
|
128
135
|
}
|
|
@@ -386,11 +386,11 @@ export class DuetNumberInput {
|
|
|
386
386
|
const identifier = this.identifier || this.inputId;
|
|
387
387
|
const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
|
|
388
388
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
389
|
-
return (h(Host, { key: '
|
|
389
|
+
return (h(Host, { key: '2339fa56635a7ba8fc6edec30d3675317fcbe27f', class: {
|
|
390
390
|
"duet-theme-turva": this.theme === "turva",
|
|
391
391
|
"duet-expand": this.expand,
|
|
392
392
|
"duet-m-0": this.margin === "none",
|
|
393
|
-
} }, h("div", { key: '
|
|
393
|
+
} }, h("div", { key: 'dff60647793af3de902477ed0ea4cfebe2a0b060', class: "duet-number-container" }, h("duet-input", { key: '55a832b70fd619b16560dcc8de2a11da3ae90344', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { key: '1e4b7cc87d46de0233457c6e087217b27fb2a6df', name: "tooltip" }), h("div", { key: '5a2660b2592fd4a96172bf4ce53d5d810e9479c6', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { key: 'dddc2edb43610eed98a1db9de1ac006d6f721099', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", { key: 'e29c3ce840c8e2d776ed9430ed84f1a0ead9a5a3' }, this.accessibleSubtract, " ", this.step), h("duet-icon", { key: 'e5eb7418c9f6711b21e6550bad87f017d97cff6e', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { key: '688035f8fcb3f56a36d2d7b13a9d494388eafd39', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", { key: '8779e5d09e06ff7f63ff715d45bd72c513c1c1dc' }, this.accessibleAdd, " ", this.step), h("duet-icon", { key: 'f6548c254afa31a6346042f11113aad09baefce3', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { key: '4e272274bdb8a1c9cc068e76e846b49647200fd6', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
394
394
|
}
|
|
395
395
|
static get is() { return "duet-number-input"; }
|
|
396
396
|
static get encapsulation() { return "shadow"; }
|