@fangxinyan/lumina 0.6.3 → 0.6.5

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 (255) 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-5FSPJWLX.css} +4 -2
  137. package/dist/Tooltip.cjs +2 -2
  138. package/dist/Tooltip.d.cts +2 -0
  139. package/dist/Tooltip.d.ts +2 -0
  140. package/dist/Tooltip.js +1 -1
  141. package/dist/{Typography-NKPWTJCV.css → Typography-32QQLD4F.css} +41 -11
  142. package/dist/Typography.cjs +8 -7
  143. package/dist/Typography.d.cts +1 -1
  144. package/dist/Typography.d.ts +1 -1
  145. package/dist/Typography.js +3 -2
  146. package/dist/{chunk-DWAN57G4.js → chunk-2NT5QKEX.js} +3 -3
  147. package/dist/{chunk-6BWELOCT.js → chunk-2SCXQ7QS.js} +2 -2
  148. package/dist/{chunk-TP567B3L.cjs → chunk-2ZADGBUN.cjs} +5 -5
  149. package/dist/{chunk-CETNCRZ4.js → chunk-2ZFJTMEF.js} +4 -4
  150. package/dist/{chunk-I5WTQ5Y3.js → chunk-3YP7CBJT.js} +3 -3
  151. package/dist/{chunk-UUHFKIWP.cjs → chunk-4UKM4KAC.cjs} +2 -2
  152. package/dist/{chunk-HLFH5HWR.js → chunk-56PHETWO.js} +3 -3
  153. package/dist/{chunk-ET6DYQVZ.js → chunk-5JNDDWFZ.js} +132 -14
  154. package/dist/{chunk-MPVCYU2K.cjs → chunk-5NFSDFBB.cjs} +4 -4
  155. package/dist/{chunk-P6P4DGLF.cjs → chunk-66GXZQKL.cjs} +4 -4
  156. package/dist/{chunk-QP3VCSRY.cjs → chunk-66T76GII.cjs} +6 -6
  157. package/dist/chunk-6EOSMK34.cjs +194 -0
  158. package/dist/{chunk-WNM5RVXR.cjs → chunk-6GQPF3EI.cjs} +2 -2
  159. package/dist/{chunk-V272XR3F.cjs → chunk-6LARTGLP.cjs} +1 -1
  160. package/dist/chunk-6SPMHY54.js +191 -0
  161. package/dist/{chunk-YLIQ37KY.cjs → chunk-6XVLERA3.cjs} +2 -2
  162. package/dist/{chunk-FBYUZOZP.js → chunk-7D76MI37.js} +5 -5
  163. package/dist/{chunk-J5ZGYQZK.js → chunk-7NZ2A4MA.js} +155 -29
  164. package/dist/{chunk-KLEKKZ73.js → chunk-7ZNGHWVS.js} +1 -1
  165. package/dist/{chunk-7AG524YZ.cjs → chunk-ACQSRMLF.cjs} +5 -5
  166. package/dist/{chunk-JVUVOR6S.js → chunk-AJH2O4WC.js} +3 -3
  167. package/dist/{chunk-NTS5L4NQ.cjs → chunk-BJ6WUVEG.cjs} +4 -4
  168. package/dist/{chunk-S3VXH5L4.cjs → chunk-C24W6PTJ.cjs} +2 -2
  169. package/dist/{chunk-GMN74OEY.cjs → chunk-CBKJXKVI.cjs} +2 -2
  170. package/dist/{chunk-FWPBORRB.js → chunk-CEZ2DR4R.js} +3 -3
  171. package/dist/{chunk-SQGPSMSK.js → chunk-CNGKJYGZ.js} +3 -3
  172. package/dist/{chunk-PULGVK2I.cjs → chunk-D5PCIVID.cjs} +4 -4
  173. package/dist/{chunk-DG5VQ6BO.cjs → chunk-D64IPDUE.cjs} +4 -4
  174. package/dist/{chunk-VFFIE2VO.cjs → chunk-DYHNOYRC.cjs} +7 -7
  175. package/dist/{chunk-P6EZG2R7.cjs → chunk-DYSGXQUK.cjs} +7 -7
  176. package/dist/{chunk-H4LGWZMH.cjs → chunk-GBKUGKIY.cjs} +11 -11
  177. package/dist/{chunk-J2HZTJO6.js → chunk-GUZ2DNDC.js} +3 -3
  178. package/dist/{chunk-K6F25JXT.js → chunk-GZCU6HXD.js} +2 -2
  179. package/dist/{chunk-USQ43DJ5.js → chunk-HFUHQUPQ.js} +2 -2
  180. package/dist/{chunk-7JN6FJ55.js → chunk-HU7T64Y3.js} +2 -2
  181. package/dist/{chunk-X5GCOMC3.cjs → chunk-IDJCFYPP.cjs} +15 -15
  182. package/dist/{chunk-KD4YYIIO.cjs → chunk-IHK2FRTS.cjs} +2 -2
  183. package/dist/{chunk-Q5SZIU7Z.cjs → chunk-JFQ53MO4.cjs} +1 -1
  184. package/dist/{chunk-7PQJCLIR.js → chunk-KMG7OMOS.js} +2 -2
  185. package/dist/{chunk-2HQCUBA7.cjs → chunk-L27C5O4W.cjs} +4 -4
  186. package/dist/chunk-LFTCK2VM.cjs +1194 -0
  187. package/dist/{chunk-BVQ77VRY.js → chunk-LI4XJTEA.js} +3 -3
  188. package/dist/{chunk-45VJGBGN.js → chunk-LQLOOUS3.js} +2 -2
  189. package/dist/{chunk-PL6DRFUO.cjs → chunk-MOMLQP7B.cjs} +2 -2
  190. package/dist/{chunk-OF7JIYBY.cjs → chunk-MYHBC3HA.cjs} +2 -2
  191. package/dist/{chunk-LKK2AA7W.js → chunk-MYRLCN6V.js} +2 -2
  192. package/dist/{chunk-ZKE73UQF.cjs → chunk-N2BTMKF2.cjs} +5 -5
  193. package/dist/{chunk-6ZXQJRAT.cjs → chunk-N2COYOXE.cjs} +155 -29
  194. package/dist/{chunk-2TL37AP5.cjs → chunk-N3OLFKV5.cjs} +1 -1
  195. package/dist/{chunk-5JSDQ6QQ.cjs → chunk-NDO22RER.cjs} +2 -2
  196. package/dist/{chunk-ME5BZ2WA.js → chunk-NE7IUGMK.js} +3 -3
  197. package/dist/{chunk-F6RYCBQG.js → chunk-NFXHIO3G.js} +1 -1
  198. package/dist/chunk-NJCHFXGC.js +1170 -0
  199. package/dist/chunk-NT6CJYI3.cjs +129 -0
  200. package/dist/chunk-O43DOE7V.js +106 -0
  201. package/dist/{chunk-GNEZD7KE.cjs → chunk-O4BOBOYV.cjs} +2 -2
  202. package/dist/{chunk-XSN4TLN5.cjs → chunk-OGPDCBPD.cjs} +12 -12
  203. package/dist/{chunk-6YQTMI55.js → chunk-OHFZ7L4T.js} +2 -2
  204. package/dist/{chunk-7IYKKLV3.js → chunk-OHIFKN4E.js} +4 -4
  205. package/dist/{chunk-46VXFTEC.js → chunk-OQU3TJCF.js} +3 -3
  206. package/dist/{chunk-5TKC6IEN.js → chunk-PEJLXJQD.js} +1 -1
  207. package/dist/{chunk-HWFM4MAT.js → chunk-PKHITACT.js} +2 -2
  208. package/dist/{chunk-JCEHZ336.js → chunk-PNZJFLMY.js} +3 -3
  209. package/dist/{chunk-XRR3CYQL.js → chunk-QP7RXZES.js} +2 -2
  210. package/dist/{chunk-5MN3PMF4.cjs → chunk-QY76WTO5.cjs} +9 -9
  211. package/dist/{chunk-FGW5GJ22.cjs → chunk-R74TZKJS.cjs} +4 -4
  212. package/dist/{chunk-TGL5BGMR.js → chunk-REMJWNAT.js} +4 -4
  213. package/dist/{chunk-3YJU3D5S.cjs → chunk-RIUDYPRB.cjs} +62 -13
  214. package/dist/{chunk-SWBWZIL4.cjs → chunk-S6OKX4H7.cjs} +2 -2
  215. package/dist/{chunk-EC4WGEAJ.js → chunk-SABWUELE.js} +2 -2
  216. package/dist/{chunk-TEEFR2FD.js → chunk-SFAGHPBT.js} +62 -13
  217. package/dist/{chunk-QKQHZIF3.cjs → chunk-SG42F5VB.cjs} +2 -2
  218. package/dist/{chunk-5C2AI2SD.js → chunk-SQIWPU6V.js} +2 -2
  219. package/dist/{chunk-5DKRY67M.cjs → chunk-SYWTT5TY.cjs} +5 -5
  220. package/dist/{chunk-OBEKX4VR.js → chunk-TVUBGXWA.js} +2 -2
  221. package/dist/{chunk-7PNJI5UE.cjs → chunk-U2H4DRMV.cjs} +2 -2
  222. package/dist/{chunk-HKF2V5MM.cjs → chunk-VAXWWJJP.cjs} +9 -9
  223. package/dist/{chunk-5H5YP2TB.js → chunk-VNNQYJLT.js} +3 -3
  224. package/dist/{chunk-KGSADAOD.cjs → chunk-VSUMJX6Z.cjs} +2 -2
  225. package/dist/{chunk-K5IGFBDR.js → chunk-W5CJC7S7.js} +3 -3
  226. package/dist/{chunk-AXZ7ELMA.js → chunk-WEJKY3DF.js} +2 -2
  227. package/dist/{chunk-GIZU3H6H.js → chunk-WXWFMWWF.js} +3 -3
  228. package/dist/{chunk-UKS23N3L.js → chunk-XVP7IKLZ.js} +4 -4
  229. package/dist/{chunk-ELNT3CFO.js → chunk-Y5F7ZTBH.js} +2 -2
  230. package/dist/{chunk-QCILPZWP.js → chunk-YJEXAO2I.js} +2 -2
  231. package/dist/{chunk-7ABFUIOB.cjs → chunk-YNCDTKAE.cjs} +2 -2
  232. package/dist/{chunk-K7FV7W6U.cjs → chunk-YSCIMHOI.cjs} +5 -5
  233. package/dist/{chunk-BPOOVO5T.js → chunk-YSXD344H.js} +5 -5
  234. package/dist/{chunk-47VG2P34.js → chunk-YT5NLCRC.js} +1 -1
  235. package/dist/{chunk-R2TEDH2F.cjs → chunk-YU5JK247.cjs} +135 -17
  236. package/dist/{chunk-HZSIUOCN.cjs → chunk-YUKXNWVE.cjs} +1 -1
  237. package/dist/{chunk-65FIH5A3.js → chunk-YVTLHTG6.js} +2 -2
  238. package/dist/{chunk-GENABQYA.cjs → chunk-Z4PZ2ZHI.cjs} +2 -2
  239. package/dist/{chunk-6HMTV6P4.cjs → chunk-ZPKHGKVL.cjs} +4 -4
  240. package/dist/{chunk-AAGF7K3L.js → chunk-ZPP7LTHP.js} +3 -3
  241. package/dist/{chunk-IZOHYJUQ.cjs → chunk-ZWCDB5PP.cjs} +2 -2
  242. package/dist/index.cjs +214 -191
  243. package/dist/index.d.cts +3 -1
  244. package/dist/index.d.ts +3 -1
  245. package/dist/index.js +49 -46
  246. package/dist/styles.css +715 -175
  247. package/dist/{tokens-BIIUTPKN.css → tokens-EF34LSWI.css} +42 -17
  248. package/dist/tokens.css +42 -17
  249. package/docs/llms/surface.md +90 -0
  250. package/docs/llms/theme.md +24 -2
  251. package/docs/llms/themepanel.md +128 -0
  252. package/docs/llms/tooltip.md +1 -0
  253. package/docs/llms/typography.md +12 -2
  254. package/docs/llms.md +3 -1
  255. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { Input } from './chunk-UKS23N3L.js';
2
- import { Icon } from './chunk-47VG2P34.js';
3
- import './tokens-BIIUTPKN.css';
1
+ import { Input } from './chunk-XVP7IKLZ.js';
2
+ import { Icon } from './chunk-YT5NLCRC.js';
3
+ import './tokens-EF34LSWI.css';
4
4
  import './shared-NJHRNLRH.css';
5
5
  import './InputNumber-VXQIWLQC.css';
6
6
  import * as React from 'react';
@@ -1,6 +1,6 @@
1
- import './tokens-BIIUTPKN.css';
1
+ import './tokens-EF34LSWI.css';
2
2
  import './shared-NJHRNLRH.css';
3
- import './Empty-DC2LPORC.css';
3
+ import './Empty-CZTRZMZQ.css';
4
4
  import * as React from 'react';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
@@ -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('./Progress-CHV7DN6Y.css');
5
+ require('./Progress-CZNXCYGW.css');
6
6
  var React = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
 
@@ -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('./ColorPicker-SDDQGHCM.css');
6
+ require('./ColorPicker-LPG6QPYF.css');
7
7
  var React = require('react');
8
8
  var reactDom = require('react-dom');
9
9
  var jsxRuntime = require('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 './Divider-OEE4Q2KS.css';
3
+ import './Divider-RPQCVH3J.css';
4
4
  import * as React from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
 
@@ -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('./Message-2MZ3LFPU.css');
6
+ require('./Message-H222YGR6.css');
7
7
  var React = require('react');
8
8
  var reactDom = require('react-dom');
9
9
  var client = require('react-dom/client');
@@ -117,12 +117,12 @@ var MessageContainer = React__namespace.forwardRef(({ placement = "top-right", c
117
117
  /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: `message-container ${placement} ${className}`, ...rest, children: list.map((t) => {
118
118
  const iconName = t.type === "success" ? "check2" : t.type === "warning" || t.type === "error" ? "alert" : "info";
119
119
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `message ${t.type}`, role: "status", children: [
120
- /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: iconName, size: 18, className: "message-icon" }),
120
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: iconName, size: 18, className: "message-icon" }),
121
121
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "message-body", children: [
122
122
  t.title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "message-title", children: t.title }),
123
123
  t.content && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "message-content", children: t.content })
124
124
  ] }),
125
- /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "message-close", onClick: () => message.dismiss(t.key ?? t.id), "aria-label": "Dismiss", children: /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "x", size: 14 }) })
125
+ /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "message-close", onClick: () => message.dismiss(t.key ?? t.id), "aria-label": "Dismiss", children: /* @__PURE__ */ jsxRuntime.jsx(chunk6LARTGLP_cjs.Icon, { name: "x", size: 14 }) })
126
126
  ] }, t.id);
127
127
  }) }),
128
128
  document.body
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('./tokens-BIIUTPKN.css');
3
+ require('./tokens-EF34LSWI.css');
4
4
  var React = require('react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
@@ -65,6 +65,10 @@ function isThemeBaseMode(mode) {
65
65
  function isBuiltInThemeMode(mode) {
66
66
  return mode === "light" || mode === "dark" || mode === "system";
67
67
  }
68
+ var TRANSIENT_THEME_MODES = /* @__PURE__ */ new Set(["__theme_panel_draft__"]);
69
+ function isTransientThemeMode(mode) {
70
+ return mode != null && TRANSIENT_THEME_MODES.has(mode);
71
+ }
68
72
  function getThemePreset(themes, mode) {
69
73
  if (!mode || isBuiltInThemeMode(mode)) return void 0;
70
74
  return themes?.[mode];
@@ -152,6 +156,63 @@ function normalizeAccentInput(input, colorScheme) {
152
156
  function toVar(key) {
153
157
  return key.startsWith("--") ? key : `--${key}`;
154
158
  }
159
+ var LEGACY_SHADOW_TOKEN_ALIASES = {
160
+ "--neu-flat": "--neu-shadow-subtle",
161
+ "--neu-out-sm": "--neu-shadow-control",
162
+ "--neu-out": "--neu-shadow-panel",
163
+ "--neu-out-lg": "--neu-shadow-lift",
164
+ "--neu-in-sm": "--neu-shadow-inset",
165
+ "--neu-in": "--neu-shadow-inset-strong",
166
+ "--neu-float": "--neu-shadow-float"
167
+ };
168
+ function applyShadowTokens(target, colorScheme) {
169
+ if (colorScheme === "dark") {
170
+ target.style.setProperty("--shadow-offset", "calc(4px * var(--d) * var(--shadow-scale))");
171
+ target.style.setProperty("--shadow-blur", "calc(10px * var(--d) * var(--shadow-scale))");
172
+ target.style.setProperty("--shadow-inset-offset", "calc(3px * var(--d) * var(--shadow-scale))");
173
+ target.style.setProperty("--shadow-inset-blur", "calc(7px * var(--d) * var(--shadow-scale))");
174
+ } else {
175
+ target.style.setProperty("--shadow-offset", "calc(6px * var(--d) * var(--shadow-scale))");
176
+ target.style.setProperty("--shadow-blur", "calc(16px * var(--d) * var(--shadow-scale))");
177
+ target.style.setProperty("--shadow-inset-offset", "calc(4px * var(--d) * var(--shadow-scale))");
178
+ target.style.setProperty("--shadow-inset-blur", "calc(10px * var(--d) * var(--shadow-scale))");
179
+ }
180
+ target.style.setProperty(
181
+ "--neu-shadow-panel",
182
+ "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)"
183
+ );
184
+ target.style.setProperty(
185
+ "--neu-shadow-control",
186
+ "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)"
187
+ );
188
+ target.style.setProperty(
189
+ "--neu-shadow-lift",
190
+ "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)"
191
+ );
192
+ target.style.setProperty(
193
+ "--neu-shadow-inset-strong",
194
+ "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)"
195
+ );
196
+ target.style.setProperty(
197
+ "--neu-shadow-inset",
198
+ "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)"
199
+ );
200
+ target.style.setProperty(
201
+ "--neu-shadow-subtle",
202
+ "1px 1px 2px var(--shadow-dark), -1px -1px 2px var(--shadow-light)"
203
+ );
204
+ target.style.setProperty(
205
+ "--neu-shadow-float",
206
+ "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)"
207
+ );
208
+ target.style.setProperty("--neu-out", "var(--neu-shadow-panel)");
209
+ target.style.setProperty("--neu-out-sm", "var(--neu-shadow-control)");
210
+ target.style.setProperty("--neu-out-lg", "var(--neu-shadow-lift)");
211
+ target.style.setProperty("--neu-in", "var(--neu-shadow-inset-strong)");
212
+ target.style.setProperty("--neu-in-sm", "var(--neu-shadow-inset)");
213
+ target.style.setProperty("--neu-flat", "var(--neu-shadow-subtle)");
214
+ target.style.setProperty("--neu-float", "var(--neu-shadow-float)");
215
+ }
155
216
  function applyTheme(target, config) {
156
217
  const cfg = resolveThemeConfig(config);
157
218
  resolveThemeMode(cfg.mode);
@@ -171,6 +232,7 @@ function applyTheme(target, config) {
171
232
  target.style.setProperty("--accent-glow", palette.glow);
172
233
  const intensity = cfg.intensity ?? DEFAULT_CONFIG.intensity;
173
234
  target.style.setProperty("--d", String(0.4 + intensity * 0.12));
235
+ applyShadowTokens(target, colorScheme);
174
236
  const r = cfg.radius ?? DEFAULT_CONFIG.radius;
175
237
  target.style.setProperty("--r-xs", `${Math.max(4, r - 16)}px`);
176
238
  target.style.setProperty("--r-sm", `${Math.max(6, r - 12)}px`);
@@ -188,8 +250,14 @@ function applyTheme(target, config) {
188
250
  if (font.mono) target.style.setProperty("--font-mono", font.mono);
189
251
  }
190
252
  if (cfg.tokens) {
253
+ const tokenVars = new Set(Object.keys(cfg.tokens).map(toVar));
191
254
  for (const [k, v] of Object.entries(cfg.tokens)) {
192
- target.style.setProperty(toVar(k), v);
255
+ const variable = toVar(k);
256
+ const semanticAlias = LEGACY_SHADOW_TOKEN_ALIASES[variable];
257
+ if (semanticAlias && !tokenVars.has(semanticAlias)) {
258
+ target.style.setProperty(semanticAlias, v);
259
+ }
260
+ target.style.setProperty(variable, v);
193
261
  }
194
262
  }
195
263
  }
@@ -211,16 +279,21 @@ function loadPersisted(key) {
211
279
  try {
212
280
  const raw = localStorage.getItem(key);
213
281
  if (!raw) return null;
214
- return JSON.parse(raw);
282
+ const persisted = JSON.parse(raw);
283
+ if (isTransientThemeMode(persisted.mode)) {
284
+ localStorage.removeItem(key);
285
+ return null;
286
+ }
287
+ return persisted;
215
288
  } catch {
216
289
  return null;
217
290
  }
218
291
  }
219
292
  function persist(key, cfg) {
220
293
  if (!key || !isBrowser) return;
294
+ if (isTransientThemeMode(cfg.mode)) return;
221
295
  try {
222
- const { themes: _themes, ...persisted } = cfg;
223
- localStorage.setItem(key, JSON.stringify(persisted));
296
+ localStorage.setItem(key, JSON.stringify(cfg));
224
297
  } catch {
225
298
  }
226
299
  }
@@ -236,6 +309,17 @@ var ThemeProvider = (props) => {
236
309
  ...configProps
237
310
  } = props;
238
311
  const initialConfig = React__namespace.useMemo(() => {
312
+ const applyExplicitProps = (base) => ({
313
+ ...base,
314
+ ...configProps.colorScheme !== void 0 ? { colorScheme: configProps.colorScheme } : null,
315
+ ...configProps.accent !== void 0 ? { accent: configProps.accent } : null,
316
+ ...configProps.density !== void 0 ? { density: configProps.density } : null,
317
+ ...configProps.intensity != null ? { intensity: configProps.intensity } : null,
318
+ ...configProps.radius != null ? { radius: configProps.radius } : null,
319
+ ...configProps.font !== void 0 ? { font: configProps.font } : null,
320
+ ...configProps.tokens !== void 0 ? { tokens: configProps.tokens } : null,
321
+ ...configProps.themes !== void 0 ? { themes: configProps.themes } : null
322
+ });
239
323
  const fromProps = {
240
324
  mode: configProps.mode ?? DEFAULT_CONFIG.mode,
241
325
  colorScheme: configProps.colorScheme,
@@ -249,42 +333,80 @@ var ThemeProvider = (props) => {
249
333
  };
250
334
  const persisted = loadPersisted(storageKey);
251
335
  const seeded = applyThemePreset(fromProps, fromProps.mode ?? DEFAULT_CONFIG.mode);
252
- const withExplicitProps = {
253
- ...seeded,
254
- ...configProps.colorScheme ? { colorScheme: configProps.colorScheme } : null,
255
- ...configProps.accent ? { accent: configProps.accent } : null,
256
- ...configProps.density ? { density: configProps.density } : null,
257
- ...configProps.intensity != null ? { intensity: configProps.intensity } : null,
258
- ...configProps.radius != null ? { radius: configProps.radius } : null,
259
- ...configProps.font ? { font: configProps.font } : null,
260
- ...configProps.tokens ? { tokens: configProps.tokens } : null
261
- };
336
+ const withExplicitProps = applyExplicitProps(seeded);
262
337
  if (!persisted) return withExplicitProps;
263
- const persistedMode = persisted.mode ?? withExplicitProps.mode ?? DEFAULT_CONFIG.mode;
264
- return {
338
+ let persistedForMerge = persisted;
339
+ if (configProps.themes !== void 0) {
340
+ const { themes: _persistedThemes, ...rest } = persisted;
341
+ persistedForMerge = rest;
342
+ }
343
+ const persistedMode = persistedForMerge.mode ?? withExplicitProps.mode ?? DEFAULT_CONFIG.mode;
344
+ const withPersisted = {
265
345
  ...applyThemePreset({ ...withExplicitProps, mode: persistedMode }, persistedMode),
266
- ...persisted
346
+ ...persistedForMerge,
347
+ ...configProps.themes !== void 0 ? { themes: configProps.themes } : null
267
348
  };
349
+ const withControlledThemePreset = configProps.themes !== void 0 && !isBuiltInThemeMode(persistedMode) ? applyThemePreset(withPersisted, persistedMode) : withPersisted;
350
+ return applyExplicitProps(withControlledThemePreset);
268
351
  }, []);
269
352
  const [config, setConfig] = React__namespace.useState(initialConfig);
353
+ const previousPropsRef = React__namespace.useRef({
354
+ mode: configProps.mode,
355
+ colorScheme: configProps.colorScheme,
356
+ accent: configProps.accent,
357
+ density: configProps.density,
358
+ intensity: configProps.intensity,
359
+ radius: configProps.radius,
360
+ font: configProps.font,
361
+ tokens: configProps.tokens,
362
+ themes: configProps.themes
363
+ });
270
364
  React__namespace.useEffect(() => {
365
+ const previous = previousPropsRef.current;
366
+ const changedProps = {};
367
+ const assignIfChanged = (key, value2) => {
368
+ if (value2 !== previous[key]) changedProps[key] = value2;
369
+ };
370
+ assignIfChanged("mode", configProps.mode);
371
+ assignIfChanged("colorScheme", configProps.colorScheme);
372
+ assignIfChanged("accent", configProps.accent);
373
+ assignIfChanged("density", configProps.density);
374
+ assignIfChanged("intensity", configProps.intensity);
375
+ assignIfChanged("radius", configProps.radius);
376
+ assignIfChanged("font", configProps.font);
377
+ assignIfChanged("tokens", configProps.tokens);
378
+ assignIfChanged("themes", configProps.themes);
379
+ previousPropsRef.current = {
380
+ mode: configProps.mode,
381
+ colorScheme: configProps.colorScheme,
382
+ accent: configProps.accent,
383
+ density: configProps.density,
384
+ intensity: configProps.intensity,
385
+ radius: configProps.radius,
386
+ font: configProps.font,
387
+ tokens: configProps.tokens,
388
+ themes: configProps.themes
389
+ };
390
+ if (Object.keys(changedProps).length === 0) return;
271
391
  setConfig((c) => {
272
392
  const base = {
273
393
  ...c,
274
- themes: configProps.themes ?? c.themes
394
+ ...Object.prototype.hasOwnProperty.call(changedProps, "themes") ? { themes: configProps.themes ?? DEFAULT_CONFIG.themes } : null
275
395
  };
276
- const mode = configProps.mode ?? c.mode ?? DEFAULT_CONFIG.mode;
277
- const nextFromMode = configProps.mode ? applyThemePreset(base, mode) : base;
396
+ const mode = Object.prototype.hasOwnProperty.call(changedProps, "mode") ? configProps.mode ?? DEFAULT_CONFIG.mode : c.mode ?? DEFAULT_CONFIG.mode;
397
+ const shouldApplyPreset = Object.prototype.hasOwnProperty.call(changedProps, "mode") || Object.prototype.hasOwnProperty.call(changedProps, "themes") && !isBuiltInThemeMode(mode);
398
+ const shouldUseProp = (key) => Object.prototype.hasOwnProperty.call(changedProps, key) || configProps[key] !== void 0;
399
+ const nextFromMode = shouldApplyPreset ? applyThemePreset(base, mode) : base;
278
400
  const next = {
279
401
  ...nextFromMode,
280
402
  mode,
281
- colorScheme: configProps.colorScheme ?? nextFromMode.colorScheme,
282
- accent: configProps.accent ?? nextFromMode.accent,
283
- density: configProps.density ?? nextFromMode.density,
284
- intensity: configProps.intensity ?? nextFromMode.intensity,
285
- radius: configProps.radius ?? nextFromMode.radius,
286
- font: configProps.font ?? nextFromMode.font,
287
- tokens: configProps.tokens ?? nextFromMode.tokens
403
+ ...shouldUseProp("colorScheme") ? { colorScheme: configProps.colorScheme } : null,
404
+ ...shouldUseProp("accent") ? { accent: configProps.accent } : null,
405
+ ...shouldUseProp("density") ? { density: configProps.density } : null,
406
+ ...shouldUseProp("intensity") ? { intensity: configProps.intensity } : null,
407
+ ...shouldUseProp("radius") ? { radius: configProps.radius } : null,
408
+ ...shouldUseProp("font") ? { font: configProps.font } : null,
409
+ ...shouldUseProp("tokens") ? { tokens: configProps.tokens } : null
288
410
  };
289
411
  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) {
290
412
  return c;
@@ -380,7 +502,11 @@ var ThemeProvider = (props) => {
380
502
  {
381
503
  ref: scopeRef,
382
504
  className,
383
- style,
505
+ style: {
506
+ color: "var(--fg)",
507
+ fontFamily: "var(--font-sans)",
508
+ ...style
509
+ },
384
510
  children
385
511
  }
386
512
  ) });
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('./tokens-BIIUTPKN.css');
3
+ require('./tokens-EF34LSWI.css');
4
4
  require('./shared-NJHRNLRH.css');
5
5
  require('./Splitter-DHNOY4NC.css');
6
6
  var React = require('react');
@@ -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('./Divider-OEE4Q2KS.css');
5
+ require('./Divider-RPQCVH3J.css');
6
6
  var React = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
 
@@ -1,7 +1,7 @@
1
- import { Input } from './chunk-UKS23N3L.js';
2
- import './tokens-BIIUTPKN.css';
1
+ import { Input } from './chunk-XVP7IKLZ.js';
2
+ import './tokens-EF34LSWI.css';
3
3
  import './shared-NJHRNLRH.css';
4
- import './CommandPalette-T45DBMPY.css';
4
+ import './CommandPalette-RTKWNH2D.css';
5
5
  import * as React from 'react';
6
6
  import ReactDOM from 'react-dom';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import './tokens-BIIUTPKN.css';
1
+ import './tokens-EF34LSWI.css';
2
2
  import './shared-NJHRNLRH.css';
3
3
  import './Badge-DPGLV3D3.css';
4
4
  import * as React from 'react';