@vavt/react-ui 1.0.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 (591) hide show
  1. package/README.md +137 -0
  2. package/dist/Alert-BGyLKuv0.js +52 -0
  3. package/dist/Alert-tPSJmCXK.cjs +1 -0
  4. package/dist/Anchor-QZROepM_.js +197 -0
  5. package/dist/Anchor-iriRYxEs.cjs +1 -0
  6. package/dist/Announcement-D_NccvTm.js +212 -0
  7. package/dist/Announcement-XjJyJ28N.cjs +1 -0
  8. package/dist/Button-CwkWSWau.js +96 -0
  9. package/dist/Button-qURrKHQ0.cjs +1 -0
  10. package/dist/Card-DlztNV-6.js +48 -0
  11. package/dist/Card-nILlh9c_.cjs +1 -0
  12. package/dist/Checkbox-BCXbK1-8.cjs +1 -0
  13. package/dist/Checkbox-CQZSg9Xu.cjs +1 -0
  14. package/dist/Checkbox-CQeqLO0S.js +46 -0
  15. package/dist/Checkbox-cnXHW9Oz.js +61 -0
  16. package/dist/Col-CZjR94ac.js +55 -0
  17. package/dist/Col-qcq7T83y.cjs +1 -0
  18. package/dist/Cron-CoO2Vnnm.cjs +1 -0
  19. package/dist/Cron-Di7k2FTL.js +1187 -0
  20. package/dist/DatePicker-DAxv2h-d.cjs +1 -0
  21. package/dist/DatePicker-M-MwejjV.js +15 -0
  22. package/dist/DateTimePicker-B3C3v99L.cjs +1 -0
  23. package/dist/DateTimePicker-BcT3FtN-.js +16 -0
  24. package/dist/Divider-BfvQ6BVP.cjs +1 -0
  25. package/dist/Divider-vyftxh3F.js +47 -0
  26. package/dist/Drawer-D28QbyA3.js +103 -0
  27. package/dist/Drawer-OmMfdgKN.cjs +1 -0
  28. package/dist/Dropdown-CYx6RxVv.js +311 -0
  29. package/dist/Dropdown-swfND4yK.cjs +1 -0
  30. package/dist/Form-7un_DeDk.cjs +1 -0
  31. package/dist/Form-CwgaAZWr.js +323 -0
  32. package/dist/Input-CIB_TY2n.js +113 -0
  33. package/dist/Input-CoDZggqc.cjs +1 -0
  34. package/dist/Loading-C2pY-4fA.cjs +1 -0
  35. package/dist/Loading-CL0wUgYK.js +45 -0
  36. package/dist/MessageBox-CrIifoig.js +141 -0
  37. package/dist/MessageBox-Ddn-R2MS.cjs +1 -0
  38. package/dist/Modal-B_VqN16m.js +201 -0
  39. package/dist/Modal-Dm48HmGu.cjs +1 -0
  40. package/dist/NumberInput-CYVj89_s.cjs +1 -0
  41. package/dist/NumberInput-C_vLULbX.js +134 -0
  42. package/dist/Pagination-B7a9v6BU.js +167 -0
  43. package/dist/Pagination-mj-pO6ql.cjs +1 -0
  44. package/dist/Progress-D2C6LCml.js +40 -0
  45. package/dist/Progress-DTAjlgwZ.cjs +1 -0
  46. package/dist/RadioGroup-BRcNi5Oc.js +98 -0
  47. package/dist/RadioGroup-q2Aa50NV.cjs +1 -0
  48. package/dist/Row-BJZtEKxG.cjs +1 -0
  49. package/dist/Row-DpEse7PJ.js +24 -0
  50. package/dist/Scrollbar-BdMGZrYi.js +235 -0
  51. package/dist/Scrollbar-CEQT6Ao_.cjs +1 -0
  52. package/dist/Select-DQLup8Y-.cjs +1 -0
  53. package/dist/Select-DccM9YpB.js +458 -0
  54. package/dist/Sidebar-BPXVnP7y.cjs +1 -0
  55. package/dist/Sidebar-u980T-QB.js +76 -0
  56. package/dist/Slider-BzlZc0p4.js +256 -0
  57. package/dist/Slider-DCIUxcBa.cjs +1 -0
  58. package/dist/Space-DJGRG2rt.cjs +1 -0
  59. package/dist/Space-gnVH7rEt.js +35 -0
  60. package/dist/Switch-7yJ-Q_o_.cjs +1 -0
  61. package/dist/Switch-DOO2tiYR.js +58 -0
  62. package/dist/Table-C8cSyts5.js +440 -0
  63. package/dist/Table-JoJ9vpu-.cjs +1 -0
  64. package/dist/Tabs-BhjvKN84.cjs +1 -0
  65. package/dist/Tabs-VT6nQ63W.js +106 -0
  66. package/dist/Tag-Cf9M_HT6.cjs +1 -0
  67. package/dist/Tag-CkfqoSwA.js +42 -0
  68. package/dist/Textarea-BEd7ToXv.js +68 -0
  69. package/dist/Textarea-C2dNYM0F.cjs +1 -0
  70. package/dist/TimePicker-ClQCHa6M.js +199 -0
  71. package/dist/TimePicker-DNBo2Rn5.cjs +1 -0
  72. package/dist/Timeline-ROggEQnD.cjs +1 -0
  73. package/dist/Timeline-euWvUS4e.js +70 -0
  74. package/dist/Tooltip-CbPYYr6R.cjs +1 -0
  75. package/dist/Tooltip-Ds4Odm7K.js +197 -0
  76. package/dist/Transition-DiO4GsP3.js +125 -0
  77. package/dist/Transition-X_89ga-e.cjs +1 -0
  78. package/dist/base.css +1 -0
  79. package/dist/cjs/Alert.cjs +1 -0
  80. package/dist/cjs/Anchor.cjs +1 -0
  81. package/dist/cjs/Announcement.cjs +1 -0
  82. package/dist/cjs/Button.cjs +1 -0
  83. package/dist/cjs/Card.cjs +1 -0
  84. package/dist/cjs/Checkbox.cjs +1 -0
  85. package/dist/cjs/Col.cjs +1 -0
  86. package/dist/cjs/Cron.cjs +1 -0
  87. package/dist/cjs/DatePicker.cjs +1 -0
  88. package/dist/cjs/DateTimePicker.cjs +1 -0
  89. package/dist/cjs/Divider.cjs +1 -0
  90. package/dist/cjs/Drawer.cjs +1 -0
  91. package/dist/cjs/Dropdown.cjs +1 -0
  92. package/dist/cjs/Form.cjs +1 -0
  93. package/dist/cjs/Input.cjs +1 -0
  94. package/dist/cjs/Loading.cjs +1 -0
  95. package/dist/cjs/MessageBox.cjs +1 -0
  96. package/dist/cjs/Modal.cjs +1 -0
  97. package/dist/cjs/NumberInput.cjs +1 -0
  98. package/dist/cjs/Pagination.cjs +1 -0
  99. package/dist/cjs/Progress.cjs +1 -0
  100. package/dist/cjs/Radio.cjs +1 -0
  101. package/dist/cjs/Row.cjs +1 -0
  102. package/dist/cjs/Scrollbar.cjs +1 -0
  103. package/dist/cjs/Select.cjs +1 -0
  104. package/dist/cjs/Sidebar.cjs +1 -0
  105. package/dist/cjs/Slider.cjs +1 -0
  106. package/dist/cjs/Space.cjs +1 -0
  107. package/dist/cjs/Switch.cjs +1 -0
  108. package/dist/cjs/Table.cjs +1 -0
  109. package/dist/cjs/Tabs.cjs +1 -0
  110. package/dist/cjs/Tag.cjs +1 -0
  111. package/dist/cjs/Textarea.cjs +1 -0
  112. package/dist/cjs/TimePicker.cjs +1 -0
  113. package/dist/cjs/Timeline.cjs +1 -0
  114. package/dist/cjs/Tooltip.cjs +1 -0
  115. package/dist/cjs/Transition.cjs +1 -0
  116. package/dist/cjs/global.cjs +1 -0
  117. package/dist/cjs/index.cjs +1 -0
  118. package/dist/cjs/register.cjs +1 -0
  119. package/dist/client-BkoqeUs3.cjs +1 -0
  120. package/dist/client-pj_wzx28.js +8 -0
  121. package/dist/css/Alert.css +1 -0
  122. package/dist/css/Anchor.css +1 -0
  123. package/dist/css/Announcement.css +1 -0
  124. package/dist/css/Button.css +1 -0
  125. package/dist/css/Card.css +1 -0
  126. package/dist/css/Checkbox.css +1 -0
  127. package/dist/css/Col.css +1 -0
  128. package/dist/css/Cron.css +1 -0
  129. package/dist/css/DatePicker.css +1 -0
  130. package/dist/css/DateTimePicker.css +1 -0
  131. package/dist/css/Divider.css +1 -0
  132. package/dist/css/Drawer.css +1 -0
  133. package/dist/css/Dropdown.css +1 -0
  134. package/dist/css/Form.css +1 -0
  135. package/dist/css/Input.css +1 -0
  136. package/dist/css/Loading.css +1 -0
  137. package/dist/css/MessageBox.css +1 -0
  138. package/dist/css/Modal.css +1 -0
  139. package/dist/css/NumberInput.css +1 -0
  140. package/dist/css/Pagination.css +1 -0
  141. package/dist/css/Progress.css +1 -0
  142. package/dist/css/Radio.css +1 -0
  143. package/dist/css/Row.css +1 -0
  144. package/dist/css/Scrollbar.css +1 -0
  145. package/dist/css/Select.css +1 -0
  146. package/dist/css/Sidebar.css +1 -0
  147. package/dist/css/Slider.css +1 -0
  148. package/dist/css/Space.css +1 -0
  149. package/dist/css/Switch.css +1 -0
  150. package/dist/css/Table.css +1 -0
  151. package/dist/css/Tabs.css +1 -0
  152. package/dist/css/Tag.css +1 -0
  153. package/dist/css/Textarea.css +1 -0
  154. package/dist/css/TimePicker.css +1 -0
  155. package/dist/css/Timeline.css +1 -0
  156. package/dist/css/Tooltip.css +1 -0
  157. package/dist/css/Transition.css +0 -0
  158. package/dist/date-picker-DkRwNu2m.js +584 -0
  159. package/dist/date-picker-DyGLrw5H.cjs +1 -0
  160. package/dist/dialog-shell-DT1EoKQG.cjs +1 -0
  161. package/dist/dialog-shell-DehX3PNh.js +111 -0
  162. package/dist/effect-BpNxm_06.cjs +1 -0
  163. package/dist/effect-nifYL_rH.js +5 -0
  164. package/dist/es/Alert.mjs +3 -0
  165. package/dist/es/Anchor.mjs +3 -0
  166. package/dist/es/Announcement.mjs +3 -0
  167. package/dist/es/Button.mjs +3 -0
  168. package/dist/es/Card.mjs +3 -0
  169. package/dist/es/Checkbox.mjs +3 -0
  170. package/dist/es/Col.mjs +3 -0
  171. package/dist/es/Cron.mjs +3 -0
  172. package/dist/es/DatePicker.mjs +3 -0
  173. package/dist/es/DateTimePicker.mjs +3 -0
  174. package/dist/es/Divider.mjs +3 -0
  175. package/dist/es/Drawer.mjs +3 -0
  176. package/dist/es/Dropdown.mjs +3 -0
  177. package/dist/es/Form.mjs +3 -0
  178. package/dist/es/Input.mjs +3 -0
  179. package/dist/es/Loading.mjs +3 -0
  180. package/dist/es/MessageBox.mjs +3 -0
  181. package/dist/es/Modal.mjs +3 -0
  182. package/dist/es/NumberInput.mjs +3 -0
  183. package/dist/es/Pagination.mjs +3 -0
  184. package/dist/es/Progress.mjs +3 -0
  185. package/dist/es/Radio.mjs +6 -0
  186. package/dist/es/Row.mjs +6 -0
  187. package/dist/es/Scrollbar.mjs +3 -0
  188. package/dist/es/Select.mjs +3 -0
  189. package/dist/es/Sidebar.mjs +3 -0
  190. package/dist/es/Slider.mjs +3 -0
  191. package/dist/es/Space.mjs +3 -0
  192. package/dist/es/Switch.mjs +3 -0
  193. package/dist/es/Table.mjs +3 -0
  194. package/dist/es/Tabs.mjs +3 -0
  195. package/dist/es/Tag.mjs +3 -0
  196. package/dist/es/Textarea.mjs +3 -0
  197. package/dist/es/TimePicker.mjs +3 -0
  198. package/dist/es/Timeline.mjs +3 -0
  199. package/dist/es/Tooltip.mjs +3 -0
  200. package/dist/es/Transition.mjs +3 -0
  201. package/dist/es/global.mjs +3 -0
  202. package/dist/es/index.mjs +40 -0
  203. package/dist/es/register.mjs +7 -0
  204. package/dist/floating-DBAmeQIq.js +157 -0
  205. package/dist/floating-DXRnx48N.cjs +1 -0
  206. package/dist/focus-BDDJyKk3.js +9 -0
  207. package/dist/focus-D-h8CbGr.cjs +1 -0
  208. package/dist/icon-Cbvuv4yF.js +25 -0
  209. package/dist/icon-DRLyKu8p.cjs +1 -0
  210. package/dist/id-CF0zOP1G.cjs +1 -0
  211. package/dist/id-CHixuHb7.js +8 -0
  212. package/dist/index.css +1 -0
  213. package/dist/number-B7qJF_ZY.cjs +1 -0
  214. package/dist/number-BN2jHM6Z.js +6 -0
  215. package/dist/refs-D5IYOBaf.js +14 -0
  216. package/dist/refs-DCqd87V8.cjs +1 -0
  217. package/dist/registry-CkiH1x-J.js +79 -0
  218. package/dist/registry-YCz7D-2R.cjs +1 -0
  219. package/dist/state-ZBA75xZ_.cjs +1 -0
  220. package/dist/state-oH-YwB7_.js +15 -0
  221. package/dist/style/Alert.cjs +7 -0
  222. package/dist/style/Alert.mjs +7 -0
  223. package/dist/style/Anchor.cjs +7 -0
  224. package/dist/style/Anchor.mjs +7 -0
  225. package/dist/style/Announcement.cjs +7 -0
  226. package/dist/style/Announcement.mjs +7 -0
  227. package/dist/style/Button.cjs +7 -0
  228. package/dist/style/Button.mjs +7 -0
  229. package/dist/style/Card.cjs +7 -0
  230. package/dist/style/Card.mjs +7 -0
  231. package/dist/style/Checkbox.cjs +7 -0
  232. package/dist/style/Checkbox.mjs +7 -0
  233. package/dist/style/Col.cjs +7 -0
  234. package/dist/style/Col.mjs +7 -0
  235. package/dist/style/Cron.cjs +13 -0
  236. package/dist/style/Cron.mjs +13 -0
  237. package/dist/style/DatePicker.cjs +10 -0
  238. package/dist/style/DatePicker.mjs +10 -0
  239. package/dist/style/DateTimePicker.cjs +10 -0
  240. package/dist/style/DateTimePicker.mjs +10 -0
  241. package/dist/style/Divider.cjs +7 -0
  242. package/dist/style/Divider.mjs +7 -0
  243. package/dist/style/Drawer.cjs +8 -0
  244. package/dist/style/Drawer.mjs +8 -0
  245. package/dist/style/Dropdown.cjs +8 -0
  246. package/dist/style/Dropdown.mjs +8 -0
  247. package/dist/style/Form.cjs +7 -0
  248. package/dist/style/Form.mjs +7 -0
  249. package/dist/style/Input.cjs +7 -0
  250. package/dist/style/Input.mjs +7 -0
  251. package/dist/style/Loading.cjs +8 -0
  252. package/dist/style/Loading.mjs +8 -0
  253. package/dist/style/MessageBox.cjs +9 -0
  254. package/dist/style/MessageBox.mjs +9 -0
  255. package/dist/style/Modal.cjs +8 -0
  256. package/dist/style/Modal.mjs +8 -0
  257. package/dist/style/NumberInput.cjs +7 -0
  258. package/dist/style/NumberInput.mjs +7 -0
  259. package/dist/style/Pagination.cjs +7 -0
  260. package/dist/style/Pagination.mjs +7 -0
  261. package/dist/style/Progress.cjs +7 -0
  262. package/dist/style/Progress.mjs +7 -0
  263. package/dist/style/Radio.cjs +7 -0
  264. package/dist/style/Radio.mjs +7 -0
  265. package/dist/style/Row.cjs +7 -0
  266. package/dist/style/Row.mjs +7 -0
  267. package/dist/style/Scrollbar.cjs +7 -0
  268. package/dist/style/Scrollbar.mjs +7 -0
  269. package/dist/style/Select.cjs +8 -0
  270. package/dist/style/Select.mjs +8 -0
  271. package/dist/style/Sidebar.cjs +7 -0
  272. package/dist/style/Sidebar.mjs +7 -0
  273. package/dist/style/Slider.cjs +7 -0
  274. package/dist/style/Slider.mjs +7 -0
  275. package/dist/style/Space.cjs +7 -0
  276. package/dist/style/Space.mjs +7 -0
  277. package/dist/style/Switch.cjs +7 -0
  278. package/dist/style/Switch.mjs +7 -0
  279. package/dist/style/Table.cjs +9 -0
  280. package/dist/style/Table.mjs +9 -0
  281. package/dist/style/Tabs.cjs +7 -0
  282. package/dist/style/Tabs.mjs +7 -0
  283. package/dist/style/Tag.cjs +7 -0
  284. package/dist/style/Tag.mjs +7 -0
  285. package/dist/style/Textarea.cjs +7 -0
  286. package/dist/style/Textarea.mjs +7 -0
  287. package/dist/style/TimePicker.cjs +8 -0
  288. package/dist/style/TimePicker.mjs +8 -0
  289. package/dist/style/Timeline.cjs +7 -0
  290. package/dist/style/Timeline.mjs +7 -0
  291. package/dist/style/Tooltip.cjs +8 -0
  292. package/dist/style/Tooltip.mjs +8 -0
  293. package/dist/style/Transition.cjs +6 -0
  294. package/dist/style/Transition.mjs +6 -0
  295. package/dist/time-wheel-BaCcA9nk.cjs +1 -0
  296. package/dist/time-wheel-BtvYZI6H.js +291 -0
  297. package/dist/types/Alert/Alert.d.cts +3 -0
  298. package/dist/types/Alert/Alert.d.ts +3 -0
  299. package/dist/types/Alert/index.d.cts +5 -0
  300. package/dist/types/Alert/index.d.ts +5 -0
  301. package/dist/types/Alert/type.d.cts +21 -0
  302. package/dist/types/Alert/type.d.ts +21 -0
  303. package/dist/types/Anchor/Anchor.d.cts +3 -0
  304. package/dist/types/Anchor/Anchor.d.ts +3 -0
  305. package/dist/types/Anchor/index.d.cts +5 -0
  306. package/dist/types/Anchor/index.d.ts +5 -0
  307. package/dist/types/Anchor/type.d.cts +42 -0
  308. package/dist/types/Anchor/type.d.ts +42 -0
  309. package/dist/types/Announcement/Announcement.d.cts +3 -0
  310. package/dist/types/Announcement/Announcement.d.ts +3 -0
  311. package/dist/types/Announcement/host.d.cts +12 -0
  312. package/dist/types/Announcement/host.d.ts +12 -0
  313. package/dist/types/Announcement/index.d.cts +5 -0
  314. package/dist/types/Announcement/index.d.ts +5 -0
  315. package/dist/types/Announcement/type.d.cts +63 -0
  316. package/dist/types/Announcement/type.d.ts +63 -0
  317. package/dist/types/Button/Button.d.cts +23 -0
  318. package/dist/types/Button/Button.d.ts +23 -0
  319. package/dist/types/Button/ButtonGroup.d.cts +14 -0
  320. package/dist/types/Button/ButtonGroup.d.ts +14 -0
  321. package/dist/types/Button/context.d.cts +15 -0
  322. package/dist/types/Button/context.d.ts +15 -0
  323. package/dist/types/Button/index.d.cts +7 -0
  324. package/dist/types/Button/index.d.ts +7 -0
  325. package/dist/types/Button/type.d.cts +66 -0
  326. package/dist/types/Button/type.d.ts +66 -0
  327. package/dist/types/Card/Card.d.cts +15 -0
  328. package/dist/types/Card/Card.d.ts +15 -0
  329. package/dist/types/Card/index.d.cts +5 -0
  330. package/dist/types/Card/index.d.ts +5 -0
  331. package/dist/types/Card/type.d.cts +40 -0
  332. package/dist/types/Card/type.d.ts +40 -0
  333. package/dist/types/Checkbox/Checkbox.d.cts +3 -0
  334. package/dist/types/Checkbox/Checkbox.d.ts +3 -0
  335. package/dist/types/Checkbox/CheckboxGroup.d.cts +3 -0
  336. package/dist/types/Checkbox/CheckboxGroup.d.ts +3 -0
  337. package/dist/types/Checkbox/context.d.cts +19 -0
  338. package/dist/types/Checkbox/context.d.ts +19 -0
  339. package/dist/types/Checkbox/index.d.cts +7 -0
  340. package/dist/types/Checkbox/index.d.ts +7 -0
  341. package/dist/types/Checkbox/type.d.cts +55 -0
  342. package/dist/types/Checkbox/type.d.ts +55 -0
  343. package/dist/types/Col/Col.d.cts +3 -0
  344. package/dist/types/Col/Col.d.ts +3 -0
  345. package/dist/types/Col/index.d.cts +5 -0
  346. package/dist/types/Col/index.d.ts +5 -0
  347. package/dist/types/Col/type.d.cts +41 -0
  348. package/dist/types/Col/type.d.ts +41 -0
  349. package/dist/types/Cron/Cron.d.cts +3 -0
  350. package/dist/types/Cron/Cron.d.ts +3 -0
  351. package/dist/types/Cron/CronField.d.cts +14 -0
  352. package/dist/types/Cron/CronField.d.ts +14 -0
  353. package/dist/types/Cron/CronPanel.d.cts +27 -0
  354. package/dist/types/Cron/CronPanel.d.ts +27 -0
  355. package/dist/types/Cron/describe.d.cts +10 -0
  356. package/dist/types/Cron/describe.d.ts +10 -0
  357. package/dist/types/Cron/expression.d.cts +188 -0
  358. package/dist/types/Cron/expression.d.ts +188 -0
  359. package/dist/types/Cron/index.d.cts +5 -0
  360. package/dist/types/Cron/index.d.ts +5 -0
  361. package/dist/types/Cron/schedule.d.cts +15 -0
  362. package/dist/types/Cron/schedule.d.ts +15 -0
  363. package/dist/types/Cron/type.d.cts +65 -0
  364. package/dist/types/Cron/type.d.ts +65 -0
  365. package/dist/types/DatePicker/DatePicker.d.cts +3 -0
  366. package/dist/types/DatePicker/DatePicker.d.ts +3 -0
  367. package/dist/types/DatePicker/index.d.cts +5 -0
  368. package/dist/types/DatePicker/index.d.ts +5 -0
  369. package/dist/types/DatePicker/type.d.cts +89 -0
  370. package/dist/types/DatePicker/type.d.ts +89 -0
  371. package/dist/types/DateTimePicker/DateTimePicker.d.cts +3 -0
  372. package/dist/types/DateTimePicker/DateTimePicker.d.ts +3 -0
  373. package/dist/types/DateTimePicker/index.d.cts +5 -0
  374. package/dist/types/DateTimePicker/index.d.ts +5 -0
  375. package/dist/types/DateTimePicker/type.d.cts +64 -0
  376. package/dist/types/DateTimePicker/type.d.ts +64 -0
  377. package/dist/types/Divider/Divider.d.cts +3 -0
  378. package/dist/types/Divider/Divider.d.ts +3 -0
  379. package/dist/types/Divider/index.d.cts +5 -0
  380. package/dist/types/Divider/index.d.ts +5 -0
  381. package/dist/types/Divider/type.d.cts +20 -0
  382. package/dist/types/Divider/type.d.ts +20 -0
  383. package/dist/types/Drawer/Drawer.d.cts +3 -0
  384. package/dist/types/Drawer/Drawer.d.ts +3 -0
  385. package/dist/types/Drawer/index.d.cts +5 -0
  386. package/dist/types/Drawer/index.d.ts +5 -0
  387. package/dist/types/Drawer/type.d.cts +46 -0
  388. package/dist/types/Drawer/type.d.ts +46 -0
  389. package/dist/types/Dropdown/Dropdown.d.cts +3 -0
  390. package/dist/types/Dropdown/Dropdown.d.ts +3 -0
  391. package/dist/types/Dropdown/index.d.cts +5 -0
  392. package/dist/types/Dropdown/index.d.ts +5 -0
  393. package/dist/types/Dropdown/type.d.cts +67 -0
  394. package/dist/types/Dropdown/type.d.ts +67 -0
  395. package/dist/types/Form/Form.d.cts +3 -0
  396. package/dist/types/Form/Form.d.ts +3 -0
  397. package/dist/types/Form/FormItem.d.cts +3 -0
  398. package/dist/types/Form/FormItem.d.ts +3 -0
  399. package/dist/types/Form/context.d.cts +39 -0
  400. package/dist/types/Form/context.d.ts +39 -0
  401. package/dist/types/Form/index.d.cts +8 -0
  402. package/dist/types/Form/index.d.ts +8 -0
  403. package/dist/types/Form/type.d.cts +119 -0
  404. package/dist/types/Form/type.d.ts +119 -0
  405. package/dist/types/Input/Input.d.cts +3 -0
  406. package/dist/types/Input/Input.d.ts +3 -0
  407. package/dist/types/Input/index.d.cts +5 -0
  408. package/dist/types/Input/index.d.ts +5 -0
  409. package/dist/types/Input/type.d.cts +43 -0
  410. package/dist/types/Input/type.d.ts +43 -0
  411. package/dist/types/Loading/Loading.d.cts +3 -0
  412. package/dist/types/Loading/Loading.d.ts +3 -0
  413. package/dist/types/Loading/index.d.cts +5 -0
  414. package/dist/types/Loading/index.d.ts +5 -0
  415. package/dist/types/Loading/type.d.cts +18 -0
  416. package/dist/types/Loading/type.d.ts +18 -0
  417. package/dist/types/MessageBox/MessageBox.d.cts +3 -0
  418. package/dist/types/MessageBox/MessageBox.d.ts +3 -0
  419. package/dist/types/MessageBox/index.d.cts +5 -0
  420. package/dist/types/MessageBox/index.d.ts +5 -0
  421. package/dist/types/MessageBox/service.d.cts +12 -0
  422. package/dist/types/MessageBox/service.d.ts +12 -0
  423. package/dist/types/MessageBox/type.d.cts +62 -0
  424. package/dist/types/MessageBox/type.d.ts +62 -0
  425. package/dist/types/Modal/Modal.d.cts +3 -0
  426. package/dist/types/Modal/Modal.d.ts +3 -0
  427. package/dist/types/Modal/index.d.cts +5 -0
  428. package/dist/types/Modal/index.d.ts +5 -0
  429. package/dist/types/Modal/type.d.cts +50 -0
  430. package/dist/types/Modal/type.d.ts +50 -0
  431. package/dist/types/NumberInput/NumberInput.d.cts +3 -0
  432. package/dist/types/NumberInput/NumberInput.d.ts +3 -0
  433. package/dist/types/NumberInput/index.d.cts +5 -0
  434. package/dist/types/NumberInput/index.d.ts +5 -0
  435. package/dist/types/NumberInput/type.d.cts +40 -0
  436. package/dist/types/NumberInput/type.d.ts +40 -0
  437. package/dist/types/Pagination/Pagination.d.cts +3 -0
  438. package/dist/types/Pagination/Pagination.d.ts +3 -0
  439. package/dist/types/Pagination/index.d.cts +5 -0
  440. package/dist/types/Pagination/index.d.ts +5 -0
  441. package/dist/types/Pagination/type.d.cts +38 -0
  442. package/dist/types/Pagination/type.d.ts +38 -0
  443. package/dist/types/Progress/Progress.d.cts +3 -0
  444. package/dist/types/Progress/Progress.d.ts +3 -0
  445. package/dist/types/Progress/index.d.cts +5 -0
  446. package/dist/types/Progress/index.d.ts +5 -0
  447. package/dist/types/Progress/type.d.cts +30 -0
  448. package/dist/types/Progress/type.d.ts +30 -0
  449. package/dist/types/Radio/Radio.d.cts +3 -0
  450. package/dist/types/Radio/Radio.d.ts +3 -0
  451. package/dist/types/Radio/RadioGroup.d.cts +3 -0
  452. package/dist/types/Radio/RadioGroup.d.ts +3 -0
  453. package/dist/types/Radio/context.d.cts +19 -0
  454. package/dist/types/Radio/context.d.ts +19 -0
  455. package/dist/types/Radio/index.d.cts +7 -0
  456. package/dist/types/Radio/index.d.ts +7 -0
  457. package/dist/types/Radio/type.d.cts +53 -0
  458. package/dist/types/Radio/type.d.ts +53 -0
  459. package/dist/types/Row/Row.d.cts +8 -0
  460. package/dist/types/Row/Row.d.ts +8 -0
  461. package/dist/types/Row/index.d.cts +5 -0
  462. package/dist/types/Row/index.d.ts +5 -0
  463. package/dist/types/Row/type.d.cts +20 -0
  464. package/dist/types/Row/type.d.ts +20 -0
  465. package/dist/types/Scrollbar/Scrollbar.d.cts +3 -0
  466. package/dist/types/Scrollbar/Scrollbar.d.ts +3 -0
  467. package/dist/types/Scrollbar/index.d.cts +5 -0
  468. package/dist/types/Scrollbar/index.d.ts +5 -0
  469. package/dist/types/Scrollbar/type.d.cts +60 -0
  470. package/dist/types/Scrollbar/type.d.ts +60 -0
  471. package/dist/types/Select/Select.d.cts +3 -0
  472. package/dist/types/Select/Select.d.ts +3 -0
  473. package/dist/types/Select/index.d.cts +5 -0
  474. package/dist/types/Select/index.d.ts +5 -0
  475. package/dist/types/Select/type.d.cts +91 -0
  476. package/dist/types/Select/type.d.ts +91 -0
  477. package/dist/types/Sidebar/Sidebar.d.cts +3 -0
  478. package/dist/types/Sidebar/Sidebar.d.ts +3 -0
  479. package/dist/types/Sidebar/index.d.cts +5 -0
  480. package/dist/types/Sidebar/index.d.ts +5 -0
  481. package/dist/types/Sidebar/type.d.cts +54 -0
  482. package/dist/types/Sidebar/type.d.ts +54 -0
  483. package/dist/types/Slider/Slider.d.cts +3 -0
  484. package/dist/types/Slider/Slider.d.ts +3 -0
  485. package/dist/types/Slider/index.d.cts +5 -0
  486. package/dist/types/Slider/index.d.ts +5 -0
  487. package/dist/types/Slider/type.d.cts +47 -0
  488. package/dist/types/Slider/type.d.ts +47 -0
  489. package/dist/types/Space/Space.d.cts +3 -0
  490. package/dist/types/Space/Space.d.ts +3 -0
  491. package/dist/types/Space/index.d.cts +5 -0
  492. package/dist/types/Space/index.d.ts +5 -0
  493. package/dist/types/Space/type.d.cts +28 -0
  494. package/dist/types/Space/type.d.ts +28 -0
  495. package/dist/types/Switch/Switch.d.cts +3 -0
  496. package/dist/types/Switch/Switch.d.ts +3 -0
  497. package/dist/types/Switch/index.d.cts +5 -0
  498. package/dist/types/Switch/index.d.ts +5 -0
  499. package/dist/types/Switch/type.d.cts +28 -0
  500. package/dist/types/Switch/type.d.ts +28 -0
  501. package/dist/types/Table/Table.d.cts +8 -0
  502. package/dist/types/Table/Table.d.ts +8 -0
  503. package/dist/types/Table/index.d.cts +8 -0
  504. package/dist/types/Table/index.d.ts +8 -0
  505. package/dist/types/Table/type.d.cts +135 -0
  506. package/dist/types/Table/type.d.ts +135 -0
  507. package/dist/types/Tabs/Tabs.d.cts +3 -0
  508. package/dist/types/Tabs/Tabs.d.ts +3 -0
  509. package/dist/types/Tabs/index.d.cts +5 -0
  510. package/dist/types/Tabs/index.d.ts +5 -0
  511. package/dist/types/Tabs/type.d.cts +45 -0
  512. package/dist/types/Tabs/type.d.ts +45 -0
  513. package/dist/types/Tag/Tag.d.cts +3 -0
  514. package/dist/types/Tag/Tag.d.ts +3 -0
  515. package/dist/types/Tag/index.d.cts +5 -0
  516. package/dist/types/Tag/index.d.ts +5 -0
  517. package/dist/types/Tag/type.d.cts +24 -0
  518. package/dist/types/Tag/type.d.ts +24 -0
  519. package/dist/types/Textarea/Textarea.d.cts +3 -0
  520. package/dist/types/Textarea/Textarea.d.ts +3 -0
  521. package/dist/types/Textarea/index.d.cts +5 -0
  522. package/dist/types/Textarea/index.d.ts +5 -0
  523. package/dist/types/Textarea/type.d.cts +32 -0
  524. package/dist/types/Textarea/type.d.ts +32 -0
  525. package/dist/types/TimePicker/TimePicker.d.cts +3 -0
  526. package/dist/types/TimePicker/TimePicker.d.ts +3 -0
  527. package/dist/types/TimePicker/index.d.cts +5 -0
  528. package/dist/types/TimePicker/index.d.ts +5 -0
  529. package/dist/types/TimePicker/type.d.cts +55 -0
  530. package/dist/types/TimePicker/type.d.ts +55 -0
  531. package/dist/types/Timeline/Timeline.d.cts +3 -0
  532. package/dist/types/Timeline/Timeline.d.ts +3 -0
  533. package/dist/types/Timeline/index.d.cts +5 -0
  534. package/dist/types/Timeline/index.d.ts +5 -0
  535. package/dist/types/Timeline/type.d.cts +49 -0
  536. package/dist/types/Timeline/type.d.ts +49 -0
  537. package/dist/types/Tooltip/Tooltip.d.cts +3 -0
  538. package/dist/types/Tooltip/Tooltip.d.ts +3 -0
  539. package/dist/types/Tooltip/index.d.cts +5 -0
  540. package/dist/types/Tooltip/index.d.ts +5 -0
  541. package/dist/types/Tooltip/type.d.cts +40 -0
  542. package/dist/types/Tooltip/type.d.ts +40 -0
  543. package/dist/types/Transition/Transition.d.cts +6 -0
  544. package/dist/types/Transition/Transition.d.ts +6 -0
  545. package/dist/types/Transition/index.d.cts +8 -0
  546. package/dist/types/Transition/index.d.ts +8 -0
  547. package/dist/types/Transition/type.d.cts +22 -0
  548. package/dist/types/Transition/type.d.ts +22 -0
  549. package/dist/types/_shared/client.d.cts +9 -0
  550. package/dist/types/_shared/client.d.ts +9 -0
  551. package/dist/types/_shared/date-picker.d.cts +17 -0
  552. package/dist/types/_shared/date-picker.d.ts +17 -0
  553. package/dist/types/_shared/date.d.cts +55 -0
  554. package/dist/types/_shared/date.d.ts +55 -0
  555. package/dist/types/_shared/dialog-shell.d.cts +59 -0
  556. package/dist/types/_shared/dialog-shell.d.ts +59 -0
  557. package/dist/types/_shared/dialog.d.cts +20 -0
  558. package/dist/types/_shared/dialog.d.ts +20 -0
  559. package/dist/types/_shared/effect.d.cts +8 -0
  560. package/dist/types/_shared/effect.d.ts +8 -0
  561. package/dist/types/_shared/floating.d.cts +88 -0
  562. package/dist/types/_shared/floating.d.ts +88 -0
  563. package/dist/types/_shared/focus.d.cts +33 -0
  564. package/dist/types/_shared/focus.d.ts +33 -0
  565. package/dist/types/_shared/icon.d.cts +15 -0
  566. package/dist/types/_shared/icon.d.ts +15 -0
  567. package/dist/types/_shared/id.d.cts +10 -0
  568. package/dist/types/_shared/id.d.ts +10 -0
  569. package/dist/types/_shared/number.d.cts +22 -0
  570. package/dist/types/_shared/number.d.ts +22 -0
  571. package/dist/types/_shared/refs.d.cts +18 -0
  572. package/dist/types/_shared/refs.d.ts +18 -0
  573. package/dist/types/_shared/state.d.cts +15 -0
  574. package/dist/types/_shared/state.d.ts +15 -0
  575. package/dist/types/_shared/time-constraints.d.cts +31 -0
  576. package/dist/types/_shared/time-constraints.d.ts +31 -0
  577. package/dist/types/_shared/time-wheel.d.cts +34 -0
  578. package/dist/types/_shared/time-wheel.d.ts +34 -0
  579. package/dist/types/_vars.d.cts +7 -0
  580. package/dist/types/_vars.d.ts +7 -0
  581. package/dist/types/global.d.cts +86 -0
  582. package/dist/types/global.d.ts +86 -0
  583. package/dist/types/index.d.cts +42 -0
  584. package/dist/types/index.d.ts +42 -0
  585. package/dist/types/register.d.cts +1 -0
  586. package/dist/types/register.d.ts +1 -0
  587. package/dist/types/registry.d.cts +66 -0
  588. package/dist/types/registry.d.ts +66 -0
  589. package/dist/types/style.d.cts +7 -0
  590. package/dist/types/style.d.ts +7 -0
  591. package/package.json +165 -0
@@ -0,0 +1,63 @@
1
+ /** 公告条对外类型;内容 key 是跨受控更新、动画和自动播放的唯一身份。 */
2
+ import type { AnchorHTMLAttributes, HTMLAttributes, MouseEvent, ReactNode } from 'react';
3
+ import type { DecorativeIcon } from '../_shared/icon.cjs';
4
+ /** 公告条目的唯一标识类型 */
5
+ export type AnnouncementKey = string | number;
6
+ /** 公告条的轻量语义状态类型 */
7
+ export type AnnouncementStatus = 'info' | 'success' | 'warning' | 'error';
8
+ /**
9
+ * 单条公告条目定义
10
+ */
11
+ export interface AnnouncementItem {
12
+ /** 在受控状态与数据更新之间保持稳定的唯一标识 */
13
+ key: AnnouncementKey;
14
+ /** 公告内容文本或 React 节点 */
15
+ content: ReactNode;
16
+ /** 目标跳转链接,传入时将渲染为链接元素 */
17
+ href?: string;
18
+ /** 链接打开方式,同原生 `<a>` 标签的 `target` 属性 */
19
+ target?: AnchorHTMLAttributes<HTMLAnchorElement>['target'];
20
+ /** 链接安全关系属性,同原生 `<a>` 标签的 `rel` 属性 */
21
+ rel?: string;
22
+ }
23
+ /**
24
+ * Announcement 组件属性接口
25
+ */
26
+ export interface AnnouncementProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
27
+ /** 公告条目数据列表 */
28
+ items: AnnouncementItem[];
29
+ /** 受控模式:当前激活展示的公告项 key */
30
+ activeKey?: AnnouncementKey;
31
+ /** 非受控模式:初始激活展示的公告项 key */
32
+ defaultActiveKey?: AnnouncementKey;
33
+ /** 受控模式:公告条是否处于打开显示状态 */
34
+ open?: boolean;
35
+ /** 非受控模式:公告条初始是否打开,默认为 true */
36
+ defaultOpen?: boolean;
37
+ /** 是否开启多条轮播自动播放,默认为 true */
38
+ autoPlay?: boolean;
39
+ /** 轮播切换时间间隔(毫秒),默认为 3000 */
40
+ interval?: number;
41
+ /** 鼠标悬停在公告上时是否暂停轮播,默认为 true */
42
+ pauseOnHover?: boolean;
43
+ /** 焦点进入公告内部元素时是否暂停轮播,默认为 true */
44
+ pauseOnFocus?: boolean;
45
+ /** 轻量语义提示,仅影响顶部标识线与图标,不代表 Alert 阻断状态 */
46
+ status?: AnnouncementStatus;
47
+ /** 兼容扩展:传入 null 可隐藏默认公告图标 */
48
+ icon?: DecorativeIcon | null;
49
+ /** 是否显示关闭按钮,默认为 false */
50
+ closable?: boolean;
51
+ /** 自定义条目内容渲染函数 */
52
+ renderItem?: (item: AnnouncementItem, index: number) => ReactNode;
53
+ /** 激活展示的条目发生切换时的回调函数 */
54
+ onActiveChange?: (key: AnnouncementKey, item: AnnouncementItem, index: number) => void;
55
+ /** 公告开启/关闭状态变化时的回调函数 */
56
+ onOpenChange?: (open: boolean) => void;
57
+ /** 点击关闭按钮时的回调函数 */
58
+ onClose?: () => void;
59
+ /** 点击条目区域时的回调函数 */
60
+ onItemClick?: (item: AnnouncementItem, index: number, event: MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
61
+ }
62
+ /** Announcement 根 DOM 元素类型 */
63
+ export type AnnouncementRef = HTMLDivElement;
@@ -0,0 +1,63 @@
1
+ /** 公告条对外类型;内容 key 是跨受控更新、动画和自动播放的唯一身份。 */
2
+ import type { AnchorHTMLAttributes, HTMLAttributes, MouseEvent, ReactNode } from 'react';
3
+ import type { DecorativeIcon } from '../_shared/icon.js';
4
+ /** 公告条目的唯一标识类型 */
5
+ export type AnnouncementKey = string | number;
6
+ /** 公告条的轻量语义状态类型 */
7
+ export type AnnouncementStatus = 'info' | 'success' | 'warning' | 'error';
8
+ /**
9
+ * 单条公告条目定义
10
+ */
11
+ export interface AnnouncementItem {
12
+ /** 在受控状态与数据更新之间保持稳定的唯一标识 */
13
+ key: AnnouncementKey;
14
+ /** 公告内容文本或 React 节点 */
15
+ content: ReactNode;
16
+ /** 目标跳转链接,传入时将渲染为链接元素 */
17
+ href?: string;
18
+ /** 链接打开方式,同原生 `<a>` 标签的 `target` 属性 */
19
+ target?: AnchorHTMLAttributes<HTMLAnchorElement>['target'];
20
+ /** 链接安全关系属性,同原生 `<a>` 标签的 `rel` 属性 */
21
+ rel?: string;
22
+ }
23
+ /**
24
+ * Announcement 组件属性接口
25
+ */
26
+ export interface AnnouncementProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
27
+ /** 公告条目数据列表 */
28
+ items: AnnouncementItem[];
29
+ /** 受控模式:当前激活展示的公告项 key */
30
+ activeKey?: AnnouncementKey;
31
+ /** 非受控模式:初始激活展示的公告项 key */
32
+ defaultActiveKey?: AnnouncementKey;
33
+ /** 受控模式:公告条是否处于打开显示状态 */
34
+ open?: boolean;
35
+ /** 非受控模式:公告条初始是否打开,默认为 true */
36
+ defaultOpen?: boolean;
37
+ /** 是否开启多条轮播自动播放,默认为 true */
38
+ autoPlay?: boolean;
39
+ /** 轮播切换时间间隔(毫秒),默认为 3000 */
40
+ interval?: number;
41
+ /** 鼠标悬停在公告上时是否暂停轮播,默认为 true */
42
+ pauseOnHover?: boolean;
43
+ /** 焦点进入公告内部元素时是否暂停轮播,默认为 true */
44
+ pauseOnFocus?: boolean;
45
+ /** 轻量语义提示,仅影响顶部标识线与图标,不代表 Alert 阻断状态 */
46
+ status?: AnnouncementStatus;
47
+ /** 兼容扩展:传入 null 可隐藏默认公告图标 */
48
+ icon?: DecorativeIcon | null;
49
+ /** 是否显示关闭按钮,默认为 false */
50
+ closable?: boolean;
51
+ /** 自定义条目内容渲染函数 */
52
+ renderItem?: (item: AnnouncementItem, index: number) => ReactNode;
53
+ /** 激活展示的条目发生切换时的回调函数 */
54
+ onActiveChange?: (key: AnnouncementKey, item: AnnouncementItem, index: number) => void;
55
+ /** 公告开启/关闭状态变化时的回调函数 */
56
+ onOpenChange?: (open: boolean) => void;
57
+ /** 点击关闭按钮时的回调函数 */
58
+ onClose?: () => void;
59
+ /** 点击条目区域时的回调函数 */
60
+ onItemClick?: (item: AnnouncementItem, index: number, event: MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
61
+ }
62
+ /** Announcement 根 DOM 元素类型 */
63
+ export type AnnouncementRef = HTMLDivElement;
@@ -0,0 +1,23 @@
1
+ import type { ButtonProps } from './type.cjs';
2
+ /**
3
+ * Button 只负责把公开属性转换成稳定的原生 `<button>` 语义;颜色、边框、
4
+ * 交互态和主题差异全部交给同名的 SCSS Token 处理。这样组件层不需要知道
5
+ * Light / Dark 的具体色值,也不会因为新增语义状态而复制一套渲染分支。
6
+ *
7
+ * 这里有四个容易被后续修改破坏的约束:
8
+ * 1. Group 只提供 size/status/variant 默认值,子 Button 显式属性优先;
9
+ * disabled/loading 始终由当前按钮独立管理,不能被容器隐式改写。
10
+ * 2. `loading` 的优先级高于业务 `icon` 和点击能力。加载时先选自定义
11
+ * `loadingIcon`,否则使用默认 spinner;两者都会替换业务图标,并通过
12
+ * 原生 `disabled` 与 `aria-busy` 同时阻断交互、告知辅助技术当前状态。
13
+ * 外部传入的 `aria-busy` 只在非加载态透传。
14
+ * 3. `iconPosition` 只改变视觉节点的排列,不改变按钮的可访问名称。纯图标
15
+ * 按钮仍由调用方提供 `aria-label`,而文案始终包在 label 容器中,避免
16
+ * 图标、加载动画和文本在不同组合下改变布局或语义顺序。
17
+ * 4. 中文双字间距只增加表现类名,不拆分或改写文本节点;否则视觉优化会
18
+ * 意外改变复制结果、测试查询和读屏器获得的按钮名称。
19
+ * 5. 波纹只作为 aria-hidden 的瞬时装饰层;指针事件从实际落点扩散,键盘、
20
+ * 辅助技术和程序化 click 则从中心扩散,不能改变原生事件与表单语义。
21
+ */
22
+ declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
23
+ export default Button;
@@ -0,0 +1,23 @@
1
+ import type { ButtonProps } from './type.js';
2
+ /**
3
+ * Button 只负责把公开属性转换成稳定的原生 `<button>` 语义;颜色、边框、
4
+ * 交互态和主题差异全部交给同名的 SCSS Token 处理。这样组件层不需要知道
5
+ * Light / Dark 的具体色值,也不会因为新增语义状态而复制一套渲染分支。
6
+ *
7
+ * 这里有四个容易被后续修改破坏的约束:
8
+ * 1. Group 只提供 size/status/variant 默认值,子 Button 显式属性优先;
9
+ * disabled/loading 始终由当前按钮独立管理,不能被容器隐式改写。
10
+ * 2. `loading` 的优先级高于业务 `icon` 和点击能力。加载时先选自定义
11
+ * `loadingIcon`,否则使用默认 spinner;两者都会替换业务图标,并通过
12
+ * 原生 `disabled` 与 `aria-busy` 同时阻断交互、告知辅助技术当前状态。
13
+ * 外部传入的 `aria-busy` 只在非加载态透传。
14
+ * 3. `iconPosition` 只改变视觉节点的排列,不改变按钮的可访问名称。纯图标
15
+ * 按钮仍由调用方提供 `aria-label`,而文案始终包在 label 容器中,避免
16
+ * 图标、加载动画和文本在不同组合下改变布局或语义顺序。
17
+ * 4. 中文双字间距只增加表现类名,不拆分或改写文本节点;否则视觉优化会
18
+ * 意外改变复制结果、测试查询和读屏器获得的按钮名称。
19
+ * 5. 波纹只作为 aria-hidden 的瞬时装饰层;指针事件从实际落点扩散,键盘、
20
+ * 辅助技术和程序化 click 则从中心扩散,不能改变原生事件与表单语义。
21
+ */
22
+ declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
23
+ export default Button;
@@ -0,0 +1,14 @@
1
+ import type { ButtonGroupProps } from './type.cjs';
2
+ /**
3
+ * ButtonGroup 负责建立组合按钮的语义边界和几何上下文。
4
+ *
5
+ * 它不会克隆或重排 children:Button 自己读取 Context 并解析最终属性,
6
+ * 因而显式写在子按钮上的 size/status/variant 永远覆盖 Group 默认值。disabled
7
+ * 与 loading 则始终属于单个按钮,避免容器声明“整组禁用”时又允许子项覆盖,
8
+ * 造成视觉、原生 disabled 和 aria-disabled 三套状态互相矛盾。
9
+ *
10
+ * direction 只影响容器布局,不需要进入 Context。视觉上的相邻圆角和边框
11
+ * 收敛全部交给 Button.scss,组件层只提供稳定的方向类和原生 group 语义。
12
+ */
13
+ declare const ButtonGroup: import("react").ForwardRefExoticComponent<ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
14
+ export default ButtonGroup;
@@ -0,0 +1,14 @@
1
+ import type { ButtonGroupProps } from './type.js';
2
+ /**
3
+ * ButtonGroup 负责建立组合按钮的语义边界和几何上下文。
4
+ *
5
+ * 它不会克隆或重排 children:Button 自己读取 Context 并解析最终属性,
6
+ * 因而显式写在子按钮上的 size/status/variant 永远覆盖 Group 默认值。disabled
7
+ * 与 loading 则始终属于单个按钮,避免容器声明“整组禁用”时又允许子项覆盖,
8
+ * 造成视觉、原生 disabled 和 aria-disabled 三套状态互相矛盾。
9
+ *
10
+ * direction 只影响容器布局,不需要进入 Context。视觉上的相邻圆角和边框
11
+ * 收敛全部交给 Button.scss,组件层只提供稳定的方向类和原生 group 语义。
12
+ */
13
+ declare const ButtonGroup: import("react").ForwardRefExoticComponent<ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
14
+ export default ButtonGroup;
@@ -0,0 +1,15 @@
1
+ import type { ButtonSize, ButtonStatus, ButtonVariant } from './type.cjs';
2
+ /**
3
+ * ButtonGroup 只保存“默认值”,不保存子按钮实例,也不克隆 children。
4
+ *
5
+ * 这种边界让 Button 仍然是普通的原生 button:子组件的 ref、事件、key 和
6
+ * aria 属性都由 React 原样处理。后续如果扩展 Group API,也应优先增加这里的
7
+ * 默认语义,而不是通过遍历 children 改写调用方已经显式传入的属性。
8
+ */
9
+ export interface ButtonGroupContextValue {
10
+ size?: ButtonSize;
11
+ status?: ButtonStatus;
12
+ variant?: ButtonVariant;
13
+ }
14
+ export declare const ButtonGroupProvider: import("react").Provider<ButtonGroupContextValue | null>;
15
+ export declare const useButtonGroupContext: () => ButtonGroupContextValue | null;
@@ -0,0 +1,15 @@
1
+ import type { ButtonSize, ButtonStatus, ButtonVariant } from './type.js';
2
+ /**
3
+ * ButtonGroup 只保存“默认值”,不保存子按钮实例,也不克隆 children。
4
+ *
5
+ * 这种边界让 Button 仍然是普通的原生 button:子组件的 ref、事件、key 和
6
+ * aria 属性都由 React 原样处理。后续如果扩展 Group API,也应优先增加这里的
7
+ * 默认语义,而不是通过遍历 children 改写调用方已经显式传入的属性。
8
+ */
9
+ export interface ButtonGroupContextValue {
10
+ size?: ButtonSize;
11
+ status?: ButtonStatus;
12
+ variant?: ButtonVariant;
13
+ }
14
+ export declare const ButtonGroupProvider: import("react").Provider<ButtonGroupContextValue | null>;
15
+ export declare const useButtonGroupContext: () => ButtonGroupContextValue | null;
@@ -0,0 +1,7 @@
1
+ import Button from './Button.cjs';
2
+ /** Button 按钮组件 */
3
+ export declare const VlButton: import("react").ForwardRefExoticComponent<import("./type.cjs").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ /** ButtonGroup 按钮组组件 */
5
+ export declare const VlButtonGroup: import("react").ForwardRefExoticComponent<import("./type.cjs").ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ export type { ButtonProps, ButtonStatus, ButtonSize, ButtonShape, ButtonVariant, ButtonIcon, ButtonIconPosition, ButtonRef, ButtonGroupProps, ButtonGroupDirection, ButtonGroupRef } from './type.cjs';
7
+ export default Button;
@@ -0,0 +1,7 @@
1
+ import Button from './Button.js';
2
+ /** Button 按钮组件 */
3
+ export declare const VlButton: import("react").ForwardRefExoticComponent<import("./type.js").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ /** ButtonGroup 按钮组组件 */
5
+ export declare const VlButtonGroup: import("react").ForwardRefExoticComponent<import("./type.js").ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ export type { ButtonProps, ButtonStatus, ButtonSize, ButtonShape, ButtonVariant, ButtonIcon, ButtonIconPosition, ButtonRef, ButtonGroupProps, ButtonGroupDirection, ButtonGroupRef } from './type.js';
7
+ export default Button;
@@ -0,0 +1,66 @@
1
+ import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
2
+ import type { ComponentIcon } from '../_shared/icon.cjs';
3
+ export type ButtonStatus = 'default' | 'primary' | 'success' | 'info' | 'warning' | 'error';
4
+ export type ButtonSize = 'sm' | 'md' | 'lg';
5
+ export type ButtonShape = 'rectangle' | 'square' | 'round' | 'circle';
6
+ export type ButtonVariant = 'outline' | 'solid' | 'dashed' | 'text';
7
+ export type ButtonIconPosition = 'start' | 'end';
8
+ export type ButtonGroupDirection = 'horizontal' | 'vertical';
9
+ export type ButtonRef = HTMLButtonElement;
10
+ export type ButtonGroupRef = HTMLDivElement;
11
+ export type ButtonIcon = ComponentIcon;
12
+ /**
13
+ * Button 的公共属性保持“语义、视觉层级、几何、交互状态”彼此正交。
14
+ *
15
+ * status 只表达操作语义,variant 决定强调程度,shape/size 决定几何;组件不会
16
+ * 根据 Light / Dark 在 React 层计算颜色。所有主题差异都由同名 Button Token
17
+ * 处理,因此自定义主题可以替换色板而不改变 JSX 或状态分支。
18
+ */
19
+ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> {
20
+ /** 语义状态;`default` 与不传值都使用中性按钮 Token。 */
21
+ status?: ButtonStatus;
22
+ /** 控件高度与横向内边距档位,默认 `md`。 */
23
+ size?: ButtonSize;
24
+ /** 按钮外形,默认 `round`;square/circle 会锁定等宽高。 */
25
+ shape?: ButtonShape;
26
+ /** 视觉强调层级,默认 `outline`;dashed 只改变描边线型。 */
27
+ variant?: ButtonVariant;
28
+ /** 原生禁用状态;与 loading 一样会阻断点击,但不会显示加载语义。 */
29
+ disabled?: boolean;
30
+ /**
31
+ * 加载态会优先替换业务 icon,强制根 button disabled,并设置
32
+ * `aria-busy="true"`。组件不会同时展示加载符号和业务图标。
33
+ */
34
+ loading?: boolean;
35
+ /** 加载时替换 children 的文案;显式空字符串也会被保留。 */
36
+ loadingText?: ReactNode;
37
+ /** 加载态的装饰图标;传入后优先于默认 spinner,业务 icon 仍会被隐藏。 */
38
+ loadingIcon?: ButtonIcon;
39
+ /** 占满父容器可用宽度;square/circle 仍保持固定等宽高。 */
40
+ block?: boolean;
41
+ /** 仅在内容是恰好两个中文表意文字时,通过 CSS 增加字间距,不修改可访问名称。 */
42
+ autoInsertSpace?: boolean;
43
+ /** 映射到原生 button 的 type,默认 `button`,避免在表单中意外提交。 */
44
+ nativeType?: 'button' | 'submit' | 'reset';
45
+ /** 业务装饰图标;加载态会暂时隐藏。纯图标按钮仍需提供 aria-label。 */
46
+ icon?: ButtonIcon;
47
+ /** 业务图标或加载符号位于文案前后的位置,默认 `start`。 */
48
+ iconPosition?: ButtonIconPosition;
49
+ }
50
+ /**
51
+ * ButtonGroup 只向后代 Button 提供 size/status/variant 默认值。
52
+ *
53
+ * 子 Button 显式属性优先;Group 不克隆 children,也不统一接管 disabled/loading,
54
+ * 从而保留每个原生 button 独立的 ref、事件、可访问状态和表单行为。
55
+ */
56
+ export interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role'> {
57
+ /** 组内 Button 的默认尺寸;子 Button 显式传入 size 时优先。 */
58
+ size?: ButtonSize;
59
+ /** 组内 Button 的默认语义状态;子 Button 显式传入 status 时优先。 */
60
+ status?: ButtonStatus;
61
+ /** 组内 Button 的默认视觉层级;子 Button 显式传入 variant 时优先。 */
62
+ variant?: ButtonVariant;
63
+ /** 组合方向;相邻按钮的圆角和边框会按方向收敛。 */
64
+ direction?: ButtonGroupDirection;
65
+ children?: ReactNode;
66
+ }
@@ -0,0 +1,66 @@
1
+ import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
2
+ import type { ComponentIcon } from '../_shared/icon.js';
3
+ export type ButtonStatus = 'default' | 'primary' | 'success' | 'info' | 'warning' | 'error';
4
+ export type ButtonSize = 'sm' | 'md' | 'lg';
5
+ export type ButtonShape = 'rectangle' | 'square' | 'round' | 'circle';
6
+ export type ButtonVariant = 'outline' | 'solid' | 'dashed' | 'text';
7
+ export type ButtonIconPosition = 'start' | 'end';
8
+ export type ButtonGroupDirection = 'horizontal' | 'vertical';
9
+ export type ButtonRef = HTMLButtonElement;
10
+ export type ButtonGroupRef = HTMLDivElement;
11
+ export type ButtonIcon = ComponentIcon;
12
+ /**
13
+ * Button 的公共属性保持“语义、视觉层级、几何、交互状态”彼此正交。
14
+ *
15
+ * status 只表达操作语义,variant 决定强调程度,shape/size 决定几何;组件不会
16
+ * 根据 Light / Dark 在 React 层计算颜色。所有主题差异都由同名 Button Token
17
+ * 处理,因此自定义主题可以替换色板而不改变 JSX 或状态分支。
18
+ */
19
+ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> {
20
+ /** 语义状态;`default` 与不传值都使用中性按钮 Token。 */
21
+ status?: ButtonStatus;
22
+ /** 控件高度与横向内边距档位,默认 `md`。 */
23
+ size?: ButtonSize;
24
+ /** 按钮外形,默认 `round`;square/circle 会锁定等宽高。 */
25
+ shape?: ButtonShape;
26
+ /** 视觉强调层级,默认 `outline`;dashed 只改变描边线型。 */
27
+ variant?: ButtonVariant;
28
+ /** 原生禁用状态;与 loading 一样会阻断点击,但不会显示加载语义。 */
29
+ disabled?: boolean;
30
+ /**
31
+ * 加载态会优先替换业务 icon,强制根 button disabled,并设置
32
+ * `aria-busy="true"`。组件不会同时展示加载符号和业务图标。
33
+ */
34
+ loading?: boolean;
35
+ /** 加载时替换 children 的文案;显式空字符串也会被保留。 */
36
+ loadingText?: ReactNode;
37
+ /** 加载态的装饰图标;传入后优先于默认 spinner,业务 icon 仍会被隐藏。 */
38
+ loadingIcon?: ButtonIcon;
39
+ /** 占满父容器可用宽度;square/circle 仍保持固定等宽高。 */
40
+ block?: boolean;
41
+ /** 仅在内容是恰好两个中文表意文字时,通过 CSS 增加字间距,不修改可访问名称。 */
42
+ autoInsertSpace?: boolean;
43
+ /** 映射到原生 button 的 type,默认 `button`,避免在表单中意外提交。 */
44
+ nativeType?: 'button' | 'submit' | 'reset';
45
+ /** 业务装饰图标;加载态会暂时隐藏。纯图标按钮仍需提供 aria-label。 */
46
+ icon?: ButtonIcon;
47
+ /** 业务图标或加载符号位于文案前后的位置,默认 `start`。 */
48
+ iconPosition?: ButtonIconPosition;
49
+ }
50
+ /**
51
+ * ButtonGroup 只向后代 Button 提供 size/status/variant 默认值。
52
+ *
53
+ * 子 Button 显式属性优先;Group 不克隆 children,也不统一接管 disabled/loading,
54
+ * 从而保留每个原生 button 独立的 ref、事件、可访问状态和表单行为。
55
+ */
56
+ export interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role'> {
57
+ /** 组内 Button 的默认尺寸;子 Button 显式传入 size 时优先。 */
58
+ size?: ButtonSize;
59
+ /** 组内 Button 的默认语义状态;子 Button 显式传入 status 时优先。 */
60
+ status?: ButtonStatus;
61
+ /** 组内 Button 的默认视觉层级;子 Button 显式传入 variant 时优先。 */
62
+ variant?: ButtonVariant;
63
+ /** 组合方向;相邻按钮的圆角和边框会按方向收敛。 */
64
+ direction?: ButtonGroupDirection;
65
+ children?: ReactNode;
66
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Card 卡片容器组件。
3
+ *
4
+ * 作为通用的信息聚合容器,支持封面、标题扩展区和底部操作区;视觉变体通过
5
+ * 明确的 modifier 属性开启,默认仍然是无交互反馈的静态 Surface。
6
+ */
7
+ import { type ComponentRef, type ElementType, type ReactElement, type RefAttributes } from 'react';
8
+ import type { CardProps } from './type.cjs';
9
+ /**
10
+ * forwardRef 本身无法推断多态泛型,这个公开签名把 `tag` 与对应的 ref 类型重新关联起来。
11
+ * 实现内部仍以 HTMLElement 作为共同约束,和 CardRef 的公共契约保持一致。
12
+ */
13
+ type CardComponent = <T extends ElementType = 'div'>(props: CardProps<T> & RefAttributes<ComponentRef<T>>) => ReactElement | null;
14
+ declare const _default: CardComponent;
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Card 卡片容器组件。
3
+ *
4
+ * 作为通用的信息聚合容器,支持封面、标题扩展区和底部操作区;视觉变体通过
5
+ * 明确的 modifier 属性开启,默认仍然是无交互反馈的静态 Surface。
6
+ */
7
+ import { type ComponentRef, type ElementType, type ReactElement, type RefAttributes } from 'react';
8
+ import type { CardProps } from './type.js';
9
+ /**
10
+ * forwardRef 本身无法推断多态泛型,这个公开签名把 `tag` 与对应的 ref 类型重新关联起来。
11
+ * 实现内部仍以 HTMLElement 作为共同约束,和 CardRef 的公共契约保持一致。
12
+ */
13
+ type CardComponent = <T extends ElementType = 'div'>(props: CardProps<T> & RefAttributes<ComponentRef<T>>) => ReactElement | null;
14
+ declare const _default: CardComponent;
15
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import Card from './Card.cjs';
2
+ /** Card 卡片组件 */
3
+ export declare const VlCard: <T extends import("react").ElementType = "div">(props: import("./type.cjs").CardProps<T> & import("react").RefAttributes<import("react").ComponentRef<T>>) => import("react").ReactElement | null;
4
+ export type { CardProps, CardRef, CardShadow, CardSize } from './type.cjs';
5
+ export default Card;
@@ -0,0 +1,5 @@
1
+ import Card from './Card.js';
2
+ /** Card 卡片组件 */
3
+ export declare const VlCard: <T extends import("react").ElementType = "div">(props: import("./type.js").CardProps<T> & import("react").RefAttributes<import("react").ComponentRef<T>>) => import("react").ReactElement | null;
4
+ export type { CardProps, CardRef, CardShadow, CardSize } from './type.js';
5
+ export default Card;
@@ -0,0 +1,40 @@
1
+ import type { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
2
+ /** Card 根 DOM 元素类型。自定义组件作为 tag 时需要转发兼容的 HTMLElement ref。 */
3
+ export type CardRef = HTMLElement;
4
+ /** Card 尺寸档位:小 (sm) | 中等 (md) | 大 (lg)。 */
5
+ export type CardSize = 'sm' | 'md' | 'lg';
6
+ /** Card 阴影档位;`none` 保持无阴影的默认 Surface 外观。 */
7
+ export type CardShadow = 'none' | 'sm' | 'md' | 'lg';
8
+ /** Card 自身属性,独立于根节点 tag 的原生属性。 */
9
+ interface CardOwnProps<T extends ElementType> {
10
+ /** 自定义卡片渲染的 HTML 标签或组件,默认为 `div`。 */
11
+ tag?: T;
12
+ /** 卡片头部标题内容;可以传入需要的语义化标题元素。 */
13
+ title?: ReactNode;
14
+ /** 卡片头部右侧的扩展内容,通常用于状态或快捷操作。 */
15
+ extra?: ReactNode;
16
+ /** 卡片顶部封面内容。 */
17
+ cover?: ReactNode;
18
+ /** 卡片底部操作内容。 */
19
+ actions?: ReactNode;
20
+ /** 卡片尺寸,默认为 `md`。 */
21
+ size?: CardSize;
22
+ /** 是否显示卡片边框,默认为 `true`。 */
23
+ bordered?: boolean;
24
+ /** 卡片阴影档位,默认为 `none`。 */
25
+ shadow?: CardShadow;
26
+ /** 是否启用 hover 边框反馈,默认为 `false`。 */
27
+ hoverable?: boolean;
28
+ /** 卡片主体内容。 */
29
+ children?: ReactNode;
30
+ /** 追加到根元素的 class。 */
31
+ className?: string;
32
+ }
33
+ /**
34
+ * Card 多态属性接口。
35
+ *
36
+ * 根据 `tag` 合并对应根元素的原生属性,避免把所有场景都错误地收窄为
37
+ * `HTMLAttributes<HTMLElement>`;例如 `tag="a"` 时可以安全使用 `href`。
38
+ */
39
+ export type CardProps<T extends ElementType = 'div'> = CardOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof CardOwnProps<T>>;
40
+ export {};
@@ -0,0 +1,40 @@
1
+ import type { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
2
+ /** Card 根 DOM 元素类型。自定义组件作为 tag 时需要转发兼容的 HTMLElement ref。 */
3
+ export type CardRef = HTMLElement;
4
+ /** Card 尺寸档位:小 (sm) | 中等 (md) | 大 (lg)。 */
5
+ export type CardSize = 'sm' | 'md' | 'lg';
6
+ /** Card 阴影档位;`none` 保持无阴影的默认 Surface 外观。 */
7
+ export type CardShadow = 'none' | 'sm' | 'md' | 'lg';
8
+ /** Card 自身属性,独立于根节点 tag 的原生属性。 */
9
+ interface CardOwnProps<T extends ElementType> {
10
+ /** 自定义卡片渲染的 HTML 标签或组件,默认为 `div`。 */
11
+ tag?: T;
12
+ /** 卡片头部标题内容;可以传入需要的语义化标题元素。 */
13
+ title?: ReactNode;
14
+ /** 卡片头部右侧的扩展内容,通常用于状态或快捷操作。 */
15
+ extra?: ReactNode;
16
+ /** 卡片顶部封面内容。 */
17
+ cover?: ReactNode;
18
+ /** 卡片底部操作内容。 */
19
+ actions?: ReactNode;
20
+ /** 卡片尺寸,默认为 `md`。 */
21
+ size?: CardSize;
22
+ /** 是否显示卡片边框,默认为 `true`。 */
23
+ bordered?: boolean;
24
+ /** 卡片阴影档位,默认为 `none`。 */
25
+ shadow?: CardShadow;
26
+ /** 是否启用 hover 边框反馈,默认为 `false`。 */
27
+ hoverable?: boolean;
28
+ /** 卡片主体内容。 */
29
+ children?: ReactNode;
30
+ /** 追加到根元素的 class。 */
31
+ className?: string;
32
+ }
33
+ /**
34
+ * Card 多态属性接口。
35
+ *
36
+ * 根据 `tag` 合并对应根元素的原生属性,避免把所有场景都错误地收窄为
37
+ * `HTMLAttributes<HTMLElement>`;例如 `tag="a"` 时可以安全使用 `href`。
38
+ */
39
+ export type CardProps<T extends ElementType = 'div'> = CardOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof CardOwnProps<T>>;
40
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { CheckboxProps } from './type.cjs';
2
+ declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
3
+ export default Checkbox;
@@ -0,0 +1,3 @@
1
+ import type { CheckboxProps } from './type.js';
2
+ declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
3
+ export default Checkbox;
@@ -0,0 +1,3 @@
1
+ import type { CheckboxGroupProps } from './type.cjs';
2
+ declare const CheckboxGroup: import("react").ForwardRefExoticComponent<CheckboxGroupProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ export default CheckboxGroup;
@@ -0,0 +1,3 @@
1
+ import type { CheckboxGroupProps } from './type.js';
2
+ declare const CheckboxGroup: import("react").ForwardRefExoticComponent<CheckboxGroupProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ export default CheckboxGroup;
@@ -0,0 +1,19 @@
1
+ import type { CheckboxSize, CheckboxValue } from './type.cjs';
2
+ /** CheckboxGroup 共享上下文数据接口 */
3
+ export interface CheckboxGroupContextValue {
4
+ /** 当前选中的值数组 */
5
+ value: CheckboxValue[];
6
+ /** 整组是否禁用 */
7
+ disabled?: boolean;
8
+ /** 是否使用边框卡片样式 */
9
+ bordered?: boolean;
10
+ /** 表单字段名 */
11
+ name?: string;
12
+ /** 尺寸大小 */
13
+ size?: CheckboxSize;
14
+ /** 切换特定选项选中状态的方法 */
15
+ toggleValue: (value: CheckboxValue, checked: boolean) => void;
16
+ }
17
+ export declare const CheckboxGroupProvider: import("react").Provider<CheckboxGroupContextValue | null>;
18
+ /** 获取 CheckboxGroup 上下文的 Hook */
19
+ export declare const useCheckboxGroupContext: () => CheckboxGroupContextValue | null;
@@ -0,0 +1,19 @@
1
+ import type { CheckboxSize, CheckboxValue } from './type.js';
2
+ /** CheckboxGroup 共享上下文数据接口 */
3
+ export interface CheckboxGroupContextValue {
4
+ /** 当前选中的值数组 */
5
+ value: CheckboxValue[];
6
+ /** 整组是否禁用 */
7
+ disabled?: boolean;
8
+ /** 是否使用边框卡片样式 */
9
+ bordered?: boolean;
10
+ /** 表单字段名 */
11
+ name?: string;
12
+ /** 尺寸大小 */
13
+ size?: CheckboxSize;
14
+ /** 切换特定选项选中状态的方法 */
15
+ toggleValue: (value: CheckboxValue, checked: boolean) => void;
16
+ }
17
+ export declare const CheckboxGroupProvider: import("react").Provider<CheckboxGroupContextValue | null>;
18
+ /** 获取 CheckboxGroup 上下文的 Hook */
19
+ export declare const useCheckboxGroupContext: () => CheckboxGroupContextValue | null;
@@ -0,0 +1,7 @@
1
+ import Checkbox from './Checkbox.cjs';
2
+ /** Checkbox 多选框组件 */
3
+ export declare const VlCheckbox: import("react").ForwardRefExoticComponent<import("./type.cjs").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
4
+ /** CheckboxGroup 多选框组组件 */
5
+ export declare const VlCheckboxGroup: import("react").ForwardRefExoticComponent<import("./type.cjs").CheckboxGroupProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ export type { CheckboxProps, CheckboxGroupProps, CheckboxSize, CheckboxValue, CheckboxRef, CheckboxGroupRef } from './type.cjs';
7
+ export default Checkbox;
@@ -0,0 +1,7 @@
1
+ import Checkbox from './Checkbox.js';
2
+ /** Checkbox 多选框组件 */
3
+ export declare const VlCheckbox: import("react").ForwardRefExoticComponent<import("./type.js").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
4
+ /** CheckboxGroup 多选框组组件 */
5
+ export declare const VlCheckboxGroup: import("react").ForwardRefExoticComponent<import("./type.js").CheckboxGroupProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ export type { CheckboxProps, CheckboxGroupProps, CheckboxSize, CheckboxValue, CheckboxRef, CheckboxGroupRef } from './type.js';
7
+ export default Checkbox;