@duetds/components 10.0.0-alpha.30 → 10.0.0-alpha.32

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 (382) hide show
  1. package/hydrate/index.js +166 -129
  2. package/hydrate/index.mjs +166 -129
  3. package/lib/cjs/{a11y-utils-D2e4DE4A.js → a11y-utils-gRNAWDsE.js} +1 -1
  4. package/lib/cjs/{app-globals-P2FPiN9v.js → app-globals-IqxTFC9D.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-banner.cjs.entry.js +16 -10
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-button_2.cjs.entry.js +15 -26
  12. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  14. package/lib/cjs/duet-card.cjs.entry.js +9 -9
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +5 -5
  20. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -8
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
  31. package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
  32. package/lib/cjs/duet-hero.cjs.entry.js +15 -9
  33. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  34. package/lib/cjs/duet-indicator.cjs.entry.js +12 -4
  35. package/lib/cjs/duet-input_2.cjs.entry.js +7 -7
  36. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  44. package/lib/cjs/duet-modal.cjs.entry.js +9 -9
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +6 -6
  46. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +13 -6
  48. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  49. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  52. package/lib/cjs/duet-panel.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +7 -7
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +8 -8
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +7 -7
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-select.cjs.entry.js +5 -5
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +9 -9
  70. package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-textarea.cjs.entry.js +50 -34
  79. package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-B_Hqvx-5.js → errorcodes.utils-CI6sFyqj.js} +1 -1
  93. package/lib/cjs/{focus-utils-B7QfRXd-.js → focus-utils-D6oLee8e.js} +1 -1
  94. package/lib/cjs/{index-B1t_Yumd.js → index-CZgR8hZO.js} +1 -1
  95. package/lib/cjs/{label-e--2ISFA.js → label-DLhV0DOC.js} +1 -1
  96. package/lib/cjs/{language-utils-Ce6b_uA3.js → language-utils-iTAyJvsm.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-C8k-6Rvc.js → slot-utils-CnfGuEKm.js} +1 -1
  99. package/lib/cjs/{themeable-component-DmPMm0Cz.js → themeable-component-lQsgCsDa.js} +1 -1
  100. package/lib/cjs/{token-utils-COKjUxmn.js → token-utils-BJtlJxnJ.js} +1 -1
  101. package/lib/cjs/{tokens-9aevMbB1.js → tokens-BxWzRxOl.js} +3 -3
  102. package/lib/cjs/{tokens.module-Bhh9B2g8.js → tokens.module-DJt2h4FX.js} +3 -3
  103. package/lib/collection/components/duet-badge/duet-badge.css +3 -0
  104. package/lib/collection/components/duet-banner/duet-banner.css +24 -4
  105. package/lib/collection/components/duet-banner/duet-banner.js +29 -4
  106. package/lib/collection/components/duet-button/duet-button.css +19 -2
  107. package/lib/collection/components/duet-card/duet-card.css +4 -1
  108. package/lib/collection/components/duet-card/duet-card.js +22 -3
  109. package/lib/collection/components/duet-chip/duet-chip.css +3 -0
  110. package/lib/collection/components/duet-choice/duet-choice.css +9 -3
  111. package/lib/collection/components/duet-collapsible/duet-collapsible.css +3 -0
  112. package/lib/collection/components/duet-footer/duet-footer.js +1 -1
  113. package/lib/collection/components/duet-grid/duet-grid.js +6 -5
  114. package/lib/collection/components/duet-hero/duet-hero.js +30 -5
  115. package/lib/collection/components/duet-indicator/duet-indicator.css +4 -0
  116. package/lib/collection/components/duet-indicator/duet-indicator.js +35 -1
  117. package/lib/collection/components/duet-link/duet-link.css +29 -12
  118. package/lib/collection/components/duet-link/duet-link.js +3 -3
  119. package/lib/collection/components/duet-logo/duet-logo.css +3 -0
  120. package/lib/collection/components/duet-modal/duet-modal.js +2 -2
  121. package/lib/collection/components/duet-multiselect/duet-multiselect.css +3 -0
  122. package/lib/collection/components/duet-notification/duet-notification.css +1 -1
  123. package/lib/collection/components/duet-notification/duet-notification.js +9 -2
  124. package/lib/collection/components/duet-number-input/duet-number-input.css +3 -0
  125. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  126. package/lib/collection/components/duet-phone-input/duet-phone-input.css +3 -0
  127. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  128. package/lib/collection/components/duet-promo-card/duet-promo-card.css +3 -0
  129. package/lib/collection/components/duet-promo-card/duet-promo-card.js +21 -2
  130. package/lib/collection/components/duet-radio/duet-radio.css +6 -0
  131. package/lib/collection/components/duet-range-slider/duet-range-slider.css +3 -0
  132. package/lib/collection/components/duet-select/duet-select.css +3 -0
  133. package/lib/collection/components/duet-slideout/duet-slideout.css +9 -12
  134. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +2 -2
  135. package/lib/collection/components/duet-spinner/duet-spinner.css +5 -14
  136. package/lib/collection/components/duet-spinner/duet-spinner.js +13 -26
  137. package/lib/collection/components/duet-tab-group/duet-tab-group.css +1 -15
  138. package/lib/collection/components/duet-table/duet-table.js +3 -3
  139. package/lib/collection/components/duet-textarea/duet-textarea.css +3 -0
  140. package/lib/collection/components/duet-textarea/duet-textarea.js +57 -33
  141. package/lib/collection/components/duet-toggle/duet-toggle.css +3 -0
  142. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  143. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  144. package/lib/duet/duet.esm.js +1 -1
  145. package/lib/duet/{p-a5ebee52.entry.js → p-086ada06.entry.js} +1 -1
  146. package/lib/duet/{p-67cbf570.entry.js → p-092f1ba3.entry.js} +1 -1
  147. package/lib/duet/{p-492d90a6.entry.js → p-0a7a967d.entry.js} +1 -1
  148. package/lib/duet/{p-9c452a9d.entry.js → p-0ad4c0ed.entry.js} +1 -1
  149. package/lib/duet/{p-414f4b06.entry.js → p-0c434757.entry.js} +1 -1
  150. package/lib/duet/{p-81fdf21e.entry.js → p-10dda4be.entry.js} +1 -1
  151. package/lib/duet/{p-ec601f3c.entry.js → p-10fcd200.entry.js} +1 -1
  152. package/lib/duet/{p-5c4687b0.entry.js → p-15f436de.entry.js} +1 -1
  153. package/lib/duet/p-1ccd58c5.entry.js +4 -0
  154. package/lib/duet/{p-64482bf0.entry.js → p-1db13f0b.entry.js} +1 -1
  155. package/lib/duet/{p-513683f8.entry.js → p-1e0686a9.entry.js} +1 -1
  156. package/lib/duet/{p-4457a9cc.entry.js → p-242aa821.entry.js} +1 -1
  157. package/lib/duet/{p-7ab7b977.entry.js → p-2444ec8f.entry.js} +1 -1
  158. package/lib/duet/{p-625bf656.entry.js → p-289ccd98.entry.js} +1 -1
  159. package/lib/duet/{p-d49e4c1a.entry.js → p-2e2c2a19.entry.js} +1 -1
  160. package/lib/duet/{p-0cf754a3.entry.js → p-2ecc650a.entry.js} +1 -1
  161. package/lib/duet/{p-ca8ad275.entry.js → p-310bb92b.entry.js} +1 -1
  162. package/lib/duet/{p-da90aae6.entry.js → p-34450295.entry.js} +1 -1
  163. package/lib/duet/{p-ac7bf279.entry.js → p-345e2183.entry.js} +1 -1
  164. package/lib/duet/{p-52bb0826.entry.js → p-3604860c.entry.js} +1 -1
  165. package/lib/duet/p-37b2ee9a.entry.js +4 -0
  166. package/lib/duet/p-40870281.entry.js +4 -0
  167. package/lib/duet/{p-64db9820.entry.js → p-40a23d13.entry.js} +1 -1
  168. package/lib/duet/p-4d965642.entry.js +4 -0
  169. package/lib/duet/p-4f06d471.entry.js +4 -0
  170. package/lib/duet/{p-17b2fad7.entry.js → p-4fe07ef0.entry.js} +1 -1
  171. package/lib/duet/p-50825938.entry.js +4 -0
  172. package/lib/duet/{p-bba12747.entry.js → p-53cae335.entry.js} +1 -1
  173. package/lib/duet/{p-87d63c67.entry.js → p-5809592e.entry.js} +1 -1
  174. package/lib/duet/{p-11dc2ca3.entry.js → p-598e5e73.entry.js} +1 -1
  175. package/lib/duet/{p-835532a3.entry.js → p-5f184ba7.entry.js} +1 -1
  176. package/lib/duet/p-632e7663.entry.js +4 -0
  177. package/lib/duet/{p-4a743428.entry.js → p-672539ed.entry.js} +1 -1
  178. package/lib/duet/{p-d27678ec.entry.js → p-68a068da.entry.js} +1 -1
  179. package/lib/duet/{p-89119c58.entry.js → p-69b51723.entry.js} +1 -1
  180. package/lib/duet/p-6aa7994d.entry.js +4 -0
  181. package/lib/duet/{p-9ff0f670.entry.js → p-6fc4b281.entry.js} +1 -1
  182. package/lib/duet/{p-19c8adaa.entry.js → p-739c6384.entry.js} +1 -1
  183. package/lib/duet/{p-3f932150.entry.js → p-764400c1.entry.js} +1 -1
  184. package/lib/duet/{p-6d0a6cef.entry.js → p-7e71334f.entry.js} +1 -1
  185. package/lib/duet/{p-bf4c10ea.entry.js → p-82dce6d4.entry.js} +1 -1
  186. package/lib/duet/p-8a49f99d.entry.js +4 -0
  187. package/lib/duet/{p-9278d908.entry.js → p-8f4d8ad8.entry.js} +1 -1
  188. package/lib/duet/{p-3c5f5035.entry.js → p-936fb185.entry.js} +1 -1
  189. package/lib/duet/{p-9fe9aaec.entry.js → p-936fdded.entry.js} +1 -1
  190. package/lib/duet/{p-dceb943b.entry.js → p-949677c5.entry.js} +1 -1
  191. package/lib/duet/{p-653a4f52.entry.js → p-962271e5.entry.js} +1 -1
  192. package/lib/duet/{p-ae22406a.entry.js → p-98719175.entry.js} +1 -1
  193. package/lib/duet/{p-cf054af5.entry.js → p-989bad93.entry.js} +1 -1
  194. package/lib/duet/{p-05b44a92.entry.js → p-9eac0547.entry.js} +1 -1
  195. package/lib/duet/{p-CZ7vOBA_.js → p-B4KFAMK0.js} +1 -1
  196. package/lib/duet/p-BDAqOMlM.js +4 -0
  197. package/lib/duet/p-BZUiUO2r.js +5 -0
  198. package/lib/duet/{p-Df3Doz7n.js → p-Bg75Vqqq.js} +1 -1
  199. package/lib/duet/{p-CcCc0HYj.js → p-BuGwN6pE.js} +1 -1
  200. package/lib/duet/p-CmXKRkHp.js +4 -0
  201. package/lib/duet/{p-Bt_DCuTi.js → p-CvYfTat-.js} +1 -1
  202. package/lib/duet/p-DOuLHrH5.js +4 -0
  203. package/lib/duet/p-DoYaLdz3.js +4 -0
  204. package/lib/duet/p-NibHwfQi.js +4 -0
  205. package/lib/duet/{p-c74cd476.entry.js → p-a04be8ca.entry.js} +1 -1
  206. package/lib/duet/p-a102a6aa.entry.js +4 -0
  207. package/lib/duet/{p-df64aa65.entry.js → p-a3b21740.entry.js} +1 -1
  208. package/lib/duet/{p-39e7cc4b.entry.js → p-a597acb6.entry.js} +1 -1
  209. package/lib/duet/{p-3e08bd06.entry.js → p-acd1befc.entry.js} +1 -1
  210. package/lib/duet/{p-0c4bde0e.entry.js → p-b23c29f7.entry.js} +1 -1
  211. package/lib/duet/{p-93d1d4cb.entry.js → p-b308c0c2.entry.js} +1 -1
  212. package/lib/duet/p-b57ee80f.entry.js +4 -0
  213. package/lib/duet/{p-a22b9c52.entry.js → p-b8741a8d.entry.js} +1 -1
  214. package/lib/duet/{p-b8e1621d.entry.js → p-b8de3ad9.entry.js} +1 -1
  215. package/lib/duet/{p-52e64670.entry.js → p-b9123cc0.entry.js} +1 -1
  216. package/lib/duet/p-bfbadbcb.entry.js +4 -0
  217. package/lib/duet/{p-4efa7172.entry.js → p-c0130fb4.entry.js} +1 -1
  218. package/lib/duet/{p-2f34aa4c.entry.js → p-c1a3211b.entry.js} +1 -1
  219. package/lib/duet/p-c211c485.entry.js +4 -0
  220. package/lib/duet/p-c2b71972.entry.js +4 -0
  221. package/lib/duet/{p-e057762a.entry.js → p-c9f7f4ae.entry.js} +1 -1
  222. package/lib/duet/p-cc1c4f4e.entry.js +4 -0
  223. package/lib/duet/p-d1ca5023.entry.js +4 -0
  224. package/lib/duet/{p-ea09620e.entry.js → p-d6675d5a.entry.js} +1 -1
  225. package/lib/duet/p-d687723c.entry.js +4 -0
  226. package/lib/duet/{p-9fd3fbde.entry.js → p-d7a53137.entry.js} +1 -1
  227. package/lib/duet/p-da4ac3b6.entry.js +4 -0
  228. package/lib/duet/p-da53bd51.entry.js +4 -0
  229. package/lib/duet/{p-11303551.entry.js → p-dd0ef23d.entry.js} +1 -1
  230. package/lib/duet/{p-ec7bdfaf.entry.js → p-dd2f230e.entry.js} +1 -1
  231. package/lib/duet/{p-2f0a1808.entry.js → p-dd6b0719.entry.js} +1 -1
  232. package/lib/duet/{p-52f52f3f.entry.js → p-dd95273b.entry.js} +1 -1
  233. package/lib/duet/{p-7d8ba1c8.entry.js → p-e1de05fd.entry.js} +1 -1
  234. package/lib/duet/p-e83797f5.entry.js +4 -0
  235. package/lib/duet/{p-c2afba51.entry.js → p-eb331c3a.entry.js} +1 -1
  236. package/lib/duet/{p-ba0fc0f3.entry.js → p-eb781bf8.entry.js} +1 -1
  237. package/lib/duet/{p-963f5510.entry.js → p-f157de7a.entry.js} +1 -1
  238. package/lib/duet/{p-4d4f7a6e.entry.js → p-f9ccb081.entry.js} +1 -1
  239. package/lib/duet/{p-25bfc839.entry.js → p-fb1c1409.entry.js} +1 -1
  240. package/lib/duet/p-fc4091da.entry.js +4 -0
  241. package/lib/duet/p-n6rJZ22e.js +4 -0
  242. package/lib/duet/p-piYiXb5x.js +4 -0
  243. package/lib/esm/{a11y-utils-CfJGGdQJ.js → a11y-utils-C8mMYav1.js} +1 -1
  244. package/lib/esm/{app-globals-DGW8k4EA.js → app-globals-BM9EbF8c.js} +1 -1
  245. package/lib/esm/duet-action-button.entry.js +5 -5
  246. package/lib/esm/duet-alert.entry.js +4 -4
  247. package/lib/esm/duet-badge.entry.js +4 -4
  248. package/lib/esm/duet-banner.entry.js +16 -10
  249. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  250. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  251. package/lib/esm/duet-button_2.entry.js +15 -26
  252. package/lib/esm/duet-callout.entry.js +3 -3
  253. package/lib/esm/duet-caption_4.entry.js +11 -11
  254. package/lib/esm/duet-card.entry.js +9 -9
  255. package/lib/esm/duet-checkbox.entry.js +2 -2
  256. package/lib/esm/duet-checkmark.entry.js +2 -2
  257. package/lib/esm/duet-chip.entry.js +4 -4
  258. package/lib/esm/duet-choice_2.entry.js +5 -5
  259. package/lib/esm/duet-collapsible.entry.js +5 -5
  260. package/lib/esm/duet-combobox.entry.js +4 -4
  261. package/lib/esm/duet-contact-card.entry.js +3 -3
  262. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  263. package/lib/esm/duet-date-picker.entry.js +6 -6
  264. package/lib/esm/duet-divider_2.entry.js +4 -4
  265. package/lib/esm/duet-editable-table_3.entry.js +11 -8
  266. package/lib/esm/duet-empty-state.entry.js +2 -2
  267. package/lib/esm/duet-fieldset.entry.js +3 -3
  268. package/lib/esm/duet-file-chooser.entry.js +2 -2
  269. package/lib/esm/duet-footer.entry.js +5 -5
  270. package/lib/esm/duet-grid_2.entry.js +7 -6
  271. package/lib/esm/duet-header_2.entry.js +7 -7
  272. package/lib/esm/duet-hero.entry.js +15 -9
  273. package/lib/esm/duet-icon.entry.js +4 -4
  274. package/lib/esm/duet-indicator.entry.js +12 -4
  275. package/lib/esm/duet-input_2.entry.js +7 -7
  276. package/lib/esm/duet-layout.entry.js +2 -2
  277. package/lib/esm/duet-list_2.entry.js +2 -2
  278. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  279. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  280. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  281. package/lib/esm/duet-menu-bar-item.entry.js +5 -5
  282. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  283. package/lib/esm/duet-menu-bar.entry.js +3 -3
  284. package/lib/esm/duet-modal.entry.js +9 -9
  285. package/lib/esm/duet-multiselect.entry.js +6 -6
  286. package/lib/esm/duet-nav.entry.js +2 -2
  287. package/lib/esm/duet-notification_2.entry.js +13 -6
  288. package/lib/esm/duet-number-input.entry.js +5 -5
  289. package/lib/esm/duet-overlay.entry.js +2 -2
  290. package/lib/esm/duet-page-heading.entry.js +2 -2
  291. package/lib/esm/duet-pagination_2.entry.js +16 -16
  292. package/lib/esm/duet-panel.entry.js +2 -2
  293. package/lib/esm/duet-phone-input.entry.js +5 -5
  294. package/lib/esm/duet-popup-menu_2.entry.js +7 -7
  295. package/lib/esm/duet-progress.entry.js +3 -3
  296. package/lib/esm/duet-promo-card.entry.js +8 -8
  297. package/lib/esm/duet-radio_2.entry.js +4 -4
  298. package/lib/esm/duet-range-slider.entry.js +6 -6
  299. package/lib/esm/duet-scrollable_3.entry.js +7 -7
  300. package/lib/esm/duet-section-layout.entry.js +1 -1
  301. package/lib/esm/duet-select.entry.js +5 -5
  302. package/lib/esm/duet-shaped-image.entry.js +2 -2
  303. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  304. package/lib/esm/duet-share-chart.entry.js +6 -6
  305. package/lib/esm/duet-show-more.entry.js +3 -3
  306. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  307. package/lib/esm/duet-slideout-link.entry.js +5 -5
  308. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  309. package/lib/esm/duet-slideout-panel.entry.js +9 -9
  310. package/lib/esm/duet-slideout.entry.js +8 -8
  311. package/lib/esm/duet-status-icon.entry.js +2 -2
  312. package/lib/esm/duet-step_2.entry.js +3 -3
  313. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  314. package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
  315. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  316. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  317. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  318. package/lib/esm/duet-textarea.entry.js +50 -34
  319. package/lib/esm/duet-toggle.entry.js +5 -5
  320. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  321. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  322. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  323. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  324. package/lib/esm/duet-toolbar.entry.js +4 -4
  325. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  326. package/lib/esm/duet-tooltip.entry.js +5 -5
  327. package/lib/esm/duet-tray.entry.js +4 -4
  328. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  329. package/lib/esm/duet-upload-item.entry.js +4 -4
  330. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  331. package/lib/esm/duet.js +4 -4
  332. package/lib/esm/{errorcodes.utils-qEQnnnLR.js → errorcodes.utils-Dx5bYlis.js} +1 -1
  333. package/lib/esm/{focus-utils-D7bOJ91T.js → focus-utils-C9Mfpzkg.js} +1 -1
  334. package/lib/esm/{index-CjRTMlgs.js → index-BZUiUO2r.js} +1 -1
  335. package/lib/esm/{label-DI1u_MFQ.js → label-DA07U81d.js} +1 -1
  336. package/lib/esm/{language-utils-DMUadJDW.js → language-utils-DBHdig-k.js} +1 -1
  337. package/lib/esm/loader.js +4 -4
  338. package/lib/esm/{slot-utils-DmMljwEF.js → slot-utils-CiYHolIk.js} +1 -1
  339. package/lib/esm/{themeable-component-CULFNCJP.js → themeable-component-CMi71I41.js} +1 -1
  340. package/lib/esm/{token-utils-Dw-GA7-4.js → token-utils-Dks4GBDa.js} +1 -1
  341. package/lib/esm/{tokens-DcQPCCbT.js → tokens-DOuLHrH5.js} +3 -3
  342. package/lib/esm/{tokens.module-Bh9dkusU.js → tokens.module-BDAqOMlM.js} +3 -3
  343. package/lib/types/components/duet-banner/duet-banner.d.ts +4 -0
  344. package/lib/types/components/duet-card/duet-card.d.ts +4 -0
  345. package/lib/types/components/duet-grid/duet-grid.d.ts +1 -1
  346. package/lib/types/components/duet-hero/duet-hero.d.ts +4 -0
  347. package/lib/types/components/duet-indicator/duet-indicator.d.ts +8 -1
  348. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  349. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  350. package/lib/types/components/duet-spinner/duet-spinner.d.ts +5 -3
  351. package/lib/types/components/duet-textarea/duet-textarea.d.ts +13 -7
  352. package/lib/types/components.d.ts +50 -12
  353. package/package.json +15 -9
  354. package/lib/duet/p-14b9af85.entry.js +0 -4
  355. package/lib/duet/p-1UeoYjt6.js +0 -4
  356. package/lib/duet/p-2690a420.entry.js +0 -4
  357. package/lib/duet/p-37bdc3b9.entry.js +0 -4
  358. package/lib/duet/p-450983a5.entry.js +0 -4
  359. package/lib/duet/p-4b4d9bdc.entry.js +0 -4
  360. package/lib/duet/p-51e85e15.entry.js +0 -4
  361. package/lib/duet/p-559a54d1.entry.js +0 -4
  362. package/lib/duet/p-56331c29.entry.js +0 -4
  363. package/lib/duet/p-5f2507ee.entry.js +0 -4
  364. package/lib/duet/p-638d143f.entry.js +0 -4
  365. package/lib/duet/p-63d75040.entry.js +0 -4
  366. package/lib/duet/p-80157aab.entry.js +0 -4
  367. package/lib/duet/p-88b2a4ab.entry.js +0 -4
  368. package/lib/duet/p-8a22e0f7.entry.js +0 -4
  369. package/lib/duet/p-9bdedc1c.entry.js +0 -4
  370. package/lib/duet/p-BW-c05c3.js +0 -4
  371. package/lib/duet/p-Bh9dkusU.js +0 -4
  372. package/lib/duet/p-CjRTMlgs.js +0 -5
  373. package/lib/duet/p-DcQPCCbT.js +0 -4
  374. package/lib/duet/p-DmZj36y3.js +0 -4
  375. package/lib/duet/p-DzEPksgg.js +0 -4
  376. package/lib/duet/p-a39af7a5.entry.js +0 -4
  377. package/lib/duet/p-a49e7633.entry.js +0 -4
  378. package/lib/duet/p-b17749b1.entry.js +0 -4
  379. package/lib/duet/p-c8c7616a.entry.js +0 -4
  380. package/lib/duet/p-e04410c6.entry.js +0 -4
  381. package/lib/duet/p-ebd27669.entry.js +0 -4
  382. package/lib/duet/p-qH1epSqB.js +0 -4
@@ -34,6 +34,9 @@
34
34
  :host:last-child, :host:last-of-type {
35
35
  margin-right: 0 !important;
36
36
  }
37
+ [alignment=form-distribute] > :host:last-of-type:not(:last-child) {
38
+ margin-right: 8px !important;
39
+ }
37
40
  @media (max-width: 35.9375em) {
38
41
  :host {
39
42
  width: 100%;
@@ -46,6 +49,9 @@
46
49
  :host(.square):last-child, :host(.square):last-of-type {
47
50
  margin-right: 0 !important;
48
51
  }
52
+ [alignment=form-distribute] > :host(.square):last-of-type:not(:last-child) {
53
+ margin-right: 12px !important;
54
+ }
49
55
 
50
56
  :host(.input-button) {
51
57
  z-index: 250;
@@ -61,6 +67,10 @@
61
67
  :host(.duet-x-small):last-of-type {
62
68
  margin-right: 0 !important;
63
69
  }
70
+ [alignment=form-distribute] > :host(.duet-small):last-of-type:not(:last-child),
71
+ [alignment=form-distribute] > :host(.duet-x-small):last-of-type:not(:last-child) {
72
+ margin-right: 4px !important;
73
+ }
64
74
  @media (max-width: 35.9375em) {
65
75
  :host(.duet-small),
66
76
  :host(.duet-x-small) {
@@ -74,6 +84,9 @@
74
84
  :host(.duet-x-small):last-child, :host(.duet-x-small):last-of-type {
75
85
  margin-right: 0 !important;
76
86
  }
87
+ [alignment=form-distribute] > :host(.duet-x-small):last-of-type:not(:last-child) {
88
+ margin-right: 2px !important;
89
+ }
77
90
 
78
91
  :host(.square.duet-small),
79
92
  :host(.square.duet-x-small) {
@@ -84,6 +97,10 @@
84
97
  :host(.square.duet-x-small):last-of-type {
85
98
  margin-right: 0 !important;
86
99
  }
100
+ [alignment=form-distribute] > :host(.square.duet-small):last-of-type:not(:last-child),
101
+ [alignment=form-distribute] > :host(.square.duet-x-small):last-of-type:not(:last-child) {
102
+ margin-right: 8px !important;
103
+ }
87
104
 
88
105
  :host(.duet-expand) {
89
106
  width: 100% !important;
@@ -623,7 +640,7 @@
623
640
  }
624
641
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button.default {
625
642
  color: rgb(230, 23, 64) !important;
626
- border-color: rgb(251, 225, 209);
643
+ border-color: rgb(212, 221, 226);
627
644
  }
628
645
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover {
629
646
  outline-color: rgb(230, 23, 64);
@@ -684,7 +701,7 @@
684
701
  border-color: rgb(251, 225, 209) !important;
685
702
  }
686
703
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button.square {
687
- border-color: rgb(251, 225, 209);
704
+ border-color: rgb(212, 221, 226);
688
705
  }
689
706
  :host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative {
690
707
  background: rgb(230, 23, 64);
@@ -258,6 +258,9 @@
258
258
  margin: 0;
259
259
  }
260
260
  }
261
+ .duet-card-collapsed .duet-card-heading {
262
+ border-radius: var(--duet-card-border-radius);
263
+ }
261
264
  .duet-card-image-mask + .duet-card-heading {
262
265
  border-radius: 0;
263
266
  }
@@ -562,5 +565,5 @@ a.duet-card:active {
562
565
  color: rgb(23, 42, 59);
563
566
  }
564
567
  :host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer {
565
- background: rgb(251, 225, 209);
568
+ background: rgb(245, 246, 247);
566
569
  }
@@ -151,10 +151,10 @@ export class DuetCard {
151
151
  const styles = {
152
152
  backgroundColor: getColorByName(this.background),
153
153
  };
154
- return (h(Host, { key: '0df974f46d041de1e662425099375c3a7d1a4930', class: {
154
+ return (h(Host, { key: 'd92cd6fb922f1165e1d341221ac3f5433252606c', class: {
155
155
  "duet-m-0": this.margin === "none",
156
156
  "duet-card-info": this.variation === "info",
157
- } }, h(TagName, { key: '0a128da0eff230a20db8b3842e8a5d86e6735701', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
157
+ } }, h(TagName, { key: '7f870fc5061cd48c3464bd19ecd780fbb33f3e78', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
158
158
  "duet-card": true,
159
159
  [this.padding]: true,
160
160
  [this.variation]: true,
@@ -164,7 +164,7 @@ export class DuetCard {
164
164
  "duet-card-has-bg": this.background !== "gray-lightest",
165
165
  "duet-card-has-icon": !!this.icon,
166
166
  "duet-card-collapsed": this.collapsible && !this.open,
167
- } }, this.image && (h("div", { key: '1a6a47b88fb600849eaa9cc8d5108a41bd24b9ce', class: "duet-card-image-mask" }, h("img", { key: '3010252456dd0e210f11f32341a28c87ac872f4c', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: 'e5a1a24dfdb0d8d6d247333361f0f7bcccb05b0e', class: "duet-card-content", id: this.cardId }, h("slot", { key: '59044d033fc2b54dde397f5f18a424331208e54e' }), this.hasFooter && (h("div", { key: 'd9019dd209622eb7efbe267a7f7acf607956a3fa', class: "duet-card-footer" }, h("slot", { key: 'de1adb73d91026f80345564e24784df9c3fc3ee0', name: "footer" })))))));
167
+ } }, this.image && (h("div", { key: 'fd6822d5747d2882842c9c2392b28d8b7a2693f2', class: "duet-card-image-mask" }, h("img", { key: 'a1952cf1f82a4f8593130d9990ef27a2a982e5d8', src: this.image, class: "duet-card-image", loading: "lazy", alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: 'a11237f14582fad87aaab15e4dccad5c6ffd7b0b', class: "duet-card-content", id: this.cardId }, h("slot", { key: '80d250aa9dbb0f39a7683c6d2a1e1cdaca75cdd8' }), this.hasFooter && (h("div", { key: '87b27d7c69e3d5f3ab7bdb75cc76a1a11900ef0f', class: "duet-card-footer" }, h("slot", { key: '1212e0d9a33349cf68c7b667069077e02ee30197', name: "footer" })))))));
168
168
  }
169
169
  static get is() { return "duet-card"; }
170
170
  static get encapsulation() { return "shadow"; }
@@ -426,6 +426,25 @@ export class DuetCard {
426
426
  "setter": false,
427
427
  "reflect": false
428
428
  },
429
+ "imageAlt": {
430
+ "type": "string",
431
+ "attribute": "image-alt",
432
+ "mutable": false,
433
+ "complexType": {
434
+ "original": "string",
435
+ "resolved": "string",
436
+ "references": {}
437
+ },
438
+ "required": false,
439
+ "optional": false,
440
+ "docs": {
441
+ "tags": [],
442
+ "text": "Alt attribute text for the image. If not provided, image is assigned presentation role."
443
+ },
444
+ "getter": false,
445
+ "setter": false,
446
+ "reflect": false
447
+ },
429
448
  "background": {
430
449
  "type": "string",
431
450
  "attribute": "background",
@@ -32,6 +32,9 @@
32
32
  :host:last-child, :host:last-of-type {
33
33
  margin-right: 0 !important;
34
34
  }
35
+ [alignment=form-distribute] > :host:last-of-type:not(:last-child) {
36
+ margin-right: 8px !important;
37
+ }
35
38
 
36
39
  :host(.input) {
37
40
  margin-top: 6px !important;
@@ -32,6 +32,9 @@
32
32
  :host:last-child, :host:last-of-type {
33
33
  margin-right: 0 !important;
34
34
  }
35
+ [alignment=form-distribute] > :host:last-of-type:not(:last-child) {
36
+ margin-right: 16px !important;
37
+ }
35
38
  @media (max-width: 35.9375em) {
36
39
  :host {
37
40
  width: 100%;
@@ -68,6 +71,9 @@
68
71
  :host(.horizontal-responsive):last-child, :host(.horizontal-responsive):last-of-type {
69
72
  margin-right: 0 !important;
70
73
  }
74
+ [alignment=form-distribute] > :host(.horizontal-responsive):last-of-type:not(:last-child) {
75
+ margin-right: 16px !important;
76
+ }
71
77
  }
72
78
 
73
79
  :host(:last-child:not(:only-child)) {
@@ -552,7 +558,7 @@ label.disabled .duet-checkmark-container {
552
558
  border-color: rgb(178, 194, 205);
553
559
  }
554
560
  :host(.duet-theme-turva2) .duet-theme-turva .checked > .duet-choice-label {
555
- background: rgb(253, 247, 242);
561
+ background: rgb(245, 246, 247);
556
562
  border-color: rgb(23, 42, 59) !important;
557
563
  }
558
564
  :host(.duet-theme-turva2) .duet-theme-turva .checked > .duet-choice-label .duet-checkmark-container {
@@ -573,7 +579,7 @@ label.disabled .duet-checkmark-container {
573
579
  border-color: rgb(23, 42, 59);
574
580
  }
575
581
  :host(.duet-theme-turva2) .duet-theme-turva.duet-choice-card-info {
576
- background: rgb(253, 247, 242);
582
+ background: rgb(245, 246, 247);
577
583
  border-color: rgb(178, 194, 205);
578
584
  }
579
585
  :host(.duet-theme-turva2) .duet-theme-turva .duet-checkmark-container {
@@ -583,7 +589,7 @@ label.disabled .duet-checkmark-container {
583
589
  border-color: rgb(178, 194, 205);
584
590
  }
585
591
  :host(.duet-theme-turva2) .duet-theme-turva.duet-choice-info-toggle[aria-expanded=true] {
586
- background: rgb(253, 247, 242);
592
+ background: rgb(245, 246, 247);
587
593
  border-bottom-color: transparent;
588
594
  }
589
595
 
@@ -154,6 +154,9 @@
154
154
  .duet-collapsible-heading-icon:last-child, .duet-collapsible-heading-icon:last-of-type {
155
155
  margin-right: 0 !important;
156
156
  }
157
+ [alignment=form-distribute] > .duet-collapsible-heading-icon:last-of-type:not(:last-child) {
158
+ margin-right: 8px !important;
159
+ }
157
160
  [aria-expanded=true] .duet-collapsible-heading-icon {
158
161
  transform: rotate(180deg);
159
162
  }
@@ -162,7 +162,7 @@ export class DuetFooter {
162
162
  : "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
163
163
  ? "medium"
164
164
  : "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
165
- }))))), h("slot", { key: 'ef58bb0c86abf7d7922468e818c1211aa0c1745f', name: "extra" }), h("p", { key: 'da0032d001c78e0b1c4c574891959a2cc2217101', class: "duet-footer-menu", part: "menu" }, h("span", { key: 'ff5f4090afdd2a8c1d563e4942c6d654d1f03c68', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), h("span", { key: 'a2d153deab53043cc12006667388461b1ca0e502', class: "duet-footer-menu-links" }, this.processedMenu && (h(Fragment, { key: '58b63836a80f8b342a259661da05fe8e9f961809' }, this.processedMenu.map(item => (h("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-footer-external" }, h("duet-icon", { icon: newWindowIconSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), h("p", { key: '29df5df3e5b34d3c3329350878c3196ef7afe689', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
165
+ }))))), h("slot", { key: '361a7bcbb2822507495f9ce3d2cba71c5787ad60', name: "extra" }), h("p", { key: 'd550a699008989e92c8ccb0f856f730a0f0d408a', class: "duet-footer-menu", part: "menu" }, h("span", { key: 'd0382fd0c48916c77ae76340f1797b35edb62863', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), h("span", { key: '085136a2a21443c434ef94fd8917616c07f764e9', class: "duet-footer-menu-links" }, this.processedMenu && (h(Fragment, { key: 'df5f48b86ef46c1bfb03cf75e55ef2e402af1479' }, this.processedMenu.map(item => (h("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-footer-external" }, h("duet-icon", { icon: newWindowIconSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), h("p", { key: '475e550d7b43e8a0ddd78b4ea001c78452b783e1', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
166
166
  }
167
167
  static get is() { return "duet-footer"; }
168
168
  static get encapsulation() { return "shadow"; }
@@ -45,8 +45,8 @@ export class DuetGrid {
45
45
  */
46
46
  this.gridTemplate = null;
47
47
  }
48
- validateAlignment(newValue) {
49
- if (newValue === "form_distribute") {
48
+ validateAlignment() {
49
+ if (this.alignment === "form_distribute") {
50
50
  console.warn(`DuetGrid alignment value "form_distribute" is deprecated, replace with "form-distribute"`);
51
51
  this.alignment = "form-distribute";
52
52
  }
@@ -77,6 +77,7 @@ export class DuetGrid {
77
77
  this.childObserver = new MutationObserver(this.updateGridItems.bind(this));
78
78
  this.childObserver.observe(this.element, { childList: true });
79
79
  }
80
+ this.validateAlignment();
80
81
  // the next two functions are used to watch for changes in the grid items, and are process intensive - so only run when needed
81
82
  if (this.alignment === "form-distribute") {
82
83
  if (!Build.isServer) {
@@ -197,7 +198,7 @@ export class DuetGrid {
197
198
  * Always the last one in the class.
198
199
  */
199
200
  render() {
200
- return (h(Host, { key: '9212e2e0bff89f3625e4194c7c1ea2d8f71576c9', class: {
201
+ return (h(Host, { key: 'bc25c7c22f88bade50b1241086cbc3fccd94db28', class: {
201
202
  "duet-grid": true,
202
203
  "duet-no-stacking": !this.responsive,
203
204
  "duet-grid-align-top": this.alignment === "top", // flex-start
@@ -224,7 +225,7 @@ export class DuetGrid {
224
225
  "duet-grid-row-reverse": this.rowReverse,
225
226
  [`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
226
227
  [`duet-grid-template-${this.gridTemplate}`]: true,
227
- } }, h("slot", { key: '3b4490d66c0ad8256492ab43535a62150495ca41' })));
228
+ } }, h("slot", { key: 'de127117a8189fccfa81ff58be25f057afb45729' })));
228
229
  }
229
230
  static get is() { return "duet-grid"; }
230
231
  static get encapsulation() { return "shadow"; }
@@ -355,7 +356,7 @@ export class DuetGrid {
355
356
  },
356
357
  "getter": false,
357
358
  "setter": false,
358
- "reflect": true,
359
+ "reflect": false,
359
360
  "defaultValue": "\"top\""
360
361
  },
361
362
  "distribution": {
@@ -241,6 +241,12 @@ export class DuetHero {
241
241
  backgroundSize: imageSizeIsCover ? "cover" : null,
242
242
  backgroundPosition: imagePositionIsCenter ? "center" : null,
243
243
  };
244
+ const bgImgA11yAttrs = this.image && this.imageAlt
245
+ ? {
246
+ role: "img",
247
+ ["aria-label"]: this.imageAlt,
248
+ }
249
+ : {};
244
250
  const buttonStyles = {
245
251
  transform: "translateX(-8px)",
246
252
  };
@@ -277,7 +283,7 @@ export class DuetHero {
277
283
  outlineColor = "color-primary-turva";
278
284
  }
279
285
  }
280
- return (h("div", { key: 'fc3ecc930f72a824e8e8e488594714fe52f31fff', role: "region", class: {
286
+ return (h("div", { key: 'a872538e09667dd29910e010ec8ccc159fc15193', role: "region", class: {
281
287
  "duet-hero": true,
282
288
  "duet-theme-turva": this.theme === "turva",
283
289
  "duet-has-category-icon": !!this.categoryIcon,
@@ -295,17 +301,17 @@ export class DuetHero {
295
301
  "duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
296
302
  "duet-hero-left-align": this.leftAlign && !campaignOrSection,
297
303
  "duet-hero-narrow": this.layout === "narrow",
298
- }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: 'a8cdeb3e0c17fed0de61ab1c84a5f8b4eb92d43f', class: "background-area" }, h("div", { key: 'c0e772e0eb58c3b59be2ef2441653d7d9355b7be', class: "background-container" }, h("div", { key: 'ff30622beb78548046143236845a8c6252dc4c40', class: "background" }, h("img", { key: '4ed685b3b1f5926867fcf8e53050a4f4dbe71060', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), h("div", { key: '8757c109c1ecbf249d31b7f3fdfe062e7cbcdf46', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: 'b6b734d21571cbe03adab7be1942caa351eb886e', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '5e6e459f153a9665bc8993789961ae5d23ff389e', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '593f8f68c2df59b1e6499eb6f59394dee782891e', class: { background: true, [this.layout]: true } }, h("div", { key: '49aaadfc675e5cc1cf528cfb3516577d3baa1c4f', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '52d15566f49e4ee0d72ab9ec10f992d55291a2cd', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: 'a7275c16c76b667037cfe0044b21b11ce09bf413', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: 'a3522f3ed67befbb439ee07195e959180b3e01a1', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: '3cb4ef66b9af1357e75318bc6f97e732e1787ce2', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { key: 'c15dfb764fe13d5766c3ad5e2b4bf012c739e257', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: 'd5f3d4a50473d2e2b56575de789e42c246c69987', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: 'c0ace6245e4431276a7e72a618b37f967d0b4bc5', class: "background-area" }, h("div", { key: 'cf04f88d15da106d8416d910835e07e87dd04bea', class: "background" }, h("div", { key: '0536ea5ec869a1ec253ab616a12485b01433982d', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'd7933f6c85dc709697ba451cf89cda8f7a9e3f03', class: "brand-shape" }), h("div", { key: 'c5fd0f3a99befd7d054303c9ebfd596989e7ccb8', class: "brand-shaped-image" }, h("div", { key: '96c71979b18e456b1a94fbb2bc1ae56bbf5cf318', class: "brand-shaped-image-wrapper" }, h("div", { key: 'acd8a1ce0a639e28970c6ca41b789bcfac03f9c7', class: "brand-shaped-image-bg", style: styles })))))), h("div", { key: '8d08cf63aac9a03e1874b8cbfa4741ee1f1c4949', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: '6da49938f8cf4c5038179fb9b48e0d8d5b8a521a', class: "duet-hero-image-mask" }, h("div", { key: '1682a488a00e1188d2be47d0aa895277f065adee', class: "duet-hero-image-wrapper" }, h("div", { key: '6fc100efe321915493d840f3fd2f01100fa954fd', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
299
- this.processedBack && (h("div", { key: '2777feaa8cc994cf4215d49143c69bee06d85552', class: "duet-hero-back" }, h("duet-button", { key: '57315d5cb34c6db55f6642224b442b12ebb7fe9a', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
304
+ }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '5fce1acae0804c6aa76b81868cac88f4de370591', class: "background-area" }, h("div", { key: '26bc63e00bbe21bc2529a0a6b74b73df20d529c0', class: "background-container" }, h("div", { key: '89f29c709d599b57c3b3897291587bd4a572042a', class: "background" }, h("img", { key: '6b18c9f0c48c5ce6f552a8d10e587587872307c9', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" })), h("div", { key: 'caaa93907f9d4a2f49f7b3f16b61dbbdbcd61c7c', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: '763eaabf43c0bf0d6a18c070e393a03dca0d4238', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '9e62908d2cbff9a8ce2bd5434b07baf8828a9214', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '68716ca1d4bbb642c486676fa44b089e03c3426c', class: { background: true, [this.layout]: true } }, h("div", { key: '36e338bcd659d3fc9a2a326f9352f24956c43256', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '0dc480d5857ee243dc06ce057cc781529bcdb973', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '2d7de37e7d6f03f9e6c0d87dbe74a809531341bf', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: 'a80f4df7139b1dc0c164a6533aa742ee4a1df05e', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", Object.assign({ key: '8507b8c3105846c34aebf25805475ceb753186e0', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }, bgImgA11yAttrs)))), this.categoryIcon && (h("div", { key: '890b16f5971cfa309d72560f7e74f8d9fc319f66', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: 'b0f2677fe1a4b696c44cbe9d3439ff62f2cbce4b', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '1e6981b9b8e33f2074418ccd073b295e6089e9ed', class: "background-area" }, h("div", { key: '5d80662daab0e2a82fe04cef22fd6810efcf8546', class: "background" }, h("div", { key: 'c1900e8ff166fda36b996ddbc3f440c629e9f035', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '138a86337de478e6349b92624f09e7a54cb0e931', class: "brand-shape" }), h("div", { key: '2bb8747411e19ad3dd8b3ac634dd0726e4183e0d', class: "brand-shaped-image" }, h("div", { key: '5e6c1579f9e9662a700d602582d3034a818b3693', class: "brand-shaped-image-wrapper" }, h("div", Object.assign({ key: 'd7209ba3a4242b87c9d447c73a2879dfbc7d9d06', class: "brand-shaped-image-bg", style: styles }, bgImgA11yAttrs))))))), h("div", { key: '21e9a6acecfc916399a76bf19e00835d28fe7c0a', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'da6ce766831a1d2a717fe419ec433aa1f91b03de', class: "duet-hero-image-mask" }, h("div", { key: '7cf7a7dc580dc783f9f5f50bcbf72d41b15eb378', class: "duet-hero-image-wrapper" }, h("div", Object.assign({ key: 'd4ae32f29a59ee2f6430d31a34b8958f467155d4', class: "duet-hero-image", style: styles }, bgImgA11yAttrs))))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
305
+ this.processedBack && (h("div", { key: '6863cbe7678662d81cf79c318cb3b75de005f314', class: "duet-hero-back" }, h("duet-button", { key: '55e2dc9e3964c7dde235ddff6a95443997c99305', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
300
306
  label: this.processedBack.label,
301
307
  href: this.processedBack.href,
302
308
  id: this.processedBack.id,
303
309
  analyticsId: this.processedBack.analyticsId,
304
- }) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '282df2be20e350964563837a2344b4fd3fbd6812', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '0a04e8f9ada19e0e157a52295248291e4ce30703', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: '38897d3fc34f854e13e2675bc3c79005a7ba16b1', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: 'c77b97021d7c7a735ce0aeba42fabce91d83da39', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: 'cd22335d7881e672e2df6367d58c734784ff5f6e', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: 'ce92b7e2ce3f86fa082b8601dd070d5a76b27437', theme: this.theme, level: this.hasSubHeadingSlotNative ? "div" : this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: 'f79855d9d88deba48f86e05f2318cf9459da6db0', name: "subheading" }))), this.description && (h("duet-paragraph", { key: '9b3cefb7c435efb47e07a1501e18dee9db1b6b5b', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '1c4915294fb3b2335ff981939207a961069d6b74', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: 'ba2b9cded251cad0aea4ebd4c66d1fddf78bea38', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '0570f78ab10d749668c6dc20bb97db5896ce1039' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '647db5a0b2aa0416fd2a499bf168523b2f090e81', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
310
+ }) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '5f76b32e9c37115a665dba180113bfaf8d706e1b', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '3c5b2a7062ef0a22c8c78fc2bb5c4a0f4d5e351e', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: 'ffb0037467d7a1f483b3bd21fc274ec83e790f1a', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: 'ccd809ffdd2d4fc7ac48632759b604b647add40e', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: 'bc6c130c314bf164c42fc8cb87fda199967c9237', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: '963c8438ec6323eef745e2405dba51c660bf3437', theme: this.theme, level: this.hasSubHeadingSlotNative ? "div" : this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: 'c3de01174e3976af162c9cd8610bc5028bf94a2a', name: "subheading" }))), this.description && (h("duet-paragraph", { key: '356d3bdf54e70df94df7588bddd1b11d4b506826', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '7368b837749d30ef0f82ab3c896bbbfc5407f797', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: '9995622873298d66e258e9de20e03d7eed3ace16', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '595b3c8c2b34fe4ce259d69876c3da3a1ef0e826' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '9b5bc347f7ae36979655a300f74943ac226f6516', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
305
311
  this.variation !== "image" &&
306
312
  !campaignOrSection &&
307
313
  this.variation !== "product" &&
308
- this.variation !== "content" && h("div", { key: '32f36cc551b37aefb3a06403431479f4d4e7460d', class: "duet-hero-image", style: styles }), h("slot", { key: 'd53f84c8a9c995bb049ba25531b49b8119d40353', name: "bottom" }))));
314
+ this.variation !== "content" && h("div", Object.assign({ key: '19a6e4b9ec23150728f38a1ddca45980bbf9deb0', class: "duet-hero-image", style: styles }, bgImgA11yAttrs)), h("slot", { key: 'df6fbc1b019210185ffefc3df52dcb8c197de8f3', name: "bottom" }))));
309
315
  }
310
316
  static get is() { return "duet-hero"; }
311
317
  static get encapsulation() { return "shadow"; }
@@ -851,6 +857,25 @@ export class DuetHero {
851
857
  "reflect": false,
852
858
  "defaultValue": "\"auto\""
853
859
  },
860
+ "imageAlt": {
861
+ "type": "string",
862
+ "attribute": "image-alt",
863
+ "mutable": false,
864
+ "complexType": {
865
+ "original": "string",
866
+ "resolved": "string",
867
+ "references": {}
868
+ },
869
+ "required": false,
870
+ "optional": false,
871
+ "docs": {
872
+ "tags": [],
873
+ "text": "Alt attribute text for the image. If not provided, image is assigned presentation role."
874
+ },
875
+ "getter": false,
876
+ "setter": false,
877
+ "reflect": false
878
+ },
854
879
  "variation": {
855
880
  "type": "string",
856
881
  "attribute": "variation",
@@ -43,4 +43,8 @@
43
43
  }
44
44
  .duet-indicator-success {
45
45
  background: rgb(29, 106, 88);
46
+ }
47
+
48
+ :host(.duet-theme-turva2) .duet-indicator-new {
49
+ background-color: rgb(230, 23, 64);
46
50
  }
@@ -2,6 +2,7 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
5
6
  import { getLocaleString } from "../../utils/language-utils";
6
7
  export class DuetIndicator {
7
8
  constructor() {
@@ -32,12 +33,19 @@ export class DuetIndicator {
32
33
  * only in special cases, as errors and succeses normally require a more prominent message.
33
34
  */
34
35
  this.variation = "change";
36
+ /**
37
+ * Theme of the component
38
+ */
39
+ this.theme = "";
35
40
  this.getAccessibleLabel = () => {
36
41
  return this.accessibleLabel || getLocaleString(this.defaultLabels[this.variation]);
37
42
  };
38
43
  }
44
+ componentWillLoad() {
45
+ inheritGlobalTheme(this);
46
+ }
39
47
  render() {
40
- return (h(Host, { key: '09990afce3e74a91ff9ce76ac6a038418e40272e' }, h("span", { key: 'e5695f01c4d009bc1c18b92b07975980e799becd', class: { "duet-indicator": true, [`duet-indicator-${this.variation}`]: true } }), h("duet-visually-hidden", { key: '4300b55a370c674cb6bd0caf3f5b834e382481a9' }, this.getAccessibleLabel())));
48
+ return (h(Host, { key: 'b2f09b35f7fbb61445756df5e6df2f75bb0246ff', class: { [this.theme]: true } }, h("span", { key: '81de43cc175005dc2001d65e7e34813c1afbefca', class: { "duet-indicator": true, [`duet-indicator-${this.variation}`]: true } }), h("duet-visually-hidden", { key: 'cebd5630b42f0c4bca8497db1b2caa5326822ef5' }, this.getAccessibleLabel())));
41
49
  }
42
50
  static get is() { return "duet-indicator"; }
43
51
  static get encapsulation() { return "shadow"; }
@@ -97,6 +105,32 @@ export class DuetIndicator {
97
105
  "getter": false,
98
106
  "setter": false,
99
107
  "reflect": false
108
+ },
109
+ "theme": {
110
+ "type": "string",
111
+ "attribute": "theme",
112
+ "mutable": true,
113
+ "complexType": {
114
+ "original": "DuetTheme",
115
+ "resolved": "\"\" | \"default\" | \"turva\"",
116
+ "references": {
117
+ "DuetTheme": {
118
+ "location": "import",
119
+ "path": "../../common-types",
120
+ "id": "src/common-types.d.ts::DuetTheme"
121
+ }
122
+ }
123
+ },
124
+ "required": false,
125
+ "optional": false,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": "Theme of the component"
129
+ },
130
+ "getter": false,
131
+ "setter": false,
132
+ "reflect": false,
133
+ "defaultValue": "\"\""
100
134
  }
101
135
  };
102
136
  }
@@ -36,6 +36,9 @@
36
36
  :host(.duet-link-button):last-child, :host(.duet-link-button):last-of-type {
37
37
  margin-right: 0 !important;
38
38
  }
39
+ [alignment=form-distribute] > :host(.duet-link-button):last-of-type:not(:last-child) {
40
+ margin-right: 8px !important;
41
+ }
39
42
 
40
43
  :host(.duet-m-0) {
41
44
  margin: 0 !important;
@@ -155,6 +158,10 @@ button {
155
158
  .block-center.duet-link.none {
156
159
  padding: 0;
157
160
  }
161
+ .block.duet-link:hover .duet-link-content,
162
+ .block-center.duet-link:hover .duet-link-content {
163
+ color: rgb(0, 97, 155);
164
+ }
158
165
  .block .block__icon,
159
166
  .block-center .block__icon {
160
167
  display: flex;
@@ -430,30 +437,40 @@ button {
430
437
  }
431
438
  }
432
439
 
433
- :host(.duet-theme-turva2) .duet-link.duet-theme-turva {
440
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link {
434
441
  color: rgb(185, 3, 41);
435
442
  }
436
- :host(.duet-theme-turva2) .duet-link.duet-theme-turva:hover {
443
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link:hover {
437
444
  color: rgb(140, 0, 30);
438
445
  }
439
- :host(.duet-theme-turva2) .duet-tab-to-link.duet-theme-turva {
440
- color: rgb(23, 42, 59);
441
- }
442
- :host(.duet-theme-turva2) .duet-link.button.duet-theme-turva,
443
- :host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva {
446
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.button, :host(.duet-theme-turva2) .duet-theme-turva.duet-link.list-button {
444
447
  border-color: rgb(178, 194, 205);
445
448
  }
446
- :host(.duet-theme-turva2) .duet-link.button.duet-theme-turva .duet-link-content,
447
- :host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva .duet-link-content {
449
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.button .duet-link-content, :host(.duet-theme-turva2) .duet-theme-turva.duet-link.list-button .duet-link-content {
448
450
  color: rgb(23, 42, 59);
449
451
  }
450
- :host(.duet-theme-turva2) .duet-link.button.duet-theme-turva:hover {
452
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.button:hover {
451
453
  outline-color: rgb(230, 23, 64);
452
454
  border-color: rgb(230, 23, 64);
453
455
  }
454
- :host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover {
456
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.list-button:hover {
455
457
  border-color: rgb(178, 194, 205);
456
458
  }
457
- :host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover .duet-link-content {
459
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.list-button:hover .duet-link-content {
458
460
  color: rgb(230, 23, 64);
461
+ }
462
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.block, :host(.duet-theme-turva2) .duet-theme-turva.duet-link.block-center {
463
+ color: rgb(23, 42, 59);
464
+ }
465
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.block .duet-link-content, :host(.duet-theme-turva2) .duet-theme-turva.duet-link.block-center .duet-link-content {
466
+ color: rgb(23, 42, 59);
467
+ }
468
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.block:hover, :host(.duet-theme-turva2) .duet-theme-turva.duet-link.block-center:hover {
469
+ color: rgb(185, 3, 41);
470
+ }
471
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-link.block:hover .duet-link-content, :host(.duet-theme-turva2) .duet-theme-turva.duet-link.block-center:hover .duet-link-content {
472
+ color: rgb(185, 3, 41);
473
+ }
474
+ :host(.duet-theme-turva2) .duet-theme-turva.duet-tab-to-link {
475
+ color: rgb(23, 42, 59);
459
476
  }
@@ -152,7 +152,7 @@ export class DuetLink {
152
152
  return (h(Fragment, null, h("span", { class: "duet-link-content", part: "duet-link-content" }, h("slot", null)), Build.isBrowser && (this.resolvedDownload || this.external) && this.variation === "default" && (h(Fragment, null, h("span", { class: "duet-link-icon-tail" }, "\u00A0", h("duet-icon", { icon: this.resolvedDownload ? downloadIcon.svg : newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" }))))));
153
153
  }
154
154
  renderBlockContent() {
155
- return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", { class: this.iconResponsive ? "icon-responsive" : "", size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), h("span", { class: "block__content" }, this.renderDefaultContent()), h("span", { class: "block__chevron", part: "block-chevron" }, h("duet-icon", { class: "block__chevron-icon", icon: this.external ? newWindowIconLarge.svg : chevronIcon.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
155
+ return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", { class: this.iconResponsive ? "icon-responsive" : "", size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), h("span", { class: "block__content" }, this.renderDefaultContent()), h("span", { class: "block__chevron", part: "block-chevron" }, h("duet-icon", { class: "block__chevron-icon", icon: this.external ? newWindowIconLarge.svg : chevronIcon.svg, size: "x-small", margin: "none", color: "primary" }))));
156
156
  }
157
157
  renderButtonCardContent() {
158
158
  const iconWrapStyle = {
@@ -181,10 +181,10 @@ export class DuetLink {
181
181
  const Tag = !this.url && this.variation !== "default" ? "button" : "a";
182
182
  const role = !this.url && this.variation === "default" ? "button" : null;
183
183
  const isButton = Tag === "button";
184
- return (h(Host, { key: 'c6dfd9dd4ce34ea1deea147e76481197cfa90854', class: {
184
+ return (h(Host, { key: 'c9771c4890b8c42dd47c1b5794a9bd1bac35e26f', class: {
185
185
  [`duet-link-${this.variation}`]: true,
186
186
  "duet-m-0": this.margin === "none",
187
- } }, h(Tag, { key: '72968ba8e93c2773e8cdbdc7521a854e63569826', href: this.url, class: {
187
+ } }, h(Tag, { key: '63c398171aaf01ce55e54040fc911587749b4d0e', href: this.url, class: {
188
188
  "duet-link": true,
189
189
  "duet-link-is-external": this.external,
190
190
  "duet-link-is-download": !!this.download,
@@ -28,6 +28,9 @@
28
28
  :host:last-child, :host:last-of-type {
29
29
  margin-right: 0 !important;
30
30
  }
31
+ [alignment=form-distribute] > :host:last-of-type:not(:last-child) {
32
+ margin-right: 8px !important;
33
+ }
31
34
 
32
35
  :host(.duet-m-0) {
33
36
  margin: 0 !important;
@@ -367,11 +367,11 @@ export class DuetModal {
367
367
  "duet-modal-gutter-small": this.gutterSize === "small",
368
368
  "duet-modal-gutter-medium": this.gutterSize === "medium",
369
369
  "duet-modal-gutter-large": this.gutterSize === "large",
370
- }, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: 'eddd353009b508fe5ecd04aa866f076a064626de', class: "duet-modal-header" }, h("span", { key: '696ad960d20a5e5bf68dc9ec9da5d59773accf10', class: "duet-modal-inner-slot-top" }, h("slot", { key: '28f0677621250a3da6899f055ba374dd78a17a35', name: "top" })), this.icon && h("duet-icon", { key: '7b9e797b9f5296effdfc0beaac29be90e0310436', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'ba31f51f36989421ecb8f741b285d7d2638f2f7a', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '2bae6fedd2f1ab7b40264c2d6c3b4f69f9627d2c', class: "duet-modal-spinner" }, h("duet-spinner", { key: 'd5f27b579909233f930b09251b7faa6fd7d35a78', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: '80dc7b4389d406fc348351678e2c234f17c22259', "aria-live": this.variation === "loader"
370
+ }, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: 'eddd353009b508fe5ecd04aa866f076a064626de', class: "duet-modal-header" }, h("span", { key: '696ad960d20a5e5bf68dc9ec9da5d59773accf10', class: "duet-modal-inner-slot-top" }, h("slot", { key: '28f0677621250a3da6899f055ba374dd78a17a35', name: "top" })), this.icon && h("duet-icon", { key: '7b9e797b9f5296effdfc0beaac29be90e0310436', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'ba31f51f36989421ecb8f741b285d7d2638f2f7a', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '2bae6fedd2f1ab7b40264c2d6c3b4f69f9627d2c', class: "duet-modal-spinner" }, h("duet-spinner", { key: 'd5f27b579909233f930b09251b7faa6fd7d35a78', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: 'f667634f35e5048df2ea536709e76beca9cb3a49', "aria-live": this.variation === "loader"
371
371
  ? "assertive"
372
372
  : this.accessibleAnnounceChanges === "body"
373
373
  ? "polite"
374
- : null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: 'fc0270b2ceb540d2e2015ba9131dcd46f01c702e' })))))));
374
+ : null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: 'c8523317779ddc6acd2de899022ea31535612291' })))))));
375
375
  }
376
376
  static get is() { return "duet-modal"; }
377
377
  static get encapsulation() { return "shadow"; }
@@ -98,6 +98,9 @@
98
98
  :host:last-child, :host:last-of-type {
99
99
  margin-right: 0 !important;
100
100
  }
101
+ [alignment=form-distribute] > :host:last-of-type:not(:last-child) {
102
+ margin-right: 16px !important;
103
+ }
101
104
  @media (min-width: 36em) {
102
105
  :host {
103
106
  width: calc(50% - 16px - 3px);
@@ -159,6 +159,6 @@
159
159
  }
160
160
  @media (min-width: 62em) {
161
161
  :host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva {
162
- background: rgb(253, 247, 242);
162
+ background: rgb(251, 235, 225);
163
163
  }
164
164
  }
@@ -5,6 +5,7 @@ import { h } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
7
7
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
8
+ import { getElementsFromDefaultSlot } from "../../utils/slot-utils";
8
9
  export class DuetNotification {
9
10
  constructor() {
10
11
  /**
@@ -71,12 +72,18 @@ export class DuetNotification {
71
72
  async setFocus(options) {
72
73
  this.linkElement.focus(options);
73
74
  }
75
+ getAriaLabelText() {
76
+ const slottedElements = getElementsFromDefaultSlot(this.element);
77
+ const slottedText = slottedElements.map(e => e.textContent.trim()).join(". ");
78
+ const indicatorText = this.highlight ? `${this.accessibleLabelUnread}. ` : "";
79
+ return `${indicatorText}${slottedText}${slottedText.endsWith(".") ? "" : "."} ${this.date}`;
80
+ }
74
81
  render() {
75
- return (h("div", { key: '7e4e38752baee0c65e84c4edfa1ea6225daef0a9', role: "listitem", class: {
82
+ return (h("div", { key: '8497858acf685b75adce100af83521ea62dad249', role: "listitem", class: {
76
83
  "duet-notification": true,
77
84
  "duet-notification-highlight": this.highlight,
78
85
  "duet-theme-turva": this.theme === "turva",
79
- } }, h("a", { key: 'd533b34bab8bed57448b132fdcfd7913da27d165', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '9fd48a6483ee03a967abd2deca506a49eda9910c', class: "duet-notification-container" }, h("div", { key: '0a647e9111eb00ae4268e20b72e248edcf211ab5', class: "duet-indicator-container" }, this.highlight && (h("duet-indicator", { key: '61edc87a1995f7ebe37cefff3869dab6a3840d58', variation: "new", "accessible-label": this.accessibleLabelUnread }))), h("div", { key: '461dfcbff675bba86b0e66901b44f272e34b5619', class: "duet-notification-content" }, h("slot", { key: '84fbc735b2ee2b129360419aa2d7a310a4b2895b' })), h("div", { key: '0bd791445a03f66f304fdb094200d95e409fcf09', class: "duet-notification-date" }, this.date)))));
86
+ } }, h("a", { key: 'd055bb5cebbf8d33eb35d193d1bb1fa106c5ec49', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self", "aria-label": this.getAriaLabelText() }, h("div", { key: '37b18aada4bbdcc07fbae2fb2a379e4ce499d1a2', class: "duet-notification-container" }, h("div", { key: 'd82a6a30c51dcbe9fa55d184f9475ee52824c960', class: "duet-indicator-container" }, this.highlight && (h("duet-indicator", { key: 'ba8cf675f5f79738b621bb60be60e955648f72fb', variation: "new", "accessible-label": this.accessibleLabelUnread }))), h("div", { key: '7616f1c0b61f842cb19959f8a26d972740d4983c', class: "duet-notification-content" }, h("slot", { key: '3d15bf405f3f7e6bb7b699835882720db81c60ac' })), h("div", { key: '479850eacc300888b148101759908b962db1d24a', class: "duet-notification-date" }, this.date)))));
80
87
  }
81
88
  static get is() { return "duet-notification"; }
82
89
  static get encapsulation() { return "shadow"; }