@postenbring/hedwig-react 0.0.86 → 0.0.88

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 (340) hide show
  1. package/dist/accordion/accordion-content.mjs +2 -2
  2. package/dist/accordion/accordion-header.mjs +2 -2
  3. package/dist/accordion/accordion-item.mjs +2 -2
  4. package/dist/accordion/accordion.mjs +5 -5
  5. package/dist/accordion/context.mjs +1 -1
  6. package/dist/accordion/index.mjs +5 -5
  7. package/dist/badge/badge.d.ts +7 -3
  8. package/dist/badge/badge.d.ts.map +1 -1
  9. package/dist/badge/badge.js.map +1 -1
  10. package/dist/badge/badge.mjs +2 -2
  11. package/dist/badge/index.js.map +1 -1
  12. package/dist/badge/index.mjs +2 -2
  13. package/dist/blockquote/blockquote.d.ts +29 -0
  14. package/dist/blockquote/blockquote.d.ts.map +1 -0
  15. package/dist/blockquote/blockquote.js +83 -0
  16. package/dist/blockquote/blockquote.js.map +1 -0
  17. package/dist/blockquote/blockquote.mjs +8 -0
  18. package/dist/blockquote/index.d.ts +3 -0
  19. package/dist/blockquote/index.d.ts.map +1 -0
  20. package/dist/blockquote/index.js +85 -0
  21. package/dist/blockquote/index.js.map +1 -0
  22. package/dist/blockquote/index.mjs +9 -0
  23. package/dist/box/box.mjs +2 -2
  24. package/dist/box/index.mjs +2 -2
  25. package/dist/breadcrumbs/breadcrumbs.mjs +2 -2
  26. package/dist/breadcrumbs/index.mjs +2 -2
  27. package/dist/button/button.mjs +2 -2
  28. package/dist/button/index.mjs +2 -2
  29. package/dist/card/card.mjs +2 -2
  30. package/dist/card/index.mjs +2 -2
  31. package/dist/{chunk-CCVZAHYA.mjs → chunk-35QRZSEV.mjs} +2 -2
  32. package/dist/chunk-3H7S7C3S.mjs +37 -0
  33. package/dist/chunk-3H7S7C3S.mjs.map +1 -0
  34. package/dist/{chunk-AJWSQEDP.mjs → chunk-3OGHJOJF.mjs} +2 -2
  35. package/dist/{chunk-USXU6ULZ.mjs → chunk-4QZR2H72.mjs} +2 -2
  36. package/dist/{chunk-FB5GEZNH.mjs → chunk-5UGT7L7R.mjs} +3 -3
  37. package/dist/{chunk-XFODQH3I.mjs → chunk-6BXKRPR3.mjs} +3 -3
  38. package/dist/{chunk-IHZ2MRF6.mjs → chunk-6VKQ6IRG.mjs} +8 -12
  39. package/dist/{chunk-IHZ2MRF6.mjs.map → chunk-6VKQ6IRG.mjs.map} +1 -1
  40. package/dist/{chunk-EVUKWONG.mjs → chunk-6ZO2TMOX.mjs} +3 -3
  41. package/dist/{chunk-F4STR6SD.mjs → chunk-7ROE6ADK.mjs} +2 -3
  42. package/dist/{chunk-F4STR6SD.mjs.map → chunk-7ROE6ADK.mjs.map} +1 -1
  43. package/dist/{chunk-YSFZCRWS.mjs → chunk-A42PXOVR.mjs} +2 -2
  44. package/dist/{chunk-6MR5XZOX.mjs → chunk-AYCHNAU7.mjs} +2 -2
  45. package/dist/{chunk-NU6OSFAU.mjs → chunk-AZ6X4L5C.mjs} +2 -2
  46. package/dist/{chunk-SQ63E7KM.mjs → chunk-BHQ46L2O.mjs} +3 -3
  47. package/dist/{chunk-HMATZX4A.mjs → chunk-C7ZTOZP3.mjs} +2 -2
  48. package/dist/{chunk-RZZDMBB7.mjs → chunk-CC5QWW52.mjs} +2 -2
  49. package/dist/{chunk-B6L7IFDX.mjs → chunk-CXX4SXJG.mjs} +5 -5
  50. package/dist/{chunk-GGQB2WWD.mjs → chunk-DMOMTRIY.mjs} +2 -2
  51. package/dist/{chunk-KI6WRKZY.mjs → chunk-EAFQ3XQU.mjs} +4 -4
  52. package/dist/{chunk-I3ZIMS72.mjs → chunk-EGW3RCXD.mjs} +3 -3
  53. package/dist/chunk-EGW3RCXD.mjs.map +1 -0
  54. package/dist/{chunk-L4YBHIS3.mjs → chunk-EMQB6JIS.mjs} +2 -2
  55. package/dist/{chunk-SKVM7G76.mjs → chunk-EZVEYJOX.mjs} +2 -2
  56. package/dist/{chunk-AXKJB47E.mjs → chunk-FUIKSOJF.mjs} +3 -3
  57. package/dist/{chunk-TDXU2IC6.mjs → chunk-ILFK3VKS.mjs} +7 -12
  58. package/dist/{chunk-TDXU2IC6.mjs.map → chunk-ILFK3VKS.mjs.map} +1 -1
  59. package/dist/{chunk-AXQCREUJ.mjs → chunk-J5SCUELT.mjs} +4 -5
  60. package/dist/{chunk-AXQCREUJ.mjs.map → chunk-J5SCUELT.mjs.map} +1 -1
  61. package/dist/{chunk-LG7QWKFP.mjs → chunk-JQGB77SS.mjs} +3 -3
  62. package/dist/chunk-JQGB77SS.mjs.map +1 -0
  63. package/dist/{chunk-UB2R7TCG.mjs → chunk-JUHJZLH2.mjs} +2 -2
  64. package/dist/chunk-JYN2QSN2.mjs +36 -0
  65. package/dist/chunk-JYN2QSN2.mjs.map +1 -0
  66. package/dist/{chunk-VCQIR53Y.mjs → chunk-JZXZYEPG.mjs} +2 -2
  67. package/dist/{chunk-6FBPKLWB.mjs → chunk-KCEWKQ4W.mjs} +8 -13
  68. package/dist/{chunk-6FBPKLWB.mjs.map → chunk-KCEWKQ4W.mjs.map} +1 -1
  69. package/dist/chunk-KFDS3IPB.mjs +1 -0
  70. package/dist/{chunk-DEZVONZD.mjs → chunk-KNGG6M2I.mjs} +4 -4
  71. package/dist/{chunk-WHMIHTPC.mjs → chunk-LGEGXOPU.mjs} +2 -2
  72. package/dist/{chunk-OIC2CPID.mjs → chunk-M7MG7ZQT.mjs} +4 -4
  73. package/dist/{chunk-HJYS664B.mjs → chunk-MYVC3HMO.mjs} +2 -2
  74. package/dist/{chunk-WPCWXROV.mjs → chunk-NIYDN3Y3.mjs} +3 -3
  75. package/dist/{chunk-GQUFERB2.mjs → chunk-OXZOGFNV.mjs} +2 -2
  76. package/dist/chunk-OXZOGFNV.mjs.map +1 -0
  77. package/dist/{chunk-GRWLX5BC.mjs → chunk-ROQH67YP.mjs} +5 -5
  78. package/dist/{chunk-GGNMBB3K.mjs → chunk-S3QSGJX2.mjs} +3 -3
  79. package/dist/{chunk-UP3M3NEZ.mjs → chunk-TC5PD4TA.mjs} +3 -3
  80. package/dist/{chunk-O4HIHUMD.mjs → chunk-UL2V2Z5B.mjs} +15 -17
  81. package/dist/chunk-UL2V2Z5B.mjs.map +1 -0
  82. package/dist/{chunk-MJ2DZH3N.mjs → chunk-VYS2QNTL.mjs} +2 -2
  83. package/dist/{chunk-JF3HBGAA.mjs → chunk-WLESNP6Z.mjs} +2 -2
  84. package/dist/{chunk-BVPSZ3JI.mjs → chunk-WUPLEZEY.mjs} +4 -4
  85. package/dist/chunk-XAFNJELJ.mjs +1 -0
  86. package/dist/{chunk-5UJ3LEKK.mjs → chunk-XQBJ75VD.mjs} +2 -2
  87. package/dist/{chunk-R4SQKVDQ.mjs → chunk-YOSPWY5K.mjs} +1 -1
  88. package/dist/{chunk-GJO7Z2YL.mjs → chunk-YS7HBWOI.mjs} +5 -4
  89. package/dist/chunk-YS7HBWOI.mjs.map +1 -0
  90. package/dist/{chunk-D7QPJIUZ.mjs → chunk-YZDURLEY.mjs} +3 -3
  91. package/dist/{chunk-COEZA7WA.mjs → chunk-Z2ZCM4BE.mjs} +3 -3
  92. package/dist/{chunk-EMI7NAO2.mjs → chunk-ZOZPWP3N.mjs} +2 -2
  93. package/dist/description-list/description-list.mjs +2 -2
  94. package/dist/description-list/index.mjs +2 -2
  95. package/dist/footer/footer.mjs +9 -9
  96. package/dist/footer/index.mjs +9 -9
  97. package/dist/form/checkbox/checkbox.js.map +1 -1
  98. package/dist/form/checkbox/checkbox.mjs +4 -4
  99. package/dist/form/checkbox/index.js.map +1 -1
  100. package/dist/form/checkbox/index.mjs +4 -4
  101. package/dist/form/date-picker/date-picker.mjs +5 -5
  102. package/dist/form/date-picker/index.mjs +5 -5
  103. package/dist/form/error-message/error-message.mjs +2 -2
  104. package/dist/form/error-message/index.mjs +2 -2
  105. package/dist/form/fieldset/fieldset.d.ts +2 -2
  106. package/dist/form/fieldset/fieldset.js.map +1 -1
  107. package/dist/form/fieldset/fieldset.mjs +3 -3
  108. package/dist/form/fieldset/index.js.map +1 -1
  109. package/dist/form/fieldset/index.mjs +3 -3
  110. package/dist/form/index.d.ts +1 -1
  111. package/dist/form/index.d.ts.map +1 -1
  112. package/dist/form/index.js +15 -16
  113. package/dist/form/index.js.map +1 -1
  114. package/dist/form/index.mjs +23 -23
  115. package/dist/form/input/index.mjs +4 -4
  116. package/dist/form/input/input.mjs +4 -4
  117. package/dist/form/input-group/index.mjs +3 -3
  118. package/dist/form/input-group/input-group.mjs +3 -3
  119. package/dist/form/radio-button/index.d.ts +5 -0
  120. package/dist/form/radio-button/index.d.ts.map +1 -0
  121. package/dist/form/{radiobutton → radio-button}/index.js +19 -20
  122. package/dist/form/radio-button/index.js.map +1 -0
  123. package/dist/form/radio-button/index.mjs +19 -0
  124. package/dist/form/radio-button/index.mjs.map +1 -0
  125. package/dist/form/{radiobutton/radiobutton.d.ts → radio-button/radio-button.d.ts} +6 -6
  126. package/dist/form/radio-button/radio-button.d.ts.map +1 -0
  127. package/dist/form/{radiobutton/radiobutton.js → radio-button/radio-button.js} +19 -20
  128. package/dist/form/radio-button/radio-button.js.map +1 -0
  129. package/dist/form/radio-button/radio-button.mjs +13 -0
  130. package/dist/form/radio-button/radio-button.mjs.map +1 -0
  131. package/dist/form/{radiobutton/radiogroup.d.ts → radio-button/radio-group.d.ts} +7 -7
  132. package/dist/form/radio-button/radio-group.d.ts.map +1 -0
  133. package/dist/form/{radiobutton/radiogroup.js → radio-button/radio-group.js} +7 -6
  134. package/dist/form/radio-button/radio-group.js.map +1 -0
  135. package/dist/form/radio-button/radio-group.mjs +14 -0
  136. package/dist/form/radio-button/radio-group.mjs.map +1 -0
  137. package/dist/form/select/index.mjs +4 -4
  138. package/dist/form/select/select.mjs +4 -4
  139. package/dist/form/textarea/index.mjs +4 -4
  140. package/dist/form/textarea/textarea.mjs +4 -4
  141. package/dist/help-text/help-text.mjs +3 -3
  142. package/dist/help-text/index.mjs +3 -3
  143. package/dist/index.d.ts +1 -0
  144. package/dist/index.d.ts.map +1 -1
  145. package/dist/index.js +557 -535
  146. package/dist/index.js.map +1 -1
  147. package/dist/index.mjs +86 -81
  148. package/dist/layout/container/container.mjs +2 -2
  149. package/dist/layout/grid/grid.js +1 -2
  150. package/dist/layout/grid/grid.js.map +1 -1
  151. package/dist/layout/grid/grid.mjs +3 -3
  152. package/dist/layout/grid/index.js +1 -2
  153. package/dist/layout/grid/index.js.map +1 -1
  154. package/dist/layout/grid/index.mjs +3 -3
  155. package/dist/layout/index.js +1 -2
  156. package/dist/layout/index.js.map +1 -1
  157. package/dist/layout/index.mjs +5 -5
  158. package/dist/layout/responsive.js +1 -2
  159. package/dist/layout/responsive.js.map +1 -1
  160. package/dist/layout/responsive.mjs +2 -2
  161. package/dist/layout/spacing.mjs +1 -1
  162. package/dist/layout/stack/index.js +1 -2
  163. package/dist/layout/stack/index.js.map +1 -1
  164. package/dist/layout/stack/index.mjs +3 -3
  165. package/dist/layout/stack/stack.js +1 -2
  166. package/dist/layout/stack/stack.js.map +1 -1
  167. package/dist/layout/stack/stack.mjs +3 -3
  168. package/dist/link/index.mjs +2 -2
  169. package/dist/link/link.mjs +2 -2
  170. package/dist/list/index.mjs +3 -3
  171. package/dist/list/link-list.mjs +3 -3
  172. package/dist/list/list.mjs +2 -2
  173. package/dist/message/index.mjs +3 -3
  174. package/dist/message/message.mjs +3 -3
  175. package/dist/modal/index.js +4 -8
  176. package/dist/modal/index.js.map +1 -1
  177. package/dist/modal/index.mjs +4 -4
  178. package/dist/modal/modal.js +4 -8
  179. package/dist/modal/modal.js.map +1 -1
  180. package/dist/modal/modal.mjs +4 -4
  181. package/dist/navbar/icons.d.ts.map +1 -1
  182. package/dist/navbar/icons.js +16 -5
  183. package/dist/navbar/icons.js.map +1 -1
  184. package/dist/navbar/icons.mjs +2 -2
  185. package/dist/navbar/index.js +22 -16
  186. package/dist/navbar/index.js.map +1 -1
  187. package/dist/navbar/index.mjs +5 -5
  188. package/dist/navbar/navbar-expandable-menu.js +22 -16
  189. package/dist/navbar/navbar-expandable-menu.js.map +1 -1
  190. package/dist/navbar/navbar-expandable-menu.mjs +4 -4
  191. package/dist/navbar/navbar.js +22 -16
  192. package/dist/navbar/navbar.js.map +1 -1
  193. package/dist/navbar/navbar.mjs +5 -5
  194. package/dist/show-more/index.mjs +2 -2
  195. package/dist/show-more/show-more.mjs +2 -2
  196. package/dist/skeleton/index.mjs +2 -2
  197. package/dist/skeleton/skeleton.mjs +2 -2
  198. package/dist/step-indicator/index.mjs +2 -2
  199. package/dist/step-indicator/step-indicator.mjs +2 -2
  200. package/dist/styled-html/index.js +1 -1
  201. package/dist/styled-html/index.js.map +1 -1
  202. package/dist/styled-html/index.mjs +2 -2
  203. package/dist/styled-html/styled-html.d.ts +9 -1
  204. package/dist/styled-html/styled-html.d.ts.map +1 -1
  205. package/dist/styled-html/styled-html.js +1 -1
  206. package/dist/styled-html/styled-html.js.map +1 -1
  207. package/dist/styled-html/styled-html.mjs +2 -2
  208. package/dist/table/index.mjs +2 -2
  209. package/dist/table/table.mjs +2 -2
  210. package/dist/tabs/context.mjs +1 -1
  211. package/dist/tabs/index.js +1 -2
  212. package/dist/tabs/index.js.map +1 -1
  213. package/dist/tabs/index.mjs +5 -5
  214. package/dist/tabs/tabs-content.mjs +2 -2
  215. package/dist/tabs/tabs-list.js +1 -2
  216. package/dist/tabs/tabs-list.js.map +1 -1
  217. package/dist/tabs/tabs-list.mjs +3 -3
  218. package/dist/tabs/tabs.js +1 -2
  219. package/dist/tabs/tabs.js.map +1 -1
  220. package/dist/tabs/tabs.mjs +5 -5
  221. package/dist/text/index.mjs +2 -2
  222. package/dist/text/text.mjs +2 -2
  223. package/dist/utils/auto-animate-height.js +5 -10
  224. package/dist/utils/auto-animate-height.js.map +1 -1
  225. package/dist/utils/auto-animate-height.mjs +3 -3
  226. package/dist/utils/index.js +11 -21
  227. package/dist/utils/index.js.map +1 -1
  228. package/dist/utils/index.mjs +3 -3
  229. package/dist/utils/utils.js +6 -11
  230. package/dist/utils/utils.js.map +1 -1
  231. package/dist/utils/utils.mjs +2 -2
  232. package/dist/warning-banner/index.mjs +2 -2
  233. package/dist/warning-banner/warning-banner.mjs +2 -2
  234. package/package.json +3 -3
  235. package/src/accordion/accordion.stories.tsx +7 -113
  236. package/src/badge/badge.stories.tsx +1 -30
  237. package/src/badge/badge.tsx +7 -3
  238. package/src/blockquote/blockquote.stories.tsx +21 -0
  239. package/src/blockquote/blockquote.tsx +52 -0
  240. package/src/blockquote/index.tsx +3 -0
  241. package/src/box/box.stories.tsx +13 -84
  242. package/src/breadcrumbs/breadcrumbs.stories.tsx +7 -22
  243. package/src/button/button.stories.tsx +1 -85
  244. package/src/card/card.stories.tsx +1 -42
  245. package/src/description-list/description-list.stories.tsx +5 -71
  246. package/src/form/checkbox/checkbox.stories.tsx +4 -80
  247. package/src/form/date-picker/date-picker.stories.tsx +7 -7
  248. package/src/form/error-message/error-message.stories.tsx +2 -2
  249. package/src/form/fieldset/fieldset.stories.tsx +1 -58
  250. package/src/form/fieldset/fieldset.tsx +2 -2
  251. package/src/form/index.tsx +1 -1
  252. package/src/form/input/input.stories.tsx +1 -142
  253. package/src/form/radio-button/index.tsx +4 -0
  254. package/src/form/radio-button/radio-button.stories.tsx +25 -0
  255. package/src/form/{radiobutton/radiobutton.tsx → radio-button/radio-button.tsx} +13 -13
  256. package/src/form/{radiobutton/radiogroup.stories.tsx → radio-button/radio-group.stories.tsx} +8 -9
  257. package/src/form/{radiobutton/radiogroup.tsx → radio-button/radio-group.tsx} +7 -6
  258. package/src/form/select/select.stories.tsx +1 -61
  259. package/src/form/textarea/textarea.stories.tsx +4 -85
  260. package/src/help-text/help-text.stories.tsx +19 -0
  261. package/src/index.ts +1 -0
  262. package/src/layout/container/container.stories.tsx +17 -14
  263. package/src/layout/grid/grid.stories.tsx +27 -0
  264. package/src/layout/stack/stack.stories.tsx +27 -0
  265. package/src/link/link.stories.tsx +7 -38
  266. package/src/list/link-list.stories.tsx +24 -27
  267. package/src/list/list.stories.tsx +10 -48
  268. package/src/message/message.stories.tsx +7 -65
  269. package/src/modal/modal.stories.tsx +1 -103
  270. package/src/navbar/icons.tsx +10 -3
  271. package/src/navbar/navbar.stories.tsx +22 -62
  272. package/src/show-more/show-more.stories.tsx +2 -98
  273. package/src/skeleton/skeleton.stories.tsx +2 -126
  274. package/src/step-indicator/step-indicator.stories.tsx +1 -31
  275. package/src/styled-html/styled-html.stories.tsx +21 -155
  276. package/src/styled-html/styled-html.tsx +12 -2
  277. package/src/table/table.stories.tsx +42 -0
  278. package/src/tabs/tabs.stories.tsx +7 -114
  279. package/src/text/text.stories.tsx +17 -83
  280. package/src/warning-banner/warning-banner.stories.tsx +1 -23
  281. package/dist/chunk-2KX7VFN2.mjs +0 -1
  282. package/dist/chunk-GJO7Z2YL.mjs.map +0 -1
  283. package/dist/chunk-GQUFERB2.mjs.map +0 -1
  284. package/dist/chunk-I3ZIMS72.mjs.map +0 -1
  285. package/dist/chunk-LG7QWKFP.mjs.map +0 -1
  286. package/dist/chunk-MOU6WBT2.mjs +0 -26
  287. package/dist/chunk-MOU6WBT2.mjs.map +0 -1
  288. package/dist/chunk-O4HIHUMD.mjs.map +0 -1
  289. package/dist/form/radiobutton/index.d.ts +0 -5
  290. package/dist/form/radiobutton/index.d.ts.map +0 -1
  291. package/dist/form/radiobutton/index.js.map +0 -1
  292. package/dist/form/radiobutton/index.mjs +0 -19
  293. package/dist/form/radiobutton/radiobutton.d.ts.map +0 -1
  294. package/dist/form/radiobutton/radiobutton.js.map +0 -1
  295. package/dist/form/radiobutton/radiobutton.mjs +0 -13
  296. package/dist/form/radiobutton/radiogroup.d.ts.map +0 -1
  297. package/dist/form/radiobutton/radiogroup.js.map +0 -1
  298. package/dist/form/radiobutton/radiogroup.mjs +0 -14
  299. package/src/form/radiobutton/index.tsx +0 -4
  300. package/src/form/radiobutton/radiobutton.stories.tsx +0 -93
  301. /package/dist/{chunk-2KX7VFN2.mjs.map → blockquote/blockquote.mjs.map} +0 -0
  302. /package/dist/{form/radiobutton → blockquote}/index.mjs.map +0 -0
  303. /package/dist/{chunk-CCVZAHYA.mjs.map → chunk-35QRZSEV.mjs.map} +0 -0
  304. /package/dist/{chunk-AJWSQEDP.mjs.map → chunk-3OGHJOJF.mjs.map} +0 -0
  305. /package/dist/{chunk-USXU6ULZ.mjs.map → chunk-4QZR2H72.mjs.map} +0 -0
  306. /package/dist/{chunk-FB5GEZNH.mjs.map → chunk-5UGT7L7R.mjs.map} +0 -0
  307. /package/dist/{chunk-XFODQH3I.mjs.map → chunk-6BXKRPR3.mjs.map} +0 -0
  308. /package/dist/{chunk-EVUKWONG.mjs.map → chunk-6ZO2TMOX.mjs.map} +0 -0
  309. /package/dist/{chunk-YSFZCRWS.mjs.map → chunk-A42PXOVR.mjs.map} +0 -0
  310. /package/dist/{chunk-6MR5XZOX.mjs.map → chunk-AYCHNAU7.mjs.map} +0 -0
  311. /package/dist/{chunk-NU6OSFAU.mjs.map → chunk-AZ6X4L5C.mjs.map} +0 -0
  312. /package/dist/{chunk-SQ63E7KM.mjs.map → chunk-BHQ46L2O.mjs.map} +0 -0
  313. /package/dist/{chunk-HMATZX4A.mjs.map → chunk-C7ZTOZP3.mjs.map} +0 -0
  314. /package/dist/{chunk-RZZDMBB7.mjs.map → chunk-CC5QWW52.mjs.map} +0 -0
  315. /package/dist/{chunk-B6L7IFDX.mjs.map → chunk-CXX4SXJG.mjs.map} +0 -0
  316. /package/dist/{chunk-GGQB2WWD.mjs.map → chunk-DMOMTRIY.mjs.map} +0 -0
  317. /package/dist/{chunk-KI6WRKZY.mjs.map → chunk-EAFQ3XQU.mjs.map} +0 -0
  318. /package/dist/{chunk-L4YBHIS3.mjs.map → chunk-EMQB6JIS.mjs.map} +0 -0
  319. /package/dist/{chunk-SKVM7G76.mjs.map → chunk-EZVEYJOX.mjs.map} +0 -0
  320. /package/dist/{chunk-AXKJB47E.mjs.map → chunk-FUIKSOJF.mjs.map} +0 -0
  321. /package/dist/{chunk-UB2R7TCG.mjs.map → chunk-JUHJZLH2.mjs.map} +0 -0
  322. /package/dist/{chunk-VCQIR53Y.mjs.map → chunk-JZXZYEPG.mjs.map} +0 -0
  323. /package/dist/{chunk-R4SQKVDQ.mjs.map → chunk-KFDS3IPB.mjs.map} +0 -0
  324. /package/dist/{chunk-DEZVONZD.mjs.map → chunk-KNGG6M2I.mjs.map} +0 -0
  325. /package/dist/{chunk-WHMIHTPC.mjs.map → chunk-LGEGXOPU.mjs.map} +0 -0
  326. /package/dist/{chunk-OIC2CPID.mjs.map → chunk-M7MG7ZQT.mjs.map} +0 -0
  327. /package/dist/{chunk-HJYS664B.mjs.map → chunk-MYVC3HMO.mjs.map} +0 -0
  328. /package/dist/{chunk-WPCWXROV.mjs.map → chunk-NIYDN3Y3.mjs.map} +0 -0
  329. /package/dist/{chunk-GRWLX5BC.mjs.map → chunk-ROQH67YP.mjs.map} +0 -0
  330. /package/dist/{chunk-GGNMBB3K.mjs.map → chunk-S3QSGJX2.mjs.map} +0 -0
  331. /package/dist/{chunk-UP3M3NEZ.mjs.map → chunk-TC5PD4TA.mjs.map} +0 -0
  332. /package/dist/{chunk-MJ2DZH3N.mjs.map → chunk-VYS2QNTL.mjs.map} +0 -0
  333. /package/dist/{chunk-JF3HBGAA.mjs.map → chunk-WLESNP6Z.mjs.map} +0 -0
  334. /package/dist/{chunk-BVPSZ3JI.mjs.map → chunk-WUPLEZEY.mjs.map} +0 -0
  335. /package/dist/{form/radiobutton/radiobutton.mjs.map → chunk-XAFNJELJ.mjs.map} +0 -0
  336. /package/dist/{chunk-5UJ3LEKK.mjs.map → chunk-XQBJ75VD.mjs.map} +0 -0
  337. /package/dist/{form/radiobutton/radiogroup.mjs.map → chunk-YOSPWY5K.mjs.map} +0 -0
  338. /package/dist/{chunk-D7QPJIUZ.mjs.map → chunk-YZDURLEY.mjs.map} +0 -0
  339. /package/dist/{chunk-COEZA7WA.mjs.map → chunk-Z2ZCM4BE.mjs.map} +0 -0
  340. /package/dist/{chunk-EMI7NAO2.mjs.map → chunk-ZOZPWP3N.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -65,6 +65,7 @@ __export(src_exports, {
65
65
  AccordionItem: () => AccordionItem,
66
66
  AutoAnimateHeight: () => AutoAnimateHeight,
67
67
  Badge: () => Badge,
68
+ Blockquote: () => Blockquote,
68
69
  Box: () => Box,
69
70
  BoxCloseButton: () => BoxCloseButton,
70
71
  Breadcrumbs: () => Breadcrumbs,
@@ -116,8 +117,8 @@ __export(src_exports, {
116
117
  NavbarLogoAndServiceText: () => NavbarLogoAndServiceText,
117
118
  NavbarNavigation: () => NavbarNavigation,
118
119
  OrderedList: () => OrderedList,
120
+ RadioButton: () => RadioButton,
119
121
  RadioGroup: () => RadioGroup,
120
- Radiobutton: () => Radiobutton,
121
122
  Select: () => Select,
122
123
  ShowMoreButton: () => ShowMoreButton,
123
124
  Skeleton: () => Skeleton,
@@ -296,18 +297,44 @@ var Badge = (0, import_react6.forwardRef)(
296
297
  );
297
298
  Badge.displayName = "Badge";
298
299
 
299
- // src/box/box.tsx
300
- var import_react7 = require("react");
300
+ // src/blockquote/blockquote.tsx
301
301
  var import_typed_classname6 = require("@postenbring/hedwig-css/typed-classname");
302
302
  var import_react_slot2 = require("@radix-ui/react-slot");
303
+ var import_react7 = require("react");
303
304
  var import_jsx_runtime6 = require("react/jsx-runtime");
304
- var BoxCloseButton = (0, import_react7.forwardRef)(
305
+ var Blockquote = (0, import_react7.forwardRef)(
305
306
  (_a, ref) => {
306
- var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
307
+ var _b = _a, { children, asChild, className, variant } = _b, rest = __objRest(_b, ["children", "asChild", "className", "variant"]);
308
+ const Component = asChild ? import_react_slot2.Slot : "blockquote";
307
309
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
310
+ Component,
311
+ __spreadProps(__spreadValues({
312
+ ref,
313
+ className: (0, import_typed_classname6.clsx)(
314
+ "hds-blockquote",
315
+ variant === "norwegian" && `hds-blockquote--norwegian`,
316
+ className
317
+ )
318
+ }, rest), {
319
+ children
320
+ })
321
+ );
322
+ }
323
+ );
324
+ Blockquote.displayName = "Blockquote";
325
+
326
+ // src/box/box.tsx
327
+ var import_react8 = require("react");
328
+ var import_typed_classname7 = require("@postenbring/hedwig-css/typed-classname");
329
+ var import_react_slot3 = require("@radix-ui/react-slot");
330
+ var import_jsx_runtime7 = require("react/jsx-runtime");
331
+ var BoxCloseButton = (0, import_react8.forwardRef)(
332
+ (_a, ref) => {
333
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
334
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
308
335
  "button",
309
336
  __spreadValues({
310
- className: (0, import_typed_classname6.clsx)("hds-box__close-button", className),
337
+ className: (0, import_typed_classname7.clsx)("hds-box__close-button", className),
311
338
  ref,
312
339
  type: "button"
313
340
  }, rest)
@@ -315,7 +342,7 @@ var BoxCloseButton = (0, import_react7.forwardRef)(
315
342
  }
316
343
  );
317
344
  BoxCloseButton.displayName = "Box.CloseButton";
318
- var Box = (0, import_react7.forwardRef)(
345
+ var Box = (0, import_react8.forwardRef)(
319
346
  (_a, ref) => {
320
347
  var _b = _a, {
321
348
  asChild,
@@ -336,8 +363,8 @@ var Box = (0, import_react7.forwardRef)(
336
363
  "children",
337
364
  "className"
338
365
  ]);
339
- const [closedState, setClosedState] = (0, import_react7.useState)(false);
340
- const onClose = (0, import_react7.useCallback)(() => {
366
+ const [closedState, setClosedState] = (0, import_react8.useState)(false);
367
+ const onClose = (0, import_react8.useCallback)(() => {
341
368
  if (onCloseProp) {
342
369
  const result = onCloseProp();
343
370
  if (result === true) {
@@ -348,11 +375,11 @@ var Box = (0, import_react7.forwardRef)(
348
375
  }
349
376
  }, []);
350
377
  const closed = closedProp != null ? closedProp : closedState;
351
- const Component = asChild ? import_react_slot2.Slot : "div";
352
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
378
+ const Component = asChild ? import_react_slot3.Slot : "div";
379
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
353
380
  Component,
354
381
  __spreadProps(__spreadValues({
355
- className: (0, import_typed_classname6.clsx)(
382
+ className: (0, import_typed_classname7.clsx)(
356
383
  "hds-box",
357
384
  variant && `hds-box--${variant}`,
358
385
  { "hds-box--closed": closed },
@@ -361,8 +388,8 @@ var Box = (0, import_react7.forwardRef)(
361
388
  ref
362
389
  }, rest), {
363
390
  children: [
364
- closeable ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(BoxCloseButton, __spreadValues({ onClick: onClose }, closeButtonProps)) : null,
365
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_slot2.Slottable, { children })
391
+ closeable ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(BoxCloseButton, __spreadValues({ onClick: onClose }, closeButtonProps)) : null,
392
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_slot3.Slottable, { children })
366
393
  ]
367
394
  })
368
395
  );
@@ -372,23 +399,23 @@ Box.displayName = "Box";
372
399
  Box.CloseButton = BoxCloseButton;
373
400
 
374
401
  // src/breadcrumbs/breadcrumbs.tsx
375
- var import_react8 = require("react");
376
- var import_typed_classname7 = require("@postenbring/hedwig-css/typed-classname");
377
- var import_jsx_runtime7 = require("react/jsx-runtime");
378
- var Breadcrumbs = (0, import_react8.forwardRef)(
402
+ var import_react9 = require("react");
403
+ var import_typed_classname8 = require("@postenbring/hedwig-css/typed-classname");
404
+ var import_jsx_runtime8 = require("react/jsx-runtime");
405
+ var Breadcrumbs = (0, import_react9.forwardRef)(
379
406
  (_a, ref) => {
380
407
  var _b = _a, { olProps, children } = _b, rest = __objRest(_b, ["olProps", "children"]);
381
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("nav", __spreadProps(__spreadValues({ ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("ol", __spreadProps(__spreadValues({}, olProps), { className: (0, import_typed_classname7.clsx)("hds-breadcrumbs", olProps == null ? void 0 : olProps.className), children })) }));
408
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("nav", __spreadProps(__spreadValues({ ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("ol", __spreadProps(__spreadValues({}, olProps), { className: (0, import_typed_classname8.clsx)("hds-breadcrumbs", olProps == null ? void 0 : olProps.className), children })) }));
382
409
  }
383
410
  );
384
411
  Breadcrumbs.displayName = "Breadcrumbs";
385
412
 
386
413
  // src/button/button.tsx
387
- var import_react9 = require("react");
388
- var import_typed_classname8 = require("@postenbring/hedwig-css/typed-classname");
389
- var import_react_slot3 = require("@radix-ui/react-slot");
390
- var import_jsx_runtime8 = require("react/jsx-runtime");
391
- var Button = (0, import_react9.forwardRef)(
414
+ var import_react10 = require("react");
415
+ var import_typed_classname9 = require("@postenbring/hedwig-css/typed-classname");
416
+ var import_react_slot4 = require("@radix-ui/react-slot");
417
+ var import_jsx_runtime9 = require("react/jsx-runtime");
418
+ var Button = (0, import_react10.forwardRef)(
392
419
  (_a, ref) => {
393
420
  var _b = _a, {
394
421
  asChild,
@@ -407,11 +434,11 @@ var Button = (0, import_react9.forwardRef)(
407
434
  "icon",
408
435
  "className"
409
436
  ]);
410
- const Component = asChild ? import_react_slot3.Slot : "button";
411
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
437
+ const Component = asChild ? import_react_slot4.Slot : "button";
438
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
412
439
  Component,
413
440
  __spreadProps(__spreadValues({
414
- className: (0, import_typed_classname8.clsx)(
441
+ className: (0, import_typed_classname9.clsx)(
415
442
  "hds-button",
416
443
  `hds-button--${size}`,
417
444
  `hds-button--${variant}`,
@@ -432,61 +459,61 @@ var Button = (0, import_react9.forwardRef)(
432
459
  Button.displayName = "Button";
433
460
 
434
461
  // src/card/card.tsx
435
- var import_react10 = require("react");
436
- var import_typed_classname9 = require("@postenbring/hedwig-css/typed-classname");
437
- var import_react_slot4 = require("@radix-ui/react-slot");
438
- var import_jsx_runtime9 = require("react/jsx-runtime");
439
- var CardMedia = (0, import_react10.forwardRef)(
462
+ var import_react11 = require("react");
463
+ var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname");
464
+ var import_react_slot5 = require("@radix-ui/react-slot");
465
+ var import_jsx_runtime10 = require("react/jsx-runtime");
466
+ var CardMedia = (0, import_react11.forwardRef)(
440
467
  (_a, ref) => {
441
468
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
442
- const Component = asChild ? import_react_slot4.Slot : "div";
443
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname9.clsx)("hds-card__media", className), ref, children }));
469
+ const Component = asChild ? import_react_slot5.Slot : "div";
470
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname10.clsx)("hds-card__media", className), ref, children }));
444
471
  }
445
472
  );
446
473
  CardMedia.displayName = "Card.Media";
447
- var CardMediaImg = (0, import_react10.forwardRef)(
474
+ var CardMediaImg = (0, import_react11.forwardRef)(
448
475
  (_a, ref) => {
449
476
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
450
- const Component = asChild ? import_react_slot4.Slot : "img";
451
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
477
+ const Component = asChild ? import_react_slot5.Slot : "img";
478
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
452
479
  Component,
453
480
  __spreadProps(__spreadValues({}, rest), {
454
- className: (0, import_typed_classname9.clsx)("hds-card__media__img", className),
481
+ className: (0, import_typed_classname10.clsx)("hds-card__media__img", className),
455
482
  ref
456
483
  })
457
484
  );
458
485
  }
459
486
  );
460
487
  CardMediaImg.displayName = "Card.MediaImg";
461
- var CardBody = (0, import_react10.forwardRef)(
488
+ var CardBody = (0, import_react11.forwardRef)(
462
489
  (_a, ref) => {
463
490
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
464
- const Component = asChild ? import_react_slot4.Slot : "div";
465
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname9.clsx)("hds-card__body", className), ref, children }));
491
+ const Component = asChild ? import_react_slot5.Slot : "div";
492
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname10.clsx)("hds-card__body", className), ref, children }));
466
493
  }
467
494
  );
468
495
  CardBody.displayName = "Card.Body";
469
- var CardBodyHeader = (0, import_react10.forwardRef)((_a, ref) => {
496
+ var CardBodyHeader = (0, import_react11.forwardRef)((_a, ref) => {
470
497
  var _b = _a, { as: Tag, asChild, className, children } = _b, rest = __objRest(_b, ["as", "asChild", "className", "children"]);
471
- const Component = asChild ? import_react_slot4.Slot : Tag;
472
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
498
+ const Component = asChild ? import_react_slot5.Slot : Tag;
499
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
473
500
  Component,
474
501
  __spreadProps(__spreadValues({}, rest), {
475
- className: (0, import_typed_classname9.clsx)("hds-card__body-header", className),
502
+ className: (0, import_typed_classname10.clsx)("hds-card__body-header", className),
476
503
  ref,
477
504
  children
478
505
  })
479
506
  );
480
507
  });
481
508
  CardBodyHeader.displayName = "Card.BodyHeader";
482
- var CardBodyHeaderOverline = (0, import_react10.forwardRef)(
509
+ var CardBodyHeaderOverline = (0, import_react11.forwardRef)(
483
510
  (_a, ref) => {
484
511
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
485
- const Component = asChild ? import_react_slot4.Slot : "span";
486
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
512
+ const Component = asChild ? import_react_slot5.Slot : "span";
513
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
487
514
  Component,
488
515
  __spreadProps(__spreadValues({}, rest), {
489
- className: (0, import_typed_classname9.clsx)("hds-card__body-header-overline", className),
516
+ className: (0, import_typed_classname10.clsx)("hds-card__body-header-overline", className),
490
517
  ref,
491
518
  children
492
519
  })
@@ -494,14 +521,14 @@ var CardBodyHeaderOverline = (0, import_react10.forwardRef)(
494
521
  }
495
522
  );
496
523
  CardBodyHeaderOverline.displayName = "Card.BodyHeaderOverline";
497
- var CardBodyHeaderTitle = (0, import_react10.forwardRef)(
524
+ var CardBodyHeaderTitle = (0, import_react11.forwardRef)(
498
525
  (_a, ref) => {
499
526
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
500
- const Component = asChild ? import_react_slot4.Slot : "div";
501
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
527
+ const Component = asChild ? import_react_slot5.Slot : "div";
528
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
502
529
  Component,
503
530
  __spreadProps(__spreadValues({}, rest), {
504
- className: (0, import_typed_classname9.clsx)("hds-card__body-header-title", className),
531
+ className: (0, import_typed_classname10.clsx)("hds-card__body-header-title", className),
505
532
  ref,
506
533
  children
507
534
  })
@@ -509,14 +536,14 @@ var CardBodyHeaderTitle = (0, import_react10.forwardRef)(
509
536
  }
510
537
  );
511
538
  CardBodyHeaderTitle.displayName = "Card.BodyHeaderTitle";
512
- var CardBodyDescription = (0, import_react10.forwardRef)(
539
+ var CardBodyDescription = (0, import_react11.forwardRef)(
513
540
  (_a, ref) => {
514
541
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
515
- const Component = asChild ? import_react_slot4.Slot : "p";
516
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
542
+ const Component = asChild ? import_react_slot5.Slot : "p";
543
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
517
544
  Component,
518
545
  __spreadProps(__spreadValues({}, rest), {
519
- className: (0, import_typed_classname9.clsx)("hds-card__body-description", className),
546
+ className: (0, import_typed_classname10.clsx)("hds-card__body-description", className),
520
547
  ref,
521
548
  children
522
549
  })
@@ -524,14 +551,14 @@ var CardBodyDescription = (0, import_react10.forwardRef)(
524
551
  }
525
552
  );
526
553
  CardBodyDescription.displayName = "Card.BodyDescription";
527
- var CardBodyAction = (0, import_react10.forwardRef)(
554
+ var CardBodyAction = (0, import_react11.forwardRef)(
528
555
  (_a, ref) => {
529
556
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
530
- const Component = asChild ? import_react_slot4.Slot : "div";
531
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
557
+ const Component = asChild ? import_react_slot5.Slot : "div";
558
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
532
559
  Component,
533
560
  __spreadProps(__spreadValues({}, rest), {
534
- className: (0, import_typed_classname9.clsx)("hds-card__body-action", className),
561
+ className: (0, import_typed_classname10.clsx)("hds-card__body-action", className),
535
562
  ref,
536
563
  children
537
564
  })
@@ -539,25 +566,25 @@ var CardBodyAction = (0, import_react10.forwardRef)(
539
566
  }
540
567
  );
541
568
  CardBodyAction.displayName = "Card.BodyAction";
542
- var CardBodyActionArrow = (0, import_react10.forwardRef)(
569
+ var CardBodyActionArrow = (0, import_react11.forwardRef)(
543
570
  (_a, ref) => {
544
571
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
545
- const Component = asChild ? import_react_slot4.Slot : "span";
546
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
572
+ const Component = asChild ? import_react_slot5.Slot : "span";
573
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
547
574
  Component,
548
575
  __spreadProps(__spreadValues({}, rest), {
549
- className: (0, import_typed_classname9.clsx)("hds-card__body-action-arrow", className),
576
+ className: (0, import_typed_classname10.clsx)("hds-card__body-action-arrow", className),
550
577
  ref
551
578
  })
552
579
  );
553
580
  }
554
581
  );
555
582
  CardBodyActionArrow.displayName = "Card.BodyActionArrow";
556
- var Card = (0, import_react10.forwardRef)(
583
+ var Card = (0, import_react11.forwardRef)(
557
584
  (_a, ref) => {
558
585
  var _b = _a, { as: Tag = "section", asChild, className, children } = _b, rest = __objRest(_b, ["as", "asChild", "className", "children"]);
559
- const Component = asChild ? import_react_slot4.Slot : Tag;
560
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname9.clsx)("hds-card", className), ref, children }));
586
+ const Component = asChild ? import_react_slot5.Slot : Tag;
587
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname10.clsx)("hds-card", className), ref, children }));
561
588
  }
562
589
  );
563
590
  Card.displayName = "Card";
@@ -572,17 +599,17 @@ Card.BodyAction = CardBodyAction;
572
599
  Card.BodyActionArrow = CardBodyActionArrow;
573
600
 
574
601
  // src/description-list/description-list.tsx
575
- var import_react11 = require("react");
576
- var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname");
577
- var import_jsx_runtime10 = require("react/jsx-runtime");
578
- var DescriptionList = (0, import_react11.forwardRef)(
602
+ var import_react12 = require("react");
603
+ var import_typed_classname11 = require("@postenbring/hedwig-css/typed-classname");
604
+ var import_jsx_runtime11 = require("react/jsx-runtime");
605
+ var DescriptionList = (0, import_react12.forwardRef)(
579
606
  (_a, ref) => {
580
607
  var _b = _a, { variant = "vertical", className } = _b, rest = __objRest(_b, ["variant", "className"]);
581
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
608
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
582
609
  "dl",
583
610
  __spreadValues({
584
611
  ref,
585
- className: (0, import_typed_classname10.clsx)(
612
+ className: (0, import_typed_classname11.clsx)(
586
613
  "hds-description-list",
587
614
  {
588
615
  "hds-description-list--horizontal": variant === "horizontal"
@@ -596,21 +623,21 @@ var DescriptionList = (0, import_react11.forwardRef)(
596
623
  DescriptionList.displayName = "DescriptionList";
597
624
 
598
625
  // src/form/checkbox/checkbox.tsx
599
- var import_react14 = require("react");
600
- var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname");
626
+ var import_react15 = require("react");
627
+ var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname");
601
628
 
602
629
  // src/form/error-message/error-message.tsx
603
- var import_typed_classname11 = require("@postenbring/hedwig-css/typed-classname");
604
- var import_react12 = require("react");
605
- var import_jsx_runtime11 = require("react/jsx-runtime");
606
- var ErrorMessage = (0, import_react12.forwardRef)(
630
+ var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname");
631
+ var import_react13 = require("react");
632
+ var import_jsx_runtime12 = require("react/jsx-runtime");
633
+ var ErrorMessage = (0, import_react13.forwardRef)(
607
634
  (_a, ref) => {
608
635
  var _b = _a, { children, id, className } = _b, rest = __objRest(_b, ["children", "id", "className"]);
609
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
636
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
610
637
  "div",
611
638
  __spreadProps(__spreadValues({
612
639
  "aria-live": "assertive",
613
- className: (0, import_typed_classname11.clsx)("hds-error-message", className),
640
+ className: (0, import_typed_classname12.clsx)("hds-error-message", className),
614
641
  id,
615
642
  ref
616
643
  }, rest), {
@@ -622,12 +649,12 @@ var ErrorMessage = (0, import_react12.forwardRef)(
622
649
  ErrorMessage.displayName = "ErrorMessage";
623
650
 
624
651
  // src/form/fieldset/fieldset.tsx
625
- var import_react13 = require("react");
626
- var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname");
627
- var import_jsx_runtime12 = require("react/jsx-runtime");
628
- var FieldsetContext = (0, import_react13.createContext)({ hasError: false });
629
- var useFieldsetContext = () => (0, import_react13.useContext)(FieldsetContext);
630
- var Fieldset = (0, import_react13.forwardRef)(function Fieldset2(_a, ref) {
652
+ var import_react14 = require("react");
653
+ var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname");
654
+ var import_jsx_runtime13 = require("react/jsx-runtime");
655
+ var FieldsetContext = (0, import_react14.createContext)({ hasError: false });
656
+ var useFieldsetContext = () => (0, import_react14.useContext)(FieldsetContext);
657
+ var Fieldset = (0, import_react14.forwardRef)(function Fieldset2(_a, ref) {
631
658
  var _b = _a, {
632
659
  className,
633
660
  style,
@@ -644,21 +671,21 @@ var Fieldset = (0, import_react13.forwardRef)(function Fieldset2(_a, ref) {
644
671
  "legend",
645
672
  "children"
646
673
  ]);
647
- const errorMessageId = (0, import_react13.useId)();
648
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
674
+ const errorMessageId = (0, import_react14.useId)();
675
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
649
676
  "fieldset",
650
677
  __spreadProps(__spreadValues({
651
678
  "aria-describedby": errorMessage ? errorMessageId : void 0,
652
679
  "aria-invalid": errorMessage ? true : void 0,
653
- className: (0, import_typed_classname12.clsx)("hds-fieldset", className),
680
+ className: (0, import_typed_classname13.clsx)("hds-fieldset", className),
654
681
  ref,
655
682
  style
656
683
  }, rest), {
657
684
  children: [
658
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
685
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
659
686
  "legend",
660
687
  __spreadProps(__spreadValues({
661
- className: (0, import_typed_classname12.clsx)(
688
+ className: (0, import_typed_classname13.clsx)(
662
689
  "hds-fieldset__legend",
663
690
  { [`hds-fieldset__legend--${legendSize}`]: legendSize },
664
691
  legendClassName
@@ -667,16 +694,16 @@ var Fieldset = (0, import_react13.forwardRef)(function Fieldset2(_a, ref) {
667
694
  children: legend
668
695
  })
669
696
  ),
670
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(FieldsetContext.Provider, { value: { hasError: Boolean(errorMessage) }, children }),
671
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
697
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(FieldsetContext.Provider, { value: { hasError: Boolean(errorMessage) }, children }),
698
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
672
699
  ]
673
700
  })
674
701
  );
675
702
  });
676
703
 
677
704
  // src/form/checkbox/checkbox.tsx
678
- var import_jsx_runtime13 = require("react/jsx-runtime");
679
- var Checkbox = (0, import_react14.forwardRef)(
705
+ var import_jsx_runtime14 = require("react/jsx-runtime");
706
+ var Checkbox = (0, import_react15.forwardRef)(
680
707
  (_a, ref) => {
681
708
  var _b = _a, {
682
709
  variant = "plain",
@@ -693,14 +720,14 @@ var Checkbox = (0, import_react14.forwardRef)(
693
720
  "children",
694
721
  "className"
695
722
  ]);
696
- const errorMessageId = (0, import_react14.useId)();
723
+ const errorMessageId = (0, import_react15.useId)();
697
724
  const { hasError: hasFieldsetError } = useFieldsetContext();
698
725
  const hasError = !!errorMessage || hasFieldsetError || hasErrorProp;
699
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: (0, import_typed_classname13.clsx)("hds-checkbox-wrapper"), children: [
700
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
726
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: (0, import_typed_classname14.clsx)("hds-checkbox-wrapper"), children: [
727
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
701
728
  "div",
702
729
  {
703
- className: (0, import_typed_classname13.clsx)(
730
+ className: (0, import_typed_classname14.clsx)(
704
731
  "hds-checkbox",
705
732
  {
706
733
  [`hds-checkbox--${variant}`]: variant === "bounding-box",
@@ -709,8 +736,8 @@ var Checkbox = (0, import_react14.forwardRef)(
709
736
  className
710
737
  ),
711
738
  children: [
712
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("label", { children: [
713
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
739
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("label", { children: [
740
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
714
741
  "input",
715
742
  __spreadProps(__spreadValues({}, rest), {
716
743
  "aria-invalid": hasError ? true : void 0,
@@ -719,28 +746,28 @@ var Checkbox = (0, import_react14.forwardRef)(
719
746
  type: "checkbox"
720
747
  })
721
748
  ),
722
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
723
- title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
749
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
750
+ title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
724
751
  ] }),
725
752
  title ? children : null
726
753
  ]
727
754
  }
728
755
  ),
729
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage }) : null
756
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage }) : null
730
757
  ] });
731
758
  }
732
759
  );
733
760
  Checkbox.displayName = "Checkbox";
734
761
 
735
762
  // src/form/date-picker/date-picker.tsx
736
- var import_react17 = require("react");
737
- var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
763
+ var import_react18 = require("react");
764
+ var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
738
765
 
739
766
  // src/form/input-group/input-group.tsx
740
- var import_react15 = require("react");
741
- var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname");
742
- var import_jsx_runtime14 = require("react/jsx-runtime");
743
- var InputGroup = (0, import_react15.forwardRef)(function InputGroup2(_a, ref) {
767
+ var import_react16 = require("react");
768
+ var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
769
+ var import_jsx_runtime15 = require("react/jsx-runtime");
770
+ var InputGroup = (0, import_react16.forwardRef)(function InputGroup2(_a, ref) {
744
771
  var _b = _a, {
745
772
  id,
746
773
  className,
@@ -765,31 +792,31 @@ var InputGroup = (0, import_react15.forwardRef)(function InputGroup2(_a, ref) {
765
792
  "readOnly",
766
793
  "children"
767
794
  ]);
768
- const errorMessageId = (0, import_react15.useId)();
769
- const inputId = (0, import_react15.useId)();
795
+ const errorMessageId = (0, import_react16.useId)();
796
+ const inputId = (0, import_react16.useId)();
770
797
  const renderInput = () => {
771
798
  var _a2;
772
799
  const inputProps = {
773
800
  "aria-describedby": errorMessage ? errorMessageId : void 0,
774
801
  "aria-invalid": errorMessage ? true : void 0,
775
802
  id: id != null ? id : inputId,
776
- className: (0, import_typed_classname14.clsx)("hds-input-group__input")
803
+ className: (0, import_typed_classname15.clsx)("hds-input-group__input")
777
804
  };
778
805
  if (typeof children === "function") {
779
806
  return children(inputProps);
780
807
  }
781
- const input = import_react15.Children.toArray(children)[0];
782
- if (!(0, import_react15.isValidElement)(input)) {
808
+ const input = import_react16.Children.toArray(children)[0];
809
+ if (!(0, import_react16.isValidElement)(input)) {
783
810
  return;
784
811
  }
785
- return (0, import_react15.cloneElement)(input, __spreadProps(__spreadValues(__spreadValues({}, inputProps), input.props), {
812
+ return (0, import_react16.cloneElement)(input, __spreadProps(__spreadValues(__spreadValues({}, inputProps), input.props), {
786
813
  className: `${inputProps.className} ${(_a2 = input.props.className) != null ? _a2 : ""}`
787
814
  }));
788
815
  };
789
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
816
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
790
817
  "div",
791
818
  __spreadProps(__spreadValues({
792
- className: (0, import_typed_classname14.clsx)(
819
+ className: (0, import_typed_classname15.clsx)(
793
820
  "hds-input-group",
794
821
  {
795
822
  [`hds-input-group--${variant}`]: variant,
@@ -801,25 +828,25 @@ var InputGroup = (0, import_react15.forwardRef)(function InputGroup2(_a, ref) {
801
828
  style
802
829
  }, rest), {
803
830
  children: [
804
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
831
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
805
832
  "label",
806
833
  __spreadProps(__spreadValues({
807
- className: (0, import_typed_classname14.clsx)("hds-input-group__label", labelClassName)
834
+ className: (0, import_typed_classname15.clsx)("hds-input-group__label", labelClassName)
808
835
  }, labelProps), {
809
836
  htmlFor: id != null ? id : inputId,
810
837
  children: label
811
838
  })
812
839
  ),
813
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
840
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
814
841
  "div",
815
842
  {
816
- className: (0, import_typed_classname14.clsx)("hds-input-group__input-wrapper"),
843
+ className: (0, import_typed_classname15.clsx)("hds-input-group__input-wrapper"),
817
844
  "data-disabled": disabled,
818
845
  "data-readonly": readOnly,
819
846
  children: renderInput()
820
847
  }
821
848
  ),
822
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
849
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
823
850
  ]
824
851
  })
825
852
  );
@@ -827,7 +854,7 @@ var InputGroup = (0, import_react15.forwardRef)(function InputGroup2(_a, ref) {
827
854
 
828
855
  // src/utils/utils.ts
829
856
  var React = __toESM(require("react"));
830
- var import_react16 = require("react");
857
+ var import_react17 = require("react");
831
858
  function useMergeRefs(refs) {
832
859
  return React.useMemo(() => {
833
860
  if (refs.every((ref) => ref === null)) {
@@ -845,16 +872,16 @@ function useMergeRefs(refs) {
845
872
  }, refs);
846
873
  }
847
874
  function useResize(ref) {
848
- const [width, setWidth] = (0, import_react16.useState)(0);
849
- const [height, setHeight] = (0, import_react16.useState)(0);
850
- const handleResize = (0, import_react16.useCallback)(() => {
875
+ const [width, setWidth] = (0, import_react17.useState)(0);
876
+ const [height, setHeight] = (0, import_react17.useState)(0);
877
+ const handleResize = (0, import_react17.useCallback)(() => {
851
878
  var _a, _b, _c, _d;
852
879
  if ((ref == null ? void 0 : ref.current) !== null) {
853
880
  setWidth((_b = (_a = ref == null ? void 0 : ref.current) == null ? void 0 : _a.offsetWidth) != null ? _b : 0);
854
881
  setHeight((_d = (_c = ref == null ? void 0 : ref.current) == null ? void 0 : _c.offsetHeight) != null ? _d : 0);
855
882
  }
856
883
  }, [ref]);
857
- (0, import_react16.useEffect)(() => {
884
+ (0, import_react17.useEffect)(() => {
858
885
  window.addEventListener("load", handleResize);
859
886
  window.addEventListener("resize", handleResize);
860
887
  return () => {
@@ -862,7 +889,7 @@ function useResize(ref) {
862
889
  window.removeEventListener("resize", handleResize);
863
890
  };
864
891
  }, [ref, handleResize]);
865
- (0, import_react16.useEffect)(() => {
892
+ (0, import_react17.useEffect)(() => {
866
893
  handleResize();
867
894
  }, []);
868
895
  return { width, height };
@@ -880,20 +907,15 @@ function useHydrated() {
880
907
  }
881
908
  function focusTrap(element) {
882
909
  var _a, _b;
883
- if (element === document.body)
884
- return () => {
885
- };
910
+ if (element === document.body) return () => {
911
+ };
886
912
  let inertElements = [];
887
913
  for (let el = element; el; el = el.parentElement) {
888
- if (el === document.body)
889
- break;
914
+ if (el === document.body) break;
890
915
  for (const sibling of (_b = (_a = el.parentElement) == null ? void 0 : _a.children) != null ? _b : []) {
891
- if (sibling === el)
892
- continue;
893
- if (!(sibling instanceof HTMLElement))
894
- continue;
895
- if (sibling.hasAttribute("inert"))
896
- continue;
916
+ if (sibling === el) continue;
917
+ if (!(sibling instanceof HTMLElement)) continue;
918
+ if (sibling.hasAttribute("inert")) continue;
897
919
  sibling.setAttribute("inert", "true");
898
920
  inertElements.push(sibling);
899
921
  }
@@ -910,8 +932,8 @@ function releaseFocusTrap(inertElements) {
910
932
  }
911
933
 
912
934
  // src/form/date-picker/date-picker.tsx
913
- var import_jsx_runtime15 = require("react/jsx-runtime");
914
- var DatePicker = (0, import_react17.forwardRef)(function DatePicker2(_a, ref) {
935
+ var import_jsx_runtime16 = require("react/jsx-runtime");
936
+ var DatePicker = (0, import_react18.forwardRef)(function DatePicker2(_a, ref) {
915
937
  var _b = _a, {
916
938
  className,
917
939
  variant,
@@ -935,12 +957,12 @@ var DatePicker = (0, import_react17.forwardRef)(function DatePicker2(_a, ref) {
935
957
  "readOnly",
936
958
  "calendarButtonTitle"
937
959
  ]);
938
- const inputRef = (0, import_react17.useRef)(null);
960
+ const inputRef = (0, import_react18.useRef)(null);
939
961
  const mergedRef = useMergeRefs([inputRef, ref]);
940
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
962
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
941
963
  InputGroup,
942
964
  {
943
- className: (0, import_typed_classname15.clsx)("hds-date-picker", className),
965
+ className: (0, import_typed_classname16.clsx)("hds-date-picker", className),
944
966
  disabled,
945
967
  errorMessage,
946
968
  id,
@@ -949,8 +971,8 @@ var DatePicker = (0, import_react17.forwardRef)(function DatePicker2(_a, ref) {
949
971
  readOnly,
950
972
  style,
951
973
  variant,
952
- children: (inputProps) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
953
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
974
+ children: (inputProps) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
975
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
954
976
  "input",
955
977
  __spreadProps(__spreadValues(__spreadValues({}, rest), inputProps), {
956
978
  disabled,
@@ -959,10 +981,10 @@ var DatePicker = (0, import_react17.forwardRef)(function DatePicker2(_a, ref) {
959
981
  type: "date"
960
982
  })
961
983
  ),
962
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
984
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
963
985
  "button",
964
986
  {
965
- className: (0, import_typed_classname15.clsx)("hds-date-picker__calendar-button"),
987
+ className: (0, import_typed_classname16.clsx)("hds-date-picker__calendar-button"),
966
988
  type: "button",
967
989
  title: calendarButtonTitle,
968
990
  onClick: () => {
@@ -978,15 +1000,15 @@ var DatePicker = (0, import_react17.forwardRef)(function DatePicker2(_a, ref) {
978
1000
  DatePicker.displayName = "DatePicker";
979
1001
 
980
1002
  // src/form/input/input.tsx
981
- var import_react18 = require("react");
982
- var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
983
- var import_jsx_runtime16 = require("react/jsx-runtime");
984
- var Input = (0, import_react18.forwardRef)(function Input2(_a, ref) {
1003
+ var import_react19 = require("react");
1004
+ var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
1005
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1006
+ var Input = (0, import_react19.forwardRef)(function Input2(_a, ref) {
985
1007
  var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
986
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1008
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
987
1009
  InputGroup,
988
1010
  {
989
- className: (0, import_typed_classname16.clsx)("hds-input", className),
1011
+ className: (0, import_typed_classname17.clsx)("hds-input", className),
990
1012
  disabled,
991
1013
  errorMessage,
992
1014
  id,
@@ -995,46 +1017,45 @@ var Input = (0, import_react18.forwardRef)(function Input2(_a, ref) {
995
1017
  readOnly,
996
1018
  style,
997
1019
  variant,
998
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
1020
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
999
1021
  }
1000
1022
  );
1001
1023
  });
1002
1024
  Input.displayName = "Input";
1003
1025
 
1004
- // src/form/radiobutton/radiobutton.tsx
1005
- var import_react20 = require("react");
1006
- var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
1026
+ // src/form/radio-button/radio-button.tsx
1027
+ var import_react21 = require("react");
1028
+ var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
1007
1029
 
1008
- // src/form/radiobutton/radiogroup.tsx
1009
- var import_react19 = require("react");
1010
- var import_jsx_runtime17 = require("react/jsx-runtime");
1011
- var RadioGroupContext = (0, import_react19.createContext)({
1030
+ // src/form/radio-button/radio-group.tsx
1031
+ var import_react20 = require("react");
1032
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1033
+ var RadioGroupContext = (0, import_react20.createContext)({
1034
+ name: void 0,
1012
1035
  hasError: false,
1013
1036
  onChange: () => {
1014
1037
  return void 0;
1015
1038
  }
1016
1039
  });
1017
- var useRadioGroupContext = () => (0, import_react19.useContext)(RadioGroupContext);
1018
- var RadioGroup = (0, import_react19.forwardRef)(function RadioGroup2(_a, ref) {
1040
+ var useRadioGroupContext = () => (0, import_react20.useContext)(RadioGroupContext);
1041
+ var RadioGroup = (0, import_react20.forwardRef)(function RadioGroup2(_a, ref) {
1019
1042
  var _b = _a, { name, value, errorMessage, onChange, children } = _b, rest = __objRest(_b, ["name", "value", "errorMessage", "onChange", "children"]);
1020
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(RadioGroupContext.Provider, { value: { name, value, hasError: Boolean(errorMessage), onChange }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Fieldset, __spreadProps(__spreadValues({ errorMessage }, rest), { ref, children })) });
1043
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(RadioGroupContext.Provider, { value: { name, value, hasError: Boolean(errorMessage), onChange }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Fieldset, __spreadProps(__spreadValues({ errorMessage }, rest), { ref, children })) });
1021
1044
  });
1022
1045
  RadioGroup.displayName = "RadioGroup";
1023
1046
 
1024
- // src/form/radiobutton/radiobutton.tsx
1025
- var import_jsx_runtime18 = require("react/jsx-runtime");
1047
+ // src/form/radio-button/radio-button.tsx
1048
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1026
1049
  var isChecked = ({
1027
1050
  checked,
1028
1051
  selectedValue,
1029
1052
  value
1030
1053
  }) => {
1031
- if (typeof checked !== "undefined")
1032
- return checked;
1033
- if (typeof selectedValue !== "undefined")
1034
- return value === selectedValue;
1054
+ if (typeof checked !== "undefined") return checked;
1055
+ if (typeof selectedValue !== "undefined") return value === selectedValue;
1035
1056
  return void 0;
1036
1057
  };
1037
- var Radiobutton = (0, import_react20.forwardRef)(
1058
+ var RadioButton = (0, import_react21.forwardRef)(
1038
1059
  (_a, ref) => {
1039
1060
  var _b = _a, {
1040
1061
  checked,
@@ -1062,20 +1083,20 @@ var Radiobutton = (0, import_react20.forwardRef)(
1062
1083
  ]);
1063
1084
  const { hasError: hasFieldsetError } = useFieldsetContext();
1064
1085
  const hasError = hasFieldsetError || hasRadioGroupError || hasErrorProp;
1065
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1086
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1066
1087
  "div",
1067
1088
  {
1068
- className: (0, import_typed_classname17.clsx)(
1069
- "hds-radiobutton",
1089
+ className: (0, import_typed_classname18.clsx)(
1090
+ "hds-radio-button",
1070
1091
  {
1071
- [`hds-radiobutton--${variant}`]: variant === "bounding-box",
1072
- "hds-radiobutton--error": hasError
1092
+ [`hds-radio-button--${variant}`]: variant === "bounding-box",
1093
+ "hds-radio-button--error": hasError
1073
1094
  },
1074
1095
  className
1075
1096
  ),
1076
1097
  children: [
1077
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { children: [
1078
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1098
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("label", { children: [
1099
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1079
1100
  "input",
1080
1101
  __spreadProps(__spreadValues(__spreadValues({}, context), rest), {
1081
1102
  checked: isChecked({ checked, selectedValue, value }),
@@ -1084,8 +1105,8 @@ var Radiobutton = (0, import_react20.forwardRef)(
1084
1105
  type: "radio"
1085
1106
  })
1086
1107
  ),
1087
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": true, className: "hds-radiobutton__checkmark" }),
1088
- title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "hds-radiobutton__title", children: title }) : children
1108
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { "aria-hidden": true, className: "hds-radio-button__checkmark" }),
1109
+ title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "hds-radio-button__title", children: title }) : children
1089
1110
  ] }),
1090
1111
  title ? children : null
1091
1112
  ]
@@ -1093,18 +1114,18 @@ var Radiobutton = (0, import_react20.forwardRef)(
1093
1114
  );
1094
1115
  }
1095
1116
  );
1096
- Radiobutton.displayName = "Radiobutton";
1117
+ RadioButton.displayName = "RadioButton";
1097
1118
 
1098
1119
  // src/form/select/select.tsx
1099
- var import_react21 = require("react");
1100
- var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
1101
- var import_jsx_runtime19 = require("react/jsx-runtime");
1102
- var Select = (0, import_react21.forwardRef)(function Select2(_a, ref) {
1120
+ var import_react22 = require("react");
1121
+ var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
1122
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1123
+ var Select = (0, import_react22.forwardRef)(function Select2(_a, ref) {
1103
1124
  var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
1104
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1125
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1105
1126
  InputGroup,
1106
1127
  {
1107
- className: (0, import_typed_classname18.clsx)("hds-select", className),
1128
+ className: (0, import_typed_classname19.clsx)("hds-select", className),
1108
1129
  disabled,
1109
1130
  errorMessage,
1110
1131
  id,
@@ -1112,22 +1133,22 @@ var Select = (0, import_react21.forwardRef)(function Select2(_a, ref) {
1112
1133
  labelProps,
1113
1134
  style,
1114
1135
  variant,
1115
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
1136
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
1116
1137
  }
1117
1138
  );
1118
1139
  });
1119
1140
  Select.displayName = "Select";
1120
1141
 
1121
1142
  // src/form/textarea/textarea.tsx
1122
- var import_react22 = require("react");
1123
- var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
1124
- var import_jsx_runtime20 = require("react/jsx-runtime");
1125
- var Textarea = (0, import_react22.forwardRef)(function Textarea2(_a, ref) {
1143
+ var import_react23 = require("react");
1144
+ var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
1145
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1146
+ var Textarea = (0, import_react23.forwardRef)(function Textarea2(_a, ref) {
1126
1147
  var _b = _a, { className, variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["className", "variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
1127
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1148
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1128
1149
  InputGroup,
1129
1150
  {
1130
- className: (0, import_typed_classname19.clsx)("hds-textarea", className),
1151
+ className: (0, import_typed_classname20.clsx)("hds-textarea", className),
1131
1152
  disabled,
1132
1153
  errorMessage,
1133
1154
  id,
@@ -1136,46 +1157,46 @@ var Textarea = (0, import_react22.forwardRef)(function Textarea2(_a, ref) {
1136
1157
  readOnly,
1137
1158
  style,
1138
1159
  variant,
1139
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
1160
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
1140
1161
  }
1141
1162
  );
1142
1163
  });
1143
1164
  Textarea.displayName = "Textarea";
1144
1165
 
1145
1166
  // src/footer/footer.tsx
1146
- var import_react25 = require("react");
1147
- var import_typed_classname22 = require("@postenbring/hedwig-css/typed-classname");
1148
- var import_react_slot5 = require("@radix-ui/react-slot");
1167
+ var import_react26 = require("react");
1168
+ var import_typed_classname23 = require("@postenbring/hedwig-css/typed-classname");
1169
+ var import_react_slot6 = require("@radix-ui/react-slot");
1149
1170
 
1150
1171
  // src/list/link-list.tsx
1151
- var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname");
1152
- var import_react24 = require("react");
1172
+ var import_typed_classname22 = require("@postenbring/hedwig-css/typed-classname");
1173
+ var import_react25 = require("react");
1153
1174
 
1154
1175
  // src/list/list.tsx
1155
- var import_react23 = require("react");
1156
- var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
1157
- var import_jsx_runtime21 = require("react/jsx-runtime");
1158
- var UnorderedList = (0, import_react23.forwardRef)(
1176
+ var import_react24 = require("react");
1177
+ var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname");
1178
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1179
+ var UnorderedList = (0, import_react24.forwardRef)(
1159
1180
  (_a, ref) => {
1160
1181
  var _b = _a, { size = "medium", className } = _b, rest = __objRest(_b, ["size", "className"]);
1161
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1182
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1162
1183
  "ul",
1163
1184
  __spreadValues({
1164
1185
  ref,
1165
- className: (0, import_typed_classname20.clsx)("hds-list", `hds-list--${size}`, className)
1186
+ className: (0, import_typed_classname21.clsx)("hds-list", `hds-list--${size}`, className)
1166
1187
  }, rest)
1167
1188
  );
1168
1189
  }
1169
1190
  );
1170
1191
  UnorderedList.displayName = "UnorderedList";
1171
- var OrderedList = (0, import_react23.forwardRef)(
1192
+ var OrderedList = (0, import_react24.forwardRef)(
1172
1193
  (_a, ref) => {
1173
1194
  var _b = _a, { size = "medium", className } = _b, rest = __objRest(_b, ["size", "className"]);
1174
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1195
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1175
1196
  "ol",
1176
1197
  __spreadValues({
1177
1198
  ref,
1178
- className: (0, import_typed_classname20.clsx)("hds-list", `hds-list--${size}`, className)
1199
+ className: (0, import_typed_classname21.clsx)("hds-list", `hds-list--${size}`, className)
1179
1200
  }, rest)
1180
1201
  );
1181
1202
  }
@@ -1183,15 +1204,15 @@ var OrderedList = (0, import_react23.forwardRef)(
1183
1204
  OrderedList.displayName = "OrderedList";
1184
1205
 
1185
1206
  // src/list/link-list.tsx
1186
- var import_jsx_runtime22 = require("react/jsx-runtime");
1187
- var LinkList = (0, import_react24.forwardRef)(
1207
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1208
+ var LinkList = (0, import_react25.forwardRef)(
1188
1209
  (_a, ref) => {
1189
1210
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1190
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1211
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1191
1212
  UnorderedList,
1192
1213
  __spreadValues({
1193
1214
  ref,
1194
- className: (0, import_typed_classname21.clsx)("hds-list--link-list", className)
1215
+ className: (0, import_typed_classname22.clsx)("hds-list--link-list", className)
1195
1216
  }, rest)
1196
1217
  );
1197
1218
  }
@@ -1199,30 +1220,30 @@ var LinkList = (0, import_react24.forwardRef)(
1199
1220
  LinkList.displayName = "LinkList";
1200
1221
 
1201
1222
  // src/footer/footer.tsx
1202
- var import_jsx_runtime23 = require("react/jsx-runtime");
1203
- var FooterLogo = (0, import_react25.forwardRef)(
1223
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1224
+ var FooterLogo = (0, import_react26.forwardRef)(
1204
1225
  (_a, ref) => {
1205
1226
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1206
- const Component = asChild ? import_react_slot5.Slot : "div";
1207
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname22.clsx)(`hds-footer__logo`, className), ref }, rest), { children }));
1227
+ const Component = asChild ? import_react_slot6.Slot : "div";
1228
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname23.clsx)(`hds-footer__logo`, className), ref }, rest), { children }));
1208
1229
  }
1209
1230
  );
1210
1231
  FooterLogo.displayName = "Footer.Logo";
1211
- var FooterButtonLink = (0, import_react25.forwardRef)(
1232
+ var FooterButtonLink = (0, import_react26.forwardRef)(
1212
1233
  (_a, ref) => {
1213
1234
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1214
- const Component = asChild ? import_react_slot5.Slot : "a";
1215
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Button, { asChild: true, variant: "primary-outline", className: (0, import_typed_classname22.clsx)(className), children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Component, __spreadProps(__spreadValues({ ref }, rest), { children })) });
1235
+ const Component = asChild ? import_react_slot6.Slot : "a";
1236
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Button, { asChild: true, variant: "primary-outline", className: (0, import_typed_classname23.clsx)(className), children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Component, __spreadProps(__spreadValues({ ref }, rest), { children })) });
1216
1237
  }
1217
1238
  );
1218
1239
  FooterButtonLink.displayName = "FooterButton";
1219
- var FooterLinkSections = (0, import_react25.forwardRef)(
1240
+ var FooterLinkSections = (0, import_react26.forwardRef)(
1220
1241
  (_a, ref) => {
1221
1242
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1222
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jsx_runtime23.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1243
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1223
1244
  Accordion,
1224
1245
  __spreadProps(__spreadValues({
1225
- className: (0, import_typed_classname22.clsx)("hds-footer__link-sections", className),
1246
+ className: (0, import_typed_classname23.clsx)("hds-footer__link-sections", className),
1226
1247
  ref
1227
1248
  }, rest), {
1228
1249
  children
@@ -1231,39 +1252,39 @@ var FooterLinkSections = (0, import_react25.forwardRef)(
1231
1252
  }
1232
1253
  );
1233
1254
  FooterLinkSections.displayName = "Footer.LinkSections";
1234
- var FooterLinkSection = (0, import_react25.forwardRef)(
1255
+ var FooterLinkSection = (0, import_react26.forwardRef)(
1235
1256
  (_a, ref) => {
1236
1257
  var _b = _a, { heading, children, className } = _b, rest = __objRest(_b, ["heading", "children", "className"]);
1237
- const linkListChildren = /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(LinkList, { children });
1238
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
1239
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1258
+ const linkListChildren = /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(LinkList, { children });
1259
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
1260
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1240
1261
  Accordion.Item,
1241
1262
  __spreadProps(__spreadValues({
1242
- className: (0, import_typed_classname22.clsx)(`hds-footer__link-section`, className),
1263
+ className: (0, import_typed_classname23.clsx)(`hds-footer__link-section`, className),
1243
1264
  ref
1244
1265
  }, rest), {
1245
1266
  children: [
1246
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Accordion.Header, { children: heading }),
1247
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Accordion.Content, { children: linkListChildren })
1267
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Accordion.Header, { children: heading }),
1268
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Accordion.Content, { children: linkListChildren })
1248
1269
  ]
1249
1270
  })
1250
1271
  ),
1251
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: (0, import_typed_classname22.clsx)(`hds-footer__link-section`, className), children: [
1252
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("h2", { children: heading }),
1272
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: (0, import_typed_classname23.clsx)(`hds-footer__link-section`, className), children: [
1273
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("h2", { children: heading }),
1253
1274
  linkListChildren
1254
1275
  ] })
1255
1276
  ] });
1256
1277
  }
1257
1278
  );
1258
1279
  FooterLinkSection.displayName = "Footer.LinkSection";
1259
- var Footer = (0, import_react25.forwardRef)(
1280
+ var Footer = (0, import_react26.forwardRef)(
1260
1281
  (_a, ref) => {
1261
1282
  var _b = _a, { children, className, variant, asChild } = _b, rest = __objRest(_b, ["children", "className", "variant", "asChild"]);
1262
- const Component = asChild ? import_react_slot5.Slot : "footer";
1263
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1283
+ const Component = asChild ? import_react_slot6.Slot : "footer";
1284
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1264
1285
  Component,
1265
1286
  __spreadProps(__spreadValues({
1266
- className: (0, import_typed_classname22.clsx)(
1287
+ className: (0, import_typed_classname23.clsx)(
1267
1288
  `hds-footer`,
1268
1289
  variant === "slim" && "hds-footer--slim",
1269
1290
  className
@@ -1283,10 +1304,10 @@ Footer.LinkSection = FooterLinkSection;
1283
1304
 
1284
1305
  // src/help-text/help-text.tsx
1285
1306
  var Popover = __toESM(require("@radix-ui/react-popover"));
1286
- var import_typed_classname23 = require("@postenbring/hedwig-css/typed-classname");
1287
- var import_react26 = require("react");
1288
- var import_jsx_runtime24 = require("react/jsx-runtime");
1289
- var HelpText = (0, import_react26.forwardRef)(
1307
+ var import_typed_classname24 = require("@postenbring/hedwig-css/typed-classname");
1308
+ var import_react27 = require("react");
1309
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1310
+ var HelpText = (0, import_react27.forwardRef)(
1290
1311
  (_a, ref) => {
1291
1312
  var _b = _a, { children, className, helpText, title, side = "top", align = "start", boxProps } = _b, rest = __objRest(_b, ["children", "className", "helpText", "title", "side", "align", "boxProps"]);
1292
1313
  return (
@@ -1294,24 +1315,24 @@ var HelpText = (0, import_react26.forwardRef)(
1294
1315
  // In the future we can use the native popover api, but as of writing, though all browsers support it
1295
1316
  // it's not far enough back to be used in production
1296
1317
  // https://caniuse.com/mdn-html_elements_input_popovertarget
1297
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Popover.Root, { children: [
1298
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1318
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Popover.Root, { children: [
1319
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1299
1320
  "button",
1300
1321
  __spreadProps(__spreadValues({
1301
1322
  ref,
1302
- className: (0, import_typed_classname23.clsx)("hds-help-text-button", className),
1323
+ className: (0, import_typed_classname24.clsx)("hds-help-text-button", className),
1303
1324
  title,
1304
1325
  type: "button"
1305
1326
  }, rest), {
1306
1327
  children
1307
1328
  })
1308
1329
  ) }),
1309
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Popover.Content, { asChild: true, side, align, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1330
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Popover.Content, { asChild: true, side, align, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1310
1331
  Box,
1311
1332
  __spreadProps(__spreadValues({}, boxProps), {
1312
- className: (0, import_typed_classname23.clsx)("hds-help-text-box", boxProps == null ? void 0 : boxProps.className),
1333
+ className: (0, import_typed_classname24.clsx)("hds-help-text-box", boxProps == null ? void 0 : boxProps.className),
1313
1334
  children: [
1314
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Box.CloseButton, {}) }),
1335
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Box.CloseButton, {}) }),
1315
1336
  helpText
1316
1337
  ]
1317
1338
  })
@@ -1323,18 +1344,18 @@ var HelpText = (0, import_react26.forwardRef)(
1323
1344
  HelpText.displayName = "HelpText";
1324
1345
 
1325
1346
  // src/layout/container/container.tsx
1326
- var import_typed_classname24 = require("@postenbring/hedwig-css/typed-classname");
1327
- var import_react_slot6 = require("@radix-ui/react-slot");
1328
- var import_react27 = require("react");
1329
- var import_jsx_runtime25 = require("react/jsx-runtime");
1330
- var Container = (0, import_react27.forwardRef)(
1347
+ var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname");
1348
+ var import_react_slot7 = require("@radix-ui/react-slot");
1349
+ var import_react28 = require("react");
1350
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1351
+ var Container = (0, import_react28.forwardRef)(
1331
1352
  (_a, ref) => {
1332
1353
  var _b = _a, { as: Tag = "div", asChild, className, children, variant } = _b, rest = __objRest(_b, ["as", "asChild", "className", "children", "variant"]);
1333
- const Component = asChild ? import_react_slot6.Slot : Tag;
1334
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1354
+ const Component = asChild ? import_react_slot7.Slot : Tag;
1355
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1335
1356
  Component,
1336
1357
  __spreadProps(__spreadValues({}, rest), {
1337
- className: (0, import_typed_classname24.clsx)(
1358
+ className: (0, import_typed_classname25.clsx)(
1338
1359
  "hds-container",
1339
1360
  { "hds-container--slim": variant === "slim" },
1340
1361
  className
@@ -1348,14 +1369,13 @@ var Container = (0, import_react27.forwardRef)(
1348
1369
  Container.displayName = "Container";
1349
1370
 
1350
1371
  // src/layout/grid/grid.tsx
1351
- var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname");
1352
- var import_react_slot7 = require("@radix-ui/react-slot");
1353
- var import_react28 = require("react");
1372
+ var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname");
1373
+ var import_react_slot8 = require("@radix-ui/react-slot");
1374
+ var import_react29 = require("react");
1354
1375
 
1355
1376
  // src/layout/responsive.ts
1356
1377
  function getResponsiveProps(variable, inputValues, valueTransformer = (value) => String(value)) {
1357
- if (!inputValues)
1358
- return {};
1378
+ if (!inputValues) return {};
1359
1379
  if (typeof inputValues !== "object") {
1360
1380
  return { [`${variable}-initial`]: valueTransformer(inputValues) };
1361
1381
  }
@@ -1372,17 +1392,17 @@ function getSpacingVariable(size) {
1372
1392
  }
1373
1393
 
1374
1394
  // src/layout/grid/grid.tsx
1375
- var import_jsx_runtime26 = require("react/jsx-runtime");
1376
- var GridItem = (0, import_react28.forwardRef)(
1395
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1396
+ var GridItem = (0, import_react29.forwardRef)(
1377
1397
  (_a, ref) => {
1378
1398
  var _b = _a, { children, asChild, className, span, center, style: _style } = _b, rest = __objRest(_b, ["children", "asChild", "className", "span", "center", "style"]);
1379
- const Component = asChild ? import_react_slot7.Slot : "div";
1399
+ const Component = asChild ? import_react_slot8.Slot : "div";
1380
1400
  const style = __spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-grid-item-span", span)), getResponsiveProps("--hds-grid-item-center", center, (value) => value ? "1" : "0"));
1381
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1401
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1382
1402
  Component,
1383
1403
  __spreadProps(__spreadValues({
1384
1404
  style,
1385
- className: (0, import_typed_classname25.clsx)("hds-grid__item", className),
1405
+ className: (0, import_typed_classname26.clsx)("hds-grid__item", className),
1386
1406
  ref
1387
1407
  }, rest), {
1388
1408
  children
@@ -1391,16 +1411,16 @@ var GridItem = (0, import_react28.forwardRef)(
1391
1411
  }
1392
1412
  );
1393
1413
  GridItem.displayName = "Grid.Item";
1394
- var Grid = (0, import_react28.forwardRef)(
1414
+ var Grid = (0, import_react29.forwardRef)(
1395
1415
  (_a, ref) => {
1396
1416
  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"]);
1397
- const Component = asChild ? import_react_slot7.Slot : "div";
1417
+ const Component = asChild ? import_react_slot8.Slot : "div";
1398
1418
  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"));
1399
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1419
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1400
1420
  Component,
1401
1421
  __spreadProps(__spreadValues({
1402
1422
  style,
1403
- className: (0, import_typed_classname25.clsx)("hds-grid", className),
1423
+ className: (0, import_typed_classname26.clsx)("hds-grid", className),
1404
1424
  ref
1405
1425
  }, rest), {
1406
1426
  children
@@ -1413,11 +1433,11 @@ Grid.Item = GridItem;
1413
1433
 
1414
1434
  // src/layout/stack/stack.tsx
1415
1435
  var React2 = require("react");
1416
- var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname");
1417
- var import_react29 = require("react");
1418
- var import_react_slot8 = require("@radix-ui/react-slot");
1419
- var import_jsx_runtime27 = require("react/jsx-runtime");
1420
- var Stack = (0, import_react29.forwardRef)(
1436
+ var import_typed_classname27 = require("@postenbring/hedwig-css/typed-classname");
1437
+ var import_react30 = require("react");
1438
+ var import_react_slot9 = require("@radix-ui/react-slot");
1439
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1440
+ var Stack = (0, import_react30.forwardRef)(
1421
1441
  (_a, ref) => {
1422
1442
  var _b = _a, {
1423
1443
  children,
@@ -1444,13 +1464,13 @@ var Stack = (0, import_react29.forwardRef)(
1444
1464
  "align",
1445
1465
  "justify"
1446
1466
  ]);
1447
- const Component = asChild ? import_react_slot8.Slot : "div";
1467
+ const Component = asChild ? import_react_slot9.Slot : "div";
1448
1468
  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));
1449
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1469
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1450
1470
  Component,
1451
1471
  __spreadProps(__spreadValues({
1452
1472
  style,
1453
- className: (0, import_typed_classname26.clsx)("hds-stack", className),
1473
+ className: (0, import_typed_classname27.clsx)("hds-stack", className),
1454
1474
  ref
1455
1475
  }, rest), {
1456
1476
  children
@@ -1459,29 +1479,29 @@ var Stack = (0, import_react29.forwardRef)(
1459
1479
  }
1460
1480
  );
1461
1481
  Stack.displayName = "Stack";
1462
- var HStack = (0, import_react29.forwardRef)((props, ref) => {
1463
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "row" }));
1482
+ var HStack = (0, import_react30.forwardRef)((props, ref) => {
1483
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "row" }));
1464
1484
  });
1465
1485
  HStack.displayName = "HStack";
1466
- var VStack = (0, import_react29.forwardRef)((props, ref) => {
1467
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "column" }));
1486
+ var VStack = (0, import_react30.forwardRef)((props, ref) => {
1487
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Stack, __spreadProps(__spreadValues({ ref }, props), { direction: "column" }));
1468
1488
  });
1469
1489
  VStack.displayName = "VStack";
1470
1490
 
1471
1491
  // src/link/link.tsx
1472
1492
  var React3 = require("react");
1473
- var import_typed_classname27 = require("@postenbring/hedwig-css/typed-classname");
1474
- var import_react30 = require("react");
1475
- var import_react_slot9 = require("@radix-ui/react-slot");
1476
- var import_jsx_runtime28 = require("react/jsx-runtime");
1477
- var Link = (0, import_react30.forwardRef)(
1493
+ var import_typed_classname28 = require("@postenbring/hedwig-css/typed-classname");
1494
+ var import_react31 = require("react");
1495
+ var import_react_slot10 = require("@radix-ui/react-slot");
1496
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1497
+ var Link = (0, import_react31.forwardRef)(
1478
1498
  (_a, ref) => {
1479
1499
  var _b = _a, { asChild, children, variant = "underline", size = "medium", className } = _b, rest = __objRest(_b, ["asChild", "children", "variant", "size", "className"]);
1480
- const Component = asChild ? import_react_slot9.Slot : "a";
1481
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1500
+ const Component = asChild ? import_react_slot10.Slot : "a";
1501
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1482
1502
  Component,
1483
1503
  __spreadProps(__spreadValues({
1484
- className: (0, import_typed_classname27.clsx)(
1504
+ className: (0, import_typed_classname28.clsx)(
1485
1505
  "hds-link",
1486
1506
  variant !== "underline" && `hds-link--${variant}`,
1487
1507
  size !== "medium" && `hds-link--${size}`,
@@ -1497,49 +1517,49 @@ var Link = (0, import_react30.forwardRef)(
1497
1517
  Link.displayName = "Link";
1498
1518
 
1499
1519
  // src/message/message.tsx
1500
- var import_react31 = require("react");
1501
- var import_typed_classname28 = require("@postenbring/hedwig-css/typed-classname");
1502
- var import_react_slot10 = require("@radix-ui/react-slot");
1503
- var import_jsx_runtime29 = require("react/jsx-runtime");
1504
- var MessageTitle = (0, import_react31.forwardRef)(
1520
+ var import_react32 = require("react");
1521
+ var import_typed_classname29 = require("@postenbring/hedwig-css/typed-classname");
1522
+ var import_react_slot11 = require("@radix-ui/react-slot");
1523
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1524
+ var MessageTitle = (0, import_react32.forwardRef)(
1505
1525
  (_a, ref) => {
1506
1526
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1507
- const Component = asChild ? import_react_slot10.Slot : "div";
1508
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1527
+ const Component = asChild ? import_react_slot11.Slot : "div";
1528
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1509
1529
  Component,
1510
1530
  __spreadValues({
1511
- className: (0, import_typed_classname28.clsx)("hds-message__title", className),
1531
+ className: (0, import_typed_classname29.clsx)("hds-message__title", className),
1512
1532
  ref
1513
1533
  }, rest)
1514
1534
  );
1515
1535
  }
1516
1536
  );
1517
1537
  MessageTitle.displayName = "Message.Title";
1518
- var MessageDescription = (0, import_react31.forwardRef)(
1538
+ var MessageDescription = (0, import_react32.forwardRef)(
1519
1539
  (_a, ref) => {
1520
1540
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1521
- const Component = asChild ? import_react_slot10.Slot : "div";
1522
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1541
+ const Component = asChild ? import_react_slot11.Slot : "div";
1542
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1523
1543
  Component,
1524
1544
  __spreadValues({
1525
- className: (0, import_typed_classname28.clsx)("hds-message__description", className),
1545
+ className: (0, import_typed_classname29.clsx)("hds-message__description", className),
1526
1546
  ref
1527
1547
  }, rest)
1528
1548
  );
1529
1549
  }
1530
1550
  );
1531
1551
  MessageDescription.displayName = "Message.Description";
1532
- var Message = (0, import_react31.forwardRef)(
1552
+ var Message = (0, import_react32.forwardRef)(
1533
1553
  (_a, ref) => {
1534
1554
  var _b = _a, { children, className, variant = "success", icon, iconClassName } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon", "iconClassName"]);
1535
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1555
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1536
1556
  Box,
1537
1557
  __spreadProps(__spreadValues({
1538
- className: (0, import_typed_classname28.clsx)(`hds-message`, `hds-message--${variant}`, className),
1558
+ className: (0, import_typed_classname29.clsx)(`hds-message`, `hds-message--${variant}`, className),
1539
1559
  ref
1540
1560
  }, rest), {
1541
1561
  children: [
1542
- variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: (0, import_typed_classname28.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
1562
+ variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: (0, import_typed_classname29.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
1543
1563
  children
1544
1564
  ]
1545
1565
  })
@@ -1551,56 +1571,56 @@ Message.Title = MessageTitle;
1551
1571
  Message.Description = MessageDescription;
1552
1572
 
1553
1573
  // src/modal/modal.tsx
1554
- var import_react32 = require("react");
1555
- var import_typed_classname29 = require("@postenbring/hedwig-css/typed-classname");
1556
- var import_react_slot11 = require("@radix-ui/react-slot");
1557
- var import_jsx_runtime30 = require("react/jsx-runtime");
1558
- var ModalHeader = (0, import_react32.forwardRef)(
1574
+ var import_react33 = require("react");
1575
+ var import_typed_classname30 = require("@postenbring/hedwig-css/typed-classname");
1576
+ var import_react_slot12 = require("@radix-ui/react-slot");
1577
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1578
+ var ModalHeader = (0, import_react33.forwardRef)(
1559
1579
  (_a, ref) => {
1560
1580
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1561
- const Component = asChild ? import_react_slot11.Slot : "h1";
1562
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1581
+ const Component = asChild ? import_react_slot12.Slot : "h1";
1582
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1563
1583
  Component,
1564
1584
  __spreadValues({
1565
- className: (0, import_typed_classname29.clsx)("hds-modal__header", className),
1585
+ className: (0, import_typed_classname30.clsx)("hds-modal__header", className),
1566
1586
  ref
1567
1587
  }, rest)
1568
1588
  );
1569
1589
  }
1570
1590
  );
1571
1591
  ModalHeader.displayName = "Modal.Header";
1572
- var ModalContent = (0, import_react32.forwardRef)(
1592
+ var ModalContent = (0, import_react33.forwardRef)(
1573
1593
  (_a, ref) => {
1574
1594
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1575
- const Component = asChild ? import_react_slot11.Slot : "div";
1576
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1595
+ const Component = asChild ? import_react_slot12.Slot : "div";
1596
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1577
1597
  Component,
1578
1598
  __spreadValues({
1579
- className: (0, import_typed_classname29.clsx)("hds-modal__content", className),
1599
+ className: (0, import_typed_classname30.clsx)("hds-modal__content", className),
1580
1600
  ref
1581
1601
  }, rest)
1582
1602
  );
1583
1603
  }
1584
1604
  );
1585
1605
  ModalContent.displayName = "Modal.Content";
1586
- var ModalFooter = (0, import_react32.forwardRef)(
1606
+ var ModalFooter = (0, import_react33.forwardRef)(
1587
1607
  (_a, ref) => {
1588
1608
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1589
- const Component = asChild ? import_react_slot11.Slot : "footer";
1590
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1609
+ const Component = asChild ? import_react_slot12.Slot : "footer";
1610
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1591
1611
  Component,
1592
1612
  __spreadValues({
1593
- className: (0, import_typed_classname29.clsx)("hds-modal__footer", className),
1613
+ className: (0, import_typed_classname30.clsx)("hds-modal__footer", className),
1594
1614
  ref
1595
1615
  }, rest)
1596
1616
  );
1597
1617
  }
1598
1618
  );
1599
1619
  ModalFooter.displayName = "Modal.Footer";
1600
- var Modal = (0, import_react32.forwardRef)(
1620
+ var Modal = (0, import_react33.forwardRef)(
1601
1621
  (_a, ref) => {
1602
1622
  var _b = _a, { children, className, open, closeOnBackdropClick, onClick } = _b, rest = __objRest(_b, ["children", "className", "open", "closeOnBackdropClick", "onClick"]);
1603
- const modalRef = (0, import_react32.useRef)(null);
1623
+ const modalRef = (0, import_react33.useRef)(null);
1604
1624
  const mergedRef = useMergeRefs([modalRef, ref]);
1605
1625
  function onCloseButtonClick() {
1606
1626
  var _a2;
@@ -1608,7 +1628,7 @@ var Modal = (0, import_react32.forwardRef)(
1608
1628
  return false;
1609
1629
  }
1610
1630
  useScrollLock(modalRef, "hds-modal-scroll-lock");
1611
- (0, import_react32.useEffect)(() => {
1631
+ (0, import_react33.useEffect)(() => {
1612
1632
  if (modalRef.current && open !== void 0) {
1613
1633
  if (open && !modalRef.current.open) {
1614
1634
  modalRef.current.showModal();
@@ -1623,16 +1643,16 @@ var Modal = (0, import_react32.forwardRef)(
1623
1643
  }
1624
1644
  onClick == null ? void 0 : onClick(e);
1625
1645
  }
1626
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1646
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1627
1647
  Box,
1628
1648
  {
1629
1649
  asChild: true,
1630
- className: (0, import_typed_classname29.clsx)("hds-modal", className),
1650
+ className: (0, import_typed_classname30.clsx)("hds-modal", className),
1631
1651
  closeable: true,
1632
1652
  onClick: onDialogClick,
1633
1653
  onClose: onCloseButtonClick,
1634
1654
  variant: "white",
1635
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("dialog", __spreadProps(__spreadValues({ ref: mergedRef }, rest), { children }))
1655
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("dialog", __spreadProps(__spreadValues({ ref: mergedRef }, rest), { children }))
1636
1656
  }
1637
1657
  );
1638
1658
  }
@@ -1642,17 +1662,13 @@ Modal.Header = ModalHeader;
1642
1662
  Modal.Content = ModalContent;
1643
1663
  Modal.Footer = ModalFooter;
1644
1664
  function useScrollLock(modalRef, bodyClass) {
1645
- (0, import_react32.useEffect)(() => {
1646
- if (!modalRef.current)
1647
- return;
1648
- if (modalRef.current.open)
1649
- document.body.classList.add(bodyClass);
1665
+ (0, import_react33.useEffect)(() => {
1666
+ if (!modalRef.current) return;
1667
+ if (modalRef.current.open) document.body.classList.add(bodyClass);
1650
1668
  const observer = new MutationObserver(() => {
1651
1669
  var _a;
1652
- if ((_a = modalRef.current) == null ? void 0 : _a.open)
1653
- document.body.classList.add(bodyClass);
1654
- else
1655
- document.body.classList.remove(bodyClass);
1670
+ if ((_a = modalRef.current) == null ? void 0 : _a.open) document.body.classList.add(bodyClass);
1671
+ else document.body.classList.remove(bodyClass);
1656
1672
  });
1657
1673
  observer.observe(modalRef.current, {
1658
1674
  attributes: true,
@@ -1666,27 +1682,38 @@ function useScrollLock(modalRef, bodyClass) {
1666
1682
  }
1667
1683
 
1668
1684
  // src/navbar/navbar.tsx
1669
- var import_react34 = require("react");
1670
- var import_typed_classname31 = require("@postenbring/hedwig-css/typed-classname");
1671
- var import_react_slot12 = require("@radix-ui/react-slot");
1685
+ var import_react35 = require("react");
1686
+ var import_typed_classname32 = require("@postenbring/hedwig-css/typed-classname");
1687
+ var import_react_slot13 = require("@radix-ui/react-slot");
1672
1688
 
1673
1689
  // src/navbar/navbar-expandable-menu.tsx
1674
- var import_react33 = require("react");
1675
- var import_typed_classname30 = require("@postenbring/hedwig-css/typed-classname");
1690
+ var import_react34 = require("react");
1691
+ var import_typed_classname31 = require("@postenbring/hedwig-css/typed-classname");
1676
1692
 
1677
1693
  // src/navbar/icons.tsx
1678
- var import_jsx_runtime31 = require("react/jsx-runtime");
1694
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1679
1695
  function CloseIcon() {
1680
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1681
- "path",
1696
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1697
+ "svg",
1682
1698
  {
1683
- fill: "currentColor",
1684
- d: "m13.16 12.25 3.621-3.586.739-.738c.105-.106.105-.281 0-.422l-.774-.774c-.14-.105-.316-.105-.422 0L12 11.09 7.64 6.73c-.105-.105-.28-.105-.421 0l-.774.774c-.105.14-.105.316 0 .422l4.36 4.324-4.36 4.36c-.105.105-.105.28 0 .421l.774.774c.14.105.316.105.422 0L12 13.445l3.586 3.621.738.739c.106.105.281.105.422 0l.774-.774c.105-.14.105-.316 0-.422l-4.36-4.359Z"
1699
+ "aria-hidden": true,
1700
+ xmlns: "http://www.w3.org/2000/svg",
1701
+ width: 32,
1702
+ height: 32,
1703
+ viewBox: "0 0 32 32",
1704
+ fill: "none",
1705
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1706
+ "path",
1707
+ {
1708
+ 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",
1709
+ fill: "black"
1710
+ }
1711
+ )
1685
1712
  }
1686
- ) });
1713
+ );
1687
1714
  }
1688
1715
  function MenuIcon() {
1689
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1716
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1690
1717
  "path",
1691
1718
  {
1692
1719
  fill: "currentColor",
@@ -1696,35 +1723,35 @@ function MenuIcon() {
1696
1723
  }
1697
1724
 
1698
1725
  // src/navbar/navbar-expandable-menu.tsx
1699
- var import_jsx_runtime32 = require("react/jsx-runtime");
1700
- var ExpandableMenuContext = (0, import_react33.createContext)(null);
1726
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1727
+ var ExpandableMenuContext = (0, import_react34.createContext)(null);
1701
1728
  var useNavbarExpendableMenuContext = () => {
1702
- const value = (0, import_react33.useContext)(ExpandableMenuContext);
1729
+ const value = (0, import_react34.useContext)(ExpandableMenuContext);
1703
1730
  if (value === null) {
1704
1731
  throw new Error("useNavbarExpendableMenuContext must be used within a Navbar.ExpandableMenu");
1705
1732
  }
1706
1733
  return value;
1707
1734
  };
1708
1735
  function NavbarExpandableMenu({ children }) {
1709
- const contentId = (0, import_react33.useId)();
1710
- const [open, setOpen] = (0, import_react33.useState)(false);
1711
- (0, import_react33.useEffect)(() => {
1736
+ const contentId = (0, import_react34.useId)();
1737
+ const [open, setOpen] = (0, import_react34.useState)(false);
1738
+ (0, import_react34.useEffect)(() => {
1712
1739
  if (open) {
1713
1740
  window.scrollTo(0, 0);
1714
- document.body.classList.add((0, import_typed_classname30.clsx)("hds-navbar-scroll-lock"));
1741
+ document.body.classList.add((0, import_typed_classname31.clsx)("hds-navbar-scroll-lock"));
1715
1742
  const releaseFocusTrap2 = focusTrap(
1716
- document.getElementsByClassName((0, import_typed_classname30.clsx)("hds-navbar"))[0]
1743
+ document.getElementsByClassName((0, import_typed_classname31.clsx)("hds-navbar"))[0]
1717
1744
  );
1718
1745
  return () => {
1719
- document.body.classList.remove((0, import_typed_classname30.clsx)("hds-navbar-scroll-lock"));
1746
+ document.body.classList.remove((0, import_typed_classname31.clsx)("hds-navbar-scroll-lock"));
1720
1747
  releaseFocusTrap2();
1721
1748
  };
1722
1749
  }
1723
1750
  }, [open]);
1724
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ExpandableMenuContext.Provider, { value: { contentId, open, setOpen }, children });
1751
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ExpandableMenuContext.Provider, { value: { contentId, open, setOpen }, children });
1725
1752
  }
1726
1753
  NavbarExpandableMenu.displayName = "NavbarExpandableMenu";
1727
- var NavbarExpandableMenuTrigger = (0, import_react33.forwardRef)(
1754
+ var NavbarExpandableMenuTrigger = (0, import_react34.forwardRef)(
1728
1755
  (_a, ref) => {
1729
1756
  var _b = _a, {
1730
1757
  whenClosedText,
@@ -1742,9 +1769,9 @@ var NavbarExpandableMenuTrigger = (0, import_react33.forwardRef)(
1742
1769
  "className"
1743
1770
  ]);
1744
1771
  const { contentId, open, setOpen } = useNavbarExpendableMenuContext();
1745
- const [textWidth, setTextWidth] = (0, import_react33.useState)(void 0);
1746
- const measurementId = (0, import_react33.useId)();
1747
- (0, import_react33.useEffect)(() => {
1772
+ const [textWidth, setTextWidth] = (0, import_react34.useState)(void 0);
1773
+ const measurementId = (0, import_react34.useId)();
1774
+ (0, import_react34.useEffect)(() => {
1748
1775
  var _a2, _b2, _c, _d;
1749
1776
  const widthWhenOpen = (_b2 = (_a2 = document.getElementById(`${measurementId}-when-open`)) == null ? void 0 : _a2.getBoundingClientRect().width) != null ? _b2 : 0;
1750
1777
  const widthWhenClosed = (_d = (_c = document.getElementById(`${measurementId}-when-closed`)) == null ? void 0 : _c.getBoundingClientRect().width) != null ? _d : 0;
@@ -1752,16 +1779,16 @@ var NavbarExpandableMenuTrigger = (0, import_react33.forwardRef)(
1752
1779
  }, [measurementId]);
1753
1780
  const text = open ? whenOpenText : whenClosedText;
1754
1781
  const title = open ? whenOpenHelperTitle : whenClosedHelperTitle;
1755
- const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CloseIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(MenuIcon, {});
1782
+ const icon = open ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CloseIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MenuIcon, {});
1756
1783
  function toggleOpen() {
1757
1784
  setOpen(!open);
1758
1785
  }
1759
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1786
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1760
1787
  "button",
1761
1788
  __spreadProps(__spreadValues({
1762
1789
  "aria-expanded": open,
1763
1790
  "aria-controls": contentId,
1764
- className: (0, import_typed_classname30.clsx)("hds-navbar__item", className),
1791
+ className: (0, import_typed_classname31.clsx)("hds-navbar__item", className),
1765
1792
  onClick: toggleOpen,
1766
1793
  ref,
1767
1794
  title,
@@ -1769,7 +1796,7 @@ var NavbarExpandableMenuTrigger = (0, import_react33.forwardRef)(
1769
1796
  style: __spreadValues({ position: "relative" }, style)
1770
1797
  }, rest), {
1771
1798
  children: [
1772
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1799
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1773
1800
  "span",
1774
1801
  {
1775
1802
  id: `${measurementId}-when-closed`,
@@ -1783,7 +1810,7 @@ var NavbarExpandableMenuTrigger = (0, import_react33.forwardRef)(
1783
1810
  children: whenOpenText
1784
1811
  }
1785
1812
  ),
1786
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1813
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1787
1814
  "span",
1788
1815
  {
1789
1816
  id: `${measurementId}-when-open`,
@@ -1797,57 +1824,57 @@ var NavbarExpandableMenuTrigger = (0, import_react33.forwardRef)(
1797
1824
  children: whenClosedText
1798
1825
  }
1799
1826
  ),
1800
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1827
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1801
1828
  "span",
1802
1829
  {
1803
1830
  style: { width: textWidth, whiteSpace: "nowrap" },
1804
- className: (0, import_typed_classname30.clsx)("hds-navbar__item-responsive-text"),
1831
+ className: (0, import_typed_classname31.clsx)("hds-navbar__item-responsive-text"),
1805
1832
  children: text
1806
1833
  }
1807
1834
  ),
1808
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { style: { width: 32, height: 32 }, children: icon })
1835
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { style: { width: 32, height: 32 }, children: icon })
1809
1836
  ]
1810
1837
  })
1811
1838
  );
1812
1839
  }
1813
1840
  );
1814
1841
  NavbarExpandableMenuTrigger.displayName = "Navbar.ExpandableMenuTrigger";
1815
- var NavbarExpandableMenuContent = (0, import_react33.forwardRef)((_a, ref) => {
1842
+ var NavbarExpandableMenuContent = (0, import_react34.forwardRef)((_a, ref) => {
1816
1843
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1817
1844
  const { contentId, open } = useNavbarExpendableMenuContext();
1818
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1845
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1819
1846
  "section",
1820
1847
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, rest), {
1821
1848
  id: contentId,
1822
- className: (0, import_typed_classname30.clsx)("hds-navbar__expandable-menu-content", className),
1849
+ className: (0, import_typed_classname31.clsx)("hds-navbar__expandable-menu-content", className),
1823
1850
  "data-state": open ? "open" : "closed"
1824
1851
  }), { inert: open ? void 0 : "true" }), {
1825
1852
  ref,
1826
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: (0, import_typed_classname30.clsx)("hds-navbar__expandable-menu-content-inner"), children })
1853
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: (0, import_typed_classname31.clsx)("hds-navbar__expandable-menu-content-inner"), children })
1827
1854
  })
1828
1855
  );
1829
1856
  });
1830
1857
  NavbarExpandableMenuContent.displayName = "Navbar.ExpandableMenuContent";
1831
1858
 
1832
1859
  // src/navbar/navbar.tsx
1833
- var import_jsx_runtime33 = require("react/jsx-runtime");
1834
- var NavbarLogo = (0, import_react34.forwardRef)(
1860
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1861
+ var NavbarLogo = (0, import_react35.forwardRef)(
1835
1862
  (_a, ref) => {
1836
1863
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1837
- const Component = asChild ? import_react_slot12.Slot : "div";
1838
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname31.clsx)(`hds-navbar__logo`, className), ref }, rest), { children }));
1864
+ const Component = asChild ? import_react_slot13.Slot : "div";
1865
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname32.clsx)(`hds-navbar__logo`, className), ref }, rest), { children }));
1839
1866
  }
1840
1867
  );
1841
1868
  NavbarLogo.displayName = "Navbar.Logo";
1842
- var NavbarLogoAndServiceText = (0, import_react34.forwardRef)(
1869
+ var NavbarLogoAndServiceText = (0, import_react35.forwardRef)(
1843
1870
  (_a, ref) => {
1844
1871
  var _b = _a, { children, asChild, variant, className } = _b, rest = __objRest(_b, ["children", "asChild", "variant", "className"]);
1845
- const Component = asChild ? import_react_slot12.Slot : "div";
1846
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1872
+ const Component = asChild ? import_react_slot13.Slot : "div";
1873
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1847
1874
  Component,
1848
1875
  __spreadProps(__spreadValues({
1849
1876
  ref,
1850
- className: (0, import_typed_classname31.clsx)(
1877
+ className: (0, import_typed_classname32.clsx)(
1851
1878
  "hds-navbar__logo-and-service-text",
1852
1879
  `hds-navbar__logo-and-service-text--${variant}`,
1853
1880
  className
@@ -1859,29 +1886,29 @@ var NavbarLogoAndServiceText = (0, import_react34.forwardRef)(
1859
1886
  }
1860
1887
  );
1861
1888
  NavbarLogoAndServiceText.displayName = "Navbar.NavbarLogoAndText";
1862
- var NavbarItemIcon = (0, import_react34.forwardRef)(
1889
+ var NavbarItemIcon = (0, import_react35.forwardRef)(
1863
1890
  (_a, ref) => {
1864
1891
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1865
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_slot12.Slot, __spreadProps(__spreadValues({ className: (0, import_typed_classname31.clsx)("hds-navbar__item-icon", className), ref }, rest), { children }));
1892
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_slot13.Slot, __spreadProps(__spreadValues({ className: (0, import_typed_classname32.clsx)("hds-navbar__item-icon", className), ref }, rest), { children }));
1866
1893
  }
1867
1894
  );
1868
1895
  NavbarItemIcon.displayName = "Navbar.ItemIcon";
1869
- var NavbarItem = (0, import_react34.forwardRef)(
1896
+ var NavbarItem = (0, import_react35.forwardRef)(
1870
1897
  (_a, ref) => {
1871
1898
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
1872
- const Component = asChild ? import_react_slot12.Slot : "div";
1873
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname31.clsx)("hds-navbar__item", className), ref }, rest), { children }));
1899
+ const Component = asChild ? import_react_slot13.Slot : "div";
1900
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname32.clsx)("hds-navbar__item", className), ref }, rest), { children }));
1874
1901
  }
1875
1902
  );
1876
1903
  NavbarItem.displayName = "Navbar.Item";
1877
- var NavbarButtonItem = (0, import_react34.forwardRef)(
1904
+ var NavbarButtonItem = (0, import_react35.forwardRef)(
1878
1905
  (_a, ref) => {
1879
1906
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
1880
- const Component = asChild ? import_react_slot12.Slot : "button";
1881
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1907
+ const Component = asChild ? import_react_slot13.Slot : "button";
1908
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1882
1909
  Component,
1883
1910
  __spreadProps(__spreadValues({
1884
- className: (0, import_typed_classname31.clsx)("hds-navbar__item", className),
1911
+ className: (0, import_typed_classname32.clsx)("hds-navbar__item", className),
1885
1912
  ref,
1886
1913
  type: "button"
1887
1914
  }, rest), {
@@ -1891,36 +1918,36 @@ var NavbarButtonItem = (0, import_react34.forwardRef)(
1891
1918
  }
1892
1919
  );
1893
1920
  NavbarButtonItem.displayName = "Navbar.ButtonItem";
1894
- var NavbarLinkItem = (0, import_react34.forwardRef)(
1921
+ var NavbarLinkItem = (0, import_react35.forwardRef)(
1895
1922
  (_a, ref) => {
1896
1923
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
1897
- const Component = asChild ? import_react_slot12.Slot : "a";
1898
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname31.clsx)("hds-navbar__item", className), ref }, rest), { children }));
1924
+ const Component = asChild ? import_react_slot13.Slot : "a";
1925
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname32.clsx)("hds-navbar__item", className), ref }, rest), { children }));
1899
1926
  }
1900
1927
  );
1901
1928
  NavbarLinkItem.displayName = "Navbar.LinkItem";
1902
- var NavbarNavigation = (0, import_react34.forwardRef)(
1929
+ var NavbarNavigation = (0, import_react35.forwardRef)(
1903
1930
  (_a, ref) => {
1904
1931
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1905
- const Component = asChild ? import_react_slot12.Slot : "div";
1906
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1932
+ const Component = asChild ? import_react_slot13.Slot : "div";
1933
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1907
1934
  Component,
1908
1935
  __spreadValues({
1909
- className: (0, import_typed_classname31.clsx)("hds-navbar__navigation", className),
1936
+ className: (0, import_typed_classname32.clsx)("hds-navbar__navigation", className),
1910
1937
  ref
1911
1938
  }, rest)
1912
1939
  );
1913
1940
  }
1914
1941
  );
1915
1942
  NavbarNavigation.displayName = "Navbar.Navigation";
1916
- var Navbar = (0, import_react34.forwardRef)(
1943
+ var Navbar = (0, import_react35.forwardRef)(
1917
1944
  (_a, ref) => {
1918
1945
  var _b = _a, { asChild, children, className, variant } = _b, rest = __objRest(_b, ["asChild", "children", "className", "variant"]);
1919
- const Component = asChild ? import_react_slot12.Slot : "header";
1920
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1946
+ const Component = asChild ? import_react_slot13.Slot : "header";
1947
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1921
1948
  Component,
1922
1949
  __spreadProps(__spreadValues({
1923
- className: (0, import_typed_classname31.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
1950
+ className: (0, import_typed_classname32.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
1924
1951
  ref
1925
1952
  }, rest), {
1926
1953
  children
@@ -1941,17 +1968,17 @@ Navbar.ItemIcon = NavbarItemIcon;
1941
1968
  Navbar.Navigation = NavbarNavigation;
1942
1969
 
1943
1970
  // src/show-more/show-more.tsx
1944
- var import_typed_classname32 = require("@postenbring/hedwig-css/typed-classname");
1945
- var import_react35 = require("react");
1946
- var import_jsx_runtime34 = require("react/jsx-runtime");
1947
- var ShowMoreButton = (0, import_react35.forwardRef)(
1971
+ var import_typed_classname33 = require("@postenbring/hedwig-css/typed-classname");
1972
+ var import_react36 = require("react");
1973
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1974
+ var ShowMoreButton = (0, import_react36.forwardRef)(
1948
1975
  (_a, ref) => {
1949
1976
  var _b = _a, { text, variant, expanded, className } = _b, rest = __objRest(_b, ["text", "variant", "expanded", "className"]);
1950
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1977
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1951
1978
  "button",
1952
1979
  __spreadProps(__spreadValues({
1953
1980
  ref,
1954
- className: (0, import_typed_classname32.clsx)(
1981
+ className: (0, import_typed_classname33.clsx)(
1955
1982
  "hds-show-more",
1956
1983
  variant === "show-more-show-less" && "hds-show-more--show-less",
1957
1984
  className
@@ -1961,7 +1988,7 @@ var ShowMoreButton = (0, import_react35.forwardRef)(
1961
1988
  }, rest), {
1962
1989
  children: [
1963
1990
  text,
1964
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: (0, import_typed_classname32.clsx)("hds-show-more__icon") })
1991
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: (0, import_typed_classname33.clsx)("hds-show-more__icon") })
1965
1992
  ]
1966
1993
  })
1967
1994
  );
@@ -1970,11 +1997,11 @@ var ShowMoreButton = (0, import_react35.forwardRef)(
1970
1997
  ShowMoreButton.displayName = "ShowMoreButton";
1971
1998
 
1972
1999
  // src/skeleton/skeleton.tsx
1973
- var import_typed_classname33 = require("@postenbring/hedwig-css/typed-classname");
1974
- var import_react_slot13 = require("@radix-ui/react-slot");
1975
- var import_react36 = require("react");
1976
- var import_jsx_runtime35 = require("react/jsx-runtime");
1977
- var Skeleton = (0, import_react36.forwardRef)(
2000
+ var import_typed_classname34 = require("@postenbring/hedwig-css/typed-classname");
2001
+ var import_react_slot14 = require("@radix-ui/react-slot");
2002
+ var import_react37 = require("react");
2003
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2004
+ var Skeleton = (0, import_react37.forwardRef)(
1978
2005
  (_a, ref) => {
1979
2006
  var _b = _a, {
1980
2007
  as: Tag = "div",
@@ -1997,11 +2024,11 @@ var Skeleton = (0, import_react36.forwardRef)(
1997
2024
  "className",
1998
2025
  "style"
1999
2026
  ]);
2000
- const Component = asChild ? import_react_slot13.Slot : Tag;
2001
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2027
+ const Component = asChild ? import_react_slot14.Slot : Tag;
2028
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2002
2029
  Component,
2003
2030
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({
2004
- className: (0, import_typed_classname33.clsx)(
2031
+ className: (0, import_typed_classname34.clsx)(
2005
2032
  "hds-skeleton",
2006
2033
  `hds-skeleton--${variant}`,
2007
2034
  !animation && `hds-skeleton--no-animation`,
@@ -2020,10 +2047,10 @@ var Skeleton = (0, import_react36.forwardRef)(
2020
2047
  Skeleton.displayName = "Skeleton";
2021
2048
 
2022
2049
  // src/step-indicator/step-indicator.tsx
2023
- var import_typed_classname34 = require("@postenbring/hedwig-css/typed-classname");
2024
- var import_react37 = require("react");
2025
- var import_jsx_runtime36 = require("react/jsx-runtime");
2026
- var StepIndicator = (0, import_react37.forwardRef)(
2050
+ var import_typed_classname35 = require("@postenbring/hedwig-css/typed-classname");
2051
+ var import_react38 = require("react");
2052
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2053
+ var StepIndicator = (0, import_react38.forwardRef)(
2027
2054
  (_a, ref) => {
2028
2055
  var _b = _a, {
2029
2056
  activeStep,
@@ -2042,27 +2069,27 @@ var StepIndicator = (0, import_react37.forwardRef)(
2042
2069
  "title",
2043
2070
  "titleAs"
2044
2071
  ]);
2045
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2072
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2046
2073
  "div",
2047
2074
  __spreadProps(__spreadValues({
2048
2075
  ref,
2049
- className: (0, import_typed_classname34.clsx)("hds-step-indicator", className),
2076
+ className: (0, import_typed_classname35.clsx)("hds-step-indicator", className),
2050
2077
  lang
2051
2078
  }, rest), {
2052
2079
  children: [
2053
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: (0, import_typed_classname34.clsx)("hds-step-indicator__header"), children: [
2054
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: (0, import_typed_classname34.clsx)("hds-step-indicator__left-label"), children: label }),
2055
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
2080
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: (0, import_typed_classname35.clsx)("hds-step-indicator__header"), children: [
2081
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: (0, import_typed_classname35.clsx)("hds-step-indicator__left-label"), children: label }),
2082
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
2056
2083
  ] }),
2057
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: (0, import_typed_classname34.clsx)("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2084
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: (0, import_typed_classname35.clsx)("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2058
2085
  "div",
2059
2086
  {
2060
- className: (0, import_typed_classname34.clsx)("hds-step-indicator__step"),
2087
+ className: (0, import_typed_classname35.clsx)("hds-step-indicator__step"),
2061
2088
  "data-state": getStepState(i + 1, activeStep)
2062
2089
  },
2063
2090
  i
2064
2091
  )) }),
2065
- title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(TitleComponent, { className: (0, import_typed_classname34.clsx)("hds-step-indicator__title"), children: title }) : null
2092
+ title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TitleComponent, { className: (0, import_typed_classname35.clsx)("hds-step-indicator__title"), children: title }) : null
2066
2093
  ]
2067
2094
  })
2068
2095
  );
@@ -2086,18 +2113,18 @@ function getStepState(renderedStep, activeStep) {
2086
2113
  }
2087
2114
 
2088
2115
  // src/styled-html/styled-html.tsx
2089
- var import_react38 = require("react");
2090
- var import_typed_classname35 = require("@postenbring/hedwig-css/typed-classname");
2091
- var import_react_slot14 = require("@radix-ui/react-slot");
2092
- var import_jsx_runtime37 = require("react/jsx-runtime");
2093
- var StyledHtml = (0, import_react38.forwardRef)(
2116
+ var import_react39 = require("react");
2117
+ var import_typed_classname36 = require("@postenbring/hedwig-css/typed-classname");
2118
+ var import_react_slot15 = require("@radix-ui/react-slot");
2119
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2120
+ var StyledHtml = (0, import_react39.forwardRef)(
2094
2121
  (_a, ref) => {
2095
- var _b = _a, { asChild, children, size, darkmode = false, className } = _b, rest = __objRest(_b, ["asChild", "children", "size", "darkmode", "className"]);
2096
- const Component = asChild ? import_react_slot14.Slot : "div";
2097
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2122
+ var _b = _a, { asChild, children, size, unstable_darkmode: darkmode = false, className } = _b, rest = __objRest(_b, ["asChild", "children", "size", "unstable_darkmode", "className"]);
2123
+ const Component = asChild ? import_react_slot15.Slot : "div";
2124
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2098
2125
  Component,
2099
2126
  __spreadProps(__spreadValues({
2100
- className: (0, import_typed_classname35.clsx)(
2127
+ className: (0, import_typed_classname36.clsx)(
2101
2128
  `hds-styled-html`,
2102
2129
  size === "small" && "hds-styled-html--small",
2103
2130
  darkmode && "hds-styled-html--darkmode",
@@ -2113,20 +2140,20 @@ var StyledHtml = (0, import_react38.forwardRef)(
2113
2140
  StyledHtml.displayName = "StyledHtml";
2114
2141
 
2115
2142
  // src/table/table.tsx
2116
- var import_typed_classname36 = require("@postenbring/hedwig-css/typed-classname");
2117
- var import_react39 = require("react");
2118
- var import_jsx_runtime38 = require("react/jsx-runtime");
2119
- var Table = (0, import_react39.forwardRef)(
2143
+ var import_typed_classname37 = require("@postenbring/hedwig-css/typed-classname");
2144
+ var import_react40 = require("react");
2145
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2146
+ var Table = (0, import_react40.forwardRef)(
2120
2147
  (_a, ref) => {
2121
2148
  var _b = _a, { children, className, size, caption, description } = _b, rest = __objRest(_b, ["children", "className", "size", "caption", "description"]);
2122
- const descriptionId = (0, import_react39.useId)();
2123
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
2124
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2149
+ const descriptionId = (0, import_react40.useId)();
2150
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
2151
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2125
2152
  "table",
2126
2153
  __spreadProps(__spreadValues({
2127
2154
  "aria-describedby": description ? descriptionId : void 0,
2128
2155
  ref,
2129
- className: (0, import_typed_classname36.clsx)(
2156
+ className: (0, import_typed_classname37.clsx)(
2130
2157
  "hds-table",
2131
2158
  {
2132
2159
  "hds-table--compressed": size === "compressed",
@@ -2136,27 +2163,27 @@ var Table = (0, import_react39.forwardRef)(
2136
2163
  )
2137
2164
  }, rest), {
2138
2165
  children: [
2139
- caption ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("caption", { children: caption }) : null,
2166
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("caption", { children: caption }) : null,
2140
2167
  children
2141
2168
  ]
2142
2169
  })
2143
2170
  ),
2144
- description ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: (0, import_typed_classname36.clsx)("hds-table-description"), id: descriptionId, children: description }) : null
2171
+ description ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: (0, import_typed_classname37.clsx)("hds-table-description"), id: descriptionId, children: description }) : null
2145
2172
  ] });
2146
2173
  }
2147
2174
  );
2148
2175
  Table.displayName = "Table";
2149
2176
 
2150
2177
  // src/tabs/tabs.tsx
2151
- var import_react43 = require("react");
2152
- var import_typed_classname39 = require("@postenbring/hedwig-css/typed-classname");
2153
- var import_react_slot16 = require("@radix-ui/react-slot");
2178
+ var import_react44 = require("react");
2179
+ var import_typed_classname40 = require("@postenbring/hedwig-css/typed-classname");
2180
+ var import_react_slot17 = require("@radix-ui/react-slot");
2154
2181
 
2155
2182
  // src/tabs/context.ts
2156
- var import_react40 = require("react");
2157
- var TabsContext = (0, import_react40.createContext)(null);
2183
+ var import_react41 = require("react");
2184
+ var TabsContext = (0, import_react41.createContext)(null);
2158
2185
  function useTabsContext() {
2159
- const context = (0, import_react40.useContext)(TabsContext);
2186
+ const context = (0, import_react41.useContext)(TabsContext);
2160
2187
  if (!context) {
2161
2188
  throw new Error(
2162
2189
  "Tabs context required. Did you use `<Tabs.List />`, `<Tabs.Tab />`, or `<Tabs.Content />` outside of <Tabs/>?"
@@ -2166,25 +2193,25 @@ function useTabsContext() {
2166
2193
  }
2167
2194
 
2168
2195
  // src/tabs/tabs-content.tsx
2169
- var import_react41 = require("react");
2170
- var import_typed_classname37 = require("@postenbring/hedwig-css/typed-classname");
2171
- var import_react_slot15 = require("@radix-ui/react-slot");
2172
- var import_jsx_runtime39 = require("react/jsx-runtime");
2173
- var TabsContents = (0, import_react41.forwardRef)(
2196
+ var import_react42 = require("react");
2197
+ var import_typed_classname38 = require("@postenbring/hedwig-css/typed-classname");
2198
+ var import_react_slot16 = require("@radix-ui/react-slot");
2199
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2200
+ var TabsContents = (0, import_react42.forwardRef)(
2174
2201
  (_a, ref) => {
2175
2202
  var _b = _a, { asChild, children } = _b, rest = __objRest(_b, ["asChild", "children"]);
2176
- const Component = asChild ? import_react_slot15.Slot : "div";
2177
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname37.clsx)("hds-tabs__contents") }, rest), { children }));
2203
+ const Component = asChild ? import_react_slot16.Slot : "div";
2204
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname38.clsx)("hds-tabs__contents") }, rest), { children }));
2178
2205
  }
2179
2206
  );
2180
2207
  TabsContents.displayName = "Tabs.Contents";
2181
- var TabsContent = (0, import_react41.forwardRef)(
2208
+ var TabsContent = (0, import_react42.forwardRef)(
2182
2209
  (_a, ref) => {
2183
2210
  var _b = _a, { asChild, forTabId, children } = _b, rest = __objRest(_b, ["asChild", "forTabId", "children"]);
2184
2211
  const context = useTabsContext();
2185
- const Component = asChild ? import_react_slot15.Slot : "div";
2212
+ const Component = asChild ? import_react_slot16.Slot : "div";
2186
2213
  if (context.activeTabId === forTabId) {
2187
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
2214
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
2188
2215
  }
2189
2216
  return null;
2190
2217
  }
@@ -2192,25 +2219,24 @@ var TabsContent = (0, import_react41.forwardRef)(
2192
2219
  TabsContent.displayName = "Tabs.Content";
2193
2220
 
2194
2221
  // src/tabs/tabs-list.tsx
2195
- var import_react42 = require("react");
2196
- var import_typed_classname38 = require("@postenbring/hedwig-css/typed-classname");
2197
- var import_jsx_runtime40 = require("react/jsx-runtime");
2198
- var TabsList = (0, import_react42.forwardRef)(
2222
+ var import_react43 = require("react");
2223
+ var import_typed_classname39 = require("@postenbring/hedwig-css/typed-classname");
2224
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2225
+ var TabsList = (0, import_react43.forwardRef)(
2199
2226
  (_a, ref) => {
2200
2227
  var _b = _a, { children, direction = "horizontal", className } = _b, rest = __objRest(_b, ["children", "direction", "className"]);
2201
2228
  const { activeTabId } = useTabsContext();
2202
- const tabsListRef = (0, import_react42.useRef)(null);
2229
+ const tabsListRef = (0, import_react43.useRef)(null);
2203
2230
  const mergedRef = useMergeRefs([tabsListRef, ref]);
2204
2231
  const { width: tabsWidth } = useResize(tabsListRef);
2205
2232
  const isClientSide = useHydrated();
2206
2233
  const { innerWidth } = isClientSide ? window : { innerWidth: 1e3 };
2207
2234
  const wideEnough = innerWidth >= tabsWidth;
2208
- const previousTabId = (0, import_react42.useRef)(activeTabId);
2209
- (0, import_react42.useEffect)(() => {
2235
+ const previousTabId = (0, import_react43.useRef)(activeTabId);
2236
+ (0, import_react43.useEffect)(() => {
2210
2237
  const tabList = tabsListRef.current;
2211
2238
  const activeTab = tabList == null ? void 0 : tabList.querySelector(`[data-tabid="${activeTabId}"]`);
2212
- if (!activeTab || !tabList)
2213
- return;
2239
+ if (!activeTab || !tabList) return;
2214
2240
  const { offsetHeight: containerHeight, offsetWidth: containerWidth } = tabList;
2215
2241
  const { offsetHeight, offsetWidth, offsetTop, offsetLeft } = activeTab;
2216
2242
  const height = offsetHeight / containerHeight;
@@ -2231,10 +2257,10 @@ var TabsList = (0, import_react42.forwardRef)(
2231
2257
  }
2232
2258
  previousTabId.current = activeTabId;
2233
2259
  }, [activeTabId, innerWidth]);
2234
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2260
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2235
2261
  "div",
2236
2262
  __spreadProps(__spreadValues({
2237
- className: (0, import_typed_classname38.clsx)(
2263
+ className: (0, import_typed_classname39.clsx)(
2238
2264
  "hds-tabs__list",
2239
2265
  direction === "horizontal" ? {
2240
2266
  "hds-tabs__list--horizontal": wideEnough,
@@ -2253,7 +2279,7 @@ var TabsList = (0, import_react42.forwardRef)(
2253
2279
  }
2254
2280
  );
2255
2281
  TabsList.displayName = "Tabs.List";
2256
- var TabsTab = (0, import_react42.forwardRef)(
2282
+ var TabsTab = (0, import_react43.forwardRef)(
2257
2283
  (_a, ref) => {
2258
2284
  var _b = _a, { children, tabId, className, onClick } = _b, rest = __objRest(_b, ["children", "tabId", "className", "onClick"]);
2259
2285
  const context = useTabsContext();
@@ -2262,10 +2288,10 @@ var TabsTab = (0, import_react42.forwardRef)(
2262
2288
  context.toggleActiveTabId(tabId);
2263
2289
  onClick == null ? void 0 : onClick(e);
2264
2290
  };
2265
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2291
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2266
2292
  "button",
2267
2293
  __spreadProps(__spreadValues({
2268
- className: (0, import_typed_classname38.clsx)(
2294
+ className: (0, import_typed_classname39.clsx)(
2269
2295
  "hds-tabs__tab",
2270
2296
  { "hds-tabs__tab--active": context.activeTabId === tabId },
2271
2297
  className
@@ -2284,13 +2310,13 @@ var TabsTab = (0, import_react42.forwardRef)(
2284
2310
  TabsTab.displayName = "Tabs.Tab";
2285
2311
 
2286
2312
  // src/tabs/tabs.tsx
2287
- var import_jsx_runtime41 = require("react/jsx-runtime");
2288
- var Tabs = (0, import_react43.forwardRef)(
2313
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2314
+ var Tabs = (0, import_react44.forwardRef)(
2289
2315
  (_a, ref) => {
2290
2316
  var _b = _a, { asChild, defaultTab, children } = _b, rest = __objRest(_b, ["asChild", "defaultTab", "children"]);
2291
- const [activeTabId, setActiveTabId] = (0, import_react43.useState)(defaultTab);
2292
- const Component = asChild ? import_react_slot16.Slot : "div";
2293
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname39.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TabsContext.Provider, { value: { activeTabId, toggleActiveTabId: setActiveTabId }, children }) }));
2317
+ const [activeTabId, setActiveTabId] = (0, import_react44.useState)(defaultTab);
2318
+ const Component = asChild ? import_react_slot17.Slot : "div";
2319
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname40.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TabsContext.Provider, { value: { activeTabId, toggleActiveTabId: setActiveTabId }, children }) }));
2294
2320
  }
2295
2321
  );
2296
2322
  Tabs.displayName = "Tabs";
@@ -2300,10 +2326,10 @@ Tabs.Contents = TabsContents;
2300
2326
  Tabs.Content = TabsContent;
2301
2327
 
2302
2328
  // src/text/text.tsx
2303
- var import_react44 = require("react");
2304
- var import_typed_classname40 = require("@postenbring/hedwig-css/typed-classname");
2305
- var import_react_slot17 = require("@radix-ui/react-slot");
2306
- var import_jsx_runtime42 = require("react/jsx-runtime");
2329
+ var import_react45 = require("react");
2330
+ var import_typed_classname41 = require("@postenbring/hedwig-css/typed-classname");
2331
+ var import_react_slot18 = require("@radix-ui/react-slot");
2332
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2307
2333
  var defaultHTMLTag = {
2308
2334
  "h1-display": "h1",
2309
2335
  h1: "h1",
@@ -2319,7 +2345,7 @@ var defaultHTMLTag = {
2319
2345
  caption: "p",
2320
2346
  "caption-title": "p"
2321
2347
  };
2322
- var Text = (0, import_react44.forwardRef)(
2348
+ var Text = (0, import_react45.forwardRef)(
2323
2349
  (_a, ref) => {
2324
2350
  var _b = _a, {
2325
2351
  as: Tag,
@@ -2338,12 +2364,12 @@ var Text = (0, import_react44.forwardRef)(
2338
2364
  "children",
2339
2365
  "className"
2340
2366
  ]);
2341
- const Component = asChild ? import_react_slot17.Slot : Tag != null ? Tag : defaultHTMLTag[variant];
2367
+ const Component = asChild ? import_react_slot18.Slot : Tag != null ? Tag : defaultHTMLTag[variant];
2342
2368
  const sizeModifier = size !== "fluid" && variant !== "caption" && variant !== "caption-title" && size;
2343
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2369
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2344
2370
  Component,
2345
2371
  __spreadProps(__spreadValues({
2346
- className: (0, import_typed_classname40.clsx)(
2372
+ className: (0, import_typed_classname41.clsx)(
2347
2373
  `hds-text-${variant}`,
2348
2374
  sizeModifier && `hds-text--${sizeModifier}`,
2349
2375
  spacing && "hds-text--spacing",
@@ -2359,9 +2385,9 @@ var Text = (0, import_react44.forwardRef)(
2359
2385
  Text.displayName = "Text";
2360
2386
 
2361
2387
  // src/utils/auto-animate-height.tsx
2362
- var import_react45 = require("react");
2363
- var import_jsx_runtime43 = require("react/jsx-runtime");
2364
- var AutoAnimateHeight = (0, import_react45.forwardRef)(
2388
+ var import_react46 = require("react");
2389
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2390
+ var AutoAnimateHeight = (0, import_react46.forwardRef)(
2365
2391
  (_a, ref) => {
2366
2392
  var _b = _a, {
2367
2393
  children,
@@ -2377,36 +2403,32 @@ var AutoAnimateHeight = (0, import_react45.forwardRef)(
2377
2403
  "onTransitionEnd"
2378
2404
  ]);
2379
2405
  var _a2, _b2;
2380
- const rootRef = (0, import_react45.useRef)(null);
2406
+ const rootRef = (0, import_react46.useRef)(null);
2381
2407
  const mergedRef = useMergeRefs([rootRef, ref]);
2382
- const measurementRef = (0, import_react45.useRef)(null);
2383
- const [height, setHeight] = (0, import_react45.useState)(
2408
+ const measurementRef = (0, import_react46.useRef)(null);
2409
+ const [height, setHeight] = (0, import_react46.useState)(
2384
2410
  void 0
2385
2411
  );
2386
- const [clonedChildren, setClonedChildren] = (0, import_react45.useState)(
2387
- () => (0, import_react45.cloneElement)(/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, { children }), {})
2412
+ const [clonedChildren, setClonedChildren] = (0, import_react46.useState)(
2413
+ () => (0, import_react46.cloneElement)(/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, { children }), {})
2388
2414
  );
2389
- (0, import_react45.useEffect)(() => {
2415
+ (0, import_react46.useEffect)(() => {
2390
2416
  var _a3;
2391
- if (!rootRef.current)
2392
- return;
2393
- if (!measurementRef.current)
2394
- return;
2395
- if (document.body.scrollHeight === 0)
2396
- return;
2417
+ if (!rootRef.current) return;
2418
+ if (!measurementRef.current) return;
2419
+ if (document.body.scrollHeight === 0) return;
2397
2420
  const currentMeasurement = measurementRef.current;
2398
2421
  const { height: newHeight } = currentMeasurement.getBoundingClientRect();
2399
2422
  let previouslyObservedHeight = newHeight;
2400
2423
  const resizeObserver = new ResizeObserver(() => {
2401
2424
  const { height: resizedHeight } = currentMeasurement.getBoundingClientRect();
2402
- if (resizedHeight === previouslyObservedHeight)
2403
- return;
2425
+ if (resizedHeight === previouslyObservedHeight) return;
2404
2426
  previouslyObservedHeight = resizedHeight;
2405
2427
  setHeight({ height: resizedHeight, shouldAnimate: false });
2406
2428
  });
2407
2429
  resizeObserver.observe(currentMeasurement);
2408
2430
  setHeight({ height: newHeight, shouldAnimate: true });
2409
- const nextClonedChildren = (0, import_react45.cloneElement)(/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, { children }), {});
2431
+ const nextClonedChildren = (0, import_react46.cloneElement)(/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, { children }), {});
2410
2432
  if (newHeight >= ((_a3 = height == null ? void 0 : height.height) != null ? _a3 : 0)) {
2411
2433
  setClonedChildren(nextClonedChildren);
2412
2434
  return () => {
@@ -2415,8 +2437,7 @@ var AutoAnimateHeight = (0, import_react45.forwardRef)(
2415
2437
  }
2416
2438
  const currentRoot = rootRef.current;
2417
2439
  function onTransitionEndHandler(e) {
2418
- if (e.propertyName !== "height")
2419
- return;
2440
+ if (e.propertyName !== "height") return;
2420
2441
  setClonedChildren(nextClonedChildren);
2421
2442
  }
2422
2443
  currentRoot.addEventListener("transitionend", onTransitionEndHandler);
@@ -2425,7 +2446,7 @@ var AutoAnimateHeight = (0, import_react45.forwardRef)(
2425
2446
  currentRoot.removeEventListener("transitionend", onTransitionEndHandler);
2426
2447
  };
2427
2448
  }, [children]);
2428
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2449
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2429
2450
  "div",
2430
2451
  __spreadProps(__spreadValues({
2431
2452
  ref: mergedRef,
@@ -2441,7 +2462,7 @@ var AutoAnimateHeight = (0, import_react45.forwardRef)(
2441
2462
  }, style)
2442
2463
  }, rest), {
2443
2464
  children: [
2444
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2465
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2445
2466
  "div",
2446
2467
  {
2447
2468
  "aria-hidden": true,
@@ -2463,16 +2484,16 @@ var AutoAnimateHeight = (0, import_react45.forwardRef)(
2463
2484
  AutoAnimateHeight.displayName = "AutoAnimateHeight";
2464
2485
 
2465
2486
  // src/warning-banner/warning-banner.tsx
2466
- var import_react46 = require("react");
2467
- var import_typed_classname41 = require("@postenbring/hedwig-css/typed-classname");
2468
- var import_jsx_runtime44 = require("react/jsx-runtime");
2469
- var WarningBanner = (0, import_react46.forwardRef)(
2487
+ var import_react47 = require("react");
2488
+ var import_typed_classname42 = require("@postenbring/hedwig-css/typed-classname");
2489
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2490
+ var WarningBanner = (0, import_react47.forwardRef)(
2470
2491
  (_a, ref) => {
2471
2492
  var _b = _a, { title, description, className } = _b, rest = __objRest(_b, ["title", "description", "className"]);
2472
- const descriptionId = (0, import_react46.useId)();
2493
+ const descriptionId = (0, import_react47.useId)();
2473
2494
  const expandable = !!description;
2474
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname41.clsx)("hds-warning-banner", className), ref, children: [
2475
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2495
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname42.clsx)("hds-warning-banner", className), ref, children: [
2496
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2476
2497
  WarningBannerTitle,
2477
2498
  {
2478
2499
  variant: expandable ? "expandable" : "default",
@@ -2480,22 +2501,22 @@ var WarningBanner = (0, import_react46.forwardRef)(
2480
2501
  children: title
2481
2502
  }
2482
2503
  ),
2483
- expandable ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(WarningBannerDescription, { id: descriptionId, children: description }) : null
2504
+ expandable ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(WarningBannerDescription, { id: descriptionId, children: description }) : null
2484
2505
  ] }));
2485
2506
  }
2486
2507
  );
2487
2508
  WarningBanner.displayName = "WarningBanner";
2488
- var WarningBannerTitle = (0, import_react46.forwardRef)((_a, ref) => {
2509
+ var WarningBannerTitle = (0, import_react47.forwardRef)((_a, ref) => {
2489
2510
  var _b = _a, { variant, descriptionId, children, className } = _b, rest = __objRest(_b, ["variant", "descriptionId", "children", "className"]);
2490
- const [open, setOpen] = (0, import_react46.useState)(false);
2511
+ const [open, setOpen] = (0, import_react47.useState)(false);
2491
2512
  if (variant === "expandable") {
2492
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2513
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2493
2514
  "button",
2494
2515
  __spreadProps(__spreadValues({}, rest), {
2495
2516
  "aria-expanded": open,
2496
2517
  "aria-controls": descriptionId,
2497
2518
  "data-state": open ? "open" : "closed",
2498
- className: (0, import_typed_classname41.clsx)(
2519
+ className: (0, import_typed_classname42.clsx)(
2499
2520
  "hds-warning-banner__title",
2500
2521
  "hds-warning-banner__title-trigger",
2501
2522
  className
@@ -2505,28 +2526,28 @@ var WarningBannerTitle = (0, import_react46.forwardRef)((_a, ref) => {
2505
2526
  },
2506
2527
  ref,
2507
2528
  type: "button",
2508
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { children })
2529
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { children })
2509
2530
  })
2510
2531
  );
2511
2532
  }
2512
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2533
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2513
2534
  "p",
2514
2535
  __spreadProps(__spreadValues({}, rest), {
2515
- className: (0, import_typed_classname41.clsx)("hds-warning-banner__title", className),
2536
+ className: (0, import_typed_classname42.clsx)("hds-warning-banner__title", className),
2516
2537
  ref,
2517
2538
  children
2518
2539
  })
2519
2540
  );
2520
2541
  });
2521
2542
  WarningBannerTitle.displayName = "WarningBannerTitle";
2522
- var WarningBannerDescription = (0, import_react46.forwardRef)(
2543
+ var WarningBannerDescription = (0, import_react47.forwardRef)(
2523
2544
  (_a, ref) => {
2524
2545
  var _b = _a, { className, id } = _b, rest = __objRest(_b, ["className", "id"]);
2525
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2546
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2526
2547
  "p",
2527
2548
  __spreadValues({
2528
2549
  id,
2529
- className: (0, import_typed_classname41.clsx)("hds-warning-banner__description", className),
2550
+ className: (0, import_typed_classname42.clsx)("hds-warning-banner__description", className),
2530
2551
  ref
2531
2552
  }, rest)
2532
2553
  );
@@ -2541,6 +2562,7 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
2541
2562
  AccordionItem,
2542
2563
  AutoAnimateHeight,
2543
2564
  Badge,
2565
+ Blockquote,
2544
2566
  Box,
2545
2567
  BoxCloseButton,
2546
2568
  Breadcrumbs,
@@ -2592,8 +2614,8 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
2592
2614
  NavbarLogoAndServiceText,
2593
2615
  NavbarNavigation,
2594
2616
  OrderedList,
2617
+ RadioButton,
2595
2618
  RadioGroup,
2596
- Radiobutton,
2597
2619
  Select,
2598
2620
  ShowMoreButton,
2599
2621
  Skeleton,