@aithe/aithe-ui 26.2.3 → 26.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (564) hide show
  1. package/README.md +16 -11
  2. package/dist/apps/admin/app.js +12 -0
  3. package/dist/apps/admin/components/admin-app.js +83 -0
  4. package/dist/apps/admin/components/admin-layout.d.ts +0 -1
  5. package/dist/apps/admin/components/admin-layout.d.ts.map +1 -1
  6. package/dist/apps/admin/components/admin-layout.js +250 -0
  7. package/dist/apps/admin/datahub/auth.js +24 -0
  8. package/dist/apps/admin/datahub/dashboard.js +16 -0
  9. package/dist/apps/admin/datahub/index.js +42 -0
  10. package/dist/apps/admin/datahub/menu.js +16 -0
  11. package/dist/apps/admin/datahub/mock/auth.js +11 -0
  12. package/dist/apps/admin/datahub/mock/dashboard.js +10 -0
  13. package/dist/apps/admin/datahub/mock/menu.js +42 -0
  14. package/dist/apps/admin/i18n/de-DE.js +37 -0
  15. package/dist/apps/admin/i18n/en-US.js +37 -0
  16. package/dist/apps/admin/i18n/es-ES.js +38 -0
  17. package/dist/apps/admin/i18n/fr-FR.js +37 -0
  18. package/dist/apps/admin/i18n/index.js +27 -0
  19. package/dist/apps/admin/i18n/ja-JP.js +38 -0
  20. package/dist/apps/admin/i18n/ko-KR.js +37 -0
  21. package/dist/apps/admin/i18n/pt-BR.js +37 -0
  22. package/dist/apps/admin/i18n/zh-CN.js +37 -0
  23. package/dist/apps/admin/i18n/zh-HK.js +37 -0
  24. package/dist/apps/admin/i18n/zh-TW.js +37 -0
  25. package/dist/apps/admin/pages/dashboard-page.d.ts +1 -0
  26. package/dist/apps/admin/pages/dashboard-page.d.ts.map +1 -1
  27. package/dist/apps/admin/pages/dashboard-page.js +199 -0
  28. package/dist/apps/admin/pages/login-page.js +278 -0
  29. package/dist/apps/admin/pages/not-found-page.js +57 -0
  30. package/dist/apps/admin/pages/role-page.js +76 -0
  31. package/dist/apps/admin/pages/settings-page.js +95 -0
  32. package/dist/apps/admin/pages/user-page.js +76 -0
  33. package/dist/apps/admin/router/index.js +43 -0
  34. package/dist/apps/admin/standalone.js +1 -0
  35. package/dist/apps/admin/store/auth.js +42 -0
  36. package/dist/apps/api/app.js +82 -0
  37. package/dist/apps/api/demo-data.d.ts.map +1 -1
  38. package/dist/apps/api/demo-data.js +965 -0
  39. package/dist/apps/api/docs-viewer.js +684 -0
  40. package/dist/apps/api/i18n/de-DE.d.ts.map +1 -1
  41. package/dist/apps/api/i18n/de-DE.js +130 -0
  42. package/dist/apps/api/i18n/en-US.d.ts.map +1 -1
  43. package/dist/apps/api/i18n/en-US.js +140 -0
  44. package/dist/apps/api/i18n/es-ES.d.ts.map +1 -1
  45. package/dist/apps/api/i18n/es-ES.js +130 -0
  46. package/dist/apps/api/i18n/fr-FR.d.ts.map +1 -1
  47. package/dist/apps/api/i18n/fr-FR.js +130 -0
  48. package/dist/apps/api/i18n/index.js +27 -0
  49. package/dist/apps/api/i18n/ja-JP.d.ts.map +1 -1
  50. package/dist/apps/api/i18n/ja-JP.js +130 -0
  51. package/dist/apps/api/i18n/ko-KR.d.ts.map +1 -1
  52. package/dist/apps/api/i18n/ko-KR.js +130 -0
  53. package/dist/apps/api/i18n/pt-BR.d.ts.map +1 -1
  54. package/dist/apps/api/i18n/pt-BR.js +130 -0
  55. package/dist/apps/api/i18n/zh-CN.d.ts.map +1 -1
  56. package/dist/apps/api/i18n/zh-CN.js +140 -0
  57. package/dist/apps/api/i18n/zh-HK.d.ts.map +1 -1
  58. package/dist/apps/api/i18n/zh-HK.js +130 -0
  59. package/dist/apps/api/i18n/zh-TW.d.ts.map +1 -1
  60. package/dist/apps/api/i18n/zh-TW.js +130 -0
  61. package/dist/apps/api/pages/docs.d.ts.map +1 -1
  62. package/dist/apps/api/pages/docs.js +367 -0
  63. package/dist/apps/api/standalone.js +1 -0
  64. package/dist/apps/demo/app.js +273 -0
  65. package/dist/apps/demo/editor.d.ts.map +1 -1
  66. package/dist/apps/demo/editor.js +270 -0
  67. package/dist/apps/demo/helpers.js +7 -0
  68. package/dist/apps/demo/i18n/de-DE.d.ts.map +1 -1
  69. package/dist/apps/demo/i18n/de-DE.js +269 -0
  70. package/dist/apps/demo/i18n/en-US.d.ts.map +1 -1
  71. package/dist/apps/demo/i18n/en-US.js +281 -0
  72. package/dist/apps/demo/i18n/es-ES.d.ts.map +1 -1
  73. package/dist/apps/demo/i18n/es-ES.js +269 -0
  74. package/dist/apps/demo/i18n/fr-FR.d.ts.map +1 -1
  75. package/dist/apps/demo/i18n/fr-FR.js +269 -0
  76. package/dist/apps/demo/i18n/index.js +27 -0
  77. package/dist/apps/demo/i18n/ja-JP.d.ts.map +1 -1
  78. package/dist/apps/demo/i18n/ja-JP.js +269 -0
  79. package/dist/apps/demo/i18n/ko-KR.d.ts.map +1 -1
  80. package/dist/apps/demo/i18n/ko-KR.js +269 -0
  81. package/dist/apps/demo/i18n/pt-BR.d.ts.map +1 -1
  82. package/dist/apps/demo/i18n/pt-BR.js +269 -0
  83. package/dist/apps/demo/i18n/zh-CN.d.ts.map +1 -1
  84. package/dist/apps/demo/i18n/zh-CN.js +281 -0
  85. package/dist/apps/demo/i18n/zh-HK.d.ts.map +1 -1
  86. package/dist/apps/demo/i18n/zh-HK.js +269 -0
  87. package/dist/apps/demo/i18n/zh-TW.d.ts.map +1 -1
  88. package/dist/apps/demo/i18n/zh-TW.js +269 -0
  89. package/dist/apps/demo/pages/autoform.js +412 -0
  90. package/dist/apps/demo/pages/basic.js +157 -0
  91. package/dist/apps/demo/pages/code.js +1088 -0
  92. package/dist/apps/demo/pages/container.js +42 -0
  93. package/dist/apps/demo/pages/dashboard.js +159 -0
  94. package/dist/apps/demo/pages/data.d.ts.map +1 -1
  95. package/dist/apps/demo/pages/data.js +327 -0
  96. package/dist/apps/demo/pages/display.d.ts.map +1 -1
  97. package/dist/apps/demo/pages/display.js +295 -0
  98. package/dist/apps/demo/pages/feedback.js +94 -0
  99. package/dist/apps/demo/pages/form.js +99 -0
  100. package/dist/apps/demo/pages/layout.js +74 -0
  101. package/dist/apps/demo/pages/navigation.js +54 -0
  102. package/dist/apps/demo/pages/progress.js +42 -0
  103. package/dist/apps/demo/pages/theme.js +126 -0
  104. package/dist/apps/demo/standalone.js +1 -0
  105. package/dist/components/basic/AGENTS.md +1 -0
  106. package/dist/components/basic/avatar.js +168 -0
  107. package/dist/components/basic/badge.js +157 -0
  108. package/dist/components/basic/button-group.js +70 -0
  109. package/dist/components/basic/button.d.ts +2 -4
  110. package/dist/components/basic/button.d.ts.map +1 -1
  111. package/dist/components/basic/button.js +315 -0
  112. package/dist/components/basic/card.js +186 -0
  113. package/dist/components/basic/chip.js +103 -0
  114. package/dist/components/basic/divider.js +127 -0
  115. package/dist/components/basic/empty.js +72 -0
  116. package/dist/components/basic/icon.js +129 -0
  117. package/dist/components/basic/input.d.ts.map +1 -1
  118. package/dist/components/basic/input.js +314 -0
  119. package/dist/components/basic/tag.d.ts +7 -2
  120. package/dist/components/basic/tag.d.ts.map +1 -1
  121. package/dist/components/basic/tag.js +248 -0
  122. package/dist/components/basic/textarea.d.ts +0 -1
  123. package/dist/components/basic/textarea.d.ts.map +1 -1
  124. package/dist/components/basic/textarea.js +130 -0
  125. package/dist/components/container/callout.js +108 -0
  126. package/dist/components/container/details.js +117 -0
  127. package/dist/components/container/scroller.js +144 -0
  128. package/dist/components/container/split-panel.js +150 -0
  129. package/dist/components/data/AGENTS.md +1 -1
  130. package/dist/components/data/box-table.d.ts +53 -0
  131. package/dist/components/data/box-table.d.ts.map +1 -0
  132. package/dist/components/data/box-table.js +220 -0
  133. package/dist/components/data/dropdown.d.ts +8 -5
  134. package/dist/components/data/dropdown.d.ts.map +1 -1
  135. package/dist/components/data/dropdown.js +219 -0
  136. package/dist/components/data/metrics-group.js +180 -0
  137. package/dist/components/data/metrics.d.ts +11 -0
  138. package/dist/components/data/metrics.d.ts.map +1 -1
  139. package/dist/components/data/metrics.js +309 -0
  140. package/dist/components/data/pagination.js +119 -0
  141. package/dist/components/data/tab-pane.d.ts +58 -12
  142. package/dist/components/data/tab-pane.d.ts.map +1 -1
  143. package/dist/components/data/tab-pane.js +130 -0
  144. package/dist/components/data/table-column.d.ts +29 -5
  145. package/dist/components/data/table-column.d.ts.map +1 -1
  146. package/dist/components/data/table-column.js +123 -0
  147. package/dist/components/data/table.d.ts +134 -54
  148. package/dist/components/data/table.d.ts.map +1 -1
  149. package/dist/components/data/table.js +1210 -0
  150. package/dist/components/data/tabs.d.ts +60 -3
  151. package/dist/components/data/tabs.d.ts.map +1 -1
  152. package/dist/components/data/tabs.js +416 -0
  153. package/dist/components/data/timeline-item.js +127 -0
  154. package/dist/components/data/timeline.js +204 -0
  155. package/dist/components/data/tree-menu.d.ts +12 -2
  156. package/dist/components/data/tree-menu.d.ts.map +1 -1
  157. package/dist/components/data/tree-menu.js +482 -0
  158. package/dist/components/data/tree.js +269 -0
  159. package/dist/components/display/AGENTS.md +5 -2
  160. package/dist/components/display/animated-image.js +98 -0
  161. package/dist/components/display/brief-box.d.ts +42 -0
  162. package/dist/components/display/brief-box.d.ts.map +1 -0
  163. package/dist/components/display/brief-box.js +117 -0
  164. package/dist/components/display/carousel.js +223 -0
  165. package/dist/components/display/code-editor.d.ts.map +1 -1
  166. package/dist/components/display/code-editor.js +976 -0
  167. package/dist/components/display/comparison.js +132 -0
  168. package/dist/components/display/desc-item.d.ts +48 -0
  169. package/dist/components/display/desc-item.d.ts.map +1 -0
  170. package/dist/components/display/desc-item.js +150 -0
  171. package/dist/components/display/desc.d.ts +64 -0
  172. package/dist/components/display/desc.d.ts.map +1 -0
  173. package/dist/components/display/desc.js +363 -0
  174. package/dist/components/display/detail-box.d.ts +51 -0
  175. package/dist/components/display/detail-box.d.ts.map +1 -0
  176. package/dist/components/display/detail-box.js +157 -0
  177. package/dist/components/display/label.js +166 -0
  178. package/dist/components/display/markdown-editor.js +319 -0
  179. package/dist/components/display/markdown.d.ts.map +1 -1
  180. package/dist/components/display/markdown.js +193 -0
  181. package/dist/components/display/mini-box.d.ts +31 -0
  182. package/dist/components/display/mini-box.d.ts.map +1 -0
  183. package/dist/components/display/mini-box.js +137 -0
  184. package/dist/components/display/profile.d.ts +18 -0
  185. package/dist/components/display/profile.d.ts.map +1 -0
  186. package/dist/components/display/profile.js +164 -0
  187. package/dist/components/feedback/AGENTS.md +1 -0
  188. package/dist/components/feedback/alert.js +150 -0
  189. package/dist/components/feedback/dialog.js +228 -0
  190. package/dist/components/feedback/drawer.d.ts.map +1 -1
  191. package/dist/components/feedback/drawer.js +338 -0
  192. package/dist/components/feedback/loading.js +130 -0
  193. package/dist/components/feedback/modal.d.ts.map +1 -1
  194. package/dist/components/feedback/modal.js +303 -0
  195. package/dist/components/feedback/notification.js +170 -0
  196. package/dist/components/feedback/popover.d.ts +1 -1
  197. package/dist/components/feedback/popover.js +124 -0
  198. package/dist/components/feedback/toast.js +142 -0
  199. package/dist/components/feedback/tooltip.d.ts +1 -1
  200. package/dist/components/feedback/tooltip.js +153 -0
  201. package/dist/components/form/AGENTS.md +4 -0
  202. package/dist/components/form/autoform-item.js +761 -0
  203. package/dist/components/form/autoform.d.ts +15 -5
  204. package/dist/components/form/autoform.d.ts.map +1 -1
  205. package/dist/components/form/autoform.js +303 -0
  206. package/dist/components/form/checkbox-group.js +118 -0
  207. package/dist/components/form/checkbox.js +123 -0
  208. package/dist/components/form/color-picker.js +148 -0
  209. package/dist/components/form/combobox.d.ts.map +1 -1
  210. package/dist/components/form/combobox.js +282 -0
  211. package/dist/components/form/date-picker.js +123 -0
  212. package/dist/components/form/form-item.d.ts.map +1 -1
  213. package/dist/components/form/form-item.js +141 -0
  214. package/dist/components/form/form.js +94 -0
  215. package/dist/components/form/radio-group.js +106 -0
  216. package/dist/components/form/radio.js +110 -0
  217. package/dist/components/form/rate.js +116 -0
  218. package/dist/components/form/select.d.ts +1 -1
  219. package/dist/components/form/select.js +495 -0
  220. package/dist/components/form/slider.js +134 -0
  221. package/dist/components/form/switch.js +146 -0
  222. package/dist/components/form/time-picker.js +92 -0
  223. package/dist/components/form/transfer.js +273 -0
  224. package/dist/components/form/upload.js +138 -0
  225. package/dist/components/framework/body.js +333 -0
  226. package/dist/components/framework/dashboard-panel.js +519 -0
  227. package/dist/components/framework/dashboard.d.ts.map +1 -1
  228. package/dist/components/framework/dashboard.js +1084 -0
  229. package/dist/components/framework/header.js +237 -0
  230. package/dist/components/framework/log-panel.js +637 -0
  231. package/dist/components/framework/page.js +151 -0
  232. package/dist/components/framework/sidebar.d.ts +4 -10
  233. package/dist/components/framework/sidebar.d.ts.map +1 -1
  234. package/dist/components/framework/sidebar.js +477 -0
  235. package/dist/components/layout/affix.js +137 -0
  236. package/dist/components/layout/col.js +103 -0
  237. package/dist/components/layout/collapse-item.js +165 -0
  238. package/dist/components/layout/collapse.js +108 -0
  239. package/dist/components/layout/container.js +92 -0
  240. package/dist/components/layout/flex.js +100 -0
  241. package/dist/components/layout/row.js +103 -0
  242. package/dist/components/layout/space.js +85 -0
  243. package/dist/components/navigation/back-top.js +127 -0
  244. package/dist/components/navigation/breadcrumb-item.js +108 -0
  245. package/dist/components/navigation/breadcrumb.js +70 -0
  246. package/dist/components/navigation/menu-item.js +181 -0
  247. package/dist/components/navigation/menu.js +126 -0
  248. package/dist/components/navigation/steps.js +183 -0
  249. package/dist/components/navigation/sub-menu.js +253 -0
  250. package/dist/components/progress/progress-bar.js +97 -0
  251. package/dist/components/progress/progress-ring.js +111 -0
  252. package/dist/components/progress/skeleton.js +108 -0
  253. package/dist/components/progress/spinner.js +129 -0
  254. package/dist/components/theme/locale-switch.js +241 -0
  255. package/dist/components/theme/shadow-picker.js +233 -0
  256. package/dist/components/theme/shape-picker.js +232 -0
  257. package/dist/components/theme/theme-picker.js +236 -0
  258. package/dist/components/theme/theme-preview.d.ts +1 -2
  259. package/dist/components/theme/theme-preview.d.ts.map +1 -1
  260. package/dist/components/theme/theme-preview.js +376 -0
  261. package/dist/components/theme/theme-switch.d.ts.map +1 -1
  262. package/dist/components/theme/theme-switch.js +318 -0
  263. package/dist/components/theme/typo-picker.js +219 -0
  264. package/dist/core/AGENTS.md +6 -1
  265. package/dist/core/aithe-element.d.ts +2 -2
  266. package/dist/core/aithe-element.js +135 -0
  267. package/dist/core/aithe-widget.js +30 -0
  268. package/dist/core/anchored-overlay.d.ts +3 -0
  269. package/dist/core/anchored-overlay.d.ts.map +1 -1
  270. package/dist/core/anchored-overlay.js +111 -0
  271. package/dist/core/autoform/autoform.js +79 -0
  272. package/dist/core/autoform/condition.js +170 -0
  273. package/dist/core/autoform/index.js +8 -0
  274. package/dist/core/autoform/types.js +7 -0
  275. package/dist/core/datahub/config/strategy.d.ts +1 -1
  276. package/dist/core/datahub/config/strategy.d.ts.map +1 -1
  277. package/dist/core/datahub/config/strategy.js +50 -0
  278. package/dist/core/datahub/core/adapter/fetch-adapter.d.ts +1 -1
  279. package/dist/core/datahub/core/adapter/fetch-adapter.d.ts.map +1 -1
  280. package/dist/core/datahub/core/adapter/fetch-adapter.js +118 -0
  281. package/dist/core/datahub/core/adapter/index.js +7 -0
  282. package/dist/core/datahub/core/adapter/mock-adapter.d.ts +1 -1
  283. package/dist/core/datahub/core/adapter/mock-adapter.d.ts.map +1 -1
  284. package/dist/core/datahub/core/adapter/mock-adapter.js +58 -0
  285. package/dist/core/datahub/core/api-styles.d.ts +1 -1
  286. package/dist/core/datahub/core/api-styles.d.ts.map +1 -1
  287. package/dist/core/datahub/core/api-styles.js +131 -0
  288. package/dist/core/datahub/core/datahub-core.d.ts +3 -3
  289. package/dist/core/datahub/core/datahub-core.d.ts.map +1 -1
  290. package/dist/core/datahub/core/datahub-core.js +441 -0
  291. package/dist/core/datahub/core/index.js +7 -0
  292. package/dist/core/datahub/index.js +50 -0
  293. package/dist/core/datahub/types.d.ts +6 -0
  294. package/dist/core/datahub/types.d.ts.map +1 -1
  295. package/dist/core/datahub/types.js +31 -0
  296. package/dist/core/datahub/utils/cache.js +55 -0
  297. package/dist/core/datahub/utils/common.js +23 -0
  298. package/dist/core/datahub/utils/dedup.d.ts +1 -1
  299. package/dist/core/datahub/utils/dedup.d.ts.map +1 -1
  300. package/dist/core/datahub/utils/dedup.js +52 -0
  301. package/dist/core/datahub/utils/idempotent.js +61 -0
  302. package/dist/core/datahub/utils/is-query.js +53 -0
  303. package/dist/core/datahub/utils/loading.js +78 -0
  304. package/dist/core/filter/__tests__/index.test.d.ts +2 -0
  305. package/dist/core/filter/__tests__/index.test.d.ts.map +1 -0
  306. package/dist/core/filter/__tests__/index.test.js +230 -0
  307. package/dist/core/filter/builtins.d.ts +60 -0
  308. package/dist/core/filter/builtins.d.ts.map +1 -0
  309. package/dist/core/filter/builtins.js +172 -0
  310. package/dist/core/filter/factory.d.ts +54 -0
  311. package/dist/core/filter/factory.d.ts.map +1 -0
  312. package/dist/core/filter/factory.js +96 -0
  313. package/dist/core/filter/index.d.ts +11 -0
  314. package/dist/core/filter/index.d.ts.map +1 -0
  315. package/dist/core/filter/index.js +9 -0
  316. package/dist/core/filter/types.d.ts +12 -0
  317. package/dist/core/filter/types.d.ts.map +1 -0
  318. package/dist/core/filter/types.js +1 -0
  319. package/dist/core/floating.js +132 -0
  320. package/dist/core/highlight/index.js +43 -0
  321. package/dist/core/highlight/lang-bash.js +27 -0
  322. package/dist/core/highlight/lang-c.js +27 -0
  323. package/dist/core/highlight/lang-cmake.js +27 -0
  324. package/dist/core/highlight/lang-cpp.js +27 -0
  325. package/dist/core/highlight/lang-css.js +24 -0
  326. package/dist/core/highlight/lang-dart.js +27 -0
  327. package/dist/core/highlight/lang-dockerfile.js +16 -0
  328. package/dist/core/highlight/lang-fsharp.js +23 -0
  329. package/dist/core/highlight/lang-go.js +22 -0
  330. package/dist/core/highlight/lang-html.js +12 -0
  331. package/dist/core/highlight/lang-java.js +22 -0
  332. package/dist/core/highlight/lang-javascript.js +26 -0
  333. package/dist/core/highlight/lang-json.js +13 -0
  334. package/dist/core/highlight/lang-jsonline.js +13 -0
  335. package/dist/core/highlight/lang-jsx.js +30 -0
  336. package/dist/core/highlight/lang-kotlin.js +27 -0
  337. package/dist/core/highlight/lang-latex.js +22 -0
  338. package/dist/core/highlight/lang-lua.js +26 -0
  339. package/dist/core/highlight/lang-makefile.js +22 -0
  340. package/dist/core/highlight/lang-markdown.js +18 -0
  341. package/dist/core/highlight/lang-objectivec.js +24 -0
  342. package/dist/core/highlight/lang-perl.js +30 -0
  343. package/dist/core/highlight/lang-powershell.js +23 -0
  344. package/dist/core/highlight/lang-python.js +27 -0
  345. package/dist/core/highlight/lang-r.js +21 -0
  346. package/dist/core/highlight/lang-ruby.js +29 -0
  347. package/dist/core/highlight/lang-rust.js +24 -0
  348. package/dist/core/highlight/lang-scala.js +26 -0
  349. package/dist/core/highlight/lang-sql.js +21 -0
  350. package/dist/core/highlight/lang-svelte.js +27 -0
  351. package/dist/core/highlight/lang-swift.js +28 -0
  352. package/dist/core/highlight/lang-tsx.js +35 -0
  353. package/dist/core/highlight/lang-typescript.js +31 -0
  354. package/dist/core/highlight/lang-vue.js +29 -0
  355. package/dist/core/highlight/lang-wasm.js +22 -0
  356. package/dist/core/highlight/lang-xml.js +12 -0
  357. package/dist/core/highlight/lang-yaml.js +14 -0
  358. package/dist/core/highlight/registry.js +99 -0
  359. package/dist/core/logger/LoggerCore.js +626 -0
  360. package/dist/core/logger/index.js +10 -0
  361. package/dist/core/logger/types.js +29 -0
  362. package/dist/core/markdown/index.js +20 -0
  363. package/dist/core/markdown/parser.d.ts +2 -0
  364. package/dist/core/markdown/parser.d.ts.map +1 -1
  365. package/dist/core/markdown/parser.js +376 -0
  366. package/dist/core/markdown/plugins.js +608 -0
  367. package/dist/core/markdown/types.d.ts +5 -0
  368. package/dist/core/markdown/types.d.ts.map +1 -1
  369. package/dist/core/markdown/types.js +7 -0
  370. package/dist/core/router/index.js +244 -0
  371. package/dist/core/styles.js +44 -0
  372. package/dist/core/types.d.ts +50 -3
  373. package/dist/core/types.d.ts.map +1 -1
  374. package/dist/core/types.js +1 -0
  375. package/dist/index.d.ts +8 -0
  376. package/dist/index.d.ts.map +1 -1
  377. package/dist/index.js +2812 -1253
  378. package/dist/index.js.map +1 -1
  379. package/dist/index.umd.js +1670 -728
  380. package/dist/index.umd.js.map +1 -1
  381. package/dist/styles/aithe-ui.d.ts +23 -0
  382. package/dist/styles/aithe-ui.d.ts.map +1 -1
  383. package/dist/styles/aithe-ui.js +185 -0
  384. package/dist/styles/global.css.d.ts +1 -1
  385. package/dist/styles/global.css.d.ts.map +1 -1
  386. package/dist/styles/global.css.js +119 -0
  387. package/dist/styles/i18n/index.js +206 -0
  388. package/dist/styles/i18n/locales/de-DE.d.ts.map +1 -1
  389. package/dist/styles/i18n/locales/de-DE.js +148 -0
  390. package/dist/styles/i18n/locales/en-US.d.ts.map +1 -1
  391. package/dist/styles/i18n/locales/en-US.js +157 -0
  392. package/dist/styles/i18n/locales/es-ES.d.ts.map +1 -1
  393. package/dist/styles/i18n/locales/es-ES.js +148 -0
  394. package/dist/styles/i18n/locales/fr-FR.d.ts.map +1 -1
  395. package/dist/styles/i18n/locales/fr-FR.js +148 -0
  396. package/dist/styles/i18n/locales/index.js +14 -0
  397. package/dist/styles/i18n/locales/ja-JP.d.ts.map +1 -1
  398. package/dist/styles/i18n/locales/ja-JP.js +148 -0
  399. package/dist/styles/i18n/locales/ko-KR.d.ts.map +1 -1
  400. package/dist/styles/i18n/locales/ko-KR.js +148 -0
  401. package/dist/styles/i18n/locales/pt-BR.d.ts.map +1 -1
  402. package/dist/styles/i18n/locales/pt-BR.js +148 -0
  403. package/dist/styles/i18n/locales/zh-CN.d.ts.map +1 -1
  404. package/dist/styles/i18n/locales/zh-CN.js +157 -0
  405. package/dist/styles/i18n/locales/zh-HK.d.ts.map +1 -1
  406. package/dist/styles/i18n/locales/zh-HK.js +148 -0
  407. package/dist/styles/i18n/locales/zh-TW.d.ts.map +1 -1
  408. package/dist/styles/i18n/locales/zh-TW.js +148 -0
  409. package/dist/styles/layout/index.js +88 -0
  410. package/dist/styles/mixins.js +43 -0
  411. package/dist/styles/shadow/cyber.js +19 -0
  412. package/dist/styles/shadow/deep.js +19 -0
  413. package/dist/styles/shadow/diffuse.js +19 -0
  414. package/dist/styles/shadow/flat.js +19 -0
  415. package/dist/styles/shadow/glassmorphism.js +19 -0
  416. package/dist/styles/shadow/index.js +129 -0
  417. package/dist/styles/shadow/neumorphism.js +21 -0
  418. package/dist/styles/shadow/retro.js +19 -0
  419. package/dist/styles/shadow/sharp-business.js +19 -0
  420. package/dist/styles/shadow/skeuomorphic.js +21 -0
  421. package/dist/styles/shape/chamfer.js +19 -0
  422. package/dist/styles/shape/circle.js +19 -0
  423. package/dist/styles/shape/index.js +174 -0
  424. package/dist/styles/shape/organic.js +19 -0
  425. package/dist/styles/shape/pill.js +19 -0
  426. package/dist/styles/shape/rounded.js +21 -0
  427. package/dist/styles/shape/rounder.js +19 -0
  428. package/dist/styles/shape/sharp.js +19 -0
  429. package/dist/styles/shape/smooth.js +19 -0
  430. package/dist/styles/theme/aliyun.d.ts +1 -1
  431. package/dist/styles/theme/aliyun.d.ts.map +1 -1
  432. package/dist/styles/theme/aliyun.js +102 -0
  433. package/dist/styles/theme/amber.d.ts +1 -1
  434. package/dist/styles/theme/amber.d.ts.map +1 -1
  435. package/dist/styles/theme/amber.js +101 -0
  436. package/dist/styles/theme/blue.d.ts +1 -1
  437. package/dist/styles/theme/blue.d.ts.map +1 -1
  438. package/dist/styles/theme/blue.js +101 -0
  439. package/dist/styles/theme/charcoal.d.ts +1 -1
  440. package/dist/styles/theme/charcoal.d.ts.map +1 -1
  441. package/dist/styles/theme/charcoal.js +106 -0
  442. package/dist/styles/theme/cyan.d.ts +1 -1
  443. package/dist/styles/theme/cyan.d.ts.map +1 -1
  444. package/dist/styles/theme/cyan.js +96 -0
  445. package/dist/styles/theme/dark.d.ts +1 -1
  446. package/dist/styles/theme/dark.d.ts.map +1 -1
  447. package/dist/styles/theme/dark.js +106 -0
  448. package/dist/styles/theme/ebony.d.ts +1 -1
  449. package/dist/styles/theme/ebony.d.ts.map +1 -1
  450. package/dist/styles/theme/ebony.js +106 -0
  451. package/dist/styles/theme/festive.d.ts +1 -1
  452. package/dist/styles/theme/festive.d.ts.map +1 -1
  453. package/dist/styles/theme/festive.js +101 -0
  454. package/dist/styles/theme/graphite.d.ts +1 -1
  455. package/dist/styles/theme/graphite.d.ts.map +1 -1
  456. package/dist/styles/theme/graphite.js +106 -0
  457. package/dist/styles/theme/gray.d.ts +1 -1
  458. package/dist/styles/theme/gray.d.ts.map +1 -1
  459. package/dist/styles/theme/gray.js +101 -0
  460. package/dist/styles/theme/huawei.d.ts +1 -1
  461. package/dist/styles/theme/huawei.d.ts.map +1 -1
  462. package/dist/styles/theme/huawei.js +102 -0
  463. package/dist/styles/theme/index.d.ts +1 -1
  464. package/dist/styles/theme/index.d.ts.map +1 -1
  465. package/dist/styles/theme/index.js +276 -0
  466. package/dist/styles/theme/indigo.d.ts +1 -1
  467. package/dist/styles/theme/indigo.d.ts.map +1 -1
  468. package/dist/styles/theme/indigo.js +101 -0
  469. package/dist/styles/theme/ink.d.ts +1 -1
  470. package/dist/styles/theme/ink.d.ts.map +1 -1
  471. package/dist/styles/theme/ink.js +106 -0
  472. package/dist/styles/theme/light.d.ts +1 -1
  473. package/dist/styles/theme/light.d.ts.map +1 -1
  474. package/dist/styles/theme/light.js +102 -0
  475. package/dist/styles/theme/midnight.d.ts +1 -1
  476. package/dist/styles/theme/midnight.d.ts.map +1 -1
  477. package/dist/styles/theme/midnight.js +106 -0
  478. package/dist/styles/theme/navy.d.ts +1 -1
  479. package/dist/styles/theme/navy.d.ts.map +1 -1
  480. package/dist/styles/theme/navy.js +106 -0
  481. package/dist/styles/theme/obsidian.d.ts +1 -1
  482. package/dist/styles/theme/obsidian.d.ts.map +1 -1
  483. package/dist/styles/theme/obsidian.js +106 -0
  484. package/dist/styles/theme/onyx.d.ts +1 -1
  485. package/dist/styles/theme/onyx.d.ts.map +1 -1
  486. package/dist/styles/theme/onyx.js +106 -0
  487. package/dist/styles/theme/orange.d.ts +1 -1
  488. package/dist/styles/theme/orange.d.ts.map +1 -1
  489. package/dist/styles/theme/orange.js +101 -0
  490. package/dist/styles/theme/pink.d.ts +1 -1
  491. package/dist/styles/theme/pink.d.ts.map +1 -1
  492. package/dist/styles/theme/pink.js +101 -0
  493. package/dist/styles/theme/purple.d.ts +1 -1
  494. package/dist/styles/theme/purple.d.ts.map +1 -1
  495. package/dist/styles/theme/purple.js +101 -0
  496. package/dist/styles/theme/raisin.d.ts +1 -1
  497. package/dist/styles/theme/raisin.d.ts.map +1 -1
  498. package/dist/styles/theme/raisin.js +106 -0
  499. package/dist/styles/theme/slate.d.ts +1 -1
  500. package/dist/styles/theme/slate.d.ts.map +1 -1
  501. package/dist/styles/theme/slate.js +106 -0
  502. package/dist/styles/theme/teal.d.ts +1 -1
  503. package/dist/styles/theme/teal.d.ts.map +1 -1
  504. package/dist/styles/theme/teal.js +101 -0
  505. package/dist/styles/theme/tianyi.d.ts +1 -1
  506. package/dist/styles/theme/tianyi.d.ts.map +1 -1
  507. package/dist/styles/theme/tianyi.js +102 -0
  508. package/dist/styles/types.js +1 -0
  509. package/dist/styles/typo/business.js +34 -0
  510. package/dist/styles/typo/compact.js +34 -0
  511. package/dist/styles/typo/index.js +99 -0
  512. package/dist/styles/typo/luxury.js +34 -0
  513. package/dist/styles/typo/minimal.js +34 -0
  514. package/dist/types/index.js +2 -0
  515. package/dist/utils/dom.js +51 -0
  516. package/dist/utils/events.js +32 -0
  517. package/dist/utils/icon.js +176 -0
  518. package/dist/utils/index.js +4 -0
  519. package/dist/utils/utils.d.ts +5 -5
  520. package/dist/utils/utils.js +89 -0
  521. package/dist/utils/validation.js +52 -0
  522. package/docs/api/basic/button.md +9 -6
  523. package/docs/api/basic/tag.md +24 -17
  524. package/docs/api/data/box-table.md +73 -0
  525. package/docs/api/data/dropdown.md +3 -2
  526. package/docs/api/data/metrics.md +2 -0
  527. package/docs/api/data/table-column.md +37 -23
  528. package/docs/api/data/table.md +158 -44
  529. package/docs/api/data/tabs.md +46 -1
  530. package/docs/api/data/tree-menu.md +55 -2
  531. package/docs/api/display/box.md +66 -0
  532. package/docs/api/display/brief-box.md +73 -0
  533. package/docs/api/display/desc-item.md +57 -0
  534. package/docs/api/display/desc.md +204 -0
  535. package/docs/api/display/detail-box.md +75 -0
  536. package/docs/api/display/mini-box.md +100 -0
  537. package/docs/api/display/profile.md +92 -0
  538. package/docs/api/feedback/popover.md +10 -10
  539. package/docs/api/feedback/tooltip.md +14 -14
  540. package/docs/api/form/autoform-item.md +100 -0
  541. package/docs/api/form/autoform.md +4 -1
  542. package/docs/api/form/select.md +28 -28
  543. package/docs/api/framework/log-panel.md +46 -0
  544. package/docs/api/framework/sidebar.md +3 -2
  545. package/docs/api/summary.md +45 -35
  546. package/docs/api/theme/theme-switch.md +1 -1
  547. package/docs/autoform.md +13 -1
  548. package/docs/changelog/CHANGELOG.md +80 -0
  549. package/docs/changelog/VERSION_26.3.1.md +966 -0
  550. package/docs/datahub.md +1 -1
  551. package/docs/filter.md +332 -0
  552. package/docs/framework-integration.md +2 -2
  553. package/docs/guide.md +66 -1
  554. package/docs/i18n.md +2 -2
  555. package/docs/issue/issue_26.3.1.0.md +84 -0
  556. package/docs/issue/issue_26.3.1.1.md +72 -0
  557. package/docs/issue/issue_26.3.1.2.md +75 -0
  558. package/docs/issue/issue_26.3.1.3.md +78 -0
  559. package/docs/issue/issue_26.3.1.4.md +113 -0
  560. package/docs/issue/issue_26.3.1.5.md +142 -0
  561. package/docs/issue/issue_26.3.1.6.md +100 -0
  562. package/docs/issue/issue_26.3.1.7.md +78 -0
  563. package/docs/quickstart.md +5 -5
  564. package/package.json +5 -2
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Neumorphism shadow style tokens.
3
+ * 新拟态阴影风格令牌。
4
+ *
5
+ * Provides soft, extruded shadows with light and dark highlights
6
+ * for a tactile, 3D appearance.
7
+ * 提供柔和的凸起阴影,配合亮部和暗部高光,
8
+ * 营造触感强烈的3D效果。
9
+ */
10
+ export const neumorphismShadowTokens = {
11
+ '--aithe-shadow-1': '5px 5px 12px rgba(18, 24, 38, 0.15), -5px -5px 12px rgba(255, 255, 255, 0.8)',
12
+ '--aithe-shadow-2': '8px 8px 18px rgba(18, 24, 38, 0.18), -8px -8px 18px rgba(255, 255, 255, 0.75)',
13
+ '--aithe-shadow-3': '10px 10px 24px rgba(18, 24, 38, 0.2), -10px -10px 24px rgba(255, 255, 255, 0.7)',
14
+ '--aithe-shadow-4': '14px 14px 30px rgba(18, 24, 38, 0.22), -14px -14px 30px rgba(255, 255, 255, 0.65)',
15
+ '--aithe-shadow-5': '18px 18px 36px rgba(18, 24, 38, 0.25), -18px -18px 36px rgba(255, 255, 255, 0.6)',
16
+ '--aithe-shadow-glow': 'none',
17
+ '--aithe-shadow-inner': 'inset 3px 3px 6px rgba(18, 24, 38, 0.1), inset -3px -3px 6px rgba(255, 255, 255, 0.7)',
18
+ '--aithe-shadow-blur': '0px',
19
+ '--aithe-shadow-opacity': '1',
20
+ '--aithe-shadow-border-glow': '0px',
21
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Retro shadow style tokens.
3
+ * 复古阴影风格令牌。
4
+ *
5
+ * Provides warm, vintage-toned shadows with a nostalgic aesthetic.
6
+ * 提供温暖、复古色调的阴影,营造怀旧感。
7
+ */
8
+ export const retroShadowTokens = {
9
+ '--aithe-shadow-1': '0 2px 6px rgba(120, 90, 40, 0.15)',
10
+ '--aithe-shadow-2': '0 4px 10px rgba(120, 90, 40, 0.2)',
11
+ '--aithe-shadow-3': '0 6px 16px rgba(120, 90, 40, 0.25)',
12
+ '--aithe-shadow-4': '0 8px 22px rgba(120, 90, 40, 0.3)',
13
+ '--aithe-shadow-5': '0 12px 28px rgba(120, 90, 40, 0.35)',
14
+ '--aithe-shadow-glow': 'none',
15
+ '--aithe-shadow-inner': 'inset 0 0 60px rgba(120, 90, 40, 0.06)',
16
+ '--aithe-shadow-blur': '0px',
17
+ '--aithe-shadow-opacity': '1',
18
+ '--aithe-shadow-border-glow': '0px',
19
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Sharp Business shadow style tokens.
3
+ * 商务锐利阴影风格令牌。
4
+ *
5
+ * Provides clean, bottom-aligned shadows for a professional, corporate look.
6
+ * 提供简洁、底部对齐的阴影,营造专业商务风格。
7
+ */
8
+ export const sharpBusinessShadowTokens = {
9
+ '--aithe-shadow-1': '0 2px 0 rgba(18, 24, 38, 0.18)',
10
+ '--aithe-shadow-2': '0 3px 0 rgba(18, 24, 38, 0.22)',
11
+ '--aithe-shadow-3': '0 4px 0 rgba(18, 24, 38, 0.28)',
12
+ '--aithe-shadow-4': '0 5px 0 rgba(18, 24, 38, 0.34)',
13
+ '--aithe-shadow-5': '0 6px 0 rgba(18, 24, 38, 0.4)',
14
+ '--aithe-shadow-glow': 'none',
15
+ '--aithe-shadow-inner': 'none',
16
+ '--aithe-shadow-blur': '0px',
17
+ '--aithe-shadow-opacity': '1',
18
+ '--aithe-shadow-border-glow': '0px',
19
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Skeuomorphic shadow style tokens (default).
3
+ * 拟物化阴影风格令牌(默认)。
4
+ *
5
+ * Provides layered shadows mimicking realistic depth and material.
6
+ * The default shadow style for Aithe UI.
7
+ * 提供模拟真实材质和立体感的多层阴影。
8
+ * Aithe UI 的默认阴影风格。
9
+ */
10
+ export const skeuomorphicShadowTokens = {
11
+ '--aithe-shadow-1': '0 2px 4px rgba(18, 24, 38, 0.1), 0 4px 8px rgba(18, 24, 38, 0.06)',
12
+ '--aithe-shadow-2': '0 4px 8px rgba(18, 24, 38, 0.12), 0 8px 16px rgba(18, 24, 38, 0.08)',
13
+ '--aithe-shadow-3': '0 6px 12px rgba(18, 24, 38, 0.14), 0 12px 24px rgba(18, 24, 38, 0.1)',
14
+ '--aithe-shadow-4': '0 8px 16px rgba(18, 24, 38, 0.16), 0 16px 32px rgba(18, 24, 38, 0.12)',
15
+ '--aithe-shadow-5': '0 12px 20px rgba(18, 24, 38, 0.18), 0 20px 40px rgba(18, 24, 38, 0.14)',
16
+ '--aithe-shadow-glow': 'none',
17
+ '--aithe-shadow-inner': 'inset 0 1px 0 rgba(255, 255, 255, 0.15)',
18
+ '--aithe-shadow-blur': '0px',
19
+ '--aithe-shadow-opacity': '1',
20
+ '--aithe-shadow-border-glow': '0px',
21
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Chamfer shape style tokens.
3
+ * 切角形状风格令牌。
4
+ *
5
+ * Provides asymmetric border-radius for a geometric, beveled look.
6
+ * 提供非对称圆角,营造几何斜切效果。
7
+ */
8
+ export const chamferShapeTokens = {
9
+ '--aithe-radius-sm': '2px',
10
+ '--aithe-radius-md': '0px 8px 0px 8px',
11
+ '--aithe-radius-lg': '0px 12px 0px 12px',
12
+ '--aithe-radius-xl': '0px 16px 0px 16px',
13
+ '--aithe-radius-full': '0px 999px 0px 999px',
14
+ '--aithe-container-radius-sm': '2px',
15
+ '--aithe-container-radius-md': '0px 8px 0px 8px',
16
+ '--aithe-container-radius-lg': '0px 12px 0px 12px',
17
+ '--aithe-container-radius-xl': '0px 16px 0px 16px',
18
+ '--aithe-container-radius-full': '0px 999px 0px 999px',
19
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Circle shape style tokens.
3
+ * 圆形形状风格令牌。
4
+ *
5
+ * Provides fully circular (50%) border-radius for avatars and icons.
6
+ * 为头像和图标提供全圆形(50%)圆角。
7
+ */
8
+ export const circleShapeTokens = {
9
+ '--aithe-radius-sm': '50%',
10
+ '--aithe-radius-md': '50%',
11
+ '--aithe-radius-lg': '50%',
12
+ '--aithe-radius-xl': '50%',
13
+ '--aithe-radius-full': '50%',
14
+ '--aithe-container-radius-sm': '10px',
15
+ '--aithe-container-radius-md': '16px',
16
+ '--aithe-container-radius-lg': '22px',
17
+ '--aithe-container-radius-xl': '28px',
18
+ '--aithe-container-radius-full': '999px',
19
+ };
@@ -0,0 +1,174 @@
1
+ export { sharpShapeTokens } from './sharp';
2
+ export { smoothShapeTokens } from './smooth';
3
+ export { roundedShapeTokens } from './rounded';
4
+ export { rounderShapeTokens } from './rounder';
5
+ export { pillShapeTokens } from './pill';
6
+ export { circleShapeTokens } from './circle';
7
+ export { chamferShapeTokens } from './chamfer';
8
+ export { organicShapeTokens } from './organic';
9
+ import { sharpShapeTokens } from './sharp';
10
+ import { smoothShapeTokens } from './smooth';
11
+ import { roundedShapeTokens } from './rounded';
12
+ import { rounderShapeTokens } from './rounder';
13
+ import { pillShapeTokens } from './pill';
14
+ import { circleShapeTokens } from './circle';
15
+ import { chamferShapeTokens } from './chamfer';
16
+ import { organicShapeTokens } from './organic';
17
+ /** Map of all built-in shape style names to their CSS variable token maps. 所有内置形状风格名称到其 CSS 变量 token 映射的映射表。 */
18
+ const SHAPE_TOKENS = {
19
+ sharp: sharpShapeTokens,
20
+ smooth: smoothShapeTokens,
21
+ rounded: roundedShapeTokens,
22
+ rounder: rounderShapeTokens,
23
+ pill: pillShapeTokens,
24
+ circle: circleShapeTokens,
25
+ chamfer: chamferShapeTokens,
26
+ organic: organicShapeTokens,
27
+ };
28
+ /** Border-radius preview values for each built-in shape. 每个内置形状的 border-radius 预览值。 */
29
+ const SHAPE_PREVIEW_RADIUS = {
30
+ sharp: '0px',
31
+ smooth: '4px',
32
+ rounded: '10px',
33
+ rounder: '16px',
34
+ pill: '999px',
35
+ circle: '50%',
36
+ chamfer: '0px 8px 0px 8px',
37
+ organic: '30% 70% 70% 30% / 30% 30% 70% 70%',
38
+ };
39
+ /**
40
+ * Static tree menu data for shape selection, compatible with `<aithe-tree-menu>`.
41
+ * 用于形状选择的静态树形菜单数据,兼容 `<aithe-tree-menu>`。
42
+ * Each item carries a `preview` extension field with the border-radius value.
43
+ * 每个项携带 `preview` 扩展字段,包含 border-radius 值。
44
+ */
45
+ export const shapeMenu = Object.keys(SHAPE_TOKENS).map((shape) => ({
46
+ id: shape,
47
+ label: shape.charAt(0).toUpperCase() + shape.slice(1),
48
+ preview: SHAPE_PREVIEW_RADIUS[shape],
49
+ i18n: `shapePicker.${shape}`,
50
+ }));
51
+ /** localStorage key for persisting the selected shape style. 用于持久化所选形状风格的 localStorage 键名。 */
52
+ const STORAGE_KEY = 'aithe-shape';
53
+ /** Default shape style name. 默认形状风格名称。 */
54
+ export const AITHE_DEFAULT_SHAPE = 'rounded';
55
+ /** Current active shape style. 当前激活的形状风格。 */
56
+ let currentShape = AITHE_DEFAULT_SHAPE;
57
+ /** Set of listener functions for shape style changes. 形状风格变更监听函数集合。 */
58
+ const listeners = new Set();
59
+ /**
60
+ * Get the CSS variable token map for a given shape style.
61
+ * 获取指定形状风格的 CSS 变量 token 映射。
62
+ *
63
+ * @param shape - Shape style name. 形状风格名称。
64
+ * @returns CSS variable token map, or `undefined` if not found. CSS 变量 token 映射,若未找到则返回 `undefined`。
65
+ */
66
+ export function getShapeTokens(shape) {
67
+ return SHAPE_TOKENS[shape];
68
+ }
69
+ /**
70
+ * Get the list of all built-in shape style names.
71
+ * 获取所有内置形状风格名称列表。
72
+ *
73
+ * @returns Array of built-in shape style names. 内置形状风格名称数组。
74
+ */
75
+ export function getAitheShapes() {
76
+ return Object.keys(SHAPE_TOKENS);
77
+ }
78
+ /**
79
+ * Load the previously persisted shape style from localStorage.
80
+ * 从 localStorage 加载之前持久化的形状风格。
81
+ *
82
+ * @returns Stored shape name, or `undefined` if none. 存储的形状名称,若无则返回 `undefined`。
83
+ */
84
+ function loadStoredShape() {
85
+ try {
86
+ const raw = localStorage.getItem(STORAGE_KEY);
87
+ if (!raw)
88
+ return undefined;
89
+ return raw;
90
+ }
91
+ catch {
92
+ return undefined;
93
+ }
94
+ }
95
+ /**
96
+ * Persist the shape style name to localStorage.
97
+ * 将形状风格名称持久化到 localStorage。
98
+ *
99
+ * @param shape - Shape style name to persist. 要持久化的形状风格名称。
100
+ */
101
+ function storeShape(shape) {
102
+ try {
103
+ localStorage.setItem(STORAGE_KEY, shape);
104
+ }
105
+ catch {
106
+ // ignore
107
+ }
108
+ }
109
+ /**
110
+ * Apply shape CSS variable tokens to the document root.
111
+ * 将形状 CSS 变量 token 应用到文档根元素。
112
+ *
113
+ * @param shape - Shape style name. 形状风格名称。
114
+ */
115
+ function applyShapeTokens(shape) {
116
+ const root = document.documentElement;
117
+ const tokens = SHAPE_TOKENS[shape];
118
+ if (tokens) {
119
+ for (const [key, value] of Object.entries(tokens)) {
120
+ root.style.setProperty(key, value);
121
+ }
122
+ }
123
+ }
124
+ /**
125
+ * Set the global shape style and optionally persist to localStorage.
126
+ * 设置全局形状风格,可选持久化到 localStorage。
127
+ *
128
+ * @param shape - Shape style name to apply. 要应用的形状风格名称。
129
+ * @param persist - Whether to save to localStorage. Defaults to `true`. 是否保存到 localStorage,默认为 `true`。
130
+ */
131
+ export function setAitheShape(shape, persist = true) {
132
+ if (shape === currentShape)
133
+ return;
134
+ currentShape = shape;
135
+ if (persist)
136
+ storeShape(shape);
137
+ document.documentElement.dataset.aitheShape = shape;
138
+ applyShapeTokens(shape);
139
+ for (const fn of listeners) {
140
+ fn();
141
+ }
142
+ }
143
+ /**
144
+ * Get the current global shape style.
145
+ * 获取当前全局形状风格。
146
+ *
147
+ * @returns Current shape style name. 当前形状风格名称。
148
+ */
149
+ export function getAitheShape() {
150
+ return currentShape;
151
+ }
152
+ /**
153
+ * Initialize the shape subsystem: load stored preference and apply shape tokens.
154
+ * 初始化形状子系统:加载存储的偏好并应用形状 token。
155
+ *
156
+ * @param defaultShape - Fallback shape when no stored preference exists. Defaults to `AITHE_DEFAULT_SHAPE`. 无存储偏好时的回退形状,默认为 `AITHE_DEFAULT_SHAPE`。
157
+ */
158
+ export function initAitheShape(defaultShape = AITHE_DEFAULT_SHAPE) {
159
+ const stored = loadStoredShape();
160
+ currentShape = stored || defaultShape;
161
+ document.documentElement.dataset.aitheShape = currentShape;
162
+ applyShapeTokens(currentShape);
163
+ }
164
+ /**
165
+ * Subscribe to shape style changes. Returns an unsubscribe function.
166
+ * 订阅形状风格变更,返回取消订阅函数。
167
+ *
168
+ * @param fn - Callback function invoked when shape changes. 形状变更时调用的回调函数。
169
+ * @returns Unsubscribe function. 取消订阅函数。
170
+ */
171
+ export function onAitheShapeChange(fn) {
172
+ listeners.add(fn);
173
+ return () => listeners.delete(fn);
174
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Organic shape style tokens.
3
+ * 有机形状风格令牌。
4
+ *
5
+ * Provides fluid, blob-like border-radius for a playful, nature-inspired look.
6
+ * 提供流动、 blob 形状的圆角,营造活泼、自然的视觉效果。
7
+ */
8
+ export const organicShapeTokens = {
9
+ '--aithe-radius-sm': '30% 70% 70% 30% / 30% 30% 70% 70%',
10
+ '--aithe-radius-md': '30% 70% 70% 30% / 30% 30% 70% 70%',
11
+ '--aithe-radius-lg': '60% 40% 30% 70% / 60% 30% 70% 40%',
12
+ '--aithe-radius-xl': '60% 40% 30% 70% / 60% 30% 70% 40%',
13
+ '--aithe-radius-full': '63% 37% 30% 70% / 60% 30% 70% 40%',
14
+ '--aithe-container-radius-sm': '4px 10px 4px 10px',
15
+ '--aithe-container-radius-md': '6px 14px 6px 14px',
16
+ '--aithe-container-radius-lg': '8px 18px 8px 18px',
17
+ '--aithe-container-radius-xl': '10px 22px 10px 22px',
18
+ '--aithe-container-radius-full': '12px 26px 12px 26px',
19
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Pill shape style tokens.
3
+ * 药丸形状风格令牌。
4
+ *
5
+ * Provides fully rounded (999px) border-radius for buttons and tags.
6
+ * 为按钮和标签提供全圆角(999px)。
7
+ */
8
+ export const pillShapeTokens = {
9
+ '--aithe-radius-sm': '999px',
10
+ '--aithe-radius-md': '999px',
11
+ '--aithe-radius-lg': '999px',
12
+ '--aithe-radius-xl': '999px',
13
+ '--aithe-radius-full': '999px',
14
+ '--aithe-container-radius-sm': '10px',
15
+ '--aithe-container-radius-md': '16px',
16
+ '--aithe-container-radius-lg': '22px',
17
+ '--aithe-container-radius-xl': '28px',
18
+ '--aithe-container-radius-full': '999px',
19
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Rounded shape style tokens (default).
3
+ * 圆角形状风格令牌(默认)。
4
+ *
5
+ * Provides moderate border-radius for a friendly, approachable look.
6
+ * The default shape style for Aithe UI.
7
+ * 提供适中圆角,营造友好、亲切的视觉效果。
8
+ * Aithe UI 的默认形状风格。
9
+ */
10
+ export const roundedShapeTokens = {
11
+ '--aithe-radius-sm': '6px',
12
+ '--aithe-radius-md': '10px',
13
+ '--aithe-radius-lg': '14px',
14
+ '--aithe-radius-xl': '20px',
15
+ '--aithe-radius-full': '999px',
16
+ '--aithe-container-radius-sm': '6px',
17
+ '--aithe-container-radius-md': '10px',
18
+ '--aithe-container-radius-lg': '14px',
19
+ '--aithe-container-radius-xl': '20px',
20
+ '--aithe-container-radius-full': '999px',
21
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Rounder shape style tokens.
3
+ * 更圆润形状风格令牌。
4
+ *
5
+ * Provides larger border-radius for a softer, more rounded appearance.
6
+ * 提供更大的圆角,营造更加柔和、圆润的视觉效果。
7
+ */
8
+ export const rounderShapeTokens = {
9
+ '--aithe-radius-sm': '10px',
10
+ '--aithe-radius-md': '16px',
11
+ '--aithe-radius-lg': '22px',
12
+ '--aithe-radius-xl': '28px',
13
+ '--aithe-radius-full': '999px',
14
+ '--aithe-container-radius-sm': '10px',
15
+ '--aithe-container-radius-md': '16px',
16
+ '--aithe-container-radius-lg': '22px',
17
+ '--aithe-container-radius-xl': '28px',
18
+ '--aithe-container-radius-full': '999px',
19
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Sharp shape style tokens.
3
+ * 锐利形状风格令牌。
4
+ *
5
+ * Provides zero border-radius for a sharp, geometric appearance.
6
+ * 提供零圆角,营造锐利、几何化的外观。
7
+ */
8
+ export const sharpShapeTokens = {
9
+ '--aithe-radius-sm': '0px',
10
+ '--aithe-radius-md': '0px',
11
+ '--aithe-radius-lg': '0px',
12
+ '--aithe-radius-xl': '0px',
13
+ '--aithe-radius-full': '0px',
14
+ '--aithe-container-radius-sm': '0px',
15
+ '--aithe-container-radius-md': '0px',
16
+ '--aithe-container-radius-lg': '0px',
17
+ '--aithe-container-radius-xl': '0px',
18
+ '--aithe-container-radius-full': '0px',
19
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Smooth shape style tokens.
3
+ * 平滑形状风格令牌。
4
+ *
5
+ * Provides subtle border-radius for a clean, professional look.
6
+ * 提供轻微圆角,营造简洁、专业的视觉效果。
7
+ */
8
+ export const smoothShapeTokens = {
9
+ '--aithe-radius-sm': '2px',
10
+ '--aithe-radius-md': '4px',
11
+ '--aithe-radius-lg': '6px',
12
+ '--aithe-radius-xl': '8px',
13
+ '--aithe-radius-full': '999px',
14
+ '--aithe-container-radius-sm': '2px',
15
+ '--aithe-container-radius-md': '4px',
16
+ '--aithe-container-radius-lg': '6px',
17
+ '--aithe-container-radius-xl': '8px',
18
+ '--aithe-container-radius-full': '999px',
19
+ };
@@ -6,5 +6,5 @@
6
6
  * vibrant, tech-innovative style.
7
7
  * 灵感来自阿里云品牌色:橙色 primary (#FF6A00),配充满活力的科技创新风格。
8
8
  */
9
- export declare const aliyunThemeTokens = "\n.aithe-theme-aliyun,\n[data-aithe-theme='aliyun'] {\n color-scheme: light;\n --aithe-primary-1: #fff7ed;\n --aithe-primary-2: #ffedd5;\n --aithe-primary-3: #ffd8a8;\n --aithe-primary-4: #ffbe78;\n --aithe-primary-5: #ffa04a;\n --aithe-primary-6: #ff8228;\n --aithe-primary-7: #ff6a00;\n --aithe-primary-8: #d65700;\n --aithe-primary-9: #ad4700;\n --aithe-primary-10: #8a3900;\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: #f6f7f9;\n --aithe-neutral-2: #ebedf2;\n --aithe-neutral-3: #d9dce6;\n --aithe-neutral-4: #bfc4d2;\n --aithe-neutral-5: #a2a8ba;\n --aithe-neutral-6: #848ba0;\n --aithe-neutral-7: #656d85;\n --aithe-neutral-8: #485069;\n --aithe-neutral-9: #2c344b;\n --aithe-neutral-10: #161c2e;\n --aithe-color-bg: #faf7f3;\n --aithe-color-bg-subtle: linear-gradient(180deg, #fefbf8 0%, #f5f0ea 100%);\n --aithe-color-surface: rgba(255, 255, 255, 0.88);\n --aithe-color-surface-elevated: rgba(255, 255, 255, 0.98);\n --aithe-color-surface-muted: #f0eae2;\n --aithe-color-border: rgba(255, 106, 0, 0.16);\n --aithe-color-border-strong: rgba(255, 106, 0, 0.28);\n --aithe-color-text: #0e1524;\n --aithe-color-text-muted: #3d4a64;\n --aithe-color-text-subtle: #6c7a94;\n --aithe-color-overlay: rgba(10, 15, 28, 0.50);\n --aithe-color-selection: rgba(255, 106, 0, 0.16);\n --aithe-color-focus-ring: rgba(255, 106, 0, 0.34);\n --aithe-color-text-on-primary: #ffffff;\n --aithe-code-keyword: #7c3aed;\n --aithe-code-boolean: #b45309;\n --aithe-code-builtin: #2563eb;\n --aithe-code-number: #b45309;\n --aithe-code-string: #15803d;\n --aithe-code-function: #2563eb;\n --aithe-code-type: #a16207;\n --aithe-code-preprocessor: #7c3aed;\n --aithe-code-tag: #dc2626;\n --aithe-code-attr: #b45309;\n --aithe-code-key: #dc2626;\n --aithe-code-punctuation: #5c6bc0;\n --aithe-code-entity: #b45309;\n --aithe-code-comment: #94a3b8;\n --aithe-code-doctype: #94a3b8;\n --aithe-code-placeholder: #94a3b8;\n}\n";
9
+ export declare const aliyunThemeTokens = "\n.aithe-theme-aliyun,\n[data-aithe-theme='aliyun'] {\n color-scheme: light;\n --aithe-primary-1: #fff7ed;\n --aithe-primary-2: #ffedd5;\n --aithe-primary-3: #ffd8a8;\n --aithe-primary-4: #ffbe78;\n --aithe-primary-5: #ffa04a;\n --aithe-primary-6: #ff8228;\n --aithe-primary-7: #ff6a00;\n --aithe-primary-8: #d65700;\n --aithe-primary-9: #ad4700;\n --aithe-primary-10: #8a3900;\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: #f6f7f9;\n --aithe-neutral-2: #ebedf2;\n --aithe-neutral-3: #d9dce6;\n --aithe-neutral-4: #bfc4d2;\n --aithe-neutral-5: #a2a8ba;\n --aithe-neutral-6: #848ba0;\n --aithe-neutral-7: #656d85;\n --aithe-neutral-8: #485069;\n --aithe-neutral-9: #2c344b;\n --aithe-neutral-10: #161c2e;\n --aithe-fill-1: #f7f8fa;\n --aithe-fill-2: #f0f1f3;\n --aithe-color-bg: #faf7f3;\n --aithe-color-bg-subtle: linear-gradient(180deg, #fefbf8 0%, #f5f0ea 100%);\n --aithe-color-surface: rgba(255, 255, 255, 0.88);\n --aithe-color-surface-elevated: rgba(255, 255, 255, 0.98);\n --aithe-color-surface-muted: #f0eae2;\n --aithe-color-surface-hover: rgba(0, 0, 0, 0.04);\n --aithe-color-border: rgba(255, 106, 0, 0.16);\n --aithe-color-border-strong: rgba(255, 106, 0, 0.28);\n --aithe-color-text: #0e1524;\n --aithe-color-text-muted: #3d4a64;\n --aithe-color-text-subtle: #6c7a94;\n --aithe-color-overlay: rgba(10, 15, 28, 0.50);\n --aithe-color-selection: rgba(255, 106, 0, 0.16);\n --aithe-color-focus-ring: rgba(255, 106, 0, 0.34);\n --aithe-color-text-secondary: #3d4a66;\n --aithe-color-bg-muted: #e8ecf4;\n --aithe-color-bg-hover: rgba(0, 0, 0, 0.04);\n --aithe-color-border-subtle: rgba(76, 94, 132, 0.10);\n --aithe-primary-6-rgb: 77, 141, 255;\n --aithe-color-text-on-primary: #ffffff;\n --aithe-code-keyword: #7c3aed;\n --aithe-code-boolean: #b45309;\n --aithe-code-builtin: #2563eb;\n --aithe-code-number: #b45309;\n --aithe-code-string: #15803d;\n --aithe-code-function: #2563eb;\n --aithe-code-type: #a16207;\n --aithe-code-preprocessor: #7c3aed;\n --aithe-code-tag: #dc2626;\n --aithe-code-attr: #b45309;\n --aithe-code-key: #dc2626;\n --aithe-code-punctuation: #5c6bc0;\n --aithe-code-entity: #b45309;\n --aithe-code-comment: #94a3b8;\n --aithe-code-doctype: #94a3b8;\n --aithe-code-placeholder: #94a3b8;\n}\n";
10
10
  //# sourceMappingURL=aliyun.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aliyun.d.ts","sourceRoot":"","sources":["../../../src/styles/theme/aliyun.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,syFAqF7B,CAAC"}
1
+ {"version":3,"file":"aliyun.d.ts","sourceRoot":"","sources":["../../../src/styles/theme/aliyun.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,knGA6F7B,CAAC"}
@@ -0,0 +1,102 @@
1
+ /**
2
+ * Alibaba Cloud (Aliyun) theme tokens.
3
+ * 阿里云风格主题令牌。
4
+ *
5
+ * Inspired by Alibaba Cloud's brand identity: orange primary (#FF6A00) with
6
+ * vibrant, tech-innovative style.
7
+ * 灵感来自阿里云品牌色:橙色 primary (#FF6A00),配充满活力的科技创新风格。
8
+ */
9
+ export const aliyunThemeTokens = `
10
+ .aithe-theme-aliyun,
11
+ [data-aithe-theme='aliyun'] {
12
+ color-scheme: light;
13
+ --aithe-primary-1: #fff7ed;
14
+ --aithe-primary-2: #ffedd5;
15
+ --aithe-primary-3: #ffd8a8;
16
+ --aithe-primary-4: #ffbe78;
17
+ --aithe-primary-5: #ffa04a;
18
+ --aithe-primary-6: #ff8228;
19
+ --aithe-primary-7: #ff6a00;
20
+ --aithe-primary-8: #d65700;
21
+ --aithe-primary-9: #ad4700;
22
+ --aithe-primary-10: #8a3900;
23
+ --aithe-success-1: #effcf7;
24
+ --aithe-success-2: #d2f5e4;
25
+ --aithe-success-3: #afead0;
26
+ --aithe-success-4: #7fd5af;
27
+ --aithe-success-5: #59bd92;
28
+ --aithe-success-6: #3aa478;
29
+ --aithe-success-7: #2d8964;
30
+ --aithe-success-8: #266f53;
31
+ --aithe-success-9: #215a45;
32
+ --aithe-success-10: #1b4938;
33
+ --aithe-warning-1: #fff8e9;
34
+ --aithe-warning-2: #ffefc7;
35
+ --aithe-warning-3: #ffdd90;
36
+ --aithe-warning-4: #ffc45c;
37
+ --aithe-warning-5: #f2aa3d;
38
+ --aithe-warning-6: #d38b25;
39
+ --aithe-warning-7: #af6e1b;
40
+ --aithe-warning-8: #8e5718;
41
+ --aithe-warning-9: #724618;
42
+ --aithe-warning-10: #5b3815;
43
+ --aithe-danger-1: #fff0f3;
44
+ --aithe-danger-2: #ffdbe2;
45
+ --aithe-danger-3: #ffbbc8;
46
+ --aithe-danger-4: #ff8fa1;
47
+ --aithe-danger-5: #f66a80;
48
+ --aithe-danger-6: #de5069;
49
+ --aithe-danger-7: #bd3f56;
50
+ --aithe-danger-8: #99354a;
51
+ --aithe-danger-9: #7c2f3f;
52
+ --aithe-danger-10: #632837;
53
+ --aithe-neutral-1: #f6f7f9;
54
+ --aithe-neutral-2: #ebedf2;
55
+ --aithe-neutral-3: #d9dce6;
56
+ --aithe-neutral-4: #bfc4d2;
57
+ --aithe-neutral-5: #a2a8ba;
58
+ --aithe-neutral-6: #848ba0;
59
+ --aithe-neutral-7: #656d85;
60
+ --aithe-neutral-8: #485069;
61
+ --aithe-neutral-9: #2c344b;
62
+ --aithe-neutral-10: #161c2e;
63
+ --aithe-fill-1: #f7f8fa;
64
+ --aithe-fill-2: #f0f1f3;
65
+ --aithe-color-bg: #faf7f3;
66
+ --aithe-color-bg-subtle: linear-gradient(180deg, #fefbf8 0%, #f5f0ea 100%);
67
+ --aithe-color-surface: rgba(255, 255, 255, 0.88);
68
+ --aithe-color-surface-elevated: rgba(255, 255, 255, 0.98);
69
+ --aithe-color-surface-muted: #f0eae2;
70
+ --aithe-color-surface-hover: rgba(0, 0, 0, 0.04);
71
+ --aithe-color-border: rgba(255, 106, 0, 0.16);
72
+ --aithe-color-border-strong: rgba(255, 106, 0, 0.28);
73
+ --aithe-color-text: #0e1524;
74
+ --aithe-color-text-muted: #3d4a64;
75
+ --aithe-color-text-subtle: #6c7a94;
76
+ --aithe-color-overlay: rgba(10, 15, 28, 0.50);
77
+ --aithe-color-selection: rgba(255, 106, 0, 0.16);
78
+ --aithe-color-focus-ring: rgba(255, 106, 0, 0.34);
79
+ --aithe-color-text-secondary: #3d4a66;
80
+ --aithe-color-bg-muted: #e8ecf4;
81
+ --aithe-color-bg-hover: rgba(0, 0, 0, 0.04);
82
+ --aithe-color-border-subtle: rgba(76, 94, 132, 0.10);
83
+ --aithe-primary-6-rgb: 77, 141, 255;
84
+ --aithe-color-text-on-primary: #ffffff;
85
+ --aithe-code-keyword: #7c3aed;
86
+ --aithe-code-boolean: #b45309;
87
+ --aithe-code-builtin: #2563eb;
88
+ --aithe-code-number: #b45309;
89
+ --aithe-code-string: #15803d;
90
+ --aithe-code-function: #2563eb;
91
+ --aithe-code-type: #a16207;
92
+ --aithe-code-preprocessor: #7c3aed;
93
+ --aithe-code-tag: #dc2626;
94
+ --aithe-code-attr: #b45309;
95
+ --aithe-code-key: #dc2626;
96
+ --aithe-code-punctuation: #5c6bc0;
97
+ --aithe-code-entity: #b45309;
98
+ --aithe-code-comment: #94a3b8;
99
+ --aithe-code-doctype: #94a3b8;
100
+ --aithe-code-placeholder: #94a3b8;
101
+ }
102
+ `;
@@ -5,5 +5,5 @@
5
5
  * Warm & gentle, mild warning & emphasis.
6
6
  * 温暖柔和、温和警示与强调,适合内容平台、阅读场景、辅助提示。
7
7
  */
8
- export declare const amberThemeTokens = "\n.aithe-theme-amber,\n[data-aithe-theme='amber'] {\n color-scheme: light;\n --aithe-primary-1: #fffbe6;\n --aithe-primary-2: #fff3c4;\n --aithe-primary-3: #ffe78a;\n --aithe-primary-4: #ffd84d;\n --aithe-primary-5: #f0c020;\n --aithe-primary-6: #d4a010;\n --aithe-primary-7: #b08008;\n --aithe-primary-8: #8c6206;\n --aithe-primary-9: #6a4a04;\n --aithe-primary-10: #483202;\n --aithe-success-1: #f2faf1;\n --aithe-success-2: #daf0d6;\n --aithe-success-3: #b6e0ae;\n --aithe-success-4: #84cc78;\n --aithe-success-5: #5ab84e;\n --aithe-success-6: #3a9e32;\n --aithe-success-7: #2c8028;\n --aithe-success-8: #236421;\n --aithe-success-9: #1b4c1a;\n --aithe-success-10: #143613;\n --aithe-warning-1: #fff9f0;\n --aithe-warning-2: #ffefcc;\n --aithe-warning-3: #ffe0a0;\n --aithe-warning-4: #ffcc6a;\n --aithe-warning-5: #f0b030;\n --aithe-warning-6: #c89018;\n --aithe-warning-7: #a07010;\n --aithe-warning-8: #7a550c;\n --aithe-warning-9: #563e08;\n --aithe-warning-10: #3a2a05;\n --aithe-danger-1: #fff1f0;\n --aithe-danger-2: #ffddd9;\n --aithe-danger-3: #ffc0b8;\n --aithe-danger-4: #ff9a8e;\n --aithe-danger-5: #f07068;\n --aithe-danger-6: #d44844;\n --aithe-danger-7: #b02e2c;\n --aithe-danger-8: #8c201e;\n --aithe-danger-9: #6a1616;\n --aithe-danger-10: #4a0e0e;\n --aithe-neutral-1: #faf9f5;\n --aithe-neutral-2: #f2efe6;\n --aithe-neutral-3: #e4ded2;\n --aithe-neutral-4: #cec4b2;\n --aithe-neutral-5: #b0a48e;\n --aithe-neutral-6: #928872;\n --aithe-neutral-7: #746c5c;\n --aithe-neutral-8: #565044;\n --aithe-neutral-9: #38342c;\n --aithe-neutral-10: #1c1a14;\n --aithe-color-bg: #fdfaf2;\n --aithe-color-bg-subtle: linear-gradient(180deg, #fffdf6 0%, #faf4e6 100%);\n --aithe-color-surface: rgba(255, 254, 248, 0.86);\n --aithe-color-surface-elevated: rgba(255, 255, 255, 0.98);\n --aithe-color-surface-muted: #f2ead8;\n --aithe-color-border: rgba(140, 100, 30, 0.18);\n --aithe-color-border-strong: rgba(120, 80, 20, 0.28);\n --aithe-color-text: #2a2210;\n --aithe-color-text-muted: #6e5a2e;\n --aithe-color-text-subtle: #9e8a5a;\n --aithe-color-overlay: rgba(24, 18, 4, 0.48);\n --aithe-color-selection: rgba(212, 160, 16, 0.16);\n --aithe-color-focus-ring: rgba(212, 160, 16, 0.36);\n --aithe-color-text-on-primary: #ffffff;\n --aithe-code-keyword: #7c3aed;\n --aithe-code-boolean: #92400e;\n --aithe-code-builtin: #b45309;\n --aithe-code-number: #92400e;\n --aithe-code-string: #15803d;\n --aithe-code-function: #b45309;\n --aithe-code-type: #78350f;\n --aithe-code-preprocessor: #7c3aed;\n --aithe-code-tag: #dc2626;\n --aithe-code-attr: #92400e;\n --aithe-code-key: #dc2626;\n --aithe-code-punctuation: #5c6bc0;\n --aithe-code-entity: #92400e;\n --aithe-code-comment: #746c5c;\n --aithe-code-doctype: #746c5c;\n --aithe-code-placeholder: #746c5c;\n}\n";
8
+ export declare const amberThemeTokens = "\n.aithe-theme-amber,\n[data-aithe-theme='amber'] {\n color-scheme: light;\n --aithe-primary-1: #fffbe6;\n --aithe-primary-2: #fff3c4;\n --aithe-primary-3: #ffe78a;\n --aithe-primary-4: #ffd84d;\n --aithe-primary-5: #f0c020;\n --aithe-primary-6: #d4a010;\n --aithe-primary-7: #b08008;\n --aithe-primary-8: #8c6206;\n --aithe-primary-9: #6a4a04;\n --aithe-primary-10: #483202;\n --aithe-success-1: #f2faf1;\n --aithe-success-2: #daf0d6;\n --aithe-success-3: #b6e0ae;\n --aithe-success-4: #84cc78;\n --aithe-success-5: #5ab84e;\n --aithe-success-6: #3a9e32;\n --aithe-success-7: #2c8028;\n --aithe-success-8: #236421;\n --aithe-success-9: #1b4c1a;\n --aithe-success-10: #143613;\n --aithe-warning-1: #fff9f0;\n --aithe-warning-2: #ffefcc;\n --aithe-warning-3: #ffe0a0;\n --aithe-warning-4: #ffcc6a;\n --aithe-warning-5: #f0b030;\n --aithe-warning-6: #c89018;\n --aithe-warning-7: #a07010;\n --aithe-warning-8: #7a550c;\n --aithe-warning-9: #563e08;\n --aithe-warning-10: #3a2a05;\n --aithe-danger-1: #fff1f0;\n --aithe-danger-2: #ffddd9;\n --aithe-danger-3: #ffc0b8;\n --aithe-danger-4: #ff9a8e;\n --aithe-danger-5: #f07068;\n --aithe-danger-6: #d44844;\n --aithe-danger-7: #b02e2c;\n --aithe-danger-8: #8c201e;\n --aithe-danger-9: #6a1616;\n --aithe-danger-10: #4a0e0e;\n --aithe-neutral-1: #faf9f5;\n --aithe-neutral-2: #f2efe6;\n --aithe-neutral-3: #e4ded2;\n --aithe-neutral-4: #cec4b2;\n --aithe-neutral-5: #b0a48e;\n --aithe-neutral-6: #928872;\n --aithe-neutral-7: #746c5c;\n --aithe-neutral-8: #565044;\n --aithe-neutral-9: #38342c;\n --aithe-neutral-10: #1c1a14;\n --aithe-fill-1: #f7f8fa;\n --aithe-fill-2: #f0f1f3;\n --aithe-color-bg: #fdfaf2;\n --aithe-color-bg-subtle: linear-gradient(180deg, #fffdf6 0%, #faf4e6 100%);\n --aithe-color-surface: rgba(255, 254, 248, 0.86);\n --aithe-color-surface-elevated: rgba(255, 255, 255, 0.98);\n --aithe-color-surface-muted: #f2ead8;\n --aithe-color-surface-hover: rgba(0, 0, 0, 0.04);\n --aithe-color-border: rgba(140, 100, 30, 0.18);\n --aithe-color-border-strong: rgba(120, 80, 20, 0.28);\n --aithe-color-text: #2a2210;\n --aithe-color-text-muted: #6e5a2e;\n --aithe-color-text-subtle: #9e8a5a;\n --aithe-color-overlay: rgba(24, 18, 4, 0.48);\n --aithe-color-selection: rgba(212, 160, 16, 0.16);\n --aithe-color-focus-ring: rgba(212, 160, 16, 0.36);\n --aithe-color-text-secondary: #3d4a66;\n --aithe-color-bg-muted: #e8ecf4;\n --aithe-color-bg-hover: rgba(0, 0, 0, 0.04);\n --aithe-color-border-subtle: rgba(76, 94, 132, 0.10);\n --aithe-primary-6-rgb: 77, 141, 255;\n --aithe-color-text-on-primary: #ffffff;\n --aithe-code-keyword: #7c3aed;\n --aithe-code-boolean: #92400e;\n --aithe-code-builtin: #b45309;\n --aithe-code-number: #92400e;\n --aithe-code-string: #15803d;\n --aithe-code-function: #b45309;\n --aithe-code-type: #78350f;\n --aithe-code-preprocessor: #7c3aed;\n --aithe-code-tag: #dc2626;\n --aithe-code-attr: #92400e;\n --aithe-code-key: #dc2626;\n --aithe-code-punctuation: #5c6bc0;\n --aithe-code-entity: #92400e;\n --aithe-code-comment: #746c5c;\n --aithe-code-doctype: #746c5c;\n --aithe-code-placeholder: #746c5c;\n}\n";
9
9
  //# sourceMappingURL=amber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"amber.d.ts","sourceRoot":"","sources":["../../../src/styles/theme/amber.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,syFAqF5B,CAAC"}
1
+ {"version":3,"file":"amber.d.ts","sourceRoot":"","sources":["../../../src/styles/theme/amber.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,knGA6F5B,CAAC"}