@postenbring/hedwig-react 2.1.4 → 2.2.1

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 (148) hide show
  1. package/dist/accordion/accordion-content.d.ts.map +1 -1
  2. package/dist/accordion/accordion-content.js +22 -6
  3. package/dist/accordion/accordion-content.js.map +1 -1
  4. package/dist/accordion/accordion-content.mjs +4 -1
  5. package/dist/accordion/accordion.js +24 -6
  6. package/dist/accordion/accordion.js.map +1 -1
  7. package/dist/accordion/accordion.mjs +5 -2
  8. package/dist/accordion/index.js +24 -6
  9. package/dist/accordion/index.js.map +1 -1
  10. package/dist/accordion/index.mjs +5 -2
  11. package/dist/alert/alert.d.ts +36 -0
  12. package/dist/alert/alert.d.ts.map +1 -0
  13. package/dist/alert/alert.js +186 -0
  14. package/dist/alert/alert.js.map +1 -0
  15. package/dist/alert/alert.mjs +13 -0
  16. package/dist/alert/alert.mjs.map +1 -0
  17. package/dist/alert/index.d.ts +3 -0
  18. package/dist/alert/index.d.ts.map +1 -0
  19. package/dist/alert/index.js +188 -0
  20. package/dist/alert/index.js.map +1 -0
  21. package/dist/alert/index.mjs +14 -0
  22. package/dist/alert/index.mjs.map +1 -0
  23. package/dist/{chunk-GVO57ZWU.mjs → chunk-23IZCRJA.mjs} +2 -2
  24. package/dist/chunk-4P4GPVKZ.mjs +63 -0
  25. package/dist/chunk-4P4GPVKZ.mjs.map +1 -0
  26. package/dist/{chunk-KNGG6M2I.mjs → chunk-5RXT5GLF.mjs} +2 -2
  27. package/dist/{chunk-ILFK3VKS.mjs → chunk-77M2ZTP7.mjs} +6 -3
  28. package/dist/chunk-77M2ZTP7.mjs.map +1 -0
  29. package/dist/{chunk-5FWY7FIX.mjs → chunk-AGIY7SFP.mjs} +5 -2
  30. package/dist/chunk-AGIY7SFP.mjs.map +1 -0
  31. package/dist/{chunk-WLESNP6Z.mjs → chunk-B6T36QDV.mjs} +5 -2
  32. package/dist/chunk-B6T36QDV.mjs.map +1 -0
  33. package/dist/{chunk-GXIKHXWC.mjs → chunk-EQFY63YP.mjs} +2 -2
  34. package/dist/{chunk-6SVLMQUW.mjs → chunk-FUIKSOJF.mjs} +4 -4
  35. package/dist/{chunk-KCEWKQ4W.mjs → chunk-GYI4NCUY.mjs} +2 -2
  36. package/dist/{chunk-J5SCUELT.mjs → chunk-HBGFFKP3.mjs} +2 -2
  37. package/dist/{chunk-4C76JM3T.mjs → chunk-I4NL4ESV.mjs} +2 -2
  38. package/dist/{chunk-DTU7AXY3.mjs → chunk-NUP7ZBVE.mjs} +2 -2
  39. package/dist/chunk-OVKUPO5U.mjs +1 -0
  40. package/dist/chunk-OVKUPO5U.mjs.map +1 -0
  41. package/dist/{chunk-CKG2XRMX.mjs → chunk-R6MQFVHE.mjs} +2 -2
  42. package/dist/{chunk-YQMTDQSQ.mjs → chunk-TC5PD4TA.mjs} +4 -4
  43. package/dist/{chunk-DRSAVDIE.mjs → chunk-W6CFPK2C.mjs} +5 -4
  44. package/dist/chunk-W6CFPK2C.mjs.map +1 -0
  45. package/dist/{chunk-4YCM72TQ.mjs → chunk-W7CPW23K.mjs} +27 -18
  46. package/dist/chunk-W7CPW23K.mjs.map +1 -0
  47. package/dist/footer/footer.js +37 -19
  48. package/dist/footer/footer.js.map +1 -1
  49. package/dist/footer/footer.mjs +6 -3
  50. package/dist/footer/index.js +37 -19
  51. package/dist/footer/index.js.map +1 -1
  52. package/dist/footer/index.mjs +6 -3
  53. package/dist/form/date-picker/date-picker.js +1 -0
  54. package/dist/form/date-picker/date-picker.js.map +1 -1
  55. package/dist/form/date-picker/date-picker.mjs +2 -2
  56. package/dist/form/date-picker/index.js +1 -0
  57. package/dist/form/date-picker/index.js.map +1 -1
  58. package/dist/form/date-picker/index.mjs +2 -2
  59. package/dist/form/error-summary/error-summary.d.ts +5 -5
  60. package/dist/form/error-summary/error-summary.d.ts.map +1 -1
  61. package/dist/form/error-summary/error-summary.js +47 -93
  62. package/dist/form/error-summary/error-summary.js.map +1 -1
  63. package/dist/form/error-summary/error-summary.mjs +5 -6
  64. package/dist/form/error-summary/index.js +47 -93
  65. package/dist/form/error-summary/index.js.map +1 -1
  66. package/dist/form/error-summary/index.mjs +5 -6
  67. package/dist/form/index.js +75 -121
  68. package/dist/form/index.js.map +1 -1
  69. package/dist/form/index.mjs +15 -16
  70. package/dist/index.d.ts +1 -0
  71. package/dist/index.d.ts.map +1 -1
  72. package/dist/index.js +784 -713
  73. package/dist/index.js.map +1 -1
  74. package/dist/index.mjs +86 -75
  75. package/dist/layout/grid/grid.mjs +2 -2
  76. package/dist/layout/grid/index.mjs +2 -2
  77. package/dist/layout/index.mjs +9 -9
  78. package/dist/layout/stack/index.mjs +2 -2
  79. package/dist/layout/stack/stack.mjs +2 -2
  80. package/dist/modal/index.js +1 -0
  81. package/dist/modal/index.js.map +1 -1
  82. package/dist/modal/index.mjs +2 -2
  83. package/dist/modal/modal.js +1 -0
  84. package/dist/modal/modal.js.map +1 -1
  85. package/dist/modal/modal.mjs +2 -2
  86. package/dist/navbar/index.js +3 -1
  87. package/dist/navbar/index.js.map +1 -1
  88. package/dist/navbar/index.mjs +3 -3
  89. package/dist/navbar/navbar-expandable-menu.d.ts.map +1 -1
  90. package/dist/navbar/navbar-expandable-menu.js +3 -1
  91. package/dist/navbar/navbar-expandable-menu.js.map +1 -1
  92. package/dist/navbar/navbar-expandable-menu.mjs +2 -2
  93. package/dist/navbar/navbar.js +3 -1
  94. package/dist/navbar/navbar.js.map +1 -1
  95. package/dist/navbar/navbar.mjs +3 -3
  96. package/dist/skeleton/index.js +20 -2
  97. package/dist/skeleton/index.js.map +1 -1
  98. package/dist/skeleton/index.mjs +4 -1
  99. package/dist/skeleton/skeleton.d.ts.map +1 -1
  100. package/dist/skeleton/skeleton.js +20 -2
  101. package/dist/skeleton/skeleton.js.map +1 -1
  102. package/dist/skeleton/skeleton.mjs +4 -1
  103. package/dist/tabs/index.js +1 -0
  104. package/dist/tabs/index.js.map +1 -1
  105. package/dist/tabs/index.mjs +3 -3
  106. package/dist/tabs/tabs-list.js +1 -0
  107. package/dist/tabs/tabs-list.js.map +1 -1
  108. package/dist/tabs/tabs-list.mjs +2 -2
  109. package/dist/tabs/tabs.js +1 -0
  110. package/dist/tabs/tabs.js.map +1 -1
  111. package/dist/tabs/tabs.mjs +3 -3
  112. package/dist/text/text.d.ts +1 -1
  113. package/dist/utils/auto-animate-height.js +1 -0
  114. package/dist/utils/auto-animate-height.js.map +1 -1
  115. package/dist/utils/auto-animate-height.mjs +2 -2
  116. package/dist/utils/index.js +4 -0
  117. package/dist/utils/index.js.map +1 -1
  118. package/dist/utils/index.mjs +4 -2
  119. package/dist/utils/utils.d.ts +4 -0
  120. package/dist/utils/utils.d.ts.map +1 -1
  121. package/dist/utils/utils.js +4 -0
  122. package/dist/utils/utils.js.map +1 -1
  123. package/dist/utils/utils.mjs +3 -1
  124. package/package.json +5 -5
  125. package/src/accordion/accordion-content.tsx +2 -1
  126. package/src/alert/alert.stories.tsx +36 -0
  127. package/src/alert/alert.tsx +83 -0
  128. package/src/alert/index.tsx +2 -0
  129. package/src/form/error-summary/error-summary.tsx +32 -31
  130. package/src/index.ts +1 -0
  131. package/src/navbar/navbar-expandable-menu.tsx +3 -2
  132. package/src/skeleton/skeleton.tsx +2 -1
  133. package/src/utils/utils.ts +14 -1
  134. package/dist/chunk-4YCM72TQ.mjs.map +0 -1
  135. package/dist/chunk-5FWY7FIX.mjs.map +0 -1
  136. package/dist/chunk-DRSAVDIE.mjs.map +0 -1
  137. package/dist/chunk-ILFK3VKS.mjs.map +0 -1
  138. package/dist/chunk-WLESNP6Z.mjs.map +0 -1
  139. /package/dist/{chunk-GVO57ZWU.mjs.map → chunk-23IZCRJA.mjs.map} +0 -0
  140. /package/dist/{chunk-KNGG6M2I.mjs.map → chunk-5RXT5GLF.mjs.map} +0 -0
  141. /package/dist/{chunk-GXIKHXWC.mjs.map → chunk-EQFY63YP.mjs.map} +0 -0
  142. /package/dist/{chunk-6SVLMQUW.mjs.map → chunk-FUIKSOJF.mjs.map} +0 -0
  143. /package/dist/{chunk-KCEWKQ4W.mjs.map → chunk-GYI4NCUY.mjs.map} +0 -0
  144. /package/dist/{chunk-J5SCUELT.mjs.map → chunk-HBGFFKP3.mjs.map} +0 -0
  145. /package/dist/{chunk-4C76JM3T.mjs.map → chunk-I4NL4ESV.mjs.map} +0 -0
  146. /package/dist/{chunk-DTU7AXY3.mjs.map → chunk-NUP7ZBVE.mjs.map} +0 -0
  147. /package/dist/{chunk-CKG2XRMX.mjs.map → chunk-R6MQFVHE.mjs.map} +0 -0
  148. /package/dist/{chunk-YQMTDQSQ.mjs.map → chunk-TC5PD4TA.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -63,6 +63,9 @@ __export(index_exports, {
63
63
  AccordionContent: () => AccordionContent,
64
64
  AccordionHeader: () => AccordionHeader,
65
65
  AccordionItem: () => AccordionItem,
66
+ Alert: () => Alert,
67
+ AlertDescription: () => AlertDescription,
68
+ AlertTitle: () => AlertTitle,
66
69
  AutoAnimateHeight: () => AutoAnimateHeight,
67
70
  Badge: () => Badge,
68
71
  Blockquote: () => Blockquote,
@@ -141,6 +144,7 @@ __export(index_exports, {
141
144
  VStack: () => VStack,
142
145
  WarningBanner: () => WarningBanner,
143
146
  focusTrap: () => focusTrap,
147
+ inertPropValue: () => inertPropValue,
144
148
  useFieldsetContext: () => useFieldsetContext,
145
149
  useHydrated: () => useHydrated,
146
150
  useMergeRefs: () => useMergeRefs,
@@ -151,7 +155,7 @@ __export(index_exports, {
151
155
  module.exports = __toCommonJS(index_exports);
152
156
 
153
157
  // src/accordion/accordion.tsx
154
- var import_react5 = require("react");
158
+ var import_react7 = require("react");
155
159
  var import_typed_classname4 = require("@postenbring/hedwig-css/typed-classname");
156
160
 
157
161
  // src/accordion/accordion-item.tsx
@@ -223,26 +227,208 @@ var AccordionHeader = (0, import_react3.forwardRef)(
223
227
  AccordionHeader.displayName = "Accordion.Header";
224
228
 
225
229
  // src/accordion/accordion-content.tsx
226
- var import_react4 = require("react");
230
+ var import_react6 = require("react");
227
231
  var import_typed_classname3 = require("@postenbring/hedwig-css/typed-classname");
232
+
233
+ // src/utils/utils.ts
234
+ var React = __toESM(require("react"));
235
+ var import_react4 = require("react");
236
+ function useMergeRefs(refs) {
237
+ return React.useMemo(() => {
238
+ if (refs.every((ref) => ref === null)) {
239
+ return null;
240
+ }
241
+ return (value) => {
242
+ refs.forEach((ref) => {
243
+ if (typeof ref === "function") {
244
+ ref(value);
245
+ } else if (ref !== null) {
246
+ ref.current = value;
247
+ }
248
+ });
249
+ };
250
+ }, refs);
251
+ }
252
+ function useResize(ref) {
253
+ const [width, setWidth] = (0, import_react4.useState)(0);
254
+ const [height, setHeight] = (0, import_react4.useState)(0);
255
+ const handleResize = (0, import_react4.useCallback)(() => {
256
+ var _a, _b, _c, _d;
257
+ if ((ref == null ? void 0 : ref.current) !== null) {
258
+ setWidth((_b = (_a = ref == null ? void 0 : ref.current) == null ? void 0 : _a.offsetWidth) != null ? _b : 0);
259
+ setHeight((_d = (_c = ref == null ? void 0 : ref.current) == null ? void 0 : _c.offsetHeight) != null ? _d : 0);
260
+ }
261
+ }, [ref]);
262
+ (0, import_react4.useEffect)(() => {
263
+ window.addEventListener("load", handleResize);
264
+ window.addEventListener("resize", handleResize);
265
+ return () => {
266
+ window.removeEventListener("load", handleResize);
267
+ window.removeEventListener("resize", handleResize);
268
+ };
269
+ }, [ref, handleResize]);
270
+ (0, import_react4.useEffect)(() => {
271
+ handleResize();
272
+ }, []);
273
+ return { width, height };
274
+ }
275
+ function subscribe() {
276
+ return () => {
277
+ };
278
+ }
279
+ function useHydrated() {
280
+ return React.useSyncExternalStore(
281
+ subscribe,
282
+ () => true,
283
+ () => false
284
+ );
285
+ }
286
+ function focusTrap(element) {
287
+ var _a, _b;
288
+ if (element === document.body) return () => {
289
+ };
290
+ let inertElements = [];
291
+ for (let el = element; el; el = el.parentElement) {
292
+ if (el === document.body) break;
293
+ for (const sibling of (_b = (_a = el.parentElement) == null ? void 0 : _a.children) != null ? _b : []) {
294
+ if (sibling === el) continue;
295
+ if (!(sibling instanceof HTMLElement)) continue;
296
+ if (sibling.hasAttribute("inert")) continue;
297
+ sibling.setAttribute("inert", "true");
298
+ inertElements.push(sibling);
299
+ }
300
+ }
301
+ return () => {
302
+ releaseFocusTrap(inertElements);
303
+ inertElements = [];
304
+ };
305
+ }
306
+ function releaseFocusTrap(inertElements) {
307
+ for (const el of inertElements) {
308
+ el.removeAttribute("inert");
309
+ }
310
+ }
311
+ var inertBooleanSupported = Number(import_react4.version.split(".")[0]) >= 19;
312
+ var inertPropValue = inertBooleanSupported ? (x) => x : (x) => x ? "" : void 0;
313
+
314
+ // src/utils/auto-animate-height.tsx
315
+ var import_react5 = require("react");
228
316
  var import_jsx_runtime3 = require("react/jsx-runtime");
229
- var AccordionContent = (0, import_react4.forwardRef)(
317
+ var AutoAnimateHeight = (0, import_react5.forwardRef)(
318
+ (_a, ref) => {
319
+ var _b = _a, {
320
+ children,
321
+ style,
322
+ animationDuration = "quick",
323
+ animationEasing = "normal",
324
+ onTransitionEnd
325
+ } = _b, rest = __objRest(_b, [
326
+ "children",
327
+ "style",
328
+ "animationDuration",
329
+ "animationEasing",
330
+ "onTransitionEnd"
331
+ ]);
332
+ var _a2, _b2;
333
+ const rootRef = (0, import_react5.useRef)(null);
334
+ const mergedRef = useMergeRefs([rootRef, ref]);
335
+ const measurementRef = (0, import_react5.useRef)(null);
336
+ const [height, setHeight] = (0, import_react5.useState)(
337
+ void 0
338
+ );
339
+ const [clonedChildren, setClonedChildren] = (0, import_react5.useState)(
340
+ () => (0, import_react5.cloneElement)(/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children }), {})
341
+ );
342
+ (0, import_react5.useEffect)(() => {
343
+ var _a3;
344
+ if (!rootRef.current) return;
345
+ if (!measurementRef.current) return;
346
+ if (document.body.scrollHeight === 0) return;
347
+ const currentMeasurement = measurementRef.current;
348
+ const { height: newHeight } = currentMeasurement.getBoundingClientRect();
349
+ let previouslyObservedHeight = newHeight;
350
+ const resizeObserver = new ResizeObserver(() => {
351
+ const { height: resizedHeight } = currentMeasurement.getBoundingClientRect();
352
+ if (resizedHeight === previouslyObservedHeight) return;
353
+ previouslyObservedHeight = resizedHeight;
354
+ setHeight({ height: resizedHeight, shouldAnimate: false });
355
+ });
356
+ resizeObserver.observe(currentMeasurement);
357
+ setHeight({ height: newHeight, shouldAnimate: true });
358
+ const nextClonedChildren = (0, import_react5.cloneElement)(/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children }), {});
359
+ if (newHeight >= ((_a3 = height == null ? void 0 : height.height) != null ? _a3 : 0)) {
360
+ setClonedChildren(nextClonedChildren);
361
+ return () => {
362
+ resizeObserver.disconnect();
363
+ };
364
+ }
365
+ const currentRoot = rootRef.current;
366
+ function onTransitionEndHandler(e) {
367
+ if (e.propertyName !== "height") return;
368
+ setClonedChildren(nextClonedChildren);
369
+ }
370
+ currentRoot.addEventListener("transitionend", onTransitionEndHandler);
371
+ return () => {
372
+ resizeObserver.disconnect();
373
+ currentRoot.removeEventListener("transitionend", onTransitionEndHandler);
374
+ };
375
+ }, [children]);
376
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
377
+ "div",
378
+ __spreadProps(__spreadValues({
379
+ ref: mergedRef,
380
+ onTransitionEnd,
381
+ style: __spreadValues({
382
+ position: "relative",
383
+ overflow: "hidden",
384
+ height: (_b2 = height == null ? void 0 : height.height) != null ? _b2 : (_a2 = measurementRef.current) == null ? void 0 : _a2.getBoundingClientRect().height,
385
+ transitionProperty: (height == null ? void 0 : height.shouldAnimate) ? "height" : "none",
386
+ transitionDuration: `var(--hds-micro-animation-duration-${animationDuration})`,
387
+ transitionTimingFunction: `var(--hds-micro-animation-easing-${animationEasing})`,
388
+ willChange: "height"
389
+ }, style)
390
+ }, rest), {
391
+ children: [
392
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
393
+ "div",
394
+ {
395
+ "aria-hidden": true,
396
+ ref: measurementRef,
397
+ style: {
398
+ position: "absolute",
399
+ visibility: "hidden",
400
+ pointerEvents: "none"
401
+ },
402
+ children
403
+ }
404
+ ),
405
+ clonedChildren
406
+ ]
407
+ })
408
+ );
409
+ }
410
+ );
411
+ AutoAnimateHeight.displayName = "AutoAnimateHeight";
412
+
413
+ // src/accordion/accordion-content.tsx
414
+ var import_jsx_runtime4 = require("react/jsx-runtime");
415
+ var AccordionContent = (0, import_react6.forwardRef)(
230
416
  (_a, ref) => {
231
417
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
232
- const context = (0, import_react4.useContext)(AccordionItemContext);
418
+ const context = (0, import_react6.useContext)(AccordionItemContext);
233
419
  if (context === null) {
234
420
  return null;
235
421
  }
236
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
422
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
237
423
  "div",
238
424
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({
239
425
  id: context.contentId,
240
426
  "data-state": context.open ? "open" : "closed"
241
- }, { inert: context.open ? void 0 : "true" }), {
427
+ }, { inert: inertPropValue(!context.open) }), {
242
428
  className: (0, import_typed_classname3.clsx)("hds-accordion-item-content", className),
243
429
  ref
244
430
  }), rest), {
245
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: (0, import_typed_classname3.clsx)("hds-accordion-item-content-inner"), children })
431
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: (0, import_typed_classname3.clsx)("hds-accordion-item-content-inner"), children })
246
432
  })
247
433
  );
248
434
  }
@@ -250,11 +436,11 @@ var AccordionContent = (0, import_react4.forwardRef)(
250
436
  AccordionContent.displayName = "Accordion.Content";
251
437
 
252
438
  // src/accordion/accordion.tsx
253
- var import_jsx_runtime4 = require("react/jsx-runtime");
254
- var Accordion = (0, import_react5.forwardRef)(
439
+ var import_jsx_runtime5 = require("react/jsx-runtime");
440
+ var Accordion = (0, import_react7.forwardRef)(
255
441
  (_a, ref) => {
256
442
  var _b = _a, { children, className, indent = true } = _b, rest = __objRest(_b, ["children", "className", "indent"]);
257
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
443
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
258
444
  "div",
259
445
  __spreadProps(__spreadValues({}, rest), {
260
446
  className: (0, import_typed_classname4.clsx)(
@@ -273,71 +459,23 @@ Accordion.Item = AccordionItem;
273
459
  Accordion.Header = AccordionHeader;
274
460
  Accordion.Content = AccordionContent;
275
461
 
276
- // src/badge/badge.tsx
277
- var import_typed_classname5 = require("@postenbring/hedwig-css/typed-classname");
278
- var import_react_slot = require("@radix-ui/react-slot");
279
- var import_react6 = require("react");
280
- var import_jsx_runtime5 = require("react/jsx-runtime");
281
- var Badge = (0, import_react6.forwardRef)(
282
- (_a, ref) => {
283
- var _b = _a, { children, asChild, variant = "lighter", size = "small", className } = _b, rest = __objRest(_b, ["children", "asChild", "variant", "size", "className"]);
284
- const Component = asChild ? import_react_slot.Slot : "span";
285
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
286
- Component,
287
- __spreadProps(__spreadValues({
288
- ref,
289
- className: (0, import_typed_classname5.clsx)(
290
- "hds-badge",
291
- `hds-badge--${size}`,
292
- `hds-badge--${variant}`,
293
- className
294
- )
295
- }, rest), {
296
- children
297
- })
298
- );
299
- }
300
- );
301
- Badge.displayName = "Badge";
302
-
303
- // src/blockquote/blockquote.tsx
462
+ // src/alert/alert.tsx
463
+ var import_react9 = require("react");
304
464
  var import_typed_classname6 = require("@postenbring/hedwig-css/typed-classname");
305
465
  var import_react_slot2 = require("@radix-ui/react-slot");
306
- var import_react7 = require("react");
307
- var import_jsx_runtime6 = require("react/jsx-runtime");
308
- var Blockquote = (0, import_react7.forwardRef)(
309
- (_a, ref) => {
310
- var _b = _a, { children, asChild, className, variant } = _b, rest = __objRest(_b, ["children", "asChild", "className", "variant"]);
311
- const Component = asChild ? import_react_slot2.Slot : "blockquote";
312
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
313
- Component,
314
- __spreadProps(__spreadValues({
315
- ref,
316
- className: (0, import_typed_classname6.clsx)(
317
- "hds-blockquote",
318
- variant === "norwegian" && `hds-blockquote--norwegian`,
319
- className
320
- )
321
- }, rest), {
322
- children
323
- })
324
- );
325
- }
326
- );
327
- Blockquote.displayName = "Blockquote";
328
466
 
329
467
  // src/box/box.tsx
330
468
  var import_react8 = require("react");
331
- var import_typed_classname7 = require("@postenbring/hedwig-css/typed-classname");
332
- var import_react_slot3 = require("@radix-ui/react-slot");
333
- var import_jsx_runtime7 = require("react/jsx-runtime");
469
+ var import_typed_classname5 = require("@postenbring/hedwig-css/typed-classname");
470
+ var import_react_slot = require("@radix-ui/react-slot");
471
+ var import_jsx_runtime6 = require("react/jsx-runtime");
334
472
  var BoxCloseButton = (0, import_react8.forwardRef)(
335
473
  (_a, ref) => {
336
474
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
337
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
475
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
338
476
  "button",
339
477
  __spreadValues({
340
- className: (0, import_typed_classname7.clsx)("hds-box__close-button", className),
478
+ className: (0, import_typed_classname5.clsx)("hds-box__close-button", className),
341
479
  ref,
342
480
  type: "button"
343
481
  }, rest)
@@ -378,11 +516,11 @@ var Box = (0, import_react8.forwardRef)(
378
516
  }
379
517
  }, []);
380
518
  const closed = closedProp != null ? closedProp : closedState;
381
- const Component = asChild ? import_react_slot3.Slot : "div";
382
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
519
+ const Component = asChild ? import_react_slot.Slot : "div";
520
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
383
521
  Component,
384
522
  __spreadProps(__spreadValues({
385
- className: (0, import_typed_classname7.clsx)(
523
+ className: (0, import_typed_classname5.clsx)(
386
524
  "hds-box",
387
525
  variant && `hds-box--${variant}`,
388
526
  { "hds-box--closed": closed },
@@ -391,8 +529,8 @@ var Box = (0, import_react8.forwardRef)(
391
529
  ref
392
530
  }, rest), {
393
531
  children: [
394
- closeable ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(BoxCloseButton, __spreadValues({ onClick: onClose }, closeButtonProps)) : null,
395
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_slot3.Slottable, { children })
532
+ closeable ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(BoxCloseButton, __spreadValues({ onClick: onClose }, closeButtonProps)) : null,
533
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_slot.Slottable, { children })
396
534
  ]
397
535
  })
398
536
  );
@@ -401,24 +539,122 @@ var Box = (0, import_react8.forwardRef)(
401
539
  Box.displayName = "Box";
402
540
  Box.CloseButton = BoxCloseButton;
403
541
 
404
- // src/breadcrumbs/breadcrumbs.tsx
405
- var import_react9 = require("react");
406
- var import_typed_classname8 = require("@postenbring/hedwig-css/typed-classname");
542
+ // src/alert/alert.tsx
543
+ var import_jsx_runtime7 = require("react/jsx-runtime");
544
+ var AlertTitle = (0, import_react9.forwardRef)(
545
+ (_a, ref) => {
546
+ var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
547
+ const Component = asChild ? import_react_slot2.Slot : "div";
548
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Component, __spreadValues({ className: (0, import_typed_classname6.clsx)("hds-alert__title", className), ref }, rest));
549
+ }
550
+ );
551
+ AlertTitle.displayName = "Alert.Title";
552
+ var AlertDescription = (0, import_react9.forwardRef)(
553
+ (_a, ref) => {
554
+ var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
555
+ const Component = asChild ? import_react_slot2.Slot : "div";
556
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
557
+ Component,
558
+ __spreadValues({
559
+ className: (0, import_typed_classname6.clsx)("hds-alert__description", className),
560
+ ref
561
+ }, rest)
562
+ );
563
+ }
564
+ );
565
+ AlertDescription.displayName = "Alert.Description";
566
+ var Alert = (0, import_react9.forwardRef)(
567
+ (_a, ref) => {
568
+ var _b = _a, { children, className, variant = "success", icon, iconClassName } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon", "iconClassName"]);
569
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
570
+ Box,
571
+ __spreadProps(__spreadValues({
572
+ className: (0, import_typed_classname6.clsx)(`hds-alert`, `hds-alert--${variant}`, className),
573
+ ref
574
+ }, rest), {
575
+ children: [
576
+ variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: (0, import_typed_classname6.clsx)("hds-alert--neutral__icon", iconClassName), children: icon }),
577
+ children
578
+ ]
579
+ })
580
+ );
581
+ }
582
+ );
583
+ Alert.displayName = "Alert";
584
+ Alert.Title = AlertTitle;
585
+ Alert.Description = AlertDescription;
586
+
587
+ // src/badge/badge.tsx
588
+ var import_typed_classname7 = require("@postenbring/hedwig-css/typed-classname");
589
+ var import_react_slot3 = require("@radix-ui/react-slot");
590
+ var import_react10 = require("react");
407
591
  var import_jsx_runtime8 = require("react/jsx-runtime");
408
- var Breadcrumbs = (0, import_react9.forwardRef)(
592
+ var Badge = (0, import_react10.forwardRef)(
593
+ (_a, ref) => {
594
+ var _b = _a, { children, asChild, variant = "lighter", size = "small", className } = _b, rest = __objRest(_b, ["children", "asChild", "variant", "size", "className"]);
595
+ const Component = asChild ? import_react_slot3.Slot : "span";
596
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
597
+ Component,
598
+ __spreadProps(__spreadValues({
599
+ ref,
600
+ className: (0, import_typed_classname7.clsx)(
601
+ "hds-badge",
602
+ `hds-badge--${size}`,
603
+ `hds-badge--${variant}`,
604
+ className
605
+ )
606
+ }, rest), {
607
+ children
608
+ })
609
+ );
610
+ }
611
+ );
612
+ Badge.displayName = "Badge";
613
+
614
+ // src/blockquote/blockquote.tsx
615
+ var import_typed_classname8 = require("@postenbring/hedwig-css/typed-classname");
616
+ var import_react_slot4 = require("@radix-ui/react-slot");
617
+ var import_react11 = require("react");
618
+ var import_jsx_runtime9 = require("react/jsx-runtime");
619
+ var Blockquote = (0, import_react11.forwardRef)(
620
+ (_a, ref) => {
621
+ var _b = _a, { children, asChild, className, variant } = _b, rest = __objRest(_b, ["children", "asChild", "className", "variant"]);
622
+ const Component = asChild ? import_react_slot4.Slot : "blockquote";
623
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
624
+ Component,
625
+ __spreadProps(__spreadValues({
626
+ ref,
627
+ className: (0, import_typed_classname8.clsx)(
628
+ "hds-blockquote",
629
+ variant === "norwegian" && `hds-blockquote--norwegian`,
630
+ className
631
+ )
632
+ }, rest), {
633
+ children
634
+ })
635
+ );
636
+ }
637
+ );
638
+ Blockquote.displayName = "Blockquote";
639
+
640
+ // src/breadcrumbs/breadcrumbs.tsx
641
+ var import_react12 = require("react");
642
+ var import_typed_classname9 = require("@postenbring/hedwig-css/typed-classname");
643
+ var import_jsx_runtime10 = require("react/jsx-runtime");
644
+ var Breadcrumbs = (0, import_react12.forwardRef)(
409
645
  (_a, ref) => {
410
646
  var _b = _a, { olProps, children } = _b, rest = __objRest(_b, ["olProps", "children"]);
411
- 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 })) }));
647
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("nav", __spreadProps(__spreadValues({ ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ol", __spreadProps(__spreadValues({}, olProps), { className: (0, import_typed_classname9.clsx)("hds-breadcrumbs", olProps == null ? void 0 : olProps.className), children })) }));
412
648
  }
413
649
  );
414
650
  Breadcrumbs.displayName = "Breadcrumbs";
415
651
 
416
652
  // src/button/button.tsx
417
- var import_react10 = require("react");
418
- var import_typed_classname9 = require("@postenbring/hedwig-css/typed-classname");
419
- var import_react_slot4 = require("@radix-ui/react-slot");
420
- var import_jsx_runtime9 = require("react/jsx-runtime");
421
- var Button = (0, import_react10.forwardRef)(
653
+ var import_react13 = require("react");
654
+ var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname");
655
+ var import_react_slot5 = require("@radix-ui/react-slot");
656
+ var import_jsx_runtime11 = require("react/jsx-runtime");
657
+ var Button = (0, import_react13.forwardRef)(
422
658
  (_a, ref) => {
423
659
  var _b = _a, {
424
660
  asChild,
@@ -437,11 +673,11 @@ var Button = (0, import_react10.forwardRef)(
437
673
  "icon",
438
674
  "className"
439
675
  ]);
440
- const Component = asChild ? import_react_slot4.Slot : "button";
441
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
676
+ const Component = asChild ? import_react_slot5.Slot : "button";
677
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
442
678
  Component,
443
679
  __spreadProps(__spreadValues({
444
- className: (0, import_typed_classname9.clsx)(
680
+ className: (0, import_typed_classname10.clsx)(
445
681
  "hds-button",
446
682
  `hds-button--${size}`,
447
683
  `hds-button--${variant}`,
@@ -464,17 +700,17 @@ var Button = (0, import_react10.forwardRef)(
464
700
  Button.displayName = "Button";
465
701
 
466
702
  // src/button-list/button-list.tsx
467
- var import_react11 = require("react");
468
- var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname");
469
- var import_jsx_runtime10 = require("react/jsx-runtime");
470
- var ButtonList = (0, import_react11.forwardRef)(
703
+ var import_react14 = require("react");
704
+ var import_typed_classname11 = require("@postenbring/hedwig-css/typed-classname");
705
+ var import_jsx_runtime12 = require("react/jsx-runtime");
706
+ var ButtonList = (0, import_react14.forwardRef)(
471
707
  (_a, ref) => {
472
708
  var _b = _a, { variant = "default", className, children } = _b, rest = __objRest(_b, ["variant", "className", "children"]);
473
709
  const Component = "div";
474
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
710
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
475
711
  Component,
476
712
  __spreadProps(__spreadValues({
477
- className: (0, import_typed_classname10.clsx)("hds-button-list", `hds-button-list--${variant}`, className),
713
+ className: (0, import_typed_classname11.clsx)("hds-button-list", `hds-button-list--${variant}`, className),
478
714
  ref
479
715
  }, rest), {
480
716
  children
@@ -485,26 +721,26 @@ var ButtonList = (0, import_react11.forwardRef)(
485
721
  ButtonList.displayName = "ButtonList";
486
722
 
487
723
  // src/card/card.tsx
488
- var import_react12 = require("react");
489
- var import_typed_classname11 = require("@postenbring/hedwig-css/typed-classname");
490
- var import_react_slot5 = require("@radix-ui/react-slot");
491
- var import_jsx_runtime11 = require("react/jsx-runtime");
492
- var CardMedia = (0, import_react12.forwardRef)(
724
+ var import_react15 = require("react");
725
+ var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname");
726
+ var import_react_slot6 = require("@radix-ui/react-slot");
727
+ var import_jsx_runtime13 = require("react/jsx-runtime");
728
+ var CardMedia = (0, import_react15.forwardRef)(
493
729
  (_a, ref) => {
494
730
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
495
- const Component = asChild ? import_react_slot5.Slot : "div";
496
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname11.clsx)("hds-card__media", className), ref, children }));
731
+ const Component = asChild ? import_react_slot6.Slot : "div";
732
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname12.clsx)("hds-card__media", className), ref, children }));
497
733
  }
498
734
  );
499
735
  CardMedia.displayName = "Card.Media";
500
- var CardMediaImg = (0, import_react12.forwardRef)(
736
+ var CardMediaImg = (0, import_react15.forwardRef)(
501
737
  (_a, ref) => {
502
738
  var _b = _a, { asChild, variant, className } = _b, rest = __objRest(_b, ["asChild", "variant", "className"]);
503
- const Component = asChild ? import_react_slot5.Slot : "img";
504
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
739
+ const Component = asChild ? import_react_slot6.Slot : "img";
740
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
505
741
  Component,
506
742
  __spreadProps(__spreadValues({}, rest), {
507
- className: (0, import_typed_classname11.clsx)(
743
+ className: (0, import_typed_classname12.clsx)(
508
744
  "hds-card__media__img",
509
745
  { "hds-card__img__scale": variant === "scale" },
510
746
  className
@@ -515,35 +751,35 @@ var CardMediaImg = (0, import_react12.forwardRef)(
515
751
  }
516
752
  );
517
753
  CardMediaImg.displayName = "Card.MediaImg";
518
- var CardBody = (0, import_react12.forwardRef)(
754
+ var CardBody = (0, import_react15.forwardRef)(
519
755
  (_a, ref) => {
520
756
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
521
- const Component = asChild ? import_react_slot5.Slot : "div";
522
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname11.clsx)("hds-card__body", className), ref, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_typed_classname11.clsx)("hds-card__centerbody", className), children }) }));
757
+ const Component = asChild ? import_react_slot6.Slot : "div";
758
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname12.clsx)("hds-card__body", className), ref, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: (0, import_typed_classname12.clsx)("hds-card__centerbody", className), children }) }));
523
759
  }
524
760
  );
525
761
  CardBody.displayName = "Card.Body";
526
- var CardBodyHeader = (0, import_react12.forwardRef)((_a, ref) => {
762
+ var CardBodyHeader = (0, import_react15.forwardRef)((_a, ref) => {
527
763
  var _b = _a, { as: Tag, asChild, className, children } = _b, rest = __objRest(_b, ["as", "asChild", "className", "children"]);
528
- const Component = asChild ? import_react_slot5.Slot : Tag;
529
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
764
+ const Component = asChild ? import_react_slot6.Slot : Tag;
765
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
530
766
  Component,
531
767
  __spreadProps(__spreadValues({}, rest), {
532
- className: (0, import_typed_classname11.clsx)("hds-card__body-header", className),
768
+ className: (0, import_typed_classname12.clsx)("hds-card__body-header", className),
533
769
  ref,
534
770
  children
535
771
  })
536
772
  );
537
773
  });
538
774
  CardBodyHeader.displayName = "Card.BodyHeader";
539
- var CardBodyHeaderOverline = (0, import_react12.forwardRef)(
775
+ var CardBodyHeaderOverline = (0, import_react15.forwardRef)(
540
776
  (_a, ref) => {
541
777
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
542
- const Component = asChild ? import_react_slot5.Slot : "span";
543
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
778
+ const Component = asChild ? import_react_slot6.Slot : "span";
779
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
544
780
  Component,
545
781
  __spreadProps(__spreadValues({}, rest), {
546
- className: (0, import_typed_classname11.clsx)("hds-card__body-header-overline", className),
782
+ className: (0, import_typed_classname12.clsx)("hds-card__body-header-overline", className),
547
783
  ref,
548
784
  children
549
785
  })
@@ -551,14 +787,14 @@ var CardBodyHeaderOverline = (0, import_react12.forwardRef)(
551
787
  }
552
788
  );
553
789
  CardBodyHeaderOverline.displayName = "Card.BodyHeaderOverline";
554
- var CardBodyHeaderTitle = (0, import_react12.forwardRef)(
790
+ var CardBodyHeaderTitle = (0, import_react15.forwardRef)(
555
791
  (_a, ref) => {
556
792
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
557
- const Component = asChild ? import_react_slot5.Slot : "div";
558
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
793
+ const Component = asChild ? import_react_slot6.Slot : "div";
794
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
559
795
  Component,
560
796
  __spreadProps(__spreadValues({}, rest), {
561
- className: (0, import_typed_classname11.clsx)("hds-card__body-header-title", className),
797
+ className: (0, import_typed_classname12.clsx)("hds-card__body-header-title", className),
562
798
  ref,
563
799
  children
564
800
  })
@@ -566,14 +802,14 @@ var CardBodyHeaderTitle = (0, import_react12.forwardRef)(
566
802
  }
567
803
  );
568
804
  CardBodyHeaderTitle.displayName = "Card.BodyHeaderTitle";
569
- var CardBodyDescription = (0, import_react12.forwardRef)(
805
+ var CardBodyDescription = (0, import_react15.forwardRef)(
570
806
  (_a, ref) => {
571
807
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
572
- const Component = asChild ? import_react_slot5.Slot : "p";
573
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
808
+ const Component = asChild ? import_react_slot6.Slot : "p";
809
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
574
810
  Component,
575
811
  __spreadProps(__spreadValues({}, rest), {
576
- className: (0, import_typed_classname11.clsx)("hds-card__body-description", className),
812
+ className: (0, import_typed_classname12.clsx)("hds-card__body-description", className),
577
813
  ref,
578
814
  children
579
815
  })
@@ -581,14 +817,14 @@ var CardBodyDescription = (0, import_react12.forwardRef)(
581
817
  }
582
818
  );
583
819
  CardBodyDescription.displayName = "Card.BodyDescription";
584
- var CardBodyAction = (0, import_react12.forwardRef)(
820
+ var CardBodyAction = (0, import_react15.forwardRef)(
585
821
  (_a, ref) => {
586
822
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
587
- const Component = asChild ? import_react_slot5.Slot : "div";
588
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
823
+ const Component = asChild ? import_react_slot6.Slot : "div";
824
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
589
825
  Component,
590
826
  __spreadProps(__spreadValues({}, rest), {
591
- className: (0, import_typed_classname11.clsx)("hds-card__body-action", className),
827
+ className: (0, import_typed_classname12.clsx)("hds-card__body-action", className),
592
828
  ref,
593
829
  children
594
830
  })
@@ -596,14 +832,14 @@ var CardBodyAction = (0, import_react12.forwardRef)(
596
832
  }
597
833
  );
598
834
  CardBodyAction.displayName = "Card.BodyAction";
599
- var CardBodyActionRow = (0, import_react12.forwardRef)(
835
+ var CardBodyActionRow = (0, import_react15.forwardRef)(
600
836
  (_a, ref) => {
601
837
  var _b = _a, { asChild, className, children } = _b, rest = __objRest(_b, ["asChild", "className", "children"]);
602
- const Component = asChild ? import_react_slot5.Slot : "div";
603
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
838
+ const Component = asChild ? import_react_slot6.Slot : "div";
839
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
604
840
  Component,
605
841
  __spreadProps(__spreadValues({}, rest), {
606
- className: (0, import_typed_classname11.clsx)("hds-card__body-action-row", className),
842
+ className: (0, import_typed_classname12.clsx)("hds-card__body-action-row", className),
607
843
  ref,
608
844
  children
609
845
  })
@@ -611,14 +847,14 @@ var CardBodyActionRow = (0, import_react12.forwardRef)(
611
847
  }
612
848
  );
613
849
  CardBodyActionRow.displayName = "Card.BodyActionRow";
614
- var CardBodyActionArrow = (0, import_react12.forwardRef)(
850
+ var CardBodyActionArrow = (0, import_react15.forwardRef)(
615
851
  (_a, ref) => {
616
852
  var _b = _a, { asChild, className, direction } = _b, rest = __objRest(_b, ["asChild", "className", "direction"]);
617
- const Component = asChild ? import_react_slot5.Slot : "span";
618
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
853
+ const Component = asChild ? import_react_slot6.Slot : "span";
854
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
619
855
  Component,
620
856
  __spreadProps(__spreadValues({}, rest), {
621
- className: (0, import_typed_classname11.clsx)(
857
+ className: (0, import_typed_classname12.clsx)(
622
858
  "hds-card__body-action-arrow",
623
859
  { "hds-card__body-action-arrow-up-right": direction === "up-right" },
624
860
  className
@@ -629,7 +865,7 @@ var CardBodyActionArrow = (0, import_react12.forwardRef)(
629
865
  }
630
866
  );
631
867
  CardBodyActionArrow.displayName = "Card.BodyActionArrow";
632
- var Card = (0, import_react12.forwardRef)(
868
+ var Card = (0, import_react15.forwardRef)(
633
869
  (_a, ref) => {
634
870
  var _b = _a, {
635
871
  as: Tag = "section",
@@ -648,12 +884,12 @@ var Card = (0, import_react12.forwardRef)(
648
884
  "color",
649
885
  "imagePosition"
650
886
  ]);
651
- const Component = asChild ? import_react_slot5.Slot : Tag;
887
+ const Component = asChild ? import_react_slot6.Slot : Tag;
652
888
  const effectiveColor = variant === "focus" && !color ? "darker" : color;
653
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
889
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
654
890
  Component,
655
891
  __spreadProps(__spreadValues({}, rest), {
656
- className: (0, import_typed_classname11.clsx)(
892
+ className: (0, import_typed_classname12.clsx)(
657
893
  "hds-card",
658
894
  { "hds-card--full-width": variant === "full-width" },
659
895
  { "hds-card--miniature": variant === "miniature" },
@@ -666,7 +902,7 @@ var Card = (0, import_react12.forwardRef)(
666
902
  className
667
903
  ),
668
904
  ref,
669
- children: variant === "full-width" ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_typed_classname11.clsx)("hds-card__layoutwrapper", className), children }) : children
905
+ children: variant === "full-width" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: (0, import_typed_classname12.clsx)("hds-card__layoutwrapper", className), children }) : children
670
906
  })
671
907
  );
672
908
  }
@@ -684,17 +920,17 @@ Card.BodyActionRow = CardBodyActionRow;
684
920
  Card.BodyActionArrow = CardBodyActionArrow;
685
921
 
686
922
  // src/description-list/description-list.tsx
687
- var import_react13 = require("react");
688
- var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname");
689
- var import_jsx_runtime12 = require("react/jsx-runtime");
690
- var DescriptionList = (0, import_react13.forwardRef)(
923
+ var import_react16 = require("react");
924
+ var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname");
925
+ var import_jsx_runtime14 = require("react/jsx-runtime");
926
+ var DescriptionList = (0, import_react16.forwardRef)(
691
927
  (_a, ref) => {
692
928
  var _b = _a, { variant = "vertical", className } = _b, rest = __objRest(_b, ["variant", "className"]);
693
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
929
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
694
930
  "dl",
695
931
  __spreadValues({
696
932
  ref,
697
- className: (0, import_typed_classname12.clsx)(
933
+ className: (0, import_typed_classname13.clsx)(
698
934
  "hds-description-list",
699
935
  {
700
936
  "hds-description-list--horizontal": variant === "horizontal"
@@ -708,35 +944,35 @@ var DescriptionList = (0, import_react13.forwardRef)(
708
944
  DescriptionList.displayName = "DescriptionList";
709
945
 
710
946
  // src/figure/figure.tsx
711
- var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname");
712
- var import_react_slot6 = require("@radix-ui/react-slot");
713
- var import_react14 = require("react");
714
- var import_jsx_runtime13 = require("react/jsx-runtime");
715
- var Figure = (0, import_react14.forwardRef)(
947
+ var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname");
948
+ var import_react_slot7 = require("@radix-ui/react-slot");
949
+ var import_react17 = require("react");
950
+ var import_jsx_runtime15 = require("react/jsx-runtime");
951
+ var Figure = (0, import_react17.forwardRef)(
716
952
  (_a, ref) => {
717
953
  var _b = _a, { children, asChild, className } = _b, rest = __objRest(_b, ["children", "asChild", "className"]);
718
- const Component = asChild ? import_react_slot6.Slot : "figure";
719
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname13.clsx)("hds-figure", className) }, rest), { children }));
954
+ const Component = asChild ? import_react_slot7.Slot : "figure";
955
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname14.clsx)("hds-figure", className) }, rest), { children }));
720
956
  }
721
957
  );
722
958
  Figure.displayName = "Figure";
723
959
 
724
960
  // src/form/checkbox/checkbox.tsx
725
- var import_react17 = require("react");
726
- var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
961
+ var import_react20 = require("react");
962
+ var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
727
963
 
728
964
  // src/form/error-message/error-message.tsx
729
- var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname");
730
- var import_react15 = require("react");
731
- var import_jsx_runtime14 = require("react/jsx-runtime");
732
- var ErrorMessage = (0, import_react15.forwardRef)(
965
+ var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
966
+ var import_react18 = require("react");
967
+ var import_jsx_runtime16 = require("react/jsx-runtime");
968
+ var ErrorMessage = (0, import_react18.forwardRef)(
733
969
  (_a, ref) => {
734
970
  var _b = _a, { children, id, className } = _b, rest = __objRest(_b, ["children", "id", "className"]);
735
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
971
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
736
972
  "div",
737
973
  __spreadProps(__spreadValues({
738
974
  "aria-live": "polite",
739
- className: (0, import_typed_classname14.clsx)("hds-error-message", className),
975
+ className: (0, import_typed_classname15.clsx)("hds-error-message", className),
740
976
  id,
741
977
  ref
742
978
  }, rest), {
@@ -748,12 +984,12 @@ var ErrorMessage = (0, import_react15.forwardRef)(
748
984
  ErrorMessage.displayName = "ErrorMessage";
749
985
 
750
986
  // src/form/fieldset/fieldset.tsx
751
- var import_react16 = require("react");
752
- var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
753
- var import_jsx_runtime15 = require("react/jsx-runtime");
754
- var FieldsetContext = (0, import_react16.createContext)({ hasError: false });
755
- var useFieldsetContext = () => (0, import_react16.useContext)(FieldsetContext);
756
- var Fieldset = (0, import_react16.forwardRef)(function Fieldset2(_a, ref) {
987
+ var import_react19 = require("react");
988
+ var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
989
+ var import_jsx_runtime17 = require("react/jsx-runtime");
990
+ var FieldsetContext = (0, import_react19.createContext)({ hasError: false });
991
+ var useFieldsetContext = () => (0, import_react19.useContext)(FieldsetContext);
992
+ var Fieldset = (0, import_react19.forwardRef)(function Fieldset2(_a, ref) {
757
993
  var _b = _a, {
758
994
  className,
759
995
  style,
@@ -772,21 +1008,21 @@ var Fieldset = (0, import_react16.forwardRef)(function Fieldset2(_a, ref) {
772
1008
  "legend",
773
1009
  "children"
774
1010
  ]);
775
- const errorMessageId = (0, import_react16.useId)();
776
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1011
+ const errorMessageId = (0, import_react19.useId)();
1012
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
777
1013
  "fieldset",
778
1014
  __spreadProps(__spreadValues({
779
1015
  "aria-describedby": errorMessage ? errorMessageId : void 0,
780
1016
  "aria-invalid": errorMessage ? true : void 0,
781
- className: (0, import_typed_classname15.clsx)("hds-fieldset", className),
1017
+ className: (0, import_typed_classname16.clsx)("hds-fieldset", className),
782
1018
  ref,
783
1019
  style
784
1020
  }, rest), {
785
1021
  children: [
786
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1022
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
787
1023
  "legend",
788
1024
  __spreadProps(__spreadValues({
789
- className: (0, import_typed_classname15.clsx)(
1025
+ className: (0, import_typed_classname16.clsx)(
790
1026
  "hds-fieldset__legend",
791
1027
  { [`hds-fieldset__legend--${legendSize}`]: legendSize },
792
1028
  legendClassName
@@ -795,16 +1031,16 @@ var Fieldset = (0, import_react16.forwardRef)(function Fieldset2(_a, ref) {
795
1031
  children: legend
796
1032
  })
797
1033
  ),
798
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(FieldsetContext.Provider, { value: { hasError: Boolean(errorMessage) }, children }),
799
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
1034
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(FieldsetContext.Provider, { value: { hasError: Boolean(errorMessage) }, children }),
1035
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
800
1036
  ]
801
1037
  })
802
1038
  );
803
1039
  });
804
1040
 
805
1041
  // src/form/checkbox/checkbox.tsx
806
- var import_jsx_runtime16 = require("react/jsx-runtime");
807
- var Checkbox = (0, import_react17.forwardRef)(
1042
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1043
+ var Checkbox = (0, import_react20.forwardRef)(
808
1044
  (_a, ref) => {
809
1045
  var _b = _a, {
810
1046
  variant = "plain",
@@ -823,14 +1059,14 @@ var Checkbox = (0, import_react17.forwardRef)(
823
1059
  "children",
824
1060
  "className"
825
1061
  ]);
826
- const errorMessageId = (0, import_react17.useId)();
1062
+ const errorMessageId = (0, import_react20.useId)();
827
1063
  const { hasError: hasFieldsetError } = useFieldsetContext();
828
1064
  const hasError = !!errorMessage || hasFieldsetError || hasErrorProp;
829
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: (0, import_typed_classname16.clsx)("hds-checkbox-wrapper"), children: [
830
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1065
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: (0, import_typed_classname17.clsx)("hds-checkbox-wrapper"), children: [
1066
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
831
1067
  "div",
832
1068
  {
833
- className: (0, import_typed_classname16.clsx)(
1069
+ className: (0, import_typed_classname17.clsx)(
834
1070
  "hds-checkbox",
835
1071
  {
836
1072
  [`hds-checkbox--${variant}`]: variant === "bounding-box",
@@ -839,8 +1075,8 @@ var Checkbox = (0, import_react17.forwardRef)(
839
1075
  className
840
1076
  ),
841
1077
  children: [
842
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("label", { children: [
843
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1078
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { children: [
1079
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
844
1080
  "input",
845
1081
  __spreadProps(__spreadValues({}, rest), {
846
1082
  "aria-invalid": hasError ? true : void 0,
@@ -849,28 +1085,28 @@ var Checkbox = (0, import_react17.forwardRef)(
849
1085
  type: "checkbox"
850
1086
  })
851
1087
  ),
852
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
853
- title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
1088
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
1089
+ title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
854
1090
  ] }),
855
1091
  title ? children : null
856
1092
  ]
857
1093
  }
858
1094
  ),
859
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
1095
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
860
1096
  ] });
861
1097
  }
862
1098
  );
863
1099
  Checkbox.displayName = "Checkbox";
864
1100
 
865
1101
  // src/form/date-picker/date-picker.tsx
866
- var import_react20 = require("react");
867
- var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
1102
+ var import_react22 = require("react");
1103
+ var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
868
1104
 
869
1105
  // src/form/input-group/input-group.tsx
870
- var import_react18 = require("react");
871
- var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
872
- var import_jsx_runtime17 = require("react/jsx-runtime");
873
- var InputGroup = (0, import_react18.forwardRef)(function InputGroup2(_a, ref) {
1106
+ var import_react21 = require("react");
1107
+ var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
1108
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1109
+ var InputGroup = (0, import_react21.forwardRef)(function InputGroup2(_a, ref) {
874
1110
  var _b = _a, {
875
1111
  id,
876
1112
  className,
@@ -897,31 +1133,31 @@ var InputGroup = (0, import_react18.forwardRef)(function InputGroup2(_a, ref) {
897
1133
  "readOnly",
898
1134
  "children"
899
1135
  ]);
900
- const errorMessageId = (0, import_react18.useId)();
901
- const inputId = (0, import_react18.useId)();
1136
+ const errorMessageId = (0, import_react21.useId)();
1137
+ const inputId = (0, import_react21.useId)();
902
1138
  const renderInput = () => {
903
1139
  var _a2;
904
1140
  const inputProps = {
905
1141
  "aria-describedby": errorMessage ? errorMessageId : void 0,
906
1142
  "aria-invalid": errorMessage ? true : void 0,
907
1143
  id: id != null ? id : inputId,
908
- className: (0, import_typed_classname17.clsx)("hds-input-group__input")
1144
+ className: (0, import_typed_classname18.clsx)("hds-input-group__input")
909
1145
  };
910
1146
  if (typeof children === "function") {
911
1147
  return children(inputProps);
912
1148
  }
913
- const input = import_react18.Children.toArray(children)[0];
914
- if (!(0, import_react18.isValidElement)(input)) {
1149
+ const input = import_react21.Children.toArray(children)[0];
1150
+ if (!(0, import_react21.isValidElement)(input)) {
915
1151
  return;
916
1152
  }
917
- return (0, import_react18.cloneElement)(input, __spreadProps(__spreadValues(__spreadValues({}, inputProps), input.props), {
1153
+ return (0, import_react21.cloneElement)(input, __spreadProps(__spreadValues(__spreadValues({}, inputProps), input.props), {
918
1154
  className: `${inputProps.className} ${(_a2 = input.props.className) != null ? _a2 : ""}`
919
1155
  }));
920
1156
  };
921
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1157
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
922
1158
  "div",
923
1159
  __spreadProps(__spreadValues({
924
- className: (0, import_typed_classname17.clsx)(
1160
+ className: (0, import_typed_classname18.clsx)(
925
1161
  "hds-input-group",
926
1162
  {
927
1163
  [`hds-input-group--${variant}`]: variant,
@@ -933,112 +1169,33 @@ var InputGroup = (0, import_react18.forwardRef)(function InputGroup2(_a, ref) {
933
1169
  style
934
1170
  }, rest), {
935
1171
  children: [
936
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1172
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
937
1173
  "label",
938
1174
  __spreadProps(__spreadValues({
939
- className: (0, import_typed_classname17.clsx)("hds-input-group__label", labelClassName)
1175
+ className: (0, import_typed_classname18.clsx)("hds-input-group__label", labelClassName)
940
1176
  }, labelProps), {
941
1177
  htmlFor: id != null ? id : inputId,
942
1178
  children: label
943
1179
  })
944
1180
  ),
945
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1181
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
946
1182
  "div",
947
1183
  {
948
- className: (0, import_typed_classname17.clsx)("hds-input-group__input-wrapper"),
1184
+ className: (0, import_typed_classname18.clsx)("hds-input-group__input-wrapper"),
949
1185
  "data-disabled": disabled,
950
1186
  "data-readonly": readOnly,
951
1187
  children: renderInput()
952
1188
  }
953
1189
  ),
954
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
1190
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ErrorMessage, __spreadProps(__spreadValues({ id: errorMessageId }, errorMessageProps), { children: errorMessage }))
955
1191
  ]
956
1192
  })
957
1193
  );
958
1194
  });
959
1195
 
960
- // src/utils/utils.ts
961
- var React = __toESM(require("react"));
962
- var import_react19 = require("react");
963
- function useMergeRefs(refs) {
964
- return React.useMemo(() => {
965
- if (refs.every((ref) => ref === null)) {
966
- return null;
967
- }
968
- return (value) => {
969
- refs.forEach((ref) => {
970
- if (typeof ref === "function") {
971
- ref(value);
972
- } else if (ref !== null) {
973
- ref.current = value;
974
- }
975
- });
976
- };
977
- }, refs);
978
- }
979
- function useResize(ref) {
980
- const [width, setWidth] = (0, import_react19.useState)(0);
981
- const [height, setHeight] = (0, import_react19.useState)(0);
982
- const handleResize = (0, import_react19.useCallback)(() => {
983
- var _a, _b, _c, _d;
984
- if ((ref == null ? void 0 : ref.current) !== null) {
985
- setWidth((_b = (_a = ref == null ? void 0 : ref.current) == null ? void 0 : _a.offsetWidth) != null ? _b : 0);
986
- setHeight((_d = (_c = ref == null ? void 0 : ref.current) == null ? void 0 : _c.offsetHeight) != null ? _d : 0);
987
- }
988
- }, [ref]);
989
- (0, import_react19.useEffect)(() => {
990
- window.addEventListener("load", handleResize);
991
- window.addEventListener("resize", handleResize);
992
- return () => {
993
- window.removeEventListener("load", handleResize);
994
- window.removeEventListener("resize", handleResize);
995
- };
996
- }, [ref, handleResize]);
997
- (0, import_react19.useEffect)(() => {
998
- handleResize();
999
- }, []);
1000
- return { width, height };
1001
- }
1002
- function subscribe() {
1003
- return () => {
1004
- };
1005
- }
1006
- function useHydrated() {
1007
- return React.useSyncExternalStore(
1008
- subscribe,
1009
- () => true,
1010
- () => false
1011
- );
1012
- }
1013
- function focusTrap(element) {
1014
- var _a, _b;
1015
- if (element === document.body) return () => {
1016
- };
1017
- let inertElements = [];
1018
- for (let el = element; el; el = el.parentElement) {
1019
- if (el === document.body) break;
1020
- for (const sibling of (_b = (_a = el.parentElement) == null ? void 0 : _a.children) != null ? _b : []) {
1021
- if (sibling === el) continue;
1022
- if (!(sibling instanceof HTMLElement)) continue;
1023
- if (sibling.hasAttribute("inert")) continue;
1024
- sibling.setAttribute("inert", "true");
1025
- inertElements.push(sibling);
1026
- }
1027
- }
1028
- return () => {
1029
- releaseFocusTrap(inertElements);
1030
- inertElements = [];
1031
- };
1032
- }
1033
- function releaseFocusTrap(inertElements) {
1034
- for (const el of inertElements) {
1035
- el.removeAttribute("inert");
1036
- }
1037
- }
1038
-
1039
1196
  // src/form/date-picker/date-picker.tsx
1040
- var import_jsx_runtime18 = require("react/jsx-runtime");
1041
- var DatePicker = (0, import_react20.forwardRef)(function DatePicker2(_a, ref) {
1197
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1198
+ var DatePicker = (0, import_react22.forwardRef)(function DatePicker2(_a, ref) {
1042
1199
  var _b = _a, {
1043
1200
  className,
1044
1201
  variant,
@@ -1062,12 +1219,12 @@ var DatePicker = (0, import_react20.forwardRef)(function DatePicker2(_a, ref) {
1062
1219
  "readOnly",
1063
1220
  "calendarButtonTitle"
1064
1221
  ]);
1065
- const inputRef = (0, import_react20.useRef)(null);
1222
+ const inputRef = (0, import_react22.useRef)(null);
1066
1223
  const mergedRef = useMergeRefs([inputRef, ref]);
1067
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1224
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1068
1225
  InputGroup,
1069
1226
  {
1070
- className: (0, import_typed_classname18.clsx)("hds-date-picker", className),
1227
+ className: (0, import_typed_classname19.clsx)("hds-date-picker", className),
1071
1228
  disabled,
1072
1229
  errorMessage,
1073
1230
  id,
@@ -1076,8 +1233,8 @@ var DatePicker = (0, import_react20.forwardRef)(function DatePicker2(_a, ref) {
1076
1233
  readOnly,
1077
1234
  style,
1078
1235
  variant,
1079
- children: (inputProps) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
1080
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1236
+ children: (inputProps) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
1237
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1081
1238
  "input",
1082
1239
  __spreadProps(__spreadValues(__spreadValues({}, rest), inputProps), {
1083
1240
  disabled,
@@ -1086,10 +1243,10 @@ var DatePicker = (0, import_react20.forwardRef)(function DatePicker2(_a, ref) {
1086
1243
  type: "date"
1087
1244
  })
1088
1245
  ),
1089
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1246
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1090
1247
  "button",
1091
1248
  {
1092
- className: (0, import_typed_classname18.clsx)("hds-date-picker__calendar-button"),
1249
+ className: (0, import_typed_classname19.clsx)("hds-date-picker__calendar-button"),
1093
1250
  type: "button",
1094
1251
  title: calendarButtonTitle,
1095
1252
  onClick: () => {
@@ -1106,69 +1263,17 @@ DatePicker.displayName = "DatePicker";
1106
1263
 
1107
1264
  // src/form/error-summary/error-summary.tsx
1108
1265
  var import_react26 = require("react");
1109
-
1110
- // src/message/message.tsx
1111
- var import_react21 = require("react");
1112
- var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
1113
- var import_react_slot7 = require("@radix-ui/react-slot");
1114
- var import_jsx_runtime19 = require("react/jsx-runtime");
1115
- var MessageTitle = (0, import_react21.forwardRef)(
1116
- (_a, ref) => {
1117
- var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1118
- const Component = asChild ? import_react_slot7.Slot : "div";
1119
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1120
- Component,
1121
- __spreadValues({
1122
- className: (0, import_typed_classname19.clsx)("hds-message__title", className),
1123
- ref
1124
- }, rest)
1125
- );
1126
- }
1127
- );
1128
- MessageTitle.displayName = "Message.Title";
1129
- var MessageDescription = (0, import_react21.forwardRef)(
1130
- (_a, ref) => {
1131
- var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1132
- const Component = asChild ? import_react_slot7.Slot : "div";
1133
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1134
- Component,
1135
- __spreadValues({
1136
- className: (0, import_typed_classname19.clsx)("hds-message__description", className),
1137
- ref
1138
- }, rest)
1139
- );
1140
- }
1141
- );
1142
- MessageDescription.displayName = "Message.Description";
1143
- var Message = (0, import_react21.forwardRef)(
1144
- (_a, ref) => {
1145
- var _b = _a, { children, className, variant = "success", icon, iconClassName } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon", "iconClassName"]);
1146
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1147
- Box,
1148
- __spreadProps(__spreadValues({
1149
- className: (0, import_typed_classname19.clsx)(`hds-message`, `hds-message--${variant}`, className),
1150
- ref
1151
- }, rest), {
1152
- children: [
1153
- variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: (0, import_typed_classname19.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
1154
- children
1155
- ]
1156
- })
1157
- );
1158
- }
1159
- );
1160
- Message.displayName = "Message";
1161
- Message.Title = MessageTitle;
1162
- Message.Description = MessageDescription;
1266
+ var import_typed_classname23 = require("@postenbring/hedwig-css/typed-classname");
1267
+ var import_react_slot9 = require("@radix-ui/react-slot");
1163
1268
 
1164
1269
  // src/list/list.tsx
1165
- var import_react22 = require("react");
1270
+ var import_react23 = require("react");
1166
1271
  var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
1167
- var import_jsx_runtime20 = require("react/jsx-runtime");
1168
- var UnorderedList = (0, import_react22.forwardRef)(
1272
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1273
+ var UnorderedList = (0, import_react23.forwardRef)(
1169
1274
  (_a, ref) => {
1170
1275
  var _b = _a, { size = "default", className } = _b, rest = __objRest(_b, ["size", "className"]);
1171
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1276
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1172
1277
  "ul",
1173
1278
  __spreadValues({
1174
1279
  ref,
@@ -1182,10 +1287,10 @@ var UnorderedList = (0, import_react22.forwardRef)(
1182
1287
  }
1183
1288
  );
1184
1289
  UnorderedList.displayName = "UnorderedList";
1185
- var OrderedList = (0, import_react22.forwardRef)(
1290
+ var OrderedList = (0, import_react23.forwardRef)(
1186
1291
  (_a, ref) => {
1187
1292
  var _b = _a, { size = "medium", className } = _b, rest = __objRest(_b, ["size", "className"]);
1188
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1293
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1189
1294
  "ol",
1190
1295
  __spreadValues({
1191
1296
  ref,
@@ -1202,12 +1307,12 @@ OrderedList.displayName = "OrderedList";
1202
1307
 
1203
1308
  // src/list/link-list.tsx
1204
1309
  var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname");
1205
- var import_react23 = require("react");
1206
- var import_jsx_runtime21 = require("react/jsx-runtime");
1207
- var LinkList = (0, import_react23.forwardRef)(
1310
+ var import_react24 = require("react");
1311
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1312
+ var LinkList = (0, import_react24.forwardRef)(
1208
1313
  (_a, ref) => {
1209
1314
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1210
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1315
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1211
1316
  UnorderedList,
1212
1317
  __spreadValues({
1213
1318
  ref,
@@ -1217,135 +1322,36 @@ var LinkList = (0, import_react23.forwardRef)(
1217
1322
  }
1218
1323
  );
1219
1324
  LinkList.displayName = "LinkList";
1220
-
1221
- // src/link/link.tsx
1222
- var React2 = require("react");
1223
- var import_typed_classname22 = require("@postenbring/hedwig-css/typed-classname");
1224
- var import_react24 = require("react");
1225
- var import_react_slot8 = require("@radix-ui/react-slot");
1226
- var import_jsx_runtime22 = require("react/jsx-runtime");
1227
- var Link = (0, import_react24.forwardRef)(
1228
- (_a, ref) => {
1229
- var _b = _a, { asChild, children, variant = "underline", size = "default", icon, className } = _b, rest = __objRest(_b, ["asChild", "children", "variant", "size", "icon", "className"]);
1230
- const Component = asChild ? import_react_slot8.Slot : "a";
1231
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1232
- Component,
1233
- __spreadProps(__spreadValues({
1234
- className: (0, import_typed_classname22.clsx)(
1235
- "hds-link",
1236
- variant !== "underline" && `hds-link--${variant}`,
1237
- size !== "default" && `hds-link--${size}`,
1238
- { "hds-link--trailing-icon": icon === "trailing" },
1239
- { "hds-link--leading-icon": icon === "leading" },
1240
- className
1241
- ),
1242
- ref
1243
- }, rest), {
1244
- children
1245
- })
1246
- );
1247
- }
1248
- );
1249
- Link.displayName = "Link";
1250
-
1251
- // src/utils/auto-animate-height.tsx
1252
- var import_react25 = require("react");
1253
- var import_jsx_runtime23 = require("react/jsx-runtime");
1254
- var AutoAnimateHeight = (0, import_react25.forwardRef)(
1255
- (_a, ref) => {
1256
- var _b = _a, {
1257
- children,
1258
- style,
1259
- animationDuration = "quick",
1260
- animationEasing = "normal",
1261
- onTransitionEnd
1262
- } = _b, rest = __objRest(_b, [
1263
- "children",
1264
- "style",
1265
- "animationDuration",
1266
- "animationEasing",
1267
- "onTransitionEnd"
1268
- ]);
1269
- var _a2, _b2;
1270
- const rootRef = (0, import_react25.useRef)(null);
1271
- const mergedRef = useMergeRefs([rootRef, ref]);
1272
- const measurementRef = (0, import_react25.useRef)(null);
1273
- const [height, setHeight] = (0, import_react25.useState)(
1274
- void 0
1275
- );
1276
- const [clonedChildren, setClonedChildren] = (0, import_react25.useState)(
1277
- () => (0, import_react25.cloneElement)(/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jsx_runtime23.Fragment, { children }), {})
1278
- );
1279
- (0, import_react25.useEffect)(() => {
1280
- var _a3;
1281
- if (!rootRef.current) return;
1282
- if (!measurementRef.current) return;
1283
- if (document.body.scrollHeight === 0) return;
1284
- const currentMeasurement = measurementRef.current;
1285
- const { height: newHeight } = currentMeasurement.getBoundingClientRect();
1286
- let previouslyObservedHeight = newHeight;
1287
- const resizeObserver = new ResizeObserver(() => {
1288
- const { height: resizedHeight } = currentMeasurement.getBoundingClientRect();
1289
- if (resizedHeight === previouslyObservedHeight) return;
1290
- previouslyObservedHeight = resizedHeight;
1291
- setHeight({ height: resizedHeight, shouldAnimate: false });
1292
- });
1293
- resizeObserver.observe(currentMeasurement);
1294
- setHeight({ height: newHeight, shouldAnimate: true });
1295
- const nextClonedChildren = (0, import_react25.cloneElement)(/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jsx_runtime23.Fragment, { children }), {});
1296
- if (newHeight >= ((_a3 = height == null ? void 0 : height.height) != null ? _a3 : 0)) {
1297
- setClonedChildren(nextClonedChildren);
1298
- return () => {
1299
- resizeObserver.disconnect();
1300
- };
1301
- }
1302
- const currentRoot = rootRef.current;
1303
- function onTransitionEndHandler(e) {
1304
- if (e.propertyName !== "height") return;
1305
- setClonedChildren(nextClonedChildren);
1306
- }
1307
- currentRoot.addEventListener("transitionend", onTransitionEndHandler);
1308
- return () => {
1309
- resizeObserver.disconnect();
1310
- currentRoot.removeEventListener("transitionend", onTransitionEndHandler);
1311
- };
1312
- }, [children]);
1313
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1314
- "div",
1325
+
1326
+ // src/link/link.tsx
1327
+ var React3 = require("react");
1328
+ var import_typed_classname22 = require("@postenbring/hedwig-css/typed-classname");
1329
+ var import_react25 = require("react");
1330
+ var import_react_slot8 = require("@radix-ui/react-slot");
1331
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1332
+ var Link = (0, import_react25.forwardRef)(
1333
+ (_a, ref) => {
1334
+ var _b = _a, { asChild, children, variant = "underline", size = "default", icon, className } = _b, rest = __objRest(_b, ["asChild", "children", "variant", "size", "icon", "className"]);
1335
+ const Component = asChild ? import_react_slot8.Slot : "a";
1336
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1337
+ Component,
1315
1338
  __spreadProps(__spreadValues({
1316
- ref: mergedRef,
1317
- onTransitionEnd,
1318
- style: __spreadValues({
1319
- position: "relative",
1320
- overflow: "hidden",
1321
- height: (_b2 = height == null ? void 0 : height.height) != null ? _b2 : (_a2 = measurementRef.current) == null ? void 0 : _a2.getBoundingClientRect().height,
1322
- transitionProperty: (height == null ? void 0 : height.shouldAnimate) ? "height" : "none",
1323
- transitionDuration: `var(--hds-micro-animation-duration-${animationDuration})`,
1324
- transitionTimingFunction: `var(--hds-micro-animation-easing-${animationEasing})`,
1325
- willChange: "height"
1326
- }, style)
1339
+ className: (0, import_typed_classname22.clsx)(
1340
+ "hds-link",
1341
+ variant !== "underline" && `hds-link--${variant}`,
1342
+ size !== "default" && `hds-link--${size}`,
1343
+ { "hds-link--trailing-icon": icon === "trailing" },
1344
+ { "hds-link--leading-icon": icon === "leading" },
1345
+ className
1346
+ ),
1347
+ ref
1327
1348
  }, rest), {
1328
- children: [
1329
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1330
- "div",
1331
- {
1332
- "aria-hidden": true,
1333
- ref: measurementRef,
1334
- style: {
1335
- position: "absolute",
1336
- visibility: "hidden",
1337
- pointerEvents: "none"
1338
- },
1339
- children
1340
- }
1341
- ),
1342
- clonedChildren
1343
- ]
1349
+ children
1344
1350
  })
1345
1351
  );
1346
1352
  }
1347
1353
  );
1348
- AutoAnimateHeight.displayName = "AutoAnimateHeight";
1354
+ Link.displayName = "Link";
1349
1355
 
1350
1356
  // src/form/error-summary/focus.ts
1351
1357
  function focusWithLegendOrLabelInViewport(id) {
@@ -1391,9 +1397,10 @@ function labelForInput(input) {
1391
1397
  // src/form/error-summary/error-summary.tsx
1392
1398
  var import_jsx_runtime24 = require("react/jsx-runtime");
1393
1399
  var ErrorSummaryHeading = (0, import_react26.forwardRef)((_a, ref) => {
1394
- var _b = _a, { children, as: Tag, autoFocus = true } = _b, rest = __objRest(_b, ["children", "as", "autoFocus"]);
1400
+ var _b = _a, { asChild, children, as: Tag, autoFocus = true } = _b, rest = __objRest(_b, ["asChild", "children", "as", "autoFocus"]);
1395
1401
  const focusRef = (0, import_react26.useRef)(null);
1396
1402
  const mergedRef = useMergeRefs([focusRef, ref]);
1403
+ const Component = asChild ? import_react_slot9.Slot : Tag;
1397
1404
  (0, import_react26.useEffect)(() => {
1398
1405
  setTimeout(() => {
1399
1406
  if (focusRef.current && autoFocus) {
@@ -1401,17 +1408,13 @@ var ErrorSummaryHeading = (0, import_react26.forwardRef)((_a, ref) => {
1401
1408
  }
1402
1409
  });
1403
1410
  }, []);
1404
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Message.Title, __spreadProps(__spreadValues({ ref: mergedRef, tabIndex: -1, asChild: true }, rest), { children: Tag ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Tag, { children }) : children }));
1411
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname23.clsx)(`hds-error-summary__title`), ref: mergedRef, tabIndex: -1 }, rest), { children }));
1405
1412
  });
1406
1413
  ErrorSummaryHeading.displayName = "ErrorSummary.Heading";
1407
1414
  var ErrorSummaryList = (0, import_react26.forwardRef)(
1408
1415
  (_a, ref) => {
1409
- var _b = _a, { children, style: _style, size = "small" } = _b, rest = __objRest(_b, ["children", "style", "size"]);
1410
- const style = __spreadValues({
1411
- // Match the link `solid` style, which black underline
1412
- "--_hds-list-marker-color": "var(--hds-ui-colors-black)"
1413
- }, _style);
1414
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Message.Description, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(UnorderedList, __spreadProps(__spreadValues({ size, ref, style }, rest), { children })) });
1416
+ var _b = _a, { children, size = "small" } = _b, rest = __objRest(_b, ["children", "size"]);
1417
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(UnorderedList, __spreadProps(__spreadValues({ size, ref }, rest), { children }));
1415
1418
  }
1416
1419
  );
1417
1420
  ErrorSummaryList.displayName = "ErrorSummary.List";
@@ -1425,14 +1428,24 @@ var ErrorSummaryItem = (0, import_react26.forwardRef)(
1425
1428
  e.preventDefault();
1426
1429
  }
1427
1430
  }
1428
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("li", __spreadProps(__spreadValues({ ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Link, __spreadProps(__spreadValues({ size: "small", href, variant: "solid" }, linkProps), { onClick, children })) }));
1431
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("li", __spreadProps(__spreadValues({ className: (0, import_typed_classname23.clsx)(`hds-error-summary__list-item`), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1432
+ Link,
1433
+ __spreadProps(__spreadValues({
1434
+ size: "small",
1435
+ href,
1436
+ variant: "inverted-no-underline"
1437
+ }, linkProps), {
1438
+ onClick,
1439
+ children
1440
+ })
1441
+ ) }));
1429
1442
  }
1430
1443
  );
1431
1444
  ErrorSummaryItem.displayName = "ErrorSummary.Item";
1432
1445
  var ErrorSummary = (0, import_react26.forwardRef)(
1433
1446
  (_a, ref) => {
1434
- var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
1435
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Message, __spreadProps(__spreadValues({ variant: "warning", ref }, rest), { children }));
1447
+ var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
1448
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Box, __spreadProps(__spreadValues({ ref }, rest), { className: (0, import_typed_classname23.clsx)(`hds-error-summary`, className), children }));
1436
1449
  }
1437
1450
  );
1438
1451
  ErrorSummary.displayName = "ErrorSummary";
@@ -1442,14 +1455,14 @@ ErrorSummary.Item = ErrorSummaryItem;
1442
1455
 
1443
1456
  // src/form/input/input.tsx
1444
1457
  var import_react27 = require("react");
1445
- var import_typed_classname23 = require("@postenbring/hedwig-css/typed-classname");
1458
+ var import_typed_classname24 = require("@postenbring/hedwig-css/typed-classname");
1446
1459
  var import_jsx_runtime25 = require("react/jsx-runtime");
1447
1460
  var Input = (0, import_react27.forwardRef)(function Input2(_a, ref) {
1448
1461
  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"]);
1449
1462
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1450
1463
  InputGroup,
1451
1464
  {
1452
- className: (0, import_typed_classname23.clsx)("hds-input", className),
1465
+ className: (0, import_typed_classname24.clsx)("hds-input", className),
1453
1466
  disabled,
1454
1467
  errorMessage,
1455
1468
  id,
@@ -1466,7 +1479,7 @@ Input.displayName = "Input";
1466
1479
 
1467
1480
  // src/form/radio-button/radio-button.tsx
1468
1481
  var import_react29 = require("react");
1469
- var import_typed_classname24 = require("@postenbring/hedwig-css/typed-classname");
1482
+ var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname");
1470
1483
 
1471
1484
  // src/form/radio-button/radio-group.tsx
1472
1485
  var import_react28 = require("react");
@@ -1527,7 +1540,7 @@ var RadioButton = (0, import_react29.forwardRef)(
1527
1540
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1528
1541
  "div",
1529
1542
  {
1530
- className: (0, import_typed_classname24.clsx)(
1543
+ className: (0, import_typed_classname25.clsx)(
1531
1544
  "hds-radio-button",
1532
1545
  {
1533
1546
  [`hds-radio-button--${variant}`]: variant === "bounding-box",
@@ -1559,14 +1572,14 @@ RadioButton.displayName = "RadioButton";
1559
1572
 
1560
1573
  // src/form/select/select.tsx
1561
1574
  var import_react30 = require("react");
1562
- var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname");
1575
+ var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname");
1563
1576
  var import_jsx_runtime28 = require("react/jsx-runtime");
1564
1577
  var Select = (0, import_react30.forwardRef)(function Select2(_a, ref) {
1565
1578
  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"]);
1566
1579
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1567
1580
  InputGroup,
1568
1581
  {
1569
- className: (0, import_typed_classname25.clsx)("hds-select", className),
1582
+ className: (0, import_typed_classname26.clsx)("hds-select", className),
1570
1583
  disabled,
1571
1584
  errorMessage,
1572
1585
  id,
@@ -1582,14 +1595,14 @@ Select.displayName = "Select";
1582
1595
 
1583
1596
  // src/form/textarea/textarea.tsx
1584
1597
  var import_react31 = require("react");
1585
- var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname");
1598
+ var import_typed_classname27 = require("@postenbring/hedwig-css/typed-classname");
1586
1599
  var import_jsx_runtime29 = require("react/jsx-runtime");
1587
1600
  var Textarea = (0, import_react31.forwardRef)(function Textarea2(_a, ref) {
1588
1601
  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"]);
1589
1602
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1590
1603
  InputGroup,
1591
1604
  {
1592
- className: (0, import_typed_classname26.clsx)("hds-textarea", className),
1605
+ className: (0, import_typed_classname27.clsx)("hds-textarea", className),
1593
1606
  disabled,
1594
1607
  errorMessage,
1595
1608
  id,
@@ -1606,22 +1619,22 @@ Textarea.displayName = "Textarea";
1606
1619
 
1607
1620
  // src/footer/footer.tsx
1608
1621
  var import_react32 = require("react");
1609
- var import_typed_classname27 = require("@postenbring/hedwig-css/typed-classname");
1610
- var import_react_slot9 = require("@radix-ui/react-slot");
1622
+ var import_typed_classname28 = require("@postenbring/hedwig-css/typed-classname");
1623
+ var import_react_slot10 = require("@radix-ui/react-slot");
1611
1624
  var import_jsx_runtime30 = require("react/jsx-runtime");
1612
1625
  var FooterLogo = (0, import_react32.forwardRef)(
1613
1626
  (_a, ref) => {
1614
1627
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1615
- const Component = asChild ? import_react_slot9.Slot : "div";
1616
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname27.clsx)(`hds-footer__logo`, className), ref }, rest), { children }));
1628
+ const Component = asChild ? import_react_slot10.Slot : "div";
1629
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname28.clsx)(`hds-footer__logo`, className), ref }, rest), { children }));
1617
1630
  }
1618
1631
  );
1619
1632
  FooterLogo.displayName = "Footer.Logo";
1620
1633
  var FooterButtonLink = (0, import_react32.forwardRef)(
1621
1634
  (_a, ref) => {
1622
1635
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
1623
- const Component = asChild ? import_react_slot9.Slot : "a";
1624
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { asChild: true, variant: "inverted", className: (0, import_typed_classname27.clsx)(className), children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Component, __spreadProps(__spreadValues({ ref }, rest), { children })) });
1636
+ const Component = asChild ? import_react_slot10.Slot : "a";
1637
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { asChild: true, variant: "inverted", className: (0, import_typed_classname28.clsx)(className), children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Component, __spreadProps(__spreadValues({ ref }, rest), { children })) });
1625
1638
  }
1626
1639
  );
1627
1640
  FooterButtonLink.displayName = "FooterButton";
@@ -1631,7 +1644,7 @@ var FooterLinkSections = (0, import_react32.forwardRef)(
1631
1644
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1632
1645
  Accordion,
1633
1646
  __spreadProps(__spreadValues({
1634
- className: (0, import_typed_classname27.clsx)("hds-footer__link-sections", className),
1647
+ className: (0, import_typed_classname28.clsx)("hds-footer__link-sections", className),
1635
1648
  ref
1636
1649
  }, rest), {
1637
1650
  children
@@ -1648,7 +1661,7 @@ var FooterLinkSection = (0, import_react32.forwardRef)(
1648
1661
  /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1649
1662
  Accordion.Item,
1650
1663
  __spreadProps(__spreadValues({
1651
- className: (0, import_typed_classname27.clsx)(`hds-footer__link-section`, className),
1664
+ className: (0, import_typed_classname28.clsx)(`hds-footer__link-section`, className),
1652
1665
  ref
1653
1666
  }, rest), {
1654
1667
  children: [
@@ -1657,7 +1670,7 @@ var FooterLinkSection = (0, import_react32.forwardRef)(
1657
1670
  ]
1658
1671
  })
1659
1672
  ),
1660
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: (0, import_typed_classname27.clsx)(`hds-footer__link-section`, className), children: [
1673
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: (0, import_typed_classname28.clsx)(`hds-footer__link-section`, className), children: [
1661
1674
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("h2", { children: heading }),
1662
1675
  linkListChildren
1663
1676
  ] })
@@ -1668,11 +1681,11 @@ FooterLinkSection.displayName = "Footer.LinkSection";
1668
1681
  var Footer = (0, import_react32.forwardRef)(
1669
1682
  (_a, ref) => {
1670
1683
  var _b = _a, { children, className, variant, asChild } = _b, rest = __objRest(_b, ["children", "className", "variant", "asChild"]);
1671
- const Component = asChild ? import_react_slot9.Slot : "footer";
1684
+ const Component = asChild ? import_react_slot10.Slot : "footer";
1672
1685
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1673
1686
  Component,
1674
1687
  __spreadProps(__spreadValues({
1675
- className: (0, import_typed_classname27.clsx)(
1688
+ className: (0, import_typed_classname28.clsx)(
1676
1689
  `hds-footer`,
1677
1690
  variant === "slim" && "hds-footer--slim",
1678
1691
  className
@@ -1692,7 +1705,7 @@ Footer.LinkSection = FooterLinkSection;
1692
1705
 
1693
1706
  // src/help-text/help-text.tsx
1694
1707
  var Popover = __toESM(require("@radix-ui/react-popover"));
1695
- var import_typed_classname28 = require("@postenbring/hedwig-css/typed-classname");
1708
+ var import_typed_classname29 = require("@postenbring/hedwig-css/typed-classname");
1696
1709
  var import_react33 = require("react");
1697
1710
  var import_jsx_runtime31 = require("react/jsx-runtime");
1698
1711
  var HelpText = (0, import_react33.forwardRef)(
@@ -1708,7 +1721,7 @@ var HelpText = (0, import_react33.forwardRef)(
1708
1721
  "button",
1709
1722
  __spreadProps(__spreadValues({
1710
1723
  ref,
1711
- className: (0, import_typed_classname28.clsx)("hds-help-text-button", className),
1724
+ className: (0, import_typed_classname29.clsx)("hds-help-text-button", className),
1712
1725
  title,
1713
1726
  type: "button"
1714
1727
  }, rest), {
@@ -1718,7 +1731,7 @@ var HelpText = (0, import_react33.forwardRef)(
1718
1731
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Popover.Content, { asChild: true, side, align, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
1719
1732
  Box,
1720
1733
  __spreadProps(__spreadValues({}, boxProps), {
1721
- className: (0, import_typed_classname28.clsx)("hds-help-text-box", boxProps == null ? void 0 : boxProps.className),
1734
+ className: (0, import_typed_classname29.clsx)("hds-help-text-box", boxProps == null ? void 0 : boxProps.className),
1722
1735
  children: [
1723
1736
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Box.CloseButton, {}) }),
1724
1737
  helpText
@@ -1732,18 +1745,18 @@ var HelpText = (0, import_react33.forwardRef)(
1732
1745
  HelpText.displayName = "HelpText";
1733
1746
 
1734
1747
  // src/layout/container/container.tsx
1735
- var import_typed_classname29 = require("@postenbring/hedwig-css/typed-classname");
1736
- var import_react_slot10 = require("@radix-ui/react-slot");
1748
+ var import_typed_classname30 = require("@postenbring/hedwig-css/typed-classname");
1749
+ var import_react_slot11 = require("@radix-ui/react-slot");
1737
1750
  var import_react34 = require("react");
1738
1751
  var import_jsx_runtime32 = require("react/jsx-runtime");
1739
1752
  var Container = (0, import_react34.forwardRef)(
1740
1753
  (_a, ref) => {
1741
1754
  var _b = _a, { as: Tag = "div", asChild, className, children, variant } = _b, rest = __objRest(_b, ["as", "asChild", "className", "children", "variant"]);
1742
- const Component = asChild ? import_react_slot10.Slot : Tag;
1755
+ const Component = asChild ? import_react_slot11.Slot : Tag;
1743
1756
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1744
1757
  Component,
1745
1758
  __spreadProps(__spreadValues({}, rest), {
1746
- className: (0, import_typed_classname29.clsx)(
1759
+ className: (0, import_typed_classname30.clsx)(
1747
1760
  "hds-container",
1748
1761
  { "hds-container--slim": variant === "slim" },
1749
1762
  className
@@ -1757,8 +1770,8 @@ var Container = (0, import_react34.forwardRef)(
1757
1770
  Container.displayName = "Container";
1758
1771
 
1759
1772
  // src/layout/grid/grid.tsx
1760
- var import_typed_classname30 = require("@postenbring/hedwig-css/typed-classname");
1761
- var import_react_slot11 = require("@radix-ui/react-slot");
1773
+ var import_typed_classname31 = require("@postenbring/hedwig-css/typed-classname");
1774
+ var import_react_slot12 = require("@radix-ui/react-slot");
1762
1775
  var import_react35 = require("react");
1763
1776
 
1764
1777
  // src/layout/responsive.ts
@@ -1784,13 +1797,13 @@ var import_jsx_runtime33 = require("react/jsx-runtime");
1784
1797
  var GridItem = (0, import_react35.forwardRef)(
1785
1798
  (_a, ref) => {
1786
1799
  var _b = _a, { children, asChild, className, span, center, style: _style } = _b, rest = __objRest(_b, ["children", "asChild", "className", "span", "center", "style"]);
1787
- const Component = asChild ? import_react_slot11.Slot : "div";
1800
+ const Component = asChild ? import_react_slot12.Slot : "div";
1788
1801
  const style = __spreadValues(__spreadValues(__spreadValues({}, _style), getResponsiveProps("--hds-grid-item-span", span)), getResponsiveProps("--hds-grid-item-center", center, (value) => value ? "1" : "0"));
1789
1802
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1790
1803
  Component,
1791
1804
  __spreadProps(__spreadValues({
1792
1805
  style,
1793
- className: (0, import_typed_classname30.clsx)("hds-grid__item", className),
1806
+ className: (0, import_typed_classname31.clsx)("hds-grid__item", className),
1794
1807
  ref
1795
1808
  }, rest), {
1796
1809
  children
@@ -1802,13 +1815,13 @@ GridItem.displayName = "Grid.Item";
1802
1815
  var Grid = (0, import_react35.forwardRef)(
1803
1816
  (_a, ref) => {
1804
1817
  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"]);
1805
- const Component = asChild ? import_react_slot11.Slot : "div";
1818
+ const Component = asChild ? import_react_slot12.Slot : "div";
1806
1819
  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"));
1807
1820
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1808
1821
  Component,
1809
1822
  __spreadProps(__spreadValues({
1810
1823
  style,
1811
- className: (0, import_typed_classname30.clsx)("hds-grid", className),
1824
+ className: (0, import_typed_classname31.clsx)("hds-grid", className),
1812
1825
  ref
1813
1826
  }, rest), {
1814
1827
  children
@@ -1820,10 +1833,10 @@ Grid.displayName = "Grid";
1820
1833
  Grid.Item = GridItem;
1821
1834
 
1822
1835
  // src/layout/stack/stack.tsx
1823
- var React3 = require("react");
1824
- var import_typed_classname31 = require("@postenbring/hedwig-css/typed-classname");
1836
+ var React4 = require("react");
1837
+ var import_typed_classname32 = require("@postenbring/hedwig-css/typed-classname");
1825
1838
  var import_react36 = require("react");
1826
- var import_react_slot12 = require("@radix-ui/react-slot");
1839
+ var import_react_slot13 = require("@radix-ui/react-slot");
1827
1840
  var import_jsx_runtime34 = require("react/jsx-runtime");
1828
1841
  var Stack = (0, import_react36.forwardRef)(
1829
1842
  (_a, ref) => {
@@ -1852,13 +1865,13 @@ var Stack = (0, import_react36.forwardRef)(
1852
1865
  "align",
1853
1866
  "justify"
1854
1867
  ]);
1855
- const Component = asChild ? import_react_slot12.Slot : "div";
1868
+ const Component = asChild ? import_react_slot13.Slot : "div";
1856
1869
  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));
1857
1870
  return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1858
1871
  Component,
1859
1872
  __spreadProps(__spreadValues({
1860
1873
  style,
1861
- className: (0, import_typed_classname31.clsx)("hds-stack", className),
1874
+ className: (0, import_typed_classname32.clsx)("hds-stack", className),
1862
1875
  ref
1863
1876
  }, rest), {
1864
1877
  children
@@ -1876,57 +1889,111 @@ var VStack = (0, import_react36.forwardRef)((props, ref) => {
1876
1889
  });
1877
1890
  VStack.displayName = "VStack";
1878
1891
 
1879
- // src/modal/modal.tsx
1892
+ // src/message/message.tsx
1880
1893
  var import_react37 = require("react");
1881
- var import_typed_classname32 = require("@postenbring/hedwig-css/typed-classname");
1882
- var import_react_slot13 = require("@radix-ui/react-slot");
1894
+ var import_typed_classname33 = require("@postenbring/hedwig-css/typed-classname");
1895
+ var import_react_slot14 = require("@radix-ui/react-slot");
1883
1896
  var import_jsx_runtime35 = require("react/jsx-runtime");
1884
- var ModalHeader = (0, import_react37.forwardRef)(
1897
+ var MessageTitle = (0, import_react37.forwardRef)(
1885
1898
  (_a, ref) => {
1886
1899
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1887
- const Component = asChild ? import_react_slot13.Slot : "h1";
1900
+ const Component = asChild ? import_react_slot14.Slot : "div";
1888
1901
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1889
1902
  Component,
1890
1903
  __spreadValues({
1891
- className: (0, import_typed_classname32.clsx)("hds-modal__header", className),
1904
+ className: (0, import_typed_classname33.clsx)("hds-message__title", className),
1892
1905
  ref
1893
1906
  }, rest)
1894
1907
  );
1895
1908
  }
1896
1909
  );
1897
- ModalHeader.displayName = "Modal.Header";
1898
- var ModalContent = (0, import_react37.forwardRef)(
1910
+ MessageTitle.displayName = "Message.Title";
1911
+ var MessageDescription = (0, import_react37.forwardRef)(
1899
1912
  (_a, ref) => {
1900
1913
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1901
- const Component = asChild ? import_react_slot13.Slot : "div";
1914
+ const Component = asChild ? import_react_slot14.Slot : "div";
1902
1915
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1903
1916
  Component,
1904
1917
  __spreadValues({
1905
- className: (0, import_typed_classname32.clsx)("hds-modal__content", className),
1918
+ className: (0, import_typed_classname33.clsx)("hds-message__description", className),
1919
+ ref
1920
+ }, rest)
1921
+ );
1922
+ }
1923
+ );
1924
+ MessageDescription.displayName = "Message.Description";
1925
+ var Message = (0, import_react37.forwardRef)(
1926
+ (_a, ref) => {
1927
+ var _b = _a, { children, className, variant = "success", icon, iconClassName } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon", "iconClassName"]);
1928
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1929
+ Box,
1930
+ __spreadProps(__spreadValues({
1931
+ className: (0, import_typed_classname33.clsx)(`hds-message`, `hds-message--${variant}`, className),
1932
+ ref
1933
+ }, rest), {
1934
+ children: [
1935
+ variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: (0, import_typed_classname33.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
1936
+ children
1937
+ ]
1938
+ })
1939
+ );
1940
+ }
1941
+ );
1942
+ Message.displayName = "Message";
1943
+ Message.Title = MessageTitle;
1944
+ Message.Description = MessageDescription;
1945
+
1946
+ // src/modal/modal.tsx
1947
+ var import_react38 = require("react");
1948
+ var import_typed_classname34 = require("@postenbring/hedwig-css/typed-classname");
1949
+ var import_react_slot15 = require("@radix-ui/react-slot");
1950
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1951
+ var ModalHeader = (0, import_react38.forwardRef)(
1952
+ (_a, ref) => {
1953
+ var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1954
+ const Component = asChild ? import_react_slot15.Slot : "h1";
1955
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1956
+ Component,
1957
+ __spreadValues({
1958
+ className: (0, import_typed_classname34.clsx)("hds-modal__header", className),
1959
+ ref
1960
+ }, rest)
1961
+ );
1962
+ }
1963
+ );
1964
+ ModalHeader.displayName = "Modal.Header";
1965
+ var ModalContent = (0, import_react38.forwardRef)(
1966
+ (_a, ref) => {
1967
+ var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1968
+ const Component = asChild ? import_react_slot15.Slot : "div";
1969
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1970
+ Component,
1971
+ __spreadValues({
1972
+ className: (0, import_typed_classname34.clsx)("hds-modal__content", className),
1906
1973
  ref
1907
1974
  }, rest)
1908
1975
  );
1909
1976
  }
1910
1977
  );
1911
1978
  ModalContent.displayName = "Modal.Content";
1912
- var ModalFooter = (0, import_react37.forwardRef)(
1979
+ var ModalFooter = (0, import_react38.forwardRef)(
1913
1980
  (_a, ref) => {
1914
1981
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
1915
- const Component = asChild ? import_react_slot13.Slot : "footer";
1916
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1982
+ const Component = asChild ? import_react_slot15.Slot : "footer";
1983
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1917
1984
  Component,
1918
1985
  __spreadValues({
1919
- className: (0, import_typed_classname32.clsx)("hds-modal__footer", className),
1986
+ className: (0, import_typed_classname34.clsx)("hds-modal__footer", className),
1920
1987
  ref
1921
1988
  }, rest)
1922
1989
  );
1923
1990
  }
1924
1991
  );
1925
1992
  ModalFooter.displayName = "Modal.Footer";
1926
- var Modal = (0, import_react37.forwardRef)(
1993
+ var Modal = (0, import_react38.forwardRef)(
1927
1994
  (_a, ref) => {
1928
1995
  var _b = _a, { children, className, open, closeOnBackdropClick, onClick } = _b, rest = __objRest(_b, ["children", "className", "open", "closeOnBackdropClick", "onClick"]);
1929
- const modalRef = (0, import_react37.useRef)(null);
1996
+ const modalRef = (0, import_react38.useRef)(null);
1930
1997
  const mergedRef = useMergeRefs([modalRef, ref]);
1931
1998
  function onCloseButtonClick() {
1932
1999
  var _a2;
@@ -1934,7 +2001,7 @@ var Modal = (0, import_react37.forwardRef)(
1934
2001
  return false;
1935
2002
  }
1936
2003
  useScrollLock(modalRef, "hds-modal-scroll-lock");
1937
- (0, import_react37.useEffect)(() => {
2004
+ (0, import_react38.useEffect)(() => {
1938
2005
  if (modalRef.current && open !== void 0) {
1939
2006
  if (open && !modalRef.current.open) {
1940
2007
  modalRef.current.showModal();
@@ -1949,16 +2016,16 @@ var Modal = (0, import_react37.forwardRef)(
1949
2016
  }
1950
2017
  onClick == null ? void 0 : onClick(e);
1951
2018
  }
1952
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2019
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1953
2020
  Box,
1954
2021
  {
1955
2022
  asChild: true,
1956
- className: (0, import_typed_classname32.clsx)("hds-modal", className),
2023
+ className: (0, import_typed_classname34.clsx)("hds-modal", className),
1957
2024
  closeable: true,
1958
2025
  onClick: onDialogClick,
1959
2026
  onClose: onCloseButtonClick,
1960
2027
  variant: "white",
1961
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("dialog", __spreadProps(__spreadValues({ ref: mergedRef }, rest), { children }))
2028
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("dialog", __spreadProps(__spreadValues({ ref: mergedRef }, rest), { children }))
1962
2029
  }
1963
2030
  );
1964
2031
  }
@@ -1968,7 +2035,7 @@ Modal.Header = ModalHeader;
1968
2035
  Modal.Content = ModalContent;
1969
2036
  Modal.Footer = ModalFooter;
1970
2037
  function useScrollLock(modalRef, bodyClass) {
1971
- (0, import_react37.useEffect)(() => {
2038
+ (0, import_react38.useEffect)(() => {
1972
2039
  if (!modalRef.current) return;
1973
2040
  if (modalRef.current.open) document.body.classList.add(bodyClass);
1974
2041
  const observer = new MutationObserver(() => {
@@ -1988,18 +2055,18 @@ function useScrollLock(modalRef, bodyClass) {
1988
2055
  }
1989
2056
 
1990
2057
  // src/navbar/navbar.tsx
1991
- var import_react39 = require("react");
1992
- var import_typed_classname34 = require("@postenbring/hedwig-css/typed-classname");
1993
- var import_react_slot14 = require("@radix-ui/react-slot");
2058
+ var import_react40 = require("react");
2059
+ var import_typed_classname36 = require("@postenbring/hedwig-css/typed-classname");
2060
+ var import_react_slot16 = require("@radix-ui/react-slot");
1994
2061
 
1995
2062
  // src/navbar/navbar-expandable-menu.tsx
1996
- var import_react38 = require("react");
1997
- var import_typed_classname33 = require("@postenbring/hedwig-css/typed-classname");
2063
+ var import_react39 = require("react");
2064
+ var import_typed_classname35 = require("@postenbring/hedwig-css/typed-classname");
1998
2065
 
1999
2066
  // src/navbar/icons.tsx
2000
- var import_jsx_runtime36 = require("react/jsx-runtime");
2067
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2001
2068
  function CloseIcon() {
2002
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2069
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2003
2070
  "path",
2004
2071
  {
2005
2072
  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",
@@ -2008,7 +2075,7 @@ function CloseIcon() {
2008
2075
  ) });
2009
2076
  }
2010
2077
  function MenuIcon() {
2011
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2078
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("svg", { "aria-hidden": true, xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2012
2079
  "path",
2013
2080
  {
2014
2081
  fill: "currentColor",
@@ -2018,35 +2085,35 @@ function MenuIcon() {
2018
2085
  }
2019
2086
 
2020
2087
  // src/navbar/navbar-expandable-menu.tsx
2021
- var import_jsx_runtime37 = require("react/jsx-runtime");
2022
- var ExpandableMenuContext = (0, import_react38.createContext)(null);
2088
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2089
+ var ExpandableMenuContext = (0, import_react39.createContext)(null);
2023
2090
  var useNavbarExpendableMenuContext = () => {
2024
- const value = (0, import_react38.useContext)(ExpandableMenuContext);
2091
+ const value = (0, import_react39.useContext)(ExpandableMenuContext);
2025
2092
  if (value === null) {
2026
2093
  throw new Error("useNavbarExpendableMenuContext must be used within a Navbar.ExpandableMenu");
2027
2094
  }
2028
2095
  return value;
2029
2096
  };
2030
2097
  function NavbarExpandableMenu({ children }) {
2031
- const contentId = (0, import_react38.useId)();
2032
- const [open, setOpen] = (0, import_react38.useState)(false);
2033
- (0, import_react38.useEffect)(() => {
2098
+ const contentId = (0, import_react39.useId)();
2099
+ const [open, setOpen] = (0, import_react39.useState)(false);
2100
+ (0, import_react39.useEffect)(() => {
2034
2101
  if (open) {
2035
2102
  window.scrollTo(0, 0);
2036
- document.body.classList.add((0, import_typed_classname33.clsx)("hds-navbar-scroll-lock"));
2103
+ document.body.classList.add((0, import_typed_classname35.clsx)("hds-navbar-scroll-lock"));
2037
2104
  const releaseFocusTrap2 = focusTrap(
2038
- document.getElementsByClassName((0, import_typed_classname33.clsx)("hds-navbar"))[0]
2105
+ document.getElementsByClassName((0, import_typed_classname35.clsx)("hds-navbar"))[0]
2039
2106
  );
2040
2107
  return () => {
2041
- document.body.classList.remove((0, import_typed_classname33.clsx)("hds-navbar-scroll-lock"));
2108
+ document.body.classList.remove((0, import_typed_classname35.clsx)("hds-navbar-scroll-lock"));
2042
2109
  releaseFocusTrap2();
2043
2110
  };
2044
2111
  }
2045
2112
  }, [open]);
2046
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ExpandableMenuContext.Provider, { value: { contentId, open, setOpen }, children });
2113
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ExpandableMenuContext.Provider, { value: { contentId, open, setOpen }, children });
2047
2114
  }
2048
2115
  NavbarExpandableMenu.displayName = "NavbarExpandableMenu";
2049
- var NavbarExpandableMenuTrigger = (0, import_react38.forwardRef)(
2116
+ var NavbarExpandableMenuTrigger = (0, import_react39.forwardRef)(
2050
2117
  (_a, ref) => {
2051
2118
  var _b = _a, {
2052
2119
  whenClosedText,
@@ -2067,12 +2134,12 @@ var NavbarExpandableMenuTrigger = (0, import_react38.forwardRef)(
2067
2134
  function toggleOpen() {
2068
2135
  setOpen(!open);
2069
2136
  }
2070
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2137
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2071
2138
  "button",
2072
2139
  __spreadProps(__spreadValues({
2073
2140
  "aria-expanded": open,
2074
2141
  "aria-controls": contentId,
2075
- className: (0, import_typed_classname33.clsx)(
2142
+ className: (0, import_typed_classname35.clsx)(
2076
2143
  "hds-navbar__item",
2077
2144
  className,
2078
2145
  open ? "hds-navbar__item--open" : "hds-navbar__item--closed"
@@ -2084,53 +2151,53 @@ var NavbarExpandableMenuTrigger = (0, import_react38.forwardRef)(
2084
2151
  style: __spreadValues({ position: "relative" }, style)
2085
2152
  }, rest), {
2086
2153
  children: [
2087
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { className: "hds-navbar__item-responsive-text", children: [
2088
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { "aria-hidden": !open, className: (0, import_typed_classname33.clsx)("hds-navbar__item-whenopentext"), children: whenOpenText }),
2089
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { "aria-hidden": open, className: (0, import_typed_classname33.clsx)("hds-navbar__item-whenclosedtext"), children: whenClosedText })
2154
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "hds-navbar__item-responsive-text", children: [
2155
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { "aria-hidden": !open, className: (0, import_typed_classname35.clsx)("hds-navbar__item-whenopentext"), children: whenOpenText }),
2156
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { "aria-hidden": open, className: (0, import_typed_classname35.clsx)("hds-navbar__item-whenclosedtext"), children: whenClosedText })
2090
2157
  ] }),
2091
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { style: { width: 32, height: 32 }, children: open ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CloseIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(MenuIcon, {}) })
2158
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { style: { width: 32, height: 32 }, children: open ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CloseIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(MenuIcon, {}) })
2092
2159
  ]
2093
2160
  })
2094
2161
  );
2095
2162
  }
2096
2163
  );
2097
2164
  NavbarExpandableMenuTrigger.displayName = "Navbar.ExpandableMenuTrigger";
2098
- var NavbarExpandableMenuContent = (0, import_react38.forwardRef)((_a, ref) => {
2165
+ var NavbarExpandableMenuContent = (0, import_react39.forwardRef)((_a, ref) => {
2099
2166
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2100
2167
  const { contentId, open } = useNavbarExpendableMenuContext();
2101
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2168
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2102
2169
  "section",
2103
2170
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, rest), {
2104
2171
  id: contentId,
2105
- className: (0, import_typed_classname33.clsx)("hds-navbar__expandable-menu-content", className),
2172
+ className: (0, import_typed_classname35.clsx)("hds-navbar__expandable-menu-content", className),
2106
2173
  "data-state": open ? "open" : "closed"
2107
- }), { inert: open ? void 0 : "true" }), {
2174
+ }), { inert: inertPropValue(!open) }), {
2108
2175
  ref,
2109
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: (0, import_typed_classname33.clsx)("hds-navbar__expandable-menu-content-inner"), children })
2176
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: (0, import_typed_classname35.clsx)("hds-navbar__expandable-menu-content-inner"), children })
2110
2177
  })
2111
2178
  );
2112
2179
  });
2113
2180
  NavbarExpandableMenuContent.displayName = "Navbar.ExpandableMenuContent";
2114
2181
 
2115
2182
  // src/navbar/navbar.tsx
2116
- var import_jsx_runtime38 = require("react/jsx-runtime");
2117
- var NavbarLogo = (0, import_react39.forwardRef)(
2183
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2184
+ var NavbarLogo = (0, import_react40.forwardRef)(
2118
2185
  (_a, ref) => {
2119
2186
  var _b = _a, { children, className, asChild } = _b, rest = __objRest(_b, ["children", "className", "asChild"]);
2120
- const Component = asChild ? import_react_slot14.Slot : "div";
2121
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname34.clsx)(`hds-navbar__logo`, className), ref }, rest), { children }));
2187
+ const Component = asChild ? import_react_slot16.Slot : "div";
2188
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname36.clsx)(`hds-navbar__logo`, className), ref }, rest), { children }));
2122
2189
  }
2123
2190
  );
2124
2191
  NavbarLogo.displayName = "Navbar.Logo";
2125
- var NavbarLogoAndServiceText = (0, import_react39.forwardRef)(
2192
+ var NavbarLogoAndServiceText = (0, import_react40.forwardRef)(
2126
2193
  (_a, ref) => {
2127
2194
  var _b = _a, { children, asChild, variant, className } = _b, rest = __objRest(_b, ["children", "asChild", "variant", "className"]);
2128
- const Component = asChild ? import_react_slot14.Slot : "div";
2129
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2195
+ const Component = asChild ? import_react_slot16.Slot : "div";
2196
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2130
2197
  Component,
2131
2198
  __spreadProps(__spreadValues({
2132
2199
  ref,
2133
- className: (0, import_typed_classname34.clsx)(
2200
+ className: (0, import_typed_classname36.clsx)(
2134
2201
  "hds-navbar__logo-and-service-text",
2135
2202
  `hds-navbar__logo-and-service-text--${variant}`,
2136
2203
  className
@@ -2142,29 +2209,29 @@ var NavbarLogoAndServiceText = (0, import_react39.forwardRef)(
2142
2209
  }
2143
2210
  );
2144
2211
  NavbarLogoAndServiceText.displayName = "Navbar.NavbarLogoAndText";
2145
- var NavbarItemIcon = (0, import_react39.forwardRef)(
2212
+ var NavbarItemIcon = (0, import_react40.forwardRef)(
2146
2213
  (_a, ref) => {
2147
2214
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
2148
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_react_slot14.Slot, __spreadProps(__spreadValues({ className: (0, import_typed_classname34.clsx)("hds-navbar__item-icon", className), ref }, rest), { children }));
2215
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_slot16.Slot, __spreadProps(__spreadValues({ className: (0, import_typed_classname36.clsx)("hds-navbar__item-icon", className), ref }, rest), { children }));
2149
2216
  }
2150
2217
  );
2151
2218
  NavbarItemIcon.displayName = "Navbar.ItemIcon";
2152
- var NavbarItem = (0, import_react39.forwardRef)(
2219
+ var NavbarItem = (0, import_react40.forwardRef)(
2153
2220
  (_a, ref) => {
2154
2221
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2155
- const Component = asChild ? import_react_slot14.Slot : "div";
2156
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname34.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2222
+ const Component = asChild ? import_react_slot16.Slot : "div";
2223
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname36.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2157
2224
  }
2158
2225
  );
2159
2226
  NavbarItem.displayName = "Navbar.Item";
2160
- var NavbarButtonItem = (0, import_react39.forwardRef)(
2227
+ var NavbarButtonItem = (0, import_react40.forwardRef)(
2161
2228
  (_a, ref) => {
2162
2229
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2163
- const Component = asChild ? import_react_slot14.Slot : "button";
2164
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2230
+ const Component = asChild ? import_react_slot16.Slot : "button";
2231
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2165
2232
  Component,
2166
2233
  __spreadProps(__spreadValues({
2167
- className: (0, import_typed_classname34.clsx)("hds-navbar__item", className),
2234
+ className: (0, import_typed_classname36.clsx)("hds-navbar__item", className),
2168
2235
  ref,
2169
2236
  type: "button"
2170
2237
  }, rest), {
@@ -2174,36 +2241,36 @@ var NavbarButtonItem = (0, import_react39.forwardRef)(
2174
2241
  }
2175
2242
  );
2176
2243
  NavbarButtonItem.displayName = "Navbar.ButtonItem";
2177
- var NavbarLinkItem = (0, import_react39.forwardRef)(
2244
+ var NavbarLinkItem = (0, import_react40.forwardRef)(
2178
2245
  (_a, ref) => {
2179
2246
  var _b = _a, { asChild, children, className } = _b, rest = __objRest(_b, ["asChild", "children", "className"]);
2180
- const Component = asChild ? import_react_slot14.Slot : "a";
2181
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname34.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2247
+ const Component = asChild ? import_react_slot16.Slot : "a";
2248
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname36.clsx)("hds-navbar__item", className), ref }, rest), { children }));
2182
2249
  }
2183
2250
  );
2184
2251
  NavbarLinkItem.displayName = "Navbar.LinkItem";
2185
- var NavbarNavigation = (0, import_react39.forwardRef)(
2252
+ var NavbarNavigation = (0, import_react40.forwardRef)(
2186
2253
  (_a, ref) => {
2187
2254
  var _b = _a, { asChild, className } = _b, rest = __objRest(_b, ["asChild", "className"]);
2188
- const Component = asChild ? import_react_slot14.Slot : "div";
2189
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2255
+ const Component = asChild ? import_react_slot16.Slot : "div";
2256
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2190
2257
  Component,
2191
2258
  __spreadValues({
2192
- className: (0, import_typed_classname34.clsx)("hds-navbar__navigation", className),
2259
+ className: (0, import_typed_classname36.clsx)("hds-navbar__navigation", className),
2193
2260
  ref
2194
2261
  }, rest)
2195
2262
  );
2196
2263
  }
2197
2264
  );
2198
2265
  NavbarNavigation.displayName = "Navbar.Navigation";
2199
- var Navbar = (0, import_react39.forwardRef)(
2266
+ var Navbar = (0, import_react40.forwardRef)(
2200
2267
  (_a, ref) => {
2201
2268
  var _b = _a, { asChild, children, className, variant } = _b, rest = __objRest(_b, ["asChild", "children", "className", "variant"]);
2202
- const Component = asChild ? import_react_slot14.Slot : "header";
2203
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2269
+ const Component = asChild ? import_react_slot16.Slot : "header";
2270
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2204
2271
  Component,
2205
2272
  __spreadProps(__spreadValues({
2206
- className: (0, import_typed_classname34.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
2273
+ className: (0, import_typed_classname36.clsx)("hds-navbar", variant && `hds-navbar--${variant}`, className),
2207
2274
  ref
2208
2275
  }, rest), {
2209
2276
  children
@@ -2224,17 +2291,17 @@ Navbar.ItemIcon = NavbarItemIcon;
2224
2291
  Navbar.Navigation = NavbarNavigation;
2225
2292
 
2226
2293
  // src/show-more/show-more.tsx
2227
- var import_typed_classname35 = require("@postenbring/hedwig-css/typed-classname");
2228
- var import_react40 = require("react");
2229
- var import_jsx_runtime39 = require("react/jsx-runtime");
2230
- var ShowMoreButton = (0, import_react40.forwardRef)(
2294
+ var import_typed_classname37 = require("@postenbring/hedwig-css/typed-classname");
2295
+ var import_react41 = require("react");
2296
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2297
+ var ShowMoreButton = (0, import_react41.forwardRef)(
2231
2298
  (_a, ref) => {
2232
2299
  var _b = _a, { text, variant, expanded, className } = _b, rest = __objRest(_b, ["text", "variant", "expanded", "className"]);
2233
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2300
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2234
2301
  "button",
2235
2302
  __spreadProps(__spreadValues({
2236
2303
  ref,
2237
- className: (0, import_typed_classname35.clsx)(
2304
+ className: (0, import_typed_classname37.clsx)(
2238
2305
  "hds-show-more",
2239
2306
  variant === "show-more-show-less" && "hds-show-more--show-less",
2240
2307
  className
@@ -2244,7 +2311,7 @@ var ShowMoreButton = (0, import_react40.forwardRef)(
2244
2311
  }, rest), {
2245
2312
  children: [
2246
2313
  text,
2247
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: (0, import_typed_classname35.clsx)("hds-show-more__icon") })
2314
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: (0, import_typed_classname37.clsx)("hds-show-more__icon") })
2248
2315
  ]
2249
2316
  })
2250
2317
  );
@@ -2253,11 +2320,11 @@ var ShowMoreButton = (0, import_react40.forwardRef)(
2253
2320
  ShowMoreButton.displayName = "ShowMoreButton";
2254
2321
 
2255
2322
  // src/skeleton/skeleton.tsx
2256
- var import_typed_classname36 = require("@postenbring/hedwig-css/typed-classname");
2257
- var import_react_slot15 = require("@radix-ui/react-slot");
2258
- var import_react41 = require("react");
2259
- var import_jsx_runtime40 = require("react/jsx-runtime");
2260
- var Skeleton = (0, import_react41.forwardRef)(
2323
+ var import_typed_classname38 = require("@postenbring/hedwig-css/typed-classname");
2324
+ var import_react_slot17 = require("@radix-ui/react-slot");
2325
+ var import_react42 = require("react");
2326
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2327
+ var Skeleton = (0, import_react42.forwardRef)(
2261
2328
  (_a, ref) => {
2262
2329
  var _b = _a, {
2263
2330
  as: Tag = "div",
@@ -2280,11 +2347,11 @@ var Skeleton = (0, import_react41.forwardRef)(
2280
2347
  "className",
2281
2348
  "style"
2282
2349
  ]);
2283
- const Component = asChild ? import_react_slot15.Slot : Tag;
2284
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2350
+ const Component = asChild ? import_react_slot17.Slot : Tag;
2351
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2285
2352
  Component,
2286
2353
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({
2287
- className: (0, import_typed_classname36.clsx)(
2354
+ className: (0, import_typed_classname38.clsx)(
2288
2355
  "hds-skeleton",
2289
2356
  `hds-skeleton--${variant}`,
2290
2357
  !animation && `hds-skeleton--no-animation`,
@@ -2292,7 +2359,7 @@ var Skeleton = (0, import_react41.forwardRef)(
2292
2359
  ),
2293
2360
  style: __spreadProps(__spreadValues({}, style), { width, height }),
2294
2361
  "aria-hidden": true
2295
- }, { inert: "true" }), {
2362
+ }, { inert: inertPropValue(true) }), {
2296
2363
  ref
2297
2364
  }), rest), {
2298
2365
  children
@@ -2303,19 +2370,19 @@ var Skeleton = (0, import_react41.forwardRef)(
2303
2370
  Skeleton.displayName = "Skeleton";
2304
2371
 
2305
2372
  // src/spinner/spinner.tsx
2306
- var import_react42 = require("react");
2307
- var import_typed_classname37 = require("@postenbring/hedwig-css/typed-classname");
2308
- var import_jsx_runtime41 = require("react/jsx-runtime");
2309
- var Spinner = (0, import_react42.forwardRef)(
2373
+ var import_react43 = require("react");
2374
+ var import_typed_classname39 = require("@postenbring/hedwig-css/typed-classname");
2375
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2376
+ var Spinner = (0, import_react43.forwardRef)(
2310
2377
  (_a, ref) => {
2311
2378
  var _b = _a, { size = "medium", title = "", delay = false, className, style: _style } = _b, rest = __objRest(_b, ["size", "title", "delay", "className", "style"]);
2312
2379
  const style = __spreadValues(__spreadValues({}, _style), typeof delay === "string" && { "--hds-spinner-delay": delay });
2313
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2380
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2314
2381
  "div",
2315
2382
  __spreadValues({
2316
2383
  title,
2317
2384
  style,
2318
- className: (0, import_typed_classname37.clsx)(
2385
+ className: (0, import_typed_classname39.clsx)(
2319
2386
  "hds-spinner",
2320
2387
  `hds-spinner--${size}`,
2321
2388
  delay && "hds-spinner--delay",
@@ -2329,10 +2396,10 @@ var Spinner = (0, import_react42.forwardRef)(
2329
2396
  Spinner.displayName = "Spinner";
2330
2397
 
2331
2398
  // src/step-indicator/step-indicator.tsx
2332
- var import_typed_classname38 = require("@postenbring/hedwig-css/typed-classname");
2333
- var import_react43 = require("react");
2334
- var import_jsx_runtime42 = require("react/jsx-runtime");
2335
- var StepIndicator = (0, import_react43.forwardRef)(
2399
+ var import_typed_classname40 = require("@postenbring/hedwig-css/typed-classname");
2400
+ var import_react44 = require("react");
2401
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2402
+ var StepIndicator = (0, import_react44.forwardRef)(
2336
2403
  (_a, ref) => {
2337
2404
  var _b = _a, {
2338
2405
  activeStep,
@@ -2351,27 +2418,27 @@ var StepIndicator = (0, import_react43.forwardRef)(
2351
2418
  "title",
2352
2419
  "titleAs"
2353
2420
  ]);
2354
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2421
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2355
2422
  "div",
2356
2423
  __spreadProps(__spreadValues({
2357
2424
  ref,
2358
- className: (0, import_typed_classname38.clsx)("hds-step-indicator", className),
2425
+ className: (0, import_typed_classname40.clsx)("hds-step-indicator", className),
2359
2426
  lang
2360
2427
  }, rest), {
2361
2428
  children: [
2362
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: (0, import_typed_classname38.clsx)("hds-step-indicator__header"), children: [
2363
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: (0, import_typed_classname38.clsx)("hds-step-indicator__left-label"), children: label }),
2364
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
2429
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: (0, import_typed_classname40.clsx)("hds-step-indicator__header"), children: [
2430
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: (0, import_typed_classname40.clsx)("hds-step-indicator__left-label"), children: label }),
2431
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { children: stepLabelTranslations[lang](activeStep, totalSteps) })
2365
2432
  ] }),
2366
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: (0, import_typed_classname38.clsx)("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2433
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: (0, import_typed_classname40.clsx)("hds-step-indicator__steps"), children: Array.from({ length: totalSteps }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2367
2434
  "div",
2368
2435
  {
2369
- className: (0, import_typed_classname38.clsx)("hds-step-indicator__step"),
2436
+ className: (0, import_typed_classname40.clsx)("hds-step-indicator__step"),
2370
2437
  "data-state": getStepState(i + 1, activeStep)
2371
2438
  },
2372
2439
  i
2373
2440
  )) }),
2374
- title ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TitleComponent, { className: (0, import_typed_classname38.clsx)("hds-step-indicator__title"), children: title }) : null
2441
+ title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TitleComponent, { className: (0, import_typed_classname40.clsx)("hds-step-indicator__title"), children: title }) : null
2375
2442
  ]
2376
2443
  })
2377
2444
  );
@@ -2395,18 +2462,18 @@ function getStepState(renderedStep, activeStep) {
2395
2462
  }
2396
2463
 
2397
2464
  // src/styled-html/styled-html.tsx
2398
- var import_react44 = require("react");
2399
- var import_typed_classname39 = require("@postenbring/hedwig-css/typed-classname");
2400
- var import_react_slot16 = require("@radix-ui/react-slot");
2401
- var import_jsx_runtime43 = require("react/jsx-runtime");
2402
- var StyledHtml = (0, import_react44.forwardRef)(
2465
+ var import_react45 = require("react");
2466
+ var import_typed_classname41 = require("@postenbring/hedwig-css/typed-classname");
2467
+ var import_react_slot18 = require("@radix-ui/react-slot");
2468
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2469
+ var StyledHtml = (0, import_react45.forwardRef)(
2403
2470
  (_a, ref) => {
2404
2471
  var _b = _a, { asChild, children, size, unstable_darkmode: darkmode = false, className } = _b, rest = __objRest(_b, ["asChild", "children", "size", "unstable_darkmode", "className"]);
2405
- const Component = asChild ? import_react_slot16.Slot : "div";
2406
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2472
+ const Component = asChild ? import_react_slot18.Slot : "div";
2473
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2407
2474
  Component,
2408
2475
  __spreadProps(__spreadValues({
2409
- className: (0, import_typed_classname39.clsx)(
2476
+ className: (0, import_typed_classname41.clsx)(
2410
2477
  `hds-styled-html`,
2411
2478
  size === "small" && "hds-styled-html--small",
2412
2479
  darkmode && "hds-styled-html--darkmode",
@@ -2422,20 +2489,20 @@ var StyledHtml = (0, import_react44.forwardRef)(
2422
2489
  StyledHtml.displayName = "StyledHtml";
2423
2490
 
2424
2491
  // src/table/table.tsx
2425
- var import_typed_classname40 = require("@postenbring/hedwig-css/typed-classname");
2426
- var import_react45 = require("react");
2427
- var import_jsx_runtime44 = require("react/jsx-runtime");
2428
- var Table = (0, import_react45.forwardRef)(
2492
+ var import_typed_classname42 = require("@postenbring/hedwig-css/typed-classname");
2493
+ var import_react46 = require("react");
2494
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2495
+ var Table = (0, import_react46.forwardRef)(
2429
2496
  (_a, ref) => {
2430
2497
  var _b = _a, { children, className, size, caption, description } = _b, rest = __objRest(_b, ["children", "className", "size", "caption", "description"]);
2431
- const descriptionId = (0, import_react45.useId)();
2432
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
2433
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2498
+ const descriptionId = (0, import_react46.useId)();
2499
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
2500
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2434
2501
  "table",
2435
2502
  __spreadProps(__spreadValues({
2436
2503
  "aria-describedby": description ? descriptionId : void 0,
2437
2504
  ref,
2438
- className: (0, import_typed_classname40.clsx)(
2505
+ className: (0, import_typed_classname42.clsx)(
2439
2506
  "hds-table",
2440
2507
  {
2441
2508
  "hds-table--compressed": size === "compressed",
@@ -2445,27 +2512,27 @@ var Table = (0, import_react45.forwardRef)(
2445
2512
  )
2446
2513
  }, rest), {
2447
2514
  children: [
2448
- caption ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("caption", { children: caption }) : null,
2515
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("caption", { children: caption }) : null,
2449
2516
  children
2450
2517
  ]
2451
2518
  })
2452
2519
  ),
2453
- description ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: (0, import_typed_classname40.clsx)("hds-table-description"), id: descriptionId, children: description }) : null
2520
+ description ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: (0, import_typed_classname42.clsx)("hds-table-description"), id: descriptionId, children: description }) : null
2454
2521
  ] });
2455
2522
  }
2456
2523
  );
2457
2524
  Table.displayName = "Table";
2458
2525
 
2459
2526
  // src/tabs/tabs.tsx
2460
- var import_react49 = require("react");
2461
- var import_typed_classname43 = require("@postenbring/hedwig-css/typed-classname");
2462
- var import_react_slot18 = require("@radix-ui/react-slot");
2527
+ var import_react50 = require("react");
2528
+ var import_typed_classname45 = require("@postenbring/hedwig-css/typed-classname");
2529
+ var import_react_slot20 = require("@radix-ui/react-slot");
2463
2530
 
2464
2531
  // src/tabs/context.ts
2465
- var import_react46 = require("react");
2466
- var TabsContext = (0, import_react46.createContext)(null);
2532
+ var import_react47 = require("react");
2533
+ var TabsContext = (0, import_react47.createContext)(null);
2467
2534
  function useTabsContext() {
2468
- const context = (0, import_react46.useContext)(TabsContext);
2535
+ const context = (0, import_react47.useContext)(TabsContext);
2469
2536
  if (!context) {
2470
2537
  throw new Error(
2471
2538
  "Tabs context required. Did you use `<Tabs.List />`, `<Tabs.Tab />`, or `<Tabs.Content />` outside of <Tabs/>?"
@@ -2475,25 +2542,25 @@ function useTabsContext() {
2475
2542
  }
2476
2543
 
2477
2544
  // src/tabs/tabs-content.tsx
2478
- var import_react47 = require("react");
2479
- var import_typed_classname41 = require("@postenbring/hedwig-css/typed-classname");
2480
- var import_react_slot17 = require("@radix-ui/react-slot");
2481
- var import_jsx_runtime45 = require("react/jsx-runtime");
2482
- var TabsContents = (0, import_react47.forwardRef)(
2545
+ var import_react48 = require("react");
2546
+ var import_typed_classname43 = require("@postenbring/hedwig-css/typed-classname");
2547
+ var import_react_slot19 = require("@radix-ui/react-slot");
2548
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2549
+ var TabsContents = (0, import_react48.forwardRef)(
2483
2550
  (_a, ref) => {
2484
2551
  var _b = _a, { asChild, children } = _b, rest = __objRest(_b, ["asChild", "children"]);
2485
- const Component = asChild ? import_react_slot17.Slot : "div";
2486
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname41.clsx)("hds-tabs__contents") }, rest), { children }));
2552
+ const Component = asChild ? import_react_slot19.Slot : "div";
2553
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({ ref, className: (0, import_typed_classname43.clsx)("hds-tabs__contents") }, rest), { children }));
2487
2554
  }
2488
2555
  );
2489
2556
  TabsContents.displayName = "Tabs.Contents";
2490
- var TabsContent = (0, import_react47.forwardRef)(
2557
+ var TabsContent = (0, import_react48.forwardRef)(
2491
2558
  (_a, ref) => {
2492
2559
  var _b = _a, { asChild, forTabId, children } = _b, rest = __objRest(_b, ["asChild", "forTabId", "children"]);
2493
2560
  const context = useTabsContext();
2494
- const Component = asChild ? import_react_slot17.Slot : "div";
2561
+ const Component = asChild ? import_react_slot19.Slot : "div";
2495
2562
  if (context.activeTabId === forTabId) {
2496
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
2563
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, __spreadProps(__spreadValues({}, rest), { ref, children }));
2497
2564
  }
2498
2565
  return null;
2499
2566
  }
@@ -2501,21 +2568,21 @@ var TabsContent = (0, import_react47.forwardRef)(
2501
2568
  TabsContent.displayName = "Tabs.Content";
2502
2569
 
2503
2570
  // src/tabs/tabs-list.tsx
2504
- var import_react48 = require("react");
2505
- var import_typed_classname42 = require("@postenbring/hedwig-css/typed-classname");
2506
- var import_jsx_runtime46 = require("react/jsx-runtime");
2507
- var TabsList = (0, import_react48.forwardRef)(
2571
+ var import_react49 = require("react");
2572
+ var import_typed_classname44 = require("@postenbring/hedwig-css/typed-classname");
2573
+ var import_jsx_runtime47 = require("react/jsx-runtime");
2574
+ var TabsList = (0, import_react49.forwardRef)(
2508
2575
  (_a, ref) => {
2509
2576
  var _b = _a, { children, direction = "horizontal", className } = _b, rest = __objRest(_b, ["children", "direction", "className"]);
2510
2577
  const { activeTabId } = useTabsContext();
2511
- const tabsListRef = (0, import_react48.useRef)(null);
2578
+ const tabsListRef = (0, import_react49.useRef)(null);
2512
2579
  const mergedRef = useMergeRefs([tabsListRef, ref]);
2513
2580
  const { width: tabsWidth } = useResize(tabsListRef);
2514
2581
  const isClientSide = useHydrated();
2515
2582
  const { innerWidth } = isClientSide ? window : { innerWidth: 1e3 };
2516
2583
  const wideEnough = innerWidth >= tabsWidth;
2517
- const previousTabId = (0, import_react48.useRef)(activeTabId);
2518
- (0, import_react48.useEffect)(() => {
2584
+ const previousTabId = (0, import_react49.useRef)(activeTabId);
2585
+ (0, import_react49.useEffect)(() => {
2519
2586
  const tabList = tabsListRef.current;
2520
2587
  const activeTab = tabList == null ? void 0 : tabList.querySelector(`[data-tabid="${activeTabId}"]`);
2521
2588
  if (!activeTab || !tabList) return;
@@ -2539,10 +2606,10 @@ var TabsList = (0, import_react48.forwardRef)(
2539
2606
  }
2540
2607
  previousTabId.current = activeTabId;
2541
2608
  }, [activeTabId, innerWidth]);
2542
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2609
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2543
2610
  "div",
2544
2611
  __spreadProps(__spreadValues({
2545
- className: (0, import_typed_classname42.clsx)(
2612
+ className: (0, import_typed_classname44.clsx)(
2546
2613
  "hds-tabs__list",
2547
2614
  direction === "horizontal" ? {
2548
2615
  "hds-tabs__list--horizontal": wideEnough,
@@ -2561,7 +2628,7 @@ var TabsList = (0, import_react48.forwardRef)(
2561
2628
  }
2562
2629
  );
2563
2630
  TabsList.displayName = "Tabs.List";
2564
- var TabsTab = (0, import_react48.forwardRef)(
2631
+ var TabsTab = (0, import_react49.forwardRef)(
2565
2632
  (_a, ref) => {
2566
2633
  var _b = _a, { children, tabId, className, onClick } = _b, rest = __objRest(_b, ["children", "tabId", "className", "onClick"]);
2567
2634
  const context = useTabsContext();
@@ -2570,10 +2637,10 @@ var TabsTab = (0, import_react48.forwardRef)(
2570
2637
  context.toggleActiveTabId(tabId);
2571
2638
  onClick == null ? void 0 : onClick(e);
2572
2639
  };
2573
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2640
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2574
2641
  "button",
2575
2642
  __spreadProps(__spreadValues({
2576
- className: (0, import_typed_classname42.clsx)(
2643
+ className: (0, import_typed_classname44.clsx)(
2577
2644
  "hds-tabs__tab",
2578
2645
  { "hds-tabs__tab--active": context.activeTabId === tabId },
2579
2646
  className
@@ -2592,13 +2659,13 @@ var TabsTab = (0, import_react48.forwardRef)(
2592
2659
  TabsTab.displayName = "Tabs.Tab";
2593
2660
 
2594
2661
  // src/tabs/tabs.tsx
2595
- var import_jsx_runtime47 = require("react/jsx-runtime");
2596
- var Tabs = (0, import_react49.forwardRef)(
2662
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2663
+ var Tabs = (0, import_react50.forwardRef)(
2597
2664
  (_a, ref) => {
2598
2665
  var _b = _a, { asChild, defaultTab, children } = _b, rest = __objRest(_b, ["asChild", "defaultTab", "children"]);
2599
- const [activeTabId, setActiveTabId] = (0, import_react49.useState)(defaultTab);
2600
- const Component = asChild ? import_react_slot18.Slot : "div";
2601
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname43.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TabsContext.Provider, { value: { activeTabId, toggleActiveTabId: setActiveTabId }, children }) }));
2666
+ const [activeTabId, setActiveTabId] = (0, import_react50.useState)(defaultTab);
2667
+ const Component = asChild ? import_react_slot20.Slot : "div";
2668
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname45.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TabsContext.Provider, { value: { activeTabId, toggleActiveTabId: setActiveTabId }, children }) }));
2602
2669
  }
2603
2670
  );
2604
2671
  Tabs.displayName = "Tabs";
@@ -2608,10 +2675,10 @@ Tabs.Contents = TabsContents;
2608
2675
  Tabs.Content = TabsContent;
2609
2676
 
2610
2677
  // src/text/text.tsx
2611
- var import_react50 = require("react");
2612
- var import_typed_classname44 = require("@postenbring/hedwig-css/typed-classname");
2613
- var import_react_slot19 = require("@radix-ui/react-slot");
2614
- var import_jsx_runtime48 = require("react/jsx-runtime");
2678
+ var import_react51 = require("react");
2679
+ var import_typed_classname46 = require("@postenbring/hedwig-css/typed-classname");
2680
+ var import_react_slot21 = require("@radix-ui/react-slot");
2681
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2615
2682
  var defaultHTMLTag = {
2616
2683
  "h1-display": "h1",
2617
2684
  h1: "h1",
@@ -2627,7 +2694,7 @@ var defaultHTMLTag = {
2627
2694
  caption: "p",
2628
2695
  "caption-title": "p"
2629
2696
  };
2630
- var Text = (0, import_react50.forwardRef)(
2697
+ var Text = (0, import_react51.forwardRef)(
2631
2698
  (_a, ref) => {
2632
2699
  var _b = _a, {
2633
2700
  as: Tag,
@@ -2646,12 +2713,12 @@ var Text = (0, import_react50.forwardRef)(
2646
2713
  "children",
2647
2714
  "className"
2648
2715
  ]);
2649
- const Component = asChild ? import_react_slot19.Slot : Tag != null ? Tag : defaultHTMLTag[variant];
2716
+ const Component = asChild ? import_react_slot21.Slot : Tag != null ? Tag : defaultHTMLTag[variant];
2650
2717
  const sizeModifier = size !== "fluid" && variant !== "caption" && variant !== "caption-title" && size;
2651
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2718
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2652
2719
  Component,
2653
2720
  __spreadProps(__spreadValues({
2654
- className: (0, import_typed_classname44.clsx)(
2721
+ className: (0, import_typed_classname46.clsx)(
2655
2722
  `hds-text-${variant}`,
2656
2723
  sizeModifier && `hds-text--${sizeModifier}`,
2657
2724
  spacing && "hds-text--spacing",
@@ -2667,16 +2734,16 @@ var Text = (0, import_react50.forwardRef)(
2667
2734
  Text.displayName = "Text";
2668
2735
 
2669
2736
  // src/warning-banner/warning-banner.tsx
2670
- var import_react51 = require("react");
2671
- var import_typed_classname45 = require("@postenbring/hedwig-css/typed-classname");
2672
- var import_jsx_runtime49 = require("react/jsx-runtime");
2673
- var WarningBanner = (0, import_react51.forwardRef)(
2737
+ var import_react52 = require("react");
2738
+ var import_typed_classname47 = require("@postenbring/hedwig-css/typed-classname");
2739
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2740
+ var WarningBanner = (0, import_react52.forwardRef)(
2674
2741
  (_a, ref) => {
2675
2742
  var _b = _a, { title, description, className } = _b, rest = __objRest(_b, ["title", "description", "className"]);
2676
- const descriptionId = (0, import_react51.useId)();
2743
+ const descriptionId = (0, import_react52.useId)();
2677
2744
  const expandable = !!description;
2678
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname45.clsx)("hds-warning-banner", className), ref, children: [
2679
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2745
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname47.clsx)("hds-warning-banner", className), ref, children: [
2746
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2680
2747
  WarningBannerTitle,
2681
2748
  {
2682
2749
  variant: expandable ? "expandable" : "default",
@@ -2684,22 +2751,22 @@ var WarningBanner = (0, import_react51.forwardRef)(
2684
2751
  children: title
2685
2752
  }
2686
2753
  ),
2687
- expandable ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(WarningBannerDescription, { id: descriptionId, children: description }) : null
2754
+ expandable ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(WarningBannerDescription, { id: descriptionId, children: description }) : null
2688
2755
  ] }));
2689
2756
  }
2690
2757
  );
2691
2758
  WarningBanner.displayName = "WarningBanner";
2692
- var WarningBannerTitle = (0, import_react51.forwardRef)((_a, ref) => {
2759
+ var WarningBannerTitle = (0, import_react52.forwardRef)((_a, ref) => {
2693
2760
  var _b = _a, { variant, descriptionId, children, className } = _b, rest = __objRest(_b, ["variant", "descriptionId", "children", "className"]);
2694
- const [open, setOpen] = (0, import_react51.useState)(false);
2761
+ const [open, setOpen] = (0, import_react52.useState)(false);
2695
2762
  if (variant === "expandable") {
2696
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2763
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2697
2764
  "button",
2698
2765
  __spreadProps(__spreadValues({}, rest), {
2699
2766
  "aria-expanded": open,
2700
2767
  "aria-controls": descriptionId,
2701
2768
  "data-state": open ? "open" : "closed",
2702
- className: (0, import_typed_classname45.clsx)(
2769
+ className: (0, import_typed_classname47.clsx)(
2703
2770
  "hds-warning-banner__title",
2704
2771
  "hds-warning-banner__title-trigger",
2705
2772
  className
@@ -2709,28 +2776,28 @@ var WarningBannerTitle = (0, import_react51.forwardRef)((_a, ref) => {
2709
2776
  },
2710
2777
  ref,
2711
2778
  type: "button",
2712
- children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { children })
2779
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { children })
2713
2780
  })
2714
2781
  );
2715
2782
  }
2716
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2783
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2717
2784
  "p",
2718
2785
  __spreadProps(__spreadValues({}, rest), {
2719
- className: (0, import_typed_classname45.clsx)("hds-warning-banner__title", className),
2786
+ className: (0, import_typed_classname47.clsx)("hds-warning-banner__title", className),
2720
2787
  ref,
2721
2788
  children
2722
2789
  })
2723
2790
  );
2724
2791
  });
2725
2792
  WarningBannerTitle.displayName = "WarningBannerTitle";
2726
- var WarningBannerDescription = (0, import_react51.forwardRef)(
2793
+ var WarningBannerDescription = (0, import_react52.forwardRef)(
2727
2794
  (_a, ref) => {
2728
2795
  var _b = _a, { className, id } = _b, rest = __objRest(_b, ["className", "id"]);
2729
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2796
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2730
2797
  "p",
2731
2798
  __spreadValues({
2732
2799
  id,
2733
- className: (0, import_typed_classname45.clsx)("hds-warning-banner__description", className),
2800
+ className: (0, import_typed_classname47.clsx)("hds-warning-banner__description", className),
2734
2801
  ref
2735
2802
  }, rest)
2736
2803
  );
@@ -2743,6 +2810,9 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
2743
2810
  AccordionContent,
2744
2811
  AccordionHeader,
2745
2812
  AccordionItem,
2813
+ Alert,
2814
+ AlertDescription,
2815
+ AlertTitle,
2746
2816
  AutoAnimateHeight,
2747
2817
  Badge,
2748
2818
  Blockquote,
@@ -2821,6 +2891,7 @@ WarningBannerDescription.displayName = "WarningBannerDescription";
2821
2891
  VStack,
2822
2892
  WarningBanner,
2823
2893
  focusTrap,
2894
+ inertPropValue,
2824
2895
  useFieldsetContext,
2825
2896
  useHydrated,
2826
2897
  useMergeRefs,