@aithe/aithe-ui 26.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (694) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +466 -0
  3. package/dist/apps/api/app.d.ts +24 -0
  4. package/dist/apps/api/app.d.ts.map +1 -0
  5. package/dist/apps/api/demo-data.d.ts +3 -0
  6. package/dist/apps/api/demo-data.d.ts.map +1 -0
  7. package/dist/apps/api/docs-viewer.d.ts +54 -0
  8. package/dist/apps/api/docs-viewer.d.ts.map +1 -0
  9. package/dist/apps/api/i18n/en-US.d.ts +7 -0
  10. package/dist/apps/api/i18n/en-US.d.ts.map +1 -0
  11. package/dist/apps/api/i18n/index.d.ts +2 -0
  12. package/dist/apps/api/i18n/index.d.ts.map +1 -0
  13. package/dist/apps/api/i18n/zh-CN.d.ts +7 -0
  14. package/dist/apps/api/i18n/zh-CN.d.ts.map +1 -0
  15. package/dist/apps/api/index.html +13 -0
  16. package/dist/apps/api/pages/docs.d.ts +11 -0
  17. package/dist/apps/api/pages/docs.d.ts.map +1 -0
  18. package/dist/apps/api/standalone.d.ts +2 -0
  19. package/dist/apps/api/standalone.d.ts.map +1 -0
  20. package/dist/apps/demo/app.d.ts +28 -0
  21. package/dist/apps/demo/app.d.ts.map +1 -0
  22. package/dist/apps/demo/editor.d.ts +28 -0
  23. package/dist/apps/demo/editor.d.ts.map +1 -0
  24. package/dist/apps/demo/helpers.d.ts +2 -0
  25. package/dist/apps/demo/helpers.d.ts.map +1 -0
  26. package/dist/apps/demo/i18n/en-US.d.ts +7 -0
  27. package/dist/apps/demo/i18n/en-US.d.ts.map +1 -0
  28. package/dist/apps/demo/i18n/en.d.ts +3 -0
  29. package/dist/apps/demo/i18n/en.d.ts.map +1 -0
  30. package/dist/apps/demo/i18n/index.d.ts +2 -0
  31. package/dist/apps/demo/i18n/index.d.ts.map +1 -0
  32. package/dist/apps/demo/i18n/zh-CN.d.ts +7 -0
  33. package/dist/apps/demo/i18n/zh-CN.d.ts.map +1 -0
  34. package/dist/apps/demo/i18n/zh.d.ts +3 -0
  35. package/dist/apps/demo/i18n/zh.d.ts.map +1 -0
  36. package/dist/apps/demo/index.html +13 -0
  37. package/dist/apps/demo/pages/basic.d.ts +3 -0
  38. package/dist/apps/demo/pages/basic.d.ts.map +1 -0
  39. package/dist/apps/demo/pages/container.d.ts +3 -0
  40. package/dist/apps/demo/pages/container.d.ts.map +1 -0
  41. package/dist/apps/demo/pages/data.d.ts +3 -0
  42. package/dist/apps/demo/pages/data.d.ts.map +1 -0
  43. package/dist/apps/demo/pages/display.d.ts +3 -0
  44. package/dist/apps/demo/pages/display.d.ts.map +1 -0
  45. package/dist/apps/demo/pages/feedback.d.ts +3 -0
  46. package/dist/apps/demo/pages/feedback.d.ts.map +1 -0
  47. package/dist/apps/demo/pages/form.d.ts +3 -0
  48. package/dist/apps/demo/pages/form.d.ts.map +1 -0
  49. package/dist/apps/demo/pages/layout.d.ts +3 -0
  50. package/dist/apps/demo/pages/layout.d.ts.map +1 -0
  51. package/dist/apps/demo/pages/navigation.d.ts +3 -0
  52. package/dist/apps/demo/pages/navigation.d.ts.map +1 -0
  53. package/dist/apps/demo/pages/progress.d.ts +3 -0
  54. package/dist/apps/demo/pages/progress.d.ts.map +1 -0
  55. package/dist/apps/demo/pages/theme.d.ts +3 -0
  56. package/dist/apps/demo/pages/theme.d.ts.map +1 -0
  57. package/dist/apps/demo/standalone.d.ts +2 -0
  58. package/dist/apps/demo/standalone.d.ts.map +1 -0
  59. package/dist/base/aithe-element.d.ts +29 -0
  60. package/dist/base/aithe-element.d.ts.map +1 -0
  61. package/dist/components/avatar/avatar.d.ts +13 -0
  62. package/dist/components/avatar/avatar.d.ts.map +1 -0
  63. package/dist/components/badge/badge.d.ts +14 -0
  64. package/dist/components/badge/badge.d.ts.map +1 -0
  65. package/dist/components/basic/avatar.d.ts +13 -0
  66. package/dist/components/basic/avatar.d.ts.map +1 -0
  67. package/dist/components/basic/badge.d.ts +14 -0
  68. package/dist/components/basic/badge.d.ts.map +1 -0
  69. package/dist/components/basic/button-group.d.ts +11 -0
  70. package/dist/components/basic/button-group.d.ts.map +1 -0
  71. package/dist/components/basic/button.d.ts +13 -0
  72. package/dist/components/basic/button.d.ts.map +1 -0
  73. package/dist/components/basic/card.d.ts +18 -0
  74. package/dist/components/basic/card.d.ts.map +1 -0
  75. package/dist/components/basic/chip.d.ts +13 -0
  76. package/dist/components/basic/chip.d.ts.map +1 -0
  77. package/dist/components/basic/divider.d.ts +9 -0
  78. package/dist/components/basic/divider.d.ts.map +1 -0
  79. package/dist/components/basic/empty.d.ts +12 -0
  80. package/dist/components/basic/empty.d.ts.map +1 -0
  81. package/dist/components/basic/icon.d.ts +12 -0
  82. package/dist/components/basic/icon.d.ts.map +1 -0
  83. package/dist/components/basic/input.d.ts +28 -0
  84. package/dist/components/basic/input.d.ts.map +1 -0
  85. package/dist/components/basic/tag.d.ts +14 -0
  86. package/dist/components/basic/tag.d.ts.map +1 -0
  87. package/dist/components/basic/textarea.d.ts +18 -0
  88. package/dist/components/basic/textarea.d.ts.map +1 -0
  89. package/dist/components/breadcrumb/breadcrumb-item.d.ts +11 -0
  90. package/dist/components/breadcrumb/breadcrumb-item.d.ts.map +1 -0
  91. package/dist/components/breadcrumb/breadcrumb.d.ts +9 -0
  92. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  93. package/dist/components/button/button.d.ts +13 -0
  94. package/dist/components/button/button.d.ts.map +1 -0
  95. package/dist/components/card/card.d.ts +18 -0
  96. package/dist/components/card/card.d.ts.map +1 -0
  97. package/dist/components/checkbox/checkbox-group.d.ts +17 -0
  98. package/dist/components/checkbox/checkbox-group.d.ts.map +1 -0
  99. package/dist/components/checkbox/checkbox.d.ts +15 -0
  100. package/dist/components/checkbox/checkbox.d.ts.map +1 -0
  101. package/dist/components/container/callout.d.ts +11 -0
  102. package/dist/components/container/callout.d.ts.map +1 -0
  103. package/dist/components/container/details.d.ts +13 -0
  104. package/dist/components/container/details.d.ts.map +1 -0
  105. package/dist/components/container/scroller.d.ts +16 -0
  106. package/dist/components/container/scroller.d.ts.map +1 -0
  107. package/dist/components/container/split-panel.d.ts +20 -0
  108. package/dist/components/container/split-panel.d.ts.map +1 -0
  109. package/dist/components/data/pagination.d.ts +15 -0
  110. package/dist/components/data/pagination.d.ts.map +1 -0
  111. package/dist/components/data/tab-group.d.ts +8 -0
  112. package/dist/components/data/tab-group.d.ts.map +1 -0
  113. package/dist/components/data/tab-pane.d.ts +11 -0
  114. package/dist/components/data/tab-pane.d.ts.map +1 -0
  115. package/dist/components/data/table.d.ts +30 -0
  116. package/dist/components/data/table.d.ts.map +1 -0
  117. package/dist/components/data/tabs.d.ts +17 -0
  118. package/dist/components/data/tabs.d.ts.map +1 -0
  119. package/dist/components/data/tree.d.ts +21 -0
  120. package/dist/components/data/tree.d.ts.map +1 -0
  121. package/dist/components/display/animated-image.d.ts +13 -0
  122. package/dist/components/display/animated-image.d.ts.map +1 -0
  123. package/dist/components/display/carousel.d.ts +23 -0
  124. package/dist/components/display/carousel.d.ts.map +1 -0
  125. package/dist/components/display/comparison.d.ts +12 -0
  126. package/dist/components/display/comparison.d.ts.map +1 -0
  127. package/dist/components/display/markdown.d.ts +11 -0
  128. package/dist/components/display/markdown.d.ts.map +1 -0
  129. package/dist/components/divider/divider.d.ts +9 -0
  130. package/dist/components/divider/divider.d.ts.map +1 -0
  131. package/dist/components/drawer/drawer.d.ts +29 -0
  132. package/dist/components/drawer/drawer.d.ts.map +1 -0
  133. package/dist/components/dropdown/dropdown.d.ts +34 -0
  134. package/dist/components/dropdown/dropdown.d.ts.map +1 -0
  135. package/dist/components/feedback/alert.d.ts +15 -0
  136. package/dist/components/feedback/alert.d.ts.map +1 -0
  137. package/dist/components/feedback/dialog.d.ts +20 -0
  138. package/dist/components/feedback/dialog.d.ts.map +1 -0
  139. package/dist/components/feedback/drawer.d.ts +29 -0
  140. package/dist/components/feedback/drawer.d.ts.map +1 -0
  141. package/dist/components/feedback/dropdown.d.ts +34 -0
  142. package/dist/components/feedback/dropdown.d.ts.map +1 -0
  143. package/dist/components/feedback/loading.d.ts +13 -0
  144. package/dist/components/feedback/loading.d.ts.map +1 -0
  145. package/dist/components/feedback/modal.d.ts +28 -0
  146. package/dist/components/feedback/modal.d.ts.map +1 -0
  147. package/dist/components/feedback/notification.d.ts +20 -0
  148. package/dist/components/feedback/notification.d.ts.map +1 -0
  149. package/dist/components/feedback/popover.d.ts +16 -0
  150. package/dist/components/feedback/popover.d.ts.map +1 -0
  151. package/dist/components/feedback/toast.d.ts +18 -0
  152. package/dist/components/feedback/toast.d.ts.map +1 -0
  153. package/dist/components/feedback/tooltip.d.ts +18 -0
  154. package/dist/components/feedback/tooltip.d.ts.map +1 -0
  155. package/dist/components/form/checkbox-group.d.ts +17 -0
  156. package/dist/components/form/checkbox-group.d.ts.map +1 -0
  157. package/dist/components/form/checkbox.d.ts +15 -0
  158. package/dist/components/form/checkbox.d.ts.map +1 -0
  159. package/dist/components/form/color-picker.d.ts +17 -0
  160. package/dist/components/form/color-picker.d.ts.map +1 -0
  161. package/dist/components/form/combobox.d.ts +22 -0
  162. package/dist/components/form/combobox.d.ts.map +1 -0
  163. package/dist/components/form/date-picker.d.ts +15 -0
  164. package/dist/components/form/date-picker.d.ts.map +1 -0
  165. package/dist/components/form/form-item.d.ts +15 -0
  166. package/dist/components/form/form-item.d.ts.map +1 -0
  167. package/dist/components/form/form.d.ts +14 -0
  168. package/dist/components/form/form.d.ts.map +1 -0
  169. package/dist/components/form/radio-group.d.ts +15 -0
  170. package/dist/components/form/radio-group.d.ts.map +1 -0
  171. package/dist/components/form/radio.d.ts +12 -0
  172. package/dist/components/form/radio.d.ts.map +1 -0
  173. package/dist/components/form/rate.d.ts +14 -0
  174. package/dist/components/form/rate.d.ts.map +1 -0
  175. package/dist/components/form/select.d.ts +35 -0
  176. package/dist/components/form/select.d.ts.map +1 -0
  177. package/dist/components/form/slider.d.ts +17 -0
  178. package/dist/components/form/slider.d.ts.map +1 -0
  179. package/dist/components/form/switch.d.ts +12 -0
  180. package/dist/components/form/switch.d.ts.map +1 -0
  181. package/dist/components/form/time-picker.d.ts +13 -0
  182. package/dist/components/form/time-picker.d.ts.map +1 -0
  183. package/dist/components/form/transfer.d.ts +24 -0
  184. package/dist/components/form/transfer.d.ts.map +1 -0
  185. package/dist/components/form/upload.d.ts +16 -0
  186. package/dist/components/form/upload.d.ts.map +1 -0
  187. package/dist/components/input/input.d.ts +28 -0
  188. package/dist/components/input/input.d.ts.map +1 -0
  189. package/dist/components/layout/affix.d.ts +23 -0
  190. package/dist/components/layout/affix.d.ts.map +1 -0
  191. package/dist/components/layout/col.d.ts +17 -0
  192. package/dist/components/layout/col.d.ts.map +1 -0
  193. package/dist/components/layout/collapse-item.d.ts +15 -0
  194. package/dist/components/layout/collapse-item.d.ts.map +1 -0
  195. package/dist/components/layout/collapse.d.ts +18 -0
  196. package/dist/components/layout/collapse.d.ts.map +1 -0
  197. package/dist/components/layout/container.d.ts +15 -0
  198. package/dist/components/layout/container.d.ts.map +1 -0
  199. package/dist/components/layout/flex.d.ts +15 -0
  200. package/dist/components/layout/flex.d.ts.map +1 -0
  201. package/dist/components/layout/page-container.d.ts +11 -0
  202. package/dist/components/layout/page-container.d.ts.map +1 -0
  203. package/dist/components/layout/page.d.ts +8 -0
  204. package/dist/components/layout/page.d.ts.map +1 -0
  205. package/dist/components/layout/row.d.ts +13 -0
  206. package/dist/components/layout/row.d.ts.map +1 -0
  207. package/dist/components/layout/space.d.ts +13 -0
  208. package/dist/components/layout/space.d.ts.map +1 -0
  209. package/dist/components/layout/timeline-item.d.ts +12 -0
  210. package/dist/components/layout/timeline-item.d.ts.map +1 -0
  211. package/dist/components/layout/timeline.d.ts +12 -0
  212. package/dist/components/layout/timeline.d.ts.map +1 -0
  213. package/dist/components/modal/modal.d.ts +28 -0
  214. package/dist/components/modal/modal.d.ts.map +1 -0
  215. package/dist/components/navigation/back-top.d.ts +21 -0
  216. package/dist/components/navigation/back-top.d.ts.map +1 -0
  217. package/dist/components/navigation/breadcrumb-item.d.ts +11 -0
  218. package/dist/components/navigation/breadcrumb-item.d.ts.map +1 -0
  219. package/dist/components/navigation/breadcrumb.d.ts +9 -0
  220. package/dist/components/navigation/breadcrumb.d.ts.map +1 -0
  221. package/dist/components/navigation/menu-item.d.ts +16 -0
  222. package/dist/components/navigation/menu-item.d.ts.map +1 -0
  223. package/dist/components/navigation/menu.d.ts +18 -0
  224. package/dist/components/navigation/menu.d.ts.map +1 -0
  225. package/dist/components/navigation/steps.d.ts +14 -0
  226. package/dist/components/navigation/steps.d.ts.map +1 -0
  227. package/dist/components/navigation/sub-menu.d.ts +18 -0
  228. package/dist/components/navigation/sub-menu.d.ts.map +1 -0
  229. package/dist/components/popover/popover.d.ts +16 -0
  230. package/dist/components/popover/popover.d.ts.map +1 -0
  231. package/dist/components/progress/progress-bar.d.ts +12 -0
  232. package/dist/components/progress/progress-bar.d.ts.map +1 -0
  233. package/dist/components/progress/progress-ring.d.ts +13 -0
  234. package/dist/components/progress/progress-ring.d.ts.map +1 -0
  235. package/dist/components/progress/skeleton.d.ts +13 -0
  236. package/dist/components/progress/skeleton.d.ts.map +1 -0
  237. package/dist/components/progress/spinner.d.ts +12 -0
  238. package/dist/components/progress/spinner.d.ts.map +1 -0
  239. package/dist/components/radio/radio-group.d.ts +15 -0
  240. package/dist/components/radio/radio-group.d.ts.map +1 -0
  241. package/dist/components/radio/radio.d.ts +12 -0
  242. package/dist/components/radio/radio.d.ts.map +1 -0
  243. package/dist/components/select/select.d.ts +35 -0
  244. package/dist/components/select/select.d.ts.map +1 -0
  245. package/dist/components/switch/switch.d.ts +12 -0
  246. package/dist/components/switch/switch.d.ts.map +1 -0
  247. package/dist/components/table/table.d.ts +30 -0
  248. package/dist/components/table/table.d.ts.map +1 -0
  249. package/dist/components/tabs/tab-pane.d.ts +11 -0
  250. package/dist/components/tabs/tab-pane.d.ts.map +1 -0
  251. package/dist/components/tabs/tabs.d.ts +15 -0
  252. package/dist/components/tabs/tabs.d.ts.map +1 -0
  253. package/dist/components/tag/tag.d.ts +14 -0
  254. package/dist/components/tag/tag.d.ts.map +1 -0
  255. package/dist/components/tooltip/tooltip.d.ts +18 -0
  256. package/dist/components/tooltip/tooltip.d.ts.map +1 -0
  257. package/dist/core/aithe-element.d.ts +2 -0
  258. package/dist/core/aithe-element.d.ts.map +1 -0
  259. package/dist/core/anchored-overlay.d.ts +17 -0
  260. package/dist/core/anchored-overlay.d.ts.map +1 -0
  261. package/dist/core/floating.d.ts +12 -0
  262. package/dist/core/floating.d.ts.map +1 -0
  263. package/dist/core/styles.d.ts +8 -0
  264. package/dist/core/styles.d.ts.map +1 -0
  265. package/dist/core/types.d.ts +33 -0
  266. package/dist/core/types.d.ts.map +1 -0
  267. package/dist/core/utils.d.ts +6 -0
  268. package/dist/core/utils.d.ts.map +1 -0
  269. package/dist/demo/app.d.ts +19 -0
  270. package/dist/demo/app.d.ts.map +1 -0
  271. package/dist/demo/editor.d.ts +28 -0
  272. package/dist/demo/editor.d.ts.map +1 -0
  273. package/dist/demo/helpers.d.ts +2 -0
  274. package/dist/demo/helpers.d.ts.map +1 -0
  275. package/dist/demo/pages/basic.d.ts +3 -0
  276. package/dist/demo/pages/basic.d.ts.map +1 -0
  277. package/dist/demo/pages/container.d.ts +3 -0
  278. package/dist/demo/pages/container.d.ts.map +1 -0
  279. package/dist/demo/pages/data.d.ts +3 -0
  280. package/dist/demo/pages/data.d.ts.map +1 -0
  281. package/dist/demo/pages/display.d.ts +3 -0
  282. package/dist/demo/pages/display.d.ts.map +1 -0
  283. package/dist/demo/pages/feedback.d.ts +3 -0
  284. package/dist/demo/pages/feedback.d.ts.map +1 -0
  285. package/dist/demo/pages/form.d.ts +3 -0
  286. package/dist/demo/pages/form.d.ts.map +1 -0
  287. package/dist/demo/pages/layout.d.ts +3 -0
  288. package/dist/demo/pages/layout.d.ts.map +1 -0
  289. package/dist/demo/pages/navigation.d.ts +3 -0
  290. package/dist/demo/pages/navigation.d.ts.map +1 -0
  291. package/dist/demo/pages/progress.d.ts +3 -0
  292. package/dist/demo/pages/progress.d.ts.map +1 -0
  293. package/dist/demo/standalone.d.ts +2 -0
  294. package/dist/demo/standalone.d.ts.map +1 -0
  295. package/dist/demo-page.d.ts +2 -0
  296. package/dist/demo-page.d.ts.map +1 -0
  297. package/dist/demo.d.ts +2 -0
  298. package/dist/demo.d.ts.map +1 -0
  299. package/dist/global.d.ts +5 -0
  300. package/dist/global.d.ts.map +1 -0
  301. package/dist/index-jd7NIlfT.js +9798 -0
  302. package/dist/index-jd7NIlfT.js.map +1 -0
  303. package/dist/index.d.ts +80 -0
  304. package/dist/index.d.ts.map +1 -0
  305. package/dist/index.js +9728 -0
  306. package/dist/index.js.map +1 -0
  307. package/dist/index.umd.js +7189 -0
  308. package/dist/index.umd.js.map +1 -0
  309. package/dist/index2.js +9892 -0
  310. package/dist/index2.js.map +1 -0
  311. package/dist/src/base/aithe-element.d.ts +59 -0
  312. package/dist/src/base/aithe-element.d.ts.map +1 -0
  313. package/dist/src/components/basic/avatar.d.ts +31 -0
  314. package/dist/src/components/basic/avatar.d.ts.map +1 -0
  315. package/dist/src/components/basic/badge.d.ts +33 -0
  316. package/dist/src/components/basic/badge.d.ts.map +1 -0
  317. package/dist/src/components/basic/button-group.d.ts +23 -0
  318. package/dist/src/components/basic/button-group.d.ts.map +1 -0
  319. package/dist/src/components/basic/button.d.ts +44 -0
  320. package/dist/src/components/basic/button.d.ts.map +1 -0
  321. package/dist/src/components/basic/card.d.ts +38 -0
  322. package/dist/src/components/basic/card.d.ts.map +1 -0
  323. package/dist/src/components/basic/chip.d.ts +26 -0
  324. package/dist/src/components/basic/chip.d.ts.map +1 -0
  325. package/dist/src/components/basic/divider.d.ts +23 -0
  326. package/dist/src/components/basic/divider.d.ts.map +1 -0
  327. package/dist/src/components/basic/empty.d.ts +21 -0
  328. package/dist/src/components/basic/empty.d.ts.map +1 -0
  329. package/dist/src/components/basic/icon.d.ts +60 -0
  330. package/dist/src/components/basic/icon.d.ts.map +1 -0
  331. package/dist/src/components/basic/input.d.ts +57 -0
  332. package/dist/src/components/basic/input.d.ts.map +1 -0
  333. package/dist/src/components/basic/tag.d.ts +34 -0
  334. package/dist/src/components/basic/tag.d.ts.map +1 -0
  335. package/dist/src/components/basic/textarea.d.ts +34 -0
  336. package/dist/src/components/basic/textarea.d.ts.map +1 -0
  337. package/dist/src/components/container/callout.d.ts +23 -0
  338. package/dist/src/components/container/callout.d.ts.map +1 -0
  339. package/dist/src/components/container/details.d.ts +29 -0
  340. package/dist/src/components/container/details.d.ts.map +1 -0
  341. package/dist/src/components/container/scroller.d.ts +32 -0
  342. package/dist/src/components/container/scroller.d.ts.map +1 -0
  343. package/dist/src/components/container/split-panel.d.ts +38 -0
  344. package/dist/src/components/container/split-panel.d.ts.map +1 -0
  345. package/dist/src/components/data/pagination.d.ts +27 -0
  346. package/dist/src/components/data/pagination.d.ts.map +1 -0
  347. package/dist/src/components/data/tab-pane.d.ts +33 -0
  348. package/dist/src/components/data/tab-pane.d.ts.map +1 -0
  349. package/dist/src/components/data/table-column.d.ts +46 -0
  350. package/dist/src/components/data/table-column.d.ts.map +1 -0
  351. package/dist/src/components/data/table.d.ts +88 -0
  352. package/dist/src/components/data/table.d.ts.map +1 -0
  353. package/dist/src/components/data/tabs.d.ts +38 -0
  354. package/dist/src/components/data/tabs.d.ts.map +1 -0
  355. package/dist/src/components/data/timeline-item.d.ts +24 -0
  356. package/dist/src/components/data/timeline-item.d.ts.map +1 -0
  357. package/dist/src/components/data/timeline.d.ts +49 -0
  358. package/dist/src/components/data/timeline.d.ts.map +1 -0
  359. package/dist/src/components/data/tree-menu.d.ts +43 -0
  360. package/dist/src/components/data/tree-menu.d.ts.map +1 -0
  361. package/dist/src/components/data/tree.d.ts +45 -0
  362. package/dist/src/components/data/tree.d.ts.map +1 -0
  363. package/dist/src/components/display/animated-image.d.ts +25 -0
  364. package/dist/src/components/display/animated-image.d.ts.map +1 -0
  365. package/dist/src/components/display/carousel.d.ts +41 -0
  366. package/dist/src/components/display/carousel.d.ts.map +1 -0
  367. package/dist/src/components/display/comparison.d.ts +24 -0
  368. package/dist/src/components/display/comparison.d.ts.map +1 -0
  369. package/dist/src/components/display/markdown.d.ts +19 -0
  370. package/dist/src/components/display/markdown.d.ts.map +1 -0
  371. package/dist/src/components/feedback/alert.d.ts +32 -0
  372. package/dist/src/components/feedback/alert.d.ts.map +1 -0
  373. package/dist/src/components/feedback/dialog.d.ts +42 -0
  374. package/dist/src/components/feedback/dialog.d.ts.map +1 -0
  375. package/dist/src/components/feedback/drawer.d.ts +59 -0
  376. package/dist/src/components/feedback/drawer.d.ts.map +1 -0
  377. package/dist/src/components/feedback/dropdown.d.ts +70 -0
  378. package/dist/src/components/feedback/dropdown.d.ts.map +1 -0
  379. package/dist/src/components/feedback/loading.d.ts +27 -0
  380. package/dist/src/components/feedback/loading.d.ts.map +1 -0
  381. package/dist/src/components/feedback/modal.d.ts +58 -0
  382. package/dist/src/components/feedback/modal.d.ts.map +1 -0
  383. package/dist/src/components/feedback/notification.d.ts +35 -0
  384. package/dist/src/components/feedback/notification.d.ts.map +1 -0
  385. package/dist/src/components/feedback/popover.d.ts +35 -0
  386. package/dist/src/components/feedback/popover.d.ts.map +1 -0
  387. package/dist/src/components/feedback/toast.d.ts +35 -0
  388. package/dist/src/components/feedback/toast.d.ts.map +1 -0
  389. package/dist/src/components/feedback/tooltip.d.ts +41 -0
  390. package/dist/src/components/feedback/tooltip.d.ts.map +1 -0
  391. package/dist/src/components/form/checkbox-group.d.ts +38 -0
  392. package/dist/src/components/form/checkbox-group.d.ts.map +1 -0
  393. package/dist/src/components/form/checkbox.d.ts +35 -0
  394. package/dist/src/components/form/checkbox.d.ts.map +1 -0
  395. package/dist/src/components/form/color-picker.d.ts +32 -0
  396. package/dist/src/components/form/color-picker.d.ts.map +1 -0
  397. package/dist/src/components/form/combobox.d.ts +45 -0
  398. package/dist/src/components/form/combobox.d.ts.map +1 -0
  399. package/dist/src/components/form/date-picker.d.ts +30 -0
  400. package/dist/src/components/form/date-picker.d.ts.map +1 -0
  401. package/dist/src/components/form/form-item.d.ts +34 -0
  402. package/dist/src/components/form/form-item.d.ts.map +1 -0
  403. package/dist/src/components/form/form.d.ts +32 -0
  404. package/dist/src/components/form/form.d.ts.map +1 -0
  405. package/dist/src/components/form/radio-group.d.ts +34 -0
  406. package/dist/src/components/form/radio-group.d.ts.map +1 -0
  407. package/dist/src/components/form/radio.d.ts +30 -0
  408. package/dist/src/components/form/radio.d.ts.map +1 -0
  409. package/dist/src/components/form/rate.d.ts +27 -0
  410. package/dist/src/components/form/rate.d.ts.map +1 -0
  411. package/dist/src/components/form/select.d.ts +74 -0
  412. package/dist/src/components/form/select.d.ts.map +1 -0
  413. package/dist/src/components/form/slider.d.ts +33 -0
  414. package/dist/src/components/form/slider.d.ts.map +1 -0
  415. package/dist/src/components/form/switch.d.ts +28 -0
  416. package/dist/src/components/form/switch.d.ts.map +1 -0
  417. package/dist/src/components/form/time-picker.d.ts +26 -0
  418. package/dist/src/components/form/time-picker.d.ts.map +1 -0
  419. package/dist/src/components/form/transfer.d.ts +42 -0
  420. package/dist/src/components/form/transfer.d.ts.map +1 -0
  421. package/dist/src/components/form/upload.d.ts +34 -0
  422. package/dist/src/components/form/upload.d.ts.map +1 -0
  423. package/dist/src/components/layout/affix.d.ts +35 -0
  424. package/dist/src/components/layout/affix.d.ts.map +1 -0
  425. package/dist/src/components/layout/col.d.ts +32 -0
  426. package/dist/src/components/layout/col.d.ts.map +1 -0
  427. package/dist/src/components/layout/collapse-item.d.ts +31 -0
  428. package/dist/src/components/layout/collapse-item.d.ts.map +1 -0
  429. package/dist/src/components/layout/collapse.d.ts +31 -0
  430. package/dist/src/components/layout/collapse.d.ts.map +1 -0
  431. package/dist/src/components/layout/container.d.ts +30 -0
  432. package/dist/src/components/layout/container.d.ts.map +1 -0
  433. package/dist/src/components/layout/flex.d.ts +31 -0
  434. package/dist/src/components/layout/flex.d.ts.map +1 -0
  435. package/dist/src/components/layout/page-container.d.ts +22 -0
  436. package/dist/src/components/layout/page-container.d.ts.map +1 -0
  437. package/dist/src/components/layout/page.d.ts +26 -0
  438. package/dist/src/components/layout/page.d.ts.map +1 -0
  439. package/dist/src/components/layout/row.d.ts +27 -0
  440. package/dist/src/components/layout/row.d.ts.map +1 -0
  441. package/dist/src/components/layout/space.d.ts +27 -0
  442. package/dist/src/components/layout/space.d.ts.map +1 -0
  443. package/dist/src/components/layout/timeline-item.d.ts +24 -0
  444. package/dist/src/components/layout/timeline-item.d.ts.map +1 -0
  445. package/dist/src/components/layout/timeline.d.ts +49 -0
  446. package/dist/src/components/layout/timeline.d.ts.map +1 -0
  447. package/dist/src/components/navigation/back-top.d.ts +30 -0
  448. package/dist/src/components/navigation/back-top.d.ts.map +1 -0
  449. package/dist/src/components/navigation/breadcrumb-item.d.ts +26 -0
  450. package/dist/src/components/navigation/breadcrumb-item.d.ts.map +1 -0
  451. package/dist/src/components/navigation/breadcrumb.d.ts +24 -0
  452. package/dist/src/components/navigation/breadcrumb.d.ts.map +1 -0
  453. package/dist/src/components/navigation/dropdown.d.ts +70 -0
  454. package/dist/src/components/navigation/dropdown.d.ts.map +1 -0
  455. package/dist/src/components/navigation/menu-item.d.ts +33 -0
  456. package/dist/src/components/navigation/menu-item.d.ts.map +1 -0
  457. package/dist/src/components/navigation/menu.d.ts +35 -0
  458. package/dist/src/components/navigation/menu.d.ts.map +1 -0
  459. package/dist/src/components/navigation/steps.d.ts +31 -0
  460. package/dist/src/components/navigation/steps.d.ts.map +1 -0
  461. package/dist/src/components/navigation/sub-menu.d.ts +37 -0
  462. package/dist/src/components/navigation/sub-menu.d.ts.map +1 -0
  463. package/dist/src/components/navigation/theme-picker.d.ts +27 -0
  464. package/dist/src/components/navigation/theme-picker.d.ts.map +1 -0
  465. package/dist/src/components/progress/progress-bar.d.ts +21 -0
  466. package/dist/src/components/progress/progress-bar.d.ts.map +1 -0
  467. package/dist/src/components/progress/progress-ring.d.ts +23 -0
  468. package/dist/src/components/progress/progress-ring.d.ts.map +1 -0
  469. package/dist/src/components/progress/skeleton.d.ts +28 -0
  470. package/dist/src/components/progress/skeleton.d.ts.map +1 -0
  471. package/dist/src/components/progress/spinner.d.ts +21 -0
  472. package/dist/src/components/progress/spinner.d.ts.map +1 -0
  473. package/dist/src/components/theme/locale-switch.d.ts +24 -0
  474. package/dist/src/components/theme/locale-switch.d.ts.map +1 -0
  475. package/dist/src/components/theme/theme-picker.d.ts +43 -0
  476. package/dist/src/components/theme/theme-picker.d.ts.map +1 -0
  477. package/dist/src/components/theme/theme-preview.d.ts +29 -0
  478. package/dist/src/components/theme/theme-preview.d.ts.map +1 -0
  479. package/dist/src/core/aithe-element.d.ts +2 -0
  480. package/dist/src/core/aithe-element.d.ts.map +1 -0
  481. package/dist/src/core/anchored-overlay.d.ts +43 -0
  482. package/dist/src/core/anchored-overlay.d.ts.map +1 -0
  483. package/dist/src/core/floating.d.ts +43 -0
  484. package/dist/src/core/floating.d.ts.map +1 -0
  485. package/dist/src/core/i18n/index.d.ts +125 -0
  486. package/dist/src/core/i18n/index.d.ts.map +1 -0
  487. package/dist/src/core/i18n/locales/en-US.d.ts +7 -0
  488. package/dist/src/core/i18n/locales/en-US.d.ts.map +1 -0
  489. package/dist/src/core/i18n/locales/en.d.ts +3 -0
  490. package/dist/src/core/i18n/locales/en.d.ts.map +1 -0
  491. package/dist/src/core/i18n/locales/index.d.ts +7 -0
  492. package/dist/src/core/i18n/locales/index.d.ts.map +1 -0
  493. package/dist/src/core/i18n/locales/zh-CN.d.ts +7 -0
  494. package/dist/src/core/i18n/locales/zh-CN.d.ts.map +1 -0
  495. package/dist/src/core/i18n/locales/zh.d.ts +3 -0
  496. package/dist/src/core/i18n/locales/zh.d.ts.map +1 -0
  497. package/dist/src/core/styles.d.ts +17 -0
  498. package/dist/src/core/styles.d.ts.map +1 -0
  499. package/dist/src/core/types.d.ts +127 -0
  500. package/dist/src/core/types.d.ts.map +1 -0
  501. package/dist/src/core/utils.d.ts +44 -0
  502. package/dist/src/core/utils.d.ts.map +1 -0
  503. package/dist/src/global.d.ts +25 -0
  504. package/dist/src/global.d.ts.map +1 -0
  505. package/dist/src/index.d.ts +86 -0
  506. package/dist/src/index.d.ts.map +1 -0
  507. package/dist/src/styles/global.css.d.ts +5 -0
  508. package/dist/src/styles/global.css.d.ts.map +1 -0
  509. package/dist/src/styles/mixins.d.ts +9 -0
  510. package/dist/src/styles/mixins.d.ts.map +1 -0
  511. package/dist/src/styles/theme/amber.d.ts +3 -0
  512. package/dist/src/styles/theme/amber.d.ts.map +1 -0
  513. package/dist/src/styles/theme/blue.d.ts +3 -0
  514. package/dist/src/styles/theme/blue.d.ts.map +1 -0
  515. package/dist/src/styles/theme/charcoal.d.ts +3 -0
  516. package/dist/src/styles/theme/charcoal.d.ts.map +1 -0
  517. package/dist/src/styles/theme/cyan.d.ts +3 -0
  518. package/dist/src/styles/theme/cyan.d.ts.map +1 -0
  519. package/dist/src/styles/theme/dark.d.ts +3 -0
  520. package/dist/src/styles/theme/dark.d.ts.map +1 -0
  521. package/dist/src/styles/theme/ebony.d.ts +3 -0
  522. package/dist/src/styles/theme/ebony.d.ts.map +1 -0
  523. package/dist/src/styles/theme/festive.d.ts +3 -0
  524. package/dist/src/styles/theme/festive.d.ts.map +1 -0
  525. package/dist/src/styles/theme/graphite.d.ts +3 -0
  526. package/dist/src/styles/theme/graphite.d.ts.map +1 -0
  527. package/dist/src/styles/theme/gray.d.ts +3 -0
  528. package/dist/src/styles/theme/gray.d.ts.map +1 -0
  529. package/dist/src/styles/theme/indigo.d.ts +3 -0
  530. package/dist/src/styles/theme/indigo.d.ts.map +1 -0
  531. package/dist/src/styles/theme/ink.d.ts +3 -0
  532. package/dist/src/styles/theme/ink.d.ts.map +1 -0
  533. package/dist/src/styles/theme/light.d.ts +3 -0
  534. package/dist/src/styles/theme/light.d.ts.map +1 -0
  535. package/dist/src/styles/theme/midnight.d.ts +3 -0
  536. package/dist/src/styles/theme/midnight.d.ts.map +1 -0
  537. package/dist/src/styles/theme/navy.d.ts +3 -0
  538. package/dist/src/styles/theme/navy.d.ts.map +1 -0
  539. package/dist/src/styles/theme/obsidian.d.ts +3 -0
  540. package/dist/src/styles/theme/obsidian.d.ts.map +1 -0
  541. package/dist/src/styles/theme/onyx.d.ts +3 -0
  542. package/dist/src/styles/theme/onyx.d.ts.map +1 -0
  543. package/dist/src/styles/theme/orange.d.ts +3 -0
  544. package/dist/src/styles/theme/orange.d.ts.map +1 -0
  545. package/dist/src/styles/theme/pink.d.ts +3 -0
  546. package/dist/src/styles/theme/pink.d.ts.map +1 -0
  547. package/dist/src/styles/theme/purple.d.ts +3 -0
  548. package/dist/src/styles/theme/purple.d.ts.map +1 -0
  549. package/dist/src/styles/theme/raisin.d.ts +3 -0
  550. package/dist/src/styles/theme/raisin.d.ts.map +1 -0
  551. package/dist/src/styles/theme/slate.d.ts +3 -0
  552. package/dist/src/styles/theme/slate.d.ts.map +1 -0
  553. package/dist/src/styles/theme/teal.d.ts +3 -0
  554. package/dist/src/styles/theme/teal.d.ts.map +1 -0
  555. package/dist/src/styles/theme.d.ts +11 -0
  556. package/dist/src/styles/theme.d.ts.map +1 -0
  557. package/dist/src/types/component.d.ts +11 -0
  558. package/dist/src/types/component.d.ts.map +1 -0
  559. package/dist/src/types/index.d.ts +4 -0
  560. package/dist/src/types/index.d.ts.map +1 -0
  561. package/dist/src/types/theme.d.ts +17 -0
  562. package/dist/src/types/theme.d.ts.map +1 -0
  563. package/dist/src/utils/dom.d.ts +26 -0
  564. package/dist/src/utils/dom.d.ts.map +1 -0
  565. package/dist/src/utils/events.d.ts +11 -0
  566. package/dist/src/utils/events.d.ts.map +1 -0
  567. package/dist/src/utils/index.d.ts +6 -0
  568. package/dist/src/utils/index.d.ts.map +1 -0
  569. package/dist/src/utils/theme.d.ts +46 -0
  570. package/dist/src/utils/theme.d.ts.map +1 -0
  571. package/dist/src/utils/validation.d.ts +30 -0
  572. package/dist/src/utils/validation.d.ts.map +1 -0
  573. package/dist/styles/global.css.d.ts +3 -0
  574. package/dist/styles/global.css.d.ts.map +1 -0
  575. package/dist/styles/mixins.d.ts +5 -0
  576. package/dist/styles/mixins.d.ts.map +1 -0
  577. package/dist/styles/theme/blue.d.ts +2 -0
  578. package/dist/styles/theme/blue.d.ts.map +1 -0
  579. package/dist/styles/theme/dark.d.ts +2 -0
  580. package/dist/styles/theme/dark.d.ts.map +1 -0
  581. package/dist/styles/theme/gray.d.ts +2 -0
  582. package/dist/styles/theme/gray.d.ts.map +1 -0
  583. package/dist/styles/theme/light.d.ts +2 -0
  584. package/dist/styles/theme/light.d.ts.map +1 -0
  585. package/dist/styles/theme.d.ts +3 -0
  586. package/dist/styles/theme.d.ts.map +1 -0
  587. package/dist/types/component.d.ts +11 -0
  588. package/dist/types/component.d.ts.map +1 -0
  589. package/dist/types/index.d.ts +4 -0
  590. package/dist/types/index.d.ts.map +1 -0
  591. package/dist/types/theme.d.ts +17 -0
  592. package/dist/types/theme.d.ts.map +1 -0
  593. package/dist/utils/dom.d.ts +4 -0
  594. package/dist/utils/dom.d.ts.map +1 -0
  595. package/dist/utils/events.d.ts +2 -0
  596. package/dist/utils/events.d.ts.map +1 -0
  597. package/dist/utils/index.d.ts +6 -0
  598. package/dist/utils/index.d.ts.map +1 -0
  599. package/dist/utils/theme.d.ts +9 -0
  600. package/dist/utils/theme.d.ts.map +1 -0
  601. package/dist/utils/validation.d.ts +4 -0
  602. package/dist/utils/validation.d.ts.map +1 -0
  603. package/docs/api/basic/avatar.md +33 -0
  604. package/docs/api/basic/badge.md +34 -0
  605. package/docs/api/basic/button-group.md +32 -0
  606. package/docs/api/basic/button.md +38 -0
  607. package/docs/api/basic/card.md +43 -0
  608. package/docs/api/basic/chip.md +30 -0
  609. package/docs/api/basic/divider.md +31 -0
  610. package/docs/api/basic/empty.md +29 -0
  611. package/docs/api/basic/icon.md +245 -0
  612. package/docs/api/basic/input.md +43 -0
  613. package/docs/api/basic/tag.md +34 -0
  614. package/docs/api/basic/textarea.md +34 -0
  615. package/docs/api/container/callout.md +30 -0
  616. package/docs/api/container/details.md +31 -0
  617. package/docs/api/container/scroller.md +33 -0
  618. package/docs/api/container/split-panel.md +35 -0
  619. package/docs/api/data/pagination.md +31 -0
  620. package/docs/api/data/tab-pane.md +36 -0
  621. package/docs/api/data/table-column.md +58 -0
  622. package/docs/api/data/table.md +89 -0
  623. package/docs/api/data/tabs.md +35 -0
  624. package/docs/api/data/timeline-item.md +32 -0
  625. package/docs/api/data/timeline.md +67 -0
  626. package/docs/api/data/tree-menu.md +58 -0
  627. package/docs/api/data/tree.md +51 -0
  628. package/docs/api/display/animated-image.md +31 -0
  629. package/docs/api/display/carousel.md +35 -0
  630. package/docs/api/display/comparison.md +31 -0
  631. package/docs/api/display/markdown.md +29 -0
  632. package/docs/api/feedback/alert.md +35 -0
  633. package/docs/api/feedback/dialog.md +37 -0
  634. package/docs/api/feedback/drawer.md +39 -0
  635. package/docs/api/feedback/loading.md +34 -0
  636. package/docs/api/feedback/modal.md +40 -0
  637. package/docs/api/feedback/notification.md +33 -0
  638. package/docs/api/feedback/popover.md +32 -0
  639. package/docs/api/feedback/toast.md +33 -0
  640. package/docs/api/feedback/tooltip.md +34 -0
  641. package/docs/api/form/checkbox-group.md +34 -0
  642. package/docs/api/form/checkbox.md +34 -0
  643. package/docs/api/form/color-picker.md +33 -0
  644. package/docs/api/form/combobox.md +49 -0
  645. package/docs/api/form/date-picker.md +33 -0
  646. package/docs/api/form/form-item.md +35 -0
  647. package/docs/api/form/form.md +34 -0
  648. package/docs/api/form/radio-group.md +33 -0
  649. package/docs/api/form/radio.md +33 -0
  650. package/docs/api/form/rate.md +31 -0
  651. package/docs/api/form/select.md +56 -0
  652. package/docs/api/form/slider.md +34 -0
  653. package/docs/api/form/switch.md +31 -0
  654. package/docs/api/form/time-picker.md +31 -0
  655. package/docs/api/form/transfer.md +36 -0
  656. package/docs/api/form/upload.md +36 -0
  657. package/docs/api/layout/affix.md +31 -0
  658. package/docs/api/layout/col.md +35 -0
  659. package/docs/api/layout/collapse-item.md +34 -0
  660. package/docs/api/layout/collapse.md +32 -0
  661. package/docs/api/layout/container.md +35 -0
  662. package/docs/api/layout/flex.md +36 -0
  663. package/docs/api/layout/page-container.md +31 -0
  664. package/docs/api/layout/page.md +35 -0
  665. package/docs/api/layout/row.md +34 -0
  666. package/docs/api/layout/space.md +34 -0
  667. package/docs/api/navigation/back-top.md +29 -0
  668. package/docs/api/navigation/breadcrumb-item.md +32 -0
  669. package/docs/api/navigation/breadcrumb.md +32 -0
  670. package/docs/api/navigation/dropdown.md +50 -0
  671. package/docs/api/navigation/menu-item.md +34 -0
  672. package/docs/api/navigation/menu.md +36 -0
  673. package/docs/api/navigation/steps.md +32 -0
  674. package/docs/api/navigation/sub-menu.md +38 -0
  675. package/docs/api/progress/progress-bar.md +30 -0
  676. package/docs/api/progress/progress-ring.md +31 -0
  677. package/docs/api/progress/skeleton.md +34 -0
  678. package/docs/api/progress/spinner.md +30 -0
  679. package/docs/api/summary.md +162 -0
  680. package/docs/api/theme/locale-switch.md +98 -0
  681. package/docs/api/theme/theme-picker.md +37 -0
  682. package/docs/api/theme/theme-preview.md +29 -0
  683. package/docs/changelog/CHANGELOG.md +71 -0
  684. package/docs/changelog/VERSION_26.2.2.md +608 -0
  685. package/docs/framework-integration.md +422 -0
  686. package/docs/guide.md +326 -0
  687. package/docs/i18n.md +269 -0
  688. package/docs/issue/issue_26.2.2.1.md +58 -0
  689. package/docs/issue/issue_26.2.2.2.md +53 -0
  690. package/docs/issue/issue_26.2.2.3.md +86 -0
  691. package/docs/issue/issue_26.2.2.4.md +95 -0
  692. package/docs/quickstart.md +115 -0
  693. package/docs/theming.md +257 -0
  694. package/package.json +80 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,46 @@
1
+ import type { AitheThemeName } from '../types';
2
+ /** Default theme name used when no theme is explicitly set. 未显式设置主题时使用的默认主题名称。 */
3
+ export declare const AITHE_DEFAULT_THEME: AitheThemeName;
4
+ /** localStorage key for persisting the user's theme preference. 用于持久化用户主题偏好的 localStorage 键。 */
5
+ export declare const AITHE_THEME_STORAGE_KEY = "aithe-ui-theme";
6
+ /**
7
+ * Convert a theme name to its corresponding CSS class name.
8
+ * 将主题名称转换为对应的 CSS 类名。
9
+ *
10
+ * @param theme - Theme name. 主题名称。
11
+ * @returns CSS class string like `"aithe-theme-light"`. 类似 `"aithe-theme-light"` 的 CSS 类字符串。
12
+ */
13
+ export declare function getThemeClassName(theme: AitheThemeName): string;
14
+ /**
15
+ * Read the current global theme from the document root.
16
+ * 从文档根元素读取当前全局主题。
17
+ *
18
+ * @returns The resolved theme name. 解析后的主题名称。
19
+ */
20
+ export declare function getGlobalTheme(): AitheThemeName;
21
+ /**
22
+ * Apply a theme globally on the document root and optionally persist it.
23
+ * 在文档根元素上全局应用主题,并可选地持久化。
24
+ *
25
+ * @param theme - Theme name to apply. 要应用的主题名称。
26
+ * @param persist - Whether to save to localStorage. Defaults to `true`. 是否保存到 localStorage,默认为 `true`。
27
+ */
28
+ export declare function setGlobalTheme(theme: AitheThemeName, persist?: boolean): void;
29
+ /**
30
+ * Load a previously stored theme from localStorage.
31
+ * 从 localStorage 加载之前存储的主题。
32
+ *
33
+ * @returns The stored theme name, or `null` if none exists. 存储的主题名称,或 `null`。
34
+ */
35
+ export declare function loadStoredTheme(): AitheThemeName | null;
36
+ /**
37
+ * Resolve the effective theme for a component by checking its local override,
38
+ * its closest themed ancestor, and finally the global theme.
39
+ * 通过检查组件的本地覆盖、最近的带主题祖先元素,最终全局主题,来解析组件的有效主题。
40
+ *
41
+ * @param element - The component element. 组件元素。
42
+ * @param componentTheme - Optional local theme override. 可选的本地主题覆盖。
43
+ * @returns The resolved theme name. 解析后的主题名称。
44
+ */
45
+ export declare function resolveComputedTheme(element: HTMLElement, componentTheme?: AitheThemeName): AitheThemeName;
46
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/utils/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,kFAAkF;AAClF,eAAO,MAAM,mBAAmB,EAAE,cAAwB,CAAC;AAC3D,gGAAgG;AAChG,eAAO,MAAM,uBAAuB,mBAAmB,CAAC;AAExD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAE/D;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI,cAAc,CAe/C;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,UAAO,GAAG,IAAI,CAgB1E;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,IAAI,cAAc,GAAG,IAAI,CAMvD;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,WAAW,EACpB,cAAc,CAAC,EAAE,cAAc,GAC9B,cAAc,CAiBhB"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Check whether a value is `null` or `undefined`.
3
+ * 检查值是否为 `null` 或 `undefined`。
4
+ *
5
+ * @param value - Value to check. 要检查的值。
6
+ * @returns `true` when the value is nullish. 当值为空时返回 `true`。
7
+ */
8
+ export declare function isNil(value: unknown): value is null | undefined;
9
+ /**
10
+ * Convert an HTML attribute value to a boolean, treating empty string and
11
+ * `"true"` as truthy (matches HTML boolean attribute semantics).
12
+ * 将 HTML 属性值转换为布尔值,将空字符串和 `"true"` 视为真值(符合 HTML 布尔属性语义)。
13
+ *
14
+ * @param value - Attribute value to convert. 要转换的属性值。
15
+ * @returns Boolean interpretation. 布尔解释。
16
+ */
17
+ export declare function toBooleanAttribute(value: unknown): boolean;
18
+ /**
19
+ * Normalize a CSS dimension value: bare numbers get `px` appended,
20
+ * size aliases (`xs`/`sm`/`md`/`lg`/`xl`) resolve to design tokens,
21
+ * and already-valid CSS values pass through unchanged.
22
+ * 规范化 CSS 尺寸值:纯数字追加 `px`,尺寸别名(`xs`/`sm`/`md`/`lg`/`xl`)解析为设计令牌,
23
+ * 已有效的 CSS 值直接通过。
24
+ *
25
+ * @param value - Raw value to normalize. 要规范化的原始值。
26
+ * @param fallback - Default value when input is empty. Defaults to `""`. 输入为空时的默认值,默认为 `""`。
27
+ * @returns A valid CSS dimension string. 有效的 CSS 尺寸字符串。
28
+ */
29
+ export declare function normalizeCssUnit(value: string | number | null | undefined, fallback?: string): string;
30
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/utils/validation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,GAAG,SAAS,CAE/D;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE1D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,QAAQ,SAAK,GAAG,MAAM,CAuBjG"}
@@ -0,0 +1,3 @@
1
+ export declare const aitheGlobalCssText = "\n:root {\n --aithe-space-0: 0;\n --aithe-space-1: 4px;\n --aithe-space-2: 8px;\n --aithe-space-3: 12px;\n --aithe-space-4: 16px;\n --aithe-space-5: 20px;\n --aithe-space-6: 24px;\n --aithe-space-7: 32px;\n --aithe-space-8: 40px;\n --aithe-space-9: 48px;\n --aithe-space-10: 64px;\n --aithe-space-xs: var(--aithe-space-2);\n --aithe-space-sm: var(--aithe-space-3);\n --aithe-space-md: var(--aithe-space-4);\n --aithe-space-lg: var(--aithe-space-6);\n --aithe-space-xl: var(--aithe-space-8);\n --aithe-radius-sm: 6px;\n --aithe-radius-md: 10px;\n --aithe-radius-lg: 14px;\n --aithe-radius-xl: 20px;\n --aithe-radius-full: 999px;\n --aithe-shadow-1: 0 6px 18px rgba(18, 24, 38, 0.06);\n --aithe-shadow-2: 0 12px 28px rgba(18, 24, 38, 0.08);\n --aithe-shadow-3: 0 18px 40px rgba(18, 24, 38, 0.1);\n --aithe-shadow-4: 0 22px 56px rgba(18, 24, 38, 0.14);\n --aithe-shadow-5: 0 28px 72px rgba(18, 24, 38, 0.18);\n --aithe-font-family: 'Sora', 'IBM Plex Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;\n --aithe-font-family-mono: 'JetBrains Mono', 'SFMono-Regular', 'Consolas', monospace;\n --aithe-font-size-xs: 12px;\n --aithe-font-size-sm: 13px;\n --aithe-font-size-md: 14px;\n --aithe-font-size-lg: 16px;\n --aithe-font-size-xl: 20px;\n --aithe-font-size-2xl: 28px;\n --aithe-font-weight-regular: 400;\n --aithe-font-weight-medium: 500;\n --aithe-font-weight-semibold: 600;\n --aithe-font-weight-bold: 700;\n --aithe-line-height-tight: 1.2;\n --aithe-line-height-base: 1.5;\n --aithe-line-height-loose: 1.7;\n --aithe-z-base: 1;\n --aithe-z-dropdown: 1000;\n --aithe-z-popover: 1010;\n --aithe-z-modal: 1080;\n --aithe-z-drawer: 1090;\n --aithe-z-tooltip: 1120;\n --aithe-duration-fast: 140ms;\n --aithe-duration-base: 220ms;\n --aithe-duration-slow: 320ms;\n --aithe-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);\n --aithe-control-height-sm: 32px;\n --aithe-control-height-md: 40px;\n --aithe-control-height-lg: 48px;\n}\n\nhtml,\nbody {\n margin: 0;\n width: 100%;\n min-height: 100%;\n background: var(--aithe-color-bg-subtle);\n color: var(--aithe-color-text);\n font-family: var(--aithe-font-family);\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n::selection {\n background: var(--aithe-color-selection);\n}\n";
2
+ export declare const aitheGlobalResetStyles: import("lit").CSSResult;
3
+ //# sourceMappingURL=global.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global.css.d.ts","sourceRoot":"","sources":["../../src/styles/global.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,+vEA6E9B,CAAC;AAEF,eAAO,MAAM,sBAAsB,yBAuBlC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const aithePrimitiveTokens: import("lit").CSSResult;
2
+ export declare const aitheSurfaceStyles: import("lit").CSSResult;
3
+ export declare const aitheControlStyles: import("lit").CSSResult;
4
+ export declare const aitheControlFocusStyles: import("lit").CSSResult;
5
+ //# sourceMappingURL=mixins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mixins.d.ts","sourceRoot":"","sources":["../../src/styles/mixins.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yBAyDhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBAM9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBAU9B,CAAC;AAEF,eAAO,MAAM,uBAAuB,yBAGnC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const blueThemeTokens = "\n.aithe-theme-blue,\n[data-aithe-theme='blue'] {\n color-scheme: dark;\n --aithe-primary-1: #eaf3ff;\n --aithe-primary-2: #d2e4ff;\n --aithe-primary-3: #aacbff;\n --aithe-primary-4: #79acff;\n --aithe-primary-5: #518fff;\n --aithe-primary-6: #2c73f6;\n --aithe-primary-7: #245dd0;\n --aithe-primary-8: #234ca6;\n --aithe-primary-9: #213f81;\n --aithe-primary-10: #1f3365;\n --aithe-success-1: #effcf7;\n --aithe-success-2: #d2f5e4;\n --aithe-success-3: #afead0;\n --aithe-success-4: #7fd5af;\n --aithe-success-5: #59bd92;\n --aithe-success-6: #3aa478;\n --aithe-success-7: #2d8964;\n --aithe-success-8: #266f53;\n --aithe-success-9: #215a45;\n --aithe-success-10: #1b4938;\n --aithe-warning-1: #fff8e9;\n --aithe-warning-2: #ffefc7;\n --aithe-warning-3: #ffdd90;\n --aithe-warning-4: #ffc45c;\n --aithe-warning-5: #f2aa3d;\n --aithe-warning-6: #d38b25;\n --aithe-warning-7: #af6e1b;\n --aithe-warning-8: #8e5718;\n --aithe-warning-9: #724618;\n --aithe-warning-10: #5b3815;\n --aithe-danger-1: #fff0f3;\n --aithe-danger-2: #ffdbe2;\n --aithe-danger-3: #ffbbc8;\n --aithe-danger-4: #ff8fa1;\n --aithe-danger-5: #f66a80;\n --aithe-danger-6: #de5069;\n --aithe-danger-7: #bd3f56;\n --aithe-danger-8: #99354a;\n --aithe-danger-9: #7c2f3f;\n --aithe-danger-10: #632837;\n --aithe-neutral-1: #f1f5fd;\n --aithe-neutral-2: #d8e1f0;\n --aithe-neutral-3: #bcc7da;\n --aithe-neutral-4: #9ca9c1;\n --aithe-neutral-5: #7d8ca7;\n --aithe-neutral-6: #66758f;\n --aithe-neutral-7: #505d74;\n --aithe-neutral-8: #3a4559;\n --aithe-neutral-9: #242d3d;\n --aithe-neutral-10: #141c29;\n --aithe-color-bg: #09111f;\n --aithe-color-bg-subtle: radial-gradient(circle at top right, rgba(44, 115, 246, 0.22) 0%, rgba(9, 17, 31, 1) 54%);\n --aithe-color-surface: rgba(10, 24, 45, 0.82);\n --aithe-color-surface-elevated: rgba(14, 31, 57, 0.96);\n --aithe-color-surface-muted: #13253f;\n --aithe-color-border: rgba(130, 176, 255, 0.16);\n --aithe-color-border-strong: rgba(154, 195, 255, 0.26);\n --aithe-color-text: #edf4ff;\n --aithe-color-text-muted: #b3c5e6;\n --aithe-color-text-subtle: #7f99be;\n --aithe-color-overlay: rgba(2, 7, 14, 0.68);\n --aithe-color-selection: rgba(81, 143, 255, 0.24);\n --aithe-color-focus-ring: rgba(81, 143, 255, 0.42);\n}\n";
2
+ //# sourceMappingURL=blue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blue.d.ts","sourceRoot":"","sources":["../../../src/styles/theme/blue.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,+vEAoE3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const darkThemeTokens = "\n.aithe-theme-dark,\n[data-aithe-theme='dark'] {\n color-scheme: dark;\n --aithe-primary-1: #edf4ff;\n --aithe-primary-2: #d7e5ff;\n --aithe-primary-3: #b8d2ff;\n --aithe-primary-4: #8ab3ff;\n --aithe-primary-5: #6092ff;\n --aithe-primary-6: #4a7dff;\n --aithe-primary-7: #3d68e0;\n --aithe-primary-8: #3555b6;\n --aithe-primary-9: #2f478f;\n --aithe-primary-10: #28396f;\n --aithe-success-1: #effcf7;\n --aithe-success-2: #cef6df;\n --aithe-success-3: #a7ecc4;\n --aithe-success-4: #7ad7a5;\n --aithe-success-5: #53bf88;\n --aithe-success-6: #35a66f;\n --aithe-success-7: #278a5c;\n --aithe-success-8: #1e6f4b;\n --aithe-success-9: #195a3d;\n --aithe-success-10: #154931;\n --aithe-warning-1: #fff8eb;\n --aithe-warning-2: #ffeec8;\n --aithe-warning-3: #ffdd92;\n --aithe-warning-4: #ffc85f;\n --aithe-warning-5: #f1b042;\n --aithe-warning-6: #d18f29;\n --aithe-warning-7: #ad701d;\n --aithe-warning-8: #8b5819;\n --aithe-warning-9: #6f4617;\n --aithe-warning-10: #593813;\n --aithe-danger-1: #fff1f4;\n --aithe-danger-2: #ffdce2;\n --aithe-danger-3: #ffbcc8;\n --aithe-danger-4: #ff92a4;\n --aithe-danger-5: #f86c83;\n --aithe-danger-6: #df526b;\n --aithe-danger-7: #be4159;\n --aithe-danger-8: #99354a;\n --aithe-danger-9: #7a2d3d;\n --aithe-danger-10: #612634;\n --aithe-neutral-1: #f5f7fb;\n --aithe-neutral-2: #dfe5ef;\n --aithe-neutral-3: #c7d0de;\n --aithe-neutral-4: #aab6c9;\n --aithe-neutral-5: #8997b0;\n --aithe-neutral-6: #6d7a92;\n --aithe-neutral-7: #536077;\n --aithe-neutral-8: #3b465a;\n --aithe-neutral-9: #242d3d;\n --aithe-neutral-10: #121925;\n --aithe-color-bg: #0d1119;\n --aithe-color-bg-subtle: radial-gradient(circle at top, rgba(55, 87, 151, 0.22) 0%, rgba(13, 17, 25, 1) 58%);\n --aithe-color-surface: rgba(17, 24, 39, 0.82);\n --aithe-color-surface-elevated: rgba(19, 27, 44, 0.96);\n --aithe-color-surface-muted: #151c2b;\n --aithe-color-border: rgba(172, 188, 217, 0.14);\n --aithe-color-border-strong: rgba(183, 198, 228, 0.22);\n --aithe-color-text: #edf3ff;\n --aithe-color-text-muted: #b0bdd4;\n --aithe-color-text-subtle: #8894ab;\n --aithe-color-overlay: rgba(1, 4, 11, 0.68);\n --aithe-color-selection: rgba(116, 170, 255, 0.24);\n --aithe-color-focus-ring: rgba(116, 170, 255, 0.42);\n --aithe-shadow-1: 0 8px 18px rgba(0, 0, 0, 0.18);\n --aithe-shadow-2: 0 14px 34px rgba(0, 0, 0, 0.24);\n --aithe-shadow-3: 0 20px 44px rgba(0, 0, 0, 0.3);\n --aithe-shadow-4: 0 24px 56px rgba(0, 0, 0, 0.36);\n --aithe-shadow-5: 0 30px 72px rgba(0, 0, 0, 0.42);\n}\n";
2
+ //# sourceMappingURL=dark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../../src/styles/theme/dark.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,ugFAyE3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const grayThemeTokens = "\n.aithe-theme-gray,\n[data-aithe-theme='gray'] {\n color-scheme: light;\n --aithe-primary-1: #f4f6fb;\n --aithe-primary-2: #e8edf6;\n --aithe-primary-3: #d4dce9;\n --aithe-primary-4: #b8c3d8;\n --aithe-primary-5: #96a4c0;\n --aithe-primary-6: #7485a4;\n --aithe-primary-7: #5e708d;\n --aithe-primary-8: #4d5d76;\n --aithe-primary-9: #404d61;\n --aithe-primary-10: #313a48;\n --aithe-success-1: #eff7f3;\n --aithe-success-2: #dcefe4;\n --aithe-success-3: #badfc9;\n --aithe-success-4: #97cfac;\n --aithe-success-5: #73bd90;\n --aithe-success-6: #5aa277;\n --aithe-success-7: #4a8461;\n --aithe-success-8: #3d6950;\n --aithe-success-9: #335543;\n --aithe-success-10: #294437;\n --aithe-warning-1: #f9f4ea;\n --aithe-warning-2: #f3e8cf;\n --aithe-warning-3: #e8d3a3;\n --aithe-warning-4: #dbbb79;\n --aithe-warning-5: #c7a05b;\n --aithe-warning-6: #ab8442;\n --aithe-warning-7: #8d6a33;\n --aithe-warning-8: #72532a;\n --aithe-warning-9: #5b4324;\n --aithe-warning-10: #49371f;\n --aithe-danger-1: #faf1f2;\n --aithe-danger-2: #f2dfe2;\n --aithe-danger-3: #e8c3c9;\n --aithe-danger-4: #dba0a9;\n --aithe-danger-5: #c97d88;\n --aithe-danger-6: #b0626d;\n --aithe-danger-7: #924f59;\n --aithe-danger-8: #764149;\n --aithe-danger-9: #60363d;\n --aithe-danger-10: #4d2c31;\n --aithe-neutral-1: #fafbfc;\n --aithe-neutral-2: #f0f2f5;\n --aithe-neutral-3: #dfe4ea;\n --aithe-neutral-4: #c8d0db;\n --aithe-neutral-5: #adb7c6;\n --aithe-neutral-6: #8f99aa;\n --aithe-neutral-7: #717b8d;\n --aithe-neutral-8: #566070;\n --aithe-neutral-9: #3d4654;\n --aithe-neutral-10: #252d36;\n --aithe-color-bg: #f3f4f7;\n --aithe-color-bg-subtle: linear-gradient(180deg, #f8f9fb 0%, #eff1f4 100%);\n --aithe-color-surface: rgba(255, 255, 255, 0.84);\n --aithe-color-surface-elevated: rgba(255, 255, 255, 0.96);\n --aithe-color-surface-muted: #eceff4;\n --aithe-color-border: rgba(76, 84, 98, 0.16);\n --aithe-color-border-strong: rgba(55, 62, 72, 0.24);\n --aithe-color-text: #222831;\n --aithe-color-text-muted: #5a6473;\n --aithe-color-text-subtle: #848c97;\n --aithe-color-overlay: rgba(28, 31, 37, 0.46);\n --aithe-color-selection: rgba(116, 133, 164, 0.2);\n --aithe-color-focus-ring: rgba(116, 133, 164, 0.34);\n}\n";
2
+ //# sourceMappingURL=gray.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gray.d.ts","sourceRoot":"","sources":["../../../src/styles/theme/gray.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,2tEAoE3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const lightThemeTokens = "\n.aithe-theme-light,\n[data-aithe-theme='light'],\n:root {\n color-scheme: light;\n --aithe-primary-1: #f2f7ff;\n --aithe-primary-2: #e3efff;\n --aithe-primary-3: #c8deff;\n --aithe-primary-4: #9ec5ff;\n --aithe-primary-5: #74aaff;\n --aithe-primary-6: #4d8dff;\n --aithe-primary-7: #326fe1;\n --aithe-primary-8: #2859b5;\n --aithe-primary-9: #22488f;\n --aithe-primary-10: #1d3970;\n --aithe-success-1: #effcf6;\n --aithe-success-2: #d9f5e6;\n --aithe-success-3: #b7ebcf;\n --aithe-success-4: #84d9ae;\n --aithe-success-5: #52c48a;\n --aithe-success-6: #2eae70;\n --aithe-success-7: #1f915d;\n --aithe-success-8: #1b754e;\n --aithe-success-9: #185e40;\n --aithe-success-10: #144b34;\n --aithe-warning-1: #fff8e8;\n --aithe-warning-2: #ffefc7;\n --aithe-warning-3: #ffe08c;\n --aithe-warning-4: #ffcc59;\n --aithe-warning-5: #f6b73a;\n --aithe-warning-6: #dd9621;\n --aithe-warning-7: #b97516;\n --aithe-warning-8: #955b14;\n --aithe-warning-9: #754712;\n --aithe-warning-10: #5c390f;\n --aithe-danger-1: #fff1f2;\n --aithe-danger-2: #ffe0e4;\n --aithe-danger-3: #ffc4cb;\n --aithe-danger-4: #ff9ca8;\n --aithe-danger-5: #ff7283;\n --aithe-danger-6: #f04f64;\n --aithe-danger-7: #cf3950;\n --aithe-danger-8: #ab3144;\n --aithe-danger-9: #882c3a;\n --aithe-danger-10: #6d2630;\n --aithe-neutral-1: #f7f8fb;\n --aithe-neutral-2: #eef1f6;\n --aithe-neutral-3: #e1e6ef;\n --aithe-neutral-4: #c9d1df;\n --aithe-neutral-5: #aeb8cb;\n --aithe-neutral-6: #8f9ab0;\n --aithe-neutral-7: #6d788f;\n --aithe-neutral-8: #4d576b;\n --aithe-neutral-9: #2f3747;\n --aithe-neutral-10: #151a22;\n --aithe-color-bg: #f5f7fb;\n --aithe-color-bg-subtle: linear-gradient(180deg, #f9fbff 0%, #f2f5fb 100%);\n --aithe-color-surface: rgba(255, 255, 255, 0.82);\n --aithe-color-surface-elevated: rgba(255, 255, 255, 0.98);\n --aithe-color-surface-muted: #eef2f8;\n --aithe-color-border: rgba(76, 94, 132, 0.18);\n --aithe-color-border-strong: rgba(52, 66, 96, 0.28);\n --aithe-color-text: #152033;\n --aithe-color-text-muted: #526079;\n --aithe-color-text-subtle: #7b879b;\n --aithe-color-overlay: rgba(11, 17, 29, 0.54);\n --aithe-color-selection: rgba(77, 141, 255, 0.18);\n --aithe-color-focus-ring: rgba(77, 141, 255, 0.38);\n}\n";
2
+ //# sourceMappingURL=light.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../src/styles/theme/light.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,quEAqE5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const aitheThemeText = "\n\n.aithe-theme-light,\n[data-aithe-theme='light'],\n:root {\n color-scheme: light;\n --aithe-primary-1: #f2f7ff;\n --aithe-primary-2: #e3efff;\n --aithe-primary-3: #c8deff;\n --aithe-primary-4: #9ec5ff;\n --aithe-primary-5: #74aaff;\n --aithe-primary-6: #4d8dff;\n --aithe-primary-7: #326fe1;\n --aithe-primary-8: #2859b5;\n --aithe-primary-9: #22488f;\n --aithe-primary-10: #1d3970;\n --aithe-success-1: #effcf6;\n --aithe-success-2: #d9f5e6;\n --aithe-success-3: #b7ebcf;\n --aithe-success-4: #84d9ae;\n --aithe-success-5: #52c48a;\n --aithe-success-6: #2eae70;\n --aithe-success-7: #1f915d;\n --aithe-success-8: #1b754e;\n --aithe-success-9: #185e40;\n --aithe-success-10: #144b34;\n --aithe-warning-1: #fff8e8;\n --aithe-warning-2: #ffefc7;\n --aithe-warning-3: #ffe08c;\n --aithe-warning-4: #ffcc59;\n --aithe-warning-5: #f6b73a;\n --aithe-warning-6: #dd9621;\n --aithe-warning-7: #b97516;\n --aithe-warning-8: #955b14;\n --aithe-warning-9: #754712;\n --aithe-warning-10: #5c390f;\n --aithe-danger-1: #fff1f2;\n --aithe-danger-2: #ffe0e4;\n --aithe-danger-3: #ffc4cb;\n --aithe-danger-4: #ff9ca8;\n --aithe-danger-5: #ff7283;\n --aithe-danger-6: #f04f64;\n --aithe-danger-7: #cf3950;\n --aithe-danger-8: #ab3144;\n --aithe-danger-9: #882c3a;\n --aithe-danger-10: #6d2630;\n --aithe-neutral-1: #f7f8fb;\n --aithe-neutral-2: #eef1f6;\n --aithe-neutral-3: #e1e6ef;\n --aithe-neutral-4: #c9d1df;\n --aithe-neutral-5: #aeb8cb;\n --aithe-neutral-6: #8f9ab0;\n --aithe-neutral-7: #6d788f;\n --aithe-neutral-8: #4d576b;\n --aithe-neutral-9: #2f3747;\n --aithe-neutral-10: #151a22;\n --aithe-color-bg: #f5f7fb;\n --aithe-color-bg-subtle: linear-gradient(180deg, #f9fbff 0%, #f2f5fb 100%);\n --aithe-color-surface: rgba(255, 255, 255, 0.82);\n --aithe-color-surface-elevated: rgba(255, 255, 255, 0.98);\n --aithe-color-surface-muted: #eef2f8;\n --aithe-color-border: rgba(76, 94, 132, 0.18);\n --aithe-color-border-strong: rgba(52, 66, 96, 0.28);\n --aithe-color-text: #152033;\n --aithe-color-text-muted: #526079;\n --aithe-color-text-subtle: #7b879b;\n --aithe-color-overlay: rgba(11, 17, 29, 0.54);\n --aithe-color-selection: rgba(77, 141, 255, 0.18);\n --aithe-color-focus-ring: rgba(77, 141, 255, 0.38);\n}\n\n\n.aithe-theme-dark,\n[data-aithe-theme='dark'] {\n color-scheme: dark;\n --aithe-primary-1: #edf4ff;\n --aithe-primary-2: #d7e5ff;\n --aithe-primary-3: #b8d2ff;\n --aithe-primary-4: #8ab3ff;\n --aithe-primary-5: #6092ff;\n --aithe-primary-6: #4a7dff;\n --aithe-primary-7: #3d68e0;\n --aithe-primary-8: #3555b6;\n --aithe-primary-9: #2f478f;\n --aithe-primary-10: #28396f;\n --aithe-success-1: #effcf7;\n --aithe-success-2: #cef6df;\n --aithe-success-3: #a7ecc4;\n --aithe-success-4: #7ad7a5;\n --aithe-success-5: #53bf88;\n --aithe-success-6: #35a66f;\n --aithe-success-7: #278a5c;\n --aithe-success-8: #1e6f4b;\n --aithe-success-9: #195a3d;\n --aithe-success-10: #154931;\n --aithe-warning-1: #fff8eb;\n --aithe-warning-2: #ffeec8;\n --aithe-warning-3: #ffdd92;\n --aithe-warning-4: #ffc85f;\n --aithe-warning-5: #f1b042;\n --aithe-warning-6: #d18f29;\n --aithe-warning-7: #ad701d;\n --aithe-warning-8: #8b5819;\n --aithe-warning-9: #6f4617;\n --aithe-warning-10: #593813;\n --aithe-danger-1: #fff1f4;\n --aithe-danger-2: #ffdce2;\n --aithe-danger-3: #ffbcc8;\n --aithe-danger-4: #ff92a4;\n --aithe-danger-5: #f86c83;\n --aithe-danger-6: #df526b;\n --aithe-danger-7: #be4159;\n --aithe-danger-8: #99354a;\n --aithe-danger-9: #7a2d3d;\n --aithe-danger-10: #612634;\n --aithe-neutral-1: #f5f7fb;\n --aithe-neutral-2: #dfe5ef;\n --aithe-neutral-3: #c7d0de;\n --aithe-neutral-4: #aab6c9;\n --aithe-neutral-5: #8997b0;\n --aithe-neutral-6: #6d7a92;\n --aithe-neutral-7: #536077;\n --aithe-neutral-8: #3b465a;\n --aithe-neutral-9: #242d3d;\n --aithe-neutral-10: #121925;\n --aithe-color-bg: #0d1119;\n --aithe-color-bg-subtle: radial-gradient(circle at top, rgba(55, 87, 151, 0.22) 0%, rgba(13, 17, 25, 1) 58%);\n --aithe-color-surface: rgba(17, 24, 39, 0.82);\n --aithe-color-surface-elevated: rgba(19, 27, 44, 0.96);\n --aithe-color-surface-muted: #151c2b;\n --aithe-color-border: rgba(172, 188, 217, 0.14);\n --aithe-color-border-strong: rgba(183, 198, 228, 0.22);\n --aithe-color-text: #edf3ff;\n --aithe-color-text-muted: #b0bdd4;\n --aithe-color-text-subtle: #8894ab;\n --aithe-color-overlay: rgba(1, 4, 11, 0.68);\n --aithe-color-selection: rgba(116, 170, 255, 0.24);\n --aithe-color-focus-ring: rgba(116, 170, 255, 0.42);\n --aithe-shadow-1: 0 8px 18px rgba(0, 0, 0, 0.18);\n --aithe-shadow-2: 0 14px 34px rgba(0, 0, 0, 0.24);\n --aithe-shadow-3: 0 20px 44px rgba(0, 0, 0, 0.3);\n --aithe-shadow-4: 0 24px 56px rgba(0, 0, 0, 0.36);\n --aithe-shadow-5: 0 30px 72px rgba(0, 0, 0, 0.42);\n}\n\n\n.aithe-theme-gray,\n[data-aithe-theme='gray'] {\n color-scheme: light;\n --aithe-primary-1: #f4f6fb;\n --aithe-primary-2: #e8edf6;\n --aithe-primary-3: #d4dce9;\n --aithe-primary-4: #b8c3d8;\n --aithe-primary-5: #96a4c0;\n --aithe-primary-6: #7485a4;\n --aithe-primary-7: #5e708d;\n --aithe-primary-8: #4d5d76;\n --aithe-primary-9: #404d61;\n --aithe-primary-10: #313a48;\n --aithe-success-1: #eff7f3;\n --aithe-success-2: #dcefe4;\n --aithe-success-3: #badfc9;\n --aithe-success-4: #97cfac;\n --aithe-success-5: #73bd90;\n --aithe-success-6: #5aa277;\n --aithe-success-7: #4a8461;\n --aithe-success-8: #3d6950;\n --aithe-success-9: #335543;\n --aithe-success-10: #294437;\n --aithe-warning-1: #f9f4ea;\n --aithe-warning-2: #f3e8cf;\n --aithe-warning-3: #e8d3a3;\n --aithe-warning-4: #dbbb79;\n --aithe-warning-5: #c7a05b;\n --aithe-warning-6: #ab8442;\n --aithe-warning-7: #8d6a33;\n --aithe-warning-8: #72532a;\n --aithe-warning-9: #5b4324;\n --aithe-warning-10: #49371f;\n --aithe-danger-1: #faf1f2;\n --aithe-danger-2: #f2dfe2;\n --aithe-danger-3: #e8c3c9;\n --aithe-danger-4: #dba0a9;\n --aithe-danger-5: #c97d88;\n --aithe-danger-6: #b0626d;\n --aithe-danger-7: #924f59;\n --aithe-danger-8: #764149;\n --aithe-danger-9: #60363d;\n --aithe-danger-10: #4d2c31;\n --aithe-neutral-1: #fafbfc;\n --aithe-neutral-2: #f0f2f5;\n --aithe-neutral-3: #dfe4ea;\n --aithe-neutral-4: #c8d0db;\n --aithe-neutral-5: #adb7c6;\n --aithe-neutral-6: #8f99aa;\n --aithe-neutral-7: #717b8d;\n --aithe-neutral-8: #566070;\n --aithe-neutral-9: #3d4654;\n --aithe-neutral-10: #252d36;\n --aithe-color-bg: #f3f4f7;\n --aithe-color-bg-subtle: linear-gradient(180deg, #f8f9fb 0%, #eff1f4 100%);\n --aithe-color-surface: rgba(255, 255, 255, 0.84);\n --aithe-color-surface-elevated: rgba(255, 255, 255, 0.96);\n --aithe-color-surface-muted: #eceff4;\n --aithe-color-border: rgba(76, 84, 98, 0.16);\n --aithe-color-border-strong: rgba(55, 62, 72, 0.24);\n --aithe-color-text: #222831;\n --aithe-color-text-muted: #5a6473;\n --aithe-color-text-subtle: #848c97;\n --aithe-color-overlay: rgba(28, 31, 37, 0.46);\n --aithe-color-selection: rgba(116, 133, 164, 0.2);\n --aithe-color-focus-ring: rgba(116, 133, 164, 0.34);\n}\n\n\n.aithe-theme-blue,\n[data-aithe-theme='blue'] {\n color-scheme: dark;\n --aithe-primary-1: #eaf3ff;\n --aithe-primary-2: #d2e4ff;\n --aithe-primary-3: #aacbff;\n --aithe-primary-4: #79acff;\n --aithe-primary-5: #518fff;\n --aithe-primary-6: #2c73f6;\n --aithe-primary-7: #245dd0;\n --aithe-primary-8: #234ca6;\n --aithe-primary-9: #213f81;\n --aithe-primary-10: #1f3365;\n --aithe-success-1: #effcf7;\n --aithe-success-2: #d2f5e4;\n --aithe-success-3: #afead0;\n --aithe-success-4: #7fd5af;\n --aithe-success-5: #59bd92;\n --aithe-success-6: #3aa478;\n --aithe-success-7: #2d8964;\n --aithe-success-8: #266f53;\n --aithe-success-9: #215a45;\n --aithe-success-10: #1b4938;\n --aithe-warning-1: #fff8e9;\n --aithe-warning-2: #ffefc7;\n --aithe-warning-3: #ffdd90;\n --aithe-warning-4: #ffc45c;\n --aithe-warning-5: #f2aa3d;\n --aithe-warning-6: #d38b25;\n --aithe-warning-7: #af6e1b;\n --aithe-warning-8: #8e5718;\n --aithe-warning-9: #724618;\n --aithe-warning-10: #5b3815;\n --aithe-danger-1: #fff0f3;\n --aithe-danger-2: #ffdbe2;\n --aithe-danger-3: #ffbbc8;\n --aithe-danger-4: #ff8fa1;\n --aithe-danger-5: #f66a80;\n --aithe-danger-6: #de5069;\n --aithe-danger-7: #bd3f56;\n --aithe-danger-8: #99354a;\n --aithe-danger-9: #7c2f3f;\n --aithe-danger-10: #632837;\n --aithe-neutral-1: #f1f5fd;\n --aithe-neutral-2: #d8e1f0;\n --aithe-neutral-3: #bcc7da;\n --aithe-neutral-4: #9ca9c1;\n --aithe-neutral-5: #7d8ca7;\n --aithe-neutral-6: #66758f;\n --aithe-neutral-7: #505d74;\n --aithe-neutral-8: #3a4559;\n --aithe-neutral-9: #242d3d;\n --aithe-neutral-10: #141c29;\n --aithe-color-bg: #09111f;\n --aithe-color-bg-subtle: radial-gradient(circle at top right, rgba(44, 115, 246, 0.22) 0%, rgba(9, 17, 31, 1) 54%);\n --aithe-color-surface: rgba(10, 24, 45, 0.82);\n --aithe-color-surface-elevated: rgba(14, 31, 57, 0.96);\n --aithe-color-surface-muted: #13253f;\n --aithe-color-border: rgba(130, 176, 255, 0.16);\n --aithe-color-border-strong: rgba(154, 195, 255, 0.26);\n --aithe-color-text: #edf4ff;\n --aithe-color-text-muted: #b3c5e6;\n --aithe-color-text-subtle: #7f99be;\n --aithe-color-overlay: rgba(2, 7, 14, 0.68);\n --aithe-color-selection: rgba(81, 143, 255, 0.24);\n --aithe-color-focus-ring: rgba(81, 143, 255, 0.42);\n}\n\n\n:root {\n --aithe-space-0: 0;\n --aithe-space-1: 4px;\n --aithe-space-2: 8px;\n --aithe-space-3: 12px;\n --aithe-space-4: 16px;\n --aithe-space-5: 20px;\n --aithe-space-6: 24px;\n --aithe-space-7: 32px;\n --aithe-space-8: 40px;\n --aithe-space-9: 48px;\n --aithe-space-10: 64px;\n --aithe-space-xs: var(--aithe-space-2);\n --aithe-space-sm: var(--aithe-space-3);\n --aithe-space-md: var(--aithe-space-4);\n --aithe-space-lg: var(--aithe-space-6);\n --aithe-space-xl: var(--aithe-space-8);\n --aithe-radius-sm: 6px;\n --aithe-radius-md: 10px;\n --aithe-radius-lg: 14px;\n --aithe-radius-xl: 20px;\n --aithe-radius-full: 999px;\n --aithe-shadow-1: 0 6px 18px rgba(18, 24, 38, 0.06);\n --aithe-shadow-2: 0 12px 28px rgba(18, 24, 38, 0.08);\n --aithe-shadow-3: 0 18px 40px rgba(18, 24, 38, 0.1);\n --aithe-shadow-4: 0 22px 56px rgba(18, 24, 38, 0.14);\n --aithe-shadow-5: 0 28px 72px rgba(18, 24, 38, 0.18);\n --aithe-font-family: 'Sora', 'IBM Plex Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;\n --aithe-font-family-mono: 'JetBrains Mono', 'SFMono-Regular', 'Consolas', monospace;\n --aithe-font-size-xs: 12px;\n --aithe-font-size-sm: 13px;\n --aithe-font-size-md: 14px;\n --aithe-font-size-lg: 16px;\n --aithe-font-size-xl: 20px;\n --aithe-font-size-2xl: 28px;\n --aithe-font-weight-regular: 400;\n --aithe-font-weight-medium: 500;\n --aithe-font-weight-semibold: 600;\n --aithe-font-weight-bold: 700;\n --aithe-line-height-tight: 1.2;\n --aithe-line-height-base: 1.5;\n --aithe-line-height-loose: 1.7;\n --aithe-z-base: 1;\n --aithe-z-dropdown: 1000;\n --aithe-z-popover: 1010;\n --aithe-z-modal: 1080;\n --aithe-z-drawer: 1090;\n --aithe-z-tooltip: 1120;\n --aithe-duration-fast: 140ms;\n --aithe-duration-base: 220ms;\n --aithe-duration-slow: 320ms;\n --aithe-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);\n --aithe-control-height-sm: 32px;\n --aithe-control-height-md: 40px;\n --aithe-control-height-lg: 48px;\n}\n\nhtml,\nbody {\n margin: 0;\n width: 100%;\n min-height: 100%;\n background: var(--aithe-color-bg-subtle);\n color: var(--aithe-color-text);\n font-family: var(--aithe-font-family);\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n::selection {\n background: var(--aithe-color-selection);\n}\n\n";
2
+ export declare function registerAitheTheme(): void;
3
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/styles/theme.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,67WAM1B,CAAC;AAEF,wBAAgB,kBAAkB,IAAI,IAAI,CAczC"}
@@ -0,0 +1,11 @@
1
+ import type { AitheComponentSize, AitheThemeName, AitheVariant } from './theme';
2
+ /**
3
+ * Shared properties inherited by all Aithe components.
4
+ */
5
+ export interface AitheCommonProps {
6
+ variant?: AitheVariant;
7
+ size?: AitheComponentSize;
8
+ theme?: AitheThemeName;
9
+ disabled?: boolean;
10
+ }
11
+ //# sourceMappingURL=component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/types/component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,4 @@
1
+ export * from './theme';
2
+ export * from './component';
3
+ export * from '../core/types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Built-in Aithe UI theme names.
3
+ */
4
+ export type AitheBuiltinTheme = 'light' | 'dark' | 'gray' | 'blue';
5
+ /**
6
+ * Theme name that supports official and user-defined themes.
7
+ */
8
+ export type AitheThemeName = AitheBuiltinTheme | (string & {});
9
+ /**
10
+ * Shared size scale used by most controls.
11
+ */
12
+ export type AitheComponentSize = 'sm' | 'md' | 'lg';
13
+ /**
14
+ * Shared variant string used by visual components.
15
+ */
16
+ export type AitheVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'neutral' | string;
17
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/types/theme.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare function findClosestThemeElement(element: HTMLElement | null): HTMLElement | null;
2
+ export declare function getFocusableElements(root: ParentNode): HTMLElement[];
3
+ export declare function findFirstFocusable(root: ParentNode): HTMLElement | null;
4
+ //# sourceMappingURL=dom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/utils/dom.ts"],"names":[],"mappings":"AAAA,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,WAAW,GAAG,IAAI,CAiBvF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW,EAAE,CAcpE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW,GAAG,IAAI,CAEvE"}
@@ -0,0 +1,2 @@
1
+ export declare function emitAitheEvent<T>(target: EventTarget, type: string, detail?: T): void;
2
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/utils/events.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CASrF"}
@@ -0,0 +1,6 @@
1
+ export * from './dom';
2
+ export * from './events';
3
+ export * from './theme';
4
+ export * from './validation';
5
+ export { clamp, getValueByPath, uid } from '../core/utils';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AitheThemeName } from '../types';
2
+ export declare const AITHE_DEFAULT_THEME: AitheThemeName;
3
+ export declare const AITHE_THEME_STORAGE_KEY = "aithe-ui-theme";
4
+ export declare function getThemeClassName(theme: AitheThemeName): string;
5
+ export declare function getGlobalTheme(): AitheThemeName;
6
+ export declare function setGlobalTheme(theme: AitheThemeName, persist?: boolean): void;
7
+ export declare function loadStoredTheme(): AitheThemeName | null;
8
+ export declare function resolveComputedTheme(element: HTMLElement, componentTheme?: AitheThemeName): AitheThemeName;
9
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/utils/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,mBAAmB,EAAE,cAAwB,CAAC;AAC3D,eAAO,MAAM,uBAAuB,mBAAmB,CAAC;AAExD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAE/D;AAED,wBAAgB,cAAc,IAAI,cAAc,CAe/C;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,UAAO,GAAG,IAAI,CAgB1E;AAED,wBAAgB,eAAe,IAAI,cAAc,GAAG,IAAI,CAMvD;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,EAAE,cAAc,CAAC,EAAE,cAAc,GAAG,cAAc,CAiB1G"}
@@ -0,0 +1,4 @@
1
+ export declare function isNil(value: unknown): value is null | undefined;
2
+ export declare function toBooleanAttribute(value: unknown): boolean;
3
+ export declare function normalizeCssUnit(value: string | number | null | undefined, fallback?: string): string;
4
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/utils/validation.ts"],"names":[],"mappings":"AAAA,wBAAgB,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,GAAG,SAAS,CAE/D;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE1D;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EACzC,QAAQ,SAAK,GACZ,MAAM,CAuBR"}
@@ -0,0 +1,33 @@
1
+ # AitheAvatar / AitheAvatar 头像
2
+
3
+ > Avatar displaying an image, initials, or custom content.
4
+ > 头像组件,显示图片、首字母或自定义内容。
5
+
6
+ ## Slots / 插槽
7
+
8
+ | Name | Description (EN) | Description (CN) |
9
+ |------|-------------------|-------------------|
10
+ | (default) | Default slot for fallback content when image fails. | 图片加载失败时的后备内容。 |
11
+
12
+ ## Properties / 属性
13
+
14
+ | Name | Type | Default | Description (EN) | Description (CN) |
15
+ |------|------|---------|-------------------|-------------------|
16
+ | src | `string` | `''` | Image source URL. | 图片源地址。 |
17
+ | alt | `string` | `''` | Alt text for the image. | 图片替代文本。 |
18
+ | text | `string` | `''` | Text used to generate initials fallback. | 用于生成首字母后备显示的文本。 |
19
+ | shape | `'circle' \| 'square'` | `'circle'` | Avatar shape variant. | 头像形状。 |
20
+ | size | `'sm' \| 'md' \| 'lg'` | `'md'` | Avatar size preset. | 头像尺寸预设。 |
21
+
22
+ ## Events / 事件
23
+
24
+ | Name | Detail | Description (EN) | Description (CN) |
25
+ |------|--------|-------------------|-------------------|
26
+ | — | — | No custom events. | 无自定义事件。 |
27
+
28
+ ## Examples / 示例
29
+
30
+ ```html
31
+ <aithe-avatar src="/photo.jpg" alt="User" shape="circle" size="md"></aithe-avatar>
32
+ <aithe-avatar text="Jane Smith" shape="square" size="lg"></aithe-avatar>
33
+ ```
@@ -0,0 +1,34 @@
1
+ # AitheBadge / AitheBadge 徽标
2
+
3
+ > Badge / count indicator overlaid on an anchor element.
4
+ > 徽标/计数指示器,覆盖在锚点元素上。
5
+
6
+ ## Slots / 插槽
7
+
8
+ | Name | Description (EN) | Description (CN) |
9
+ | --------- | ------------------------------------------------- | ------------------------------------- |
10
+ | (default) | Default slot for the anchor element. | 锚点元素内容。 |
11
+ | badge | Custom badge content (overrides `value` display). | 自定义徽标内容(覆盖 `value` 显示)。 |
12
+
13
+ ## Properties / 属性
14
+
15
+ | Name | Type | Default | Description (EN) | Description (CN) |
16
+ | --------- | -------------------------------------------------------------- | ------------- | ----------------------------------------------- | ---------------------------- |
17
+ | value | `string` | `''` | Badge display value (number or string). | 徽标显示值(数字或字符串)。 |
18
+ | max-count | `number` | `99` | Maximum count before showing "N+" format. | 超过此数值显示"N+"格式。 |
19
+ | dot | `boolean` | `false` | Whether to show a small dot instead of a count. | 是否显示小圆点而非数字。 |
20
+ | position | `'top-right' \| 'top-left' \| 'bottom-right' \| 'bottom-left'` | `'top-right'` | Badge position relative to the anchor. | 徽标相对于锚点的位置。 |
21
+
22
+ ## Events / 事件
23
+
24
+ | Name | Detail | Description (EN) | Description (CN) |
25
+ | ---- | ------ | ----------------- | ---------------- |
26
+ | — | — | No custom events. | 无自定义事件。 |
27
+
28
+ ## Examples / 示例
29
+
30
+ ```html
31
+ <aithe-badge value="5">
32
+ <aithe-button type="default">Messages</aithe-button>
33
+ </aithe-badge>
34
+ ```
@@ -0,0 +1,32 @@
1
+ # AitheButtonGroup / AitheButtonGroup 按钮组
2
+
3
+ > Button group layout helper for consistent spacing.
4
+ > 按钮组布局辅助组件,提供统一间距。
5
+
6
+ ## Slots / 插槽
7
+
8
+ | Name | Description (EN) | Description (CN) |
9
+ |------|-------------------|-------------------|
10
+ | (default) | Default slot for button elements. | 按钮元素内容。 |
11
+
12
+ ## Properties / 属性
13
+
14
+ | Name | Type | Default | Description (EN) | Description (CN) |
15
+ |------|------|---------|-------------------|-------------------|
16
+ | gap | `string` | `'var(--aithe-space-2)'` | Gap between buttons (CSS value). | 按钮间距(CSS 值)。 |
17
+ | vertical | `boolean` | `false` | Whether buttons are stacked vertically. | 是否垂直排列按钮。 |
18
+
19
+ ## Events / 事件
20
+
21
+ | Name | Detail | Description (EN) | Description (CN) |
22
+ |------|--------|-------------------|-------------------|
23
+ | — | — | No custom events. | 无自定义事件。 |
24
+
25
+ ## Examples / 示例
26
+
27
+ ```html
28
+ <aithe-button-group gap="var(--aithe-space-3)">
29
+ <aithe-button>Cancel</aithe-button>
30
+ <aithe-button type="primary">Submit</aithe-button>
31
+ </aithe-button-group>
32
+ ```
@@ -0,0 +1,38 @@
1
+ # AitheButton / AitheButton 按钮
2
+
3
+ > Button component with multiple visual types, sizes, and states.
4
+ > 按钮组件,支持多种视觉类型、尺寸和状态。
5
+
6
+ ## Slots / 插槽
7
+
8
+ | Name | Description (EN) | Description (CN) |
9
+ |------|-------------------|-------------------|
10
+ | (default) | Default slot for button label. | 默认插槽,用于按钮标签。 |
11
+ | prefix | Icon or content before the label. | 标签前的图标或内容。 |
12
+ | suffix | Icon or content after the label. | 标签后的图标或内容。 |
13
+
14
+ ## Properties / 属性
15
+
16
+ | Name | Type | Default | Description (EN) | Description (CN) |
17
+ |------|------|---------|-------------------|-------------------|
18
+ | type | `'primary' \| 'default' \| 'dashed' \| 'text' \| 'link'` | `'default'` | Visual type of the button. | 按钮的视觉类型。 |
19
+ | size | `'small' \| 'medium' \| 'large'` | `'medium'` | Size scale of the button. | 按钮的尺寸规格。 |
20
+ | title | `string` | `''` | Display title (shown as tooltip). | 显示标题(作为工具提示)。 |
21
+ | icon | `string` | `''` | Icon name to display before the label. | 在标签前显示的图标名称。 |
22
+ | disabled | `boolean` | `false` | Whether the button is disabled. | 按钮是否禁用。 |
23
+ | loading | `boolean` | `false` | Whether the button shows a loading spinner. | 按钮是否显示加载旋转器。 |
24
+ | danger | `boolean` | `false` | Whether the button uses danger styling. | 按钮是否使用危险样式。 |
25
+ | block | `boolean` | `false` | Whether the button spans the full width of its container. | 按钮是否占满容器宽度。 |
26
+
27
+ ## Events / 事件
28
+
29
+ | Name | Detail | Description (EN) | Description (CN) |
30
+ |------|--------|-------------------|-------------------|
31
+ | aithe-click | `{ originalEvent: MouseEvent }` | Emitted when the button is clicked (not when disabled/loading). | 按钮被点击时发出(禁用/加载时不发出)。 |
32
+
33
+ ## Examples / 示例
34
+
35
+ ```html
36
+ <aithe-button type="primary" size="medium" title="Submit form" icon="check">Submit</aithe-button>
37
+ <aithe-button type="danger" loading>Deleting...</aithe-button>
38
+ ```
@@ -0,0 +1,43 @@
1
+ # AitheCard / AitheCard 卡片
2
+
3
+ > Card container with header, body, and footer sections.
4
+ > 卡片容器,包含标题、正文和底部区域。
5
+
6
+ ## Slots / 插槽
7
+
8
+ | Name | Description (EN) | Description (CN) |
9
+ |------|-------------------|-------------------|
10
+ | (default) | Default slot for card body content. | 卡片正文内容。 |
11
+ | header | Custom header content (overrides title). | 自定义头部内容(覆盖标题)。 |
12
+ | footer | Footer action area. | 底部操作区域。 |
13
+
14
+ ## Properties / 属性
15
+
16
+ | Name | Type | Default | Description (EN) | Description (CN) |
17
+ |------|------|---------|-------------------|-------------------|
18
+ | title | `string` | `''` | Card title text. | 卡片标题文本。 |
19
+ | icon | `string` | `''` | Icon name displayed before the title. | 在标题前显示的图标名称。 |
20
+ | shadow | `number` | `2` | Shadow elevation level (0–4). | 阴影层级(0–4)。 |
21
+ | body-padding | `string` | `'var(--aithe-space-lg)'` | Padding for the card body section. | 卡片正文区域内边距。 |
22
+ | bordered | `boolean` | `true` | Whether to show a border around the card. | 是否显示卡片边框。 |
23
+ | divider | `'border' \| 'none'` | `'border'` | Divider style between header/body/footer sections. | 区域间分割线样式。 |
24
+
25
+ ## Events / 事件
26
+
27
+ | Name | Detail | Description (EN) | Description (CN) |
28
+ |------|--------|-------------------|-------------------|
29
+ | — | — | No custom events. | 无自定义事件。 |
30
+
31
+ ## Examples / 示例
32
+
33
+ ```html
34
+ <aithe-card title="Settings" icon="settings" shadow="2">
35
+ <p>Card body content here.</p>
36
+ <span slot="footer">Updated just now</span>
37
+ </aithe-card>
38
+
39
+ <!-- No dividers between sections -->
40
+ <aithe-card title="Settings" icon="settings" divider="none">
41
+ <p>Card body content here.</p>
42
+ </aithe-card>
43
+ ```
@@ -0,0 +1,30 @@
1
+ # AitheChip / AitheChip 芯片
2
+
3
+ > Compact selectable chip with optional close button.
4
+ > 紧凑的可选中芯片,支持可选关闭按钮。
5
+
6
+ ## Slots / 插槽
7
+
8
+ | Name | Description (EN) | Description (CN) |
9
+ |------|-------------------|-------------------|
10
+ | (default) | Default slot for chip label content. | 芯片标签内容。 |
11
+
12
+ ## Properties / 属性
13
+
14
+ | Name | Type | Default | Description (EN) | Description (CN) |
15
+ |------|------|---------|-------------------|-------------------|
16
+ | selected | `boolean` | `false` | Whether the chip is selected. | 是否选中。 |
17
+ | closable | `boolean` | `false` | Whether the chip shows a close button. Clicking it animates and removes the chip from DOM. | 是否显示关闭按钮。点击后动画移除芯片。 |
18
+
19
+ ## Events / 事件
20
+
21
+ | Name | Detail | Description (EN) | Description (CN) |
22
+ |------|--------|-------------------|-------------------|
23
+ | aithe-select | `{ selected }` | Emitted when chip selection state changes. | 选中状态变更时触发。 |
24
+ | aithe-close | — | Emitted when the close button is clicked, before the chip is removed from DOM. | 关闭按钮点击时触发,在芯片从 DOM 移除之前。 |
25
+
26
+ ## Examples / 示例
27
+
28
+ ```html
29
+ <aithe-chip closable>Filter Tag</aithe-chip>
30
+ ```
@@ -0,0 +1,31 @@
1
+ # AitheDivider / AitheDivider 分割线
2
+
3
+ > Horizontal or vertical divider line with optional label.
4
+ > 水平或垂直分割线,支持可选标签。
5
+
6
+ ## Slots / 插槽
7
+
8
+ | Name | Description (EN) | Description (CN) |
9
+ |------|-------------------|-------------------|
10
+ | (default) | Default slot for divider label text (horizontal mode). | 分割线标签文本(水平模式)。 |
11
+
12
+ ## Properties / 属性
13
+
14
+ | Name | Type | Default | Description (EN) | Description (CN) |
15
+ |------|------|---------|-------------------|-------------------|
16
+ | vertical | `boolean` | `false` | Whether the divider renders vertically. | 是否垂直渲染分割线。 |
17
+ | dashed | `boolean` | `false` | Whether the line style is dashed. | 是否使用虚线样式。 |
18
+ | label | `string` | `''` | Center label text for horizontal divider. | 水平分割线的居中标签文本。 |
19
+
20
+ ## Events / 事件
21
+
22
+ | Name | Detail | Description (EN) | Description (CN) |
23
+ |------|--------|-------------------|-------------------|
24
+ | — | — | No custom events. | 无自定义事件。 |
25
+
26
+ ## Examples / 示例
27
+
28
+ ```html
29
+ <aithe-divider label="Section"></aithe-divider>
30
+ <aithe-divider vertical dashed></aithe-divider>
31
+ ```
@@ -0,0 +1,29 @@
1
+ # AitheEmpty / AitheEmpty 空状态
2
+
3
+ > Empty state placeholder with icon and text.
4
+ > 空状态占位组件,显示图标和提示文本。
5
+
6
+ ## Slots / 插槽
7
+
8
+ | Name | Description (EN) | Description (CN) |
9
+ |------|-------------------|-------------------|
10
+ | (default) | Default slot for custom empty content (overrides icon + text). | 自定义空状态内容(覆盖图标和文本)。 |
11
+
12
+ ## Properties / 属性
13
+
14
+ | Name | Type | Default | Description (EN) | Description (CN) |
15
+ |------|------|---------|-------------------|-------------------|
16
+ | text | `string` | `'暂无数据'` | Placeholder text. | 占位提示文本。 |
17
+ | icon | `string` | `'sparkles'` | Built-in icon name to display. | 显示的内置图标名称。 |
18
+
19
+ ## Events / 事件
20
+
21
+ | Name | Detail | Description (EN) | Description (CN) |
22
+ |------|--------|-------------------|-------------------|
23
+ | — | — | No custom events. | 无自定义事件。 |
24
+
25
+ ## Examples / 示例
26
+
27
+ ```html
28
+ <aithe-empty text="No results found" icon="sparkles"></aithe-empty>
29
+ ```