@rinzai/zen 0.11.0 → 0.13.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 (289) hide show
  1. package/README.md +37 -7
  2. package/dist/accordion/index.d.ts +41 -0
  3. package/dist/accordion/index.d.ts.map +1 -0
  4. package/dist/accordion/index.js +81 -0
  5. package/dist/animated-number/index.d.ts +3 -2
  6. package/dist/animated-number/index.d.ts.map +1 -1
  7. package/dist/animated-number/index.js +40 -38
  8. package/dist/avatar/index.d.ts +7 -2
  9. package/dist/avatar/index.d.ts.map +1 -1
  10. package/dist/avatar/index.js +17 -11
  11. package/dist/backdrop/index.d.ts +4 -4
  12. package/dist/backdrop/index.d.ts.map +1 -1
  13. package/dist/backdrop/index.js +41 -39
  14. package/dist/badge/index.d.ts +4 -2
  15. package/dist/badge/index.d.ts.map +1 -1
  16. package/dist/badge/index.js +20 -11
  17. package/dist/base.css +4 -0
  18. package/dist/breadcrumbs/index.d.ts +1 -1
  19. package/dist/breadcrumbs/index.d.ts.map +1 -1
  20. package/dist/breadcrumbs/index.js +25 -24
  21. package/dist/button/index.d.ts +3 -3
  22. package/dist/button/index.d.ts.map +1 -1
  23. package/dist/button/index.js +16 -11
  24. package/dist/button-group/index.d.ts +13 -0
  25. package/dist/button-group/index.d.ts.map +1 -0
  26. package/dist/button-group/index.js +14 -0
  27. package/dist/calendar/index.d.ts +15 -8
  28. package/dist/calendar/index.d.ts.map +1 -1
  29. package/dist/calendar/index.js +97 -91
  30. package/dist/calendar-heatmap/index.d.ts +7 -5
  31. package/dist/calendar-heatmap/index.d.ts.map +1 -1
  32. package/dist/calendar-heatmap/index.js +32 -30
  33. package/dist/canvas/geometry.js +0 -1
  34. package/dist/canvas/index.d.ts +6 -6
  35. package/dist/canvas/index.d.ts.map +1 -1
  36. package/dist/canvas/index.js +135 -133
  37. package/dist/carousel/index.d.ts +27 -0
  38. package/dist/carousel/index.d.ts.map +1 -0
  39. package/dist/carousel/index.js +162 -0
  40. package/dist/chart/index.d.ts +5 -4
  41. package/dist/chart/index.d.ts.map +1 -1
  42. package/dist/chart/index.js +137 -135
  43. package/dist/chart/palette.js +0 -1
  44. package/dist/checkbox/index.d.ts +3 -3
  45. package/dist/checkbox/index.d.ts.map +1 -1
  46. package/dist/checkbox/index.js +33 -30
  47. package/dist/chip/index.js +1 -1
  48. package/dist/code-block/index.d.ts.map +1 -1
  49. package/dist/code-block/index.js +27 -25
  50. package/dist/code-input/index.d.ts.map +1 -1
  51. package/dist/code-input/index.js +30 -24
  52. package/dist/collapse/index.d.ts +4 -3
  53. package/dist/collapse/index.d.ts.map +1 -1
  54. package/dist/collapse/index.js +42 -39
  55. package/dist/color-picker/index.d.ts +14 -7
  56. package/dist/color-picker/index.d.ts.map +1 -1
  57. package/dist/color-picker/index.js +139 -128
  58. package/dist/combobox/index.d.ts +14 -6
  59. package/dist/combobox/index.d.ts.map +1 -1
  60. package/dist/combobox/index.js +158 -146
  61. package/dist/command-palette/index.d.ts +4 -3
  62. package/dist/command-palette/index.d.ts.map +1 -1
  63. package/dist/command-palette/index.js +60 -57
  64. package/dist/confirm-dialog/index.d.ts +6 -7
  65. package/dist/confirm-dialog/index.d.ts.map +1 -1
  66. package/dist/confirm-dialog/index.js +20 -16
  67. package/dist/date-picker/index.d.ts +23 -14
  68. package/dist/date-picker/index.d.ts.map +1 -1
  69. package/dist/date-picker/index.js +109 -93
  70. package/dist/dialog/index.d.ts +3 -4
  71. package/dist/dialog/index.d.ts.map +1 -1
  72. package/dist/dialog/index.js +58 -55
  73. package/dist/disclosure/index.d.ts +8 -0
  74. package/dist/disclosure/index.d.ts.map +1 -1
  75. package/dist/disclosure/index.js +31 -32
  76. package/dist/editable-cell/index.d.ts +4 -5
  77. package/dist/editable-cell/index.d.ts.map +1 -1
  78. package/dist/editable-cell/index.js +23 -22
  79. package/dist/field/index.d.ts +8 -8
  80. package/dist/field/index.d.ts.map +1 -1
  81. package/dist/field/index.js +20 -18
  82. package/dist/filter-bar/index.d.ts +2 -2
  83. package/dist/filter-bar/index.d.ts.map +1 -1
  84. package/dist/filter-bar/index.js +38 -36
  85. package/dist/header/index.d.ts +1 -1
  86. package/dist/header/index.d.ts.map +1 -1
  87. package/dist/header/index.js +13 -11
  88. package/dist/hover-card/index.d.ts +32 -0
  89. package/dist/hover-card/index.d.ts.map +1 -0
  90. package/dist/hover-card/index.js +84 -0
  91. package/dist/icon-picker/index.d.ts +16 -5
  92. package/dist/icon-picker/index.d.ts.map +1 -1
  93. package/dist/icon-picker/index.js +42 -47
  94. package/dist/icons/micro/plus.d.ts +3 -0
  95. package/dist/icons/micro/plus.d.ts.map +1 -0
  96. package/dist/icons/micro/plus.js +17 -0
  97. package/dist/index.d.ts +37 -24
  98. package/dist/index.d.ts.map +1 -1
  99. package/dist/input/index.d.ts +5 -1
  100. package/dist/input/index.d.ts.map +1 -1
  101. package/dist/input/index.js +9 -9
  102. package/dist/input-group/index.d.ts +4 -1
  103. package/dist/input-group/index.d.ts.map +1 -1
  104. package/dist/input-group/index.js +14 -14
  105. package/dist/keypad/index.d.ts +9 -7
  106. package/dist/keypad/index.d.ts.map +1 -1
  107. package/dist/keypad/index.js +22 -19
  108. package/dist/lib.js +112 -97
  109. package/dist/load-more/index.d.ts +4 -2
  110. package/dist/load-more/index.d.ts.map +1 -1
  111. package/dist/load-more/index.js +26 -23
  112. package/dist/locale-provider/index.d.ts +23 -0
  113. package/dist/locale-provider/index.d.ts.map +1 -0
  114. package/dist/locale-provider/index.js +35 -0
  115. package/dist/menu/index.d.ts +62 -9
  116. package/dist/menu/index.d.ts.map +1 -1
  117. package/dist/menu/index.js +371 -128
  118. package/dist/meter/index.d.ts +2 -2
  119. package/dist/meter/index.d.ts.map +1 -1
  120. package/dist/meter/index.js +4 -4
  121. package/dist/money-input/index.d.ts +20 -10
  122. package/dist/money-input/index.d.ts.map +1 -1
  123. package/dist/money-input/index.js +199 -190
  124. package/dist/month-picker/index.d.ts +17 -10
  125. package/dist/month-picker/index.d.ts.map +1 -1
  126. package/dist/month-picker/index.js +97 -86
  127. package/dist/navigation-menu/index.d.ts +42 -0
  128. package/dist/navigation-menu/index.d.ts.map +1 -0
  129. package/dist/navigation-menu/index.js +144 -0
  130. package/dist/number-field/index.d.ts +34 -0
  131. package/dist/number-field/index.d.ts.map +1 -0
  132. package/dist/number-field/index.js +119 -0
  133. package/dist/page-header/index.d.ts +4 -3
  134. package/dist/page-header/index.d.ts.map +1 -1
  135. package/dist/page-header/index.js +2 -1
  136. package/dist/pagination/index.d.ts +1 -1
  137. package/dist/pagination/index.d.ts.map +1 -1
  138. package/dist/pagination/index.js +35 -33
  139. package/dist/progress-ring/index.d.ts +4 -3
  140. package/dist/progress-ring/index.d.ts.map +1 -1
  141. package/dist/progress-ring/index.js +11 -10
  142. package/dist/radio-cards/index.d.ts +9 -5
  143. package/dist/radio-cards/index.d.ts.map +1 -1
  144. package/dist/radio-cards/index.js +26 -24
  145. package/dist/radio-group/index.d.ts +9 -8
  146. package/dist/radio-group/index.d.ts.map +1 -1
  147. package/dist/radio-group/index.js +35 -34
  148. package/dist/range-slider/index.d.ts +10 -4
  149. package/dist/range-slider/index.d.ts.map +1 -1
  150. package/dist/range-slider/index.js +43 -31
  151. package/dist/repeat-picker/index.d.ts +13 -6
  152. package/dist/repeat-picker/index.d.ts.map +1 -1
  153. package/dist/repeat-picker/index.js +73 -61
  154. package/dist/resizable/index.d.ts +29 -0
  155. package/dist/resizable/index.d.ts.map +1 -0
  156. package/dist/resizable/index.js +135 -0
  157. package/dist/segmented/index.d.ts +8 -5
  158. package/dist/segmented/index.d.ts.map +1 -1
  159. package/dist/segmented/index.js +36 -34
  160. package/dist/select/index.d.ts +9 -3
  161. package/dist/select/index.d.ts.map +1 -1
  162. package/dist/select/index.js +99 -96
  163. package/dist/separator/index.d.ts +14 -0
  164. package/dist/separator/index.d.ts.map +1 -0
  165. package/dist/separator/index.js +15 -0
  166. package/dist/side-nav/index.js +1 -1
  167. package/dist/skeleton/index.d.ts +4 -4
  168. package/dist/skeleton/index.d.ts.map +1 -1
  169. package/dist/skeleton/index.js +4 -3
  170. package/dist/slider/index.d.ts +6 -3
  171. package/dist/slider/index.d.ts.map +1 -1
  172. package/dist/slider/index.js +29 -23
  173. package/dist/sortable/index.d.ts +10 -20
  174. package/dist/sortable/index.d.ts.map +1 -1
  175. package/dist/sortable/index.js +72 -134
  176. package/dist/sortable/shared.d.ts +56 -0
  177. package/dist/sortable/shared.d.ts.map +1 -0
  178. package/dist/sortable/shared.js +104 -0
  179. package/dist/sortable/tree-model.d.ts +46 -0
  180. package/dist/sortable/tree-model.d.ts.map +1 -0
  181. package/dist/sortable/tree-model.js +87 -0
  182. package/dist/sortable/tree.d.ts +31 -0
  183. package/dist/sortable/tree.d.ts.map +1 -0
  184. package/dist/sortable/tree.js +150 -0
  185. package/dist/sparkline/index.d.ts +1 -1
  186. package/dist/sparkline/index.d.ts.map +1 -1
  187. package/dist/sparkline/index.js +26 -25
  188. package/dist/spinner/index.d.ts +4 -3
  189. package/dist/spinner/index.d.ts.map +1 -1
  190. package/dist/spinner/index.js +2 -1
  191. package/dist/status-pill/index.d.ts.map +1 -1
  192. package/dist/status-pill/index.js +1 -1
  193. package/dist/stepper/index.d.ts +1 -1
  194. package/dist/stepper/index.d.ts.map +1 -1
  195. package/dist/stepper/index.js +31 -30
  196. package/dist/tab-bar/index.js +1 -1
  197. package/dist/table/index.d.ts +5 -5
  198. package/dist/table/index.d.ts.map +1 -1
  199. package/dist/table/index.js +66 -64
  200. package/dist/table/selection.d.ts +2 -2
  201. package/dist/table/selection.d.ts.map +1 -1
  202. package/dist/table/selection.js +41 -38
  203. package/dist/table/swipe.d.ts +1 -1
  204. package/dist/table/swipe.d.ts.map +1 -1
  205. package/dist/table/swipe.js +1 -1
  206. package/dist/table-of-contents/index.d.ts +4 -2
  207. package/dist/table-of-contents/index.d.ts.map +1 -1
  208. package/dist/table-of-contents/index.js +27 -25
  209. package/dist/tabs/index.d.ts.map +1 -1
  210. package/dist/tabs/index.js +90 -88
  211. package/dist/tag-input/index.d.ts +3 -1
  212. package/dist/tag-input/index.d.ts.map +1 -1
  213. package/dist/tag-input/index.js +61 -52
  214. package/dist/theme-toggle/index.d.ts +9 -8
  215. package/dist/theme-toggle/index.d.ts.map +1 -1
  216. package/dist/theme-toggle/index.js +30 -28
  217. package/dist/theme.css +90 -12
  218. package/dist/time-field/index.d.ts +31 -0
  219. package/dist/time-field/index.d.ts.map +1 -0
  220. package/dist/time-field/index.js +175 -0
  221. package/dist/timeline/index.js +1 -1
  222. package/dist/toast/index.d.ts +1 -1
  223. package/dist/toast/index.d.ts.map +1 -1
  224. package/dist/toast/index.js +127 -125
  225. package/dist/toggle/index.d.ts +2 -2
  226. package/dist/toggle/index.d.ts.map +1 -1
  227. package/dist/toggle/index.js +8 -6
  228. package/dist/toggle-group/index.d.ts +35 -0
  229. package/dist/toggle-group/index.d.ts.map +1 -0
  230. package/dist/toggle-group/index.js +53 -0
  231. package/dist/toolbar/index.d.ts +19 -0
  232. package/dist/toolbar/index.d.ts.map +1 -0
  233. package/dist/toolbar/index.js +36 -0
  234. package/dist/tooltip/index.d.ts.map +1 -1
  235. package/dist/tooltip/index.js +40 -74
  236. package/dist/tree/index.d.ts.map +1 -1
  237. package/dist/tree/index.js +105 -102
  238. package/dist/trend/index.d.ts +2 -2
  239. package/dist/trend/index.d.ts.map +1 -1
  240. package/dist/trend/index.js +20 -19
  241. package/dist/utils/color.js +0 -1
  242. package/dist/utils/cva.js +0 -1
  243. package/dist/utils/cx.js +0 -1
  244. package/dist/utils/date.d.ts +6 -0
  245. package/dist/utils/date.d.ts.map +1 -1
  246. package/dist/utils/date.js +1 -2
  247. package/dist/utils/direction.d.ts +7 -0
  248. package/dist/utils/direction.d.ts.map +1 -0
  249. package/dist/utils/direction.js +6 -0
  250. package/dist/utils/form-value.d.ts +15 -0
  251. package/dist/utils/form-value.d.ts.map +1 -0
  252. package/dist/utils/form-value.js +29 -0
  253. package/dist/utils/fx.js +0 -1
  254. package/dist/utils/merge.js +0 -1
  255. package/dist/utils/messages.d.ts +137 -0
  256. package/dist/utils/messages.d.ts.map +1 -0
  257. package/dist/utils/messages.js +133 -0
  258. package/dist/utils/money.js +0 -1
  259. package/dist/utils/month.js +0 -1
  260. package/dist/utils/motion.js +0 -1
  261. package/dist/utils/refs.d.ts +6 -0
  262. package/dist/utils/refs.d.ts.map +1 -0
  263. package/dist/utils/refs.js +13 -0
  264. package/dist/utils/repeat.d.ts +3 -1
  265. package/dist/utils/repeat.d.ts.map +1 -1
  266. package/dist/utils/repeat.js +28 -25
  267. package/dist/utils/roving.d.ts +17 -0
  268. package/dist/utils/roving.d.ts.map +1 -0
  269. package/dist/utils/roving.js +35 -0
  270. package/dist/utils/section-link.js +0 -1
  271. package/dist/utils/slot.d.ts.map +1 -1
  272. package/dist/utils/slot.js +7 -11
  273. package/dist/utils/status-icons.js +7 -7
  274. package/dist/utils/styles.d.ts +9 -2
  275. package/dist/utils/styles.d.ts.map +1 -1
  276. package/dist/utils/styles.js +6 -3
  277. package/dist/utils/theme-wave.js +0 -1
  278. package/dist/utils/theme.js +0 -1
  279. package/dist/utils/useAnchoredPopup.d.ts +7 -4
  280. package/dist/utils/useAnchoredPopup.d.ts.map +1 -1
  281. package/dist/utils/useAnchoredPopup.js +18 -11
  282. package/dist/utils/useControllable.d.ts +9 -0
  283. package/dist/utils/useControllable.d.ts.map +1 -0
  284. package/dist/utils/useControllable.js +15 -0
  285. package/dist/utils/useHoverPopup.d.ts +39 -0
  286. package/dist/utils/useHoverPopup.d.ts.map +1 -0
  287. package/dist/utils/useHoverPopup.js +64 -0
  288. package/dist/zen.css +1 -1
  289. package/package.json +1 -1
@@ -1,9 +1,11 @@
1
1
  "use client";
2
2
  import { cx as e } from "../utils/cx.js";
3
- import t from "../icons/arrow-left.js";
4
- import { jsx as n } from "react/jsx-runtime";
3
+ import { useControllable as t } from "../utils/useControllable.js";
4
+ import { useMessages as n } from "../locale-provider/index.js";
5
+ import r from "../icons/arrow-left.js";
6
+ import { jsx as i } from "react/jsx-runtime";
5
7
  //#region packages/keypad/index.tsx
6
- var r = [
8
+ var a = [
7
9
  "1",
8
10
  "2",
9
11
  "3",
@@ -17,26 +19,27 @@ var r = [
17
19
  "0",
18
20
  "back"
19
21
  ];
20
- function i({ value: i, onValueChange: a, decimals: o = 2, maxLength: s = 12, deleteLabel: c = "Delete", "aria-label": l = "Keypad", className: u }) {
21
- let d = (e) => {
22
- if (e === "back") return a(i.slice(0, -1));
23
- let t = i.indexOf(".");
24
- if (e === ".") return o === 0 || t !== -1 ? void 0 : a((i || "0") + ".");
25
- t !== -1 && i.length - t > o || i.length >= s || a(i === "0" ? e : i + e);
22
+ function o({ value: o, defaultValue: s = "", onValueChange: c, decimals: l = 2, maxLength: u = 12, deleteLabel: d, "aria-label": f, className: p, ...m }) {
23
+ let h = n(), g = d ?? h.delete, _ = f ?? h.keypad, [v, y] = t(o, s, c), b = (e) => {
24
+ if (e === "back") return y(v.slice(0, -1));
25
+ let t = v.indexOf(".");
26
+ if (e === ".") return l === 0 || t !== -1 ? void 0 : y((v || "0") + ".");
27
+ t !== -1 && v.length - t > l || v.length >= u || y(v === "0" ? e : v + e);
26
28
  };
27
- return /* @__PURE__ */ n("div", {
29
+ return /* @__PURE__ */ i("div", {
28
30
  role: "group",
29
- "aria-label": l,
30
- className: e("zen__keypad grid grid-cols-3 gap-2", u),
31
- children: r.map((e) => /* @__PURE__ */ n("button", {
31
+ "aria-label": _,
32
+ className: e("zen__keypad grid grid-cols-3 gap-2", p),
33
+ ...m,
34
+ children: a.map((e) => /* @__PURE__ */ i("button", {
32
35
  type: "button",
33
- "aria-label": e === "back" ? c : void 0,
34
- disabled: e === "." && o === 0,
35
- onClick: () => d(e),
36
- className: "bg-tint/[0.05] hover:bg-tint/[0.09] focus-visible:ring-ring/50 grid h-14 cursor-pointer place-items-center rounded-xl text-xl font-medium tabular-nums outline-hidden transition-[background-color,scale] duration-150 select-none focus-visible:ring-2 active:scale-95 disabled:invisible",
37
- children: e === "back" ? /* @__PURE__ */ n(t, { className: "size-5" }) : e
36
+ "aria-label": e === "back" ? g : void 0,
37
+ disabled: e === "." && l === 0,
38
+ onClick: () => b(e),
39
+ className: "bg-tint/[0.05] hover:bg-tint/[0.09] focus-ring grid h-14 cursor-pointer place-items-center rounded-xl text-xl font-medium tabular-nums outline-hidden transition-[background-color,scale] duration-150 select-none active:scale-95 disabled:invisible",
40
+ children: e === "back" ? /* @__PURE__ */ i(r, { className: "size-5 rtl:-scale-x-100" }) : e
38
41
  }, e))
39
42
  });
40
43
  }
41
44
  //#endregion
42
- export { i as default };
45
+ export { o as default };
package/dist/lib.js CHANGED
@@ -1,101 +1,116 @@
1
- "use client";
2
1
  /* empty css */
3
2
  import { cx as e } from "./utils/cx.js";
4
3
  import { applyGraphicsMode as t, detectGraphicsMode as n } from "./utils/graphics.js";
5
4
  import { useAnchoredPopup as r } from "./utils/useAnchoredPopup.js";
6
- import i, { MenuContent as a, MenuContextTrigger as o, MenuHeader as s, MenuItem as c, MenuSeparator as l, MenuTrigger as u } from "./menu/index.js";
7
- import { MoneyParseError as d, currencySymbol as f, formatAmount as p, formatMoney as m, minorDigits as h, parseMoney as g, parseMoneyInput as _ } from "./utils/money.js";
8
- import { reducedMotion as v } from "./utils/motion.js";
9
- import y, { AnimatedMoney as b } from "./animated-number/index.js";
10
- import x, { ImageCropError as S, cropImageToSquare as C } from "./avatar/index.js";
11
- import w from "./backdrop/index.js";
12
- import { cva as T } from "./utils/cva.js";
13
- import E from "./badge/index.js";
14
- import D, { StatusPillAction as O } from "./status-pill/index.js";
15
- import k from "./spinner/index.js";
16
- import A, { buttonVariants as j } from "./button/index.js";
17
- import M, { CardDescription as N, CardHeader as P, CardTitle as F, Stat as I, StatRow as L } from "./card/index.js";
18
- import { Canvas as R, CanvasItem as z } from "./canvas/index.js";
19
- import { useCopyToClipboard as B } from "./utils/useCopyToClipboard.js";
20
- import V from "./code-block/index.js";
21
- import H from "./alert/index.js";
22
- import U, { FormMessage as W, useField as G, useFieldProps as K } from "./field/index.js";
23
- import q from "./input/index.js";
24
- import J from "./slider/index.js";
25
- import { hexToOklch as Y, oklchToHex as X } from "./utils/color.js";
26
- import { FieldChevron as Z } from "./utils/field-chevron.js";
27
- import Q, { ColorPanel as $ } from "./color-picker/index.js";
28
- import ee from "./chip/index.js";
29
- import te, { PopoverClose as ne, PopoverContent as re, PopoverTrigger as ie } from "./popover/index.js";
30
- import ae from "./collapse/index.js";
31
- import oe, { InputGroupAddon as se, InputGroupInput as ce } from "./input-group/index.js";
32
- import { useVirtualList as le } from "./utils/useVirtualList.js";
33
- import ue, { ComboboxCreate as de, ComboboxEmpty as fe, ComboboxItem as pe, ComboboxList as me, ComboboxPopup as he, ComboboxSearch as ge, ComboboxTrigger as _e } from "./combobox/index.js";
34
- import ve, { useToast as ye, useToastHost as be } from "./toast/index.js";
35
- import xe, { DialogClose as Se, DialogFooter as Ce, useModal as we } from "./dialog/index.js";
36
- import Te from "./confirm-dialog/index.js";
37
- import Ee from "./editable-cell/index.js";
38
- import De, { DisclosureContent as Oe, DisclosureTrigger as ke } from "./disclosure/index.js";
39
- import Ae from "./header/index.js";
40
- import je from "./inset/index.js";
41
- import Me from "./meter/index.js";
42
- import { addMonths as Ne, currentMonth as Pe, formatMonth as Fe, fromMonthIndex as Ie, isMonth as Le, monthIndex as Re, monthNames as ze, monthRange as Be, monthsBetween as Ve } from "./utils/month.js";
43
- import He from "./month-picker/index.js";
44
- import Ue from "./checkbox/index.js";
45
- import { paletteColor as We } from "./chart/palette.js";
46
- import { ChartTooltipCard as Ge } from "./chart/tooltip.js";
47
- import Ke from "./chart/allocation.js";
48
- import qe from "./chart/donut.js";
49
- import Je, { ChartArea as Ye, ChartBar as Xe, ChartLine as Ze, ChartReference as Qe, niceTicks as $e } from "./chart/index.js";
50
- import et, { Radio as tt } from "./radio-group/index.js";
51
- import { addDays as nt, addMonthsToDate as rt, commonRanges as it, dayIndex as at, dayOfWeek as ot, daysBetween as st, daysInMonth as ct, formatDate as lt, formatDateRange as ut, fromDayIndex as dt, isDate as ft, today as pt, weekStart as mt, weekdayNames as ht } from "./utils/date.js";
52
- import gt from "./calendar/index.js";
53
- import _t, { DateRangePicker as vt } from "./date-picker/index.js";
54
- import { RateUnavailableError as yt, convertMinor as bt, isRateTable as xt, rateBetween as St } from "./utils/fx.js";
55
- import Ct, { MoneyConversionHint as wt, MoneyCurrencyMenu as Tt, useMoneyInput as Et } from "./money-input/index.js";
56
- import Dt, { RadioCard as Ot } from "./radio-cards/index.js";
57
- import kt, { Pill as At, PillIndicator as jt } from "./pills/index.js";
58
- import Mt from "./page-header/index.js";
59
- import Nt from "./progress-ring/index.js";
60
- import Pt, { SegmentedItem as Ft } from "./segmented/index.js";
61
- import It, { SelectGroup as Lt, SelectItem as Rt, SelectSeparator as zt } from "./select/index.js";
62
- import Bt, { SideNavGroup as Vt, SideNavLink as Ht } from "./side-nav/index.js";
63
- import Ut from "./skeleton/index.js";
64
- import Wt, { TabBarItem as Gt } from "./tab-bar/index.js";
65
- import { SelectionBar as Kt, TableSelectCell as qt, TableSelectHead as Jt, useSelection as Yt } from "./table/selection.js";
66
- import { TableSwipeAction as Xt, TableSwipeRow as Zt } from "./table/swipe.js";
67
- import Qt, { TableBody as $t, TableCell as en, TableContainer as tn, TableEmpty as nn, TableFooter as rn, TableFooterCell as an, TableHead as on, TableHeader as sn, TableRow as cn, TableSpacerRow as ln, useSort as un } from "./table/index.js";
68
- import { followSectionLink as dn } from "./utils/section-link.js";
69
- import fn from "./table-of-contents/index.js";
70
- import pn, { Tab as mn, TabList as hn, TabPanel as gn } from "./tabs/index.js";
71
- import { TreeCell as _n, TreeLabel as vn, TreeRow as yn, TreeToggle as bn, useTree as xn } from "./tree/index.js";
72
- import Sn from "./textarea/index.js";
73
- import Cn from "./toggle/index.js";
74
- import wn, { TooltipContent as Tn, TooltipTrigger as En } from "./tooltip/index.js";
75
- import { DEFAULT_THEME as Dn, INTENSITIES as On, PRESETS as kn, applyPreset as An, applyTheme as jn, contrastRatio as Mn, customize as Nn, normalizeTheme as Pn, oklchToLinearRgb as Fn, resetTheme as In, themeVars as Ln } from "./utils/theme.js";
76
- import { prepareThemeWave as Rn, themeWave as zn } from "./utils/theme-wave.js";
77
- import Bn, { ThemeScript as Vn, themeScript as Hn } from "./theme-toggle/index.js";
78
- import { useHydrated as Un } from "./utils/useHydrated.js";
79
- import Wn, { Breadcrumb as Gn } from "./breadcrumbs/index.js";
80
- import Kn from "./code-input/index.js";
81
- import qn, { useCommandPaletteShortcut as Jn } from "./command-palette/index.js";
82
- import Yn from "./empty-state/index.js";
83
- import Xn, { accepts as Zn } from "./file-drop/index.js";
84
- import Qn, { pageRange as $n } from "./pagination/index.js";
85
- import er from "./sparkline/index.js";
86
- import tr, { Step as nr } from "./stepper/index.js";
87
- import rr from "./tag-input/index.js";
88
- import ir, { TimelineItem as ar } from "./timeline/index.js";
89
- import or from "./kbd/index.js";
90
- import sr from "./range-slider/index.js";
91
- import cr, { FilterChip as lr } from "./filter-bar/index.js";
92
- import ur from "./keypad/index.js";
93
- import dr from "./calendar-heatmap/index.js";
94
- import fr from "./trend/index.js";
95
- import pr, { ICON_COLORS as mr } from "./icon-picker/index.js";
96
- import { describeRepeat as hr, nextOccurrences as gr } from "./utils/repeat.js";
97
- import _r from "./repeat-picker/index.js";
98
- import vr from "./load-more/index.js";
99
- import { SortableHandle as yr, SortableItem as br, SortableList as xr } from "./sortable/index.js";
100
- import Sr from "./page-transition/index.js";
101
- export { H as Alert, Ke as AllocationBar, b as AnimatedMoney, y as AnimatedNumber, x as Avatar, w as Backdrop, E as Badge, Gn as Breadcrumb, Wn as Breadcrumbs, A as Button, gt as Calendar, dr as CalendarHeatmap, R as Canvas, z as CanvasItem, M as Card, N as CardDescription, P as CardHeader, F as CardTitle, Je as Chart, Ye as ChartArea, Xe as ChartBar, Ze as ChartLine, Qe as ChartReference, Ge as ChartTooltipCard, Ue as Checkbox, ee as Chip, V as CodeBlock, Kn as CodeInput, ae as Collapse, $ as ColorPanel, Q as ColorPicker, ue as Combobox, de as ComboboxCreate, fe as ComboboxEmpty, pe as ComboboxItem, me as ComboboxList, he as ComboboxPopup, ge as ComboboxSearch, _e as ComboboxTrigger, qn as CommandPalette, Te as ConfirmDialog, Dn as DEFAULT_THEME, _t as DatePicker, vt as DateRangePicker, xe as Dialog, Se as DialogClose, Ce as DialogFooter, De as Disclosure, Oe as DisclosureContent, ke as DisclosureTrigger, qe as DonutChart, Ee as EditableCell, Yn as EmptyState, U as Field, Z as FieldChevron, Xn as FileDrop, cr as FilterBar, lr as FilterChip, W as FormMessage, Ae as Header, mr as ICON_COLORS, On as INTENSITIES, pr as IconPicker, S as ImageCropError, q as Input, oe as InputGroup, se as InputGroupAddon, ce as InputGroupInput, je as Inset, or as Kbd, ur as Keypad, vr as LoadMore, i as Menu, a as MenuContent, o as MenuContextTrigger, s as MenuHeader, c as MenuItem, l as MenuSeparator, u as MenuTrigger, Me as Meter, wt as MoneyConversionHint, Tt as MoneyCurrencyMenu, Ct as MoneyInput, d as MoneyParseError, He as MonthPicker, kn as PRESETS, Mt as PageHeader, Sr as PageTransition, Qn as Pagination, At as Pill, jt as PillIndicator, kt as Pills, te as Popover, ne as PopoverClose, re as PopoverContent, ie as PopoverTrigger, Nt as ProgressRing, tt as Radio, Ot as RadioCard, Dt as RadioCards, et as RadioGroup, sr as RangeSlider, yt as RateUnavailableError, _r as RepeatPicker, Pt as Segmented, Ft as SegmentedItem, It as Select, Lt as SelectGroup, Rt as SelectItem, zt as SelectSeparator, Kt as SelectionBar, Bt as SideNav, Vt as SideNavGroup, Ht as SideNavLink, Ut as Skeleton, J as Slider, yr as SortableHandle, br as SortableItem, xr as SortableList, er as Sparkline, k as Spinner, I as Stat, L as StatRow, D as StatusPill, O as StatusPillAction, nr as Step, tr as Stepper, mn as Tab, Wt as TabBar, Gt as TabBarItem, hn as TabList, gn as TabPanel, Qt as Table, $t as TableBody, en as TableCell, tn as TableContainer, nn as TableEmpty, rn as TableFooter, an as TableFooterCell, on as TableHead, sn as TableHeader, fn as TableOfContents, cn as TableRow, qt as TableSelectCell, Jt as TableSelectHead, ln as TableSpacerRow, Xt as TableSwipeAction, Zt as TableSwipeRow, pn as Tabs, rr as TagInput, Sn as TextArea, Vn as ThemeScript, Bn as ThemeToggle, ir as Timeline, ar as TimelineItem, ve as ToastProvider, Cn as Toggle, wn as Tooltip, Tn as TooltipContent, En as TooltipTrigger, _n as TreeCell, vn as TreeLabel, yn as TreeRow, bn as TreeToggle, fr as Trend, Zn as accepts, nt as addDays, Ne as addMonths, rt as addMonthsToDate, t as applyGraphicsMode, An as applyPreset, jn as applyTheme, j as buttonVariants, it as commonRanges, Mn as contrastRatio, bt as convertMinor, C as cropImageToSquare, f as currencySymbol, Pe as currentMonth, Nn as customize, T as cva, e as cx, at as dayIndex, ot as dayOfWeek, st as daysBetween, ct as daysInMonth, hr as describeRepeat, n as detectGraphicsMode, dn as followSectionLink, p as formatAmount, lt as formatDate, ut as formatDateRange, m as formatMoney, Fe as formatMonth, dt as fromDayIndex, Ie as fromMonthIndex, Y as hexToOklch, ft as isDate, Le as isMonth, xt as isRateTable, h as minorDigits, Re as monthIndex, ze as monthNames, Be as monthRange, Ve as monthsBetween, gr as nextOccurrences, $e as niceTicks, Pn as normalizeTheme, X as oklchToHex, Fn as oklchToLinearRgb, $n as pageRange, We as paletteColor, g as parseMoney, _ as parseMoneyInput, Rn as prepareThemeWave, St as rateBetween, v as reducedMotion, In as resetTheme, Hn as themeScript, Ln as themeVars, zn as themeWave, pt as today, r as useAnchoredPopup, Jn as useCommandPaletteShortcut, B as useCopyToClipboard, G as useField, K as useFieldProps, Un as useHydrated, we as useModal, Et as useMoneyInput, Yt as useSelection, un as useSort, ye as useToast, be as useToastHost, xn as useTree, le as useVirtualList, mt as weekStart, ht as weekdayNames };
5
+ import i, { MenuCheckboxItem as a, MenuContent as o, MenuContextTrigger as s, MenuHeader as c, MenuItem as l, MenuRadioGroup as u, MenuRadioItem as d, MenuSeparator as f, MenuSub as p, MenuSubContent as m, MenuSubTrigger as h, MenuTrigger as g, Menubar as _ } from "./menu/index.js";
6
+ import { ENGLISH as v } from "./utils/messages.js";
7
+ import y, { useLocale as b, useMessages as x } from "./locale-provider/index.js";
8
+ import { MoneyParseError as S, currencySymbol as C, formatAmount as w, formatMoney as T, minorDigits as E, parseMoney as D, parseMoneyInput as O } from "./utils/money.js";
9
+ import { reducedMotion as k } from "./utils/motion.js";
10
+ import A, { AnimatedMoney as j } from "./animated-number/index.js";
11
+ import M, { ImageCropError as N, cropImageToSquare as P } from "./avatar/index.js";
12
+ import F from "./backdrop/index.js";
13
+ import { cva as I } from "./utils/cva.js";
14
+ import L from "./badge/index.js";
15
+ import R, { StatusPillAction as z } from "./status-pill/index.js";
16
+ import B from "./spinner/index.js";
17
+ import V, { buttonVariants as H } from "./button/index.js";
18
+ import U, { CardDescription as W, CardHeader as G, CardTitle as K, Stat as q, StatRow as J } from "./card/index.js";
19
+ import { Canvas as Y, CanvasItem as X } from "./canvas/index.js";
20
+ import { useCopyToClipboard as Z } from "./utils/useCopyToClipboard.js";
21
+ import Q from "./code-block/index.js";
22
+ import $ from "./alert/index.js";
23
+ import ee, { FormMessage as te, useField as ne, useFieldProps as re } from "./field/index.js";
24
+ import ie from "./input/index.js";
25
+ import ae from "./slider/index.js";
26
+ import { hexToOklch as oe, oklchToHex as se } from "./utils/color.js";
27
+ import { FieldChevron as ce } from "./utils/field-chevron.js";
28
+ import le, { ColorPanel as ue } from "./color-picker/index.js";
29
+ import de from "./chip/index.js";
30
+ import fe, { PopoverClose as pe, PopoverContent as me, PopoverTrigger as he } from "./popover/index.js";
31
+ import ge from "./collapse/index.js";
32
+ import _e, { InputGroupAddon as ve, InputGroupInput as ye } from "./input-group/index.js";
33
+ import { useVirtualList as be } from "./utils/useVirtualList.js";
34
+ import xe, { ComboboxCreate as Se, ComboboxEmpty as Ce, ComboboxItem as we, ComboboxList as Te, ComboboxPopup as Ee, ComboboxSearch as De, ComboboxTrigger as Oe } from "./combobox/index.js";
35
+ import ke, { useToast as Ae, useToastHost as je } from "./toast/index.js";
36
+ import Me, { DialogClose as Ne, DialogFooter as Pe, useModal as Fe } from "./dialog/index.js";
37
+ import Ie from "./confirm-dialog/index.js";
38
+ import Le from "./editable-cell/index.js";
39
+ import Re, { DisclosureContent as ze, DisclosureTrigger as Be, useDisclosure as Ve } from "./disclosure/index.js";
40
+ import He from "./header/index.js";
41
+ import Ue, { AccordionContent as We, AccordionItem as Ge, AccordionTrigger as Ke } from "./accordion/index.js";
42
+ import qe from "./inset/index.js";
43
+ import Je from "./meter/index.js";
44
+ import { addMonths as Ye, currentMonth as Xe, formatMonth as Ze, fromMonthIndex as Qe, isMonth as $e, monthIndex as et, monthNames as tt, monthRange as nt, monthsBetween as rt } from "./utils/month.js";
45
+ import it from "./month-picker/index.js";
46
+ import at from "./checkbox/index.js";
47
+ import { paletteColor as ot } from "./chart/palette.js";
48
+ import { ChartTooltipCard as st } from "./chart/tooltip.js";
49
+ import ct from "./chart/allocation.js";
50
+ import lt from "./chart/donut.js";
51
+ import ut, { ChartArea as dt, ChartBar as ft, ChartLine as pt, ChartReference as mt, niceTicks as ht } from "./chart/index.js";
52
+ import gt, { Radio as _t } from "./radio-group/index.js";
53
+ import { addDays as vt, addMonthsToDate as yt, commonRanges as bt, dayIndex as xt, dayOfWeek as St, daysBetween as Ct, daysInMonth as wt, formatDate as Tt, formatDateRange as Et, fromDayIndex as Dt, isDate as Ot, today as kt, weekStart as At, weekdayNames as jt } from "./utils/date.js";
54
+ import { useHydrated as Mt } from "./utils/useHydrated.js";
55
+ import Nt from "./calendar/index.js";
56
+ import Pt, { DateRangePicker as Ft } from "./date-picker/index.js";
57
+ import { RateUnavailableError as It, convertMinor as Lt, isRateTable as Rt, rateBetween as zt } from "./utils/fx.js";
58
+ import Bt, { MoneyConversionHint as Vt, MoneyCurrencyMenu as Ht, useMoneyInput as Ut } from "./money-input/index.js";
59
+ import Wt, { RadioCard as Gt } from "./radio-cards/index.js";
60
+ import Kt, { Pill as qt, PillIndicator as Jt } from "./pills/index.js";
61
+ import Yt from "./page-header/index.js";
62
+ import Xt from "./progress-ring/index.js";
63
+ import Zt, { SegmentedItem as Qt } from "./segmented/index.js";
64
+ import $t, { SelectGroup as en, SelectItem as tn, SelectSeparator as nn } from "./select/index.js";
65
+ import rn, { SideNavGroup as an, SideNavLink as on } from "./side-nav/index.js";
66
+ import sn from "./skeleton/index.js";
67
+ import cn, { TabBarItem as ln } from "./tab-bar/index.js";
68
+ import { SelectionBar as un, TableSelectCell as dn, TableSelectHead as fn, useSelection as pn } from "./table/selection.js";
69
+ import { TableSwipeAction as mn, TableSwipeRow as hn } from "./table/swipe.js";
70
+ import gn, { TableBody as _n, TableCell as vn, TableContainer as yn, TableEmpty as bn, TableFooter as xn, TableFooterCell as Sn, TableHead as Cn, TableHeader as wn, TableRow as Tn, TableSpacerRow as En, useSort as Dn } from "./table/index.js";
71
+ import { followSectionLink as On } from "./utils/section-link.js";
72
+ import kn from "./table-of-contents/index.js";
73
+ import An, { Tab as jn, TabList as Mn, TabPanel as Nn } from "./tabs/index.js";
74
+ import { TreeCell as Pn, TreeLabel as Fn, TreeRow as In, TreeToggle as Ln, useTree as Rn } from "./tree/index.js";
75
+ import zn from "./textarea/index.js";
76
+ import Bn from "./toggle/index.js";
77
+ import Vn, { TooltipContent as Hn, TooltipTrigger as Un } from "./tooltip/index.js";
78
+ import { DEFAULT_THEME as Wn, INTENSITIES as Gn, PRESETS as Kn, applyPreset as qn, applyTheme as Jn, contrastRatio as Yn, customize as Xn, normalizeTheme as Zn, oklchToLinearRgb as Qn, resetTheme as $n, themeVars as er } from "./utils/theme.js";
79
+ import { prepareThemeWave as tr, themeWave as nr } from "./utils/theme-wave.js";
80
+ import rr, { ThemeScript as ir, themeScript as ar } from "./theme-toggle/index.js";
81
+ import or, { Breadcrumb as sr } from "./breadcrumbs/index.js";
82
+ import cr from "./code-input/index.js";
83
+ import lr, { useCommandPaletteShortcut as ur } from "./command-palette/index.js";
84
+ import dr from "./empty-state/index.js";
85
+ import fr, { accepts as pr } from "./file-drop/index.js";
86
+ import mr, { pageRange as hr } from "./pagination/index.js";
87
+ import gr from "./sparkline/index.js";
88
+ import _r, { Step as vr } from "./stepper/index.js";
89
+ import yr from "./tag-input/index.js";
90
+ import br, { TimelineItem as xr } from "./timeline/index.js";
91
+ import Sr from "./kbd/index.js";
92
+ import Cr from "./range-slider/index.js";
93
+ import wr, { FilterChip as Tr } from "./filter-bar/index.js";
94
+ import Er from "./keypad/index.js";
95
+ import Dr from "./calendar-heatmap/index.js";
96
+ import Or from "./trend/index.js";
97
+ import kr, { ICON_COLORS as Ar } from "./icon-picker/index.js";
98
+ import { describeRepeat as jr, nextOccurrences as Mr } from "./utils/repeat.js";
99
+ import Nr from "./repeat-picker/index.js";
100
+ import Pr from "./load-more/index.js";
101
+ import { SortableHandle as Fr, SortableItem as Ir } from "./sortable/shared.js";
102
+ import { flattenTree as Lr } from "./sortable/tree-model.js";
103
+ import Rr from "./sortable/tree.js";
104
+ import { SortableList as zr } from "./sortable/index.js";
105
+ import Br from "./page-transition/index.js";
106
+ import Vr from "./separator/index.js";
107
+ import Hr, { ToolbarSeparator as Ur, useInToolbar as Wr, useToolbarOrientation as Gr } from "./toolbar/index.js";
108
+ import Kr, { ToggleGroupItem as qr } from "./toggle-group/index.js";
109
+ import Jr from "./button-group/index.js";
110
+ import Yr, { HoverCardContent as Xr, HoverCardTrigger as Zr } from "./hover-card/index.js";
111
+ import Qr from "./number-field/index.js";
112
+ import $r from "./time-field/index.js";
113
+ import ei, { CarouselContent as ti, CarouselControls as ni, CarouselDots as ri, CarouselItem as ii, CarouselNext as ai, CarouselPrevious as oi } from "./carousel/index.js";
114
+ import si, { ResizableHandle as ci, ResizablePanel as li } from "./resizable/index.js";
115
+ import ui, { NavigationMenuContent as di, NavigationMenuItem as fi, NavigationMenuLink as pi, NavigationMenuTrigger as mi } from "./navigation-menu/index.js";
116
+ export { Ue as Accordion, We as AccordionContent, Ge as AccordionItem, Ke as AccordionTrigger, $ as Alert, ct as AllocationBar, j as AnimatedMoney, A as AnimatedNumber, M as Avatar, F as Backdrop, L as Badge, sr as Breadcrumb, or as Breadcrumbs, V as Button, Jr as ButtonGroup, Nt as Calendar, Dr as CalendarHeatmap, Y as Canvas, X as CanvasItem, U as Card, W as CardDescription, G as CardHeader, K as CardTitle, ei as Carousel, ti as CarouselContent, ni as CarouselControls, ri as CarouselDots, ii as CarouselItem, ai as CarouselNext, oi as CarouselPrevious, ut as Chart, dt as ChartArea, ft as ChartBar, pt as ChartLine, mt as ChartReference, st as ChartTooltipCard, at as Checkbox, de as Chip, Q as CodeBlock, cr as CodeInput, ge as Collapse, ue as ColorPanel, le as ColorPicker, xe as Combobox, Se as ComboboxCreate, Ce as ComboboxEmpty, we as ComboboxItem, Te as ComboboxList, Ee as ComboboxPopup, De as ComboboxSearch, Oe as ComboboxTrigger, lr as CommandPalette, Ie as ConfirmDialog, Wn as DEFAULT_THEME, Pt as DatePicker, Ft as DateRangePicker, Me as Dialog, Ne as DialogClose, Pe as DialogFooter, Re as Disclosure, ze as DisclosureContent, Be as DisclosureTrigger, lt as DonutChart, v as ENGLISH, Le as EditableCell, dr as EmptyState, ee as Field, ce as FieldChevron, fr as FileDrop, wr as FilterBar, Tr as FilterChip, te as FormMessage, He as Header, Yr as HoverCard, Xr as HoverCardContent, Zr as HoverCardTrigger, Ar as ICON_COLORS, Gn as INTENSITIES, kr as IconPicker, N as ImageCropError, ie as Input, _e as InputGroup, ve as InputGroupAddon, ye as InputGroupInput, qe as Inset, Sr as Kbd, Er as Keypad, Pr as LoadMore, y as LocaleProvider, i as Menu, a as MenuCheckboxItem, o as MenuContent, s as MenuContextTrigger, c as MenuHeader, l as MenuItem, u as MenuRadioGroup, d as MenuRadioItem, f as MenuSeparator, p as MenuSub, m as MenuSubContent, h as MenuSubTrigger, g as MenuTrigger, _ as Menubar, Je as Meter, Vt as MoneyConversionHint, Ht as MoneyCurrencyMenu, Bt as MoneyInput, S as MoneyParseError, it as MonthPicker, ui as NavigationMenu, di as NavigationMenuContent, fi as NavigationMenuItem, pi as NavigationMenuLink, mi as NavigationMenuTrigger, Qr as NumberField, Kn as PRESETS, Yt as PageHeader, Br as PageTransition, mr as Pagination, qt as Pill, Jt as PillIndicator, Kt as Pills, fe as Popover, pe as PopoverClose, me as PopoverContent, he as PopoverTrigger, Xt as ProgressRing, _t as Radio, Gt as RadioCard, Wt as RadioCards, gt as RadioGroup, Cr as RangeSlider, It as RateUnavailableError, Nr as RepeatPicker, ci as ResizableHandle, li as ResizablePanel, si as ResizablePanelGroup, Zt as Segmented, Qt as SegmentedItem, $t as Select, en as SelectGroup, tn as SelectItem, nn as SelectSeparator, un as SelectionBar, Vr as Separator, rn as SideNav, an as SideNavGroup, on as SideNavLink, sn as Skeleton, ae as Slider, Fr as SortableHandle, Ir as SortableItem, zr as SortableList, Rr as SortableTree, gr as Sparkline, B as Spinner, q as Stat, J as StatRow, R as StatusPill, z as StatusPillAction, vr as Step, _r as Stepper, jn as Tab, cn as TabBar, ln as TabBarItem, Mn as TabList, Nn as TabPanel, gn as Table, _n as TableBody, vn as TableCell, yn as TableContainer, bn as TableEmpty, xn as TableFooter, Sn as TableFooterCell, Cn as TableHead, wn as TableHeader, kn as TableOfContents, Tn as TableRow, dn as TableSelectCell, fn as TableSelectHead, En as TableSpacerRow, mn as TableSwipeAction, hn as TableSwipeRow, An as Tabs, yr as TagInput, zn as TextArea, ir as ThemeScript, rr as ThemeToggle, $r as TimeField, br as Timeline, xr as TimelineItem, ke as ToastProvider, Bn as Toggle, Kr as ToggleGroup, qr as ToggleGroupItem, Hr as Toolbar, Ur as ToolbarSeparator, Vn as Tooltip, Hn as TooltipContent, Un as TooltipTrigger, Pn as TreeCell, Fn as TreeLabel, In as TreeRow, Ln as TreeToggle, Or as Trend, pr as accepts, vt as addDays, Ye as addMonths, yt as addMonthsToDate, t as applyGraphicsMode, qn as applyPreset, Jn as applyTheme, H as buttonVariants, bt as commonRanges, Yn as contrastRatio, Lt as convertMinor, P as cropImageToSquare, C as currencySymbol, Xe as currentMonth, Xn as customize, I as cva, e as cx, xt as dayIndex, St as dayOfWeek, Ct as daysBetween, wt as daysInMonth, jr as describeRepeat, n as detectGraphicsMode, Lr as flattenTree, On as followSectionLink, w as formatAmount, Tt as formatDate, Et as formatDateRange, T as formatMoney, Ze as formatMonth, Dt as fromDayIndex, Qe as fromMonthIndex, oe as hexToOklch, Ot as isDate, $e as isMonth, Rt as isRateTable, E as minorDigits, et as monthIndex, tt as monthNames, nt as monthRange, rt as monthsBetween, Mr as nextOccurrences, ht as niceTicks, Zn as normalizeTheme, se as oklchToHex, Qn as oklchToLinearRgb, hr as pageRange, ot as paletteColor, D as parseMoney, O as parseMoneyInput, tr as prepareThemeWave, zt as rateBetween, k as reducedMotion, $n as resetTheme, ar as themeScript, er as themeVars, nr as themeWave, kt as today, r as useAnchoredPopup, ur as useCommandPaletteShortcut, Z as useCopyToClipboard, Ve as useDisclosure, ne as useField, re as useFieldProps, Mt as useHydrated, Wr as useInToolbar, b as useLocale, x as useMessages, Fe as useModal, Ut as useMoneyInput, pn as useSelection, Dn as useSort, Ae as useToast, je as useToastHost, Gr as useToolbarOrientation, Rn as useTree, be as useVirtualList, At as weekStart, jt as weekdayNames };
@@ -1,11 +1,13 @@
1
+ import { ComponentProps } from 'react';
1
2
  /**
2
3
  * The end of a long list that has more: a "Load more" button, which also
3
4
  * presses itself when it scrolls into view (`auto`, default). While `loading`
4
5
  * it shows a spinner and won't ask again; once there's nothing left
5
6
  * (`hasMore` false) it's gone. Put it after the list, or in a table's last row.
6
7
  */
7
- export default function LoadMore({ onLoadMore, hasMore, loading, auto, label, loadingLabel, className, }: LoadMoreProps): import('react').JSX.Element | null;
8
- export interface LoadMoreProps {
8
+ export default function LoadMore({ onLoadMore, hasMore, loading, auto, label: labelProp, loadingLabel: loadingLabelProp, className, ref: refProp, ...rest }: LoadMoreProps): import('react').JSX.Element | null;
9
+ /** Other props (data-*, an id) go on the row around the button. */
10
+ export interface LoadMoreProps extends Omit<ComponentProps<'div'>, 'children'> {
9
11
  onLoadMore: () => void;
10
12
  hasMore: boolean;
11
13
  /** While true, it shows a spinner and won't ask for more. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/load-more/index.tsx"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC7B,UAAU,EACV,OAAO,EACP,OAAe,EACf,IAAW,EACX,KAAmB,EACnB,YAA8B,EAC9B,SAAS,GACZ,EAAE,aAAa,sCAmCf;AAED,MAAM,WAAW,aAAa;IAC1B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,6DAA6D;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/load-more/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAqB,MAAM,OAAO,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC7B,UAAU,EACV,OAAO,EACP,OAAe,EACf,IAAW,EACX,KAAK,EAAE,SAAS,EAChB,YAAY,EAAE,gBAAgB,EAC9B,SAAS,EACT,GAAG,EAAE,OAAO,EACZ,GAAG,IAAI,EACV,EAAE,aAAa,sCAuCf;AAED,mEAAmE;AACnE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC1E,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,6DAA6D;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -1,37 +1,40 @@
1
1
  "use client";
2
2
  import { cx as e } from "../utils/cx.js";
3
- import t from "../spinner/index.js";
4
- import n from "../button/index.js";
5
- import { useEffect as r, useRef as i } from "react";
6
- import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
3
+ import { useMergedRefs as t } from "../utils/refs.js";
4
+ import { useMessages as n } from "../locale-provider/index.js";
5
+ import r from "../spinner/index.js";
6
+ import i from "../button/index.js";
7
+ import { useEffect as a, useRef as o } from "react";
8
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
7
9
  //#region packages/load-more/index.tsx
8
- function c({ onLoadMore: c, hasMore: l, loading: u = !1, auto: d = !0, label: f = "Load more", loadingLabel: p = "Loading more…", className: m }) {
9
- let h = i(null), g = i(c);
10
- return r(() => {
11
- g.current = c;
12
- }), r(() => {
13
- let e = h.current;
14
- if (!d || !l || u || !e || typeof IntersectionObserver > "u") return;
10
+ function u({ onLoadMore: u, hasMore: d, loading: f = !1, auto: p = !0, label: m, loadingLabel: h, className: g, ref: _, ...v }) {
11
+ let y = n(), b = m ?? y.loadMore, x = h ?? y.loadingMore, S = o(null), C = t(S, _), w = o(u);
12
+ return a(() => {
13
+ w.current = u;
14
+ }), a(() => {
15
+ let e = S.current;
16
+ if (!p || !d || f || !e || typeof IntersectionObserver > "u") return;
15
17
  let t = new IntersectionObserver((e) => {
16
- e.some((e) => e.isIntersecting) && (t.disconnect(), g.current());
18
+ e.some((e) => e.isIntersecting) && (t.disconnect(), w.current());
17
19
  });
18
20
  return t.observe(e), () => t.disconnect();
19
21
  }, [
22
+ p,
20
23
  d,
21
- l,
22
- u
23
- ]), l ? /* @__PURE__ */ o("div", {
24
- ref: h,
25
- className: e("zen__load-more flex justify-center py-3", m),
26
- children: /* @__PURE__ */ o(n, {
24
+ f
25
+ ]), d ? /* @__PURE__ */ c("div", {
26
+ ...v,
27
+ ref: C,
28
+ className: e("zen__load-more flex justify-center py-3", g),
29
+ children: /* @__PURE__ */ c(i, {
27
30
  variant: "ghost",
28
31
  size: "sm",
29
- "aria-busy": u,
30
- disabled: u,
31
- onClick: c,
32
- children: u ? /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o(t, { className: "size-3.5" }), p] }) : f
32
+ "aria-busy": f,
33
+ disabled: f,
34
+ onClick: u,
35
+ children: f ? /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c(r, { className: "size-3.5" }), x] }) : b
33
36
  })
34
37
  }) : null;
35
38
  }
36
39
  //#endregion
37
- export { c as default };
40
+ export { u as default };
@@ -0,0 +1,23 @@
1
+ import { Messages } from '../utils/messages';
2
+ import { ReactNode } from 'react';
3
+ /**
4
+ * The language for everything inside: `locale` formats dates, numbers and
5
+ * money and picks month and weekday names and the week's first day (a
6
+ * component's own `locale` prop still wins), and `messages` replaces any of the
7
+ * words components show or announce (see ENGLISH for them all; the rest stay
8
+ * English). Without it, components use "en-US" and English. Nest one to change
9
+ * part of the page.
10
+ */
11
+ export default function LocaleProvider({ locale, messages, children }: LocaleProviderProps): import('react').JSX.Element;
12
+ /** The locale from the nearest LocaleProvider ("en-US" without one), or `own` when given. */
13
+ export declare function useLocale(own?: string): string;
14
+ /** The words components use, from the nearest LocaleProvider (English without one). */
15
+ export declare function useMessages(): Messages;
16
+ export interface LocaleProviderProps {
17
+ /** e.g. "en-IN", "fr-FR". Defaults to the enclosing provider's, or "en-US". */
18
+ locale?: string;
19
+ /** Any of the words to replace; the others are kept. */
20
+ messages?: Partial<Messages>;
21
+ children: ReactNode;
22
+ }
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/locale-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAiB,SAAS,EAAuB,MAAM,OAAO,CAAC;AAStE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,mBAAmB,+BAUzF;AAED,6FAA6F;AAC7F,wBAAgB,SAAS,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAG9C;AAED,uFAAuF;AACvF,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAED,MAAM,WAAW,mBAAmB;IAChC,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC7B,QAAQ,EAAE,SAAS,CAAC;CACvB"}
@@ -0,0 +1,35 @@
1
+ "use client";
2
+ import { ENGLISH as e } from "../utils/messages.js";
3
+ import { createContext as t, useContext as n, useMemo as r } from "react";
4
+ import { jsx as i } from "react/jsx-runtime";
5
+ //#region packages/locale-provider/index.tsx
6
+ var a = t({
7
+ locale: "en-US",
8
+ messages: e
9
+ });
10
+ function o({ locale: e, messages: t, children: o }) {
11
+ let s = n(a), c = r(() => ({
12
+ locale: e ?? s.locale,
13
+ messages: t ? {
14
+ ...s.messages,
15
+ ...t
16
+ } : s.messages
17
+ }), [
18
+ e,
19
+ t,
20
+ s
21
+ ]);
22
+ return /* @__PURE__ */ i(a.Provider, {
23
+ value: c,
24
+ children: o
25
+ });
26
+ }
27
+ function s(e) {
28
+ let { locale: t } = n(a);
29
+ return e ?? t;
30
+ }
31
+ function c() {
32
+ return n(a).messages;
33
+ }
34
+ //#endregion
35
+ export { o as default, s as useLocale, c as useMessages };
@@ -9,16 +9,18 @@ import { ComponentProps, ReactNode } from 'react';
9
9
  */
10
10
  export default function Menu({ onOpenChange, children }: MenuProps): import('react').JSX.Element;
11
11
  /**
12
- * The button that opens the menu. Give it an `aria-label` when it shows only an
13
- * icon or avatar; the menu is named after it. With `asChild`, your own button instead.
12
+ * The button that opens the menu (↓ or ↑ opens it at its first or last item).
13
+ * Give it an `aria-label` when it shows only an icon or avatar; the menu is
14
+ * named after it. In a Menubar it's one of the bar's items, and looks it. With
15
+ * `asChild`, your own button instead.
14
16
  */
15
- export declare function MenuTrigger({ asChild, style, children, ...rest }: MenuTriggerProps): import('react').JSX.Element;
17
+ export declare function MenuTrigger({ asChild, style, onKeyDown, onPointerEnter, children, ...rest }: MenuTriggerProps): import('react').JSX.Element;
16
18
  /**
17
19
  * The menu panel: glass, below the button (above it if there's no room), lined
18
- * up with its end edge by default. A context menu opens from the pointer
20
+ * up with its end edge by default (its start edge in a Menubar). A context menu opens from the pointer
19
21
  * instead; name it with `aria-label`.
20
22
  */
21
- export declare function MenuContent({ align, offset, className, style, children, ...rest }: MenuContentProps): import('react').JSX.Element;
23
+ export declare function MenuContent({ align, offset, ref, className, style, children, ...rest }: MenuContentProps): import('react').JSX.Element;
22
24
  /**
23
25
  * What a context menu is for, e.g. a row or a card: right-click (or the
24
26
  * keyboard's menu key, or Shift+F10) opens the Menu where the pointer is, and
@@ -29,11 +31,38 @@ export declare function MenuContent({ align, offset, className, style, children,
29
31
  export declare function MenuContextTrigger({ asChild, disabled, className, onContextMenu, onPointerDown, onClickCapture, children, ...rest }: MenuContextTriggerProps): import('react').JSX.Element;
30
32
  /**
31
33
  * One choice in a Menu: closes the menu, then runs `onSelect`. An `icon` sits
32
- * before the label (muted, or red with the label when `destructive`). With
34
+ * before the label (muted, or red with the label when `tone` is negative). With
33
35
  * `asChild`, the item's role and styles go onto your own element instead, such
34
36
  * as a router's Link.
35
37
  */
36
- export declare function MenuItem({ icon, destructive, onSelect, asChild, className, children, onClick, ...rest }: MenuItemProps): import('react').JSX.Element;
38
+ export declare function MenuItem({ icon, tone, onSelect, asChild, className, children, onClick, ...rest }: MenuItemProps): import('react').JSX.Element;
39
+ /**
40
+ * A choice that's on or off, e.g. a column to show: choosing it flips
41
+ * `checked` and leaves the menu open, so several can be set at once. A tick
42
+ * shows while it's on.
43
+ */
44
+ export declare function MenuCheckboxItem({ checked: checkedProp, defaultChecked, onCheckedChange, className, children, onClick, ...rest }: MenuCheckboxItemProps): import('react').JSX.Element;
45
+ /** One choice out of several, e.g. how to sort: put MenuRadioItems inside. Choosing one leaves the menu open. */
46
+ export declare function MenuRadioGroup({ value: valueProp, defaultValue, onValueChange, ...rest }: MenuRadioGroupProps): import('react').JSX.Element;
47
+ /** One of a MenuRadioGroup's choices; a dot marks the chosen one. */
48
+ export declare function MenuRadioItem({ value, className, children, onClick, ...rest }: MenuRadioItemProps): import('react').JSX.Element;
49
+ /**
50
+ * A menu inside a menu, opening beside its item: on hover, or with Enter,
51
+ * Space or the arrow towards it; the arrow back (or Escape) closes it. Put a
52
+ * MenuSubTrigger and a MenuSubContent inside, in a MenuContent.
53
+ */
54
+ export declare function MenuSub({ onOpenChange, children }: MenuProps): import('react').JSX.Element;
55
+ /** The item a submenu opens from; a chevron after its label points the way. */
56
+ export declare function MenuSubTrigger({ icon, ref, className, children, onClick, onKeyDown, onPointerEnter, onPointerLeave, style, ...rest }: MenuSubTriggerProps): import('react').JSX.Element;
57
+ /** The submenu's panel, beside its item (on the other side if there's no room), its first item level with it. */
58
+ export declare function MenuSubContent({ offset, ref, className, style, onKeyDown, onPointerEnter, onPointerLeave, children, ...rest }: MenuSubContentProps): import('react').JSX.Element;
59
+ /**
60
+ * A row of menus, as at the top of an app (File, Edit, View): put a Menu for
61
+ * each inside, its MenuTrigger a label. One Tab stop: ←→ move between the
62
+ * menus, ↓ or Enter opens one; while one is open, ←→ open the one beside it
63
+ * and pointing at another switches to it. Name it with `aria-label`.
64
+ */
65
+ export declare function Menubar({ ref, className, onKeyDown, children, ...rest }: MenubarProps): import('react').JSX.Element;
37
66
  /** A hairline between groups of items. */
38
67
  export declare function MenuSeparator({ className }: {
39
68
  className?: string;
@@ -64,11 +93,35 @@ export interface MenuContentProps extends ComponentProps<'div'> {
64
93
  export interface MenuItemProps extends Omit<ComponentProps<'button'>, 'onSelect'> {
65
94
  /** Shown before the label; size it yourself (e.g. size-4). */
66
95
  icon?: ReactNode;
67
- /** Red, for actions that remove or leave something. */
68
- destructive?: boolean;
96
+ /** `negative` for a destructive choice: red. */
97
+ tone?: 'default' | 'negative';
69
98
  /** Runs after the menu closes. */
70
99
  onSelect?: () => void;
71
100
  /** Put the item's role and styles on the single child element (a link) instead of a button. */
72
101
  asChild?: boolean;
73
102
  }
103
+ export interface MenuCheckboxItemProps extends ComponentProps<'button'> {
104
+ /** On (ticked); give it to control the item, or `defaultChecked` to start it. */
105
+ checked?: boolean;
106
+ defaultChecked?: boolean;
107
+ onCheckedChange?: (checked: boolean) => void;
108
+ }
109
+ export interface MenuRadioGroupProps extends Omit<ComponentProps<'div'>, 'defaultValue'> {
110
+ /** The chosen item's `value`; give it to control the group, or `defaultValue` to start it. */
111
+ value?: string | null;
112
+ defaultValue?: string | null;
113
+ onValueChange?: (value: string) => void;
114
+ }
115
+ export interface MenuRadioItemProps extends Omit<ComponentProps<'button'>, 'value'> {
116
+ value: string;
117
+ }
118
+ export interface MenuSubTriggerProps extends ComponentProps<'button'> {
119
+ /** Shown before the label; size it yourself (e.g. size-4). */
120
+ icon?: ReactNode;
121
+ }
122
+ export interface MenuSubContentProps extends ComponentProps<'div'> {
123
+ /** Gap between the item and the submenu, in px (counting the menu's own padding). */
124
+ offset?: number;
125
+ }
126
+ export type MenubarProps = ComponentProps<'div'>;
74
127
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/menu/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,cAAc,EAKd,SAAS,EAO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