@sportflow/ui 0.0.2 → 0.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/index.es.js CHANGED
@@ -1,62 +1,62 @@
1
1
  import * as t from "react";
2
- import H, { createContext as o1, forwardRef as i1, useState as B, useEffect as u1 } from "react";
3
- var z = { exports: {} }, k = {};
4
- var e1;
2
+ import J, { createContext as o1, forwardRef as i1, useState as H, useEffect as u1 } from "react";
3
+ var I = { exports: {} }, k = {};
4
+ var t1;
5
5
  function m1() {
6
- if (e1) return k;
7
- e1 = 1;
6
+ if (t1) return k;
7
+ t1 = 1;
8
8
  var s = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
9
- function i(l, c, d) {
9
+ function i(l, c, f) {
10
10
  var p = null;
11
- if (d !== void 0 && (p = "" + d), c.key !== void 0 && (p = "" + c.key), "key" in c) {
12
- d = {};
11
+ if (f !== void 0 && (p = "" + f), c.key !== void 0 && (p = "" + c.key), "key" in c) {
12
+ f = {};
13
13
  for (var u in c)
14
- u !== "key" && (d[u] = c[u]);
15
- } else d = c;
16
- return c = d.ref, {
14
+ u !== "key" && (f[u] = c[u]);
15
+ } else f = c;
16
+ return c = f.ref, {
17
17
  $$typeof: s,
18
18
  type: l,
19
19
  key: p,
20
20
  ref: c !== void 0 ? c : null,
21
- props: d
21
+ props: f
22
22
  };
23
23
  }
24
24
  return k.Fragment = n, k.jsx = i, k.jsxs = i, k;
25
25
  }
26
26
  var S = {};
27
- var t1;
28
- function f1() {
29
- return t1 || (t1 = 1, process.env.NODE_ENV !== "production" && (function() {
27
+ var a1;
28
+ function d1() {
29
+ return a1 || (a1 = 1, process.env.NODE_ENV !== "production" && (function() {
30
30
  function s(e) {
31
31
  if (e == null) return null;
32
32
  if (typeof e == "function")
33
- return e.$$typeof === l1 ? null : e.displayName || e.name || null;
33
+ return e.$$typeof === R ? null : e.displayName || e.name || null;
34
34
  if (typeof e == "string") return e;
35
35
  switch (e) {
36
- case Z:
36
+ case g:
37
37
  return "Fragment";
38
- case _:
38
+ case j:
39
39
  return "Profiler";
40
- case y:
40
+ case v:
41
41
  return "StrictMode";
42
- case I:
42
+ case w:
43
43
  return "Suspense";
44
44
  case L:
45
45
  return "SuspenseList";
46
- case j:
46
+ case D:
47
47
  return "Activity";
48
48
  }
49
49
  if (typeof e == "object")
50
50
  switch (typeof e.tag == "number" && console.error(
51
51
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
52
52
  ), e.$$typeof) {
53
- case b:
53
+ case _:
54
54
  return "Portal";
55
55
  case P:
56
56
  return e.displayName || "Context";
57
57
  case O:
58
58
  return (e._context.displayName || "Context") + ".Consumer";
59
- case v:
59
+ case $:
60
60
  var a = e.render;
61
61
  return e = e.displayName, e || (e = a.displayName || a.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
62
62
  case Y:
@@ -91,7 +91,7 @@ function f1() {
91
91
  }
92
92
  }
93
93
  function l(e) {
94
- if (e === Z) return "<>";
94
+ if (e === g) return "<>";
95
95
  if (typeof e == "object" && e !== null && e.$$typeof === T)
96
96
  return "<...>";
97
97
  try {
@@ -102,14 +102,14 @@ function f1() {
102
102
  }
103
103
  }
104
104
  function c() {
105
- var e = D.A;
105
+ var e = W.A;
106
106
  return e === null ? null : e.getOwner();
107
107
  }
108
- function d() {
108
+ function f() {
109
109
  return Error("react-stack-top-frame");
110
110
  }
111
111
  function p(e) {
112
- if (J.call(e, "key")) {
112
+ if (q.call(e, "key")) {
113
113
  var a = Object.getOwnPropertyDescriptor(e, "key").get;
114
114
  if (a && a.isReactWarning) return !1;
115
115
  }
@@ -117,7 +117,7 @@ function f1() {
117
117
  }
118
118
  function u(e, a) {
119
119
  function o() {
120
- q || (q = !0, console.error(
120
+ G || (G = !0, console.error(
121
121
  "%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)",
122
122
  a
123
123
  ));
@@ -127,23 +127,23 @@ function f1() {
127
127
  configurable: !0
128
128
  });
129
129
  }
130
- function C() {
130
+ function Z() {
131
131
  var e = s(this.type);
132
- return G[e] || (G[e] = !0, console.error(
132
+ return X[e] || (X[e] = !0, console.error(
133
133
  "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."
134
134
  )), e = this.props.ref, e !== void 0 ? e : null;
135
135
  }
136
- function E(e, a, o, m, $, U) {
137
- var f = o.ref;
136
+ function E(e, a, o, m, z, V) {
137
+ var d = o.ref;
138
138
  return e = {
139
139
  $$typeof: A,
140
140
  type: e,
141
141
  key: a,
142
142
  props: o,
143
143
  _owner: m
144
- }, (f !== void 0 ? f : null) !== null ? Object.defineProperty(e, "ref", {
144
+ }, (d !== void 0 ? d : null) !== null ? Object.defineProperty(e, "ref", {
145
145
  enumerable: !1,
146
- get: C
146
+ get: Z
147
147
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
148
148
  configurable: !1,
149
149
  enumerable: !1,
@@ -158,33 +158,33 @@ function f1() {
158
158
  configurable: !1,
159
159
  enumerable: !1,
160
160
  writable: !0,
161
- value: $
161
+ value: z
162
162
  }), Object.defineProperty(e, "_debugTask", {
163
163
  configurable: !1,
164
164
  enumerable: !1,
165
165
  writable: !0,
166
- value: U
166
+ value: V
167
167
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
168
168
  }
169
- function w(e, a, o, m, $, U) {
170
- var f = a.children;
171
- if (f !== void 0)
169
+ function C(e, a, o, m, z, V) {
170
+ var d = a.children;
171
+ if (d !== void 0)
172
172
  if (m)
173
- if (s1(f)) {
174
- for (m = 0; m < f.length; m++)
175
- g(f[m]);
176
- Object.freeze && Object.freeze(f);
173
+ if (s1(d)) {
174
+ for (m = 0; m < d.length; m++)
175
+ x(d[m]);
176
+ Object.freeze && Object.freeze(d);
177
177
  } else
178
178
  console.error(
179
179
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
180
180
  );
181
- else g(f);
182
- if (J.call(a, "key")) {
183
- f = s(e);
184
- var R = Object.keys(a).filter(function(c1) {
181
+ else x(d);
182
+ if (q.call(a, "key")) {
183
+ d = s(e);
184
+ var y = Object.keys(a).filter(function(c1) {
185
185
  return c1 !== "key";
186
186
  });
187
- m = 0 < R.length ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}", K[f + m] || (R = 0 < R.length ? "{" + R.join(": ..., ") + ": ...}" : "{}", console.error(
187
+ m = 0 < y.length ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}", e1[d + m] || (y = 0 < y.length ? "{" + y.join(": ..., ") + ": ...}" : "{}", console.error(
188
188
  `A props object containing a "key" prop is being spread into JSX:
189
189
  let props = %s;
190
190
  <%s {...props} />
@@ -192,89 +192,89 @@ React keys must be passed directly to JSX without using spread:
192
192
  let props = %s;
193
193
  <%s key={someKey} {...props} />`,
194
194
  m,
195
- f,
196
- R,
197
- f
198
- ), K[f + m] = !0);
195
+ d,
196
+ y,
197
+ d
198
+ ), e1[d + m] = !0);
199
199
  }
200
- if (f = null, o !== void 0 && (i(o), f = "" + o), p(a) && (i(a.key), f = "" + a.key), "key" in a) {
200
+ if (d = null, o !== void 0 && (i(o), d = "" + o), p(a) && (i(a.key), d = "" + a.key), "key" in a) {
201
201
  o = {};
202
- for (var V in a)
203
- V !== "key" && (o[V] = a[V]);
202
+ for (var B in a)
203
+ B !== "key" && (o[B] = a[B]);
204
204
  } else o = a;
205
- return f && u(
205
+ return d && u(
206
206
  o,
207
207
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
208
208
  ), E(
209
209
  e,
210
- f,
210
+ d,
211
211
  o,
212
212
  c(),
213
- $,
214
- U
213
+ z,
214
+ V
215
215
  );
216
216
  }
217
- function g(e) {
217
+ function x(e) {
218
218
  h(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? h(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
219
219
  }
220
220
  function h(e) {
221
221
  return typeof e == "object" && e !== null && e.$$typeof === A;
222
222
  }
223
- var x = H, A = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), Z = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), O = Symbol.for("react.consumer"), P = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), Y = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), j = Symbol.for("react.activity"), l1 = Symbol.for("react.client.reference"), D = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, s1 = Array.isArray, W = console.createTask ? console.createTask : function() {
223
+ var b = J, A = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), O = Symbol.for("react.consumer"), P = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), Y = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), R = Symbol.for("react.client.reference"), W = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, s1 = Array.isArray, U = console.createTask ? console.createTask : function() {
224
224
  return null;
225
225
  };
226
- x = {
226
+ b = {
227
227
  react_stack_bottom_frame: function(e) {
228
228
  return e();
229
229
  }
230
230
  };
231
- var q, G = {}, X = x.react_stack_bottom_frame.bind(
232
- x,
233
- d
234
- )(), Q = W(l(d)), K = {};
235
- S.Fragment = Z, S.jsx = function(e, a, o) {
236
- var m = 1e4 > D.recentlyCreatedOwnerStacks++;
237
- return w(
231
+ var G, X = {}, Q = b.react_stack_bottom_frame.bind(
232
+ b,
233
+ f
234
+ )(), K = U(l(f)), e1 = {};
235
+ S.Fragment = g, S.jsx = function(e, a, o) {
236
+ var m = 1e4 > W.recentlyCreatedOwnerStacks++;
237
+ return C(
238
238
  e,
239
239
  a,
240
240
  o,
241
241
  !1,
242
- m ? Error("react-stack-top-frame") : X,
243
- m ? W(l(e)) : Q
242
+ m ? Error("react-stack-top-frame") : Q,
243
+ m ? U(l(e)) : K
244
244
  );
245
245
  }, S.jsxs = function(e, a, o) {
246
- var m = 1e4 > D.recentlyCreatedOwnerStacks++;
247
- return w(
246
+ var m = 1e4 > W.recentlyCreatedOwnerStacks++;
247
+ return C(
248
248
  e,
249
249
  a,
250
250
  o,
251
251
  !0,
252
- m ? Error("react-stack-top-frame") : X,
253
- m ? W(l(e)) : Q
252
+ m ? Error("react-stack-top-frame") : Q,
253
+ m ? U(l(e)) : K
254
254
  );
255
255
  };
256
256
  })()), S;
257
257
  }
258
- var a1;
259
- function d1() {
260
- return a1 || (a1 = 1, process.env.NODE_ENV === "production" ? z.exports = m1() : z.exports = f1()), z.exports;
258
+ var r1;
259
+ function f1() {
260
+ return r1 || (r1 = 1, process.env.NODE_ENV === "production" ? I.exports = m1() : I.exports = d1()), I.exports;
261
261
  }
262
- var r = d1();
263
- function w1({
262
+ var r = f1();
263
+ function C1({
264
264
  text: s,
265
265
  icon: n,
266
266
  iconPosition: i = "left",
267
267
  href: l,
268
268
  disabled: c = !1,
269
- handleOnClick: d,
269
+ handleOnClick: f,
270
270
  btnColor: p,
271
271
  textColor: u = "text-black",
272
- fullWidth: C = !1,
272
+ fullWidth: Z = !1,
273
273
  border: E,
274
- rounded: w = "rounded-none",
275
- extraClassName: g
274
+ rounded: C = "rounded-none",
275
+ extraClassName: x
276
276
  }) {
277
- const h = (_) => _?.includes("[") && _?.includes("]") || !1, x = [
277
+ const h = (j) => j?.includes("[") && j?.includes("]") || !1, b = [
278
278
  "flex",
279
279
  "h-12",
280
280
  "px-4",
@@ -286,23 +286,23 @@ function w1({
286
286
  "items-center",
287
287
  "justify-center",
288
288
  "transition-colors",
289
- C ? "w-full" : "w-fit",
289
+ Z ? "w-full" : "w-fit",
290
290
  c ? "!bg-gray-300 !opacity-40 !cursor-not-allowed shadow-inner" : "cursor-pointer"
291
291
  ], A = {
292
292
  backgroundColor: p || "bg-white",
293
293
  borderColor: E,
294
294
  textColor: u,
295
295
  borderWidth: E ? "border-2" : "",
296
- rounded: w
297
- }, b = [
298
- ...x,
296
+ rounded: C
297
+ }, _ = [
298
+ ...b,
299
299
  A.backgroundColor,
300
300
  A.borderWidth,
301
301
  A.borderColor,
302
302
  A.textColor,
303
303
  A.rounded,
304
- g
305
- ].filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), Z = {
304
+ x
305
+ ].filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), g = {
306
306
  ...p && h(p) && {
307
307
  backgroundColor: p.match(/\[(.*?)\]/)?.[1]
308
308
  },
@@ -312,18 +312,18 @@ function w1({
312
312
  ...u && h(u) && {
313
313
  color: u.match(/\[(.*?)\]/)?.[1]
314
314
  }
315
- }, y = /* @__PURE__ */ r.jsxs(
315
+ }, v = /* @__PURE__ */ r.jsxs(
316
316
  "span",
317
317
  {
318
318
  className: `flex gap-2 justify-center items-center ${h(u) ? "" : u}`,
319
319
  style: u && h(u) ? { color: u.match(/\[(.*?)\]/)?.[1] } : {},
320
320
  children: [
321
- n && i === "left" && /* @__PURE__ */ r.jsx("span", { "data-testid": "icon-left", children: H.createElement(n, {
321
+ n && i === "left" && /* @__PURE__ */ r.jsx("span", { "data-testid": "icon-left", children: J.createElement(n, {
322
322
  size: 24,
323
323
  weight: "bold"
324
324
  }) }),
325
325
  s,
326
- n && i === "right" && /* @__PURE__ */ r.jsx("span", { "data-testid": "icon-right", children: H.createElement(n, {
326
+ n && i === "right" && /* @__PURE__ */ r.jsx("span", { "data-testid": "icon-right", children: J.createElement(n, {
327
327
  size: 24,
328
328
  weight: "bold"
329
329
  }) })
@@ -333,23 +333,23 @@ function w1({
333
333
  return l && !c ? /* @__PURE__ */ r.jsx(
334
334
  "a",
335
335
  {
336
- className: b,
337
- style: Z,
336
+ className: _,
337
+ style: g,
338
338
  href: l,
339
339
  target: "_blank",
340
340
  rel: "noopener noreferrer",
341
- onClick: d,
342
- children: y
341
+ onClick: f,
342
+ children: v
343
343
  }
344
344
  ) : /* @__PURE__ */ r.jsx(
345
345
  "button",
346
346
  {
347
- className: b,
348
- style: Z,
347
+ className: _,
348
+ style: g,
349
349
  disabled: c,
350
350
  type: "button",
351
- onClick: d,
352
- children: y
351
+ onClick: f,
352
+ children: v
353
353
  }
354
354
  );
355
355
  }
@@ -476,16 +476,16 @@ const p1 = /* @__PURE__ */ new Map([
476
476
  alt: i,
477
477
  color: l,
478
478
  size: c,
479
- weight: d,
479
+ weight: f,
480
480
  mirrored: p,
481
481
  children: u,
482
- weights: C,
482
+ weights: Z,
483
483
  ...E
484
484
  } = s, {
485
- color: w = "currentColor",
486
- size: g,
485
+ color: C = "currentColor",
486
+ size: x,
487
487
  weight: h = "regular",
488
- mirrored: x = !1,
488
+ mirrored: b = !1,
489
489
  ...A
490
490
  } = t.useContext(g1);
491
491
  return /* @__PURE__ */ t.createElement(
@@ -493,27 +493,27 @@ const p1 = /* @__PURE__ */ new Map([
493
493
  {
494
494
  ref: n,
495
495
  xmlns: "http://www.w3.org/2000/svg",
496
- width: c ?? g,
497
- height: c ?? g,
498
- fill: l ?? w,
496
+ width: c ?? x,
497
+ height: c ?? x,
498
+ fill: l ?? C,
499
499
  viewBox: "0 0 256 256",
500
- transform: p || x ? "scale(-1, 1)" : void 0,
500
+ transform: p || b ? "scale(-1, 1)" : void 0,
501
501
  ...A,
502
502
  ...E
503
503
  },
504
504
  !!i && /* @__PURE__ */ t.createElement("title", null, i),
505
505
  u,
506
- C.get(d ?? h)
506
+ Z.get(f ?? h)
507
507
  );
508
508
  }
509
509
  );
510
510
  F.displayName = "IconBase";
511
511
  const N = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: p1 }));
512
512
  N.displayName = "CheckCircleIcon";
513
- const r1 = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: h1 }));
514
- r1.displayName = "EyeIcon";
515
- const n1 = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: A1 }));
516
- n1.displayName = "EyeSlashIcon";
513
+ const n1 = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: h1 }));
514
+ n1.displayName = "EyeIcon";
515
+ const l1 = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: A1 }));
516
+ l1.displayName = "EyeSlashIcon";
517
517
  const M = t.forwardRef((s, n) => /* @__PURE__ */ t.createElement(F, { ref: n, ...s, weights: E1 }));
518
518
  M.displayName = "MinusCircleIcon";
519
519
  function x1({
@@ -585,67 +585,68 @@ const Z1 = i1(function({
585
585
  name: i,
586
586
  value: l,
587
587
  label: c = "",
588
- placeholder: d = "",
588
+ placeholder: f = "",
589
589
  onChange: p,
590
590
  error: u,
591
- inputExtraClassName: C = "",
591
+ inputExtraClassName: Z = "",
592
592
  labelExtraClassName: E = "",
593
- fullWidth: w = !1,
594
- disabled: g = !1,
593
+ fullWidth: C = !1,
594
+ disabled: x = !1,
595
595
  showRequirements: h = !1,
596
- onBlur: x
597
- }, A) {
598
- const [b, Z] = B(!1), [y, _] = B(!1), [O, P] = B(l ?? ""), v = n === "password", I = v && b ? "text" : n;
596
+ rounded: b = "rounded-none",
597
+ onBlur: A
598
+ }, _) {
599
+ const [g, v] = H(!1), [j, O] = H(!1), [P, $] = H(l ?? ""), w = n === "password", L = w && g ? "text" : n;
599
600
  u1(() => {
600
- P(l ?? "");
601
+ $(l ?? "");
601
602
  }, [l]);
602
- const L = () => {
603
- v && h && _(!0);
604
- }, Y = (j) => {
605
- _(!1), x?.(j);
606
- }, T = (j) => {
607
- P(j.target.value), p?.(j);
603
+ const Y = () => {
604
+ w && h && O(!0);
605
+ }, T = (R) => {
606
+ O(!1), A?.(R);
607
+ }, D = (R) => {
608
+ $(R.target.value), p?.(R);
608
609
  };
609
610
  return /* @__PURE__ */ r.jsxs(
610
611
  "div",
611
612
  {
612
- className: `relative min-h-13 min-w-80 ${w ? "w-full" : "w-fit"}`,
613
+ className: `relative min-h-13 min-w-80 ${C ? "w-full" : "w-fit"}`,
613
614
  children: [
614
- v && h && y ? /* @__PURE__ */ r.jsx(x1, { password: O }) : null,
615
+ w && h && j ? /* @__PURE__ */ r.jsx(x1, { password: P }) : null,
615
616
  /* @__PURE__ */ r.jsxs("div", { className: "relative", children: [
616
617
  /* @__PURE__ */ r.jsx(
617
618
  "input",
618
619
  {
619
- ref: A,
620
- className: `${C} peer block min-h-13 w-full border border-gray-600 px-3 text-base font-normal text-gray-600 focus:outline-none focus:ring-0 ${u ? "border-red-500" : ""} ${v ? "pr-10" : ""}`,
621
- disabled: g,
620
+ ref: _,
621
+ className: `${Z} ${b} block min-h-13 w-full border border-[#4C4C4C] px-4 text-base font-normal text-[#4C4C4C] focus:outline-none focus:ring-0 disabled:opacity-60 disabled:cursor-not-allowed! ${u ? "border-red-500" : ""} ${w ? "pr-10" : ""}`,
622
+ disabled: x,
622
623
  id: i,
623
624
  name: i,
624
- placeholder: d,
625
- type: I,
626
- value: O,
627
- onBlur: Y,
628
- onChange: T,
629
- onFocus: L
625
+ placeholder: f,
626
+ type: L,
627
+ value: P,
628
+ onBlur: T,
629
+ onChange: D,
630
+ onFocus: Y
630
631
  }
631
632
  ),
632
633
  /* @__PURE__ */ r.jsx(
633
634
  "label",
634
635
  {
635
- className: `${E} absolute left-2 top-2 origin-left -translate-y-4 scale-[0.875] transform bg-white px-2 text-sm text-gray-600 duration-300 peer-placeholder-shown:top-[6] peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-[0.875] peer-focus:px-2`,
636
+ className: `${E} absolute left-2 -top-2.5 bg-white px-2 text-sm font-normal text-[#4C4C4C]`,
636
637
  htmlFor: i,
637
638
  children: c
638
639
  }
639
640
  ),
640
- v ? /* @__PURE__ */ r.jsx(
641
+ w ? /* @__PURE__ */ r.jsx(
641
642
  "button",
642
643
  {
643
- "aria-label": b ? "Ocultar contraseña" : "Mostrar contraseña",
644
- className: "absolute cursor-pointer right-3 top-1/2 -translate-y-1/2 transform text-gray-600 focus:outline-none disabled:opacity-50",
645
- disabled: g,
644
+ "aria-label": g ? "Ocultar contraseña" : "Mostrar contraseña",
645
+ className: "absolute cursor-pointer right-3 top-1/2 -translate-y-1/2 transform text-[#4C4C4C] focus:outline-none",
646
+ disabled: x,
646
647
  type: "button",
647
- onClick: () => Z(!b),
648
- children: b ? /* @__PURE__ */ r.jsx(n1, { size: 24 }) : /* @__PURE__ */ r.jsx(r1, { size: 24 })
648
+ onClick: () => v(!g),
649
+ children: g ? /* @__PURE__ */ r.jsx(l1, { size: 24 }) : /* @__PURE__ */ r.jsx(n1, { size: 24 })
649
650
  }
650
651
  ) : null
651
652
  ] }),
@@ -655,7 +656,7 @@ const Z1 = i1(function({
655
656
  );
656
657
  });
657
658
  export {
658
- w1 as Button,
659
+ C1 as Button,
659
660
  Z1 as Input,
660
661
  x1 as PasswordTooltip
661
662
  };