@duetds/components 10.6.0 → 10.7.0

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 (394) hide show
  1. package/hydrate/index.js +301 -163
  2. package/hydrate/index.mjs +301 -163
  3. package/lib/cjs/{a11y-utils-CgWjS7yq.js → a11y-utils-DmCjy3Q3.js} +1 -1
  4. package/lib/cjs/{app-globals-D68ciWsb.js → app-globals-D1tikFob.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +6 -6
  8. package/lib/cjs/duet-banner.cjs.entry.js +8 -8
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +7 -7
  14. package/lib/cjs/duet-card.cjs.entry.js +9 -8
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-combobox.cjs.entry.js +5 -15
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +8 -7
  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 +2 -2
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +12 -8
  31. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-hero.cjs.entry.js +18 -13
  33. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
  35. package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
  36. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  44. package/lib/cjs/duet-modal.cjs.entry.js +5 -5
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  48. package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
  49. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +6 -6
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-panel.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  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 +4 -4
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +11 -11
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  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 +6 -6
  65. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
  70. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-teaser.cjs.entry.js +110 -0
  79. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  81. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  83. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  84. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  88. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  89. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  90. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  91. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  92. package/lib/cjs/duet.cjs.js +3 -3
  93. package/lib/cjs/{errorcodes.utils-C0tQ3k6Z.js → errorcodes.utils-Di-nO8ua.js} +1 -1
  94. package/lib/cjs/{focus-utils-tCoGOO7d.js → focus-utils-uEO1pi2O.js} +1 -1
  95. package/lib/cjs/{index-BeiMjjVl.js → index-BGRMvA4R.js} +5 -1
  96. package/lib/cjs/{label-Cu4DNShe.js → label-CwgdRt0Q.js} +1 -1
  97. package/lib/cjs/{language-utils-B3NubUDr.js → language-utils-CrB5zNlc.js} +1 -1
  98. package/lib/cjs/loader.cjs.js +3 -3
  99. package/lib/cjs/{picture-utils-D_HVgfq5.js → picture-utils-CZhgDlXJ.js} +7 -2
  100. package/lib/cjs/{slot-utils-Dny6EJ_G.js → slot-utils-4v5bqyQh.js} +1 -1
  101. package/lib/cjs/{themeable-component-Csdvrnsd.js → themeable-component-I4SEm6nQ.js} +1 -1
  102. package/lib/collection/collection-manifest.json +1 -0
  103. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  104. package/lib/collection/components/duet-banner/duet-banner.js +23 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  107. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  108. package/lib/collection/components/duet-card/duet-card.js +24 -4
  109. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  110. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  111. package/lib/collection/components/duet-combobox/duet-combobox.js +1 -13
  112. package/lib/collection/components/duet-contact-card/duet-contact-card.js +23 -3
  113. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  114. package/lib/collection/components/duet-grid/duet-grid.css +22 -0
  115. package/lib/collection/components/duet-grid/duet-grid.js +14 -5
  116. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  117. package/lib/collection/components/duet-hero/duet-hero.css +149 -136
  118. package/lib/collection/components/duet-hero/duet-hero.js +32 -7
  119. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  120. package/lib/collection/components/duet-link/duet-link.js +2 -2
  121. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  123. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  124. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  126. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  127. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  128. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  129. package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
  130. package/lib/collection/components/duet-promo-card/duet-promo-card.js +23 -4
  131. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  132. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  133. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  134. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  135. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  136. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  137. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  138. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  139. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  140. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  141. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  142. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  143. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  144. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  145. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  146. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  147. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  148. package/lib/collection/components/duet-table/duet-table.js +2 -2
  149. package/lib/collection/components/duet-teaser/duet-teaser.css +127 -0
  150. package/lib/collection/components/duet-teaser/duet-teaser.js +462 -0
  151. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  152. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  153. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  154. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  155. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  156. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  157. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  158. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  159. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  160. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  161. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  162. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  163. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  164. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  165. package/lib/collection/utils/picture-utils.js +6 -1
  166. package/lib/duet/duet.esm.js +1 -1
  167. package/lib/duet/{p-ae382e2e.entry.js → p-017873ec.entry.js} +1 -1
  168. package/lib/duet/{p-4acdc586.entry.js → p-047af1e2.entry.js} +1 -1
  169. package/lib/duet/{p-30d8a1e4.entry.js → p-058fcc72.entry.js} +1 -1
  170. package/lib/duet/p-05a6360b.entry.js +4 -0
  171. package/lib/duet/p-05b5ef84.entry.js +4 -0
  172. package/lib/duet/{p-555e0c78.entry.js → p-07d43c60.entry.js} +1 -1
  173. package/lib/duet/{p-9889218e.entry.js → p-0ab559fb.entry.js} +1 -1
  174. package/lib/duet/{p-374b48f6.entry.js → p-0acf9bcf.entry.js} +1 -1
  175. package/lib/duet/{p-95bb2a8d.entry.js → p-0c42cc61.entry.js} +1 -1
  176. package/lib/duet/{p-6a11ba26.entry.js → p-0df7094e.entry.js} +1 -1
  177. package/lib/duet/{p-eb7bc989.entry.js → p-10baba94.entry.js} +1 -1
  178. package/lib/duet/{p-9b2731b9.entry.js → p-1358a396.entry.js} +1 -1
  179. package/lib/duet/{p-d72dee5d.entry.js → p-1498e4a8.entry.js} +1 -1
  180. package/lib/duet/p-16d5dd2c.entry.js +4 -0
  181. package/lib/duet/{p-9c41f1d5.entry.js → p-1ec31f22.entry.js} +1 -1
  182. package/lib/duet/{p-8927ccc1.entry.js → p-2013545d.entry.js} +1 -1
  183. package/lib/duet/p-2265c46a.entry.js +4 -0
  184. package/lib/duet/{p-6bd78205.entry.js → p-2394b3cd.entry.js} +1 -1
  185. package/lib/duet/{p-fc2be136.entry.js → p-2b17c517.entry.js} +1 -1
  186. package/lib/duet/{p-f30c3cfe.entry.js → p-2f0f3a4a.entry.js} +1 -1
  187. package/lib/duet/{p-ec1d2e0a.entry.js → p-3ce04abc.entry.js} +1 -1
  188. package/lib/duet/{p-61abccd4.entry.js → p-420df0aa.entry.js} +1 -1
  189. package/lib/duet/{p-f4de7ac0.entry.js → p-430fad4e.entry.js} +1 -1
  190. package/lib/duet/p-453001ea.entry.js +4 -0
  191. package/lib/duet/p-4695398d.entry.js +4 -0
  192. package/lib/duet/{p-46287d85.entry.js → p-4bc7198d.entry.js} +1 -1
  193. package/lib/duet/p-4e028274.entry.js +4 -0
  194. package/lib/duet/{p-dbb9e1d4.entry.js → p-5be103d0.entry.js} +1 -1
  195. package/lib/duet/{p-4a4e5bb5.entry.js → p-5e5b6dc7.entry.js} +1 -1
  196. package/lib/duet/{p-1d7a9425.entry.js → p-5fc88879.entry.js} +1 -1
  197. package/lib/duet/{p-ee369233.entry.js → p-6865e880.entry.js} +1 -1
  198. package/lib/duet/{p-5b322a86.entry.js → p-68a9ffb5.entry.js} +1 -1
  199. package/lib/duet/{p-244bfbf9.entry.js → p-69bcb076.entry.js} +1 -1
  200. package/lib/duet/{p-a6dbe893.entry.js → p-71da8fbe.entry.js} +1 -1
  201. package/lib/duet/{p-914ee7ac.entry.js → p-76e2c659.entry.js} +1 -1
  202. package/lib/duet/p-7f5387dd.entry.js +4 -0
  203. package/lib/duet/{p-a01f3141.entry.js → p-84ed366e.entry.js} +1 -1
  204. package/lib/duet/{p-4a041c60.entry.js → p-868647de.entry.js} +1 -1
  205. package/lib/duet/{p-bc41d13d.entry.js → p-8ad4bb4c.entry.js} +1 -1
  206. package/lib/duet/{p-20c8226c.entry.js → p-8b9ffff4.entry.js} +1 -1
  207. package/lib/duet/{p-84f8bee8.entry.js → p-8da66626.entry.js} +1 -1
  208. package/lib/duet/{p-12d7fdf6.entry.js → p-8ea85c31.entry.js} +1 -1
  209. package/lib/duet/p-940a87e7.entry.js +4 -0
  210. package/lib/duet/{p-6d1d1199.entry.js → p-99550717.entry.js} +1 -1
  211. package/lib/duet/{p-4b07ce36.entry.js → p-9987420d.entry.js} +1 -1
  212. package/lib/duet/{p-8fbcea55.entry.js → p-9d41df85.entry.js} +1 -1
  213. package/lib/duet/{p-1579bdf5.entry.js → p-9dee0205.entry.js} +1 -1
  214. package/lib/duet/{p-D9N9LBeD.js → p-B0XOGsB6.js} +1 -1
  215. package/lib/duet/p-B44ykle6.js +4 -0
  216. package/lib/duet/{p-CyfEm8iD.js → p-B5SMAn1G.js} +1 -1
  217. package/lib/duet/p-BAiGBGTO.js +4 -0
  218. package/lib/duet/p-BWz_ChlU.js +4 -0
  219. package/lib/duet/p-Bnup2-sN.js +4 -0
  220. package/lib/duet/p-C6rGA5IU.js +4 -0
  221. package/lib/duet/{p-D3450NfA.js → p-D4MpGrUR.js} +1 -1
  222. package/lib/duet/{p-BDgGHTHh.js → p-DSNAI2Lx.js} +1 -1
  223. package/lib/duet/{p-DI7IXBXp.js → p-DtprEjjN.js} +1 -1
  224. package/lib/duet/{p-264688ae.entry.js → p-a2106abd.entry.js} +1 -1
  225. package/lib/duet/p-a2a2f775.entry.js +4 -0
  226. package/lib/duet/{p-0e10e36b.entry.js → p-a2f7ef35.entry.js} +1 -1
  227. package/lib/duet/{p-9b448008.entry.js → p-a62e6d8d.entry.js} +1 -1
  228. package/lib/duet/{p-4e5532c8.entry.js → p-a6dc8c7d.entry.js} +1 -1
  229. package/lib/duet/{p-e442943d.entry.js → p-a944ffff.entry.js} +1 -1
  230. package/lib/duet/{p-f8d640ba.entry.js → p-aebcf484.entry.js} +1 -1
  231. package/lib/duet/{p-6ce82324.entry.js → p-b2f0905a.entry.js} +1 -1
  232. package/lib/duet/p-b3a7ef62.entry.js +4 -0
  233. package/lib/duet/{p-ac4fc44c.entry.js → p-b4a1c719.entry.js} +1 -1
  234. package/lib/duet/p-b5204ec2.entry.js +4 -0
  235. package/lib/duet/{p-f297f8f2.entry.js → p-b58cfa18.entry.js} +1 -1
  236. package/lib/duet/{p-f9db8670.entry.js → p-b69946d4.entry.js} +1 -1
  237. package/lib/duet/{p-20066df8.entry.js → p-b7351bfd.entry.js} +1 -1
  238. package/lib/duet/{p-8bdcfd1f.entry.js → p-b7bb7472.entry.js} +1 -1
  239. package/lib/duet/{p-407d4e5a.entry.js → p-b9e97305.entry.js} +1 -1
  240. package/lib/duet/{p-fc1a18f8.entry.js → p-bb7fa0cf.entry.js} +1 -1
  241. package/lib/duet/{p-5f72134e.entry.js → p-bef7eed7.entry.js} +1 -1
  242. package/lib/duet/p-bffae8f6.entry.js +4 -0
  243. package/lib/duet/{p-304a9a55.entry.js → p-c26e2123.entry.js} +1 -1
  244. package/lib/duet/{p-4cee693b.entry.js → p-c49a72ad.entry.js} +1 -1
  245. package/lib/duet/{p-aa1256f9.entry.js → p-c5c63d0f.entry.js} +1 -1
  246. package/lib/duet/{p-a49b5d93.entry.js → p-c9a12663.entry.js} +1 -1
  247. package/lib/duet/{p-f4538e9d.entry.js → p-ccaf5c28.entry.js} +1 -1
  248. package/lib/duet/{p-512d18c8.entry.js → p-d78923f9.entry.js} +1 -1
  249. package/lib/duet/p-d8383f1a.entry.js +4 -0
  250. package/lib/duet/{p-4e1c2676.entry.js → p-e3d91f53.entry.js} +1 -1
  251. package/lib/duet/{p-48e77341.entry.js → p-e78af675.entry.js} +1 -1
  252. package/lib/duet/{p-2e44c6b8.entry.js → p-e9a7215b.entry.js} +1 -1
  253. package/lib/duet/{p-d7abb7fa.entry.js → p-ebe55a34.entry.js} +1 -1
  254. package/lib/duet/{p-4a251661.entry.js → p-ef340dc6.entry.js} +1 -1
  255. package/lib/duet/{p-e40d9c21.entry.js → p-f17438c7.entry.js} +1 -1
  256. package/lib/duet/{p-3b9d7f6a.entry.js → p-f264879d.entry.js} +1 -1
  257. package/lib/duet/p-f61ebeb1.entry.js +4 -0
  258. package/lib/duet/p-f647f09e.entry.js +4 -0
  259. package/lib/duet/{p-829bccb7.entry.js → p-f89da74c.entry.js} +1 -1
  260. package/lib/duet/{p-3533d6ee.entry.js → p-f959ca52.entry.js} +1 -1
  261. package/lib/duet/{p-210bc161.entry.js → p-fb0f6212.entry.js} +1 -1
  262. package/lib/duet/p-fb59f80d.entry.js +4 -0
  263. package/lib/duet/{p-174935bc.entry.js → p-feae1702.entry.js} +1 -1
  264. package/lib/esm/{a11y-utils--wwGTL0T.js → a11y-utils-DZqe1lDK.js} +1 -1
  265. package/lib/esm/{app-globals-Diuuep9d.js → app-globals-Byl9AdI1.js} +1 -1
  266. package/lib/esm/duet-action-button.entry.js +3 -3
  267. package/lib/esm/duet-alert.entry.js +4 -4
  268. package/lib/esm/duet-badge.entry.js +6 -6
  269. package/lib/esm/duet-banner.entry.js +8 -8
  270. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  271. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  272. package/lib/esm/duet-button_2.entry.js +3 -3
  273. package/lib/esm/duet-callout.entry.js +5 -5
  274. package/lib/esm/duet-caption_4.entry.js +7 -7
  275. package/lib/esm/duet-card.entry.js +9 -8
  276. package/lib/esm/duet-checkbox.entry.js +3 -3
  277. package/lib/esm/duet-checkmark.entry.js +4 -4
  278. package/lib/esm/duet-chip.entry.js +3 -3
  279. package/lib/esm/duet-choice_2.entry.js +6 -6
  280. package/lib/esm/duet-collapsible.entry.js +3 -3
  281. package/lib/esm/duet-combobox.entry.js +5 -15
  282. package/lib/esm/duet-contact-card.entry.js +8 -7
  283. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  284. package/lib/esm/duet-date-picker.entry.js +6 -6
  285. package/lib/esm/duet-divider_2.entry.js +2 -2
  286. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  287. package/lib/esm/duet-empty-state.entry.js +2 -2
  288. package/lib/esm/duet-fieldset.entry.js +6 -6
  289. package/lib/esm/duet-file-chooser.entry.js +2 -2
  290. package/lib/esm/duet-footer.entry.js +4 -4
  291. package/lib/esm/duet-grid_2.entry.js +12 -8
  292. package/lib/esm/duet-header_2.entry.js +3 -3
  293. package/lib/esm/duet-hero.entry.js +18 -13
  294. package/lib/esm/duet-icon.entry.js +5 -5
  295. package/lib/esm/duet-indicator.entry.js +3 -3
  296. package/lib/esm/duet-input_2.entry.js +5 -5
  297. package/lib/esm/duet-layout.entry.js +2 -2
  298. package/lib/esm/duet-list_2.entry.js +4 -4
  299. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  300. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  301. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  302. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  303. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  304. package/lib/esm/duet-menu-bar.entry.js +3 -3
  305. package/lib/esm/duet-modal.entry.js +5 -5
  306. package/lib/esm/duet-multiselect.entry.js +5 -5
  307. package/lib/esm/duet-nav.entry.js +3 -3
  308. package/lib/esm/duet-notification_2.entry.js +6 -6
  309. package/lib/esm/duet-number-input.entry.js +4 -4
  310. package/lib/esm/duet-overlay.entry.js +2 -2
  311. package/lib/esm/duet-page-heading.entry.js +6 -6
  312. package/lib/esm/duet-pagination_2.entry.js +3 -3
  313. package/lib/esm/duet-panel.entry.js +2 -2
  314. package/lib/esm/duet-phone-input.entry.js +4 -4
  315. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  316. package/lib/esm/duet-progress.entry.js +3 -3
  317. package/lib/esm/duet-promo-card.entry.js +8 -8
  318. package/lib/esm/duet-radio_2.entry.js +4 -4
  319. package/lib/esm/duet-range-slider.entry.js +4 -4
  320. package/lib/esm/duet-scrollable_3.entry.js +11 -11
  321. package/lib/esm/duet-section-layout.entry.js +4 -4
  322. package/lib/esm/duet-select.entry.js +4 -4
  323. package/lib/esm/duet-shaped-image.entry.js +4 -4
  324. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  325. package/lib/esm/duet-share-chart.entry.js +6 -6
  326. package/lib/esm/duet-show-more.entry.js +3 -3
  327. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  328. package/lib/esm/duet-slideout-link.entry.js +7 -7
  329. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  330. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  331. package/lib/esm/duet-slideout.entry.js +6 -6
  332. package/lib/esm/duet-status-icon.entry.js +3 -3
  333. package/lib/esm/duet-step_2.entry.js +3 -3
  334. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  335. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  336. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  337. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  338. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  339. package/lib/esm/duet-teaser.entry.js +108 -0
  340. package/lib/esm/duet-textarea.entry.js +8 -8
  341. package/lib/esm/duet-toggle.entry.js +8 -8
  342. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  343. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  344. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  345. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  346. package/lib/esm/duet-toolbar.entry.js +4 -4
  347. package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
  348. package/lib/esm/duet-tooltip.entry.js +4 -4
  349. package/lib/esm/duet-tray.entry.js +5 -5
  350. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  351. package/lib/esm/duet-upload-item.entry.js +6 -6
  352. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  353. package/lib/esm/duet.js +4 -4
  354. package/lib/esm/{errorcodes.utils-S_WrUPeV.js → errorcodes.utils-KA3z1KuW.js} +1 -1
  355. package/lib/esm/{focus-utils-C4oaajGr.js → focus-utils-id9x3opi.js} +1 -1
  356. package/lib/esm/{index-D3450NfA.js → index-D4MpGrUR.js} +5 -1
  357. package/lib/esm/{label-C1HF2o4Y.js → label-Caev3m-F.js} +1 -1
  358. package/lib/esm/{language-utils-D4WVl8Ph.js → language-utils-DTyUbpD-.js} +1 -1
  359. package/lib/esm/loader.js +4 -4
  360. package/lib/esm/{picture-utils-MSeJTkDk.js → picture-utils-4PMNZDR2.js} +7 -2
  361. package/lib/esm/{slot-utils-Dxcjtmp3.js → slot-utils-BhEk4zKY.js} +1 -1
  362. package/lib/esm/{themeable-component-QHdUfcat.js → themeable-component-B_d7Klmd.js} +1 -1
  363. package/lib/types/components/duet-banner/duet-banner.d.ts +5 -0
  364. package/lib/types/components/duet-card/duet-card.d.ts +5 -0
  365. package/lib/types/components/duet-combobox/duet-combobox.d.ts +0 -1
  366. package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +5 -0
  367. package/lib/types/components/duet-grid/duet-grid.d.ts +2 -1
  368. package/lib/types/components/duet-hero/duet-hero.d.ts +5 -0
  369. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +5 -0
  370. package/lib/types/components/duet-teaser/duet-teaser.d.ts +93 -0
  371. package/lib/types/components.d.ts +187 -2
  372. package/lib/types/utils/picture-utils.d.ts +4 -0
  373. package/package.json +5 -5
  374. package/lib/duet/p-054c334d.entry.js +0 -4
  375. package/lib/duet/p-2bf78fe4.entry.js +0 -4
  376. package/lib/duet/p-3445529c.entry.js +0 -4
  377. package/lib/duet/p-3def9480.entry.js +0 -4
  378. package/lib/duet/p-3fbe466a.entry.js +0 -4
  379. package/lib/duet/p-41230630.entry.js +0 -4
  380. package/lib/duet/p-44e53564.entry.js +0 -4
  381. package/lib/duet/p-6c239923.entry.js +0 -4
  382. package/lib/duet/p-81c5d3e3.entry.js +0 -4
  383. package/lib/duet/p-83dcbb64.entry.js +0 -4
  384. package/lib/duet/p-985213bb.entry.js +0 -4
  385. package/lib/duet/p-BZev46O8.js +0 -4
  386. package/lib/duet/p-CcoGR9T9.js +0 -4
  387. package/lib/duet/p-Dk60lC7n.js +0 -4
  388. package/lib/duet/p-JFwTD5kM.js +0 -4
  389. package/lib/duet/p-KbNgo0QF.js +0 -4
  390. package/lib/duet/p-aa7e4c81.entry.js +0 -4
  391. package/lib/duet/p-c54ecb23.entry.js +0 -4
  392. package/lib/duet/p-e43df9c2.entry.js +0 -4
  393. package/lib/duet/p-edcdf0b7.entry.js +0 -4
  394. package/lib/duet/p-fdc4a97c.entry.js +0 -4
@@ -130,6 +130,11 @@ export class DuetHero {
130
130
  * Image position.
131
131
  */
132
132
  this.imagePosition = "auto";
133
+ /**
134
+ * Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to
135
+ * "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
136
+ */
137
+ this.imagePriority = "high";
133
138
  /**
134
139
  * Style variation of the hero area.
135
140
  */
@@ -243,9 +248,9 @@ export class DuetHero {
243
248
  img: {
244
249
  src: this.image,
245
250
  alt: this.imageAlt || "",
246
- loading: "lazy",
251
+ loading: this.imagePriority === "low" ? "lazy" : "eager",
252
+ fetchpriority: this.imagePriority,
247
253
  class: className || "",
248
- role: this.imageAlt ? undefined : "presentation",
249
254
  },
250
255
  sources: parsePossibleJSON(this.sources),
251
256
  });
@@ -285,7 +290,7 @@ export class DuetHero {
285
290
  outlineColor = "color-primary-turva";
286
291
  }
287
292
  }
288
- return (h("div", { key: 'ff8e73f82eb8aad28667e16e49d362f57fcd3b74', role: "region", class: {
293
+ return (h("div", { key: 'dfdf7ff48804ea8afc843f2901dae041929c9266', role: "region", class: {
289
294
  "duet-hero": true,
290
295
  "duet-theme-turva": this.theme === "turva",
291
296
  "duet-has-category-icon": !!this.categoryIcon,
@@ -303,17 +308,17 @@ export class DuetHero {
303
308
  "duet-hero-text-center": this.variation !== "product" && ((this.textCenter && !this.leftAlign) || campaignOrSection),
304
309
  "duet-hero-left-align": this.variation === "product" || (this.leftAlign && !campaignOrSection),
305
310
  "duet-hero-narrow": this.layout === "narrow",
306
- }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '7c6eaf498e1c5f42601f4c77a59d04f4e11c3787', class: "background-area" }, h("div", { key: 'a1cac74e5f880d8d7dd2d8f2fde6a6989769cbe2', class: "background-container" }, h("div", { key: 'f7819b590a7d01d66cb3ec2daa6667cc6a066993', class: "background" }, h(DuetPicture, Object.assign({ key: '554157cf62913f6fcbead29527d23678e952ce9e' }, getPictureSource(imageClass)))), h("div", { key: 'cd6031dacba217d040ad59474be4af621a76e463', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: '08bbfc431301d26e2dee3c4e5bf2437c6bbe8052', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '2458dfef535c7278b6b703001e66d9fedef43aac', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '57b5c3ddecbc91ef48071c8050eaaa82599d1822', class: { background: true, [this.layout]: true } }, h("div", { key: 'b84d8bb2ebcabf13dc9c258513423327021dbd83', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '1f899edfda9e0b827c28f83b286b8fde47a1079f', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '67b34ed24606ef237036bf322d644e993415bf8f', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '95e326d93e23f615c90b18c61e7a30e30c84ebb1', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: 'add5e271482d65053646ae3f6ff4c413a8e114c3', class: { "brand-shaped-image-bg": true, [this.layout]: true } }, h(DuetPicture, Object.assign({ key: '00d4e688381f2758688008ce19e872ede3452cbc' }, getPictureSource()))))), this.categoryIcon && (h("div", { key: 'a5651e24522d86a6b0d1d870a5d700fad9db74ba', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: '0b35409d56e5842de0100f52e54f99561e777404', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '0fa8f2031fe9a05cbfae9f1df5b73afbe156e840', class: "background-area" }, h("div", { key: '2fb9fe1b29056b9e257f8e8079f2872c2ae4ef93', class: "background" }, h("div", { key: 'd4d20034ae7773baf2fdd1551b83711cc2b0b781', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '5ccc852b8b469c952800bac5c02489fc60ee8433', class: "brand-shape" }), h("div", { key: '73d5610a1e0ca8331908ce011976b86d62fbe60e', class: "brand-shaped-image" }, h("div", { key: '84079f98df920d86c3f6257f97d470ff1ff10d2b', class: "brand-shaped-image-wrapper" }, h("div", { key: 'a5d34d656f4d4f208d6dda010fb9c2236559d1e0', class: "brand-shaped-image-bg" }, h(DuetPicture, Object.assign({ key: '900a632f43c338d491fa7bd2104b51c27b9ec814' }, getPictureSource())))))))), h("div", { key: '62a03b483feb3ed3639d3754515456b058161877', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'ba372654336abc15cfa19bf95e32eb2c629bacfc', class: "duet-hero-image-mask" }, h("div", { key: '258446935eb244a6cef5559d64bc3c486bf46643', class: "duet-hero-image-wrapper" }, h("div", { key: '726d6c0f7fd9915f813b5f7e57a9fd093a7640d2', class: "duet-hero-image" }, h(DuetPicture, Object.assign({ key: 'e1a272326833f3eea3209265b7c17d4f581812dc' }, getPictureSource(imageClass))))))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
307
- this.processedBack && (h("div", { key: 'bed23c4fdf4e2c6869bd519aaefe2fb95231eb76', class: "duet-hero-back" }, h("duet-button", { key: 'efa5d21d8bd40aa5dcca5aec05b7ddb883898cbf', 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, {
311
+ }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '38e648e7447b8db00a773ff4025d68500401f7bc', class: "background-area" }, h("div", { key: '803534bf55dc7737cd41ec1d75fbed052334a19a', class: "background-container" }, h("div", { key: '27d0577a3993d7eaa767812700ff290986535b20', class: "background" }, h(DuetPicture, Object.assign({ key: '6cc4a5648f7466ed44125cd22e35a6eeb725b18a' }, getPictureSource(imageClass)))), h("div", { key: '76a95c713cd90761ea2d670389183e2c04a97a80', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: 'c436973c44f7d497a70a96a51eb0f96be6eda95a', class: { "background-area": true, [this.layout]: true } }, h("div", { key: 'e5a17290d952644ba521a4b3976387456f650cd4', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '8fdf828e65411a86393e096d8f3b6415076d97e0', class: { background: true, [this.layout]: true } }, h("div", { key: '0ada9a2b55d78b2774063d099cb03a8e09693584', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: 'b24d91804b31920da022285d0565667c8e92997e', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '226619d3d283b31fa7e8caadaf49473a170abb3a', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '0a0415ca70e98b277bf151f28e1f4f1639338fa6', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: 'c866eb1fa36ab6cc43e8839669069046c2faae60', class: { "brand-shaped-image-bg": true, [this.layout]: true } }, h(DuetPicture, Object.assign({ key: 'a98b41e51c70043f55128a19718911f321b7527f' }, getPictureSource()))))), this.categoryIcon && (h("div", { key: '0d3b0c0428a32d2df977a6ac63be04ed6a7f72c6', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: '7af6dee3ca69df4b1d8e87830636ec18ad3a40b7', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '20bd7ce2aca1d5062f0f0e1f4889a97ec308b1d9', class: "background-area" }, h("div", { key: '1847e876158decc257b4445501d1bb8e208ddb0e', class: "background" }, h("div", { key: '236489bc1fff1be4cf44d267dfbb5c3bcb119dad', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '3c1e73a037c1ec3b129caaac2a689bf60ce62710', class: "brand-shape" }), h("div", { key: '9cfc2c3b6f5022d863fd6c869ffda7e0df51e013', class: "brand-shaped-image" }, h("div", { key: '8471e4f399016fb37f5f5e46f8bab0865179c6a3', class: "brand-shaped-image-wrapper" }, h("div", { key: '68bfcd1b748c5f7d0b3661152a489707f12024ac', class: "brand-shaped-image-bg" }, h(DuetPicture, Object.assign({ key: '78a267d0198018669353675e01ad0ca70491b36f' }, getPictureSource())))))))), h("div", { key: '4ab0bf9e9dee5b6889db6cc396cd304eda1bd870', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: '208c46264f1ea0ce04845324a68cf5848ad95535', class: "duet-hero-image-mask" }, h("div", { key: 'b95a0b0a8840c5835a4e9668bd9481fcd9bfa87b', class: "duet-hero-image-wrapper" }, h("div", { key: '04633cc8d3020b921c42551a5e065bc942540fcc', class: "duet-hero-image" }, h(DuetPicture, Object.assign({ key: '7415ca53535a1295d42eb2b29cc6dbe7a93a04ae' }, getPictureSource(imageClass))))))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
312
+ this.processedBack && (h("div", { key: '59cbdb9c4195074e03310b65a88b4bafd74f9916', class: "duet-hero-back" }, h("duet-button", { key: 'ce17a681e39b9ad5c21edec2472175919f68b02f', 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, {
308
313
  label: this.processedBack.label,
309
314
  href: this.processedBack.href,
310
315
  id: this.processedBack.id,
311
316
  analyticsId: this.processedBack.analyticsId,
312
- }) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '7de90656859d63499f3b160c2a39619cd4a0a9db', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '73b543bd71d7e1f2936a2753a255d1ac1339f99c', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: 'd0150811990feac24531dc5e173a93ec3a482418', 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: '041cf2cfcba43317f1e0041d40b00bfd68bb6202', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: '7f662d3f98757953d04cb29640a7284e7ddcb64b', 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: '1c02aada316e7b8f8699b79d1128476cdde75ae6', 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: '34c786a2833cbeb54018fa83b543ab7c55ecd5ff', name: "subheading" }))), this.description && (h("duet-paragraph", { key: '28a82b3619a9418271f1dd4f25d10366fde9f753', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '4508f7e305d64e5bf7b39f5340efe8b2ab9d12be', 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: '3fb36dbf926c3331c6d757bc32208f26424f7e9c', 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: '85fd506d92b185ddbb57c134298164422a6c682d' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '9230b5c71616b04e276724e18592d946f7e4ad5d', 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 &&
317
+ }) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '191763dfcef22bcd3ccd7b8ac096ae6446de2d98', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '7ee11a778839f281ce31673e60f4923ff223e3ac', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: '7d7f43ba3e592cbad30f8f28000ff361209bf443', 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: 'e73727e5aa7fad6aaaceabcf6f81c6572f0a15a9', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: '5884aecc75704d8dccc6c709a6768ddd578c4dde', 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: '763778e5026dbfa90ef3e68f0f1b7d037043b88d', 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: '9588038687bc9dfcb10a04b5e5cdaa6e3ef253de', name: "subheading" }))), this.description && (h("duet-paragraph", { key: 'f0d60545403dfcc453d79aa1bfdd5582b876ae49', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '7006a276c36ca7001df5c93d6fc3e792f8a07169', 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: '2954e77b3dde7b49573c25f1566d5f820c1dea3b', 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: '87703efb26e4376a71a692aa444988dacbf45d68' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '92123389406d8b37e76d0305fb7a2e1d194ce1d4', 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 &&
313
318
  this.variation !== "image" &&
314
319
  !campaignOrSection &&
315
320
  this.variation !== "product" &&
316
- this.variation !== "content" && (h("div", { key: 'cfe495f2a5bedb9bd622b3a001533a299477f12d', class: "duet-hero-image" }, h(DuetPicture, Object.assign({ key: '26f3df199d16a059b273c5e8dc568c71ac637d05' }, getPictureSource(imageClass))))), h("slot", { key: 'f8680df361205e9c4f2868f71022e736097002b1', name: "bottom" }))));
321
+ this.variation !== "content" && (h("div", { key: 'cd09b6b83414a647857f014ddd08f9b49b4d122a', class: "duet-hero-image" }, h(DuetPicture, Object.assign({ key: '68b91f0d9db476f3aa31c63b2a04465705e61658' }, getPictureSource(imageClass))))), h("slot", { key: '8f23feb29e40591b85303a1864fb5736274b7596', name: "bottom" }))));
317
322
  }
318
323
  static get is() { return "duet-hero"; }
319
324
  static get encapsulation() { return "shadow"; }
@@ -878,6 +883,26 @@ export class DuetHero {
878
883
  "setter": false,
879
884
  "reflect": false
880
885
  },
886
+ "imagePriority": {
887
+ "type": "string",
888
+ "attribute": "image-priority",
889
+ "mutable": false,
890
+ "complexType": {
891
+ "original": "\"high\" | \"low\"",
892
+ "resolved": "\"high\" | \"low\"",
893
+ "references": {}
894
+ },
895
+ "required": false,
896
+ "optional": false,
897
+ "docs": {
898
+ "tags": [],
899
+ "text": "Make the image load with higher or lower priority. Value \"high\" sets the img's attributes fetchpriority and loading to\n\"high\" and \"eager\", while value \"low\" sets those attributes to \"low\" and \"lazy\""
900
+ },
901
+ "getter": false,
902
+ "setter": false,
903
+ "reflect": false,
904
+ "defaultValue": "\"high\""
905
+ },
881
906
  "sources": {
882
907
  "type": "string",
883
908
  "attribute": "sources",
@@ -144,11 +144,11 @@ export class DuetIcon {
144
144
  : {};
145
145
  const iconStyles = Object.assign({}, iconRotationStyles);
146
146
  const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
147
- return (h(Host, { key: 'ac454937867acd98e1552f998f09cecb7b6db6f6', class: {
147
+ return (h(Host, { key: '4165c86903dae730023be910be36389c7151045d', class: {
148
148
  "duet-m-0": this.margin === "none",
149
149
  "duet-icon-has-outline": !!this.outline,
150
150
  "duet-icon-has-background": !!this.background,
151
- } }, h("span", { key: '61bd9c9b857bd54bfa18b71035af646ddfc8b490', "aria-hidden": "true", style: styles, class: {
151
+ } }, h("span", { key: '9efda9e15441290db9c499f59fc3f4feed86e5b2', "aria-hidden": "true", style: styles, class: {
152
152
  "duet-icon": true,
153
153
  "duet-theme-turva": this.theme === "turva",
154
154
  "duet-theme-default": this.theme === "default",
@@ -157,7 +157,7 @@ export class DuetIcon {
157
157
  [shapeStyle]: true,
158
158
  rotated: this.shape === "brand-rotated" && this.theme !== "turva",
159
159
  "duet-icon-not-responsive": !this.responsive,
160
- } }, h("span", { key: '513e30e9f69a6661e54b5f2a0989eaf14887f533', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
160
+ } }, h("span", { key: 'a59c6e8741e859747f51863e7677de1f95e71b29', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
161
161
  }
162
162
  static get is() { return "duet-icon"; }
163
163
  static get encapsulation() { return "shadow"; }
@@ -187,10 +187,10 @@ export class DuetLink {
187
187
  const Tag = !this.url && this.variation !== "default" ? "button" : "a";
188
188
  const role = !this.url && this.variation === "default" ? "button" : null;
189
189
  const isButton = Tag === "button";
190
- return (h(Host, { key: '07cf184d2f321700e665e358f8a0cb988e798da8', class: {
190
+ return (h(Host, { key: '1cac563de2598ea4f66a666a8e9ba85d74ef4d29', class: {
191
191
  [`duet-link-${this.variation}`]: true,
192
192
  "duet-m-0": this.margin === "none",
193
- } }, h(Tag, { key: 'bb416240f5adc73c8eeacbd4ca0524619326a954', href: this.url, class: {
193
+ } }, h(Tag, { key: '0ff450feb862488c1bfaf626a234559904f301a1', href: this.url, class: {
194
194
  "duet-link": true,
195
195
  "duet-link-is-external": this.external,
196
196
  "duet-link-is-download": !!this.download,
@@ -34,7 +34,7 @@ export class DuetListItem {
34
34
  * Always the last one in the class.
35
35
  */
36
36
  render() {
37
- return (h(Host, { key: '83029afa5ebc666926eb1572b8ad9a311bdbfcf1', class: {
37
+ return (h(Host, { key: 'b7809fbe9217be4d6986d8124e5d6739e8e5c506', class: {
38
38
  "duet-theme-turva": this.theme === "turva",
39
39
  "duet-no-stacking": !this.responsive,
40
40
  "duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
@@ -42,7 +42,7 @@ export class DuetListItem {
42
42
  "duet-list-item-breakpoint-medium": this.breakpoint === "medium",
43
43
  "duet-list-item-breakpoint-large": this.breakpoint === "large",
44
44
  "duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
45
- } }, h("dt", { key: '884936458d12b95cd553cd4dc4d8a237cd8e5830' }, h("slot", { key: 'b17473caf7b410acf49f8c68f9ae53b3071397d7', name: "label" })), h("dd", { key: 'e5c6aa8b8d8998d500d27493896a288f71861df6' }, h("slot", { key: '7a6a3b223c394bb3376d7734791cfd439076d5f7', name: "value" }))));
45
+ } }, h("dt", { key: 'b359df218ae6b2e1240b125d8d81a3555f57b33f' }, h("slot", { key: '778f57296c84f300810462d15a42eeed8a1ac03a', name: "label" })), h("dd", { key: 'f28fc64caa353dbc6e042a094ebad697146a0ffa' }, h("slot", { key: '734ef1bfe403082bc681b151d842e45c4341d3cb', name: "value" }))));
46
46
  }
47
47
  static get is() { return "duet-list-item"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -49,10 +49,10 @@ export class DuetMenuBarButton {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: 'e826fdb0b0fb223aea52738971ddbc17f6004833', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '350dd3a06df24d5f3a3f3dccb4a4a48b4a43e9f7', ref: button => (this.nativeButton = button), class: {
52
+ return (h(Host, { key: 'c3137b7868b438a2d3f0769ecfcd876c39b6b762', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '2a1b919990d487b374479d4d71ab1ab271c52d63', ref: button => (this.nativeButton = button), class: {
53
53
  "duet-menu-bar-button": true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
- }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '96911d1ad50d5b247e27d3e6b5712326434a6354', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '004e73cb6a5e6f3126a45d9fa7184f7b424d4f60' }))));
55
+ }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: 'ccf0897bfd45251012c0e9f66d492cd2c51521f8', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '1d5c21e0880c7cac3313ada7623ba81e2eea9bdf' }))));
56
56
  }
57
57
  static get is() { return "duet-menu-bar-button"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -62,17 +62,17 @@ export class DuetMenuBarDropdown {
62
62
  * Always the last one in the class.
63
63
  */
64
64
  render() {
65
- return (h(Host, { key: 'a8e5a338b3e99161819aca174ed5d7390adcd508', role: "listitem" }, h("div", { key: '3515f7355c3f564bdebbea9a7d1845754ad9d3ce', class: {
65
+ return (h(Host, { key: '7c841d8d215853a62a92f5730eed29b2b7552e5f', role: "listitem" }, h("div", { key: '7021c554d6aafa114e225ebd328c9d1aa400a82f', class: {
66
66
  "duet-menu-bar-dropdown": true,
67
67
  "duet-theme-turva": this.theme === "turva",
68
68
  active: this.open,
69
69
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
70
- } }, h("button", { key: '8ae1babb7852048ac222167858eeb10f2ef8a3ee', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
70
+ } }, h("button", { key: 'ed8b6ec296f51a222f37a11a9f979df8efb83525', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
71
71
  active: this.open,
72
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '2d22eaa31070fc91119b0d15fcae8768764b3038', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'fa891196c7c3247a4349fc5db8d59e0500754cb9', class: "label" }, h("slot", { key: '59a1658b0e39bae2f94b8583e7ce787118f13221', name: "label" }), h("duet-icon", { key: '31da6e0c50072b0411a7e9c69d79aa810963d0b8', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '9490db9c65cf17be947333aed8562e5a146da13e', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
72
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '0cb68c07d1b89f968757595fde07aff18be326a3', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '014d839c7407fe48b8139e8d5b4b61fff7e2f9de', class: "label" }, h("slot", { key: '45f00327bfdb72f879469ef815cf73f044d331d0', name: "label" }), h("duet-icon", { key: 'fc550998f3a736271007766634b153838849de45', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'fbb77489a38cdd3c7e6edb70659898600db01a14', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
73
73
  items: true,
74
74
  hidden: !this.open,
75
- } }, h("slot", { key: '31a887188bb39ed4efbe1383940b3b8db7396102' })))));
75
+ } }, h("slot", { key: 'f943770b922349bf805d0aaaadf47e70d0db10d4' })))));
76
76
  }
77
77
  static get is() { return "duet-menu-bar-dropdown"; }
78
78
  static get encapsulation() { return "shadow"; }
@@ -48,11 +48,11 @@ export class DuetMenuBarDropdownLink {
48
48
  * Always the last one in the class.
49
49
  */
50
50
  render() {
51
- return (h(Host, { key: '9321ae6f770fbc1b00cde317df160db1d32fc53a' }, h("a", { key: '85ef5b95cffcae577699f0a3453b0c3fd24d50e9', class: {
51
+ return (h(Host, { key: '9aec16ee648442b0ffb731e612cc0a051f849e06' }, h("a", { key: 'a879395faece3c5211eea56c497c45908969889d', class: {
52
52
  "duet-menu-bar-dropdown-link": true,
53
53
  [`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
- }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '374d983fce34f87bf8c7878ede20b9fae712b8cc', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '26ababe0542732c2fc589340dda968e3bc574caa' }))));
55
+ }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '2e6bed63404ffa961753c38929f9726240d8daf2', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'eecdd8e7217d2eaf1d08438b17a18a3a377b8332' }))));
56
56
  }
57
57
  static get is() { return "duet-menu-bar-dropdown-link"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -71,11 +71,11 @@ export class DuetMenuBarItem {
71
71
  */
72
72
  render() {
73
73
  const TagName = this.url ? "a" : "button";
74
- return (h(Host, { key: '19ec1a0c3d191845df0ae30cdb8f9b83c198b79b', role: "listitem" }, h(TagName, { key: '85786500b66990fe9eee940a466ab9cd08eb2103', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
74
+ return (h(Host, { key: '132d5bd2465b0d1d847c544579ff69c5229faf9a', role: "listitem" }, h(TagName, { key: '486539812ce02259d1ee5e1366aa019371e59e5c', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
75
75
  "duet-menu-bar-item": true,
76
76
  "duet-theme-turva": this.theme === "turva",
77
77
  active: this.active,
78
- }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'ba8faece0464d006590733c1ff8437cdd931ca03', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '80207075bb856dbfecb6a91e0a72b13287751da4' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '7e04921588a4c306f61b8056c7c0a7b83c2c29f8', class: {
78
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '9b6d8d303debd7037dde3c8af5780e937a180ed9', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'd7a37a3a78860c03d9d0876f29382dbb066accf1' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'd0d12aa8778d8be71cb4323758932176c6fb48c7', class: {
79
79
  "trailing-icon": !!this.trailingIcon,
80
80
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
81
81
  "external-icon": !!this.external,
@@ -33,11 +33,11 @@ export class DuetMenuBarLink {
33
33
  * Always the last one in the class.
34
34
  */
35
35
  render() {
36
- return (h(Host, { key: 'ed2a24c6bdd70f91370a4a70bf22804ce698ca49', role: "listitem" }, h("a", { key: 'f957e2da0344bdd58789bb90151c23b341824d93', class: {
36
+ return (h(Host, { key: '858334fb783a2f4df99678148750056417235872', role: "listitem" }, h("a", { key: '7429380cb4dd0764af78fb92f6036edcbc503fcb', class: {
37
37
  "duet-menu-bar-link": true,
38
38
  "duet-theme-turva": this.theme === "turva",
39
39
  active: this.active,
40
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'c6f7c0a4fbc065c7ff132dba57ec468036359582', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '73100c0c85e3087896e81c526816b1e92d13b9c3' }))));
40
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'cbcbea291b31e18a928e0bc5ba3d9fade0a5be18', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'e3bdab3464edebc3009bb50436c82a94700b68e6' }))));
41
41
  }
42
42
  static get is() { return "duet-menu-bar-link"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -31,7 +31,7 @@ export class DuetNav {
31
31
  * Always the last one in the class.
32
32
  */
33
33
  render() {
34
- return (h(Host, { key: '5d770ae8af90d4342a6a057ece21ada25ba64f63' }, h("div", { key: 'fe2a1611fec8c6a234c25a13e24d732cc0cf4511', class: { container: true, sticky: this.sticky } }, h("slot", { key: 'c7bad3186de463ebf1a3b1411b299cf59f16df0b' }), h("slot", { key: '77e0e221d53ce3d3addf52cdbfe06e5fa55b38b3', name: "mobile" }), h("slot", { key: '691b0c5b905950d7218633ffedc1094e7b1e7946', name: "desktop" }))));
34
+ return (h(Host, { key: 'cfe229a2c9358cf42d3de731743f9294662d104f' }, h("div", { key: 'aa379a4209ebe14ffd066b760e1649bf1e70d5de', class: { container: true, sticky: this.sticky } }, h("slot", { key: '75a8a41301126ff2702908d3d60077afc8dd466f' }), h("slot", { key: '5c2b378bc0a9258e1e6de5776b5395cdbfeb4625', name: "mobile" }), h("slot", { key: '457a685985e8dda33bfd158e4caa497816aec4e8', name: "desktop" }))));
35
35
  }
36
36
  static get is() { return "duet-nav"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -79,11 +79,11 @@ export class DuetNotification {
79
79
  return `${indicatorText}${slottedText}${slottedText.endsWith(".") ? "" : "."} ${this.date}`;
80
80
  }
81
81
  render() {
82
- return (h("div", { key: '457e94b4a6853aa86a9cca92506b7aecc31aebd9', role: "listitem", class: {
82
+ return (h("div", { key: 'e116ef2939b8668fc7279240fdf496f47517525b', role: "listitem", class: {
83
83
  "duet-notification": true,
84
84
  "duet-notification-highlight": this.highlight,
85
85
  "duet-theme-turva": this.theme === "turva",
86
- } }, h("a", { key: 'e011022f39bd5e719c9cae5ec54b4233f1bf9fb8', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self", "aria-label": this.getAriaLabelText() }, h("div", { key: 'e2c33d869adfc549195685ad1bbd1e2d5c4370b2', class: "duet-notification-container" }, h("div", { key: 'e491caeba677f8e78da287b50621e33be6519753', class: "duet-indicator-container" }, this.highlight && (h("duet-indicator", { key: '4cdf556b6b6354da2174ae00af435199aa2dbe94', variation: "new", "accessible-label": this.accessibleLabelUnread }))), h("div", { key: '942680343125bc34098440f5fec8abf5db5fb4ab', class: "duet-notification-content" }, h("slot", { key: '63a85af1051ad93c0569cfead2f104c32f446b7e' })), h("div", { key: '08dcdffb37beef2796ba05ae48a233badf652ef4', class: "duet-notification-date" }, this.date)))));
86
+ } }, h("a", { key: 'ac7b3f44a84463a437c6954d034b535dffcbc978', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self", "aria-label": this.getAriaLabelText() }, h("div", { key: '42276fe951fbbabbf6ff6b3f2051d11157890e2a', class: "duet-notification-container" }, h("div", { key: '56dcb28c55e3881f6d3db4e19b92bd31bc414172', class: "duet-indicator-container" }, this.highlight && (h("duet-indicator", { key: 'fd07536d88807026f7b41ab30ad85ea3e1af6032', variation: "new", "accessible-label": this.accessibleLabelUnread }))), h("div", { key: 'e3daee0b1da9007ccf0338e2c093e46eec357331', class: "duet-notification-content" }, h("slot", { key: '9bdcdf46004eac0eeabf90599190a403420e255b' })), h("div", { key: '2b8ac8c2a2ee2552011334bb902fcf179359641c', class: "duet-notification-date" }, this.date)))));
87
87
  }
88
88
  static get is() { return "duet-notification"; }
89
89
  static get encapsulation() { return "shadow"; }
@@ -56,15 +56,15 @@ export class DuetPageHeading {
56
56
  */
57
57
  render() {
58
58
  const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
59
- return (h("div", { key: '52d02a4dce3ed0bfe7d0281e536c14b7d2d7af02', class: {
59
+ return (h("div", { key: '3328f3fe2eae32ac303bd225286f8cb120ab61c4', class: {
60
60
  "duet-page-heading": true,
61
61
  "duet-theme-turva": this.theme === "turva",
62
62
  "has-icon": !!this.icon,
63
63
  [layout]: true,
64
- } }, h("div", { key: '5b8730f3424abb59a4f112a8cf4f820d3ea18f8b', class: "background" }, this.theme === "turva" && h("div", { key: '38b4170db541d4a236704fb6b27740c33919ef83', class: "background-mask" }), this.theme !== "turva" && this.shape !== "none" && h("div", { key: '4b4724634d1e265f5647dcd33721a98867e8bd60', class: "brand-shape" }), this.theme !== "turva" && this.shape !== "none" && h("div", { key: '26f7bc99f46804ee1102ce912f6ca77d339be248', class: "brand-shape second-shape" }), this.icon && (h("div", { key: '4f2aa62fb0c1db1e07c64e15a089091ec2eab04c', class: {
64
+ } }, h("div", { key: '6004c4cad41df3235c35028e22b99687822834a3', class: "background" }, this.theme === "turva" && h("div", { key: '96c29409898ad2d9e17f7a239de51564edeb6c3d', class: "background-mask" }), this.theme !== "turva" && this.shape !== "none" && h("div", { key: '98927459ce052f21595e04456755f717bef082eb', class: "brand-shape" }), this.theme !== "turva" && this.shape !== "none" && h("div", { key: '227a5d17a08578a3be98c62f2d70462b5c4b8b46', class: "brand-shape second-shape" }), this.icon && (h("div", { key: '63df03a73b3f9fed6a2da169909fc3d9f66d5626', class: {
65
65
  "brand-shaped-icon": true,
66
66
  "secondary-background": this.iconBackground === "secondary" && this.theme !== "turva",
67
- } }, h("duet-icon", { key: '0b654e7123f11229e0c685e0b81a46697a02b292', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'b6d28fa2f26538252371352175a8a9bba5cc8957', class: { heading: true, "has-back-button": this.hasButtonSlot } }, h("slot", { key: '283f4783659934a188371693ff2f418b256f43c3', name: "heading" }), this.hasButtonSlot && (h("div", { key: 'bf572a5c8cb71cfb3fba0090e4ca0279b0f9e8f2', class: "button-container" }, h("slot", { key: 'a78e5b2921240203bcd7572825e46b8a49c236cf', name: "button" }))), this.progressCurrentStep !== undefined && this.progressTotalSteps > 0 && (h("div", { key: 'e0d6bae844200dbd0cc4264186c178e9cbcc4c3a' }, h("duet-spacer", { key: '5e02b1d6f9d9ae5133ec857b69da04d73159a213', size: "large" }), h("div", { key: '8b14ec6f1cda71d6a69236e9256faa91519da39e', role: "presentation" }, this.progressIndicator()))))));
67
+ } }, h("duet-icon", { key: '37acbb96cb330205c3ebe49a067ac13aed9e41e4', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: '1e1418a1f8d795ea22ef9d109a492df7e02c18da', class: { heading: true, "has-back-button": this.hasButtonSlot } }, h("slot", { key: 'd6b003c8333758e02039e2d9c34fc14e4a29d8e5', name: "heading" }), this.hasButtonSlot && (h("div", { key: 'e41431ef7cd5f5fabebe5f0a6bd8130b1fd7e127', class: "button-container" }, h("slot", { key: 'c04b5938d41a029b7e6eed4024a6c09790f5cc71', name: "button" }))), this.progressCurrentStep !== undefined && this.progressTotalSteps > 0 && (h("div", { key: 'ee4a64fc94e17fdeb0cfc4885412d6cef97582e3' }, h("duet-spacer", { key: '5c39c12f1ed87439b8c8273b4c919f865fda45af', size: "large" }), h("div", { key: '7174a3aa5f24863cdb4b4a194f1003610fdb9ae8', role: "presentation" }, this.progressIndicator()))))));
68
68
  }
69
69
  static get is() { return "duet-page-heading"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -80,18 +80,18 @@ export class DuetPromoCard {
80
80
  img: {
81
81
  src: this.image,
82
82
  alt: this.imageAlt || "",
83
- loading: "lazy",
83
+ loading: this.imagePriority === "high" ? "eager" : "lazy",
84
+ fetchpriority: this.imagePriority,
84
85
  class: "image",
85
- role: this.imageAlt ? undefined : "presentation",
86
86
  },
87
87
  sources: parsePossibleJSON(this.sources),
88
88
  };
89
- return (h(Host, { key: '17e585c7caea2ce49b25ea82914c047ff6c82a9a', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: 'd71249878100984ee82f889d89c9457c730f7662', class: {
89
+ return (h(Host, { key: '97dab264c5d107592d20f0f417be8f19afe3d8fd', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: 'c45359578b2b47d473998c61c848da71b70c800d', class: {
90
90
  "duet-promo-card": true,
91
91
  "duet-theme-turva": this.theme === "turva",
92
92
  "no-bg-color": !this.backgroundColor,
93
93
  "duet-promo-card-link": !!this.url,
94
- }, style: bannerStyles }, h(TagName, { key: 'c4edfe1d3f7a37846ce57b02390f6c506c2c141b', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, h(DuetPicture, Object.assign({ key: '4db132f911aa01f941743b55bb6efb8275219bb8' }, pictureSource)), h("div", { key: 'cac0e424e892d37419eac7e2af2b0bd7308b0c39', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: '36a74542f6621186fead0089783ac32a418b3125', class: "pre-heading" }, h("slot", { key: 'd8ecaaa3fe7d32b1d751acd669b6869a2168231f', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'ae586b7d14276add01c99296d8fc96844eed3ee2', class: "heading" }, h("duet-heading", { key: '7079249d8751808397889bc332aac7e4bf0beb00', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'e4211262efe0fc117017355c175487a24dc52485' }, h("slot", { key: 'b0f6196e3cec65f855231d232684e7507f71a972', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: 'c3275a5080abb7488022cdb97da68110872fc80e', class: "description" }, h("duet-paragraph", { key: '0232414d087686f41f37fe95cbecda5217250ac0', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '04d9e5329afdbaaec69f7848017ae5489aa671c1' }, h("slot", { key: 'da7bfca8139e63ee663bb426ca6ebdad8fed35cd', name: "description" }))))), this.hasActionSlot && (h("div", { key: '054ddda2d414a26348e684738ebad3042ea292b3', class: "action" }, h("slot", { key: '348682adce3b3f16de045034dccf4daf48edc6ca', name: "action" }))))))));
94
+ }, style: bannerStyles }, h(TagName, { key: 'ef88f3802caf987b1f4507d4666e4c1e995c03ed', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, h(DuetPicture, Object.assign({ key: '56569975e0e19da32854f893faa7735b8ad02aed' }, pictureSource)), h("div", { key: '2f7457dfc83c5d90fb9bab5db26a4785d48af1c1', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: '2219e5e9347de718cd7a1d7d647e8309ee650831', class: "pre-heading" }, h("slot", { key: 'd5da5a114026a15e4dcbef0017a9e4e626f1f4dd', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'c3c9d6e2cde6750417e55cd568e92c2c6e1e794f', class: "heading" }, h("duet-heading", { key: '30369ab97d1b23ebb0efd58498f088663a7fd77f', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '697f670a938866d937aed46cf361e3fb038047b9' }, h("slot", { key: '20d4d9b0ebccd08a2c3058284bbe6ab7cf5631b6', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '6336dc1b21d5e7e2280000db82489ef2ebce379d', class: "description" }, h("duet-paragraph", { key: '1d5200f1d385d5600a4db1aafc9ff8f8adfc0945', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'a814b4225fc2b5882542079a92057a5aa4be8a25' }, h("slot", { key: '8dfe422bb5fa8a28be96b4a61a02c00d53158dca', name: "description" }))))), this.hasActionSlot && (h("div", { key: '37b653137388b4a43968de02eb65a4b9907c3022', class: "action" }, h("slot", { key: '594172da1335d25e8856e4d7f8db3543a82a8f2e', name: "action" }))))))));
95
95
  }
96
96
  static get is() { return "duet-promo-card"; }
97
97
  static get encapsulation() { return "shadow"; }
@@ -250,6 +250,25 @@ export class DuetPromoCard {
250
250
  "setter": false,
251
251
  "reflect": false
252
252
  },
253
+ "imagePriority": {
254
+ "type": "string",
255
+ "attribute": "image-priority",
256
+ "mutable": false,
257
+ "complexType": {
258
+ "original": "\"high\" | \"low\"",
259
+ "resolved": "\"high\" | \"low\"",
260
+ "references": {}
261
+ },
262
+ "required": false,
263
+ "optional": false,
264
+ "docs": {
265
+ "tags": [],
266
+ "text": "Make the image load with higher or lower priority. Value \"high\" sets the img's attributes fetchpriority and loading to\n\"high\" and \"eager\", while value \"low\" sets those attributes to \"low\" and \"lazy\""
267
+ },
268
+ "getter": false,
269
+ "setter": false,
270
+ "reflect": false
271
+ },
253
272
  "sources": {
254
273
  "type": "string",
255
274
  "attribute": "sources",
@@ -158,7 +158,7 @@ export class DuetRadioGroup {
158
158
  * Always the last one in the class.
159
159
  */
160
160
  render() {
161
- return (h(Host, { key: '02e9f8d2279ba0a17975acd1fbe2a47de0b0ab70', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: '47e6bc188d4c4e575d75d36367da122316d96bc0', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '18d3f763a86f215663b520717b293bf2310a8f6f', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '0c7ba1f9d7b007e9a7b410270305bfe7c8bb0a11', name: "tooltip", slot: "tooltip" }), h("div", { key: 'a10eb9b3e81d3d8bffb7105380f718da84c61f4b', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '9010cb8e811a5ee69fb6e03c9d1b44fa92f9c60c' })))));
161
+ return (h(Host, { key: 'efd5c1575bcaa27689fda3d887405f1f8c89d40b', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: 'e7a49a48e778e7536ec79e4dd3f6cc1657c38f39', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: 'bb72a0c834b31079cd07c6894c98192f346876a7', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '8e0657188162e21abc47f50b341776e83b358476', name: "tooltip", slot: "tooltip" }), h("div", { key: '800d524204ac076c087cdd7916077613b454475d', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '265f7219a181ecc24adf1708a1dd3e2d69b23253' })))));
162
162
  }
163
163
  static get is() { return "duet-radio-group"; }
164
164
  static get encapsulation() { return "shadow"; }
@@ -284,18 +284,18 @@ export class DuetScrollable {
284
284
  * Always the last one in the class.
285
285
  */
286
286
  render() {
287
- return (h(Host, { key: '2f5fa75837cec7537480b0f5eac81c17cb26187e', class: {
287
+ return (h(Host, { key: 'e4fcbff642e107e2d34afda150b6d018d9495bfa', class: {
288
288
  "duet-theme-turva": this.theme === "turva",
289
289
  "duet-theme-default": this.theme === "default",
290
- } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '5764bbcb0703456241a485b5d588d65a3d1a8ede', class: {
290
+ } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '0812bcf7ea5189d289b2802404f7a5b72f84e914', class: {
291
291
  collapse: true,
292
292
  hide: !this.needsScrolling && !this.collapsed,
293
- } }, h("duet-button", { key: 'f9f251d19c6d1a268b47f92f8b3cd894c95e07f6', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '50f2782ad08fd6caa181c7eaa25f7feef7c98a2b', name: "collapse-button-label" })))), h("div", { key: '52b2a5731b450693bb4b3a978dbdb2d7f14777d6', class: {
293
+ } }, h("duet-button", { key: 'b800fd6f995333456428d33f3bd879d998e69161', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '28a8ddf0c43d1fc83562f90222107add5742c568', name: "collapse-button-label" })))), h("div", { key: 'd8dbfd839185724f0c731fd05fc7318edd55f8ef', class: {
294
294
  "duet-scrollable-items": true,
295
295
  buttons: this.buttons,
296
296
  center: this.center,
297
297
  "duet-theme-turva": this.theme === "turva",
298
- } }, this.buttons && this.renderButton("left"), h("div", { key: '8df63d3abb46a93cc86cc38eb801ef6a0843b51b', class: {
298
+ } }, this.buttons && this.renderButton("left"), h("div", { key: '52896f20aa1556374ae606865b9baa3d26e5f309', class: {
299
299
  "duet-scrollable-list": true,
300
300
  [`duet-scrollable-list--${this.buttonPosition}`]: true,
301
301
  [`gap-${this.gap}`]: true,
@@ -303,7 +303,7 @@ export class DuetScrollable {
303
303
  [`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
304
304
  [`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
305
305
  "duet-scrollable-stretch": this.stretch,
306
- }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '5377464cb77bfd26de8b9cdea7c827e08b0db428' })), this.buttons && this.renderButton("right"))));
306
+ }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '033251e2116f215b006650c265e0f28b51b4255c' })), this.buttons && this.renderButton("right"))));
307
307
  }
308
308
  static get is() { return "duet-scrollable"; }
309
309
  static get encapsulation() { return "shadow"; }
@@ -24,13 +24,13 @@ export class DuetSectionLayout {
24
24
  * Always the last one in the class.
25
25
  */
26
26
  render() {
27
- return (h(Host, { key: '4640f2d203680d402788b83e99eab0612d23d220', class: {
27
+ return (h(Host, { key: '5a776657b9c39546b9e60e4437f56e15cefca547', class: {
28
28
  "duet-middle": this.middle,
29
29
  "duet-ie": isInternetExplorer(),
30
- } }, h("div", { key: 'df70de3be2c50ec188dc9aab16af90d6c45d6aea', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: '6424120aabf584d6b9f0c9e5dacae247f271ae63', class: {
30
+ } }, h("div", { key: '31100845e191b0057e10ec7e1cffe3b4f4b4f1b7', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: '2e9d933ca7deecedc04f5ed2f23ad181e408d130', class: {
31
31
  "duet-layout": true,
32
32
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
33
- } }, h("section", { key: 'e970057e762239839d30b4d710f4d25cd9b56a2a', class: "duet-main" }, h("slot", { key: '75bc9cc77d08d730e98e956dcec2c4ba15bf6274' }))))));
33
+ } }, h("section", { key: '6b78add4081f704f1aad60bd587101060ae3fe01', class: "duet-main" }, h("slot", { key: '50949eaf1466fdc6c3e9687085eecf0f91a88a38' }))))));
34
34
  }
35
35
  static get is() { return "duet-section-layout"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -33,9 +33,9 @@ export class DuetShapedImage {
33
33
  const style = {
34
34
  "--rotation": `${this.rotation}deg`,
35
35
  };
36
- return (h(Host, { key: 'bc7cef36e9635c521aaabfc2fb434aeb06162417', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: 'dee81d6f9a48a4c8f09778feb1629e37ef7e5309', class: {
36
+ return (h(Host, { key: 'ef370d616b1e83aa0015053fd55534fe9a927593', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '7ea96cb888a313aeb8a2b7f2a7c5a0c6d9ac2880', class: {
37
37
  "shaped-image": true,
38
- }, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: 'c585a6c401f0dff23dfa95452fdafc5c1a6a6473', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'b2d811551b33952948948abb7d5abc4d34a6a129', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
38
+ }, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '2330f5b57f2ca912e048426bd1c2d105a264335d', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'fbcf988fc8fdb69899e9598ebb7549f14174d478', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
39
39
  }
40
40
  static get is() { return "duet-shaped-image"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -63,12 +63,12 @@ export class DuetShareChart {
63
63
  this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: '89abfd2c95426a08eedbb1d09d4394ea0267868b' }, h("div", { key: 'cbdab21514d3ebb70be42df8b110026cc09230e0', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
66
+ return (h(Host, { key: 'ba78b52814e18d4a98cf429a006a3363c004fae2' }, h("div", { key: '545e5ae574e55f8f516c28b2611386306667dc08', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
67
67
  .filter(i => !!i.value)
68
68
  .map(item => (h("span", { class: "duet-share-chart-share", style: {
69
69
  width: `${(item.value / this.itemsTotalValue) * 100}%`,
70
70
  backgroundColor: getColorByName(item.color, this.theme),
71
- } })))), h("ul", { key: 'b4a9f997fc34340201a694935403f61fae0d7af8', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: 'a9cf601d34533e368d69ddc7f40adbc0b9c5b413' })));
71
+ } })))), h("ul", { key: '84ded0fa2267a1187feda3ac3d0774b8628532ce', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: '5657cc260498b721b27387d03a650a677498b872' })));
72
72
  }
73
73
  static get is() { return "duet-share-chart"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class DuetShareChartItem {
10
10
  this.value = 0;
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'aa8f13f668d97b03cbe5aefed617945493e9cb95' }, h("div", { key: '11e8bc3d3a5ac3139982782b8f1eb6b8a3503c7f', hidden: true }, h("slot", { key: '005ad83f4d9dfb8577d850b61772efc58f06abba' }))));
13
+ return (h(Host, { key: '7dae91f324815ceba5f573b93a8aba6a992c424c' }, h("div", { key: 'd5ded78fcdcd3f050a3215eb3b65e8a3a7dcb8e7', hidden: true }, h("slot", { key: '4c892c9c3a1f162e54e7cdbc1c812657402f95be' }))));
14
14
  }
15
15
  static get is() { return "duet-share-chart-item"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class DuetSlideoutLang {
38
38
  */
39
39
  render() {
40
40
  const langTranslation = getLocaleString(this.chooseLangObject);
41
- return (h(Host, { key: '110365f6f4eb9258855cfc4f936a4953a56f2309' }, h("div", { key: '5553f593915deb08fb2f3cbe1ca6b9271253aabf', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '217672b8691657d2854df050f6cb56a794011fcf', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: 'c43b3dc4a59d9b0cb5b3a765742b6671ae6f5125' }))));
41
+ return (h(Host, { key: 'fb16f7ca32c1c5b70c7cb19b34d39e0de068a71d' }, h("div", { key: 'fe1252db925d2af57a4dc783d777dbdf691994b5', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: 'a4597bafb6db9221e482610d9283c992aa42cca9', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: 'df424707a999430019c6cd6853b58ea0d55d2463' }))));
42
42
  }
43
43
  static get is() { return "duet-slideout-lang"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -77,12 +77,12 @@ export class DuetSlideoutLink {
77
77
  * Always the last one in the class.
78
78
  */
79
79
  render() {
80
- return (h(Host, { key: 'dc6e16cb08fd3e309601ebfe4bd1b64cdb83fa3c' }, h("a", { key: '565a7243cf494ed6e8ec78435b3b90490dfae422', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
80
+ return (h(Host, { key: '71791bded96b7d6edf41608fc4d9c492741ddbce' }, h("a", { key: '9c8645e7357b0e6a0d5f4407f82f96c6f42aea5a', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
81
81
  "duet-slideout-link": true,
82
82
  "duet-theme-turva": this.theme === "turva",
83
83
  active: this.active,
84
84
  [this.size]: true,
85
- }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: '61a9ba050ab811c82ec0f824e2235a4fd3c7bc2b', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: 'f481a2e77aed5fa8e0781be21f7dd3527fc24532', class: "label" }, h("span", { key: '2e1a3676bac5ea9d24198535c3f56a1913485450' }, h("span", { key: 'c6d4fc5cfab9566872f9f7f442b4171f8e9f3849', class: "label-container" }, h("span", { key: '55332c9a4587cdef32f32cd2e740d2e9edcc19b3', class: "label-content" }, h("slot", { key: '94c66169219750becb8d9f068cd2744cb761bf3c' })), this.external && (h("duet-icon", { key: '5208591ea13aa8bf9b7f90ce40cb858de42a173f', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '44418b62998ee7874f226014f4cdcd47a454a164', name: "description" })), this.caret && (h("duet-icon", { key: '052f984772e360db9890e2d5259bc8687732c00e', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
85
+ }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: '8f76be0cc20b53561e9f1bbd954a8e19e1bf98a3', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: 'f1e91400ccba4abe58478161a5123dac9e006554', class: "label" }, h("span", { key: 'c93d3f5220ce1ac55c83985bb1df18511bba18a4' }, h("span", { key: 'af6eba590285a896e6f4b9f9d87db82beb0ef9dd', class: "label-container" }, h("span", { key: '62e6519e6f026941b5ac4f8cc65e638d11512002', class: "label-content" }, h("slot", { key: 'fe67fbd9819d698956bfd3595ebd70e2d03536d8' })), this.external && (h("duet-icon", { key: '56d97a47dc264cf28c0b4b08efa53751ea6c8537', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '88c0508cea00310b08cfb79fe23d7f1e07c44305', name: "description" })), this.caret && (h("duet-icon", { key: '186cd9ee20d9c4302e115c857ebcbc0493289870', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
86
86
  }
87
87
  static get is() { return "duet-slideout-link"; }
88
88
  static get encapsulation() { return "shadow"; }