@datawire-ai/busyfile-design-library 1.30.6 → 1.30.8

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 (165) hide show
  1. package/dist/index10.js +57 -48
  2. package/dist/index100.js +9 -6
  3. package/dist/index101.js +50 -25
  4. package/dist/index102.js +7 -7
  5. package/dist/index104.js +24 -10
  6. package/dist/index105.js +6 -4
  7. package/dist/index106.js +10 -12
  8. package/dist/index107.js +4 -136
  9. package/dist/index108.js +11 -14
  10. package/dist/index109.js +219 -8
  11. package/dist/index110.js +30 -50
  12. package/dist/index111.js +650 -3
  13. package/dist/index112.js +3 -46
  14. package/dist/index113.js +46 -13
  15. package/dist/index114.js +14 -226
  16. package/dist/index115.js +13 -650
  17. package/dist/index116.js +226 -14
  18. package/dist/index121.js +1 -1
  19. package/dist/index122.js +6 -206
  20. package/dist/index123.js +204 -20
  21. package/dist/index124.js +21 -399
  22. package/dist/index125.js +400 -6
  23. package/dist/index126.js +25 -2
  24. package/dist/index127.js +29 -53
  25. package/dist/index128.js +5 -65
  26. package/dist/index129.js +2 -52
  27. package/dist/index130.js +52 -4
  28. package/dist/index131.js +64 -4
  29. package/dist/index132.js +52 -16
  30. package/dist/index133.js +4 -5
  31. package/dist/index134.js +4 -8
  32. package/dist/index135.js +13 -14
  33. package/dist/index136.js +5 -4
  34. package/dist/index137.js +8 -4
  35. package/dist/index138.js +16 -5
  36. package/dist/index139.js +4 -5
  37. package/dist/index140.js +4 -4
  38. package/dist/index141.js +5 -4
  39. package/dist/index142.js +5 -6
  40. package/dist/index143.js +4 -24
  41. package/dist/index144.js +4 -6
  42. package/dist/index145.js +5 -3
  43. package/dist/index146.js +24 -6
  44. package/dist/index147.js +6 -5
  45. package/dist/index148.js +4 -4
  46. package/dist/index149.js +6 -5
  47. package/dist/index150.js +5 -4
  48. package/dist/index151.js +4 -8
  49. package/dist/index152.js +2 -2
  50. package/dist/index153.js +1 -1
  51. package/dist/index154.js +8 -4
  52. package/dist/index155.js +4 -5
  53. package/dist/index156.js +4 -58
  54. package/dist/index157.js +4 -66
  55. package/dist/index158.js +6 -240
  56. package/dist/index159.js +56 -37
  57. package/dist/index160.js +66 -4
  58. package/dist/index161.js +240 -7
  59. package/dist/index162.js +38 -12
  60. package/dist/index163.js +4 -7
  61. package/dist/index164.js +7 -10
  62. package/dist/index165.js +12 -9
  63. package/dist/index166.js +7 -8
  64. package/dist/index167.js +9 -15
  65. package/dist/index168.js +11 -24
  66. package/dist/index169.js +9 -20
  67. package/dist/index170.js +15 -52
  68. package/dist/index171.js +24 -42
  69. package/dist/index172.js +20 -10
  70. package/dist/index173.js +51 -18
  71. package/dist/index174.js +40 -15
  72. package/dist/index175.js +9 -6
  73. package/dist/index176.js +20 -23
  74. package/dist/index177.js +16 -18
  75. package/dist/index178.js +7 -16
  76. package/dist/index179.js +23 -6
  77. package/dist/index180.js +19 -5
  78. package/dist/index181.js +16 -5
  79. package/dist/index182.js +6 -4
  80. package/dist/index183.js +4 -4
  81. package/dist/index184.js +4 -3
  82. package/dist/index185.js +4 -6
  83. package/dist/index186.js +4 -7
  84. package/dist/index187.js +3 -6
  85. package/dist/index188.js +6 -5
  86. package/dist/index189.js +7 -3
  87. package/dist/index190.js +6 -3
  88. package/dist/index191.js +5 -3
  89. package/dist/index192.js +3 -3
  90. package/dist/index193.js +3 -4
  91. package/dist/index194.js +3 -3
  92. package/dist/index195.js +3 -3
  93. package/dist/index196.js +4 -3
  94. package/dist/index197.js +3 -24
  95. package/dist/index198.js +4 -29
  96. package/dist/index199.js +4 -5
  97. package/dist/index200.js +2 -525
  98. package/dist/index201.js +2 -128
  99. package/dist/index202.js +8 -133
  100. package/dist/index203.js +20 -2
  101. package/dist/index204.js +525 -2
  102. package/dist/index205.js +127 -8
  103. package/dist/index206.js +131 -17
  104. package/dist/index207.js +1 -1
  105. package/dist/index223.js +1 -1
  106. package/dist/index23.js +38 -32
  107. package/dist/index243.js +5 -24
  108. package/dist/index244.js +3 -19
  109. package/dist/index245.js +23 -7
  110. package/dist/index246.js +109 -10
  111. package/dist/index247.js +15 -10
  112. package/dist/index248.js +22 -20
  113. package/dist/index249.js +18 -10
  114. package/dist/index250.js +7 -9
  115. package/dist/index251.js +10 -9
  116. package/dist/index252.js +10 -4
  117. package/dist/index253.js +21 -5
  118. package/dist/index254.js +10 -16
  119. package/dist/index255.js +8 -8
  120. package/dist/index256.js +9 -18
  121. package/dist/index257.js +4 -15
  122. package/dist/index258.js +5 -12
  123. package/dist/index259.js +15 -28
  124. package/dist/index260.js +9 -12
  125. package/dist/index261.js +18 -25
  126. package/dist/index262.js +15 -5
  127. package/dist/index263.js +13 -5
  128. package/dist/index264.js +30 -3
  129. package/dist/index265.js +12 -23
  130. package/dist/index266.js +24 -108
  131. package/dist/index267.js +5 -15
  132. package/dist/index274.js +64 -12
  133. package/dist/index275.js +69 -65
  134. package/dist/index276.js +8 -68
  135. package/dist/index277.js +14 -9
  136. package/dist/index278.js +66 -14
  137. package/dist/index279.js +13 -66
  138. package/dist/index40.js +1 -1
  139. package/dist/index42.js +6 -6
  140. package/dist/index44.js +7 -7
  141. package/dist/index46.js +7 -7
  142. package/dist/index49.js +12 -12
  143. package/dist/index52.js +10 -10
  144. package/dist/index59.js +4 -4
  145. package/dist/index63.js +1 -1
  146. package/dist/index72.js +6 -3
  147. package/dist/index75.js +5 -5
  148. package/dist/index80.js +2 -2
  149. package/dist/index82.js +18 -18
  150. package/dist/index85.js +13 -13
  151. package/dist/index86.js +4 -4
  152. package/dist/index87.js +6 -6
  153. package/dist/index89.js +25 -5
  154. package/dist/index90.js +5 -25
  155. package/dist/index92.js +10 -125
  156. package/dist/index93.js +51 -10
  157. package/dist/index94.js +113 -207
  158. package/dist/index95.js +134 -13
  159. package/dist/index96.js +14 -69
  160. package/dist/index97.js +68 -32
  161. package/dist/index98.js +33 -51
  162. package/dist/index99.js +16 -30
  163. package/dist/style.css +1 -1
  164. package/dist/types/index.d.ts +2 -1
  165. package/package.json +1 -1
package/dist/index130.js CHANGED
@@ -1,7 +1,55 @@
1
- import e from "react";
2
- function o(t) {
3
- return e.createElement("button", { ...t });
1
+ import { __exports as i } from "./index200.js";
2
+ import h from "react";
3
+ /**
4
+ * @license React
5
+ * use-sync-external-store-shim.production.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var f;
13
+ function x() {
14
+ if (f) return i;
15
+ f = 1;
16
+ var u = h;
17
+ function s(e, t) {
18
+ return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
19
+ }
20
+ var S = typeof Object.is == "function" ? Object.is : s, d = u.useState, l = u.useEffect, p = u.useLayoutEffect, E = u.useDebugValue;
21
+ function v(e, t) {
22
+ var r = t(), a = d({ inst: { value: r, getSnapshot: t } }), n = a[0].inst, c = a[1];
23
+ return p(
24
+ function() {
25
+ n.value = r, n.getSnapshot = t, o(n) && c({ inst: n });
26
+ },
27
+ [e, r, t]
28
+ ), l(
29
+ function() {
30
+ return o(n) && c({ inst: n }), e(function() {
31
+ o(n) && c({ inst: n });
32
+ });
33
+ },
34
+ [e]
35
+ ), E(r), r;
36
+ }
37
+ function o(e) {
38
+ var t = e.getSnapshot;
39
+ e = e.value;
40
+ try {
41
+ var r = t();
42
+ return !S(e, r);
43
+ } catch {
44
+ return !0;
45
+ }
46
+ }
47
+ function y(e, t) {
48
+ return t();
49
+ }
50
+ var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? y : v;
51
+ return i.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : m, i;
4
52
  }
5
53
  export {
6
- o as Button
54
+ x as __require
7
55
  };
package/dist/index131.js CHANGED
@@ -1,7 +1,67 @@
1
- import t from "react";
2
- function n(e) {
3
- return t.createElement("span", { ...e });
1
+ import { __exports as s } from "./index201.js";
2
+ import h from "react";
3
+ /**
4
+ * @license React
5
+ * use-sync-external-store-shim.development.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var l;
13
+ function A() {
14
+ return l ? s : (l = 1, process.env.NODE_ENV !== "production" && function() {
15
+ function d(e, t) {
16
+ return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
17
+ }
18
+ function S(e, t) {
19
+ f || o.startTransition === void 0 || (f = !0, console.error(
20
+ "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
21
+ ));
22
+ var r = t();
23
+ if (!c) {
24
+ var u = t();
25
+ _(r, u) || (console.error(
26
+ "The result of getSnapshot should be cached to avoid an infinite loop"
27
+ ), c = !0);
28
+ }
29
+ u = p({
30
+ inst: { value: r, getSnapshot: t }
31
+ });
32
+ var n = u[0].inst, i = u[1];
33
+ return L(
34
+ function() {
35
+ n.value = r, n.getSnapshot = t, a(n) && i({ inst: n });
36
+ },
37
+ [e, r, t]
38
+ ), E(
39
+ function() {
40
+ return a(n) && i({ inst: n }), e(function() {
41
+ a(n) && i({ inst: n });
42
+ });
43
+ },
44
+ [e]
45
+ ), y(r), r;
46
+ }
47
+ function a(e) {
48
+ var t = e.getSnapshot;
49
+ e = e.value;
50
+ try {
51
+ var r = t();
52
+ return !_(e, r);
53
+ } catch {
54
+ return !0;
55
+ }
56
+ }
57
+ function O(e, t) {
58
+ return t();
59
+ }
60
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
61
+ var o = h, _ = typeof Object.is == "function" ? Object.is : d, p = o.useState, E = o.useEffect, L = o.useLayoutEffect, y = o.useDebugValue, f = !1, c = !1, v = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? O : S;
62
+ s.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : v, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
63
+ }(), s);
4
64
  }
5
65
  export {
6
- n as CaptionLabel
66
+ A as __require
7
67
  };
package/dist/index132.js CHANGED
@@ -1,18 +1,54 @@
1
- import e from "react";
2
- function r(n) {
3
- const { size: o = 24, orientation: t = "left", className: l } = n;
4
- return (
5
- // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
6
- e.createElement(
7
- "svg",
8
- { className: l, width: o, height: o, viewBox: "0 0 24 24" },
9
- t === "up" && e.createElement("polygon", { points: "6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28" }),
10
- t === "down" && e.createElement("polygon", { points: "6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72" }),
11
- t === "left" && e.createElement("polygon", { points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20" }),
12
- t === "right" && e.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
13
- )
14
- );
15
- }
1
+ import { Button as e } from "./index133.js";
2
+ import { CaptionLabel as p } from "./index134.js";
3
+ import { Chevron as x } from "./index135.js";
4
+ import { Day as n } from "./index136.js";
5
+ import { DayButton as d } from "./index137.js";
6
+ import { Dropdown as u } from "./index138.js";
7
+ import { DropdownNav as k } from "./index139.js";
8
+ import { Footer as D } from "./index140.js";
9
+ import { Month as i } from "./index141.js";
10
+ import { MonthCaption as v } from "./index142.js";
11
+ import { MonthGrid as y } from "./index143.js";
12
+ import { Months as b } from "./index144.js";
13
+ import { MonthsDropdown as l } from "./index145.js";
14
+ import { Nav as F } from "./index146.js";
15
+ import { NextMonthButton as H } from "./index147.js";
16
+ import { Option as O } from "./index148.js";
17
+ import { PreviousMonthButton as R } from "./index149.js";
18
+ import { Root as Y } from "./index150.js";
19
+ import { Select as j } from "./index151.js";
20
+ import { Week as z } from "./index152.js";
21
+ import { Weekday as E } from "./index153.js";
22
+ import { Weekdays as J } from "./index154.js";
23
+ import { WeekNumber as Q } from "./index155.js";
24
+ import { WeekNumberHeader as U } from "./index156.js";
25
+ import { Weeks as X } from "./index157.js";
26
+ import { YearsDropdown as _ } from "./index158.js";
16
27
  export {
17
- r as Chevron
28
+ e as Button,
29
+ p as CaptionLabel,
30
+ x as Chevron,
31
+ n as Day,
32
+ d as DayButton,
33
+ u as Dropdown,
34
+ k as DropdownNav,
35
+ D as Footer,
36
+ i as Month,
37
+ v as MonthCaption,
38
+ y as MonthGrid,
39
+ b as Months,
40
+ l as MonthsDropdown,
41
+ F as Nav,
42
+ H as NextMonthButton,
43
+ O as Option,
44
+ R as PreviousMonthButton,
45
+ Y as Root,
46
+ j as Select,
47
+ z as Week,
48
+ Q as WeekNumber,
49
+ U as WeekNumberHeader,
50
+ E as Weekday,
51
+ J as Weekdays,
52
+ X as Weeks,
53
+ _ as YearsDropdown
18
54
  };
package/dist/index133.js CHANGED
@@ -1,8 +1,7 @@
1
- import r from "react";
2
- function n(t) {
3
- const { day: o, modifiers: a, ...e } = t;
4
- return r.createElement("td", { ...e });
1
+ import e from "react";
2
+ function o(t) {
3
+ return e.createElement("button", { ...t });
5
4
  }
6
5
  export {
7
- n as Day
6
+ o as Button
8
7
  };
package/dist/index134.js CHANGED
@@ -1,11 +1,7 @@
1
- import e from "react";
2
- function s(u) {
3
- const { day: n, modifiers: t, ...r } = u, o = e.useRef(null);
4
- return e.useEffect(() => {
5
- var f;
6
- t.focused && ((f = o.current) == null || f.focus());
7
- }, [t.focused]), e.createElement("button", { ref: o, ...r });
1
+ import t from "react";
2
+ function n(e) {
3
+ return t.createElement("span", { ...e });
8
4
  }
9
5
  export {
10
- s as DayButton
6
+ n as CaptionLabel
11
7
  };
package/dist/index135.js CHANGED
@@ -1,19 +1,18 @@
1
- import a from "react";
2
- import { UI as n } from "./index169.js";
3
- function f(c) {
4
- const { options: e, className: m, components: l, classNames: t, ...o } = c, d = [t[n.Dropdown], m].join(" "), r = e == null ? void 0 : e.find(({ value: s }) => s === o.value);
5
- return a.createElement(
6
- "span",
7
- { "data-disabled": o.disabled, className: t[n.DropdownRoot] },
8
- a.createElement(l.Select, { className: d, ...o }, e == null ? void 0 : e.map(({ value: s, label: i, disabled: p }) => a.createElement(l.Option, { key: s, value: s, disabled: p }, i))),
9
- a.createElement(
10
- "span",
11
- { className: t[n.CaptionLabel], "aria-hidden": !0 },
12
- r == null ? void 0 : r.label,
13
- a.createElement(l.Chevron, { orientation: "down", size: 18, className: t[n.Chevron] })
1
+ import e from "react";
2
+ function r(n) {
3
+ const { size: o = 24, orientation: t = "left", className: l } = n;
4
+ return (
5
+ // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
6
+ e.createElement(
7
+ "svg",
8
+ { className: l, width: o, height: o, viewBox: "0 0 24 24" },
9
+ t === "up" && e.createElement("polygon", { points: "6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28" }),
10
+ t === "down" && e.createElement("polygon", { points: "6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72" }),
11
+ t === "left" && e.createElement("polygon", { points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20" }),
12
+ t === "right" && e.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
14
13
  )
15
14
  );
16
15
  }
17
16
  export {
18
- f as Dropdown
17
+ r as Chevron
19
18
  };
package/dist/index136.js CHANGED
@@ -1,7 +1,8 @@
1
- import t from "react";
2
- function o(e) {
3
- return t.createElement("div", { ...e });
1
+ import r from "react";
2
+ function n(t) {
3
+ const { day: o, modifiers: a, ...e } = t;
4
+ return r.createElement("td", { ...e });
4
5
  }
5
6
  export {
6
- o as DropdownNav
7
+ n as Day
7
8
  };
package/dist/index137.js CHANGED
@@ -1,7 +1,11 @@
1
- import t from "react";
2
- function o(e) {
3
- return t.createElement("div", { ...e });
1
+ import e from "react";
2
+ function s(u) {
3
+ const { day: n, modifiers: t, ...r } = u, o = e.useRef(null);
4
+ return e.useEffect(() => {
5
+ var f;
6
+ t.focused && ((f = o.current) == null || f.focus());
7
+ }, [t.focused]), e.createElement("button", { ref: o, ...r });
4
8
  }
5
9
  export {
6
- o as Footer
10
+ s as DayButton
7
11
  };
package/dist/index138.js CHANGED
@@ -1,8 +1,19 @@
1
- import n from "react";
2
- function a(e) {
3
- const { calendarMonth: r, displayIndex: d, ...t } = e;
4
- return n.createElement("div", { ...t }, e.children);
1
+ import a from "react";
2
+ import { UI as n } from "./index172.js";
3
+ function f(c) {
4
+ const { options: e, className: m, components: l, classNames: t, ...o } = c, d = [t[n.Dropdown], m].join(" "), r = e == null ? void 0 : e.find(({ value: s }) => s === o.value);
5
+ return a.createElement(
6
+ "span",
7
+ { "data-disabled": o.disabled, className: t[n.DropdownRoot] },
8
+ a.createElement(l.Select, { className: d, ...o }, e == null ? void 0 : e.map(({ value: s, label: i, disabled: p }) => a.createElement(l.Option, { key: s, value: s, disabled: p }, i))),
9
+ a.createElement(
10
+ "span",
11
+ { className: t[n.CaptionLabel], "aria-hidden": !0 },
12
+ r == null ? void 0 : r.label,
13
+ a.createElement(l.Chevron, { orientation: "down", size: 18, className: t[n.Chevron] })
14
+ )
15
+ );
5
16
  }
6
17
  export {
7
- a as Month
18
+ f as Dropdown
8
19
  };
package/dist/index139.js CHANGED
@@ -1,8 +1,7 @@
1
- import n from "react";
2
- function d(t) {
3
- const { calendarMonth: o, displayIndex: r, ...e } = t;
4
- return n.createElement("div", { ...e });
1
+ import t from "react";
2
+ function o(e) {
3
+ return t.createElement("div", { ...e });
5
4
  }
6
5
  export {
7
- d as MonthCaption
6
+ o as DropdownNav
8
7
  };
package/dist/index140.js CHANGED
@@ -1,7 +1,7 @@
1
- import e from "react";
2
- function n(t) {
3
- return e.createElement("table", { ...t });
1
+ import t from "react";
2
+ function o(e) {
3
+ return t.createElement("div", { ...e });
4
4
  }
5
5
  export {
6
- n as MonthGrid
6
+ o as Footer
7
7
  };
package/dist/index141.js CHANGED
@@ -1,7 +1,8 @@
1
- import e from "react";
2
- function n(t) {
3
- return e.createElement("div", { ...t });
1
+ import n from "react";
2
+ function a(e) {
3
+ const { calendarMonth: r, displayIndex: d, ...t } = e;
4
+ return n.createElement("div", { ...t }, e.children);
4
5
  }
5
6
  export {
6
- n as Months
7
+ a as Month
7
8
  };
package/dist/index142.js CHANGED
@@ -1,9 +1,8 @@
1
- import e from "react";
2
- import { useDayPicker as r } from "./index172.js";
3
- function m(o) {
4
- const { components: t } = r();
5
- return e.createElement(t.Dropdown, { ...o });
1
+ import n from "react";
2
+ function d(t) {
3
+ const { calendarMonth: o, displayIndex: r, ...e } = t;
4
+ return n.createElement("div", { ...e });
6
5
  }
7
6
  export {
8
- m as MonthsDropdown
7
+ d as MonthCaption
9
8
  };
package/dist/index143.js CHANGED
@@ -1,27 +1,7 @@
1
- import n, { useCallback as d } from "react";
2
- import { UI as l } from "./index169.js";
3
- import { useDayPicker as v } from "./index172.js";
4
- function C(u) {
5
- const { onPreviousClick: a, onNextClick: o, previousMonth: e, nextMonth: t, ...c } = u, { components: r, classNames: i, labels: { labelPrevious: m, labelNext: b } } = v(), f = d((s) => {
6
- t && (o == null || o(s));
7
- }, [t, o]), h = d((s) => {
8
- e && (a == null || a(s));
9
- }, [e, a]);
10
- return n.createElement(
11
- "nav",
12
- { ...c },
13
- n.createElement(
14
- r.PreviousMonthButton,
15
- { type: "button", className: i[l.PreviousMonthButton], tabIndex: e ? void 0 : -1, "aria-disabled": e ? void 0 : !0, "aria-label": m(e), onClick: h },
16
- n.createElement(r.Chevron, { disabled: e ? void 0 : !0, className: i[l.Chevron], orientation: "left" })
17
- ),
18
- n.createElement(
19
- r.NextMonthButton,
20
- { type: "button", className: i[l.NextMonthButton], tabIndex: t ? void 0 : -1, "aria-disabled": t ? void 0 : !0, "aria-label": b(t), onClick: f },
21
- n.createElement(r.Chevron, { disabled: t ? void 0 : !0, orientation: "right", className: i[l.Chevron] })
22
- )
23
- );
1
+ import e from "react";
2
+ function n(t) {
3
+ return e.createElement("table", { ...t });
24
4
  }
25
5
  export {
26
- C as Nav
6
+ n as MonthGrid
27
7
  };
package/dist/index144.js CHANGED
@@ -1,9 +1,7 @@
1
- import o from "react";
2
- import { useDayPicker as n } from "./index172.js";
3
- function m(t) {
4
- const { components: e } = n();
5
- return o.createElement(e.Button, { ...t });
1
+ import e from "react";
2
+ function n(t) {
3
+ return e.createElement("div", { ...t });
6
4
  }
7
5
  export {
8
- m as NextMonthButton
6
+ n as Months
9
7
  };
package/dist/index145.js CHANGED
@@ -1,7 +1,9 @@
1
1
  import e from "react";
2
- function n(t) {
3
- return e.createElement("option", { ...t });
2
+ import { useDayPicker as r } from "./index175.js";
3
+ function m(o) {
4
+ const { components: t } = r();
5
+ return e.createElement(t.Dropdown, { ...o });
4
6
  }
5
7
  export {
6
- n as Option
8
+ m as MonthsDropdown
7
9
  };
package/dist/index146.js CHANGED
@@ -1,9 +1,27 @@
1
- import e from "react";
2
- import { useDayPicker as n } from "./index172.js";
3
- function c(t) {
4
- const { components: o } = n();
5
- return e.createElement(o.Button, { ...t });
1
+ import n, { useCallback as d } from "react";
2
+ import { UI as l } from "./index172.js";
3
+ import { useDayPicker as v } from "./index175.js";
4
+ function C(u) {
5
+ const { onPreviousClick: a, onNextClick: o, previousMonth: e, nextMonth: t, ...c } = u, { components: r, classNames: i, labels: { labelPrevious: m, labelNext: b } } = v(), f = d((s) => {
6
+ t && (o == null || o(s));
7
+ }, [t, o]), h = d((s) => {
8
+ e && (a == null || a(s));
9
+ }, [e, a]);
10
+ return n.createElement(
11
+ "nav",
12
+ { ...c },
13
+ n.createElement(
14
+ r.PreviousMonthButton,
15
+ { type: "button", className: i[l.PreviousMonthButton], tabIndex: e ? void 0 : -1, "aria-disabled": e ? void 0 : !0, "aria-label": m(e), onClick: h },
16
+ n.createElement(r.Chevron, { disabled: e ? void 0 : !0, className: i[l.Chevron], orientation: "left" })
17
+ ),
18
+ n.createElement(
19
+ r.NextMonthButton,
20
+ { type: "button", className: i[l.NextMonthButton], tabIndex: t ? void 0 : -1, "aria-disabled": t ? void 0 : !0, "aria-label": b(t), onClick: f },
21
+ n.createElement(r.Chevron, { disabled: t ? void 0 : !0, orientation: "right", className: i[l.Chevron] })
22
+ )
23
+ );
6
24
  }
7
25
  export {
8
- c as PreviousMonthButton
26
+ C as Nav
9
27
  };
package/dist/index147.js CHANGED
@@ -1,8 +1,9 @@
1
- import r from "react";
2
- function n(t) {
3
- const { rootRef: e, ...o } = t;
4
- return r.createElement("div", { ...o, ref: e });
1
+ import o from "react";
2
+ import { useDayPicker as n } from "./index175.js";
3
+ function m(t) {
4
+ const { components: e } = n();
5
+ return o.createElement(e.Button, { ...t });
5
6
  }
6
7
  export {
7
- n as Root
8
+ m as NextMonthButton
8
9
  };
package/dist/index148.js CHANGED
@@ -1,7 +1,7 @@
1
- import t from "react";
2
- function c(e) {
3
- return t.createElement("select", { ...e });
1
+ import e from "react";
2
+ function n(t) {
3
+ return e.createElement("option", { ...t });
4
4
  }
5
5
  export {
6
- c as Select
6
+ n as Option
7
7
  };
package/dist/index149.js CHANGED
@@ -1,8 +1,9 @@
1
- import r from "react";
2
- function c(e) {
3
- const { week: o, ...t } = e;
4
- return r.createElement("tr", { ...t });
1
+ import e from "react";
2
+ import { useDayPicker as n } from "./index175.js";
3
+ function c(t) {
4
+ const { components: o } = n();
5
+ return e.createElement(o.Button, { ...t });
5
6
  }
6
7
  export {
7
- c as Week
8
+ c as PreviousMonthButton
8
9
  };
package/dist/index150.js CHANGED
@@ -1,7 +1,8 @@
1
- import t from "react";
2
- function a(e) {
3
- return t.createElement("th", { ...e });
1
+ import r from "react";
2
+ function n(t) {
3
+ const { rootRef: e, ...o } = t;
4
+ return r.createElement("div", { ...o, ref: e });
4
5
  }
5
6
  export {
6
- a as Weekday
7
+ n as Root
7
8
  };
package/dist/index151.js CHANGED
@@ -1,11 +1,7 @@
1
- import e from "react";
2
- function a(t) {
3
- return e.createElement(
4
- "thead",
5
- { "aria-hidden": !0 },
6
- e.createElement("tr", { ...t })
7
- );
1
+ import t from "react";
2
+ function c(e) {
3
+ return t.createElement("select", { ...e });
8
4
  }
9
5
  export {
10
- a as Weekdays
6
+ c as Select
11
7
  };
package/dist/index152.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import r from "react";
2
2
  function c(e) {
3
3
  const { week: o, ...t } = e;
4
- return r.createElement("th", { ...t });
4
+ return r.createElement("tr", { ...t });
5
5
  }
6
6
  export {
7
- c as WeekNumber
7
+ c as Week
8
8
  };
package/dist/index153.js CHANGED
@@ -3,5 +3,5 @@ function a(e) {
3
3
  return t.createElement("th", { ...e });
4
4
  }
5
5
  export {
6
- a as WeekNumberHeader
6
+ a as Weekday
7
7
  };
package/dist/index154.js CHANGED
@@ -1,7 +1,11 @@
1
- import t from "react";
2
- function o(e) {
3
- return t.createElement("tbody", { ...e });
1
+ import e from "react";
2
+ function a(t) {
3
+ return e.createElement(
4
+ "thead",
5
+ { "aria-hidden": !0 },
6
+ e.createElement("tr", { ...t })
7
+ );
4
8
  }
5
9
  export {
6
- o as Weeks
10
+ a as Weekdays
7
11
  };
package/dist/index155.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import r from "react";
2
- import { useDayPicker as t } from "./index172.js";
3
- function m(o) {
4
- const { components: e } = t();
5
- return r.createElement(e.Dropdown, { ...o });
2
+ function c(e) {
3
+ const { week: o, ...t } = e;
4
+ return r.createElement("th", { ...t });
6
5
  }
7
6
  export {
8
- m as YearsDropdown
7
+ c as WeekNumber
9
8
  };