@postenbring/hedwig-react 0.0.87 → 0.0.89

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