@1money/component-ui 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1943) hide show
  1. package/.agents/skills/1money-component-dev/SKILL.md +224 -0
  2. package/.agents/skills/1money-component-dev/checklist.md +159 -0
  3. package/.agents/skills/1money-component-dev/references/ComponentPatterns.md +478 -0
  4. package/.agents/skills/1money-component-dev/references/FigmaExtractionChecklist.md +144 -0
  5. package/.agents/skills/1money-component-dev/references/HooksGuide.md +360 -0
  6. package/.agents/skills/1money-component-dev/references/SemanticColors.md +215 -0
  7. package/.agents/skills/1money-component-dev/references/StyleSystemAPI.md +389 -0
  8. package/.claude/settings.local.json +103 -0
  9. package/.claude/skills/1money-component-dev/SKILL.md +229 -0
  10. package/.claude/skills/1money-component-dev/checklist.md +159 -0
  11. package/.claude/skills/1money-component-dev/references/ComponentPatterns.md +478 -0
  12. package/.claude/skills/1money-component-dev/references/FigmaExtractionChecklist.md +144 -0
  13. package/.claude/skills/1money-component-dev/references/HooksGuide.md +360 -0
  14. package/.claude/skills/1money-component-dev/references/SemanticColors.md +215 -0
  15. package/.claude/skills/1money-component-dev/references/StyleSystemAPI.md +389 -0
  16. package/.claude/skills/1money-component-review/SKILL.md +316 -0
  17. package/.claude/skills/component-pipeline/SKILL.md +116 -0
  18. package/.claude/skills/component-pipeline/checklist.md +125 -0
  19. package/.hintrc +13 -0
  20. package/@types/global.d.ts +28 -0
  21. package/AGENTS.md +540 -0
  22. package/CLAUDE.md +1 -0
  23. package/LICENSE +21 -0
  24. package/README.md +169 -0
  25. package/es/components/Accordion/Accordion.d.ts +6 -0
  26. package/es/components/Accordion/Accordion.js +102 -0
  27. package/es/components/Accordion/index.d.ts +4 -0
  28. package/es/components/Accordion/index.js +5 -0
  29. package/es/components/Accordion/interface.d.ts +29 -0
  30. package/es/components/Accordion/interface.js +2 -0
  31. package/es/components/Accordion/style/Accordion.css +1 -0
  32. package/es/components/Accordion/style/Accordion.scss +127 -0
  33. package/es/components/Accordion/style/css.js +2 -0
  34. package/es/components/Accordion/style/index.d.ts +1 -0
  35. package/es/components/Accordion/style/index.js +2 -0
  36. package/es/components/Alert/Alert.d.ts +6 -0
  37. package/es/components/Alert/Alert.js +94 -0
  38. package/es/components/Alert/index.d.ts +4 -0
  39. package/es/components/Alert/index.js +5 -0
  40. package/es/components/Alert/interface.d.ts +40 -0
  41. package/es/components/Alert/interface.js +6 -0
  42. package/es/components/Alert/style/Alert.css +1 -0
  43. package/es/components/Alert/style/Alert.scss +89 -0
  44. package/es/components/Alert/style/css.js +3 -0
  45. package/es/components/Alert/style/index.d.ts +2 -0
  46. package/es/components/Alert/style/index.js +3 -0
  47. package/es/components/Button/Button.d.ts +4 -0
  48. package/es/components/Button/Button.js +121 -0
  49. package/es/components/Button/constants.d.ts +56 -0
  50. package/es/components/Button/constants.js +69 -0
  51. package/es/components/Button/index.d.ts +5 -0
  52. package/es/components/Button/index.js +6 -0
  53. package/es/components/Button/interface.d.ts +14 -0
  54. package/es/components/Button/interface.js +2 -0
  55. package/es/components/Button/style/Button.css +1 -0
  56. package/es/components/Button/style/Button.scss +190 -0
  57. package/es/components/Button/style/css.js +2 -0
  58. package/es/components/Button/style/index.d.ts +1 -0
  59. package/es/components/Button/style/index.js +2 -0
  60. package/es/components/Calendar/Calendar.d.ts +7 -0
  61. package/es/components/Calendar/Calendar.js +112 -0
  62. package/es/components/Calendar/index.d.ts +4 -0
  63. package/es/components/Calendar/index.js +5 -0
  64. package/es/components/Calendar/interface.d.ts +29 -0
  65. package/es/components/Calendar/interface.js +2 -0
  66. package/es/components/Calendar/style/Calendar.css +1 -0
  67. package/es/components/Calendar/style/Calendar.scss +377 -0
  68. package/es/components/Calendar/style/css.js +2 -0
  69. package/es/components/Calendar/style/index.d.ts +1 -0
  70. package/es/components/Calendar/style/index.js +2 -0
  71. package/es/components/Carousel/Carousel.d.ts +6 -0
  72. package/es/components/Carousel/Carousel.js +46 -0
  73. package/es/components/Carousel/index.d.ts +4 -0
  74. package/es/components/Carousel/index.js +5 -0
  75. package/es/components/Carousel/interface.d.ts +15 -0
  76. package/es/components/Carousel/interface.js +2 -0
  77. package/es/components/Carousel/style/Carousel.css +1 -0
  78. package/es/components/Carousel/style/Carousel.scss +63 -0
  79. package/es/components/Carousel/style/css.js +2 -0
  80. package/es/components/Carousel/style/index.d.ts +1 -0
  81. package/es/components/Carousel/style/index.js +2 -0
  82. package/es/components/Checkbox/BaseCheckbox.d.ts +6 -0
  83. package/es/components/Checkbox/BaseCheckbox.js +84 -0
  84. package/es/components/Checkbox/Checkbox.d.ts +6 -0
  85. package/es/components/Checkbox/Checkbox.js +120 -0
  86. package/es/components/Checkbox/CheckboxGroup.d.ts +5 -0
  87. package/es/components/Checkbox/CheckboxGroup.js +140 -0
  88. package/es/components/Checkbox/CheckboxGroupContext.d.ts +14 -0
  89. package/es/components/Checkbox/CheckboxGroupContext.js +3 -0
  90. package/es/components/Checkbox/constants.d.ts +7 -0
  91. package/es/components/Checkbox/constants.js +8 -0
  92. package/es/components/Checkbox/index.d.ts +10 -0
  93. package/es/components/Checkbox/index.js +10 -0
  94. package/es/components/Checkbox/interface.d.ts +77 -0
  95. package/es/components/Checkbox/interface.js +2 -0
  96. package/es/components/Checkbox/style/Checkbox.css +1 -0
  97. package/es/components/Checkbox/style/Checkbox.scss +235 -0
  98. package/es/components/Checkbox/style/css.js +2 -0
  99. package/es/components/Checkbox/style/index.d.ts +1 -0
  100. package/es/components/Checkbox/style/index.js +2 -0
  101. package/es/components/CoachMark/CoachMark.d.ts +4 -0
  102. package/es/components/CoachMark/CoachMark.js +142 -0
  103. package/es/components/CoachMark/index.d.ts +4 -0
  104. package/es/components/CoachMark/index.js +5 -0
  105. package/es/components/CoachMark/interface.d.ts +47 -0
  106. package/es/components/CoachMark/interface.js +2 -0
  107. package/es/components/CoachMark/style/CoachMark.css +1 -0
  108. package/es/components/CoachMark/style/CoachMark.scss +176 -0
  109. package/es/components/CoachMark/style/css.js +5 -0
  110. package/es/components/CoachMark/style/index.d.ts +4 -0
  111. package/es/components/CoachMark/style/index.js +5 -0
  112. package/es/components/Copy/Copy.d.ts +6 -0
  113. package/es/components/Copy/Copy.js +70 -0
  114. package/es/components/Copy/index.d.ts +4 -0
  115. package/es/components/Copy/index.js +5 -0
  116. package/es/components/Copy/interface.d.ts +20 -0
  117. package/es/components/Copy/interface.js +2 -0
  118. package/es/components/Copy/style/Copy.css +1 -0
  119. package/es/components/Copy/style/Copy.scss +35 -0
  120. package/es/components/Copy/style/css.js +2 -0
  121. package/es/components/Copy/style/index.d.ts +1 -0
  122. package/es/components/Copy/style/index.js +2 -0
  123. package/es/components/Divider/Divider.d.ts +4 -0
  124. package/es/components/Divider/Divider.js +53 -0
  125. package/es/components/Divider/index.d.ts +4 -0
  126. package/es/components/Divider/index.js +5 -0
  127. package/es/components/Divider/interface.d.ts +20 -0
  128. package/es/components/Divider/interface.js +2 -0
  129. package/es/components/Divider/style/Divider.css +1 -0
  130. package/es/components/Divider/style/Divider.scss +149 -0
  131. package/es/components/Divider/style/css.js +2 -0
  132. package/es/components/Divider/style/index.d.ts +1 -0
  133. package/es/components/Divider/style/index.js +2 -0
  134. package/es/components/Drawer/Drawer.d.ts +4 -0
  135. package/es/components/Drawer/Drawer.js +271 -0
  136. package/es/components/Drawer/constants.d.ts +15 -0
  137. package/es/components/Drawer/constants.js +16 -0
  138. package/es/components/Drawer/index.d.ts +3 -0
  139. package/es/components/Drawer/index.js +4 -0
  140. package/es/components/Drawer/interface.d.ts +79 -0
  141. package/es/components/Drawer/interface.js +2 -0
  142. package/es/components/Drawer/style/Drawer.css +1 -0
  143. package/es/components/Drawer/style/Drawer.scss +163 -0
  144. package/es/components/Drawer/style/css.js +2 -0
  145. package/es/components/Drawer/style/index.d.ts +1 -0
  146. package/es/components/Drawer/style/index.js +2 -0
  147. package/es/components/Dropdown/Dropdown.d.ts +5 -0
  148. package/es/components/Dropdown/Dropdown.js +24 -0
  149. package/es/components/Dropdown/index.d.ts +3 -0
  150. package/es/components/Dropdown/index.js +4 -0
  151. package/es/components/Dropdown/interface.d.ts +8 -0
  152. package/es/components/Dropdown/interface.js +2 -0
  153. package/es/components/Dropdown/style/Dropdown.css +0 -0
  154. package/es/components/Dropdown/style/Dropdown.scss +2 -0
  155. package/es/components/Dropdown/style/css.js +3 -0
  156. package/es/components/Dropdown/style/index.d.ts +2 -0
  157. package/es/components/Dropdown/style/index.js +3 -0
  158. package/es/components/Empty/Empty.d.ts +6 -0
  159. package/es/components/Empty/Empty.js +68 -0
  160. package/es/components/Empty/index.d.ts +4 -0
  161. package/es/components/Empty/index.js +5 -0
  162. package/es/components/Empty/interface.d.ts +11 -0
  163. package/es/components/Empty/interface.js +2 -0
  164. package/es/components/Empty/style/Empty.css +1 -0
  165. package/es/components/Empty/style/Empty.scss +53 -0
  166. package/es/components/Empty/style/css.js +3 -0
  167. package/es/components/Empty/style/index.d.ts +2 -0
  168. package/es/components/Empty/style/index.js +3 -0
  169. package/es/components/Flex/Flex.d.ts +5 -0
  170. package/es/components/Flex/Flex.js +50 -0
  171. package/es/components/Flex/constants.d.ts +41 -0
  172. package/es/components/Flex/constants.js +45 -0
  173. package/es/components/Flex/index.d.ts +5 -0
  174. package/es/components/Flex/index.js +6 -0
  175. package/es/components/Flex/interface.d.ts +13 -0
  176. package/es/components/Flex/interface.js +2 -0
  177. package/es/components/Flex/style/Flex.css +1 -0
  178. package/es/components/Flex/style/Flex.scss +70 -0
  179. package/es/components/Flex/style/css.js +2 -0
  180. package/es/components/Flex/style/index.d.ts +1 -0
  181. package/es/components/Flex/style/index.js +2 -0
  182. package/es/components/Form/Form.d.ts +4 -0
  183. package/es/components/Form/Form.js +73 -0
  184. package/es/components/Form/FormItem.d.ts +4 -0
  185. package/es/components/Form/FormItem.js +183 -0
  186. package/es/components/Form/constants.d.ts +19 -0
  187. package/es/components/Form/constants.js +19 -0
  188. package/es/components/Form/context.d.ts +5 -0
  189. package/es/components/Form/context.js +19 -0
  190. package/es/components/Form/hooks/useForm.d.ts +3 -0
  191. package/es/components/Form/hooks/useForm.js +541 -0
  192. package/es/components/Form/hooks/useFormCore.d.ts +3 -0
  193. package/es/components/Form/hooks/useFormCore.js +348 -0
  194. package/es/components/Form/index.d.ts +10 -0
  195. package/es/components/Form/index.js +17 -0
  196. package/es/components/Form/interface.d.ts +166 -0
  197. package/es/components/Form/interface.js +2 -0
  198. package/es/components/Form/style/Form.css +1 -0
  199. package/es/components/Form/style/Form.scss +57 -0
  200. package/es/components/Form/style/css.js +2 -0
  201. package/es/components/Form/style/index.d.ts +1 -0
  202. package/es/components/Form/style/index.js +2 -0
  203. package/es/components/Grid/Col.d.ts +4 -0
  204. package/es/components/Grid/Col.js +83 -0
  205. package/es/components/Grid/Grid.d.ts +10 -0
  206. package/es/components/Grid/Grid.js +15 -0
  207. package/es/components/Grid/Row.d.ts +4 -0
  208. package/es/components/Grid/Row.js +41 -0
  209. package/es/components/Grid/constants.d.ts +48 -0
  210. package/es/components/Grid/constants.js +71 -0
  211. package/es/components/Grid/helper.d.ts +15 -0
  212. package/es/components/Grid/helper.js +87 -0
  213. package/es/components/Grid/index.d.ts +7 -0
  214. package/es/components/Grid/index.js +8 -0
  215. package/es/components/Grid/interface.d.ts +38 -0
  216. package/es/components/Grid/interface.js +2 -0
  217. package/es/components/Grid/style/Grid.css +1 -0
  218. package/es/components/Grid/style/Grid.scss +184 -0
  219. package/es/components/Grid/style/css.js +2 -0
  220. package/es/components/Grid/style/index.d.ts +1 -0
  221. package/es/components/Grid/style/index.js +2 -0
  222. package/es/components/Icons/Icons.d.ts +192 -0
  223. package/es/components/Icons/Icons.js +192 -0
  224. package/es/components/Icons/Illustrations.d.ts +18 -0
  225. package/es/components/Icons/Illustrations.js +874 -0
  226. package/es/components/Icons/Logo.d.ts +36 -0
  227. package/es/components/Icons/Logo.js +209 -0
  228. package/es/components/Icons/SVGs.d.ts +265 -0
  229. package/es/components/Icons/SVGs.js +1918 -0
  230. package/es/components/Icons/Wrapper.d.ts +6 -0
  231. package/es/components/Icons/Wrapper.js +100 -0
  232. package/es/components/Icons/index.d.ts +4 -0
  233. package/es/components/Icons/index.js +4 -0
  234. package/es/components/Icons/interface.d.ts +27 -0
  235. package/es/components/Icons/interface.js +2 -0
  236. package/es/components/Icons/style/Icons.css +1 -0
  237. package/es/components/Icons/style/Icons.scss +85 -0
  238. package/es/components/Icons/style/css.js +2 -0
  239. package/es/components/Icons/style/index.d.ts +1 -0
  240. package/es/components/Icons/style/index.js +2 -0
  241. package/es/components/Input/Amount/Amount.d.ts +6 -0
  242. package/es/components/Input/Amount/Amount.js +192 -0
  243. package/es/components/Input/Amount/helper.d.ts +35 -0
  244. package/es/components/Input/Amount/helper.js +95 -0
  245. package/es/components/Input/Amount/index.d.ts +3 -0
  246. package/es/components/Input/Amount/index.js +4 -0
  247. package/es/components/Input/Amount/style/Amount.css +1 -0
  248. package/es/components/Input/Amount/style/Amount.scss +89 -0
  249. package/es/components/Input/Amount/style/css.js +2 -0
  250. package/es/components/Input/Amount/style/index.d.ts +1 -0
  251. package/es/components/Input/Amount/style/index.js +2 -0
  252. package/es/components/Input/FieldShell/FieldShell.css +1 -0
  253. package/es/components/Input/FieldShell/FieldShell.d.ts +19 -0
  254. package/es/components/Input/FieldShell/FieldShell.js +76 -0
  255. package/es/components/Input/FieldShell/FieldShell.scss +62 -0
  256. package/es/components/Input/FieldShell/index.d.ts +3 -0
  257. package/es/components/Input/FieldShell/index.js +3 -0
  258. package/es/components/Input/Input/Input.css +1 -0
  259. package/es/components/Input/Input/Input.d.ts +3 -0
  260. package/es/components/Input/Input/Input.js +158 -0
  261. package/es/components/Input/Input/Input.scss +131 -0
  262. package/es/components/Input/Input/index.d.ts +2 -0
  263. package/es/components/Input/Input/index.js +3 -0
  264. package/es/components/Input/Mask/Mask.d.ts +5 -0
  265. package/es/components/Input/Mask/Mask.js +337 -0
  266. package/es/components/Input/Mask/index.d.ts +2 -0
  267. package/es/components/Input/Mask/index.js +3 -0
  268. package/es/components/Input/OTP/OTP.css +1 -0
  269. package/es/components/Input/OTP/OTP.d.ts +5 -0
  270. package/es/components/Input/OTP/OTP.js +150 -0
  271. package/es/components/Input/OTP/OTP.scss +75 -0
  272. package/es/components/Input/OTP/index.d.ts +2 -0
  273. package/es/components/Input/OTP/index.js +3 -0
  274. package/es/components/Input/Password/Password.d.ts +5 -0
  275. package/es/components/Input/Password/Password.js +121 -0
  276. package/es/components/Input/Password/index.d.ts +2 -0
  277. package/es/components/Input/Password/index.js +3 -0
  278. package/es/components/Input/Search/Search.d.ts +5 -0
  279. package/es/components/Input/Search/Search.js +144 -0
  280. package/es/components/Input/Search/index.d.ts +2 -0
  281. package/es/components/Input/Search/index.js +3 -0
  282. package/es/components/Input/TextArea/TextArea.css +1 -0
  283. package/es/components/Input/TextArea/TextArea.d.ts +5 -0
  284. package/es/components/Input/TextArea/TextArea.js +93 -0
  285. package/es/components/Input/TextArea/TextArea.scss +87 -0
  286. package/es/components/Input/TextArea/index.d.ts +2 -0
  287. package/es/components/Input/TextArea/index.js +3 -0
  288. package/es/components/Input/Trade/Trade.css +1 -0
  289. package/es/components/Input/Trade/Trade.d.ts +5 -0
  290. package/es/components/Input/Trade/Trade.js +130 -0
  291. package/es/components/Input/Trade/Trade.scss +184 -0
  292. package/es/components/Input/Trade/index.d.ts +2 -0
  293. package/es/components/Input/Trade/index.js +3 -0
  294. package/es/components/Input/constants.d.ts +15 -0
  295. package/es/components/Input/constants.js +16 -0
  296. package/es/components/Input/index.d.ts +4 -0
  297. package/es/components/Input/index.js +5 -0
  298. package/es/components/Input/interface.d.ts +153 -0
  299. package/es/components/Input/interface.js +2 -0
  300. package/es/components/Input/style/css.js +7 -0
  301. package/es/components/Input/style/index.d.ts +6 -0
  302. package/es/components/Input/style/index.js +7 -0
  303. package/es/components/Input/useAmountInput.d.ts +35 -0
  304. package/es/components/Input/useAmountInput.js +207 -0
  305. package/es/components/Input/useSyncRef.d.ts +2 -0
  306. package/es/components/Input/useSyncRef.js +13 -0
  307. package/es/components/Modal/Modal.d.ts +4 -0
  308. package/es/components/Modal/Modal.js +383 -0
  309. package/es/components/Modal/constants.d.ts +58 -0
  310. package/es/components/Modal/constants.js +55 -0
  311. package/es/components/Modal/index.d.ts +4 -0
  312. package/es/components/Modal/index.js +5 -0
  313. package/es/components/Modal/interface.d.ts +37 -0
  314. package/es/components/Modal/interface.js +2 -0
  315. package/es/components/Modal/style/Modal.css +1 -0
  316. package/es/components/Modal/style/Modal.scss +254 -0
  317. package/es/components/Modal/style/css.js +2 -0
  318. package/es/components/Modal/style/index.d.ts +1 -0
  319. package/es/components/Modal/style/index.js +2 -0
  320. package/es/components/Navigation/Nav.d.ts +5 -0
  321. package/es/components/Navigation/Nav.js +198 -0
  322. package/es/components/Navigation/Navigation.d.ts +5 -0
  323. package/es/components/Navigation/Navigation.js +299 -0
  324. package/es/components/Navigation/NavigationLogo.d.ts +7 -0
  325. package/es/components/Navigation/NavigationLogo.js +36 -0
  326. package/es/components/Navigation/index.d.ts +5 -0
  327. package/es/components/Navigation/index.js +6 -0
  328. package/es/components/Navigation/interface.d.ts +95 -0
  329. package/es/components/Navigation/interface.js +2 -0
  330. package/es/components/Navigation/style/Nav.css +1 -0
  331. package/es/components/Navigation/style/Nav.scss +174 -0
  332. package/es/components/Navigation/style/Navigation.css +1 -0
  333. package/es/components/Navigation/style/Navigation.scss +443 -0
  334. package/es/components/Navigation/style/css.js +3 -0
  335. package/es/components/Navigation/style/index.d.ts +2 -0
  336. package/es/components/Navigation/style/index.js +3 -0
  337. package/es/components/Notification/Notification.d.ts +6 -0
  338. package/es/components/Notification/Notification.js +114 -0
  339. package/es/components/Notification/NotificationStatic.d.ts +4 -0
  340. package/es/components/Notification/NotificationStatic.js +501 -0
  341. package/es/components/Notification/constants.d.ts +5 -0
  342. package/es/components/Notification/constants.js +7 -0
  343. package/es/components/Notification/index.d.ts +5 -0
  344. package/es/components/Notification/index.js +5 -0
  345. package/es/components/Notification/interface.d.ts +70 -0
  346. package/es/components/Notification/interface.js +7 -0
  347. package/es/components/Notification/style/Notification.css +1 -0
  348. package/es/components/Notification/style/Notification.scss +200 -0
  349. package/es/components/Notification/style/css.js +2 -0
  350. package/es/components/Notification/style/index.d.ts +1 -0
  351. package/es/components/Notification/style/index.js +2 -0
  352. package/es/components/Pagination/Pagination.d.ts +5 -0
  353. package/es/components/Pagination/Pagination.js +137 -0
  354. package/es/components/Pagination/constants.d.ts +53 -0
  355. package/es/components/Pagination/constants.js +56 -0
  356. package/es/components/Pagination/index.d.ts +6 -0
  357. package/es/components/Pagination/index.js +7 -0
  358. package/es/components/Pagination/interface.d.ts +54 -0
  359. package/es/components/Pagination/interface.js +2 -0
  360. package/es/components/Pagination/style/Pagination.css +1 -0
  361. package/es/components/Pagination/style/Pagination.scss +95 -0
  362. package/es/components/Pagination/style/css.js +2 -0
  363. package/es/components/Pagination/style/index.d.ts +1 -0
  364. package/es/components/Pagination/style/index.js +2 -0
  365. package/es/components/Pagination/usePagination.d.ts +3 -0
  366. package/es/components/Pagination/usePagination.js +154 -0
  367. package/es/components/Popconfirm/Popconfirm.d.ts +6 -0
  368. package/es/components/Popconfirm/Popconfirm.js +131 -0
  369. package/es/components/Popconfirm/constants.d.ts +72 -0
  370. package/es/components/Popconfirm/constants.js +71 -0
  371. package/es/components/Popconfirm/index.d.ts +4 -0
  372. package/es/components/Popconfirm/index.js +5 -0
  373. package/es/components/Popconfirm/interface.d.ts +40 -0
  374. package/es/components/Popconfirm/interface.js +2 -0
  375. package/es/components/Popconfirm/style/Popconfirm.css +1 -0
  376. package/es/components/Popconfirm/style/Popconfirm.scss +264 -0
  377. package/es/components/Popconfirm/style/css.js +5 -0
  378. package/es/components/Popconfirm/style/index.d.ts +4 -0
  379. package/es/components/Popconfirm/style/index.js +5 -0
  380. package/es/components/Portal/Portal.d.ts +3 -0
  381. package/es/components/Portal/Portal.js +54 -0
  382. package/es/components/Portal/index.d.ts +4 -0
  383. package/es/components/Portal/index.js +5 -0
  384. package/es/components/Portal/interface.d.ts +7 -0
  385. package/es/components/Portal/interface.js +2 -0
  386. package/es/components/ProForm/ProForm.d.ts +3 -0
  387. package/es/components/ProForm/ProForm.js +254 -0
  388. package/es/components/ProForm/ProFormDependency.d.ts +3 -0
  389. package/es/components/ProForm/ProFormDependency.js +69 -0
  390. package/es/components/ProForm/ProFormGroup.d.ts +3 -0
  391. package/es/components/ProForm/ProFormGroup.js +78 -0
  392. package/es/components/ProForm/ProFormList.d.ts +3 -0
  393. package/es/components/ProForm/ProFormList.js +253 -0
  394. package/es/components/ProForm/Submitter.d.ts +6 -0
  395. package/es/components/ProForm/Submitter.js +67 -0
  396. package/es/components/ProForm/constants.d.ts +18 -0
  397. package/es/components/ProForm/constants.js +23 -0
  398. package/es/components/ProForm/context.d.ts +5 -0
  399. package/es/components/ProForm/context.js +26 -0
  400. package/es/components/ProForm/fields/ProFormCheckbox.d.ts +3 -0
  401. package/es/components/ProForm/fields/ProFormCheckbox.js +11 -0
  402. package/es/components/ProForm/fields/ProFormCheckboxGroup.d.ts +3 -0
  403. package/es/components/ProForm/fields/ProFormCheckboxGroup.js +12 -0
  404. package/es/components/ProForm/fields/ProFormDatePicker.d.ts +3 -0
  405. package/es/components/ProForm/fields/ProFormDatePicker.js +23 -0
  406. package/es/components/ProForm/fields/ProFormFieldSet.d.ts +4 -0
  407. package/es/components/ProForm/fields/ProFormFieldSet.js +62 -0
  408. package/es/components/ProForm/fields/ProFormPassword.d.ts +3 -0
  409. package/es/components/ProForm/fields/ProFormPassword.js +11 -0
  410. package/es/components/ProForm/fields/ProFormRadioGroup.d.ts +3 -0
  411. package/es/components/ProForm/fields/ProFormRadioGroup.js +10 -0
  412. package/es/components/ProForm/fields/ProFormSelect.d.ts +3 -0
  413. package/es/components/ProForm/fields/ProFormSelect.js +40 -0
  414. package/es/components/ProForm/fields/ProFormSlider.d.ts +3 -0
  415. package/es/components/ProForm/fields/ProFormSlider.js +10 -0
  416. package/es/components/ProForm/fields/ProFormSwitch.d.ts +3 -0
  417. package/es/components/ProForm/fields/ProFormSwitch.js +11 -0
  418. package/es/components/ProForm/fields/ProFormText.d.ts +3 -0
  419. package/es/components/ProForm/fields/ProFormText.js +10 -0
  420. package/es/components/ProForm/fields/ProFormTextArea.d.ts +3 -0
  421. package/es/components/ProForm/fields/ProFormTextArea.js +10 -0
  422. package/es/components/ProForm/fields/ProFormUpload.d.ts +3 -0
  423. package/es/components/ProForm/fields/ProFormUpload.js +25 -0
  424. package/es/components/ProForm/fields/createProFormField.d.ts +4 -0
  425. package/es/components/ProForm/fields/createProFormField.js +229 -0
  426. package/es/components/ProForm/fields/index.d.ts +13 -0
  427. package/es/components/ProForm/fields/index.js +14 -0
  428. package/es/components/ProForm/hooks/useFieldRequest.d.ts +7 -0
  429. package/es/components/ProForm/hooks/useFieldRequest.js +90 -0
  430. package/es/components/ProForm/index.d.ts +30 -0
  431. package/es/components/ProForm/index.js +37 -0
  432. package/es/components/ProForm/interface.d.ts +240 -0
  433. package/es/components/ProForm/interface.js +2 -0
  434. package/es/components/ProForm/layouts/DrawerForm.d.ts +3 -0
  435. package/es/components/ProForm/layouts/DrawerForm.js +73 -0
  436. package/es/components/ProForm/layouts/ModalForm.d.ts +3 -0
  437. package/es/components/ProForm/layouts/ModalForm.js +74 -0
  438. package/es/components/ProForm/layouts/QueryFilter.d.ts +4 -0
  439. package/es/components/ProForm/layouts/QueryFilter.js +158 -0
  440. package/es/components/ProForm/layouts/index.d.ts +4 -0
  441. package/es/components/ProForm/layouts/index.js +5 -0
  442. package/es/components/ProForm/layouts/useOverlayForm.d.ts +17 -0
  443. package/es/components/ProForm/layouts/useOverlayForm.js +107 -0
  444. package/es/components/ProForm/style/ProForm.css +1 -0
  445. package/es/components/ProForm/style/ProForm.scss +118 -0
  446. package/es/components/ProForm/style/css.js +2 -0
  447. package/es/components/ProForm/style/index.d.ts +1 -0
  448. package/es/components/ProForm/style/index.js +2 -0
  449. package/es/components/ProForm/utils.d.ts +22 -0
  450. package/es/components/ProForm/utils.js +211 -0
  451. package/es/components/Progress/Progress.d.ts +6 -0
  452. package/es/components/Progress/Progress.js +94 -0
  453. package/es/components/Progress/constants.d.ts +26 -0
  454. package/es/components/Progress/constants.js +32 -0
  455. package/es/components/Progress/index.d.ts +5 -0
  456. package/es/components/Progress/index.js +6 -0
  457. package/es/components/Progress/interface.d.ts +26 -0
  458. package/es/components/Progress/interface.js +2 -0
  459. package/es/components/Progress/style/Progress.css +1 -0
  460. package/es/components/Progress/style/Progress.scss +120 -0
  461. package/es/components/Progress/style/css.js +2 -0
  462. package/es/components/Progress/style/index.d.ts +1 -0
  463. package/es/components/Progress/style/index.js +2 -0
  464. package/es/components/Radio/BaseRadio.d.ts +16 -0
  465. package/es/components/Radio/BaseRadio.js +58 -0
  466. package/es/components/Radio/Radio.d.ts +6 -0
  467. package/es/components/Radio/Radio.js +179 -0
  468. package/es/components/Radio/RadioGroup.d.ts +5 -0
  469. package/es/components/Radio/RadioGroup.js +100 -0
  470. package/es/components/Radio/RadioGroupContext.d.ts +22 -0
  471. package/es/components/Radio/RadioGroupContext.js +7 -0
  472. package/es/components/Radio/constants.d.ts +36 -0
  473. package/es/components/Radio/constants.js +63 -0
  474. package/es/components/Radio/index.d.ts +5 -0
  475. package/es/components/Radio/index.js +6 -0
  476. package/es/components/Radio/interface.d.ts +115 -0
  477. package/es/components/Radio/interface.js +2 -0
  478. package/es/components/Radio/style/Radio.css +1 -0
  479. package/es/components/Radio/style/Radio.scss +431 -0
  480. package/es/components/Radio/style/css.js +3 -0
  481. package/es/components/Radio/style/index.d.ts +2 -0
  482. package/es/components/Radio/style/index.js +3 -0
  483. package/es/components/ResizeObserver/Collection.d.ts +19 -0
  484. package/es/components/ResizeObserver/Collection.js +41 -0
  485. package/es/components/ResizeObserver/ResizeObserver.d.ts +7 -0
  486. package/es/components/ResizeObserver/ResizeObserver.js +31 -0
  487. package/es/components/ResizeObserver/SingleObserver/index.d.ts +7 -0
  488. package/es/components/ResizeObserver/SingleObserver/index.js +38 -0
  489. package/es/components/ResizeObserver/index.d.ts +7 -0
  490. package/es/components/ResizeObserver/index.js +6 -0
  491. package/es/components/ResizeObserver/interface.d.ts +16 -0
  492. package/es/components/ResizeObserver/interface.js +2 -0
  493. package/es/components/ResizeObserver/useResizeObserver.d.ts +2 -0
  494. package/es/components/ResizeObserver/useResizeObserver.js +70 -0
  495. package/es/components/ResizeObserver/utils/observerUtil.d.ts +7 -0
  496. package/es/components/ResizeObserver/utils/observerUtil.js +39 -0
  497. package/es/components/ResizeObserver/utils/reactUtil.d.ts +19 -0
  498. package/es/components/ResizeObserver/utils/reactUtil.js +78 -0
  499. package/es/components/Segment/Segment.d.ts +6 -0
  500. package/es/components/Segment/Segment.js +100 -0
  501. package/es/components/Segment/index.d.ts +4 -0
  502. package/es/components/Segment/index.js +5 -0
  503. package/es/components/Segment/interface.d.ts +23 -0
  504. package/es/components/Segment/interface.js +2 -0
  505. package/es/components/Segment/style/Segment.css +1 -0
  506. package/es/components/Segment/style/Segment.scss +80 -0
  507. package/es/components/Segment/style/css.js +2 -0
  508. package/es/components/Segment/style/index.d.ts +1 -0
  509. package/es/components/Segment/style/index.js +2 -0
  510. package/es/components/Select/Select.d.ts +6 -0
  511. package/es/components/Select/Select.js +520 -0
  512. package/es/components/Select/SelectFieldShell.d.ts +22 -0
  513. package/es/components/Select/SelectFieldShell.js +73 -0
  514. package/es/components/Select/SelectOptionContent.d.ts +9 -0
  515. package/es/components/Select/SelectOptionContent.js +36 -0
  516. package/es/components/Select/SelectSearchControl.d.ts +12 -0
  517. package/es/components/Select/SelectSearchControl.js +38 -0
  518. package/es/components/Select/SelectValueContent.d.ts +18 -0
  519. package/es/components/Select/SelectValueContent.js +99 -0
  520. package/es/components/Select/constants.d.ts +14 -0
  521. package/es/components/Select/constants.js +20 -0
  522. package/es/components/Select/index.d.ts +4 -0
  523. package/es/components/Select/index.js +5 -0
  524. package/es/components/Select/interface.d.ts +83 -0
  525. package/es/components/Select/interface.js +4 -0
  526. package/es/components/Select/style/Select.css +1 -0
  527. package/es/components/Select/style/Select.scss +480 -0
  528. package/es/components/Select/style/css.js +4 -0
  529. package/es/components/Select/style/index.d.ts +3 -0
  530. package/es/components/Select/style/index.js +4 -0
  531. package/es/components/Select/utils.d.ts +21 -0
  532. package/es/components/Select/utils.js +140 -0
  533. package/es/components/Skeleton/Skeleton.d.ts +6 -0
  534. package/es/components/Skeleton/Skeleton.js +49 -0
  535. package/es/components/Skeleton/index.d.ts +4 -0
  536. package/es/components/Skeleton/index.js +5 -0
  537. package/es/components/Skeleton/interface.d.ts +19 -0
  538. package/es/components/Skeleton/interface.js +2 -0
  539. package/es/components/Skeleton/style/Skeleton.css +1 -0
  540. package/es/components/Skeleton/style/Skeleton.scss +47 -0
  541. package/es/components/Skeleton/style/css.js +2 -0
  542. package/es/components/Skeleton/style/index.d.ts +1 -0
  543. package/es/components/Skeleton/style/index.js +2 -0
  544. package/es/components/Slider/Slider.d.ts +6 -0
  545. package/es/components/Slider/Slider.js +116 -0
  546. package/es/components/Slider/index.d.ts +4 -0
  547. package/es/components/Slider/index.js +5 -0
  548. package/es/components/Slider/interface.d.ts +39 -0
  549. package/es/components/Slider/interface.js +2 -0
  550. package/es/components/Slider/style/Slider.css +1 -0
  551. package/es/components/Slider/style/Slider.scss +182 -0
  552. package/es/components/Slider/style/css.js +2 -0
  553. package/es/components/Slider/style/index.d.ts +1 -0
  554. package/es/components/Slider/style/index.js +2 -0
  555. package/es/components/Space/Space.d.ts +5 -0
  556. package/es/components/Space/Space.js +78 -0
  557. package/es/components/Space/constants.d.ts +33 -0
  558. package/es/components/Space/constants.js +37 -0
  559. package/es/components/Space/index.d.ts +5 -0
  560. package/es/components/Space/index.js +6 -0
  561. package/es/components/Space/interface.d.ts +12 -0
  562. package/es/components/Space/interface.js +2 -0
  563. package/es/components/Space/style/Space.css +1 -0
  564. package/es/components/Space/style/Space.scss +40 -0
  565. package/es/components/Space/style/css.js +2 -0
  566. package/es/components/Space/style/index.d.ts +1 -0
  567. package/es/components/Space/style/index.js +2 -0
  568. package/es/components/Spinner/Spinner.d.ts +6 -0
  569. package/es/components/Spinner/Spinner.js +83 -0
  570. package/es/components/Spinner/index.d.ts +4 -0
  571. package/es/components/Spinner/index.js +5 -0
  572. package/es/components/Spinner/interface.d.ts +14 -0
  573. package/es/components/Spinner/interface.js +2 -0
  574. package/es/components/Spinner/style/Spinner.css +1 -0
  575. package/es/components/Spinner/style/Spinner.scss +90 -0
  576. package/es/components/Spinner/style/css.js +2 -0
  577. package/es/components/Spinner/style/index.d.ts +1 -0
  578. package/es/components/Spinner/style/index.js +2 -0
  579. package/es/components/Step/Step.d.ts +5 -0
  580. package/es/components/Step/Step.js +116 -0
  581. package/es/components/Step/constants.d.ts +59 -0
  582. package/es/components/Step/constants.js +65 -0
  583. package/es/components/Step/index.d.ts +4 -0
  584. package/es/components/Step/index.js +5 -0
  585. package/es/components/Step/interface.d.ts +22 -0
  586. package/es/components/Step/interface.js +2 -0
  587. package/es/components/Step/style/Step.css +1 -0
  588. package/es/components/Step/style/Step.scss +91 -0
  589. package/es/components/Step/style/css.js +2 -0
  590. package/es/components/Step/style/index.d.ts +1 -0
  591. package/es/components/Step/style/index.js +2 -0
  592. package/es/components/Switch/Switch.d.ts +6 -0
  593. package/es/components/Switch/Switch.js +93 -0
  594. package/es/components/Switch/constants.d.ts +11 -0
  595. package/es/components/Switch/constants.js +12 -0
  596. package/es/components/Switch/index.d.ts +5 -0
  597. package/es/components/Switch/index.js +6 -0
  598. package/es/components/Switch/interface.d.ts +26 -0
  599. package/es/components/Switch/interface.js +2 -0
  600. package/es/components/Switch/style/Switch.css +1 -0
  601. package/es/components/Switch/style/Switch.scss +126 -0
  602. package/es/components/Switch/style/css.js +3 -0
  603. package/es/components/Switch/style/index.d.ts +2 -0
  604. package/es/components/Switch/style/index.js +3 -0
  605. package/es/components/Table/Table.d.ts +10 -0
  606. package/es/components/Table/Table.js +164 -0
  607. package/es/components/Table/VirtualTable.d.ts +9 -0
  608. package/es/components/Table/VirtualTable.js +166 -0
  609. package/es/components/Table/constants.d.ts +4 -0
  610. package/es/components/Table/constants.js +5 -0
  611. package/es/components/Table/core/useTableColumns.d.ts +34 -0
  612. package/es/components/Table/core/useTableColumns.js +191 -0
  613. package/es/components/Table/core/useTableDataPipeline.d.ts +50 -0
  614. package/es/components/Table/core/useTableDataPipeline.js +262 -0
  615. package/es/components/Table/core/useTableExpand.d.ts +9 -0
  616. package/es/components/Table/core/useTableExpand.js +38 -0
  617. package/es/components/Table/core/useTableSelection.d.ts +17 -0
  618. package/es/components/Table/core/useTableSelection.js +144 -0
  619. package/es/components/Table/features/ExpandTrigger.d.ts +4 -0
  620. package/es/components/Table/features/ExpandTrigger.js +24 -0
  621. package/es/components/Table/features/SelectionColumn.d.ts +11 -0
  622. package/es/components/Table/features/SelectionColumn.js +41 -0
  623. package/es/components/Table/features/SortTrigger.d.ts +7 -0
  624. package/es/components/Table/features/SortTrigger.js +26 -0
  625. package/es/components/Table/index.d.ts +6 -0
  626. package/es/components/Table/index.js +7 -0
  627. package/es/components/Table/interface.d.ts +179 -0
  628. package/es/components/Table/interface.js +2 -0
  629. package/es/components/Table/internal/index.d.ts +3 -0
  630. package/es/components/Table/internal/index.js +3 -0
  631. package/es/components/Table/internal/kernel/Body/BodyRow.d.ts +37 -0
  632. package/es/components/Table/internal/kernel/Body/BodyRow.js +174 -0
  633. package/es/components/Table/internal/kernel/Body/ExpandedRow.d.ts +15 -0
  634. package/es/components/Table/internal/kernel/Body/ExpandedRow.js +56 -0
  635. package/es/components/Table/internal/kernel/Body/MeasureCell.d.ts +8 -0
  636. package/es/components/Table/internal/kernel/Body/MeasureCell.js +39 -0
  637. package/es/components/Table/internal/kernel/Body/MeasureRow.d.ts +10 -0
  638. package/es/components/Table/internal/kernel/Body/MeasureRow.js +53 -0
  639. package/es/components/Table/internal/kernel/Body/index.d.ts +9 -0
  640. package/es/components/Table/internal/kernel/Body/index.js +124 -0
  641. package/es/components/Table/internal/kernel/Cell/index.d.ts +39 -0
  642. package/es/components/Table/internal/kernel/Cell/index.js +179 -0
  643. package/es/components/Table/internal/kernel/Cell/useCellRender.d.ts +3 -0
  644. package/es/components/Table/internal/kernel/Cell/useCellRender.js +63 -0
  645. package/es/components/Table/internal/kernel/Cell/useHoverState.d.ts +2 -0
  646. package/es/components/Table/internal/kernel/Cell/useHoverState.js +15 -0
  647. package/es/components/Table/internal/kernel/ColGroup.d.ts +8 -0
  648. package/es/components/Table/internal/kernel/ColGroup.js +56 -0
  649. package/es/components/Table/internal/kernel/FixedHolder/index.d.ts +27 -0
  650. package/es/components/Table/internal/kernel/FixedHolder/index.js +181 -0
  651. package/es/components/Table/internal/kernel/Footer/Cell.d.ts +11 -0
  652. package/es/components/Table/internal/kernel/Footer/Cell.js +50 -0
  653. package/es/components/Table/internal/kernel/Footer/Row.d.ts +8 -0
  654. package/es/components/Table/internal/kernel/Footer/Row.js +20 -0
  655. package/es/components/Table/internal/kernel/Footer/Summary.d.ts +14 -0
  656. package/es/components/Table/internal/kernel/Footer/Summary.js +13 -0
  657. package/es/components/Table/internal/kernel/Footer/SummaryContext.d.ts +11 -0
  658. package/es/components/Table/internal/kernel/Footer/SummaryContext.js +4 -0
  659. package/es/components/Table/internal/kernel/Footer/index.d.ts +16 -0
  660. package/es/components/Table/internal/kernel/Footer/index.js +36 -0
  661. package/es/components/Table/internal/kernel/Header/Header.d.ts +9 -0
  662. package/es/components/Table/internal/kernel/Header/Header.js +109 -0
  663. package/es/components/Table/internal/kernel/Header/HeaderRow.d.ts +18 -0
  664. package/es/components/Table/internal/kernel/Header/HeaderRow.js +60 -0
  665. package/es/components/Table/internal/kernel/Panel/index.d.ts +7 -0
  666. package/es/components/Table/internal/kernel/Panel/index.js +15 -0
  667. package/es/components/Table/internal/kernel/Table.d.ts +126 -0
  668. package/es/components/Table/internal/kernel/Table.js +692 -0
  669. package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +13 -0
  670. package/es/components/Table/internal/kernel/VirtualTable/BodyGrid.js +287 -0
  671. package/es/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +14 -0
  672. package/es/components/Table/internal/kernel/VirtualTable/BodyLine.js +113 -0
  673. package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +26 -0
  674. package/es/components/Table/internal/kernel/VirtualTable/VirtualCell.js +105 -0
  675. package/es/components/Table/internal/kernel/VirtualTable/context.d.ts +13 -0
  676. package/es/components/Table/internal/kernel/VirtualTable/context.js +5 -0
  677. package/es/components/Table/internal/kernel/VirtualTable/index.d.ts +17 -0
  678. package/es/components/Table/internal/kernel/VirtualTable/index.js +91 -0
  679. package/es/components/Table/internal/kernel/constant.d.ts +2 -0
  680. package/es/components/Table/internal/kernel/constant.js +4 -0
  681. package/es/components/Table/internal/kernel/context/PerfContext.d.ts +6 -0
  682. package/es/components/Table/internal/kernel/context/PerfContext.js +8 -0
  683. package/es/components/Table/internal/kernel/context/TableContext.d.ts +51 -0
  684. package/es/components/Table/internal/kernel/context/TableContext.js +10 -0
  685. package/es/components/Table/internal/kernel/hooks/useColumns/index.d.ts +31 -0
  686. package/es/components/Table/internal/kernel/hooks/useColumns/index.js +210 -0
  687. package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +5 -0
  688. package/es/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +69 -0
  689. package/es/components/Table/internal/kernel/hooks/useExpand.d.ts +10 -0
  690. package/es/components/Table/internal/kernel/hooks/useExpand.js +84 -0
  691. package/es/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +2 -0
  692. package/es/components/Table/internal/kernel/hooks/useFixedInfo.js +18 -0
  693. package/es/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +19 -0
  694. package/es/components/Table/internal/kernel/hooks/useFlattenRecords.js +54 -0
  695. package/es/components/Table/internal/kernel/hooks/useFrame.d.ts +7 -0
  696. package/es/components/Table/internal/kernel/hooks/useFrame.js +63 -0
  697. package/es/components/Table/internal/kernel/hooks/useHover.d.ts +2 -0
  698. package/es/components/Table/internal/kernel/hooks/useHover.js +19 -0
  699. package/es/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +5 -0
  700. package/es/components/Table/internal/kernel/hooks/useRenderTimes.js +41 -0
  701. package/es/components/Table/internal/kernel/hooks/useRowInfo.d.ts +11 -0
  702. package/es/components/Table/internal/kernel/hooks/useRowInfo.js +62 -0
  703. package/es/components/Table/internal/kernel/hooks/useSticky.d.ts +10 -0
  704. package/es/components/Table/internal/kernel/hooks/useSticky.js +33 -0
  705. package/es/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +6 -0
  706. package/es/components/Table/internal/kernel/hooks/useStickyOffsets.js +31 -0
  707. package/es/components/Table/internal/kernel/index.d.ts +12 -0
  708. package/es/components/Table/internal/kernel/index.js +11 -0
  709. package/es/components/Table/internal/kernel/interface.d.ts +202 -0
  710. package/es/components/Table/internal/kernel/interface.js +2 -0
  711. package/es/components/Table/internal/kernel/namePathType.d.ts +13 -0
  712. package/es/components/Table/internal/kernel/namePathType.js +3 -0
  713. package/es/components/Table/internal/kernel/selector-context/Immutable.d.ts +10 -0
  714. package/es/components/Table/internal/kernel/selector-context/Immutable.js +73 -0
  715. package/es/components/Table/internal/kernel/selector-context/context.d.ts +26 -0
  716. package/es/components/Table/internal/kernel/selector-context/context.js +83 -0
  717. package/es/components/Table/internal/kernel/selector-context/index.d.ts +7 -0
  718. package/es/components/Table/internal/kernel/selector-context/index.js +9 -0
  719. package/es/components/Table/internal/kernel/selector-context/isEqual.d.ts +5 -0
  720. package/es/components/Table/internal/kernel/selector-context/isEqual.js +48 -0
  721. package/es/components/Table/internal/kernel/stickyScrollBar.d.ts +12 -0
  722. package/es/components/Table/internal/kernel/stickyScrollBar.js +192 -0
  723. package/es/components/Table/internal/kernel/sugar/Column.d.ts +10 -0
  724. package/es/components/Table/internal/kernel/sugar/Column.js +11 -0
  725. package/es/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +12 -0
  726. package/es/components/Table/internal/kernel/sugar/ColumnGroup.js +11 -0
  727. package/es/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +1 -0
  728. package/es/components/Table/internal/kernel/utils/dom/canUseDom.js +4 -0
  729. package/es/components/Table/internal/kernel/utils/dom/isVisible.d.ts +2 -0
  730. package/es/components/Table/internal/kernel/utils/dom/isVisible.js +28 -0
  731. package/es/components/Table/internal/kernel/utils/expandUtil.d.ts +4 -0
  732. package/es/components/Table/internal/kernel/utils/expandUtil.js +47 -0
  733. package/es/components/Table/internal/kernel/utils/fixUtil.d.ts +21 -0
  734. package/es/components/Table/internal/kernel/utils/fixUtil.js +64 -0
  735. package/es/components/Table/internal/kernel/utils/get.d.ts +1 -0
  736. package/es/components/Table/internal/kernel/utils/get.js +11 -0
  737. package/es/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +7 -0
  738. package/es/components/Table/internal/kernel/utils/getScrollBarSize.js +38 -0
  739. package/es/components/Table/internal/kernel/utils/legacyUtil.d.ts +5 -0
  740. package/es/components/Table/internal/kernel/utils/legacyUtil.js +31 -0
  741. package/es/components/Table/internal/kernel/utils/offsetUtil.d.ts +4 -0
  742. package/es/components/Table/internal/kernel/utils/offsetUtil.js +14 -0
  743. package/es/components/Table/internal/kernel/utils/pickAttrs.d.ts +6 -0
  744. package/es/components/Table/internal/kernel/utils/pickAttrs.js +33 -0
  745. package/es/components/Table/internal/kernel/utils/useMemo.d.ts +1 -0
  746. package/es/components/Table/internal/kernel/utils/useMemo.js +10 -0
  747. package/es/components/Table/internal/kernel/utils/valueUtil.d.ts +8 -0
  748. package/es/components/Table/internal/kernel/utils/valueUtil.js +30 -0
  749. package/es/components/Table/internal/kernel/utils/warning.d.ts +4 -0
  750. package/es/components/Table/internal/kernel/utils/warning.js +17 -0
  751. package/es/components/Table/renderers/BodyCell.d.ts +15 -0
  752. package/es/components/Table/renderers/BodyCell.js +40 -0
  753. package/es/components/Table/renderers/CellContent.d.ts +4 -0
  754. package/es/components/Table/renderers/CellContent.js +26 -0
  755. package/es/components/Table/renderers/EmptyState.d.ts +4 -0
  756. package/es/components/Table/renderers/EmptyState.js +15 -0
  757. package/es/components/Table/renderers/ExpandedRowContainer.d.ts +4 -0
  758. package/es/components/Table/renderers/ExpandedRowContainer.js +10 -0
  759. package/es/components/Table/renderers/HeaderCell.d.ts +7 -0
  760. package/es/components/Table/renderers/HeaderCell.js +22 -0
  761. package/es/components/Table/style/Table.css +1 -0
  762. package/es/components/Table/style/Table.scss +376 -0
  763. package/es/components/Table/style/css.js +10 -0
  764. package/es/components/Table/style/index.d.ts +9 -0
  765. package/es/components/Table/style/index.js +10 -0
  766. package/es/components/Tabs/Tabs.d.ts +6 -0
  767. package/es/components/Tabs/Tabs.js +111 -0
  768. package/es/components/Tabs/index.d.ts +4 -0
  769. package/es/components/Tabs/index.js +5 -0
  770. package/es/components/Tabs/interface.d.ts +27 -0
  771. package/es/components/Tabs/interface.js +2 -0
  772. package/es/components/Tabs/style/Tabs.css +1 -0
  773. package/es/components/Tabs/style/Tabs.scss +100 -0
  774. package/es/components/Tabs/style/css.js +2 -0
  775. package/es/components/Tabs/style/index.d.ts +1 -0
  776. package/es/components/Tabs/style/index.js +2 -0
  777. package/es/components/Tag/Tag.d.ts +6 -0
  778. package/es/components/Tag/Tag.js +80 -0
  779. package/es/components/Tag/constants.d.ts +18 -0
  780. package/es/components/Tag/constants.js +28 -0
  781. package/es/components/Tag/index.d.ts +5 -0
  782. package/es/components/Tag/index.js +6 -0
  783. package/es/components/Tag/interface.d.ts +15 -0
  784. package/es/components/Tag/interface.js +2 -0
  785. package/es/components/Tag/style/Tag.css +1 -0
  786. package/es/components/Tag/style/Tag.scss +103 -0
  787. package/es/components/Tag/style/css.js +2 -0
  788. package/es/components/Tag/style/index.d.ts +1 -0
  789. package/es/components/Tag/style/index.js +2 -0
  790. package/es/components/Tooltip/Tooltip.d.ts +6 -0
  791. package/es/components/Tooltip/Tooltip.js +62 -0
  792. package/es/components/Tooltip/index.d.ts +4 -0
  793. package/es/components/Tooltip/index.js +5 -0
  794. package/es/components/Tooltip/interface.d.ts +20 -0
  795. package/es/components/Tooltip/interface.js +2 -0
  796. package/es/components/Tooltip/style/Tooltip.css +1 -0
  797. package/es/components/Tooltip/style/Tooltip.scss +95 -0
  798. package/es/components/Tooltip/style/css.js +2 -0
  799. package/es/components/Tooltip/style/index.d.ts +1 -0
  800. package/es/components/Tooltip/style/index.js +2 -0
  801. package/es/components/Tour/Tour.d.ts +3 -0
  802. package/es/components/Tour/Tour.js +243 -0
  803. package/es/components/Tour/index.d.ts +4 -0
  804. package/es/components/Tour/index.js +5 -0
  805. package/es/components/Tour/interface.d.ts +46 -0
  806. package/es/components/Tour/interface.js +2 -0
  807. package/es/components/Trigger/Trigger.d.ts +5 -0
  808. package/es/components/Trigger/Trigger.js +151 -0
  809. package/es/components/Trigger/index.d.ts +3 -0
  810. package/es/components/Trigger/index.js +4 -0
  811. package/es/components/Trigger/interface.d.ts +52 -0
  812. package/es/components/Trigger/interface.js +2 -0
  813. package/es/components/Trigger/style/Trigger.css +1 -0
  814. package/es/components/Trigger/style/Trigger.scss +18 -0
  815. package/es/components/Trigger/style/css.js +2 -0
  816. package/es/components/Trigger/style/index.d.ts +1 -0
  817. package/es/components/Trigger/style/index.js +2 -0
  818. package/es/components/Typography/Typography.d.ts +17 -0
  819. package/es/components/Typography/Typography.js +201 -0
  820. package/es/components/Typography/constants.d.ts +33 -0
  821. package/es/components/Typography/constants.js +9 -0
  822. package/es/components/Typography/index.d.ts +4 -0
  823. package/es/components/Typography/index.js +5 -0
  824. package/es/components/Typography/interface.d.ts +72 -0
  825. package/es/components/Typography/interface.js +22 -0
  826. package/es/components/Typography/render.d.ts +328 -0
  827. package/es/components/Typography/render.js +106 -0
  828. package/es/components/Typography/style/Typography.css +1 -0
  829. package/es/components/Typography/style/Typography.scss +132 -0
  830. package/es/components/Typography/style/css.js +4 -0
  831. package/es/components/Typography/style/index.d.ts +3 -0
  832. package/es/components/Typography/style/index.js +4 -0
  833. package/es/components/Typography/useTypographyEnhancements.d.ts +43 -0
  834. package/es/components/Typography/useTypographyEnhancements.js +110 -0
  835. package/es/components/Typography/utils.d.ts +17 -0
  836. package/es/components/Typography/utils.js +88 -0
  837. package/es/components/Upload/Upload.d.ts +7 -0
  838. package/es/components/Upload/Upload.js +88 -0
  839. package/es/components/Upload/UploadFileBar.d.ts +6 -0
  840. package/es/components/Upload/UploadFileBar.js +63 -0
  841. package/es/components/Upload/index.d.ts +5 -0
  842. package/es/components/Upload/index.js +6 -0
  843. package/es/components/Upload/interface.d.ts +41 -0
  844. package/es/components/Upload/interface.js +2 -0
  845. package/es/components/Upload/style/Upload.css +1 -0
  846. package/es/components/Upload/style/Upload.scss +44 -0
  847. package/es/components/Upload/style/UploadFileBar.css +1 -0
  848. package/es/components/Upload/style/UploadFileBar.scss +94 -0
  849. package/es/components/Upload/style/css.js +3 -0
  850. package/es/components/Upload/style/index.d.ts +2 -0
  851. package/es/components/Upload/style/index.js +3 -0
  852. package/es/components/VirtualList/Filler.d.ts +21 -0
  853. package/es/components/VirtualList/Filler.js +56 -0
  854. package/es/components/VirtualList/Item.d.ts +6 -0
  855. package/es/components/VirtualList/Item.js +12 -0
  856. package/es/components/VirtualList/ScrollBar.d.ts +22 -0
  857. package/es/components/VirtualList/ScrollBar.js +237 -0
  858. package/es/components/VirtualList/VirtualList.d.ts +62 -0
  859. package/es/components/VirtualList/VirtualList.js +529 -0
  860. package/es/components/VirtualList/constants.d.ts +4 -0
  861. package/es/components/VirtualList/constants.js +5 -0
  862. package/es/components/VirtualList/hooks/useChildren.d.ts +2 -0
  863. package/es/components/VirtualList/hooks/useChildren.js +25 -0
  864. package/es/components/VirtualList/hooks/useDiffItem.d.ts +2 -0
  865. package/es/components/VirtualList/hooks/useDiffItem.js +16 -0
  866. package/es/components/VirtualList/hooks/useFrameWheel.d.ts +10 -0
  867. package/es/components/VirtualList/hooks/useFrameWheel.js +85 -0
  868. package/es/components/VirtualList/hooks/useGetSize.d.ts +7 -0
  869. package/es/components/VirtualList/hooks/useGetSize.js +47 -0
  870. package/es/components/VirtualList/hooks/useHeights.d.ts +8 -0
  871. package/es/components/VirtualList/hooks/useHeights.js +96 -0
  872. package/es/components/VirtualList/hooks/useMobileTouchMove.d.ts +2 -0
  873. package/es/components/VirtualList/hooks/useMobileTouchMove.js +85 -0
  874. package/es/components/VirtualList/hooks/useOriginScroll.d.ts +2 -0
  875. package/es/components/VirtualList/hooks/useOriginScroll.js +44 -0
  876. package/es/components/VirtualList/hooks/useScrollDrag.d.ts +3 -0
  877. package/es/components/VirtualList/hooks/useScrollDrag.js +76 -0
  878. package/es/components/VirtualList/hooks/useScrollTo.d.ts +18 -0
  879. package/es/components/VirtualList/hooks/useScrollTo.js +132 -0
  880. package/es/components/VirtualList/index.d.ts +9 -0
  881. package/es/components/VirtualList/index.js +5 -0
  882. package/es/components/VirtualList/interface.d.ts +26 -0
  883. package/es/components/VirtualList/interface.js +2 -0
  884. package/es/components/VirtualList/style/VirtualList.css +1 -0
  885. package/es/components/VirtualList/style/VirtualList.scss +5 -0
  886. package/es/components/VirtualList/style/css.js +2 -0
  887. package/es/components/VirtualList/style/index.d.ts +1 -0
  888. package/es/components/VirtualList/style/index.js +2 -0
  889. package/es/components/VirtualList/utils/CacheMap.d.ts +16 -0
  890. package/es/components/VirtualList/utils/CacheMap.js +43 -0
  891. package/es/components/VirtualList/utils/algorithmUtil.d.ts +23 -0
  892. package/es/components/VirtualList/utils/algorithmUtil.js +77 -0
  893. package/es/components/VirtualList/utils/isFirefox.d.ts +2 -0
  894. package/es/components/VirtualList/utils/isFirefox.js +4 -0
  895. package/es/components/VirtualList/utils/raf.d.ts +9 -0
  896. package/es/components/VirtualList/utils/raf.js +47 -0
  897. package/es/components/VirtualList/utils/scrollbarUtil.d.ts +1 -0
  898. package/es/components/VirtualList/utils/scrollbarUtil.js +12 -0
  899. package/es/index.css +1 -0
  900. package/es/index.d.ts +89 -0
  901. package/es/index.js +46 -0
  902. package/es/styles/_api.scss +5 -0
  903. package/es/styles/_settings.scss +5 -0
  904. package/es/styles/index.css +1 -0
  905. package/es/styles/index.scss +2 -0
  906. package/es/styles/public/_index.scss +2 -0
  907. package/es/styles/public/_system.scss +1 -0
  908. package/es/styles/public/_theme.scss +3 -0
  909. package/es/styles/recipes/_index.scss +1 -0
  910. package/es/styles/recipes/_variants.scss +110 -0
  911. package/es/styles/system/_index.scss +4 -0
  912. package/es/styles/system/_props.scss +95 -0
  913. package/es/styles/system/_public.scss +5 -0
  914. package/es/styles/system/_sx.scss +81 -0
  915. package/es/styles/theme/_breakpoints.scss +95 -0
  916. package/es/styles/theme/_functions.scss +271 -0
  917. package/es/styles/theme/_index.scss +6 -0
  918. package/es/styles/theme/_mixins.scss +37 -0
  919. package/es/styles/theme/_scales.scss +29 -0
  920. package/es/styles/theme/_values.scss +68 -0
  921. package/es/styles/tokens/_index.scss +11 -0
  922. package/es/styles/tokens/breakpoint/_index.scss +2 -0
  923. package/es/styles/tokens/breakpoint/_primitives.scss +8 -0
  924. package/es/styles/tokens/color/_index.scss +3 -0
  925. package/es/styles/tokens/color/_primitives.scss +42 -0
  926. package/es/styles/tokens/color/_semantic-color.scss +172 -0
  927. package/es/styles/tokens/opacity/_functions.scss +13 -0
  928. package/es/styles/tokens/opacity/_index.scss +3 -0
  929. package/es/styles/tokens/opacity/_primitives.scss +12 -0
  930. package/es/styles/tokens/radius/_index.scss +2 -0
  931. package/es/styles/tokens/radius/_primitives.scss +11 -0
  932. package/es/styles/tokens/shadow/_index.scss +2 -0
  933. package/es/styles/tokens/shadow/_primitives.scss +7 -0
  934. package/es/styles/tokens/sizing/_functions.scss +17 -0
  935. package/es/styles/tokens/sizing/_index.scss +4 -0
  936. package/es/styles/tokens/sizing/_primitives.scss +12 -0
  937. package/es/styles/tokens/sizing/_semantic-sizing.scss +11 -0
  938. package/es/styles/tokens/spacing/_functions.scss +51 -0
  939. package/es/styles/tokens/spacing/_index.scss +4 -0
  940. package/es/styles/tokens/spacing/_primitives.scss +22 -0
  941. package/es/styles/tokens/spacing/_semantic-spacing.scss +22 -0
  942. package/es/styles/tokens/typography/_functions.scss +31 -0
  943. package/es/styles/tokens/typography/_index.scss +4 -0
  944. package/es/styles/tokens/typography/_primitives.scss +27 -0
  945. package/es/styles/tokens/typography/_semantic-typography.scss +216 -0
  946. package/es/styles/utilities/_generator.scss +55 -0
  947. package/es/styles/utilities/_index.scss +14 -0
  948. package/es/utils/classnames.d.ts +5 -0
  949. package/es/utils/classnames.js +18 -0
  950. package/es/utils/clipboard.d.ts +2 -0
  951. package/es/utils/clipboard.js +50 -0
  952. package/es/utils/ref.d.ts +4 -0
  953. package/es/utils/ref.js +32 -0
  954. package/es/utils/uuid.d.ts +2 -0
  955. package/es/utils/uuid.js +16 -0
  956. package/jest.setup.d.ts +1 -0
  957. package/jest.setup.ts +1 -0
  958. package/lib/components/Accordion/Accordion.d.ts +6 -0
  959. package/lib/components/Accordion/Accordion.js +112 -0
  960. package/lib/components/Accordion/index.d.ts +4 -0
  961. package/lib/components/Accordion/index.js +33 -0
  962. package/lib/components/Accordion/interface.d.ts +29 -0
  963. package/lib/components/Accordion/interface.js +6 -0
  964. package/lib/components/Accordion/style/Accordion.css +1 -0
  965. package/lib/components/Accordion/style/Accordion.scss +127 -0
  966. package/lib/components/Accordion/style/css.js +4 -0
  967. package/lib/components/Accordion/style/index.d.ts +1 -0
  968. package/lib/components/Accordion/style/index.js +4 -0
  969. package/lib/components/Alert/Alert.d.ts +6 -0
  970. package/lib/components/Alert/Alert.js +103 -0
  971. package/lib/components/Alert/index.d.ts +4 -0
  972. package/lib/components/Alert/index.js +33 -0
  973. package/lib/components/Alert/interface.d.ts +40 -0
  974. package/lib/components/Alert/interface.js +12 -0
  975. package/lib/components/Alert/style/Alert.css +1 -0
  976. package/lib/components/Alert/style/Alert.scss +89 -0
  977. package/lib/components/Alert/style/css.js +5 -0
  978. package/lib/components/Alert/style/index.d.ts +2 -0
  979. package/lib/components/Alert/style/index.js +5 -0
  980. package/lib/components/Button/Button.d.ts +4 -0
  981. package/lib/components/Button/Button.js +131 -0
  982. package/lib/components/Button/constants.d.ts +56 -0
  983. package/lib/components/Button/constants.js +76 -0
  984. package/lib/components/Button/index.d.ts +5 -0
  985. package/lib/components/Button/index.js +45 -0
  986. package/lib/components/Button/interface.d.ts +14 -0
  987. package/lib/components/Button/interface.js +6 -0
  988. package/lib/components/Button/style/Button.css +1 -0
  989. package/lib/components/Button/style/Button.scss +190 -0
  990. package/lib/components/Button/style/css.js +4 -0
  991. package/lib/components/Button/style/index.d.ts +1 -0
  992. package/lib/components/Button/style/index.js +4 -0
  993. package/lib/components/Calendar/Calendar.d.ts +7 -0
  994. package/lib/components/Calendar/Calendar.js +122 -0
  995. package/lib/components/Calendar/index.d.ts +4 -0
  996. package/lib/components/Calendar/index.js +33 -0
  997. package/lib/components/Calendar/interface.d.ts +29 -0
  998. package/lib/components/Calendar/interface.js +6 -0
  999. package/lib/components/Calendar/style/Calendar.css +1 -0
  1000. package/lib/components/Calendar/style/Calendar.scss +377 -0
  1001. package/lib/components/Calendar/style/css.js +4 -0
  1002. package/lib/components/Calendar/style/index.d.ts +1 -0
  1003. package/lib/components/Calendar/style/index.js +4 -0
  1004. package/lib/components/Carousel/Carousel.d.ts +6 -0
  1005. package/lib/components/Carousel/Carousel.js +56 -0
  1006. package/lib/components/Carousel/index.d.ts +4 -0
  1007. package/lib/components/Carousel/index.js +33 -0
  1008. package/lib/components/Carousel/interface.d.ts +15 -0
  1009. package/lib/components/Carousel/interface.js +6 -0
  1010. package/lib/components/Carousel/style/Carousel.css +1 -0
  1011. package/lib/components/Carousel/style/Carousel.scss +63 -0
  1012. package/lib/components/Carousel/style/css.js +4 -0
  1013. package/lib/components/Carousel/style/index.d.ts +1 -0
  1014. package/lib/components/Carousel/style/index.js +4 -0
  1015. package/lib/components/Checkbox/BaseCheckbox.d.ts +6 -0
  1016. package/lib/components/Checkbox/BaseCheckbox.js +94 -0
  1017. package/lib/components/Checkbox/Checkbox.d.ts +6 -0
  1018. package/lib/components/Checkbox/Checkbox.js +130 -0
  1019. package/lib/components/Checkbox/CheckboxGroup.d.ts +5 -0
  1020. package/lib/components/Checkbox/CheckboxGroup.js +150 -0
  1021. package/lib/components/Checkbox/CheckboxGroupContext.d.ts +14 -0
  1022. package/lib/components/Checkbox/CheckboxGroupContext.js +9 -0
  1023. package/lib/components/Checkbox/constants.d.ts +7 -0
  1024. package/lib/components/Checkbox/constants.js +14 -0
  1025. package/lib/components/Checkbox/index.d.ts +10 -0
  1026. package/lib/components/Checkbox/index.js +52 -0
  1027. package/lib/components/Checkbox/interface.d.ts +77 -0
  1028. package/lib/components/Checkbox/interface.js +6 -0
  1029. package/lib/components/Checkbox/style/Checkbox.css +1 -0
  1030. package/lib/components/Checkbox/style/Checkbox.scss +235 -0
  1031. package/lib/components/Checkbox/style/css.js +4 -0
  1032. package/lib/components/Checkbox/style/index.d.ts +1 -0
  1033. package/lib/components/Checkbox/style/index.js +4 -0
  1034. package/lib/components/CoachMark/CoachMark.d.ts +4 -0
  1035. package/lib/components/CoachMark/CoachMark.js +152 -0
  1036. package/lib/components/CoachMark/index.d.ts +4 -0
  1037. package/lib/components/CoachMark/index.js +33 -0
  1038. package/lib/components/CoachMark/interface.d.ts +47 -0
  1039. package/lib/components/CoachMark/interface.js +8 -0
  1040. package/lib/components/CoachMark/style/CoachMark.css +1 -0
  1041. package/lib/components/CoachMark/style/CoachMark.scss +176 -0
  1042. package/lib/components/CoachMark/style/css.js +7 -0
  1043. package/lib/components/CoachMark/style/index.d.ts +4 -0
  1044. package/lib/components/CoachMark/style/index.js +7 -0
  1045. package/lib/components/Copy/Copy.d.ts +6 -0
  1046. package/lib/components/Copy/Copy.js +80 -0
  1047. package/lib/components/Copy/index.d.ts +4 -0
  1048. package/lib/components/Copy/index.js +33 -0
  1049. package/lib/components/Copy/interface.d.ts +20 -0
  1050. package/lib/components/Copy/interface.js +6 -0
  1051. package/lib/components/Copy/style/Copy.css +1 -0
  1052. package/lib/components/Copy/style/Copy.scss +35 -0
  1053. package/lib/components/Copy/style/css.js +4 -0
  1054. package/lib/components/Copy/style/index.d.ts +1 -0
  1055. package/lib/components/Copy/style/index.js +4 -0
  1056. package/lib/components/Divider/Divider.d.ts +4 -0
  1057. package/lib/components/Divider/Divider.js +62 -0
  1058. package/lib/components/Divider/index.d.ts +4 -0
  1059. package/lib/components/Divider/index.js +31 -0
  1060. package/lib/components/Divider/interface.d.ts +20 -0
  1061. package/lib/components/Divider/interface.js +6 -0
  1062. package/lib/components/Divider/style/Divider.css +1 -0
  1063. package/lib/components/Divider/style/Divider.scss +149 -0
  1064. package/lib/components/Divider/style/css.js +4 -0
  1065. package/lib/components/Divider/style/index.d.ts +1 -0
  1066. package/lib/components/Divider/style/index.js +4 -0
  1067. package/lib/components/Drawer/Drawer.d.ts +4 -0
  1068. package/lib/components/Drawer/Drawer.js +281 -0
  1069. package/lib/components/Drawer/constants.d.ts +15 -0
  1070. package/lib/components/Drawer/constants.js +22 -0
  1071. package/lib/components/Drawer/index.d.ts +3 -0
  1072. package/lib/components/Drawer/index.js +46 -0
  1073. package/lib/components/Drawer/interface.d.ts +79 -0
  1074. package/lib/components/Drawer/interface.js +6 -0
  1075. package/lib/components/Drawer/style/Drawer.css +1 -0
  1076. package/lib/components/Drawer/style/Drawer.scss +163 -0
  1077. package/lib/components/Drawer/style/css.js +4 -0
  1078. package/lib/components/Drawer/style/index.d.ts +1 -0
  1079. package/lib/components/Drawer/style/index.js +4 -0
  1080. package/lib/components/Dropdown/Dropdown.d.ts +5 -0
  1081. package/lib/components/Dropdown/Dropdown.js +31 -0
  1082. package/lib/components/Dropdown/index.d.ts +3 -0
  1083. package/lib/components/Dropdown/index.js +35 -0
  1084. package/lib/components/Dropdown/interface.d.ts +8 -0
  1085. package/lib/components/Dropdown/interface.js +6 -0
  1086. package/lib/components/Dropdown/style/Dropdown.css +0 -0
  1087. package/lib/components/Dropdown/style/Dropdown.scss +2 -0
  1088. package/lib/components/Dropdown/style/css.js +5 -0
  1089. package/lib/components/Dropdown/style/index.d.ts +2 -0
  1090. package/lib/components/Dropdown/style/index.js +5 -0
  1091. package/lib/components/Empty/Empty.d.ts +6 -0
  1092. package/lib/components/Empty/Empty.js +77 -0
  1093. package/lib/components/Empty/index.d.ts +4 -0
  1094. package/lib/components/Empty/index.js +33 -0
  1095. package/lib/components/Empty/interface.d.ts +11 -0
  1096. package/lib/components/Empty/interface.js +6 -0
  1097. package/lib/components/Empty/style/Empty.css +1 -0
  1098. package/lib/components/Empty/style/Empty.scss +53 -0
  1099. package/lib/components/Empty/style/css.js +5 -0
  1100. package/lib/components/Empty/style/index.d.ts +2 -0
  1101. package/lib/components/Empty/style/index.js +5 -0
  1102. package/lib/components/Flex/Flex.d.ts +5 -0
  1103. package/lib/components/Flex/Flex.js +60 -0
  1104. package/lib/components/Flex/constants.d.ts +41 -0
  1105. package/lib/components/Flex/constants.js +51 -0
  1106. package/lib/components/Flex/index.d.ts +5 -0
  1107. package/lib/components/Flex/index.js +60 -0
  1108. package/lib/components/Flex/interface.d.ts +13 -0
  1109. package/lib/components/Flex/interface.js +6 -0
  1110. package/lib/components/Flex/style/Flex.css +1 -0
  1111. package/lib/components/Flex/style/Flex.scss +70 -0
  1112. package/lib/components/Flex/style/css.js +4 -0
  1113. package/lib/components/Flex/style/index.d.ts +1 -0
  1114. package/lib/components/Flex/style/index.js +4 -0
  1115. package/lib/components/Form/Form.d.ts +4 -0
  1116. package/lib/components/Form/Form.js +80 -0
  1117. package/lib/components/Form/FormItem.d.ts +4 -0
  1118. package/lib/components/Form/FormItem.js +193 -0
  1119. package/lib/components/Form/constants.d.ts +19 -0
  1120. package/lib/components/Form/constants.js +25 -0
  1121. package/lib/components/Form/context.d.ts +5 -0
  1122. package/lib/components/Form/context.js +25 -0
  1123. package/lib/components/Form/hooks/useForm.d.ts +3 -0
  1124. package/lib/components/Form/hooks/useForm.js +551 -0
  1125. package/lib/components/Form/hooks/useFormCore.d.ts +3 -0
  1126. package/lib/components/Form/hooks/useFormCore.js +355 -0
  1127. package/lib/components/Form/index.d.ts +10 -0
  1128. package/lib/components/Form/index.js +83 -0
  1129. package/lib/components/Form/interface.d.ts +166 -0
  1130. package/lib/components/Form/interface.js +6 -0
  1131. package/lib/components/Form/style/Form.css +1 -0
  1132. package/lib/components/Form/style/Form.scss +57 -0
  1133. package/lib/components/Form/style/css.js +4 -0
  1134. package/lib/components/Form/style/index.d.ts +1 -0
  1135. package/lib/components/Form/style/index.js +4 -0
  1136. package/lib/components/Grid/Col.d.ts +4 -0
  1137. package/lib/components/Grid/Col.js +93 -0
  1138. package/lib/components/Grid/Grid.d.ts +10 -0
  1139. package/lib/components/Grid/Grid.js +21 -0
  1140. package/lib/components/Grid/Row.d.ts +4 -0
  1141. package/lib/components/Grid/Row.js +50 -0
  1142. package/lib/components/Grid/constants.d.ts +48 -0
  1143. package/lib/components/Grid/constants.js +77 -0
  1144. package/lib/components/Grid/helper.d.ts +15 -0
  1145. package/lib/components/Grid/helper.js +94 -0
  1146. package/lib/components/Grid/index.d.ts +7 -0
  1147. package/lib/components/Grid/index.js +62 -0
  1148. package/lib/components/Grid/interface.d.ts +38 -0
  1149. package/lib/components/Grid/interface.js +6 -0
  1150. package/lib/components/Grid/style/Grid.css +1 -0
  1151. package/lib/components/Grid/style/Grid.scss +184 -0
  1152. package/lib/components/Grid/style/css.js +4 -0
  1153. package/lib/components/Grid/style/index.d.ts +1 -0
  1154. package/lib/components/Grid/style/index.js +4 -0
  1155. package/lib/components/Icons/Icons.d.ts +192 -0
  1156. package/lib/components/Icons/Icons.js +193 -0
  1157. package/lib/components/Icons/Illustrations.d.ts +18 -0
  1158. package/lib/components/Icons/Illustrations.js +881 -0
  1159. package/lib/components/Icons/Logo.d.ts +36 -0
  1160. package/lib/components/Icons/Logo.js +219 -0
  1161. package/lib/components/Icons/SVGs.d.ts +265 -0
  1162. package/lib/components/Icons/SVGs.js +1926 -0
  1163. package/lib/components/Icons/Wrapper.d.ts +6 -0
  1164. package/lib/components/Icons/Wrapper.js +109 -0
  1165. package/lib/components/Icons/index.d.ts +4 -0
  1166. package/lib/components/Icons/index.js +52 -0
  1167. package/lib/components/Icons/interface.d.ts +27 -0
  1168. package/lib/components/Icons/interface.js +6 -0
  1169. package/lib/components/Icons/style/Icons.css +1 -0
  1170. package/lib/components/Icons/style/Icons.scss +85 -0
  1171. package/lib/components/Icons/style/css.js +4 -0
  1172. package/lib/components/Icons/style/index.d.ts +1 -0
  1173. package/lib/components/Icons/style/index.js +4 -0
  1174. package/lib/components/Input/Amount/Amount.d.ts +6 -0
  1175. package/lib/components/Input/Amount/Amount.js +201 -0
  1176. package/lib/components/Input/Amount/helper.d.ts +35 -0
  1177. package/lib/components/Input/Amount/helper.js +102 -0
  1178. package/lib/components/Input/Amount/index.d.ts +3 -0
  1179. package/lib/components/Input/Amount/index.js +18 -0
  1180. package/lib/components/Input/Amount/style/Amount.css +1 -0
  1181. package/lib/components/Input/Amount/style/Amount.scss +89 -0
  1182. package/lib/components/Input/Amount/style/css.js +4 -0
  1183. package/lib/components/Input/Amount/style/index.d.ts +1 -0
  1184. package/lib/components/Input/Amount/style/index.js +4 -0
  1185. package/lib/components/Input/FieldShell/FieldShell.css +1 -0
  1186. package/lib/components/Input/FieldShell/FieldShell.d.ts +19 -0
  1187. package/lib/components/Input/FieldShell/FieldShell.js +85 -0
  1188. package/lib/components/Input/FieldShell/FieldShell.scss +62 -0
  1189. package/lib/components/Input/FieldShell/index.d.ts +3 -0
  1190. package/lib/components/Input/FieldShell/index.js +22 -0
  1191. package/lib/components/Input/Input/Input.css +1 -0
  1192. package/lib/components/Input/Input/Input.d.ts +3 -0
  1193. package/lib/components/Input/Input/Input.js +168 -0
  1194. package/lib/components/Input/Input/Input.scss +131 -0
  1195. package/lib/components/Input/Input/index.d.ts +2 -0
  1196. package/lib/components/Input/Input/index.js +22 -0
  1197. package/lib/components/Input/Mask/Mask.d.ts +5 -0
  1198. package/lib/components/Input/Mask/Mask.js +347 -0
  1199. package/lib/components/Input/Mask/index.d.ts +2 -0
  1200. package/lib/components/Input/Mask/index.js +22 -0
  1201. package/lib/components/Input/OTP/OTP.css +1 -0
  1202. package/lib/components/Input/OTP/OTP.d.ts +5 -0
  1203. package/lib/components/Input/OTP/OTP.js +157 -0
  1204. package/lib/components/Input/OTP/OTP.scss +75 -0
  1205. package/lib/components/Input/OTP/index.d.ts +2 -0
  1206. package/lib/components/Input/OTP/index.js +22 -0
  1207. package/lib/components/Input/Password/Password.d.ts +5 -0
  1208. package/lib/components/Input/Password/Password.js +131 -0
  1209. package/lib/components/Input/Password/index.d.ts +2 -0
  1210. package/lib/components/Input/Password/index.js +22 -0
  1211. package/lib/components/Input/Search/Search.d.ts +5 -0
  1212. package/lib/components/Input/Search/Search.js +154 -0
  1213. package/lib/components/Input/Search/index.d.ts +2 -0
  1214. package/lib/components/Input/Search/index.js +22 -0
  1215. package/lib/components/Input/TextArea/TextArea.css +1 -0
  1216. package/lib/components/Input/TextArea/TextArea.d.ts +5 -0
  1217. package/lib/components/Input/TextArea/TextArea.js +103 -0
  1218. package/lib/components/Input/TextArea/TextArea.scss +87 -0
  1219. package/lib/components/Input/TextArea/index.d.ts +2 -0
  1220. package/lib/components/Input/TextArea/index.js +22 -0
  1221. package/lib/components/Input/Trade/Trade.css +1 -0
  1222. package/lib/components/Input/Trade/Trade.d.ts +5 -0
  1223. package/lib/components/Input/Trade/Trade.js +139 -0
  1224. package/lib/components/Input/Trade/Trade.scss +184 -0
  1225. package/lib/components/Input/Trade/index.d.ts +2 -0
  1226. package/lib/components/Input/Trade/index.js +22 -0
  1227. package/lib/components/Input/constants.d.ts +15 -0
  1228. package/lib/components/Input/constants.js +22 -0
  1229. package/lib/components/Input/index.d.ts +4 -0
  1230. package/lib/components/Input/index.js +49 -0
  1231. package/lib/components/Input/interface.d.ts +153 -0
  1232. package/lib/components/Input/interface.js +6 -0
  1233. package/lib/components/Input/style/css.js +9 -0
  1234. package/lib/components/Input/style/index.d.ts +6 -0
  1235. package/lib/components/Input/style/index.js +9 -0
  1236. package/lib/components/Input/useAmountInput.d.ts +35 -0
  1237. package/lib/components/Input/useAmountInput.js +214 -0
  1238. package/lib/components/Input/useSyncRef.d.ts +2 -0
  1239. package/lib/components/Input/useSyncRef.js +19 -0
  1240. package/lib/components/Modal/Modal.d.ts +4 -0
  1241. package/lib/components/Modal/Modal.js +390 -0
  1242. package/lib/components/Modal/constants.d.ts +58 -0
  1243. package/lib/components/Modal/constants.js +62 -0
  1244. package/lib/components/Modal/index.d.ts +4 -0
  1245. package/lib/components/Modal/index.js +33 -0
  1246. package/lib/components/Modal/interface.d.ts +37 -0
  1247. package/lib/components/Modal/interface.js +6 -0
  1248. package/lib/components/Modal/style/Modal.css +1 -0
  1249. package/lib/components/Modal/style/Modal.scss +254 -0
  1250. package/lib/components/Modal/style/css.js +4 -0
  1251. package/lib/components/Modal/style/index.d.ts +1 -0
  1252. package/lib/components/Modal/style/index.js +4 -0
  1253. package/lib/components/Navigation/Nav.d.ts +5 -0
  1254. package/lib/components/Navigation/Nav.js +208 -0
  1255. package/lib/components/Navigation/Navigation.d.ts +5 -0
  1256. package/lib/components/Navigation/Navigation.js +309 -0
  1257. package/lib/components/Navigation/NavigationLogo.d.ts +7 -0
  1258. package/lib/components/Navigation/NavigationLogo.js +42 -0
  1259. package/lib/components/Navigation/index.d.ts +5 -0
  1260. package/lib/components/Navigation/index.js +41 -0
  1261. package/lib/components/Navigation/interface.d.ts +95 -0
  1262. package/lib/components/Navigation/interface.js +6 -0
  1263. package/lib/components/Navigation/style/Nav.css +1 -0
  1264. package/lib/components/Navigation/style/Nav.scss +174 -0
  1265. package/lib/components/Navigation/style/Navigation.css +1 -0
  1266. package/lib/components/Navigation/style/Navigation.scss +443 -0
  1267. package/lib/components/Navigation/style/css.js +5 -0
  1268. package/lib/components/Navigation/style/index.d.ts +2 -0
  1269. package/lib/components/Navigation/style/index.js +5 -0
  1270. package/lib/components/Notification/Notification.d.ts +6 -0
  1271. package/lib/components/Notification/Notification.js +122 -0
  1272. package/lib/components/Notification/NotificationStatic.d.ts +4 -0
  1273. package/lib/components/Notification/NotificationStatic.js +515 -0
  1274. package/lib/components/Notification/constants.d.ts +5 -0
  1275. package/lib/components/Notification/constants.js +13 -0
  1276. package/lib/components/Notification/index.d.ts +5 -0
  1277. package/lib/components/Notification/index.js +52 -0
  1278. package/lib/components/Notification/interface.d.ts +70 -0
  1279. package/lib/components/Notification/interface.js +13 -0
  1280. package/lib/components/Notification/style/Notification.css +1 -0
  1281. package/lib/components/Notification/style/Notification.scss +200 -0
  1282. package/lib/components/Notification/style/css.js +4 -0
  1283. package/lib/components/Notification/style/index.d.ts +1 -0
  1284. package/lib/components/Notification/style/index.js +4 -0
  1285. package/lib/components/Pagination/Pagination.d.ts +5 -0
  1286. package/lib/components/Pagination/Pagination.js +146 -0
  1287. package/lib/components/Pagination/constants.d.ts +53 -0
  1288. package/lib/components/Pagination/constants.js +63 -0
  1289. package/lib/components/Pagination/index.d.ts +6 -0
  1290. package/lib/components/Pagination/index.js +53 -0
  1291. package/lib/components/Pagination/interface.d.ts +54 -0
  1292. package/lib/components/Pagination/interface.js +6 -0
  1293. package/lib/components/Pagination/style/Pagination.css +1 -0
  1294. package/lib/components/Pagination/style/Pagination.scss +95 -0
  1295. package/lib/components/Pagination/style/css.js +4 -0
  1296. package/lib/components/Pagination/style/index.d.ts +1 -0
  1297. package/lib/components/Pagination/style/index.js +4 -0
  1298. package/lib/components/Pagination/usePagination.d.ts +3 -0
  1299. package/lib/components/Pagination/usePagination.js +161 -0
  1300. package/lib/components/Popconfirm/Popconfirm.d.ts +6 -0
  1301. package/lib/components/Popconfirm/Popconfirm.js +141 -0
  1302. package/lib/components/Popconfirm/constants.d.ts +72 -0
  1303. package/lib/components/Popconfirm/constants.js +78 -0
  1304. package/lib/components/Popconfirm/index.d.ts +4 -0
  1305. package/lib/components/Popconfirm/index.js +33 -0
  1306. package/lib/components/Popconfirm/interface.d.ts +40 -0
  1307. package/lib/components/Popconfirm/interface.js +6 -0
  1308. package/lib/components/Popconfirm/style/Popconfirm.css +1 -0
  1309. package/lib/components/Popconfirm/style/Popconfirm.scss +264 -0
  1310. package/lib/components/Popconfirm/style/css.js +7 -0
  1311. package/lib/components/Popconfirm/style/index.d.ts +4 -0
  1312. package/lib/components/Popconfirm/style/index.js +7 -0
  1313. package/lib/components/Portal/Portal.d.ts +3 -0
  1314. package/lib/components/Portal/Portal.js +61 -0
  1315. package/lib/components/Portal/index.d.ts +4 -0
  1316. package/lib/components/Portal/index.js +33 -0
  1317. package/lib/components/Portal/interface.d.ts +7 -0
  1318. package/lib/components/Portal/interface.js +6 -0
  1319. package/lib/components/ProForm/ProForm.d.ts +3 -0
  1320. package/lib/components/ProForm/ProForm.js +264 -0
  1321. package/lib/components/ProForm/ProFormDependency.d.ts +3 -0
  1322. package/lib/components/ProForm/ProFormDependency.js +75 -0
  1323. package/lib/components/ProForm/ProFormGroup.d.ts +3 -0
  1324. package/lib/components/ProForm/ProFormGroup.js +85 -0
  1325. package/lib/components/ProForm/ProFormList.d.ts +3 -0
  1326. package/lib/components/ProForm/ProFormList.js +260 -0
  1327. package/lib/components/ProForm/Submitter.d.ts +6 -0
  1328. package/lib/components/ProForm/Submitter.js +74 -0
  1329. package/lib/components/ProForm/constants.d.ts +18 -0
  1330. package/lib/components/ProForm/constants.js +29 -0
  1331. package/lib/components/ProForm/context.d.ts +5 -0
  1332. package/lib/components/ProForm/context.js +32 -0
  1333. package/lib/components/ProForm/fields/ProFormCheckbox.d.ts +3 -0
  1334. package/lib/components/ProForm/fields/ProFormCheckbox.js +17 -0
  1335. package/lib/components/ProForm/fields/ProFormCheckboxGroup.d.ts +3 -0
  1336. package/lib/components/ProForm/fields/ProFormCheckboxGroup.js +18 -0
  1337. package/lib/components/ProForm/fields/ProFormDatePicker.d.ts +3 -0
  1338. package/lib/components/ProForm/fields/ProFormDatePicker.js +29 -0
  1339. package/lib/components/ProForm/fields/ProFormFieldSet.d.ts +4 -0
  1340. package/lib/components/ProForm/fields/ProFormFieldSet.js +72 -0
  1341. package/lib/components/ProForm/fields/ProFormPassword.d.ts +3 -0
  1342. package/lib/components/ProForm/fields/ProFormPassword.js +17 -0
  1343. package/lib/components/ProForm/fields/ProFormRadioGroup.d.ts +3 -0
  1344. package/lib/components/ProForm/fields/ProFormRadioGroup.js +16 -0
  1345. package/lib/components/ProForm/fields/ProFormSelect.d.ts +3 -0
  1346. package/lib/components/ProForm/fields/ProFormSelect.js +46 -0
  1347. package/lib/components/ProForm/fields/ProFormSlider.d.ts +3 -0
  1348. package/lib/components/ProForm/fields/ProFormSlider.js +16 -0
  1349. package/lib/components/ProForm/fields/ProFormSwitch.d.ts +3 -0
  1350. package/lib/components/ProForm/fields/ProFormSwitch.js +17 -0
  1351. package/lib/components/ProForm/fields/ProFormText.d.ts +3 -0
  1352. package/lib/components/ProForm/fields/ProFormText.js +16 -0
  1353. package/lib/components/ProForm/fields/ProFormTextArea.d.ts +3 -0
  1354. package/lib/components/ProForm/fields/ProFormTextArea.js +16 -0
  1355. package/lib/components/ProForm/fields/ProFormUpload.d.ts +3 -0
  1356. package/lib/components/ProForm/fields/ProFormUpload.js +32 -0
  1357. package/lib/components/ProForm/fields/createProFormField.d.ts +4 -0
  1358. package/lib/components/ProForm/fields/createProFormField.js +237 -0
  1359. package/lib/components/ProForm/fields/index.d.ts +13 -0
  1360. package/lib/components/ProForm/fields/index.js +97 -0
  1361. package/lib/components/ProForm/hooks/useFieldRequest.d.ts +7 -0
  1362. package/lib/components/ProForm/hooks/useFieldRequest.js +98 -0
  1363. package/lib/components/ProForm/index.d.ts +30 -0
  1364. package/lib/components/ProForm/index.js +187 -0
  1365. package/lib/components/ProForm/interface.d.ts +240 -0
  1366. package/lib/components/ProForm/interface.js +6 -0
  1367. package/lib/components/ProForm/layouts/DrawerForm.d.ts +3 -0
  1368. package/lib/components/ProForm/layouts/DrawerForm.js +80 -0
  1369. package/lib/components/ProForm/layouts/ModalForm.d.ts +3 -0
  1370. package/lib/components/ProForm/layouts/ModalForm.js +81 -0
  1371. package/lib/components/ProForm/layouts/QueryFilter.d.ts +4 -0
  1372. package/lib/components/ProForm/layouts/QueryFilter.js +167 -0
  1373. package/lib/components/ProForm/layouts/index.d.ts +4 -0
  1374. package/lib/components/ProForm/layouts/index.js +34 -0
  1375. package/lib/components/ProForm/layouts/useOverlayForm.d.ts +17 -0
  1376. package/lib/components/ProForm/layouts/useOverlayForm.js +117 -0
  1377. package/lib/components/ProForm/style/ProForm.css +1 -0
  1378. package/lib/components/ProForm/style/ProForm.scss +118 -0
  1379. package/lib/components/ProForm/style/css.js +4 -0
  1380. package/lib/components/ProForm/style/index.d.ts +1 -0
  1381. package/lib/components/ProForm/style/index.js +4 -0
  1382. package/lib/components/ProForm/utils.d.ts +22 -0
  1383. package/lib/components/ProForm/utils.js +228 -0
  1384. package/lib/components/Progress/Progress.d.ts +6 -0
  1385. package/lib/components/Progress/Progress.js +103 -0
  1386. package/lib/components/Progress/constants.d.ts +26 -0
  1387. package/lib/components/Progress/constants.js +38 -0
  1388. package/lib/components/Progress/index.d.ts +5 -0
  1389. package/lib/components/Progress/index.js +45 -0
  1390. package/lib/components/Progress/interface.d.ts +26 -0
  1391. package/lib/components/Progress/interface.js +6 -0
  1392. package/lib/components/Progress/style/Progress.css +1 -0
  1393. package/lib/components/Progress/style/Progress.scss +120 -0
  1394. package/lib/components/Progress/style/css.js +4 -0
  1395. package/lib/components/Progress/style/index.d.ts +1 -0
  1396. package/lib/components/Progress/style/index.js +4 -0
  1397. package/lib/components/Radio/BaseRadio.d.ts +16 -0
  1398. package/lib/components/Radio/BaseRadio.js +65 -0
  1399. package/lib/components/Radio/Radio.d.ts +6 -0
  1400. package/lib/components/Radio/Radio.js +189 -0
  1401. package/lib/components/Radio/RadioGroup.d.ts +5 -0
  1402. package/lib/components/Radio/RadioGroup.js +110 -0
  1403. package/lib/components/Radio/RadioGroupContext.d.ts +22 -0
  1404. package/lib/components/Radio/RadioGroupContext.js +13 -0
  1405. package/lib/components/Radio/constants.d.ts +36 -0
  1406. package/lib/components/Radio/constants.js +69 -0
  1407. package/lib/components/Radio/index.d.ts +5 -0
  1408. package/lib/components/Radio/index.js +41 -0
  1409. package/lib/components/Radio/interface.d.ts +115 -0
  1410. package/lib/components/Radio/interface.js +6 -0
  1411. package/lib/components/Radio/style/Radio.css +1 -0
  1412. package/lib/components/Radio/style/Radio.scss +431 -0
  1413. package/lib/components/Radio/style/css.js +5 -0
  1414. package/lib/components/Radio/style/index.d.ts +2 -0
  1415. package/lib/components/Radio/style/index.js +5 -0
  1416. package/lib/components/ResizeObserver/Collection.d.ts +19 -0
  1417. package/lib/components/ResizeObserver/Collection.js +51 -0
  1418. package/lib/components/ResizeObserver/ResizeObserver.d.ts +7 -0
  1419. package/lib/components/ResizeObserver/ResizeObserver.js +41 -0
  1420. package/lib/components/ResizeObserver/SingleObserver/index.d.ts +7 -0
  1421. package/lib/components/ResizeObserver/SingleObserver/index.js +48 -0
  1422. package/lib/components/ResizeObserver/index.d.ts +7 -0
  1423. package/lib/components/ResizeObserver/index.js +30 -0
  1424. package/lib/components/ResizeObserver/interface.d.ts +16 -0
  1425. package/lib/components/ResizeObserver/interface.js +6 -0
  1426. package/lib/components/ResizeObserver/useResizeObserver.d.ts +2 -0
  1427. package/lib/components/ResizeObserver/useResizeObserver.js +79 -0
  1428. package/lib/components/ResizeObserver/utils/observerUtil.d.ts +7 -0
  1429. package/lib/components/ResizeObserver/utils/observerUtil.js +47 -0
  1430. package/lib/components/ResizeObserver/utils/reactUtil.d.ts +19 -0
  1431. package/lib/components/ResizeObserver/utils/reactUtil.js +91 -0
  1432. package/lib/components/Segment/Segment.d.ts +6 -0
  1433. package/lib/components/Segment/Segment.js +110 -0
  1434. package/lib/components/Segment/index.d.ts +4 -0
  1435. package/lib/components/Segment/index.js +33 -0
  1436. package/lib/components/Segment/interface.d.ts +23 -0
  1437. package/lib/components/Segment/interface.js +6 -0
  1438. package/lib/components/Segment/style/Segment.css +1 -0
  1439. package/lib/components/Segment/style/Segment.scss +80 -0
  1440. package/lib/components/Segment/style/css.js +4 -0
  1441. package/lib/components/Segment/style/index.d.ts +1 -0
  1442. package/lib/components/Segment/style/index.js +4 -0
  1443. package/lib/components/Select/Select.d.ts +6 -0
  1444. package/lib/components/Select/Select.js +530 -0
  1445. package/lib/components/Select/SelectFieldShell.d.ts +22 -0
  1446. package/lib/components/Select/SelectFieldShell.js +79 -0
  1447. package/lib/components/Select/SelectOptionContent.d.ts +9 -0
  1448. package/lib/components/Select/SelectOptionContent.js +42 -0
  1449. package/lib/components/Select/SelectSearchControl.d.ts +12 -0
  1450. package/lib/components/Select/SelectSearchControl.js +44 -0
  1451. package/lib/components/Select/SelectValueContent.d.ts +18 -0
  1452. package/lib/components/Select/SelectValueContent.js +105 -0
  1453. package/lib/components/Select/constants.d.ts +14 -0
  1454. package/lib/components/Select/constants.js +26 -0
  1455. package/lib/components/Select/index.d.ts +4 -0
  1456. package/lib/components/Select/index.js +49 -0
  1457. package/lib/components/Select/interface.d.ts +83 -0
  1458. package/lib/components/Select/interface.js +10 -0
  1459. package/lib/components/Select/style/Select.css +1 -0
  1460. package/lib/components/Select/style/Select.scss +480 -0
  1461. package/lib/components/Select/style/css.js +6 -0
  1462. package/lib/components/Select/style/index.d.ts +3 -0
  1463. package/lib/components/Select/style/index.js +6 -0
  1464. package/lib/components/Select/utils.d.ts +21 -0
  1465. package/lib/components/Select/utils.js +161 -0
  1466. package/lib/components/Skeleton/Skeleton.d.ts +6 -0
  1467. package/lib/components/Skeleton/Skeleton.js +58 -0
  1468. package/lib/components/Skeleton/index.d.ts +4 -0
  1469. package/lib/components/Skeleton/index.js +33 -0
  1470. package/lib/components/Skeleton/interface.d.ts +19 -0
  1471. package/lib/components/Skeleton/interface.js +6 -0
  1472. package/lib/components/Skeleton/style/Skeleton.css +1 -0
  1473. package/lib/components/Skeleton/style/Skeleton.scss +47 -0
  1474. package/lib/components/Skeleton/style/css.js +4 -0
  1475. package/lib/components/Skeleton/style/index.d.ts +1 -0
  1476. package/lib/components/Skeleton/style/index.js +4 -0
  1477. package/lib/components/Slider/Slider.d.ts +6 -0
  1478. package/lib/components/Slider/Slider.js +126 -0
  1479. package/lib/components/Slider/index.d.ts +4 -0
  1480. package/lib/components/Slider/index.js +33 -0
  1481. package/lib/components/Slider/interface.d.ts +39 -0
  1482. package/lib/components/Slider/interface.js +6 -0
  1483. package/lib/components/Slider/style/Slider.css +1 -0
  1484. package/lib/components/Slider/style/Slider.scss +182 -0
  1485. package/lib/components/Slider/style/css.js +4 -0
  1486. package/lib/components/Slider/style/index.d.ts +1 -0
  1487. package/lib/components/Slider/style/index.js +4 -0
  1488. package/lib/components/Space/Space.d.ts +5 -0
  1489. package/lib/components/Space/Space.js +88 -0
  1490. package/lib/components/Space/constants.d.ts +33 -0
  1491. package/lib/components/Space/constants.js +43 -0
  1492. package/lib/components/Space/index.d.ts +5 -0
  1493. package/lib/components/Space/index.js +53 -0
  1494. package/lib/components/Space/interface.d.ts +12 -0
  1495. package/lib/components/Space/interface.js +6 -0
  1496. package/lib/components/Space/style/Space.css +1 -0
  1497. package/lib/components/Space/style/Space.scss +40 -0
  1498. package/lib/components/Space/style/css.js +4 -0
  1499. package/lib/components/Space/style/index.d.ts +1 -0
  1500. package/lib/components/Space/style/index.js +4 -0
  1501. package/lib/components/Spinner/Spinner.d.ts +6 -0
  1502. package/lib/components/Spinner/Spinner.js +91 -0
  1503. package/lib/components/Spinner/index.d.ts +4 -0
  1504. package/lib/components/Spinner/index.js +33 -0
  1505. package/lib/components/Spinner/interface.d.ts +14 -0
  1506. package/lib/components/Spinner/interface.js +8 -0
  1507. package/lib/components/Spinner/style/Spinner.css +1 -0
  1508. package/lib/components/Spinner/style/Spinner.scss +90 -0
  1509. package/lib/components/Spinner/style/css.js +4 -0
  1510. package/lib/components/Spinner/style/index.d.ts +1 -0
  1511. package/lib/components/Spinner/style/index.js +4 -0
  1512. package/lib/components/Step/Step.d.ts +5 -0
  1513. package/lib/components/Step/Step.js +126 -0
  1514. package/lib/components/Step/constants.d.ts +59 -0
  1515. package/lib/components/Step/constants.js +72 -0
  1516. package/lib/components/Step/index.d.ts +4 -0
  1517. package/lib/components/Step/index.js +33 -0
  1518. package/lib/components/Step/interface.d.ts +22 -0
  1519. package/lib/components/Step/interface.js +6 -0
  1520. package/lib/components/Step/style/Step.css +1 -0
  1521. package/lib/components/Step/style/Step.scss +91 -0
  1522. package/lib/components/Step/style/css.js +4 -0
  1523. package/lib/components/Step/style/index.d.ts +1 -0
  1524. package/lib/components/Step/style/index.js +4 -0
  1525. package/lib/components/Switch/Switch.d.ts +6 -0
  1526. package/lib/components/Switch/Switch.js +103 -0
  1527. package/lib/components/Switch/constants.d.ts +11 -0
  1528. package/lib/components/Switch/constants.js +18 -0
  1529. package/lib/components/Switch/index.d.ts +5 -0
  1530. package/lib/components/Switch/index.js +45 -0
  1531. package/lib/components/Switch/interface.d.ts +26 -0
  1532. package/lib/components/Switch/interface.js +6 -0
  1533. package/lib/components/Switch/style/Switch.css +1 -0
  1534. package/lib/components/Switch/style/Switch.scss +126 -0
  1535. package/lib/components/Switch/style/css.js +5 -0
  1536. package/lib/components/Switch/style/index.d.ts +2 -0
  1537. package/lib/components/Switch/style/index.js +5 -0
  1538. package/lib/components/Table/Table.d.ts +10 -0
  1539. package/lib/components/Table/Table.js +173 -0
  1540. package/lib/components/Table/VirtualTable.d.ts +9 -0
  1541. package/lib/components/Table/VirtualTable.js +175 -0
  1542. package/lib/components/Table/constants.d.ts +4 -0
  1543. package/lib/components/Table/constants.js +11 -0
  1544. package/lib/components/Table/core/useTableColumns.d.ts +34 -0
  1545. package/lib/components/Table/core/useTableColumns.js +198 -0
  1546. package/lib/components/Table/core/useTableDataPipeline.d.ts +50 -0
  1547. package/lib/components/Table/core/useTableDataPipeline.js +269 -0
  1548. package/lib/components/Table/core/useTableExpand.d.ts +9 -0
  1549. package/lib/components/Table/core/useTableExpand.js +45 -0
  1550. package/lib/components/Table/core/useTableSelection.d.ts +17 -0
  1551. package/lib/components/Table/core/useTableSelection.js +151 -0
  1552. package/lib/components/Table/features/ExpandTrigger.d.ts +4 -0
  1553. package/lib/components/Table/features/ExpandTrigger.js +30 -0
  1554. package/lib/components/Table/features/SelectionColumn.d.ts +11 -0
  1555. package/lib/components/Table/features/SelectionColumn.js +47 -0
  1556. package/lib/components/Table/features/SortTrigger.d.ts +7 -0
  1557. package/lib/components/Table/features/SortTrigger.js +32 -0
  1558. package/lib/components/Table/index.d.ts +6 -0
  1559. package/lib/components/Table/index.js +47 -0
  1560. package/lib/components/Table/interface.d.ts +179 -0
  1561. package/lib/components/Table/interface.js +6 -0
  1562. package/lib/components/Table/internal/index.d.ts +3 -0
  1563. package/lib/components/Table/internal/index.js +52 -0
  1564. package/lib/components/Table/internal/kernel/Body/BodyRow.d.ts +37 -0
  1565. package/lib/components/Table/internal/kernel/Body/BodyRow.js +186 -0
  1566. package/lib/components/Table/internal/kernel/Body/ExpandedRow.d.ts +15 -0
  1567. package/lib/components/Table/internal/kernel/Body/ExpandedRow.js +67 -0
  1568. package/lib/components/Table/internal/kernel/Body/MeasureCell.d.ts +8 -0
  1569. package/lib/components/Table/internal/kernel/Body/MeasureCell.js +50 -0
  1570. package/lib/components/Table/internal/kernel/Body/MeasureRow.d.ts +10 -0
  1571. package/lib/components/Table/internal/kernel/Body/MeasureRow.js +64 -0
  1572. package/lib/components/Table/internal/kernel/Body/index.d.ts +9 -0
  1573. package/lib/components/Table/internal/kernel/Body/index.js +135 -0
  1574. package/lib/components/Table/internal/kernel/Cell/index.d.ts +39 -0
  1575. package/lib/components/Table/internal/kernel/Cell/index.js +190 -0
  1576. package/lib/components/Table/internal/kernel/Cell/useCellRender.d.ts +3 -0
  1577. package/lib/components/Table/internal/kernel/Cell/useCellRender.js +74 -0
  1578. package/lib/components/Table/internal/kernel/Cell/useHoverState.d.ts +2 -0
  1579. package/lib/components/Table/internal/kernel/Cell/useHoverState.js +23 -0
  1580. package/lib/components/Table/internal/kernel/ColGroup.d.ts +8 -0
  1581. package/lib/components/Table/internal/kernel/ColGroup.js +68 -0
  1582. package/lib/components/Table/internal/kernel/FixedHolder/index.d.ts +27 -0
  1583. package/lib/components/Table/internal/kernel/FixedHolder/index.js +193 -0
  1584. package/lib/components/Table/internal/kernel/Footer/Cell.d.ts +11 -0
  1585. package/lib/components/Table/internal/kernel/Footer/Cell.js +60 -0
  1586. package/lib/components/Table/internal/kernel/Footer/Row.d.ts +8 -0
  1587. package/lib/components/Table/internal/kernel/Footer/Row.js +31 -0
  1588. package/lib/components/Table/internal/kernel/Footer/Summary.d.ts +14 -0
  1589. package/lib/components/Table/internal/kernel/Footer/Summary.js +20 -0
  1590. package/lib/components/Table/internal/kernel/Footer/SummaryContext.d.ts +11 -0
  1591. package/lib/components/Table/internal/kernel/Footer/SummaryContext.js +13 -0
  1592. package/lib/components/Table/internal/kernel/Footer/index.d.ts +16 -0
  1593. package/lib/components/Table/internal/kernel/Footer/index.js +47 -0
  1594. package/lib/components/Table/internal/kernel/Header/Header.d.ts +9 -0
  1595. package/lib/components/Table/internal/kernel/Header/Header.js +120 -0
  1596. package/lib/components/Table/internal/kernel/Header/HeaderRow.d.ts +18 -0
  1597. package/lib/components/Table/internal/kernel/Header/HeaderRow.js +71 -0
  1598. package/lib/components/Table/internal/kernel/Panel/index.d.ts +7 -0
  1599. package/lib/components/Table/internal/kernel/Panel/index.js +25 -0
  1600. package/lib/components/Table/internal/kernel/Table.d.ts +126 -0
  1601. package/lib/components/Table/internal/kernel/Table.js +701 -0
  1602. package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.d.ts +13 -0
  1603. package/lib/components/Table/internal/kernel/VirtualTable/BodyGrid.js +299 -0
  1604. package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.d.ts +14 -0
  1605. package/lib/components/Table/internal/kernel/VirtualTable/BodyLine.js +125 -0
  1606. package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.d.ts +26 -0
  1607. package/lib/components/Table/internal/kernel/VirtualTable/VirtualCell.js +117 -0
  1608. package/lib/components/Table/internal/kernel/VirtualTable/context.d.ts +13 -0
  1609. package/lib/components/Table/internal/kernel/VirtualTable/context.js +12 -0
  1610. package/lib/components/Table/internal/kernel/VirtualTable/index.d.ts +17 -0
  1611. package/lib/components/Table/internal/kernel/VirtualTable/index.js +101 -0
  1612. package/lib/components/Table/internal/kernel/constant.d.ts +2 -0
  1613. package/lib/components/Table/internal/kernel/constant.js +10 -0
  1614. package/lib/components/Table/internal/kernel/context/PerfContext.d.ts +6 -0
  1615. package/lib/components/Table/internal/kernel/context/PerfContext.js +18 -0
  1616. package/lib/components/Table/internal/kernel/context/TableContext.d.ts +51 -0
  1617. package/lib/components/Table/internal/kernel/context/TableContext.js +16 -0
  1618. package/lib/components/Table/internal/kernel/hooks/useColumns/index.d.ts +31 -0
  1619. package/lib/components/Table/internal/kernel/hooks/useColumns/index.js +223 -0
  1620. package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.d.ts +5 -0
  1621. package/lib/components/Table/internal/kernel/hooks/useColumns/useWidthColumns.js +79 -0
  1622. package/lib/components/Table/internal/kernel/hooks/useExpand.d.ts +10 -0
  1623. package/lib/components/Table/internal/kernel/hooks/useExpand.js +95 -0
  1624. package/lib/components/Table/internal/kernel/hooks/useFixedInfo.d.ts +2 -0
  1625. package/lib/components/Table/internal/kernel/hooks/useFixedInfo.js +29 -0
  1626. package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.d.ts +19 -0
  1627. package/lib/components/Table/internal/kernel/hooks/useFlattenRecords.js +64 -0
  1628. package/lib/components/Table/internal/kernel/hooks/useFrame.d.ts +7 -0
  1629. package/lib/components/Table/internal/kernel/hooks/useFrame.js +72 -0
  1630. package/lib/components/Table/internal/kernel/hooks/useHover.d.ts +2 -0
  1631. package/lib/components/Table/internal/kernel/hooks/useHover.js +30 -0
  1632. package/lib/components/Table/internal/kernel/hooks/useRenderTimes.d.ts +5 -0
  1633. package/lib/components/Table/internal/kernel/hooks/useRenderTimes.js +51 -0
  1634. package/lib/components/Table/internal/kernel/hooks/useRowInfo.d.ts +11 -0
  1635. package/lib/components/Table/internal/kernel/hooks/useRowInfo.js +70 -0
  1636. package/lib/components/Table/internal/kernel/hooks/useSticky.d.ts +10 -0
  1637. package/lib/components/Table/internal/kernel/hooks/useSticky.js +44 -0
  1638. package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.d.ts +6 -0
  1639. package/lib/components/Table/internal/kernel/hooks/useStickyOffsets.js +38 -0
  1640. package/lib/components/Table/internal/kernel/index.d.ts +12 -0
  1641. package/lib/components/Table/internal/kernel/index.js +74 -0
  1642. package/lib/components/Table/internal/kernel/interface.d.ts +202 -0
  1643. package/lib/components/Table/internal/kernel/interface.js +6 -0
  1644. package/lib/components/Table/internal/kernel/namePathType.d.ts +13 -0
  1645. package/lib/components/Table/internal/kernel/namePathType.js +6 -0
  1646. package/lib/components/Table/internal/kernel/selector-context/Immutable.d.ts +10 -0
  1647. package/lib/components/Table/internal/kernel/selector-context/Immutable.js +82 -0
  1648. package/lib/components/Table/internal/kernel/selector-context/context.d.ts +26 -0
  1649. package/lib/components/Table/internal/kernel/selector-context/context.js +93 -0
  1650. package/lib/components/Table/internal/kernel/selector-context/index.d.ts +7 -0
  1651. package/lib/components/Table/internal/kernel/selector-context/index.js +34 -0
  1652. package/lib/components/Table/internal/kernel/selector-context/isEqual.d.ts +5 -0
  1653. package/lib/components/Table/internal/kernel/selector-context/isEqual.js +55 -0
  1654. package/lib/components/Table/internal/kernel/stickyScrollBar.d.ts +12 -0
  1655. package/lib/components/Table/internal/kernel/stickyScrollBar.js +203 -0
  1656. package/lib/components/Table/internal/kernel/sugar/Column.d.ts +10 -0
  1657. package/lib/components/Table/internal/kernel/sugar/Column.js +17 -0
  1658. package/lib/components/Table/internal/kernel/sugar/ColumnGroup.d.ts +12 -0
  1659. package/lib/components/Table/internal/kernel/sugar/ColumnGroup.js +17 -0
  1660. package/lib/components/Table/internal/kernel/utils/dom/canUseDom.d.ts +1 -0
  1661. package/lib/components/Table/internal/kernel/utils/dom/canUseDom.js +10 -0
  1662. package/lib/components/Table/internal/kernel/utils/dom/isVisible.d.ts +2 -0
  1663. package/lib/components/Table/internal/kernel/utils/dom/isVisible.js +34 -0
  1664. package/lib/components/Table/internal/kernel/utils/expandUtil.d.ts +4 -0
  1665. package/lib/components/Table/internal/kernel/utils/expandUtil.js +60 -0
  1666. package/lib/components/Table/internal/kernel/utils/fixUtil.d.ts +21 -0
  1667. package/lib/components/Table/internal/kernel/utils/fixUtil.js +70 -0
  1668. package/lib/components/Table/internal/kernel/utils/get.d.ts +1 -0
  1669. package/lib/components/Table/internal/kernel/utils/get.js +17 -0
  1670. package/lib/components/Table/internal/kernel/utils/getScrollBarSize.d.ts +7 -0
  1671. package/lib/components/Table/internal/kernel/utils/getScrollBarSize.js +45 -0
  1672. package/lib/components/Table/internal/kernel/utils/legacyUtil.d.ts +5 -0
  1673. package/lib/components/Table/internal/kernel/utils/legacyUtil.js +40 -0
  1674. package/lib/components/Table/internal/kernel/utils/offsetUtil.d.ts +4 -0
  1675. package/lib/components/Table/internal/kernel/utils/offsetUtil.js +21 -0
  1676. package/lib/components/Table/internal/kernel/utils/pickAttrs.d.ts +6 -0
  1677. package/lib/components/Table/internal/kernel/utils/pickAttrs.js +39 -0
  1678. package/lib/components/Table/internal/kernel/utils/useMemo.d.ts +1 -0
  1679. package/lib/components/Table/internal/kernel/utils/useMemo.js +19 -0
  1680. package/lib/components/Table/internal/kernel/utils/valueUtil.d.ts +8 -0
  1681. package/lib/components/Table/internal/kernel/utils/valueUtil.js +38 -0
  1682. package/lib/components/Table/internal/kernel/utils/warning.d.ts +4 -0
  1683. package/lib/components/Table/internal/kernel/utils/warning.js +26 -0
  1684. package/lib/components/Table/renderers/BodyCell.d.ts +15 -0
  1685. package/lib/components/Table/renderers/BodyCell.js +47 -0
  1686. package/lib/components/Table/renderers/CellContent.d.ts +4 -0
  1687. package/lib/components/Table/renderers/CellContent.js +32 -0
  1688. package/lib/components/Table/renderers/EmptyState.d.ts +4 -0
  1689. package/lib/components/Table/renderers/EmptyState.js +21 -0
  1690. package/lib/components/Table/renderers/ExpandedRowContainer.d.ts +4 -0
  1691. package/lib/components/Table/renderers/ExpandedRowContainer.js +16 -0
  1692. package/lib/components/Table/renderers/HeaderCell.d.ts +7 -0
  1693. package/lib/components/Table/renderers/HeaderCell.js +28 -0
  1694. package/lib/components/Table/style/Table.css +1 -0
  1695. package/lib/components/Table/style/Table.scss +376 -0
  1696. package/lib/components/Table/style/css.js +12 -0
  1697. package/lib/components/Table/style/index.d.ts +9 -0
  1698. package/lib/components/Table/style/index.js +12 -0
  1699. package/lib/components/Tabs/Tabs.d.ts +6 -0
  1700. package/lib/components/Tabs/Tabs.js +121 -0
  1701. package/lib/components/Tabs/index.d.ts +4 -0
  1702. package/lib/components/Tabs/index.js +33 -0
  1703. package/lib/components/Tabs/interface.d.ts +27 -0
  1704. package/lib/components/Tabs/interface.js +6 -0
  1705. package/lib/components/Tabs/style/Tabs.css +1 -0
  1706. package/lib/components/Tabs/style/Tabs.scss +100 -0
  1707. package/lib/components/Tabs/style/css.js +4 -0
  1708. package/lib/components/Tabs/style/index.d.ts +1 -0
  1709. package/lib/components/Tabs/style/index.js +4 -0
  1710. package/lib/components/Tag/Tag.d.ts +6 -0
  1711. package/lib/components/Tag/Tag.js +89 -0
  1712. package/lib/components/Tag/constants.d.ts +18 -0
  1713. package/lib/components/Tag/constants.js +34 -0
  1714. package/lib/components/Tag/index.d.ts +5 -0
  1715. package/lib/components/Tag/index.js +45 -0
  1716. package/lib/components/Tag/interface.d.ts +15 -0
  1717. package/lib/components/Tag/interface.js +6 -0
  1718. package/lib/components/Tag/style/Tag.css +1 -0
  1719. package/lib/components/Tag/style/Tag.scss +103 -0
  1720. package/lib/components/Tag/style/css.js +4 -0
  1721. package/lib/components/Tag/style/index.d.ts +1 -0
  1722. package/lib/components/Tag/style/index.js +4 -0
  1723. package/lib/components/Tooltip/Tooltip.d.ts +6 -0
  1724. package/lib/components/Tooltip/Tooltip.js +71 -0
  1725. package/lib/components/Tooltip/index.d.ts +4 -0
  1726. package/lib/components/Tooltip/index.js +33 -0
  1727. package/lib/components/Tooltip/interface.d.ts +20 -0
  1728. package/lib/components/Tooltip/interface.js +6 -0
  1729. package/lib/components/Tooltip/style/Tooltip.css +1 -0
  1730. package/lib/components/Tooltip/style/Tooltip.scss +95 -0
  1731. package/lib/components/Tooltip/style/css.js +4 -0
  1732. package/lib/components/Tooltip/style/index.d.ts +1 -0
  1733. package/lib/components/Tooltip/style/index.js +4 -0
  1734. package/lib/components/Tour/Tour.d.ts +3 -0
  1735. package/lib/components/Tour/Tour.js +250 -0
  1736. package/lib/components/Tour/index.d.ts +4 -0
  1737. package/lib/components/Tour/index.js +33 -0
  1738. package/lib/components/Tour/interface.d.ts +46 -0
  1739. package/lib/components/Tour/interface.js +6 -0
  1740. package/lib/components/Trigger/Trigger.d.ts +5 -0
  1741. package/lib/components/Trigger/Trigger.js +161 -0
  1742. package/lib/components/Trigger/index.d.ts +3 -0
  1743. package/lib/components/Trigger/index.js +35 -0
  1744. package/lib/components/Trigger/interface.d.ts +52 -0
  1745. package/lib/components/Trigger/interface.js +6 -0
  1746. package/lib/components/Trigger/style/Trigger.css +1 -0
  1747. package/lib/components/Trigger/style/Trigger.scss +18 -0
  1748. package/lib/components/Trigger/style/css.js +4 -0
  1749. package/lib/components/Trigger/style/index.d.ts +1 -0
  1750. package/lib/components/Trigger/style/index.js +4 -0
  1751. package/lib/components/Typography/Typography.d.ts +17 -0
  1752. package/lib/components/Typography/Typography.js +207 -0
  1753. package/lib/components/Typography/constants.d.ts +33 -0
  1754. package/lib/components/Typography/constants.js +15 -0
  1755. package/lib/components/Typography/index.d.ts +4 -0
  1756. package/lib/components/Typography/index.js +79 -0
  1757. package/lib/components/Typography/interface.d.ts +72 -0
  1758. package/lib/components/Typography/interface.js +28 -0
  1759. package/lib/components/Typography/render.d.ts +328 -0
  1760. package/lib/components/Typography/render.js +116 -0
  1761. package/lib/components/Typography/style/Typography.css +1 -0
  1762. package/lib/components/Typography/style/Typography.scss +132 -0
  1763. package/lib/components/Typography/style/css.js +6 -0
  1764. package/lib/components/Typography/style/index.d.ts +3 -0
  1765. package/lib/components/Typography/style/index.js +6 -0
  1766. package/lib/components/Typography/useTypographyEnhancements.d.ts +43 -0
  1767. package/lib/components/Typography/useTypographyEnhancements.js +117 -0
  1768. package/lib/components/Typography/utils.d.ts +17 -0
  1769. package/lib/components/Typography/utils.js +105 -0
  1770. package/lib/components/Upload/Upload.d.ts +7 -0
  1771. package/lib/components/Upload/Upload.js +97 -0
  1772. package/lib/components/Upload/UploadFileBar.d.ts +6 -0
  1773. package/lib/components/Upload/UploadFileBar.js +72 -0
  1774. package/lib/components/Upload/index.d.ts +5 -0
  1775. package/lib/components/Upload/index.js +41 -0
  1776. package/lib/components/Upload/interface.d.ts +41 -0
  1777. package/lib/components/Upload/interface.js +6 -0
  1778. package/lib/components/Upload/style/Upload.css +1 -0
  1779. package/lib/components/Upload/style/Upload.scss +44 -0
  1780. package/lib/components/Upload/style/UploadFileBar.css +1 -0
  1781. package/lib/components/Upload/style/UploadFileBar.scss +94 -0
  1782. package/lib/components/Upload/style/css.js +5 -0
  1783. package/lib/components/Upload/style/index.d.ts +2 -0
  1784. package/lib/components/Upload/style/index.js +5 -0
  1785. package/lib/components/VirtualList/Filler.d.ts +21 -0
  1786. package/lib/components/VirtualList/Filler.js +66 -0
  1787. package/lib/components/VirtualList/Item.d.ts +6 -0
  1788. package/lib/components/VirtualList/Item.js +21 -0
  1789. package/lib/components/VirtualList/ScrollBar.d.ts +22 -0
  1790. package/lib/components/VirtualList/ScrollBar.js +247 -0
  1791. package/lib/components/VirtualList/VirtualList.d.ts +62 -0
  1792. package/lib/components/VirtualList/VirtualList.js +540 -0
  1793. package/lib/components/VirtualList/constants.d.ts +4 -0
  1794. package/lib/components/VirtualList/constants.js +11 -0
  1795. package/lib/components/VirtualList/hooks/useChildren.d.ts +2 -0
  1796. package/lib/components/VirtualList/hooks/useChildren.js +34 -0
  1797. package/lib/components/VirtualList/hooks/useDiffItem.d.ts +2 -0
  1798. package/lib/components/VirtualList/hooks/useDiffItem.js +25 -0
  1799. package/lib/components/VirtualList/hooks/useFrameWheel.d.ts +10 -0
  1800. package/lib/components/VirtualList/hooks/useFrameWheel.js +92 -0
  1801. package/lib/components/VirtualList/hooks/useGetSize.d.ts +7 -0
  1802. package/lib/components/VirtualList/hooks/useGetSize.js +57 -0
  1803. package/lib/components/VirtualList/hooks/useHeights.d.ts +8 -0
  1804. package/lib/components/VirtualList/hooks/useHeights.js +106 -0
  1805. package/lib/components/VirtualList/hooks/useMobileTouchMove.d.ts +2 -0
  1806. package/lib/components/VirtualList/hooks/useMobileTouchMove.js +91 -0
  1807. package/lib/components/VirtualList/hooks/useOriginScroll.d.ts +2 -0
  1808. package/lib/components/VirtualList/hooks/useOriginScroll.js +50 -0
  1809. package/lib/components/VirtualList/hooks/useScrollDrag.d.ts +3 -0
  1810. package/lib/components/VirtualList/hooks/useScrollDrag.js +87 -0
  1811. package/lib/components/VirtualList/hooks/useScrollTo.d.ts +18 -0
  1812. package/lib/components/VirtualList/hooks/useScrollTo.js +142 -0
  1813. package/lib/components/VirtualList/index.d.ts +9 -0
  1814. package/lib/components/VirtualList/index.js +31 -0
  1815. package/lib/components/VirtualList/interface.d.ts +26 -0
  1816. package/lib/components/VirtualList/interface.js +6 -0
  1817. package/lib/components/VirtualList/style/VirtualList.css +1 -0
  1818. package/lib/components/VirtualList/style/VirtualList.scss +5 -0
  1819. package/lib/components/VirtualList/style/css.js +4 -0
  1820. package/lib/components/VirtualList/style/index.d.ts +1 -0
  1821. package/lib/components/VirtualList/style/index.js +4 -0
  1822. package/lib/components/VirtualList/utils/CacheMap.d.ts +16 -0
  1823. package/lib/components/VirtualList/utils/CacheMap.js +50 -0
  1824. package/lib/components/VirtualList/utils/algorithmUtil.d.ts +23 -0
  1825. package/lib/components/VirtualList/utils/algorithmUtil.js +84 -0
  1826. package/lib/components/VirtualList/utils/isFirefox.d.ts +2 -0
  1827. package/lib/components/VirtualList/utils/isFirefox.js +11 -0
  1828. package/lib/components/VirtualList/utils/raf.d.ts +9 -0
  1829. package/lib/components/VirtualList/utils/raf.js +53 -0
  1830. package/lib/components/VirtualList/utils/scrollbarUtil.d.ts +1 -0
  1831. package/lib/components/VirtualList/utils/scrollbarUtil.js +18 -0
  1832. package/lib/index.css +1 -0
  1833. package/lib/index.d.ts +89 -0
  1834. package/lib/index.js +494 -0
  1835. package/lib/styles/_api.scss +5 -0
  1836. package/lib/styles/_settings.scss +5 -0
  1837. package/lib/styles/index.css +1 -0
  1838. package/lib/styles/index.scss +2 -0
  1839. package/lib/styles/public/_index.scss +2 -0
  1840. package/lib/styles/public/_system.scss +1 -0
  1841. package/lib/styles/public/_theme.scss +3 -0
  1842. package/lib/styles/recipes/_index.scss +1 -0
  1843. package/lib/styles/recipes/_variants.scss +110 -0
  1844. package/lib/styles/system/_index.scss +4 -0
  1845. package/lib/styles/system/_props.scss +95 -0
  1846. package/lib/styles/system/_public.scss +5 -0
  1847. package/lib/styles/system/_sx.scss +81 -0
  1848. package/lib/styles/theme/_breakpoints.scss +95 -0
  1849. package/lib/styles/theme/_functions.scss +271 -0
  1850. package/lib/styles/theme/_index.scss +6 -0
  1851. package/lib/styles/theme/_mixins.scss +37 -0
  1852. package/lib/styles/theme/_scales.scss +29 -0
  1853. package/lib/styles/theme/_values.scss +68 -0
  1854. package/lib/styles/tokens/_index.scss +11 -0
  1855. package/lib/styles/tokens/breakpoint/_index.scss +2 -0
  1856. package/lib/styles/tokens/breakpoint/_primitives.scss +8 -0
  1857. package/lib/styles/tokens/color/_index.scss +3 -0
  1858. package/lib/styles/tokens/color/_primitives.scss +42 -0
  1859. package/lib/styles/tokens/color/_semantic-color.scss +172 -0
  1860. package/lib/styles/tokens/opacity/_functions.scss +13 -0
  1861. package/lib/styles/tokens/opacity/_index.scss +3 -0
  1862. package/lib/styles/tokens/opacity/_primitives.scss +12 -0
  1863. package/lib/styles/tokens/radius/_index.scss +2 -0
  1864. package/lib/styles/tokens/radius/_primitives.scss +11 -0
  1865. package/lib/styles/tokens/shadow/_index.scss +2 -0
  1866. package/lib/styles/tokens/shadow/_primitives.scss +7 -0
  1867. package/lib/styles/tokens/sizing/_functions.scss +17 -0
  1868. package/lib/styles/tokens/sizing/_index.scss +4 -0
  1869. package/lib/styles/tokens/sizing/_primitives.scss +12 -0
  1870. package/lib/styles/tokens/sizing/_semantic-sizing.scss +11 -0
  1871. package/lib/styles/tokens/spacing/_functions.scss +51 -0
  1872. package/lib/styles/tokens/spacing/_index.scss +4 -0
  1873. package/lib/styles/tokens/spacing/_primitives.scss +22 -0
  1874. package/lib/styles/tokens/spacing/_semantic-spacing.scss +22 -0
  1875. package/lib/styles/tokens/typography/_functions.scss +31 -0
  1876. package/lib/styles/tokens/typography/_index.scss +4 -0
  1877. package/lib/styles/tokens/typography/_primitives.scss +27 -0
  1878. package/lib/styles/tokens/typography/_semantic-typography.scss +216 -0
  1879. package/lib/styles/utilities/_generator.scss +55 -0
  1880. package/lib/styles/utilities/_index.scss +14 -0
  1881. package/lib/utils/classnames.d.ts +5 -0
  1882. package/lib/utils/classnames.js +25 -0
  1883. package/lib/utils/clipboard.d.ts +2 -0
  1884. package/lib/utils/clipboard.js +56 -0
  1885. package/lib/utils/ref.d.ts +4 -0
  1886. package/lib/utils/ref.js +41 -0
  1887. package/lib/utils/uuid.d.ts +2 -0
  1888. package/lib/utils/uuid.js +23 -0
  1889. package/package.json +442 -0
  1890. package/patches/primereact.patch +323 -0
  1891. package/patches/react-pro-sidebar.patch +6421 -0
  1892. package/public/favicon.ico +0 -0
  1893. package/public/fonts/Aeonik/Aeonik-Air.ttf +0 -0
  1894. package/public/fonts/Aeonik/Aeonik-AirItalic.ttf +0 -0
  1895. package/public/fonts/Aeonik/Aeonik-Black.ttf +0 -0
  1896. package/public/fonts/Aeonik/Aeonik-BlackItalic.ttf +0 -0
  1897. package/public/fonts/Aeonik/Aeonik-Bold.ttf +0 -0
  1898. package/public/fonts/Aeonik/Aeonik-BoldItalic.ttf +0 -0
  1899. package/public/fonts/Aeonik/Aeonik-Light.ttf +0 -0
  1900. package/public/fonts/Aeonik/Aeonik-LightItalic.ttf +0 -0
  1901. package/public/fonts/Aeonik/Aeonik-Medium.ttf +0 -0
  1902. package/public/fonts/Aeonik/Aeonik-MediumItalic.ttf +0 -0
  1903. package/public/fonts/Aeonik/Aeonik-Regular.ttf +0 -0
  1904. package/public/fonts/Aeonik/Aeonik-RegularItalic.ttf +0 -0
  1905. package/public/fonts/Aeonik/Aeonik-Thin.ttf +0 -0
  1906. package/public/fonts/Aeonik/Aeonik-ThinItalic.ttf +0 -0
  1907. package/public/fonts/Inter/Inter-Black.ttf +0 -0
  1908. package/public/fonts/Inter/Inter-BlackItalic.ttf +0 -0
  1909. package/public/fonts/Inter/Inter-Bold.ttf +0 -0
  1910. package/public/fonts/Inter/Inter-BoldItalic.ttf +0 -0
  1911. package/public/fonts/Inter/Inter-ExtraBold.ttf +0 -0
  1912. package/public/fonts/Inter/Inter-ExtraBoldItalic.ttf +0 -0
  1913. package/public/fonts/Inter/Inter-ExtraLight.ttf +0 -0
  1914. package/public/fonts/Inter/Inter-ExtraLightItalic.ttf +0 -0
  1915. package/public/fonts/Inter/Inter-Italic.ttf +0 -0
  1916. package/public/fonts/Inter/Inter-Light.ttf +0 -0
  1917. package/public/fonts/Inter/Inter-LightItalic.ttf +0 -0
  1918. package/public/fonts/Inter/Inter-Medium.ttf +0 -0
  1919. package/public/fonts/Inter/Inter-MediumItalic.ttf +0 -0
  1920. package/public/fonts/Inter/Inter-Regular.ttf +0 -0
  1921. package/public/fonts/Inter/Inter-SemiBold.ttf +0 -0
  1922. package/public/fonts/Inter/Inter-SemiBoldItalic.ttf +0 -0
  1923. package/public/fonts/Inter/Inter-Thin.ttf +0 -0
  1924. package/public/fonts/Inter/Inter-ThinItalic.ttf +0 -0
  1925. package/public/fonts/Outfit/Outfit-Black.ttf +0 -0
  1926. package/public/fonts/Outfit/Outfit-Bold.ttf +0 -0
  1927. package/public/fonts/Outfit/Outfit-ExtraBold.ttf +0 -0
  1928. package/public/fonts/Outfit/Outfit-ExtraLight.ttf +0 -0
  1929. package/public/fonts/Outfit/Outfit-Light.ttf +0 -0
  1930. package/public/fonts/Outfit/Outfit-Medium.ttf +0 -0
  1931. package/public/fonts/Outfit/Outfit-Regular.ttf +0 -0
  1932. package/public/fonts/Outfit/Outfit-SemiBold.ttf +0 -0
  1933. package/public/fonts/Outfit/Outfit-Thin.ttf +0 -0
  1934. package/public/github-mark.svg +3 -0
  1935. package/public/tokens/GYEN.svg +9 -0
  1936. package/public/tokens/PYUSD.svg +9 -0
  1937. package/public/tokens/USDT.svg +6 -0
  1938. package/scripts/mcp-server/index.d.mts +1 -0
  1939. package/scripts/mcp-server/index.mjs +45 -0
  1940. package/scripts/mcp-server/resources.d.mts +1 -0
  1941. package/scripts/mcp-server/resources.mjs +102 -0
  1942. package/test/jsdom-global-register.d.ts +1 -0
  1943. package/test/jsdom-global-register.js +1 -0
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = useScrollDrag;
9
+ exports.getPageXY = getPageXY;
10
+ var _raf = _interopRequireDefault(require("../utils/raf"));
11
+ var React = _interopRequireWildcard(require("react"));
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
+ function smoothScrollOffset(offset) {
15
+ return Math.floor(Math.pow(offset, 0.5));
16
+ }
17
+ function getPageXY(e, horizontal) {
18
+ var obj = 'touches' in e ? e.touches[0] : e;
19
+ return obj[horizontal ? 'pageX' : 'pageY'] - window[horizontal ? 'scrollX' : 'scrollY'];
20
+ }
21
+ function useScrollDrag(inVirtual, componentRef, onScrollOffset) {
22
+ React.useEffect(function () {
23
+ var ele = componentRef.current;
24
+ if (inVirtual && ele) {
25
+ var mouseDownLock = false;
26
+ var rafId;
27
+ var offset;
28
+ var stopScroll = function stopScroll() {
29
+ _raf["default"].cancel(rafId);
30
+ };
31
+ var _continueScroll = function continueScroll() {
32
+ stopScroll();
33
+ rafId = (0, _raf["default"])(function () {
34
+ onScrollOffset(offset);
35
+ _continueScroll();
36
+ });
37
+ };
38
+ var clearDragState = function clearDragState() {
39
+ mouseDownLock = false;
40
+ stopScroll();
41
+ };
42
+ var onMouseDown = function onMouseDown(e) {
43
+ // Skip if element set draggable
44
+ if (e.target.draggable || e.button !== 0) {
45
+ return;
46
+ }
47
+ // Skip if nest List has handled this event
48
+ var event = e;
49
+ if (!event._virtualHandled) {
50
+ event._virtualHandled = true;
51
+ mouseDownLock = true;
52
+ }
53
+ };
54
+ var onMouseMove = function onMouseMove(e) {
55
+ if (mouseDownLock) {
56
+ var mouseY = getPageXY(e, false);
57
+ var _ele$getBoundingClien = ele.getBoundingClientRect(),
58
+ top = _ele$getBoundingClien.top,
59
+ bottom = _ele$getBoundingClien.bottom;
60
+ if (mouseY <= top) {
61
+ var diff = top - mouseY;
62
+ offset = -smoothScrollOffset(diff);
63
+ _continueScroll();
64
+ } else if (mouseY >= bottom) {
65
+ var _diff = mouseY - bottom;
66
+ offset = smoothScrollOffset(_diff);
67
+ _continueScroll();
68
+ } else {
69
+ stopScroll();
70
+ }
71
+ }
72
+ };
73
+ ele.addEventListener('mousedown', onMouseDown);
74
+ ele.ownerDocument.addEventListener('mouseup', clearDragState);
75
+ ele.ownerDocument.addEventListener('mousemove', onMouseMove);
76
+ ele.ownerDocument.addEventListener('dragend', clearDragState);
77
+ return function () {
78
+ ele.removeEventListener('mousedown', onMouseDown);
79
+ ele.ownerDocument.removeEventListener('mouseup', clearDragState);
80
+ ele.ownerDocument.removeEventListener('mousemove', onMouseMove);
81
+ ele.ownerDocument.removeEventListener('dragend', clearDragState);
82
+ stopScroll();
83
+ };
84
+ }
85
+ }, [inVirtual]);
86
+ }
87
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVmlydHVhbExpc3Qvc3JjL2NvbXBvbmVudHMvVmlydHVhbExpc3QvaG9va3MvdXNlU2Nyb2xsRHJhZy50cyJdLCJuYW1lcyI6WyJfcmFmIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJSZWFjdCIsIl9pbnRlcm9wUmVxdWlyZVdpbGRjYXJkIiwiX2dldFJlcXVpcmVXaWxkY2FyZENhY2hlIiwiZSIsIldlYWtNYXAiLCJyIiwidCIsIl9fZXNNb2R1bGUiLCJfdHlwZW9mIiwiaGFzIiwiZ2V0IiwibiIsIl9fcHJvdG9fXyIsImEiLCJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImdldE93blByb3BlcnR5RGVzY3JpcHRvciIsInUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJpIiwic2V0Iiwic21vb3RoU2Nyb2xsT2Zmc2V0Iiwib2Zmc2V0IiwiTWF0aCIsImZsb29yIiwicG93IiwiZ2V0UGF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mlydHVhbExpc3QvaG9va3MvdXNlU2Nyb2xsRHJhZy5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ import type { GetKey } from '../interface';
3
+ import type CacheMap from '../utils/CacheMap';
4
+ export type ScrollAlign = 'top' | 'bottom' | 'auto';
5
+ export type ScrollPos = {
6
+ left?: number;
7
+ top?: number;
8
+ };
9
+ export type ScrollTarget = {
10
+ index: number;
11
+ align?: ScrollAlign;
12
+ offset?: number;
13
+ } | {
14
+ key: React.Key;
15
+ align?: ScrollAlign;
16
+ offset?: number;
17
+ };
18
+ export default function useScrollTo<T>(containerRef: React.RefObject<HTMLDivElement | null>, data: T[], heights: CacheMap, itemHeight: number, getKey: GetKey<T>, collectHeight: () => void, syncScrollTop: (newTop: number) => void, triggerFlash: () => void): (arg: number | ScrollTarget) => void;
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof3 = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = useScrollTo;
9
+ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
10
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _raf = _interopRequireDefault(require("../utils/raf"));
13
+ var _hooks = require("@1money/hooks");
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof3(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
16
+ var MAX_TIMES = 10;
17
+ function useScrollTo(containerRef, data, heights, itemHeight, getKey, collectHeight, syncScrollTop, triggerFlash) {
18
+ var scrollRef = React.useRef(undefined);
19
+ var _React$useState = React.useState(null),
20
+ _React$useState2 = (0, _slicedToArray2["default"])(_React$useState, 2),
21
+ syncState = _React$useState2[0],
22
+ setSyncState = _React$useState2[1];
23
+ // ========================== Sync Scroll ==========================
24
+ (0, _hooks.useLayoutEffect)(function () {
25
+ if (syncState && syncState.times < MAX_TIMES) {
26
+ // Never reach
27
+ if (!containerRef.current) {
28
+ setSyncState(function (ori) {
29
+ return Object.assign({}, ori);
30
+ });
31
+ return;
32
+ }
33
+ collectHeight();
34
+ var targetAlign = syncState.targetAlign,
35
+ originAlign = syncState.originAlign,
36
+ index = syncState.index,
37
+ offset = syncState.offset;
38
+ var height = containerRef.current.clientHeight;
39
+ var needCollectHeight = false;
40
+ var newTargetAlign = targetAlign !== null && targetAlign !== void 0 ? targetAlign : null;
41
+ var targetTop = null;
42
+ // Go to next frame if height not exist
43
+ if (height) {
44
+ var mergedAlign = targetAlign || originAlign;
45
+ // Get top & bottom
46
+ var stackTop = 0;
47
+ var itemTop = 0;
48
+ var itemBottom = 0;
49
+ var maxLen = Math.min(data.length - 1, index);
50
+ for (var i = 0; i <= maxLen; i += 1) {
51
+ var key = getKey(data[i]);
52
+ itemTop = stackTop;
53
+ var cacheHeight = heights.get(key);
54
+ itemBottom = itemTop + (cacheHeight === undefined ? itemHeight : cacheHeight);
55
+ stackTop = itemBottom;
56
+ }
57
+ // Check if need sync height (visible range has item not record height)
58
+ var leftHeight = mergedAlign === 'top' ? offset : height - offset;
59
+ for (var _i = maxLen; _i >= 0; _i -= 1) {
60
+ var _key = getKey(data[_i]);
61
+ var _cacheHeight = heights.get(_key);
62
+ if (_cacheHeight === undefined) {
63
+ needCollectHeight = true;
64
+ break;
65
+ }
66
+ leftHeight -= _cacheHeight;
67
+ if (leftHeight <= 0) {
68
+ break;
69
+ }
70
+ }
71
+ // Scroll to
72
+ switch (mergedAlign) {
73
+ case 'top':
74
+ targetTop = itemTop - offset;
75
+ break;
76
+ case 'bottom':
77
+ targetTop = itemBottom - height + offset;
78
+ break;
79
+ default:
80
+ {
81
+ var scrollTop = containerRef.current.scrollTop;
82
+ var scrollBottom = scrollTop + height;
83
+ if (itemTop < scrollTop) {
84
+ newTargetAlign = 'top';
85
+ } else if (itemBottom > scrollBottom) {
86
+ newTargetAlign = 'bottom';
87
+ }
88
+ }
89
+ }
90
+ if (targetTop !== null) {
91
+ syncScrollTop(targetTop);
92
+ }
93
+ // One more time for sync
94
+ if (targetTop !== syncState.lastTop) {
95
+ needCollectHeight = true;
96
+ }
97
+ }
98
+ // Trigger next effect
99
+ if (needCollectHeight) {
100
+ setSyncState(Object.assign(Object.assign({}, syncState), {
101
+ times: syncState.times + 1,
102
+ targetAlign: newTargetAlign,
103
+ lastTop: targetTop
104
+ }));
105
+ }
106
+ } else if ((syncState === null || syncState === void 0 ? void 0 : syncState.times) === MAX_TIMES) {
107
+ console.warn('[VirtualList] `scrollTo` reached the max iteration limit.');
108
+ }
109
+ }, [syncState, containerRef.current]);
110
+ // =========================== Scroll To ===========================
111
+ return function (arg) {
112
+ // When not argument provided, we think dev may want to show the scrollbar
113
+ if (arg === null || arg === undefined) {
114
+ triggerFlash();
115
+ return;
116
+ }
117
+ // Normal scroll logic
118
+ _raf["default"].cancel(scrollRef.current);
119
+ if (typeof arg === 'number') {
120
+ syncScrollTop(arg);
121
+ } else if (arg && (0, _typeof2["default"])(arg) === 'object') {
122
+ var index;
123
+ var align = arg.align;
124
+ if ('index' in arg) {
125
+ index = arg.index;
126
+ } else {
127
+ index = data.findIndex(function (item) {
128
+ return getKey(item) === arg.key;
129
+ });
130
+ }
131
+ var _arg$offset = arg.offset,
132
+ offset = _arg$offset === void 0 ? 0 : _arg$offset;
133
+ setSyncState({
134
+ times: 0,
135
+ index: index,
136
+ offset: offset,
137
+ originAlign: align
138
+ });
139
+ }
140
+ };
141
+ }
142
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVmlydHVhbExpc3Qvc3JjL2NvbXBvbmVudHMvVmlydHVhbExpc3QvaG9va3MvdXNlU2Nyb2xsVG8udHN4IiwiY29tcG9uZW50cy9WaXJ0dWFsTGlzdC9ob29rcy91c2VTY3JvbGxUby5qcyJdLCJuYW1lcyI6WyJSZWFjdCIsIl9pbnRlcm9wUmVxdWlyZVdpbGRjYXJkIiwicmVxdWlyZSIsIl9yYWYiLCJfaW50ZXJvcFJlcXVpcmVEZWZhdWx0IiwiX2hvb2tzIiwiX2dldFJlcXVpcmVXaWxkY2FyZENhY2hlIiwiZSIsIldlYWtNYXAiLCJyIiwidCIsIl9fZXNNb2R1bGUiLCJfdHlwZW9mMyIsImhhcyIsImdldCIsIm4iLCJfX3Byb3RvX18iLCJhIiwiT2JqZWN0IiwiZGVmaW5lUHJvcGVydHkiLCJnZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3IiLCJ1IiwiaGFzT3duUHJvcGVydHkiLCJjYWxsIiwiaSIsInNldCIsIk1BWF9USU1FUyIsInVzZVNjcm9sbFRvIiwiY29udGFpbmVyUmVmIiwiZGF0YSIsImhlaWdodHMiLCJpdGVtSGVpZ2h0IiwiZ2V0S2V5IiwiY29sbGVjdEhlaWdodCIsInN5bmNTY3JvbGxUb3AiLCJ0cmlnZ2VyRmxhc2giLCJzY3JvbGxSZWYiLCJ1c2VSZWYiLCJ1bmRlZmluZWQiLCJfUmVhY3QkdXNlU3R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dldEFsaWduICE9PSB2b2lkIDAgPyB0YXJnZXRBbGlnbiA6IG51bGw7XG4gICAgICAgICAgICBsZXQgdGFyZ2V0VG9wID0gbnVsbDtcbiAgICAgICAgICAgIC8vIEdvIHRvIG5leHQgZnJhbWUgaWYgaGVpZ2h0IG5vdCBleGlzdFxuICAgICAgICAgICAgaWYgKGhlaWdodCkge1xuICAgICAgICAgICAgICAgIGNvbnN0IG1lcmdlZEFsaWduID0gdGFyZ2V0QWxpZ24gfHwgb3JpZ2luQWxpZ247XG4gICAgICAgICAgICAgICAgLy8gR2V0IHRvcCAmIGJvdHRvbVxuICAgICAgICAgICAgICAgIGxldCBzdGFja1RvcCA9IDA7XG4gICAgICAgICAgICAgICAgbGV0IGl0ZW1Ub3AgPSAwO1xuICAgICAgICAgICAgICAgIGxldCBpdGVtQm90dG9tID0gMDtcbiAgICAgICAgICAgICAgICBjb25zdCBtYXhMZW4gPSBNYXRoLm1pbihkYXRhLmxlbmd0aCAtIDEsIGluZGV4KTtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8PSBtYXhMZW47IGkgKz0gMSkge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBrZXkgPSBnZXRLZXkoZGF0YVtpXSk7XG4gICAgICAgICAgICAgICAgICAgIGl0ZW1Ub3AgPSBzdGFja1RvcDtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgY2FjaGVIZWlnaHQgPSBoZWlnaHRzLmdldChrZXkpO1xuICAgICAgICAgICAgICAgICAgICBpdGVtQm90dG9tID0gaXRlbVRvcCArIChjYWNoZUhlaWdodCA9PT0gdW5kZWZpbmVkID8gaXRlbUhlaWdodCA6IGNhY2hlSGVpZ2h0KTtcbiAgICAgICAgICAgICAgICAgICAgc3RhY2tUb3AgPSBpdGVtQm90dG9tO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAvLyBDaGVjayBpZiBuZWVkIHN5bmMgaGVpZ2h0ICh2aXNpYmxlIHJhbmdlIGhhcyBpdGVtIG5vdCByZWNvcmQgaGVpZ2h0KVxuICAgICAgICAgICAgICAgIGxldCBsZWZ0SGVpZ2h0ID0gbWVyZ2VkQWxpZ24gPT09ICd0b3AnID8gb2Zmc2V0IDogaGVpZ2h0IC0gb2Zmc2V0O1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSBtYXhMZW47IGkgPj0gMDsgaSAtPSAxKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGtleSA9IGdldEtleShkYXRhW2ldKTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgY2FjaGVIZWlnaHQgPSBoZWlnaHRzLmdldChrZXkpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoY2FjaGVIZWlnaHQgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbmVlZENvbGxlY3RIZWlnaHQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgbGVmdEhlaWdodCAtPSBjYWNoZUhlaWdodDtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGxlZnRIZWlnaHQgPD0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgLy8gU2Nyb2xsIHRvXG4gICAgICAgICAgICAgICAgc3dpdGNoIChtZXJnZWRBbGlnbikge1xuICAgICAgICAgICAgICAgICAgICBjYXNlICd0b3AnOlxuICAgICAgICAgICAgICAgICAgICAgICAgdGFyZ2V0VG9wID0gaXRlbVRvcCAtIG9mZnNldDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlICdib3R0b20nOlxuICAgICAgICAgICAgICAgICAgICAgICAgdGFyZ2V0VG9wID0gaXRlbUJvdHRvbSAtIGhlaWdodCArIG9mZnNldDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBkZWZhdWx0OiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB7IHNjcm9sbFRvcCB9ID0gY29udGFpbmVyUmVmLmN1cnJlbnQ7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBzY3JvbGxCb3R0b20gPSBzY3JvbGxUb3AgKyBoZWlnaHQ7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoaXRlbVRvcCA8IHNjcm9sbFRvcCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5ld1RhcmdldEFsaWduID0gJ3RvcCc7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmIChpdGVtQm90dG9tID4gc2Nyb2xsQm90dG9tKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbmV3VGFyZ2V0QWxpZ24gPSAnYm90dG9tJztcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAodGFyZ2V0VG9wICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIHN5bmNTY3JvbGxUb3AodGFyZ2V0VG9wKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgLy8gT25lIG1vcmUgdGltZSBmb3Igc3luY1xuICAgICAgICAgICAgICAgIGlmICh0YXJnZXRUb3AgIT09IHN5bmNTdGF0ZS5sYXN0VG9wKSB7XG4gICAgICAgICAgICAgICAgICAgIG5lZWRDb2xsZWN0SGVpZ2h0ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvLyBUcmlnZ2VyIG5leHQgZWZmZWN0XG4gICAgICAgICAgICBpZiAobmVlZ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ZyA9PT0gJ251bWJlcicpIHtcbiAgICAgICAgICAgIHN5bmNTY3JvbGxUb3AoYXJnKTtcbiAgICAgICAgfVxuICAgICAgICBlbHNlIGlmIChhcmcgJiYgdHlwZW9mIGFyZyA9PT0gJ29iamVjdCcpIHtcbiAgICAgICAgICAgIGxldCBpbmRleDtcbiAgICAgICAgICAgIGNvbnN0IHsgYWxpZ24gfSA9IGFyZztcbiAgICAgICAgICAgIGlmICgnaW5kZXgnIGluIGFyZykge1xuICAgICAgICAgICAgICAgICh7IGluZGV4IH0gPSBhcmcpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZSB7XG4gICAgICAgICAgICAgICAgaW5kZXggPSBkYXRhLmZpbmRJbmRleCgoaXRlbSkgPT4gZ2V0S2V5KGl0ZW0pID09PSBhcmcua2V5KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNvbnN0IHsgb2Zmc2V0ID0gMCB9ID0gYXJnO1xuICAgICAgICAgICAgc2V0U3luY1N0YXRlKHtcbiAgICAgICAgICAgICAgICB0aW1lczogMCxcbiAgICAgICAgICAgICAgICBpbmRleCxcbiAgICAgICAgICAgICAgICBvZmZzZXQsXG4gICAgICAgICAgICAgICAgb3JpZ2luQWxpZ246IGFsaWduLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICB9O1xufSJdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
@@ -0,0 +1,9 @@
1
+ import VirtualList from './VirtualList';
2
+ export { default as VirtualList } from './VirtualList';
3
+ export default VirtualList;
4
+ export type { ListRef, ListProps, ScrollInfo, ScrollConfig, ScrollTo } from './VirtualList';
5
+ export type { ScrollAlign, ScrollPos, ScrollTarget } from './hooks/useScrollTo';
6
+ export type { ScrollBarDirectionType, ScrollBarRef } from './ScrollBar';
7
+ export type { InnerProps } from './Filler';
8
+ export type { RenderFunc, SharedConfig, GetKey, GetSize, ExtraRenderInfo, } from './interface';
9
+ export * from './constants';
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {
8
+ VirtualList: true
9
+ };
10
+ Object.defineProperty(exports, "VirtualList", {
11
+ enumerable: true,
12
+ get: function get() {
13
+ return _VirtualList["default"];
14
+ }
15
+ });
16
+ exports["default"] = void 0;
17
+ var _VirtualList = _interopRequireDefault(require("./VirtualList"));
18
+ var _constants = require("./constants");
19
+ Object.keys(_constants).forEach(function (key) {
20
+ if (key === "default" || key === "__esModule") return;
21
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
22
+ if (key in exports && exports[key] === _constants[key]) return;
23
+ Object.defineProperty(exports, key, {
24
+ enumerable: true,
25
+ get: function get() {
26
+ return _constants[key];
27
+ }
28
+ });
29
+ });
30
+ var _default = exports["default"] = _VirtualList["default"];
31
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvVmlydHVhbExpc3QvaW5kZXgudHMiXSwibmFtZXMiOlsiX1ZpcnR1YWxMaXN0IiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfY29uc3RhbnRzIiwiT2JqZWN0Iiwia2V5cyIsImZvckVhY2giLCJrZXkiLCJwcm90b3R5cGUiLCJoYXNPd25Qcm9wZXJ0eSIsImNhbGwiLCJfZXhwb3J0TmFtZXMiLCJleHBvcnRzIiwiZGVmaW5lUHJvcGVydHkiLCJlbnVtZXJhYmxlIiwiZ2V0IiwiX2RlZmF1bHQiLCJWaXJ0dWFsTGlzdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLElBQUFBLFlBQUEsR0FBQUMsc0JBQUEsQ0FBQUMsT0FBQTtBQWtCQSxJQUFBQyxVQUFBLEdBQUFELE9BQUE7QUFBQUUsTUFBQSxDQUFBQyxJQUFBLENBQUFGLFVBQUEsRUFBQUcsT0FBQSxXQUFBQyxHQUFBO0VBQUEsSUFBQUEsR0FBQSxrQkFBQUEsR0FBQTtFQUFBLElBQUFILE1BQUEsQ0FBQUksU0FBQSxDQUFBQyxjQUFBLENBQUFDLElBQUEsQ0FBQUMsWUFBQSxFQUFBSixHQUFBO0VBQUEsSUFBQUEsR0FBQSxJQUFBSyxPQUFBLElBQUFBLE9BQUEsQ0FBQUwsR0FBQSxNQUFBSixVQUFBLENBQUFJLEdBQUE7RUFBQUgsTUFBQSxDQUFBUyxjQUFBLENBQUFELE9BQUEsRUFBQUwsR0FBQTtJQUFBTyxVQUFBO0lBQUFDLEdBQUEsV0FBQUEsSUFBQTtNQUFBLE9BQUFaLFVBQUEsQ0FBQUksR0FBQTtJQUFBO0VBQUE7QUFBQTtBQUE0QixJQUFBUyxRQUFBLEdBQUFKLE9BQUEsY0FkYkssdUJBQVciLCJmaWxlIjoiY29tcG9uZW50cy9WaXJ0dWFsTGlzdC9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
@@ -0,0 +1,26 @@
1
+ import type * as React from 'react';
2
+ export type RenderFunc<T> = (item: T, index: number, props: {
3
+ style: React.CSSProperties;
4
+ offsetX: number;
5
+ }) => React.ReactNode;
6
+ export interface SharedConfig<T> {
7
+ getKey: (item: T) => React.Key;
8
+ }
9
+ export type GetKey<T> = (item: T) => React.Key;
10
+ export type GetSize = (startKey: React.Key, endKey?: React.Key) => {
11
+ top: number;
12
+ bottom: number;
13
+ };
14
+ export interface ExtraRenderInfo {
15
+ /** Virtual list start line */
16
+ start: number;
17
+ /** Virtual list end line */
18
+ end: number;
19
+ /** Is current in virtual render */
20
+ virtual: boolean;
21
+ /** Used for `scrollWidth` tell the horizontal offset */
22
+ offsetX: number;
23
+ offsetY: number;
24
+ rtl: boolean;
25
+ getSize: GetSize;
26
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9WaXJ0dWFsTGlzdC9pbnRlcmZhY2UuanMiLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMiLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVmlydHVhbExpc3QvaW50ZXJmYWNlLmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7fTsiXSwibWFwcGluZ3MiOiIiLCJpZ25vcmVMaXN0IjpbXX0=
@@ -0,0 +1 @@
1
+ .om-react-ui-virtual-list{--om-react-ui-virtual-list-scrollbar-bg:rgb(0 0 0/50%)}
@@ -0,0 +1,5 @@
1
+ @use '@/styles/api' as theme;
2
+
3
+ .#{theme.$prefix}-virtual-list {
4
+ --#{theme.$prefix}-virtual-list-scrollbar-bg: rgb(0 0 0 / 50%);
5
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./VirtualList.css");
4
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVmlydHVhbExpc3Qvc3JjL2NvbXBvbmVudHMvVmlydHVhbExpc3Qvc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOlsicmVxdWlyZSJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBQSIsImZpbGUiOiJjb21wb25lbnRzL1ZpcnR1YWxMaXN0L3N0eWxlL2Nzcy5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
@@ -0,0 +1 @@
1
+ import './VirtualList.scss';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./VirtualList.scss");
4
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVmlydHVhbExpc3Qvc3JjL2NvbXBvbmVudHMvVmlydHVhbExpc3Qvc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOlsicmVxdWlyZSJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBQSIsImZpbGUiOiJjb21wb25lbnRzL1ZpcnR1YWxMaXN0L3N0eWxlL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
@@ -0,0 +1,16 @@
1
+ import type React from 'react';
2
+ declare class CacheMap {
3
+ maps: Record<string, number>;
4
+ id: number;
5
+ diffRecords: Map<React.Key, number>;
6
+ constructor();
7
+ set(key: React.Key, value: number): void;
8
+ get(key: React.Key): number;
9
+ /**
10
+ * CacheMap will record the key changed.
11
+ * To help to know what's update in the next render.
12
+ */
13
+ resetRecord(): void;
14
+ getRecord(): Map<React.Key, number>;
15
+ }
16
+ export default CacheMap;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
+ // Firefox has low performance of map.
11
+ var CacheMap = /*#__PURE__*/function () {
12
+ function CacheMap() {
13
+ (0, _classCallCheck2["default"])(this, CacheMap);
14
+ // Used for cache key
15
+ // `useMemo` no need to update if `id` not change
16
+ this.id = 0;
17
+ this.diffRecords = new Map();
18
+ this.maps = Object.create(null);
19
+ }
20
+ return (0, _createClass2["default"])(CacheMap, [{
21
+ key: "set",
22
+ value: function set(key, value) {
23
+ // Record prev value
24
+ this.diffRecords.set(key, this.maps[key]);
25
+ this.maps[key] = value;
26
+ this.id += 1;
27
+ }
28
+ }, {
29
+ key: "get",
30
+ value: function get(key) {
31
+ return this.maps[key];
32
+ }
33
+ /**
34
+ * CacheMap will record the key changed.
35
+ * To help to know what's update in the next render.
36
+ */
37
+ }, {
38
+ key: "resetRecord",
39
+ value: function resetRecord() {
40
+ this.diffRecords.clear();
41
+ }
42
+ }, {
43
+ key: "getRecord",
44
+ value: function getRecord() {
45
+ return this.diffRecords;
46
+ }
47
+ }]);
48
+ }();
49
+ var _default = exports["default"] = CacheMap;
50
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVmlydHVhbExpc3Qvc3JjL2NvbXBvbmVudHMvVmlydHVhbExpc3QvdXRpbHMvQ2FjaGVNYXAudHMiLCJjb21wb25lbnRzL1ZpcnR1YWxMaXN0L3V0aWxzL0NhY2hlTWFwLmpzIl0sIm5hbWVzIjpbIkNhY2hlTWFwIiwiX2NsYXNzQ2FsbENoZWNrMiIsImlkIiwiZGlmZlJlY29yZHMiLCJNYXAiLCJtYXBzIiwiT2JqZWN0IiwiY3JlYXRlIiwiX2NyZWF0ZUNsYXNzMiIsImtleSIsInZhbHVlIiwic2V0IiwiZ2V0IiwicmVzZXRSZWNvcmQiLCJjbGVhciIsImdldFJlY29yZCIsIl9kZWZhdWx0IiwiZXhwb3J0cyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBRUE7QUFBQSxJQUNNQSxRQUFRO0VBU1osU0FBQUEsU0FBQSxFQUFBO0lBQUEsSUFBQUMsZ0JBQUEsbUJBQUFELFFBQUE7SUFOQ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1cbmV4cG9ydCBkZWZhdWx0IENhY2hlTWFwOyJdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
@@ -0,0 +1,23 @@
1
+ import type * as React from 'react';
2
+ /**
3
+ * Get index with specific start index one by one. e.g.
4
+ * min: 3, max: 9, start: 6
5
+ *
6
+ * Return index is:
7
+ * [0]: 6
8
+ * [1]: 7
9
+ * [2]: 5
10
+ * [3]: 8
11
+ * [4]: 4
12
+ * [5]: 9
13
+ * [6]: 3
14
+ */
15
+ export declare function getIndexByStartLoc(min: number, max: number, start: number, index: number): number;
16
+ /**
17
+ * We assume that 2 list has only 1 item diff and others keeping the order.
18
+ * So we can use dichotomy algorithm to find changed one.
19
+ */
20
+ export declare function findListDiffIndex<T>(originList: T[], targetList: T[], getKey: (item: T) => React.Key): {
21
+ index: number;
22
+ multiple: boolean;
23
+ } | null;
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.findListDiffIndex = findListDiffIndex;
7
+ exports.getIndexByStartLoc = getIndexByStartLoc;
8
+ /**
9
+ * Get index with specific start index one by one. e.g.
10
+ * min: 3, max: 9, start: 6
11
+ *
12
+ * Return index is:
13
+ * [0]: 6
14
+ * [1]: 7
15
+ * [2]: 5
16
+ * [3]: 8
17
+ * [4]: 4
18
+ * [5]: 9
19
+ * [6]: 3
20
+ */
21
+ function getIndexByStartLoc(min, max, start, index) {
22
+ var beforeCount = start - min;
23
+ var afterCount = max - start;
24
+ var balanceCount = Math.min(beforeCount, afterCount) * 2;
25
+ // Balance
26
+ if (index <= balanceCount) {
27
+ var stepIndex = Math.floor(index / 2);
28
+ if (index % 2) {
29
+ return start + stepIndex + 1;
30
+ }
31
+ return start - stepIndex;
32
+ }
33
+ // One is out of range
34
+ if (beforeCount > afterCount) {
35
+ return start - (index - afterCount);
36
+ }
37
+ return start + (index - beforeCount);
38
+ }
39
+ /**
40
+ * We assume that 2 list has only 1 item diff and others keeping the order.
41
+ * So we can use dichotomy algorithm to find changed one.
42
+ */
43
+ function findListDiffIndex(originList, targetList, getKey) {
44
+ var originLen = originList.length;
45
+ var targetLen = targetList.length;
46
+ var shortList;
47
+ var longList;
48
+ if (originLen === 0 && targetLen === 0) {
49
+ return null;
50
+ }
51
+ if (originLen < targetLen) {
52
+ shortList = originList;
53
+ longList = targetList;
54
+ } else {
55
+ shortList = targetList;
56
+ longList = originList;
57
+ }
58
+ var notExistKey = {
59
+ __EMPTY_ITEM__: true
60
+ };
61
+ function getItemKey(item) {
62
+ if (item !== undefined) {
63
+ return getKey(item);
64
+ }
65
+ return notExistKey;
66
+ }
67
+ // Loop to find diff one
68
+ var diffIndex = null;
69
+ var multiple = Math.abs(originLen - targetLen) !== 1;
70
+ for (var i = 0; i < longList.length; i += 1) {
71
+ var shortKey = getItemKey(shortList[i]);
72
+ var longKey = getItemKey(longList[i]);
73
+ if (shortKey !== longKey) {
74
+ diffIndex = i;
75
+ multiple = multiple || shortKey !== getItemKey(longList[i + 1]);
76
+ break;
77
+ }
78
+ }
79
+ return diffIndex === null ? null : {
80
+ index: diffIndex,
81
+ multiple: multiple
82
+ };
83
+ }
84
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVmlydHVhbExpc3Qvc3JjL2NvbXBvbmVudHMvVmlydHVhbExpc3QvdXRpbHMvYWxnb3JpdGhtVXRpbC50cyIsImNvbXBvbmVudHMvVmlydHVhbExpc3QvdXRpbHMvYWxnb3JpdGhtVXRpbC5qcyJdLCJuYW1lcyI6WyJnZXRJbmRleEJ5U3RhcnRMb2MiLCJtaW4iLCJtYXgiLCJzdGFydCIsImluZGV4IiwiYmVmb3JlQ291bnQiLCJhZnRlckNvdW50IiwiYmFsYW5jZUNvdW50IiwiTWF0aCIsInN0ZXBJbmRleCIsImZsb29yIiwiZmluZExp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ge1xuICAgICAgICAgICAgZGlmZkluZGV4ID0gaTtcbiAgICAgICAgICAgIG11bHRpcGxlID0gbXVsdGlwbGUgfHwgc2hvcnRLZXkgIT09IGdldEl0ZW1LZXkobG9uZ0xpc3RbaSArIDFdKTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgfVxuICAgIHJldHVybiBkaWZmSW5kZXggPT09IG51bGwgPyBudWxsIDogeyBpbmRleDogZGlmZkluZGV4LCBtdWx0aXBsZSB9O1xufSJdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
@@ -0,0 +1,2 @@
1
+ declare const isFF: boolean;
2
+ export default isFF;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
9
+ var isFF = (typeof navigator === "undefined" ? "undefined" : (0, _typeof2["default"])(navigator)) === 'object' && /Firefox/i.test(navigator.userAgent);
10
+ var _default = exports["default"] = isFF;
11
+ //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvVmlydHVhbExpc3Qvc3JjL2NvbXBvbmVudHMvVmlydHVhbExpc3QvdXRpbHMvaXNGaXJlZm94LnRzIl0sIm5hbWVzIjpbImlzRkYiLCJuYXZpZ2F0b3IiLCJfdHlwZW9mMiIsInRlc3QiLCJ1c2VyQWdlbnQiLCJfZGVmYXVsdCIsImV4cG9ydHMiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsSUFBTUEsSUFBSSxHQUFHLFFBQU9DLFNBQVMscUNBQUFDLFFBQUEsYUFBVEQsU0FBUyxPQUFLLFFBQVEsSUFBSSxVQUFVLENBQUNFLElBQUksQ0FBQ0YsU0FBUyxDQUFDRyxTQUFTLENBQUM7QUFBQyxJQUFBQyxRQUFBLEdBQUFDLE9BQUEsY0FFcEVOLElBQUkiLCJmaWxlIjoiY29tcG9uZW50cy9WaXJ0dWFsTGlzdC91dGlscy9pc0ZpcmVmb3guanMiLCJzb3VyY2VzQ29udGVudCI6W251bGxdLCJzb3VyY2VSb290IjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjIn0=
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Schedule a callback after `frames` animation frames (default 1).
3
+ * Returns a cancellable id.
4
+ */
5
+ declare function raf(callback: () => void, frames?: number): number;
6
+ declare namespace raf {
7
+ var cancel: (id: number) => void;
8
+ }
9
+ export default raf;