fintech-component-library 2.0.7 → 3.0.0

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.
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48"><title>Accessibility</title><circle cx="24.334" cy="24" r="24" fill="#A849FF" fill-opacity=".3"/><path fill="#A470D5" fill-rule="evenodd" d="M27.8609 11.585C27.8609 9.59506 26.2497 7.99023 24.2519 7.99023C22.254 7.99023 20.6429 9.65925 20.6429 11.585C20.6429 13.575 22.254 15.1799 24.2519 15.1799C26.2497 15.1799 27.8609 13.575 27.8609 11.585ZM21.8922 22.6473C21.8467 23.9096 21.7901 25.4788 21.5897 26.2771C20.9853 29.0462 17.7348 36.3314 17.3325 37.2275C17.1891 37.4923 17.1077 37.7955 17.1077 38.1178C17.1077 39.1519 17.946 39.9902 18.9802 39.9902C19.6587 39.9902 20.253 39.6293 20.5814 39.0889L20.6429 38.9874L24.2841 31.22C24.2841 31.22 27.5529 37.9214 27.9238 38.6591C28.2948 39.3967 28.8709 39.9902 29.7168 39.9902C30.751 39.9902 31.5893 39.1519 31.5893 38.1178C31.5893 37.7951 31.3639 37.2265 31.3639 37.2265C30.9581 36.3258 27.698 29.0452 27.0938 26.2771C26.8975 25.4948 26.847 23.9722 26.8056 22.7236C26.7927 22.333 26.7806 21.9693 26.7653 21.6634C26.7008 21.214 27.0231 20.8289 27.4097 20.7005L35.3366 18.3253C36.3033 18.0685 36.8834 16.9773 36.6256 16.0144C36.3678 15.0515 35.2722 14.4737 34.3055 14.7305C34.3055 14.7305 26.8619 17.1057 24.2841 17.1057C21.7062 17.1057 14.456 14.7947 14.456 14.7947C13.4893 14.5379 12.3937 14.9873 12.0715 15.9502C11.7493 16.9131 12.3293 18.0044 13.3604 18.3253L21.2873 20.7005C21.674 20.8289 21.9318 21.214 21.9318 21.6634C21.9174 21.9493 21.9053 22.2857 21.8922 22.6473Z" clip-rule="evenodd"/></svg>
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="33" height="32" fill="none" viewBox="0 0 33 32"><g clip-path="url(#clip0_10031_177575)"><mask id="mask0_10031_177575" style="mask-type:luminance" width="33" height="25" x="0" y="4" maskUnits="userSpaceOnUse"><path fill="#fff" d="M32.5034 4.00195H0.503906V28.7758H32.5034V4.00195Z"/></mask><g mask="url(#mask0_10031_177575)"><path fill="#5865F2" d="M27.5928 6.20817C25.5533 5.27289 23.3662 4.58382 21.0794 4.18916C21.0378 4.18154 20.9962 4.20057 20.9747 4.23864C20.6935 4.73863 20.3819 5.3909 20.1637 5.90358C17.7042 5.53558 15.2573 5.53558 12.8481 5.90358C12.6299 5.37951 12.307 4.73863 12.0245 4.23864C12.003 4.20184 11.9614 4.18281 11.9198 4.18916C9.63431 4.58255 7.44721 5.27163 5.40641 6.20817C5.38874 6.21578 5.3736 6.22848 5.36355 6.24497C1.21508 12.439 0.078646 18.4809 0.636144 24.4478C0.638667 24.477 0.655064 24.5049 0.677768 24.5227C3.41481 26.5315 6.06609 27.7511 8.66815 28.5594C8.70979 28.5721 8.75392 28.5569 8.78042 28.5226C9.39594 27.6826 9.94461 26.7968 10.4151 25.8653C10.4428 25.8107 10.4163 25.746 10.3596 25.7244C9.48927 25.3945 8.66058 24.9922 7.86343 24.5354C7.80038 24.4986 7.79533 24.4084 7.85333 24.3653C8.02108 24.2397 8.18888 24.109 8.34906 23.977C8.37804 23.9529 8.41842 23.9478 8.45249 23.963C13.6894 26.3526 19.359 26.3526 24.5341 23.963C24.5682 23.9465 24.6086 23.9516 24.6388 23.9757C24.799 24.1077 24.9668 24.2397 25.1358 24.3653C25.1938 24.4084 25.19 24.4986 25.127 24.5354C24.3298 25.0011 23.5011 25.3945 22.6296 25.7232C22.5728 25.7447 22.5476 25.8107 22.5754 25.8653C23.0559 26.7955 23.6046 27.6812 24.2087 28.5213C24.234 28.5569 24.2794 28.5721 24.321 28.5594C26.9357 27.7511 29.5869 26.5315 32.324 24.5227C32.348 24.5049 32.3631 24.4783 32.3656 24.4491C33.0328 17.5506 31.2481 11.5584 27.6344 6.24623C27.6256 6.22848 27.6105 6.21578 27.5928 6.20817ZM11.1971 20.8146C9.62043 20.8146 8.32129 19.3679 8.32129 17.5913C8.32129 15.8146 9.59523 14.368 11.1971 14.368C12.8115 14.368 14.0981 15.8273 14.0729 17.5913C14.0729 19.3679 12.7989 20.8146 11.1971 20.8146ZM21.8299 20.8146C20.2533 20.8146 18.9541 19.3679 18.9541 17.5913C18.9541 15.8146 20.228 14.368 21.8299 14.368C23.4444 14.368 24.7309 15.8273 24.7057 17.5913C24.7057 19.3679 23.4444 20.8146 21.8299 20.8146Z"/></g></g><defs><clipPath id="clip0_10031_177575"><rect width="32" height="32" fill="#fff" transform="translate(0.5)"/></clipPath></defs></svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="33" height="32" fill="none" viewBox="0 0 33 32"><g clip-path="url(#clip0_10031_177597)"><path fill="#B7F0EF" fill-rule="evenodd" d="M17 7.87059C17 6.48214 17.9812 5.28722 19.3431 5.01709L29.5249 2.99755C31.3238 2.64076 33 4.01717 33 5.85105V22.1344C33 23.5229 32.0188 24.7178 30.6569 24.9879L20.4751 27.0074C18.6762 27.3642 17 25.9878 17 24.1539L17 7.87059Z" clip-rule="evenodd" opacity=".7"/><path fill="#87E6E5" fill-rule="evenodd" d="M1 5.85245C1 4.01857 2.67623 2.64215 4.47507 2.99895L14.6569 5.01848C16.0188 5.28861 17 6.48354 17 7.87198V24.1553C17 25.9892 15.3238 27.3656 13.5249 27.0088L3.34311 24.9893C1.98119 24.7192 1 23.5242 1 22.1358V5.85245Z" clip-rule="evenodd"/><path fill="#61C1FD" fill-rule="evenodd" d="M15.543 5.71289C15.543 5.71289 16.8157 5.96289 17.4002 6.57653C17.9847 7.19016 18.4521 9.03107 18.4521 9.03107C18.4521 9.03107 18.4521 25.1106 18.4521 26.9629C18.4521 28.8152 19.3775 31.4174 19.3775 31.4174L17.4002 28.8947L16.2575 31.4174C16.2575 31.4174 15.543 29.0765 15.543 27.122C15.543 25.1674 15.543 5.71289 15.543 5.71289Z" clip-rule="evenodd"/></g><defs><clipPath id="clip0_10031_177597"><rect width="32" height="32" fill="#fff" transform="translate(0.5)"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 32 32"><path fill="#ED1D24" d="M31.3313 8.44657C30.9633 7.08998 29.8791 6.02172 28.5022 5.65916C26.0067 5.00026 16 5.00026 16 5.00026C16 5.00026 5.99333 5.00026 3.4978 5.65916C2.12102 6.02172 1.03665 7.08998 0.668678 8.44657C0 10.9053 0 16.0353 0 16.0353C0 16.0353 0 21.1652 0.668678 23.6242C1.03665 24.9806 2.12102 26.0489 3.4978 26.4116C5.99333 27.0703 16 27.0703 16 27.0703C16 27.0703 26.0067 27.0703 28.5022 26.4116C29.8791 26.0489 30.9633 24.9806 31.3313 23.6242C32 21.1652 32 16.0353 32 16.0353C32 16.0353 32 10.9053 31.3313 8.44657Z"/><path fill="#fff" d="M12.7266 20.6934L21.0902 16.036L12.7266 11.3781V20.6934Z"/></svg>
@@ -1,642 +1,308 @@
1
- import xe from "react";
2
- var U = { exports: {} }, $ = {};
3
- var Te;
4
- function fr() {
5
- if (Te) return $;
6
- Te = 1;
7
- var k = xe, _ = /* @__PURE__ */ Symbol.for("react.element"), D = /* @__PURE__ */ Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, m = k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
8
- function T(y, f, E) {
9
- var c, b = {}, O = null, W = null;
10
- E !== void 0 && (O = "" + E), f.key !== void 0 && (O = "" + f.key), f.ref !== void 0 && (W = f.ref);
11
- for (c in f) h.call(f, c) && !w.hasOwnProperty(c) && (b[c] = f[c]);
12
- if (y && y.defaultProps) for (c in f = y.defaultProps, f) b[c] === void 0 && (b[c] = f[c]);
13
- return { $$typeof: _, type: y, key: O, ref: W, props: b, _owner: m.current };
1
+ import K from "react";
2
+ var T = { exports: {} }, E = {};
3
+ var F;
4
+ function ee() {
5
+ if (F) return E;
6
+ F = 1;
7
+ var l = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.fragment");
8
+ function u(c, o, s) {
9
+ var i = null;
10
+ if (s !== void 0 && (i = "" + s), o.key !== void 0 && (i = "" + o.key), "key" in o) {
11
+ s = {};
12
+ for (var f in o)
13
+ f !== "key" && (s[f] = o[f]);
14
+ } else s = o;
15
+ return o = s.ref, {
16
+ $$typeof: l,
17
+ type: c,
18
+ key: i,
19
+ ref: o !== void 0 ? o : null,
20
+ props: s
21
+ };
14
22
  }
15
- return $.Fragment = D, $.jsx = T, $.jsxs = T, $;
23
+ return E.Fragment = m, E.jsx = u, E.jsxs = u, E;
16
24
  }
17
- var I = {};
18
- var Oe;
19
- function cr() {
20
- return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && (function() {
21
- var k = xe, _ = /* @__PURE__ */ Symbol.for("react.element"), D = /* @__PURE__ */ Symbol.for("react.portal"), h = /* @__PURE__ */ Symbol.for("react.fragment"), m = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), T = /* @__PURE__ */ Symbol.for("react.provider"), y = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), E = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), b = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), W = /* @__PURE__ */ Symbol.for("react.offscreen"), H = Symbol.iterator, we = "@@iterator";
22
- function Se(e) {
23
- if (e === null || typeof e != "object")
24
- return null;
25
- var r = H && e[H] || e[we];
26
- return typeof r == "function" ? r : null;
27
- }
28
- var S = k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
29
- function d(e) {
30
- {
31
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
32
- t[n - 1] = arguments[n];
33
- Pe("error", e, t);
34
- }
35
- }
36
- function Pe(e, r, t) {
37
- {
38
- var n = S.ReactDebugCurrentFrame, i = n.getStackAddendum();
39
- i !== "" && (r += "%s", t = t.concat([i]));
40
- var u = t.map(function(o) {
41
- return String(o);
42
- });
43
- u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
44
- }
45
- }
46
- var je = !1, ke = !1, De = !1, Fe = !1, Ae = !1, Z;
47
- Z = /* @__PURE__ */ Symbol.for("react.module.reference");
48
- function $e(e) {
49
- return !!(typeof e == "string" || typeof e == "function" || e === h || e === w || Ae || e === m || e === E || e === c || Fe || e === W || je || ke || De || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === b || e.$$typeof === T || e.$$typeof === y || e.$$typeof === f || // This needs to include all possible module reference object
50
- // types supported by any Flight configuration anywhere since
51
- // we don't know which Flight build this will end up being used
52
- // with.
53
- e.$$typeof === Z || e.getModuleId !== void 0));
54
- }
55
- function Ie(e, r, t) {
56
- var n = e.displayName;
57
- if (n)
58
- return n;
59
- var i = r.displayName || r.name || "";
60
- return i !== "" ? t + "(" + i + ")" : t;
61
- }
62
- function Q(e) {
63
- return e.displayName || "Context";
64
- }
65
- function R(e) {
66
- if (e == null)
67
- return null;
68
- if (typeof e.tag == "number" && d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
69
- return e.displayName || e.name || null;
70
- if (typeof e == "string")
71
- return e;
25
+ var p = {};
26
+ var D;
27
+ function re() {
28
+ return D || (D = 1, process.env.NODE_ENV !== "production" && (function() {
29
+ function l(e) {
30
+ if (e == null) return null;
31
+ if (typeof e == "function")
32
+ return e.$$typeof === H ? null : e.displayName || e.name || null;
33
+ if (typeof e == "string") return e;
72
34
  switch (e) {
73
- case h:
35
+ case k:
74
36
  return "Fragment";
75
- case D:
76
- return "Portal";
77
- case w:
37
+ case U:
78
38
  return "Profiler";
79
- case m:
39
+ case W:
80
40
  return "StrictMode";
81
- case E:
41
+ case V:
82
42
  return "Suspense";
83
- case c:
43
+ case G:
84
44
  return "SuspenseList";
45
+ case X:
46
+ return "Activity";
85
47
  }
86
48
  if (typeof e == "object")
87
- switch (e.$$typeof) {
88
- case y:
89
- var r = e;
90
- return Q(r) + ".Consumer";
91
- case T:
92
- var t = e;
93
- return Q(t._context) + ".Provider";
94
- case f:
95
- return Ie(e, e.render, "ForwardRef");
96
- case b:
97
- var n = e.displayName || null;
98
- return n !== null ? n : R(e.type) || "Memo";
99
- case O: {
100
- var i = e, u = i._payload, o = i._init;
49
+ switch (typeof e.tag == "number" && console.error(
50
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
51
+ ), e.$$typeof) {
52
+ case M:
53
+ return "Portal";
54
+ case z:
55
+ return e.displayName || "Context";
56
+ case q:
57
+ return (e._context.displayName || "Context") + ".Consumer";
58
+ case J:
59
+ var r = e.render;
60
+ return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
61
+ case B:
62
+ return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
63
+ case O:
64
+ r = e._payload, e = e._init;
101
65
  try {
102
- return R(o(u));
66
+ return l(e(r));
103
67
  } catch {
104
- return null;
105
68
  }
106
- }
107
69
  }
108
70
  return null;
109
71
  }
110
- var C = Object.assign, F = 0, ee, re, te, ne, ae, oe, ie;
111
- function ue() {
112
- }
113
- ue.__reactDisabledLog = !0;
114
- function We() {
115
- {
116
- if (F === 0) {
117
- ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, oe = console.groupCollapsed, ie = console.groupEnd;
118
- var e = {
119
- configurable: !0,
120
- enumerable: !0,
121
- value: ue,
122
- writable: !0
123
- };
124
- Object.defineProperties(console, {
125
- info: e,
126
- log: e,
127
- warn: e,
128
- error: e,
129
- group: e,
130
- groupCollapsed: e,
131
- groupEnd: e
132
- });
133
- }
134
- F++;
135
- }
136
- }
137
- function Ye() {
138
- {
139
- if (F--, F === 0) {
140
- var e = {
141
- configurable: !0,
142
- enumerable: !0,
143
- writable: !0
144
- };
145
- Object.defineProperties(console, {
146
- log: C({}, e, {
147
- value: ee
148
- }),
149
- info: C({}, e, {
150
- value: re
151
- }),
152
- warn: C({}, e, {
153
- value: te
154
- }),
155
- error: C({}, e, {
156
- value: ne
157
- }),
158
- group: C({}, e, {
159
- value: ae
160
- }),
161
- groupCollapsed: C({}, e, {
162
- value: oe
163
- }),
164
- groupEnd: C({}, e, {
165
- value: ie
166
- })
167
- });
168
- }
169
- F < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
- }
171
- }
172
- var N = S.ReactCurrentDispatcher, J;
173
- function Y(e, r, t) {
174
- {
175
- if (J === void 0)
176
- try {
177
- throw Error();
178
- } catch (i) {
179
- var n = i.stack.trim().match(/\n( *(at )?)/);
180
- J = n && n[1] || "";
181
- }
182
- return `
183
- ` + J + e;
184
- }
185
- }
186
- var q = !1, L;
187
- {
188
- var Le = typeof WeakMap == "function" ? WeakMap : Map;
189
- L = new Le();
72
+ function m(e) {
73
+ return "" + e;
190
74
  }
191
- function se(e, r) {
192
- if (!e || q)
193
- return "";
194
- {
195
- var t = L.get(e);
196
- if (t !== void 0)
197
- return t;
198
- }
199
- var n;
200
- q = !0;
201
- var i = Error.prepareStackTrace;
202
- Error.prepareStackTrace = void 0;
203
- var u;
204
- u = N.current, N.current = null, We();
75
+ function u(e) {
205
76
  try {
206
- if (r) {
207
- var o = function() {
208
- throw Error();
209
- };
210
- if (Object.defineProperty(o.prototype, "props", {
211
- set: function() {
212
- throw Error();
213
- }
214
- }), typeof Reflect == "object" && Reflect.construct) {
215
- try {
216
- Reflect.construct(o, []);
217
- } catch (p) {
218
- n = p;
219
- }
220
- Reflect.construct(e, [], o);
221
- } else {
222
- try {
223
- o.call();
224
- } catch (p) {
225
- n = p;
226
- }
227
- e.call(o.prototype);
228
- }
229
- } else {
230
- try {
231
- throw Error();
232
- } catch (p) {
233
- n = p;
234
- }
235
- e();
236
- }
237
- } catch (p) {
238
- if (p && n && typeof p.stack == "string") {
239
- for (var a = p.stack.split(`
240
- `), v = n.stack.split(`
241
- `), s = a.length - 1, l = v.length - 1; s >= 1 && l >= 0 && a[s] !== v[l]; )
242
- l--;
243
- for (; s >= 1 && l >= 0; s--, l--)
244
- if (a[s] !== v[l]) {
245
- if (s !== 1 || l !== 1)
246
- do
247
- if (s--, l--, l < 0 || a[s] !== v[l]) {
248
- var g = `
249
- ` + a[s].replace(" at new ", " at ");
250
- return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, g), g;
251
- }
252
- while (s >= 1 && l >= 0);
253
- break;
254
- }
255
- }
256
- } finally {
257
- q = !1, N.current = u, Ye(), Error.prepareStackTrace = i;
258
- }
259
- var j = e ? e.displayName || e.name : "", x = j ? Y(j) : "";
260
- return typeof e == "function" && L.set(e, x), x;
261
- }
262
- function Ve(e, r, t) {
263
- return se(e, !1);
264
- }
265
- function Me(e) {
266
- var r = e.prototype;
267
- return !!(r && r.isReactComponent);
268
- }
269
- function V(e, r, t) {
270
- if (e == null)
271
- return "";
272
- if (typeof e == "function")
273
- return se(e, Me(e));
274
- if (typeof e == "string")
275
- return Y(e);
276
- switch (e) {
277
- case E:
278
- return Y("Suspense");
279
- case c:
280
- return Y("SuspenseList");
281
- }
282
- if (typeof e == "object")
283
- switch (e.$$typeof) {
284
- case f:
285
- return Ve(e.render);
286
- case b:
287
- return V(e.type, r, t);
288
- case O: {
289
- var n = e, i = n._payload, u = n._init;
290
- try {
291
- return V(u(i), r, t);
292
- } catch {
293
- }
294
- }
295
- }
296
- return "";
297
- }
298
- var A = Object.prototype.hasOwnProperty, le = {}, fe = S.ReactDebugCurrentFrame;
299
- function M(e) {
300
- if (e) {
301
- var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
302
- fe.setExtraStackFrame(t);
303
- } else
304
- fe.setExtraStackFrame(null);
305
- }
306
- function Ue(e, r, t, n, i) {
307
- {
308
- var u = Function.call.bind(A);
309
- for (var o in e)
310
- if (u(e, o)) {
311
- var a = void 0;
312
- try {
313
- if (typeof e[o] != "function") {
314
- var v = 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`.");
315
- throw v.name = "Invariant Violation", v;
316
- }
317
- a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
318
- } catch (s) {
319
- a = s;
320
- }
321
- a && !(a instanceof Error) && (M(i), d("%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), M(null)), a instanceof Error && !(a.message in le) && (le[a.message] = !0, M(i), d("Failed %s type: %s", t, a.message), M(null));
322
- }
77
+ m(e);
78
+ var r = !1;
79
+ } catch {
80
+ r = !0;
323
81
  }
324
- }
325
- var Ne = Array.isArray;
326
- function B(e) {
327
- return Ne(e);
328
- }
329
- function Je(e) {
330
- {
331
- var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
332
- return t;
82
+ if (r) {
83
+ r = console;
84
+ var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
85
+ return t.call(
86
+ r,
87
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
88
+ n
89
+ ), m(e);
333
90
  }
334
91
  }
335
- function qe(e) {
92
+ function c(e) {
93
+ if (e === k) return "<>";
94
+ if (typeof e == "object" && e !== null && e.$$typeof === O)
95
+ return "<...>";
336
96
  try {
337
- return ce(e), !1;
97
+ var r = l(e);
98
+ return r ? "<" + r + ">" : "<...>";
338
99
  } catch {
339
- return !0;
100
+ return "<...>";
340
101
  }
341
102
  }
342
- function ce(e) {
343
- return "" + e;
344
- }
345
- function de(e) {
346
- if (qe(e))
347
- return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), ce(e);
103
+ function o() {
104
+ var e = h.A;
105
+ return e === null ? null : e.getOwner();
348
106
  }
349
- var ve = S.ReactCurrentOwner, Be = {
350
- key: !0,
351
- ref: !0,
352
- __self: !0,
353
- __source: !0
354
- }, pe, ge;
355
- function Ke(e) {
356
- if (A.call(e, "ref")) {
357
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
358
- if (r && r.isReactWarning)
359
- return !1;
360
- }
361
- return e.ref !== void 0;
107
+ function s() {
108
+ return Error("react-stack-top-frame");
362
109
  }
363
- function ze(e) {
364
- if (A.call(e, "key")) {
110
+ function i(e) {
111
+ if (j.call(e, "key")) {
365
112
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
366
- if (r && r.isReactWarning)
367
- return !1;
113
+ if (r && r.isReactWarning) return !1;
368
114
  }
369
115
  return e.key !== void 0;
370
116
  }
371
- function Ge(e, r) {
372
- typeof e.ref == "string" && ve.current;
373
- }
374
- function Xe(e, r) {
375
- {
376
- var t = function() {
377
- pe || (pe = !0, d("%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));
378
- };
379
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
380
- get: t,
381
- configurable: !0
382
- });
383
- }
384
- }
385
- function He(e, r) {
386
- {
387
- var t = function() {
388
- ge || (ge = !0, d("%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));
389
- };
390
- t.isReactWarning = !0, Object.defineProperty(e, "ref", {
391
- get: t,
392
- configurable: !0
393
- });
117
+ function f(e, r) {
118
+ function t() {
119
+ N || (N = !0, console.error(
120
+ "%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://react.dev/link/special-props)",
121
+ r
122
+ ));
394
123
  }
395
- }
396
- var Ze = function(e, r, t, n, i, u, o) {
397
- var a = {
398
- // This tag allows us to uniquely identify this as a React Element
399
- $$typeof: _,
400
- // Built-in properties that belong on the element
124
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
125
+ get: t,
126
+ configurable: !0
127
+ });
128
+ }
129
+ function x() {
130
+ var e = l(this.type);
131
+ return C[e] || (C[e] = !0, console.error(
132
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
133
+ )), e = this.props.ref, e !== void 0 ? e : null;
134
+ }
135
+ function y(e, r, t, n, g, A) {
136
+ var a = t.ref;
137
+ return e = {
138
+ $$typeof: P,
401
139
  type: e,
402
140
  key: r,
403
- ref: t,
404
- props: o,
405
- // Record the component responsible for creating this element.
406
- _owner: u
407
- };
408
- return a._store = {}, Object.defineProperty(a._store, "validated", {
141
+ props: t,
142
+ _owner: n
143
+ }, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
144
+ enumerable: !1,
145
+ get: x
146
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
409
147
  configurable: !1,
410
148
  enumerable: !1,
411
149
  writable: !0,
412
- value: !1
413
- }), Object.defineProperty(a, "_self", {
150
+ value: 0
151
+ }), Object.defineProperty(e, "_debugInfo", {
414
152
  configurable: !1,
415
153
  enumerable: !1,
416
- writable: !1,
417
- value: n
418
- }), Object.defineProperty(a, "_source", {
154
+ writable: !0,
155
+ value: null
156
+ }), Object.defineProperty(e, "_debugStack", {
419
157
  configurable: !1,
420
158
  enumerable: !1,
421
- writable: !1,
422
- value: i
423
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
424
- };
425
- function Qe(e, r, t, n, i) {
426
- {
427
- var u, o = {}, a = null, v = null;
428
- t !== void 0 && (de(t), a = "" + t), ze(r) && (de(r.key), a = "" + r.key), Ke(r) && (v = r.ref, Ge(r, i));
429
- for (u in r)
430
- A.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
431
- if (e && e.defaultProps) {
432
- var s = e.defaultProps;
433
- for (u in s)
434
- o[u] === void 0 && (o[u] = s[u]);
435
- }
436
- if (a || v) {
437
- var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
438
- a && Xe(o, l), v && He(o, l);
439
- }
440
- return Ze(e, a, v, i, n, ve.current, o);
441
- }
442
- }
443
- var K = S.ReactCurrentOwner, ye = S.ReactDebugCurrentFrame;
444
- function P(e) {
445
- if (e) {
446
- var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
447
- ye.setExtraStackFrame(t);
448
- } else
449
- ye.setExtraStackFrame(null);
450
- }
451
- var z;
452
- z = !1;
453
- function G(e) {
454
- return typeof e == "object" && e !== null && e.$$typeof === _;
455
- }
456
- function be() {
457
- {
458
- if (K.current) {
459
- var e = R(K.current.type);
460
- if (e)
461
- return `
462
-
463
- Check the render method of \`` + e + "`.";
464
- }
465
- return "";
466
- }
467
- }
468
- function er(e) {
469
- return "";
470
- }
471
- var he = {};
472
- function rr(e) {
473
- {
474
- var r = be();
475
- if (!r) {
476
- var t = typeof e == "string" ? e : e.displayName || e.name;
477
- t && (r = `
478
-
479
- Check the top-level render call using <` + t + ">.");
480
- }
481
- return r;
482
- }
483
- }
484
- function me(e, r) {
485
- {
486
- if (!e._store || e._store.validated || e.key != null)
487
- return;
488
- e._store.validated = !0;
489
- var t = rr(r);
490
- if (he[t])
491
- return;
492
- he[t] = !0;
493
- var n = "";
494
- e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + R(e._owner.type) + "."), P(e), d('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), P(null);
495
- }
496
- }
497
- function Ee(e, r) {
498
- {
499
- if (typeof e != "object")
500
- return;
501
- if (B(e))
502
- for (var t = 0; t < e.length; t++) {
503
- var n = e[t];
504
- G(n) && me(n, r);
505
- }
506
- else if (G(e))
507
- e._store && (e._store.validated = !0);
508
- else if (e) {
509
- var i = Se(e);
510
- if (typeof i == "function" && i !== e.entries)
511
- for (var u = i.call(e), o; !(o = u.next()).done; )
512
- G(o.value) && me(o.value, r);
513
- }
514
- }
515
- }
516
- function tr(e) {
517
- {
518
- var r = e.type;
519
- if (r == null || typeof r == "string")
520
- return;
521
- var t;
522
- if (typeof r == "function")
523
- t = r.propTypes;
524
- else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
525
- // Inner props are checked in the reconciler.
526
- r.$$typeof === b))
527
- t = r.propTypes;
528
- else
529
- return;
530
- if (t) {
531
- var n = R(r);
532
- Ue(t, e.props, "prop", n, e);
533
- } else if (r.PropTypes !== void 0 && !z) {
534
- z = !0;
535
- var i = R(r);
536
- d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
537
- }
538
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
539
- }
540
- }
541
- function nr(e) {
542
- {
543
- for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
544
- var n = r[t];
545
- if (n !== "children" && n !== "key") {
546
- P(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), P(null);
547
- break;
548
- }
549
- }
550
- e.ref !== null && (P(e), d("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
551
- }
552
- }
553
- var Re = {};
554
- function _e(e, r, t, n, i, u) {
555
- {
556
- var o = $e(e);
557
- if (!o) {
558
- var a = "";
559
- (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.");
560
- var v = er();
561
- v ? a += v : a += be();
562
- var s;
563
- e === null ? s = "null" : B(e) ? s = "array" : e !== void 0 && e.$$typeof === _ ? (s = "<" + (R(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, d("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);
564
- }
565
- var l = Qe(e, r, t, i, u);
566
- if (l == null)
567
- return l;
568
- if (o) {
569
- var g = r.children;
570
- if (g !== void 0)
571
- if (n)
572
- if (B(g)) {
573
- for (var j = 0; j < g.length; j++)
574
- Ee(g[j], e);
575
- Object.freeze && Object.freeze(g);
576
- } else
577
- d("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
578
- else
579
- Ee(g, e);
580
- }
581
- if (A.call(r, "key")) {
582
- var x = R(e), p = Object.keys(r).filter(function(lr) {
583
- return lr !== "key";
584
- }), X = p.length > 0 ? "{key: someKey, " + p.join(": ..., ") + ": ...}" : "{key: someKey}";
585
- if (!Re[x + X]) {
586
- var sr = p.length > 0 ? "{" + p.join(": ..., ") + ": ...}" : "{}";
587
- d(`A props object containing a "key" prop is being spread into JSX:
159
+ writable: !0,
160
+ value: g
161
+ }), Object.defineProperty(e, "_debugTask", {
162
+ configurable: !1,
163
+ enumerable: !1,
164
+ writable: !0,
165
+ value: A
166
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
167
+ }
168
+ function b(e, r, t, n, g, A) {
169
+ var a = r.children;
170
+ if (a !== void 0)
171
+ if (n)
172
+ if (Z(a)) {
173
+ for (n = 0; n < a.length; n++)
174
+ _(a[n]);
175
+ Object.freeze && Object.freeze(a);
176
+ } else
177
+ console.error(
178
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
179
+ );
180
+ else _(a);
181
+ if (j.call(r, "key")) {
182
+ a = l(e);
183
+ var d = Object.keys(r).filter(function(Q) {
184
+ return Q !== "key";
185
+ });
186
+ n = 0 < d.length ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}", I[a + n] || (d = 0 < d.length ? "{" + d.join(": ..., ") + ": ...}" : "{}", console.error(
187
+ `A props object containing a "key" prop is being spread into JSX:
588
188
  let props = %s;
589
189
  <%s {...props} />
590
190
  React keys must be passed directly to JSX without using spread:
591
191
  let props = %s;
592
- <%s key={someKey} {...props} />`, X, x, sr, x), Re[x + X] = !0;
593
- }
594
- }
595
- return e === h ? nr(l) : tr(l), l;
192
+ <%s key={someKey} {...props} />`,
193
+ n,
194
+ a,
195
+ d,
196
+ a
197
+ ), I[a + n] = !0);
596
198
  }
597
- }
598
- function ar(e, r, t) {
599
- return _e(e, r, t, !0);
600
- }
601
- function or(e, r, t) {
602
- return _e(e, r, t, !1);
603
- }
604
- var ir = or, ur = ar;
605
- I.Fragment = h, I.jsx = ir, I.jsxs = ur;
606
- })()), I;
199
+ if (a = null, t !== void 0 && (u(t), a = "" + t), i(r) && (u(r.key), a = "" + r.key), "key" in r) {
200
+ t = {};
201
+ for (var S in r)
202
+ S !== "key" && (t[S] = r[S]);
203
+ } else t = r;
204
+ return a && f(
205
+ t,
206
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
207
+ ), y(
208
+ e,
209
+ a,
210
+ t,
211
+ o(),
212
+ g,
213
+ A
214
+ );
215
+ }
216
+ function _(e) {
217
+ v(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === O && (e._payload.status === "fulfilled" ? v(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
218
+ }
219
+ function v(e) {
220
+ return typeof e == "object" && e !== null && e.$$typeof === P;
221
+ }
222
+ var R = K, P = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), k = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), q = /* @__PURE__ */ Symbol.for("react.consumer"), z = /* @__PURE__ */ Symbol.for("react.context"), J = /* @__PURE__ */ Symbol.for("react.forward_ref"), V = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), B = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), X = /* @__PURE__ */ Symbol.for("react.activity"), H = /* @__PURE__ */ Symbol.for("react.client.reference"), h = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, Z = Array.isArray, w = console.createTask ? console.createTask : function() {
223
+ return null;
224
+ };
225
+ R = {
226
+ react_stack_bottom_frame: function(e) {
227
+ return e();
228
+ }
229
+ };
230
+ var N, C = {}, Y = R.react_stack_bottom_frame.bind(
231
+ R,
232
+ s
233
+ )(), $ = w(c(s)), I = {};
234
+ p.Fragment = k, p.jsx = function(e, r, t) {
235
+ var n = 1e4 > h.recentlyCreatedOwnerStacks++;
236
+ return b(
237
+ e,
238
+ r,
239
+ t,
240
+ !1,
241
+ n ? Error("react-stack-top-frame") : Y,
242
+ n ? w(c(e)) : $
243
+ );
244
+ }, p.jsxs = function(e, r, t) {
245
+ var n = 1e4 > h.recentlyCreatedOwnerStacks++;
246
+ return b(
247
+ e,
248
+ r,
249
+ t,
250
+ !0,
251
+ n ? Error("react-stack-top-frame") : Y,
252
+ n ? w(c(e)) : $
253
+ );
254
+ };
255
+ })()), p;
607
256
  }
608
- var Ce;
609
- function dr() {
610
- return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? U.exports = fr() : U.exports = cr()), U.exports;
257
+ var L;
258
+ function te() {
259
+ return L || (L = 1, process.env.NODE_ENV === "production" ? T.exports = ee() : T.exports = re()), T.exports;
611
260
  }
612
- var vr = dr();
613
- const gr = ({
614
- children: k,
615
- onClick: _,
616
- variant: D = "primary",
617
- size: h = "md",
618
- disabled: m = !1,
619
- className: w = ""
261
+ var ne = te();
262
+ const ae = ({
263
+ children: l,
264
+ onClick: m,
265
+ variant: u = "primary",
266
+ size: c = "md",
267
+ disabled: o = !1,
268
+ className: s = "",
269
+ type: i = "button",
270
+ title: f,
271
+ "aria-label": x
620
272
  }) => {
621
- const T = "inline-flex items-center justify-center font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors duration-200", y = {
273
+ const y = "inline-flex items-center justify-center font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors duration-200", b = {
622
274
  primary: "bg-blue-600 hover:bg-blue-700 text-white focus:ring-blue-500",
623
275
  secondary: "bg-gray-600 hover:bg-gray-700 text-white focus:ring-gray-500",
624
- danger: "bg-red-600 hover:bg-red-700 text-white focus:ring-red-500"
625
- }, f = {
276
+ success: "bg-green-600 hover:bg-green-700 text-white focus:ring-green-500",
277
+ danger: "bg-red-600 hover:bg-red-700 text-white focus:ring-red-500",
278
+ neutral: "bg-slate-200 hover:bg-slate-300 text-slate-900 focus:ring-slate-400"
279
+ }, _ = {
280
+ xs: "px-3 py-1 text-xs",
626
281
  sm: "px-3 py-1.5 text-sm",
627
282
  md: "px-4 py-2 text-base",
628
283
  lg: "px-6 py-3 text-lg"
629
- }, E = m ? "opacity-50 cursor-not-allowed" : "", c = `${T} ${y[D]} ${f[h]} ${E} ${w}`;
630
- return /* @__PURE__ */ vr.jsx(
284
+ }, v = [
285
+ y,
286
+ b[u] ?? b.primary,
287
+ _[c] ?? _.md,
288
+ o && "opacity-50 cursor-not-allowed",
289
+ s
290
+ ].filter(Boolean).join(" ");
291
+ return /* @__PURE__ */ ne.jsx(
631
292
  "button",
632
293
  {
633
- className: c,
634
- onClick: m ? void 0 : _,
635
- disabled: m,
636
- children: k
294
+ type: i,
295
+ className: v,
296
+ onClick: o ? void 0 : m,
297
+ disabled: o,
298
+ title: f,
299
+ "aria-label": x,
300
+ "aria-disabled": o,
301
+ children: l
637
302
  }
638
303
  );
639
304
  };
305
+ ae.displayName = "Button";
640
306
  export {
641
- gr as Button
307
+ ae as Button
642
308
  };
@@ -1,15 +1,7 @@
1
- (function(E,S){typeof exports=="object"&&typeof module<"u"?S(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],S):(E=typeof globalThis<"u"?globalThis:E||self,S(E.FintechComponentLibrary={},E.React))})(this,(function(E,S){"use strict";var Q=document.createElement("style");Q.textContent=`@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-duration:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.inline-flex{display:inline-flex}.cursor-not-allowed{cursor:not-allowed}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-50{opacity:.5}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}@property --tw-duration{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
2
- /*$vite$:1*/`,document.head.appendChild(Q);var L={exports:{}},F={};var ee;function Pe(){if(ee)return F;ee=1;var $=S,R=Symbol.for("react.element"),I=Symbol.for("react.fragment"),w=Object.prototype.hasOwnProperty,b=$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,P={key:!0,ref:!0,__self:!0,__source:!0};function x(g,f,m){var c,y={},T=null,M=null;m!==void 0&&(T=""+m),f.key!==void 0&&(T=""+f.key),f.ref!==void 0&&(M=f.ref);for(c in f)w.call(f,c)&&!P.hasOwnProperty(c)&&(y[c]=f[c]);if(g&&g.defaultProps)for(c in f=g.defaultProps,f)y[c]===void 0&&(y[c]=f[c]);return{$$typeof:R,type:g,key:T,ref:M,props:y,_owner:b.current}}return F.Fragment=I,F.jsx=x,F.jsxs=x,F}var A={};var re;function je(){return re||(re=1,process.env.NODE_ENV!=="production"&&(function(){var $=S,R=Symbol.for("react.element"),I=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),g=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),ne=Symbol.iterator,Ae="@@iterator";function $e(e){if(e===null||typeof e!="object")return null;var r=ne&&e[ne]||e[Ae];return typeof r=="function"?r:null}var j=$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function d(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ie("error",e,t)}}function Ie(e,r,t){{var n=j.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var s=t.map(function(i){return String(i)});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var We=!1,Ye=!1,Le=!1,Me=!1,Ve=!1,ae;ae=Symbol.for("react.module.reference");function Ue(e){return!!(typeof e=="string"||typeof e=="function"||e===w||e===P||Ve||e===b||e===m||e===c||Me||e===M||We||Ye||Le||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===y||e.$$typeof===x||e.$$typeof===g||e.$$typeof===f||e.$$typeof===ae||e.getModuleId!==void 0))}function Ne(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ie(e){return e.displayName||"Context"}function _(e){if(e==null)return null;if(typeof e.tag=="number"&&d("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 w:return"Fragment";case I:return"Portal";case P:return"Profiler";case b:return"StrictMode";case m:return"Suspense";case c:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case g:var r=e;return ie(r)+".Consumer";case x:var t=e;return ie(t._context)+".Provider";case f:return Ne(e,e.render,"ForwardRef");case y:var n=e.displayName||null;return n!==null?n:_(e.type)||"Memo";case T:{var o=e,s=o._payload,i=o._init;try{return _(i(s))}catch{return null}}}return null}var C=Object.assign,W=0,oe,se,ue,le,fe,ce,de;function ve(){}ve.__reactDisabledLog=!0;function Be(){{if(W===0){oe=console.log,se=console.info,ue=console.warn,le=console.error,fe=console.group,ce=console.groupCollapsed,de=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function Je(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C({},e,{value:oe}),info:C({},e,{value:se}),warn:C({},e,{value:ue}),error:C({},e,{value:le}),group:C({},e,{value:fe}),groupCollapsed:C({},e,{value:ce}),groupEnd:C({},e,{value:de})})}W<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=j.ReactCurrentDispatcher,q;function V(e,r,t){{if(q===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
3
- `+q+e}}var K=!1,U;{var qe=typeof WeakMap=="function"?WeakMap:Map;U=new qe}function pe(e,r){if(!e||K)return"";{var t=U.get(e);if(t!==void 0)return t}var n;K=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=J.current,J.current=null,Be();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(p){n=p}Reflect.construct(e,[],i)}else{try{i.call()}catch(p){n=p}e.call(i.prototype)}}else{try{throw Error()}catch(p){n=p}e()}}catch(p){if(p&&n&&typeof p.stack=="string"){for(var a=p.stack.split(`
4
- `),v=n.stack.split(`
5
- `),u=a.length-1,l=v.length-1;u>=1&&l>=0&&a[u]!==v[l];)l--;for(;u>=1&&l>=0;u--,l--)if(a[u]!==v[l]){if(u!==1||l!==1)do if(u--,l--,l<0||a[u]!==v[l]){var h=`
6
- `+a[u].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),typeof e=="function"&&U.set(e,h),h}while(u>=1&&l>=0);break}}}finally{K=!1,J.current=s,Je(),Error.prepareStackTrace=o}var D=e?e.displayName||e.name:"",O=D?V(D):"";return typeof e=="function"&&U.set(e,O),O}function Ke(e,r,t){return pe(e,!1)}function ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function N(e,r,t){if(e==null)return"";if(typeof e=="function")return pe(e,ze(e));if(typeof e=="string")return V(e);switch(e){case m:return V("Suspense");case c:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Ke(e.render);case y:return N(e.type,r,t);case T:{var n=e,o=n._payload,s=n._init;try{return N(s(o),r,t)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,he={},ge=j.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=N(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}function Ge(e,r,t,n,o){{var s=Function.call.bind(Y);for(var i in e)if(s(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var v=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){a=u}a&&!(a instanceof Error)&&(B(o),d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),B(null)),a instanceof Error&&!(a.message in he)&&(he[a.message]=!0,B(o),d("Failed %s type: %s",t,a.message),B(null))}}}var Xe=Array.isArray;function z(e){return Xe(e)}function He(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Ze(e){try{return ye(e),!1}catch{return!0}}function ye(e){return""+e}function we(e){if(Ze(e))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",He(e)),ye(e)}var be=j.ReactCurrentOwner,Qe={key:!0,ref:!0,__self:!0,__source:!0},me,_e;function er(e){if(Y.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(Y.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){typeof e.ref=="string"&&be.current}function nr(e,r){{var t=function(){me||(me=!0,d("%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(){_e||(_e=!0,d("%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 ir=function(e,r,t,n,o,s,i){var a={$$typeof:R,type:e,key:r,ref:t,props:i,_owner:s};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:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function or(e,r,t,n,o){{var s,i={},a=null,v=null;t!==void 0&&(we(t),a=""+t),rr(r)&&(we(r.key),a=""+r.key),er(r)&&(v=r.ref,tr(r,o));for(s in r)Y.call(r,s)&&!Qe.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)i[s]===void 0&&(i[s]=u[s])}if(a||v){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&nr(i,l),v&&ar(i,l)}return ir(e,a,v,o,n,be.current,i)}}var G=j.ReactCurrentOwner,Ee=j.ReactDebugCurrentFrame;function k(e){if(e){var r=e._owner,t=N(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var X;X=!1;function H(e){return typeof e=="object"&&e!==null&&e.$$typeof===R}function Re(){{if(G.current){var e=_(G.current.type);if(e)return`
7
-
8
- Check the render method of \``+e+"`."}return""}}function sr(e){return""}var xe={};function ur(e){{var r=Re();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
9
-
10
- Check the top-level render call using <`+t+">.")}return r}}function Te(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ur(r);if(xe[t])return;xe[t]=!0;var n="";e&&e._owner&&e._owner!==G.current&&(n=" It was passed a child from "+_(e._owner.type)+"."),k(e),d('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),k(null)}}function Ce(e,r){{if(typeof e!="object")return;if(z(e))for(var t=0;t<e.length;t++){var n=e[t];H(n)&&Te(n,r)}else if(H(e))e._store&&(e._store.validated=!0);else if(e){var o=$e(e);if(typeof o=="function"&&o!==e.entries)for(var s=o.call(e),i;!(i=s.next()).done;)H(i.value)&&Te(i.value,r)}}}function lr(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===f||r.$$typeof===y))t=r.propTypes;else return;if(t){var n=_(r);Ge(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var o=_(r);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){k(e),d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),k(null);break}}e.ref!==null&&(k(e),d("Invalid attribute `ref` supplied to `React.Fragment`."),k(null))}}var Oe={};function Se(e,r,t,n,o,s){{var i=Ue(e);if(!i){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 v=sr();v?a+=v:a+=Re();var u;e===null?u="null":z(e)?u="array":e!==void 0&&e.$$typeof===R?(u="<"+(_(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var l=or(e,r,t,o,s);if(l==null)return l;if(i){var h=r.children;if(h!==void 0)if(n)if(z(h)){for(var D=0;D<h.length;D++)Ce(h[D],e);Object.freeze&&Object.freeze(h)}else d("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 Ce(h,e)}if(Y.call(r,"key")){var O=_(e),p=Object.keys(r).filter(function(gr){return gr!=="key"}),Z=p.length>0?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}";if(!Oe[O+Z]){var hr=p.length>0?"{"+p.join(": ..., ")+": ...}":"{}";d(`A props object containing a "key" prop is being spread into JSX:
1
+ (function(c,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],w):(c=typeof globalThis<"u"?globalThis:c||self,w(c.FintechComponentLibrary={},c.React))})(this,(function(c,w){"use strict";var z=document.createElement("style");z.textContent=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.flex{display:flex}.inline-flex{display:inline-flex}.cursor-not-allowed{cursor:not-allowed}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-md{border-radius:.375rem}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-50{opacity:.5}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.hover\\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.hover\\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\\:bg-slate-300:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.focus\\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity, 1))}.focus\\:ring-green-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity, 1))}.focus\\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\\:ring-slate-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(148 163 184 / var(--tw-ring-opacity, 1))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}
2
+ /*$vite$:1*/`,document.head.appendChild(z);var v={exports:{}},b={};var C;function q(){if(C)return b;C=1;var s=Symbol.for("react.transitional.element"),p=Symbol.for("react.fragment");function l(u,a,i){var d=null;if(i!==void 0&&(d=""+i),a.key!==void 0&&(d=""+a.key),"key"in a){i={};for(var f in a)f!=="key"&&(i[f]=a[f])}else i=a;return a=i.ref,{$$typeof:s,type:u,key:d,ref:a!==void 0?a:null,props:i}}return b.Fragment=p,b.jsx=l,b.jsxs=l,b}var m={};var N;function J(){return N||(N=1,process.env.NODE_ENV!=="production"&&(function(){function s(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===nt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case T:return"Fragment";case H:return"Profiler";case X:return"StrictMode";case tt:return"Suspense";case et:return"SuspenseList";case ot:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case G:return"Portal";case Q:return t.displayName||"Context";case Z:return(t._context.displayName||"Context")+".Consumer";case K:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case rt:return e=t.displayName||null,e!==null?e:s(t.type)||"Memo";case j:e=t._payload,t=t._init;try{return s(t(e))}catch{}}return null}function p(t){return""+t}function l(t){try{p(t);var e=!1}catch{e=!0}if(e){e=console;var r=e.error,o=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return r.call(e,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),p(t)}}function u(t){if(t===T)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===j)return"<...>";try{var e=s(t);return e?"<"+e+">":"<...>"}catch{return"<...>"}}function a(){var t=S.A;return t===null?null:t.getOwner()}function i(){return Error("react-stack-top-frame")}function d(t){if(F.call(t,"key")){var e=Object.getOwnPropertyDescriptor(t,"key").get;if(e&&e.isReactWarning)return!1}return t.key!==void 0}function f(t,e){function r(){M||(M=!0,console.error("%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://react.dev/link/special-props)",e))}r.isReactWarning=!0,Object.defineProperty(t,"key",{get:r,configurable:!0})}function E(){var t=s(this.type);return D[t]||(D[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),t=this.props.ref,t!==void 0?t:null}function R(t,e,r,o,_,A){var n=r.ref;return t={$$typeof:$,type:t,key:e,props:r,_owner:o},(n!==void 0?n:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:E}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function h(t,e,r,o,_,A){var n=e.children;if(n!==void 0)if(o)if(at(n)){for(o=0;o<n.length;o++)y(n[o]);Object.freeze&&Object.freeze(n)}else console.error("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 y(n);if(F.call(e,"key")){n=s(t);var g=Object.keys(e).filter(function(it){return it!=="key"});o=0<g.length?"{key: someKey, "+g.join(": ..., ")+": ...}":"{key: someKey}",W[n+o]||(g=0<g.length?"{"+g.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
11
3
  let props = %s;
12
4
  <%s {...props} />
13
5
  React keys must be passed directly to JSX without using spread:
14
6
  let props = %s;
15
- <%s key={someKey} {...props} />`,Z,O,hr,O),Oe[O+Z]=!0}}return e===w?fr(l):lr(l),l}}function cr(e,r,t){return Se(e,r,t,!0)}function dr(e,r,t){return Se(e,r,t,!1)}var vr=dr,pr=cr;A.Fragment=w,A.jsx=vr,A.jsxs=pr})()),A}var te;function ke(){return te||(te=1,process.env.NODE_ENV==="production"?L.exports=Pe():L.exports=je()),L.exports}var De=ke();const Fe=({children:$,onClick:R,variant:I="primary",size:w="md",disabled:b=!1,className:P=""})=>{const x="inline-flex items-center justify-center font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors duration-200",g={primary:"bg-blue-600 hover:bg-blue-700 text-white focus:ring-blue-500",secondary:"bg-gray-600 hover:bg-gray-700 text-white focus:ring-gray-500",danger:"bg-red-600 hover:bg-red-700 text-white focus:ring-red-500"},f={sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-base",lg:"px-6 py-3 text-lg"},m=b?"opacity-50 cursor-not-allowed":"",c=`${x} ${g[I]} ${f[w]} ${m} ${P}`;return De.jsx("button",{className:c,onClick:b?void 0:R,disabled:b,children:$})};E.Button=Fe,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})}));
7
+ <%s key={someKey} {...props} />`,o,n,g,n),W[n+o]=!0)}if(n=null,r!==void 0&&(l(r),n=""+r),d(e)&&(l(e.key),n=""+e.key),"key"in e){r={};for(var P in e)P!=="key"&&(r[P]=e[P])}else r=e;return n&&f(r,typeof t=="function"?t.displayName||t.name||"Unknown":t),R(t,n,r,a(),_,A)}function y(t){x(t)?t._store&&(t._store.validated=1):typeof t=="object"&&t!==null&&t.$$typeof===j&&(t._payload.status==="fulfilled"?x(t._payload.value)&&t._payload.value._store&&(t._payload.value._store.validated=1):t._store&&(t._store.validated=1))}function x(t){return typeof t=="object"&&t!==null&&t.$$typeof===$}var k=w,$=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),Z=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),et=Symbol.for("react.suspense_list"),rt=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),ot=Symbol.for("react.activity"),nt=Symbol.for("react.client.reference"),S=k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=Object.prototype.hasOwnProperty,at=Array.isArray,O=console.createTask?console.createTask:function(){return null};k={react_stack_bottom_frame:function(t){return t()}};var M,D={},L=k.react_stack_bottom_frame.bind(k,i)(),U=O(u(i)),W={};m.Fragment=T,m.jsx=function(t,e,r){var o=1e4>S.recentlyCreatedOwnerStacks++;return h(t,e,r,!1,o?Error("react-stack-top-frame"):L,o?O(u(t)):U)},m.jsxs=function(t,e,r){var o=1e4>S.recentlyCreatedOwnerStacks++;return h(t,e,r,!0,o?Error("react-stack-top-frame"):L,o?O(u(t)):U)}})()),m}var Y;function V(){return Y||(Y=1,process.env.NODE_ENV==="production"?v.exports=q():v.exports=J()),v.exports}var B=V();const I=({children:s,onClick:p,variant:l="primary",size:u="md",disabled:a=!1,className:i="",type:d="button",title:f,"aria-label":E})=>{const R="inline-flex items-center justify-center font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors duration-200",h={primary:"bg-blue-600 hover:bg-blue-700 text-white focus:ring-blue-500",secondary:"bg-gray-600 hover:bg-gray-700 text-white focus:ring-gray-500",success:"bg-green-600 hover:bg-green-700 text-white focus:ring-green-500",danger:"bg-red-600 hover:bg-red-700 text-white focus:ring-red-500",neutral:"bg-slate-200 hover:bg-slate-300 text-slate-900 focus:ring-slate-400"},y={xs:"px-3 py-1 text-xs",sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-base",lg:"px-6 py-3 text-lg"},x=[R,h[l]??h.primary,y[u]??y.md,a&&"opacity-50 cursor-not-allowed",i].filter(Boolean).join(" ");return B.jsx("button",{type:d,className:x,onClick:a?void 0:p,disabled:a,title:f,"aria-label":E,"aria-disabled":a,children:s})};I.displayName="Button",c.Button=I,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})}));
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- @layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-duration:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.inline-flex{display:inline-flex}.cursor-not-allowed{cursor:not-allowed}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-50{opacity:.5}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}@property --tw-duration{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
1
+ *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.flex{display:flex}.inline-flex{display:inline-flex}.cursor-not-allowed{cursor:not-allowed}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-md{border-radius:.375rem}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-50{opacity:.5}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-slate-300:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.focus\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity, 1))}.focus\:ring-green-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity, 1))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-slate-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(148 163 184 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fintech-component-library",
3
- "version": "2.0.7",
3
+ "version": "3.0.0",
4
4
  "main": "./dist/fintech-component-library.umd.js",
5
5
  "module": "./dist/fintech-component-library.es.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,15 +13,19 @@
13
13
  "./styles.css": "./dist/style.css"
14
14
  },
15
15
  "files": [
16
- "dist",
17
- "src",
18
- "src/components"
16
+ "dist"
19
17
  ],
20
18
  "scripts": {
21
19
  "dev": "vite",
22
- "build": "vite build && tsc",
20
+ "build": "vite build",
23
21
  "preview": "vite preview",
24
- "test": "jest"
22
+ "test": "jest",
23
+ "storybook": "storybook dev -p 6006",
24
+ "build-storybook": "storybook build",
25
+ "prepublishOnly": "npm run build",
26
+ "changeset": "changeset",
27
+ "version-packages": "changeset version",
28
+ "release": "changeset publish"
25
29
  },
26
30
  "keywords": [
27
31
  "react",
@@ -35,24 +39,39 @@
35
39
  "license": "ISC",
36
40
  "description": "A React component library with TypeScript and Tailwind CSS",
37
41
  "devDependencies": {
38
- "@tailwindcss/postcss": "^4.1.18",
42
+ "@changesets/cli": "^2.29.8",
43
+ "@chromatic-com/storybook": "^5.0.0",
44
+ "@storybook/addon-a11y": "^10.2.0",
45
+ "@storybook/addon-docs": "^10.1.11",
46
+ "@storybook/addon-onboarding": "^10.1.11",
47
+ "@storybook/addon-vitest": "^10.1.11",
48
+ "@storybook/react-vite": "^10.1.11",
39
49
  "@testing-library/jest-dom": "^6.9.1",
40
50
  "@testing-library/react": "^16.3.1",
51
+ "@types/jest-axe": "^3.5.9",
41
52
  "@types/react": "^19.2.8",
42
53
  "@types/react-dom": "^19.2.3",
43
54
  "@vitejs/plugin-react": "^5.1.2",
55
+ "@vitest/browser-playwright": "^4.0.17",
56
+ "@vitest/coverage-v8": "^4.0.17",
44
57
  "autoprefixer": "^10.4.23",
45
58
  "identity-obj-proxy": "^3.0.0",
46
59
  "jest": "^29.7.0",
60
+ "jest-axe": "^10.0.0",
47
61
  "jest-circus": "^29.7.0",
48
62
  "jest-environment-jsdom": "^30.2.0",
49
63
  "jsdom": "^27.4.0",
64
+ "playwright": "^1.57.0",
50
65
  "postcss": "^8.5.6",
66
+ "react": "^19.2.3",
67
+ "react-dom": "^19.2.3",
51
68
  "rollup": "^4.55.1",
52
- "tailwindcss": "^4.1.18",
69
+ "storybook": "^10.1.11",
70
+ "tailwindcss": "^3.4.17",
53
71
  "ts-jest": "^29.4.6",
54
72
  "typescript": "^5.9.3",
55
- "vite": "^7.3.1"
73
+ "vite": "^7.3.1",
74
+ "vitest": "^4.0.17"
56
75
  },
57
76
  "peerDependencies": {
58
77
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -1,60 +0,0 @@
1
- import React from "react";
2
-
3
- interface ButtonProps {
4
- children: React.ReactNode;
5
- onClick?: () => void;
6
- variant?: "primary" | "secondary" | "success" | "danger" | "neutral";
7
- size?: "xs" | "sm" | "md" | "lg";
8
- disabled?: boolean;
9
- className?: string;
10
- type?: "button" | "submit" | "reset";
11
- title?: string;
12
- }
13
-
14
- const Button: React.FC<ButtonProps> = ({
15
- children,
16
- onClick,
17
- variant = "primary",
18
- size = "md",
19
- disabled = false,
20
- className = "",
21
- type = "button",
22
- title = "",
23
- }) => {
24
- const baseClasses =
25
- "inline-flex items-center justify-center font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors duration-200";
26
-
27
- const variantClasses = {
28
- primary: "bg-blue-600 hover:bg-blue-700 text-white focus:ring-blue-500",
29
- secondary: "bg-gray-600 hover:bg-gray-700 text-white focus:ring-gray-500",
30
- success: "bg-green-600 hover:bg-green-700 text-white focus:ring-green-500",
31
- danger: "bg-red-600 hover:bg-red-700 text-white focus:ring-red-500",
32
- neutral:
33
- "bg-slate-200 hover:bg-slate-300 text-slate-900 focus:ring-slate-400",
34
- };
35
-
36
- const sizeClasses = {
37
- xs: "px-3 py-1 text-xs",
38
- sm: "px-3 py-1.5 text-sm",
39
- md: "px-4 py-2 text-base",
40
- lg: "px-6 py-3 text-lg",
41
- };
42
-
43
- const disabledClasses = disabled ? "opacity-50 cursor-not-allowed" : "";
44
-
45
- const classes = `${baseClasses} ${variantClasses[variant]} ${sizeClasses[size]} ${disabledClasses} ${className}`;
46
-
47
- return (
48
- <button
49
- className={classes}
50
- onClick={disabled ? undefined : onClick}
51
- disabled={disabled}
52
- type={type || "button"}
53
- title={title}
54
- >
55
- {children}
56
- </button>
57
- );
58
- };
59
-
60
- export default Button;
package/src/index.css DELETED
@@ -1,3 +0,0 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
package/src/index.ts DELETED
@@ -1,2 +0,0 @@
1
- import "./index.css";
2
- export { default as Button } from "./components/Button";