@fangxinyan/lumina 0.5.0 → 0.6.0

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 (382) hide show
  1. package/dist/Accordion.cjs +3 -3
  2. package/dist/Accordion.d.cts +2 -2
  3. package/dist/Accordion.d.ts +2 -2
  4. package/dist/Accordion.js +2 -2
  5. package/dist/Alert.cjs +3 -3
  6. package/dist/Alert.d.cts +2 -2
  7. package/dist/Alert.d.ts +2 -2
  8. package/dist/Alert.js +2 -2
  9. package/dist/AppShell.cjs +5 -5
  10. package/dist/AppShell.d.cts +8 -8
  11. package/dist/AppShell.d.ts +8 -8
  12. package/dist/AppShell.js +1 -1
  13. package/dist/AutoComplete.cjs +5 -5
  14. package/dist/AutoComplete.d.cts +1 -4
  15. package/dist/AutoComplete.d.ts +1 -4
  16. package/dist/AutoComplete.js +4 -4
  17. package/dist/Avatar.cjs +2 -2
  18. package/dist/Avatar.d.cts +1 -1
  19. package/dist/Avatar.d.ts +1 -1
  20. package/dist/Avatar.js +1 -1
  21. package/dist/Button.cjs +4 -4
  22. package/dist/Button.js +2 -2
  23. package/dist/Calendar.cjs +3 -3
  24. package/dist/Calendar.d.cts +2 -2
  25. package/dist/Calendar.d.ts +2 -2
  26. package/dist/Calendar.js +2 -2
  27. package/dist/Cascader.cjs +4 -4
  28. package/dist/Cascader.d.cts +2 -2
  29. package/dist/Cascader.d.ts +2 -2
  30. package/dist/Cascader.js +3 -3
  31. package/dist/Checkbox.cjs +4 -4
  32. package/dist/Checkbox.d.cts +5 -5
  33. package/dist/Checkbox.d.ts +5 -5
  34. package/dist/Checkbox.js +2 -2
  35. package/dist/ColorPicker.cjs +3 -3
  36. package/dist/ColorPicker.d.cts +1 -3
  37. package/dist/ColorPicker.d.ts +1 -3
  38. package/dist/ColorPicker.js +2 -2
  39. package/dist/CommandPalette.cjs +4 -4
  40. package/dist/CommandPalette.d.cts +2 -2
  41. package/dist/CommandPalette.d.ts +2 -2
  42. package/dist/CommandPalette.js +3 -3
  43. package/dist/ContextMenu.cjs +2 -2
  44. package/dist/ContextMenu.d.cts +2 -2
  45. package/dist/ContextMenu.d.ts +2 -2
  46. package/dist/ContextMenu.js +1 -1
  47. package/dist/Divider.cjs +2 -2
  48. package/dist/Divider.d.cts +1 -1
  49. package/dist/Divider.d.ts +1 -1
  50. package/dist/Divider.js +1 -1
  51. package/dist/Drawer.cjs +3 -3
  52. package/dist/Drawer.d.cts +2 -2
  53. package/dist/Drawer.d.ts +2 -2
  54. package/dist/Drawer.js +2 -2
  55. package/dist/Empty.cjs +4 -4
  56. package/dist/Empty.d.cts +6 -6
  57. package/dist/Empty.d.ts +6 -6
  58. package/dist/Empty.js +1 -1
  59. package/dist/Form.cjs +4 -4
  60. package/dist/Form.d.cts +2 -2
  61. package/dist/Form.d.ts +2 -2
  62. package/dist/Form.js +1 -1
  63. package/dist/Icon.cjs +3 -3
  64. package/dist/Icon.d.cts +2 -2
  65. package/dist/Icon.d.ts +2 -2
  66. package/dist/Icon.js +1 -1
  67. package/dist/Image.cjs +4 -4
  68. package/dist/Image.d.cts +4 -4
  69. package/dist/Image.d.ts +4 -4
  70. package/dist/Image.js +2 -2
  71. package/dist/Input.cjs +4 -4
  72. package/dist/Input.js +2 -2
  73. package/dist/InputNumber.cjs +4 -4
  74. package/dist/InputNumber.d.cts +1 -5
  75. package/dist/InputNumber.d.ts +1 -5
  76. package/dist/InputNumber.js +3 -3
  77. package/dist/List.cjs +2 -2
  78. package/dist/List.d.cts +2 -2
  79. package/dist/List.d.ts +2 -2
  80. package/dist/List.js +1 -1
  81. package/dist/Modal.cjs +4 -4
  82. package/dist/Modal.d.cts +2 -2
  83. package/dist/Modal.d.ts +2 -2
  84. package/dist/Modal.js +3 -3
  85. package/dist/Pagination.cjs +6 -6
  86. package/dist/Pagination.d.cts +2 -2
  87. package/dist/Pagination.d.ts +2 -2
  88. package/dist/Pagination.js +5 -5
  89. package/dist/Popover-DVGQGWX6.css +103 -0
  90. package/dist/Popover.cjs +3 -3
  91. package/dist/Popover.d.cts +25 -3
  92. package/dist/Popover.d.ts +25 -3
  93. package/dist/Popover.js +2 -2
  94. package/dist/Progress-CHV7DN6Y.css +80 -0
  95. package/dist/Progress.cjs +2 -6
  96. package/dist/Progress.d.cts +5 -13
  97. package/dist/Progress.d.ts +5 -13
  98. package/dist/Progress.js +1 -1
  99. package/dist/Select.cjs +5 -5
  100. package/dist/Select.d.cts +6 -3
  101. package/dist/Select.d.ts +6 -3
  102. package/dist/Select.js +4 -4
  103. package/dist/Splitter.cjs +2 -2
  104. package/dist/Splitter.d.cts +2 -2
  105. package/dist/Splitter.d.ts +2 -2
  106. package/dist/Splitter.js +1 -1
  107. package/dist/StatusBar.cjs +3 -3
  108. package/dist/StatusBar.d.cts +3 -2
  109. package/dist/StatusBar.d.ts +3 -2
  110. package/dist/StatusBar.js +1 -1
  111. package/dist/Switch.cjs +2 -2
  112. package/dist/Switch.d.cts +2 -2
  113. package/dist/Switch.d.ts +2 -2
  114. package/dist/Switch.js +1 -1
  115. package/dist/Table.cjs +9 -9
  116. package/dist/Table.d.cts +4 -3
  117. package/dist/Table.d.ts +4 -3
  118. package/dist/Table.js +7 -7
  119. package/dist/Tabs.cjs +3 -3
  120. package/dist/Tabs.d.cts +5 -5
  121. package/dist/Tabs.d.ts +5 -5
  122. package/dist/Tabs.js +1 -1
  123. package/dist/Tag.cjs +4 -4
  124. package/dist/Tag.d.cts +2 -2
  125. package/dist/Tag.d.ts +2 -2
  126. package/dist/Tag.js +2 -2
  127. package/dist/Timeline-RHZAZKZ7.css +136 -0
  128. package/dist/Timeline.cjs +13 -0
  129. package/dist/Timeline.cjs.map +1 -0
  130. package/dist/Timeline.d.cts +38 -0
  131. package/dist/Timeline.d.ts +38 -0
  132. package/dist/Timeline.js +4 -0
  133. package/dist/Timeline.js.map +1 -0
  134. package/dist/{Toast-6PVSAXQ5.css → Toast-YSACW3EM.css} +2 -2
  135. package/dist/Toast.cjs +4 -4
  136. package/dist/Toast.d.cts +2 -2
  137. package/dist/Toast.d.ts +2 -2
  138. package/dist/Toast.js +2 -2
  139. package/dist/{Tooltip-ST24GY4S.css → Tooltip-DMKUPC24.css} +1 -0
  140. package/dist/Tooltip.cjs +3 -3
  141. package/dist/Tooltip.d.cts +2 -2
  142. package/dist/Tooltip.d.ts +2 -2
  143. package/dist/Tooltip.js +2 -2
  144. package/dist/Typography.cjs +7 -7
  145. package/dist/Typography.js +2 -2
  146. package/dist/{chunk-QVFEKGKI.cjs → chunk-2K5HZLXW.cjs} +6 -3
  147. package/dist/chunk-2K5HZLXW.cjs.map +1 -0
  148. package/dist/chunk-2LIX7ZHX.js +29 -0
  149. package/dist/chunk-2LIX7ZHX.js.map +1 -0
  150. package/dist/{chunk-N73JGXYZ.cjs → chunk-2TNJ7TC4.cjs} +22 -12
  151. package/dist/chunk-2TNJ7TC4.cjs.map +1 -0
  152. package/dist/chunk-3EGZ6TBF.cjs +65 -0
  153. package/dist/chunk-3EGZ6TBF.cjs.map +1 -0
  154. package/dist/{chunk-RFU5HN4E.js → chunk-3LJO33HI.js} +25 -7
  155. package/dist/chunk-3LJO33HI.js.map +1 -0
  156. package/dist/{chunk-RZ2E3XEU.cjs → chunk-3XIDJEYR.cjs} +21 -6
  157. package/dist/chunk-3XIDJEYR.cjs.map +1 -0
  158. package/dist/{chunk-UQB5OHMO.js → chunk-44AVDO3T.js} +27 -19
  159. package/dist/chunk-44AVDO3T.js.map +1 -0
  160. package/dist/chunk-474MXYO5.cjs +108 -0
  161. package/dist/chunk-474MXYO5.cjs.map +1 -0
  162. package/dist/{chunk-XCYE4OQV.js → chunk-4DNHASZU.js} +10 -8
  163. package/dist/chunk-4DNHASZU.js.map +1 -0
  164. package/dist/{chunk-OM76QWUN.js → chunk-4JHFGSNH.js} +24 -13
  165. package/dist/chunk-4JHFGSNH.js.map +1 -0
  166. package/dist/{chunk-6Z24VO3K.js → chunk-4XSP4HHZ.js} +18 -8
  167. package/dist/chunk-4XSP4HHZ.js.map +1 -0
  168. package/dist/{chunk-CTYW42GG.js → chunk-5VIOJW6M.js} +142 -129
  169. package/dist/chunk-5VIOJW6M.js.map +1 -0
  170. package/dist/{chunk-O7C6S644.js → chunk-6CAEGNCK.js} +10 -8
  171. package/dist/chunk-6CAEGNCK.js.map +1 -0
  172. package/dist/{chunk-JXHMJUVI.js → chunk-6FSOJLY6.js} +3 -3
  173. package/dist/{chunk-JXHMJUVI.js.map → chunk-6FSOJLY6.js.map} +1 -1
  174. package/dist/{chunk-LLNEDEST.cjs → chunk-6TRVGFFX.cjs} +18 -7
  175. package/dist/chunk-6TRVGFFX.cjs.map +1 -0
  176. package/dist/{chunk-7T2SLRNL.cjs → chunk-74VZZAUT.cjs} +14 -7
  177. package/dist/chunk-74VZZAUT.cjs.map +1 -0
  178. package/dist/{chunk-GR5STMOA.js → chunk-A3IJM7IX.js} +76 -50
  179. package/dist/chunk-A3IJM7IX.js.map +1 -0
  180. package/dist/{chunk-V2DIQ3RH.js → chunk-ANAQER3T.js} +21 -6
  181. package/dist/chunk-ANAQER3T.js.map +1 -0
  182. package/dist/{chunk-WZ73TWB2.cjs → chunk-AXRABZLY.cjs} +25 -7
  183. package/dist/chunk-AXRABZLY.cjs.map +1 -0
  184. package/dist/{chunk-QOGROEVD.js → chunk-BSHHQOFY.js} +27 -21
  185. package/dist/chunk-BSHHQOFY.js.map +1 -0
  186. package/dist/{chunk-JSDQVVQB.js → chunk-CVEGVB2C.js} +17 -12
  187. package/dist/chunk-CVEGVB2C.js.map +1 -0
  188. package/dist/{chunk-LXNR6TQK.js → chunk-D242UJZO.js} +14 -11
  189. package/dist/chunk-D242UJZO.js.map +1 -0
  190. package/dist/{chunk-AESLEYST.js → chunk-DB5JMXOI.js} +11 -9
  191. package/dist/chunk-DB5JMXOI.js.map +1 -0
  192. package/dist/{chunk-OWNVDXRQ.js → chunk-DCX36FYD.js} +23 -10
  193. package/dist/chunk-DCX36FYD.js.map +1 -0
  194. package/dist/{chunk-YCHUHMNP.cjs → chunk-DH4NYYJP.cjs} +46 -20
  195. package/dist/chunk-DH4NYYJP.cjs.map +1 -0
  196. package/dist/{chunk-ZFJHUOFU.js → chunk-DUNQNSVK.js} +21 -11
  197. package/dist/chunk-DUNQNSVK.js.map +1 -0
  198. package/dist/{chunk-5PREWYTB.js → chunk-E6K6GYUC.js} +21 -27
  199. package/dist/chunk-E6K6GYUC.js.map +1 -0
  200. package/dist/{chunk-IHACXMOI.js → chunk-EARCKSI7.js} +6 -3
  201. package/dist/chunk-EARCKSI7.js.map +1 -0
  202. package/dist/chunk-EHZXEZI2.cjs +78 -0
  203. package/dist/chunk-EHZXEZI2.cjs.map +1 -0
  204. package/dist/{chunk-HJIKU6MF.cjs → chunk-FBQLNAUI.cjs} +11 -9
  205. package/dist/chunk-FBQLNAUI.cjs.map +1 -0
  206. package/dist/chunk-FCIPCZAK.cjs +53 -0
  207. package/dist/chunk-FCIPCZAK.cjs.map +1 -0
  208. package/dist/{chunk-7M7NAMR5.js → chunk-FSOJHDXH.js} +18 -7
  209. package/dist/chunk-FSOJHDXH.js.map +1 -0
  210. package/dist/{chunk-BCPAY65C.cjs → chunk-HHSVGNJA.cjs} +7 -7
  211. package/dist/chunk-HHSVGNJA.cjs.map +1 -0
  212. package/dist/{chunk-WVBFQB26.cjs → chunk-HQO7EZNQ.cjs} +24 -14
  213. package/dist/chunk-HQO7EZNQ.cjs.map +1 -0
  214. package/dist/{chunk-MDQNUKCP.cjs → chunk-IL523MTN.cjs} +146 -133
  215. package/dist/chunk-IL523MTN.cjs.map +1 -0
  216. package/dist/{chunk-SMHXSEBD.cjs → chunk-JAGJQDAV.cjs} +22 -13
  217. package/dist/chunk-JAGJQDAV.cjs.map +1 -0
  218. package/dist/{chunk-RWHWEQQX.cjs → chunk-JF2WNLPF.cjs} +6 -6
  219. package/dist/{chunk-RWHWEQQX.cjs.map → chunk-JF2WNLPF.cjs.map} +1 -1
  220. package/dist/chunk-JS6U7UQS.js +86 -0
  221. package/dist/chunk-JS6U7UQS.js.map +1 -0
  222. package/dist/{chunk-TZXEZFCI.cjs → chunk-KA3XLPQJ.cjs} +34 -9
  223. package/dist/chunk-KA3XLPQJ.cjs.map +1 -0
  224. package/dist/{chunk-NS3C2ZSE.js → chunk-KWE2PXJQ.js} +8 -5
  225. package/dist/chunk-KWE2PXJQ.js.map +1 -0
  226. package/dist/{chunk-E62JFAHW.js → chunk-LSQD2GFA.js} +4 -4
  227. package/dist/chunk-LSQD2GFA.js.map +1 -0
  228. package/dist/{chunk-77TZHI76.cjs → chunk-MU4GGX6C.cjs} +14 -12
  229. package/dist/chunk-MU4GGX6C.cjs.map +1 -0
  230. package/dist/{chunk-IOWREUEP.js → chunk-MXIWTYNC.js} +17 -7
  231. package/dist/chunk-MXIWTYNC.js.map +1 -0
  232. package/dist/{chunk-5EAVXFFD.cjs → chunk-NRP3X3PE.cjs} +17 -12
  233. package/dist/chunk-NRP3X3PE.cjs.map +1 -0
  234. package/dist/{chunk-VQBZKRIB.cjs → chunk-P4CGE5C7.cjs} +19 -9
  235. package/dist/chunk-P4CGE5C7.cjs.map +1 -0
  236. package/dist/{chunk-TZLM5GF4.js → chunk-PX5ABNKV.js} +19 -10
  237. package/dist/chunk-PX5ABNKV.js.map +1 -0
  238. package/dist/{chunk-RQV7SMIZ.cjs → chunk-QCNHDDSD.cjs} +36 -13
  239. package/dist/chunk-QCNHDDSD.cjs.map +1 -0
  240. package/dist/{chunk-5N7347MI.js → chunk-QRSPBK3X.js} +8 -6
  241. package/dist/chunk-QRSPBK3X.js.map +1 -0
  242. package/dist/{chunk-6XZ362VL.js → chunk-RHZOBQON.js} +36 -15
  243. package/dist/chunk-RHZOBQON.js.map +1 -0
  244. package/dist/chunk-RNVE2LMJ.cjs +162 -0
  245. package/dist/chunk-RNVE2LMJ.cjs.map +1 -0
  246. package/dist/{chunk-TQLCIXCK.cjs → chunk-RXL26GSI.cjs} +28 -5
  247. package/dist/chunk-RXL26GSI.cjs.map +1 -0
  248. package/dist/{chunk-NN7WMXY4.cjs → chunk-S3OSBW7R.cjs} +19 -14
  249. package/dist/chunk-S3OSBW7R.cjs.map +1 -0
  250. package/dist/{chunk-33TIL25B.cjs → chunk-SREMTSVI.cjs} +47 -19
  251. package/dist/chunk-SREMTSVI.cjs.map +1 -0
  252. package/dist/{chunk-6GNFRP2H.js → chunk-SWB57EA2.js} +9 -7
  253. package/dist/chunk-SWB57EA2.js.map +1 -0
  254. package/dist/{chunk-KW7Z4IQC.js → chunk-T7ZBJJC4.js} +12 -7
  255. package/dist/chunk-T7ZBJJC4.js.map +1 -0
  256. package/dist/chunk-TC5ZL2OS.cjs +165 -0
  257. package/dist/chunk-TC5ZL2OS.cjs.map +1 -0
  258. package/dist/{chunk-XYVJ3FBQ.cjs → chunk-V24B7KWT.cjs} +12 -10
  259. package/dist/chunk-V24B7KWT.cjs.map +1 -0
  260. package/dist/{chunk-3BZ47QNV.cjs → chunk-V5KSJITO.cjs} +7 -7
  261. package/dist/{chunk-3BZ47QNV.cjs.map → chunk-V5KSJITO.cjs.map} +1 -1
  262. package/dist/{chunk-YFBHVTKN.cjs → chunk-WFFWVQK4.cjs} +7 -7
  263. package/dist/{chunk-YFBHVTKN.cjs.map → chunk-WFFWVQK4.cjs.map} +1 -1
  264. package/dist/{chunk-I7WLFADD.js → chunk-WLFMOWUY.js} +3 -3
  265. package/dist/{chunk-I7WLFADD.js.map → chunk-WLFMOWUY.js.map} +1 -1
  266. package/dist/{chunk-I2HHC6QW.js → chunk-X3QINITU.js} +17 -6
  267. package/dist/chunk-X3QINITU.js.map +1 -0
  268. package/dist/{chunk-2ENTRT7R.cjs → chunk-XMFVAYBP.cjs} +20 -9
  269. package/dist/chunk-XMFVAYBP.cjs.map +1 -0
  270. package/dist/{chunk-HXSAH4Y6.cjs → chunk-XMINE4TN.cjs} +28 -17
  271. package/dist/chunk-XMINE4TN.cjs.map +1 -0
  272. package/dist/{chunk-YZ2I7CDF.cjs → chunk-XXE5TQ7I.cjs} +9 -7
  273. package/dist/chunk-XXE5TQ7I.cjs.map +1 -0
  274. package/dist/chunk-XYGRVPUA.js +140 -0
  275. package/dist/chunk-XYGRVPUA.js.map +1 -0
  276. package/dist/chunk-Y7BZMMAV.cjs +51 -0
  277. package/dist/chunk-Y7BZMMAV.cjs.map +1 -0
  278. package/dist/{chunk-FFZLSY2N.js → chunk-YRAQRENN.js} +40 -13
  279. package/dist/chunk-YRAQRENN.js.map +1 -0
  280. package/dist/{chunk-IJA26LRY.cjs → chunk-YVSZLQTQ.cjs} +19 -9
  281. package/dist/chunk-YVSZLQTQ.cjs.map +1 -0
  282. package/dist/{chunk-OZVPJWXO.cjs → chunk-ZA36BJIY.cjs} +41 -14
  283. package/dist/chunk-ZA36BJIY.cjs.map +1 -0
  284. package/dist/{chunk-47Z4NIU4.js → chunk-ZHCQEJ2Z.js} +14 -7
  285. package/dist/chunk-ZHCQEJ2Z.js.map +1 -0
  286. package/dist/{chunk-T4PI2ZX7.cjs → chunk-ZM4P6ELG.cjs} +46 -25
  287. package/dist/chunk-ZM4P6ELG.cjs.map +1 -0
  288. package/dist/{chunk-PKXXR76Q.js → chunk-ZN6VS6SO.js} +18 -13
  289. package/dist/chunk-ZN6VS6SO.js.map +1 -0
  290. package/dist/{chunk-FXQGPHK2.js → chunk-ZPDMAMWC.js} +21 -11
  291. package/dist/chunk-ZPDMAMWC.js.map +1 -0
  292. package/dist/{chunk-WUOFJPZ4.js → chunk-ZZXNHPF3.js} +3 -3
  293. package/dist/{chunk-WUOFJPZ4.js.map → chunk-ZZXNHPF3.js.map} +1 -1
  294. package/dist/index.cjs +98 -97
  295. package/dist/index.cjs.map +1 -1
  296. package/dist/index.d.cts +3 -2
  297. package/dist/index.d.ts +3 -2
  298. package/dist/index.js +38 -37
  299. package/dist/index.js.map +1 -1
  300. package/dist/styles.css +136 -36
  301. package/docs/llms/appshell.md +36 -0
  302. package/docs/llms/popover.md +138 -6
  303. package/docs/llms/progress.md +10 -18
  304. package/docs/llms/timeline.md +140 -0
  305. package/docs/llms.md +9 -6
  306. package/package.json +80 -1
  307. package/dist/Popover-NYEKT5CQ.css +0 -10
  308. package/dist/Progress-IXRSO5TW.css +0 -63
  309. package/dist/chunk-2ENTRT7R.cjs.map +0 -1
  310. package/dist/chunk-33TIL25B.cjs.map +0 -1
  311. package/dist/chunk-3UU2PUK4.js +0 -66
  312. package/dist/chunk-3UU2PUK4.js.map +0 -1
  313. package/dist/chunk-47Z4NIU4.js.map +0 -1
  314. package/dist/chunk-5BFETKVP.cjs +0 -52
  315. package/dist/chunk-5BFETKVP.cjs.map +0 -1
  316. package/dist/chunk-5EAVXFFD.cjs.map +0 -1
  317. package/dist/chunk-5N7347MI.js.map +0 -1
  318. package/dist/chunk-5PREWYTB.js.map +0 -1
  319. package/dist/chunk-6GNFRP2H.js.map +0 -1
  320. package/dist/chunk-6XZ362VL.js.map +0 -1
  321. package/dist/chunk-6Z24VO3K.js.map +0 -1
  322. package/dist/chunk-77TZHI76.cjs.map +0 -1
  323. package/dist/chunk-7M7NAMR5.js.map +0 -1
  324. package/dist/chunk-7T2SLRNL.cjs.map +0 -1
  325. package/dist/chunk-7YQWG7HR.cjs +0 -45
  326. package/dist/chunk-7YQWG7HR.cjs.map +0 -1
  327. package/dist/chunk-AESLEYST.js.map +0 -1
  328. package/dist/chunk-BCPAY65C.cjs.map +0 -1
  329. package/dist/chunk-CTYW42GG.js.map +0 -1
  330. package/dist/chunk-E62JFAHW.js.map +0 -1
  331. package/dist/chunk-FFZLSY2N.js.map +0 -1
  332. package/dist/chunk-FXQGPHK2.js.map +0 -1
  333. package/dist/chunk-GR5STMOA.js.map +0 -1
  334. package/dist/chunk-HJIKU6MF.cjs.map +0 -1
  335. package/dist/chunk-HXSAH4Y6.cjs.map +0 -1
  336. package/dist/chunk-I2HHC6QW.js.map +0 -1
  337. package/dist/chunk-IHACXMOI.js.map +0 -1
  338. package/dist/chunk-IJA26LRY.cjs.map +0 -1
  339. package/dist/chunk-IOWREUEP.js.map +0 -1
  340. package/dist/chunk-IZDJCEMF.cjs +0 -31
  341. package/dist/chunk-IZDJCEMF.cjs.map +0 -1
  342. package/dist/chunk-JSDQVVQB.js.map +0 -1
  343. package/dist/chunk-KW7Z4IQC.js.map +0 -1
  344. package/dist/chunk-LLNEDEST.cjs.map +0 -1
  345. package/dist/chunk-LXNR6TQK.js.map +0 -1
  346. package/dist/chunk-MDQNUKCP.cjs.map +0 -1
  347. package/dist/chunk-N73JGXYZ.cjs.map +0 -1
  348. package/dist/chunk-NN7WMXY4.cjs.map +0 -1
  349. package/dist/chunk-NQQWCIE6.cjs +0 -20
  350. package/dist/chunk-NQQWCIE6.cjs.map +0 -1
  351. package/dist/chunk-NS3C2ZSE.js.map +0 -1
  352. package/dist/chunk-O2HMH5BI.cjs +0 -88
  353. package/dist/chunk-O2HMH5BI.cjs.map +0 -1
  354. package/dist/chunk-O7C6S644.js.map +0 -1
  355. package/dist/chunk-OM76QWUN.js.map +0 -1
  356. package/dist/chunk-OWNVDXRQ.js.map +0 -1
  357. package/dist/chunk-OZVPJWXO.cjs.map +0 -1
  358. package/dist/chunk-PKXXR76Q.js.map +0 -1
  359. package/dist/chunk-QOGROEVD.js.map +0 -1
  360. package/dist/chunk-QVFEKGKI.cjs.map +0 -1
  361. package/dist/chunk-RFU5HN4E.js.map +0 -1
  362. package/dist/chunk-RQV7SMIZ.cjs.map +0 -1
  363. package/dist/chunk-RZ2E3XEU.cjs.map +0 -1
  364. package/dist/chunk-SMHXSEBD.cjs.map +0 -1
  365. package/dist/chunk-T4PI2ZX7.cjs.map +0 -1
  366. package/dist/chunk-TQLCIXCK.cjs.map +0 -1
  367. package/dist/chunk-TZLM5GF4.js.map +0 -1
  368. package/dist/chunk-TZXEZFCI.cjs.map +0 -1
  369. package/dist/chunk-UQB5OHMO.js.map +0 -1
  370. package/dist/chunk-V2DIQ3RH.js.map +0 -1
  371. package/dist/chunk-VQBZKRIB.cjs.map +0 -1
  372. package/dist/chunk-WDBJVKSR.js +0 -18
  373. package/dist/chunk-WDBJVKSR.js.map +0 -1
  374. package/dist/chunk-WVBFQB26.cjs.map +0 -1
  375. package/dist/chunk-WZ73TWB2.cjs.map +0 -1
  376. package/dist/chunk-XCYE4OQV.js.map +0 -1
  377. package/dist/chunk-XUT2Z2L6.cjs +0 -119
  378. package/dist/chunk-XUT2Z2L6.cjs.map +0 -1
  379. package/dist/chunk-XYVJ3FBQ.cjs.map +0 -1
  380. package/dist/chunk-YCHUHMNP.cjs.map +0 -1
  381. package/dist/chunk-YZ2I7CDF.cjs.map +0 -1
  382. package/dist/chunk-ZFJHUOFU.js.map +0 -1
package/dist/Input.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkYFBHVTKN_cjs = require('./chunk-YFBHVTKN.cjs');
4
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkWFFWVQK4_cjs = require('./chunk-WFFWVQK4.cjs');
4
+ require('./chunk-DH4NYYJP.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Input", {
9
9
  enumerable: true,
10
- get: function () { return chunkYFBHVTKN_cjs.Input; }
10
+ get: function () { return chunkWFFWVQK4_cjs.Input; }
11
11
  });
12
12
  Object.defineProperty(exports, "Textarea", {
13
13
  enumerable: true,
14
- get: function () { return chunkYFBHVTKN_cjs.Textarea; }
14
+ get: function () { return chunkWFFWVQK4_cjs.Textarea; }
15
15
  });
16
16
  //# sourceMappingURL=Input.cjs.map
17
17
  //# sourceMappingURL=Input.cjs.map
package/dist/Input.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Input, Textarea } from './chunk-WUOFJPZ4.js';
2
- import './chunk-QOGROEVD.js';
1
+ export { Input, Textarea } from './chunk-ZZXNHPF3.js';
2
+ import './chunk-BSHHQOFY.js';
3
3
  //# sourceMappingURL=Input.js.map
4
4
  //# sourceMappingURL=Input.js.map
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkBCPAY65C_cjs = require('./chunk-BCPAY65C.cjs');
4
- require('./chunk-YFBHVTKN.cjs');
5
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkHHSVGNJA_cjs = require('./chunk-HHSVGNJA.cjs');
4
+ require('./chunk-WFFWVQK4.cjs');
5
+ require('./chunk-DH4NYYJP.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "InputNumber", {
10
10
  enumerable: true,
11
- get: function () { return chunkBCPAY65C_cjs.InputNumber; }
11
+ get: function () { return chunkHHSVGNJA_cjs.InputNumber; }
12
12
  });
13
13
  //# sourceMappingURL=InputNumber.cjs.map
14
14
  //# sourceMappingURL=InputNumber.cjs.map
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
- interface InputNumberProps {
3
+ interface InputNumberProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "size" | "prefix" | "suffix" | "type"> {
4
4
  /** Controlled value. `null` = empty field. */
5
5
  value?: number | null;
6
6
  /** Uncontrolled initial value. */
@@ -27,10 +27,6 @@ interface InputNumberProps {
27
27
  className?: string;
28
28
  prefix?: React.ReactNode;
29
29
  suffix?: React.ReactNode;
30
- autoFocus?: boolean;
31
- id?: string;
32
- name?: string;
33
- style?: React.CSSProperties;
34
30
  }
35
31
  /**
36
32
  * `InputNumber` — numeric input with up/down stepper buttons. Arrow-key
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
- interface InputNumberProps {
3
+ interface InputNumberProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "size" | "prefix" | "suffix" | "type"> {
4
4
  /** Controlled value. `null` = empty field. */
5
5
  value?: number | null;
6
6
  /** Uncontrolled initial value. */
@@ -27,10 +27,6 @@ interface InputNumberProps {
27
27
  className?: string;
28
28
  prefix?: React.ReactNode;
29
29
  suffix?: React.ReactNode;
30
- autoFocus?: boolean;
31
- id?: string;
32
- name?: string;
33
- style?: React.CSSProperties;
34
30
  }
35
31
  /**
36
32
  * `InputNumber` — numeric input with up/down stepper buttons. Arrow-key
@@ -1,5 +1,5 @@
1
- export { InputNumber } from './chunk-E62JFAHW.js';
2
- import './chunk-WUOFJPZ4.js';
3
- import './chunk-QOGROEVD.js';
1
+ export { InputNumber } from './chunk-LSQD2GFA.js';
2
+ import './chunk-ZZXNHPF3.js';
3
+ import './chunk-BSHHQOFY.js';
4
4
  //# sourceMappingURL=InputNumber.js.map
5
5
  //# sourceMappingURL=InputNumber.js.map
package/dist/List.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkNQQWCIE6_cjs = require('./chunk-NQQWCIE6.cjs');
3
+ var chunkY7BZMMAV_cjs = require('./chunk-Y7BZMMAV.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "List", {
8
8
  enumerable: true,
9
- get: function () { return chunkNQQWCIE6_cjs.List; }
9
+ get: function () { return chunkY7BZMMAV_cjs.List; }
10
10
  });
11
11
  //# sourceMappingURL=List.cjs.map
12
12
  //# sourceMappingURL=List.cjs.map
package/dist/List.d.cts CHANGED
@@ -8,13 +8,13 @@ interface ListItem {
8
8
  actions?: React.ReactNode;
9
9
  onClick?: () => void;
10
10
  }
11
- interface ListProps {
11
+ interface ListProps extends Omit<React.HTMLAttributes<HTMLUListElement>, "children"> {
12
12
  items: ListItem[];
13
13
  /** Show dividers between items. */
14
14
  dividers?: boolean;
15
15
  className?: string;
16
16
  }
17
17
  /** `List` — vertical list of rows. */
18
- declare const List: React.FC<ListProps>;
18
+ declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLUListElement>>;
19
19
 
20
20
  export { List, type ListItem, type ListProps };
package/dist/List.d.ts CHANGED
@@ -8,13 +8,13 @@ interface ListItem {
8
8
  actions?: React.ReactNode;
9
9
  onClick?: () => void;
10
10
  }
11
- interface ListProps {
11
+ interface ListProps extends Omit<React.HTMLAttributes<HTMLUListElement>, "children"> {
12
12
  items: ListItem[];
13
13
  /** Show dividers between items. */
14
14
  dividers?: boolean;
15
15
  className?: string;
16
16
  }
17
17
  /** `List` — vertical list of rows. */
18
- declare const List: React.FC<ListProps>;
18
+ declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLUListElement>>;
19
19
 
20
20
  export { List, type ListItem, type ListProps };
package/dist/List.js CHANGED
@@ -1,3 +1,3 @@
1
- export { List } from './chunk-WDBJVKSR.js';
1
+ export { List } from './chunk-2LIX7ZHX.js';
2
2
  //# sourceMappingURL=List.js.map
3
3
  //# sourceMappingURL=List.js.map
package/dist/Modal.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkSMHXSEBD_cjs = require('./chunk-SMHXSEBD.cjs');
4
- require('./chunk-RWHWEQQX.cjs');
5
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkJAGJQDAV_cjs = require('./chunk-JAGJQDAV.cjs');
4
+ require('./chunk-JF2WNLPF.cjs');
5
+ require('./chunk-DH4NYYJP.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Modal", {
10
10
  enumerable: true,
11
- get: function () { return chunkSMHXSEBD_cjs.Modal; }
11
+ get: function () { return chunkJAGJQDAV_cjs.Modal; }
12
12
  });
13
13
  //# sourceMappingURL=Modal.cjs.map
14
14
  //# sourceMappingURL=Modal.cjs.map
package/dist/Modal.d.cts CHANGED
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ButtonProps } from './Button.cjs';
3
3
  import './Icon.cjs';
4
4
 
5
- interface ModalProps {
5
+ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose"> {
6
6
  /** Whether the modal is visible. */
7
7
  open: boolean;
8
8
  /** Fired by mask click / close button / Esc. Also the fallback for cancel. */
@@ -51,6 +51,6 @@ interface ModalProps {
51
51
  className?: string;
52
52
  }
53
53
  /** `Modal` — centered dialog with mask. Renders into `document.body`. */
54
- declare const Modal: React.FC<ModalProps>;
54
+ declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
55
55
 
56
56
  export { Modal, type ModalProps };
package/dist/Modal.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ButtonProps } from './Button.js';
3
3
  import './Icon.js';
4
4
 
5
- interface ModalProps {
5
+ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose"> {
6
6
  /** Whether the modal is visible. */
7
7
  open: boolean;
8
8
  /** Fired by mask click / close button / Esc. Also the fallback for cancel. */
@@ -51,6 +51,6 @@ interface ModalProps {
51
51
  className?: string;
52
52
  }
53
53
  /** `Modal` — centered dialog with mask. Renders into `document.body`. */
54
- declare const Modal: React.FC<ModalProps>;
54
+ declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
55
55
 
56
56
  export { Modal, type ModalProps };
package/dist/Modal.js CHANGED
@@ -1,5 +1,5 @@
1
- export { Modal } from './chunk-TZLM5GF4.js';
2
- import './chunk-JXHMJUVI.js';
3
- import './chunk-QOGROEVD.js';
1
+ export { Modal } from './chunk-PX5ABNKV.js';
2
+ import './chunk-6FSOJLY6.js';
3
+ import './chunk-BSHHQOFY.js';
4
4
  //# sourceMappingURL=Modal.js.map
5
5
  //# sourceMappingURL=Modal.js.map
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunk77TZHI76_cjs = require('./chunk-77TZHI76.cjs');
4
- require('./chunk-T4PI2ZX7.cjs');
5
- require('./chunk-RQV7SMIZ.cjs');
6
- require('./chunk-RZ2E3XEU.cjs');
7
- require('./chunk-YCHUHMNP.cjs');
3
+ var chunkMU4GGX6C_cjs = require('./chunk-MU4GGX6C.cjs');
4
+ require('./chunk-ZM4P6ELG.cjs');
5
+ require('./chunk-QCNHDDSD.cjs');
6
+ require('./chunk-3XIDJEYR.cjs');
7
+ require('./chunk-DH4NYYJP.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "Pagination", {
12
12
  enumerable: true,
13
- get: function () { return chunk77TZHI76_cjs.Pagination; }
13
+ get: function () { return chunkMU4GGX6C_cjs.Pagination; }
14
14
  });
15
15
  //# sourceMappingURL=Pagination.cjs.map
16
16
  //# sourceMappingURL=Pagination.cjs.map
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
- interface PaginationProps {
3
+ interface PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
4
4
  /** Total number of items. */
5
5
  total: number;
6
6
  /** Items per page. */
@@ -28,6 +28,6 @@ interface PaginationProps {
28
28
  className?: string;
29
29
  }
30
30
  /** `Pagination` — page number controls. */
31
- declare const Pagination: React.FC<PaginationProps>;
31
+ declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
32
32
 
33
33
  export { Pagination, type PaginationProps };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
- interface PaginationProps {
3
+ interface PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
4
4
  /** Total number of items. */
5
5
  total: number;
6
6
  /** Items per page. */
@@ -28,6 +28,6 @@ interface PaginationProps {
28
28
  className?: string;
29
29
  }
30
30
  /** `Pagination` — page number controls. */
31
- declare const Pagination: React.FC<PaginationProps>;
31
+ declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
32
32
 
33
33
  export { Pagination, type PaginationProps };
@@ -1,7 +1,7 @@
1
- export { Pagination } from './chunk-AESLEYST.js';
2
- import './chunk-6XZ362VL.js';
3
- import './chunk-LXNR6TQK.js';
4
- import './chunk-V2DIQ3RH.js';
5
- import './chunk-QOGROEVD.js';
1
+ export { Pagination } from './chunk-DB5JMXOI.js';
2
+ import './chunk-RHZOBQON.js';
3
+ import './chunk-D242UJZO.js';
4
+ import './chunk-ANAQER3T.js';
5
+ import './chunk-BSHHQOFY.js';
6
6
  //# sourceMappingURL=Pagination.js.map
7
7
  //# sourceMappingURL=Pagination.js.map
@@ -0,0 +1,103 @@
1
+ /* ============ Popover ============ */
2
+ .popover {
3
+ z-index: 1000;
4
+ background: var(--bg);
5
+ border-radius: var(--r-md);
6
+ min-width: 220px;
7
+ box-shadow: var(--neu-float);
8
+ position: relative;
9
+ }
10
+
11
+ /*
12
+ * Direction-aware entrance.
13
+ * We animate `opacity` + `translate` (the standalone property, NOT `transform`)
14
+ * so we don't clobber the inline `transform: translateX(-50%)` that useFloating
15
+ * applies for cross-axis centering.
16
+ */
17
+ .popover-bottom { animation: popoverInDown var(--dur) var(--ease); }
18
+ .popover-top { animation: popoverInUp var(--dur) var(--ease); }
19
+ .popover-left { animation: popoverInLeft var(--dur) var(--ease); }
20
+ .popover-right { animation: popoverInRight var(--dur) var(--ease); }
21
+
22
+ @keyframes popoverInDown { from { opacity: 0; translate: 0 -6px; } }
23
+ @keyframes popoverInUp { from { opacity: 0; translate: 0 6px; } }
24
+ @keyframes popoverInLeft { from { opacity: 0; translate: 6px 0; } }
25
+ @keyframes popoverInRight { from { opacity: 0; translate: -6px 0; } }
26
+
27
+ /* ---- Header ---- */
28
+ .popover-header {
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: space-between;
32
+ padding: var(--gap-3) var(--gap-3) 0;
33
+ gap: var(--gap-2);
34
+ }
35
+
36
+ .popover-title {
37
+ font-weight: 600;
38
+ font-size: 14px;
39
+ color: var(--fg);
40
+ }
41
+
42
+ .popover-close {
43
+ all: unset;
44
+ cursor: pointer;
45
+ font-size: 16px;
46
+ color: var(--fg-muted);
47
+ line-height: 1;
48
+ padding: 2px 4px;
49
+ border-radius: var(--r-xs);
50
+ transition: color var(--dur-fast) var(--ease);
51
+ margin-left: auto;
52
+ }
53
+ .popover-close:hover {
54
+ color: var(--fg);
55
+ }
56
+
57
+ /* ---- Body ---- */
58
+ .popover-body {
59
+ padding: var(--gap-3);
60
+ }
61
+
62
+ .popover-header + .popover-body {
63
+ padding-top: var(--gap-2);
64
+ }
65
+
66
+ /* ---- Arrow ---- */
67
+ .popover-arrow {
68
+ position: absolute;
69
+ width: 10px;
70
+ height: 10px;
71
+ background: var(--bg);
72
+ box-shadow: 2px 2px 4px rgba(163, 177, 198, 0.2);
73
+ transform: rotate(45deg);
74
+ pointer-events: none;
75
+ }
76
+
77
+ .popover-arrow-bottom {
78
+ top: -5px;
79
+ left: 50%;
80
+ margin-left: -5px;
81
+ box-shadow: -2px -2px 4px rgba(163, 177, 198, 0.2);
82
+ }
83
+
84
+ .popover-arrow-top {
85
+ bottom: -5px;
86
+ left: 50%;
87
+ margin-left: -5px;
88
+ box-shadow: 2px 2px 4px rgba(163, 177, 198, 0.2);
89
+ }
90
+
91
+ .popover-arrow-left {
92
+ right: -5px;
93
+ top: 50%;
94
+ margin-top: -5px;
95
+ box-shadow: 2px -2px 4px rgba(163, 177, 198, 0.2);
96
+ }
97
+
98
+ .popover-arrow-right {
99
+ left: -5px;
100
+ top: 50%;
101
+ margin-top: -5px;
102
+ box-shadow: -2px 2px 4px rgba(163, 177, 198, 0.2);
103
+ }
package/dist/Popover.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkO2HMH5BI_cjs = require('./chunk-O2HMH5BI.cjs');
4
- require('./chunk-RZ2E3XEU.cjs');
3
+ var chunkRNVE2LMJ_cjs = require('./chunk-RNVE2LMJ.cjs');
4
+ require('./chunk-3XIDJEYR.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Popover", {
9
9
  enumerable: true,
10
- get: function () { return chunkO2HMH5BI_cjs.Popover; }
10
+ get: function () { return chunkRNVE2LMJ_cjs.Popover; }
11
11
  });
12
12
  //# sourceMappingURL=Popover.cjs.map
13
13
  //# sourceMappingURL=Popover.cjs.map
@@ -1,16 +1,38 @@
1
1
  import * as React from 'react';
2
2
 
3
- interface PopoverProps {
3
+ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "title" | "children" | "content"> {
4
+ /** Popover body content. */
4
5
  content: React.ReactNode;
6
+ /** Optional title rendered above content. */
7
+ title?: React.ReactNode;
8
+ /** Preferred placement relative to the trigger. */
5
9
  placement?: "top" | "bottom" | "left" | "right";
10
+ /** How the popover is triggered. */
6
11
  trigger?: "click" | "hover";
12
+ /** Show a small arrow pointing at the trigger. */
13
+ arrow?: boolean;
14
+ /** Show a close button in the header (click trigger only). */
15
+ closable?: boolean;
16
+ /** Panel width in px, or `"auto"` to fit content. */
17
+ width?: number | "auto";
18
+ /** Uncontrolled initial open state. */
7
19
  defaultOpen?: boolean;
20
+ /** Controlled open state. */
8
21
  open?: boolean;
22
+ /** Callback when visibility changes. */
9
23
  onOpenChange?: (open: boolean) => void;
24
+ /** Trigger element. */
10
25
  children: React.ReactElement;
11
26
  className?: string;
12
27
  }
13
- /** `Popover` — rich content bubble. */
14
- declare const Popover: React.FC<PopoverProps>;
28
+ /**
29
+ * `Popover` — rich content bubble with optional title, arrow, and close button.
30
+ *
31
+ * @example
32
+ * <Popover title="Confirm" content={<p>Are you sure?</p>} arrow>
33
+ * <Button>Delete</Button>
34
+ * </Popover>
35
+ */
36
+ declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLSpanElement>>;
15
37
 
16
38
  export { Popover, type PopoverProps };
package/dist/Popover.d.ts CHANGED
@@ -1,16 +1,38 @@
1
1
  import * as React from 'react';
2
2
 
3
- interface PopoverProps {
3
+ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "title" | "children" | "content"> {
4
+ /** Popover body content. */
4
5
  content: React.ReactNode;
6
+ /** Optional title rendered above content. */
7
+ title?: React.ReactNode;
8
+ /** Preferred placement relative to the trigger. */
5
9
  placement?: "top" | "bottom" | "left" | "right";
10
+ /** How the popover is triggered. */
6
11
  trigger?: "click" | "hover";
12
+ /** Show a small arrow pointing at the trigger. */
13
+ arrow?: boolean;
14
+ /** Show a close button in the header (click trigger only). */
15
+ closable?: boolean;
16
+ /** Panel width in px, or `"auto"` to fit content. */
17
+ width?: number | "auto";
18
+ /** Uncontrolled initial open state. */
7
19
  defaultOpen?: boolean;
20
+ /** Controlled open state. */
8
21
  open?: boolean;
22
+ /** Callback when visibility changes. */
9
23
  onOpenChange?: (open: boolean) => void;
24
+ /** Trigger element. */
10
25
  children: React.ReactElement;
11
26
  className?: string;
12
27
  }
13
- /** `Popover` — rich content bubble. */
14
- declare const Popover: React.FC<PopoverProps>;
28
+ /**
29
+ * `Popover` — rich content bubble with optional title, arrow, and close button.
30
+ *
31
+ * @example
32
+ * <Popover title="Confirm" content={<p>Are you sure?</p>} arrow>
33
+ * <Button>Delete</Button>
34
+ * </Popover>
35
+ */
36
+ declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLSpanElement>>;
15
37
 
16
38
  export { Popover, type PopoverProps };
package/dist/Popover.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Popover } from './chunk-3UU2PUK4.js';
2
- import './chunk-V2DIQ3RH.js';
1
+ export { Popover } from './chunk-XYGRVPUA.js';
2
+ import './chunk-ANAQER3T.js';
3
3
  //# sourceMappingURL=Popover.js.map
4
4
  //# sourceMappingURL=Popover.js.map
@@ -0,0 +1,80 @@
1
+ /* ============ Progress ============ */
2
+ .progress {
3
+ --progress-fill: var(--accent);
4
+ --progress-fill-glow: var(--accent-glow);
5
+ --progress-inset: 2px;
6
+ width: 100%;
7
+ display: flex;
8
+ flex-direction: column;
9
+ gap: 6px;
10
+ }
11
+ .progress.sm { --progress-inset: 1px; }
12
+ .progress.lg { --progress-inset: 2px; }
13
+ .progress.success {
14
+ --progress-fill: var(--success);
15
+ --progress-fill-glow: color-mix(in oklch, var(--success) 35%, transparent);
16
+ }
17
+ .progress.warning {
18
+ --progress-fill: var(--warning);
19
+ --progress-fill-glow: color-mix(in oklch, var(--warning) 35%, transparent);
20
+ }
21
+ .progress.danger {
22
+ --progress-fill: var(--danger);
23
+ --progress-fill-glow: color-mix(in oklch, var(--danger) 35%, transparent);
24
+ }
25
+ .progress-label {
26
+ display: flex;
27
+ justify-content: space-between;
28
+ font-size: 12px;
29
+ color: var(--fg-muted);
30
+ }
31
+ .progress-label .v { font-family: var(--font-mono); }
32
+ .progress-track {
33
+ width: 100%;
34
+ height: 10px;
35
+ border-radius: 999px;
36
+ padding: var(--progress-inset);
37
+ box-sizing: border-box;
38
+ background: linear-gradient(
39
+ 180deg,
40
+ color-mix(in oklch, var(--bg) 88%, var(--shadow-light)),
41
+ color-mix(in oklch, var(--bg) 92%, var(--shadow-dark))
42
+ );
43
+ box-shadow: var(--neu-in-sm);
44
+ overflow: hidden;
45
+ position: relative;
46
+ }
47
+ .progress.sm .progress-track { height: 6px; }
48
+ .progress.lg .progress-track { height: 14px; }
49
+ .progress-bar {
50
+ position: relative;
51
+ height: 100%;
52
+ border-radius: inherit;
53
+ background: linear-gradient(
54
+ 180deg,
55
+ color-mix(in oklch, var(--progress-fill) 68%, var(--shadow-light)) 0%,
56
+ var(--progress-fill) 55%,
57
+ color-mix(in oklch, var(--progress-fill) 84%, var(--shadow-dark)) 100%
58
+ );
59
+ box-shadow:
60
+ inset 1px 1px 2px color-mix(in oklch, var(--progress-fill) 18%, var(--shadow-dark)),
61
+ inset -1px -1px 2px color-mix(in oklch, var(--progress-fill) 14%, var(--shadow-light)),
62
+ 1px 1px 4px color-mix(in oklch, var(--progress-fill) 16%, var(--shadow-dark)),
63
+ -1px -1px 4px color-mix(in oklch, var(--progress-fill) 10%, var(--shadow-light)),
64
+ 0 0 10px var(--progress-fill-glow);
65
+ transition: width var(--dur-slow) var(--ease), box-shadow var(--dur) var(--ease);
66
+ overflow: hidden;
67
+ }
68
+ .progress-bar::before {
69
+ content: "";
70
+ position: absolute;
71
+ inset: 0;
72
+ border-radius: inherit;
73
+ background: linear-gradient(
74
+ 180deg,
75
+ color-mix(in oklch, var(--shadow-light) 72%, transparent) 0%,
76
+ color-mix(in oklch, var(--shadow-light) 28%, transparent) 38%,
77
+ transparent 70%
78
+ );
79
+ pointer-events: none;
80
+ }
package/dist/Progress.cjs CHANGED
@@ -1,16 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunk5BFETKVP_cjs = require('./chunk-5BFETKVP.cjs');
3
+ var chunk3EGZ6TBF_cjs = require('./chunk-3EGZ6TBF.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "Progress", {
8
8
  enumerable: true,
9
- get: function () { return chunk5BFETKVP_cjs.Progress; }
10
- });
11
- Object.defineProperty(exports, "Ring", {
12
- enumerable: true,
13
- get: function () { return chunk5BFETKVP_cjs.Ring; }
9
+ get: function () { return chunk3EGZ6TBF_cjs.Progress; }
14
10
  });
15
11
  //# sourceMappingURL=Progress.cjs.map
16
12
  //# sourceMappingURL=Progress.cjs.map
@@ -1,26 +1,18 @@
1
1
  import * as React from 'react';
2
2
 
3
- interface ProgressProps {
3
+ interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  /** 0–100 */
5
5
  value: number;
6
6
  max?: number;
7
7
  label?: React.ReactNode;
8
8
  showValue?: boolean;
9
9
  tone?: "accent" | "success" | "warning" | "danger";
10
+ /** Custom fill color. Overrides `tone`. */
11
+ color?: string;
10
12
  size?: "sm" | "md" | "lg";
11
13
  className?: string;
12
14
  }
13
15
  /** `Progress` — horizontal progress bar with neumorphic track. */
14
- declare const Progress: React.FC<ProgressProps>;
15
- interface RingProps {
16
- value: number;
17
- max?: number;
18
- size?: number;
19
- tone?: "accent" | "success" | "warning" | "danger";
20
- children?: React.ReactNode;
21
- className?: string;
22
- }
23
- /** `Ring` — circular progress indicator. */
24
- declare const Ring: React.FC<RingProps>;
16
+ declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
25
17
 
26
- export { Progress, type ProgressProps, Ring, type RingProps };
18
+ export { Progress, type ProgressProps };