shineout 3.0.0-alpha.4 → 3.0.0-alpha.6

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 (465) hide show
  1. package/cjs/alert/__example__/02-type.js +1 -1
  2. package/cjs/alert/__example__/03-closeable.js +2 -5
  3. package/cjs/alert/__example__/04-title.js +1 -1
  4. package/cjs/alert/__example__/05-bordered.js +1 -1
  5. package/cjs/alert/alert.type.d.ts +3 -0
  6. package/cjs/breadcrumb/__example__/02-separator.js +4 -1
  7. package/cjs/button/button.type.d.ts +3 -0
  8. package/cjs/button/group.type.d.ts +3 -0
  9. package/cjs/card/__example__/03-hover.js +6 -1
  10. package/cjs/card/__example__/06-form.js +2 -2
  11. package/cjs/card/body.type.d.ts +3 -0
  12. package/cjs/card/card.type.d.ts +3 -0
  13. package/cjs/card/footer.type.d.ts +3 -0
  14. package/cjs/card/header.type.d.ts +3 -0
  15. package/cjs/carousel/carousel.type.d.ts +3 -0
  16. package/cjs/cascader/__example__/01-base.js +1 -0
  17. package/cjs/cascader/__example__/02-01-multiple.js +3 -0
  18. package/cjs/cascader/__example__/06-01-filter.js +70 -0
  19. package/cjs/cascader/__example__/{06-filter.js → 06-02-filter.js} +11 -4
  20. package/cjs/cascader/__example__/07-inner-title.d.ts +3 -0
  21. package/cjs/cascader/__example__/07-inner-title.js +50 -0
  22. package/cjs/cascader/__example__/08-unmatch.d.ts +3 -0
  23. package/cjs/cascader/__example__/08-unmatch.js +54 -0
  24. package/cjs/cascader/cascader.type.d.ts +3 -0
  25. package/cjs/checkbox/__example__/001-size.d.ts +1 -1
  26. package/cjs/checkbox/__example__/001-size.js +1 -1
  27. package/cjs/checkbox/__example__/002-checked-1.d.ts +1 -1
  28. package/cjs/checkbox/__example__/002-checked-1.js +1 -1
  29. package/cjs/checkbox/__example__/002-checked-2.d.ts +1 -1
  30. package/cjs/checkbox/__example__/002-checked-2.js +1 -1
  31. package/cjs/checkbox/__example__/003-value.d.ts +1 -1
  32. package/cjs/checkbox/__example__/003-value.js +1 -1
  33. package/cjs/checkbox/checkbox.type.d.ts +3 -0
  34. package/cjs/checkbox/group.type.d.ts +3 -0
  35. package/cjs/collapse/collapse-item.type.d.ts +3 -0
  36. package/cjs/collapse/collapse.type.d.ts +3 -0
  37. package/cjs/date-picker/__example__/03-size.js +14 -20
  38. package/cjs/date-picker/__example__/07-time-0.js +7 -8
  39. package/cjs/date-picker/__example__/07-time-1.js +4 -6
  40. package/cjs/date-picker/__example__/09-quick.js +5 -1
  41. package/cjs/date-picker/__example__/10-disable.js +10 -12
  42. package/cjs/date-picker/__example__/11-disable-date-1.js +4 -3
  43. package/cjs/date-picker/__example__/12-inputable.js +7 -5
  44. package/cjs/date-picker/__example__/13-absolute.js +7 -10
  45. package/cjs/date-picker/__example__/14-innerTitle.js +11 -9
  46. package/cjs/date-picker/__example__/14-position.js +1 -2
  47. package/cjs/date-picker/__example__/16-clearable.js +2 -2
  48. package/cjs/date-picker/__example__/17-default-picker.js +7 -5
  49. package/cjs/date-picker/__example__/19-format.js +3 -3
  50. package/cjs/date-picker/__example__/20-minmax.js +6 -4
  51. package/cjs/date-picker/date-picker.type.d.ts +3 -0
  52. package/cjs/descriptions/__example__/01-base.js +9 -1
  53. package/cjs/descriptions/__example__/02-colums.js +4 -1
  54. package/cjs/descriptions/__example__/03-alignment.js +23 -5
  55. package/cjs/descriptions/__example__/05-arrangement.js +9 -1
  56. package/cjs/descriptions/__example__/06-size.js +7 -2
  57. package/cjs/descriptions/descriptions.type.d.ts +3 -0
  58. package/cjs/divider/__example__/01-02-base-dashed.d.ts +1 -1
  59. package/cjs/divider/__example__/01-02-base-dashed.js +1 -1
  60. package/cjs/divider/__example__/02-text.d.ts +1 -1
  61. package/cjs/divider/__example__/02-text.js +1 -1
  62. package/cjs/divider/__example__/03-vertical.d.ts +1 -1
  63. package/cjs/divider/__example__/03-vertical.js +1 -1
  64. package/cjs/drawer/__example__/01-base.d.ts +3 -3
  65. package/cjs/drawer/__example__/01-base.js +3 -3
  66. package/cjs/drawer/__example__/02-position.d.ts +1 -1
  67. package/cjs/drawer/__example__/02-position.js +1 -1
  68. package/cjs/drawer/__example__/05-close.d.ts +3 -3
  69. package/cjs/drawer/__example__/05-close.js +3 -3
  70. package/cjs/dropdown/__example__/006-group.js +2 -1
  71. package/cjs/dropdown/__example__/012-absolute.d.ts +1 -1
  72. package/cjs/dropdown/__example__/012-absolute.js +1 -4
  73. package/cjs/dropdown/dropdown.type.d.ts +3 -0
  74. package/cjs/editable-area/editable-area.type.d.ts +3 -0
  75. package/cjs/empty/empty.type.d.ts +3 -0
  76. package/cjs/form/__example__/001-base.d.ts +2 -2
  77. package/cjs/form/__example__/001-base.js +4 -3
  78. package/cjs/form/__example__/002-control.d.ts +1 -1
  79. package/cjs/form/__example__/002-control.js +2 -2
  80. package/cjs/form/__example__/003-label-1.js +2 -1
  81. package/cjs/form/__example__/004-inline.js +4 -2
  82. package/cjs/form/__example__/005-tip-01.d.ts +1 -1
  83. package/cjs/form/__example__/005-tip-01.js +1 -1
  84. package/cjs/form/__example__/006-validate-03-server.d.ts +3 -3
  85. package/cjs/form/__example__/006-validate-03-server.js +3 -3
  86. package/cjs/form/__example__/006-validate-04-height.js +17 -1
  87. package/cjs/form/__example__/009-field.d.ts +1 -1
  88. package/cjs/form/__example__/011-fieldset-loop.d.ts +1 -1
  89. package/cjs/form/__example__/011-fieldset-loop.js +1 -1
  90. package/cjs/form/__example__/013-flow.d.ts +2 -2
  91. package/cjs/form/__example__/013-flow.js +5 -2
  92. package/cjs/grid/grid.type.d.ts +3 -0
  93. package/cjs/image/__example__/s-001-base.js +4 -0
  94. package/cjs/image/group.type.d.ts +3 -0
  95. package/cjs/image/image.type.d.ts +3 -0
  96. package/cjs/input/__example__/02-size.d.ts +1 -1
  97. package/cjs/input/__example__/02-size.js +1 -1
  98. package/cjs/input/__example__/03-number-0.js +1 -1
  99. package/cjs/input/__example__/04-group.d.ts +1 -1
  100. package/cjs/input/__example__/04-group.js +2 -2
  101. package/cjs/input/__example__/06-validate.d.ts +2 -2
  102. package/cjs/input/__example__/06-validate.js +2 -2
  103. package/cjs/input/__example__/061-cleaar.d.ts +1 -1
  104. package/cjs/input/__example__/061-cleaar.js +1 -1
  105. package/cjs/input/__example__/07-disabled.d.ts +1 -1
  106. package/cjs/input/__example__/07-disabled.js +2 -2
  107. package/cjs/input/__example__/08-password.d.ts +1 -1
  108. package/cjs/input/__example__/08-password.js +1 -1
  109. package/cjs/input/__example__/10-underline.d.ts +1 -1
  110. package/cjs/input/__example__/10-underline.js +1 -1
  111. package/cjs/input/__example__/11-autoselect.d.ts +1 -1
  112. package/cjs/input/__example__/11-autoselect.js +1 -1
  113. package/cjs/input/__example__/12-trim.d.ts +1 -1
  114. package/cjs/input/__example__/12-trim.js +1 -1
  115. package/cjs/input/__example__/13-enter.d.ts +1 -1
  116. package/cjs/input/__example__/13-enter.js +2 -2
  117. package/cjs/input/__example__/14-limit.d.ts +1 -1
  118. package/cjs/input/__example__/14-limit.js +2 -2
  119. package/cjs/input/__example__/t-09-clearable-to-undefined.js +1 -1
  120. package/cjs/input/__example__/t-15-no-border.d.ts +1 -1
  121. package/cjs/input/__example__/t-15-no-border.js +1 -1
  122. package/cjs/list/__example__/01-01-base.d.ts +1 -1
  123. package/cjs/list/__example__/01-01-base.js +1 -1
  124. package/cjs/list/__example__/01-02-size.d.ts +1 -1
  125. package/cjs/list/__example__/01-02-size.js +1 -1
  126. package/cjs/list/__example__/02-fixed.d.ts +1 -1
  127. package/cjs/list/__example__/02-fixed.js +3 -3
  128. package/cjs/list/__example__/05-striped.d.ts +1 -1
  129. package/cjs/list/__example__/05-striped.js +1 -1
  130. package/cjs/list/__example__/06-load-click.js +1 -1
  131. package/cjs/menu/__example__/11-dark.js +2 -1
  132. package/cjs/message/__example__/01-base.d.ts +1 -1
  133. package/cjs/message/__example__/01-base.js +1 -1
  134. package/cjs/message/__example__/03-position.d.ts +1 -1
  135. package/cjs/message/__example__/03-position.js +1 -1
  136. package/cjs/message/__example__/04-close.d.ts +1 -1
  137. package/cjs/message/__example__/04-close.js +1 -1
  138. package/cjs/modal/__example__/01-base.d.ts +2 -2
  139. package/cjs/modal/__example__/01-base.js +2 -2
  140. package/cjs/modal/__example__/02-type.d.ts +1 -1
  141. package/cjs/modal/__example__/02-type.js +5 -1
  142. package/cjs/modal/__example__/04-focus.d.ts +1 -1
  143. package/cjs/modal/__example__/04-focus.js +1 -1
  144. package/cjs/modal/__example__/10-close.d.ts +3 -3
  145. package/cjs/modal/__example__/10-close.js +3 -3
  146. package/cjs/modal/__example__/13-position.d.ts +1 -1
  147. package/cjs/modal/__example__/13-position.js +1 -1
  148. package/cjs/pagination/__example__/004-mode.js +1 -1
  149. package/cjs/pagination/pagination.type.d.ts +3 -0
  150. package/cjs/popover/__example__/01-base.js +2 -2
  151. package/cjs/popover/__example__/07-disabled.js +0 -4
  152. package/cjs/popover/__example__/08-type.js +7 -0
  153. package/cjs/popover/__example__/10-func.js +2 -2
  154. package/cjs/popover/__example__/12-text.js +7 -0
  155. package/cjs/popover/confirm.type.d.ts +3 -0
  156. package/cjs/progress/__example__/01-base.js +2 -1
  157. package/cjs/radio/__example__/002-group-0.d.ts +1 -1
  158. package/cjs/radio/__example__/002-group-0.js +1 -1
  159. package/cjs/radio/__example__/002-group-1.d.ts +1 -1
  160. package/cjs/radio/__example__/002-group-1.js +1 -1
  161. package/cjs/radio/group.type.d.ts +3 -0
  162. package/cjs/radio/radio.type.d.ts +3 -0
  163. package/cjs/rate/__example__/01-base.d.ts +1 -1
  164. package/cjs/rate/__example__/01-base.js +1 -1
  165. package/cjs/rate/__example__/02-half.d.ts +1 -1
  166. package/cjs/rate/__example__/02-half.js +1 -1
  167. package/cjs/rate/__example__/07-repeat.d.ts +1 -1
  168. package/cjs/rate/__example__/07-repeat.js +1 -1
  169. package/cjs/rate/__example__/10-clear.d.ts +1 -1
  170. package/cjs/rate/__example__/10-clear.js +1 -1
  171. package/cjs/select/__example__/01-03-compressed.d.ts +3 -0
  172. package/cjs/select/__example__/01-03-compressed.js +37 -0
  173. package/cjs/select/__example__/16-custom-render.js +1 -1
  174. package/cjs/select/select.type.d.ts +3 -0
  175. package/cjs/slider/__example__/03-scale.d.ts +1 -1
  176. package/cjs/slider/__example__/03-scale.js +1 -1
  177. package/cjs/slider/__example__/10-increase.js +4 -1
  178. package/cjs/spin/__example__/01-base-1.js +1 -1
  179. package/cjs/spin/__example__/01-base-2.js +3 -2
  180. package/cjs/spin/__example__/03-wrapper.js +1 -1
  181. package/cjs/spin/__example__/04-tip.js +1 -2
  182. package/cjs/spin/spin.type.d.ts +3 -0
  183. package/cjs/steps/__example__/static/icon.js +2 -2
  184. package/cjs/steps/step.type.d.ts +3 -0
  185. package/cjs/steps/steps.type.d.ts +3 -0
  186. package/cjs/sticky/__example__/03-bottom.js +0 -1
  187. package/cjs/sticky/sticky.type.d.ts +3 -0
  188. package/cjs/switch/switch.type.d.ts +3 -0
  189. package/cjs/table/__example__/17-row-click.js +1 -1
  190. package/cjs/table/__example__/18-01-tree.d.ts +1 -1
  191. package/cjs/table/__example__/18-01-tree.js +1 -1
  192. package/cjs/tabs/__example__/03-position.js +3 -3
  193. package/cjs/tabs/__example__/04-control.js +1 -1
  194. package/cjs/tabs/__example__/05-autofill.js +2 -3
  195. package/cjs/tabs/__example__/07-scroll.js +1 -1
  196. package/cjs/tabs/__example__/08-collapsible.js +1 -1
  197. package/cjs/tabs/tabs-panel.d.ts +1 -1
  198. package/cjs/tabs/tabs-panel.type.d.ts +5 -0
  199. package/cjs/tabs/tabs-panel.type.js +5 -0
  200. package/cjs/tabs/tabs.type.d.ts +3 -0
  201. package/cjs/tag/tag.type.d.ts +6 -0
  202. package/cjs/textarea/__example__/02-size.js +1 -1
  203. package/cjs/textarea/textarea.type.d.ts +3 -0
  204. package/cjs/tooltip/__example__/example-05-type.js +7 -6
  205. package/cjs/transfer/__example__/02-size.js +1 -1
  206. package/cjs/transfer/transfer.type.d.ts +3 -0
  207. package/cjs/tree/__example__/02-size.js +1 -3
  208. package/cjs/tree/__example__/03-line.js +3 -0
  209. package/cjs/tree/__example__/04-expand.js +4 -1
  210. package/cjs/tree/__example__/05-disabled.js +3 -0
  211. package/cjs/tree/__example__/06-onchange.js +3 -0
  212. package/cjs/tree/__example__/07-loader.js +3 -0
  213. package/cjs/tree/__example__/08-drag.js +3 -0
  214. package/cjs/tree/__example__/09-drag-style.js +3 -0
  215. package/cjs/tree/__example__/10-highlight.js +3 -0
  216. package/cjs/tree/tree.d.ts +1 -2
  217. package/cjs/tree/tree.type.d.ts +5 -1
  218. package/cjs/tree-select/__example__/06-disabled.js +1 -1
  219. package/cjs/tree-select/tree-select.type.d.ts +3 -0
  220. package/cjs/upload/__example__/01-base-1-image.js +1 -0
  221. package/cjs/upload/__example__/02-result-image.js +1 -0
  222. package/cjs/upload/__example__/03-confirm.js +1 -0
  223. package/cjs/upload/__example__/05-validate-image.js +5 -2
  224. package/cjs/upload/__example__/test-01-disabled-image.js +1 -0
  225. package/cjs/upload/button.type.d.ts +3 -0
  226. package/cjs/upload/image.type.d.ts +3 -0
  227. package/dist/shineout.js +526 -195
  228. package/dist/shineout.js.map +1 -1
  229. package/dist/shineout.min.js +1 -1
  230. package/dist/shineout.min.js.map +1 -1
  231. package/esm/alert/__example__/02-type.js +1 -1
  232. package/esm/alert/__example__/03-closeable.js +2 -5
  233. package/esm/alert/__example__/04-title.js +1 -1
  234. package/esm/alert/__example__/05-bordered.js +1 -1
  235. package/esm/alert/alert.type.d.ts +3 -0
  236. package/esm/breadcrumb/__example__/02-separator.js +4 -1
  237. package/esm/button/button.type.d.ts +3 -0
  238. package/esm/button/group.type.d.ts +3 -0
  239. package/esm/card/__example__/03-hover.js +6 -1
  240. package/esm/card/__example__/06-form.js +2 -2
  241. package/esm/card/body.type.d.ts +3 -0
  242. package/esm/card/card.type.d.ts +3 -0
  243. package/esm/card/footer.type.d.ts +3 -0
  244. package/esm/card/header.type.d.ts +3 -0
  245. package/esm/carousel/carousel.type.d.ts +3 -0
  246. package/esm/cascader/__example__/01-base.js +1 -0
  247. package/esm/cascader/__example__/02-01-multiple.js +3 -0
  248. package/esm/cascader/__example__/06-01-filter.d.ts +3 -0
  249. package/esm/cascader/__example__/06-01-filter.js +70 -0
  250. package/esm/cascader/__example__/06-02-filter.d.ts +3 -0
  251. package/esm/cascader/__example__/{06-filter.js → 06-02-filter.js} +11 -4
  252. package/esm/cascader/__example__/07-inner-title.d.ts +3 -0
  253. package/esm/cascader/__example__/07-inner-title.js +50 -0
  254. package/esm/cascader/__example__/08-unmatch.d.ts +3 -0
  255. package/esm/cascader/__example__/08-unmatch.js +54 -0
  256. package/esm/cascader/cascader.type.d.ts +3 -0
  257. package/esm/checkbox/__example__/001-size.d.ts +1 -1
  258. package/esm/checkbox/__example__/001-size.js +1 -1
  259. package/esm/checkbox/__example__/002-checked-1.d.ts +1 -1
  260. package/esm/checkbox/__example__/002-checked-1.js +1 -1
  261. package/esm/checkbox/__example__/002-checked-2.d.ts +1 -1
  262. package/esm/checkbox/__example__/002-checked-2.js +1 -1
  263. package/esm/checkbox/__example__/003-value.d.ts +1 -1
  264. package/esm/checkbox/__example__/003-value.js +1 -1
  265. package/esm/checkbox/checkbox.type.d.ts +3 -0
  266. package/esm/checkbox/group.type.d.ts +3 -0
  267. package/esm/collapse/collapse-item.type.d.ts +3 -0
  268. package/esm/collapse/collapse.type.d.ts +3 -0
  269. package/esm/date-picker/__example__/03-size.js +14 -20
  270. package/esm/date-picker/__example__/07-time-0.js +7 -8
  271. package/esm/date-picker/__example__/07-time-1.js +4 -6
  272. package/esm/date-picker/__example__/09-quick.js +5 -1
  273. package/esm/date-picker/__example__/10-disable.js +10 -12
  274. package/esm/date-picker/__example__/11-disable-date-1.js +4 -3
  275. package/esm/date-picker/__example__/12-inputable.js +7 -5
  276. package/esm/date-picker/__example__/13-absolute.js +7 -10
  277. package/esm/date-picker/__example__/14-innerTitle.js +11 -9
  278. package/esm/date-picker/__example__/14-position.js +1 -2
  279. package/esm/date-picker/__example__/16-clearable.js +2 -2
  280. package/esm/date-picker/__example__/17-default-picker.js +7 -5
  281. package/esm/date-picker/__example__/19-format.js +3 -3
  282. package/esm/date-picker/__example__/20-minmax.js +6 -4
  283. package/esm/date-picker/date-picker.type.d.ts +3 -0
  284. package/esm/descriptions/__example__/01-base.js +9 -1
  285. package/esm/descriptions/__example__/02-colums.js +4 -1
  286. package/esm/descriptions/__example__/03-alignment.js +23 -5
  287. package/esm/descriptions/__example__/05-arrangement.js +9 -1
  288. package/esm/descriptions/__example__/06-size.js +7 -2
  289. package/esm/descriptions/descriptions.type.d.ts +3 -0
  290. package/esm/divider/__example__/01-02-base-dashed.d.ts +1 -1
  291. package/esm/divider/__example__/01-02-base-dashed.js +1 -1
  292. package/esm/divider/__example__/02-text.d.ts +1 -1
  293. package/esm/divider/__example__/02-text.js +1 -1
  294. package/esm/divider/__example__/03-vertical.d.ts +1 -1
  295. package/esm/divider/__example__/03-vertical.js +1 -1
  296. package/esm/drawer/__example__/01-base.d.ts +3 -3
  297. package/esm/drawer/__example__/01-base.js +3 -3
  298. package/esm/drawer/__example__/02-position.d.ts +1 -1
  299. package/esm/drawer/__example__/02-position.js +1 -1
  300. package/esm/drawer/__example__/05-close.d.ts +3 -3
  301. package/esm/drawer/__example__/05-close.js +3 -3
  302. package/esm/dropdown/__example__/006-group.js +2 -1
  303. package/esm/dropdown/__example__/012-absolute.d.ts +1 -1
  304. package/esm/dropdown/__example__/012-absolute.js +1 -4
  305. package/esm/dropdown/dropdown.type.d.ts +3 -0
  306. package/esm/editable-area/editable-area.type.d.ts +3 -0
  307. package/esm/empty/empty.type.d.ts +3 -0
  308. package/esm/form/__example__/001-base.d.ts +2 -2
  309. package/esm/form/__example__/001-base.js +4 -3
  310. package/esm/form/__example__/002-control.d.ts +1 -1
  311. package/esm/form/__example__/002-control.js +2 -2
  312. package/esm/form/__example__/003-label-1.js +2 -1
  313. package/esm/form/__example__/004-inline.js +4 -2
  314. package/esm/form/__example__/005-tip-01.d.ts +1 -1
  315. package/esm/form/__example__/005-tip-01.js +1 -1
  316. package/esm/form/__example__/006-validate-03-server.d.ts +3 -3
  317. package/esm/form/__example__/006-validate-03-server.js +3 -3
  318. package/esm/form/__example__/006-validate-04-height.js +17 -1
  319. package/esm/form/__example__/009-field.d.ts +1 -1
  320. package/esm/form/__example__/011-fieldset-loop.d.ts +1 -1
  321. package/esm/form/__example__/011-fieldset-loop.js +1 -1
  322. package/esm/form/__example__/013-flow.d.ts +2 -2
  323. package/esm/form/__example__/013-flow.js +5 -2
  324. package/esm/grid/grid.type.d.ts +3 -0
  325. package/esm/image/__example__/s-001-base.js +4 -0
  326. package/esm/image/group.type.d.ts +3 -0
  327. package/esm/image/image.type.d.ts +3 -0
  328. package/esm/input/__example__/02-size.d.ts +1 -1
  329. package/esm/input/__example__/02-size.js +1 -1
  330. package/esm/input/__example__/03-number-0.js +1 -1
  331. package/esm/input/__example__/04-group.d.ts +1 -1
  332. package/esm/input/__example__/04-group.js +2 -2
  333. package/esm/input/__example__/06-validate.d.ts +2 -2
  334. package/esm/input/__example__/06-validate.js +2 -2
  335. package/esm/input/__example__/061-cleaar.d.ts +1 -1
  336. package/esm/input/__example__/061-cleaar.js +1 -1
  337. package/esm/input/__example__/07-disabled.d.ts +1 -1
  338. package/esm/input/__example__/07-disabled.js +2 -2
  339. package/esm/input/__example__/08-password.d.ts +1 -1
  340. package/esm/input/__example__/08-password.js +1 -1
  341. package/esm/input/__example__/10-underline.d.ts +1 -1
  342. package/esm/input/__example__/10-underline.js +1 -1
  343. package/esm/input/__example__/11-autoselect.d.ts +1 -1
  344. package/esm/input/__example__/11-autoselect.js +1 -1
  345. package/esm/input/__example__/12-trim.d.ts +1 -1
  346. package/esm/input/__example__/12-trim.js +1 -1
  347. package/esm/input/__example__/13-enter.d.ts +1 -1
  348. package/esm/input/__example__/13-enter.js +2 -2
  349. package/esm/input/__example__/14-limit.d.ts +1 -1
  350. package/esm/input/__example__/14-limit.js +2 -2
  351. package/esm/input/__example__/t-09-clearable-to-undefined.js +1 -1
  352. package/esm/input/__example__/t-15-no-border.d.ts +1 -1
  353. package/esm/input/__example__/t-15-no-border.js +1 -1
  354. package/esm/list/__example__/01-01-base.d.ts +1 -1
  355. package/esm/list/__example__/01-01-base.js +1 -1
  356. package/esm/list/__example__/01-02-size.d.ts +1 -1
  357. package/esm/list/__example__/01-02-size.js +1 -1
  358. package/esm/list/__example__/02-fixed.d.ts +1 -1
  359. package/esm/list/__example__/02-fixed.js +3 -3
  360. package/esm/list/__example__/05-striped.d.ts +1 -1
  361. package/esm/list/__example__/05-striped.js +1 -1
  362. package/esm/list/__example__/06-load-click.js +1 -1
  363. package/esm/menu/__example__/11-dark.js +2 -1
  364. package/esm/message/__example__/01-base.d.ts +1 -1
  365. package/esm/message/__example__/01-base.js +1 -1
  366. package/esm/message/__example__/03-position.d.ts +1 -1
  367. package/esm/message/__example__/03-position.js +1 -1
  368. package/esm/message/__example__/04-close.d.ts +1 -1
  369. package/esm/message/__example__/04-close.js +1 -1
  370. package/esm/modal/__example__/01-base.d.ts +2 -2
  371. package/esm/modal/__example__/01-base.js +2 -2
  372. package/esm/modal/__example__/02-type.d.ts +1 -1
  373. package/esm/modal/__example__/02-type.js +5 -1
  374. package/esm/modal/__example__/04-focus.d.ts +1 -1
  375. package/esm/modal/__example__/04-focus.js +1 -1
  376. package/esm/modal/__example__/10-close.d.ts +3 -3
  377. package/esm/modal/__example__/10-close.js +3 -3
  378. package/esm/modal/__example__/13-position.d.ts +1 -1
  379. package/esm/modal/__example__/13-position.js +1 -1
  380. package/esm/pagination/__example__/004-mode.js +1 -1
  381. package/esm/pagination/pagination.type.d.ts +3 -0
  382. package/esm/popover/__example__/01-base.js +2 -2
  383. package/esm/popover/__example__/07-disabled.js +0 -4
  384. package/esm/popover/__example__/08-type.js +7 -0
  385. package/esm/popover/__example__/10-func.js +2 -2
  386. package/esm/popover/__example__/12-text.js +7 -0
  387. package/esm/popover/confirm.type.d.ts +3 -0
  388. package/esm/progress/__example__/01-base.js +2 -1
  389. package/esm/radio/__example__/002-group-0.d.ts +1 -1
  390. package/esm/radio/__example__/002-group-0.js +1 -1
  391. package/esm/radio/__example__/002-group-1.d.ts +1 -1
  392. package/esm/radio/__example__/002-group-1.js +1 -1
  393. package/esm/radio/group.type.d.ts +3 -0
  394. package/esm/radio/radio.type.d.ts +3 -0
  395. package/esm/rate/__example__/01-base.d.ts +1 -1
  396. package/esm/rate/__example__/01-base.js +1 -1
  397. package/esm/rate/__example__/02-half.d.ts +1 -1
  398. package/esm/rate/__example__/02-half.js +1 -1
  399. package/esm/rate/__example__/07-repeat.d.ts +1 -1
  400. package/esm/rate/__example__/07-repeat.js +1 -1
  401. package/esm/rate/__example__/10-clear.d.ts +1 -1
  402. package/esm/rate/__example__/10-clear.js +1 -1
  403. package/esm/select/__example__/01-03-compressed.d.ts +3 -0
  404. package/esm/select/__example__/01-03-compressed.js +37 -0
  405. package/esm/select/__example__/16-custom-render.js +1 -1
  406. package/esm/select/select.type.d.ts +3 -0
  407. package/esm/slider/__example__/03-scale.d.ts +1 -1
  408. package/esm/slider/__example__/03-scale.js +1 -1
  409. package/esm/slider/__example__/10-increase.js +4 -1
  410. package/esm/spin/__example__/01-base-1.js +1 -1
  411. package/esm/spin/__example__/01-base-2.js +3 -2
  412. package/esm/spin/__example__/03-wrapper.js +1 -1
  413. package/esm/spin/__example__/04-tip.js +1 -2
  414. package/esm/spin/spin.type.d.ts +3 -0
  415. package/esm/steps/__example__/static/icon.js +2 -2
  416. package/esm/steps/step.type.d.ts +3 -0
  417. package/esm/steps/steps.type.d.ts +3 -0
  418. package/esm/sticky/__example__/03-bottom.js +0 -1
  419. package/esm/sticky/sticky.type.d.ts +3 -0
  420. package/esm/switch/switch.type.d.ts +3 -0
  421. package/esm/table/__example__/17-row-click.js +1 -1
  422. package/esm/table/__example__/18-01-tree.d.ts +1 -1
  423. package/esm/table/__example__/18-01-tree.js +1 -1
  424. package/esm/tabs/__example__/03-position.js +3 -3
  425. package/esm/tabs/__example__/04-control.js +1 -1
  426. package/esm/tabs/__example__/05-autofill.js +2 -3
  427. package/esm/tabs/__example__/07-scroll.js +1 -1
  428. package/esm/tabs/__example__/08-collapsible.js +1 -1
  429. package/esm/tabs/tabs-panel.d.ts +1 -1
  430. package/esm/tabs/tabs-panel.type.d.ts +5 -0
  431. package/esm/tabs/tabs-panel.type.js +5 -0
  432. package/esm/tabs/tabs.type.d.ts +3 -0
  433. package/esm/tag/tag.type.d.ts +6 -0
  434. package/esm/textarea/__example__/02-size.js +1 -1
  435. package/esm/textarea/textarea.type.d.ts +3 -0
  436. package/esm/tooltip/__example__/example-05-type.js +7 -6
  437. package/esm/transfer/__example__/02-size.js +1 -1
  438. package/esm/transfer/transfer.type.d.ts +3 -0
  439. package/esm/tree/__example__/02-size.js +1 -3
  440. package/esm/tree/__example__/03-line.js +3 -0
  441. package/esm/tree/__example__/04-expand.js +4 -1
  442. package/esm/tree/__example__/05-disabled.js +3 -0
  443. package/esm/tree/__example__/06-onchange.js +3 -0
  444. package/esm/tree/__example__/07-loader.js +3 -0
  445. package/esm/tree/__example__/08-drag.js +3 -0
  446. package/esm/tree/__example__/09-drag-style.js +3 -0
  447. package/esm/tree/__example__/10-highlight.js +3 -0
  448. package/esm/tree/tree.d.ts +1 -2
  449. package/esm/tree/tree.type.d.ts +5 -1
  450. package/esm/tree-select/__example__/06-disabled.js +1 -1
  451. package/esm/tree-select/tree-select.type.d.ts +3 -0
  452. package/esm/upload/__example__/01-base-1-image.js +1 -0
  453. package/esm/upload/__example__/02-result-image.js +1 -0
  454. package/esm/upload/__example__/03-confirm.js +1 -0
  455. package/esm/upload/__example__/05-validate-image.js +5 -2
  456. package/esm/upload/__example__/test-01-disabled-image.js +1 -0
  457. package/esm/upload/button.type.d.ts +3 -0
  458. package/esm/upload/image.type.d.ts +3 -0
  459. package/package.json +4 -4
  460. package/umd/shineout.js +0 -56809
  461. package/umd/shineout.js.map +0 -1
  462. package/umd/shineout.min.js +0 -2
  463. package/umd/shineout.min.js.map +0 -1
  464. /package/cjs/cascader/__example__/{06-filter.d.ts → 06-01-filter.d.ts} +0 -0
  465. /package/{esm/cascader/__example__/06-filter.d.ts → cjs/cascader/__example__/06-02-filter.d.ts} +0 -0
@@ -19,7 +19,7 @@ var _default = function _default() {
19
19
  style: {
20
20
  display: 'flex',
21
21
  flexWrap: 'wrap',
22
- gap: 32
22
+ gap: 24
23
23
  },
24
24
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.Alert, {
25
25
  icon: true,
@@ -17,8 +17,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
18
  /**
19
19
  * cn - 允许关闭
20
- * -- 通过设置 `closable` 属性可以展示关闭按钮。通过 `onClose` 属性可以设置关闭回调函数。
21
- * -- 注意 `onClose` 属性未来不再支持 boolean 类型,`hideClose` 属性即将弃用,请使用 `closable`。
20
+ * -- 通过设置 `closable` 属性可以展示关闭按钮。通过 `onClose` 属性可以设置关闭回调函数
21
+ * -- 注意 `onClose` 属性未来不再支持 boolean 类型,`hideClose` 属性即将弃用,请使用 `closable`
22
22
  * en - Basic
23
23
  * -- The basic usage of Alert, used to display important prompt information in the page.
24
24
  */
@@ -40,9 +40,6 @@ var _default = function _default() {
40
40
  onClick: handleReset,
41
41
  mode: "text",
42
42
  type: "primary",
43
- style: {
44
- marginBottom: 12
45
- },
46
43
  children: "\u91CD\u7F6E"
47
44
  }), reset && /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Alert, {
48
45
  icon: true,
@@ -10,7 +10,7 @@ var _ = require("../..");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  /**
12
12
  * cn - 标题模式
13
- * -- 通过设置 `title` 属性可以展示标题模式的提示框。
13
+ * -- 通过设置 `title` 属性可以展示标题模式的提示框
14
14
  * en - Title
15
15
  * -- Set the `title` property to display the title mode alert box.
16
16
  */
@@ -10,7 +10,7 @@ var _ = require("../..");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  /**
12
12
  * cn - 无边框
13
- * -- 设置 `bordered` 属性为 false 可以隐藏提示框的边框。
13
+ * -- 设置 `bordered` 属性为 false 可以隐藏提示框的边框
14
14
  * en - No border
15
15
  * -- Set the `bordered` property to false to hide the border of the alert box.
16
16
  */
@@ -1,2 +1,5 @@
1
1
  import { AlertProps as UnStyledAlertProps } from '@sheinx/base';
2
+ /**
3
+ * @title Alert
4
+ */
2
5
  export declare type AlertProps = Omit<UnStyledAlertProps, 'jssStyle'>;
@@ -31,7 +31,10 @@ var App = function App() {
31
31
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
32
32
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.Breadcrumb, {
33
33
  data: data,
34
- separator: "/"
34
+ separator: "/",
35
+ style: {
36
+ marginBottom: '24px'
37
+ }
35
38
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Breadcrumb, {
36
39
  data: data,
37
40
  separator: /*#__PURE__*/(0, _jsxRuntime.jsx)(Separator, {})
@@ -1,2 +1,5 @@
1
1
  import { ButtonProps as UnStyledButtonProps } from '@sheinx/base';
2
+ /**
3
+ * @title Button
4
+ */
2
5
  export declare type ButtonProps = Omit<UnStyledButtonProps, 'jssStyle'>;
@@ -1,3 +1,6 @@
1
1
  import { ButtonGroupProps as UnStyledButtonGroupProps } from '@sheinx/base';
2
2
  export declare type BaseButtonGroupProps = Omit<UnStyledButtonGroupProps, 'jssStyle'>;
3
+ /**
4
+ * @title Button.Group
5
+ */
3
6
  export declare type ButtonGroupProps = BaseButtonGroupProps;
@@ -30,7 +30,7 @@ var iconStyle = {
30
30
  var HoverCard = function HoverCard(props) {
31
31
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.Card, {
32
32
  style: _objectSpread(_objectSpread({}, cardStyle), {}, {
33
- marginInlineEnd: 32
33
+ margin: '16px'
34
34
  }),
35
35
  split: true,
36
36
  className: props.className,
@@ -125,6 +125,11 @@ var useStyle = (0, _reactJss.createUseStyles)({
125
125
  var App = function App() {
126
126
  var classes = useStyle();
127
127
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
128
+ style: {
129
+ display: 'flex',
130
+ flexWrap: 'wrap',
131
+ margin: '-16px'
132
+ },
128
133
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(HoverCard, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(HoverCard, {
129
134
  className: classes === null || classes === void 0 ? void 0 : classes.customCard
130
135
  })]
@@ -29,13 +29,13 @@ var App = function App() {
29
29
  console.log(data);
30
30
  },
31
31
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.Form.Item, {
32
- label: "User name",
32
+ label: "User name :",
33
33
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Input, {
34
34
  name: "name",
35
35
  defaultValue: "user"
36
36
  })
37
37
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Form.Item, {
38
- label: "Email",
38
+ label: "Email :",
39
39
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Input, {
40
40
  name: "email",
41
41
  defaultValue: "test@example.com"
@@ -1,2 +1,5 @@
1
1
  import { CardBodyProps as UnStyledCardBodyProps } from '@sheinx/base';
2
+ /**
3
+ * @title Card.Body
4
+ */
2
5
  export declare type CardBodyProps = Omit<UnStyledCardBodyProps, 'jssStyle'>;
@@ -1,2 +1,5 @@
1
1
  import { CardProps as UnStyledCardProps } from '@sheinx/base';
2
+ /**
3
+ * @title Card
4
+ */
2
5
  export declare type CardProps = Omit<UnStyledCardProps, 'jssStyle'>;
@@ -1,2 +1,5 @@
1
1
  import { CardFooterProps as UnStyledCardFooterProps } from '@sheinx/base';
2
+ /**
3
+ * @title Card.Footer
4
+ */
2
5
  export declare type CardFooterProps = Omit<UnStyledCardFooterProps, 'jssStyle'>;
@@ -1,2 +1,5 @@
1
1
  import { CardHeaderProps as UnStyledCardHeaderProps } from '@sheinx/base';
2
+ /**
3
+ * @title Card.Header
4
+ */
2
5
  export declare type CardHeaderProps = Omit<UnStyledCardHeaderProps, 'jssStyle'>;
@@ -1,2 +1,5 @@
1
1
  import { CarouselProps as UnStyledCarouselProps } from '@sheinx/base';
2
+ /**
3
+ * @title Carousel
4
+ */
2
5
  export declare type CarouselProps = Omit<UnStyledCarouselProps, 'jssStyle'>;
@@ -36,6 +36,7 @@ var _default = function _default() {
36
36
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
37
37
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Cascader, {
38
38
  width: 300,
39
+ clearable: true,
39
40
  placeholder: "Please select city",
40
41
  data: data,
41
42
  keygen: "value",
@@ -46,6 +46,9 @@ var _default = function _default() {
46
46
  compressed: true,
47
47
  compressedBound: 2,
48
48
  width: 300,
49
+ onChange: function onChange(d) {
50
+ return console.log(d);
51
+ },
49
52
  placeholder: "Please select city",
50
53
  data: data,
51
54
  keygen: "value",
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _ = require("../..");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ /**
12
+ * cn - 过滤数据(本地)
13
+ * -- 设置`onFilter`属性且返回内容为函数时,会根据返回的过滤函数对本地数据进行过滤
14
+ * en - Filter data (local)
15
+ * -- Set the `onFilter` property and return the content as a function, the local data will be filtered according to the returned filter function
16
+ */
17
+
18
+ var data = [{
19
+ value: 'jiangsu',
20
+ children: [{
21
+ value: 'nanjing',
22
+ children: [{
23
+ value: 'jiangning'
24
+ }, {
25
+ value: 'gulou'
26
+ }]
27
+ }]
28
+ }, {
29
+ value: 'anhui',
30
+ children: [{
31
+ value: 'hefei',
32
+ children: [{
33
+ value: 'feidong'
34
+ }]
35
+ }]
36
+ }];
37
+ var _default = function _default() {
38
+ var onFilter = function onFilter(text) {
39
+ return function (d) {
40
+ return d.value.indexOf(text) >= 0;
41
+ };
42
+ };
43
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
44
+ style: {
45
+ display: 'flex',
46
+ gap: 32
47
+ },
48
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.Cascader, {
49
+ width: 300,
50
+ placeholder: "Please select city",
51
+ data: data,
52
+ keygen: "value",
53
+ onFilter: onFilter,
54
+ renderItem: function renderItem(n) {
55
+ return "".concat(n === null || n === void 0 ? void 0 : n.value);
56
+ }
57
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Cascader, {
58
+ mode: 3,
59
+ width: 300,
60
+ placeholder: "Please select city",
61
+ data: data,
62
+ keygen: "value",
63
+ onFilter: onFilter,
64
+ renderItem: function renderItem(n) {
65
+ return "".concat(n === null || n === void 0 ? void 0 : n.value);
66
+ }
67
+ })]
68
+ });
69
+ };
70
+ exports.default = _default;
@@ -9,10 +9,10 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _ = require("../..");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  /**
12
- * cn - 过滤数据(本地)
13
- * -- 设置`onFilter`属性且返回内容为函数时,会根据返回的过滤函数对本地数据进行过滤
14
- * en - Filter data (local)
15
- * -- Set the `onFilter` property and return the content as a function, the local data will be filtered according to the returned filter function
12
+ * cn - 宽泛过滤
13
+ * -- 打开`wideMatch`后,将筛选出所有可能的匹配项目
14
+ * en - Wide match
15
+ * -- After opening `wideMatch`, all possible matching items will be filtered out
16
16
  */
17
17
 
18
18
  var data = [{
@@ -21,6 +21,8 @@ var data = [{
21
21
  value: 'nanjing',
22
22
  children: [{
23
23
  value: 'jiangning'
24
+ }, {
25
+ value: 'gulou'
24
26
  }]
25
27
  }]
26
28
  }, {
@@ -39,7 +41,12 @@ var _default = function _default() {
39
41
  };
40
42
  };
41
43
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
44
+ style: {
45
+ display: 'flex',
46
+ gap: 32
47
+ },
42
48
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Cascader, {
49
+ wideMatch: true,
43
50
  width: 300,
44
51
  placeholder: "Please select city",
45
52
  data: data,
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _ = require("../..");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ /**
12
+ /**
13
+ * cn - 内嵌标题
14
+ * -- 使用 innerTitle 展示内嵌标题
15
+ * en - inner title
16
+ * -- use innerTitle to display the inner title
17
+ */
18
+
19
+ var data = [{
20
+ value: 'jiangsu',
21
+ children: [{
22
+ value: 'nanjing',
23
+ children: [{
24
+ value: 'jiangning'
25
+ }]
26
+ }]
27
+ }, {
28
+ value: 'anhui',
29
+ children: [{
30
+ value: 'hefei',
31
+ children: [{
32
+ value: 'feidong'
33
+ }]
34
+ }]
35
+ }];
36
+ var _default = function _default() {
37
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
38
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Cascader, {
39
+ innerTitle: "Inner Title",
40
+ width: 300,
41
+ placeholder: "Please select city",
42
+ data: data,
43
+ keygen: "value",
44
+ renderItem: function renderItem(n) {
45
+ return "".concat(n === null || n === void 0 ? void 0 : n.value);
46
+ }
47
+ })
48
+ });
49
+ };
50
+ exports.default = _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _ = require("../..");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ /**
12
+ * cn - 渲染未匹配值
13
+ * -- 通过`renderUnmatched`属性可以渲染未匹配的值
14
+ * en - renderUnmatched
15
+ * -- The unmatched value can be rendered through the `renderUnmatched` property.
16
+ */
17
+
18
+ var data = [{
19
+ value: 'jiangsu',
20
+ children: [{
21
+ value: 'nanjing',
22
+ children: [{
23
+ value: 'jiangning'
24
+ }]
25
+ }]
26
+ }, {
27
+ value: 'anhui',
28
+ children: [{
29
+ value: 'hefei',
30
+ children: [{
31
+ value: 'feidong'
32
+ }]
33
+ }]
34
+ }];
35
+ var _default = function _default() {
36
+ var renderUnmatched = function renderUnmatched(text) {
37
+ return "Unmatched: ".concat(text);
38
+ };
39
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
40
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Cascader, {
41
+ width: 300,
42
+ unmatch: true,
43
+ defaultValue: ['shanghai'],
44
+ placeholder: "Please select city",
45
+ data: data,
46
+ renderUnmatched: renderUnmatched,
47
+ keygen: "value",
48
+ renderItem: function renderItem(n) {
49
+ return "".concat(n === null || n === void 0 ? void 0 : n.value);
50
+ }
51
+ })
52
+ });
53
+ };
54
+ exports.default = _default;
@@ -2,4 +2,7 @@ import { CascaderProps as UnStyledCascaderProps } from '@sheinx/base';
2
2
  import { KeygenResult } from '@sheinx/hooks';
3
3
  import { GetWithFieldProps } from '../hooks/use-field-common';
4
4
  export declare type BaseCascaderProps<DataItem, Value extends KeygenResult[]> = Omit<UnStyledCascaderProps<DataItem, Value>, 'jssStyle'>;
5
+ /**
6
+ * @title Cascader
7
+ */
5
8
  export declare type CascaderProps<DataItem, Value extends KeygenResult[]> = GetWithFieldProps<BaseCascaderProps<DataItem, Value>, BaseCascaderProps<DataItem, Value>['value']>;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * cn - 尺寸
3
- * -- 设置 `size` 属性改变组件的尺寸大小, 内置三种尺寸:small、default、large
3
+ * -- 设置 `size` 属性改变组件的尺寸大小, 内置三种尺寸:small、default、large
4
4
  * en - Base
5
5
  * -- Set the size property to change the size of the component. There are three built-in sizes: small, default, and large.
6
6
  */
@@ -10,7 +10,7 @@ var _ = require("../..");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  /**
12
12
  * cn - 尺寸
13
- * -- 设置 `size` 属性改变组件的尺寸大小, 内置三种尺寸:small、default、large
13
+ * -- 设置 `size` 属性改变组件的尺寸大小, 内置三种尺寸:small、default、large
14
14
  * en - Base
15
15
  * -- Set the size property to change the size of the component. There are three built-in sizes: small, default, and large.
16
16
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * cn - 状态
3
- * -- checked 有三个值,选中(true)、未选中(false)、半选中('indeterminate'),checked 设置时为受控组件(此示例没有处理 onChange 事件)。
3
+ * -- checked 有三个值,选中(true)、未选中(false)、半选中('indeterminate'),checked 设置时为受控组件(此示例没有处理 onChange 事件)
4
4
  * en - Checked
5
5
  * -- The checked has three values: true(checked), false(not checked), 'indeterminate'(half-checked).
6
6
  */
@@ -10,7 +10,7 @@ var _ = require("../..");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  /**
12
12
  * cn - 状态
13
- * -- checked 有三个值,选中(true)、未选中(false)、半选中('indeterminate'),checked 设置时为受控组件(此示例没有处理 onChange 事件)。
13
+ * -- checked 有三个值,选中(true)、未选中(false)、半选中('indeterminate'),checked 设置时为受控组件(此示例没有处理 onChange 事件)
14
14
  * en - Checked
15
15
  * -- The checked has three values: true(checked), false(not checked), 'indeterminate'(half-checked).
16
16
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * cn - 全选/半选
3
- * -- 通过设置 checked = 'indeterminate' 属性,可以实现半选效果。
3
+ * -- 通过设置 checked = 'indeterminate' 属性,可以实现半选效果
4
4
  * en - Check all
5
5
  * -- Set checked = 'indeterminate' to achieve half-check effect.
6
6
  */
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
18
  /**
19
19
  * cn - 全选/半选
20
- * -- 通过设置 checked = 'indeterminate' 属性,可以实现半选效果。
20
+ * -- 通过设置 checked = 'indeterminate' 属性,可以实现半选效果
21
21
  * en - Check all
22
22
  * -- Set checked = 'indeterminate' to achieve half-check effect.
23
23
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * cn - 选中值
3
- * -- 未设置htmlValue的状态下,checkbox选中时返回true,如果设置 htmlValue,返回 htmlValue。未选中状态都是返回 undefined
3
+ * -- 未设置htmlValue的状态下,checkbox选中时返回true,如果设置 htmlValue,返回 htmlValue。未选中状态都是返回 undefined
4
4
  * en - Value
5
5
  * -- When the htmlValue is set, the checkbox return the htmlValue (checked) and undefined (not checked);
6
6
  * -- When the htmlValue is not set, the checkbox selected return true (checked) and undefined (not checked);
@@ -10,7 +10,7 @@ var _ = require("../..");
10
10
  var _jsxRuntime = require("react/jsx-runtime");
11
11
  /**
12
12
  * cn - 选中值
13
- * -- 未设置htmlValue的状态下,checkbox选中时返回true,如果设置 htmlValue,返回 htmlValue。未选中状态都是返回 undefined
13
+ * -- 未设置htmlValue的状态下,checkbox选中时返回true,如果设置 htmlValue,返回 htmlValue。未选中状态都是返回 undefined
14
14
  * en - Value
15
15
  * -- When the htmlValue is set, the checkbox return the htmlValue (checked) and undefined (not checked);
16
16
  * -- When the htmlValue is not set, the checkbox selected return true (checked) and undefined (not checked);
@@ -1,4 +1,7 @@
1
1
  import { CheckboxProps as UnStyledCheckboxProps } from '@sheinx/base';
2
2
  import { GetWithFieldProps } from '../hooks/use-field-common';
3
3
  export declare type BaseCheckboxProps<T> = Omit<UnStyledCheckboxProps<T>, 'jssStyle'>;
4
+ /**
5
+ * @title Checkbox
6
+ */
4
7
  export declare type CheckboxProps<T> = GetWithFieldProps<BaseCheckboxProps<T>, T>;
@@ -1,4 +1,7 @@
1
1
  import { CheckboxGroupProps as UnStyledCheckboxGroupProps } from '@sheinx/base';
2
2
  import { GetWithFieldProps } from '../hooks/use-field-common';
3
3
  export declare type BaseCheckboxGroupProps<DataItem, Value extends any[]> = Omit<UnStyledCheckboxGroupProps<DataItem, Value>, 'jssStyle'>;
4
+ /**
5
+ * @title Checkbox.Group
6
+ */
4
7
  export declare type CheckboxGroupProps<DataItem, Value extends any[]> = GetWithFieldProps<BaseCheckboxGroupProps<DataItem, Value>, BaseCheckboxGroupProps<DataItem, Value>['value']>;
@@ -1,2 +1,5 @@
1
1
  import { CollapseItemProps as UnStyledCollapseItemProps } from '@sheinx/base';
2
+ /**
3
+ * @title Collapse.Item
4
+ */
2
5
  export declare type CollapseItemProps = Omit<UnStyledCollapseItemProps, 'jssStyle'>;
@@ -1,2 +1,5 @@
1
1
  import { CollapseProps as UnStyledCollapseProps } from '@sheinx/base';
2
+ /**
3
+ * @title Collapse
4
+ */
2
5
  export declare type CollapseProps = Omit<UnStyledCollapseProps, 'jssStyle'>;
@@ -23,41 +23,35 @@ var App = function App() {
23
23
  size = _React$useState2[0],
24
24
  setSize = _React$useState2[1];
25
25
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
26
+ style: {
27
+ display: 'flex',
28
+ flexDirection: 'column',
29
+ gap: '24px'
30
+ },
26
31
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.Radio.Group, {
27
32
  button: 'outline',
28
33
  data: Size,
29
34
  value: size,
30
35
  onChange: setSize,
31
- keygen: true,
32
- style: {
33
- marginBottom: 24
34
- }
35
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("br", {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
36
+ keygen: true
37
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
36
38
  size: size,
37
39
  type: "date",
38
- style: {
39
- marginBottom: 16
40
- }
41
- }), " ", /*#__PURE__*/(0, _jsxRuntime.jsx)("br", {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
40
+ showSelNow: true
41
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
42
42
  size: size,
43
43
  type: "datetime",
44
- style: {
45
- marginBottom: 16
46
- }
47
- }), " ", /*#__PURE__*/(0, _jsxRuntime.jsx)("br", {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
44
+ showSelNow: true
45
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
48
46
  size: size,
49
47
  type: "date",
50
48
  range: true,
51
- style: {
52
- marginBottom: 16
53
- }
54
- }), " ", /*#__PURE__*/(0, _jsxRuntime.jsx)("br", {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
49
+ showSelNow: true
50
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
55
51
  size: size,
56
52
  type: "datetime",
57
53
  range: true,
58
- style: {
59
- marginBottom: 16
60
- }
54
+ showSelNow: true
61
55
  })]
62
56
  });
63
57
  };
@@ -15,24 +15,23 @@ var _jsxRuntime = require("react/jsx-runtime");
15
15
  * -- Set type to be time to select time and automatically load the corresponding selection column according to the format property.
16
16
  */
17
17
 
18
- var style = {
19
- marginBottom: 16
20
- };
21
18
  var now = Date.now();
22
19
  var App = function App() {
23
20
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
21
+ style: {
22
+ display: 'flex',
23
+ flexDirection: 'column',
24
+ gap: '24px'
25
+ },
24
26
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
25
- style: style,
26
27
  type: "time",
27
28
  defaultValue: now,
28
29
  showSelNow: true
29
- }), " ", /*#__PURE__*/(0, _jsxRuntime.jsx)("br", {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
30
- style: style,
30
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
31
31
  type: "time",
32
32
  format: "HH:mm",
33
33
  defaultValue: now
34
- }), " ", /*#__PURE__*/(0, _jsxRuntime.jsx)("br", {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
35
- style: style,
34
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
36
35
  type: "time",
37
36
  format: "hh:mm A",
38
37
  defaultValue: now
@@ -15,25 +15,23 @@ var _jsxRuntime = require("react/jsx-runtime");
15
15
  * -- Set step of TimePicker
16
16
  */
17
17
 
18
- var style = {
19
- marginInlineEnd: 12
20
- };
21
18
  var step = 2;
22
19
  var App = function App() {
23
20
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
21
+ style: {
22
+ display: 'flex',
23
+ gap: '24px'
24
+ },
24
25
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
25
26
  placeholder: "Hour Step",
26
- style: style,
27
27
  type: "time",
28
28
  hourStep: step
29
29
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
30
30
  placeholder: "Minute Step",
31
- style: style,
32
31
  type: "time",
33
32
  minuteStep: step
34
33
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_.DatePicker, {
35
34
  placeholder: "Second Step",
36
- style: style,
37
35
  type: "time",
38
36
  secondStep: step
39
37
  })]