tntd 2.8.0-beta.2 → 2.8.0-beta.4

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 (1700) 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/alert.js +70 -0
  7. package/es/alert/alert.js.map +1 -0
  8. package/es/alert/alert.less +128 -0
  9. package/es/alert/index.js +1 -1
  10. package/es/alert/index.js.map +1 -1
  11. package/es/alert/style/index.js +2 -0
  12. package/es/alert/style/index.js.map +1 -0
  13. package/es/alert/style/index.less +188 -0
  14. package/es/anchor/index.js +1 -1
  15. package/es/anchor/index.js.map +1 -1
  16. package/es/anchor/style/index.js +4 -0
  17. package/es/anchor/style/index.js.map +1 -0
  18. package/es/anchor/style/index.less +82 -0
  19. package/es/auto-complete/index.js +1 -1
  20. package/es/auto-complete/index.js.map +1 -1
  21. package/es/auto-complete/style/index.js +5 -0
  22. package/es/auto-complete/style/index.js.map +1 -0
  23. package/es/auto-complete/style/index.less +92 -0
  24. package/es/avatar/index.js +1 -1
  25. package/es/avatar/index.js.map +1 -1
  26. package/es/avatar/style/index.js +2 -0
  27. package/es/avatar/style/index.js.map +1 -0
  28. package/es/avatar/style/index.less +59 -0
  29. package/es/back-top/index.js +1 -1
  30. package/es/back-top/index.js.map +1 -1
  31. package/es/back-top/style/index.js +2 -0
  32. package/es/back-top/style/index.js.map +1 -0
  33. package/es/back-top/style/index.less +42 -0
  34. package/es/back-top/style/responsive.less +11 -0
  35. package/es/badge/index.js +1 -1
  36. package/es/badge/index.js.map +1 -1
  37. package/es/badge/style/index.js +2 -0
  38. package/es/badge/style/index.js.map +1 -0
  39. package/es/badge/style/index.less +190 -0
  40. package/es/breadcrumb/index.js +1 -1
  41. package/es/breadcrumb/index.js.map +1 -1
  42. package/es/breadcrumb/style/index.js +4 -0
  43. package/es/breadcrumb/style/index.js.map +1 -0
  44. package/es/breadcrumb/style/index.less +52 -0
  45. package/es/button/button.less +72 -0
  46. package/es/button/index.js +1 -1
  47. package/es/button/index.js.map +1 -1
  48. package/es/button/style/index.js +2 -0
  49. package/es/button/style/index.js.map +1 -0
  50. package/es/button/style/index.less +224 -0
  51. package/es/button/style/mixin.less +357 -0
  52. package/es/calendar/index.js +1 -1
  53. package/es/calendar/index.js.map +1 -1
  54. package/es/calendar/style/index.js +5 -0
  55. package/es/calendar/style/index.js.map +1 -0
  56. package/es/calendar/style/index.less +278 -0
  57. package/es/card/index.js +1 -1
  58. package/es/card/index.js.map +1 -1
  59. package/es/card/style/index.js +6 -0
  60. package/es/card/style/index.js.map +1 -0
  61. package/es/card/style/index.less +263 -0
  62. package/es/card/style/size.less +25 -0
  63. package/es/carousel/index.js +1 -1
  64. package/es/carousel/index.js.map +1 -1
  65. package/es/carousel/style/index.js +2 -0
  66. package/es/carousel/style/index.js.map +1 -0
  67. package/es/carousel/style/index.less +238 -0
  68. package/es/cascader/index.js +1 -1
  69. package/es/cascader/index.js.map +1 -1
  70. package/es/cascader/style/index.js +5 -0
  71. package/es/cascader/style/index.js.map +1 -0
  72. package/es/cascader/style/index.less +227 -0
  73. package/es/checkbox/check.png +0 -0
  74. package/es/checkbox/checkbox.js +48 -0
  75. package/es/checkbox/checkbox.js.map +1 -0
  76. package/es/checkbox/checkbox.less +69 -0
  77. package/es/checkbox/index.js +1 -1
  78. package/es/checkbox/index.js.map +1 -1
  79. package/es/checkbox/style/index.js +2 -0
  80. package/es/checkbox/style/index.js.map +1 -0
  81. package/es/checkbox/style/index.less +4 -0
  82. package/es/checkbox/style/mixin.less +220 -0
  83. package/es/col/index.js +1 -1
  84. package/es/col/index.js.map +1 -1
  85. package/es/col/style/index.js +4 -0
  86. package/es/col/style/index.js.map +1 -0
  87. package/es/collapse/index.js +1 -1
  88. package/es/collapse/index.js.map +1 -1
  89. package/es/collapse/style/index.js +2 -0
  90. package/es/collapse/style/index.js.map +1 -0
  91. package/es/collapse/style/index.less +135 -0
  92. package/es/color-picker/ColorPicker.js +4 -2
  93. package/es/color-picker/ColorPicker.js.map +1 -1
  94. package/es/color-picker/index.less +25 -8
  95. package/es/comment/index.js +1 -1
  96. package/es/comment/index.js.map +1 -1
  97. package/es/comment/style/index.js +2 -0
  98. package/es/comment/style/index.js.map +1 -0
  99. package/es/comment/style/index.less +93 -0
  100. package/es/config-provider/index.js +1 -1
  101. package/es/config-provider/index.js.map +1 -1
  102. package/es/config-provider/style/index.js +1 -0
  103. package/es/config-provider/style/index.js.map +1 -0
  104. package/es/config-provider/style/index.less +2 -0
  105. package/es/date-picker/DatePicker.js +101 -0
  106. package/es/date-picker/DatePicker.js.map +1 -0
  107. package/es/date-picker/index.js +1 -1
  108. package/es/date-picker/index.js.map +1 -1
  109. package/es/date-picker/index.less +294 -0
  110. package/es/date-picker/style/Calendar.less +402 -0
  111. package/es/date-picker/style/DecadePanel.less +81 -0
  112. package/es/date-picker/style/MonthPanel.less +86 -0
  113. package/es/date-picker/style/MonthPicker.less +11 -0
  114. package/es/date-picker/style/Picker.less +114 -0
  115. package/es/date-picker/style/RangePicker.less +248 -0
  116. package/es/date-picker/style/TimePicker.less +151 -0
  117. package/es/date-picker/style/WeekPicker.less +21 -0
  118. package/es/date-picker/style/YearPanel.less +85 -0
  119. package/es/date-picker/style/index.js +7 -0
  120. package/es/date-picker/style/index.js.map +1 -0
  121. package/es/date-picker/style/index.less +17 -0
  122. package/es/descriptions/descriptions.js +40 -26
  123. package/es/descriptions/descriptions.js.map +1 -1
  124. package/es/descriptions/descriptions.less +104 -16
  125. package/es/descriptions/index.js +1 -1
  126. package/es/descriptions/index.js.map +1 -1
  127. package/es/descriptions/style/index.js +2 -0
  128. package/es/descriptions/style/index.js.map +1 -0
  129. package/es/descriptions/style/index.less +144 -0
  130. package/es/divider/index.js +1 -1
  131. package/es/divider/index.js.map +1 -1
  132. package/es/divider/style/index.js +2 -0
  133. package/es/divider/style/index.js.map +1 -0
  134. package/es/divider/style/index.less +109 -0
  135. package/es/drawer/drawer.less +1 -1
  136. package/es/drawer/index.js +1 -1
  137. package/es/drawer/index.js.map +1 -1
  138. package/es/drawer/index.less +154 -0
  139. package/es/drawer/style/drawer.less +232 -0
  140. package/es/drawer/style/index.js +3 -0
  141. package/es/drawer/style/index.js.map +1 -0
  142. package/es/drawer/style/index.less +3 -0
  143. package/es/dropdown/index.js +1 -1
  144. package/es/dropdown/index.js.map +1 -1
  145. package/es/dropdown/style/index.js +4 -0
  146. package/es/dropdown/style/index.js.map +1 -0
  147. package/es/dropdown/style/index.less +283 -0
  148. package/es/empty/index.js +1 -1
  149. package/es/empty/index.js.map +1 -1
  150. package/es/empty/style/index.js +2 -0
  151. package/es/empty/style/index.js.map +1 -0
  152. package/es/empty/style/index.less +52 -0
  153. package/es/form/form.less +36 -0
  154. package/es/form/index.js +1 -1
  155. package/es/form/index.js.map +1 -1
  156. package/es/form/style/index.js +4 -0
  157. package/es/form/style/index.js.map +1 -0
  158. package/es/form/style/index.less +653 -0
  159. package/es/form/style/mixin.less +126 -0
  160. package/es/grid/index.js +3 -13
  161. package/es/grid/index.js.map +1 -1
  162. package/es/grid/style/index.js +1 -1
  163. package/es/grid/style/index.js.map +1 -1
  164. package/es/grid/style/index.less +24 -26
  165. package/es/grid/style/mixin.less +63 -19
  166. package/es/grid-v4/RowContext.js +3 -0
  167. package/es/grid-v4/RowContext.js.map +1 -0
  168. package/es/grid-v4/col.js +103 -0
  169. package/es/grid-v4/col.js.map +1 -0
  170. package/es/grid-v4/hooks/useBreakpoint.js +18 -0
  171. package/es/grid-v4/hooks/useBreakpoint.js.map +1 -0
  172. package/es/grid-v4/index.js +14 -0
  173. package/es/grid-v4/index.js.map +1 -0
  174. package/es/grid-v4/row.js +154 -0
  175. package/es/grid-v4/row.js.map +1 -0
  176. package/es/grid-v4/style/index.js +2 -0
  177. package/es/grid-v4/style/index.js.map +1 -0
  178. package/es/grid-v4/style/index.less +124 -0
  179. package/es/grid-v4/style/mixin.less +57 -0
  180. package/es/grid-v4/style/rtl.less +69 -0
  181. package/es/icon/index.js +2 -1
  182. package/es/icon/index.js.map +1 -1
  183. package/es/icon/style/index.js +3 -0
  184. package/es/icon/style/index.js.map +1 -0
  185. package/es/icon/style/index.less +4 -0
  186. package/es/icon/style/style.less +6 -0
  187. package/es/icon-old/index.js +4 -0
  188. package/es/icon-old/index.js.map +1 -0
  189. package/es/icon-old/style/index.js +2 -0
  190. package/es/icon-old/style/index.js.map +1 -0
  191. package/es/icon-old/style/index.less +4 -0
  192. package/es/index.js +3 -2
  193. package/es/index.js.map +1 -1
  194. package/es/input/index.js +1 -1
  195. package/es/input/index.js.map +1 -1
  196. package/es/input/style/index.js +4 -0
  197. package/es/input/style/index.js.map +1 -0
  198. package/es/input/style/index.less +57 -0
  199. package/es/input/style/mixin.less +449 -0
  200. package/es/input/style/search-input.less +34 -0
  201. package/es/input-number/index.js +1 -1
  202. package/es/input-number/index.js.map +1 -1
  203. package/es/input-number/inputNumber.js +29 -0
  204. package/es/input-number/inputNumber.js.map +1 -0
  205. package/es/input-number/inputNumber.less +12 -0
  206. package/es/input-number/style/index.js +2 -0
  207. package/es/input-number/style/index.js.map +1 -0
  208. package/es/input-number/style/index.less +179 -0
  209. package/es/layout/index.js +1 -1
  210. package/es/layout/index.js.map +1 -1
  211. package/es/layout/style/index.js +2 -0
  212. package/es/layout/style/index.js.map +1 -0
  213. package/es/layout/style/index.less +124 -0
  214. package/es/layout/style/light.less +15 -0
  215. package/es/list/index.js +1 -1
  216. package/es/list/index.js.map +1 -1
  217. package/es/list/style/bordered.less +41 -0
  218. package/es/list/style/index.js +7 -0
  219. package/es/list/style/index.js.map +1 -0
  220. package/es/list/style/index.less +234 -0
  221. package/es/list/style/responsive.less +40 -0
  222. package/es/locale-provider/index.js +1 -1
  223. package/es/locale-provider/index.js.map +1 -1
  224. package/es/locale-provider/style/index.js +1 -0
  225. package/es/locale-provider/style/index.js.map +1 -0
  226. package/es/locale-provider/style/index.less +2 -0
  227. package/es/mentions/index.js +1 -1
  228. package/es/mentions/index.js.map +1 -1
  229. package/es/mentions/style/index.js +4 -0
  230. package/es/mentions/style/index.js.map +1 -0
  231. package/es/mentions/style/index.less +164 -0
  232. package/es/menu/index.js +1 -1
  233. package/es/menu/index.js.map +1 -1
  234. package/es/menu/style/dark.less +139 -0
  235. package/es/menu/style/index.js +5 -0
  236. package/es/menu/style/index.js.map +1 -0
  237. package/es/menu/style/index.less +515 -0
  238. package/es/message/index.js +1 -1
  239. package/es/message/index.js.map +1 -1
  240. package/es/message/style/index.js +2 -0
  241. package/es/message/style/index.js.map +1 -0
  242. package/es/message/style/index.less +75 -0
  243. package/es/modal/index.js +1 -1
  244. package/es/modal/index.js.map +1 -1
  245. package/es/modal/index.less +36 -0
  246. package/es/modal/modal.js +51 -9
  247. package/es/modal/modal.js.map +1 -1
  248. package/es/modal/modal.less +13 -32
  249. package/es/modal/style/confirm.less +96 -0
  250. package/es/modal/style/index.js +4 -0
  251. package/es/modal/style/index.js.map +1 -0
  252. package/es/modal/style/index.less +4 -0
  253. package/es/modal/style/modal.less +169 -0
  254. package/es/notification/assets/index.js +2 -0
  255. package/es/notification/assets/index.js.map +1 -0
  256. package/es/notification/assets/svg-error-tip.js +145 -0
  257. package/es/notification/assets/svg-error-tip.js.map +1 -0
  258. package/es/notification/assets/svg-success-tip.js +162 -0
  259. package/es/notification/assets/svg-success-tip.js.map +1 -0
  260. package/es/notification/index.js +1 -1
  261. package/es/notification/index.js.map +1 -1
  262. package/es/notification/notification.js +80 -0
  263. package/es/notification/notification.js.map +1 -0
  264. package/es/notification/notification.less +59 -0
  265. package/es/notification/style/index.js +2 -0
  266. package/es/notification/style/index.js.map +1 -0
  267. package/es/notification/style/index.less +201 -0
  268. package/es/page/index.js +0 -1
  269. package/es/page-header/index.js +1 -1
  270. package/es/page-header/index.js.map +1 -1
  271. package/es/page-header/style/index.js +4 -0
  272. package/es/page-header/style/index.js.map +1 -0
  273. package/es/page-header/style/index.less +119 -0
  274. package/es/pagination/index.js +1 -1
  275. package/es/pagination/index.js.map +1 -1
  276. package/es/pagination/style/index.js +4 -0
  277. package/es/pagination/style/index.js.map +1 -0
  278. package/es/pagination/style/index.less +400 -0
  279. package/es/popconfirm/index.js +1 -1
  280. package/es/popconfirm/index.js.map +1 -1
  281. package/es/popconfirm/index.less +32 -0
  282. package/es/popconfirm/popconfirm.js +43 -0
  283. package/es/popconfirm/popconfirm.js.map +1 -0
  284. package/es/popconfirm/style/index.js +5 -0
  285. package/es/popconfirm/style/index.js.map +1 -0
  286. package/es/popover/index.js +1 -1
  287. package/es/popover/index.js.map +1 -1
  288. package/es/popover/index.less +57 -0
  289. package/es/popover/popover.js +34 -0
  290. package/es/popover/popover.js.map +1 -0
  291. package/es/popover/style/index.js +4 -0
  292. package/es/popover/style/index.js.map +1 -0
  293. package/es/popover/style/index.less +206 -0
  294. package/es/progress/index.js +1 -1
  295. package/es/progress/index.js.map +1 -1
  296. package/es/progress/progress.js +132 -0
  297. package/es/progress/progress.js.map +1 -0
  298. package/es/progress/progress.less +82 -0
  299. package/es/progress/style/index.js +2 -0
  300. package/es/progress/style/index.js.map +1 -0
  301. package/es/progress/style/index.less +182 -0
  302. package/es/query-form/Field/Composition/FieldPopover.js +284 -0
  303. package/es/query-form/Field/Composition/FieldPopover.js.map +1 -0
  304. package/es/query-form/Field/Composition/FieldPopover.less +35 -0
  305. package/es/query-form/Field/Composition/Select.js +108 -0
  306. package/es/query-form/Field/Composition/Select.js.map +1 -0
  307. package/es/query-form/Field/Composition/index.js +275 -0
  308. package/es/query-form/Field/Composition/index.js.map +1 -0
  309. package/es/query-form/Field/Composition/index.less +106 -0
  310. package/es/query-form/Field/Composition/utils.js +19 -0
  311. package/es/query-form/Field/Composition/utils.js.map +1 -0
  312. package/es/radio/index.js +1 -1
  313. package/es/radio/index.js.map +1 -1
  314. package/es/radio/radio.js +57 -0
  315. package/es/radio/radio.js.map +1 -0
  316. package/es/radio/radio.less +43 -0
  317. package/es/radio/style/index.js +2 -0
  318. package/es/radio/style/index.js.map +1 -0
  319. package/es/radio/style/index.less +327 -0
  320. package/es/rate/index.js +1 -1
  321. package/es/rate/index.js.map +1 -1
  322. package/es/rate/style/index.js +4 -0
  323. package/es/rate/style/index.js.map +1 -0
  324. package/es/rate/style/index.less +85 -0
  325. package/es/result/index.js +1 -1
  326. package/es/result/index.js.map +1 -1
  327. package/es/result/style/index.js +2 -0
  328. package/es/result/style/index.js.map +1 -0
  329. package/es/result/style/index.less +71 -0
  330. package/es/row/index.js +1 -1
  331. package/es/row/index.js.map +1 -1
  332. package/es/row/style/index.js +4 -0
  333. package/es/row/style/index.js.map +1 -0
  334. package/es/select/index.js +1 -1
  335. package/es/select/index.js.map +1 -1
  336. package/es/select/style/index.js +4 -0
  337. package/es/select/style/index.js.map +1 -0
  338. package/es/select/style/index.less +605 -0
  339. package/es/skeleton/index.js +1 -1
  340. package/es/skeleton/index.js.map +1 -1
  341. package/es/skeleton/style/index.js +2 -0
  342. package/es/skeleton/style/index.js.map +1 -0
  343. package/es/skeleton/style/index.less +130 -0
  344. package/es/slider/index.js +1 -1
  345. package/es/slider/index.js.map +1 -1
  346. package/es/slider/style/index.js +4 -0
  347. package/es/slider/style/index.js.map +1 -0
  348. package/es/slider/style/index.less +197 -0
  349. package/es/spin/index.js +1 -1
  350. package/es/spin/index.js.map +1 -1
  351. package/es/spin/style/index.js +2 -0
  352. package/es/spin/style/index.js.map +1 -0
  353. package/es/spin/style/index.less +214 -0
  354. package/es/statistic/index.js +1 -1
  355. package/es/statistic/index.js.map +1 -1
  356. package/es/statistic/style/index.js +2 -0
  357. package/es/statistic/style/index.js.map +1 -0
  358. package/es/statistic/style/index.less +40 -0
  359. package/es/steps/assets/background_left.svg +12 -0
  360. package/es/steps/assets/background_right.svg +12 -0
  361. package/es/steps/assets/horizontal_line.svg +3 -0
  362. package/es/steps/assets/vertical_line.svg +3 -0
  363. package/es/steps/index.js +2 -1
  364. package/es/steps/index.js.map +1 -1
  365. package/es/steps/stepStyle/icon.less +51 -0
  366. package/es/steps/stepStyle/index.less +12 -0
  367. package/es/steps/stepStyle/nav.less +281 -0
  368. package/es/steps/stepStyle/progress-dot.less +10 -0
  369. package/es/steps/stepStyle/small.less +5 -0
  370. package/es/steps/stepStyle/variables.less +8 -0
  371. package/es/steps/stepStyle/vertical.less +41 -0
  372. package/es/steps/steps.js +6 -6
  373. package/es/steps/steps.js.map +1 -1
  374. package/es/steps/style/compatibility.less +50 -0
  375. package/es/steps/style/custom-icon.less +31 -0
  376. package/es/steps/style/index.js +2 -0
  377. package/es/steps/style/index.js.map +1 -0
  378. package/es/steps/style/index.less +241 -6
  379. package/es/steps/style/label-placement.less +38 -0
  380. package/es/steps/style/nav.less +96 -247
  381. package/es/steps/style/progress-dot.less +80 -0
  382. package/es/steps/style/small.less +43 -3
  383. package/es/steps/style/vertical.less +74 -0
  384. package/es/style/color/bezierEasing.less +110 -0
  385. package/es/style/color/colorPalette.less +75 -0
  386. package/es/style/color/colors.less +149 -0
  387. package/es/style/color/tinyColor.less +1184 -0
  388. package/es/style/core/base.less +510 -0
  389. package/es/style/core/iconfont.less +19 -0
  390. package/es/style/core/index.less +4 -0
  391. package/es/style/core/motion/fade.less +31 -0
  392. package/es/style/core/motion/move.less +120 -0
  393. package/es/style/core/motion/other.less +40 -0
  394. package/es/style/core/motion/slide.less +120 -0
  395. package/es/style/core/motion/swing.less +34 -0
  396. package/es/style/core/motion/zoom.less +162 -0
  397. package/es/style/core/motion.less +20 -0
  398. package/es/style/index.js +1 -0
  399. package/es/style/index.js.map +1 -0
  400. package/es/style/index.less +2 -0
  401. package/es/style/mixins/clearfix.less +13 -0
  402. package/es/style/mixins/compatibility.less +22 -0
  403. package/es/style/mixins/iconfont.less +44 -0
  404. package/es/style/mixins/index.less +10 -0
  405. package/es/style/mixins/motion.less +35 -0
  406. package/es/style/mixins/operation-unit.less +18 -0
  407. package/es/style/mixins/reset.less +13 -0
  408. package/es/style/mixins/size.less +10 -0
  409. package/es/style/mixins/typography.less +49 -0
  410. package/es/style/themes/default.less +700 -0
  411. package/es/style/themes/index.less +1 -0
  412. package/es/style/v2-compatible-reset.js +1 -0
  413. package/es/style/v2-compatible-reset.js.map +1 -0
  414. package/es/style/v2-compatible-reset.less +51 -0
  415. package/es/switch/index.less +46 -0
  416. package/es/switch/style/index.js +2 -0
  417. package/es/switch/style/index.js.map +1 -0
  418. package/es/switch/style/index.less +178 -0
  419. package/es/switch/switch.js +1 -1
  420. package/es/switch/switch.js.map +1 -1
  421. package/es/table/index.js +1 -1
  422. package/es/table/index.js.map +1 -1
  423. package/es/table/style/index.js +10 -0
  424. package/es/table/style/index.js.map +1 -0
  425. package/es/table/style/index.less +800 -0
  426. package/es/table/style/size.less +179 -0
  427. package/es/table/table.js +0 -1
  428. package/es/tabs/index.js +1 -1
  429. package/es/tabs/index.js.map +1 -1
  430. package/es/tabs/style/card-style.less +186 -0
  431. package/es/tabs/style/index.js +2 -0
  432. package/es/tabs/style/index.js.map +1 -0
  433. package/es/tabs/style/index.less +436 -0
  434. package/es/tabs/tabs.less +114 -0
  435. package/es/tag/color.less +43 -0
  436. package/es/tag/index.js +1 -1
  437. package/es/tag/index.js.map +1 -1
  438. package/es/tag/style/index.js +2 -0
  439. package/es/tag/style/index.js.map +1 -0
  440. package/es/tag/style/index.less +106 -0
  441. package/es/tag/tag.js +171 -0
  442. package/es/tag/tag.js.map +1 -0
  443. package/es/tag/tag.less +193 -0
  444. package/es/time-picker/TimePicker.js +36 -0
  445. package/es/time-picker/TimePicker.js.map +1 -0
  446. package/es/time-picker/index.js +1 -1
  447. package/es/time-picker/index.js.map +1 -1
  448. package/es/time-picker/index.less +38 -0
  449. package/es/time-picker/style/index.js +2 -0
  450. package/es/time-picker/style/index.js.map +1 -0
  451. package/es/time-picker/style/index.less +247 -0
  452. package/es/timeline/index.js +1 -1
  453. package/es/timeline/index.js.map +1 -1
  454. package/es/timeline/style/index.js +2 -0
  455. package/es/timeline/style/index.js.map +1 -0
  456. package/es/timeline/style/index.less +167 -0
  457. package/es/tntd-action/Action.js +66 -0
  458. package/es/tntd-action/Action.js.map +1 -0
  459. package/es/tntd-action/index.js +7 -0
  460. package/es/tntd-action/index.js.map +1 -0
  461. package/es/tntd-action/index.less +53 -0
  462. package/es/tntd-cascader/rc-cascader/OptionList/index.js +0 -1
  463. package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +0 -1
  464. package/es/tntd-form/Form.js.map +1 -1
  465. package/es/tntd-form/FormItem/ItemHolder.js +1 -1
  466. package/es/tntd-form/FormItem/ItemHolder.js.map +1 -1
  467. package/es/tntd-form/FormItemInput.js +1 -1
  468. package/es/tntd-form/FormItemInput.js.map +1 -1
  469. package/es/tntd-form/FormItemLabel.js +1 -1
  470. package/es/tntd-form/FormItemLabel.js.map +1 -1
  471. package/es/tntd-form/context.js.map +1 -1
  472. package/es/tntd-form/style/index.js +1 -1
  473. package/es/tntd-form/style/index.js.map +1 -1
  474. package/es/tntd-form/style/index.less +1 -1
  475. package/es/tntd-form/style/rtl.less +3 -3
  476. package/es/tntd-layout/index.js +0 -1
  477. package/es/tntd-rc-select/style/index.less +844 -740
  478. package/es/tntd-select/index.js +0 -1
  479. package/es/tooltip/index.js +1 -1
  480. package/es/tooltip/index.js.map +1 -1
  481. package/es/tooltip/index.less +29 -0
  482. package/es/tooltip/style/index.js +2 -0
  483. package/es/tooltip/style/index.js.map +1 -0
  484. package/es/tooltip/style/index.less +187 -0
  485. package/es/tooltip/tooltip.js +33 -0
  486. package/es/tooltip/tooltip.js.map +1 -0
  487. package/es/transfer/index.js +1 -1
  488. package/es/transfer/index.js.map +1 -1
  489. package/es/transfer/style/customize.less +62 -0
  490. package/es/transfer/style/index.js +7 -0
  491. package/es/transfer/style/index.js.map +1 -0
  492. package/es/transfer/style/index.less +191 -0
  493. package/es/tree/index.js +1 -1
  494. package/es/tree/index.js.map +1 -1
  495. package/es/tree/style/directory.less +95 -0
  496. package/es/tree/style/index.js +2 -0
  497. package/es/tree/style/index.js.map +1 -0
  498. package/es/tree/style/index.less +280 -0
  499. package/es/tree/style/mixin.less +29 -0
  500. package/es/tree-select/index.js +1 -1
  501. package/es/tree-select/index.js.map +1 -1
  502. package/es/tree-select/style/index.js +6 -0
  503. package/es/tree-select/style/index.js.map +1 -0
  504. package/es/tree-select/style/index.less +191 -0
  505. package/es/typography/index.js +1 -1
  506. package/es/typography/index.js.map +1 -1
  507. package/es/typography/style/index.js +5 -0
  508. package/es/typography/style/index.js.map +1 -0
  509. package/es/typography/style/index.less +204 -0
  510. package/es/upload/index.js +1 -1
  511. package/es/upload/index.js.map +1 -1
  512. package/es/upload/style/index.js +5 -0
  513. package/es/upload/style/index.js.map +1 -0
  514. package/es/upload/style/index.less +542 -0
  515. package/es/version/index.js +1 -1
  516. package/es/version/index.js.map +1 -1
  517. package/es/version/style/index.js +2 -0
  518. package/es/version/style/index.js.map +1 -0
  519. package/lib/_util/context.js +3 -6
  520. package/lib/_util/defaultRenderEmpty.d.ts +2 -2
  521. package/lib/_util/defaultRenderEmpty.d.ts.map +1 -1
  522. package/lib/_util/defaultRenderEmpty.js +4 -5
  523. package/lib/_util/hooks/useFlexGapSupport.js +7 -8
  524. package/lib/_util/hooks/useForceUpdate.js +5 -5
  525. package/lib/_util/motion.js +3 -6
  526. package/lib/_util/reactNode.js +4 -5
  527. package/lib/_util/responsiveObserve.js +6 -9
  528. package/lib/_util/styleChecker.js +3 -5
  529. package/lib/_util/type.js +3 -5
  530. package/lib/_util/warning.js +5 -6
  531. package/lib/actions/index.js +1 -2
  532. package/lib/affix/index.d.ts +1 -1
  533. package/lib/affix/index.d.ts.map +1 -1
  534. package/lib/affix/index.js +5 -6
  535. package/lib/affix/index.js.map +1 -1
  536. package/lib/affix/style/index.d.ts +3 -0
  537. package/lib/affix/style/index.d.ts.map +1 -0
  538. package/lib/affix/style/index.js +4 -0
  539. package/lib/affix/style/index.js.map +1 -0
  540. package/lib/affix/style/index.less +6 -0
  541. package/lib/alert/alert.d.ts +12 -0
  542. package/lib/alert/alert.d.ts.map +1 -0
  543. package/lib/alert/alert.js +92 -0
  544. package/lib/alert/alert.js.map +1 -0
  545. package/lib/alert/alert.less +128 -0
  546. package/lib/alert/index.d.ts +1 -1
  547. package/lib/alert/index.d.ts.map +1 -1
  548. package/lib/alert/index.js +5 -6
  549. package/lib/alert/index.js.map +1 -1
  550. package/lib/alert/style/index.d.ts +3 -0
  551. package/lib/alert/style/index.d.ts.map +1 -0
  552. package/lib/alert/style/index.js +4 -0
  553. package/lib/alert/style/index.js.map +1 -0
  554. package/lib/alert/style/index.less +188 -0
  555. package/lib/anchor/index.d.ts +1 -1
  556. package/lib/anchor/index.d.ts.map +1 -1
  557. package/lib/anchor/index.js +5 -6
  558. package/lib/anchor/index.js.map +1 -1
  559. package/lib/anchor/style/index.d.ts +4 -0
  560. package/lib/anchor/style/index.d.ts.map +1 -0
  561. package/lib/anchor/style/index.js +5 -0
  562. package/lib/anchor/style/index.js.map +1 -0
  563. package/lib/anchor/style/index.less +82 -0
  564. package/lib/array-input/icon.d.ts +3 -2
  565. package/lib/array-input/icon.d.ts.map +1 -1
  566. package/lib/array-input/icon.js +3 -5
  567. package/lib/array-input/index.d.ts +2 -1
  568. package/lib/array-input/index.d.ts.map +1 -1
  569. package/lib/array-input/index.js +8 -10
  570. package/lib/auth-context/index.js +2 -3
  571. package/lib/auto-complete/index.d.ts +1 -1
  572. package/lib/auto-complete/index.d.ts.map +1 -1
  573. package/lib/auto-complete/index.js +5 -6
  574. package/lib/auto-complete/index.js.map +1 -1
  575. package/lib/auto-complete/style/index.d.ts +5 -0
  576. package/lib/auto-complete/style/index.d.ts.map +1 -0
  577. package/lib/auto-complete/style/index.js +6 -0
  578. package/lib/auto-complete/style/index.js.map +1 -0
  579. package/lib/auto-complete/style/index.less +92 -0
  580. package/lib/avatar/index.d.ts +1 -1
  581. package/lib/avatar/index.d.ts.map +1 -1
  582. package/lib/avatar/index.js +5 -6
  583. package/lib/avatar/index.js.map +1 -1
  584. package/lib/avatar/style/index.d.ts +3 -0
  585. package/lib/avatar/style/index.d.ts.map +1 -0
  586. package/lib/avatar/style/index.js +4 -0
  587. package/lib/avatar/style/index.js.map +1 -0
  588. package/lib/avatar/style/index.less +59 -0
  589. package/lib/back-top/index.d.ts +1 -1
  590. package/lib/back-top/index.d.ts.map +1 -1
  591. package/lib/back-top/index.js +5 -6
  592. package/lib/back-top/index.js.map +1 -1
  593. package/lib/back-top/style/index.d.ts +3 -0
  594. package/lib/back-top/style/index.d.ts.map +1 -0
  595. package/lib/back-top/style/index.js +4 -0
  596. package/lib/back-top/style/index.js.map +1 -0
  597. package/lib/back-top/style/index.less +42 -0
  598. package/lib/back-top/style/responsive.less +11 -0
  599. package/lib/badge/index.d.ts +1 -1
  600. package/lib/badge/index.d.ts.map +1 -1
  601. package/lib/badge/index.js +5 -6
  602. package/lib/badge/index.js.map +1 -1
  603. package/lib/badge/style/index.d.ts +3 -0
  604. package/lib/badge/style/index.d.ts.map +1 -0
  605. package/lib/badge/style/index.js +4 -0
  606. package/lib/badge/style/index.js.map +1 -0
  607. package/lib/badge/style/index.less +190 -0
  608. package/lib/breadcrumb/index.d.ts +1 -1
  609. package/lib/breadcrumb/index.d.ts.map +1 -1
  610. package/lib/breadcrumb/index.js +5 -6
  611. package/lib/breadcrumb/index.js.map +1 -1
  612. package/lib/breadcrumb/style/index.d.ts +5 -0
  613. package/lib/breadcrumb/style/index.d.ts.map +1 -0
  614. package/lib/breadcrumb/style/index.js +6 -0
  615. package/lib/breadcrumb/style/index.js.map +1 -0
  616. package/lib/breadcrumb/style/index.less +52 -0
  617. package/lib/button/button.js +6 -9
  618. package/lib/button/button.less +72 -0
  619. package/lib/button/index.d.ts +1 -1
  620. package/lib/button/index.d.ts.map +1 -1
  621. package/lib/button/index.js +2 -3
  622. package/lib/button/index.js.map +1 -1
  623. package/lib/button/style/index.d.ts +3 -0
  624. package/lib/button/style/index.d.ts.map +1 -0
  625. package/lib/button/style/index.js +4 -0
  626. package/lib/button/style/index.js.map +1 -0
  627. package/lib/button/style/index.less +224 -0
  628. package/lib/button/style/mixin.less +357 -0
  629. package/lib/calendar/index.d.ts +1 -1
  630. package/lib/calendar/index.d.ts.map +1 -1
  631. package/lib/calendar/index.js +5 -6
  632. package/lib/calendar/index.js.map +1 -1
  633. package/lib/calendar/style/index.d.ts +5 -0
  634. package/lib/calendar/style/index.d.ts.map +1 -0
  635. package/lib/calendar/style/index.js +6 -0
  636. package/lib/calendar/style/index.js.map +1 -0
  637. package/lib/calendar/style/index.less +278 -0
  638. package/lib/card/card.js +5 -8
  639. package/lib/card/index.d.ts +1 -1
  640. package/lib/card/index.d.ts.map +1 -1
  641. package/lib/card/index.js +2 -3
  642. package/lib/card/index.js.map +1 -1
  643. package/lib/card/style/index.d.ts +6 -0
  644. package/lib/card/style/index.d.ts.map +1 -0
  645. package/lib/card/style/index.js +7 -0
  646. package/lib/card/style/index.js.map +1 -0
  647. package/lib/card/style/index.less +263 -0
  648. package/lib/card/style/size.less +25 -0
  649. package/lib/carousel/index.d.ts +1 -1
  650. package/lib/carousel/index.d.ts.map +1 -1
  651. package/lib/carousel/index.js +5 -6
  652. package/lib/carousel/index.js.map +1 -1
  653. package/lib/carousel/style/index.d.ts +3 -0
  654. package/lib/carousel/style/index.d.ts.map +1 -0
  655. package/lib/carousel/style/index.js +4 -0
  656. package/lib/carousel/style/index.js.map +1 -0
  657. package/lib/carousel/style/index.less +238 -0
  658. package/lib/cascader/index.d.ts +1 -1
  659. package/lib/cascader/index.d.ts.map +1 -1
  660. package/lib/cascader/index.js +6 -8
  661. package/lib/cascader/index.js.map +1 -1
  662. package/lib/cascader/style/index.d.ts +5 -0
  663. package/lib/cascader/style/index.d.ts.map +1 -0
  664. package/lib/cascader/style/index.js +6 -0
  665. package/lib/cascader/style/index.js.map +1 -0
  666. package/lib/cascader/style/index.less +227 -0
  667. package/lib/check-card/group.js +9 -14
  668. package/lib/check-card/index.js +10 -14
  669. package/lib/checkbox/check.png +0 -0
  670. package/lib/checkbox/checkbox-group.js +1 -2
  671. package/lib/checkbox/checkbox.d.ts +16 -0
  672. package/lib/checkbox/checkbox.d.ts.map +1 -0
  673. package/lib/checkbox/checkbox.js +65 -0
  674. package/lib/checkbox/checkbox.js.map +1 -0
  675. package/lib/checkbox/checkbox.less +69 -0
  676. package/lib/checkbox/index.d.ts +1 -1
  677. package/lib/checkbox/index.d.ts.map +1 -1
  678. package/lib/checkbox/index.js +5 -6
  679. package/lib/checkbox/index.js.map +1 -1
  680. package/lib/checkbox/style/index.d.ts +3 -0
  681. package/lib/checkbox/style/index.d.ts.map +1 -0
  682. package/lib/checkbox/style/index.js +4 -0
  683. package/lib/checkbox/style/index.js.map +1 -0
  684. package/lib/checkbox/style/index.less +4 -0
  685. package/lib/checkbox/style/mixin.less +220 -0
  686. package/lib/col/index.d.ts +1 -1
  687. package/lib/col/index.d.ts.map +1 -1
  688. package/lib/col/index.js +5 -6
  689. package/lib/col/index.js.map +1 -1
  690. package/lib/col/style/index.d.ts +3 -0
  691. package/lib/col/style/index.d.ts.map +1 -0
  692. package/lib/col/style/index.js +4 -0
  693. package/lib/col/style/index.js.map +1 -0
  694. package/lib/collapse/index.d.ts +1 -1
  695. package/lib/collapse/index.d.ts.map +1 -1
  696. package/lib/collapse/index.js +5 -6
  697. package/lib/collapse/index.js.map +1 -1
  698. package/lib/collapse/style/index.d.ts +3 -0
  699. package/lib/collapse/style/index.d.ts.map +1 -0
  700. package/lib/collapse/style/index.js +4 -0
  701. package/lib/collapse/style/index.js.map +1 -0
  702. package/lib/collapse/style/index.less +135 -0
  703. package/lib/color-picker/ColorPicker.d.ts +4 -2
  704. package/lib/color-picker/ColorPicker.d.ts.map +1 -1
  705. package/lib/color-picker/ColorPicker.js +11 -13
  706. package/lib/color-picker/ColorPicker.js.map +1 -1
  707. package/lib/color-picker/index.d.ts +2 -1
  708. package/lib/color-picker/index.d.ts.map +1 -1
  709. package/lib/color-picker/index.less +25 -8
  710. package/lib/columns/index.d.ts +3 -2
  711. package/lib/columns/index.d.ts.map +1 -1
  712. package/lib/columns/index.js +3 -7
  713. package/lib/comment/index.d.ts +1 -1
  714. package/lib/comment/index.d.ts.map +1 -1
  715. package/lib/comment/index.js +5 -6
  716. package/lib/comment/index.js.map +1 -1
  717. package/lib/comment/style/index.d.ts +3 -0
  718. package/lib/comment/style/index.d.ts.map +1 -0
  719. package/lib/comment/style/index.js +4 -0
  720. package/lib/comment/style/index.js.map +1 -0
  721. package/lib/comment/style/index.less +93 -0
  722. package/lib/config-provider/DisabledContext.js +5 -7
  723. package/lib/config-provider/SizeContext.js +5 -7
  724. package/lib/config-provider/index.d.ts +1 -1
  725. package/lib/config-provider/index.d.ts.map +1 -1
  726. package/lib/config-provider/index.js +5 -6
  727. package/lib/config-provider/index.js.map +1 -1
  728. package/lib/config-provider/style/index.d.ts +2 -0
  729. package/lib/config-provider/style/index.d.ts.map +1 -0
  730. package/lib/config-provider/style/index.js +3 -0
  731. package/lib/config-provider/style/index.js.map +1 -0
  732. package/lib/config-provider/style/index.less +2 -0
  733. package/lib/connect/index.js +5 -11
  734. package/lib/date-picker/DatePicker.d.ts +21 -0
  735. package/lib/date-picker/DatePicker.d.ts.map +1 -0
  736. package/lib/date-picker/DatePicker.js +128 -0
  737. package/lib/date-picker/DatePicker.js.map +1 -0
  738. package/lib/date-picker/index.d.ts +1 -1
  739. package/lib/date-picker/index.d.ts.map +1 -1
  740. package/lib/date-picker/index.js +6 -8
  741. package/lib/date-picker/index.js.map +1 -1
  742. package/lib/date-picker/index.less +294 -0
  743. package/lib/date-picker/style/Calendar.less +402 -0
  744. package/lib/date-picker/style/DecadePanel.less +81 -0
  745. package/lib/date-picker/style/MonthPanel.less +86 -0
  746. package/lib/date-picker/style/MonthPicker.less +11 -0
  747. package/lib/date-picker/style/Picker.less +114 -0
  748. package/lib/date-picker/style/RangePicker.less +248 -0
  749. package/lib/date-picker/style/TimePicker.less +151 -0
  750. package/lib/date-picker/style/WeekPicker.less +21 -0
  751. package/lib/date-picker/style/YearPanel.less +85 -0
  752. package/lib/date-picker/style/index.d.ts +6 -0
  753. package/lib/date-picker/style/index.d.ts.map +1 -0
  754. package/lib/date-picker/style/index.js +7 -0
  755. package/lib/date-picker/style/index.js.map +1 -0
  756. package/lib/date-picker/style/index.less +17 -0
  757. package/lib/descriptions/descriptions.d.ts +10 -4
  758. package/lib/descriptions/descriptions.d.ts.map +1 -1
  759. package/lib/descriptions/descriptions.js +41 -30
  760. package/lib/descriptions/descriptions.js.map +1 -1
  761. package/lib/descriptions/descriptions.less +104 -16
  762. package/lib/descriptions/index.d.ts +1 -1
  763. package/lib/descriptions/index.d.ts.map +1 -1
  764. package/lib/descriptions/index.js +2 -3
  765. package/lib/descriptions/index.js.map +1 -1
  766. package/lib/descriptions/style/index.d.ts +3 -0
  767. package/lib/descriptions/style/index.d.ts.map +1 -0
  768. package/lib/descriptions/style/index.js +4 -0
  769. package/lib/descriptions/style/index.js.map +1 -0
  770. package/lib/descriptions/style/index.less +144 -0
  771. package/lib/development-login/LoginModal.d.ts +2 -1
  772. package/lib/development-login/LoginModal.d.ts.map +1 -1
  773. package/lib/development-login/LoginModal.js +9 -10
  774. package/lib/development-login/index.d.ts +2 -1
  775. package/lib/development-login/index.d.ts.map +1 -1
  776. package/lib/development-login/index.js +9 -8
  777. package/lib/divider/index.d.ts +1 -1
  778. package/lib/divider/index.d.ts.map +1 -1
  779. package/lib/divider/index.js +5 -6
  780. package/lib/divider/index.js.map +1 -1
  781. package/lib/divider/style/index.d.ts +3 -0
  782. package/lib/divider/style/index.d.ts.map +1 -0
  783. package/lib/divider/style/index.js +4 -0
  784. package/lib/divider/style/index.js.map +1 -0
  785. package/lib/divider/style/index.less +109 -0
  786. package/lib/drawer/drawer.js +6 -9
  787. package/lib/drawer/drawer.less +1 -1
  788. package/lib/drawer/index.d.ts +1 -1
  789. package/lib/drawer/index.d.ts.map +1 -1
  790. package/lib/drawer/index.js +2 -3
  791. package/lib/drawer/index.js.map +1 -1
  792. package/lib/drawer/index.less +154 -0
  793. package/lib/drawer/style/drawer.less +232 -0
  794. package/lib/drawer/style/index.d.ts +3 -0
  795. package/lib/drawer/style/index.d.ts.map +1 -0
  796. package/lib/drawer/style/index.js +4 -0
  797. package/lib/drawer/style/index.js.map +1 -0
  798. package/lib/drawer/style/index.less +3 -0
  799. package/lib/dropdown/index.d.ts +1 -1
  800. package/lib/dropdown/index.d.ts.map +1 -1
  801. package/lib/dropdown/index.js +5 -6
  802. package/lib/dropdown/index.js.map +1 -1
  803. package/lib/dropdown/style/index.d.ts +4 -0
  804. package/lib/dropdown/style/index.d.ts.map +1 -0
  805. package/lib/dropdown/style/index.js +5 -0
  806. package/lib/dropdown/style/index.js.map +1 -0
  807. package/lib/dropdown/style/index.less +283 -0
  808. package/lib/ellipsis/Svg/CopySVG.d.ts +2 -1
  809. package/lib/ellipsis/Svg/CopySVG.d.ts.map +1 -1
  810. package/lib/ellipsis/Svg/CopySVG.js +2 -3
  811. package/lib/ellipsis/Svg/TickSVG.d.ts +2 -1
  812. package/lib/ellipsis/Svg/TickSVG.d.ts.map +1 -1
  813. package/lib/ellipsis/Svg/TickSVG.js +2 -3
  814. package/lib/ellipsis/index.d.ts +2 -1
  815. package/lib/ellipsis/index.d.ts.map +1 -1
  816. package/lib/ellipsis/index.js +12 -9
  817. package/lib/empty/empty.d.ts +2 -2
  818. package/lib/empty/empty.d.ts.map +1 -1
  819. package/lib/empty/empty.js +8 -12
  820. package/lib/empty/empty.stories.js +2 -4
  821. package/lib/empty/index.d.ts +1 -1
  822. package/lib/empty/index.d.ts.map +1 -1
  823. package/lib/empty/index.js +2 -3
  824. package/lib/empty/index.js.map +1 -1
  825. package/lib/empty/style/index.d.ts +3 -0
  826. package/lib/empty/style/index.d.ts.map +1 -0
  827. package/lib/empty/style/index.js +4 -0
  828. package/lib/empty/style/index.js.map +1 -0
  829. package/lib/empty/style/index.less +52 -0
  830. package/lib/exception/exception.js +1 -2
  831. package/lib/exception/index.js +1 -2
  832. package/lib/form/form.js +7 -10
  833. package/lib/form/form.less +36 -0
  834. package/lib/form/index.d.ts +1 -1
  835. package/lib/form/index.d.ts.map +1 -1
  836. package/lib/form/index.js +2 -3
  837. package/lib/form/index.js.map +1 -1
  838. package/lib/form/style/index.d.ts +4 -0
  839. package/lib/form/style/index.d.ts.map +1 -0
  840. package/lib/form/style/index.js +5 -0
  841. package/lib/form/style/index.js.map +1 -0
  842. package/lib/form/style/index.less +653 -0
  843. package/lib/form/style/mixin.less +126 -0
  844. package/lib/grid/RowContext.js +1 -2
  845. package/lib/grid/col.js +9 -14
  846. package/lib/grid/hooks/useBreakpoint.js +1 -2
  847. package/lib/grid/index.d.ts +3 -10
  848. package/lib/grid/index.d.ts.map +1 -1
  849. package/lib/grid/index.js +17 -24
  850. package/lib/grid/index.js.map +1 -1
  851. package/lib/grid/row.js +10 -14
  852. package/lib/grid/style/index.d.ts +1 -0
  853. package/lib/grid/style/index.d.ts.map +1 -1
  854. package/lib/grid/style/index.js +1 -0
  855. package/lib/grid/style/index.js.map +1 -1
  856. package/lib/grid/style/index.less +24 -26
  857. package/lib/grid/style/mixin.less +63 -19
  858. package/lib/grid-v4/RowContext.d.ts +9 -0
  859. package/lib/grid-v4/RowContext.d.ts.map +1 -0
  860. package/lib/grid-v4/RowContext.js +9 -0
  861. package/lib/grid-v4/RowContext.js.map +1 -0
  862. package/lib/grid-v4/col.d.ts +29 -0
  863. package/lib/grid-v4/col.d.ts.map +1 -0
  864. package/lib/grid-v4/col.js +100 -0
  865. package/lib/grid-v4/col.js.map +1 -0
  866. package/lib/grid-v4/hooks/useBreakpoint.d.ts +4 -0
  867. package/lib/grid-v4/hooks/useBreakpoint.d.ts.map +1 -0
  868. package/lib/grid-v4/hooks/useBreakpoint.js +28 -0
  869. package/lib/grid-v4/hooks/useBreakpoint.js.map +1 -0
  870. package/lib/grid-v4/index.d.ts +12 -0
  871. package/lib/grid-v4/index.d.ts.map +1 -0
  872. package/lib/grid-v4/index.js +30 -0
  873. package/lib/grid-v4/index.js.map +1 -0
  874. package/lib/grid-v4/row.d.ts +21 -0
  875. package/lib/grid-v4/row.d.ts.map +1 -0
  876. package/lib/grid-v4/row.js +183 -0
  877. package/lib/grid-v4/row.js.map +1 -0
  878. package/lib/grid-v4/style/index.d.ts +2 -0
  879. package/lib/grid-v4/style/index.d.ts.map +1 -0
  880. package/lib/grid-v4/style/index.js +3 -0
  881. package/lib/grid-v4/style/index.js.map +1 -0
  882. package/lib/grid-v4/style/index.less +124 -0
  883. package/lib/grid-v4/style/mixin.less +57 -0
  884. package/lib/grid-v4/style/rtl.less +69 -0
  885. package/lib/handle/index.d.ts +2 -1
  886. package/lib/handle/index.d.ts.map +1 -1
  887. package/lib/handle/index.js +6 -9
  888. package/lib/icon/IconFont.js +4 -6
  889. package/lib/icon/components/Icon.js +16 -22
  890. package/lib/icon/components/utils.js +7 -9
  891. package/lib/icon/index.d.ts +1 -0
  892. package/lib/icon/index.d.ts.map +1 -1
  893. package/lib/icon/index.js +10 -13
  894. package/lib/icon/index.js.map +1 -1
  895. package/lib/icon/style/index.d.ts +4 -0
  896. package/lib/icon/style/index.d.ts.map +1 -0
  897. package/lib/icon/style/index.js +5 -0
  898. package/lib/icon/style/index.js.map +1 -0
  899. package/lib/icon/style/index.less +4 -0
  900. package/lib/icon/style/style.less +6 -0
  901. package/lib/icon/utils.js +1 -2
  902. package/lib/icon-list/index.js +1 -2
  903. package/lib/icon-old/index.d.ts +5 -0
  904. package/lib/icon-old/index.d.ts.map +1 -0
  905. package/lib/icon-old/index.js +24 -0
  906. package/lib/icon-old/index.js.map +1 -0
  907. package/lib/icon-old/style/index.d.ts +3 -0
  908. package/lib/icon-old/style/index.d.ts.map +1 -0
  909. package/lib/icon-old/style/index.js +4 -0
  910. package/lib/icon-old/style/index.js.map +1 -0
  911. package/lib/icon-old/style/index.less +4 -0
  912. package/lib/img/Contain.d.ts +2 -1
  913. package/lib/img/Contain.d.ts.map +1 -1
  914. package/lib/img/Contain.js +3 -6
  915. package/lib/img/Cover.d.ts +2 -1
  916. package/lib/img/Cover.d.ts.map +1 -1
  917. package/lib/img/Cover.js +8 -11
  918. package/lib/img/index.d.ts +2 -1
  919. package/lib/img/index.d.ts.map +1 -1
  920. package/lib/img/index.js +8 -11
  921. package/lib/index.d.ts +3 -2
  922. package/lib/index.d.ts.map +1 -1
  923. package/lib/index.js +10 -3
  924. package/lib/index.js.map +1 -1
  925. package/lib/input/index.d.ts +1 -1
  926. package/lib/input/index.d.ts.map +1 -1
  927. package/lib/input/index.js +2 -3
  928. package/lib/input/index.js.map +1 -1
  929. package/lib/input/input.js +8 -12
  930. package/lib/input/style/index.d.ts +4 -0
  931. package/lib/input/style/index.d.ts.map +1 -0
  932. package/lib/input/style/index.js +5 -0
  933. package/lib/input/style/index.js.map +1 -0
  934. package/lib/input/style/index.less +57 -0
  935. package/lib/input/style/mixin.less +449 -0
  936. package/lib/input/style/search-input.less +34 -0
  937. package/lib/input-number/index.d.ts +1 -1
  938. package/lib/input-number/index.d.ts.map +1 -1
  939. package/lib/input-number/index.js +5 -6
  940. package/lib/input-number/index.js.map +1 -1
  941. package/lib/input-number/inputNumber.d.ts +10 -0
  942. package/lib/input-number/inputNumber.d.ts.map +1 -0
  943. package/lib/input-number/inputNumber.js +48 -0
  944. package/lib/input-number/inputNumber.js.map +1 -0
  945. package/lib/input-number/inputNumber.less +12 -0
  946. package/lib/input-number/style/index.d.ts +3 -0
  947. package/lib/input-number/style/index.d.ts.map +1 -0
  948. package/lib/input-number/style/index.js +4 -0
  949. package/lib/input-number/style/index.js.map +1 -0
  950. package/lib/input-number/style/index.less +179 -0
  951. package/lib/label/index.d.ts +2 -2
  952. package/lib/label/index.d.ts.map +1 -1
  953. package/lib/label/index.js +10 -17
  954. package/lib/layout/index.d.ts +1 -1
  955. package/lib/layout/index.d.ts.map +1 -1
  956. package/lib/layout/index.js +5 -6
  957. package/lib/layout/index.js.map +1 -1
  958. package/lib/layout/style/index.d.ts +3 -0
  959. package/lib/layout/style/index.d.ts.map +1 -0
  960. package/lib/layout/style/index.js +4 -0
  961. package/lib/layout/style/index.js.map +1 -0
  962. package/lib/layout/style/index.less +124 -0
  963. package/lib/layout/style/light.less +15 -0
  964. package/lib/list/index.d.ts +1 -1
  965. package/lib/list/index.d.ts.map +1 -1
  966. package/lib/list/index.js +5 -6
  967. package/lib/list/index.js.map +1 -1
  968. package/lib/list/style/bordered.less +41 -0
  969. package/lib/list/style/index.d.ts +7 -0
  970. package/lib/list/style/index.d.ts.map +1 -0
  971. package/lib/list/style/index.js +8 -0
  972. package/lib/list/style/index.js.map +1 -0
  973. package/lib/list/style/index.less +234 -0
  974. package/lib/list/style/responsive.less +40 -0
  975. package/lib/loading-button/index.d.ts +2 -1
  976. package/lib/loading-button/index.d.ts.map +1 -1
  977. package/lib/loading-button/index.js +8 -11
  978. package/lib/locale/default.js +1 -2
  979. package/lib/locale/en_US.js +1 -2
  980. package/lib/locale/zh_CN.js +1 -2
  981. package/lib/locale-provider/index.d.ts +1 -1
  982. package/lib/locale-provider/index.d.ts.map +1 -1
  983. package/lib/locale-provider/index.js +5 -6
  984. package/lib/locale-provider/index.js.map +1 -1
  985. package/lib/locale-provider/style/index.d.ts +2 -0
  986. package/lib/locale-provider/style/index.d.ts.map +1 -0
  987. package/lib/locale-provider/style/index.js +3 -0
  988. package/lib/locale-provider/style/index.js.map +1 -0
  989. package/lib/locale-provider/style/index.less +2 -0
  990. package/lib/mentions/index.d.ts +1 -1
  991. package/lib/mentions/index.d.ts.map +1 -1
  992. package/lib/mentions/index.js +5 -6
  993. package/lib/mentions/index.js.map +1 -1
  994. package/lib/mentions/style/index.d.ts +4 -0
  995. package/lib/mentions/style/index.d.ts.map +1 -0
  996. package/lib/mentions/style/index.js +5 -0
  997. package/lib/mentions/style/index.js.map +1 -0
  998. package/lib/mentions/style/index.less +164 -0
  999. package/lib/menu/index.d.ts +1 -1
  1000. package/lib/menu/index.d.ts.map +1 -1
  1001. package/lib/menu/index.js +5 -6
  1002. package/lib/menu/index.js.map +1 -1
  1003. package/lib/menu/style/dark.less +139 -0
  1004. package/lib/menu/style/index.d.ts +4 -0
  1005. package/lib/menu/style/index.d.ts.map +1 -0
  1006. package/lib/menu/style/index.js +5 -0
  1007. package/lib/menu/style/index.js.map +1 -0
  1008. package/lib/menu/style/index.less +515 -0
  1009. package/lib/message/index.d.ts +1 -1
  1010. package/lib/message/index.d.ts.map +1 -1
  1011. package/lib/message/index.js +5 -6
  1012. package/lib/message/index.js.map +1 -1
  1013. package/lib/message/style/index.d.ts +3 -0
  1014. package/lib/message/style/index.d.ts.map +1 -0
  1015. package/lib/message/style/index.js +4 -0
  1016. package/lib/message/style/index.js.map +1 -0
  1017. package/lib/message/style/index.less +75 -0
  1018. package/lib/modal/index.d.ts +1 -1
  1019. package/lib/modal/index.d.ts.map +1 -1
  1020. package/lib/modal/index.js +2 -3
  1021. package/lib/modal/index.js.map +1 -1
  1022. package/lib/modal/index.less +36 -0
  1023. package/lib/modal/modal.d.ts +1 -1
  1024. package/lib/modal/modal.d.ts.map +1 -1
  1025. package/lib/modal/modal.js +56 -17
  1026. package/lib/modal/modal.js.map +1 -1
  1027. package/lib/modal/modal.less +13 -32
  1028. package/lib/modal/style/confirm.less +96 -0
  1029. package/lib/modal/style/index.d.ts +4 -0
  1030. package/lib/modal/style/index.d.ts.map +1 -0
  1031. package/lib/modal/style/index.js +5 -0
  1032. package/lib/modal/style/index.js.map +1 -0
  1033. package/lib/modal/style/index.less +4 -0
  1034. package/lib/modal/style/modal.less +169 -0
  1035. package/lib/notification/assets/index.d.ts +3 -0
  1036. package/lib/notification/assets/index.d.ts.map +1 -0
  1037. package/lib/notification/assets/index.js +20 -0
  1038. package/lib/notification/assets/index.js.map +1 -0
  1039. package/lib/notification/assets/svg-error-tip.d.ts +4 -0
  1040. package/lib/notification/assets/svg-error-tip.d.ts.map +1 -0
  1041. package/lib/notification/assets/svg-error-tip.js +154 -0
  1042. package/lib/notification/assets/svg-error-tip.js.map +1 -0
  1043. package/lib/notification/assets/svg-success-tip.d.ts +4 -0
  1044. package/lib/notification/assets/svg-success-tip.d.ts.map +1 -0
  1045. package/lib/notification/assets/svg-success-tip.js +171 -0
  1046. package/lib/notification/assets/svg-success-tip.js.map +1 -0
  1047. package/lib/notification/index.d.ts +1 -1
  1048. package/lib/notification/index.d.ts.map +1 -1
  1049. package/lib/notification/index.js +5 -6
  1050. package/lib/notification/index.js.map +1 -1
  1051. package/lib/notification/notification.d.ts +9 -0
  1052. package/lib/notification/notification.d.ts.map +1 -0
  1053. package/lib/notification/notification.js +105 -0
  1054. package/lib/notification/notification.js.map +1 -0
  1055. package/lib/notification/notification.less +59 -0
  1056. package/lib/notification/style/index.d.ts +3 -0
  1057. package/lib/notification/style/index.d.ts.map +1 -0
  1058. package/lib/notification/style/index.js +4 -0
  1059. package/lib/notification/style/index.js.map +1 -0
  1060. package/lib/notification/style/index.less +201 -0
  1061. package/lib/page/Box.d.ts +2 -1
  1062. package/lib/page/Box.d.ts.map +1 -1
  1063. package/lib/page/Box.js +2 -5
  1064. package/lib/page/index.d.ts +2 -1
  1065. package/lib/page/index.d.ts.map +1 -1
  1066. package/lib/page/index.js +7 -12
  1067. package/lib/page/utils.js +4 -7
  1068. package/lib/page-header/index.d.ts +1 -1
  1069. package/lib/page-header/index.d.ts.map +1 -1
  1070. package/lib/page-header/index.js +5 -6
  1071. package/lib/page-header/index.js.map +1 -1
  1072. package/lib/page-header/style/index.d.ts +4 -0
  1073. package/lib/page-header/style/index.d.ts.map +1 -0
  1074. package/lib/page-header/style/index.js +5 -0
  1075. package/lib/page-header/style/index.js.map +1 -0
  1076. package/lib/page-header/style/index.less +119 -0
  1077. package/lib/pagination/index.d.ts +1 -1
  1078. package/lib/pagination/index.d.ts.map +1 -1
  1079. package/lib/pagination/index.js +5 -6
  1080. package/lib/pagination/index.js.map +1 -1
  1081. package/lib/pagination/style/index.d.ts +4 -0
  1082. package/lib/pagination/style/index.d.ts.map +1 -0
  1083. package/lib/pagination/style/index.js +5 -0
  1084. package/lib/pagination/style/index.js.map +1 -0
  1085. package/lib/pagination/style/index.less +400 -0
  1086. package/lib/popconfirm/index.d.ts +1 -1
  1087. package/lib/popconfirm/index.d.ts.map +1 -1
  1088. package/lib/popconfirm/index.js +5 -6
  1089. package/lib/popconfirm/index.js.map +1 -1
  1090. package/lib/popconfirm/index.less +32 -0
  1091. package/lib/popconfirm/popconfirm.d.ts +8 -0
  1092. package/lib/popconfirm/popconfirm.d.ts.map +1 -0
  1093. package/lib/popconfirm/popconfirm.js +61 -0
  1094. package/lib/popconfirm/popconfirm.js.map +1 -0
  1095. package/lib/popconfirm/style/index.d.ts +4 -0
  1096. package/lib/popconfirm/style/index.d.ts.map +1 -0
  1097. package/lib/popconfirm/style/index.js +5 -0
  1098. package/lib/popconfirm/style/index.js.map +1 -0
  1099. package/lib/popover/index.d.ts +1 -1
  1100. package/lib/popover/index.d.ts.map +1 -1
  1101. package/lib/popover/index.js +5 -6
  1102. package/lib/popover/index.js.map +1 -1
  1103. package/lib/popover/index.less +57 -0
  1104. package/lib/popover/popover.d.ts +14 -0
  1105. package/lib/popover/popover.d.ts.map +1 -0
  1106. package/lib/popover/popover.js +55 -0
  1107. package/lib/popover/popover.js.map +1 -0
  1108. package/lib/popover/style/index.d.ts +3 -0
  1109. package/lib/popover/style/index.d.ts.map +1 -0
  1110. package/lib/popover/style/index.js +4 -0
  1111. package/lib/popover/style/index.js.map +1 -0
  1112. package/lib/popover/style/index.less +206 -0
  1113. package/lib/prev-locale.js +6 -11
  1114. package/lib/preview-text/index.js +5 -7
  1115. package/lib/progress/index.d.ts +1 -1
  1116. package/lib/progress/index.d.ts.map +1 -1
  1117. package/lib/progress/index.js +5 -6
  1118. package/lib/progress/index.js.map +1 -1
  1119. package/lib/progress/progress.d.ts +12 -0
  1120. package/lib/progress/progress.d.ts.map +1 -0
  1121. package/lib/progress/progress.js +148 -0
  1122. package/lib/progress/progress.js.map +1 -0
  1123. package/lib/progress/progress.less +82 -0
  1124. package/lib/progress/style/index.d.ts +3 -0
  1125. package/lib/progress/style/index.d.ts.map +1 -0
  1126. package/lib/progress/style/index.js +4 -0
  1127. package/lib/progress/style/index.js.map +1 -0
  1128. package/lib/progress/style/index.less +182 -0
  1129. package/lib/query-form/Field/Checkbox.d.ts +2 -1
  1130. package/lib/query-form/Field/Checkbox.d.ts.map +1 -1
  1131. package/lib/query-form/Field/Checkbox.js +3 -6
  1132. package/lib/query-form/Field/Composition/FieldPopover.d.ts +17 -0
  1133. package/lib/query-form/Field/Composition/FieldPopover.d.ts.map +1 -0
  1134. package/lib/query-form/Field/Composition/FieldPopover.js +319 -0
  1135. package/lib/query-form/Field/Composition/FieldPopover.js.map +1 -0
  1136. package/lib/query-form/Field/Composition/FieldPopover.less +35 -0
  1137. package/lib/query-form/Field/Composition/Select.d.ts +4 -0
  1138. package/lib/query-form/Field/Composition/Select.d.ts.map +1 -0
  1139. package/lib/query-form/Field/Composition/Select.js +132 -0
  1140. package/lib/query-form/Field/Composition/Select.js.map +1 -0
  1141. package/lib/query-form/Field/Composition/index.d.ts +14 -0
  1142. package/lib/query-form/Field/Composition/index.d.ts.map +1 -0
  1143. package/lib/query-form/Field/Composition/index.js +330 -0
  1144. package/lib/query-form/Field/Composition/index.js.map +1 -0
  1145. package/lib/query-form/Field/Composition/index.less +106 -0
  1146. package/lib/query-form/Field/Composition/utils.d.ts +6 -0
  1147. package/lib/query-form/Field/Composition/utils.d.ts.map +1 -0
  1148. package/lib/query-form/Field/Composition/utils.js +27 -0
  1149. package/lib/query-form/Field/Composition/utils.js.map +1 -0
  1150. package/lib/query-form/Field/Select.d.ts +2 -1
  1151. package/lib/query-form/Field/Select.d.ts.map +1 -1
  1152. package/lib/query-form/Field/Select.js +10 -13
  1153. package/lib/query-form/Field/SelectInput.d.ts +2 -1
  1154. package/lib/query-form/Field/SelectInput.d.ts.map +1 -1
  1155. package/lib/query-form/Field/SelectInput.js +10 -13
  1156. package/lib/query-form/Field/fieldsMap.js +4 -7
  1157. package/lib/query-form/Field/index.d.ts +1 -1
  1158. package/lib/query-form/Field/index.d.ts.map +1 -1
  1159. package/lib/query-form/Field/index.js +19 -24
  1160. package/lib/query-form/createActions.js +2 -3
  1161. package/lib/query-form/index.d.ts +1 -1
  1162. package/lib/query-form/index.d.ts.map +1 -1
  1163. package/lib/query-form/index.js +22 -25
  1164. package/lib/query-list-scene/List.d.ts +1 -1
  1165. package/lib/query-list-scene/List.d.ts.map +1 -1
  1166. package/lib/query-list-scene/List.js +24 -29
  1167. package/lib/query-list-scene/QueryForm.d.ts +1 -1
  1168. package/lib/query-list-scene/QueryForm.d.ts.map +1 -1
  1169. package/lib/query-list-scene/QueryForm.js +17 -22
  1170. package/lib/query-list-scene/QueryListScene.d.ts +1 -1
  1171. package/lib/query-list-scene/QueryListScene.d.ts.map +1 -1
  1172. package/lib/query-list-scene/QueryListScene.js +14 -18
  1173. package/lib/query-list-scene/Title.d.ts +2 -1
  1174. package/lib/query-list-scene/Title.d.ts.map +1 -1
  1175. package/lib/query-list-scene/Title.js +2 -3
  1176. package/lib/query-list-scene/Toolbar.d.ts +2 -1
  1177. package/lib/query-list-scene/Toolbar.d.ts.map +1 -1
  1178. package/lib/query-list-scene/Toolbar.js +6 -9
  1179. package/lib/query-list-scene/createActions.js +2 -3
  1180. package/lib/query-list-scene/index.js +4 -8
  1181. package/lib/radio/index.d.ts +1 -1
  1182. package/lib/radio/index.d.ts.map +1 -1
  1183. package/lib/radio/index.js +5 -6
  1184. package/lib/radio/index.js.map +1 -1
  1185. package/lib/radio/radio-group.js +1 -2
  1186. package/lib/radio/radio.d.ts +17 -0
  1187. package/lib/radio/radio.d.ts.map +1 -0
  1188. package/lib/radio/radio.js +75 -0
  1189. package/lib/radio/radio.js.map +1 -0
  1190. package/lib/radio/radio.less +43 -0
  1191. package/lib/radio/style/index.d.ts +3 -0
  1192. package/lib/radio/style/index.d.ts.map +1 -0
  1193. package/lib/radio/style/index.js +4 -0
  1194. package/lib/radio/style/index.js.map +1 -0
  1195. package/lib/radio/style/index.less +327 -0
  1196. package/lib/rate/index.d.ts +1 -1
  1197. package/lib/rate/index.d.ts.map +1 -1
  1198. package/lib/rate/index.js +5 -6
  1199. package/lib/rate/index.js.map +1 -1
  1200. package/lib/rate/style/index.d.ts +4 -0
  1201. package/lib/rate/style/index.d.ts.map +1 -0
  1202. package/lib/rate/style/index.js +5 -0
  1203. package/lib/rate/style/index.js.map +1 -0
  1204. package/lib/rate/style/index.less +85 -0
  1205. package/lib/render-empty/index.js +1 -2
  1206. package/lib/render-empty/render-empty.js +2 -3
  1207. package/lib/result/index.d.ts +1 -1
  1208. package/lib/result/index.d.ts.map +1 -1
  1209. package/lib/result/index.js +5 -6
  1210. package/lib/result/index.js.map +1 -1
  1211. package/lib/result/style/index.d.ts +3 -0
  1212. package/lib/result/style/index.d.ts.map +1 -0
  1213. package/lib/result/style/index.js +4 -0
  1214. package/lib/result/style/index.js.map +1 -0
  1215. package/lib/result/style/index.less +71 -0
  1216. package/lib/row/index.d.ts +1 -1
  1217. package/lib/row/index.d.ts.map +1 -1
  1218. package/lib/row/index.js +5 -6
  1219. package/lib/row/index.js.map +1 -1
  1220. package/lib/row/style/index.d.ts +3 -0
  1221. package/lib/row/style/index.d.ts.map +1 -0
  1222. package/lib/row/style/index.js +4 -0
  1223. package/lib/row/style/index.js.map +1 -0
  1224. package/lib/segmented/index.d.ts +1 -1
  1225. package/lib/segmented/index.d.ts.map +1 -1
  1226. package/lib/segmented/index.js +8 -12
  1227. package/lib/select/index.d.ts +1 -1
  1228. package/lib/select/index.d.ts.map +1 -1
  1229. package/lib/select/index.js +2 -3
  1230. package/lib/select/index.js.map +1 -1
  1231. package/lib/select/select.js +8 -12
  1232. package/lib/select/style/index.d.ts +4 -0
  1233. package/lib/select/style/index.d.ts.map +1 -0
  1234. package/lib/select/style/index.js +5 -0
  1235. package/lib/select/style/index.js.map +1 -0
  1236. package/lib/select/style/index.less +605 -0
  1237. package/lib/skeleton/index.d.ts +1 -1
  1238. package/lib/skeleton/index.d.ts.map +1 -1
  1239. package/lib/skeleton/index.js +5 -6
  1240. package/lib/skeleton/index.js.map +1 -1
  1241. package/lib/skeleton/style/index.d.ts +3 -0
  1242. package/lib/skeleton/style/index.d.ts.map +1 -0
  1243. package/lib/skeleton/style/index.js +4 -0
  1244. package/lib/skeleton/style/index.js.map +1 -0
  1245. package/lib/skeleton/style/index.less +130 -0
  1246. package/lib/slider/index.d.ts +1 -1
  1247. package/lib/slider/index.d.ts.map +1 -1
  1248. package/lib/slider/index.js +5 -6
  1249. package/lib/slider/index.js.map +1 -1
  1250. package/lib/slider/style/index.d.ts +4 -0
  1251. package/lib/slider/style/index.d.ts.map +1 -0
  1252. package/lib/slider/style/index.js +5 -0
  1253. package/lib/slider/style/index.js.map +1 -0
  1254. package/lib/slider/style/index.less +197 -0
  1255. package/lib/spin/index.d.ts +1 -1
  1256. package/lib/spin/index.d.ts.map +1 -1
  1257. package/lib/spin/index.js +5 -6
  1258. package/lib/spin/index.js.map +1 -1
  1259. package/lib/spin/style/index.d.ts +3 -0
  1260. package/lib/spin/style/index.d.ts.map +1 -0
  1261. package/lib/spin/style/index.js +4 -0
  1262. package/lib/spin/style/index.js.map +1 -0
  1263. package/lib/spin/style/index.less +214 -0
  1264. package/lib/statistic/index.d.ts +1 -1
  1265. package/lib/statistic/index.d.ts.map +1 -1
  1266. package/lib/statistic/index.js +5 -6
  1267. package/lib/statistic/index.js.map +1 -1
  1268. package/lib/statistic/style/index.d.ts +3 -0
  1269. package/lib/statistic/style/index.d.ts.map +1 -0
  1270. package/lib/statistic/style/index.js +4 -0
  1271. package/lib/statistic/style/index.js.map +1 -0
  1272. package/lib/statistic/style/index.less +40 -0
  1273. package/lib/steps/assets/background_left.svg +12 -0
  1274. package/lib/steps/assets/background_right.svg +12 -0
  1275. package/lib/steps/assets/horizontal_line.svg +3 -0
  1276. package/lib/steps/assets/vertical_line.svg +3 -0
  1277. package/lib/steps/index.d.ts +2 -1
  1278. package/lib/steps/index.d.ts.map +1 -1
  1279. package/lib/steps/index.js +3 -3
  1280. package/lib/steps/index.js.map +1 -1
  1281. package/lib/steps/stepStyle/icon.less +51 -0
  1282. package/lib/steps/stepStyle/index.less +12 -0
  1283. package/lib/steps/stepStyle/nav.less +281 -0
  1284. package/lib/steps/stepStyle/progress-dot.less +10 -0
  1285. package/lib/steps/stepStyle/small.less +5 -0
  1286. package/lib/steps/stepStyle/variables.less +8 -0
  1287. package/lib/steps/stepStyle/vertical.less +41 -0
  1288. package/lib/steps/steps.d.ts +2 -2
  1289. package/lib/steps/steps.d.ts.map +1 -1
  1290. package/lib/steps/steps.js +9 -12
  1291. package/lib/steps/steps.js.map +1 -1
  1292. package/lib/steps/style/compatibility.less +50 -0
  1293. package/lib/steps/style/custom-icon.less +31 -0
  1294. package/lib/steps/style/index.d.ts +3 -0
  1295. package/lib/steps/style/index.d.ts.map +1 -0
  1296. package/lib/steps/style/index.js +4 -0
  1297. package/lib/steps/style/index.js.map +1 -0
  1298. package/lib/steps/style/index.less +241 -6
  1299. package/lib/steps/style/label-placement.less +38 -0
  1300. package/lib/steps/style/nav.less +96 -247
  1301. package/lib/steps/style/progress-dot.less +80 -0
  1302. package/lib/steps/style/small.less +43 -3
  1303. package/lib/steps/style/vertical.less +74 -0
  1304. package/lib/style/color/bezierEasing.less +110 -0
  1305. package/lib/style/color/colorPalette.less +75 -0
  1306. package/lib/style/color/colors.less +149 -0
  1307. package/lib/style/color/tinyColor.less +1184 -0
  1308. package/lib/style/core/base.less +510 -0
  1309. package/lib/style/core/iconfont.less +19 -0
  1310. package/lib/style/core/index.less +4 -0
  1311. package/lib/style/core/motion/fade.less +31 -0
  1312. package/lib/style/core/motion/move.less +120 -0
  1313. package/lib/style/core/motion/other.less +40 -0
  1314. package/lib/style/core/motion/slide.less +120 -0
  1315. package/lib/style/core/motion/swing.less +34 -0
  1316. package/lib/style/core/motion/zoom.less +162 -0
  1317. package/lib/style/core/motion.less +20 -0
  1318. package/lib/style/index.d.ts +2 -0
  1319. package/lib/style/index.d.ts.map +1 -0
  1320. package/lib/style/index.js +3 -0
  1321. package/lib/style/index.js.map +1 -0
  1322. package/lib/style/index.less +2 -0
  1323. package/lib/style/mixins/clearfix.less +13 -0
  1324. package/lib/style/mixins/compatibility.less +22 -0
  1325. package/lib/style/mixins/iconfont.less +44 -0
  1326. package/lib/style/mixins/index.less +10 -0
  1327. package/lib/style/mixins/motion.less +35 -0
  1328. package/lib/style/mixins/operation-unit.less +18 -0
  1329. package/lib/style/mixins/reset.less +13 -0
  1330. package/lib/style/mixins/size.less +10 -0
  1331. package/lib/style/mixins/typography.less +49 -0
  1332. package/lib/style/themes/default.less +700 -0
  1333. package/lib/style/themes/index.less +1 -0
  1334. package/lib/style/v2-compatible-reset.d.ts +2 -0
  1335. package/lib/style/v2-compatible-reset.d.ts.map +1 -0
  1336. package/lib/style/v2-compatible-reset.js +3 -0
  1337. package/lib/style/v2-compatible-reset.js.map +1 -0
  1338. package/lib/style/v2-compatible-reset.less +51 -0
  1339. package/lib/svg-components/illustration-403.d.ts +1 -1
  1340. package/lib/svg-components/illustration-403.js +4 -5
  1341. package/lib/svg-components/illustration-404.d.ts +1 -1
  1342. package/lib/svg-components/illustration-404.js +4 -5
  1343. package/lib/svg-components/illustration-500.d.ts +1 -1
  1344. package/lib/svg-components/illustration-500.js +4 -5
  1345. package/lib/svg-components/illustration-empty.d.ts +1 -1
  1346. package/lib/svg-components/illustration-empty.js +4 -5
  1347. package/lib/svg-components/illustration-failure.d.ts +1 -1
  1348. package/lib/svg-components/illustration-failure.js +4 -5
  1349. package/lib/svg-components/illustration-no-access.d.ts +1 -1
  1350. package/lib/svg-components/illustration-no-access.js +4 -5
  1351. package/lib/svg-components/illustration-no-chart.d.ts +1 -1
  1352. package/lib/svg-components/illustration-no-chart.js +4 -5
  1353. package/lib/svg-components/illustration-no-result.d.ts +1 -1
  1354. package/lib/svg-components/illustration-no-result.js +4 -5
  1355. package/lib/svg-components/illustration-offline.d.ts +1 -1
  1356. package/lib/svg-components/illustration-offline.js +4 -5
  1357. package/lib/svg-components/illustration-success.d.ts +1 -1
  1358. package/lib/svg-components/illustration-success.js +4 -5
  1359. package/lib/switch/index.js +4 -5
  1360. package/lib/switch/index.less +46 -0
  1361. package/lib/switch/style/index.d.ts +3 -0
  1362. package/lib/switch/style/index.d.ts.map +1 -0
  1363. package/lib/switch/style/index.js +4 -0
  1364. package/lib/switch/style/index.js.map +1 -0
  1365. package/lib/switch/style/index.less +178 -0
  1366. package/lib/switch/switch.d.ts +1 -1
  1367. package/lib/switch/switch.d.ts.map +1 -1
  1368. package/lib/switch/switch.js +6 -8
  1369. package/lib/switch/switch.js.map +1 -1
  1370. package/lib/table/assets/image-loading-background.d.ts +1 -1
  1371. package/lib/table/assets/image-loading-background.js +4 -5
  1372. package/lib/table/assets/image-loading.d.ts +1 -1
  1373. package/lib/table/assets/image-loading.js +4 -5
  1374. package/lib/table/constants.js +1 -2
  1375. package/lib/table/context.js +1 -2
  1376. package/lib/table/hooks/use-column-setting.js +4 -5
  1377. package/lib/table/index.d.ts +1 -1
  1378. package/lib/table/index.d.ts.map +1 -1
  1379. package/lib/table/index.js +2 -3
  1380. package/lib/table/index.js.map +1 -1
  1381. package/lib/table/style/index.d.ts +9 -0
  1382. package/lib/table/style/index.d.ts.map +1 -0
  1383. package/lib/table/style/index.js +10 -0
  1384. package/lib/table/style/index.js.map +1 -0
  1385. package/lib/table/style/index.less +800 -0
  1386. package/lib/table/style/size.less +179 -0
  1387. package/lib/table/table.d.ts +2 -2
  1388. package/lib/table/table.d.ts.map +1 -1
  1389. package/lib/table/table.js +10 -15
  1390. package/lib/table/table.stories.js +5 -10
  1391. package/lib/table/total-shower.d.ts +2 -2
  1392. package/lib/table/total-shower.d.ts.map +1 -1
  1393. package/lib/table/total-shower.js +2 -3
  1394. package/lib/tabs/index.d.ts +1 -1
  1395. package/lib/tabs/index.d.ts.map +1 -1
  1396. package/lib/tabs/index.js +2 -3
  1397. package/lib/tabs/index.js.map +1 -1
  1398. package/lib/tabs/style/card-style.less +186 -0
  1399. package/lib/tabs/style/index.d.ts +3 -0
  1400. package/lib/tabs/style/index.d.ts.map +1 -0
  1401. package/lib/tabs/style/index.js +4 -0
  1402. package/lib/tabs/style/index.js.map +1 -0
  1403. package/lib/tabs/style/index.less +436 -0
  1404. package/lib/tabs/tabs.js +5 -8
  1405. package/lib/tabs/tabs.less +114 -0
  1406. package/lib/tag/color.less +43 -0
  1407. package/lib/tag/index.d.ts +1 -1
  1408. package/lib/tag/index.d.ts.map +1 -1
  1409. package/lib/tag/index.js +5 -6
  1410. package/lib/tag/index.js.map +1 -1
  1411. package/lib/tag/style/index.d.ts +3 -0
  1412. package/lib/tag/style/index.d.ts.map +1 -0
  1413. package/lib/tag/style/index.js +4 -0
  1414. package/lib/tag/style/index.js.map +1 -0
  1415. package/lib/tag/style/index.less +106 -0
  1416. package/lib/tag/tag.d.ts +41 -0
  1417. package/lib/tag/tag.d.ts.map +1 -0
  1418. package/lib/tag/tag.js +183 -0
  1419. package/lib/tag/tag.js.map +1 -0
  1420. package/lib/tag/tag.less +193 -0
  1421. package/lib/time-picker/TimePicker.d.ts +9 -0
  1422. package/lib/time-picker/TimePicker.d.ts.map +1 -0
  1423. package/lib/time-picker/TimePicker.js +55 -0
  1424. package/lib/time-picker/TimePicker.js.map +1 -0
  1425. package/lib/time-picker/index.d.ts +1 -1
  1426. package/lib/time-picker/index.d.ts.map +1 -1
  1427. package/lib/time-picker/index.js +5 -6
  1428. package/lib/time-picker/index.js.map +1 -1
  1429. package/lib/time-picker/index.less +38 -0
  1430. package/lib/time-picker/style/index.d.ts +3 -0
  1431. package/lib/time-picker/style/index.d.ts.map +1 -0
  1432. package/lib/time-picker/style/index.js +4 -0
  1433. package/lib/time-picker/style/index.js.map +1 -0
  1434. package/lib/time-picker/style/index.less +247 -0
  1435. package/lib/timeline/index.d.ts +1 -1
  1436. package/lib/timeline/index.d.ts.map +1 -1
  1437. package/lib/timeline/index.js +5 -6
  1438. package/lib/timeline/index.js.map +1 -1
  1439. package/lib/timeline/style/index.d.ts +3 -0
  1440. package/lib/timeline/style/index.d.ts.map +1 -0
  1441. package/lib/timeline/style/index.js +4 -0
  1442. package/lib/timeline/style/index.js.map +1 -0
  1443. package/lib/timeline/style/index.less +167 -0
  1444. package/lib/title/index.d.ts +1 -1
  1445. package/lib/title/index.js +3 -6
  1446. package/lib/tntd-action/Action.d.ts +6 -0
  1447. package/lib/tntd-action/Action.d.ts.map +1 -0
  1448. package/lib/tntd-action/Action.js +86 -0
  1449. package/lib/tntd-action/Action.js.map +1 -0
  1450. package/lib/tntd-action/index.d.ts +4 -0
  1451. package/lib/tntd-action/index.d.ts.map +1 -0
  1452. package/lib/tntd-action/index.js +12 -0
  1453. package/lib/tntd-action/index.js.map +1 -0
  1454. package/lib/tntd-action/index.less +53 -0
  1455. package/lib/tntd-cascader/AntdCascader/component/DisabledContext.js +5 -7
  1456. package/lib/tntd-cascader/AntdCascader/component/FormItemInputContext.js +4 -5
  1457. package/lib/tntd-cascader/AntdCascader/component/SizeContext.js +4 -5
  1458. package/lib/tntd-cascader/AntdCascader/component/context.js +3 -6
  1459. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts +2 -2
  1460. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.d.ts.map +1 -1
  1461. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +4 -5
  1462. package/lib/tntd-cascader/AntdCascader/component/getIcons.d.ts +2 -2
  1463. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +3 -3
  1464. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +9 -12
  1465. package/lib/tntd-cascader/AntdCascader/config/utils.js +8 -12
  1466. package/lib/tntd-cascader/AntdCascader/config/warning.js +4 -5
  1467. package/lib/tntd-cascader/AntdCascader/index.js +13 -16
  1468. package/lib/tntd-cascader/AntdCascader/interface.js +1 -2
  1469. package/lib/tntd-cascader/rc-cascader/Cascader.js +7 -10
  1470. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts +1 -1
  1471. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.d.ts.map +1 -1
  1472. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +6 -7
  1473. package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts +1 -1
  1474. package/lib/tntd-cascader/rc-cascader/OptionList/Column.d.ts.map +1 -1
  1475. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +8 -10
  1476. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +14 -17
  1477. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +8 -10
  1478. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +11 -13
  1479. package/lib/tntd-cascader/rc-cascader/context.js +4 -5
  1480. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +6 -7
  1481. package/lib/tntd-cascader/rc-cascader/hooks/useEntities.js +5 -6
  1482. package/lib/tntd-cascader/rc-cascader/hooks/useMissingValues.js +5 -6
  1483. package/lib/tntd-cascader/rc-cascader/hooks/useRefFunc.js +3 -3
  1484. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +3 -3
  1485. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +10 -13
  1486. package/lib/tntd-cascader/rc-cascader/index.js +1 -2
  1487. package/lib/tntd-cascader/rc-cascader/utils/commonUtil.js +3 -6
  1488. package/lib/tntd-cascader/rc-cascader/utils/treeUtil.js +2 -2
  1489. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +1 -2
  1490. package/lib/tntd-form/ErrorList.d.ts +1 -1
  1491. package/lib/tntd-form/ErrorList.d.ts.map +1 -1
  1492. package/lib/tntd-form/ErrorList.js +6 -6
  1493. package/lib/tntd-form/Form.d.ts +1 -1
  1494. package/lib/tntd-form/Form.d.ts.map +1 -1
  1495. package/lib/tntd-form/Form.js +15 -18
  1496. package/lib/tntd-form/Form.js.map +1 -1
  1497. package/lib/tntd-form/FormItem/ItemHolder.d.ts +1 -1
  1498. package/lib/tntd-form/FormItem/ItemHolder.d.ts.map +1 -1
  1499. package/lib/tntd-form/FormItem/ItemHolder.js +11 -14
  1500. package/lib/tntd-form/FormItem/ItemHolder.js.map +1 -1
  1501. package/lib/tntd-form/FormItem/index.js +14 -14
  1502. package/lib/tntd-form/FormItemInput.d.ts +1 -1
  1503. package/lib/tntd-form/FormItemInput.d.ts.map +1 -1
  1504. package/lib/tntd-form/FormItemInput.js +5 -6
  1505. package/lib/tntd-form/FormItemInput.js.map +1 -1
  1506. package/lib/tntd-form/FormItemLabel.d.ts +1 -1
  1507. package/lib/tntd-form/FormItemLabel.d.ts.map +1 -1
  1508. package/lib/tntd-form/FormItemLabel.js +9 -13
  1509. package/lib/tntd-form/FormItemLabel.js.map +1 -1
  1510. package/lib/tntd-form/FormList.js +5 -8
  1511. package/lib/tntd-form/context.d.ts +1 -1
  1512. package/lib/tntd-form/context.d.ts.map +1 -1
  1513. package/lib/tntd-form/context.js +14 -19
  1514. package/lib/tntd-form/context.js.map +1 -1
  1515. package/lib/tntd-form/hooks/useDebounce.js +5 -5
  1516. package/lib/tntd-form/hooks/useForm.js +5 -5
  1517. package/lib/tntd-form/hooks/useFormItemStatus.js +1 -2
  1518. package/lib/tntd-form/hooks/useFrameState.js +10 -9
  1519. package/lib/tntd-form/hooks/useItemRef.js +3 -3
  1520. package/lib/tntd-form/index.js +4 -5
  1521. package/lib/tntd-form/style/index.d.ts +1 -1
  1522. package/lib/tntd-form/style/index.d.ts.map +1 -1
  1523. package/lib/tntd-form/style/index.js +1 -1
  1524. package/lib/tntd-form/style/index.js.map +1 -1
  1525. package/lib/tntd-form/style/index.less +1 -1
  1526. package/lib/tntd-form/style/rtl.less +3 -3
  1527. package/lib/tntd-form/validateMessagesContext.js +1 -2
  1528. package/lib/tntd-icon/index.d.ts +2 -1
  1529. package/lib/tntd-icon/index.d.ts.map +1 -1
  1530. package/lib/tntd-icon/index.js +3 -6
  1531. package/lib/tntd-layout/ActionsContext.js +1 -2
  1532. package/lib/tntd-layout/AppList.js +7 -8
  1533. package/lib/tntd-layout/Application.d.ts +2 -1
  1534. package/lib/tntd-layout/Application.d.ts.map +1 -1
  1535. package/lib/tntd-layout/Application.js +7 -8
  1536. package/lib/tntd-layout/Avatar.d.ts +2 -1
  1537. package/lib/tntd-layout/Avatar.d.ts.map +1 -1
  1538. package/lib/tntd-layout/Avatar.js +5 -6
  1539. package/lib/tntd-layout/CompatibleLanguage.d.ts +2 -1
  1540. package/lib/tntd-layout/CompatibleLanguage.d.ts.map +1 -1
  1541. package/lib/tntd-layout/CompatibleLanguage.js +7 -8
  1542. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts +2 -1
  1543. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts.map +1 -1
  1544. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +5 -6
  1545. package/lib/tntd-layout/EnterpriseLayout/Language.js +7 -8
  1546. package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts +2 -1
  1547. package/lib/tntd-layout/EnterpriseLayout/Theme.d.ts.map +1 -1
  1548. package/lib/tntd-layout/EnterpriseLayout/Theme.js +7 -8
  1549. package/lib/tntd-layout/EnterpriseLayout/index.js +2 -3
  1550. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts +2 -1
  1551. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts.map +1 -1
  1552. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +7 -8
  1553. package/lib/tntd-layout/GlobalNavigation/index.js +7 -8
  1554. package/lib/tntd-layout/Header.js +9 -6
  1555. package/lib/tntd-layout/HeaderActions.js +18 -21
  1556. package/lib/tntd-layout/HeaderNavs.js +8 -12
  1557. package/lib/tntd-layout/HeaderTabs.js +10 -14
  1558. package/lib/tntd-layout/Iconfont.d.ts +2 -1
  1559. package/lib/tntd-layout/Iconfont.d.ts.map +1 -1
  1560. package/lib/tntd-layout/Iconfont.js +2 -3
  1561. package/lib/tntd-layout/Language.js +7 -8
  1562. package/lib/tntd-layout/Layout.js +7 -8
  1563. package/lib/tntd-layout/Logo.js +9 -6
  1564. package/lib/tntd-layout/OrgAppList.js +7 -8
  1565. package/lib/tntd-layout/SideMenu.js +8 -11
  1566. package/lib/tntd-layout/Theme.d.ts +2 -1
  1567. package/lib/tntd-layout/Theme.d.ts.map +1 -1
  1568. package/lib/tntd-layout/Theme.js +7 -8
  1569. package/lib/tntd-layout/createActions.js +2 -3
  1570. package/lib/tntd-layout/images/index.js +4 -7
  1571. package/lib/tntd-layout/index.d.ts +3 -2
  1572. package/lib/tntd-layout/index.d.ts.map +1 -1
  1573. package/lib/tntd-layout/index.js +6 -11
  1574. package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts +2 -1
  1575. package/lib/tntd-layout/paaslayout/CompactSideMenu.d.ts.map +1 -1
  1576. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +7 -8
  1577. package/lib/tntd-layout/paaslayout/Header.d.ts +2 -1
  1578. package/lib/tntd-layout/paaslayout/Header.d.ts.map +1 -1
  1579. package/lib/tntd-layout/paaslayout/Header.js +9 -6
  1580. package/lib/tntd-layout/paaslayout/Logo.d.ts +2 -1
  1581. package/lib/tntd-layout/paaslayout/Logo.d.ts.map +1 -1
  1582. package/lib/tntd-layout/paaslayout/Logo.js +6 -3
  1583. package/lib/tntd-layout/paaslayout/SideMenu.d.ts +2 -1
  1584. package/lib/tntd-layout/paaslayout/SideMenu.d.ts.map +1 -1
  1585. package/lib/tntd-layout/paaslayout/SideMenu.js +7 -8
  1586. package/lib/tntd-layout/paaslayout/index.js +7 -8
  1587. package/lib/tntd-layout/storage.js +14 -27
  1588. package/lib/tntd-modal/index.d.ts +2 -1
  1589. package/lib/tntd-modal/index.d.ts.map +1 -1
  1590. package/lib/tntd-modal/index.js +11 -15
  1591. package/lib/tntd-rc-select/_util/DisabledContext.js +5 -7
  1592. package/lib/tntd-rc-select/_util/FormItemInputContext.js +4 -5
  1593. package/lib/tntd-rc-select/_util/PurePanel.d.ts +1 -1
  1594. package/lib/tntd-rc-select/_util/PurePanel.d.ts.map +1 -1
  1595. package/lib/tntd-rc-select/_util/PurePanel.js +5 -5
  1596. package/lib/tntd-rc-select/_util/SizeContext.js +4 -5
  1597. package/lib/tntd-rc-select/_util/context.js +3 -6
  1598. package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts +2 -2
  1599. package/lib/tntd-rc-select/_util/defaultRenderEmpty.d.ts.map +1 -1
  1600. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +4 -5
  1601. package/lib/tntd-rc-select/_util/getIcons.d.ts +2 -2
  1602. package/lib/tntd-rc-select/_util/getIcons.js +3 -3
  1603. package/lib/tntd-rc-select/_util/interface.js +1 -2
  1604. package/lib/tntd-rc-select/_util/motion.js +3 -6
  1605. package/lib/tntd-rc-select/_util/type.js +3 -5
  1606. package/lib/tntd-rc-select/_util/useCompactItemContext.js +9 -12
  1607. package/lib/tntd-rc-select/_util/warning.js +4 -5
  1608. package/lib/tntd-rc-select/index.js +11 -14
  1609. package/lib/tntd-rc-select/style/index.less +844 -740
  1610. package/lib/tntd-select/DropDownWrap.js +16 -19
  1611. package/lib/tntd-select/index.d.ts +1 -1
  1612. package/lib/tntd-select/index.d.ts.map +1 -1
  1613. package/lib/tntd-select/index.js +44 -47
  1614. package/lib/tooltip/index.d.ts +1 -1
  1615. package/lib/tooltip/index.d.ts.map +1 -1
  1616. package/lib/tooltip/index.js +5 -6
  1617. package/lib/tooltip/index.js.map +1 -1
  1618. package/lib/tooltip/index.less +29 -0
  1619. package/lib/tooltip/style/index.d.ts +3 -0
  1620. package/lib/tooltip/style/index.d.ts.map +1 -0
  1621. package/lib/tooltip/style/index.js +4 -0
  1622. package/lib/tooltip/style/index.js.map +1 -0
  1623. package/lib/tooltip/style/index.less +187 -0
  1624. package/lib/tooltip/tooltip.d.ts +9 -0
  1625. package/lib/tooltip/tooltip.d.ts.map +1 -0
  1626. package/lib/tooltip/tooltip.js +53 -0
  1627. package/lib/tooltip/tooltip.js.map +1 -0
  1628. package/lib/transfer/index.d.ts +1 -1
  1629. package/lib/transfer/index.d.ts.map +1 -1
  1630. package/lib/transfer/index.js +5 -6
  1631. package/lib/transfer/index.js.map +1 -1
  1632. package/lib/transfer/style/customize.less +62 -0
  1633. package/lib/transfer/style/index.d.ts +7 -0
  1634. package/lib/transfer/style/index.d.ts.map +1 -0
  1635. package/lib/transfer/style/index.js +8 -0
  1636. package/lib/transfer/style/index.js.map +1 -0
  1637. package/lib/transfer/style/index.less +191 -0
  1638. package/lib/tree/index.d.ts +1 -1
  1639. package/lib/tree/index.d.ts.map +1 -1
  1640. package/lib/tree/index.js +5 -6
  1641. package/lib/tree/index.js.map +1 -1
  1642. package/lib/tree/style/directory.less +95 -0
  1643. package/lib/tree/style/index.d.ts +3 -0
  1644. package/lib/tree/style/index.d.ts.map +1 -0
  1645. package/lib/tree/style/index.js +4 -0
  1646. package/lib/tree/style/index.js.map +1 -0
  1647. package/lib/tree/style/index.less +280 -0
  1648. package/lib/tree/style/mixin.less +29 -0
  1649. package/lib/tree-select/index.d.ts +1 -1
  1650. package/lib/tree-select/index.d.ts.map +1 -1
  1651. package/lib/tree-select/index.js +6 -8
  1652. package/lib/tree-select/index.js.map +1 -1
  1653. package/lib/tree-select/style/index.d.ts +5 -0
  1654. package/lib/tree-select/style/index.d.ts.map +1 -0
  1655. package/lib/tree-select/style/index.js +6 -0
  1656. package/lib/tree-select/style/index.js.map +1 -0
  1657. package/lib/tree-select/style/index.less +191 -0
  1658. package/lib/typography/index.d.ts +1 -1
  1659. package/lib/typography/index.d.ts.map +1 -1
  1660. package/lib/typography/index.js +5 -6
  1661. package/lib/typography/index.js.map +1 -1
  1662. package/lib/typography/style/index.d.ts +5 -0
  1663. package/lib/typography/style/index.d.ts.map +1 -0
  1664. package/lib/typography/style/index.js +6 -0
  1665. package/lib/typography/style/index.js.map +1 -0
  1666. package/lib/typography/style/index.less +204 -0
  1667. package/lib/upload/index.d.ts +1 -1
  1668. package/lib/upload/index.d.ts.map +1 -1
  1669. package/lib/upload/index.js +5 -6
  1670. package/lib/upload/index.js.map +1 -1
  1671. package/lib/upload/style/index.d.ts +5 -0
  1672. package/lib/upload/style/index.d.ts.map +1 -0
  1673. package/lib/upload/style/index.js +6 -0
  1674. package/lib/upload/style/index.js.map +1 -0
  1675. package/lib/upload/style/index.less +542 -0
  1676. package/lib/utils/checkAuth.js +2 -4
  1677. package/lib/utils/findMenuInfoByPath.js +2 -4
  1678. package/lib/utils/index.js +10 -18
  1679. package/lib/utils/lang.js +6 -11
  1680. package/lib/version/index.d.ts +1 -1
  1681. package/lib/version/index.d.ts.map +1 -1
  1682. package/lib/version/index.js +5 -6
  1683. package/lib/version/index.js.map +1 -1
  1684. package/lib/version/style/index.d.ts +2 -0
  1685. package/lib/version/style/index.d.ts.map +1 -0
  1686. package/lib/version/style/index.js +3 -0
  1687. package/lib/version/style/index.js.map +1 -0
  1688. package/lib/water-mark/index.js +7 -9
  1689. package/package.json +3 -3
  1690. package/themes/common/css2.x.css +154 -0
  1691. package/themes/common/css3.x.css +154 -0
  1692. package/themes/common/index.less +2 -0
  1693. package/themes/default/colors.less +12 -4
  1694. package/themes/default/colorsVar.less +160 -0
  1695. package/themes/default/lessToCssVar.less +127 -0
  1696. package/themes/default/lessVars2.x.less +33 -0
  1697. package/themes/default/lessVars3.x.less +35 -0
  1698. package/themes/default/variables.less +31 -23
  1699. package/themes/default/variablesVar.less +673 -0
  1700. package/themes/utils/colorPalette.less +11 -0
@@ -0,0 +1,29 @@
1
+ import * as React from 'react';
2
+ declare type ColSpanType = number | string;
3
+ declare type FlexType = number | 'none' | 'auto' | string;
4
+ export interface ColSize {
5
+ flex?: FlexType;
6
+ span?: ColSpanType;
7
+ order?: ColSpanType;
8
+ offset?: ColSpanType;
9
+ push?: ColSpanType;
10
+ pull?: ColSpanType;
11
+ }
12
+ export interface ColProps extends React.HTMLAttributes<HTMLDivElement> {
13
+ flex?: FlexType;
14
+ span?: ColSpanType;
15
+ order?: ColSpanType;
16
+ offset?: ColSpanType;
17
+ push?: ColSpanType;
18
+ pull?: ColSpanType;
19
+ xs?: ColSpanType | ColSize;
20
+ sm?: ColSpanType | ColSize;
21
+ md?: ColSpanType | ColSize;
22
+ lg?: ColSpanType | ColSize;
23
+ xl?: ColSpanType | ColSize;
24
+ xxl?: ColSpanType | ColSize;
25
+ prefixCls?: string;
26
+ }
27
+ declare const Col: React.ForwardRefExoticComponent<ColProps & React.RefAttributes<HTMLDivElement>>;
28
+ export default Col;
29
+ //# sourceMappingURL=col.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"col.d.ts","sourceRoot":"","sources":["../../src/grid-v4/col.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,aAAK,WAAW,GAAG,MAAM,GAAG,MAAM,CAAA;AAElC,aAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAEjD,MAAM,WAAW,OAAO;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB;AAED,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpE,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,EAAE,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;IAC1B,EAAE,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;IAC1B,EAAE,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;IAC1B,EAAE,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;IAC1B,EAAE,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;IAC1B,GAAG,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAcD,QAAA,MAAM,GAAG,iFAuFP,CAAA;AAMF,eAAe,GAAG,CAAA"}
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _classnames = _interopRequireDefault(require("classnames"));
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _context = require("../_util/context");
10
+ var _RowContext = _interopRequireDefault(require("./RowContext"));
11
+ 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); }
12
+ 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; }
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
+ 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); }
17
+ 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); }
18
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
19
+ var t = {};
20
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
21
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
23
+ }
24
+ return t;
25
+ };
26
+ function parseFlex(flex) {
27
+ if (typeof flex === 'number') {
28
+ return "".concat(flex, " ").concat(flex, " auto");
29
+ }
30
+ if (/^\d+(\.\d+)?(px|em|rem|%)$/.test(flex)) {
31
+ return "0 0 ".concat(flex);
32
+ }
33
+ return flex;
34
+ }
35
+ var sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
36
+ var Col = React.forwardRef(function (props, ref) {
37
+ var _React$useContext = React.useContext(_context.ConfigContext),
38
+ getPrefixCls = _React$useContext.getPrefixCls,
39
+ direction = _React$useContext.direction;
40
+ var _React$useContext2 = React.useContext(_RowContext["default"]),
41
+ gutter = _React$useContext2.gutter,
42
+ wrap = _React$useContext2.wrap,
43
+ supportFlexGap = _React$useContext2.supportFlexGap;
44
+ var _props$prefixCls = props.prefixCls,
45
+ customizePrefixCls = _props$prefixCls === void 0 ? 'tnt-col' : _props$prefixCls,
46
+ span = props.span,
47
+ order = props.order,
48
+ offset = props.offset,
49
+ push = props.push,
50
+ pull = props.pull,
51
+ className = props.className,
52
+ children = props.children,
53
+ flex = props.flex,
54
+ style = props.style,
55
+ others = __rest(props, ["prefixCls", "span", "order", "offset", "push", "pull", "className", "children", "flex", "style"]);
56
+ var prefixCls = getPrefixCls('col', customizePrefixCls);
57
+ var sizeClassObj = {};
58
+ sizes.forEach(function (size) {
59
+ var sizeProps = {};
60
+ var propSize = props[size];
61
+ if (typeof propSize === 'number') {
62
+ sizeProps.span = propSize;
63
+ } else if (_typeof(propSize) === 'object') {
64
+ sizeProps = propSize || {};
65
+ }
66
+ delete others[size];
67
+ sizeClassObj = Object.assign(Object.assign({}, sizeClassObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-").concat(size, "-").concat(sizeProps.span), sizeProps.span !== undefined), "".concat(prefixCls, "-").concat(size, "-order-").concat(sizeProps.order), sizeProps.order || sizeProps.order === 0), "".concat(prefixCls, "-").concat(size, "-offset-").concat(sizeProps.offset), sizeProps.offset || sizeProps.offset === 0), "".concat(prefixCls, "-").concat(size, "-push-").concat(sizeProps.push), sizeProps.push || sizeProps.push === 0), "".concat(prefixCls, "-").concat(size, "-pull-").concat(sizeProps.pull), sizeProps.pull || sizeProps.pull === 0), "".concat(prefixCls, "-rtl"), direction === 'rtl'));
68
+ });
69
+ var classes = (0, _classnames["default"])(prefixCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-").concat(span), span !== undefined), "".concat(prefixCls, "-order-").concat(order), order), "".concat(prefixCls, "-offset-").concat(offset), offset), "".concat(prefixCls, "-push-").concat(push), push), "".concat(prefixCls, "-pull-").concat(pull), pull), className, sizeClassObj);
70
+ var mergedStyle = {};
71
+ // Horizontal gutter use padding
72
+ if (gutter && gutter[0] > 0) {
73
+ var horizontalGutter = gutter[0] / 2;
74
+ mergedStyle.paddingLeft = horizontalGutter;
75
+ mergedStyle.paddingRight = horizontalGutter;
76
+ }
77
+ // Vertical gutter use padding when gap not support
78
+ if (gutter && gutter[1] > 0 && !supportFlexGap) {
79
+ var verticalGutter = gutter[1] / 2;
80
+ mergedStyle.paddingTop = verticalGutter;
81
+ mergedStyle.paddingBottom = verticalGutter;
82
+ }
83
+ if (flex) {
84
+ mergedStyle.flex = parseFlex(flex);
85
+ // Hack for Firefox to avoid size issue
86
+ // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553
87
+ if (wrap === false && !mergedStyle.minWidth) {
88
+ mergedStyle.minWidth = 0;
89
+ }
90
+ }
91
+ return React.createElement("div", Object.assign({}, others, {
92
+ style: Object.assign(Object.assign({}, mergedStyle), style),
93
+ className: classes,
94
+ ref: ref
95
+ }), children);
96
+ });
97
+ if (process.env.NODE_ENV !== 'production') {
98
+ Col.displayName = 'Col';
99
+ }
100
+ var _default = exports["default"] = Col;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"col.js","sourceRoot":"","sources":["../../src/grid-v4/col.tsx"],"names":[],"mappings":"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","sourcesContent":["import classNames from 'classnames'\nimport * as React from 'react'\nimport { ConfigContext } from '../_util/context'\nimport RowContext from './RowContext'\n\n// https://github.com/ant-design/ant-design/issues/14324\ntype ColSpanType = number | string\n\ntype FlexType = number | 'none' | 'auto' | string\n\nexport interface ColSize {\n flex?: FlexType\n span?: ColSpanType\n order?: ColSpanType\n offset?: ColSpanType\n push?: ColSpanType\n pull?: ColSpanType\n}\n\nexport interface ColProps extends React.HTMLAttributes<HTMLDivElement> {\n flex?: FlexType\n span?: ColSpanType\n order?: ColSpanType\n offset?: ColSpanType\n push?: ColSpanType\n pull?: ColSpanType\n xs?: ColSpanType | ColSize\n sm?: ColSpanType | ColSize\n md?: ColSpanType | ColSize\n lg?: ColSpanType | ColSize\n xl?: ColSpanType | ColSize\n xxl?: ColSpanType | ColSize\n prefixCls?: string\n}\n\nfunction parseFlex(flex: FlexType): string {\n if (typeof flex === 'number') {\n return `${flex} ${flex} auto`\n }\n\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return `0 0 ${flex}`\n }\n\n return flex\n}\nconst sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'] as const\nconst Col = React.forwardRef<HTMLDivElement, ColProps>((props, ref) => {\n const { getPrefixCls, direction } = React.useContext(ConfigContext)\n const { gutter, wrap, supportFlexGap } = React.useContext(RowContext)\n\n const {\n prefixCls: customizePrefixCls = 'tnt-col',\n span,\n order,\n offset,\n push,\n pull,\n className,\n children,\n flex,\n style,\n ...others\n } = props\n\n const prefixCls = getPrefixCls('col', customizePrefixCls)\n\n let sizeClassObj = {}\n sizes.forEach((size) => {\n let sizeProps: ColSize = {}\n const propSize = props[size]\n if (typeof propSize === 'number') {\n sizeProps.span = propSize\n } else if (typeof propSize === 'object') {\n sizeProps = propSize || {}\n }\n\n delete others[size]\n\n sizeClassObj = {\n ...sizeClassObj,\n [`${prefixCls}-${size}-${sizeProps.span}`]: sizeProps.span !== undefined,\n [`${prefixCls}-${size}-order-${sizeProps.order}`]: sizeProps.order || sizeProps.order === 0,\n [`${prefixCls}-${size}-offset-${sizeProps.offset}`]:\n sizeProps.offset || sizeProps.offset === 0,\n [`${prefixCls}-${size}-push-${sizeProps.push}`]: sizeProps.push || sizeProps.push === 0,\n [`${prefixCls}-${size}-pull-${sizeProps.pull}`]: sizeProps.pull || sizeProps.pull === 0,\n [`${prefixCls}-rtl`]: direction === 'rtl',\n }\n })\n\n const classes = classNames(\n prefixCls,\n {\n [`${prefixCls}-${span}`]: span !== undefined,\n [`${prefixCls}-order-${order}`]: order,\n [`${prefixCls}-offset-${offset}`]: offset,\n [`${prefixCls}-push-${push}`]: push,\n [`${prefixCls}-pull-${pull}`]: pull,\n },\n className,\n sizeClassObj\n )\n\n const mergedStyle: React.CSSProperties = {}\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n const horizontalGutter = gutter[0] / 2\n mergedStyle.paddingLeft = horizontalGutter\n mergedStyle.paddingRight = horizontalGutter\n }\n\n // Vertical gutter use padding when gap not support\n if (gutter && gutter[1] > 0 && !supportFlexGap) {\n const verticalGutter = gutter[1] / 2\n mergedStyle.paddingTop = verticalGutter\n mergedStyle.paddingBottom = verticalGutter\n }\n\n if (flex) {\n mergedStyle.flex = parseFlex(flex)\n\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0\n }\n }\n\n return (\n <div {...others} style={{ ...mergedStyle, ...style }} className={classes} ref={ref}>\n {children}\n </div>\n )\n})\n\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col'\n}\n\nexport default Col\n"]}
@@ -0,0 +1,4 @@
1
+ import type { ScreenMap } from '../../_util/responsiveObserve';
2
+ declare function useBreakpoint(refreshOnChange?: boolean): ScreenMap;
3
+ export default useBreakpoint;
4
+ //# sourceMappingURL=useBreakpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/grid-v4/hooks/useBreakpoint.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAG9D,iBAAS,aAAa,CAAC,eAAe,GAAE,OAAc,GAAG,SAAS,CAgBjE;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _react = require("react");
8
+ var _useForceUpdate = _interopRequireDefault(require("../../_util/hooks/useForceUpdate"));
9
+ var _responsiveObserve = _interopRequireDefault(require("../../_util/responsiveObserve"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+ function useBreakpoint() {
12
+ var refreshOnChange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
13
+ var screensRef = (0, _react.useRef)({});
14
+ var forceUpdate = (0, _useForceUpdate["default"])();
15
+ (0, _react.useEffect)(function () {
16
+ var token = _responsiveObserve["default"].subscribe(function (supportScreens) {
17
+ screensRef.current = supportScreens;
18
+ if (refreshOnChange) {
19
+ forceUpdate();
20
+ }
21
+ });
22
+ return function () {
23
+ return _responsiveObserve["default"].unsubscribe(token);
24
+ };
25
+ }, []);
26
+ return screensRef.current;
27
+ }
28
+ var _default = exports["default"] = useBreakpoint;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBreakpoint.js","sourceRoot":"","sources":["../../../src/grid-v4/hooks/useBreakpoint.tsx"],"names":[],"mappings":";;;;;AAAA,iCAAyC;AACzC,sFAA6D;AAE7D,sFAA6D;AAE7D,SAAS,aAAa,CAAC,kBAA2B,IAAI;IACpD,MAAM,UAAU,GAAG,IAAA,cAAM,EAAY,EAAE,CAAC,CAAA;IACxC,MAAM,WAAW,GAAG,IAAA,wBAAc,GAAE,CAAA;IAEpC,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,KAAK,GAAG,2BAAiB,CAAC,SAAS,CAAC,CAAC,cAAc,EAAE,EAAE;YAC3D,UAAU,CAAC,OAAO,GAAG,cAAc,CAAA;YACnC,IAAI,eAAe,EAAE;gBACnB,WAAW,EAAE,CAAA;aACd;QACH,CAAC,CAAC,CAAA;QAEF,OAAO,GAAG,EAAE,CAAC,2BAAiB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IACnD,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,UAAU,CAAC,OAAO,CAAA;AAC3B,CAAC;AAED,kBAAe,aAAa,CAAA","sourcesContent":["import { useEffect, useRef } from 'react'\nimport useForceUpdate from '../../_util/hooks/useForceUpdate'\nimport type { ScreenMap } from '../../_util/responsiveObserve'\nimport ResponsiveObserve from '../../_util/responsiveObserve'\n\nfunction useBreakpoint(refreshOnChange: boolean = true): ScreenMap {\n const screensRef = useRef<ScreenMap>({})\n const forceUpdate = useForceUpdate()\n\n useEffect(() => {\n const token = ResponsiveObserve.subscribe((supportScreens) => {\n screensRef.current = supportScreens\n if (refreshOnChange) {\n forceUpdate()\n }\n })\n\n return () => ResponsiveObserve.unsubscribe(token)\n }, [])\n\n return screensRef.current\n}\n\nexport default useBreakpoint\n"]}
@@ -0,0 +1,12 @@
1
+ import Col from './col';
2
+ import Row from './row';
3
+ import './style';
4
+ declare function useBreakpoint(): Partial<Record<import("../_util/responsiveObserve").Breakpoint, boolean>>;
5
+ export { ColProps, ColSize } from './col';
6
+ export { RowProps } from './row';
7
+ export { Row, Col };
8
+ declare const _default: {
9
+ useBreakpoint: typeof useBreakpoint;
10
+ };
11
+ export default _default;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/grid-v4/index.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAA;AAEvB,OAAO,GAAG,MAAM,OAAO,CAAA;AAEvB,OAAO,SAAS,CAAA;AAGhB,iBAAS,aAAa,8EAErB;AAED,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;;;;AAEnB,wBAAgC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Col", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _col["default"];
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "Row", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _row["default"];
16
+ }
17
+ });
18
+ exports["default"] = void 0;
19
+ var _col = _interopRequireDefault(require("./col"));
20
+ var _useBreakpoint = _interopRequireDefault(require("./hooks/useBreakpoint"));
21
+ var _row = _interopRequireDefault(require("./row"));
22
+ require("./style");
23
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
24
+ // Do not export params
25
+ function useBreakpoint() {
26
+ return (0, _useBreakpoint["default"])();
27
+ }
28
+ var _default = exports["default"] = {
29
+ useBreakpoint: useBreakpoint
30
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/grid-v4/index.tsx"],"names":[],"mappings":";;;;;;AAAA,gDAAuB;AAaT,cAbP,aAAG,CAaO;AAZjB,0EAAyD;AACzD,gDAAuB;AAWd,cAXF,aAAG,CAWE;AATZ,mBAAgB;AAEhB,uBAAuB;AACvB,SAAS,aAAa;IACpB,OAAO,IAAA,uBAAqB,GAAE,CAAA;AAChC,CAAC;AAED,6BAAyC;AACzC,6BAAgC;AAGhC,kBAAe,EAAE,aAAa,EAAE,CAAA","sourcesContent":["import Col from './col'\nimport useInternalBreakpoint from './hooks/useBreakpoint'\nimport Row from './row'\n\nimport './style'\n\n// Do not export params\nfunction useBreakpoint() {\n return useInternalBreakpoint()\n}\n\nexport { ColProps, ColSize } from './col'\nexport { RowProps } from './row'\nexport { Row, Col }\n\nexport default { useBreakpoint }\n"]}
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ import type { Breakpoint } from '../_util/responsiveObserve';
3
+ declare const RowAligns: ["top", "middle", "bottom", "stretch"];
4
+ declare const RowJustify: ["start", "end", "center", "space-around", "space-between", "space-evenly"];
5
+ declare type Responsive = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
6
+ declare type ResponsiveLike<T> = {
7
+ [key in Responsive]?: T;
8
+ };
9
+ export declare type Gutter = number | undefined | Partial<Record<Breakpoint, number>>;
10
+ declare type ResponsiveAligns = ResponsiveLike<typeof RowAligns[number]>;
11
+ declare type ResponsiveJustify = ResponsiveLike<typeof RowJustify[number]>;
12
+ export interface RowProps extends React.HTMLAttributes<HTMLDivElement> {
13
+ gutter?: Gutter | [Gutter, Gutter];
14
+ align?: typeof RowAligns[number] | ResponsiveAligns;
15
+ justify?: typeof RowJustify[number] | ResponsiveJustify;
16
+ prefixCls?: string;
17
+ wrap?: boolean;
18
+ }
19
+ declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
20
+ export default Row;
21
+ //# sourceMappingURL=row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../src/grid-v4/row.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,4BAA4B,CAAA;AAKvE,QAAA,MAAM,SAAS,wCAA8C,CAAA;AAC7D,QAAA,MAAM,UAAU,6EAAmF,CAAA;AAEnG,aAAK,UAAU,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAC1D,aAAK,cAAc,CAAC,CAAC,IAAI;KACtB,GAAG,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;CACxB,CAAA;AAGD,oBAAY,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAA;AAE7E,aAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAA;AAChE,aAAK,iBAAiB,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAA;AAClE,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAClC,KAAK,CAAC,EAAE,OAAO,SAAS,CAAC,MAAM,CAAC,GAAG,gBAAgB,CAAA;IACnD,OAAO,CAAC,EAAE,OAAO,UAAU,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAAA;IACvD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AA+BD,QAAA,MAAM,GAAG,iFA4HP,CAAA;AAMF,eAAe,GAAG,CAAA"}
@@ -0,0 +1,183 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _classnames = _interopRequireDefault(require("classnames"));
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _context = require("../_util/context");
10
+ var _useFlexGapSupport = _interopRequireDefault(require("../_util/hooks/useFlexGapSupport"));
11
+ var _responsiveObserve = _interopRequireWildcard(require("../_util/responsiveObserve"));
12
+ var _type = require("../_util/type");
13
+ var _RowContext = _interopRequireDefault(require("./RowContext"));
14
+ 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); }
15
+ 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; }
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
+ 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); }
20
+ 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); }
21
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
22
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
23
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
24
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
25
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
26
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
27
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
28
+ var t = {};
29
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
30
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
31
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
32
+ }
33
+ return t;
34
+ };
35
+ var RowAligns = (0, _type.tuple)('top', 'middle', 'bottom', 'stretch');
36
+ var RowJustify = (0, _type.tuple)('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');
37
+ function useMergePropByScreen(oriProp, screen) {
38
+ var _React$useState = React.useState(typeof oriProp === 'string' ? oriProp : ''),
39
+ _React$useState2 = _slicedToArray(_React$useState, 2),
40
+ prop = _React$useState2[0],
41
+ setProp = _React$useState2[1];
42
+ var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {
43
+ if (typeof oriProp === 'string') {
44
+ setProp(oriProp);
45
+ }
46
+ if (_typeof(oriProp) !== 'object') {
47
+ return;
48
+ }
49
+ for (var i = 0; i < _responsiveObserve.responsiveArray.length; i++) {
50
+ var breakpoint = _responsiveObserve.responsiveArray[i];
51
+ // if do not match, do nothing
52
+ if (!screen[breakpoint]) continue;
53
+ var curVal = oriProp[breakpoint];
54
+ if (curVal !== undefined) {
55
+ setProp(curVal);
56
+ return;
57
+ }
58
+ }
59
+ };
60
+ React.useEffect(function () {
61
+ clacMergeAlignOrJustify();
62
+ }, [JSON.stringify(oriProp), screen]);
63
+ return prop;
64
+ }
65
+ var Row = React.forwardRef(function (props, ref) {
66
+ var _props$prefixCls = props.prefixCls,
67
+ customizePrefixCls = _props$prefixCls === void 0 ? 'tnt-row' : _props$prefixCls,
68
+ justify = props.justify,
69
+ align = props.align,
70
+ className = props.className,
71
+ style = props.style,
72
+ children = props.children,
73
+ _props$gutter = props.gutter,
74
+ gutter = _props$gutter === void 0 ? 0 : _props$gutter,
75
+ wrap = props.wrap,
76
+ others = __rest(props, ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"]);
77
+ var _React$useContext = React.useContext(_context.ConfigContext),
78
+ getPrefixCls = _React$useContext.getPrefixCls,
79
+ direction = _React$useContext.direction;
80
+ var _React$useState3 = React.useState({
81
+ xs: true,
82
+ sm: true,
83
+ md: true,
84
+ lg: true,
85
+ xl: true,
86
+ xxl: true
87
+ }),
88
+ _React$useState4 = _slicedToArray(_React$useState3, 2),
89
+ screens = _React$useState4[0],
90
+ setScreens = _React$useState4[1];
91
+ // to save screens info when responsiveObserve callback had been call
92
+ var _React$useState5 = React.useState({
93
+ xs: false,
94
+ sm: false,
95
+ md: false,
96
+ lg: false,
97
+ xl: false,
98
+ xxl: false
99
+ }),
100
+ _React$useState6 = _slicedToArray(_React$useState5, 2),
101
+ curScreens = _React$useState6[0],
102
+ setCurScreens = _React$useState6[1];
103
+ // ================================== calc reponsive data ==================================
104
+ var mergeAlign = useMergePropByScreen(align, curScreens);
105
+ var mergeJustify = useMergePropByScreen(justify, curScreens);
106
+ var supportFlexGap = (0, _useFlexGapSupport["default"])();
107
+ var gutterRef = React.useRef(gutter);
108
+ // ================================== Effect ==================================
109
+ React.useEffect(function () {
110
+ var token = _responsiveObserve["default"].subscribe(function (screen) {
111
+ setCurScreens(screen);
112
+ var currentGutter = gutterRef.current || 0;
113
+ if (!Array.isArray(currentGutter) && _typeof(currentGutter) === 'object' || Array.isArray(currentGutter) && (_typeof(currentGutter[0]) === 'object' || _typeof(currentGutter[1]) === 'object')) {
114
+ setScreens(screen);
115
+ }
116
+ });
117
+ return function () {
118
+ return _responsiveObserve["default"].unsubscribe(token);
119
+ };
120
+ }, []);
121
+ // ================================== Render ==================================
122
+ var getGutter = function getGutter() {
123
+ var results = [undefined, undefined];
124
+ var normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined];
125
+ normalizedGutter.forEach(function (g, index) {
126
+ if (_typeof(g) === 'object') {
127
+ for (var i = 0; i < _responsiveObserve.responsiveArray.length; i++) {
128
+ var breakpoint = _responsiveObserve.responsiveArray[i];
129
+ if (screens[breakpoint] && g[breakpoint] !== undefined) {
130
+ results[index] = g[breakpoint];
131
+ break;
132
+ }
133
+ }
134
+ } else {
135
+ results[index] = g;
136
+ }
137
+ });
138
+ return results;
139
+ };
140
+ var prefixCls = getPrefixCls('row', customizePrefixCls);
141
+ var gutters = getGutter();
142
+ var classes = (0, _classnames["default"])(prefixCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-no-wrap"), wrap === false), "".concat(prefixCls, "-").concat(mergeJustify), mergeJustify), "".concat(prefixCls, "-").concat(mergeAlign), mergeAlign), "".concat(prefixCls, "-rtl"), direction === 'rtl'), className);
143
+ // Add gutter related style
144
+ var rowStyle = {};
145
+ var horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;
146
+ var verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined;
147
+ if (horizontalGutter) {
148
+ rowStyle.marginLeft = horizontalGutter;
149
+ rowStyle.marginRight = horizontalGutter;
150
+ }
151
+ if (supportFlexGap) {
152
+ // Set gap direct if flex gap support
153
+ ;
154
+ var _gutters = _slicedToArray(gutters, 2);
155
+ rowStyle.rowGap = _gutters[1];
156
+ } else if (verticalGutter) {
157
+ rowStyle.marginTop = verticalGutter;
158
+ rowStyle.marginBottom = verticalGutter;
159
+ }
160
+ // "gutters" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.
161
+ // So we deconstruct "gutters" variable here.
162
+ var _gutters2 = _slicedToArray(gutters, 2),
163
+ gutterH = _gutters2[0],
164
+ gutterV = _gutters2[1];
165
+ var rowContext = React.useMemo(function () {
166
+ return {
167
+ gutter: [gutterH, gutterV],
168
+ wrap: wrap,
169
+ supportFlexGap: supportFlexGap
170
+ };
171
+ }, [gutterH, gutterV, wrap, supportFlexGap]);
172
+ return React.createElement(_RowContext["default"].Provider, {
173
+ value: rowContext
174
+ }, React.createElement("div", Object.assign({}, others, {
175
+ className: classes,
176
+ style: Object.assign(Object.assign({}, rowStyle), style),
177
+ ref: ref
178
+ }), children));
179
+ });
180
+ if (process.env.NODE_ENV !== 'production') {
181
+ Row.displayName = 'Row';
182
+ }
183
+ var _default = exports["default"] = Row;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row.js","sourceRoot":"","sources":["../../src/grid-v4/row.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4DAAmC;AACnC,6CAA8B;AAC9B,8CAAgD;AAChD,yFAAgE;AAEhE,gFAA+E;AAC/E,wCAAqC;AACrC,8DAAqC;AAErC,MAAM,SAAS,GAAG,IAAA,YAAK,EAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAC7D,MAAM,UAAU,GAAG,IAAA,YAAK,EAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,CAAC,CAAA;AAoBnG,SAAS,oBAAoB,CAAC,OAAgD,EAAE,MAAiB;IAC/F,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;IAElF,MAAM,uBAAuB,GAAG,GAAG,EAAE;QACnC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;YAC/B,OAAO,CAAC,OAAO,CAAC,CAAA;SACjB;QACD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;YAC/B,OAAM;SACP;QACD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,mCAAe,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC/C,MAAM,UAAU,GAAe,mCAAe,CAAC,CAAC,CAAC,CAAA;YACjD,8BAA8B;YAC9B,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;gBAAE,SAAQ;YACjC,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;YAClC,IAAI,MAAM,KAAK,SAAS,EAAE;gBACxB,OAAO,CAAC,MAAM,CAAC,CAAA;gBACf,OAAM;aACP;SACF;IACH,CAAC,CAAA;IAED,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,uBAAuB,EAAE,CAAA;IAC3B,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC,CAAA;IAErC,OAAO,IAAI,CAAA;AACb,CAAC;AAED,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAA2B,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACpE,MAAM,EACJ,SAAS,EAAE,kBAAkB,GAAG,SAAS,EACzC,OAAO,EACP,KAAK,EACL,SAAS,EACT,KAAK,EACL,QAAQ,EACR,MAAM,GAAG,CAAC,EACV,IAAI,KAEF,KAAK,EADJ,MAAM,UACP,KAAK,EAVH,qFAUL,CAAQ,CAAA;IAET,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,uBAAa,CAAC,CAAA;IAEnE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAY;QACtD,EAAE,EAAE,IAAI;QACR,EAAE,EAAE,IAAI;QACR,EAAE,EAAE,IAAI;QACR,EAAE,EAAE,IAAI;QACR,EAAE,EAAE,IAAI;QACR,GAAG,EAAE,IAAI;KACV,CAAC,CAAA;IACF,qEAAqE;IACrE,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAY;QAC5D,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,EAAE,EAAE,KAAK;QACT,GAAG,EAAE,KAAK;KACX,CAAC,CAAA;IAEF,4FAA4F;IAC5F,MAAM,UAAU,GAAG,oBAAoB,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IAE1D,MAAM,YAAY,GAAG,oBAAoB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;IAE9D,MAAM,cAAc,GAAG,IAAA,2BAAiB,GAAE,CAAA;IAE1C,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAA4B,MAAM,CAAC,CAAA;IAEjE,+EAA+E;IAC/E,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,KAAK,GAAG,2BAAiB,CAAC,SAAS,CAAC,CAAC,MAAM,EAAE,EAAE;YACnD,aAAa,CAAC,MAAM,CAAC,CAAA;YACrB,MAAM,aAAa,GAAG,SAAS,CAAC,OAAO,IAAI,CAAC,CAAA;YAC5C,IACE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,OAAO,aAAa,KAAK,QAAQ,CAAC;gBACpE,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC;oBAC3B,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC,EACjF;gBACA,UAAU,CAAC,MAAM,CAAC,CAAA;aACnB;QACH,CAAC,CAAC,CAAA;QACF,OAAO,GAAG,EAAE,CAAC,2BAAiB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IACnD,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,+EAA+E;IAC/E,MAAM,SAAS,GAAG,GAAe,EAAE;QACjC,MAAM,OAAO,GAAe,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;QAClD,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;QAC7E,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE;YACpC,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE;gBACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,mCAAe,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;oBAC/C,MAAM,UAAU,GAAe,mCAAe,CAAC,CAAC,CAAC,CAAA;oBACjD,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,KAAK,SAAS,EAAE;wBACtD,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,UAAU,CAAW,CAAA;wBACxC,MAAK;qBACN;iBACF;aACF;iBAAM;gBACL,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;aACnB;QACH,CAAC,CAAC,CAAA;QACF,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;IAED,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAA;IACzD,MAAM,OAAO,GAAG,SAAS,EAAE,CAAA;IAC3B,MAAM,OAAO,GAAG,IAAA,oBAAU,EACxB,SAAS,EACT;QACE,CAAC,GAAG,SAAS,UAAU,CAAC,EAAE,IAAI,KAAK,KAAK;QACxC,CAAC,GAAG,SAAS,IAAI,YAAY,EAAE,CAAC,EAAE,YAAY;QAC9C,CAAC,GAAG,SAAS,IAAI,UAAU,EAAE,CAAC,EAAE,UAAU;QAC1C,CAAC,GAAG,SAAS,MAAM,CAAC,EAAE,SAAS,KAAK,KAAK;KAC1C,EACD,SAAS,CACV,CAAA;IAED,2BAA2B;IAC3B,MAAM,QAAQ,GAAwB,EAAE,CAAA;IACxC,MAAM,gBAAgB,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAC3F,MAAM,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAEzF,IAAI,gBAAgB,EAAE;QACpB,QAAQ,CAAC,UAAU,GAAG,gBAAgB,CAAA;QACtC,QAAQ,CAAC,WAAW,GAAG,gBAAgB,CAAA;KACxC;IAED,IAAI,cAAc,EAAE;QAClB,qCAAqC;QACrC,CAAC;QAAA,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,OAAO,CAAA;KAC/B;SAAM,IAAI,cAAc,EAAE;QACzB,QAAQ,CAAC,SAAS,GAAG,cAAc,CAAA;QACnC,QAAQ,CAAC,YAAY,GAAG,cAAc,CAAA;KACvC;IAED,2FAA2F;IAC3F,6CAA6C;IAC7C,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,OAAO,CAAA;IAClC,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAC9B,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,CAAqB,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,EAChF,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,cAAc,CAAC,CACzC,CAAA;IAED,OAAO,CACL,oBAAC,oBAAU,CAAC,QAAQ,IAAC,KAAK,EAAE,UAAU;QACpC,6CAAS,MAAM,IAAE,SAAS,EAAE,OAAO,EAAE,KAAK,kCAAO,QAAQ,GAAK,KAAK,GAAI,GAAG,EAAE,GAAG,KAC5E,QAAQ,CACL,CACc,CACvB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;IACzC,GAAG,CAAC,WAAW,GAAG,KAAK,CAAA;CACxB;AAED,kBAAe,GAAG,CAAA","sourcesContent":["import classNames from 'classnames'\nimport * as React from 'react'\nimport { ConfigContext } from '../_util/context'\nimport useFlexGapSupport from '../_util/hooks/useFlexGapSupport'\nimport type { Breakpoint, ScreenMap } from '../_util/responsiveObserve'\nimport ResponsiveObserve, { responsiveArray } from '../_util/responsiveObserve'\nimport { tuple } from '../_util/type'\nimport RowContext from './RowContext'\n\nconst RowAligns = tuple('top', 'middle', 'bottom', 'stretch')\nconst RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly')\n\ntype Responsive = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs'\ntype ResponsiveLike<T> = {\n [key in Responsive]?: T\n}\n\ntype Gap = number | undefined\nexport type Gutter = number | undefined | Partial<Record<Breakpoint, number>>\n\ntype ResponsiveAligns = ResponsiveLike<typeof RowAligns[number]>\ntype ResponsiveJustify = ResponsiveLike<typeof RowJustify[number]>\nexport interface RowProps extends React.HTMLAttributes<HTMLDivElement> {\n gutter?: Gutter | [Gutter, Gutter]\n align?: typeof RowAligns[number] | ResponsiveAligns\n justify?: typeof RowJustify[number] | ResponsiveJustify\n prefixCls?: string\n wrap?: boolean\n}\n\nfunction useMergePropByScreen(oriProp: RowProps['align'] | RowProps['justify'], screen: ScreenMap) {\n const [prop, setProp] = React.useState(typeof oriProp === 'string' ? oriProp : '')\n\n const clacMergeAlignOrJustify = () => {\n if (typeof oriProp === 'string') {\n setProp(oriProp)\n }\n if (typeof oriProp !== 'object') {\n return\n }\n for (let i = 0; i < responsiveArray.length; i++) {\n const breakpoint: Breakpoint = responsiveArray[i]\n // if do not match, do nothing\n if (!screen[breakpoint]) continue\n const curVal = oriProp[breakpoint]\n if (curVal !== undefined) {\n setProp(curVal)\n return\n }\n }\n }\n\n React.useEffect(() => {\n clacMergeAlignOrJustify()\n }, [JSON.stringify(oriProp), screen])\n\n return prop\n}\n\nconst Row = React.forwardRef<HTMLDivElement, RowProps>((props, ref) => {\n const {\n prefixCls: customizePrefixCls = 'tnt-row',\n justify,\n align,\n className,\n style,\n children,\n gutter = 0,\n wrap,\n ...others\n } = props\n\n const { getPrefixCls, direction } = React.useContext(ConfigContext)\n\n const [screens, setScreens] = React.useState<ScreenMap>({\n xs: true,\n sm: true,\n md: true,\n lg: true,\n xl: true,\n xxl: true,\n })\n // to save screens info when responsiveObserve callback had been call\n const [curScreens, setCurScreens] = React.useState<ScreenMap>({\n xs: false,\n sm: false,\n md: false,\n lg: false,\n xl: false,\n xxl: false,\n })\n\n // ================================== calc reponsive data ==================================\n const mergeAlign = useMergePropByScreen(align, curScreens)\n\n const mergeJustify = useMergePropByScreen(justify, curScreens)\n\n const supportFlexGap = useFlexGapSupport()\n\n const gutterRef = React.useRef<Gutter | [Gutter, Gutter]>(gutter)\n\n // ================================== Effect ==================================\n React.useEffect(() => {\n const token = ResponsiveObserve.subscribe((screen) => {\n setCurScreens(screen)\n const currentGutter = gutterRef.current || 0\n if (\n (!Array.isArray(currentGutter) && typeof currentGutter === 'object') ||\n (Array.isArray(currentGutter) &&\n (typeof currentGutter[0] === 'object' || typeof currentGutter[1] === 'object'))\n ) {\n setScreens(screen)\n }\n })\n return () => ResponsiveObserve.unsubscribe(token)\n }, [])\n\n // ================================== Render ==================================\n const getGutter = (): [Gap, Gap] => {\n const results: [Gap, Gap] = [undefined, undefined]\n const normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, undefined]\n normalizedGutter.forEach((g, index) => {\n if (typeof g === 'object') {\n for (let i = 0; i < responsiveArray.length; i++) {\n const breakpoint: Breakpoint = responsiveArray[i]\n if (screens[breakpoint] && g[breakpoint] !== undefined) {\n results[index] = g[breakpoint] as number\n break\n }\n }\n } else {\n results[index] = g\n }\n })\n return results\n }\n\n const prefixCls = getPrefixCls('row', customizePrefixCls)\n const gutters = getGutter()\n const classes = classNames(\n prefixCls,\n {\n [`${prefixCls}-no-wrap`]: wrap === false,\n [`${prefixCls}-${mergeJustify}`]: mergeJustify,\n [`${prefixCls}-${mergeAlign}`]: mergeAlign,\n [`${prefixCls}-rtl`]: direction === 'rtl',\n },\n className\n )\n\n // Add gutter related style\n const rowStyle: React.CSSProperties = {}\n const horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined\n const verticalGutter = gutters[1] != null && gutters[1] > 0 ? gutters[1] / -2 : undefined\n\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter\n rowStyle.marginRight = horizontalGutter\n }\n\n if (supportFlexGap) {\n // Set gap direct if flex gap support\n ;[, rowStyle.rowGap] = gutters\n } else if (verticalGutter) {\n rowStyle.marginTop = verticalGutter\n rowStyle.marginBottom = verticalGutter\n }\n\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n const [gutterH, gutterV] = gutters\n const rowContext = React.useMemo(\n () => ({ gutter: [gutterH, gutterV] as [number, number], wrap, supportFlexGap }),\n [gutterH, gutterV, wrap, supportFlexGap]\n )\n\n return (\n <RowContext.Provider value={rowContext}>\n <div {...others} className={classes} style={{ ...rowStyle, ...style }} ref={ref}>\n {children}\n </div>\n </RowContext.Provider>\n )\n})\n\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row'\n}\n\nexport default Row\n"]}
@@ -0,0 +1,2 @@
1
+ import './index.less';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/grid-v4/style/index.tsx"],"names":[],"mappings":"AACA,OAAO,cAAc,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("./index.less");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/grid-v4/style/index.tsx"],"names":[],"mappings":";;AAAA,mCAAmC;AACnC,wBAAqB","sourcesContent":["// import '../../style/index.less';\nimport './index.less'\n"]}
@@ -0,0 +1,124 @@
1
+ // @import '../../style/themes/index';
2
+ // @import '../../style/mixins/index';
3
+ @import './mixin';
4
+
5
+ // Grid system
6
+ .@{row-prefix-cls} {
7
+ display: flex;
8
+ flex-flow: row wrap;
9
+ min-width: 0;
10
+
11
+ &::before,
12
+ &::after {
13
+ display: flex;
14
+ }
15
+
16
+ // No wrap of flex
17
+ &-no-wrap {
18
+ flex-wrap: nowrap;
19
+ }
20
+ }
21
+
22
+ // x轴原点
23
+ .@{row-prefix-cls}-start {
24
+ justify-content: flex-start;
25
+ }
26
+
27
+ // x轴居中
28
+ .@{row-prefix-cls}-center {
29
+ justify-content: center;
30
+ }
31
+
32
+ // x轴反方向
33
+ .@{row-prefix-cls}-end {
34
+ justify-content: flex-end;
35
+ }
36
+
37
+ // x轴平分
38
+ .@{row-prefix-cls}-space-between {
39
+ justify-content: space-between;
40
+ }
41
+
42
+ // x轴有间隔地平分
43
+ .@{row-prefix-cls}-space-around {
44
+ justify-content: space-around;
45
+ }
46
+
47
+ // x轴有间隔地均分
48
+ .@{row-prefix-cls}-space-evenly {
49
+ justify-content: space-evenly;
50
+ }
51
+
52
+ // 顶部对齐
53
+ .@{row-prefix-cls}-top {
54
+ align-items: flex-start;
55
+ }
56
+
57
+ // 居中对齐
58
+ .@{row-prefix-cls}-middle {
59
+ align-items: center;
60
+ }
61
+
62
+ // 底部对齐
63
+ .@{row-prefix-cls}-bottom {
64
+ align-items: flex-end;
65
+ }
66
+
67
+ .@{col-prefix-cls} {
68
+ position: relative;
69
+ max-width: 100%;
70
+ // Prevent columns from collapsing when empty
71
+ min-height: 1px;
72
+ }
73
+
74
+ .make-grid();
75
+
76
+ // Extra small grid
77
+ //
78
+ // Columns, offsets, pushes, and pulls for extra small devices like
79
+ // smartphones.
80
+
81
+ .make-grid(-xs);
82
+
83
+ // Small grid
84
+ //
85
+ // Columns, offsets, pushes, and pulls for the small device range, from phones
86
+ // to tablets.
87
+
88
+ @media (min-width: @screen-sm-min) {
89
+ .make-grid(-sm);
90
+ }
91
+
92
+ // Medium grid
93
+ //
94
+ // Columns, offsets, pushes, and pulls for the desktop device range.
95
+
96
+ @media (min-width: @screen-md-min) {
97
+ .make-grid(-md);
98
+ }
99
+
100
+ // Large grid
101
+ //
102
+ // Columns, offsets, pushes, and pulls for the large desktop device range.
103
+
104
+ @media (min-width: @screen-lg-min) {
105
+ .make-grid(-lg);
106
+ }
107
+
108
+ // Extra Large grid
109
+ //
110
+ // Columns, offsets, pushes, and pulls for the full hd device range.
111
+
112
+ @media (min-width: @screen-xl-min) {
113
+ .make-grid(-xl);
114
+ }
115
+
116
+ // Extra Extra Large grid
117
+ //
118
+ // Columns, offsets, pushes, and pulls for the full hd device range.
119
+
120
+ @media (min-width: @screen-xxl-min) {
121
+ .make-grid(-xxl);
122
+ }
123
+
124
+ @import './rtl';