@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.
Files changed (569) hide show
  1. package/hydrate/index.js +1035 -694
  2. package/hydrate/index.mjs +1035 -694
  3. package/lib/cjs/{a11y-utils-DrkNSFk7.js → a11y-utils-dXXDBTyF.js} +1 -1
  4. package/lib/cjs/{app-globals-D924IDJZ.js → app-globals-CyPV2FZK.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
  6. package/lib/cjs/duet-alert.cjs.entry.js +5 -5
  7. package/lib/cjs/duet-badge.cjs.entry.js +6 -6
  8. package/lib/cjs/duet-banner.cjs.entry.js +14 -16
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +8 -8
  11. package/lib/cjs/duet-button_2.cjs.entry.js +28 -13
  12. package/lib/cjs/duet-callout.cjs.entry.js +6 -6
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +19 -19
  14. package/lib/cjs/duet-card.cjs.entry.js +9 -9
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +6 -6
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +5 -5
  17. package/lib/cjs/duet-chip.cjs.entry.js +5 -5
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +13 -13
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +7 -7
  20. package/lib/cjs/duet-combobox.cjs.entry.js +6 -6
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -6
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -4
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +30 -34
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +7 -7
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +86 -130
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-footer.cjs.entry.js +9 -9
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +7 -7
  31. package/lib/cjs/duet-header_2.cjs.entry.js +13 -38
  32. package/lib/cjs/duet-hero.cjs.entry.js +10 -10
  33. package/lib/cjs/duet-icon.cjs.entry.js +8 -8
  34. package/lib/cjs/duet-indicator.cjs.entry.js +9 -5
  35. package/lib/cjs/duet-input_2.cjs.entry.js +19 -15
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +6 -6
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -5
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -5
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +7 -7
  44. package/lib/cjs/duet-modal.cjs.entry.js +15 -15
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +11 -11
  48. package/lib/cjs/duet-number-input.cjs.entry.js +9 -9
  49. package/lib/cjs/duet-overlay.cjs.entry.js +4 -4
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +20 -20
  52. package/lib/cjs/duet-panel.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +22 -20
  55. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +13 -9
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +8 -8
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +8 -8
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +20 -20
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +9 -9
  65. package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -14
  70. package/lib/cjs/duet-slideout.cjs.entry.js +21 -19
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
  72. package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +8 -8
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +9 -9
  78. package/lib/cjs/duet-textarea.cjs.entry.js +9 -9
  79. package/lib/cjs/duet-toggle.cjs.entry.js +9 -9
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -5
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +11 -11
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-tray.cjs.entry.js +7 -7
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-CN2q01zn.js → errorcodes.utils-DQ-I8x2z.js} +1 -1
  93. package/lib/cjs/{focus-utils-BiNVxwJM.js → focus-utils-DstNW4_h.js} +1 -1
  94. package/lib/cjs/{index-BU3Nf2d6.js → index-B_QTwXEx.js} +1 -1
  95. package/lib/cjs/{label-Bkh3nxL_.js → label-yAj5CKm3.js} +1 -1
  96. package/lib/cjs/{language-utils-BazCSszn.js → language-utils-DjtvVntE.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-BUOLdbgj.js → slot-utils-YUU0XWn9.js} +1 -1
  99. package/lib/cjs/{themeable-component-BU-IHJDO.js → themeable-component-h3OzJgCb.js} +2 -12
  100. package/lib/cjs/{token-utils-BstQGJ9_.js → token-utils-DY3-olMV.js} +1 -51
  101. package/lib/cjs/{tokens-DGQm58Sv.js → tokens-COLlUECP.js} +335 -77
  102. package/lib/cjs/{tokens.module-CdKmGLcD.js → tokens.module-CTbvyezn.js} +226 -54
  103. package/lib/collection/common/themeable-component.js +1 -11
  104. package/lib/collection/components/duet-action-button/duet-action-button.css +5 -19
  105. package/lib/collection/components/duet-alert/duet-alert.css +4 -3
  106. package/lib/collection/components/duet-badge/duet-badge.css +20 -65
  107. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  108. package/lib/collection/components/duet-banner/duet-banner.css +16 -14
  109. package/lib/collection/components/duet-banner/duet-banner.js +9 -11
  110. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  111. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  112. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +4 -14
  113. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  114. package/lib/collection/components/duet-button/duet-button.css +85 -157
  115. package/lib/collection/components/duet-button/duet-button.js +20 -5
  116. package/lib/collection/components/duet-callout/duet-callout.css +4 -8
  117. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  118. package/lib/collection/components/duet-caption/duet-caption.css +6 -10
  119. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  120. package/lib/collection/components/duet-card/duet-card.css +10 -22
  121. package/lib/collection/components/duet-card/duet-card.js +3 -3
  122. package/lib/collection/components/duet-checkbox/duet-checkbox.css +28 -38
  123. package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
  124. package/lib/collection/components/duet-chip/duet-chip.css +33 -59
  125. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  126. package/lib/collection/components/duet-choice/duet-checkmark.css +1 -1
  127. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  128. package/lib/collection/components/duet-choice/duet-choice.css +75 -123
  129. package/lib/collection/components/duet-choice/duet-choice.js +6 -6
  130. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  131. package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -17
  132. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  133. package/lib/collection/components/duet-combobox/duet-combobox.css +3 -9
  134. package/lib/collection/components/duet-contact-card/duet-contact-card.css +2 -5
  135. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  136. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +5 -13
  137. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  138. package/lib/collection/components/duet-date-picker/date-utils.js +2 -1
  139. package/lib/collection/components/duet-date-picker/duet-date-picker.css +56 -80
  140. package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -29
  141. package/lib/collection/components/duet-divider/duet-divider.css +1 -4
  142. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  143. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  144. package/lib/collection/components/duet-empty-state/duet-empty-state.css +1 -5
  145. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  146. package/lib/collection/components/duet-fieldset/duet-fieldset.css +6 -5
  147. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  148. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  149. package/lib/collection/components/duet-footer/duet-footer.css +17 -19
  150. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  151. package/lib/collection/components/duet-grid/duet-grid.js +2 -2
  152. package/lib/collection/components/duet-grid-item/duet-grid-item.css +2 -6
  153. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  154. package/lib/collection/components/duet-header/duet-header.css +187 -200
  155. package/lib/collection/components/duet-heading/duet-heading.css +1 -1
  156. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  157. package/lib/collection/components/duet-hero/duet-hero.css +276 -310
  158. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  159. package/lib/collection/components/duet-icon/duet-icon.css +6 -62
  160. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  161. package/lib/collection/components/duet-indicator/duet-indicator.css +1 -1
  162. package/lib/collection/components/duet-indicator/duet-indicator.js +5 -1
  163. package/lib/collection/components/duet-input/duet-input.css +103 -131
  164. package/lib/collection/components/duet-input/duet-input.js +10 -6
  165. package/lib/collection/components/duet-label/duet-label.css +0 -4
  166. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  167. package/lib/collection/components/duet-link/duet-link.css +19 -53
  168. package/lib/collection/components/duet-link/duet-link.js +2 -2
  169. package/lib/collection/components/duet-list/duet-list.js +1 -1
  170. package/lib/collection/components/duet-list-item/duet-list-item.css +11 -31
  171. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  172. package/lib/collection/components/duet-logo/duet-logo.css +4 -12
  173. package/lib/collection/components/duet-logo/duet-logo.js +7 -37
  174. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +15 -25
  175. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  176. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +5 -8
  177. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  178. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +2 -20
  179. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  180. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +5 -10
  181. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  182. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +14 -20
  183. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  184. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +9 -16
  185. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  186. package/lib/collection/components/duet-modal/duet-modal.css +3 -10
  187. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  188. package/lib/collection/components/duet-multiselect/duet-multiselect.css +49 -87
  189. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  190. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  191. package/lib/collection/components/duet-notification/duet-notification.css +11 -18
  192. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  193. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +25 -29
  194. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  195. package/lib/collection/components/duet-number-input/duet-number-input.css +1 -8
  196. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  197. package/lib/collection/components/duet-overlay/duet-overlay.css +4 -7
  198. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  199. package/lib/collection/components/duet-page-heading/duet-page-heading.css +6 -23
  200. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  201. package/lib/collection/components/duet-pagination/duet-pagination.css +0 -4
  202. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  203. package/lib/collection/components/duet-panel/duet-panel.css +5 -19
  204. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  205. package/lib/collection/components/duet-paragraph/duet-paragraph.css +7 -14
  206. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  207. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +2 -5
  208. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -9
  209. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +8 -15
  210. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  211. package/lib/collection/components/duet-progress/duet-progress.css +11 -24
  212. package/lib/collection/components/duet-promo-card/duet-promo-card.css +13 -5
  213. package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -4
  214. package/lib/collection/components/duet-radio/duet-radio.css +34 -32
  215. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  216. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  217. package/lib/collection/components/duet-range-slider/duet-range-slider.css +28 -53
  218. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  219. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
  220. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  221. package/lib/collection/components/duet-scrollable/duet-scrollable.css +3 -11
  222. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  223. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  224. package/lib/collection/components/duet-select/duet-select.css +35 -72
  225. package/lib/collection/components/duet-select/duet-select.js +5 -5
  226. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  227. package/lib/collection/components/duet-share-chart/duet-share-chart.css +2 -5
  228. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  229. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  230. package/lib/collection/components/duet-show-more/duet-show-more.css +2 -5
  231. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  232. package/lib/collection/components/duet-slideout/duet-slideout.css +22 -38
  233. package/lib/collection/components/duet-slideout/duet-slideout.js +12 -10
  234. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +0 -4
  235. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  236. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +7 -13
  237. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  238. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -32
  239. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  240. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +7 -14
  241. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  242. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  243. package/lib/collection/components/duet-spinner/duet-spinner.css +1 -4
  244. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  245. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  246. package/lib/collection/components/duet-step/duet-step.css +18 -23
  247. package/lib/collection/components/duet-step/duet-step.js +2 -2
  248. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  249. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +5 -15
  250. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  251. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +16 -48
  252. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  253. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +9 -22
  254. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  255. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +17 -27
  256. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  257. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +10 -27
  258. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  259. package/lib/collection/components/duet-tab/duet-tab.css +1 -1
  260. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  261. package/lib/collection/components/duet-tab-group/duet-tab-group.css +86 -87
  262. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  263. package/lib/collection/components/duet-table/duet-table-styles.js +75 -119
  264. package/lib/collection/components/duet-table/duet-table.js +2 -2
  265. package/lib/collection/components/duet-textarea/duet-textarea.css +42 -108
  266. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  267. package/lib/collection/components/duet-toggle/duet-toggle.css +23 -30
  268. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  269. package/lib/collection/components/duet-toolbar/duet-toolbar.css +4 -8
  270. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  271. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +34 -47
  272. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  273. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +7 -14
  274. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  275. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +29 -43
  276. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  277. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +22 -46
  278. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  279. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +8 -12
  280. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  281. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +17 -30
  282. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  283. package/lib/collection/components/duet-tray/duet-tray.css +8 -17
  284. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  285. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  286. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  287. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  288. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  289. package/lib/collection/utils/token-utils.js +0 -38
  290. package/lib/duet/duet.esm.js +1 -1
  291. package/lib/duet/{p-a4b1a21e.entry.js → p-06f17fe7.entry.js} +1 -1
  292. package/lib/duet/p-07b9b6c3.entry.js +4 -0
  293. package/lib/duet/{p-2da426b2.entry.js → p-0a80de40.entry.js} +1 -1
  294. package/lib/duet/{p-5ed86143.entry.js → p-0cc2921b.entry.js} +1 -1
  295. package/lib/duet/p-0ccecf5b.entry.js +4 -0
  296. package/lib/duet/p-10a326fa.entry.js +4 -0
  297. package/lib/duet/{p-c1b625d2.entry.js → p-12b2d402.entry.js} +1 -1
  298. package/lib/duet/p-162993d2.entry.js +4 -0
  299. package/lib/duet/p-162a0691.entry.js +4 -0
  300. package/lib/duet/p-17413943.entry.js +4 -0
  301. package/lib/duet/p-17c063a3.entry.js +4 -0
  302. package/lib/duet/p-18eada94.entry.js +4 -0
  303. package/lib/duet/p-1e168d4b.entry.js +4 -0
  304. package/lib/duet/p-234f4365.entry.js +4 -0
  305. package/lib/duet/{p-35e4a9c4.entry.js → p-245c0535.entry.js} +1 -1
  306. package/lib/duet/p-25b4886a.entry.js +4 -0
  307. package/lib/duet/{p-8f7dd5a6.entry.js → p-278ef4d8.entry.js} +1 -1
  308. package/lib/duet/p-29599dc5.entry.js +4 -0
  309. package/lib/duet/{p-2cb58d74.entry.js → p-2ac11077.entry.js} +1 -1
  310. package/lib/duet/p-2d963ab0.entry.js +4 -0
  311. package/lib/duet/{p-46959db5.entry.js → p-2e126e15.entry.js} +1 -1
  312. package/lib/duet/p-301b8664.entry.js +4 -0
  313. package/lib/duet/{p-840a6293.entry.js → p-3a45c3a4.entry.js} +1 -1
  314. package/lib/duet/p-3d00efb7.entry.js +4 -0
  315. package/lib/duet/p-3d0a716c.entry.js +4 -0
  316. package/lib/duet/{p-60450623.entry.js → p-3eba33cd.entry.js} +1 -1
  317. package/lib/duet/p-419b96b6.entry.js +4 -0
  318. package/lib/duet/p-44a97d21.entry.js +4 -0
  319. package/lib/duet/p-4856f07c.entry.js +4 -0
  320. package/lib/duet/p-4b8293b3.entry.js +4 -0
  321. package/lib/duet/{p-06e533f3.entry.js → p-550bfab9.entry.js} +1 -1
  322. package/lib/duet/p-5c60eca3.entry.js +4 -0
  323. package/lib/duet/p-5c9530f1.entry.js +4 -0
  324. package/lib/duet/{p-b6b32a0a.entry.js → p-5fb1092c.entry.js} +1 -1
  325. package/lib/duet/p-5fb783eb.entry.js +4 -0
  326. package/lib/duet/p-608ebd47.entry.js +4 -0
  327. package/lib/duet/{p-6c0ba49c.entry.js → p-65350441.entry.js} +1 -1
  328. package/lib/duet/p-67b3a01a.entry.js +4 -0
  329. package/lib/duet/p-690beb31.entry.js +4 -0
  330. package/lib/duet/p-6cffc5b7.entry.js +4 -0
  331. package/lib/duet/p-6e1b9cc8.entry.js +4 -0
  332. package/lib/duet/p-7ce31e10.entry.js +4 -0
  333. package/lib/duet/p-806c4ab8.entry.js +4 -0
  334. package/lib/duet/p-86166f8d.entry.js +4 -0
  335. package/lib/duet/p-898d5701.entry.js +4 -0
  336. package/lib/duet/p-8a28f86e.entry.js +4 -0
  337. package/lib/duet/p-9172ba70.entry.js +4 -0
  338. package/lib/duet/p-93abd97a.entry.js +4 -0
  339. package/lib/duet/{p-108bb9b1.entry.js → p-968546f6.entry.js} +1 -1
  340. package/lib/duet/{p-BahNb4S5.js → p-B6Z_1gqI.js} +1 -1
  341. package/lib/duet/p-BQVGvl4H.js +4 -0
  342. package/lib/duet/p-BUWuSkQW.js +4 -0
  343. package/lib/duet/p-CLZq8YfV.js +4 -0
  344. package/lib/duet/{p-EzuzdWgU.js → p-CW11pVgw.js} +1 -1
  345. package/lib/duet/p-Ce9HQd35.js +4 -0
  346. package/lib/duet/p-D2JvSVnG.js +4 -0
  347. package/lib/duet/p-D2ly4TZR.js +4 -0
  348. package/lib/duet/p-DEzE2U5T.js +4 -0
  349. package/lib/duet/{p-udt4OnI3.js → p-DFAnksuG.js} +1 -1
  350. package/lib/duet/{p-D01wpYGA.js → p-DrqQiRTn.js} +1 -1
  351. package/lib/duet/p-ELbbzMVZ.js +4 -0
  352. package/lib/duet/p-a3ad5622.entry.js +4 -0
  353. package/lib/duet/p-a6bec2da.entry.js +4 -0
  354. package/lib/duet/p-a73b7110.entry.js +4 -0
  355. package/lib/duet/p-a8229728.entry.js +4 -0
  356. package/lib/duet/p-ae778cb1.entry.js +4 -0
  357. package/lib/duet/{p-959c0fdf.entry.js → p-b1d91a91.entry.js} +1 -1
  358. package/lib/duet/p-b4c18ee6.entry.js +4 -0
  359. package/lib/duet/p-b6dc4395.entry.js +4 -0
  360. package/lib/duet/{p-208ee0bd.entry.js → p-b9a54319.entry.js} +1 -1
  361. package/lib/duet/p-b9be36c8.entry.js +4 -0
  362. package/lib/duet/p-bdae48d3.entry.js +4 -0
  363. package/lib/duet/p-bdf6a296.entry.js +4 -0
  364. package/lib/duet/p-bfc75bb9.entry.js +4 -0
  365. package/lib/duet/p-c8d10c67.entry.js +4 -0
  366. package/lib/duet/p-c8e520b6.entry.js +4 -0
  367. package/lib/duet/p-ce4d9add.entry.js +4 -0
  368. package/lib/duet/p-d2e74e89.entry.js +4 -0
  369. package/lib/duet/p-d7506eaa.entry.js +4 -0
  370. package/lib/duet/p-d83f38c7.entry.js +4 -0
  371. package/lib/duet/p-d8bc628c.entry.js +4 -0
  372. package/lib/duet/p-da275568.entry.js +4 -0
  373. package/lib/duet/p-dc5682d8.entry.js +4 -0
  374. package/lib/duet/p-de4b0518.entry.js +4 -0
  375. package/lib/duet/p-e050ed5c.entry.js +4 -0
  376. package/lib/duet/{p-52d1157e.entry.js → p-e9c2eb66.entry.js} +1 -1
  377. package/lib/duet/p-ec5f40a5.entry.js +4 -0
  378. package/lib/duet/{p-ad7a1cde.entry.js → p-ec689a7c.entry.js} +1 -1
  379. package/lib/duet/{p-da5a60ce.entry.js → p-ecf69f6d.entry.js} +1 -1
  380. package/lib/duet/p-ed750cdf.entry.js +4 -0
  381. package/lib/duet/p-efa1cd0b.entry.js +4 -0
  382. package/lib/duet/{p-cde24f7a.entry.js → p-f15ab3b8.entry.js} +1 -1
  383. package/lib/duet/p-f55f8bd9.entry.js +4 -0
  384. package/lib/duet/p-f68a4a23.entry.js +4 -0
  385. package/lib/duet/p-f71d04ce.entry.js +4 -0
  386. package/lib/duet/p-f8e26f21.entry.js +4 -0
  387. package/lib/duet/{p-068f930b.entry.js → p-fca9c5c4.entry.js} +1 -1
  388. package/lib/duet/p-fe00331c.entry.js +4 -0
  389. package/lib/esm/{a11y-utils-DcQ8_LjH.js → a11y-utils-D66Lzlz5.js} +1 -1
  390. package/lib/esm/{app-globals-BROlDQRT.js → app-globals-G9KPoeGD.js} +1 -1
  391. package/lib/esm/duet-action-button.entry.js +6 -6
  392. package/lib/esm/duet-alert.entry.js +5 -5
  393. package/lib/esm/duet-badge.entry.js +6 -6
  394. package/lib/esm/duet-banner.entry.js +14 -16
  395. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  396. package/lib/esm/duet-breadcrumbs.entry.js +8 -8
  397. package/lib/esm/duet-button_2.entry.js +28 -13
  398. package/lib/esm/duet-callout.entry.js +6 -6
  399. package/lib/esm/duet-caption_4.entry.js +19 -19
  400. package/lib/esm/duet-card.entry.js +9 -9
  401. package/lib/esm/duet-checkbox.entry.js +6 -6
  402. package/lib/esm/duet-checkmark.entry.js +5 -5
  403. package/lib/esm/duet-chip.entry.js +5 -5
  404. package/lib/esm/duet-choice_2.entry.js +13 -13
  405. package/lib/esm/duet-collapsible.entry.js +7 -7
  406. package/lib/esm/duet-combobox.entry.js +6 -6
  407. package/lib/esm/duet-contact-card.entry.js +6 -6
  408. package/lib/esm/duet-cookie-consent.entry.js +4 -4
  409. package/lib/esm/duet-date-picker.entry.js +30 -34
  410. package/lib/esm/duet-divider_2.entry.js +7 -7
  411. package/lib/esm/duet-editable-table_3.entry.js +86 -130
  412. package/lib/esm/duet-empty-state.entry.js +5 -5
  413. package/lib/esm/duet-fieldset.entry.js +7 -7
  414. package/lib/esm/duet-file-chooser.entry.js +3 -3
  415. package/lib/esm/duet-footer.entry.js +9 -9
  416. package/lib/esm/duet-grid_2.entry.js +7 -7
  417. package/lib/esm/duet-header_2.entry.js +13 -38
  418. package/lib/esm/duet-hero.entry.js +10 -10
  419. package/lib/esm/duet-icon.entry.js +8 -8
  420. package/lib/esm/duet-indicator.entry.js +9 -5
  421. package/lib/esm/duet-input_2.entry.js +19 -15
  422. package/lib/esm/duet-layout.entry.js +7 -7
  423. package/lib/esm/duet-list_2.entry.js +6 -6
  424. package/lib/esm/duet-menu-bar-button.entry.js +5 -5
  425. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
  426. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
  427. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  428. package/lib/esm/duet-menu-bar-link.entry.js +5 -5
  429. package/lib/esm/duet-menu-bar.entry.js +7 -7
  430. package/lib/esm/duet-modal.entry.js +15 -15
  431. package/lib/esm/duet-multiselect.entry.js +11 -11
  432. package/lib/esm/duet-nav.entry.js +3 -3
  433. package/lib/esm/duet-notification_2.entry.js +11 -11
  434. package/lib/esm/duet-number-input.entry.js +9 -9
  435. package/lib/esm/duet-overlay.entry.js +4 -4
  436. package/lib/esm/duet-page-heading.entry.js +5 -5
  437. package/lib/esm/duet-pagination_2.entry.js +20 -20
  438. package/lib/esm/duet-panel.entry.js +5 -5
  439. package/lib/esm/duet-phone-input.entry.js +4 -4
  440. package/lib/esm/duet-popup-menu_2.entry.js +22 -20
  441. package/lib/esm/duet-progress.entry.js +4 -4
  442. package/lib/esm/duet-promo-card.entry.js +13 -9
  443. package/lib/esm/duet-radio_2.entry.js +8 -8
  444. package/lib/esm/duet-range-slider.entry.js +8 -8
  445. package/lib/esm/duet-scrollable_3.entry.js +20 -20
  446. package/lib/esm/duet-section-layout.entry.js +4 -4
  447. package/lib/esm/duet-select.entry.js +10 -10
  448. package/lib/esm/duet-shaped-image.entry.js +4 -4
  449. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  450. package/lib/esm/duet-share-chart.entry.js +9 -9
  451. package/lib/esm/duet-show-more.entry.js +6 -6
  452. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  453. package/lib/esm/duet-slideout-link.entry.js +8 -8
  454. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  455. package/lib/esm/duet-slideout-panel.entry.js +14 -14
  456. package/lib/esm/duet-slideout.entry.js +21 -19
  457. package/lib/esm/duet-status-icon.entry.js +4 -4
  458. package/lib/esm/duet-step_2.entry.js +7 -7
  459. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
  460. package/lib/esm/duet-submenu-bar-dropdown.entry.js +8 -8
  461. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  462. package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
  463. package/lib/esm/duet-submenu-bar.entry.js +9 -9
  464. package/lib/esm/duet-textarea.entry.js +9 -9
  465. package/lib/esm/duet-toggle.entry.js +9 -9
  466. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
  467. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
  468. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  469. package/lib/esm/duet-toolbar-link.entry.js +5 -5
  470. package/lib/esm/duet-toolbar.entry.js +5 -5
  471. package/lib/esm/duet-tooltip-button_2.entry.js +11 -11
  472. package/lib/esm/duet-tooltip.entry.js +5 -5
  473. package/lib/esm/duet-tray.entry.js +7 -7
  474. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  475. package/lib/esm/duet-upload-item.entry.js +6 -6
  476. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  477. package/lib/esm/duet.js +4 -4
  478. package/lib/esm/{errorcodes.utils-Itv_LXm1.js → errorcodes.utils-C6zptXiM.js} +1 -1
  479. package/lib/esm/{focus-utils-Ckrg92zt.js → focus-utils-YZ2ticmM.js} +1 -1
  480. package/lib/esm/{index-D01wpYGA.js → index-DrqQiRTn.js} +1 -1
  481. package/lib/esm/{label-BDVCTSVS.js → label-CnTwCD-3.js} +1 -1
  482. package/lib/esm/{language-utils-CJ6UGHBS.js → language-utils-BEG0cFmw.js} +1 -1
  483. package/lib/esm/loader.js +4 -4
  484. package/lib/esm/{slot-utils-BRZl-j4n.js → slot-utils-Dzrezpl3.js} +1 -1
  485. package/lib/esm/{themeable-component-hw-kujXv.js → themeable-component-BLql61nC.js} +2 -12
  486. package/lib/esm/{token-utils-DMwF8cmT.js → token-utils-B0KAgyj_.js} +1 -51
  487. package/lib/esm/{tokens-lzu8l3tx.js → tokens-Ce9HQd35.js} +335 -77
  488. package/lib/esm/{tokens.module-BzrE0-hp.js → tokens.module-DEzE2U5T.js} +226 -54
  489. package/lib/types/components/duet-banner/duet-banner.d.ts +1 -1
  490. package/lib/types/components/duet-date-picker/date-utils.d.ts +1 -1
  491. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -2
  492. package/lib/types/components/duet-logo/duet-logo.d.ts +0 -3
  493. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
  494. package/package.json +5 -5
  495. package/lib/collection/utils/turva2-color-tokens.js +0 -42
  496. package/lib/duet/p-00c4df17.entry.js +0 -4
  497. package/lib/duet/p-0e0e4046.entry.js +0 -4
  498. package/lib/duet/p-1040c382.entry.js +0 -4
  499. package/lib/duet/p-116bd504.entry.js +0 -4
  500. package/lib/duet/p-157995c2.entry.js +0 -4
  501. package/lib/duet/p-1abdf725.entry.js +0 -4
  502. package/lib/duet/p-1d70c401.entry.js +0 -4
  503. package/lib/duet/p-241ecfbb.entry.js +0 -4
  504. package/lib/duet/p-2ae2c00b.entry.js +0 -4
  505. package/lib/duet/p-38d9c2a4.entry.js +0 -4
  506. package/lib/duet/p-3ac158a2.entry.js +0 -4
  507. package/lib/duet/p-3df4d82d.entry.js +0 -4
  508. package/lib/duet/p-40f1b967.entry.js +0 -4
  509. package/lib/duet/p-4ace9ad8.entry.js +0 -4
  510. package/lib/duet/p-506dd7e4.entry.js +0 -4
  511. package/lib/duet/p-56cd1a09.entry.js +0 -4
  512. package/lib/duet/p-56e2f9ab.entry.js +0 -4
  513. package/lib/duet/p-59e14b99.entry.js +0 -4
  514. package/lib/duet/p-5deb728c.entry.js +0 -4
  515. package/lib/duet/p-62d78e93.entry.js +0 -4
  516. package/lib/duet/p-62f879dc.entry.js +0 -4
  517. package/lib/duet/p-64682619.entry.js +0 -4
  518. package/lib/duet/p-649abe6b.entry.js +0 -4
  519. package/lib/duet/p-6f1faec3.entry.js +0 -4
  520. package/lib/duet/p-7192d852.entry.js +0 -4
  521. package/lib/duet/p-7323183d.entry.js +0 -4
  522. package/lib/duet/p-73e78cea.entry.js +0 -4
  523. package/lib/duet/p-77ee5411.entry.js +0 -4
  524. package/lib/duet/p-78dbb64a.entry.js +0 -4
  525. package/lib/duet/p-79260a28.entry.js +0 -4
  526. package/lib/duet/p-7af8f026.entry.js +0 -4
  527. package/lib/duet/p-7b970c92.entry.js +0 -4
  528. package/lib/duet/p-817f5c02.entry.js +0 -4
  529. package/lib/duet/p-85ed639b.entry.js +0 -4
  530. package/lib/duet/p-89605d7b.entry.js +0 -4
  531. package/lib/duet/p-8ecff6ac.entry.js +0 -4
  532. package/lib/duet/p-92c976d8.entry.js +0 -4
  533. package/lib/duet/p-97291b00.entry.js +0 -4
  534. package/lib/duet/p-B0U815Vi.js +0 -4
  535. package/lib/duet/p-BQqubJCA.js +0 -4
  536. package/lib/duet/p-BlYFa84w.js +0 -4
  537. package/lib/duet/p-Bq_F1n6l.js +0 -4
  538. package/lib/duet/p-Brp9BZK6.js +0 -4
  539. package/lib/duet/p-BzrE0-hp.js +0 -4
  540. package/lib/duet/p-De8V1Ewb.js +0 -4
  541. package/lib/duet/p-a056d95d.entry.js +0 -4
  542. package/lib/duet/p-a1fdc4ec.entry.js +0 -4
  543. package/lib/duet/p-a8a6ab54.entry.js +0 -4
  544. package/lib/duet/p-a8cd78ae.entry.js +0 -4
  545. package/lib/duet/p-ab6cce18.entry.js +0 -4
  546. package/lib/duet/p-ae00066d.entry.js +0 -4
  547. package/lib/duet/p-ae509388.entry.js +0 -4
  548. package/lib/duet/p-b4f4baa3.entry.js +0 -4
  549. package/lib/duet/p-b8b4f2c1.entry.js +0 -4
  550. package/lib/duet/p-b955cb73.entry.js +0 -4
  551. package/lib/duet/p-c3084c8c.entry.js +0 -4
  552. package/lib/duet/p-c464f037.entry.js +0 -4
  553. package/lib/duet/p-c489791a.entry.js +0 -4
  554. package/lib/duet/p-caed4507.entry.js +0 -4
  555. package/lib/duet/p-caf9a237.entry.js +0 -4
  556. package/lib/duet/p-d0d43606.entry.js +0 -4
  557. package/lib/duet/p-dfbab0b6.entry.js +0 -4
  558. package/lib/duet/p-e0481b75.entry.js +0 -4
  559. package/lib/duet/p-e25e6ab3.entry.js +0 -4
  560. package/lib/duet/p-e4ac8424.entry.js +0 -4
  561. package/lib/duet/p-e606f740.entry.js +0 -4
  562. package/lib/duet/p-ed73dc86.entry.js +0 -4
  563. package/lib/duet/p-f23fcee4.entry.js +0 -4
  564. package/lib/duet/p-f27e6dd8.entry.js +0 -4
  565. package/lib/duet/p-f5345710.entry.js +0 -4
  566. package/lib/duet/p-f5b6ec35.entry.js +0 -4
  567. package/lib/duet/p-f9974767.entry.js +0 -4
  568. package/lib/duet/p-lzu8l3tx.js +0 -4
  569. 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, colorGrayDarkTurva, colorGrayLight, colorGrayLightest, colorGrayLightTurva, colorPrimary, colorSecondary, colorSecondaryTurva, fontFamilyText, fontFamilyTextTurva, fontSizeMedium, fontWeightSemiBold, lineHeightSmall, mediaQueryXSmall, spaceLarge, spaceMedium, spaceSmall, spaceXxSmall, } from "@duetds/tokens";
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
- &.duet-theme-turva th {
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
- duet-table.duet-theme-turva2 {
484
- &.duet-theme-turva td {
485
- color: $color-turva2-gray-900;
486
- }
418
+ duet-table.duet-theme-turva td {
419
+ color: ${colorTurvaGray900};
420
+ }
487
421
 
488
- &.duet-theme-turva tbody th {
489
- color: $color-turva2-gray-900;
490
- }
422
+ duet-table.duet-theme-turva th {
423
+ color: ${colorGrayDarkTurva};
424
+ }
491
425
 
492
- &.duet-table-striped.duet-theme-turva.duet-table-sticky thead {
493
- th,
494
- td {
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
- &.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
500
- background: rgba($color-turva2-gray-900, 0.04);
501
- }
430
+ duet-table.duet-theme-turva td span.duet-table-cell-heading {
431
+ color: ${colorSecondaryTurva};
432
+ }
502
433
 
503
- &.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
504
- background: rgba($color-turva2-gray-900, 0.04);
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
- &.duet-table-striped.duet-theme-turva tfoot td {
508
- border-top-color: $color-turva-nude-100;
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
- &.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr {
512
- border-top-color: $color-turva-nude-100;
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
- &.duet-table-plain.duet-theme-turva tbody {
516
- th,
517
- td {
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
- &.duet-table-plain.duet-theme-turva tbody td {
523
- border-bottom-color: $color-turva-nude-100;
524
- }
453
+ duet-table.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr {
454
+ border-top-color: ${colorGrayLightTurva};
455
+ }
525
456
 
526
- &.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr {
527
- border-bottom-color: $color-turva-nude-100;
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
- &.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot {
531
- border-top-color: $color-turva-nude-100;
532
- }
464
+ duet-table.duet-table-plain.duet-theme-turva tbody td {
465
+ border-bottom-color: ${colorGrayLightTurva};
466
+ }
533
467
 
534
- &.duet-table-fixed.duet-theme-turva:not(.duet-table-flattened) tfoot {
535
- border-top-color: $color-turva-nude-100;
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
- &.duet-table-sortable.duet-theme-turva:not(.duet-table-flattened) tfoot {
539
- border-top-color: $color-turva-nude-100;
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: 'fda81d8548a6180298f6e227832f9c7105a68736', class: {
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: 'ac3ae69d0a1141e1feacd1bdf8fb3ba9e9e89080' })));
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, .duet-theme-turva2 .duet-textarea:focus, .duet-textarea:focus.duet-theme-turva2 {
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
- border-color: rgb(214, 28, 82) !important;
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::-webkit-input-placeholder {
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-theme-turva .duet-textarea::-moz-placeholder {
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(98, 121, 138) !important;
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(245, 248, 250) !important;
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
- transition: color 300ms ease;
214
+ -webkit-text-fill-color: rgb(8, 42, 77) !important;
261
215
  }
262
- .duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder {
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-theme-turva .duet-textarea[disabled]::-moz-placeholder {
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(98, 121, 138);
222
+ outline-color: rgb(127, 150, 165) !important;
281
223
  outline-offset: -1px;
282
224
  }
283
- .duet-theme-turva .duet-textarea:hover:not(:disabled), .duet-textarea:hover:not(:disabled).duet-theme-turva, .duet-theme-turva2 .duet-textarea:hover:not(:disabled), .duet-textarea:hover:not(:disabled).duet-theme-turva2 {
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
- border-color: rgb(0, 119, 179);
293
- transition: none;
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
- border-color: rgb(23, 42, 59);
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
- :host(.duet-theme-turva2) .duet-theme-turva .duet-textarea {
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
- :host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus {
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
- :host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder {
357
- color: rgb(178, 194, 205);
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
- :host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus:-ms-input-placeholder {
295
+ .duet-theme-turva .duet-textarea:focus::placeholder {
363
296
  color: rgb(178, 194, 205);
364
297
  }
365
- :host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder {
298
+ .duet-theme-turva .duet-textarea[disabled]::placeholder {
366
299
  color: rgb(23, 42, 59);
367
300
  }
368
- :host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]::-moz-placeholder {
369
- color: rgb(23, 42, 59);
301
+ .duet-theme-turva.has-error .duet-textarea-help {
302
+ color: rgb(214, 28, 82);
370
303
  }
371
- :host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder {
372
- color: rgb(23, 42, 59);
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: '48030acc05f6f8415df8753151991eb3c83ae370', class: {
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: 'e8cac00d84bfbef67bb1f30037bb986905fc2d94', class: {
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: '2f25117dc9dfce852022a09efb8a1b0c2117bb0c', 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: 'b5c614194a8699068a2b9c9156cc2a1955d8ae8c', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '0a72de201a51d22df2604f3fa1a5fba77f9de897', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'fc1baf023f9c4b81131de5244bfb73c925ab265d', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '3395893df5eacc499f082eade175e6bb0ce0512c', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '6a71fad928ba647c069c05439e86a5e6eefd4e40', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '28c7559a63890bb80d6503e3028ea430f24c739a', 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: '66ddcb0507cf754111843d5aa871c80ae8d7207e', alignment: "stretch" }, h("duet-grid-item", { key: '79edd18dd19f6500b2c471e960c5fefc1b9492be', margin: "none", fill: true }, h("div", { key: '38d0f75afeefcd4ba8afb2f87802a64885fbc0ea', 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: 'a03fdd80d3a82221abbdeeff8c368d8208efd2b1' }, this.error))), h("duet-grid-item", { key: 'deb6e76efba3354828dd21acd8a362c91c3d2e4f', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '282fe11b68a1bdd7c63b8071cfd37a3e33086bbc', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: '06b481e31a4dad73a6538a943274f898410be541', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
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"; }