@fangxinyan/lumina 0.6.3 → 0.6.4

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 (249) hide show
  1. package/dist/{Alert-QBKIDY5H.css → Alert-HVPI6L4V.css} +2 -2
  2. package/dist/Alert.cjs +3 -3
  3. package/dist/Alert.js +2 -2
  4. package/dist/{AppShell-RCALXUCZ.css → AppShell-FZCD4C56.css} +4 -4
  5. package/dist/AppShell.cjs +5 -5
  6. package/dist/AppShell.js +1 -1
  7. package/dist/{AutoComplete-P5KZMZO5.css → AutoComplete-4YZBMW4E.css} +2 -2
  8. package/dist/AutoComplete.cjs +5 -5
  9. package/dist/AutoComplete.js +4 -4
  10. package/dist/{Avatar-R5A4AFKZ.css → Avatar-TNPOHVY5.css} +1 -1
  11. package/dist/Avatar.cjs +2 -2
  12. package/dist/Avatar.js +1 -1
  13. package/dist/Badge.cjs +2 -2
  14. package/dist/Badge.js +1 -1
  15. package/dist/{Button-4Z3Q6KII.css → Button-TUMZUQLI.css} +11 -11
  16. package/dist/Button.cjs +3 -3
  17. package/dist/Button.js +2 -2
  18. package/dist/{Calendar-LHZELUDL.css → Calendar-RUTPKREW.css} +4 -4
  19. package/dist/Calendar.cjs +3 -3
  20. package/dist/Calendar.js +2 -2
  21. package/dist/{Card-6RMVIHWX.css → Card-MA6SV7D5.css} +6 -6
  22. package/dist/Card.cjs +2 -2
  23. package/dist/Card.js +1 -1
  24. package/dist/{Cascader-3BLLA7EN.css → Cascader-ANEQUPMI.css} +8 -8
  25. package/dist/Cascader.cjs +5 -5
  26. package/dist/Cascader.js +4 -4
  27. package/dist/{Checkbox-U5EUDSYS.css → Checkbox-EDNPZRIP.css} +3 -3
  28. package/dist/Checkbox.cjs +3 -3
  29. package/dist/Checkbox.js +2 -2
  30. package/dist/{Collapse-66U5YJFY.css → Collapse-UNBHEPYP.css} +2 -2
  31. package/dist/Collapse.cjs +3 -3
  32. package/dist/Collapse.js +2 -2
  33. package/dist/{ColorPicker-SDDQGHCM.css → ColorPicker-LPG6QPYF.css} +7 -7
  34. package/dist/ColorPicker.cjs +2 -2
  35. package/dist/ColorPicker.js +1 -1
  36. package/dist/{CommandPalette-T45DBMPY.css → CommandPalette-RTKWNH2D.css} +3 -3
  37. package/dist/CommandPalette.cjs +5 -5
  38. package/dist/CommandPalette.js +4 -4
  39. package/dist/{ContextMenu-FKW6CQW4.css → ContextMenu-WRR2SSWL.css} +3 -3
  40. package/dist/ContextMenu.cjs +2 -2
  41. package/dist/ContextMenu.js +1 -1
  42. package/dist/{Divider-OEE4Q2KS.css → Divider-RPQCVH3J.css} +2 -2
  43. package/dist/Divider.cjs +2 -2
  44. package/dist/Divider.js +1 -1
  45. package/dist/{Drawer-IPGB4CXH.css → Drawer-7N3URAJ6.css} +8 -5
  46. package/dist/Drawer.cjs +3 -3
  47. package/dist/Drawer.js +2 -2
  48. package/dist/{Empty-DC2LPORC.css → Empty-CZTRZMZQ.css} +1 -1
  49. package/dist/Empty.cjs +2 -2
  50. package/dist/Empty.js +1 -1
  51. package/dist/{Form-5GRVZNDO.css → Form-NGCQWTMZ.css} +1 -1
  52. package/dist/Form.cjs +4 -4
  53. package/dist/Form.js +1 -1
  54. package/dist/Icon.cjs +49 -49
  55. package/dist/Icon.js +1 -1
  56. package/dist/{Image-MRYQCRQ5.css → Image-SGSRTHQX.css} +5 -5
  57. package/dist/Image.cjs +6 -6
  58. package/dist/Image.js +2 -2
  59. package/dist/{Input-HUBJ55OH.css → Input-7GDPGP3E.css} +12 -12
  60. package/dist/Input.cjs +5 -5
  61. package/dist/Input.js +3 -3
  62. package/dist/InputNumber.cjs +5 -5
  63. package/dist/InputNumber.js +4 -4
  64. package/dist/{List-W5BW4D2P.css → List-LSMU5QAC.css} +3 -3
  65. package/dist/List.cjs +2 -2
  66. package/dist/List.js +1 -1
  67. package/dist/{Message-2MZ3LFPU.css → Message-H222YGR6.css} +1 -1
  68. package/dist/Message.cjs +6 -6
  69. package/dist/Message.js +2 -2
  70. package/dist/{Modal-2QNDW4SO.css → Modal-MCFDYVUQ.css} +3 -3
  71. package/dist/Modal.cjs +4 -4
  72. package/dist/Modal.js +3 -3
  73. package/dist/{Pagination-YIRYJUXP.css → Pagination-YSZSNFHG.css} +5 -5
  74. package/dist/Pagination.cjs +7 -7
  75. package/dist/Pagination.js +6 -6
  76. package/dist/{Popover-DVGQGWX6.css → Popover-Y3LDCJPW.css} +1 -1
  77. package/dist/Popover.cjs +2 -2
  78. package/dist/Popover.js +1 -1
  79. package/dist/{Progress-CHV7DN6Y.css → Progress-CZNXCYGW.css} +1 -1
  80. package/dist/Progress.cjs +2 -2
  81. package/dist/Progress.js +1 -1
  82. package/dist/{Radio-GVFDPAZM.css → Radio-IQKASYDF.css} +4 -4
  83. package/dist/Radio.cjs +3 -3
  84. package/dist/Radio.js +1 -1
  85. package/dist/{Select-Z5VYPEEY.css → Select-YZ2NUJSX.css} +18 -18
  86. package/dist/Select.cjs +6 -6
  87. package/dist/Select.js +5 -5
  88. package/dist/Skeleton.cjs +2 -2
  89. package/dist/Skeleton.js +1 -1
  90. package/dist/{Slider-3JKA5EW6.css → Slider-UM2IZZBH.css} +7 -7
  91. package/dist/Slider.cjs +2 -2
  92. package/dist/Slider.js +1 -1
  93. package/dist/{Spin-3GJNMSIH.css → Spin-GONGPV4Q.css} +1 -1
  94. package/dist/Spin.cjs +2 -2
  95. package/dist/Spin.js +1 -1
  96. package/dist/Splitter.cjs +2 -2
  97. package/dist/Splitter.js +1 -1
  98. package/dist/{StatusBar-CDS2GPSI.css → StatusBar-FJKEEPXU.css} +3 -7
  99. package/dist/StatusBar.cjs +3 -3
  100. package/dist/StatusBar.js +1 -1
  101. package/dist/Surface-UDDN3DGL.css +42 -0
  102. package/dist/Surface.cjs +16 -0
  103. package/dist/Surface.d.cts +60 -0
  104. package/dist/Surface.d.ts +60 -0
  105. package/dist/Surface.js +3 -0
  106. package/dist/{Switch-36KJNDXM.css → Switch-COAQIOMH.css} +8 -5
  107. package/dist/Switch.cjs +2 -2
  108. package/dist/Switch.js +1 -1
  109. package/dist/{Table-ATJJQLKU.css → Table-IYJTPY6J.css} +16 -16
  110. package/dist/Table.cjs +9 -9
  111. package/dist/Table.js +8 -8
  112. package/dist/{TablePro-3XVHYLSL.css → TablePro-JRSBPXB5.css} +1 -1
  113. package/dist/TablePro.cjs +10 -10
  114. package/dist/TablePro.js +9 -9
  115. package/dist/{Tabs-BLSNI2T5.css → Tabs-X5U5PCPV.css} +2 -2
  116. package/dist/Tabs.cjs +2 -2
  117. package/dist/Tabs.js +1 -1
  118. package/dist/{Tag-HDYCDPFS.css → Tag-G2XWAL7A.css} +1 -1
  119. package/dist/Tag.cjs +3 -3
  120. package/dist/Tag.js +2 -2
  121. package/dist/{Textarea-YNET7IBH.css → Textarea-YHWKHIFE.css} +3 -3
  122. package/dist/Textarea.cjs +4 -4
  123. package/dist/Textarea.js +2 -2
  124. package/dist/Theme.cjs +11 -11
  125. package/dist/Theme.d.cts +5 -1
  126. package/dist/Theme.d.ts +5 -1
  127. package/dist/Theme.js +1 -1
  128. package/dist/ThemePanel-76LB3YA5.css +509 -0
  129. package/dist/ThemePanel.cjs +29 -0
  130. package/dist/ThemePanel.d.cts +80 -0
  131. package/dist/ThemePanel.d.ts +80 -0
  132. package/dist/ThemePanel.js +12 -0
  133. package/dist/{Timeline-3ZHOHPXT.css → Timeline-ZIM7QFQC.css} +1 -1
  134. package/dist/Timeline.cjs +3 -3
  135. package/dist/Timeline.js +2 -2
  136. package/dist/{Tooltip-DMKUPC24.css → Tooltip-WI23DSRQ.css} +1 -1
  137. package/dist/Tooltip.cjs +2 -2
  138. package/dist/Tooltip.js +1 -1
  139. package/dist/{Typography-NKPWTJCV.css → Typography-GQNIJ4XD.css} +5 -5
  140. package/dist/Typography.cjs +7 -7
  141. package/dist/Typography.js +2 -2
  142. package/dist/{chunk-DWAN57G4.js → chunk-2NT5QKEX.js} +3 -3
  143. package/dist/{chunk-6BWELOCT.js → chunk-2SCXQ7QS.js} +2 -2
  144. package/dist/{chunk-TP567B3L.cjs → chunk-2ZADGBUN.cjs} +5 -5
  145. package/dist/{chunk-CETNCRZ4.js → chunk-2ZFJTMEF.js} +4 -4
  146. package/dist/{chunk-I5WTQ5Y3.js → chunk-3YP7CBJT.js} +3 -3
  147. package/dist/{chunk-UUHFKIWP.cjs → chunk-4UKM4KAC.cjs} +2 -2
  148. package/dist/{chunk-HLFH5HWR.js → chunk-56PHETWO.js} +3 -3
  149. package/dist/{chunk-R2TEDH2F.cjs → chunk-5JPAUQ5H.cjs} +7 -7
  150. package/dist/{chunk-MPVCYU2K.cjs → chunk-5NFSDFBB.cjs} +4 -4
  151. package/dist/{chunk-P6P4DGLF.cjs → chunk-66GXZQKL.cjs} +4 -4
  152. package/dist/{chunk-QP3VCSRY.cjs → chunk-66T76GII.cjs} +6 -6
  153. package/dist/chunk-6EOSMK34.cjs +194 -0
  154. package/dist/{chunk-WNM5RVXR.cjs → chunk-6GQPF3EI.cjs} +2 -2
  155. package/dist/{chunk-V272XR3F.cjs → chunk-6LARTGLP.cjs} +1 -1
  156. package/dist/chunk-6SPMHY54.js +191 -0
  157. package/dist/{chunk-YLIQ37KY.cjs → chunk-6XVLERA3.cjs} +2 -2
  158. package/dist/{chunk-FBYUZOZP.js → chunk-7D76MI37.js} +5 -5
  159. package/dist/{chunk-J5ZGYQZK.js → chunk-7NZ2A4MA.js} +155 -29
  160. package/dist/{chunk-KLEKKZ73.js → chunk-7ZNGHWVS.js} +1 -1
  161. package/dist/{chunk-7AG524YZ.cjs → chunk-ACQSRMLF.cjs} +5 -5
  162. package/dist/{chunk-JVUVOR6S.js → chunk-AJH2O4WC.js} +3 -3
  163. package/dist/{chunk-ET6DYQVZ.js → chunk-BCFCSVGJ.js} +3 -3
  164. package/dist/{chunk-NTS5L4NQ.cjs → chunk-BJ6WUVEG.cjs} +4 -4
  165. package/dist/{chunk-S3VXH5L4.cjs → chunk-C24W6PTJ.cjs} +2 -2
  166. package/dist/{chunk-GMN74OEY.cjs → chunk-CBKJXKVI.cjs} +2 -2
  167. package/dist/{chunk-FWPBORRB.js → chunk-CEZ2DR4R.js} +3 -3
  168. package/dist/{chunk-SQGPSMSK.js → chunk-CNGKJYGZ.js} +3 -3
  169. package/dist/{chunk-PULGVK2I.cjs → chunk-D5PCIVID.cjs} +4 -4
  170. package/dist/{chunk-DG5VQ6BO.cjs → chunk-D64IPDUE.cjs} +4 -4
  171. package/dist/{chunk-VFFIE2VO.cjs → chunk-DYHNOYRC.cjs} +7 -7
  172. package/dist/{chunk-P6EZG2R7.cjs → chunk-DYSGXQUK.cjs} +7 -7
  173. package/dist/{chunk-3YJU3D5S.cjs → chunk-F3LHLYX6.cjs} +2 -2
  174. package/dist/{chunk-H4LGWZMH.cjs → chunk-GBKUGKIY.cjs} +11 -11
  175. package/dist/{chunk-J2HZTJO6.js → chunk-GUZ2DNDC.js} +3 -3
  176. package/dist/{chunk-K6F25JXT.js → chunk-GZCU6HXD.js} +2 -2
  177. package/dist/{chunk-USQ43DJ5.js → chunk-HFUHQUPQ.js} +2 -2
  178. package/dist/{chunk-7JN6FJ55.js → chunk-HU7T64Y3.js} +2 -2
  179. package/dist/{chunk-X5GCOMC3.cjs → chunk-IDJCFYPP.cjs} +15 -15
  180. package/dist/{chunk-KD4YYIIO.cjs → chunk-IHK2FRTS.cjs} +2 -2
  181. package/dist/{chunk-Q5SZIU7Z.cjs → chunk-JFQ53MO4.cjs} +1 -1
  182. package/dist/{chunk-7PQJCLIR.js → chunk-KMG7OMOS.js} +2 -2
  183. package/dist/{chunk-2HQCUBA7.cjs → chunk-L27C5O4W.cjs} +4 -4
  184. package/dist/chunk-LFTCK2VM.cjs +1194 -0
  185. package/dist/{chunk-BVQ77VRY.js → chunk-LI4XJTEA.js} +3 -3
  186. package/dist/{chunk-45VJGBGN.js → chunk-LQLOOUS3.js} +2 -2
  187. package/dist/{chunk-PL6DRFUO.cjs → chunk-MOMLQP7B.cjs} +2 -2
  188. package/dist/{chunk-OF7JIYBY.cjs → chunk-MYHBC3HA.cjs} +2 -2
  189. package/dist/{chunk-LKK2AA7W.js → chunk-MYRLCN6V.js} +2 -2
  190. package/dist/{chunk-ZKE73UQF.cjs → chunk-N2BTMKF2.cjs} +5 -5
  191. package/dist/{chunk-6ZXQJRAT.cjs → chunk-N2COYOXE.cjs} +155 -29
  192. package/dist/{chunk-2TL37AP5.cjs → chunk-N3OLFKV5.cjs} +1 -1
  193. package/dist/{chunk-5JSDQ6QQ.cjs → chunk-NDO22RER.cjs} +2 -2
  194. package/dist/{chunk-ME5BZ2WA.js → chunk-NE7IUGMK.js} +3 -3
  195. package/dist/{chunk-F6RYCBQG.js → chunk-NFXHIO3G.js} +1 -1
  196. package/dist/chunk-NJCHFXGC.js +1170 -0
  197. package/dist/chunk-NT6CJYI3.cjs +129 -0
  198. package/dist/chunk-O43DOE7V.js +106 -0
  199. package/dist/{chunk-GNEZD7KE.cjs → chunk-O4BOBOYV.cjs} +2 -2
  200. package/dist/{chunk-XSN4TLN5.cjs → chunk-OGPDCBPD.cjs} +12 -12
  201. package/dist/{chunk-6YQTMI55.js → chunk-OHFZ7L4T.js} +2 -2
  202. package/dist/{chunk-7IYKKLV3.js → chunk-OHIFKN4E.js} +4 -4
  203. package/dist/{chunk-46VXFTEC.js → chunk-OQU3TJCF.js} +3 -3
  204. package/dist/{chunk-5TKC6IEN.js → chunk-PEJLXJQD.js} +1 -1
  205. package/dist/{chunk-HWFM4MAT.js → chunk-PKHITACT.js} +2 -2
  206. package/dist/{chunk-JCEHZ336.js → chunk-PNZJFLMY.js} +3 -3
  207. package/dist/{chunk-XRR3CYQL.js → chunk-QP7RXZES.js} +2 -2
  208. package/dist/{chunk-5MN3PMF4.cjs → chunk-QY76WTO5.cjs} +9 -9
  209. package/dist/{chunk-FGW5GJ22.cjs → chunk-R74TZKJS.cjs} +4 -4
  210. package/dist/{chunk-TGL5BGMR.js → chunk-REMJWNAT.js} +4 -4
  211. package/dist/{chunk-SWBWZIL4.cjs → chunk-S6OKX4H7.cjs} +2 -2
  212. package/dist/{chunk-EC4WGEAJ.js → chunk-SABWUELE.js} +2 -2
  213. package/dist/{chunk-QKQHZIF3.cjs → chunk-SG42F5VB.cjs} +2 -2
  214. package/dist/{chunk-5C2AI2SD.js → chunk-SQIWPU6V.js} +2 -2
  215. package/dist/{chunk-5DKRY67M.cjs → chunk-SYWTT5TY.cjs} +5 -5
  216. package/dist/{chunk-OBEKX4VR.js → chunk-TVUBGXWA.js} +2 -2
  217. package/dist/{chunk-7PNJI5UE.cjs → chunk-U2H4DRMV.cjs} +2 -2
  218. package/dist/{chunk-HKF2V5MM.cjs → chunk-VAXWWJJP.cjs} +9 -9
  219. package/dist/{chunk-5H5YP2TB.js → chunk-VNNQYJLT.js} +3 -3
  220. package/dist/{chunk-KGSADAOD.cjs → chunk-VSUMJX6Z.cjs} +2 -2
  221. package/dist/{chunk-K5IGFBDR.js → chunk-W5CJC7S7.js} +3 -3
  222. package/dist/{chunk-AXZ7ELMA.js → chunk-WEJKY3DF.js} +2 -2
  223. package/dist/{chunk-GIZU3H6H.js → chunk-WXWFMWWF.js} +3 -3
  224. package/dist/{chunk-TEEFR2FD.js → chunk-XHQGMMH7.js} +2 -2
  225. package/dist/{chunk-UKS23N3L.js → chunk-XVP7IKLZ.js} +4 -4
  226. package/dist/{chunk-ELNT3CFO.js → chunk-Y5F7ZTBH.js} +2 -2
  227. package/dist/{chunk-QCILPZWP.js → chunk-YJEXAO2I.js} +2 -2
  228. package/dist/{chunk-7ABFUIOB.cjs → chunk-YNCDTKAE.cjs} +2 -2
  229. package/dist/{chunk-K7FV7W6U.cjs → chunk-YSCIMHOI.cjs} +5 -5
  230. package/dist/{chunk-BPOOVO5T.js → chunk-YSXD344H.js} +5 -5
  231. package/dist/{chunk-47VG2P34.js → chunk-YT5NLCRC.js} +1 -1
  232. package/dist/{chunk-HZSIUOCN.cjs → chunk-YUKXNWVE.cjs} +1 -1
  233. package/dist/{chunk-65FIH5A3.js → chunk-YVTLHTG6.js} +2 -2
  234. package/dist/{chunk-GENABQYA.cjs → chunk-Z4PZ2ZHI.cjs} +2 -2
  235. package/dist/{chunk-6HMTV6P4.cjs → chunk-ZPKHGKVL.cjs} +4 -4
  236. package/dist/{chunk-AAGF7K3L.js → chunk-ZPP7LTHP.js} +3 -3
  237. package/dist/{chunk-IZOHYJUQ.cjs → chunk-ZWCDB5PP.cjs} +2 -2
  238. package/dist/index.cjs +214 -191
  239. package/dist/index.d.cts +3 -1
  240. package/dist/index.d.ts +3 -1
  241. package/dist/index.js +49 -46
  242. package/dist/styles.css +677 -168
  243. package/dist/{tokens-BIIUTPKN.css → tokens-EF34LSWI.css} +42 -17
  244. package/dist/tokens.css +42 -17
  245. package/docs/llms/surface.md +90 -0
  246. package/docs/llms/theme.md +24 -2
  247. package/docs/llms/themepanel.md +128 -0
  248. package/docs/llms.md +3 -1
  249. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import './tokens-BIIUTPKN.css';
1
+ import './tokens-EF34LSWI.css';
2
2
  import * as React from 'react';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -43,6 +43,10 @@ function isThemeBaseMode(mode) {
43
43
  function isBuiltInThemeMode(mode) {
44
44
  return mode === "light" || mode === "dark" || mode === "system";
45
45
  }
46
+ var TRANSIENT_THEME_MODES = /* @__PURE__ */ new Set(["__theme_panel_draft__"]);
47
+ function isTransientThemeMode(mode) {
48
+ return mode != null && TRANSIENT_THEME_MODES.has(mode);
49
+ }
46
50
  function getThemePreset(themes, mode) {
47
51
  if (!mode || isBuiltInThemeMode(mode)) return void 0;
48
52
  return themes?.[mode];
@@ -130,6 +134,63 @@ function normalizeAccentInput(input, colorScheme) {
130
134
  function toVar(key) {
131
135
  return key.startsWith("--") ? key : `--${key}`;
132
136
  }
137
+ var LEGACY_SHADOW_TOKEN_ALIASES = {
138
+ "--neu-flat": "--neu-shadow-subtle",
139
+ "--neu-out-sm": "--neu-shadow-control",
140
+ "--neu-out": "--neu-shadow-panel",
141
+ "--neu-out-lg": "--neu-shadow-lift",
142
+ "--neu-in-sm": "--neu-shadow-inset",
143
+ "--neu-in": "--neu-shadow-inset-strong",
144
+ "--neu-float": "--neu-shadow-float"
145
+ };
146
+ function applyShadowTokens(target, colorScheme) {
147
+ if (colorScheme === "dark") {
148
+ target.style.setProperty("--shadow-offset", "calc(4px * var(--d) * var(--shadow-scale))");
149
+ target.style.setProperty("--shadow-blur", "calc(10px * var(--d) * var(--shadow-scale))");
150
+ target.style.setProperty("--shadow-inset-offset", "calc(3px * var(--d) * var(--shadow-scale))");
151
+ target.style.setProperty("--shadow-inset-blur", "calc(7px * var(--d) * var(--shadow-scale))");
152
+ } else {
153
+ target.style.setProperty("--shadow-offset", "calc(6px * var(--d) * var(--shadow-scale))");
154
+ target.style.setProperty("--shadow-blur", "calc(16px * var(--d) * var(--shadow-scale))");
155
+ target.style.setProperty("--shadow-inset-offset", "calc(4px * var(--d) * var(--shadow-scale))");
156
+ target.style.setProperty("--shadow-inset-blur", "calc(10px * var(--d) * var(--shadow-scale))");
157
+ }
158
+ target.style.setProperty(
159
+ "--neu-shadow-panel",
160
+ "var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark), calc(var(--shadow-offset) * -1) calc(var(--shadow-offset) * -1) var(--shadow-blur) var(--shadow-light)"
161
+ );
162
+ target.style.setProperty(
163
+ "--neu-shadow-control",
164
+ "calc(var(--shadow-offset) * 0.5) calc(var(--shadow-offset) * 0.5) calc(var(--shadow-blur) * 0.6) var(--shadow-dark), calc(var(--shadow-offset) * -0.5) calc(var(--shadow-offset) * -0.5) calc(var(--shadow-blur) * 0.6) var(--shadow-light)"
165
+ );
166
+ target.style.setProperty(
167
+ "--neu-shadow-lift",
168
+ "calc(var(--shadow-offset) * 1.6) calc(var(--shadow-offset) * 1.6) calc(var(--shadow-blur) * 1.4) var(--shadow-dark), calc(var(--shadow-offset) * -1.6) calc(var(--shadow-offset) * -1.6) calc(var(--shadow-blur) * 1.4) var(--shadow-light)"
169
+ );
170
+ target.style.setProperty(
171
+ "--neu-shadow-inset-strong",
172
+ "inset var(--shadow-inset-offset) var(--shadow-inset-offset) var(--shadow-inset-blur) var(--shadow-dark), inset calc(var(--shadow-inset-offset) * -1) calc(var(--shadow-inset-offset) * -1) var(--shadow-inset-blur) var(--shadow-light)"
173
+ );
174
+ target.style.setProperty(
175
+ "--neu-shadow-inset",
176
+ "inset calc(var(--shadow-inset-offset) * 0.6) calc(var(--shadow-inset-offset) * 0.6) calc(var(--shadow-inset-blur) * 0.6) var(--shadow-dark), inset calc(var(--shadow-inset-offset) * -0.6) calc(var(--shadow-inset-offset) * -0.6) calc(var(--shadow-inset-blur) * 0.6) var(--shadow-light)"
177
+ );
178
+ target.style.setProperty(
179
+ "--neu-shadow-subtle",
180
+ "1px 1px 2px var(--shadow-dark), -1px -1px 2px var(--shadow-light)"
181
+ );
182
+ target.style.setProperty(
183
+ "--neu-shadow-float",
184
+ "0 calc(var(--shadow-offset) * 1.8 * var(--shadow-float-scale)) calc(var(--shadow-blur) * 2.2 * var(--shadow-float-scale)) var(--shadow-dark), 0 calc(var(--shadow-offset) * 0.4 * var(--shadow-float-scale)) calc(var(--shadow-blur) * 0.7 * var(--shadow-float-scale)) var(--shadow-dark)"
185
+ );
186
+ target.style.setProperty("--neu-out", "var(--neu-shadow-panel)");
187
+ target.style.setProperty("--neu-out-sm", "var(--neu-shadow-control)");
188
+ target.style.setProperty("--neu-out-lg", "var(--neu-shadow-lift)");
189
+ target.style.setProperty("--neu-in", "var(--neu-shadow-inset-strong)");
190
+ target.style.setProperty("--neu-in-sm", "var(--neu-shadow-inset)");
191
+ target.style.setProperty("--neu-flat", "var(--neu-shadow-subtle)");
192
+ target.style.setProperty("--neu-float", "var(--neu-shadow-float)");
193
+ }
133
194
  function applyTheme(target, config) {
134
195
  const cfg = resolveThemeConfig(config);
135
196
  resolveThemeMode(cfg.mode);
@@ -149,6 +210,7 @@ function applyTheme(target, config) {
149
210
  target.style.setProperty("--accent-glow", palette.glow);
150
211
  const intensity = cfg.intensity ?? DEFAULT_CONFIG.intensity;
151
212
  target.style.setProperty("--d", String(0.4 + intensity * 0.12));
213
+ applyShadowTokens(target, colorScheme);
152
214
  const r = cfg.radius ?? DEFAULT_CONFIG.radius;
153
215
  target.style.setProperty("--r-xs", `${Math.max(4, r - 16)}px`);
154
216
  target.style.setProperty("--r-sm", `${Math.max(6, r - 12)}px`);
@@ -166,8 +228,14 @@ function applyTheme(target, config) {
166
228
  if (font.mono) target.style.setProperty("--font-mono", font.mono);
167
229
  }
168
230
  if (cfg.tokens) {
231
+ const tokenVars = new Set(Object.keys(cfg.tokens).map(toVar));
169
232
  for (const [k, v] of Object.entries(cfg.tokens)) {
170
- target.style.setProperty(toVar(k), v);
233
+ const variable = toVar(k);
234
+ const semanticAlias = LEGACY_SHADOW_TOKEN_ALIASES[variable];
235
+ if (semanticAlias && !tokenVars.has(semanticAlias)) {
236
+ target.style.setProperty(semanticAlias, v);
237
+ }
238
+ target.style.setProperty(variable, v);
171
239
  }
172
240
  }
173
241
  }
@@ -189,16 +257,21 @@ function loadPersisted(key) {
189
257
  try {
190
258
  const raw = localStorage.getItem(key);
191
259
  if (!raw) return null;
192
- return JSON.parse(raw);
260
+ const persisted = JSON.parse(raw);
261
+ if (isTransientThemeMode(persisted.mode)) {
262
+ localStorage.removeItem(key);
263
+ return null;
264
+ }
265
+ return persisted;
193
266
  } catch {
194
267
  return null;
195
268
  }
196
269
  }
197
270
  function persist(key, cfg) {
198
271
  if (!key || !isBrowser) return;
272
+ if (isTransientThemeMode(cfg.mode)) return;
199
273
  try {
200
- const { themes: _themes, ...persisted } = cfg;
201
- localStorage.setItem(key, JSON.stringify(persisted));
274
+ localStorage.setItem(key, JSON.stringify(cfg));
202
275
  } catch {
203
276
  }
204
277
  }
@@ -214,6 +287,17 @@ var ThemeProvider = (props) => {
214
287
  ...configProps
215
288
  } = props;
216
289
  const initialConfig = React.useMemo(() => {
290
+ const applyExplicitProps = (base) => ({
291
+ ...base,
292
+ ...configProps.colorScheme !== void 0 ? { colorScheme: configProps.colorScheme } : null,
293
+ ...configProps.accent !== void 0 ? { accent: configProps.accent } : null,
294
+ ...configProps.density !== void 0 ? { density: configProps.density } : null,
295
+ ...configProps.intensity != null ? { intensity: configProps.intensity } : null,
296
+ ...configProps.radius != null ? { radius: configProps.radius } : null,
297
+ ...configProps.font !== void 0 ? { font: configProps.font } : null,
298
+ ...configProps.tokens !== void 0 ? { tokens: configProps.tokens } : null,
299
+ ...configProps.themes !== void 0 ? { themes: configProps.themes } : null
300
+ });
217
301
  const fromProps = {
218
302
  mode: configProps.mode ?? DEFAULT_CONFIG.mode,
219
303
  colorScheme: configProps.colorScheme,
@@ -227,42 +311,80 @@ var ThemeProvider = (props) => {
227
311
  };
228
312
  const persisted = loadPersisted(storageKey);
229
313
  const seeded = applyThemePreset(fromProps, fromProps.mode ?? DEFAULT_CONFIG.mode);
230
- const withExplicitProps = {
231
- ...seeded,
232
- ...configProps.colorScheme ? { colorScheme: configProps.colorScheme } : null,
233
- ...configProps.accent ? { accent: configProps.accent } : null,
234
- ...configProps.density ? { density: configProps.density } : null,
235
- ...configProps.intensity != null ? { intensity: configProps.intensity } : null,
236
- ...configProps.radius != null ? { radius: configProps.radius } : null,
237
- ...configProps.font ? { font: configProps.font } : null,
238
- ...configProps.tokens ? { tokens: configProps.tokens } : null
239
- };
314
+ const withExplicitProps = applyExplicitProps(seeded);
240
315
  if (!persisted) return withExplicitProps;
241
- const persistedMode = persisted.mode ?? withExplicitProps.mode ?? DEFAULT_CONFIG.mode;
242
- return {
316
+ let persistedForMerge = persisted;
317
+ if (configProps.themes !== void 0) {
318
+ const { themes: _persistedThemes, ...rest } = persisted;
319
+ persistedForMerge = rest;
320
+ }
321
+ const persistedMode = persistedForMerge.mode ?? withExplicitProps.mode ?? DEFAULT_CONFIG.mode;
322
+ const withPersisted = {
243
323
  ...applyThemePreset({ ...withExplicitProps, mode: persistedMode }, persistedMode),
244
- ...persisted
324
+ ...persistedForMerge,
325
+ ...configProps.themes !== void 0 ? { themes: configProps.themes } : null
245
326
  };
327
+ const withControlledThemePreset = configProps.themes !== void 0 && !isBuiltInThemeMode(persistedMode) ? applyThemePreset(withPersisted, persistedMode) : withPersisted;
328
+ return applyExplicitProps(withControlledThemePreset);
246
329
  }, []);
247
330
  const [config, setConfig] = React.useState(initialConfig);
331
+ const previousPropsRef = React.useRef({
332
+ mode: configProps.mode,
333
+ colorScheme: configProps.colorScheme,
334
+ accent: configProps.accent,
335
+ density: configProps.density,
336
+ intensity: configProps.intensity,
337
+ radius: configProps.radius,
338
+ font: configProps.font,
339
+ tokens: configProps.tokens,
340
+ themes: configProps.themes
341
+ });
248
342
  React.useEffect(() => {
343
+ const previous = previousPropsRef.current;
344
+ const changedProps = {};
345
+ const assignIfChanged = (key, value2) => {
346
+ if (value2 !== previous[key]) changedProps[key] = value2;
347
+ };
348
+ assignIfChanged("mode", configProps.mode);
349
+ assignIfChanged("colorScheme", configProps.colorScheme);
350
+ assignIfChanged("accent", configProps.accent);
351
+ assignIfChanged("density", configProps.density);
352
+ assignIfChanged("intensity", configProps.intensity);
353
+ assignIfChanged("radius", configProps.radius);
354
+ assignIfChanged("font", configProps.font);
355
+ assignIfChanged("tokens", configProps.tokens);
356
+ assignIfChanged("themes", configProps.themes);
357
+ previousPropsRef.current = {
358
+ mode: configProps.mode,
359
+ colorScheme: configProps.colorScheme,
360
+ accent: configProps.accent,
361
+ density: configProps.density,
362
+ intensity: configProps.intensity,
363
+ radius: configProps.radius,
364
+ font: configProps.font,
365
+ tokens: configProps.tokens,
366
+ themes: configProps.themes
367
+ };
368
+ if (Object.keys(changedProps).length === 0) return;
249
369
  setConfig((c) => {
250
370
  const base = {
251
371
  ...c,
252
- themes: configProps.themes ?? c.themes
372
+ ...Object.prototype.hasOwnProperty.call(changedProps, "themes") ? { themes: configProps.themes ?? DEFAULT_CONFIG.themes } : null
253
373
  };
254
- const mode = configProps.mode ?? c.mode ?? DEFAULT_CONFIG.mode;
255
- const nextFromMode = configProps.mode ? applyThemePreset(base, mode) : base;
374
+ const mode = Object.prototype.hasOwnProperty.call(changedProps, "mode") ? configProps.mode ?? DEFAULT_CONFIG.mode : c.mode ?? DEFAULT_CONFIG.mode;
375
+ const shouldApplyPreset = Object.prototype.hasOwnProperty.call(changedProps, "mode") || Object.prototype.hasOwnProperty.call(changedProps, "themes") && !isBuiltInThemeMode(mode);
376
+ const shouldUseProp = (key) => Object.prototype.hasOwnProperty.call(changedProps, key) || configProps[key] !== void 0;
377
+ const nextFromMode = shouldApplyPreset ? applyThemePreset(base, mode) : base;
256
378
  const next = {
257
379
  ...nextFromMode,
258
380
  mode,
259
- colorScheme: configProps.colorScheme ?? nextFromMode.colorScheme,
260
- accent: configProps.accent ?? nextFromMode.accent,
261
- density: configProps.density ?? nextFromMode.density,
262
- intensity: configProps.intensity ?? nextFromMode.intensity,
263
- radius: configProps.radius ?? nextFromMode.radius,
264
- font: configProps.font ?? nextFromMode.font,
265
- tokens: configProps.tokens ?? nextFromMode.tokens
381
+ ...shouldUseProp("colorScheme") ? { colorScheme: configProps.colorScheme } : null,
382
+ ...shouldUseProp("accent") ? { accent: configProps.accent } : null,
383
+ ...shouldUseProp("density") ? { density: configProps.density } : null,
384
+ ...shouldUseProp("intensity") ? { intensity: configProps.intensity } : null,
385
+ ...shouldUseProp("radius") ? { radius: configProps.radius } : null,
386
+ ...shouldUseProp("font") ? { font: configProps.font } : null,
387
+ ...shouldUseProp("tokens") ? { tokens: configProps.tokens } : null
266
388
  };
267
389
  if (next.mode === c.mode && next.colorScheme === c.colorScheme && next.accent === c.accent && next.density === c.density && next.intensity === c.intensity && next.radius === c.radius && next.font === c.font && next.tokens === c.tokens && next.themes === c.themes) {
268
390
  return c;
@@ -358,7 +480,11 @@ var ThemeProvider = (props) => {
358
480
  {
359
481
  ref: scopeRef,
360
482
  className,
361
- style,
483
+ style: {
484
+ color: "var(--fg)",
485
+ fontFamily: "var(--font-sans)",
486
+ ...style
487
+ },
362
488
  children
363
489
  }
364
490
  ) });
@@ -1,4 +1,4 @@
1
- import './tokens-BIIUTPKN.css';
1
+ import './tokens-EF34LSWI.css';
2
2
  import './shared-NJHRNLRH.css';
3
3
  import './Splitter-DHNOY4NC.css';
4
4
  import * as React from 'react';
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkV272XR3F_cjs = require('./chunk-V272XR3F.cjs');
4
- require('./tokens-BIIUTPKN.css');
3
+ var chunk6LARTGLP_cjs = require('./chunk-6LARTGLP.cjs');
4
+ require('./tokens-EF34LSWI.css');
5
5
  require('./shared-NJHRNLRH.css');
6
- require('./Calendar-LHZELUDL.css');
6
+ require('./Calendar-RUTPKREW.css');
7
7
  var React = require('react');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
9
 
@@ -66,7 +66,7 @@ var Calendar = React__namespace.forwardRef(({
66
66
  className: "btn icon sm ghost",
67
67
  onClick: () => setView(new Date(view.getFullYear(), view.getMonth() - 1, 1)),
68
68
  "aria-label": "Previous month",
69
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "chevLeft", size: 14 })
69
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "chevLeft", size: 14 })
70
70
  }
71
71
  ),
72
72
  /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "calendar-title", children: [
@@ -82,7 +82,7 @@ var Calendar = React__namespace.forwardRef(({
82
82
  className: "btn icon sm ghost",
83
83
  onClick: () => setView(new Date(view.getFullYear(), view.getMonth() + 1, 1)),
84
84
  "aria-label": "Next month",
85
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "chevRight", size: 14 })
85
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "chevRight", size: 14 })
86
86
  }
87
87
  )
88
88
  ] }),
@@ -1,7 +1,7 @@
1
- import { Icon } from './chunk-47VG2P34.js';
2
- import './tokens-BIIUTPKN.css';
1
+ import { Icon } from './chunk-YT5NLCRC.js';
2
+ import './tokens-EF34LSWI.css';
3
3
  import './shared-NJHRNLRH.css';
4
- import './Collapse-66U5YJFY.css';
4
+ import './Collapse-UNBHEPYP.css';
5
5
  import * as React from 'react';
6
6
  import { jsx, jsxs } from 'react/jsx-runtime';
7
7
 
@@ -1,7 +1,7 @@
1
- import { Icon } from './chunk-47VG2P34.js';
2
- import './tokens-BIIUTPKN.css';
1
+ import { Icon } from './chunk-YT5NLCRC.js';
2
+ import './tokens-EF34LSWI.css';
3
3
  import './shared-NJHRNLRH.css';
4
- import './Typography-NKPWTJCV.css';
4
+ import './Typography-GQNIJ4XD.css';
5
5
  import * as React from 'react';
6
6
  import { jsx, jsxs } from 'react/jsx-runtime';
7
7
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkQKQHZIF3_cjs = require('./chunk-QKQHZIF3.cjs');
4
- require('./tokens-BIIUTPKN.css');
3
+ var chunkSG42F5VB_cjs = require('./chunk-SG42F5VB.cjs');
4
+ require('./tokens-EF34LSWI.css');
5
5
  require('./shared-NJHRNLRH.css');
6
- require('./Timeline-3ZHOHPXT.css');
6
+ require('./Timeline-ZIM7QFQC.css');
7
7
  var React = require('react');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
9
 
@@ -96,7 +96,7 @@ var TimelineItem = ({
96
96
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cls, children: [
97
97
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "timeline-item-label", children: item.label }),
98
98
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "timeline-item-head", children: [
99
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `timeline-item-dot ${color} ${isPending ? "pending" : ""}`, children: item.dot ?? (isPending && /* @__PURE__ */ jsxRuntime.jsx(chunkQKQHZIF3_cjs.Spin, { size: 14 })) }),
99
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `timeline-item-dot ${color} ${isPending ? "pending" : ""}`, children: item.dot ?? (isPending && /* @__PURE__ */ jsxRuntime.jsx(chunkSG42F5VB_cjs.Spin, { size: 14 })) }),
100
100
  !isLast && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "timeline-item-tail" })
101
101
  ] }),
102
102
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "timeline-item-content", children: item.children })
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- require('./tokens-BIIUTPKN.css');
3
+ require('./tokens-EF34LSWI.css');
4
4
  require('./shared-NJHRNLRH.css');
5
- require('./Form-5GRVZNDO.css');
5
+ require('./Form-NGCQWTMZ.css');
6
6
  var React = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- require('./tokens-BIIUTPKN.css');
3
+ require('./tokens-EF34LSWI.css');
4
4
  require('./shared-NJHRNLRH.css');
5
- require('./Card-6RMVIHWX.css');
5
+ require('./Card-MA6SV7D5.css');
6
6
  var React = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
 
@@ -1,7 +1,7 @@
1
- import { Icon } from './chunk-47VG2P34.js';
2
- import './tokens-BIIUTPKN.css';
1
+ import { Icon } from './chunk-YT5NLCRC.js';
2
+ import './tokens-EF34LSWI.css';
3
3
  import './shared-NJHRNLRH.css';
4
- import './Calendar-LHZELUDL.css';
4
+ import './Calendar-RUTPKREW.css';
5
5
  import * as React from 'react';
6
6
  import { jsxs, jsx } from 'react/jsx-runtime';
7
7
 
@@ -1,7 +1,7 @@
1
- import { renderIconSlot } from './chunk-47VG2P34.js';
2
- import './tokens-BIIUTPKN.css';
1
+ import { renderIconSlot } from './chunk-YT5NLCRC.js';
2
+ import './tokens-EF34LSWI.css';
3
3
  import './shared-NJHRNLRH.css';
4
- import './Button-4Z3Q6KII.css';
4
+ import './Button-TUMZUQLI.css';
5
5
  import * as React from 'react';
6
6
  import { jsxs, jsx } from 'react/jsx-runtime';
7
7
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkHKF2V5MM_cjs = require('./chunk-HKF2V5MM.cjs');
4
- require('./tokens-BIIUTPKN.css');
3
+ var chunkVAXWWJJP_cjs = require('./chunk-VAXWWJJP.cjs');
4
+ require('./tokens-EF34LSWI.css');
5
5
  require('./shared-NJHRNLRH.css');
6
- require('./CommandPalette-T45DBMPY.css');
6
+ require('./CommandPalette-RTKWNH2D.css');
7
7
  var React = require('react');
8
8
  var ReactDOM = require('react-dom');
9
9
  var jsxRuntime = require('react/jsx-runtime');
@@ -149,7 +149,7 @@ var CommandPalette = React__namespace.forwardRef(({
149
149
  ...rest,
150
150
  children: [
151
151
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "cmdp-search", children: /* @__PURE__ */ jsxRuntime.jsx(
152
- chunkHKF2V5MM_cjs.Input,
152
+ chunkVAXWWJJP_cjs.Input,
153
153
  {
154
154
  ref: inputRef,
155
155
  size: "lg",
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkXSN4TLN5_cjs = require('./chunk-XSN4TLN5.cjs');
4
- require('./tokens-BIIUTPKN.css');
3
+ var chunkOGPDCBPD_cjs = require('./chunk-OGPDCBPD.cjs');
4
+ require('./tokens-EF34LSWI.css');
5
5
  require('./shared-NJHRNLRH.css');
6
- require('./TablePro-3XVHYLSL.css');
6
+ require('./TablePro-JRSBPXB5.css');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
 
9
9
  function TablePro({
@@ -20,7 +20,7 @@ function TablePro({
20
20
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "table-toolbar-main", children: toolbar }),
21
21
  actions && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "table-toolbar-actions", children: actions })
22
22
  ] }),
23
- /* @__PURE__ */ jsxRuntime.jsx(chunkXSN4TLN5_cjs.Table, { ...tableProps, className: "joined" }),
23
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOGPDCBPD_cjs.Table, { ...tableProps, className: "joined" }),
24
24
  footer && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "table-footer", children: footer })
25
25
  ] });
26
26
  }
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkV272XR3F_cjs = require('./chunk-V272XR3F.cjs');
4
- require('./tokens-BIIUTPKN.css');
3
+ var chunk6LARTGLP_cjs = require('./chunk-6LARTGLP.cjs');
4
+ require('./tokens-EF34LSWI.css');
5
5
  require('./shared-NJHRNLRH.css');
6
- require('./Image-MRYQCRQ5.css');
6
+ require('./Image-SGSRTHQX.css');
7
7
  var React = require('react');
8
8
  var ReactDOM = require('react-dom');
9
9
  var jsxRuntime = require('react/jsx-runtime');
@@ -97,10 +97,10 @@ var Image = React__namespace.forwardRef(({
97
97
  }
98
98
  }
99
99
  ),
100
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `n-image-placeholder ${loaded && !err ? "loaded" : ""}`, children: placeholder ?? /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "image", size: 28 }) }),
100
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `n-image-placeholder ${loaded && !err ? "loaded" : ""}`, children: placeholder ?? /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "image", size: 28 }) }),
101
101
  canPreview && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
102
102
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "image-hint", children: [
103
- /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "eye", size: 14 }),
103
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "eye", size: 14 }),
104
104
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "\u70B9\u51FB\u67E5\u770B" })
105
105
  ] }),
106
106
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "image-actions", onClick: (e) => e.stopPropagation(), children: [
@@ -111,10 +111,10 @@ var Image = React__namespace.forwardRef(({
111
111
  className: "ia-btn",
112
112
  onClick: () => setOpen(true),
113
113
  "aria-label": "\u9884\u89C8",
114
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "eye", size: 13 })
114
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "eye", size: 13 })
115
115
  }
116
116
  ),
117
- src && /* @__PURE__ */ jsxRuntime.jsx("a", { className: "ia-btn", href: src, download: true, "aria-label": "\u4E0B\u8F7D", children: /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "download", size: 13 }) })
117
+ src && /* @__PURE__ */ jsxRuntime.jsx("a", { className: "ia-btn", href: src, download: true, "aria-label": "\u4E0B\u8F7D", children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "download", size: 13 }) })
118
118
  ] })
119
119
  ] })
120
120
  ] })
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkX5GCOMC3_cjs = require('./chunk-X5GCOMC3.cjs');
4
- var chunkV272XR3F_cjs = require('./chunk-V272XR3F.cjs');
5
- require('./tokens-BIIUTPKN.css');
3
+ var chunkIDJCFYPP_cjs = require('./chunk-IDJCFYPP.cjs');
4
+ var chunk6LARTGLP_cjs = require('./chunk-6LARTGLP.cjs');
5
+ require('./tokens-EF34LSWI.css');
6
6
  require('./shared-NJHRNLRH.css');
7
- require('./Pagination-YIRYJUXP.css');
7
+ require('./Pagination-YSZSNFHG.css');
8
8
  var React = require('react');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
 
@@ -98,7 +98,7 @@ var Pagination = React__namespace.forwardRef(({
98
98
  className: `pg ${cur === 1 ? "disabled" : ""}`,
99
99
  onClick: () => cur > 1 && go(cur - 1),
100
100
  "aria-label": "Previous",
101
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "chevLeft", size: 12 })
101
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "chevLeft", size: 12 })
102
102
  }
103
103
  ),
104
104
  range().map(
@@ -120,11 +120,11 @@ var Pagination = React__namespace.forwardRef(({
120
120
  className: `pg ${cur === pages ? "disabled" : ""}`,
121
121
  onClick: () => cur < pages && go(cur + 1),
122
122
  "aria-label": "Next",
123
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "chevRight", size: 12 })
123
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "chevRight", size: 12 })
124
124
  }
125
125
  ),
126
126
  showSizeChanger && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pg-size-changer", children: /* @__PURE__ */ jsxRuntime.jsx(
127
- chunkX5GCOMC3_cjs.Select,
127
+ chunkIDJCFYPP_cjs.Select,
128
128
  {
129
129
  value: pageSize,
130
130
  size: "sm",
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkYB3IWIOJ_cjs = require('./chunk-YB3IWIOJ.cjs');
4
- require('./tokens-BIIUTPKN.css');
4
+ require('./tokens-EF34LSWI.css');
5
5
  require('./shared-NJHRNLRH.css');
6
- require('./Tooltip-DMKUPC24.css');
6
+ require('./Tooltip-WI23DSRQ.css');
7
7
  var React = require('react');
8
8
  var reactDom = require('react-dom');
9
9
  var jsxRuntime = require('react/jsx-runtime');
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkTP567B3L_cjs = require('./chunk-TP567B3L.cjs');
4
- var chunkV272XR3F_cjs = require('./chunk-V272XR3F.cjs');
5
- require('./tokens-BIIUTPKN.css');
3
+ var chunk2ZADGBUN_cjs = require('./chunk-2ZADGBUN.cjs');
4
+ var chunk6LARTGLP_cjs = require('./chunk-6LARTGLP.cjs');
5
+ require('./tokens-EF34LSWI.css');
6
6
  require('./shared-NJHRNLRH.css');
7
- require('./Modal-2QNDW4SO.css');
7
+ require('./Modal-MCFDYVUQ.css');
8
8
  var React = require('react');
9
9
  var ReactDOM = require('react-dom');
10
10
  var client = require('react-dom/client');
@@ -92,9 +92,9 @@ var ModalBase = React__namespace.forwardRef(({
92
92
  if (!open && destroyOnClose) return null;
93
93
  const overlayStyle = zIndex != null ? { zIndex } : void 0;
94
94
  const defaultFooter = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
95
- /* @__PURE__ */ jsxRuntime.jsx(chunkTP567B3L_cjs.Button, { variant: "ghost", onClick: handleCancel, ...cancelButtonProps, children: cancelText }),
95
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2ZADGBUN_cjs.Button, { variant: "ghost", onClick: handleCancel, ...cancelButtonProps, children: cancelText }),
96
96
  /* @__PURE__ */ jsxRuntime.jsx(
97
- chunkTP567B3L_cjs.Button,
97
+ chunk2ZADGBUN_cjs.Button,
98
98
  {
99
99
  variant: "primary",
100
100
  loading: confirmLoading,
@@ -139,7 +139,7 @@ var ModalBase = React__namespace.forwardRef(({
139
139
  className: "modal-close",
140
140
  onClick: handleCancel,
141
141
  "aria-label": "Close",
142
- children: closeIcon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "x", size: 16 })
142
+ children: closeIcon ?? /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "x", size: 16 })
143
143
  }
144
144
  )
145
145
  ] }),
@@ -206,9 +206,9 @@ var StaticModalHost = ({
206
206
  }, [destroy, onOk]);
207
207
  const okVariant = kind === "error" ? "danger" : "primary";
208
208
  const mergedFooter = footer !== void 0 ? footer : okCancel ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
209
- /* @__PURE__ */ jsxRuntime.jsx(chunkTP567B3L_cjs.Button, { variant: "ghost", onClick: close, ...cancelButtonProps, children: cancelText }),
209
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2ZADGBUN_cjs.Button, { variant: "ghost", onClick: close, ...cancelButtonProps, children: cancelText }),
210
210
  /* @__PURE__ */ jsxRuntime.jsx(
211
- chunkTP567B3L_cjs.Button,
211
+ chunk2ZADGBUN_cjs.Button,
212
212
  {
213
213
  variant: okVariant,
214
214
  loading: loading || confirmLoading,
@@ -218,7 +218,7 @@ var StaticModalHost = ({
218
218
  }
219
219
  )
220
220
  ] }) : /* @__PURE__ */ jsxRuntime.jsx(
221
- chunkTP567B3L_cjs.Button,
221
+ chunk2ZADGBUN_cjs.Button,
222
222
  {
223
223
  variant: okVariant,
224
224
  loading: loading || confirmLoading,
@@ -239,7 +239,7 @@ var StaticModalHost = ({
239
239
  escClosable: escClosable ?? true,
240
240
  className: `modal-static-overlay ${className}`,
241
241
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "modal-static-body", children: [
242
- icon !== false && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `modal-static-icon ${kind}`, children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: staticIconName[kind], size: 20 }) }),
242
+ icon !== false && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `modal-static-icon ${kind}`, children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: staticIconName[kind], size: 20 }) }),
243
243
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "modal-static-content", children: content ?? children })
244
244
  ] })
245
245
  }
@@ -1,7 +1,7 @@
1
- import { Table } from './chunk-BPOOVO5T.js';
2
- import './tokens-BIIUTPKN.css';
1
+ import { Table } from './chunk-YSXD344H.js';
2
+ import './tokens-EF34LSWI.css';
3
3
  import './shared-NJHRNLRH.css';
4
- import './TablePro-3XVHYLSL.css';
4
+ import './TablePro-JRSBPXB5.css';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
7
7
  function TablePro({
@@ -1,7 +1,7 @@
1
1
  import { useFloating } from './chunk-DUFRASGO.js';
2
- import './tokens-BIIUTPKN.css';
2
+ import './tokens-EF34LSWI.css';
3
3
  import './shared-NJHRNLRH.css';
4
- import './ColorPicker-SDDQGHCM.css';
4
+ import './ColorPicker-LPG6QPYF.css';
5
5
  import * as React from 'react';
6
6
  import { createPortal } from 'react-dom';
7
7
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
- import './tokens-BIIUTPKN.css';
1
+ import './tokens-EF34LSWI.css';
2
2
  import './shared-NJHRNLRH.css';
3
- import './Radio-GVFDPAZM.css';
3
+ import './Radio-IQKASYDF.css';
4
4
  import * as React from 'react';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
@@ -1,6 +1,6 @@
1
- import './tokens-BIIUTPKN.css';
1
+ import './tokens-EF34LSWI.css';
2
2
  import './shared-NJHRNLRH.css';
3
- import './Slider-3JKA5EW6.css';
3
+ import './Slider-UM2IZZBH.css';
4
4
  import * as React from 'react';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6