@duetds/components 10.2.4 → 10.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +1035 -694
- package/hydrate/index.mjs +1035 -694
- package/lib/cjs/{a11y-utils-DrkNSFk7.js → a11y-utils-dXXDBTyF.js} +1 -1
- package/lib/cjs/{app-globals-D924IDJZ.js → app-globals-CyPV2FZK.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
- package/lib/cjs/duet-alert.cjs.entry.js +5 -5
- package/lib/cjs/duet-badge.cjs.entry.js +6 -6
- package/lib/cjs/duet-banner.cjs.entry.js +14 -16
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +8 -8
- package/lib/cjs/duet-button_2.cjs.entry.js +28 -13
- package/lib/cjs/duet-callout.cjs.entry.js +6 -6
- package/lib/cjs/duet-caption_4.cjs.entry.js +19 -19
- package/lib/cjs/duet-card.cjs.entry.js +9 -9
- package/lib/cjs/duet-checkbox.cjs.entry.js +6 -6
- package/lib/cjs/duet-checkmark.cjs.entry.js +5 -5
- package/lib/cjs/duet-chip.cjs.entry.js +5 -5
- package/lib/cjs/duet-choice_2.cjs.entry.js +13 -13
- package/lib/cjs/duet-collapsible.cjs.entry.js +7 -7
- package/lib/cjs/duet-combobox.cjs.entry.js +6 -6
- 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 +30 -34
- package/lib/cjs/duet-divider_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +86 -130
- 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 +9 -9
- package/lib/cjs/duet-grid_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-header_2.cjs.entry.js +13 -38
- package/lib/cjs/duet-hero.cjs.entry.js +10 -10
- package/lib/cjs/duet-icon.cjs.entry.js +8 -8
- package/lib/cjs/duet-indicator.cjs.entry.js +9 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +19 -15
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +6 -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 +8 -8
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-modal.cjs.entry.js +15 -15
- 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 +11 -11
- package/lib/cjs/duet-number-input.cjs.entry.js +9 -9
- 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 +20 -20
- package/lib/cjs/duet-panel.cjs.entry.js +5 -5
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +22 -20
- package/lib/cjs/duet-progress.cjs.entry.js +4 -4
- package/lib/cjs/duet-promo-card.cjs.entry.js +13 -9
- package/lib/cjs/duet-radio_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-range-slider.cjs.entry.js +8 -8
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +20 -20
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +10 -10
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +9 -9
- 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 +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -14
- package/lib/cjs/duet-slideout.cjs.entry.js +21 -19
- package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +8 -8
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +9 -9
- package/lib/cjs/duet-textarea.cjs.entry.js +9 -9
- package/lib/cjs/duet-toggle.cjs.entry.js +9 -9
- 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 +9 -9
- 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 +11 -11
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +7 -7
- 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-CN2q01zn.js → errorcodes.utils-DQ-I8x2z.js} +1 -1
- package/lib/cjs/{focus-utils-BiNVxwJM.js → focus-utils-DstNW4_h.js} +1 -1
- package/lib/cjs/{index-BU3Nf2d6.js → index-B_QTwXEx.js} +1 -1
- package/lib/cjs/{label-Bkh3nxL_.js → label-yAj5CKm3.js} +1 -1
- package/lib/cjs/{language-utils-BazCSszn.js → language-utils-DjtvVntE.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-BUOLdbgj.js → slot-utils-YUU0XWn9.js} +1 -1
- package/lib/cjs/{themeable-component-BU-IHJDO.js → themeable-component-h3OzJgCb.js} +2 -12
- package/lib/cjs/{token-utils-BstQGJ9_.js → token-utils-DY3-olMV.js} +1 -51
- package/lib/cjs/{tokens-DGQm58Sv.js → tokens-COLlUECP.js} +335 -77
- package/lib/cjs/{tokens.module-CdKmGLcD.js → tokens.module-CTbvyezn.js} +226 -54
- package/lib/collection/common/themeable-component.js +1 -11
- package/lib/collection/components/duet-action-button/duet-action-button.css +5 -19
- package/lib/collection/components/duet-alert/duet-alert.css +4 -3
- package/lib/collection/components/duet-badge/duet-badge.css +20 -65
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +16 -14
- package/lib/collection/components/duet-banner/duet-banner.js +9 -11
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +4 -14
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +85 -157
- package/lib/collection/components/duet-button/duet-button.js +20 -5
- package/lib/collection/components/duet-callout/duet-callout.css +4 -8
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.css +6 -10
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +10 -22
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +28 -38
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.css +33 -59
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.css +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +75 -123
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -17
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.css +3 -9
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +2 -5
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +5 -13
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +2 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +56 -80
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -29
- package/lib/collection/components/duet-divider/duet-divider.css +1 -4
- 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 +1 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +6 -5
- 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 +17 -19
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +2 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-header/duet-header.css +187 -200
- package/lib/collection/components/duet-heading/duet-heading.css +1 -1
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +276 -310
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.css +6 -62
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.css +1 -1
- package/lib/collection/components/duet-indicator/duet-indicator.js +5 -1
- package/lib/collection/components/duet-input/duet-input.css +103 -131
- package/lib/collection/components/duet-input/duet-input.js +10 -6
- package/lib/collection/components/duet-label/duet-label.css +0 -4
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +19 -53
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.css +11 -31
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.css +4 -12
- package/lib/collection/components/duet-logo/duet-logo.js +7 -37
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +15 -25
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +5 -8
- 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 +2 -20
- 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 +5 -10
- 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 +14 -20
- 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 +9 -16
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +3 -10
- package/lib/collection/components/duet-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +49 -87
- 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 +11 -18
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +25 -29
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.css +1 -8
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.css +4 -7
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +6 -23
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.css +0 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.css +5 -19
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +7 -14
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +2 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -9
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +8 -15
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-progress/duet-progress.css +11 -24
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +13 -5
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -4
- package/lib/collection/components/duet-radio/duet-radio.css +34 -32
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +28 -53
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +3 -11
- 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 +35 -72
- 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 +2 -5
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.css +2 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +22 -38
- package/lib/collection/components/duet-slideout/duet-slideout.js +12 -10
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +0 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +7 -13
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -32
- 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 +7 -14
- 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 +1 -4
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.css +18 -23
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +5 -15
- 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 +16 -48
- 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 +9 -22
- 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 +17 -27
- 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 +10 -27
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.css +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +86 -87
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table-styles.js +75 -119
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.css +42 -108
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.css +23 -30
- package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +4 -8
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +34 -47
- 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 +7 -14
- 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 +29 -43
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +22 -46
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +8 -12
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +17 -30
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
- package/lib/collection/components/duet-tray/duet-tray.css +8 -17
- 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/token-utils.js +0 -38
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-a4b1a21e.entry.js → p-06f17fe7.entry.js} +1 -1
- package/lib/duet/p-07b9b6c3.entry.js +4 -0
- package/lib/duet/{p-2da426b2.entry.js → p-0a80de40.entry.js} +1 -1
- package/lib/duet/{p-5ed86143.entry.js → p-0cc2921b.entry.js} +1 -1
- package/lib/duet/p-0ccecf5b.entry.js +4 -0
- package/lib/duet/p-10a326fa.entry.js +4 -0
- package/lib/duet/{p-c1b625d2.entry.js → p-12b2d402.entry.js} +1 -1
- package/lib/duet/p-162993d2.entry.js +4 -0
- package/lib/duet/p-162a0691.entry.js +4 -0
- package/lib/duet/p-17413943.entry.js +4 -0
- package/lib/duet/p-17c063a3.entry.js +4 -0
- package/lib/duet/p-18eada94.entry.js +4 -0
- package/lib/duet/p-1e168d4b.entry.js +4 -0
- package/lib/duet/p-234f4365.entry.js +4 -0
- package/lib/duet/{p-35e4a9c4.entry.js → p-245c0535.entry.js} +1 -1
- package/lib/duet/p-25b4886a.entry.js +4 -0
- package/lib/duet/{p-8f7dd5a6.entry.js → p-278ef4d8.entry.js} +1 -1
- package/lib/duet/p-29599dc5.entry.js +4 -0
- package/lib/duet/{p-2cb58d74.entry.js → p-2ac11077.entry.js} +1 -1
- package/lib/duet/p-2d963ab0.entry.js +4 -0
- package/lib/duet/{p-46959db5.entry.js → p-2e126e15.entry.js} +1 -1
- package/lib/duet/p-301b8664.entry.js +4 -0
- package/lib/duet/{p-840a6293.entry.js → p-3a45c3a4.entry.js} +1 -1
- package/lib/duet/p-3d00efb7.entry.js +4 -0
- package/lib/duet/p-3d0a716c.entry.js +4 -0
- package/lib/duet/{p-60450623.entry.js → p-3eba33cd.entry.js} +1 -1
- package/lib/duet/p-419b96b6.entry.js +4 -0
- package/lib/duet/p-44a97d21.entry.js +4 -0
- package/lib/duet/p-4856f07c.entry.js +4 -0
- package/lib/duet/p-4b8293b3.entry.js +4 -0
- package/lib/duet/{p-06e533f3.entry.js → p-550bfab9.entry.js} +1 -1
- package/lib/duet/p-5c60eca3.entry.js +4 -0
- package/lib/duet/p-5c9530f1.entry.js +4 -0
- package/lib/duet/{p-b6b32a0a.entry.js → p-5fb1092c.entry.js} +1 -1
- package/lib/duet/p-5fb783eb.entry.js +4 -0
- package/lib/duet/p-608ebd47.entry.js +4 -0
- package/lib/duet/{p-6c0ba49c.entry.js → p-65350441.entry.js} +1 -1
- package/lib/duet/p-67b3a01a.entry.js +4 -0
- package/lib/duet/p-690beb31.entry.js +4 -0
- package/lib/duet/p-6cffc5b7.entry.js +4 -0
- package/lib/duet/p-6e1b9cc8.entry.js +4 -0
- package/lib/duet/p-7ce31e10.entry.js +4 -0
- package/lib/duet/p-806c4ab8.entry.js +4 -0
- package/lib/duet/p-86166f8d.entry.js +4 -0
- package/lib/duet/p-898d5701.entry.js +4 -0
- package/lib/duet/p-8a28f86e.entry.js +4 -0
- package/lib/duet/p-9172ba70.entry.js +4 -0
- package/lib/duet/p-93abd97a.entry.js +4 -0
- package/lib/duet/{p-108bb9b1.entry.js → p-968546f6.entry.js} +1 -1
- package/lib/duet/{p-BahNb4S5.js → p-B6Z_1gqI.js} +1 -1
- package/lib/duet/p-BQVGvl4H.js +4 -0
- package/lib/duet/p-BUWuSkQW.js +4 -0
- package/lib/duet/p-CLZq8YfV.js +4 -0
- package/lib/duet/{p-EzuzdWgU.js → p-CW11pVgw.js} +1 -1
- package/lib/duet/p-Ce9HQd35.js +4 -0
- package/lib/duet/p-D2JvSVnG.js +4 -0
- package/lib/duet/p-D2ly4TZR.js +4 -0
- package/lib/duet/p-DEzE2U5T.js +4 -0
- package/lib/duet/{p-udt4OnI3.js → p-DFAnksuG.js} +1 -1
- package/lib/duet/{p-D01wpYGA.js → p-DrqQiRTn.js} +1 -1
- package/lib/duet/p-ELbbzMVZ.js +4 -0
- package/lib/duet/p-a3ad5622.entry.js +4 -0
- package/lib/duet/p-a6bec2da.entry.js +4 -0
- package/lib/duet/p-a73b7110.entry.js +4 -0
- package/lib/duet/p-a8229728.entry.js +4 -0
- package/lib/duet/p-ae778cb1.entry.js +4 -0
- package/lib/duet/{p-959c0fdf.entry.js → p-b1d91a91.entry.js} +1 -1
- package/lib/duet/p-b4c18ee6.entry.js +4 -0
- package/lib/duet/p-b6dc4395.entry.js +4 -0
- package/lib/duet/{p-208ee0bd.entry.js → p-b9a54319.entry.js} +1 -1
- package/lib/duet/p-b9be36c8.entry.js +4 -0
- package/lib/duet/p-bdae48d3.entry.js +4 -0
- package/lib/duet/p-bdf6a296.entry.js +4 -0
- package/lib/duet/p-bfc75bb9.entry.js +4 -0
- package/lib/duet/p-c8d10c67.entry.js +4 -0
- package/lib/duet/p-c8e520b6.entry.js +4 -0
- package/lib/duet/p-ce4d9add.entry.js +4 -0
- package/lib/duet/p-d2e74e89.entry.js +4 -0
- package/lib/duet/p-d7506eaa.entry.js +4 -0
- package/lib/duet/p-d83f38c7.entry.js +4 -0
- package/lib/duet/p-d8bc628c.entry.js +4 -0
- package/lib/duet/p-da275568.entry.js +4 -0
- package/lib/duet/p-dc5682d8.entry.js +4 -0
- package/lib/duet/p-de4b0518.entry.js +4 -0
- package/lib/duet/p-e050ed5c.entry.js +4 -0
- package/lib/duet/{p-52d1157e.entry.js → p-e9c2eb66.entry.js} +1 -1
- package/lib/duet/p-ec5f40a5.entry.js +4 -0
- package/lib/duet/{p-ad7a1cde.entry.js → p-ec689a7c.entry.js} +1 -1
- package/lib/duet/{p-da5a60ce.entry.js → p-ecf69f6d.entry.js} +1 -1
- package/lib/duet/p-ed750cdf.entry.js +4 -0
- package/lib/duet/p-efa1cd0b.entry.js +4 -0
- package/lib/duet/{p-cde24f7a.entry.js → p-f15ab3b8.entry.js} +1 -1
- package/lib/duet/p-f55f8bd9.entry.js +4 -0
- package/lib/duet/p-f68a4a23.entry.js +4 -0
- package/lib/duet/p-f71d04ce.entry.js +4 -0
- package/lib/duet/p-f8e26f21.entry.js +4 -0
- package/lib/duet/{p-068f930b.entry.js → p-fca9c5c4.entry.js} +1 -1
- package/lib/duet/p-fe00331c.entry.js +4 -0
- package/lib/esm/{a11y-utils-DcQ8_LjH.js → a11y-utils-D66Lzlz5.js} +1 -1
- package/lib/esm/{app-globals-BROlDQRT.js → app-globals-G9KPoeGD.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +6 -6
- package/lib/esm/duet-alert.entry.js +5 -5
- package/lib/esm/duet-badge.entry.js +6 -6
- package/lib/esm/duet-banner.entry.js +14 -16
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +8 -8
- package/lib/esm/duet-button_2.entry.js +28 -13
- package/lib/esm/duet-callout.entry.js +6 -6
- package/lib/esm/duet-caption_4.entry.js +19 -19
- package/lib/esm/duet-card.entry.js +9 -9
- package/lib/esm/duet-checkbox.entry.js +6 -6
- package/lib/esm/duet-checkmark.entry.js +5 -5
- package/lib/esm/duet-chip.entry.js +5 -5
- package/lib/esm/duet-choice_2.entry.js +13 -13
- package/lib/esm/duet-collapsible.entry.js +7 -7
- package/lib/esm/duet-combobox.entry.js +6 -6
- 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 +30 -34
- package/lib/esm/duet-divider_2.entry.js +7 -7
- package/lib/esm/duet-editable-table_3.entry.js +86 -130
- 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 +9 -9
- package/lib/esm/duet-grid_2.entry.js +7 -7
- package/lib/esm/duet-header_2.entry.js +13 -38
- package/lib/esm/duet-hero.entry.js +10 -10
- package/lib/esm/duet-icon.entry.js +8 -8
- package/lib/esm/duet-indicator.entry.js +9 -5
- package/lib/esm/duet-input_2.entry.js +19 -15
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +6 -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 +8 -8
- package/lib/esm/duet-menu-bar-link.entry.js +5 -5
- package/lib/esm/duet-menu-bar.entry.js +7 -7
- package/lib/esm/duet-modal.entry.js +15 -15
- 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 +11 -11
- package/lib/esm/duet-number-input.entry.js +9 -9
- 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 +20 -20
- package/lib/esm/duet-panel.entry.js +5 -5
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +22 -20
- package/lib/esm/duet-progress.entry.js +4 -4
- package/lib/esm/duet-promo-card.entry.js +13 -9
- package/lib/esm/duet-radio_2.entry.js +8 -8
- package/lib/esm/duet-range-slider.entry.js +8 -8
- package/lib/esm/duet-scrollable_3.entry.js +20 -20
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +10 -10
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +9 -9
- 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 +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +14 -14
- package/lib/esm/duet-slideout.entry.js +21 -19
- package/lib/esm/duet-status-icon.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +8 -8
- package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar.entry.js +9 -9
- package/lib/esm/duet-textarea.entry.js +9 -9
- package/lib/esm/duet-toggle.entry.js +9 -9
- 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 +9 -9
- 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 +11 -11
- package/lib/esm/duet-tooltip.entry.js +5 -5
- package/lib/esm/duet-tray.entry.js +7 -7
- 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-Itv_LXm1.js → errorcodes.utils-C6zptXiM.js} +1 -1
- package/lib/esm/{focus-utils-Ckrg92zt.js → focus-utils-YZ2ticmM.js} +1 -1
- package/lib/esm/{index-D01wpYGA.js → index-DrqQiRTn.js} +1 -1
- package/lib/esm/{label-BDVCTSVS.js → label-CnTwCD-3.js} +1 -1
- package/lib/esm/{language-utils-CJ6UGHBS.js → language-utils-BEG0cFmw.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-BRZl-j4n.js → slot-utils-Dzrezpl3.js} +1 -1
- package/lib/esm/{themeable-component-hw-kujXv.js → themeable-component-BLql61nC.js} +2 -12
- package/lib/esm/{token-utils-DMwF8cmT.js → token-utils-B0KAgyj_.js} +1 -51
- package/lib/esm/{tokens-lzu8l3tx.js → tokens-Ce9HQd35.js} +335 -77
- package/lib/esm/{tokens.module-BzrE0-hp.js → tokens.module-DEzE2U5T.js} +226 -54
- package/lib/types/components/duet-banner/duet-banner.d.ts +1 -1
- package/lib/types/components/duet-date-picker/date-utils.d.ts +1 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -2
- package/lib/types/components/duet-logo/duet-logo.d.ts +0 -3
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
- package/package.json +5 -5
- package/lib/collection/utils/turva2-color-tokens.js +0 -42
- package/lib/duet/p-00c4df17.entry.js +0 -4
- package/lib/duet/p-0e0e4046.entry.js +0 -4
- package/lib/duet/p-1040c382.entry.js +0 -4
- package/lib/duet/p-116bd504.entry.js +0 -4
- package/lib/duet/p-157995c2.entry.js +0 -4
- package/lib/duet/p-1abdf725.entry.js +0 -4
- package/lib/duet/p-1d70c401.entry.js +0 -4
- package/lib/duet/p-241ecfbb.entry.js +0 -4
- package/lib/duet/p-2ae2c00b.entry.js +0 -4
- package/lib/duet/p-38d9c2a4.entry.js +0 -4
- package/lib/duet/p-3ac158a2.entry.js +0 -4
- package/lib/duet/p-3df4d82d.entry.js +0 -4
- package/lib/duet/p-40f1b967.entry.js +0 -4
- package/lib/duet/p-4ace9ad8.entry.js +0 -4
- package/lib/duet/p-506dd7e4.entry.js +0 -4
- package/lib/duet/p-56cd1a09.entry.js +0 -4
- package/lib/duet/p-56e2f9ab.entry.js +0 -4
- package/lib/duet/p-59e14b99.entry.js +0 -4
- package/lib/duet/p-5deb728c.entry.js +0 -4
- package/lib/duet/p-62d78e93.entry.js +0 -4
- package/lib/duet/p-62f879dc.entry.js +0 -4
- package/lib/duet/p-64682619.entry.js +0 -4
- package/lib/duet/p-649abe6b.entry.js +0 -4
- package/lib/duet/p-6f1faec3.entry.js +0 -4
- package/lib/duet/p-7192d852.entry.js +0 -4
- package/lib/duet/p-7323183d.entry.js +0 -4
- package/lib/duet/p-73e78cea.entry.js +0 -4
- package/lib/duet/p-77ee5411.entry.js +0 -4
- package/lib/duet/p-78dbb64a.entry.js +0 -4
- package/lib/duet/p-79260a28.entry.js +0 -4
- package/lib/duet/p-7af8f026.entry.js +0 -4
- package/lib/duet/p-7b970c92.entry.js +0 -4
- package/lib/duet/p-817f5c02.entry.js +0 -4
- package/lib/duet/p-85ed639b.entry.js +0 -4
- package/lib/duet/p-89605d7b.entry.js +0 -4
- package/lib/duet/p-8ecff6ac.entry.js +0 -4
- package/lib/duet/p-92c976d8.entry.js +0 -4
- package/lib/duet/p-97291b00.entry.js +0 -4
- package/lib/duet/p-B0U815Vi.js +0 -4
- package/lib/duet/p-BQqubJCA.js +0 -4
- package/lib/duet/p-BlYFa84w.js +0 -4
- package/lib/duet/p-Bq_F1n6l.js +0 -4
- package/lib/duet/p-Brp9BZK6.js +0 -4
- package/lib/duet/p-BzrE0-hp.js +0 -4
- package/lib/duet/p-De8V1Ewb.js +0 -4
- package/lib/duet/p-a056d95d.entry.js +0 -4
- package/lib/duet/p-a1fdc4ec.entry.js +0 -4
- package/lib/duet/p-a8a6ab54.entry.js +0 -4
- package/lib/duet/p-a8cd78ae.entry.js +0 -4
- package/lib/duet/p-ab6cce18.entry.js +0 -4
- package/lib/duet/p-ae00066d.entry.js +0 -4
- package/lib/duet/p-ae509388.entry.js +0 -4
- package/lib/duet/p-b4f4baa3.entry.js +0 -4
- package/lib/duet/p-b8b4f2c1.entry.js +0 -4
- package/lib/duet/p-b955cb73.entry.js +0 -4
- package/lib/duet/p-c3084c8c.entry.js +0 -4
- package/lib/duet/p-c464f037.entry.js +0 -4
- package/lib/duet/p-c489791a.entry.js +0 -4
- package/lib/duet/p-caed4507.entry.js +0 -4
- package/lib/duet/p-caf9a237.entry.js +0 -4
- package/lib/duet/p-d0d43606.entry.js +0 -4
- package/lib/duet/p-dfbab0b6.entry.js +0 -4
- package/lib/duet/p-e0481b75.entry.js +0 -4
- package/lib/duet/p-e25e6ab3.entry.js +0 -4
- package/lib/duet/p-e4ac8424.entry.js +0 -4
- package/lib/duet/p-e606f740.entry.js +0 -4
- package/lib/duet/p-ed73dc86.entry.js +0 -4
- package/lib/duet/p-f23fcee4.entry.js +0 -4
- package/lib/duet/p-f27e6dd8.entry.js +0 -4
- package/lib/duet/p-f5345710.entry.js +0 -4
- package/lib/duet/p-f5b6ec35.entry.js +0 -4
- package/lib/duet/p-f9974767.entry.js +0 -4
- package/lib/duet/p-lzu8l3tx.js +0 -4
- package/lib/types/utils/turva2-color-tokens.d.ts +0 -39
|
@@ -209,45 +209,28 @@
|
|
|
209
209
|
.duet-page-heading .progress-step.active {
|
|
210
210
|
background-color: rgb(0, 119, 179);
|
|
211
211
|
}
|
|
212
|
+
|
|
212
213
|
.duet-page-heading.duet-theme-turva {
|
|
213
214
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
214
215
|
color: rgb(8, 42, 77);
|
|
215
216
|
}
|
|
216
|
-
.duet-page-heading.duet-theme-turva .
|
|
217
|
-
background: rgba(230, 23, 64, 0.9);
|
|
218
|
-
-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
|
|
219
|
-
mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
|
|
220
|
-
-webkit-mask-repeat: no-repeat;
|
|
221
|
-
mask-repeat: no-repeat;
|
|
222
|
-
}
|
|
223
|
-
.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon {
|
|
224
|
-
position: relative;
|
|
225
|
-
top: -3px;
|
|
226
|
-
}
|
|
227
|
-
.duet-page-heading.duet-theme-turva .progress-step {
|
|
228
|
-
background-color: rgb(178, 194, 205);
|
|
229
|
-
}
|
|
230
|
-
.duet-page-heading.duet-theme-turva .progress-step.active {
|
|
231
|
-
background-color: rgb(230, 23, 64);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .background .background-mask {
|
|
217
|
+
.duet-page-heading.duet-theme-turva .background .background-mask {
|
|
235
218
|
background-image: none;
|
|
236
219
|
}
|
|
237
|
-
|
|
220
|
+
.duet-page-heading.duet-theme-turva .brand-shaped-icon {
|
|
238
221
|
background: rgb(23, 42, 59);
|
|
239
222
|
border-radius: 16%;
|
|
240
223
|
-webkit-mask-image: none;
|
|
241
224
|
mask-image: none;
|
|
242
225
|
transform: rotate(0);
|
|
243
226
|
}
|
|
244
|
-
|
|
227
|
+
.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon {
|
|
245
228
|
top: 0;
|
|
246
229
|
transform: rotate(0);
|
|
247
230
|
}
|
|
248
|
-
|
|
231
|
+
.duet-page-heading.duet-theme-turva .progress-step {
|
|
249
232
|
background-color: rgb(178, 194, 205);
|
|
250
233
|
}
|
|
251
|
-
|
|
234
|
+
.duet-page-heading.duet-theme-turva .progress-step.active {
|
|
252
235
|
background-color: rgb(230, 23, 64);
|
|
253
236
|
}
|
|
@@ -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: '5cf22cfc2c34017d8c7467fe36becf60ba78bc75', 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: 'e9ccfced6335c96af6d7baa92a53db59d45b8b30', class: "background" }, this.theme === "turva" && h("div", { key: '830e60d9e2fdf9918b743766ae94353be9e85993', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'ea055759c169167bec0e0096e3c5ba6c7233b756', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '62ee3252ea809756e6a7de1f18017dc62b14d3ba', class: "brand-shape second-shape" }), this.icon && (h("div", { key: '29ec53ff4adad92e0f2dd7d93c7046dfbb2d6c7b', class: "brand-shaped-icon" }, h("duet-icon", { key: 'a09e043d17d4f9c4c3ab8aaa7aaae33126df0d77', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: '913c970c7ae47d0a56416b0102dd4a65648b0bbe', class: "heading" }, h("slot", { key: 'f573503b294909f8119d8d3f66d265c737570cd8', name: "heading" }), this.progressCurrentStep !== undefined && this.progressTotalSteps > 0 && (h("div", { key: 'f2b0ab3aad8acc8071ace37653fbfb8243681056' }, h("duet-spacer", { key: 'ffca4d17364920c928844b6872d399ac2cd29303', size: "large" }), h("div", { key: '7a2c5f9eddb7eb0acc1187303e67dae2f5683e23', role: "presentation" }, this.progressIndicator()))))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "duet-page-heading"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,8 +76,4 @@
|
|
|
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, 42, 59);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
:host(.duet-theme-turva2.duet-theme-turva) .duet-pagination-total-pages {
|
|
82
|
-
color: rgb(23, 42, 59);
|
|
83
79
|
}
|
|
@@ -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: '593c48b276e6b36bff6f78dc731f956c3aaedb82', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '446532b79dd77af3e71a152ae7dc208d45cc6ec5', 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: 'ca5700930cd45ccf48ac1d55603266219183b028', "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: '53c449d054bee784544f24ab8afb6273ac5cb870', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: '986f34a0664b6dc0517824b88f996342d9f7116b', 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: '1ccc38d06b7a79f9de8ee762a9b9ab959010a436', 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: '8a0f11e5cd9f5de4a967cc56b0c1816a4de15229', 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: '830cc19f3a5580f96cef9cc9650221d19fc5ed95', 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: 'bd02a81bf5945b1ebfb5eacf1a29f85f859e297e', 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: '9d0fa1e1e3567d5ba912861620b0d05f17a592fd' }, h("li", { key: 'e8789887f488d6445e3d2653abcf5564eab8afc2', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'd7e98b1d702e30e935d3dd1c52ad8c4bb187b0fa', 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: '997822a5c36dbe6c2ded94fbee6728bfa0d64f03', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '91d5668412f906d7c35702b7c2c28473d2928768', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '3a2113ad718394fa6365a41aaeea306b91f1431e', 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: '3fbc0fc4b9fa8b0c4595991f39e6266efd7e3481', 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: '1f324dd16a9b57aefbe62e60e56e5fe3d5af72ce' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: 'd8c3b8f2db2a2c642a63cc8781f56480d2c0d409', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '9117fbb075c437646e64eceb0316ad702c5fe8b2', 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: 'b80ed14f62fee001b600d720a7719174da3d0958', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '8059714abaf60464fda99e46b5f364e94ce75385', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'f9f4f6868664e410d8e0177afaf816328bce46a7', 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: '5bb0466c1c108b1dedf6a0e2d5d67f0408037c85', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '4c8e76afbdf203f29a8a4096bf4870b15bd9f930', 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: '1f3f2dc875d130ddd2e01643fe0b69a6c32325c6', 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: 'a5c496cb09c9be08249bee069439a3395e7897ad', 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: '2e6eb9240c1d90bef1028d0b6eabf8d74a178b17', 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
|
}
|
|
@@ -29,11 +29,6 @@
|
|
|
29
29
|
border: 0 solid rgb(212, 223, 229);
|
|
30
30
|
border-radius: 16px;
|
|
31
31
|
}
|
|
32
|
-
.duet-panel.duet-theme-turva {
|
|
33
|
-
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
34
|
-
color: rgb(23, 42, 59);
|
|
35
|
-
border-color: rgb(212, 221, 226);
|
|
36
|
-
}
|
|
37
32
|
.duet-panel.padding-small {
|
|
38
33
|
padding: 16px;
|
|
39
34
|
border-radius: 12px;
|
|
@@ -65,35 +60,26 @@
|
|
|
65
60
|
.duet-panel.secondary {
|
|
66
61
|
background-color: rgb(245, 248, 250);
|
|
67
62
|
}
|
|
68
|
-
.duet-panel.secondary.duet-theme-turva {
|
|
69
|
-
background-color: rgb(245, 246, 247);
|
|
70
|
-
}
|
|
71
63
|
.duet-panel.accent {
|
|
72
64
|
background-color: rgb(240, 247, 250);
|
|
73
65
|
border-color: rgb(198, 225, 238);
|
|
74
66
|
}
|
|
75
|
-
.duet-panel.accent.duet-theme-turva {
|
|
76
|
-
background-color: rgb(245, 246, 247);
|
|
77
|
-
border-color: rgb(178, 194, 205);
|
|
78
|
-
}
|
|
79
67
|
.duet-panel.accent.secondary {
|
|
80
68
|
background-color: rgb(217, 236, 245);
|
|
81
69
|
}
|
|
82
|
-
.duet-panel.accent.secondary.duet-theme-turva {
|
|
83
|
-
background-color: rgb(212, 221, 226);
|
|
84
|
-
}
|
|
85
70
|
|
|
86
|
-
|
|
71
|
+
.duet-panel.duet-theme-turva {
|
|
72
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
87
73
|
color: rgb(23, 42, 59);
|
|
88
74
|
border-color: rgb(212, 221, 226);
|
|
89
75
|
}
|
|
90
|
-
|
|
76
|
+
.duet-panel.duet-theme-turva.secondary {
|
|
91
77
|
background-color: rgb(245, 246, 247);
|
|
92
78
|
}
|
|
93
|
-
|
|
79
|
+
.duet-panel.duet-theme-turva.accent {
|
|
94
80
|
background-color: rgb(253, 247, 242);
|
|
95
81
|
border-color: rgb(241, 202, 178);
|
|
96
82
|
}
|
|
97
|
-
|
|
83
|
+
.duet-panel.duet-theme-turva.accent.secondary {
|
|
98
84
|
background-color: rgb(251, 225, 209);
|
|
99
85
|
}
|
|
@@ -30,14 +30,14 @@ export class DuetPanel {
|
|
|
30
30
|
inheritGlobalTheme(this);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'b3dc7fe74cdf89d0b2216283a5250b81bc7dac7c', class: { "duet-m-0": this.margin === "none" } }, h("section", { key: 'c49f7aecda72185d245ae77bd177fe3abb999023', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
|
|
34
34
|
"duet-panel": true,
|
|
35
35
|
"duet-theme-turva": this.theme === "turva",
|
|
36
36
|
[this.variation.split("-")[0]]: true,
|
|
37
37
|
[this.variation.split("-")[1]]: true,
|
|
38
38
|
[`padding-${this.padding}`]: true,
|
|
39
39
|
border: this.border,
|
|
40
|
-
} }, h("slot", { key: '
|
|
40
|
+
} }, h("slot", { key: '846efa69e68b7e7f672d4441877af8c72221e713' }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "duet-panel"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,10 +45,6 @@
|
|
|
45
45
|
.duet-paragraph.duet-m-0 {
|
|
46
46
|
margin: 0 !important;
|
|
47
47
|
}
|
|
48
|
-
.duet-paragraph.duet-theme-turva {
|
|
49
|
-
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
50
|
-
color: rgb(23, 42, 59);
|
|
51
|
-
}
|
|
52
48
|
.duet-paragraph.duet-inherit-color {
|
|
53
49
|
color: inherit !important;
|
|
54
50
|
}
|
|
@@ -92,28 +88,25 @@
|
|
|
92
88
|
text-decoration: underline;
|
|
93
89
|
transition: 300ms ease;
|
|
94
90
|
}
|
|
95
|
-
::slotted(a).duet-theme-turva {
|
|
96
|
-
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
97
|
-
color: rgb(230, 23, 64);
|
|
98
|
-
}
|
|
99
91
|
::slotted(a):hover {
|
|
100
92
|
color: rgb(0, 75, 129);
|
|
101
93
|
text-decoration: none;
|
|
102
94
|
}
|
|
103
|
-
::slotted(a):hover.duet-theme-turva {
|
|
104
|
-
color: rgb(140, 0, 30);
|
|
105
|
-
}
|
|
106
95
|
::slotted(a):active {
|
|
107
96
|
opacity: 0.75;
|
|
108
97
|
transition: none;
|
|
109
98
|
}
|
|
110
99
|
|
|
111
|
-
|
|
100
|
+
.duet-paragraph.duet-theme-turva {
|
|
101
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
112
102
|
color: rgb(23, 42, 59);
|
|
113
103
|
}
|
|
114
|
-
|
|
104
|
+
|
|
105
|
+
::slotted(a).duet-theme-turva {
|
|
106
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
115
107
|
color: rgb(230, 23, 64);
|
|
116
108
|
}
|
|
117
|
-
|
|
109
|
+
|
|
110
|
+
::slotted(a:hover).duet-theme-turva {
|
|
118
111
|
color: rgb(140, 0, 30);
|
|
119
112
|
}
|
|
@@ -52,7 +52,7 @@ export class DuetParagraph {
|
|
|
52
52
|
const color = getColorByName(this.color);
|
|
53
53
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
54
54
|
// are not announced when placed inside duet-modal
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'b0db3004861f5dfe17d4927087ba6301bc607f5d', "aria-describedby": this.id }, h("p", { key: 'f74e4f0206012d316417ea743d72cc0b76b92ee5', id: this.id, class: {
|
|
56
56
|
"duet-paragraph": true,
|
|
57
57
|
"duet-paragraph-small": this.size === "small",
|
|
58
58
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -61,7 +61,7 @@ export class DuetParagraph {
|
|
|
61
61
|
[this.variation]: true,
|
|
62
62
|
"duet-theme-turva": this.theme === "turva",
|
|
63
63
|
"duet-inherit-color": !this.color && this.inheritingParents.some(p => this.element.closest(p)),
|
|
64
|
-
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '
|
|
64
|
+
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '86d18dc5cd6ed9610a477fa09b2776d4f2037346' }))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "duet-paragraph"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,10 +54,6 @@
|
|
|
54
54
|
overflow-y: scroll;
|
|
55
55
|
scroll-margin: 20px;
|
|
56
56
|
}
|
|
57
|
-
.duet-popup-menu-list.duet-theme-turva {
|
|
58
|
-
color: rgb(23, 42, 59) !important;
|
|
59
|
-
background: rgb(255, 255, 255);
|
|
60
|
-
}
|
|
61
57
|
|
|
62
58
|
::slotted(duet-notification) {
|
|
63
59
|
max-width: 360px;
|
|
@@ -67,6 +63,7 @@ slot {
|
|
|
67
63
|
--divider-margin: var(--space-x-small, 8px);
|
|
68
64
|
}
|
|
69
65
|
|
|
70
|
-
|
|
66
|
+
.duet-popup-menu-list.duet-theme-turva {
|
|
71
67
|
color: rgb(23, 42, 59) !important;
|
|
68
|
+
background: rgb(255, 255, 255);
|
|
72
69
|
}
|
|
@@ -190,12 +190,14 @@ export class DuetPopupMenu {
|
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
192
|
this.teleport.observeDeletion();
|
|
193
|
-
|
|
194
|
-
this.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
193
|
+
requestAnimationFrame(() => {
|
|
194
|
+
if (this.controller && typeof this.controller !== "string") {
|
|
195
|
+
this.setOpenButton(this.controller);
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
this.setOpenButton();
|
|
199
|
+
}
|
|
200
|
+
});
|
|
199
201
|
}
|
|
200
202
|
disconnectedCallback() {
|
|
201
203
|
if (this.autoUpdateCleanup) {
|
|
@@ -406,17 +408,17 @@ export class DuetPopupMenu {
|
|
|
406
408
|
overflowY: "auto",
|
|
407
409
|
height: this.popupMenuStyleHeight,
|
|
408
410
|
};
|
|
409
|
-
return (h(Host, { key: '
|
|
411
|
+
return (h(Host, { key: '4ba8c544fd10ae2157f9f57f4ea668fba9982b39', role: this.accessibleRole === "menu" ? "application" : null }, h("div", { key: '8167c05e3cbcc2240210eda963d1d0eeece5b15e', ref: element => {
|
|
410
412
|
this.menuElement = element;
|
|
411
413
|
}, style: styles, class: {
|
|
412
414
|
open: this.open,
|
|
413
415
|
"duet-popup-menu-list": true,
|
|
414
416
|
"duet-theme-turva": this.theme === "turva",
|
|
415
417
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
416
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (h("div", { key: '
|
|
418
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (h("div", { key: 'bdfb595523f97e6ba3157f6b74ce07ade4b1fc83' }, h("duet-input", { key: '85251d071a3bf62fc5fcd986196b0a904280b889', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), h("duet-visually-hidden", { key: '410bd62c0d3621d294b3deb724803a104e46b85e' }, h("span", { key: 'a2036427c7785993ae0d632887855779e1437ce1', role: "status" }, `
|
|
417
419
|
${this.filterResultCount}/${this.itemElements.length}
|
|
418
420
|
${this.filterResultCountLabel[this.language]}
|
|
419
|
-
`)), h("duet-spacer", { key: '
|
|
421
|
+
`)), h("duet-spacer", { key: '289e215aaa765f00794710b8f309a3cd6d082468', size: "xx-small" }))), h("slot", { key: '6d149b93858d2437e7eb684c33e4ed55af7659a3' }))));
|
|
420
422
|
}
|
|
421
423
|
static get is() { return "duet-popup-menu"; }
|
|
422
424
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,28 +51,18 @@
|
|
|
51
51
|
outline-offset: 2px;
|
|
52
52
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
53
53
|
}
|
|
54
|
-
.duet-theme-turva .duet-popup-menu-item:focus, .duet-popup-menu-item:focus.duet-theme-turva
|
|
54
|
+
.duet-theme-turva .duet-popup-menu-item:focus, .duet-popup-menu-item:focus.duet-theme-turva {
|
|
55
55
|
outline: 2px solid;
|
|
56
56
|
outline-offset: 2px;
|
|
57
57
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
58
58
|
}
|
|
59
|
-
.duet-popup-menu-item.duet-theme-turva {
|
|
60
|
-
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
61
|
-
color: rgb(23, 42, 59);
|
|
62
|
-
}
|
|
63
59
|
.duet-popup-menu-item.active {
|
|
64
60
|
z-index: 0;
|
|
65
61
|
background: rgb(240, 247, 250);
|
|
66
62
|
}
|
|
67
|
-
.duet-popup-menu-item.active.duet-theme-turva {
|
|
68
|
-
background: rgb(245, 246, 247);
|
|
69
|
-
}
|
|
70
63
|
.duet-popup-menu-item:hover {
|
|
71
64
|
background: rgb(228, 241, 247);
|
|
72
65
|
}
|
|
73
|
-
.duet-popup-menu-item:hover.duet-theme-turva {
|
|
74
|
-
background: rgb(212, 221, 226);
|
|
75
|
-
}
|
|
76
66
|
.duet-popup-menu-item .duet-popup-menu-item-label {
|
|
77
67
|
flex-grow: 1;
|
|
78
68
|
}
|
|
@@ -85,16 +75,19 @@
|
|
|
85
75
|
outline-offset: 2px;
|
|
86
76
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
87
77
|
}
|
|
88
|
-
.duet-theme-turva .active-descendant, .active-descendant.duet-theme-turva
|
|
78
|
+
.duet-theme-turva .active-descendant, .active-descendant.duet-theme-turva {
|
|
89
79
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
90
80
|
}
|
|
91
81
|
|
|
92
|
-
|
|
82
|
+
.duet-popup-menu-item.duet-theme-turva {
|
|
83
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
93
84
|
color: rgb(23, 42, 59);
|
|
94
85
|
}
|
|
95
|
-
|
|
86
|
+
|
|
87
|
+
.duet-popup-menu-item.active.duet-theme-turva {
|
|
96
88
|
background: rgb(253, 247, 242);
|
|
97
89
|
}
|
|
98
|
-
|
|
90
|
+
|
|
91
|
+
.duet-popup-menu-item:hover.duet-theme-turva {
|
|
99
92
|
background: rgb(251, 235, 225);
|
|
100
93
|
}
|
|
@@ -101,11 +101,11 @@ export class DuetPopupMenuItem {
|
|
|
101
101
|
};
|
|
102
102
|
// Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
|
|
103
103
|
// This is a tradeoff and now Safari announces these items as buttons and links with the label.
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: 'eb6acbbfccced4c0c5bdc00642932696d4664dfd', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: 'e94bf11c073da949474e06d550e077df94bd8bb1', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage, "aria-current": this.active ? "true" : undefined }, this.leadingIcon && (h("duet-icon", { key: '4083d9ff9034800978d924bc764ab10f3064ed26', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'dbfcd31c2fff06c014e86f4df2c832e9e424599f', class: "duet-popup-menu-item-label" }, h("slot", { key: 'ad0150c3fc13b2a43afaaecc3f75b99b7a2041db' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: 'f4a9ee09f5c6ac0d7c7a4f79dfe8eeef13f2cf26', name: this.url && this.external
|
|
105
105
|
? newWindowIcon.title
|
|
106
106
|
: this.active
|
|
107
107
|
? "messaging-checked-small"
|
|
108
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '
|
|
108
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '89bfa872c8e0a00165bf1d591c29c0ed41b7e2a0', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "duet-popup-menu-item"; }
|
|
111
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,9 +48,6 @@
|
|
|
48
48
|
border-radius: 0;
|
|
49
49
|
box-shadow: none;
|
|
50
50
|
}
|
|
51
|
-
.duet-theme-turva .duet-progress .progress-bar {
|
|
52
|
-
background-color: rgb(255, 242, 242);
|
|
53
|
-
}
|
|
54
51
|
.duet-progress .progress-bar > span {
|
|
55
52
|
display: block;
|
|
56
53
|
height: inherit;
|
|
@@ -58,9 +55,6 @@
|
|
|
58
55
|
background-color: rgb(0, 119, 179);
|
|
59
56
|
border-radius: 0;
|
|
60
57
|
}
|
|
61
|
-
.duet-theme-turva .duet-progress .progress-bar > span {
|
|
62
|
-
background-color: rgb(230, 23, 64);
|
|
63
|
-
}
|
|
64
58
|
.duet-progress progress[value] {
|
|
65
59
|
display: flex;
|
|
66
60
|
width: 100%;
|
|
@@ -89,34 +83,27 @@
|
|
|
89
83
|
.duet-progress progress[value] ::-moz-progress-bar {
|
|
90
84
|
background-color: rgb(240, 247, 250);
|
|
91
85
|
}
|
|
92
|
-
.duet-progress.duet-theme-turva progress[value] {
|
|
93
|
-
color: rgb(230, 23, 64);
|
|
94
|
-
}
|
|
95
|
-
.duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar {
|
|
96
|
-
background-color: rgb(255, 242, 242);
|
|
97
|
-
}
|
|
98
|
-
.duet-progress.duet-theme-turva progress[value]::-webkit-progress-value {
|
|
99
|
-
background-color: rgb(230, 23, 64);
|
|
100
|
-
}
|
|
101
|
-
.duet-progress.duet-theme-turva progress[value] ::-moz-progress-bar {
|
|
102
|
-
background-color: rgb(255, 242, 242);
|
|
103
|
-
}
|
|
104
86
|
|
|
105
|
-
.duet-
|
|
87
|
+
.duet-progress.duet-theme-turva .progress-bar {
|
|
106
88
|
background-color: rgb(253, 247, 242);
|
|
107
89
|
}
|
|
108
|
-
|
|
90
|
+
|
|
91
|
+
.duet-progress.duet-theme-turva .progress-bar > span {
|
|
109
92
|
background-color: rgb(230, 23, 64);
|
|
110
93
|
}
|
|
111
|
-
|
|
94
|
+
|
|
95
|
+
.duet-progress.duet-theme-turva progress[value] {
|
|
112
96
|
color: rgb(230, 23, 64);
|
|
113
97
|
}
|
|
114
|
-
|
|
98
|
+
|
|
99
|
+
.duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar {
|
|
115
100
|
background-color: rgb(253, 247, 242);
|
|
116
101
|
}
|
|
117
|
-
|
|
102
|
+
|
|
103
|
+
.duet-progress.duet-theme-turva progress[value]::-webkit-progress-value {
|
|
118
104
|
background-color: rgb(230, 23, 64);
|
|
119
105
|
}
|
|
120
|
-
|
|
106
|
+
|
|
107
|
+
.duet-progress.duet-theme-turva progress[value]::-moz-progress-bar {
|
|
121
108
|
background-color: rgb(253, 247, 242);
|
|
122
109
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
outline-offset: 2px;
|
|
67
67
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
68
68
|
}
|
|
69
|
-
.duet-theme-turva .duet-promo-card .content-wrapper:focus, .duet-promo-card .content-wrapper:focus.duet-theme-turva
|
|
69
|
+
.duet-theme-turva .duet-promo-card .content-wrapper:focus, .duet-promo-card .content-wrapper:focus.duet-theme-turva {
|
|
70
70
|
outline: 2px solid;
|
|
71
71
|
outline-offset: 2px;
|
|
72
72
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
@@ -103,9 +103,6 @@
|
|
|
103
103
|
.duet-promo-card.no-bg-color .image {
|
|
104
104
|
border-radius: 16px;
|
|
105
105
|
}
|
|
106
|
-
.duet-promo-card.duet-theme-turva {
|
|
107
|
-
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
108
|
-
}
|
|
109
106
|
|
|
110
107
|
.duet-promo-card-link {
|
|
111
108
|
transition: box-shadow 300ms ease;
|
|
@@ -113,6 +110,17 @@
|
|
|
113
110
|
.duet-promo-card-link:hover {
|
|
114
111
|
box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1);
|
|
115
112
|
}
|
|
116
|
-
|
|
113
|
+
|
|
114
|
+
::slotted(.duet-heading) {
|
|
115
|
+
margin: inherit !important;
|
|
116
|
+
font-size: inherit !important;
|
|
117
|
+
line-height: inherit !important;
|
|
118
|
+
color: inherit !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.duet-theme-turva.duet-promo-card {
|
|
122
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
123
|
+
}
|
|
124
|
+
.duet-theme-turva.duet-promo-card-link:hover {
|
|
117
125
|
box-shadow: 0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15);
|
|
118
126
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
-
import { checkNamedSlotElement, hasSlot } from "../../utils/slot-utils";
|
|
6
|
+
import { checkNamedSlotElement, getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
|
|
7
7
|
import { getColorByName, postfixTheme } from "../../utils/token-utils";
|
|
8
8
|
/**
|
|
9
9
|
* @slot pre-heading - Slot for pre-heading content.
|
|
@@ -42,12 +42,16 @@ export class DuetPromoCard {
|
|
|
42
42
|
* Component lifecycle events.
|
|
43
43
|
*/
|
|
44
44
|
componentWillLoad() {
|
|
45
|
+
const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
45
46
|
inheritGlobalTheme(this);
|
|
46
47
|
this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
|
|
47
48
|
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
48
49
|
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
49
50
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
50
|
-
checkNamedSlotElement(this.element, "heading",
|
|
51
|
+
checkNamedSlotElement(this.element, "heading", `span,${headings.join(",")}`);
|
|
52
|
+
if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings.join(","))) {
|
|
53
|
+
this.hasHeadingSlotNative = true;
|
|
54
|
+
}
|
|
51
55
|
checkNamedSlotElement(this.element, "description", "span");
|
|
52
56
|
}
|
|
53
57
|
/**
|
|
@@ -70,12 +74,12 @@ export class DuetPromoCard {
|
|
|
70
74
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
71
75
|
};
|
|
72
76
|
const TagName = this.url ? "a" : "div";
|
|
73
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'd36e73e86f96e7825e96c7730b330afa8a23c14e', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '50c45ed20c3dd5c321f20cac8f98d2ec87848f18', class: {
|
|
74
78
|
"duet-promo-card": true,
|
|
75
79
|
"duet-theme-turva": this.theme === "turva",
|
|
76
80
|
"no-bg-color": !this.backgroundColor,
|
|
77
81
|
"duet-promo-card-link": !!this.url,
|
|
78
|
-
}, style: bannerStyles }, h(TagName, { key: '
|
|
82
|
+
}, style: bannerStyles }, h(TagName, { key: '3e564c0bcfda6680953b88b4c8d78462bf938046', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, h("img", { key: 'd29c458cefa1d508258c17b8ceffeb7739519bf5', class: "image", src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }), h("div", { key: '994fb32775e2da22e3d3d28b0b7d95f115c083ec', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: 'cf3d737104fabdf6f04deef643fd06e0e0032db4', class: "pre-heading" }, h("slot", { key: 'd92602ce7cfc2b1f3c5779be9d6e735077a1deea', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'a23103a88fe437d4627a1f417e3bea353ad04851', class: "heading" }, h("duet-heading", { key: '762f79431019baecae385b2220c5dffecc326592', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '0233f85fb7b39558f901ebbdd2beda46f9679e7c' }, h("slot", { key: '57286a6f7d2527c6fa38fb8d5292b760d308ce44', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '70031569694cdefd28fb439fd790d067b56c3757', class: "description" }, h("duet-paragraph", { key: '5859eb0737fad1711d6013ce1350cb45831c3660', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'dd12525a9e8f185d607933fe4d58dd6ff2a71651' }, h("slot", { key: '0056201e47bede4761bea53b47fa621330d6fef7', name: "description" }))))), this.hasActionSlot && (h("div", { key: '2299fa55f537af1056c84adccbe7b876d7252434', class: "action" }, h("slot", { key: '3744426783f605338d6da2911e3d4bb83e899151', name: "action" }))))))));
|
|
79
83
|
}
|
|
80
84
|
static get is() { return "duet-promo-card"; }
|
|
81
85
|
static get encapsulation() { return "shadow"; }
|