@duetds/components 10.0.0-alpha.25 → 10.0.0-alpha.26

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 (380) hide show
  1. package/hydrate/index.js +259 -211
  2. package/hydrate/index.mjs +259 -211
  3. package/lib/cjs/{a11y-utils-BeS3x4Hg.js → a11y-utils-CnLnSK4z.js} +1 -1
  4. package/lib/cjs/{app-globals-BvljEFtV.js → app-globals-B3iie8Hv.js} +1 -1
  5. package/lib/cjs/{common-strings-DQ3xONmA.js → common-strings-CSqtNIxt.js} +23 -0
  6. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-alert.cjs.entry.js +24 -33
  8. package/lib/cjs/duet-badge.cjs.entry.js +16 -4
  9. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  13. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +9 -9
  15. package/lib/cjs/duet-card.cjs.entry.js +13 -7
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +35 -28
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +19 -9
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -6
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-hero.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  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 +8 -8
  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 +6 -6
  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 +5 -5
  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 +4 -4
  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 +4 -4
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  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 +25 -22
  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 +8 -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 +8 -8
  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 +5 -5
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
  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 +7 -7
  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-textarea.cjs.entry.js +5 -5
  79. package/lib/cjs/duet-toggle.cjs.entry.js +4 -4
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  87. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-CwTzu57-.js → errorcodes.utils-BgHe-1YU.js} +1 -1
  93. package/lib/cjs/{focus-utils-Dh4b8BiX.js → focus-utils-CT74z9Qb.js} +1 -1
  94. package/lib/cjs/{index-D3O_5Hr7.js → index-C6D9Bly8.js} +1 -1
  95. package/lib/cjs/{label-8AXhdqJy.js → label-tyZX3oPG.js} +1 -1
  96. package/lib/cjs/{language-utils-CMK9eR4Q.js → language-utils-DcgSN-KH.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-BIdgEejh.js → slot-utils-ByPWwvPp.js} +1 -1
  99. package/lib/cjs/{themeable-component-B3llZmjN.js → themeable-component-Doq36ycm.js} +1 -1
  100. package/lib/collection/common-strings.js +22 -0
  101. package/lib/collection/components/duet-alert/duet-alert.js +21 -30
  102. package/lib/collection/components/duet-badge/duet-badge.js +13 -2
  103. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  105. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  106. package/lib/collection/components/duet-card/duet-card.js +36 -4
  107. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  108. package/lib/collection/components/duet-choice/duet-choice.js +6 -27
  109. package/lib/collection/components/duet-choice-group/duet-choice-group.js +24 -15
  110. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  111. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  112. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  113. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  114. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  115. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  116. package/lib/collection/components/duet-heading/duet-heading.css +1 -0
  117. package/lib/collection/components/duet-hero/duet-hero.css +95 -0
  118. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  119. package/lib/collection/components/duet-link/duet-link.js +2 -2
  120. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  121. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  123. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  124. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  126. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  127. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  128. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  129. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  130. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  131. package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
  132. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  133. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  134. package/lib/collection/components/duet-share-chart/duet-share-chart.js +4 -2
  135. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  136. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  137. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  138. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  139. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  140. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  141. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  142. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  143. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  144. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  145. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  146. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  147. package/lib/collection/components/duet-tab-group/duet-tab-group.js +14 -11
  148. package/lib/collection/components/duet-table/duet-table.js +2 -2
  149. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  150. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  151. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  152. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  153. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  154. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  155. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  156. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  157. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  158. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  159. package/lib/duet/duet.esm.js +1 -1
  160. package/lib/duet/{p-9a1f29ac.entry.js → p-02ba799f.entry.js} +1 -1
  161. package/lib/duet/{p-6aa6ce7d.entry.js → p-066f855b.entry.js} +1 -1
  162. package/lib/duet/p-0864a12e.entry.js +4 -0
  163. package/lib/duet/{p-aefcd222.entry.js → p-0964b56d.entry.js} +1 -1
  164. package/lib/duet/{p-a4a768bf.entry.js → p-0e15fd30.entry.js} +1 -1
  165. package/lib/duet/p-0fccda7b.entry.js +4 -0
  166. package/lib/duet/{p-71a6b137.entry.js → p-117970c7.entry.js} +1 -1
  167. package/lib/duet/{p-65a8dd89.entry.js → p-148b6203.entry.js} +1 -1
  168. package/lib/duet/{p-e9421a0e.entry.js → p-15859eb3.entry.js} +1 -1
  169. package/lib/duet/{p-71603edd.entry.js → p-15a7a9be.entry.js} +1 -1
  170. package/lib/duet/{p-64ebf5e9.entry.js → p-16f691fd.entry.js} +1 -1
  171. package/lib/duet/{p-c6479694.entry.js → p-1ec554c6.entry.js} +1 -1
  172. package/lib/duet/{p-7a9f3475.entry.js → p-1f9c5d58.entry.js} +1 -1
  173. package/lib/duet/{p-5ab64521.entry.js → p-22641f21.entry.js} +1 -1
  174. package/lib/duet/{p-774cf9f5.entry.js → p-23475050.entry.js} +1 -1
  175. package/lib/duet/{p-06ed84cb.entry.js → p-288da581.entry.js} +1 -1
  176. package/lib/duet/{p-2e34dd28.entry.js → p-2a563d22.entry.js} +1 -1
  177. package/lib/duet/{p-4aece4f9.entry.js → p-2d62148e.entry.js} +1 -1
  178. package/lib/duet/{p-73ce0ef8.entry.js → p-2f150cd4.entry.js} +1 -1
  179. package/lib/duet/{p-466ef37c.entry.js → p-34706bbb.entry.js} +1 -1
  180. package/lib/duet/{p-9fff2189.entry.js → p-433a9f98.entry.js} +1 -1
  181. package/lib/duet/{p-625347d3.entry.js → p-44deeddc.entry.js} +1 -1
  182. package/lib/duet/{p-2057cc55.entry.js → p-4a325ef1.entry.js} +1 -1
  183. package/lib/duet/{p-d2ceafd6.entry.js → p-4c118ad6.entry.js} +1 -1
  184. package/lib/duet/{p-a440c5b3.entry.js → p-4c37165a.entry.js} +1 -1
  185. package/lib/duet/p-4cd019a5.entry.js +4 -0
  186. package/lib/duet/{p-67290546.entry.js → p-4da25e3d.entry.js} +1 -1
  187. package/lib/duet/{p-72c2ba6b.entry.js → p-4da439ae.entry.js} +1 -1
  188. package/lib/duet/{p-0dc4fe1d.entry.js → p-4fc62376.entry.js} +1 -1
  189. package/lib/duet/{p-ba2b47d3.entry.js → p-534180fa.entry.js} +1 -1
  190. package/lib/duet/p-57165bf0.entry.js +4 -0
  191. package/lib/duet/{p-4628e002.entry.js → p-5a6fd350.entry.js} +1 -1
  192. package/lib/duet/p-5bfa5e5d.entry.js +4 -0
  193. package/lib/duet/{p-94e33308.entry.js → p-5fdfb13d.entry.js} +1 -1
  194. package/lib/duet/{p-3dd4fbf1.entry.js → p-62df87ea.entry.js} +1 -1
  195. package/lib/duet/{p-402c8cd9.entry.js → p-66cb6021.entry.js} +1 -1
  196. package/lib/duet/{p-2d3d11db.entry.js → p-6b2697ad.entry.js} +1 -1
  197. package/lib/duet/{p-a09c6e42.entry.js → p-6dca8f77.entry.js} +1 -1
  198. package/lib/duet/p-6fa7de01.entry.js +4 -0
  199. package/lib/duet/{p-693fda6b.entry.js → p-6fdb09d1.entry.js} +1 -1
  200. package/lib/duet/{p-867aab83.entry.js → p-78a9b684.entry.js} +1 -1
  201. package/lib/duet/{p-37222c50.entry.js → p-7b849d35.entry.js} +1 -1
  202. package/lib/duet/{p-767afcf4.entry.js → p-7c1e8291.entry.js} +1 -1
  203. package/lib/duet/{p-8ed6f7c7.entry.js → p-7f0aa937.entry.js} +1 -1
  204. package/lib/duet/{p-7f1fb1a9.entry.js → p-804b326c.entry.js} +1 -1
  205. package/lib/duet/{p-bcbe4d11.entry.js → p-806121b1.entry.js} +1 -1
  206. package/lib/duet/p-8194b05d.entry.js +4 -0
  207. package/lib/duet/{p-35ac072d.entry.js → p-829482da.entry.js} +1 -1
  208. package/lib/duet/{p-fb3b8e0f.entry.js → p-84777c03.entry.js} +1 -1
  209. package/lib/duet/{p-c8308bec.entry.js → p-8625d3ce.entry.js} +1 -1
  210. package/lib/duet/{p-2792ec0b.entry.js → p-88216acf.entry.js} +1 -1
  211. package/lib/duet/{p-d0f3a2e6.entry.js → p-92b13088.entry.js} +1 -1
  212. package/lib/duet/{p-bf5fae27.entry.js → p-9440a479.entry.js} +1 -1
  213. package/lib/duet/{p-05766552.entry.js → p-98aa7ac5.entry.js} +1 -1
  214. package/lib/duet/{p-83f6beb5.entry.js → p-9a7382a4.entry.js} +1 -1
  215. package/lib/duet/{p-960f95b4.entry.js → p-9c838ec0.entry.js} +1 -1
  216. package/lib/duet/p-B5RO_CRT.js +4 -0
  217. package/lib/duet/{p-B_VBeM3r.js → p-BPFqbaxm.js} +1 -1
  218. package/lib/duet/p-BWvtXbhA.js +4 -0
  219. package/lib/duet/{p-BaR6ufr4.js → p-BkHWWyft.js} +1 -1
  220. package/lib/duet/{p-DdwVwK5C.js → p-C-YpEPL-.js} +1 -1
  221. package/lib/duet/p-C2xFZ1pZ.js +4 -0
  222. package/lib/duet/p-CwVyzidG.js +4 -0
  223. package/lib/duet/p-D5MfS1RP.js +4 -0
  224. package/lib/duet/p-DixsuovU.js +4 -0
  225. package/lib/duet/{p-DyXNfxdT.js → p-DoTAjqzf.js} +1 -1
  226. package/lib/duet/{p-0ebeee02.entry.js → p-a64da31d.entry.js} +1 -1
  227. package/lib/duet/{p-04ce95ba.entry.js → p-a704d617.entry.js} +1 -1
  228. package/lib/duet/{p-66c7af01.entry.js → p-a745298d.entry.js} +1 -1
  229. package/lib/duet/{p-a72b8cf4.entry.js → p-ad08429f.entry.js} +1 -1
  230. package/lib/duet/{p-15593e3e.entry.js → p-ad3d8ac8.entry.js} +1 -1
  231. package/lib/duet/{p-7c814d9a.entry.js → p-b1f362dc.entry.js} +1 -1
  232. package/lib/duet/{p-86b74914.entry.js → p-b9acaca1.entry.js} +1 -1
  233. package/lib/duet/{p-9973c0dc.entry.js → p-babe244b.entry.js} +1 -1
  234. package/lib/duet/{p-60be3836.entry.js → p-c35c9198.entry.js} +1 -1
  235. package/lib/duet/{p-8596c993.entry.js → p-c62aeb2e.entry.js} +1 -1
  236. package/lib/duet/p-c8a66d4b.entry.js +4 -0
  237. package/lib/duet/p-cfd5c934.entry.js +4 -0
  238. package/lib/duet/p-d05bbd77.entry.js +4 -0
  239. package/lib/duet/p-d079278e.entry.js +4 -0
  240. package/lib/duet/p-d110954d.entry.js +4 -0
  241. package/lib/duet/p-d71a366e.entry.js +4 -0
  242. package/lib/duet/{p-ba0fcce1.entry.js → p-d92c5cfa.entry.js} +1 -1
  243. package/lib/duet/{p-73290da8.entry.js → p-dbab30ea.entry.js} +1 -1
  244. package/lib/duet/p-dd8216e7.entry.js +4 -0
  245. package/lib/duet/{p-6a6e4d82.entry.js → p-e18a1599.entry.js} +1 -1
  246. package/lib/duet/p-e76051c3.entry.js +4 -0
  247. package/lib/duet/{p-5564a39c.entry.js → p-e9886226.entry.js} +1 -1
  248. package/lib/duet/{p-64f8d654.entry.js → p-e9becc58.entry.js} +1 -1
  249. package/lib/duet/{p-30ade10d.entry.js → p-ec72f3a2.entry.js} +1 -1
  250. package/lib/duet/{p-d96af9c9.entry.js → p-ecb4e99d.entry.js} +1 -1
  251. package/lib/duet/{p-ec6e097b.entry.js → p-f2ae56b2.entry.js} +1 -1
  252. package/lib/duet/{p-106d3089.entry.js → p-f51c072f.entry.js} +1 -1
  253. package/lib/duet/{p-ab0cd4e5.entry.js → p-f82079f2.entry.js} +1 -1
  254. package/lib/duet/{p-dee8ff90.entry.js → p-f82a2ab7.entry.js} +1 -1
  255. package/lib/esm/{a11y-utils-CXqm1pj1.js → a11y-utils-C6cn5C3e.js} +1 -1
  256. package/lib/esm/{app-globals-s-_CGo5t.js → app-globals-CcxHDwb4.js} +1 -1
  257. package/lib/esm/{common-strings-MxsWrBCY.js → common-strings-BWvtXbhA.js} +23 -1
  258. package/lib/esm/duet-action-button.entry.js +3 -3
  259. package/lib/esm/duet-alert.entry.js +24 -33
  260. package/lib/esm/duet-badge.entry.js +16 -4
  261. package/lib/esm/duet-banner.entry.js +3 -3
  262. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  263. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  264. package/lib/esm/duet-button_2.entry.js +4 -4
  265. package/lib/esm/duet-callout.entry.js +5 -5
  266. package/lib/esm/duet-caption_4.entry.js +9 -9
  267. package/lib/esm/duet-card.entry.js +13 -7
  268. package/lib/esm/duet-checkbox.entry.js +2 -2
  269. package/lib/esm/duet-checkmark.entry.js +4 -4
  270. package/lib/esm/duet-chip.entry.js +3 -3
  271. package/lib/esm/duet-choice_2.entry.js +35 -28
  272. package/lib/esm/duet-collapsible.entry.js +3 -3
  273. package/lib/esm/duet-combobox.entry.js +4 -4
  274. package/lib/esm/duet-contact-card.entry.js +5 -5
  275. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  276. package/lib/esm/duet-date-picker.entry.js +19 -9
  277. package/lib/esm/duet-divider_2.entry.js +2 -2
  278. package/lib/esm/duet-editable-table_3.entry.js +6 -6
  279. package/lib/esm/duet-empty-state.entry.js +2 -2
  280. package/lib/esm/duet-fieldset.entry.js +6 -6
  281. package/lib/esm/duet-file-chooser.entry.js +2 -2
  282. package/lib/esm/duet-footer.entry.js +5 -5
  283. package/lib/esm/duet-grid_2.entry.js +4 -4
  284. package/lib/esm/duet-header_2.entry.js +4 -4
  285. package/lib/esm/duet-hero.entry.js +6 -6
  286. package/lib/esm/duet-icon.entry.js +5 -5
  287. package/lib/esm/duet-input_2.entry.js +5 -5
  288. package/lib/esm/duet-layout.entry.js +2 -2
  289. package/lib/esm/duet-list_2.entry.js +4 -4
  290. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  291. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  292. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  293. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  294. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  295. package/lib/esm/duet-menu-bar.entry.js +3 -3
  296. package/lib/esm/duet-modal.entry.js +6 -6
  297. package/lib/esm/duet-multiselect.entry.js +5 -5
  298. package/lib/esm/duet-nav.entry.js +3 -3
  299. package/lib/esm/duet-notification_2.entry.js +5 -5
  300. package/lib/esm/duet-number-input.entry.js +4 -4
  301. package/lib/esm/duet-overlay.entry.js +2 -2
  302. package/lib/esm/duet-page-heading.entry.js +4 -4
  303. package/lib/esm/duet-pagination_2.entry.js +3 -3
  304. package/lib/esm/duet-panel.entry.js +2 -2
  305. package/lib/esm/duet-phone-input.entry.js +4 -4
  306. package/lib/esm/duet-popup-menu_2.entry.js +4 -4
  307. package/lib/esm/duet-progress.entry.js +3 -3
  308. package/lib/esm/duet-promo-card.entry.js +5 -5
  309. package/lib/esm/duet-radio_2.entry.js +4 -4
  310. package/lib/esm/duet-range-slider.entry.js +4 -4
  311. package/lib/esm/duet-scrollable_3.entry.js +25 -22
  312. package/lib/esm/duet-section-layout.entry.js +4 -4
  313. package/lib/esm/duet-select.entry.js +4 -4
  314. package/lib/esm/duet-shaped-image.entry.js +4 -4
  315. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  316. package/lib/esm/duet-share-chart.entry.js +8 -6
  317. package/lib/esm/duet-show-more.entry.js +3 -3
  318. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  319. package/lib/esm/duet-slideout-link.entry.js +8 -8
  320. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  321. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  322. package/lib/esm/duet-slideout.entry.js +5 -5
  323. package/lib/esm/duet-status-icon.entry.js +3 -3
  324. package/lib/esm/duet-step_2.entry.js +4 -4
  325. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  326. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  327. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  328. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  329. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  330. package/lib/esm/duet-textarea.entry.js +5 -5
  331. package/lib/esm/duet-toggle.entry.js +4 -4
  332. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  333. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  334. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  335. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  336. package/lib/esm/duet-toolbar.entry.js +4 -4
  337. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  338. package/lib/esm/duet-tooltip.entry.js +4 -4
  339. package/lib/esm/duet-tray.entry.js +5 -5
  340. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  341. package/lib/esm/duet-upload-item.entry.js +4 -4
  342. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  343. package/lib/esm/duet.js +4 -4
  344. package/lib/esm/{errorcodes.utils-Bre55Njd.js → errorcodes.utils-CEyBUBSM.js} +1 -1
  345. package/lib/esm/{focus-utils-vvgYykmM.js → focus-utils-BhO5oz9w.js} +1 -1
  346. package/lib/esm/{index-B_VBeM3r.js → index-BPFqbaxm.js} +1 -1
  347. package/lib/esm/{label-l-Eza5H3.js → label-BGqhM4kx.js} +1 -1
  348. package/lib/esm/{language-utils-B7PXWqpg.js → language-utils-CNMTW_pZ.js} +1 -1
  349. package/lib/esm/loader.js +4 -4
  350. package/lib/esm/{slot-utils-aDCRCdc4.js → slot-utils-BABbKvvc.js} +1 -1
  351. package/lib/esm/{themeable-component-DPqozkF4.js → themeable-component-Csv1RXxf.js} +1 -1
  352. package/lib/types/common-strings.d.ts +2 -0
  353. package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
  354. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  355. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  356. package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
  357. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
  358. package/lib/types/components.d.ts +12 -7
  359. package/package.json +3 -3
  360. package/lib/duet/p-065f7e81.entry.js +0 -4
  361. package/lib/duet/p-08ed76c2.entry.js +0 -4
  362. package/lib/duet/p-0a448068.entry.js +0 -4
  363. package/lib/duet/p-28a998f9.entry.js +0 -4
  364. package/lib/duet/p-39169420.entry.js +0 -4
  365. package/lib/duet/p-4ee576a2.entry.js +0 -4
  366. package/lib/duet/p-500d799b.entry.js +0 -4
  367. package/lib/duet/p-5848a34c.entry.js +0 -4
  368. package/lib/duet/p-652eefa8.entry.js +0 -4
  369. package/lib/duet/p-9fade6a0.entry.js +0 -4
  370. package/lib/duet/p-BdUQgQFn.js +0 -4
  371. package/lib/duet/p-DzerL_yn.js +0 -4
  372. package/lib/duet/p-KocOARXM.js +0 -4
  373. package/lib/duet/p-MxsWrBCY.js +0 -4
  374. package/lib/duet/p-OdY4DjJa.js +0 -4
  375. package/lib/duet/p-T5kkooky.js +0 -4
  376. package/lib/duet/p-a3a2e89e.entry.js +0 -4
  377. package/lib/duet/p-b84ac47b.entry.js +0 -4
  378. package/lib/duet/p-baeb1090.entry.js +0 -4
  379. package/lib/duet/p-d28a8bc4.entry.js +0 -4
  380. package/lib/duet/p-effefdec.entry.js +0 -4
@@ -1,12 +1,13 @@
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-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
+ import { D as DuetStatusLabels } from './common-strings-BWvtXbhA.js';
6
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
7
  import { c as createID } from './create-id-Cfr_DJqU.js';
7
8
  import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
8
- import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-B7PXWqpg.js';
9
- import { h as hasSlot } from './slot-utils-aDCRCdc4.js';
9
+ import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-CNMTW_pZ.js';
10
+ import { h as hasSlot } from './slot-utils-BABbKvvc.js';
10
11
  import './string-utils-C6E9F6QT.js';
11
12
 
12
13
  const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;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.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.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-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}";
@@ -18,28 +19,6 @@ const DuetAlert = class {
18
19
  this.duetCloseComplete = createEvent(this, "duetCloseComplete", 7);
19
20
  this.descriptiveId = createID("DuetAlert");
20
21
  this.hasShowMoreSlot = false;
21
- this.labels = {
22
- default: {
23
- fi: "Huomioithan",
24
- en: "Please note",
25
- sv: "Observera",
26
- },
27
- success: {
28
- fi: "Onnistunut toiminto",
29
- en: "Action completed successfully",
30
- sv: "Lyckad åtgärd",
31
- },
32
- danger: {
33
- fi: "Tärkeä varoitus",
34
- en: "Important warning",
35
- sv: "Viktig varning",
36
- },
37
- warning: {
38
- fi: "Varoitus",
39
- en: "Warning",
40
- sv: "Varning",
41
- },
42
- };
43
22
  /**
44
23
  * Theme of the card.
45
24
  */
@@ -84,7 +63,10 @@ const DuetAlert = class {
84
63
  */
85
64
  this.padding = "auto";
86
65
  /**
87
- * Style variation of the alert.
66
+ * Status variation of the alert. "danger" and "warning" will render the alert with role "alert" (unless announcements
67
+ * has been set to false). Other variations will have role "status". Use "danger" only when something serious has happened
68
+ * or the user must take immediate action. Use "warning" for unexpected situations that are potentially harmful, but
69
+ * don't require immediate action.
88
70
  */
89
71
  this.variation = "default";
90
72
  /**
@@ -122,6 +104,15 @@ const DuetAlert = class {
122
104
  this.handleExpandToggle = () => {
123
105
  this.isExpanded = !this.isExpanded;
124
106
  };
107
+ this.getRole = () => {
108
+ if (!this.announcements) {
109
+ return undefined;
110
+ }
111
+ if (["warning", "danger"].includes(this.variation)) {
112
+ return "alert";
113
+ }
114
+ return "status";
115
+ };
125
116
  }
126
117
  /**
127
118
  * Component lifecycle events.
@@ -180,18 +171,18 @@ const DuetAlert = class {
180
171
  const variation = ["default", "success", "danger", "warning"].includes(this.variation)
181
172
  ? this.variation
182
173
  : "default";
183
- const variationLabel = getLocaleString(this.labels[variation]);
184
- return (h(Host, { key: '5584475286356ac3d444c97e9429aaddc5e6153e', class: {
174
+ const variationLabel = getLocaleString(DuetStatusLabels[variation]);
175
+ return (h(Host, { key: 'b204a657de629955d04058f3c43813aa00980c1e', class: {
185
176
  "duet-theme-turva": this.theme === "turva",
186
177
  "duet-alert-is-dismissed": this.isDismissed,
187
- }, role: this.announcements ? "alert" : undefined }, h("div", { key: '7a3ef0cee9f7e304eac829dfbfd834f1123867fd', class: {
178
+ }, role: this.getRole() }, h("div", { key: '0d573c37ae4013f7fdef0d89a7d2cfff38157b44', class: {
188
179
  "duet-alert-wrapper": true,
189
180
  "duet-p-0": this.padding === "none",
190
181
  "duet-m-0": this.margin === "none",
191
182
  [variation]: true,
192
183
  [this.position]: true,
193
184
  "duet-theme-turva": this.theme === "turva",
194
- } }, h("div", { key: '27797a4ea2296ac70ac133f3ec1a4fedaa07b78d', class: {
185
+ } }, h("div", { key: 'ecb946bd29811c5ee207804498810a6cd3c83889', class: {
195
186
  "duet-alert": true,
196
187
  "duet-alert-expandable": !!this.expandingTitle,
197
188
  "duet-alert-expanded": this.isExpanded,
@@ -202,9 +193,9 @@ const DuetAlert = class {
202
193
  "duet-m-0": this.margin === "none",
203
194
  [variation]: true,
204
195
  "duet-theme-turva": this.theme === "turva",
205
- } }, h("div", { key: '3030a95fb19791465f75a74a6803a1bbd0f9b5dd', class: "duet-alert-container", ref: element => {
196
+ } }, h("div", { key: '88e63f17d9d316a933266a2d98be63f1cf6fa939', class: "duet-alert-container", ref: element => {
206
197
  this.alertContainer = element;
207
- }, tabindex: this.focusable ? "0" : undefined }, this.position !== "below-nav" && (h("div", { key: 'e990ae6cf89ef89c0c3445af06402f8202583796', class: "duet-alert-icon" }, (this.icon && h("duet-icon", { key: 'f4b0bd5ca292239cb7a98379b10dd965d4173509', size: "auto", name: this.icon, color: "currentColor" })) || (h("duet-status-icon", { key: 'ad9b6952c1af47501fe6bf7298d69a66bb1223b9', strong: true, variation: variation, margin: "none", size: "auto" })))), this.position === "below-nav" && (h("div", { key: '479a41fafb16793a51eb71e8e892088b6ede41ef', class: "duet-alert-icon below-nav" }, h("duet-status-icon", { key: '249c1b1f9a763ce5725982a2c0a00597698bccc7', strong: true, variation: variation, margin: "none", size: "auto" }))), h("div", { key: '577fa13d2a0682a3fe079a4a098e11bb99fc8dc9', class: "duet-alert-content", id: this.descriptiveId }, this.expandingTitle && (h("button", { key: '4fb68ee1545889ee3c0090bcbc3cd7e952e4d6c9', "aria-expanded": this.isExpanded.toString(), "aria-controls": `${this.descriptiveId}-content`, class: "duet-alert-expander", onClick: this.handleExpandToggle }, h("span", { key: '9ab35209919d1fe4aa6f3db6c16e593828985434', class: "expanding-title" }, this.expandingTitle), h("duet-icon", { key: 'd387939b25c676cd7c17ec6962da00383935ade3', name: "action-arrow-down", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, margin: "none", size: "x-small" }))), (!this.expandingTitle || this.isExpanded) && (h("div", { key: '989a79e16a74690dc7c78da3cc40ef4d02ecb513', id: `${this.descriptiveId}-content` }, h("duet-visually-hidden", { key: '4792b5aa92cefc69907c6325a3c89bd5d9476ae3' }, variationLabel), h("slot", { key: '662c5673bd1118e9effdd083eba7b13ea349ac39' }))))), this.hasShowMoreSlot && (h("duet-show-more", { key: '7b7b917b785c74924ef13550a9866ab4d724f9ce', margin: "none", class: "duet-alert-show-more" }, h("slot", { key: '6370fcc4b7e689d1997c7e224e6f71ca27772689', name: "show-more" }))), this.dismissible && !this.expandingTitle && (h("div", { key: '70e609bdf62b90448894c3f107c435d9b9b9f7ca', class: "duet-alert-dismiss" }, h("duet-button", { key: '1b230dc424387b18799431608c1aab1e63e7035f', variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, theme: this.theme, onClick: this.handleDismiss, fixed: true })))))));
198
+ }, tabindex: this.focusable ? "0" : undefined }, this.position !== "below-nav" && (h("div", { key: 'd0e266b3c576ec9c2532053c292c3bfbbc9d92b0', class: "duet-alert-icon" }, (this.icon && h("duet-icon", { key: 'efa5d1133ba832aa3e88fb419b8f2b454b5536c1', size: "auto", name: this.icon, color: "currentColor" })) || (h("duet-status-icon", { key: '7e00c8f29fb7a33a041acfbd82d1c359eadaf605', strong: true, variation: variation, margin: "none", size: "auto" })))), this.position === "below-nav" && (h("div", { key: '0314c3a000a06a357a7850f6c72002df3d32a541', class: "duet-alert-icon below-nav" }, h("duet-status-icon", { key: 'aec093d7be9e0c0d8940a5e0813495f707daefc0', strong: true, variation: variation, margin: "none", size: "auto" }))), h("div", { key: '97522cbf67c23477ae71603418f85f3d1a13d3c2', class: "duet-alert-content", id: this.descriptiveId }, this.expandingTitle && (h("button", { key: '08d8a6d3b089bad3c54727907f6ba1df213a9103', "aria-expanded": this.isExpanded.toString(), "aria-controls": `${this.descriptiveId}-content`, class: "duet-alert-expander", onClick: this.handleExpandToggle }, h("span", { key: '4efe686cc2dff3077ea3efed7a52c79c3b8c090a', class: "expanding-title" }, this.expandingTitle), h("duet-icon", { key: '2da0cd85883d2e850d65e0682c391079bcce2001', name: "action-arrow-down", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, margin: "none", size: "x-small" }))), (!this.expandingTitle || this.isExpanded) && (h("div", { key: 'dd67482dc47bb4b23d8ff7fdbc7f50a09fd7f355', id: `${this.descriptiveId}-content` }, h("duet-visually-hidden", { key: '0f892f87996b79076b9c04e9d66fadbe681cf913' }, variationLabel), h("slot", { key: 'fac36116e1b9128ad398c4cf997d8c0fd3bca795' }))))), this.hasShowMoreSlot && (h("duet-show-more", { key: '10530ff533c94cb9c85eb23cae9ed3475f3567f2', margin: "none", class: "duet-alert-show-more" }, h("slot", { key: '06e77a909ef86b0ae2e83e818e88c75b8caa9969', name: "show-more" }))), this.dismissible && !this.expandingTitle && (h("div", { key: '65f541e6bf54abcfa91757571cffb18013188c39', class: "duet-alert-dismiss" }, h("duet-button", { key: 'a2e00a7f2d07d04bf388544893ddb56d332c8929', variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, theme: this.theme, onClick: this.handleDismiss, fixed: true })))))));
208
199
  }
209
200
  get element() { return getElement(this); }
210
201
  };
@@ -1,8 +1,11 @@
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-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
+ import { D as DuetStatusLabels } from './common-strings-BWvtXbhA.js';
6
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
7
+ import { g as getLocaleString } from './language-utils-CNMTW_pZ.js';
8
+ import './string-utils-C6E9F6QT.js';
6
9
 
7
10
  const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;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.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.default{color:#172a3b;background:#e8eaeb}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.default{color:rgb(255, 255, 255);background:#172a3b}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.subtle{outline-color:#172a3b}";
8
11
 
@@ -26,6 +29,15 @@ const DuetBadge = class {
26
29
  * Controls the margin of the component.
27
30
  */
28
31
  this.margin = "auto";
32
+ this.getVariationLabel = () => {
33
+ if (this.variation === "subtle") {
34
+ return "";
35
+ }
36
+ const variation = ["default", "success", "danger", "warning"].includes(this.variation)
37
+ ? this.variation
38
+ : "default";
39
+ return getLocaleString(DuetStatusLabels[variation]);
40
+ };
29
41
  }
30
42
  /**
31
43
  * Component lifecycle events.
@@ -39,12 +51,12 @@ const DuetBadge = class {
39
51
  */
40
52
  render() {
41
53
  const backgroundClass = `background-${this.background}`;
42
- return (h(Host, { key: 'da159f6322336c9e29fe1f6fd62a1c856fee0a86', class: { "duet-m-0": this.margin === "none" } }, h("span", { key: '9e9e12f29c7a27a2c15be1e4e7aaffcacc81f053', class: {
54
+ return (h(Host, { key: 'b14e614dd4023904fc135cd76117c4c80a32cfc0', class: { "duet-m-0": this.margin === "none" } }, h("span", { key: '30f4bceaecb891f532f693953286c38a23c9a6a7', class: {
43
55
  "duet-badge": true,
44
56
  [this.variation]: true,
45
57
  [backgroundClass]: true,
46
58
  "duet-theme-turva": this.theme === "turva",
47
- } }, h("slot", { key: '97ed4f103d26ccf534b9eb10168a7855a958b466' }))));
59
+ } }, h("duet-visually-hidden", { key: 'e42b91566e1f09c725692fbe706fd068a7e1ac6f' }, this.getVariationLabel()), h("slot", { key: '7290ab4b6702d3f5a3f5444a8eb66f37163956f1' }))));
48
60
  }
49
61
  get element() { return getElement(this); }
50
62
  };
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, H as Host, g as getElement } from './index-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
6
- import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-aDCRCdc4.js';
4
+ import { h, r as registerInstance, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
+ import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-BABbKvvc.js';
7
7
  import { p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
8
8
  import { g as getColorByName, p as postfixTheme } from './token-utils-BGFYWQ6j.js';
9
9
  import './tokens.module-Z0D6Gy9e.js';
@@ -1,11 +1,11 @@
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-B_VBeM3r.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
5
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-DvwKrUS6.js';
6
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
6
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
7
7
  import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
8
- import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './language-utils-B7PXWqpg.js';
8
+ import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './language-utils-CNMTW_pZ.js';
9
9
  import './string-utils-C6E9F6QT.js';
10
10
 
11
11
  var actionArrowRightSmall;
@@ -71,14 +71,14 @@ const DuetBreadcrumb = class {
71
71
  */
72
72
  render() {
73
73
  var _a;
74
- return (h(Host, { key: '1ea751b77b703d6054db7aa48bdeb9ac2a7cf742', role: "listitem" }, h("div", { key: '147ae3c1a0ff6744d0d363ce2162b0acf8083535', class: "container" }, this.icon === "arrow-right-small-icon" && (h("duet-icon", { key: 'd1642e1065ca32cc3b05d2724fbb3a1fae48fe2d', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), h("a", { key: '43ab506c5a641b44b99b9589eb7afdf7dc12172e', class: {
74
+ return (h(Host, { key: '804eec793a21db6f2174bd33b759663f3f2f07ef', role: "listitem" }, h("div", { key: '6f0a2c80da341b1b1b10a6d9ee0c010de21b97a2', class: "container" }, this.icon === "arrow-right-small-icon" && (h("duet-icon", { key: 'df6aacb1f535646f95ccf60189103eec186c993d', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), h("a", { key: '0f9ffe08c57d1f91005504dd9c1c134c5d0e71d4', class: {
75
75
  "duet-breadcrumb": true,
76
76
  "duet-theme-turva": this.theme === "turva",
77
77
  }, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
78
78
  this.icon && [
79
- h("duet-icon", { key: '73e448e620cf4284d620295ee791e8ebf8d8f491', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
80
- this.hasSlottedContent && h("duet-spacer", { key: '9b0715738cc45d50d03a74f3310b654566fa0d59', size: "x-small", direction: "horizontal" }),
81
- ], h("slot", { key: '67cd2c6250927322b997b23a199c5ea758e2829e' })))));
79
+ h("duet-icon", { key: '417b6a4368e7d7913a09dccc677b32373f92938c', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
80
+ this.hasSlottedContent && h("duet-spacer", { key: '692d70f2a385d4283478e26ad13c4bbf175387a7', size: "x-small", direction: "horizontal" }),
81
+ ], h("slot", { key: '6dada45a29faa7791d6f2a9f60993206f314bc38' })))));
82
82
  }
83
83
  get element() { return getElement(this); }
84
84
  };
@@ -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-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
6
- import { g as getLocaleString } from './language-utils-B7PXWqpg.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
+ import { g as getLocaleString } from './language-utils-CNMTW_pZ.js';
7
7
  import { g as getColorByName } from './token-utils-BGFYWQ6j.js';
8
8
  import './string-utils-C6E9F6QT.js';
9
9
  import './tokens.module-Z0D6Gy9e.js';
@@ -62,11 +62,11 @@ const DuetBreadcrumbs = class {
62
62
  */
63
63
  render() {
64
64
  const color = getColorByName(this.color);
65
- return (h(Host, { key: 'a33196239b9b8f6933f6e8b46df005591cd7234c' }, h("nav", { key: 'e132c17465eefb28d91c1a2a98fb6fa6bf812c92', "aria-label": this.breadcrumbsAriaLabel, class: {
65
+ return (h(Host, { key: '7db0fc2e9f3532509bb7d962ee2df0f7fc208e23' }, h("nav", { key: '993ffd093511c3ac5127371939e00ee21c35d74c', "aria-label": this.breadcrumbsAriaLabel, class: {
66
66
  "duet-breadcrumbs": true,
67
67
  "duet-theme-turva": this.theme === "turva",
68
68
  [this.variation]: true,
69
- } }, h("div", { key: '515e61b4523d016aeaf79f9785f335793f3fd8a7', class: "container" }, h("div", { key: '5cc015e840532c3e5450d2f99ea6dbfe16da9e21', role: "list", class: "list", style: { color } }, h("slot", { key: '712824b51a9798d5df687a5146e7564c32e3b192' })), h("div", { key: '6c669b82b4d9bebfec76cd852e422df64fc378f7', class: "bottom-border bottom-border--container" })), h("div", { key: '04cb09bd7682b668fd9ca24ddd91efea24da9bf6', class: "bottom-border bottom-border--nav" }))));
69
+ } }, h("div", { key: 'ba30ff0a1a1b9c1b480e4ebf12e656b419e65e6d', class: "container" }, h("div", { key: '35577bbfaa142d6567126c7ed93d6b6ac5e9339e', role: "list", class: "list", style: { color } }, h("slot", { key: '5d755022c1fbbc72a42ccd183b8b80f5ec221691' })), h("div", { key: 'abf72274cd0f5cfd82a95829ee6d8e62ce480798', class: "bottom-border bottom-border--container" })), h("div", { key: '7c0fdac81e597120e606d4546aab7dbd51d1b8db', class: "bottom-border bottom-border--nav" }))));
70
70
  }
71
71
  get element() { return getElement(this); }
72
72
  };
@@ -1,10 +1,10 @@
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-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
6
- import { D as DuetStringsExternalDefaults, b as DuetStringsLoadingDefaults } from './common-strings-MxsWrBCY.js';
7
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-B7PXWqpg.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
+ import { a as DuetStringsExternalDefaults, c as DuetStringsLoadingDefaults } from './common-strings-BWvtXbhA.js';
7
+ import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-CNMTW_pZ.js';
8
8
  import { g as getColorByName } from './token-utils-BGFYWQ6j.js';
9
9
  import './string-utils-C6E9F6QT.js';
10
10
  import './tokens.module-Z0D6Gy9e.js';
@@ -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-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
6
- import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-aDCRCdc4.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
+ import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-BABbKvvc.js';
7
7
 
8
8
  const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(8, 42, 77)}.duet-callout.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-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}:host(.duet-theme-turva2) .duet-callout.duet-theme-turva .author,:host(.duet-theme-turva2) .duet-callout.duet-theme-turva blockquote{color:#172a3b}";
9
9
 
@@ -37,11 +37,11 @@ const DuetCallout = class {
37
37
  <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
38
38
  </svg>
39
39
  `;
40
- return (h(Host, { key: 'c491469b698a73c9a411cf3f660770be81879bd7' }, h("div", { key: '4c7e1af2f3c229e617d04c0aaf1355bce04a2d6d', class: {
40
+ return (h(Host, { key: '1bbd077f1e57dc333649758d9fae16d4a8f3dcf4' }, h("div", { key: 'a0edfe6725fce2069235fcacda9041495e8df10b', class: {
41
41
  "duet-callout": true,
42
42
  "duet-theme-turva": this.theme === "turva",
43
43
  "duet-m-0": this.margin === "none",
44
- } }, h("figure", { key: 'eb03690c450a0d767e18bffdbce24d83e3334e65', class: "container" }, h("duet-icon", { key: '1695f3f5c59f29b3497a9df3269e791bc19095a6', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: '6297aefa621ef90e3cb100bcfd07c798cf9b378a' }, h("slot", { key: '14186875763fbf1989d9de9cb90706be15de8508' })), this.hasAuthorSlot && (h("figcaption", { key: 'c17e4fe83fb3c067c4c91369ee6d80a2a6abf3a8', class: "author" }, h("span", { key: 'fac4c2303e1ff78e28fd1538ab43d1b19e84610f' }, "\u2014 "), h("slot", { key: '648acac653c20369d7d52a5537c43175cb4dbd5d', name: "author" })))))));
44
+ } }, h("figure", { key: '21522d9a915045b0bfc17d5df3dedff371fec1fa', class: "container" }, h("duet-icon", { key: 'db8af136b296941bb57844fde916ddf7a07a9f25', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: 'c2df0f9763ad90dbfe1e68736550c36f2abf362a' }, h("slot", { key: '218537d8d6e19814d1e8d8f8735987142a32349a' })), this.hasAuthorSlot && (h("figcaption", { key: '662c0d8092ce4cb1bc0f5bd40982171ea36b984c', class: "author" }, h("span", { key: '2632b56978eb27cd5c2d904958327fd476af08b5' }, "\u2014 "), h("slot", { key: 'a084f8db91ac33851ec2a5ca621752d83fcfd581', name: "author" })))))));
45
45
  }
46
46
  get element() { return getElement(this); }
47
47
  };
@@ -1,18 +1,18 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-BPFqbaxm.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
6
  import { s as sanitizeString } from './string-utils-C6E9F6QT.js';
7
7
  import { g as getColorByName } from './token-utils-BGFYWQ6j.js';
8
8
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-DvwKrUS6.js';
9
9
  import { n as newWindowIcon } from './action-new-window-small-EH8_HdAm.js';
10
- import { D as DuetStringsExternalDefaults, d as DuetStringsDownloadLinkDefaults } from './common-strings-MxsWrBCY.js';
11
- import { g as getAccessibleLinkLabel } from './a11y-utils-CXqm1pj1.js';
12
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-B7PXWqpg.js';
10
+ import { a as DuetStringsExternalDefaults, e as DuetStringsDownloadLinkDefaults } from './common-strings-BWvtXbhA.js';
11
+ import { g as getAccessibleLinkLabel } from './a11y-utils-C6cn5C3e.js';
12
+ import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-CNMTW_pZ.js';
13
13
  import { c as createID } from './create-id-Cfr_DJqU.js';
14
14
  import './tokens.module-Z0D6Gy9e.js';
15
- import './slot-utils-aDCRCdc4.js';
15
+ import './slot-utils-BABbKvvc.js';
16
16
 
17
17
  const duetCaptionCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;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(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.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(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}:host(.duet-theme-turva2.duet-caption-selected.duet-theme-turva){color:#172a3b}";
18
18
 
@@ -59,7 +59,7 @@ const DuetCaption = class {
59
59
  };
60
60
  DuetCaption.style = duetCaptionCss;
61
61
 
62
- const duetHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}:host(.duet-theme-turva2) .duet-heading.duet-theme-turva{color:#172a3b}";
62
+ const duetHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}:host(.duet-theme-turva2) .duet-heading.duet-theme-turva{font-style:normal !important;color:#172a3b}";
63
63
 
64
64
  const DuetHeading = class {
65
65
  constructor(hostRef) {
@@ -336,10 +336,10 @@ const DuetLink = class {
336
336
  const Tag = !this.url && this.variation !== "default" ? "button" : "a";
337
337
  const role = !this.url && this.variation === "default" ? "button" : null;
338
338
  const isButton = Tag === "button";
339
- return (h(Host, { key: 'eae1c61afe3b8413b109313020b9757cfe7f2e42', class: {
339
+ return (h(Host, { key: 'e017bc7b1c5288daba5e0b8780b5b4e9c90645c0', class: {
340
340
  [`duet-link-${this.variation}`]: true,
341
341
  "duet-m-0": this.margin === "none",
342
- } }, h(Tag, { key: '973984aeb4ef7dd331df49218b1552a4955b80c2', href: this.url, class: {
342
+ } }, h(Tag, { key: 'eda58fb1424eb72c497e9ca0eceb9850131920ba', href: this.url, class: {
343
343
  "duet-link": true,
344
344
  "duet-link-is-external": this.external,
345
345
  "duet-link-is-download": !!this.download,
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-B_VBeM3r.js';
4
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
5
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-DvwKrUS6.js';
6
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
6
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
7
7
  import { c as createID } from './create-id-Cfr_DJqU.js';
8
8
  import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
9
- import { a as getElementsFromNamedSlot } from './slot-utils-aDCRCdc4.js';
9
+ import { a as getElementsFromNamedSlot } from './slot-utils-BABbKvvc.js';
10
10
  import { s as sanitizeString } from './string-utils-C6E9F6QT.js';
11
11
  import { g as getColorByName } from './token-utils-BGFYWQ6j.js';
12
12
  import './tokens.module-Z0D6Gy9e.js';
@@ -67,6 +67,12 @@ const DuetCard = class {
67
67
  * in order to avoid nested headings.
68
68
  */
69
69
  this.headingLevel = "h2";
70
+ /**
71
+ * Custom color to be used for the icon, as a design token entered in camelCase
72
+ * or kebab-case. Example: "color-primary". This property can also be set to
73
+ * "currentColor".
74
+ */
75
+ this.iconColor = "currentColor";
70
76
  /**
71
77
  * Custom color to be used for the card background, as a design token entered in
72
78
  * camelCase or kebab-case. Example: "primary".
@@ -129,7 +135,7 @@ const DuetCard = class {
129
135
  const headingStyles = {
130
136
  backgroundColor: getColorByName(this.headingBackground),
131
137
  };
132
- const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: "currentColor" }), h("duet-spacer", { direction: "horizontal", size: "small" }))), h("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.secondaryHeading && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("duet-icon", { class: "duet-card-caret", icon: arrowUpIcon.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), h("slot", { name: "below-heading" })));
138
+ const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: this.iconColor }), h("duet-spacer", { direction: "horizontal", size: "small" }))), h("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.secondaryHeading && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("duet-icon", { class: "duet-card-caret", icon: arrowUpIcon.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), h("slot", { name: "below-heading" })));
133
139
  if (this.collapsible) {
134
140
  const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
135
141
  return (h(HeadingTag, { style: headingStyles, class: "duet-card-heading duet-card-heading--collapsible", onClick: this.togglePanel, onKeyDown: this.handleKeyDown }, h("button", { type: "button", "aria-controls": this.cardId, "aria-expanded": this.open ? "true" : "false", "aria-label": ariaLabel }, headingContent)));
@@ -157,10 +163,10 @@ const DuetCard = class {
157
163
  const styles = {
158
164
  backgroundColor: getColorByName(this.background),
159
165
  };
160
- return (h(Host, { key: '611705991716b0c002889bf3a9e980f8da1d95f0', class: {
166
+ return (h(Host, { key: 'b229fd28e5e5058ba357db373f25c9de68dc2694', class: {
161
167
  "duet-m-0": this.margin === "none",
162
168
  "duet-card-info": this.variation === "info",
163
- } }, h(TagName, { key: '89e99da5b6adc642345ba6f7a21c7081b9d4e9f3', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
169
+ } }, h(TagName, { key: 'b80082cae6d0e4d564bc1eca68f57749b6975e0e', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
164
170
  "duet-card": true,
165
171
  [this.padding]: true,
166
172
  [this.variation]: true,
@@ -170,7 +176,7 @@ const DuetCard = class {
170
176
  "duet-card-has-bg": this.background !== "gray-lightest",
171
177
  "duet-card-has-icon": !!this.icon,
172
178
  "duet-card-collapsed": this.collapsible && !this.open,
173
- } }, this.image && (h("div", { key: '0aa60ed3e1bebc94ee7842d3982256c9373aa516', class: "duet-card-image-mask" }, h("img", { key: '84e7c1f6a0b6c9132ec82041fad87cc4577d6b1e', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: 'f86cc5808fdc33c29d5c1aeaa20de6b840b9bb87', class: "duet-card-content", id: this.cardId }, h("slot", { key: '5fb3cbdad3362c23720c00b1cc3a37c6e7c0df7a' }), this.hasFooter && (h("div", { key: '469c322c7f5b971194563825844cd26f854f7a4d', class: "duet-card-footer" }, h("slot", { key: '8a72444bea6b916c253e8aa87967046338e690ee', name: "footer" })))))));
179
+ } }, this.image && (h("div", { key: 'c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a', class: "duet-card-image-mask" }, h("img", { key: '828ed65b312a0e50257adfa39f25307b13e7d51a', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: '081d59770bc88f9b7bd2a9b25d0bf905ea0d141b', class: "duet-card-content", id: this.cardId }, h("slot", { key: 'ad92895c2eea7a7697bd4924165656e72ee9b1da' }), this.hasFooter && (h("div", { key: '9a920473b4242e87a36032511f982b3e890df463', class: "duet-card-footer" }, h("slot", { key: '41350a63089d579579bca4454a1fcbc27a60b445', name: "footer" })))))));
174
180
  }
175
181
  get element() { return getElement(this); }
176
182
  };
@@ -1,8 +1,8 @@
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-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
6
  import { c as createID } from './create-id-Cfr_DJqU.js';
7
7
 
8
8
  const duetCheckboxCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:8px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;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);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{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, 28, 58)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;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(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{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(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-label{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-checkbox+label::before{border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-checkbox:checked+label::before{background:#172a3b;border-color:#172a3b}";
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BPFqbaxm.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
6
 
7
7
  const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}:host(.duet-theme-turva2.duet-theme-turva) .checked .duet-checkmark-container{background:#172a3b;border-color:#172a3b !important}";
8
8
 
@@ -37,11 +37,11 @@ const DuetCheckmark = class {
37
37
  inheritGlobalTheme(this);
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: '9a2512992413ec797c17d55d2a41908cda0e6307', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'f95a151961586c89597dd2d31436deecc0cabf4d', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '42f1b50012a17910a3c1d91bac31bfc370c73abf', class: {
40
+ return (h(Host, { key: 'eb316eb0a7cd696a7087ee179bcbb77ac2df7fc2', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '53c6629329c800e4b76f57149010e3ea1fbb5ce9', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '4c1ffda9ef4f247a850c22fa61827ee8b6063958', class: {
41
41
  "duet-checkmark-container": true,
42
42
  center: this.center,
43
43
  "duet-checkmark-radio": this.type === "radio",
44
- } }, this.checked && h("div", { key: 'ed62491f54edf398da1c22ae672683107b6aa8bc', class: "duet-checkmark" })))));
44
+ } }, this.checked && h("div", { key: 'c5761342a659e414b3c7e6f3c14d79452665dcf8', class: "duet-checkmark" })))));
45
45
  }
46
46
  };
47
47
  DuetCheckmark.style = duetCheckmarkCss;
@@ -1,11 +1,11 @@
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-B_VBeM3r.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-DPqozkF4.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BPFqbaxm.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-Csv1RXxf.js';
6
6
  import { c as createID } from './create-id-Cfr_DJqU.js';
7
7
  import { s as subscribeTabbingChange, u as unsubscribeTabbingChange, h as enableUserIsTabbing } from './keyboard-utils-Db8rvjPI.js';
8
- import { g as getLocaleString } from './language-utils-B7PXWqpg.js';
8
+ import { g as getLocaleString } from './language-utils-CNMTW_pZ.js';
9
9
  import './string-utils-C6E9F6QT.js';
10
10
 
11
11
  const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:#172a3b !important;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:#fbe1d1;border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:#d8ae96}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:#fbe1d1;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:#e61740}";