@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { colorGrayDarker, colorGrayDarkerTurva,
|
|
4
|
+
import { colorGrayDarkTurva, colorGrayDarker, colorGrayDarkerTurva, colorGrayLight, colorGrayLightest, colorGrayLightTurva, colorPrimary, colorSecondary, colorSecondaryTurva, colorTurvaGray900, fontFamilyText, fontFamilyTextTurva, fontSizeMedium, fontWeightSemiBold, lineHeightSmall, mediaQueryXSmall, spaceLarge, spaceMedium, spaceSmall, spaceXxSmall, } from "@duetds/tokens";
|
|
5
5
|
const rgbable = (value) => {
|
|
6
6
|
return value.replace("rgb(", "").replace(")", "");
|
|
7
7
|
};
|
|
@@ -63,20 +63,12 @@ duet-table {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
&.duet-theme-turva table {
|
|
67
|
-
font-family: ${fontFamilyTextTurva};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
66
|
td {
|
|
71
67
|
-webkit-hyphens: auto;
|
|
72
68
|
hyphens: auto;
|
|
73
69
|
color: ${colorSecondary};
|
|
74
70
|
}
|
|
75
71
|
|
|
76
|
-
&.duet-theme-turva td {
|
|
77
|
-
color: ${colorSecondaryTurva};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
72
|
th {
|
|
81
73
|
font-weight: ${fontWeightSemiBold};
|
|
82
74
|
line-height: ${lineHeightSmall};
|
|
@@ -84,19 +76,11 @@ duet-table {
|
|
|
84
76
|
text-align: left;
|
|
85
77
|
}
|
|
86
78
|
|
|
87
|
-
&.duet-theme-turva th {
|
|
88
|
-
color: ${colorGrayDarkTurva};
|
|
89
|
-
}
|
|
90
|
-
|
|
91
79
|
tbody th {
|
|
92
80
|
font-weight: ${fontWeightSemiBold};
|
|
93
81
|
color: ${colorSecondary};
|
|
94
82
|
}
|
|
95
83
|
|
|
96
|
-
&.duet-theme-turva tbody th {
|
|
97
|
-
color: ${colorSecondaryTurva};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
84
|
& .duet-table-action-row {
|
|
101
85
|
& td:last-child {
|
|
102
86
|
justify-self: end;
|
|
@@ -148,10 +132,6 @@ duet-table {
|
|
|
148
132
|
}
|
|
149
133
|
}
|
|
150
134
|
|
|
151
|
-
&.duet-theme-turva td span.duet-table-cell-heading {
|
|
152
|
-
color: ${colorSecondaryTurva};
|
|
153
|
-
}
|
|
154
|
-
|
|
155
135
|
tbody td,
|
|
156
136
|
tbody th,
|
|
157
137
|
tfoot td {
|
|
@@ -191,10 +171,6 @@ duet-table {
|
|
|
191
171
|
thead th {
|
|
192
172
|
border-bottom: 1px solid ${colorGrayLight};
|
|
193
173
|
}
|
|
194
|
-
|
|
195
|
-
&.duet-theme-turva thead th {
|
|
196
|
-
border-bottom-color: ${colorGrayLightTurva};
|
|
197
|
-
}
|
|
198
174
|
}
|
|
199
175
|
|
|
200
176
|
tbody:not(:first-of-type) th {
|
|
@@ -205,26 +181,14 @@ duet-table {
|
|
|
205
181
|
background: rgba(4, 81, 128, 0.04);
|
|
206
182
|
}
|
|
207
183
|
|
|
208
|
-
&.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
|
|
209
|
-
background: rgba(${rgbable(colorSecondaryTurva)}, 0.04);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
184
|
tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
213
185
|
background: rgba(4, 81, 128, 0.04);
|
|
214
186
|
}
|
|
215
187
|
|
|
216
|
-
&.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
217
|
-
background: rgba(${rgbable(colorSecondaryTurva)}, 0.04);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
188
|
tfoot td {
|
|
221
189
|
border-top: 1px solid ${colorGrayLight};
|
|
222
190
|
}
|
|
223
191
|
|
|
224
|
-
&.duet-theme-turva tfoot td {
|
|
225
|
-
border-top-color: ${colorGrayLightTurva};
|
|
226
|
-
}
|
|
227
|
-
|
|
228
192
|
&.duet-table-flattened {
|
|
229
193
|
tbody:not(:first-of-type) th {
|
|
230
194
|
padding-top: ${spaceLarge} !important;
|
|
@@ -243,10 +207,6 @@ duet-table {
|
|
|
243
207
|
border-top: 1px solid ${colorGrayLight};
|
|
244
208
|
}
|
|
245
209
|
}
|
|
246
|
-
|
|
247
|
-
&.duet-theme-turva tfoot tr {
|
|
248
|
-
border-top-color: ${colorGrayLightTurva};
|
|
249
|
-
}
|
|
250
210
|
}
|
|
251
211
|
}
|
|
252
212
|
|
|
@@ -264,19 +224,13 @@ duet-table {
|
|
|
264
224
|
}
|
|
265
225
|
}
|
|
266
226
|
|
|
267
|
-
|
|
268
|
-
border-bottom-color: ${colorGrayDarkerTurva};
|
|
269
|
-
}
|
|
227
|
+
|
|
270
228
|
|
|
271
229
|
tbody th {
|
|
272
230
|
padding-top: calc(${spaceLarge} * 2) !important;
|
|
273
231
|
border-bottom-color: ${colorGrayLight};
|
|
274
232
|
}
|
|
275
233
|
|
|
276
|
-
&.duet-theme-turva tbody th {
|
|
277
|
-
border-bottom-color: ${colorGrayLightTurva};
|
|
278
|
-
}
|
|
279
|
-
|
|
280
234
|
td {
|
|
281
235
|
padding: ${spaceMedium} !important;
|
|
282
236
|
|
|
@@ -293,10 +247,6 @@ duet-table {
|
|
|
293
247
|
border-bottom: 1px solid ${colorGrayLight};
|
|
294
248
|
}
|
|
295
249
|
|
|
296
|
-
&.duet-theme-turva tbody td {
|
|
297
|
-
border-bottom-color: ${colorGrayLightTurva};
|
|
298
|
-
}
|
|
299
|
-
|
|
300
250
|
&.duet-table-flattened {
|
|
301
251
|
tbody:first-of-type th {
|
|
302
252
|
padding-top: 0 !important;
|
|
@@ -331,10 +281,6 @@ duet-table {
|
|
|
331
281
|
tbody tr {
|
|
332
282
|
border-bottom: 1px solid ${colorGrayLight};
|
|
333
283
|
}
|
|
334
|
-
|
|
335
|
-
&.duet-theme-turva tbody tr {
|
|
336
|
-
border-bottom-color: ${colorGrayLightTurva};
|
|
337
|
-
}
|
|
338
284
|
}
|
|
339
285
|
}
|
|
340
286
|
|
|
@@ -364,10 +310,6 @@ duet-table {
|
|
|
364
310
|
tfoot {
|
|
365
311
|
border-top: 1px solid ${colorGrayLight};
|
|
366
312
|
}
|
|
367
|
-
|
|
368
|
-
&.duet-theme-turva tfoot {
|
|
369
|
-
border-top-color: ${colorGrayLightTurva};
|
|
370
|
-
}
|
|
371
313
|
}
|
|
372
314
|
}
|
|
373
315
|
|
|
@@ -398,10 +340,6 @@ duet-table {
|
|
|
398
340
|
tfoot {
|
|
399
341
|
border-top: 1px solid ${colorGrayLight};
|
|
400
342
|
}
|
|
401
|
-
|
|
402
|
-
&.duet-theme-turva tfoot {
|
|
403
|
-
border-top-color: ${colorGrayLightTurva};
|
|
404
|
-
}
|
|
405
343
|
}
|
|
406
344
|
}
|
|
407
345
|
.duet-table-scrollable {
|
|
@@ -416,10 +354,6 @@ duet-table {
|
|
|
416
354
|
|
|
417
355
|
.duet-table-selected-column {
|
|
418
356
|
background: rgba(${rgbable(colorPrimary)}, 0.08);
|
|
419
|
-
|
|
420
|
-
.duet-theme-turva & {
|
|
421
|
-
background: rgba(${rgbable(colorGrayDarkerTurva)}, 0.08);
|
|
422
|
-
}
|
|
423
357
|
}
|
|
424
358
|
|
|
425
359
|
.duet-table-sortable {
|
|
@@ -432,10 +366,6 @@ duet-table {
|
|
|
432
366
|
tfoot {
|
|
433
367
|
border-top: 1px solid ${colorGrayLight};
|
|
434
368
|
}
|
|
435
|
-
|
|
436
|
-
&.duet-theme-turva tfoot {
|
|
437
|
-
border-top-color: ${colorGrayLightTurva};
|
|
438
|
-
}
|
|
439
369
|
}
|
|
440
370
|
}
|
|
441
371
|
|
|
@@ -479,66 +409,92 @@ duet-table {
|
|
|
479
409
|
grid-column: 2;
|
|
480
410
|
}
|
|
481
411
|
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
duet-table.duet-theme-turva table {
|
|
415
|
+
font-family: ${fontFamilyTextTurva};
|
|
416
|
+
}
|
|
482
417
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
}
|
|
418
|
+
duet-table.duet-theme-turva td {
|
|
419
|
+
color: ${colorTurvaGray900};
|
|
420
|
+
}
|
|
487
421
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
422
|
+
duet-table.duet-theme-turva th {
|
|
423
|
+
color: ${colorGrayDarkTurva};
|
|
424
|
+
}
|
|
491
425
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
border-bottom-color: $color-turva-nude-100;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
426
|
+
duet-table.duet-theme-turva tbody th {
|
|
427
|
+
color: ${colorTurvaGray900};
|
|
428
|
+
}
|
|
498
429
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
430
|
+
duet-table.duet-theme-turva td span.duet-table-cell-heading {
|
|
431
|
+
color: ${colorSecondaryTurva};
|
|
432
|
+
}
|
|
502
433
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
434
|
+
duet-table.duet-table-striped.duet-theme-turva.duet-table-sticky thead {
|
|
435
|
+
th,
|
|
436
|
+
td {
|
|
437
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
438
|
+
}
|
|
439
|
+
}
|
|
506
440
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
441
|
+
duet-table.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
|
|
442
|
+
background: rgba(${rgbable(colorTurvaGray900)}, 0.04);
|
|
443
|
+
}
|
|
510
444
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
445
|
+
duet-table.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
446
|
+
background: rgba(${rgbable(colorTurvaGray900)}, 0.04);
|
|
447
|
+
}
|
|
514
448
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
border-bottom-color: $color-turva-nude-100;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
449
|
+
duet-table.duet-table-striped.duet-theme-turva tfoot td {
|
|
450
|
+
border-top-color: ${colorGrayLightTurva};
|
|
451
|
+
}
|
|
521
452
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
453
|
+
duet-table.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr {
|
|
454
|
+
border-top-color: ${colorGrayLightTurva};
|
|
455
|
+
}
|
|
525
456
|
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
457
|
+
duet-table.duet-table-plain.duet-theme-turva tbody {
|
|
458
|
+
th,
|
|
459
|
+
td {
|
|
460
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
461
|
+
}
|
|
462
|
+
}
|
|
529
463
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
464
|
+
duet-table.duet-table-plain.duet-theme-turva tbody td {
|
|
465
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
466
|
+
}
|
|
533
467
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
468
|
+
duet-theme-turva.duet-table-plain th, duet-theme-turva.duet-table-fixed th, duet-theme-turva.duet-table-minimal th {
|
|
469
|
+
border-bottom-color: ${colorGrayDarkerTurva};
|
|
470
|
+
}
|
|
537
471
|
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
472
|
+
duet-theme-turva.duet-table-plain tbody th, duet-theme-turva.duet-table-fixed tbody th, duet-theme-turva.duet-table-minimal tbody th {
|
|
473
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.duet-table-flattened.duet-table-plain.duet-theme-turva tbody tr {
|
|
477
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.duet-theme-turva .duet-table-selected-column {
|
|
481
|
+
background: rgba(${rgbable(colorGrayDarkerTurva)}, 0.08);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
duet-table.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr {
|
|
485
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
duet-table.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot {
|
|
489
|
+
border-top-color: ${colorGrayLightTurva};
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
duet-table.duet-table-fixed.duet-theme-turva:not(.duet-table-flattened) tfoot {
|
|
493
|
+
border-top-color: ${colorGrayLightTurva};
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
duet-table.duet-table-sortable.duet-theme-turva:not(.duet-table-flattened) tfoot {
|
|
497
|
+
border-top-color: ${colorGrayLightTurva};
|
|
542
498
|
}
|
|
543
499
|
`.replace(/[\n\r\t]/gm, "");
|
|
544
500
|
export function createStyles(element) {
|
|
@@ -144,7 +144,7 @@ export class DuetTable {
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: 'a1dd7fa3685f9dba8b9e5dca8a0fd24c14431658', class: {
|
|
148
148
|
[`duet-table-${this.variation}`]: true,
|
|
149
149
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
150
150
|
// sticky only valid when in regular table layout
|
|
@@ -153,7 +153,7 @@ export class DuetTable {
|
|
|
153
153
|
"duet-m-0": this.margin === "none",
|
|
154
154
|
"duet-theme-turva": this.theme === "turva",
|
|
155
155
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
156
|
-
} }, h("slot", { key: '
|
|
156
|
+
} }, h("slot", { key: '3f4f49a2dc93f99278caa0089c0305a7049817e6' })));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "duet-table"; }
|
|
159
159
|
static get encapsulation() { return "shadow"; }
|
|
@@ -178,127 +178,75 @@ duet-tooltip,
|
|
|
178
178
|
background: rgb(255, 255, 255);
|
|
179
179
|
border: 1px solid rgb(127, 150, 165);
|
|
180
180
|
border-radius: 4px;
|
|
181
|
-
transition: 150ms ease;
|
|
182
181
|
}
|
|
183
182
|
.duet-textarea:focus {
|
|
184
183
|
outline: 2px solid;
|
|
185
184
|
outline-offset: 0;
|
|
186
185
|
outline-color: rgba(0, 119, 179, 0.8);
|
|
187
186
|
}
|
|
188
|
-
.duet-theme-turva .duet-textarea:focus, .duet-textarea:focus.duet-theme-turva
|
|
187
|
+
.duet-theme-turva .duet-textarea:focus, .duet-textarea:focus.duet-theme-turva {
|
|
189
188
|
outline: 2px solid;
|
|
190
189
|
outline-offset: 0;
|
|
191
190
|
outline-color: rgba(53, 79, 101, 0.8);
|
|
192
191
|
}
|
|
193
|
-
.duet-theme-turva .duet-textarea {
|
|
194
|
-
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
195
|
-
color: rgb(23, 42, 59);
|
|
196
|
-
border-color: rgb(120, 145, 164);
|
|
197
|
-
}
|
|
198
192
|
.has-error .duet-textarea {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
.duet-theme-turva.has-error .duet-textarea {
|
|
193
|
+
outline-offset: -1px;
|
|
194
|
+
background-color: rgb(255, 240, 243) !important;
|
|
202
195
|
border-color: rgb(214, 28, 82) !important;
|
|
203
196
|
}
|
|
204
197
|
.duet-textarea[rows] {
|
|
205
198
|
min-height: auto;
|
|
206
199
|
}
|
|
207
|
-
.duet-textarea
|
|
208
|
-
color: rgb(98, 121, 138);
|
|
209
|
-
opacity: 1 !important;
|
|
210
|
-
transition: color 300ms ease;
|
|
211
|
-
}
|
|
212
|
-
.duet-theme-turva .duet-textarea::-webkit-input-placeholder {
|
|
213
|
-
color: rgb(120, 145, 164);
|
|
214
|
-
}
|
|
215
|
-
.duet-textarea:focus::-webkit-input-placeholder {
|
|
216
|
-
color: rgb(181, 198, 208);
|
|
217
|
-
}
|
|
218
|
-
.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder {
|
|
219
|
-
color: rgb(178, 194, 205);
|
|
220
|
-
}
|
|
221
|
-
.duet-textarea::-moz-placeholder {
|
|
200
|
+
.duet-textarea::placeholder {
|
|
222
201
|
color: rgb(98, 121, 138);
|
|
223
202
|
opacity: 1 !important;
|
|
224
203
|
}
|
|
225
|
-
.duet-
|
|
226
|
-
color: rgb(120, 145, 164);
|
|
227
|
-
}
|
|
228
|
-
.duet-textarea:focus::-moz-placeholder {
|
|
229
|
-
color: rgb(181, 198, 208);
|
|
230
|
-
}
|
|
231
|
-
.duet-theme-turva .duet-textarea:focus::-moz-placeholder {
|
|
232
|
-
color: rgb(178, 194, 205);
|
|
233
|
-
}
|
|
234
|
-
.duet-textarea:-ms-input-placeholder {
|
|
235
|
-
color: rgb(98, 121, 138);
|
|
236
|
-
}
|
|
237
|
-
.duet-theme-turva .duet-textarea:-ms-input-placeholder {
|
|
238
|
-
color: rgb(120, 145, 164);
|
|
239
|
-
}
|
|
240
|
-
.duet-textarea:focus:-ms-input-placeholder {
|
|
204
|
+
.duet-textarea:focus::placeholder {
|
|
241
205
|
color: rgb(181, 198, 208);
|
|
242
206
|
}
|
|
243
|
-
.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder {
|
|
244
|
-
color: rgb(178, 194, 205);
|
|
245
|
-
}
|
|
246
207
|
.duet-textarea[disabled] {
|
|
247
|
-
color: rgb(
|
|
208
|
+
color: rgb(127, 150, 165) !important;
|
|
248
209
|
cursor: not-allowed !important;
|
|
210
|
+
outline: none !important;
|
|
249
211
|
background: rgb(245, 248, 250) !important;
|
|
250
|
-
border-color: rgb(
|
|
251
|
-
}
|
|
252
|
-
.duet-theme-turva .duet-textarea[disabled] {
|
|
253
|
-
color: rgb(120, 145, 164) !important;
|
|
254
|
-
background: rgb(245, 246, 247) !important;
|
|
255
|
-
border-color: rgb(245, 246, 247) !important;
|
|
256
|
-
}
|
|
257
|
-
.duet-textarea[disabled]::-webkit-input-placeholder {
|
|
258
|
-
color: rgb(8, 42, 77);
|
|
212
|
+
border-color: rgb(181, 198, 208) !important;
|
|
259
213
|
opacity: 1 !important;
|
|
260
|
-
|
|
214
|
+
-webkit-text-fill-color: rgb(8, 42, 77) !important;
|
|
261
215
|
}
|
|
262
|
-
.duet-
|
|
263
|
-
color: rgb(23, 42, 59);
|
|
264
|
-
}
|
|
265
|
-
.duet-textarea[disabled]::-moz-placeholder {
|
|
216
|
+
.duet-textarea[disabled]::placeholder {
|
|
266
217
|
color: rgb(8, 42, 77);
|
|
267
218
|
opacity: 1 !important;
|
|
268
219
|
}
|
|
269
|
-
.duet-
|
|
270
|
-
color: rgb(23, 42, 59);
|
|
271
|
-
}
|
|
272
|
-
.duet-textarea[disabled]:-ms-input-placeholder {
|
|
273
|
-
color: rgb(8, 42, 77);
|
|
274
|
-
}
|
|
275
|
-
.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder {
|
|
276
|
-
color: rgb(23, 42, 59);
|
|
277
|
-
}
|
|
278
|
-
.duet-textarea:hover:not(:disabled) {
|
|
220
|
+
.duet-textarea:hover:not(:disabled):not(:focus) {
|
|
279
221
|
outline: 2px solid;
|
|
280
|
-
outline-color: rgb(
|
|
222
|
+
outline-color: rgb(127, 150, 165) !important;
|
|
281
223
|
outline-offset: -1px;
|
|
282
224
|
}
|
|
283
|
-
.duet-theme-turva .duet-textarea:hover:not(:disabled)
|
|
284
|
-
outline-color: rgb(120, 145, 164);
|
|
225
|
+
.duet-theme-turva .duet-textarea:hover:not(:disabled):not(:focus), .duet-textarea:hover:not(:disabled):not(:focus).duet-theme-turva {
|
|
226
|
+
outline-color: rgb(120, 145, 164) !important;
|
|
285
227
|
}
|
|
286
|
-
.has-error .duet-textarea:hover:not(:disabled) {
|
|
287
|
-
outline: 1px solid;
|
|
288
|
-
outline-color: rgb(214, 28, 82);
|
|
228
|
+
.has-error .duet-textarea:hover:not(:disabled):not(:focus) {
|
|
289
229
|
outline-offset: -1px;
|
|
230
|
+
background-color: rgb(255, 240, 243) !important;
|
|
231
|
+
border-color: rgb(214, 28, 82) !important;
|
|
232
|
+
outline-width: 2px;
|
|
233
|
+
outline-color: rgb(214, 28, 82) !important;
|
|
290
234
|
}
|
|
291
235
|
.duet-textarea:focus {
|
|
292
|
-
|
|
293
|
-
|
|
236
|
+
outline: 2px solid;
|
|
237
|
+
outline-color: rgb(0, 119, 179) !important;
|
|
238
|
+
outline-offset: -1px;
|
|
294
239
|
}
|
|
295
|
-
.duet-theme-turva .duet-textarea:focus {
|
|
296
|
-
|
|
240
|
+
.duet-theme-turva .duet-textarea:focus, .duet-textarea:focus.duet-theme-turva {
|
|
241
|
+
outline-color: rgb(23, 42, 59) !important;
|
|
297
242
|
}
|
|
298
243
|
.has-error .duet-textarea:focus {
|
|
299
|
-
outline: 1px solid;
|
|
300
|
-
outline-color: rgb(214, 28, 82);
|
|
301
244
|
outline-offset: -1px;
|
|
245
|
+
background-color: rgb(255, 240, 243) !important;
|
|
246
|
+
border-color: rgb(214, 28, 82) !important;
|
|
247
|
+
outline-width: 2px;
|
|
248
|
+
outline-color: rgb(214, 28, 82) !important;
|
|
249
|
+
background: rgb(255, 255, 255) !important;
|
|
302
250
|
}
|
|
303
251
|
.duet-textarea:not(:focus):not(:hover):invalid {
|
|
304
252
|
outline: none;
|
|
@@ -313,16 +261,9 @@ duet-tooltip,
|
|
|
313
261
|
display: block;
|
|
314
262
|
margin-top: 8px;
|
|
315
263
|
}
|
|
316
|
-
.duet-theme-turva .duet-textarea-help {
|
|
317
|
-
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
318
|
-
color: rgb(120, 145, 164);
|
|
319
|
-
}
|
|
320
264
|
.has-error .duet-textarea-help {
|
|
321
265
|
color: rgb(214, 28, 82);
|
|
322
266
|
}
|
|
323
|
-
.duet-theme-turva.has-error .duet-textarea-help {
|
|
324
|
-
color: rgb(214, 28, 82);
|
|
325
|
-
}
|
|
326
267
|
|
|
327
268
|
.duet-label-hidden .duet-internal-label {
|
|
328
269
|
position: absolute;
|
|
@@ -340,34 +281,27 @@ duet-tooltip,
|
|
|
340
281
|
margin: 8px 0 0 auto;
|
|
341
282
|
}
|
|
342
283
|
|
|
343
|
-
|
|
284
|
+
.duet-theme-turva .duet-textarea {
|
|
285
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
344
286
|
color: rgb(23, 42, 59);
|
|
287
|
+
border-color: rgb(120, 145, 164);
|
|
345
288
|
}
|
|
346
|
-
|
|
347
|
-
border-color: rgb(23, 42, 59);
|
|
348
|
-
}
|
|
349
|
-
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled] {
|
|
350
|
-
background: rgb(245, 246, 247) !important;
|
|
351
|
-
border-color: rgb(245, 246, 247) !important;
|
|
352
|
-
}
|
|
353
|
-
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:-webkit-input-placeholder {
|
|
289
|
+
.duet-theme-turva .duet-textarea::placeholder {
|
|
354
290
|
color: rgb(120, 145, 164);
|
|
355
291
|
}
|
|
356
|
-
|
|
357
|
-
color: rgb(
|
|
358
|
-
}
|
|
359
|
-
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus::-moz-placeholder {
|
|
360
|
-
color: rgb(178, 194, 205);
|
|
292
|
+
.duet-theme-turva .duet-textarea:focus {
|
|
293
|
+
border-color: rgb(23, 42, 59);
|
|
361
294
|
}
|
|
362
|
-
|
|
295
|
+
.duet-theme-turva .duet-textarea:focus::placeholder {
|
|
363
296
|
color: rgb(178, 194, 205);
|
|
364
297
|
}
|
|
365
|
-
|
|
298
|
+
.duet-theme-turva .duet-textarea[disabled]::placeholder {
|
|
366
299
|
color: rgb(23, 42, 59);
|
|
367
300
|
}
|
|
368
|
-
|
|
369
|
-
color: rgb(
|
|
301
|
+
.duet-theme-turva.has-error .duet-textarea-help {
|
|
302
|
+
color: rgb(214, 28, 82);
|
|
370
303
|
}
|
|
371
|
-
|
|
372
|
-
|
|
304
|
+
.duet-theme-turva .duet-textarea-help {
|
|
305
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
306
|
+
color: rgb(120, 145, 164);
|
|
373
307
|
}
|
|
@@ -247,17 +247,17 @@ export class DuetTextarea {
|
|
|
247
247
|
*/
|
|
248
248
|
render() {
|
|
249
249
|
const identifier = this.identifier || this.textareaId;
|
|
250
|
-
return (h(Host, { key: '
|
|
250
|
+
return (h(Host, { key: '628cfbee772dabe02ee28e28b45ac044ba306433', class: {
|
|
251
251
|
"duet-m-0": this.margin === "none",
|
|
252
252
|
"duet-has-counter": this.counter && !this.error,
|
|
253
253
|
"duet-expand": this.expand,
|
|
254
|
-
} }, h("div", { key: '
|
|
254
|
+
} }, h("div", { key: 'd3b269724ee0b454556b85713e4ce8d0da937121', class: {
|
|
255
255
|
"duet-textarea-container": true,
|
|
256
256
|
"duet-theme-turva": this.theme === "turva",
|
|
257
257
|
"duet-label-hidden": this.labelHidden,
|
|
258
258
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
259
259
|
"has-error": !!this.error,
|
|
260
|
-
} }, h(DuetInternalLabel, { key: '
|
|
260
|
+
} }, h(DuetInternalLabel, { key: '61b9d1d31d1c97ec59cc974fd3cf05e99a52c648', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'f50f8d99b9b3459d8b14ad5de3d176e7d995bbde', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'aa111583f2f02af223491081de0ce0aa1d9e513e', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'd229d33d3027940241f0b38348af8c3d79618856', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: 'ef6a5f4d22a441b13f559373096294a657b22b74', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '728f08f538d521047bbc91ccd7bd3434d3e35cb8', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: 'b652877e0466100acb59ddd879bcc8eb3f833649', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: 'eacd3bbbf8d40c476ed4dbdf5f6d2608d57303d8', alignment: "stretch" }, h("duet-grid-item", { key: '87e2b2af0d568101cb6535822b6b3f665240b080', margin: "none", fill: true }, h("div", { key: 'fe677c931f07c771e5146256ad638317416bfa64', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'dd9d05aac20cd6eda3b66f8117ec74a66ab78a8a' }, this.error))), h("duet-grid-item", { key: '668485a22c325707308e35875136d289b65d8285', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '3911ad43e20c911266a1ee6446e7cbfecbdc6877', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: 'f3f27267532f3f62aec64d0b4b472616accf3bf1', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
|
|
261
261
|
}
|
|
262
262
|
static get is() { return "duet-textarea"; }
|
|
263
263
|
static get encapsulation() { return "shadow"; }
|