@douyinfe/semi-ui 2.27.1-alpha.2 → 2.27.1-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/css/semi.css +8 -7
  2. package/dist/css/semi.min.css +1 -1
  3. package/dist/umd/semi-ui.js +1738 -1745
  4. package/dist/umd/semi-ui.js.map +1 -1
  5. package/dist/umd/semi-ui.min.js +1 -1
  6. package/dist/umd/semi-ui.min.js.map +1 -1
  7. package/lib/cjs/_portal/index.js +2 -2
  8. package/lib/cjs/_utils/index.js +1 -3
  9. package/lib/cjs/anchor/index.d.ts +1 -1
  10. package/lib/cjs/anchor/index.js +9 -9
  11. package/lib/cjs/anchor/link.js +8 -8
  12. package/lib/cjs/autoComplete/index.d.ts +1 -1
  13. package/lib/cjs/autoComplete/index.js +4 -8
  14. package/lib/cjs/autoComplete/option.js +7 -7
  15. package/lib/cjs/avatar/avatarGroup.js +7 -7
  16. package/lib/cjs/avatar/index.js +12 -12
  17. package/lib/cjs/badge/index.js +8 -8
  18. package/lib/cjs/banner/index.js +12 -12
  19. package/lib/cjs/breadcrumb/index.js +12 -12
  20. package/lib/cjs/breadcrumb/item.js +8 -8
  21. package/lib/cjs/button/Button.d.ts +2 -2
  22. package/lib/cjs/button/Button.js +9 -9
  23. package/lib/cjs/button/buttonGroup.d.ts +1 -1
  24. package/lib/cjs/button/buttonGroup.js +5 -5
  25. package/lib/cjs/button/index.d.ts +2 -2
  26. package/lib/cjs/button/splitButtonGroup.js +1 -1
  27. package/lib/cjs/calendar/dayCalendar.js +13 -13
  28. package/lib/cjs/calendar/dayCol.js +17 -17
  29. package/lib/cjs/calendar/monthCalendar.js +38 -38
  30. package/lib/cjs/calendar/rangeCalendar.js +27 -27
  31. package/lib/cjs/calendar/timeCol.js +6 -6
  32. package/lib/cjs/calendar/weekCalendar.js +27 -27
  33. package/lib/cjs/card/cardGroup.js +2 -2
  34. package/lib/cjs/card/index.js +16 -16
  35. package/lib/cjs/card/meta.js +5 -5
  36. package/lib/cjs/carousel/CarouselArrow.js +6 -6
  37. package/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
  38. package/lib/cjs/carousel/CarouselIndicator.js +6 -6
  39. package/lib/cjs/carousel/index.d.ts +1 -1
  40. package/lib/cjs/carousel/index.js +12 -12
  41. package/lib/cjs/cascader/index.d.ts +1 -1
  42. package/lib/cjs/cascader/index.js +36 -36
  43. package/lib/cjs/cascader/item.d.ts +1 -1
  44. package/lib/cjs/cascader/item.js +25 -25
  45. package/lib/cjs/checkbox/checkbox.js +14 -14
  46. package/lib/cjs/checkbox/checkboxGroup.js +4 -4
  47. package/lib/cjs/checkbox/checkboxInner.js +6 -6
  48. package/lib/cjs/collapse/item.js +9 -9
  49. package/lib/cjs/collapsible/index.js +3 -3
  50. package/lib/cjs/configProvider/index.js +1 -1
  51. package/lib/cjs/datePicker/dateInput.d.ts +1 -1
  52. package/lib/cjs/datePicker/dateInput.js +16 -16
  53. package/lib/cjs/datePicker/datePicker.d.ts +2 -2
  54. package/lib/cjs/datePicker/datePicker.js +9 -9
  55. package/lib/cjs/datePicker/footer.js +1 -1
  56. package/lib/cjs/datePicker/index.js +1 -1
  57. package/lib/cjs/datePicker/month.js +2 -2
  58. package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
  59. package/lib/cjs/datePicker/monthsGrid.js +27 -27
  60. package/lib/cjs/datePicker/navigation.js +1 -1
  61. package/lib/cjs/datePicker/quickControl.js +14 -14
  62. package/lib/cjs/datePicker/yearAndMonth.js +4 -4
  63. package/lib/cjs/descriptions/index.js +3 -3
  64. package/lib/cjs/descriptions/item.js +5 -5
  65. package/lib/cjs/divider/index.js +7 -7
  66. package/lib/cjs/dropdown/dropdownDivider.js +1 -1
  67. package/lib/cjs/dropdown/dropdownItem.js +7 -7
  68. package/lib/cjs/dropdown/dropdownMenu.js +1 -1
  69. package/lib/cjs/dropdown/dropdownTitle.js +2 -2
  70. package/lib/cjs/dropdown/index.js +3 -3
  71. package/lib/cjs/empty/index.js +7 -7
  72. package/lib/cjs/form/arrayField.js +1 -1
  73. package/lib/cjs/form/baseForm.d.ts +1 -1
  74. package/lib/cjs/form/baseForm.js +2 -2
  75. package/lib/cjs/form/errorMessage.js +1 -1
  76. package/lib/cjs/form/field.d.ts +1 -1
  77. package/lib/cjs/form/group.js +2 -2
  78. package/lib/cjs/form/hoc/withField.js +16 -16
  79. package/lib/cjs/form/label.js +9 -9
  80. package/lib/cjs/form/slot.js +5 -5
  81. package/lib/cjs/grid/col.js +11 -11
  82. package/lib/cjs/grid/row.js +4 -4
  83. package/lib/cjs/highlight/index.js +1 -1
  84. package/lib/cjs/iconButton/index.js +5 -5
  85. package/lib/cjs/image/image.js +10 -10
  86. package/lib/cjs/image/preview.js +3 -3
  87. package/lib/cjs/image/previewFooter.js +12 -12
  88. package/lib/cjs/image/previewHeader.js +3 -3
  89. package/lib/cjs/image/previewImage.js +7 -7
  90. package/lib/cjs/image/previewInner.js +7 -7
  91. package/lib/cjs/input/index.d.ts +1 -1
  92. package/lib/cjs/input/index.js +38 -38
  93. package/lib/cjs/input/inputGroup.d.ts +1 -1
  94. package/lib/cjs/input/inputGroup.js +7 -7
  95. package/lib/cjs/input/textarea.js +14 -14
  96. package/lib/cjs/inputNumber/index.js +11 -11
  97. package/lib/cjs/layout/Sider.js +3 -3
  98. package/lib/cjs/layout/index.js +2 -2
  99. package/lib/cjs/list/index.js +11 -11
  100. package/lib/cjs/list/item.js +6 -6
  101. package/lib/cjs/modal/ConfirmModal.js +7 -7
  102. package/lib/cjs/modal/Modal.js +4 -4
  103. package/lib/cjs/modal/ModalContent.js +24 -24
  104. package/lib/cjs/modal/useModal/index.js +1 -1
  105. package/lib/cjs/navigation/CollapseButton.js +1 -1
  106. package/lib/cjs/navigation/Footer.js +2 -2
  107. package/lib/cjs/navigation/Header.js +5 -5
  108. package/lib/cjs/navigation/Item.js +18 -18
  109. package/lib/cjs/navigation/SubNav.js +17 -17
  110. package/lib/cjs/navigation/index.js +8 -8
  111. package/lib/cjs/notification/index.js +3 -3
  112. package/lib/cjs/notification/notice.js +12 -12
  113. package/lib/cjs/overflowList/index.js +6 -6
  114. package/lib/cjs/pagination/index.js +26 -26
  115. package/lib/cjs/popconfirm/index.js +9 -9
  116. package/lib/cjs/popover/index.d.ts +1 -1
  117. package/lib/cjs/popover/index.js +2 -2
  118. package/lib/cjs/progress/index.js +14 -14
  119. package/lib/cjs/radio/radio.js +22 -22
  120. package/lib/cjs/radio/radioGroup.js +5 -5
  121. package/lib/cjs/radio/radioInner.js +7 -7
  122. package/lib/cjs/rating/index.d.ts +1 -1
  123. package/lib/cjs/rating/index.js +5 -5
  124. package/lib/cjs/rating/item.d.ts +1 -1
  125. package/lib/cjs/rating/item.js +11 -11
  126. package/lib/cjs/scrollList/index.js +5 -5
  127. package/lib/cjs/scrollList/scrollItem.js +13 -13
  128. package/lib/cjs/select/index.js +57 -57
  129. package/lib/cjs/select/option.js +7 -7
  130. package/lib/cjs/sideSheet/SideSheetContent.js +10 -10
  131. package/lib/cjs/sideSheet/index.js +7 -7
  132. package/lib/cjs/skeleton/index.js +1 -1
  133. package/lib/cjs/skeleton/item.js +4 -4
  134. package/lib/cjs/slider/index.js +28 -28
  135. package/lib/cjs/space/index.js +12 -12
  136. package/lib/cjs/spin/icon.js +2 -2
  137. package/lib/cjs/spin/index.js +6 -6
  138. package/lib/cjs/steps/basicStep.js +14 -14
  139. package/lib/cjs/steps/basicSteps.js +6 -6
  140. package/lib/cjs/steps/fillStep.js +10 -10
  141. package/lib/cjs/steps/fillSteps.js +4 -4
  142. package/lib/cjs/steps/navStep.js +5 -5
  143. package/lib/cjs/steps/navSteps.js +2 -2
  144. package/lib/cjs/switch/index.d.ts +1 -1
  145. package/lib/cjs/table/Body/BaseRow.js +5 -5
  146. package/lib/cjs/table/Body/ExpandedRow.js +3 -3
  147. package/lib/cjs/table/Body/SectionRow.js +1 -1
  148. package/lib/cjs/table/Body/index.js +8 -8
  149. package/lib/cjs/table/ColGroup.js +2 -2
  150. package/lib/cjs/table/ColumnFilter.js +3 -3
  151. package/lib/cjs/table/ColumnSelection.js +2 -2
  152. package/lib/cjs/table/ColumnSorter.js +7 -7
  153. package/lib/cjs/table/CustomExpandIcon.js +2 -2
  154. package/lib/cjs/table/HeadTable.js +3 -3
  155. package/lib/cjs/table/Table.d.ts +2 -2
  156. package/lib/cjs/table/Table.js +20 -20
  157. package/lib/cjs/table/TableCell.js +8 -8
  158. package/lib/cjs/table/TableHeader.js +1 -1
  159. package/lib/cjs/table/TableHeaderRow.js +8 -8
  160. package/lib/cjs/table/TablePagination.js +3 -3
  161. package/lib/cjs/table/index.d.ts +1 -1
  162. package/lib/cjs/tabs/TabBar.js +18 -18
  163. package/lib/cjs/tabs/TabPane.js +3 -3
  164. package/lib/cjs/tabs/index.js +2 -2
  165. package/lib/cjs/tag/group.js +5 -5
  166. package/lib/cjs/tag/index.js +13 -13
  167. package/lib/cjs/tagInput/index.d.ts +1 -1
  168. package/lib/cjs/tagInput/index.js +33 -33
  169. package/lib/cjs/timePicker/Combobox.js +4 -4
  170. package/lib/cjs/timePicker/TimeInput.js +4 -4
  171. package/lib/cjs/timePicker/TimePicker.d.ts +1 -1
  172. package/lib/cjs/timePicker/TimePicker.js +8 -8
  173. package/lib/cjs/timePicker/index.d.ts +1 -1
  174. package/lib/cjs/timeline/index.js +8 -8
  175. package/lib/cjs/timeline/item.js +7 -7
  176. package/lib/cjs/toast/index.js +5 -5
  177. package/lib/cjs/toast/toast.js +9 -9
  178. package/lib/cjs/tooltip/index.d.ts +1 -1
  179. package/lib/cjs/tooltip/index.js +7 -7
  180. package/lib/cjs/transfer/index.js +31 -31
  181. package/lib/cjs/tree/autoSizer.js +1 -1
  182. package/lib/cjs/tree/index.js +6 -6
  183. package/lib/cjs/tree/nodeList.js +1 -1
  184. package/lib/cjs/tree/treeNode.js +26 -26
  185. package/lib/cjs/treeSelect/index.js +41 -41
  186. package/lib/cjs/typography/base.d.ts +1 -1
  187. package/lib/cjs/typography/base.js +14 -14
  188. package/lib/cjs/typography/copyable.js +3 -3
  189. package/lib/cjs/typography/numeral.d.ts +1 -1
  190. package/lib/cjs/typography/paragraph.d.ts +1 -1
  191. package/lib/cjs/typography/paragraph.js +1 -1
  192. package/lib/cjs/typography/text.d.ts +1 -1
  193. package/lib/cjs/typography/title.d.ts +2 -2
  194. package/lib/cjs/typography/title.js +1 -1
  195. package/lib/cjs/typography/util.js +1 -1
  196. package/lib/cjs/upload/fileCard.js +32 -32
  197. package/lib/cjs/upload/index.js +37 -37
  198. package/lib/es/_portal/index.js +2 -2
  199. package/lib/es/_utils/index.js +1 -3
  200. package/lib/es/anchor/index.d.ts +1 -1
  201. package/lib/es/anchor/index.js +9 -9
  202. package/lib/es/anchor/link.js +8 -8
  203. package/lib/es/autoComplete/index.d.ts +1 -1
  204. package/lib/es/autoComplete/index.js +4 -8
  205. package/lib/es/autoComplete/option.js +7 -7
  206. package/lib/es/avatar/avatarGroup.js +7 -7
  207. package/lib/es/avatar/index.js +12 -12
  208. package/lib/es/badge/index.js +8 -8
  209. package/lib/es/banner/index.js +12 -12
  210. package/lib/es/breadcrumb/index.js +12 -12
  211. package/lib/es/breadcrumb/item.js +8 -8
  212. package/lib/es/button/Button.d.ts +2 -2
  213. package/lib/es/button/Button.js +9 -9
  214. package/lib/es/button/buttonGroup.d.ts +1 -1
  215. package/lib/es/button/buttonGroup.js +5 -5
  216. package/lib/es/button/index.d.ts +2 -2
  217. package/lib/es/button/splitButtonGroup.js +1 -1
  218. package/lib/es/calendar/dayCalendar.js +13 -13
  219. package/lib/es/calendar/dayCol.js +17 -17
  220. package/lib/es/calendar/monthCalendar.js +38 -38
  221. package/lib/es/calendar/rangeCalendar.js +27 -27
  222. package/lib/es/calendar/timeCol.js +6 -6
  223. package/lib/es/calendar/weekCalendar.js +27 -27
  224. package/lib/es/card/cardGroup.js +2 -2
  225. package/lib/es/card/index.js +16 -16
  226. package/lib/es/card/meta.js +5 -5
  227. package/lib/es/carousel/CarouselArrow.js +6 -6
  228. package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
  229. package/lib/es/carousel/CarouselIndicator.js +6 -6
  230. package/lib/es/carousel/index.d.ts +1 -1
  231. package/lib/es/carousel/index.js +12 -12
  232. package/lib/es/cascader/index.d.ts +1 -1
  233. package/lib/es/cascader/index.js +36 -36
  234. package/lib/es/cascader/item.d.ts +1 -1
  235. package/lib/es/cascader/item.js +25 -25
  236. package/lib/es/checkbox/checkbox.js +14 -14
  237. package/lib/es/checkbox/checkboxGroup.js +4 -4
  238. package/lib/es/checkbox/checkboxInner.js +6 -6
  239. package/lib/es/collapse/item.js +9 -9
  240. package/lib/es/collapsible/index.js +3 -3
  241. package/lib/es/configProvider/index.js +1 -1
  242. package/lib/es/datePicker/dateInput.d.ts +1 -1
  243. package/lib/es/datePicker/dateInput.js +16 -16
  244. package/lib/es/datePicker/datePicker.d.ts +2 -2
  245. package/lib/es/datePicker/datePicker.js +9 -9
  246. package/lib/es/datePicker/footer.js +1 -1
  247. package/lib/es/datePicker/index.js +1 -1
  248. package/lib/es/datePicker/month.js +2 -2
  249. package/lib/es/datePicker/monthsGrid.d.ts +1 -1
  250. package/lib/es/datePicker/monthsGrid.js +27 -27
  251. package/lib/es/datePicker/navigation.js +1 -1
  252. package/lib/es/datePicker/quickControl.js +14 -14
  253. package/lib/es/datePicker/yearAndMonth.js +4 -4
  254. package/lib/es/descriptions/index.js +3 -3
  255. package/lib/es/descriptions/item.js +5 -5
  256. package/lib/es/divider/index.js +7 -7
  257. package/lib/es/dropdown/dropdownDivider.js +1 -1
  258. package/lib/es/dropdown/dropdownItem.js +7 -7
  259. package/lib/es/dropdown/dropdownMenu.js +1 -1
  260. package/lib/es/dropdown/dropdownTitle.js +2 -2
  261. package/lib/es/dropdown/index.js +3 -3
  262. package/lib/es/empty/index.js +7 -7
  263. package/lib/es/form/arrayField.js +1 -1
  264. package/lib/es/form/baseForm.d.ts +1 -1
  265. package/lib/es/form/baseForm.js +2 -2
  266. package/lib/es/form/errorMessage.js +1 -1
  267. package/lib/es/form/field.d.ts +1 -1
  268. package/lib/es/form/group.js +2 -2
  269. package/lib/es/form/hoc/withField.js +16 -16
  270. package/lib/es/form/label.js +9 -9
  271. package/lib/es/form/slot.js +5 -5
  272. package/lib/es/grid/col.js +11 -11
  273. package/lib/es/grid/row.js +4 -4
  274. package/lib/es/highlight/index.js +1 -1
  275. package/lib/es/iconButton/index.js +5 -5
  276. package/lib/es/image/image.js +10 -10
  277. package/lib/es/image/preview.js +3 -3
  278. package/lib/es/image/previewFooter.js +12 -12
  279. package/lib/es/image/previewHeader.js +3 -3
  280. package/lib/es/image/previewImage.js +7 -7
  281. package/lib/es/image/previewInner.js +7 -7
  282. package/lib/es/input/index.d.ts +1 -1
  283. package/lib/es/input/index.js +38 -38
  284. package/lib/es/input/inputGroup.d.ts +1 -1
  285. package/lib/es/input/inputGroup.js +7 -7
  286. package/lib/es/input/textarea.js +14 -14
  287. package/lib/es/inputNumber/index.js +11 -11
  288. package/lib/es/layout/Sider.js +3 -3
  289. package/lib/es/layout/index.js +2 -2
  290. package/lib/es/list/index.js +11 -11
  291. package/lib/es/list/item.js +6 -6
  292. package/lib/es/modal/ConfirmModal.js +7 -7
  293. package/lib/es/modal/Modal.js +4 -4
  294. package/lib/es/modal/ModalContent.js +24 -24
  295. package/lib/es/modal/useModal/index.js +1 -1
  296. package/lib/es/navigation/CollapseButton.js +1 -1
  297. package/lib/es/navigation/Footer.js +2 -2
  298. package/lib/es/navigation/Header.js +5 -5
  299. package/lib/es/navigation/Item.js +18 -18
  300. package/lib/es/navigation/SubNav.js +17 -17
  301. package/lib/es/navigation/index.js +8 -8
  302. package/lib/es/notification/index.js +3 -3
  303. package/lib/es/notification/notice.js +12 -12
  304. package/lib/es/overflowList/index.js +6 -6
  305. package/lib/es/pagination/index.js +26 -26
  306. package/lib/es/popconfirm/index.js +9 -9
  307. package/lib/es/popover/index.d.ts +1 -1
  308. package/lib/es/popover/index.js +2 -2
  309. package/lib/es/progress/index.js +14 -14
  310. package/lib/es/radio/radio.js +22 -22
  311. package/lib/es/radio/radioGroup.js +5 -5
  312. package/lib/es/radio/radioInner.js +7 -7
  313. package/lib/es/rating/index.d.ts +1 -1
  314. package/lib/es/rating/index.js +5 -5
  315. package/lib/es/rating/item.d.ts +1 -1
  316. package/lib/es/rating/item.js +11 -11
  317. package/lib/es/scrollList/index.js +5 -5
  318. package/lib/es/scrollList/scrollItem.js +13 -13
  319. package/lib/es/select/index.js +57 -57
  320. package/lib/es/select/option.js +7 -7
  321. package/lib/es/sideSheet/SideSheetContent.js +10 -10
  322. package/lib/es/sideSheet/index.js +7 -7
  323. package/lib/es/skeleton/index.js +1 -1
  324. package/lib/es/skeleton/item.js +4 -4
  325. package/lib/es/slider/index.js +28 -28
  326. package/lib/es/space/index.js +12 -12
  327. package/lib/es/spin/icon.js +2 -2
  328. package/lib/es/spin/index.js +6 -6
  329. package/lib/es/steps/basicStep.js +14 -14
  330. package/lib/es/steps/basicSteps.js +6 -6
  331. package/lib/es/steps/fillStep.js +10 -10
  332. package/lib/es/steps/fillSteps.js +4 -4
  333. package/lib/es/steps/navStep.js +5 -5
  334. package/lib/es/steps/navSteps.js +2 -2
  335. package/lib/es/switch/index.d.ts +1 -1
  336. package/lib/es/table/Body/BaseRow.js +5 -5
  337. package/lib/es/table/Body/ExpandedRow.js +3 -3
  338. package/lib/es/table/Body/SectionRow.js +1 -1
  339. package/lib/es/table/Body/index.js +8 -8
  340. package/lib/es/table/ColGroup.js +2 -2
  341. package/lib/es/table/ColumnFilter.js +3 -3
  342. package/lib/es/table/ColumnSelection.js +2 -2
  343. package/lib/es/table/ColumnSorter.js +7 -7
  344. package/lib/es/table/CustomExpandIcon.js +2 -2
  345. package/lib/es/table/HeadTable.js +3 -3
  346. package/lib/es/table/Table.d.ts +2 -2
  347. package/lib/es/table/Table.js +20 -20
  348. package/lib/es/table/TableCell.js +8 -8
  349. package/lib/es/table/TableHeader.js +1 -1
  350. package/lib/es/table/TableHeaderRow.js +8 -8
  351. package/lib/es/table/TablePagination.js +3 -3
  352. package/lib/es/table/index.d.ts +1 -1
  353. package/lib/es/tabs/TabBar.js +18 -18
  354. package/lib/es/tabs/TabPane.js +3 -3
  355. package/lib/es/tabs/index.js +2 -2
  356. package/lib/es/tag/group.js +5 -5
  357. package/lib/es/tag/index.js +13 -13
  358. package/lib/es/tagInput/index.d.ts +1 -1
  359. package/lib/es/tagInput/index.js +33 -33
  360. package/lib/es/timePicker/Combobox.js +4 -4
  361. package/lib/es/timePicker/TimeInput.js +4 -4
  362. package/lib/es/timePicker/TimePicker.d.ts +1 -1
  363. package/lib/es/timePicker/TimePicker.js +8 -8
  364. package/lib/es/timePicker/index.d.ts +1 -1
  365. package/lib/es/timeline/index.js +8 -8
  366. package/lib/es/timeline/item.js +7 -7
  367. package/lib/es/toast/index.js +5 -5
  368. package/lib/es/toast/toast.js +9 -9
  369. package/lib/es/tooltip/index.d.ts +1 -1
  370. package/lib/es/tooltip/index.js +7 -7
  371. package/lib/es/transfer/index.js +31 -31
  372. package/lib/es/tree/autoSizer.js +1 -1
  373. package/lib/es/tree/index.js +6 -6
  374. package/lib/es/tree/nodeList.js +1 -1
  375. package/lib/es/tree/treeNode.js +26 -26
  376. package/lib/es/treeSelect/index.js +41 -41
  377. package/lib/es/typography/base.d.ts +1 -1
  378. package/lib/es/typography/base.js +14 -14
  379. package/lib/es/typography/copyable.js +3 -3
  380. package/lib/es/typography/numeral.d.ts +1 -1
  381. package/lib/es/typography/paragraph.d.ts +1 -1
  382. package/lib/es/typography/paragraph.js +1 -1
  383. package/lib/es/typography/text.d.ts +1 -1
  384. package/lib/es/typography/title.d.ts +2 -2
  385. package/lib/es/typography/title.js +1 -1
  386. package/lib/es/typography/util.js +1 -1
  387. package/lib/es/upload/fileCard.js +32 -32
  388. package/lib/es/upload/index.js +37 -37
  389. package/package.json +8 -8
@@ -249,7 +249,7 @@ export default class TreeNode extends PureComponent {
249
249
  searchWords: [keyword],
250
250
  option: {
251
251
  highlightTag: 'span',
252
- highlightClassName: `${prefixcls}-highlight`
252
+ highlightClassName: "".concat(prefixcls, "-highlight")
253
253
  }
254
254
  });
255
255
  } else {
@@ -277,22 +277,22 @@ export default class TreeNode extends PureComponent {
277
277
 
278
278
  if (loading) {
279
279
  return /*#__PURE__*/React.createElement(Spin, {
280
- wrapperClassName: `${prefixcls}-spin-icon`
280
+ wrapperClassName: "".concat(prefixcls, "-spin-icon")
281
281
  });
282
282
  }
283
283
 
284
284
  if (showIcon) {
285
285
  return /*#__PURE__*/React.createElement(IconTreeTriangleDown, {
286
286
  role: 'button',
287
- "aria-label": `${expanded ? 'Expand' : 'Collapse'} the tree item`,
288
- className: `${prefixcls}-expand-icon`,
287
+ "aria-label": "".concat(expanded ? 'Expand' : 'Collapse', " the tree item"),
288
+ className: "".concat(prefixcls, "-expand-icon"),
289
289
  size: "small",
290
290
  onClick: this.onExpand
291
291
  });
292
292
  }
293
293
 
294
294
  return /*#__PURE__*/React.createElement("span", {
295
- className: `${prefixcls}-empty-icon`
295
+ className: "".concat(prefixcls, "-empty-icon")
296
296
  });
297
297
  }
298
298
 
@@ -335,14 +335,14 @@ export default class TreeNode extends PureComponent {
335
335
  } else {
336
336
  if (!hasChild) {
337
337
  itemIcon = /*#__PURE__*/React.createElement(IconFile, {
338
- className: `${prefixcls}-item-icon`
338
+ className: "".concat(prefixcls, "-item-icon")
339
339
  });
340
340
  } else {
341
341
  // eslint-disable-next-line max-len
342
342
  itemIcon = expanded ? /*#__PURE__*/React.createElement(IconFolderOpen, {
343
- className: `${prefixcls}-item-icon`
343
+ className: "".concat(prefixcls, "-item-icon")
344
344
  }) : /*#__PURE__*/React.createElement(IconFolder, {
345
- className: `${prefixcls}-item-icon`
345
+ className: "".concat(prefixcls, "-item-icon")
346
346
  });
347
347
  }
348
348
  }
@@ -356,12 +356,12 @@ export default class TreeNode extends PureComponent {
356
356
  emptyContent
357
357
  } = this.props;
358
358
  const wrapperCls = cls(prefixcls, {
359
- [`${prefixcls}-empty`]: true
359
+ ["".concat(prefixcls, "-empty")]: true
360
360
  });
361
361
  return /*#__PURE__*/React.createElement("ul", {
362
362
  className: wrapperCls
363
363
  }, /*#__PURE__*/React.createElement("li", {
364
- className: `${prefixcls}-label ${prefixcls}-label-empty`,
364
+ className: "".concat(prefixcls, "-label ").concat(prefixcls, "-label-empty"),
365
365
  "x-semi-prop": "emptyContent"
366
366
  }, emptyContent));
367
367
  } // eslint-disable-next-line max-lines-per-function
@@ -404,20 +404,20 @@ export default class TreeNode extends PureComponent {
404
404
  const dragOverGapTop = dragOverNodeKey === eventKey && dropPosition === -1;
405
405
  const dragOverGapBottom = dragOverNodeKey === eventKey && dropPosition === 1;
406
406
  const nodeCls = cls(prefixcls, {
407
- [`${prefixcls}-level-${level + 1}`]: true,
408
- [`${prefixcls}-collapsed`]: !expanded,
409
- [`${prefixcls}-disabled`]: Boolean(disabled),
410
- [`${prefixcls}-selected`]: selected,
411
- [`${prefixcls}-active`]: !multiple && active,
412
- [`${prefixcls}-ellipsis`]: labelEllipsis,
413
- [`${prefixcls}-filtered`]: filtered && treeNodeFilterProp !== 'label',
414
- [`${prefixcls}-drag-over`]: !disabled && dragOver,
415
- [`${prefixcls}-draggable`]: !disabled && draggable && !renderFullLabel,
407
+ ["".concat(prefixcls, "-level-").concat(level + 1)]: true,
408
+ ["".concat(prefixcls, "-collapsed")]: !expanded,
409
+ ["".concat(prefixcls, "-disabled")]: Boolean(disabled),
410
+ ["".concat(prefixcls, "-selected")]: selected,
411
+ ["".concat(prefixcls, "-active")]: !multiple && active,
412
+ ["".concat(prefixcls, "-ellipsis")]: labelEllipsis,
413
+ ["".concat(prefixcls, "-filtered")]: filtered && treeNodeFilterProp !== 'label',
414
+ ["".concat(prefixcls, "-drag-over")]: !disabled && dragOver,
415
+ ["".concat(prefixcls, "-draggable")]: !disabled && draggable && !renderFullLabel,
416
416
  // When draggable + renderFullLabel is enabled, the default style
417
- [`${prefixcls}-fullLabel-draggable`]: !disabled && draggable && renderFullLabel,
417
+ ["".concat(prefixcls, "-fullLabel-draggable")]: !disabled && draggable && renderFullLabel,
418
418
  // When draggable + renderFullLabel is turned on, the style of dragover
419
- [`${prefixcls}-fullLabel-drag-over-gap-top`]: !disabled && dragOverGapTop && renderFullLabel,
420
- [`${prefixcls}-fullLabel-drag-over-gap-bottom`]: !disabled && dragOverGapBottom && renderFullLabel
419
+ ["".concat(prefixcls, "-fullLabel-drag-over-gap-top")]: !disabled && dragOverGapTop && renderFullLabel,
420
+ ["".concat(prefixcls, "-fullLabel-drag-over-gap-bottom")]: !disabled && dragOverGapBottom && renderFullLabel
421
421
  });
422
422
  const labelProps = {
423
423
  onClick: this.onClick,
@@ -471,9 +471,9 @@ export default class TreeNode extends PureComponent {
471
471
  }
472
472
  }
473
473
 
474
- const labelCls = cls(`${prefixcls}-label`, {
475
- [`${prefixcls}-drag-over-gap-top`]: !disabled && dragOverGapTop,
476
- [`${prefixcls}-drag-over-gap-bottom`]: !disabled && dragOverGapBottom
474
+ const labelCls = cls("".concat(prefixcls, "-label"), {
475
+ ["".concat(prefixcls, "-drag-over-gap-top")]: !disabled && dragOverGapTop,
476
+ ["".concat(prefixcls, "-drag-over-gap-bottom")]: !disabled && dragOverGapBottom
477
477
  });
478
478
 
479
479
  const setsize = _get(rest, ['data', 'children', 'length']);
@@ -499,7 +499,7 @@ export default class TreeNode extends PureComponent {
499
499
  }, dragProps), this.renderArrow(), /*#__PURE__*/React.createElement("span", {
500
500
  className: labelCls
501
501
  }, multiple ? this.renderCheckbox() : null, this.renderIcon(), /*#__PURE__*/React.createElement("span", {
502
- className: `${prefixcls}-label-text`
502
+ className: "".concat(prefixcls, "-label-text")
503
503
  }, this.renderRealLabel())));
504
504
  }
505
505
 
@@ -47,9 +47,9 @@ class TreeSelect extends BaseComponent {
47
47
  suffix
48
48
  } = this.props;
49
49
  const suffixWrapperCls = cls({
50
- [`${prefixcls}-suffix`]: true,
51
- [`${prefixcls}-suffix-text`]: suffix && _isString(suffix),
52
- [`${prefixcls}-suffix-icon`]: isSemiIcon(suffix)
50
+ ["".concat(prefixcls, "-suffix")]: true,
51
+ ["".concat(prefixcls, "-suffix-text")]: suffix && _isString(suffix),
52
+ ["".concat(prefixcls, "-suffix-icon")]: isSemiIcon(suffix)
53
53
  });
54
54
  return /*#__PURE__*/React.createElement("div", {
55
55
  className: suffixWrapperCls,
@@ -65,11 +65,11 @@ class TreeSelect extends BaseComponent {
65
65
  } = this.props;
66
66
  const labelNode = prefix || insetLabel;
67
67
  const prefixWrapperCls = cls({
68
- [`${prefixcls}-prefix`]: true,
68
+ ["".concat(prefixcls, "-prefix")]: true,
69
69
  // to be doublechecked
70
- [`${prefixcls}-inset-label`]: insetLabel,
71
- [`${prefixcls}-prefix-text`]: labelNode && _isString(labelNode),
72
- [`${prefixcls}-prefix-icon`]: isSemiIcon(labelNode)
70
+ ["".concat(prefixcls, "-inset-label")]: insetLabel,
71
+ ["".concat(prefixcls, "-prefix-text")]: labelNode && _isString(labelNode),
72
+ ["".concat(prefixcls, "-prefix-icon")]: isSemiIcon(labelNode)
73
73
  });
74
74
  return /*#__PURE__*/React.createElement("div", {
75
75
  className: prefixWrapperCls,
@@ -89,7 +89,7 @@ class TreeSelect extends BaseComponent {
89
89
  const style = Object.assign({
90
90
  minWidth: dropdownMinWidth
91
91
  }, dropdownStyle);
92
- const popoverCls = cls(dropdownClassName, `${prefixcls}-popover`);
92
+ const popoverCls = cls(dropdownClassName, "".concat(prefixcls, "-popover"));
93
93
  return /*#__PURE__*/React.createElement("div", {
94
94
  className: popoverCls,
95
95
  style: style
@@ -214,7 +214,7 @@ class TreeSelect extends BaseComponent {
214
214
  color: 'white',
215
215
  visible: true,
216
216
  onClose,
217
- key: `tag-${key}-${index}`,
217
+ key: "tag-".concat(key, "-").concat(index),
218
218
  size: size === 'small' ? 'small' : 'large'
219
219
  };
220
220
 
@@ -241,9 +241,9 @@ class TreeSelect extends BaseComponent {
241
241
  inputTriggerFocus
242
242
  } = this.state;
243
243
  const renderText = this.foundation.getRenderTextInSingle();
244
- const spanCls = cls(`${prefixcls}-selection-TriggerSearchItem`, {
245
- [`${prefixcls}-selection-TriggerSearchItem-placeholder`]: (inputTriggerFocus || !renderText) && !disabled,
246
- [`${prefixcls}-selection-TriggerSearchItem-disabled`]: disabled
244
+ const spanCls = cls("".concat(prefixcls, "-selection-TriggerSearchItem"), {
245
+ ["".concat(prefixcls, "-selection-TriggerSearchItem-placeholder")]: (inputTriggerFocus || !renderText) && !disabled,
246
+ ["".concat(prefixcls, "-selection-TriggerSearchItem-disabled")]: disabled
247
247
  });
248
248
  return /*#__PURE__*/React.createElement("span", {
249
249
  className: spanCls
@@ -281,7 +281,7 @@ class TreeSelect extends BaseComponent {
281
281
  if (!multiple || !this.hasValue()) {
282
282
  const renderText = this.foundation.getRenderTextInSingle();
283
283
  const spanCls = cls({
284
- [`${prefixcls}-selection-placeholder`]: !renderText
284
+ ["".concat(prefixcls, "-selection-placeholder")]: !renderText
285
285
  });
286
286
  return /*#__PURE__*/React.createElement("span", {
287
287
  className: spanCls
@@ -348,7 +348,7 @@ class TreeSelect extends BaseComponent {
348
348
  }
349
349
 
350
350
  return arrowIcon ? /*#__PURE__*/React.createElement("div", {
351
- className: cls(`${prefixcls}-arrow`),
351
+ className: cls("".concat(prefixcls, "-arrow")),
352
352
  "x-semi-prop": "arrowIcon"
353
353
  }, arrowIcon) : null;
354
354
  };
@@ -358,7 +358,7 @@ class TreeSelect extends BaseComponent {
358
358
  const {
359
359
  clearIcon
360
360
  } = this.props;
361
- const clearCls = cls(`${prefixcls}-clearbtn`);
361
+ const clearCls = cls("".concat(prefixcls, "-clearbtn"));
362
362
 
363
363
  if (showClearBtn) {
364
364
  return /*#__PURE__*/React.createElement("div", {
@@ -412,20 +412,20 @@ class TreeSelect extends BaseComponent {
412
412
 
413
413
  const isValueTriggerSearch = isTriggerPositionSearch && !_isEmpty(checkedKeys);
414
414
  const classNames = useCustomTrigger ? cls(className) : cls(prefixcls, {
415
- [`${prefixcls}-focus`]: isOpen && !isInput,
416
- [`${prefixcls}-disabled`]: disabled,
417
- [`${prefixcls}-single`]: !multiple,
418
- [`${prefixcls}-multiple`]: multiple,
419
- [`${prefixcls}-multiple-tagInput-empty`]: multiple && isEmptyTriggerSearch,
420
- [`${prefixcls}-multiple-tagInput-notEmpty`]: multiple && isValueTriggerSearch,
421
- [`${prefixcls}-filterable`]: filterable,
422
- [`${prefixcls}-error`]: validateStatus === 'error',
423
- [`${prefixcls}-warning`]: validateStatus === 'warning',
424
- [`${prefixcls}-small`]: size === 'small',
425
- [`${prefixcls}-large`]: size === 'large',
426
- [`${prefixcls}-with-prefix`]: prefix || insetLabel,
427
- [`${prefixcls}-with-suffix`]: suffix,
428
- [`${prefixcls}-with-suffix`]: suffix
415
+ ["".concat(prefixcls, "-focus")]: isOpen && !isInput,
416
+ ["".concat(prefixcls, "-disabled")]: disabled,
417
+ ["".concat(prefixcls, "-single")]: !multiple,
418
+ ["".concat(prefixcls, "-multiple")]: multiple,
419
+ ["".concat(prefixcls, "-multiple-tagInput-empty")]: multiple && isEmptyTriggerSearch,
420
+ ["".concat(prefixcls, "-multiple-tagInput-notEmpty")]: multiple && isValueTriggerSearch,
421
+ ["".concat(prefixcls, "-filterable")]: filterable,
422
+ ["".concat(prefixcls, "-error")]: validateStatus === 'error',
423
+ ["".concat(prefixcls, "-warning")]: validateStatus === 'warning',
424
+ ["".concat(prefixcls, "-small")]: size === 'small',
425
+ ["".concat(prefixcls, "-large")]: size === 'large',
426
+ ["".concat(prefixcls, "-with-prefix")]: prefix || insetLabel,
427
+ ["".concat(prefixcls, "-with-suffix")]: suffix,
428
+ ["".concat(prefixcls, "-with-suffix")]: suffix
429
429
  }, className);
430
430
  const triggerRenderKeys = multiple ? normalizeKeyList([...checkedKeys], keyEntities, leafOnly, true) : selectedKeys;
431
431
  const inner = useCustomTrigger ? /*#__PURE__*/React.createElement(Trigger, {
@@ -443,7 +443,7 @@ class TreeSelect extends BaseComponent {
443
443
  }, prefix || insetLabel ? this.renderPrefix() : null), /*#__PURE__*/React.createElement(Fragment, {
444
444
  key: 'selection'
445
445
  }, /*#__PURE__*/React.createElement("div", {
446
- className: `${prefixcls}-selection`
446
+ className: "".concat(prefixcls, "-selection")
447
447
  }, this.renderSelectContent())), /*#__PURE__*/React.createElement(Fragment, {
448
448
  key: 'suffix'
449
449
  }, suffix ? this.renderSuffix() : null), /*#__PURE__*/React.createElement(Fragment, {
@@ -494,8 +494,8 @@ class TreeSelect extends BaseComponent {
494
494
  const keyList = normalizeKeyList([key], keyEntities, leafOnly, true);
495
495
  const nodes = keyList.map(i => keyEntities[key] && keyEntities[key].data.key === key ? keyEntities[key].data : this.getDataForKeyNotInKeyEntities(key));
496
496
  const value = getValueOrKey(nodes);
497
- const tagCls = cls(`${prefixcls}-selection-tag`, {
498
- [`${prefixcls}-selection-tag-disabled`]: disabled
497
+ const tagCls = cls("".concat(prefixcls, "-selection-tag"), {
498
+ ["".concat(prefixcls, "-selection-tag-disabled")]: disabled
499
499
  });
500
500
  const nodeHaveData = !_isEmpty(nodes) && !_isEmpty(nodes[0]);
501
501
  const isDisableStrictlyNode = disableStrictly && nodeHaveData && disabledKeys.has(nodes[0].key);
@@ -509,7 +509,7 @@ class TreeSelect extends BaseComponent {
509
509
 
510
510
  const tagProps = {
511
511
  size: size === 'small' ? 'small' : 'large',
512
- key: `tag-${value}-${idx}`,
512
+ key: "tag-".concat(value, "-").concat(idx),
513
513
  color: 'white',
514
514
  className: tagCls,
515
515
  closable,
@@ -608,8 +608,8 @@ class TreeSelect extends BaseComponent {
608
608
  } = this.props;
609
609
  const isDropdownPositionSearch = searchPosition === strings.SEARCH_POSITION_DROPDOWN;
610
610
  const inputcls = cls({
611
- [`${prefixTree}-input`]: isDropdownPositionSearch,
612
- [`${prefixcls}-inputTrigger`]: !isDropdownPositionSearch
611
+ ["".concat(prefixTree, "-input")]: isDropdownPositionSearch,
612
+ ["".concat(prefixcls, "-inputTrigger")]: !isDropdownPositionSearch
613
613
  });
614
614
  const {
615
615
  inputValue
@@ -631,8 +631,8 @@ class TreeSelect extends BaseComponent {
631
631
  };
632
632
  const realInputProps = isDropdownPositionSearch ? inputDropdownProps : inputTriggerProps;
633
633
  const wrapperCls = cls({
634
- [`${prefixTree}-search-wrapper`]: isDropdownPositionSearch,
635
- [`${prefixcls}-triggerSingleSearch-wrapper`]: !isDropdownPositionSearch && !multiple
634
+ ["".concat(prefixTree, "-search-wrapper")]: isDropdownPositionSearch,
635
+ ["".concat(prefixcls, "-triggerSingleSearch-wrapper")]: !isDropdownPositionSearch && !multiple
636
636
  });
637
637
  const useCusSearch = typeof searchRender === 'function' || typeof searchRender === 'boolean';
638
638
 
@@ -825,7 +825,7 @@ class TreeSelect extends BaseComponent {
825
825
  // @ts-ignore avoid strict check of itemKey
826
826
  itemKey: this.itemKey,
827
827
  itemData: flattenNodes,
828
- className: `${prefixTree}-virtual-list`,
828
+ className: "".concat(prefixTree, "-virtual-list"),
829
829
  style: {
830
830
  direction
831
831
  }
@@ -862,9 +862,9 @@ class TreeSelect extends BaseComponent {
862
862
  renderFullLabel,
863
863
  checkRelation
864
864
  } = this.props;
865
- const wrapperCls = cls(`${prefixTree}-wrapper`);
866
- const listCls = cls(`${prefixTree}-option-list`, {
867
- [`${prefixTree}-option-list-block`]: true
865
+ const wrapperCls = cls("".concat(prefixTree, "-wrapper"));
866
+ const listCls = cls("".concat(prefixTree, "-option-list"), {
867
+ ["".concat(prefixTree, "-option-list-block")]: true
868
868
  });
869
869
  const searchNoRes = Boolean(inputValue) && !filteredKeys.size;
870
870
  const noData = _isEmpty(flattenNodes) || showFilteredOnly && searchNoRes;
@@ -64,7 +64,7 @@ export default class Base extends Component<BaseTypographyProps, BaseTypographyS
64
64
  spacing: PropTypes.Requireable<"normal" | "extended">;
65
65
  strong: PropTypes.Requireable<boolean>;
66
66
  size: PropTypes.Requireable<"small" | "normal">;
67
- type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
67
+ type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "tertiary" | "danger" | "quaternary">;
68
68
  style: PropTypes.Requireable<object>;
69
69
  className: PropTypes.Requireable<string>;
70
70
  icon: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
@@ -233,7 +233,7 @@ export default class Base extends Component {
233
233
  React.createElement("a", {
234
234
  role: "button",
235
235
  tabIndex: 0,
236
- className: `${prefixCls}-ellipsis-expand`,
236
+ className: "".concat(prefixCls, "-ellipsis-expand"),
237
237
  key: "expand",
238
238
  ref: this.expandRef,
239
239
  "aria-label": text,
@@ -309,10 +309,10 @@ export default class Base extends Component {
309
309
  } = this.state;
310
310
  const useCSS = !expanded && this.canUseCSSEllipsis();
311
311
  const ellipsisCls = cls({
312
- [`${prefixCls}-ellipsis`]: true,
313
- [`${prefixCls}-ellipsis-single-line`]: rows === 1,
314
- [`${prefixCls}-ellipsis-multiple-line`]: rows > 1,
315
- [`${prefixCls}-ellipsis-overflow-ellipsis`]: rows === 1 && useCSS
312
+ ["".concat(prefixCls, "-ellipsis")]: true,
313
+ ["".concat(prefixCls, "-ellipsis-single-line")]: rows === 1,
314
+ ["".concat(prefixCls, "-ellipsis-multiple-line")]: rows > 1,
315
+ ["".concat(prefixCls, "-ellipsis-overflow-ellipsis")]: rows === 1 && useCSS
316
316
  });
317
317
  const ellipsisStyle = useCSS && rows > 1 ? {
318
318
  WebkitLineClamp: rows
@@ -523,7 +523,7 @@ export default class Base extends Component {
523
523
 
524
524
  const iconSize = size === 'small' ? 'small' : 'default';
525
525
  return /*#__PURE__*/React.createElement("span", {
526
- className: `${prefixCls}-icon`,
526
+ className: "".concat(prefixCls, "-icon"),
527
527
  "x-semi-prop": "icon"
528
528
  }, isSemiIcon(icon) ? /*#__PURE__*/React.cloneElement(icon, {
529
529
  size: iconSize
@@ -559,8 +559,8 @@ export default class Base extends Component {
559
559
  } = this.getEllipsisStyle();
560
560
  let textNode = ellipsis ? this.renderEllipsisText(ellipsisOpt) : children;
561
561
  const linkCls = cls({
562
- [`${prefixCls}-link-text`]: link,
563
- [`${prefixCls}-link-underline`]: this.props.underline && link
562
+ ["".concat(prefixCls, "-link-text")]: link,
563
+ ["".concat(prefixCls, "-link-underline")]: this.props.underline && link
564
564
  });
565
565
  textNode = wrapperDecorations(this.props, /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, this.props.link ? /*#__PURE__*/React.createElement("span", {
566
566
  className: linkCls
@@ -568,12 +568,12 @@ export default class Base extends Component {
568
568
  const hTagReg = /^h[1-6]$/;
569
569
  const wrapperCls = cls(className, ellipsisCls, {
570
570
  // [`${prefixCls}-primary`]: !type || type === 'primary',
571
- [`${prefixCls}-${type}`]: type && !link,
572
- [`${prefixCls}-${size}`]: size,
573
- [`${prefixCls}-link`]: link,
574
- [`${prefixCls}-disabled`]: disabled,
575
- [`${prefixCls}-${spacing}`]: spacing,
576
- [`${prefixCls}-${heading}`]: _isString(heading) && hTagReg.test(heading)
571
+ ["".concat(prefixCls, "-").concat(type)]: type && !link,
572
+ ["".concat(prefixCls, "-").concat(size)]: size,
573
+ ["".concat(prefixCls, "-link")]: link,
574
+ ["".concat(prefixCls, "-disabled")]: disabled,
575
+ ["".concat(prefixCls, "-").concat(spacing)]: spacing,
576
+ ["".concat(prefixCls, "-").concat(heading)]: _isString(heading) && hTagReg.test(heading)
577
577
  });
578
578
  return /*#__PURE__*/React.createElement(Typography, Object.assign({
579
579
  className: wrapperCls,
@@ -83,8 +83,8 @@ export class Copyable extends React.PureComponent {
83
83
  copied
84
84
  } = this.state;
85
85
  const finalCls = cls(className, {
86
- [`${prefixCls}-action-copy`]: !copied,
87
- [`${prefixCls}-action-copied`]: copied
86
+ ["".concat(prefixCls, "-action-copy")]: !copied,
87
+ ["".concat(prefixCls, "-action-copied")]: copied
88
88
  });
89
89
  return /*#__PURE__*/React.createElement(LocaleConsumer, {
90
90
  componentName: "Typography"
@@ -97,7 +97,7 @@ export class Copyable extends React.PureComponent {
97
97
  }, copied ? this.renderSuccessTip() : /*#__PURE__*/React.createElement(Tooltip, {
98
98
  content: typeof copyTip !== 'undefined' ? copyTip : locale.copy
99
99
  }, /*#__PURE__*/React.createElement("a", {
100
- className: `${prefixCls}-action-copy-icon`
100
+ className: "".concat(prefixCls, "-action-copy-icon")
101
101
  }, /*#__PURE__*/React.createElement(IconCopy, {
102
102
  role: "button",
103
103
  tabIndex: 0,
@@ -38,7 +38,7 @@ export default class Numeral extends PureComponent<NumeralProps> {
38
38
  underline: PropTypes.Requireable<boolean>;
39
39
  link: PropTypes.Requireable<NonNullable<boolean | object>>;
40
40
  strong: PropTypes.Requireable<boolean>;
41
- type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
41
+ type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "tertiary" | "danger" | "quaternary">;
42
42
  size: PropTypes.Requireable<"small" | "normal">;
43
43
  style: PropTypes.Requireable<object>;
44
44
  className: PropTypes.Requireable<string>;
@@ -29,7 +29,7 @@ export default class Paragraph extends PureComponent<ParagraphProps> {
29
29
  link: PropTypes.Requireable<NonNullable<boolean | object>>;
30
30
  underline: PropTypes.Requireable<boolean>;
31
31
  strong: PropTypes.Requireable<boolean>;
32
- type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
32
+ type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "tertiary" | "danger" | "quaternary">;
33
33
  size: PropTypes.Requireable<"small" | "normal">;
34
34
  spacing: PropTypes.Requireable<"normal" | "extended">;
35
35
  style: PropTypes.Requireable<object>;
@@ -9,7 +9,7 @@ export default class Paragraph extends PureComponent {
9
9
  const {
10
10
  className
11
11
  } = this.props;
12
- const paragraphCls = cls(className, `${prefixCls}-paragraph`);
12
+ const paragraphCls = cls(className, "".concat(prefixCls, "-paragraph"));
13
13
  return /*#__PURE__*/React.createElement(Base, Object.assign({
14
14
  component: 'p'
15
15
  }, this.props, {
@@ -32,7 +32,7 @@ export default class Text extends PureComponent<TextProps> {
32
32
  underline: PropTypes.Requireable<boolean>;
33
33
  link: PropTypes.Requireable<NonNullable<boolean | object>>;
34
34
  strong: PropTypes.Requireable<boolean>;
35
- type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
35
+ type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "tertiary" | "danger" | "quaternary">;
36
36
  size: PropTypes.Requireable<"small" | "normal">;
37
37
  style: PropTypes.Requireable<object>;
38
38
  className: PropTypes.Requireable<string>;
@@ -36,8 +36,8 @@ export default class Title extends PureComponent<TitleProps> {
36
36
  link: PropTypes.Requireable<NonNullable<boolean | object>>;
37
37
  underline: PropTypes.Requireable<boolean>;
38
38
  strong: PropTypes.Requireable<boolean>;
39
- type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
40
- heading: PropTypes.Requireable<1 | 2 | 3 | 4 | 6 | 5>;
39
+ type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "tertiary" | "danger" | "quaternary">;
40
+ heading: PropTypes.Requireable<4 | 2 | 1 | 3 | 6 | 5>;
41
41
  style: PropTypes.Requireable<object>;
42
42
  className: PropTypes.Requireable<string>;
43
43
  component: PropTypes.Requireable<string>;
@@ -21,7 +21,7 @@ export default class Title extends PureComponent {
21
21
  } = _a,
22
22
  rest = __rest(_a, ["heading"]);
23
23
 
24
- const component = strings.HEADING.indexOf(heading) !== -1 ? `h${heading}` : 'h1'; // Passing headings to support custom components
24
+ const component = strings.HEADING.indexOf(heading) !== -1 ? "h".concat(heading) : 'h1'; // Passing headings to support custom components
25
25
 
26
26
  return /*#__PURE__*/React.createElement(Base, Object.assign({
27
27
  component: component,
@@ -23,7 +23,7 @@ function styleToString(style) {
23
23
  // There are some different behavior between Firefox & Chrome.
24
24
  // We have to handle this ourself.
25
25
  const styleNames = Array.prototype.slice.apply(style);
26
- return styleNames.map(name => `${name}: ${style.getPropertyValue(name)};`).join('');
26
+ return styleNames.map(name => "".concat(name, ": ").concat(style.getPropertyValue(name), ";")).join('');
27
27
  }
28
28
 
29
29
  const getRenderText = function (originEle, rows) {