@godxjp/ui 16.9.2 → 16.9.4

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 +7 -2
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
- import { Label } from "../data-entry/label";
5
- import { cn } from "../../lib/utils";
6
- import { useFormLayout } from "./form";
4
+ import { Label } from "../data-entry/label.js";
5
+ import { cn } from "../../lib/utils.js";
6
+ import { useFormLayout } from "./form.js";
7
7
  const toCssLength = (v) => typeof v === "number" ? `${v}px` : v;
8
8
  const FOCUSABLE_SELECTOR = 'input:not([type="hidden"]), select, textarea, button, [tabindex]:not([tabindex="-1"])';
9
9
  function FormField({
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
- import type { BreakpointProp, FormLayoutProp, WidthProp } from "../../props/vocabulary";
3
- export type { FormProp, FormProp as FormProps } from "../../props/components/data-entry.prop";
2
+ import type { BreakpointProp, FormLayoutProp, WidthProp } from "../../props/vocabulary/index.js";
3
+ export type { FormProp, FormProp as FormProps } from "../../props/components/data-entry.prop.js";
4
4
  /** Resolved layout settings shared from a Form down to its FormFields (override per field). */
5
5
  export interface FormLayoutContextValue {
6
6
  layout: FormLayoutProp;
@@ -23,7 +23,7 @@ export declare const Form: React.ForwardRefExoticComponent<React.FormHTMLAttribu
23
23
  controlWidth?: WidthProp;
24
24
  labelAlign?: "start" | "end";
25
25
  collapseBelow?: BreakpointProp | false;
26
- columns?: import("../../props/components/layout.prop").ResponsiveGridColumnsProp;
27
- density?: import("../../props").DensityProp;
28
- className?: import("../../props").ClassNameProp;
26
+ columns?: import("../../props/components/layout.prop.js").ResponsiveGridColumnsProp;
27
+ density?: import("../../props/index.js").DensityProp;
28
+ className?: import("../../props/index.js").ClassNameProp;
29
29
  } & React.RefAttributes<HTMLFormElement>>;
@@ -1,8 +1,8 @@
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 { ResponsiveGrid } from "../layout/responsive-grid";
4
+ import { cn } from "../../lib/utils.js";
5
+ import { ResponsiveGrid } from "../layout/responsive-grid.js";
6
6
  const FormLayoutContext = React.createContext(null);
7
7
  function useFormLayout() {
8
8
  return React.useContext(FormLayoutContext);
@@ -1,59 +1,59 @@
1
- export { Input } from "./input";
2
- export type { InputProps } from "./input";
3
- export { NumberInput } from "./number-input";
4
- export type { NumberInputProp, NumberInputProps } from "./number-input";
5
- export { Label } from "./label";
6
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from "./select";
7
- export { Checkbox } from "./checkbox";
8
- export { CheckboxGroup } from "./checkbox-group";
9
- export { Radio, RadioGroup, RadioItem, RadioGroupRoot } from "./radio";
10
- export { Textarea } from "./textarea";
11
- export type { TextareaProps } from "./textarea";
12
- export { Form, useFormLayout, type FormLayoutContextValue } from "./form";
13
- export type { FormProp, FormProps } from "./form";
14
- export { FormField } from "./form-field";
15
- export type { FormFieldProp, FormFieldProps } from "./form-field";
16
- export { Field } from "./field";
17
- export type { FieldProps } from "./field";
18
- export { SearchInput } from "./search-input";
19
- export { Switch } from "./switch";
20
- export type { SwitchProps } from "./switch";
21
- export { Toggle } from "./toggle";
22
- export type { ToggleProps } from "./toggle";
23
- export { ToggleGroup, ToggleGroupItem } from "./toggle-group";
24
- export { Slider } from "./slider";
25
- export type { SliderProps } from "./slider";
26
- export { Calendar } from "./calendar";
27
- export type { CalendarProps } from "./calendar";
28
- export { MonthPicker } from "./month-picker";
29
- export type { MonthPickerProps } from "./month-picker";
30
- export { MonthRangePicker } from "./month-range-picker";
31
- export type { MonthRangePickerProps } from "./month-range-picker";
32
- export { DatePicker } from "./date-picker";
33
- export type { DatePickerProps } from "./date-picker";
34
- export { DateRangePicker } from "./date-range-picker";
35
- export type { DateRangePickerProps } from "./date-range-picker";
36
- export { TimePicker } from "./time-picker";
37
- export type { TimePickerProps } from "./time-picker";
38
- export { ColorPicker } from "./color-picker";
39
- export type { ColorPickerProps } from "./color-picker";
40
- export type { SelectProp, SelectProp as SelectProps } from "./select";
41
- export type { SearchSelectOptionProp as SelectOption, SearchSelectLoadParamsProp as SelectLoadParams, SearchSelectLoadResultProp as SelectLoadResult, } from "./search-select";
42
- export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from "./upload";
43
- export type { UploadProps, UploadFileItem, UploadVariant, UploadCommitAction } from "./upload";
44
- export { Cascader } from "./cascader";
45
- export type { CascaderProps, TreeOption, TreeFieldNames } from "./cascader";
46
- export { TreeSelect, SHOW_CHILD, SHOW_PARENT, SHOW_ALL } from "./tree-select";
47
- export type { TreeSelectProps } from "./tree-select";
48
- export { Transfer } from "./transfer";
49
- export type { TransferProps, TransferItemProp } from "./transfer";
50
- export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from "./command";
51
- export { PasswordInput } from "./password-input";
52
- export type { PasswordInputProps } from "./password-input";
53
- export { PasswordStrength, usePasswordStrength } from "./password-strength";
54
- export type { PasswordRule, PasswordStrengthLabels, PasswordStrengthProps, PasswordStrengthReturn, } from "./password-strength";
55
- export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "./input-otp";
56
- export { Rating } from "./rating";
57
- export type { RatingProps } from "./rating";
58
- export { TagInput } from "./tag-input";
59
- export type { TagInputProps } from "./tag-input";
1
+ export { Input } from "./input.js";
2
+ export type { InputProps } from "./input.js";
3
+ export { NumberInput } from "./number-input.js";
4
+ export type { NumberInputProp, NumberInputProps } from "./number-input.js";
5
+ export { Label } from "./label.js";
6
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from "./select.js";
7
+ export { Checkbox } from "./checkbox.js";
8
+ export { CheckboxGroup } from "./checkbox-group.js";
9
+ export { Radio, RadioGroup, RadioItem, RadioGroupRoot } from "./radio.js";
10
+ export { Textarea } from "./textarea.js";
11
+ export type { TextareaProps } from "./textarea.js";
12
+ export { Form, useFormLayout, type FormLayoutContextValue } from "./form.js";
13
+ export type { FormProp, FormProps } from "./form.js";
14
+ export { FormField } from "./form-field.js";
15
+ export type { FormFieldProp, FormFieldProps } from "./form-field.js";
16
+ export { Field } from "./field.js";
17
+ export type { FieldProps } from "./field.js";
18
+ export { SearchInput } from "./search-input.js";
19
+ export { Switch } from "./switch.js";
20
+ export type { SwitchProps } from "./switch.js";
21
+ export { Toggle } from "./toggle.js";
22
+ export type { ToggleProps } from "./toggle.js";
23
+ export { ToggleGroup, ToggleGroupItem } from "./toggle-group.js";
24
+ export { Slider } from "./slider.js";
25
+ export type { SliderProps } from "./slider.js";
26
+ export { Calendar } from "./calendar.js";
27
+ export type { CalendarProps } from "./calendar.js";
28
+ export { MonthPicker } from "./month-picker.js";
29
+ export type { MonthPickerProps } from "./month-picker.js";
30
+ export { MonthRangePicker } from "./month-range-picker.js";
31
+ export type { MonthRangePickerProps } from "./month-range-picker.js";
32
+ export { DatePicker } from "./date-picker.js";
33
+ export type { DatePickerProps } from "./date-picker.js";
34
+ export { DateRangePicker } from "./date-range-picker.js";
35
+ export type { DateRangePickerProps } from "./date-range-picker.js";
36
+ export { TimePicker } from "./time-picker.js";
37
+ export type { TimePickerProps } from "./time-picker.js";
38
+ export { ColorPicker } from "./color-picker.js";
39
+ export type { ColorPickerProps } from "./color-picker.js";
40
+ export type { SelectProp, SelectProp as SelectProps } from "./select.js";
41
+ export type { SearchSelectOptionProp as SelectOption, SearchSelectLoadParamsProp as SelectLoadParams, SearchSelectLoadResultProp as SelectLoadResult, } from "./search-select.js";
42
+ export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from "./upload.js";
43
+ export type { UploadProps, UploadFileItem, UploadVariant, UploadCommitAction } from "./upload.js";
44
+ export { Cascader } from "./cascader.js";
45
+ export type { CascaderProps, TreeOption, TreeFieldNames } from "./cascader.js";
46
+ export { TreeSelect, SHOW_CHILD, SHOW_PARENT, SHOW_ALL } from "./tree-select.js";
47
+ export type { TreeSelectProps } from "./tree-select.js";
48
+ export { Transfer } from "./transfer.js";
49
+ export type { TransferProps, TransferItemProp } from "./transfer.js";
50
+ export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from "./command.js";
51
+ export { PasswordInput } from "./password-input.js";
52
+ export type { PasswordInputProps } from "./password-input.js";
53
+ export { PasswordStrength, usePasswordStrength } from "./password-strength.js";
54
+ export type { PasswordRule, PasswordStrengthLabels, PasswordStrengthProps, PasswordStrengthReturn, } from "./password-strength.js";
55
+ export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "./input-otp.js";
56
+ export { Rating } from "./rating.js";
57
+ export type { RatingProps } from "./rating.js";
58
+ export { TagInput } from "./tag-input.js";
59
+ export type { TagInputProps } from "./tag-input.js";
@@ -1,6 +1,6 @@
1
- import { Input } from "./input";
2
- import { NumberInput } from "./number-input";
3
- import { Label } from "./label";
1
+ import { Input } from "./input.js";
2
+ import { NumberInput } from "./number-input.js";
3
+ import { Label } from "./label.js";
4
4
  import {
5
5
  Select,
6
6
  SelectContent,
@@ -12,30 +12,30 @@ import {
12
12
  SelectSeparator,
13
13
  SelectTrigger,
14
14
  SelectValue
15
- } from "./select";
16
- import { Checkbox } from "./checkbox";
17
- import { CheckboxGroup } from "./checkbox-group";
18
- import { Radio, RadioGroup, RadioItem, RadioGroupRoot } from "./radio";
19
- import { Textarea } from "./textarea";
20
- import { Form, useFormLayout } from "./form";
21
- import { FormField } from "./form-field";
22
- import { Field } from "./field";
23
- import { SearchInput } from "./search-input";
24
- import { Switch } from "./switch";
25
- import { Toggle } from "./toggle";
26
- import { ToggleGroup, ToggleGroupItem } from "./toggle-group";
27
- import { Slider } from "./slider";
28
- import { Calendar } from "./calendar";
29
- import { MonthPicker } from "./month-picker";
30
- import { MonthRangePicker } from "./month-range-picker";
31
- import { DatePicker } from "./date-picker";
32
- import { DateRangePicker } from "./date-range-picker";
33
- import { TimePicker } from "./time-picker";
34
- import { ColorPicker } from "./color-picker";
35
- import { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from "./upload";
36
- import { Cascader } from "./cascader";
37
- import { TreeSelect, SHOW_CHILD, SHOW_PARENT, SHOW_ALL } from "./tree-select";
38
- import { Transfer } from "./transfer";
15
+ } from "./select.js";
16
+ import { Checkbox } from "./checkbox.js";
17
+ import { CheckboxGroup } from "./checkbox-group.js";
18
+ import { Radio, RadioGroup, RadioItem, RadioGroupRoot } from "./radio.js";
19
+ import { Textarea } from "./textarea.js";
20
+ import { Form, useFormLayout } from "./form.js";
21
+ import { FormField } from "./form-field.js";
22
+ import { Field } from "./field.js";
23
+ import { SearchInput } from "./search-input.js";
24
+ import { Switch } from "./switch.js";
25
+ import { Toggle } from "./toggle.js";
26
+ import { ToggleGroup, ToggleGroupItem } from "./toggle-group.js";
27
+ import { Slider } from "./slider.js";
28
+ import { Calendar } from "./calendar.js";
29
+ import { MonthPicker } from "./month-picker.js";
30
+ import { MonthRangePicker } from "./month-range-picker.js";
31
+ import { DatePicker } from "./date-picker.js";
32
+ import { DateRangePicker } from "./date-range-picker.js";
33
+ import { TimePicker } from "./time-picker.js";
34
+ import { ColorPicker } from "./color-picker.js";
35
+ import { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from "./upload.js";
36
+ import { Cascader } from "./cascader.js";
37
+ import { TreeSelect, SHOW_CHILD, SHOW_PARENT, SHOW_ALL } from "./tree-select.js";
38
+ import { Transfer } from "./transfer.js";
39
39
  import {
40
40
  Command,
41
41
  CommandEmpty,
@@ -43,12 +43,12 @@ import {
43
43
  CommandInput,
44
44
  CommandItem,
45
45
  CommandList
46
- } from "./command";
47
- import { PasswordInput } from "./password-input";
48
- import { PasswordStrength, usePasswordStrength } from "./password-strength";
49
- import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "./input-otp";
50
- import { Rating } from "./rating";
51
- import { TagInput } from "./tag-input";
46
+ } from "./command.js";
47
+ import { PasswordInput } from "./password-input.js";
48
+ import { PasswordStrength, usePasswordStrength } from "./password-strength.js";
49
+ import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "./input-otp.js";
50
+ import { Rating } from "./rating.js";
51
+ import { TagInput } from "./tag-input.js";
52
52
  export {
53
53
  Calendar,
54
54
  Cascader,
@@ -1 +1 @@
1
- export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "../ui/input-otp";
1
+ export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "../ui/input-otp.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "../ui/input-otp";
2
+ import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "../ui/input-otp.js";
3
3
  export {
4
4
  InputOTP,
5
5
  InputOTPGroup,
@@ -2,8 +2,8 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { X } from "lucide-react";
5
- import { useTranslation } from "../../i18n/use-translation";
6
- import { cn } from "../../lib/utils";
5
+ import { useTranslation } from "../../i18n/use-translation.js";
6
+ import { cn } from "../../lib/utils.js";
7
7
  const inputBaseClass = [
8
8
  "ui-control border-input bg-background w-full min-w-0 rounded-[var(--control-radius)] transition-[color,box-shadow] outline-none",
9
9
  "selection:bg-primary selection:text-primary-foreground",
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as LabelPrimitive from "@radix-ui/react-label";
5
5
  import { cva } from "class-variance-authority";
6
- import { cn } from "../../lib/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
  const labelVariants = cva(
8
8
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
9
9
  );
@@ -1,5 +1,5 @@
1
- import type { MonthPickerProp } from "../../props/components/data-entry.prop";
2
- export type { MonthPickerProp, MonthPickerProp as MonthPickerProps, } from "../../props/components/data-entry.prop";
1
+ import type { MonthPickerProp } from "../../props/components/data-entry.prop.js";
2
+ export type { MonthPickerProp, MonthPickerProp as MonthPickerProps, } from "../../props/components/data-entry.prop.js";
3
3
  /**
4
4
  * MonthPicker — year/month (`yyyy/MM`) input with an Ant-Design-style month grid
5
5
  * popover: a year header with chevrons over a 3×4 grid of the twelve months.
@@ -2,11 +2,11 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { CalendarIcon, ChevronLeft, ChevronRight, X } from "lucide-react";
5
- import { usePickerLocales, useTranslation } from "../../i18n/use-translation";
6
- import { useControlledLatch } from "../../lib/hooks";
7
- import { cn } from "../../lib/utils";
8
- import { Button } from "../general/button";
9
- import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover";
5
+ import { usePickerLocales, useTranslation } from "../../i18n/use-translation.js";
6
+ import { useControlledLatch } from "../../lib/hooks.js";
7
+ import { cn } from "../../lib/utils.js";
8
+ import { Button } from "../general/button.js";
9
+ import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover.js";
10
10
  const YM_HINT = "yyyy/mm";
11
11
  const toYmText = (d) => d ? `${d.getFullYear()}/${String(d.getMonth() + 1).padStart(2, "0")}` : "";
12
12
  const parseYm = (raw) => {
@@ -1,5 +1,5 @@
1
- import type { MonthRangePickerProp } from "../../props/components/data-entry.prop";
2
- export type { MonthRangePickerProp, MonthRangePickerProp as MonthRangePickerProps, } from "../../props/components/data-entry.prop";
1
+ import type { MonthRangePickerProp } from "../../props/components/data-entry.prop.js";
2
+ export type { MonthRangePickerProp, MonthRangePickerProp as MonthRangePickerProps, } from "../../props/components/data-entry.prop.js";
3
3
  /**
4
4
  * MonthRangePicker — year/month (`yyyy/MM`) RANGE rendered as ONE input-styled
5
5
  * control (Ant Design RangePicker convention): `[ from → to ✕ 📅 ]`. The two
@@ -2,11 +2,11 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { ArrowRight, CalendarIcon, ChevronLeft, ChevronRight, X } from "lucide-react";
5
- import { usePickerLocales, useTranslation } from "../../i18n/use-translation";
6
- import { useControlledLatch } from "../../lib/hooks";
7
- import { cn } from "../../lib/utils";
8
- import { Button } from "../general/button";
9
- import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover";
5
+ import { usePickerLocales, useTranslation } from "../../i18n/use-translation.js";
6
+ import { useControlledLatch } from "../../lib/hooks.js";
7
+ import { cn } from "../../lib/utils.js";
8
+ import { Button } from "../general/button.js";
9
+ import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover.js";
10
10
  const YM_HINT = "yyyy/mm";
11
11
  const toYmText = (d) => d ? `${d.getFullYear()}/${String(d.getMonth() + 1).padStart(2, "0")}` : "";
12
12
  const parseYm = (raw) => {
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
- import type { NumberInputProp } from "../../props/components/data-entry.prop";
3
- export type { NumberInputProp, NumberInputProp as NumberInputProps, } from "../../props/components/data-entry.prop";
2
+ import type { NumberInputProp } from "../../props/components/data-entry.prop.js";
3
+ export type { NumberInputProp, NumberInputProp as NumberInputProps, } from "../../props/components/data-entry.prop.js";
4
4
  /**
5
5
  * NumberInput — WAI-ARIA spinbutton: a localized numeric `<Input>` with increment/decrement steps.
6
6
  *
@@ -2,10 +2,10 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { ChevronDown, ChevronUp } from "lucide-react";
5
- import { useTranslation } from "../../i18n/use-translation";
6
- import { cn } from "../../lib/utils";
7
- import { Button } from "../general/button";
8
- import { Input } from "./input";
5
+ import { useTranslation } from "../../i18n/use-translation.js";
6
+ import { cn } from "../../lib/utils.js";
7
+ import { Button } from "../general/button.js";
8
+ import { Input } from "./input.js";
9
9
  function decimalsOf(n) {
10
10
  if (!Number.isFinite(n)) return 0;
11
11
  const s = String(n);
@@ -1,2 +1,2 @@
1
- export { PasswordInput } from "../ui/password-input";
2
- export type { PasswordInputProps } from "../ui/password-input";
1
+ export { PasswordInput } from "../ui/password-input.js";
2
+ export type { PasswordInputProps } from "../ui/password-input.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { PasswordInput } from "../ui/password-input";
2
+ import { PasswordInput } from "../ui/password-input.js";
3
3
  export {
4
4
  PasswordInput
5
5
  };
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
3
- import type { RadioGroupProp } from "../../props/components/data-entry.prop";
4
- export type { RadioGroupProp, RadioGroupProp as RadioGroupProps, } from "../../props/components/data-entry.prop";
3
+ import type { RadioGroupProp } from "../../props/components/data-entry.prop.js";
4
+ export type { RadioGroupProp, RadioGroupProp as RadioGroupProps, } from "../../props/components/data-entry.prop.js";
5
5
  declare const RadioGroupRoot: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
6
  declare const RadioItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
7
  declare function RadioGroupOptions({ value, defaultValue, onValueChange, options, orientation, disabled, name, className, children, }: RadioGroupProp): import("react/jsx-runtime").JSX.Element;
@@ -3,9 +3,9 @@ import { jsx } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
5
5
  import { Circle } from "lucide-react";
6
- import { cn } from "../../lib/utils";
7
- import { Field } from "./field";
8
- import { choiceGroupClassName } from "./choice-option";
6
+ import { cn } from "../../lib/utils.js";
7
+ import { Field } from "./field.js";
8
+ import { choiceGroupClassName } from "./choice-option.js";
9
9
  const RadioGroupRoot = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
10
10
  RadioGroupPrimitive.Root,
11
11
  {
@@ -1,2 +1,2 @@
1
- export { Rating } from "../ui/rating";
2
- export type { RatingProps } from "../ui/rating";
1
+ export { Rating } from "../ui/rating.js";
2
+ export type { RatingProps } from "../ui/rating.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Rating } from "../ui/rating";
2
+ import { Rating } from "../ui/rating.js";
3
3
  export {
4
4
  Rating
5
5
  };
@@ -2,11 +2,11 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { Search, X } from "lucide-react";
5
- import { useTranslation } from "../../i18n/use-translation";
6
- import { Input } from "../data-entry/input";
7
- import { Label } from "../data-entry/label";
8
- import { cn } from "../../lib/utils";
9
- import { useDebouncedValue } from "../../lib/hooks";
5
+ import { useTranslation } from "../../i18n/use-translation.js";
6
+ import { Input } from "../data-entry/input.js";
7
+ import { Label } from "../data-entry/label.js";
8
+ import { cn } from "../../lib/utils.js";
9
+ import { useDebouncedValue } from "../../lib/hooks.js";
10
10
  function SearchInput({
11
11
  value: controlledValue,
12
12
  defaultValue = "",
@@ -1,5 +1,5 @@
1
- import type { SearchSelectProp } from "../../props/components/data-entry.prop";
2
- export type { SearchSelectProp, SearchSelectProp as SearchSelectProps, SearchSelectOptionProp, SearchSelectOptionProp as SearchSelectOption, SearchSelectLoadParamsProp, SearchSelectLoadResultProp, } from "../../props/components/data-entry.prop";
1
+ import type { SearchSelectProp } from "../../props/components/data-entry.prop.js";
2
+ export type { SearchSelectProp, SearchSelectProp as SearchSelectProps, SearchSelectOptionProp, SearchSelectOptionProp as SearchSelectOption, SearchSelectLoadParamsProp, SearchSelectLoadResultProp, } from "../../props/components/data-entry.prop.js";
3
3
  /**
4
4
  * SearchSelect — a searchable single-select combobox with a debounced search box, optional
5
5
  * optgroup-style grouping (`option.group`), and loading/empty states. Drive it EITHER remotely
@@ -2,13 +2,13 @@
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { ChevronsUpDown, Loader2, 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 { Command, CommandGroup, CommandItem, CommandList } from "./command";
11
- import { Input } from "./input";
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 { Command, CommandGroup, CommandItem, CommandList } from "./command.js";
11
+ import { Input } from "./input.js";
12
12
  const DEBOUNCE_MS = 250;
13
13
  function SearchSelect({
14
14
  value: valueProp,
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import * as SelectPrimitive from "@radix-ui/react-select";
3
- import type { SelectDataProp } from "../../props/components/data-entry.prop";
3
+ import type { SelectDataProp } from "../../props/components/data-entry.prop.js";
4
4
  export type SelectProp = SelectDataProp | React.ComponentProps<typeof SelectPrimitive.Root>;
5
5
  /**
6
6
  * Select — one component for every single-select. Use the compound API for full control
@@ -3,9 +3,9 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as SelectPrimitive from "@radix-ui/react-select";
5
5
  import { ChevronDown, ChevronUp } from "lucide-react";
6
- import { cn } from "../../lib/utils";
7
- import { controlTriggerClass } from "../../lib/control-styles";
8
- import { SearchSelect } from "./search-select";
6
+ import { cn } from "../../lib/utils.js";
7
+ import { controlTriggerClass } from "../../lib/control-styles.js";
8
+ import { SearchSelect } from "./search-select.js";
9
9
  function isDataSelect(props) {
10
10
  return "options" in props || "loadOptions" in props;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
2
  import * as SliderPrimitive from "@radix-ui/react-slider";
3
- export type { SliderProp, SliderProp as SliderProps } from "../../props/components/data-entry.prop";
3
+ export type { SliderProp, SliderProp as SliderProps } from "../../props/components/data-entry.prop.js";
4
4
  /** Numeric range slider (Radix Slider). */
5
5
  export declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as SliderPrimitive from "@radix-ui/react-slider";
5
- import { cn } from "../../lib/utils";
5
+ import { cn } from "../../lib/utils.js";
6
6
  const Slider = React.forwardRef(
7
7
  ({
8
8
  className,
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import * as SwitchPrimitive from "@radix-ui/react-switch";
3
- export type { SwitchProp, SwitchProp as SwitchProps } from "../../props/components/data-entry.prop";
3
+ export type { SwitchProp, SwitchProp as SwitchProps } from "../../props/components/data-entry.prop.js";
4
4
  export declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
5
5
  size?: "sm" | "md";
6
6
  } & React.RefAttributes<HTMLButtonElement>>;
@@ -2,7 +2,7 @@
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import * as SwitchPrimitive from "@radix-ui/react-switch";
5
- import { cn } from "../../lib/utils";
5
+ import { cn } from "../../lib/utils.js";
6
6
  const Switch = React.forwardRef(
7
7
  ({ className, size = "md", name, checked, defaultChecked = false, onCheckedChange, ...props }, ref) => {
8
8
  const [internalChecked, setInternalChecked] = React.useState(defaultChecked);
@@ -1,2 +1,2 @@
1
- export { TagInput } from "../ui/tag-input";
2
- export type { TagInputProps } from "../ui/tag-input";
1
+ export { TagInput } from "../ui/tag-input.js";
2
+ export type { TagInputProps } from "../ui/tag-input.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { TagInput } from "../ui/tag-input";
2
+ import { TagInput } from "../ui/tag-input.js";
3
3
  export {
4
4
  TagInput
5
5
  };
@@ -2,9 +2,9 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { X } from "lucide-react";
5
- import { useTranslation } from "../../i18n/use-translation";
6
- import { cn } from "../../lib/utils";
7
- import { controlMultilineClass } from "../../lib/control-styles";
5
+ import { useTranslation } from "../../i18n/use-translation.js";
6
+ import { cn } from "../../lib/utils.js";
7
+ import { controlMultilineClass } from "../../lib/control-styles.js";
8
8
  const Textarea = React.forwardRef(
9
9
  ({ className, allowClear = false, onClear, value, defaultValue, onChange, ...props }, ref) => {
10
10
  const { t } = useTranslation();
@@ -1,5 +1,5 @@
1
- import type { TimePickerProp } from "../../props/components/data-entry.prop";
2
- export type { TimePickerProp, TimePickerProp as TimePickerProps, } from "../../props/components/data-entry.prop";
1
+ import type { TimePickerProp } from "../../props/components/data-entry.prop.js";
2
+ export type { TimePickerProp, TimePickerProp as TimePickerProps, } from "../../props/components/data-entry.prop.js";
3
3
  /**
4
4
  * TimePicker — WAI-ARIA time combobox. The value lives on a real, typeable `HH:mm` `<input>`
5
5
  * (24h canonical): form-submittable (give it a `name`), screen-reader friendly, and e2e-testable
@@ -2,11 +2,11 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { Clock } from "lucide-react";
5
- import { usePickerLocales, useTranslation } from "../../i18n/use-translation";
6
- import { isValidHhmm, normalizeHhmm } from "../../lib/datetime";
7
- import { cn } from "../../lib/utils";
8
- import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover";
9
- import { Input } from "./input";
5
+ import { usePickerLocales, useTranslation } from "../../i18n/use-translation.js";
6
+ import { isValidHhmm, normalizeHhmm } from "../../lib/datetime/index.js";
7
+ import { cn } from "../../lib/utils.js";
8
+ import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../data-display/popover.js";
9
+ import { Input } from "./input.js";
10
10
  function pad2(n) {
11
11
  return String(n).padStart(2, "0");
12
12
  }
@@ -1 +1 @@
1
- export { ToggleGroup, ToggleGroupItem } from "../ui/toggle-group";
1
+ export { ToggleGroup, ToggleGroupItem } from "../ui/toggle-group.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { ToggleGroup, ToggleGroupItem } from "../ui/toggle-group";
2
+ import { ToggleGroup, ToggleGroupItem } from "../ui/toggle-group.js";
3
3
  export {
4
4
  ToggleGroup,
5
5
  ToggleGroupItem