@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
|
@@ -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: #172a3b;
|
|
400
|
+
}
|
|
401
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled] {
|
|
402
|
+
color: #172a3b !important;
|
|
403
|
+
background: #f5f6f7 !important;
|
|
404
|
+
border-color: #f5f6f7 !important;
|
|
405
|
+
-webkit-text-fill-color: #172a3b !important;
|
|
406
|
+
}
|
|
407
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect {
|
|
408
|
+
color: #172a3b;
|
|
409
|
+
}
|
|
410
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg {
|
|
411
|
+
color: #172a3b;
|
|
412
|
+
}
|
|
413
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge {
|
|
414
|
+
color: #172a3b;
|
|
415
|
+
background: #e8eaeb;
|
|
416
|
+
}
|
|
417
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes {
|
|
418
|
+
border-color: #d4dde2;
|
|
419
|
+
}
|
|
420
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button {
|
|
421
|
+
color: #e61740;
|
|
422
|
+
}
|
|
423
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover {
|
|
424
|
+
color: #172a3b;
|
|
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: #172a3b;
|
|
161
|
+
border-bottom-color: #fbe1d1;
|
|
162
|
+
}
|
|
163
|
+
:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva {
|
|
164
|
+
background: #fdf7f2;
|
|
165
|
+
}
|
|
166
|
+
:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva {
|
|
167
|
+
background: #e61740;
|
|
168
|
+
}
|
|
169
|
+
@media (min-width: 62em) {
|
|
170
|
+
:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva {
|
|
171
|
+
background: #fdf7f2;
|
|
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,17 @@
|
|
|
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: #172a3b;
|
|
259
|
+
border-color: #d4dde2;
|
|
260
|
+
}
|
|
261
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after {
|
|
262
|
+
background: #e61740;
|
|
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
|
+
color: #8c001e;
|
|
267
|
+
border-color: #f5f6f7;
|
|
255
268
|
}
|
|
@@ -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(178, 194, 205, 0.2) 0%, rgba(178, 194, 205, 0.2) 1px, rgba(178, 194, 205, 0.1) 1px, rgba(178, 194, 205, 0) 100%);
|
|
132
|
+
}
|
|
133
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-number-buttons .duet-number-button:last-of-type::before {
|
|
134
|
+
background: #d4dde2;
|
|
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"; }
|
|
@@ -59,7 +59,7 @@ export class DuetOverlay {
|
|
|
59
59
|
* Always the last one in the class.
|
|
60
60
|
*/
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: 'a940aabf27c88503105399e2bd8e078e6fbbce34', "aria-hidden": "true" }, h("div", { key: '73a03ee885277cf9829fe0eda10af78fa8df61ca', style: { zIndex: this.zIndex }, class: {
|
|
63
63
|
"duet-overlay": true,
|
|
64
64
|
"duet-theme-turva": this.theme === "turva",
|
|
65
65
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -261,4 +261,5 @@ export class DuetOverlay {
|
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
|
+
static get elementRef() { return "element"; }
|
|
264
265
|
}
|
|
@@ -195,6 +195,20 @@
|
|
|
195
195
|
height: 75px;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
+
.duet-page-heading .progress-indicator {
|
|
199
|
+
display: flex;
|
|
200
|
+
flex-direction: row;
|
|
201
|
+
gap: 4px;
|
|
202
|
+
}
|
|
203
|
+
.duet-page-heading .progress-step {
|
|
204
|
+
width: 100%;
|
|
205
|
+
height: 4px;
|
|
206
|
+
background-color: rgb(181, 198, 208);
|
|
207
|
+
border-radius: 2px;
|
|
208
|
+
}
|
|
209
|
+
.duet-page-heading .progress-step.active {
|
|
210
|
+
background-color: rgb(0, 119, 179);
|
|
211
|
+
}
|
|
198
212
|
.duet-page-heading.duet-theme-turva {
|
|
199
213
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
200
214
|
color: rgb(8, 42, 77);
|
|
@@ -210,17 +224,19 @@
|
|
|
210
224
|
position: relative;
|
|
211
225
|
top: -3px;
|
|
212
226
|
}
|
|
213
|
-
.duet-page-heading .progress-
|
|
214
|
-
|
|
215
|
-
flex-direction: row;
|
|
216
|
-
gap: 4px;
|
|
227
|
+
.duet-page-heading.duet-theme-turva .progress-step {
|
|
228
|
+
background-color: rgb(199, 202, 207);
|
|
217
229
|
}
|
|
218
|
-
.duet-page-heading .progress-step {
|
|
219
|
-
|
|
220
|
-
height: 4px;
|
|
221
|
-
background-color: rgb(181, 198, 208);
|
|
222
|
-
border-radius: 2px;
|
|
230
|
+
.duet-page-heading.duet-theme-turva .progress-step.active {
|
|
231
|
+
background-color: rgb(198, 12, 48);
|
|
223
232
|
}
|
|
224
|
-
|
|
225
|
-
|
|
233
|
+
|
|
234
|
+
:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon {
|
|
235
|
+
background: rgba(230, 23, 64, 0.9);
|
|
236
|
+
}
|
|
237
|
+
:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step {
|
|
238
|
+
background-color: #b2c2cd;
|
|
239
|
+
}
|
|
240
|
+
:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step.active {
|
|
241
|
+
background-color: #e61740;
|
|
226
242
|
}
|
|
@@ -43,12 +43,12 @@ export class DuetPageHeading {
|
|
|
43
43
|
*/
|
|
44
44
|
render() {
|
|
45
45
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '8f818b186229d038b98fac98c1ef02fc6bbbbd2d', class: {
|
|
47
47
|
"duet-page-heading": true,
|
|
48
48
|
"duet-theme-turva": this.theme === "turva",
|
|
49
49
|
"has-icon": !!this.icon,
|
|
50
50
|
[layout]: true,
|
|
51
|
-
} }, h("div", { key: '
|
|
51
|
+
} }, h("div", { key: '6c42ddfcc4f65c95ccd4bceb1956b60e610e359c', class: "background" }, this.theme === "turva" && h("div", { key: '9184e6a6696c793a0060e0492c3b508c38f6afff', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '0c6f06c85f2f010bfa32f1867bc00f3f126c0304', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '744abcada9154113142f7ab873d15a6b1526e8b4', class: "brand-shape second-shape" }), this.icon && (h("div", { key: 'f83dae2fe07c0281b210f113cd79bd32b91862f4', class: "brand-shaped-icon" }, h("duet-icon", { key: '3cd1eee3628ce5819928da75d29a2d67bfeb40aa', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'af626d8cb5b1a075dd37a7431ec5bb343100d7e7', class: "heading" }, h("slot", { key: '042d9bbc8fb8c1c5dd7fe5ec65b734276117629b', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (h("div", { key: '20ebc9e86f822c59513030d34a633f68f2a188de' }, h("duet-spacer", { key: 'f8e666d65264a949ba60d896b82b457638161fbd', size: "large" }), h("div", { key: 'fe52a841e12dcf6145521a47d4349efd7f83878b', role: "presentation" }, this.progressIndicator()))))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "duet-page-heading"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,4 +76,8 @@
|
|
|
76
76
|
:host(.duet-theme-turva) .duet-pagination-total-pages {
|
|
77
77
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
78
78
|
color: rgb(23, 28, 58);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host(.duet-theme-turva2.duet-theme-turva) .duet-pagination-total-pages {
|
|
82
|
+
color: #172a3b;
|
|
79
83
|
}
|
|
@@ -394,32 +394,32 @@ export class DuetPagination {
|
|
|
394
394
|
* Always the last one in the class.
|
|
395
395
|
*/
|
|
396
396
|
render() {
|
|
397
|
-
return (h(Host, { key: '
|
|
397
|
+
return (h(Host, { key: '32fcbc1ab1d2e72c8e3f681c8b5405362be964e3', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '020a385482262cd9ea6bbd8d32e55976a95d7543', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
398
398
|
"duet-pagination-nav": true,
|
|
399
399
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
400
|
-
} }, this.numbersStore !== "" && (h("div", { key: '
|
|
400
|
+
} }, this.numbersStore !== "" && (h("div", { key: '953681769a2c37b202d257783517eb0a067d58a2', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '64b7cec76275874d10409a43c2a9268091aa63ee', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: '2810f47527a6ccfbb2957495acd0c9314586b4b2', id: this.listId, class: {
|
|
401
401
|
"duet-pagination": true,
|
|
402
402
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
403
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
403
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'fcee9f5f028b340bf8b20cbaeebdea80e9e0c738', class: {
|
|
404
404
|
"duet-pagination-page-button": true,
|
|
405
405
|
"duet-pagination-button-first": true,
|
|
406
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
406
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'aa7e10b2c1fa46f2634e15bf1c11a7b317745885', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: 'c209b2a485ac203090db53813c9bc5b52740692f', class: {
|
|
407
407
|
"duet-pagination-page-button": true,
|
|
408
408
|
"duet-pagination-button-first": true,
|
|
409
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
409
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '52fe136a3fd99f42538a87c24672770197ff34fd', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
410
410
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
411
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
412
|
-
this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
411
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '03be7831dee21cb070175cf3e50ae89b0eba49b3' }, h("li", { key: '81cee7f4767a20b952964f8ce856621caad7b1cb', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'd280492036cb4ae490d70498078e8e649fe94ee2', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: 'e6aa3d3cc594fed23cb4d0146ebdd07c62e1cc25', class: "duet-pagination-page-number" }, "1"))), h("li", { key: 'dc4cbf113dc745b52d8787bc89429e32b68f53cb', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'dd58996ba1d6c5a32018d173150afdd995fa9b75', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: '2d354dd1353d1a3445b585cde4659f4aa3a39733', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
412
|
+
this.shouldDisplayNavigation() && (h(Fragment, { key: '7b20cc74d44f1b9cf952ee69fcac743ba66eda24' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: 'fd54712037bfcd681f00929685daeee86cf4ed69', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'd1df047e013903691bbd00c4fd495ab408f73a58', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: 'a0a24b8be4d7b24fa7c15bd35c5f29b74ad0083e', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: 'e996b1229282d32e9f0fb4c0eeb1fbab748e0c8d', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'c8dc915042f3bde87bac5f0fbdfe6ba5cf6f42fd', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
413
413
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
414
|
-
: undefined }, h("div", { key: '
|
|
414
|
+
: undefined }, h("div", { key: '01808887dfd64e716f50b336d7347e2b2b3bd40f', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '417732a79f9d070cd3ccd0dfc79bbc300c30e60c', class: {
|
|
415
415
|
"duet-pagination-page-button": true,
|
|
416
416
|
"duet-pagination-button-last": true,
|
|
417
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
417
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '0fdb57959080ef0126266df23717517b6f5be405', disabled: !!((this.current === this.totalPages &&
|
|
418
418
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
419
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
419
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'c8d1ff36a756d28252a339e9972088d7e451f54b', class: {
|
|
420
420
|
"duet-pagination-page-button": true,
|
|
421
421
|
"duet-pagination-button-last": true,
|
|
422
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
422
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '7e6029710b0c761b62a21f7aabab346cfe318957', disabled: (this.current === this.totalPages &&
|
|
423
423
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
424
424
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
425
425
|
}
|
|
@@ -103,4 +103,14 @@
|
|
|
103
103
|
::slotted(a):active {
|
|
104
104
|
opacity: 0.75;
|
|
105
105
|
transition: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:host(.duet-theme-turva2) .duet-paragraph.duet-theme-turva {
|
|
109
|
+
color: #172a3b;
|
|
110
|
+
}
|
|
111
|
+
:host(.duet-theme-turva2) ::slotted(a).duet-theme-turva {
|
|
112
|
+
color: #e61740;
|
|
113
|
+
}
|
|
114
|
+
:host(.duet-theme-turva2) ::slotted(a:hover).duet-theme-turva {
|
|
115
|
+
color: #8c001e;
|
|
106
116
|
}
|
|
@@ -51,7 +51,7 @@ export class DuetParagraph {
|
|
|
51
51
|
const color = getColorByName(this.color);
|
|
52
52
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
53
53
|
// are not announced when placed inside duet-modal
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'b7f1df2b017984133517a2742be5e5444f1e6894', "aria-describedby": this.id }, h("p", { key: '607059f9661102231b510b5923e0c71472f22804', id: this.id, class: {
|
|
55
55
|
"duet-paragraph": true,
|
|
56
56
|
"duet-paragraph-small": this.size === "small",
|
|
57
57
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -59,7 +59,7 @@ export class DuetParagraph {
|
|
|
59
59
|
"duet-m-0": this.margin === "none",
|
|
60
60
|
[this.variation]: true,
|
|
61
61
|
"duet-theme-turva": this.theme === "turva",
|
|
62
|
-
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '
|
|
62
|
+
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: 'e5e6da5cbb23f9fb7bfc3773c3b8e79666054878' }))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "duet-paragraph"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -103,9 +103,9 @@ export class DuetPhoneInput {
|
|
|
103
103
|
//console.log(ev)
|
|
104
104
|
};
|
|
105
105
|
this.handleInput = () => {
|
|
106
|
-
var _a, _b;
|
|
107
|
-
const currentValue = (_a = this.duetInputElement
|
|
108
|
-
const currentCountryCode = (this.currentCountry !== "error" && ((
|
|
106
|
+
var _a, _b, _c;
|
|
107
|
+
const currentValue = (_b = (_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.trim();
|
|
108
|
+
const currentCountryCode = (this.currentCountry !== "error" && ((_c = this.currentCountry) === null || _c === void 0 ? void 0 : _c.telephoneCountryCode)) || "";
|
|
109
109
|
const inputCountryCode = this.findCountryCode(currentValue) || "";
|
|
110
110
|
if (!currentValue) {
|
|
111
111
|
this.currentCountry = undefined;
|
|
@@ -185,17 +185,19 @@ export class DuetPhoneInput {
|
|
|
185
185
|
* Value of the input.
|
|
186
186
|
*/
|
|
187
187
|
get value() {
|
|
188
|
-
var _a;
|
|
189
|
-
return (_a = this.duetInputElement
|
|
188
|
+
var _a, _b, _c;
|
|
189
|
+
return (_c = (_b = (_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.replace(/\s/g, "")) !== null && _c !== void 0 ? _c : "";
|
|
190
190
|
}
|
|
191
191
|
set value(val) {
|
|
192
|
-
this.
|
|
192
|
+
this.duetInputElement.value = `${val}`.replace(/[^\d+ ]/g, "");
|
|
193
|
+
this.handleInput();
|
|
193
194
|
}
|
|
194
195
|
/**
|
|
195
196
|
* This is a proxy for the enclosed native inputs validity
|
|
196
197
|
*/
|
|
197
198
|
get validity() {
|
|
198
|
-
|
|
199
|
+
var _a;
|
|
200
|
+
return (_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.validity;
|
|
199
201
|
}
|
|
200
202
|
/**t
|
|
201
203
|
* Component lifecycle events.
|
|
@@ -217,7 +219,8 @@ export class DuetPhoneInput {
|
|
|
217
219
|
* Sets focus on the contained input element, use this instead of the native `input.focus()`.
|
|
218
220
|
*/
|
|
219
221
|
async setFocus(options) {
|
|
220
|
-
|
|
222
|
+
var _a;
|
|
223
|
+
(_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.setFocus(options);
|
|
221
224
|
}
|
|
222
225
|
setInputCountryCode() {
|
|
223
226
|
if (this.currentCountry === "error") {
|
|
@@ -230,7 +233,6 @@ export class DuetPhoneInput {
|
|
|
230
233
|
return;
|
|
231
234
|
}
|
|
232
235
|
const oldCode = this.findCountryCode(prevValue);
|
|
233
|
-
console.log("Old code", oldCode);
|
|
234
236
|
if (oldCode) {
|
|
235
237
|
this.duetInputElement.value = prevValue.replace(`+${oldCode}`, newCode).replace(" ", " ");
|
|
236
238
|
return;
|
|
@@ -238,7 +240,7 @@ export class DuetPhoneInput {
|
|
|
238
240
|
this.duetInputElement.value = prevValue.replace("+", newCode);
|
|
239
241
|
}
|
|
240
242
|
findCountryCode(value) {
|
|
241
|
-
const normalizedValue = value.trim();
|
|
243
|
+
const normalizedValue = (value === null || value === void 0 ? void 0 : value.trim()) || "";
|
|
242
244
|
if (!normalizedValue.startsWith("+")) {
|
|
243
245
|
return undefined;
|
|
244
246
|
}
|
|
@@ -280,7 +282,7 @@ export class DuetPhoneInput {
|
|
|
280
282
|
"duet-theme-turva": this.theme === "turva",
|
|
281
283
|
"duet-expand": this.expand,
|
|
282
284
|
"duet-m-0": this.margin === "none",
|
|
283
|
-
} }, h("div", { class: "duet-phone-input-container" }, h("duet-popup-menu", { ref: el => (this.countryCodePopup = el), scrollLimit: 10, showFilterInput: true }, this.countriesToList.map(country => country.isoCode === lastListFirstCode ? (h(Fragment, null, h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")"))), h("duet-
|
|
285
|
+
} }, h("div", { class: "duet-phone-input-container" }, h("duet-popup-menu", { ref: el => (this.countryCodePopup = el), scrollLimit: 10, showFilterInput: true }, this.countriesToList.map(country => country.isoCode === lastListFirstCode ? (h(Fragment, null, h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")"))), h("duet-divider", null))) : (h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")")))))), h("duet-input", { ref: el => (this.duetInputElement = el), onDuetChange: this.handleChange, onDuetFocus: this.handleFocus, onDuetBlur: this.handleBlur, onDuetInput: this.handleInput, label: this.label, caption: this.caption, error: this.error, name: this.name, component: "phone", variation: "button-left", type: "tel", disallowPattern: "[^\\+0-9 ]", required: this.required, disabled: this.disabled, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true }, h("duet-button", { ref: el => (this.countryCodeButton = el), slot: "button-left", variation: "input-button-left-secondary", margin: "none", fixed: true, icon: "action-arrow-down-small", iconSize: "small", iconRight: true, accessibleLabel: this.buttonAriaLabel[this.language], onClick: this.handleCountryCodeSelectorOpen }, h("span", { class: "flag-container" }, this.getFlagForButton())), h("slot", { name: "tooltip" })))));
|
|
284
286
|
}
|
|
285
287
|
static get is() { return "duet-phone-input"; }
|
|
286
288
|
static get encapsulation() { return "shadow"; }
|