@agentscope-ai/design 1.0.6 → 1.0.8

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 (819) hide show
  1. package/lib/antd/docs/_readme.txt +1 -0
  2. package/lib/antd/styles/_readme.txt +1 -0
  3. package/lib/antd/styles/alert.style.d.ts +10 -0
  4. package/lib/antd/styles/alert.style.js +12 -0
  5. package/lib/antd/styles/button.style.d.ts +80 -0
  6. package/lib/antd/styles/button.style.js +47 -0
  7. package/lib/antd/styles/floatButton.style.d.ts +8 -0
  8. package/lib/antd/styles/floatButton.style.js +12 -0
  9. package/lib/antd/styles/index.style.js +54 -0
  10. package/lib/antd/styles/inputNumber.style.d.ts +18 -0
  11. package/lib/antd/styles/inputNumber.style.js +17 -0
  12. package/lib/antd/styles/radio.style.d.ts +24 -0
  13. package/lib/antd/styles/radio.style.js +18 -0
  14. package/lib/antd/styles/select.style.d.ts +31 -0
  15. package/lib/antd/styles/select.style.js +28 -0
  16. package/lib/antd/themes/_readme.txt +1 -0
  17. package/lib/antd/themes/bailianDarkTheme.json +90 -0
  18. package/lib/antd/themes/bailianTheme.json +90 -0
  19. package/lib/antd/themes/carbonDarkTheme.json +91 -0
  20. package/lib/antd/themes/carbonTheme.json +90 -0
  21. package/lib/antd/themes/generateThemeByToken.d.ts +10 -0
  22. package/lib/antd/themes/generateThemeByToken.js +201 -0
  23. package/lib/components/commonComponents/Alert/demo/demo1.js +9 -0
  24. package/lib/components/commonComponents/Alert/demo/demo2.js +27 -0
  25. package/lib/components/commonComponents/Alert/demo/demo3.js +9 -0
  26. package/lib/components/commonComponents/Alert/demo/demo4.js +10 -0
  27. package/lib/components/commonComponents/Alert/demo/demo5.js +15 -0
  28. package/lib/components/commonComponents/Alert/demo/demo6.js +29 -0
  29. package/lib/components/commonComponents/Anchor/demo/demo1.d.ts +7 -0
  30. package/lib/components/commonComponents/Anchor/demo/demo1.js +27 -0
  31. package/lib/components/commonComponents/Anchor/demo/demo2.d.ts +7 -0
  32. package/lib/components/commonComponents/Anchor/demo/demo2.js +31 -0
  33. package/lib/components/commonComponents/Anchor/index.d.ts +5 -0
  34. package/lib/components/commonComponents/Anchor/index.js +15 -0
  35. package/lib/components/commonComponents/Anchor/index.style.d.ts +14 -0
  36. package/lib/components/commonComponents/Anchor/index.style.js +23 -0
  37. package/lib/components/commonComponents/Avatar/demo/demo1.js +7 -0
  38. package/lib/components/commonComponents/Avatar/demo/demo2.js +27 -0
  39. package/lib/components/commonComponents/Avatar/demo/demo3.js +7 -0
  40. package/lib/components/commonComponents/Avatar/index.js +41 -0
  41. package/lib/components/commonComponents/Avatar/index.style.d.ts +7 -0
  42. package/lib/components/commonComponents/Avatar/index.style.js +21 -0
  43. package/lib/components/commonComponents/Breadcrumb/demo/demo1.js +15 -0
  44. package/lib/components/commonComponents/Breadcrumb/demo/demo2.js +25 -0
  45. package/lib/components/commonComponents/Breadcrumb/index.d.ts +33 -0
  46. package/lib/components/commonComponents/Breadcrumb/index.js +74 -0
  47. package/lib/components/commonComponents/Breadcrumb/index.style.d.ts +117 -0
  48. package/lib/components/commonComponents/Breadcrumb/index.style.js +61 -0
  49. package/lib/components/commonComponents/Button/demo/demo1.js +38 -0
  50. package/lib/components/commonComponents/Button/demo/demo2.js +18 -0
  51. package/lib/components/commonComponents/Button/demo/demo3.js +16 -0
  52. package/lib/components/commonComponents/Button/demo/demo4.js +18 -0
  53. package/lib/components/commonComponents/Button/demo/demo5.js +18 -0
  54. package/lib/components/commonComponents/Button/demo/demo6.js +97 -0
  55. package/lib/components/commonComponents/Button/index.d.ts +34 -0
  56. package/lib/components/commonComponents/Button/index.js +116 -0
  57. package/lib/components/commonComponents/Card/demo/demo1.js +27 -0
  58. package/lib/components/commonComponents/Card/demo/demo2.js +25 -0
  59. package/lib/components/commonComponents/Card/index.d.ts +11 -0
  60. package/lib/components/commonComponents/Card/index.js +43 -0
  61. package/lib/components/commonComponents/Card/index.style.d.ts +71 -0
  62. package/lib/components/commonComponents/Card/index.style.js +46 -0
  63. package/lib/components/commonComponents/Checkbox/demo/demo1.js +30 -0
  64. package/lib/components/commonComponents/Checkbox/demo/demo2.js +14 -0
  65. package/lib/components/commonComponents/Checkbox/demo/demo3.js +26 -0
  66. package/lib/components/commonComponents/Checkbox/index.d.ts +28 -0
  67. package/lib/components/commonComponents/Checkbox/index.js +44 -0
  68. package/lib/components/commonComponents/Checkbox/index.style.d.ts +34 -0
  69. package/lib/components/commonComponents/Checkbox/index.style.js +38 -0
  70. package/lib/components/commonComponents/CodeBlock/demo/demo1.js +49 -0
  71. package/lib/components/commonComponents/CodeBlock/demo/demo2.js +19 -0
  72. package/lib/components/commonComponents/CodeBlock/demo/demo3.js +52 -0
  73. package/lib/components/commonComponents/CodeBlock/index.d.ts +31 -0
  74. package/lib/components/commonComponents/CodeBlock/index.js +94 -0
  75. package/lib/components/commonComponents/CodeBlock/index.style.d.ts +354 -0
  76. package/lib/components/commonComponents/CodeBlock/index.style.js +72 -0
  77. package/lib/components/commonComponents/Collapse/demo/demo1.js +24 -0
  78. package/lib/components/commonComponents/Collapse/demo/demo2.js +45 -0
  79. package/lib/components/commonComponents/Collapse/index.d.ts +3 -0
  80. package/lib/components/commonComponents/Collapse/index.js +14 -0
  81. package/lib/components/commonComponents/Collapse/index.style.d.ts +57 -0
  82. package/lib/components/commonComponents/Collapse/index.style.js +47 -0
  83. package/lib/components/commonComponents/CollapsePanel/demo/demo1.js +85 -0
  84. package/lib/components/commonComponents/CollapsePanel/index.d.ts +38 -0
  85. package/lib/components/commonComponents/CollapsePanel/index.js +119 -0
  86. package/lib/components/commonComponents/CollapsePanel/index.style.d.ts +287 -0
  87. package/lib/components/commonComponents/CollapsePanel/index.style.js +97 -0
  88. package/lib/components/commonComponents/ConfigProvider/index.js +151 -0
  89. package/lib/components/commonComponents/DatePicker/demo/demo1.js +28 -0
  90. package/lib/components/commonComponents/DatePicker/demo/demo2.js +34 -0
  91. package/lib/components/commonComponents/DatePicker/demo/demo3.js +49 -0
  92. package/lib/components/commonComponents/DatePicker/demo/demo4.js +38 -0
  93. package/lib/components/commonComponents/DatePicker/index.d.ts +7 -0
  94. package/lib/components/commonComponents/DatePicker/index.js +80 -0
  95. package/lib/components/commonComponents/DatePicker/index.style.d.ts +102 -0
  96. package/lib/components/commonComponents/DatePicker/index.style.js +61 -0
  97. package/lib/components/commonComponents/Descriptions/demo/demo1.js +32 -0
  98. package/lib/components/commonComponents/Descriptions/demo/demo2.js +33 -0
  99. package/lib/components/commonComponents/Descriptions/index.d.ts +3 -0
  100. package/lib/components/commonComponents/Descriptions/index.js +37 -0
  101. package/lib/components/commonComponents/Descriptions/index.style.d.ts +17 -0
  102. package/lib/components/commonComponents/Descriptions/index.style.js +29 -0
  103. package/lib/components/commonComponents/Drawer/Confirm.d.ts +46 -0
  104. package/lib/components/commonComponents/Drawer/Confirm.js +61 -0
  105. package/lib/components/commonComponents/Drawer/demo/demo1.js +49 -0
  106. package/lib/components/commonComponents/Drawer/demo/demo2.d.ts +7 -0
  107. package/lib/components/commonComponents/Drawer/demo/demo2.js +90 -0
  108. package/lib/components/commonComponents/Drawer/demo/demo3.js +64 -0
  109. package/lib/components/commonComponents/Drawer/demo/demo4.js +99 -0
  110. package/lib/components/commonComponents/Drawer/demo/demo5.js +73 -0
  111. package/lib/components/commonComponents/Drawer/index.d.ts +16 -0
  112. package/lib/components/commonComponents/Drawer/index.js +41 -0
  113. package/lib/components/commonComponents/Drawer/index.style.d.ts +84 -0
  114. package/lib/components/commonComponents/Drawer/index.style.js +54 -0
  115. package/lib/components/commonComponents/Dropdown/demo/demo1.d.ts +3 -0
  116. package/lib/components/commonComponents/Dropdown/demo/demo1.js +25 -0
  117. package/lib/components/commonComponents/Dropdown/demo/demo2.d.ts +6 -0
  118. package/lib/components/commonComponents/Dropdown/demo/demo2.js +45 -0
  119. package/lib/components/commonComponents/Dropdown/demo/demo3.d.ts +3 -0
  120. package/lib/components/commonComponents/Dropdown/demo/demo3.js +41 -0
  121. package/lib/components/commonComponents/Dropdown/demo/demo4.d.ts +7 -0
  122. package/lib/components/commonComponents/Dropdown/demo/demo4.js +31 -0
  123. package/lib/components/commonComponents/Dropdown/demo/demo5.d.ts +2 -0
  124. package/lib/components/commonComponents/Dropdown/demo/demo5.js +32 -0
  125. package/lib/components/commonComponents/Dropdown/index.js +48 -0
  126. package/lib/components/commonComponents/Dropdown/index.style.d.ts +78 -0
  127. package/lib/components/commonComponents/Dropdown/index.style.js +40 -0
  128. package/lib/components/commonComponents/EllipsisTip/demo/demo2-2.js +17 -0
  129. package/lib/components/commonComponents/Empty/demo/demo1.d.ts +2 -0
  130. package/lib/components/commonComponents/Empty/demo/demo1.js +10 -0
  131. package/lib/components/commonComponents/Empty/demo/demo2.d.ts +2 -0
  132. package/lib/components/commonComponents/Empty/demo/demo2.js +10 -0
  133. package/lib/components/commonComponents/Empty/demo/demo3.d.ts +2 -0
  134. package/lib/components/commonComponents/Empty/demo/demo3.js +50 -0
  135. package/lib/components/commonComponents/Empty/index.d.ts +80 -0
  136. package/lib/components/commonComponents/Empty/index.js +271 -0
  137. package/lib/components/commonComponents/Empty/index.style.d.ts +113 -0
  138. package/lib/components/commonComponents/Empty/index.style.js +51 -0
  139. package/lib/components/commonComponents/Empty/svg/Illustrate.d.ts +14 -0
  140. package/lib/components/commonComponents/Empty/svg/Illustrate.js +99 -0
  141. package/lib/components/commonComponents/FileIcon/demo/demo.js +42 -0
  142. package/lib/components/commonComponents/FileIcon/index.d.ts +20 -0
  143. package/lib/components/commonComponents/FileIcon/index.js +97 -0
  144. package/lib/components/commonComponents/FloatButton/demo/demo1.js +14 -0
  145. package/lib/components/commonComponents/FloatButton/demo/demo2.js +15 -0
  146. package/lib/components/commonComponents/Form/demo/demo1.d.ts +2 -0
  147. package/lib/components/commonComponents/Form/demo/demo1.js +50 -0
  148. package/lib/components/commonComponents/Form/demo/demo2.d.ts +2 -0
  149. package/lib/components/commonComponents/Form/demo/demo2.js +53 -0
  150. package/lib/components/commonComponents/Form/index.style.d.ts +53 -0
  151. package/lib/components/commonComponents/Form/index.style.js +38 -0
  152. package/lib/components/commonComponents/HelpIcon/demo/demo.d.ts +2 -0
  153. package/lib/components/commonComponents/HelpIcon/index.js +39 -0
  154. package/lib/components/commonComponents/IconButton/demo/demo1.d.ts +2 -0
  155. package/lib/components/commonComponents/IconButton/demo/demo1.js +43 -0
  156. package/lib/components/commonComponents/IconButton/demo/demo2.d.ts +3 -0
  157. package/lib/components/commonComponents/IconButton/demo/demo2.js +27 -0
  158. package/lib/components/commonComponents/IconButton/demo/demo3.d.ts +6 -0
  159. package/lib/components/commonComponents/IconButton/demo/demo3.js +30 -0
  160. package/lib/components/commonComponents/IconButton/index.js +49 -0
  161. package/lib/components/commonComponents/IconButton/index.style.d.ts +11 -0
  162. package/lib/components/commonComponents/IconButton/index.style.js +24 -0
  163. package/lib/components/commonComponents/IconFont/demo/demo1.d.ts +2 -0
  164. package/lib/components/commonComponents/IconFont/demo/demo2.d.ts +2 -0
  165. package/lib/components/commonComponents/IconFont/demo/demo3.d.ts +2 -0
  166. package/lib/components/commonComponents/IconFont/demo/demo4.d.ts +2 -0
  167. package/lib/components/commonComponents/IconFont/index.js +44 -0
  168. package/lib/components/commonComponents/Image/demo/demo1.js +8 -0
  169. package/lib/components/commonComponents/Image/index.js +51 -0
  170. package/lib/components/commonComponents/Image/index.style.d.ts +22 -0
  171. package/lib/components/commonComponents/Image/index.style.js +30 -0
  172. package/lib/components/commonComponents/Input/demo/demo1.js +24 -0
  173. package/lib/components/commonComponents/Input/demo/demo2.js +24 -0
  174. package/lib/components/commonComponents/Input/demo/demo3.js +27 -0
  175. package/lib/components/commonComponents/Input/demo/demo4.js +40 -0
  176. package/lib/components/commonComponents/Input/demo/demo5.js +26 -0
  177. package/lib/components/commonComponents/Input/demo/demo6.js +45 -0
  178. package/lib/components/commonComponents/Input/demo/demo7.js +39 -0
  179. package/lib/components/commonComponents/Input/index.d.ts +18 -0
  180. package/lib/components/commonComponents/Input/index.style.d.ts +70 -0
  181. package/lib/components/commonComponents/Input/index.style.js +42 -0
  182. package/lib/components/commonComponents/InputNumber/demo/demo.js +32 -0
  183. package/lib/components/commonComponents/InputNumber/demo/demo1.js +39 -0
  184. package/lib/components/commonComponents/InputSearch/demo/demo1.d.ts +2 -0
  185. package/lib/components/commonComponents/InputSearch/demo/demo1.js +13 -0
  186. package/lib/components/commonComponents/InputSearch/demo/demo2.d.ts +2 -0
  187. package/lib/components/commonComponents/InputSearch/demo/demo2.js +28 -0
  188. package/lib/components/commonComponents/Message/demo/demo1.d.ts +2 -0
  189. package/lib/components/commonComponents/Message/demo/demo1.js +10 -0
  190. package/lib/components/commonComponents/Message/demo/demo2.d.ts +2 -0
  191. package/lib/components/commonComponents/Message/demo/demo2.js +41 -0
  192. package/lib/components/commonComponents/Message/demo/demo3.d.ts +2 -0
  193. package/lib/components/commonComponents/Message/demo/demo3.js +34 -0
  194. package/lib/components/commonComponents/Message/index.d.ts +33 -0
  195. package/lib/components/commonComponents/Modal/demo/basic.d.ts +1 -0
  196. package/lib/components/commonComponents/Modal/demo/basic.js +49 -0
  197. package/lib/components/commonComponents/Modal/demo/styles.d.ts +1 -0
  198. package/lib/components/commonComponents/Modal/demo/styles.js +158 -0
  199. package/lib/components/commonComponents/Modal/demo/width.d.ts +1 -0
  200. package/lib/components/commonComponents/Modal/demo/width.js +68 -0
  201. package/lib/components/commonComponents/Modal/index.d.ts +28 -0
  202. package/lib/components/commonComponents/Modal/index.js +70 -0
  203. package/lib/components/commonComponents/Notification/demo/demo1.js +15 -0
  204. package/lib/components/commonComponents/Notification/demo/demo2.js +21 -0
  205. package/lib/components/commonComponents/Notification/demo/demo3.js +45 -0
  206. package/lib/components/commonComponents/Notification/demo/demo4.js +79 -0
  207. package/lib/components/commonComponents/Notification/index.d.ts +21 -0
  208. package/lib/components/commonComponents/Notification/index.js +108 -0
  209. package/lib/components/commonComponents/Pagination/demo/demo1.js +18 -0
  210. package/lib/components/commonComponents/Pagination/demo/demo2.js +21 -0
  211. package/lib/components/commonComponents/Pagination/index.d.ts +11 -0
  212. package/lib/components/commonComponents/Pagination/index.js +81 -0
  213. package/lib/components/commonComponents/Pagination/index.style.d.ts +49 -0
  214. package/lib/components/commonComponents/Pagination/index.style.js +42 -0
  215. package/lib/components/commonComponents/Popover/demo/demo1.js +26 -0
  216. package/lib/components/commonComponents/Progress/demo/demo1.js +17 -0
  217. package/lib/components/commonComponents/PromptsEditor/VarRender.d.ts +6 -0
  218. package/lib/components/commonComponents/PromptsEditor/VarRender.js +84 -0
  219. package/lib/components/commonComponents/PromptsEditor/VarSelectInput.d.ts +6 -0
  220. package/lib/components/commonComponents/PromptsEditor/VarSelectInput.js +60 -0
  221. package/lib/components/commonComponents/PromptsEditor/demo/basic.d.ts +1 -0
  222. package/lib/components/commonComponents/PromptsEditor/demo/basic.js +30 -0
  223. package/lib/components/commonComponents/PromptsEditor/index.d.ts +42 -0
  224. package/lib/components/commonComponents/PromptsEditor/index.js +134 -0
  225. package/lib/components/commonComponents/Radio/demo/demo1.js +25 -0
  226. package/lib/components/commonComponents/RadioButton/demo/demo1.js +28 -0
  227. package/lib/components/commonComponents/RadioButton/demo/demo2.js +58 -0
  228. package/lib/components/commonComponents/RadioButton/demo/demo3.js +31 -0
  229. package/lib/components/commonComponents/RadioButton/demo/demo4.js +30 -0
  230. package/lib/components/commonComponents/RadioButton/demo/demo5.js +30 -0
  231. package/lib/components/commonComponents/RadioButton/index.d.ts +23 -0
  232. package/lib/components/commonComponents/RadioButton/index.style.d.ts +72 -0
  233. package/lib/components/commonComponents/RadioButton/index.style.js +63 -0
  234. package/lib/components/commonComponents/Result/demo/demo1.d.ts +2 -0
  235. package/lib/components/commonComponents/Result/demo/demo1.js +10 -0
  236. package/lib/components/commonComponents/Result/demo/demo2.d.ts +2 -0
  237. package/lib/components/commonComponents/Result/demo/demo2.js +10 -0
  238. package/lib/components/commonComponents/Result/demo/demo3.d.ts +2 -0
  239. package/lib/components/commonComponents/Result/demo/demo3.js +10 -0
  240. package/lib/components/commonComponents/Result/demo/demo4.d.ts +2 -0
  241. package/lib/components/commonComponents/Result/demo/demo4.js +10 -0
  242. package/lib/components/commonComponents/Result/demo/demo5.d.ts +2 -0
  243. package/lib/components/commonComponents/Result/demo/demo5.js +10 -0
  244. package/lib/components/commonComponents/Result/demo/demo6.d.ts +2 -0
  245. package/lib/components/commonComponents/Result/demo/demo6.js +10 -0
  246. package/lib/components/commonComponents/Result/index.d.ts +10 -0
  247. package/lib/components/commonComponents/Result/index.js +19 -0
  248. package/lib/components/commonComponents/Result/index.style.d.ts +3 -0
  249. package/lib/components/commonComponents/Result/index.style.js +16 -0
  250. package/lib/components/commonComponents/Select/demo/demo1.js +74 -0
  251. package/lib/components/commonComponents/Select/demo/demo2.js +78 -0
  252. package/lib/components/commonComponents/Skeleton/demo/demo1.js +19 -0
  253. package/lib/components/commonComponents/SlateEditor/demo/demo.d.ts +2 -0
  254. package/lib/components/commonComponents/SlateEditor/elements/Var.d.ts +2 -0
  255. package/lib/components/commonComponents/SlateEditor/elements/Var.js +21 -0
  256. package/lib/components/commonComponents/SlateEditor/elements/index.style.d.ts +14 -0
  257. package/lib/components/commonComponents/SlateEditor/elements/index.style.js +21 -0
  258. package/lib/components/commonComponents/Slider/demo/demo1.js +22 -0
  259. package/lib/components/commonComponents/Slider/demo/demo2.js +24 -0
  260. package/lib/components/commonComponents/Slider/demo/demo3.js +24 -0
  261. package/lib/components/commonComponents/Slider/slider.input.js +76 -0
  262. package/lib/components/commonComponents/SliderSelector/demo/demo.d.ts +2 -0
  263. package/lib/components/commonComponents/SliderSelector/index.js +71 -0
  264. package/lib/components/commonComponents/Spinner/demo/demo1.js +23 -0
  265. package/lib/components/commonComponents/Spinner/demo/demo2.js +77 -0
  266. package/lib/components/commonComponents/Spinner/demo/demo3.js +62 -0
  267. package/lib/components/commonComponents/Spinner/demo/demo4.js +93 -0
  268. package/lib/components/commonComponents/Spinner/index.d.ts +53 -0
  269. package/lib/components/commonComponents/Spinner/index.js +115 -0
  270. package/lib/components/commonComponents/Spinner/index.style.d.ts +79 -0
  271. package/lib/components/commonComponents/Spinner/index.style.js +61 -0
  272. package/lib/components/commonComponents/Statistic/demo/demo1.d.ts +2 -0
  273. package/lib/components/commonComponents/Statistic/demo/demo1.js +18 -0
  274. package/lib/components/commonComponents/Statistic/demo/demo2.d.ts +2 -0
  275. package/lib/components/commonComponents/Statistic/demo/demo2.js +28 -0
  276. package/lib/components/commonComponents/Statistic/index.d.ts +3 -0
  277. package/lib/components/commonComponents/Statistic/index.js +14 -0
  278. package/lib/components/commonComponents/Statistic/index.style.d.ts +15 -0
  279. package/lib/components/commonComponents/Statistic/index.style.js +26 -0
  280. package/lib/components/commonComponents/Steps/demo/demo1.js +34 -0
  281. package/lib/components/commonComponents/Steps/demo/demo2.js +37 -0
  282. package/lib/components/commonComponents/Steps/demo/demo3.js +35 -0
  283. package/lib/components/commonComponents/Steps/index.d.ts +3 -0
  284. package/lib/components/commonComponents/Steps/index.js +48 -0
  285. package/lib/components/commonComponents/Steps/index.style.d.ts +162 -0
  286. package/lib/components/commonComponents/Steps/index.style.js +78 -0
  287. package/lib/components/commonComponents/Switch/demo/demo1.d.ts +2 -0
  288. package/lib/components/commonComponents/Switch/demo/demo1.js +35 -0
  289. package/lib/components/commonComponents/Switch/demo/demo2.d.ts +2 -0
  290. package/lib/components/commonComponents/Switch/demo/demo2.js +35 -0
  291. package/lib/components/commonComponents/Switch/index.d.ts +11 -0
  292. package/lib/components/commonComponents/Switch/index.js +33 -0
  293. package/lib/components/commonComponents/Switch/index.style.d.ts +25 -0
  294. package/lib/components/commonComponents/Switch/index.style.js +33 -0
  295. package/lib/components/commonComponents/Table/demo/demo1.js +133 -0
  296. package/lib/components/commonComponents/Table/demo/demo2.js +147 -0
  297. package/lib/components/commonComponents/Table/demo/demo3.js +152 -0
  298. package/lib/components/commonComponents/Table/demo/demo4.js +141 -0
  299. package/lib/components/commonComponents/Table/index.d.ts +2 -0
  300. package/lib/components/commonComponents/Table/index.js +39 -0
  301. package/lib/components/commonComponents/Table/index.style.d.ts +52 -0
  302. package/lib/components/commonComponents/Table/index.style.js +32 -0
  303. package/lib/components/commonComponents/Tabs/demo/demo1.js +24 -0
  304. package/lib/components/commonComponents/Tabs/demo/demo2.d.ts +3 -0
  305. package/lib/components/commonComponents/Tabs/demo/demo2.js +50 -0
  306. package/lib/components/commonComponents/Tabs/demo/demo3.d.ts +3 -0
  307. package/lib/components/commonComponents/Tabs/demo/demo3.js +49 -0
  308. package/lib/components/commonComponents/Tabs/index.d.ts +15 -0
  309. package/lib/components/commonComponents/Tabs/index.js +70 -0
  310. package/lib/components/commonComponents/Tabs/index.style.d.ts +55 -0
  311. package/lib/components/commonComponents/Tabs/index.style.js +44 -0
  312. package/lib/components/commonComponents/Tag/demo/demo1.d.ts +2 -0
  313. package/lib/components/commonComponents/Tag/demo/demo1.js +26 -0
  314. package/lib/components/commonComponents/Tag/demo/demo2.d.ts +2 -0
  315. package/lib/components/commonComponents/Tag/demo/demo2.js +13 -0
  316. package/lib/components/commonComponents/Tag/demo/demo3.d.ts +2 -0
  317. package/lib/components/commonComponents/Tag/demo/demo3.js +32 -0
  318. package/lib/components/commonComponents/Tag/index.d.ts +18 -0
  319. package/lib/components/commonComponents/Tag/index.js +37 -0
  320. package/lib/components/commonComponents/Tag/index.style.d.ts +56 -0
  321. package/lib/components/commonComponents/Tag/index.style.js +58 -0
  322. package/lib/components/commonComponents/Textarea/demo/demo1.d.ts +3 -0
  323. package/lib/components/commonComponents/TimePicker/demo/demo1.d.ts +2 -0
  324. package/lib/components/commonComponents/TimePicker/demo/demo1.js +27 -0
  325. package/lib/components/commonComponents/TimePicker/demo/demo2.d.ts +2 -0
  326. package/lib/components/commonComponents/TimePicker/demo/demo2.js +26 -0
  327. package/lib/components/commonComponents/TimePicker/index.d.ts +7 -0
  328. package/lib/components/commonComponents/TimePicker/index.js +70 -0
  329. package/lib/components/commonComponents/TimePicker/index.style.d.ts +71 -0
  330. package/lib/components/commonComponents/TimePicker/index.style.js +50 -0
  331. package/lib/components/commonComponents/Tooltip/demo/demo1.d.ts +3 -0
  332. package/lib/components/commonComponents/Tooltip/demo/demo1.js +12 -0
  333. package/lib/components/commonComponents/Tooltip/demo/demo2.d.ts +3 -0
  334. package/lib/components/commonComponents/Tooltip/demo/demo2.js +28 -0
  335. package/lib/components/commonComponents/Tooltip/index.d.ts +12 -0
  336. package/lib/components/commonComponents/Tooltip/index.js +38 -0
  337. package/lib/components/commonComponents/Upload/demo/demo1.d.ts +2 -0
  338. package/lib/components/commonComponents/Upload/demo/demo1.js +23 -0
  339. package/lib/components/commonComponents/Upload/demo/demo2.d.ts +2 -0
  340. package/lib/components/commonComponents/Upload/demo/demo2.js +50 -0
  341. package/lib/components/commonComponents/Upload/demo/demo3.d.ts +2 -0
  342. package/lib/components/commonComponents/Upload/demo/demo3.js +108 -0
  343. package/lib/components/commonComponents/Upload/index.d.ts +8 -0
  344. package/lib/components/commonComponents/Upload/index.js +38 -0
  345. package/lib/components/commonComponents/Upload/index.style.d.ts +125 -0
  346. package/lib/components/commonComponents/Upload/index.style.js +90 -0
  347. package/lib/components/commonComponents/spark.style.d.ts +45 -0
  348. package/lib/hooks/useGlobalStyle/demo/demo.d.ts +2 -0
  349. package/lib/i18n/strings/en-US.json +14 -0
  350. package/lib/i18n/strings/zh-CN.json +14 -0
  351. package/lib/index.d.ts +81 -0
  352. package/lib/index.js +88 -0
  353. package/lib/libs/env/index.d.ts +6 -0
  354. package/llms/all.llms.txt +4235 -0
  355. package/llms/components/commonComponents/Alert/index.zh-CN.llms.txt +74 -0
  356. package/llms/components/commonComponents/Anchor/index.zh-CN.llms.txt +71 -0
  357. package/llms/components/commonComponents/Avatar/index.zh-CN.llms.txt +61 -0
  358. package/llms/components/commonComponents/Breadcrumb/index.zh-CN.llms.txt +89 -0
  359. package/llms/components/commonComponents/Button/index.zh-CN.llms.txt +99 -0
  360. package/llms/components/commonComponents/Card/index.zh-CN.llms.txt +79 -0
  361. package/llms/components/commonComponents/Checkbox/index.zh-CN.llms.txt +88 -0
  362. package/llms/components/commonComponents/CodeBlock/index.zh-CN.llms.txt +34 -0
  363. package/llms/components/commonComponents/Collapse/index.zh-CN.llms.txt +76 -0
  364. package/llms/components/commonComponents/CollapsePanel/index.zh-CN.llms.txt +75 -0
  365. package/llms/components/commonComponents/DatePicker/index.zh-CN.llms.txt +227 -0
  366. package/llms/components/commonComponents/Descriptions/index.zh-CN.llms.txt +60 -0
  367. package/llms/components/commonComponents/Drawer/index.zh-CN.llms.txt +87 -0
  368. package/llms/components/commonComponents/Dropdown/index.zh-CN.llms.txt +87 -0
  369. package/llms/components/commonComponents/Empty/index.zh-CN.llms.txt +100 -0
  370. package/llms/components/commonComponents/FloatButton/index.zh-CN.llms.txt +70 -0
  371. package/llms/components/commonComponents/Form/index.zh-CN.llms.txt +383 -0
  372. package/llms/components/commonComponents/IconButton/index.zh-CN.llms.txt +68 -0
  373. package/llms/components/commonComponents/Image/index.zh-CN.llms.txt +118 -0
  374. package/llms/components/commonComponents/Input/index.zh-CN.llms.txt +168 -0
  375. package/llms/components/commonComponents/InputNumber/index.zh-CN.llms.txt +66 -0
  376. package/llms/components/commonComponents/Message/index.zh-CN.llms.txt +114 -0
  377. package/llms/components/commonComponents/Modal/index.zh-CN.llms.txt +154 -0
  378. package/llms/components/commonComponents/Notification/index.zh-CN.llms.txt +118 -0
  379. package/llms/components/commonComponents/Pagination/index.zh-CN.llms.txt +62 -0
  380. package/llms/components/commonComponents/Popover/index.zh-CN.llms.txt +56 -0
  381. package/llms/components/commonComponents/Progress/index.zh-CN.llms.txt +64 -0
  382. package/llms/components/commonComponents/Radio/index.zh-CN.llms.txt +75 -0
  383. package/llms/components/commonComponents/RadioButton/index.zh-CN.llms.txt +94 -0
  384. package/llms/components/commonComponents/Result/index.zh-CN.llms.txt +63 -0
  385. package/llms/components/commonComponents/Select/index.zh-CN.llms.txt +120 -0
  386. package/llms/components/commonComponents/Skeleton/index.zh-CN.llms.txt +71 -0
  387. package/llms/components/commonComponents/Slider/index.zh-CN.llms.txt +83 -0
  388. package/llms/components/commonComponents/Spinner/index.zh-CN.llms.txt +38 -0
  389. package/llms/components/commonComponents/Statistic/index.zh-CN.llms.txt +77 -0
  390. package/llms/components/commonComponents/Steps/index.zh-CN.llms.txt +82 -0
  391. package/llms/components/commonComponents/Switch/index.zh-CN.llms.txt +58 -0
  392. package/llms/components/commonComponents/Table/index.zh-CN.llms.txt +228 -0
  393. package/llms/components/commonComponents/Tabs/index.zh-CN.llms.txt +95 -0
  394. package/llms/components/commonComponents/Tag/index.zh-CN.llms.txt +57 -0
  395. package/llms/components/commonComponents/TimePicker/index.zh-CN.llms.txt +104 -0
  396. package/llms/components/commonComponents/Tooltip/index.zh-CN.llms.txt +63 -0
  397. package/llms/components/commonComponents/Upload/index.zh-CN.llms.txt +105 -0
  398. package/llms/index.llms.txt +45 -0
  399. package/package.json +26 -18
  400. package/scripts/index.js +110 -0
  401. package/dist/antd/styles/button.style.d.ts +0 -47
  402. package/dist/antd/styles/button.style.js +0 -32
  403. package/dist/antd/styles/index.style.js +0 -51
  404. package/dist/antd/styles/radio.style.d.ts +0 -7
  405. package/dist/antd/styles/radio.style.js +0 -10
  406. package/dist/antd/styles/select.style.d.ts +0 -21
  407. package/dist/antd/styles/select.style.js +0 -16
  408. package/dist/antd/themes/bailianDarkTheme.json +0 -180
  409. package/dist/antd/themes/bailianTheme.json +0 -177
  410. package/dist/antd/themes/blackTheme.json +0 -12
  411. package/dist/antd/themes/carbonDarkTheme.json +0 -179
  412. package/dist/antd/themes/carbonTheme.json +0 -177
  413. package/dist/antd/themes/xConsoleTheme.json +0 -26
  414. package/dist/components/CComponents/Alert/demo/index.js +0 -99
  415. package/dist/components/commonComponents/Alert/demo/index.js +0 -87
  416. package/dist/components/commonComponents/Avatar/demo/index.js +0 -25
  417. package/dist/components/commonComponents/Avatar/index.js +0 -39
  418. package/dist/components/commonComponents/Breadcrumb/demo/demo1.js +0 -23
  419. package/dist/components/commonComponents/Button/demo/demo1.js +0 -103
  420. package/dist/components/commonComponents/Button/demo/demo2.js +0 -17
  421. package/dist/components/commonComponents/Button/index.d.ts +0 -21
  422. package/dist/components/commonComponents/Button/index.js +0 -91
  423. package/dist/components/commonComponents/Card/demo/demo1.js +0 -31
  424. package/dist/components/commonComponents/Card/demo/demo2.js +0 -46
  425. package/dist/components/commonComponents/Card/index.d.ts +0 -11
  426. package/dist/components/commonComponents/Card/index.js +0 -40
  427. package/dist/components/commonComponents/Card/index.style.d.ts +0 -58
  428. package/dist/components/commonComponents/Card/index.style.js +0 -44
  429. package/dist/components/commonComponents/Checkbox/demo/demo1.js +0 -21
  430. package/dist/components/commonComponents/Checkbox/demo/demo2.js +0 -25
  431. package/dist/components/commonComponents/CodeBlock/demo/demo1.js +0 -34
  432. package/dist/components/commonComponents/CodeBlock/demo/demo2.js +0 -14
  433. package/dist/components/commonComponents/CodeBlock/index.d.ts +0 -11
  434. package/dist/components/commonComponents/CodeBlock/index.js +0 -88
  435. package/dist/components/commonComponents/CodeBlock/index.style.d.ts +0 -46
  436. package/dist/components/commonComponents/CodeBlock/index.style.js +0 -59
  437. package/dist/components/commonComponents/CollapsePanel/demo/demo1.js +0 -27
  438. package/dist/components/commonComponents/CollapsePanel/index.d.ts +0 -38
  439. package/dist/components/commonComponents/CollapsePanel/index.js +0 -116
  440. package/dist/components/commonComponents/CollapsePanel/index.style.d.ts +0 -329
  441. package/dist/components/commonComponents/CollapsePanel/index.style.js +0 -96
  442. package/dist/components/commonComponents/ConfigProvider/index.js +0 -135
  443. package/dist/components/commonComponents/Drawer/demo/demo1.js +0 -106
  444. package/dist/components/commonComponents/Drawer/demo/demo2.js +0 -66
  445. package/dist/components/commonComponents/Drawer/index.d.ts +0 -3
  446. package/dist/components/commonComponents/Drawer/index.js +0 -36
  447. package/dist/components/commonComponents/Drawer/index.style.d.ts +0 -47
  448. package/dist/components/commonComponents/Drawer/index.style.js +0 -42
  449. package/dist/components/commonComponents/Dropdown/demo/demo1.js +0 -33
  450. package/dist/components/commonComponents/Dropdown/demo/demo2.js +0 -38
  451. package/dist/components/commonComponents/Dropdown/index.js +0 -17
  452. package/dist/components/commonComponents/Dropdown/index.style.d.ts +0 -7
  453. package/dist/components/commonComponents/Dropdown/index.style.js +0 -21
  454. package/dist/components/commonComponents/Ellipsis/demo/index.js +0 -11
  455. package/dist/components/commonComponents/EllipsisTip/demo/demo2.js +0 -35
  456. package/dist/components/commonComponents/Empty/demo/index.css +0 -11
  457. package/dist/components/commonComponents/Empty/demo/index.d.ts +0 -3
  458. package/dist/components/commonComponents/Empty/demo/index.js +0 -186
  459. package/dist/components/commonComponents/Empty/index.d.ts +0 -57
  460. package/dist/components/commonComponents/Empty/index.js +0 -118
  461. package/dist/components/commonComponents/Empty/index.style.d.ts +0 -65
  462. package/dist/components/commonComponents/Empty/index.style.js +0 -42
  463. package/dist/components/commonComponents/FileIcon/demo/index.js +0 -42
  464. package/dist/components/commonComponents/FileIcon/index.d.ts +0 -19
  465. package/dist/components/commonComponents/FileIcon/index.js +0 -89
  466. package/dist/components/commonComponents/FloatButton/demo/demo1.js +0 -11
  467. package/dist/components/commonComponents/FloatButton/demo/demo2.js +0 -11
  468. package/dist/components/commonComponents/Form/demo/api.js +0 -22
  469. package/dist/components/commonComponents/Form/demo/demo1.js +0 -107
  470. package/dist/components/commonComponents/Form/demo/demo2.js +0 -52
  471. package/dist/components/commonComponents/Form/demo/demo3.js +0 -28
  472. package/dist/components/commonComponents/Form/demo/demo4.js +0 -29
  473. package/dist/components/commonComponents/Form/demo/index.module.less +0 -0
  474. package/dist/components/commonComponents/Form/index.style.d.ts +0 -51
  475. package/dist/components/commonComponents/Form/index.style.js +0 -37
  476. package/dist/components/commonComponents/HelpIcon/index.js +0 -40
  477. package/dist/components/commonComponents/IconButton/demo/demo1.js +0 -57
  478. package/dist/components/commonComponents/IconButton/demo/demo2.js +0 -61
  479. package/dist/components/commonComponents/IconButton/demo/demo3.js +0 -53
  480. package/dist/components/commonComponents/IconButton/demo/demo4.js +0 -55
  481. package/dist/components/commonComponents/IconButton/index.js +0 -47
  482. package/dist/components/commonComponents/IconButton/index.style.d.ts +0 -16
  483. package/dist/components/commonComponents/IconButton/index.style.js +0 -25
  484. package/dist/components/commonComponents/IconFont/index.js +0 -57
  485. package/dist/components/commonComponents/Image/demo/demo1.js +0 -8
  486. package/dist/components/commonComponents/Image/index.js +0 -37
  487. package/dist/components/commonComponents/Input/demo/index.js +0 -117
  488. package/dist/components/commonComponents/Input/index.d.ts +0 -13
  489. package/dist/components/commonComponents/Input/index.style.d.ts +0 -43
  490. package/dist/components/commonComponents/Input/index.style.js +0 -36
  491. package/dist/components/commonComponents/InputNumber/demo/index.js +0 -38
  492. package/dist/components/commonComponents/InputSearch/demo/index.js +0 -43
  493. package/dist/components/commonComponents/Message/demo/demo1.js +0 -53
  494. package/dist/components/commonComponents/Message/demo/demo2.js +0 -66
  495. package/dist/components/commonComponents/Message/index.d.ts +0 -29
  496. package/dist/components/commonComponents/Modal/demo/demo1.js +0 -137
  497. package/dist/components/commonComponents/Modal/demo/demo2.js +0 -77
  498. package/dist/components/commonComponents/Modal/demo/demo3.js +0 -57
  499. package/dist/components/commonComponents/Modal/demo/demo4.js +0 -65
  500. package/dist/components/commonComponents/Modal/index.css +0 -1
  501. package/dist/components/commonComponents/Modal/index.d.ts +0 -15
  502. package/dist/components/commonComponents/Modal/index.js +0 -67
  503. package/dist/components/commonComponents/Notification/demo/demo1.js +0 -76
  504. package/dist/components/commonComponents/Notification/demo/demo2.js +0 -50
  505. package/dist/components/commonComponents/Notification/demo/demo3.js +0 -46
  506. package/dist/components/commonComponents/Notification/index.d.ts +0 -20
  507. package/dist/components/commonComponents/Notification/index.js +0 -106
  508. package/dist/components/commonComponents/Pagination/demo/demo1.js +0 -16
  509. package/dist/components/commonComponents/Pagination/demo/demo2.js +0 -17
  510. package/dist/components/commonComponents/Pagination/index.d.ts +0 -12
  511. package/dist/components/commonComponents/Pagination/index.js +0 -59
  512. package/dist/components/commonComponents/Pagination/index.style.d.ts +0 -12
  513. package/dist/components/commonComponents/Pagination/index.style.js +0 -24
  514. package/dist/components/commonComponents/Popover/demo/demo1.js +0 -34
  515. package/dist/components/commonComponents/Popover/demo/demo2.js +0 -183
  516. package/dist/components/commonComponents/Progress/demo/demo1.js +0 -15
  517. package/dist/components/commonComponents/Radio/demo.js +0 -20
  518. package/dist/components/commonComponents/Radio/demo2.js +0 -115
  519. package/dist/components/commonComponents/RadioButton/demo/demo.js +0 -166
  520. package/dist/components/commonComponents/RadioButton/index.d.ts +0 -21
  521. package/dist/components/commonComponents/RadioButton/index.style.d.ts +0 -62
  522. package/dist/components/commonComponents/RadioButton/index.style.js +0 -49
  523. package/dist/components/commonComponents/Select/demo/demo.js +0 -29
  524. package/dist/components/commonComponents/Select/demo/demo2.js +0 -30
  525. package/dist/components/commonComponents/Skeleton/demo/demo1.js +0 -9
  526. package/dist/components/commonComponents/SlateEditor/elements/Var.d.ts +0 -3
  527. package/dist/components/commonComponents/SlateEditor/elements/Var.js +0 -20
  528. package/dist/components/commonComponents/SlateEditor/elements/index.less +0 -10
  529. package/dist/components/commonComponents/Slider/demo/demo1.js +0 -35
  530. package/dist/components/commonComponents/Slider/demo/demo2.js +0 -48
  531. package/dist/components/commonComponents/Slider/demo/demo3.js +0 -44
  532. package/dist/components/commonComponents/Slider/slider.input.js +0 -73
  533. package/dist/components/commonComponents/SliderSelector/index.js +0 -67
  534. package/dist/components/commonComponents/Spin/demo1.js +0 -30
  535. package/dist/components/commonComponents/Spinner/demo/demo1.js +0 -46
  536. package/dist/components/commonComponents/Spinner/demo/demo2.js +0 -69
  537. package/dist/components/commonComponents/Spinner/demo/demo3.js +0 -59
  538. package/dist/components/commonComponents/Spinner/index.d.ts +0 -16
  539. package/dist/components/commonComponents/Spinner/index.js +0 -77
  540. package/dist/components/commonComponents/Spinner/index.style.d.ts +0 -82
  541. package/dist/components/commonComponents/Spinner/index.style.js +0 -60
  542. package/dist/components/commonComponents/Switch/demo/demo1.js +0 -26
  543. package/dist/components/commonComponents/Switch/demo/demo2.js +0 -27
  544. package/dist/components/commonComponents/Switch/index.d.ts +0 -11
  545. package/dist/components/commonComponents/Switch/index.js +0 -29
  546. package/dist/components/commonComponents/Switch/index.style.d.ts +0 -8
  547. package/dist/components/commonComponents/Switch/index.style.js +0 -23
  548. package/dist/components/commonComponents/Table/demo/demo1.js +0 -87
  549. package/dist/components/commonComponents/Table/demo/demo2.js +0 -98
  550. package/dist/components/commonComponents/Table/demo/demo3.js +0 -378
  551. package/dist/components/commonComponents/Tabs/demo/demo1.js +0 -45
  552. package/dist/components/commonComponents/Tabs/demo/demo2.js +0 -43
  553. package/dist/components/commonComponents/Tabs/demo/demo3.js +0 -32
  554. package/dist/components/commonComponents/Tabs/index.d.ts +0 -14
  555. package/dist/components/commonComponents/Tabs/index.js +0 -67
  556. package/dist/components/commonComponents/Tabs/index.style.d.ts +0 -23
  557. package/dist/components/commonComponents/Tabs/index.style.js +0 -30
  558. package/dist/components/commonComponents/Tag/demo1.js +0 -33
  559. package/dist/components/commonComponents/Tag/demo2.js +0 -40
  560. package/dist/components/commonComponents/Tag/index.d.ts +0 -7
  561. package/dist/components/commonComponents/Tag/index.js +0 -36
  562. package/dist/components/commonComponents/Tag/index.style.d.ts +0 -37
  563. package/dist/components/commonComponents/Tag/index.style.js +0 -52
  564. package/dist/components/commonComponents/Tooltip/demo/index.js +0 -254
  565. package/dist/components/commonComponents/Tooltip/index.d.ts +0 -11
  566. package/dist/components/commonComponents/Tooltip/index.js +0 -35
  567. package/dist/components/commonComponents/Upload/demo/demo1.js +0 -43
  568. package/dist/components/commonComponents/Upload/demo/demo2.js +0 -15
  569. package/dist/components/commonComponents/Upload/demo/demo3.d.ts +0 -3
  570. package/dist/components/commonComponents/Upload/demo/demo3.js +0 -145
  571. package/dist/components/commonComponents/spark.style.d.ts +0 -45
  572. package/dist/i18n/strings/en-US.json +0 -13
  573. package/dist/i18n/strings/zh-CN.json +0 -13
  574. package/dist/index.d.ts +0 -68
  575. package/dist/index.js +0 -70
  576. package/dist/libs/env/index.d.ts +0 -6
  577. package/scripts/init-migrate-config.js +0 -68
  578. package/scripts/migrate-from-bl.js +0 -78
  579. /package/{dist → lib}/antd/styles/breadcrumb.style.d.ts +0 -0
  580. /package/{dist → lib}/antd/styles/breadcrumb.style.js +0 -0
  581. /package/{dist → lib}/antd/styles/dropdown.style.d.ts +0 -0
  582. /package/{dist → lib}/antd/styles/dropdown.style.js +0 -0
  583. /package/{dist → lib}/antd/styles/index.style.d.ts +0 -0
  584. /package/{dist → lib}/antd/styles/message.style.d.ts +0 -0
  585. /package/{dist → lib}/antd/styles/message.style.js +0 -0
  586. /package/{dist → lib}/antd/styles/notification.style.d.ts +0 -0
  587. /package/{dist → lib}/antd/styles/notification.style.js +0 -0
  588. /package/{dist → lib}/antd/styles/popover.style.d.ts +0 -0
  589. /package/{dist → lib}/antd/styles/popover.style.js +0 -0
  590. /package/{dist → lib}/antd/styles/segment.style.d.ts +0 -0
  591. /package/{dist → lib}/antd/styles/segment.style.js +0 -0
  592. /package/{dist → lib}/antd/styles/slider.style.d.ts +0 -0
  593. /package/{dist → lib}/antd/styles/slider.style.js +0 -0
  594. /package/{dist → lib}/antd/styles/table.style.d.ts +0 -0
  595. /package/{dist → lib}/antd/styles/table.style.js +0 -0
  596. /package/{dist → lib}/antd/styles/tooltip.style.d.ts +0 -0
  597. /package/{dist → lib}/antd/styles/tooltip.style.js +0 -0
  598. /package/{dist/components/commonComponents/Button → lib/components/commonComponents/Alert}/demo/demo1.d.ts +0 -0
  599. /package/{dist/components/commonComponents/Button → lib/components/commonComponents/Alert}/demo/demo2.d.ts +0 -0
  600. /package/{dist/components/commonComponents/Form → lib/components/commonComponents/Alert}/demo/demo3.d.ts +0 -0
  601. /package/{dist/components/commonComponents/Form → lib/components/commonComponents/Alert}/demo/demo4.d.ts +0 -0
  602. /package/{dist/components/CComponents/Alert/demo/index.d.ts → lib/components/commonComponents/Alert/demo/demo5.d.ts} +0 -0
  603. /package/{dist/components/commonComponents/Alert/demo/index.d.ts → lib/components/commonComponents/Alert/demo/demo6.d.ts} +0 -0
  604. /package/{dist → lib}/components/commonComponents/AlertDialog/demo/demo1.d.ts +0 -0
  605. /package/{dist → lib}/components/commonComponents/AlertDialog/demo/demo1.js +0 -0
  606. /package/{dist → lib}/components/commonComponents/AlertDialog/demo/demo2.d.ts +0 -0
  607. /package/{dist → lib}/components/commonComponents/AlertDialog/demo/demo2.js +0 -0
  608. /package/{dist → lib}/components/commonComponents/AlertDialog/index.d.ts +0 -0
  609. /package/{dist → lib}/components/commonComponents/AlertDialog/index.js +0 -0
  610. /package/{dist → lib}/components/commonComponents/AlertDialog/index.style.d.ts +0 -0
  611. /package/{dist → lib}/components/commonComponents/AlertDialog/index.style.js +0 -0
  612. /package/{dist/components/commonComponents/Drawer → lib/components/commonComponents/Avatar}/demo/demo1.d.ts +0 -0
  613. /package/{dist/components/commonComponents/Drawer → lib/components/commonComponents/Avatar}/demo/demo2.d.ts +0 -0
  614. /package/{dist/components/commonComponents/IconFont → lib/components/commonComponents/Avatar}/demo/demo3.d.ts +0 -0
  615. /package/{dist → lib}/components/commonComponents/Avatar/index.d.ts +0 -0
  616. /package/{dist/components/commonComponents/Radio → lib/components/commonComponents/Badge/demo}/demo.d.ts +0 -0
  617. /package/{dist/components/commonComponents/Badge/demo/index.js → lib/components/commonComponents/Badge/demo/demo.js} +0 -0
  618. /package/{dist → lib}/components/commonComponents/Breadcrumb/demo/demo1.d.ts +0 -0
  619. /package/{dist/components/commonComponents/Card → lib/components/commonComponents/Breadcrumb}/demo/demo2.d.ts +0 -0
  620. /package/{dist/components/commonComponents/Form → lib/components/commonComponents/Button}/demo/demo1.d.ts +0 -0
  621. /package/{dist/components/commonComponents/Form → lib/components/commonComponents/Button}/demo/demo2.d.ts +0 -0
  622. /package/{dist/components/commonComponents/Modal → lib/components/commonComponents/Button}/demo/demo3.d.ts +0 -0
  623. /package/{dist/components/commonComponents/IconFont → lib/components/commonComponents/Button}/demo/demo4.d.ts +0 -0
  624. /package/{dist/components/commonComponents/Ellipsis/demo/index.d.ts → lib/components/commonComponents/Button/demo/demo5.d.ts} +0 -0
  625. /package/{dist/components/commonComponents/Form/demo/api.d.ts → lib/components/commonComponents/Button/demo/demo6.d.ts} +0 -0
  626. /package/{dist/components/commonComponents/IconFont → lib/components/commonComponents/Card}/demo/demo1.d.ts +0 -0
  627. /package/{dist/components/commonComponents/IconFont → lib/components/commonComponents/Card}/demo/demo2.d.ts +0 -0
  628. /package/{dist/components/commonComponents/Card → lib/components/commonComponents/Checkbox}/demo/demo1.d.ts +0 -0
  629. /package/{dist → lib}/components/commonComponents/Checkbox/demo/demo2.d.ts +0 -0
  630. /package/{dist/components/commonComponents/IconButton → lib/components/commonComponents/Checkbox}/demo/demo3.d.ts +0 -0
  631. /package/{dist/components/commonComponents/Checkbox → lib/components/commonComponents/CodeBlock}/demo/demo1.d.ts +0 -0
  632. /package/{dist → lib}/components/commonComponents/CodeBlock/demo/demo2.d.ts +0 -0
  633. /package/{dist/components/commonComponents/Notification → lib/components/commonComponents/CodeBlock}/demo/demo3.d.ts +0 -0
  634. /package/{dist/components/commonComponents/Message → lib/components/commonComponents/Collapse}/demo/demo1.d.ts +0 -0
  635. /package/{dist/components/commonComponents/Message → lib/components/commonComponents/Collapse}/demo/demo2.d.ts +0 -0
  636. /package/{dist/components/commonComponents/CodeBlock → lib/components/commonComponents/CollapsePanel}/demo/demo1.d.ts +0 -0
  637. /package/{dist → lib}/components/commonComponents/ConfigProvider/index.d.ts +0 -0
  638. /package/{dist/components/commonComponents/Modal → lib/components/commonComponents/DatePicker}/demo/demo1.d.ts +0 -0
  639. /package/{dist/components/commonComponents/Tag → lib/components/commonComponents/DatePicker/demo}/demo2.d.ts +0 -0
  640. /package/{dist/components/commonComponents/HelpIcon/demo/index.d.ts → lib/components/commonComponents/DatePicker/demo/demo3.d.ts} +0 -0
  641. /package/{dist/components/commonComponents/Input/demo/index.d.ts → lib/components/commonComponents/DatePicker/demo/demo4.d.ts} +0 -0
  642. /package/{dist/components/commonComponents/Tag → lib/components/commonComponents/Descriptions/demo}/demo1.d.ts +0 -0
  643. /package/{dist/components/commonComponents/Upload → lib/components/commonComponents/Descriptions}/demo/demo2.d.ts +0 -0
  644. /package/{dist/components/commonComponents/InputSearch/demo/index.d.ts → lib/components/commonComponents/Drawer/demo/demo1.d.ts} +0 -0
  645. /package/{dist/components/commonComponents/SlateEditor/demo/index.d.ts → lib/components/commonComponents/Drawer/demo/demo3.d.ts} +0 -0
  646. /package/{dist/components/commonComponents/SliderSelector/demo/index.d.ts → lib/components/commonComponents/Drawer/demo/demo4.d.ts} +0 -0
  647. /package/{dist/hooks/useGlobalStyle/demo/demo.d.ts → lib/components/commonComponents/Drawer/demo/demo5.d.ts} +0 -0
  648. /package/{dist → lib}/components/commonComponents/Dropdown/index.d.ts +0 -0
  649. /package/{dist/components/commonComponents/CollapsePanel → lib/components/commonComponents/EllipsisTip}/demo/demo1.d.ts +0 -0
  650. /package/{dist → lib}/components/commonComponents/EllipsisTip/demo/demo1.js +0 -0
  651. /package/{dist/components/commonComponents/Avatar/demo/index.d.ts → lib/components/commonComponents/EllipsisTip/demo/demo2-2.d.ts} +0 -0
  652. /package/{dist → lib}/components/commonComponents/EllipsisTip/index.d.ts +0 -0
  653. /package/{dist → lib}/components/commonComponents/EllipsisTip/index.js +0 -0
  654. /package/{dist → lib}/components/commonComponents/EllipsisTip/index.style.d.ts +0 -0
  655. /package/{dist → lib}/components/commonComponents/EllipsisTip/index.style.js +0 -0
  656. /package/{dist/components/commonComponents/FileIcon/demo/index.d.ts → lib/components/commonComponents/FileIcon/demo/demo.d.ts} +0 -0
  657. /package/{dist → lib}/components/commonComponents/FileIcon/icons/common.svg +0 -0
  658. /package/{dist → lib}/components/commonComponents/FileIcon/icons/epub.svg +0 -0
  659. /package/{dist → lib}/components/commonComponents/FileIcon/icons/excel.svg +0 -0
  660. /package/{dist → lib}/components/commonComponents/FileIcon/icons/html.svg +0 -0
  661. /package/{dist → lib}/components/commonComponents/FileIcon/icons/image.svg +0 -0
  662. /package/{dist → lib}/components/commonComponents/FileIcon/icons/md.svg +0 -0
  663. /package/{dist → lib}/components/commonComponents/FileIcon/icons/mobi.svg +0 -0
  664. /package/{dist → lib}/components/commonComponents/FileIcon/icons/pdf.svg +0 -0
  665. /package/{dist → lib}/components/commonComponents/FileIcon/icons/ppt.svg +0 -0
  666. /package/{dist → lib}/components/commonComponents/FileIcon/icons/txt.svg +0 -0
  667. /package/{dist → lib}/components/commonComponents/FileIcon/icons/web.svg +0 -0
  668. /package/{dist → lib}/components/commonComponents/FileIcon/icons/word.svg +0 -0
  669. /package/{dist → lib}/components/commonComponents/FileIcon/index.style.d.ts +0 -0
  670. /package/{dist → lib}/components/commonComponents/FileIcon/index.style.js +0 -0
  671. /package/{dist/components/commonComponents/Dropdown → lib/components/commonComponents/FloatButton}/demo/demo1.d.ts +0 -0
  672. /package/{dist/components/commonComponents/Dropdown → lib/components/commonComponents/FloatButton}/demo/demo2.d.ts +0 -0
  673. /package/{dist → lib}/components/commonComponents/Form/index.d.ts +0 -0
  674. /package/{dist → lib}/components/commonComponents/Form/index.js +0 -0
  675. /package/{dist/components/commonComponents/HelpIcon/demo/index.js → lib/components/commonComponents/HelpIcon/demo/demo.js} +0 -0
  676. /package/{dist → lib}/components/commonComponents/HelpIcon/index.d.ts +0 -0
  677. /package/{dist → lib}/components/commonComponents/HelpIcon/index.style.d.ts +0 -0
  678. /package/{dist → lib}/components/commonComponents/HelpIcon/index.style.js +0 -0
  679. /package/{dist → lib}/components/commonComponents/IconButton/index.d.ts +0 -0
  680. /package/{dist → lib}/components/commonComponents/IconFont/demo/demo1.js +0 -0
  681. /package/{dist → lib}/components/commonComponents/IconFont/demo/demo2.js +0 -0
  682. /package/{dist → lib}/components/commonComponents/IconFont/demo/demo3.js +0 -0
  683. /package/{dist → lib}/components/commonComponents/IconFont/demo/demo4.js +0 -0
  684. /package/{dist → lib}/components/commonComponents/IconFont/index.d.ts +0 -0
  685. /package/{dist → lib}/components/commonComponents/IconFont/index.style.d.ts +0 -0
  686. /package/{dist → lib}/components/commonComponents/IconFont/index.style.js +0 -0
  687. /package/{dist → lib}/components/commonComponents/Image/demo/demo1.d.ts +0 -0
  688. /package/{dist → lib}/components/commonComponents/Image/index.d.ts +0 -0
  689. /package/{dist/components/commonComponents/EllipsisTip → lib/components/commonComponents/Input}/demo/demo1.d.ts +0 -0
  690. /package/{dist/components/commonComponents/EllipsisTip → lib/components/commonComponents/Input}/demo/demo2.d.ts +0 -0
  691. /package/{dist/components/commonComponents/Slider → lib/components/commonComponents/Input}/demo/demo3.d.ts +0 -0
  692. /package/{dist/components/commonComponents/IconButton → lib/components/commonComponents/Input}/demo/demo4.d.ts +0 -0
  693. /package/{dist/components/commonComponents/Badge/demo/index.d.ts → lib/components/commonComponents/Input/demo/demo5.d.ts} +0 -0
  694. /package/{dist/components/commonComponents/FloatButton/demo/demo1.d.ts → lib/components/commonComponents/Input/demo/demo6.d.ts} +0 -0
  695. /package/{dist/components/commonComponents/FloatButton/demo/demo2.d.ts → lib/components/commonComponents/Input/demo/demo7.d.ts} +0 -0
  696. /package/{dist → lib}/components/commonComponents/Input/index.js +0 -0
  697. /package/{dist/components/commonComponents/RadioButton → lib/components/commonComponents/InputNumber}/demo/demo.d.ts +0 -0
  698. /package/{dist/components/commonComponents/IconButton → lib/components/commonComponents/InputNumber}/demo/demo1.d.ts +0 -0
  699. /package/{dist → lib}/components/commonComponents/Message/index.js +0 -0
  700. /package/{dist → lib}/components/commonComponents/Modal/index.style.d.ts +0 -0
  701. /package/{dist → lib}/components/commonComponents/Modal/index.style.js +0 -0
  702. /package/{dist → lib}/components/commonComponents/Notification/demo/demo1.d.ts +0 -0
  703. /package/{dist/components/commonComponents/IconButton → lib/components/commonComponents/Notification}/demo/demo2.d.ts +0 -0
  704. /package/{dist/components/commonComponents/Spinner → lib/components/commonComponents/Notification}/demo/demo3.d.ts +0 -0
  705. /package/{dist/components/commonComponents/Modal → lib/components/commonComponents/Notification}/demo/demo4.d.ts +0 -0
  706. /package/{dist → lib}/components/commonComponents/Pagination/demo/demo1.d.ts +0 -0
  707. /package/{dist/components/commonComponents/Modal → lib/components/commonComponents/Pagination}/demo/demo2.d.ts +0 -0
  708. /package/{dist/components/commonComponents/InputNumber/demo/index.d.ts → lib/components/commonComponents/Popconfirm/demo/demo.d.ts} +0 -0
  709. /package/{dist/components/commonComponents/Popconfirm/demo/index.js → lib/components/commonComponents/Popconfirm/demo/demo.js} +0 -0
  710. /package/{dist → lib}/components/commonComponents/Popconfirm/index.d.ts +0 -0
  711. /package/{dist → lib}/components/commonComponents/Popconfirm/index.js +0 -0
  712. /package/{dist → lib}/components/commonComponents/Popover/demo/demo1.d.ts +0 -0
  713. /package/{dist → lib}/components/commonComponents/Popover/index.d.ts +0 -0
  714. /package/{dist → lib}/components/commonComponents/Popover/index.js +0 -0
  715. /package/{dist → lib}/components/commonComponents/Progress/demo/demo1.d.ts +0 -0
  716. /package/{dist/components/commonComponents/Skeleton → lib/components/commonComponents/Radio}/demo/demo1.d.ts +0 -0
  717. /package/{dist/components/commonComponents/Slider → lib/components/commonComponents/RadioButton}/demo/demo1.d.ts +0 -0
  718. /package/{dist/components/commonComponents/Notification → lib/components/commonComponents/RadioButton}/demo/demo2.d.ts +0 -0
  719. /package/{dist/components/commonComponents/Table → lib/components/commonComponents/RadioButton}/demo/demo3.d.ts +0 -0
  720. /package/{dist/components/commonComponents/Pagination/demo/demo2.d.ts → lib/components/commonComponents/RadioButton/demo/demo4.d.ts} +0 -0
  721. /package/{dist/components/commonComponents/Popconfirm/demo/index.d.ts → lib/components/commonComponents/RadioButton/demo/demo5.d.ts} +0 -0
  722. /package/{dist → lib}/components/commonComponents/RadioButton/index.js +0 -0
  723. /package/{dist/components/commonComponents/Spin → lib/components/commonComponents/Select/demo}/demo1.d.ts +0 -0
  724. /package/{dist → lib}/components/commonComponents/Select/demo/demo2.d.ts +0 -0
  725. /package/{dist/components/commonComponents/Spinner → lib/components/commonComponents/Skeleton}/demo/demo1.d.ts +0 -0
  726. /package/{dist/components/commonComponents/SlateEditor/demo/index.js → lib/components/commonComponents/SlateEditor/demo/demo.js} +0 -0
  727. /package/{dist → lib}/components/commonComponents/SlateEditor/elements/S.d.ts +0 -0
  728. /package/{dist → lib}/components/commonComponents/SlateEditor/elements/S.js +0 -0
  729. /package/{dist → lib}/components/commonComponents/SlateEditor/elements/index.d.ts +0 -0
  730. /package/{dist → lib}/components/commonComponents/SlateEditor/elements/index.js +0 -0
  731. /package/{dist → lib}/components/commonComponents/SlateEditor/index.d.ts +0 -0
  732. /package/{dist → lib}/components/commonComponents/SlateEditor/index.js +0 -0
  733. /package/{dist → lib}/components/commonComponents/SlateEditor/index.style.d.ts +0 -0
  734. /package/{dist → lib}/components/commonComponents/SlateEditor/index.style.js +0 -0
  735. /package/{dist → lib}/components/commonComponents/SlateEditor/types.d.ts +0 -0
  736. /package/{dist → lib}/components/commonComponents/SlateEditor/types.js +0 -0
  737. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/constant.d.ts +0 -0
  738. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/constant.js +0 -0
  739. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/editor.d.ts +0 -0
  740. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/editor.js +0 -0
  741. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/functions.d.ts +0 -0
  742. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/functions.js +0 -0
  743. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/index.d.ts +0 -0
  744. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/index.js +0 -0
  745. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/withEditor.d.ts +0 -0
  746. /package/{dist → lib}/components/commonComponents/SlateEditor/utils/withEditor.js +0 -0
  747. /package/{dist/components/commonComponents/Switch → lib/components/commonComponents/Slider}/demo/demo1.d.ts +0 -0
  748. /package/{dist/components/commonComponents/Popover → lib/components/commonComponents/Slider}/demo/demo2.d.ts +0 -0
  749. /package/{dist/components/commonComponents/Tabs → lib/components/commonComponents/Slider}/demo/demo3.d.ts +0 -0
  750. /package/{dist → lib}/components/commonComponents/Slider/index.d.ts +0 -0
  751. /package/{dist → lib}/components/commonComponents/Slider/index.js +0 -0
  752. /package/{dist → lib}/components/commonComponents/Slider/index.style.d.ts +0 -0
  753. /package/{dist → lib}/components/commonComponents/Slider/index.style.js +0 -0
  754. /package/{dist → lib}/components/commonComponents/Slider/slider.input.d.ts +0 -0
  755. /package/{dist/components/commonComponents/SliderSelector/demo/index.js → lib/components/commonComponents/SliderSelector/demo/demo.js} +0 -0
  756. /package/{dist → lib}/components/commonComponents/SliderSelector/index.d.ts +0 -0
  757. /package/{dist → lib}/components/commonComponents/SliderSelector/index.style.d.ts +0 -0
  758. /package/{dist → lib}/components/commonComponents/SliderSelector/index.style.js +0 -0
  759. /package/{dist/components/commonComponents/Select/demo/demo.d.ts → lib/components/commonComponents/Spinner/demo/demo1.d.ts} +0 -0
  760. /package/{dist/components/commonComponents/Radio → lib/components/commonComponents/Spinner/demo}/demo2.d.ts +0 -0
  761. /package/{dist/components/commonComponents/Slider/demo/demo2.d.ts → lib/components/commonComponents/Spinner/demo/demo3.d.ts} +0 -0
  762. /package/{dist/components/commonComponents/Spinner/demo/demo2.d.ts → lib/components/commonComponents/Spinner/demo/demo4.d.ts} +0 -0
  763. /package/{dist/components/commonComponents/Table → lib/components/commonComponents/Steps}/demo/demo1.d.ts +0 -0
  764. /package/{dist/components/commonComponents/Switch → lib/components/commonComponents/Steps}/demo/demo2.d.ts +0 -0
  765. /package/{dist/components/commonComponents/Table/demo/demo2.d.ts → lib/components/commonComponents/Steps/demo/demo3.d.ts} +0 -0
  766. /package/{dist/components/commonComponents/Tabs → lib/components/commonComponents/Table}/demo/demo1.d.ts +0 -0
  767. /package/{dist/components/commonComponents/Tabs → lib/components/commonComponents/Table}/demo/demo2.d.ts +0 -0
  768. /package/{dist/components/commonComponents/Textarea/demo/demo1.d.ts → lib/components/commonComponents/Table/demo/demo3.d.ts} +0 -0
  769. /package/{dist/components/commonComponents/Tooltip/demo/index.d.ts → lib/components/commonComponents/Table/demo/demo4.d.ts} +0 -0
  770. /package/{dist/components/commonComponents/Upload → lib/components/commonComponents/Tabs}/demo/demo1.d.ts +0 -0
  771. /package/{dist → lib}/components/commonComponents/Textarea/demo/demo1.js +0 -0
  772. /package/{dist → lib}/components/commonComponents/Tooltip/index.style.d.ts +0 -0
  773. /package/{dist → lib}/components/commonComponents/Tooltip/index.style.js +0 -0
  774. /package/{dist → lib}/components/commonComponents/spark.style.js +0 -0
  775. /package/{dist → lib}/config.d.ts +0 -0
  776. /package/{dist → lib}/config.js +0 -0
  777. /package/{dist → lib}/hooks/useGlobalStyle/demo/demo.js +0 -0
  778. /package/{dist → lib}/hooks/useGlobalStyle/index.d.ts +0 -0
  779. /package/{dist → lib}/hooks/useGlobalStyle/index.js +0 -0
  780. /package/{dist → lib}/i18n/index.d.ts +0 -0
  781. /package/{dist → lib}/i18n/index.js +0 -0
  782. /package/{dist → lib}/i18n/strings/index.js +0 -0
  783. /package/{dist → lib}/libs/cookie.d.ts +0 -0
  784. /package/{dist → lib}/libs/cookie.js +0 -0
  785. /package/{dist → lib}/libs/createStyle/index.d.ts +0 -0
  786. /package/{dist → lib}/libs/createStyle/index.js +0 -0
  787. /package/{dist → lib}/libs/data/index.d.ts +0 -0
  788. /package/{dist → lib}/libs/data/index.js +0 -0
  789. /package/{dist → lib}/libs/delay/index.d.ts +0 -0
  790. /package/{dist → lib}/libs/delay/index.js +0 -0
  791. /package/{dist → lib}/libs/dom.d.ts +0 -0
  792. /package/{dist → lib}/libs/dom.js +0 -0
  793. /package/{dist → lib}/libs/env/index.js +0 -0
  794. /package/{dist → lib}/libs/generateCssVars/index.d.ts +0 -0
  795. /package/{dist → lib}/libs/generateCssVars/index.js +0 -0
  796. /package/{dist → lib}/libs/loadStyle.d.ts +0 -0
  797. /package/{dist → lib}/libs/loadStyle.js +0 -0
  798. /package/{dist → lib}/libs/region/constant.d.ts +0 -0
  799. /package/{dist → lib}/libs/region/constant.js +0 -0
  800. /package/{dist → lib}/libs/region/index.d.ts +0 -0
  801. /package/{dist → lib}/libs/region/index.js +0 -0
  802. /package/{dist → lib}/libs/requestPop/index.d.ts +0 -0
  803. /package/{dist → lib}/libs/requestPop/index.js +0 -0
  804. /package/{dist → lib}/libs/requestPopSse/index.d.ts +0 -0
  805. /package/{dist → lib}/libs/requestPopSse/index.js +0 -0
  806. /package/{dist → lib}/libs/requestSse/index.d.ts +0 -0
  807. /package/{dist → lib}/libs/requestSse/index.js +0 -0
  808. /package/{dist → lib}/libs/requestSse/parse.d.ts +0 -0
  809. /package/{dist → lib}/libs/requestSse/parse.js +0 -0
  810. /package/{dist → lib}/libs/staticRenderer/index.d.ts +0 -0
  811. /package/{dist → lib}/libs/staticRenderer/index.js +0 -0
  812. /package/{dist → lib}/libs/string/index.d.ts +0 -0
  813. /package/{dist → lib}/libs/string/index.js +0 -0
  814. /package/{dist → lib}/libs/tokens.json +0 -0
  815. /package/{dist → lib}/libs/utils/index.d.ts +0 -0
  816. /package/{dist → lib}/libs/utils/index.js +0 -0
  817. /package/{dist → lib}/libs/waitFor/index.d.ts +0 -0
  818. /package/{dist → lib}/libs/waitFor/index.js +0 -0
  819. /package/{dist → lib}/typings.d.ts +0 -0
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { TabsProps } from 'antd';
3
- export interface SparkTabsProps extends Omit<TabsProps, 'type'> {
4
- /**
5
- * @description 当Spark组件和antd组件重名时,是否使用Spark组件而不是antd的组件。会覆盖ConfigProvider里的replaceAntd属性
6
- * @default true
7
- */
8
- type?: 'line' | 'card' | 'editable-card' | 'segmented';
9
- }
10
- declare const SparkTabs: {
11
- (props: SparkTabsProps): import("react/jsx-runtime").JSX.Element;
12
- TabPane: import("react").FC<import("antd").TabPaneProps>;
13
- };
14
- export default SparkTabs;
@@ -1,67 +0,0 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["type", "centered"];
3
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
15
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
16
- import { getCommonConfig } from "../../../config";
17
- import { Segmented, Tabs } from 'antd';
18
- import useMergedState from '@rc-component/util/lib/hooks/useMergedState';
19
- import classNames from 'classnames';
20
- import useIndexStyle from "./index.style";
21
- import { jsx as _jsx } from "react/jsx-runtime";
22
- var SparkTabs = function SparkTabs(props) {
23
- var type = props.type,
24
- centered = props.centered,
25
- restProps = _objectWithoutProperties(props, _excluded);
26
- var _getCommonConfig = getCommonConfig(),
27
- sparkPrefix = _getCommonConfig.sparkPrefix;
28
- var _useMergedState = useMergedState(function () {
29
- var _restProps$items$;
30
- return (_restProps$items$ = restProps.items[0]) === null || _restProps$items$ === void 0 ? void 0 : _restProps$items$.key;
31
- }, {
32
- value: restProps.activeKey,
33
- defaultValue: restProps.defaultActiveKey
34
- }),
35
- _useMergedState2 = _slicedToArray(_useMergedState, 2),
36
- mergedActiveKey = _useMergedState2[0],
37
- setMergedActiveKey = _useMergedState2[1];
38
- useIndexStyle();
39
- if (type === 'segmented') {
40
- return /*#__PURE__*/_jsx(Tabs, _objectSpread(_objectSpread({}, restProps), {}, {
41
- activeKey: mergedActiveKey,
42
- renderTabBar: function renderTabBar(tabProps) {
43
- var options = props.items.map(function (item) {
44
- return {
45
- label: item.label,
46
- value: item.key,
47
- disabled: item.disabled
48
- };
49
- });
50
- return /*#__PURE__*/_jsx(Segmented, {
51
- options: options,
52
- onChange: function onChange(value) {
53
- var _props$onChange;
54
- setMergedActiveKey(value);
55
- (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, value);
56
- },
57
- className: classNames("".concat(sparkPrefix, "-segmented-tab-bar"), _defineProperty({}, "".concat(sparkPrefix, "-segmented-tab-bar-centered"), centered)),
58
- value: tabProps.activeKey,
59
- size: props.size
60
- });
61
- }
62
- }));
63
- }
64
- return /*#__PURE__*/_jsx(Tabs, _objectSpread({}, restProps));
65
- };
66
- SparkTabs.TabPane = Tabs.TabPane;
67
- export default SparkTabs;
@@ -1,23 +0,0 @@
1
- export declare function getIndexStyleData(params: any): {
2
- [x: string]: {
3
- display: string;
4
- marginBottom?: undefined;
5
- background?: undefined;
6
- alignSelf?: undefined;
7
- } | {
8
- [x: string]: string | {
9
- alignSelf: string;
10
- } | {
11
- [x: string]: {
12
- fontWeight: number;
13
- };
14
- alignSelf?: undefined;
15
- };
16
- marginBottom: string;
17
- background: string;
18
- alignSelf: string;
19
- display?: undefined;
20
- };
21
- };
22
- declare const useIndexStyle: (props?: {}) => import("../../../config").CommonConfig;
23
- export default useIndexStyle;
@@ -1,30 +0,0 @@
1
- var _excluded = ["css"];
2
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- import createStyle from "../../../libs/createStyle";
9
- export function getIndexStyleData(params) {
10
- var sparkPrefix = params.sparkPrefix,
11
- antPrefix = params.antPrefix;
12
- return _defineProperty(_defineProperty({}, ".".concat(antPrefix, "-tabs-nav::before"), {
13
- display: 'none!important'
14
- }), ".".concat(sparkPrefix, "-segmented-tab-bar"), _defineProperty(_defineProperty({
15
- marginBottom: '16px',
16
- background: "var(--".concat(antPrefix, "-color-fill-tertiary)"),
17
- alignSelf: 'baseline'
18
- }, "&.".concat(sparkPrefix, "-segmented-tab-bar-centered"), {
19
- alignSelf: 'center'
20
- }), ".".concat(antPrefix, "-segmented-item-selected"), _defineProperty({}, ".".concat(antPrefix, "-segmented-item-label"), {
21
- fontWeight: 500
22
- })));
23
- }
24
- var useIndexStyle = createStyle(function (_ref2) {
25
- var css = _ref2.css,
26
- params = _objectWithoutProperties(_ref2, _excluded);
27
- var result = css(getIndexStyleData(params));
28
- return result;
29
- });
30
- export default useIndexStyle;
@@ -1,33 +0,0 @@
1
- import { Tag } from "../../..";
2
- import { Flex } from 'antd';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- import { jsxs as _jsxs } from "react/jsx-runtime";
5
- export default (function () {
6
- return /*#__PURE__*/_jsxs(Flex, {
7
- align: "center",
8
- vertical: true,
9
- gap: 50,
10
- children: [/*#__PURE__*/_jsx(Tag, {
11
- color: "purple",
12
- children: "purple"
13
- }), /*#__PURE__*/_jsx(Tag, {
14
- color: "pink",
15
- children: "pink"
16
- }), /*#__PURE__*/_jsx(Tag, {
17
- color: "yellow",
18
- children: "yellow"
19
- }), /*#__PURE__*/_jsx(Tag, {
20
- color: "teal",
21
- children: "teal"
22
- }), /*#__PURE__*/_jsx(Tag, {
23
- color: "blue",
24
- children: "blue"
25
- }), /*#__PURE__*/_jsx(Tag, {
26
- color: "mauve",
27
- children: "mauve"
28
- }), /*#__PURE__*/_jsx(Tag, {
29
- color: "transparent",
30
- children: "transparent"
31
- })]
32
- });
33
- });
@@ -1,40 +0,0 @@
1
- import { Tag } from "../../..";
2
- import { Flex } from 'antd';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- import { jsxs as _jsxs } from "react/jsx-runtime";
5
- export default (function () {
6
- return /*#__PURE__*/_jsxs(Flex, {
7
- align: "center",
8
- vertical: true,
9
- gap: 50,
10
- children: [/*#__PURE__*/_jsx(Tag, {
11
- size: "small",
12
- color: "purple",
13
- children: "purple"
14
- }), /*#__PURE__*/_jsx(Tag, {
15
- size: "small",
16
- color: "pink",
17
- children: "pink"
18
- }), /*#__PURE__*/_jsx(Tag, {
19
- size: "small",
20
- color: "yellow",
21
- children: "yellow"
22
- }), /*#__PURE__*/_jsx(Tag, {
23
- size: "small",
24
- color: "teal",
25
- children: "teal"
26
- }), /*#__PURE__*/_jsx(Tag, {
27
- size: "small",
28
- color: "blue",
29
- children: "blue"
30
- }), /*#__PURE__*/_jsx(Tag, {
31
- size: "small",
32
- color: "mauve",
33
- children: "mauve"
34
- }), /*#__PURE__*/_jsx(Tag, {
35
- size: "small",
36
- color: "transparent",
37
- children: "transparent"
38
- })]
39
- });
40
- });
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { TagProps } from 'antd';
3
- export interface SparkTagProps extends TagProps {
4
- size?: 'small' | 'middle';
5
- }
6
- declare const SparkTag: import("react").ForwardRefExoticComponent<SparkTagProps & import("react").RefAttributes<any>>;
7
- export default SparkTag;
@@ -1,36 +0,0 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["children", "className", "bordered", "color", "size"];
3
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10
- import { getCommonConfig } from "../../../config";
11
- import { Tag } from 'antd';
12
- import classNames from 'classnames';
13
- import { forwardRef } from 'react';
14
- import useIndexStyle from "./index.style";
15
- import { jsx as _jsx } from "react/jsx-runtime";
16
- var SparkTag = /*#__PURE__*/forwardRef(function (props, ref) {
17
- var children = props.children,
18
- className = props.className,
19
- _props$bordered = props.bordered,
20
- bordered = _props$bordered === void 0 ? false : _props$bordered,
21
- color = props.color,
22
- _props$size = props.size,
23
- size = _props$size === void 0 ? 'middle' : _props$size,
24
- restProps = _objectWithoutProperties(props, _excluded);
25
- useIndexStyle();
26
- var commonConfig = getCommonConfig();
27
- var sparkPrefix = commonConfig.sparkPrefix;
28
- return /*#__PURE__*/_jsx(Tag, _objectSpread(_objectSpread({
29
- className: classNames("".concat(sparkPrefix, "-tag ").concat(sparkPrefix, "-tag-").concat(color, " ").concat(sparkPrefix, "-tag-").concat(size), className),
30
- bordered: bordered
31
- }, restProps), {}, {
32
- ref: ref,
33
- children: children
34
- }));
35
- });
36
- export default SparkTag;
@@ -1,37 +0,0 @@
1
- export declare function getIndexStyleData(params: any): {
2
- [x: string]: {
3
- fontWeight: number;
4
- fontSize?: undefined;
5
- lineHeight?: undefined;
6
- padding?: undefined;
7
- color?: undefined;
8
- background?: undefined;
9
- borderColor?: undefined;
10
- } | {
11
- fontSize: string;
12
- lineHeight: string;
13
- padding: string;
14
- fontWeight?: undefined;
15
- color?: undefined;
16
- background?: undefined;
17
- borderColor?: undefined;
18
- } | {
19
- color: string;
20
- background: string;
21
- fontWeight?: undefined;
22
- fontSize?: undefined;
23
- lineHeight?: undefined;
24
- padding?: undefined;
25
- borderColor?: undefined;
26
- } | {
27
- color: string;
28
- background: string;
29
- borderColor: string;
30
- fontWeight?: undefined;
31
- fontSize?: undefined;
32
- lineHeight?: undefined;
33
- padding?: undefined;
34
- };
35
- };
36
- declare const useIndexStyle: (props?: {}) => import("../../../config").CommonConfig;
37
- export default useIndexStyle;
@@ -1,52 +0,0 @@
1
- var _excluded = ["css"];
2
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- import createStyle from "../../../libs/createStyle";
9
- export function getIndexStyleData(params) {
10
- var antPrefix = params.antPrefix,
11
- sparkPrefix = params.sparkPrefix;
12
- return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(sparkPrefix, "-tag"), {
13
- fontWeight: 500
14
- }), ".".concat(sparkPrefix, "-tag-small"), {
15
- fontSize: '12px',
16
- lineHeight: '20px',
17
- padding: '0 4px'
18
- }), ".".concat(sparkPrefix, "-tag-middle"), {
19
- fontSize: '14px',
20
- lineHeight: '24px',
21
- padding: '0 6px'
22
- }), ".".concat(sparkPrefix, "-tag-purple"), {
23
- color: "var(--".concat(antPrefix, "-color-purple)"),
24
- background: "var(--".concat(antPrefix, "-color-purple-bg)")
25
- }), ".".concat(sparkPrefix, "-tag-pink"), {
26
- color: "var(--".concat(antPrefix, "-color-pink)"),
27
- background: "var(--".concat(antPrefix, "-color-pink-bg)")
28
- }), ".".concat(sparkPrefix, "-tag-yellow"), {
29
- color: "var(--".concat(antPrefix, "-color-yellow)"),
30
- background: "var(--".concat(antPrefix, "-color-yellow-bg)")
31
- }), ".".concat(sparkPrefix, "-tag-teal"), {
32
- color: "var(--".concat(antPrefix, "-color-teal)"),
33
- background: "var(--".concat(antPrefix, "-color-teal-bg)")
34
- }), ".".concat(sparkPrefix, "-tag-blue"), {
35
- color: "var(--".concat(antPrefix, "-color-blue)"),
36
- background: "var(--".concat(antPrefix, "-color-blue-bg)")
37
- }), ".".concat(sparkPrefix, "-tag-mauve"), {
38
- color: "var(--".concat(antPrefix, "-color-mauve)"),
39
- background: "var(--".concat(antPrefix, "-color-mauve-bg)")
40
- }), ".".concat(sparkPrefix, "-tag-transparent"), {
41
- color: "var(--".concat(antPrefix, "-color-text-tertiary)"),
42
- background: 'transparent',
43
- borderColor: "var(--".concat(antPrefix, "-color-border-secondary)")
44
- });
45
- }
46
- var useIndexStyle = createStyle(function (_ref2) {
47
- var css = _ref2.css,
48
- params = _objectWithoutProperties(_ref2, _excluded);
49
- var result = css(getIndexStyleData(params));
50
- return result;
51
- });
52
- export default useIndexStyle;
@@ -1,254 +0,0 @@
1
- import { Button, ConfigProvider, Tooltip } from "../../../..";
2
- import { DemoBlock } from ".dumi/theme/DemoComponents/DemoBlock";
3
- import { Flex } from 'antd';
4
- import React from 'react';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
- var text = /*#__PURE__*/_jsx("span", {
8
- children: "Distinctively monetize cost effective networks for cross-media bandwidth"
9
- });
10
- var buttonWidth = 80;
11
- var App = function App() {
12
- return /*#__PURE__*/_jsxs(ConfigProvider, {
13
- button: {
14
- style: {
15
- width: buttonWidth,
16
- margin: 4
17
- }
18
- },
19
- children: [/*#__PURE__*/_jsx(DemoBlock, {
20
- title: "\u9ED8\u8BA4\u6DF1\u8272\u80CC\u666F",
21
- children: /*#__PURE__*/_jsxs(Flex, {
22
- vertical: true,
23
- justify: "center",
24
- align: "center",
25
- className: "demo",
26
- children: [/*#__PURE__*/_jsxs(Flex, {
27
- justify: "center",
28
- align: "center",
29
- style: {
30
- whiteSpace: 'nowrap'
31
- },
32
- children: [/*#__PURE__*/_jsx(Tooltip, {
33
- placement: "topLeft",
34
- title: text,
35
- children: /*#__PURE__*/_jsx(Button, {
36
- children: "TL"
37
- })
38
- }), /*#__PURE__*/_jsx(Tooltip, {
39
- placement: "top",
40
- title: text,
41
- children: /*#__PURE__*/_jsx(Button, {
42
- children: "Top"
43
- })
44
- }), /*#__PURE__*/_jsx(Tooltip, {
45
- placement: "topRight",
46
- title: text,
47
- children: /*#__PURE__*/_jsx(Button, {
48
- children: "TR"
49
- })
50
- })]
51
- }), /*#__PURE__*/_jsxs(Flex, {
52
- style: {
53
- width: buttonWidth * 5 + 32
54
- },
55
- justify: "space-between",
56
- align: "center",
57
- children: [/*#__PURE__*/_jsxs(Flex, {
58
- align: "center",
59
- vertical: true,
60
- children: [/*#__PURE__*/_jsx(Tooltip, {
61
- placement: "leftTop",
62
- title: text,
63
- children: /*#__PURE__*/_jsx(Button, {
64
- children: "LT"
65
- })
66
- }), /*#__PURE__*/_jsx(Tooltip, {
67
- placement: "left",
68
- title: text,
69
- children: /*#__PURE__*/_jsx(Button, {
70
- children: "Left"
71
- })
72
- }), /*#__PURE__*/_jsx(Tooltip, {
73
- placement: "leftBottom",
74
- title: text,
75
- children: /*#__PURE__*/_jsx(Button, {
76
- children: "LB"
77
- })
78
- })]
79
- }), /*#__PURE__*/_jsxs(Flex, {
80
- align: "center",
81
- vertical: true,
82
- children: [/*#__PURE__*/_jsx(Tooltip, {
83
- placement: "rightTop",
84
- title: text,
85
- children: /*#__PURE__*/_jsx(Button, {
86
- children: "RT"
87
- })
88
- }), /*#__PURE__*/_jsx(Tooltip, {
89
- placement: "right",
90
- title: text,
91
- children: /*#__PURE__*/_jsx(Button, {
92
- children: "Right"
93
- })
94
- }), /*#__PURE__*/_jsx(Tooltip, {
95
- placement: "rightBottom",
96
- title: text,
97
- children: /*#__PURE__*/_jsx(Button, {
98
- children: "RB"
99
- })
100
- })]
101
- })]
102
- }), /*#__PURE__*/_jsxs(Flex, {
103
- justify: "center",
104
- align: "center",
105
- style: {
106
- whiteSpace: 'nowrap'
107
- },
108
- children: [/*#__PURE__*/_jsx(Tooltip, {
109
- placement: "bottomLeft",
110
- title: text,
111
- children: /*#__PURE__*/_jsx(Button, {
112
- children: "BL"
113
- })
114
- }), /*#__PURE__*/_jsx(Tooltip, {
115
- placement: "bottom",
116
- title: text,
117
- children: /*#__PURE__*/_jsx(Button, {
118
- children: "Bottom"
119
- })
120
- }), /*#__PURE__*/_jsx(Tooltip, {
121
- placement: "bottomRight",
122
- title: text,
123
- children: /*#__PURE__*/_jsx(Button, {
124
- children: "BR"
125
- })
126
- })]
127
- })]
128
- })
129
- }), /*#__PURE__*/_jsx(DemoBlock, {
130
- title: "mode=\"light\" \u4EAE\u8272\u80CC\u666F",
131
- children: /*#__PURE__*/_jsxs(Flex, {
132
- vertical: true,
133
- justify: "center",
134
- align: "center",
135
- className: "demo",
136
- children: [/*#__PURE__*/_jsxs(Flex, {
137
- justify: "center",
138
- align: "center",
139
- style: {
140
- whiteSpace: 'nowrap'
141
- },
142
- children: [/*#__PURE__*/_jsx(Tooltip, {
143
- mode: "light",
144
- placement: "topLeft",
145
- title: text,
146
- children: /*#__PURE__*/_jsx(Button, {
147
- children: "TL"
148
- })
149
- }), /*#__PURE__*/_jsx(Tooltip, {
150
- mode: "light",
151
- placement: "top",
152
- title: text,
153
- children: /*#__PURE__*/_jsx(Button, {
154
- children: "Top"
155
- })
156
- }), /*#__PURE__*/_jsx(Tooltip, {
157
- mode: "light",
158
- placement: "topRight",
159
- title: text,
160
- children: /*#__PURE__*/_jsx(Button, {
161
- children: "TR"
162
- })
163
- })]
164
- }), /*#__PURE__*/_jsxs(Flex, {
165
- style: {
166
- width: buttonWidth * 5 + 32
167
- },
168
- justify: "space-between",
169
- align: "center",
170
- children: [/*#__PURE__*/_jsxs(Flex, {
171
- align: "center",
172
- vertical: true,
173
- children: [/*#__PURE__*/_jsx(Tooltip, {
174
- mode: "light",
175
- placement: "leftTop",
176
- title: text,
177
- children: /*#__PURE__*/_jsx(Button, {
178
- children: "LT"
179
- })
180
- }), /*#__PURE__*/_jsx(Tooltip, {
181
- mode: "light",
182
- placement: "left",
183
- title: text,
184
- children: /*#__PURE__*/_jsx(Button, {
185
- children: "Left"
186
- })
187
- }), /*#__PURE__*/_jsx(Tooltip, {
188
- mode: "light",
189
- placement: "leftBottom",
190
- title: text,
191
- children: /*#__PURE__*/_jsx(Button, {
192
- children: "LB"
193
- })
194
- })]
195
- }), /*#__PURE__*/_jsxs(Flex, {
196
- align: "center",
197
- vertical: true,
198
- children: [/*#__PURE__*/_jsx(Tooltip, {
199
- mode: "light",
200
- placement: "rightTop",
201
- title: text,
202
- children: /*#__PURE__*/_jsx(Button, {
203
- children: "RT"
204
- })
205
- }), /*#__PURE__*/_jsx(Tooltip, {
206
- mode: "light",
207
- placement: "right",
208
- title: text,
209
- children: /*#__PURE__*/_jsx(Button, {
210
- children: "Right"
211
- })
212
- }), /*#__PURE__*/_jsx(Tooltip, {
213
- mode: "light",
214
- placement: "rightBottom",
215
- title: text,
216
- children: /*#__PURE__*/_jsx(Button, {
217
- children: "RB"
218
- })
219
- })]
220
- })]
221
- }), /*#__PURE__*/_jsxs(Flex, {
222
- justify: "center",
223
- align: "center",
224
- style: {
225
- whiteSpace: 'nowrap'
226
- },
227
- children: [/*#__PURE__*/_jsx(Tooltip, {
228
- mode: "light",
229
- placement: "bottomLeft",
230
- title: text,
231
- children: /*#__PURE__*/_jsx(Button, {
232
- children: "BL"
233
- })
234
- }), /*#__PURE__*/_jsx(Tooltip, {
235
- mode: "light",
236
- placement: "bottom",
237
- title: text,
238
- children: /*#__PURE__*/_jsx(Button, {
239
- children: "Bottom"
240
- })
241
- }), /*#__PURE__*/_jsx(Tooltip, {
242
- mode: "light",
243
- placement: "bottomRight",
244
- title: text,
245
- children: /*#__PURE__*/_jsx(Button, {
246
- children: "BR"
247
- })
248
- })]
249
- })]
250
- })
251
- })]
252
- });
253
- };
254
- export default App;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { TooltipProps } from 'antd';
3
- export type SparkTooltipProps = TooltipProps & {
4
- /**
5
- * @description 颜色模式
6
- * @default 'light'
7
- */
8
- mode?: 'dark' | 'light';
9
- };
10
- declare const SparkTooltip: import("react").ForwardRefExoticComponent<SparkTooltipProps & import("react").RefAttributes<any>>;
11
- export default SparkTooltip;
@@ -1,35 +0,0 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["mode", "arrow"];
3
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10
- import { getCommonConfig } from "../../../config";
11
- import { findClosestBySelector } from "../../../libs/dom";
12
- import { Tooltip } from 'antd';
13
- import classNames from 'classnames';
14
- import { forwardRef } from 'react';
15
- import useIndexStyle from "./index.style";
16
- import { jsx as _jsx } from "react/jsx-runtime";
17
- var SparkTooltip = /*#__PURE__*/forwardRef(function (props, ref) {
18
- useIndexStyle();
19
- var _props$mode = props.mode,
20
- mode = _props$mode === void 0 ? 'dark' : _props$mode,
21
- arrow = props.arrow,
22
- restProps = _objectWithoutProperties(props, _excluded);
23
- var _getCommonConfig = getCommonConfig(),
24
- sparkPrefix = _getCommonConfig.sparkPrefix,
25
- antPrefix = _getCommonConfig.antPrefix;
26
- return /*#__PURE__*/_jsx(Tooltip, _objectSpread(_objectSpread({}, restProps), {}, {
27
- arrow: arrow !== null && arrow !== void 0 ? arrow : false,
28
- overlayClassName: classNames(props.overlayClassName, mode === 'light' && "".concat(sparkPrefix, "-tooltip-light")),
29
- getPopupContainer: props.getPopupContainer || function (triggerNode) {
30
- return findClosestBySelector(triggerNode, ".".concat(antPrefix, "-app")); // 默认放到App组件下,获取自定义css变量
31
- },
32
- ref: ref
33
- }));
34
- });
35
- export default SparkTooltip;