@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
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D3450NfA.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
5
  import { a as media_query_large } from './tokens-Ce9HQd35.js';
6
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
6
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
7
7
  import { a as isEscapeKey } from './keyboard-utils-BaefVzkx.js';
8
8
 
9
9
  const duetSubmenuBarDropdownCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-submenu-bar-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-dropdown button:focus,.duet-submenu-bar-dropdown button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;visibility:visible;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);scrollbar-width:none;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);transition:none}}.duet-submenu-bar-dropdown .items.hidden{visibility:hidden;max-height:0;padding:0;overflow:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-submenu-bar-dropdown.duet-theme-turva button.active{color:rgb(230, 23, 64)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(251, 225, 209)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(230, 23, 64)}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(230, 23, 64)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(140, 0, 30)}.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(251, 225, 209)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}";
@@ -112,18 +112,18 @@ const DuetSubmenuBarDropdown = class {
112
112
  * Always the last one in the class.
113
113
  */
114
114
  render() {
115
- return (h(Host, { key: '9db89f3062b1138f1cbaaacd84a97026ff56c5ff', role: "listitem" }, h("div", { key: '0f9e619dc382e085278c5f36fc978241760b3e70', class: {
115
+ return (h(Host, { key: 'bcb3f683de71c0bc8b9c87f8c3bc7ef5600c6fa0', role: "listitem" }, h("div", { key: 'ec440dbd58f7aa8a152d1e6517801ffffb4795a6', class: {
116
116
  "duet-submenu-bar-dropdown": true,
117
117
  "duet-theme-turva": this.theme === "turva",
118
118
  open: this.open,
119
119
  active: this.active,
120
- } }, h("button", { key: '1ecf4e3ee3775963e103647d5d76c7b4a59d0445', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
120
+ } }, h("button", { key: 'f67b293a2fd28a3c0e3e062461de2890beb6f174', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
121
121
  open: this.open,
122
122
  active: this.active,
123
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'a8f70f3768575a3bca672d8918ba83a1077e9603', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'a53417b0ca2642132cf89acfbb1022b593c1a28b', class: "label" }, h("span", { key: '45fca6c9e11c261e27861f263dc2f200e1dfe15a', class: "label-text" }, h("slot", { key: 'cbda020e4fac6600b839cb9c70309914eb80c5eb', name: "label" })), h("duet-icon", { key: 'f4276eaab67b32aec06ce3f1f3b88541ade918f4', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '82c3d5e082beabeb0efc9d240c9d5d921f1b3f45', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
123
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '10bfe310933a9f989ae31ded0cbced2a0a14db8a', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '3c53621e7555e4df6a62ac41cfacb19dbc2630b9', class: "label" }, h("span", { key: '60cd09a846746be5d50c9851d1a2d3d66a61682e', class: "label-text" }, h("slot", { key: '0a0ad898618514d5b4f510d6be7e3c0074a86af1', name: "label" })), h("duet-icon", { key: '69a6d28eba4f72b06c035cd529553ae16da14253', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'f5889cb60d5f244d99e8e5cce9486388166e4034', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
124
124
  items: true,
125
125
  hidden: !this.open,
126
- } }, h("slot", { key: '77eaa9506cdf662ffb1d04163e20e1d55d59fec0' })))));
126
+ } }, h("slot", { key: '48c26d5ac4af48cc2a0811966278d49b315723f3' })))));
127
127
  }
128
128
  get element() { return getElement(this); }
129
129
  };
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D3450NfA.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
5
  import { n as newWindowIcon } from './action-new-window-small-EH8_HdAm.js';
6
6
  import { a as DuetStringsExternalDefaults } from './common-strings-8RjiAqaE.js';
7
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
8
- import { g as getAccessibleLinkLabel } from './a11y-utils--wwGTL0T.js';
7
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
8
+ import { g as getAccessibleLinkLabel } from './a11y-utils-DZqe1lDK.js';
9
9
  import { a as isEscapeKey } from './keyboard-utils-BaefVzkx.js';
10
- import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-D4WVl8Ph.js';
10
+ import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-DTyUbpD-.js';
11
11
  import './_commonjsHelpers-DvwKrUS6.js';
12
- import './slot-utils-Dxcjtmp3.js';
12
+ import './slot-utils-BhEk4zKY.js';
13
13
  import './string-utils-C6E9F6QT.js';
14
14
 
15
15
  const duetSubmenuBarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 75, 129);text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-submenu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}.duet-submenu-bar-item.duet-theme-turva[aria-expanded=true]{background:rgb(251, 225, 209)}.duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(230, 23, 64)}.duet-submenu-bar-item.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}.duet-submenu-bar-item.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}";
@@ -87,7 +87,7 @@ const DuetSubmenuBarItem = class {
87
87
  render() {
88
88
  const TagName = this.url ? "a" : "button";
89
89
  const role = this.url ? "link" : "button";
90
- return (h(Host, { key: 'c675c500658117f8fa1fe3629f63caf42fa5cfc5', role: "listitem" }, h(TagName, { key: '444e618b383e220a1f564ae17479db6d34f2b195', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "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, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'fd9700bf1c3d961a93743de0d869f484553b16bf', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '0f4c3625759850d77add064f64408d776f1f46a1', class: "label" }, h("span", { key: 'abda37eff9b40128fcf46e0c81120eaaa5b0e260', class: "label-text" }, h("slot", { key: '2669839ad630664e4c309a77845668a80b6b807d' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'fc997b7d0c63d208f6a5e492fea73e1b30c86706', class: {
90
+ return (h(Host, { key: 'de4d2352d792c0adffd35bc86e9450b970bf8b0b', role: "listitem" }, h(TagName, { key: 'd07f89e5b67f9898e7ad18385c29956226bbd875', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "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, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '0355e7d2be9da67841b162371e4c22bed4a58bf8', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'c6cb759071a39f0ef8d86fcc657aabc6c174f6a8', class: "label" }, h("span", { key: '35b683122ff7739979a3c10ea756df2e0becccfe', class: "label-text" }, h("slot", { key: '530d2eec823596ae1a6c9148684a500bd48ebfae' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: '95d91c2031615a6960ae2d476a92034f37cd5e7f', class: {
91
91
  "trailing-icon": !!this.trailingIcon,
92
92
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
93
93
  "external-icon": !!this.external,
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D3450NfA.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
6
6
  import { a as isEscapeKey } from './keyboard-utils-BaefVzkx.js';
7
7
 
8
8
  const duetSubmenuBarLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;height:100%;padding:12px 1.5rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}}.duet-submenu-bar-link.duet-theme-turva{color:rgb(23, 42, 59)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(230, 23, 64)}@media (min-width: 62em){.duet-submenu-bar-link.duet-theme-turva.active{color:rgb(230, 23, 64)}.duet-submenu-bar-link.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}.duet-submenu-bar-link.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}}";
@@ -45,7 +45,7 @@ const DuetSubmenuBarLink = class {
45
45
  * Always the last one in the class.
46
46
  */
47
47
  render() {
48
- return (h(Host, { key: 'cee1435399e91c4d88abe58e3172d8093bf58796', role: "listitem" }, h("a", { key: '094e7647704343b0511d58f7856eba9f5449ba0f', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '85b33b8d9609e1962cbac3e9fb57bc648042c4e6', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '22bc415cdb1cb8ba85aa0ed47367985443675de8', class: "label" }, h("slot", { key: '2a2a7bdb82c185690ae5b73df3d449716ed80e6c' })))));
48
+ return (h(Host, { key: 'f21f33d16d3f1e5435db17e9cd84b5c6be8b9a27', role: "listitem" }, h("a", { key: 'd0a5cbf0af61c71728e231fe37161b3771d32239', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '62d39b5711cb99bbe1e6a5116d365926cbb7a00e', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '0c4fad2999da91f0c87910c43f30c028482581ca', class: "label" }, h("slot", { key: '9f803721b07edf060c3a0c3c65190f8205ab0422' })))));
49
49
  }
50
50
  get element() { return getElement(this); }
51
51
  };
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D3450NfA.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
5
  import { a as media_query_large } from './tokens-Ce9HQd35.js';
6
6
  import { e as enableBodyScroll, d as disableBodyScroll } from './bodyScrollLock.es6-B1B-PPrh.js';
7
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
7
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
8
8
 
9
9
  const duetSubmenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;pointer-events:none}:host *{pointer-events:auto}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar button:focus,.duet-submenu-bar button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{visibility:hidden;max-height:0;overflow:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;visibility:visible;max-height:unset;overflow:visible}}.duet-submenu-bar .items{visibility:visible;width:100%;height:70vh;overflow-y:scroll;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{visibility:hidden;max-height:0;overflow:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;visibility:visible;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(253, 247, 242);border-bottom-color:rgb(251, 225, 209)}.duet-submenu-bar.duet-theme-turva .items{background:rgb(253, 247, 242)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 42, 59)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}";
10
10
 
@@ -135,19 +135,19 @@ const DuetSubmenuBar = class {
135
135
  * Always the last one in the class.
136
136
  */
137
137
  render() {
138
- return (h(Host, { key: '3ff35419759d1a9ad9b6bf47beadc27a1e9b4fd5' }, h("nav", { key: '0c4826d0281672c9c4cd38467846e87300693186', class: {
138
+ return (h(Host, { key: 'f4def1bd42afddbfd791262c81fa4cb6b53aa0bf' }, h("nav", { key: '0c99d3101944026ef30ecb17cc15036c7a49f69f', class: {
139
139
  "duet-submenu-bar": true,
140
140
  "duet-theme-turva": this.theme === "turva",
141
141
  hidden: this.hidden,
142
- }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '686fb5823190f88c99fb23ef6432ac1585f6ee45', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
142
+ }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: 'b06a70d212f178d944b069955af8d3c3eaf2dcd3', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
143
143
  active: this.open,
144
- }, onClick: this.onClick }, h("span", { key: '5f09108a31bcd0f1ddd63396fd305151549aed05', class: "label" }, h("slot", { key: '30e775986f716fbad49c5c6d8470d2fe67e600b4', name: "label" }), h("duet-icon", { key: 'a78cf4548c27b73fcf82844dca0157dbcbf13364', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '0194dee3ce095f88700eae27ff5a99868f9078c0', class: {
144
+ }, onClick: this.onClick }, h("span", { key: '7915c6c4efaaec0625dad9fc232fe7037bc136ff', class: "label" }, h("slot", { key: '3ba013e59bd0e392c3648611266ecbb405d4a831', name: "label" }), h("duet-icon", { key: '72d21eb9586a7a21b50db832903217462dc7b24d', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: 'f8e0d135231fc961dd80f795c1d82d9d7906da6e', class: {
145
145
  "menu-container": true,
146
146
  hidden: !this.open,
147
- }, role: "presentation" }, h("div", { key: '8a79a253a3d22aa4f5f6d29888ce8ddc4481a495', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
147
+ }, role: "presentation" }, h("div", { key: '6975ea468c45d4be064e96565773c0266b38e7ab', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
148
148
  items: true,
149
149
  hidden: !this.open,
150
- }, ref: element => (this.itemsContainer = element) }, h("div", { key: 'abd6d1c3b5be7df89c5e315dda8a2a1261616f01', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '45f3b141e48cc834563d75f322a9233fb738e673' }), h("div", { key: '81a672a413497e5e2f5889f8bad070cb7bfd01b7', class: "list-padding" }))), h("duet-overlay", { key: '6a77a27276d5fa07e17f2ca21ec0d62fa1b252f8', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
150
+ }, ref: element => (this.itemsContainer = element) }, h("div", { key: '0c037e643939277845dd75e4f98eb83c2ed41f99', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: 'c0d94264c8cd5824c1c45df63bf5eb67897e2700' }), h("div", { key: '64bcd133e88697445e17abbf4dabf2ea4ed40fd0', class: "list-padding" }))), h("duet-overlay", { key: 'dedf8c34bcca605bb8ba3895930d66c7bfaafe6a', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
151
151
  }
152
152
  get element() { return getElement(this); }
153
153
  static get watchers() { return {
@@ -0,0 +1,108 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
6
+ import { D as DuetPicture } from './picture-utils-4PMNZDR2.js';
7
+ import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-BhEk4zKY.js';
8
+ import { p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
9
+
10
+ const duetTeaserCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n display: block;\n width: auto;\n container-type: inline-size;\n}\n\n.duet-teaser {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n border-radius: 16px;\n}\n.duet-teaser .image-wrap,\n.duet-teaser .icon-wrap {\n margin-bottom: 16px;\n}\n.duet-teaser .image-wrap {\n display: inline-block;\n overflow: hidden;\n border-radius: 16px;\n}\n.duet-teaser .image-wrap .duet-teaser-image {\n display: block;\n width: 100%;\n aspect-ratio: 16/10;\n object-fit: cover;\n}\n.duet-teaser .icon-wrap .duet-teaser-icon {\n display: block;\n width: 30px;\n width: 62px;\n height: 30px;\n height: 62px;\n}\n@container (width > 450px) {\n .duet-teaser .icon-wrap .duet-teaser-icon {\n width: 36px;\n width: 76px;\n height: 36px;\n height: 76px;\n }\n}\n.duet-teaser ::slotted(.teaser-heading) {\n margin: 0 0 1rem 0;\n font-size: 1.5rem;\n font-weight: 700;\n line-height: 1.25;\n}\n.duet-teaser ::slotted(.teaser-heading-h5) {\n font-size: 1.25rem;\n font-weight: 600;\n line-height: 1.25;\n}\n.duet-teaser .duet-teaser-body {\n display: flex;\n flex-direction: column;\n}\n.duet-teaser .duet-teaser-body .duet-teaser-meta {\n order: -1;\n padding-top: 8px;\n}\n.duet-teaser.duet-teaser-link {\n text-decoration: none;\n}\n.duet-teaser.duet-teaser-link:focus {\n outline: 2px solid;\n outline-offset: 2px;\n outline-color: rgba(0, 119, 179, 0.8);\n}\n.duet-theme-turva .duet-teaser.duet-teaser-link:focus, .duet-teaser.duet-teaser-link:focus.duet-theme-turva {\n outline: 2px solid;\n outline-offset: 2px;\n outline-color: rgba(53, 79, 101, 0.8);\n}\n.duet-teaser.duet-teaser-link .image-wrap {\n display: inline-block;\n overflow: hidden;\n}\n.duet-teaser.duet-teaser-link .image-wrap img {\n transition: transform 300ms ease;\n}\n.duet-teaser.duet-teaser-link ::slotted(.teaser-heading) {\n color: rgb(0, 75, 129);\n}\n.duet-teaser.duet-teaser-link:hover .teaser-heading {\n color: rgb(0, 97, 155);\n}\n.duet-teaser.duet-teaser-link:hover .image-wrap img {\n transform: scale(1.1);\n transition: transform 300ms ease;\n}\n.duet-teaser.duet-teaser-link:hover ::slotted(.teaser-heading) {\n color: rgb(0, 97, 155);\n text-decoration: underline;\n}\n\n.duet-theme-turva.duet-teaser {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-theme-turva.duet-teaser-link ::slotted(.teaser-heading) {\n color: rgb(140, 0, 30);\n}\n.duet-theme-turva.duet-teaser-link:hover ::slotted(.teaser-heading) {\n color: rgb(185, 3, 41);\n}";
11
+
12
+ const LONG_HEADING_LENGTH = 60;
13
+ const DuetTeaser = class {
14
+ constructor(hostRef) {
15
+ registerInstance(this, hostRef);
16
+ /**
17
+ * Theme.
18
+ */
19
+ this.theme = "";
20
+ /**
21
+ * The actual heading level used in the HTML markup.
22
+ */
23
+ this.headingLevel = "h3";
24
+ /**
25
+ * Controls the visual size of the heading. Headings longer than 60 characters
26
+ * always use "h5" visually, regardless of this setting.
27
+ */
28
+ this.headingVisualLevel = "h3";
29
+ /**
30
+ * Background color for the icon
31
+ */
32
+ this.iconBackground = "color-background-accent-secondary";
33
+ /**
34
+ * Color for the icon
35
+ */
36
+ this.iconColor = "color-foreground-accent-secondary";
37
+ /**
38
+ * Creates/updates the actual heading element as a light DOM child of the
39
+ * host, slotted into the "heading" slot.
40
+ */
41
+ this.headingSetUp = () => {
42
+ const existing = this.element.querySelector(":scope > [slot='heading']");
43
+ if (!this.heading) {
44
+ existing === null || existing === void 0 ? void 0 : existing.remove();
45
+ return;
46
+ }
47
+ const tagMatches = (existing === null || existing === void 0 ? void 0 : existing.tagName.toLowerCase()) === this.headingLevel;
48
+ const headingElement = tagMatches ? existing : document.createElement(this.headingLevel);
49
+ headingElement.slot = "heading";
50
+ headingElement.textContent = this.heading;
51
+ headingElement.className = `teaser-heading teaser-heading-${this.getHeadingVisualLevel()}`;
52
+ if (!tagMatches) {
53
+ existing === null || existing === void 0 ? void 0 : existing.remove();
54
+ this.element.appendChild(headingElement);
55
+ }
56
+ };
57
+ }
58
+ /**
59
+ * Component lifecycle events.
60
+ */
61
+ componentWillLoad() {
62
+ inheritGlobalTheme(this);
63
+ this.hasLinksSlot = hasSlot(this.element, "links");
64
+ checkNamedSlotElement(this.element, "links", "duet-link[variation=default],duet-link:not([variation]),duet-button[variation=plain]", 0, true);
65
+ }
66
+ componentDidRender() {
67
+ this.headingSetUp();
68
+ }
69
+ /**
70
+ * Sets focus on underlying a element.
71
+ * Available only when url attribute is used.
72
+ * Use this method instead of the native `focus()`.
73
+ */
74
+ async setFocus(options) {
75
+ if (this.url && this.aOrDivElement) {
76
+ this.aOrDivElement.focus(options);
77
+ }
78
+ }
79
+ getHeadingVisualLevel() {
80
+ return this.heading && this.heading.length > LONG_HEADING_LENGTH ? "h5" : this.headingVisualLevel;
81
+ }
82
+ /**
83
+ * render() function
84
+ * Always the last one of the class.
85
+ */
86
+ render() {
87
+ const TagName = this.url ? "a" : "div";
88
+ const pictureSource = {
89
+ img: {
90
+ src: this.image,
91
+ alt: this.imageAlt || "",
92
+ loading: this.imagePriority === "high" ? "eager" : "lazy",
93
+ fetchpriority: this.imagePriority,
94
+ class: "duet-teaser-image",
95
+ },
96
+ sources: parsePossibleJSON(this.sources),
97
+ };
98
+ return (h(Host, { key: 'e65b22becf6cc35870584bb5d4984a5c92c52f80' }, h(TagName, { key: '39bab1e7a6e59414e18110a6513634c4da99dbe6', href: this.url, class: {
99
+ "duet-teaser": true,
100
+ "duet-theme-turva": this.theme === "turva",
101
+ "duet-teaser-link": !!this.url,
102
+ }, ref: element => (this.aOrDivElement = element) }, this.image ? (h("div", { class: "image-wrap" }, h(DuetPicture, Object.assign({}, pictureSource)))) : (this.icon && (h("div", { class: "icon-wrap" }, h("duet-icon", { class: "duet-teaser-icon", shape: "brand", color: this.iconColor, background: this.iconBackground, name: this.icon, margin: "none" })))), h("div", { key: '985108c747576fb8fa5e522402ad6518d471a8c5', class: "duet-teaser-body" }, this.heading && (h("div", { key: '2c49e6b10827a31060a9a0263d20648835008aa0' }, h("slot", { key: '4f4470ff29f50d5b4deaa6b1e28593156c4d5b06', name: "heading" }))), this.meta && (h("duet-paragraph", { key: '86b2aca7b9b6345e14bb0e21d1e92bda158288c4', class: "duet-teaser-meta", margin: "none" }, this.meta)), this.description && h("duet-paragraph", { key: '1a4979c9fcc3e6b75724a8cf031a401d47992d43' }, this.description), !this.url && this.hasLinksSlot && (h("duet-grid", { key: 'f5d445c279ed382840cc879bf84317d329b060a4', direction: "vertical" }, h("slot", { key: '259f34f776ea59e48904321663fd54d864aa4dc0', name: "links" })))))));
103
+ }
104
+ get element() { return getElement(this); }
105
+ };
106
+ DuetTeaser.style = duetTeaserCss;
107
+
108
+ export { DuetTeaser as duet_teaser };
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-D3450NfA.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
6
- import { D as DuetInternalLabel } from './label-C1HF2o4Y.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
6
+ import { D as DuetInternalLabel } from './label-Caev3m-F.js';
7
7
  import { c as createID } from './create-id-Cfr_DJqU.js';
8
8
  import { c as cleanValue } from './input-utils-CLDy7YaM.js';
9
9
  import { d as debounce } from './js-utils-BlUsLmbQ.js';
10
- import { a as getLanguage, f as formatNumber } from './language-utils-D4WVl8Ph.js';
11
- import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-Dxcjtmp3.js';
10
+ import { a as getLanguage, f as formatNumber } from './language-utils-DTyUbpD-.js';
11
+ import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-BhEk4zKY.js';
12
12
  import './string-utils-C6E9F6QT.js';
13
13
 
14
14
  const duetTextareaCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px}.duet-textarea:focus{outline:2px solid;outline-offset:0;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva{outline:2px solid;outline-offset:0;outline-color:rgba(53, 79, 101, 0.8)}.has-error .duet-textarea{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-textarea[rows]{min-height:auto}.duet-textarea::placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-textarea:focus::placeholder{color:rgb(181, 198, 208)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 236, 239) !important;border-color:rgb(181, 198, 208) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-textarea[disabled]::placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-textarea:hover:not(:disabled):not(:focus){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-textarea:hover:not(:disabled):not(:focus),.duet-textarea:hover:not(:disabled):not(:focus).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-textarea:hover:not(:disabled):not(:focus){outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-textarea:focus{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.has-error .duet-textarea:focus{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-textarea:not(:focus):not(:hover):invalid{outline:none}.duet-textarea-help{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-character-count{display:block;margin:8px 0 0 auto}.duet-theme-turva .duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59);border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-textarea::placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-textarea:focus::placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-textarea[disabled]::placeholder{color:rgb(23, 42, 59)}.duet-theme-turva .duet-textarea[disabled]{color:rgb(95, 122, 143) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 233, 237) !important;border-color:rgb(178, 194, 205) !important;opacity:1 !important;-webkit-text-fill-color:rgb(23, 42, 59) !important}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva .duet-textarea-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(120, 145, 164)}";
@@ -246,17 +246,17 @@ const DuetTextarea = class {
246
246
  */
247
247
  render() {
248
248
  const identifier = this.identifier || this.textareaId;
249
- return (h(Host, { key: 'a84e87889b86103cfb25a6fb62d5ae9fc921dde3', class: {
249
+ return (h(Host, { key: 'c645b374c5569d125e844312777f69b913951785', class: {
250
250
  "duet-m-0": this.margin === "none",
251
251
  "duet-has-counter": this.counter && !this.error,
252
252
  "duet-expand": this.expand,
253
- } }, h("div", { key: '1cac0725d91c47a8539a3a915e033ff98dbcefeb', class: {
253
+ } }, h("div", { key: '5c57fd8c8f91750d834147fa416e8cda82dcf025', class: {
254
254
  "duet-textarea-container": true,
255
255
  "duet-theme-turva": this.theme === "turva",
256
256
  "duet-label-hidden": this.labelHidden,
257
257
  "duet-input-top-caption-shown": this.isCaptionVisible,
258
258
  "has-error": !!this.error,
259
- } }, h(DuetInternalLabel, { key: '902dadd1b95a410ed378ce38e71644138e3aae28', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'db32f6f507a45acaeb0c1a5128544855ae8e0e31', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '40464ec1d95d3880de8197f5780865cdff77233d', name: "tooltip" }), this.caption && (h("duet-caption", { key: '818b2b3294cca406e31397dfb2a77110891bd4ee', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '515635119956e32aba3bf1949f183bd37dcbbf63', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '040fe7c9caaa720aa2b2ae9124252da85d083ceb', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '39f181d89675a7c0cdd6a0492108c61aa8a66779', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '4cefb97e18df23468e25743c4f62e4df7e5d9257', alignment: "stretch" }, h("duet-grid-item", { key: 'bb2d8ca91b5478ceb814090fe1c24e48704f5747', margin: "none", fill: true }, h("div", { key: '208c4ddda91e2b97459815079c7b9a552366d4ab', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '9957ee1bbb21233d09e116992fa88f14185f043a' }, this.error))), h("duet-grid-item", { key: '99713afc0205b671f95297e3991ed28a55a73b73', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '855bec2958e7aa564ec9ca5958881ad1d597fd2b', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: 'd76477f0c64de79265740ae7a6bb251bdba9dd0f', id: this.characterCountId, class: "visually-hidden-counter", "aria-live": "polite" }, this.visuallyHiddenCounterText)))));
259
+ } }, h(DuetInternalLabel, { key: '7cf923d382d2623fa18ec9ad084275e2b9792ebf', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '09a04a79bc4f13351c51ffca8332d863c7d22280', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'f46daf8b99a53de5e5164f0f9f357ae91e1aa586', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'a2b9079234a7ec3b9b793e7912bcd4c8addc9e70', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '7f68db3beca35abb4fb53fa1056d99857e1e8316', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '250b6e1eb6abbb79f71e176c1c241cb1fa3da18f', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: 'c50e5d4e25d0a499cd6a1bfc03cbc546d92a3b74', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '20b668af694a652ea88adc161052fbff65517eb5', alignment: "stretch" }, h("duet-grid-item", { key: 'b795843db0959cc83c8724dbd587debd68f58594', margin: "none", fill: true }, h("div", { key: 'ab3999585663d8d1081fe39b43a35933af7ca9b8', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '4ad7dbac61a6398ec4f8459449162d002030f29e' }, this.error))), h("duet-grid-item", { key: '25e2bb115dada7a5b0baaa58efcad756c3cdfc30', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '3e68a56f36758415be927efbc10cf267ec4d414e', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: '7af4e00427232548222397a4439f2e71a54ac586', id: this.characterCountId, class: "visually-hidden-counter", "aria-live": "polite" }, this.visuallyHiddenCounterText)))));
260
260
  }
261
261
  get element() { return getElement(this); }
262
262
  static get watchers() { return {
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-D3450NfA.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
6
6
  import { b as DuetStringsCompleteDefaults, c as DuetStringsLoadingDefaults } from './common-strings-8RjiAqaE.js';
7
- import { a as getLanguage } from './language-utils-D4WVl8Ph.js';
8
- import { D as DuetInternalLabel } from './label-C1HF2o4Y.js';
7
+ import { a as getLanguage } from './language-utils-DTyUbpD-.js';
8
+ import { D as DuetInternalLabel } from './label-Caev3m-F.js';
9
9
  import { c as createID } from './create-id-Cfr_DJqU.js';
10
10
  import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-BaefVzkx.js';
11
- import { p as proxyInputToSlot } from './slot-utils-Dxcjtmp3.js';
11
+ import { p as proxyInputToSlot } from './slot-utils-BhEk4zKY.js';
12
12
  import './string-utils-C6E9F6QT.js';
13
13
 
14
14
  const duetToggleCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent;cursor:pointer}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:8px !important}:host(.duet-m-0){margin:0 !important}:host(.duet-toggle-is-disabled){cursor:not-allowed}:host(.duet-toggle-is-loading){cursor:wait}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-switch input:focus+.duet-slider,:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:\"\";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-toggle-is-loading .duet-slider::before{transform:translateX(10px) !important}.duet-toggle-is-loading .duet-slider{cursor:wait}.duet-toggle-is-disabled .duet-slider{cursor:not-allowed}duet-spinner{margin:2px;cursor:wait;transform:translate(-2px, -2px) scale(80%)}.duet-label-hidden .duet-internal-label{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(230, 23, 64)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{box-shadow:-1px 0 2px #890e26;transform:translateX(20px)}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#f38ba0}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#bcc8d2}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#f38ba0}.duet-theme-turva .duet-slider{background-color:rgb(120, 145, 164)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}";
@@ -124,11 +124,11 @@ const DuetToggle = class {
124
124
  */
125
125
  render() {
126
126
  const identifier = this.identifier || this.toggleId;
127
- return (h(Host, { key: 'ba421a50fdc02e229fa28f85ff056b7871a49622', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
127
+ return (h(Host, { key: '8e33f58775179856fa30813d64699b5fd99d8340', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
128
128
  "duet-m-0": this.margin === "none",
129
129
  "duet-toggle-is-disabled": this.disabled,
130
130
  "duet-toggle-is-loading": this.loading,
131
- } }, h("div", { key: '81bcd7c487268f6f79e227a5964049c31c50537e', class: {
131
+ } }, h("div", { key: '814cdf2738bbf743e689d706d00999d2476474a9', class: {
132
132
  "duet-toggle": true,
133
133
  "duet-theme-turva": this.theme === "turva",
134
134
  "duet-side-label": this.labelPosition !== "top",
@@ -136,7 +136,7 @@ const DuetToggle = class {
136
136
  "duet-label-hidden": this.labelHidden,
137
137
  "duet-toggle-is-disabled": this.disabled,
138
138
  "duet-toggle-is-loading": this.loading,
139
- } }, h(DuetInternalLabel, { key: '9a9c911786434d7324b8e88a8d908102a433b4f6', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("div", { key: 'de416640cd8c34241f9f8f014c71f0ec664a16a7', class: "duet-switch" }, h("input", { key: 'd420b3d44b53e0daf276c9a7cabde816bff13fa2', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled || this.loading, ref: input => (this.nativeInput = input) }), h("div", { key: '5def29eef95fba6e68134ce1c9061404bd390760', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && h("duet-spinner", { key: '1bf177270fc0d8e66aae450110abe9ca2340c156', color: "primary" }))), this.loading && (h("duet-visually-hidden", { key: '101bf2c1752bbd1a263128aa1501b63938fee3d3', "aria-live": "polite" }, this.accessibleLabelLoading || DuetStringsLoadingDefaults[getLanguage()])), this.loadingComplete && (h("duet-visually-hidden", { key: 'd1e8b6bf58b301f82fee88b83a5591e146a16d86', "aria-live": "polite" }, this.accessibleLabelComplete || DuetStringsCompleteDefaults[getLanguage()]))));
139
+ } }, h(DuetInternalLabel, { key: '48309fafb420e187486b8de7eef212f614008295', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("div", { key: 'b4f62f86018a7bb7f34a450175ad996c63059ed3', class: "duet-switch" }, h("input", { key: '8c314ffe85e67fa4740ef3bb6357c17e4fc2659a', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled || this.loading, ref: input => (this.nativeInput = input) }), h("div", { key: '6e55a2738a881cf60ab6699e2e8e1fc0026362a3', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && h("duet-spinner", { key: '1ae23364dffc828696a3591fab7e48832a18653a', color: "primary" }))), this.loading && (h("duet-visually-hidden", { key: 'a4f566fbcdb66615228cf9fc16056378cc41eda3', "aria-live": "polite" }, this.accessibleLabelLoading || DuetStringsLoadingDefaults[getLanguage()])), this.loadingComplete && (h("duet-visually-hidden", { key: 'db35c9a6927a435ed193f696e8a775f74b7d47cb', "aria-live": "polite" }, this.accessibleLabelComplete || DuetStringsCompleteDefaults[getLanguage()]))));
140
140
  }
141
141
  get element() { return getElement(this); }
142
142
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D3450NfA.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
6
6
  import { a as isEscapeKey } from './keyboard-utils-BaefVzkx.js';
7
7
 
8
8
  const duetToolbarDropdownLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-toolbar-dropdown-link.duet-theme-turva.active{background:rgb(253, 247, 242)}.duet-toolbar-dropdown-link.duet-theme-turva:hover{background:rgb(251, 225, 209)}";
@@ -49,11 +49,11 @@ const DuetToolbarDropdownLink = class {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: '5503edc925ef9f59d266699d49f280d803d96b1a' }, h("a", { key: '78cfd5795087aa0668130fcd1aef9af8f6afe74d', class: {
52
+ return (h(Host, { key: 'b00b4ee6b05837bd3221558d4031e19655e78c2d' }, h("a", { key: '4bc395b03ce0515b092b261364b0461838ce5cbc', class: {
53
53
  "duet-toolbar-dropdown-link": true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
55
  active: this.active,
56
- }, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '94cbf93524f24784189c22358378e2c0c21d6cc6', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '61d5272e3b2670262dabd167c898f160b9c3c751', class: "label" }, h("slot", { key: 'ce66bfda77a5f5e8292b1b05a3aac6e55f37a43b' })), this.active && (h("duet-icon", { key: 'b6ae3a0972462f8034fceda49f652477849c555d', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
56
+ }, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: 'f8d7e0d960179596c5ee99525bfbd9ee2bdc5509', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '6713e5f3ad08944baddaa01c8264293861d2aae2', class: "label" }, h("slot", { key: 'd64f498eb934e4e40c3851eff2565412bfdad6d0' })), this.active && (h("duet-icon", { key: '454ecd536a2b3643e93b7373fa5c9820a33cecdf', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
57
57
  }
58
58
  get element() { return getElement(this); }
59
59
  };
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D3450NfA.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
6
6
  import { a as isEscapeKey } from './keyboard-utils-BaefVzkx.js';
7
7
 
8
8
  const duetToolbarDropdownCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-dropdown button:focus,.duet-toolbar-dropdown button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(8, 42, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-toolbar-dropdown .items{position:absolute;top:93%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button:hover{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.open{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(230, 23, 64)}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 42, 59)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(241, 202, 178)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover,.duet-toolbar-dropdown.duet-theme-turva.negative button.active,.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 42, 59, 0.2)}.duet-theme-turva .items{background:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover,.duet-toolbar-dropdown.duet-theme-turva.negative button.active,.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255)}";
@@ -68,18 +68,18 @@ const DuetToolbarDropdown = class {
68
68
  itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
69
69
  }
70
70
  const variation = this.variation === "negative" ? "negative" : "white";
71
- return (h(Host, { key: '537cb902a5fa3e679997e4e794d3335d0400caf6', role: "listitem" }, h("div", { key: '8ff38e056a74dcd7a30e1ab09bfa7b757e0e224f', class: {
71
+ return (h(Host, { key: '260d43c3c36ccc6473ada8644b3cdd6a59ae12b8', role: "listitem" }, h("div", { key: 'cd8bcc17284e41d498018e7a0f8bc202b263c27c', class: {
72
72
  "duet-toolbar-dropdown": true,
73
73
  "duet-theme-turva": this.theme === "turva",
74
74
  [itemsAlign]: true,
75
75
  [variation]: true,
76
- } }, h("button", { key: 'ed4415937f60d79cdff2794e8d0c9e32e2144ada', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
76
+ } }, h("button", { key: '8a4052995f9e9c148b96254b173ea8cad339b9b5', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
77
77
  active: this.active,
78
78
  open: this.open,
79
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '9b594c5aa508947d9cfe551cb9c9add1bcc95a7f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: '3f23e7a0c570956fbcaff50417cc79869b04c122', class: "label" }, h("slot", { key: '51bdc6f723e217d090f4b611eaac211611e952e6', name: "label" }), h("duet-icon", { key: 'e3ffbfb325327902cc56f9684f879164f4b3a659', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'dfcc391bafb75c326a62c89ac9d4221508e00efd', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
79
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'cc9305e0cab43bdddd6b29985921bc0e3ac6f2cc', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: 'bfa1bcc44a13762c3c7ed54b788ac83e4f9eaf36', class: "label" }, h("slot", { key: 'bb0fca1e6dd3a2bedb48f3cc737847fa92f4f887', name: "label" }), h("duet-icon", { key: '8a4ebc94bf7951dcab09cd91c77858559020da81', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '95fbfa1b864246ce99b84ca5a99832683d0cfea3', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
80
80
  items: true,
81
81
  hidden: !this.open,
82
- } }, h("slot", { key: '946f25dc7587b757fbdb11125b9aade9501c6d91' })))));
82
+ } }, h("slot", { key: '029b14e34e87faf198b6d77b234d40c9579d72f7' })))));
83
83
  }
84
84
  get element() { return getElement(this); }
85
85
  };
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D3450NfA.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
5
  import { n as newWindowIcon } from './action-new-window-small-EH8_HdAm.js';
6
6
  import { a as DuetStringsExternalDefaults } from './common-strings-8RjiAqaE.js';
7
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
8
- import { g as getAccessibleLinkLabel } from './a11y-utils--wwGTL0T.js';
9
- import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-D4WVl8Ph.js';
7
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
8
+ import { g as getAccessibleLinkLabel } from './a11y-utils-DZqe1lDK.js';
9
+ import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-DTyUbpD-.js';
10
10
  import './_commonjsHelpers-DvwKrUS6.js';
11
- import './slot-utils-Dxcjtmp3.js';
11
+ import './slot-utils-BhEk4zKY.js';
12
12
  import './string-utils-C6E9F6QT.js';
13
13
 
14
14
  const duetToolbarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-toolbar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary:focus,.duet-toolbar-item.secondary:focus{outline:2px solid;outline-offset:-4px;outline-color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}duet-indicator{top:4px;left:16px;z-index:1}duet-indicator:has(+.duet-toolbar-item .duet-toolbar-icon){left:36px}.duet-toolbar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-toolbar-item.duet-theme-turva:not(.primary){color:rgb(23, 42, 59)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(241, 202, 178)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 42, 59, 0.2)}.duet-toolbar-item.duet-theme-turva:hover{background:rgb(253, 247, 242)}.duet-toolbar-item.duet-theme-turva:hover:not(.primary){color:rgb(23, 42, 59)}.duet-toolbar-item.duet-theme-turva:hover.primary{color:rgb(255, 255, 255);background:rgba(23, 42, 59, 0.2)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(230, 23, 64)}.duet-toolbar-item.active.duet-theme-turva:not(.primary){color:rgb(23, 42, 59)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 42, 59, 0.2)}";
@@ -93,17 +93,17 @@ const DuetToolbarItem = class {
93
93
  : this.variation === "secondary"
94
94
  ? "secondary"
95
95
  : "default";
96
- return (h(Host, { key: '862f45e9efe5b3b54645c3a9627456ab5f723263', role: "listitem" }, this.badge && h("duet-indicator", { key: '29d7bdff76bcf999e4ecff6e3eedd10e006bc968', variation: "change" }), h(TagName, { key: 'b3c0820e95170ce048b75d7e02a2f2e6b7264301', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
96
+ return (h(Host, { key: '96487fd2e42789280cf1dc0538ff07b0f1f79264', role: "listitem" }, this.badge && h("duet-indicator", { key: '5bfd9faa52039e80c72afce6d477602c5b6e3f8e', variation: "change" }), h(TagName, { key: 'b5c8b5ac1cfe6549946e9820a2dd540490c606da', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
97
97
  "duet-toolbar-item": true,
98
98
  "duet-theme-turva": this.theme === "turva",
99
99
  active: this.active,
100
100
  [variation]: true,
101
- }, 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("div", { key: '52d2726d3619462ac9fa1ed0b3444675a3965d6d', class: "duet-toolbar-icon" }, h("duet-icon", { key: 'f4cf50d1e5dddaaf3cebd50a4271ebb8060d2aaa', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: '545d508631827013ae6062243f7cd07e37361f1f', class: "duet-toolbar-badge" }))), h("slot", { key: 'ccf3f266976067a8dcfaeb78310ea0e9e4b740cc' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: 'f589e763aa5474a3a0dfcfbada1672d3fbb0862a', class: "duet-toolbar-icon" }, h("duet-icon", { key: '288b80450871df0f784182e1f0802cfbad4daeed', class: {
101
+ }, 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("div", { key: '082cebef94f34c57a5617891c46e05cfc59f3c2c', class: "duet-toolbar-icon" }, h("duet-icon", { key: '802fab1146fc2154f1c80e097e10464507548e5f', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: 'a484198c098521fd9e8745ac234f6dbc231f029c', class: "duet-toolbar-badge" }))), h("slot", { key: '0993265ee4d23c17f425ee776ec9c14cb6454308' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: '90af7cbc5f00e4dc859cde8ae0d1166b358f097e', class: "duet-toolbar-icon" }, h("duet-icon", { key: 'd2df808e4c985501fbd5bb96946f2d9c20a2b116', class: {
102
102
  "trailing-icon": !!this.trailingIcon,
103
103
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
104
104
  "external-icon": !!(this.url && this.external),
105
105
  rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
106
- }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: '7853154ae4ebb785a34b1de3ce36d7b1a23f304b', class: "duet-toolbar-badge" }))))));
106
+ }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: 'e9b4919435ccd37e9906c033822de9195c57d73e', class: "duet-toolbar-badge" }))))));
107
107
  }
108
108
  get element() { return getElement(this); }
109
109
  };
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-D3450NfA.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-QHdUfcat.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-D4MpGrUR.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-B_d7Klmd.js';
6
6
 
7
7
  const duetToolbarLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;white-space:nowrap;text-decoration:none}.duet-toolbar-link:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative:focus{outline:2px solid;outline-offset:-4px;outline-color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-toolbar-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59);background:transparent}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 229, 230)}.duet-toolbar-link.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}.duet-toolbar-link.duet-theme-turva:hover.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva:hover.negative duet-icon{color:rgb(255, 229, 230)}.duet-toolbar-link.duet-theme-turva:hover.negative{background:rgba(23, 42, 59, 0.2)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 42, 59)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.active.duet-theme-turva.negative duet-icon{color:rgb(255, 229, 230)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(230, 23, 64)}.duet-toolbar-link.active.negative{background:rgba(23, 42, 59, 0.2)}.duet-toolbar-link.active.duet-theme-turva.negative{background:rgba(23, 42, 59, 0.2)}";
8
8
 
@@ -42,12 +42,12 @@ const DuetToolbarLink = class {
42
42
  */
43
43
  render() {
44
44
  const variation = this.variation === "negative" ? "negative" : "white";
45
- return (h(Host, { key: '07041c0aec0959d4d85042618c07a5c6c5e7a80a', role: "listitem" }, h("a", { key: '5c422ec1435313ecad17c03eafaecdb42444c847', class: {
45
+ return (h(Host, { key: 'f932af82492da79cb86e7c40bbb887e7228489eb', role: "listitem" }, h("a", { key: 'ad12f0ddfa37ebe9be01756fd35696a00687a736', class: {
46
46
  "duet-toolbar-link": true,
47
47
  "duet-theme-turva": this.theme === "turva",
48
48
  active: this.active,
49
49
  [variation]: true,
50
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '4a127553bf1f1e27ebb5787f7b736cc7a80cf9fe', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '97573b5159185b7aae35dc962560e707de1a28b2' }))));
50
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '143aac785a87f5989758021a4aa61a1794e9bada', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '9e6764f6a433cd437e0d248a09f87727cf9799cf' }))));
51
51
  }
52
52
  get element() { return getElement(this); }
53
53
  };