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/row/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,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../empty/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/select/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 '../../empty/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/skeleton/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/slider/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/spin/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/statistic/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/steps/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/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA","sourcesContent":["import './index.less'\n"]}
@@ -0,0 +1 @@
1
+ import './v2-compatible-reset.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2-compatible-reset.js","sourceRoot":"","sources":["../../src/style/v2-compatible-reset.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAA","sourcesContent":["import './v2-compatible-reset.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/switch/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,10 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ // deps-lint-skip: menu
5
+ import '../../empty/style';
6
+ import '../../radio/style';
7
+ import '../../checkbox/style';
8
+ import '../../dropdown/style';
9
+ import '../../spin/style';
10
+ import '../../pagination/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/table/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,uBAAuB;AACvB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,mBAAmB,CAAA;AAC1B,OAAO,sBAAsB,CAAA;AAC7B,OAAO,sBAAsB,CAAA;AAC7B,OAAO,kBAAkB,CAAA;AACzB,OAAO,wBAAwB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\n// deps-lint-skip: menu\nimport '../../empty/style'\nimport '../../radio/style'\nimport '../../checkbox/style'\nimport '../../dropdown/style'\nimport '../../spin/style'\nimport '../../pagination/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/tabs/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
package/es/tabs/tabs.js CHANGED
@@ -21,22 +21,25 @@ import { doUpperTitle } from '../utils';
21
21
  export * from 'antd/es/tabs';
22
22
  export const Tabs = forwardRef((_a, ref) => {
23
23
  var {
24
- children
24
+ children,
25
+ upperCaseIgnore
25
26
  } = _a,
26
- rest = __rest(_a, ["children"]);
27
+ rest = __rest(_a, ["children", "upperCaseIgnore"]);
27
28
  let newChildren = children;
28
29
  if (Array.isArray(newChildren)) {
29
30
  newChildren = newChildren === null || newChildren === void 0 ? void 0 : newChildren.map(child => {
30
- var _a;
31
+ var _a, _b;
31
32
  if (React.isValidElement(child)) {
33
+ const upperIgnore = (_a = child === null || child === void 0 ? void 0 : child.props) === null || _a === void 0 ? void 0 : _a.upperIgnore;
34
+ const tab = (_b = child === null || child === void 0 ? void 0 : child.props) === null || _b === void 0 ? void 0 : _b.tab;
32
35
  return Object.assign(Object.assign({}, child), {
33
36
  props: Object.assign(Object.assign({}, child === null || child === void 0 ? void 0 : child.props), {
34
- tab: doUpperTitle((_a = child === null || child === void 0 ? void 0 : child.props) === null || _a === void 0 ? void 0 : _a.tab)
37
+ tab: upperIgnore ? tab : doUpperTitle(tab, upperCaseIgnore)
35
38
  })
36
39
  });
37
40
  }
38
41
  if (typeof child === 'string') {
39
- return doUpperTitle(child);
42
+ return doUpperTitle(child, upperCaseIgnore);
40
43
  }
41
44
  return child;
42
45
  });
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","sourceRoot":"","sources":["../../src/tabs/tabs.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,cAAc,cAAc,CAAA;AAU5B,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAAsB,CAAC,EAAqB,EAAE,GAAG,EAAE,EAAE;QAA9B,EAAE,QAAQ,OAAW,EAAN,IAAI,cAAnB,YAAqB,CAAF;IACtE,IAAI,WAAW,GAA6B,QAAQ,CAAA;IACpD,IAAI,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;QAC9B,WAAW,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,GAAG,CAAC,CAAC,KAA+B,EAAE,EAAE;;YACjE,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE;gBAC/B,uCACK,KAAK,KACR,KAAK,kCACA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,KACf,GAAG,EAAE,YAAY,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,GAAG,CAAC,OAEvC;aACF;YACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;gBAC7B,OAAO,YAAY,CAAC,KAAK,CAAC,CAAA;aAC3B;YACD,OAAO,KAAK,CAAA;QACd,CAAC,CAAC,CAAA;KACH;IAED,OAAO,CACL,oBAAC,cAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,OAAO,oBAAC,QAAQ,oBAAK,IAAI,IAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI,CAAA;IAChE,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CAAkB,CAAA;AAEnB,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAA","sourcesContent":["/*\n * @Author: 周泽飞 zefei.zhou@tongdun.net\n * @Date: 2023-10-16 11:08:28\n * @LastEditors: 周泽飞 zefei.zhou@tongdun.net\n * @LastEditTime: 2023-10-16 16:24:53\n * @FilePath: /tntd/packages/tntd/src/tabs/tabs.tsx\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n */\nimport React, { forwardRef } from 'react'\nimport type { TabsProps as AntdTabsProps } from 'antd/es/tabs'\nimport { ConfigConsumer } from 'antd/es/config-provider'\nimport { default as AntdTabs } from 'antd/es/tabs'\nimport { doUpperTitle } from '../utils'\nexport * from 'antd/es/tabs'\nexport interface TabsProps extends AntdTabsProps {\n children?: Array<React.ReactElement>\n}\n\ninterface TabsComponent\n extends React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<AntdTabs>> {\n TabPane: typeof AntdTabs.TabPane\n}\n\nexport const Tabs = forwardRef<AntdTabs, TabsProps>(({ children, ...rest }, ref) => {\n let newChildren: string | React.ReactNode = children\n if (Array.isArray(newChildren)) {\n newChildren = newChildren?.map((child: string | React.ReactNode) => {\n if (React.isValidElement(child)) {\n return {\n ...child,\n props: {\n ...child?.props,\n tab: doUpperTitle(child?.props?.tab),\n },\n }\n }\n if (typeof child === 'string') {\n return doUpperTitle(child)\n }\n return child\n })\n }\n\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n return <AntdTabs {...rest} children={newChildren} ref={ref} />\n }}\n </ConfigConsumer>\n )\n}) as TabsComponent\n\nTabs.TabPane = AntdTabs.TabPane\n"]}
1
+ {"version":3,"file":"tabs.js","sourceRoot":"","sources":["../../src/tabs/tabs.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,cAAc,cAAc,CAAA;AAW5B,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAC5B,CAAC,EAAsC,EAAE,GAAG,EAAE,EAAE;QAA/C,EAAE,QAAQ,EAAE,eAAe,OAAW,EAAN,IAAI,cAApC,+BAAsC,CAAF;IACnC,IAAI,WAAW,GAA6B,QAAQ,CAAA;IACpD,IAAI,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;QAC9B,WAAW,GAAG,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,GAAG,CAAC,CAAC,KAA+B,EAAE,EAAE;;YACjE,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE;gBAC/B,MAAM,WAAW,GAAY,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,WAAW,CAAA;gBACtD,MAAM,GAAG,GAA6B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,GAAG,CAAA;gBACvD,uCACK,KAAK,KACR,KAAK,kCACA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,KACf,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,eAAe,CAAC,OAE9D;aACF;YACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;gBAC7B,OAAO,YAAY,CAAC,KAAK,EAAE,eAAe,CAAC,CAAA;aAC5C;YACD,OAAO,KAAK,CAAA;QACd,CAAC,CAAC,CAAA;KACH;IAED,OAAO,CACL,oBAAC,cAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,OAAO,oBAAC,QAAQ,oBAAK,IAAI,IAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI,CAAA;IAChE,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CACe,CAAA;AAElB,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAA","sourcesContent":["/*\n * @Author: 周泽飞 zefei.zhou@tongdun.net\n * @Date: 2023-10-16 11:08:28\n * @LastEditors: 周泽飞 zefei.zhou@tongdun.net\n * @LastEditTime: 2023-10-16 16:24:53\n * @FilePath: /tntd/packages/tntd/src/tabs/tabs.tsx\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n */\nimport React, { forwardRef } from 'react'\nimport type { TabsProps as AntdTabsProps } from 'antd/es/tabs'\nimport { ConfigConsumer } from 'antd/es/config-provider'\nimport { default as AntdTabs } from 'antd/es/tabs'\nimport { doUpperTitle } from '../utils'\nexport * from 'antd/es/tabs'\nexport interface TabsProps extends AntdTabsProps {\n children?: Array<React.ReactElement>\n upperCaseIgnore?: Array<string>\n}\n\ninterface TabsComponent\n extends React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<AntdTabs>> {\n TabPane: typeof AntdTabs.TabPane\n}\n\nexport const Tabs = forwardRef<AntdTabs, TabsProps>(\n ({ children, upperCaseIgnore, ...rest }, ref) => {\n let newChildren: string | React.ReactNode = children\n if (Array.isArray(newChildren)) {\n newChildren = newChildren?.map((child: string | React.ReactNode) => {\n if (React.isValidElement(child)) {\n const upperIgnore: boolean = child?.props?.upperIgnore\n const tab: string | React.ReactNode = child?.props?.tab\n return {\n ...child,\n props: {\n ...child?.props,\n tab: upperIgnore ? tab : doUpperTitle(tab, upperCaseIgnore),\n },\n }\n }\n if (typeof child === 'string') {\n return doUpperTitle(child, upperCaseIgnore)\n }\n return child\n })\n }\n\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n return <AntdTabs {...rest} children={newChildren} ref={ref} />\n }}\n </ConfigConsumer>\n )\n }\n) as TabsComponent\n\nTabs.TabPane = AntdTabs.TabPane\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/tag/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/time-picker/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/timeline/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/tooltip/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 '../../checkbox/style';
6
+ import '../../button/style';
7
+ import '../../input/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/transfer/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,sBAAsB,CAAA;AAC7B,OAAO,oBAAoB,CAAA;AAC3B,OAAO,mBAAmB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../empty/style'\nimport '../../checkbox/style'\nimport '../../button/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/tree/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,6 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ // deps-lint-skip: select
5
+ import '../../select/style';
6
+ import '../../empty/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tree-select/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,yBAAyB;AACzB,OAAO,oBAAoB,CAAA;AAC3B,OAAO,mBAAmB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\n// deps-lint-skip: select\nimport '../../select/style'\nimport '../../empty/style'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../tooltip/style';
5
+ import '../../input/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typography/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,qBAAqB,CAAA;AAC5B,OAAO,mBAAmB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../tooltip/style'\nimport '../../input/style'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ // style dependencies
4
+ import '../../progress/style';
5
+ import '../../tooltip/style';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/upload/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAErB,qBAAqB;AACrB,OAAO,sBAAsB,CAAA;AAC7B,OAAO,qBAAqB,CAAA","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../progress/style'\nimport '../../tooltip/style'\n"]}
package/es/utils/lang.js CHANGED
@@ -3,6 +3,11 @@ import { getLanguage } from '../prev-locale';
3
3
  export const prepositions = ['about', 'above', 'across', 'after', 'against', 'along', 'among', 'around', 'as', 'at', 'before', 'behind', 'below', 'beneath', 'beside', 'between', 'beyond', 'by', 'down', 'during', 'except', 'for', 'from', 'in', 'inside', 'into', 'like', 'near', 'of', 'off', 'on', 'onto', 'out', 'outside', 'over', 'past', 'round', 'since', 'through', 'throughout', 'to', 'toward', 'under', 'underneath', 'until', 'up', 'upon', 'with', 'within', 'without', 'or'];
4
4
  export const articles = ['the', 'a', 'an'];
5
5
  export const titleHandle = (str, upperCaseIgnore = []) => {
6
+ // 例如tab/table种有部分特殊的词例如 lv,table这种数据库表的特殊字段 不转大写
7
+ if ((upperCaseIgnore === null || upperCaseIgnore === void 0 ? void 0 : upperCaseIgnore.length) && str && (upperCaseIgnore === null || upperCaseIgnore === void 0 ? void 0 : upperCaseIgnore.includes(str))) {
8
+ return str;
9
+ }
10
+ // 以下逻辑特指一些介词不转大写
6
11
  const words = str.split(' ');
7
12
  const capitalizedWords = words.map((word, i) => {
8
13
  const lowerCaseWord = word.toLowerCase();
@@ -1 +1 @@
1
- {"version":3,"file":"lang.js","sourceRoot":"","sources":["../../src/utils/lang.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,OAAO;IACP,OAAO;IACP,QAAQ;IACR,OAAO;IACP,SAAS;IACT,OAAO;IACP,OAAO;IACP,QAAQ;IACR,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,SAAS;IACT,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,IAAI;IACJ,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,KAAK;IACL,MAAM;IACN,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,MAAM;IACN,MAAM;IACN,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,MAAM;IACN,KAAK;IACL,SAAS;IACT,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,SAAS;IACT,YAAY;IACZ,I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0CAAE,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;4BACjD,OAAO,cAAc,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAA;wBAClD,CAAC,CAAC,OAEL;aACF;iBAAM,IAAI,OAAO,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,QAAQ,CAAA,KAAK,QAAQ,EAAE;gBACrD,KAAK,mCACA,KAAK,KACR,KAAK,kCACA,KAAK,CAAC,KAAK,KACd,QAAQ,EAAE,cAAc,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,QAAQ,EAAE,eAAe,CAAC,MAEpE,CAAA;aACF;SACF;KACF;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAC","sourcesContent":["import React from 'react'\nimport { getLanguage } from '../prev-locale'\n\nexport const prepositions = [\n 'about',\n 'above',\n 'across',\n 'after',\n 'against',\n 'along',\n 'among',\n 'around',\n 'as',\n 'at',\n 'before',\n 'behind',\n 'below',\n 'beneath',\n 'beside',\n 'between',\n 'beyond',\n 'by',\n 'down',\n 'during',\n 'except',\n 'for',\n 'from',\n 'in',\n 'inside',\n 'into',\n 'like',\n 'near',\n 'of',\n 'off',\n 'on',\n 'onto',\n 'out',\n 'outside',\n 'over',\n 'past',\n 'round',\n 'since',\n 'through',\n 'throughout',\n 'to',\n 'toward',\n 'under',\n 'underneath',\n 'until',\n 'up',\n 'upon',\n 'with',\n 'within',\n 'without',\n 'or'\n]\n\nexport const articles = ['the', 'a', 'an']\n\nexport const titleHandle = (str, upperCaseIgnore=[]) => {\n const words = str.split(' ')\n const capitalizedWords = words.map((word, i) => {\n const lowerCaseWord = word.toLowerCase()\n let ignoreList = prepositions.concat(articles)\n if (upperCaseIgnore?.length) {\n ignoreList = ignoreList.concat(upperCaseIgnore)\n ignoreList = Array.from(new Set(ignoreList))\n }\n if (ignoreList.includes(lowerCaseWord) && i !== 0) {\n return lowerCaseWord\n } else {\n return word.charAt(0).toUpperCase() + word.slice(1)\n }\n })\n return capitalizedWords.join(' ')\n}\n\n// 表头转换为首字母大写\nexport const titleCaseUpper = (str, upperCaseIgnore=[]) => {\n if (!str) {\n return str\n }\n if (typeof str === 'string') {\n // 有斜杠根据斜杠划分\n if (str?.includes('/')) {\n const parWords = str.split('/')\n return parWords\n .map((str1) => {\n return titleHandle(str1, upperCaseIgnore )\n })\n .join('/')\n }\n return titleHandle(str, upperCaseIgnore)\n }\n return str\n}\n\nexport const doUpperTitle = (label, upperCaseIgnore=[]) => {\n if (getLanguage() === 'cn') {\n return label\n }\n if (!label) {\n return label\n }\n if (typeof label === 'string') {\n return titleCaseUpper(label, upperCaseIgnore);\n } else {\n if (React.isValidElement(label)) {\n if (label?.props?.children && Array.isArray(label?.props?.children)) {\n return {\n ...label,\n props: {\n ...label.props,\n children: label?.props?.children?.map((subLabel) => {\n return titleCaseUpper(subLabel, upperCaseIgnore)\n }),\n },\n }\n } else if (typeof label?.props?.children === 'string') {\n label = {\n ...label,\n props: {\n ...label.props,\n children: titleCaseUpper(label?.props?.children, upperCaseIgnore),\n },\n }\n }\n }\n }\n return label\n};\n"]}
1
+ {"version":3,"file":"lang.js","sourceRoot":"","sources":["../../src/utils/lang.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,OAAO;IACP,OAAO;IACP,QAAQ;IACR,OAAO;IACP,SAAS;IACT,OAAO;IACP,OAAO;IACP,QAAQ;IACR,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,SAAS;IACT,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,IAAI;IACJ,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,KAAK;IACL,MAAM;IACN,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,MAAM;IACN,MAAM;IAC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AK,CAAC,EAAE;YAC/B,IAAI,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,QAAQ,KAAI,KAAK,CAAC,OAAO,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,QAAQ,CAAC,EAAE;gBACnE,uCACK,KAAK,KACR,KAAK,kCACA,KAAK,CAAC,KAAK,KACd,QAAQ,EAAE,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,QAAQ,0CAAE,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;4BACjD,OAAO,cAAc,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAA;wBAClD,CAAC,CAAC,OAEL;aACF;iBAAM,IAAI,OAAO,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,QAAQ,CAAA,KAAK,QAAQ,EAAE;gBACrD,KAAK,mCACA,KAAK,KACR,KAAK,kCACA,KAAK,CAAC,KAAK,KACd,QAAQ,EAAE,cAAc,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,QAAQ,EAAE,eAAe,CAAC,MAEpE,CAAA;aACF;SACF;KACF;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAC","sourcesContent":["import React from 'react'\nimport { getLanguage } from '../prev-locale'\n\nexport const prepositions = [\n 'about',\n 'above',\n 'across',\n 'after',\n 'against',\n 'along',\n 'among',\n 'around',\n 'as',\n 'at',\n 'before',\n 'behind',\n 'below',\n 'beneath',\n 'beside',\n 'between',\n 'beyond',\n 'by',\n 'down',\n 'during',\n 'except',\n 'for',\n 'from',\n 'in',\n 'inside',\n 'into',\n 'like',\n 'near',\n 'of',\n 'off',\n 'on',\n 'onto',\n 'out',\n 'outside',\n 'over',\n 'past',\n 'round',\n 'since',\n 'through',\n 'throughout',\n 'to',\n 'toward',\n 'under',\n 'underneath',\n 'until',\n 'up',\n 'upon',\n 'with',\n 'within',\n 'without',\n 'or'\n]\n\nexport const articles = ['the', 'a', 'an']\n\nexport const titleHandle = (str, upperCaseIgnore=[]) => {\n // 例如tab/table种有部分特殊的词例如 lv,table这种数据库表的特殊字段 不转大写\n if(upperCaseIgnore?.length && str && upperCaseIgnore?.includes(str)){\n return str;\n }\n // 以下逻辑特指一些介词不转大写\n const words = str.split(' ')\n const capitalizedWords = words.map((word, i) => {\n const lowerCaseWord = word.toLowerCase()\n let ignoreList = prepositions.concat(articles)\n if (upperCaseIgnore?.length) {\n ignoreList = ignoreList.concat(upperCaseIgnore)\n ignoreList = Array.from(new Set(ignoreList))\n }\n if (ignoreList.includes(lowerCaseWord) && i !== 0 ) {\n return lowerCaseWord\n } else {\n return word.charAt(0).toUpperCase() + word.slice(1)\n }\n })\n return capitalizedWords.join(' ')\n}\n\n// 表头转换为首字母大写\nexport const titleCaseUpper = (str, upperCaseIgnore=[]) => {\n if (!str) {\n return str\n }\n if (typeof str === 'string') {\n // 有斜杠根据斜杠划分\n if (str?.includes('/')) {\n const parWords = str.split('/')\n return parWords\n .map((str1) => {\n return titleHandle(str1, upperCaseIgnore )\n })\n .join('/')\n }\n return titleHandle(str, upperCaseIgnore)\n }\n return str\n}\n\nexport const doUpperTitle = (label, upperCaseIgnore=[]) => {\n if (getLanguage() === 'cn') {\n return label\n }\n if (!label) {\n return label\n }\n if (typeof label === 'string') {\n return titleCaseUpper(label, upperCaseIgnore);\n } else {\n if (React.isValidElement(label)) {\n if (label?.props?.children && Array.isArray(label?.props?.children)) {\n return {\n ...label,\n props: {\n ...label.props,\n children: label?.props?.children?.map((subLabel) => {\n return titleCaseUpper(subLabel, upperCaseIgnore)\n }),\n },\n }\n } else if (typeof label?.props?.children === 'string') {\n label = {\n ...label,\n props: {\n ...label.props,\n children: titleCaseUpper(label?.props?.children, upperCaseIgnore),\n },\n }\n }\n }\n }\n return label\n};\n"]}
@@ -0,0 +1,2 @@
1
+ // empty file prevent babel-plugin-import error
2
+ import '../../style/index.less';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/version/style/index.tsx"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,wBAAwB,CAAA","sourcesContent":["// empty file prevent babel-plugin-import error\nimport '../../style/index.less'\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/affix/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/affix/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,3 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/alert/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/alert/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,4 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ import '../../affix/style';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/anchor/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAGrB,OAAO,mBAAmB,CAAA"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
5
+ require("../../affix/style");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/anchor/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB;AAErB,qBAAqB;AACrB,6BAA0B","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
+ import '../../select/style';
4
+ import '../../input/style';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auto-complete/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAGrB,OAAO,oBAAoB,CAAA;AAC3B,OAAO,mBAAmB,CAAA"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
5
+ require("../../select/style");
6
+ require("../../input/style");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auto-complete/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB;AAErB,qBAAqB;AACrB,8BAA2B;AAC3B,6BAA0B","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../select/style'\nimport '../../input/style'\n"]}
@@ -0,0 +1,3 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/avatar/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/avatar/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,3 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/back-top/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/back-top/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,3 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/badge/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/badge/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ import '../../menu/style';
4
+ import '../../dropdown/style';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","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"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
5
+ require("../../menu/style");
6
+ require("../../dropdown/style");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/breadcrumb/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB;AAErB,4BAAyB;AACzB,gCAA6B","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\nimport '../../menu/style'\nimport '../../dropdown/style'\n"]}
@@ -0,0 +1,3 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/button/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/button/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ import '../../select/style';
4
+ import '../../radio/style';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/calendar/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAGrB,OAAO,oBAAoB,CAAA;AAC3B,OAAO,mBAAmB,CAAA"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
5
+ require("../../select/style");
6
+ require("../../radio/style");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/calendar/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB;AAErB,qBAAqB;AACrB,8BAA2B;AAC3B,6BAA0B","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
+ import '../../tabs/style';
4
+ import '../../row/style';
5
+ import '../../col/style';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/card/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAGrB,OAAO,kBAAkB,CAAA;AACzB,OAAO,iBAAiB,CAAA;AACxB,OAAO,iBAAiB,CAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
5
+ require("../../tabs/style");
6
+ require("../../row/style");
7
+ require("../../col/style");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/card/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB;AAErB,qBAAqB;AACrB,4BAAyB;AACzB,2BAAwB;AACxB,2BAAwB","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,3 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/carousel/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/carousel/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n"]}
@@ -0,0 +1,5 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ import '../../empty/style';
4
+ import '../../input/style';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cascader/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA;AAGrB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,mBAAmB,CAAA"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ require("../../style/index.less");
4
+ require("./index.less");
5
+ require("../../empty/style");
6
+ require("../../input/style");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cascader/style/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B;AAC/B,wBAAqB;AAErB,qBAAqB;AACrB,6BAA0B;AAC1B,6BAA0B","sourcesContent":["import '../../style/index.less'\nimport './index.less'\n\n// style dependencies\nimport '../../empty/style'\nimport '../../input/style'\n"]}
@@ -0,0 +1,3 @@
1
+ import '../../style/index.less';
2
+ import './index.less';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checkbox/style/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAC/B,OAAO,cAAc,CAAA"}