@starasia/box 1.0.1 → 1.0.3

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.
package/dist/box.es.js CHANGED
@@ -1,631 +1,6 @@
1
- import Va, { forwardRef as pn } from "react";
2
- var Ia = { exports: {} }, wa = {};
3
- /**
4
- * @license React
5
- * react-jsx-runtime.production.min.js
6
- *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var Ga;
13
- function cn() {
14
- if (Ga) return wa;
15
- Ga = 1;
16
- var E = Va, c = Symbol.for("react.element"), h = Symbol.for("react.fragment"), T = Object.prototype.hasOwnProperty, Y = E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function P(y, b, _) {
18
- var u, m = {}, w = null, F = null;
19
- _ !== void 0 && (w = "" + _), b.key !== void 0 && (w = "" + b.key), b.ref !== void 0 && (F = b.ref);
20
- for (u in b) T.call(b, u) && !A.hasOwnProperty(u) && (m[u] = b[u]);
21
- if (y && y.defaultProps) for (u in b = y.defaultProps, b) m[u] === void 0 && (m[u] = b[u]);
22
- return { $$typeof: c, type: y, key: w, ref: F, props: m, _owner: Y.current };
23
- }
24
- return wa.Fragment = h, wa.jsx = P, wa.jsxs = P, wa;
25
- }
26
- var ka = {};
27
- /**
28
- * @license React
29
- * react-jsx-runtime.development.js
30
- *
31
- * Copyright (c) Facebook, Inc. and its affiliates.
32
- *
33
- * This source code is licensed under the MIT license found in the
34
- * LICENSE file in the root directory of this source tree.
35
- */
36
- var Ha;
37
- function un() {
38
- return Ha || (Ha = 1, process.env.NODE_ENV !== "production" && function() {
39
- var E = Va, c = Symbol.for("react.element"), h = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), Y = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), y = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), G = Symbol.iterator, ta = "@@iterator";
40
- function ea(a) {
41
- if (a === null || typeof a != "object")
42
- return null;
43
- var n = G && a[G] || a[ta];
44
- return typeof n == "function" ? n : null;
45
- }
46
- var C = E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function l(a) {
48
- {
49
- for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), s = 1; s < n; s++)
50
- r[s - 1] = arguments[s];
51
- da("error", a, r);
52
- }
53
- }
54
- function da(a, n, r) {
55
- {
56
- var s = C.ReactDebugCurrentFrame, e = s.getStackAddendum();
57
- e !== "" && (n += "%s", r = r.concat([e]));
58
- var d = r.map(function(t) {
59
- return String(t);
60
- });
61
- d.unshift("Warning: " + n), Function.prototype.apply.call(console[a], console, d);
62
- }
63
- }
64
- var ga = !1, S = !1, ba = !1, la = !1, pa = !1, H;
65
- H = Symbol.for("react.module.reference");
66
- function ca(a) {
67
- return !!(typeof a == "string" || typeof a == "function" || a === T || a === A || pa || a === Y || a === _ || a === u || la || a === F || ga || S || ba || typeof a == "object" && a !== null && (a.$$typeof === w || a.$$typeof === m || a.$$typeof === P || a.$$typeof === y || a.$$typeof === b || // This needs to include all possible module reference object
68
- // types supported by any Flight configuration anywhere since
69
- // we don't know which Flight build this will end up being used
70
- // with.
71
- a.$$typeof === H || a.getModuleId !== void 0));
72
- }
73
- function ua(a, n, r) {
74
- var s = a.displayName;
75
- if (s)
76
- return s;
77
- var e = n.displayName || n.name || "";
78
- return e !== "" ? r + "(" + e + ")" : r;
79
- }
80
- function U(a) {
81
- return a.displayName || "Context";
82
- }
83
- function f(a) {
84
- if (a == null)
85
- return null;
86
- if (typeof a.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
87
- return a.displayName || a.name || null;
88
- if (typeof a == "string")
89
- return a;
90
- switch (a) {
91
- case T:
92
- return "Fragment";
93
- case h:
94
- return "Portal";
95
- case A:
96
- return "Profiler";
97
- case Y:
98
- return "StrictMode";
99
- case _:
100
- return "Suspense";
101
- case u:
102
- return "SuspenseList";
103
- }
104
- if (typeof a == "object")
105
- switch (a.$$typeof) {
106
- case y:
107
- var n = a;
108
- return U(n) + ".Consumer";
109
- case P:
110
- var r = a;
111
- return U(r._context) + ".Provider";
112
- case b:
113
- return ua(a, a.render, "ForwardRef");
114
- case m:
115
- var s = a.displayName || null;
116
- return s !== null ? s : f(a.type) || "Memo";
117
- case w: {
118
- var e = a, d = e._payload, t = e._init;
119
- try {
120
- return f(t(d));
121
- } catch {
122
- return null;
123
- }
124
- }
125
- }
126
- return null;
127
- }
128
- var j = Object.assign, D = 0, V, K, J, q, z, Z, Q;
129
- function aa() {
130
- }
131
- aa.__reactDisabledLog = !0;
132
- function xa() {
133
- {
134
- if (D === 0) {
135
- V = console.log, K = console.info, J = console.warn, q = console.error, z = console.group, Z = console.groupCollapsed, Q = console.groupEnd;
136
- var a = {
137
- configurable: !0,
138
- enumerable: !0,
139
- value: aa,
140
- writable: !0
141
- };
142
- Object.defineProperties(console, {
143
- info: a,
144
- log: a,
145
- warn: a,
146
- error: a,
147
- group: a,
148
- groupCollapsed: a,
149
- groupEnd: a
150
- });
151
- }
152
- D++;
153
- }
154
- }
155
- function $() {
156
- {
157
- if (D--, D === 0) {
158
- var a = {
159
- configurable: !0,
160
- enumerable: !0,
161
- writable: !0
162
- };
163
- Object.defineProperties(console, {
164
- log: j({}, a, {
165
- value: V
166
- }),
167
- info: j({}, a, {
168
- value: K
169
- }),
170
- warn: j({}, a, {
171
- value: J
172
- }),
173
- error: j({}, a, {
174
- value: q
175
- }),
176
- group: j({}, a, {
177
- value: z
178
- }),
179
- groupCollapsed: j({}, a, {
180
- value: Z
181
- }),
182
- groupEnd: j({}, a, {
183
- value: Q
184
- })
185
- });
186
- }
187
- D < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
- }
189
- }
190
- var k = C.ReactCurrentDispatcher, N;
191
- function X(a, n, r) {
192
- {
193
- if (N === void 0)
194
- try {
195
- throw Error();
196
- } catch (e) {
197
- var s = e.stack.trim().match(/\n( *(at )?)/);
198
- N = s && s[1] || "";
199
- }
200
- return `
201
- ` + N + a;
202
- }
203
- }
204
- var W = !1, L;
205
- {
206
- var i = typeof WeakMap == "function" ? WeakMap : Map;
207
- L = new i();
208
- }
209
- function B(a, n) {
210
- if (!a || W)
211
- return "";
212
- {
213
- var r = L.get(a);
214
- if (r !== void 0)
215
- return r;
216
- }
217
- var s;
218
- W = !0;
219
- var e = Error.prepareStackTrace;
220
- Error.prepareStackTrace = void 0;
221
- var d;
222
- d = k.current, k.current = null, xa();
223
- try {
224
- if (n) {
225
- var t = function() {
226
- throw Error();
227
- };
228
- if (Object.defineProperty(t.prototype, "props", {
229
- set: function() {
230
- throw Error();
231
- }
232
- }), typeof Reflect == "object" && Reflect.construct) {
233
- try {
234
- Reflect.construct(t, []);
235
- } catch (v) {
236
- s = v;
237
- }
238
- Reflect.construct(a, [], t);
239
- } else {
240
- try {
241
- t.call();
242
- } catch (v) {
243
- s = v;
244
- }
245
- a.call(t.prototype);
246
- }
247
- } else {
248
- try {
249
- throw Error();
250
- } catch (v) {
251
- s = v;
252
- }
253
- a();
254
- }
255
- } catch (v) {
256
- if (v && s && typeof v.stack == "string") {
257
- for (var o = v.stack.split(`
258
- `), x = s.stack.split(`
259
- `), g = o.length - 1, p = x.length - 1; g >= 1 && p >= 0 && o[g] !== x[p]; )
260
- p--;
261
- for (; g >= 1 && p >= 0; g--, p--)
262
- if (o[g] !== x[p]) {
263
- if (g !== 1 || p !== 1)
264
- do
265
- if (g--, p--, p < 0 || o[g] !== x[p]) {
266
- var O = `
267
- ` + o[g].replace(" at new ", " at ");
268
- return a.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", a.displayName)), typeof a == "function" && L.set(a, O), O;
269
- }
270
- while (g >= 1 && p >= 0);
271
- break;
272
- }
273
- }
274
- } finally {
275
- W = !1, k.current = d, $(), Error.prepareStackTrace = e;
276
- }
277
- var fa = a ? a.displayName || a.name : "", sa = fa ? X(fa) : "";
278
- return typeof a == "function" && L.set(a, sa), sa;
279
- }
280
- function na(a, n, r) {
281
- return B(a, !1);
282
- }
283
- function ra(a) {
284
- var n = a.prototype;
285
- return !!(n && n.isReactComponent);
286
- }
287
- function ha(a, n, r) {
288
- if (a == null)
289
- return "";
290
- if (typeof a == "function")
291
- return B(a, ra(a));
292
- if (typeof a == "string")
293
- return X(a);
294
- switch (a) {
295
- case _:
296
- return X("Suspense");
297
- case u:
298
- return X("SuspenseList");
299
- }
300
- if (typeof a == "object")
301
- switch (a.$$typeof) {
302
- case b:
303
- return na(a.render);
304
- case m:
305
- return ha(a.type, n, r);
306
- case w: {
307
- var s = a, e = s._payload, d = s._init;
308
- try {
309
- return ha(d(e), n, r);
310
- } catch {
311
- }
312
- }
313
- }
314
- return "";
315
- }
316
- var ia = Object.prototype.hasOwnProperty, Ra = {}, Oa = C.ReactDebugCurrentFrame;
317
- function ma(a) {
318
- if (a) {
319
- var n = a._owner, r = ha(a.type, a._source, n ? n.type : null);
320
- Oa.setExtraStackFrame(r);
321
- } else
322
- Oa.setExtraStackFrame(null);
323
- }
324
- function Ta(a, n, r, s, e) {
325
- {
326
- var d = Function.call.bind(ia);
327
- for (var t in a)
328
- if (d(a, t)) {
329
- var o = void 0;
330
- try {
331
- if (typeof a[t] != "function") {
332
- var x = Error((s || "React class") + ": " + r + " type `" + t + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[t] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw x.name = "Invariant Violation", x;
334
- }
335
- o = a[t](n, t, s, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (g) {
337
- o = g;
338
- }
339
- o && !(o instanceof Error) && (ma(e), l("%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).", s || "React class", r, t, typeof o), ma(null)), o instanceof Error && !(o.message in Ra) && (Ra[o.message] = !0, ma(e), l("Failed %s type: %s", r, o.message), ma(null));
340
- }
341
- }
342
- }
343
- var _a = Array.isArray;
344
- function ya(a) {
345
- return _a(a);
346
- }
347
- function Ca(a) {
348
- {
349
- var n = typeof Symbol == "function" && Symbol.toStringTag, r = n && a[Symbol.toStringTag] || a.constructor.name || "Object";
350
- return r;
351
- }
352
- }
353
- function Sa(a) {
354
- try {
355
- return Ea(a), !1;
356
- } catch {
357
- return !0;
358
- }
359
- }
360
- function Ea(a) {
361
- return "" + a;
362
- }
363
- function R(a) {
364
- if (Sa(a))
365
- return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ca(a)), Ea(a);
366
- }
367
- var I = C.ReactCurrentOwner, M = {
368
- key: !0,
369
- ref: !0,
370
- __self: !0,
371
- __source: !0
372
- }, Ya, Aa;
373
- function Ka(a) {
374
- if (ia.call(a, "ref")) {
375
- var n = Object.getOwnPropertyDescriptor(a, "ref").get;
376
- if (n && n.isReactWarning)
377
- return !1;
378
- }
379
- return a.ref !== void 0;
380
- }
381
- function Ja(a) {
382
- if (ia.call(a, "key")) {
383
- var n = Object.getOwnPropertyDescriptor(a, "key").get;
384
- if (n && n.isReactWarning)
385
- return !1;
386
- }
387
- return a.key !== void 0;
388
- }
389
- function qa(a, n) {
390
- typeof a.ref == "string" && I.current;
391
- }
392
- function za(a, n) {
393
- {
394
- var r = function() {
395
- Ya || (Ya = !0, l("%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)", n));
396
- };
397
- r.isReactWarning = !0, Object.defineProperty(a, "key", {
398
- get: r,
399
- configurable: !0
400
- });
401
- }
402
- }
403
- function Za(a, n) {
404
- {
405
- var r = function() {
406
- Aa || (Aa = !0, l("%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)", n));
407
- };
408
- r.isReactWarning = !0, Object.defineProperty(a, "ref", {
409
- get: r,
410
- configurable: !0
411
- });
412
- }
413
- }
414
- var Qa = function(a, n, r, s, e, d, t) {
415
- var o = {
416
- // This tag allows us to uniquely identify this as a React Element
417
- $$typeof: c,
418
- // Built-in properties that belong on the element
419
- type: a,
420
- key: n,
421
- ref: r,
422
- props: t,
423
- // Record the component responsible for creating this element.
424
- _owner: d
425
- };
426
- return o._store = {}, Object.defineProperty(o._store, "validated", {
427
- configurable: !1,
428
- enumerable: !1,
429
- writable: !0,
430
- value: !1
431
- }), Object.defineProperty(o, "_self", {
432
- configurable: !1,
433
- enumerable: !1,
434
- writable: !1,
435
- value: s
436
- }), Object.defineProperty(o, "_source", {
437
- configurable: !1,
438
- enumerable: !1,
439
- writable: !1,
440
- value: e
441
- }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
442
- };
443
- function an(a, n, r, s, e) {
444
- {
445
- var d, t = {}, o = null, x = null;
446
- r !== void 0 && (R(r), o = "" + r), Ja(n) && (R(n.key), o = "" + n.key), Ka(n) && (x = n.ref, qa(n, e));
447
- for (d in n)
448
- ia.call(n, d) && !M.hasOwnProperty(d) && (t[d] = n[d]);
449
- if (a && a.defaultProps) {
450
- var g = a.defaultProps;
451
- for (d in g)
452
- t[d] === void 0 && (t[d] = g[d]);
453
- }
454
- if (o || x) {
455
- var p = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
456
- o && za(t, p), x && Za(t, p);
457
- }
458
- return Qa(a, o, x, e, s, I.current, t);
459
- }
460
- }
461
- var ja = C.ReactCurrentOwner, Fa = C.ReactDebugCurrentFrame;
462
- function va(a) {
463
- if (a) {
464
- var n = a._owner, r = ha(a.type, a._source, n ? n.type : null);
465
- Fa.setExtraStackFrame(r);
466
- } else
467
- Fa.setExtraStackFrame(null);
468
- }
469
- var Pa;
470
- Pa = !1;
471
- function Da(a) {
472
- return typeof a == "object" && a !== null && a.$$typeof === c;
473
- }
474
- function Xa() {
475
- {
476
- if (ja.current) {
477
- var a = f(ja.current.type);
478
- if (a)
479
- return `
480
-
481
- Check the render method of \`` + a + "`.";
482
- }
483
- return "";
484
- }
485
- }
486
- function nn(a) {
487
- return "";
488
- }
489
- var La = {};
490
- function rn(a) {
491
- {
492
- var n = Xa();
493
- if (!n) {
494
- var r = typeof a == "string" ? a : a.displayName || a.name;
495
- r && (n = `
496
-
497
- Check the top-level render call using <` + r + ">.");
498
- }
499
- return n;
500
- }
501
- }
502
- function Ma(a, n) {
503
- {
504
- if (!a._store || a._store.validated || a.key != null)
505
- return;
506
- a._store.validated = !0;
507
- var r = rn(n);
508
- if (La[r])
509
- return;
510
- La[r] = !0;
511
- var s = "";
512
- a && a._owner && a._owner !== ja.current && (s = " It was passed a child from " + f(a._owner.type) + "."), va(a), l('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, s), va(null);
513
- }
514
- }
515
- function Na(a, n) {
516
- {
517
- if (typeof a != "object")
518
- return;
519
- if (ya(a))
520
- for (var r = 0; r < a.length; r++) {
521
- var s = a[r];
522
- Da(s) && Ma(s, n);
523
- }
524
- else if (Da(a))
525
- a._store && (a._store.validated = !0);
526
- else if (a) {
527
- var e = ea(a);
528
- if (typeof e == "function" && e !== a.entries)
529
- for (var d = e.call(a), t; !(t = d.next()).done; )
530
- Da(t.value) && Ma(t.value, n);
531
- }
532
- }
533
- }
534
- function sn(a) {
535
- {
536
- var n = a.type;
537
- if (n == null || typeof n == "string")
538
- return;
539
- var r;
540
- if (typeof n == "function")
541
- r = n.propTypes;
542
- else if (typeof n == "object" && (n.$$typeof === b || // Note: Memo only checks outer props here.
543
- // Inner props are checked in the reconciler.
544
- n.$$typeof === m))
545
- r = n.propTypes;
546
- else
547
- return;
548
- if (r) {
549
- var s = f(n);
550
- Ta(r, a.props, "prop", s, a);
551
- } else if (n.PropTypes !== void 0 && !Pa) {
552
- Pa = !0;
553
- var e = f(n);
554
- l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", e || "Unknown");
555
- }
556
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
- }
558
- }
559
- function on(a) {
560
- {
561
- for (var n = Object.keys(a.props), r = 0; r < n.length; r++) {
562
- var s = n[r];
563
- if (s !== "children" && s !== "key") {
564
- va(a), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), va(null);
565
- break;
566
- }
567
- }
568
- a.ref !== null && (va(a), l("Invalid attribute `ref` supplied to `React.Fragment`."), va(null));
569
- }
570
- }
571
- var Wa = {};
572
- function Ba(a, n, r, s, e, d) {
573
- {
574
- var t = ca(a);
575
- if (!t) {
576
- var o = "";
577
- (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var x = nn();
579
- x ? o += x : o += Xa();
580
- var g;
581
- a === null ? g = "null" : ya(a) ? g = "array" : a !== void 0 && a.$$typeof === c ? (g = "<" + (f(a.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : g = typeof a, l("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", g, o);
582
- }
583
- var p = an(a, n, r, e, d);
584
- if (p == null)
585
- return p;
586
- if (t) {
587
- var O = n.children;
588
- if (O !== void 0)
589
- if (s)
590
- if (ya(O)) {
591
- for (var fa = 0; fa < O.length; fa++)
592
- Na(O[fa], a);
593
- Object.freeze && Object.freeze(O);
594
- } else
595
- l("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
- else
597
- Na(O, a);
598
- }
599
- if (ia.call(n, "key")) {
600
- var sa = f(a), v = Object.keys(n).filter(function(ln) {
601
- return ln !== "key";
602
- }), $a = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!Wa[sa + $a]) {
604
- var bn = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
605
- l(`A props object containing a "key" prop is being spread into JSX:
606
- let props = %s;
607
- <%s {...props} />
608
- React keys must be passed directly to JSX without using spread:
609
- let props = %s;
610
- <%s key={someKey} {...props} />`, $a, sa, bn, sa), Wa[sa + $a] = !0;
611
- }
612
- }
613
- return a === T ? on(p) : sn(p), p;
614
- }
615
- }
616
- function tn(a, n, r) {
617
- return Ba(a, n, r, !0);
618
- }
619
- function en(a, n, r) {
620
- return Ba(a, n, r, !1);
621
- }
622
- var dn = en, gn = tn;
623
- ka.Fragment = T, ka.jsx = dn, ka.jsxs = gn;
624
- }()), ka;
625
- }
626
- process.env.NODE_ENV === "production" ? Ia.exports = cn() : Ia.exports = un();
627
- var oa = Ia.exports;
628
- const xn = `:root {
1
+ import { jsx as b } from "react/jsx-runtime";
2
+ import { forwardRef as ca } from "react";
3
+ const xa = `:root {
629
4
  /* gray */
630
5
  --starasia-ui-color-gray-50: #fffeff;
631
6
  --starasia-ui-color-gray-100: #eff3f8;
@@ -742,9 +117,9 @@ const xn = `:root {
742
117
  --starasia-ui-color-pink-900: #6b094e;
743
118
 
744
119
  /* primary */
745
- --starasia-ui-brand-primary-default: var(--starasia-ui-color-blue-700);
746
- --starasia-ui-brand-primary-secondary: var(--starasia-ui-color-blue-300);
747
- --starasia-ui-brand-primary-tertiary: var(--starasia-ui-color-blue-50);
120
+ --starasia-ui-brand-primary-default: rgba(74, 106, 148, 1);
121
+ --starasia-ui-brand-primary-secondary: rgba(144, 176, 218, 1);
122
+ --starasia-ui-brand-primary-tertiary: rgba(227, 237, 248, 1);
748
123
 
749
124
  /* dark */
750
125
  --starasia-ui-utility-dark-default: var(--starasia-ui-color-gray-600);
@@ -6152,159 +5527,159 @@ const xn = `:root {
6152
5527
  display: none;
6153
5528
  }
6154
5529
  }
6155
- `, Ua = "starasia-box-styles", hn = (E) => {
6156
- if (!document.getElementById(Ua)) {
6157
- const c = document.createElement("style");
6158
- c.id = Ua, c.textContent = E, document.head.appendChild(c);
5530
+ `, na = "starasia-box-styles", ua = (d) => {
5531
+ if (!document.getElementById(na)) {
5532
+ const n = document.createElement("style");
5533
+ n.id = na, n.textContent = d, document.head.appendChild(n);
6159
5534
  }
6160
5535
  };
6161
- hn(xn);
6162
- const yn = pn((E, c) => {
5536
+ ua(xa);
5537
+ const wa = ca((d, n) => {
6163
5538
  const {
6164
- children: h,
6165
- fullWidth: T,
6166
- fullHeight: Y,
6167
- display: A = "flex",
6168
- direction: P = "column",
6169
- justify: y,
6170
- align: b,
6171
- gap: _,
6172
- margin: u,
6173
- marginTop: m,
6174
- marginRight: w,
6175
- marginBottom: F,
6176
- marginLeft: G,
6177
- padding: ta,
6178
- paddingTop: ea,
5539
+ children: r,
5540
+ fullWidth: x,
5541
+ fullHeight: u,
5542
+ display: h = "flex",
5543
+ direction: m = "column",
5544
+ justify: v,
5545
+ align: f,
5546
+ gap: w,
5547
+ margin: y,
5548
+ marginTop: k,
5549
+ marginRight: O,
5550
+ marginBottom: R,
5551
+ marginLeft: T,
5552
+ padding: X,
5553
+ paddingTop: $,
6179
5554
  paddingRight: C,
6180
- paddingBottom: l,
6181
- paddingLeft: da,
6182
- bg: ga,
6183
- variant: S,
6184
- show: ba,
6185
- hide: la,
6186
- flex: pa,
6187
- minWidth: H,
6188
- shadow: ca,
6189
- flexWrap: ua,
6190
- width: U,
6191
- height: f,
6192
- wrap: j,
6193
- borderRadius: D = "rounded-none",
6194
- borderWidth: V,
6195
- borderColor: K,
6196
- borderStyle: J,
6197
- position: q,
6198
- top: z,
6199
- left: Z,
6200
- right: Q,
6201
- bottom: aa,
6202
- Translate: xa,
6203
- overflow: $,
6204
- rowGap: k,
6205
- borderTopLeftRadius: N,
6206
- borderTopRightRadius: X,
6207
- borderBottomRightRadius: W,
6208
- borderBottomLeftRadius: L,
6209
- cursor: i,
6210
- paddingBlock: B,
6211
- paddingInline: na,
6212
- marginInline: ra,
6213
- marginBlock: ha,
5555
+ paddingBottom: Y,
5556
+ paddingLeft: I,
5557
+ bg: D,
5558
+ variant: i,
5559
+ show: S,
5560
+ hide: A,
5561
+ flex: E,
5562
+ minWidth: M,
5563
+ shadow: N,
5564
+ flexWrap: L,
5565
+ width: B,
5566
+ height: G,
5567
+ wrap: aa,
5568
+ borderRadius: H = "rounded-none",
5569
+ borderWidth: F,
5570
+ borderColor: j,
5571
+ borderStyle: P,
5572
+ position: W,
5573
+ top: U,
5574
+ left: K,
5575
+ right: J,
5576
+ bottom: z,
5577
+ Translate: V,
5578
+ overflow: o,
5579
+ rowGap: t,
5580
+ borderTopLeftRadius: q,
5581
+ borderTopRightRadius: Q,
5582
+ borderBottomRightRadius: Z,
5583
+ borderBottomLeftRadius: _,
5584
+ cursor: a,
5585
+ paddingBlock: l,
5586
+ paddingInline: p,
5587
+ marginInline: c,
5588
+ marginBlock: ra,
6214
5589
  customBorder: ia,
6215
- customHeight: Ra,
6216
- customWidth: Oa,
6217
- customMaxHeight: ma,
6218
- customMinHeight: Ta,
6219
- customMaxWidth: _a,
6220
- customMinWidth: ya,
6221
- customMargin: Ca,
6222
- customPadding: Sa,
6223
- customBackgroundColor: Ea,
6224
- ...R
6225
- } = E, I = `${mn(
6226
- T,
6227
- Y,
6228
- A,
6229
- P,
6230
- y,
6231
- b,
6232
- _,
6233
- k,
6234
- ga,
6235
- pa,
6236
- H,
5590
+ customHeight: sa,
5591
+ customWidth: oa,
5592
+ customMaxHeight: ta,
5593
+ customMinHeight: da,
5594
+ customMaxWidth: ea,
5595
+ customMinWidth: ga,
5596
+ customMargin: ba,
5597
+ customPadding: la,
5598
+ customBackgroundColor: pa,
5599
+ ...s
5600
+ } = d, e = `${ha(
5601
+ x,
6237
5602
  u,
5603
+ h,
6238
5604
  m,
6239
- w,
6240
- F,
6241
- G,
6242
- ta,
6243
- ea,
6244
- C,
6245
- l,
6246
- da,
6247
- ca,
6248
- ua,
6249
- U,
5605
+ v,
6250
5606
  f,
5607
+ w,
5608
+ t,
6251
5609
  D,
6252
- N,
5610
+ E,
5611
+ M,
5612
+ y,
5613
+ k,
5614
+ O,
5615
+ R,
5616
+ T,
6253
5617
  X,
6254
- W,
5618
+ $,
5619
+ C,
5620
+ Y,
5621
+ I,
5622
+ N,
6255
5623
  L,
6256
- V,
5624
+ B,
5625
+ G,
5626
+ H,
5627
+ q,
5628
+ Q,
5629
+ Z,
5630
+ _,
5631
+ F,
5632
+ j,
5633
+ P,
5634
+ W,
5635
+ U,
6257
5636
  K,
6258
5637
  J,
6259
- q,
6260
5638
  z,
6261
- Z,
6262
- Q,
6263
- aa,
6264
- xa,
6265
- $,
6266
- i,
6267
- ba,
6268
- la,
6269
- B,
6270
- na,
6271
- ra,
6272
- ha
6273
- )} ${R.className}`, M = {
5639
+ V,
5640
+ o,
5641
+ a,
5642
+ S,
5643
+ A,
5644
+ l,
5645
+ p,
5646
+ c,
5647
+ ra
5648
+ )} ${s.className}`, g = {
6274
5649
  border: ia,
6275
- height: Ra,
6276
- width: Oa,
6277
- maxHeight: ma,
6278
- minHeight: Ta,
6279
- maxWidth: _a,
6280
- minWidth: ya,
6281
- margin: Ca,
6282
- padding: Sa,
6283
- background: Ea,
6284
- ...R.style
5650
+ height: sa,
5651
+ width: oa,
5652
+ maxHeight: ta,
5653
+ minHeight: da,
5654
+ maxWidth: ea,
5655
+ minWidth: ga,
5656
+ margin: ba,
5657
+ padding: la,
5658
+ background: pa,
5659
+ ...s.style
6285
5660
  };
6286
- return S === "article" ? /* @__PURE__ */ oa.jsx("article", { ref: c, ...R, className: I, style: M, children: h }) : S === "aside" ? /* @__PURE__ */ oa.jsx("aside", { ref: c, ...R, className: I, style: M, children: h }) : S === "header" ? /* @__PURE__ */ oa.jsx("header", { ref: c, ...R, className: I, style: M, children: h }) : S === "main" ? /* @__PURE__ */ oa.jsx("main", { ref: c, ...R, className: I, style: M, children: h }) : S === "nav" ? /* @__PURE__ */ oa.jsx("nav", { ref: c, ...R, className: I, style: M, children: h }) : S === "section" ? /* @__PURE__ */ oa.jsx("section", { ref: c, ...R, className: I, style: M, children: h }) : /* @__PURE__ */ oa.jsx("div", { ref: c, ...R, className: I, style: M, children: h });
6287
- }), mn = (E, c, h, T, Y, A, P, y, b, _, u, m, w, F, G, ta, ea, C, l, da, ga, S, ba, la, pa, H, ca, ua, U, f, j, D, V, K, J, q, z, Z, Q, aa, xa, $, k, N, X, W, L) => {
6288
- const i = [];
6289
- if (E && i.push("starasia-box-fullWidth"), c && i.push("starasia-box-fullHeight"), h && i.push(`starasia-box-${h}`), T && i.push(`starasia-box-${T}`), Y && i.push(`starasia-box-justify-${Y}`), A && i.push(`starasia-box-${A}`), P && i.push(`starasia-box-gap-${P}`), y && i.push(`starasia-box-row-gap-${y}`), b && i.push(`starasia-box-bg-color-${b}`), _ && i.push(`starasia-box-flex-${_}`), u && i.push(`starasia-box-min-width${u}`), m && i.push(`starasia-box-margin-${m}`), w && i.push(`starasia-box-margin-top-${w}`), F && i.push(`starasia-box-margin-right-${F}`), G && i.push(`starasia-box-margin-bottom-${G}`), ta && i.push(`starasia-box-margin-left-${ta}`), W && i.push(`starasia-box-margin-inline-${W}`), L && i.push(`starasia-box-margin-block-${L}`), ea && i.push(`starasia-box-padding-${ea}`), C && i.push(`starasia-box-padding-top-${C}`), l && i.push(`starasia-box-padding-right-${l}`), da && i.push(`starasia-box-padding-bottom-${da}`), ga && i.push(`starasia-box-padding-left-${ga}`), N && i.push(`starasia-box-padding-block-${N}`), X && i.push(`starasia-box-padding-inline-${X}`), S && i.push(`starasia-box-${S}`), ba && i.push(`starasia-box-flex-${ba}`), la && i.push(`starasia-box-${la}`), pa && i.push(`starasia-box-${pa}`), H && i.push(`starasia-box-${H}`), ca && i.push(`starasia-box-top-left-${ca}`), ua && i.push(`starasia-box-top-right-${ua}`), U && i.push(`starasia-box-bottom-right-${U}`), f && i.push(`starasia-box-bottom-left-${f}`), j && i.push(`starasia-box-${j}`), D && i.push(`starasia-box-border-color-${D}`), V && i.push(`starasia-box-${V}`), K && i.push(`starasia-box-position-${K}`), J && i.push(`starasia-box-position-${J}`), q && i.push(`starasia-box-position-${q}`), z && i.push(`starasia-box-position-${z}`), Z && i.push(`starasia-box-position-${Z}`), Q && i.push(`starasia-box-${Q}`), aa && i.push(`starasia-box-${aa}`), xa && i.push(`starasia-box-cursor-${xa}`), typeof $ == "string")
6290
- $ === "mobile" ? (i.push("hideOnTablet"), i.push("hideOnDesktop")) : $ === "tablet" ? (i.push("hideOnMobile"), i.push("hideOnDesktop")) : $ === "desktop" && (i.push("hideOnMobile"), i.push("hideOnTablet"));
6291
- else if (typeof k == "string")
6292
- k === "mobile" ? i.push("hideOnMobile") : k === "tablet" ? i.push("hideOnTablet") : k === "desktop" && i.push("hideOnDesktop");
6293
- else if (typeof $ == "object") {
6294
- const { mobile: B = !0, tablet: na = !0, desktop: ra = !0 } = $;
6295
- B || i.push("hideOnMobile"), na || i.push("hideOnTablet"), ra || i.push("hideOnDesktop");
6296
- } else if (typeof k == "object") {
6297
- const { mobile: B = !0, tablet: na = !0, desktop: ra = !0 } = k;
6298
- B || i.push("hideOnMobile"), na || i.push("hideOnTablet"), ra || i.push("hideOnDesktop");
5661
+ return i === "article" ? /* @__PURE__ */ b("article", { ref: n, ...s, className: e, style: g, children: r }) : i === "aside" ? /* @__PURE__ */ b("aside", { ref: n, ...s, className: e, style: g, children: r }) : i === "header" ? /* @__PURE__ */ b("header", { ref: n, ...s, className: e, style: g, children: r }) : i === "main" ? /* @__PURE__ */ b("main", { ref: n, ...s, className: e, style: g, children: r }) : i === "nav" ? /* @__PURE__ */ b("nav", { ref: n, ...s, className: e, style: g, children: r }) : i === "section" ? /* @__PURE__ */ b("section", { ref: n, ...s, className: e, style: g, children: r }) : /* @__PURE__ */ b("div", { ref: n, ...s, className: e, style: g, children: r });
5662
+ }), ha = (d, n, r, x, u, h, m, v, f, w, y, k, O, R, T, X, $, C, Y, I, D, i, S, A, E, M, N, L, B, G, aa, H, F, j, P, W, U, K, J, z, V, o, t, q, Q, Z, _) => {
5663
+ const a = [];
5664
+ if (d && a.push("starasia-box-fullWidth"), n && a.push("starasia-box-fullHeight"), r && a.push(`starasia-box-${r}`), x && a.push(`starasia-box-${x}`), u && a.push(`starasia-box-justify-${u}`), h && a.push(`starasia-box-${h}`), m && a.push(`starasia-box-gap-${m}`), v && a.push(`starasia-box-row-gap-${v}`), f && a.push(`starasia-box-bg-color-${f}`), w && a.push(`starasia-box-flex-${w}`), y && a.push(`starasia-box-min-width${y}`), k && a.push(`starasia-box-margin-${k}`), O && a.push(`starasia-box-margin-top-${O}`), R && a.push(`starasia-box-margin-right-${R}`), T && a.push(`starasia-box-margin-bottom-${T}`), X && a.push(`starasia-box-margin-left-${X}`), Z && a.push(`starasia-box-margin-inline-${Z}`), _ && a.push(`starasia-box-margin-block-${_}`), $ && a.push(`starasia-box-padding-${$}`), C && a.push(`starasia-box-padding-top-${C}`), Y && a.push(`starasia-box-padding-right-${Y}`), I && a.push(`starasia-box-padding-bottom-${I}`), D && a.push(`starasia-box-padding-left-${D}`), q && a.push(`starasia-box-padding-block-${q}`), Q && a.push(`starasia-box-padding-inline-${Q}`), i && a.push(`starasia-box-${i}`), S && a.push(`starasia-box-flex-${S}`), A && a.push(`starasia-box-${A}`), E && a.push(`starasia-box-${E}`), M && a.push(`starasia-box-${M}`), N && a.push(`starasia-box-top-left-${N}`), L && a.push(`starasia-box-top-right-${L}`), B && a.push(`starasia-box-bottom-right-${B}`), G && a.push(`starasia-box-bottom-left-${G}`), aa && a.push(`starasia-box-${aa}`), H && a.push(`starasia-box-border-color-${H}`), F && a.push(`starasia-box-${F}`), j && a.push(`starasia-box-position-${j}`), P && a.push(`starasia-box-position-${P}`), W && a.push(`starasia-box-position-${W}`), U && a.push(`starasia-box-position-${U}`), K && a.push(`starasia-box-position-${K}`), J && a.push(`starasia-box-${J}`), z && a.push(`starasia-box-${z}`), V && a.push(`starasia-box-cursor-${V}`), typeof o == "string")
5665
+ o === "mobile" ? (a.push("hideOnTablet"), a.push("hideOnDesktop")) : o === "tablet" ? (a.push("hideOnMobile"), a.push("hideOnDesktop")) : o === "desktop" && (a.push("hideOnMobile"), a.push("hideOnTablet"));
5666
+ else if (typeof t == "string")
5667
+ t === "mobile" ? a.push("hideOnMobile") : t === "tablet" ? a.push("hideOnTablet") : t === "desktop" && a.push("hideOnDesktop");
5668
+ else if (typeof o == "object") {
5669
+ const { mobile: l = !0, tablet: p = !0, desktop: c = !0 } = o;
5670
+ l || a.push("hideOnMobile"), p || a.push("hideOnTablet"), c || a.push("hideOnDesktop");
5671
+ } else if (typeof t == "object") {
5672
+ const { mobile: l = !0, tablet: p = !0, desktop: c = !0 } = t;
5673
+ l || a.push("hideOnMobile"), p || a.push("hideOnTablet"), c || a.push("hideOnDesktop");
6299
5674
  }
6300
- return i.push(""), i.join(" ");
6301
- }, wn = [
5675
+ return a.push(""), a.join(" ");
5676
+ }, ya = [
6302
5677
  "flex",
6303
5678
  "block",
6304
5679
  "inline-block",
6305
5680
  "inline-flex",
6306
5681
  "none"
6307
- ], kn = [
5682
+ ], ka = [
6308
5683
  "row",
6309
5684
  "column",
6310
5685
  "sm-row",
@@ -6315,20 +5690,20 @@ const yn = pn((E, c) => {
6315
5690
  "lg-column",
6316
5691
  "xl-row",
6317
5692
  "xl-column"
6318
- ], Rn = [
5693
+ ], Oa = [
6319
5694
  "flex-start",
6320
5695
  "flex-end",
6321
5696
  "center",
6322
5697
  "space-between",
6323
5698
  "space-around",
6324
5699
  "space-evenly"
6325
- ], On = [
5700
+ ], Ra = [
6326
5701
  "flex-start",
6327
5702
  "flex-end",
6328
5703
  "center",
6329
5704
  "baseline",
6330
5705
  "stretch"
6331
- ], En = [
5706
+ ], Ta = [
6332
5707
  "auto",
6333
5708
  "xs",
6334
5709
  "sm",
@@ -6363,7 +5738,7 @@ const yn = pn((E, c) => {
6363
5738
  "spacing-192",
6364
5739
  "spacing-224",
6365
5740
  "spacing-256"
6366
- ], Tn = [
5741
+ ], Xa = [
6367
5742
  "xs",
6368
5743
  "sm",
6369
5744
  "md",
@@ -6397,7 +5772,7 @@ const yn = pn((E, c) => {
6397
5772
  "spacing-192",
6398
5773
  "spacing-224",
6399
5774
  "spacing-256"
6400
- ], vn = [
5775
+ ], ma = [
6401
5776
  {
6402
5777
  name: "brand",
6403
5778
  colors: ["primary", "secondary", "tertiary", "border-base"]
@@ -6560,9 +5935,9 @@ const yn = pn((E, c) => {
6560
5935
  "aloha-900"
6561
5936
  ]
6562
5937
  }
6563
- ], _n = vn.map(
6564
- (E) => E.colors
6565
- ).flat(), Cn = [
5938
+ ], $a = ma.map(
5939
+ (d) => d.colors
5940
+ ).flat(), Ca = [
6566
5941
  "1",
6567
5942
  "2",
6568
5943
  "3",
@@ -6608,7 +5983,7 @@ const yn = pn((E, c) => {
6608
5983
  "43",
6609
5984
  "44",
6610
5985
  "45"
6611
- ], Sn = [
5986
+ ], Ya = [
6612
5987
  "width-0",
6613
5988
  "width-1",
6614
5989
  "width-2",
@@ -6661,7 +6036,7 @@ const yn = pn((E, c) => {
6661
6036
  "width-min",
6662
6037
  "width-max",
6663
6038
  "width-fit "
6664
- ], jn = [
6039
+ ], Ia = [
6665
6040
  "shadow-sm",
6666
6041
  "shadow-md",
6667
6042
  "shadow-lg",
@@ -6669,13 +6044,13 @@ const yn = pn((E, c) => {
6669
6044
  "shadow-2xl",
6670
6045
  "shadow-inner",
6671
6046
  "shadow"
6672
- ], Pn = [
6047
+ ], Da = [
6673
6048
  "nowrap",
6674
6049
  "wrap",
6675
6050
  "wrap-reverse",
6676
6051
  "initial",
6677
6052
  "inherit"
6678
- ], Dn = [
6053
+ ], Sa = [
6679
6054
  "height-0",
6680
6055
  "height-1",
6681
6056
  "height-2",
@@ -6728,7 +6103,7 @@ const yn = pn((E, c) => {
6728
6103
  "height-min",
6729
6104
  "height-max",
6730
6105
  "height-fit"
6731
- ], $n = [
6106
+ ], Aa = [
6732
6107
  "rounded-none",
6733
6108
  "rounded-xs",
6734
6109
  "rounded-sm",
@@ -6737,7 +6112,7 @@ const yn = pn((E, c) => {
6737
6112
  "rounded-xl",
6738
6113
  "rounded-2xl",
6739
6114
  "rounded-full"
6740
- ], In = [
6115
+ ], Ea = [
6741
6116
  "border-0",
6742
6117
  "border-2",
6743
6118
  "border-4",
@@ -6815,7 +6190,7 @@ const yn = pn((E, c) => {
6815
6190
  "border-ltr-4",
6816
6191
  "border-ltr-8",
6817
6192
  "border-ltr"
6818
- ], Yn = [
6193
+ ], Ma = [
6819
6194
  "border-solid",
6820
6195
  "border-dashed",
6821
6196
  "border-dotted",
@@ -6908,7 +6283,7 @@ const yn = pn((E, c) => {
6908
6283
  "border-double-ltr",
6909
6284
  "border-hidden-ltr",
6910
6285
  "border-none-ltr"
6911
- ], An = [
6286
+ ], Na = [
6912
6287
  "static",
6913
6288
  "absolute",
6914
6289
  "fixed",
@@ -6916,7 +6291,7 @@ const yn = pn((E, c) => {
6916
6291
  "sticky",
6917
6292
  "initial",
6918
6293
  "inherit"
6919
- ], Fn = [
6294
+ ], La = [
6920
6295
  "translate-x-0",
6921
6296
  "translate-y-0",
6922
6297
  "translate-x-1",
@@ -6991,26 +6366,26 @@ const yn = pn((E, c) => {
6991
6366
  "translate-y-2-4",
6992
6367
  "translate-y-3-4",
6993
6368
  "translate-y-full"
6994
- ], Xn = ["pointer"];
6369
+ ], Ba = ["pointer"];
6995
6370
  export {
6996
- $n as BorderRadiusConst,
6997
- Yn as BorderStyleConst,
6998
- In as BorderWidthConst,
6999
- yn as Box,
7000
- _n as ColorConst,
7001
- vn as ColorSchemeGenerator,
7002
- Xn as CursorVariantConst,
7003
- kn as DirectionConst,
7004
- On as DisplayAlignConst,
7005
- wn as DisplayConst,
7006
- Pn as FlexWrapConst,
7007
- Cn as FluidConst,
7008
- Dn as HeightConst,
7009
- Rn as JustifyConst,
7010
- Tn as PaddingConst,
7011
- An as PositionConst,
7012
- jn as ShadowConst,
7013
- En as SpacingConst,
7014
- Fn as TranslateConts,
7015
- Sn as WidthConst
6371
+ Aa as BorderRadiusConst,
6372
+ Ma as BorderStyleConst,
6373
+ Ea as BorderWidthConst,
6374
+ wa as Box,
6375
+ $a as ColorConst,
6376
+ ma as ColorSchemeGenerator,
6377
+ Ba as CursorVariantConst,
6378
+ ka as DirectionConst,
6379
+ Ra as DisplayAlignConst,
6380
+ ya as DisplayConst,
6381
+ Da as FlexWrapConst,
6382
+ Ca as FluidConst,
6383
+ Sa as HeightConst,
6384
+ Oa as JustifyConst,
6385
+ Xa as PaddingConst,
6386
+ Na as PositionConst,
6387
+ Ia as ShadowConst,
6388
+ Ta as SpacingConst,
6389
+ La as TranslateConts,
6390
+ Ya as WidthConst
7016
6391
  };
package/dist/box.umd.js CHANGED
@@ -1,33 +1,4 @@
1
- (function(g,H){typeof exports=="object"&&typeof module<"u"?H(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],H):(g=typeof globalThis<"u"?globalThis:g||self,H(g.Box={},g.React))})(this,function(g,H){"use strict";var _a={exports:{}},ka={};/**
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 Fa;function qa(){if(Fa)return ka;Fa=1;var T=H,u=Symbol.for("react.element"),m=Symbol.for("react.fragment"),C=Object.prototype.hasOwnProperty,Y=T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,F={key:!0,ref:!0,__self:!0,__source:!0};function D(w,l,_){var x,v={},k=null,X=null;_!==void 0&&(k=""+_),l.key!==void 0&&(k=""+l.key),l.ref!==void 0&&(X=l.ref);for(x in l)C.call(l,x)&&!F.hasOwnProperty(x)&&(v[x]=l[x]);if(w&&w.defaultProps)for(x in l=w.defaultProps,l)v[x]===void 0&&(v[x]=l[x]);return{$$typeof:u,type:w,key:k,ref:X,props:v,_owner:Y.current}}return ka.Fragment=m,ka.jsx=D,ka.jsxs=D,ka}var Ra={};/**
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 Xa;function za(){return Xa||(Xa=1,process.env.NODE_ENV!=="production"&&function(){var T=H,u=Symbol.for("react.element"),m=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),w=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),X=Symbol.for("react.offscreen"),V=Symbol.iterator,da="@@iterator";function ga(a){if(a===null||typeof a!="object")return null;var n=V&&a[V]||a[da];return typeof n=="function"?n:null}var S=T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(a){{for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];ba("error",a,r)}}function ba(a,n,r){{var s=S.ReactDebugCurrentFrame,e=s.getStackAddendum();e!==""&&(n+="%s",r=r.concat([e]));var d=r.map(function(t){return String(t)});d.unshift("Warning: "+n),Function.prototype.apply.call(console[a],console,d)}}var la=!1,j=!1,pa=!1,ca=!1,ua=!1,J;J=Symbol.for("react.module.reference");function xa(a){return!!(typeof a=="string"||typeof a=="function"||a===C||a===F||ua||a===Y||a===_||a===x||ca||a===X||la||j||pa||typeof a=="object"&&a!==null&&(a.$$typeof===k||a.$$typeof===v||a.$$typeof===D||a.$$typeof===w||a.$$typeof===l||a.$$typeof===J||a.getModuleId!==void 0))}function ha(a,n,r){var s=a.displayName;if(s)return s;var e=n.displayName||n.name||"";return e!==""?r+"("+e+")":r}function K(a){return a.displayName||"Context"}function y(a){if(a==null)return null;if(typeof a.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case C:return"Fragment";case m:return"Portal";case F:return"Profiler";case Y:return"StrictMode";case _:return"Suspense";case x:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case w:var n=a;return K(n)+".Consumer";case D:var r=a;return K(r._context)+".Provider";case l:return ha(a,a.render,"ForwardRef");case v:var s=a.displayName||null;return s!==null?s:y(a.type)||"Memo";case k:{var e=a,d=e._payload,t=e._init;try{return y(t(d))}catch{return null}}}return null}var P=Object.assign,I=0,q,z,Z,Q,aa,na,ra;function ia(){}ia.__reactDisabledLog=!0;function ma(){{if(I===0){q=console.log,z=console.info,Z=console.warn,Q=console.error,aa=console.group,na=console.groupCollapsed,ra=console.groupEnd;var a={configurable:!0,enumerable:!0,value:ia,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}I++}}function $(){{if(I--,I===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},a,{value:q}),info:P({},a,{value:z}),warn:P({},a,{value:Z}),error:P({},a,{value:Q}),group:P({},a,{value:aa}),groupCollapsed:P({},a,{value:na}),groupEnd:P({},a,{value:ra})})}I<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var R=S.ReactCurrentDispatcher,N;function M(a,n,r){{if(N===void 0)try{throw Error()}catch(e){var s=e.stack.trim().match(/\n( *(at )?)/);N=s&&s[1]||""}return`
18
- `+N+a}}var B=!1,L;{var i=typeof WeakMap=="function"?WeakMap:Map;L=new i}function G(a,n){if(!a||B)return"";{var r=L.get(a);if(r!==void 0)return r}var s;B=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=R.current,R.current=null,ma();try{if(n){var t=function(){throw Error()};if(Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(f){s=f}Reflect.construct(a,[],t)}else{try{t.call()}catch(f){s=f}a.call(t.prototype)}}else{try{throw Error()}catch(f){s=f}a()}}catch(f){if(f&&s&&typeof f.stack=="string"){for(var o=f.stack.split(`
19
- `),h=s.stack.split(`
20
- `),b=o.length-1,c=h.length-1;b>=1&&c>=0&&o[b]!==h[c];)c--;for(;b>=1&&c>=0;b--,c--)if(o[b]!==h[c]){if(b!==1||c!==1)do if(b--,c--,c<0||o[b]!==h[c]){var E=`
21
- `+o[b].replace(" at new "," at ");return a.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",a.displayName)),typeof a=="function"&&L.set(a,E),E}while(b>=1&&c>=0);break}}}finally{B=!1,R.current=d,$(),Error.prepareStackTrace=e}var wa=a?a.displayName||a.name:"",ea=wa?M(wa):"";return typeof a=="function"&&L.set(a,ea),ea}function sa(a,n,r){return G(a,!1)}function oa(a){var n=a.prototype;return!!(n&&n.isReactComponent)}function va(a,n,r){if(a==null)return"";if(typeof a=="function")return G(a,oa(a));if(typeof a=="string")return M(a);switch(a){case _:return M("Suspense");case x:return M("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case l:return sa(a.render);case v:return va(a.type,n,r);case k:{var s=a,e=s._payload,d=s._init;try{return va(d(e),n,r)}catch{}}}return""}var ta=Object.prototype.hasOwnProperty,Ea={},Ta=S.ReactDebugCurrentFrame;function fa(a){if(a){var n=a._owner,r=va(a.type,a._source,n?n.type:null);Ta.setExtraStackFrame(r)}else Ta.setExtraStackFrame(null)}function Sa(a,n,r,s,e){{var d=Function.call.bind(ta);for(var t in a)if(d(a,t)){var o=void 0;try{if(typeof a[t]!="function"){var h=Error((s||"React class")+": "+r+" type `"+t+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[t]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}o=a[t](n,t,s,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(b){o=b}o&&!(o instanceof Error)&&(fa(e),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).",s||"React class",r,t,typeof o),fa(null)),o instanceof Error&&!(o.message in Ea)&&(Ea[o.message]=!0,fa(e),p("Failed %s type: %s",r,o.message),fa(null))}}}var ja=Array.isArray;function Oa(a){return ja(a)}function Pa(a){{var n=typeof Symbol=="function"&&Symbol.toStringTag,r=n&&a[Symbol.toStringTag]||a.constructor.name||"Object";return r}}function Da(a){try{return Ca(a),!1}catch{return!0}}function Ca(a){return""+a}function O(a){if(Da(a))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Pa(a)),Ca(a)}var A=S.ReactCurrentOwner,W={key:!0,ref:!0,__self:!0,__source:!0},Wa,Na;function yn(a){if(ta.call(a,"ref")){var n=Object.getOwnPropertyDescriptor(a,"ref").get;if(n&&n.isReactWarning)return!1}return a.ref!==void 0}function wn(a){if(ta.call(a,"key")){var n=Object.getOwnPropertyDescriptor(a,"key").get;if(n&&n.isReactWarning)return!1}return a.key!==void 0}function kn(a,n){typeof a.ref=="string"&&A.current}function Rn(a,n){{var r=function(){Wa||(Wa=!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)",n))};r.isReactWarning=!0,Object.defineProperty(a,"key",{get:r,configurable:!0})}}function On(a,n){{var r=function(){Na||(Na=!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)",n))};r.isReactWarning=!0,Object.defineProperty(a,"ref",{get:r,configurable:!0})}}var En=function(a,n,r,s,e,d,t){var o={$$typeof:u,type:a,key:n,ref:r,props:t,_owner:d};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:e}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function Tn(a,n,r,s,e){{var d,t={},o=null,h=null;r!==void 0&&(O(r),o=""+r),wn(n)&&(O(n.key),o=""+n.key),yn(n)&&(h=n.ref,kn(n,e));for(d in n)ta.call(n,d)&&!W.hasOwnProperty(d)&&(t[d]=n[d]);if(a&&a.defaultProps){var b=a.defaultProps;for(d in b)t[d]===void 0&&(t[d]=b[d])}if(o||h){var c=typeof a=="function"?a.displayName||a.name||"Unknown":a;o&&Rn(t,c),h&&On(t,c)}return En(a,o,h,e,s,A.current,t)}}var Ia=S.ReactCurrentOwner,Ba=S.ReactDebugCurrentFrame;function ya(a){if(a){var n=a._owner,r=va(a.type,a._source,n?n.type:null);Ba.setExtraStackFrame(r)}else Ba.setExtraStackFrame(null)}var $a;$a=!1;function Aa(a){return typeof a=="object"&&a!==null&&a.$$typeof===u}function Ga(){{if(Ia.current){var a=y(Ia.current.type);if(a)return`
22
-
23
- Check the render method of \``+a+"`."}return""}}function Cn(a){return""}var Ha={};function _n(a){{var n=Ga();if(!n){var r=typeof a=="string"?a:a.displayName||a.name;r&&(n=`
24
-
25
- Check the top-level render call using <`+r+">.")}return n}}function Ua(a,n){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var r=_n(n);if(Ha[r])return;Ha[r]=!0;var s="";a&&a._owner&&a._owner!==Ia.current&&(s=" It was passed a child from "+y(a._owner.type)+"."),ya(a),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,s),ya(null)}}function Va(a,n){{if(typeof a!="object")return;if(Oa(a))for(var r=0;r<a.length;r++){var s=a[r];Aa(s)&&Ua(s,n)}else if(Aa(a))a._store&&(a._store.validated=!0);else if(a){var e=ga(a);if(typeof e=="function"&&e!==a.entries)for(var d=e.call(a),t;!(t=d.next()).done;)Aa(t.value)&&Ua(t.value,n)}}}function Sn(a){{var n=a.type;if(n==null||typeof n=="string")return;var r;if(typeof n=="function")r=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===l||n.$$typeof===v))r=n.propTypes;else return;if(r){var s=y(n);Sa(r,a.props,"prop",s,a)}else if(n.PropTypes!==void 0&&!$a){$a=!0;var e=y(n);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",e||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function jn(a){{for(var n=Object.keys(a.props),r=0;r<n.length;r++){var s=n[r];if(s!=="children"&&s!=="key"){ya(a),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),ya(null);break}}a.ref!==null&&(ya(a),p("Invalid attribute `ref` supplied to `React.Fragment`."),ya(null))}}var Ja={};function Ka(a,n,r,s,e,d){{var t=xa(a);if(!t){var o="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var h=Cn();h?o+=h:o+=Ga();var b;a===null?b="null":Oa(a)?b="array":a!==void 0&&a.$$typeof===u?(b="<"+(y(a.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):b=typeof a,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",b,o)}var c=Tn(a,n,r,e,d);if(c==null)return c;if(t){var E=n.children;if(E!==void 0)if(s)if(Oa(E)){for(var wa=0;wa<E.length;wa++)Va(E[wa],a);Object.freeze&&Object.freeze(E)}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 Va(E,a)}if(ta.call(n,"key")){var ea=y(a),f=Object.keys(n).filter(function(Yn){return Yn!=="key"}),Ya=f.length>0?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}";if(!Ja[ea+Ya]){var An=f.length>0?"{"+f.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
26
- let props = %s;
27
- <%s {...props} />
28
- React keys must be passed directly to JSX without using spread:
29
- let props = %s;
30
- <%s key={someKey} {...props} />`,Ya,ea,An,ea),Ja[ea+Ya]=!0}}return a===C?jn(c):Sn(c),c}}function Pn(a,n,r){return Ka(a,n,r,!0)}function Dn(a,n,r){return Ka(a,n,r,!1)}var In=Dn,$n=Pn;Ra.Fragment=C,Ra.jsx=In,Ra.jsxs=$n}()),Ra}process.env.NODE_ENV==="production"?_a.exports=qa():_a.exports=za();var U=_a.exports;const Za=`:root {
1
+ (function(n,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],i):(n=typeof globalThis<"u"?globalThis:n||self,i(n.Box={},n.jsxRuntime,n.React))})(this,function(n,i,sa){"use strict";const oa=`:root {
31
2
  /* gray */
32
3
  --starasia-ui-color-gray-50: #fffeff;
33
4
  --starasia-ui-color-gray-100: #eff3f8;
@@ -144,9 +115,9 @@ React keys must be passed directly to JSX without using spread:
144
115
  --starasia-ui-color-pink-900: #6b094e;
145
116
 
146
117
  /* primary */
147
- --starasia-ui-brand-primary-default: var(--starasia-ui-color-blue-700);
148
- --starasia-ui-brand-primary-secondary: var(--starasia-ui-color-blue-300);
149
- --starasia-ui-brand-primary-tertiary: var(--starasia-ui-color-blue-50);
118
+ --starasia-ui-brand-primary-default: rgba(74, 106, 148, 1);
119
+ --starasia-ui-brand-primary-secondary: rgba(144, 176, 218, 1);
120
+ --starasia-ui-brand-primary-tertiary: rgba(227, 237, 248, 1);
150
121
 
151
122
  /* dark */
152
123
  --starasia-ui-utility-dark-default: var(--starasia-ui-color-gray-600);
@@ -5554,4 +5525,4 @@ React keys must be passed directly to JSX without using spread:
5554
5525
  display: none;
5555
5526
  }
5556
5527
  }
5557
- `,Ma="starasia-box-styles";(T=>{if(!document.getElementById(Ma)){const u=document.createElement("style");u.id=Ma,u.textContent=T,document.head.appendChild(u)}})(Za);const Qa=H.forwardRef((T,u)=>{const{children:m,fullWidth:C,fullHeight:Y,display:F="flex",direction:D="column",justify:w,align:l,gap:_,margin:x,marginTop:v,marginRight:k,marginBottom:X,marginLeft:V,padding:da,paddingTop:ga,paddingRight:S,paddingBottom:p,paddingLeft:ba,bg:la,variant:j,show:pa,hide:ca,flex:ua,minWidth:J,shadow:xa,flexWrap:ha,width:K,height:y,wrap:P,borderRadius:I="rounded-none",borderWidth:q,borderColor:z,borderStyle:Z,position:Q,top:aa,left:na,right:ra,bottom:ia,Translate:ma,overflow:$,rowGap:R,borderTopLeftRadius:N,borderTopRightRadius:M,borderBottomRightRadius:B,borderBottomLeftRadius:L,cursor:i,paddingBlock:G,paddingInline:sa,marginInline:oa,marginBlock:va,customBorder:ta,customHeight:Ea,customWidth:Ta,customMaxHeight:fa,customMinHeight:Sa,customMaxWidth:ja,customMinWidth:Oa,customMargin:Pa,customPadding:Da,customBackgroundColor:Ca,...O}=T,A=`${an(C,Y,F,D,w,l,_,R,la,ua,J,x,v,k,X,V,da,ga,S,p,ba,xa,ha,K,y,I,N,M,B,L,q,z,Z,Q,aa,na,ra,ia,ma,$,i,pa,ca,G,sa,oa,va)} ${O.className}`,W={border:ta,height:Ea,width:Ta,maxHeight:fa,minHeight:Sa,maxWidth:ja,minWidth:Oa,margin:Pa,padding:Da,background:Ca,...O.style};return j==="article"?U.jsx("article",{ref:u,...O,className:A,style:W,children:m}):j==="aside"?U.jsx("aside",{ref:u,...O,className:A,style:W,children:m}):j==="header"?U.jsx("header",{ref:u,...O,className:A,style:W,children:m}):j==="main"?U.jsx("main",{ref:u,...O,className:A,style:W,children:m}):j==="nav"?U.jsx("nav",{ref:u,...O,className:A,style:W,children:m}):j==="section"?U.jsx("section",{ref:u,...O,className:A,style:W,children:m}):U.jsx("div",{ref:u,...O,className:A,style:W,children:m})}),an=(T,u,m,C,Y,F,D,w,l,_,x,v,k,X,V,da,ga,S,p,ba,la,j,pa,ca,ua,J,xa,ha,K,y,P,I,q,z,Z,Q,aa,na,ra,ia,ma,$,R,N,M,B,L)=>{const i=[];if(T&&i.push("starasia-box-fullWidth"),u&&i.push("starasia-box-fullHeight"),m&&i.push(`starasia-box-${m}`),C&&i.push(`starasia-box-${C}`),Y&&i.push(`starasia-box-justify-${Y}`),F&&i.push(`starasia-box-${F}`),D&&i.push(`starasia-box-gap-${D}`),w&&i.push(`starasia-box-row-gap-${w}`),l&&i.push(`starasia-box-bg-color-${l}`),_&&i.push(`starasia-box-flex-${_}`),x&&i.push(`starasia-box-min-width${x}`),v&&i.push(`starasia-box-margin-${v}`),k&&i.push(`starasia-box-margin-top-${k}`),X&&i.push(`starasia-box-margin-right-${X}`),V&&i.push(`starasia-box-margin-bottom-${V}`),da&&i.push(`starasia-box-margin-left-${da}`),B&&i.push(`starasia-box-margin-inline-${B}`),L&&i.push(`starasia-box-margin-block-${L}`),ga&&i.push(`starasia-box-padding-${ga}`),S&&i.push(`starasia-box-padding-top-${S}`),p&&i.push(`starasia-box-padding-right-${p}`),ba&&i.push(`starasia-box-padding-bottom-${ba}`),la&&i.push(`starasia-box-padding-left-${la}`),N&&i.push(`starasia-box-padding-block-${N}`),M&&i.push(`starasia-box-padding-inline-${M}`),j&&i.push(`starasia-box-${j}`),pa&&i.push(`starasia-box-flex-${pa}`),ca&&i.push(`starasia-box-${ca}`),ua&&i.push(`starasia-box-${ua}`),J&&i.push(`starasia-box-${J}`),xa&&i.push(`starasia-box-top-left-${xa}`),ha&&i.push(`starasia-box-top-right-${ha}`),K&&i.push(`starasia-box-bottom-right-${K}`),y&&i.push(`starasia-box-bottom-left-${y}`),P&&i.push(`starasia-box-${P}`),I&&i.push(`starasia-box-border-color-${I}`),q&&i.push(`starasia-box-${q}`),z&&i.push(`starasia-box-position-${z}`),Z&&i.push(`starasia-box-position-${Z}`),Q&&i.push(`starasia-box-position-${Q}`),aa&&i.push(`starasia-box-position-${aa}`),na&&i.push(`starasia-box-position-${na}`),ra&&i.push(`starasia-box-${ra}`),ia&&i.push(`starasia-box-${ia}`),ma&&i.push(`starasia-box-cursor-${ma}`),typeof $=="string")$==="mobile"?(i.push("hideOnTablet"),i.push("hideOnDesktop")):$==="tablet"?(i.push("hideOnMobile"),i.push("hideOnDesktop")):$==="desktop"&&(i.push("hideOnMobile"),i.push("hideOnTablet"));else if(typeof R=="string")R==="mobile"?i.push("hideOnMobile"):R==="tablet"?i.push("hideOnTablet"):R==="desktop"&&i.push("hideOnDesktop");else if(typeof $=="object"){const{mobile:G=!0,tablet:sa=!0,desktop:oa=!0}=$;G||i.push("hideOnMobile"),sa||i.push("hideOnTablet"),oa||i.push("hideOnDesktop")}else if(typeof R=="object"){const{mobile:G=!0,tablet:sa=!0,desktop:oa=!0}=R;G||i.push("hideOnMobile"),sa||i.push("hideOnTablet"),oa||i.push("hideOnDesktop")}return i.push(""),i.join(" ")},nn=["flex","block","inline-block","inline-flex","none"],rn=["row","column","sm-row","sm-column","md-row","md-column","lg-row","lg-column","xl-row","xl-column"],sn=["flex-start","flex-end","center","space-between","space-around","space-evenly"],on=["flex-start","flex-end","center","baseline","stretch"],tn=["auto","xs","sm","md","lg","xl","2xl","3xl","spacing-0","spacing-1","spacing-2","spacing-4","spacing-6","spacing-8","spacing-10","spacing-12","spacing-14","spacing-16","spacing-18","spacing-20","spacing-24","spacing-28","spacing-32","spacing-36","spacing-40","spacing-48","spacing-64","spacing-80","spacing-96","spacing-128","spacing-160","spacing-192","spacing-224","spacing-256"],en=["xs","sm","md","lg","xl","2xl","3xl","spacing-0","spacing-1","spacing-2","spacing-4","spacing-6","spacing-8","spacing-10","spacing-12","spacing-14","spacing-16","spacing-18","spacing-20","spacing-24","spacing-28","spacing-32","spacing-36","spacing-40","spacing-48","spacing-64","spacing-80","spacing-96","spacing-128","spacing-160","spacing-192","spacing-224","spacing-256"],La=[{name:"brand",colors:["primary","secondary","tertiary","border-base"]},{name:"accent",colors:["accent-dark-primary","accent-dark-secondary","accent-dark-tertiary"]},{name:"state",colors:["success","error","warning","info"]},{name:"text",colors:["text","text-light","text-muted","text-dark"]},{name:"gray",colors:["gray-50","gray-100","gray-200","gray-300","gray-400","gray-500","gray-600","gray-700","gray-800","gray-900","gray-950"]},{name:"red",colors:["red-50","red-100","red-200","red-300","red-400","red-500","red-600","red-700","red-800","red-900","red-950"]},{name:"orange",colors:["orange-50","orange-100","orange-200","orange-300","orange-400","orange-500","orange-600","orange-700","orange-800","orange-900","orange-950"]},{name:"yellow",colors:["yellow-50","yellow-100","yellow-200","yellow-300","yellow-400","yellow-500","yellow-600","yellow-700","yellow-800","yellow-900","yellow-950"]},{name:"green",colors:["green-50","green-100","green-200","green-300","green-400","green-500","green-600","green-700","green-800","green-900","green-950"]},{name:"blue",colors:["blue-50","blue-100","blue-200","blue-300","blue-400","blue-500","blue-600","blue-700","blue-800","blue-900","blue-950"]},{name:"purple",colors:["purple-50","purple-100","purple-200","purple-300","purple-400","purple-500","purple-600","purple-700","purple-800","purple-900","purple-950"]},{name:"pink",colors:["pink-50","pink-100","pink-200","pink-300","pink-400","pink-500","pink-600","pink-700","pink-800","pink-900"]},{name:"aloha",colors:["aloha-50","aloha-100","aloha-200","aloha-300","aloha-400","aloha-500","aloha-600","aloha-700","aloha-800","aloha-900"]}],dn=La.map(T=>T.colors).flat(),gn=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45"],bn=["width-0","width-1","width-2","width-4","width-6","width-8","width-10","width-12","width-14","width-16","width-18","width-20","width-24","width-28","width-32","width-36","width-40","width-48","width-56","width-64","width-80","width-96","width-128","width-160","width-192","width-224","width-256","width-xs","width-sm","width-md","width-lg","width-auto","width-1-2","width-1-3","width-2-3","width-1-4","width-2-4","width-3-4","width-1-5","width-2-5","width-3-5","width-4-5","width-1-6","width-2-6","width-3-6","width-4-6","width-5-6","width-full","width-screen","width-min","width-max","width-fit "],ln=["shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl","shadow-inner","shadow"],pn=["nowrap","wrap","wrap-reverse","initial","inherit"],cn=["height-0","height-1","height-2","height-4","height-6","height-8","height-10","height-12","height-14","height-16","height-18","height-20","height-24","height-28","height-32","height-36","height-40","height-48","height-56","height-64","height-80","height-96","height-128","height-160","height-192","height-224","height-256","height-xs","height-sm","height-md","height-lg","height-auto","height-1-2","height-1-3","height-2-3","height-1-4","height-2-4","height-3-4","height-1-5","height-2-5","height-3-5","height-4-5","height-1-6","height-2-6","height-3-6","height-4-6","height-5-6","height-full","height-screen","height-min","height-max","height-fit"],un=["rounded-none","rounded-xs","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-full"],xn=["border-0","border-2","border-4","border-8","border","border-t-0","border-t-2","border-t-4","border-t-8","border-t","border-r-0","border-r-2","border-r-4","border-r-8","border-r","border-b-0","border-b-2","border-b-4","border-b-8","border-b","border-l-0","border-l-2","border-l-4","border-l-8","border-l","border-x-0","border-x-2","border-x-4","border-x-8","border-x","border-y-0","border-y-2","border-y-4","border-y-8","border-y","border-tr-0","border-tr-2","border-tr-4","border-tr-8","border-tr","border-rb-0","border-rb-2","border-rb-4","border-rb-8","border-rb","border-bl-0","border-bl-2","border-bl-4","border-bl-8","border-bl","border-lt-0","border-lt-2","border-lt-4","border-lt-8","border-lt","border-trb-0","border-trb-2","border-trb-4","border-trb-8","border-trb","border-rbl-0","border-rbl-2","border-rbl-4","border-rbl-8","border-rbl","border-blt-0","border-blt-2","border-blt-4","border-blt-8","border-blt","border-ltr-0","border-ltr-2","border-ltr-4","border-ltr-8","border-ltr"],hn=["border-solid","border-dashed","border-dotted","border-double","border-hidden","border-none","border-solid-t","border-dashed-t","border-dotted-t","border-double-t","border-hidden-t","border-none-t","border-solid-r","border-dashed-r","border-dotted-r","border-double-r","border-hidden-r","border-none-r","border-solid-b","border-dashed-b","border-dotted-b","border-double-b","border-hidden-b","border-none-b","border-solid-l","border-dashed-l","border-dotted-l","border-double-l","border-hidden-l","border-none-l","border-solid-y","border-dashed-y","border-dotted-y","border-double-y","border-hidden-y","border-none-y","border-solid-x","border-dashed-x","border-dotted-x","border-double-x","border-hidden-x","border-none-x","border-solid-tr","border-dashed-tr","border-dotted-tr","border-double-tr","border-hidden-tr","border-none-tr","border-solid-rb","border-dashed-rb","border-dotted-rb","border-double-rb","border-hidden-rb","border-none-rb","border-solid-bl","border-dashed-bl","border-dotted-bl","border-double-bl","border-hidden-bl","border-none-bl","border-solid-lt","border-dashed-lt","border-dotted-lt","border-double-lt","border-hidden-lt","border-none-lt","border-solid-trb","border-dashed-trb","border-dotted-trb","border-double-trb","border-hidden-trb","border-none-trb","border-solid-rbl","border-dashed-rbl","border-dotted-rbl","border-double-rbl","border-hidden-rbl","border-none-rbl","border-solid-blt","border-dashed-blt","border-dotted-blt","border-double-blt","border-hidden-blt","border-none-blt","border-solid-ltr","border-dashed-ltr","border-dotted-ltr","border-double-ltr","border-hidden-ltr","border-none-ltr"],mn=["static","absolute","fixed","relative","sticky","initial","inherit"],vn=["translate-x-0","translate-y-0","translate-x-1","translate-y-1","translate-x-2","translate-y-2","translate-x-3","translate-y-3","translate-x-4","translate-y-4","translate-x-5","translate-y-5","translate-x-6","translate-y-6","translate-x-7","translate-y-7","translate-x-8","translate-y-8","translate-x-9","translate-y-9","translate-x-10","translate-y-10","translate-x-11","translate-y-11","translate-x-12","translate-y-12","translate-x-14","translate-y-14","translate-x-16","translate-y-16","translate-x-20","translate-y-20","translate-x-24","translate-y-24","translate-x-28","translate-y-28","translate-x-32","translate-y-32","translate-x-36","translate-y-36","translate-x-40","translate-y-40","translate-x-44","translate-y-44","translate-x-48","translate-y-48","translate-x-52","translate-y-52","translate-x-56","translate-y-56","translate-x-60","translate-y-60","translate-x-64","translate-y-64","translate-x-72","translate-y-72","translate-x-80","translate-y-80","translate-x-96","translate-y-96","translate-x-1-2","translate-x-1-3","translate-x-2-3","translate-x-1-4","translate-x-2-4","translate-x-3-4","translate-x-full","translate-y-1-2","translate-y-1-3","translate-y-2-3","translate-y-1-4","translate-y-2-4","translate-y-3-4","translate-y-full"],fn=["pointer"];g.BorderRadiusConst=un,g.BorderStyleConst=hn,g.BorderWidthConst=xn,g.Box=Qa,g.ColorConst=dn,g.ColorSchemeGenerator=La,g.CursorVariantConst=fn,g.DirectionConst=rn,g.DisplayAlignConst=on,g.DisplayConst=nn,g.FlexWrapConst=pn,g.FluidConst=gn,g.HeightConst=cn,g.JustifyConst=sn,g.PaddingConst=en,g.PositionConst=mn,g.ShadowConst=ln,g.SpacingConst=tn,g.TranslateConts=vn,g.WidthConst=bn,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
5528
+ `,ra="starasia-box-styles";(g=>{if(!document.getElementById(ra)){const r=document.createElement("style");r.id=ra,r.textContent=g,document.head.appendChild(r)}})(oa);const ta=sa.forwardRef((g,r)=>{const{children:s,fullWidth:u,fullHeight:h,display:m="flex",direction:v="column",justify:f,align:w,gap:y,margin:k,marginTop:O,marginRight:C,marginBottom:T,marginLeft:R,padding:X,paddingTop:$,paddingRight:Y,paddingBottom:D,paddingLeft:I,bg:S,variant:o,show:A,hide:B,flex:E,minWidth:M,shadow:N,flexWrap:L,width:j,height:F,wrap:na,borderRadius:G="rounded-none",borderWidth:H,borderColor:P,borderStyle:W,position:U,top:K,left:J,right:q,bottom:V,Translate:z,overflow:d,rowGap:e,borderTopLeftRadius:Q,borderTopRightRadius:Z,borderBottomRightRadius:_,borderBottomLeftRadius:aa,cursor:a,paddingBlock:p,paddingInline:c,marginInline:x,marginBlock:Ra,customBorder:Xa,customHeight:$a,customWidth:Ya,customMaxHeight:Da,customMinHeight:Ia,customMaxWidth:Sa,customMinWidth:Aa,customMargin:Ba,customPadding:Ea,customBackgroundColor:Ma,...t}=g,b=`${da(u,h,m,v,f,w,y,e,S,E,M,k,O,C,T,R,X,$,Y,D,I,N,L,j,F,G,Q,Z,_,aa,H,P,W,U,K,J,q,V,z,d,a,A,B,p,c,x,Ra)} ${t.className}`,l={border:Xa,height:$a,width:Ya,maxHeight:Da,minHeight:Ia,maxWidth:Sa,minWidth:Aa,margin:Ba,padding:Ea,background:Ma,...t.style};return o==="article"?i.jsx("article",{ref:r,...t,className:b,style:l,children:s}):o==="aside"?i.jsx("aside",{ref:r,...t,className:b,style:l,children:s}):o==="header"?i.jsx("header",{ref:r,...t,className:b,style:l,children:s}):o==="main"?i.jsx("main",{ref:r,...t,className:b,style:l,children:s}):o==="nav"?i.jsx("nav",{ref:r,...t,className:b,style:l,children:s}):o==="section"?i.jsx("section",{ref:r,...t,className:b,style:l,children:s}):i.jsx("div",{ref:r,...t,className:b,style:l,children:s})}),da=(g,r,s,u,h,m,v,f,w,y,k,O,C,T,R,X,$,Y,D,I,S,o,A,B,E,M,N,L,j,F,na,G,H,P,W,U,K,J,q,V,z,d,e,Q,Z,_,aa)=>{const a=[];if(g&&a.push("starasia-box-fullWidth"),r&&a.push("starasia-box-fullHeight"),s&&a.push(`starasia-box-${s}`),u&&a.push(`starasia-box-${u}`),h&&a.push(`starasia-box-justify-${h}`),m&&a.push(`starasia-box-${m}`),v&&a.push(`starasia-box-gap-${v}`),f&&a.push(`starasia-box-row-gap-${f}`),w&&a.push(`starasia-box-bg-color-${w}`),y&&a.push(`starasia-box-flex-${y}`),k&&a.push(`starasia-box-min-width${k}`),O&&a.push(`starasia-box-margin-${O}`),C&&a.push(`starasia-box-margin-top-${C}`),T&&a.push(`starasia-box-margin-right-${T}`),R&&a.push(`starasia-box-margin-bottom-${R}`),X&&a.push(`starasia-box-margin-left-${X}`),_&&a.push(`starasia-box-margin-inline-${_}`),aa&&a.push(`starasia-box-margin-block-${aa}`),$&&a.push(`starasia-box-padding-${$}`),Y&&a.push(`starasia-box-padding-top-${Y}`),D&&a.push(`starasia-box-padding-right-${D}`),I&&a.push(`starasia-box-padding-bottom-${I}`),S&&a.push(`starasia-box-padding-left-${S}`),Q&&a.push(`starasia-box-padding-block-${Q}`),Z&&a.push(`starasia-box-padding-inline-${Z}`),o&&a.push(`starasia-box-${o}`),A&&a.push(`starasia-box-flex-${A}`),B&&a.push(`starasia-box-${B}`),E&&a.push(`starasia-box-${E}`),M&&a.push(`starasia-box-${M}`),N&&a.push(`starasia-box-top-left-${N}`),L&&a.push(`starasia-box-top-right-${L}`),j&&a.push(`starasia-box-bottom-right-${j}`),F&&a.push(`starasia-box-bottom-left-${F}`),na&&a.push(`starasia-box-${na}`),G&&a.push(`starasia-box-border-color-${G}`),H&&a.push(`starasia-box-${H}`),P&&a.push(`starasia-box-position-${P}`),W&&a.push(`starasia-box-position-${W}`),U&&a.push(`starasia-box-position-${U}`),K&&a.push(`starasia-box-position-${K}`),J&&a.push(`starasia-box-position-${J}`),q&&a.push(`starasia-box-${q}`),V&&a.push(`starasia-box-${V}`),z&&a.push(`starasia-box-cursor-${z}`),typeof d=="string")d==="mobile"?(a.push("hideOnTablet"),a.push("hideOnDesktop")):d==="tablet"?(a.push("hideOnMobile"),a.push("hideOnDesktop")):d==="desktop"&&(a.push("hideOnMobile"),a.push("hideOnTablet"));else if(typeof e=="string")e==="mobile"?a.push("hideOnMobile"):e==="tablet"?a.push("hideOnTablet"):e==="desktop"&&a.push("hideOnDesktop");else if(typeof d=="object"){const{mobile:p=!0,tablet:c=!0,desktop:x=!0}=d;p||a.push("hideOnMobile"),c||a.push("hideOnTablet"),x||a.push("hideOnDesktop")}else if(typeof e=="object"){const{mobile:p=!0,tablet:c=!0,desktop:x=!0}=e;p||a.push("hideOnMobile"),c||a.push("hideOnTablet"),x||a.push("hideOnDesktop")}return a.push(""),a.join(" ")},ea=["flex","block","inline-block","inline-flex","none"],ga=["row","column","sm-row","sm-column","md-row","md-column","lg-row","lg-column","xl-row","xl-column"],ba=["flex-start","flex-end","center","space-between","space-around","space-evenly"],la=["flex-start","flex-end","center","baseline","stretch"],pa=["auto","xs","sm","md","lg","xl","2xl","3xl","spacing-0","spacing-1","spacing-2","spacing-4","spacing-6","spacing-8","spacing-10","spacing-12","spacing-14","spacing-16","spacing-18","spacing-20","spacing-24","spacing-28","spacing-32","spacing-36","spacing-40","spacing-48","spacing-64","spacing-80","spacing-96","spacing-128","spacing-160","spacing-192","spacing-224","spacing-256"],ca=["xs","sm","md","lg","xl","2xl","3xl","spacing-0","spacing-1","spacing-2","spacing-4","spacing-6","spacing-8","spacing-10","spacing-12","spacing-14","spacing-16","spacing-18","spacing-20","spacing-24","spacing-28","spacing-32","spacing-36","spacing-40","spacing-48","spacing-64","spacing-80","spacing-96","spacing-128","spacing-160","spacing-192","spacing-224","spacing-256"],ia=[{name:"brand",colors:["primary","secondary","tertiary","border-base"]},{name:"accent",colors:["accent-dark-primary","accent-dark-secondary","accent-dark-tertiary"]},{name:"state",colors:["success","error","warning","info"]},{name:"text",colors:["text","text-light","text-muted","text-dark"]},{name:"gray",colors:["gray-50","gray-100","gray-200","gray-300","gray-400","gray-500","gray-600","gray-700","gray-800","gray-900","gray-950"]},{name:"red",colors:["red-50","red-100","red-200","red-300","red-400","red-500","red-600","red-700","red-800","red-900","red-950"]},{name:"orange",colors:["orange-50","orange-100","orange-200","orange-300","orange-400","orange-500","orange-600","orange-700","orange-800","orange-900","orange-950"]},{name:"yellow",colors:["yellow-50","yellow-100","yellow-200","yellow-300","yellow-400","yellow-500","yellow-600","yellow-700","yellow-800","yellow-900","yellow-950"]},{name:"green",colors:["green-50","green-100","green-200","green-300","green-400","green-500","green-600","green-700","green-800","green-900","green-950"]},{name:"blue",colors:["blue-50","blue-100","blue-200","blue-300","blue-400","blue-500","blue-600","blue-700","blue-800","blue-900","blue-950"]},{name:"purple",colors:["purple-50","purple-100","purple-200","purple-300","purple-400","purple-500","purple-600","purple-700","purple-800","purple-900","purple-950"]},{name:"pink",colors:["pink-50","pink-100","pink-200","pink-300","pink-400","pink-500","pink-600","pink-700","pink-800","pink-900"]},{name:"aloha",colors:["aloha-50","aloha-100","aloha-200","aloha-300","aloha-400","aloha-500","aloha-600","aloha-700","aloha-800","aloha-900"]}],xa=ia.map(g=>g.colors).flat(),ua=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45"],ha=["width-0","width-1","width-2","width-4","width-6","width-8","width-10","width-12","width-14","width-16","width-18","width-20","width-24","width-28","width-32","width-36","width-40","width-48","width-56","width-64","width-80","width-96","width-128","width-160","width-192","width-224","width-256","width-xs","width-sm","width-md","width-lg","width-auto","width-1-2","width-1-3","width-2-3","width-1-4","width-2-4","width-3-4","width-1-5","width-2-5","width-3-5","width-4-5","width-1-6","width-2-6","width-3-6","width-4-6","width-5-6","width-full","width-screen","width-min","width-max","width-fit "],ma=["shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl","shadow-inner","shadow"],va=["nowrap","wrap","wrap-reverse","initial","inherit"],fa=["height-0","height-1","height-2","height-4","height-6","height-8","height-10","height-12","height-14","height-16","height-18","height-20","height-24","height-28","height-32","height-36","height-40","height-48","height-56","height-64","height-80","height-96","height-128","height-160","height-192","height-224","height-256","height-xs","height-sm","height-md","height-lg","height-auto","height-1-2","height-1-3","height-2-3","height-1-4","height-2-4","height-3-4","height-1-5","height-2-5","height-3-5","height-4-5","height-1-6","height-2-6","height-3-6","height-4-6","height-5-6","height-full","height-screen","height-min","height-max","height-fit"],wa=["rounded-none","rounded-xs","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-full"],ya=["border-0","border-2","border-4","border-8","border","border-t-0","border-t-2","border-t-4","border-t-8","border-t","border-r-0","border-r-2","border-r-4","border-r-8","border-r","border-b-0","border-b-2","border-b-4","border-b-8","border-b","border-l-0","border-l-2","border-l-4","border-l-8","border-l","border-x-0","border-x-2","border-x-4","border-x-8","border-x","border-y-0","border-y-2","border-y-4","border-y-8","border-y","border-tr-0","border-tr-2","border-tr-4","border-tr-8","border-tr","border-rb-0","border-rb-2","border-rb-4","border-rb-8","border-rb","border-bl-0","border-bl-2","border-bl-4","border-bl-8","border-bl","border-lt-0","border-lt-2","border-lt-4","border-lt-8","border-lt","border-trb-0","border-trb-2","border-trb-4","border-trb-8","border-trb","border-rbl-0","border-rbl-2","border-rbl-4","border-rbl-8","border-rbl","border-blt-0","border-blt-2","border-blt-4","border-blt-8","border-blt","border-ltr-0","border-ltr-2","border-ltr-4","border-ltr-8","border-ltr"],ka=["border-solid","border-dashed","border-dotted","border-double","border-hidden","border-none","border-solid-t","border-dashed-t","border-dotted-t","border-double-t","border-hidden-t","border-none-t","border-solid-r","border-dashed-r","border-dotted-r","border-double-r","border-hidden-r","border-none-r","border-solid-b","border-dashed-b","border-dotted-b","border-double-b","border-hidden-b","border-none-b","border-solid-l","border-dashed-l","border-dotted-l","border-double-l","border-hidden-l","border-none-l","border-solid-y","border-dashed-y","border-dotted-y","border-double-y","border-hidden-y","border-none-y","border-solid-x","border-dashed-x","border-dotted-x","border-double-x","border-hidden-x","border-none-x","border-solid-tr","border-dashed-tr","border-dotted-tr","border-double-tr","border-hidden-tr","border-none-tr","border-solid-rb","border-dashed-rb","border-dotted-rb","border-double-rb","border-hidden-rb","border-none-rb","border-solid-bl","border-dashed-bl","border-dotted-bl","border-double-bl","border-hidden-bl","border-none-bl","border-solid-lt","border-dashed-lt","border-dotted-lt","border-double-lt","border-hidden-lt","border-none-lt","border-solid-trb","border-dashed-trb","border-dotted-trb","border-double-trb","border-hidden-trb","border-none-trb","border-solid-rbl","border-dashed-rbl","border-dotted-rbl","border-double-rbl","border-hidden-rbl","border-none-rbl","border-solid-blt","border-dashed-blt","border-dotted-blt","border-double-blt","border-hidden-blt","border-none-blt","border-solid-ltr","border-dashed-ltr","border-dotted-ltr","border-double-ltr","border-hidden-ltr","border-none-ltr"],Oa=["static","absolute","fixed","relative","sticky","initial","inherit"],Ca=["translate-x-0","translate-y-0","translate-x-1","translate-y-1","translate-x-2","translate-y-2","translate-x-3","translate-y-3","translate-x-4","translate-y-4","translate-x-5","translate-y-5","translate-x-6","translate-y-6","translate-x-7","translate-y-7","translate-x-8","translate-y-8","translate-x-9","translate-y-9","translate-x-10","translate-y-10","translate-x-11","translate-y-11","translate-x-12","translate-y-12","translate-x-14","translate-y-14","translate-x-16","translate-y-16","translate-x-20","translate-y-20","translate-x-24","translate-y-24","translate-x-28","translate-y-28","translate-x-32","translate-y-32","translate-x-36","translate-y-36","translate-x-40","translate-y-40","translate-x-44","translate-y-44","translate-x-48","translate-y-48","translate-x-52","translate-y-52","translate-x-56","translate-y-56","translate-x-60","translate-y-60","translate-x-64","translate-y-64","translate-x-72","translate-y-72","translate-x-80","translate-y-80","translate-x-96","translate-y-96","translate-x-1-2","translate-x-1-3","translate-x-2-3","translate-x-1-4","translate-x-2-4","translate-x-3-4","translate-x-full","translate-y-1-2","translate-y-1-3","translate-y-2-3","translate-y-1-4","translate-y-2-4","translate-y-3-4","translate-y-full"],Ta=["pointer"];n.BorderRadiusConst=wa,n.BorderStyleConst=ka,n.BorderWidthConst=ya,n.Box=ta,n.ColorConst=xa,n.ColorSchemeGenerator=ia,n.CursorVariantConst=Ta,n.DirectionConst=ga,n.DisplayAlignConst=la,n.DisplayConst=ea,n.FlexWrapConst=va,n.FluidConst=ua,n.HeightConst=fa,n.JustifyConst=ba,n.PaddingConst=ca,n.PositionConst=Oa,n.ShadowConst=ma,n.SpacingConst=pa,n.TranslateConts=Ca,n.WidthConst=ha,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starasia/box",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "box component for starasia UI",
5
5
  "author": "Prawito Hudoro",
6
6
  "main": "dist/box.umd.js",