@godxjp/ui 16.9.2 → 16.9.3

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 (325) hide show
  1. package/dist/app/app-provider.d.ts +3 -3
  2. package/dist/app/app-provider.js +10 -10
  3. package/dist/app/date-format-labels.d.ts +2 -2
  4. package/dist/app/date-format-labels.js +2 -2
  5. package/dist/app/date-formats.d.ts +1 -1
  6. package/dist/app/date-formats.js +1 -1
  7. package/dist/app/index.d.ts +14 -14
  8. package/dist/app/index.js +14 -14
  9. package/dist/app/locales.d.ts +1 -1
  10. package/dist/app/request-headers.d.ts +1 -1
  11. package/dist/app/request-headers.js +1 -1
  12. package/dist/app/storage.d.ts +2 -2
  13. package/dist/app/storage.js +4 -4
  14. package/dist/app/theme-axes.d.ts +1 -1
  15. package/dist/app/time-format-labels.d.ts +2 -2
  16. package/dist/app/time-format-labels.js +2 -2
  17. package/dist/app/timezones.d.ts +1 -1
  18. package/dist/app/timezones.js +1 -1
  19. package/dist/app/types.d.ts +6 -6
  20. package/dist/app/types.js +2 -2
  21. package/dist/app/use-formatting.d.ts +4 -4
  22. package/dist/app/use-formatting.js +2 -2
  23. package/dist/components/admin/index.d.ts +24 -24
  24. package/dist/components/admin/index.js +21 -21
  25. package/dist/components/charts/area-chart.d.ts +2 -2
  26. package/dist/components/charts/area-chart.js +1 -1
  27. package/dist/components/charts/bar-chart.d.ts +2 -2
  28. package/dist/components/charts/bar-chart.js +1 -1
  29. package/dist/components/charts/chart-cartesian.d.ts +1 -1
  30. package/dist/components/charts/chart-cartesian.js +4 -4
  31. package/dist/components/charts/chart-frame.js +2 -2
  32. package/dist/components/charts/chart-summary.d.ts +1 -1
  33. package/dist/components/charts/index.d.ts +10 -10
  34. package/dist/components/charts/index.js +5 -5
  35. package/dist/components/charts/line-chart.d.ts +2 -2
  36. package/dist/components/charts/line-chart.js +1 -1
  37. package/dist/components/charts/pie-chart.d.ts +2 -2
  38. package/dist/components/charts/pie-chart.js +4 -4
  39. package/dist/components/data-display/accordion.d.ts +1 -1
  40. package/dist/components/data-display/accordion.js +1 -1
  41. package/dist/components/data-display/avatar.d.ts +1 -1
  42. package/dist/components/data-display/avatar.js +1 -1
  43. package/dist/components/data-display/badge.d.ts +1 -1
  44. package/dist/components/data-display/badge.js +3 -3
  45. package/dist/components/data-display/card.js +1 -1
  46. package/dist/components/data-display/carousel.js +2 -2
  47. package/dist/components/data-display/data-table.d.ts +1 -1
  48. package/dist/components/data-display/data-table.js +12 -12
  49. package/dist/components/data-display/descriptions.d.ts +1 -1
  50. package/dist/components/data-display/descriptions.js +1 -1
  51. package/dist/components/data-display/empty-state.d.ts +2 -2
  52. package/dist/components/data-display/empty-state.js +1 -1
  53. package/dist/components/data-display/hover-card.d.ts +1 -1
  54. package/dist/components/data-display/hover-card.js +1 -1
  55. package/dist/components/data-display/index.d.ts +26 -26
  56. package/dist/components/data-display/index.js +17 -17
  57. package/dist/components/data-display/list-row.js +2 -2
  58. package/dist/components/data-display/popover.js +1 -1
  59. package/dist/components/data-display/scroll-area.js +1 -1
  60. package/dist/components/data-display/table.js +2 -2
  61. package/dist/components/data-display/tree-list.js +1 -1
  62. package/dist/components/data-entry/calendar.d.ts +2 -2
  63. package/dist/components/data-entry/calendar.js +3 -3
  64. package/dist/components/data-entry/cascader.d.ts +3 -3
  65. package/dist/components/data-entry/cascader.js +8 -8
  66. package/dist/components/data-entry/checkbox-group.d.ts +2 -2
  67. package/dist/components/data-entry/checkbox-group.js +4 -4
  68. package/dist/components/data-entry/checkbox.d.ts +1 -1
  69. package/dist/components/data-entry/checkbox.js +2 -2
  70. package/dist/components/data-entry/choice-option.js +1 -1
  71. package/dist/components/data-entry/color-picker.d.ts +2 -2
  72. package/dist/components/data-entry/color-picker.js +4 -4
  73. package/dist/components/data-entry/command.js +2 -2
  74. package/dist/components/data-entry/date-picker.d.ts +2 -2
  75. package/dist/components/data-entry/date-picker.js +7 -7
  76. package/dist/components/data-entry/date-range-picker.d.ts +2 -2
  77. package/dist/components/data-entry/date-range-picker.js +6 -6
  78. package/dist/components/data-entry/field.d.ts +2 -2
  79. package/dist/components/data-entry/field.js +2 -2
  80. package/dist/components/data-entry/form-field.d.ts +2 -2
  81. package/dist/components/data-entry/form-field.js +3 -3
  82. package/dist/components/data-entry/form.d.ts +5 -5
  83. package/dist/components/data-entry/form.js +2 -2
  84. package/dist/components/data-entry/index.d.ts +59 -59
  85. package/dist/components/data-entry/index.js +33 -33
  86. package/dist/components/data-entry/input-otp.d.ts +1 -1
  87. package/dist/components/data-entry/input-otp.js +1 -1
  88. package/dist/components/data-entry/input.js +2 -2
  89. package/dist/components/data-entry/label.js +1 -1
  90. package/dist/components/data-entry/month-picker.d.ts +2 -2
  91. package/dist/components/data-entry/month-picker.js +5 -5
  92. package/dist/components/data-entry/month-range-picker.d.ts +2 -2
  93. package/dist/components/data-entry/month-range-picker.js +5 -5
  94. package/dist/components/data-entry/number-input.d.ts +2 -2
  95. package/dist/components/data-entry/number-input.js +4 -4
  96. package/dist/components/data-entry/password-input.d.ts +2 -2
  97. package/dist/components/data-entry/password-input.js +1 -1
  98. package/dist/components/data-entry/radio.d.ts +2 -2
  99. package/dist/components/data-entry/radio.js +3 -3
  100. package/dist/components/data-entry/rating.d.ts +2 -2
  101. package/dist/components/data-entry/rating.js +1 -1
  102. package/dist/components/data-entry/search-input.js +5 -5
  103. package/dist/components/data-entry/search-select.d.ts +2 -2
  104. package/dist/components/data-entry/search-select.js +7 -7
  105. package/dist/components/data-entry/select.d.ts +1 -1
  106. package/dist/components/data-entry/select.js +3 -3
  107. package/dist/components/data-entry/slider.d.ts +1 -1
  108. package/dist/components/data-entry/slider.js +1 -1
  109. package/dist/components/data-entry/switch.d.ts +1 -1
  110. package/dist/components/data-entry/switch.js +1 -1
  111. package/dist/components/data-entry/tag-input.d.ts +2 -2
  112. package/dist/components/data-entry/tag-input.js +1 -1
  113. package/dist/components/data-entry/textarea.js +3 -3
  114. package/dist/components/data-entry/time-picker.d.ts +2 -2
  115. package/dist/components/data-entry/time-picker.js +5 -5
  116. package/dist/components/data-entry/toggle-group.d.ts +1 -1
  117. package/dist/components/data-entry/toggle-group.js +1 -1
  118. package/dist/components/data-entry/toggle.d.ts +2 -2
  119. package/dist/components/data-entry/toggle.js +1 -1
  120. package/dist/components/data-entry/transfer.d.ts +2 -2
  121. package/dist/components/data-entry/transfer.js +7 -7
  122. package/dist/components/data-entry/tree-select.d.ts +3 -3
  123. package/dist/components/data-entry/tree-select.js +11 -11
  124. package/dist/components/data-entry/upload-crop-dialog.js +5 -5
  125. package/dist/components/data-entry/upload.d.ts +5 -5
  126. package/dist/components/data-entry/upload.js +10 -10
  127. package/dist/components/data-entry/use-upload-draft.d.ts +1 -1
  128. package/dist/components/data-entry/use-upload-draft.js +1 -1
  129. package/dist/components/feedback/alert.d.ts +29 -29
  130. package/dist/components/feedback/alert.js +5 -5
  131. package/dist/components/feedback/dialog.d.ts +3 -3
  132. package/dist/components/feedback/dialog.js +7 -7
  133. package/dist/components/feedback/index.d.ts +10 -10
  134. package/dist/components/feedback/index.js +7 -7
  135. package/dist/components/feedback/overlay-header-tone.d.ts +1 -1
  136. package/dist/components/feedback/sheet.d.ts +1 -1
  137. package/dist/components/feedback/sheet.js +2 -2
  138. package/dist/components/feedback/skeleton.js +2 -2
  139. package/dist/components/feedback/tooltip.js +1 -1
  140. package/dist/components/general/button.d.ts +8 -8
  141. package/dist/components/general/button.js +4 -4
  142. package/dist/components/general/index.d.ts +4 -4
  143. package/dist/components/general/index.js +2 -2
  144. package/dist/components/general/typography.d.ts +9 -9
  145. package/dist/components/general/typography.js +1 -1
  146. package/dist/components/layout/app-shell.d.ts +2 -2
  147. package/dist/components/layout/app-shell.js +1 -1
  148. package/dist/components/layout/aspect-ratio.d.ts +1 -1
  149. package/dist/components/layout/aspect-ratio.js +1 -1
  150. package/dist/components/layout/breadcrumb.d.ts +1 -1
  151. package/dist/components/layout/breadcrumb.js +1 -1
  152. package/dist/components/layout/flex.d.ts +2 -2
  153. package/dist/components/layout/flex.js +2 -2
  154. package/dist/components/layout/index.d.ts +19 -19
  155. package/dist/components/layout/index.js +11 -11
  156. package/dist/components/layout/page-container.d.ts +3 -3
  157. package/dist/components/layout/page-container.js +2 -2
  158. package/dist/components/layout/resizable.js +1 -1
  159. package/dist/components/layout/responsive-grid.d.ts +1 -1
  160. package/dist/components/layout/separator.d.ts +1 -1
  161. package/dist/components/layout/separator.js +1 -1
  162. package/dist/components/layout/sidebar.d.ts +2 -2
  163. package/dist/components/layout/sidebar.js +5 -5
  164. package/dist/components/layout/topbar.d.ts +2 -2
  165. package/dist/components/layout/topbar.js +1 -1
  166. package/dist/components/navigation/app-setting-picker.d.ts +2 -2
  167. package/dist/components/navigation/app-setting-picker.js +9 -9
  168. package/dist/components/navigation/context-menu.js +1 -1
  169. package/dist/components/navigation/dropdown-menu.js +1 -1
  170. package/dist/components/navigation/filter-bar.d.ts +2 -2
  171. package/dist/components/navigation/filter-bar.js +3 -3
  172. package/dist/components/navigation/index.d.ts +12 -12
  173. package/dist/components/navigation/index.js +9 -9
  174. package/dist/components/navigation/menubar.js +1 -1
  175. package/dist/components/navigation/navigation-menu.js +1 -1
  176. package/dist/components/navigation/pagination.d.ts +2 -2
  177. package/dist/components/navigation/pagination.js +5 -5
  178. package/dist/components/navigation/steps.d.ts +2 -2
  179. package/dist/components/navigation/steps.js +3 -3
  180. package/dist/components/navigation/tabs.js +1 -1
  181. package/dist/components/query/data-state.d.ts +2 -2
  182. package/dist/components/query/data-state.js +1 -1
  183. package/dist/components/query/index.d.ts +10 -10
  184. package/dist/components/query/index.js +5 -5
  185. package/dist/components/query/infinite-query-state.d.ts +2 -2
  186. package/dist/components/query/infinite-query-state.js +3 -3
  187. package/dist/components/query/mutation-feedback.d.ts +2 -2
  188. package/dist/components/query/mutation-feedback.js +1 -1
  189. package/dist/components/query/prefetch-link.d.ts +2 -2
  190. package/dist/components/query/query-refetch-button.d.ts +2 -2
  191. package/dist/components/query/query-refetch-button.js +1 -1
  192. package/dist/components/ui/accordion.js +1 -1
  193. package/dist/components/ui/alert-dialog.d.ts +1 -1
  194. package/dist/components/ui/alert-dialog.js +1 -1
  195. package/dist/components/ui/alert.d.ts +1 -1
  196. package/dist/components/ui/alert.js +1 -1
  197. package/dist/components/ui/aspect-ratio.js +1 -1
  198. package/dist/components/ui/avatar.js +1 -1
  199. package/dist/components/ui/badge.d.ts +1 -1
  200. package/dist/components/ui/badge.js +1 -1
  201. package/dist/components/ui/button.d.ts +1 -1
  202. package/dist/components/ui/button.js +1 -1
  203. package/dist/components/ui/calendar.d.ts +1 -1
  204. package/dist/components/ui/calendar.js +1 -1
  205. package/dist/components/ui/card.d.ts +1 -1
  206. package/dist/components/ui/card.js +1 -1
  207. package/dist/components/ui/carousel.d.ts +1 -1
  208. package/dist/components/ui/carousel.js +1 -1
  209. package/dist/components/ui/checkbox.d.ts +1 -1
  210. package/dist/components/ui/checkbox.js +1 -1
  211. package/dist/components/ui/color-picker.d.ts +1 -1
  212. package/dist/components/ui/color-picker.js +1 -1
  213. package/dist/components/ui/command.d.ts +1 -1
  214. package/dist/components/ui/command.js +1 -1
  215. package/dist/components/ui/context-menu.d.ts +1 -1
  216. package/dist/components/ui/context-menu.js +1 -1
  217. package/dist/components/ui/date-picker.d.ts +1 -1
  218. package/dist/components/ui/date-picker.js +1 -1
  219. package/dist/components/ui/date-range-picker.d.ts +1 -1
  220. package/dist/components/ui/date-range-picker.js +1 -1
  221. package/dist/components/ui/dialog.d.ts +1 -1
  222. package/dist/components/ui/dialog.js +1 -1
  223. package/dist/components/ui/dropdown-menu.d.ts +1 -1
  224. package/dist/components/ui/dropdown-menu.js +1 -1
  225. package/dist/components/ui/hover-card.js +1 -1
  226. package/dist/components/ui/index.d.ts +42 -42
  227. package/dist/components/ui/index.js +42 -42
  228. package/dist/components/ui/input-otp.js +1 -1
  229. package/dist/components/ui/input.d.ts +1 -1
  230. package/dist/components/ui/input.js +1 -1
  231. package/dist/components/ui/label.d.ts +1 -1
  232. package/dist/components/ui/label.js +1 -1
  233. package/dist/components/ui/menubar.d.ts +1 -1
  234. package/dist/components/ui/menubar.js +1 -1
  235. package/dist/components/ui/navigation-menu.d.ts +1 -1
  236. package/dist/components/ui/navigation-menu.js +1 -1
  237. package/dist/components/ui/pagination.d.ts +1 -1
  238. package/dist/components/ui/pagination.js +1 -1
  239. package/dist/components/ui/password-input.d.ts +1 -1
  240. package/dist/components/ui/password-input.js +3 -3
  241. package/dist/components/ui/password-strength.d.ts +1 -1
  242. package/dist/components/ui/password-strength.js +1 -1
  243. package/dist/components/ui/popover.d.ts +1 -1
  244. package/dist/components/ui/popover.js +1 -1
  245. package/dist/components/ui/radio.d.ts +1 -1
  246. package/dist/components/ui/radio.js +1 -1
  247. package/dist/components/ui/rating.js +2 -2
  248. package/dist/components/ui/resizable.d.ts +1 -1
  249. package/dist/components/ui/resizable.js +1 -1
  250. package/dist/components/ui/scroll-area.d.ts +1 -1
  251. package/dist/components/ui/scroll-area.js +1 -1
  252. package/dist/components/ui/select.d.ts +1 -1
  253. package/dist/components/ui/select.js +1 -1
  254. package/dist/components/ui/separator.js +1 -1
  255. package/dist/components/ui/sheet.d.ts +1 -1
  256. package/dist/components/ui/sheet.js +1 -1
  257. package/dist/components/ui/skeleton.d.ts +1 -1
  258. package/dist/components/ui/skeleton.js +1 -1
  259. package/dist/components/ui/slider.d.ts +1 -1
  260. package/dist/components/ui/slider.js +1 -1
  261. package/dist/components/ui/sonner.d.ts +1 -1
  262. package/dist/components/ui/sonner.js +1 -1
  263. package/dist/components/ui/switch.d.ts +1 -1
  264. package/dist/components/ui/switch.js +1 -1
  265. package/dist/components/ui/table.d.ts +1 -1
  266. package/dist/components/ui/table.js +1 -1
  267. package/dist/components/ui/tabs.d.ts +1 -1
  268. package/dist/components/ui/tabs.js +1 -1
  269. package/dist/components/ui/tag-input.js +2 -2
  270. package/dist/components/ui/textarea.d.ts +1 -1
  271. package/dist/components/ui/textarea.js +1 -1
  272. package/dist/components/ui/time-picker.d.ts +1 -1
  273. package/dist/components/ui/time-picker.js +1 -1
  274. package/dist/components/ui/toggle-group.d.ts +1 -1
  275. package/dist/components/ui/toggle-group.js +2 -2
  276. package/dist/components/ui/toggle.js +1 -1
  277. package/dist/components/ui/upload.d.ts +1 -1
  278. package/dist/components/ui/upload.js +1 -1
  279. package/dist/form/form-field-control.d.ts +2 -2
  280. package/dist/form/form-field-control.js +1 -1
  281. package/dist/form/form-root.d.ts +2 -2
  282. package/dist/form/form-root.js +1 -1
  283. package/dist/form/index.d.ts +7 -7
  284. package/dist/form/index.js +3 -3
  285. package/dist/form/use-zod-form.d.ts +2 -2
  286. package/dist/i18n/index.d.ts +3 -3
  287. package/dist/i18n/index.js +2 -2
  288. package/dist/i18n/translate.d.ts +2 -2
  289. package/dist/i18n/translate.js +3 -3
  290. package/dist/i18n/use-translation.d.ts +4 -4
  291. package/dist/i18n/use-translation.js +3 -3
  292. package/dist/index.d.ts +11 -11
  293. package/dist/index.js +7 -7
  294. package/dist/lib/datetime/detect.js +1 -1
  295. package/dist/lib/datetime/format-date.d.ts +2 -2
  296. package/dist/lib/datetime/format-date.js +4 -4
  297. package/dist/lib/datetime/format.d.ts +2 -2
  298. package/dist/lib/datetime/format.js +6 -6
  299. package/dist/lib/datetime/index.d.ts +5 -5
  300. package/dist/lib/datetime/index.js +5 -5
  301. package/dist/lib/datetime/parse.js +1 -1
  302. package/dist/lib/datetime/sync.d.ts +1 -1
  303. package/dist/lib/datetime/sync.js +2 -2
  304. package/dist/lib/format.d.ts +2 -2
  305. package/dist/lib/format.js +2 -2
  306. package/dist/lib/variants.d.ts +1 -1
  307. package/dist/props/components/app.prop.d.ts +3 -3
  308. package/dist/props/components/charts.prop.d.ts +1 -1
  309. package/dist/props/components/data-display.prop.d.ts +1 -1
  310. package/dist/props/components/data-entry.prop.d.ts +3 -3
  311. package/dist/props/components/feedback.prop.d.ts +1 -1
  312. package/dist/props/components/form.prop.d.ts +1 -1
  313. package/dist/props/components/general.prop.d.ts +1 -1
  314. package/dist/props/components/index.d.ts +10 -10
  315. package/dist/props/components/layout.prop.d.ts +1 -1
  316. package/dist/props/components/navigation.prop.d.ts +1 -1
  317. package/dist/props/components/query.prop.d.ts +2 -2
  318. package/dist/props/index.d.ts +7 -7
  319. package/dist/props/index.js +3 -3
  320. package/dist/props/vocabulary/data.prop.d.ts +2 -2
  321. package/dist/props/vocabulary/index.d.ts +6 -6
  322. package/dist/props/vocabulary/navigation.prop.d.ts +1 -1
  323. package/dist/styles/control.css +16 -0
  324. package/package.json +2 -2
  325. package/scripts/ui-audit.mjs +1 -1
@@ -8,10 +8,10 @@ import {
8
8
  ResponsiveContainer,
9
9
  Tooltip
10
10
  } from "recharts";
11
- import { EmptyState } from "../data-display/empty-state";
12
- import { useTranslation } from "../../i18n/use-translation";
13
- import { ChartFrame, chartColor, chartHeight, useChartNumberFormat } from "./chart-frame";
14
- import { buildPieSummary } from "./chart-summary";
11
+ import { EmptyState } from "../data-display/empty-state.js";
12
+ import { useTranslation } from "../../i18n/use-translation.js";
13
+ import { ChartFrame, chartColor, chartHeight, useChartNumberFormat } from "./chart-frame.js";
14
+ import { buildPieSummary } from "./chart-summary.js";
15
15
  function PieChart({
16
16
  data,
17
17
  dataKey,
@@ -1 +1 @@
1
- export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "../ui/accordion";
1
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "../ui/accordion.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "../ui/accordion";
2
+ import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "../ui/accordion.js";
3
3
  export {
4
4
  Accordion,
5
5
  AccordionContent,
@@ -1 +1 @@
1
- export { Avatar, AvatarImage, AvatarFallback } from "../ui/avatar";
1
+ export { Avatar, AvatarImage, AvatarFallback } from "../ui/avatar.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Avatar, AvatarImage, AvatarFallback } from "../ui/avatar";
2
+ import { Avatar, AvatarImage, AvatarFallback } from "../ui/avatar.js";
3
3
  export {
4
4
  Avatar,
5
5
  AvatarFallback,
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
- import type { ShapeProp, ToneProp } from "../../props/vocabulary";
3
+ import type { ShapeProp, ToneProp } from "../../props/vocabulary/index.js";
4
4
  export type BadgeVariant = "default" | "secondary" | "outline" | "dashed";
5
5
  /**
6
6
  * Badge tones extend the shared status `ToneProp` with a brand `primary` tone — a SOFT brand pill
@@ -11,8 +11,8 @@ import {
11
11
  Trash2,
12
12
  XCircle
13
13
  } from "lucide-react";
14
- import { useTranslation } from "../../i18n/use-translation";
15
- import { cn } from "../../lib/utils";
14
+ import { useTranslation } from "../../i18n/use-translation.js";
15
+ import { cn } from "../../lib/utils.js";
16
16
  import {
17
17
  toneDestructiveClass,
18
18
  toneInfoClass,
@@ -21,7 +21,7 @@ import {
21
21
  tonePrimaryClass,
22
22
  toneSuccessClass,
23
23
  toneWarningClass
24
- } from "../../lib/control-styles";
24
+ } from "../../lib/control-styles.js";
25
25
  const STATUS_MAP = {
26
26
  active: { tone: "success", icon: CheckCircle2 },
27
27
  completed: { tone: "success", icon: CheckCircle2 },
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import { cva } from "class-variance-authority";
4
- import { cn } from "../../lib/utils";
4
+ import { cn } from "../../lib/utils.js";
5
5
  const cardVariants = cva("group/card", {
6
6
  variants: {
7
7
  size: {
@@ -3,8 +3,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import useEmblaCarousel from "embla-carousel-react";
5
5
  import { ChevronLeft, ChevronRight } from "lucide-react";
6
- import { useTranslation } from "../../i18n/use-translation";
7
- import { cn } from "../../lib/utils";
6
+ import { useTranslation } from "../../i18n/use-translation.js";
7
+ import { cn } from "../../lib/utils.js";
8
8
  const CarouselContext = React.createContext(null);
9
9
  const useCarousel = () => {
10
10
  const context = React.useContext(CarouselContext);
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { flexRender, type OnChangeFn, type PaginationState, type RowData, type VisibilityState } from "@tanstack/react-table";
3
- import type { ColumnDefProp, DensityProp, SortStateProp } from "../../props/vocabulary";
3
+ import type { ColumnDefProp, DensityProp, SortStateProp } from "../../props/vocabulary/index.js";
4
4
  export type Density = DensityProp;
5
5
  /**
6
6
  * Lean column definition — the simple, common-case column API. `render` shapes
@@ -20,19 +20,19 @@ import {
20
20
  MoreHorizontal,
21
21
  SlidersHorizontal
22
22
  } from "lucide-react";
23
- import { useTranslation } from "../../i18n/use-translation";
24
- import { Flex } from "../layout/flex";
25
- import { Button } from "../general/button";
26
- import { EmptyState } from "./empty-state";
27
- import { Checkbox } from "../data-entry/checkbox";
28
- import { SearchInput } from "../data-entry/search-input";
23
+ import { useTranslation } from "../../i18n/use-translation.js";
24
+ import { Flex } from "../layout/flex.js";
25
+ import { Button } from "../general/button.js";
26
+ import { EmptyState } from "./empty-state.js";
27
+ import { Checkbox } from "../data-entry/checkbox.js";
28
+ import { SearchInput } from "../data-entry/search-input.js";
29
29
  import {
30
30
  Select,
31
31
  SelectContent,
32
32
  SelectItem,
33
33
  SelectTrigger,
34
34
  SelectValue
35
- } from "../data-entry/select";
35
+ } from "../data-entry/select.js";
36
36
  import {
37
37
  DropdownMenu,
38
38
  DropdownMenuCheckboxItem,
@@ -40,7 +40,7 @@ import {
40
40
  DropdownMenuLabel,
41
41
  DropdownMenuSeparator,
42
42
  DropdownMenuTrigger
43
- } from "../navigation/dropdown-menu";
43
+ } from "../navigation/dropdown-menu.js";
44
44
  import {
45
45
  Table,
46
46
  TableBody,
@@ -48,14 +48,14 @@ import {
48
48
  TableHead,
49
49
  TableHeader,
50
50
  TableRow
51
- } from "../data-display/table";
52
- import { cn } from "../../lib/utils";
53
- import { densityClass } from "../../lib/variants";
51
+ } from "../data-display/table.js";
52
+ import { cn } from "../../lib/utils.js";
53
+ import { densityClass } from "../../lib/variants.js";
54
54
  import {
55
55
  controlIconSmClass,
56
56
  tableCellPaddingClass,
57
57
  tableRowHeightClass
58
- } from "../../lib/control-styles";
58
+ } from "../../lib/control-styles.js";
59
59
  function toTanstackColumns(columns) {
60
60
  return columns.map((col) => ({
61
61
  id: col.key,
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { DescriptionsLayoutProp } from "../../props/vocabulary/interaction.prop";
2
+ import type { DescriptionsLayoutProp } from "../../props/vocabulary/interaction.prop.js";
3
3
  export type { DescriptionsLayoutProp };
4
4
  export interface DescriptionsProps {
5
5
  columns?: 1 | 2 | 3;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
- import { cn } from "../../lib/utils";
4
+ import { cn } from "../../lib/utils.js";
5
5
  const DescriptionsLayoutContext = React.createContext("vertical");
6
6
  function Descriptions({
7
7
  columns = 2,
@@ -1,3 +1,3 @@
1
- import type { EmptyStateProp } from "../../props/components/data-display.prop";
2
- export type { EmptyStateProp, EmptyStateProp as EmptyStateProps, } from "../../props/components/data-display.prop";
1
+ import type { EmptyStateProp } from "../../props/components/data-display.prop.js";
2
+ export type { EmptyStateProp, EmptyStateProp as EmptyStateProps, } from "../../props/components/data-display.prop.js";
3
3
  export declare function EmptyState({ icon: Icon, title, description, action, className }: EmptyStateProp): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../lib/utils";
2
+ import { cn } from "../../lib/utils.js";
3
3
  function EmptyState({ icon: Icon, title, description, action, className }) {
4
4
  return /* @__PURE__ */ jsxs("div", { "data-slot": "empty-state", role: "status", className: cn("ui-empty-state", className), children: [
5
5
  Icon && /* @__PURE__ */ jsx("div", { className: "ui-empty-state-icon", children: /* @__PURE__ */ jsx(Icon, { className: "text-muted-foreground size-6", "aria-hidden": "true" }) }),
@@ -1 +1 @@
1
- export { HoverCard, HoverCardTrigger, HoverCardContent } from "../ui/hover-card";
1
+ export { HoverCard, HoverCardTrigger, HoverCardContent } from "../ui/hover-card.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { HoverCard, HoverCardTrigger, HoverCardContent } from "../ui/hover-card";
2
+ import { HoverCard, HoverCardTrigger, HoverCardContent } from "../ui/hover-card.js";
3
3
  export {
4
4
  HoverCard,
5
5
  HoverCardContent,
@@ -1,26 +1,26 @@
1
- export { Badge } from "./badge";
2
- export type { BadgeProps } from "./badge";
3
- export { ListRow } from "./list-row";
4
- export type { ListRowProps } from "./list-row";
5
- export { Avatar, AvatarImage, AvatarFallback } from "./avatar";
6
- export { Card, CardBar, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardTitle, CardAction, StatCard, } from "./card";
7
- export type { StatCardProps, CardBarProps } from "./card";
8
- export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table";
9
- export { Descriptions } from "./descriptions";
10
- export { DataTable, flexRender } from "./data-table";
11
- export type { ColumnDef, Density as TableDensity } from "./data-table";
12
- export type { SortStateProp } from "../../props/vocabulary";
13
- export { EmptyState } from "./empty-state";
14
- export { Progress } from "./progress";
15
- export type { ProgressProps, ProgressTone } from "./progress";
16
- export { TreeList } from "./tree-list";
17
- export type { TreeListItem, TreeListProps } from "./tree-list";
18
- export { Timeline } from "./timeline";
19
- export type { TimelineItem, TimelineProps } from "./timeline";
20
- export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, } from "./popover";
21
- export { ScrollArea, ScrollBar } from "./scroll-area";
22
- export { Collapsible, CollapsibleTrigger, CollapsibleContent } from "./collapsible";
23
- export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "./accordion";
24
- export { HoverCard, HoverCardTrigger, HoverCardContent } from "./hover-card";
25
- export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CarouselDots, useCarousel, } from "./carousel";
26
- export type { CarouselApi } from "./carousel";
1
+ export { Badge } from "./badge.js";
2
+ export type { BadgeProps } from "./badge.js";
3
+ export { ListRow } from "./list-row.js";
4
+ export type { ListRowProps } from "./list-row.js";
5
+ export { Avatar, AvatarImage, AvatarFallback } from "./avatar.js";
6
+ export { Card, CardBar, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardTitle, CardAction, StatCard, } from "./card.js";
7
+ export type { StatCardProps, CardBarProps } from "./card.js";
8
+ export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table.js";
9
+ export { Descriptions } from "./descriptions.js";
10
+ export { DataTable, flexRender } from "./data-table.js";
11
+ export type { ColumnDef, Density as TableDensity } from "./data-table.js";
12
+ export type { SortStateProp } from "../../props/vocabulary/index.js";
13
+ export { EmptyState } from "./empty-state.js";
14
+ export { Progress } from "./progress.js";
15
+ export type { ProgressProps, ProgressTone } from "./progress.js";
16
+ export { TreeList } from "./tree-list.js";
17
+ export type { TreeListItem, TreeListProps } from "./tree-list.js";
18
+ export { Timeline } from "./timeline.js";
19
+ export type { TimelineItem, TimelineProps } from "./timeline.js";
20
+ export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, } from "./popover.js";
21
+ export { ScrollArea, ScrollBar } from "./scroll-area.js";
22
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent } from "./collapsible.js";
23
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "./accordion.js";
24
+ export { HoverCard, HoverCardTrigger, HoverCardContent } from "./hover-card.js";
25
+ export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CarouselDots, useCarousel, } from "./carousel.js";
26
+ export type { CarouselApi } from "./carousel.js";
@@ -1,6 +1,6 @@
1
- import { Badge } from "./badge";
2
- import { ListRow } from "./list-row";
3
- import { Avatar, AvatarImage, AvatarFallback } from "./avatar";
1
+ import { Badge } from "./badge.js";
2
+ import { ListRow } from "./list-row.js";
3
+ import { Avatar, AvatarImage, AvatarFallback } from "./avatar.js";
4
4
  import {
5
5
  Card,
6
6
  CardBar,
@@ -12,14 +12,14 @@ import {
12
12
  CardTitle,
13
13
  CardAction,
14
14
  StatCard
15
- } from "./card";
16
- import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table";
17
- import { Descriptions } from "./descriptions";
18
- import { DataTable, flexRender } from "./data-table";
19
- import { EmptyState } from "./empty-state";
20
- import { Progress } from "./progress";
21
- import { TreeList } from "./tree-list";
22
- import { Timeline } from "./timeline";
15
+ } from "./card.js";
16
+ import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table.js";
17
+ import { Descriptions } from "./descriptions.js";
18
+ import { DataTable, flexRender } from "./data-table.js";
19
+ import { EmptyState } from "./empty-state.js";
20
+ import { Progress } from "./progress.js";
21
+ import { TreeList } from "./tree-list.js";
22
+ import { Timeline } from "./timeline.js";
23
23
  import {
24
24
  Popover,
25
25
  PopoverAnchor,
@@ -28,11 +28,11 @@ import {
28
28
  PopoverHeader,
29
29
  PopoverTitle,
30
30
  PopoverTrigger
31
- } from "./popover";
32
- import { ScrollArea, ScrollBar } from "./scroll-area";
33
- import { Collapsible, CollapsibleTrigger, CollapsibleContent } from "./collapsible";
34
- import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "./accordion";
35
- import { HoverCard, HoverCardTrigger, HoverCardContent } from "./hover-card";
31
+ } from "./popover.js";
32
+ import { ScrollArea, ScrollBar } from "./scroll-area.js";
33
+ import { Collapsible, CollapsibleTrigger, CollapsibleContent } from "./collapsible.js";
34
+ import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "./accordion.js";
35
+ import { HoverCard, HoverCardTrigger, HoverCardContent } from "./hover-card.js";
36
36
  import {
37
37
  Carousel,
38
38
  CarouselContent,
@@ -41,7 +41,7 @@ import {
41
41
  CarouselPrevious,
42
42
  CarouselDots,
43
43
  useCarousel
44
- } from "./carousel";
44
+ } from "./carousel.js";
45
45
  export {
46
46
  Accordion,
47
47
  AccordionContent,
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
- import { cn } from "../../lib/utils";
4
- import { Text } from "../general/typography";
3
+ import { cn } from "../../lib/utils.js";
4
+ import { Text } from "../general/typography.js";
5
5
  const ListRow = React.forwardRef(
6
6
  ({ as = "div", leading, title, description, trailing, align = "center", className, ...props }, ref) => {
7
7
  const Comp = as;
@@ -2,7 +2,7 @@
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as PopoverPrimitive from "@radix-ui/react-popover";
5
- import { cn } from "../../lib/utils";
5
+ import { cn } from "../../lib/utils.js";
6
6
  function Popover(props) {
7
7
  return /* @__PURE__ */ jsx(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
8
8
  }
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
5
- import { cn } from "../../lib/utils";
5
+ import { cn } from "../../lib/utils.js";
6
6
  const ScrollArea = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
7
7
  ScrollAreaPrimitive.Root,
8
8
  {
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
- import { tableHeadHeightClass } from "../../lib/control-styles";
4
- import { cn } from "../../lib/utils";
3
+ import { tableHeadHeightClass } from "../../lib/control-styles.js";
4
+ import { cn } from "../../lib/utils.js";
5
5
  const Table = React.forwardRef(
6
6
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
7
7
  "table",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { ChevronRight, Package } from "lucide-react";
4
- import { Badge } from "./badge";
4
+ import { Badge } from "./badge.js";
5
5
  function TreeList({ items }) {
6
6
  return /* @__PURE__ */ jsx("ul", { className: "ui-tree-list", children: items.map((item) => /* @__PURE__ */ jsxs(
7
7
  "li",
@@ -1,3 +1,3 @@
1
- import type { CalendarProp } from "../../props/components/data-entry.prop";
2
- export type { CalendarProp, CalendarProp as CalendarProps, } from "../../props/components/data-entry.prop";
1
+ import type { CalendarProp } from "../../props/components/data-entry.prop.js";
2
+ export type { CalendarProp, CalendarProp as CalendarProps, } from "../../props/components/data-entry.prop.js";
3
3
  export declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProp): import("react/jsx-runtime").JSX.Element;
@@ -2,9 +2,9 @@
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { ChevronLeft, ChevronRight } from "lucide-react";
4
4
  import { DayPicker } from "react-day-picker";
5
- import { cn } from "../../lib/utils";
6
- import { controlIconSmClass } from "../../lib/control-styles";
7
- import { buttonVariants } from "../general/button";
5
+ import { cn } from "../../lib/utils.js";
6
+ import { controlIconSmClass } from "../../lib/control-styles.js";
7
+ import { buttonVariants } from "../general/button.js";
8
8
  function Calendar({
9
9
  className,
10
10
  classNames,
@@ -1,4 +1,4 @@
1
- import type { CascaderProp } from "../../props/components/data-entry.prop";
2
- export type { CascaderProp, CascaderProp as CascaderProps, } from "../../props/components/data-entry.prop";
3
- export type { TreeOption, TreeFieldNames } from "./tree-utils";
1
+ import type { CascaderProp } from "../../props/components/data-entry.prop.js";
2
+ export type { CascaderProp, CascaderProp as CascaderProps, } from "../../props/components/data-entry.prop.js";
3
+ export type { TreeOption, TreeFieldNames } from "./tree-utils.js";
4
4
  export declare function Cascader({ options: optionsProp, value, defaultValue, onValueChange, multiple, changeOnSelect, showSearch, placeholder, disabled, className, id, expandTrigger, fieldNames, allowClear, }: CascaderProp): import("react/jsx-runtime").JSX.Element;
@@ -2,13 +2,13 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { Check, ChevronRight, ChevronsUpDown, Minus, X } from "lucide-react";
5
- import { useTranslation } from "../../i18n/use-translation";
6
- import { cn } from "../../lib/utils";
7
- import { controlOpenRingClass } from "../../lib/control-styles";
8
- import { Button } from "../general/button";
9
- import { Popover, PopoverContent, PopoverTrigger } from "../data-display/popover";
10
- import { ScrollArea, ScrollBar } from "../data-display/scroll-area";
11
- import { Command, CommandInput } from "./command";
5
+ import { useTranslation } from "../../i18n/use-translation.js";
6
+ import { cn } from "../../lib/utils.js";
7
+ import { controlOpenRingClass } from "../../lib/control-styles.js";
8
+ import { Button } from "../general/button.js";
9
+ import { Popover, PopoverContent, PopoverTrigger } from "../data-display/popover.js";
10
+ import { ScrollArea, ScrollBar } from "../data-display/scroll-area.js";
11
+ import { Command, CommandInput } from "./command.js";
12
12
  import {
13
13
  filterTreeOptions,
14
14
  formatPathLabels,
@@ -16,7 +16,7 @@ import {
16
16
  normalizeTreeOptions,
17
17
  pathKey,
18
18
  pathsEqual
19
- } from "./tree-utils";
19
+ } from "./tree-utils.js";
20
20
  function pathInValues(path, values) {
21
21
  return values.some((v) => pathsEqual(v, path));
22
22
  }
@@ -1,3 +1,3 @@
1
- import type { CheckboxGroupProp } from "../../props/components/data-entry.prop";
2
- export type { CheckboxGroupProp, CheckboxGroupProp as CheckboxGroupProps, } from "../../props/components/data-entry.prop";
1
+ import type { CheckboxGroupProp } from "../../props/components/data-entry.prop.js";
2
+ export type { CheckboxGroupProp, CheckboxGroupProp as CheckboxGroupProps, } from "../../props/components/data-entry.prop.js";
3
3
  export declare function CheckboxGroup({ value: controlledValue, defaultValue, onValueChange, options, orientation, disabled, name, className, children, }: CheckboxGroupProp): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
- import { cn } from "../../lib/utils";
5
- import { Checkbox } from "./checkbox";
6
- import { Field } from "./field";
7
- import { choiceGroupClassName } from "./choice-option";
4
+ import { cn } from "../../lib/utils.js";
5
+ import { Checkbox } from "./checkbox.js";
6
+ import { Field } from "./field.js";
7
+ import { choiceGroupClassName } from "./choice-option.js";
8
8
  function useControllableArray(controlled, defaultValue) {
9
9
  const [internal, setInternal] = React.useState(defaultValue);
10
10
  const value = controlled ?? internal;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
- import { CheckboxGroup } from "./checkbox-group";
3
+ import { CheckboxGroup } from "./checkbox-group.js";
4
4
  /** Checkbox — dùng standalone hoặc `Checkbox.Group` với `options` (Ant Design style). */
5
5
  export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>> & {
6
6
  Group: typeof CheckboxGroup;
@@ -3,8 +3,8 @@ import { jsx } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
5
5
  import { Check } from "lucide-react";
6
- import { cn } from "../../lib/utils";
7
- import { CheckboxGroup } from "./checkbox-group";
6
+ import { cn } from "../../lib/utils.js";
7
+ import { CheckboxGroup } from "./checkbox-group.js";
8
8
  const CheckboxRoot = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
9
9
  CheckboxPrimitive.Root,
10
10
  {
@@ -1,4 +1,4 @@
1
- import { cn } from "../../lib/utils";
1
+ import { cn } from "../../lib/utils.js";
2
2
  function choiceGroupClassName(_orientation = "vertical", className) {
3
3
  return cn("ui-choice-group", className);
4
4
  }
@@ -1,3 +1,3 @@
1
- import type { ColorPickerProp } from "../../props/components/data-entry.prop";
2
- export type { ColorPickerProp, ColorPickerProp as ColorPickerProps, } from "../../props/components/data-entry.prop";
1
+ import type { ColorPickerProp } from "../../props/components/data-entry.prop.js";
2
+ export type { ColorPickerProp, ColorPickerProp as ColorPickerProps, } from "../../props/components/data-entry.prop.js";
3
3
  export declare function ColorPicker({ value, onValueChange, disabled, className, id, showHexInput, }: ColorPickerProp): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
- import { useTranslation } from "../../i18n/use-translation";
5
- import { cn } from "../../lib/utils";
6
- import { controlIconClass } from "../../lib/control-styles";
7
- import { Input } from "./input";
4
+ import { useTranslation } from "../../i18n/use-translation.js";
5
+ import { cn } from "../../lib/utils.js";
6
+ import { controlIconClass } from "../../lib/control-styles.js";
7
+ import { Input } from "./input.js";
8
8
  const HEX_PATTERN = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;
9
9
  function normalizeHex(value) {
10
10
  if (!value.startsWith("#")) return `#${value}`;
@@ -3,8 +3,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { Command as CommandPrimitive } from "cmdk";
5
5
  import { Search } from "lucide-react";
6
- import { cn } from "../../lib/utils";
7
- import { controlIconLeadingClass } from "../../lib/control-styles";
6
+ import { cn } from "../../lib/utils.js";
7
+ import { controlIconLeadingClass } from "../../lib/control-styles.js";
8
8
  const Command = React.forwardRef(({ className, ...props }, ref) => {
9
9
  const rootRef = React.useRef(null);
10
10
  const setRefs = (node) => {
@@ -1,5 +1,5 @@
1
- import type { DatePickerProp } from "../../props/components/data-entry.prop";
2
- export type { DatePickerProp, DatePickerProp as DatePickerProps, } from "../../props/components/data-entry.prop";
1
+ import type { DatePickerProp } from "../../props/components/data-entry.prop.js";
2
+ export type { DatePickerProp, DatePickerProp as DatePickerProps, } from "../../props/components/data-entry.prop.js";
3
3
  /**
4
4
  * DatePicker — WAI-ARIA date combobox. A real, typeable `<input>` holds the value as an
5
5
  * ISO-8601 `yyyy-MM-dd` string (the international standard): it is form-submittable (give it a
@@ -2,13 +2,13 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { CalendarIcon } from "lucide-react";
5
- import { usePickerLocales, useTranslation } from "../../i18n/use-translation";
6
- import { parseDateInput, toIsoDate } from "../../lib/datetime/parse";
7
- import { useControlledLatch } from "../../lib/hooks";
8
- import { cn } from "../../lib/utils";
9
- import { Input } from "./input";
10
- import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover";
11
- import { Calendar } from "./calendar";
5
+ import { usePickerLocales, useTranslation } from "../../i18n/use-translation.js";
6
+ import { parseDateInput, toIsoDate } from "../../lib/datetime/parse.js";
7
+ import { useControlledLatch } from "../../lib/hooks.js";
8
+ import { cn } from "../../lib/utils.js";
9
+ import { Input } from "./input.js";
10
+ import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover.js";
11
+ import { Calendar } from "./calendar.js";
12
12
  const ISO_HINT = "yyyy-mm-dd";
13
13
  function DatePicker({
14
14
  value: valueProp,
@@ -1,5 +1,5 @@
1
- import type { DateRangePickerProp } from "../../props/components/data-entry.prop";
2
- export type { DateRangePickerProp, DateRangePickerProp as DateRangePickerProps, } from "../../props/components/data-entry.prop";
1
+ import type { DateRangePickerProp } from "../../props/components/data-entry.prop.js";
2
+ export type { DateRangePickerProp, DateRangePickerProp as DateRangePickerProps, } from "../../props/components/data-entry.prop.js";
3
3
  /**
4
4
  * DateRangePicker — WAI-ARIA date-range combobox rendered as ONE input-styled control
5
5
  * (Ant Design RangePicker convention): `[ from → to ✕ 📅 ]`. The two inner fields stay
@@ -2,12 +2,12 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { ArrowRight, CalendarIcon, X } from "lucide-react";
5
- import { usePickerLocales, useTranslation } from "../../i18n/use-translation";
6
- import { parseDateInput, toIsoDate } from "../../lib/datetime";
7
- import { useControlledLatch } from "../../lib/hooks";
8
- import { cn } from "../../lib/utils";
9
- import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover";
10
- import { Calendar } from "./calendar";
5
+ import { usePickerLocales, useTranslation } from "../../i18n/use-translation.js";
6
+ import { parseDateInput, toIsoDate } from "../../lib/datetime/index.js";
7
+ import { useControlledLatch } from "../../lib/hooks.js";
8
+ import { cn } from "../../lib/utils.js";
9
+ import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover.js";
10
+ import { Calendar } from "./calendar.js";
11
11
  const ISO_HINT = "yyyy-mm-dd";
12
12
  function DateRangePicker({
13
13
  value: valueProp,
@@ -1,4 +1,4 @@
1
- import type { FieldProp } from "../../props/components/data-entry.prop";
2
- export type { FieldProp, FieldProp as FieldProps } from "../../props/components/data-entry.prop";
1
+ import type { FieldProp } from "../../props/components/data-entry.prop.js";
2
+ export type { FieldProp, FieldProp as FieldProps } from "../../props/components/data-entry.prop.js";
3
3
  /** Label + optional description beside a checkbox/radio/switch control. */
4
4
  export declare function Field({ id, label, description, className, children }: FieldProp): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { cn } from "../../lib/utils";
4
- import { Label } from "./label";
3
+ import { cn } from "../../lib/utils.js";
4
+ import { Label } from "./label.js";
5
5
  function Field({ id, label, description, className, children }) {
6
6
  return /* @__PURE__ */ jsxs("div", { className: cn("ui-choice-field", className), children: [
7
7
  /* @__PURE__ */ jsx("div", { className: "ui-choice-control", children }),
@@ -1,3 +1,3 @@
1
- import type { FormFieldProp } from "../../props/components/data-entry.prop";
2
- export type { FormFieldProp, FormFieldProp as FormFieldProps, } from "../../props/components/data-entry.prop";
1
+ import type { FormFieldProp } from "../../props/components/data-entry.prop.js";
2
+ export type { FormFieldProp, FormFieldProp as FormFieldProps, } from "../../props/components/data-entry.prop.js";
3
3
  export declare function FormField({ id, label, required, helper, error, labelAddon, layout: layoutProp, labelWidth: labelWidthProp, controlWidth: controlWidthProp, colSpan, className, children, }: FormFieldProp): import("react/jsx-runtime").JSX.Element;