@foris/avocado-suite 0.0.1-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,714 @@
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
+ };
@@ -0,0 +1,31 @@
1
+ (function(w,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],x):(w=typeof globalThis<"u"?globalThis:w||self,x(w["avocado-suite"]={},w.React))})(this,function(w,x){"use strict";var B={},xe={get exports(){return B},set exports(d){B=d}},A={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var re;function je(){if(re)return A;re=1;var d=x,R=Symbol.for("react.element"),h=Symbol.for("react.fragment"),v=Object.prototype.hasOwnProperty,m=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function y(E,c,j){var b,T={},P=null,$=null;j!==void 0&&(P=""+j),c.key!==void 0&&(P=""+c.key),c.ref!==void 0&&($=c.ref);for(b in c)v.call(c,b)&&!l.hasOwnProperty(b)&&(T[b]=c[b]);if(E&&E.defaultProps)for(b in c=E.defaultProps,c)T[b]===void 0&&(T[b]=c[b]);return{$$typeof:R,type:E,key:P,ref:$,props:T,_owner:m.current}}return A.Fragment=h,A.jsx=y,A.jsxs=y,A}var I={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var te;function ke(){return te||(te=1,process.env.NODE_ENV!=="production"&&function(){var d=x,R=Symbol.for("react.element"),h=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),E=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),ae=Symbol.iterator,Ae="@@iterator";function Ie(e){if(e===null||typeof e!="object")return null;var r=ae&&e[ae]||e[Ae];return typeof r=="function"?r:null}var k=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];We("error",e,t)}}function We(e,r,t){{var n=k.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ye=!1,$e=!1,Ne=!1,Le=!1,Me=!1,oe;oe=Symbol.for("react.module.reference");function Ve(e){return!!(typeof e=="string"||typeof e=="function"||e===v||e===l||Me||e===m||e===j||e===b||Le||e===$||Ye||$e||Ne||typeof e=="object"&&e!==null&&(e.$$typeof===P||e.$$typeof===T||e.$$typeof===y||e.$$typeof===E||e.$$typeof===c||e.$$typeof===oe||e.getModuleId!==void 0))}function Ue(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function ie(e){return e.displayName||"Context"}function O(e){if(e==null)return null;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")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case v:return"Fragment";case h:return"Portal";case l:return"Profiler";case m:return"StrictMode";case j:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case E:var r=e;return ie(r)+".Consumer";case y:var t=e;return ie(t._context)+".Provider";case c:return Ue(e,e.render,"ForwardRef");case T:var n=e.displayName||null;return n!==null?n:O(e.type)||"Memo";case P:{var i=e,u=i._payload,o=i._init;try{return O(o(u))}catch{return null}}}return null}var C=Object.assign,W=0,ue,se,fe,le,ce,de,ve;function pe(){}pe.__reactDisabledLog=!0;function Be(){{if(W===0){ue=console.log,se=console.info,fe=console.warn,le=console.error,ce=console.group,de=console.groupCollapsed,ve=console.groupEnd;var e={configurable:!0,enumerable:!0,value:pe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function qe(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C({},e,{value:ue}),info:C({},e,{value:se}),warn:C({},e,{value:fe}),error:C({},e,{value:le}),group:C({},e,{value:ce}),groupCollapsed:C({},e,{value:de}),groupEnd:C({},e,{value:ve})})}W<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var G=k.ReactCurrentDispatcher,z;function N(e,r,t){{if(z===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);z=n&&n[1]||""}return`
18
+ `+z+e}}var K=!1,L;{var Je=typeof WeakMap=="function"?WeakMap:Map;L=new Je}function _e(e,r){if(!e||K)return"";{var t=L.get(e);if(t!==void 0)return t}var n;K=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=G.current,G.current=null,Be();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(S){n=S}Reflect.construct(e,[],o)}else{try{o.call()}catch(S){n=S}e.call(o.prototype)}}else{try{throw Error()}catch(S){n=S}e()}}catch(S){if(S&&n&&typeof S.stack=="string"){for(var a=S.stack.split(`
19
+ `),_=n.stack.split(`
20
+ `),s=a.length-1,f=_.length-1;s>=1&&f>=0&&a[s]!==_[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==_[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==_[f]){var g=`
21
+ `+a[s].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&L.set(e,g),g}while(s>=1&&f>=0);break}}}finally{K=!1,G.current=u,qe(),Error.prepareStackTrace=i}var F=e?e.displayName||e.name:"",Ce=F?N(F):"";return typeof e=="function"&&L.set(e,Ce),Ce}function Ge(e,r,t){return _e(e,!1)}function ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function M(e,r,t){if(e==null)return"";if(typeof e=="function")return _e(e,ze(e));if(typeof e=="string")return N(e);switch(e){case j:return N("Suspense");case b:return N("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return Ge(e.render);case T:return M(e.type,r,t);case P:{var n=e,i=n._payload,u=n._init;try{return M(u(i),r,t)}catch{}}}return""}var V=Object.prototype.hasOwnProperty,be={},he=k.ReactDebugCurrentFrame;function U(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function Ke(e,r,t,n,i){{var u=Function.call.bind(V);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){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`.");throw _.name="Invariant Violation",_}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(U(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),U(null)),a instanceof Error&&!(a.message in be)&&(be[a.message]=!0,U(i),p("Failed %s type: %s",t,a.message),U(null))}}}var He=Array.isArray;function H(e){return He(e)}function Xe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Ze(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function me(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xe(e)),ge(e)}var Y=k.ReactCurrentOwner,Qe={key:!0,ref:!0,__self:!0,__source:!0},ye,Ee,X;X={};function er(e){if(V.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function rr(e){if(V.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function tr(e,r){if(typeof e.ref=="string"&&Y.current&&r&&Y.current.stateNode!==r){var t=O(Y.current.type);X[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(Y.current.type),e.ref),X[t]=!0)}}function nr(e,r){{var t=function(){ye||(ye=!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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ar(e,r){{var t=function(){Ee||(Ee=!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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var or=function(e,r,t,n,i,u,o){var a={$$typeof:R,type:e,key:r,ref:t,props:o,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ir(e,r,t,n,i){{var u,o={},a=null,_=null;t!==void 0&&(me(t),a=""+t),rr(r)&&(me(r.key),a=""+r.key),er(r)&&(_=r.ref,tr(r,i));for(u in r)V.call(r,u)&&!Qe.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)o[u]===void 0&&(o[u]=s[u])}if(a||_){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&nr(o,f),_&&ar(o,f)}return or(e,a,_,i,n,Y.current,o)}}var Z=k.ReactCurrentOwner,Re=k.ReactDebugCurrentFrame;function D(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}var Q;Q=!1;function ee(e){return typeof e=="object"&&e!==null&&e.$$typeof===R}function Te(){{if(Z.current){var e=O(Z.current.type);if(e)return`
22
+
23
+ Check the render method of \``+e+"`."}return""}}function ur(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
+
25
+ Check your code at `+r+":"+t+"."}return""}}var Oe={};function sr(e){{var r=Te();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
+
27
+ Check the top-level render call using <`+t+">.")}return r}}function Se(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=sr(r);if(Oe[t])return;Oe[t]=!0;var n="";e&&e._owner&&e._owner!==Z.current&&(n=" It was passed a child from "+O(e._owner.type)+"."),D(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),D(null)}}function we(e,r){{if(typeof e!="object")return;if(H(e))for(var t=0;t<e.length;t++){var n=e[t];ee(n)&&Se(n,r)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var i=Ie(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)ee(o.value)&&Se(o.value,r)}}}function fr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===c||r.$$typeof===T))t=r.propTypes;else return;if(t){var n=O(r);Ke(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Q){Q=!0;var i=O(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){D(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),D(null);break}}e.ref!==null&&(D(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),D(null))}}function Pe(e,r,t,n,i,u){{var o=Ve(e);if(!o){var a="";(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.");var _=ur(i);_?a+=_:a+=Te();var s;e===null?s="null":H(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)}var f=ir(e,r,t,i,u);if(f==null)return f;if(o){var g=r.children;if(g!==void 0)if(n)if(H(g)){for(var F=0;F<g.length;F++)we(g[F],e);Object.freeze&&Object.freeze(g)}else 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.");else we(g,e)}return e===v?lr(f):fr(f),f}}function cr(e,r,t){return Pe(e,r,t,!0)}function dr(e,r,t){return Pe(e,r,t,!1)}var vr=dr,pr=cr;I.Fragment=v,I.jsx=vr,I.jsxs=pr}()),I}(function(d){process.env.NODE_ENV==="production"?d.exports=je():d.exports=ke()})(xe);var q={},De={get exports(){return q},set exports(d){q=d}};/*!
28
+ Copyright (c) 2018 Jed Watson.
29
+ Licensed under the MIT License (MIT), see
30
+ http://jedwatson.github.io/classnames
31
+ */(function(d){(function(){var R={}.hasOwnProperty;function h(){for(var v=[],m=0;m<arguments.length;m++){var l=arguments[m];if(l){var y=typeof l;if(y==="string"||y==="number")v.push(l);else if(Array.isArray(l)){if(l.length){var E=h.apply(null,l);E&&v.push(E)}}else if(y==="object"){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){v.push(l.toString());continue}for(var c in l)R.call(l,c)&&l[c]&&v.push(c)}}}return v.join(" ")}d.exports?(h.default=h,d.exports=h):window.classNames=h})()})(De);const Fe=q,J={button:"_button_1npli_1",button__outline:"_button__outline_1npli_32",button__ghost:"_button__ghost_1npli_48",button__danger:"_button__danger_1npli_63"},ne=d=>{const{children:R,className:h,color:v="primary",variant:m="solid",type:l="button",...y}=d;return B.jsx("button",{className:Fe(J.button,h&&h,v&&J[`button__${v}`],m&&J[`button__${m}`]),type:l,...y,children:R})};ne.prototype={avocado:"Button"},w.Button=ne,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,15 @@
1
+ import React, { FC } from 'react';
2
+ export type ButtonColor = 'primary' | 'danger';
3
+ export type ButtonVariant = 'solid' | 'outline' | 'ghost';
4
+ export interface ButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
5
+ /** Render content button */
6
+ children: React.ReactNode | string;
7
+ /** Overwrite className */
8
+ className?: string;
9
+ /** Use the color scheme */
10
+ color?: ButtonColor;
11
+ /** Use the variant prop to change the visual style of the Button */
12
+ variant?: ButtonVariant;
13
+ }
14
+ declare const Button: FC<ButtonProps>;
15
+ export default Button;
@@ -0,0 +1,2 @@
1
+ import Button from './components/button/Button';
2
+ export { Button };
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ ._button_1npli_1{background:#507aaf;border:1px solid transparent;border-radius:.25rem;display:flex;justify-content:center;align-items:center;font-family:Roboto,sans-serif;font-size:.875rem;color:#fff;font-weight:700;cursor:pointer;min-height:36px;outline:none;padding:.5rem 1rem}._button_1npli_1:hover{background:#376197}._button_1npli_1:active{background:#294870}._button_1npli_1:focus-visible{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 5px #507aaf}._button_1npli_1:disabled{background:#efeff0;color:#96979e;cursor:no-drop}._button_1npli_1._button__outline_1npli_32{background:#ffffff;border:1px solid #507aaf;border-radius:.25rem;color:#376197}._button_1npli_1._button__outline_1npli_32:hover{background:#f4f5f6}._button_1npli_1._button__outline_1npli_32:active{background:#dedfe2}._button_1npli_1._button__outline_1npli_32:disabled{border:1px solid #96979e;color:#96979e}._button_1npli_1._button__ghost_1npli_48{background:transparent;border:1px solid transparent;border-radius:.25rem;color:#507aaf}._button_1npli_1._button__ghost_1npli_48:hover{background:#f4f5f6}._button_1npli_1._button__ghost_1npli_48:active{background:#dedfe2}._button_1npli_1._button__ghost_1npli_48:disabled{color:#96979e}._button_1npli_1._button__danger_1npli_63{background:#ff5f58;border:1px solid transparent;border-radius:.25rem;color:#fff}._button_1npli_1._button__danger_1npli_63:hover{background:#e33932}._button_1npli_1._button__danger_1npli_63:active{background:#bc271c}._button_1npli_1._button__danger_1npli_63:disabled{background:#efeff0;color:#96979e;cursor:no-drop}._button_1npli_1._button__danger_1npli_63._button__outline_1npli_32{background:#ffffff;border:1px solid #ff5f58;border-radius:.25rem;color:#e33932}._button_1npli_1._button__danger_1npli_63._button__outline_1npli_32:hover{background:#f4f5f6}._button_1npli_1._button__danger_1npli_63._button__outline_1npli_32:active{background:#dedfe2}._button_1npli_1._button__danger_1npli_63._button__outline_1npli_32:disabled{border:1px solid #96979e;color:#96979e}._button_1npli_1._button__danger_1npli_63._button__ghost_1npli_48{background:transparent;border:1px solid transparent;border-radius:.25rem;color:#ff5f58}._button_1npli_1._button__danger_1npli_63._button__ghost_1npli_48:hover{background:#f4f5f6}._button_1npli_1._button__danger_1npli_63._button__ghost_1npli_48:active{background:#dedfe2}._button_1npli_1._button__danger_1npli_63._button__ghost_1npli_48:disabled{color:#96979e}@media (max-width: 992px){._button_1npli_1{font-size:1.125rem;min-height:48px;padding:.75rem 1rem}}
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@foris/avocado-suite",
3
+ "version": "0.0.1-beta.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "type": "module",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "main": "./dist/avocado-suite.umd.js",
12
+ "module": "./dist/avocado-suite.es.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/avocado-suite.es.js",
17
+ "require": "./dist/avocado-suite.umd.js"
18
+ }
19
+ },
20
+ "dependencies": {
21
+ "react": "18.2.0",
22
+ "react-dom": "18.2.0",
23
+ "@foris/avocado-core": "0.0.4"
24
+ },
25
+ "devDependencies": {
26
+ "@types/node": "20.2.5",
27
+ "@types/react": "18.0.28",
28
+ "@types/react-dom": "18.0.11",
29
+ "@vitejs/plugin-react-swc": "3.0.0",
30
+ "classnames": "2.3.2",
31
+ "sass": "1.62.1",
32
+ "typescript": "5.1.3",
33
+ "vite": "4.3.2",
34
+ "vite-plugin-dts": "2.3.0",
35
+ "@foris/tsconfig": "0.0.1"
36
+ },
37
+ "scripts": {
38
+ "dev": "vite",
39
+ "build": "tsc && vite build"
40
+ }
41
+ }