@postenbring/hedwig-react 0.0.58 → 0.0.59

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 (58) hide show
  1. package/dist/_tsup-dts-rollup.d.mts +78 -81
  2. package/dist/_tsup-dts-rollup.d.ts +78 -81
  3. package/dist/chunk-2YL2MVWN.mjs +1 -0
  4. package/dist/{chunk-T3ADJNOV.mjs → chunk-37WVYY6X.mjs} +1 -1
  5. package/dist/chunk-37WVYY6X.mjs.map +1 -0
  6. package/dist/{chunk-CA226LBE.mjs → chunk-5MDJP43L.mjs} +5 -5
  7. package/dist/chunk-6QV3OV66.mjs +1 -0
  8. package/dist/chunk-DY7LD3X3.mjs +1 -0
  9. package/dist/{chunk-QGMW5QJ3.mjs → chunk-SBJBQUKE.mjs} +6 -6
  10. package/dist/{chunk-UTVSGTRJ.mjs → chunk-XMB45ILT.mjs} +2 -2
  11. package/dist/chunk-XMB45ILT.mjs.map +1 -0
  12. package/dist/{list → description-list}/description-list.js +1 -1
  13. package/dist/description-list/description-list.js.map +1 -0
  14. package/dist/{list → description-list}/description-list.mjs +1 -1
  15. package/dist/description-list/description-list.mjs.map +1 -0
  16. package/dist/description-list/index.d.mts +2 -0
  17. package/dist/description-list/index.d.ts +2 -0
  18. package/dist/description-list/index.js +82 -0
  19. package/dist/description-list/index.js.map +1 -0
  20. package/dist/description-list/index.mjs +9 -0
  21. package/dist/description-list/index.mjs.map +1 -0
  22. package/dist/form/fieldset/fieldset.js.map +1 -1
  23. package/dist/form/fieldset/fieldset.mjs +1 -1
  24. package/dist/form/fieldset/index.js.map +1 -1
  25. package/dist/form/fieldset/index.mjs +1 -1
  26. package/dist/form/index.js.map +1 -1
  27. package/dist/form/index.mjs +7 -7
  28. package/dist/index-no-css.d.mts +2 -2
  29. package/dist/index-no-css.d.ts +2 -2
  30. package/dist/index-no-css.js +87 -87
  31. package/dist/index-no-css.js.map +1 -1
  32. package/dist/index-no-css.mjs +17 -16
  33. package/dist/index.d.mts +2 -2
  34. package/dist/index.d.ts +2 -2
  35. package/dist/index.js +87 -87
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +17 -16
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/list/index.d.mts +0 -2
  40. package/dist/list/index.d.ts +0 -2
  41. package/dist/list/index.js +7 -35
  42. package/dist/list/index.js.map +1 -1
  43. package/dist/list/index.mjs +1 -5
  44. package/dist/navbar/index.mjs +2 -2
  45. package/dist/tabs/index.mjs +2 -2
  46. package/package.json +2 -2
  47. package/dist/chunk-E2LKLNGA.mjs +0 -1
  48. package/dist/chunk-KOAR6LZG.mjs +0 -1
  49. package/dist/chunk-T3ADJNOV.mjs.map +0 -1
  50. package/dist/chunk-UTVSGTRJ.mjs.map +0 -1
  51. package/dist/list/description-list.js.map +0 -1
  52. /package/dist/{chunk-E2LKLNGA.mjs.map → chunk-2YL2MVWN.mjs.map} +0 -0
  53. /package/dist/{chunk-CA226LBE.mjs.map → chunk-5MDJP43L.mjs.map} +0 -0
  54. /package/dist/{chunk-KOAR6LZG.mjs.map → chunk-6QV3OV66.mjs.map} +0 -0
  55. /package/dist/{list/description-list.mjs.map → chunk-DY7LD3X3.mjs.map} +0 -0
  56. /package/dist/{chunk-QGMW5QJ3.mjs.map → chunk-SBJBQUKE.mjs.map} +0 -0
  57. /package/dist/{list → description-list}/description-list.d.mts +0 -0
  58. /package/dist/{list → description-list}/description-list.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import "./chunk-E2LKLNGA.mjs";
1
+ import "./chunk-DY7LD3X3.mjs";
2
2
  import {
3
3
  TextBody,
4
4
  TextBodySmall,
@@ -23,10 +23,10 @@ import {
23
23
  } from "./chunk-IAS3E2S3.mjs";
24
24
  import {
25
25
  TabsComponent
26
- } from "./chunk-CA226LBE.mjs";
26
+ } from "./chunk-5MDJP43L.mjs";
27
+ import "./chunk-XVZ44NGD.mjs";
27
28
  import "./chunk-MBBFU4IR.mjs";
28
29
  import "./chunk-EJADADIY.mjs";
29
- import "./chunk-XVZ44NGD.mjs";
30
30
  import {
31
31
  MessageComponent
32
32
  } from "./chunk-AR2NOI4U.mjs";
@@ -37,11 +37,19 @@ import {
37
37
  import "./chunk-POJTVNEO.mjs";
38
38
  import {
39
39
  NavbarComponent
40
- } from "./chunk-QGMW5QJ3.mjs";
40
+ } from "./chunk-SBJBQUKE.mjs";
41
+ import "./chunk-JMDXW2ML.mjs";
41
42
  import "./chunk-WDD7QJP6.mjs";
42
43
  import "./chunk-MGUYIOP2.mjs";
43
- import "./chunk-JMDXW2ML.mjs";
44
+ import "./chunk-2YL2MVWN.mjs";
45
+ import {
46
+ DescriptionList
47
+ } from "./chunk-XMB45ILT.mjs";
44
48
  import "./chunk-T24JZIQO.mjs";
49
+ import "./chunk-MQ3EEUTP.mjs";
50
+ import {
51
+ Radiobutton
52
+ } from "./chunk-SEKRICE4.mjs";
45
53
  import "./chunk-BYEJZSG5.mjs";
46
54
  import {
47
55
  Select
@@ -53,7 +61,7 @@ import {
53
61
  import "./chunk-LMF3QGSF.mjs";
54
62
  import {
55
63
  Fieldset
56
- } from "./chunk-T3ADJNOV.mjs";
64
+ } from "./chunk-37WVYY6X.mjs";
57
65
  import "./chunk-7LPYJC6S.mjs";
58
66
  import {
59
67
  Input
@@ -61,17 +69,13 @@ import {
61
69
  import "./chunk-Y5SUMFYJ.mjs";
62
70
  import "./chunk-SKI2APSK.mjs";
63
71
  import "./chunk-NSLSA7F7.mjs";
64
- import "./chunk-MQ3EEUTP.mjs";
65
72
  import {
66
- Radiobutton
67
- } from "./chunk-SEKRICE4.mjs";
73
+ ErrorMessage
74
+ } from "./chunk-IL7576PP.mjs";
68
75
  import "./chunk-YJOOSTJC.mjs";
69
76
  import {
70
77
  Checkbox
71
78
  } from "./chunk-PXHYOQPB.mjs";
72
- import {
73
- ErrorMessage
74
- } from "./chunk-IL7576PP.mjs";
75
79
  import "./chunk-OIQUYB26.mjs";
76
80
  import {
77
81
  Container
@@ -80,10 +84,7 @@ import "./chunk-XLLYMQLW.mjs";
80
84
  import {
81
85
  Link
82
86
  } from "./chunk-MDA3MMNA.mjs";
83
- import "./chunk-KOAR6LZG.mjs";
84
- import {
85
- DescriptionList
86
- } from "./chunk-UTVSGTRJ.mjs";
87
+ import "./chunk-6QV3OV66.mjs";
87
88
  import {
88
89
  LinkList
89
90
  } from "./chunk-ZUKLWHUR.mjs";
package/dist/index.d.mts CHANGED
@@ -34,6 +34,8 @@ export { CardBodyHeaderTitle_alias_1 as CardBodyHeaderTitle } from './_tsup-dts-
34
34
  export { CardBodyDescription_alias_1 as CardBodyDescription } from './_tsup-dts-rollup';
35
35
  export { CardBodyAction_alias_1 as CardBodyAction } from './_tsup-dts-rollup';
36
36
  export { CardBodyActionArrow_alias_1 as CardBodyActionArrow } from './_tsup-dts-rollup';
37
+ export { DescriptionList_alias_1 as DescriptionList } from './_tsup-dts-rollup';
38
+ export { DescriptionListProps_alias_1 as DescriptionListProps } from './_tsup-dts-rollup';
37
39
  export { Fieldset_alias_1 as Fieldset } from './_tsup-dts-rollup';
38
40
  export { FieldsetProps_alias_1 as FieldsetProps } from './_tsup-dts-rollup';
39
41
  export { Input_alias_1 as Input } from './_tsup-dts-rollup';
@@ -52,11 +54,9 @@ export { Container_alias_1 as Container } from './_tsup-dts-rollup';
52
54
  export { ContainerProps_alias_1 as ContainerProps } from './_tsup-dts-rollup';
53
55
  export { Link_alias_1 as Link } from './_tsup-dts-rollup';
54
56
  export { LinkProps_alias_1 as LinkProps } from './_tsup-dts-rollup';
55
- export { DescriptionList_alias_1 as DescriptionList } from './_tsup-dts-rollup';
56
57
  export { UnorderedList_alias_1 as UnorderedList } from './_tsup-dts-rollup';
57
58
  export { OrderedList_alias_1 as OrderedList } from './_tsup-dts-rollup';
58
59
  export { LinkList_alias_1 as LinkList } from './_tsup-dts-rollup';
59
- export { DescriptionListProps_alias_1 as DescriptionListProps } from './_tsup-dts-rollup';
60
60
  export { ListProps_alias_1 as ListProps } from './_tsup-dts-rollup';
61
61
  export { LinkListProps_alias_1 as LinkListProps } from './_tsup-dts-rollup';
62
62
  export { Message_alias_1 as Message } from './_tsup-dts-rollup';
package/dist/index.d.ts CHANGED
@@ -34,6 +34,8 @@ export { CardBodyHeaderTitle_alias_1 as CardBodyHeaderTitle } from './_tsup-dts-
34
34
  export { CardBodyDescription_alias_1 as CardBodyDescription } from './_tsup-dts-rollup';
35
35
  export { CardBodyAction_alias_1 as CardBodyAction } from './_tsup-dts-rollup';
36
36
  export { CardBodyActionArrow_alias_1 as CardBodyActionArrow } from './_tsup-dts-rollup';
37
+ export { DescriptionList_alias_1 as DescriptionList } from './_tsup-dts-rollup';
38
+ export { DescriptionListProps_alias_1 as DescriptionListProps } from './_tsup-dts-rollup';
37
39
  export { Fieldset_alias_1 as Fieldset } from './_tsup-dts-rollup';
38
40
  export { FieldsetProps_alias_1 as FieldsetProps } from './_tsup-dts-rollup';
39
41
  export { Input_alias_1 as Input } from './_tsup-dts-rollup';
@@ -52,11 +54,9 @@ export { Container_alias_1 as Container } from './_tsup-dts-rollup';
52
54
  export { ContainerProps_alias_1 as ContainerProps } from './_tsup-dts-rollup';
53
55
  export { Link_alias_1 as Link } from './_tsup-dts-rollup';
54
56
  export { LinkProps_alias_1 as LinkProps } from './_tsup-dts-rollup';
55
- export { DescriptionList_alias_1 as DescriptionList } from './_tsup-dts-rollup';
56
57
  export { UnorderedList_alias_1 as UnorderedList } from './_tsup-dts-rollup';
57
58
  export { OrderedList_alias_1 as OrderedList } from './_tsup-dts-rollup';
58
59
  export { LinkList_alias_1 as LinkList } from './_tsup-dts-rollup';
59
- export { DescriptionListProps_alias_1 as DescriptionListProps } from './_tsup-dts-rollup';
60
60
  export { ListProps_alias_1 as ListProps } from './_tsup-dts-rollup';
61
61
  export { LinkListProps_alias_1 as LinkListProps } from './_tsup-dts-rollup';
62
62
  export { Message_alias_1 as Message } from './_tsup-dts-rollup';
package/dist/index.js CHANGED
@@ -581,19 +581,45 @@ var CardComponent = Card;
581
581
  CardComponent.Media = CardMediaComponent;
582
582
  CardComponent.Body = CardBodyComponent;
583
583
 
584
+ // src/description-list/description-list.tsx
585
+ var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname");
586
+ var import_jsx_runtime10 = require("react/jsx-runtime");
587
+ function DescriptionList(_a) {
588
+ var _b = _a, {
589
+ variant = "vertical",
590
+ className
591
+ } = _b, rest = __objRest(_b, [
592
+ "variant",
593
+ "className"
594
+ ]);
595
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
596
+ "dl",
597
+ __spreadValues({
598
+ className: (0, import_typed_classname10.clsx)(
599
+ "hds-description-list",
600
+ {
601
+ "hds-description-list--horizontal": variant === "horizontal"
602
+ },
603
+ className
604
+ )
605
+ }, rest)
606
+ );
607
+ }
608
+ DescriptionList.displayName = "DescriptionList";
609
+
584
610
  // src/form/fieldset/fieldset.tsx
585
611
  var import_react9 = require("react");
586
- var import_typed_classname11 = require("@postenbring/hedwig-css/typed-classname");
612
+ var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname");
587
613
 
588
614
  // src/form/error-message/error-message.tsx
589
- var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname");
590
- var import_jsx_runtime10 = require("react/jsx-runtime");
615
+ var import_typed_classname11 = require("@postenbring/hedwig-css/typed-classname");
616
+ var import_jsx_runtime11 = require("react/jsx-runtime");
591
617
  function ErrorMessage({ children, id, className }) {
592
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
618
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
593
619
  "div",
594
620
  {
595
621
  "aria-live": "assertive",
596
- className: (0, import_typed_classname10.clsx)("hds-error-message", className),
622
+ className: (0, import_typed_classname11.clsx)("hds-error-message", className),
597
623
  id,
598
624
  children
599
625
  }
@@ -601,7 +627,7 @@ function ErrorMessage({ children, id, className }) {
601
627
  }
602
628
 
603
629
  // src/form/fieldset/fieldset.tsx
604
- var import_jsx_runtime11 = require("react/jsx-runtime");
630
+ var import_jsx_runtime12 = require("react/jsx-runtime");
605
631
  var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
606
632
  var _b = _a, {
607
633
  className,
@@ -620,20 +646,20 @@ var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
620
646
  "children"
621
647
  ]);
622
648
  const errorMessageId = (0, import_react9.useId)();
623
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
649
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
624
650
  "fieldset",
625
651
  __spreadProps(__spreadValues({
626
652
  "aria-describedby": errorMessage ? errorMessageId : void 0,
627
653
  "aria-invalid": errorMessage ? true : void 0,
628
- className: (0, import_typed_classname11.clsx)("hds-fieldset", className),
654
+ className: (0, import_typed_classname12.clsx)("hds-fieldset", className),
629
655
  ref,
630
656
  style
631
657
  }, rest), {
632
658
  children: [
633
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
659
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
634
660
  "legend",
635
661
  __spreadProps(__spreadValues({
636
- className: (0, import_typed_classname11.clsx)(
662
+ className: (0, import_typed_classname12.clsx)(
637
663
  "hds-fieldset__legend",
638
664
  { [`hds-fieldset__legend--${legendSize}`]: legendSize },
639
665
  legendClassName
@@ -642,8 +668,8 @@ var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
642
668
  children: legend
643
669
  })
644
670
  ),
645
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_typed_classname11.clsx)("hds-fieldset__input-wrapper"), children }),
646
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
671
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: (0, import_typed_classname12.clsx)("hds-fieldset__input-wrapper"), children }),
672
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
647
673
  ]
648
674
  })
649
675
  );
@@ -651,12 +677,12 @@ var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
651
677
 
652
678
  // src/form/input/input.tsx
653
679
  var import_react11 = require("react");
654
- var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname");
680
+ var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname");
655
681
 
656
682
  // src/form/input-group/input-group.tsx
657
683
  var import_react10 = require("react");
658
- var import_typed_classname12 = require("@postenbring/hedwig-css/typed-classname");
659
- var import_jsx_runtime12 = require("react/jsx-runtime");
684
+ var import_typed_classname13 = require("@postenbring/hedwig-css/typed-classname");
685
+ var import_jsx_runtime13 = require("react/jsx-runtime");
660
686
  var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
661
687
  var _b = _a, {
662
688
  id,
@@ -694,13 +720,13 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
694
720
  "aria-invalid": errorMessage ? true : void 0,
695
721
  id: id != null ? id : inputId
696
722
  }, input.props), {
697
- className: (0, import_typed_classname12.clsx)("hds-input-group__input", input.props.className)
723
+ className: (0, import_typed_classname13.clsx)("hds-input-group__input", input.props.className)
698
724
  }));
699
725
  };
700
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
726
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
701
727
  "div",
702
728
  __spreadProps(__spreadValues({
703
- className: (0, import_typed_classname12.clsx)(
729
+ className: (0, import_typed_classname13.clsx)(
704
730
  "hds-input-group",
705
731
  {
706
732
  [`hds-input-group--${variant}`]: variant,
@@ -712,38 +738,38 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
712
738
  style
713
739
  }, rest), {
714
740
  children: [
715
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
741
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
716
742
  "label",
717
743
  __spreadProps(__spreadValues({
718
- className: (0, import_typed_classname12.clsx)("hds-input-group__label", labelClassName)
744
+ className: (0, import_typed_classname13.clsx)("hds-input-group__label", labelClassName)
719
745
  }, labelProps), {
720
746
  htmlFor: id != null ? id : inputId,
721
747
  children: label
722
748
  })
723
749
  ),
724
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
750
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
725
751
  "div",
726
752
  {
727
- className: (0, import_typed_classname12.clsx)("hds-input-group__input-wrapper"),
753
+ className: (0, import_typed_classname13.clsx)("hds-input-group__input-wrapper"),
728
754
  "data-disabled": disabled,
729
755
  "data-readonly": readOnly,
730
756
  children: renderInput()
731
757
  }
732
758
  ),
733
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
759
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
734
760
  ]
735
761
  })
736
762
  );
737
763
  });
738
764
 
739
765
  // src/form/input/input.tsx
740
- var import_jsx_runtime13 = require("react/jsx-runtime");
766
+ var import_jsx_runtime14 = require("react/jsx-runtime");
741
767
  var Input = (0, import_react11.forwardRef)(function Input2(_a, ref) {
742
768
  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"]);
743
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
769
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
744
770
  InputGroup,
745
771
  {
746
- className: (0, import_typed_classname13.clsx)("hds-input", className),
772
+ className: (0, import_typed_classname14.clsx)("hds-input", className),
747
773
  disabled,
748
774
  errorMessage,
749
775
  id,
@@ -752,7 +778,7 @@ var Input = (0, import_react11.forwardRef)(function Input2(_a, ref) {
752
778
  readOnly,
753
779
  style,
754
780
  variant,
755
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
781
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
756
782
  }
757
783
  );
758
784
  });
@@ -760,14 +786,14 @@ Input.displayName = "Input";
760
786
 
761
787
  // src/form/select/select.tsx
762
788
  var import_react12 = require("react");
763
- var import_typed_classname14 = require("@postenbring/hedwig-css/typed-classname");
764
- var import_jsx_runtime14 = require("react/jsx-runtime");
789
+ var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
790
+ var import_jsx_runtime15 = require("react/jsx-runtime");
765
791
  var Select = (0, import_react12.forwardRef)(function Select2(_a, ref) {
766
792
  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"]);
767
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
793
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
768
794
  InputGroup,
769
795
  {
770
- className: (0, import_typed_classname14.clsx)("hds-select", className),
796
+ className: (0, import_typed_classname15.clsx)("hds-select", className),
771
797
  disabled,
772
798
  errorMessage,
773
799
  id,
@@ -775,7 +801,7 @@ var Select = (0, import_react12.forwardRef)(function Select2(_a, ref) {
775
801
  labelProps,
776
802
  style,
777
803
  variant,
778
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
804
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
779
805
  }
780
806
  );
781
807
  });
@@ -783,14 +809,14 @@ Select.displayName = "Select";
783
809
 
784
810
  // src/form/textarea/textarea.tsx
785
811
  var import_react13 = require("react");
786
- var import_typed_classname15 = require("@postenbring/hedwig-css/typed-classname");
787
- var import_jsx_runtime15 = require("react/jsx-runtime");
812
+ var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
813
+ var import_jsx_runtime16 = require("react/jsx-runtime");
788
814
  var Textarea = (0, import_react13.forwardRef)(function Textarea2(_a, ref) {
789
815
  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"]);
790
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
816
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
791
817
  InputGroup,
792
818
  {
793
- className: (0, import_typed_classname15.clsx)("hds-textarea", className),
819
+ className: (0, import_typed_classname16.clsx)("hds-textarea", className),
794
820
  disabled,
795
821
  errorMessage,
796
822
  id,
@@ -799,7 +825,7 @@ var Textarea = (0, import_react13.forwardRef)(function Textarea2(_a, ref) {
799
825
  readOnly,
800
826
  style,
801
827
  variant,
802
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
828
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
803
829
  }
804
830
  );
805
831
  });
@@ -807,15 +833,15 @@ Textarea.displayName = "Textarea";
807
833
 
808
834
  // src/form/checkbox/checkbox.tsx
809
835
  var import_react14 = require("react");
810
- var import_typed_classname16 = require("@postenbring/hedwig-css/typed-classname");
811
- var import_jsx_runtime16 = require("react/jsx-runtime");
836
+ var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
837
+ var import_jsx_runtime17 = require("react/jsx-runtime");
812
838
  var Checkbox = (0, import_react14.forwardRef)(
813
839
  (_a, ref) => {
814
840
  var _b = _a, { variant = "plain", hasError, title, children, className } = _b, rest = __objRest(_b, ["variant", "hasError", "title", "children", "className"]);
815
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
841
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
816
842
  "div",
817
843
  {
818
- className: (0, import_typed_classname16.clsx)(
844
+ className: (0, import_typed_classname17.clsx)(
819
845
  "hds-checkbox",
820
846
  {
821
847
  [`hds-checkbox--${variant}`]: variant === "bounding-box",
@@ -824,10 +850,10 @@ var Checkbox = (0, import_react14.forwardRef)(
824
850
  className
825
851
  ),
826
852
  children: [
827
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("label", { children: [
828
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("input", __spreadProps(__spreadValues({}, rest), { "aria-invalid": hasError ? true : void 0, ref, type: "checkbox" })),
829
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
830
- title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
853
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { children: [
854
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", __spreadProps(__spreadValues({}, rest), { "aria-invalid": hasError ? true : void 0, ref, type: "checkbox" })),
855
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
856
+ title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "hds-checkbox__title", children: title }) : children
831
857
  ] }),
832
858
  title ? children : null
833
859
  ]
@@ -839,15 +865,15 @@ Checkbox.displayName = "Checkbox";
839
865
 
840
866
  // src/form/radiobutton/radiobutton.tsx
841
867
  var import_react15 = require("react");
842
- var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname");
843
- var import_jsx_runtime17 = require("react/jsx-runtime");
868
+ var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
869
+ var import_jsx_runtime18 = require("react/jsx-runtime");
844
870
  var Radiobutton = (0, import_react15.forwardRef)(
845
871
  (_a, ref) => {
846
872
  var _b = _a, { variant = "plain", hasError, title, children, className } = _b, rest = __objRest(_b, ["variant", "hasError", "title", "children", "className"]);
847
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
873
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
848
874
  "div",
849
875
  {
850
- className: (0, import_typed_classname17.clsx)(
876
+ className: (0, import_typed_classname18.clsx)(
851
877
  "hds-radiobutton",
852
878
  {
853
879
  [`hds-radiobutton--${variant}`]: variant === "bounding-box",
@@ -856,10 +882,10 @@ var Radiobutton = (0, import_react15.forwardRef)(
856
882
  className
857
883
  ),
858
884
  children: [
859
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { children: [
860
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", __spreadProps(__spreadValues({}, rest), { ref, type: "radio" })),
861
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": true, className: "hds-radiobutton__checkmark" }),
862
- title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "hds-radiobutton__title", children: title }) : children
885
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { children: [
886
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("input", __spreadProps(__spreadValues({}, rest), { ref, type: "radio" })),
887
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { "aria-hidden": true, className: "hds-radiobutton__checkmark" }),
888
+ title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "hds-radiobutton__title", children: title }) : children
863
889
  ] }),
864
890
  title ? children : null
865
891
  ]
@@ -870,16 +896,16 @@ var Radiobutton = (0, import_react15.forwardRef)(
870
896
  Radiobutton.displayName = "Radiobutton";
871
897
 
872
898
  // src/layout/container/container.tsx
873
- var import_typed_classname18 = require("@postenbring/hedwig-css/typed-classname");
899
+ var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
874
900
  var import_react16 = require("react");
875
- var import_jsx_runtime18 = require("react/jsx-runtime");
901
+ var import_jsx_runtime19 = require("react/jsx-runtime");
876
902
  var Container = (0, import_react16.forwardRef)(
877
903
  (_a, ref) => {
878
904
  var _b = _a, { as: Component = "div", className, children, variant } = _b, rest = __objRest(_b, ["as", "className", "children", "variant"]);
879
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
905
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
880
906
  Component,
881
907
  __spreadProps(__spreadValues({}, rest), {
882
- className: (0, import_typed_classname18.clsx)(
908
+ className: (0, import_typed_classname19.clsx)(
883
909
  "hds-container",
884
910
  { "hds-container--slim": variant === "slim" },
885
911
  className
@@ -893,16 +919,16 @@ var Container = (0, import_react16.forwardRef)(
893
919
  Container.displayName = "Container";
894
920
 
895
921
  // src/link/link.tsx
896
- var import_typed_classname19 = require("@postenbring/hedwig-css/typed-classname");
922
+ var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
897
923
  var import_react17 = require("react");
898
- var import_jsx_runtime19 = require("react/jsx-runtime");
924
+ var import_jsx_runtime20 = require("react/jsx-runtime");
899
925
  var Link = (0, import_react17.forwardRef)(
900
926
  (_a, ref) => {
901
927
  var _b = _a, { as: Component = "a", children, variant = "underline", size = "medium", className } = _b, rest = __objRest(_b, ["as", "children", "variant", "size", "className"]);
902
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
928
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
903
929
  Component,
904
930
  __spreadProps(__spreadValues({
905
- className: (0, import_typed_classname19.clsx)(
931
+ className: (0, import_typed_classname20.clsx)(
906
932
  "hds-link",
907
933
  variant !== "underline" && `hds-link--${variant}`,
908
934
  size !== "medium" && `hds-link--${size}`,
@@ -917,32 +943,6 @@ var Link = (0, import_react17.forwardRef)(
917
943
  );
918
944
  Link.displayName = "Link";
919
945
 
920
- // src/list/description-list.tsx
921
- var import_typed_classname20 = require("@postenbring/hedwig-css/typed-classname");
922
- var import_jsx_runtime20 = require("react/jsx-runtime");
923
- function DescriptionList(_a) {
924
- var _b = _a, {
925
- variant = "vertical",
926
- className
927
- } = _b, rest = __objRest(_b, [
928
- "variant",
929
- "className"
930
- ]);
931
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
932
- "dl",
933
- __spreadValues({
934
- className: (0, import_typed_classname20.clsx)(
935
- "hds-description-list",
936
- {
937
- "hds-description-list--horizontal": variant === "horizontal"
938
- },
939
- className
940
- )
941
- }, rest)
942
- );
943
- }
944
- DescriptionList.displayName = "DescriptionList";
945
-
946
946
  // src/list/list.tsx
947
947
  var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname");
948
948
  var import_jsx_runtime21 = require("react/jsx-runtime");