@godxjp/ui 13.9.3 → 13.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (477) hide show
  1. package/dist/app/app-provider.d.ts +30 -0
  2. package/dist/app/app-provider.js +244 -0
  3. package/dist/app/date-format-labels.d.ts +8 -0
  4. package/dist/app/date-format-labels.js +16 -0
  5. package/dist/app/date-formats.d.ts +10 -0
  6. package/dist/app/date-formats.js +27 -0
  7. package/dist/app/index.d.ts +13 -136
  8. package/dist/app/index.js +65 -38
  9. package/dist/app/locales.d.ts +12 -0
  10. package/dist/app/locales.js +26 -0
  11. package/dist/app/request-headers.d.ts +7 -0
  12. package/dist/app/request-headers.js +27 -0
  13. package/dist/app/storage.d.ts +11 -0
  14. package/dist/app/storage.js +32 -0
  15. package/dist/app/time-format-labels.d.ts +8 -0
  16. package/dist/app/time-format-labels.js +14 -0
  17. package/dist/app/time-formats.d.ts +7 -0
  18. package/dist/app/time-formats.js +14 -0
  19. package/dist/app/timezones.d.ts +31 -0
  20. package/dist/app/timezones.js +161 -0
  21. package/dist/app/types.d.ts +21 -0
  22. package/dist/app/types.js +30 -0
  23. package/dist/app/use-formatting.d.ts +19 -0
  24. package/dist/app/use-formatting.js +37 -0
  25. package/dist/components/admin/index.d.ts +26 -66
  26. package/dist/components/admin/index.js +96 -49
  27. package/dist/components/data-display/accordion.d.ts +1 -0
  28. package/dist/components/data-display/accordion.js +7 -0
  29. package/dist/components/data-display/avatar.d.ts +1 -0
  30. package/dist/components/data-display/avatar.js +6 -0
  31. package/dist/components/data-display/badge.d.ts +9 -13
  32. package/dist/components/data-display/badge.js +111 -5
  33. package/dist/components/data-display/card.d.ts +22 -26
  34. package/dist/components/data-display/card.js +153 -2
  35. package/dist/components/data-display/carousel.d.ts +11 -13
  36. package/dist/components/data-display/carousel.js +220 -4
  37. package/dist/components/data-display/collapsible.d.ts +4 -0
  38. package/dist/components/data-display/collapsible.js +9 -0
  39. package/dist/components/data-display/data-table.d.ts +53 -0
  40. package/dist/components/data-display/data-table.js +424 -0
  41. package/dist/components/data-display/descriptions.d.ts +19 -0
  42. package/dist/components/data-display/descriptions.js +25 -0
  43. package/dist/components/data-display/empty-state.d.ts +3 -0
  44. package/dist/{chunk-YD7V2HGZ.js → components/data-display/empty-state.js} +5 -5
  45. package/dist/components/data-display/hover-card.d.ts +1 -0
  46. package/dist/components/data-display/hover-card.js +6 -0
  47. package/dist/components/data-display/index.d.ts +24 -79
  48. package/dist/components/data-display/index.js +95 -176
  49. package/dist/components/data-display/popover.d.ts +9 -13
  50. package/dist/components/data-display/popover.js +61 -2
  51. package/dist/components/data-display/progress.d.ts +7 -0
  52. package/dist/components/data-display/progress.js +27 -0
  53. package/dist/components/data-display/scroll-area.d.ts +4 -7
  54. package/dist/components/data-display/scroll-area.js +38 -2
  55. package/dist/components/data-display/table.d.ts +7 -10
  56. package/dist/components/data-display/table.js +36 -3
  57. package/dist/components/data-display/timeline.d.ts +12 -0
  58. package/dist/components/data-display/timeline.js +35 -0
  59. package/dist/components/data-display/tree-list.d.ts +13 -0
  60. package/dist/components/data-display/tree-list.js +30 -0
  61. package/dist/components/data-entry/calendar.d.ts +3 -19
  62. package/dist/components/data-entry/calendar.js +96 -6
  63. package/dist/components/data-entry/cascader.d.ts +4 -35
  64. package/dist/components/data-entry/cascader.js +327 -10
  65. package/dist/components/data-entry/checkbox-group.d.ts +3 -0
  66. package/dist/{chunk-BE6GJGKJ.js → components/data-entry/checkbox-group.js} +9 -26
  67. package/dist/components/data-entry/checkbox.d.ts +7 -16
  68. package/dist/components/data-entry/checkbox.js +26 -4
  69. package/dist/components/data-entry/choice-option.d.ts +10 -0
  70. package/dist/components/data-entry/choice-option.js +7 -0
  71. package/dist/components/data-entry/color-picker.d.ts +3 -19
  72. package/dist/components/data-entry/color-picker.js +75 -6
  73. package/dist/components/data-entry/command.d.ts +7 -10
  74. package/dist/components/data-entry/command.js +51 -3
  75. package/dist/components/data-entry/date-picker.d.ts +3 -19
  76. package/dist/components/data-entry/date-picker.js +153 -9
  77. package/dist/components/data-entry/date-range-picker.d.ts +3 -19
  78. package/dist/components/data-entry/date-range-picker.js +191 -8
  79. package/dist/components/data-entry/field.d.ts +4 -0
  80. package/dist/{chunk-44YRPSZ7.js → components/data-entry/field.js} +6 -11
  81. package/dist/components/data-entry/form-field.d.ts +3 -0
  82. package/dist/{chunk-LBYSX3VM.js → components/data-entry/form-field.js} +14 -47
  83. package/dist/components/data-entry/form.d.ts +29 -0
  84. package/dist/components/data-entry/form.js +41 -0
  85. package/dist/components/data-entry/index.d.ts +61 -164
  86. package/dist/components/data-entry/index.js +117 -37
  87. package/dist/components/data-entry/input-otp.d.ts +1 -0
  88. package/dist/components/data-entry/input-otp.js +7 -0
  89. package/dist/components/data-entry/input.d.ts +3 -6
  90. package/dist/components/data-entry/input.js +98 -4
  91. package/dist/components/data-entry/label.d.ts +4 -8
  92. package/dist/components/data-entry/label.js +25 -2
  93. package/dist/components/data-entry/month-picker.d.ts +9 -0
  94. package/dist/components/data-entry/month-picker.js +188 -0
  95. package/dist/components/data-entry/month-range-picker.d.ts +11 -0
  96. package/dist/components/data-entry/month-range-picker.js +245 -0
  97. package/dist/components/data-entry/number-input.d.ts +12 -0
  98. package/dist/components/data-entry/number-input.js +219 -0
  99. package/dist/components/data-entry/password-input.d.ts +2 -0
  100. package/dist/components/data-entry/password-input.js +4 -0
  101. package/dist/components/data-entry/password-strength.d.ts +20 -0
  102. package/dist/{chunk-VSUYVT2Q.js → components/data-entry/password-strength.js} +8 -62
  103. package/dist/components/data-entry/radio.d.ts +7 -20
  104. package/dist/components/data-entry/radio.js +93 -4
  105. package/dist/components/data-entry/rating.d.ts +2 -0
  106. package/dist/components/data-entry/rating.js +4 -0
  107. package/dist/components/data-entry/search-input.d.ts +18 -0
  108. package/dist/{chunk-LVLPNKJP.js → components/data-entry/search-input.js} +11 -11
  109. package/dist/components/data-entry/search-select.d.ts +11 -0
  110. package/dist/{chunk-6S2ZU26B.js → components/data-entry/search-select.js} +14 -239
  111. package/dist/components/data-entry/select.d.ts +14 -30
  112. package/dist/components/data-entry/select.js +243 -9
  113. package/dist/components/data-entry/slider.d.ts +4 -18
  114. package/dist/components/data-entry/slider.js +52 -2
  115. package/dist/components/data-entry/switch.d.ts +4 -18
  116. package/dist/components/data-entry/switch.js +40 -2
  117. package/dist/components/data-entry/tag-input.d.ts +2 -0
  118. package/dist/components/data-entry/tag-input.js +4 -0
  119. package/dist/components/data-entry/textarea.d.ts +3 -6
  120. package/dist/components/data-entry/textarea.js +86 -5
  121. package/dist/components/data-entry/time-input.d.ts +3 -6
  122. package/dist/components/data-entry/time-input.js +137 -3
  123. package/dist/components/data-entry/time-picker.d.ts +3 -19
  124. package/dist/components/data-entry/time-picker.js +329 -7
  125. package/dist/components/data-entry/toggle-group.d.ts +1 -0
  126. package/dist/components/data-entry/toggle-group.js +5 -0
  127. package/dist/components/data-entry/toggle.d.ts +2 -0
  128. package/dist/components/data-entry/toggle.js +4 -0
  129. package/dist/components/data-entry/transfer.d.ts +3 -20
  130. package/dist/components/data-entry/transfer.js +193 -13
  131. package/dist/components/data-entry/tree-select-strategy.d.ts +5 -0
  132. package/dist/components/data-entry/tree-select-strategy.js +8 -0
  133. package/dist/components/data-entry/tree-select.d.ts +5 -25
  134. package/dist/components/data-entry/tree-select.js +299 -13
  135. package/dist/components/data-entry/tree-utils.d.ts +48 -0
  136. package/dist/{chunk-SMLKNECP.js → components/data-entry/tree-utils.js} +33 -5
  137. package/dist/components/data-entry/upload-crop-dialog.d.ts +9 -0
  138. package/dist/components/data-entry/upload-crop-dialog.js +102 -0
  139. package/dist/components/data-entry/upload-types.d.ts +39 -0
  140. package/dist/components/data-entry/upload-types.js +41 -0
  141. package/dist/components/data-entry/upload.d.ts +6 -45
  142. package/dist/components/data-entry/upload.js +417 -12
  143. package/dist/components/data-entry/use-upload-draft.d.ts +25 -0
  144. package/dist/components/data-entry/use-upload-draft.js +64 -0
  145. package/dist/components/data-grid/data-grid.d.ts +67 -0
  146. package/dist/components/data-grid/data-grid.js +402 -0
  147. package/dist/components/data-grid/index.d.ts +2 -71
  148. package/dist/components/data-grid/index.js +3 -371
  149. package/dist/components/feedback/alert.d.ts +37 -42
  150. package/dist/components/feedback/alert.js +127 -7
  151. package/dist/components/feedback/dialog.d.ts +21 -25
  152. package/dist/components/feedback/dialog.js +356 -8
  153. package/dist/components/feedback/index.d.ts +10 -28
  154. package/dist/components/feedback/index.js +105 -18
  155. package/dist/components/feedback/overlay-header-tone.d.ts +7 -0
  156. package/dist/{chunk-VU4GFGDG.js → components/feedback/overlay-header-tone.js} +4 -4
  157. package/dist/components/feedback/sheet.d.ts +18 -23
  158. package/dist/components/feedback/sheet.js +192 -3
  159. package/dist/components/feedback/skeleton.d.ts +17 -0
  160. package/dist/{chunk-2BR7KFCP.js → components/feedback/skeleton.js} +10 -6
  161. package/dist/components/feedback/sonner.d.ts +2 -5
  162. package/dist/components/feedback/sonner.js +50 -1
  163. package/dist/components/feedback/tooltip.d.ts +10 -0
  164. package/dist/{chunk-32WO3YLB.js → components/feedback/tooltip.js} +12 -9
  165. package/dist/components/feedback/use-toast.d.ts +3 -0
  166. package/dist/components/feedback/use-toast.js +5 -0
  167. package/dist/components/general/button.d.ts +12 -18
  168. package/dist/components/general/button.js +118 -4
  169. package/dist/components/general/index.d.ts +4 -37
  170. package/dist/components/general/index.js +8 -48
  171. package/dist/components/general/typography.d.ts +30 -0
  172. package/dist/components/general/typography.js +46 -0
  173. package/dist/components/layout/app-shell.d.ts +3 -0
  174. package/dist/components/layout/app-shell.js +33 -0
  175. package/dist/components/layout/aspect-ratio.d.ts +1 -0
  176. package/dist/components/layout/aspect-ratio.js +4 -0
  177. package/dist/components/layout/breadcrumb.d.ts +7 -0
  178. package/dist/components/layout/breadcrumb.js +16 -0
  179. package/dist/components/layout/flex.d.ts +3 -0
  180. package/dist/components/layout/flex.js +29 -0
  181. package/dist/components/layout/index.d.ts +19 -60
  182. package/dist/components/layout/index.js +29 -12
  183. package/dist/components/layout/page-container.d.ts +8 -0
  184. package/dist/components/layout/page-container.js +77 -0
  185. package/dist/components/layout/resizable.d.ts +8 -12
  186. package/dist/components/layout/resizable.js +44 -2
  187. package/dist/components/layout/responsive-grid.d.ts +7 -0
  188. package/dist/{chunk-C3PKEV6S.js → components/layout/responsive-grid.js} +4 -5
  189. package/dist/components/layout/separator.d.ts +1 -0
  190. package/dist/components/layout/separator.js +4 -0
  191. package/dist/components/layout/sidebar.d.ts +21 -0
  192. package/dist/components/layout/sidebar.js +254 -0
  193. package/dist/components/layout/split-pane.d.ts +7 -0
  194. package/dist/components/layout/split-pane.js +10 -0
  195. package/dist/components/layout/topbar.d.ts +3 -0
  196. package/dist/components/layout/topbar.js +133 -0
  197. package/dist/components/navigation/app-setting-picker.d.ts +9 -0
  198. package/dist/{chunk-RHPFCKB2.js → components/navigation/app-setting-picker.js} +24 -49
  199. package/dist/components/navigation/context-menu.d.ts +16 -20
  200. package/dist/components/navigation/context-menu.js +144 -2
  201. package/dist/components/navigation/dropdown-menu.d.ts +17 -21
  202. package/dist/components/navigation/dropdown-menu.js +164 -2
  203. package/dist/components/navigation/filter-bar.d.ts +4 -0
  204. package/dist/components/navigation/filter-bar.js +43 -0
  205. package/dist/components/navigation/index.d.ts +12 -36
  206. package/dist/components/navigation/index.js +140 -17
  207. package/dist/components/navigation/menubar.d.ts +18 -23
  208. package/dist/components/navigation/menubar.js +135 -2
  209. package/dist/components/navigation/navigation-menu.d.ts +10 -13
  210. package/dist/components/navigation/navigation-menu.js +90 -2
  211. package/dist/components/navigation/pagination-utils.d.ts +2 -0
  212. package/dist/components/navigation/pagination-utils.js +25 -0
  213. package/dist/components/navigation/pagination.d.ts +6 -12
  214. package/dist/components/navigation/pagination.js +222 -10
  215. package/dist/components/navigation/steps.d.ts +3 -12
  216. package/dist/components/navigation/steps.js +150 -5
  217. package/dist/components/navigation/tabs.d.ts +8 -12
  218. package/dist/components/navigation/tabs.js +109 -2
  219. package/dist/components/query/data-state.d.ts +7 -0
  220. package/dist/components/query/data-state.js +44 -0
  221. package/dist/components/query/index.d.ts +10 -43
  222. package/dist/components/query/index.js +13 -195
  223. package/dist/components/query/infinite-query-state.d.ts +13 -0
  224. package/dist/components/query/infinite-query-state.js +70 -0
  225. package/dist/components/query/mutation-feedback.d.ts +7 -0
  226. package/dist/components/query/mutation-feedback.js +23 -0
  227. package/dist/components/query/prefetch-link.d.ts +7 -0
  228. package/dist/components/query/prefetch-link.js +36 -0
  229. package/dist/components/query/query-refetch-button.d.ts +4 -0
  230. package/dist/components/query/query-refetch-button.js +40 -0
  231. package/dist/components/ui/accordion.d.ts +6 -0
  232. package/dist/components/ui/accordion.js +47 -0
  233. package/dist/components/ui/alert-dialog.d.ts +1 -0
  234. package/dist/components/ui/alert-dialog.js +1 -0
  235. package/dist/components/ui/alert.d.ts +1 -0
  236. package/dist/components/ui/alert.js +1 -0
  237. package/dist/components/ui/aspect-ratio.d.ts +3 -0
  238. package/dist/components/ui/aspect-ratio.js +18 -0
  239. package/dist/components/ui/avatar.d.ts +5 -0
  240. package/dist/{chunk-QTUJSRDH.js → components/ui/avatar.js} +12 -10
  241. package/dist/components/ui/badge.d.ts +1 -0
  242. package/dist/components/ui/badge.js +1 -0
  243. package/dist/components/ui/button.d.ts +1 -0
  244. package/dist/components/ui/button.js +1 -0
  245. package/dist/components/ui/calendar.d.ts +1 -0
  246. package/dist/components/ui/calendar.js +1 -0
  247. package/dist/components/ui/card.d.ts +1 -0
  248. package/dist/components/ui/card.js +1 -0
  249. package/dist/components/ui/carousel.d.ts +1 -0
  250. package/dist/components/ui/carousel.js +1 -0
  251. package/dist/components/ui/checkbox.d.ts +1 -0
  252. package/dist/components/ui/checkbox.js +1 -0
  253. package/dist/components/ui/color-picker.d.ts +1 -0
  254. package/dist/components/ui/color-picker.js +1 -0
  255. package/dist/components/ui/command.d.ts +1 -0
  256. package/dist/components/ui/command.js +1 -0
  257. package/dist/components/ui/context-menu.d.ts +1 -0
  258. package/dist/components/ui/context-menu.js +1 -0
  259. package/dist/components/ui/date-picker.d.ts +1 -0
  260. package/dist/components/ui/date-picker.js +1 -0
  261. package/dist/components/ui/date-range-picker.d.ts +1 -0
  262. package/dist/components/ui/date-range-picker.js +1 -0
  263. package/dist/components/ui/dialog.d.ts +1 -0
  264. package/dist/components/ui/dialog.js +1 -0
  265. package/dist/components/ui/dropdown-menu.d.ts +1 -0
  266. package/dist/components/ui/dropdown-menu.js +1 -0
  267. package/dist/components/ui/hover-card.d.ts +10 -0
  268. package/dist/components/ui/hover-card.js +45 -0
  269. package/dist/components/ui/index.d.ts +43 -80
  270. package/dist/components/ui/index.js +50 -47
  271. package/dist/components/ui/input-otp.d.ts +33 -0
  272. package/dist/components/ui/input-otp.js +55 -0
  273. package/dist/components/ui/input.d.ts +1 -0
  274. package/dist/components/ui/input.js +1 -0
  275. package/dist/components/ui/label.d.ts +1 -0
  276. package/dist/components/ui/label.js +1 -0
  277. package/dist/components/ui/menubar.d.ts +1 -0
  278. package/dist/components/ui/menubar.js +1 -0
  279. package/dist/components/ui/navigation-menu.d.ts +1 -0
  280. package/dist/components/ui/navigation-menu.js +1 -0
  281. package/dist/components/ui/pagination.d.ts +1 -0
  282. package/dist/components/ui/pagination.js +1 -0
  283. package/dist/components/ui/password-input.d.ts +4 -0
  284. package/dist/components/ui/password-input.js +38 -0
  285. package/dist/components/ui/password-strength.d.ts +1 -0
  286. package/dist/components/ui/password-strength.js +1 -0
  287. package/dist/components/ui/popover.d.ts +1 -0
  288. package/dist/components/ui/popover.js +1 -0
  289. package/dist/components/ui/radio.d.ts +1 -0
  290. package/dist/components/ui/radio.js +1 -0
  291. package/dist/components/ui/rating.d.ts +13 -0
  292. package/dist/components/ui/rating.js +90 -0
  293. package/dist/components/ui/resizable.d.ts +1 -0
  294. package/dist/components/ui/resizable.js +1 -0
  295. package/dist/components/ui/scroll-area.d.ts +1 -0
  296. package/dist/components/ui/scroll-area.js +1 -0
  297. package/dist/components/ui/select.d.ts +1 -0
  298. package/dist/components/ui/select.js +1 -0
  299. package/dist/components/ui/separator.d.ts +3 -0
  300. package/dist/components/ui/separator.js +20 -0
  301. package/dist/components/ui/sheet.d.ts +1 -0
  302. package/dist/components/ui/sheet.js +1 -0
  303. package/dist/components/ui/skeleton.d.ts +1 -0
  304. package/dist/components/ui/skeleton.js +4 -0
  305. package/dist/components/ui/slider.d.ts +1 -0
  306. package/dist/components/ui/slider.js +1 -0
  307. package/dist/components/ui/sonner.d.ts +1 -0
  308. package/dist/components/ui/sonner.js +1 -0
  309. package/dist/components/ui/switch.d.ts +1 -0
  310. package/dist/components/ui/switch.js +1 -0
  311. package/dist/components/ui/table.d.ts +1 -0
  312. package/dist/components/ui/table.js +1 -0
  313. package/dist/components/ui/tabs.d.ts +1 -0
  314. package/dist/components/ui/tabs.js +1 -0
  315. package/dist/components/ui/tag-input.d.ts +13 -0
  316. package/dist/components/ui/tag-input.js +100 -0
  317. package/dist/components/ui/textarea.d.ts +1 -0
  318. package/dist/components/ui/textarea.js +1 -0
  319. package/dist/components/ui/time-input.d.ts +1 -0
  320. package/dist/components/ui/time-input.js +1 -0
  321. package/dist/components/ui/time-picker.d.ts +1 -0
  322. package/dist/components/ui/time-picker.js +1 -0
  323. package/dist/components/ui/toggle-group.d.ts +11 -0
  324. package/dist/components/ui/toggle-group.js +32 -0
  325. package/dist/components/ui/toggle.d.ts +13 -0
  326. package/dist/components/ui/toggle.js +36 -0
  327. package/dist/components/ui/upload.d.ts +1 -0
  328. package/dist/components/ui/upload.js +1 -0
  329. package/dist/form/form-field-control.d.ts +4 -0
  330. package/dist/form/form-field-control.js +42 -0
  331. package/dist/form/form-root.d.ts +4 -0
  332. package/dist/form/form-root.js +26 -0
  333. package/dist/form/index.d.ts +7 -21
  334. package/dist/form/index.js +8 -73
  335. package/dist/form/use-zod-form.d.ts +10 -0
  336. package/dist/form/use-zod-form.js +14 -0
  337. package/dist/i18n/index.d.ts +3 -326
  338. package/dist/i18n/index.js +17 -2
  339. package/dist/i18n/messages/en.json +279 -0
  340. package/dist/i18n/messages/ja.json +276 -0
  341. package/dist/i18n/messages/vi.json +276 -0
  342. package/dist/i18n/translate.d.ts +15 -0
  343. package/dist/i18n/translate.js +82 -0
  344. package/dist/i18n/use-translation.d.ts +19 -0
  345. package/dist/i18n/use-translation.js +46 -0
  346. package/dist/index.d.ts +11 -47
  347. package/dist/index.js +16 -62
  348. package/dist/lib/control-styles.d.ts +26 -0
  349. package/dist/lib/control-styles.js +34 -0
  350. package/dist/lib/datetime/detect.d.ts +4 -0
  351. package/dist/lib/datetime/detect.js +16 -0
  352. package/dist/lib/datetime/format-date.d.ts +22 -0
  353. package/dist/lib/datetime/format-date.js +73 -0
  354. package/dist/lib/datetime/format.d.ts +23 -0
  355. package/dist/lib/datetime/format.js +94 -0
  356. package/dist/lib/datetime/index.d.ts +5 -35
  357. package/dist/lib/datetime/index.js +50 -1
  358. package/dist/lib/datetime/parse.d.ts +12 -0
  359. package/dist/lib/datetime/parse.js +56 -0
  360. package/dist/lib/datetime/sync.d.ts +19 -0
  361. package/dist/lib/datetime/sync.js +45 -0
  362. package/dist/lib/format.d.ts +21 -0
  363. package/dist/{chunk-X6AJ5HEI.js → lib/format.js} +35 -5
  364. package/dist/lib/hooks.d.ts +4 -6
  365. package/dist/lib/hooks.js +70 -1
  366. package/dist/lib/utils.d.ts +2 -5
  367. package/dist/lib/utils.js +8 -1
  368. package/dist/lib/variants.d.ts +12 -0
  369. package/dist/lib/variants.js +38 -0
  370. package/dist/{app.prop-CVY8V4ss.d.ts → props/components/app.prop.d.ts} +8 -12
  371. package/dist/props/components/app.prop.js +0 -0
  372. package/dist/{data-display.prop-CT0nVMdp.d.ts → props/components/data-display.prop.d.ts} +7 -15
  373. package/dist/props/components/data-display.prop.js +0 -0
  374. package/dist/{data-entry.prop-BSUaseKh.d.ts → props/components/data-entry.prop.d.ts} +46 -91
  375. package/dist/props/components/data-entry.prop.js +0 -0
  376. package/dist/{feedback.prop-CHlHDYZK.d.ts → props/components/feedback.prop.d.ts} +10 -16
  377. package/dist/props/components/feedback.prop.js +0 -0
  378. package/dist/{form.prop-5cyL3bvT.d.ts → props/components/form.prop.d.ts} +10 -14
  379. package/dist/props/components/form.prop.js +0 -0
  380. package/dist/{general.prop-CzlQin6v.d.ts → props/components/general.prop.d.ts} +5 -10
  381. package/dist/props/components/general.prop.js +0 -0
  382. package/dist/props/components/index.d.ts +9 -27
  383. package/dist/props/components/index.js +0 -1
  384. package/dist/{layout.prop-fCz-Vlie.d.ts → props/components/layout.prop.d.ts} +19 -26
  385. package/dist/props/components/layout.prop.js +0 -0
  386. package/dist/{navigation.prop-FCsOVGrP.d.ts → props/components/navigation.prop.d.ts} +10 -15
  387. package/dist/props/components/navigation.prop.js +0 -0
  388. package/dist/{query.prop-CT2gFtr4.d.ts → props/components/query.prop.d.ts} +12 -15
  389. package/dist/props/components/query.prop.js +0 -0
  390. package/dist/props/index.d.ts +7 -28
  391. package/dist/props/index.js +12 -3
  392. package/dist/props/registry.d.ts +5 -7
  393. package/dist/props/registry.js +998 -1
  394. package/dist/{content.prop-DrV_zDy-.d.ts → props/vocabulary/content.prop.d.ts} +12 -16
  395. package/dist/props/vocabulary/content.prop.js +0 -0
  396. package/dist/props/vocabulary/data.prop.d.ts +45 -0
  397. package/dist/props/vocabulary/data.prop.js +0 -0
  398. package/dist/props/vocabulary/index.d.ts +7 -7
  399. package/dist/props/vocabulary/index.js +0 -1
  400. package/dist/props/vocabulary/interaction.prop.d.ts +45 -0
  401. package/dist/props/vocabulary/interaction.prop.js +0 -0
  402. package/dist/props/vocabulary/layout.prop.d.ts +14 -0
  403. package/dist/props/vocabulary/layout.prop.js +0 -0
  404. package/dist/{navigation.prop-CXDaVNaR.d.ts → props/vocabulary/navigation.prop.d.ts} +3 -7
  405. package/dist/props/vocabulary/navigation.prop.js +0 -0
  406. package/dist/{shared.prop-BvMSLFJ6.d.ts → props/vocabulary/shared.prop.d.ts} +23 -27
  407. package/dist/props/vocabulary/shared.prop.js +0 -0
  408. package/dist/styles/table-layout.css +38 -0
  409. package/dist/tokens/components/table.css +2 -0
  410. package/package.json +2 -2
  411. package/dist/aspect-ratio-CZZJd9Km.d.ts +0 -9
  412. package/dist/avatar-D9MdXzfF.d.ts +0 -8
  413. package/dist/checkbox-bBfLARyF.d.ts +0 -13
  414. package/dist/chunk-2H65B4JA.js +0 -1
  415. package/dist/chunk-2RGPEFAW.js +0 -46
  416. package/dist/chunk-3JORZPS7.js +0 -232
  417. package/dist/chunk-3VFNWVR7.js +0 -153
  418. package/dist/chunk-4FGE5XVC.js +0 -996
  419. package/dist/chunk-5732TWQF.js +0 -1206
  420. package/dist/chunk-57VDEN64.js +0 -881
  421. package/dist/chunk-5LTW2LWF.js +0 -182
  422. package/dist/chunk-65RWSIZF.js +0 -327
  423. package/dist/chunk-7PWBC4BY.js +0 -25
  424. package/dist/chunk-B4K4BXEF.js +0 -18
  425. package/dist/chunk-B6S6LTWT.js +0 -464
  426. package/dist/chunk-B73NA66T.js +0 -122
  427. package/dist/chunk-B775Y6BE.js +0 -1
  428. package/dist/chunk-D4JX6O2W.js +0 -114
  429. package/dist/chunk-DV52WNXO.js +0 -8
  430. package/dist/chunk-DY5C44UP.js +0 -55
  431. package/dist/chunk-EG3RDM6F.js +0 -288
  432. package/dist/chunk-ES4Q3KGL.js +0 -1
  433. package/dist/chunk-FQGGF7GQ.js +0 -320
  434. package/dist/chunk-GJXOBDER.js +0 -1
  435. package/dist/chunk-HIEGUYPP.js +0 -95
  436. package/dist/chunk-HL3G4SVG.js +0 -131
  437. package/dist/chunk-I6G4IO7V.js +0 -485
  438. package/dist/chunk-I7NQ2LIL.js +0 -40
  439. package/dist/chunk-IJ5ALJGA.js +0 -31
  440. package/dist/chunk-INIIF7F7.js +0 -47
  441. package/dist/chunk-ION2KFXK.js +0 -75
  442. package/dist/chunk-J2DEWIYY.js +0 -37
  443. package/dist/chunk-K24AQV4R.js +0 -98
  444. package/dist/chunk-LFW37FGG.js +0 -68
  445. package/dist/chunk-LMKUKCTN.js +0 -150
  446. package/dist/chunk-NU2SOVTU.js +0 -96
  447. package/dist/chunk-NVTZ2EDW.js +0 -389
  448. package/dist/chunk-NZBAFFWP.js +0 -214
  449. package/dist/chunk-OO5DZH45.js +0 -587
  450. package/dist/chunk-Q3KUZG4P.js +0 -86
  451. package/dist/chunk-QROC2RMH.js +0 -150
  452. package/dist/chunk-QVBOICFU.js +0 -145
  453. package/dist/chunk-R2TXLS7S.js +0 -137
  454. package/dist/chunk-RZ32HY5E.js +0 -331
  455. package/dist/chunk-S2IJKT3D.js +0 -89
  456. package/dist/chunk-TBJBVEIP.js +0 -52
  457. package/dist/chunk-TO7URV7U.js +0 -51
  458. package/dist/chunk-U7N2A7A3.js +0 -9
  459. package/dist/chunk-V3N266PT.js +0 -106
  460. package/dist/chunk-W4REF4TD.js +0 -42
  461. package/dist/chunk-WGWI7EGL.js +0 -83
  462. package/dist/chunk-WY3VYUMX.js +0 -193
  463. package/dist/chunk-XBFUROAY.js +0 -117
  464. package/dist/chunk-XK3M3VRR.js +0 -32
  465. package/dist/chunk-YXVJFYQE.js +0 -191
  466. package/dist/chunk-ZT5UEUBO.js +0 -1
  467. package/dist/data-table-DRr70ULe.d.ts +0 -80
  468. package/dist/data.prop-D0UEEczj.d.ts +0 -42
  469. package/dist/filter-bar-DoDtwYrr.d.ts +0 -7
  470. package/dist/flex-1Cy46L0M.d.ts +0 -12
  471. package/dist/format-date-ByyZoqI5.d.ts +0 -51
  472. package/dist/interaction.prop-DD46aTro.d.ts +0 -47
  473. package/dist/layout.prop-CXvl2rVR.d.ts +0 -16
  474. package/dist/password-strength-DVRvXEOK.d.ts +0 -47
  475. package/dist/search-input-D4v1JGOA.d.ts +0 -27
  476. package/dist/skeleton-cj9kh5wo.d.ts +0 -20
  477. package/dist/types-mvzYGrma.d.ts +0 -37
@@ -0,0 +1,38 @@
1
+ const densityClass = {
2
+ compact: "ui-density-compact",
3
+ default: "ui-density-default",
4
+ comfortable: "ui-density-comfortable"
5
+ };
6
+ const pageContainerVariantClass = {
7
+ default: void 0,
8
+ narrow: "ui-page-container--narrow",
9
+ flush: "ui-page-container--flush",
10
+ ghost: "ui-page-container--ghost"
11
+ };
12
+ const stackGapClass = {
13
+ xs: "ui-stack-xs",
14
+ sm: "ui-stack-sm",
15
+ md: "ui-stack-md",
16
+ lg: "ui-stack-lg",
17
+ xl: "ui-stack-xl"
18
+ };
19
+ const inlineGapClass = {
20
+ xs: "ui-inline-xs",
21
+ sm: "ui-inline-sm",
22
+ md: "ui-inline-md",
23
+ lg: "ui-inline-lg"
24
+ };
25
+ const flexGapClass = {
26
+ xs: "ui-flex-gap-xs",
27
+ sm: "ui-flex-gap-sm",
28
+ md: "ui-flex-gap-md",
29
+ lg: "ui-flex-gap-lg",
30
+ xl: "ui-flex-gap-xl"
31
+ };
32
+ export {
33
+ densityClass,
34
+ flexGapClass,
35
+ inlineGapClass,
36
+ pageContainerVariantClass,
37
+ stackGapClass
38
+ };
@@ -1,12 +1,10 @@
1
- import { Locale } from 'date-fns';
2
- import { DayPickerProps } from 'react-day-picker';
3
- import { h as AppLocale, l as AppTimezoneDefault, k as AppTimezone, j as AppTimeFormat, g as AppDateFormat, i as AppRequestHeaders } from './types-mvzYGrma.js';
4
- import { C as ChildrenProp, a as ClassNameProp, c as DisabledProp, I as IdProp, N as NameProp, V as ValueProp, g as OnValueChangeProp } from './shared.prop-BvMSLFJ6.js';
5
-
6
1
  /** App shell prop types — @see docs/COMPONENTS.md#app */
7
-
2
+ import type { Locale } from "date-fns";
3
+ import type { DayPickerProps } from "react-day-picker";
4
+ import type { AppLocale, AppRequestHeaders, AppTimeFormat, AppTimezone, AppTimezoneDefault, AppDateFormat } from "../../app/types";
5
+ import type { ChildrenProp, ClassNameProp, DisabledProp, IdProp, NameProp, OnValueChangeProp, ValueProp } from "../vocabulary";
8
6
  /** @see AppProvider */
9
- type AppProviderProp = {
7
+ export type AppProviderProp = {
10
8
  children: ChildrenProp;
11
9
  /** Initial locale when nothing in storage. Default: `vi`. */
12
10
  defaultLocale?: AppLocale;
@@ -35,13 +33,13 @@ type AppProviderProp = {
35
33
  onDateFormatChange?: (dateFormat: AppDateFormat) => void;
36
34
  };
37
35
  /** Which AppProvider setting the {@link AppSettingPicker} reads/writes. */
38
- type AppSettingKind = "locale" | "timezone" | "dateFormat" | "timeFormat";
36
+ export type AppSettingKind = "locale" | "timezone" | "dateFormat" | "timeFormat";
39
37
  /**
40
38
  * @see AppSettingPicker — one provider-bound Select for any single AppProvider setting.
41
39
  * Replaces the former Locale/Timezone/Date-format/Time-format pickers; pick the target
42
40
  * via `kind`. Bound to `<AppProvider>` by default; pass value + onValueChange to control.
43
41
  */
44
- type AppSettingPickerProp = {
42
+ export type AppSettingPickerProp = {
45
43
  kind: AppSettingKind;
46
44
  className?: ClassNameProp;
47
45
  disabled?: DisabledProp;
@@ -53,7 +51,7 @@ type AppSettingPickerProp = {
53
51
  onValueChange?: OnValueChangeProp<string>;
54
52
  };
55
53
  /** Value exposed by `useAppContext`. */
56
- type AppContextValue = {
54
+ export type AppContextValue = {
57
55
  locale: AppLocale;
58
56
  fallbackLocale: AppLocale;
59
57
  timezone: AppTimezone;
@@ -69,5 +67,3 @@ type AppContextValue = {
69
67
  setTimeFormat: (timeFormat: AppTimeFormat) => void;
70
68
  setDateFormat: (dateFormat: AppDateFormat) => void;
71
69
  };
72
-
73
- export type { AppContextValue as A, AppProviderProp as a, AppSettingKind as b, AppSettingPickerProp as c };
File without changes
@@ -1,14 +1,8 @@
1
- import * as React from 'react';
2
- import { a as ClassNameProp, C as ChildrenProp } from './shared.prop-BvMSLFJ6.js';
3
- import { I as IconProp, T as TitleProp, D as DescriptionProp, A as ActionProp } from './content.prop-DrV_zDy-.js';
4
- import { T as TableDensityProp } from './layout.prop-CXvl2rVR.js';
5
- import { k as ToneProp, h as SortStateProp } from './interaction.prop-DD46aTro.js';
6
- import { C as ColumnDefProp, G as GetRowIdProp, S as SelectedIdsProp, c as OnSelectChangeProp, a as OnRowClickProp, e as OnTableDensityChangeProp, d as OnSortChangeProp } from './data.prop-D0UEEczj.js';
7
-
8
1
  /** Data Display component prop types — @see docs/COMPONENTS.md#data-display */
9
-
2
+ import type * as React from "react";
3
+ import type { ActionProp, ClassNameProp, DescriptionProp, IconProp, TitleProp, ColumnDefProp, GetRowIdProp, OnRowClickProp, OnSelectChangeProp, OnSortChangeProp, OnTableDensityChangeProp, SelectedIdsProp, SortStateProp, TableDensityProp, ChildrenProp, ToneProp } from "../vocabulary";
10
4
  /** @see EmptyState */
11
- type EmptyStateProp = {
5
+ export type EmptyStateProp = {
12
6
  icon?: IconProp;
13
7
  title: TitleProp;
14
8
  description?: DescriptionProp;
@@ -16,18 +10,18 @@ type EmptyStateProp = {
16
10
  className?: ClassNameProp;
17
11
  };
18
12
  /** @see Descriptions */
19
- type DescriptionsProp = {
13
+ export type DescriptionsProp = {
20
14
  items: DescriptionsItemProp[];
21
15
  columns?: 1 | 2 | 3;
22
16
  className?: ClassNameProp;
23
17
  };
24
- type DescriptionsItemProp = {
18
+ export type DescriptionsItemProp = {
25
19
  label: React.ReactNode;
26
20
  value: React.ReactNode;
27
21
  mono?: boolean;
28
22
  };
29
23
  /** @see Badge */
30
- type BadgeProp = {
24
+ export type BadgeProp = {
31
25
  variant?: "default" | "secondary" | "outline";
32
26
  tone?: ToneProp;
33
27
  status?: string;
@@ -38,7 +32,7 @@ type BadgeProp = {
38
32
  children?: ChildrenProp;
39
33
  };
40
34
  /** @see DataTable */
41
- type DataTableProp<T> = {
35
+ export type DataTableProp<T> = {
42
36
  data: T[];
43
37
  columns: ColumnDefProp<T>[];
44
38
  getRowId?: GetRowIdProp<T>;
@@ -55,5 +49,3 @@ type DataTableProp<T> = {
55
49
  className?: ClassNameProp;
56
50
  children?: ChildrenProp;
57
51
  };
58
-
59
- export type { BadgeProp as B, DataTableProp as D, EmptyStateProp as E, DescriptionsItemProp as a, DescriptionsProp as b };
File without changes
@@ -1,66 +1,23 @@
1
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
2
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
- import * as SliderPrimitive from '@radix-ui/react-slider';
4
- import * as SwitchPrimitive from '@radix-ui/react-switch';
5
- import { DayPickerProps, DateRange } from 'react-day-picker';
6
- import * as React from 'react';
7
- import { V as ValueProp, b as DefaultValueProp, i as PlaceholderProp, c as DisabledProp, a as ClassNameProp, I as IdProp, L as LabelProp, R as RequiredProp, d as HelperProp, E as ErrorProp, W as WidthProp, g as OnValueChangeProp, N as NameProp, O as OnChangeProp } from './shared.prop-BvMSLFJ6.js';
8
- import { E as EmptyMessageProp } from './content.prop-DrV_zDy-.js';
9
- import { D as DensityProp } from './layout.prop-CXvl2rVR.js';
10
- import { e as FormLayoutProp, a as BreakpointProp, f as SizeProp } from './interaction.prop-DD46aTro.js';
11
- import { b as OnSearchChangeProp } from './data.prop-D0UEEczj.js';
12
- import { R as ResponsiveGridColumnsProp } from './layout.prop-fCz-Vlie.js';
13
-
14
- /** Upload item — maps to media-service after `onUpload` resolves `mediaId`. */
15
- type UploadFileStatus = "idle" | "uploading" | "done" | "error" | "removed";
16
- type UploadFileItem = {
17
- /** Stable key for list reconciliation */
18
- uid: string;
19
- name: string;
20
- size: number;
21
- mimeType?: string;
22
- /** Blob URL or media-service download URL */
23
- previewUrl?: string;
24
- /** Set after issue → PUT → complete */
25
- mediaId?: string;
26
- status: UploadFileStatus;
27
- error?: string;
28
- /** Local file before / during upload */
29
- file?: File;
30
- /**
31
- * Draft-only: marked for soft-delete on form commit.
32
- * Undo clears this before save — media-service has no restore API.
33
- */
34
- pendingDelete?: boolean;
35
- /**
36
- * Draft-only: replacement staged locally; baseline kept for undo.
37
- */
38
- pendingReplace?: boolean;
39
- /** mediaId to soft-delete on commit when `pendingReplace` */
40
- replacesMediaId?: string;
41
- };
42
- type UploadVariant = "dropzone" | "button" | "picture-card" | "picture" | "avatar" | "avatar-crop";
43
- /** Actions parent runs on form submit (media-service). */
44
- type UploadCommitAction = {
45
- /** Soft-delete on save — no restore API */
46
- deleteMediaIds: string[];
47
- /** Temp uploads already completed via `onUpload` — promote on save */
48
- promoteMediaIds: string[];
49
- };
50
- declare function createUploadItem(file: File, partial?: Partial<UploadFileItem>): UploadFileItem;
51
- declare function collectUploadCommitActions(items: UploadFileItem[]): UploadCommitAction;
52
-
53
1
  /** Data Entry component prop types — @see docs/COMPONENTS.md#data-entry */
54
-
2
+ import type * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ import type * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
4
+ import type * as SliderPrimitive from "@radix-ui/react-slider";
5
+ import type * as SwitchPrimitive from "@radix-ui/react-switch";
6
+ import type { DayPickerProps } from "react-day-picker";
7
+ import type { DateRange } from "react-day-picker";
8
+ import type * as React from "react";
9
+ import type { UploadFileItem } from "../../components/data-entry/upload-types";
10
+ import type { ClassNameProp, DisabledProp, EmptyMessageProp, ErrorProp, HelperProp, IdProp, LabelProp, NameProp, OnChangeProp, OnValueChangeProp, OnSearchChangeProp, PlaceholderProp, RequiredProp, ValueProp, DefaultValueProp, FormLayoutProp, WidthProp, BreakpointProp, DensityProp, SizeProp } from "../vocabulary";
11
+ import type { ResponsiveGridColumnsProp } from "./layout.prop";
55
12
  /** @see Input */
56
- type InputProp = React.InputHTMLAttributes<HTMLInputElement> & {
13
+ export type InputProp = React.InputHTMLAttributes<HTMLInputElement> & {
57
14
  /** Show an inline ✕ that clears the field while it holds text (default false). */
58
15
  allowClear?: boolean;
59
16
  /** Called after the field is cleared via the inline ✕. */
60
17
  onClear?: () => void;
61
18
  };
62
19
  /** @see Textarea */
63
- type TextareaProp = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
20
+ export type TextareaProp = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
64
21
  /** Show an inline ✕ (top-end) that clears the field while it holds text (default false). */
65
22
  allowClear?: boolean;
66
23
  /** Called after the field is cleared via the inline ✕. */
@@ -72,7 +29,7 @@ type TextareaProp = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
72
29
  * the stepper buttons and ArrowUp/ArrowDown (Shift = ×10); `precision` sets the committed decimal
73
30
  * places (inferred from `step` when omitted). Value commits clamped to `min`/`max` on blur/Enter.
74
31
  */
75
- type NumberInputProp = {
32
+ export type NumberInputProp = {
76
33
  value?: ValueProp<number | null>;
77
34
  defaultValue?: DefaultValueProp<number | null>;
78
35
  onValueChange?: OnValueChangeProp<number | null>;
@@ -108,7 +65,7 @@ type NumberInputProp = {
108
65
  * breakpoint at which `horizontal` collapses to `vertical` (mobile-first; `false` = always
109
66
  * horizontal). `columns` lays fields out in a responsive grid (reuses ResponsiveGrid).
110
67
  */
111
- type FormProp = React.FormHTMLAttributes<HTMLFormElement> & {
68
+ export type FormProp = React.FormHTMLAttributes<HTMLFormElement> & {
112
69
  layout?: FormLayoutProp;
113
70
  labelWidth?: WidthProp;
114
71
  controlWidth?: WidthProp;
@@ -119,7 +76,7 @@ type FormProp = React.FormHTMLAttributes<HTMLFormElement> & {
119
76
  className?: ClassNameProp;
120
77
  };
121
78
  /** @see FormField */
122
- type FormFieldProp = {
79
+ export type FormFieldProp = {
123
80
  /** Optional — auto-generated and injected into the child control when omitted. */
124
81
  id?: IdProp;
125
82
  label: LabelProp;
@@ -140,7 +97,7 @@ type FormFieldProp = {
140
97
  children: React.ReactNode;
141
98
  };
142
99
  /** @see SearchInput */
143
- type SearchInputProp = {
100
+ export type SearchInputProp = {
144
101
  id?: IdProp;
145
102
  label?: LabelProp;
146
103
  placeholder?: PlaceholderProp;
@@ -151,16 +108,16 @@ type SearchInputProp = {
151
108
  className?: ClassNameProp;
152
109
  };
153
110
  /** @see Checkbox — extends Radix checkbox root props. */
154
- type CheckboxProp = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
111
+ export type CheckboxProp = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
155
112
  /** Shared option row — Ant Design `CheckboxOptionType`. */
156
- type ChoiceOptionProp = {
113
+ export type ChoiceOptionProp = {
157
114
  label: React.ReactNode;
158
115
  value: string;
159
116
  disabled?: boolean;
160
117
  description?: React.ReactNode;
161
118
  };
162
119
  /** @see Checkbox.Group */
163
- type CheckboxGroupProp = {
120
+ export type CheckboxGroupProp = {
164
121
  value?: ValueProp<string[]>;
165
122
  defaultValue?: DefaultValueProp<string[]>;
166
123
  onValueChange?: OnValueChangeProp<string[]>;
@@ -172,7 +129,7 @@ type CheckboxGroupProp = {
172
129
  children?: React.ReactNode;
173
130
  };
174
131
  /** @see Radio.Group */
175
- type RadioGroupProp = {
132
+ export type RadioGroupProp = {
176
133
  value?: ValueProp;
177
134
  defaultValue?: DefaultValueProp;
178
135
  onValueChange?: OnValueChangeProp;
@@ -184,13 +141,13 @@ type RadioGroupProp = {
184
141
  children?: React.ReactNode;
185
142
  };
186
143
  /** @see Radio.Item — Radix radio group item. */
187
- type RadioProp = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;
144
+ export type RadioProp = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;
188
145
  /** @see Switch — extends Radix switch root props. */
189
- type SwitchProp = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & {
146
+ export type SwitchProp = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & {
190
147
  size?: "sm" | "md";
191
148
  };
192
149
  /** @see Field — inline control + label + description wrapper. */
193
- type FieldProp = {
150
+ export type FieldProp = {
194
151
  id: IdProp;
195
152
  label: LabelProp;
196
153
  description?: React.ReactNode;
@@ -198,11 +155,11 @@ type FieldProp = {
198
155
  children: React.ReactNode;
199
156
  };
200
157
  /** @see Slider — numeric range (Radix Slider). */
201
- type SliderProp = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
158
+ export type SliderProp = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
202
159
  /** @see Calendar — react-day-picker DayPicker. */
203
- type CalendarProp = DayPickerProps;
160
+ export type CalendarProp = DayPickerProps;
204
161
  /** @see DatePicker */
205
- type DatePickerProp = {
162
+ export type DatePickerProp = {
206
163
  value?: ValueProp<Date>;
207
164
  defaultValue?: DefaultValueProp<Date | undefined>;
208
165
  onValueChange?: OnValueChangeProp<Date | undefined>;
@@ -219,7 +176,7 @@ type DatePickerProp = {
219
176
  allowClear?: boolean;
220
177
  };
221
178
  /** @see MonthPicker */
222
- type MonthPickerProp = {
179
+ export type MonthPickerProp = {
223
180
  value?: ValueProp<Date>;
224
181
  defaultValue?: DefaultValueProp<Date | undefined>;
225
182
  onValueChange?: OnValueChangeProp<Date | undefined>;
@@ -239,7 +196,7 @@ type MonthPickerProp = {
239
196
  * @see MonthRangePicker — both edges are normalized to the FIRST day of their month
240
197
  * (the `DateRange` shape is shared with DateRangePicker so ranges interop).
241
198
  */
242
- type MonthRangePickerProp = {
199
+ export type MonthRangePickerProp = {
243
200
  value?: ValueProp<DateRange>;
244
201
  defaultValue?: DefaultValueProp<DateRange | undefined>;
245
202
  onValueChange?: OnValueChangeProp<DateRange | undefined>;
@@ -256,7 +213,7 @@ type MonthRangePickerProp = {
256
213
  allowClear?: boolean;
257
214
  };
258
215
  /** @see DateRangePicker */
259
- type DateRangePickerProp = {
216
+ export type DateRangePickerProp = {
260
217
  value?: ValueProp<DateRange>;
261
218
  defaultValue?: DefaultValueProp<DateRange | undefined>;
262
219
  onValueChange?: OnValueChangeProp<DateRange | undefined>;
@@ -273,7 +230,7 @@ type DateRangePickerProp = {
273
230
  allowClear?: boolean;
274
231
  };
275
232
  /** @see TimePicker — popover HH:mm picker (canonical 24h storage). */
276
- type TimePickerProp = {
233
+ export type TimePickerProp = {
277
234
  value?: ValueProp;
278
235
  defaultValue?: DefaultValueProp;
279
236
  onValueChange?: OnValueChangeProp;
@@ -289,7 +246,7 @@ type TimePickerProp = {
289
246
  allowClear?: boolean;
290
247
  };
291
248
  /** @see ColorPicker */
292
- type ColorPickerProp = {
249
+ export type ColorPickerProp = {
293
250
  value?: ValueProp;
294
251
  onValueChange?: OnValueChangeProp;
295
252
  disabled?: DisabledProp;
@@ -298,7 +255,7 @@ type ColorPickerProp = {
298
255
  showHexInput?: boolean;
299
256
  };
300
257
  /** A SearchSelect option row. `group` buckets it under an optgroup-style heading. */
301
- type SearchSelectOptionProp = {
258
+ export type SearchSelectOptionProp = {
302
259
  value: string;
303
260
  label: string;
304
261
  sublabel?: string;
@@ -311,12 +268,12 @@ type SearchSelectOptionProp = {
311
268
  group?: string;
312
269
  disabled?: boolean;
313
270
  };
314
- type SearchSelectLoadParamsProp = {
271
+ export type SearchSelectLoadParamsProp = {
315
272
  query: string;
316
273
  /** 1-based page for infinite scroll. */
317
274
  page: number;
318
275
  };
319
- type SearchSelectLoadResultProp = {
276
+ export type SearchSelectLoadResultProp = {
320
277
  options: SearchSelectOptionProp[];
321
278
  /** True if another page is available (drives infinite scroll). */
322
279
  hasMore?: boolean;
@@ -325,7 +282,7 @@ type SearchSelectLoadResultProp = {
325
282
  * @see Select — the data-driven entry point (`<Select options|loadOptions showSearch …/>`).
326
283
  * This is the shape of its internal engine (`SelectDataProp` extends it); use `Select` directly.
327
284
  */
328
- type SearchSelectProp = {
285
+ export type SearchSelectProp = {
329
286
  value?: ValueProp;
330
287
  /** Uncontrolled initial value — the trigger shows its option's label at rest (controlled-triad). */
331
288
  defaultValue?: DefaultValueProp;
@@ -374,16 +331,16 @@ type SearchSelectProp = {
374
331
  * async `loadOptions`, with `showSearch` toggling the searchable combobox vs a plain listbox.
375
332
  * Passing `options`/`loadOptions` to `<Select>` switches it from the compound API to this one.
376
333
  */
377
- type SelectDataProp = SearchSelectProp & {
334
+ export type SelectDataProp = SearchSelectProp & {
378
335
  /** Show the search box (combobox). Defaults to true when `loadOptions` is set, otherwise false. */
379
336
  showSearch?: boolean;
380
337
  };
381
338
  /** @see UploadFileItem */
382
- type UploadFileItemProp = UploadFileItem;
339
+ export type UploadFileItemProp = UploadFileItem;
383
340
  /** @see Upload */
384
- type UploadVariantProp = "dropzone" | "button" | "picture-card" | "picture" | "avatar" | "avatar-crop";
341
+ export type UploadVariantProp = "dropzone" | "button" | "picture-card" | "picture" | "avatar" | "avatar-crop";
385
342
  /** @see Upload — presentational; wire `onUpload` to media-service in app api.ts */
386
- type UploadProp = {
343
+ export type UploadProp = {
387
344
  variant?: UploadVariantProp;
388
345
  value?: ValueProp<UploadFileItemProp[]>;
389
346
  defaultValue?: DefaultValueProp<UploadFileItemProp[]>;
@@ -403,7 +360,7 @@ type UploadProp = {
403
360
  children?: React.ReactNode;
404
361
  };
405
362
  /** Tree node — shared by Cascader options & TreeSelect treeData. */
406
- type TreeOptionProp = {
363
+ export type TreeOptionProp = {
407
364
  value: string;
408
365
  label: React.ReactNode;
409
366
  disabled?: boolean;
@@ -411,13 +368,13 @@ type TreeOptionProp = {
411
368
  isLeaf?: boolean;
412
369
  children?: TreeOptionProp[];
413
370
  };
414
- type TreeFieldNamesProp = {
371
+ export type TreeFieldNamesProp = {
415
372
  label?: string;
416
373
  value?: string;
417
374
  children?: string;
418
375
  };
419
376
  /** @see Cascader — cascade picker (Popover + multi-column). */
420
- type CascaderProp = {
377
+ export type CascaderProp = {
421
378
  options: TreeOptionProp[];
422
379
  value?: ValueProp<string[] | string[][]>;
423
380
  defaultValue?: DefaultValueProp<string[] | string[][]>;
@@ -433,9 +390,9 @@ type CascaderProp = {
433
390
  fieldNames?: TreeFieldNamesProp;
434
391
  allowClear?: boolean;
435
392
  };
436
- type ShowCheckedStrategyProp = "SHOW_CHILD" | "SHOW_PARENT" | "SHOW_ALL";
393
+ export type ShowCheckedStrategyProp = "SHOW_CHILD" | "SHOW_PARENT" | "SHOW_ALL";
437
394
  /** @see TreeSelect — tree in Popover (cmdk search + expand/collapse). */
438
- type TreeSelectProp = {
395
+ export type TreeSelectProp = {
439
396
  treeData: TreeOptionProp[];
440
397
  value?: ValueProp<string | string[]>;
441
398
  defaultValue?: DefaultValueProp<string | string[]>;
@@ -454,14 +411,14 @@ type TreeSelectProp = {
454
411
  fieldNames?: TreeFieldNamesProp;
455
412
  };
456
413
  /** @see TransferItem */
457
- type TransferItemProp = {
414
+ export type TransferItemProp = {
458
415
  key: string;
459
416
  title: React.ReactNode;
460
417
  description?: React.ReactNode;
461
418
  disabled?: boolean;
462
419
  };
463
420
  /** @see Transfer — dual-list shuttle (Checkbox + SearchInput). */
464
- type TransferProp = {
421
+ export type TransferProp = {
465
422
  dataSource: TransferItemProp[];
466
423
  targetKeys: string[];
467
424
  onValueChange?: (targetKeys: string[], direction: "left" | "right", moveKeys: string[]) => void;
@@ -473,5 +430,3 @@ type TransferProp = {
473
430
  selectedKeys?: [string[], string[]];
474
431
  onSelectChange?: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
475
432
  };
476
-
477
- export { type UploadVariant as A, type UploadVariantProp as B, type CalendarProp as C, type DatePickerProp as D, collectUploadCommitActions as E, type FieldProp as F, createUploadItem as G, type InputProp as I, type MonthPickerProp as M, type NumberInputProp as N, type RadioGroupProp as R, type SearchInputProp as S, type TextareaProp as T, type UploadCommitAction as U, type CascaderProp as a, type CheckboxGroupProp as b, type CheckboxProp as c, type ChoiceOptionProp as d, type ColorPickerProp as e, type DateRangePickerProp as f, type FormFieldProp as g, type FormProp as h, type MonthRangePickerProp as i, type RadioProp as j, type SearchSelectLoadParamsProp as k, type SearchSelectLoadResultProp as l, type SearchSelectOptionProp as m, type SelectDataProp as n, type ShowCheckedStrategyProp as o, type SliderProp as p, type SwitchProp as q, type TimePickerProp as r, type TransferItemProp as s, type TransferProp as t, type TreeFieldNamesProp as u, type TreeOptionProp as v, type TreeSelectProp as w, type UploadFileItem as x, type UploadFileItemProp as y, type UploadProp as z };
File without changes
@@ -1,12 +1,8 @@
1
- import * as React from 'react';
2
- import { H as HandlerProp, a as ClassNameProp, h as OpenProp, f as OnOpenChangeProp, P as PendingProp, C as ChildrenProp } from './shared.prop-BvMSLFJ6.js';
3
- import { T as TitleProp, D as DescriptionProp, b as ConfirmLabelProp, C as CancelLabelProp, I as IconProp } from './content.prop-DrV_zDy-.js';
4
- import { d as ConfirmVariantProp, A as AlertVariantProp, k as ToneProp } from './interaction.prop-DD46aTro.js';
5
-
6
1
  /** Feedback component prop types — @see docs/COMPONENTS.md#feedback */
7
-
2
+ import type * as React from "react";
3
+ import type { AlertVariantProp, CancelLabelProp, ChildrenProp, ClassNameProp, ConfirmLabelProp, ConfirmVariantProp, DescriptionProp, HandlerProp, IconProp, OpenProp, OnOpenChangeProp, PendingProp, ToneProp, TitleProp } from "../vocabulary";
8
4
  /** @see AlertDialog */
9
- type AlertDialogProp = {
5
+ export type AlertDialogProp = {
10
6
  open: OpenProp;
11
7
  onOpenChange: OnOpenChangeProp;
12
8
  title: TitleProp;
@@ -21,13 +17,13 @@ type AlertDialogProp = {
21
17
  pending?: PendingProp;
22
18
  };
23
19
  /** @see Alert */
24
- type AlertQueryErrorProp = {
20
+ export type AlertQueryErrorProp = {
25
21
  error: unknown;
26
22
  onRetry?: HandlerProp;
27
23
  className?: ClassNameProp;
28
24
  };
29
25
  /** @see Alert */
30
- type AlertProp = React.HTMLAttributes<HTMLDivElement> & {
26
+ export type AlertProp = React.HTMLAttributes<HTMLDivElement> & {
31
27
  variant?: AlertVariantProp;
32
28
  tone?: ToneProp;
33
29
  /** Pass `false` to hide the default variant icon. */
@@ -37,29 +33,27 @@ type AlertProp = React.HTMLAttributes<HTMLDivElement> & {
37
33
  children?: ChildrenProp;
38
34
  };
39
35
  /** @see AlertTitle */
40
- type AlertTitleProp = React.HTMLAttributes<HTMLParagraphElement> & {
36
+ export type AlertTitleProp = React.HTMLAttributes<HTMLParagraphElement> & {
41
37
  className?: ClassNameProp;
42
38
  children?: ChildrenProp;
43
39
  };
44
40
  /** @see AlertContent — groups title + description; pairs with {@link AlertActions}. */
45
- type AlertContentProp = React.HTMLAttributes<HTMLDivElement> & {
41
+ export type AlertContentProp = React.HTMLAttributes<HTMLDivElement> & {
46
42
  className?: ClassNameProp;
47
43
  children?: ChildrenProp;
48
44
  };
49
45
  /** @see AlertDescription */
50
- type AlertDescriptionProp = React.HTMLAttributes<HTMLParagraphElement> & {
46
+ export type AlertDescriptionProp = React.HTMLAttributes<HTMLParagraphElement> & {
51
47
  className?: ClassNameProp;
52
48
  children?: ChildrenProp;
53
49
  };
54
50
  /** @see AlertActions */
55
- type AlertActionsProp = React.HTMLAttributes<HTMLDivElement> & {
51
+ export type AlertActionsProp = React.HTMLAttributes<HTMLDivElement> & {
56
52
  className?: ClassNameProp;
57
53
  children?: ChildrenProp;
58
54
  };
59
55
  /** @see SkeletonRows */
60
- type SkeletonRowsProp = {
56
+ export type SkeletonRowsProp = {
61
57
  rows?: number;
62
58
  columns?: number;
63
59
  };
64
-
65
- export type { AlertActionsProp as A, SkeletonRowsProp as S, AlertContentProp as a, AlertDescriptionProp as b, AlertDialogProp as c, AlertProp as d, AlertQueryErrorProp as e, AlertTitleProp as f };
File without changes
@@ -1,18 +1,16 @@
1
- import * as React from 'react';
2
- import { FieldValues, FieldPath, UseFormReturn, UseFormProps } from 'react-hook-form';
3
- import { z } from 'zod';
4
- import { E as ErrorProp, L as LabelProp, R as RequiredProp, d as HelperProp, I as IdProp } from './shared.prop-BvMSLFJ6.js';
5
-
6
1
  /** Form module prop types — react-hook-form + Zod 4 only. */
7
-
2
+ import type * as React from "react";
3
+ import type { FieldPath, FieldValues, UseFormProps, UseFormReturn } from "react-hook-form";
4
+ import type { z } from "zod";
5
+ import type { ErrorProp, HelperProp, IdProp, LabelProp, RequiredProp } from "../vocabulary";
8
6
  /** Schema passed to useZodForm — must be Zod 4 object schema. */
9
- type ZodSchemaProp<T extends z.ZodType = z.ZodType> = T;
7
+ export type ZodSchemaProp<T extends z.ZodType = z.ZodType> = T;
10
8
  /** Options for useZodForm (resolver injected automatically). */
11
- type UseZodFormOptionsProp<TFieldValues extends FieldValues> = Omit<UseFormProps<TFieldValues>, "resolver">;
9
+ export type UseZodFormOptionsProp<TFieldValues extends FieldValues> = Omit<UseFormProps<TFieldValues>, "resolver">;
12
10
  /** Return type of useZodForm. */
13
- type UseZodFormReturnProp<TFieldValues extends FieldValues> = UseFormReturn<TFieldValues>;
11
+ export type UseZodFormReturnProp<TFieldValues extends FieldValues> = UseFormReturn<TFieldValues>;
14
12
  /** @see FormRoot */
15
- type FormRootProp<TFieldValues extends FieldValues> = {
13
+ export type FormRootProp<TFieldValues extends FieldValues> = {
16
14
  form: UseZodFormReturnProp<TFieldValues>;
17
15
  onSubmit: (values: TFieldValues) => void | Promise<void>;
18
16
  children: React.ReactNode;
@@ -20,7 +18,7 @@ type FormRootProp<TFieldValues extends FieldValues> = {
20
18
  id?: IdProp;
21
19
  };
22
20
  /** @see FormFieldControl */
23
- type FormFieldControlProp<TFieldValues extends FieldValues> = {
21
+ export type FormFieldControlProp<TFieldValues extends FieldValues> = {
24
22
  name: FieldPath<TFieldValues>;
25
23
  label: LabelProp;
26
24
  required?: RequiredProp;
@@ -36,6 +34,4 @@ type FormFieldControlProp<TFieldValues extends FieldValues> = {
36
34
  }) => React.ReactNode;
37
35
  };
38
36
  /** Mapped field error from RHF — displayed via FormField error slot. */
39
- type FieldErrorMessageProp = ErrorProp;
40
-
41
- export type { FieldErrorMessageProp as F, UseZodFormOptionsProp as U, ZodSchemaProp as Z, FormFieldControlProp as a, FormRootProp as b, UseZodFormReturnProp as c };
37
+ export type FieldErrorMessageProp = ErrorProp;
File without changes
@@ -1,11 +1,8 @@
1
- import * as React from 'react';
2
- import { A as AsChildProp, e as OnClickProp, c as DisabledProp, P as PendingProp } from './shared.prop-BvMSLFJ6.js';
3
- import { c as ButtonVariantProp, b as ButtonSizeProp, S as ShapeProp, H as HeadingLevelProp, j as TextToneProp, T as TextAlignProp, i as TextSizeProp, F as FontWeightProp } from './interaction.prop-DD46aTro.js';
4
-
5
1
  /** Foundation component prop types — @see docs/COMPONENTS.md#foundation */
6
-
2
+ import type * as React from "react";
3
+ import type { AsChildProp, ButtonSizeProp, ButtonVariantProp, DisabledProp, FontWeightProp, HeadingLevelProp, OnClickProp, PendingProp, ShapeProp, TextAlignProp, TextSizeProp, TextToneProp } from "../vocabulary";
7
4
  /** @see Text — typographic primitive; replaces hand-rolled `<span className="text-[13px] …">`. */
8
- type TextProp = Omit<React.HTMLAttributes<HTMLElement>, "color"> & {
5
+ export type TextProp = Omit<React.HTMLAttributes<HTMLElement>, "color"> & {
9
6
  /** Render element. Default `span`. Covers inline/block text + description-list + code/caption. */
10
7
  as?: "span" | "p" | "div" | "label" | "strong" | "em" | "small" | "code" | "kbd" | "dt" | "dd" | "caption" | "abbr";
11
8
  /** Size from the type scale — never an arbitrary px. Default `sm` (base). */
@@ -24,7 +21,7 @@ type TextProp = Omit<React.HTMLAttributes<HTMLElement>, "color"> & {
24
21
  htmlFor?: string;
25
22
  };
26
23
  /** @see Heading — h1..h4 sized from the `--heading-h*` tokens. */
27
- type HeadingProp = Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
24
+ export type HeadingProp = Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
28
25
  /** Heading level — sets size token AND the semantic element (override the element with `as`). */
29
26
  level?: HeadingLevelProp;
30
27
  as?: "h1" | "h2" | "h3" | "h4" | "div";
@@ -33,7 +30,7 @@ type HeadingProp = Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
33
30
  truncate?: boolean;
34
31
  };
35
32
  /** @see Button */
36
- type ButtonProp = React.ButtonHTMLAttributes<HTMLButtonElement> & {
33
+ export type ButtonProp = React.ButtonHTMLAttributes<HTMLButtonElement> & {
37
34
  variant?: ButtonVariantProp;
38
35
  size?: ButtonSizeProp;
39
36
  /** Corner shape — `default` (control radius) · `pill` (fully rounded) · `sharp` (square). */
@@ -67,5 +64,3 @@ type ButtonProp = React.ButtonHTMLAttributes<HTMLButtonElement> & {
67
64
  */
68
65
  showZero?: boolean;
69
66
  };
70
-
71
- export type { ButtonProp as B, HeadingProp as H, TextProp as T };
File without changes