@tendaui/react 1.1.5 → 1.2.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 (450) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/es/_chunks/dep-5U9UjDaf.js.map +1 -1
  4. package/es/_chunks/dep-CD_4-1Xb.js.map +1 -1
  5. package/es/_chunks/{dep-CRURwzDj.js → dep-CsSvR9wN.js} +9 -3
  6. package/es/_chunks/dep-CsSvR9wN.js.map +1 -0
  7. package/es/_chunks/dep-DJmE940f.js.map +1 -1
  8. package/es/_chunks/dep-DbVHGoUC.js.map +1 -1
  9. package/es/_chunks/{dep-D8jki30S.js → dep-aX8qrQpB.js} +2 -2
  10. package/es/_chunks/{dep-D8jki30S.js.map → dep-aX8qrQpB.js.map} +1 -1
  11. package/es/alert/Alert.js +9 -2
  12. package/es/alert/Alert.js.map +1 -1
  13. package/es/alert/index.js +4 -1
  14. package/es/alert/index.js.map +1 -1
  15. package/es/alert/style/index.css +7 -30
  16. package/es/badge/style/index.css +5 -10
  17. package/es/button/_example/base.js +1 -158
  18. package/es/button/_example/base.js.map +1 -1
  19. package/es/button/_example/icon.js +1 -157
  20. package/es/button/_example/icon.js.map +1 -1
  21. package/es/button/style/index.css +4 -19
  22. package/es/checkbox/style/index.css +9 -26
  23. package/es/color-picker/ColorPicker.js +3 -3
  24. package/es/color-picker/components/panel/format/index.js +4 -1
  25. package/es/color-picker/components/panel/format/index.js.map +1 -1
  26. package/es/color-picker/components/panel/format/inputs.js +3 -0
  27. package/es/color-picker/components/panel/format/inputs.js.map +1 -1
  28. package/es/color-picker/components/trigger.js +3 -0
  29. package/es/color-picker/components/trigger.js.map +1 -1
  30. package/es/color-picker/style/index.css +43 -138
  31. package/es/color-picker/utils/color-picker/index.js.map +1 -1
  32. package/es/dialog/Dialog.js +4 -1
  33. package/es/dialog/Dialog.js.map +1 -1
  34. package/es/dialog/DialogCard.js +5 -2
  35. package/es/dialog/DialogCard.js.map +1 -1
  36. package/es/dialog/index.js +4 -3
  37. package/es/dialog/index.js.map +1 -1
  38. package/es/dialog/plugin.js +3 -2
  39. package/es/dialog/plugin.js.map +1 -1
  40. package/es/dialog/style/index.css +51 -188
  41. package/es/drawer/Drawer.js +15 -8
  42. package/es/drawer/Drawer.js.map +1 -1
  43. package/es/drawer/index.js +5 -2
  44. package/es/drawer/index.js.map +1 -1
  45. package/es/drawer/style/index.css +12 -41
  46. package/es/form/Form.js +3 -0
  47. package/es/form/Form.js.map +1 -1
  48. package/es/form/FormItem.js +3 -0
  49. package/es/form/FormItem.js.map +1 -1
  50. package/es/form/index.js +3 -0
  51. package/es/form/index.js.map +1 -1
  52. package/es/form/style/index.css +13 -33
  53. package/es/index.js +3 -3
  54. package/es/input/Input.js +10 -2
  55. package/es/input/Input.js.map +1 -1
  56. package/es/input/index.js +4 -1
  57. package/es/input/index.js.map +1 -1
  58. package/es/input/style/index.css +17 -63
  59. package/es/input-number/InputNumber.js +4 -1
  60. package/es/input-number/InputNumber.js.map +1 -1
  61. package/es/input-number/index.js +4 -1
  62. package/es/input-number/index.js.map +1 -1
  63. package/es/input-number/style/css.js +1 -1
  64. package/es/input-number/style/index.css +7 -39
  65. package/es/input-number/useInputNumber.js.map +1 -1
  66. package/es/ip-input/style/index.css +21 -87
  67. package/es/layout/style/index.css +5 -19
  68. package/es/list/List.js.map +1 -1
  69. package/es/list/ListItem.js.map +1 -1
  70. package/es/list/ListItemMeta.js.map +1 -1
  71. package/es/list/style/css.js +1 -1
  72. package/es/list/style/index.css +11 -39
  73. package/es/loading/style/index.css +10 -65
  74. package/es/notification/style/index.css +6 -24
  75. package/es/popup/style/index.css +9 -20
  76. package/es/radio/style/index.css +11 -36
  77. package/es/select/Select.js +4 -1
  78. package/es/select/Select.js.map +1 -1
  79. package/es/select/index.js +4 -1
  80. package/es/select/index.js.map +1 -1
  81. package/es/select/style/index.css +17 -52
  82. package/es/select-input/SelectInput.js +3 -0
  83. package/es/select-input/SelectInput.js.map +1 -1
  84. package/es/select-input/hook/useMultiple.js +3 -0
  85. package/es/select-input/hook/useMultiple.js.map +1 -1
  86. package/es/select-input/hook/useSingle.js +3 -0
  87. package/es/select-input/hook/useSingle.js.map +1 -1
  88. package/es/select-input/index.js +3 -0
  89. package/es/select-input/index.js.map +1 -1
  90. package/es/slider/Slider.js +3 -0
  91. package/es/slider/Slider.js.map +1 -1
  92. package/es/slider/SliderHandleButton.js.map +1 -1
  93. package/es/slider/index.js +3 -0
  94. package/es/slider/index.js.map +1 -1
  95. package/es/slider/style/css.js +1 -1
  96. package/es/slider/style/index.css +18 -59
  97. package/es/style/index.css +0 -2
  98. package/es/switch/Switch.js +1 -1
  99. package/es/switch/index.js +1 -1
  100. package/es/switch/style/index.css +10 -37
  101. package/es/tab/style/index.css +6 -31
  102. package/es/table/TBody.js +10 -1
  103. package/es/table/TBody.js.map +1 -1
  104. package/es/table/Table.js +4 -0
  105. package/es/table/Table.js.map +1 -1
  106. package/es/table/index.js +4 -0
  107. package/es/table/index.js.map +1 -1
  108. package/es/table/style/index.css +5 -15
  109. package/es/tag/style/index.css +4 -16
  110. package/es/tag-input/TagInput.js +3 -0
  111. package/es/tag-input/TagInput.js.map +1 -1
  112. package/es/tag-input/index.js +3 -0
  113. package/es/tag-input/index.js.map +1 -1
  114. package/es/tag-input/style/index.css +7 -53
  115. package/es/utils/log/index.js.map +1 -1
  116. package/package.json +3 -3
  117. package/es/_chunks/dep-CRURwzDj.js.map +0 -1
  118. package/es/alert/Alert.d.ts +0 -7
  119. package/es/alert/defaultProps.d.ts +0 -2
  120. package/es/alert/index.d.ts +0 -5
  121. package/es/alert/style/css.d.ts +0 -1
  122. package/es/alert/style/index.d.ts +0 -1
  123. package/es/alert/type.d.ts +0 -45
  124. package/es/badge/Badge.d.ts +0 -7
  125. package/es/badge/defaultProps.d.ts +0 -2
  126. package/es/badge/index.d.ts +0 -5
  127. package/es/badge/style/css.d.ts +0 -1
  128. package/es/badge/style/index.d.ts +0 -1
  129. package/es/badge/type.d.ts +0 -50
  130. package/es/button/Button.d.ts +0 -6
  131. package/es/button/defaultProps.d.ts +0 -2
  132. package/es/button/index.d.ts +0 -5
  133. package/es/button/style/css.d.ts +0 -1
  134. package/es/button/style/index.d.ts +0 -1
  135. package/es/button/type.d.ts +0 -81
  136. package/es/checkbox/Checkbox.d.ts +0 -10
  137. package/es/checkbox/CheckboxGroup.d.ts +0 -14
  138. package/es/checkbox/defaultProps.d.ts +0 -3
  139. package/es/checkbox/index.d.ts +0 -11
  140. package/es/checkbox/style/css.d.ts +0 -1
  141. package/es/checkbox/style/index.d.ts +0 -1
  142. package/es/checkbox/type.d.ts +0 -115
  143. package/es/color-picker/ColorPickPanel.d.ts +0 -4
  144. package/es/color-picker/ColorPicker.d.ts +0 -4
  145. package/es/color-picker/components/panel/alpha.d.ts +0 -4
  146. package/es/color-picker/components/panel/format/index.d.ts +0 -10
  147. package/es/color-picker/components/panel/format/inputs.d.ts +0 -4
  148. package/es/color-picker/components/panel/header.d.ts +0 -13
  149. package/es/color-picker/components/panel/hue.d.ts +0 -4
  150. package/es/color-picker/components/panel/index.d.ts +0 -4
  151. package/es/color-picker/components/panel/saturation.d.ts +0 -4
  152. package/es/color-picker/components/panel/slider.d.ts +0 -11
  153. package/es/color-picker/components/panel/swatches.d.ts +0 -11
  154. package/es/color-picker/components/trigger.d.ts +0 -9
  155. package/es/color-picker/defaultProps.d.ts +0 -2
  156. package/es/color-picker/helpers.d.ts +0 -5
  157. package/es/color-picker/hooks/useClassNames.d.ts +0 -2
  158. package/es/color-picker/hooks/useStyles.d.ts +0 -14
  159. package/es/color-picker/index.d.ts +0 -6
  160. package/es/color-picker/style/css.d.ts +0 -1
  161. package/es/color-picker/style/index.d.ts +0 -1
  162. package/es/color-picker/type.d.ts +0 -135
  163. package/es/color-picker/utils/color-picker/cmyk.d.ts +0 -27
  164. package/es/color-picker/utils/color-picker/color.d.ts +0 -144
  165. package/es/color-picker/utils/color-picker/constants.d.ts +0 -30
  166. package/es/color-picker/utils/color-picker/draggable.d.ts +0 -23
  167. package/es/color-picker/utils/color-picker/format.d.ts +0 -64
  168. package/es/color-picker/utils/color-picker/gradient.d.ts +0 -22
  169. package/es/color-picker/utils/color-picker/index.d.ts +0 -7
  170. package/es/color-picker/utils/color-picker/types.d.ts +0 -28
  171. package/es/common/Check.d.ts +0 -22
  172. package/es/common/FakeArrow.d.ts +0 -9
  173. package/es/common/PluginContainer.d.ts +0 -9
  174. package/es/common/Portal.d.ts +0 -16
  175. package/es/common/observe.d.ts +0 -1
  176. package/es/common.d.ts +0 -81
  177. package/es/config-provider/ConfigContext.d.ts +0 -13
  178. package/es/config-provider/ConfigProvider.d.ts +0 -25
  179. package/es/config-provider/index.d.ts +0 -7
  180. package/es/config-provider/type.d.ts +0 -1029
  181. package/es/dialog/Dialog.d.ts +0 -8
  182. package/es/dialog/DialogCard.d.ts +0 -8
  183. package/es/dialog/defaultProps.d.ts +0 -6
  184. package/es/dialog/hooks/useDialogDrag.d.ts +0 -7
  185. package/es/dialog/hooks/useDialogEsc.d.ts +0 -3
  186. package/es/dialog/hooks/useDialogPosition.d.ts +0 -2
  187. package/es/dialog/hooks/useLockStyle.d.ts +0 -2
  188. package/es/dialog/index.d.ts +0 -8
  189. package/es/dialog/plugin.d.ts +0 -6
  190. package/es/dialog/style/css.d.ts +0 -1
  191. package/es/dialog/style/index.d.ts +0 -1
  192. package/es/dialog/type.d.ts +0 -227
  193. package/es/dialog/utils.d.ts +0 -1
  194. package/es/drawer/Drawer.d.ts +0 -11
  195. package/es/drawer/defaultProps.d.ts +0 -2
  196. package/es/drawer/hooks/useDrag.d.ts +0 -8
  197. package/es/drawer/hooks/useLockStyle.d.ts +0 -1
  198. package/es/drawer/index.d.ts +0 -4
  199. package/es/drawer/style/css.d.ts +0 -1
  200. package/es/drawer/style/index.d.ts +0 -1
  201. package/es/drawer/type.d.ts +0 -199
  202. package/es/drawer/utils/index.d.ts +0 -23
  203. package/es/fireworks/Fireworks.d.ts +0 -7
  204. package/es/fireworks/index.d.ts +0 -5
  205. package/es/fireworks/style/css.d.ts +0 -0
  206. package/es/fireworks/style/index.d.ts +0 -0
  207. package/es/fireworks/type.d.ts +0 -69
  208. package/es/form/Form.d.ts +0 -8
  209. package/es/form/FormContext.d.ts +0 -59
  210. package/es/form/FormItem.d.ts +0 -23
  211. package/es/form/FormList.d.ts +0 -4
  212. package/es/form/const.d.ts +0 -6
  213. package/es/form/defaultProps.d.ts +0 -3
  214. package/es/form/easing.d.ts +0 -2
  215. package/es/form/formModel.d.ts +0 -37
  216. package/es/form/hooks/interface.d.ts +0 -16
  217. package/es/form/hooks/useForm.d.ts +0 -3
  218. package/es/form/hooks/useFormItemInitialData.d.ts +0 -9
  219. package/es/form/hooks/useFormItemStyle.d.ts +0 -10
  220. package/es/form/hooks/useInstance.d.ts +0 -16
  221. package/es/form/hooks/useWatch.d.ts +0 -3
  222. package/es/form/index.d.ts +0 -7
  223. package/es/form/scroll.d.ts +0 -39
  224. package/es/form/style/css.d.ts +0 -1
  225. package/es/form/style/index.d.ts +0 -1
  226. package/es/form/type.d.ts +0 -486
  227. package/es/form/utils/index.d.ts +0 -5
  228. package/es/global-config/default-config.d.ts +0 -84
  229. package/es/global-config/locale/ar_KW.d.ts +0 -239
  230. package/es/global-config/locale/en_US.d.ts +0 -263
  231. package/es/global-config/locale/it_IT.d.ts +0 -263
  232. package/es/global-config/locale/ja_JP.d.ts +0 -263
  233. package/es/global-config/locale/ko_KR.d.ts +0 -263
  234. package/es/global-config/locale/ru_RU.d.ts +0 -263
  235. package/es/global-config/locale/zh_CN.d.ts +0 -263
  236. package/es/global-config/locale/zh_TW.d.ts +0 -263
  237. package/es/global-config/mobile/default-config.d.ts +0 -7
  238. package/es/global-config/mobile/locale/ar_KW.d.ts +0 -98
  239. package/es/global-config/mobile/locale/en_US.d.ts +0 -99
  240. package/es/global-config/mobile/locale/it_IT.d.ts +0 -99
  241. package/es/global-config/mobile/locale/ja_JP.d.ts +0 -99
  242. package/es/global-config/mobile/locale/ko_KR.d.ts +0 -99
  243. package/es/global-config/mobile/locale/ru_RU.d.ts +0 -99
  244. package/es/global-config/mobile/locale/zh_CN.d.ts +0 -99
  245. package/es/global-config/mobile/locale/zh_TW.d.ts +0 -99
  246. package/es/global-config/t.d.ts +0 -25
  247. package/es/hooks/useAttach.d.ts +0 -10
  248. package/es/hooks/useCommonClassName.d.ts +0 -54
  249. package/es/hooks/useConfig.d.ts +0 -2
  250. package/es/hooks/useControlled.d.ts +0 -9
  251. package/es/hooks/useDeepEffect.d.ts +0 -7
  252. package/es/hooks/useDefaultProps.d.ts +0 -1
  253. package/es/hooks/useDomCallback.d.ts +0 -1
  254. package/es/hooks/useDomRefCallback.d.ts +0 -1
  255. package/es/hooks/useDragSorter.d.ts +0 -28
  256. package/es/hooks/useEventCallback.d.ts +0 -9
  257. package/es/hooks/useGlobalConfig.d.ts +0 -1
  258. package/es/hooks/useGlobalIcon.d.ts +0 -5
  259. package/es/hooks/useLastest.d.ts +0 -2
  260. package/es/hooks/useLayoutEffect.d.ts +0 -3
  261. package/es/hooks/useMouseEvent.d.ts +0 -25
  262. package/es/hooks/useMutationObserver.d.ts +0 -4
  263. package/es/hooks/usePopper.d.ts +0 -19
  264. package/es/hooks/useResizeObserve.d.ts +0 -1
  265. package/es/hooks/useRipple.d.ts +0 -0
  266. package/es/hooks/useSetState.d.ts +0 -7
  267. package/es/hooks/useVirtualScroll.d.ts +0 -30
  268. package/es/hooks/useWindowSize.d.ts +0 -6
  269. package/es/index.d.ts +0 -25
  270. package/es/input/Input.d.ts +0 -16
  271. package/es/input/InputGroup.d.ts +0 -10
  272. package/es/input/defaultProps.d.ts +0 -17
  273. package/es/input/index.d.ts +0 -6
  274. package/es/input/style/css.d.ts +0 -1
  275. package/es/input/style/index.d.ts +0 -1
  276. package/es/input/type.d.ts +0 -237
  277. package/es/input-number/InputNumber.d.ts +0 -17
  278. package/es/input-number/defaultProps.d.ts +0 -2
  279. package/es/input-number/index.d.ts +0 -5
  280. package/es/input-number/style/css.d.ts +0 -1
  281. package/es/input-number/style/index.d.ts +0 -1
  282. package/es/input-number/type.d.ts +0 -156
  283. package/es/input-number/useInputNumber.d.ts +0 -51
  284. package/es/ip-input/IPInput.d.ts +0 -5
  285. package/es/ip-input/defaultProps.d.ts +0 -2
  286. package/es/ip-input/index.d.ts +0 -3
  287. package/es/ip-input/style/css.d.ts +0 -1
  288. package/es/ip-input/style/index.d.ts +0 -1
  289. package/es/ip-input/type.d.ts +0 -113
  290. package/es/ip-input/utils.d.ts +0 -35
  291. package/es/layout/Aside.d.ts +0 -11
  292. package/es/layout/Layout.d.ts +0 -26
  293. package/es/layout/defaultProps.d.ts +0 -5
  294. package/es/layout/index.d.ts +0 -10
  295. package/es/layout/style/css.d.ts +0 -1
  296. package/es/layout/style/index.d.ts +0 -1
  297. package/es/layout/type.d.ts +0 -38
  298. package/es/list/List.d.ts +0 -17
  299. package/es/list/ListItem.d.ts +0 -15
  300. package/es/list/ListItemMeta.d.ts +0 -10
  301. package/es/list/defaultProps.d.ts +0 -7
  302. package/es/list/hooks/useListVirtualScroll.d.ts +0 -24
  303. package/es/list/index.d.ts +0 -10
  304. package/es/list/style/css.d.ts +0 -1
  305. package/es/list/style/index.d.ts +0 -1
  306. package/es/list/type.d.ts +0 -92
  307. package/es/loading/Gradient.d.ts +0 -6
  308. package/es/loading/Loading.d.ts +0 -7
  309. package/es/loading/circleAdapter.d.ts +0 -1
  310. package/es/loading/defaultProps.d.ts +0 -2
  311. package/es/loading/index.d.ts +0 -5
  312. package/es/loading/style/css.d.ts +0 -1
  313. package/es/loading/style/index.d.ts +0 -1
  314. package/es/loading/type.d.ts +0 -68
  315. package/es/loading/utils/setStyle.d.ts +0 -7
  316. package/es/locale/LocalReceiver.d.ts +0 -6
  317. package/es/locale/ar_KW.d.ts +0 -3
  318. package/es/locale/en_US.d.ts +0 -3
  319. package/es/locale/it_IT.d.ts +0 -3
  320. package/es/locale/ja_JP.d.ts +0 -3
  321. package/es/locale/ko_KR.d.ts +0 -3
  322. package/es/locale/ru_RU.d.ts +0 -3
  323. package/es/locale/zh_CN.d.ts +0 -3
  324. package/es/locale/zh_TW.d.ts +0 -3
  325. package/es/myform/index.d.ts +0 -0
  326. package/es/notification/Notify.d.ts +0 -11
  327. package/es/notification/NotifyContainer.d.ts +0 -13
  328. package/es/notification/NotifyContext.d.ts +0 -23
  329. package/es/notification/NotifyItem.d.ts +0 -4
  330. package/es/notification/index.d.ts +0 -3
  331. package/es/notification/style/css.d.ts +0 -1
  332. package/es/notification/style/index.d.ts +0 -1
  333. package/es/notification/type.d.ts +0 -22
  334. package/es/popup/Popup.d.ts +0 -21
  335. package/es/popup/defaultProps.d.ts +0 -5
  336. package/es/popup/hooks/useTrigger.d.ts +0 -20
  337. package/es/popup/index.d.ts +0 -5
  338. package/es/popup/style/css.d.ts +0 -1
  339. package/es/popup/style/index.d.ts +0 -1
  340. package/es/popup/type.d.ts +0 -109
  341. package/es/portal/Portal.d.ts +0 -16
  342. package/es/portal/index.d.ts +0 -1
  343. package/es/radio/Radio.d.ts +0 -8
  344. package/es/radio/RadioGroup.d.ts +0 -14
  345. package/es/radio/defaultProps.d.ts +0 -3
  346. package/es/radio/index.d.ts +0 -10
  347. package/es/radio/style/css.d.ts +0 -0
  348. package/es/radio/style/index.d.ts +0 -1
  349. package/es/radio/type.d.ts +0 -117
  350. package/es/radio/useKeyboard.d.ts +0 -4
  351. package/es/select/Option.d.ts +0 -24
  352. package/es/select/OptionGroup.d.ts +0 -7
  353. package/es/select/PopupContent.d.ts +0 -24
  354. package/es/select/Select.d.ts +0 -13
  355. package/es/select/defaultProps.d.ts +0 -4
  356. package/es/select/hooks/useOptions.d.ts +0 -16
  357. package/es/select/hooks/usePanelVirtualScroll.d.ts +0 -24
  358. package/es/select/index.d.ts +0 -8
  359. package/es/select/style/css.d.ts +0 -1
  360. package/es/select/style/index.d.ts +0 -1
  361. package/es/select/type.d.ts +0 -344
  362. package/es/select/utils/helper.d.ts +0 -18
  363. package/es/select-input/SelectInput.d.ts +0 -11
  364. package/es/select-input/defaultProps.d.ts +0 -2
  365. package/es/select-input/hook/useMultiple.d.ts +0 -23
  366. package/es/select-input/hook/useOverlayInnerStyle.d.ts +0 -11
  367. package/es/select-input/hook/useSingle.d.ts +0 -16
  368. package/es/select-input/index.d.ts +0 -5
  369. package/es/select-input/interface.d.ts +0 -17
  370. package/es/select-input/style/css.d.ts +0 -1
  371. package/es/select-input/style/index.d.ts +0 -1
  372. package/es/select-input/type.d.ts +0 -243
  373. package/es/slider/Slider.d.ts +0 -7
  374. package/es/slider/SliderHandleButton.d.ts +0 -11
  375. package/es/slider/defaultProps.d.ts +0 -5
  376. package/es/slider/index.d.ts +0 -5
  377. package/es/slider/style/css.d.ts +0 -1
  378. package/es/slider/style/index.d.ts +0 -1
  379. package/es/slider/type.d.ts +0 -78
  380. package/es/space/defaultProps.d.ts +0 -0
  381. package/es/space/index.d.ts +0 -0
  382. package/es/space/type.d.ts +0 -0
  383. package/es/style/index.d.ts +0 -1
  384. package/es/switch/Switch.d.ts +0 -9
  385. package/es/switch/defaultProps.d.ts +0 -2
  386. package/es/switch/index.d.ts +0 -4
  387. package/es/switch/style/css.d.ts +0 -1
  388. package/es/switch/style/index.d.ts +0 -1
  389. package/es/switch/type.d.ts +0 -48
  390. package/es/tab/TabBar.d.ts +0 -9
  391. package/es/tab/TabNav.d.ts +0 -10
  392. package/es/tab/TabNavItem.d.ts +0 -15
  393. package/es/tab/TabPanel.d.ts +0 -9
  394. package/es/tab/Tabs.d.ts +0 -10
  395. package/es/tab/defaultProps.d.ts +0 -3
  396. package/es/tab/index.d.ts +0 -8
  397. package/es/tab/style/index.d.ts +0 -1
  398. package/es/tab/type.d.ts +0 -130
  399. package/es/tab/useTabClass.d.ts +0 -8
  400. package/es/table/Cell.d.ts +0 -18
  401. package/es/table/TBody.d.ts +0 -28
  402. package/es/table/THead.d.ts +0 -10
  403. package/es/table/TR.d.ts +0 -28
  404. package/es/table/Table.d.ts +0 -6
  405. package/es/table/defaultProps.d.ts +0 -2
  406. package/es/table/hooks/index.d.ts +0 -4
  407. package/es/table/hooks/useTableClassName.d.ts +0 -26
  408. package/es/table/hooks/useTableStyle.d.ts +0 -11
  409. package/es/table/index.d.ts +0 -5
  410. package/es/table/style/css.d.ts +0 -1
  411. package/es/table/style/index.d.ts +0 -1
  412. package/es/table/type.d.ts +0 -195
  413. package/es/tag/Tag.d.ts +0 -14
  414. package/es/tag/defaultProps.d.ts +0 -7
  415. package/es/tag/index.d.ts +0 -4
  416. package/es/tag/style/css.d.ts +0 -1
  417. package/es/tag/style/index.d.ts +0 -1
  418. package/es/tag/type.d.ts +0 -169
  419. package/es/tag-input/TagInput.d.ts +0 -9
  420. package/es/tag-input/defaultProps.d.ts +0 -2
  421. package/es/tag-input/hooks/useHover.d.ts +0 -17
  422. package/es/tag-input/hooks/useTagList.d.ts +0 -30
  423. package/es/tag-input/hooks/useTagScroll.d.ts +0 -25
  424. package/es/tag-input/index.d.ts +0 -5
  425. package/es/tag-input/style/css.d.ts +0 -1
  426. package/es/tag-input/style/index.d.ts +0 -1
  427. package/es/tag-input/type.d.ts +0 -235
  428. package/es/tag-input/useTagList.d.ts +0 -30
  429. package/es/utils/composeRefs.d.ts +0 -2
  430. package/es/utils/dom.d.ts +0 -7
  431. package/es/utils/forwardRefWithStatics.d.ts +0 -2
  432. package/es/utils/getScrollbarWidth.d.ts +0 -6
  433. package/es/utils/helper.d.ts +0 -46
  434. package/es/utils/input-number/large-number.d.ts +0 -85
  435. package/es/utils/input-number/number.d.ts +0 -81
  436. package/es/utils/isFragment.d.ts +0 -4
  437. package/es/utils/listener.d.ts +0 -4
  438. package/es/utils/log/index.d.ts +0 -2
  439. package/es/utils/log/log.d.ts +0 -3
  440. package/es/utils/log/types.d.ts +0 -8
  441. package/es/utils/noop.d.ts +0 -2
  442. package/es/utils/number.d.ts +0 -7
  443. package/es/utils/parentTNode.d.ts +0 -10
  444. package/es/utils/parseTNode.d.ts +0 -10
  445. package/es/utils/react-render.d.ts +0 -16
  446. package/es/utils/ref.d.ts +0 -1
  447. package/es/utils/refs.d.ts +0 -13
  448. package/es/utils/scroll.d.ts +0 -3
  449. package/es/utils/style.d.ts +0 -4
  450. package/es/utils/transition.d.ts +0 -20
@@ -1,10 +0,0 @@
1
- import { AttachNode } from "../common";
2
- /**
3
- * useAttach
4
- *
5
- * 挂载节点 优先级:
6
- *
7
- * props attach -> globalConfig.attach.component -> globalConfig.attach -> default = 'body'
8
- */
9
- declare const useAttach: (name: string, attach: AttachNode | undefined) => AttachNode;
10
- export default useAttach;
@@ -1,54 +0,0 @@
1
- export default function useCommonClassName(): {
2
- SIZE: {
3
- default: string;
4
- xs: string;
5
- small: string;
6
- medium: string;
7
- large: string;
8
- xl: string;
9
- block: string;
10
- };
11
- STATUS: {
12
- loading: string;
13
- disabled: string;
14
- focused: string;
15
- success: string;
16
- error: string;
17
- warning: string;
18
- selected: string;
19
- active: string;
20
- checked: string;
21
- current: string;
22
- hidden: string;
23
- visible: string;
24
- expanded: string;
25
- indeterminate: string;
26
- };
27
- sizeClassNames: {
28
- default: string;
29
- xs: string;
30
- small: string;
31
- medium: string;
32
- large: string;
33
- xl: string;
34
- block: string;
35
- };
36
- statusClassNames: {
37
- loading: string;
38
- disabled: string;
39
- focused: string;
40
- success: string;
41
- error: string;
42
- warning: string;
43
- selected: string;
44
- active: string;
45
- checked: string;
46
- current: string;
47
- hidden: string;
48
- visible: string;
49
- expanded: string;
50
- indeterminate: string;
51
- };
52
- classPrefix: string;
53
- };
54
- export type CommonClassNameType = ReturnType<typeof useCommonClassName>;
@@ -1,2 +0,0 @@
1
- declare const _default: () => import("..").GlobalConfigProvider;
2
- export default _default;
@@ -1,9 +0,0 @@
1
- type DefaultOptions<T extends string> = `default${Capitalize<T>}`;
2
- export interface ChangeHander<T, P extends unknown[]> {
3
- (value: T, ...args: P): void;
4
- }
5
- type ToString<T extends string | number | symbol> = T extends string ? T : `${Extract<T, number>}`;
6
- declare const useControlled: <P extends unknown[], R extends object, K extends keyof R>(props: R, valueKey: K, onChange: ChangeHander<R[K], P>, defaultOptions?: {
7
- [key in DefaultOptions<ToString<K>>]: R[K];
8
- }) => [R[K], ChangeHander<R[K], P>];
9
- export default useControlled;
@@ -1,7 +0,0 @@
1
- /**
2
- * 与 useEffect 用法一致,但对依赖数组进行深比较
3
- * - 只在依赖真正变化时才会触发副作用函数
4
- * - 适用于依赖为复杂对象的场景
5
- */
6
- declare function useDeepEffect(effect: React.EffectCallback, deps: React.DependencyList): void;
7
- export default useDeepEffect;
@@ -1 +0,0 @@
1
- export default function useDefaultProps<T>(originalProps: T, defaultProps: Partial<T>): T;
@@ -1 +0,0 @@
1
- export default function useDomRefCallback<T extends HTMLElement>(): readonly [T, (dom: T | null) => void];
@@ -1 +0,0 @@
1
- export default function useDomRefCallback(): [HTMLElement, React.Dispatch<React.SetStateAction<HTMLElement>>];
@@ -1,28 +0,0 @@
1
- interface DragSortProps<T> {
2
- sortOnDraggable: boolean;
3
- onDragSort?: (context: DragSortContext<T>) => void;
4
- onDragOverCheck?: {
5
- x?: boolean;
6
- targetClassNameRegExp?: RegExp;
7
- };
8
- }
9
- type DragFnType<T = unknown> = (e?: React.DragEvent<HTMLTableRowElement>, index?: number, record?: T) => void;
10
- interface DragSortInnerData<T = unknown> {
11
- dragging?: boolean;
12
- draggable?: boolean;
13
- onDragStart?: DragFnType<T>;
14
- onDragOver?: DragFnType<T>;
15
- onDrop?: DragFnType<T>;
16
- onDragEnd?: DragFnType<T>;
17
- }
18
- export interface DragSortInnerProps<T = unknown> extends DragSortInnerData<T> {
19
- getDragProps?: (index?: number, record?: T) => DragSortInnerData<T>;
20
- }
21
- export interface DragSortContext<T> {
22
- currentIndex: number;
23
- current: T;
24
- targetIndex: number;
25
- target: T;
26
- }
27
- declare function useDragSorter<T>(props: DragSortProps<T>): DragSortInnerProps<T>;
28
- export default useDragSorter;
@@ -1,9 +0,0 @@
1
- type AnyFunction = (...args: unknown[]) => unknown;
2
- /**
3
- * Similar to useCallback, with a few subtle differences:
4
- * - The returned function is a stable reference, and will always be the same between renders
5
- * - No dependency lists required
6
- * - Properties or state accessed within the callback will always be "current"
7
- */
8
- export default function useEventCallback<TCallback extends AnyFunction>(callback: TCallback): TCallback;
9
- export {};
@@ -1 +0,0 @@
1
- export default function useGlobalIcon(tdIcon: Record<string, unknown>): {};
@@ -1,5 +0,0 @@
1
- import { IconProps } from "@tendaui/icons";
2
- import React from "react";
3
- type ConvertedIconComponent = React.ForwardRefExoticComponent<Omit<IconProps, "svg" | "type"> & React.RefAttributes<HTMLSpanElement>>;
4
- export default function useGlobalIcon(tdIcon: Record<string, ConvertedIconComponent>): Record<string, ConvertedIconComponent>;
5
- export {};
@@ -1,2 +0,0 @@
1
- declare const useLatest: <T>(value: T) => import("react").MutableRefObject<T>;
2
- export default useLatest;
@@ -1,3 +0,0 @@
1
- import { useLayoutEffect } from "react";
2
- declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
3
- export default useIsomorphicLayoutEffect;
@@ -1,25 +0,0 @@
1
- export type MouseEventLike = MouseEvent | React.MouseEvent | TouchEvent | React.TouchEvent;
2
- export type MouseCallback = MouseEvent | React.MouseEvent | Touch | React.Touch;
3
- /**
4
- * 鼠标相对当前元素的坐标
5
- */
6
- export interface MouseCoordinate {
7
- x: number;
8
- y: number;
9
- }
10
- export interface MouseContext {
11
- coordinate: MouseCoordinate;
12
- }
13
- type MouseEventOptions = {
14
- enabled?: boolean;
15
- enableTouch?: boolean;
16
- onDown?: (e: MouseCallback, ctx: MouseContext) => void;
17
- onMove?: (e: MouseCallback, ctx: MouseContext) => void;
18
- onUp?: (e: MouseCallback, ctx: MouseContext) => void;
19
- onEnter?: (e: MouseCallback, ctx: MouseContext) => void;
20
- onLeave?: (e: MouseCallback, ctx: MouseContext) => void;
21
- };
22
- declare const useMouseEvent: (elementRef: React.RefObject<HTMLElement | null>, options: MouseEventOptions) => {
23
- isMoving: boolean;
24
- };
25
- export default useMouseEvent;
@@ -1,4 +0,0 @@
1
- export default function useMutationObservable(targetEl: HTMLElement | null, cb: MutationCallback, options?: {
2
- debounceTime: number;
3
- config: MutationObserverInit;
4
- }): void;
@@ -1,19 +0,0 @@
1
- import { createPopper as defaultCreatePopper, type Options as PopperOptions, type VirtualElement, type State as PopperState, type Instance as PopperInstance } from "@popperjs/core";
2
- import type { Styles } from "../common";
3
- type Options = Partial<PopperOptions & {
4
- createPopper: typeof defaultCreatePopper;
5
- }>;
6
- type Attributes = {
7
- [key: string]: {
8
- [key: string]: string;
9
- };
10
- };
11
- type UsePopperResult = {
12
- state?: PopperState;
13
- styles: Record<string, Styles>;
14
- attributes: Attributes;
15
- update: PopperInstance["update"] | null;
16
- forceUpdate: PopperInstance["forceUpdate"] | null;
17
- };
18
- declare const usePopper: (referenceElement?: Element | VirtualElement, popperElement?: HTMLElement, options?: Options) => UsePopperResult;
19
- export default usePopper;
@@ -1 +0,0 @@
1
- export default function useResizeObserver(container: React.MutableRefObject<HTMLElement | null>, callback: (data: ResizeObserverEntry[]) => void, enabled?: boolean): void;
File without changes
@@ -1,7 +0,0 @@
1
- /**
2
- * 管理 object 类型 state 的 Hooks,用法与 class 组件的 this.setState 基本一致。
3
- * @param initialState
4
- * @returns [state, setMergeState]
5
- */
6
- declare const useSetState: <T extends object>(initialState?: T) => [T, (patch: Partial<T> | ((prevState: T) => Partial<T>)) => void];
7
- export default useSetState;
@@ -1,30 +0,0 @@
1
- /**
2
- * 通用虚拟滚动,可支持 Select/List/Table/TreeSelect/Cascader 等组件
3
- */
4
- import { MutableRefObject } from "react";
5
- import type { ScrollToElementParams, TScroll } from "../common";
6
- export type UseVirtualScrollParams = {
7
- /** 列数据 */
8
- data: {
9
- [key: string]: unknown;
10
- }[];
11
- scroll: TScroll & {
12
- fixedRows?: Array<number>;
13
- };
14
- };
15
- declare const useVirtualScroll: (container: MutableRefObject<HTMLElement>, params: UseVirtualScrollParams) => {
16
- visibleData: unknown[];
17
- translateY: number;
18
- scrollHeight: number;
19
- isVirtualScroll: boolean;
20
- handleScroll: () => void;
21
- handleRowMounted: (rowData: {
22
- ref: HTMLElement;
23
- data: {
24
- __VIRTUAL_SCROLL_INDEX: number;
25
- };
26
- }) => void;
27
- scrollToElement: (p: ScrollToElementParams) => void;
28
- };
29
- export type VirtualScrollConfig = ReturnType<typeof useVirtualScroll>;
30
- export default useVirtualScroll;
@@ -1,6 +0,0 @@
1
- export interface WindowSize {
2
- width: number;
3
- height: number;
4
- }
5
- declare function useWindowSize(): WindowSize;
6
- export default useWindowSize;
package/es/index.d.ts DELETED
@@ -1,25 +0,0 @@
1
- export * from "./loading";
2
- export * from "./popup";
3
- export * from "./button";
4
- export * from "./input";
5
- export * from "./alert";
6
- export * from "./badge";
7
- export * from "./radio";
8
- export * from "./checkbox";
9
- export * from "./input-number";
10
- export * from "./config-provider";
11
- export * from "./layout";
12
- export * from "./tag";
13
- export * from "./tag-input";
14
- export * from "./select";
15
- export * from "./select-input";
16
- export * from "./list";
17
- export * from "./notification";
18
- export * from "./dialog";
19
- export * from "./switch";
20
- export * from "./form";
21
- export * from "./ip-input";
22
- export * from "./fireworks";
23
- export * from "./drawer";
24
- export * from "./slider";
25
- export * from "./color-picker";
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import { TdInputProps } from "./type";
3
- import { StyledProps } from "../common";
4
- export interface InputProps extends TdInputProps, StyledProps {
5
- showInput?: boolean;
6
- keepWrapperWidth?: boolean;
7
- }
8
- export interface InputRef extends React.RefObject<unknown> {
9
- currentElement: HTMLDivElement;
10
- inputElement: HTMLInputElement;
11
- focus: () => void;
12
- blur: () => void;
13
- select: () => void;
14
- }
15
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
16
- export default Input;
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- export interface InputGroupProps extends React.HTMLAttributes<HTMLDivElement> {
3
- /**
4
- * 是否拆分
5
- * @default false
6
- */
7
- separate?: boolean;
8
- }
9
- declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
10
- export default InputGroup;
@@ -1,17 +0,0 @@
1
- export declare const inputDefaultProps: {
2
- align: "left" | "center" | "right";
3
- autoWidth: boolean;
4
- autocomplete: any;
5
- autofocus: boolean;
6
- borderless: boolean;
7
- allowInput: boolean;
8
- clearable: boolean;
9
- placeholder: any;
10
- readonly: boolean;
11
- showClearIconOnEmpty: boolean;
12
- size: string;
13
- spellCheck: boolean;
14
- status: string;
15
- type: string;
16
- defaultValue: string;
17
- };
@@ -1,6 +0,0 @@
1
- import "./style/index.js";
2
- export type { InputProps, InputRef } from "./Input";
3
- export * from "./type";
4
- export declare const Input: import("react").ForwardRefExoticComponent<import("./Input").InputProps & import("react").RefAttributes<HTMLInputElement>>;
5
- export declare const InputGroup: import("react").ForwardRefExoticComponent<import("./InputGroup").InputGroupProps & import("react").RefAttributes<HTMLDivElement>>;
6
- export default Input;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,237 +0,0 @@
1
- import { TNode, TElement, SizeEnum, ClassName } from "../common";
2
- import { MouseEvent, KeyboardEvent, ClipboardEvent, FocusEvent, WheelEvent, FormEvent, CompositionEvent } from "react";
3
- export interface TdInputProps {
4
- /**
5
- * 文本内容位置,居左/居中/居右
6
- * @default left
7
- */
8
- align?: "left" | "center" | "right";
9
- /**
10
- * 输入框是否可输入内容
11
- * @default true
12
- */
13
- allowInput?: boolean;
14
- /**
15
- * 超出 `maxlength` 或 `maxcharacter` 之后是否允许继续输入
16
- * @default false
17
- */
18
- /**
19
- * 宽度随内容自适应
20
- * @default false
21
- */
22
- autoWidth?: boolean;
23
- /**
24
- * 是否开启自动填充功能,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
25
- */
26
- autocomplete?: string;
27
- /**
28
- * 自动聚焦
29
- * @default false
30
- */
31
- autofocus?: boolean;
32
- /**
33
- * 是否开启无边框模式
34
- * @default false
35
- */
36
- borderless?: boolean;
37
- /**
38
- * 是否可清空
39
- * @default false
40
- */
41
- clearable?: boolean;
42
- /**
43
- * 是否禁用输入框
44
- */
45
- disabled?: boolean;
46
- /**
47
- * 指定输入框展示值的格式
48
- */
49
- format?: InputFormatType;
50
- /**
51
- * t-input 同级类名,示例:'name1 name2 name3' 或 `['name1', 'name2']` 或 `[{ 'name1': true }]`
52
- */
53
- inputClass?: ClassName;
54
- /**
55
- * 左侧文本
56
- */
57
- label?: TNode;
58
- /**
59
- * 用户最多可以输入的字符个数,一个中文汉字表示两个字符长度。`maxcharacter` 和 `maxlength` 二选一使用
60
- */
61
- maxcharacter?: number;
62
- /**
63
- * 用户最多可以输入的文本长度,一个中文等于一个计数长度。值为空,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用
64
- */
65
- maxlength?: number;
66
- /**
67
- * 名称
68
- * @default ''
69
- */
70
- name?: string;
71
- /**
72
- * 占位符
73
- */
74
- placeholder?: string;
75
- /**
76
- * 组件前置图标
77
- */
78
- prefixIcon?: TElement;
79
- /**
80
- * 只读状态
81
- * @default false
82
- */
83
- readonly?: boolean;
84
- /**
85
- * 输入框内容为空时,悬浮状态是否显示清空按钮,默认不显示
86
- * @default false
87
- */
88
- showClearIconOnEmpty?: boolean;
89
- /**
90
- * 输入框尺寸
91
- * @default medium
92
- */
93
- size?: SizeEnum;
94
- /**
95
- * 是否开启拼写检查,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/spellcheck)
96
- * @default false
97
- */
98
- spellCheck?: boolean;
99
- /**
100
- * 输入框状态
101
- * @default default
102
- */
103
- status?: "default" | "success" | "warning" | "error";
104
- /**
105
- * 后置图标前的后置内容
106
- */
107
- suffix?: TNode;
108
- /**
109
- * 组件后置图标
110
- */
111
- suffixIcon?: TElement;
112
- /**
113
- * 输入框下方提示文本,会根据不同的 `status` 呈现不同的样式
114
- */
115
- tips?: TNode;
116
- /**
117
- * 输入框类型
118
- * @default text
119
- */
120
- type?: "text" | "number" | "url" | "tel" | "password" | "search" | "submit" | "hidden";
121
- /**
122
- * 输入框的值
123
- * @default ''
124
- */
125
- value?: InputValue;
126
- /**
127
- * 输入框的值,非受控属性
128
- * @default ''
129
- */
130
- defaultValue?: InputValue;
131
- /**
132
- * 失去焦点时触发
133
- */
134
- onBlur?: (value: InputValue, context: {
135
- e: FocusEvent<HTMLInputElement>;
136
- }) => void;
137
- /**
138
- * 输入框值发生变化时触发。参数 `trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制
139
- */
140
- onChange?: (value: InputValue, context?: {
141
- e?: FormEvent<HTMLInputElement> | MouseEvent<Element> | CompositionEvent<HTMLDivElement>;
142
- trigger: "input" | "initial" | "clear";
143
- }) => void;
144
- /**
145
- * 清空按钮点击时触发
146
- */
147
- onClear?: (context: {
148
- e: MouseEvent<SVGElement>;
149
- }) => void;
150
- /**
151
- * 点击组件时触发
152
- */
153
- onClick?: (context: {
154
- e: MouseEvent<HTMLDivElement>;
155
- }) => void;
156
- /**
157
- * 中文输入结束时触发
158
- */
159
- onCompositionend?: (value: InputValue, context: {
160
- e: CompositionEvent<HTMLDivElement>;
161
- }) => void;
162
- /**
163
- * 中文输入开始时触发
164
- */
165
- onCompositionstart?: (value: InputValue, context: {
166
- e: CompositionEvent<HTMLDivElement>;
167
- }) => void;
168
- /**
169
- * 回车键按下时触发
170
- */
171
- onEnter?: (value: InputValue, context: {
172
- e: KeyboardEvent<HTMLInputElement>;
173
- }) => void;
174
- /**
175
- * 获得焦点时触发
176
- */
177
- onFocus?: (value: InputValue, context: {
178
- e: FocusEvent<HTMLInputElement>;
179
- }) => void;
180
- /**
181
- * 键盘按下时触发
182
- */
183
- onKeydown?: (value: InputValue, context: {
184
- e: KeyboardEvent<HTMLDivElement>;
185
- }) => void;
186
- /**
187
- * 按下字符键时触发(keydown -> keypress -> keyup)
188
- */
189
- onKeypress?: (value: InputValue, context: {
190
- e: KeyboardEvent<HTMLDivElement>;
191
- }) => void;
192
- /**
193
- * 释放键盘时触发
194
- */
195
- onKeyup?: (value: InputValue, context: {
196
- e: KeyboardEvent<HTMLDivElement>;
197
- }) => void;
198
- /**
199
- * 进入输入框时触发
200
- */
201
- onMouseenter?: (context: {
202
- e: MouseEvent<HTMLDivElement>;
203
- }) => void;
204
- /**
205
- * 离开输入框时触发
206
- */
207
- onMouseleave?: (context: {
208
- e: MouseEvent<HTMLDivElement>;
209
- }) => void;
210
- /**
211
- * 粘贴事件,`pasteValue` 表示粘贴板的内容
212
- */
213
- onPaste?: (context: {
214
- e: ClipboardEvent<HTMLDivElement>;
215
- pasteValue: string;
216
- }) => void;
217
- /**
218
- * 字数超出限制时触发
219
- */
220
- onValidate?: (context: {
221
- error?: "exceed-maximum" | "below-minimum";
222
- }) => void;
223
- /**
224
- * 输入框中滚动鼠标时触发
225
- */
226
- onWheel?: (context: {
227
- e: WheelEvent<HTMLDivElement>;
228
- }) => void;
229
- }
230
- export interface TdInputGroupProps {
231
- /**
232
- * 多个输入框之间是否需要间隔
233
- */
234
- separate?: boolean;
235
- }
236
- export type InputFormatType = (value: InputValue) => string;
237
- export type InputValue = string;
@@ -1,17 +0,0 @@
1
- import React, { ForwardedRef } from "react";
2
- import { InputNumberValue, TdInputNumberProps } from "./type";
3
- import { StyledProps } from "../common";
4
- export interface InputNumberProps<T = InputNumberValue> extends TdInputNumberProps<T>, StyledProps {
5
- }
6
- export interface InputNumberRef {
7
- currentElement: ForwardedRef<HTMLDivElement>;
8
- inputElement: ForwardedRef<HTMLDivElement>;
9
- }
10
- declare function TdInputNumber<T extends InputNumberValue = InputNumberValue>(originalProps: InputNumberProps<T>, ref: ForwardedRef<InputNumberRef>): React.JSX.Element;
11
- export type InputNumberOuterForwardRef = {
12
- <T>(props: InputNumberProps<T> & {
13
- ref?: ForwardedRef<InputNumberRef>;
14
- }): ReturnType<typeof TdInputNumber>;
15
- } & React.ForwardRefExoticComponent<InputNumberProps>;
16
- declare const InputNumber: React.ForwardRefExoticComponent<InputNumberProps<InputNumberValue> & React.RefAttributes<InputNumberRef>>;
17
- export default InputNumber;
@@ -1,2 +0,0 @@
1
- import { TdInputNumberProps } from "./type";
2
- export declare const inputNumberDefaultProps: TdInputNumberProps;
@@ -1,5 +0,0 @@
1
- import "./style/index.js";
2
- export type { InputNumberProps } from "./InputNumber";
3
- export * from "./type";
4
- export declare const InputNumber: import("react").ForwardRefExoticComponent<import("./InputNumber").InputNumberProps<import("./type").InputNumberValue> & import("react").RefAttributes<import("./InputNumber").InputNumberRef>>;
5
- export default InputNumber;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};