react-kui 3.1.0 → 3.1.2

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 (247) hide show
  1. package/AI.en-US.md +86 -1
  2. package/AI.md +68 -4
  3. package/ai/behaviors.json +114 -14
  4. package/ai/cli.mjs +180 -17
  5. package/ai/descriptions.json +446 -0
  6. package/ai/kui-components.json +778 -305
  7. package/ai/mcp.mjs +2 -189
  8. package/ai/query.mjs +195 -0
  9. package/ai/skills/react-kui/SKILL.md +41 -9
  10. package/ai/skills/react-kui/references/mcp.md +11 -1
  11. package/ai/skills/react-kui/references/react-to-vue.md +110 -0
  12. package/ai/skills/react-kui/references/vue-to-react.md +86 -0
  13. package/ai/validate.mjs +18 -0
  14. package/es/_virtual/_rolldown/runtime.js +1 -1
  15. package/es/affix/index.js +1 -1
  16. package/es/alert/index.js +1 -1
  17. package/es/anchor/anchor-context.js +1 -1
  18. package/es/anchor/anchor-link.js +1 -1
  19. package/es/anchor/anchor.js +1 -1
  20. package/es/auto-complete/index.js +1 -1
  21. package/es/avatar/avatar-group-context.js +1 -1
  22. package/es/avatar/avatar-group.js +1 -1
  23. package/es/avatar/avatar.js +1 -1
  24. package/es/back-top/index.js +1 -1
  25. package/es/badge/index.js +1 -1
  26. package/es/base/teleport.js +1 -1
  27. package/es/base/transition-props.js +1 -1
  28. package/es/base/transition.js +1 -1
  29. package/es/breadcrumb/breadcrumb-context.js +1 -1
  30. package/es/breadcrumb/breadcrumb-item.js +1 -1
  31. package/es/breadcrumb/breadcrumb.js +1 -1
  32. package/es/button/button-group-context.js +1 -1
  33. package/es/button/button-group.js +1 -1
  34. package/es/button/button.js +1 -1
  35. package/es/calendar/index.js +1 -1
  36. package/es/card/index.js +1 -1
  37. package/es/carousel/carousel-context.js +1 -1
  38. package/es/carousel/carousel-item.js +1 -1
  39. package/es/carousel/carousel.js +522 -274
  40. package/es/carousel/drag.js +169 -0
  41. package/es/cascader/index.js +1 -1
  42. package/es/check-card/check-card-group.js +1 -1
  43. package/es/check-card/check-card.js +1 -1
  44. package/es/check-card/context.js +1 -1
  45. package/es/checkbox/checkbox-group-context.js +1 -1
  46. package/es/checkbox/checkbox-group.js +1 -1
  47. package/es/checkbox/checkbox.js +1 -1
  48. package/es/checkbox/index.js +1 -1
  49. package/es/collapse/collapse-panel.js +1 -1
  50. package/es/collapse/collapse.js +1 -1
  51. package/es/color-picker/alpha.js +1 -1
  52. package/es/color-picker/hue.js +1 -1
  53. package/es/color-picker/index.js +1 -1
  54. package/es/color-picker/mode.js +1 -1
  55. package/es/color-picker/paint.js +1 -1
  56. package/es/color-picker/presets.js +1 -1
  57. package/es/components.js +1 -1
  58. package/es/config/config-context.js +1 -1
  59. package/es/config/context.js +1 -1
  60. package/es/config/index.js +1 -1
  61. package/es/config/size-context.js +1 -1
  62. package/es/config/use-config-appearance.js +1 -1
  63. package/es/const/var.js +1 -1
  64. package/es/date-picker/index.js +1 -1
  65. package/es/descriptions/descriptions-item.js +1 -1
  66. package/es/descriptions/descriptions.js +1 -1
  67. package/es/divider/index.js +1 -1
  68. package/es/drawer/index.js +1 -1
  69. package/es/dropdown/dropdown-button.js +1 -1
  70. package/es/dropdown/dropdown-context.js +1 -1
  71. package/es/dropdown/dropdown.js +1 -1
  72. package/es/dropdown/trigger.js +1 -1
  73. package/es/empty/index.js +1 -1
  74. package/es/feature-card/index.js +1 -1
  75. package/es/feedback-panel/index.js +1 -1
  76. package/es/flame-wrap/index.js +1 -1
  77. package/es/flame-wrap/types.js +1 -1
  78. package/es/flex/index.js +1 -1
  79. package/es/form/field-context.js +1 -1
  80. package/es/form/form-context.js +1 -1
  81. package/es/form/form-item.js +1 -1
  82. package/es/form/form.js +1 -1
  83. package/es/form/utils.js +1 -1
  84. package/es/grid/grid-item.js +1 -1
  85. package/es/grid/grid.js +1 -1
  86. package/es/grid/useBreakpoint.js +1 -1
  87. package/es/icon/index.js +1 -1
  88. package/es/image/group.js +1 -1
  89. package/es/image/image-group-context.js +1 -1
  90. package/es/image/image.js +1 -1
  91. package/es/image/instance.js +1 -1
  92. package/es/image/preview.js +1 -1
  93. package/es/image/utils.js +1 -1
  94. package/es/index.js +1 -1
  95. package/es/input/index.js +1 -1
  96. package/es/input/input-base.js +202 -0
  97. package/es/input/input-box.js +1 -1
  98. package/es/input/input-group.js +1 -1
  99. package/es/input/input.js +19 -188
  100. package/es/input/textarea.js +1 -1
  101. package/es/input-number/index.js +4 -4
  102. package/es/input-otp/index.js +1 -1
  103. package/es/input-tag/index.js +1 -1
  104. package/es/kanban/index.js +1 -1
  105. package/es/layout/index.js +1 -1
  106. package/es/layout/layout-context.js +1 -1
  107. package/es/list-panel/index.js +1 -1
  108. package/es/loading/index.js +1 -1
  109. package/es/loading/loading-bar.js +1 -1
  110. package/es/locale/de.js +1 -1
  111. package/es/locale/el.js +1 -1
  112. package/es/locale/en.js +1 -1
  113. package/es/locale/fr.js +1 -1
  114. package/es/locale/it.js +1 -1
  115. package/es/locale/ja.js +1 -1
  116. package/es/locale/ko.js +1 -1
  117. package/es/locale/ru.js +1 -1
  118. package/es/locale/th.js +1 -1
  119. package/es/locale/uk.js +1 -1
  120. package/es/locale/vi.js +1 -1
  121. package/es/locale/zh-CN.js +1 -1
  122. package/es/locale/zh-TW.js +1 -1
  123. package/es/mentions/index.js +1 -1
  124. package/es/menu/menu-context.js +1 -1
  125. package/es/menu/menu-divider.js +1 -1
  126. package/es/menu/menu-group.js +1 -1
  127. package/es/menu/menu-item.js +1 -1
  128. package/es/menu/menu-keyboard.js +1 -1
  129. package/es/menu/menu.js +1 -1
  130. package/es/menu/recursive-menu.js +1 -1
  131. package/es/menu/sub-menu.js +1 -1
  132. package/es/message/index.js +1 -1
  133. package/es/modal/api.js +1 -1
  134. package/es/modal/modal.js +1 -1
  135. package/es/modal/toast.js +1 -1
  136. package/es/node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js +1 -1
  137. package/es/notice/container.js +1 -1
  138. package/es/notice/content.js +1 -1
  139. package/es/notice/index.js +1 -1
  140. package/es/notice/instance.js +1 -1
  141. package/es/page/index.js +99 -76
  142. package/es/page/responsive.js +96 -0
  143. package/es/page-header/index.js +1 -1
  144. package/es/popconfirm/index.js +1 -1
  145. package/es/poptip/index.js +1 -1
  146. package/es/popup/index.js +1 -1
  147. package/es/popup/layers.js +1 -1
  148. package/es/progress/index.js +1 -1
  149. package/es/qrcode/index.js +1 -1
  150. package/es/radio/radio-button.js +1 -1
  151. package/es/radio/radio-group-context.js +1 -1
  152. package/es/radio/radio-group.js +1 -1
  153. package/es/radio/radio.js +1 -1
  154. package/es/rate/index.js +1 -1
  155. package/es/rate/star.js +1 -1
  156. package/es/result/index.js +1 -1
  157. package/es/ripple/index.js +1 -1
  158. package/es/ripple/types.js +1 -1
  159. package/es/row-col/col.js +1 -1
  160. package/es/row-col/row.js +1 -1
  161. package/es/segmented/index.js +1 -1
  162. package/es/select/option.js +1 -1
  163. package/es/select/select.js +24 -27
  164. package/es/skeleton/skeleton-avatar.js +1 -1
  165. package/es/skeleton/skeleton-button.js +1 -1
  166. package/es/skeleton/skeleton-image.js +1 -1
  167. package/es/skeleton/skeleton-text.js +1 -1
  168. package/es/skeleton/skeleton.js +1 -1
  169. package/es/skeleton/use-skeleton-loading.js +1 -1
  170. package/es/slider/index.js +1 -1
  171. package/es/slider/thumb.js +1 -1
  172. package/es/space/index.js +1 -1
  173. package/es/spin/index.js +1 -1
  174. package/es/splitter/splitter-panel.js +1 -1
  175. package/es/splitter/splitter.js +1 -1
  176. package/es/stat-card/countup.js +1 -1
  177. package/es/stat-card/rollup.js +1 -1
  178. package/es/stat-card/stat-card.js +1 -1
  179. package/es/stat-card/stat-number.js +1 -1
  180. package/es/stat-card/utils/countup.js +1 -1
  181. package/es/stat-card/utils/odometer.js +1 -1
  182. package/es/steps/index.js +1 -1
  183. package/es/switch/index.js +1 -1
  184. package/es/table/column-setting.js +1 -1
  185. package/es/table/index.js +1 -1
  186. package/es/table/utils.js +1 -1
  187. package/es/tabs/tab-panel.js +1 -1
  188. package/es/tabs/tabs.js +1 -1
  189. package/es/tag/index.js +1 -1
  190. package/es/time-line/timeline-item.js +1 -1
  191. package/es/time-line/timeline.js +1 -1
  192. package/es/tooltip/index.js +1 -1
  193. package/es/tour/index.js +1 -1
  194. package/es/transfer/index.js +1 -1
  195. package/es/tree/index.js +1 -1
  196. package/es/tree/utils.js +1 -1
  197. package/es/tree-select/index.js +1 -1
  198. package/es/typography/index.js +1 -1
  199. package/es/upload/file-list.js +1 -1
  200. package/es/upload/index.js +1 -1
  201. package/es/upload/picture-sort.js +1 -1
  202. package/es/upload/selector.js +1 -1
  203. package/es/utils/checked.js +1 -1
  204. package/es/utils/color.js +1 -1
  205. package/es/utils/number.js +1 -1
  206. package/es/utils/placement.js +1 -1
  207. package/es/utils/popup.js +1 -1
  208. package/es/utils/react-node.js +1 -1
  209. package/es/utils/selection-tags.js +1 -1
  210. package/es/utils/share.js +1 -1
  211. package/es/utils/theme.js +1 -1
  212. package/es/utils/transition.js +1 -1
  213. package/es/utils/use-value.js +1 -1
  214. package/es/virtual-list/index.js +1 -1
  215. package/es/virtual-list/range.js +1 -1
  216. package/es/watermark/index.js +1 -1
  217. package/lib/index.cjs +2 -2
  218. package/lib/locale/de.cjs +1 -1
  219. package/lib/locale/el.cjs +1 -1
  220. package/lib/locale/en.cjs +1 -1
  221. package/lib/locale/fr.cjs +1 -1
  222. package/lib/locale/it.cjs +1 -1
  223. package/lib/locale/ja.cjs +1 -1
  224. package/lib/locale/ko.cjs +1 -1
  225. package/lib/locale/ru.cjs +1 -1
  226. package/lib/locale/th.cjs +1 -1
  227. package/lib/locale/uk.cjs +1 -1
  228. package/lib/locale/vi.cjs +1 -1
  229. package/lib/locale/zh-CN.cjs +1 -1
  230. package/lib/locale/zh-TW.cjs +1 -1
  231. package/package.json +6 -3
  232. package/style/base.css +1 -1
  233. package/style/components.css +2 -2
  234. package/style/index.css +2 -2
  235. package/style/theme.css +1 -1
  236. package/types/carousel/carousel.d.cts +2 -1
  237. package/types/carousel/carousel.d.ts +2 -1
  238. package/types/carousel/drag.d.cts +19 -0
  239. package/types/carousel/drag.d.ts +19 -0
  240. package/types/input/input-base.d.cts +31 -0
  241. package/types/input/input-base.d.ts +31 -0
  242. package/types/input/input.d.cts +2 -25
  243. package/types/input/input.d.ts +2 -25
  244. package/types/page/index.d.cts +1 -0
  245. package/types/page/index.d.ts +1 -0
  246. package/types/page/responsive.d.cts +1 -0
  247. package/types/page/responsive.d.ts +1 -0
@@ -137,7 +137,7 @@
137
137
  "default"
138
138
  ],
139
139
  "library": "react-kui",
140
- "version": "3.1.0",
140
+ "version": "3.1.2",
141
141
  "framework": "react",
142
142
  "components": [
143
143
  {
@@ -150,8 +150,8 @@
150
150
  "type": "ReactNode",
151
151
  "required": false,
152
152
  "boolean": false,
153
- "descriptionZh": "",
154
- "descriptionEn": ""
153
+ "descriptionZh": "需要随滚动固定在指定位置的内容。",
154
+ "descriptionEn": "Content to pin at the configured position while scrolling."
155
155
  },
156
156
  {
157
157
  "name": "offsetTop",
@@ -1344,7 +1344,10 @@
1344
1344
  "arrowContent"
1345
1345
  ],
1346
1346
  "behavior": {
1347
- "rules": []
1347
+ "rules": [
1348
+ "Use children for the trigger and overlay for the popup content. open/onOpenChange synchronizes visibility; query the callback detail type for dismissal reasons.",
1349
+ "The shared Popup manages nested layers; do not implement an extra document-click closer that can close parent pickers during nested selections."
1350
+ ]
1348
1351
  },
1349
1352
  "children": [],
1350
1353
  "examples": [
@@ -1515,8 +1518,8 @@
1515
1518
  "type": "React.ReactNode",
1516
1519
  "required": false,
1517
1520
  "boolean": false,
1518
- "descriptionZh": "",
1519
- "descriptionEn": ""
1521
+ "descriptionZh": "未提供有效 message 时展示的提示正文。",
1522
+ "descriptionEn": "Alert message content used when message is falsy."
1520
1523
  }
1521
1524
  ],
1522
1525
  "nativeProps": [
@@ -3134,8 +3137,8 @@
3134
3137
  "type": "ReactNode",
3135
3138
  "required": false,
3136
3139
  "boolean": false,
3137
- "descriptionZh": "",
3138
- "descriptionEn": ""
3140
+ "descriptionZh": "列表面板主体,位于工具栏之后、底部区域之前。",
3141
+ "descriptionEn": "Main list-panel content between its toolbar and footer."
3139
3142
  }
3140
3143
  ],
3141
3144
  "nativeProps": [
@@ -5098,8 +5101,8 @@
5098
5101
  ],
5099
5102
  "boolean": false,
5100
5103
  "defaultExpression": "\"circle\"",
5101
- "descriptionZh": "统一子头像形状",
5102
- "descriptionEn": "Sets the shape of all child avatars"
5104
+ "descriptionZh": "指定头像形状",
5105
+ "descriptionEn": "Avatar shape"
5103
5106
  },
5104
5107
  {
5105
5108
  "name": "size",
@@ -5107,8 +5110,8 @@
5107
5110
  "required": false,
5108
5111
  "boolean": false,
5109
5112
  "defaultExpression": "\"default\"",
5110
- "descriptionZh": "统一子头像尺寸,并按尺寸自动调整头像重叠距离",
5111
- "descriptionEn": "Sets child size and adjusts their overlap proportionally"
5113
+ "descriptionZh": "设置头像大小",
5114
+ "descriptionEn": "Avatar size"
5112
5115
  },
5113
5116
  {
5114
5117
  "name": "src",
@@ -5131,8 +5134,8 @@
5131
5134
  "type": "React.ReactNode",
5132
5135
  "required": false,
5133
5136
  "boolean": false,
5134
- "descriptionZh": "",
5135
- "descriptionEn": ""
5137
+ "descriptionZh": "头像内的文本或自定义内容,在图片和图标未显示时使用。",
5138
+ "descriptionEn": "Avatar text or custom content used when no image or icon is displayed."
5136
5139
  },
5137
5140
  {
5138
5141
  "name": "onError",
@@ -5592,8 +5595,8 @@
5592
5595
  "type": "React.ReactNode",
5593
5596
  "required": false,
5594
5597
  "boolean": false,
5595
- "descriptionZh": "",
5596
- "descriptionEn": ""
5598
+ "descriptionZh": "要组合展示的 Avatar 子节点;超出 maxCount 的部分由组处理。",
5599
+ "descriptionEn": "Avatar children to group; the group handles items exceeding maxCount."
5597
5600
  }
5598
5601
  ],
5599
5602
  "nativeProps": [
@@ -6007,8 +6010,8 @@
6007
6010
  "type": "React.ReactNode",
6008
6011
  "required": false,
6009
6012
  "boolean": false,
6010
- "descriptionZh": "节点内容",
6011
- "descriptionEn": "Breadcrumb item content"
6013
+ "descriptionZh": "面包屑节点",
6014
+ "descriptionEn": "Breadcrumb items"
6012
6015
  }
6013
6016
  ],
6014
6017
  "nativeProps": [
@@ -6847,7 +6850,7 @@
6847
6850
  },
6848
6851
  {
6849
6852
  "name": "right",
6850
- "type": "import(\".pnpm/csstype@3.2.3/node_modules/csstype\").Property.Right<string | number> | undefined",
6853
+ "type": "Property.Right<string | number> | undefined",
6851
6854
  "required": false,
6852
6855
  "boolean": false,
6853
6856
  "descriptionZh": "组件距离右部的距离",
@@ -6855,7 +6858,7 @@
6855
6858
  },
6856
6859
  {
6857
6860
  "name": "bottom",
6858
- "type": "import(\".pnpm/csstype@3.2.3/node_modules/csstype\").Property.Bottom<string | number> | undefined",
6861
+ "type": "Property.Bottom<string | number> | undefined",
6859
6862
  "required": false,
6860
6863
  "boolean": false,
6861
6864
  "descriptionZh": "组件距离底部的距离",
@@ -7402,8 +7405,8 @@
7402
7405
  "type": "React.ReactNode",
7403
7406
  "required": false,
7404
7407
  "boolean": false,
7405
- "descriptionZh": "",
7406
- "descriptionEn": ""
7408
+ "descriptionZh": "被徽标标记的内容;省略时可独立显示徽标。",
7409
+ "descriptionEn": "Content decorated by the badge; omit it for a standalone badge."
7407
7410
  }
7408
7411
  ],
7409
7412
  "nativeProps": [
@@ -7836,8 +7839,8 @@
7836
7839
  "type": "IconType[] | undefined",
7837
7840
  "required": false,
7838
7841
  "boolean": false,
7839
- "descriptionZh": "按钮的图标",
7840
- "descriptionEn": "Button icon"
7842
+ "descriptionZh": "从 kui-icons 导入的图标定义(如 Search),不是字符串或已渲染的 Icon 元素",
7843
+ "descriptionEn": "Icon definition imported from kui-icons (e.g. Search), not a string or rendered Icon element"
7841
7844
  },
7842
7845
  {
7843
7846
  "name": "block",
@@ -8361,7 +8364,7 @@
8361
8364
  "behavior": {
8362
8365
  "rules": [
8363
8366
  "Use htmlType=submit/reset for form actions; type is visual intent, not native button type.",
8364
- "icon takes an icon definition imported from kui-icons."
8367
+ "Button.icon takes IconType[] data imported from kui-icons: import { Search } from 'kui-icons'; use <Button icon={Search} />. Never pass a JSX element (<Icon type={Search} />), a component function, or an icon-name string to icon. For custom rendered content, put <Icon type={Search} /> in Button children. Input prefix/suffix are renderable nodes and must not be confused with Button.icon."
8365
8368
  ]
8366
8369
  },
8367
8370
  "children": [],
@@ -8450,8 +8453,8 @@
8450
8453
  "type": "React.ReactNode",
8451
8454
  "required": false,
8452
8455
  "boolean": false,
8453
- "descriptionZh": "",
8454
- "descriptionEn": ""
8456
+ "descriptionZh": "组合展示的按钮内容,继承组提供的尺寸与形状。",
8457
+ "descriptionEn": "Grouped button content that inherits the group's size and shape."
8455
8458
  }
8456
8459
  ],
8457
8460
  "nativeProps": [
@@ -8970,8 +8973,8 @@
8970
8973
  "type": "React.ReactNode",
8971
8974
  "required": false,
8972
8975
  "boolean": false,
8973
- "descriptionZh": "",
8974
- "descriptionEn": ""
8976
+ "descriptionZh": "卡片主体内容,与头部和封面分开。",
8977
+ "descriptionEn": "Card body content, separate from the header and cover."
8975
8978
  }
8976
8979
  ],
8977
8980
  "nativeProps": [
@@ -9893,6 +9896,19 @@
9893
9896
  "descriptionZh": "是否在图库底部显示圆点",
9894
9897
  "descriptionEn": "Whether to show the dots at the bottom of the gallery"
9895
9898
  },
9899
+ {
9900
+ "name": "swipeable",
9901
+ "type": "boolean | undefined",
9902
+ "required": false,
9903
+ "enumValues": [
9904
+ false,
9905
+ true
9906
+ ],
9907
+ "boolean": true,
9908
+ "defaultExpression": "true",
9909
+ "descriptionZh": "是否开启触摸滑动和鼠标跟手拖拽",
9910
+ "descriptionEn": "Enable touch swiping and mouse dragging with pointer-following movement"
9911
+ },
9896
9912
  {
9897
9913
  "name": "onChange",
9898
9914
  "type": "((index: number) => void) | undefined",
@@ -9912,7 +9928,6 @@
9912
9928
  "contentEditable",
9913
9929
  "contextMenu",
9914
9930
  "dir",
9915
- "draggable",
9916
9931
  "enterKeyHint",
9917
9932
  "hidden",
9918
9933
  "id",
@@ -10284,7 +10299,7 @@
10284
10299
  {
10285
10300
  "id": "components/carousel/demo/basic.tsx",
10286
10301
  "title": "基本用法",
10287
- "source": "import { Carousel, CarouselItem } from \"react-kui\";\nconst itemStyle = {\n color: \"#fff\",\n background: \"var(--kui-color-primary)\",\n justifyContent: \"center\",\n alignItems: \"center\",\n fontSize: 30,\n fontWeight: 700,\n display: \"flex\",\n} as const;\nexport default function App() {\n return (\n <Carousel value={2} loop autoplay height={300}>\n {[1, 2, 3].map((value) => (\n <CarouselItem key={value} style={itemStyle}>\n {value}\n </CarouselItem>\n ))}\n </Carousel>\n );\n}"
10302
+ "source": "import { Carousel, CarouselItem } from \"react-kui\";\nconst itemStyle = {\n color: \"#fff\",\n background: \"var(--kui-color-primary)\",\n justifyContent: \"center\",\n alignItems: \"center\",\n fontSize: 30,\n fontWeight: 700,\n display: \"flex\",\n} as const;\nexport default function App() {\n return (\n <Carousel value={2} loop height={300}>\n {[1, 2, 3].map((value) => (\n <CarouselItem key={value} style={itemStyle}>\n {value}\n </CarouselItem>\n ))}\n </Carousel>\n );\n}"
10288
10303
  },
10289
10304
  {
10290
10305
  "id": "components/carousel/demo/vertical.tsx",
@@ -10675,7 +10690,7 @@
10675
10690
  {
10676
10691
  "id": "components/carousel/demo/basic.tsx",
10677
10692
  "title": "基本用法",
10678
- "source": "import { Carousel, CarouselItem } from \"react-kui\";\nconst itemStyle = {\n color: \"#fff\",\n background: \"var(--kui-color-primary)\",\n justifyContent: \"center\",\n alignItems: \"center\",\n fontSize: 30,\n fontWeight: 700,\n display: \"flex\",\n} as const;\nexport default function App() {\n return (\n <Carousel value={2} loop autoplay height={300}>\n {[1, 2, 3].map((value) => (\n <CarouselItem key={value} style={itemStyle}>\n {value}\n </CarouselItem>\n ))}\n </Carousel>\n );\n}"
10693
+ "source": "import { Carousel, CarouselItem } from \"react-kui\";\nconst itemStyle = {\n color: \"#fff\",\n background: \"var(--kui-color-primary)\",\n justifyContent: \"center\",\n alignItems: \"center\",\n fontSize: 30,\n fontWeight: 700,\n display: \"flex\",\n} as const;\nexport default function App() {\n return (\n <Carousel value={2} loop height={300}>\n {[1, 2, 3].map((value) => (\n <CarouselItem key={value} style={itemStyle}>\n {value}\n </CarouselItem>\n ))}\n </Carousel>\n );\n}"
10679
10694
  },
10680
10695
  {
10681
10696
  "id": "components/carousel/demo/vertical.tsx",
@@ -10724,8 +10739,8 @@
10724
10739
  "type": "unknown",
10725
10740
  "required": false,
10726
10741
  "boolean": false,
10727
- "descriptionZh": "的当前选中值",
10728
- "descriptionEn": "selected values"
10742
+ "descriptionZh": "结合使用时表示的值",
10743
+ "descriptionEn": "Value represented in a group"
10729
10744
  },
10730
10745
  {
10731
10746
  "name": "label",
@@ -10761,8 +10776,8 @@
10761
10776
  true
10762
10777
  ],
10763
10778
  "boolean": true,
10764
- "descriptionZh": "是否禁用组件",
10765
- "descriptionEn": "Whether the component is disabled"
10779
+ "descriptionZh": "是否禁用当前项",
10780
+ "descriptionEn": "Whether the current item is disabled"
10766
10781
  },
10767
10782
  {
10768
10783
  "name": "readOnly",
@@ -10773,8 +10788,8 @@
10773
10788
  true
10774
10789
  ],
10775
10790
  "boolean": true,
10776
- "descriptionZh": "是否只读组件",
10777
- "descriptionEn": "Whether the component is read-only"
10791
+ "descriptionZh": "是否只读当前项",
10792
+ "descriptionEn": "Whether the current item is read-only"
10778
10793
  },
10779
10794
  {
10780
10795
  "name": "indeterminate",
@@ -10806,16 +10821,16 @@
10806
10821
  "type": "((e: ChangeEvent) => void) | undefined",
10807
10822
  "required": false,
10808
10823
  "boolean": false,
10809
- "descriptionZh": "在选项状态发生改变时触发,返回当前选中的项和状态",
10810
- "descriptionEn": "Triggered when the option state changes, returns the currently selected values"
10824
+ "descriptionZh": "在选项状态发生改变时回调",
10825
+ "descriptionEn": "Callback when the option state changes"
10811
10826
  },
10812
10827
  {
10813
10828
  "name": "children",
10814
10829
  "type": "React.ReactNode",
10815
10830
  "required": false,
10816
10831
  "boolean": false,
10817
- "descriptionZh": "",
10818
- "descriptionEn": ""
10832
+ "descriptionZh": "未设置 label 时的复选框标签内容。",
10833
+ "descriptionEn": "Checkbox label content used when label is null or undefined."
10819
10834
  }
10820
10835
  ],
10821
10836
  "nativeProps": [
@@ -11184,8 +11199,8 @@
11184
11199
  "type": "((e: ChangeEvent) => void) | undefined",
11185
11200
  "required": false,
11186
11201
  "boolean": false,
11187
- "descriptionZh": "在选项状态发生改变时触发,返回当前选中的项和状态",
11188
- "descriptionEn": "Triggered when the option state changes, returns the currently selected values"
11202
+ "descriptionZh": "在选项状态发生改变时回调",
11203
+ "descriptionEn": "Callback when the option state changes"
11189
11204
  }
11190
11205
  ],
11191
11206
  "renderProps": [
@@ -11193,7 +11208,9 @@
11193
11208
  "children"
11194
11209
  ],
11195
11210
  "behavior": {
11196
- "rules": []
11211
+ "rules": [
11212
+ "Use checked for the checked state; value identifies an item in a CheckboxGroup. onChange receives an object with checked and optional value/label, not the Switch scalar callback."
11213
+ ]
11197
11214
  },
11198
11215
  "children": [],
11199
11216
  "parent": "CheckboxGroup",
@@ -11326,8 +11343,8 @@
11326
11343
  "type": "React.ReactNode",
11327
11344
  "required": false,
11328
11345
  "boolean": false,
11329
- "descriptionZh": "",
11330
- "descriptionEn": ""
11346
+ "descriptionZh": "自定义 Checkbox 子节点,与组的选中值共享上下文。",
11347
+ "descriptionEn": "Custom Checkbox children sharing the group's selection context."
11331
11348
  }
11332
11349
  ],
11333
11350
  "nativeProps": [
@@ -11756,15 +11773,15 @@
11756
11773
  },
11757
11774
  {
11758
11775
  "name": "value",
11759
- "type": "import(\"./types\").CheckCardValue | undefined",
11776
+ "type": "CheckCardValue | undefined",
11760
11777
  "required": false,
11761
11778
  "boolean": false,
11762
- "descriptionZh": "选项值",
11763
- "descriptionEn": "Option value"
11779
+ "descriptionZh": "在 Group 中使用的选项值",
11780
+ "descriptionEn": "Option value inside a group"
11764
11781
  },
11765
11782
  {
11766
11783
  "name": "title",
11767
- "type": "React.ReactNode",
11784
+ "type": "ReactNode",
11768
11785
  "required": false,
11769
11786
  "boolean": false,
11770
11787
  "descriptionZh": "标题",
@@ -11772,7 +11789,7 @@
11772
11789
  },
11773
11790
  {
11774
11791
  "name": "description",
11775
- "type": "React.ReactNode",
11792
+ "type": "ReactNode",
11776
11793
  "required": false,
11777
11794
  "boolean": false,
11778
11795
  "descriptionZh": "描述",
@@ -11780,7 +11797,7 @@
11780
11797
  },
11781
11798
  {
11782
11799
  "name": "symbol",
11783
- "type": "import(\"../icon\").IconType[] | undefined",
11800
+ "type": "IconType[] | undefined",
11784
11801
  "required": false,
11785
11802
  "boolean": false,
11786
11803
  "descriptionZh": "未选中图标",
@@ -11788,7 +11805,7 @@
11788
11805
  },
11789
11806
  {
11790
11807
  "name": "checkedSymbol",
11791
- "type": "import(\"../icon\").IconType[] | undefined",
11808
+ "type": "IconType[] | undefined",
11792
11809
  "required": false,
11793
11810
  "boolean": false,
11794
11811
  "descriptionZh": "选中图标",
@@ -11815,8 +11832,8 @@
11815
11832
  true
11816
11833
  ],
11817
11834
  "boolean": true,
11818
- "descriptionZh": "是否禁用该选项",
11819
- "descriptionEn": "Whether this option is disabled"
11835
+ "descriptionZh": "是否禁用",
11836
+ "descriptionEn": "Whether disabled"
11820
11837
  },
11821
11838
  {
11822
11839
  "name": "readOnly",
@@ -11827,24 +11844,24 @@
11827
11844
  true
11828
11845
  ],
11829
11846
  "boolean": true,
11830
- "descriptionZh": "是否只读该选项",
11831
- "descriptionEn": "Whether this option is read-only"
11847
+ "descriptionZh": "是否只读",
11848
+ "descriptionEn": "Whether read-only"
11832
11849
  },
11833
11850
  {
11834
11851
  "name": "theme",
11835
- "type": "import(\"./types\").CheckCardTheme | undefined",
11852
+ "type": "CheckCardTheme | undefined",
11836
11853
  "required": false,
11837
11854
  "enumValues": [
11838
11855
  "fill",
11839
11856
  "outline"
11840
11857
  ],
11841
11858
  "boolean": false,
11842
- "descriptionZh": "卡片主题",
11843
- "descriptionEn": "Card theme"
11859
+ "descriptionZh": "主题",
11860
+ "descriptionEn": "Theme"
11844
11861
  },
11845
11862
  {
11846
11863
  "name": "size",
11847
- "type": "import(\"../components\").SizeType | undefined",
11864
+ "type": "SizeType | undefined",
11848
11865
  "required": false,
11849
11866
  "enumValues": [
11850
11867
  "small",
@@ -11852,12 +11869,12 @@
11852
11869
  "large"
11853
11870
  ],
11854
11871
  "boolean": false,
11855
- "descriptionZh": "卡片尺寸",
11856
- "descriptionEn": "Card size"
11872
+ "descriptionZh": "尺寸",
11873
+ "descriptionEn": "Size"
11857
11874
  },
11858
11875
  {
11859
11876
  "name": "shape",
11860
- "type": "import(\"../components\").ShapeType | undefined",
11877
+ "type": "ShapeType | undefined",
11861
11878
  "required": false,
11862
11879
  "enumValues": [
11863
11880
  "round",
@@ -11866,24 +11883,24 @@
11866
11883
  "circle"
11867
11884
  ],
11868
11885
  "boolean": false,
11869
- "descriptionZh": "卡片形状",
11870
- "descriptionEn": "Card shape"
11886
+ "descriptionZh": "形状",
11887
+ "descriptionEn": "Shape"
11871
11888
  },
11872
11889
  {
11873
11890
  "name": "onChange",
11874
- "type": "((event: import(\"./types\").CheckCardChangeEvent) => void) | undefined",
11891
+ "type": "((event: CheckCardChangeEvent) => void) | undefined",
11875
11892
  "required": false,
11876
11893
  "boolean": false,
11877
- "descriptionZh": "选中值变化回调",
11878
- "descriptionEn": "Selected value callback"
11894
+ "descriptionZh": "状态变化回调",
11895
+ "descriptionEn": "State change callback"
11879
11896
  },
11880
11897
  {
11881
11898
  "name": "children",
11882
- "type": "React.ReactNode",
11899
+ "type": "ReactNode",
11883
11900
  "required": false,
11884
11901
  "boolean": false,
11885
- "descriptionZh": "",
11886
- "descriptionEn": ""
11902
+ "descriptionZh": "选择卡标题和描述之后的自定义内容。",
11903
+ "descriptionEn": "Custom content following the check card's title and description."
11887
11904
  }
11888
11905
  ],
11889
11906
  "nativeProps": [
@@ -12249,11 +12266,11 @@
12249
12266
  "events": [
12250
12267
  {
12251
12268
  "name": "onChange",
12252
- "type": "((event: import(\"./types\").CheckCardChangeEvent) => void) | undefined",
12269
+ "type": "((event: CheckCardChangeEvent) => void) | undefined",
12253
12270
  "required": false,
12254
12271
  "boolean": false,
12255
- "descriptionZh": "选中值变化回调",
12256
- "descriptionEn": "Selected value callback"
12272
+ "descriptionZh": "状态变化回调",
12273
+ "descriptionEn": "State change callback"
12257
12274
  }
12258
12275
  ],
12259
12276
  "renderProps": [
@@ -12303,7 +12320,7 @@
12303
12320
  },
12304
12321
  {
12305
12322
  "name": "options",
12306
- "type": "import(\"./types\").CheckCardOption[] | undefined",
12323
+ "type": "CheckCardOption[] | undefined",
12307
12324
  "required": false,
12308
12325
  "boolean": false,
12309
12326
  "descriptionZh": "选项",
@@ -12347,7 +12364,7 @@
12347
12364
  },
12348
12365
  {
12349
12366
  "name": "theme",
12350
- "type": "import(\"./types\").CheckCardTheme | undefined",
12367
+ "type": "CheckCardTheme | undefined",
12351
12368
  "required": false,
12352
12369
  "enumValues": [
12353
12370
  "fill",
@@ -12359,7 +12376,7 @@
12359
12376
  },
12360
12377
  {
12361
12378
  "name": "size",
12362
- "type": "import(\"../components\").SizeType | undefined",
12379
+ "type": "SizeType | undefined",
12363
12380
  "required": false,
12364
12381
  "enumValues": [
12365
12382
  "small",
@@ -12372,7 +12389,7 @@
12372
12389
  },
12373
12390
  {
12374
12391
  "name": "shape",
12375
- "type": "import(\"../components\").ShapeType | undefined",
12392
+ "type": "ShapeType | undefined",
12376
12393
  "required": false,
12377
12394
  "enumValues": [
12378
12395
  "round",
@@ -12394,11 +12411,11 @@
12394
12411
  },
12395
12412
  {
12396
12413
  "name": "children",
12397
- "type": "React.ReactNode",
12414
+ "type": "ReactNode",
12398
12415
  "required": false,
12399
12416
  "boolean": false,
12400
- "descriptionZh": "",
12401
- "descriptionEn": ""
12417
+ "descriptionZh": "未通过 options 生成选项时使用的 CheckCard 子节点。",
12418
+ "descriptionEn": "CheckCard children used when options is not supplied."
12402
12419
  }
12403
12420
  ],
12404
12421
  "nativeProps": [
@@ -12894,8 +12911,8 @@
12894
12911
  "type": "React.ReactNode",
12895
12912
  "required": false,
12896
12913
  "boolean": false,
12897
- "descriptionZh": "",
12898
- "descriptionEn": ""
12914
+ "descriptionZh": "折叠面板子节点;Collapse 根据 panelKey 注入展开状态和切换处理。",
12915
+ "descriptionEn": "Panel children; Collapse injects expansion state and handlers using panelKey."
12899
12916
  }
12900
12917
  ],
12901
12918
  "nativeProps": [
@@ -13349,8 +13366,8 @@
13349
13366
  ],
13350
13367
  "boolean": true,
13351
13368
  "defaultExpression": "false",
13352
- "descriptionZh": "",
13353
- "descriptionEn": ""
13369
+ "descriptionZh": "当前面板是否展开;在 Collapse 中通常由父组件根据 openKeys 注入。",
13370
+ "descriptionEn": "Whether the panel is expanded; normally injected by Collapse from openKeys."
13354
13371
  },
13355
13372
  {
13356
13373
  "name": "extra",
@@ -13373,16 +13390,16 @@
13373
13390
  "type": "((key: string | number) => void) | undefined",
13374
13391
  "required": false,
13375
13392
  "boolean": false,
13376
- "descriptionZh": "",
13377
- "descriptionEn": ""
13393
+ "descriptionZh": "可操作标题被点击或键盘激活时回传 panelKey;Collapse 使用它切换展开状态。",
13394
+ "descriptionEn": "Receives panelKey when an enabled header is clicked or keyboard-activated; Collapse uses it to toggle expansion."
13378
13395
  },
13379
13396
  {
13380
13397
  "name": "children",
13381
13398
  "type": "React.ReactNode",
13382
13399
  "required": false,
13383
13400
  "boolean": false,
13384
- "descriptionZh": "",
13385
- "descriptionEn": ""
13401
+ "descriptionZh": "面板展开区域的正文;显示与收起由 active 控制。",
13402
+ "descriptionEn": "Panel body whose visibility is controlled by active."
13386
13403
  }
13387
13404
  ],
13388
13405
  "nativeProps": [
@@ -13750,8 +13767,8 @@
13750
13767
  "type": "((key: string | number) => void) | undefined",
13751
13768
  "required": false,
13752
13769
  "boolean": false,
13753
- "descriptionZh": "",
13754
- "descriptionEn": ""
13770
+ "descriptionZh": "可操作标题被点击或键盘激活时回传 panelKey;Collapse 使用它切换展开状态。",
13771
+ "descriptionEn": "Receives panelKey when an enabled header is clicked or keyboard-activated; Collapse uses it to toggle expansion."
13755
13772
  }
13756
13773
  ],
13757
13774
  "renderProps": [
@@ -15740,7 +15757,10 @@
15740
15757
  "footer"
15741
15758
  ],
15742
15759
  "behavior": {
15743
- "rules": []
15760
+ "rules": [
15761
+ "Use value/onChange for a single date or a range array when the selected mode is a range. startDate/endDate with onStartDateChange/onEndDateChange are an alternative binding channel, not the only API.",
15762
+ "onChange receives (date, dateStr); output depends on valueType and mode. Handle clear/null values explicitly and avoid supplying conflicting binding channels."
15763
+ ]
15744
15764
  },
15745
15765
  "children": [],
15746
15766
  "examples": [
@@ -16625,8 +16645,8 @@
16625
16645
  "type": "React.ReactNode",
16626
16646
  "required": false,
16627
16647
  "boolean": false,
16628
- "descriptionZh": "",
16629
- "descriptionEn": ""
16648
+ "descriptionZh": "要排版的 DescriptionsItem 子节点,使用其 label、span 和内容。",
16649
+ "descriptionEn": "DescriptionsItem children laid out using their label, span and content."
16630
16650
  }
16631
16651
  ],
16632
16652
  "nativeProps": [
@@ -17057,8 +17077,8 @@
17057
17077
  "type": "React.ReactNode",
17058
17078
  "required": false,
17059
17079
  "boolean": false,
17060
- "descriptionZh": "",
17061
- "descriptionEn": ""
17080
+ "descriptionZh": "当前描述项的值或自定义内容,不是标签。",
17081
+ "descriptionEn": "The value or custom content of this description item, not its label."
17062
17082
  }
17063
17083
  ],
17064
17084
  "nativeProps": [],
@@ -17300,8 +17320,8 @@
17300
17320
  "type": "React.ReactNode",
17301
17321
  "required": false,
17302
17322
  "boolean": false,
17303
- "descriptionZh": "",
17304
- "descriptionEn": ""
17323
+ "descriptionZh": "抽屉正文区域内容。",
17324
+ "descriptionEn": "Content of the drawer body."
17305
17325
  }
17306
17326
  ],
17307
17327
  "nativeProps": [],
@@ -17403,8 +17423,8 @@
17403
17423
  ],
17404
17424
  "boolean": true,
17405
17425
  "defaultExpression": "false",
17406
- "descriptionZh": "是否禁用",
17407
- "descriptionEn": "Whether disabled"
17426
+ "descriptionZh": "是否允许触发下拉",
17427
+ "descriptionEn": "Whether dropdown triggering is allowed"
17408
17428
  },
17409
17429
  {
17410
17430
  "name": "arrow",
@@ -17416,8 +17436,8 @@
17416
17436
  ],
17417
17437
  "boolean": true,
17418
17438
  "defaultExpression": "false",
17419
- "descriptionZh": "是否显示下拉箭头",
17420
- "descriptionEn": "Whether to show the dropdown arrow"
17439
+ "descriptionZh": "是否显示箭头",
17440
+ "descriptionEn": "Whether to display the arrow"
17421
17441
  },
17422
17442
  {
17423
17443
  "name": "open",
@@ -17489,8 +17509,8 @@
17489
17509
  "type": "React.ReactNode",
17490
17510
  "required": false,
17491
17511
  "boolean": false,
17492
- "descriptionZh": "",
17493
- "descriptionEn": ""
17512
+ "descriptionZh": "下拉触发器;弹层内容请放在 overlay 中。",
17513
+ "descriptionEn": "Dropdown trigger; put popup content in overlay instead."
17494
17514
  }
17495
17515
  ],
17496
17516
  "nativeProps": [
@@ -17869,7 +17889,9 @@
17869
17889
  "children"
17870
17890
  ],
17871
17891
  "behavior": {
17872
- "rules": []
17892
+ "rules": [
17893
+ "children is the trigger; overlay supplies popup content. Do not place the menu in children as a translation of the Vue overlay slot."
17894
+ ]
17873
17895
  },
17874
17896
  "children": [],
17875
17897
  "examples": [
@@ -18031,8 +18053,8 @@
18031
18053
  "type": "React.ReactNode",
18032
18054
  "required": false,
18033
18055
  "boolean": false,
18034
- "descriptionZh": "",
18035
- "descriptionEn": ""
18056
+ "descriptionZh": "分裂式下拉按钮主按钮的内容;菜单使用 overlay。",
18057
+ "descriptionEn": "Content of the main split button; supply the menu through overlay."
18036
18058
  }
18037
18059
  ],
18038
18060
  "nativeProps": [
@@ -18451,6 +18473,453 @@
18451
18473
  }
18452
18474
  ]
18453
18475
  },
18476
+ {
18477
+ "name": "Divider",
18478
+ "import": "import { Divider } from \"react-kui\"",
18479
+ "documentation": "https://react.k-ui.cn/components/divider",
18480
+ "props": [
18481
+ {
18482
+ "name": "type",
18483
+ "type": "DirectionType | undefined",
18484
+ "required": false,
18485
+ "enumValues": [
18486
+ "inline",
18487
+ "horizontal",
18488
+ "vertical"
18489
+ ],
18490
+ "boolean": false,
18491
+ "descriptionZh": "水平还是垂直类型: horizontal vertical",
18492
+ "descriptionEn": "Horizontal or vertical type: horizontal vertical"
18493
+ },
18494
+ {
18495
+ "name": "text",
18496
+ "type": "string | undefined",
18497
+ "required": false,
18498
+ "boolean": false,
18499
+ "descriptionZh": "分割线文字",
18500
+ "descriptionEn": "Divider text"
18501
+ },
18502
+ {
18503
+ "name": "dashed",
18504
+ "type": "boolean | undefined",
18505
+ "required": false,
18506
+ "enumValues": [
18507
+ false,
18508
+ true
18509
+ ],
18510
+ "boolean": true,
18511
+ "descriptionZh": "是否虚线",
18512
+ "descriptionEn": "Whether it is a dashed line"
18513
+ },
18514
+ {
18515
+ "name": "orientation",
18516
+ "type": "\"left\" | \"right\" | \"center\" | undefined",
18517
+ "required": false,
18518
+ "enumValues": [
18519
+ "left",
18520
+ "right",
18521
+ "center"
18522
+ ],
18523
+ "boolean": false,
18524
+ "descriptionZh": "分割线标题的位置:left right",
18525
+ "descriptionEn": "The position of the divider title : left right"
18526
+ },
18527
+ {
18528
+ "name": "children",
18529
+ "type": "React.ReactNode",
18530
+ "required": false,
18531
+ "boolean": false,
18532
+ "descriptionZh": "水平分割线中的标题内容;有效时优先于 text。",
18533
+ "descriptionEn": "Title content in a horizontal divider; when truthy it takes precedence over text."
18534
+ }
18535
+ ],
18536
+ "nativeProps": [
18537
+ "onChange",
18538
+ "suppressContentEditableWarning",
18539
+ "suppressHydrationWarning",
18540
+ "accessKey",
18541
+ "autoCapitalize",
18542
+ "autoFocus",
18543
+ "className",
18544
+ "contentEditable",
18545
+ "contextMenu",
18546
+ "dir",
18547
+ "draggable",
18548
+ "enterKeyHint",
18549
+ "hidden",
18550
+ "id",
18551
+ "lang",
18552
+ "nonce",
18553
+ "slot",
18554
+ "spellCheck",
18555
+ "style",
18556
+ "tabIndex",
18557
+ "title",
18558
+ "translate",
18559
+ "radioGroup",
18560
+ "role",
18561
+ "about",
18562
+ "content",
18563
+ "datatype",
18564
+ "inlist",
18565
+ "prefix",
18566
+ "property",
18567
+ "rel",
18568
+ "resource",
18569
+ "rev",
18570
+ "typeof",
18571
+ "vocab",
18572
+ "autoCorrect",
18573
+ "autoSave",
18574
+ "color",
18575
+ "itemProp",
18576
+ "itemScope",
18577
+ "itemType",
18578
+ "itemID",
18579
+ "itemRef",
18580
+ "results",
18581
+ "security",
18582
+ "unselectable",
18583
+ "popover",
18584
+ "popoverTargetAction",
18585
+ "popoverTarget",
18586
+ "inert",
18587
+ "inputMode",
18588
+ "is",
18589
+ "exportparts",
18590
+ "part",
18591
+ "aria-activedescendant",
18592
+ "aria-atomic",
18593
+ "aria-autocomplete",
18594
+ "aria-braillelabel",
18595
+ "aria-brailleroledescription",
18596
+ "aria-busy",
18597
+ "aria-checked",
18598
+ "aria-colcount",
18599
+ "aria-colindex",
18600
+ "aria-colindextext",
18601
+ "aria-colspan",
18602
+ "aria-controls",
18603
+ "aria-current",
18604
+ "aria-describedby",
18605
+ "aria-description",
18606
+ "aria-details",
18607
+ "aria-disabled",
18608
+ "aria-dropeffect",
18609
+ "aria-errormessage",
18610
+ "aria-expanded",
18611
+ "aria-flowto",
18612
+ "aria-grabbed",
18613
+ "aria-haspopup",
18614
+ "aria-hidden",
18615
+ "aria-invalid",
18616
+ "aria-keyshortcuts",
18617
+ "aria-label",
18618
+ "aria-labelledby",
18619
+ "aria-level",
18620
+ "aria-live",
18621
+ "aria-modal",
18622
+ "aria-multiline",
18623
+ "aria-multiselectable",
18624
+ "aria-orientation",
18625
+ "aria-owns",
18626
+ "aria-placeholder",
18627
+ "aria-posinset",
18628
+ "aria-pressed",
18629
+ "aria-readonly",
18630
+ "aria-relevant",
18631
+ "aria-required",
18632
+ "aria-roledescription",
18633
+ "aria-rowcount",
18634
+ "aria-rowindex",
18635
+ "aria-rowindextext",
18636
+ "aria-rowspan",
18637
+ "aria-selected",
18638
+ "aria-setsize",
18639
+ "aria-sort",
18640
+ "aria-valuemax",
18641
+ "aria-valuemin",
18642
+ "aria-valuenow",
18643
+ "aria-valuetext",
18644
+ "dangerouslySetInnerHTML",
18645
+ "onCopy",
18646
+ "onCopyCapture",
18647
+ "onCut",
18648
+ "onCutCapture",
18649
+ "onPaste",
18650
+ "onPasteCapture",
18651
+ "onCompositionEnd",
18652
+ "onCompositionEndCapture",
18653
+ "onCompositionStart",
18654
+ "onCompositionStartCapture",
18655
+ "onCompositionUpdate",
18656
+ "onCompositionUpdateCapture",
18657
+ "onFocus",
18658
+ "onFocusCapture",
18659
+ "onBlur",
18660
+ "onBlurCapture",
18661
+ "onChangeCapture",
18662
+ "onBeforeInput",
18663
+ "onBeforeInputCapture",
18664
+ "onInput",
18665
+ "onInputCapture",
18666
+ "onReset",
18667
+ "onResetCapture",
18668
+ "onSubmit",
18669
+ "onSubmitCapture",
18670
+ "onInvalid",
18671
+ "onInvalidCapture",
18672
+ "onLoad",
18673
+ "onLoadCapture",
18674
+ "onError",
18675
+ "onErrorCapture",
18676
+ "onKeyDown",
18677
+ "onKeyDownCapture",
18678
+ "onKeyPress",
18679
+ "onKeyPressCapture",
18680
+ "onKeyUp",
18681
+ "onKeyUpCapture",
18682
+ "onAbort",
18683
+ "onAbortCapture",
18684
+ "onCanPlay",
18685
+ "onCanPlayCapture",
18686
+ "onCanPlayThrough",
18687
+ "onCanPlayThroughCapture",
18688
+ "onDurationChange",
18689
+ "onDurationChangeCapture",
18690
+ "onEmptied",
18691
+ "onEmptiedCapture",
18692
+ "onEncrypted",
18693
+ "onEncryptedCapture",
18694
+ "onEnded",
18695
+ "onEndedCapture",
18696
+ "onLoadedData",
18697
+ "onLoadedDataCapture",
18698
+ "onLoadedMetadata",
18699
+ "onLoadedMetadataCapture",
18700
+ "onLoadStart",
18701
+ "onLoadStartCapture",
18702
+ "onPause",
18703
+ "onPauseCapture",
18704
+ "onPlay",
18705
+ "onPlayCapture",
18706
+ "onPlaying",
18707
+ "onPlayingCapture",
18708
+ "onProgress",
18709
+ "onProgressCapture",
18710
+ "onRateChange",
18711
+ "onRateChangeCapture",
18712
+ "onSeeked",
18713
+ "onSeekedCapture",
18714
+ "onSeeking",
18715
+ "onSeekingCapture",
18716
+ "onStalled",
18717
+ "onStalledCapture",
18718
+ "onSuspend",
18719
+ "onSuspendCapture",
18720
+ "onTimeUpdate",
18721
+ "onTimeUpdateCapture",
18722
+ "onVolumeChange",
18723
+ "onVolumeChangeCapture",
18724
+ "onWaiting",
18725
+ "onWaitingCapture",
18726
+ "onAuxClick",
18727
+ "onAuxClickCapture",
18728
+ "onClick",
18729
+ "onClickCapture",
18730
+ "onContextMenu",
18731
+ "onContextMenuCapture",
18732
+ "onDoubleClick",
18733
+ "onDoubleClickCapture",
18734
+ "onDrag",
18735
+ "onDragCapture",
18736
+ "onDragEnd",
18737
+ "onDragEndCapture",
18738
+ "onDragEnter",
18739
+ "onDragEnterCapture",
18740
+ "onDragExit",
18741
+ "onDragExitCapture",
18742
+ "onDragLeave",
18743
+ "onDragLeaveCapture",
18744
+ "onDragOver",
18745
+ "onDragOverCapture",
18746
+ "onDragStart",
18747
+ "onDragStartCapture",
18748
+ "onDrop",
18749
+ "onDropCapture",
18750
+ "onMouseDown",
18751
+ "onMouseDownCapture",
18752
+ "onMouseEnter",
18753
+ "onMouseLeave",
18754
+ "onMouseMove",
18755
+ "onMouseMoveCapture",
18756
+ "onMouseOut",
18757
+ "onMouseOutCapture",
18758
+ "onMouseOver",
18759
+ "onMouseOverCapture",
18760
+ "onMouseUp",
18761
+ "onMouseUpCapture",
18762
+ "onSelect",
18763
+ "onSelectCapture",
18764
+ "onTouchCancel",
18765
+ "onTouchCancelCapture",
18766
+ "onTouchEnd",
18767
+ "onTouchEndCapture",
18768
+ "onTouchMove",
18769
+ "onTouchMoveCapture",
18770
+ "onTouchStart",
18771
+ "onTouchStartCapture",
18772
+ "onPointerDown",
18773
+ "onPointerDownCapture",
18774
+ "onPointerMove",
18775
+ "onPointerMoveCapture",
18776
+ "onPointerUp",
18777
+ "onPointerUpCapture",
18778
+ "onPointerCancel",
18779
+ "onPointerCancelCapture",
18780
+ "onPointerEnter",
18781
+ "onPointerLeave",
18782
+ "onPointerOver",
18783
+ "onPointerOverCapture",
18784
+ "onPointerOut",
18785
+ "onPointerOutCapture",
18786
+ "onGotPointerCapture",
18787
+ "onGotPointerCaptureCapture",
18788
+ "onLostPointerCapture",
18789
+ "onLostPointerCaptureCapture",
18790
+ "onScroll",
18791
+ "onScrollCapture",
18792
+ "onScrollEnd",
18793
+ "onScrollEndCapture",
18794
+ "onWheel",
18795
+ "onWheelCapture",
18796
+ "onAnimationStart",
18797
+ "onAnimationStartCapture",
18798
+ "onAnimationEnd",
18799
+ "onAnimationEndCapture",
18800
+ "onAnimationIteration",
18801
+ "onAnimationIterationCapture",
18802
+ "onToggle",
18803
+ "onBeforeToggle",
18804
+ "onTransitionCancel",
18805
+ "onTransitionCancelCapture",
18806
+ "onTransitionEnd",
18807
+ "onTransitionEndCapture",
18808
+ "onTransitionRun",
18809
+ "onTransitionRunCapture",
18810
+ "onTransitionStart",
18811
+ "onTransitionStartCapture"
18812
+ ],
18813
+ "nativeValueTypes": {
18814
+ "suppressContentEditableWarning": "boolean",
18815
+ "suppressHydrationWarning": "boolean",
18816
+ "accessKey": "string",
18817
+ "autoFocus": "boolean",
18818
+ "className": "string",
18819
+ "contextMenu": "string",
18820
+ "dir": "string",
18821
+ "enterKeyHint": "string",
18822
+ "hidden": "boolean",
18823
+ "id": "string",
18824
+ "lang": "string",
18825
+ "nonce": "string",
18826
+ "slot": "string",
18827
+ "tabIndex": "number",
18828
+ "title": "string",
18829
+ "translate": "string",
18830
+ "radioGroup": "string",
18831
+ "about": "string",
18832
+ "content": "string",
18833
+ "datatype": "string",
18834
+ "prefix": "string",
18835
+ "property": "string",
18836
+ "rel": "string",
18837
+ "resource": "string",
18838
+ "rev": "string",
18839
+ "typeof": "string",
18840
+ "vocab": "string",
18841
+ "autoCorrect": "string",
18842
+ "autoSave": "string",
18843
+ "color": "string",
18844
+ "itemProp": "string",
18845
+ "itemScope": "boolean",
18846
+ "itemType": "string",
18847
+ "itemID": "string",
18848
+ "itemRef": "string",
18849
+ "results": "number",
18850
+ "security": "string",
18851
+ "unselectable": "string",
18852
+ "popover": "string",
18853
+ "popoverTargetAction": "string",
18854
+ "popoverTarget": "string",
18855
+ "inert": "boolean",
18856
+ "inputMode": "string",
18857
+ "is": "string",
18858
+ "exportparts": "string",
18859
+ "part": "string",
18860
+ "aria-activedescendant": "string",
18861
+ "aria-autocomplete": "string",
18862
+ "aria-braillelabel": "string",
18863
+ "aria-brailleroledescription": "string",
18864
+ "aria-colcount": "number",
18865
+ "aria-colindex": "number",
18866
+ "aria-colindextext": "string",
18867
+ "aria-colspan": "number",
18868
+ "aria-controls": "string",
18869
+ "aria-describedby": "string",
18870
+ "aria-description": "string",
18871
+ "aria-details": "string",
18872
+ "aria-dropeffect": "string",
18873
+ "aria-errormessage": "string",
18874
+ "aria-flowto": "string",
18875
+ "aria-keyshortcuts": "string",
18876
+ "aria-label": "string",
18877
+ "aria-labelledby": "string",
18878
+ "aria-level": "number",
18879
+ "aria-live": "string",
18880
+ "aria-orientation": "string",
18881
+ "aria-owns": "string",
18882
+ "aria-placeholder": "string",
18883
+ "aria-posinset": "number",
18884
+ "aria-relevant": "string",
18885
+ "aria-roledescription": "string",
18886
+ "aria-rowcount": "number",
18887
+ "aria-rowindex": "number",
18888
+ "aria-rowindextext": "string",
18889
+ "aria-rowspan": "number",
18890
+ "aria-setsize": "number",
18891
+ "aria-sort": "string",
18892
+ "aria-valuemax": "number",
18893
+ "aria-valuemin": "number",
18894
+ "aria-valuenow": "number",
18895
+ "aria-valuetext": "string"
18896
+ },
18897
+ "events": [],
18898
+ "renderProps": [
18899
+ "children"
18900
+ ],
18901
+ "behavior": {
18902
+ "rules": []
18903
+ },
18904
+ "children": [],
18905
+ "examples": [
18906
+ {
18907
+ "id": "components/divider/demo/basic.tsx",
18908
+ "title": "垂直分割线",
18909
+ "source": "import { Divider } from \"react-kui\";\nexport default function App() {\n return (\n <div>\n Text\n <Divider type=\"vertical\" />\n <a href=\"#\">Link</a>\n <Divider type=\"vertical\" />\n <a href=\"#\">Link</a>\n </div>\n );\n}"
18910
+ },
18911
+ {
18912
+ "id": "components/divider/demo/default.tsx",
18913
+ "title": "水平分割线",
18914
+ "source": "import { Divider } from \"react-kui\";\nexport default function App() {\n return (\n <div>\n <p>See the light through the mist!</p>\n <Divider />\n <p>See the light through the mist!</p>\n <Divider>Text</Divider>\n <p>See the light through the mist!</p>\n <Divider dashed />\n <p>See the light through the mist!</p>\n </div>\n );\n}"
18915
+ },
18916
+ {
18917
+ "id": "components/divider/demo/with-text.tsx",
18918
+ "title": "带文字的分割线",
18919
+ "source": "import { Divider } from \"react-kui\";\nexport default function App() {\n return (\n <div>\n <p>See the light through the mist!</p>\n <Divider orientation=\"left\" text=\"Text\" />\n <p>See the light through the mist!</p>\n <Divider>Text</Divider>\n <p>See the light through the mist!</p>\n <Divider orientation=\"right\" text=\"Text\" />\n </div>\n );\n}"
18920
+ }
18921
+ ]
18922
+ },
18454
18923
  {
18455
18924
  "name": "Empty",
18456
18925
  "import": "import { Empty } from \"react-kui\"",
@@ -18485,8 +18954,8 @@
18485
18954
  "type": "React.ReactNode",
18486
18955
  "required": false,
18487
18956
  "boolean": false,
18488
- "descriptionZh": "",
18489
- "descriptionEn": ""
18957
+ "descriptionZh": "空状态底部区域,通常用于操作按钮。",
18958
+ "descriptionEn": "Footer content of the empty state, usually action buttons."
18490
18959
  }
18491
18960
  ],
18492
18961
  "nativeProps": [
@@ -19020,8 +19489,8 @@
19020
19489
  ],
19021
19490
  "boolean": true,
19022
19491
  "defaultExpression": "true",
19023
- "descriptionZh": "是否在标签后显示冒号;未设置时继承 Form 的配置",
19024
- "descriptionEn": "Whether to display a colon after the label; inherits the Form setting when unset"
19492
+ "descriptionZh": "是否显示标签冒号",
19493
+ "descriptionEn": "Whether to display a colon after labels"
19025
19494
  },
19026
19495
  {
19027
19496
  "name": "onSubmit",
@@ -19566,8 +20035,8 @@
19566
20035
  "type": "ReactNode",
19567
20036
  "required": false,
19568
20037
  "boolean": false,
19569
- "descriptionZh": "",
19570
- "descriptionEn": ""
20038
+ "descriptionZh": "字段控件及辅助内容;支持的表单控件通过 prop 接入 Form 字段上下文。",
20039
+ "descriptionEn": "Field controls and supporting content; supported controls bind to the Form field through prop."
19571
20040
  }
19572
20041
  ],
19573
20042
  "nativeProps": [],
@@ -19698,8 +20167,8 @@
19698
20167
  "type": "React.ReactNode",
19699
20168
  "required": false,
19700
20169
  "boolean": false,
19701
- "descriptionZh": "",
19702
- "descriptionEn": ""
20170
+ "descriptionZh": "参与 Flex 排列的子内容。",
20171
+ "descriptionEn": "Children arranged by the flex container."
19703
20172
  }
19704
20173
  ],
19705
20174
  "nativeProps": [
@@ -20248,8 +20717,8 @@
20248
20717
  "type": "ReactNode",
20249
20718
  "required": false,
20250
20719
  "boolean": false,
20251
- "descriptionZh": "",
20252
- "descriptionEn": ""
20720
+ "descriptionZh": "功能卡片正文中的附加自定义内容。",
20721
+ "descriptionEn": "Additional custom content in the feature-card body."
20253
20722
  }
20254
20723
  ],
20255
20724
  "nativeProps": [
@@ -20651,7 +21120,7 @@
20651
21120
  "props": [
20652
21121
  {
20653
21122
  "name": "children",
20654
- "type": "import(\"react\").ReactNode",
21123
+ "type": "ReactNode",
20655
21124
  "required": true,
20656
21125
  "boolean": false,
20657
21126
  "descriptionZh": "被火焰包裹的内容",
@@ -20667,7 +21136,7 @@
20667
21136
  },
20668
21137
  {
20669
21138
  "name": "style",
20670
- "type": "import(\"react\").CSSProperties | undefined",
21139
+ "type": "CSSProperties | undefined",
20671
21140
  "required": false,
20672
21141
  "boolean": false,
20673
21142
  "descriptionZh": "外层容器样式",
@@ -21400,7 +21869,7 @@
21400
21869
  },
21401
21870
  {
21402
21871
  "name": "align",
21403
- "type": "import(\".pnpm/csstype@3.2.3/node_modules/csstype\").Property.AlignItems | undefined",
21872
+ "type": "Property.AlignItems | undefined",
21404
21873
  "required": false,
21405
21874
  "boolean": false,
21406
21875
  "descriptionZh": "子项在网格单元格内的垂直对齐方式",
@@ -21408,7 +21877,7 @@
21408
21877
  },
21409
21878
  {
21410
21879
  "name": "justify",
21411
- "type": "import(\".pnpm/csstype@3.2.3/node_modules/csstype\").Property.JustifyItems | undefined",
21880
+ "type": "Property.JustifyItems | undefined",
21412
21881
  "required": false,
21413
21882
  "boolean": false,
21414
21883
  "descriptionZh": "子项在网格单元格内的水平对齐方式。",
@@ -21416,7 +21885,7 @@
21416
21885
  },
21417
21886
  {
21418
21887
  "name": "flow",
21419
- "type": "import(\".pnpm/csstype@3.2.3/node_modules/csstype\").Property.GridAutoFlow | undefined",
21888
+ "type": "Property.GridAutoFlow | undefined",
21420
21889
  "required": false,
21421
21890
  "boolean": false,
21422
21891
  "defaultExpression": "\"row\"",
@@ -22780,8 +23249,8 @@
22780
23249
  "type": "string[] | undefined",
22781
23250
  "required": false,
22782
23251
  "boolean": false,
22783
- "descriptionZh": "图片数据",
22784
- "descriptionEn": "Image data"
23252
+ "descriptionZh": "预览图片列表",
23253
+ "descriptionEn": "Preview image list"
22785
23254
  },
22786
23255
  {
22787
23256
  "name": "imgStyle",
@@ -23768,8 +24237,8 @@
23768
24237
  "large"
23769
24238
  ],
23770
24239
  "boolean": false,
23771
- "descriptionZh": "尺寸,可选值 `small`、`large`,默认不选",
23772
- "descriptionEn": "Size, optional values `small`, `large`, default not selected"
24240
+ "descriptionZh": "子组件的间距,可选值 `small`、`large`,默认不选",
24241
+ "descriptionEn": "Spacing of child components, optional values `small`, `large`, default not selected"
23773
24242
  },
23774
24243
  {
23775
24244
  "name": "value",
@@ -23834,7 +24303,7 @@
23834
24303
  ],
23835
24304
  "boolean": false,
23836
24305
  "descriptionZh": "主题",
23837
- "descriptionEn": "Theme"
24306
+ "descriptionEn": "The theme of Input"
23838
24307
  },
23839
24308
  {
23840
24309
  "name": "shape",
@@ -23847,16 +24316,8 @@
23847
24316
  "circle"
23848
24317
  ],
23849
24318
  "boolean": false,
23850
- "descriptionZh": "形状",
23851
- "descriptionEn": "Shape"
23852
- },
23853
- {
23854
- "name": "inputType",
23855
- "type": "string | undefined",
23856
- "required": false,
23857
- "boolean": false,
23858
- "descriptionZh": "自定义样式类名前缀",
23859
- "descriptionEn": "Custom style class prefix"
24319
+ "descriptionZh": "输入框形状",
24320
+ "descriptionEn": "Input shape"
23860
24321
  },
23861
24322
  {
23862
24323
  "name": "onSearch",
@@ -23887,16 +24348,8 @@
23887
24348
  "type": "((value: string) => void) | undefined",
23888
24349
  "required": false,
23889
24350
  "boolean": false,
23890
- "descriptionZh": "内容变化时的回调",
23891
- "descriptionEn": "Callback when the content changes"
23892
- },
23893
- {
23894
- "name": "controls",
23895
- "type": "React.ReactNode",
23896
- "required": false,
23897
- "boolean": false,
23898
- "descriptionZh": "输入框控制区域,供 InputNumber 等组件使用",
23899
- "descriptionEn": "Control area used by components such as InputNumber"
24351
+ "descriptionZh": "输入框内容变化时的回调",
24352
+ "descriptionEn": "Callback when the input box content changes"
23900
24353
  }
23901
24354
  ],
23902
24355
  "nativeProps": [
@@ -24337,16 +24790,15 @@
24337
24790
  "type": "((value: string) => void) | undefined",
24338
24791
  "required": false,
24339
24792
  "boolean": false,
24340
- "descriptionZh": "内容变化时的回调",
24341
- "descriptionEn": "Callback when the content changes"
24793
+ "descriptionZh": "输入框内容变化时的回调",
24794
+ "descriptionEn": "Callback when the input box content changes"
24342
24795
  }
24343
24796
  ],
24344
24797
  "renderProps": [
24345
24798
  "suffix",
24346
24799
  "prefix",
24347
24800
  "addonBefore",
24348
- "addonAfter",
24349
- "controls"
24801
+ "addonAfter"
24350
24802
  ],
24351
24803
  "behavior": {
24352
24804
  "rules": [
@@ -24459,8 +24911,8 @@
24459
24911
  "type": "React.ReactNode",
24460
24912
  "required": false,
24461
24913
  "boolean": false,
24462
- "descriptionZh": "",
24463
- "descriptionEn": ""
24914
+ "descriptionZh": "组合展示的输入框、按钮等内容,使用组的布局及外观上下文。",
24915
+ "descriptionEn": "Inputs, buttons or other content sharing the group's layout and appearance context."
24464
24916
  }
24465
24917
  ],
24466
24918
  "nativeProps": [
@@ -27227,8 +27679,8 @@
27227
27679
  "required": false,
27228
27680
  "boolean": false,
27229
27681
  "defaultExpression": "\"layout-content\"",
27230
- "descriptionZh": "",
27231
- "descriptionEn": ""
27682
+ "descriptionZh": "布局实现使用的基础类名后缀,生成 k-<suffixCls>;普通样式扩展应使用 className。",
27683
+ "descriptionEn": "Base class suffix used by the layout implementation to form k-<suffixCls>; use className for ordinary styling extensions."
27232
27684
  },
27233
27685
  {
27234
27686
  "name": "hasSider",
@@ -27247,8 +27699,8 @@
27247
27699
  "type": "React.ReactNode",
27248
27700
  "required": false,
27249
27701
  "boolean": false,
27250
- "descriptionZh": "",
27251
- "descriptionEn": ""
27702
+ "descriptionZh": "布局主内容区域的内容。",
27703
+ "descriptionEn": "Content of the layout's main section."
27252
27704
  }
27253
27705
  ],
27254
27706
  "nativeProps": [
@@ -27655,8 +28107,8 @@
27655
28107
  "required": false,
27656
28108
  "boolean": false,
27657
28109
  "defaultExpression": "\"layout-footer\"",
27658
- "descriptionZh": "",
27659
- "descriptionEn": ""
28110
+ "descriptionZh": "布局实现使用的基础类名后缀,生成 k-<suffixCls>;普通样式扩展应使用 className。",
28111
+ "descriptionEn": "Base class suffix used by the layout implementation to form k-<suffixCls>; use className for ordinary styling extensions."
27660
28112
  },
27661
28113
  {
27662
28114
  "name": "hasSider",
@@ -27675,8 +28127,8 @@
27675
28127
  "type": "React.ReactNode",
27676
28128
  "required": false,
27677
28129
  "boolean": false,
27678
- "descriptionZh": "",
27679
- "descriptionEn": ""
28130
+ "descriptionZh": "布局底部区域的内容。",
28131
+ "descriptionEn": "Content of the layout footer."
27680
28132
  }
27681
28133
  ],
27682
28134
  "nativeProps": [
@@ -28083,8 +28535,8 @@
28083
28535
  "required": false,
28084
28536
  "boolean": false,
28085
28537
  "defaultExpression": "\"layout-header\"",
28086
- "descriptionZh": "",
28087
- "descriptionEn": ""
28538
+ "descriptionZh": "布局实现使用的基础类名后缀,生成 k-<suffixCls>;普通样式扩展应使用 className。",
28539
+ "descriptionEn": "Base class suffix used by the layout implementation to form k-<suffixCls>; use className for ordinary styling extensions."
28088
28540
  },
28089
28541
  {
28090
28542
  "name": "hasSider",
@@ -28103,8 +28555,8 @@
28103
28555
  "type": "React.ReactNode",
28104
28556
  "required": false,
28105
28557
  "boolean": false,
28106
- "descriptionZh": "",
28107
- "descriptionEn": ""
28558
+ "descriptionZh": "布局头部区域的内容。",
28559
+ "descriptionEn": "Content of the layout header."
28108
28560
  }
28109
28561
  ],
28110
28562
  "nativeProps": [
@@ -28510,8 +28962,8 @@
28510
28962
  "type": "string | undefined",
28511
28963
  "required": false,
28512
28964
  "boolean": false,
28513
- "descriptionZh": "",
28514
- "descriptionEn": ""
28965
+ "descriptionZh": "布局实现使用的基础类名后缀,生成 k-<suffixCls>;普通样式扩展应使用 className。",
28966
+ "descriptionEn": "Base class suffix used by the layout implementation to form k-<suffixCls>; use className for ordinary styling extensions."
28515
28967
  },
28516
28968
  {
28517
28969
  "name": "hasSider",
@@ -28530,8 +28982,8 @@
28530
28982
  "type": "React.ReactNode",
28531
28983
  "required": false,
28532
28984
  "boolean": false,
28533
- "descriptionZh": "",
28534
- "descriptionEn": ""
28985
+ "descriptionZh": "布局子区域,如 Header、Content、Sider 和 Footer;嵌套布局也可作为内容。",
28986
+ "descriptionEn": "Layout sections such as Header, Content, Sider and Footer, including nested layouts."
28535
28987
  }
28536
28988
  ],
28537
28989
  "nativeProps": [
@@ -28942,8 +29394,8 @@
28942
29394
  "required": false,
28943
29395
  "boolean": false,
28944
29396
  "defaultExpression": "\"layout-sider\"",
28945
- "descriptionZh": "",
28946
- "descriptionEn": ""
29397
+ "descriptionZh": "布局实现使用的基础类名后缀,生成 k-<suffixCls>;普通样式扩展应使用 className。",
29398
+ "descriptionEn": "Base class suffix used by the layout implementation to form k-<suffixCls>; use className for ordinary styling extensions."
28947
29399
  },
28948
29400
  {
28949
29401
  "name": "width",
@@ -28992,8 +29444,8 @@
28992
29444
  "type": "React.ReactNode",
28993
29445
  "required": false,
28994
29446
  "boolean": false,
28995
- "descriptionZh": "",
28996
- "descriptionEn": ""
29447
+ "descriptionZh": "侧栏内容,如导航菜单;宽度和折叠由 Sider 属性控制。",
29448
+ "descriptionEn": "Sidebar content such as navigation; Sider props control width and collapse."
28997
29449
  }
28998
29450
  ],
28999
29451
  "nativeProps": [
@@ -30103,8 +30555,8 @@
30103
30555
  "type": "string | undefined",
30104
30556
  "required": false,
30105
30557
  "boolean": false,
30106
- "descriptionZh": "",
30107
- "descriptionEn": ""
30558
+ "descriptionZh": "菜单身份标识的兼容回退值,仅在未设置 itemKey 时使用;新代码优先使用 itemKey。",
30559
+ "descriptionEn": "Compatibility fallback for item identity, used only when itemKey is absent; prefer itemKey in new code."
30108
30560
  },
30109
30561
  {
30110
30562
  "name": "icon",
@@ -30157,16 +30609,16 @@
30157
30609
  "required": false,
30158
30610
  "boolean": false,
30159
30611
  "defaultExpression": "\"\"",
30160
- "descriptionZh": "",
30161
- "descriptionEn": ""
30612
+ "descriptionZh": "追加到菜单项 li 元素的 CSS 类名。",
30613
+ "descriptionEn": "Additional CSS classes on the menu item's li element."
30162
30614
  },
30163
30615
  {
30164
30616
  "name": "style",
30165
30617
  "type": "React.CSSProperties | undefined",
30166
30618
  "required": false,
30167
30619
  "boolean": false,
30168
- "descriptionZh": "",
30169
- "descriptionEn": ""
30620
+ "descriptionZh": "菜单项 li 元素的内联样式;内联模式嵌套缩进可能覆盖 paddingLeft。",
30621
+ "descriptionEn": "Inline styles on the menu item's li element; nested inline-menu indentation may override paddingLeft."
30170
30622
  }
30171
30623
  ],
30172
30624
  "nativeProps": [],
@@ -30187,7 +30639,9 @@
30187
30639
  "children"
30188
30640
  ],
30189
30641
  "behavior": {
30190
- "rules": []
30642
+ "rules": [
30643
+ "Use itemKey to identify the menu item. React key alone is not forwarded as itemKey."
30644
+ ]
30191
30645
  },
30192
30646
  "children": [],
30193
30647
  "parent": "Menu",
@@ -30247,8 +30701,8 @@
30247
30701
  "type": "string | undefined",
30248
30702
  "required": false,
30249
30703
  "boolean": false,
30250
- "descriptionZh": "",
30251
- "descriptionEn": ""
30704
+ "descriptionZh": "菜单身份标识的兼容回退值,仅在未设置 itemKey 时使用;新代码优先使用 itemKey。",
30705
+ "descriptionEn": "Compatibility fallback for item identity, used only when itemKey is absent; prefer itemKey in new code."
30252
30706
  },
30253
30707
  {
30254
30708
  "name": "disabled",
@@ -31038,8 +31492,8 @@
31038
31492
  "loading"
31039
31493
  ],
31040
31494
  "boolean": false,
31041
- "descriptionZh": "",
31042
- "descriptionEn": ""
31495
+ "descriptionZh": "消息语义类型,影响状态类名和默认图标;icon 可覆盖默认图标。",
31496
+ "descriptionEn": "Semantic message type controlling status classes and the default icon; icon can override that icon."
31043
31497
  },
31044
31498
  {
31045
31499
  "name": "onClose",
@@ -31066,8 +31520,8 @@
31066
31520
  true
31067
31521
  ],
31068
31522
  "boolean": true,
31069
- "descriptionZh": "",
31070
- "descriptionEn": ""
31523
+ "descriptionZh": "是否显示关闭按钮;点击时调用 onClose,独立面板由调用方处理移除。",
31524
+ "descriptionEn": "Whether to show the close button; clicking calls onClose, and the caller handles removal of a standalone panel."
31071
31525
  },
31072
31526
  {
31073
31527
  "name": "grouping",
@@ -31136,8 +31590,8 @@
31136
31590
  "type": "string | undefined",
31137
31591
  "required": false,
31138
31592
  "boolean": false,
31139
- "descriptionZh": "",
31140
- "descriptionEn": ""
31593
+ "descriptionZh": "追加到 k-modal 根容器的 CSS 类名。",
31594
+ "descriptionEn": "Additional CSS classes on the k-modal root container."
31141
31595
  },
31142
31596
  {
31143
31597
  "name": "open",
@@ -31372,8 +31826,8 @@
31372
31826
  "type": "React.ReactNode",
31373
31827
  "required": false,
31374
31828
  "boolean": false,
31375
- "descriptionZh": "",
31376
- "descriptionEn": ""
31829
+ "descriptionZh": "标准弹窗正文;传入真值 content 时将替换整个标准内容区,包括头部、正文和页脚。",
31830
+ "descriptionEn": "Standard modal body; a truthy content prop replaces the entire standard content region, including header, body and footer."
31377
31831
  }
31378
31832
  ],
31379
31833
  "nativeProps": [],
@@ -31472,8 +31926,8 @@
31472
31926
  "type": "string | undefined",
31473
31927
  "required": false,
31474
31928
  "boolean": false,
31475
- "descriptionZh": "",
31476
- "descriptionEn": ""
31929
+ "descriptionZh": "追加到 k-modal-panel 根容器的 CSS 类名。",
31930
+ "descriptionEn": "Additional CSS classes on the k-modal-panel root container."
31477
31931
  },
31478
31932
  {
31479
31933
  "name": "title",
@@ -31496,8 +31950,8 @@
31496
31950
  "type": "React.ReactNode",
31497
31951
  "required": false,
31498
31952
  "boolean": false,
31499
- "descriptionZh": "",
31500
- "descriptionEn": ""
31953
+ "descriptionZh": "独立面板的标准正文;真值 content 会替换整个标准内容区。",
31954
+ "descriptionEn": "Standard body of the standalone panel; truthy content replaces the entire standard content region."
31501
31955
  },
31502
31956
  {
31503
31957
  "name": "onOpenChange",
@@ -31759,8 +32213,8 @@
31759
32213
  "loading"
31760
32214
  ],
31761
32215
  "boolean": false,
31762
- "descriptionZh": "",
31763
- "descriptionEn": ""
32216
+ "descriptionZh": "消息语义类型,影响状态类名和默认图标;icon 可覆盖默认图标。",
32217
+ "descriptionEn": "Semantic message type controlling status classes and the default icon; icon can override that icon."
31764
32218
  },
31765
32219
  {
31766
32220
  "name": "onClose",
@@ -31787,8 +32241,8 @@
31787
32241
  true
31788
32242
  ],
31789
32243
  "boolean": true,
31790
- "descriptionZh": "",
31791
- "descriptionEn": ""
32244
+ "descriptionZh": "共享面板类型中的属性;当前 NoticePanel 始终显示关闭按钮,此属性不会隐藏它。",
32245
+ "descriptionEn": "A prop inherited from the shared panel type; NoticePanel currently always shows its close button, so this prop does not hide it."
31792
32246
  },
31793
32247
  {
31794
32248
  "name": "grouping",
@@ -31865,6 +32319,19 @@
31865
32319
  "descriptionZh": "是否使用简单分页模式",
31866
32320
  "descriptionEn": "Whether to use simple pagination mode"
31867
32321
  },
32322
+ {
32323
+ "name": "responsive",
32324
+ "type": "boolean | undefined",
32325
+ "required": false,
32326
+ "enumValues": [
32327
+ false,
32328
+ true
32329
+ ],
32330
+ "boolean": true,
32331
+ "defaultExpression": "true",
32332
+ "descriptionZh": "是否根据容器可用宽度自动调整分页布局",
32333
+ "descriptionEn": "Adapt pagination to the available container width"
32334
+ },
31868
32335
  {
31869
32336
  "name": "disabled",
31870
32337
  "type": "boolean | undefined",
@@ -32404,6 +32871,11 @@
32404
32871
  "id": "components/page/demo/simple.tsx",
32405
32872
  "title": "简洁分页",
32406
32873
  "source": "import { useState } from \"react\";\nimport { Page, Space } from \"react-kui\";\n\nexport default function App() {\n const [page, setPage] = useState(2);\n return (\n <Space vertical>\n <Page\n page={page}\n onChange={(nextPage) => setPage(nextPage)}\n simple\n total={80}\n pageSize={10}\n />\n <Page\n page={page}\n onChange={(nextPage) => setPage(nextPage)}\n simple\n showElevator\n total={1000}\n pageSize={10}\n />\n <Page\n page={page}\n onChange={(nextPage) => setPage(nextPage)}\n simple\n size=\"small\"\n theme=\"outline\"\n total={80}\n pageSize={10}\n />\n <Page page={3} simple disabled total={80} pageSize={10} />\n </Space>\n );\n}"
32874
+ },
32875
+ {
32876
+ "id": "components/page/demo/responsive.tsx",
32877
+ "title": "自适应分页",
32878
+ "source": "import { Page } from \"react-kui\";\n\nexport default function App() {\n return (\n <div\n style={{\n width: 720,\n maxWidth: \"100%\",\n minWidth: 180,\n resize: \"horizontal\",\n overflow: \"auto\",\n padding: 16,\n boxSizing: \"border-box\",\n border: \"1px solid var(--kui-color-border)\",\n }}\n >\n <Page total={10000} page={50} showSizer showElevator />\n </div>\n );\n}"
32407
32879
  }
32408
32880
  ]
32409
32881
  },
@@ -32457,8 +32929,8 @@
32457
32929
  "type": "ReactNode",
32458
32930
  "required": false,
32459
32931
  "boolean": false,
32460
- "descriptionZh": "",
32461
- "descriptionEn": ""
32932
+ "descriptionZh": "页面头部主体中的附加内容。",
32933
+ "descriptionEn": "Additional content in the page-header body."
32462
32934
  }
32463
32935
  ],
32464
32936
  "nativeProps": [
@@ -32996,8 +33468,8 @@
32996
33468
  "type": "React.ReactNode",
32997
33469
  "required": false,
32998
33470
  "boolean": false,
32999
- "descriptionZh": "",
33000
- "descriptionEn": ""
33471
+ "descriptionZh": "气泡卡片的触发内容;卡片正文使用 content。",
33472
+ "descriptionEn": "Trigger content for the popover; supply its body through content."
33001
33473
  }
33002
33474
  ],
33003
33475
  "nativeProps": [],
@@ -33379,8 +33851,8 @@
33379
33851
  "type": "React.ReactNode",
33380
33852
  "required": false,
33381
33853
  "boolean": false,
33382
- "descriptionZh": "",
33383
- "descriptionEn": ""
33854
+ "descriptionZh": "确认气泡的触发内容,不是气泡正文。",
33855
+ "descriptionEn": "Trigger content for the confirmation popup, not its body."
33384
33856
  }
33385
33857
  ],
33386
33858
  "nativeProps": [],
@@ -34180,7 +34652,7 @@
34180
34652
  },
34181
34653
  {
34182
34654
  "name": "style",
34183
- "type": "import(\"react\").CSSProperties | undefined",
34655
+ "type": "CSSProperties | undefined",
34184
34656
  "required": false,
34185
34657
  "boolean": false,
34186
34658
  "descriptionZh": "外层容器样式",
@@ -34922,8 +35394,8 @@
34922
35394
  "type": "string | number | undefined",
34923
35395
  "required": false,
34924
35396
  "boolean": false,
34925
- "descriptionZh": "的当前选中值",
34926
- "descriptionEn": "selected value"
35397
+ "descriptionZh": "组合使用时的值",
35398
+ "descriptionEn": "Value when used in combination"
34927
35399
  },
34928
35400
  {
34929
35401
  "name": "label",
@@ -34968,16 +35440,16 @@
34968
35440
  "type": "((e: ChangeEvent) => void) | undefined",
34969
35441
  "required": false,
34970
35442
  "boolean": false,
34971
- "descriptionZh": "在选项状态发生改变时触发,返回当前选中的项",
34972
- "descriptionEn": "Triggered when option state changes, returns currently selected item"
35443
+ "descriptionZh": "在选项状态发生改变时回调",
35444
+ "descriptionEn": "Callback when option state changes"
34973
35445
  },
34974
35446
  {
34975
35447
  "name": "children",
34976
35448
  "type": "React.ReactNode",
34977
35449
  "required": false,
34978
35450
  "boolean": false,
34979
- "descriptionZh": "",
34980
- "descriptionEn": ""
35451
+ "descriptionZh": "未设置 label 时的单选项标签内容。",
35452
+ "descriptionEn": "Radio label content used when label is null or undefined."
34981
35453
  },
34982
35454
  {
34983
35455
  "name": "disabled",
@@ -34988,8 +35460,8 @@
34988
35460
  true
34989
35461
  ],
34990
35462
  "boolean": true,
34991
- "descriptionZh": "是否禁用整个单选组",
34992
- "descriptionEn": "Disable the entire group"
35463
+ "descriptionZh": "是否禁用当前项",
35464
+ "descriptionEn": "Whether current item is disabled"
34993
35465
  },
34994
35466
  {
34995
35467
  "name": "readOnly",
@@ -35000,8 +35472,8 @@
35000
35472
  true
35001
35473
  ],
35002
35474
  "boolean": true,
35003
- "descriptionZh": "是否只读",
35004
- "descriptionEn": "Whether the group is read-only"
35475
+ "descriptionZh": "是否只读当前项",
35476
+ "descriptionEn": "Whether current item is read-only"
35005
35477
  }
35006
35478
  ],
35007
35479
  "nativeProps": [
@@ -35372,8 +35844,8 @@
35372
35844
  "type": "((e: ChangeEvent) => void) | undefined",
35373
35845
  "required": false,
35374
35846
  "boolean": false,
35375
- "descriptionZh": "在选项状态发生改变时触发,返回当前选中的项",
35376
- "descriptionEn": "Triggered when option state changes, returns currently selected item"
35847
+ "descriptionZh": "在选项状态发生改变时回调",
35848
+ "descriptionEn": "Callback when option state changes"
35377
35849
  }
35378
35850
  ],
35379
35851
  "renderProps": [
@@ -35447,8 +35919,8 @@
35447
35919
  "underlined"
35448
35920
  ],
35449
35921
  "boolean": false,
35450
- "descriptionZh": "`button` 的主题",
35451
- "descriptionEn": "Button theme"
35922
+ "descriptionZh": "按钮外观",
35923
+ "descriptionEn": "Button appearance"
35452
35924
  },
35453
35925
  {
35454
35926
  "name": "disabled",
@@ -35518,7 +35990,7 @@
35518
35990
  "circle"
35519
35991
  ],
35520
35992
  "boolean": false,
35521
- "descriptionZh": "`button` 的形状",
35993
+ "descriptionZh": "按钮形状",
35522
35994
  "descriptionEn": "Button shape"
35523
35995
  },
35524
35996
  {
@@ -35534,8 +36006,8 @@
35534
36006
  "type": "React.ReactNode",
35535
36007
  "required": false,
35536
36008
  "boolean": false,
35537
- "descriptionZh": "",
35538
- "descriptionEn": ""
36009
+ "descriptionZh": "未设置 label 时的按钮式单选标签,二者均无内容时回退到 value。",
36010
+ "descriptionEn": "Button-style radio label when label is null or undefined; falls back to value when both are absent."
35539
36011
  }
35540
36012
  ],
35541
36013
  "nativeProps": [
@@ -36073,8 +36545,8 @@
36073
36545
  "type": "React.ReactNode",
36074
36546
  "required": false,
36075
36547
  "boolean": false,
36076
- "descriptionZh": "",
36077
- "descriptionEn": ""
36548
+ "descriptionZh": "自定义 Radio 或 RadioButton 子节点,共享组的值和禁用状态。",
36549
+ "descriptionEn": "Custom Radio or RadioButton children sharing the group value and disabled state."
36078
36550
  }
36079
36551
  ],
36080
36552
  "nativeProps": [
@@ -38058,8 +38530,8 @@
38058
38530
  ],
38059
38531
  "boolean": true,
38060
38532
  "defaultExpression": "false",
38061
- "descriptionZh": "",
38062
- "descriptionEn": ""
38533
+ "descriptionZh": "选项是否选中,控制选中样式;通常由 Select 根据选中值注入。",
38534
+ "descriptionEn": "Whether the option is selected, controlling selected styling; normally injected by Select from its selected value."
38063
38535
  },
38064
38536
  {
38065
38537
  "name": "active",
@@ -38071,8 +38543,8 @@
38071
38543
  ],
38072
38544
  "boolean": true,
38073
38545
  "defaultExpression": "false",
38074
- "descriptionZh": "",
38075
- "descriptionEn": ""
38546
+ "descriptionZh": "选项的活动高亮状态,与选中状态不同,通常由 Select 的键盘导航管理。",
38547
+ "descriptionEn": "Active highlight state, distinct from selection and normally managed by Select keyboard navigation."
38076
38548
  },
38077
38549
  {
38078
38550
  "name": "multiple",
@@ -38100,8 +38572,8 @@
38100
38572
  "type": "((e: React.MouseEvent) => void) | undefined",
38101
38573
  "required": false,
38102
38574
  "boolean": false,
38103
- "descriptionZh": "",
38104
- "descriptionEn": ""
38575
+ "descriptionZh": "鼠标进入可用选项时触发,接收 React 鼠标事件;禁用项不触发。",
38576
+ "descriptionEn": "Called with the React mouse event when the pointer enters an enabled option; disabled options do not trigger it."
38105
38577
  }
38106
38578
  ],
38107
38579
  "nativeProps": [
@@ -38478,8 +38950,8 @@
38478
38950
  "type": "((e: React.MouseEvent) => void) | undefined",
38479
38951
  "required": false,
38480
38952
  "boolean": false,
38481
- "descriptionZh": "",
38482
- "descriptionEn": ""
38953
+ "descriptionZh": "鼠标进入可用选项时触发,接收 React 鼠标事件;禁用项不触发。",
38954
+ "descriptionEn": "Called with the React mouse event when the pointer enters an enabled option; disabled options do not trigger it."
38483
38955
  }
38484
38956
  ],
38485
38957
  "renderProps": [
@@ -38596,8 +39068,8 @@
38596
39068
  "type": "SelectValue",
38597
39069
  "required": false,
38598
39070
  "boolean": false,
38599
- "descriptionZh": "选项值,默认根据此属性值进行筛选,必填",
38600
- "descriptionEn": "Option value, used for filtering by default, required"
39071
+ "descriptionZh": "的选中值",
39072
+ "descriptionEn": "selected value"
38601
39073
  },
38602
39074
  {
38603
39075
  "name": "open",
@@ -38887,8 +39359,8 @@
38887
39359
  "type": "React.ReactNode",
38888
39360
  "required": false,
38889
39361
  "boolean": false,
38890
- "descriptionZh": "",
38891
- "descriptionEn": ""
39362
+ "descriptionZh": "以 Option 子节点声明的选项;使用 options 数据源时无需重复声明。",
39363
+ "descriptionEn": "Options declared as Option children; do not duplicate options already supplied through the options data source."
38892
39364
  }
38893
39365
  ],
38894
39366
  "nativeProps": [
@@ -39297,7 +39769,8 @@
39297
39769
  ],
39298
39770
  "behavior": {
39299
39771
  "rules": [
39300
- "Use value and onChange, not v-model. Multiple selection requires an array; consult the onChange signature for the value and option data."
39772
+ "Use value and onChange(value), not v-model. Multiple selection uses an array.",
39773
+ "onSelect(option) supplies the selected option and selected flag; onChange does not supply an option as a second argument."
39301
39774
  ]
39302
39775
  },
39303
39776
  "children": [
@@ -39416,8 +39889,8 @@
39416
39889
  "type": "React.ReactNode",
39417
39890
  "required": false,
39418
39891
  "boolean": false,
39419
- "descriptionZh": "",
39420
- "descriptionEn": ""
39892
+ "descriptionZh": "接收 locale、尺寸、主题和形状配置的后代组件。",
39893
+ "descriptionEn": "Descendant components receiving locale, size, theme and shape configuration."
39421
39894
  }
39422
39895
  ],
39423
39896
  "nativeProps": [],
@@ -39478,8 +39951,8 @@
39478
39951
  "required": false,
39479
39952
  "boolean": false,
39480
39953
  "defaultExpression": "500",
39481
- "descriptionZh": "延迟显示骨架,单位毫秒",
39482
- "descriptionEn": "Delay showing the skeleton, in milliseconds"
39954
+ "descriptionZh": "延迟显示骨架,避免快速加载时闪烁,单位毫秒",
39955
+ "descriptionEn": "Delay showing the skeleton to avoid flickering, in milliseconds"
39483
39956
  },
39484
39957
  {
39485
39958
  "name": "title",
@@ -39520,8 +39993,8 @@
39520
39993
  "type": "React.ReactNode",
39521
39994
  "required": false,
39522
39995
  "boolean": false,
39523
- "descriptionZh": "",
39524
- "descriptionEn": ""
39996
+ "descriptionZh": "骨架不再显示时展示的实际内容;加载期间展示骨架占位。",
39997
+ "descriptionEn": "Actual content displayed after the skeleton is hidden; loading displays the skeleton placeholder."
39525
39998
  }
39526
39999
  ],
39527
40000
  "nativeProps": [
@@ -40004,8 +40477,8 @@
40004
40477
  "type": "React.ReactNode",
40005
40478
  "required": false,
40006
40479
  "boolean": false,
40007
- "descriptionZh": "",
40008
- "descriptionEn": ""
40480
+ "descriptionZh": "骨架不再显示时展示的实际内容;加载期间展示骨架占位。",
40481
+ "descriptionEn": "Actual content displayed after the skeleton is hidden; loading displays the skeleton placeholder."
40009
40482
  }
40010
40483
  ],
40011
40484
  "nativeProps": [
@@ -40509,8 +40982,8 @@
40509
40982
  "type": "React.ReactNode",
40510
40983
  "required": false,
40511
40984
  "boolean": false,
40512
- "descriptionZh": "",
40513
- "descriptionEn": ""
40985
+ "descriptionZh": "骨架不再显示时展示的实际内容;加载期间展示骨架占位。",
40986
+ "descriptionEn": "Actual content displayed after the skeleton is hidden; loading displays the skeleton placeholder."
40514
40987
  }
40515
40988
  ],
40516
40989
  "nativeProps": [
@@ -40981,8 +41454,8 @@
40981
41454
  "type": "React.ReactNode",
40982
41455
  "required": false,
40983
41456
  "boolean": false,
40984
- "descriptionZh": "",
40985
- "descriptionEn": ""
41457
+ "descriptionZh": "骨架不再显示时展示的实际内容;加载期间展示骨架占位。",
41458
+ "descriptionEn": "Actual content displayed after the skeleton is hidden; loading displays the skeleton placeholder."
40986
41459
  }
40987
41460
  ],
40988
41461
  "nativeProps": [
@@ -41459,8 +41932,8 @@
41459
41932
  "type": "React.ReactNode",
41460
41933
  "required": false,
41461
41934
  "boolean": false,
41462
- "descriptionZh": "",
41463
- "descriptionEn": ""
41935
+ "descriptionZh": "骨架不再显示时展示的实际内容;加载期间展示骨架占位。",
41936
+ "descriptionEn": "Actual content displayed after the skeleton is hidden; loading displays the skeleton placeholder."
41464
41937
  }
41465
41938
  ],
41466
41939
  "nativeProps": [
@@ -43538,8 +44011,8 @@
43538
44011
  "type": "React.ReactNode",
43539
44012
  "required": false,
43540
44013
  "boolean": false,
43541
- "descriptionZh": "",
43542
- "descriptionEn": ""
44014
+ "descriptionZh": "按配置的间距和方向排列的内容;compact 时组合相邻控件。",
44015
+ "descriptionEn": "Content arranged with the configured spacing and direction; compact combines adjacent controls."
43543
44016
  }
43544
44017
  ],
43545
44018
  "nativeProps": [
@@ -44027,8 +44500,8 @@
44027
44500
  "type": "React.ReactNode",
44028
44501
  "required": false,
44029
44502
  "boolean": false,
44030
- "descriptionZh": "",
44031
- "descriptionEn": ""
44503
+ "descriptionZh": "加载状态覆盖的内容;省略内容时作为独立加载指示器使用。",
44504
+ "descriptionEn": "Content covered by the loading state; omit it for a standalone loading indicator."
44032
44505
  }
44033
44506
  ],
44034
44507
  "nativeProps": [
@@ -44557,8 +45030,8 @@
44557
45030
  ],
44558
45031
  "boolean": false,
44559
45032
  "defaultExpression": "\"process\"",
44560
- "descriptionZh": "单步状态",
44561
- "descriptionEn": "Step status"
45033
+ "descriptionZh": "当前状态",
45034
+ "descriptionEn": "Current status"
44562
45035
  },
44563
45036
  {
44564
45037
  "name": "items",
@@ -44581,8 +45054,8 @@
44581
45054
  "type": "React.ReactNode",
44582
45055
  "required": false,
44583
45056
  "boolean": false,
44584
- "descriptionZh": "",
44585
- "descriptionEn": ""
45057
+ "descriptionZh": "步骤子节点;容器根据 current 等属性分配步骤序号与状态。",
45058
+ "descriptionEn": "Step children whose indices and statuses are assigned by the container using current and related props."
44586
45059
  }
44587
45060
  ],
44588
45061
  "nativeProps": [
@@ -46453,8 +46926,8 @@
46453
46926
  "required": false,
46454
46927
  "boolean": false,
46455
46928
  "defaultExpression": "[]",
46456
- "descriptionZh": "列定义;设置面板仅列出顶层无子列的列。",
46457
- "descriptionEn": "Column definitions; only top-level columns without children appear in the settings."
46929
+ "descriptionZh": "表格列的配置描述,",
46930
+ "descriptionEn": "Configuration description of table columns"
46458
46931
  },
46459
46932
  {
46460
46933
  "name": "selectedKeys",
@@ -46470,8 +46943,8 @@
46470
46943
  "required": false,
46471
46944
  "boolean": false,
46472
46945
  "defaultExpression": "[]",
46473
- "descriptionZh": "不参与设置的列 key;重置时保留这些列的隐藏状态。",
46474
- "descriptionEn": "Column keys excluded from the settings; their hidden state is preserved on reset."
46946
+ "descriptionZh": "禁用的key集合",
46947
+ "descriptionEn": "Disabled key set"
46475
46948
  },
46476
46949
  {
46477
46950
  "name": "rowKey",
@@ -46545,7 +47018,7 @@
46545
47018
  },
46546
47019
  {
46547
47020
  "name": "size",
46548
- "type": "import(\"../components\").SizeType | undefined",
47021
+ "type": "SizeType | undefined",
46549
47022
  "required": false,
46550
47023
  "enumValues": [
46551
47024
  "small",
@@ -46553,8 +47026,8 @@
46553
47026
  "large"
46554
47027
  ],
46555
47028
  "boolean": false,
46556
- "descriptionZh": "默认触发按钮及勾选框的尺寸。",
46557
- "descriptionEn": "Size of the default trigger button and checkboxes."
47029
+ "descriptionZh": "值为`small`时展示紧凑模式",
47030
+ "descriptionEn": "Display compact mode when the value is `small`"
46558
47031
  },
46559
47032
  {
46560
47033
  "name": "striped",
@@ -46583,7 +47056,7 @@
46583
47056
  },
46584
47057
  {
46585
47058
  "name": "shape",
46586
- "type": "import(\"../components\").ShapeType | undefined",
47059
+ "type": "ShapeType | undefined",
46587
47060
  "required": false,
46588
47061
  "enumValues": [
46589
47062
  "round",
@@ -46680,8 +47153,8 @@
46680
47153
  "required": false,
46681
47154
  "boolean": false,
46682
47155
  "defaultExpression": "[]",
46683
- "descriptionZh": "隐藏列的 key 集合;在变更回调中更新,并将同一值传给 Table。",
46684
- "descriptionEn": "Hidden column keys. Update this value in the change callback and pass the same value to Table."
47156
+ "descriptionZh": "隐藏的列 key 集合",
47157
+ "descriptionEn": "Hidden column key collection"
46685
47158
  },
46686
47159
  {
46687
47160
  "name": "onSort",
@@ -47291,8 +47764,8 @@
47291
47764
  "required": false,
47292
47765
  "boolean": false,
47293
47766
  "defaultExpression": "\"Column settings\"",
47294
- "descriptionZh": "列头显示文字",
47295
- "descriptionEn": "Header display text"
47767
+ "descriptionZh": "弹层标题及默认触发按钮文案。",
47768
+ "descriptionEn": "Popup title and default trigger button text."
47296
47769
  },
47297
47770
  {
47298
47771
  "name": "resetText",
@@ -47334,8 +47807,8 @@
47334
47807
  "type": "ReactNode",
47335
47808
  "required": false,
47336
47809
  "boolean": false,
47337
- "descriptionZh": "嵌套表头子列",
47338
- "descriptionEn": "Nested header columns"
47810
+ "descriptionZh": "自定义触发器内容。",
47811
+ "descriptionEn": "Custom trigger content."
47339
47812
  }
47340
47813
  ],
47341
47814
  "nativeProps": [],
@@ -47566,8 +48039,8 @@
47566
48039
  "type": "React.ReactNode",
47567
48040
  "required": false,
47568
48041
  "boolean": false,
47569
- "descriptionZh": "",
47570
- "descriptionEn": ""
48042
+ "descriptionZh": "提示的触发内容;提示文本使用 title。",
48043
+ "descriptionEn": "Tooltip trigger content; provide tooltip text through title."
47571
48044
  }
47572
48045
  ],
47573
48046
  "nativeProps": [],
@@ -47979,8 +48452,8 @@
47979
48452
  "type": "React.ReactNode",
47980
48453
  "required": false,
47981
48454
  "boolean": false,
47982
- "descriptionZh": "",
47983
- "descriptionEn": ""
48455
+ "descriptionZh": "当前标签页的内容区域。",
48456
+ "descriptionEn": "Content of this tab pane."
47984
48457
  }
47985
48458
  ],
47986
48459
  "nativeProps": [
@@ -48516,8 +48989,8 @@
48516
48989
  "type": "React.ReactNode",
48517
48990
  "required": false,
48518
48991
  "boolean": false,
48519
- "descriptionZh": "",
48520
- "descriptionEn": ""
48992
+ "descriptionZh": "TabPanel 子节点,用于生成页签导航和对应面板。",
48993
+ "descriptionEn": "TabPanel children used to build tab navigation and panes."
48521
48994
  }
48522
48995
  ],
48523
48996
  "nativeProps": [
@@ -51635,7 +52108,7 @@
51635
52108
  },
51636
52109
  {
51637
52110
  "name": "theme",
51638
- "type": "import(\"../components\").ThemeType | undefined",
52111
+ "type": "ThemeType | undefined",
51639
52112
  "required": false,
51640
52113
  "enumValues": [
51641
52114
  "dashed",
@@ -51664,7 +52137,7 @@
51664
52137
  },
51665
52138
  {
51666
52139
  "name": "shape",
51667
- "type": "import(\"../components\").ShapeType | undefined",
52140
+ "type": "ShapeType | undefined",
51668
52141
  "required": false,
51669
52142
  "enumValues": [
51670
52143
  "round",
@@ -51698,7 +52171,7 @@
51698
52171
  },
51699
52172
  {
51700
52173
  "name": "icon",
51701
- "type": "import(\"../icon\").IconType[] | undefined",
52174
+ "type": "IconType[] | undefined",
51702
52175
  "required": false,
51703
52176
  "boolean": false,
51704
52177
  "descriptionZh": "自定义前缀图标。",
@@ -51706,7 +52179,7 @@
51706
52179
  },
51707
52180
  {
51708
52181
  "name": "arrowIcon",
51709
- "type": "import(\"../icon\").IconType[] | undefined",
52182
+ "type": "IconType[] | undefined",
51710
52183
  "required": false,
51711
52184
  "boolean": false,
51712
52185
  "descriptionZh": "自定义下拉箭头。",
@@ -51722,7 +52195,7 @@
51722
52195
  },
51723
52196
  {
51724
52197
  "name": "loadData",
51725
- "type": "import(\"./types\").CascaderLoadData | undefined",
52198
+ "type": "CascaderLoadData | undefined",
51726
52199
  "required": false,
51727
52200
  "boolean": false,
51728
52201
  "descriptionZh": "异步加载子节点;返回子节点数组,或自行更新 `option.children`",
@@ -51766,7 +52239,7 @@
51766
52239
  },
51767
52240
  {
51768
52241
  "name": "size",
51769
- "type": "import(\"../components\").SizeType | undefined",
52242
+ "type": "SizeType | undefined",
51770
52243
  "required": false,
51771
52244
  "enumValues": [
51772
52245
  "small",
@@ -51811,7 +52284,7 @@
51811
52284
  },
51812
52285
  {
51813
52286
  "name": "placement",
51814
- "type": "import(\"../components\").DropPlacementsType | undefined",
52287
+ "type": "DropPlacementsType | undefined",
51815
52288
  "required": false,
51816
52289
  "enumValues": [
51817
52290
  "top",
@@ -52382,8 +52855,8 @@
52382
52855
  "type": "React.ReactNode",
52383
52856
  "required": false,
52384
52857
  "boolean": false,
52385
- "descriptionZh": "",
52386
- "descriptionEn": ""
52858
+ "descriptionZh": "标签正文,与关闭按钮独立。",
52859
+ "descriptionEn": "Tag body content, separate from the close button."
52387
52860
  }
52388
52861
  ],
52389
52862
  "nativeProps": [
@@ -52904,8 +53377,8 @@
52904
53377
  "type": "React.ReactNode",
52905
53378
  "required": false,
52906
53379
  "boolean": false,
52907
- "descriptionZh": "",
52908
- "descriptionEn": ""
53380
+ "descriptionZh": "栅格列内部的内容。",
53381
+ "descriptionEn": "Content inside the grid column."
52909
53382
  }
52910
53383
  ],
52911
53384
  "nativeProps": [
@@ -53364,8 +53837,8 @@
53364
53837
  "type": "React.ReactNode",
53365
53838
  "required": false,
53366
53839
  "boolean": false,
53367
- "descriptionZh": "",
53368
- "descriptionEn": ""
53840
+ "descriptionZh": "参与栅格行排列的 Col 等子节点。",
53841
+ "descriptionEn": "Col and other children arranged within the grid row."
53369
53842
  }
53370
53843
  ],
53371
53844
  "nativeProps": [
@@ -55207,8 +55680,8 @@
55207
55680
  "type": "((item: T, index: number) => React.ReactNode) | undefined",
55208
55681
  "required": false,
55209
55682
  "boolean": false,
55210
- "descriptionZh": "",
55211
- "descriptionEn": ""
55683
+ "descriptionZh": "可见项渲染函数,接收数据项和它在完整 data 数组中的索引;不会渲染所有项。",
55684
+ "descriptionEn": "Renderer for visible items, receiving the item and its index in the full data array; not every item is rendered."
55212
55685
  },
55213
55686
  {
55214
55687
  "name": "onScroll",
@@ -55630,7 +56103,7 @@
55630
56103
  },
55631
56104
  {
55632
56105
  "name": "titles",
55633
- "type": "[import(\"react\").ReactNode, import(\"react\").ReactNode] | undefined",
56106
+ "type": "[ReactNode, ReactNode] | undefined",
55634
56107
  "required": false,
55635
56108
  "boolean": false,
55636
56109
  "descriptionZh": "两侧标题",
@@ -56351,8 +56824,8 @@
56351
56824
  "type": "React.ReactNode",
56352
56825
  "required": false,
56353
56826
  "boolean": false,
56354
- "descriptionZh": "",
56355
- "descriptionEn": ""
56827
+ "descriptionZh": "未使用 value 覆盖且尚未编辑时展示的排版内容;其文本也用于初始化编辑值。",
56828
+ "descriptionEn": "Typography content shown before editing when value is not supplied; its text also initializes the editable value."
56356
56829
  }
56357
56830
  ],
56358
56831
  "nativeProps": [
@@ -56947,8 +57420,8 @@
56947
57420
  "type": "React.ReactNode",
56948
57421
  "required": false,
56949
57422
  "boolean": false,
56950
- "descriptionZh": "",
56951
- "descriptionEn": ""
57423
+ "descriptionZh": "未使用 value 覆盖且尚未编辑时展示的排版内容;其文本也用于初始化编辑值。",
57424
+ "descriptionEn": "Typography content shown before editing when value is not supplied; its text also initializes the editable value."
56952
57425
  }
56953
57426
  ],
56954
57427
  "nativeProps": [
@@ -57543,8 +58016,8 @@
57543
58016
  "type": "React.ReactNode",
57544
58017
  "required": false,
57545
58018
  "boolean": false,
57546
- "descriptionZh": "",
57547
- "descriptionEn": ""
58019
+ "descriptionZh": "未使用 value 覆盖且尚未编辑时展示的排版内容;其文本也用于初始化编辑值。",
58020
+ "descriptionEn": "Typography content shown before editing when value is not supplied; its text also initializes the editable value."
57548
58021
  }
57549
58022
  ],
57550
58023
  "nativeProps": [
@@ -58139,8 +58612,8 @@
58139
58612
  "type": "React.ReactNode",
58140
58613
  "required": false,
58141
58614
  "boolean": false,
58142
- "descriptionZh": "",
58143
- "descriptionEn": ""
58615
+ "descriptionZh": "未使用 value 覆盖且尚未编辑时展示的排版内容;其文本也用于初始化编辑值。",
58616
+ "descriptionEn": "Typography content shown before editing when value is not supplied; its text also initializes the editable value."
58144
58617
  }
58145
58618
  ],
58146
58619
  "nativeProps": [