@foris/avocado-suite 0.0.1-beta.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js DELETED
@@ -1,714 +0,0 @@
1
- import we from "react";
2
- var X = {}, sr = {
3
- get exports() {
4
- return X;
5
- },
6
- set exports(v) {
7
- X = v;
8
- }
9
- }, A = {};
10
- /**
11
- * @license React
12
- * react-jsx-runtime.production.min.js
13
- *
14
- * Copyright (c) Facebook, Inc. and its affiliates.
15
- *
16
- * This source code is licensed under the MIT license found in the
17
- * LICENSE file in the root directory of this source tree.
18
- */
19
- var Oe;
20
- function lr() {
21
- if (Oe)
22
- return A;
23
- Oe = 1;
24
- var v = we, R = Symbol.for("react.element"), h = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, m = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
25
- function y(E, c, C) {
26
- var b, T = {}, w = null, $ = null;
27
- C !== void 0 && (w = "" + C), c.key !== void 0 && (w = "" + c.key), c.ref !== void 0 && ($ = c.ref);
28
- for (b in c)
29
- d.call(c, b) && !f.hasOwnProperty(b) && (T[b] = c[b]);
30
- if (E && E.defaultProps)
31
- for (b in c = E.defaultProps, c)
32
- T[b] === void 0 && (T[b] = c[b]);
33
- return { $$typeof: R, type: E, key: w, ref: $, props: T, _owner: m.current };
34
- }
35
- return A.Fragment = h, A.jsx = y, A.jsxs = y, A;
36
- }
37
- var I = {};
38
- /**
39
- * @license React
40
- * react-jsx-runtime.development.js
41
- *
42
- * Copyright (c) Facebook, Inc. and its affiliates.
43
- *
44
- * This source code is licensed under the MIT license found in the
45
- * LICENSE file in the root directory of this source tree.
46
- */
47
- var Se;
48
- function fr() {
49
- return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
50
- var v = we, R = Symbol.for("react.element"), h = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), E = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), Q = Symbol.iterator, Pe = "@@iterator";
51
- function Ce(e) {
52
- if (e === null || typeof e != "object")
53
- return null;
54
- var r = Q && e[Q] || e[Pe];
55
- return typeof r == "function" ? r : null;
56
- }
57
- var x = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
- function p(e) {
59
- {
60
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
61
- t[n - 1] = arguments[n];
62
- xe("error", e, t);
63
- }
64
- }
65
- function xe(e, r, t) {
66
- {
67
- var n = x.ReactDebugCurrentFrame, i = n.getStackAddendum();
68
- i !== "" && (r += "%s", t = t.concat([i]));
69
- var u = t.map(function(o) {
70
- return String(o);
71
- });
72
- u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
73
- }
74
- }
75
- var je = !1, ke = !1, De = !1, Fe = !1, Ae = !1, ee;
76
- ee = Symbol.for("react.module.reference");
77
- function Ie(e) {
78
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === f || Ae || e === m || e === C || e === b || Fe || e === $ || je || ke || De || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === T || e.$$typeof === y || e.$$typeof === E || e.$$typeof === c || // This needs to include all possible module reference object
79
- // types supported by any Flight configuration anywhere since
80
- // we don't know which Flight build this will end up being used
81
- // with.
82
- e.$$typeof === ee || e.getModuleId !== void 0));
83
- }
84
- function $e(e, r, t) {
85
- var n = e.displayName;
86
- if (n)
87
- return n;
88
- var i = r.displayName || r.name || "";
89
- return i !== "" ? t + "(" + i + ")" : t;
90
- }
91
- function re(e) {
92
- return e.displayName || "Context";
93
- }
94
- function O(e) {
95
- if (e == null)
96
- return null;
97
- if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
98
- return e.displayName || e.name || null;
99
- if (typeof e == "string")
100
- return e;
101
- switch (e) {
102
- case d:
103
- return "Fragment";
104
- case h:
105
- return "Portal";
106
- case f:
107
- return "Profiler";
108
- case m:
109
- return "StrictMode";
110
- case C:
111
- return "Suspense";
112
- case b:
113
- return "SuspenseList";
114
- }
115
- if (typeof e == "object")
116
- switch (e.$$typeof) {
117
- case E:
118
- var r = e;
119
- return re(r) + ".Consumer";
120
- case y:
121
- var t = e;
122
- return re(t._context) + ".Provider";
123
- case c:
124
- return $e(e, e.render, "ForwardRef");
125
- case T:
126
- var n = e.displayName || null;
127
- return n !== null ? n : O(e.type) || "Memo";
128
- case w: {
129
- var i = e, u = i._payload, o = i._init;
130
- try {
131
- return O(o(u));
132
- } catch {
133
- return null;
134
- }
135
- }
136
- }
137
- return null;
138
- }
139
- var P = Object.assign, D = 0, te, ne, ae, oe, ie, ue, se;
140
- function le() {
141
- }
142
- le.__reactDisabledLog = !0;
143
- function We() {
144
- {
145
- if (D === 0) {
146
- te = console.log, ne = console.info, ae = console.warn, oe = console.error, ie = console.group, ue = console.groupCollapsed, se = console.groupEnd;
147
- var e = {
148
- configurable: !0,
149
- enumerable: !0,
150
- value: le,
151
- writable: !0
152
- };
153
- Object.defineProperties(console, {
154
- info: e,
155
- log: e,
156
- warn: e,
157
- error: e,
158
- group: e,
159
- groupCollapsed: e,
160
- groupEnd: e
161
- });
162
- }
163
- D++;
164
- }
165
- }
166
- function Ye() {
167
- {
168
- if (D--, D === 0) {
169
- var e = {
170
- configurable: !0,
171
- enumerable: !0,
172
- writable: !0
173
- };
174
- Object.defineProperties(console, {
175
- log: P({}, e, {
176
- value: te
177
- }),
178
- info: P({}, e, {
179
- value: ne
180
- }),
181
- warn: P({}, e, {
182
- value: ae
183
- }),
184
- error: P({}, e, {
185
- value: oe
186
- }),
187
- group: P({}, e, {
188
- value: ie
189
- }),
190
- groupCollapsed: P({}, e, {
191
- value: ue
192
- }),
193
- groupEnd: P({}, e, {
194
- value: se
195
- })
196
- });
197
- }
198
- D < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
199
- }
200
- }
201
- var M = x.ReactCurrentDispatcher, U;
202
- function W(e, r, t) {
203
- {
204
- if (U === void 0)
205
- try {
206
- throw Error();
207
- } catch (i) {
208
- var n = i.stack.trim().match(/\n( *(at )?)/);
209
- U = n && n[1] || "";
210
- }
211
- return `
212
- ` + U + e;
213
- }
214
- }
215
- var B = !1, Y;
216
- {
217
- var Ne = typeof WeakMap == "function" ? WeakMap : Map;
218
- Y = new Ne();
219
- }
220
- function fe(e, r) {
221
- if (!e || B)
222
- return "";
223
- {
224
- var t = Y.get(e);
225
- if (t !== void 0)
226
- return t;
227
- }
228
- var n;
229
- B = !0;
230
- var i = Error.prepareStackTrace;
231
- Error.prepareStackTrace = void 0;
232
- var u;
233
- u = M.current, M.current = null, We();
234
- try {
235
- if (r) {
236
- var o = function() {
237
- throw Error();
238
- };
239
- if (Object.defineProperty(o.prototype, "props", {
240
- set: function() {
241
- throw Error();
242
- }
243
- }), typeof Reflect == "object" && Reflect.construct) {
244
- try {
245
- Reflect.construct(o, []);
246
- } catch (S) {
247
- n = S;
248
- }
249
- Reflect.construct(e, [], o);
250
- } else {
251
- try {
252
- o.call();
253
- } catch (S) {
254
- n = S;
255
- }
256
- e.call(o.prototype);
257
- }
258
- } else {
259
- try {
260
- throw Error();
261
- } catch (S) {
262
- n = S;
263
- }
264
- e();
265
- }
266
- } catch (S) {
267
- if (S && n && typeof S.stack == "string") {
268
- for (var a = S.stack.split(`
269
- `), _ = n.stack.split(`
270
- `), s = a.length - 1, l = _.length - 1; s >= 1 && l >= 0 && a[s] !== _[l]; )
271
- l--;
272
- for (; s >= 1 && l >= 0; s--, l--)
273
- if (a[s] !== _[l]) {
274
- if (s !== 1 || l !== 1)
275
- do
276
- if (s--, l--, l < 0 || a[s] !== _[l]) {
277
- var g = `
278
- ` + a[s].replace(" at new ", " at ");
279
- return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, g), g;
280
- }
281
- while (s >= 1 && l >= 0);
282
- break;
283
- }
284
- }
285
- } finally {
286
- B = !1, M.current = u, Ye(), Error.prepareStackTrace = i;
287
- }
288
- var k = e ? e.displayName || e.name : "", Te = k ? W(k) : "";
289
- return typeof e == "function" && Y.set(e, Te), Te;
290
- }
291
- function Le(e, r, t) {
292
- return fe(e, !1);
293
- }
294
- function Ve(e) {
295
- var r = e.prototype;
296
- return !!(r && r.isReactComponent);
297
- }
298
- function N(e, r, t) {
299
- if (e == null)
300
- return "";
301
- if (typeof e == "function")
302
- return fe(e, Ve(e));
303
- if (typeof e == "string")
304
- return W(e);
305
- switch (e) {
306
- case C:
307
- return W("Suspense");
308
- case b:
309
- return W("SuspenseList");
310
- }
311
- if (typeof e == "object")
312
- switch (e.$$typeof) {
313
- case c:
314
- return Le(e.render);
315
- case T:
316
- return N(e.type, r, t);
317
- case w: {
318
- var n = e, i = n._payload, u = n._init;
319
- try {
320
- return N(u(i), r, t);
321
- } catch {
322
- }
323
- }
324
- }
325
- return "";
326
- }
327
- var L = Object.prototype.hasOwnProperty, ce = {}, ve = x.ReactDebugCurrentFrame;
328
- function V(e) {
329
- if (e) {
330
- var r = e._owner, t = N(e.type, e._source, r ? r.type : null);
331
- ve.setExtraStackFrame(t);
332
- } else
333
- ve.setExtraStackFrame(null);
334
- }
335
- function Me(e, r, t, n, i) {
336
- {
337
- var u = Function.call.bind(L);
338
- for (var o in e)
339
- if (u(e, o)) {
340
- var a = void 0;
341
- try {
342
- if (typeof e[o] != "function") {
343
- var _ = Error((n || "React class") + ": " + t + " 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`.");
344
- throw _.name = "Invariant Violation", _;
345
- }
346
- a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
347
- } catch (s) {
348
- a = s;
349
- }
350
- a && !(a instanceof Error) && (V(i), p("%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, o, typeof a), V(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, V(i), p("Failed %s type: %s", t, a.message), V(null));
351
- }
352
- }
353
- }
354
- var Ue = Array.isArray;
355
- function q(e) {
356
- return Ue(e);
357
- }
358
- function Be(e) {
359
- {
360
- var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
361
- return t;
362
- }
363
- }
364
- function qe(e) {
365
- try {
366
- return de(e), !1;
367
- } catch {
368
- return !0;
369
- }
370
- }
371
- function de(e) {
372
- return "" + e;
373
- }
374
- function pe(e) {
375
- if (qe(e))
376
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(e)), de(e);
377
- }
378
- var F = x.ReactCurrentOwner, Je = {
379
- key: !0,
380
- ref: !0,
381
- __self: !0,
382
- __source: !0
383
- }, _e, be, J;
384
- J = {};
385
- function Ge(e) {
386
- if (L.call(e, "ref")) {
387
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
388
- if (r && r.isReactWarning)
389
- return !1;
390
- }
391
- return e.ref !== void 0;
392
- }
393
- function ze(e) {
394
- if (L.call(e, "key")) {
395
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
396
- if (r && r.isReactWarning)
397
- return !1;
398
- }
399
- return e.key !== void 0;
400
- }
401
- function Ke(e, r) {
402
- if (typeof e.ref == "string" && F.current && r && F.current.stateNode !== r) {
403
- var t = O(F.current.type);
404
- J[t] || (p('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', O(F.current.type), e.ref), J[t] = !0);
405
- }
406
- }
407
- function He(e, r) {
408
- {
409
- var t = function() {
410
- _e || (_e = !0, p("%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
- };
412
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
413
- get: t,
414
- configurable: !0
415
- });
416
- }
417
- }
418
- function Xe(e, r) {
419
- {
420
- var t = function() {
421
- be || (be = !0, p("%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
- };
423
- t.isReactWarning = !0, Object.defineProperty(e, "ref", {
424
- get: t,
425
- configurable: !0
426
- });
427
- }
428
- }
429
- var Ze = function(e, r, t, n, i, u, o) {
430
- var a = {
431
- // This tag allows us to uniquely identify this as a React Element
432
- $$typeof: R,
433
- // Built-in properties that belong on the element
434
- type: e,
435
- key: r,
436
- ref: t,
437
- props: o,
438
- // Record the component responsible for creating this element.
439
- _owner: u
440
- };
441
- return a._store = {}, Object.defineProperty(a._store, "validated", {
442
- configurable: !1,
443
- enumerable: !1,
444
- writable: !0,
445
- value: !1
446
- }), Object.defineProperty(a, "_self", {
447
- configurable: !1,
448
- enumerable: !1,
449
- writable: !1,
450
- value: n
451
- }), Object.defineProperty(a, "_source", {
452
- configurable: !1,
453
- enumerable: !1,
454
- writable: !1,
455
- value: i
456
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
457
- };
458
- function Qe(e, r, t, n, i) {
459
- {
460
- var u, o = {}, a = null, _ = null;
461
- t !== void 0 && (pe(t), a = "" + t), ze(r) && (pe(r.key), a = "" + r.key), Ge(r) && (_ = r.ref, Ke(r, i));
462
- for (u in r)
463
- L.call(r, u) && !Je.hasOwnProperty(u) && (o[u] = r[u]);
464
- if (e && e.defaultProps) {
465
- var s = e.defaultProps;
466
- for (u in s)
467
- o[u] === void 0 && (o[u] = s[u]);
468
- }
469
- if (a || _) {
470
- var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
471
- a && He(o, l), _ && Xe(o, l);
472
- }
473
- return Ze(e, a, _, i, n, F.current, o);
474
- }
475
- }
476
- var G = x.ReactCurrentOwner, he = x.ReactDebugCurrentFrame;
477
- function j(e) {
478
- if (e) {
479
- var r = e._owner, t = N(e.type, e._source, r ? r.type : null);
480
- he.setExtraStackFrame(t);
481
- } else
482
- he.setExtraStackFrame(null);
483
- }
484
- var z;
485
- z = !1;
486
- function K(e) {
487
- return typeof e == "object" && e !== null && e.$$typeof === R;
488
- }
489
- function ge() {
490
- {
491
- if (G.current) {
492
- var e = O(G.current.type);
493
- if (e)
494
- return `
495
-
496
- Check the render method of \`` + e + "`.";
497
- }
498
- return "";
499
- }
500
- }
501
- function er(e) {
502
- {
503
- if (e !== void 0) {
504
- var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
505
- return `
506
-
507
- Check your code at ` + r + ":" + t + ".";
508
- }
509
- return "";
510
- }
511
- }
512
- var me = {};
513
- function rr(e) {
514
- {
515
- var r = ge();
516
- if (!r) {
517
- var t = typeof e == "string" ? e : e.displayName || e.name;
518
- t && (r = `
519
-
520
- Check the top-level render call using <` + t + ">.");
521
- }
522
- return r;
523
- }
524
- }
525
- function ye(e, r) {
526
- {
527
- if (!e._store || e._store.validated || e.key != null)
528
- return;
529
- e._store.validated = !0;
530
- var t = rr(r);
531
- if (me[t])
532
- return;
533
- me[t] = !0;
534
- var n = "";
535
- e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + O(e._owner.type) + "."), j(e), p('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), j(null);
536
- }
537
- }
538
- function Ee(e, r) {
539
- {
540
- if (typeof e != "object")
541
- return;
542
- if (q(e))
543
- for (var t = 0; t < e.length; t++) {
544
- var n = e[t];
545
- K(n) && ye(n, r);
546
- }
547
- else if (K(e))
548
- e._store && (e._store.validated = !0);
549
- else if (e) {
550
- var i = Ce(e);
551
- if (typeof i == "function" && i !== e.entries)
552
- for (var u = i.call(e), o; !(o = u.next()).done; )
553
- K(o.value) && ye(o.value, r);
554
- }
555
- }
556
- }
557
- function tr(e) {
558
- {
559
- var r = e.type;
560
- if (r == null || typeof r == "string")
561
- return;
562
- var t;
563
- if (typeof r == "function")
564
- t = r.propTypes;
565
- else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
566
- // Inner props are checked in the reconciler.
567
- r.$$typeof === T))
568
- t = r.propTypes;
569
- else
570
- return;
571
- if (t) {
572
- var n = O(r);
573
- Me(t, e.props, "prop", n, e);
574
- } else if (r.PropTypes !== void 0 && !z) {
575
- z = !0;
576
- var i = O(r);
577
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
578
- }
579
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
580
- }
581
- }
582
- function nr(e) {
583
- {
584
- for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
585
- var n = r[t];
586
- if (n !== "children" && n !== "key") {
587
- j(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), j(null);
588
- break;
589
- }
590
- }
591
- e.ref !== null && (j(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), j(null));
592
- }
593
- }
594
- function Re(e, r, t, n, i, u) {
595
- {
596
- var o = Ie(e);
597
- if (!o) {
598
- var a = "";
599
- (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.");
600
- var _ = er(i);
601
- _ ? a += _ : a += ge();
602
- var s;
603
- e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === R ? (s = "<" + (O(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
604
- }
605
- var l = Qe(e, r, t, i, u);
606
- if (l == null)
607
- return l;
608
- if (o) {
609
- var g = r.children;
610
- if (g !== void 0)
611
- if (n)
612
- if (q(g)) {
613
- for (var k = 0; k < g.length; k++)
614
- Ee(g[k], e);
615
- Object.freeze && Object.freeze(g);
616
- } else
617
- p("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
- else
619
- Ee(g, e);
620
- }
621
- return e === d ? nr(l) : tr(l), l;
622
- }
623
- }
624
- function ar(e, r, t) {
625
- return Re(e, r, t, !0);
626
- }
627
- function or(e, r, t) {
628
- return Re(e, r, t, !1);
629
- }
630
- var ir = or, ur = ar;
631
- I.Fragment = d, I.jsx = ir, I.jsxs = ur;
632
- }()), I;
633
- }
634
- (function(v) {
635
- process.env.NODE_ENV === "production" ? v.exports = lr() : v.exports = fr();
636
- })(sr);
637
- var Z = {}, cr = {
638
- get exports() {
639
- return Z;
640
- },
641
- set exports(v) {
642
- Z = v;
643
- }
644
- };
645
- /*!
646
- Copyright (c) 2018 Jed Watson.
647
- Licensed under the MIT License (MIT), see
648
- http://jedwatson.github.io/classnames
649
- */
650
- (function(v) {
651
- (function() {
652
- var R = {}.hasOwnProperty;
653
- function h() {
654
- for (var d = [], m = 0; m < arguments.length; m++) {
655
- var f = arguments[m];
656
- if (f) {
657
- var y = typeof f;
658
- if (y === "string" || y === "number")
659
- d.push(f);
660
- else if (Array.isArray(f)) {
661
- if (f.length) {
662
- var E = h.apply(null, f);
663
- E && d.push(E);
664
- }
665
- } else if (y === "object") {
666
- if (f.toString !== Object.prototype.toString && !f.toString.toString().includes("[native code]")) {
667
- d.push(f.toString());
668
- continue;
669
- }
670
- for (var c in f)
671
- R.call(f, c) && f[c] && d.push(c);
672
- }
673
- }
674
- }
675
- return d.join(" ");
676
- }
677
- v.exports ? (h.default = h, v.exports = h) : window.classNames = h;
678
- })();
679
- })(cr);
680
- const vr = Z, dr = "_button_1npli_1", pr = "_button__outline_1npli_32", _r = "_button__ghost_1npli_48", br = "_button__danger_1npli_63", H = {
681
- button: dr,
682
- button__outline: pr,
683
- button__ghost: _r,
684
- button__danger: br
685
- }, hr = (v) => {
686
- const {
687
- children: R,
688
- className: h,
689
- color: d = "primary",
690
- variant: m = "solid",
691
- type: f = "button",
692
- ...y
693
- } = v;
694
- return /* @__PURE__ */ X.jsx(
695
- "button",
696
- {
697
- className: vr(
698
- H.button,
699
- h && h,
700
- d && H[`button__${d}`],
701
- m && H[`button__${m}`]
702
- ),
703
- type: f,
704
- ...y,
705
- children: R
706
- }
707
- );
708
- };
709
- hr.prototype = {
710
- avocado: "Button"
711
- };
712
- export {
713
- hr as Button
714
- };