@postenbring/hedwig-react 0.0.48 → 0.0.49

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
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  InputGroup
3
- } from "../../chunk-6KRJB36T.mjs";
3
+ } from "../../chunk-CCNB2ABL.mjs";
4
4
  import "../../chunk-67OMX7FP.mjs";
5
- import "../../chunk-R7GQHCN4.mjs";
5
+ import "../../chunk-RBOWRO3L.mjs";
6
6
  import "../../chunk-FKR5F35B.mjs";
7
7
  export {
8
8
  InputGroup
@@ -77,7 +77,7 @@ var Radiobutton = (0, import_react.forwardRef)(
77
77
  ),
78
78
  children: [
79
79
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", __spreadProps(__spreadValues({}, rest), { ref, type: "radio" })),
80
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "hds-radiobutton__checkmark" }),
80
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { "aria-hidden": true, className: "hds-radiobutton__checkmark" }),
81
81
  title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "hds-radiobutton__title", children: title }) : null,
82
82
  children
83
83
  ]
@@ -1,7 +1,7 @@
1
1
  import "../../chunk-ERFGFY3Q.mjs";
2
2
  import {
3
3
  Radiobutton
4
- } from "../../chunk-IXH7S7RI.mjs";
4
+ } from "../../chunk-ZDZR5FVC.mjs";
5
5
  import "../../chunk-FKR5F35B.mjs";
6
6
  export {
7
7
  Radiobutton
@@ -71,7 +71,7 @@ var Radiobutton = (0, import_react.forwardRef)(
71
71
  ),
72
72
  children: [
73
73
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", __spreadProps(__spreadValues({}, rest), { ref, type: "radio" })),
74
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "hds-radiobutton__checkmark" }),
74
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { "aria-hidden": true, className: "hds-radiobutton__checkmark" }),
75
75
  title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "hds-radiobutton__title", children: title }) : null,
76
76
  children
77
77
  ]
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Radiobutton
3
- } from "../../chunk-IXH7S7RI.mjs";
3
+ } from "../../chunk-ZDZR5FVC.mjs";
4
4
  import "../../chunk-FKR5F35B.mjs";
5
5
  export {
6
6
  Radiobutton
@@ -81,22 +81,15 @@ var import_error_message = require("@postenbring/hedwig-css/dist/error-message.c
81
81
  // src/form/error-message/error-message.tsx
82
82
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
83
83
  var import_jsx_runtime = require("react/jsx-runtime");
84
- function ErrorMessage({
85
- children,
86
- id,
87
- className,
88
- _unstableAriaLiveOnErrorMessage
89
- }) {
84
+ function ErrorMessage({ children, id, className }) {
90
85
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
91
86
  "div",
92
- __spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
93
- "aria-live": "polite",
94
- "aria-relevant": "additions removals"
95
- }), {
87
+ {
88
+ "aria-live": "assertive",
96
89
  className: (0, import_typed_classname.clsx)("hds-error-message", className),
97
90
  id,
98
91
  children
99
- })
92
+ }
100
93
  );
101
94
  }
102
95
 
@@ -114,8 +107,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
114
107
  label,
115
108
  disabled,
116
109
  readOnly,
117
- children,
118
- _unstableAriaLiveOnErrorMessage = false
110
+ children
119
111
  } = _e, rest = __objRest(_e, [
120
112
  "id",
121
113
  "className",
@@ -126,8 +118,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
126
118
  "label",
127
119
  "disabled",
128
120
  "readOnly",
129
- "children",
130
- "_unstableAriaLiveOnErrorMessage"
121
+ "children"
131
122
  ]);
132
123
  const errorMessageId = (0, import_react.useId)();
133
124
  const inputId = (0, import_react.useId)();
@@ -139,7 +130,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
139
130
  return (0, import_react.cloneElement)(input, __spreadProps(__spreadValues({
140
131
  "aria-describedby": errorMessage ? errorMessageId : void 0,
141
132
  "aria-invalid": errorMessage ? true : void 0,
142
- id: id || inputId
133
+ id: id != null ? id : inputId
143
134
  }, input.props), {
144
135
  className: (0, import_typed_classname2.clsx)("hds-input-group__input", input.props.className)
145
136
  }));
@@ -164,7 +155,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
164
155
  __spreadProps(__spreadValues({
165
156
  className: (0, import_typed_classname2.clsx)("hds-input-group__label", labelClassName)
166
157
  }, labelProps), {
167
- htmlFor: id || inputId,
158
+ htmlFor: id != null ? id : inputId,
168
159
  children: label
169
160
  })
170
161
  ),
@@ -177,14 +168,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
177
168
  children: renderInput()
178
169
  }
179
170
  ),
180
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
181
- ErrorMessage,
182
- {
183
- _unstableAriaLiveOnErrorMessage,
184
- id: errorMessageId,
185
- children: errorMessage
186
- }
187
- )
171
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
188
172
  ]
189
173
  })
190
174
  );
@@ -1,11 +1,11 @@
1
1
  import "../../chunk-OPW2JS5I.mjs";
2
2
  import {
3
3
  Select
4
- } from "../../chunk-MUGMWWNN.mjs";
4
+ } from "../../chunk-LCFKBPZC.mjs";
5
5
  import "../../chunk-S4F2KVFJ.mjs";
6
- import "../../chunk-6KRJB36T.mjs";
6
+ import "../../chunk-CCNB2ABL.mjs";
7
7
  import "../../chunk-67OMX7FP.mjs";
8
- import "../../chunk-R7GQHCN4.mjs";
8
+ import "../../chunk-RBOWRO3L.mjs";
9
9
  import "../../chunk-FKR5F35B.mjs";
10
10
  export {
11
11
  Select
@@ -74,22 +74,15 @@ var import_error_message = require("@postenbring/hedwig-css/dist/error-message.c
74
74
  // src/form/error-message/error-message.tsx
75
75
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
76
76
  var import_jsx_runtime = require("react/jsx-runtime");
77
- function ErrorMessage({
78
- children,
79
- id,
80
- className,
81
- _unstableAriaLiveOnErrorMessage
82
- }) {
77
+ function ErrorMessage({ children, id, className }) {
83
78
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
84
79
  "div",
85
- __spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
86
- "aria-live": "polite",
87
- "aria-relevant": "additions removals"
88
- }), {
80
+ {
81
+ "aria-live": "assertive",
89
82
  className: (0, import_typed_classname.clsx)("hds-error-message", className),
90
83
  id,
91
84
  children
92
- })
85
+ }
93
86
  );
94
87
  }
95
88
 
@@ -107,8 +100,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
107
100
  label,
108
101
  disabled,
109
102
  readOnly,
110
- children,
111
- _unstableAriaLiveOnErrorMessage = false
103
+ children
112
104
  } = _e, rest = __objRest(_e, [
113
105
  "id",
114
106
  "className",
@@ -119,8 +111,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
119
111
  "label",
120
112
  "disabled",
121
113
  "readOnly",
122
- "children",
123
- "_unstableAriaLiveOnErrorMessage"
114
+ "children"
124
115
  ]);
125
116
  const errorMessageId = (0, import_react.useId)();
126
117
  const inputId = (0, import_react.useId)();
@@ -132,7 +123,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
132
123
  return (0, import_react.cloneElement)(input, __spreadProps(__spreadValues({
133
124
  "aria-describedby": errorMessage ? errorMessageId : void 0,
134
125
  "aria-invalid": errorMessage ? true : void 0,
135
- id: id || inputId
126
+ id: id != null ? id : inputId
136
127
  }, input.props), {
137
128
  className: (0, import_typed_classname2.clsx)("hds-input-group__input", input.props.className)
138
129
  }));
@@ -157,7 +148,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
157
148
  __spreadProps(__spreadValues({
158
149
  className: (0, import_typed_classname2.clsx)("hds-input-group__label", labelClassName)
159
150
  }, labelProps), {
160
- htmlFor: id || inputId,
151
+ htmlFor: id != null ? id : inputId,
161
152
  children: label
162
153
  })
163
154
  ),
@@ -170,14 +161,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
170
161
  children: renderInput()
171
162
  }
172
163
  ),
173
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
174
- ErrorMessage,
175
- {
176
- _unstableAriaLiveOnErrorMessage,
177
- id: errorMessageId,
178
- children: errorMessage
179
- }
180
- )
164
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
181
165
  ]
182
166
  })
183
167
  );
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Select
3
- } from "../../chunk-MUGMWWNN.mjs";
3
+ } from "../../chunk-LCFKBPZC.mjs";
4
4
  import "../../chunk-S4F2KVFJ.mjs";
5
- import "../../chunk-6KRJB36T.mjs";
5
+ import "../../chunk-CCNB2ABL.mjs";
6
6
  import "../../chunk-67OMX7FP.mjs";
7
- import "../../chunk-R7GQHCN4.mjs";
7
+ import "../../chunk-RBOWRO3L.mjs";
8
8
  import "../../chunk-FKR5F35B.mjs";
9
9
  export {
10
10
  Select
@@ -81,22 +81,15 @@ var import_error_message = require("@postenbring/hedwig-css/dist/error-message.c
81
81
  // src/form/error-message/error-message.tsx
82
82
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
83
83
  var import_jsx_runtime = require("react/jsx-runtime");
84
- function ErrorMessage({
85
- children,
86
- id,
87
- className,
88
- _unstableAriaLiveOnErrorMessage
89
- }) {
84
+ function ErrorMessage({ children, id, className }) {
90
85
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
91
86
  "div",
92
- __spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
93
- "aria-live": "polite",
94
- "aria-relevant": "additions removals"
95
- }), {
87
+ {
88
+ "aria-live": "assertive",
96
89
  className: (0, import_typed_classname.clsx)("hds-error-message", className),
97
90
  id,
98
91
  children
99
- })
92
+ }
100
93
  );
101
94
  }
102
95
 
@@ -114,8 +107,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
114
107
  label,
115
108
  disabled,
116
109
  readOnly,
117
- children,
118
- _unstableAriaLiveOnErrorMessage = false
110
+ children
119
111
  } = _e, rest = __objRest(_e, [
120
112
  "id",
121
113
  "className",
@@ -126,8 +118,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
126
118
  "label",
127
119
  "disabled",
128
120
  "readOnly",
129
- "children",
130
- "_unstableAriaLiveOnErrorMessage"
121
+ "children"
131
122
  ]);
132
123
  const errorMessageId = (0, import_react.useId)();
133
124
  const inputId = (0, import_react.useId)();
@@ -139,7 +130,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
139
130
  return (0, import_react.cloneElement)(input, __spreadProps(__spreadValues({
140
131
  "aria-describedby": errorMessage ? errorMessageId : void 0,
141
132
  "aria-invalid": errorMessage ? true : void 0,
142
- id: id || inputId
133
+ id: id != null ? id : inputId
143
134
  }, input.props), {
144
135
  className: (0, import_typed_classname2.clsx)("hds-input-group__input", input.props.className)
145
136
  }));
@@ -164,7 +155,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
164
155
  __spreadProps(__spreadValues({
165
156
  className: (0, import_typed_classname2.clsx)("hds-input-group__label", labelClassName)
166
157
  }, labelProps), {
167
- htmlFor: id || inputId,
158
+ htmlFor: id != null ? id : inputId,
168
159
  children: label
169
160
  })
170
161
  ),
@@ -177,14 +168,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
177
168
  children: renderInput()
178
169
  }
179
170
  ),
180
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
181
- ErrorMessage,
182
- {
183
- _unstableAriaLiveOnErrorMessage,
184
- id: errorMessageId,
185
- children: errorMessage
186
- }
187
- )
171
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
188
172
  ]
189
173
  })
190
174
  );
@@ -1,11 +1,11 @@
1
1
  import "../../chunk-5NWYVPBZ.mjs";
2
2
  import {
3
3
  Textarea
4
- } from "../../chunk-4KBVX3Y7.mjs";
4
+ } from "../../chunk-OSCKYUZ3.mjs";
5
5
  import "../../chunk-S4F2KVFJ.mjs";
6
- import "../../chunk-6KRJB36T.mjs";
6
+ import "../../chunk-CCNB2ABL.mjs";
7
7
  import "../../chunk-67OMX7FP.mjs";
8
- import "../../chunk-R7GQHCN4.mjs";
8
+ import "../../chunk-RBOWRO3L.mjs";
9
9
  import "../../chunk-FKR5F35B.mjs";
10
10
  export {
11
11
  Textarea
@@ -74,22 +74,15 @@ var import_error_message = require("@postenbring/hedwig-css/dist/error-message.c
74
74
  // src/form/error-message/error-message.tsx
75
75
  var import_typed_classname = require("@postenbring/hedwig-css/typed-classname/index.mjs");
76
76
  var import_jsx_runtime = require("react/jsx-runtime");
77
- function ErrorMessage({
78
- children,
79
- id,
80
- className,
81
- _unstableAriaLiveOnErrorMessage
82
- }) {
77
+ function ErrorMessage({ children, id, className }) {
83
78
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
84
79
  "div",
85
- __spreadProps(__spreadValues({}, _unstableAriaLiveOnErrorMessage && {
86
- "aria-live": "polite",
87
- "aria-relevant": "additions removals"
88
- }), {
80
+ {
81
+ "aria-live": "assertive",
89
82
  className: (0, import_typed_classname.clsx)("hds-error-message", className),
90
83
  id,
91
84
  children
92
- })
85
+ }
93
86
  );
94
87
  }
95
88
 
@@ -107,8 +100,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
107
100
  label,
108
101
  disabled,
109
102
  readOnly,
110
- children,
111
- _unstableAriaLiveOnErrorMessage = false
103
+ children
112
104
  } = _e, rest = __objRest(_e, [
113
105
  "id",
114
106
  "className",
@@ -119,8 +111,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
119
111
  "label",
120
112
  "disabled",
121
113
  "readOnly",
122
- "children",
123
- "_unstableAriaLiveOnErrorMessage"
114
+ "children"
124
115
  ]);
125
116
  const errorMessageId = (0, import_react.useId)();
126
117
  const inputId = (0, import_react.useId)();
@@ -132,7 +123,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
132
123
  return (0, import_react.cloneElement)(input, __spreadProps(__spreadValues({
133
124
  "aria-describedby": errorMessage ? errorMessageId : void 0,
134
125
  "aria-invalid": errorMessage ? true : void 0,
135
- id: id || inputId
126
+ id: id != null ? id : inputId
136
127
  }, input.props), {
137
128
  className: (0, import_typed_classname2.clsx)("hds-input-group__input", input.props.className)
138
129
  }));
@@ -157,7 +148,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
157
148
  __spreadProps(__spreadValues({
158
149
  className: (0, import_typed_classname2.clsx)("hds-input-group__label", labelClassName)
159
150
  }, labelProps), {
160
- htmlFor: id || inputId,
151
+ htmlFor: id != null ? id : inputId,
161
152
  children: label
162
153
  })
163
154
  ),
@@ -170,14 +161,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
170
161
  children: renderInput()
171
162
  }
172
163
  ),
173
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
174
- ErrorMessage,
175
- {
176
- _unstableAriaLiveOnErrorMessage,
177
- id: errorMessageId,
178
- children: errorMessage
179
- }
180
- )
164
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ErrorMessage, { id: errorMessageId, children: errorMessage })
181
165
  ]
182
166
  })
183
167
  );
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Textarea
3
- } from "../../chunk-4KBVX3Y7.mjs";
3
+ } from "../../chunk-OSCKYUZ3.mjs";
4
4
  import "../../chunk-S4F2KVFJ.mjs";
5
- import "../../chunk-6KRJB36T.mjs";
5
+ import "../../chunk-CCNB2ABL.mjs";
6
6
  import "../../chunk-67OMX7FP.mjs";
7
- import "../../chunk-R7GQHCN4.mjs";
7
+ import "../../chunk-RBOWRO3L.mjs";
8
8
  import "../../chunk-FKR5F35B.mjs";
9
9
  export {
10
10
  Textarea
package/dist/index.d.mts CHANGED
@@ -19,7 +19,7 @@ export { Message } from './message/index.mjs';
19
19
  export { Modal } from './modal/index.mjs';
20
20
  export { Tabs } from './tabs/index.mjs';
21
21
  export { WarningBanner, WarningBannerProps } from './warning-banner/warning-banner.mjs';
22
- export { Prose, ProseProps } from './prose/prose.mjs';
22
+ export { StyledHtml, StyledHtmlProps } from './styled-html/styled-html.mjs';
23
23
  export { AccordionProps } from './accordion/accordion.mjs';
24
24
  export { AccordionItem, AccordionItemChildrenType, AccordionItemProps } from './accordion/accordion-item.mjs';
25
25
  export { AccordionHeader, AccordionHeaderProps } from './accordion/accordion-header.mjs';
package/dist/index.d.ts CHANGED
@@ -19,7 +19,7 @@ export { Message } from './message/index.js';
19
19
  export { Modal } from './modal/index.js';
20
20
  export { Tabs } from './tabs/index.js';
21
21
  export { WarningBanner, WarningBannerProps } from './warning-banner/warning-banner.js';
22
- export { Prose, ProseProps } from './prose/prose.js';
22
+ export { StyledHtml, StyledHtmlProps } from './styled-html/styled-html.js';
23
23
  export { AccordionProps } from './accordion/accordion.js';
24
24
  export { AccordionItem, AccordionItemChildrenType, AccordionItemProps } from './accordion/accordion-item.js';
25
25
  export { AccordionHeader, AccordionHeaderProps } from './accordion/accordion-header.js';