@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
@@ -209,45 +209,28 @@
209
209
  .duet-page-heading .progress-step.active {
210
210
  background-color: rgb(0, 119, 179);
211
211
  }
212
+
212
213
  .duet-page-heading.duet-theme-turva {
213
214
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
214
215
  color: rgb(8, 42, 77);
215
216
  }
216
- .duet-page-heading.duet-theme-turva .brand-shaped-icon {
217
- background: rgba(230, 23, 64, 0.9);
218
- -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
219
- mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
220
- -webkit-mask-repeat: no-repeat;
221
- mask-repeat: no-repeat;
222
- }
223
- .duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon {
224
- position: relative;
225
- top: -3px;
226
- }
227
- .duet-page-heading.duet-theme-turva .progress-step {
228
- background-color: rgb(178, 194, 205);
229
- }
230
- .duet-page-heading.duet-theme-turva .progress-step.active {
231
- background-color: rgb(230, 23, 64);
232
- }
233
-
234
- :host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .background .background-mask {
217
+ .duet-page-heading.duet-theme-turva .background .background-mask {
235
218
  background-image: none;
236
219
  }
237
- :host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon {
220
+ .duet-page-heading.duet-theme-turva .brand-shaped-icon {
238
221
  background: rgb(23, 42, 59);
239
222
  border-radius: 16%;
240
223
  -webkit-mask-image: none;
241
224
  mask-image: none;
242
225
  transform: rotate(0);
243
226
  }
244
- :host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon {
227
+ .duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon {
245
228
  top: 0;
246
229
  transform: rotate(0);
247
230
  }
248
- :host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step {
231
+ .duet-page-heading.duet-theme-turva .progress-step {
249
232
  background-color: rgb(178, 194, 205);
250
233
  }
251
- :host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step.active {
234
+ .duet-page-heading.duet-theme-turva .progress-step.active {
252
235
  background-color: rgb(230, 23, 64);
253
236
  }
@@ -43,12 +43,12 @@ export class DuetPageHeading {
43
43
  */
44
44
  render() {
45
45
  const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
46
- return (h("div", { key: 'a359f4cb235a3897640cdffbd39139e189d3b5fa', class: {
46
+ return (h("div", { key: '5cf22cfc2c34017d8c7467fe36becf60ba78bc75', class: {
47
47
  "duet-page-heading": true,
48
48
  "duet-theme-turva": this.theme === "turva",
49
49
  "has-icon": !!this.icon,
50
50
  [layout]: true,
51
- } }, h("div", { key: '22d49c2080af3bd20cd103be9e03d1493be49e12', class: "background" }, this.theme === "turva" && h("div", { key: '836160c0757b45f0fd56a737c5477e7f991647c9', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '11114653280d8354c0837c7b696afa7420ce317a', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: 'e73ed36215b6b4670f475177bd15671c70780c0b', class: "brand-shape second-shape" }), this.icon && (h("div", { key: 'ca24de4ed573cccf325e04b63789ea5361cf2d5a', class: "brand-shaped-icon" }, h("duet-icon", { key: '78fffdbc09d6489a817b17ac8fe360a969278292', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: '132aa722e9021f4fe671f36eeada043c752627ed', class: "heading" }, h("slot", { key: 'a0545b6a759f1f3fcb73d3a63f32e9f070975835', name: "heading" }), this.progressCurrentStep !== undefined && this.progressTotalSteps > 0 && (h("div", { key: 'de89e016dba311fccd701f213fb9c497a5b103ea' }, h("duet-spacer", { key: '28ad3743d3ea8ac559fddc00915b063b30d13e39', size: "large" }), h("div", { key: 'bc13cc4c86fe3f765ccb5aaa51e8cb4871f55d1f', role: "presentation" }, this.progressIndicator()))))));
51
+ } }, h("div", { key: 'e9ccfced6335c96af6d7baa92a53db59d45b8b30', class: "background" }, this.theme === "turva" && h("div", { key: '830e60d9e2fdf9918b743766ae94353be9e85993', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'ea055759c169167bec0e0096e3c5ba6c7233b756', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '62ee3252ea809756e6a7de1f18017dc62b14d3ba', class: "brand-shape second-shape" }), this.icon && (h("div", { key: '29ec53ff4adad92e0f2dd7d93c7046dfbb2d6c7b', class: "brand-shaped-icon" }, h("duet-icon", { key: 'a09e043d17d4f9c4c3ab8aaa7aaae33126df0d77', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: '913c970c7ae47d0a56416b0102dd4a65648b0bbe', class: "heading" }, h("slot", { key: 'f573503b294909f8119d8d3f66d265c737570cd8', name: "heading" }), this.progressCurrentStep !== undefined && this.progressTotalSteps > 0 && (h("div", { key: 'f2b0ab3aad8acc8071ace37653fbfb8243681056' }, h("duet-spacer", { key: 'ffca4d17364920c928844b6872d399ac2cd29303', size: "large" }), h("div", { key: '7a2c5f9eddb7eb0acc1187303e67dae2f5683e23', role: "presentation" }, this.progressIndicator()))))));
52
52
  }
53
53
  static get is() { return "duet-page-heading"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -76,8 +76,4 @@
76
76
  :host(.duet-theme-turva) .duet-pagination-total-pages {
77
77
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
78
78
  color: rgb(23, 42, 59);
79
- }
80
-
81
- :host(.duet-theme-turva2.duet-theme-turva) .duet-pagination-total-pages {
82
- color: rgb(23, 42, 59);
83
79
  }
@@ -394,32 +394,32 @@ export class DuetPagination {
394
394
  * Always the last one in the class.
395
395
  */
396
396
  render() {
397
- return (h(Host, { key: '62c4d84c58a0267e958230835282746f490f5b93', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: 'e308cbce7bfe457df21ca5d1a9b011ad306d8090', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
397
+ return (h(Host, { key: '593c48b276e6b36bff6f78dc731f956c3aaedb82', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '446532b79dd77af3e71a152ae7dc208d45cc6ec5', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
398
398
  "duet-pagination-nav": true,
399
399
  [`duet-pagination-variation-${this.variation}`]: true,
400
- } }, this.numbersStore !== "" && (h("div", { key: '63cba2aeb5b53aceba412cd3ef544fad0b83f7e7', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '2c8d10cd7d2f4087336f5bd28905809fdf6852de', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: 'ff23766c13debac377872850c408980460700cd3', id: this.listId, class: {
400
+ } }, this.numbersStore !== "" && (h("div", { key: 'ca5700930cd45ccf48ac1d55603266219183b028', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '53c449d054bee784544f24ab8afb6273ac5cb870', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: '986f34a0664b6dc0517824b88f996342d9f7116b', id: this.listId, class: {
401
401
  "duet-pagination": true,
402
402
  "duet-pagination-is-dimmed": this.numbersStore !== "",
403
- }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'af629fdaaaaceda9b49f04abb0adc8a4d111af69', class: {
403
+ }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '1ccc38d06b7a79f9de8ee762a9b9ab959010a436', class: {
404
404
  "duet-pagination-page-button": true,
405
405
  "duet-pagination-button-first": true,
406
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '5b3580de4b5aa7cae5aac470c451276cb2915bb7', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: 'b763efe60e95ce22c9a10a16f771306bc41c94e8', class: {
406
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '8a0f11e5cd9f5de4a967cc56b0c1816a4de15229', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: '830cc19f3a5580f96cef9cc9650221d19fc5ed95', class: {
407
407
  "duet-pagination-page-button": true,
408
408
  "duet-pagination-button-first": true,
409
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '4614a19eee937ec82b1d7f53774536bc3dc53efe', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
409
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'bd02a81bf5945b1ebfb5eacf1a29f85f859e297e', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
410
410
  (this.current <= 1 && this.processedPageLinks) ||
411
- this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '6a58f0e2274e19bc36ed5724f8272b7d52aafbff' }, h("li", { key: '3c9463d76188a6c709a339bc6aeb742230649517', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'faa2bb79c16612bf21b3c894bd044524094000b5', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: '1d57199a2de289499f857d60e85abc5b03347701', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '165edfb178a9a37a62729c254ef59a759cf3234e', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '2f86dc307015ec5c4f0c8ed8485eb539419b100f', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: 'b72d8f2a8d07e8c81b9d3a1eff872b387982f531', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
412
- this.shouldDisplayNavigation() && (h(Fragment, { key: 'd92b8e89d424fa566d435985832c1a47ff6f00e0' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '02c6801c1212cdbd836d3206e0c3c57e0009c360', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '3668dc509fbdb6567da22e8fbde178cba0a2c371', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: 'e41f0ff84f1f30725a8c10788cbc790b5548f3e2', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '3c8b3b2d1ae67bd70464a4463fce1abeac270a17', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'd29669bc78a9d8b299a674fbb0c862a35f2de7cd', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
411
+ this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '9d0fa1e1e3567d5ba912861620b0d05f17a592fd' }, h("li", { key: 'e8789887f488d6445e3d2653abcf5564eab8afc2', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'd7e98b1d702e30e935d3dd1c52ad8c4bb187b0fa', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: '997822a5c36dbe6c2ded94fbee6728bfa0d64f03', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '91d5668412f906d7c35702b7c2c28473d2928768', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '3a2113ad718394fa6365a41aaeea306b91f1431e', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: '3fbc0fc4b9fa8b0c4595991f39e6266efd7e3481', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
412
+ this.shouldDisplayNavigation() && (h(Fragment, { key: '1f324dd16a9b57aefbe62e60e56e5fe3d5af72ce' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: 'd8c3b8f2db2a2c642a63cc8781f56480d2c0d409', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '9117fbb075c437646e64eceb0316ad702c5fe8b2', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: 'b80ed14f62fee001b600d720a7719174da3d0958', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '8059714abaf60464fda99e46b5f364e94ce75385', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'f9f4f6868664e410d8e0177afaf816328bce46a7', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
413
413
  ? this.processedPageLinks[this.processedPageLinks.length - 1]
414
- : undefined }, h("div", { key: '2c159077e6b2c5c72d820fa113be972db3c1a36a', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '17f8cb237ba3352dab6a6f9190a82995c6af50db', class: {
414
+ : undefined }, h("div", { key: '5bb0466c1c108b1dedf6a0e2d5d67f0408037c85', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '4c8e76afbdf203f29a8a4096bf4870b15bd9f930', class: {
415
415
  "duet-pagination-page-button": true,
416
416
  "duet-pagination-button-last": true,
417
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '2ed254adb9ac8a59160dda2da09dc9b4c451cfd7', disabled: !!((this.current === this.totalPages &&
417
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '1f3f2dc875d130ddd2e01643fe0b69a6c32325c6', disabled: !!((this.current === this.totalPages &&
418
418
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
419
- (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'be6cef233eeac10ca4964c07a8875832e5e8c5dd', class: {
419
+ (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'a5c496cb09c9be08249bee069439a3395e7897ad', class: {
420
420
  "duet-pagination-page-button": true,
421
421
  "duet-pagination-button-last": true,
422
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '10c56fa0387027938a2778de48741e89c7186bd8', disabled: (this.current === this.totalPages &&
422
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '2e6eb9240c1d90bef1028d0b6eabf8d74a178b17', disabled: (this.current === this.totalPages &&
423
423
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
424
424
  this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
425
425
  }
@@ -29,11 +29,6 @@
29
29
  border: 0 solid rgb(212, 223, 229);
30
30
  border-radius: 16px;
31
31
  }
32
- .duet-panel.duet-theme-turva {
33
- font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
34
- color: rgb(23, 42, 59);
35
- border-color: rgb(212, 221, 226);
36
- }
37
32
  .duet-panel.padding-small {
38
33
  padding: 16px;
39
34
  border-radius: 12px;
@@ -65,35 +60,26 @@
65
60
  .duet-panel.secondary {
66
61
  background-color: rgb(245, 248, 250);
67
62
  }
68
- .duet-panel.secondary.duet-theme-turva {
69
- background-color: rgb(245, 246, 247);
70
- }
71
63
  .duet-panel.accent {
72
64
  background-color: rgb(240, 247, 250);
73
65
  border-color: rgb(198, 225, 238);
74
66
  }
75
- .duet-panel.accent.duet-theme-turva {
76
- background-color: rgb(245, 246, 247);
77
- border-color: rgb(178, 194, 205);
78
- }
79
67
  .duet-panel.accent.secondary {
80
68
  background-color: rgb(217, 236, 245);
81
69
  }
82
- .duet-panel.accent.secondary.duet-theme-turva {
83
- background-color: rgb(212, 221, 226);
84
- }
85
70
 
86
- :host(.duet-theme-turva2) .duet-panel.duet-theme-turva {
71
+ .duet-panel.duet-theme-turva {
72
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
87
73
  color: rgb(23, 42, 59);
88
74
  border-color: rgb(212, 221, 226);
89
75
  }
90
- :host(.duet-theme-turva2) .duet-panel.duet-theme-turva.secondary {
76
+ .duet-panel.duet-theme-turva.secondary {
91
77
  background-color: rgb(245, 246, 247);
92
78
  }
93
- :host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent {
79
+ .duet-panel.duet-theme-turva.accent {
94
80
  background-color: rgb(253, 247, 242);
95
81
  border-color: rgb(241, 202, 178);
96
82
  }
97
- :host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent.secondary {
83
+ .duet-panel.duet-theme-turva.accent.secondary {
98
84
  background-color: rgb(251, 225, 209);
99
85
  }
@@ -30,14 +30,14 @@ export class DuetPanel {
30
30
  inheritGlobalTheme(this);
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: 'f0f19f168e9dc722234dfe71c45e696a0d6cf917', class: { "duet-m-0": this.margin === "none" } }, h("section", { key: '2701d432c58239047f7564d14da3ea552313299f', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
33
+ return (h(Host, { key: 'b3dc7fe74cdf89d0b2216283a5250b81bc7dac7c', class: { "duet-m-0": this.margin === "none" } }, h("section", { key: 'c49f7aecda72185d245ae77bd177fe3abb999023', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
34
34
  "duet-panel": true,
35
35
  "duet-theme-turva": this.theme === "turva",
36
36
  [this.variation.split("-")[0]]: true,
37
37
  [this.variation.split("-")[1]]: true,
38
38
  [`padding-${this.padding}`]: true,
39
39
  border: this.border,
40
- } }, h("slot", { key: '4a02d9373b2c07f0d9f8e6a08e41c0ec5a7894f7' }))));
40
+ } }, h("slot", { key: '846efa69e68b7e7f672d4441877af8c72221e713' }))));
41
41
  }
42
42
  static get is() { return "duet-panel"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -45,10 +45,6 @@
45
45
  .duet-paragraph.duet-m-0 {
46
46
  margin: 0 !important;
47
47
  }
48
- .duet-paragraph.duet-theme-turva {
49
- font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
50
- color: rgb(23, 42, 59);
51
- }
52
48
  .duet-paragraph.duet-inherit-color {
53
49
  color: inherit !important;
54
50
  }
@@ -92,28 +88,25 @@
92
88
  text-decoration: underline;
93
89
  transition: 300ms ease;
94
90
  }
95
- ::slotted(a).duet-theme-turva {
96
- font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
97
- color: rgb(230, 23, 64);
98
- }
99
91
  ::slotted(a):hover {
100
92
  color: rgb(0, 75, 129);
101
93
  text-decoration: none;
102
94
  }
103
- ::slotted(a):hover.duet-theme-turva {
104
- color: rgb(140, 0, 30);
105
- }
106
95
  ::slotted(a):active {
107
96
  opacity: 0.75;
108
97
  transition: none;
109
98
  }
110
99
 
111
- :host(.duet-theme-turva2) .duet-paragraph.duet-theme-turva {
100
+ .duet-paragraph.duet-theme-turva {
101
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
112
102
  color: rgb(23, 42, 59);
113
103
  }
114
- :host(.duet-theme-turva2) ::slotted(a).duet-theme-turva {
104
+
105
+ ::slotted(a).duet-theme-turva {
106
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
115
107
  color: rgb(230, 23, 64);
116
108
  }
117
- :host(.duet-theme-turva2) ::slotted(a:hover).duet-theme-turva {
109
+
110
+ ::slotted(a:hover).duet-theme-turva {
118
111
  color: rgb(140, 0, 30);
119
112
  }
@@ -52,7 +52,7 @@ export class DuetParagraph {
52
52
  const color = getColorByName(this.color);
53
53
  // aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
54
54
  // are not announced when placed inside duet-modal
55
- return (h(Host, { key: 'b685bc9743cf7835c8b3c42219d01776f68b36d8', "aria-describedby": this.id }, h("p", { key: 'fab064d13421d92311b516ce3658c09f82a8e6a8', id: this.id, class: {
55
+ return (h(Host, { key: 'b0db3004861f5dfe17d4927087ba6301bc607f5d', "aria-describedby": this.id }, h("p", { key: 'f74e4f0206012d316417ea743d72cc0b76b92ee5', id: this.id, class: {
56
56
  "duet-paragraph": true,
57
57
  "duet-paragraph-small": this.size === "small",
58
58
  "duet-paragraph-semi-bold": this.weight === "semi-bold",
@@ -61,7 +61,7 @@ export class DuetParagraph {
61
61
  [this.variation]: true,
62
62
  "duet-theme-turva": this.theme === "turva",
63
63
  "duet-inherit-color": !this.color && this.inheritingParents.some(p => this.element.closest(p)),
64
- }, style: { color }, part: "duet-paragraph" }, h("slot", { key: '32a2fb093a12ade4b27b94047a87614645f2a128' }))));
64
+ }, style: { color }, part: "duet-paragraph" }, h("slot", { key: '86d18dc5cd6ed9610a477fa09b2776d4f2037346' }))));
65
65
  }
66
66
  static get is() { return "duet-paragraph"; }
67
67
  static get encapsulation() { return "shadow"; }
@@ -54,10 +54,6 @@
54
54
  overflow-y: scroll;
55
55
  scroll-margin: 20px;
56
56
  }
57
- .duet-popup-menu-list.duet-theme-turva {
58
- color: rgb(23, 42, 59) !important;
59
- background: rgb(255, 255, 255);
60
- }
61
57
 
62
58
  ::slotted(duet-notification) {
63
59
  max-width: 360px;
@@ -67,6 +63,7 @@ slot {
67
63
  --divider-margin: var(--space-x-small, 8px);
68
64
  }
69
65
 
70
- :host(.duet-theme-turva2) .duet-popup-menu-list.duet-theme-turva {
66
+ .duet-popup-menu-list.duet-theme-turva {
71
67
  color: rgb(23, 42, 59) !important;
68
+ background: rgb(255, 255, 255);
72
69
  }
@@ -190,12 +190,14 @@ export class DuetPopupMenu {
190
190
  return;
191
191
  }
192
192
  this.teleport.observeDeletion();
193
- if (this.controller && typeof this.controller !== "string") {
194
- this.setOpenButton(this.controller);
195
- }
196
- else {
197
- this.setOpenButton();
198
- }
193
+ requestAnimationFrame(() => {
194
+ if (this.controller && typeof this.controller !== "string") {
195
+ this.setOpenButton(this.controller);
196
+ }
197
+ else {
198
+ this.setOpenButton();
199
+ }
200
+ });
199
201
  }
200
202
  disconnectedCallback() {
201
203
  if (this.autoUpdateCleanup) {
@@ -406,17 +408,17 @@ export class DuetPopupMenu {
406
408
  overflowY: "auto",
407
409
  height: this.popupMenuStyleHeight,
408
410
  };
409
- return (h(Host, { key: '3534adf5c6abb308f55859ca8825f540149c4365', role: this.accessibleRole === "menu" ? "application" : null }, h("div", { key: '8df3cd5cf367bc4bc8fe2414450f2b609ebc8d8b', ref: element => {
411
+ return (h(Host, { key: '4ba8c544fd10ae2157f9f57f4ea668fba9982b39', role: this.accessibleRole === "menu" ? "application" : null }, h("div", { key: '8167c05e3cbcc2240210eda963d1d0eeece5b15e', ref: element => {
410
412
  this.menuElement = element;
411
413
  }, style: styles, class: {
412
414
  open: this.open,
413
415
  "duet-popup-menu-list": true,
414
416
  "duet-theme-turva": this.theme === "turva",
415
417
  "scroll-visible": this.scrollLimit < this.itemElements.length,
416
- }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (h("div", { key: '1f455934a4ccc2124488b60ff8f04d82b3200cec' }, h("duet-input", { key: 'b763609a5d22ff87ad82cc7874bda7adf64956ec', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), h("duet-visually-hidden", { key: '91e60fbfc9d747551489af0cc9c5ebdd13d4eba9' }, h("span", { key: '605812e1cb2866eb2c71804a089ad6df771d57d1', role: "status" }, `
418
+ }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (h("div", { key: 'bdfb595523f97e6ba3157f6b74ce07ade4b1fc83' }, h("duet-input", { key: '85251d071a3bf62fc5fcd986196b0a904280b889', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), h("duet-visually-hidden", { key: '410bd62c0d3621d294b3deb724803a104e46b85e' }, h("span", { key: 'a2036427c7785993ae0d632887855779e1437ce1', role: "status" }, `
417
419
  ${this.filterResultCount}/${this.itemElements.length}
418
420
  ${this.filterResultCountLabel[this.language]}
419
- `)), h("duet-spacer", { key: '50d88c6e45d84d5ca864155420c736df12d5f188', size: "xx-small" }))), h("slot", { key: 'b25f422c968d1b9179a547cc7b022f77d0db0ce3' }))));
421
+ `)), h("duet-spacer", { key: '289e215aaa765f00794710b8f309a3cd6d082468', size: "xx-small" }))), h("slot", { key: '6d149b93858d2437e7eb684c33e4ed55af7659a3' }))));
420
422
  }
421
423
  static get is() { return "duet-popup-menu"; }
422
424
  static get encapsulation() { return "shadow"; }
@@ -51,28 +51,18 @@
51
51
  outline-offset: 2px;
52
52
  outline-color: rgba(0, 119, 179, 0.8);
53
53
  }
54
- .duet-theme-turva .duet-popup-menu-item:focus, .duet-popup-menu-item:focus.duet-theme-turva, .duet-theme-turva2 .duet-popup-menu-item:focus, .duet-popup-menu-item:focus.duet-theme-turva2 {
54
+ .duet-theme-turva .duet-popup-menu-item:focus, .duet-popup-menu-item:focus.duet-theme-turva {
55
55
  outline: 2px solid;
56
56
  outline-offset: 2px;
57
57
  outline-color: rgba(53, 79, 101, 0.8);
58
58
  }
59
- .duet-popup-menu-item.duet-theme-turva {
60
- font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
61
- color: rgb(23, 42, 59);
62
- }
63
59
  .duet-popup-menu-item.active {
64
60
  z-index: 0;
65
61
  background: rgb(240, 247, 250);
66
62
  }
67
- .duet-popup-menu-item.active.duet-theme-turva {
68
- background: rgb(245, 246, 247);
69
- }
70
63
  .duet-popup-menu-item:hover {
71
64
  background: rgb(228, 241, 247);
72
65
  }
73
- .duet-popup-menu-item:hover.duet-theme-turva {
74
- background: rgb(212, 221, 226);
75
- }
76
66
  .duet-popup-menu-item .duet-popup-menu-item-label {
77
67
  flex-grow: 1;
78
68
  }
@@ -85,16 +75,19 @@
85
75
  outline-offset: 2px;
86
76
  outline-color: rgba(0, 119, 179, 0.8);
87
77
  }
88
- .duet-theme-turva .active-descendant, .active-descendant.duet-theme-turva, .duet-theme-turva2 .active-descendant, .active-descendant.duet-theme-turva2 {
78
+ .duet-theme-turva .active-descendant, .active-descendant.duet-theme-turva {
89
79
  outline-color: rgba(53, 79, 101, 0.8);
90
80
  }
91
81
 
92
- :host(.duet-theme-turva2) .duet-popup-menu-item.duet-theme-turva {
82
+ .duet-popup-menu-item.duet-theme-turva {
83
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
93
84
  color: rgb(23, 42, 59);
94
85
  }
95
- :host(.duet-theme-turva2) .duet-popup-menu-item.active.duet-theme-turva {
86
+
87
+ .duet-popup-menu-item.active.duet-theme-turva {
96
88
  background: rgb(253, 247, 242);
97
89
  }
98
- :host(.duet-theme-turva2) .duet-popup-menu-item:hover.duet-theme-turva {
90
+
91
+ .duet-popup-menu-item:hover.duet-theme-turva {
99
92
  background: rgb(251, 235, 225);
100
93
  }
@@ -101,11 +101,11 @@ export class DuetPopupMenuItem {
101
101
  };
102
102
  // Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
103
103
  // This is a tradeoff and now Safari announces these items as buttons and links with the label.
104
- return (h(Host, { key: 'db95c4e9fb0aa71e489935fd47c3f7ac2ff56a19', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: '7a082c08242605aa154211c91f25932d33478543', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: 'b3a98a07f252dfe67ce170caebca0f42ab683571', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'bda00beb4a4dc78a60830870a639a01dc99fcf5f', class: "duet-popup-menu-item-label" }, h("slot", { key: '7c23f4c1c0b3ef2ff6d3cc555a0dedbbd8ffcfad' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: 'dca34adebe0f4c93d78b00fa32796a139a3a86b7', name: this.url && this.external
104
+ return (h(Host, { key: 'eb6acbbfccced4c0c5bdc00642932696d4664dfd', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: 'e94bf11c073da949474e06d550e077df94bd8bb1', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage, "aria-current": this.active ? "true" : undefined }, this.leadingIcon && (h("duet-icon", { key: '4083d9ff9034800978d924bc764ab10f3064ed26', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'dbfcd31c2fff06c014e86f4df2c832e9e424599f', class: "duet-popup-menu-item-label" }, h("slot", { key: 'ad0150c3fc13b2a43afaaecc3f75b99b7a2041db' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: 'f4a9ee09f5c6ac0d7c7a4f79dfe8eeef13f2cf26', name: this.url && this.external
105
105
  ? newWindowIcon.title
106
106
  : this.active
107
107
  ? "messaging-checked-small"
108
- : this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: 'c6fc39d5f1aacf715990e749d2f559761d51344f', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
108
+ : this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '89bfa872c8e0a00165bf1d591c29c0ed41b7e2a0', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
109
109
  }
110
110
  static get is() { return "duet-popup-menu-item"; }
111
111
  static get encapsulation() { return "shadow"; }
@@ -48,9 +48,6 @@
48
48
  border-radius: 0;
49
49
  box-shadow: none;
50
50
  }
51
- .duet-theme-turva .duet-progress .progress-bar {
52
- background-color: rgb(255, 242, 242);
53
- }
54
51
  .duet-progress .progress-bar > span {
55
52
  display: block;
56
53
  height: inherit;
@@ -58,9 +55,6 @@
58
55
  background-color: rgb(0, 119, 179);
59
56
  border-radius: 0;
60
57
  }
61
- .duet-theme-turva .duet-progress .progress-bar > span {
62
- background-color: rgb(230, 23, 64);
63
- }
64
58
  .duet-progress progress[value] {
65
59
  display: flex;
66
60
  width: 100%;
@@ -89,34 +83,27 @@
89
83
  .duet-progress progress[value] ::-moz-progress-bar {
90
84
  background-color: rgb(240, 247, 250);
91
85
  }
92
- .duet-progress.duet-theme-turva progress[value] {
93
- color: rgb(230, 23, 64);
94
- }
95
- .duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar {
96
- background-color: rgb(255, 242, 242);
97
- }
98
- .duet-progress.duet-theme-turva progress[value]::-webkit-progress-value {
99
- background-color: rgb(230, 23, 64);
100
- }
101
- .duet-progress.duet-theme-turva progress[value] ::-moz-progress-bar {
102
- background-color: rgb(255, 242, 242);
103
- }
104
86
 
105
- .duet-theme-turva2 .duet-progress.duet-theme-turva .progress-bar {
87
+ .duet-progress.duet-theme-turva .progress-bar {
106
88
  background-color: rgb(253, 247, 242);
107
89
  }
108
- .duet-theme-turva2 .duet-progress.duet-theme-turva .progress-bar > span {
90
+
91
+ .duet-progress.duet-theme-turva .progress-bar > span {
109
92
  background-color: rgb(230, 23, 64);
110
93
  }
111
- .duet-theme-turva2 .duet-progress.duet-theme-turva progress[value] {
94
+
95
+ .duet-progress.duet-theme-turva progress[value] {
112
96
  color: rgb(230, 23, 64);
113
97
  }
114
- .duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar {
98
+
99
+ .duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar {
115
100
  background-color: rgb(253, 247, 242);
116
101
  }
117
- .duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-webkit-progress-value {
102
+
103
+ .duet-progress.duet-theme-turva progress[value]::-webkit-progress-value {
118
104
  background-color: rgb(230, 23, 64);
119
105
  }
120
- .duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-moz-progress-bar {
106
+
107
+ .duet-progress.duet-theme-turva progress[value]::-moz-progress-bar {
121
108
  background-color: rgb(253, 247, 242);
122
109
  }
@@ -66,7 +66,7 @@
66
66
  outline-offset: 2px;
67
67
  outline-color: rgba(0, 119, 179, 0.8);
68
68
  }
69
- .duet-theme-turva .duet-promo-card .content-wrapper:focus, .duet-promo-card .content-wrapper:focus.duet-theme-turva, .duet-theme-turva2 .duet-promo-card .content-wrapper:focus, .duet-promo-card .content-wrapper:focus.duet-theme-turva2 {
69
+ .duet-theme-turva .duet-promo-card .content-wrapper:focus, .duet-promo-card .content-wrapper:focus.duet-theme-turva {
70
70
  outline: 2px solid;
71
71
  outline-offset: 2px;
72
72
  outline-color: rgba(53, 79, 101, 0.8);
@@ -103,9 +103,6 @@
103
103
  .duet-promo-card.no-bg-color .image {
104
104
  border-radius: 16px;
105
105
  }
106
- .duet-promo-card.duet-theme-turva {
107
- font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
108
- }
109
106
 
110
107
  .duet-promo-card-link {
111
108
  transition: box-shadow 300ms ease;
@@ -113,6 +110,17 @@
113
110
  .duet-promo-card-link:hover {
114
111
  box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1);
115
112
  }
116
- .duet-promo-card-link:hover.duet-theme-turva {
113
+
114
+ ::slotted(.duet-heading) {
115
+ margin: inherit !important;
116
+ font-size: inherit !important;
117
+ line-height: inherit !important;
118
+ color: inherit !important;
119
+ }
120
+
121
+ .duet-theme-turva.duet-promo-card {
122
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
123
+ }
124
+ .duet-theme-turva.duet-promo-card-link:hover {
117
125
  box-shadow: 0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15);
118
126
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
- import { checkNamedSlotElement, hasSlot } from "../../utils/slot-utils";
6
+ import { checkNamedSlotElement, getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
7
7
  import { getColorByName, postfixTheme } from "../../utils/token-utils";
8
8
  /**
9
9
  * @slot pre-heading - Slot for pre-heading content.
@@ -42,12 +42,16 @@ export class DuetPromoCard {
42
42
  * Component lifecycle events.
43
43
  */
44
44
  componentWillLoad() {
45
+ const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
45
46
  inheritGlobalTheme(this);
46
47
  this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
47
48
  this.hasHeadingSlot = hasSlot(this.element, "heading");
48
49
  this.hasDescriptionSlot = hasSlot(this.element, "description");
49
50
  this.hasActionSlot = hasSlot(this.element, "action");
50
- checkNamedSlotElement(this.element, "heading", "span");
51
+ checkNamedSlotElement(this.element, "heading", `span,${headings.join(",")}`);
52
+ if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings.join(","))) {
53
+ this.hasHeadingSlotNative = true;
54
+ }
51
55
  checkNamedSlotElement(this.element, "description", "span");
52
56
  }
53
57
  /**
@@ -70,12 +74,12 @@ export class DuetPromoCard {
70
74
  backgroundColor: backgroundColor ? backgroundColor : "none",
71
75
  };
72
76
  const TagName = this.url ? "a" : "div";
73
- return (h(Host, { key: '56be16710912a7b098e4c1bd75ece4275deda02e', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '8520123e09db6f31e9c0f5a5833318203a03f437', class: {
77
+ return (h(Host, { key: 'd36e73e86f96e7825e96c7730b330afa8a23c14e', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '50c45ed20c3dd5c321f20cac8f98d2ec87848f18', class: {
74
78
  "duet-promo-card": true,
75
79
  "duet-theme-turva": this.theme === "turva",
76
80
  "no-bg-color": !this.backgroundColor,
77
81
  "duet-promo-card-link": !!this.url,
78
- }, style: bannerStyles }, h(TagName, { key: 'ce219857ea16f66413f0ffe066a42e2f6c7de2b7', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, h("img", { key: 'b8fd35ff9576c1c84b78a1c35fa26f0d8a7bdd83', class: "image", src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }), h("div", { key: 'e488f6860798e150634d0bd7355bfcfdd0639099', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: '50defa4cebf48f12beb6a6e25bb3b058bd4ab108', class: "pre-heading" }, h("slot", { key: '3fe0e93d82863d84d9f95b09e301ba409d959def', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: '4e7e6c68a1aca92f52e6e109216735f73d801174', class: "heading" }, h("duet-heading", { key: '2ac242af4113cff2e0aecdc7d08a5a5c576e0a83', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '9c9c3ea67f05664c74d029b1692fc861492ae803' }, h("slot", { key: '6e0d8069fdcd49bea6a9f090e195234de7ebb30f', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: 'ed90f9561b935ca29e72a2be7610815ddf7cb6f6', class: "description" }, h("duet-paragraph", { key: '50725ca77dd7bdfc626d0a04c9a312bbc26f7695', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'ab9901ea88b885a28027b12af72bf8080126407d' }, h("slot", { key: '0029e88a6d769cc0084b90c7be3035cda0a9a3b1', name: "description" }))))), this.hasActionSlot && (h("div", { key: '595080e76cbb790f9bf2cdbfcaaadd23966c596e', class: "action" }, h("slot", { key: '59d7aceeb4f3fe3e72a49a3e2bd405ab5dc043f8', name: "action" }))))))));
82
+ }, style: bannerStyles }, h(TagName, { key: '3e564c0bcfda6680953b88b4c8d78462bf938046', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, h("img", { key: 'd29c458cefa1d508258c17b8ceffeb7739519bf5', class: "image", src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }), h("div", { key: '994fb32775e2da22e3d3d28b0b7d95f115c083ec', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: 'cf3d737104fabdf6f04deef643fd06e0e0032db4', class: "pre-heading" }, h("slot", { key: 'd92602ce7cfc2b1f3c5779be9d6e735077a1deea', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'a23103a88fe437d4627a1f417e3bea353ad04851', class: "heading" }, h("duet-heading", { key: '762f79431019baecae385b2220c5dffecc326592', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '0233f85fb7b39558f901ebbdd2beda46f9679e7c' }, h("slot", { key: '57286a6f7d2527c6fa38fb8d5292b760d308ce44', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '70031569694cdefd28fb439fd790d067b56c3757', class: "description" }, h("duet-paragraph", { key: '5859eb0737fad1711d6013ce1350cb45831c3660', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'dd12525a9e8f185d607933fe4d58dd6ff2a71651' }, h("slot", { key: '0056201e47bede4761bea53b47fa621330d6fef7', name: "description" }))))), this.hasActionSlot && (h("div", { key: '2299fa55f537af1056c84adccbe7b876d7252434', class: "action" }, h("slot", { key: '3744426783f605338d6da2911e3d4bb83e899151', name: "action" }))))))));
79
83
  }
80
84
  static get is() { return "duet-promo-card"; }
81
85
  static get encapsulation() { return "shadow"; }