kelt-ui-kit-react 1.4.6 → 1.4.7

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.
@@ -18,6 +18,7 @@ export interface InputProps {
18
18
  step?: string;
19
19
  tabIndex?: number;
20
20
  checked?: boolean;
21
+ handleKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
21
22
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
22
23
  onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
23
24
  onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
package/dist/index.js CHANGED
@@ -62,36 +62,36 @@ function Wo() {
62
62
  var j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
63
63
  function x(c) {
64
64
  {
65
- for (var b = arguments.length, D = new Array(b > 1 ? b - 1 : 0), P = 1; P < b; P++)
66
- D[P - 1] = arguments[P];
67
- g("error", c, D);
65
+ for (var b = arguments.length, O = new Array(b > 1 ? b - 1 : 0), C = 1; C < b; C++)
66
+ O[C - 1] = arguments[C];
67
+ g("error", c, O);
68
68
  }
69
69
  }
70
- function g(c, b, D) {
70
+ function g(c, b, O) {
71
71
  {
72
- var P = j.ReactDebugCurrentFrame, M = P.getStackAddendum();
73
- M !== "" && (b += "%s", D = D.concat([M]));
74
- var N = D.map(function(k) {
72
+ var C = j.ReactDebugCurrentFrame, M = C.getStackAddendum();
73
+ M !== "" && (b += "%s", O = O.concat([M]));
74
+ var N = O.map(function(k) {
75
75
  return String(k);
76
76
  });
77
77
  N.unshift("Warning: " + b), Function.prototype.apply.call(console[c], console, N);
78
78
  }
79
79
  }
80
- var S = !1, C = !1, _ = !1, O = !1, L = !1, T;
80
+ var S = !1, P = !1, _ = !1, D = !1, I = !1, T;
81
81
  T = Symbol.for("react.module.reference");
82
- function I(c) {
83
- return !!(typeof c == "string" || typeof c == "function" || c === n || c === i || L || c === a || c === d || c === f || O || c === h || S || C || _ || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === v || c.$$typeof === s || c.$$typeof === u || c.$$typeof === l || // This needs to include all possible module reference object
82
+ function $(c) {
83
+ return !!(typeof c == "string" || typeof c == "function" || c === n || c === i || I || c === a || c === d || c === f || D || c === h || S || P || _ || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === v || c.$$typeof === s || c.$$typeof === u || c.$$typeof === l || // This needs to include all possible module reference object
84
84
  // types supported by any Flight configuration anywhere since
85
85
  // we don't know which Flight build this will end up being used
86
86
  // with.
87
87
  c.$$typeof === T || c.getModuleId !== void 0));
88
88
  }
89
- function Y(c, b, D) {
90
- var P = c.displayName;
91
- if (P)
92
- return P;
89
+ function Y(c, b, O) {
90
+ var C = c.displayName;
91
+ if (C)
92
+ return C;
93
93
  var M = b.displayName || b.name || "";
94
- return M !== "" ? D + "(" + M + ")" : D;
94
+ return M !== "" ? O + "(" + M + ")" : O;
95
95
  }
96
96
  function z(c) {
97
97
  return c.displayName || "Context";
@@ -123,13 +123,13 @@ function Wo() {
123
123
  var b = c;
124
124
  return z(b) + ".Consumer";
125
125
  case s:
126
- var D = c;
127
- return z(D._context) + ".Provider";
126
+ var O = c;
127
+ return z(O._context) + ".Provider";
128
128
  case l:
129
129
  return Y(c, c.render, "ForwardRef");
130
130
  case v:
131
- var P = c.displayName || null;
132
- return P !== null ? P : ne(c.type) || "Memo";
131
+ var C = c.displayName || null;
132
+ return C !== null ? C : ne(c.type) || "Memo";
133
133
  case p: {
134
134
  var M = c, N = M._payload, k = M._init;
135
135
  try {
@@ -204,14 +204,14 @@ function Wo() {
204
204
  }
205
205
  }
206
206
  var ve = j.ReactCurrentDispatcher, me;
207
- function ce(c, b, D) {
207
+ function ce(c, b, O) {
208
208
  {
209
209
  if (me === void 0)
210
210
  try {
211
211
  throw Error();
212
212
  } catch (M) {
213
- var P = M.stack.trim().match(/\n( *(at )?)/);
214
- me = P && P[1] || "";
213
+ var C = M.stack.trim().match(/\n( *(at )?)/);
214
+ me = C && C[1] || "";
215
215
  }
216
216
  return `
217
217
  ` + me + c;
@@ -226,11 +226,11 @@ function Wo() {
226
226
  if (!c || ee)
227
227
  return "";
228
228
  {
229
- var D = je.get(c);
230
- if (D !== void 0)
231
- return D;
229
+ var O = je.get(c);
230
+ if (O !== void 0)
231
+ return O;
232
232
  }
233
- var P;
233
+ var C;
234
234
  ee = !0;
235
235
  var M = Error.prepareStackTrace;
236
236
  Error.prepareStackTrace = void 0;
@@ -249,14 +249,14 @@ function Wo() {
249
249
  try {
250
250
  Reflect.construct(k, []);
251
251
  } catch (ge) {
252
- P = ge;
252
+ C = ge;
253
253
  }
254
254
  Reflect.construct(c, [], k);
255
255
  } else {
256
256
  try {
257
257
  k.call();
258
258
  } catch (ge) {
259
- P = ge;
259
+ C = ge;
260
260
  }
261
261
  c.call(k.prototype);
262
262
  }
@@ -264,26 +264,26 @@ function Wo() {
264
264
  try {
265
265
  throw Error();
266
266
  } catch (ge) {
267
- P = ge;
267
+ C = ge;
268
268
  }
269
269
  c();
270
270
  }
271
271
  } catch (ge) {
272
- if (ge && P && typeof ge.stack == "string") {
272
+ if (ge && C && typeof ge.stack == "string") {
273
273
  for (var E = ge.stack.split(`
274
- `), B = P.stack.split(`
275
- `), $ = E.length - 1, q = B.length - 1; $ >= 1 && q >= 0 && E[$] !== B[q]; )
274
+ `), B = C.stack.split(`
275
+ `), L = E.length - 1, q = B.length - 1; L >= 1 && q >= 0 && E[L] !== B[q]; )
276
276
  q--;
277
- for (; $ >= 1 && q >= 0; $--, q--)
278
- if (E[$] !== B[q]) {
279
- if ($ !== 1 || q !== 1)
277
+ for (; L >= 1 && q >= 0; L--, q--)
278
+ if (E[L] !== B[q]) {
279
+ if (L !== 1 || q !== 1)
280
280
  do
281
- if ($--, q--, q < 0 || E[$] !== B[q]) {
281
+ if (L--, q--, q < 0 || E[L] !== B[q]) {
282
282
  var pe = `
283
- ` + E[$].replace(" at new ", " at ");
283
+ ` + E[L].replace(" at new ", " at ");
284
284
  return c.displayName && pe.includes("<anonymous>") && (pe = pe.replace("<anonymous>", c.displayName)), typeof c == "function" && je.set(c, pe), pe;
285
285
  }
286
- while ($ >= 1 && q >= 0);
286
+ while (L >= 1 && q >= 0);
287
287
  break;
288
288
  }
289
289
  }
@@ -293,14 +293,14 @@ function Wo() {
293
293
  var Me = c ? c.displayName || c.name : "", qe = Me ? ce(Me) : "";
294
294
  return typeof c == "function" && je.set(c, qe), qe;
295
295
  }
296
- function jt(c, b, D) {
296
+ function jt(c, b, O) {
297
297
  return de(c, !1);
298
298
  }
299
299
  function Q(c) {
300
300
  var b = c.prototype;
301
301
  return !!(b && b.isReactComponent);
302
302
  }
303
- function Ce(c, b, D) {
303
+ function Ce(c, b, O) {
304
304
  if (c == null)
305
305
  return "";
306
306
  if (typeof c == "function")
@@ -318,11 +318,11 @@ function Wo() {
318
318
  case l:
319
319
  return jt(c.render);
320
320
  case v:
321
- return Ce(c.type, b, D);
321
+ return Ce(c.type, b, O);
322
322
  case p: {
323
- var P = c, M = P._payload, N = P._init;
323
+ var C = c, M = C._payload, N = C._init;
324
324
  try {
325
- return Ce(N(M), b, D);
325
+ return Ce(N(M), b, O);
326
326
  } catch {
327
327
  }
328
328
  }
@@ -332,12 +332,12 @@ function Wo() {
332
332
  var oe = Object.prototype.hasOwnProperty, ze = {}, St = j.ReactDebugCurrentFrame;
333
333
  function Ue(c) {
334
334
  if (c) {
335
- var b = c._owner, D = Ce(c.type, c._source, b ? b.type : null);
336
- St.setExtraStackFrame(D);
335
+ var b = c._owner, O = Ce(c.type, c._source, b ? b.type : null);
336
+ St.setExtraStackFrame(O);
337
337
  } else
338
338
  St.setExtraStackFrame(null);
339
339
  }
340
- function $r(c, b, D, P, M) {
340
+ function $r(c, b, O, C, M) {
341
341
  {
342
342
  var N = Function.call.bind(oe);
343
343
  for (var k in c)
@@ -345,14 +345,14 @@ function Wo() {
345
345
  var E = void 0;
346
346
  try {
347
347
  if (typeof c[k] != "function") {
348
- var B = Error((P || "React class") + ": " + D + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
348
+ var B = Error((C || "React class") + ": " + O + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
349
349
  throw B.name = "Invariant Violation", B;
350
350
  }
351
- E = c[k](b, k, P, D, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
352
- } catch ($) {
353
- E = $;
351
+ E = c[k](b, k, C, O, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
352
+ } catch (L) {
353
+ E = L;
354
354
  }
355
- E && !(E instanceof Error) && (Ue(M), x("%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).", P || "React class", D, k, typeof E), Ue(null)), E instanceof Error && !(E.message in ze) && (ze[E.message] = !0, Ue(M), x("Failed %s type: %s", D, E.message), Ue(null));
355
+ E && !(E instanceof Error) && (Ue(M), x("%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).", C || "React class", O, k, typeof E), Ue(null)), E instanceof Error && !(E.message in ze) && (ze[E.message] = !0, Ue(M), x("Failed %s type: %s", O, E.message), Ue(null));
356
356
  }
357
357
  }
358
358
  }
@@ -362,8 +362,8 @@ function Wo() {
362
362
  }
363
363
  function Ut(c) {
364
364
  {
365
- var b = typeof Symbol == "function" && Symbol.toStringTag, D = b && c[Symbol.toStringTag] || c.constructor.name || "Object";
366
- return D;
365
+ var b = typeof Symbol == "function" && Symbol.toStringTag, O = b && c[Symbol.toStringTag] || c.constructor.name || "Object";
366
+ return O;
367
367
  }
368
368
  }
369
369
  function Mr(c) {
@@ -407,34 +407,34 @@ function Wo() {
407
407
  }
408
408
  function Kt(c, b) {
409
409
  {
410
- var D = function() {
410
+ var O = function() {
411
411
  at || (at = !0, x("%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)", b));
412
412
  };
413
- D.isReactWarning = !0, Object.defineProperty(c, "key", {
414
- get: D,
413
+ O.isReactWarning = !0, Object.defineProperty(c, "key", {
414
+ get: O,
415
415
  configurable: !0
416
416
  });
417
417
  }
418
418
  }
419
419
  function Yr(c, b) {
420
420
  {
421
- var D = function() {
421
+ var O = function() {
422
422
  Dt || (Dt = !0, x("%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)", b));
423
423
  };
424
- D.isReactWarning = !0, Object.defineProperty(c, "ref", {
425
- get: D,
424
+ O.isReactWarning = !0, Object.defineProperty(c, "ref", {
425
+ get: O,
426
426
  configurable: !0
427
427
  });
428
428
  }
429
429
  }
430
- var Jt = function(c, b, D, P, M, N, k) {
430
+ var Jt = function(c, b, O, C, M, N, k) {
431
431
  var E = {
432
432
  // This tag allows us to uniquely identify this as a React Element
433
433
  $$typeof: t,
434
434
  // Built-in properties that belong on the element
435
435
  type: c,
436
436
  key: b,
437
- ref: D,
437
+ ref: O,
438
438
  props: k,
439
439
  // Record the component responsible for creating this element.
440
440
  _owner: N
@@ -448,7 +448,7 @@ function Wo() {
448
448
  configurable: !1,
449
449
  enumerable: !1,
450
450
  writable: !1,
451
- value: P
451
+ value: C
452
452
  }), Object.defineProperty(E, "_source", {
453
453
  configurable: !1,
454
454
  enumerable: !1,
@@ -456,29 +456,29 @@ function Wo() {
456
456
  value: M
457
457
  }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
458
458
  };
459
- function Qt(c, b, D, P, M) {
459
+ function Qt(c, b, O, C, M) {
460
460
  {
461
461
  var N, k = {}, E = null, B = null;
462
- D !== void 0 && (Ht(D), E = "" + D), Fr(b) && (Ht(b.key), E = "" + b.key), Xt(b) && (B = b.ref, ot(b, M));
462
+ O !== void 0 && (Ht(O), E = "" + O), Fr(b) && (Ht(b.key), E = "" + b.key), Xt(b) && (B = b.ref, ot(b, M));
463
463
  for (N in b)
464
464
  oe.call(b, N) && !Wr.hasOwnProperty(N) && (k[N] = b[N]);
465
465
  if (c && c.defaultProps) {
466
- var $ = c.defaultProps;
467
- for (N in $)
468
- k[N] === void 0 && (k[N] = $[N]);
466
+ var L = c.defaultProps;
467
+ for (N in L)
468
+ k[N] === void 0 && (k[N] = L[N]);
469
469
  }
470
470
  if (E || B) {
471
471
  var q = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
472
472
  E && Kt(k, q), B && Yr(k, q);
473
473
  }
474
- return Jt(c, E, B, M, P, qt.current, k);
474
+ return Jt(c, E, B, M, C, qt.current, k);
475
475
  }
476
476
  }
477
477
  var Ge = j.ReactCurrentOwner, Zt = j.ReactDebugCurrentFrame;
478
478
  function Ie(c) {
479
479
  if (c) {
480
- var b = c._owner, D = Ce(c.type, c._source, b ? b.type : null);
481
- Zt.setExtraStackFrame(D);
480
+ var b = c._owner, O = Ce(c.type, c._source, b ? b.type : null);
481
+ Zt.setExtraStackFrame(O);
482
482
  } else
483
483
  Zt.setExtraStackFrame(null);
484
484
  }
@@ -507,10 +507,10 @@ Check the render method of \`` + c + "`.";
507
507
  {
508
508
  var b = le();
509
509
  if (!b) {
510
- var D = typeof c == "string" ? c : c.displayName || c.name;
511
- D && (b = `
510
+ var O = typeof c == "string" ? c : c.displayName || c.name;
511
+ O && (b = `
512
512
 
513
- Check the top-level render call using <` + D + ">.");
513
+ Check the top-level render call using <` + O + ">.");
514
514
  }
515
515
  return b;
516
516
  }
@@ -520,12 +520,12 @@ Check the top-level render call using <` + D + ">.");
520
520
  if (!c._store || c._store.validated || c.key != null)
521
521
  return;
522
522
  c._store.validated = !0;
523
- var D = U(b);
524
- if (He[D])
523
+ var O = U(b);
524
+ if (He[O])
525
525
  return;
526
- He[D] = !0;
527
- var P = "";
528
- c && c._owner && c._owner !== Ge.current && (P = " It was passed a child from " + ne(c._owner.type) + "."), Ie(c), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, P), Ie(null);
526
+ He[O] = !0;
527
+ var C = "";
528
+ c && c._owner && c._owner !== Ge.current && (C = " It was passed a child from " + ne(c._owner.type) + "."), Ie(c), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, C), Ie(null);
529
529
  }
530
530
  }
531
531
  function er(c, b) {
@@ -533,9 +533,9 @@ Check the top-level render call using <` + D + ">.");
533
533
  if (typeof c != "object")
534
534
  return;
535
535
  if (Ot(c))
536
- for (var D = 0; D < c.length; D++) {
537
- var P = c[D];
538
- it(P) && be(P, b);
536
+ for (var O = 0; O < c.length; O++) {
537
+ var C = c[O];
538
+ it(C) && be(C, b);
539
539
  }
540
540
  else if (it(c))
541
541
  c._store && (c._store.validated = !0);
@@ -552,18 +552,18 @@ Check the top-level render call using <` + D + ">.");
552
552
  var b = c.type;
553
553
  if (b == null || typeof b == "string")
554
554
  return;
555
- var D;
555
+ var O;
556
556
  if (typeof b == "function")
557
- D = b.propTypes;
557
+ O = b.propTypes;
558
558
  else if (typeof b == "object" && (b.$$typeof === l || // Note: Memo only checks outer props here.
559
559
  // Inner props are checked in the reconciler.
560
560
  b.$$typeof === v))
561
- D = b.propTypes;
561
+ O = b.propTypes;
562
562
  else
563
563
  return;
564
- if (D) {
565
- var P = ne(b);
566
- $r(D, c.props, "prop", P, c);
564
+ if (O) {
565
+ var C = ne(b);
566
+ $r(O, c.props, "prop", C, c);
567
567
  } else if (b.PropTypes !== void 0 && !Nt) {
568
568
  Nt = !0;
569
569
  var M = ne(b);
@@ -574,10 +574,10 @@ Check the top-level render call using <` + D + ">.");
574
574
  }
575
575
  function tr(c) {
576
576
  {
577
- for (var b = Object.keys(c.props), D = 0; D < b.length; D++) {
578
- var P = b[D];
579
- if (P !== "children" && P !== "key") {
580
- Ie(c), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), Ie(null);
577
+ for (var b = Object.keys(c.props), O = 0; O < b.length; O++) {
578
+ var C = b[O];
579
+ if (C !== "children" && C !== "key") {
580
+ Ie(c), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), Ie(null);
581
581
  break;
582
582
  }
583
583
  }
@@ -585,24 +585,24 @@ Check the top-level render call using <` + D + ">.");
585
585
  }
586
586
  }
587
587
  var kt = {};
588
- function st(c, b, D, P, M, N) {
588
+ function st(c, b, O, C, M, N) {
589
589
  {
590
- var k = I(c);
590
+ var k = $(c);
591
591
  if (!k) {
592
592
  var E = "";
593
593
  (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
594
594
  var B = fe();
595
595
  B ? E += B : E += le();
596
- var $;
597
- c === null ? $ = "null" : Ot(c) ? $ = "array" : c !== void 0 && c.$$typeof === t ? ($ = "<" + (ne(c.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof c, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, E);
596
+ var L;
597
+ c === null ? L = "null" : Ot(c) ? L = "array" : c !== void 0 && c.$$typeof === t ? (L = "<" + (ne(c.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : L = typeof c, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, E);
598
598
  }
599
- var q = Qt(c, b, D, M, N);
599
+ var q = Qt(c, b, O, M, N);
600
600
  if (q == null)
601
601
  return q;
602
602
  if (k) {
603
603
  var pe = b.children;
604
604
  if (pe !== void 0)
605
- if (P)
605
+ if (C)
606
606
  if (Ot(pe)) {
607
607
  for (var Me = 0; Me < pe.length; Me++)
608
608
  er(pe[Me], c);
@@ -629,11 +629,11 @@ React keys must be passed directly to JSX without using spread:
629
629
  return c === n ? tr(q) : _t(q), q;
630
630
  }
631
631
  }
632
- function ct(c, b, D) {
633
- return st(c, b, D, !0);
632
+ function ct(c, b, O) {
633
+ return st(c, b, O, !0);
634
634
  }
635
- function Et(c, b, D) {
636
- return st(c, b, D, !1);
635
+ function Et(c, b, O) {
636
+ return st(c, b, O, !1);
637
637
  }
638
638
  var Ct = Et, Pt = ct;
639
639
  At.Fragment = n, At.jsx = Ct, At.jsxs = Pt;
@@ -918,26 +918,26 @@ function ni(e) {
918
918
  return Qo(dr("", null, null, null, [""], e = Jo(e), 0, [0], e));
919
919
  }
920
920
  function dr(e, t, r, n, a, i, s, u, l) {
921
- for (var d = 0, f = 0, v = s, p = 0, h = 0, y = 0, m = 1, w = 1, j = 1, x = 0, g = "", S = a, C = i, _ = n, O = g; w; )
921
+ for (var d = 0, f = 0, v = s, p = 0, h = 0, y = 0, m = 1, w = 1, j = 1, x = 0, g = "", S = a, P = i, _ = n, D = g; w; )
922
922
  switch (y = x, x = De()) {
923
923
  case 40:
924
- if (y != 108 && ie(O, v - 1) == 58) {
925
- lr(O += R(Br(x), "&", "&\f"), "&\f", Aa(d ? u[d - 1] : 0)) != -1 && (j = -1);
924
+ if (y != 108 && ie(D, v - 1) == 58) {
925
+ lr(D += R(Br(x), "&", "&\f"), "&\f", Aa(d ? u[d - 1] : 0)) != -1 && (j = -1);
926
926
  break;
927
927
  }
928
928
  case 34:
929
929
  case 39:
930
930
  case 91:
931
- O += Br(x);
931
+ D += Br(x);
932
932
  break;
933
933
  case 9:
934
934
  case 10:
935
935
  case 13:
936
936
  case 32:
937
- O += Zo(y);
937
+ D += Zo(y);
938
938
  break;
939
939
  case 92:
940
- O += ei(ur() - 1, 7);
940
+ D += ei(ur() - 1, 7);
941
941
  continue;
942
942
  case 47:
943
943
  switch (Je()) {
@@ -946,11 +946,11 @@ function dr(e, t, r, n, a, i, s, u, l) {
946
946
  Rt(ai(ti(De(), ur()), t, r, l), l);
947
947
  break;
948
948
  default:
949
- O += "/";
949
+ D += "/";
950
950
  }
951
951
  break;
952
952
  case 123 * m:
953
- u[d++] = Te(O) * j;
953
+ u[d++] = Te(D) * j;
954
954
  case 125 * m:
955
955
  case 59:
956
956
  case 0:
@@ -959,30 +959,30 @@ function dr(e, t, r, n, a, i, s, u, l) {
959
959
  case 125:
960
960
  w = 0;
961
961
  case 59 + f:
962
- j == -1 && (O = R(O, /\f/g, "")), h > 0 && Te(O) - v && Rt(h > 32 ? Hn(O + ";", n, r, v - 1, l) : Hn(R(O, " ", "") + ";", n, r, v - 2, l), l);
962
+ j == -1 && (D = R(D, /\f/g, "")), h > 0 && Te(D) - v && Rt(h > 32 ? Hn(D + ";", n, r, v - 1, l) : Hn(R(D, " ", "") + ";", n, r, v - 2, l), l);
963
963
  break;
964
964
  case 59:
965
- O += ";";
965
+ D += ";";
966
966
  default:
967
- if (Rt(_ = Gn(O, t, r, d, f, a, u, g, S = [], C = [], v, i), i), x === 123)
967
+ if (Rt(_ = Gn(D, t, r, d, f, a, u, g, S = [], P = [], v, i), i), x === 123)
968
968
  if (f === 0)
969
- dr(O, t, _, _, S, i, v, u, C);
969
+ dr(D, t, _, _, S, i, v, u, P);
970
970
  else
971
- switch (p === 99 && ie(O, 3) === 110 ? 100 : p) {
971
+ switch (p === 99 && ie(D, 3) === 110 ? 100 : p) {
972
972
  case 100:
973
973
  case 108:
974
974
  case 109:
975
975
  case 115:
976
- dr(e, _, _, n && Rt(Gn(e, _, _, 0, 0, a, u, g, a, S = [], v, C), C), a, C, v, u, n ? S : C);
976
+ dr(e, _, _, n && Rt(Gn(e, _, _, 0, 0, a, u, g, a, S = [], v, P), P), a, P, v, u, n ? S : P);
977
977
  break;
978
978
  default:
979
- dr(O, _, _, _, [""], C, 0, u, C);
979
+ dr(D, _, _, _, [""], P, 0, u, P);
980
980
  }
981
981
  }
982
- d = f = h = 0, m = j = 1, g = O = "", v = s;
982
+ d = f = h = 0, m = j = 1, g = D = "", v = s;
983
983
  break;
984
984
  case 58:
985
- v = 1 + Te(O), h = y;
985
+ v = 1 + Te(D), h = y;
986
986
  default:
987
987
  if (m < 1) {
988
988
  if (x == 123)
@@ -990,18 +990,18 @@ function dr(e, t, r, n, a, i, s, u, l) {
990
990
  else if (x == 125 && m++ == 0 && Ko() == 125)
991
991
  continue;
992
992
  }
993
- switch (O += Dn(x), x * m) {
993
+ switch (D += Dn(x), x * m) {
994
994
  case 38:
995
- j = f > 0 ? 1 : (O += "\f", -1);
995
+ j = f > 0 ? 1 : (D += "\f", -1);
996
996
  break;
997
997
  case 44:
998
- u[d++] = (Te(O) - 1) * j, j = 1;
998
+ u[d++] = (Te(D) - 1) * j, j = 1;
999
999
  break;
1000
1000
  case 64:
1001
- Je() === 45 && (O += Br(De())), p = Je(), f = v = Te(g = O += ri(ur())), x++;
1001
+ Je() === 45 && (D += Br(De())), p = Je(), f = v = Te(g = D += ri(ur())), x++;
1002
1002
  break;
1003
1003
  case 45:
1004
- y === 45 && Te(O) == 2 && (m = 0);
1004
+ y === 45 && Te(D) == 2 && (m = 0);
1005
1005
  }
1006
1006
  }
1007
1007
  return i;
@@ -1715,11 +1715,11 @@ var Ui = Ya(_r), Gi = function() {
1715
1715
  Za.Consumer;
1716
1716
  var Gr = {}, ia = /* @__PURE__ */ new Set();
1717
1717
  function Hi(e, t, r) {
1718
- var n = _n(e), a = e, i = !Ur(e), s = t.attrs, u = s === void 0 ? kr : s, l = t.componentId, d = l === void 0 ? function(S, C) {
1718
+ var n = _n(e), a = e, i = !Ur(e), s = t.attrs, u = s === void 0 ? kr : s, l = t.componentId, d = l === void 0 ? function(S, P) {
1719
1719
  var _ = typeof S != "string" ? "sc" : Xn(S);
1720
1720
  Gr[_] = (Gr[_] || 0) + 1;
1721
- var O = "".concat(_, "-").concat(pi(_r + _ + Gr[_]));
1722
- return C ? "".concat(C, "-").concat(O) : O;
1721
+ var D = "".concat(_, "-").concat(pi(_r + _ + Gr[_]));
1722
+ return P ? "".concat(P, "-").concat(D) : D;
1723
1723
  }(t.displayName, t.parentComponentId) : l, f = t.displayName, v = f === void 0 ? function(S) {
1724
1724
  return Ur(S) ? "styled.".concat(S) : "Styled(".concat(Va(S), ")");
1725
1725
  }(e) : f, p = t.displayName && t.componentId ? "".concat(Xn(t.displayName), "-").concat(t.componentId) : t.componentId || d, h = n && a.attrs ? a.attrs.concat(u).filter(Boolean) : u, y = t.shouldForwardProp;
@@ -1727,48 +1727,48 @@ function Hi(e, t, r) {
1727
1727
  var m = a.shouldForwardProp;
1728
1728
  if (t.shouldForwardProp) {
1729
1729
  var w = t.shouldForwardProp;
1730
- y = function(S, C) {
1731
- return m(S, C) && w(S, C);
1730
+ y = function(S, P) {
1731
+ return m(S, P) && w(S, P);
1732
1732
  };
1733
1733
  } else y = m;
1734
1734
  }
1735
1735
  var j = new Gi(r, p, n ? a.componentStyle : void 0);
1736
- function x(S, C) {
1737
- return function(_, O, L) {
1738
- var T = _.attrs, I = _.componentStyle, Y = _.defaultProps, z = _.foldedComponentIds, ne = _.styledComponentId, Z = _.target, Oe = Ae.useContext(Za), ae = na(), Ne = _.shouldForwardProp || ae.shouldForwardProp;
1736
+ function x(S, P) {
1737
+ return function(_, D, I) {
1738
+ var T = _.attrs, $ = _.componentStyle, Y = _.defaultProps, z = _.foldedComponentIds, ne = _.styledComponentId, Z = _.target, Oe = Ae.useContext(Za), ae = na(), Ne = _.shouldForwardProp || ae.shouldForwardProp;
1739
1739
  process.env.NODE_ENV !== "production" && Vn(ne);
1740
- var Re = fi(O, Oe, Y) || mt, J = function(ke, ve, me) {
1740
+ var Re = fi(D, Oe, Y) || mt, J = function(ke, ve, me) {
1741
1741
  for (var ce, ee = ye(ye({}, ve), { className: void 0, theme: me }), je = 0; je < ke.length; je += 1) {
1742
1742
  var Ee = pt(ce = ke[je]) ? ce(ee) : ce;
1743
1743
  for (var de in Ee) ee[de] = de === "className" ? Ke(ee[de], Ee[de]) : de === "style" ? ye(ye({}, ee[de]), Ee[de]) : Ee[de];
1744
1744
  }
1745
1745
  return ve.className && (ee.className = Ke(ee.className, ve.className)), ee;
1746
- }(T, O, Re), H = J.as || Z, se = {};
1746
+ }(T, D, Re), H = J.as || Z, se = {};
1747
1747
  for (var K in J) J[K] === void 0 || K[0] === "$" || K === "as" || K === "theme" && J.theme === Re || (K === "forwardedAs" ? se.as = J.forwardedAs : Ne && !Ne(K, H) || (se[K] = J[K], Ne || process.env.NODE_ENV !== "development" || zo(K) || ia.has(K) || !rn.has(H) || (ia.add(K), console.warn('styled-components: it looks like an unknown prop "'.concat(K, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1748
1748
  var we = function(ke, ve) {
1749
1749
  var me = na(), ce = ke.generateAndInjectStyles(ve, me.styleSheet, me.stylis);
1750
1750
  return process.env.NODE_ENV !== "production" && Vn(ce), ce;
1751
- }(I, J);
1751
+ }($, J);
1752
1752
  process.env.NODE_ENV !== "production" && _.warnTooManyClasses && _.warnTooManyClasses(we);
1753
1753
  var _e = Ke(z, ne);
1754
- return we && (_e += " " + we), J.className && (_e += " " + J.className), se[Ur(H) && !rn.has(H) ? "class" : "className"] = _e, L && (se.ref = L), Ao(H, se);
1755
- }(g, S, C);
1754
+ return we && (_e += " " + we), J.className && (_e += " " + J.className), se[Ur(H) && !rn.has(H) ? "class" : "className"] = _e, I && (se.ref = I), Ao(H, se);
1755
+ }(g, S, P);
1756
1756
  }
1757
1757
  x.displayName = v;
1758
1758
  var g = Ae.forwardRef(x);
1759
1759
  return g.attrs = h, g.componentStyle = j, g.displayName = v, g.shouldForwardProp = y, g.foldedComponentIds = n ? Ke(a.foldedComponentIds, a.styledComponentId) : "", g.styledComponentId = p, g.target = n ? a.target : e, Object.defineProperty(g, "defaultProps", { get: function() {
1760
1760
  return this._foldedDefaultProps;
1761
1761
  }, set: function(S) {
1762
- this._foldedDefaultProps = n ? function(C) {
1763
- for (var _ = [], O = 1; O < arguments.length; O++) _[O - 1] = arguments[O];
1764
- for (var L = 0, T = _; L < T.length; L++) an(C, T[L], !0);
1765
- return C;
1762
+ this._foldedDefaultProps = n ? function(P) {
1763
+ for (var _ = [], D = 1; D < arguments.length; D++) _[D - 1] = arguments[D];
1764
+ for (var I = 0, T = _; I < T.length; I++) an(P, T[I], !0);
1765
+ return P;
1766
1766
  }({}, a.defaultProps, S) : S;
1767
- } }), process.env.NODE_ENV !== "production" && (di(v, p), g.warnTooManyClasses = /* @__PURE__ */ function(S, C) {
1768
- var _ = {}, O = !1;
1769
- return function(L) {
1770
- if (!O && (_[L] = !0, Object.keys(_).length >= 200)) {
1771
- var T = C ? ' with the id of "'.concat(C, '"') : "";
1767
+ } }), process.env.NODE_ENV !== "production" && (di(v, p), g.warnTooManyClasses = /* @__PURE__ */ function(S, P) {
1768
+ var _ = {}, D = !1;
1769
+ return function(I) {
1770
+ if (!D && (_[I] = !0, Object.keys(_).length >= 200)) {
1771
+ var T = P ? ' with the id of "'.concat(P, '"') : "";
1772
1772
  console.warn("Over ".concat(200, " classes were generated for component ").concat(S).concat(T, `.
1773
1773
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
1774
1774
  Example:
@@ -1778,7 +1778,7 @@ Example:
1778
1778
  },
1779
1779
  }))\`width: 100%;\`
1780
1780
 
1781
- <Component />`), O = !0, _ = {};
1781
+ <Component />`), D = !0, _ = {};
1782
1782
  }
1783
1783
  };
1784
1784
  }(v, p)), kn(g, function() {
@@ -1855,9 +1855,9 @@ const qi = En.div`
1855
1855
  if (!t && r)
1856
1856
  p(r);
1857
1857
  else if (e) {
1858
- const g = e.getBoundingClientRect(), S = (x = h.current) == null ? void 0 : x.getBoundingClientRect(), { innerWidth: C, innerHeight: _ } = window;
1858
+ const g = e.getBoundingClientRect(), S = (x = h.current) == null ? void 0 : x.getBoundingClientRect(), { innerWidth: P, innerHeight: _ } = window;
1859
1859
  if (S) {
1860
- let O, L;
1860
+ let D, I;
1861
1861
  const T = {
1862
1862
  topRight: () => ({
1863
1863
  top: g.top - S.height,
@@ -1884,7 +1884,7 @@ const qi = En.div`
1884
1884
  left: g.right
1885
1885
  })
1886
1886
  };
1887
- t && T[t] ? { top: O, left: L } = T[t]() : (L = g.right, O = g.bottom, g.right + S.width > C && (L = g.left - S.width), g.bottom + S.height > _ && (O = g.top - S.height)), p({ top: O, left: L < 0 ? 0 : L });
1887
+ t && T[t] ? { top: D, left: I } = T[t]() : (I = g.right, D = g.bottom, g.right + S.width > P && (I = g.left - S.width), g.bottom + S.height > _ && (D = g.top - S.height)), p({ top: D, left: I < 0 ? 0 : I });
1888
1888
  }
1889
1889
  }
1890
1890
  };
@@ -2275,19 +2275,20 @@ const br = Wt(
2275
2275
  checked: w,
2276
2276
  onChange: j,
2277
2277
  onBlur: x,
2278
- onClick: g
2279
- }, S) => {
2280
- const [C, _] = F(!1);
2278
+ onClick: g,
2279
+ handleKeyDown: S
2280
+ }, P) => {
2281
+ const [_, D] = F(!1);
2281
2282
  return /* @__PURE__ */ o.jsxs("div", { className: `input-container ${`input-container-${r}`} `, children: [
2282
2283
  /* @__PURE__ */ o.jsx("input", { name: `hide-${t}`, type: "text", style: { display: "none" } }),
2283
2284
  /* @__PURE__ */ o.jsx(
2284
2285
  "input",
2285
2286
  {
2286
- ref: S,
2287
+ ref: P,
2287
2288
  id: e,
2288
2289
  name: t,
2289
2290
  inputMode: u ?? (r === "number" ? "numeric" : "text"),
2290
- type: C ? Ze.TEXT : r,
2291
+ type: _ ? Ze.TEXT : r,
2291
2292
  spellCheck: "false",
2292
2293
  value: n,
2293
2294
  placeholder: i,
@@ -2301,9 +2302,10 @@ const br = Wt(
2301
2302
  maxLength: d,
2302
2303
  onChange: j,
2303
2304
  checked: w,
2305
+ onKeyDown: S,
2304
2306
  onBlur: x,
2305
- onClick: (O) => {
2306
- O.stopPropagation(), g && g(O);
2307
+ onClick: (I) => {
2308
+ I.stopPropagation(), g && g(I);
2307
2309
  },
2308
2310
  className: `input-field ${s ?? ""}`,
2309
2311
  onInvalid: a
@@ -2312,9 +2314,9 @@ const br = Wt(
2312
2314
  r === Ze.PASSWORD && /* @__PURE__ */ o.jsx(
2313
2315
  "div",
2314
2316
  {
2315
- onClick: () => _(!C),
2317
+ onClick: () => D(!_),
2316
2318
  className: "input-password-icon",
2317
- children: /* @__PURE__ */ o.jsx(W, { classIcon: C ? "bi-eye-slash" : "bi-eye" })
2319
+ children: /* @__PURE__ */ o.jsx(W, { classIcon: _ ? "bi-eye-slash" : "bi-eye" })
2318
2320
  }
2319
2321
  )
2320
2322
  ] });
@@ -2500,32 +2502,32 @@ function al(e) {
2500
2502
  hideToggleAll: w = !1,
2501
2503
  limitSelect: j = void 0,
2502
2504
  getRowId: x
2503
- } = e, g = he(null), [S, C] = F(
2505
+ } = e, g = he(null), [S, P] = F(
2504
2506
  /* @__PURE__ */ new Set()
2505
2507
  ), _ = A(() => {
2506
2508
  if (S.size === s.length)
2507
- C(/* @__PURE__ */ new Set()), m == null || m([]);
2509
+ P(/* @__PURE__ */ new Set()), m == null || m([]);
2508
2510
  else {
2509
2511
  let T = s.map(
2510
2512
  (Y) => x ? x(Y) : Y.id ?? Y
2511
2513
  );
2512
2514
  j && T.length > j && (T = T.slice(0, j));
2513
- const I = new Set(T);
2514
- C(I), m == null || m(
2515
+ const $ = new Set(T);
2516
+ P($), m == null || m(
2515
2517
  s.filter(
2516
- (Y) => I.has(x ? x(Y) : Y.id ?? Y)
2518
+ (Y) => $.has(x ? x(Y) : Y.id ?? Y)
2517
2519
  )
2518
2520
  );
2519
2521
  }
2520
- }, [s, m, j, x, S.size]), O = A(
2521
- (T, I) => {
2522
- T.stopPropagation(), f && (f == null || f(I));
2522
+ }, [s, m, j, x, S.size]), D = A(
2523
+ (T, $) => {
2524
+ T.stopPropagation(), f && (f == null || f($));
2523
2525
  },
2524
2526
  [f]
2525
- ), L = A(
2526
- (T, I) => {
2527
+ ), I = A(
2528
+ (T, $) => {
2527
2529
  T.stopPropagation();
2528
- const Y = x ? x(I) : I.id ?? I, z = new Set(S);
2530
+ const Y = x ? x($) : $.id ?? $, z = new Set(S);
2529
2531
  if (z.has(Y))
2530
2532
  z.delete(Y);
2531
2533
  else {
@@ -2533,7 +2535,7 @@ function al(e) {
2533
2535
  return;
2534
2536
  z.add(Y);
2535
2537
  }
2536
- C(z);
2538
+ P(z);
2537
2539
  const ne = s.filter(
2538
2540
  (Z) => z.has(x ? x(Z) : Z.id ?? Z)
2539
2541
  );
@@ -2544,8 +2546,8 @@ function al(e) {
2544
2546
  return re(() => {
2545
2547
  if (!p || !y) return;
2546
2548
  const T = new IntersectionObserver(
2547
- (I) => {
2548
- I[0].isIntersecting && p();
2549
+ ($) => {
2550
+ $[0].isIntersecting && p();
2549
2551
  },
2550
2552
  {
2551
2553
  root: null,
@@ -2578,14 +2580,14 @@ function al(e) {
2578
2580
  )
2579
2581
  }
2580
2582
  ),
2581
- l.map((T, I) => /* @__PURE__ */ o.jsx(
2583
+ l.map((T, $) => /* @__PURE__ */ o.jsx(
2582
2584
  Qi,
2583
2585
  {
2584
2586
  column: T,
2585
- idx: I,
2587
+ idx: $,
2586
2588
  onColumnClick: v
2587
2589
  },
2588
- I
2590
+ $
2589
2591
  )),
2590
2592
  u.length > 0 && /* @__PURE__ */ o.jsx(
2591
2593
  "th",
@@ -2607,12 +2609,12 @@ function al(e) {
2607
2609
  children: /* @__PURE__ */ o.jsx("div", { className: "mt-3", children: /* @__PURE__ */ o.jsx(la, { display: d }) })
2608
2610
  }
2609
2611
  ) }) : /* @__PURE__ */ o.jsx(o.Fragment, {}),
2610
- !d && s.map((T, I) => /* @__PURE__ */ o.jsxs("tr", { onClick: (Y) => O == null ? void 0 : O(Y, T), children: [
2612
+ !d && s.map((T, $) => /* @__PURE__ */ o.jsxs("tr", { onClick: (Y) => D == null ? void 0 : D(Y, T), children: [
2611
2613
  m && /* @__PURE__ */ o.jsx("td", { className: "select-cell", style: { textAlign: "center" }, children: /* @__PURE__ */ o.jsx(
2612
2614
  br,
2613
2615
  {
2614
- id: `select-row-${I}`,
2615
- name: `select-row-${I}`,
2616
+ id: `select-row-${$}`,
2617
+ name: `select-row-${$}`,
2616
2618
  type: Ze.CHECKBOX,
2617
2619
  disabled: j !== void 0 && S.size >= j && !S.has(
2618
2620
  x ? x(T) : T.id ?? T
@@ -2620,7 +2622,7 @@ function al(e) {
2620
2622
  checked: S.has(
2621
2623
  x ? x(T) : T.id ?? T
2622
2624
  ),
2623
- onChange: (Y) => L(Y, T)
2625
+ onChange: (Y) => I(Y, T)
2624
2626
  }
2625
2627
  ) }),
2626
2628
  l.map((Y, z) => /* @__PURE__ */ o.jsx(es, { column: Y, idx: z, row: T }, z)),
@@ -2633,7 +2635,7 @@ function al(e) {
2633
2635
  },
2634
2636
  z
2635
2637
  )) }) })
2636
- ] }, I)),
2638
+ ] }, $)),
2637
2639
  !d && s.length === 0 && /* @__PURE__ */ o.jsx(
2638
2640
  Zi,
2639
2641
  {
@@ -3188,7 +3190,7 @@ function jo(e, t) {
3188
3190
  }
3189
3191
  var Pe = "react-calendar__navigation";
3190
3192
  function rc(e) {
3191
- var t = e.activeStartDate, r = e.drillUp, n = e.formatMonthYear, a = n === void 0 ? go : n, i = e.formatYear, s = i === void 0 ? Ar : i, u = e.locale, l = e.maxDate, d = e.minDate, f = e.navigationAriaLabel, v = f === void 0 ? "" : f, p = e.navigationAriaLive, h = e.navigationLabel, y = e.next2AriaLabel, m = y === void 0 ? "" : y, w = e.next2Label, j = w === void 0 ? "»" : w, x = e.nextAriaLabel, g = x === void 0 ? "" : x, S = e.nextLabel, C = S === void 0 ? "›" : S, _ = e.prev2AriaLabel, O = _ === void 0 ? "" : _, L = e.prev2Label, T = L === void 0 ? "«" : L, I = e.prevAriaLabel, Y = I === void 0 ? "" : I, z = e.prevLabel, ne = z === void 0 ? "‹" : z, Z = e.setActiveStartDate, Oe = e.showDoubleView, ae = e.view, Ne = e.views, Re = Ne.indexOf(ae) > 0, J = ae !== "century", H = qs(ae, t), se = J ? Xs(ae, t) : void 0, K = yo(ae, t), we = J ? Ks(ae, t) : void 0, _e = function() {
3193
+ var t = e.activeStartDate, r = e.drillUp, n = e.formatMonthYear, a = n === void 0 ? go : n, i = e.formatYear, s = i === void 0 ? Ar : i, u = e.locale, l = e.maxDate, d = e.minDate, f = e.navigationAriaLabel, v = f === void 0 ? "" : f, p = e.navigationAriaLive, h = e.navigationLabel, y = e.next2AriaLabel, m = y === void 0 ? "" : y, w = e.next2Label, j = w === void 0 ? "»" : w, x = e.nextAriaLabel, g = x === void 0 ? "" : x, S = e.nextLabel, P = S === void 0 ? "›" : S, _ = e.prev2AriaLabel, D = _ === void 0 ? "" : _, I = e.prev2Label, T = I === void 0 ? "«" : I, $ = e.prevAriaLabel, Y = $ === void 0 ? "" : $, z = e.prevLabel, ne = z === void 0 ? "‹" : z, Z = e.setActiveStartDate, Oe = e.showDoubleView, ae = e.view, Ne = e.views, Re = Ne.indexOf(ae) > 0, J = ae !== "century", H = qs(ae, t), se = J ? Xs(ae, t) : void 0, K = yo(ae, t), we = J ? Ks(ae, t) : void 0, _e = function() {
3192
3194
  if (H.getFullYear() < 0)
3193
3195
  return !0;
3194
3196
  var Q = Js(ae, t);
@@ -3237,7 +3239,7 @@ function rc(e) {
3237
3239
  var Q = "".concat(Pe, "__label");
3238
3240
  return o.jsxs("button", { "aria-label": v, "aria-live": p, className: Q, disabled: !Re, onClick: r, style: { flexGrow: 1 }, type: "button", children: [o.jsx("span", { className: "".concat(Q, "__labelText ").concat(Q, "__labelText--from"), children: de(t) }), Oe ? o.jsxs(o.Fragment, { children: [o.jsx("span", { className: "".concat(Q, "__divider"), children: " – " }), o.jsx("span", { className: "".concat(Q, "__labelText ").concat(Q, "__labelText--to"), children: de(K) })] }) : null] });
3239
3241
  }
3240
- return o.jsxs("div", { className: Pe, children: [T !== null && J ? o.jsx("button", { "aria-label": O, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev2-button"), disabled: ke, onClick: ee, type: "button", children: T }) : null, ne !== null && o.jsx("button", { "aria-label": Y, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev-button"), disabled: _e, onClick: ce, type: "button", children: ne }), jt(), C !== null && o.jsx("button", { "aria-label": g, className: "".concat(Pe, "__arrow ").concat(Pe, "__next-button"), disabled: ve, onClick: je, type: "button", children: C }), j !== null && J ? o.jsx("button", { "aria-label": m, className: "".concat(Pe, "__arrow ").concat(Pe, "__next2-button"), disabled: me, onClick: Ee, type: "button", children: j }) : null] });
3242
+ return o.jsxs("div", { className: Pe, children: [T !== null && J ? o.jsx("button", { "aria-label": D, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev2-button"), disabled: ke, onClick: ee, type: "button", children: T }) : null, ne !== null && o.jsx("button", { "aria-label": Y, className: "".concat(Pe, "__arrow ").concat(Pe, "__prev-button"), disabled: _e, onClick: ce, type: "button", children: ne }), jt(), P !== null && o.jsx("button", { "aria-label": g, className: "".concat(Pe, "__arrow ").concat(Pe, "__next-button"), disabled: ve, onClick: je, type: "button", children: P }), j !== null && J ? o.jsx("button", { "aria-label": m, className: "".concat(Pe, "__arrow ").concat(Pe, "__next2-button"), disabled: me, onClick: Ee, type: "button", children: j }) : null] });
3241
3243
  }
3242
3244
  var ut = function() {
3243
3245
  return ut = Object.assign || function(e) {
@@ -3793,7 +3795,7 @@ function cr(e, t) {
3793
3795
  return e instanceof Date && t instanceof Date && e.getTime() === t.getTime();
3794
3796
  }
3795
3797
  var $c = Wt(function(t, r) {
3796
- var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, s = t.className, u = t.defaultActiveStartDate, l = t.defaultValue, d = t.defaultView, f = t.formatDay, v = t.formatLongDate, p = t.formatMonth, h = t.formatMonthYear, y = t.formatShortWeekday, m = t.formatWeekday, w = t.formatYear, j = t.goToRangeStartOnSelect, x = j === void 0 ? !0 : j, g = t.inputRef, S = t.locale, C = t.maxDate, _ = C === void 0 ? Pc : C, O = t.maxDetail, L = O === void 0 ? "month" : O, T = t.minDate, I = T === void 0 ? Wn : T, Y = t.minDetail, z = Y === void 0 ? "century" : Y, ne = t.navigationAriaLabel, Z = t.navigationAriaLive, Oe = t.navigationLabel, ae = t.next2AriaLabel, Ne = t.next2Label, Re = t.nextAriaLabel, J = t.nextLabel, H = t.onActiveStartDateChange, se = t.onChange, K = t.onClickDay, we = t.onClickDecade, _e = t.onClickMonth, ke = t.onClickWeekNumber, ve = t.onClickYear, me = t.onDrillDown, ce = t.onDrillUp, ee = t.onViewChange, je = t.prev2AriaLabel, Ee = t.prev2Label, de = t.prevAriaLabel, jt = t.prevLabel, Q = t.returnValue, Ce = Q === void 0 ? "start" : Q, oe = t.selectRange, ze = t.showDoubleView, St = t.showFixedNumberOfWeeks, Ue = t.showNavigation, $r = Ue === void 0 ? !0 : Ue, Lr = t.showNeighboringCentury, Ot = t.showNeighboringDecade, Ut = t.showNeighboringMonth, Mr = Ut === void 0 ? !0 : Ut, Gt = t.showWeekNumbers, Ht = t.tileClassName, qt = t.tileContent, Wr = t.tileDisabled, at = t.value, Dt = t.view, Xt = F(u), Fr = Xt[0], ot = Xt[1], Kt = F(null), Yr = Kt[0], Jt = Kt[1], Qt = F(Array.isArray(l) ? l.map(function(N) {
3798
+ var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, s = t.className, u = t.defaultActiveStartDate, l = t.defaultValue, d = t.defaultView, f = t.formatDay, v = t.formatLongDate, p = t.formatMonth, h = t.formatMonthYear, y = t.formatShortWeekday, m = t.formatWeekday, w = t.formatYear, j = t.goToRangeStartOnSelect, x = j === void 0 ? !0 : j, g = t.inputRef, S = t.locale, P = t.maxDate, _ = P === void 0 ? Pc : P, D = t.maxDetail, I = D === void 0 ? "month" : D, T = t.minDate, $ = T === void 0 ? Wn : T, Y = t.minDetail, z = Y === void 0 ? "century" : Y, ne = t.navigationAriaLabel, Z = t.navigationAriaLive, Oe = t.navigationLabel, ae = t.next2AriaLabel, Ne = t.next2Label, Re = t.nextAriaLabel, J = t.nextLabel, H = t.onActiveStartDateChange, se = t.onChange, K = t.onClickDay, we = t.onClickDecade, _e = t.onClickMonth, ke = t.onClickWeekNumber, ve = t.onClickYear, me = t.onDrillDown, ce = t.onDrillUp, ee = t.onViewChange, je = t.prev2AriaLabel, Ee = t.prev2Label, de = t.prevAriaLabel, jt = t.prevLabel, Q = t.returnValue, Ce = Q === void 0 ? "start" : Q, oe = t.selectRange, ze = t.showDoubleView, St = t.showFixedNumberOfWeeks, Ue = t.showNavigation, $r = Ue === void 0 ? !0 : Ue, Lr = t.showNeighboringCentury, Ot = t.showNeighboringDecade, Ut = t.showNeighboringMonth, Mr = Ut === void 0 ? !0 : Ut, Gt = t.showWeekNumbers, Ht = t.tileClassName, qt = t.tileContent, Wr = t.tileDisabled, at = t.value, Dt = t.view, Xt = F(u), Fr = Xt[0], ot = Xt[1], Kt = F(null), Yr = Kt[0], Jt = Kt[1], Qt = F(Array.isArray(l) ? l.map(function(N) {
3797
3799
  return N !== null ? It(N) : null;
3798
3800
  }) : l != null ? It(l) : null), Ge = Qt[0], Zt = Qt[1], Ie = F(d), Nt = Ie[0], it = Ie[1], le = n || Fr || Ic({
3799
3801
  activeStartDate: n,
@@ -3801,8 +3803,8 @@ var $c = Wt(function(t, r) {
3801
3803
  defaultValue: l,
3802
3804
  defaultView: d,
3803
3805
  maxDate: _,
3804
- maxDetail: L,
3805
- minDate: I,
3806
+ maxDetail: I,
3807
+ minDate: $,
3806
3808
  minDetail: z,
3807
3809
  value: at,
3808
3810
  view: Dt
@@ -3813,7 +3815,7 @@ var $c = Wt(function(t, r) {
3813
3815
  return N ? Array.isArray(N) ? N.map(function(k) {
3814
3816
  return k !== null ? It(k) : null;
3815
3817
  }) : N !== null ? It(N) : null : null;
3816
- }(), He = No(L), U = Fn(Dt || Nt, z, L), be = Do(z, L), er = oe ? Yr : null, _t = be.indexOf(U) < be.length - 1, tr = be.indexOf(U) > 0, kt = A(function(N) {
3818
+ }(), He = No(I), U = Fn(Dt || Nt, z, I), be = Do(z, I), er = oe ? Yr : null, _t = be.indexOf(U) < be.length - 1, tr = be.indexOf(U) > 0, kt = A(function(N) {
3817
3819
  var k = function() {
3818
3820
  switch (Ce) {
3819
3821
  case "start":
@@ -3828,11 +3830,11 @@ var $c = Wt(function(t, r) {
3828
3830
  }();
3829
3831
  return k({
3830
3832
  maxDate: _,
3831
- maxDetail: L,
3832
- minDate: I,
3833
+ maxDetail: I,
3834
+ minDate: $,
3833
3835
  value: N
3834
3836
  });
3835
- }, [_, L, I, Ce]), st = A(function(N, k) {
3837
+ }, [_, I, $, Ce]), st = A(function(N, k) {
3836
3838
  ot(N);
3837
3839
  var E = {
3838
3840
  action: k,
@@ -3909,59 +3911,59 @@ var $c = Wt(function(t, r) {
3909
3911
  ]), Pt = A(function(N, k) {
3910
3912
  var E = fe;
3911
3913
  ct(N, k);
3912
- var B = oe && !Jr(E), $;
3914
+ var B = oe && !Jr(E), L;
3913
3915
  if (oe)
3914
3916
  if (B)
3915
- $ = et(He, N);
3917
+ L = et(He, N);
3916
3918
  else {
3917
3919
  if (!E)
3918
3920
  throw new Error("previousValue is required");
3919
3921
  if (Array.isArray(E))
3920
3922
  throw new Error("previousValue must not be an array");
3921
- $ = Zs(He, E, N);
3923
+ L = Zs(He, E, N);
3922
3924
  }
3923
3925
  else
3924
- $ = kt(N);
3926
+ L = kt(N);
3925
3927
  var q = (
3926
3928
  // Range selection turned off
3927
3929
  !oe || // Range selection turned on, first value
3928
3930
  B || // Range selection turned on, second value, goToRangeStartOnSelect toggled on
3929
3931
  x ? Eo({
3930
3932
  maxDate: _,
3931
- maxDetail: L,
3932
- minDate: I,
3933
+ maxDetail: I,
3934
+ minDate: $,
3933
3935
  minDetail: z,
3934
- value: $,
3936
+ value: L,
3935
3937
  view: U
3936
3938
  }) : null
3937
3939
  );
3938
- k.persist(), ot(q), Zt($);
3940
+ k.persist(), ot(q), Zt(L);
3939
3941
  var pe = {
3940
3942
  action: "onChange",
3941
3943
  activeStartDate: q,
3942
- value: $,
3944
+ value: L,
3943
3945
  view: U
3944
3946
  };
3945
3947
  if (H && !cr(le, q) && H(pe), se)
3946
3948
  if (oe) {
3947
- var Me = Jr($);
3949
+ var Me = Jr(L);
3948
3950
  if (!Me)
3949
- se($ || null, k);
3951
+ se(L || null, k);
3950
3952
  else if (a) {
3951
- if (Array.isArray($))
3953
+ if (Array.isArray(L))
3952
3954
  throw new Error("value must not be an array");
3953
- se([$ || null, null], k);
3955
+ se([L || null, null], k);
3954
3956
  }
3955
3957
  } else
3956
- se($ || null, k);
3958
+ se(L || null, k);
3957
3959
  }, [
3958
3960
  le,
3959
3961
  a,
3960
3962
  kt,
3961
3963
  x,
3962
3964
  _,
3963
- L,
3964
3965
  I,
3966
+ $,
3965
3967
  z,
3966
3968
  H,
3967
3969
  se,
@@ -3988,13 +3990,13 @@ var $c = Wt(function(t, r) {
3988
3990
  view: U
3989
3991
  };
3990
3992
  }, [le, Et, Ct, Pt, st, fe, U]);
3991
- function D(N) {
3993
+ function O(N) {
3992
3994
  var k = N ? yo(U, le) : et(U, le), E = _t ? Et : Pt, B = {
3993
3995
  activeStartDate: k,
3994
3996
  hover: er,
3995
3997
  locale: S,
3996
3998
  maxDate: _,
3997
- minDate: I,
3999
+ minDate: $,
3998
4000
  onClick: E,
3999
4001
  onMouseOver: oe ? c : void 0,
4000
4002
  tileClassName: Ht,
@@ -4016,11 +4018,11 @@ var $c = Wt(function(t, r) {
4016
4018
  throw new Error("Invalid view: ".concat(U, "."));
4017
4019
  }
4018
4020
  }
4019
- function P() {
4020
- return $r ? o.jsx(rc, { activeStartDate: le, drillUp: Ct, formatMonthYear: h, formatYear: w, locale: S, maxDate: _, minDate: I, navigationAriaLabel: ne, navigationAriaLive: Z, navigationLabel: Oe, next2AriaLabel: ae, next2Label: Ne, nextAriaLabel: Re, nextLabel: J, prev2AriaLabel: je, prev2Label: Ee, prevAriaLabel: de, prevLabel: jt, setActiveStartDate: st, showDoubleView: ze, view: U, views: be }) : null;
4021
+ function C() {
4022
+ return $r ? o.jsx(rc, { activeStartDate: le, drillUp: Ct, formatMonthYear: h, formatYear: w, locale: S, maxDate: _, minDate: $, navigationAriaLabel: ne, navigationAriaLive: Z, navigationLabel: Oe, next2AriaLabel: ae, next2Label: Ne, nextAriaLabel: Re, nextLabel: J, prev2AriaLabel: je, prev2Label: Ee, prevAriaLabel: de, prevLabel: jt, setActiveStartDate: st, showDoubleView: ze, view: U, views: be }) : null;
4021
4023
  }
4022
4024
  var M = Array.isArray(fe) ? fe : [fe];
4023
- return o.jsxs("div", { className: Er(sr, oe && M.length === 1 && "".concat(sr, "--selectRange"), ze && "".concat(sr, "--doubleView"), s), ref: g, children: [P(), o.jsxs("div", { className: "".concat(sr, "__viewContainer"), onBlur: oe ? b : void 0, onMouseLeave: oe ? b : void 0, children: [D(), ze ? D(!0) : null] })] });
4025
+ return o.jsxs("div", { className: Er(sr, oe && M.length === 1 && "".concat(sr, "--selectRange"), ze && "".concat(sr, "--doubleView"), s), ref: g, children: [C(), o.jsxs("div", { className: "".concat(sr, "__viewContainer"), onBlur: oe ? b : void 0, onMouseLeave: oe ? b : void 0, children: [O(), ze ? O(!0) : null] })] });
4024
4026
  });
4025
4027
  const ol = ({
4026
4028
  value: e,
@@ -4196,18 +4198,18 @@ const ol = ({
4196
4198
  }), g;
4197
4199
  }), f = he({}), v = A(
4198
4200
  (g, S) => {
4199
- const { name: C, type: _, checked: O, value: L } = g.target, T = _ === "checkbox" ? O : L;
4200
- S.onChange && S.onChange(T, C), d((I) => {
4201
- const Y = { ...I, [C]: T };
4201
+ const { name: P, type: _, checked: D, value: I } = g.target, T = _ === "checkbox" ? D : I;
4202
+ S.onChange && S.onChange(T, P), d(($) => {
4203
+ const Y = { ...$, [P]: T };
4202
4204
  return a && a(Y), Y;
4203
4205
  });
4204
4206
  },
4205
4207
  [a]
4206
4208
  ), p = A(
4207
- (g, S, C) => {
4208
- C.onChange && C.onChange(g, S), d((_) => {
4209
- const O = { ..._, [S]: g };
4210
- return a && a(O), O;
4209
+ (g, S, P) => {
4210
+ P.onChange && P.onChange(g, S), d((_) => {
4211
+ const D = { ..._, [S]: g };
4212
+ return a && a(D), D;
4211
4213
  });
4212
4214
  },
4213
4215
  [a]
@@ -4254,7 +4256,7 @@ const ol = ({
4254
4256
  className: s ?? "",
4255
4257
  children: [
4256
4258
  /* @__PURE__ */ o.jsx("div", { className: "form-content", children: e.map((g, S) => {
4257
- const C = g.onRequired ? g.onRequired(g.value) : g.required ?? !1, _ = g.onDisabled ? g.onDisabled(g.value) : g.disabled ?? !1;
4259
+ const P = g.onRequired ? g.onRequired(g.value) : g.required ?? !1, _ = g.onDisabled ? g.onDisabled(g.value) : g.disabled ?? !1;
4258
4260
  return /* @__PURE__ */ o.jsxs(
4259
4261
  "div",
4260
4262
  {
@@ -4272,17 +4274,17 @@ const ol = ({
4272
4274
  disabled: _,
4273
4275
  multiple: g.multiple,
4274
4276
  value: l[g.name],
4275
- required: C,
4277
+ required: P,
4276
4278
  defaultValue: g.value,
4277
4279
  placeholder: g.placeholder,
4278
- onChangeMultiple: (O) => p(O, g.name, g),
4279
- onChange: (O) => p(O, g.name, g)
4280
+ onChangeMultiple: (D) => p(D, g.name, g),
4281
+ onChange: (D) => p(D, g.name, g)
4280
4282
  }
4281
4283
  ) : /* @__PURE__ */ o.jsx(
4282
4284
  br,
4283
4285
  {
4284
4286
  id: g.name,
4285
- ref: (O) => f.current[g.name] = O,
4287
+ ref: (D) => f.current[g.name] = D,
4286
4288
  name: g.name,
4287
4289
  type: g.type,
4288
4290
  placeholder: g.placeholder ?? "",
@@ -4290,11 +4292,11 @@ const ol = ({
4290
4292
  tabIndex: 0,
4291
4293
  disabled: _,
4292
4294
  autoFocus: g.focus ?? !1,
4293
- required: C,
4295
+ required: P,
4294
4296
  step: g.step ?? "0.01",
4295
4297
  value: l[g.name],
4296
4298
  checked: g.type === "checkbox" ? !!l[g.name] : void 0,
4297
- onChange: (O) => v(O, g),
4299
+ onChange: (D) => v(D, g),
4298
4300
  onInvalid: g.onInvalid ? g.onInvalid : void 0
4299
4301
  }
4300
4302
  )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kelt-ui-kit-react",
3
3
  "type": "module",
4
- "version": "1.4.6",
4
+ "version": "1.4.7",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -21,6 +21,7 @@ export interface InputProps {
21
21
  step?: string;
22
22
  tabIndex?: number;
23
23
  checked?: boolean;
24
+ handleKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
24
25
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
25
26
  onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
26
27
  onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
@@ -49,6 +50,7 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
49
50
  onChange,
50
51
  onBlur,
51
52
  onClick,
53
+ handleKeyDown,
52
54
  },
53
55
  ref
54
56
  ) => {
@@ -78,6 +80,7 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
78
80
  maxLength={maxLength}
79
81
  onChange={onChange}
80
82
  checked={checked}
83
+ onKeyDown={handleKeyDown}
81
84
  onBlur={onBlur}
82
85
  onClick={(e) => {
83
86
  e.stopPropagation();