@postenbring/hedwig-react 0.0.48 → 0.0.50

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 (90) hide show
  1. package/dist/button/button.d.mts +12 -5
  2. package/dist/button/button.d.ts +12 -5
  3. package/dist/button/button.js +5 -2
  4. package/dist/button/button.mjs +1 -1
  5. package/dist/button/index.js +5 -2
  6. package/dist/button/index.mjs +1 -1
  7. package/dist/card/card.d.mts +29 -5
  8. package/dist/card/card.d.ts +29 -5
  9. package/dist/card/card.js +26 -32
  10. package/dist/card/card.mjs +1 -1
  11. package/dist/card/index.d.mts +9 -8
  12. package/dist/card/index.d.ts +9 -8
  13. package/dist/card/index.js +26 -32
  14. package/dist/card/index.mjs +2 -2
  15. package/dist/{chunk-3WUAXFB3.mjs → chunk-3WKOOAQL.mjs} +7 -7
  16. package/dist/{chunk-S7FSULI3.mjs → chunk-52YSOWMY.mjs} +1 -1
  17. package/dist/{chunk-6KRJB36T.mjs → chunk-CCNB2ABL.mjs} +6 -15
  18. package/dist/{chunk-J5QNIAFL.mjs → chunk-JAHBNZTG.mjs} +4 -13
  19. package/dist/{chunk-DOWBGRCN.mjs → chunk-JOKO7Y7O.mjs} +3 -3
  20. package/dist/{chunk-MUGMWWNN.mjs → chunk-LCFKBPZC.mjs} +1 -1
  21. package/dist/{chunk-B3SD7RZV.mjs → chunk-OEOI74US.mjs} +26 -32
  22. package/dist/{chunk-4KBVX3Y7.mjs → chunk-OSCKYUZ3.mjs} +1 -1
  23. package/dist/{chunk-RNALWA7A.mjs → chunk-OX5NTX6M.mjs} +2 -25
  24. package/dist/{chunk-YBSM5D5N.mjs → chunk-PTLX7PHW.mjs} +5 -2
  25. package/dist/chunk-RBOWRO3L.mjs +18 -0
  26. package/dist/chunk-RSL23FEW.mjs +26 -0
  27. package/dist/{chunk-JTBZ4UL4.mjs → chunk-SDR3TESK.mjs} +3 -3
  28. package/dist/{chunk-IXH7S7RI.mjs → chunk-ZDZR5FVC.mjs} +1 -1
  29. package/dist/form/checkbox/checkbox.js +3 -3
  30. package/dist/form/checkbox/checkbox.mjs +1 -1
  31. package/dist/form/checkbox/index.js +3 -3
  32. package/dist/form/checkbox/index.mjs +1 -1
  33. package/dist/form/error-message/error-message.d.mts +1 -2
  34. package/dist/form/error-message/error-message.d.ts +1 -2
  35. package/dist/form/error-message/error-message.js +4 -28
  36. package/dist/form/error-message/error-message.mjs +1 -1
  37. package/dist/form/error-message/index.js +4 -28
  38. package/dist/form/error-message/index.mjs +1 -1
  39. package/dist/form/fieldset/fieldset.d.mts +0 -1
  40. package/dist/form/fieldset/fieldset.d.ts +0 -1
  41. package/dist/form/fieldset/fieldset.js +7 -23
  42. package/dist/form/fieldset/fieldset.mjs +2 -2
  43. package/dist/form/fieldset/index.js +7 -23
  44. package/dist/form/fieldset/index.mjs +2 -2
  45. package/dist/form/index.js +17 -65
  46. package/dist/form/index.mjs +8 -8
  47. package/dist/form/input/index.js +10 -49
  48. package/dist/form/input/index.mjs +3 -3
  49. package/dist/form/input/input.js +10 -49
  50. package/dist/form/input/input.mjs +3 -3
  51. package/dist/form/input-group/index.js +9 -25
  52. package/dist/form/input-group/index.mjs +2 -2
  53. package/dist/form/input-group/input-group.d.mts +0 -1
  54. package/dist/form/input-group/input-group.d.ts +0 -1
  55. package/dist/form/input-group/input-group.js +9 -25
  56. package/dist/form/input-group/input-group.mjs +2 -2
  57. package/dist/form/radiobutton/index.js +1 -1
  58. package/dist/form/radiobutton/index.mjs +1 -1
  59. package/dist/form/radiobutton/radiobutton.js +1 -1
  60. package/dist/form/radiobutton/radiobutton.mjs +1 -1
  61. package/dist/form/select/index.js +9 -25
  62. package/dist/form/select/index.mjs +3 -3
  63. package/dist/form/select/select.js +9 -25
  64. package/dist/form/select/select.mjs +3 -3
  65. package/dist/form/textarea/index.js +9 -25
  66. package/dist/form/textarea/index.mjs +3 -3
  67. package/dist/form/textarea/textarea.js +9 -25
  68. package/dist/form/textarea/textarea.mjs +3 -3
  69. package/dist/index.d.mts +1 -1
  70. package/dist/index.d.ts +1 -1
  71. package/dist/index.js +93 -136
  72. package/dist/index.mjs +17 -17
  73. package/dist/list/index.js +10 -2
  74. package/dist/list/index.mjs +1 -1
  75. package/dist/list/link-list.d.mts +1 -1
  76. package/dist/list/link-list.d.ts +1 -1
  77. package/dist/list/link-list.js +10 -2
  78. package/dist/list/link-list.mjs +1 -1
  79. package/dist/navbar/index.js +3 -3
  80. package/dist/navbar/index.mjs +1 -1
  81. package/dist/navbar/navbar-expandable-menu.js +3 -3
  82. package/dist/navbar/navbar-expandable-menu.mjs +1 -1
  83. package/dist/{prose/prose.d.mts → styled-html/styled-html.d.mts} +9 -15
  84. package/dist/{prose/prose.d.ts → styled-html/styled-html.d.ts} +9 -15
  85. package/dist/{prose/prose.js → styled-html/styled-html.js} +11 -11
  86. package/dist/styled-html/styled-html.mjs +7 -0
  87. package/package.json +5 -5
  88. package/dist/chunk-R7GQHCN4.mjs +0 -30
  89. package/dist/chunk-X5URKHFD.mjs +0 -18
  90. package/dist/prose/prose.mjs +0 -7
package/dist/index.js CHANGED
@@ -76,10 +76,10 @@ __export(src_exports, {
76
76
  Modal: () => ModalComponent,
77
77
  OrderedList: () => OrderedList,
78
78
  PrimaryButton: () => PrimaryButton,
79
- Prose: () => Prose,
80
79
  Radiobutton: () => Radiobutton,
81
80
  SecondaryButton: () => SecondaryButton,
82
81
  Select: () => Select,
82
+ StyledHtml: () => StyledHtml,
83
83
  Tabs: () => TabsComponent,
84
84
  Textarea: () => Textarea,
85
85
  UnorderedList: () => UnorderedList,
@@ -423,6 +423,9 @@ var BaseButton = (0, import_react7.forwardRef)(
423
423
  "icon",
424
424
  "className"
425
425
  ]);
426
+ if (fill === "outlined") {
427
+ console.warn("The `fill` value `outlined` is deprecated, use `fill='outline'` instead");
428
+ }
426
429
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
427
430
  Component,
428
431
  __spreadProps(__spreadValues({
@@ -431,8 +434,8 @@ var BaseButton = (0, import_react7.forwardRef)(
431
434
  `hds-button--${size}`,
432
435
  {
433
436
  [`hds-button--${variant}`]: fill === "contained",
434
- [`hds-button--outline-${variant}`]: fill === "outlined",
435
- "hds-button--full": fullWidth === true,
437
+ [`hds-button--outline-${variant}`]: fill === "outline" || fill === "outlined",
438
+ "hds-button--full": fullWidth,
436
439
  "hds-button--mobile-full": fullWidth === "mobile",
437
440
  "hds-button--icon-only": icon && !children
438
441
  },
@@ -472,12 +475,10 @@ var import_card = require("@postenbring/hedwig-css/dist/card.css");
472
475
  var import_react8 = require("react");
473
476
  var import_typed_classname9 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
474
477
  var import_jsx_runtime9 = require("react/jsx-runtime");
475
- var Card = (0, import_react8.forwardRef)(
476
- (_a, ref) => {
477
- var _b = _a, { as: Component = "section", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
478
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname9.clsx)("hds-card", className), ref, children }));
479
- }
480
- );
478
+ var Card = (0, import_react8.forwardRef)((_a, ref) => {
479
+ var _b = _a, { as: Component = "section", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
480
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname9.clsx)("hds-card", className), ref, children }));
481
+ });
481
482
  Card.displayName = "Card";
482
483
  var CardMedia = (0, import_react8.forwardRef)(
483
484
  (_a, ref) => {
@@ -506,19 +507,17 @@ var CardBody = (0, import_react8.forwardRef)(
506
507
  }
507
508
  );
508
509
  CardBody.displayName = "Card.Body";
509
- var CardBodyHeader = (0, import_react8.forwardRef)(
510
- (_a, ref) => {
511
- var _b = _a, { as: Component = "h3", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
512
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
513
- Component,
514
- __spreadProps(__spreadValues({}, rest), {
515
- className: (0, import_typed_classname9.clsx)("hds-card__body-header", className),
516
- ref,
517
- children
518
- })
519
- );
520
- }
521
- );
510
+ var CardBodyHeader = (0, import_react8.forwardRef)((_a, ref) => {
511
+ var _b = _a, { as: Component, className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
512
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
513
+ Component,
514
+ __spreadProps(__spreadValues({}, rest), {
515
+ className: (0, import_typed_classname9.clsx)("hds-card__body-header", className),
516
+ ref,
517
+ children
518
+ })
519
+ );
520
+ });
522
521
  CardBodyHeader.displayName = "Card.Body.Header";
523
522
  var CardBodyHeaderOverline = (0, import_react8.forwardRef)((_a, ref) => {
524
523
  var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
@@ -532,19 +531,17 @@ var CardBodyHeaderOverline = (0, import_react8.forwardRef)((_a, ref) => {
532
531
  );
533
532
  });
534
533
  CardBodyHeaderOverline.displayName = "Card.Body.Header.Overline";
535
- var CardBodyHeaderTitle = (0, import_react8.forwardRef)(
536
- (_a, ref) => {
537
- var _b = _a, { as: Component = "span", className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
538
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
539
- Component,
540
- __spreadProps(__spreadValues({}, rest), {
541
- className: (0, import_typed_classname9.clsx)("hds-card__body-header-title", className),
542
- ref,
543
- children
544
- })
545
- );
546
- }
547
- );
534
+ var CardBodyHeaderTitle = (0, import_react8.forwardRef)((_a, ref) => {
535
+ var _b = _a, { as: Component, className, children } = _b, rest = __objRest(_b, ["as", "className", "children"]);
536
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
537
+ Component,
538
+ __spreadProps(__spreadValues({}, rest), {
539
+ className: (0, import_typed_classname9.clsx)("hds-card__body-header-title", className),
540
+ ref,
541
+ children
542
+ })
543
+ );
544
+ });
548
545
  CardBodyHeaderTitle.displayName = "Card.Body.Header.Title";
549
546
  var CardBodyDescription = (0, import_react8.forwardRef)(
550
547
  (_a, ref) => {
@@ -621,22 +618,15 @@ var import_error_message = require("@postenbring/hedwig-css/dist/error-message.c
621
618
  // src/form/error-message/error-message.tsx
622
619
  var import_typed_classname10 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
623
620
  var import_jsx_runtime10 = require("react/jsx-runtime");
624
- function ErrorMessage({
625
- children,
626
- id,
627
- className,
628
- _unstableAriaLiveOnErrorMessage
629
- }) {
621
+ function ErrorMessage({ children, id, className }) {
630
622
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
631
623
  "div",
632
- __spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
633
- "aria-live": "polite",
634
- "aria-relevant": "additions removals"
635
- }), {
624
+ {
625
+ "aria-live": "assertive",
636
626
  className: (0, import_typed_classname10.clsx)("hds-error-message", className),
637
627
  id,
638
628
  children
639
- })
629
+ }
640
630
  );
641
631
  }
642
632
 
@@ -650,16 +640,14 @@ var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
650
640
  legendProps: _c = {}
651
641
  } = _b, _d = _c, { size: legendSize = "default", className: legendClassName } = _d, legendProps = __objRest(_d, ["size", "className"]), _e = _b, {
652
642
  legend,
653
- children,
654
- _unstableAriaLiveOnErrorMessage = false
643
+ children
655
644
  } = _e, rest = __objRest(_e, [
656
645
  "className",
657
646
  "style",
658
647
  "errorMessage",
659
648
  "legendProps",
660
649
  "legend",
661
- "children",
662
- "_unstableAriaLiveOnErrorMessage"
650
+ "children"
663
651
  ]);
664
652
  const errorMessageId = (0, import_react9.useId)();
665
653
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
@@ -685,14 +673,7 @@ var Fieldset = (0, import_react9.forwardRef)(function Fieldset2(_a, ref) {
685
673
  })
686
674
  ),
687
675
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_typed_classname11.clsx)("hds-fieldset__input-wrapper"), children }),
688
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
689
- ErrorMessage,
690
- {
691
- _unstableAriaLiveOnErrorMessage,
692
- id: errorMessageId,
693
- children: errorMessage
694
- }
695
- )
676
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
696
677
  ]
697
678
  })
698
679
  );
@@ -731,8 +712,7 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
731
712
  label,
732
713
  disabled,
733
714
  readOnly,
734
- children,
735
- _unstableAriaLiveOnErrorMessage = false
715
+ children
736
716
  } = _e, rest = __objRest(_e, [
737
717
  "id",
738
718
  "className",
@@ -743,8 +723,7 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
743
723
  "label",
744
724
  "disabled",
745
725
  "readOnly",
746
- "children",
747
- "_unstableAriaLiveOnErrorMessage"
726
+ "children"
748
727
  ]);
749
728
  const errorMessageId = (0, import_react10.useId)();
750
729
  const inputId = (0, import_react10.useId)();
@@ -756,7 +735,7 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
756
735
  return (0, import_react10.cloneElement)(input, __spreadProps(__spreadValues({
757
736
  "aria-describedby": errorMessage ? errorMessageId : void 0,
758
737
  "aria-invalid": errorMessage ? true : void 0,
759
- id: id || inputId
738
+ id: id != null ? id : inputId
760
739
  }, input.props), {
761
740
  className: (0, import_typed_classname12.clsx)("hds-input-group__input", input.props.className)
762
741
  }));
@@ -781,7 +760,7 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
781
760
  __spreadProps(__spreadValues({
782
761
  className: (0, import_typed_classname12.clsx)("hds-input-group__label", labelClassName)
783
762
  }, labelProps), {
784
- htmlFor: id || inputId,
763
+ htmlFor: id != null ? id : inputId,
785
764
  children: label
786
765
  })
787
766
  ),
@@ -794,14 +773,7 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
794
773
  children: renderInput()
795
774
  }
796
775
  ),
797
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
798
- ErrorMessage,
799
- {
800
- _unstableAriaLiveOnErrorMessage,
801
- id: errorMessageId,
802
- children: errorMessage
803
- }
804
- )
776
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
805
777
  ]
806
778
  })
807
779
  );
@@ -810,33 +782,10 @@ var InputGroup = (0, import_react10.forwardRef)(function InputGroup2(_a, ref) {
810
782
  // src/form/input/input.tsx
811
783
  var import_jsx_runtime13 = require("react/jsx-runtime");
812
784
  var Input = (0, import_react11.forwardRef)(function Input2(_a, ref) {
813
- var _b = _a, {
814
- className,
815
- variant,
816
- errorMessage,
817
- labelProps,
818
- label,
819
- id,
820
- style,
821
- disabled,
822
- readOnly,
823
- _unstableAriaLiveOnErrorMessage
824
- } = _b, rest = __objRest(_b, [
825
- "className",
826
- "variant",
827
- "errorMessage",
828
- "labelProps",
829
- "label",
830
- "id",
831
- "style",
832
- "disabled",
833
- "readOnly",
834
- "_unstableAriaLiveOnErrorMessage"
835
- ]);
785
+ 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"]);
836
786
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
837
787
  InputGroup,
838
788
  {
839
- _unstableAriaLiveOnErrorMessage,
840
789
  className: (0, import_typed_classname13.clsx)("hds-input", className),
841
790
  disabled,
842
791
  errorMessage,
@@ -938,9 +887,9 @@ var Checkbox = (0, import_react14.forwardRef)(
938
887
  className
939
888
  ),
940
889
  children: [
941
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("input", __spreadProps(__spreadValues({}, rest), { ref, type: "checkbox" })),
942
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "hds-checkbox__checkmark" }),
943
- title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "hds-checkbox__-title", children: title }) : null,
890
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("input", __spreadProps(__spreadValues({}, rest), { "aria-invalid": hasError ? true : void 0, ref, type: "checkbox" })),
891
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": true, className: "hds-checkbox__checkmark" }),
892
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "hds-checkbox__title", children: title }) : null,
944
893
  children
945
894
  ]
946
895
  }
@@ -975,7 +924,7 @@ var Radiobutton = (0, import_react15.forwardRef)(
975
924
  ),
976
925
  children: [
977
926
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", __spreadProps(__spreadValues({}, rest), { ref, type: "radio" })),
978
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "hds-radiobutton__checkmark" }),
927
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": true, className: "hds-radiobutton__checkmark" }),
979
928
  title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "hds-radiobutton__title", children: title }) : null,
980
929
  children
981
930
  ]
@@ -1122,9 +1071,17 @@ OrderedList.displayName = "OrderedList";
1122
1071
  UnorderedList.displayName = "UnorderedList";
1123
1072
 
1124
1073
  // src/list/link-list.tsx
1074
+ var import_typed_classname22 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1125
1075
  var import_jsx_runtime22 = require("react/jsx-runtime");
1126
- function LinkList(props) {
1127
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(UnorderedList, __spreadProps(__spreadValues({ listStyle: "no-bullets" }, props), { children: props.children }));
1076
+ function LinkList(_a) {
1077
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
1078
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1079
+ UnorderedList,
1080
+ __spreadValues({
1081
+ className: (0, import_typed_classname22.clsx)("hds-list--link-list", className),
1082
+ listStyle: "no-bullets"
1083
+ }, rest)
1084
+ );
1128
1085
  }
1129
1086
  LinkList.displayName = "LinkList";
1130
1087
 
@@ -1137,7 +1094,7 @@ var import_message = require("@postenbring/hedwig-css/dist/message.css");
1137
1094
 
1138
1095
  // src/message/message.tsx
1139
1096
  var import_react18 = require("react");
1140
- var import_typed_classname22 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1097
+ var import_typed_classname23 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1141
1098
  var import_jsx_runtime23 = require("react/jsx-runtime");
1142
1099
  var Message = (0, import_react18.forwardRef)(
1143
1100
  (_a, ref) => {
@@ -1145,11 +1102,11 @@ var Message = (0, import_react18.forwardRef)(
1145
1102
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1146
1103
  Box,
1147
1104
  __spreadProps(__spreadValues({
1148
- className: (0, import_typed_classname22.clsx)(`hds-message`, `hds-message--${variant}`, className),
1105
+ className: (0, import_typed_classname23.clsx)(`hds-message`, `hds-message--${variant}`, className),
1149
1106
  ref
1150
1107
  }, rest), {
1151
1108
  children: [
1152
- variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: (0, import_typed_classname22.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
1109
+ variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: (0, import_typed_classname23.clsx)("hds-message--neutral__icon", iconClassName), children: icon }),
1153
1110
  children
1154
1111
  ]
1155
1112
  })
@@ -1163,7 +1120,7 @@ var MessageTitle = (0, import_react18.forwardRef)(
1163
1120
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1164
1121
  Component,
1165
1122
  __spreadValues({
1166
- className: (0, import_typed_classname22.clsx)("hds-message__title", className),
1123
+ className: (0, import_typed_classname23.clsx)("hds-message__title", className),
1167
1124
  ref
1168
1125
  }, rest)
1169
1126
  );
@@ -1176,7 +1133,7 @@ var MessageDescription = (0, import_react18.forwardRef)(
1176
1133
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1177
1134
  Component,
1178
1135
  __spreadValues({
1179
- className: (0, import_typed_classname22.clsx)("hds-message__description", className),
1136
+ className: (0, import_typed_classname23.clsx)("hds-message__description", className),
1180
1137
  ref
1181
1138
  }, rest)
1182
1139
  );
@@ -1198,7 +1155,7 @@ var import_modal = require("@postenbring/hedwig-css/dist/modal.css");
1198
1155
 
1199
1156
  // src/modal/modal.tsx
1200
1157
  var import_react20 = require("react");
1201
- var import_typed_classname23 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1158
+ var import_typed_classname24 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1202
1159
 
1203
1160
  // src/utils.ts
1204
1161
  var React4 = __toESM(require("react"));
@@ -1275,7 +1232,7 @@ var Modal = (0, import_react20.forwardRef)(
1275
1232
  Box,
1276
1233
  __spreadProps(__spreadValues({
1277
1234
  as: "dialog",
1278
- className: (0, import_typed_classname23.clsx)("hds-modal", className),
1235
+ className: (0, import_typed_classname24.clsx)("hds-modal", className),
1279
1236
  closeable: true,
1280
1237
  onClick: onDialogClick,
1281
1238
  onClose: onCloseButtonClick,
@@ -1294,7 +1251,7 @@ var ModalHeader = (0, import_react20.forwardRef)(
1294
1251
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1295
1252
  Component,
1296
1253
  __spreadValues({
1297
- className: (0, import_typed_classname23.clsx)("hds-modal__header", className),
1254
+ className: (0, import_typed_classname24.clsx)("hds-modal__header", className),
1298
1255
  ref
1299
1256
  }, rest)
1300
1257
  );
@@ -1307,7 +1264,7 @@ var ModalContent = (0, import_react20.forwardRef)(
1307
1264
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1308
1265
  Component,
1309
1266
  __spreadValues({
1310
- className: (0, import_typed_classname23.clsx)("hds-modal__content", className),
1267
+ className: (0, import_typed_classname24.clsx)("hds-modal__content", className),
1311
1268
  ref
1312
1269
  }, rest)
1313
1270
  );
@@ -1320,7 +1277,7 @@ var ModalFooter = (0, import_react20.forwardRef)(
1320
1277
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1321
1278
  Component,
1322
1279
  __spreadValues({
1323
- className: (0, import_typed_classname23.clsx)("hds-modal__footer", className),
1280
+ className: (0, import_typed_classname24.clsx)("hds-modal__footer", className),
1324
1281
  ref
1325
1282
  }, rest)
1326
1283
  );
@@ -1365,7 +1322,7 @@ var import_tabs = require("@postenbring/hedwig-css/dist/tabs.css");
1365
1322
 
1366
1323
  // src/tabs/tabs.tsx
1367
1324
  var import_react22 = require("react");
1368
- var import_typed_classname24 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1325
+ var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1369
1326
 
1370
1327
  // src/tabs/context.ts
1371
1328
  var import_react21 = require("react");
@@ -1383,7 +1340,7 @@ var Tabs = (0, import_react22.forwardRef)(
1383
1340
  (_a, ref) => {
1384
1341
  var _b = _a, { as: Component = "div", defaultTab, children } = _b, rest = __objRest(_b, ["as", "defaultTab", "children"]);
1385
1342
  const [activeTabId, setActiveTabId] = (0, import_react22.useState)(defaultTab);
1386
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname24.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1343
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Component, __spreadProps(__spreadValues({ className: (0, import_typed_classname25.clsx)("hds-tabs"), ref }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1387
1344
  TabsContext.Provider,
1388
1345
  {
1389
1346
  value: { activeTabId, toggleActiveTabId: setActiveTabId, mounted: true },
@@ -1396,7 +1353,7 @@ Tabs.displayName = "Tabs";
1396
1353
 
1397
1354
  // src/tabs/tabs-list.tsx
1398
1355
  var import_react23 = require("react");
1399
- var import_typed_classname25 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1356
+ var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1400
1357
  var import_jsx_runtime26 = require("react/jsx-runtime");
1401
1358
  function TabsList(_a) {
1402
1359
  var _b = _a, { children, direction = "horizontal", className } = _b, rest = __objRest(_b, ["children", "direction", "className"]);
@@ -1407,7 +1364,7 @@ function TabsList(_a) {
1407
1364
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1408
1365
  "div",
1409
1366
  __spreadProps(__spreadValues({
1410
- className: (0, import_typed_classname25.clsx)(
1367
+ className: (0, import_typed_classname26.clsx)(
1411
1368
  "hds-tabs--list",
1412
1369
  direction === "horizontal" ? {
1413
1370
  [`hds-tabs--list-horizontal`]: wideEnough,
@@ -1440,7 +1397,7 @@ var Tab = (0, import_react23.forwardRef)(
1440
1397
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1441
1398
  Component,
1442
1399
  __spreadProps(__spreadValues({
1443
- className: (0, import_typed_classname25.clsx)(
1400
+ className: (0, import_typed_classname26.clsx)(
1444
1401
  "hds-tabs--tab",
1445
1402
  { "hds-tabs--tab-active": context.activeTabId === tabId },
1446
1403
  className
@@ -1459,11 +1416,11 @@ Tab.displayName = "Tabs.Tab";
1459
1416
 
1460
1417
  // src/tabs/tabs-content.tsx
1461
1418
  var import_react24 = require("react");
1462
- var import_typed_classname26 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1419
+ var import_typed_classname27 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1463
1420
  var import_jsx_runtime27 = require("react/jsx-runtime");
1464
1421
  function TabsContents(_a) {
1465
1422
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
1466
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", __spreadProps(__spreadValues({ className: (0, import_typed_classname26.clsx)("hds-tabs--contents") }, rest), { children }));
1423
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", __spreadProps(__spreadValues({ className: (0, import_typed_classname27.clsx)("hds-tabs--contents") }, rest), { children }));
1467
1424
  }
1468
1425
  TabsContents.displayName = "Tabs.Contents";
1469
1426
  var TabsContent = (0, import_react24.forwardRef)(
@@ -1496,13 +1453,13 @@ var import_warning_banner = require("@postenbring/hedwig-css/dist/warning-banner
1496
1453
 
1497
1454
  // src/warning-banner/warning-banner.tsx
1498
1455
  var import_react25 = require("react");
1499
- var import_typed_classname27 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1456
+ var import_typed_classname28 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1500
1457
  var import_jsx_runtime28 = require("react/jsx-runtime");
1501
1458
  var WarningBanner = (0, import_react25.forwardRef)(
1502
1459
  (_a, ref) => {
1503
1460
  var _b = _a, { title, description, className } = _b, rest = __objRest(_b, ["title", "description", "className"]);
1504
1461
  const expandable = !!description;
1505
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(BoxComponent, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname27.clsx)("hds-warning-banner", className), ref, children: [
1462
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(BoxComponent, __spreadProps(__spreadValues({}, rest), { className: (0, import_typed_classname28.clsx)("hds-warning-banner", className), ref, children: [
1506
1463
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(WarningBannerTitle, { variant: expandable ? "expandable" : "default", children: title }),
1507
1464
  expandable ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(WarningBannerDescription, { children: description }) : null
1508
1465
  ] }));
@@ -1527,7 +1484,7 @@ var WarningBannerTitle = (0, import_react25.forwardRef)(
1527
1484
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1528
1485
  Component,
1529
1486
  __spreadProps(__spreadValues({
1530
- className: (0, import_typed_classname27.clsx)(
1487
+ className: (0, import_typed_classname28.clsx)(
1531
1488
  "hds-warning-banner__title",
1532
1489
  "hds-warning-banner__title-trigger",
1533
1490
  { "hds-warning-banner--closed": !open },
@@ -1541,7 +1498,7 @@ var WarningBannerTitle = (0, import_react25.forwardRef)(
1541
1498
  }, rest), {
1542
1499
  children: [
1543
1500
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { children }),
1544
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: (0, import_typed_classname27.clsx)("hds-warning-banner__title-trigger--icon"), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1501
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: (0, import_typed_classname28.clsx)("hds-warning-banner__title-trigger--icon"), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1545
1502
  "svg",
1546
1503
  {
1547
1504
  fill: "none",
@@ -1559,7 +1516,7 @@ var WarningBannerTitle = (0, import_react25.forwardRef)(
1559
1516
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1560
1517
  Component,
1561
1518
  __spreadProps(__spreadValues({
1562
- className: (0, import_typed_classname27.clsx)("hds-warning-banner__title", className),
1519
+ className: (0, import_typed_classname28.clsx)("hds-warning-banner__title", className),
1563
1520
  ref
1564
1521
  }, rest), {
1565
1522
  children
@@ -1574,7 +1531,7 @@ var WarningBannerDescription = (0, import_react25.forwardRef)(
1574
1531
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1575
1532
  Component,
1576
1533
  __spreadValues({
1577
- className: (0, import_typed_classname27.clsx)("hds-warning-banner__description", className),
1534
+ className: (0, import_typed_classname28.clsx)("hds-warning-banner__description", className),
1578
1535
  ref
1579
1536
  }, rest)
1580
1537
  );
@@ -1582,26 +1539,26 @@ var WarningBannerDescription = (0, import_react25.forwardRef)(
1582
1539
  );
1583
1540
  WarningBannerDescription.displayName = "WarningBannerDescription";
1584
1541
 
1585
- // src/prose/index.ts
1542
+ // src/styled-html/index.ts
1586
1543
  var import_fonts22 = require("@postenbring/hedwig-css/dist/fonts.css");
1587
1544
  var import_tokens22 = require("@postenbring/hedwig-css/dist/tokens.css");
1588
1545
  var import_body22 = require("@postenbring/hedwig-css/dist/body.css");
1589
- var import_prose = require("@postenbring/hedwig-css/dist/prose.css");
1546
+ var import_styled_html = require("@postenbring/hedwig-css/dist/styled-html.css");
1590
1547
 
1591
- // src/prose/prose.tsx
1548
+ // src/styled-html/styled-html.tsx
1592
1549
  var import_react26 = require("react");
1593
- var import_typed_classname28 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1550
+ var import_typed_classname29 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1594
1551
  var import_jsx_runtime29 = require("react/jsx-runtime");
1595
- var Prose = (0, import_react26.forwardRef)(
1552
+ var StyledHtml = (0, import_react26.forwardRef)(
1596
1553
  (_a, ref) => {
1597
1554
  var _b = _a, { as: Component = "div", children, size, darkmode = false, className } = _b, rest = __objRest(_b, ["as", "children", "size", "darkmode", "className"]);
1598
1555
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1599
1556
  Component,
1600
1557
  __spreadProps(__spreadValues({
1601
- className: (0, import_typed_classname28.clsx)(
1602
- `hds-prose`,
1603
- size === "small" && "hds-prose--small",
1604
- darkmode && "hds-prose--darkmode",
1558
+ className: (0, import_typed_classname29.clsx)(
1559
+ `hds-styled-html`,
1560
+ size === "small" && "hds-styled-html--small",
1561
+ darkmode && "hds-styled-html--darkmode",
1605
1562
  className
1606
1563
  ),
1607
1564
  ref
@@ -1611,7 +1568,7 @@ var Prose = (0, import_react26.forwardRef)(
1611
1568
  );
1612
1569
  }
1613
1570
  );
1614
- Prose.displayName = "Prose";
1571
+ StyledHtml.displayName = "Prose";
1615
1572
  // Annotate the CommonJS export names for ESM import in node:
1616
1573
  0 && (module.exports = {
1617
1574
  Accordion,
@@ -1631,10 +1588,10 @@ Prose.displayName = "Prose";
1631
1588
  Modal,
1632
1589
  OrderedList,
1633
1590
  PrimaryButton,
1634
- Prose,
1635
1591
  Radiobutton,
1636
1592
  SecondaryButton,
1637
1593
  Select,
1594
+ StyledHtml,
1638
1595
  Tabs,
1639
1596
  Textarea,
1640
1597
  UnorderedList,
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
- Prose
3
- } from "./chunk-3WUAXFB3.mjs";
2
+ StyledHtml
3
+ } from "./chunk-3WKOOAQL.mjs";
4
4
  import {
5
5
  TabsComponent
6
6
  } from "./chunk-VO6ZLGZ7.mjs";
@@ -25,31 +25,31 @@ import "./chunk-5OGUAHLN.mjs";
25
25
  import "./chunk-ERFGFY3Q.mjs";
26
26
  import {
27
27
  Radiobutton
28
- } from "./chunk-IXH7S7RI.mjs";
28
+ } from "./chunk-ZDZR5FVC.mjs";
29
29
  import "./chunk-OPW2JS5I.mjs";
30
30
  import {
31
31
  Select
32
- } from "./chunk-MUGMWWNN.mjs";
32
+ } from "./chunk-LCFKBPZC.mjs";
33
33
  import "./chunk-5NWYVPBZ.mjs";
34
34
  import {
35
35
  Textarea
36
- } from "./chunk-4KBVX3Y7.mjs";
36
+ } from "./chunk-OSCKYUZ3.mjs";
37
37
  import "./chunk-JTHBBJZW.mjs";
38
38
  import {
39
39
  Checkbox
40
- } from "./chunk-JTBZ4UL4.mjs";
40
+ } from "./chunk-SDR3TESK.mjs";
41
41
  import "./chunk-OKWNTFU5.mjs";
42
42
  import {
43
43
  Fieldset
44
- } from "./chunk-J5QNIAFL.mjs";
44
+ } from "./chunk-JAHBNZTG.mjs";
45
45
  import "./chunk-4RAMNETH.mjs";
46
46
  import {
47
47
  Input
48
- } from "./chunk-RNALWA7A.mjs";
48
+ } from "./chunk-OX5NTX6M.mjs";
49
49
  import "./chunk-S4F2KVFJ.mjs";
50
- import "./chunk-6KRJB36T.mjs";
50
+ import "./chunk-CCNB2ABL.mjs";
51
51
  import "./chunk-67OMX7FP.mjs";
52
- import "./chunk-R7GQHCN4.mjs";
52
+ import "./chunk-RBOWRO3L.mjs";
53
53
  import "./chunk-FJQCHTJZ.mjs";
54
54
  import {
55
55
  Container
@@ -64,7 +64,7 @@ import {
64
64
  } from "./chunk-AUK3J77R.mjs";
65
65
  import {
66
66
  LinkList
67
- } from "./chunk-X5URKHFD.mjs";
67
+ } from "./chunk-RSL23FEW.mjs";
68
68
  import {
69
69
  OrderedList,
70
70
  UnorderedList
@@ -81,11 +81,11 @@ import "./chunk-VX6MSLLO.mjs";
81
81
  import {
82
82
  PrimaryButton,
83
83
  SecondaryButton
84
- } from "./chunk-YBSM5D5N.mjs";
84
+ } from "./chunk-PTLX7PHW.mjs";
85
85
  import {
86
86
  CardComponent
87
- } from "./chunk-S7FSULI3.mjs";
88
- import "./chunk-B3SD7RZV.mjs";
87
+ } from "./chunk-52YSOWMY.mjs";
88
+ import "./chunk-OEOI74US.mjs";
89
89
  import {
90
90
  AccordionComponent
91
91
  } from "./chunk-KBR5N6UB.mjs";
@@ -103,11 +103,11 @@ import {
103
103
  } from "./chunk-6FKQU7QT.mjs";
104
104
  import "./chunk-FKR5F35B.mjs";
105
105
 
106
- // src/prose/index.ts
106
+ // src/styled-html/index.ts
107
107
  import "@postenbring/hedwig-css/dist/fonts.css";
108
108
  import "@postenbring/hedwig-css/dist/tokens.css";
109
109
  import "@postenbring/hedwig-css/dist/body.css";
110
- import "@postenbring/hedwig-css/dist/prose.css";
110
+ import "@postenbring/hedwig-css/dist/styled-html.css";
111
111
  export {
112
112
  AccordionComponent as Accordion,
113
113
  Badge,
@@ -126,10 +126,10 @@ export {
126
126
  ModalComponent as Modal,
127
127
  OrderedList,
128
128
  PrimaryButton,
129
- Prose,
130
129
  Radiobutton,
131
130
  SecondaryButton,
132
131
  Select,
132
+ StyledHtml,
133
133
  TabsComponent as Tabs,
134
134
  Textarea,
135
135
  UnorderedList,
@@ -131,9 +131,17 @@ OrderedList.displayName = "OrderedList";
131
131
  UnorderedList.displayName = "UnorderedList";
132
132
 
133
133
  // src/list/link-list.tsx
134
+ var import_typed_classname3 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
134
135
  var import_jsx_runtime3 = require("react/jsx-runtime");
135
- function LinkList(props) {
136
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(UnorderedList, __spreadProps(__spreadValues({ listStyle: "no-bullets" }, props), { children: props.children }));
136
+ function LinkList(_a) {
137
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
138
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
139
+ UnorderedList,
140
+ __spreadValues({
141
+ className: (0, import_typed_classname3.clsx)("hds-list--link-list", className),
142
+ listStyle: "no-bullets"
143
+ }, rest)
144
+ );
137
145
  }
138
146
  LinkList.displayName = "LinkList";
139
147
  // Annotate the CommonJS export names for ESM import in node: