@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
@@ -37,11 +37,11 @@ export class DuetCallout {
37
37
  <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
38
38
  </svg>
39
39
  `;
40
- return (h(Host, { key: '70c2370b0a61707b44ed89544cf0ae0d3eb5b739' }, h("div", { key: '440dfe7d27ede12ff24de94bd9b598b9a630fdf4', class: {
40
+ return (h(Host, { key: 'd3e96c80e032ccbcd8acf8a4f3b8d8d358548786' }, h("div", { key: 'b6caf5e67fcb292b3bf73dc0b9bf27fd06be5590', class: {
41
41
  "duet-callout": true,
42
42
  "duet-theme-turva": this.theme === "turva",
43
43
  "duet-m-0": this.margin === "none",
44
- } }, h("figure", { key: 'b3aa896544cb2cc6021eb50ea96e317fd256d266', class: "container" }, h("duet-icon", { key: 'cdffa280e6126af9e8e77bc6a96821cf7b229796', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: '8b3d9b55675179e4ed743459009d4f278bf2b30a' }, h("slot", { key: '41a60c64671630e6199cb5bcc94a9d19f530b8f3' })), this.hasAuthorSlot && (h("figcaption", { key: '80d6481648829aead64c88db38312ee34253424e', class: "author" }, h("span", { key: '2bf9d1de8bfa5456ea8c69c9b2731e2b1a4bbef3' }, "\u2014 "), h("slot", { key: '091fcf50b602dccfb2d8ae005999539a0dde8efb', name: "author" })))))));
44
+ } }, h("figure", { key: '0b1740d79f890107d1ed0f48b2d0bc9904a6c6c4', class: "container" }, h("duet-icon", { key: 'fc90c293c0008e13b6b7355e4ab32a09d23aaf5e', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: 'a9de71b59c2208091da32a2e9c0acb2fe121d7f7' }, h("slot", { key: '45e54b298e547f5a1dd2f33abf07f48a1bfbea84' })), this.hasAuthorSlot && (h("figcaption", { key: 'f495d161f2993d6cfe240cbd7fe583b447b65186', class: "author" }, h("span", { key: '95b14fcee9c5ed6bbaf04f1711348164a07bf592' }, "\u2014 "), h("slot", { key: '1371283e50a2b7580799984ad815542ccb9e87db', name: "author" })))))));
45
45
  }
46
46
  static get is() { return "duet-callout"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -156,16 +156,17 @@ export class DuetCard {
156
156
  img: {
157
157
  src: this.image,
158
158
  alt: this.imageAlt || "",
159
- loading: "lazy",
159
+ loading: this.imagePriority === "high" ? "eager" : "lazy",
160
+ fetchpriority: this.imagePriority,
160
161
  class: "duet-card-image",
161
162
  role: this.imageAlt ? undefined : "presentation",
162
163
  },
163
164
  sources: parsePossibleJSON(this.sources),
164
165
  };
165
- return (h(Host, { key: 'd61c941d4cbcd29c34375c93cf2c414b553e6825', class: {
166
+ return (h(Host, { key: 'e665c5842a71a942c9098bb06045587327958776', class: {
166
167
  "duet-m-0": this.margin === "none",
167
168
  "duet-card-info": this.variation === "info",
168
- } }, h(TagName, { key: '3e8e63bc3077e7ee7008816f3f1c0928a9ac6cad', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
169
+ } }, h(TagName, { key: '10722ae1c42744e1924df0a38313eb68acb8a4b1', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
169
170
  "duet-card": true,
170
171
  [this.padding]: true,
171
172
  [this.variation]: true,
@@ -175,7 +176,7 @@ export class DuetCard {
175
176
  "duet-card-has-bg": this.background !== "gray-lightest",
176
177
  "duet-card-has-icon": !!this.icon,
177
178
  "duet-card-collapsed": this.collapsible && !this.open,
178
- } }, this.image && (h("div", { key: '430d6550590b6ba8ff0582c6bfe1de5556149597', class: "duet-card-image-mask" }, h(DuetPicture, Object.assign({ key: 'b2c6457f6fad9275a9fdaff2b1a3a492dc08a1e1' }, pictureSource)))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: '705605a43265107ea95fa7d9147cb7cbe82ad586', class: "duet-card-content", id: this.cardId }, h("slot", { key: '2eeb551820975ccbcb3c72f4c2ae4f315848d024' }), this.hasFooter && (h("div", { key: '4ef3a54510d5747516a767282d7392e81eb7ced2', class: "duet-card-footer" }, h("slot", { key: 'f0f8e31a0beba199f3826ec58d277e848134ce38', name: "footer" })))))));
179
+ } }, this.image && (h("div", { key: 'a9a0b21ac68624cba6b3bfb9c0e8d3d87597cfe0', class: "duet-card-image-mask" }, h(DuetPicture, Object.assign({ key: 'efa16a802e16d5be73243c2c1e2c2bd7fe49839b' }, pictureSource)))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: 'a6ea5db0ad9150e7e5a4dd59ae42bb1c6603aac3', class: "duet-card-content", id: this.cardId }, h("slot", { key: '33a498070a2b68d6361247afe7bd12c440abad6b' }), this.hasFooter && (h("div", { key: 'f2ddb3f3e200fcab419911d5023831019cc4e9e3', class: "duet-card-footer" }, h("slot", { key: 'ac749be2398980321f3cfe4f6b3b679cd2803be0', name: "footer" })))))));
179
180
  }
180
181
  static get is() { return "duet-card"; }
181
182
  static get encapsulation() { return "shadow"; }
@@ -456,6 +457,25 @@ export class DuetCard {
456
457
  "setter": false,
457
458
  "reflect": false
458
459
  },
460
+ "imagePriority": {
461
+ "type": "string",
462
+ "attribute": "image-priority",
463
+ "mutable": false,
464
+ "complexType": {
465
+ "original": "\"high\" | \"low\"",
466
+ "resolved": "\"high\" | \"low\"",
467
+ "references": {}
468
+ },
469
+ "required": false,
470
+ "optional": false,
471
+ "docs": {
472
+ "tags": [],
473
+ "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\""
474
+ },
475
+ "getter": false,
476
+ "setter": false,
477
+ "reflect": false
478
+ },
459
479
  "sources": {
460
480
  "type": "string",
461
481
  "attribute": "sources",
@@ -33,11 +33,11 @@ export class DuetCheckmark {
33
33
  inheritGlobalTheme(this);
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '588662850d35631ef6cb3c242d050f4049af0f59', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '301f41ca7f4d90729bffe6940380d56b4d226407', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: 'b0c88fd8e22781c438ec744fc2b24b6263ecf272', class: {
36
+ return (h(Host, { key: '599968da32eca61083a4709ce013889772213f97', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '57f28c3d631c55101a557422617bbd4507ccd2cc', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '6dcd9490f08a532578bd12aa808e40ff5014597d', class: {
37
37
  "duet-checkmark-container": true,
38
38
  center: this.center,
39
39
  "duet-checkmark-radio": this.type === "radio",
40
- } }, this.checked && h("div", { key: '389644f6a51bf281434c674aefc560e35dec4a6e', class: "duet-checkmark" })))));
40
+ } }, this.checked && h("div", { key: '8c27e1f31cf9e1625838308435b62ac73421d350', class: "duet-checkmark" })))));
41
41
  }
42
42
  static get is() { return "duet-checkmark"; }
43
43
  static get originalStyleUrls() {
@@ -181,14 +181,14 @@ export class DuetChoiceGroup {
181
181
  * Always the last one in the class.
182
182
  */
183
183
  render() {
184
- return (h(Host, { key: '0d7434c28155b9472c8819d53c34843052a58d0d', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
184
+ return (h(Host, { key: 'd310a51e8554b474adaaa10b91392effcac7e189', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
185
185
  horizontal: this.direction === "horizontal",
186
186
  "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
187
187
  "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
188
188
  "duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
189
189
  "duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
190
190
  "duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
191
- } }, h("duet-fieldset", { key: 'd0abc308f9f4e0b001efb4923b0e5203ae1d00a6', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: 'f8e3bbac49fdb91180c3caa1b32e7d6eb1305086', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '9ebac012a0024a84eaa3b320a9d1aca91bb48480', name: "tooltip", slot: "tooltip" }), h("div", { key: '9b811428dda8073221eedb0b5a64ddff1662828d', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '22ab1bec355e45e4bd35c68e2d9c86815b99852f' })))));
191
+ } }, h("duet-fieldset", { key: 'a107c1b68c3227d3236020bb9721218f1be052fd', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '0e45f60e7b2ebe7f30f0f87216bbcc176244f80a', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'd129fc812d0be8450b08588910c30be0b4db8a02', name: "tooltip", slot: "tooltip" }), h("div", { key: 'e2ca5fd41342dd4b38442fbb718f2a06c1ba3237', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '12f74fdf5360122b6d5fef83495ba68dede524da' })))));
192
192
  }
193
193
  static get is() { return "duet-choice-group"; }
194
194
  static get encapsulation() { return "shadow"; }
@@ -137,7 +137,7 @@ export class DuetCombobox {
137
137
  if (!this.force && !this.multiple && this.selectedItems.size > 0 && newValue !== this.getSelectedItemLabel()) {
138
138
  this.selectedItems.clear();
139
139
  }
140
- if (!this.force && !this.multiple && newValue === "") {
140
+ if (!this.multiple && newValue === "") {
141
141
  this.value = undefined;
142
142
  }
143
143
  this.listOpen = String(newValue).length >= this.minCharacters && ((_a = this.getFilteredItems()) === null || _a === void 0 ? void 0 : _a.length) > 0;
@@ -245,15 +245,6 @@ export class DuetCombobox {
245
245
  }
246
246
  this.activeItemAnnouncement = "";
247
247
  }
248
- inputValueHandler() {
249
- setTimeout(async () => {
250
- const label = await this.getSelectedItemLabel();
251
- if (this.input.value == "" && label) {
252
- this.input.value = "";
253
- this.value = undefined;
254
- }
255
- }, 200);
256
- }
257
248
  handleDocumentClick(e) {
258
249
  //we want to remove all user text if they have NOT selected from the dropdown
259
250
  const path = e.composedPath();
@@ -1031,9 +1022,6 @@ export class DuetCombobox {
1031
1022
  }, {
1032
1023
  "propName": "activeItem",
1033
1024
  "methodName": "activeItemHandler"
1034
- }, {
1035
- "propName": "inputValue",
1036
- "methodName": "inputValueHandler"
1037
1025
  }, {
1038
1026
  "propName": "items",
1039
1027
  "methodName": "processItems"
@@ -53,15 +53,16 @@ export class DuetContactCard {
53
53
  img: {
54
54
  src: this.image,
55
55
  alt: this.name || "",
56
- loading: "lazy",
56
+ loading: this.imagePriority === "high" ? "eager" : "lazy",
57
+ fetchpriority: this.imagePriority,
57
58
  class: "image",
58
59
  },
59
60
  sources: parsePossibleJSON(this.sources),
60
61
  };
61
- return (h(Host, { key: 'f64dabbe00a4d4f03132a6adc7bc3b95bdd6042a', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '0f5bf8d1828462b3f5e6aa9f5d7e11b338a2b61c', class: {
62
+ return (h(Host, { key: 'e33b5a9345cc0e38336978b22b5a5e833bb03bb9', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '836de470febdb6a96d024a08f55a25a62392b350', class: {
62
63
  "duet-contact-card": true,
63
64
  "duet-theme-turva": this.theme === "turva",
64
- }, role: "group", "aria-label": this.name }, this.image ? h(DuetPicture, Object.assign({}, pictureSource)) : h("div", null), h("div", { key: 'c7f1a34d6324e755b84db0dc4da6ccfe23c2caea' }, this.name && (h("duet-heading", { key: 'b5e344e3a442dd32b215a64c5ac5050004205cd2', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: 'c0691195632640e79ff0138fd59b974764f4e653', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '69b2e8b159c01ac6a10b0e9f5db6484e24d7ba88', class: "email" }, h("duet-icon", { key: '610229dce2bd62cdd469f1507a3d7ab2fb9bbf2e', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'b8de1672468624fb4d187f2284d59057abc6fc02', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: 'f1f0f4cb51fb389b4af742d8aff457575ba2fea8', class: "phone" }, h("duet-icon", { key: 'bf01da4d50e3c15d6e5e6578e560746cd0290cdc', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'b13decd3ea2cbe80e5eb96f4214db65bcf318918', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'e9d62c80a434400828e323a802e873df327e9c28', class: "call-to-action" }, h("duet-button", { key: '5603fe9f97b490a96cfb04cb6efbc98093d8e216', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '6fd00f636dd39f1ad02f62fa2a63cfe7f00f67b2' }), h("slot", { key: 'f91dc7abe608519b46f5bf421f09258cabdda749' }))));
65
+ }, role: "group", "aria-label": this.name }, this.image ? h(DuetPicture, Object.assign({}, pictureSource)) : h("div", null), h("div", { key: '7b0b31acf238f0b6c8a8579bc22f5f819fa794a3' }, this.name && (h("duet-heading", { key: '03c95063f1c164feeee6d7ffec8050e76a863065', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '35343cc1d650f5f6f83d1c98db2e7d5d8df32232', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'a4565eeb9a17b36e5cb086f4a7a071f7da471958', class: "email" }, h("duet-icon", { key: '622531d9bba0fb9991aa5d15577d906aa637fb97', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'dc454c0170ea57a3e9e9a1c891cda1852c20330c', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '8df6d3ba05579ea713093fb7a254c85ea2827f17', class: "phone" }, h("duet-icon", { key: 'c0551285cbe9b64e23ca131cbc6be05efab7bbe1', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'd3f01bfb37c0120280514925cb386a75f660ee26', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'df56d1a6ac897401fa74b40da6f163908dedd2db', class: "call-to-action" }, h("duet-button", { key: 'be684b20bf8f7f976cc2b8934b10650c09dc824d', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: 'c1719ef0b401fd6d6a189a68ad61a6339f1299c9' }), h("slot", { key: '59366556e70ea407134c67f51da830cab886171d' }))));
65
66
  }
66
67
  static get is() { return "duet-contact-card"; }
67
68
  static get encapsulation() { return "shadow"; }
@@ -148,6 +149,25 @@ export class DuetContactCard {
148
149
  "setter": false,
149
150
  "reflect": false
150
151
  },
152
+ "imagePriority": {
153
+ "type": "string",
154
+ "attribute": "image-priority",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "\"high\" | \"low\"",
158
+ "resolved": "\"high\" | \"low\"",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "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\""
166
+ },
167
+ "getter": false,
168
+ "setter": false,
169
+ "reflect": false
170
+ },
151
171
  "sources": {
152
172
  "type": "string",
153
173
  "attribute": "sources",
@@ -75,20 +75,20 @@ export class DuetFieldset {
75
75
  * Always the last one in the class.
76
76
  */
77
77
  render() {
78
- return (h(Host, { key: 'dfc4801eaf8c1165b778701dffc06cb6c6729dab', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '720a2326b5106d5a7665528aedf93a351173abd0', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
78
+ return (h(Host, { key: '6b5e616dee35539f33f740844d8cb031480e7034', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'b9847559a5f6d043d40cf13941b02abcafcd4826', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
79
79
  // NVDA and VoiceOver do not yet support aria-errormessage
80
80
  // once they do, we can remove errors from the aria-describedby
81
81
  // aria-errormessage={this.error ? this.errorId : null}
82
82
  class: {
83
83
  "duet-fieldset": true,
84
84
  "duet-theme-turva": this.theme === "turva",
85
- } }, h("legend", { key: 'a3e0f5a2079c07462370fe5b4953029868a34128', id: this.labelId }, h(this.labelHeadingLevel, { key: '8b09fc7c58d0cb9ce5228f420c16b7e753cbff32' }, this.label), this.caption && h("span", { key: '5505e5ff8f0fb05d0de2100a606281efc89de10d' }, this.caption)), h("div", { key: 'c283e26732c4a1a23ab92f2f69c470f8576a1295', class: {
85
+ } }, h("legend", { key: '00db725af6a81cc39f9812b6ad907e14099e640b', id: this.labelId }, h(this.labelHeadingLevel, { key: 'e790c1bb2136af773035d687afa1af037f965174' }, this.label), this.caption && h("span", { key: '94cfa68d4e1bc683b16749e06667ad9fa13a84c6' }, this.caption)), h("div", { key: 'f7fbe98556ff25593ef84788b28a95a684a923e6', class: {
86
86
  "duet-legend-wrapper": true,
87
87
  "duet-legend-has-caption": !!this.caption,
88
88
  "duet-legend-has-tooltip": this.hasTooltip,
89
89
  "duet-legend-hidden": this.labelHidden,
90
90
  "duet-legend-compact": this.compactLabel,
91
- } }, h("div", { key: '1ffa47a6b399b46b218a71a35e645f3c7f3e4699', class: "duet-fieldset-label" }, h("span", { key: '8f13839c07004cfa7b57c7e90a56a9416e5318cd', "aria-hidden": "true" }, this.label), h("slot", { key: '48871bac950c808682971d71b05bffb3e4d2f423', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '9a67fb599acf90e1b6711421f08b5f76776c9c2a', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: '4b40741c7e05704d6c7d8226a926a6a38ceff851', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'f57fd8b8ab64c31c89e7daf22baa9c9ae1251cfa' }), h("span", { key: '3fc490294c332706136999063ea7b3091c95676d', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'f8b4d8ccd2a8d7b1b0ef640f55520278995fe80b', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
91
+ } }, h("div", { key: '1ed3c1d5c1e394cc84c6b38d05d6dae5c81025de', class: "duet-fieldset-label" }, h("span", { key: '0a004664043ce7eecc9a0a12383342f4d6bd7b46', "aria-hidden": "true" }, this.label), h("slot", { key: '3e1c56c60ca7a1b343aa25d3e63609ddcfef2822', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '8b165ea6688eb0a0c179fe76c583990d357e99d6', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'b54388620f28ecef14c0da6d4e8d27ed9b16de78', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '41fa24ea72a9f4318bb6dd183fb0a464ed45d8ca' }), h("span", { key: '6569844fd76312f12b64a7864f35e6f4637110db', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'cef4273c56dff02051a14435d02d975131d4c4a4', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
92
92
  }
93
93
  static get is() { return "duet-fieldset"; }
94
94
  static get encapsulation() { return "shadow"; }
@@ -594,4 +594,26 @@
594
594
  :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {
595
595
  grid-template-columns: repeat(3, minmax(0, 1fr));
596
596
  }
597
+ }
598
+
599
+ :host(.duet-grid-variation-grid.duet-grid-template-teaser) {
600
+ grid-template-columns: minmax(0, 540px);
601
+ gap: 40px;
602
+ padding: 0;
603
+ }
604
+ @container (min-width: 720px) {
605
+ :host(.duet-grid-variation-grid.duet-grid-template-teaser) {
606
+ grid-template-columns: repeat(2, minmax(0, 540px));
607
+ }
608
+ }
609
+ @container (min-width: 1100px) {
610
+ :host(.duet-grid-variation-grid.duet-grid-template-teaser) {
611
+ grid-template-columns: repeat(3, minmax(0, 540px));
612
+ }
613
+ }
614
+
615
+ @container (min-width: 1100px) {
616
+ :host(.duet-grid-variation-grid.duet-grid-template-teaser.duet-grid-direct-children-4) {
617
+ grid-template-columns: repeat(2, minmax(0, 540px));
618
+ }
597
619
  }
@@ -5,6 +5,7 @@ import { Build, h, Host } from "@stencil/core";
5
5
  import { debounce } from "../../utils/js-utils";
6
6
  export class DuetGrid {
7
7
  constructor() {
8
+ this.directChildCount = 0;
8
9
  /**
9
10
  * Enable or disable the automatic responsive behaviour of the grid component.
10
11
  * Setting this option to "true" makes sure that contents are stacked vertically
@@ -121,7 +122,9 @@ export class DuetGrid {
121
122
  return Array.from(Build.isServer ? this.element.children : this.element.querySelectorAll(":scope > *"));
122
123
  }
123
124
  async updateGridItems() {
124
- const items = this.getDirectChildren().filter(child => child.tagName.toLowerCase() === "duet-grid-item");
125
+ const children = this.getDirectChildren();
126
+ this.directChildCount = children.length;
127
+ const items = children.filter(child => child.tagName.toLowerCase() === "duet-grid-item");
125
128
  items.forEach(item => {
126
129
  item.responsive = this.responsive;
127
130
  item.breakpoint = this.breakpoint;
@@ -208,7 +211,7 @@ export class DuetGrid {
208
211
  * Always the last one in the class.
209
212
  */
210
213
  render() {
211
- return (h(Host, { key: 'e64260236eda4217a2cb10444342c33d243da8cf', class: {
214
+ return (h(Host, { key: 'af6ceb11c84216f03b1dda1c12f3ae224b5c4874', class: {
212
215
  "duet-grid": true,
213
216
  "duet-no-stacking": !this.responsive,
214
217
  "duet-grid-align-top": this.alignment === "top", // flex-start
@@ -235,9 +238,10 @@ export class DuetGrid {
235
238
  "duet-grid-row-reverse": this.rowReverse,
236
239
  [`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
237
240
  [`duet-grid-template-${this.gridTemplate}`]: true,
241
+ [`duet-grid-direct-children-${this.directChildCount}`]: true,
238
242
  "duet-grid-no-row-gap": this.gridTemplateGap.startsWith("none") && this.gridTemplate !== "button-grid",
239
243
  "duet-grid-no-column-gap": this.gridTemplateGap.endsWith("none") && this.gridTemplate !== "button-grid",
240
- } }, h("slot", { key: '1cb11ce3685bf5043dfa3e36e6a0ff3653106b54' })));
244
+ } }, h("slot", { key: 'c000cfdac55f96a2f4698668e48b13f1e6829ccc' })));
241
245
  }
242
246
  static get is() { return "duet-grid"; }
243
247
  static get encapsulation() { return "shadow"; }
@@ -428,8 +432,8 @@ export class DuetGrid {
428
432
  "attribute": "grid-template",
429
433
  "mutable": false,
430
434
  "complexType": {
431
- "original": "| \"small\"\n | \"medium\"\n | \"large\"\n | \"sidebar-right\"\n | \"sidebar-left\"\n | \"two-columns\"\n | \"three-columns\"\n | \"button-grid\"",
432
- "resolved": "\"button-grid\" | \"large\" | \"medium\" | \"sidebar-left\" | \"sidebar-right\" | \"small\" | \"three-columns\" | \"two-columns\"",
435
+ "original": "| \"small\"\n | \"medium\"\n | \"large\"\n | \"sidebar-right\"\n | \"sidebar-left\"\n | \"two-columns\"\n | \"three-columns\"\n | \"button-grid\"\n | \"teaser\"",
436
+ "resolved": "\"button-grid\" | \"large\" | \"medium\" | \"sidebar-left\" | \"sidebar-right\" | \"small\" | \"teaser\" | \"three-columns\" | \"two-columns\"",
433
437
  "references": {}
434
438
  },
435
439
  "required": false,
@@ -465,6 +469,11 @@ export class DuetGrid {
465
469
  }
466
470
  };
467
471
  }
472
+ static get states() {
473
+ return {
474
+ "directChildCount": {}
475
+ };
476
+ }
468
477
  static get elementRef() { return "element"; }
469
478
  static get watchers() {
470
479
  return [{
@@ -53,7 +53,7 @@ export class DuetGridItem {
53
53
  * Always the last one in the class.
54
54
  */
55
55
  render() {
56
- return (h(Host, { key: 'df12b3cc2925272599581a0a6c922364a9ddbc83', style: {
56
+ return (h(Host, { key: '1a1bfed712a2b3acd4f87bd37bb4b22e06521056', style: {
57
57
  "min-width": this.minWidth,
58
58
  "max-width": this.maxWidth,
59
59
  }, class: {
@@ -70,7 +70,7 @@ export class DuetGridItem {
70
70
  "duet-grid-item-br-medium": this.breakpoint === "medium",
71
71
  "duet-grid-item-br-large": this.breakpoint === "large",
72
72
  "duet-grid-item-br-x-large": this.breakpoint === "x-large",
73
- } }, h("slot", { key: 'beb1eff26b3dd81aab53500be3b2f5274c099c9d' })));
73
+ } }, h("slot", { key: '11a8e27d181731baadfceaafef6de847fd3fd081' })));
74
74
  }
75
75
  static get is() { return "duet-grid-item"; }
76
76
  static get encapsulation() { return "shadow"; }