@postenbring/hedwig-react 0.0.0-bugfix-example-darkmode-20260303124449 → 0.0.0-bump-nodejs-24-20260909105147

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 (381) hide show
  1. package/dist/accordion/accordion-content.js.map +1 -1
  2. package/dist/accordion/accordion-content.mjs +3 -3
  3. package/dist/accordion/accordion.js.map +1 -1
  4. package/dist/accordion/accordion.mjs +4 -4
  5. package/dist/accordion/index.js.map +1 -1
  6. package/dist/accordion/index.mjs +4 -4
  7. package/dist/blockquote/blockquote.d.ts +4 -11
  8. package/dist/blockquote/blockquote.d.ts.map +1 -1
  9. package/dist/blockquote/blockquote.js.map +1 -1
  10. package/dist/blockquote/blockquote.mjs +1 -1
  11. package/dist/blockquote/index.js.map +1 -1
  12. package/dist/blockquote/index.mjs +1 -1
  13. package/dist/button/button.d.ts +5 -2
  14. package/dist/button/button.d.ts.map +1 -1
  15. package/dist/button/button.js.map +1 -1
  16. package/dist/button/button.mjs +1 -1
  17. package/dist/button/index.js.map +1 -1
  18. package/dist/button/index.mjs +1 -1
  19. package/dist/card/card.d.ts +1 -1
  20. package/dist/card/card.js +1 -1
  21. package/dist/card/card.js.map +1 -1
  22. package/dist/card/card.mjs +1 -1
  23. package/dist/card/index.js +1 -1
  24. package/dist/card/index.js.map +1 -1
  25. package/dist/card/index.mjs +1 -1
  26. package/dist/{chunk-77M2ZTP7.mjs → chunk-3V4GFS46.mjs} +11 -1
  27. package/dist/chunk-3V4GFS46.mjs.map +1 -0
  28. package/dist/{chunk-TYCGAA35.mjs → chunk-45Q2TCH6.mjs} +1 -1
  29. package/dist/chunk-45Q2TCH6.mjs.map +1 -0
  30. package/dist/chunk-5J5LYE6Z.mjs +1 -0
  31. package/dist/chunk-5M6MEYM7.mjs +1 -0
  32. package/dist/chunk-62VLFCXX.mjs +64 -0
  33. package/dist/chunk-62VLFCXX.mjs.map +1 -0
  34. package/dist/chunk-6D5VE3DW.mjs +44 -0
  35. package/dist/chunk-6D5VE3DW.mjs.map +1 -0
  36. package/dist/chunk-CAIGPMDS.mjs +1 -0
  37. package/dist/chunk-CAIGPMDS.mjs.map +1 -0
  38. package/dist/chunk-CD4LCDK3.mjs +27 -0
  39. package/dist/chunk-CD4LCDK3.mjs.map +1 -0
  40. package/dist/chunk-CSIXGT7P.mjs +1 -0
  41. package/dist/chunk-CSIXGT7P.mjs.map +1 -0
  42. package/dist/chunk-D2XZT2RA.mjs +17 -0
  43. package/dist/chunk-D2XZT2RA.mjs.map +1 -0
  44. package/dist/{chunk-6OJINZ37.mjs → chunk-DMRQEQQK.mjs} +28 -10
  45. package/dist/chunk-DMRQEQQK.mjs.map +1 -0
  46. package/dist/{chunk-HEDGKRGC.mjs → chunk-DOW6EHBI.mjs} +6 -32
  47. package/dist/chunk-DOW6EHBI.mjs.map +1 -0
  48. package/dist/chunk-F23MNQCK.mjs +28 -0
  49. package/dist/chunk-F23MNQCK.mjs.map +1 -0
  50. package/dist/{chunk-5RXT5GLF.mjs → chunk-F6QJWZJX.mjs} +2 -2
  51. package/dist/chunk-FTVKPZCX.mjs +37 -0
  52. package/dist/chunk-FTVKPZCX.mjs.map +1 -0
  53. package/dist/{chunk-NUP7ZBVE.mjs → chunk-GICUX46A.mjs} +2 -2
  54. package/dist/chunk-HA3LRSDK.mjs +21 -0
  55. package/dist/chunk-HA3LRSDK.mjs.map +1 -0
  56. package/dist/{chunk-W6CFPK2C.mjs → chunk-HOLFVKXQ.mjs} +3 -2
  57. package/dist/chunk-HOLFVKXQ.mjs.map +1 -0
  58. package/dist/chunk-JGQTAIEP.mjs +67 -0
  59. package/dist/chunk-JGQTAIEP.mjs.map +1 -0
  60. package/dist/chunk-JGYPZ7ET.mjs +103 -0
  61. package/dist/chunk-JGYPZ7ET.mjs.map +1 -0
  62. package/dist/{chunk-GYI4NCUY.mjs → chunk-KPNAC2WN.mjs} +2 -2
  63. package/dist/{chunk-F7MLQ6JI.mjs → chunk-NAXSP4VU.mjs} +12 -3
  64. package/dist/{chunk-F7MLQ6JI.mjs.map → chunk-NAXSP4VU.mjs.map} +1 -1
  65. package/dist/{chunk-JYN2QSN2.mjs → chunk-NZB6BBFT.mjs} +1 -1
  66. package/dist/chunk-NZB6BBFT.mjs.map +1 -0
  67. package/dist/{chunk-R6MQFVHE.mjs → chunk-O55OTMJ5.mjs} +2 -2
  68. package/dist/chunk-OQD4GKOS.mjs +65 -0
  69. package/dist/chunk-OQD4GKOS.mjs.map +1 -0
  70. package/dist/{chunk-YNGU3V4J.mjs → chunk-QDG2QLFV.mjs} +3 -3
  71. package/dist/{chunk-E6OOFTRQ.mjs → chunk-QER35NXN.mjs} +14 -8
  72. package/dist/chunk-QER35NXN.mjs.map +1 -0
  73. package/dist/chunk-QOIBRXYT.mjs +113 -0
  74. package/dist/chunk-QOIBRXYT.mjs.map +1 -0
  75. package/dist/{chunk-B6T36QDV.mjs → chunk-QTC4ATZD.mjs} +2 -2
  76. package/dist/{chunk-J35DWEJX.mjs → chunk-RGZSYJFL.mjs} +14 -5
  77. package/dist/chunk-RGZSYJFL.mjs.map +1 -0
  78. package/dist/chunk-RJ763KDH.mjs +21 -0
  79. package/dist/chunk-RJ763KDH.mjs.map +1 -0
  80. package/dist/{chunk-AGIY7SFP.mjs → chunk-SO7TS4TS.mjs} +2 -2
  81. package/dist/{chunk-BFM6UZGI.mjs → chunk-TTDR3NZL.mjs} +2 -2
  82. package/dist/chunk-TTDR3NZL.mjs.map +1 -0
  83. package/dist/{chunk-LHIG6RW7.mjs → chunk-VNH7CZJ4.mjs} +5 -13
  84. package/dist/chunk-VNH7CZJ4.mjs.map +1 -0
  85. package/dist/{chunk-HBGFFKP3.mjs → chunk-WVCJV74B.mjs} +2 -2
  86. package/dist/chunk-XSID7YR7.mjs +1 -0
  87. package/dist/chunk-XSID7YR7.mjs.map +1 -0
  88. package/dist/{chunk-EDPWJWQO.mjs → chunk-YQT2TN3U.mjs} +2 -2
  89. package/dist/footer/footer.js.map +1 -1
  90. package/dist/footer/footer.mjs +6 -6
  91. package/dist/footer/index.js.map +1 -1
  92. package/dist/footer/index.mjs +6 -6
  93. package/dist/form/checkbox/checkbox.d.ts +10 -1
  94. package/dist/form/checkbox/checkbox.d.ts.map +1 -1
  95. package/dist/form/checkbox/checkbox.js +170 -71
  96. package/dist/form/checkbox/checkbox.js.map +1 -1
  97. package/dist/form/checkbox/checkbox.mjs +11 -4
  98. package/dist/form/checkbox/index.js +170 -71
  99. package/dist/form/checkbox/index.js.map +1 -1
  100. package/dist/form/checkbox/index.mjs +11 -4
  101. package/dist/form/date-picker/date-picker.d.ts.map +1 -1
  102. package/dist/form/date-picker/date-picker.js +76 -46
  103. package/dist/form/date-picker/date-picker.js.map +1 -1
  104. package/dist/form/date-picker/date-picker.mjs +8 -4
  105. package/dist/form/date-picker/index.js +76 -46
  106. package/dist/form/date-picker/index.js.map +1 -1
  107. package/dist/form/date-picker/index.mjs +8 -4
  108. package/dist/form/error-message/error-message.d.ts +2 -0
  109. package/dist/form/error-message/error-message.d.ts.map +1 -1
  110. package/dist/form/error-message/error-message.js +18 -8
  111. package/dist/form/error-message/error-message.js.map +1 -1
  112. package/dist/form/error-message/error-message.mjs +3 -1
  113. package/dist/form/error-message/index.js +18 -8
  114. package/dist/form/error-message/index.js.map +1 -1
  115. package/dist/form/error-message/index.mjs +3 -1
  116. package/dist/form/error-summary/error-summary.d.ts.map +1 -1
  117. package/dist/form/error-summary/error-summary.js +10 -1
  118. package/dist/form/error-summary/error-summary.js.map +1 -1
  119. package/dist/form/error-summary/error-summary.mjs +3 -3
  120. package/dist/form/error-summary/index.js +10 -1
  121. package/dist/form/error-summary/index.js.map +1 -1
  122. package/dist/form/error-summary/index.mjs +3 -3
  123. package/dist/form/fieldset/fieldset-description.d.ts +12 -0
  124. package/dist/form/fieldset/fieldset-description.d.ts.map +1 -0
  125. package/dist/form/fieldset/fieldset-description.js +51 -0
  126. package/dist/form/fieldset/fieldset-description.js.map +1 -0
  127. package/dist/form/fieldset/fieldset-description.mjs +8 -0
  128. package/dist/form/fieldset/fieldset-description.mjs.map +1 -0
  129. package/dist/form/fieldset/fieldset-legend.d.ts +9 -0
  130. package/dist/form/fieldset/fieldset-legend.d.ts.map +1 -0
  131. package/dist/form/fieldset/fieldset-legend.js +72 -0
  132. package/dist/form/fieldset/fieldset-legend.js.map +1 -0
  133. package/dist/form/fieldset/fieldset-legend.mjs +8 -0
  134. package/dist/form/fieldset/fieldset-legend.mjs.map +1 -0
  135. package/dist/form/fieldset/fieldset.d.ts +30 -6
  136. package/dist/form/fieldset/fieldset.d.ts.map +1 -1
  137. package/dist/form/fieldset/fieldset.js +110 -35
  138. package/dist/form/fieldset/fieldset.js.map +1 -1
  139. package/dist/form/fieldset/fieldset.mjs +9 -2
  140. package/dist/form/fieldset/index.d.ts +2 -0
  141. package/dist/form/fieldset/index.d.ts.map +1 -1
  142. package/dist/form/fieldset/index.js +114 -35
  143. package/dist/form/fieldset/index.js.map +1 -1
  144. package/dist/form/fieldset/index.mjs +16 -3
  145. package/dist/form/index.d.ts +3 -0
  146. package/dist/form/index.d.ts.map +1 -1
  147. package/dist/form/index.js +550 -260
  148. package/dist/form/index.js.map +1 -1
  149. package/dist/form/index.mjs +57 -24
  150. package/dist/form/input/index.js +103 -39
  151. package/dist/form/input/index.js.map +1 -1
  152. package/dist/form/input/index.mjs +8 -3
  153. package/dist/form/input/input.d.ts.map +1 -1
  154. package/dist/form/input/input.js +103 -39
  155. package/dist/form/input/input.js.map +1 -1
  156. package/dist/form/input/input.mjs +8 -3
  157. package/dist/form/input-group/index.js +59 -23
  158. package/dist/form/input-group/index.js.map +1 -1
  159. package/dist/form/input-group/index.mjs +7 -2
  160. package/dist/form/input-group/input-group.d.ts +9 -1
  161. package/dist/form/input-group/input-group.d.ts.map +1 -1
  162. package/dist/form/input-group/input-group.js +59 -23
  163. package/dist/form/input-group/input-group.js.map +1 -1
  164. package/dist/form/input-group/input-group.mjs +7 -2
  165. package/dist/form/radio-button/index.js +139 -86
  166. package/dist/form/radio-button/index.js.map +1 -1
  167. package/dist/form/radio-button/index.mjs +12 -5
  168. package/dist/form/radio-button/radio-button.d.ts +2 -10
  169. package/dist/form/radio-button/radio-button.d.ts.map +1 -1
  170. package/dist/form/radio-button/radio-button.js +139 -86
  171. package/dist/form/radio-button/radio-button.js.map +1 -1
  172. package/dist/form/radio-button/radio-button.mjs +12 -5
  173. package/dist/form/radio-button/radio-group.d.ts +11 -13
  174. package/dist/form/radio-button/radio-group.d.ts.map +1 -1
  175. package/dist/form/radio-button/radio-group.js +123 -48
  176. package/dist/form/radio-button/radio-group.js.map +1 -1
  177. package/dist/form/radio-button/radio-group.mjs +11 -4
  178. package/dist/form/search-wrapper/index.d.ts +3 -0
  179. package/dist/form/search-wrapper/index.d.ts.map +1 -0
  180. package/dist/form/search-wrapper/index.js +68 -0
  181. package/dist/form/search-wrapper/index.js.map +1 -0
  182. package/dist/form/search-wrapper/index.mjs +9 -0
  183. package/dist/form/search-wrapper/index.mjs.map +1 -0
  184. package/dist/form/search-wrapper/search-wrapper.d.ts +6 -0
  185. package/dist/form/search-wrapper/search-wrapper.d.ts.map +1 -0
  186. package/dist/form/search-wrapper/search-wrapper.js +66 -0
  187. package/dist/form/search-wrapper/search-wrapper.js.map +1 -0
  188. package/dist/form/search-wrapper/search-wrapper.mjs +8 -0
  189. package/dist/form/search-wrapper/search-wrapper.mjs.map +1 -0
  190. package/dist/form/select/index.js +105 -38
  191. package/dist/form/select/index.js.map +1 -1
  192. package/dist/form/select/index.mjs +8 -3
  193. package/dist/form/select/select.d.ts.map +1 -1
  194. package/dist/form/select/select.js +105 -38
  195. package/dist/form/select/select.js.map +1 -1
  196. package/dist/form/select/select.mjs +8 -3
  197. package/dist/form/suggestions/index.d.ts +7 -0
  198. package/dist/form/suggestions/index.d.ts.map +1 -0
  199. package/dist/form/suggestions/index.js +131 -0
  200. package/dist/form/suggestions/index.js.map +1 -0
  201. package/dist/form/suggestions/index.mjs +19 -0
  202. package/dist/form/suggestions/index.mjs.map +1 -0
  203. package/dist/form/suggestions/suggestions-item.d.ts +45 -0
  204. package/dist/form/suggestions/suggestions-item.d.ts.map +1 -0
  205. package/dist/form/suggestions/suggestions-item.js +83 -0
  206. package/dist/form/suggestions/suggestions-item.js.map +1 -0
  207. package/dist/form/suggestions/suggestions-item.mjs +10 -0
  208. package/dist/form/suggestions/suggestions-item.mjs.map +1 -0
  209. package/dist/form/suggestions/suggestions-wrapper.d.ts +41 -0
  210. package/dist/form/suggestions/suggestions-wrapper.d.ts.map +1 -0
  211. package/dist/form/suggestions/suggestions-wrapper.js +66 -0
  212. package/dist/form/suggestions/suggestions-wrapper.js.map +1 -0
  213. package/dist/form/suggestions/suggestions-wrapper.mjs +8 -0
  214. package/dist/form/suggestions/suggestions-wrapper.mjs.map +1 -0
  215. package/dist/form/suggestions/suggestions.d.ts +57 -0
  216. package/dist/form/suggestions/suggestions.d.ts.map +1 -0
  217. package/dist/form/suggestions/suggestions.js +123 -0
  218. package/dist/form/suggestions/suggestions.js.map +1 -0
  219. package/dist/form/suggestions/suggestions.mjs +10 -0
  220. package/dist/form/suggestions/suggestions.mjs.map +1 -0
  221. package/dist/form/textarea/index.js +92 -27
  222. package/dist/form/textarea/index.js.map +1 -1
  223. package/dist/form/textarea/index.mjs +8 -3
  224. package/dist/form/textarea/textarea.d.ts.map +1 -1
  225. package/dist/form/textarea/textarea.js +92 -27
  226. package/dist/form/textarea/textarea.js.map +1 -1
  227. package/dist/form/textarea/textarea.mjs +8 -3
  228. package/dist/form/validation-message/index.d.ts +3 -0
  229. package/dist/form/validation-message/index.d.ts.map +1 -0
  230. package/dist/form/validation-message/index.js +75 -0
  231. package/dist/form/validation-message/index.js.map +1 -0
  232. package/dist/form/validation-message/index.mjs +9 -0
  233. package/dist/form/validation-message/index.mjs.map +1 -0
  234. package/dist/form/validation-message/validation-message.d.ts +6 -0
  235. package/dist/form/validation-message/validation-message.d.ts.map +1 -0
  236. package/dist/form/validation-message/validation-message.js +73 -0
  237. package/dist/form/validation-message/validation-message.js.map +1 -0
  238. package/dist/form/validation-message/validation-message.mjs +8 -0
  239. package/dist/form/validation-message/validation-message.mjs.map +1 -0
  240. package/dist/index.js +798 -505
  241. package/dist/index.js.map +1 -1
  242. package/dist/index.mjs +90 -55
  243. package/dist/layout/index.mjs +7 -7
  244. package/dist/modal/index.js.map +1 -1
  245. package/dist/modal/index.mjs +2 -2
  246. package/dist/modal/modal.js.map +1 -1
  247. package/dist/modal/modal.mjs +2 -2
  248. package/dist/navbar/index.js +1 -0
  249. package/dist/navbar/index.js.map +1 -1
  250. package/dist/navbar/index.mjs +3 -3
  251. package/dist/navbar/navbar-expandable-menu.d.ts.map +1 -1
  252. package/dist/navbar/navbar-expandable-menu.js +1 -0
  253. package/dist/navbar/navbar-expandable-menu.js.map +1 -1
  254. package/dist/navbar/navbar-expandable-menu.mjs +2 -2
  255. package/dist/navbar/navbar.js +1 -0
  256. package/dist/navbar/navbar.js.map +1 -1
  257. package/dist/navbar/navbar.mjs +3 -3
  258. package/dist/skeleton/index.js.map +1 -1
  259. package/dist/skeleton/index.mjs +3 -3
  260. package/dist/skeleton/skeleton.js.map +1 -1
  261. package/dist/skeleton/skeleton.mjs +3 -3
  262. package/dist/tabs/index.js.map +1 -1
  263. package/dist/tabs/index.mjs +3 -3
  264. package/dist/tabs/tabs-list.js.map +1 -1
  265. package/dist/tabs/tabs-list.mjs +2 -2
  266. package/dist/tabs/tabs.js.map +1 -1
  267. package/dist/tabs/tabs.mjs +3 -3
  268. package/dist/utils/auto-animate-height.js.map +1 -1
  269. package/dist/utils/auto-animate-height.mjs +2 -2
  270. package/dist/utils/index.js +11 -0
  271. package/dist/utils/index.js.map +1 -1
  272. package/dist/utils/index.mjs +4 -2
  273. package/dist/utils/utils.d.ts +4 -0
  274. package/dist/utils/utils.d.ts.map +1 -1
  275. package/dist/utils/utils.js +11 -0
  276. package/dist/utils/utils.js.map +1 -1
  277. package/dist/utils/utils.mjs +3 -1
  278. package/package.json +5 -5
  279. package/src/accordion/accordion.stories.tsx +13 -20
  280. package/src/alert/alert.stories.tsx +1 -1
  281. package/src/badge/badge.stories.tsx +1 -1
  282. package/src/blockquote/blockquote.stories.tsx +1 -1
  283. package/src/blockquote/blockquote.tsx +4 -12
  284. package/src/box/box.stories.tsx +1 -1
  285. package/src/breadcrumbs/breadcrumbs.stories.tsx +1 -1
  286. package/src/button/button.stories.tsx +1 -1
  287. package/src/button/button.tsx +6 -2
  288. package/src/button-list/button-list.stories.tsx +1 -1
  289. package/src/card/card.stories.tsx +10 -9
  290. package/src/card/card.tsx +2 -2
  291. package/src/description-list/description-list.stories.tsx +1 -1
  292. package/src/figure/figure.stories.tsx +1 -1
  293. package/src/form/checkbox/checkbox.stories.tsx +1 -1
  294. package/src/form/checkbox/checkbox.tsx +32 -11
  295. package/src/form/date-picker/date-picker.stories.tsx +1 -1
  296. package/src/form/date-picker/date-picker.tsx +7 -1
  297. package/src/form/error-message/error-message.tsx +8 -14
  298. package/src/form/error-summary/error-summary.stories.tsx +1 -1
  299. package/src/form/error-summary/error-summary.tsx +6 -1
  300. package/src/form/fieldset/fieldset-description.tsx +17 -0
  301. package/src/form/fieldset/fieldset-legend.tsx +22 -0
  302. package/src/form/fieldset/fieldset.stories.tsx +3 -2
  303. package/src/form/fieldset/fieldset.tsx +95 -26
  304. package/src/form/fieldset/index.tsx +2 -0
  305. package/src/form/index.tsx +3 -0
  306. package/src/form/input/input.stories.tsx +1 -1
  307. package/src/form/input/input.tsx +23 -8
  308. package/src/form/input-group/input-group.tsx +32 -15
  309. package/src/form/radio-button/radio-button.stories.tsx +1 -2
  310. package/src/form/radio-button/radio-button.tsx +8 -34
  311. package/src/form/radio-button/radio-group.stories.tsx +1 -1
  312. package/src/form/radio-button/radio-group.tsx +20 -19
  313. package/src/form/search-wrapper/index.tsx +2 -0
  314. package/src/form/search-wrapper/search-wrapper.stories.tsx +34 -0
  315. package/src/form/search-wrapper/search-wrapper.tsx +14 -0
  316. package/src/form/select/select.stories.tsx +1 -1
  317. package/src/form/select/select.tsx +25 -8
  318. package/src/form/suggestions/index.tsx +6 -0
  319. package/src/form/suggestions/suggestions-item.tsx +70 -0
  320. package/src/form/suggestions/suggestions-wrapper.tsx +50 -0
  321. package/src/form/suggestions/suggestions.tsx +89 -0
  322. package/src/form/textarea/textarea.stories.tsx +1 -1
  323. package/src/form/textarea/textarea.tsx +19 -2
  324. package/src/form/validation-message/index.tsx +2 -0
  325. package/src/form/validation-message/validation-message.stories.tsx +20 -0
  326. package/src/form/validation-message/validation-message.tsx +18 -0
  327. package/src/help-text/help-text.stories.tsx +1 -1
  328. package/src/layout/container/container.stories.tsx +1 -1
  329. package/src/layout/grid/grid.stories.tsx +1 -1
  330. package/src/layout/stack/stack.stories.tsx +1 -1
  331. package/src/link/link.stories.tsx +1 -1
  332. package/src/list/link-list.stories.tsx +1 -1
  333. package/src/list/list.stories.tsx +1 -1
  334. package/src/message/message.stories.tsx +1 -1
  335. package/src/modal/modal.stories.tsx +5 -9
  336. package/src/navbar/navbar-expandable-menu.tsx +1 -0
  337. package/src/navbar/navbar.stories.tsx +1 -1
  338. package/src/show-more/show-more.stories.tsx +1 -1
  339. package/src/skeleton/skeleton.stories.tsx +1 -1
  340. package/src/spinner/spinner.stories.tsx +1 -1
  341. package/src/step-indicator/step-indicator.stories.tsx +1 -1
  342. package/src/styled-html/styled-html.stories.tsx +1 -1
  343. package/src/table/table.stories.tsx +1 -1
  344. package/src/tabs/tabs.stories.tsx +1 -1
  345. package/src/text/text.stories.tsx +1 -1
  346. package/src/utils/utils.ts +16 -0
  347. package/src/warning-banner/warning-banner.stories.tsx +1 -1
  348. package/dist/chunk-3VKESN3T.mjs +0 -37
  349. package/dist/chunk-3VKESN3T.mjs.map +0 -1
  350. package/dist/chunk-6OJINZ37.mjs.map +0 -1
  351. package/dist/chunk-77M2ZTP7.mjs.map +0 -1
  352. package/dist/chunk-BFM6UZGI.mjs.map +0 -1
  353. package/dist/chunk-BO3EWZGA.mjs +0 -78
  354. package/dist/chunk-BO3EWZGA.mjs.map +0 -1
  355. package/dist/chunk-E6OOFTRQ.mjs.map +0 -1
  356. package/dist/chunk-HEDGKRGC.mjs.map +0 -1
  357. package/dist/chunk-IJSEJZ3W.mjs +0 -1
  358. package/dist/chunk-J35DWEJX.mjs.map +0 -1
  359. package/dist/chunk-JYN2QSN2.mjs.map +0 -1
  360. package/dist/chunk-LHIG6RW7.mjs.map +0 -1
  361. package/dist/chunk-LMF3QGSF.mjs +0 -1
  362. package/dist/chunk-N4W3OMA2.mjs +0 -37
  363. package/dist/chunk-N4W3OMA2.mjs.map +0 -1
  364. package/dist/chunk-NBEGX26X.mjs +0 -36
  365. package/dist/chunk-NBEGX26X.mjs.map +0 -1
  366. package/dist/chunk-TYCGAA35.mjs.map +0 -1
  367. package/dist/chunk-W6CFPK2C.mjs.map +0 -1
  368. package/dist/chunk-Z2ZPTZ6F.mjs +0 -69
  369. package/dist/chunk-Z2ZPTZ6F.mjs.map +0 -1
  370. package/src/form/error-message/error-message.stories.tsx +0 -20
  371. /package/dist/{chunk-IJSEJZ3W.mjs.map → chunk-5J5LYE6Z.mjs.map} +0 -0
  372. /package/dist/{chunk-LMF3QGSF.mjs.map → chunk-5M6MEYM7.mjs.map} +0 -0
  373. /package/dist/{chunk-5RXT5GLF.mjs.map → chunk-F6QJWZJX.mjs.map} +0 -0
  374. /package/dist/{chunk-NUP7ZBVE.mjs.map → chunk-GICUX46A.mjs.map} +0 -0
  375. /package/dist/{chunk-GYI4NCUY.mjs.map → chunk-KPNAC2WN.mjs.map} +0 -0
  376. /package/dist/{chunk-R6MQFVHE.mjs.map → chunk-O55OTMJ5.mjs.map} +0 -0
  377. /package/dist/{chunk-YNGU3V4J.mjs.map → chunk-QDG2QLFV.mjs.map} +0 -0
  378. /package/dist/{chunk-B6T36QDV.mjs.map → chunk-QTC4ATZD.mjs.map} +0 -0
  379. /package/dist/{chunk-AGIY7SFP.mjs.map → chunk-SO7TS4TS.mjs.map} +0 -0
  380. /package/dist/{chunk-HBGFFKP3.mjs.map → chunk-WVCJV74B.mjs.map} +0 -0
  381. /package/dist/{chunk-EDPWJWQO.mjs.map → chunk-YQT2TN3U.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -91,6 +91,8 @@ __export(index_exports, {
91
91
  ErrorMessage: () => ErrorMessage,
92
92
  ErrorSummary: () => ErrorSummary,
93
93
  Fieldset: () => Fieldset,
94
+ FieldsetDescription: () => FieldsetDescription,
95
+ FieldsetLegend: () => FieldsetLegend,
94
96
  Figure: () => Figure,
95
97
  Footer: () => Footer,
96
98
  FooterButtonLink: () => FooterButtonLink,
@@ -125,6 +127,7 @@ __export(index_exports, {
125
127
  OrderedList: () => OrderedList,
126
128
  RadioButton: () => RadioButton,
127
129
  RadioGroup: () => RadioGroup,
130
+ SearchWrapper: () => SearchWrapper,
128
131
  Select: () => Select,
129
132
  ShowMoreButton: () => ShowMoreButton,
130
133
  Skeleton: () => Skeleton,
@@ -132,6 +135,10 @@ __export(index_exports, {
132
135
  Stack: () => Stack,
133
136
  StepIndicator: () => StepIndicator,
134
137
  StyledHtml: () => StyledHtml,
138
+ Suggestions: () => Suggestions,
139
+ SuggestionsItem: () => SuggestionsItem,
140
+ SuggestionsItemAction: () => SuggestionsItemAction,
141
+ SuggestionsWrapper: () => SuggestionsWrapper,
135
142
  Table: () => Table,
136
143
  Tabs: () => Tabs,
137
144
  TabsContent: () => TabsContent,
@@ -142,8 +149,10 @@ __export(index_exports, {
142
149
  Textarea: () => Textarea,
143
150
  UnorderedList: () => UnorderedList,
144
151
  VStack: () => VStack,
152
+ ValidationMessage: () => ValidationMessage,
145
153
  WarningBanner: () => WarningBanner,
146
154
  focusTrap: () => focusTrap,
155
+ getValidationMessageValue: () => getValidationMessageValue,
147
156
  inertPropValue: () => inertPropValue,
148
157
  useFieldsetContext: () => useFieldsetContext,
149
158
  useHydrated: () => useHydrated,
@@ -283,6 +292,15 @@ function useHydrated() {
283
292
  () => false
284
293
  );
285
294
  }
295
+ function getValidationMessageValue(validationMessage, errorMessage) {
296
+ if (validationMessage) {
297
+ if (typeof validationMessage === "object" && "value" in validationMessage) {
298
+ return validationMessage.value;
299
+ }
300
+ return validationMessage;
301
+ }
302
+ return errorMessage;
303
+ }
286
304
  function focusTrap(element) {
287
305
  var _a, _b;
288
306
  if (element === document.body) return () => {
@@ -795,7 +813,7 @@ var CardMediaImg = (0, import_react15.forwardRef)(
795
813
  __spreadProps(__spreadValues({}, rest), {
796
814
  className: (0, import_typed_classname12.clsx)(
797
815
  "hds-card__media__img",
798
- { "hds-card__img__scale": variant === "scale" },
816
+ { "hds-card__img__crop": variant === "crop" },
799
817
  className
800
818
  ),
801
819
  ref
@@ -1036,160 +1054,249 @@ var Figure = (0, import_react17.forwardRef)(
1036
1054
  Figure.displayName = "Figure";
1037
1055
 
1038
1056
  // src/form/checkbox/checkbox.tsx
1039
- var import_react20 = require("react");
1040
- var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
1057
+ var import_react23 = require("react");
1058
+ var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
1041
1059
 
1042
- // src/form/error-message/error-message.tsx
1060
+ // src/form/validation-message/validation-message.tsx
1043
1061
  var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
1044
1062
  var import_react18 = require("react");
1045
1063
  var import_jsx_runtime16 = require("react/jsx-runtime");
1046
- var ErrorMessage = (0, import_react18.forwardRef)(
1064
+ var ValidationMessage = (0, import_react18.forwardRef)(
1047
1065
  (_a, ref) => {
1048
- var _b = _a, { children, id, className } = _b, rest = __objRest(_b, ["children", "id", "className"]);
1066
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1049
1067
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1050
1068
  "div",
1051
- __spreadProps(__spreadValues({
1069
+ __spreadValues({
1052
1070
  "aria-live": "polite",
1053
- className: (0, import_typed_classname15.clsx)("hds-error-message", className),
1054
- id,
1071
+ className: (0, import_typed_classname15.clsx)("hds-validation-message", className),
1055
1072
  ref
1056
- }, rest), {
1057
- children
1058
- })
1073
+ }, rest)
1059
1074
  );
1060
1075
  }
1061
1076
  );
1077
+ ValidationMessage.displayName = "ValidationMessage";
1078
+
1079
+ // src/form/error-message/error-message.tsx
1080
+ var import_react19 = require("react");
1081
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1082
+ var ErrorMessage = (0, import_react19.forwardRef)(
1083
+ (_a, ref) => {
1084
+ var _b = _a, { children, id, className } = _b, rest = __objRest(_b, ["children", "id", "className"]);
1085
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ValidationMessage, __spreadProps(__spreadValues({ id, "data-color": "error", className }, rest), { ref, children }));
1086
+ }
1087
+ );
1062
1088
  ErrorMessage.displayName = "ErrorMessage";
1063
1089
 
1064
1090
  // src/form/fieldset/fieldset.tsx
1065
- var import_react19 = require("react");
1091
+ var import_react22 = require("react");
1092
+ var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
1093
+
1094
+ // src/form/fieldset/fieldset-description.tsx
1095
+ var import_react20 = require("react");
1096
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1097
+ var FieldsetDescription = (0, import_react20.forwardRef)(
1098
+ function FieldsetDescription2(rest, ref) {
1099
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", __spreadValues({ className: "hds-fieldset__description", ref }, rest));
1100
+ }
1101
+ );
1102
+
1103
+ // src/form/fieldset/fieldset-legend.tsx
1104
+ var import_react21 = require("react");
1066
1105
  var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
1067
- var import_jsx_runtime17 = require("react/jsx-runtime");
1068
- var FieldsetContext = (0, import_react19.createContext)({ hasError: false });
1069
- var useFieldsetContext = () => (0, import_react19.useContext)(FieldsetContext);
1070
- var Fieldset = (0, import_react19.forwardRef)(function Fieldset2(_a, ref) {
1106
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1107
+ var FieldsetLegend = (0, import_react21.forwardRef)(
1108
+ function FieldsetLegend2(_a, ref) {
1109
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1110
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1111
+ "legend",
1112
+ __spreadValues({
1113
+ className: (0, import_typed_classname16.clsx)("hds-fieldset__legend", className),
1114
+ ref
1115
+ }, rest)
1116
+ );
1117
+ }
1118
+ );
1119
+ FieldsetLegend.displayName = "Fieldset.Legend";
1120
+
1121
+ // src/form/fieldset/fieldset.tsx
1122
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1123
+ var FieldsetContext = (0, import_react22.createContext)({
1124
+ hasError: false,
1125
+ size: ""
1126
+ });
1127
+ var useFieldsetContext = () => (0, import_react22.useContext)(FieldsetContext);
1128
+ var Fieldset = (0, import_react22.forwardRef)(function Fieldset2(_a, ref) {
1071
1129
  var _b = _a, {
1072
1130
  className,
1073
1131
  style,
1132
+ "data-color": dataColor = void 0,
1133
+ validationMessage,
1134
+ validationMessageProps,
1074
1135
  errorMessage,
1075
1136
  errorMessageProps,
1076
- legendProps: _c = {}
1077
- } = _b, _d = _c, { size: legendSize = "default", className: legendClassName } = _d, legendProps = __objRest(_d, ["size", "className"]), _e = _b, {
1137
+ legendProps,
1078
1138
  legend,
1139
+ size = "",
1079
1140
  children
1080
- } = _e, rest = __objRest(_e, [
1141
+ } = _b, rest = __objRest(_b, [
1081
1142
  "className",
1082
1143
  "style",
1144
+ "data-color",
1145
+ "validationMessage",
1146
+ "validationMessageProps",
1083
1147
  "errorMessage",
1084
1148
  "errorMessageProps",
1085
1149
  "legendProps",
1086
1150
  "legend",
1151
+ "size",
1087
1152
  "children"
1088
1153
  ]);
1089
- const errorMessageId = (0, import_react19.useId)();
1090
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1154
+ const validationMessageId = (0, import_react22.useId)();
1155
+ const validationColor = errorMessage ? "error" : dataColor;
1156
+ const validationMessageValue = getValidationMessageValue(validationMessage, errorMessage);
1157
+ const childArray = import_react22.Children.toArray(children);
1158
+ const legendChild = childArray.find(
1159
+ (child) => (0, import_react22.isValidElement)(child) && child.type === FieldsetLegend
1160
+ );
1161
+ const contentChildren = legendChild ? childArray.filter((child) => child !== legendChild) : childArray;
1162
+ let renderedLegend = null;
1163
+ if (legendChild) {
1164
+ renderedLegend = (0, import_react22.cloneElement)(legendChild, __spreadProps(__spreadValues(__spreadValues({}, legendProps), legendChild.props), {
1165
+ className: (0, import_typed_classname17.clsx)(
1166
+ legendProps == null ? void 0 : legendProps.className,
1167
+ legendChild.props.className
1168
+ )
1169
+ }));
1170
+ } else if (legend !== void 0) {
1171
+ renderedLegend = /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FieldsetLegend, __spreadProps(__spreadValues({}, legendProps), { children: legend }));
1172
+ }
1173
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1091
1174
  "fieldset",
1092
1175
  __spreadProps(__spreadValues({
1093
- "aria-describedby": errorMessage ? errorMessageId : void 0,
1176
+ "aria-describedby": validationMessageValue ? validationMessageId : void 0,
1094
1177
  "aria-invalid": errorMessage ? true : void 0,
1095
- className: (0, import_typed_classname16.clsx)("hds-fieldset", className),
1178
+ className: (0, import_typed_classname17.clsx)("hds-fieldset", { [`hds-fieldset--${size}`]: size }, className),
1179
+ "data-color": validationColor,
1096
1180
  ref,
1097
1181
  style
1098
1182
  }, rest), {
1099
1183
  children: [
1100
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1101
- "legend",
1184
+ renderedLegend,
1185
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FieldsetContext.Provider, { value: { hasError: Boolean(errorMessage), size }, children: contentChildren }),
1186
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1187
+ ValidationMessage,
1102
1188
  __spreadProps(__spreadValues({
1103
- className: (0, import_typed_classname16.clsx)(
1104
- "hds-fieldset__legend",
1105
- { [`hds-fieldset__legend--${legendSize}`]: legendSize },
1106
- legendClassName
1107
- )
1108
- }, legendProps), {
1109
- children: legend
1189
+ id: validationMessageId
1190
+ }, validationMessageProps != null ? validationMessageProps : errorMessageProps), {
1191
+ children: validationMessageValue
1110
1192
  })
1111
- ),
1112
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(FieldsetContext.Provider, { value: { hasError: Boolean(errorMessage) }, children }),
1113
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
1193
+ )
1114
1194
  ]
1115
1195
  })
1116
1196
  );
1117
1197
  });
1198
+ Fieldset.Description = FieldsetDescription;
1199
+ Fieldset.Legend = FieldsetLegend;
1118
1200
 
1119
1201
  // src/form/checkbox/checkbox.tsx
1120
- var import_jsx_runtime18 = require("react/jsx-runtime");
1121
- var Checkbox = (0, import_react20.forwardRef)(
1202
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1203
+ var Checkbox = (0, import_react23.forwardRef)(
1122
1204
  (_a, ref) => {
1123
1205
  var _b = _a, {
1124
1206
  variant = "plain",
1125
1207
  hasError: hasErrorProp,
1208
+ validationMessage,
1209
+ validationMessageProps,
1126
1210
  errorMessage,
1127
1211
  errorMessageProps,
1128
1212
  title,
1129
1213
  children,
1130
- className
1214
+ className,
1215
+ size = ""
1131
1216
  } = _b, rest = __objRest(_b, [
1132
1217
  "variant",
1133
1218
  "hasError",
1219
+ "validationMessage",
1220
+ "validationMessageProps",
1134
1221
  "errorMessage",
1135
1222
  "errorMessageProps",
1136
1223
  "title",
1137
1224
  "children",
1138
- "className"
1225
+ "className",
1226
+ "size"
1139
1227
  ]);
1140
- const errorMessageId = (0, import_react20.useId)();
1141
- const { hasError: hasFieldsetError } = useFieldsetContext();
1228
+ const validationMessageId = (0, import_react23.useId)();
1229
+ const { hasError: hasFieldsetError, size: fieldsetSize } = useFieldsetContext();
1142
1230
  const hasError = !!errorMessage || hasFieldsetError || hasErrorProp;
1143
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: (0, import_typed_classname17.clsx)("hds-checkbox-wrapper"), children: [
1144
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1145
- "div",
1146
- {
1147
- className: (0, import_typed_classname17.clsx)(
1148
- "hds-checkbox",
1231
+ const effectiveSize = size || fieldsetSize;
1232
+ const validationMessageValue = getValidationMessageValue(validationMessage, errorMessage);
1233
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1234
+ "div",
1235
+ {
1236
+ className: (0, import_typed_classname18.clsx)("hds-checkbox-wrapper", {
1237
+ "hds-checkbox-wrapper--small": effectiveSize === "small"
1238
+ }),
1239
+ children: [
1240
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1241
+ "div",
1149
1242
  {
1150
- [`hds-checkbox--${variant}`]: variant === "bounding-box",
1151
- "hds-checkbox--error": hasError
1152
- },
1153
- className
1154
- ),
1155
- children: [
1156
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { children: [
1157
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1158
- "input",
1159
- __spreadProps(__spreadValues({}, rest), {
1160
- "aria-invalid": hasError ? true : void 0,
1161
- "aria-describedby": errorMessage ? errorMessageId : void 0,
1162
- ref,
1163
- type: "checkbox"
1164
- })
1243
+ className: (0, import_typed_classname18.clsx)(
1244
+ "hds-checkbox",
1245
+ {
1246
+ [`hds-checkbox--${variant}`]: variant === "bounding-box"
1247
+ },
1248
+ className
1165
1249
  ),
1166
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
1167
- title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
1168
- ] }),
1169
- title ? children : null
1170
- ]
1171
- }
1172
- ),
1173
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
1174
- ] });
1250
+ children: [
1251
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("label", { children: [
1252
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1253
+ "input",
1254
+ __spreadValues({
1255
+ "aria-invalid": hasError ? true : void 0,
1256
+ "aria-describedby": validationMessageValue ? validationMessageId : void 0,
1257
+ ref,
1258
+ type: "checkbox"
1259
+ }, rest)
1260
+ ),
1261
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
1262
+ title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
1263
+ ] }),
1264
+ title ? children : null
1265
+ ]
1266
+ }
1267
+ ),
1268
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1269
+ ValidationMessage,
1270
+ __spreadProps(__spreadValues({
1271
+ id: validationMessageId
1272
+ }, validationMessageProps != null ? validationMessageProps : errorMessageProps), {
1273
+ children: validationMessageValue
1274
+ })
1275
+ )
1276
+ ]
1277
+ }
1278
+ );
1175
1279
  }
1176
1280
  );
1177
1281
  Checkbox.displayName = "Checkbox";
1178
1282
 
1179
1283
  // src/form/date-picker/date-picker.tsx
1180
- var import_react22 = require("react");
1181
- var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
1284
+ var import_react25 = require("react");
1285
+ var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
1182
1286
 
1183
1287
  // src/form/input-group/input-group.tsx
1184
- var import_react21 = require("react");
1185
- var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
1186
- var import_jsx_runtime19 = require("react/jsx-runtime");
1187
- var InputGroup = (0, import_react21.forwardRef)(function InputGroup2(_a, ref) {
1288
+ var import_react24 = require("react");
1289
+ var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
1290
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1291
+ var InputGroup = (0, import_react24.forwardRef)(function InputGroup2(_a, ref) {
1188
1292
  var _b = _a, {
1189
1293
  id,
1190
1294
  className,
1191
1295
  style,
1296
+ "data-color": dataColor = void 0,
1192
1297
  size = "large",
1298
+ validationMessage,
1299
+ validationMessageProps,
1193
1300
  errorMessage,
1194
1301
  errorMessageProps,
1195
1302
  labelProps: _c = {}
@@ -1202,7 +1309,10 @@ var InputGroup = (0, import_react21.forwardRef)(function InputGroup2(_a, ref) {
1202
1309
  "id",
1203
1310
  "className",
1204
1311
  "style",
1312
+ "data-color",
1205
1313
  "size",
1314
+ "validationMessage",
1315
+ "validationMessageProps",
1206
1316
  "errorMessage",
1207
1317
  "errorMessageProps",
1208
1318
  "labelProps",
@@ -1211,72 +1321,83 @@ var InputGroup = (0, import_react21.forwardRef)(function InputGroup2(_a, ref) {
1211
1321
  "readOnly",
1212
1322
  "children"
1213
1323
  ]);
1214
- const errorMessageId = (0, import_react21.useId)();
1215
- const inputId = (0, import_react21.useId)();
1324
+ const validationMessageId = (0, import_react24.useId)();
1325
+ const inputId = (0, import_react24.useId)();
1326
+ const validationColor = errorMessage ? "error" : dataColor;
1327
+ const validationMessageValue = getValidationMessageValue(validationMessage, errorMessage);
1216
1328
  const renderInput = () => {
1217
1329
  var _a2;
1218
1330
  const inputProps = {
1219
- "aria-describedby": errorMessage ? errorMessageId : void 0,
1331
+ "aria-describedby": validationMessage ? validationMessageId : void 0,
1220
1332
  "aria-invalid": errorMessage ? true : void 0,
1221
1333
  id: id != null ? id : inputId,
1222
- className: (0, import_typed_classname18.clsx)("hds-input-group__input")
1334
+ className: (0, import_typed_classname19.clsx)("hds-input-group__input")
1223
1335
  };
1224
1336
  if (typeof children === "function") {
1225
1337
  return children(inputProps);
1226
1338
  }
1227
- const input = import_react21.Children.toArray(children)[0];
1228
- if (!(0, import_react21.isValidElement)(input)) {
1339
+ const input = import_react24.Children.toArray(children)[0];
1340
+ if (!(0, import_react24.isValidElement)(input)) {
1229
1341
  return;
1230
1342
  }
1231
- return (0, import_react21.cloneElement)(input, __spreadProps(__spreadValues(__spreadValues({}, inputProps), input.props), {
1343
+ return (0, import_react24.cloneElement)(input, __spreadProps(__spreadValues(__spreadValues({}, inputProps), input.props), {
1232
1344
  className: `${inputProps.className} ${(_a2 = input.props.className) != null ? _a2 : ""}`
1233
1345
  }));
1234
1346
  };
1235
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1347
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1236
1348
  "div",
1237
1349
  __spreadProps(__spreadValues({
1238
- className: (0, import_typed_classname18.clsx)(
1350
+ className: (0, import_typed_classname19.clsx)(
1239
1351
  "hds-input-group",
1240
1352
  {
1241
- [`hds-input-group--${size}`]: size,
1242
- "hds-input-group--error": errorMessage
1353
+ [`hds-input-group--${size}`]: size
1243
1354
  },
1244
1355
  className
1245
1356
  ),
1246
1357
  ref,
1247
- style
1358
+ style,
1359
+ "data-color": validationColor
1248
1360
  }, rest), {
1249
1361
  children: [
1250
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1362
+ label !== null && label !== void 0 && label !== false && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1251
1363
  "label",
1252
1364
  __spreadProps(__spreadValues({
1253
- className: (0, import_typed_classname18.clsx)("hds-input-group__label", labelClassName)
1365
+ className: (0, import_typed_classname19.clsx)("hds-input-group__label", labelClassName)
1254
1366
  }, labelProps), {
1255
1367
  htmlFor: id != null ? id : inputId,
1256
1368
  children: label
1257
1369
  })
1258
1370
  ),
1259
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1371
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1260
1372
  "div",
1261
1373
  {
1262
- className: (0, import_typed_classname18.clsx)("hds-input-group__input-wrapper"),
1374
+ className: (0, import_typed_classname19.clsx)("hds-input-group__input-wrapper"),
1263
1375
  "data-disabled": disabled,
1264
1376
  "data-readonly": readOnly,
1265
1377
  children: renderInput()
1266
1378
  }
1267
1379
  ),
1268
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
1380
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1381
+ ValidationMessage,
1382
+ __spreadProps(__spreadValues({
1383
+ id: validationMessageId
1384
+ }, validationMessageProps != null ? validationMessageProps : errorMessageProps), {
1385
+ children: validationMessageValue
1386
+ })
1387
+ )
1269
1388
  ]
1270
1389
  })
1271
1390
  );
1272
1391
  });
1273
1392
 
1274
1393
  // src/form/date-picker/date-picker.tsx
1275
- var import_jsx_runtime20 = require("react/jsx-runtime");
1276
- var DatePicker = (0, import_react22.forwardRef)(function DatePicker2(_a, ref) {
1394
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1395
+ var DatePicker = (0, import_react25.forwardRef)(function DatePicker2(_a, ref) {
1277
1396
  var _b = _a, {
1278
1397
  className,
1279
1398
  size,
1399
+ validationMessage,
1400
+ validationMessageProps,
1280
1401
  errorMessage,
1281
1402
  labelProps,
1282
1403
  label,
@@ -1284,10 +1405,13 @@ var DatePicker = (0, import_react22.forwardRef)(function DatePicker2(_a, ref) {
1284
1405
  style,
1285
1406
  disabled,
1286
1407
  readOnly,
1408
+ "data-color": dataColor,
1287
1409
  calendarButtonTitle = "\xC5pne kalender"
1288
1410
  } = _b, rest = __objRest(_b, [
1289
1411
  "className",
1290
1412
  "size",
1413
+ "validationMessage",
1414
+ "validationMessageProps",
1291
1415
  "errorMessage",
1292
1416
  "labelProps",
1293
1417
  "label",
@@ -1295,15 +1419,18 @@ var DatePicker = (0, import_react22.forwardRef)(function DatePicker2(_a, ref) {
1295
1419
  "style",
1296
1420
  "disabled",
1297
1421
  "readOnly",
1422
+ "data-color",
1298
1423
  "calendarButtonTitle"
1299
1424
  ]);
1300
- const inputRef = (0, import_react22.useRef)(null);
1425
+ const inputRef = (0, import_react25.useRef)(null);
1301
1426
  const mergedRef = useMergeRefs([inputRef, ref]);
1302
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1427
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1303
1428
  InputGroup,
1304
1429
  {
1305
- className: (0, import_typed_classname19.clsx)("hds-date-picker", className),
1430
+ className: (0, import_typed_classname20.clsx)("hds-date-picker", className),
1306
1431
  disabled,
1432
+ validationMessage,
1433
+ validationMessageProps,
1307
1434
  errorMessage,
1308
1435
  id,
1309
1436
  label,
@@ -1311,20 +1438,21 @@ var DatePicker = (0, import_react22.forwardRef)(function DatePicker2(_a, ref) {
1311
1438
  readOnly,
1312
1439
  style,
1313
1440
  size,
1314
- children: (inputProps) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
1315
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1441
+ "data-color": dataColor,
1442
+ children: (inputProps) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
1443
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1316
1444
  "input",
1317
- __spreadProps(__spreadValues(__spreadValues({}, rest), inputProps), {
1445
+ __spreadValues(__spreadProps(__spreadValues({}, inputProps), {
1318
1446
  disabled,
1319
1447
  readOnly,
1320
1448
  ref: mergedRef,
1321
1449
  type: "date"
1322
- })
1450
+ }), rest)
1323
1451
  ),
1324
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1452
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1325
1453
  "button",
1326
1454
  {
1327
- className: (0, import_typed_classname19.clsx)("hds-date-picker__calendar-button"),
1455
+ className: (0, import_typed_classname20.clsx)("hds-date-picker__calendar-button"),
1328
1456
  type: "button",
1329
1457
  title: calendarButtonTitle,
1330
1458
  onClick: () => {
@@ -1340,22 +1468,22 @@ var DatePicker = (0, import_react22.forwardRef)(function DatePicker2(_a, ref) {
1340
1468
  DatePicker.displayName = "DatePicker";
1341
1469
 
1342
1470
  // src/form/error-summary/error-summary.tsx
1343
- var import_react26 = require("react");
1344
- var import_typed_classname23 = require("@postenbring/hedwig-css/typed-classname");
1471
+ var import_react29 = require("react");
1472
+ var import_typed_classname24 = require("@postenbring/hedwig-css/typed-classname");
1345
1473
  var import_react_slot9 = require("@radix-ui/react-slot");
1346
1474
 
1347
1475
  // src/list/list.tsx
1348
- var import_react23 = require("react");
1349
- var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
1350
- var import_jsx_runtime21 = require("react/jsx-runtime");
1351
- var UnorderedList = (0, import_react23.forwardRef)(
1476
+ var import_react26 = require("react");
1477
+ var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname");
1478
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1479
+ var UnorderedList = (0, import_react26.forwardRef)(
1352
1480
  (_a, ref) => {
1353
1481
  var _b = _a, { size = "default", className } = _b, rest = __objRest(_b, ["size", "className"]);
1354
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1482
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1355
1483
  "ul",
1356
1484
  __spreadValues({
1357
1485
  ref,
1358
- className: (0, import_typed_classname20.clsx)(
1486
+ className: (0, import_typed_classname21.clsx)(
1359
1487
  "hds-list",
1360
1488
  size !== "default" && `hds-list--${size}`,
1361
1489
  className
@@ -1365,14 +1493,14 @@ var UnorderedList = (0, import_react23.forwardRef)(
1365
1493
  }
1366
1494
  );
1367
1495
  UnorderedList.displayName = "UnorderedList";
1368
- var OrderedList = (0, import_react23.forwardRef)(
1496
+ var OrderedList = (0, import_react26.forwardRef)(
1369
1497
  (_a, ref) => {
1370
1498
  var _b = _a, { size = "medium", className } = _b, rest = __objRest(_b, ["size", "className"]);
1371
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1499
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1372
1500
  "ol",
1373
1501
  __spreadValues({
1374
1502
  ref,
1375
- className: (0, import_typed_classname20.clsx)(
1503
+ className: (0, import_typed_classname21.clsx)(
1376
1504
  "hds-list",
1377
1505
  size !== "default" && `hds-list--${size}`,
1378
1506
  className
@@ -1384,17 +1512,17 @@ var OrderedList = (0, import_react23.forwardRef)(
1384
1512
  OrderedList.displayName = "OrderedList";
1385
1513
 
1386
1514
  // src/list/link-list.tsx
1387
- var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname");
1388
- var import_react24 = require("react");
1389
- var import_jsx_runtime22 = require("react/jsx-runtime");
1390
- var LinkList = (0, import_react24.forwardRef)(
1515
+ var import_typed_classname22 = require("@postenbring/hedwig-css/typed-classname");
1516
+ var import_react27 = require("react");
1517
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1518
+ var LinkList = (0, import_react27.forwardRef)(
1391
1519
  (_a, ref) => {
1392
1520
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1393
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1521
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1394
1522
  UnorderedList,
1395
1523
  __spreadValues({
1396
1524
  ref,
1397
- className: (0, import_typed_classname21.clsx)("hds-list--link-list", className)
1525
+ className: (0, import_typed_classname22.clsx)("hds-list--link-list", className)
1398
1526
  }, rest)
1399
1527
  );
1400
1528
  }
@@ -1403,18 +1531,18 @@ LinkList.displayName = "LinkList";
1403
1531
 
1404
1532
  // src/link/link.tsx
1405
1533
  var React3 = require("react");
1406
- var import_typed_classname22 = require("@postenbring/hedwig-css/typed-classname");
1407
- var import_react25 = require("react");
1534
+ var import_typed_classname23 = require("@postenbring/hedwig-css/typed-classname");
1535
+ var import_react28 = require("react");
1408
1536
  var import_react_slot8 = require("@radix-ui/react-slot");
1409
- var import_jsx_runtime23 = require("react/jsx-runtime");
1410
- var Link = (0, import_react25.forwardRef)(
1537
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1538
+ var Link = (0, import_react28.forwardRef)(
1411
1539
  (_a, ref) => {
1412
1540
  var _b = _a, { asChild, children, variant = "underline", size = "default", icon, className } = _b, rest = __objRest(_b, ["asChild", "children", "variant", "size", "icon", "className"]);
1413
1541
  const Component = asChild ? import_react_slot8.Slot : "a";
1414
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1542
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1415
1543
  Component,
1416
1544
  __spreadProps(__spreadValues({
1417
- className: (0, import_typed_classname22.clsx)(
1545
+ className: (0, import_typed_classname23.clsx)(
1418
1546
  "hds-link",
1419
1547
  variant !== "underline" && `hds-link--${variant}`,
1420
1548
  size !== "default" && `hds-link--${size}`,
@@ -1473,30 +1601,30 @@ function labelForInput(input) {
1473
1601
  }
1474
1602
 
1475
1603
  // src/form/error-summary/error-summary.tsx
1476
- var import_jsx_runtime24 = require("react/jsx-runtime");
1477
- var ErrorSummaryHeading = (0, import_react26.forwardRef)((_a, ref) => {
1604
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1605
+ var ErrorSummaryHeading = (0, import_react29.forwardRef)((_a, ref) => {
1478
1606
  var _b = _a, { asChild, children, as: Tag, autoFocus = true } = _b, rest = __objRest(_b, ["asChild", "children", "as", "autoFocus"]);
1479
- const focusRef = (0, import_react26.useRef)(null);
1607
+ const focusRef = (0, import_react29.useRef)(null);
1480
1608
  const mergedRef = useMergeRefs([focusRef, ref]);
1481
1609
  const Component = asChild ? import_react_slot9.Slot : Tag;
1482
- (0, import_react26.useEffect)(() => {
1610
+ (0, import_react29.useEffect)(() => {
1483
1611
  setTimeout(() => {
1484
1612
  if (focusRef.current && autoFocus) {
1485
1613
  focusRef.current.focus();
1486
1614
  }
1487
1615
  });
1488
1616
  }, []);
1489
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname23.clsx)(`hds-error-summary__title`), ref: mergedRef, tabIndex: -1 }, rest), { children }));
1617
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname24.clsx)(`hds-error-summary__title`), ref: mergedRef, tabIndex: -1 }, rest), { children }));
1490
1618
  });
1491
1619
  ErrorSummaryHeading.displayName = "ErrorSummary.Heading";
1492
- var ErrorSummaryList = (0, import_react26.forwardRef)(
1620
+ var ErrorSummaryList = (0, import_react29.forwardRef)(
1493
1621
  (_a, ref) => {
1494
1622
  var _b = _a, { children, size = "small" } = _b, rest = __objRest(_b, ["children", "size"]);
1495
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(UnorderedList, __spreadProps(__spreadValues({ size, ref }, rest), { children }));
1623
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(UnorderedList, __spreadProps(__spreadValues({ size, ref }, rest), { children }));
1496
1624
  }
1497
1625
  );
1498
1626
  ErrorSummaryList.displayName = "ErrorSummary.List";
1499
- var ErrorSummaryItem = (0, import_react26.forwardRef)(
1627
+ var ErrorSummaryItem = (0, import_react29.forwardRef)(
1500
1628
  (_a, ref) => {
1501
1629
  var _b = _a, { children, href, linkProps } = _b, rest = __objRest(_b, ["children", "href", "linkProps"]);
1502
1630
  function onClick(e) {
@@ -1506,14 +1634,23 @@ var ErrorSummaryItem = (0, import_react26.forwardRef)(
1506
1634
  e.preventDefault();
1507
1635
  }
1508
1636
  }
1509
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("li", __spreadProps(__spreadValues({ className: (0, import_typed_classname23.clsx)(`hds-error-summary__list-item`), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Link, __spreadProps(__spreadValues({ size: "small", href, variant: "solid" }, linkProps), { onClick, children })) }));
1637
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("li", __spreadProps(__spreadValues({ className: (0, import_typed_classname24.clsx)(`hds-error-summary__list-item`), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Link, __spreadProps(__spreadValues({ size: "small", href, variant: "solid" }, linkProps), { onClick, children })) }));
1510
1638
  }
1511
1639
  );
1512
1640
  ErrorSummaryItem.displayName = "ErrorSummary.Item";
1513
- var ErrorSummary = (0, import_react26.forwardRef)(
1641
+ var ErrorSummary = (0, import_react29.forwardRef)(
1514
1642
  (_a, ref) => {
1515
1643
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1516
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Box, __spreadProps(__spreadValues({ ref }, rest), { className: (0, import_typed_classname23.clsx)(`hds-error-summary`, className), children }));
1644
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1645
+ Box,
1646
+ __spreadProps(__spreadValues({
1647
+ "data-color": "error",
1648
+ ref
1649
+ }, rest), {
1650
+ className: (0, import_typed_classname24.clsx)(`hds-error-summary`, className),
1651
+ children
1652
+ })
1653
+ );
1517
1654
  }
1518
1655
  );
1519
1656
  ErrorSummary.displayName = "ErrorSummary";
@@ -1522,52 +1659,80 @@ ErrorSummary.List = ErrorSummaryList;
1522
1659
  ErrorSummary.Item = ErrorSummaryItem;
1523
1660
 
1524
1661
  // src/form/input/input.tsx
1525
- var import_react27 = require("react");
1526
- var import_typed_classname24 = require("@postenbring/hedwig-css/typed-classname");
1527
- var import_jsx_runtime25 = require("react/jsx-runtime");
1528
- var Input = (0, import_react27.forwardRef)(function Input2(_a, ref) {
1529
- var _b = _a, { className, size, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["className", "size", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
1530
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1531
- InputGroup,
1532
- {
1533
- className: (0, import_typed_classname24.clsx)("hds-input", className),
1534
- disabled,
1662
+ var import_react30 = require("react");
1663
+ var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname");
1664
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1665
+ var Input = (0, import_react30.forwardRef)(
1666
+ (_a, ref) => {
1667
+ var _b = _a, {
1668
+ className,
1669
+ size,
1670
+ validationMessage,
1535
1671
  errorMessage,
1536
- id,
1537
- label,
1538
1672
  labelProps,
1539
- readOnly,
1673
+ label,
1674
+ id,
1540
1675
  style,
1541
- size,
1542
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
1543
- }
1544
- );
1545
- });
1676
+ disabled,
1677
+ readOnly,
1678
+ "data-color": dataColor
1679
+ } = _b, rest = __objRest(_b, [
1680
+ "className",
1681
+ "size",
1682
+ "validationMessage",
1683
+ "errorMessage",
1684
+ "labelProps",
1685
+ "label",
1686
+ "id",
1687
+ "style",
1688
+ "disabled",
1689
+ "readOnly",
1690
+ "data-color"
1691
+ ]);
1692
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1693
+ InputGroup,
1694
+ {
1695
+ className: (0, import_typed_classname25.clsx)("hds-input", className),
1696
+ disabled,
1697
+ validationMessage,
1698
+ errorMessage,
1699
+ id,
1700
+ label,
1701
+ labelProps,
1702
+ readOnly,
1703
+ style,
1704
+ size,
1705
+ "data-color": dataColor,
1706
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("input", __spreadValues({ disabled, readOnly, ref }, rest))
1707
+ }
1708
+ );
1709
+ }
1710
+ );
1546
1711
  Input.displayName = "Input";
1547
1712
 
1548
1713
  // src/form/radio-button/radio-button.tsx
1549
- var import_react29 = require("react");
1550
- var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname");
1714
+ var import_react32 = require("react");
1715
+ var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname");
1551
1716
 
1552
1717
  // src/form/radio-button/radio-group.tsx
1553
- var import_react28 = require("react");
1554
- var import_jsx_runtime26 = require("react/jsx-runtime");
1555
- var RadioGroupContext = (0, import_react28.createContext)({
1718
+ var import_react31 = require("react");
1719
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1720
+ var RadioGroupContext = (0, import_react31.createContext)({
1556
1721
  name: void 0,
1557
- hasError: false,
1558
- onChange: () => {
1559
- return void 0;
1560
- }
1722
+ onChange: () => void 0,
1723
+ size: void 0
1561
1724
  });
1562
- var useRadioGroupContext = () => (0, import_react28.useContext)(RadioGroupContext);
1563
- var RadioGroup = (0, import_react28.forwardRef)(function RadioGroup2(_a, ref) {
1564
- var _b = _a, { name, value, errorMessage, onChange, children } = _b, rest = __objRest(_b, ["name", "value", "errorMessage", "onChange", "children"]);
1565
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(RadioGroupContext.Provider, { value: { name, value, hasError: Boolean(errorMessage), onChange }, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Fieldset, __spreadProps(__spreadValues({ errorMessage }, rest), { ref, children })) });
1725
+ var useRadioGroupContext = () => (0, import_react31.useContext)(RadioGroupContext);
1726
+ var RadioGroup = (0, import_react31.forwardRef)(function RadioGroup2(_a, ref) {
1727
+ var _b = _a, { name, value, onChange, children, size } = _b, rest = __objRest(_b, ["name", "value", "onChange", "children", "size"]);
1728
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(RadioGroupContext.Provider, { value: { name, value, onChange, size }, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Fieldset, __spreadProps(__spreadValues({ size }, rest), { ref, children })) });
1566
1729
  });
1730
+ RadioGroup.Description = FieldsetDescription;
1731
+ RadioGroup.Legend = FieldsetLegend;
1567
1732
  RadioGroup.displayName = "RadioGroup";
1568
1733
 
1569
1734
  // src/form/radio-button/radio-button.tsx
1570
- var import_jsx_runtime27 = require("react/jsx-runtime");
1735
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1571
1736
  var isChecked = ({
1572
1737
  checked,
1573
1738
  selectedValue,
@@ -1577,48 +1742,25 @@ var isChecked = ({
1577
1742
  if (typeof selectedValue !== "undefined") return value === selectedValue;
1578
1743
  return void 0;
1579
1744
  };
1580
- var RadioButton = (0, import_react29.forwardRef)(
1745
+ var RadioButton = (0, import_react32.forwardRef)(
1581
1746
  (_a, ref) => {
1582
- var _b = _a, {
1583
- checked,
1584
- value,
1585
- variant = "plain",
1586
- hasError: hasErrorProp,
1587
- title,
1588
- children,
1589
- className
1590
- } = _b, rest = __objRest(_b, [
1591
- "checked",
1592
- "value",
1593
- "variant",
1594
- "hasError",
1595
- "title",
1596
- "children",
1597
- "className"
1598
- ]);
1599
- const _a2 = useRadioGroupContext(), {
1600
- value: selectedValue,
1601
- hasError: hasRadioGroupError
1602
- } = _a2, context = __objRest(_a2, [
1603
- "value",
1604
- "hasError"
1605
- ]);
1606
- const { hasError: hasFieldsetError } = useFieldsetContext();
1607
- const hasError = hasFieldsetError || hasRadioGroupError || hasErrorProp;
1608
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1747
+ var _b = _a, { checked, value, variant = "plain", title, children, className, size = "" } = _b, rest = __objRest(_b, ["checked", "value", "variant", "title", "children", "className", "size"]);
1748
+ const _a2 = useRadioGroupContext(), { value: selectedValue, size: groupSize } = _a2, context = __objRest(_a2, ["value", "size"]);
1749
+ const effectiveSize = size || groupSize;
1750
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1609
1751
  "div",
1610
1752
  {
1611
- className: (0, import_typed_classname25.clsx)(
1753
+ className: (0, import_typed_classname26.clsx)(
1612
1754
  "hds-radio-button",
1613
1755
  {
1614
1756
  [`hds-radio-button--${variant}`]: variant === "bounding-box",
1615
- "hds-radio-button--error": hasError
1757
+ [`hds-radio-button--${effectiveSize}`]: effectiveSize === "small"
1616
1758
  },
1617
1759
  className
1618
1760
  ),
1619
1761
  children: [
1620
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("label", { children: [
1621
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1762
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("label", { children: [
1763
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1622
1764
  "input",
1623
1765
  __spreadProps(__spreadValues(__spreadValues({}, context), rest), {
1624
1766
  checked: isChecked({ checked, selectedValue, value }),
@@ -1627,8 +1769,8 @@ var RadioButton = (0, import_react29.forwardRef)(
1627
1769
  type: "radio"
1628
1770
  })
1629
1771
  ),
1630
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { "aria-hidden": true, className: "hds-radio-button__checkmark" }),
1631
- title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "hds-radio-button__title", children: title }) : children
1772
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { "aria-hidden": true, className: "hds-radio-button__checkmark" }),
1773
+ title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "hds-radio-button__title", children: title }) : children
1632
1774
  ] }),
1633
1775
  title ? children : null
1634
1776
  ]
@@ -1638,40 +1780,180 @@ var RadioButton = (0, import_react29.forwardRef)(
1638
1780
  );
1639
1781
  RadioButton.displayName = "RadioButton";
1640
1782
 
1783
+ // src/form/search-wrapper/search-wrapper.tsx
1784
+ var import_react33 = require("react");
1785
+ var import_typed_classname27 = require("@postenbring/hedwig-css/typed-classname");
1786
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1787
+ var SearchWrapper = (0, import_react33.forwardRef)(
1788
+ (_a, ref) => {
1789
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1790
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", __spreadValues({ className: (0, import_typed_classname27.clsx)("hds-search-wrapper", className), ref }, rest));
1791
+ }
1792
+ );
1793
+ SearchWrapper.displayName = "SearchWrapper";
1794
+
1641
1795
  // src/form/select/select.tsx
1642
- var import_react30 = require("react");
1643
- var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname");
1644
- var import_jsx_runtime28 = require("react/jsx-runtime");
1645
- var Select = (0, import_react30.forwardRef)(function Select2(_a, ref) {
1646
- var _b = _a, { className, size, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["className", "size", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
1647
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1648
- InputGroup,
1649
- {
1650
- className: (0, import_typed_classname26.clsx)("hds-select", className),
1651
- disabled,
1796
+ var import_react34 = require("react");
1797
+ var import_typed_classname28 = require("@postenbring/hedwig-css/typed-classname");
1798
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1799
+ var Select = (0, import_react34.forwardRef)(
1800
+ (_a, ref) => {
1801
+ var _b = _a, {
1802
+ className,
1803
+ size,
1804
+ validationMessage,
1805
+ validationMessageProps,
1652
1806
  errorMessage,
1653
- id,
1654
- label,
1655
1807
  labelProps,
1808
+ label,
1809
+ id,
1656
1810
  style,
1657
- size,
1658
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
1659
- }
1660
- );
1661
- });
1811
+ disabled,
1812
+ "data-color": dataColor,
1813
+ children
1814
+ } = _b, rest = __objRest(_b, [
1815
+ "className",
1816
+ "size",
1817
+ "validationMessage",
1818
+ "validationMessageProps",
1819
+ "errorMessage",
1820
+ "labelProps",
1821
+ "label",
1822
+ "id",
1823
+ "style",
1824
+ "disabled",
1825
+ "data-color",
1826
+ "children"
1827
+ ]);
1828
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1829
+ InputGroup,
1830
+ {
1831
+ className: (0, import_typed_classname28.clsx)("hds-select", className),
1832
+ disabled,
1833
+ validationMessage,
1834
+ validationMessageProps,
1835
+ errorMessage,
1836
+ id,
1837
+ label,
1838
+ labelProps,
1839
+ style,
1840
+ size,
1841
+ "data-color": dataColor,
1842
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("select", __spreadProps(__spreadValues({ disabled, ref }, rest), { children }))
1843
+ }
1844
+ );
1845
+ }
1846
+ );
1662
1847
  Select.displayName = "Select";
1663
1848
 
1849
+ // src/form/suggestions/suggestions.tsx
1850
+ var import_react37 = require("react");
1851
+ var import_typed_classname31 = require("@postenbring/hedwig-css/typed-classname");
1852
+
1853
+ // src/form/suggestions/suggestions-wrapper.tsx
1854
+ var import_react35 = require("react");
1855
+ var import_typed_classname29 = require("@postenbring/hedwig-css/typed-classname");
1856
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1857
+ var SuggestionsWrapper = (0, import_react35.forwardRef)(
1858
+ (_a, ref) => {
1859
+ var _b = _a, { as: Tag = "div", className } = _b, rest = __objRest(_b, ["as", "className"]);
1860
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Tag, __spreadValues({ className: (0, import_typed_classname29.clsx)("hds-suggestions-wrapper", className), ref }, rest));
1861
+ }
1862
+ );
1863
+ SuggestionsWrapper.displayName = "Suggestions.Wrapper";
1864
+
1865
+ // src/form/suggestions/suggestions-item.tsx
1866
+ var import_react36 = require("react");
1867
+ var import_typed_classname30 = require("@postenbring/hedwig-css/typed-classname");
1868
+ var import_react_slot10 = require("@radix-ui/react-slot");
1869
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1870
+ var SuggestionsItem = (0, import_react36.forwardRef)(
1871
+ (_a, ref) => {
1872
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1873
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("li", __spreadValues({ className: (0, import_typed_classname30.clsx)("hds-suggestions-item", className), ref }, rest));
1874
+ }
1875
+ );
1876
+ SuggestionsItem.displayName = "Suggestions.Item";
1877
+ var SuggestionsItemAction = (0, import_react36.forwardRef)(
1878
+ (_a, ref) => {
1879
+ var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1880
+ const Component = asChild ? import_react_slot10.Slot : "a";
1881
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1882
+ Component,
1883
+ __spreadValues({
1884
+ className: (0, import_typed_classname30.clsx)("hds-suggestions-item__action", className),
1885
+ ref
1886
+ }, rest)
1887
+ );
1888
+ }
1889
+ );
1890
+ SuggestionsItemAction.displayName = "Suggestions.ItemAction";
1891
+
1892
+ // src/form/suggestions/suggestions.tsx
1893
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1894
+ var Suggestions = (0, import_react37.forwardRef)(
1895
+ (_a, ref) => {
1896
+ var _b = _a, { as = "ul", size = "default", className } = _b, rest = __objRest(_b, ["as", "size", "className"]);
1897
+ const classes = (0, import_typed_classname31.clsx)(
1898
+ "hds-suggestions",
1899
+ size !== "default" && `hds-suggestions--${size}`,
1900
+ className
1901
+ );
1902
+ return as === "ol" ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1903
+ "ol",
1904
+ __spreadValues({
1905
+ className: classes,
1906
+ ref
1907
+ }, rest)
1908
+ ) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("ul", __spreadValues({ className: classes, ref }, rest));
1909
+ }
1910
+ );
1911
+ Suggestions.displayName = "Suggestions";
1912
+ SuggestionsItem.displayName = "Suggestions.Item";
1913
+ SuggestionsItemAction.displayName = "Suggestions.ItemAction";
1914
+ Suggestions.Item = SuggestionsItem;
1915
+ Suggestions.ItemAction = SuggestionsItemAction;
1916
+ Suggestions.Wrapper = SuggestionsWrapper;
1917
+
1664
1918
  // src/form/textarea/textarea.tsx
1665
- var import_react31 = require("react");
1666
- var import_typed_classname27 = require("@postenbring/hedwig-css/typed-classname");
1667
- var import_jsx_runtime29 = require("react/jsx-runtime");
1668
- var Textarea = (0, import_react31.forwardRef)(function Textarea2(_a, ref) {
1669
- var _b = _a, { className, size, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["className", "size", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
1670
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1919
+ var import_react38 = require("react");
1920
+ var import_typed_classname32 = require("@postenbring/hedwig-css/typed-classname");
1921
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1922
+ var Textarea = (0, import_react38.forwardRef)(function Textarea2(_a, ref) {
1923
+ var _b = _a, {
1924
+ className,
1925
+ size,
1926
+ validationMessage,
1927
+ validationMessageProps,
1928
+ errorMessage,
1929
+ labelProps,
1930
+ label,
1931
+ id,
1932
+ style,
1933
+ disabled,
1934
+ readOnly,
1935
+ "data-color": dataColor
1936
+ } = _b, rest = __objRest(_b, [
1937
+ "className",
1938
+ "size",
1939
+ "validationMessage",
1940
+ "validationMessageProps",
1941
+ "errorMessage",
1942
+ "labelProps",
1943
+ "label",
1944
+ "id",
1945
+ "style",
1946
+ "disabled",
1947
+ "readOnly",
1948
+ "data-color"
1949
+ ]);
1950
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1671
1951
  InputGroup,
1672
1952
  {
1673
- className: (0, import_typed_classname27.clsx)("hds-textarea", className),
1953
+ className: (0, import_typed_classname32.clsx)("hds-textarea", className),
1674
1954
  disabled,
1955
+ validationMessage,
1956
+ validationMessageProps,
1675
1957
  errorMessage,
1676
1958
  id,
1677
1959
  label,
@@ -1679,40 +1961,41 @@ var Textarea = (0, import_react31.forwardRef)(function Textarea2(_a, ref) {
1679
1961
  readOnly,
1680
1962
  style,
1681
1963
  size,
1682
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
1964
+ "data-color": dataColor,
1965
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("textarea", __spreadValues({ disabled, readOnly, ref }, rest))
1683
1966
  }
1684
1967
  );
1685
1968
  });
1686
1969
  Textarea.displayName = "Textarea";
1687
1970
 
1688
1971
  // src/footer/footer.tsx
1689
- var import_react32 = require("react");
1690
- var import_typed_classname28 = require("@postenbring/hedwig-css/typed-classname");
1691
- var import_react_slot10 = require("@radix-ui/react-slot");
1692
- var import_jsx_runtime30 = require("react/jsx-runtime");
1693
- var FooterLogo = (0, import_react32.forwardRef)(
1972
+ var import_react39 = require("react");
1973
+ var import_typed_classname33 = require("@postenbring/hedwig-css/typed-classname");
1974
+ var import_react_slot11 = require("@radix-ui/react-slot");
1975
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1976
+ var FooterLogo = (0, import_react39.forwardRef)(
1694
1977
  (_a, ref) => {
1695
1978
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1696
- const Component = asChild ? import_react_slot10.Slot : "div";
1697
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname28.clsx)(`hds-footer__logo`, className), ref }, rest), { children }));
1979
+ const Component = asChild ? import_react_slot11.Slot : "div";
1980
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname33.clsx)(`hds-footer__logo`, className), ref }, rest), { children }));
1698
1981
  }
1699
1982
  );
1700
1983
  FooterLogo.displayName = "Footer.Logo";
1701
- var FooterButtonLink = (0, import_react32.forwardRef)(
1984
+ var FooterButtonLink = (0, import_react39.forwardRef)(
1702
1985
  (_a, ref) => {
1703
1986
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1704
- const Component = asChild ? import_react_slot10.Slot : "a";
1705
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { asChild: true, variant: "secondary", className: (0, import_typed_classname28.clsx)(className), children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Component, __spreadProps(__spreadValues({ ref }, rest), { children })) });
1987
+ const Component = asChild ? import_react_slot11.Slot : "a";
1988
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { asChild: true, variant: "secondary", className: (0, import_typed_classname33.clsx)(className), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Component, __spreadProps(__spreadValues({ ref }, rest), { children })) });
1706
1989
  }
1707
1990
  );
1708
1991
  FooterButtonLink.displayName = "FooterButton";
1709
- var FooterLinkSections = (0, import_react32.forwardRef)(
1992
+ var FooterLinkSections = (0, import_react39.forwardRef)(
1710
1993
  (_a, ref) => {
1711
1994
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1712
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1995
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_jsx_runtime37.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1713
1996
  Accordion,
1714
1997
  __spreadProps(__spreadValues({
1715
- className: (0, import_typed_classname28.clsx)("hds-footer__link-sections", className),
1998
+ className: (0, import_typed_classname33.clsx)("hds-footer__link-sections", className),
1716
1999
  ref
1717
2000
  }, rest), {
1718
2001
  children
@@ -1721,40 +2004,40 @@ var FooterLinkSections = (0, import_react32.forwardRef)(
1721
2004
  }
1722
2005
  );
1723
2006
  FooterLinkSections.displayName = "Footer.LinkSections";
1724
- var FooterLinkSection = (0, import_react32.forwardRef)(
2007
+ var FooterLinkSection = (0, import_react39.forwardRef)(
1725
2008
  (_a, ref) => {
1726
2009
  var _b = _a, { heading, children, className } = _b, rest = __objRest(_b, ["heading", "children", "className"]);
1727
- const linkListChildren = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(LinkList, { children });
1728
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
1729
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2010
+ const linkListChildren = /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(LinkList, { children });
2011
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
2012
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
1730
2013
  Accordion.Item,
1731
2014
  __spreadProps(__spreadValues({
1732
- className: (0, import_typed_classname28.clsx)(`hds-footer__link-section`, className),
2015
+ className: (0, import_typed_classname33.clsx)(`hds-footer__link-section`, className),
1733
2016
  ref
1734
2017
  }, rest), {
1735
2018
  children: [
1736
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Accordion.Header, { children: heading }),
1737
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Accordion.Content, { children: linkListChildren })
2019
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Accordion.Header, { children: heading }),
2020
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Accordion.Content, { children: linkListChildren })
1738
2021
  ]
1739
2022
  })
1740
2023
  ),
1741
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: (0, import_typed_classname28.clsx)(`hds-footer__link-section`, className), children: [
1742
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("h2", { children: heading }),
2024
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: (0, import_typed_classname33.clsx)(`hds-footer__link-section`, className), children: [
2025
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("h2", { children: heading }),
1743
2026
  linkListChildren
1744
2027
  ] })
1745
2028
  ] });
1746
2029
  }
1747
2030
  );
1748
2031
  FooterLinkSection.displayName = "Footer.LinkSection";
1749
- var Footer = (0, import_react32.forwardRef)(
2032
+ var Footer = (0, import_react39.forwardRef)(
1750
2033
  (_a, ref) => {
1751
2034
  var _b = _a, { children, className, variant, asChild } = _b, rest = __objRest(_b, ["children", "className", "variant", "asChild"]);
1752
- const Component = asChild ? import_react_slot10.Slot : "footer";
1753
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2035
+ const Component = asChild ? import_react_slot11.Slot : "footer";
2036
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1754
2037
  Component,
1755
2038
  __spreadProps(__spreadValues({
1756
2039
  "data-color-scheme": "dark",
1757
- className: (0, import_typed_classname28.clsx)(
2040
+ className: (0, import_typed_classname33.clsx)(
1758
2041
  `hds-footer`,
1759
2042
  variant === "slim" && "hds-footer--slim",
1760
2043
  className
@@ -1774,10 +2057,10 @@ Footer.LinkSection = FooterLinkSection;
1774
2057
 
1775
2058
  // src/help-text/help-text.tsx
1776
2059
  var Popover = __toESM(require("@radix-ui/react-popover"));
1777
- var import_typed_classname29 = require("@postenbring/hedwig-css/typed-classname");
1778
- var import_react33 = require("react");
1779
- var import_jsx_runtime31 = require("react/jsx-runtime");
1780
- var HelpText = (0, import_react33.forwardRef)(
2060
+ var import_typed_classname34 = require("@postenbring/hedwig-css/typed-classname");
2061
+ var import_react40 = require("react");
2062
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2063
+ var HelpText = (0, import_react40.forwardRef)(
1781
2064
  (_a, ref) => {
1782
2065
  var _b = _a, { children, className, helpText, title, side = "top", align = "start", boxProps } = _b, rest = __objRest(_b, ["children", "className", "helpText", "title", "side", "align", "boxProps"]);
1783
2066
  return (
@@ -1785,24 +2068,24 @@ var HelpText = (0, import_react33.forwardRef)(
1785
2068
  // In the future we can use the native popover api, but as of writing, though all browsers support it
1786
2069
  // it's not far enough back to be used in production
1787
2070
  // https://caniuse.com/mdn-html_elements_input_popovertarget
1788
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Popover.Root, { children: [
1789
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2071
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Popover.Root, { children: [
2072
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1790
2073
  "button",
1791
2074
  __spreadProps(__spreadValues({
1792
2075
  ref,
1793
- className: (0, import_typed_classname29.clsx)("hds-help-text-button", className),
2076
+ className: (0, import_typed_classname34.clsx)("hds-help-text-button", className),
1794
2077
  title,
1795
2078
  type: "button"
1796
2079
  }, rest), {
1797
2080
  children
1798
2081
  })
1799
2082
  ) }),
1800
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Popover.Content, { asChild: true, side, align, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2083
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popover.Content, { asChild: true, side, align, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
1801
2084
  Box,
1802
2085
  __spreadProps(__spreadValues({}, boxProps), {
1803
- className: (0, import_typed_classname29.clsx)("hds-help-text-box", boxProps == null ? void 0 : boxProps.className),
2086
+ className: (0, import_typed_classname34.clsx)("hds-help-text-box", boxProps == null ? void 0 : boxProps.className),
1804
2087
  children: [
1805
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Box.CloseButton, {}) }),
2088
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Box.CloseButton, {}) }),
1806
2089
  helpText
1807
2090
  ]
1808
2091
  })
@@ -1814,18 +2097,18 @@ var HelpText = (0, import_react33.forwardRef)(
1814
2097
  HelpText.displayName = "HelpText";
1815
2098
 
1816
2099
  // src/layout/container/container.tsx
1817
- var import_typed_classname30 = require("@postenbring/hedwig-css/typed-classname");
1818
- var import_react_slot11 = require("@radix-ui/react-slot");
1819
- var import_react34 = require("react");
1820
- var import_jsx_runtime32 = require("react/jsx-runtime");
1821
- var Container = (0, import_react34.forwardRef)(
2100
+ var import_typed_classname35 = require("@postenbring/hedwig-css/typed-classname");
2101
+ var import_react_slot12 = require("@radix-ui/react-slot");
2102
+ var import_react41 = require("react");
2103
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2104
+ var Container = (0, import_react41.forwardRef)(
1822
2105
  (_a, ref) => {
1823
2106
  var _b = _a, { as: Tag = "div", asChild, className, children, variant } = _b, rest = __objRest(_b, ["as", "asChild", "className", "children", "variant"]);
1824
- const Component = asChild ? import_react_slot11.Slot : Tag;
1825
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2107
+ const Component = asChild ? import_react_slot12.Slot : Tag;
2108
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1826
2109
  Component,
1827
2110
  __spreadProps(__spreadValues({}, rest), {
1828
- className: (0, import_typed_classname30.clsx)(
2111
+ className: (0, import_typed_classname35.clsx)(
1829
2112
  "hds-container",
1830
2113
  { "hds-container--slim": variant === "slim" },
1831
2114
  className
@@ -1839,9 +2122,9 @@ var Container = (0, import_react34.forwardRef)(
1839
2122
  Container.displayName = "Container";
1840
2123
 
1841
2124
  // src/layout/grid/grid.tsx
1842
- var import_typed_classname31 = require("@postenbring/hedwig-css/typed-classname");
1843
- var import_react_slot12 = require("@radix-ui/react-slot");
1844
- var import_react35 = require("react");
2125
+ var import_typed_classname36 = require("@postenbring/hedwig-css/typed-classname");
2126
+ var import_react_slot13 = require("@radix-ui/react-slot");
2127
+ var import_react42 = require("react");
1845
2128
 
1846
2129
  // src/layout/responsive.ts
1847
2130
  function getResponsiveProps(variable, inputValues, valueTransformer = (value) => String(value)) {
@@ -1862,17 +2145,17 @@ function getSpacingVariable(size) {
1862
2145
  }
1863
2146
 
1864
2147
  // src/layout/grid/grid.tsx
1865
- var import_jsx_runtime33 = require("react/jsx-runtime");
1866
- var GridItem = (0, import_react35.forwardRef)(
2148
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2149
+ var GridItem = (0, import_react42.forwardRef)(
1867
2150
  (_a, ref) => {
1868
2151
  var _b = _a, { children, asChild, className, span, center, style: _style } = _b, rest = __objRest(_b, ["children", "asChild", "className", "span", "center", "style"]);
1869
- const Component = asChild ? import_react_slot12.Slot : "div";
2152
+ const Component = asChild ? import_react_slot13.Slot : "div";
1870
2153
  const style = __spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-grid-item-span", span)), getResponsiveProps("--hds-grid-item-center", center, (value) => value ? "1" : "0"));
1871
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2154
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1872
2155
  Component,
1873
2156
  __spreadProps(__spreadValues({
1874
2157
  style,
1875
- className: (0, import_typed_classname31.clsx)("hds-grid__item", className),
2158
+ className: (0, import_typed_classname36.clsx)("hds-grid__item", className),
1876
2159
  ref
1877
2160
  }, rest), {
1878
2161
  children
@@ -1881,16 +2164,16 @@ var GridItem = (0, import_react35.forwardRef)(
1881
2164
  }
1882
2165
  );
1883
2166
  GridItem.displayName = "Grid.Item";
1884
- var Grid = (0, import_react35.forwardRef)(
2167
+ var Grid = (0, import_react42.forwardRef)(
1885
2168
  (_a, ref) => {
1886
2169
  var _b = _a, { children, asChild, className, span, center, style: _style, gap, gapX, gapY } = _b, rest = __objRest(_b, ["children", "asChild", "className", "span", "center", "style", "gap", "gapX", "gapY"]);
1887
- const Component = asChild ? import_react_slot12.Slot : "div";
2170
+ const Component = asChild ? import_react_slot13.Slot : "div";
1888
2171
  const style = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-grid-gap", gap, getSpacingVariable)), getResponsiveProps("--hds-grid-gap-x", gapX, getSpacingVariable)), getResponsiveProps("--hds-grid-gap-y", gapY, getSpacingVariable)), getResponsiveProps("--hds-grid-span", span)), getResponsiveProps("--hds-grid-center", center, (value) => value ? "1" : "0"));
1889
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2172
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1890
2173
  Component,
1891
2174
  __spreadProps(__spreadValues({
1892
2175
  style,
1893
- className: (0, import_typed_classname31.clsx)("hds-grid", className),
2176
+ className: (0, import_typed_classname36.clsx)("hds-grid", className),
1894
2177
  ref
1895
2178
  }, rest), {
1896
2179
  children
@@ -1903,11 +2186,11 @@ Grid.Item = GridItem;
1903
2186
 
1904
2187
  // src/layout/stack/stack.tsx
1905
2188
  var React4 = require("react");
1906
- var import_typed_classname32 = require("@postenbring/hedwig-css/typed-classname");
1907
- var import_react36 = require("react");
1908
- var import_react_slot13 = require("@radix-ui/react-slot");
1909
- var import_jsx_runtime34 = require("react/jsx-runtime");
1910
- var Stack = (0, import_react36.forwardRef)(
2189
+ var import_typed_classname37 = require("@postenbring/hedwig-css/typed-classname");
2190
+ var import_react43 = require("react");
2191
+ var import_react_slot14 = require("@radix-ui/react-slot");
2192
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2193
+ var Stack = (0, import_react43.forwardRef)(
1911
2194
  (_a, ref) => {
1912
2195
  var _b = _a, {
1913
2196
  children,
@@ -1934,13 +2217,13 @@ var Stack = (0, import_react36.forwardRef)(
1934
2217
  "align",
1935
2218
  "justify"
1936
2219
  ]);
1937
- const Component = asChild ? import_react_slot13.Slot : "div";
2220
+ const Component = asChild ? import_react_slot14.Slot : "div";
1938
2221
  const style = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-stack-gap", gap, getSpacingVariable)), getResponsiveProps("--hds-stack-gap-x", gapX, getSpacingVariable)), getResponsiveProps("--hds-stack-gap-y", gapY, getSpacingVariable)), getResponsiveProps("--hds-stack-direction", direction)), getResponsiveProps("--hds-stack-wrap", wrap, (value) => value ? "wrap" : "nowrap")), getResponsiveProps("--hds-stack-align", align)), getResponsiveProps("--hds-stack-justify", justify));
1939
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2222
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1940
2223
  Component,
1941
2224
  __spreadProps(__spreadValues({
1942
2225
  style,
1943
- className: (0, import_typed_classname32.clsx)("hds-stack", className),
2226
+ className: (0, import_typed_classname37.clsx)("hds-stack", className),
1944
2227
  ref
1945
2228
  }, rest), {
1946
2229
  children
@@ -1949,59 +2232,59 @@ var Stack = (0, import_react36.forwardRef)(
1949
2232
  }
1950
2233
  );
1951
2234
  Stack.displayName = "Stack";
1952
- var HStack = (0, import_react36.forwardRef)((props, ref) => {
1953
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "row" }));
2235
+ var HStack = (0, import_react43.forwardRef)((props, ref) => {
2236
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "row" }));
1954
2237
  });
1955
2238
  HStack.displayName = "HStack";
1956
- var VStack = (0, import_react36.forwardRef)((props, ref) => {
1957
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "column" }));
2239
+ var VStack = (0, import_react43.forwardRef)((props, ref) => {
2240
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "column" }));
1958
2241
  });
1959
2242
  VStack.displayName = "VStack";
1960
2243
 
1961
2244
  // src/message/message.tsx
1962
- var import_react37 = require("react");
1963
- var import_typed_classname33 = require("@postenbring/hedwig-css/typed-classname");
1964
- var import_react_slot14 = require("@radix-ui/react-slot");
1965
- var import_jsx_runtime35 = require("react/jsx-runtime");
1966
- var MessageTitle = (0, import_react37.forwardRef)(
2245
+ var import_react44 = require("react");
2246
+ var import_typed_classname38 = require("@postenbring/hedwig-css/typed-classname");
2247
+ var import_react_slot15 = require("@radix-ui/react-slot");
2248
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2249
+ var MessageTitle = (0, import_react44.forwardRef)(
1967
2250
  (_a, ref) => {
1968
2251
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1969
- const Component = asChild ? import_react_slot14.Slot : "div";
1970
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2252
+ const Component = asChild ? import_react_slot15.Slot : "div";
2253
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1971
2254
  Component,
1972
2255
  __spreadValues({
1973
- className: (0, import_typed_classname33.clsx)("hds-message__title", className),
2256
+ className: (0, import_typed_classname38.clsx)("hds-message__title", className),
1974
2257
  ref
1975
2258
  }, rest)
1976
2259
  );
1977
2260
  }
1978
2261
  );
1979
2262
  MessageTitle.displayName = "Message.Title";
1980
- var MessageDescription = (0, import_react37.forwardRef)(
2263
+ var MessageDescription = (0, import_react44.forwardRef)(
1981
2264
  (_a, ref) => {
1982
2265
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1983
- const Component = asChild ? import_react_slot14.Slot : "div";
1984
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2266
+ const Component = asChild ? import_react_slot15.Slot : "div";
2267
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1985
2268
  Component,
1986
2269
  __spreadValues({
1987
- className: (0, import_typed_classname33.clsx)("hds-message__description", className),
2270
+ className: (0, import_typed_classname38.clsx)("hds-message__description", className),
1988
2271
  ref
1989
2272
  }, rest)
1990
2273
  );
1991
2274
  }
1992
2275
  );
1993
2276
  MessageDescription.displayName = "Message.Description";
1994
- var Message = (0, import_react37.forwardRef)(
2277
+ var Message = (0, import_react44.forwardRef)(
1995
2278
  (_a, ref) => {
1996
2279
  var _b = _a, { children, className, variant = "success", icon, iconClassName } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon", "iconClassName"]);
1997
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2280
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
1998
2281
  Box,
1999
2282
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, variant === "warning" ? { "data-color-scheme": "light" } : {}), {
2000
- className: (0, import_typed_classname33.clsx)(`hds-message`, `hds-message--${variant}`, className),
2283
+ className: (0, import_typed_classname38.clsx)(`hds-message`, `hds-message--${variant}`, className),
2001
2284
  ref
2002
2285
  }), rest), {
2003
2286
  children: [
2004
- variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: (0, import_typed_classname33.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
2287
+ variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: (0, import_typed_classname38.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
2005
2288
  children
2006
2289
  ]
2007
2290
  })
@@ -2013,56 +2296,56 @@ Message.Title = MessageTitle;
2013
2296
  Message.Description = MessageDescription;
2014
2297
 
2015
2298
  // src/modal/modal.tsx
2016
- var import_react38 = require("react");
2017
- var import_typed_classname34 = require("@postenbring/hedwig-css/typed-classname");
2018
- var import_react_slot15 = require("@radix-ui/react-slot");
2019
- var import_jsx_runtime36 = require("react/jsx-runtime");
2020
- var ModalHeader = (0, import_react38.forwardRef)(
2299
+ var import_react45 = require("react");
2300
+ var import_typed_classname39 = require("@postenbring/hedwig-css/typed-classname");
2301
+ var import_react_slot16 = require("@radix-ui/react-slot");
2302
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2303
+ var ModalHeader = (0, import_react45.forwardRef)(
2021
2304
  (_a, ref) => {
2022
2305
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2023
- const Component = asChild ? import_react_slot15.Slot : "h1";
2024
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2306
+ const Component = asChild ? import_react_slot16.Slot : "h1";
2307
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2025
2308
  Component,
2026
2309
  __spreadValues({
2027
- className: (0, import_typed_classname34.clsx)("hds-modal__header", className),
2310
+ className: (0, import_typed_classname39.clsx)("hds-modal__header", className),
2028
2311
  ref
2029
2312
  }, rest)
2030
2313
  );
2031
2314
  }
2032
2315
  );
2033
2316
  ModalHeader.displayName = "Modal.Header";
2034
- var ModalContent = (0, import_react38.forwardRef)(
2317
+ var ModalContent = (0, import_react45.forwardRef)(
2035
2318
  (_a, ref) => {
2036
2319
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2037
- const Component = asChild ? import_react_slot15.Slot : "div";
2038
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2320
+ const Component = asChild ? import_react_slot16.Slot : "div";
2321
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2039
2322
  Component,
2040
2323
  __spreadValues({
2041
- className: (0, import_typed_classname34.clsx)("hds-modal__content", className),
2324
+ className: (0, import_typed_classname39.clsx)("hds-modal__content", className),
2042
2325
  ref
2043
2326
  }, rest)
2044
2327
  );
2045
2328
  }
2046
2329
  );
2047
2330
  ModalContent.displayName = "Modal.Content";
2048
- var ModalFooter = (0, import_react38.forwardRef)(
2331
+ var ModalFooter = (0, import_react45.forwardRef)(
2049
2332
  (_a, ref) => {
2050
2333
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2051
- const Component = asChild ? import_react_slot15.Slot : "footer";
2052
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2334
+ const Component = asChild ? import_react_slot16.Slot : "footer";
2335
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2053
2336
  Component,
2054
2337
  __spreadValues({
2055
- className: (0, import_typed_classname34.clsx)("hds-modal__footer", className),
2338
+ className: (0, import_typed_classname39.clsx)("hds-modal__footer", className),
2056
2339
  ref
2057
2340
  }, rest)
2058
2341
  );
2059
2342
  }
2060
2343
  );
2061
2344
  ModalFooter.displayName = "Modal.Footer";
2062
- var Modal = (0, import_react38.forwardRef)(
2345
+ var Modal = (0, import_react45.forwardRef)(
2063
2346
  (_a, ref) => {
2064
2347
  var _b = _a, { children, className, open, closeOnBackdropClick, onClick } = _b, rest = __objRest(_b, ["children", "className", "open", "closeOnBackdropClick", "onClick"]);
2065
- const modalRef = (0, import_react38.useRef)(null);
2348
+ const modalRef = (0, import_react45.useRef)(null);
2066
2349
  const mergedRef = useMergeRefs([modalRef, ref]);
2067
2350
  function onCloseButtonClick() {
2068
2351
  var _a2;
@@ -2070,7 +2353,7 @@ var Modal = (0, import_react38.forwardRef)(
2070
2353
  return false;
2071
2354
  }
2072
2355
  useScrollLock(modalRef, "hds-modal-scroll-lock");
2073
- (0, import_react38.useEffect)(() => {
2356
+ (0, import_react45.useEffect)(() => {
2074
2357
  if (modalRef.current && open !== void 0) {
2075
2358
  if (open && !modalRef.current.open) {
2076
2359
  modalRef.current.showModal();
@@ -2085,16 +2368,16 @@ var Modal = (0, import_react38.forwardRef)(
2085
2368
  }
2086
2369
  onClick == null ? void 0 : onClick(e);
2087
2370
  }
2088
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2371
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2089
2372
  Box,
2090
2373
  {
2091
2374
  asChild: true,
2092
- className: (0, import_typed_classname34.clsx)("hds-modal", className),
2375
+ className: (0, import_typed_classname39.clsx)("hds-modal", className),
2093
2376
  closeable: true,
2094
2377
  onClick: onDialogClick,
2095
2378
  onClose: onCloseButtonClick,
2096
2379
  variant: "white",
2097
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("dialog", __spreadProps(__spreadValues({ ref: mergedRef }, rest), { children }))
2380
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("dialog", __spreadProps(__spreadValues({ ref: mergedRef }, rest), { children }))
2098
2381
  }
2099
2382
  );
2100
2383
  }
@@ -2104,7 +2387,7 @@ Modal.Header = ModalHeader;
2104
2387
  Modal.Content = ModalContent;
2105
2388
  Modal.Footer = ModalFooter;
2106
2389
  function useScrollLock(modalRef, bodyClass) {
2107
- (0, import_react38.useEffect)(() => {
2390
+ (0, import_react45.useEffect)(() => {
2108
2391
  if (!modalRef.current) return;
2109
2392
  if (modalRef.current.open) document.body.classList.add(bodyClass);
2110
2393
  const observer = new MutationObserver(() => {
@@ -2124,18 +2407,18 @@ function useScrollLock(modalRef, bodyClass) {
2124
2407
  }
2125
2408
 
2126
2409
  // src/navbar/navbar.tsx
2127
- var import_react40 = require("react");
2128
- var import_typed_classname36 = require("@postenbring/hedwig-css/typed-classname");
2129
- var import_react_slot16 = require("@radix-ui/react-slot");
2410
+ var import_react47 = require("react");
2411
+ var import_typed_classname41 = require("@postenbring/hedwig-css/typed-classname");
2412
+ var import_react_slot17 = require("@radix-ui/react-slot");
2130
2413
 
2131
2414
  // src/navbar/navbar-expandable-menu.tsx
2132
- var import_react39 = require("react");
2133
- var import_typed_classname35 = require("@postenbring/hedwig-css/typed-classname");
2415
+ var import_react46 = require("react");
2416
+ var import_typed_classname40 = require("@postenbring/hedwig-css/typed-classname");
2134
2417
 
2135
2418
  // src/navbar/icons.tsx
2136
- var import_jsx_runtime37 = require("react/jsx-runtime");
2419
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2137
2420
  function CloseIcon2() {
2138
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2421
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2139
2422
  "path",
2140
2423
  {
2141
2424
  d: "M17.5469 16.3333L22.375 11.5521L23.3594 10.5677C23.5 10.4271 23.5 10.1927 23.3594 10.0052L22.3281 8.97394C22.1406 8.83331 21.9062 8.83331 21.7656 8.97394L16 14.7864L10.1875 8.97394C10.0469 8.83331 9.8125 8.83331 9.625 8.97394L8.59375 10.0052C8.45312 10.1927 8.45312 10.4271 8.59375 10.5677L14.4062 16.3333L8.59375 22.1458C8.45312 22.2864 8.45312 22.5208 8.59375 22.7083L9.625 23.7396C9.8125 23.8802 10.0469 23.8802 10.1875 23.7396L16 17.9271L20.7812 22.7552L21.7656 23.7396C21.9062 23.8802 22.1406 23.8802 22.3281 23.7396L23.3594 22.7083C23.5 22.5208 23.5 22.2864 23.3594 22.1458L17.5469 16.3333Z",
@@ -2144,7 +2427,7 @@ function CloseIcon2() {
2144
2427
  ) });
2145
2428
  }
2146
2429
  function MenuIcon() {
2147
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2430
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2148
2431
  "path",
2149
2432
  {
2150
2433
  fill: "currentColor",
@@ -2154,35 +2437,35 @@ function MenuIcon() {
2154
2437
  }
2155
2438
 
2156
2439
  // src/navbar/navbar-expandable-menu.tsx
2157
- var import_jsx_runtime38 = require("react/jsx-runtime");
2158
- var ExpandableMenuContext = (0, import_react39.createContext)(null);
2440
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2441
+ var ExpandableMenuContext = (0, import_react46.createContext)(null);
2159
2442
  var useNavbarExpendableMenuContext = () => {
2160
- const value = (0, import_react39.useContext)(ExpandableMenuContext);
2443
+ const value = (0, import_react46.useContext)(ExpandableMenuContext);
2161
2444
  if (value === null) {
2162
2445
  throw new Error("useNavbarExpendableMenuContext must be used within a Navbar.ExpandableMenu");
2163
2446
  }
2164
2447
  return value;
2165
2448
  };
2166
2449
  function NavbarExpandableMenu({ children }) {
2167
- const contentId = (0, import_react39.useId)();
2168
- const [open, setOpen] = (0, import_react39.useState)(false);
2169
- (0, import_react39.useEffect)(() => {
2450
+ const contentId = (0, import_react46.useId)();
2451
+ const [open, setOpen] = (0, import_react46.useState)(false);
2452
+ (0, import_react46.useEffect)(() => {
2170
2453
  if (open) {
2171
2454
  window.scrollTo(0, 0);
2172
- document.body.classList.add((0, import_typed_classname35.clsx)("hds-navbar-scroll-lock"));
2455
+ document.body.classList.add((0, import_typed_classname40.clsx)("hds-navbar-scroll-lock"));
2173
2456
  const releaseFocusTrap2 = focusTrap(
2174
- document.getElementsByClassName((0, import_typed_classname35.clsx)("hds-navbar"))[0]
2457
+ document.getElementsByClassName((0, import_typed_classname40.clsx)("hds-navbar"))[0]
2175
2458
  );
2176
2459
  return () => {
2177
- document.body.classList.remove((0, import_typed_classname35.clsx)("hds-navbar-scroll-lock"));
2460
+ document.body.classList.remove((0, import_typed_classname40.clsx)("hds-navbar-scroll-lock"));
2178
2461
  releaseFocusTrap2();
2179
2462
  };
2180
2463
  }
2181
2464
  }, [open]);
2182
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ExpandableMenuContext.Provider, { value: { contentId, open, setOpen }, children });
2465
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ExpandableMenuContext.Provider, { value: { contentId, open, setOpen }, children });
2183
2466
  }
2184
2467
  NavbarExpandableMenu.displayName = "NavbarExpandableMenu";
2185
- var NavbarExpandableMenuTrigger = (0, import_react39.forwardRef)(
2468
+ var NavbarExpandableMenuTrigger = (0, import_react46.forwardRef)(
2186
2469
  (_a, ref) => {
2187
2470
  var _b = _a, {
2188
2471
  whenClosedText,
@@ -2203,12 +2486,13 @@ var NavbarExpandableMenuTrigger = (0, import_react39.forwardRef)(
2203
2486
  function toggleOpen() {
2204
2487
  setOpen(!open);
2205
2488
  }
2206
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2489
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2207
2490
  "button",
2208
2491
  __spreadProps(__spreadValues({
2209
2492
  "aria-expanded": open,
2210
2493
  "aria-controls": contentId,
2211
- className: (0, import_typed_classname35.clsx)(
2494
+ "aria-label": open ? whenOpenHelperTitle : whenClosedHelperTitle,
2495
+ className: (0, import_typed_classname40.clsx)(
2212
2496
  "hds-navbar__item",
2213
2497
  className,
2214
2498
  open ? "hds-navbar__item--open" : "hds-navbar__item--closed"
@@ -2220,53 +2504,53 @@ var NavbarExpandableMenuTrigger = (0, import_react39.forwardRef)(
2220
2504
  style: __spreadValues({ position: "relative" }, style)
2221
2505
  }, rest), {
2222
2506
  children: [
2223
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "hds-navbar__item-responsive-text", children: [
2224
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { "aria-hidden": !open, className: (0, import_typed_classname35.clsx)("hds-navbar__item-whenopentext"), children: whenOpenText }),
2225
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { "aria-hidden": open, className: (0, import_typed_classname35.clsx)("hds-navbar__item-whenclosedtext"), children: whenClosedText })
2507
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { className: "hds-navbar__item-responsive-text", children: [
2508
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { "aria-hidden": !open, className: (0, import_typed_classname40.clsx)("hds-navbar__item-whenopentext"), children: whenOpenText }),
2509
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { "aria-hidden": open, className: (0, import_typed_classname40.clsx)("hds-navbar__item-whenclosedtext"), children: whenClosedText })
2226
2510
  ] }),
2227
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { style: { width: 32, height: 32 }, children: open ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CloseIcon2, {}) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(MenuIcon, {}) })
2511
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { style: { width: 32, height: 32 }, children: open ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CloseIcon2, {}) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(MenuIcon, {}) })
2228
2512
  ]
2229
2513
  })
2230
2514
  );
2231
2515
  }
2232
2516
  );
2233
2517
  NavbarExpandableMenuTrigger.displayName = "Navbar.ExpandableMenuTrigger";
2234
- var NavbarExpandableMenuContent = (0, import_react39.forwardRef)((_a, ref) => {
2518
+ var NavbarExpandableMenuContent = (0, import_react46.forwardRef)((_a, ref) => {
2235
2519
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2236
2520
  const { contentId, open } = useNavbarExpendableMenuContext();
2237
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2521
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2238
2522
  "section",
2239
2523
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, rest), {
2240
2524
  id: contentId,
2241
- className: (0, import_typed_classname35.clsx)("hds-navbar__expandable-menu-content", className),
2525
+ className: (0, import_typed_classname40.clsx)("hds-navbar__expandable-menu-content", className),
2242
2526
  "data-state": open ? "open" : "closed"
2243
2527
  }), { inert: inertPropValue(!open) }), {
2244
2528
  ref,
2245
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: (0, import_typed_classname35.clsx)("hds-navbar__expandable-menu-content-inner"), children })
2529
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: (0, import_typed_classname40.clsx)("hds-navbar__expandable-menu-content-inner"), children })
2246
2530
  })
2247
2531
  );
2248
2532
  });
2249
2533
  NavbarExpandableMenuContent.displayName = "Navbar.ExpandableMenuContent";
2250
2534
 
2251
2535
  // src/navbar/navbar.tsx
2252
- var import_jsx_runtime39 = require("react/jsx-runtime");
2253
- var NavbarLogo = (0, import_react40.forwardRef)(
2536
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2537
+ var NavbarLogo = (0, import_react47.forwardRef)(
2254
2538
  (_a, ref) => {
2255
2539
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
2256
- const Component = asChild ? import_react_slot16.Slot : "div";
2257
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname36.clsx)(`hds-navbar__logo`, className), ref }, rest), { children }));
2540
+ const Component = asChild ? import_react_slot17.Slot : "div";
2541
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname41.clsx)(`hds-navbar__logo`, className), ref }, rest), { children }));
2258
2542
  }
2259
2543
  );
2260
2544
  NavbarLogo.displayName = "Navbar.Logo";
2261
- var NavbarLogoAndServiceText = (0, import_react40.forwardRef)(
2545
+ var NavbarLogoAndServiceText = (0, import_react47.forwardRef)(
2262
2546
  (_a, ref) => {
2263
2547
  var _b = _a, { children, asChild, variant, className } = _b, rest = __objRest(_b, ["children", "asChild", "variant", "className"]);
2264
- const Component = asChild ? import_react_slot16.Slot : "div";
2265
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2548
+ const Component = asChild ? import_react_slot17.Slot : "div";
2549
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2266
2550
  Component,
2267
2551
  __spreadProps(__spreadValues({
2268
2552
  ref,
2269
- className: (0, import_typed_classname36.clsx)(
2553
+ className: (0, import_typed_classname41.clsx)(
2270
2554
  "hds-navbar__logo-and-service-text",
2271
2555
  `hds-navbar__logo-and-service-text--${variant}`,
2272
2556
  className
@@ -2278,29 +2562,29 @@ var NavbarLogoAndServiceText = (0, import_react40.forwardRef)(
2278
2562
  }
2279
2563
  );
2280
2564
  NavbarLogoAndServiceText.displayName = "Navbar.NavbarLogoAndText";
2281
- var NavbarItemIcon = (0, import_react40.forwardRef)(
2565
+ var NavbarItemIcon = (0, import_react47.forwardRef)(
2282
2566
  (_a, ref) => {
2283
2567
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2284
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_slot16.Slot, __spreadProps(__spreadValues({ className: (0, import_typed_classname36.clsx)("hds-navbar__item-icon", className), ref }, rest), { children }));
2568
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_slot17.Slot, __spreadProps(__spreadValues({ className: (0, import_typed_classname41.clsx)("hds-navbar__item-icon", className), ref }, rest), { children }));
2285
2569
  }
2286
2570
  );
2287
2571
  NavbarItemIcon.displayName = "Navbar.ItemIcon";
2288
- var NavbarItem = (0, import_react40.forwardRef)(
2572
+ var NavbarItem = (0, import_react47.forwardRef)(
2289
2573
  (_a, ref) => {
2290
2574
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2291
- const Component = asChild ? import_react_slot16.Slot : "div";
2292
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname36.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2575
+ const Component = asChild ? import_react_slot17.Slot : "div";
2576
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname41.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2293
2577
  }
2294
2578
  );
2295
2579
  NavbarItem.displayName = "Navbar.Item";
2296
- var NavbarButtonItem = (0, import_react40.forwardRef)(
2580
+ var NavbarButtonItem = (0, import_react47.forwardRef)(
2297
2581
  (_a, ref) => {
2298
2582
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2299
- const Component = asChild ? import_react_slot16.Slot : "button";
2300
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2583
+ const Component = asChild ? import_react_slot17.Slot : "button";
2584
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2301
2585
  Component,
2302
2586
  __spreadProps(__spreadValues({
2303
- className: (0, import_typed_classname36.clsx)("hds-navbar__item", className),
2587
+ className: (0, import_typed_classname41.clsx)("hds-navbar__item", className),
2304
2588
  ref,
2305
2589
  type: "button"
2306
2590
  }, rest), {
@@ -2310,36 +2594,36 @@ var NavbarButtonItem = (0, import_react40.forwardRef)(
2310
2594
  }
2311
2595
  );
2312
2596
  NavbarButtonItem.displayName = "Navbar.ButtonItem";
2313
- var NavbarLinkItem = (0, import_react40.forwardRef)(
2597
+ var NavbarLinkItem = (0, import_react47.forwardRef)(
2314
2598
  (_a, ref) => {
2315
2599
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2316
- const Component = asChild ? import_react_slot16.Slot : "a";
2317
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname36.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2600
+ const Component = asChild ? import_react_slot17.Slot : "a";
2601
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname41.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2318
2602
  }
2319
2603
  );
2320
2604
  NavbarLinkItem.displayName = "Navbar.LinkItem";
2321
- var NavbarNavigation = (0, import_react40.forwardRef)(
2605
+ var NavbarNavigation = (0, import_react47.forwardRef)(
2322
2606
  (_a, ref) => {
2323
2607
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2324
- const Component = asChild ? import_react_slot16.Slot : "div";
2325
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2608
+ const Component = asChild ? import_react_slot17.Slot : "div";
2609
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2326
2610
  Component,
2327
2611
  __spreadValues({
2328
- className: (0, import_typed_classname36.clsx)("hds-navbar__navigation", className),
2612
+ className: (0, import_typed_classname41.clsx)("hds-navbar__navigation", className),
2329
2613
  ref
2330
2614
  }, rest)
2331
2615
  );
2332
2616
  }
2333
2617
  );
2334
2618
  NavbarNavigation.displayName = "Navbar.Navigation";
2335
- var Navbar = (0, import_react40.forwardRef)(
2619
+ var Navbar = (0, import_react47.forwardRef)(
2336
2620
  (_a, ref) => {
2337
2621
  var _b = _a, { asChild, children, className, variant } = _b, rest = __objRest(_b, ["asChild", "children", "className", "variant"]);
2338
- const Component = asChild ? import_react_slot16.Slot : "header";
2339
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2622
+ const Component = asChild ? import_react_slot17.Slot : "header";
2623
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2340
2624
  Component,
2341
2625
  __spreadProps(__spreadValues({
2342
- className: (0, import_typed_classname36.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
2626
+ className: (0, import_typed_classname41.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
2343
2627
  ref
2344
2628
  }, rest), {
2345
2629
  children
@@ -2360,17 +2644,17 @@ Navbar.ItemIcon = NavbarItemIcon;
2360
2644
  Navbar.Navigation = NavbarNavigation;
2361
2645
 
2362
2646
  // src/show-more/show-more.tsx
2363
- var import_typed_classname37 = require("@postenbring/hedwig-css/typed-classname");
2364
- var import_react41 = require("react");
2365
- var import_jsx_runtime40 = require("react/jsx-runtime");
2366
- var ShowMoreButton = (0, import_react41.forwardRef)(
2647
+ var import_typed_classname42 = require("@postenbring/hedwig-css/typed-classname");
2648
+ var import_react48 = require("react");
2649
+ var import_jsx_runtime47 = require("react/jsx-runtime");
2650
+ var ShowMoreButton = (0, import_react48.forwardRef)(
2367
2651
  (_a, ref) => {
2368
2652
  var _b = _a, { text, variant, expanded, className } = _b, rest = __objRest(_b, ["text", "variant", "expanded", "className"]);
2369
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2653
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2370
2654
  "button",
2371
2655
  __spreadProps(__spreadValues({
2372
2656
  ref,
2373
- className: (0, import_typed_classname37.clsx)(
2657
+ className: (0, import_typed_classname42.clsx)(
2374
2658
  "hds-show-more",
2375
2659
  variant === "show-more-show-less" && "hds-show-more--show-less",
2376
2660
  className
@@ -2380,7 +2664,7 @@ var ShowMoreButton = (0, import_react41.forwardRef)(
2380
2664
  }, rest), {
2381
2665
  children: [
2382
2666
  text,
2383
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: (0, import_typed_classname37.clsx)("hds-show-more__icon") })
2667
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: (0, import_typed_classname42.clsx)("hds-show-more__icon") })
2384
2668
  ]
2385
2669
  })
2386
2670
  );
@@ -2389,11 +2673,11 @@ var ShowMoreButton = (0, import_react41.forwardRef)(
2389
2673
  ShowMoreButton.displayName = "ShowMoreButton";
2390
2674
 
2391
2675
  // src/skeleton/skeleton.tsx
2392
- var import_typed_classname38 = require("@postenbring/hedwig-css/typed-classname");
2393
- var import_react_slot17 = require("@radix-ui/react-slot");
2394
- var import_react42 = require("react");
2395
- var import_jsx_runtime41 = require("react/jsx-runtime");
2396
- var Skeleton = (0, import_react42.forwardRef)(
2676
+ var import_typed_classname43 = require("@postenbring/hedwig-css/typed-classname");
2677
+ var import_react_slot18 = require("@radix-ui/react-slot");
2678
+ var import_react49 = require("react");
2679
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2680
+ var Skeleton = (0, import_react49.forwardRef)(
2397
2681
  (_a, ref) => {
2398
2682
  var _b = _a, {
2399
2683
  as: Tag = "div",
@@ -2416,11 +2700,11 @@ var Skeleton = (0, import_react42.forwardRef)(
2416
2700
  "className",
2417
2701
  "style"
2418
2702
  ]);
2419
- const Component = asChild ? import_react_slot17.Slot : Tag;
2420
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2703
+ const Component = asChild ? import_react_slot18.Slot : Tag;
2704
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2421
2705
  Component,
2422
2706
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({
2423
- className: (0, import_typed_classname38.clsx)(
2707
+ className: (0, import_typed_classname43.clsx)(
2424
2708
  "hds-skeleton",
2425
2709
  `hds-skeleton--${variant}`,
2426
2710
  !animation && `hds-skeleton--no-animation`,
@@ -2439,19 +2723,19 @@ var Skeleton = (0, import_react42.forwardRef)(
2439
2723
  Skeleton.displayName = "Skeleton";
2440
2724
 
2441
2725
  // src/spinner/spinner.tsx
2442
- var import_react43 = require("react");
2443
- var import_typed_classname39 = require("@postenbring/hedwig-css/typed-classname");
2444
- var import_jsx_runtime42 = require("react/jsx-runtime");
2445
- var Spinner = (0, import_react43.forwardRef)(
2726
+ var import_react50 = require("react");
2727
+ var import_typed_classname44 = require("@postenbring/hedwig-css/typed-classname");
2728
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2729
+ var Spinner = (0, import_react50.forwardRef)(
2446
2730
  (_a, ref) => {
2447
2731
  var _b = _a, { size = "medium", title = "", delay = false, className, style: _style } = _b, rest = __objRest(_b, ["size", "title", "delay", "className", "style"]);
2448
2732
  const style = __spreadValues(__spreadValues({}, _style), typeof delay === "string" && { "--hds-spinner-delay": delay });
2449
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2733
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2450
2734
  "div",
2451
2735
  __spreadValues({
2452
2736
  title,
2453
2737
  style,
2454
- className: (0, import_typed_classname39.clsx)(
2738
+ className: (0, import_typed_classname44.clsx)(
2455
2739
  "hds-spinner",
2456
2740
  `hds-spinner--${size}`,
2457
2741
  delay && "hds-spinner--delay",
@@ -2465,10 +2749,10 @@ var Spinner = (0, import_react43.forwardRef)(
2465
2749
  Spinner.displayName = "Spinner";
2466
2750
 
2467
2751
  // src/step-indicator/step-indicator.tsx
2468
- var import_typed_classname40 = require("@postenbring/hedwig-css/typed-classname");
2469
- var import_react44 = require("react");
2470
- var import_jsx_runtime43 = require("react/jsx-runtime");
2471
- var StepIndicator = (0, import_react44.forwardRef)(
2752
+ var import_typed_classname45 = require("@postenbring/hedwig-css/typed-classname");
2753
+ var import_react51 = require("react");
2754
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2755
+ var StepIndicator = (0, import_react51.forwardRef)(
2472
2756
  (_a, ref) => {
2473
2757
  var _b = _a, {
2474
2758
  activeStep,
@@ -2487,27 +2771,27 @@ var StepIndicator = (0, import_react44.forwardRef)(
2487
2771
  "title",
2488
2772
  "titleAs"
2489
2773
  ]);
2490
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2774
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2491
2775
  "div",
2492
2776
  __spreadProps(__spreadValues({
2493
2777
  ref,
2494
- className: (0, import_typed_classname40.clsx)("hds-step-indicator", className),
2778
+ className: (0, import_typed_classname45.clsx)("hds-step-indicator", className),
2495
2779
  lang
2496
2780
  }, rest), {
2497
2781
  children: [
2498
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: (0, import_typed_classname40.clsx)("hds-step-indicator__header"), children: [
2499
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: (0, import_typed_classname40.clsx)("hds-step-indicator__left-label"), children: label }),
2500
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
2782
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: (0, import_typed_classname45.clsx)("hds-step-indicator__header"), children: [
2783
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: (0, import_typed_classname45.clsx)("hds-step-indicator__left-label"), children: label }),
2784
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
2501
2785
  ] }),
2502
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: (0, import_typed_classname40.clsx)("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2786
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: (0, import_typed_classname45.clsx)("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2503
2787
  "div",
2504
2788
  {
2505
- className: (0, import_typed_classname40.clsx)("hds-step-indicator__step"),
2789
+ className: (0, import_typed_classname45.clsx)("hds-step-indicator__step"),
2506
2790
  "data-state": getStepState(i + 1, activeStep)
2507
2791
  },
2508
2792
  i
2509
2793
  )) }),
2510
- title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TitleComponent, { className: (0, import_typed_classname40.clsx)("hds-step-indicator__title"), children: title }) : null
2794
+ title ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TitleComponent, { className: (0, import_typed_classname45.clsx)("hds-step-indicator__title"), children: title }) : null
2511
2795
  ]
2512
2796
  })
2513
2797
  );
@@ -2531,18 +2815,18 @@ function getStepState(renderedStep, activeStep) {
2531
2815
  }
2532
2816
 
2533
2817
  // src/styled-html/styled-html.tsx
2534
- var import_react45 = require("react");
2535
- var import_typed_classname41 = require("@postenbring/hedwig-css/typed-classname");
2536
- var import_react_slot18 = require("@radix-ui/react-slot");
2537
- var import_jsx_runtime44 = require("react/jsx-runtime");
2538
- var StyledHtml = (0, import_react45.forwardRef)(
2818
+ var import_react52 = require("react");
2819
+ var import_typed_classname46 = require("@postenbring/hedwig-css/typed-classname");
2820
+ var import_react_slot19 = require("@radix-ui/react-slot");
2821
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2822
+ var StyledHtml = (0, import_react52.forwardRef)(
2539
2823
  (_a, ref) => {
2540
2824
  var _b = _a, { asChild, children, size, className } = _b, rest = __objRest(_b, ["asChild", "children", "size", "className"]);
2541
- const Component = asChild ? import_react_slot18.Slot : "div";
2542
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2825
+ const Component = asChild ? import_react_slot19.Slot : "div";
2826
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2543
2827
  Component,
2544
2828
  __spreadProps(__spreadValues({
2545
- className: (0, import_typed_classname41.clsx)(
2829
+ className: (0, import_typed_classname46.clsx)(
2546
2830
  `hds-styled-html`,
2547
2831
  size === "small" && "hds-styled-html--small",
2548
2832
  className
@@ -2557,20 +2841,20 @@ var StyledHtml = (0, import_react45.forwardRef)(
2557
2841
  StyledHtml.displayName = "StyledHtml";
2558
2842
 
2559
2843
  // src/table/table.tsx
2560
- var import_typed_classname42 = require("@postenbring/hedwig-css/typed-classname");
2561
- var import_react46 = require("react");
2562
- var import_jsx_runtime45 = require("react/jsx-runtime");
2563
- var Table = (0, import_react46.forwardRef)(
2844
+ var import_typed_classname47 = require("@postenbring/hedwig-css/typed-classname");
2845
+ var import_react53 = require("react");
2846
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2847
+ var Table = (0, import_react53.forwardRef)(
2564
2848
  (_a, ref) => {
2565
2849
  var _b = _a, { children, className, size, caption, description } = _b, rest = __objRest(_b, ["children", "className", "size", "caption", "description"]);
2566
- const descriptionId = (0, import_react46.useId)();
2567
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
2568
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2850
+ const descriptionId = (0, import_react53.useId)();
2851
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
2852
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
2569
2853
  "table",
2570
2854
  __spreadProps(__spreadValues({
2571
2855
  "aria-describedby": description ? descriptionId : void 0,
2572
2856
  ref,
2573
- className: (0, import_typed_classname42.clsx)(
2857
+ className: (0, import_typed_classname47.clsx)(
2574
2858
  "hds-table",
2575
2859
  {
2576
2860
  "hds-table--compressed": size === "compressed",
@@ -2580,27 +2864,27 @@ var Table = (0, import_react46.forwardRef)(
2580
2864
  )
2581
2865
  }, rest), {
2582
2866
  children: [
2583
- caption ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("caption", { children: caption }) : null,
2867
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("caption", { children: caption }) : null,
2584
2868
  children
2585
2869
  ]
2586
2870
  })
2587
2871
  ),
2588
- description ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: (0, import_typed_classname42.clsx)("hds-table-description"), id: descriptionId, children: description }) : null
2872
+ description ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { className: (0, import_typed_classname47.clsx)("hds-table-description"), id: descriptionId, children: description }) : null
2589
2873
  ] });
2590
2874
  }
2591
2875
  );
2592
2876
  Table.displayName = "Table";
2593
2877
 
2594
2878
  // src/tabs/tabs.tsx
2595
- var import_react50 = require("react");
2596
- var import_typed_classname45 = require("@postenbring/hedwig-css/typed-classname");
2597
- var import_react_slot20 = require("@radix-ui/react-slot");
2879
+ var import_react57 = require("react");
2880
+ var import_typed_classname50 = require("@postenbring/hedwig-css/typed-classname");
2881
+ var import_react_slot21 = require("@radix-ui/react-slot");
2598
2882
 
2599
2883
  // src/tabs/context.ts
2600
- var import_react47 = require("react");
2601
- var TabsContext = (0, import_react47.createContext)(null);
2884
+ var import_react54 = require("react");
2885
+ var TabsContext = (0, import_react54.createContext)(null);
2602
2886
  function useTabsContext() {
2603
- const context = (0, import_react47.useContext)(TabsContext);
2887
+ const context = (0, import_react54.useContext)(TabsContext);
2604
2888
  if (!context) {
2605
2889
  throw new Error(
2606
2890
  "Tabs context required. Did you use `<Tabs.List />`, `<Tabs.Tab />`, or `<Tabs.Content />` outside of <Tabs/>?"
@@ -2610,25 +2894,25 @@ function useTabsContext() {
2610
2894
  }
2611
2895
 
2612
2896
  // src/tabs/tabs-content.tsx
2613
- var import_react48 = require("react");
2614
- var import_typed_classname43 = require("@postenbring/hedwig-css/typed-classname");
2615
- var import_react_slot19 = require("@radix-ui/react-slot");
2616
- var import_jsx_runtime46 = require("react/jsx-runtime");
2617
- var TabsContents = (0, import_react48.forwardRef)(
2897
+ var import_react55 = require("react");
2898
+ var import_typed_classname48 = require("@postenbring/hedwig-css/typed-classname");
2899
+ var import_react_slot20 = require("@radix-ui/react-slot");
2900
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2901
+ var TabsContents = (0, import_react55.forwardRef)(
2618
2902
  (_a, ref) => {
2619
2903
  var _b = _a, { asChild, children } = _b, rest = __objRest(_b, ["asChild", "children"]);
2620
- const Component = asChild ? import_react_slot19.Slot : "div";
2621
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname43.clsx)("hds-tabs__contents") }, rest), { children }));
2904
+ const Component = asChild ? import_react_slot20.Slot : "div";
2905
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname48.clsx)("hds-tabs__contents") }, rest), { children }));
2622
2906
  }
2623
2907
  );
2624
2908
  TabsContents.displayName = "Tabs.Contents";
2625
- var TabsContent = (0, import_react48.forwardRef)(
2909
+ var TabsContent = (0, import_react55.forwardRef)(
2626
2910
  (_a, ref) => {
2627
2911
  var _b = _a, { asChild, forTabId, children } = _b, rest = __objRest(_b, ["asChild", "forTabId", "children"]);
2628
2912
  const context = useTabsContext();
2629
- const Component = asChild ? import_react_slot19.Slot : "div";
2913
+ const Component = asChild ? import_react_slot20.Slot : "div";
2630
2914
  if (context.activeTabId === forTabId) {
2631
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
2915
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
2632
2916
  }
2633
2917
  return null;
2634
2918
  }
@@ -2636,21 +2920,21 @@ var TabsContent = (0, import_react48.forwardRef)(
2636
2920
  TabsContent.displayName = "Tabs.Content";
2637
2921
 
2638
2922
  // src/tabs/tabs-list.tsx
2639
- var import_react49 = require("react");
2640
- var import_typed_classname44 = require("@postenbring/hedwig-css/typed-classname");
2641
- var import_jsx_runtime47 = require("react/jsx-runtime");
2642
- var TabsList = (0, import_react49.forwardRef)(
2923
+ var import_react56 = require("react");
2924
+ var import_typed_classname49 = require("@postenbring/hedwig-css/typed-classname");
2925
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2926
+ var TabsList = (0, import_react56.forwardRef)(
2643
2927
  (_a, ref) => {
2644
2928
  var _b = _a, { children, direction = "horizontal", className } = _b, rest = __objRest(_b, ["children", "direction", "className"]);
2645
2929
  const { activeTabId } = useTabsContext();
2646
- const tabsListRef = (0, import_react49.useRef)(null);
2930
+ const tabsListRef = (0, import_react56.useRef)(null);
2647
2931
  const mergedRef = useMergeRefs([tabsListRef, ref]);
2648
2932
  const { width: tabsWidth } = useResize(tabsListRef);
2649
2933
  const isClientSide = useHydrated();
2650
2934
  const { innerWidth } = isClientSide ? window : { innerWidth: 1e3 };
2651
2935
  const wideEnough = innerWidth >= tabsWidth;
2652
- const previousTabId = (0, import_react49.useRef)(activeTabId);
2653
- (0, import_react49.useEffect)(() => {
2936
+ const previousTabId = (0, import_react56.useRef)(activeTabId);
2937
+ (0, import_react56.useEffect)(() => {
2654
2938
  const tabList = tabsListRef.current;
2655
2939
  const activeTab = tabList == null ? void 0 : tabList.querySelector(`[data-tabid="${activeTabId}"]`);
2656
2940
  if (!activeTab || !tabList) return;
@@ -2674,10 +2958,10 @@ var TabsList = (0, import_react49.forwardRef)(
2674
2958
  }
2675
2959
  previousTabId.current = activeTabId;
2676
2960
  }, [activeTabId, innerWidth]);
2677
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2961
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2678
2962
  "div",
2679
2963
  __spreadProps(__spreadValues({
2680
- className: (0, import_typed_classname44.clsx)(
2964
+ className: (0, import_typed_classname49.clsx)(
2681
2965
  "hds-tabs__list",
2682
2966
  direction === "horizontal" ? {
2683
2967
  "hds-tabs__list--horizontal": wideEnough,
@@ -2696,7 +2980,7 @@ var TabsList = (0, import_react49.forwardRef)(
2696
2980
  }
2697
2981
  );
2698
2982
  TabsList.displayName = "Tabs.List";
2699
- var TabsTab = (0, import_react49.forwardRef)(
2983
+ var TabsTab = (0, import_react56.forwardRef)(
2700
2984
  (_a, ref) => {
2701
2985
  var _b = _a, { children, tabId, className, onClick } = _b, rest = __objRest(_b, ["children", "tabId", "className", "onClick"]);
2702
2986
  const context = useTabsContext();
@@ -2705,10 +2989,10 @@ var TabsTab = (0, import_react49.forwardRef)(
2705
2989
  context.toggleActiveTabId(tabId);
2706
2990
  onClick == null ? void 0 : onClick(e);
2707
2991
  };
2708
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2992
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2709
2993
  "button",
2710
2994
  __spreadProps(__spreadValues({
2711
- className: (0, import_typed_classname44.clsx)(
2995
+ className: (0, import_typed_classname49.clsx)(
2712
2996
  "hds-tabs__tab",
2713
2997
  { "hds-tabs__tab--active": context.activeTabId === tabId },
2714
2998
  className
@@ -2727,13 +3011,13 @@ var TabsTab = (0, import_react49.forwardRef)(
2727
3011
  TabsTab.displayName = "Tabs.Tab";
2728
3012
 
2729
3013
  // src/tabs/tabs.tsx
2730
- var import_jsx_runtime48 = require("react/jsx-runtime");
2731
- var Tabs = (0, import_react50.forwardRef)(
3014
+ var import_jsx_runtime55 = require("react/jsx-runtime");
3015
+ var Tabs = (0, import_react57.forwardRef)(
2732
3016
  (_a, ref) => {
2733
3017
  var _b = _a, { asChild, defaultTab, children } = _b, rest = __objRest(_b, ["asChild", "defaultTab", "children"]);
2734
- const [activeTabId, setActiveTabId] = (0, import_react50.useState)(defaultTab);
2735
- const Component = asChild ? import_react_slot20.Slot : "div";
2736
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname45.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TabsContext.Provider, { value: { activeTabId, toggleActiveTabId: setActiveTabId }, children }) }));
3018
+ const [activeTabId, setActiveTabId] = (0, import_react57.useState)(defaultTab);
3019
+ const Component = asChild ? import_react_slot21.Slot : "div";
3020
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname50.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TabsContext.Provider, { value: { activeTabId, toggleActiveTabId: setActiveTabId }, children }) }));
2737
3021
  }
2738
3022
  );
2739
3023
  Tabs.displayName = "Tabs";
@@ -2743,10 +3027,10 @@ Tabs.Contents = TabsContents;
2743
3027
  Tabs.Content = TabsContent;
2744
3028
 
2745
3029
  // src/text/text.tsx
2746
- var import_react51 = require("react");
2747
- var import_typed_classname46 = require("@postenbring/hedwig-css/typed-classname");
2748
- var import_react_slot21 = require("@radix-ui/react-slot");
2749
- var import_jsx_runtime49 = require("react/jsx-runtime");
3030
+ var import_react58 = require("react");
3031
+ var import_typed_classname51 = require("@postenbring/hedwig-css/typed-classname");
3032
+ var import_react_slot22 = require("@radix-ui/react-slot");
3033
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2750
3034
  var defaultHTMLTag = {
2751
3035
  "h1-display": "h1",
2752
3036
  h1: "h1",
@@ -2762,7 +3046,7 @@ var defaultHTMLTag = {
2762
3046
  caption: "p",
2763
3047
  "caption-title": "p"
2764
3048
  };
2765
- var Text = (0, import_react51.forwardRef)(
3049
+ var Text = (0, import_react58.forwardRef)(
2766
3050
  (_a, ref) => {
2767
3051
  var _b = _a, {
2768
3052
  as: Tag,
@@ -2781,12 +3065,12 @@ var Text = (0, import_react51.forwardRef)(
2781
3065
  "children",
2782
3066
  "className"
2783
3067
  ]);
2784
- const Component = asChild ? import_react_slot21.Slot : Tag != null ? Tag : defaultHTMLTag[variant];
3068
+ const Component = asChild ? import_react_slot22.Slot : Tag != null ? Tag : defaultHTMLTag[variant];
2785
3069
  const sizeModifier = size !== "fluid" && variant !== "caption" && variant !== "caption-title" && size;
2786
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3070
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2787
3071
  Component,
2788
3072
  __spreadProps(__spreadValues({
2789
- className: (0, import_typed_classname46.clsx)(
3073
+ className: (0, import_typed_classname51.clsx)(
2790
3074
  `hds-text-${variant}`,
2791
3075
  sizeModifier && `hds-text--${sizeModifier}`,
2792
3076
  spacing && "hds-text--spacing",
@@ -2802,16 +3086,16 @@ var Text = (0, import_react51.forwardRef)(
2802
3086
  Text.displayName = "Text";
2803
3087
 
2804
3088
  // src/warning-banner/warning-banner.tsx
2805
- var import_react52 = require("react");
2806
- var import_typed_classname47 = require("@postenbring/hedwig-css/typed-classname");
2807
- var import_jsx_runtime50 = require("react/jsx-runtime");
2808
- var WarningBanner = (0, import_react52.forwardRef)(
3089
+ var import_react59 = require("react");
3090
+ var import_typed_classname52 = require("@postenbring/hedwig-css/typed-classname");
3091
+ var import_jsx_runtime57 = require("react/jsx-runtime");
3092
+ var WarningBanner = (0, import_react59.forwardRef)(
2809
3093
  (_a, ref) => {
2810
3094
  var _b = _a, { title, description, className } = _b, rest = __objRest(_b, ["title", "description", "className"]);
2811
- const descriptionId = (0, import_react52.useId)();
3095
+ const descriptionId = (0, import_react59.useId)();
2812
3096
  const expandable = !!description;
2813
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname47.clsx)("hds-warning-banner", className), ref, children: [
2814
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3097
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname52.clsx)("hds-warning-banner", className), ref, children: [
3098
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2815
3099
  WarningBannerTitle,
2816
3100
  {
2817
3101
  variant: expandable ? "expandable" : "default",
@@ -2819,22 +3103,22 @@ var WarningBanner = (0, import_react52.forwardRef)(
2819
3103
  children: title
2820
3104
  }
2821
3105
  ),
2822
- expandable ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(WarningBannerDescription, { id: descriptionId, children: description }) : null
3106
+ expandable ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(WarningBannerDescription, { id: descriptionId, children: description }) : null
2823
3107
  ] }));
2824
3108
  }
2825
3109
  );
2826
3110
  WarningBanner.displayName = "WarningBanner";
2827
- var WarningBannerTitle = (0, import_react52.forwardRef)((_a, ref) => {
3111
+ var WarningBannerTitle = (0, import_react59.forwardRef)((_a, ref) => {
2828
3112
  var _b = _a, { variant, descriptionId, children, className } = _b, rest = __objRest(_b, ["variant", "descriptionId", "children", "className"]);
2829
- const [open, setOpen] = (0, import_react52.useState)(false);
3113
+ const [open, setOpen] = (0, import_react59.useState)(false);
2830
3114
  if (variant === "expandable") {
2831
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3115
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2832
3116
  "button",
2833
3117
  __spreadProps(__spreadValues({}, rest), {
2834
3118
  "aria-expanded": open,
2835
3119
  "aria-controls": descriptionId,
2836
3120
  "data-state": open ? "open" : "closed",
2837
- className: (0, import_typed_classname47.clsx)(
3121
+ className: (0, import_typed_classname52.clsx)(
2838
3122
  "hds-warning-banner__title",
2839
3123
  "hds-warning-banner__title-trigger",
2840
3124
  className
@@ -2844,28 +3128,28 @@ var WarningBannerTitle = (0, import_react52.forwardRef)((_a, ref) => {
2844
3128
  },
2845
3129
  ref,
2846
3130
  type: "button",
2847
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { children })
3131
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { children })
2848
3132
  })
2849
3133
  );
2850
3134
  }
2851
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3135
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2852
3136
  "p",
2853
3137
  __spreadProps(__spreadValues({}, rest), {
2854
- className: (0, import_typed_classname47.clsx)("hds-warning-banner__title", className),
3138
+ className: (0, import_typed_classname52.clsx)("hds-warning-banner__title", className),
2855
3139
  ref,
2856
3140
  children
2857
3141
  })
2858
3142
  );
2859
3143
  });
2860
3144
  WarningBannerTitle.displayName = "WarningBannerTitle";
2861
- var WarningBannerDescription = (0, import_react52.forwardRef)(
3145
+ var WarningBannerDescription = (0, import_react59.forwardRef)(
2862
3146
  (_a, ref) => {
2863
3147
  var _b = _a, { className, id } = _b, rest = __objRest(_b, ["className", "id"]);
2864
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3148
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2865
3149
  "p",
2866
3150
  __spreadValues({
2867
3151
  id,
2868
- className: (0, import_typed_classname47.clsx)("hds-warning-banner__description", className),
3152
+ className: (0, import_typed_classname52.clsx)("hds-warning-banner__description", className),
2869
3153
  ref
2870
3154
  }, rest)
2871
3155
  );
@@ -2906,6 +3190,8 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
2906
3190
  ErrorMessage,
2907
3191
  ErrorSummary,
2908
3192
  Fieldset,
3193
+ FieldsetDescription,
3194
+ FieldsetLegend,
2909
3195
  Figure,
2910
3196
  Footer,
2911
3197
  FooterButtonLink,
@@ -2940,6 +3226,7 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
2940
3226
  OrderedList,
2941
3227
  RadioButton,
2942
3228
  RadioGroup,
3229
+ SearchWrapper,
2943
3230
  Select,
2944
3231
  ShowMoreButton,
2945
3232
  Skeleton,
@@ -2947,6 +3234,10 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
2947
3234
  Stack,
2948
3235
  StepIndicator,
2949
3236
  StyledHtml,
3237
+ Suggestions,
3238
+ SuggestionsItem,
3239
+ SuggestionsItemAction,
3240
+ SuggestionsWrapper,
2950
3241
  Table,
2951
3242
  Tabs,
2952
3243
  TabsContent,
@@ -2957,8 +3248,10 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
2957
3248
  Textarea,
2958
3249
  UnorderedList,
2959
3250
  VStack,
3251
+ ValidationMessage,
2960
3252
  WarningBanner,
2961
3253
  focusTrap,
3254
+ getValidationMessageValue,
2962
3255
  inertPropValue,
2963
3256
  useFieldsetContext,
2964
3257
  useHydrated,