taro-uno-ui 1.0.0 → 1.0.2

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 (749) hide show
  1. package/README.md +67 -30
  2. package/dist/js/{index-CDFsvu80.js → index-QpKiGsEQ.js} +39026 -28023
  3. package/dist/js/index-QpKiGsEQ.js.map +1 -0
  4. package/dist/js/{index-JffnTUrv.js → index-nnTHNhwl.js} +38743 -27720
  5. package/dist/js/index-nnTHNhwl.js.map +1 -0
  6. package/package.json +5 -5
  7. package/dist/app.config.d.ts +0 -38
  8. package/dist/app.d.ts +0 -6
  9. package/dist/components/basic/Button/Button.d.ts +0 -6
  10. package/dist/components/basic/Button/Button.styles.d.ts +0 -2
  11. package/dist/components/basic/Button/Button.types.d.ts +0 -74
  12. package/dist/components/basic/Button/index.d.ts +0 -4
  13. package/dist/components/basic/Divider/Divider.d.ts +0 -6
  14. package/dist/components/basic/Divider/Divider.styles.d.ts +0 -87
  15. package/dist/components/basic/Divider/Divider.types.d.ts +0 -242
  16. package/dist/components/basic/Divider/index.d.ts +0 -6
  17. package/dist/components/basic/Icon/Icon.d.ts +0 -5
  18. package/dist/components/basic/Icon/Icon.data.d.ts +0 -29
  19. package/dist/components/basic/Icon/Icon.styles.d.ts +0 -61
  20. package/dist/components/basic/Icon/Icon.types.d.ts +0 -199
  21. package/dist/components/basic/Icon/IconManager.d.ts +0 -120
  22. package/dist/components/basic/Icon/index.d.ts +0 -6
  23. package/dist/components/basic/Text/Text.d.ts +0 -7
  24. package/dist/components/basic/Text/Text.styles.d.ts +0 -67
  25. package/dist/components/basic/Text/Text.types.d.ts +0 -274
  26. package/dist/components/basic/Text/index.d.ts +0 -5
  27. package/dist/components/basic/Typography/Typography.d.ts +0 -8
  28. package/dist/components/basic/Typography/Typography.styles.d.ts +0 -83
  29. package/dist/components/basic/Typography/Typography.types.d.ts +0 -245
  30. package/dist/components/basic/Typography/index.d.ts +0 -3
  31. package/dist/components/basic/Video/Video.d.ts +0 -7
  32. package/dist/components/basic/Video/Video.styles.d.ts +0 -212
  33. package/dist/components/basic/Video/Video.types.d.ts +0 -447
  34. package/dist/components/basic/Video/index.d.ts +0 -10
  35. package/dist/components/basic/index.d.ts +0 -217
  36. package/dist/components/common/ErrorBoundary.d.ts +0 -19
  37. package/dist/components/common/LazyComponent.d.ts +0 -78
  38. package/dist/components/common/ResponsiveContainer.d.ts +0 -23
  39. package/dist/components/common/ResponsiveGrid.d.ts +0 -44
  40. package/dist/components/common/SecurityProvider.d.ts +0 -15
  41. package/dist/components/common/ThemeProvider.d.ts +0 -17
  42. package/dist/components/common/VirtualList.d.ts +0 -89
  43. package/dist/components/common/index.d.ts +0 -17
  44. package/dist/components/display/Avatar/Avatar.d.ts +0 -3
  45. package/dist/components/display/Avatar/Avatar.styles.d.ts +0 -2
  46. package/dist/components/display/Avatar/Avatar.types.d.ts +0 -37
  47. package/dist/components/display/Avatar/index.d.ts +0 -3
  48. package/dist/components/display/Badge/Badge.d.ts +0 -3
  49. package/dist/components/display/Badge/Badge.types.d.ts +0 -27
  50. package/dist/components/display/Badge/index.d.ts +0 -2
  51. package/dist/components/display/Calendar/Calendar.d.ts +0 -5
  52. package/dist/components/display/Calendar/Calendar.styles.d.ts +0 -2
  53. package/dist/components/display/Calendar/Calendar.types.d.ts +0 -87
  54. package/dist/components/display/Calendar/index.d.ts +0 -3
  55. package/dist/components/display/Card/Card.d.ts +0 -3
  56. package/dist/components/display/Card/Card.styles.d.ts +0 -1
  57. package/dist/components/display/Card/Card.types.d.ts +0 -52
  58. package/dist/components/display/Card/index.d.ts +0 -3
  59. package/dist/components/display/Carousel/Carousel.d.ts +0 -5
  60. package/dist/components/display/Carousel/Carousel.styles.d.ts +0 -2
  61. package/dist/components/display/Carousel/Carousel.types.d.ts +0 -55
  62. package/dist/components/display/Carousel/index.d.ts +0 -3
  63. package/dist/components/display/List/List.d.ts +0 -4
  64. package/dist/components/display/List/List.styles.d.ts +0 -1
  65. package/dist/components/display/List/List.types.d.ts +0 -64
  66. package/dist/components/display/List/index.d.ts +0 -3
  67. package/dist/components/display/Rate/Rate.d.ts +0 -6
  68. package/dist/components/display/Rate/Rate.styles.d.ts +0 -100
  69. package/dist/components/display/Rate/Rate.types.d.ts +0 -105
  70. package/dist/components/display/Rate/index.d.ts +0 -17
  71. package/dist/components/display/Table/Table.d.ts +0 -7
  72. package/dist/components/display/Table/Table.styles.d.ts +0 -84
  73. package/dist/components/display/Table/Table.types.d.ts +0 -251
  74. package/dist/components/display/Table/index.d.ts +0 -4
  75. package/dist/components/display/Tag/Tag.d.ts +0 -5
  76. package/dist/components/display/Tag/Tag.styles.d.ts +0 -2
  77. package/dist/components/display/Tag/Tag.types.d.ts +0 -47
  78. package/dist/components/display/Tag/index.d.ts +0 -3
  79. package/dist/components/display/Timeline/Timeline.d.ts +0 -16
  80. package/dist/components/display/Timeline/Timeline.styles.d.ts +0 -2
  81. package/dist/components/display/Timeline/Timeline.types.d.ts +0 -53
  82. package/dist/components/display/Timeline/index.d.ts +0 -3
  83. package/dist/components/display/index.d.ts +0 -67
  84. package/dist/components/feedback/Loading/Loading.d.ts +0 -4
  85. package/dist/components/feedback/Loading/Loading.styles.d.ts +0 -2
  86. package/dist/components/feedback/Loading/Loading.types.d.ts +0 -29
  87. package/dist/components/feedback/Loading/index.d.ts +0 -4
  88. package/dist/components/feedback/Message/Message.d.ts +0 -4
  89. package/dist/components/feedback/Message/Message.styles.d.ts +0 -34
  90. package/dist/components/feedback/Message/Message.types.d.ts +0 -33
  91. package/dist/components/feedback/Message/index.d.ts +0 -4
  92. package/dist/components/feedback/Modal/Modal.d.ts +0 -8
  93. package/dist/components/feedback/Modal/Modal.styles.d.ts +0 -18
  94. package/dist/components/feedback/Modal/Modal.types.d.ts +0 -143
  95. package/dist/components/feedback/Modal/index.d.ts +0 -3
  96. package/dist/components/feedback/Notification/Notification.d.ts +0 -4
  97. package/dist/components/feedback/Notification/Notification.styles.d.ts +0 -88
  98. package/dist/components/feedback/Notification/Notification.types.d.ts +0 -279
  99. package/dist/components/feedback/Notification/NotificationManager.d.ts +0 -4
  100. package/dist/components/feedback/Notification/index.d.ts +0 -25
  101. package/dist/components/feedback/Progress/Progress.d.ts +0 -4
  102. package/dist/components/feedback/Progress/Progress.styles.d.ts +0 -261
  103. package/dist/components/feedback/Progress/Progress.test.simple.d.ts +0 -2
  104. package/dist/components/feedback/Progress/Progress.types.d.ts +0 -147
  105. package/dist/components/feedback/Progress/index.d.ts +0 -3
  106. package/dist/components/feedback/Progress/utils/animation.d.ts +0 -55
  107. package/dist/components/feedback/Progress/utils/index.d.ts +0 -2
  108. package/dist/components/feedback/Progress/utils/progress-calculator.d.ts +0 -75
  109. package/dist/components/feedback/Result/Result.d.ts +0 -7
  110. package/dist/components/feedback/Result/Result.styles.d.ts +0 -2
  111. package/dist/components/feedback/Result/Result.types.d.ts +0 -66
  112. package/dist/components/feedback/Result/index.d.ts +0 -3
  113. package/dist/components/feedback/Toast/Toast.d.ts +0 -7
  114. package/dist/components/feedback/Toast/Toast.styles.d.ts +0 -14
  115. package/dist/components/feedback/Toast/Toast.types.d.ts +0 -81
  116. package/dist/components/feedback/Toast/index.d.ts +0 -3
  117. package/dist/components/feedback/Tooltip/Tooltip.d.ts +0 -4
  118. package/dist/components/feedback/Tooltip/Tooltip.examples.d.ts +0 -6
  119. package/dist/components/feedback/Tooltip/Tooltip.styles.d.ts +0 -78
  120. package/dist/components/feedback/Tooltip/Tooltip.types.d.ts +0 -130
  121. package/dist/components/feedback/Tooltip/index.d.ts +0 -3
  122. package/dist/components/feedback/index.d.ts +0 -71
  123. package/dist/components/form/Cascader/Cascader.d.ts +0 -7
  124. package/dist/components/form/Cascader/Cascader.styles.d.ts +0 -107
  125. package/dist/components/form/Cascader/Cascader.types.d.ts +0 -418
  126. package/dist/components/form/Cascader/hooks/index.d.ts +0 -3
  127. package/dist/components/form/Cascader/hooks/useCascaderFieldNames.d.ts +0 -12
  128. package/dist/components/form/Cascader/hooks/useCascaderOptions.d.ts +0 -15
  129. package/dist/components/form/Cascader/hooks/useCascaderState.d.ts +0 -23
  130. package/dist/components/form/Cascader/index.d.ts +0 -6
  131. package/dist/components/form/Cascader/utils/formatDisplayValue.d.ts +0 -9
  132. package/dist/components/form/Cascader/utils/index.d.ts +0 -1
  133. package/dist/components/form/Checkbox/Checkbox.d.ts +0 -6
  134. package/dist/components/form/Checkbox/Checkbox.styles.d.ts +0 -111
  135. package/dist/components/form/Checkbox/Checkbox.types.d.ts +0 -473
  136. package/dist/components/form/Checkbox/CheckboxGroup.d.ts +0 -6
  137. package/dist/components/form/Checkbox/index.d.ts +0 -8
  138. package/dist/components/form/DatePicker/DatePicker.d.ts +0 -6
  139. package/dist/components/form/DatePicker/DatePicker.styles.d.ts +0 -99
  140. package/dist/components/form/DatePicker/DatePicker.types.d.ts +0 -236
  141. package/dist/components/form/DatePicker/index.d.ts +0 -3
  142. package/dist/components/form/Form/Form.d.ts +0 -8
  143. package/dist/components/form/Form/Form.styles.d.ts +0 -84
  144. package/dist/components/form/Form/Form.types.d.ts +0 -416
  145. package/dist/components/form/Form/index.d.ts +0 -9
  146. package/dist/components/form/Form/useFormLogic.d.ts +0 -22
  147. package/dist/components/form/Input/Input.d.ts +0 -6
  148. package/dist/components/form/Input/Input.styles.d.ts +0 -61
  149. package/dist/components/form/Input/Input.types.d.ts +0 -294
  150. package/dist/components/form/Input/index.d.ts +0 -8
  151. package/dist/components/form/Input/useInputLogic.d.ts +0 -35
  152. package/dist/components/form/InputNumber/InputNumber.d.ts +0 -6
  153. package/dist/components/form/InputNumber/InputNumber.styles.d.ts +0 -120
  154. package/dist/components/form/InputNumber/InputNumber.types.d.ts +0 -303
  155. package/dist/components/form/InputNumber/components/InputNumberClearButton.d.ts +0 -10
  156. package/dist/components/form/InputNumber/components/InputNumberControls.d.ts +0 -11
  157. package/dist/components/form/InputNumber/components/index.d.ts +0 -2
  158. package/dist/components/form/InputNumber/hooks/index.d.ts +0 -4
  159. package/dist/components/form/InputNumber/hooks/useInputNumberState.d.ts +0 -38
  160. package/dist/components/form/InputNumber/hooks/useInputNumberValidation.d.ts +0 -12
  161. package/dist/components/form/InputNumber/index.d.ts +0 -5
  162. package/dist/components/form/Radio/Radio.d.ts +0 -6
  163. package/dist/components/form/Radio/Radio.styles.d.ts +0 -80
  164. package/dist/components/form/Radio/Radio.types.d.ts +0 -415
  165. package/dist/components/form/Radio/index.d.ts +0 -8
  166. package/dist/components/form/Select/Select.d.ts +0 -6
  167. package/dist/components/form/Select/Select.styles.d.ts +0 -71
  168. package/dist/components/form/Select/Select.types.d.ts +0 -418
  169. package/dist/components/form/Select/index.d.ts +0 -8
  170. package/dist/components/form/Slider/Slider.d.ts +0 -7
  171. package/dist/components/form/Slider/Slider.styles.d.ts +0 -2
  172. package/dist/components/form/Slider/Slider.types.d.ts +0 -85
  173. package/dist/components/form/Slider/index.d.ts +0 -3
  174. package/dist/components/form/Switch/Switch.d.ts +0 -10
  175. package/dist/components/form/Switch/Switch.styles.d.ts +0 -154
  176. package/dist/components/form/Switch/Switch.types.d.ts +0 -351
  177. package/dist/components/form/Switch/index.d.ts +0 -7
  178. package/dist/components/form/Textarea/Textarea.d.ts +0 -6
  179. package/dist/components/form/Textarea/Textarea.styles.d.ts +0 -66
  180. package/dist/components/form/Textarea/Textarea.types.d.ts +0 -348
  181. package/dist/components/form/Textarea/index.d.ts +0 -7
  182. package/dist/components/form/TimePicker/TimePicker.d.ts +0 -6
  183. package/dist/components/form/TimePicker/TimePicker.styles.d.ts +0 -104
  184. package/dist/components/form/TimePicker/TimePicker.types.d.ts +0 -385
  185. package/dist/components/form/TimePicker/index.d.ts +0 -4
  186. package/dist/components/form/Transfer/Transfer.d.ts +0 -7
  187. package/dist/components/form/Transfer/Transfer.styles.d.ts +0 -106
  188. package/dist/components/form/Transfer/Transfer.types.d.ts +0 -384
  189. package/dist/components/form/Transfer/components/TransferItem.d.ts +0 -23
  190. package/dist/components/form/Transfer/components/TransferList.d.ts +0 -55
  191. package/dist/components/form/Transfer/components/TransferOperations.d.ts +0 -21
  192. package/dist/components/form/Transfer/components/TransferPagination.d.ts +0 -19
  193. package/dist/components/form/Transfer/components/TransferSearch.d.ts +0 -21
  194. package/dist/components/form/Transfer/components/index.d.ts +0 -6
  195. package/dist/components/form/Transfer/hooks/index.d.ts +0 -3
  196. package/dist/components/form/Transfer/hooks/useTransferData.d.ts +0 -41
  197. package/dist/components/form/Transfer/hooks/useTransferState.d.ts +0 -21
  198. package/dist/components/form/Transfer/index.d.ts +0 -9
  199. package/dist/components/form/Upload/Upload.d.ts +0 -7
  200. package/dist/components/form/Upload/Upload.styles.d.ts +0 -2
  201. package/dist/components/form/Upload/Upload.types.d.ts +0 -143
  202. package/dist/components/form/Upload/index.d.ts +0 -3
  203. package/dist/components/form/index.d.ts +0 -126
  204. package/dist/components/index.d.ts +0 -122
  205. package/dist/components/layout/Affix/Affix.d.ts +0 -4
  206. package/dist/components/layout/Affix/Affix.styles.d.ts +0 -1669
  207. package/dist/components/layout/Affix/Affix.types.d.ts +0 -25
  208. package/dist/components/layout/Affix/index.d.ts +0 -3
  209. package/dist/components/layout/Col/Col.d.ts +0 -6
  210. package/dist/components/layout/Col/Col.styles.d.ts +0 -52
  211. package/dist/components/layout/Col/Col.types.d.ts +0 -54
  212. package/dist/components/layout/Col/index.d.ts +0 -3
  213. package/dist/components/layout/Container/Container.d.ts +0 -6
  214. package/dist/components/layout/Container/Container.styles.d.ts +0 -41
  215. package/dist/components/layout/Container/Container.types.d.ts +0 -59
  216. package/dist/components/layout/Container/index.d.ts +0 -3
  217. package/dist/components/layout/Grid/Grid.d.ts +0 -6
  218. package/dist/components/layout/Grid/Grid.styles.d.ts +0 -60
  219. package/dist/components/layout/Grid/Grid.types.d.ts +0 -68
  220. package/dist/components/layout/Grid/index.d.ts +0 -3
  221. package/dist/components/layout/Layout/Content.d.ts +0 -4
  222. package/dist/components/layout/Layout/Footer.d.ts +0 -4
  223. package/dist/components/layout/Layout/Header.d.ts +0 -4
  224. package/dist/components/layout/Layout/Layout.d.ts +0 -4
  225. package/dist/components/layout/Layout/Layout.styles.d.ts +0 -3366
  226. package/dist/components/layout/Layout/Layout.types.d.ts +0 -48
  227. package/dist/components/layout/Layout/Sider.d.ts +0 -4
  228. package/dist/components/layout/Layout/index.d.ts +0 -8
  229. package/dist/components/layout/Row/Row.d.ts +0 -6
  230. package/dist/components/layout/Row/Row.styles.d.ts +0 -55
  231. package/dist/components/layout/Row/Row.types.d.ts +0 -51
  232. package/dist/components/layout/Row/index.d.ts +0 -3
  233. package/dist/components/layout/Space/Space.d.ts +0 -6
  234. package/dist/components/layout/Space/Space.styles.d.ts +0 -69
  235. package/dist/components/layout/Space/Space.types.d.ts +0 -84
  236. package/dist/components/layout/Space/index.d.ts +0 -3
  237. package/dist/components/layout/index.d.ts +0 -39
  238. package/dist/components/navigation/Menu/Menu.constants.d.ts +0 -59
  239. package/dist/components/navigation/Menu/Menu.d.ts +0 -10
  240. package/dist/components/navigation/Menu/Menu.stories.d.ts +0 -157
  241. package/dist/components/navigation/Menu/Menu.styles.d.ts +0 -143
  242. package/dist/components/navigation/Menu/Menu.types.d.ts +0 -210
  243. package/dist/components/navigation/Menu/Menu.utils.d.ts +0 -54
  244. package/dist/components/navigation/Menu/MenuItem.d.ts +0 -32
  245. package/dist/components/navigation/Menu/SubMenu.d.ts +0 -41
  246. package/dist/components/navigation/Menu/index.d.ts +0 -54
  247. package/dist/components/navigation/NavBar/NavBar.d.ts +0 -7
  248. package/dist/components/navigation/NavBar/NavBar.styles.d.ts +0 -114
  249. package/dist/components/navigation/NavBar/NavBar.types.d.ts +0 -50
  250. package/dist/components/navigation/NavBar/index.d.ts +0 -3
  251. package/dist/components/navigation/Pagination/Pagination.d.ts +0 -6
  252. package/dist/components/navigation/Pagination/Pagination.styles.d.ts +0 -55
  253. package/dist/components/navigation/Pagination/Pagination.types.d.ts +0 -77
  254. package/dist/components/navigation/Pagination/index.d.ts +0 -15
  255. package/dist/components/navigation/Steps/Step.d.ts +0 -4
  256. package/dist/components/navigation/Steps/Steps.d.ts +0 -4
  257. package/dist/components/navigation/Steps/Steps.styles.d.ts +0 -6716
  258. package/dist/components/navigation/Steps/Steps.types.d.ts +0 -41
  259. package/dist/components/navigation/Steps/index.d.ts +0 -3
  260. package/dist/components/navigation/Tabs/Tabs.d.ts +0 -6
  261. package/dist/components/navigation/Tabs/Tabs.styles.d.ts +0 -60
  262. package/dist/components/navigation/Tabs/Tabs.types.d.ts +0 -107
  263. package/dist/components/navigation/Tabs/index.d.ts +0 -3
  264. package/dist/components/navigation/index.d.ts +0 -35
  265. package/dist/constants/index.d.ts +0 -624
  266. package/dist/hooks/index.d.ts +0 -28
  267. package/dist/hooks/types.d.ts +0 -7
  268. package/dist/hooks/useAsync.d.ts +0 -17
  269. package/dist/hooks/useClickOutside.d.ts +0 -19
  270. package/dist/hooks/useCounter.d.ts +0 -36
  271. package/dist/hooks/useDebounce.d.ts +0 -31
  272. package/dist/hooks/useDeepCompareEffect.d.ts +0 -22
  273. package/dist/hooks/useEventHandling.d.ts +0 -81
  274. package/dist/hooks/useEventListener.d.ts +0 -19
  275. package/dist/hooks/useLifecycle.d.ts +0 -66
  276. package/dist/hooks/useMediaQuery.d.ts +0 -22
  277. package/dist/hooks/useMutation.d.ts +0 -47
  278. package/dist/hooks/usePerformance.d.ts +0 -73
  279. package/dist/hooks/usePerformanceMonitor.d.ts +0 -66
  280. package/dist/hooks/usePlatform.d.ts +0 -20
  281. package/dist/hooks/usePrevious.d.ts +0 -14
  282. package/dist/hooks/useRequest.d.ts +0 -32
  283. package/dist/hooks/useStateManagement.d.ts +0 -62
  284. package/dist/hooks/useStorage.d.ts +0 -27
  285. package/dist/hooks/useStyle.d.ts +0 -127
  286. package/dist/hooks/useTheme.d.ts +0 -58
  287. package/dist/hooks/useToggle.d.ts +0 -28
  288. package/dist/hooks/useVirtualScroll.d.ts +0 -42
  289. package/dist/index.d.ts +0 -271
  290. package/dist/js/index-CDFsvu80.js.map +0 -1
  291. package/dist/js/index-DFdcksbe.js +0 -1165
  292. package/dist/js/index-DFdcksbe.js.map +0 -1
  293. package/dist/js/index-DXRIkWX1.js +0 -1148
  294. package/dist/js/index-DXRIkWX1.js.map +0 -1
  295. package/dist/js/index-JffnTUrv.js.map +0 -1
  296. package/dist/platform/index.d.ts +0 -172
  297. package/dist/providers/AppProvider.d.ts +0 -34
  298. package/dist/providers/index.d.ts +0 -1
  299. package/dist/theme/ThemeProvider.d.ts +0 -34
  300. package/dist/theme/ThemeProvider.types.d.ts +0 -21
  301. package/dist/theme/animations.d.ts +0 -96
  302. package/dist/theme/defaults.d.ts +0 -6
  303. package/dist/theme/design-system.d.ts +0 -400
  304. package/dist/theme/design-tokens.d.ts +0 -459
  305. package/dist/theme/index.d.ts +0 -187
  306. package/dist/theme/responsive.d.ts +0 -63
  307. package/dist/theme/styles.d.ts +0 -65
  308. package/dist/theme/tokens/colors.d.ts +0 -72
  309. package/dist/theme/tokens/effects.d.ts +0 -122
  310. package/dist/theme/tokens/index.d.ts +0 -94
  311. package/dist/theme/tokens/spacing.d.ts +0 -65
  312. package/dist/theme/tokens/typography.d.ts +0 -73
  313. package/dist/theme/types.d.ts +0 -153
  314. package/dist/theme/useThemeUtils.d.ts +0 -21
  315. package/dist/theme/utils.d.ts +0 -255
  316. package/dist/theme/variables.d.ts +0 -170
  317. package/dist/types/accessibility.d.ts +0 -46
  318. package/dist/types/button.d.ts +0 -285
  319. package/dist/types/component-props.d.ts +0 -109
  320. package/dist/types/index.d.ts +0 -343
  321. package/dist/types/standardized-components.d.ts +0 -263
  322. package/dist/types/utils.d.ts +0 -190
  323. package/dist/utils/abort-controller.d.ts +0 -19
  324. package/dist/utils/cache.d.ts +0 -28
  325. package/dist/utils/createNamespace.d.ts +0 -9
  326. package/dist/utils/environment.d.ts +0 -26
  327. package/dist/utils/error-handler.d.ts +0 -37
  328. package/dist/utils/errorLogger.d.ts +0 -72
  329. package/dist/utils/formatUtils.d.ts +0 -93
  330. package/dist/utils/http/error-codes.d.ts +0 -131
  331. package/dist/utils/http/http-client.d.ts +0 -53
  332. package/dist/utils/http/request-cache.d.ts +0 -65
  333. package/dist/utils/http/request.d.ts +0 -280
  334. package/dist/utils/http/taro-adapter.d.ts +0 -4
  335. package/dist/utils/http/types.d.ts +0 -351
  336. package/dist/utils/http/web-adapter.d.ts +0 -4
  337. package/dist/utils/index.d.ts +0 -46
  338. package/dist/utils/inputValidator.d.ts +0 -74
  339. package/dist/utils/performance/performance.d.ts +0 -167
  340. package/dist/utils/responsiveUtils.d.ts +0 -148
  341. package/dist/utils/rtl-support.d.ts +0 -78
  342. package/dist/utils/security/api-security.d.ts +0 -82
  343. package/dist/utils/security/xss-protection.d.ts +0 -20
  344. package/dist/utils/securityHeaders.d.ts +0 -74
  345. package/dist/utils/typeHelpers.d.ts +0 -1
  346. package/dist/utils/types/dataProcessing.d.ts +0 -111
  347. package/dist/utils/types/typeHelpers.d.ts +0 -50
  348. package/dist/utils/xssProtection.d.ts +0 -90
  349. package/src/app.config.ts +0 -55
  350. package/src/app.scss +0 -508
  351. package/src/app.tsx +0 -44
  352. package/src/components/basic/Button/Button.styles.ts +0 -130
  353. package/src/components/basic/Button/Button.test.tsx +0 -154
  354. package/src/components/basic/Button/Button.tsx +0 -133
  355. package/src/components/basic/Button/Button.types.ts +0 -81
  356. package/src/components/basic/Button/index.tsx +0 -6
  357. package/src/components/basic/Divider/Divider.styles.ts +0 -488
  358. package/src/components/basic/Divider/Divider.test.tsx +0 -551
  359. package/src/components/basic/Divider/Divider.tsx +0 -392
  360. package/src/components/basic/Divider/Divider.types.ts +0 -261
  361. package/src/components/basic/Divider/index.tsx +0 -25
  362. package/src/components/basic/Icon/Icon.data.ts +0 -474
  363. package/src/components/basic/Icon/Icon.styles.ts +0 -359
  364. package/src/components/basic/Icon/Icon.test.tsx +0 -357
  365. package/src/components/basic/Icon/Icon.tsx +0 -167
  366. package/src/components/basic/Icon/Icon.types.ts +0 -210
  367. package/src/components/basic/Icon/IconManager.ts +0 -229
  368. package/src/components/basic/Icon/index.tsx +0 -22
  369. package/src/components/basic/Text/Text.styles.ts +0 -500
  370. package/src/components/basic/Text/Text.test.tsx +0 -299
  371. package/src/components/basic/Text/Text.tsx +0 -340
  372. package/src/components/basic/Text/Text.types.ts +0 -329
  373. package/src/components/basic/Text/index.tsx +0 -27
  374. package/src/components/basic/Typography/Typography.styles.ts +0 -347
  375. package/src/components/basic/Typography/Typography.tsx +0 -207
  376. package/src/components/basic/Typography/Typography.types.ts +0 -296
  377. package/src/components/basic/Typography/index.tsx +0 -14
  378. package/src/components/basic/Video/Video.styles.ts +0 -777
  379. package/src/components/basic/Video/Video.test.tsx +0 -490
  380. package/src/components/basic/Video/Video.tsx +0 -1468
  381. package/src/components/basic/Video/Video.types.ts +0 -500
  382. package/src/components/basic/Video/index.tsx +0 -26
  383. package/src/components/basic/index.tsx +0 -300
  384. package/src/components/common/ErrorBoundary.tsx +0 -87
  385. package/src/components/common/LazyComponent.tsx +0 -247
  386. package/src/components/common/ResponsiveContainer.tsx +0 -93
  387. package/src/components/common/ResponsiveGrid.tsx +0 -183
  388. package/src/components/common/SecurityProvider.tsx +0 -98
  389. package/src/components/common/ThemeProvider.tsx +0 -115
  390. package/src/components/common/VirtualList.tsx +0 -350
  391. package/src/components/common/__tests__/ErrorBoundary.test.tsx +0 -249
  392. package/src/components/common/index.tsx +0 -32
  393. package/src/components/display/Avatar/Avatar.styles.ts +0 -62
  394. package/src/components/display/Avatar/Avatar.test.tsx +0 -390
  395. package/src/components/display/Avatar/Avatar.tsx +0 -66
  396. package/src/components/display/Avatar/Avatar.types.ts +0 -40
  397. package/src/components/display/Avatar/index.ts +0 -3
  398. package/src/components/display/Badge/Badge.tsx +0 -29
  399. package/src/components/display/Badge/Badge.types.ts +0 -29
  400. package/src/components/display/Badge/index.ts +0 -2
  401. package/src/components/display/Calendar/Calendar.styles.ts +0 -255
  402. package/src/components/display/Calendar/Calendar.test.tsx +0 -42
  403. package/src/components/display/Calendar/Calendar.tsx +0 -358
  404. package/src/components/display/Calendar/Calendar.types.ts +0 -91
  405. package/src/components/display/Calendar/index.ts +0 -3
  406. package/src/components/display/Card/Card.styles.ts +0 -89
  407. package/src/components/display/Card/Card.test.tsx +0 -182
  408. package/src/components/display/Card/Card.tsx +0 -135
  409. package/src/components/display/Card/Card.types.ts +0 -55
  410. package/src/components/display/Card/index.ts +0 -3
  411. package/src/components/display/Carousel/Carousel.styles.ts +0 -206
  412. package/src/components/display/Carousel/Carousel.tsx +0 -290
  413. package/src/components/display/Carousel/Carousel.types.ts +0 -57
  414. package/src/components/display/Carousel/index.ts +0 -3
  415. package/src/components/display/List/List.styles.ts +0 -79
  416. package/src/components/display/List/List.tsx +0 -114
  417. package/src/components/display/List/List.types.ts +0 -68
  418. package/src/components/display/List/index.ts +0 -3
  419. package/src/components/display/Rate/Rate.styles.ts +0 -254
  420. package/src/components/display/Rate/Rate.tsx +0 -324
  421. package/src/components/display/Rate/Rate.types.ts +0 -112
  422. package/src/components/display/Rate/index.ts +0 -20
  423. package/src/components/display/Table/Table.styles.ts +0 -269
  424. package/src/components/display/Table/Table.test.tsx +0 -345
  425. package/src/components/display/Table/Table.tsx +0 -426
  426. package/src/components/display/Table/Table.types.ts +0 -256
  427. package/src/components/display/Table/index.tsx +0 -16
  428. package/src/components/display/Tag/Tag.styles.ts +0 -197
  429. package/src/components/display/Tag/Tag.test.tsx +0 -541
  430. package/src/components/display/Tag/Tag.tsx +0 -139
  431. package/src/components/display/Tag/Tag.types.ts +0 -49
  432. package/src/components/display/Tag/index.ts +0 -3
  433. package/src/components/display/Timeline/Timeline.styles.ts +0 -211
  434. package/src/components/display/Timeline/Timeline.tsx +0 -220
  435. package/src/components/display/Timeline/Timeline.types.ts +0 -56
  436. package/src/components/display/Timeline/index.ts +0 -3
  437. package/src/components/display/index.tsx +0 -147
  438. package/src/components/feedback/Loading/Loading.styles.ts +0 -117
  439. package/src/components/feedback/Loading/Loading.test.tsx +0 -534
  440. package/src/components/feedback/Loading/Loading.tsx +0 -132
  441. package/src/components/feedback/Loading/Loading.types.ts +0 -33
  442. package/src/components/feedback/Loading/index.ts +0 -6
  443. package/src/components/feedback/Message/Message.styles.ts +0 -41
  444. package/src/components/feedback/Message/Message.test.tsx +0 -234
  445. package/src/components/feedback/Message/Message.tsx +0 -96
  446. package/src/components/feedback/Message/Message.types.ts +0 -37
  447. package/src/components/feedback/Message/index.ts +0 -6
  448. package/src/components/feedback/Modal/Modal.styles.ts +0 -21
  449. package/src/components/feedback/Modal/Modal.test.tsx +0 -11
  450. package/src/components/feedback/Modal/Modal.tsx +0 -269
  451. package/src/components/feedback/Modal/Modal.types.ts +0 -151
  452. package/src/components/feedback/Modal/index.tsx +0 -11
  453. package/src/components/feedback/Notification/Notification.styles.ts +0 -453
  454. package/src/components/feedback/Notification/Notification.test.tsx +0 -401
  455. package/src/components/feedback/Notification/Notification.tsx +0 -347
  456. package/src/components/feedback/Notification/Notification.types.ts +0 -339
  457. package/src/components/feedback/Notification/NotificationManager.tsx +0 -405
  458. package/src/components/feedback/Notification/index.ts +0 -40
  459. package/src/components/feedback/Notification/index.tsx +0 -154
  460. package/src/components/feedback/Progress/Progress.styles.ts +0 -469
  461. package/src/components/feedback/Progress/Progress.test.simple.tsx +0 -14
  462. package/src/components/feedback/Progress/Progress.test.tsx +0 -312
  463. package/src/components/feedback/Progress/Progress.tsx +0 -488
  464. package/src/components/feedback/Progress/Progress.types.ts +0 -163
  465. package/src/components/feedback/Progress/index.ts +0 -3
  466. package/src/components/feedback/Progress/index.tsx +0 -38
  467. package/src/components/feedback/Progress/utils/animation.ts +0 -193
  468. package/src/components/feedback/Progress/utils/index.ts +0 -26
  469. package/src/components/feedback/Progress/utils/progress-calculator.ts +0 -199
  470. package/src/components/feedback/Result/Result.styles.ts +0 -139
  471. package/src/components/feedback/Result/Result.tsx +0 -221
  472. package/src/components/feedback/Result/Result.types.ts +0 -128
  473. package/src/components/feedback/Result/index.tsx +0 -3
  474. package/src/components/feedback/Toast/Toast.styles.ts +0 -17
  475. package/src/components/feedback/Toast/Toast.test.tsx +0 -10
  476. package/src/components/feedback/Toast/Toast.tsx +0 -384
  477. package/src/components/feedback/Toast/Toast.types.ts +0 -86
  478. package/src/components/feedback/Toast/index.tsx +0 -3
  479. package/src/components/feedback/Tooltip/Tooltip.examples.tsx +0 -435
  480. package/src/components/feedback/Tooltip/Tooltip.styles.ts +0 -340
  481. package/src/components/feedback/Tooltip/Tooltip.test.tsx +0 -446
  482. package/src/components/feedback/Tooltip/Tooltip.tsx +0 -302
  483. package/src/components/feedback/Tooltip/Tooltip.types.ts +0 -166
  484. package/src/components/feedback/Tooltip/index.ts +0 -3
  485. package/src/components/feedback/Tooltip/index.tsx +0 -246
  486. package/src/components/feedback/index.tsx +0 -176
  487. package/src/components/form/Cascader/Cascader.styles.ts +0 -526
  488. package/src/components/form/Cascader/Cascader.test.tsx +0 -77
  489. package/src/components/form/Cascader/Cascader.tsx +0 -581
  490. package/src/components/form/Cascader/Cascader.types.ts +0 -581
  491. package/src/components/form/Cascader/hooks/index.ts +0 -3
  492. package/src/components/form/Cascader/hooks/useCascaderFieldNames.ts +0 -19
  493. package/src/components/form/Cascader/hooks/useCascaderOptions.ts +0 -127
  494. package/src/components/form/Cascader/hooks/useCascaderState.ts +0 -139
  495. package/src/components/form/Cascader/index.ts +0 -25
  496. package/src/components/form/Cascader/utils/formatDisplayValue.ts +0 -19
  497. package/src/components/form/Cascader/utils/index.ts +0 -1
  498. package/src/components/form/Checkbox/Checkbox.styles.ts +0 -607
  499. package/src/components/form/Checkbox/Checkbox.test.tsx +0 -1140
  500. package/src/components/form/Checkbox/Checkbox.tsx +0 -489
  501. package/src/components/form/Checkbox/Checkbox.types.ts +0 -472
  502. package/src/components/form/Checkbox/CheckboxGroup.tsx +0 -444
  503. package/src/components/form/Checkbox/index.tsx +0 -27
  504. package/src/components/form/DatePicker/DatePicker.styles.ts +0 -393
  505. package/src/components/form/DatePicker/DatePicker.test.tsx +0 -407
  506. package/src/components/form/DatePicker/DatePicker.tsx +0 -376
  507. package/src/components/form/DatePicker/DatePicker.types.ts +0 -250
  508. package/src/components/form/DatePicker/index.tsx +0 -15
  509. package/src/components/form/Form/Form.styles.ts +0 -357
  510. package/src/components/form/Form/Form.test.tsx +0 -122
  511. package/src/components/form/Form/Form.tsx +0 -257
  512. package/src/components/form/Form/Form.types.ts +0 -422
  513. package/src/components/form/Form/index.tsx +0 -31
  514. package/src/components/form/Form/useFormLogic.ts +0 -497
  515. package/src/components/form/Input/Input.styles.ts +0 -445
  516. package/src/components/form/Input/Input.test.tsx +0 -494
  517. package/src/components/form/Input/Input.tsx +0 -305
  518. package/src/components/form/Input/Input.types.ts +0 -297
  519. package/src/components/form/Input/index.tsx +0 -26
  520. package/src/components/form/Input/useInputLogic.test.ts +0 -82
  521. package/src/components/form/Input/useInputLogic.ts +0 -260
  522. package/src/components/form/InputNumber/InputNumber.styles.ts +0 -716
  523. package/src/components/form/InputNumber/InputNumber.tsx +0 -402
  524. package/src/components/form/InputNumber/InputNumber.types.ts +0 -336
  525. package/src/components/form/InputNumber/components/InputNumberClearButton.tsx +0 -24
  526. package/src/components/form/InputNumber/components/InputNumberControls.tsx +0 -33
  527. package/src/components/form/InputNumber/components/index.ts +0 -2
  528. package/src/components/form/InputNumber/hooks/index.ts +0 -4
  529. package/src/components/form/InputNumber/hooks/useInputNumberState.ts +0 -313
  530. package/src/components/form/InputNumber/hooks/useInputNumberValidation.ts +0 -148
  531. package/src/components/form/InputNumber/index.ts +0 -25
  532. package/src/components/form/Radio/Radio.styles.ts +0 -451
  533. package/src/components/form/Radio/Radio.test.tsx +0 -547
  534. package/src/components/form/Radio/Radio.tsx +0 -277
  535. package/src/components/form/Radio/Radio.types.ts +0 -414
  536. package/src/components/form/Radio/index.tsx +0 -21
  537. package/src/components/form/Select/Select.styles.ts +0 -518
  538. package/src/components/form/Select/Select.test.tsx +0 -648
  539. package/src/components/form/Select/Select.tsx +0 -474
  540. package/src/components/form/Select/Select.types.ts +0 -429
  541. package/src/components/form/Select/index.tsx +0 -30
  542. package/src/components/form/Slider/Slider.styles.ts +0 -139
  543. package/src/components/form/Slider/Slider.test.tsx +0 -553
  544. package/src/components/form/Slider/Slider.tsx +0 -312
  545. package/src/components/form/Slider/Slider.types.ts +0 -110
  546. package/src/components/form/Slider/index.tsx +0 -3
  547. package/src/components/form/Switch/Switch.styles.ts +0 -534
  548. package/src/components/form/Switch/Switch.test.tsx +0 -345
  549. package/src/components/form/Switch/Switch.tsx +0 -458
  550. package/src/components/form/Switch/Switch.types.ts +0 -386
  551. package/src/components/form/Switch/index.tsx +0 -26
  552. package/src/components/form/Textarea/Textarea.styles.ts +0 -592
  553. package/src/components/form/Textarea/Textarea.test.tsx +0 -1075
  554. package/src/components/form/Textarea/Textarea.tsx +0 -608
  555. package/src/components/form/Textarea/Textarea.types.ts +0 -374
  556. package/src/components/form/Textarea/index.tsx +0 -26
  557. package/src/components/form/TimePicker/TimePicker.styles.ts +0 -434
  558. package/src/components/form/TimePicker/TimePicker.test.tsx +0 -306
  559. package/src/components/form/TimePicker/TimePicker.tsx +0 -250
  560. package/src/components/form/TimePicker/TimePicker.types.ts +0 -385
  561. package/src/components/form/TimePicker/index.ts +0 -21
  562. package/src/components/form/Transfer/Transfer.styles.ts +0 -490
  563. package/src/components/form/Transfer/Transfer.test.tsx +0 -316
  564. package/src/components/form/Transfer/Transfer.tsx +0 -414
  565. package/src/components/form/Transfer/Transfer.types.ts +0 -565
  566. package/src/components/form/Transfer/components/TransferItem.tsx +0 -94
  567. package/src/components/form/Transfer/components/TransferList.tsx +0 -298
  568. package/src/components/form/Transfer/components/TransferOperations.tsx +0 -81
  569. package/src/components/form/Transfer/components/TransferPagination.tsx +0 -139
  570. package/src/components/form/Transfer/components/TransferSearch.tsx +0 -85
  571. package/src/components/form/Transfer/components/index.ts +0 -6
  572. package/src/components/form/Transfer/hooks/index.ts +0 -3
  573. package/src/components/form/Transfer/hooks/useTransferData.ts +0 -202
  574. package/src/components/form/Transfer/hooks/useTransferState.ts +0 -120
  575. package/src/components/form/Transfer/index.ts +0 -27
  576. package/src/components/form/Upload/Upload.styles.ts +0 -145
  577. package/src/components/form/Upload/Upload.test.tsx +0 -10
  578. package/src/components/form/Upload/Upload.tsx +0 -498
  579. package/src/components/form/Upload/Upload.types.ts +0 -200
  580. package/src/components/form/Upload/index.tsx +0 -12
  581. package/src/components/form/index.tsx +0 -152
  582. package/src/components/index.tsx +0 -145
  583. package/src/components/layout/Affix/Affix.styles.ts +0 -42
  584. package/src/components/layout/Affix/Affix.test.tsx +0 -10
  585. package/src/components/layout/Affix/Affix.tsx +0 -83
  586. package/src/components/layout/Affix/Affix.types.ts +0 -29
  587. package/src/components/layout/Affix/index.tsx +0 -3
  588. package/src/components/layout/Col/Col.styles.ts +0 -185
  589. package/src/components/layout/Col/Col.test.tsx +0 -537
  590. package/src/components/layout/Col/Col.tsx +0 -97
  591. package/src/components/layout/Col/Col.types.ts +0 -59
  592. package/src/components/layout/Col/index.tsx +0 -3
  593. package/src/components/layout/Container/Container.styles.ts +0 -163
  594. package/src/components/layout/Container/Container.test.tsx +0 -380
  595. package/src/components/layout/Container/Container.tsx +0 -123
  596. package/src/components/layout/Container/Container.types.ts +0 -63
  597. package/src/components/layout/Container/index.tsx +0 -3
  598. package/src/components/layout/Grid/Grid.styles.ts +0 -183
  599. package/src/components/layout/Grid/Grid.test.tsx +0 -637
  600. package/src/components/layout/Grid/Grid.tsx +0 -123
  601. package/src/components/layout/Grid/Grid.types.ts +0 -78
  602. package/src/components/layout/Grid/index.tsx +0 -3
  603. package/src/components/layout/Layout/Content.tsx +0 -30
  604. package/src/components/layout/Layout/Footer.tsx +0 -30
  605. package/src/components/layout/Layout/Header.tsx +0 -30
  606. package/src/components/layout/Layout/Layout.styles.ts +0 -84
  607. package/src/components/layout/Layout/Layout.test.tsx +0 -10
  608. package/src/components/layout/Layout/Layout.tsx +0 -28
  609. package/src/components/layout/Layout/Layout.types.ts +0 -58
  610. package/src/components/layout/Layout/Sider.tsx +0 -44
  611. package/src/components/layout/Layout/index.tsx +0 -22
  612. package/src/components/layout/Row/Row.styles.ts +0 -159
  613. package/src/components/layout/Row/Row.test.tsx +0 -467
  614. package/src/components/layout/Row/Row.tsx +0 -111
  615. package/src/components/layout/Row/Row.types.ts +0 -60
  616. package/src/components/layout/Row/index.tsx +0 -3
  617. package/src/components/layout/Space/Space.styles.ts +0 -255
  618. package/src/components/layout/Space/Space.test.tsx +0 -682
  619. package/src/components/layout/Space/Space.tsx +0 -203
  620. package/src/components/layout/Space/Space.types.ts +0 -92
  621. package/src/components/layout/Space/index.tsx +0 -12
  622. package/src/components/layout/index.tsx +0 -78
  623. package/src/components/navigation/Menu/Menu.constants.ts +0 -69
  624. package/src/components/navigation/Menu/Menu.stories.tsx +0 -107
  625. package/src/components/navigation/Menu/Menu.styles.ts +0 -767
  626. package/src/components/navigation/Menu/Menu.tsx +0 -352
  627. package/src/components/navigation/Menu/Menu.types.ts +0 -231
  628. package/src/components/navigation/Menu/Menu.utils.ts +0 -187
  629. package/src/components/navigation/Menu/MenuItem.tsx +0 -124
  630. package/src/components/navigation/Menu/SubMenu.tsx +0 -150
  631. package/src/components/navigation/Menu/index.tsx +0 -59
  632. package/src/components/navigation/NavBar/NavBar.styles.ts +0 -129
  633. package/src/components/navigation/NavBar/NavBar.test.tsx +0 -287
  634. package/src/components/navigation/NavBar/NavBar.tsx +0 -228
  635. package/src/components/navigation/NavBar/NavBar.types.ts +0 -54
  636. package/src/components/navigation/NavBar/index.tsx +0 -3
  637. package/src/components/navigation/Pagination/Pagination.styles.ts +0 -187
  638. package/src/components/navigation/Pagination/Pagination.test.tsx +0 -672
  639. package/src/components/navigation/Pagination/Pagination.tsx +0 -395
  640. package/src/components/navigation/Pagination/Pagination.types.ts +0 -87
  641. package/src/components/navigation/Pagination/index.ts +0 -24
  642. package/src/components/navigation/Pagination/index.tsx +0 -9
  643. package/src/components/navigation/Steps/Step.tsx +0 -36
  644. package/src/components/navigation/Steps/Steps.styles.ts +0 -169
  645. package/src/components/navigation/Steps/Steps.test.tsx +0 -14
  646. package/src/components/navigation/Steps/Steps.tsx +0 -112
  647. package/src/components/navigation/Steps/Steps.types.ts +0 -47
  648. package/src/components/navigation/Steps/index.tsx +0 -3
  649. package/src/components/navigation/Tabs/Tabs.styles.ts +0 -199
  650. package/src/components/navigation/Tabs/Tabs.test.tsx +0 -662
  651. package/src/components/navigation/Tabs/Tabs.tsx +0 -253
  652. package/src/components/navigation/Tabs/Tabs.types.ts +0 -115
  653. package/src/components/navigation/Tabs/index.tsx +0 -3
  654. package/src/components/navigation/index.tsx +0 -88
  655. package/src/constants/index.ts +0 -785
  656. package/src/hooks/index.ts +0 -60
  657. package/src/hooks/types.ts +0 -9
  658. package/src/hooks/useAsync.ts +0 -64
  659. package/src/hooks/useClickOutside.ts +0 -52
  660. package/src/hooks/useCounter.ts +0 -87
  661. package/src/hooks/useDebounce.ts +0 -150
  662. package/src/hooks/useDeepCompareEffect.ts +0 -88
  663. package/src/hooks/useEventHandling.ts +0 -444
  664. package/src/hooks/useEventListener.ts +0 -77
  665. package/src/hooks/useLifecycle.ts +0 -399
  666. package/src/hooks/useMediaQuery.ts +0 -75
  667. package/src/hooks/useMutation.ts +0 -233
  668. package/src/hooks/usePerformance.ts +0 -378
  669. package/src/hooks/usePerformanceMonitor.ts +0 -348
  670. package/src/hooks/usePlatform.ts +0 -64
  671. package/src/hooks/usePrevious.ts +0 -25
  672. package/src/hooks/useRequest.test.ts +0 -11
  673. package/src/hooks/useRequest.ts +0 -140
  674. package/src/hooks/useStateManagement.ts +0 -300
  675. package/src/hooks/useStorage.ts +0 -169
  676. package/src/hooks/useStyle.ts +0 -543
  677. package/src/hooks/useTheme.ts +0 -347
  678. package/src/hooks/useToggle.ts +0 -54
  679. package/src/hooks/useVirtualScroll.ts +0 -331
  680. package/src/index.ts +0 -323
  681. package/src/platform/index.ts +0 -1188
  682. package/src/providers/AppProvider.test.tsx +0 -63
  683. package/src/providers/AppProvider.tsx +0 -155
  684. package/src/providers/index.ts +0 -1
  685. package/src/theme/ThemeProvider.tsx +0 -279
  686. package/src/theme/ThemeProvider.types.ts +0 -26
  687. package/src/theme/animations.tsx +0 -660
  688. package/src/theme/defaults.ts +0 -188
  689. package/src/theme/design-system.ts +0 -562
  690. package/src/theme/design-tokens.ts +0 -1122
  691. package/src/theme/generated/dark-theme.scss +0 -120
  692. package/src/theme/generated/tokens.css +0 -441
  693. package/src/theme/generated/tokens.scss +0 -384
  694. package/src/theme/index.ts +0 -99
  695. package/src/theme/responsive.tsx +0 -195
  696. package/src/theme/styles/mixins.scss +0 -612
  697. package/src/theme/styles/variables.scss +0 -295
  698. package/src/theme/styles.ts +0 -403
  699. package/src/theme/tokens/colors.ts +0 -256
  700. package/src/theme/tokens/effects.ts +0 -260
  701. package/src/theme/tokens/index.ts +0 -217
  702. package/src/theme/tokens/spacing.ts +0 -137
  703. package/src/theme/tokens/typography.ts +0 -186
  704. package/src/theme/types.ts +0 -188
  705. package/src/theme/useThemeUtils.ts +0 -313
  706. package/src/theme/utils.ts +0 -501
  707. package/src/theme/variables.ts +0 -602
  708. package/src/types/accessibility.ts +0 -50
  709. package/src/types/button.ts +0 -560
  710. package/src/types/component-props.ts +0 -322
  711. package/src/types/env.d.ts +0 -20
  712. package/src/types/glob.d.ts +0 -4
  713. package/src/types/index.ts +0 -427
  714. package/src/types/modules.d.ts +0 -40
  715. package/src/types/standardized-components.ts +0 -550
  716. package/src/types/taro-adapter.d.ts +0 -174
  717. package/src/types/taro-components.d.ts +0 -73
  718. package/src/types/utils.ts +0 -400
  719. package/src/utils/__tests__/inputValidator.test.ts +0 -338
  720. package/src/utils/__tests__/responsiveUtils.test.ts +0 -311
  721. package/src/utils/__tests__/xssProtection.test.ts +0 -268
  722. package/src/utils/abort-controller.ts +0 -48
  723. package/src/utils/cache.ts +0 -79
  724. package/src/utils/createNamespace.ts +0 -24
  725. package/src/utils/environment.ts +0 -115
  726. package/src/utils/error-handler.ts +0 -88
  727. package/src/utils/errorLogger.ts +0 -193
  728. package/src/utils/formatUtils.ts +0 -412
  729. package/src/utils/http/error-codes.ts +0 -314
  730. package/src/utils/http/http-client.test.ts +0 -63
  731. package/src/utils/http/http-client.ts +0 -161
  732. package/src/utils/http/request-cache.ts +0 -127
  733. package/src/utils/http/request.ts +0 -954
  734. package/src/utils/http/taro-adapter.test.ts +0 -74
  735. package/src/utils/http/taro-adapter.ts +0 -24
  736. package/src/utils/http/types.ts +0 -414
  737. package/src/utils/http/web-adapter.ts +0 -33
  738. package/src/utils/index.ts +0 -112
  739. package/src/utils/inputValidator.ts +0 -264
  740. package/src/utils/performance/performance.ts +0 -839
  741. package/src/utils/responsiveUtils.ts +0 -348
  742. package/src/utils/rtl-support.ts +0 -354
  743. package/src/utils/security/api-security.ts +0 -394
  744. package/src/utils/security/xss-protection.ts +0 -69
  745. package/src/utils/securityHeaders.ts +0 -308
  746. package/src/utils/typeHelpers.ts +0 -16
  747. package/src/utils/types/dataProcessing.ts +0 -544
  748. package/src/utils/types/typeHelpers.ts +0 -197
  749. package/src/utils/xssProtection.ts +0 -468
@@ -1,405 +0,0 @@
1
- import React, { forwardRef, useRef, useState, useCallback } from 'react';
2
- import { View } from '@tarojs/components';
3
- import type {
4
- NotificationManagerProps,
5
- NotificationManagerRef,
6
- NotificationItem,
7
- NotificationPlacement,
8
- } from './Notification.types';
9
- import { Notification } from './Notification';
10
- import { notificationStyleHelpers } from './Notification.styles';
11
- import { cn, platform } from '../../../utils';
12
- import { useTheme } from '../../../theme/ThemeProvider';
13
- import { DEFAULT_NOTIFICATION_CONFIG, NotificationUtils } from './Notification.types';
14
-
15
- // 通知项内部接口
16
- interface InternalNotificationItem extends NotificationItem {
17
- /** 堆叠索引 */
18
- stackIndex: number;
19
- /** 是否正在关闭 */
20
- isClosing: boolean;
21
- }
22
-
23
- export const NotificationManager = forwardRef<NotificationManagerRef, NotificationManagerProps>((props, ref) => {
24
- const {
25
- maxCount = DEFAULT_NOTIFICATION_CONFIG.defaultMaxCount,
26
- defaultPlacement = DEFAULT_NOTIFICATION_CONFIG.defaultPlacement,
27
- defaultDuration = DEFAULT_NOTIFICATION_CONFIG.defaultDuration,
28
- defaultAnimation = DEFAULT_NOTIFICATION_CONFIG.defaultAnimation,
29
- stack = DEFAULT_NOTIFICATION_CONFIG.defaultStack,
30
- containerStyle,
31
- containerClassName,
32
- onEnter,
33
- onLeave,
34
- onAllClose,
35
- } = props;
36
-
37
- // Ignore unused props for future implementation
38
- void props.stackMaxCount;
39
- void props.allowDrag;
40
- void props.dragThreshold;
41
- void props.showGroup;
42
- void props.groupInterval;
43
- void props.style;
44
- void props.className;
45
-
46
- const theme = useTheme();
47
- const [notifications, setNotifications] = useState<InternalNotificationItem[]>([]);
48
- const [history, setHistory] = useState<NotificationItem[]>([]);
49
- const [_isAllPaused, setIsAllPaused] = useState(false);
50
- const notificationRefs = useRef<Map<string, { current: any }>>(new Map());
51
-
52
- // 添加通知
53
- const addNotification = useCallback(
54
- (config: Omit<NotificationItem, 'key' | 'createdAt'>): string => {
55
- const key = NotificationUtils.generateKey();
56
- const newNotification: InternalNotificationItem = {
57
- ...config,
58
- key,
59
- createdAt: Date.now(),
60
- placement: config.placement || defaultPlacement,
61
- duration: config.duration ?? defaultDuration,
62
- animation: config.animation || defaultAnimation,
63
- stackIndex: 0,
64
- isClosing: false,
65
- };
66
-
67
- setNotifications((prev) => {
68
- // 检查是否超过最大数量
69
- let updatedNotifications = [...prev, newNotification];
70
-
71
- if (updatedNotifications.length > maxCount) {
72
- // 移除最早的通知
73
- const removed = updatedNotifications.shift();
74
- if (removed) {
75
- // 添加到历史记录
76
- setHistory((prevHistory) => [...prevHistory.slice(-DEFAULT_NOTIFICATION_CONFIG.maxHistoryCount!), removed]);
77
- onLeave?.(removed.key);
78
- }
79
- }
80
-
81
- // 更新堆叠索引
82
- return updateStackIndices(updatedNotifications);
83
- });
84
-
85
- onEnter?.(key);
86
- return key;
87
- },
88
- [maxCount, defaultPlacement, defaultDuration, defaultAnimation, onEnter, onLeave],
89
- );
90
-
91
- // 更新堆叠索引
92
- const updateStackIndices = useCallback(
93
- (notificationsList: InternalNotificationItem[]): InternalNotificationItem[] => {
94
- if (!stack) return notificationsList;
95
-
96
- return notificationsList.map((notification, index) => ({
97
- ...notification,
98
- stackIndex: index,
99
- }));
100
- },
101
- [stack],
102
- );
103
-
104
- // 关闭通知
105
- const closeNotification = useCallback(
106
- (key: string) => {
107
- setNotifications((prev) => {
108
- const notificationIndex = prev.findIndex((n) => n.key === key);
109
- if (notificationIndex === -1) return prev;
110
-
111
- const notification = prev[notificationIndex];
112
- const updatedNotifications = prev.filter((_, index) => index !== notificationIndex);
113
-
114
- // 添加到历史记录
115
- setHistory((prevHistory) => [
116
- ...prevHistory.slice(-DEFAULT_NOTIFICATION_CONFIG.maxHistoryCount!),
117
- notification as NotificationItem,
118
- ]);
119
-
120
- // 更新堆叠索引
121
- return updateStackIndices(updatedNotifications);
122
- });
123
-
124
- onLeave?.(key);
125
- },
126
- [onLeave, updateStackIndices],
127
- );
128
-
129
- // 关闭所有通知
130
- const closeAllNotifications = useCallback(() => {
131
- setNotifications((prev) => {
132
- // 添加到历史记录
133
- setHistory((prevHistory) => [...prevHistory.slice(-DEFAULT_NOTIFICATION_CONFIG.maxHistoryCount!), ...prev]);
134
-
135
- const firstKey = prev[0]?.key;
136
- if (firstKey) {
137
- onLeave?.(firstKey);
138
- }
139
- onAllClose?.();
140
-
141
- return [];
142
- });
143
- }, [onLeave, onAllClose]);
144
-
145
- // 更新通知
146
- const updateNotification = useCallback((key: string, config: Partial<NotificationItem>) => {
147
- setNotifications((prev) => {
148
- return prev.map((notification) => {
149
- if (notification.key === key) {
150
- return {
151
- ...notification,
152
- ...config,
153
- // 保留原始创建时间和键
154
- key: notification.key,
155
- createdAt: notification.createdAt,
156
- };
157
- }
158
- return notification;
159
- });
160
- });
161
- }, []);
162
-
163
- // 显示通知
164
- const open = useCallback(
165
- (config: Omit<NotificationItem, 'key' | 'createdAt'>) => {
166
- return addNotification(config);
167
- },
168
- [addNotification],
169
- );
170
-
171
- // 显示成功通知
172
- const success = useCallback(
173
- (config: Omit<NotificationItem, 'key' | 'createdAt' | 'type'>) => {
174
- return open({ ...config, type: 'success' });
175
- },
176
- [open],
177
- );
178
-
179
- // 显示信息通知
180
- const info = useCallback(
181
- (config: Omit<NotificationItem, 'key' | 'createdAt' | 'type'>) => {
182
- return open({ ...config, type: 'info' });
183
- },
184
- [open],
185
- );
186
-
187
- // 显示警告通知
188
- const warning = useCallback(
189
- (config: Omit<NotificationItem, 'key' | 'createdAt' | 'type'>) => {
190
- return open({ ...config, type: 'warning' });
191
- },
192
- [open],
193
- );
194
-
195
- // 显示错误通知
196
- const error = useCallback(
197
- (config: Omit<NotificationItem, 'key' | 'createdAt' | 'type'>) => {
198
- return open({ ...config, type: 'error' });
199
- },
200
- [open],
201
- );
202
-
203
- // 关闭指定通知
204
- const close = useCallback(
205
- (key: string) => {
206
- closeNotification(key);
207
- },
208
- [closeNotification],
209
- );
210
-
211
- // 关闭所有通知
212
- const destroyAll = useCallback(() => {
213
- closeAllNotifications();
214
- }, [closeAllNotifications]);
215
-
216
- // 获取所有通知
217
- const getNotifications = useCallback(() => {
218
- return notifications.map(({ isClosing, stackIndex, ...rest }) => rest);
219
- }, [notifications]);
220
-
221
- // 获取通知数量
222
- const getCount = useCallback(() => {
223
- return notifications.length;
224
- }, [notifications]);
225
-
226
- // 设置最大数量
227
- const setMaxCount = useCallback((_count: number) => {
228
- // 这里可以更新状态,但由于maxCount是prop,实际应该通过props更新
229
- console.warn('setMaxCount should be controlled by props');
230
- }, []);
231
-
232
- // 设置默认位置
233
- const setDefaultPlacement = useCallback((_placement: NotificationPlacement) => {
234
- // 这里可以更新状态,但由于defaultPlacement是prop,实际应该通过props更新
235
- console.warn('setDefaultPlacement should be controlled by props');
236
- }, []);
237
-
238
- // 设置默认时长
239
- const setDefaultDuration = useCallback((_duration: number) => {
240
- // 这里可以更新状态,但由于defaultDuration是prop,实际应该通过props更新
241
- console.warn('setDefaultDuration should be controlled by props');
242
- }, []);
243
-
244
- // 暂停所有通知自动关闭
245
- const pauseAll = useCallback(() => {
246
- setIsAllPaused(true);
247
- notificationRefs.current.forEach((refObject) => {
248
- if (refObject?.current?.pauseProgress) {
249
- refObject.current.pauseProgress();
250
- }
251
- });
252
- }, []);
253
-
254
- // 恢复所有通知自动关闭
255
- const resumeAll = useCallback(() => {
256
- setIsAllPaused(false);
257
- notificationRefs.current.forEach((ref) => {
258
- if (ref?.current?.resumeProgress) {
259
- ref.current.resumeProgress();
260
- }
261
- });
262
- }, []);
263
-
264
- // 清空历史记录
265
- const clearHistory = useCallback(() => {
266
- setHistory([]);
267
- }, []);
268
-
269
- // 获取通知历史
270
- const getHistory = useCallback(() => {
271
- return [...history];
272
- }, [history]);
273
-
274
- // 暴露方法给ref
275
- React.useImperativeHandle(ref, () => ({
276
- open,
277
- success,
278
- info,
279
- warning,
280
- error,
281
- close,
282
- destroyAll,
283
- update: updateNotification,
284
- getNotifications,
285
- getCount,
286
- setMaxCount,
287
- setDefaultPlacement,
288
- setDefaultDuration,
289
- pauseAll,
290
- resumeAll,
291
- clearHistory,
292
- getHistory,
293
- }));
294
-
295
- // 处理通知关闭
296
- const handleNotificationClose = useCallback(
297
- (key: string) => {
298
- closeNotification(key);
299
- },
300
- [closeNotification],
301
- );
302
-
303
- // 处理通知点击
304
- const handleNotificationClick = useCallback(
305
- (key: string) => {
306
- const notification = notifications.find((n) => n.key === key);
307
- if (notification?.onClick) {
308
- notification.onClick();
309
- }
310
- },
311
- [notifications],
312
- );
313
-
314
- // 获取容器样式
315
- const getContainerStyle = () => {
316
- return {
317
- ...notificationStyleHelpers.getContainerStyle({ theme, isMobile: platform.isMobile() }),
318
- ...containerStyle,
319
- };
320
- };
321
-
322
- // 获取容器类名
323
- const getContainerClassName = () => {
324
- return cn('taro-uno-notification-container', containerClassName);
325
- };
326
-
327
- // 按位置分组通知
328
- const renderNotificationsByPlacement = () => {
329
- const notificationsByPlacement: Record<NotificationPlacement, InternalNotificationItem[]> = {
330
- topRight: [],
331
- topLeft: [],
332
- bottomRight: [],
333
- bottomLeft: [],
334
- top: [],
335
- bottom: [],
336
- };
337
-
338
- // 按位置分组
339
- notifications.forEach((notification) => {
340
- const placement = notification.placement || defaultPlacement;
341
- notificationsByPlacement[placement].push(notification);
342
- });
343
-
344
- // 渲染每个位置的通知
345
- return Object.entries(notificationsByPlacement).map(([placement, placementNotifications]) => {
346
- if (placementNotifications.length === 0) return null;
347
-
348
- const sortedNotifications = NotificationUtils.sortNotifications(placementNotifications);
349
-
350
- return (
351
- <View
352
- key={placement}
353
- className={`taro-uno-notification-placement-${placement}`}
354
- style={{
355
- position: 'absolute',
356
- pointerEvents: 'none',
357
- ...getPlacementStyle(placement as NotificationPlacement),
358
- }}
359
- >
360
- {sortedNotifications.map((notification) => {
361
- const { key, ...notificationConfig } = notification;
362
- // Future implementation might use these properties
363
- void (notification as any).isClosing;
364
- void (notification as any).stackIndex;
365
-
366
- return (
367
- <Notification
368
- key={key}
369
- ref={(ref) => {
370
- if (ref) {
371
- notificationRefs.current.set(key, { current: ref });
372
- } else {
373
- notificationRefs.current.delete(key);
374
- }
375
- }}
376
- {...notificationConfig}
377
- onClose={() => handleNotificationClose(key)}
378
- onClick={() => handleNotificationClick(key)}
379
- />
380
- );
381
- })}
382
- </View>
383
- );
384
- });
385
- };
386
-
387
- // 获取位置样式
388
- const getPlacementStyle = (placement: NotificationPlacement) => {
389
- const placementStyleData = notificationStyleHelpers.getPlacementStyle(placement, {
390
- theme,
391
- isMobile: platform.isMobile(),
392
- });
393
- return placementStyleData.container;
394
- };
395
-
396
- return (
397
- <View className={getContainerClassName()} style={getContainerStyle()}>
398
- {renderNotificationsByPlacement()}
399
- </View>
400
- );
401
- });
402
-
403
- NotificationManager.displayName = 'NotificationManager';
404
-
405
- export default NotificationManager;
@@ -1,40 +0,0 @@
1
- export { Notification } from './Notification';
2
- export { default as NotificationManager } from './NotificationManager';
3
-
4
- // Simple notification singleton for direct usage
5
- class NotificationSingleton {
6
- open = (_config: any) => {
7
- console.warn(
8
- 'Notification singleton called. Please render <NotificationManager /> in your app for full functionality.',
9
- );
10
- return 'notification-key';
11
- };
12
-
13
- success = (config: any) => this.open({ ...config, type: 'success' });
14
- info = (config: any) => this.open({ ...config, type: 'info' });
15
- warning = (config: any) => this.open({ ...config, type: 'warning' });
16
- error = (config: any) => this.open({ ...config, type: 'error' });
17
- close = (_key: string) => {};
18
- destroyAll = () => {};
19
- update = (_key: string, _config: any) => {};
20
- getNotifications = () => [];
21
- getCount = () => 0;
22
- setMaxCount = (_count: number) => {};
23
- setDefaultPlacement = (_placement: any) => {};
24
- setDefaultDuration = (_duration: number) => {};
25
- pauseAll = () => {};
26
- resumeAll = () => {};
27
- clearHistory = () => {};
28
- getHistory = () => [];
29
- }
30
-
31
- export const notification = new NotificationSingleton();
32
- export type {
33
- NotificationProps,
34
- NotificationRef,
35
- NotificationManagerProps,
36
- NotificationPlacement,
37
- } from './Notification.types';
38
- export { notificationStyles } from './Notification.styles';
39
-
40
- export default Notification;
@@ -1,154 +0,0 @@
1
- /**
2
- * Notification 通知提醒组件
3
- * 提供全局通知提醒功能,支持多种类型、位置、动画效果
4
- */
5
-
6
- // 导出主要组件
7
- export { Notification } from './Notification';
8
- export { default as NotificationManager } from './NotificationManager';
9
-
10
- // 导出类型定义
11
- export type {
12
- NotificationType,
13
- NotificationPlacement,
14
- NotificationAnimation,
15
- NotificationItem,
16
- NotificationProps,
17
- NotificationManagerProps,
18
- NotificationRef,
19
- NotificationUtils,
20
- } from './Notification.types';
21
-
22
- // 导出默认配置
23
- export { DEFAULT_NOTIFICATION_CONFIG } from './Notification.types';
24
-
25
- // 导出样式系统
26
- export {
27
- notificationStyles,
28
- notificationStyleHelpers,
29
- notificationStyleConfig,
30
- notificationStylesCompat,
31
- notificationStylesLegacy,
32
- } from './Notification.styles';
33
-
34
- // 导出工具函数
35
- export { NotificationUtils } from './Notification.types';
36
-
37
- // 创建全局通知管理器实例
38
- import type { NotificationManagerRef } from './Notification.types';
39
-
40
- // 全局通知管理器引用
41
- let globalNotificationRef: NotificationManagerRef | null = null;
42
-
43
- // 设置全局通知管理器
44
- export const setGlobalNotificationRef = (ref: NotificationManagerRef | null) => {
45
- globalNotificationRef = ref;
46
- };
47
-
48
- // 获取全局通知管理器
49
- export const getGlobalNotificationRef = (): NotificationManagerRef | null => {
50
- return globalNotificationRef;
51
- };
52
-
53
- // 全局通知方法
54
- export const notification = {
55
- // 显示通知
56
- open: (config: Parameters<NotificationManagerRef['open']>[0]) => {
57
- return globalNotificationRef?.open(config) || '';
58
- },
59
-
60
- // 显示成功通知
61
- success: (config: Parameters<NotificationManagerRef['success']>[0]) => {
62
- return globalNotificationRef?.success(config) || '';
63
- },
64
-
65
- // 显示信息通知
66
- info: (config: Parameters<NotificationManagerRef['info']>[0]) => {
67
- return globalNotificationRef?.info(config) || '';
68
- },
69
-
70
- // 显示警告通知
71
- warning: (config: Parameters<NotificationManagerRef['warning']>[0]) => {
72
- return globalNotificationRef?.warning(config) || '';
73
- },
74
-
75
- // 显示错误通知
76
- error: (config: Parameters<NotificationManagerRef['error']>[0]) => {
77
- return globalNotificationRef?.error(config) || '';
78
- },
79
-
80
- // 关闭通知
81
- close: (key: string) => {
82
- globalNotificationRef?.close(key);
83
- },
84
-
85
- // 关闭所有通知
86
- destroyAll: () => {
87
- globalNotificationRef?.destroyAll();
88
- },
89
-
90
- // 更新通知
91
- update: (key: string, config: Parameters<NotificationManagerRef['update']>[1]) => {
92
- globalNotificationRef?.update(key, config);
93
- },
94
-
95
- // 获取所有通知
96
- getNotifications: () => {
97
- return globalNotificationRef?.getNotifications() || [];
98
- },
99
-
100
- // 获取通知数量
101
- getCount: () => {
102
- return globalNotificationRef?.getCount() || 0;
103
- },
104
-
105
- // 暂停所有通知
106
- pauseAll: () => {
107
- globalNotificationRef?.pauseAll();
108
- },
109
-
110
- // 恢复所有通知
111
- resumeAll: () => {
112
- globalNotificationRef?.resumeAll();
113
- },
114
-
115
- // 清空历史记录
116
- clearHistory: () => {
117
- globalNotificationRef?.clearHistory();
118
- },
119
-
120
- // 获取通知历史
121
- getHistory: () => {
122
- return globalNotificationRef?.getHistory() || [];
123
- },
124
- };
125
-
126
- // 便捷方法
127
- export const { success, info, warning, error, destroyAll, pauseAll, resumeAll } = notification;
128
-
129
- // 默认导出
130
- export default Notification;
131
-
132
- // 导出类型工具
133
- export type {
134
- // 通知类型
135
- NotificationType as Type,
136
- NotificationPlacement as Placement,
137
- NotificationAnimation as Animation,
138
-
139
- // 通知接口
140
- NotificationItem as Item,
141
- NotificationProps as Props,
142
- NotificationManagerProps as ManagerProps,
143
- NotificationRef as Ref,
144
- NotificationManagerRef as ManagerRef,
145
- } from './Notification.types';
146
-
147
- // 导出全局通知对象
148
- export { notification };
149
-
150
- // 组件 displayName
151
- if (typeof Notification !== 'undefined') {
152
- (Notification as any).displayName = 'Notification';
153
- }
154
- // NotificationManager displayName is set in NotificationManager.tsx