@sakura-ui/sakura-ui 0.0.15 → 0.0.16

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 (49) hide show
  1. package/package.json +3 -3
  2. package/packages/forms/dist/components/Checkbox.d.ts.map +1 -1
  3. package/packages/forms/dist/components/Radio.d.ts.map +1 -1
  4. package/packages/forms/dist/components/Select.d.ts +0 -1
  5. package/packages/forms/dist/components/Select.d.ts.map +1 -1
  6. package/packages/forms/dist/components/Text.d.ts +0 -1
  7. package/packages/forms/dist/components/Text.d.ts.map +1 -1
  8. package/packages/forms/dist/components/Textarea.d.ts +0 -1
  9. package/packages/forms/dist/components/Textarea.d.ts.map +1 -1
  10. package/packages/forms/dist/components/{CheckboxGroup.d.ts → controlled/CheckboxGroup.d.ts} +1 -1
  11. package/packages/forms/dist/components/controlled/CheckboxGroup.d.ts.map +1 -0
  12. package/packages/forms/dist/components/controlled/InputItem.d.ts.map +1 -0
  13. package/packages/forms/dist/components/{RadioGroup.d.ts → controlled/RadioGroup.d.ts} +1 -1
  14. package/packages/forms/dist/components/controlled/RadioGroup.d.ts.map +1 -0
  15. package/packages/forms/dist/components/controlled/Select.d.ts +6 -0
  16. package/packages/forms/dist/components/controlled/Select.d.ts.map +1 -0
  17. package/packages/forms/dist/components/controlled/Text.d.ts +6 -0
  18. package/packages/forms/dist/components/controlled/Text.d.ts.map +1 -0
  19. package/packages/forms/dist/components/controlled/Textarea.d.ts +6 -0
  20. package/packages/forms/dist/components/controlled/Textarea.d.ts.map +1 -0
  21. package/packages/forms/dist/components/controlled/index.d.ts +6 -0
  22. package/packages/forms/dist/components/controlled/index.d.ts.map +1 -0
  23. package/packages/forms/dist/components/index.d.ts +0 -2
  24. package/packages/forms/dist/components/index.d.ts.map +1 -1
  25. package/packages/forms/dist/index.cjs.js +19 -19
  26. package/packages/forms/dist/index.cjs.js.map +1 -1
  27. package/packages/forms/dist/index.d.ts +2 -1
  28. package/packages/forms/dist/index.d.ts.map +1 -1
  29. package/packages/forms/dist/index.es.js +261 -245
  30. package/packages/forms/dist/index.es.js.map +1 -1
  31. package/packages/forms/package.json +1 -1
  32. package/packages/forms/src/components/Checkbox.tsx +19 -12
  33. package/packages/forms/src/components/Radio.tsx +7 -5
  34. package/packages/forms/src/components/Select.tsx +4 -19
  35. package/packages/forms/src/components/Text.tsx +3 -18
  36. package/packages/forms/src/components/Textarea.tsx +3 -18
  37. package/packages/forms/src/components/{CheckboxGroup.tsx → controlled/CheckboxGroup.tsx} +8 -12
  38. package/packages/forms/src/components/{RadioGroup.tsx → controlled/RadioGroup.tsx} +7 -7
  39. package/packages/forms/src/components/controlled/Select.tsx +22 -0
  40. package/packages/forms/src/components/controlled/Text.tsx +22 -0
  41. package/packages/forms/src/components/controlled/Textarea.tsx +23 -0
  42. package/packages/forms/src/components/controlled/index.ts +5 -0
  43. package/packages/forms/src/components/index.ts +0 -2
  44. package/packages/forms/src/index.ts +6 -6
  45. package/packages/forms/dist/components/CheckboxGroup.d.ts.map +0 -1
  46. package/packages/forms/dist/components/InputItem.d.ts.map +0 -1
  47. package/packages/forms/dist/components/RadioGroup.d.ts.map +0 -1
  48. /package/packages/forms/dist/components/{InputItem.d.ts → controlled/InputItem.d.ts} +0 -0
  49. /package/packages/forms/src/components/{InputItem.ts → controlled/InputItem.ts} +0 -0
@@ -1,12 +1,12 @@
1
- import S from "react";
1
+ import j from "react";
2
2
  var a = {}, sr = {
3
3
  get exports() {
4
4
  return a;
5
5
  },
6
- set exports(u) {
7
- a = u;
6
+ set exports(s) {
7
+ a = s;
8
8
  }
9
- }, I = {};
9
+ }, $ = {};
10
10
  /**
11
11
  * @license React
12
12
  * react-jsx-runtime.production.min.js
@@ -19,20 +19,20 @@ var a = {}, sr = {
19
19
  var we;
20
20
  function lr() {
21
21
  if (we)
22
- return I;
22
+ return $;
23
23
  we = 1;
24
- var u = S, h = Symbol.for("react.element"), v = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, y = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
25
- function p(f, m, w) {
26
- var g, j = {}, P = null, Y = null;
27
- w !== void 0 && (P = "" + w), m.key !== void 0 && (P = "" + m.key), m.ref !== void 0 && (Y = m.ref);
28
- for (g in m)
29
- c.call(m, g) && !R.hasOwnProperty(g) && (j[g] = m[g]);
30
- if (f && f.defaultProps)
31
- for (g in m = f.defaultProps, m)
32
- j[g] === void 0 && (j[g] = m[g]);
33
- return { $$typeof: h, type: f, key: P, ref: Y, props: j, _owner: y.current };
24
+ var s = j, d = Symbol.for("react.element"), v = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, f = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
25
+ function R(g, m, w) {
26
+ var _, C = {}, S = null, Y = null;
27
+ w !== void 0 && (S = "" + w), m.key !== void 0 && (S = "" + m.key), m.ref !== void 0 && (Y = m.ref);
28
+ for (_ in m)
29
+ u.call(m, _) && !h.hasOwnProperty(_) && (C[_] = m[_]);
30
+ if (g && g.defaultProps)
31
+ for (_ in m = g.defaultProps, m)
32
+ C[_] === void 0 && (C[_] = m[_]);
33
+ return { $$typeof: d, type: g, key: S, ref: Y, props: C, _owner: f.current };
34
34
  }
35
- return I.Fragment = v, I.jsx = p, I.jsxs = p, I;
35
+ return $.Fragment = v, $.jsx = R, $.jsxs = R, $;
36
36
  }
37
37
  var W = {};
38
38
  /**
@@ -45,17 +45,17 @@ var W = {};
45
45
  * LICENSE file in the root directory of this source tree.
46
46
  */
47
47
  var je;
48
- function ur() {
48
+ function cr() {
49
49
  return je || (je = 1, process.env.NODE_ENV !== "production" && function() {
50
- var u = S, h = Symbol.for("react.element"), v = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), f = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), Q = Symbol.iterator, Te = "@@iterator";
50
+ var s = j, d = Symbol.for("react.element"), v = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), R = Symbol.for("react.provider"), g = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), Q = Symbol.iterator, Te = "@@iterator";
51
51
  function Ce(e) {
52
52
  if (e === null || typeof e != "object")
53
53
  return null;
54
54
  var r = Q && e[Q] || e[Te];
55
55
  return typeof r == "function" ? r : null;
56
56
  }
57
- var k = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
- function E(e) {
57
+ var N = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
+ function y(e) {
59
59
  {
60
60
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
61
61
  t[n - 1] = arguments[n];
@@ -64,18 +64,18 @@ function ur() {
64
64
  }
65
65
  function Pe(e, r, t) {
66
66
  {
67
- var n = k.ReactDebugCurrentFrame, s = n.getStackAddendum();
68
- s !== "" && (r += "%s", t = t.concat([s]));
69
- var l = t.map(function(i) {
67
+ var n = N.ReactDebugCurrentFrame, l = n.getStackAddendum();
68
+ l !== "" && (r += "%s", t = t.concat([l]));
69
+ var c = t.map(function(i) {
70
70
  return String(i);
71
71
  });
72
- l.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, l);
72
+ c.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, c);
73
73
  }
74
74
  }
75
75
  var Oe = !1, Se = !1, ke = !1, Ne = !1, Fe = !1, ee;
76
76
  ee = Symbol.for("react.module.reference");
77
77
  function De(e) {
78
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === R || Fe || e === y || e === w || e === g || Ne || e === Y || Oe || Se || ke || typeof e == "object" && e !== null && (e.$$typeof === P || e.$$typeof === j || e.$$typeof === p || e.$$typeof === f || e.$$typeof === m || // This needs to include all possible module reference object
78
+ return !!(typeof e == "string" || typeof e == "function" || e === u || e === h || Fe || e === f || e === w || e === _ || Ne || e === Y || Oe || Se || ke || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === C || e.$$typeof === R || e.$$typeof === g || e.$$typeof === m || // This needs to include all possible module reference object
79
79
  // types supported by any Flight configuration anywhere since
80
80
  // we don't know which Flight build this will end up being used
81
81
  // with.
@@ -85,50 +85,50 @@ function ur() {
85
85
  var n = e.displayName;
86
86
  if (n)
87
87
  return n;
88
- var s = r.displayName || r.name || "";
89
- return s !== "" ? t + "(" + s + ")" : t;
88
+ var l = r.displayName || r.name || "";
89
+ return l !== "" ? t + "(" + l + ")" : t;
90
90
  }
91
91
  function re(e) {
92
92
  return e.displayName || "Context";
93
93
  }
94
- function T(e) {
94
+ function P(e) {
95
95
  if (e == null)
96
96
  return null;
97
- if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
97
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
98
98
  return e.displayName || e.name || null;
99
99
  if (typeof e == "string")
100
100
  return e;
101
101
  switch (e) {
102
- case c:
102
+ case u:
103
103
  return "Fragment";
104
104
  case v:
105
105
  return "Portal";
106
- case R:
106
+ case h:
107
107
  return "Profiler";
108
- case y:
108
+ case f:
109
109
  return "StrictMode";
110
110
  case w:
111
111
  return "Suspense";
112
- case g:
112
+ case _:
113
113
  return "SuspenseList";
114
114
  }
115
115
  if (typeof e == "object")
116
116
  switch (e.$$typeof) {
117
- case f:
117
+ case g:
118
118
  var r = e;
119
119
  return re(r) + ".Consumer";
120
- case p:
120
+ case R:
121
121
  var t = e;
122
122
  return re(t._context) + ".Provider";
123
123
  case m:
124
124
  return Ae(e, e.render, "ForwardRef");
125
- case j:
125
+ case C:
126
126
  var n = e.displayName || null;
127
- return n !== null ? n : T(e.type) || "Memo";
128
- case P: {
129
- var s = e, l = s._payload, i = s._init;
127
+ return n !== null ? n : P(e.type) || "Memo";
128
+ case S: {
129
+ var l = e, c = l._payload, i = l._init;
130
130
  try {
131
- return T(i(l));
131
+ return P(i(c));
132
132
  } catch {
133
133
  return null;
134
134
  }
@@ -136,18 +136,18 @@ function ur() {
136
136
  }
137
137
  return null;
138
138
  }
139
- var O = Object.assign, D = 0, te, ne, ae, oe, ie, se, le;
140
- function ue() {
139
+ var k = Object.assign, A = 0, te, ne, ae, oe, ie, se, le;
140
+ function ce() {
141
141
  }
142
- ue.__reactDisabledLog = !0;
142
+ ce.__reactDisabledLog = !0;
143
143
  function Ie() {
144
144
  {
145
- if (D === 0) {
145
+ if (A === 0) {
146
146
  te = console.log, ne = console.info, ae = console.warn, oe = console.error, ie = console.group, se = console.groupCollapsed, le = console.groupEnd;
147
147
  var e = {
148
148
  configurable: !0,
149
149
  enumerable: !0,
150
- value: ue,
150
+ value: ce,
151
151
  writable: !0
152
152
  };
153
153
  Object.defineProperties(console, {
@@ -160,52 +160,52 @@ function ur() {
160
160
  groupEnd: e
161
161
  });
162
162
  }
163
- D++;
163
+ A++;
164
164
  }
165
165
  }
166
- function We() {
166
+ function $e() {
167
167
  {
168
- if (D--, D === 0) {
168
+ if (A--, A === 0) {
169
169
  var e = {
170
170
  configurable: !0,
171
171
  enumerable: !0,
172
172
  writable: !0
173
173
  };
174
174
  Object.defineProperties(console, {
175
- log: O({}, e, {
175
+ log: k({}, e, {
176
176
  value: te
177
177
  }),
178
- info: O({}, e, {
178
+ info: k({}, e, {
179
179
  value: ne
180
180
  }),
181
- warn: O({}, e, {
181
+ warn: k({}, e, {
182
182
  value: ae
183
183
  }),
184
- error: O({}, e, {
184
+ error: k({}, e, {
185
185
  value: oe
186
186
  }),
187
- group: O({}, e, {
187
+ group: k({}, e, {
188
188
  value: ie
189
189
  }),
190
- groupCollapsed: O({}, e, {
190
+ groupCollapsed: k({}, e, {
191
191
  value: se
192
192
  }),
193
- groupEnd: O({}, e, {
193
+ groupEnd: k({}, e, {
194
194
  value: le
195
195
  })
196
196
  });
197
197
  }
198
- D < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
198
+ A < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
199
199
  }
200
200
  }
201
- var G = k.ReactCurrentDispatcher, q;
201
+ var G = N.ReactCurrentDispatcher, q;
202
202
  function M(e, r, t) {
203
203
  {
204
204
  if (q === void 0)
205
205
  try {
206
206
  throw Error();
207
- } catch (s) {
208
- var n = s.stack.trim().match(/\n( *(at )?)/);
207
+ } catch (l) {
208
+ var n = l.stack.trim().match(/\n( *(at )?)/);
209
209
  q = n && n[1] || "";
210
210
  }
211
211
  return `
@@ -214,10 +214,10 @@ function ur() {
214
214
  }
215
215
  var J = !1, L;
216
216
  {
217
- var $e = typeof WeakMap == "function" ? WeakMap : Map;
218
- L = new $e();
217
+ var We = typeof WeakMap == "function" ? WeakMap : Map;
218
+ L = new We();
219
219
  }
220
- function ce(e, r) {
220
+ function ue(e, r) {
221
221
  if (!e || J)
222
222
  return "";
223
223
  {
@@ -227,10 +227,10 @@ function ur() {
227
227
  }
228
228
  var n;
229
229
  J = !0;
230
- var s = Error.prepareStackTrace;
230
+ var l = Error.prepareStackTrace;
231
231
  Error.prepareStackTrace = void 0;
232
- var l;
233
- l = G.current, G.current = null, Ie();
232
+ var c;
233
+ c = G.current, G.current = null, Ie();
234
234
  try {
235
235
  if (r) {
236
236
  var i = function() {
@@ -243,53 +243,53 @@ function ur() {
243
243
  }), typeof Reflect == "object" && Reflect.construct) {
244
244
  try {
245
245
  Reflect.construct(i, []);
246
- } catch (C) {
247
- n = C;
246
+ } catch (O) {
247
+ n = O;
248
248
  }
249
249
  Reflect.construct(e, [], i);
250
250
  } else {
251
251
  try {
252
252
  i.call();
253
- } catch (C) {
254
- n = C;
253
+ } catch (O) {
254
+ n = O;
255
255
  }
256
256
  e.call(i.prototype);
257
257
  }
258
258
  } else {
259
259
  try {
260
260
  throw Error();
261
- } catch (C) {
262
- n = C;
261
+ } catch (O) {
262
+ n = O;
263
263
  }
264
264
  e();
265
265
  }
266
- } catch (C) {
267
- if (C && n && typeof C.stack == "string") {
268
- for (var o = C.stack.split(`
266
+ } catch (O) {
267
+ if (O && n && typeof O.stack == "string") {
268
+ for (var o = O.stack.split(`
269
269
  `), x = n.stack.split(`
270
- `), d = o.length - 1, b = x.length - 1; d >= 1 && b >= 0 && o[d] !== x[b]; )
270
+ `), p = o.length - 1, b = x.length - 1; p >= 1 && b >= 0 && o[p] !== x[b]; )
271
271
  b--;
272
- for (; d >= 1 && b >= 0; d--, b--)
273
- if (o[d] !== x[b]) {
274
- if (d !== 1 || b !== 1)
272
+ for (; p >= 1 && b >= 0; p--, b--)
273
+ if (o[p] !== x[b]) {
274
+ if (p !== 1 || b !== 1)
275
275
  do
276
- if (d--, b--, b < 0 || o[d] !== x[b]) {
277
- var _ = `
278
- ` + o[d].replace(" at new ", " at ");
279
- return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, _), _;
276
+ if (p--, b--, b < 0 || o[p] !== x[b]) {
277
+ var E = `
278
+ ` + o[p].replace(" at new ", " at ");
279
+ return e.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, E), E;
280
280
  }
281
- while (d >= 1 && b >= 0);
281
+ while (p >= 1 && b >= 0);
282
282
  break;
283
283
  }
284
284
  }
285
285
  } finally {
286
- J = !1, G.current = l, We(), Error.prepareStackTrace = s;
286
+ J = !1, G.current = c, $e(), Error.prepareStackTrace = l;
287
287
  }
288
- var F = e ? e.displayName || e.name : "", _e = F ? M(F) : "";
289
- return typeof e == "function" && L.set(e, _e), _e;
288
+ var D = e ? e.displayName || e.name : "", Ee = D ? M(D) : "";
289
+ return typeof e == "function" && L.set(e, Ee), Ee;
290
290
  }
291
291
  function Ye(e, r, t) {
292
- return ce(e, !1);
292
+ return ue(e, !1);
293
293
  }
294
294
  function Me(e) {
295
295
  var r = e.prototype;
@@ -299,32 +299,32 @@ function ur() {
299
299
  if (e == null)
300
300
  return "";
301
301
  if (typeof e == "function")
302
- return ce(e, Me(e));
302
+ return ue(e, Me(e));
303
303
  if (typeof e == "string")
304
304
  return M(e);
305
305
  switch (e) {
306
306
  case w:
307
307
  return M("Suspense");
308
- case g:
308
+ case _:
309
309
  return M("SuspenseList");
310
310
  }
311
311
  if (typeof e == "object")
312
312
  switch (e.$$typeof) {
313
313
  case m:
314
314
  return Ye(e.render);
315
- case j:
315
+ case C:
316
316
  return V(e.type, r, t);
317
- case P: {
318
- var n = e, s = n._payload, l = n._init;
317
+ case S: {
318
+ var n = e, l = n._payload, c = n._init;
319
319
  try {
320
- return V(l(s), r, t);
320
+ return V(c(l), r, t);
321
321
  } catch {
322
322
  }
323
323
  }
324
324
  }
325
325
  return "";
326
326
  }
327
- var U = Object.prototype.hasOwnProperty, fe = {}, de = k.ReactDebugCurrentFrame;
327
+ var U = Object.prototype.hasOwnProperty, fe = {}, de = N.ReactDebugCurrentFrame;
328
328
  function B(e) {
329
329
  if (e) {
330
330
  var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
@@ -332,11 +332,11 @@ function ur() {
332
332
  } else
333
333
  de.setExtraStackFrame(null);
334
334
  }
335
- function Le(e, r, t, n, s) {
335
+ function Le(e, r, t, n, l) {
336
336
  {
337
- var l = Function.call.bind(U);
337
+ var c = Function.call.bind(U);
338
338
  for (var i in e)
339
- if (l(e, i)) {
339
+ if (c(e, i)) {
340
340
  var o = void 0;
341
341
  try {
342
342
  if (typeof e[i] != "function") {
@@ -344,10 +344,10 @@ function ur() {
344
344
  throw x.name = "Invariant Violation", x;
345
345
  }
346
346
  o = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
347
- } catch (d) {
348
- o = d;
347
+ } catch (p) {
348
+ o = p;
349
349
  }
350
- o && !(o instanceof Error) && (B(s), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof o), B(null)), o instanceof Error && !(o.message in fe) && (fe[o.message] = !0, B(s), E("Failed %s type: %s", t, o.message), B(null));
350
+ o && !(o instanceof Error) && (B(l), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof o), B(null)), o instanceof Error && !(o.message in fe) && (fe[o.message] = !0, B(l), y("Failed %s type: %s", t, o.message), B(null));
351
351
  }
352
352
  }
353
353
  }
@@ -373,14 +373,14 @@ function ur() {
373
373
  }
374
374
  function pe(e) {
375
375
  if (Be(e))
376
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ue(e)), ve(e);
376
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ue(e)), ve(e);
377
377
  }
378
- var A = k.ReactCurrentOwner, Ge = {
378
+ var I = N.ReactCurrentOwner, Ge = {
379
379
  key: !0,
380
380
  ref: !0,
381
381
  __self: !0,
382
382
  __source: !0
383
- }, be, he, K;
383
+ }, be, me, K;
384
384
  K = {};
385
385
  function qe(e) {
386
386
  if (U.call(e, "ref")) {
@@ -399,15 +399,15 @@ function ur() {
399
399
  return e.key !== void 0;
400
400
  }
401
401
  function ze(e, r) {
402
- if (typeof e.ref == "string" && A.current && r && A.current.stateNode !== r) {
403
- var t = T(A.current.type);
404
- K[t] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(A.current.type), e.ref), K[t] = !0);
402
+ if (typeof e.ref == "string" && I.current && r && I.current.stateNode !== r) {
403
+ var t = P(I.current.type);
404
+ K[t] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(I.current.type), e.ref), K[t] = !0);
405
405
  }
406
406
  }
407
407
  function Ke(e, r) {
408
408
  {
409
409
  var t = function() {
410
- be || (be = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
410
+ be || (be = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
411
411
  };
412
412
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
413
413
  get: t,
@@ -418,7 +418,7 @@ function ur() {
418
418
  function He(e, r) {
419
419
  {
420
420
  var t = function() {
421
- he || (he = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
421
+ me || (me = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
422
422
  };
423
423
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
424
424
  get: t,
@@ -426,17 +426,17 @@ function ur() {
426
426
  });
427
427
  }
428
428
  }
429
- var Xe = function(e, r, t, n, s, l, i) {
429
+ var Xe = function(e, r, t, n, l, c, i) {
430
430
  var o = {
431
431
  // This tag allows us to uniquely identify this as a React Element
432
- $$typeof: h,
432
+ $$typeof: d,
433
433
  // Built-in properties that belong on the element
434
434
  type: e,
435
435
  key: r,
436
436
  ref: t,
437
437
  props: i,
438
438
  // Record the component responsible for creating this element.
439
- _owner: l
439
+ _owner: c
440
440
  };
441
441
  return o._store = {}, Object.defineProperty(o._store, "validated", {
442
442
  configurable: !1,
@@ -452,44 +452,44 @@ function ur() {
452
452
  configurable: !1,
453
453
  enumerable: !1,
454
454
  writable: !1,
455
- value: s
455
+ value: l
456
456
  }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
457
457
  };
458
- function Ze(e, r, t, n, s) {
458
+ function Ze(e, r, t, n, l) {
459
459
  {
460
- var l, i = {}, o = null, x = null;
461
- t !== void 0 && (pe(t), o = "" + t), Je(r) && (pe(r.key), o = "" + r.key), qe(r) && (x = r.ref, ze(r, s));
462
- for (l in r)
463
- U.call(r, l) && !Ge.hasOwnProperty(l) && (i[l] = r[l]);
460
+ var c, i = {}, o = null, x = null;
461
+ t !== void 0 && (pe(t), o = "" + t), Je(r) && (pe(r.key), o = "" + r.key), qe(r) && (x = r.ref, ze(r, l));
462
+ for (c in r)
463
+ U.call(r, c) && !Ge.hasOwnProperty(c) && (i[c] = r[c]);
464
464
  if (e && e.defaultProps) {
465
- var d = e.defaultProps;
466
- for (l in d)
467
- i[l] === void 0 && (i[l] = d[l]);
465
+ var p = e.defaultProps;
466
+ for (c in p)
467
+ i[c] === void 0 && (i[c] = p[c]);
468
468
  }
469
469
  if (o || x) {
470
470
  var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
471
471
  o && Ke(i, b), x && He(i, b);
472
472
  }
473
- return Xe(e, o, x, s, n, A.current, i);
473
+ return Xe(e, o, x, l, n, I.current, i);
474
474
  }
475
475
  }
476
- var H = k.ReactCurrentOwner, me = k.ReactDebugCurrentFrame;
477
- function N(e) {
476
+ var H = N.ReactCurrentOwner, he = N.ReactDebugCurrentFrame;
477
+ function F(e) {
478
478
  if (e) {
479
479
  var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
480
- me.setExtraStackFrame(t);
480
+ he.setExtraStackFrame(t);
481
481
  } else
482
- me.setExtraStackFrame(null);
482
+ he.setExtraStackFrame(null);
483
483
  }
484
484
  var X;
485
485
  X = !1;
486
486
  function Z(e) {
487
- return typeof e == "object" && e !== null && e.$$typeof === h;
487
+ return typeof e == "object" && e !== null && e.$$typeof === d;
488
488
  }
489
489
  function ge() {
490
490
  {
491
491
  if (H.current) {
492
- var e = T(H.current.type);
492
+ var e = P(H.current.type);
493
493
  if (e)
494
494
  return `
495
495
 
@@ -522,7 +522,7 @@ Check the top-level render call using <` + t + ">.");
522
522
  return r;
523
523
  }
524
524
  }
525
- function Re(e, r) {
525
+ function xe(e, r) {
526
526
  {
527
527
  if (!e._store || e._store.validated || e.key != null)
528
528
  return;
@@ -532,25 +532,25 @@ Check the top-level render call using <` + t + ">.");
532
532
  return;
533
533
  ye[t] = !0;
534
534
  var n = "";
535
- e && e._owner && e._owner !== H.current && (n = " It was passed a child from " + T(e._owner.type) + "."), N(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), N(null);
535
+ e && e._owner && e._owner !== H.current && (n = " It was passed a child from " + P(e._owner.type) + "."), F(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), F(null);
536
536
  }
537
537
  }
538
- function Ee(e, r) {
538
+ function Re(e, r) {
539
539
  {
540
540
  if (typeof e != "object")
541
541
  return;
542
542
  if (z(e))
543
543
  for (var t = 0; t < e.length; t++) {
544
544
  var n = e[t];
545
- Z(n) && Re(n, r);
545
+ Z(n) && xe(n, r);
546
546
  }
547
547
  else if (Z(e))
548
548
  e._store && (e._store.validated = !0);
549
549
  else if (e) {
550
- var s = Ce(e);
551
- if (typeof s == "function" && s !== e.entries)
552
- for (var l = s.call(e), i; !(i = l.next()).done; )
553
- Z(i.value) && Re(i.value, r);
550
+ var l = Ce(e);
551
+ if (typeof l == "function" && l !== e.entries)
552
+ for (var c = l.call(e), i; !(i = c.next()).done; )
553
+ Z(i.value) && xe(i.value, r);
554
554
  }
555
555
  }
556
556
  }
@@ -564,19 +564,19 @@ Check the top-level render call using <` + t + ">.");
564
564
  t = r.propTypes;
565
565
  else if (typeof r == "object" && (r.$$typeof === m || // Note: Memo only checks outer props here.
566
566
  // Inner props are checked in the reconciler.
567
- r.$$typeof === j))
567
+ r.$$typeof === C))
568
568
  t = r.propTypes;
569
569
  else
570
570
  return;
571
571
  if (t) {
572
- var n = T(r);
572
+ var n = P(r);
573
573
  Le(t, e.props, "prop", n, e);
574
574
  } else if (r.PropTypes !== void 0 && !X) {
575
575
  X = !0;
576
- var s = T(r);
577
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
576
+ var l = P(r);
577
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
578
578
  }
579
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
579
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
580
580
  }
581
581
  }
582
582
  function tr(e) {
@@ -584,68 +584,68 @@ Check the top-level render call using <` + t + ">.");
584
584
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
585
585
  var n = r[t];
586
586
  if (n !== "children" && n !== "key") {
587
- N(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), N(null);
587
+ F(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), F(null);
588
588
  break;
589
589
  }
590
590
  }
591
- e.ref !== null && (N(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
591
+ e.ref !== null && (F(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
592
592
  }
593
593
  }
594
- function xe(e, r, t, n, s, l) {
594
+ function _e(e, r, t, n, l, c) {
595
595
  {
596
596
  var i = De(e);
597
597
  if (!i) {
598
598
  var o = "";
599
599
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
600
- var x = Qe(s);
600
+ var x = Qe(l);
601
601
  x ? o += x : o += ge();
602
- var d;
603
- e === null ? d = "null" : z(e) ? d = "array" : e !== void 0 && e.$$typeof === h ? (d = "<" + (T(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, o);
602
+ var p;
603
+ e === null ? p = "null" : z(e) ? p = "array" : e !== void 0 && e.$$typeof === d ? (p = "<" + (P(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : p = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p, o);
604
604
  }
605
- var b = Ze(e, r, t, s, l);
605
+ var b = Ze(e, r, t, l, c);
606
606
  if (b == null)
607
607
  return b;
608
608
  if (i) {
609
- var _ = r.children;
610
- if (_ !== void 0)
609
+ var E = r.children;
610
+ if (E !== void 0)
611
611
  if (n)
612
- if (z(_)) {
613
- for (var F = 0; F < _.length; F++)
614
- Ee(_[F], e);
615
- Object.freeze && Object.freeze(_);
612
+ if (z(E)) {
613
+ for (var D = 0; D < E.length; D++)
614
+ Re(E[D], e);
615
+ Object.freeze && Object.freeze(E);
616
616
  } else
617
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
617
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
618
618
  else
619
- Ee(_, e);
619
+ Re(E, e);
620
620
  }
621
- return e === c ? tr(b) : rr(b), b;
621
+ return e === u ? tr(b) : rr(b), b;
622
622
  }
623
623
  }
624
624
  function nr(e, r, t) {
625
- return xe(e, r, t, !0);
625
+ return _e(e, r, t, !0);
626
626
  }
627
627
  function ar(e, r, t) {
628
- return xe(e, r, t, !1);
628
+ return _e(e, r, t, !1);
629
629
  }
630
630
  var or = ar, ir = nr;
631
- W.Fragment = c, W.jsx = or, W.jsxs = ir;
631
+ W.Fragment = u, W.jsx = or, W.jsxs = ir;
632
632
  }()), W;
633
633
  }
634
- (function(u) {
635
- process.env.NODE_ENV === "production" ? u.exports = lr() : u.exports = ur();
634
+ (function(s) {
635
+ process.env.NODE_ENV === "production" ? s.exports = lr() : s.exports = cr();
636
636
  })(sr);
637
- const $ = (...u) => u.filter(Boolean).join(" "), cr = S.forwardRef(
638
- (u, h) => {
639
- const { className: v, children: c, ...y } = u, R = `
637
+ const T = (...s) => s.filter(Boolean).join(" "), ur = j.forwardRef(
638
+ (s, d) => {
639
+ const { className: v, children: u, ...f } = s, h = `
640
640
  flex
641
641
  items-center
642
642
  text-sm
643
643
  cursor-pointer
644
644
  py-2
645
- `, p = `
645
+ `, R = `
646
646
  hidden
647
647
  peer
648
- `, f = `
648
+ `, g = `
649
649
  inline-block
650
650
  bg-clip-content
651
651
  w-6 h-6
@@ -658,44 +658,37 @@ const $ = (...u) => u.filter(Boolean).join(" "), cr = S.forwardRef(
658
658
  peer-checked:bg-sea-600
659
659
  peer-checked:border-none
660
660
  `;
661
- return /* @__PURE__ */ a.jsxs("label", { htmlFor: y.id, className: $(R, v), children: [
662
- /* @__PURE__ */ a.jsx("input", { className: p, type: "checkbox", ...y, ref: h }),
663
- /* @__PURE__ */ a.jsx("span", { className: f, children: /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", children: /* @__PURE__ */ a.jsx(
661
+ return /* @__PURE__ */ a.jsx("div", { className: "inline-block", children: /* @__PURE__ */ a.jsxs("label", { htmlFor: f.id, className: T(h, v), children: [
662
+ /* @__PURE__ */ a.jsx(
663
+ "input",
664
+ {
665
+ className: R,
666
+ type: "checkbox",
667
+ ...f,
668
+ ref: d
669
+ }
670
+ ),
671
+ /* @__PURE__ */ a.jsx("span", { className: g, children: /* @__PURE__ */ a.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", children: /* @__PURE__ */ a.jsx(
664
672
  "path",
665
673
  {
666
674
  fill: "#fff",
667
675
  d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z"
668
676
  }
669
677
  ) }) }),
670
- c
671
- ] });
678
+ u
679
+ ] }) });
672
680
  }
673
- ), vr = (u) => {
674
- const { items: h, onChange: v, label: c, className: y, children: R, ...p } = u, f = "checkbox group " + Math.random() * 1e5;
675
- return /* @__PURE__ */ a.jsxs("fieldset", { ...p, children: [
676
- c && /* @__PURE__ */ a.jsx("legend", { children: c }),
677
- h.map(({ label: m, value: w }, g) => /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsx(
678
- cr,
679
- {
680
- className: "",
681
- name: f,
682
- value: w,
683
- onChange: v,
684
- children: m
685
- }
686
- ) }, g))
687
- ] });
688
- }, fr = S.forwardRef((u, h) => {
689
- const { className: v, children: c, ...y } = u, R = `
681
+ ), fr = j.forwardRef((s, d) => {
682
+ const { className: v, children: u, ...f } = s, h = `
690
683
  flex
691
684
  items-center
692
685
  text-sm
693
686
  cursor-pointer
694
687
  py-2
695
- `, p = `
688
+ `, R = `
696
689
  hidden
697
690
  peer
698
- `, f = `
691
+ `, g = `
699
692
  inline-block
700
693
  bg-clip-content
701
694
  w-6 h-6
@@ -709,30 +702,14 @@ const $ = (...u) => u.filter(Boolean).join(" "), cr = S.forwardRef(
709
702
  peer-checked:bg-sea-600
710
703
  peer-checked:border-sea-600
711
704
  `;
712
- return /* @__PURE__ */ a.jsxs("label", { htmlFor: y.id, className: $(R, v), children: [
713
- /* @__PURE__ */ a.jsx("input", { className: p, type: "radio", ...y, ref: h }),
714
- /* @__PURE__ */ a.jsx("span", { className: f }),
715
- c
716
- ] });
717
- }), pr = (u) => {
718
- const { items: h, onChange: v, label: c, className: y, children: R, ...p } = u, f = "radio group " + Math.random() * 1e5;
719
- return /* @__PURE__ */ a.jsxs("fieldset", { ...p, children: [
720
- c && /* @__PURE__ */ a.jsx("legend", { children: c }),
721
- h.map(({ label: m, value: w }, g) => /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsx(
722
- fr,
723
- {
724
- className: "",
725
- name: f,
726
- value: w,
727
- onChange: v,
728
- defaultChecked: g === 0,
729
- children: m
730
- }
731
- ) }, g))
732
- ] });
733
- }, br = S.forwardRef(
734
- (u, h) => {
735
- const { label: v, className: c, children: y, ...R } = u, p = `
705
+ return /* @__PURE__ */ a.jsx("div", { className: "inline-block", children: /* @__PURE__ */ a.jsxs("label", { htmlFor: f.id, className: T(h, v), children: [
706
+ /* @__PURE__ */ a.jsx("input", { className: R, type: "radio", ...f, ref: d }),
707
+ /* @__PURE__ */ a.jsx("span", { className: g }),
708
+ u
709
+ ] }) });
710
+ }), dr = j.forwardRef(
711
+ (s, d) => {
712
+ const { className: v, children: u, ...f } = s, h = `
736
713
  appearance-none
737
714
  text-base
738
715
  w-full
@@ -745,8 +722,9 @@ const $ = (...u) => u.filter(Boolean).join(" "), cr = S.forwardRef(
745
722
  focus:outline
746
723
  focus:outline-2
747
724
  focus:outline-wood-500
748
- `, f = /* @__PURE__ */ a.jsxs("div", { className: "inline-block relative", children: [
749
- /* @__PURE__ */ a.jsx("select", { className: $(p, u.className), ...R, ref: h, children: u.children }),
725
+ `;
726
+ return /* @__PURE__ */ a.jsxs("div", { className: "inline-block relative", children: [
727
+ /* @__PURE__ */ a.jsx("select", { className: T(h, s.className), ...f, ref: d, children: u }),
750
728
  /* @__PURE__ */ a.jsx("div", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2", children: /* @__PURE__ */ a.jsx(
751
729
  "svg",
752
730
  {
@@ -758,14 +736,10 @@ const $ = (...u) => u.filter(Boolean).join(" "), cr = S.forwardRef(
758
736
  }
759
737
  ) })
760
738
  ] });
761
- return /* @__PURE__ */ a.jsx(a.Fragment, { children: v ? /* @__PURE__ */ a.jsxs("label", { children: [
762
- /* @__PURE__ */ a.jsx("span", { className: "block mb-2", children: v }),
763
- f
764
- ] }) : f });
765
739
  }
766
- ), hr = S.forwardRef(
767
- (u, h) => {
768
- const { label: v, className: c, ...y } = u, R = `
740
+ ), vr = j.forwardRef(
741
+ (s, d) => {
742
+ const { className: v, ...u } = s, f = `
769
743
  p-4
770
744
  rounded-lg
771
745
  border
@@ -779,23 +753,20 @@ const $ = (...u) => u.filter(Boolean).join(" "), cr = S.forwardRef(
779
753
  disabled:border
780
754
  disabled:border-solid
781
755
  disabled:border-sumi-500
782
- `, p = /* @__PURE__ */ a.jsx(
756
+ `;
757
+ return /* @__PURE__ */ a.jsx(
783
758
  "input",
784
759
  {
785
760
  type: "text",
786
- className: $(R, c),
787
- ...y,
788
- ref: h
761
+ className: T(f, v),
762
+ ...u,
763
+ ref: d
789
764
  }
790
765
  );
791
- return /* @__PURE__ */ a.jsx(a.Fragment, { children: v ? /* @__PURE__ */ a.jsxs("label", { children: [
792
- /* @__PURE__ */ a.jsx("div", { className: "mb-2", children: v }),
793
- p
794
- ] }) : p });
795
766
  }
796
- ), mr = S.forwardRef(
797
- (u, h) => {
798
- const { label: v, className: c, children: y, ...R } = u, p = `
767
+ ), pr = j.forwardRef(
768
+ (s, d) => {
769
+ const { className: v, children: u, ...f } = s, h = `
799
770
  p-4
800
771
  rounded-lg
801
772
  border
@@ -809,20 +780,65 @@ const $ = (...u) => u.filter(Boolean).join(" "), cr = S.forwardRef(
809
780
  disabled:border
810
781
  disabled:border-solid
811
782
  disabled:border-sumi-500
812
- `, f = /* @__PURE__ */ a.jsx("textarea", { className: $(p, c), ...R, ref: h, children: y });
813
- return /* @__PURE__ */ a.jsx(a.Fragment, { children: v ? /* @__PURE__ */ a.jsxs("label", { children: [
814
- /* @__PURE__ */ a.jsx("div", { className: "mb-2", children: v }),
815
- f
816
- ] }) : f });
783
+ `;
784
+ return /* @__PURE__ */ a.jsx("textarea", { className: T(h, v), ...f, ref: d, children: u });
785
+ }
786
+ ), mr = (s) => {
787
+ const { items: d, onChange: v, label: u, className: f, ...h } = s, R = `checkbox_group_${Math.random()}`;
788
+ return /* @__PURE__ */ a.jsxs("fieldset", { className: T("mb-4", f), ...h, children: [
789
+ /* @__PURE__ */ a.jsx("legend", { children: u }),
790
+ d.map(({ label: g, value: m }, w) => /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsx(ur, { name: R, value: m, onChange: v, children: g }) }, w))
791
+ ] });
792
+ }, hr = (s) => {
793
+ const { items: d, onChange: v, label: u, className: f, ...h } = s, R = `radio_group_${Math.random()}`;
794
+ return /* @__PURE__ */ a.jsxs("fieldset", { className: T("mb-4", f), ...h, children: [
795
+ /* @__PURE__ */ a.jsx("legend", { children: u }),
796
+ d.map(({ label: g, value: m }, w) => /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsx(
797
+ fr,
798
+ {
799
+ name: R,
800
+ value: m,
801
+ onChange: v,
802
+ defaultChecked: w === 0,
803
+ children: g
804
+ }
805
+ ) }, w))
806
+ ] });
807
+ }, gr = j.forwardRef(
808
+ (s, d) => {
809
+ const { label: v, className: u, ...f } = s;
810
+ return /* @__PURE__ */ a.jsx("div", { className: T("mb-4", u), children: /* @__PURE__ */ a.jsxs("label", { children: [
811
+ /* @__PURE__ */ a.jsx("div", { className: "block mb-2", children: v }),
812
+ /* @__PURE__ */ a.jsx(dr, { ref: d, ...f })
813
+ ] }) });
814
+ }
815
+ ), yr = j.forwardRef(
816
+ (s, d) => {
817
+ const { label: v, className: u, ...f } = s;
818
+ return /* @__PURE__ */ a.jsx("div", { className: T("mb-4", u), children: /* @__PURE__ */ a.jsxs("label", { children: [
819
+ /* @__PURE__ */ a.jsx("div", { className: "block mb-2", children: v }),
820
+ /* @__PURE__ */ a.jsx(vr, { ref: d, ...f })
821
+ ] }) });
822
+ }
823
+ ), xr = j.forwardRef(
824
+ (s, d) => {
825
+ const { label: v, className: u, ...f } = s;
826
+ return /* @__PURE__ */ a.jsx("div", { className: T("mb-4", u), children: /* @__PURE__ */ a.jsxs("label", { children: [
827
+ /* @__PURE__ */ a.jsx("div", { className: "block mb-2", children: v }),
828
+ /* @__PURE__ */ a.jsx(pr, { ref: d, ...f })
829
+ ] }) });
817
830
  }
818
831
  );
819
832
  export {
820
- cr as Checkbox,
821
- vr as CheckboxGroup,
833
+ ur as Checkbox,
834
+ mr as CheckboxGroup,
822
835
  fr as Radio,
823
- pr as RadioGroup,
824
- br as Select,
825
- hr as Text,
826
- mr as Textarea
836
+ hr as RadioGroup,
837
+ dr as Select,
838
+ gr as SelectControl,
839
+ vr as Text,
840
+ yr as TextControl,
841
+ pr as Textarea,
842
+ xr as TextareaControl
827
843
  };
828
844
  //# sourceMappingURL=index.es.js.map