@dss-kit/ui-kit 0.0.21 → 0.0.22

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 (32) hide show
  1. package/dist/components/controls/IconButton/IconButton.types.d.ts.map +1 -1
  2. package/dist/components/shared/Hint/Hint.d.ts +31 -0
  3. package/dist/components/shared/Hint/Hint.d.ts.map +1 -0
  4. package/dist/components/shared/Hint/Hint.stories.d.ts +28 -0
  5. package/dist/components/shared/Hint/Hint.stories.d.ts.map +1 -0
  6. package/dist/components/shared/Hint/index.d.ts +2 -0
  7. package/dist/components/shared/Hint/index.d.ts.map +1 -0
  8. package/dist/components/shared/index.d.ts +1 -0
  9. package/dist/components/shared/index.d.ts.map +1 -1
  10. package/dist/components/typography/Text/Text.d.ts.map +1 -1
  11. package/dist/components/typography/Text/Text.types.d.ts.map +1 -1
  12. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts +1 -1
  13. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts.map +1 -1
  14. package/dist/root.css +1 -1
  15. package/dist/ui-kit.cjs.js +11 -11
  16. package/dist/ui-kit.cjs.js.map +1 -1
  17. package/dist/ui-kit.css +1 -1
  18. package/dist/ui-kit.es.js +485 -406
  19. package/dist/ui-kit.es.js.map +1 -1
  20. package/dist/utils/index.d.ts.map +1 -1
  21. package/dist/utils/styles/getFontWeightClass/getFontWeightClass.d.ts.map +1 -1
  22. package/dist/utils/styles/index.d.ts +0 -1
  23. package/dist/utils/styles/index.d.ts.map +1 -1
  24. package/package.json +3 -3
  25. package/dist/utils/hooks/index.d.ts +0 -2
  26. package/dist/utils/hooks/index.d.ts.map +0 -1
  27. package/dist/utils/hooks/useTheme/index.d.ts +0 -3
  28. package/dist/utils/hooks/useTheme/index.d.ts.map +0 -1
  29. package/dist/utils/hooks/useTheme/useTheme.d.ts +0 -6
  30. package/dist/utils/hooks/useTheme/useTheme.d.ts.map +0 -1
  31. package/dist/utils/hooks/useTheme/useTheme.types.d.ts +0 -3
  32. package/dist/utils/hooks/useTheme/useTheme.types.d.ts.map +0 -1
package/dist/ui-kit.es.js CHANGED
@@ -1,8 +1,9 @@
1
- import Fe from "react";
2
- function mt(c) {
3
- return c && c.__esModule && Object.prototype.hasOwnProperty.call(c, "default") ? c.default : c;
1
+ import * as C from "react";
2
+ import Ie from "react";
3
+ function wt(a) {
4
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
4
5
  }
5
- var L = { exports: {} }, z = {};
6
+ var J = { exports: {} }, L = {};
6
7
  /**
7
8
  * @license React
8
9
  * react-jsx-runtime.production.min.js
@@ -12,21 +13,21 @@ var L = { exports: {} }, z = {};
12
13
  * This source code is licensed under the MIT license found in the
13
14
  * LICENSE file in the root directory of this source tree.
14
15
  */
15
- var je;
16
- function ht() {
17
- if (je) return z;
18
- je = 1;
19
- var c = Fe, _ = Symbol.for("react.element"), f = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, x = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
20
- function l(v, p, P) {
21
- var E, w = {}, T = null, I = null;
22
- P !== void 0 && (T = "" + P), p.key !== void 0 && (T = "" + p.key), p.ref !== void 0 && (I = p.ref);
23
- for (E in p) g.call(p, E) && !i.hasOwnProperty(E) && (w[E] = p[E]);
24
- if (v && v.defaultProps) for (E in p = v.defaultProps, p) w[E] === void 0 && (w[E] = p[E]);
25
- return { $$typeof: _, type: v, key: T, ref: I, props: w, _owner: x.current };
16
+ var ze;
17
+ function Et() {
18
+ if (ze) return L;
19
+ ze = 1;
20
+ var a = Ie, _ = Symbol.for("react.element"), f = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, h = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function c(d, v, O) {
22
+ var E, T = {}, P = null, N = null;
23
+ O !== void 0 && (P = "" + O), v.key !== void 0 && (P = "" + v.key), v.ref !== void 0 && (N = v.ref);
24
+ for (E in v) g.call(v, E) && !o.hasOwnProperty(E) && (T[E] = v[E]);
25
+ if (d && d.defaultProps) for (E in v = d.defaultProps, v) T[E] === void 0 && (T[E] = v[E]);
26
+ return { $$typeof: _, type: d, key: P, ref: N, props: T, _owner: h.current };
26
27
  }
27
- return z.Fragment = f, z.jsx = l, z.jsxs = l, z;
28
+ return L.Fragment = f, L.jsx = c, L.jsxs = c, L;
28
29
  }
29
- var $ = {};
30
+ var M = {};
30
31
  /**
31
32
  * @license React
32
33
  * react-jsx-runtime.development.js
@@ -36,57 +37,57 @@ var $ = {};
36
37
  * This source code is licensed under the MIT license found in the
37
38
  * LICENSE file in the root directory of this source tree.
38
39
  */
39
- var ke;
40
- function xt() {
41
- return ke || (ke = 1, process.env.NODE_ENV !== "production" && function() {
42
- var c = Fe, _ = Symbol.for("react.element"), f = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), v = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), ae = Symbol.iterator, ze = "@@iterator";
43
- function $e(e) {
40
+ var qe;
41
+ function St() {
42
+ return qe || (qe = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var a = Ie, _ = Symbol.for("react.element"), f = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), d = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), se = Symbol.iterator, $e = "@@iterator";
44
+ function Le(e) {
44
45
  if (e === null || typeof e != "object")
45
46
  return null;
46
- var t = ae && e[ae] || e[ze];
47
+ var t = se && e[se] || e[$e];
47
48
  return typeof t == "function" ? t : null;
48
49
  }
49
- var j = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
- function y(e) {
50
+ var q = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function b(e) {
51
52
  {
52
53
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
53
54
  r[n - 1] = arguments[n];
54
- Ie("error", e, r);
55
+ Me("error", e, r);
55
56
  }
56
57
  }
57
- function Ie(e, t, r) {
58
+ function Me(e, t, r) {
58
59
  {
59
- var n = j.ReactDebugCurrentFrame, s = n.getStackAddendum();
60
- s !== "" && (t += "%s", r = r.concat([s]));
61
- var u = r.map(function(o) {
62
- return String(o);
60
+ var n = q.ReactDebugCurrentFrame, u = n.getStackAddendum();
61
+ u !== "" && (t += "%s", r = r.concat([u]));
62
+ var l = r.map(function(s) {
63
+ return String(s);
63
64
  });
64
- u.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, u);
65
+ l.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, l);
65
66
  }
66
67
  }
67
- var Ye = !1, qe = !1, Ne = !1, Ve = !1, Le = !1, oe;
68
- oe = Symbol.for("react.module.reference");
69
- function Me(e) {
70
- return !!(typeof e == "string" || typeof e == "function" || e === g || e === i || Le || e === x || e === P || e === E || Ve || e === I || Ye || qe || Ne || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === w || e.$$typeof === l || e.$$typeof === v || e.$$typeof === p || // This needs to include all possible module reference object
68
+ var Ne = !1, Ve = !1, Ye = !1, Ue = !1, Be = !1, ue;
69
+ ue = Symbol.for("react.module.reference");
70
+ function Je(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === g || e === o || Be || e === h || e === O || e === E || Ue || e === N || Ne || Ve || Ye || typeof e == "object" && e !== null && (e.$$typeof === P || e.$$typeof === T || e.$$typeof === c || e.$$typeof === d || e.$$typeof === v || // This needs to include all possible module reference object
71
72
  // types supported by any Flight configuration anywhere since
72
73
  // we don't know which Flight build this will end up being used
73
74
  // with.
74
- e.$$typeof === oe || e.getModuleId !== void 0));
75
+ e.$$typeof === ue || e.getModuleId !== void 0));
75
76
  }
76
- function Ue(e, t, r) {
77
+ function Ge(e, t, r) {
77
78
  var n = e.displayName;
78
79
  if (n)
79
80
  return n;
80
- var s = t.displayName || t.name || "";
81
- return s !== "" ? r + "(" + s + ")" : r;
81
+ var u = t.displayName || t.name || "";
82
+ return u !== "" ? r + "(" + u + ")" : r;
82
83
  }
83
- function ie(e) {
84
+ function ce(e) {
84
85
  return e.displayName || "Context";
85
86
  }
86
- function S(e) {
87
+ function j(e) {
87
88
  if (e == null)
88
89
  return null;
89
- 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")
90
+ if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
90
91
  return e.displayName || e.name || null;
91
92
  if (typeof e == "string")
92
93
  return e;
@@ -95,32 +96,32 @@ function xt() {
95
96
  return "Fragment";
96
97
  case f:
97
98
  return "Portal";
98
- case i:
99
+ case o:
99
100
  return "Profiler";
100
- case x:
101
+ case h:
101
102
  return "StrictMode";
102
- case P:
103
+ case O:
103
104
  return "Suspense";
104
105
  case E:
105
106
  return "SuspenseList";
106
107
  }
107
108
  if (typeof e == "object")
108
109
  switch (e.$$typeof) {
109
- case v:
110
+ case d:
110
111
  var t = e;
111
- return ie(t) + ".Consumer";
112
- case l:
112
+ return ce(t) + ".Consumer";
113
+ case c:
113
114
  var r = e;
114
- return ie(r._context) + ".Provider";
115
- case p:
116
- return Ue(e, e.render, "ForwardRef");
117
- case w:
115
+ return ce(r._context) + ".Provider";
116
+ case v:
117
+ return Ge(e, e.render, "ForwardRef");
118
+ case T:
118
119
  var n = e.displayName || null;
119
- return n !== null ? n : S(e.type) || "Memo";
120
- case T: {
121
- var s = e, u = s._payload, o = s._init;
120
+ return n !== null ? n : j(e.type) || "Memo";
121
+ case P: {
122
+ var u = e, l = u._payload, s = u._init;
122
123
  try {
123
- return S(o(u));
124
+ return j(s(l));
124
125
  } catch {
125
126
  return null;
126
127
  }
@@ -128,18 +129,18 @@ function xt() {
128
129
  }
129
130
  return null;
130
131
  }
131
- var O = Object.assign, F = 0, se, ue, ce, le, fe, _e, de;
132
- function ve() {
132
+ var W = Object.assign, I = 0, le, fe, _e, de, ve, pe, me;
133
+ function ge() {
133
134
  }
134
- ve.__reactDisabledLog = !0;
135
- function Je() {
135
+ ge.__reactDisabledLog = !0;
136
+ function Ke() {
136
137
  {
137
- if (F === 0) {
138
- se = console.log, ue = console.info, ce = console.warn, le = console.error, fe = console.group, _e = console.groupCollapsed, de = console.groupEnd;
138
+ if (I === 0) {
139
+ le = console.log, fe = console.info, _e = console.warn, de = console.error, ve = console.group, pe = console.groupCollapsed, me = console.groupEnd;
139
140
  var e = {
140
141
  configurable: !0,
141
142
  enumerable: !0,
142
- value: ve,
143
+ value: ge,
143
144
  writable: !0
144
145
  };
145
146
  Object.defineProperties(console, {
@@ -152,250 +153,250 @@ function xt() {
152
153
  groupEnd: e
153
154
  });
154
155
  }
155
- F++;
156
+ I++;
156
157
  }
157
158
  }
158
- function Be() {
159
+ function Xe() {
159
160
  {
160
- if (F--, F === 0) {
161
+ if (I--, I === 0) {
161
162
  var e = {
162
163
  configurable: !0,
163
164
  enumerable: !0,
164
165
  writable: !0
165
166
  };
166
167
  Object.defineProperties(console, {
167
- log: O({}, e, {
168
- value: se
169
- }),
170
- info: O({}, e, {
171
- value: ue
172
- }),
173
- warn: O({}, e, {
174
- value: ce
175
- }),
176
- error: O({}, e, {
168
+ log: W({}, e, {
177
169
  value: le
178
170
  }),
179
- group: O({}, e, {
171
+ info: W({}, e, {
180
172
  value: fe
181
173
  }),
182
- groupCollapsed: O({}, e, {
174
+ warn: W({}, e, {
183
175
  value: _e
184
176
  }),
185
- groupEnd: O({}, e, {
177
+ error: W({}, e, {
186
178
  value: de
179
+ }),
180
+ group: W({}, e, {
181
+ value: ve
182
+ }),
183
+ groupCollapsed: W({}, e, {
184
+ value: pe
185
+ }),
186
+ groupEnd: W({}, e, {
187
+ value: me
187
188
  })
188
189
  });
189
190
  }
190
- F < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ I < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
192
  }
192
193
  }
193
- var B = j.ReactCurrentDispatcher, K;
194
- function Y(e, t, r) {
194
+ var X = q.ReactCurrentDispatcher, H;
195
+ function V(e, t, r) {
195
196
  {
196
- if (K === void 0)
197
+ if (H === void 0)
197
198
  try {
198
199
  throw Error();
199
- } catch (s) {
200
- var n = s.stack.trim().match(/\n( *(at )?)/);
201
- K = n && n[1] || "";
200
+ } catch (u) {
201
+ var n = u.stack.trim().match(/\n( *(at )?)/);
202
+ H = n && n[1] || "";
202
203
  }
203
204
  return `
204
- ` + K + e;
205
+ ` + H + e;
205
206
  }
206
207
  }
207
- var G = !1, q;
208
+ var Z = !1, Y;
208
209
  {
209
- var Ke = typeof WeakMap == "function" ? WeakMap : Map;
210
- q = new Ke();
210
+ var He = typeof WeakMap == "function" ? WeakMap : Map;
211
+ Y = new He();
211
212
  }
212
- function pe(e, t) {
213
- if (!e || G)
213
+ function he(e, t) {
214
+ if (!e || Z)
214
215
  return "";
215
216
  {
216
- var r = q.get(e);
217
+ var r = Y.get(e);
217
218
  if (r !== void 0)
218
219
  return r;
219
220
  }
220
221
  var n;
221
- G = !0;
222
- var s = Error.prepareStackTrace;
222
+ Z = !0;
223
+ var u = Error.prepareStackTrace;
223
224
  Error.prepareStackTrace = void 0;
224
- var u;
225
- u = B.current, B.current = null, Je();
225
+ var l;
226
+ l = X.current, X.current = null, Ke();
226
227
  try {
227
228
  if (t) {
228
- var o = function() {
229
+ var s = function() {
229
230
  throw Error();
230
231
  };
231
- if (Object.defineProperty(o.prototype, "props", {
232
+ if (Object.defineProperty(s.prototype, "props", {
232
233
  set: function() {
233
234
  throw Error();
234
235
  }
235
236
  }), typeof Reflect == "object" && Reflect.construct) {
236
237
  try {
237
- Reflect.construct(o, []);
238
- } catch (h) {
239
- n = h;
238
+ Reflect.construct(s, []);
239
+ } catch (x) {
240
+ n = x;
240
241
  }
241
- Reflect.construct(e, [], o);
242
+ Reflect.construct(e, [], s);
242
243
  } else {
243
244
  try {
244
- o.call();
245
- } catch (h) {
246
- n = h;
245
+ s.call();
246
+ } catch (x) {
247
+ n = x;
247
248
  }
248
- e.call(o.prototype);
249
+ e.call(s.prototype);
249
250
  }
250
251
  } else {
251
252
  try {
252
253
  throw Error();
253
- } catch (h) {
254
- n = h;
254
+ } catch (x) {
255
+ n = x;
255
256
  }
256
257
  e();
257
258
  }
258
- } catch (h) {
259
- if (h && n && typeof h.stack == "string") {
260
- for (var a = h.stack.split(`
261
- `), m = n.stack.split(`
262
- `), d = a.length - 1, b = m.length - 1; d >= 1 && b >= 0 && a[d] !== m[b]; )
263
- b--;
264
- for (; d >= 1 && b >= 0; d--, b--)
265
- if (a[d] !== m[b]) {
266
- if (d !== 1 || b !== 1)
259
+ } catch (x) {
260
+ if (x && n && typeof x.stack == "string") {
261
+ for (var i = x.stack.split(`
262
+ `), y = n.stack.split(`
263
+ `), p = i.length - 1, m = y.length - 1; p >= 1 && m >= 0 && i[p] !== y[m]; )
264
+ m--;
265
+ for (; p >= 1 && m >= 0; p--, m--)
266
+ if (i[p] !== y[m]) {
267
+ if (p !== 1 || m !== 1)
267
268
  do
268
- if (d--, b--, b < 0 || a[d] !== m[b]) {
269
- var R = `
270
- ` + a[d].replace(" at new ", " at ");
271
- return e.displayName && R.includes("<anonymous>") && (R = R.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, R), R;
269
+ if (p--, m--, m < 0 || i[p] !== y[m]) {
270
+ var S = `
271
+ ` + i[p].replace(" at new ", " at ");
272
+ return e.displayName && S.includes("<anonymous>") && (S = S.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, S), S;
272
273
  }
273
- while (d >= 1 && b >= 0);
274
+ while (p >= 1 && m >= 0);
274
275
  break;
275
276
  }
276
277
  }
277
278
  } finally {
278
- G = !1, B.current = u, Be(), Error.prepareStackTrace = s;
279
+ Z = !1, X.current = l, Xe(), Error.prepareStackTrace = u;
279
280
  }
280
- var W = e ? e.displayName || e.name : "", C = W ? Y(W) : "";
281
- return typeof e == "function" && q.set(e, C), C;
281
+ var D = e ? e.displayName || e.name : "", z = D ? V(D) : "";
282
+ return typeof e == "function" && Y.set(e, z), z;
282
283
  }
283
- function Ge(e, t, r) {
284
- return pe(e, !1);
284
+ function Ze(e, t, r) {
285
+ return he(e, !1);
285
286
  }
286
- function Xe(e) {
287
+ function Qe(e) {
287
288
  var t = e.prototype;
288
289
  return !!(t && t.isReactComponent);
289
290
  }
290
- function N(e, t, r) {
291
+ function U(e, t, r) {
291
292
  if (e == null)
292
293
  return "";
293
294
  if (typeof e == "function")
294
- return pe(e, Xe(e));
295
+ return he(e, Qe(e));
295
296
  if (typeof e == "string")
296
- return Y(e);
297
+ return V(e);
297
298
  switch (e) {
298
- case P:
299
- return Y("Suspense");
299
+ case O:
300
+ return V("Suspense");
300
301
  case E:
301
- return Y("SuspenseList");
302
+ return V("SuspenseList");
302
303
  }
303
304
  if (typeof e == "object")
304
305
  switch (e.$$typeof) {
305
- case p:
306
- return Ge(e.render);
307
- case w:
308
- return N(e.type, t, r);
309
- case T: {
310
- var n = e, s = n._payload, u = n._init;
306
+ case v:
307
+ return Ze(e.render);
308
+ case T:
309
+ return U(e.type, t, r);
310
+ case P: {
311
+ var n = e, u = n._payload, l = n._init;
311
312
  try {
312
- return N(u(s), t, r);
313
+ return U(l(u), t, r);
313
314
  } catch {
314
315
  }
315
316
  }
316
317
  }
317
318
  return "";
318
319
  }
319
- var A = Object.prototype.hasOwnProperty, be = {}, ge = j.ReactDebugCurrentFrame;
320
- function V(e) {
320
+ var $ = Object.prototype.hasOwnProperty, be = {}, ye = q.ReactDebugCurrentFrame;
321
+ function B(e) {
321
322
  if (e) {
322
- var t = e._owner, r = N(e.type, e._source, t ? t.type : null);
323
- ge.setExtraStackFrame(r);
323
+ var t = e._owner, r = U(e.type, e._source, t ? t.type : null);
324
+ ye.setExtraStackFrame(r);
324
325
  } else
325
- ge.setExtraStackFrame(null);
326
+ ye.setExtraStackFrame(null);
326
327
  }
327
- function He(e, t, r, n, s) {
328
+ function et(e, t, r, n, u) {
328
329
  {
329
- var u = Function.call.bind(A);
330
- for (var o in e)
331
- if (u(e, o)) {
332
- var a = void 0;
330
+ var l = Function.call.bind($);
331
+ for (var s in e)
332
+ if (l(e, s)) {
333
+ var i = void 0;
333
334
  try {
334
- if (typeof e[o] != "function") {
335
- var m = Error((n || "React class") + ": " + r + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
- throw m.name = "Invariant Violation", m;
335
+ if (typeof e[s] != "function") {
336
+ var y = Error((n || "React class") + ": " + r + " type `" + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[s] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw y.name = "Invariant Violation", y;
337
338
  }
338
- a = e[o](t, o, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
- } catch (d) {
340
- a = d;
339
+ i = e[s](t, s, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (p) {
341
+ i = p;
341
342
  }
342
- a && !(a instanceof Error) && (V(s), 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", r, o, typeof a), V(null)), a instanceof Error && !(a.message in be) && (be[a.message] = !0, V(s), y("Failed %s type: %s", r, a.message), V(null));
343
+ i && !(i instanceof Error) && (B(u), b("%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", r, s, typeof i), B(null)), i instanceof Error && !(i.message in be) && (be[i.message] = !0, B(u), b("Failed %s type: %s", r, i.message), B(null));
343
344
  }
344
345
  }
345
346
  }
346
- var Ze = Array.isArray;
347
- function X(e) {
348
- return Ze(e);
347
+ var tt = Array.isArray;
348
+ function Q(e) {
349
+ return tt(e);
349
350
  }
350
- function Qe(e) {
351
+ function rt(e) {
351
352
  {
352
353
  var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
353
354
  return r;
354
355
  }
355
356
  }
356
- function et(e) {
357
+ function nt(e) {
357
358
  try {
358
- return ye(e), !1;
359
+ return xe(e), !1;
359
360
  } catch {
360
361
  return !0;
361
362
  }
362
363
  }
363
- function ye(e) {
364
+ function xe(e) {
364
365
  return "" + e;
365
366
  }
366
- function me(e) {
367
- if (et(e))
368
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), ye(e);
367
+ function we(e) {
368
+ if (nt(e))
369
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rt(e)), xe(e);
369
370
  }
370
- var he = j.ReactCurrentOwner, tt = {
371
+ var Ee = q.ReactCurrentOwner, at = {
371
372
  key: !0,
372
373
  ref: !0,
373
374
  __self: !0,
374
375
  __source: !0
375
- }, xe, Ee;
376
- function rt(e) {
377
- if (A.call(e, "ref")) {
376
+ }, Se, Re;
377
+ function it(e) {
378
+ if ($.call(e, "ref")) {
378
379
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
379
380
  if (t && t.isReactWarning)
380
381
  return !1;
381
382
  }
382
383
  return e.ref !== void 0;
383
384
  }
384
- function nt(e) {
385
- if (A.call(e, "key")) {
385
+ function ot(e) {
386
+ if ($.call(e, "key")) {
386
387
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
387
388
  if (t && t.isReactWarning)
388
389
  return !1;
389
390
  }
390
391
  return e.key !== void 0;
391
392
  }
392
- function at(e, t) {
393
- typeof e.ref == "string" && he.current;
393
+ function st(e, t) {
394
+ typeof e.ref == "string" && Ee.current;
394
395
  }
395
- function ot(e, t) {
396
+ function ut(e, t) {
396
397
  {
397
398
  var r = function() {
398
- xe || (xe = !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)", t));
399
+ Se || (Se = !0, b("%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)", t));
399
400
  };
400
401
  r.isReactWarning = !0, Object.defineProperty(e, "key", {
401
402
  get: r,
@@ -403,10 +404,10 @@ function xt() {
403
404
  });
404
405
  }
405
406
  }
406
- function it(e, t) {
407
+ function ct(e, t) {
407
408
  {
408
409
  var r = function() {
409
- Ee || (Ee = !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)", t));
410
+ Re || (Re = !0, b("%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)", t));
410
411
  };
411
412
  r.isReactWarning = !0, Object.defineProperty(e, "ref", {
412
413
  get: r,
@@ -414,70 +415,70 @@ function xt() {
414
415
  });
415
416
  }
416
417
  }
417
- var st = function(e, t, r, n, s, u, o) {
418
- var a = {
418
+ var lt = function(e, t, r, n, u, l, s) {
419
+ var i = {
419
420
  // This tag allows us to uniquely identify this as a React Element
420
421
  $$typeof: _,
421
422
  // Built-in properties that belong on the element
422
423
  type: e,
423
424
  key: t,
424
425
  ref: r,
425
- props: o,
426
+ props: s,
426
427
  // Record the component responsible for creating this element.
427
- _owner: u
428
+ _owner: l
428
429
  };
429
- return a._store = {}, Object.defineProperty(a._store, "validated", {
430
+ return i._store = {}, Object.defineProperty(i._store, "validated", {
430
431
  configurable: !1,
431
432
  enumerable: !1,
432
433
  writable: !0,
433
434
  value: !1
434
- }), Object.defineProperty(a, "_self", {
435
+ }), Object.defineProperty(i, "_self", {
435
436
  configurable: !1,
436
437
  enumerable: !1,
437
438
  writable: !1,
438
439
  value: n
439
- }), Object.defineProperty(a, "_source", {
440
+ }), Object.defineProperty(i, "_source", {
440
441
  configurable: !1,
441
442
  enumerable: !1,
442
443
  writable: !1,
443
- value: s
444
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
444
+ value: u
445
+ }), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
445
446
  };
446
- function ut(e, t, r, n, s) {
447
+ function ft(e, t, r, n, u) {
447
448
  {
448
- var u, o = {}, a = null, m = null;
449
- r !== void 0 && (me(r), a = "" + r), nt(t) && (me(t.key), a = "" + t.key), rt(t) && (m = t.ref, at(t, s));
450
- for (u in t)
451
- A.call(t, u) && !tt.hasOwnProperty(u) && (o[u] = t[u]);
449
+ var l, s = {}, i = null, y = null;
450
+ r !== void 0 && (we(r), i = "" + r), ot(t) && (we(t.key), i = "" + t.key), it(t) && (y = t.ref, st(t, u));
451
+ for (l in t)
452
+ $.call(t, l) && !at.hasOwnProperty(l) && (s[l] = t[l]);
452
453
  if (e && e.defaultProps) {
453
- var d = e.defaultProps;
454
- for (u in d)
455
- o[u] === void 0 && (o[u] = d[u]);
454
+ var p = e.defaultProps;
455
+ for (l in p)
456
+ s[l] === void 0 && (s[l] = p[l]);
456
457
  }
457
- if (a || m) {
458
- var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
459
- a && ot(o, b), m && it(o, b);
458
+ if (i || y) {
459
+ var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
+ i && ut(s, m), y && ct(s, m);
460
461
  }
461
- return st(e, a, m, s, n, he.current, o);
462
+ return lt(e, i, y, u, n, Ee.current, s);
462
463
  }
463
464
  }
464
- var H = j.ReactCurrentOwner, Re = j.ReactDebugCurrentFrame;
465
- function k(e) {
465
+ var ee = q.ReactCurrentOwner, Ce = q.ReactDebugCurrentFrame;
466
+ function A(e) {
466
467
  if (e) {
467
- var t = e._owner, r = N(e.type, e._source, t ? t.type : null);
468
- Re.setExtraStackFrame(r);
468
+ var t = e._owner, r = U(e.type, e._source, t ? t.type : null);
469
+ Ce.setExtraStackFrame(r);
469
470
  } else
470
- Re.setExtraStackFrame(null);
471
+ Ce.setExtraStackFrame(null);
471
472
  }
472
- var Z;
473
- Z = !1;
474
- function Q(e) {
473
+ var te;
474
+ te = !1;
475
+ function re(e) {
475
476
  return typeof e == "object" && e !== null && e.$$typeof === _;
476
477
  }
477
- function we() {
478
+ function Oe() {
478
479
  {
479
- if (H.current) {
480
- var e = S(H.current.type);
480
+ if (ee.current) {
481
+ var e = j(ee.current.type);
481
482
  if (e)
482
483
  return `
483
484
 
@@ -486,13 +487,13 @@ Check the render method of \`` + e + "`.";
486
487
  return "";
487
488
  }
488
489
  }
489
- function ct(e) {
490
+ function _t(e) {
490
491
  return "";
491
492
  }
492
- var Se = {};
493
- function lt(e) {
493
+ var Te = {};
494
+ function dt(e) {
494
495
  {
495
- var t = we();
496
+ var t = Oe();
496
497
  if (!t) {
497
498
  var r = typeof e == "string" ? e : e.displayName || e.name;
498
499
  r && (t = `
@@ -502,39 +503,39 @@ Check the top-level render call using <` + r + ">.");
502
503
  return t;
503
504
  }
504
505
  }
505
- function Te(e, t) {
506
+ function je(e, t) {
506
507
  {
507
508
  if (!e._store || e._store.validated || e.key != null)
508
509
  return;
509
510
  e._store.validated = !0;
510
- var r = lt(t);
511
- if (Se[r])
511
+ var r = dt(t);
512
+ if (Te[r])
512
513
  return;
513
- Se[r] = !0;
514
+ Te[r] = !0;
514
515
  var n = "";
515
- e && e._owner && e._owner !== H.current && (n = " It was passed a child from " + S(e._owner.type) + "."), k(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.', r, n), k(null);
516
+ e && e._owner && e._owner !== ee.current && (n = " It was passed a child from " + j(e._owner.type) + "."), A(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, n), A(null);
516
517
  }
517
518
  }
518
- function Oe(e, t) {
519
+ function ke(e, t) {
519
520
  {
520
521
  if (typeof e != "object")
521
522
  return;
522
- if (X(e))
523
+ if (Q(e))
523
524
  for (var r = 0; r < e.length; r++) {
524
525
  var n = e[r];
525
- Q(n) && Te(n, t);
526
+ re(n) && je(n, t);
526
527
  }
527
- else if (Q(e))
528
+ else if (re(e))
528
529
  e._store && (e._store.validated = !0);
529
530
  else if (e) {
530
- var s = $e(e);
531
- if (typeof s == "function" && s !== e.entries)
532
- for (var u = s.call(e), o; !(o = u.next()).done; )
533
- Q(o.value) && Te(o.value, t);
531
+ var u = Le(e);
532
+ if (typeof u == "function" && u !== e.entries)
533
+ for (var l = u.call(e), s; !(s = l.next()).done; )
534
+ re(s.value) && je(s.value, t);
534
535
  }
535
536
  }
536
537
  }
537
- function ft(e) {
538
+ function vt(e) {
538
539
  {
539
540
  var t = e.type;
540
541
  if (t == null || typeof t == "string")
@@ -542,279 +543,357 @@ Check the top-level render call using <` + r + ">.");
542
543
  var r;
543
544
  if (typeof t == "function")
544
545
  r = t.propTypes;
545
- else if (typeof t == "object" && (t.$$typeof === p || // Note: Memo only checks outer props here.
546
+ else if (typeof t == "object" && (t.$$typeof === v || // Note: Memo only checks outer props here.
546
547
  // Inner props are checked in the reconciler.
547
- t.$$typeof === w))
548
+ t.$$typeof === T))
548
549
  r = t.propTypes;
549
550
  else
550
551
  return;
551
552
  if (r) {
552
- var n = S(t);
553
- He(r, e.props, "prop", n, e);
554
- } else if (t.PropTypes !== void 0 && !Z) {
555
- Z = !0;
556
- var s = S(t);
557
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
553
+ var n = j(t);
554
+ et(r, e.props, "prop", n, e);
555
+ } else if (t.PropTypes !== void 0 && !te) {
556
+ te = !0;
557
+ var u = j(t);
558
+ b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
558
559
  }
559
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
561
  }
561
562
  }
562
- function _t(e) {
563
+ function pt(e) {
563
564
  {
564
565
  for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
565
566
  var n = t[r];
566
567
  if (n !== "children" && n !== "key") {
567
- k(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), k(null);
568
+ A(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), A(null);
568
569
  break;
569
570
  }
570
571
  }
571
- e.ref !== null && (k(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
572
+ e.ref !== null && (A(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
572
573
  }
573
574
  }
574
- var Ce = {};
575
- function Pe(e, t, r, n, s, u) {
575
+ var Pe = {};
576
+ function We(e, t, r, n, u, l) {
576
577
  {
577
- var o = Me(e);
578
- if (!o) {
579
- var a = "";
580
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
581
- var m = ct();
582
- m ? a += m : a += we();
583
- var d;
584
- e === null ? d = "null" : X(e) ? d = "array" : e !== void 0 && e.$$typeof === _ ? (d = "<" + (S(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : d = 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", d, a);
578
+ var s = Je(e);
579
+ if (!s) {
580
+ var i = "";
581
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
+ var y = _t();
583
+ y ? i += y : i += Oe();
584
+ var p;
585
+ e === null ? p = "null" : Q(e) ? p = "array" : e !== void 0 && e.$$typeof === _ ? (p = "<" + (j(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : p = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p, i);
585
586
  }
586
- var b = ut(e, t, r, s, u);
587
- if (b == null)
588
- return b;
589
- if (o) {
590
- var R = t.children;
591
- if (R !== void 0)
587
+ var m = ft(e, t, r, u, l);
588
+ if (m == null)
589
+ return m;
590
+ if (s) {
591
+ var S = t.children;
592
+ if (S !== void 0)
592
593
  if (n)
593
- if (X(R)) {
594
- for (var W = 0; W < R.length; W++)
595
- Oe(R[W], e);
596
- Object.freeze && Object.freeze(R);
594
+ if (Q(S)) {
595
+ for (var D = 0; D < S.length; D++)
596
+ ke(S[D], e);
597
+ Object.freeze && Object.freeze(S);
597
598
  } else
598
- 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.");
599
+ b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
599
600
  else
600
- Oe(R, e);
601
+ ke(S, e);
601
602
  }
602
- if (A.call(t, "key")) {
603
- var C = S(e), h = Object.keys(t).filter(function(yt) {
604
- return yt !== "key";
605
- }), ee = h.length > 0 ? "{key: someKey, " + h.join(": ..., ") + ": ...}" : "{key: someKey}";
606
- if (!Ce[C + ee]) {
607
- var gt = h.length > 0 ? "{" + h.join(": ..., ") + ": ...}" : "{}";
608
- y(`A props object containing a "key" prop is being spread into JSX:
603
+ if ($.call(t, "key")) {
604
+ var z = j(e), x = Object.keys(t).filter(function(xt) {
605
+ return xt !== "key";
606
+ }), ne = x.length > 0 ? "{key: someKey, " + x.join(": ..., ") + ": ...}" : "{key: someKey}";
607
+ if (!Pe[z + ne]) {
608
+ var yt = x.length > 0 ? "{" + x.join(": ..., ") + ": ...}" : "{}";
609
+ b(`A props object containing a "key" prop is being spread into JSX:
609
610
  let props = %s;
610
611
  <%s {...props} />
611
612
  React keys must be passed directly to JSX without using spread:
612
613
  let props = %s;
613
- <%s key={someKey} {...props} />`, ee, C, gt, C), Ce[C + ee] = !0;
614
+ <%s key={someKey} {...props} />`, ne, z, yt, z), Pe[z + ne] = !0;
614
615
  }
615
616
  }
616
- return e === g ? _t(b) : ft(b), b;
617
+ return e === g ? pt(m) : vt(m), m;
617
618
  }
618
619
  }
619
- function dt(e, t, r) {
620
- return Pe(e, t, r, !0);
620
+ function mt(e, t, r) {
621
+ return We(e, t, r, !0);
621
622
  }
622
- function vt(e, t, r) {
623
- return Pe(e, t, r, !1);
623
+ function gt(e, t, r) {
624
+ return We(e, t, r, !1);
624
625
  }
625
- var pt = vt, bt = dt;
626
- $.Fragment = g, $.jsx = pt, $.jsxs = bt;
627
- }()), $;
626
+ var ht = gt, bt = mt;
627
+ M.Fragment = g, M.jsx = ht, M.jsxs = bt;
628
+ }()), M;
628
629
  }
629
- var We;
630
- function Et() {
631
- return We || (We = 1, process.env.NODE_ENV === "production" ? L.exports = ht() : L.exports = xt()), L.exports;
630
+ var Ae;
631
+ function Rt() {
632
+ return Ae || (Ae = 1, process.env.NODE_ENV === "production" ? J.exports = Et() : J.exports = St()), J.exports;
632
633
  }
633
- var U = Et(), te = { exports: {} };
634
+ var w = Rt(), ae = { exports: {} };
634
635
  /*!
635
636
  Copyright (c) 2018 Jed Watson.
636
637
  Licensed under the MIT License (MIT), see
637
638
  http://jedwatson.github.io/classnames
638
639
  */
639
640
  var De;
640
- function Rt() {
641
- return De || (De = 1, function(c) {
641
+ function Ct() {
642
+ return De || (De = 1, function(a) {
642
643
  (function() {
643
644
  var _ = {}.hasOwnProperty;
644
645
  function f() {
645
- for (var i = "", l = 0; l < arguments.length; l++) {
646
- var v = arguments[l];
647
- v && (i = x(i, g(v)));
646
+ for (var o = "", c = 0; c < arguments.length; c++) {
647
+ var d = arguments[c];
648
+ d && (o = h(o, g(d)));
648
649
  }
649
- return i;
650
+ return o;
650
651
  }
651
- function g(i) {
652
- if (typeof i == "string" || typeof i == "number")
653
- return i;
654
- if (typeof i != "object")
652
+ function g(o) {
653
+ if (typeof o == "string" || typeof o == "number")
654
+ return o;
655
+ if (typeof o != "object")
655
656
  return "";
656
- if (Array.isArray(i))
657
- return f.apply(null, i);
658
- if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
659
- return i.toString();
660
- var l = "";
661
- for (var v in i)
662
- _.call(i, v) && i[v] && (l = x(l, v));
663
- return l;
657
+ if (Array.isArray(o))
658
+ return f.apply(null, o);
659
+ if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
660
+ return o.toString();
661
+ var c = "";
662
+ for (var d in o)
663
+ _.call(o, d) && o[d] && (c = h(c, d));
664
+ return c;
664
665
  }
665
- function x(i, l) {
666
- return l ? i ? i + " " + l : i + l : i;
666
+ function h(o, c) {
667
+ return c ? o ? o + " " + c : o + c : o;
667
668
  }
668
- c.exports ? (f.default = f, c.exports = f) : window.classNames = f;
669
+ a.exports ? (f.default = f, a.exports = f) : window.classNames = f;
669
670
  })();
670
- }(te)), te.exports;
671
+ }(ae)), ae.exports;
671
672
  }
672
- var wt = Rt();
673
- const J = /* @__PURE__ */ mt(wt);
674
- function D(c, _, f, g = "") {
673
+ var Ot = Ct();
674
+ const k = /* @__PURE__ */ wt(Ot);
675
+ function F(a, _, f, g = "") {
675
676
  if (f)
676
- return c[`${_}_${f}${g}`];
677
+ return a[`${_}_${f}${g}`];
677
678
  }
678
- function St(c, _, f) {
679
- return D(c, _, f, "Weight");
679
+ function K(a, _, f) {
680
+ return F(a, _, f, "Size");
680
681
  }
681
- function Ae(c, _, f) {
682
- return D(c, _, f, "Size");
683
- }
684
- const Tt = "_button_qsd3z_1", Ot = "_button_primary_qsd3z_10", Ct = "_button_secondary_qsd3z_13", Pt = "_button_negative_qsd3z_16", jt = "_button_positive_qsd3z_19", kt = "_button_warning_qsd3z_22", Wt = "_button_neutral_qsd3z_25", Dt = "_button_mdSize_qsd3z_85", Ft = "_button_smSize_qsd3z_95", At = "_button_xsSize_qsd3z_105", re = {
682
+ const Tt = "_button_qsd3z_1", jt = "_button_primary_qsd3z_10", kt = "_button_secondary_qsd3z_13", Pt = "_button_negative_qsd3z_16", Wt = "_button_positive_qsd3z_19", zt = "_button_warning_qsd3z_22", qt = "_button_neutral_qsd3z_25", At = "_button_mdSize_qsd3z_85", Dt = "_button_smSize_qsd3z_95", Ft = "_button_xsSize_qsd3z_105", ie = {
685
683
  button: Tt,
686
- button_primary: Ot,
687
- button_secondary: Ct,
684
+ button_primary: jt,
685
+ button_secondary: kt,
688
686
  button_negative: Pt,
689
- button_positive: jt,
690
- button_warning: kt,
691
- button_neutral: Wt,
692
- button_mdSize: Dt,
693
- button_smSize: Ft,
694
- button_xsSize: At
687
+ button_positive: Wt,
688
+ button_warning: zt,
689
+ button_neutral: qt,
690
+ button_mdSize: At,
691
+ button_smSize: Dt,
692
+ button_xsSize: Ft
695
693
  };
696
- function dr({
697
- attr: c,
694
+ function $r({
695
+ attr: a,
698
696
  children: _,
699
697
  className: f,
700
698
  type: g = "button",
701
- color: x = "primary",
702
- size: i = "md",
703
- ...l
699
+ color: h = "primary",
700
+ size: o = "md",
701
+ ...c
704
702
  }) {
705
- const v = "button";
706
- return /* @__PURE__ */ U.jsx(
703
+ const d = "button";
704
+ return /* @__PURE__ */ w.jsx(
707
705
  "button",
708
706
  {
707
+ ...a,
709
708
  ...c,
710
- ...l,
711
709
  type: g,
712
- className: J(
713
- re[v],
710
+ className: k(
711
+ ie[d],
714
712
  f,
715
- Ae(re, v, i),
716
- D(re, v, x)
713
+ K(ie, d, o),
714
+ F(ie, d, h)
717
715
  ),
718
716
  children: _
719
717
  }
720
718
  );
721
719
  }
722
- const zt = "_avatar_1wk2b_1", $t = "_avatar_primary_1wk2b_15", It = "_avatar_secondary_1wk2b_18", Yt = "_avatar_negative_1wk2b_21", qt = "_avatar_positive_1wk2b_24", Nt = "_avatar_warning_1wk2b_27", Vt = "_avatar_lgSize_1wk2b_64", Lt = "_avatar_mdSize_1wk2b_78", Mt = "_avatar_smSize_1wk2b_92", ne = {
723
- avatar: zt,
720
+ const It = "_avatar_1wk2b_1", $t = "_avatar_primary_1wk2b_15", Lt = "_avatar_secondary_1wk2b_18", Mt = "_avatar_negative_1wk2b_21", Nt = "_avatar_positive_1wk2b_24", Vt = "_avatar_warning_1wk2b_27", Yt = "_avatar_lgSize_1wk2b_64", Ut = "_avatar_mdSize_1wk2b_78", Bt = "_avatar_smSize_1wk2b_92", oe = {
721
+ avatar: It,
724
722
  avatar_primary: $t,
725
- avatar_secondary: It,
726
- avatar_negative: Yt,
727
- avatar_positive: qt,
728
- avatar_warning: Nt,
729
- avatar_lgSize: Vt,
730
- avatar_mdSize: Lt,
731
- avatar_smSize: Mt
723
+ avatar_secondary: Lt,
724
+ avatar_negative: Mt,
725
+ avatar_positive: Nt,
726
+ avatar_warning: Vt,
727
+ avatar_lgSize: Yt,
728
+ avatar_mdSize: Ut,
729
+ avatar_smSize: Bt
732
730
  };
733
- function vr({
734
- attr: c,
731
+ function Lr({
732
+ attr: a,
735
733
  children: _,
736
734
  className: f,
737
735
  color: g = "primary",
738
- size: x = "md",
739
- ...i
736
+ size: h = "md",
737
+ ...o
740
738
  }) {
741
- const l = "avatar";
742
- return /* @__PURE__ */ U.jsx(
739
+ const c = "avatar";
740
+ return /* @__PURE__ */ w.jsx(
743
741
  "div",
744
742
  {
745
- ...c,
746
- ...i,
747
- className: J(
748
- ne[l],
743
+ ...a,
744
+ ...o,
745
+ className: k(
746
+ oe[c],
749
747
  f,
750
- Ae(ne, l, x),
751
- D(ne, l, g)
748
+ K(oe, c, h),
749
+ F(oe, c, g)
752
750
  ),
753
751
  children: _
754
752
  }
755
753
  );
756
754
  }
757
- const Ut = "_text_primary_dy5tw_1", Jt = "_text_secondary_dy5tw_4", Bt = "_text_tertiary_dy5tw_7", Kt = "_text_positive_dy5tw_10", Gt = "_text_negative_dy5tw_13", Xt = "_text_warning_dy5tw_16", Ht = "_text_accent_dy5tw_19", Zt = "_text_inverse_dy5tw_22", Qt = "_text_body1_dy5tw_25", er = "_text_body2_dy5tw_31", tr = "_text_caption1_dy5tw_37", rr = "_text_caption2_dy5tw_43", nr = "_text_extraboldWeight_dy5tw_49", ar = "_text_boldWeight_dy5tw_52", or = "_text_semiboldWeight_dy5tw_55", ir = "_text_mediumWeight_dy5tw_58", sr = "_text_regularWeight_dy5tw_61", ur = "_text_lightWeight_dy5tw_64", cr = "_text_extralightWeight_dy5tw_67", M = {
758
- text_primary: Ut,
759
- text_secondary: Jt,
760
- text_tertiary: Bt,
761
- text_positive: Kt,
762
- text_negative: Gt,
763
- text_warning: Xt,
764
- text_accent: Ht,
765
- text_inverse: Zt,
766
- text_body1: Qt,
767
- text_body2: er,
768
- text_caption1: tr,
769
- text_caption2: rr,
770
- text_extraboldWeight: nr,
771
- text_boldWeight: ar,
772
- text_semiboldWeight: or,
773
- text_mediumWeight: ir,
774
- text_regularWeight: sr,
775
- text_lightWeight: ur,
776
- text_extralightWeight: cr
755
+ const Jt = (a) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ C.createElement("circle", { cx: 12, cy: 12, r: 10, fill: "currentColor", fillOpacity: 0.15 }), /* @__PURE__ */ C.createElement("path", { d: "M16 9L10.0337 15L8 12.9548", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Fe = (a) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ C.createElement("path", { d: "M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z", fill: "currentColor", fillOpacity: 0.15 }), /* @__PURE__ */ C.createElement("path", { d: "M12 6C11.4477 6 11 6.44772 11 7V13C11 13.5523 11.4477 14 12 14C12.5523 14 13 13.5523 13 13V7C13 6.44772 12.5523 6 12 6Z", fill: "currentColor" }), /* @__PURE__ */ C.createElement("path", { d: "M12 15C11.4477 15 11 15.4477 11 16V17C11 17.5523 11.4477 18 12 18C12.5523 18 13 17.5523 13 17V16C13 15.4477 12.5523 15 12 15Z", fill: "currentColor" })), Gt = (a) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ C.createElement("circle", { cx: 12, cy: 12, r: 10, fill: "currentColor", fillOpacity: 0.12 }), /* @__PURE__ */ C.createElement("path", { d: "M16 8L8 16M16 16L8 8", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round" })), Kt = (a) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "black", ...a }, /* @__PURE__ */ C.createElement("path", { d: "M12 2V22M19.0711 4.92893L4.92893 19.0711M22 12H2M19.0711 19.0711L4.92893 4.92893", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Xt = "_hint_1qrt8_1", Ht = "_md_1qrt8_12", Zt = "_sm_1qrt8_17", Qt = "_icon_1qrt8_22", er = "_content_1qrt8_33", tr = "_title_1qrt8_39", rr = "_title_mdSize_1qrt8_42", nr = "_title_smSize_1qrt8_48", ar = "_subtitle_1qrt8_55", ir = "_subtitle_mdSize_1qrt8_59", or = "_subtitle_smSize_1qrt8_65", sr = "_disabled_1qrt8_72", ur = "_warning_1qrt8_77", cr = "_solid_1qrt8_77", lr = "_negative_1qrt8_82", fr = "_positive_1qrt8_87", _r = "_accent_1qrt8_92", dr = "_neutral_1qrt8_97", vr = "_soft_1qrt8_102", R = {
756
+ hint: Xt,
757
+ md: Ht,
758
+ sm: Zt,
759
+ icon: Qt,
760
+ content: er,
761
+ title: tr,
762
+ title_mdSize: rr,
763
+ title_smSize: nr,
764
+ subtitle: ar,
765
+ subtitle_mdSize: ir,
766
+ subtitle_smSize: or,
767
+ disabled: sr,
768
+ warning: ur,
769
+ solid: cr,
770
+ negative: lr,
771
+ positive: fr,
772
+ accent: _r,
773
+ neutral: dr,
774
+ soft: vr
775
+ }, pr = {
776
+ negative: /* @__PURE__ */ w.jsx(Gt, {}),
777
+ positive: /* @__PURE__ */ w.jsx(Jt, {}),
778
+ accent: /* @__PURE__ */ w.jsx(Fe, {}),
779
+ warning: /* @__PURE__ */ w.jsx(Fe, {}),
780
+ neutral: /* @__PURE__ */ w.jsx(Kt, {})
781
+ }, Mr = ({
782
+ title: a,
783
+ subtitle: _,
784
+ color: f = "warning",
785
+ variant: g = "soft",
786
+ size: h = "md",
787
+ icon: o,
788
+ disabled: c = !1,
789
+ className: d,
790
+ style: v
791
+ }) => {
792
+ const O = o || pr[f];
793
+ return /* @__PURE__ */ w.jsxs(
794
+ "div",
795
+ {
796
+ className: k(
797
+ R.hint,
798
+ R[f],
799
+ R[g],
800
+ R[h],
801
+ c && R.disabled,
802
+ d
803
+ ),
804
+ style: v,
805
+ "aria-disabled": c,
806
+ children: [
807
+ O && /* @__PURE__ */ w.jsx("span", { className: k(R.icon, R[f]), children: O }),
808
+ /* @__PURE__ */ w.jsxs("div", { className: R.content, children: [
809
+ /* @__PURE__ */ w.jsx(
810
+ "div",
811
+ {
812
+ className: k(
813
+ R.title,
814
+ K(R, "title", h)
815
+ ),
816
+ children: a
817
+ }
818
+ ),
819
+ _ && /* @__PURE__ */ w.jsx(
820
+ "div",
821
+ {
822
+ className: k(
823
+ R.subtitle,
824
+ K(R, "subtitle", h)
825
+ ),
826
+ children: _
827
+ }
828
+ )
829
+ ] })
830
+ ]
831
+ }
832
+ );
833
+ }, mr = "_text_primary_dy5tw_1", gr = "_text_secondary_dy5tw_4", hr = "_text_tertiary_dy5tw_7", br = "_text_positive_dy5tw_10", yr = "_text_negative_dy5tw_13", xr = "_text_warning_dy5tw_16", wr = "_text_accent_dy5tw_19", Er = "_text_inverse_dy5tw_22", Sr = "_text_body1_dy5tw_25", Rr = "_text_body2_dy5tw_31", Cr = "_text_caption1_dy5tw_37", Or = "_text_caption2_dy5tw_43", Tr = "_text_extraboldWeight_dy5tw_49", jr = "_text_boldWeight_dy5tw_52", kr = "_text_semiboldWeight_dy5tw_55", Pr = "_text_mediumWeight_dy5tw_58", Wr = "_text_regularWeight_dy5tw_61", zr = "_text_lightWeight_dy5tw_64", qr = "_text_extralightWeight_dy5tw_67", G = {
834
+ text_primary: mr,
835
+ text_secondary: gr,
836
+ text_tertiary: hr,
837
+ text_positive: br,
838
+ text_negative: yr,
839
+ text_warning: xr,
840
+ text_accent: wr,
841
+ text_inverse: Er,
842
+ text_body1: Sr,
843
+ text_body2: Rr,
844
+ text_caption1: Cr,
845
+ text_caption2: Or,
846
+ text_extraboldWeight: Tr,
847
+ text_boldWeight: jr,
848
+ text_semiboldWeight: kr,
849
+ text_mediumWeight: Pr,
850
+ text_regularWeight: Wr,
851
+ text_lightWeight: zr,
852
+ text_extralightWeight: qr
777
853
  };
778
- function pr({
779
- attr: c,
854
+ function Ar(a, _, f) {
855
+ return F(a, _, f, "Weight");
856
+ }
857
+ function Nr({
858
+ attr: a,
780
859
  children: _,
781
860
  className: f,
782
861
  color: g = "primary",
783
- variant: x = "body1",
784
- weight: i = "regular",
785
- tag: l = "p",
786
- ...v
862
+ variant: h = "body1",
863
+ weight: o = "regular",
864
+ tag: c = "p",
865
+ ...d
787
866
  }) {
788
- const p = "text";
789
- return /* @__PURE__ */ U.jsx(
790
- l,
867
+ const v = "text";
868
+ return /* @__PURE__ */ w.jsx(
869
+ c,
791
870
  {
792
- ...c,
793
- ...v,
794
- className: J(
795
- M[p],
871
+ ...a,
872
+ ...d,
873
+ className: k(
874
+ G[v],
796
875
  f,
797
- D(M, p, g),
798
- D(M, p, x),
799
- St(M, p, i)
876
+ F(G, v, g),
877
+ F(G, v, h),
878
+ Ar(G, v, o)
800
879
  ),
801
880
  children: _
802
881
  }
803
882
  );
804
883
  }
805
- const lr = "_themeProviderScoped_14d71_2", fr = {
806
- themeProviderScoped: lr
884
+ const Dr = "_themeProviderScoped_1hzo9_2", Fr = {
885
+ themeProviderScoped: Dr
807
886
  };
808
- function br({ className: c, children: _ }) {
809
- return /* @__PURE__ */ U.jsx("div", { className: J(fr.themeProviderScoped, c), children: _ });
887
+ function Vr({ className: a, children: _ }) {
888
+ return /* @__PURE__ */ w.jsx("div", { className: k(Fr.themeProviderScoped, a), children: _ });
810
889
  }
811
890
  export {
812
- vr as Avatar,
813
- dr as IconButton,
814
- pr as Text,
815
- br as ThemeProviderScoped,
816
- St as getFontWeightClass,
817
- Ae as getSizeClass,
818
- D as getStyleClass
891
+ Lr as Avatar,
892
+ Mr as Hint,
893
+ $r as IconButton,
894
+ Nr as Text,
895
+ Vr as ThemeProviderScoped,
896
+ K as getSizeClass,
897
+ F as getStyleClass
819
898
  };
820
899
  //# sourceMappingURL=ui-kit.es.js.map