tntd 2.7.29 → 2.7.31

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 (546) hide show
  1. package/es/affix/style/index.js.map +1 -0
  2. package/es/alert/style/index.js +2 -0
  3. package/es/alert/style/index.js.map +1 -0
  4. package/es/anchor/style/index.js +4 -0
  5. package/es/anchor/style/index.js.map +1 -0
  6. package/es/auto-complete/style/index.js +5 -0
  7. package/es/auto-complete/style/index.js.map +1 -0
  8. package/es/avatar/style/index.js +2 -0
  9. package/es/avatar/style/index.js.map +1 -0
  10. package/es/back-top/style/index.js +2 -0
  11. package/es/back-top/style/index.js.map +1 -0
  12. package/es/badge/style/index.js +2 -0
  13. package/es/badge/style/index.js.map +1 -0
  14. package/es/breadcrumb/style/index.js +4 -0
  15. package/es/breadcrumb/style/index.js.map +1 -0
  16. package/es/button/style/index.js +2 -0
  17. package/es/button/style/index.js.map +1 -0
  18. package/es/calendar/style/index.js +5 -0
  19. package/es/calendar/style/index.js.map +1 -0
  20. package/es/card/style/index.js +6 -0
  21. package/es/card/style/index.js.map +1 -0
  22. package/es/carousel/style/index.js +2 -0
  23. package/es/carousel/style/index.js.map +1 -0
  24. package/es/cascader/style/index.js +5 -0
  25. package/es/cascader/style/index.js.map +1 -0
  26. package/es/checkbox/style/index.js +2 -0
  27. package/es/checkbox/style/index.js.map +1 -0
  28. package/es/col/style/index.js +4 -0
  29. package/es/col/style/index.js.map +1 -0
  30. package/es/collapse/style/index.js +2 -0
  31. package/es/collapse/style/index.js.map +1 -0
  32. package/es/comment/style/index.js +2 -0
  33. package/es/comment/style/index.js.map +1 -0
  34. package/es/config-provider/style/index.js +1 -0
  35. package/es/config-provider/style/index.js.map +1 -0
  36. package/es/date-picker/style/index.js +7 -0
  37. package/es/date-picker/style/index.js.map +1 -0
  38. package/es/descriptions/style/index.js +2 -0
  39. package/es/descriptions/style/index.js.map +1 -0
  40. package/es/divider/style/index.js +2 -0
  41. package/es/divider/style/index.js.map +1 -0
  42. package/es/drawer/style/index.js +3 -0
  43. package/es/drawer/style/index.js.map +1 -0
  44. package/es/dropdown/style/index.js +4 -0
  45. package/es/dropdown/style/index.js.map +1 -0
  46. package/es/ellipsis/index.js +2 -0
  47. package/es/ellipsis/index.js.map +1 -1
  48. package/es/empty/style/index.js +2 -0
  49. package/es/empty/style/index.js.map +1 -0
  50. package/es/form/style/index.js +4 -0
  51. package/es/form/style/index.js.map +1 -0
  52. package/es/grid-v4/RowContext.js.map +1 -0
  53. package/es/{tntd-form/grid → grid-v4}/col.js +0 -1
  54. package/es/grid-v4/col.js.map +1 -0
  55. package/es/grid-v4/hooks/useBreakpoint.js.map +1 -0
  56. package/es/grid-v4/index.js.map +1 -0
  57. package/es/{tntd-form/grid → grid-v4}/row.js +1 -0
  58. package/es/grid-v4/row.js.map +1 -0
  59. package/es/grid-v4/style/index.js +2 -0
  60. package/es/grid-v4/style/index.js.map +1 -0
  61. package/es/icon/style/index.js +2 -0
  62. package/es/icon/style/index.js.map +1 -0
  63. package/es/input/style/index.js +4 -0
  64. package/es/input/style/index.js.map +1 -0
  65. package/es/input-number/style/index.js +2 -0
  66. package/es/input-number/style/index.js.map +1 -0
  67. package/es/layout/style/index.js +2 -0
  68. package/es/layout/style/index.js.map +1 -0
  69. package/es/list/style/index.js +7 -0
  70. package/es/list/style/index.js.map +1 -0
  71. package/es/locale-provider/style/index.js +1 -0
  72. package/es/locale-provider/style/index.js.map +1 -0
  73. package/es/mentions/style/index.js +4 -0
  74. package/es/mentions/style/index.js.map +1 -0
  75. package/es/menu/style/index.js +5 -0
  76. package/es/menu/style/index.js.map +1 -0
  77. package/es/message/style/index.js +2 -0
  78. package/es/message/style/index.js.map +1 -0
  79. package/es/modal/style/index.js +4 -0
  80. package/es/modal/style/index.js.map +1 -0
  81. package/es/notification/style/index.js +2 -0
  82. package/es/notification/style/index.js.map +1 -0
  83. package/es/page-header/style/index.js +4 -0
  84. package/es/page-header/style/index.js.map +1 -0
  85. package/es/pagination/style/index.js +4 -0
  86. package/es/pagination/style/index.js.map +1 -0
  87. package/es/popconfirm/style/index.js +5 -0
  88. package/es/popconfirm/style/index.js.map +1 -0
  89. package/es/popover/style/index.js +4 -0
  90. package/es/popover/style/index.js.map +1 -0
  91. package/es/progress/style/index.js +2 -0
  92. package/es/progress/style/index.js.map +1 -0
  93. package/es/radio/style/index.js +2 -0
  94. package/es/radio/style/index.js.map +1 -0
  95. package/es/rate/style/index.js +4 -0
  96. package/es/rate/style/index.js.map +1 -0
  97. package/es/result/style/index.js +2 -0
  98. package/es/result/style/index.js.map +1 -0
  99. package/es/row/style/index.js +4 -0
  100. package/es/row/style/index.js.map +1 -0
  101. package/es/select/style/index.js +4 -0
  102. package/es/select/style/index.js.map +1 -0
  103. package/es/skeleton/style/index.js +2 -0
  104. package/es/skeleton/style/index.js.map +1 -0
  105. package/es/slider/style/index.js +4 -0
  106. package/es/slider/style/index.js.map +1 -0
  107. package/es/spin/style/index.js +2 -0
  108. package/es/spin/style/index.js.map +1 -0
  109. package/es/statistic/style/index.js +2 -0
  110. package/es/statistic/style/index.js.map +1 -0
  111. package/es/steps/style/index.js +2 -0
  112. package/es/steps/style/index.js.map +1 -0
  113. package/es/style/index.js +1 -0
  114. package/es/style/index.js.map +1 -0
  115. package/es/style/v2-compatible-reset.js +1 -0
  116. package/es/style/v2-compatible-reset.js.map +1 -0
  117. package/es/switch/style/index.js +2 -0
  118. package/es/switch/style/index.js.map +1 -0
  119. package/es/table/style/index.js +10 -0
  120. package/es/table/style/index.js.map +1 -0
  121. package/es/tabs/style/index.js +2 -0
  122. package/es/tabs/style/index.js.map +1 -0
  123. package/es/tabs/tabs.js +8 -5
  124. package/es/tabs/tabs.js.map +1 -1
  125. package/es/tag/style/index.js +2 -0
  126. package/es/tag/style/index.js.map +1 -0
  127. package/es/time-picker/style/index.js +2 -0
  128. package/es/time-picker/style/index.js.map +1 -0
  129. package/es/timeline/style/index.js +2 -0
  130. package/es/timeline/style/index.js.map +1 -0
  131. package/es/tooltip/style/index.js +2 -0
  132. package/es/tooltip/style/index.js.map +1 -0
  133. package/es/transfer/style/index.js +7 -0
  134. package/es/transfer/style/index.js.map +1 -0
  135. package/es/tree/style/index.js +2 -0
  136. package/es/tree/style/index.js.map +1 -0
  137. package/es/tree-select/style/index.js +6 -0
  138. package/es/tree-select/style/index.js.map +1 -0
  139. package/es/typography/style/index.js +5 -0
  140. package/es/typography/style/index.js.map +1 -0
  141. package/es/upload/style/index.js +5 -0
  142. package/es/upload/style/index.js.map +1 -0
  143. package/es/utils/lang.js +5 -0
  144. package/es/utils/lang.js.map +1 -1
  145. package/es/version/style/index.js +2 -0
  146. package/es/version/style/index.js.map +1 -0
  147. package/lib/affix/style/index.d.ts.map +1 -0
  148. package/lib/affix/style/index.js.map +1 -0
  149. package/lib/alert/style/index.d.ts +3 -0
  150. package/lib/alert/style/index.d.ts.map +1 -0
  151. package/lib/alert/style/index.js +4 -0
  152. package/lib/alert/style/index.js.map +1 -0
  153. package/lib/anchor/style/index.d.ts +4 -0
  154. package/lib/anchor/style/index.d.ts.map +1 -0
  155. package/lib/anchor/style/index.js +5 -0
  156. package/lib/anchor/style/index.js.map +1 -0
  157. package/lib/auto-complete/style/index.d.ts +5 -0
  158. package/lib/auto-complete/style/index.d.ts.map +1 -0
  159. package/lib/auto-complete/style/index.js +6 -0
  160. package/lib/auto-complete/style/index.js.map +1 -0
  161. package/lib/avatar/style/index.d.ts +3 -0
  162. package/lib/avatar/style/index.d.ts.map +1 -0
  163. package/lib/avatar/style/index.js +4 -0
  164. package/lib/avatar/style/index.js.map +1 -0
  165. package/lib/back-top/style/index.d.ts +3 -0
  166. package/lib/back-top/style/index.d.ts.map +1 -0
  167. package/lib/back-top/style/index.js +4 -0
  168. package/lib/back-top/style/index.js.map +1 -0
  169. package/lib/badge/style/index.d.ts +3 -0
  170. package/lib/badge/style/index.d.ts.map +1 -0
  171. package/lib/badge/style/index.js +4 -0
  172. package/lib/badge/style/index.js.map +1 -0
  173. package/lib/breadcrumb/style/index.d.ts +5 -0
  174. package/lib/breadcrumb/style/index.d.ts.map +1 -0
  175. package/lib/breadcrumb/style/index.js +6 -0
  176. package/lib/breadcrumb/style/index.js.map +1 -0
  177. package/lib/button/style/index.d.ts +3 -0
  178. package/lib/button/style/index.d.ts.map +1 -0
  179. package/lib/button/style/index.js +4 -0
  180. package/lib/button/style/index.js.map +1 -0
  181. package/lib/calendar/style/index.d.ts +5 -0
  182. package/lib/calendar/style/index.d.ts.map +1 -0
  183. package/lib/calendar/style/index.js +6 -0
  184. package/lib/calendar/style/index.js.map +1 -0
  185. package/lib/card/style/index.d.ts +6 -0
  186. package/lib/card/style/index.d.ts.map +1 -0
  187. package/lib/card/style/index.js +7 -0
  188. package/lib/card/style/index.js.map +1 -0
  189. package/lib/carousel/style/index.d.ts +3 -0
  190. package/lib/carousel/style/index.d.ts.map +1 -0
  191. package/lib/carousel/style/index.js +4 -0
  192. package/lib/carousel/style/index.js.map +1 -0
  193. package/lib/cascader/style/index.d.ts +5 -0
  194. package/lib/cascader/style/index.d.ts.map +1 -0
  195. package/lib/cascader/style/index.js +6 -0
  196. package/lib/cascader/style/index.js.map +1 -0
  197. package/lib/checkbox/style/index.d.ts +3 -0
  198. package/lib/checkbox/style/index.d.ts.map +1 -0
  199. package/lib/checkbox/style/index.js +4 -0
  200. package/lib/checkbox/style/index.js.map +1 -0
  201. package/lib/col/style/index.d.ts +3 -0
  202. package/lib/col/style/index.d.ts.map +1 -0
  203. package/lib/col/style/index.js +4 -0
  204. package/lib/col/style/index.js.map +1 -0
  205. package/lib/collapse/style/index.d.ts +3 -0
  206. package/lib/collapse/style/index.d.ts.map +1 -0
  207. package/lib/collapse/style/index.js +4 -0
  208. package/lib/collapse/style/index.js.map +1 -0
  209. package/lib/comment/style/index.d.ts +3 -0
  210. package/lib/comment/style/index.d.ts.map +1 -0
  211. package/lib/comment/style/index.js +4 -0
  212. package/lib/comment/style/index.js.map +1 -0
  213. package/lib/config-provider/style/index.d.ts +2 -0
  214. package/lib/config-provider/style/index.d.ts.map +1 -0
  215. package/lib/config-provider/style/index.js +3 -0
  216. package/lib/config-provider/style/index.js.map +1 -0
  217. package/lib/date-picker/style/index.d.ts +6 -0
  218. package/lib/date-picker/style/index.d.ts.map +1 -0
  219. package/lib/date-picker/style/index.js +7 -0
  220. package/lib/date-picker/style/index.js.map +1 -0
  221. package/lib/descriptions/style/index.d.ts +3 -0
  222. package/lib/descriptions/style/index.d.ts.map +1 -0
  223. package/lib/descriptions/style/index.js +4 -0
  224. package/lib/descriptions/style/index.js.map +1 -0
  225. package/lib/divider/style/index.d.ts +3 -0
  226. package/lib/divider/style/index.d.ts.map +1 -0
  227. package/lib/divider/style/index.js +4 -0
  228. package/lib/divider/style/index.js.map +1 -0
  229. package/lib/drawer/style/index.d.ts +3 -0
  230. package/lib/drawer/style/index.d.ts.map +1 -0
  231. package/lib/drawer/style/index.js +4 -0
  232. package/lib/drawer/style/index.js.map +1 -0
  233. package/lib/dropdown/style/index.d.ts +4 -0
  234. package/lib/dropdown/style/index.d.ts.map +1 -0
  235. package/lib/dropdown/style/index.js +5 -0
  236. package/lib/dropdown/style/index.js.map +1 -0
  237. package/lib/ellipsis/index.d.ts.map +1 -1
  238. package/lib/ellipsis/index.js +2 -0
  239. package/lib/ellipsis/index.js.map +1 -1
  240. package/lib/empty/style/index.d.ts +3 -0
  241. package/lib/empty/style/index.d.ts.map +1 -0
  242. package/lib/empty/style/index.js +4 -0
  243. package/lib/empty/style/index.js.map +1 -0
  244. package/lib/form/style/index.d.ts +4 -0
  245. package/lib/form/style/index.d.ts.map +1 -0
  246. package/lib/form/style/index.js +5 -0
  247. package/lib/form/style/index.js.map +1 -0
  248. package/lib/grid-v4/RowContext.d.ts.map +1 -0
  249. package/lib/grid-v4/RowContext.js.map +1 -0
  250. package/lib/grid-v4/col.d.ts.map +1 -0
  251. package/lib/grid-v4/col.js.map +1 -0
  252. package/lib/grid-v4/hooks/useBreakpoint.d.ts.map +1 -0
  253. package/lib/grid-v4/hooks/useBreakpoint.js.map +1 -0
  254. package/lib/grid-v4/index.d.ts.map +1 -0
  255. package/lib/grid-v4/index.js.map +1 -0
  256. package/lib/grid-v4/row.d.ts.map +1 -0
  257. package/lib/{tntd-form/grid → grid-v4}/row.js +1 -0
  258. package/lib/grid-v4/row.js.map +1 -0
  259. package/lib/grid-v4/style/index.d.ts +2 -0
  260. package/lib/grid-v4/style/index.d.ts.map +1 -0
  261. package/lib/grid-v4/style/index.js +3 -0
  262. package/lib/grid-v4/style/index.js.map +1 -0
  263. package/lib/icon/style/index.d.ts +3 -0
  264. package/lib/icon/style/index.d.ts.map +1 -0
  265. package/lib/icon/style/index.js +4 -0
  266. package/lib/icon/style/index.js.map +1 -0
  267. package/lib/input/style/index.d.ts +4 -0
  268. package/lib/input/style/index.d.ts.map +1 -0
  269. package/lib/input/style/index.js +5 -0
  270. package/lib/input/style/index.js.map +1 -0
  271. package/lib/input-number/style/index.d.ts +3 -0
  272. package/lib/input-number/style/index.d.ts.map +1 -0
  273. package/lib/input-number/style/index.js +4 -0
  274. package/lib/input-number/style/index.js.map +1 -0
  275. package/lib/layout/style/index.d.ts +3 -0
  276. package/lib/layout/style/index.d.ts.map +1 -0
  277. package/lib/layout/style/index.js +4 -0
  278. package/lib/layout/style/index.js.map +1 -0
  279. package/lib/list/style/index.d.ts +7 -0
  280. package/lib/list/style/index.d.ts.map +1 -0
  281. package/lib/list/style/index.js +8 -0
  282. package/lib/list/style/index.js.map +1 -0
  283. package/lib/locale-provider/style/index.d.ts +2 -0
  284. package/lib/locale-provider/style/index.d.ts.map +1 -0
  285. package/lib/locale-provider/style/index.js +3 -0
  286. package/lib/locale-provider/style/index.js.map +1 -0
  287. package/lib/mentions/style/index.d.ts +4 -0
  288. package/lib/mentions/style/index.d.ts.map +1 -0
  289. package/lib/mentions/style/index.js +5 -0
  290. package/lib/mentions/style/index.js.map +1 -0
  291. package/lib/menu/style/index.d.ts +4 -0
  292. package/lib/menu/style/index.d.ts.map +1 -0
  293. package/lib/menu/style/index.js +5 -0
  294. package/lib/menu/style/index.js.map +1 -0
  295. package/lib/message/style/index.d.ts +3 -0
  296. package/lib/message/style/index.d.ts.map +1 -0
  297. package/lib/message/style/index.js +4 -0
  298. package/lib/message/style/index.js.map +1 -0
  299. package/lib/modal/style/index.d.ts +4 -0
  300. package/lib/modal/style/index.d.ts.map +1 -0
  301. package/lib/modal/style/index.js +5 -0
  302. package/lib/modal/style/index.js.map +1 -0
  303. package/lib/notification/style/index.d.ts +3 -0
  304. package/lib/notification/style/index.d.ts.map +1 -0
  305. package/lib/notification/style/index.js +4 -0
  306. package/lib/notification/style/index.js.map +1 -0
  307. package/lib/page-header/style/index.d.ts +4 -0
  308. package/lib/page-header/style/index.d.ts.map +1 -0
  309. package/lib/page-header/style/index.js +5 -0
  310. package/lib/page-header/style/index.js.map +1 -0
  311. package/lib/pagination/style/index.d.ts +4 -0
  312. package/lib/pagination/style/index.d.ts.map +1 -0
  313. package/lib/pagination/style/index.js +5 -0
  314. package/lib/pagination/style/index.js.map +1 -0
  315. package/lib/popconfirm/style/index.d.ts +4 -0
  316. package/lib/popconfirm/style/index.d.ts.map +1 -0
  317. package/lib/popconfirm/style/index.js +5 -0
  318. package/lib/popconfirm/style/index.js.map +1 -0
  319. package/lib/popover/style/index.d.ts +3 -0
  320. package/lib/popover/style/index.d.ts.map +1 -0
  321. package/lib/popover/style/index.js +4 -0
  322. package/lib/popover/style/index.js.map +1 -0
  323. package/lib/progress/style/index.d.ts +3 -0
  324. package/lib/progress/style/index.d.ts.map +1 -0
  325. package/lib/progress/style/index.js +4 -0
  326. package/lib/progress/style/index.js.map +1 -0
  327. package/lib/radio/style/index.d.ts +3 -0
  328. package/lib/radio/style/index.d.ts.map +1 -0
  329. package/lib/radio/style/index.js +4 -0
  330. package/lib/radio/style/index.js.map +1 -0
  331. package/lib/rate/style/index.d.ts +4 -0
  332. package/lib/rate/style/index.d.ts.map +1 -0
  333. package/lib/rate/style/index.js +5 -0
  334. package/lib/rate/style/index.js.map +1 -0
  335. package/lib/result/style/index.d.ts +3 -0
  336. package/lib/result/style/index.d.ts.map +1 -0
  337. package/lib/result/style/index.js +4 -0
  338. package/lib/result/style/index.js.map +1 -0
  339. package/lib/row/style/index.d.ts +3 -0
  340. package/lib/row/style/index.d.ts.map +1 -0
  341. package/lib/row/style/index.js +4 -0
  342. package/lib/row/style/index.js.map +1 -0
  343. package/lib/select/style/index.d.ts +4 -0
  344. package/lib/select/style/index.d.ts.map +1 -0
  345. package/lib/select/style/index.js +5 -0
  346. package/lib/select/style/index.js.map +1 -0
  347. package/lib/skeleton/style/index.d.ts +3 -0
  348. package/lib/skeleton/style/index.d.ts.map +1 -0
  349. package/lib/skeleton/style/index.js +4 -0
  350. package/lib/skeleton/style/index.js.map +1 -0
  351. package/lib/slider/style/index.d.ts +4 -0
  352. package/lib/slider/style/index.d.ts.map +1 -0
  353. package/lib/slider/style/index.js +5 -0
  354. package/lib/slider/style/index.js.map +1 -0
  355. package/lib/spin/style/index.d.ts +3 -0
  356. package/lib/spin/style/index.d.ts.map +1 -0
  357. package/lib/spin/style/index.js +4 -0
  358. package/lib/spin/style/index.js.map +1 -0
  359. package/lib/statistic/style/index.d.ts +3 -0
  360. package/lib/statistic/style/index.d.ts.map +1 -0
  361. package/lib/statistic/style/index.js +4 -0
  362. package/lib/statistic/style/index.js.map +1 -0
  363. package/lib/steps/style/index.d.ts +3 -0
  364. package/lib/steps/style/index.d.ts.map +1 -0
  365. package/lib/steps/style/index.js +4 -0
  366. package/lib/steps/style/index.js.map +1 -0
  367. package/lib/style/index.d.ts +2 -0
  368. package/lib/style/index.d.ts.map +1 -0
  369. package/lib/style/index.js +3 -0
  370. package/lib/style/index.js.map +1 -0
  371. package/lib/style/v2-compatible-reset.d.ts +2 -0
  372. package/lib/style/v2-compatible-reset.d.ts.map +1 -0
  373. package/lib/style/v2-compatible-reset.js +3 -0
  374. package/lib/style/v2-compatible-reset.js.map +1 -0
  375. package/lib/switch/style/index.d.ts +3 -0
  376. package/lib/switch/style/index.d.ts.map +1 -0
  377. package/lib/switch/style/index.js +4 -0
  378. package/lib/switch/style/index.js.map +1 -0
  379. package/lib/table/style/index.d.ts +9 -0
  380. package/lib/table/style/index.d.ts.map +1 -0
  381. package/lib/table/style/index.js +10 -0
  382. package/lib/table/style/index.js.map +1 -0
  383. package/lib/tabs/style/index.d.ts +3 -0
  384. package/lib/tabs/style/index.d.ts.map +1 -0
  385. package/lib/tabs/style/index.js +4 -0
  386. package/lib/tabs/style/index.js.map +1 -0
  387. package/lib/tabs/tabs.d.ts +1 -0
  388. package/lib/tabs/tabs.d.ts.map +1 -1
  389. package/lib/tabs/tabs.js +7 -4
  390. package/lib/tabs/tabs.js.map +1 -1
  391. package/lib/tag/style/index.d.ts +3 -0
  392. package/lib/tag/style/index.d.ts.map +1 -0
  393. package/lib/tag/style/index.js +4 -0
  394. package/lib/tag/style/index.js.map +1 -0
  395. package/lib/time-picker/style/index.d.ts +3 -0
  396. package/lib/time-picker/style/index.d.ts.map +1 -0
  397. package/lib/time-picker/style/index.js +4 -0
  398. package/lib/time-picker/style/index.js.map +1 -0
  399. package/lib/timeline/style/index.d.ts +3 -0
  400. package/lib/timeline/style/index.d.ts.map +1 -0
  401. package/lib/timeline/style/index.js +4 -0
  402. package/lib/timeline/style/index.js.map +1 -0
  403. package/lib/tooltip/style/index.d.ts +3 -0
  404. package/lib/tooltip/style/index.d.ts.map +1 -0
  405. package/lib/tooltip/style/index.js +4 -0
  406. package/lib/tooltip/style/index.js.map +1 -0
  407. package/lib/transfer/style/index.d.ts +7 -0
  408. package/lib/transfer/style/index.d.ts.map +1 -0
  409. package/lib/transfer/style/index.js +8 -0
  410. package/lib/transfer/style/index.js.map +1 -0
  411. package/lib/tree/style/index.d.ts +3 -0
  412. package/lib/tree/style/index.d.ts.map +1 -0
  413. package/lib/tree/style/index.js +4 -0
  414. package/lib/tree/style/index.js.map +1 -0
  415. package/lib/tree-select/style/index.d.ts +5 -0
  416. package/lib/tree-select/style/index.d.ts.map +1 -0
  417. package/lib/tree-select/style/index.js +6 -0
  418. package/lib/tree-select/style/index.js.map +1 -0
  419. package/lib/typography/style/index.d.ts +5 -0
  420. package/lib/typography/style/index.d.ts.map +1 -0
  421. package/lib/typography/style/index.js +6 -0
  422. package/lib/typography/style/index.js.map +1 -0
  423. package/lib/upload/style/index.d.ts +5 -0
  424. package/lib/upload/style/index.d.ts.map +1 -0
  425. package/lib/upload/style/index.js +6 -0
  426. package/lib/upload/style/index.js.map +1 -0
  427. package/lib/utils/lang.d.ts.map +1 -1
  428. package/lib/utils/lang.js +5 -0
  429. package/lib/utils/lang.js.map +1 -1
  430. package/lib/version/style/index.d.ts +2 -0
  431. package/lib/version/style/index.d.ts.map +1 -0
  432. package/lib/version/style/index.js +3 -0
  433. package/lib/version/style/index.js.map +1 -0
  434. package/package.json +1 -1
  435. package/themes/common/index.less +3 -3
  436. package/es/tntd-form/_util/context.js +0 -12
  437. package/es/tntd-form/_util/context.js.map +0 -1
  438. package/es/tntd-form/_util/defaultRenderEmpty.js +0 -31
  439. package/es/tntd-form/_util/defaultRenderEmpty.js.map +0 -1
  440. package/es/tntd-form/_util/hooks/useFlexGapSupport.js +0 -9
  441. package/es/tntd-form/_util/hooks/useFlexGapSupport.js.map +0 -1
  442. package/es/tntd-form/_util/hooks/useForceUpdate.js +0 -5
  443. package/es/tntd-form/_util/hooks/useForceUpdate.js.map +0 -1
  444. package/es/tntd-form/_util/motion.js +0 -47
  445. package/es/tntd-form/_util/motion.js.map +0 -1
  446. package/es/tntd-form/_util/reactNode.js +0 -16
  447. package/es/tntd-form/_util/reactNode.js.map +0 -1
  448. package/es/tntd-form/_util/responsiveObserve.js +0 -59
  449. package/es/tntd-form/_util/responsiveObserve.js.map +0 -1
  450. package/es/tntd-form/_util/scrollTo.js +0 -35
  451. package/es/tntd-form/_util/scrollTo.js.map +0 -1
  452. package/es/tntd-form/_util/styleChecker.js +0 -26
  453. package/es/tntd-form/_util/styleChecker.js.map +0 -1
  454. package/es/tntd-form/_util/type.js +0 -3
  455. package/es/tntd-form/_util/type.js.map +0 -1
  456. package/es/tntd-form/_util/warning.js +0 -5
  457. package/es/tntd-form/_util/warning.js.map +0 -1
  458. package/es/tntd-form/_util/wave.js +0 -168
  459. package/es/tntd-form/_util/wave.js.map +0 -1
  460. package/es/tntd-form/grid/RowContext.js.map +0 -1
  461. package/es/tntd-form/grid/col.js.map +0 -1
  462. package/es/tntd-form/grid/hooks/useBreakpoint.js.map +0 -1
  463. package/es/tntd-form/grid/index.js.map +0 -1
  464. package/es/tntd-form/grid/row.js.map +0 -1
  465. package/es/tntd-form/grid/style/index.js.map +0 -1
  466. package/es/tntd-form/tntd-form.stories.js +0 -836
  467. package/es/tntd-form/tntd-form.stories.js.map +0 -1
  468. package/lib/tntd-form/_util/context.d.ts +0 -42
  469. package/lib/tntd-form/_util/context.d.ts.map +0 -1
  470. package/lib/tntd-form/_util/context.js +0 -22
  471. package/lib/tntd-form/_util/context.js.map +0 -1
  472. package/lib/tntd-form/_util/defaultRenderEmpty.d.ts +0 -5
  473. package/lib/tntd-form/_util/defaultRenderEmpty.d.ts.map +0 -1
  474. package/lib/tntd-form/_util/defaultRenderEmpty.js +0 -44
  475. package/lib/tntd-form/_util/defaultRenderEmpty.js.map +0 -1
  476. package/lib/tntd-form/_util/hooks/useFlexGapSupport.d.ts +0 -3
  477. package/lib/tntd-form/_util/hooks/useFlexGapSupport.d.ts.map +0 -1
  478. package/lib/tntd-form/_util/hooks/useFlexGapSupport.js +0 -28
  479. package/lib/tntd-form/_util/hooks/useFlexGapSupport.js.map +0 -1
  480. package/lib/tntd-form/_util/hooks/useForceUpdate.d.ts +0 -3
  481. package/lib/tntd-form/_util/hooks/useForceUpdate.d.ts.map +0 -1
  482. package/lib/tntd-form/_util/hooks/useForceUpdate.js +0 -24
  483. package/lib/tntd-form/_util/hooks/useForceUpdate.js.map +0 -1
  484. package/lib/tntd-form/_util/motion.d.ts +0 -9
  485. package/lib/tntd-form/_util/motion.d.ts.map +0 -1
  486. package/lib/tntd-form/_util/motion.js +0 -59
  487. package/lib/tntd-form/_util/motion.js.map +0 -1
  488. package/lib/tntd-form/_util/reactNode.d.ts +0 -9
  489. package/lib/tntd-form/_util/reactNode.d.ts.map +0 -1
  490. package/lib/tntd-form/_util/reactNode.js +0 -27
  491. package/lib/tntd-form/_util/reactNode.js.map +0 -1
  492. package/lib/tntd-form/_util/responsiveObserve.d.ts +0 -22
  493. package/lib/tntd-form/_util/responsiveObserve.d.ts.map +0 -1
  494. package/lib/tntd-form/_util/responsiveObserve.js +0 -73
  495. package/lib/tntd-form/_util/responsiveObserve.js.map +0 -1
  496. package/lib/tntd-form/_util/scrollTo.d.ts +0 -1
  497. package/lib/tntd-form/_util/scrollTo.d.ts.map +0 -1
  498. package/lib/tntd-form/_util/scrollTo.js +0 -35
  499. package/lib/tntd-form/_util/scrollTo.js.map +0 -1
  500. package/lib/tntd-form/_util/styleChecker.d.ts +0 -5
  501. package/lib/tntd-form/_util/styleChecker.d.ts.map +0 -1
  502. package/lib/tntd-form/_util/styleChecker.js +0 -42
  503. package/lib/tntd-form/_util/styleChecker.js.map +0 -1
  504. package/lib/tntd-form/_util/type.d.ts +0 -4
  505. package/lib/tntd-form/_util/type.d.ts.map +0 -1
  506. package/lib/tntd-form/_util/type.js +0 -21
  507. package/lib/tntd-form/_util/type.js.map +0 -1
  508. package/lib/tntd-form/_util/warning.d.ts +0 -5
  509. package/lib/tntd-form/_util/warning.d.ts.map +0 -1
  510. package/lib/tntd-form/_util/warning.js +0 -20
  511. package/lib/tntd-form/_util/warning.js.map +0 -1
  512. package/lib/tntd-form/_util/wave.d.ts +0 -1
  513. package/lib/tntd-form/_util/wave.d.ts.map +0 -1
  514. package/lib/tntd-form/_util/wave.js +0 -168
  515. package/lib/tntd-form/_util/wave.js.map +0 -1
  516. package/lib/tntd-form/grid/RowContext.d.ts.map +0 -1
  517. package/lib/tntd-form/grid/RowContext.js.map +0 -1
  518. package/lib/tntd-form/grid/col.d.ts.map +0 -1
  519. package/lib/tntd-form/grid/col.js.map +0 -1
  520. package/lib/tntd-form/grid/hooks/useBreakpoint.d.ts.map +0 -1
  521. package/lib/tntd-form/grid/hooks/useBreakpoint.js.map +0 -1
  522. package/lib/tntd-form/grid/index.d.ts.map +0 -1
  523. package/lib/tntd-form/grid/index.js.map +0 -1
  524. package/lib/tntd-form/grid/row.d.ts.map +0 -1
  525. package/lib/tntd-form/grid/row.js.map +0 -1
  526. package/lib/tntd-form/grid/style/index.d.ts.map +0 -1
  527. package/lib/tntd-form/grid/style/index.js.map +0 -1
  528. package/lib/tntd-form/tntd-form.stories.d.ts +0 -33
  529. package/lib/tntd-form/tntd-form.stories.d.ts.map +0 -1
  530. package/lib/tntd-form/tntd-form.stories.js +0 -943
  531. package/lib/tntd-form/tntd-form.stories.js.map +0 -1
  532. /package/es/{tntd-form/grid → affix}/style/index.js +0 -0
  533. /package/es/{tntd-form/grid → grid-v4}/RowContext.js +0 -0
  534. /package/es/{tntd-form/grid → grid-v4}/hooks/useBreakpoint.js +0 -0
  535. /package/es/{tntd-form/grid → grid-v4}/index.js +0 -0
  536. /package/lib/{tntd-form/grid → affix}/style/index.d.ts +0 -0
  537. /package/lib/{tntd-form/grid → affix}/style/index.js +0 -0
  538. /package/lib/{tntd-form/grid → grid-v4}/RowContext.d.ts +0 -0
  539. /package/lib/{tntd-form/grid → grid-v4}/RowContext.js +0 -0
  540. /package/lib/{tntd-form/grid → grid-v4}/col.d.ts +0 -0
  541. /package/lib/{tntd-form/grid → grid-v4}/col.js +0 -0
  542. /package/lib/{tntd-form/grid → grid-v4}/hooks/useBreakpoint.d.ts +0 -0
  543. /package/lib/{tntd-form/grid → grid-v4}/hooks/useBreakpoint.js +0 -0
  544. /package/lib/{tntd-form/grid → grid-v4}/index.d.ts +0 -0
  545. /package/lib/{tntd-form/grid → grid-v4}/index.js +0 -0
  546. /package/lib/{tntd-form/grid → grid-v4}/row.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/affix/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/alert/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../affix/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/anchor/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,mBAAmB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../affix/style'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../select/style';
5
+ import '../../input/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auto-complete/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,oBAAoB,CAAA;AAC3B,OAAO,mBAAmB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../select/style'\nimport '../../input/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/avatar/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/back-top/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/badge/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ import '../../menu/style';
4
+ import '../../dropdown/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/breadcrumb/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,OAAO,kBAAkB,CAAA;AACzB,OAAO,sBAAsB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\nimport '../../menu/style'\nimport '../../dropdown/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/button/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../select/style';
5
+ import '../../radio/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/calendar/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,oBAAoB,CAAA;AAC3B,OAAO,mBAAmB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../select/style'\nimport '../../radio/style'\n"]}
@@ -0,0 +1,6 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../tabs/style';
5
+ import '../../row/style';
6
+ import '../../col/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/card/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,kBAAkB,CAAA;AACzB,OAAO,iBAAiB,CAAA;AACxB,OAAO,iBAAiB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../tabs/style'\nimport '../../row/style'\nimport '../../col/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/carousel/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../empty/style';
5
+ import '../../input/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cascader/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,mBAAmB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../empty/style'\nimport '../../input/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/checkbox/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ // style dependencies
3
+ // deps-lint-skip: grid
4
+ import '../../grid/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/col/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAE/B,qBAAqB;AACrB,uBAAuB;AACvB,OAAO,kBAAkB,CAAA","sourcesContent":["import '../../style/index.less'\n\n// style dependencies\n// deps-lint-skip: grid\nimport '../../grid/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/collapse/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/comment/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/config-provider/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA","sourcesContent":["import './index.less'\n"]}
@@ -0,0 +1,7 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ // deps-lint-skip: input
5
+ import '../../input/style';
6
+ import '../../time-picker/style';
7
+ import '../../tag/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/date-picker/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,wBAAwB;AACxB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,yBAAyB,CAAA;AAChC,OAAO,iBAAiB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\n// deps-lint-skip: input\nimport '../../input/style'\nimport '../../time-picker/style'\nimport '../../tag/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/descriptions/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/divider/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,3 @@
1
+ // deps-lint-skip: empty
2
+ import '../../style/index.less';
3
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/drawer/style/index.tsx"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["// deps-lint-skip: empty\nimport '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../button/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dropdown/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,oBAAoB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../button/style'\n"]}
@@ -20,6 +20,8 @@ const isEllipsisActive = e => {
20
20
  }
21
21
  e.parentNode.setAttribute('style', styleStr);
22
22
  e.setAttribute("style", 'overflow:inherit');
23
+ } else {
24
+ e.setAttribute("style", "");
23
25
  }
24
26
  return e.offsetWidth + tolerance < e.scrollWidth || e.offsetHeight < e.scrollHeight;
25
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ellipsis/index.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,IAAI,MAAM,mBAAmB,CAAA;AACpC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3E,OAAO,OAAO,MAAM,YAAY,CAAA;AAChC,OAAO,OAAO,MAAM,YAAY,CAAA;AAEhC,OAAO,OAAO,MAAM,eAAe,CAAA;AACnC,OAAO,OAAO,MAAM,eAAe,CAAA;AACnC,OAAO,cAAc,CAAA;AAErB,MAAM,SAAS,GAAG,CAAC,CAAA,CAAC,2CAA2C;AAE/D,MAAM,gBAAgB,GAAG,CAAC,CAAC,EAAE,EAAE;;IAC7B,IAAI,CAAC,CAAC,WAAW,KAAK,CAAC,CAAC,WAAW,I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CACH,CACG,CACP,CACG,CACL,CACJ,CAAA;AACH,CAAC,CAAA","sourcesContent":["/*\n * @Author: 梁洪刚\n * @CreatDate: 2021-03-31 13:57:32\n * @Describe: 省略号组件\n */\n\nimport copy from 'copy-to-clipboard'\nimport React, { useEffect, useLayoutEffect, useRef, useState } from 'react'\n\nimport Popover from '../popover'\nimport Tooltip from '../tooltip'\n\nimport CopySVG from './Svg/CopySVG'\nimport TickSVG from './Svg/TickSVG'\nimport './index.less'\n\nconst tolerance = 0 // In px. Depends on the font you are using\n\nconst isEllipsisActive = (e) => {\n if (e.offsetWidth === e.scrollWidth && e.offsetHeight === e.scrollHeight) {\n let styleStr = 'overflow:visible; '\n if (!e?.parentNode?.getAttribute('style')?.includes('width')) {\n styleStr += 'max-width:100%;'\n }\n e.parentNode.setAttribute('style', styleStr)\n e.setAttribute(\"style\",'overflow:inherit');\n }\n return e.offsetWidth + tolerance < e.scrollWidth || e.offsetHeight < e.scrollHeight\n}\n\nexport default (props) => {\n let {\n _popover = props.Popover, // `Popover` or `Tooltip` ?\n title, // in most cases for `Tooltip`\n content, // in most cases for `Popover`\n className,\n style,\n widthLimit, // width trigger value\n _lines = props.lines !== 1 && props.lines, // number or lines, default 1 line;\n children, // children Node\n emptyText, // default: null\n _copyable = props.copyable, // copy function\n prefix, // 前缀dom\n suffix, // 后缀dom\n needRefresh = true // select.options的情况下不要刷新\n } = props\n\n const [renderId, setRenderId] = useState(1);\n // allow visible or not state\n const [flag, setFlag] = useState(true)\n // visible[Tooltip/Popover] state\n const [tipVisible, setTipVisible] = useState(false)\n // copy animation state\n const [hasCopy, setHasCopy] = useState(false)\n const [lineHeight, setLineHeight] = useState()\n\n const elementRef = useRef()\n\n const computeElement = ()=>{\n elementRef.current && isEllipsisActive(elementRef.current)\n ? setFlag(true)\n : (setFlag(false), setTipVisible(false))\n\n if (elementRef.current) {\n setLineHeight(getComputedStyle(elementRef.current, null).getPropertyValue('line-height'))\n }\n }\n \n useLayoutEffect(()=>{\n if (needRefresh) {\n setRenderId(id => id + 1);\n }else {\n if(renderId < 2) {\n setRenderId(id => id + 1);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [title, needRefresh, content, children])\n\n useEffect(() => {\n computeElement()\n },[renderId])\n\n useEffect(()=>{\n window.addEventListener(\"resize\",computeElement)\n return ()=>{\n window.removeEventListener('resize',computeElement)\n }\n },[])\n\n // original Node\n const inner = typeof children === 'string' ? children : _popover ? content : title\n\n // for className\n const getClassName = () => {\n return `overflow min-width-0 ${_lines ? 'ellipsis-wrap' : 'ellipsis-nowrap'} ${className || ''}`\n }\n\n // Tooltip.trigger(default 'hover') ==trigger==> onVisibleChange(visible)\n const handleVisibleChange = (visible) => {\n // const { onVisibleChange } = props;\n // onVisibleChange(visible);\n flag && setTipVisible(visible)\n }\n\n // onClick Copy Button\n const handleCopy = (innerText) => {\n copy(innerText)\n setHasCopy(!hasCopy)\n setTimeout(() => {\n setHasCopy(false)\n }, 1000)\n }\n\n const renderNode = () => {\n const popoverNode = (\n <Popover\n {...props}\n content={content || children}\n visible={tipVisible}\n onVisibleChange={(visible) => handleVisibleChange(visible)}\n >\n <div className={className} style={{ WebkitLineClamp: _lines }} ref={elementRef}>\n {children || content}\n </div>\n </Popover>\n )\n\n const tooltipNode = (\n <Tooltip\n {...props}\n title={title || children}\n visible={tipVisible}\n onVisibleChange={(visible) => handleVisibleChange(visible)}\n >\n <div className={className} style={{ WebkitLineClamp: _lines }} ref={elementRef}>\n {children || title}\n </div>\n </Tooltip>\n )\n\n return _popover ? popoverNode : tooltipNode\n }\n\n return (\n <>\n <div\n className=\"tntd-ellipsis\"\n style={{\n ...style,\n maxWidth: widthLimit,\n }}\n >\n {/* prefix */}\n {prefix && prefix}\n {/* content */}\n <div className={getClassName()} key={renderId}>{inner ? renderNode() : emptyText}</div>\n {/* suffix */}\n {suffix && suffix}\n {/* copyable button */}\n {inner && _copyable && lineHeight && (\n <div\n className=\"svg-button\"\n style={{\n height: lineHeight,\n }}\n onClick={() => handleCopy(elementRef.current.innerText)}\n >\n {!hasCopy ? (\n <CopySVG\n style={{\n height: lineHeight,\n }}\n />\n ) : (\n <TickSVG\n style={{\n height: lineHeight,\n }}\n />\n )}\n </div>\n )}\n </div>\n </>\n )\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ellipsis/index.js"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,IAAI,MAAM,mBAAmB,CAAA;AACpC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3E,OAAO,OAAO,MAAM,YAAY,CAAA;AAChC,OAAO,OAAO,MAAM,YAAY,CAAA;AAEhC,OAAO,OAAO,MAAM,eAAe,CAAA;AACnC,OAAO,OAAO,MAAM,eAAe,CAAA;AACnC,OAAO,cAAc,CAAA;AAErB,MAAM,SAAS,GAAG,CAAC,CAAA,CAAC,2CAA2C;AAE/D,MAAM,gBAAgB,GAAG,CAAC,CAAC,EAAE,EAAE;;IAC7B,IAAI,CAAC,CAAC,WAAW,KAAK,CAAC,CAAC,WAAW,IAAI,CAAC,CAAC,YAAY,KAAK,CAAC,CAAC,YAAY,EAAE;QACxE,IAAI,QAAQ,GAAG,oBAAoB,CAAA;QACnC,IAAI,CAAC,CAAA,MAAA,MAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,UAAU,0CAAE,YAAY,CAAC,OAAO,CAAC,0CAAE,QAAQ,CAAC,OAAO,CAAC,CAAA,EAAE;YAC5D,QAAQ,IAAI,iBAAiB,CAAA;SAC9B;QACD,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;QAC5C,CAAC,CAAC,YAAY,CAAC,OAAO,EAAC,kBAAkB,CAAC,CAAC;KAC5C;SAAK;QACJ,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;KAC5B;IACD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,CACE,CACX,CAAA;QAED,OAAO,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAA;IAC7C,CAAC,CAAA;IAED,OAAO,CACL;QACE,6BACE,SAAS,EAAC,eAAe,EACzB,KAAK,kCACA,KAAK,KACR,QAAQ,EAAE,UAAU;YAIrB,MAAM,IAAI,MAAM;YAEjB,6BAAK,SAAS,EAAE,YAAY,EAAE,EAAE,GAAG,EAAE,QAAQ,IAAG,KAAK,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAO;YAEtF,MAAM,IAAI,MAAM;YAEhB,KAAK,IAAI,SAAS,IAAI,UAAU,IAAI,CACnC,6BACE,SAAS,EAAC,YAAY,EACtB,KAAK,EAAE;oBACL,MAAM,EAAE,UAAU;iBACnB,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,IAEtD,CAAC,OAAO,CAAC,CAAC,CAAC,CACV,oBAAC,OAAO,IACN,KAAK,EAAE;oBACL,MAAM,EAAE,UAAU;iBACnB,GACD,CACH,CAAC,CAAC,CAAC,CACF,oBAAC,OAAO,IACN,KAAK,EAAE;oBACL,MAAM,EAAE,UAAU;iBACnB,GACD,CACH,CACG,CACP,CACG,CACL,CACJ,CAAA;AACH,CAAC,CAAA","sourcesContent":["/*\n * @Author: 梁洪刚\n * @CreatDate: 2021-03-31 13:57:32\n * @Describe: 省略号组件\n */\n\nimport copy from 'copy-to-clipboard'\nimport React, { useEffect, useLayoutEffect, useRef, useState } from 'react'\n\nimport Popover from '../popover'\nimport Tooltip from '../tooltip'\n\nimport CopySVG from './Svg/CopySVG'\nimport TickSVG from './Svg/TickSVG'\nimport './index.less'\n\nconst tolerance = 0 // In px. Depends on the font you are using\n\nconst isEllipsisActive = (e) => {\n if (e.offsetWidth === e.scrollWidth && e.offsetHeight === e.scrollHeight) {\n let styleStr = 'overflow:visible; '\n if (!e?.parentNode?.getAttribute('style')?.includes('width')) {\n styleStr += 'max-width:100%;'\n }\n e.parentNode.setAttribute('style', styleStr)\n e.setAttribute(\"style\",'overflow:inherit');\n }else {\n e.setAttribute(\"style\", \"\")\n }\n return e.offsetWidth + tolerance < e.scrollWidth || e.offsetHeight < e.scrollHeight\n}\n\nexport default (props) => {\n let {\n _popover = props.Popover, // `Popover` or `Tooltip` ?\n title, // in most cases for `Tooltip`\n content, // in most cases for `Popover`\n className,\n style,\n widthLimit, // width trigger value\n _lines = props.lines !== 1 && props.lines, // number or lines, default 1 line;\n children, // children Node\n emptyText, // default: null\n _copyable = props.copyable, // copy function\n prefix, // 前缀dom\n suffix, // 后缀dom\n needRefresh = true // select.options的情况下不要刷新\n } = props\n\n const [renderId, setRenderId] = useState(1);\n // allow visible or not state\n const [flag, setFlag] = useState(true)\n // visible[Tooltip/Popover] state\n const [tipVisible, setTipVisible] = useState(false)\n // copy animation state\n const [hasCopy, setHasCopy] = useState(false)\n const [lineHeight, setLineHeight] = useState()\n\n const elementRef = useRef()\n\n const computeElement = ()=>{\n elementRef.current && isEllipsisActive(elementRef.current)\n ? setFlag(true)\n : (setFlag(false), setTipVisible(false))\n\n if (elementRef.current) {\n setLineHeight(getComputedStyle(elementRef.current, null).getPropertyValue('line-height'))\n }\n }\n \n useLayoutEffect(()=>{\n if (needRefresh) {\n setRenderId(id => id + 1);\n }else {\n if(renderId < 2) {\n setRenderId(id => id + 1);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [title, needRefresh, content, children])\n\n useEffect(() => {\n computeElement()\n },[renderId])\n\n useEffect(()=>{\n window.addEventListener(\"resize\",computeElement)\n return ()=>{\n window.removeEventListener('resize',computeElement)\n }\n },[])\n\n // original Node\n const inner = typeof children === 'string' ? children : _popover ? content : title\n\n // for className\n const getClassName = () => {\n return `overflow min-width-0 ${_lines ? 'ellipsis-wrap' : 'ellipsis-nowrap'} ${className || ''}`\n }\n\n // Tooltip.trigger(default 'hover') ==trigger==> onVisibleChange(visible)\n const handleVisibleChange = (visible) => {\n // const { onVisibleChange } = props;\n // onVisibleChange(visible);\n flag && setTipVisible(visible)\n }\n\n // onClick Copy Button\n const handleCopy = (innerText) => {\n copy(innerText)\n setHasCopy(!hasCopy)\n setTimeout(() => {\n setHasCopy(false)\n }, 1000)\n }\n\n const renderNode = () => {\n const popoverNode = (\n <Popover\n {...props}\n content={content || children}\n visible={tipVisible}\n onVisibleChange={(visible) => handleVisibleChange(visible)}\n >\n <div className={className} style={{ WebkitLineClamp: _lines }} ref={elementRef}>\n {children || content}\n </div>\n </Popover>\n )\n\n const tooltipNode = (\n <Tooltip\n {...props}\n title={title || children}\n visible={tipVisible}\n onVisibleChange={(visible) => handleVisibleChange(visible)}\n >\n <div className={className} style={{ WebkitLineClamp: _lines }} ref={elementRef}>\n {children || title}\n </div>\n </Tooltip>\n )\n\n return _popover ? popoverNode : tooltipNode\n }\n\n return (\n <>\n <div\n className=\"tntd-ellipsis\"\n style={{\n ...style,\n maxWidth: widthLimit,\n }}\n >\n {/* prefix */}\n {prefix && prefix}\n {/* content */}\n <div className={getClassName()} key={renderId}>{inner ? renderNode() : emptyText}</div>\n {/* suffix */}\n {suffix && suffix}\n {/* copyable button */}\n {inner && _copyable && lineHeight && (\n <div\n className=\"svg-button\"\n style={{\n height: lineHeight,\n }}\n onClick={() => handleCopy(elementRef.current.innerText)}\n >\n {!hasCopy ? (\n <CopySVG\n style={{\n height: lineHeight,\n }}\n />\n ) : (\n <TickSVG\n style={{\n height: lineHeight,\n }}\n />\n )}\n </div>\n )}\n </div>\n </>\n )\n}\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/empty/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../grid/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/form/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,kBAAkB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../grid/style'\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowContext.js","sourceRoot":"","sources":["../../src/grid-v4/RowContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAQrC,MAAM,UAAU,GAA6B,aAAa,CAAC,EAAE,CAAC,CAAA;AAE9D,eAAe,UAAU,CAAA","sourcesContent":["import type { Context } from 'react'\nimport { createContext } from 'react'\n\nexport interface RowContextState {\n gutter?: [number, number]\n wrap?: boolean\n supportFlexGap?: boolean\n}\n\nconst RowContext: Context<RowContextState> = createContext({})\n\nexport default RowContext\n"]}
@@ -8,7 +8,6 @@ var __rest = this && this.__rest || function (s, e) {
8
8
  };
9
9
  import classNames from 'classnames';
10
10
  import * as React from 'react';
11
- // import { ConfigContext } from '../../config-provider';
12
11
  import { ConfigContext } from '../_util/context';
13
12
  import RowContext from './RowContext';
14
13
  function parseFlex(flex) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"col.js","sourceRoot":"","sources":["../../src/grid-v4/col.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,UAAU,MAAM,cAAc,CAAA;AAgCrC,SAAS,SAAS,CAAC,IAAc;IAC/B,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QA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AA;IAC3C,gCAAgC;IAChC,IAAI,MAAM,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE;QAC3B,MAAM,gBAAgB,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;QACtC,WAAW,CAAC,WAAW,GAAG,gBAAgB,CAAA;QAC1C,WAAW,CAAC,YAAY,GAAG,gBAAgB,CAAA;KAC5C;IAED,mDAAmD;IACnD,IAAI,MAAM,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,cAAc,EAAE;QAC9C,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;QACpC,WAAW,CAAC,UAAU,GAAG,cAAc,CAAA;QACvC,WAAW,CAAC,aAAa,GAAG,cAAc,CAAA;KAC3C;IAED,IAAI,IAAI,EAAE;QACR,WAAW,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,CAAA;QAElC,uCAAuC;QACvC,6EAA6E;QAC7E,IAAI,IAAI,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE;YAC3C,WAAW,CAAC,QAAQ,GAAG,CAAC,CAAA;SACzB;KACF;IAED,OAAO,CACL,6CAAS,MAAM,IAAE,KAAK,kCAAO,WAAW,GAAK,KAAK,GAAI,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,KAC/E,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;IACzC,GAAG,CAAC,WAAW,GAAG,KAAK,CAAA;CACxB;AAED,eAAe,GAAG,CAAA","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 @@
1
+ {"version":3,"file":"useBreakpoint.js","sourceRoot":"","sources":["../../../src/grid-v4/hooks/useBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,cAAc,MAAM,kCAAkC,CAAA;AAE7D,OAAO,iBAAiB,MAAM,+BAA+B,CAAA;AAE7D,SAAS,aAAa,CAAC,kBAA2B,IAAI;IACpD,MAAM,UAAU,GAAG,MAAM,CAAY,EAAE,CAAC,CAAA;IACxC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAA;IAEpC,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,KAAK,GAAG,iBAAiB,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,iBAAiB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IACnD,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,UAAU,CAAC,OAAO,CAAA;AAC3B,CAAC;AAED,eAAe,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 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/grid-v4/index.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAA;AACvB,OAAO,qBAAqB,MAAM,uBAAuB,CAAA;AACzD,OAAO,GAAG,MAAM,OAAO,CAAA;AAEvB,OAAO,SAAS,CAAA;AAEhB,uBAAuB;AACvB,SAAS,aAAa;IACpB,OAAO,qBAAqB,EAAE,CAAA;AAChC,CAAC;AAED,OAAO,EAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAY,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;AAEnB,eAAe,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"]}
@@ -126,6 +126,7 @@ const Row = React.forwardRef((props, ref) => {
126
126
  }
127
127
  if (supportFlexGap) {
128
128
  // Set gap direct if flex gap support
129
+ ;
129
130
  [, rowStyle.rowGap] = gutters;
130
131
  } else if (verticalGutter) {
131
132
  rowStyle.marginTop = verticalGutter;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row.js","sourceRoot":"","sources":["../../src/grid-v4/row.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,iBAAiB,MAAM,kCAAkC,CAAA;AAEhE,OAAO,iBAAiB,EAAE,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,OAAO,UAAU,MAAM,cAAc,CAAA;AAErC,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAC7D,MAAM,UAAU,GAAG,KAAK,CAAC,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,OAA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,OAAO,EAAE,IAAI,EAAE,cAAc,CAAC,CACzC,CAAA;IAED,OAAO,CACL,oBAAC,UAAU,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,eAAe,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 '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/grid-v4/style/index.tsx"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,OAAO,cAAc,CAAA","sourcesContent":["// import '../../style/index.less';\nimport './index.less'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/icon/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../button/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/input/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,oBAAoB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../button/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/input-number/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,7 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../empty/style';
5
+ import '../../spin/style';
6
+ import '../../pagination/style';
7
+ import '../../grid/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/list/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,kBAAkB,CAAA;AACzB,OAAO,wBAAwB,CAAA;AAC/B,OAAO,kBAAkB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../empty/style'\nimport '../../spin/style'\nimport '../../pagination/style'\nimport '../../grid/style'\n"]}
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/locale-provider/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA","sourcesContent":["import './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ // style dependencies
3
+ import '../../empty/style';
4
+ import '../../spin/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mentions/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,kBAAkB,CAAA","sourcesContent":["import './index.less'\n\n// style dependencies\nimport '../../empty/style'\nimport '../../spin/style'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ // deps-lint-skip: layout
5
+ import '../../tooltip/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/menu/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,yBAAyB;AACzB,OAAO,qBAAqB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\n// deps-lint-skip: layout\nimport '../../tooltip/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/message/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../button/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modal/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,oBAAoB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../button/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/notification/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ // style dependencies
3
+ import '../../breadcrumb/style';
4
+ import '../../avatar/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/page-header/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,wBAAwB,CAAA;AAC/B,OAAO,oBAAoB,CAAA","sourcesContent":["import './index.less'\n\n// style dependencies\nimport '../../breadcrumb/style'\nimport '../../avatar/style'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../select/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pagination/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,oBAAoB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../select/style'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ // style dependencies
3
+ // deps-lint-skip: tooltip, popover
4
+ import '../../popover/style';
5
+ import '../../button/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/popconfirm/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAE/B,qBAAqB;AACrB,mCAAmC;AACnC,OAAO,qBAAqB,CAAA;AAC5B,OAAO,oBAAoB,CAAA","sourcesContent":["import '../../style/index.less'\n\n// style dependencies\n// deps-lint-skip: tooltip, popover\nimport '../../popover/style'\nimport '../../button/style'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ // deps-lint-skip: tooltip
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/popover/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,0BAA0B","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\n// deps-lint-skip: tooltip\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/progress/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/radio/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../tooltip/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rate/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,qBAAqB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../tooltip/style'\n"]}
@@ -0,0 +1,2 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/result/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ // style dependencies
3
+ // deps-lint-skip: grid
4
+ import '../../grid/style';