tntd 2.8.0-beta.2 → 2.8.0-beta.3

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 (1518) hide show
  1. package/es/affix/index.js +1 -1
  2. package/es/affix/index.js.map +1 -1
  3. package/es/affix/style/index.js +2 -0
  4. package/es/affix/style/index.js.map +1 -0
  5. package/es/affix/style/index.less +6 -0
  6. package/es/alert/index.js +1 -1
  7. package/es/alert/index.js.map +1 -1
  8. package/es/alert/style/index.js +2 -0
  9. package/es/alert/style/index.js.map +1 -0
  10. package/es/alert/style/index.less +188 -0
  11. package/es/anchor/index.js +1 -1
  12. package/es/anchor/index.js.map +1 -1
  13. package/es/anchor/style/index.js +4 -0
  14. package/es/anchor/style/index.js.map +1 -0
  15. package/es/anchor/style/index.less +82 -0
  16. package/es/auto-complete/index.js +1 -1
  17. package/es/auto-complete/index.js.map +1 -1
  18. package/es/auto-complete/style/index.js +5 -0
  19. package/es/auto-complete/style/index.js.map +1 -0
  20. package/es/auto-complete/style/index.less +92 -0
  21. package/es/avatar/index.js +1 -1
  22. package/es/avatar/index.js.map +1 -1
  23. package/es/avatar/style/index.js +2 -0
  24. package/es/avatar/style/index.js.map +1 -0
  25. package/es/avatar/style/index.less +59 -0
  26. package/es/back-top/index.js +1 -1
  27. package/es/back-top/index.js.map +1 -1
  28. package/es/back-top/style/index.js +2 -0
  29. package/es/back-top/style/index.js.map +1 -0
  30. package/es/back-top/style/index.less +42 -0
  31. package/es/back-top/style/responsive.less +11 -0
  32. package/es/badge/index.js +1 -1
  33. package/es/badge/index.js.map +1 -1
  34. package/es/badge/style/index.js +2 -0
  35. package/es/badge/style/index.js.map +1 -0
  36. package/es/badge/style/index.less +190 -0
  37. package/es/breadcrumb/index.js +1 -1
  38. package/es/breadcrumb/index.js.map +1 -1
  39. package/es/breadcrumb/style/index.js +4 -0
  40. package/es/breadcrumb/style/index.js.map +1 -0
  41. package/es/breadcrumb/style/index.less +51 -0
  42. package/es/button/index.js +1 -1
  43. package/es/button/index.js.map +1 -1
  44. package/es/button/style/index.js +2 -0
  45. package/es/button/style/index.js.map +1 -0
  46. package/es/button/style/index.less +224 -0
  47. package/es/button/style/mixin.less +357 -0
  48. package/es/calendar/index.js +1 -1
  49. package/es/calendar/index.js.map +1 -1
  50. package/es/calendar/style/index.js +5 -0
  51. package/es/calendar/style/index.js.map +1 -0
  52. package/es/calendar/style/index.less +278 -0
  53. package/es/card/index.js +1 -1
  54. package/es/card/index.js.map +1 -1
  55. package/es/card/style/index.js +6 -0
  56. package/es/card/style/index.js.map +1 -0
  57. package/es/card/style/index.less +263 -0
  58. package/es/card/style/size.less +25 -0
  59. package/es/carousel/index.js +1 -1
  60. package/es/carousel/index.js.map +1 -1
  61. package/es/carousel/style/index.js +2 -0
  62. package/es/carousel/style/index.js.map +1 -0
  63. package/es/carousel/style/index.less +238 -0
  64. package/es/cascader/index.js +1 -1
  65. package/es/cascader/index.js.map +1 -1
  66. package/es/cascader/style/index.js +5 -0
  67. package/es/cascader/style/index.js.map +1 -0
  68. package/es/cascader/style/index.less +227 -0
  69. package/es/checkbox/index.js +1 -1
  70. package/es/checkbox/index.js.map +1 -1
  71. package/es/checkbox/style/index.js +2 -0
  72. package/es/checkbox/style/index.js.map +1 -0
  73. package/es/checkbox/style/index.less +4 -0
  74. package/es/checkbox/style/mixin.less +220 -0
  75. package/es/col/index.js +1 -1
  76. package/es/col/index.js.map +1 -1
  77. package/es/col/style/index.js +4 -0
  78. package/es/col/style/index.js.map +1 -0
  79. package/es/collapse/index.js +1 -1
  80. package/es/collapse/index.js.map +1 -1
  81. package/es/collapse/style/index.js +2 -0
  82. package/es/collapse/style/index.js.map +1 -0
  83. package/es/collapse/style/index.less +134 -0
  84. package/es/color-picker/ColorPicker.js +4 -2
  85. package/es/color-picker/ColorPicker.js.map +1 -1
  86. package/es/color-picker/index.less +21 -7
  87. package/es/comment/index.js +1 -1
  88. package/es/comment/index.js.map +1 -1
  89. package/es/comment/style/index.js +2 -0
  90. package/es/comment/style/index.js.map +1 -0
  91. package/es/comment/style/index.less +93 -0
  92. package/es/config-provider/index.js +1 -1
  93. package/es/config-provider/index.js.map +1 -1
  94. package/es/config-provider/style/index.js +1 -0
  95. package/es/config-provider/style/index.js.map +1 -0
  96. package/es/config-provider/style/index.less +2 -0
  97. package/es/date-picker/index.js +1 -1
  98. package/es/date-picker/index.js.map +1 -1
  99. package/es/date-picker/style/Calendar.less +402 -0
  100. package/es/date-picker/style/DecadePanel.less +81 -0
  101. package/es/date-picker/style/MonthPanel.less +86 -0
  102. package/es/date-picker/style/MonthPicker.less +11 -0
  103. package/es/date-picker/style/Picker.less +113 -0
  104. package/es/date-picker/style/RangePicker.less +248 -0
  105. package/es/date-picker/style/TimePicker.less +151 -0
  106. package/es/date-picker/style/WeekPicker.less +21 -0
  107. package/es/date-picker/style/YearPanel.less +85 -0
  108. package/es/date-picker/style/index.js +7 -0
  109. package/es/date-picker/style/index.js.map +1 -0
  110. package/es/date-picker/style/index.less +17 -0
  111. package/es/descriptions/descriptions.js +40 -26
  112. package/es/descriptions/descriptions.js.map +1 -1
  113. package/es/descriptions/descriptions.less +104 -16
  114. package/es/descriptions/index.js +1 -1
  115. package/es/descriptions/index.js.map +1 -1
  116. package/es/descriptions/style/index.js +2 -0
  117. package/es/descriptions/style/index.js.map +1 -0
  118. package/es/descriptions/style/index.less +144 -0
  119. package/es/divider/index.js +1 -1
  120. package/es/divider/index.js.map +1 -1
  121. package/es/divider/style/index.js +2 -0
  122. package/es/divider/style/index.js.map +1 -0
  123. package/es/divider/style/index.less +109 -0
  124. package/es/drawer/drawer.less +1 -1
  125. package/es/drawer/index.js +1 -1
  126. package/es/drawer/index.js.map +1 -1
  127. package/es/drawer/style/drawer.less +230 -0
  128. package/es/drawer/style/index.js +3 -0
  129. package/es/drawer/style/index.js.map +1 -0
  130. package/es/drawer/style/index.less +3 -0
  131. package/es/dropdown/index.js +1 -1
  132. package/es/dropdown/index.js.map +1 -1
  133. package/es/dropdown/style/index.js +4 -0
  134. package/es/dropdown/style/index.js.map +1 -0
  135. package/es/dropdown/style/index.less +282 -0
  136. package/es/empty/index.js +1 -1
  137. package/es/empty/index.js.map +1 -1
  138. package/es/empty/style/index.js +2 -0
  139. package/es/empty/style/index.js.map +1 -0
  140. package/es/empty/style/index.less +52 -0
  141. package/es/form/index.js +1 -1
  142. package/es/form/index.js.map +1 -1
  143. package/es/form/style/index.js +4 -0
  144. package/es/form/style/index.js.map +1 -0
  145. package/es/form/style/index.less +653 -0
  146. package/es/form/style/mixin.less +126 -0
  147. package/es/grid/index.js +3 -13
  148. package/es/grid/index.js.map +1 -1
  149. package/es/grid/style/index.js +1 -1
  150. package/es/grid/style/index.js.map +1 -1
  151. package/es/grid/style/index.less +24 -26
  152. package/es/grid/style/mixin.less +63 -19
  153. package/es/grid-v4/RowContext.js.map +1 -0
  154. package/es/grid-v4/col.js.map +1 -0
  155. package/es/grid-v4/hooks/useBreakpoint.js.map +1 -0
  156. package/es/grid-v4/index.js +14 -0
  157. package/es/grid-v4/index.js.map +1 -0
  158. package/{lib/grid → es/grid-v4}/row.js.map +1 -1
  159. package/es/grid-v4/style/index.js +2 -0
  160. package/es/grid-v4/style/index.js.map +1 -0
  161. package/es/grid-v4/style/index.less +124 -0
  162. package/es/grid-v4/style/mixin.less +57 -0
  163. package/es/icon/style/index.js +2 -0
  164. package/es/icon/style/index.js.map +1 -0
  165. package/es/icon/style/index.less +4 -0
  166. package/es/icon-old/index.js +4 -0
  167. package/es/icon-old/index.js.map +1 -0
  168. package/es/icon-old/style/index.js +2 -0
  169. package/es/icon-old/style/index.js.map +1 -0
  170. package/es/icon-old/style/index.less +4 -0
  171. package/es/index.js +3 -2
  172. package/es/index.js.map +1 -1
  173. package/es/input/index.js +1 -1
  174. package/es/input/index.js.map +1 -1
  175. package/es/input/style/index.js +4 -0
  176. package/es/input/style/index.js.map +1 -0
  177. package/es/input/style/index.less +57 -0
  178. package/es/input/style/mixin.less +449 -0
  179. package/es/input/style/search-input.less +34 -0
  180. package/es/input-number/index.js +1 -1
  181. package/es/input-number/index.js.map +1 -1
  182. package/es/input-number/style/index.js +2 -0
  183. package/es/input-number/style/index.js.map +1 -0
  184. package/es/input-number/style/index.less +179 -0
  185. package/es/layout/index.js +1 -1
  186. package/es/layout/index.js.map +1 -1
  187. package/es/layout/style/index.js +2 -0
  188. package/es/layout/style/index.js.map +1 -0
  189. package/es/layout/style/index.less +124 -0
  190. package/es/layout/style/light.less +15 -0
  191. package/es/list/index.js +1 -1
  192. package/es/list/index.js.map +1 -1
  193. package/es/list/style/bordered.less +41 -0
  194. package/es/list/style/index.js +7 -0
  195. package/es/list/style/index.js.map +1 -0
  196. package/es/list/style/index.less +234 -0
  197. package/es/list/style/responsive.less +40 -0
  198. package/es/locale-provider/index.js +1 -1
  199. package/es/locale-provider/index.js.map +1 -1
  200. package/es/locale-provider/style/index.js +1 -0
  201. package/es/locale-provider/style/index.js.map +1 -0
  202. package/es/locale-provider/style/index.less +2 -0
  203. package/es/mentions/index.js +1 -1
  204. package/es/mentions/index.js.map +1 -1
  205. package/es/mentions/style/index.js +4 -0
  206. package/es/mentions/style/index.js.map +1 -0
  207. package/es/mentions/style/index.less +164 -0
  208. package/es/menu/index.js +1 -1
  209. package/es/menu/index.js.map +1 -1
  210. package/es/menu/style/dark.less +139 -0
  211. package/es/menu/style/index.js +5 -0
  212. package/es/menu/style/index.js.map +1 -0
  213. package/es/menu/style/index.less +515 -0
  214. package/es/message/index.js +1 -1
  215. package/es/message/index.js.map +1 -1
  216. package/es/message/style/index.js +2 -0
  217. package/es/message/style/index.js.map +1 -0
  218. package/es/message/style/index.less +75 -0
  219. package/es/modal/index.js +1 -1
  220. package/es/modal/index.js.map +1 -1
  221. package/es/modal/modal.js +51 -9
  222. package/es/modal/modal.js.map +1 -1
  223. package/es/modal/modal.less +13 -32
  224. package/es/modal/style/confirm.less +96 -0
  225. package/es/modal/style/index.js +4 -0
  226. package/es/modal/style/index.js.map +1 -0
  227. package/es/modal/style/index.less +4 -0
  228. package/es/modal/style/modal.less +165 -0
  229. package/es/notification/index.js +1 -1
  230. package/es/notification/index.js.map +1 -1
  231. package/es/notification/style/index.js +2 -0
  232. package/es/notification/style/index.js.map +1 -0
  233. package/es/notification/style/index.less +199 -0
  234. package/es/page/index.js +0 -1
  235. package/es/page-header/index.js +1 -1
  236. package/es/page-header/index.js.map +1 -1
  237. package/es/page-header/style/index.js +4 -0
  238. package/es/page-header/style/index.js.map +1 -0
  239. package/es/page-header/style/index.less +119 -0
  240. package/es/pagination/index.js +1 -1
  241. package/es/pagination/index.js.map +1 -1
  242. package/es/pagination/style/index.js +4 -0
  243. package/es/pagination/style/index.js.map +1 -0
  244. package/es/pagination/style/index.less +400 -0
  245. package/es/popconfirm/index.js +1 -1
  246. package/es/popconfirm/index.js.map +1 -1
  247. package/es/popconfirm/style/index.js +5 -0
  248. package/es/popconfirm/style/index.js.map +1 -0
  249. package/es/popover/index.js +1 -1
  250. package/es/popover/index.js.map +1 -1
  251. package/es/popover/style/index.js +4 -0
  252. package/es/popover/style/index.js.map +1 -0
  253. package/es/popover/style/index.less +205 -0
  254. package/es/progress/index.js +1 -1
  255. package/es/progress/index.js.map +1 -1
  256. package/es/progress/style/index.js +2 -0
  257. package/es/progress/style/index.js.map +1 -0
  258. package/es/progress/style/index.less +182 -0
  259. package/es/radio/index.js +1 -1
  260. package/es/radio/index.js.map +1 -1
  261. package/es/radio/style/index.js +2 -0
  262. package/es/radio/style/index.js.map +1 -0
  263. package/es/radio/style/index.less +327 -0
  264. package/es/rate/index.js +1 -1
  265. package/es/rate/index.js.map +1 -1
  266. package/es/rate/style/index.js +4 -0
  267. package/es/rate/style/index.js.map +1 -0
  268. package/es/rate/style/index.less +85 -0
  269. package/es/result/index.js +1 -1
  270. package/es/result/index.js.map +1 -1
  271. package/es/result/style/index.js +2 -0
  272. package/es/result/style/index.js.map +1 -0
  273. package/es/result/style/index.less +71 -0
  274. package/es/row/index.js +1 -1
  275. package/es/row/index.js.map +1 -1
  276. package/es/row/style/index.js +4 -0
  277. package/es/row/style/index.js.map +1 -0
  278. package/es/select/index.js +1 -1
  279. package/es/select/index.js.map +1 -1
  280. package/es/select/style/index.js +4 -0
  281. package/es/select/style/index.js.map +1 -0
  282. package/es/select/style/index.less +604 -0
  283. package/es/skeleton/index.js +1 -1
  284. package/es/skeleton/index.js.map +1 -1
  285. package/es/skeleton/style/index.js +2 -0
  286. package/es/skeleton/style/index.js.map +1 -0
  287. package/es/skeleton/style/index.less +130 -0
  288. package/es/slider/index.js +1 -1
  289. package/es/slider/index.js.map +1 -1
  290. package/es/slider/style/index.js +4 -0
  291. package/es/slider/style/index.js.map +1 -0
  292. package/es/slider/style/index.less +197 -0
  293. package/es/spin/index.js +1 -1
  294. package/es/spin/index.js.map +1 -1
  295. package/es/spin/style/index.js +2 -0
  296. package/es/spin/style/index.js.map +1 -0
  297. package/es/spin/style/index.less +214 -0
  298. package/es/statistic/index.js +1 -1
  299. package/es/statistic/index.js.map +1 -1
  300. package/es/statistic/style/index.js +2 -0
  301. package/es/statistic/style/index.js.map +1 -0
  302. package/es/statistic/style/index.less +40 -0
  303. package/es/steps/index.js +2 -1
  304. package/es/steps/index.js.map +1 -1
  305. package/es/steps/stepStyle/index.less +12 -0
  306. package/es/steps/stepStyle/nav.less +281 -0
  307. package/es/steps/stepStyle/small.less +5 -0
  308. package/es/steps/steps.js +6 -6
  309. package/es/steps/steps.js.map +1 -1
  310. package/es/steps/style/compatibility.less +50 -0
  311. package/es/steps/style/custom-icon.less +31 -0
  312. package/es/steps/style/index.js +2 -0
  313. package/es/steps/style/index.js.map +1 -0
  314. package/es/steps/style/index.less +241 -6
  315. package/es/steps/style/label-placement.less +38 -0
  316. package/es/steps/style/nav.less +96 -247
  317. package/es/steps/style/progress-dot.less +80 -0
  318. package/es/steps/style/small.less +43 -3
  319. package/es/steps/style/vertical.less +74 -0
  320. package/es/style/color/bezierEasing.less +110 -0
  321. package/es/style/color/colorPalette.less +75 -0
  322. package/es/style/color/colors.less +149 -0
  323. package/es/style/color/tinyColor.less +1184 -0
  324. package/es/style/core/base.less +510 -0
  325. package/es/style/core/iconfont.less +19 -0
  326. package/es/style/core/index.less +4 -0
  327. package/es/style/core/motion/fade.less +31 -0
  328. package/es/style/core/motion/move.less +120 -0
  329. package/es/style/core/motion/other.less +40 -0
  330. package/es/style/core/motion/slide.less +120 -0
  331. package/es/style/core/motion/swing.less +34 -0
  332. package/es/style/core/motion/zoom.less +162 -0
  333. package/es/style/core/motion.less +20 -0
  334. package/es/style/index.js +1 -0
  335. package/es/style/index.js.map +1 -0
  336. package/es/style/index.less +2 -0
  337. package/es/style/mixins/clearfix.less +13 -0
  338. package/es/style/mixins/compatibility.less +22 -0
  339. package/es/style/mixins/iconfont.less +43 -0
  340. package/es/style/mixins/index.less +10 -0
  341. package/es/style/mixins/motion.less +35 -0
  342. package/es/style/mixins/operation-unit.less +18 -0
  343. package/es/style/mixins/reset.less +13 -0
  344. package/es/style/mixins/size.less +10 -0
  345. package/es/style/mixins/typography.less +49 -0
  346. package/es/style/themes/default.less +699 -0
  347. package/es/style/themes/index.less +1 -0
  348. package/es/style/v2-compatible-reset.js +1 -0
  349. package/es/style/v2-compatible-reset.js.map +1 -0
  350. package/es/style/v2-compatible-reset.less +51 -0
  351. package/es/switch/style/index.js +2 -0
  352. package/es/switch/style/index.js.map +1 -0
  353. package/es/switch/style/index.less +178 -0
  354. package/es/switch/switch.js +1 -1
  355. package/es/switch/switch.js.map +1 -1
  356. package/es/table/index.js +1 -1
  357. package/es/table/index.js.map +1 -1
  358. package/es/table/style/index.js +10 -0
  359. package/es/table/style/index.js.map +1 -0
  360. package/es/table/style/index.less +800 -0
  361. package/es/table/style/size.less +179 -0
  362. package/es/table/table.js +0 -1
  363. package/es/tabs/index.js +1 -1
  364. package/es/tabs/index.js.map +1 -1
  365. package/es/tabs/style/card-style.less +186 -0
  366. package/es/tabs/style/index.js +2 -0
  367. package/es/tabs/style/index.js.map +1 -0
  368. package/es/tabs/style/index.less +436 -0
  369. package/es/tag/index.js +1 -1
  370. package/es/tag/index.js.map +1 -1
  371. package/es/tag/style/index.js +2 -0
  372. package/es/tag/style/index.js.map +1 -0
  373. package/es/tag/style/index.less +106 -0
  374. package/es/time-picker/index.js +1 -1
  375. package/es/time-picker/index.js.map +1 -1
  376. package/es/time-picker/style/index.js +2 -0
  377. package/es/time-picker/style/index.js.map +1 -0
  378. package/es/time-picker/style/index.less +246 -0
  379. package/es/timeline/index.js +1 -1
  380. package/es/timeline/index.js.map +1 -1
  381. package/es/timeline/style/index.js +2 -0
  382. package/es/timeline/style/index.js.map +1 -0
  383. package/es/timeline/style/index.less +167 -0
  384. package/es/tntd-action/index.js +7 -0
  385. package/es/tntd-action/index.js.map +1 -0
  386. package/es/tntd-cascader/rc-cascader/OptionList/index.js +0 -1
  387. package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +0 -1
  388. package/es/tntd-form/Form.js.map +1 -1
  389. package/es/tntd-form/FormItem/ItemHolder.js +1 -1
  390. package/es/tntd-form/FormItem/ItemHolder.js.map +1 -1
  391. package/es/tntd-form/FormItemInput.js +1 -1
  392. package/es/tntd-form/FormItemInput.js.map +1 -1
  393. package/es/tntd-form/FormItemLabel.js +1 -1
  394. package/es/tntd-form/FormItemLabel.js.map +1 -1
  395. package/es/tntd-form/context.js.map +1 -1
  396. package/es/tntd-form/style/index.js +1 -1
  397. package/es/tntd-form/style/index.js.map +1 -1
  398. package/es/tntd-form/style/index.less +1 -1
  399. package/es/tntd-form/style/rtl.less +3 -3
  400. package/es/tntd-layout/index.js +0 -1
  401. package/es/tntd-rc-select/style/index.less +844 -740
  402. package/es/tntd-select/index.js +0 -1
  403. package/es/tooltip/index.js +1 -1
  404. package/es/tooltip/index.js.map +1 -1
  405. package/es/tooltip/style/index.js +2 -0
  406. package/es/tooltip/style/index.js.map +1 -0
  407. package/es/tooltip/style/index.less +187 -0
  408. package/es/transfer/index.js +1 -1
  409. package/es/transfer/index.js.map +1 -1
  410. package/es/transfer/style/customize.less +62 -0
  411. package/es/transfer/style/index.js +7 -0
  412. package/es/transfer/style/index.js.map +1 -0
  413. package/es/transfer/style/index.less +191 -0
  414. package/es/tree/index.js +1 -1
  415. package/es/tree/index.js.map +1 -1
  416. package/es/tree/style/directory.less +95 -0
  417. package/es/tree/style/index.js +2 -0
  418. package/es/tree/style/index.js.map +1 -0
  419. package/es/tree/style/index.less +280 -0
  420. package/es/tree/style/mixin.less +29 -0
  421. package/es/tree-select/index.js +1 -1
  422. package/es/tree-select/index.js.map +1 -1
  423. package/es/tree-select/style/index.js +6 -0
  424. package/es/tree-select/style/index.js.map +1 -0
  425. package/es/tree-select/style/index.less +191 -0
  426. package/es/typography/index.js +1 -1
  427. package/es/typography/index.js.map +1 -1
  428. package/es/typography/style/index.js +5 -0
  429. package/es/typography/style/index.js.map +1 -0
  430. package/es/typography/style/index.less +204 -0
  431. package/es/upload/index.js +1 -1
  432. package/es/upload/index.js.map +1 -1
  433. package/es/upload/style/index.js +5 -0
  434. package/es/upload/style/index.js.map +1 -0
  435. package/es/upload/style/index.less +542 -0
  436. package/es/version/index.js +1 -1
  437. package/es/version/index.js.map +1 -1
  438. package/es/version/style/index.js +2 -0
  439. package/es/version/style/index.js.map +1 -0
  440. package/lib/_util/context.js +3 -6
  441. package/lib/_util/defaultRenderEmpty.d.ts +2 -2
  442. package/lib/_util/defaultRenderEmpty.d.ts.map +1 -1
  443. package/lib/_util/defaultRenderEmpty.js +4 -5
  444. package/lib/_util/hooks/useFlexGapSupport.js +7 -8
  445. package/lib/_util/hooks/useForceUpdate.js +5 -5
  446. package/lib/_util/motion.js +3 -6
  447. package/lib/_util/reactNode.js +4 -5
  448. package/lib/_util/responsiveObserve.js +6 -9
  449. package/lib/_util/styleChecker.js +3 -5
  450. package/lib/_util/type.js +3 -5
  451. package/lib/_util/warning.js +5 -6
  452. package/lib/actions/index.js +1 -2
  453. package/lib/affix/index.d.ts +1 -1
  454. package/lib/affix/index.d.ts.map +1 -1
  455. package/lib/affix/index.js +5 -6
  456. package/lib/affix/index.js.map +1 -1
  457. package/lib/affix/style/index.d.ts +3 -0
  458. package/lib/affix/style/index.d.ts.map +1 -0
  459. package/lib/affix/style/index.js +4 -0
  460. package/lib/affix/style/index.js.map +1 -0
  461. package/lib/affix/style/index.less +6 -0
  462. package/lib/alert/index.d.ts +1 -1
  463. package/lib/alert/index.d.ts.map +1 -1
  464. package/lib/alert/index.js +5 -6
  465. package/lib/alert/index.js.map +1 -1
  466. package/lib/alert/style/index.d.ts +3 -0
  467. package/lib/alert/style/index.d.ts.map +1 -0
  468. package/lib/alert/style/index.js +4 -0
  469. package/lib/alert/style/index.js.map +1 -0
  470. package/lib/alert/style/index.less +188 -0
  471. package/lib/anchor/index.d.ts +1 -1
  472. package/lib/anchor/index.d.ts.map +1 -1
  473. package/lib/anchor/index.js +5 -6
  474. package/lib/anchor/index.js.map +1 -1
  475. package/lib/anchor/style/index.d.ts +4 -0
  476. package/lib/anchor/style/index.d.ts.map +1 -0
  477. package/lib/anchor/style/index.js +5 -0
  478. package/lib/anchor/style/index.js.map +1 -0
  479. package/lib/anchor/style/index.less +82 -0
  480. package/lib/array-input/icon.d.ts +3 -2
  481. package/lib/array-input/icon.d.ts.map +1 -1
  482. package/lib/array-input/icon.js +3 -5
  483. package/lib/array-input/index.d.ts +2 -1
  484. package/lib/array-input/index.d.ts.map +1 -1
  485. package/lib/array-input/index.js +8 -10
  486. package/lib/auth-context/index.js +2 -3
  487. package/lib/auto-complete/index.d.ts +1 -1
  488. package/lib/auto-complete/index.d.ts.map +1 -1
  489. package/lib/auto-complete/index.js +5 -6
  490. package/lib/auto-complete/index.js.map +1 -1
  491. package/lib/auto-complete/style/index.d.ts +5 -0
  492. package/lib/auto-complete/style/index.d.ts.map +1 -0
  493. package/lib/auto-complete/style/index.js +6 -0
  494. package/lib/auto-complete/style/index.js.map +1 -0
  495. package/lib/auto-complete/style/index.less +92 -0
  496. package/lib/avatar/index.d.ts +1 -1
  497. package/lib/avatar/index.d.ts.map +1 -1
  498. package/lib/avatar/index.js +5 -6
  499. package/lib/avatar/index.js.map +1 -1
  500. package/lib/avatar/style/index.d.ts +3 -0
  501. package/lib/avatar/style/index.d.ts.map +1 -0
  502. package/lib/avatar/style/index.js +4 -0
  503. package/lib/avatar/style/index.js.map +1 -0
  504. package/lib/avatar/style/index.less +59 -0
  505. package/lib/back-top/index.d.ts +1 -1
  506. package/lib/back-top/index.d.ts.map +1 -1
  507. package/lib/back-top/index.js +5 -6
  508. package/lib/back-top/index.js.map +1 -1
  509. package/lib/back-top/style/index.d.ts +3 -0
  510. package/lib/back-top/style/index.d.ts.map +1 -0
  511. package/lib/back-top/style/index.js +4 -0
  512. package/lib/back-top/style/index.js.map +1 -0
  513. package/lib/back-top/style/index.less +42 -0
  514. package/lib/back-top/style/responsive.less +11 -0
  515. package/lib/badge/index.d.ts +1 -1
  516. package/lib/badge/index.d.ts.map +1 -1
  517. package/lib/badge/index.js +5 -6
  518. package/lib/badge/index.js.map +1 -1
  519. package/lib/badge/style/index.d.ts +3 -0
  520. package/lib/badge/style/index.d.ts.map +1 -0
  521. package/lib/badge/style/index.js +4 -0
  522. package/lib/badge/style/index.js.map +1 -0
  523. package/lib/badge/style/index.less +190 -0
  524. package/lib/breadcrumb/index.d.ts +1 -1
  525. package/lib/breadcrumb/index.d.ts.map +1 -1
  526. package/lib/breadcrumb/index.js +5 -6
  527. package/lib/breadcrumb/index.js.map +1 -1
  528. package/lib/breadcrumb/style/index.d.ts +5 -0
  529. package/lib/breadcrumb/style/index.d.ts.map +1 -0
  530. package/lib/breadcrumb/style/index.js +6 -0
  531. package/lib/breadcrumb/style/index.js.map +1 -0
  532. package/lib/breadcrumb/style/index.less +51 -0
  533. package/lib/button/button.js +6 -9
  534. package/lib/button/index.d.ts +1 -1
  535. package/lib/button/index.d.ts.map +1 -1
  536. package/lib/button/index.js +2 -3
  537. package/lib/button/index.js.map +1 -1
  538. package/lib/button/style/index.d.ts +3 -0
  539. package/lib/button/style/index.d.ts.map +1 -0
  540. package/lib/button/style/index.js +4 -0
  541. package/lib/button/style/index.js.map +1 -0
  542. package/lib/button/style/index.less +224 -0
  543. package/lib/button/style/mixin.less +357 -0
  544. package/lib/calendar/index.d.ts +1 -1
  545. package/lib/calendar/index.d.ts.map +1 -1
  546. package/lib/calendar/index.js +5 -6
  547. package/lib/calendar/index.js.map +1 -1
  548. package/lib/calendar/style/index.d.ts +5 -0
  549. package/lib/calendar/style/index.d.ts.map +1 -0
  550. package/lib/calendar/style/index.js +6 -0
  551. package/lib/calendar/style/index.js.map +1 -0
  552. package/lib/calendar/style/index.less +278 -0
  553. package/lib/card/card.js +5 -8
  554. package/lib/card/index.d.ts +1 -1
  555. package/lib/card/index.d.ts.map +1 -1
  556. package/lib/card/index.js +2 -3
  557. package/lib/card/index.js.map +1 -1
  558. package/lib/card/style/index.d.ts +6 -0
  559. package/lib/card/style/index.d.ts.map +1 -0
  560. package/lib/card/style/index.js +7 -0
  561. package/lib/card/style/index.js.map +1 -0
  562. package/lib/card/style/index.less +263 -0
  563. package/lib/card/style/size.less +25 -0
  564. package/lib/carousel/index.d.ts +1 -1
  565. package/lib/carousel/index.d.ts.map +1 -1
  566. package/lib/carousel/index.js +5 -6
  567. package/lib/carousel/index.js.map +1 -1
  568. package/lib/carousel/style/index.d.ts +3 -0
  569. package/lib/carousel/style/index.d.ts.map +1 -0
  570. package/lib/carousel/style/index.js +4 -0
  571. package/lib/carousel/style/index.js.map +1 -0
  572. package/lib/carousel/style/index.less +238 -0
  573. package/lib/cascader/index.d.ts +1 -1
  574. package/lib/cascader/index.d.ts.map +1 -1
  575. package/lib/cascader/index.js +6 -8
  576. package/lib/cascader/index.js.map +1 -1
  577. package/lib/cascader/style/index.d.ts +5 -0
  578. package/lib/cascader/style/index.d.ts.map +1 -0
  579. package/lib/cascader/style/index.js +6 -0
  580. package/lib/cascader/style/index.js.map +1 -0
  581. package/lib/cascader/style/index.less +227 -0
  582. package/lib/check-card/group.js +9 -14
  583. package/lib/check-card/index.js +10 -14
  584. package/lib/checkbox/checkbox-group.js +1 -2
  585. package/lib/checkbox/index.d.ts +1 -1
  586. package/lib/checkbox/index.d.ts.map +1 -1
  587. package/lib/checkbox/index.js +5 -6
  588. package/lib/checkbox/index.js.map +1 -1
  589. package/lib/checkbox/style/index.d.ts +3 -0
  590. package/lib/checkbox/style/index.d.ts.map +1 -0
  591. package/lib/checkbox/style/index.js +4 -0
  592. package/lib/checkbox/style/index.js.map +1 -0
  593. package/lib/checkbox/style/index.less +4 -0
  594. package/lib/checkbox/style/mixin.less +220 -0
  595. package/lib/col/index.d.ts +1 -1
  596. package/lib/col/index.d.ts.map +1 -1
  597. package/lib/col/index.js +5 -6
  598. package/lib/col/index.js.map +1 -1
  599. package/lib/col/style/index.d.ts +3 -0
  600. package/lib/col/style/index.d.ts.map +1 -0
  601. package/lib/col/style/index.js +4 -0
  602. package/lib/col/style/index.js.map +1 -0
  603. package/lib/collapse/index.d.ts +1 -1
  604. package/lib/collapse/index.d.ts.map +1 -1
  605. package/lib/collapse/index.js +5 -6
  606. package/lib/collapse/index.js.map +1 -1
  607. package/lib/collapse/style/index.d.ts +3 -0
  608. package/lib/collapse/style/index.d.ts.map +1 -0
  609. package/lib/collapse/style/index.js +4 -0
  610. package/lib/collapse/style/index.js.map +1 -0
  611. package/lib/collapse/style/index.less +134 -0
  612. package/lib/color-picker/ColorPicker.d.ts +4 -2
  613. package/lib/color-picker/ColorPicker.d.ts.map +1 -1
  614. package/lib/color-picker/ColorPicker.js +11 -13
  615. package/lib/color-picker/ColorPicker.js.map +1 -1
  616. package/lib/color-picker/index.d.ts +2 -1
  617. package/lib/color-picker/index.d.ts.map +1 -1
  618. package/lib/color-picker/index.less +21 -7
  619. package/lib/columns/index.d.ts +3 -2
  620. package/lib/columns/index.d.ts.map +1 -1
  621. package/lib/columns/index.js +3 -7
  622. package/lib/comment/index.d.ts +1 -1
  623. package/lib/comment/index.d.ts.map +1 -1
  624. package/lib/comment/index.js +5 -6
  625. package/lib/comment/index.js.map +1 -1
  626. package/lib/comment/style/index.d.ts +3 -0
  627. package/lib/comment/style/index.d.ts.map +1 -0
  628. package/lib/comment/style/index.js +4 -0
  629. package/lib/comment/style/index.js.map +1 -0
  630. package/lib/comment/style/index.less +93 -0
  631. package/lib/config-provider/DisabledContext.js +5 -7
  632. package/lib/config-provider/SizeContext.js +5 -7
  633. package/lib/config-provider/index.d.ts +1 -1
  634. package/lib/config-provider/index.d.ts.map +1 -1
  635. package/lib/config-provider/index.js +5 -6
  636. package/lib/config-provider/index.js.map +1 -1
  637. package/lib/config-provider/style/index.d.ts +2 -0
  638. package/lib/config-provider/style/index.d.ts.map +1 -0
  639. package/lib/config-provider/style/index.js +3 -0
  640. package/lib/config-provider/style/index.js.map +1 -0
  641. package/lib/config-provider/style/index.less +2 -0
  642. package/lib/connect/index.js +5 -11
  643. package/lib/date-picker/index.d.ts +1 -1
  644. package/lib/date-picker/index.d.ts.map +1 -1
  645. package/lib/date-picker/index.js +6 -8
  646. package/lib/date-picker/index.js.map +1 -1
  647. package/lib/date-picker/style/Calendar.less +402 -0
  648. package/lib/date-picker/style/DecadePanel.less +81 -0
  649. package/lib/date-picker/style/MonthPanel.less +86 -0
  650. package/lib/date-picker/style/MonthPicker.less +11 -0
  651. package/lib/date-picker/style/Picker.less +113 -0
  652. package/lib/date-picker/style/RangePicker.less +248 -0
  653. package/lib/date-picker/style/TimePicker.less +151 -0
  654. package/lib/date-picker/style/WeekPicker.less +21 -0
  655. package/lib/date-picker/style/YearPanel.less +85 -0
  656. package/lib/date-picker/style/index.d.ts +6 -0
  657. package/lib/date-picker/style/index.d.ts.map +1 -0
  658. package/lib/date-picker/style/index.js +7 -0
  659. package/lib/date-picker/style/index.js.map +1 -0
  660. package/lib/date-picker/style/index.less +17 -0
  661. package/lib/descriptions/descriptions.d.ts +10 -4
  662. package/lib/descriptions/descriptions.d.ts.map +1 -1
  663. package/lib/descriptions/descriptions.js +41 -30
  664. package/lib/descriptions/descriptions.js.map +1 -1
  665. package/lib/descriptions/descriptions.less +104 -16
  666. package/lib/descriptions/index.d.ts +1 -1
  667. package/lib/descriptions/index.d.ts.map +1 -1
  668. package/lib/descriptions/index.js +2 -3
  669. package/lib/descriptions/index.js.map +1 -1
  670. package/lib/descriptions/style/index.d.ts +3 -0
  671. package/lib/descriptions/style/index.d.ts.map +1 -0
  672. package/lib/descriptions/style/index.js +4 -0
  673. package/lib/descriptions/style/index.js.map +1 -0
  674. package/lib/descriptions/style/index.less +144 -0
  675. package/lib/development-login/LoginModal.d.ts +2 -1
  676. package/lib/development-login/LoginModal.d.ts.map +1 -1
  677. package/lib/development-login/LoginModal.js +9 -10
  678. package/lib/development-login/index.d.ts +2 -1
  679. package/lib/development-login/index.d.ts.map +1 -1
  680. package/lib/development-login/index.js +9 -8
  681. package/lib/divider/index.d.ts +1 -1
  682. package/lib/divider/index.d.ts.map +1 -1
  683. package/lib/divider/index.js +5 -6
  684. package/lib/divider/index.js.map +1 -1
  685. package/lib/divider/style/index.d.ts +3 -0
  686. package/lib/divider/style/index.d.ts.map +1 -0
  687. package/lib/divider/style/index.js +4 -0
  688. package/lib/divider/style/index.js.map +1 -0
  689. package/lib/divider/style/index.less +109 -0
  690. package/lib/drawer/drawer.js +6 -9
  691. package/lib/drawer/drawer.less +1 -1
  692. package/lib/drawer/index.d.ts +1 -1
  693. package/lib/drawer/index.d.ts.map +1 -1
  694. package/lib/drawer/index.js +2 -3
  695. package/lib/drawer/index.js.map +1 -1
  696. package/lib/drawer/style/drawer.less +230 -0
  697. package/lib/drawer/style/index.d.ts +3 -0
  698. package/lib/drawer/style/index.d.ts.map +1 -0
  699. package/lib/drawer/style/index.js +4 -0
  700. package/lib/drawer/style/index.js.map +1 -0
  701. package/lib/drawer/style/index.less +3 -0
  702. package/lib/dropdown/index.d.ts +1 -1
  703. package/lib/dropdown/index.d.ts.map +1 -1
  704. package/lib/dropdown/index.js +5 -6
  705. package/lib/dropdown/index.js.map +1 -1
  706. package/lib/dropdown/style/index.d.ts +4 -0
  707. package/lib/dropdown/style/index.d.ts.map +1 -0
  708. package/lib/dropdown/style/index.js +5 -0
  709. package/lib/dropdown/style/index.js.map +1 -0
  710. package/lib/dropdown/style/index.less +282 -0
  711. package/lib/ellipsis/Svg/CopySVG.d.ts +2 -1
  712. package/lib/ellipsis/Svg/CopySVG.d.ts.map +1 -1
  713. package/lib/ellipsis/Svg/CopySVG.js +2 -3
  714. package/lib/ellipsis/Svg/TickSVG.d.ts +2 -1
  715. package/lib/ellipsis/Svg/TickSVG.d.ts.map +1 -1
  716. package/lib/ellipsis/Svg/TickSVG.js +2 -3
  717. package/lib/ellipsis/index.d.ts +2 -1
  718. package/lib/ellipsis/index.d.ts.map +1 -1
  719. package/lib/ellipsis/index.js +12 -9
  720. package/lib/empty/empty.d.ts +2 -2
  721. package/lib/empty/empty.d.ts.map +1 -1
  722. package/lib/empty/empty.js +8 -12
  723. package/lib/empty/empty.stories.js +2 -4
  724. package/lib/empty/index.d.ts +1 -1
  725. package/lib/empty/index.d.ts.map +1 -1
  726. package/lib/empty/index.js +2 -3
  727. package/lib/empty/index.js.map +1 -1
  728. package/lib/empty/style/index.d.ts +3 -0
  729. package/lib/empty/style/index.d.ts.map +1 -0
  730. package/lib/empty/style/index.js +4 -0
  731. package/lib/empty/style/index.js.map +1 -0
  732. package/lib/empty/style/index.less +52 -0
  733. package/lib/exception/exception.js +1 -2
  734. package/lib/exception/index.js +1 -2
  735. package/lib/form/form.js +7 -10
  736. package/lib/form/index.d.ts +1 -1
  737. package/lib/form/index.d.ts.map +1 -1
  738. package/lib/form/index.js +2 -3
  739. package/lib/form/index.js.map +1 -1
  740. package/lib/form/style/index.d.ts +4 -0
  741. package/lib/form/style/index.d.ts.map +1 -0
  742. package/lib/form/style/index.js +5 -0
  743. package/lib/form/style/index.js.map +1 -0
  744. package/lib/form/style/index.less +653 -0
  745. package/lib/form/style/mixin.less +126 -0
  746. package/lib/grid/index.d.ts +3 -10
  747. package/lib/grid/index.d.ts.map +1 -1
  748. package/lib/grid/index.js +17 -24
  749. package/lib/grid/index.js.map +1 -1
  750. package/lib/grid/style/index.d.ts +1 -0
  751. package/lib/grid/style/index.d.ts.map +1 -1
  752. package/lib/grid/style/index.js +1 -0
  753. package/lib/grid/style/index.js.map +1 -1
  754. package/lib/grid/style/index.less +24 -26
  755. package/lib/grid/style/mixin.less +63 -19
  756. package/lib/grid-v4/RowContext.d.ts.map +1 -0
  757. package/lib/{grid → grid-v4}/RowContext.js +1 -2
  758. package/lib/grid-v4/RowContext.js.map +1 -0
  759. package/lib/grid-v4/col.d.ts.map +1 -0
  760. package/lib/{grid → grid-v4}/col.js +9 -14
  761. package/lib/grid-v4/col.js.map +1 -0
  762. package/lib/grid-v4/hooks/useBreakpoint.d.ts.map +1 -0
  763. package/lib/{grid → grid-v4}/hooks/useBreakpoint.js +1 -2
  764. package/lib/grid-v4/hooks/useBreakpoint.js.map +1 -0
  765. package/lib/grid-v4/index.d.ts +12 -0
  766. package/lib/grid-v4/index.d.ts.map +1 -0
  767. package/lib/grid-v4/index.js +30 -0
  768. package/lib/grid-v4/index.js.map +1 -0
  769. package/lib/grid-v4/row.d.ts.map +1 -0
  770. package/lib/{grid → grid-v4}/row.js +10 -14
  771. package/lib/grid-v4/row.js.map +1 -0
  772. package/lib/grid-v4/style/index.d.ts +2 -0
  773. package/lib/grid-v4/style/index.d.ts.map +1 -0
  774. package/lib/grid-v4/style/index.js +3 -0
  775. package/lib/grid-v4/style/index.js.map +1 -0
  776. package/lib/grid-v4/style/index.less +124 -0
  777. package/lib/grid-v4/style/mixin.less +57 -0
  778. package/lib/handle/index.d.ts +2 -1
  779. package/lib/handle/index.d.ts.map +1 -1
  780. package/lib/handle/index.js +6 -9
  781. package/lib/icon/IconFont.js +4 -6
  782. package/lib/icon/components/Icon.js +16 -22
  783. package/lib/icon/components/utils.js +7 -9
  784. package/lib/icon/index.js +9 -13
  785. package/lib/icon/style/index.d.ts +3 -0
  786. package/lib/icon/style/index.d.ts.map +1 -0
  787. package/lib/icon/style/index.js +4 -0
  788. package/lib/icon/style/index.js.map +1 -0
  789. package/lib/icon/style/index.less +4 -0
  790. package/lib/icon/utils.js +1 -2
  791. package/lib/icon-list/index.js +1 -2
  792. package/lib/icon-old/index.d.ts +5 -0
  793. package/lib/icon-old/index.d.ts.map +1 -0
  794. package/lib/icon-old/index.js +24 -0
  795. package/lib/icon-old/index.js.map +1 -0
  796. package/lib/icon-old/style/index.d.ts +3 -0
  797. package/lib/icon-old/style/index.d.ts.map +1 -0
  798. package/lib/icon-old/style/index.js +4 -0
  799. package/lib/icon-old/style/index.js.map +1 -0
  800. package/lib/icon-old/style/index.less +4 -0
  801. package/lib/img/Contain.d.ts +2 -1
  802. package/lib/img/Contain.d.ts.map +1 -1
  803. package/lib/img/Contain.js +3 -6
  804. package/lib/img/Cover.d.ts +2 -1
  805. package/lib/img/Cover.d.ts.map +1 -1
  806. package/lib/img/Cover.js +8 -11
  807. package/lib/img/index.d.ts +2 -1
  808. package/lib/img/index.d.ts.map +1 -1
  809. package/lib/img/index.js +8 -11
  810. package/lib/index.d.ts +3 -2
  811. package/lib/index.d.ts.map +1 -1
  812. package/lib/index.js +10 -3
  813. package/lib/index.js.map +1 -1
  814. package/lib/input/index.d.ts +1 -1
  815. package/lib/input/index.d.ts.map +1 -1
  816. package/lib/input/index.js +2 -3
  817. package/lib/input/index.js.map +1 -1
  818. package/lib/input/input.js +8 -12
  819. package/lib/input/style/index.d.ts +4 -0
  820. package/lib/input/style/index.d.ts.map +1 -0
  821. package/lib/input/style/index.js +5 -0
  822. package/lib/input/style/index.js.map +1 -0
  823. package/lib/input/style/index.less +57 -0
  824. package/lib/input/style/mixin.less +449 -0
  825. package/lib/input/style/search-input.less +34 -0
  826. package/lib/input-number/index.d.ts +1 -1
  827. package/lib/input-number/index.d.ts.map +1 -1
  828. package/lib/input-number/index.js +5 -6
  829. package/lib/input-number/index.js.map +1 -1
  830. package/lib/input-number/style/index.d.ts +3 -0
  831. package/lib/input-number/style/index.d.ts.map +1 -0
  832. package/lib/input-number/style/index.js +4 -0
  833. package/lib/input-number/style/index.js.map +1 -0
  834. package/lib/input-number/style/index.less +179 -0
  835. package/lib/label/index.d.ts +2 -2
  836. package/lib/label/index.d.ts.map +1 -1
  837. package/lib/label/index.js +10 -17
  838. package/lib/layout/index.d.ts +1 -1
  839. package/lib/layout/index.d.ts.map +1 -1
  840. package/lib/layout/index.js +5 -6
  841. package/lib/layout/index.js.map +1 -1
  842. package/lib/layout/style/index.d.ts +3 -0
  843. package/lib/layout/style/index.d.ts.map +1 -0
  844. package/lib/layout/style/index.js +4 -0
  845. package/lib/layout/style/index.js.map +1 -0
  846. package/lib/layout/style/index.less +124 -0
  847. package/lib/layout/style/light.less +15 -0
  848. package/lib/list/index.d.ts +1 -1
  849. package/lib/list/index.d.ts.map +1 -1
  850. package/lib/list/index.js +5 -6
  851. package/lib/list/index.js.map +1 -1
  852. package/lib/list/style/bordered.less +41 -0
  853. package/lib/list/style/index.d.ts +7 -0
  854. package/lib/list/style/index.d.ts.map +1 -0
  855. package/lib/list/style/index.js +8 -0
  856. package/lib/list/style/index.js.map +1 -0
  857. package/lib/list/style/index.less +234 -0
  858. package/lib/list/style/responsive.less +40 -0
  859. package/lib/loading-button/index.d.ts +2 -1
  860. package/lib/loading-button/index.d.ts.map +1 -1
  861. package/lib/loading-button/index.js +8 -11
  862. package/lib/locale/default.js +1 -2
  863. package/lib/locale/en_US.js +1 -2
  864. package/lib/locale/zh_CN.js +1 -2
  865. package/lib/locale-provider/index.d.ts +1 -1
  866. package/lib/locale-provider/index.d.ts.map +1 -1
  867. package/lib/locale-provider/index.js +5 -6
  868. package/lib/locale-provider/index.js.map +1 -1
  869. package/lib/locale-provider/style/index.d.ts +2 -0
  870. package/lib/locale-provider/style/index.d.ts.map +1 -0
  871. package/lib/locale-provider/style/index.js +3 -0
  872. package/lib/locale-provider/style/index.js.map +1 -0
  873. package/lib/locale-provider/style/index.less +2 -0
  874. package/lib/mentions/index.d.ts +1 -1
  875. package/lib/mentions/index.d.ts.map +1 -1
  876. package/lib/mentions/index.js +5 -6
  877. package/lib/mentions/index.js.map +1 -1
  878. package/lib/mentions/style/index.d.ts +4 -0
  879. package/lib/mentions/style/index.d.ts.map +1 -0
  880. package/lib/mentions/style/index.js +5 -0
  881. package/lib/mentions/style/index.js.map +1 -0
  882. package/lib/mentions/style/index.less +164 -0
  883. package/lib/menu/index.d.ts +1 -1
  884. package/lib/menu/index.d.ts.map +1 -1
  885. package/lib/menu/index.js +5 -6
  886. package/lib/menu/index.js.map +1 -1
  887. package/lib/menu/style/dark.less +139 -0
  888. package/lib/menu/style/index.d.ts +4 -0
  889. package/lib/menu/style/index.d.ts.map +1 -0
  890. package/lib/menu/style/index.js +5 -0
  891. package/lib/menu/style/index.js.map +1 -0
  892. package/lib/menu/style/index.less +515 -0
  893. package/lib/message/index.d.ts +1 -1
  894. package/lib/message/index.d.ts.map +1 -1
  895. package/lib/message/index.js +5 -6
  896. package/lib/message/index.js.map +1 -1
  897. package/lib/message/style/index.d.ts +3 -0
  898. package/lib/message/style/index.d.ts.map +1 -0
  899. package/lib/message/style/index.js +4 -0
  900. package/lib/message/style/index.js.map +1 -0
  901. package/lib/message/style/index.less +75 -0
  902. package/lib/modal/index.d.ts +1 -1
  903. package/lib/modal/index.d.ts.map +1 -1
  904. package/lib/modal/index.js +2 -3
  905. package/lib/modal/index.js.map +1 -1
  906. package/lib/modal/modal.d.ts +1 -1
  907. package/lib/modal/modal.d.ts.map +1 -1
  908. package/lib/modal/modal.js +56 -17
  909. package/lib/modal/modal.js.map +1 -1
  910. package/lib/modal/modal.less +13 -32
  911. package/lib/modal/style/confirm.less +96 -0
  912. package/lib/modal/style/index.d.ts +4 -0
  913. package/lib/modal/style/index.d.ts.map +1 -0
  914. package/lib/modal/style/index.js +5 -0
  915. package/lib/modal/style/index.js.map +1 -0
  916. package/lib/modal/style/index.less +4 -0
  917. package/lib/modal/style/modal.less +165 -0
  918. package/lib/notification/index.d.ts +1 -1
  919. package/lib/notification/index.d.ts.map +1 -1
  920. package/lib/notification/index.js +5 -6
  921. package/lib/notification/index.js.map +1 -1
  922. package/lib/notification/style/index.d.ts +3 -0
  923. package/lib/notification/style/index.d.ts.map +1 -0
  924. package/lib/notification/style/index.js +4 -0
  925. package/lib/notification/style/index.js.map +1 -0
  926. package/lib/notification/style/index.less +199 -0
  927. package/lib/page/Box.d.ts +2 -1
  928. package/lib/page/Box.d.ts.map +1 -1
  929. package/lib/page/Box.js +2 -5
  930. package/lib/page/index.d.ts +2 -1
  931. package/lib/page/index.d.ts.map +1 -1
  932. package/lib/page/index.js +7 -12
  933. package/lib/page/utils.js +4 -7
  934. package/lib/page-header/index.d.ts +1 -1
  935. package/lib/page-header/index.d.ts.map +1 -1
  936. package/lib/page-header/index.js +5 -6
  937. package/lib/page-header/index.js.map +1 -1
  938. package/lib/page-header/style/index.d.ts +4 -0
  939. package/lib/page-header/style/index.d.ts.map +1 -0
  940. package/lib/page-header/style/index.js +5 -0
  941. package/lib/page-header/style/index.js.map +1 -0
  942. package/lib/page-header/style/index.less +119 -0
  943. package/lib/pagination/index.d.ts +1 -1
  944. package/lib/pagination/index.d.ts.map +1 -1
  945. package/lib/pagination/index.js +5 -6
  946. package/lib/pagination/index.js.map +1 -1
  947. package/lib/pagination/style/index.d.ts +4 -0
  948. package/lib/pagination/style/index.d.ts.map +1 -0
  949. package/lib/pagination/style/index.js +5 -0
  950. package/lib/pagination/style/index.js.map +1 -0
  951. package/lib/pagination/style/index.less +400 -0
  952. package/lib/popconfirm/index.d.ts +1 -1
  953. package/lib/popconfirm/index.d.ts.map +1 -1
  954. package/lib/popconfirm/index.js +5 -6
  955. package/lib/popconfirm/index.js.map +1 -1
  956. package/lib/popconfirm/style/index.d.ts +4 -0
  957. package/lib/popconfirm/style/index.d.ts.map +1 -0
  958. package/lib/popconfirm/style/index.js +5 -0
  959. package/lib/popconfirm/style/index.js.map +1 -0
  960. package/lib/popover/index.d.ts +1 -1
  961. package/lib/popover/index.d.ts.map +1 -1
  962. package/lib/popover/index.js +5 -6
  963. package/lib/popover/index.js.map +1 -1
  964. package/lib/popover/style/index.d.ts +3 -0
  965. package/lib/popover/style/index.d.ts.map +1 -0
  966. package/lib/popover/style/index.js +4 -0
  967. package/lib/popover/style/index.js.map +1 -0
  968. package/lib/popover/style/index.less +205 -0
  969. package/lib/prev-locale.js +6 -11
  970. package/lib/preview-text/index.js +5 -7
  971. package/lib/progress/index.d.ts +1 -1
  972. package/lib/progress/index.d.ts.map +1 -1
  973. package/lib/progress/index.js +5 -6
  974. package/lib/progress/index.js.map +1 -1
  975. package/lib/progress/style/index.d.ts +3 -0
  976. package/lib/progress/style/index.d.ts.map +1 -0
  977. package/lib/progress/style/index.js +4 -0
  978. package/lib/progress/style/index.js.map +1 -0
  979. package/lib/progress/style/index.less +182 -0
  980. package/lib/query-form/Field/Checkbox.d.ts +2 -1
  981. package/lib/query-form/Field/Checkbox.d.ts.map +1 -1
  982. package/lib/query-form/Field/Checkbox.js +3 -6
  983. package/lib/query-form/Field/Select.d.ts +2 -1
  984. package/lib/query-form/Field/Select.d.ts.map +1 -1
  985. package/lib/query-form/Field/Select.js +10 -13
  986. package/lib/query-form/Field/SelectInput.d.ts +2 -1
  987. package/lib/query-form/Field/SelectInput.d.ts.map +1 -1
  988. package/lib/query-form/Field/SelectInput.js +10 -13
  989. package/lib/query-form/Field/fieldsMap.js +4 -7
  990. package/lib/query-form/Field/index.d.ts +1 -1
  991. package/lib/query-form/Field/index.d.ts.map +1 -1
  992. package/lib/query-form/Field/index.js +19 -24
  993. package/lib/query-form/createActions.js +2 -3
  994. package/lib/query-form/index.d.ts +1 -1
  995. package/lib/query-form/index.d.ts.map +1 -1
  996. package/lib/query-form/index.js +22 -25
  997. package/lib/query-list-scene/List.d.ts +1 -1
  998. package/lib/query-list-scene/List.d.ts.map +1 -1
  999. package/lib/query-list-scene/List.js +24 -29
  1000. package/lib/query-list-scene/QueryForm.d.ts +1 -1
  1001. package/lib/query-list-scene/QueryForm.d.ts.map +1 -1
  1002. package/lib/query-list-scene/QueryForm.js +17 -22
  1003. package/lib/query-list-scene/QueryListScene.d.ts +1 -1
  1004. package/lib/query-list-scene/QueryListScene.d.ts.map +1 -1
  1005. package/lib/query-list-scene/QueryListScene.js +14 -18
  1006. package/lib/query-list-scene/Title.d.ts +2 -1
  1007. package/lib/query-list-scene/Title.d.ts.map +1 -1
  1008. package/lib/query-list-scene/Title.js +2 -3
  1009. package/lib/query-list-scene/Toolbar.d.ts +2 -1
  1010. package/lib/query-list-scene/Toolbar.d.ts.map +1 -1
  1011. package/lib/query-list-scene/Toolbar.js +6 -9
  1012. package/lib/query-list-scene/createActions.js +2 -3
  1013. package/lib/query-list-scene/index.js +4 -8
  1014. package/lib/radio/index.d.ts +1 -1
  1015. package/lib/radio/index.d.ts.map +1 -1
  1016. package/lib/radio/index.js +5 -6
  1017. package/lib/radio/index.js.map +1 -1
  1018. package/lib/radio/radio-group.js +1 -2
  1019. package/lib/radio/style/index.d.ts +3 -0
  1020. package/lib/radio/style/index.d.ts.map +1 -0
  1021. package/lib/radio/style/index.js +4 -0
  1022. package/lib/radio/style/index.js.map +1 -0
  1023. package/lib/radio/style/index.less +327 -0
  1024. package/lib/rate/index.d.ts +1 -1
  1025. package/lib/rate/index.d.ts.map +1 -1
  1026. package/lib/rate/index.js +5 -6
  1027. package/lib/rate/index.js.map +1 -1
  1028. package/lib/rate/style/index.d.ts +4 -0
  1029. package/lib/rate/style/index.d.ts.map +1 -0
  1030. package/lib/rate/style/index.js +5 -0
  1031. package/lib/rate/style/index.js.map +1 -0
  1032. package/lib/rate/style/index.less +85 -0
  1033. package/lib/render-empty/index.js +1 -2
  1034. package/lib/render-empty/render-empty.js +2 -3
  1035. package/lib/result/index.d.ts +1 -1
  1036. package/lib/result/index.d.ts.map +1 -1
  1037. package/lib/result/index.js +5 -6
  1038. package/lib/result/index.js.map +1 -1
  1039. package/lib/result/style/index.d.ts +3 -0
  1040. package/lib/result/style/index.d.ts.map +1 -0
  1041. package/lib/result/style/index.js +4 -0
  1042. package/lib/result/style/index.js.map +1 -0
  1043. package/lib/result/style/index.less +71 -0
  1044. package/lib/row/index.d.ts +1 -1
  1045. package/lib/row/index.d.ts.map +1 -1
  1046. package/lib/row/index.js +5 -6
  1047. package/lib/row/index.js.map +1 -1
  1048. package/lib/row/style/index.d.ts +3 -0
  1049. package/lib/row/style/index.d.ts.map +1 -0
  1050. package/lib/row/style/index.js +4 -0
  1051. package/lib/row/style/index.js.map +1 -0
  1052. package/lib/segmented/index.d.ts +1 -1
  1053. package/lib/segmented/index.d.ts.map +1 -1
  1054. package/lib/segmented/index.js +8 -12
  1055. package/lib/select/index.d.ts +1 -1
  1056. package/lib/select/index.d.ts.map +1 -1
  1057. package/lib/select/index.js +2 -3
  1058. package/lib/select/index.js.map +1 -1
  1059. package/lib/select/select.js +8 -12
  1060. package/lib/select/style/index.d.ts +4 -0
  1061. package/lib/select/style/index.d.ts.map +1 -0
  1062. package/lib/select/style/index.js +5 -0
  1063. package/lib/select/style/index.js.map +1 -0
  1064. package/lib/select/style/index.less +604 -0
  1065. package/lib/skeleton/index.d.ts +1 -1
  1066. package/lib/skeleton/index.d.ts.map +1 -1
  1067. package/lib/skeleton/index.js +5 -6
  1068. package/lib/skeleton/index.js.map +1 -1
  1069. package/lib/skeleton/style/index.d.ts +3 -0
  1070. package/lib/skeleton/style/index.d.ts.map +1 -0
  1071. package/lib/skeleton/style/index.js +4 -0
  1072. package/lib/skeleton/style/index.js.map +1 -0
  1073. package/lib/skeleton/style/index.less +130 -0
  1074. package/lib/slider/index.d.ts +1 -1
  1075. package/lib/slider/index.d.ts.map +1 -1
  1076. package/lib/slider/index.js +5 -6
  1077. package/lib/slider/index.js.map +1 -1
  1078. package/lib/slider/style/index.d.ts +4 -0
  1079. package/lib/slider/style/index.d.ts.map +1 -0
  1080. package/lib/slider/style/index.js +5 -0
  1081. package/lib/slider/style/index.js.map +1 -0
  1082. package/lib/slider/style/index.less +197 -0
  1083. package/lib/spin/index.d.ts +1 -1
  1084. package/lib/spin/index.d.ts.map +1 -1
  1085. package/lib/spin/index.js +5 -6
  1086. package/lib/spin/index.js.map +1 -1
  1087. package/lib/spin/style/index.d.ts +3 -0
  1088. package/lib/spin/style/index.d.ts.map +1 -0
  1089. package/lib/spin/style/index.js +4 -0
  1090. package/lib/spin/style/index.js.map +1 -0
  1091. package/lib/spin/style/index.less +214 -0
  1092. package/lib/statistic/index.d.ts +1 -1
  1093. package/lib/statistic/index.d.ts.map +1 -1
  1094. package/lib/statistic/index.js +5 -6
  1095. package/lib/statistic/index.js.map +1 -1
  1096. package/lib/statistic/style/index.d.ts +3 -0
  1097. package/lib/statistic/style/index.d.ts.map +1 -0
  1098. package/lib/statistic/style/index.js +4 -0
  1099. package/lib/statistic/style/index.js.map +1 -0
  1100. package/lib/statistic/style/index.less +40 -0
  1101. package/lib/steps/index.d.ts +2 -1
  1102. package/lib/steps/index.d.ts.map +1 -1
  1103. package/lib/steps/index.js +3 -3
  1104. package/lib/steps/index.js.map +1 -1
  1105. package/lib/steps/stepStyle/index.less +12 -0
  1106. package/lib/steps/stepStyle/nav.less +281 -0
  1107. package/lib/steps/stepStyle/small.less +5 -0
  1108. package/lib/steps/steps.d.ts +2 -2
  1109. package/lib/steps/steps.d.ts.map +1 -1
  1110. package/lib/steps/steps.js +9 -12
  1111. package/lib/steps/steps.js.map +1 -1
  1112. package/lib/steps/style/compatibility.less +50 -0
  1113. package/lib/steps/style/custom-icon.less +31 -0
  1114. package/lib/steps/style/index.d.ts +3 -0
  1115. package/lib/steps/style/index.d.ts.map +1 -0
  1116. package/lib/steps/style/index.js +4 -0
  1117. package/lib/steps/style/index.js.map +1 -0
  1118. package/lib/steps/style/index.less +241 -6
  1119. package/lib/steps/style/label-placement.less +38 -0
  1120. package/lib/steps/style/nav.less +96 -247
  1121. package/lib/steps/style/progress-dot.less +80 -0
  1122. package/lib/steps/style/small.less +43 -3
  1123. package/lib/steps/style/vertical.less +74 -0
  1124. package/lib/style/color/bezierEasing.less +110 -0
  1125. package/lib/style/color/colorPalette.less +75 -0
  1126. package/lib/style/color/colors.less +149 -0
  1127. package/lib/style/color/tinyColor.less +1184 -0
  1128. package/lib/style/core/base.less +510 -0
  1129. package/lib/style/core/iconfont.less +19 -0
  1130. package/lib/style/core/index.less +4 -0
  1131. package/lib/style/core/motion/fade.less +31 -0
  1132. package/lib/style/core/motion/move.less +120 -0
  1133. package/lib/style/core/motion/other.less +40 -0
  1134. package/lib/style/core/motion/slide.less +120 -0
  1135. package/lib/style/core/motion/swing.less +34 -0
  1136. package/lib/style/core/motion/zoom.less +162 -0
  1137. package/lib/style/core/motion.less +20 -0
  1138. package/lib/style/index.d.ts +2 -0
  1139. package/lib/style/index.d.ts.map +1 -0
  1140. package/lib/style/index.js +3 -0
  1141. package/lib/style/index.js.map +1 -0
  1142. package/lib/style/index.less +2 -0
  1143. package/lib/style/mixins/clearfix.less +13 -0
  1144. package/lib/style/mixins/compatibility.less +22 -0
  1145. package/lib/style/mixins/iconfont.less +43 -0
  1146. package/lib/style/mixins/index.less +10 -0
  1147. package/lib/style/mixins/motion.less +35 -0
  1148. package/lib/style/mixins/operation-unit.less +18 -0
  1149. package/lib/style/mixins/reset.less +13 -0
  1150. package/lib/style/mixins/size.less +10 -0
  1151. package/lib/style/mixins/typography.less +49 -0
  1152. package/lib/style/themes/default.less +699 -0
  1153. package/lib/style/themes/index.less +1 -0
  1154. package/lib/style/v2-compatible-reset.d.ts +2 -0
  1155. package/lib/style/v2-compatible-reset.d.ts.map +1 -0
  1156. package/lib/style/v2-compatible-reset.js +3 -0
  1157. package/lib/style/v2-compatible-reset.js.map +1 -0
  1158. package/lib/style/v2-compatible-reset.less +51 -0
  1159. package/lib/svg-components/illustration-403.d.ts +1 -1
  1160. package/lib/svg-components/illustration-403.js +4 -5
  1161. package/lib/svg-components/illustration-404.d.ts +1 -1
  1162. package/lib/svg-components/illustration-404.js +4 -5
  1163. package/lib/svg-components/illustration-500.d.ts +1 -1
  1164. package/lib/svg-components/illustration-500.js +4 -5
  1165. package/lib/svg-components/illustration-empty.d.ts +1 -1
  1166. package/lib/svg-components/illustration-empty.js +4 -5
  1167. package/lib/svg-components/illustration-failure.d.ts +1 -1
  1168. package/lib/svg-components/illustration-failure.js +4 -5
  1169. package/lib/svg-components/illustration-no-access.d.ts +1 -1
  1170. package/lib/svg-components/illustration-no-access.js +4 -5
  1171. package/lib/svg-components/illustration-no-chart.d.ts +1 -1
  1172. package/lib/svg-components/illustration-no-chart.js +4 -5
  1173. package/lib/svg-components/illustration-no-result.d.ts +1 -1
  1174. package/lib/svg-components/illustration-no-result.js +4 -5
  1175. package/lib/svg-components/illustration-offline.d.ts +1 -1
  1176. package/lib/svg-components/illustration-offline.js +4 -5
  1177. package/lib/svg-components/illustration-success.d.ts +1 -1
  1178. package/lib/svg-components/illustration-success.js +4 -5
  1179. package/lib/switch/index.js +4 -5
  1180. package/lib/switch/style/index.d.ts +3 -0
  1181. package/lib/switch/style/index.d.ts.map +1 -0
  1182. package/lib/switch/style/index.js +4 -0
  1183. package/lib/switch/style/index.js.map +1 -0
  1184. package/lib/switch/style/index.less +178 -0
  1185. package/lib/switch/switch.d.ts +1 -1
  1186. package/lib/switch/switch.d.ts.map +1 -1
  1187. package/lib/switch/switch.js +6 -8
  1188. package/lib/switch/switch.js.map +1 -1
  1189. package/lib/table/assets/image-loading-background.d.ts +1 -1
  1190. package/lib/table/assets/image-loading-background.js +4 -5
  1191. package/lib/table/assets/image-loading.d.ts +1 -1
  1192. package/lib/table/assets/image-loading.js +4 -5
  1193. package/lib/table/constants.js +1 -2
  1194. package/lib/table/context.js +1 -2
  1195. package/lib/table/hooks/use-column-setting.js +4 -5
  1196. package/lib/table/index.d.ts +1 -1
  1197. package/lib/table/index.d.ts.map +1 -1
  1198. package/lib/table/index.js +2 -3
  1199. package/lib/table/index.js.map +1 -1
  1200. package/lib/table/style/index.d.ts +9 -0
  1201. package/lib/table/style/index.d.ts.map +1 -0
  1202. package/lib/table/style/index.js +10 -0
  1203. package/lib/table/style/index.js.map +1 -0
  1204. package/lib/table/style/index.less +800 -0
  1205. package/lib/table/style/size.less +179 -0
  1206. package/lib/table/table.d.ts +2 -2
  1207. package/lib/table/table.d.ts.map +1 -1
  1208. package/lib/table/table.js +10 -15
  1209. package/lib/table/table.stories.js +5 -10
  1210. package/lib/table/total-shower.d.ts +2 -2
  1211. package/lib/table/total-shower.d.ts.map +1 -1
  1212. package/lib/table/total-shower.js +2 -3
  1213. package/lib/tabs/index.d.ts +1 -1
  1214. package/lib/tabs/index.d.ts.map +1 -1
  1215. package/lib/tabs/index.js +2 -3
  1216. package/lib/tabs/index.js.map +1 -1
  1217. package/lib/tabs/style/card-style.less +186 -0
  1218. package/lib/tabs/style/index.d.ts +3 -0
  1219. package/lib/tabs/style/index.d.ts.map +1 -0
  1220. package/lib/tabs/style/index.js +4 -0
  1221. package/lib/tabs/style/index.js.map +1 -0
  1222. package/lib/tabs/style/index.less +436 -0
  1223. package/lib/tabs/tabs.js +5 -8
  1224. package/lib/tag/index.d.ts +1 -1
  1225. package/lib/tag/index.d.ts.map +1 -1
  1226. package/lib/tag/index.js +5 -6
  1227. package/lib/tag/index.js.map +1 -1
  1228. package/lib/tag/style/index.d.ts +3 -0
  1229. package/lib/tag/style/index.d.ts.map +1 -0
  1230. package/lib/tag/style/index.js +4 -0
  1231. package/lib/tag/style/index.js.map +1 -0
  1232. package/lib/tag/style/index.less +106 -0
  1233. package/lib/time-picker/index.d.ts +1 -1
  1234. package/lib/time-picker/index.d.ts.map +1 -1
  1235. package/lib/time-picker/index.js +5 -6
  1236. package/lib/time-picker/index.js.map +1 -1
  1237. package/lib/time-picker/style/index.d.ts +3 -0
  1238. package/lib/time-picker/style/index.d.ts.map +1 -0
  1239. package/lib/time-picker/style/index.js +4 -0
  1240. package/lib/time-picker/style/index.js.map +1 -0
  1241. package/lib/time-picker/style/index.less +246 -0
  1242. package/lib/timeline/index.d.ts +1 -1
  1243. package/lib/timeline/index.d.ts.map +1 -1
  1244. package/lib/timeline/index.js +5 -6
  1245. package/lib/timeline/index.js.map +1 -1
  1246. package/lib/timeline/style/index.d.ts +3 -0
  1247. package/lib/timeline/style/index.d.ts.map +1 -0
  1248. package/lib/timeline/style/index.js +4 -0
  1249. package/lib/timeline/style/index.js.map +1 -0
  1250. package/lib/timeline/style/index.less +167 -0
  1251. package/lib/title/index.d.ts +1 -1
  1252. package/lib/title/index.js +3 -6
  1253. package/lib/tntd-action/index.d.ts +4 -0
  1254. package/lib/tntd-action/index.d.ts.map +1 -0
  1255. package/lib/tntd-action/index.js +12 -0
  1256. package/lib/tntd-action/index.js.map +1 -0
  1257. package/lib/tntd-cascader/AntdCascader/component/DisabledContext.js +5 -7
  1258. package/lib/tntd-cascader/AntdCascader/component/FormItemInputContext.js +4 -5
  1259. package/lib/tntd-cascader/AntdCascader/component/SizeContext.js +4 -5
  1260. package/lib/tntd-cascader/AntdCascader/component/context.js +3 -6
  1261. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts +2 -2
  1262. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts.map +1 -1
  1263. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +4 -5
  1264. package/lib/tntd-cascader/AntdCascader/component/getIcons.d.ts +2 -2
  1265. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +3 -3
  1266. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +9 -12
  1267. package/lib/tntd-cascader/AntdCascader/config/utils.js +8 -12
  1268. package/lib/tntd-cascader/AntdCascader/config/warning.js +4 -5
  1269. package/lib/tntd-cascader/AntdCascader/index.js +13 -16
  1270. package/lib/tntd-cascader/AntdCascader/interface.js +1 -2
  1271. package/lib/tntd-cascader/rc-cascader/Cascader.js +7 -10
  1272. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts +1 -1
  1273. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts.map +1 -1
  1274. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +6 -7
  1275. package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts +1 -1
  1276. package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts.map +1 -1
  1277. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +8 -10
  1278. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +14 -17
  1279. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +8 -10
  1280. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +11 -13
  1281. package/lib/tntd-cascader/rc-cascader/context.js +4 -5
  1282. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +6 -7
  1283. package/lib/tntd-cascader/rc-cascader/hooks/useEntities.js +5 -6
  1284. package/lib/tntd-cascader/rc-cascader/hooks/useMissingValues.js +5 -6
  1285. package/lib/tntd-cascader/rc-cascader/hooks/useRefFunc.js +3 -3
  1286. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +3 -3
  1287. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +10 -13
  1288. package/lib/tntd-cascader/rc-cascader/index.js +1 -2
  1289. package/lib/tntd-cascader/rc-cascader/utils/commonUtil.js +3 -6
  1290. package/lib/tntd-cascader/rc-cascader/utils/treeUtil.js +2 -2
  1291. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +1 -2
  1292. package/lib/tntd-form/ErrorList.d.ts +1 -1
  1293. package/lib/tntd-form/ErrorList.d.ts.map +1 -1
  1294. package/lib/tntd-form/ErrorList.js +6 -6
  1295. package/lib/tntd-form/Form.d.ts +1 -1
  1296. package/lib/tntd-form/Form.d.ts.map +1 -1
  1297. package/lib/tntd-form/Form.js +15 -18
  1298. package/lib/tntd-form/Form.js.map +1 -1
  1299. package/lib/tntd-form/FormItem/ItemHolder.d.ts +1 -1
  1300. package/lib/tntd-form/FormItem/ItemHolder.d.ts.map +1 -1
  1301. package/lib/tntd-form/FormItem/ItemHolder.js +11 -14
  1302. package/lib/tntd-form/FormItem/ItemHolder.js.map +1 -1
  1303. package/lib/tntd-form/FormItem/index.js +14 -14
  1304. package/lib/tntd-form/FormItemInput.d.ts +1 -1
  1305. package/lib/tntd-form/FormItemInput.d.ts.map +1 -1
  1306. package/lib/tntd-form/FormItemInput.js +5 -6
  1307. package/lib/tntd-form/FormItemInput.js.map +1 -1
  1308. package/lib/tntd-form/FormItemLabel.d.ts +1 -1
  1309. package/lib/tntd-form/FormItemLabel.d.ts.map +1 -1
  1310. package/lib/tntd-form/FormItemLabel.js +9 -13
  1311. package/lib/tntd-form/FormItemLabel.js.map +1 -1
  1312. package/lib/tntd-form/FormList.js +5 -8
  1313. package/lib/tntd-form/context.d.ts +1 -1
  1314. package/lib/tntd-form/context.d.ts.map +1 -1
  1315. package/lib/tntd-form/context.js +14 -19
  1316. package/lib/tntd-form/context.js.map +1 -1
  1317. package/lib/tntd-form/hooks/useDebounce.js +5 -5
  1318. package/lib/tntd-form/hooks/useForm.js +5 -5
  1319. package/lib/tntd-form/hooks/useFormItemStatus.js +1 -2
  1320. package/lib/tntd-form/hooks/useFrameState.js +10 -9
  1321. package/lib/tntd-form/hooks/useItemRef.js +3 -3
  1322. package/lib/tntd-form/index.js +4 -5
  1323. package/lib/tntd-form/style/index.d.ts +1 -1
  1324. package/lib/tntd-form/style/index.d.ts.map +1 -1
  1325. package/lib/tntd-form/style/index.js +1 -1
  1326. package/lib/tntd-form/style/index.js.map +1 -1
  1327. package/lib/tntd-form/style/index.less +1 -1
  1328. package/lib/tntd-form/style/rtl.less +3 -3
  1329. package/lib/tntd-form/validateMessagesContext.js +1 -2
  1330. package/lib/tntd-icon/index.d.ts +2 -1
  1331. package/lib/tntd-icon/index.d.ts.map +1 -1
  1332. package/lib/tntd-icon/index.js +3 -6
  1333. package/lib/tntd-layout/ActionsContext.js +1 -2
  1334. package/lib/tntd-layout/AppList.js +7 -8
  1335. package/lib/tntd-layout/Application.d.ts +2 -1
  1336. package/lib/tntd-layout/Application.d.ts.map +1 -1
  1337. package/lib/tntd-layout/Application.js +7 -8
  1338. package/lib/tntd-layout/Avatar.d.ts +2 -1
  1339. package/lib/tntd-layout/Avatar.d.ts.map +1 -1
  1340. package/lib/tntd-layout/Avatar.js +5 -6
  1341. package/lib/tntd-layout/CompatibleLanguage.d.ts +2 -1
  1342. package/lib/tntd-layout/CompatibleLanguage.d.ts.map +1 -1
  1343. package/lib/tntd-layout/CompatibleLanguage.js +7 -8
  1344. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts +2 -1
  1345. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts.map +1 -1
  1346. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +5 -6
  1347. package/lib/tntd-layout/EnterpriseLayout/Language.js +7 -8
  1348. package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts +2 -1
  1349. package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts.map +1 -1
  1350. package/lib/tntd-layout/EnterpriseLayout/Theme.js +7 -8
  1351. package/lib/tntd-layout/EnterpriseLayout/index.js +2 -3
  1352. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts +2 -1
  1353. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts.map +1 -1
  1354. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +7 -8
  1355. package/lib/tntd-layout/GlobalNavigation/index.js +7 -8
  1356. package/lib/tntd-layout/Header.js +9 -6
  1357. package/lib/tntd-layout/HeaderActions.js +18 -21
  1358. package/lib/tntd-layout/HeaderNavs.js +8 -12
  1359. package/lib/tntd-layout/HeaderTabs.js +10 -14
  1360. package/lib/tntd-layout/Iconfont.d.ts +2 -1
  1361. package/lib/tntd-layout/Iconfont.d.ts.map +1 -1
  1362. package/lib/tntd-layout/Iconfont.js +2 -3
  1363. package/lib/tntd-layout/Language.js +7 -8
  1364. package/lib/tntd-layout/Layout.js +7 -8
  1365. package/lib/tntd-layout/Logo.js +9 -6
  1366. package/lib/tntd-layout/OrgAppList.js +7 -8
  1367. package/lib/tntd-layout/SideMenu.js +8 -11
  1368. package/lib/tntd-layout/Theme.d.ts +2 -1
  1369. package/lib/tntd-layout/Theme.d.ts.map +1 -1
  1370. package/lib/tntd-layout/Theme.js +7 -8
  1371. package/lib/tntd-layout/createActions.js +2 -3
  1372. package/lib/tntd-layout/images/index.js +4 -7
  1373. package/lib/tntd-layout/index.d.ts +3 -2
  1374. package/lib/tntd-layout/index.d.ts.map +1 -1
  1375. package/lib/tntd-layout/index.js +6 -11
  1376. package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts +2 -1
  1377. package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts.map +1 -1
  1378. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +7 -8
  1379. package/lib/tntd-layout/paaslayout/Header.d.ts +2 -1
  1380. package/lib/tntd-layout/paaslayout/Header.d.ts.map +1 -1
  1381. package/lib/tntd-layout/paaslayout/Header.js +9 -6
  1382. package/lib/tntd-layout/paaslayout/Logo.d.ts +2 -1
  1383. package/lib/tntd-layout/paaslayout/Logo.d.ts.map +1 -1
  1384. package/lib/tntd-layout/paaslayout/Logo.js +6 -3
  1385. package/lib/tntd-layout/paaslayout/SideMenu.d.ts +2 -1
  1386. package/lib/tntd-layout/paaslayout/SideMenu.d.ts.map +1 -1
  1387. package/lib/tntd-layout/paaslayout/SideMenu.js +7 -8
  1388. package/lib/tntd-layout/paaslayout/index.js +7 -8
  1389. package/lib/tntd-layout/storage.js +14 -27
  1390. package/lib/tntd-modal/index.d.ts +2 -1
  1391. package/lib/tntd-modal/index.d.ts.map +1 -1
  1392. package/lib/tntd-modal/index.js +11 -15
  1393. package/lib/tntd-rc-select/_util/DisabledContext.js +5 -7
  1394. package/lib/tntd-rc-select/_util/FormItemInputContext.js +4 -5
  1395. package/lib/tntd-rc-select/_util/PurePanel.d.ts +1 -1
  1396. package/lib/tntd-rc-select/_util/PurePanel.d.ts.map +1 -1
  1397. package/lib/tntd-rc-select/_util/PurePanel.js +5 -5
  1398. package/lib/tntd-rc-select/_util/SizeContext.js +4 -5
  1399. package/lib/tntd-rc-select/_util/context.js +3 -6
  1400. package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts +2 -2
  1401. package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts.map +1 -1
  1402. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +4 -5
  1403. package/lib/tntd-rc-select/_util/getIcons.d.ts +2 -2
  1404. package/lib/tntd-rc-select/_util/getIcons.js +3 -3
  1405. package/lib/tntd-rc-select/_util/interface.js +1 -2
  1406. package/lib/tntd-rc-select/_util/motion.js +3 -6
  1407. package/lib/tntd-rc-select/_util/type.js +3 -5
  1408. package/lib/tntd-rc-select/_util/useCompactItemContext.js +9 -12
  1409. package/lib/tntd-rc-select/_util/warning.js +4 -5
  1410. package/lib/tntd-rc-select/index.js +11 -14
  1411. package/lib/tntd-rc-select/style/index.less +844 -740
  1412. package/lib/tntd-select/DropDownWrap.js +16 -19
  1413. package/lib/tntd-select/index.d.ts +1 -1
  1414. package/lib/tntd-select/index.d.ts.map +1 -1
  1415. package/lib/tntd-select/index.js +44 -47
  1416. package/lib/tooltip/index.d.ts +1 -1
  1417. package/lib/tooltip/index.d.ts.map +1 -1
  1418. package/lib/tooltip/index.js +5 -6
  1419. package/lib/tooltip/index.js.map +1 -1
  1420. package/lib/tooltip/style/index.d.ts +3 -0
  1421. package/lib/tooltip/style/index.d.ts.map +1 -0
  1422. package/lib/tooltip/style/index.js +4 -0
  1423. package/lib/tooltip/style/index.js.map +1 -0
  1424. package/lib/tooltip/style/index.less +187 -0
  1425. package/lib/transfer/index.d.ts +1 -1
  1426. package/lib/transfer/index.d.ts.map +1 -1
  1427. package/lib/transfer/index.js +5 -6
  1428. package/lib/transfer/index.js.map +1 -1
  1429. package/lib/transfer/style/customize.less +62 -0
  1430. package/lib/transfer/style/index.d.ts +7 -0
  1431. package/lib/transfer/style/index.d.ts.map +1 -0
  1432. package/lib/transfer/style/index.js +8 -0
  1433. package/lib/transfer/style/index.js.map +1 -0
  1434. package/lib/transfer/style/index.less +191 -0
  1435. package/lib/tree/index.d.ts +1 -1
  1436. package/lib/tree/index.d.ts.map +1 -1
  1437. package/lib/tree/index.js +5 -6
  1438. package/lib/tree/index.js.map +1 -1
  1439. package/lib/tree/style/directory.less +95 -0
  1440. package/lib/tree/style/index.d.ts +3 -0
  1441. package/lib/tree/style/index.d.ts.map +1 -0
  1442. package/lib/tree/style/index.js +4 -0
  1443. package/lib/tree/style/index.js.map +1 -0
  1444. package/lib/tree/style/index.less +280 -0
  1445. package/lib/tree/style/mixin.less +29 -0
  1446. package/lib/tree-select/index.d.ts +1 -1
  1447. package/lib/tree-select/index.d.ts.map +1 -1
  1448. package/lib/tree-select/index.js +6 -8
  1449. package/lib/tree-select/index.js.map +1 -1
  1450. package/lib/tree-select/style/index.d.ts +5 -0
  1451. package/lib/tree-select/style/index.d.ts.map +1 -0
  1452. package/lib/tree-select/style/index.js +6 -0
  1453. package/lib/tree-select/style/index.js.map +1 -0
  1454. package/lib/tree-select/style/index.less +191 -0
  1455. package/lib/typography/index.d.ts +1 -1
  1456. package/lib/typography/index.d.ts.map +1 -1
  1457. package/lib/typography/index.js +5 -6
  1458. package/lib/typography/index.js.map +1 -1
  1459. package/lib/typography/style/index.d.ts +5 -0
  1460. package/lib/typography/style/index.d.ts.map +1 -0
  1461. package/lib/typography/style/index.js +6 -0
  1462. package/lib/typography/style/index.js.map +1 -0
  1463. package/lib/typography/style/index.less +204 -0
  1464. package/lib/upload/index.d.ts +1 -1
  1465. package/lib/upload/index.d.ts.map +1 -1
  1466. package/lib/upload/index.js +5 -6
  1467. package/lib/upload/index.js.map +1 -1
  1468. package/lib/upload/style/index.d.ts +5 -0
  1469. package/lib/upload/style/index.d.ts.map +1 -0
  1470. package/lib/upload/style/index.js +6 -0
  1471. package/lib/upload/style/index.js.map +1 -0
  1472. package/lib/upload/style/index.less +542 -0
  1473. package/lib/utils/checkAuth.js +2 -4
  1474. package/lib/utils/findMenuInfoByPath.js +2 -4
  1475. package/lib/utils/index.js +10 -18
  1476. package/lib/utils/lang.js +6 -11
  1477. package/lib/version/index.d.ts +1 -1
  1478. package/lib/version/index.d.ts.map +1 -1
  1479. package/lib/version/index.js +5 -6
  1480. package/lib/version/index.js.map +1 -1
  1481. package/lib/version/style/index.d.ts +2 -0
  1482. package/lib/version/style/index.d.ts.map +1 -0
  1483. package/lib/version/style/index.js +3 -0
  1484. package/lib/version/style/index.js.map +1 -0
  1485. package/lib/water-mark/index.js +7 -9
  1486. package/package.json +1 -1
  1487. package/themes/common/css2.x.css +154 -0
  1488. package/themes/common/css3.x.css +154 -0
  1489. package/themes/common/index.less +2 -0
  1490. package/themes/default/colors.less +12 -4
  1491. package/themes/default/colorsVar.less +160 -0
  1492. package/themes/default/lessToCssVar.less +127 -0
  1493. package/themes/default/lessVars2.x.less +33 -0
  1494. package/themes/default/lessVars3.x.less +35 -0
  1495. package/themes/default/variables.less +31 -23
  1496. package/themes/default/variablesVar.less +673 -0
  1497. package/themes/utils/colorPalette.less +11 -0
  1498. package/es/grid/RowContext.js.map +0 -1
  1499. package/es/grid/col.js.map +0 -1
  1500. package/es/grid/hooks/useBreakpoint.js.map +0 -1
  1501. package/es/grid/row.js.map +0 -1
  1502. package/lib/grid/RowContext.d.ts.map +0 -1
  1503. package/lib/grid/RowContext.js.map +0 -1
  1504. package/lib/grid/col.d.ts.map +0 -1
  1505. package/lib/grid/col.js.map +0 -1
  1506. package/lib/grid/hooks/useBreakpoint.d.ts.map +0 -1
  1507. package/lib/grid/hooks/useBreakpoint.js.map +0 -1
  1508. package/lib/grid/row.d.ts.map +0 -1
  1509. /package/es/{grid → grid-v4}/RowContext.js +0 -0
  1510. /package/es/{grid → grid-v4}/col.js +0 -0
  1511. /package/es/{grid → grid-v4}/hooks/useBreakpoint.js +0 -0
  1512. /package/es/{grid → grid-v4}/row.js +0 -0
  1513. /package/es/{grid → grid-v4}/style/rtl.less +0 -0
  1514. /package/lib/{grid → grid-v4}/RowContext.d.ts +0 -0
  1515. /package/lib/{grid → grid-v4}/col.d.ts +0 -0
  1516. /package/lib/{grid → grid-v4}/hooks/useBreakpoint.d.ts +0 -0
  1517. /package/lib/{grid → grid-v4}/row.d.ts +0 -0
  1518. /package/lib/{grid → grid-v4}/style/rtl.less +0 -0
@@ -1,33 +1,31 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports["default"] = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
10
- 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; }
9
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
11
11
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
12
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
13
13
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
16
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
17
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
18
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
16
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
19
17
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
20
18
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
21
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
19
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
22
20
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
23
- var DropDownWrap = /*#__PURE__*/function (_PureComponent) {
24
- _inherits(DropDownWrap, _PureComponent);
25
- var _super = _createSuper(DropDownWrap);
21
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
22
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
+ var DropDownWrap = exports["default"] = /*#__PURE__*/function (_PureComponent) {
26
24
  function DropDownWrap(props) {
27
25
  var _this;
28
26
  _classCallCheck(this, DropDownWrap);
29
- _this = _super.call(this, props);
30
- Object.defineProperty(_assertThisInitialized(_this), "getItemStyle", {
27
+ _this = _callSuper(this, DropDownWrap, [props]);
28
+ Object.defineProperty(_this, "getItemStyle", {
31
29
  enumerable: true,
32
30
  configurable: true,
33
31
  writable: true,
@@ -41,7 +39,7 @@ var DropDownWrap = /*#__PURE__*/function (_PureComponent) {
41
39
  };
42
40
  }
43
41
  });
44
- Object.defineProperty(_assertThisInitialized(_this), "reactList", {
42
+ Object.defineProperty(_this, "reactList", {
45
43
  enumerable: true,
46
44
  configurable: true,
47
45
  writable: true,
@@ -63,7 +61,8 @@ var DropDownWrap = /*#__PURE__*/function (_PureComponent) {
63
61
  };
64
62
  return _this;
65
63
  }
66
- _createClass(DropDownWrap, [{
64
+ _inherits(DropDownWrap, _PureComponent);
65
+ return _createClass(DropDownWrap, [{
67
66
  key: "componentDidUpdate",
68
67
  value: function componentDidUpdate(prevProps) {
69
68
  if (this.props.allHeight !== prevProps.allHeight) {
@@ -103,6 +102,4 @@ var DropDownWrap = /*#__PURE__*/function (_PureComponent) {
103
102
  return cloneMenu;
104
103
  }
105
104
  }]);
106
- return DropDownWrap;
107
- }(_react.PureComponent);
108
- exports["default"] = DropDownWrap;
105
+ }(_react.PureComponent);
@@ -53,7 +53,7 @@ declare class SuperSelect extends React.PureComponent<any, any, any> {
53
53
  filterOption: (v: any, option: any) => boolean;
54
54
  setDefaultScrollTop: (data: any) => void;
55
55
  removeEvent: () => void;
56
- render(): JSX.Element;
56
+ render(): React.JSX.Element;
57
57
  allHeight: number | undefined;
58
58
  select: import("antd/lib/select").default<import("antd/lib/select").SelectValue> | null | undefined;
59
59
  wrap: DropDownWrap | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tntd-select/index.js"],"names":[],"mappings":";AAyBA;IACE,wBAqCC;IAjCC,oBAAqD;IAOrD;;;;;;MAMC;IAED,iBAA2E;IAE3E,yBAA8D;IAE9D,mBAA2C;IAE3C,qBAAwB;IAExB,sBAAsB;IAEtB,gBAAgB;IAEhB,kBAAkB;IAGlB,0BAA2C;IAE3C,WAA6B;IAG/B,0BAUC;IAED,uCAiBC;IAED,yBA0BC;IAGD,4DAMC;IAED,yCAoCC;IAED,6BAEC;IAED;;;;;MAKE;IAEF,+BAEC;IAED,qBAWC;IAVC,sCAAqE;IAMrE,qCAAqD;IAOvD,4BA2CC;IAED,qBAAyD;IAEzD,yBAQC;IAPC,2BAAwC;IAS1C,6BAOC;IAGD,gCAA2E;IAE3E;;;MAOC;IAGD,6CAeC;IATG,uCAAsD;IAW1D,gDA0BC;IAED,iCAGC;IAGD,yCAwBC;IAED,2BAoCC;IAED,+CAIC;IAED,yCAsBC;IAED,wBAMC;IAED,sBAkFC;IA5EC,8BAA8D;IA0C3C,kGAAiB;IAyBxB,sCAAe;CAU9B;;;;;;AA5eD,wFAA4B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tntd-select/index.js"],"names":[],"mappings":";AAyBA;IACE,wBAqCC;IAjCC,oBAAqD;IAOrD;;;;;;MAMC;IAED,iBAA2E;IAE3E,yBAA8D;IAE9D,mBAA2C;IAE3C,qBAAwB;IAExB,sBAAsB;IAEtB,gBAAgB;IAEhB,kBAAkB;IAGlB,0BAA2C;IAE3C,WAA6B;IAG/B,0BAUC;IAED,uCAiBC;IAED,yBA0BC;IAGD,4DAMC;IAED,yCAoCC;IAED,6BAEC;IAED;;;;;MAKE;IAEF,+BAEC;IAED,qBAWC;IAVC,sCAAqE;IAMrE,qCAAqD;IAOvD,4BA2CC;IAED,qBAAyD;IAEzD,yBAQC;IAPC,2BAAwC;IAS1C,6BAOC;IAGD,gCAA2E;IAE3E;;;MAOC;IAGD,6CAeC;IATG,uCAAsD;IAW1D,gDA0BC;IAED,iCAGC;IAGD,yCAwBC;IAED,2BAoCC;IAED,+CAIC;IAED,yCAsBC;IAED,wBAMC;IAED,4BAkFC;IA5EC,8BAA8D;IA0C3C,kGAAiB;IAyBxB,sCAAe;CAU9B;;;;;;AA5eD,wFAA4B"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
@@ -11,26 +12,23 @@ var _spin = _interopRequireDefault(require("../spin"));
11
12
  var _DropDownWrap = _interopRequireDefault(require("./DropDownWrap"));
12
13
  var _utils = require("../utils");
13
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- 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; }
16
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
17
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18
18
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
19
19
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
20
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
21
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
22
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
20
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
22
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
25
23
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
26
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
27
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
25
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
28
26
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
  var __rest = void 0 && (void 0).__rest || function (s, e) {
30
30
  var t = {};
31
- for (var p in s) {
32
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
33
- }
31
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
34
32
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
35
33
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
36
34
  }
@@ -51,13 +49,11 @@ var ARROW_CODE = {
51
49
  var DROPDOWN_HEIGHT = 224;
52
50
  var Option = _select["default"].Option;
53
51
  var SuperSelect = /*#__PURE__*/function (_PureComponent) {
54
- _inherits(SuperSelect, _PureComponent);
55
- var _super = _createSuper(SuperSelect);
56
52
  function SuperSelect(props) {
57
53
  var _this;
58
54
  _classCallCheck(this, SuperSelect);
59
- _this = _super.call(this, props);
60
- Object.defineProperty(_assertThisInitialized(_this), "turnChildren", {
55
+ _this = _callSuper(this, SuperSelect, [props]);
56
+ Object.defineProperty(_this, "turnChildren", {
61
57
  enumerable: true,
62
58
  configurable: true,
63
59
  writable: true,
@@ -80,7 +76,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
80
76
  return arr;
81
77
  }
82
78
  });
83
- Object.defineProperty(_assertThisInitialized(_this), "formulaWidth", {
79
+ Object.defineProperty(_this, "formulaWidth", {
84
80
  enumerable: true,
85
81
  configurable: true,
86
82
  writable: true,
@@ -116,7 +112,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
116
112
  }
117
113
  });
118
114
  // 获取单行文本的像素宽度
119
- Object.defineProperty(_assertThisInitialized(_this), "getTextPixelWith", {
115
+ Object.defineProperty(_this, "getTextPixelWith", {
120
116
  enumerable: true,
121
117
  configurable: true,
122
118
  writable: true,
@@ -129,7 +125,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
129
125
  return dimension.width;
130
126
  }
131
127
  });
132
- Object.defineProperty(_assertThisInitialized(_this), "getItemStyle", {
128
+ Object.defineProperty(_this, "getItemStyle", {
133
129
  enumerable: true,
134
130
  configurable: true,
135
131
  writable: true,
@@ -142,7 +138,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
142
138
  };
143
139
  }
144
140
  });
145
- Object.defineProperty(_assertThisInitialized(_this), "preventEvent", {
141
+ Object.defineProperty(_this, "preventEvent", {
146
142
  enumerable: true,
147
143
  configurable: true,
148
144
  writable: true,
@@ -150,7 +146,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
150
146
  e.preventDefault();
151
147
  }
152
148
  });
153
- Object.defineProperty(_assertThisInitialized(_this), "addEvent", {
149
+ Object.defineProperty(_this, "addEvent", {
154
150
  enumerable: true,
155
151
  configurable: true,
156
152
  writable: true,
@@ -166,7 +162,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
166
162
  }
167
163
  });
168
164
  // 模拟 antd select 按下 上下箭头 键时滚动列表
169
- Object.defineProperty(_assertThisInitialized(_this), "onKeyDown", {
165
+ Object.defineProperty(_this, "onKeyDown", {
170
166
  enumerable: true,
171
167
  configurable: true,
172
168
  writable: true,
@@ -204,7 +200,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
204
200
  }, 100);
205
201
  }
206
202
  });
207
- Object.defineProperty(_assertThisInitialized(_this), "onScroll", {
203
+ Object.defineProperty(_this, "onScroll", {
208
204
  enumerable: true,
209
205
  configurable: true,
210
206
  writable: true,
@@ -212,7 +208,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
212
208
  return _this.throttleByHeight(_this.onScrollReal);
213
209
  }
214
210
  });
215
- Object.defineProperty(_assertThisInitialized(_this), "onScrollReal", {
211
+ Object.defineProperty(_this, "onScrollReal", {
216
212
  enumerable: true,
217
213
  configurable: true,
218
214
  writable: true,
@@ -227,7 +223,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
227
223
  _this.wrap.reactList(allHeight, startIndex, endIndex);
228
224
  }
229
225
  });
230
- Object.defineProperty(_assertThisInitialized(_this), "throttleByHeight", {
226
+ Object.defineProperty(_this, "throttleByHeight", {
231
227
  enumerable: true,
232
228
  configurable: true,
233
229
  writable: true,
@@ -240,7 +236,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
240
236
  }
241
237
  });
242
238
  // 列表可展示所有 children
243
- Object.defineProperty(_assertThisInitialized(_this), "getUseChildrenList", {
239
+ Object.defineProperty(_this, "getUseChildrenList", {
244
240
  enumerable: true,
245
241
  configurable: true,
246
242
  writable: true,
@@ -248,7 +244,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
248
244
  return _this.state.filterChildren || _this.state.children;
249
245
  }
250
246
  });
251
- Object.defineProperty(_assertThisInitialized(_this), "getStartAndEndIndex", {
247
+ Object.defineProperty(_this, "getStartAndEndIndex", {
252
248
  enumerable: true,
253
249
  configurable: true,
254
250
  writable: true,
@@ -264,7 +260,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
264
260
  }
265
261
  });
266
262
  // 须使用 setTimeout 确保在 dom 加载完成之后添加事件
267
- Object.defineProperty(_assertThisInitialized(_this), "setSuperDrowDownMenu", {
263
+ Object.defineProperty(_this, "setSuperDrowDownMenu", {
268
264
  enumerable: true,
269
265
  configurable: true,
270
266
  writable: true,
@@ -287,7 +283,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
287
283
  }
288
284
  }
289
285
  });
290
- Object.defineProperty(_assertThisInitialized(_this), "onDropdownVisibleChange", {
286
+ Object.defineProperty(_this, "onDropdownVisibleChange", {
291
287
  enumerable: true,
292
288
  configurable: true,
293
289
  writable: true,
@@ -322,7 +318,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
322
318
  }
323
319
  }
324
320
  });
325
- Object.defineProperty(_assertThisInitialized(_this), "onDeselect", {
321
+ Object.defineProperty(_this, "onDeselect", {
326
322
  enumerable: true,
327
323
  configurable: true,
328
324
  writable: true,
@@ -332,7 +328,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
332
328
  }
333
329
  });
334
330
  // 在搜索重新计算下拉滚动条高度
335
- Object.defineProperty(_assertThisInitialized(_this), "onChange", {
331
+ Object.defineProperty(_this, "onChange", {
336
332
  enumerable: true,
337
333
  configurable: true,
338
334
  writable: true,
@@ -371,7 +367,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
371
367
  }
372
368
  }
373
369
  });
374
- Object.defineProperty(_assertThisInitialized(_this), "onSearch", {
370
+ Object.defineProperty(_this, "onSearch", {
375
371
  enumerable: true,
376
372
  configurable: true,
377
373
  writable: true,
@@ -420,7 +416,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
420
416
  onSearch && onSearch(v);
421
417
  }
422
418
  });
423
- Object.defineProperty(_assertThisInitialized(_this), "filterOption", {
419
+ Object.defineProperty(_this, "filterOption", {
424
420
  enumerable: true,
425
421
  configurable: true,
426
422
  writable: true,
@@ -430,7 +426,7 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
430
426
  return "".concat(option.props[filterProps]).indexOf(v) >= 0;
431
427
  }
432
428
  });
433
- Object.defineProperty(_assertThisInitialized(_this), "setDefaultScrollTop", {
429
+ Object.defineProperty(_this, "setDefaultScrollTop", {
434
430
  enumerable: true,
435
431
  configurable: true,
436
432
  writable: true,
@@ -439,11 +435,10 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
439
435
  var arr = _this.props.children;
440
436
  var children = _this.turnChildren(arr);
441
437
  var val = data || data === 0 ? data : value;
442
- for (var i = 0; i < children.length; i++) {
443
- var item = children[i];
444
- var itemValue = item.props.value;
445
- if (itemValue === val || Array.isArray(val) && val.includes(itemValue)) {
446
- var _ret = function () {
438
+ var _loop = function _loop() {
439
+ var item = children[i];
440
+ var itemValue = item.props.value;
441
+ if (itemValue === val || Array.isArray(val) && val.includes(itemValue)) {
447
442
  var targetScrollTop = i * _this.ITEM_HEIGHT;
448
443
  setTimeout(function () {
449
444
  if (!_this.scrollEle) {
@@ -454,13 +449,16 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
454
449
  return {
455
450
  v: void 0
456
451
  };
457
- }();
458
- if (_typeof(_ret) === "object") return _ret.v;
459
- }
452
+ }
453
+ },
454
+ _ret;
455
+ for (var i = 0; i < children.length; i++) {
456
+ _ret = _loop();
457
+ if (_ret) return _ret.v;
460
458
  }
461
459
  }
462
460
  });
463
- Object.defineProperty(_assertThisInitialized(_this), "removeEvent", {
461
+ Object.defineProperty(_this, "removeEvent", {
464
462
  enumerable: true,
465
463
  configurable: true,
466
464
  writable: true,
@@ -507,7 +505,8 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
507
505
  _this.id = "sid".concat(+new Date());
508
506
  return _this;
509
507
  }
510
- _createClass(SuperSelect, [{
508
+ _inherits(SuperSelect, _PureComponent);
509
+ return _createClass(SuperSelect, [{
511
510
  key: "componentDidMount",
512
511
  value: function componentDidMount() {
513
512
  var _this2 = this;
@@ -652,8 +651,6 @@ var SuperSelect = /*#__PURE__*/function (_PureComponent) {
652
651
  }), this.allList);
653
652
  }
654
653
  }]);
655
- return SuperSelect;
656
654
  }(_react.PureComponent);
657
655
  SuperSelect.Option = Option;
658
- var _default = SuperSelect;
659
- exports["default"] = _default;
656
+ var _default = exports["default"] = SuperSelect;
@@ -1,5 +1,5 @@
1
1
  import Tooltip from 'antd/lib/tooltip';
2
- import 'antd/lib/tooltip/style';
2
+ import './style';
3
3
  export * from 'antd/lib/tooltip';
4
4
  export default Tooltip;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,iBAAiB,CAAA;AAErC,OAAO,uBAAuB,CAAA;AAE9B,cAAc,iBAAiB,CAAA;AAE/B,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,iBAAiB,CAAA;AAErC,OAAO,SAAS,CAAA;AAEhB,cAAc,iBAAiB,CAAA;AAE/B,eAAe,OAAO,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -18,8 +18,7 @@ Object.keys(_tooltip).forEach(function (key) {
18
18
  }
19
19
  });
20
20
  });
21
- require("antd/lib/tooltip/style");
22
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
- 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; }
24
- var _default = _tooltip["default"];
25
- exports["default"] = _default;
21
+ require("./style");
22
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
24
+ var _default = exports["default"] = _tooltip["default"];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tooltip/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,8DAAqC;AAErC,iCAA8B;AAE9B,kDAA+B;AAE/B,kBAAe,iBAAO,CAAA","sourcesContent":["import Tooltip from 'antd/lib/tooltip'\n\nimport 'antd/lib/tooltip/style'\n\nexport * from 'antd/lib/tooltip'\n\nexport default Tooltip\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tooltip/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,8DAAqC;AAErC,mBAAgB;AAEhB,kDAA+B;AAE/B,kBAAe,iBAAO,CAAA","sourcesContent":["import Tooltip from 'antd/lib/tooltip'\n\nimport './style'\n\nexport * from 'antd/lib/tooltip'\n\nexport default Tooltip\n"]}
@@ -0,0 +1,3 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tooltip/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tooltip/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,187 @@
1
+ @import '../../style/themes/index';
2
+ @import '../../style/mixins/index';
3
+
4
+ @tooltip-prefix-cls: ~'@{ant-prefix}-tooltip';
5
+
6
+ @tooltip-arrow-shadow-width: 3px;
7
+
8
+ @tooltip-arrow-rotate-width: sqrt(@tooltip-arrow-width * @tooltip-arrow-width * 2) +
9
+ @tooltip-arrow-shadow-width * 2;
10
+
11
+ @tooltip-arrow-offset-vertical: 5px; // 8 - 3px
12
+ @tooltip-arrow-offset-horizontal: 13px; // 16 - 3px
13
+
14
+ // Base class
15
+ .@{tooltip-prefix-cls} {
16
+ .reset-component;
17
+
18
+ position: absolute;
19
+ z-index: @zindex-tooltip;
20
+ display: block;
21
+ max-width: @tooltip-max-width;
22
+ visibility: visible;
23
+
24
+ &-hidden {
25
+ display: none;
26
+ }
27
+
28
+ &-placement-top,
29
+ &-placement-topLeft,
30
+ &-placement-topRight {
31
+ padding-bottom: @tooltip-distance;
32
+ }
33
+
34
+ &-placement-right,
35
+ &-placement-rightTop,
36
+ &-placement-rightBottom {
37
+ padding-left: @tooltip-distance;
38
+ }
39
+
40
+ &-placement-bottom,
41
+ &-placement-bottomLeft,
42
+ &-placement-bottomRight {
43
+ padding-top: @tooltip-distance;
44
+ }
45
+
46
+ &-placement-left,
47
+ &-placement-leftTop,
48
+ &-placement-leftBottom {
49
+ padding-right: @tooltip-distance;
50
+ }
51
+
52
+ // Wrapper for the tooltip content
53
+ &-inner {
54
+ min-width: 30px;
55
+ min-height: 32px;
56
+ padding: 6px 8px;
57
+ color: @tooltip-color;
58
+ text-align: left;
59
+ text-decoration: none;
60
+ word-wrap: break-word;
61
+ background-color: @tooltip-bg;
62
+ border-radius: @border-radius-base;
63
+ box-shadow: @box-shadow-base;
64
+ }
65
+
66
+ // Arrows
67
+ &-arrow {
68
+ position: absolute;
69
+ display: block;
70
+ width: @tooltip-arrow-rotate-width;
71
+ height: @tooltip-arrow-rotate-width;
72
+ overflow: hidden;
73
+ background: transparent;
74
+ pointer-events: none;
75
+
76
+ &::before {
77
+ position: absolute;
78
+ top: 0;
79
+ right: 0;
80
+ bottom: 0;
81
+ left: 0;
82
+ display: block;
83
+ width: @tooltip-arrow-width;
84
+ height: @tooltip-arrow-width;
85
+ margin: auto;
86
+ background-color: @tooltip-bg;
87
+ content: '';
88
+ pointer-events: auto;
89
+ }
90
+ }
91
+
92
+ &-placement-top &-arrow,
93
+ &-placement-topLeft &-arrow,
94
+ &-placement-topRight &-arrow {
95
+ bottom: calc(@tooltip-distance - @tooltip-arrow-rotate-width);
96
+
97
+ &::before {
98
+ box-shadow: @tooltip-arrow-shadow-width @tooltip-arrow-shadow-width 7px fade(@black, 7%);
99
+ transform: translateY(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
100
+ }
101
+ }
102
+
103
+ &-placement-top &-arrow {
104
+ left: 50%;
105
+ transform: translateX(-50%);
106
+ }
107
+
108
+ &-placement-topLeft &-arrow {
109
+ left: @tooltip-arrow-offset-horizontal;
110
+ }
111
+
112
+ &-placement-topRight &-arrow {
113
+ right: @tooltip-arrow-offset-horizontal;
114
+ }
115
+
116
+ &-placement-right &-arrow,
117
+ &-placement-rightTop &-arrow,
118
+ &-placement-rightBottom &-arrow {
119
+ left: calc(@tooltip-distance - @tooltip-arrow-rotate-width);
120
+
121
+ &::before {
122
+ box-shadow: -@tooltip-arrow-shadow-width @tooltip-arrow-shadow-width 7px fade(@black, 7%);
123
+ transform: translateX(@tooltip-arrow-rotate-width / 2) rotate(45deg);
124
+ }
125
+ }
126
+
127
+ &-placement-right &-arrow {
128
+ top: 50%;
129
+ transform: translateY(-50%);
130
+ }
131
+
132
+ &-placement-rightTop &-arrow {
133
+ top: @tooltip-arrow-offset-vertical;
134
+ }
135
+
136
+ &-placement-rightBottom &-arrow {
137
+ bottom: @tooltip-arrow-offset-vertical;
138
+ }
139
+
140
+ &-placement-left &-arrow,
141
+ &-placement-leftTop &-arrow,
142
+ &-placement-leftBottom &-arrow {
143
+ right: calc(@tooltip-distance - @tooltip-arrow-rotate-width);
144
+
145
+ &::before {
146
+ box-shadow: @tooltip-arrow-shadow-width -@tooltip-arrow-shadow-width 7px fade(@black, 7%);
147
+ transform: translateX(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
148
+ }
149
+ }
150
+
151
+ &-placement-left &-arrow {
152
+ top: 50%;
153
+ transform: translateY(-50%);
154
+ }
155
+
156
+ &-placement-leftTop &-arrow {
157
+ top: @tooltip-arrow-offset-vertical;
158
+ }
159
+
160
+ &-placement-leftBottom &-arrow {
161
+ bottom: @tooltip-arrow-offset-vertical;
162
+ }
163
+
164
+ &-placement-bottom &-arrow,
165
+ &-placement-bottomLeft &-arrow,
166
+ &-placement-bottomRight &-arrow {
167
+ top: calc(@tooltip-distance - @tooltip-arrow-rotate-width);
168
+
169
+ &::before {
170
+ box-shadow: -@tooltip-arrow-shadow-width -@tooltip-arrow-shadow-width 7px fade(@black, 7%);
171
+ transform: translateY(@tooltip-arrow-rotate-width / 2) rotate(45deg);
172
+ }
173
+ }
174
+
175
+ &-placement-bottom &-arrow {
176
+ left: 50%;
177
+ transform: translateX(-50%);
178
+ }
179
+
180
+ &-placement-bottomLeft &-arrow {
181
+ left: @tooltip-arrow-offset-horizontal;
182
+ }
183
+
184
+ &-placement-bottomRight &-arrow {
185
+ right: @tooltip-arrow-offset-horizontal;
186
+ }
187
+ }
@@ -1,5 +1,5 @@
1
1
  import Transfer from 'antd/lib/transfer';
2
- import 'antd/lib/transfer/style';
2
+ import './style';
3
3
  export * from 'antd/lib/transfer';
4
4
  export default Transfer;
5
5
  //# sourceMappingURL=index.d.ts.map