@atawi/react-date-picker 1.0.0 → 2.0.1

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +32 -5
  3. package/dist/App.d.ts +2 -0
  4. package/dist/components/DateTimePicker/Calendar.d.ts +24 -0
  5. package/dist/components/DateTimePicker/ConfirmButton.d.ts +9 -0
  6. package/dist/components/DateTimePicker/DateNote.d.ts +3 -0
  7. package/dist/components/DateTimePicker/DateTimePicker.d.ts +3 -0
  8. package/dist/components/DateTimePicker/Popover.d.ts +9 -0
  9. package/dist/components/DateTimePicker/TimePicker.d.ts +12 -0
  10. package/dist/components/DateTimePicker/Tooltip.d.ts +7 -0
  11. package/dist/components/DateTimePicker/__tests__/Calendar.test.d.ts +1 -0
  12. package/dist/components/DateTimePicker/__tests__/ConfirmButton.test.d.ts +1 -0
  13. package/dist/components/DateTimePicker/__tests__/DateNote.test.d.ts +1 -0
  14. package/dist/components/DateTimePicker/__tests__/DateTimePicker.test.d.ts +1 -0
  15. package/dist/components/DateTimePicker/__tests__/Popover.test.d.ts +1 -0
  16. package/dist/components/DateTimePicker/__tests__/TimePicker.test.d.ts +1 -0
  17. package/dist/components/DateTimePicker/__tests__/Tooltip.test.d.ts +1 -0
  18. package/dist/components/DateTimePicker/types.d.ts +31 -0
  19. package/dist/components/TimePicker/TimePicker.d.ts +17 -0
  20. package/dist/components/TimePicker/__tests__/TimePicker.test.d.ts +1 -0
  21. package/dist/components/examples/CleanRangeExample.d.ts +2 -0
  22. package/dist/components/examples/ConfirmationExample.d.ts +2 -0
  23. package/dist/components/examples/HotelBookingExample.d.ts +2 -0
  24. package/dist/components/examples/MaterialExample.d.ts +2 -0
  25. package/dist/components/examples/NotesExample.d.ts +2 -0
  26. package/dist/components/examples/RangeNotesExample.d.ts +2 -0
  27. package/dist/components/examples/TimePickerExample.d.ts +2 -0
  28. package/dist/components/examples/WeekRangeExample.d.ts +2 -0
  29. package/dist/components/icons/index.d.ts +9 -0
  30. package/dist/hooks/__tests__/useA11y.test.d.ts +1 -0
  31. package/dist/hooks/__tests__/useKeyboardNavigation.test.d.ts +1 -0
  32. package/dist/hooks/useA11y.d.ts +5 -0
  33. package/dist/hooks/useKeyboardNavigation.d.ts +1 -0
  34. package/dist/index.d.ts +15 -1
  35. package/dist/index.js +158 -157
  36. package/dist/index.js.map +1 -1
  37. package/dist/main.d.ts +0 -0
  38. package/dist/setupTests.d.ts +0 -0
  39. package/dist/types/dates.d.ts +17 -0
  40. package/dist/utils/dates.d.ts +6 -0
  41. package/dist/utils/dates.test.d.ts +1 -0
  42. package/dist/utils/notes.d.ts +3 -0
  43. package/dist/utils/notes.test.d.ts +1 -0
  44. package/package.json +17 -2
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
- import me, { useState as U, useCallback as Ze, useEffect as Ue, useRef as Be } from "react";
2
- import { isSameDay as q, isWithinInterval as Pe, subDays as Tr, eachDayOfInterval as Qe, startOfWeek as er, endOfWeek as rr, isSameWeek as Sr, format as G, endOfDay as qe, startOfDay as Je, differenceInDays as Or, setHours as ye, setMinutes as tr, addYears as ze, addMonths as De, addDays as be, setYear as $r, setMonth as Ar, subMonths as Fr } from "date-fns";
3
- import { usePopper as Mr } from "react-popper";
1
+ import * as Re from "react";
2
+ import Ze, { useState as U, useCallback as Qe, useEffect as Ue, useRef as Be } from "react";
3
+ import { isSameDay as q, isWithinInterval as Pe, subDays as Sr, eachDayOfInterval as er, startOfWeek as rr, endOfWeek as tr, isSameWeek as Or, format as G, endOfDay as qe, startOfDay as Je, differenceInDays as $r, setHours as be, setMinutes as nr, addYears as ze, addMonths as De, addDays as ge, setYear as Ar, setMonth as Fr, subMonths as Mr } from "date-fns";
4
+ import { usePopper as Ir } from "react-popper";
4
5
  var Ne = { exports: {} }, de = {};
5
6
  /**
6
7
  * @license React
@@ -12,10 +13,10 @@ var Ne = { exports: {} }, de = {};
12
13
  * LICENSE file in the root directory of this source tree.
13
14
  */
14
15
  var Ge;
15
- function Ir() {
16
+ function Wr() {
16
17
  if (Ge) return de;
17
18
  Ge = 1;
18
- var r = me, o = Symbol.for("react.element"), n = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ var r = Ze, o = Symbol.for("react.element"), n = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
19
20
  function m(j, u, R) {
20
21
  var y, N = {}, F = null, S = null;
21
22
  R !== void 0 && (F = "" + R), u.key !== void 0 && (F = "" + u.key), u.ref !== void 0 && (S = u.ref);
@@ -36,9 +37,9 @@ var pe = {};
36
37
  * LICENSE file in the root directory of this source tree.
37
38
  */
38
39
  var Xe;
39
- function Wr() {
40
+ function Yr() {
40
41
  return Xe || (Xe = 1, process.env.NODE_ENV !== "production" && function() {
41
- var r = me, o = Symbol.for("react.element"), n = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), j = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), K = Symbol.iterator, M = "@@iterator";
42
+ var r = Ze, o = Symbol.for("react.element"), n = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), j = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), K = Symbol.iterator, M = "@@iterator";
42
43
  function V(e) {
43
44
  if (e === null || typeof e != "object")
44
45
  return null;
@@ -131,7 +132,7 @@ function Wr() {
131
132
  function z() {
132
133
  }
133
134
  z.__reactDisabledLog = !0;
134
- function ke() {
135
+ function ye() {
135
136
  {
136
137
  if (B === 0) {
137
138
  ae = console.log, f = console.info, w = console.warn, b = console.error, P = console.group, E = console.groupCollapsed, C = console.groupEnd;
@@ -154,7 +155,7 @@ function Wr() {
154
155
  B++;
155
156
  }
156
157
  }
157
- function xe() {
158
+ function ke() {
158
159
  {
159
160
  if (B--, B === 0) {
160
161
  var e = {
@@ -205,10 +206,10 @@ function Wr() {
205
206
  }
206
207
  var ue = !1, oe;
207
208
  {
208
- var Ee = typeof WeakMap == "function" ? WeakMap : Map;
209
- oe = new Ee();
209
+ var xe = typeof WeakMap == "function" ? WeakMap : Map;
210
+ oe = new xe();
210
211
  }
211
- function he(e, t) {
212
+ function me(e, t) {
212
213
  if (!e || ue)
213
214
  return "";
214
215
  {
@@ -221,7 +222,7 @@ function Wr() {
221
222
  var k = Error.prepareStackTrace;
222
223
  Error.prepareStackTrace = void 0;
223
224
  var _;
224
- _ = le.current, le.current = null, ke();
225
+ _ = le.current, le.current = null, ye();
225
226
  try {
226
227
  if (t) {
227
228
  var v = function() {
@@ -274,23 +275,23 @@ function Wr() {
274
275
  }
275
276
  }
276
277
  } finally {
277
- ue = !1, le.current = _, xe(), Error.prepareStackTrace = k;
278
+ ue = !1, le.current = _, ke(), Error.prepareStackTrace = k;
278
279
  }
279
280
  var ce = e ? e.displayName || e.name : "", Q = ce ? Z(ce) : "";
280
281
  return typeof e == "function" && oe.set(e, Q), Q;
281
282
  }
282
- function ir(e, t, s) {
283
- return he(e, !1);
283
+ function cr(e, t, s) {
284
+ return me(e, !1);
284
285
  }
285
- function cr(e) {
286
+ function lr(e) {
286
287
  var t = e.prototype;
287
288
  return !!(t && t.isReactComponent);
288
289
  }
289
- function ve(e, t, s) {
290
+ function he(e, t, s) {
290
291
  if (e == null)
291
292
  return "";
292
293
  if (typeof e == "function")
293
- return he(e, cr(e));
294
+ return me(e, lr(e));
294
295
  if (typeof e == "string")
295
296
  return Z(e);
296
297
  switch (e) {
@@ -302,13 +303,13 @@ function Wr() {
302
303
  if (typeof e == "object")
303
304
  switch (e.$$typeof) {
304
305
  case u:
305
- return ir(e.render);
306
+ return cr(e.render);
306
307
  case N:
307
- return ve(e.type, t, s);
308
+ return he(e.type, t, s);
308
309
  case F: {
309
310
  var l = e, k = l._payload, _ = l._init;
310
311
  try {
311
- return ve(_(k), t, s);
312
+ return he(_(k), t, s);
312
313
  } catch {
313
314
  }
314
315
  }
@@ -316,14 +317,14 @@ function Wr() {
316
317
  return "";
317
318
  }
318
319
  var fe = Object.prototype.hasOwnProperty, Te = {}, Se = A.ReactDebugCurrentFrame;
319
- function ge(e) {
320
+ function ve(e) {
320
321
  if (e) {
321
- var t = e._owner, s = ve(e.type, e._source, t ? t.type : null);
322
+ var t = e._owner, s = he(e.type, e._source, t ? t.type : null);
322
323
  Se.setExtraStackFrame(s);
323
324
  } else
324
325
  Se.setExtraStackFrame(null);
325
326
  }
326
- function lr(e, t, s, l, k) {
327
+ function ur(e, t, s, l, k) {
327
328
  {
328
329
  var _ = Function.call.bind(fe);
329
330
  for (var v in e)
@@ -338,21 +339,21 @@ function Wr() {
338
339
  } catch (T) {
339
340
  h = T;
340
341
  }
341
- h && !(h instanceof Error) && (ge(k), c("%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).", l || "React class", s, v, typeof h), ge(null)), h instanceof Error && !(h.message in Te) && (Te[h.message] = !0, ge(k), c("Failed %s type: %s", s, h.message), ge(null));
342
+ h && !(h instanceof Error) && (ve(k), c("%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).", l || "React class", s, v, typeof h), ve(null)), h instanceof Error && !(h.message in Te) && (Te[h.message] = !0, ve(k), c("Failed %s type: %s", s, h.message), ve(null));
342
343
  }
343
344
  }
344
345
  }
345
- var ur = Array.isArray;
346
- function je(e) {
347
- return ur(e);
346
+ var fr = Array.isArray;
347
+ function Ee(e) {
348
+ return fr(e);
348
349
  }
349
- function fr(e) {
350
+ function dr(e) {
350
351
  {
351
352
  var t = typeof Symbol == "function" && Symbol.toStringTag, s = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
352
353
  return s;
353
354
  }
354
355
  }
355
- function dr(e) {
356
+ function pr(e) {
356
357
  try {
357
358
  return Oe(e), !1;
358
359
  } catch {
@@ -363,16 +364,16 @@ function Wr() {
363
364
  return "" + e;
364
365
  }
365
366
  function $e(e) {
366
- if (dr(e))
367
- return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", fr(e)), Oe(e);
367
+ if (pr(e))
368
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dr(e)), Oe(e);
368
369
  }
369
- var Ae = A.ReactCurrentOwner, pr = {
370
+ var Ae = A.ReactCurrentOwner, mr = {
370
371
  key: !0,
371
372
  ref: !0,
372
373
  __self: !0,
373
374
  __source: !0
374
375
  }, Fe, Me;
375
- function mr(e) {
376
+ function hr(e) {
376
377
  if (fe.call(e, "ref")) {
377
378
  var t = Object.getOwnPropertyDescriptor(e, "ref").get;
378
379
  if (t && t.isReactWarning)
@@ -380,7 +381,7 @@ function Wr() {
380
381
  }
381
382
  return e.ref !== void 0;
382
383
  }
383
- function hr(e) {
384
+ function vr(e) {
384
385
  if (fe.call(e, "key")) {
385
386
  var t = Object.getOwnPropertyDescriptor(e, "key").get;
386
387
  if (t && t.isReactWarning)
@@ -388,10 +389,10 @@ function Wr() {
388
389
  }
389
390
  return e.key !== void 0;
390
391
  }
391
- function vr(e, t) {
392
+ function gr(e, t) {
392
393
  typeof e.ref == "string" && Ae.current;
393
394
  }
394
- function gr(e, t) {
395
+ function br(e, t) {
395
396
  {
396
397
  var s = function() {
397
398
  Fe || (Fe = !0, c("%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)", t));
@@ -402,7 +403,7 @@ function Wr() {
402
403
  });
403
404
  }
404
405
  }
405
- function br(e, t) {
406
+ function yr(e, t) {
406
407
  {
407
408
  var s = function() {
408
409
  Me || (Me = !0, c("%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)", t));
@@ -413,7 +414,7 @@ function Wr() {
413
414
  });
414
415
  }
415
416
  }
416
- var yr = function(e, t, s, l, k, _, v) {
417
+ var kr = function(e, t, s, l, k, _, v) {
417
418
  var h = {
418
419
  // This tag allows us to uniquely identify this as a React Element
419
420
  $$typeof: o,
@@ -442,12 +443,12 @@ function Wr() {
442
443
  value: k
443
444
  }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
444
445
  };
445
- function kr(e, t, s, l, k) {
446
+ function xr(e, t, s, l, k) {
446
447
  {
447
448
  var _, v = {}, h = null, I = null;
448
- s !== void 0 && ($e(s), h = "" + s), hr(t) && ($e(t.key), h = "" + t.key), mr(t) && (I = t.ref, vr(t, k));
449
+ s !== void 0 && ($e(s), h = "" + s), vr(t) && ($e(t.key), h = "" + t.key), hr(t) && (I = t.ref, gr(t, k));
449
450
  for (_ in t)
450
- fe.call(t, _) && !pr.hasOwnProperty(_) && (v[_] = t[_]);
451
+ fe.call(t, _) && !mr.hasOwnProperty(_) && (v[_] = t[_]);
451
452
  if (e && e.defaultProps) {
452
453
  var T = e.defaultProps;
453
454
  for (_ in T)
@@ -455,28 +456,28 @@ function Wr() {
455
456
  }
456
457
  if (h || I) {
457
458
  var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
458
- h && gr(v, O), I && br(v, O);
459
+ h && br(v, O), I && yr(v, O);
459
460
  }
460
- return yr(e, h, I, k, l, Ae.current, v);
461
+ return kr(e, h, I, k, l, Ae.current, v);
461
462
  }
462
463
  }
463
- var we = A.ReactCurrentOwner, Ie = A.ReactDebugCurrentFrame;
464
+ var je = A.ReactCurrentOwner, Ie = A.ReactDebugCurrentFrame;
464
465
  function ie(e) {
465
466
  if (e) {
466
- var t = e._owner, s = ve(e.type, e._source, t ? t.type : null);
467
+ var t = e._owner, s = he(e.type, e._source, t ? t.type : null);
467
468
  Ie.setExtraStackFrame(s);
468
469
  } else
469
470
  Ie.setExtraStackFrame(null);
470
471
  }
471
- var _e;
472
- _e = !1;
473
- function Ce(e) {
472
+ var we;
473
+ we = !1;
474
+ function _e(e) {
474
475
  return typeof e == "object" && e !== null && e.$$typeof === o;
475
476
  }
476
477
  function We() {
477
478
  {
478
- if (we.current) {
479
- var e = Y(we.current.type);
479
+ if (je.current) {
480
+ var e = Y(je.current.type);
480
481
  if (e)
481
482
  return `
482
483
 
@@ -485,11 +486,11 @@ Check the render method of \`` + e + "`.";
485
486
  return "";
486
487
  }
487
488
  }
488
- function xr(e) {
489
+ function Er(e) {
489
490
  return "";
490
491
  }
491
492
  var Ye = {};
492
- function Er(e) {
493
+ function jr(e) {
493
494
  {
494
495
  var t = We();
495
496
  if (!t) {
@@ -506,34 +507,34 @@ Check the top-level render call using <` + s + ">.");
506
507
  if (!e._store || e._store.validated || e.key != null)
507
508
  return;
508
509
  e._store.validated = !0;
509
- var s = Er(t);
510
+ var s = jr(t);
510
511
  if (Ye[s])
511
512
  return;
512
513
  Ye[s] = !0;
513
514
  var l = "";
514
- e && e._owner && e._owner !== we.current && (l = " It was passed a child from " + Y(e._owner.type) + "."), ie(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, l), ie(null);
515
+ e && e._owner && e._owner !== je.current && (l = " It was passed a child from " + Y(e._owner.type) + "."), ie(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, l), ie(null);
515
516
  }
516
517
  }
517
518
  function He(e, t) {
518
519
  {
519
520
  if (typeof e != "object")
520
521
  return;
521
- if (je(e))
522
+ if (Ee(e))
522
523
  for (var s = 0; s < e.length; s++) {
523
524
  var l = e[s];
524
- Ce(l) && Le(l, t);
525
+ _e(l) && Le(l, t);
525
526
  }
526
- else if (Ce(e))
527
+ else if (_e(e))
527
528
  e._store && (e._store.validated = !0);
528
529
  else if (e) {
529
530
  var k = V(e);
530
531
  if (typeof k == "function" && k !== e.entries)
531
532
  for (var _ = k.call(e), v; !(v = _.next()).done; )
532
- Ce(v.value) && Le(v.value, t);
533
+ _e(v.value) && Le(v.value, t);
533
534
  }
534
535
  }
535
536
  }
536
- function jr(e) {
537
+ function wr(e) {
537
538
  {
538
539
  var t = e.type;
539
540
  if (t == null || typeof t == "string")
@@ -549,16 +550,16 @@ Check the top-level render call using <` + s + ">.");
549
550
  return;
550
551
  if (s) {
551
552
  var l = Y(t);
552
- lr(s, e.props, "prop", l, e);
553
- } else if (t.PropTypes !== void 0 && !_e) {
554
- _e = !0;
553
+ ur(s, e.props, "prop", l, e);
554
+ } else if (t.PropTypes !== void 0 && !we) {
555
+ we = !0;
555
556
  var k = Y(t);
556
557
  c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
557
558
  }
558
559
  typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
559
560
  }
560
561
  }
561
- function wr(e) {
562
+ function _r(e) {
562
563
  {
563
564
  for (var t = Object.keys(e.props), s = 0; s < t.length; s++) {
564
565
  var l = t[s];
@@ -577,19 +578,19 @@ Check the top-level render call using <` + s + ">.");
577
578
  if (!v) {
578
579
  var h = "";
579
580
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
580
- var I = xr();
581
+ var I = Er();
581
582
  I ? h += I : h += We();
582
583
  var T;
583
- e === null ? T = "null" : je(e) ? T = "array" : e !== void 0 && e.$$typeof === o ? (T = "<" + (Y(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : T = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, h);
584
+ e === null ? T = "null" : Ee(e) ? T = "array" : e !== void 0 && e.$$typeof === o ? (T = "<" + (Y(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : T = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, h);
584
585
  }
585
- var O = kr(e, t, s, k, _);
586
+ var O = xr(e, t, s, k, _);
586
587
  if (O == null)
587
588
  return O;
588
589
  if (v) {
589
590
  var H = t.children;
590
591
  if (H !== void 0)
591
592
  if (l)
592
- if (je(H)) {
593
+ if (Ee(H)) {
593
594
  for (var ce = 0; ce < H.length; ce++)
594
595
  He(H[ce], e);
595
596
  Object.freeze && Object.freeze(H);
@@ -599,36 +600,36 @@ Check the top-level render call using <` + s + ">.");
599
600
  He(H, e);
600
601
  }
601
602
  if (fe.call(t, "key")) {
602
- var Q = Y(e), W = Object.keys(t).filter(function(Nr) {
603
- return Nr !== "key";
604
- }), Re = W.length > 0 ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}";
605
- if (!Ke[Q + Re]) {
606
- var Dr = W.length > 0 ? "{" + W.join(": ..., ") + ": ...}" : "{}";
603
+ var Q = Y(e), W = Object.keys(t).filter(function(Tr) {
604
+ return Tr !== "key";
605
+ }), Ce = W.length > 0 ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}";
606
+ if (!Ke[Q + Ce]) {
607
+ var Nr = W.length > 0 ? "{" + W.join(": ..., ") + ": ...}" : "{}";
607
608
  c(`A props object containing a "key" prop is being spread into JSX:
608
609
  let props = %s;
609
610
  <%s {...props} />
610
611
  React keys must be passed directly to JSX without using spread:
611
612
  let props = %s;
612
- <%s key={someKey} {...props} />`, Re, Q, Dr, Q), Ke[Q + Re] = !0;
613
+ <%s key={someKey} {...props} />`, Ce, Q, Nr, Q), Ke[Q + Ce] = !0;
613
614
  }
614
615
  }
615
- return e === d ? wr(O) : jr(O), O;
616
+ return e === d ? _r(O) : wr(O), O;
616
617
  }
617
618
  }
618
- function _r(e, t, s) {
619
+ function Cr(e, t, s) {
619
620
  return Ve(e, t, s, !0);
620
621
  }
621
- function Cr(e, t, s) {
622
+ function Rr(e, t, s) {
622
623
  return Ve(e, t, s, !1);
623
624
  }
624
- var Rr = Cr, Pr = _r;
625
- pe.Fragment = d, pe.jsx = Rr, pe.jsxs = Pr;
625
+ var Pr = Rr, Dr = Cr;
626
+ pe.Fragment = d, pe.jsx = Pr, pe.jsxs = Dr;
626
627
  }()), pe;
627
628
  }
628
- process.env.NODE_ENV === "production" ? Ne.exports = Ir() : Ne.exports = Wr();
629
+ process.env.NODE_ENV === "production" ? Ne.exports = Wr() : Ne.exports = Yr();
629
630
  var a = Ne.exports;
630
- const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
631
- const [i, g] = me.useState(null), [m, j] = me.useState(null), { styles: u, attributes: R } = Mr(i, m, {
631
+ const ar = ({ isOpen: r, onClose: o, children: n, content: d }) => {
632
+ const [i, g] = Re.useState(null), [m, j] = Re.useState(null), { styles: u, attributes: R } = Ir(i, m, {
632
633
  placement: "bottom-start",
633
634
  modifiers: [
634
635
  {
@@ -639,7 +640,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
639
640
  }
640
641
  ]
641
642
  });
642
- return me.useEffect(() => {
643
+ return Re.useEffect(() => {
643
644
  const y = (N) => {
644
645
  m && !m.contains(N.target) && i && !i.contains(N.target) && o();
645
646
  };
@@ -659,7 +660,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
659
660
  }
660
661
  )
661
662
  ] });
662
- }, Yr = ({ size: r = 24, className: o = "" }) => /* @__PURE__ */ a.jsx(
663
+ }, Lr = ({ size: r = 24, className: o = "" }) => /* @__PURE__ */ a.jsx(
663
664
  "svg",
664
665
  {
665
666
  width: r,
@@ -673,7 +674,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
673
674
  className: o,
674
675
  children: /* @__PURE__ */ a.jsx("path", { d: "M15 18l-6-6 6-6" })
675
676
  }
676
- ), Lr = ({ size: r = 24, className: o = "" }) => /* @__PURE__ */ a.jsx(
677
+ ), Hr = ({ size: r = 24, className: o = "" }) => /* @__PURE__ */ a.jsx(
677
678
  "svg",
678
679
  {
679
680
  width: r,
@@ -687,7 +688,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
687
688
  className: o,
688
689
  children: /* @__PURE__ */ a.jsx("path", { d: "M9 18l6-6-6-6" })
689
690
  }
690
- ), ar = ({ size: r = 24, className: o = "" }) => /* @__PURE__ */ a.jsxs(
691
+ ), sr = ({ size: r = 24, className: o = "" }) => /* @__PURE__ */ a.jsxs(
691
692
  "svg",
692
693
  {
693
694
  width: r,
@@ -704,29 +705,29 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
704
705
  /* @__PURE__ */ a.jsx("path", { d: "M12 6v6l4 2" })
705
706
  ]
706
707
  }
707
- ), sr = (r, o) => {
708
+ ), or = (r, o) => {
708
709
  for (const n of o)
709
710
  if ("date" in n && q(n.date, r) || "startDate" in n && "endDate" in n && Pe(r, { start: n.startDate, end: n.endDate }))
710
711
  return n.note;
711
712
  return null;
712
- }, Hr = (r, o) => sr(r, o) !== null, rt = (r, o = 3) => {
713
+ }, Kr = (r, o) => or(r, o) !== null, tt = (r, o = 3) => {
713
714
  const n = Array.from(
714
715
  { length: o },
715
- (i, g) => Tr(/* @__PURE__ */ new Date(), g)
716
+ (i, g) => Sr(/* @__PURE__ */ new Date(), g)
716
717
  ), d = r.flatMap(
717
- ([i, g]) => Qe({ start: i, end: g })
718
+ ([i, g]) => er({ start: i, end: g })
718
719
  );
719
720
  return [...n, ...d];
720
- }, tt = (r, o) => o.some((n) => q(r, n)), or = (r) => [er(r), rr(r)], Kr = (r, o) => Sr(r, o), nt = (r) => {
721
- const [o, n] = or(r);
722
- return Qe({ start: o, end: n });
723
- }, Vr = ({
721
+ }, nt = (r, o) => o.some((n) => q(r, n)), ir = (r) => [rr(r), tr(r)], Vr = (r, o) => Or(r, o), at = (r) => {
722
+ const [o, n] = ir(r);
723
+ return er({ start: o, end: n });
724
+ }, Ur = ({
724
725
  content: r,
725
726
  className: o = ""
726
727
  }) => /* @__PURE__ */ a.jsxs("div", { className: `tooltip ${o}`, children: [
727
728
  r,
728
729
  /* @__PURE__ */ a.jsx("div", { className: "tooltip-arrow" })
729
- ] }), Ur = ({
730
+ ] }), Br = ({
730
731
  currentDate: r,
731
732
  selectedDate: o,
732
733
  selectedRange: n = [null, null],
@@ -755,7 +756,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
755
756
  }
756
757
  }, X = (f) => g.some((w) => q(f, w)), ee = (f) => {
757
758
  if (i === "week" && d) {
758
- const [E, C] = or(d);
759
+ const [E, C] = ir(d);
759
760
  return Pe(f, {
760
761
  start: Je(E),
761
762
  end: qe(C)
@@ -769,7 +770,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
769
770
  start: Je(b < P ? b : P),
770
771
  end: qe(b < P ? P : b)
771
772
  });
772
- }, J = (f, w) => Math.abs(Or(f, w)), re = () => {
773
+ }, J = (f, w) => Math.abs($r(f, w)), re = () => {
773
774
  if (!n[0]) return "";
774
775
  const f = n[1] || d;
775
776
  if (!f) return "";
@@ -802,7 +803,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
802
803
  r.getFullYear(),
803
804
  r.getMonth(),
804
805
  E
805
- ), z = X(C), ke = i === "single" && o ? q(C, o) : !1, xe = ee(C), le = n[0] && q(C, n[0]), se = n[1] && q(C, n[1]) || d && q(C, d), Z = re(), ue = i === "range" && (n[0] && !n[1] && d && se || n[1] && c && q(C, c)), oe = Hr(C, K), Ee = i === "week" && d && Kr(C, d), he = /* @__PURE__ */ a.jsxs("div", { className: "calendar-day-container", children: [
806
+ ), z = X(C), ye = i === "single" && o ? q(C, o) : !1, ke = ee(C), le = n[0] && q(C, n[0]), se = n[1] && q(C, n[1]) || d && q(C, d), Z = re(), ue = i === "range" && (n[0] && !n[1] && d && se || n[1] && c && q(C, c)), oe = Kr(C, K), xe = i === "week" && d && Vr(C, d), me = /* @__PURE__ */ a.jsxs("div", { className: "calendar-day-container", children: [
806
807
  /* @__PURE__ */ a.jsxs(
807
808
  "button",
808
809
  {
@@ -811,8 +812,8 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
811
812
  onMouseEnter: () => te(C),
812
813
  onMouseLeave: ne,
813
814
  className: Y(
814
- ke,
815
- !!(xe || Ee),
815
+ ye,
816
+ !!(ke || xe),
816
817
  !!le,
817
818
  !!se,
818
819
  z
@@ -828,9 +829,9 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
828
829
  // {tooltipText}
829
830
  // <div className="tooltip-arrow" />
830
831
  // </div>
831
- /* @__PURE__ */ a.jsx(Vr, { content: Z })
832
+ /* @__PURE__ */ a.jsx(Ur, { content: Z })
832
833
  ] }, E);
833
- f.push(he);
834
+ f.push(me);
834
835
  }
835
836
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
836
837
  /* @__PURE__ */ a.jsx("div", { className: "calendar-weekdays", children: P.map((E) => /* @__PURE__ */ a.jsx("div", { className: "weekday", children: E }, E)) }),
@@ -871,7 +872,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
871
872
  onClick: R,
872
873
  type: "button",
873
874
  "aria-label": "Previous month",
874
- children: /* @__PURE__ */ a.jsx(Yr, { size: 20 })
875
+ children: /* @__PURE__ */ a.jsx(Lr, { size: 20 })
875
876
  }
876
877
  ),
877
878
  /* @__PURE__ */ a.jsxs("div", { className: "calendar-title-group", children: [
@@ -901,7 +902,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
901
902
  onClick: y,
902
903
  type: "button",
903
904
  "aria-label": "Next month",
904
- children: /* @__PURE__ */ a.jsx(Lr, { size: 20 })
905
+ children: /* @__PURE__ */ a.jsx(Hr, { size: 20 })
905
906
  }
906
907
  )
907
908
  ] }),
@@ -909,7 +910,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
909
910
  V === "months" && B(),
910
911
  V === "years" && ae()
911
912
  ] });
912
- }, Br = ({
913
+ }, qr = ({
913
914
  value: r,
914
915
  onChange: o,
915
916
  use24Hour: n = !1,
@@ -924,13 +925,13 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
924
925
  return console.error("Time formatting error: ", p), G(c, x);
925
926
  }
926
927
  }, K = (c) => {
927
- const x = !n && F === "PM" ? c % 12 + 12 : c, p = ye(r, x);
928
+ const x = !n && F === "PM" ? c % 12 + 12 : c, p = be(r, x);
928
929
  o(p), j(!1);
929
930
  }, M = (c) => {
930
- const x = tr(r, c);
931
+ const x = nr(r, c);
931
932
  o(x), R(!1);
932
933
  }, V = () => {
933
- const c = r.getHours(), x = c >= 12 ? c - 12 : c + 12, p = ye(r, x);
934
+ const c = r.getHours(), x = c >= 12 ? c - 12 : c + 12, p = be(r, x);
934
935
  o(p);
935
936
  }, A = () => S(r, n ? "HH:mm" : "hh:mm a");
936
937
  return /* @__PURE__ */ a.jsxs(
@@ -939,7 +940,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
939
940
  className: `time-picker-container ${g ? "dark-mode" : ""} ${i}`,
940
941
  children: [
941
942
  /* @__PURE__ */ a.jsxs("div", { className: "time-picker-input", children: [
942
- /* @__PURE__ */ a.jsx(ar, { size: 16 }),
943
+ /* @__PURE__ */ a.jsx(sr, { size: 16 }),
943
944
  /* @__PURE__ */ a.jsx(
944
945
  "button",
945
946
  {
@@ -995,7 +996,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
995
996
  ]
996
997
  }
997
998
  );
998
- }, qr = ({
999
+ }, Jr = ({
999
1000
  notes: r,
1000
1001
  hoveredDate: o,
1001
1002
  selectedDate: n,
@@ -1003,10 +1004,10 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1003
1004
  }) => {
1004
1005
  const i = o || n || d && d[0];
1005
1006
  if (!i) return null;
1006
- const g = sr(i, r);
1007
+ const g = or(i, r);
1007
1008
  return g ? /* @__PURE__ */ a.jsx("div", { className: "date-note", children: /* @__PURE__ */ a.jsx("div", { children: g }) }) : null;
1008
- }, Jr = (r, o, n, d) => {
1009
- const i = Ze(
1009
+ }, zr = (r, o, n, d) => {
1010
+ const i = Qe(
1010
1011
  (g) => {
1011
1012
  var m;
1012
1013
  if (r)
@@ -1038,20 +1039,20 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1038
1039
  "aria-modal": !0,
1039
1040
  "aria-label": "Date and time picker"
1040
1041
  };
1041
- }, zr = (r, o, n) => Ze(
1042
+ }, Gr = (r, o, n) => Qe(
1042
1043
  (i) => {
1043
1044
  switch (i.key) {
1044
1045
  case "ArrowLeft":
1045
- i.preventDefault(), o(be(r, -1));
1046
+ i.preventDefault(), o(ge(r, -1));
1046
1047
  break;
1047
1048
  case "ArrowRight":
1048
- i.preventDefault(), o(be(r, 1));
1049
+ i.preventDefault(), o(ge(r, 1));
1049
1050
  break;
1050
1051
  case "ArrowUp":
1051
- i.preventDefault(), o(be(r, -7));
1052
+ i.preventDefault(), o(ge(r, -7));
1052
1053
  break;
1053
1054
  case "ArrowDown":
1054
- i.preventDefault(), o(be(r, 7));
1055
+ i.preventDefault(), o(ge(r, 7));
1055
1056
  break;
1056
1057
  case "PageUp":
1057
1058
  i.preventDefault(), i.shiftKey ? n(ze(r, -1)) : n(De(r, -1));
@@ -1068,7 +1069,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1068
1069
  }
1069
1070
  },
1070
1071
  [r, o, n]
1071
- ), Gr = {
1072
+ ), Xr = {
1072
1073
  containerClassName: "",
1073
1074
  triggerClassName: "",
1074
1075
  calendarClassName: "",
@@ -1076,7 +1077,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1076
1077
  selectedDayClassName: "",
1077
1078
  rangeClassName: "",
1078
1079
  timePickerClassName: ""
1079
- }, at = ({
1080
+ }, st = ({
1080
1081
  value: r = /* @__PURE__ */ new Date(),
1081
1082
  onChange: o,
1082
1083
  mode: n = "single",
@@ -1085,7 +1086,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1085
1086
  disabled: g = !1,
1086
1087
  disabledDates: m = [],
1087
1088
  locale: j,
1088
- styles: u = Gr,
1089
+ styles: u = Xr,
1089
1090
  notes: R = [],
1090
1091
  onDateHover: y,
1091
1092
  isOpen: N,
@@ -1098,7 +1099,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1098
1099
  n === "single" ? r : r[0]
1099
1100
  ), [$, X] = U(
1100
1101
  n === "range" || n === "week" ? Array.isArray(r) ? [r[0], r[1]] : [null, null] : [null, null]
1101
- ), [ee, J] = U(null), re = Be(null), te = Be(null), ne = Jr(
1102
+ ), [ee, J] = U(null), re = Be(null), te = Be(null), ne = zr(
1102
1103
  c,
1103
1104
  () => x(!1),
1104
1105
  re,
@@ -1110,7 +1111,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1110
1111
  const P = new Date(b);
1111
1112
  r instanceof Date && P.setHours(r.getHours(), r.getMinutes()), o(P), !d && !S && x(!1);
1112
1113
  } else if (n === "week") {
1113
- const P = er(b), E = rr(b);
1114
+ const P = rr(b), E = tr(b);
1114
1115
  X([P, E]), o([P, E]), S || x(!1);
1115
1116
  } else if (!$[0] || $[0] && $[1])
1116
1117
  X([b, null]), J(null);
@@ -1121,7 +1122,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1121
1122
  X([E[0], E[1]]), o(E), J(null), S || x(!1);
1122
1123
  }
1123
1124
  }
1124
- }, B = zr(
1125
+ }, B = Gr(
1125
1126
  p,
1126
1127
  L,
1127
1128
  D
@@ -1140,7 +1141,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1140
1141
  className: `date-time-picker ${M ? "dark-mode" : ""} ${(u == null ? void 0 : u.containerClassName) || ""} ${K}`,
1141
1142
  onKeyDown: B,
1142
1143
  children: /* @__PURE__ */ a.jsx(
1143
- nr,
1144
+ ar,
1144
1145
  {
1145
1146
  isOpen: c,
1146
1147
  onClose: () => x(!1),
@@ -1152,7 +1153,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1152
1153
  ...ne,
1153
1154
  children: [
1154
1155
  /* @__PURE__ */ a.jsx(
1155
- Ur,
1156
+ Br,
1156
1157
  {
1157
1158
  currentDate: p,
1158
1159
  selectedDate: n === "single" ? r : void 0,
@@ -1162,10 +1163,10 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1162
1163
  disabledDates: m,
1163
1164
  onDateClick: L,
1164
1165
  onDateHover: Y,
1165
- onPrevMonth: () => D(Fr(p, 1)),
1166
+ onPrevMonth: () => D(Mr(p, 1)),
1166
1167
  onNextMonth: () => D(De(p, 1)),
1167
- onMonthSelect: (b) => D(Ar(p, b)),
1168
- onYearSelect: (b) => D($r(p, b)),
1168
+ onMonthSelect: (b) => D(Fr(p, b)),
1169
+ onYearSelect: (b) => D(Ar(p, b)),
1169
1170
  locale: j,
1170
1171
  notes: R,
1171
1172
  styles: u,
@@ -1173,7 +1174,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1173
1174
  }
1174
1175
  ),
1175
1176
  d && n === "single" && r instanceof Date && /* @__PURE__ */ a.jsx(
1176
- Br,
1177
+ qr,
1177
1178
  {
1178
1179
  value: r,
1179
1180
  onChange: ae,
@@ -1184,7 +1185,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1184
1185
  }
1185
1186
  ),
1186
1187
  /* @__PURE__ */ a.jsx(
1187
- qr,
1188
+ Jr,
1188
1189
  {
1189
1190
  notes: R,
1190
1191
  hoveredDate: ee,
@@ -1214,18 +1215,18 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1214
1215
  )
1215
1216
  }
1216
1217
  );
1217
- }, Xr = {
1218
+ }, Zr = {
1218
1219
  containerClassName: "",
1219
1220
  triggerClassName: "",
1220
1221
  popoverClassName: ""
1221
- }, st = ({
1222
+ }, ot = ({
1222
1223
  value: r,
1223
1224
  onChange: o,
1224
1225
  use24Hour: n = !1,
1225
1226
  locale: d,
1226
1227
  disabled: i = !1,
1227
1228
  className: g = "",
1228
- styles: m = Xr,
1229
+ styles: m = Zr,
1229
1230
  darkMode: j = !1
1230
1231
  }) => {
1231
1232
  const [u, R] = U(!1), [y, N] = U(!0), F = n ? Array.from({ length: 24 }, (p, D) => D) : Array.from({ length: 12 }, (p, D) => D + 1), S = Array.from({ length: 12 }, (p, D) => D * 5), K = r.getHours() >= 12 ? "PM" : "AM", M = (p, D) => {
@@ -1235,13 +1236,13 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1235
1236
  return console.error("Time formatting error: ", $), G(p, D);
1236
1237
  }
1237
1238
  }, V = (p) => {
1238
- const D = !n && K === "PM" ? p % 12 + 12 : p, $ = ye(r, D);
1239
+ const D = !n && K === "PM" ? p % 12 + 12 : p, $ = be(r, D);
1239
1240
  o($), N(!1);
1240
1241
  }, A = (p) => {
1241
- const D = tr(r, p);
1242
+ const D = nr(r, p);
1242
1243
  o(D), R(!1);
1243
1244
  }, c = () => {
1244
- const p = r.getHours(), D = p >= 12 ? p - 12 : p + 12, $ = ye(r, D);
1245
+ const p = r.getHours(), D = p >= 12 ? p - 12 : p + 12, $ = be(r, D);
1245
1246
  o($);
1246
1247
  }, x = () => M(r, n ? "HH:mm" : "hh:mm a");
1247
1248
  return /* @__PURE__ */ a.jsx(
@@ -1249,7 +1250,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1249
1250
  {
1250
1251
  className: `time-picker ${j ? "dark-mode" : ""} ${(m == null ? void 0 : m.containerClassName) || ""} ${g}`,
1251
1252
  children: /* @__PURE__ */ a.jsx(
1252
- nr,
1253
+ ar,
1253
1254
  {
1254
1255
  isOpen: u,
1255
1256
  onClose: () => R(!1),
@@ -1308,7 +1309,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1308
1309
  onClick: () => !i && R(!u),
1309
1310
  disabled: i,
1310
1311
  children: [
1311
- /* @__PURE__ */ a.jsx(ar, { size: 16 }),
1312
+ /* @__PURE__ */ a.jsx(sr, { size: 16 }),
1312
1313
  /* @__PURE__ */ a.jsx("span", { children: x() })
1313
1314
  ]
1314
1315
  }
@@ -1317,7 +1318,7 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1317
1318
  )
1318
1319
  }
1319
1320
  );
1320
- }, ot = ({
1321
+ }, it = ({
1321
1322
  onConfirm: r,
1322
1323
  className: o = "",
1323
1324
  children: n = "OK",
@@ -1332,21 +1333,21 @@ const nr = ({ isOpen: r, onClose: o, children: n, content: d }) => {
1332
1333
  }
1333
1334
  );
1334
1335
  export {
1335
- Ur as Calendar,
1336
- ot as ConfirmButton,
1337
- qr as DateNote,
1338
- at as DateTimePicker,
1339
- nr as Popover,
1340
- st as TimePicker,
1341
- Vr as Tooltip,
1342
- sr as findNoteForDate,
1343
- rt as generateDisabledDates,
1344
- nt as getWeekDays,
1345
- or as getWeekRange,
1346
- Hr as hasNote,
1347
- tt as isDateDisabled,
1348
- Kr as isDateInWeek,
1349
- Jr as useA11y,
1350
- zr as useKeyboardNavigation
1336
+ Br as Calendar,
1337
+ it as ConfirmButton,
1338
+ Jr as DateNote,
1339
+ st as DateTimePicker,
1340
+ ar as Popover,
1341
+ ot as TimePicker,
1342
+ Ur as Tooltip,
1343
+ or as findNoteForDate,
1344
+ tt as generateDisabledDates,
1345
+ at as getWeekDays,
1346
+ ir as getWeekRange,
1347
+ Kr as hasNote,
1348
+ nt as isDateDisabled,
1349
+ Vr as isDateInWeek,
1350
+ zr as useA11y,
1351
+ Gr as useKeyboardNavigation
1351
1352
  };
1352
1353
  //# sourceMappingURL=index.js.map