@douyinfe/semi-ui 2.8.0 → 2.8.1

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 (320) hide show
  1. package/_base/_story/index.scss +0 -1
  2. package/_base/baseComponent.tsx +2 -1
  3. package/_portal/index.tsx +2 -1
  4. package/anchor/index.tsx +2 -1
  5. package/anchor/link.tsx +2 -1
  6. package/autoComplete/index.tsx +2 -2
  7. package/avatar/interface.ts +2 -2
  8. package/backtop/index.tsx +1 -0
  9. package/badge/index.tsx +4 -2
  10. package/banner/index.tsx +1 -0
  11. package/breadcrumb/bread-context.tsx +2 -2
  12. package/breadcrumb/index.tsx +2 -2
  13. package/breadcrumb/item.tsx +11 -3
  14. package/button/Button.tsx +2 -1
  15. package/button/buttonGroup.tsx +2 -1
  16. package/calendar/_story/Demo.tsx +3 -3
  17. package/card/cardGroup.tsx +1 -0
  18. package/card/index.tsx +1 -0
  19. package/cascader/index.tsx +3 -2
  20. package/cascader/item.tsx +3 -1
  21. package/checkbox/checkbox.tsx +4 -2
  22. package/checkbox/checkboxGroup.tsx +1 -1
  23. package/checkbox/context.ts +3 -3
  24. package/collapse/index.tsx +1 -0
  25. package/collapse/item.tsx +3 -0
  26. package/collapsible/index.tsx +2 -2
  27. package/configProvider/context.tsx +1 -1
  28. package/datePicker/datePicker.tsx +2 -1
  29. package/descriptions/index.tsx +3 -2
  30. package/descriptions/item.tsx +4 -1
  31. package/dist/css/semi.css +1 -1
  32. package/dist/css/semi.min.css +1 -1
  33. package/dist/umd/semi-ui.js +31 -17
  34. package/dist/umd/semi-ui.js.map +1 -1
  35. package/dist/umd/semi-ui.min.js +1 -1
  36. package/dist/umd/semi-ui.min.js.map +1 -1
  37. package/dropdown/context.ts +6 -1
  38. package/dropdown/dropdownItem.tsx +2 -1
  39. package/dropdown/dropdownTitle.tsx +2 -1
  40. package/dropdown/index.tsx +3 -1
  41. package/empty/index.tsx +1 -1
  42. package/form/arrayField.tsx +1 -0
  43. package/form/baseForm.tsx +3 -2
  44. package/form/group.tsx +2 -0
  45. package/form/hoc/withField.tsx +1 -1
  46. package/form/label.tsx +1 -0
  47. package/form/section.tsx +1 -1
  48. package/form/slot.tsx +2 -0
  49. package/grid/col.tsx +3 -1
  50. package/grid/row.tsx +5 -1
  51. package/layout/Sider.tsx +3 -1
  52. package/layout/index.tsx +2 -0
  53. package/layout/layout-context.ts +1 -1
  54. package/lib/cjs/_base/baseComponent.d.ts +2 -1
  55. package/lib/cjs/_portal/index.d.ts +3 -1
  56. package/lib/cjs/anchor/index.d.ts +2 -1
  57. package/lib/cjs/anchor/link.d.ts +3 -2
  58. package/lib/cjs/autoComplete/index.d.ts +2 -2
  59. package/lib/cjs/avatar/avatarGroup.d.ts +1 -1
  60. package/lib/cjs/avatar/interface.d.ts +2 -2
  61. package/lib/cjs/backtop/index.d.ts +1 -0
  62. package/lib/cjs/badge/index.d.ts +4 -2
  63. package/lib/cjs/banner/index.d.ts +2 -1
  64. package/lib/cjs/breadcrumb/bread-context.d.ts +2 -2
  65. package/lib/cjs/breadcrumb/index.d.ts +2 -2
  66. package/lib/cjs/breadcrumb/item.d.ts +15 -3
  67. package/lib/cjs/button/Button.d.ts +2 -1
  68. package/lib/cjs/button/buttonGroup.d.ts +1 -0
  69. package/lib/cjs/calendar/timeCol.d.ts +1 -1
  70. package/lib/cjs/card/cardGroup.d.ts +1 -0
  71. package/lib/cjs/card/index.d.ts +2 -1
  72. package/lib/cjs/cascader/index.d.ts +5 -3
  73. package/lib/cjs/cascader/item.d.ts +3 -1
  74. package/lib/cjs/checkbox/checkbox.d.ts +5 -11
  75. package/lib/cjs/checkbox/checkbox.js +1 -1
  76. package/lib/cjs/checkbox/checkboxGroup.d.ts +1 -1
  77. package/lib/cjs/checkbox/checkboxInner.d.ts +1 -10
  78. package/lib/cjs/checkbox/context.d.ts +3 -3
  79. package/lib/cjs/collapse/index.d.ts +1 -0
  80. package/lib/cjs/collapse/item.d.ts +2 -0
  81. package/lib/cjs/collapsible/index.d.ts +1 -1
  82. package/lib/cjs/configProvider/index.d.ts +1 -1
  83. package/lib/cjs/datePicker/datePicker.d.ts +3 -1
  84. package/lib/cjs/datePicker/insetInput.d.ts +1 -0
  85. package/lib/cjs/descriptions/index.d.ts +3 -2
  86. package/lib/cjs/descriptions/item.d.ts +4 -1
  87. package/lib/cjs/dropdown/context.d.ts +5 -3
  88. package/lib/cjs/dropdown/dropdownItem.d.ts +3 -3
  89. package/lib/cjs/dropdown/dropdownMenu.d.ts +1 -0
  90. package/lib/cjs/dropdown/dropdownTitle.d.ts +3 -3
  91. package/lib/cjs/dropdown/index.d.ts +3 -3
  92. package/lib/cjs/empty/index.d.ts +1 -1
  93. package/lib/cjs/form/arrayField.d.ts +1 -0
  94. package/lib/cjs/form/baseForm.d.ts +1 -1
  95. package/lib/cjs/form/baseForm.js +1 -1
  96. package/lib/cjs/form/group.d.ts +3 -1
  97. package/lib/cjs/form/label.d.ts +1 -0
  98. package/lib/cjs/form/section.d.ts +1 -1
  99. package/lib/cjs/form/slot.js +2 -0
  100. package/lib/cjs/grid/col.d.ts +3 -3
  101. package/lib/cjs/grid/row.d.ts +4 -3
  102. package/lib/cjs/inputNumber/index.d.ts +1 -1
  103. package/lib/cjs/layout/Sider.d.ts +4 -1
  104. package/lib/cjs/layout/index.d.ts +2 -0
  105. package/lib/cjs/list/index.d.ts +1 -0
  106. package/lib/cjs/list/item.d.ts +5 -1
  107. package/lib/cjs/list/item.js +5 -1
  108. package/lib/cjs/modal/Modal.d.ts +1 -0
  109. package/lib/cjs/modal/ModalContent.d.ts +7 -2
  110. package/lib/cjs/modal/confirm.d.ts +5 -0
  111. package/lib/cjs/modal/useModal/index.d.ts +1 -0
  112. package/lib/cjs/navigation/Footer.d.ts +3 -5
  113. package/lib/cjs/navigation/Header.d.ts +3 -5
  114. package/lib/cjs/navigation/Item.d.ts +4 -6
  115. package/lib/cjs/navigation/OpenIconTransition.d.ts +2 -1
  116. package/lib/cjs/navigation/SubNav.d.ts +3 -5
  117. package/lib/cjs/navigation/SubNav.js +2 -2
  118. package/lib/cjs/navigation/SubNavTransition.d.ts +1 -1
  119. package/lib/cjs/navigation/nav-context.d.ts +21 -5
  120. package/lib/cjs/notification/NoticeTransition.d.ts +2 -2
  121. package/lib/cjs/notification/index.d.ts +3 -1
  122. package/lib/cjs/notification/notice.d.ts +3 -1
  123. package/lib/cjs/notification/useNotification/index.d.ts +1 -0
  124. package/lib/cjs/overflowList/intersectionObserver.d.ts +3 -2
  125. package/lib/cjs/pagination/index.d.ts +3 -1
  126. package/lib/cjs/pagination/index.js +15 -11
  127. package/lib/cjs/popconfirm/index.d.ts +4 -2
  128. package/lib/cjs/popover/index.d.ts +3 -1
  129. package/lib/cjs/radio/radio.d.ts +1 -0
  130. package/lib/cjs/radio/radioGroup.d.ts +1 -0
  131. package/lib/cjs/select/index.d.ts +3 -1
  132. package/lib/cjs/sideSheet/SideSheetContent.d.ts +1 -0
  133. package/lib/cjs/sideSheet/SideSheetTransition.d.ts +1 -1
  134. package/lib/cjs/sideSheet/index.d.ts +3 -1
  135. package/lib/cjs/table/Body/ExpandedRow.d.ts +3 -1
  136. package/lib/cjs/table/Body/SectionRow.d.ts +3 -1
  137. package/lib/cjs/table/Table.d.ts +5 -3
  138. package/lib/cjs/table/TableCell.d.ts +5 -3
  139. package/lib/cjs/table/TableHeaderRow.d.ts +3 -1
  140. package/lib/cjs/table/table-context.d.ts +7 -6
  141. package/lib/cjs/tabs/TabPane.d.ts +3 -1
  142. package/lib/cjs/tabs/interface.d.ts +2 -1
  143. package/lib/cjs/tag/group.d.ts +1 -1
  144. package/lib/cjs/timePicker/Combobox.d.ts +1 -0
  145. package/lib/cjs/timeline/index.d.ts +2 -1
  146. package/lib/cjs/timeline/item.d.ts +1 -0
  147. package/lib/cjs/toast/ToastTransition.d.ts +1 -1
  148. package/lib/cjs/toast/index.d.ts +8 -16
  149. package/lib/cjs/toast/toast.d.ts +4 -2
  150. package/lib/cjs/toast/useToast/index.d.ts +1 -0
  151. package/lib/cjs/tooltip/index.d.ts +3 -1
  152. package/lib/cjs/transfer/index.d.ts +3 -3
  153. package/lib/cjs/transfer/index.js +2 -1
  154. package/lib/cjs/tree/index.d.ts +13 -11
  155. package/lib/cjs/tree/nodeList.d.ts +1 -1
  156. package/lib/cjs/tree/treeContext.d.ts +10 -10
  157. package/lib/cjs/tree/treeNode.d.ts +11 -9
  158. package/lib/cjs/tree/treeNode.js +2 -0
  159. package/lib/cjs/treeSelect/index.d.ts +7 -5
  160. package/lib/cjs/typography/copyable.d.ts +1 -1
  161. package/lib/cjs/upload/index.d.ts +2 -2
  162. package/lib/es/_base/baseComponent.d.ts +2 -1
  163. package/lib/es/_portal/index.d.ts +3 -1
  164. package/lib/es/anchor/index.d.ts +2 -1
  165. package/lib/es/anchor/link.d.ts +3 -2
  166. package/lib/es/autoComplete/index.d.ts +2 -2
  167. package/lib/es/avatar/avatarGroup.d.ts +1 -1
  168. package/lib/es/avatar/interface.d.ts +2 -2
  169. package/lib/es/backtop/index.d.ts +1 -0
  170. package/lib/es/badge/index.d.ts +4 -2
  171. package/lib/es/banner/index.d.ts +2 -1
  172. package/lib/es/breadcrumb/bread-context.d.ts +2 -2
  173. package/lib/es/breadcrumb/index.d.ts +2 -2
  174. package/lib/es/breadcrumb/item.d.ts +15 -3
  175. package/lib/es/button/Button.d.ts +2 -1
  176. package/lib/es/button/buttonGroup.d.ts +1 -0
  177. package/lib/es/calendar/timeCol.d.ts +1 -1
  178. package/lib/es/card/cardGroup.d.ts +1 -0
  179. package/lib/es/card/index.d.ts +2 -1
  180. package/lib/es/cascader/index.d.ts +5 -3
  181. package/lib/es/cascader/item.d.ts +3 -1
  182. package/lib/es/checkbox/checkbox.d.ts +5 -11
  183. package/lib/es/checkbox/checkbox.js +1 -1
  184. package/lib/es/checkbox/checkboxGroup.d.ts +1 -1
  185. package/lib/es/checkbox/checkboxInner.d.ts +1 -10
  186. package/lib/es/checkbox/context.d.ts +3 -3
  187. package/lib/es/collapse/index.d.ts +1 -0
  188. package/lib/es/collapse/item.d.ts +2 -0
  189. package/lib/es/collapsible/index.d.ts +1 -1
  190. package/lib/es/configProvider/index.d.ts +1 -1
  191. package/lib/es/datePicker/datePicker.d.ts +3 -1
  192. package/lib/es/datePicker/insetInput.d.ts +1 -0
  193. package/lib/es/descriptions/index.d.ts +3 -2
  194. package/lib/es/descriptions/item.d.ts +4 -1
  195. package/lib/es/dropdown/context.d.ts +5 -3
  196. package/lib/es/dropdown/dropdownItem.d.ts +3 -3
  197. package/lib/es/dropdown/dropdownMenu.d.ts +1 -0
  198. package/lib/es/dropdown/dropdownTitle.d.ts +3 -3
  199. package/lib/es/dropdown/index.d.ts +3 -3
  200. package/lib/es/empty/index.d.ts +1 -1
  201. package/lib/es/form/arrayField.d.ts +1 -0
  202. package/lib/es/form/baseForm.d.ts +1 -1
  203. package/lib/es/form/baseForm.js +1 -1
  204. package/lib/es/form/group.d.ts +3 -1
  205. package/lib/es/form/label.d.ts +1 -0
  206. package/lib/es/form/section.d.ts +1 -1
  207. package/lib/es/form/slot.js +2 -0
  208. package/lib/es/grid/col.d.ts +3 -3
  209. package/lib/es/grid/row.d.ts +4 -3
  210. package/lib/es/inputNumber/index.d.ts +1 -1
  211. package/lib/es/layout/Sider.d.ts +4 -1
  212. package/lib/es/layout/index.d.ts +2 -0
  213. package/lib/es/list/index.d.ts +1 -0
  214. package/lib/es/list/item.d.ts +5 -1
  215. package/lib/es/list/item.js +5 -1
  216. package/lib/es/modal/Modal.d.ts +1 -0
  217. package/lib/es/modal/ModalContent.d.ts +7 -2
  218. package/lib/es/modal/confirm.d.ts +5 -0
  219. package/lib/es/modal/useModal/index.d.ts +1 -0
  220. package/lib/es/navigation/Footer.d.ts +3 -5
  221. package/lib/es/navigation/Header.d.ts +3 -5
  222. package/lib/es/navigation/Item.d.ts +4 -6
  223. package/lib/es/navigation/OpenIconTransition.d.ts +2 -1
  224. package/lib/es/navigation/SubNav.d.ts +3 -5
  225. package/lib/es/navigation/SubNav.js +2 -2
  226. package/lib/es/navigation/SubNavTransition.d.ts +1 -1
  227. package/lib/es/navigation/nav-context.d.ts +21 -5
  228. package/lib/es/notification/NoticeTransition.d.ts +2 -2
  229. package/lib/es/notification/index.d.ts +3 -1
  230. package/lib/es/notification/notice.d.ts +3 -1
  231. package/lib/es/notification/useNotification/index.d.ts +1 -0
  232. package/lib/es/overflowList/intersectionObserver.d.ts +3 -2
  233. package/lib/es/pagination/index.d.ts +3 -1
  234. package/lib/es/pagination/index.js +15 -11
  235. package/lib/es/popconfirm/index.d.ts +4 -2
  236. package/lib/es/popover/index.d.ts +3 -1
  237. package/lib/es/radio/radio.d.ts +1 -0
  238. package/lib/es/radio/radioGroup.d.ts +1 -0
  239. package/lib/es/select/index.d.ts +3 -1
  240. package/lib/es/sideSheet/SideSheetContent.d.ts +1 -0
  241. package/lib/es/sideSheet/SideSheetTransition.d.ts +1 -1
  242. package/lib/es/sideSheet/index.d.ts +3 -1
  243. package/lib/es/table/Body/ExpandedRow.d.ts +3 -1
  244. package/lib/es/table/Body/SectionRow.d.ts +3 -1
  245. package/lib/es/table/Table.d.ts +5 -3
  246. package/lib/es/table/TableCell.d.ts +5 -3
  247. package/lib/es/table/TableHeaderRow.d.ts +3 -1
  248. package/lib/es/table/table-context.d.ts +7 -6
  249. package/lib/es/tabs/TabPane.d.ts +3 -1
  250. package/lib/es/tabs/interface.d.ts +2 -1
  251. package/lib/es/tag/group.d.ts +1 -1
  252. package/lib/es/timePicker/Combobox.d.ts +1 -0
  253. package/lib/es/timeline/index.d.ts +2 -1
  254. package/lib/es/timeline/item.d.ts +1 -0
  255. package/lib/es/toast/ToastTransition.d.ts +1 -1
  256. package/lib/es/toast/index.d.ts +8 -16
  257. package/lib/es/toast/toast.d.ts +4 -2
  258. package/lib/es/toast/useToast/index.d.ts +1 -0
  259. package/lib/es/tooltip/index.d.ts +3 -1
  260. package/lib/es/transfer/index.d.ts +3 -3
  261. package/lib/es/transfer/index.js +3 -1
  262. package/lib/es/tree/index.d.ts +13 -11
  263. package/lib/es/tree/nodeList.d.ts +1 -1
  264. package/lib/es/tree/treeContext.d.ts +10 -10
  265. package/lib/es/tree/treeNode.d.ts +11 -9
  266. package/lib/es/tree/treeNode.js +2 -0
  267. package/lib/es/treeSelect/index.d.ts +7 -5
  268. package/lib/es/typography/copyable.d.ts +1 -1
  269. package/lib/es/upload/index.d.ts +2 -2
  270. package/list/index.tsx +1 -0
  271. package/list/item.tsx +6 -1
  272. package/modal/Modal.tsx +1 -0
  273. package/modal/ModalContent.tsx +9 -3
  274. package/navigation/Footer.tsx +3 -1
  275. package/navigation/Header.tsx +3 -1
  276. package/navigation/Item.tsx +4 -3
  277. package/navigation/OpenIconTransition.tsx +2 -1
  278. package/navigation/SubNav.tsx +4 -3
  279. package/navigation/SubNavTransition.tsx +1 -1
  280. package/navigation/nav-context.ts +22 -1
  281. package/notification/NoticeTransition.tsx +1 -1
  282. package/notification/index.tsx +3 -1
  283. package/notification/notice.tsx +3 -1
  284. package/overflowList/intersectionObserver.tsx +2 -1
  285. package/package.json +10 -10
  286. package/pagination/index.tsx +4 -1
  287. package/popconfirm/index.tsx +3 -1
  288. package/popover/index.tsx +3 -1
  289. package/radio/radio.tsx +1 -0
  290. package/radio/radioGroup.tsx +1 -0
  291. package/select/index.tsx +2 -1
  292. package/select/utils.tsx +1 -1
  293. package/sideSheet/SideSheetContent.tsx +1 -0
  294. package/sideSheet/SideSheetTransition.tsx +1 -1
  295. package/sideSheet/index.tsx +3 -2
  296. package/slider/index.tsx +1 -1
  297. package/table/Body/ExpandedRow.tsx +3 -1
  298. package/table/Body/SectionRow.tsx +3 -1
  299. package/table/Body/index.tsx +3 -2
  300. package/table/Table.tsx +4 -3
  301. package/table/TableCell.tsx +6 -4
  302. package/table/TableHeaderRow.tsx +3 -1
  303. package/table/table-context.ts +10 -6
  304. package/tabs/TabPane.tsx +2 -0
  305. package/tabs/index.tsx +2 -2
  306. package/tabs/interface.ts +2 -1
  307. package/tag/group.tsx +5 -5
  308. package/timePicker/TimePicker.tsx +1 -1
  309. package/timeline/index.tsx +1 -0
  310. package/timeline/item.tsx +1 -0
  311. package/toast/ToastTransition.tsx +1 -1
  312. package/toast/toast.tsx +3 -1
  313. package/tooltip/index.tsx +2 -1
  314. package/transfer/index.tsx +3 -1
  315. package/tree/index.tsx +12 -11
  316. package/tree/treeContext.tsx +10 -10
  317. package/tree/treeNode.tsx +10 -7
  318. package/treeSelect/index.tsx +5 -4
  319. package/upload/_story/upload.stories.js +2 -3
  320. package/upload/index.tsx +1 -1
@@ -45567,7 +45567,7 @@ class checkbox_Checkbox extends baseComponent_BaseComponent {
45567
45567
  }
45568
45568
 
45569
45569
  isInGroup() {
45570
- return this.context && this.context.checkboxGroup;
45570
+ return Boolean(this.context && this.context.checkboxGroup);
45571
45571
  }
45572
45572
 
45573
45573
  focus() {
@@ -64250,7 +64250,10 @@ class item_ListItem extends external_root_React_commonjs2_react_commonjs_react_a
64250
64250
  }, main) : null);
64251
64251
  }
64252
64252
 
64253
- let content = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("li", {
64253
+ let content =
64254
+ /*#__PURE__*/
64255
+ // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions
64256
+ external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("li", {
64254
64257
  className: itemCls,
64255
64258
  style: style,
64256
64259
  onClick: handleClick,
@@ -64276,6 +64279,7 @@ item_ListItem.propTypes = {
64276
64279
  main: prop_types_default.a.node,
64277
64280
  align: prop_types_default.a.oneOf(list_constants_strings.ALIGN),
64278
64281
  className: prop_types_default.a.string,
64282
+ children: prop_types_default.a.node,
64279
64283
  style: prop_types_default.a.object,
64280
64284
  onClick: prop_types_default.a.func,
64281
64285
  onRightClick: prop_types_default.a.func,
@@ -67864,12 +67868,12 @@ class SubNav_SubNav extends baseComponent_BaseComponent {
67864
67868
  getIsSelected: itemKey => {
67865
67869
  var _context;
67866
67870
 
67867
- return Boolean(!isNullOrUndefined(itemKey) && includes_default()(_context = get_default()(this.context, 'selectedKeys', [])).call(_context, itemKey));
67871
+ return Boolean(!isNullOrUndefined(itemKey) && includes_default()(_context = get_default()(this.context, 'selectedKeys', [])).call(_context, String(itemKey)));
67868
67872
  },
67869
67873
  getIsOpen: () => {
67870
67874
  var _context2;
67871
67875
 
67872
- return Boolean(this.context && this.context.openKeys && includes_default()(_context2 = this.context.openKeys).call(_context2, this.props.itemKey));
67876
+ return Boolean(this.context && this.context.openKeys && includes_default()(_context2 = this.context.openKeys).call(_context2, String(this.props.itemKey)));
67873
67877
  }
67874
67878
  });
67875
67879
  }
@@ -75734,17 +75738,21 @@ class pagination_Pagination extends baseComponent_BaseComponent {
75734
75738
 
75735
75739
  const itemHeight = 32;
75736
75740
  const listHeight = count >= 5 ? itemHeight * 5 : itemHeight * count;
75737
- return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(FixedSizeList, {
75738
- className: "".concat(pagination_prefixCls, "-rest-list"),
75739
- itemData: restList,
75740
- itemSize: itemHeight,
75741
- width: 78,
75742
- itemCount: count,
75743
- height: listHeight,
75744
- style: {
75745
- direction
75746
- }
75747
- }, row);
75741
+ return (
75742
+ /*#__PURE__*/
75743
+ // @ts-ignore skip type check cause react-window not update with @types/react 18
75744
+ external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(FixedSizeList, {
75745
+ className: "".concat(pagination_prefixCls, "-rest-list"),
75746
+ itemData: restList,
75747
+ itemSize: itemHeight,
75748
+ width: 78,
75749
+ itemCount: count,
75750
+ height: listHeight,
75751
+ style: {
75752
+ direction
75753
+ }
75754
+ }, row)
75755
+ );
75748
75756
  }
75749
75757
 
75750
75758
  renderSmallPage(locale) {
@@ -93144,6 +93152,7 @@ class treeNode_TreeNode extends external_root_React_commonjs2_react_commonjs_rea
93144
93152
  const customLabel = renderFullLabel(assign_default()({}, labelProps));
93145
93153
 
93146
93154
  if (draggable) {
93155
+ // @ts-ignore skip cloneElement type check
93147
93156
  return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.cloneElement(customLabel, assign_default()({
93148
93157
  ref: this.setRef
93149
93158
  }, dragProps));
@@ -93152,6 +93161,7 @@ class treeNode_TreeNode extends external_root_React_commonjs2_react_commonjs_rea
93152
93161
  return customLabel;
93153
93162
  } else {
93154
93163
  // In virtualization, props.style will contain location information
93164
+ // @ts-ignore skip cloneElement type check
93155
93165
  return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.cloneElement(customLabel, {
93156
93166
  style: assign_default()(assign_default()({}, get_default()(customLabel, ['props', 'style'])), style)
93157
93167
  });
@@ -101635,6 +101645,7 @@ class transfer_Transfer extends baseComponent_BaseComponent {
101635
101645
  }, map_default()(items).call(items, (item, index) =>
101636
101646
  /*#__PURE__*/
101637
101647
  // sortableElement will take over the property 'key', so use another '_optionKey' to pass
101648
+ // @ts-ignore skip SortableItem type check
101638
101649
  external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(SortableItem, assign_default()({
101639
101650
  key: item.label,
101640
101651
  index: index
@@ -101645,7 +101656,8 @@ class transfer_Transfer extends baseComponent_BaseComponent {
101645
101656
  ;
101646
101657
  }, {
101647
101658
  distance: 10
101648
- });
101659
+ }); // @ts-ignore skip SortableItem type check
101660
+
101649
101661
  const sortList = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(SortableList, {
101650
101662
  useDragHandle: true,
101651
101663
  onSortEnd: this.onSortEnd,
@@ -103061,12 +103073,14 @@ const FormSlot = props => {
103061
103073
  break;
103062
103074
 
103063
103075
  case isString_default()(label) || isNumber_default()(label):
103076
+ // @ts-ignore skip type check, the actual type is already determined
103064
103077
  label = {
103065
103078
  text: label
103066
103079
  };
103067
103080
  break;
103068
103081
 
103069
103082
  case /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.isValidElement(label):
103083
+ // @ts-ignore skip type check, the actual type is already determined
103070
103084
  label = {
103071
103085
  text: label
103072
103086
  };
@@ -104115,7 +104129,7 @@ class baseForm_Form extends baseComponent_BaseComponent {
104115
104129
  };
104116
104130
 
104117
104131
  if (component) {
104118
- return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(component, props, children);
104132
+ return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(component, props);
104119
104133
  }
104120
104134
 
104121
104135
  if (render) {