@postenbring/hedwig-react 0.0.42 → 0.0.43

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.
@@ -13,6 +13,7 @@ import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
13
  import { jsx } from "react/jsx-runtime";
14
14
  var Input = forwardRef(function Input2(_a, ref) {
15
15
  var _b = _a, {
16
+ className,
16
17
  variant,
17
18
  errorMessage,
18
19
  labelProps,
@@ -23,6 +24,7 @@ var Input = forwardRef(function Input2(_a, ref) {
23
24
  readOnly,
24
25
  _unstableAriaLiveOnErrorMessage
25
26
  } = _b, rest = __objRest(_b, [
27
+ "className",
26
28
  "variant",
27
29
  "errorMessage",
28
30
  "labelProps",
@@ -37,15 +39,16 @@ var Input = forwardRef(function Input2(_a, ref) {
37
39
  InputGroup,
38
40
  {
39
41
  _unstableAriaLiveOnErrorMessage,
40
- className: clsx("hds-input"),
42
+ className: clsx("hds-input", className),
41
43
  disabled,
42
44
  errorMessage,
43
45
  id,
44
46
  label,
45
47
  labelProps,
46
48
  readOnly,
49
+ style,
47
50
  variant,
48
- children: /* @__PURE__ */ jsx("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
51
+ children: /* @__PURE__ */ jsx("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
49
52
  }
50
53
  );
51
54
  });
@@ -12,18 +12,19 @@ import { forwardRef } from "react";
12
12
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
13
  import { jsx } from "react/jsx-runtime";
14
14
  var Select = forwardRef(function Select2(_a, ref) {
15
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
15
+ 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"]);
16
16
  return /* @__PURE__ */ jsx(
17
17
  InputGroup,
18
18
  {
19
- className: clsx("hds-select"),
19
+ className: clsx("hds-select", className),
20
20
  disabled,
21
21
  errorMessage,
22
22
  id,
23
23
  label,
24
24
  labelProps,
25
+ style,
25
26
  variant,
26
- children: /* @__PURE__ */ jsx("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, style, children }))
27
+ children: /* @__PURE__ */ jsx("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
27
28
  }
28
29
  );
29
30
  });
@@ -12,19 +12,20 @@ import { forwardRef } from "react";
12
12
  import { clsx } from "@postenbring/hedwig-css/typed-classname/index.mjs";
13
13
  import { jsx } from "react/jsx-runtime";
14
14
  var Textarea = forwardRef(function Textarea2(_a, ref) {
15
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
15
+ 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"]);
16
16
  return /* @__PURE__ */ jsx(
17
17
  InputGroup,
18
18
  {
19
- className: clsx("hds-textarea"),
19
+ className: clsx("hds-textarea", className),
20
20
  disabled,
21
21
  errorMessage,
22
22
  id,
23
23
  label,
24
24
  labelProps,
25
25
  readOnly,
26
+ style,
26
27
  variant,
27
- children: /* @__PURE__ */ jsx("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
28
+ children: /* @__PURE__ */ jsx("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
28
29
  }
29
30
  );
30
31
  });
package/dist/index.js CHANGED
@@ -691,6 +691,7 @@ var InputGroup = (0, import_react9.forwardRef)(function InputGroup2(_a, ref) {
691
691
  var import_jsx_runtime11 = require("react/jsx-runtime");
692
692
  var Input = (0, import_react10.forwardRef)(function Input2(_a, ref) {
693
693
  var _b = _a, {
694
+ className,
694
695
  variant,
695
696
  errorMessage,
696
697
  labelProps,
@@ -701,6 +702,7 @@ var Input = (0, import_react10.forwardRef)(function Input2(_a, ref) {
701
702
  readOnly,
702
703
  _unstableAriaLiveOnErrorMessage
703
704
  } = _b, rest = __objRest(_b, [
705
+ "className",
704
706
  "variant",
705
707
  "errorMessage",
706
708
  "labelProps",
@@ -715,15 +717,16 @@ var Input = (0, import_react10.forwardRef)(function Input2(_a, ref) {
715
717
  InputGroup,
716
718
  {
717
719
  _unstableAriaLiveOnErrorMessage,
718
- className: (0, import_typed_classname11.clsx)("hds-input"),
720
+ className: (0, import_typed_classname11.clsx)("hds-input", className),
719
721
  disabled,
720
722
  errorMessage,
721
723
  id,
722
724
  label,
723
725
  labelProps,
724
726
  readOnly,
727
+ style,
725
728
  variant,
726
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
729
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
727
730
  }
728
731
  );
729
732
  });
@@ -1016,18 +1019,19 @@ var import_react15 = require("react");
1016
1019
  var import_typed_classname17 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1017
1020
  var import_jsx_runtime18 = require("react/jsx-runtime");
1018
1021
  var Select = (0, import_react15.forwardRef)(function Select2(_a, ref) {
1019
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
1022
+ 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"]);
1020
1023
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1021
1024
  InputGroup,
1022
1025
  {
1023
- className: (0, import_typed_classname17.clsx)("hds-select"),
1026
+ className: (0, import_typed_classname17.clsx)("hds-select", className),
1024
1027
  disabled,
1025
1028
  errorMessage,
1026
1029
  id,
1027
1030
  label,
1028
1031
  labelProps,
1032
+ style,
1029
1033
  variant,
1030
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, style, children }))
1034
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
1031
1035
  }
1032
1036
  );
1033
1037
  });
@@ -1176,19 +1180,20 @@ var import_react20 = require("react");
1176
1180
  var import_typed_classname21 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
1177
1181
  var import_jsx_runtime22 = require("react/jsx-runtime");
1178
1182
  var Textarea = (0, import_react20.forwardRef)(function Textarea2(_a, ref) {
1179
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
1183
+ 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"]);
1180
1184
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1181
1185
  InputGroup,
1182
1186
  {
1183
- className: (0, import_typed_classname21.clsx)("hds-textarea"),
1187
+ className: (0, import_typed_classname21.clsx)("hds-textarea", className),
1184
1188
  disabled,
1185
1189
  errorMessage,
1186
1190
  id,
1187
1191
  label,
1188
1192
  labelProps,
1189
1193
  readOnly,
1194
+ style,
1190
1195
  variant,
1191
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
1196
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
1192
1197
  }
1193
1198
  );
1194
1199
  });
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./chunk-DOJ2ZKNV.mjs";
2
2
  import {
3
3
  Textarea
4
- } from "./chunk-SBHXDOBW.mjs";
4
+ } from "./chunk-Y2KP4RF2.mjs";
5
5
  import "./chunk-K2HIKZ7F.mjs";
6
6
  import {
7
7
  WarningBanner
@@ -9,7 +9,7 @@ import {
9
9
  import "./chunk-SX37JSDS.mjs";
10
10
  import {
11
11
  Select
12
- } from "./chunk-2Y3E37N3.mjs";
12
+ } from "./chunk-K3BGDNWO.mjs";
13
13
  import {
14
14
  TabsComponent
15
15
  } from "./chunk-WUMZCEIJ.mjs";
@@ -37,7 +37,7 @@ import "./chunk-FSBY3NKV.mjs";
37
37
  import "./chunk-PF6PZIZS.mjs";
38
38
  import {
39
39
  Input
40
- } from "./chunk-Y34HUVFV.mjs";
40
+ } from "./chunk-6KVF3ELJ.mjs";
41
41
  import "./chunk-45BJGKVZ.mjs";
42
42
  import "./chunk-QAYPCD5Z.mjs";
43
43
  import "./chunk-FJQCHTJZ.mjs";
@@ -158,6 +158,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
158
158
  var import_jsx_runtime2 = require("react/jsx-runtime");
159
159
  var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
160
160
  var _b = _a, {
161
+ className,
161
162
  variant,
162
163
  errorMessage,
163
164
  labelProps,
@@ -168,6 +169,7 @@ var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
168
169
  readOnly,
169
170
  _unstableAriaLiveOnErrorMessage
170
171
  } = _b, rest = __objRest(_b, [
172
+ "className",
171
173
  "variant",
172
174
  "errorMessage",
173
175
  "labelProps",
@@ -182,15 +184,16 @@ var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
182
184
  InputGroup,
183
185
  {
184
186
  _unstableAriaLiveOnErrorMessage,
185
- className: (0, import_typed_classname2.clsx)("hds-input"),
187
+ className: (0, import_typed_classname2.clsx)("hds-input", className),
186
188
  disabled,
187
189
  errorMessage,
188
190
  id,
189
191
  label,
190
192
  labelProps,
191
193
  readOnly,
194
+ style,
192
195
  variant,
193
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
196
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
194
197
  }
195
198
  );
196
199
  });
@@ -1,7 +1,7 @@
1
1
  import "../chunk-PF6PZIZS.mjs";
2
2
  import {
3
3
  Input
4
- } from "../chunk-Y34HUVFV.mjs";
4
+ } from "../chunk-6KVF3ELJ.mjs";
5
5
  import "../chunk-45BJGKVZ.mjs";
6
6
  import "../chunk-QAYPCD5Z.mjs";
7
7
  import "../chunk-FUJQIYOF.mjs";
@@ -151,6 +151,7 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
151
151
  var import_jsx_runtime2 = require("react/jsx-runtime");
152
152
  var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
153
153
  var _b = _a, {
154
+ className,
154
155
  variant,
155
156
  errorMessage,
156
157
  labelProps,
@@ -161,6 +162,7 @@ var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
161
162
  readOnly,
162
163
  _unstableAriaLiveOnErrorMessage
163
164
  } = _b, rest = __objRest(_b, [
165
+ "className",
164
166
  "variant",
165
167
  "errorMessage",
166
168
  "labelProps",
@@ -175,15 +177,16 @@ var Input = (0, import_react2.forwardRef)(function Input2(_a, ref) {
175
177
  InputGroup,
176
178
  {
177
179
  _unstableAriaLiveOnErrorMessage,
178
- className: (0, import_typed_classname2.clsx)("hds-input"),
180
+ className: (0, import_typed_classname2.clsx)("hds-input", className),
179
181
  disabled,
180
182
  errorMessage,
181
183
  id,
182
184
  label,
183
185
  labelProps,
184
186
  readOnly,
187
+ style,
185
188
  variant,
186
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
189
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("input", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
187
190
  }
188
191
  );
189
192
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Input
3
- } from "../chunk-Y34HUVFV.mjs";
3
+ } from "../chunk-6KVF3ELJ.mjs";
4
4
  import "../chunk-45BJGKVZ.mjs";
5
5
  import "../chunk-QAYPCD5Z.mjs";
6
6
  import "../chunk-FUJQIYOF.mjs";
@@ -157,18 +157,19 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
157
157
  // src/select/select.tsx
158
158
  var import_jsx_runtime2 = require("react/jsx-runtime");
159
159
  var Select = (0, import_react2.forwardRef)(function Select2(_a, ref) {
160
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
160
+ 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"]);
161
161
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
162
162
  InputGroup,
163
163
  {
164
- className: (0, import_typed_classname2.clsx)("hds-select"),
164
+ className: (0, import_typed_classname2.clsx)("hds-select", className),
165
165
  disabled,
166
166
  errorMessage,
167
167
  id,
168
168
  label,
169
169
  labelProps,
170
+ style,
170
171
  variant,
171
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, style, children }))
172
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
172
173
  }
173
174
  );
174
175
  });
@@ -1,7 +1,7 @@
1
1
  import "../chunk-SX37JSDS.mjs";
2
2
  import {
3
3
  Select
4
- } from "../chunk-2Y3E37N3.mjs";
4
+ } from "../chunk-K3BGDNWO.mjs";
5
5
  import "../chunk-45BJGKVZ.mjs";
6
6
  import "../chunk-QAYPCD5Z.mjs";
7
7
  import "../chunk-FUJQIYOF.mjs";
@@ -150,18 +150,19 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
150
150
  // src/select/select.tsx
151
151
  var import_jsx_runtime2 = require("react/jsx-runtime");
152
152
  var Select = (0, import_react2.forwardRef)(function Select2(_a, ref) {
153
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, children } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "children"]);
153
+ 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"]);
154
154
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
155
155
  InputGroup,
156
156
  {
157
- className: (0, import_typed_classname2.clsx)("hds-select"),
157
+ className: (0, import_typed_classname2.clsx)("hds-select", className),
158
158
  disabled,
159
159
  errorMessage,
160
160
  id,
161
161
  label,
162
162
  labelProps,
163
+ style,
163
164
  variant,
164
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, style, children }))
165
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("select", __spreadProps(__spreadValues({}, rest), { disabled, ref, children }))
165
166
  }
166
167
  );
167
168
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Select
3
- } from "../chunk-2Y3E37N3.mjs";
3
+ } from "../chunk-K3BGDNWO.mjs";
4
4
  import "../chunk-45BJGKVZ.mjs";
5
5
  import "../chunk-QAYPCD5Z.mjs";
6
6
  import "../chunk-FUJQIYOF.mjs";
@@ -157,19 +157,20 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
157
157
  // src/textarea/textarea.tsx
158
158
  var import_jsx_runtime2 = require("react/jsx-runtime");
159
159
  var Textarea = (0, import_react2.forwardRef)(function Textarea2(_a, ref) {
160
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
160
+ 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"]);
161
161
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
162
162
  InputGroup,
163
163
  {
164
- className: (0, import_typed_classname2.clsx)("hds-textarea"),
164
+ className: (0, import_typed_classname2.clsx)("hds-textarea", className),
165
165
  disabled,
166
166
  errorMessage,
167
167
  id,
168
168
  label,
169
169
  labelProps,
170
170
  readOnly,
171
+ style,
171
172
  variant,
172
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
173
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
173
174
  }
174
175
  );
175
176
  });
@@ -1,7 +1,7 @@
1
1
  import "../chunk-DOJ2ZKNV.mjs";
2
2
  import {
3
3
  Textarea
4
- } from "../chunk-SBHXDOBW.mjs";
4
+ } from "../chunk-Y2KP4RF2.mjs";
5
5
  import "../chunk-45BJGKVZ.mjs";
6
6
  import "../chunk-QAYPCD5Z.mjs";
7
7
  import "../chunk-FUJQIYOF.mjs";
@@ -150,19 +150,20 @@ var InputGroup = (0, import_react.forwardRef)(function InputGroup2(_a, ref) {
150
150
  // src/textarea/textarea.tsx
151
151
  var import_jsx_runtime2 = require("react/jsx-runtime");
152
152
  var Textarea = (0, import_react2.forwardRef)(function Textarea2(_a, ref) {
153
- var _b = _a, { variant, errorMessage, labelProps, label, id, style, disabled, readOnly } = _b, rest = __objRest(_b, ["variant", "errorMessage", "labelProps", "label", "id", "style", "disabled", "readOnly"]);
153
+ 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"]);
154
154
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
155
155
  InputGroup,
156
156
  {
157
- className: (0, import_typed_classname2.clsx)("hds-textarea"),
157
+ className: (0, import_typed_classname2.clsx)("hds-textarea", className),
158
158
  disabled,
159
159
  errorMessage,
160
160
  id,
161
161
  label,
162
162
  labelProps,
163
163
  readOnly,
164
+ style,
164
165
  variant,
165
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref, style }))
166
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("textarea", __spreadProps(__spreadValues({}, rest), { disabled, readOnly, ref }))
166
167
  }
167
168
  );
168
169
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Textarea
3
- } from "../chunk-SBHXDOBW.mjs";
3
+ } from "../chunk-Y2KP4RF2.mjs";
4
4
  import "../chunk-45BJGKVZ.mjs";
5
5
  import "../chunk-QAYPCD5Z.mjs";
6
6
  import "../chunk-FUJQIYOF.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postenbring/hedwig-react",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",