@datawire-ai/busyfile-design-library 1.32.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/dist/index100.js +125 -10
  2. package/dist/index101.js +128 -212
  3. package/dist/index102.js +2 -2
  4. package/dist/index103.js +16 -30
  5. package/dist/index104.js +9 -4
  6. package/dist/index105.js +49 -46
  7. package/dist/index106.js +217 -13
  8. package/dist/index107.js +29 -135
  9. package/dist/index108.js +3 -10
  10. package/dist/index109.js +47 -4
  11. package/dist/index110.js +11 -50
  12. package/dist/index111.js +4 -9
  13. package/dist/index112.js +10 -648
  14. package/dist/index113.js +650 -13
  15. package/dist/index114.js +13 -226
  16. package/dist/index115.js +226 -14
  17. package/dist/index116.js +24 -12
  18. package/dist/index117.js +22 -12
  19. package/dist/index118.js +39 -206
  20. package/dist/index119.js +18 -22
  21. package/dist/index12.js +28 -30
  22. package/dist/index120.js +12 -397
  23. package/dist/index121.js +12 -25
  24. package/dist/index122.js +205 -21
  25. package/dist/index123.js +21 -38
  26. package/dist/index124.js +399 -17
  27. package/dist/index127.js +3 -3
  28. package/dist/index128.js +3 -3
  29. package/dist/index130.js +1 -1
  30. package/dist/index131.js +1 -1
  31. package/dist/index132.js +52 -525
  32. package/dist/index133.js +4 -127
  33. package/dist/index134.js +4 -133
  34. package/dist/index135.js +16 -52
  35. package/dist/index136.js +5 -4
  36. package/dist/index137.js +8 -4
  37. package/dist/index138.js +14 -13
  38. package/dist/index139.js +4 -5
  39. package/dist/index140.js +4 -8
  40. package/dist/index141.js +5 -16
  41. package/dist/index142.js +5 -4
  42. package/dist/index143.js +4 -4
  43. package/dist/index144.js +4 -5
  44. package/dist/index145.js +6 -5
  45. package/dist/index146.js +24 -4
  46. package/dist/index147.js +6 -4
  47. package/dist/index148.js +3 -5
  48. package/dist/index149.js +6 -24
  49. package/dist/index150.js +5 -6
  50. package/dist/index151.js +4 -4
  51. package/dist/index152.js +5 -6
  52. package/dist/index153.js +4 -5
  53. package/dist/index154.js +8 -4
  54. package/dist/index155.js +2 -2
  55. package/dist/index156.js +1 -1
  56. package/dist/index157.js +4 -8
  57. package/dist/index158.js +5 -4
  58. package/dist/index159.js +58 -4
  59. package/dist/index160.js +66 -4
  60. package/dist/index161.js +240 -6
  61. package/dist/index162.js +37 -56
  62. package/dist/index163.js +4 -66
  63. package/dist/index164.js +7 -240
  64. package/dist/index165.js +12 -38
  65. package/dist/index166.js +7 -4
  66. package/dist/index167.js +10 -7
  67. package/dist/index168.js +9 -12
  68. package/dist/index169.js +8 -7
  69. package/dist/index170.js +15 -9
  70. package/dist/index171.js +24 -11
  71. package/dist/index172.js +20 -9
  72. package/dist/index173.js +52 -15
  73. package/dist/index174.js +42 -24
  74. package/dist/index175.js +10 -20
  75. package/dist/index176.js +18 -51
  76. package/dist/index177.js +15 -40
  77. package/dist/index178.js +6 -9
  78. package/dist/index179.js +23 -20
  79. package/dist/index180.js +18 -16
  80. package/dist/index181.js +16 -7
  81. package/dist/index182.js +6 -23
  82. package/dist/index183.js +5 -19
  83. package/dist/index184.js +5 -16
  84. package/dist/index185.js +4 -6
  85. package/dist/index186.js +4 -4
  86. package/dist/index187.js +3 -4
  87. package/dist/index188.js +6 -4
  88. package/dist/index189.js +7 -4
  89. package/dist/index190.js +6 -3
  90. package/dist/index191.js +5 -6
  91. package/dist/index192.js +3 -7
  92. package/dist/index193.js +3 -6
  93. package/dist/index194.js +3 -5
  94. package/dist/index195.js +3 -3
  95. package/dist/index196.js +4 -3
  96. package/dist/index197.js +3 -3
  97. package/dist/index198.js +3 -3
  98. package/dist/index199.js +3 -4
  99. package/dist/index200.js +5 -4
  100. package/dist/index201.js +3 -4
  101. package/dist/index202.js +23 -3
  102. package/dist/index203.js +110 -2
  103. package/dist/index204.js +16 -2
  104. package/dist/index205.js +525 -5
  105. package/dist/index206.js +128 -3
  106. package/dist/index207.js +132 -22
  107. package/dist/index208.js +2 -110
  108. package/dist/index209.js +2 -16
  109. package/dist/index212.js +1 -1
  110. package/dist/index228.js +1 -1
  111. package/dist/index248.js +3 -3
  112. package/dist/index259.js +1 -1
  113. package/dist/index262.js +1 -1
  114. package/dist/index264.js +1 -1
  115. package/dist/index265.js +1 -1
  116. package/dist/index266.js +3 -3
  117. package/dist/index267.js +2 -2
  118. package/dist/index268.js +69 -65
  119. package/dist/index269.js +8 -68
  120. package/dist/index270.js +14 -9
  121. package/dist/index271.js +66 -14
  122. package/dist/index272.js +64 -65
  123. package/dist/index42.js +4 -4
  124. package/dist/index44.js +6 -6
  125. package/dist/index46.js +4 -4
  126. package/dist/index48.js +1 -1
  127. package/dist/index49.js +8 -8
  128. package/dist/index50.js +1 -1
  129. package/dist/index52.js +6 -6
  130. package/dist/index54.js +1 -1
  131. package/dist/index55.js +1 -1
  132. package/dist/index56.js +1 -1
  133. package/dist/index57.js +1 -1
  134. package/dist/index59.js +4 -4
  135. package/dist/index61.js +1 -1
  136. package/dist/index62.js +1 -1
  137. package/dist/index63.js +1 -1
  138. package/dist/index65.js +1 -1
  139. package/dist/index66.js +1 -1
  140. package/dist/index67.js +1 -1
  141. package/dist/index68.js +1 -1
  142. package/dist/index70.js +1 -1
  143. package/dist/index71.js +1 -1
  144. package/dist/index73.js +1 -1
  145. package/dist/index75.js +5 -5
  146. package/dist/index78.js +1 -1
  147. package/dist/index79.js +1 -1
  148. package/dist/index80.js +2 -2
  149. package/dist/index81.js +1 -1
  150. package/dist/index82.js +16 -16
  151. package/dist/index84.js +1 -1
  152. package/dist/index85.js +9 -9
  153. package/dist/index86.js +3 -3
  154. package/dist/index87.js +4 -4
  155. package/dist/index88.js +1 -1
  156. package/dist/index92.js +33 -51
  157. package/dist/index93.js +181 -5
  158. package/dist/index94.js +51 -24
  159. package/dist/index95.js +7 -33
  160. package/dist/index96.js +24 -181
  161. package/dist/index97.js +5 -7
  162. package/dist/index98.js +1 -1
  163. package/dist/index99.js +10 -125
  164. package/dist/types/index.d.ts +1 -3
  165. package/package.json +1 -1
package/dist/index134.js CHANGED
@@ -1,136 +1,7 @@
1
- function c() {
2
- return typeof window < "u";
3
- }
4
- function u(t) {
5
- return p(t) ? (t.nodeName || "").toLowerCase() : "#document";
6
- }
7
- function i(t) {
8
- var e;
9
- return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
10
- }
11
- function N(t) {
12
- var e;
13
- return (e = (p(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
14
- }
15
- function p(t) {
16
- return c() ? t instanceof Node || t instanceof i(t).Node : !1;
17
- }
18
- function m(t) {
19
- return c() ? t instanceof Element || t instanceof i(t).Element : !1;
20
- }
21
- function w(t) {
22
- return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
23
- }
24
- function f(t) {
25
- return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
26
- }
27
- const E = /* @__PURE__ */ new Set(["inline", "contents"]);
28
- function y(t) {
29
- const {
30
- overflow: e,
31
- overflowX: n,
32
- overflowY: o,
33
- display: r
34
- } = S(t);
35
- return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
36
- }
37
- const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
38
- function A(t) {
39
- return T.has(u(t));
40
- }
41
- const v = [":popover-open", ":modal"];
42
- function L(t) {
43
- return v.some((e) => {
44
- try {
45
- return t.matches(e);
46
- } catch {
47
- return !1;
48
- }
49
- });
50
- }
51
- const D = ["transform", "translate", "scale", "rotate", "perspective"], C = ["transform", "translate", "scale", "rotate", "perspective", "filter"], k = ["paint", "layout", "strict", "content"];
52
- function V(t) {
53
- const e = O(), n = m(t) ? S(t) : t;
54
- return D.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || C.some((o) => (n.willChange || "").includes(o)) || k.some((o) => (n.contain || "").includes(o));
55
- }
56
- function B(t) {
57
- let e = s(t);
58
- for (; w(e) && !h(e); ) {
59
- if (V(e))
60
- return e;
61
- if (L(e))
62
- return null;
63
- e = s(e);
64
- }
65
- return null;
66
- }
67
- function O() {
68
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
69
- }
70
- const R = /* @__PURE__ */ new Set(["html", "body", "#document"]);
71
- function h(t) {
72
- return R.has(u(t));
73
- }
74
- function S(t) {
75
- return i(t).getComputedStyle(t);
76
- }
77
- function F(t) {
78
- return m(t) ? {
79
- scrollLeft: t.scrollLeft,
80
- scrollTop: t.scrollTop
81
- } : {
82
- scrollLeft: t.scrollX,
83
- scrollTop: t.scrollY
84
- };
85
- }
86
- function s(t) {
87
- if (u(t) === "html")
88
- return t;
89
- const e = (
90
- // Step into the shadow DOM of the parent of a slotted node.
91
- t.assignedSlot || // DOM Element detected.
92
- t.parentNode || // ShadowRoot detected.
93
- f(t) && t.host || // Fallback.
94
- N(t)
95
- );
96
- return f(e) ? e.host : e;
97
- }
98
- function b(t) {
99
- const e = s(t);
100
- return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
101
- }
102
- function d(t, e, n) {
103
- var o;
104
- e === void 0 && (e = []), n === void 0 && (n = !0);
105
- const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
106
- if (g) {
107
- const a = _(l);
108
- return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
109
- }
110
- return e.concat(r, d(r, [], n));
111
- }
112
- function _(t) {
113
- return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
1
+ import t from "react";
2
+ function n(e) {
3
+ return t.createElement("span", { ...e });
114
4
  }
115
5
  export {
116
- S as getComputedStyle,
117
- B as getContainingBlock,
118
- N as getDocumentElement,
119
- _ as getFrameElement,
120
- b as getNearestOverflowAncestor,
121
- u as getNodeName,
122
- F as getNodeScroll,
123
- d as getOverflowAncestors,
124
- s as getParentNode,
125
- i as getWindow,
126
- V as isContainingBlock,
127
- m as isElement,
128
- w as isHTMLElement,
129
- h as isLastTraversableNode,
130
- p as isNode,
131
- y as isOverflowElement,
132
- f as isShadowRoot,
133
- A as isTableElement,
134
- L as isTopLayer,
135
- O as isWebKit
6
+ n as CaptionLabel
136
7
  };
package/dist/index135.js CHANGED
@@ -1,54 +1,18 @@
1
- import { Button as e } from "./index136.js";
2
- import { CaptionLabel as p } from "./index137.js";
3
- import { Chevron as x } from "./index138.js";
4
- import { Day as n } from "./index139.js";
5
- import { DayButton as d } from "./index140.js";
6
- import { Dropdown as u } from "./index141.js";
7
- import { DropdownNav as k } from "./index142.js";
8
- import { Footer as D } from "./index143.js";
9
- import { Month as i } from "./index144.js";
10
- import { MonthCaption as v } from "./index145.js";
11
- import { MonthGrid as y } from "./index146.js";
12
- import { Months as b } from "./index147.js";
13
- import { MonthsDropdown as l } from "./index148.js";
14
- import { Nav as F } from "./index149.js";
15
- import { NextMonthButton as H } from "./index150.js";
16
- import { Option as O } from "./index151.js";
17
- import { PreviousMonthButton as R } from "./index152.js";
18
- import { Root as Y } from "./index153.js";
19
- import { Select as j } from "./index154.js";
20
- import { Week as z } from "./index155.js";
21
- import { Weekday as E } from "./index156.js";
22
- import { Weekdays as J } from "./index157.js";
23
- import { WeekNumber as Q } from "./index158.js";
24
- import { WeekNumberHeader as U } from "./index159.js";
25
- import { Weeks as X } from "./index160.js";
26
- import { YearsDropdown as _ } from "./index161.js";
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
+ }
27
16
  export {
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
17
+ r as Chevron
54
18
  };
package/dist/index136.js CHANGED
@@ -1,7 +1,8 @@
1
- import e from "react";
2
- function o(t) {
3
- return e.createElement("button", { ...t });
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 Button
7
+ n as Day
7
8
  };
package/dist/index137.js CHANGED
@@ -1,7 +1,11 @@
1
- import t from "react";
2
- function n(e) {
3
- return t.createElement("span", { ...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
- n as CaptionLabel
10
+ s as DayButton
7
11
  };
package/dist/index138.js CHANGED
@@ -1,18 +1,19 @@
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" })
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] })
13
14
  )
14
15
  );
15
16
  }
16
17
  export {
17
- r as Chevron
18
+ f as Dropdown
18
19
  };
package/dist/index139.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 t from "react";
2
+ function o(e) {
3
+ return t.createElement("div", { ...e });
5
4
  }
6
5
  export {
7
- n as Day
6
+ o as DropdownNav
8
7
  };
package/dist/index140.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 o(e) {
3
+ return t.createElement("div", { ...e });
8
4
  }
9
5
  export {
10
- s as DayButton
6
+ o as Footer
11
7
  };
package/dist/index141.js CHANGED
@@ -1,19 +1,8 @@
1
- import a from "react";
2
- import { UI as n } from "./index175.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
- );
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);
16
5
  }
17
6
  export {
18
- f as Dropdown
7
+ a as Month
19
8
  };
package/dist/index142.js CHANGED
@@ -1,7 +1,8 @@
1
- import t from "react";
2
- function o(e) {
3
- return t.createElement("div", { ...e });
1
+ import n from "react";
2
+ function d(t) {
3
+ const { calendarMonth: o, displayIndex: r, ...e } = t;
4
+ return n.createElement("div", { ...e });
4
5
  }
5
6
  export {
6
- o as DropdownNav
7
+ d as MonthCaption
7
8
  };
package/dist/index143.js CHANGED
@@ -1,7 +1,7 @@
1
- import t from "react";
2
- function o(e) {
3
- return t.createElement("div", { ...e });
1
+ import e from "react";
2
+ function n(t) {
3
+ return e.createElement("table", { ...t });
4
4
  }
5
5
  export {
6
- o as Footer
6
+ n as MonthGrid
7
7
  };
package/dist/index144.js CHANGED
@@ -1,8 +1,7 @@
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 e from "react";
2
+ function n(t) {
3
+ return e.createElement("div", { ...t });
5
4
  }
6
5
  export {
7
- a as Month
6
+ n as Months
8
7
  };
package/dist/index145.js CHANGED
@@ -1,8 +1,9 @@
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 e from "react";
2
+ import { useDayPicker as r } from "./index175.js";
3
+ function m(o) {
4
+ const { components: t } = r();
5
+ return e.createElement(t.Dropdown, { ...o });
5
6
  }
6
7
  export {
7
- d as MonthCaption
8
+ m as MonthsDropdown
8
9
  };
package/dist/index146.js CHANGED
@@ -1,7 +1,27 @@
1
- import e from "react";
2
- function n(t) {
3
- return e.createElement("table", { ...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
+ );
4
24
  }
5
25
  export {
6
- n as MonthGrid
26
+ C as Nav
7
27
  };
package/dist/index147.js CHANGED
@@ -1,7 +1,9 @@
1
- import e from "react";
2
- function n(t) {
3
- return e.createElement("div", { ...t });
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 });
4
6
  }
5
7
  export {
6
- n as Months
8
+ m as NextMonthButton
7
9
  };
package/dist/index148.js CHANGED
@@ -1,9 +1,7 @@
1
1
  import e from "react";
2
- import { useDayPicker as r } from "./index178.js";
3
- function m(o) {
4
- const { components: t } = r();
5
- return e.createElement(t.Dropdown, { ...o });
2
+ function n(t) {
3
+ return e.createElement("option", { ...t });
6
4
  }
7
5
  export {
8
- m as MonthsDropdown
6
+ n as Option
9
7
  };
package/dist/index149.js CHANGED
@@ -1,27 +1,9 @@
1
- import n, { useCallback as d } from "react";
2
- import { UI as l } from "./index175.js";
3
- import { useDayPicker as v } from "./index178.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
+ import { useDayPicker as n } from "./index175.js";
3
+ function c(t) {
4
+ const { components: o } = n();
5
+ return e.createElement(o.Button, { ...t });
24
6
  }
25
7
  export {
26
- C as Nav
8
+ c as PreviousMonthButton
27
9
  };
package/dist/index150.js CHANGED
@@ -1,9 +1,8 @@
1
- import o from "react";
2
- import { useDayPicker as n } from "./index178.js";
3
- function m(t) {
4
- const { components: e } = n();
5
- return o.createElement(e.Button, { ...t });
1
+ import r from "react";
2
+ function n(t) {
3
+ const { rootRef: e, ...o } = t;
4
+ return r.createElement("div", { ...o, ref: e });
6
5
  }
7
6
  export {
8
- m as NextMonthButton
7
+ n as Root
9
8
  };
package/dist/index151.js CHANGED
@@ -1,7 +1,7 @@
1
- import e from "react";
2
- function n(t) {
3
- return e.createElement("option", { ...t });
1
+ import t from "react";
2
+ function c(e) {
3
+ return t.createElement("select", { ...e });
4
4
  }
5
5
  export {
6
- n as Option
6
+ c as Select
7
7
  };
package/dist/index152.js CHANGED
@@ -1,9 +1,8 @@
1
- import e from "react";
2
- import { useDayPicker as n } from "./index178.js";
3
- function c(t) {
4
- const { components: o } = n();
5
- return e.createElement(o.Button, { ...t });
1
+ import r from "react";
2
+ function c(e) {
3
+ const { week: o, ...t } = e;
4
+ return r.createElement("tr", { ...t });
6
5
  }
7
6
  export {
8
- c as PreviousMonthButton
7
+ c as Week
9
8
  };
package/dist/index153.js CHANGED
@@ -1,8 +1,7 @@
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 t from "react";
2
+ function a(e) {
3
+ return t.createElement("th", { ...e });
5
4
  }
6
5
  export {
7
- n as Root
6
+ a as Weekday
8
7
  };
package/dist/index154.js CHANGED
@@ -1,7 +1,11 @@
1
- import t from "react";
2
- function c(e) {
3
- return t.createElement("select", { ...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
- c as Select
10
+ a as Weekdays
7
11
  };
package/dist/index155.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("tr", { ...t });
4
+ return r.createElement("th", { ...t });
5
5
  }
6
6
  export {
7
- c as Week
7
+ c as WeekNumber
8
8
  };
package/dist/index156.js CHANGED
@@ -3,5 +3,5 @@ function a(e) {
3
3
  return t.createElement("th", { ...e });
4
4
  }
5
5
  export {
6
- a as Weekday
6
+ a as WeekNumberHeader
7
7
  };
package/dist/index157.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 o(e) {
3
+ return t.createElement("tbody", { ...e });
8
4
  }
9
5
  export {
10
- a as Weekdays
6
+ o as Weeks
11
7
  };
package/dist/index158.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import r from "react";
2
- function c(e) {
3
- const { week: o, ...t } = e;
4
- return r.createElement("th", { ...t });
2
+ import { useDayPicker as t } from "./index175.js";
3
+ function m(o) {
4
+ const { components: e } = t();
5
+ return r.createElement(e.Dropdown, { ...o });
5
6
  }
6
7
  export {
7
- c as WeekNumber
8
+ m as YearsDropdown
8
9
  };