@jacshuo/onyx 1.0.0 → 1.2.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 (450) hide show
  1. package/README.md +10 -4
  2. package/README.zh-CN.md +4 -4
  3. package/dist/DataDisplay/Chat.cjs +1 -0
  4. package/dist/DataDisplay/Chat.d.cts +3 -0
  5. package/dist/DataDisplay/Chat.d.ts +3 -0
  6. package/dist/DataDisplay/Chat.js +1 -0
  7. package/dist/DataDisplay/CodeBlock.cjs +2 -0
  8. package/dist/DataDisplay/CodeBlock.d.cts +3 -0
  9. package/dist/DataDisplay/CodeBlock.d.ts +3 -0
  10. package/dist/DataDisplay/CodeBlock.js +2 -0
  11. package/dist/DataDisplay/List.cjs +1 -0
  12. package/dist/DataDisplay/List.d.cts +3 -0
  13. package/dist/DataDisplay/List.d.ts +3 -0
  14. package/dist/DataDisplay/List.js +1 -0
  15. package/dist/DataDisplay/Table.cjs +1 -0
  16. package/dist/DataDisplay/Table.d.cts +15 -0
  17. package/dist/DataDisplay/Table.d.ts +15 -0
  18. package/dist/DataDisplay/Table.js +1 -0
  19. package/dist/DataDisplay/Tree.cjs +1 -0
  20. package/dist/DataDisplay/Tree.d.cts +2 -0
  21. package/dist/DataDisplay/Tree.d.ts +2 -0
  22. package/dist/DataDisplay/Tree.js +1 -0
  23. package/dist/DataDisplay/index.cjs +2 -0
  24. package/dist/DataDisplay/index.d.cts +7 -0
  25. package/dist/DataDisplay/index.d.ts +7 -0
  26. package/dist/DataDisplay/index.js +2 -0
  27. package/dist/Disclosure/Accordion.cjs +1 -0
  28. package/dist/Disclosure/Accordion.d.cts +4 -0
  29. package/dist/Disclosure/Accordion.d.ts +4 -0
  30. package/dist/Disclosure/Accordion.js +1 -0
  31. package/dist/Disclosure/Tabs.cjs +1 -0
  32. package/dist/Disclosure/Tabs.d.cts +5 -0
  33. package/dist/Disclosure/Tabs.d.ts +5 -0
  34. package/dist/Disclosure/Tabs.js +1 -0
  35. package/dist/Disclosure/index.cjs +1 -0
  36. package/dist/Disclosure/index.d.cts +4 -0
  37. package/dist/Disclosure/index.d.ts +4 -0
  38. package/dist/Disclosure/index.js +1 -0
  39. package/dist/Extras/CinePlayer.cjs +17 -0
  40. package/dist/Extras/CinePlayer.d.cts +4 -0
  41. package/dist/Extras/CinePlayer.d.ts +4 -0
  42. package/dist/Extras/CinePlayer.js +17 -0
  43. package/dist/Extras/FileExplorer.cjs +55 -0
  44. package/dist/Extras/FileExplorer.d.cts +7 -0
  45. package/dist/Extras/FileExplorer.d.ts +7 -0
  46. package/dist/Extras/FileExplorer.js +55 -0
  47. package/dist/Extras/FilmReel.cjs +2 -0
  48. package/dist/Extras/FilmReel.d.cts +5 -0
  49. package/dist/Extras/FilmReel.d.ts +5 -0
  50. package/dist/Extras/FilmReel.js +2 -0
  51. package/dist/Extras/Masonry.cjs +1 -0
  52. package/dist/Extras/Masonry.d.cts +3 -0
  53. package/dist/Extras/Masonry.d.ts +3 -0
  54. package/dist/Extras/Masonry.js +1 -0
  55. package/dist/Extras/MiniPlayer.cjs +6 -0
  56. package/dist/Extras/MiniPlayer.d.cts +5 -0
  57. package/dist/Extras/MiniPlayer.d.ts +5 -0
  58. package/dist/{chunks/chunk-A5KQAHDU.js → Extras/MiniPlayer.js} +2 -2
  59. package/dist/Extras/index.cjs +76 -0
  60. package/dist/Extras/index.d.cts +7 -0
  61. package/dist/Extras/index.d.ts +7 -0
  62. package/dist/Extras/index.js +76 -0
  63. package/dist/Feedback/Alert.cjs +1 -0
  64. package/dist/Feedback/Alert.d.cts +9 -0
  65. package/dist/Feedback/Alert.d.ts +9 -0
  66. package/dist/Feedback/Alert.js +1 -0
  67. package/dist/Feedback/ProgressBar.cjs +1 -0
  68. package/dist/Feedback/ProgressBar.d.cts +2 -0
  69. package/dist/Feedback/ProgressBar.d.ts +2 -0
  70. package/dist/Feedback/ProgressBar.js +1 -0
  71. package/dist/Feedback/Spin.cjs +2 -0
  72. package/dist/Feedback/Spin.d.cts +3 -0
  73. package/dist/Feedback/Spin.d.ts +3 -0
  74. package/dist/Feedback/Spin.js +2 -0
  75. package/dist/Feedback/index.cjs +2 -0
  76. package/dist/Feedback/index.d.cts +5 -0
  77. package/dist/Feedback/index.d.ts +5 -0
  78. package/dist/Feedback/index.js +2 -0
  79. package/dist/Forms/Form.cjs +1 -0
  80. package/dist/Forms/Form.d.cts +13 -0
  81. package/dist/Forms/Form.d.ts +13 -0
  82. package/dist/Forms/Form.js +1 -0
  83. package/dist/Forms/index.cjs +1 -0
  84. package/dist/Forms/index.d.cts +3 -0
  85. package/dist/Forms/index.d.ts +3 -0
  86. package/dist/Forms/index.js +1 -0
  87. package/dist/Layout/Card.cjs +1 -0
  88. package/dist/Layout/Card.d.cts +7 -0
  89. package/dist/Layout/Card.d.ts +7 -0
  90. package/dist/Layout/Card.js +1 -0
  91. package/dist/Layout/ImageCard.cjs +1 -0
  92. package/dist/Layout/ImageCard.d.cts +10 -0
  93. package/dist/Layout/ImageCard.d.ts +10 -0
  94. package/dist/Layout/ImageCard.js +1 -0
  95. package/dist/Layout/Panel.cjs +1 -0
  96. package/dist/Layout/Panel.d.cts +3 -0
  97. package/dist/Layout/Panel.d.ts +3 -0
  98. package/dist/Layout/Panel.js +1 -0
  99. package/dist/Layout/index.cjs +1 -0
  100. package/dist/Layout/index.d.cts +5 -0
  101. package/dist/Layout/index.d.ts +5 -0
  102. package/dist/Layout/index.js +1 -0
  103. package/dist/Navigation/Header.cjs +1 -0
  104. package/dist/Navigation/Header.d.cts +4 -0
  105. package/dist/Navigation/Header.d.ts +4 -0
  106. package/dist/Navigation/Header.js +1 -0
  107. package/dist/Navigation/NavLink.cjs +2 -0
  108. package/dist/Navigation/NavLink.d.cts +1 -0
  109. package/dist/Navigation/NavLink.d.ts +1 -0
  110. package/dist/Navigation/NavLink.js +2 -0
  111. package/dist/Navigation/SideNav.cjs +1 -0
  112. package/dist/Navigation/SideNav.d.cts +5 -0
  113. package/dist/Navigation/SideNav.d.ts +5 -0
  114. package/dist/Navigation/SideNav.js +1 -0
  115. package/dist/Navigation/index.cjs +2 -0
  116. package/dist/Navigation/index.d.cts +5 -0
  117. package/dist/Navigation/index.d.ts +5 -0
  118. package/dist/Navigation/index.js +2 -0
  119. package/dist/Overlay/Dialog.cjs +1 -0
  120. package/dist/Overlay/Dialog.d.cts +7 -0
  121. package/dist/Overlay/Dialog.d.ts +7 -0
  122. package/dist/Overlay/Dialog.js +1 -0
  123. package/dist/Overlay/Tooltip.cjs +1 -0
  124. package/dist/Overlay/Tooltip.d.cts +1 -0
  125. package/dist/Overlay/Tooltip.d.ts +1 -0
  126. package/dist/Overlay/Tooltip.js +1 -0
  127. package/dist/Overlay/index.cjs +1 -0
  128. package/dist/Overlay/index.d.cts +4 -0
  129. package/dist/Overlay/index.d.ts +4 -0
  130. package/dist/Overlay/index.js +1 -0
  131. package/dist/Primitives/Badge.cjs +1 -0
  132. package/dist/Primitives/Badge.d.cts +1 -0
  133. package/dist/Primitives/Badge.d.ts +1 -0
  134. package/dist/Primitives/Badge.js +1 -0
  135. package/dist/Primitives/Button.cjs +1 -0
  136. package/dist/Primitives/Button.d.cts +1 -0
  137. package/dist/Primitives/Button.d.ts +1 -0
  138. package/dist/Primitives/Button.js +1 -0
  139. package/dist/Primitives/Checkbox.cjs +1 -0
  140. package/dist/Primitives/Checkbox.d.cts +2 -0
  141. package/dist/Primitives/Checkbox.d.ts +2 -0
  142. package/dist/Primitives/Checkbox.js +1 -0
  143. package/dist/Primitives/Dropdown.cjs +1 -0
  144. package/dist/Primitives/Dropdown.d.cts +5 -0
  145. package/dist/Primitives/Dropdown.d.ts +5 -0
  146. package/dist/Primitives/Dropdown.js +1 -0
  147. package/dist/Primitives/DropdownButton.cjs +1 -0
  148. package/dist/Primitives/DropdownButton.d.cts +3 -0
  149. package/dist/Primitives/DropdownButton.d.ts +3 -0
  150. package/dist/Primitives/DropdownButton.js +1 -0
  151. package/dist/Primitives/Indicator.cjs +1 -0
  152. package/dist/Primitives/Indicator.d.cts +2 -0
  153. package/dist/Primitives/Indicator.d.ts +2 -0
  154. package/dist/Primitives/Indicator.js +1 -0
  155. package/dist/Primitives/Input.cjs +1 -0
  156. package/dist/Primitives/Input.d.cts +1 -0
  157. package/dist/Primitives/Input.d.ts +1 -0
  158. package/dist/Primitives/Input.js +1 -0
  159. package/dist/Primitives/Label.cjs +1 -0
  160. package/dist/Primitives/Label.d.cts +1 -0
  161. package/dist/Primitives/Label.d.ts +1 -0
  162. package/dist/Primitives/Label.js +1 -0
  163. package/dist/Primitives/Radio.cjs +1 -0
  164. package/dist/Primitives/Radio.d.cts +4 -0
  165. package/dist/Primitives/Radio.d.ts +4 -0
  166. package/dist/Primitives/Radio.js +1 -0
  167. package/dist/Primitives/Switch.cjs +1 -0
  168. package/dist/Primitives/Switch.d.cts +2 -0
  169. package/dist/Primitives/Switch.d.ts +2 -0
  170. package/dist/Primitives/Switch.js +1 -0
  171. package/dist/Primitives/TextBox.cjs +1 -0
  172. package/dist/Primitives/TextBox.d.cts +2 -0
  173. package/dist/Primitives/TextBox.d.ts +2 -0
  174. package/dist/Primitives/TextBox.js +1 -0
  175. package/dist/Primitives/index.cjs +1 -0
  176. package/dist/Primitives/index.d.cts +14 -0
  177. package/dist/Primitives/index.d.ts +14 -0
  178. package/dist/Primitives/index.js +1 -0
  179. package/dist/_tsup-dts-rollup.d.cts +2136 -0
  180. package/dist/_tsup-dts-rollup.d.ts +2136 -0
  181. package/dist/index.cjs +77 -1
  182. package/dist/index.d.cts +179 -42
  183. package/dist/index.d.ts +179 -42
  184. package/dist/index.js +77 -1
  185. package/dist/styles/DataDisplay/Chat.css +1 -0
  186. package/dist/styles/DataDisplay/CodeBlock.css +31 -0
  187. package/dist/styles/DataDisplay/List.css +12 -0
  188. package/dist/styles/DataDisplay/Table.css +8 -0
  189. package/dist/styles/DataDisplay/Tree.css +11 -0
  190. package/dist/styles/Disclosure/Accordion.css +14 -0
  191. package/dist/styles/Disclosure/Tabs.css +1 -0
  192. package/dist/styles/Extras/CinePlayer.css +1 -0
  193. package/dist/styles/Extras/FileExplorer.css +1 -0
  194. package/dist/styles/Extras/FilmReel.css +1 -0
  195. package/dist/styles/Extras/Masonry.css +3 -0
  196. package/dist/styles/Extras/MiniPlayer.css +1 -0
  197. package/dist/styles/Feedback/Alert.css +3 -0
  198. package/dist/styles/Feedback/ProgressBar.css +25 -0
  199. package/dist/styles/Feedback/Spin.css +14 -0
  200. package/dist/styles/Forms/Form.css +21 -0
  201. package/dist/styles/Layout/Card.css +1 -0
  202. package/dist/styles/Layout/ImageCard.css +1 -0
  203. package/dist/styles/Layout/Panel.css +1 -0
  204. package/dist/styles/Navigation/Header.css +9 -0
  205. package/dist/styles/Navigation/NavLink.css +1 -0
  206. package/dist/styles/Navigation/SideNav.css +1 -0
  207. package/dist/styles/Overlay/Dialog.css +3 -0
  208. package/dist/styles/Overlay/Tooltip.css +3 -0
  209. package/dist/styles/Primitives/Badge.css +14 -0
  210. package/dist/styles/Primitives/Button.css +1 -0
  211. package/dist/styles/Primitives/Checkbox.css +1 -0
  212. package/dist/styles/Primitives/Dropdown.css +26 -0
  213. package/dist/styles/Primitives/DropdownButton.css +1 -0
  214. package/dist/styles/Primitives/Indicator.css +5 -0
  215. package/dist/styles/Primitives/Input.css +1 -0
  216. package/dist/styles/Primitives/Label.css +1 -0
  217. package/dist/styles/Primitives/Radio.css +1 -0
  218. package/dist/styles/Primitives/Switch.css +1 -0
  219. package/dist/styles/Primitives/TextBox.css +1 -0
  220. package/dist/styles/base.css +1 -246
  221. package/dist/styles/tokens/animations-shared.css +55 -0
  222. package/dist/styles/tokens/core.css +56 -0
  223. package/dist/styles/tokens.css +4 -345
  224. package/dist/styles.css +153 -163
  225. package/dist/theme.cjs +1 -1
  226. package/dist/theme.d.cts +29 -113
  227. package/dist/theme.d.ts +29 -113
  228. package/dist/theme.js +1 -1
  229. package/dist/utils.cjs +1 -1
  230. package/dist/utils.d.cts +1 -5
  231. package/dist/utils.d.ts +1 -5
  232. package/dist/utils.js +1 -1
  233. package/package.json +25 -8
  234. package/dist/Accordion.cjs +0 -1
  235. package/dist/Accordion.d.cts +0 -25
  236. package/dist/Accordion.d.ts +0 -25
  237. package/dist/Accordion.js +0 -1
  238. package/dist/Alert.cjs +0 -1
  239. package/dist/Alert.d.cts +0 -30
  240. package/dist/Alert.d.ts +0 -30
  241. package/dist/Alert.js +0 -1
  242. package/dist/Badge.cjs +0 -1
  243. package/dist/Badge.d.cts +0 -10
  244. package/dist/Badge.d.ts +0 -10
  245. package/dist/Badge.js +0 -1
  246. package/dist/Button.cjs +0 -1
  247. package/dist/Button.d.cts +0 -10
  248. package/dist/Button.d.ts +0 -10
  249. package/dist/Button.js +0 -1
  250. package/dist/Card.cjs +0 -1
  251. package/dist/Card.d.cts +0 -35
  252. package/dist/Card.d.ts +0 -35
  253. package/dist/Card.js +0 -1
  254. package/dist/Chat.cjs +0 -1
  255. package/dist/Chat.d.cts +0 -32
  256. package/dist/Chat.d.ts +0 -32
  257. package/dist/Chat.js +0 -1
  258. package/dist/Checkbox.cjs +0 -1
  259. package/dist/Checkbox.d.cts +0 -21
  260. package/dist/Checkbox.d.ts +0 -21
  261. package/dist/Checkbox.js +0 -1
  262. package/dist/CinePlayer.cjs +0 -1
  263. package/dist/CinePlayer.d.cts +0 -40
  264. package/dist/CinePlayer.d.ts +0 -40
  265. package/dist/CinePlayer.js +0 -1
  266. package/dist/CodeBlock.cjs +0 -1
  267. package/dist/CodeBlock.d.cts +0 -22
  268. package/dist/CodeBlock.d.ts +0 -22
  269. package/dist/CodeBlock.js +0 -1
  270. package/dist/Dialog.cjs +0 -1
  271. package/dist/Dialog.d.cts +0 -27
  272. package/dist/Dialog.d.ts +0 -27
  273. package/dist/Dialog.js +0 -1
  274. package/dist/Dropdown.cjs +0 -1
  275. package/dist/Dropdown.d.cts +0 -71
  276. package/dist/Dropdown.d.ts +0 -71
  277. package/dist/Dropdown.js +0 -1
  278. package/dist/DropdownButton.cjs +0 -1
  279. package/dist/DropdownButton.d.cts +0 -39
  280. package/dist/DropdownButton.d.ts +0 -39
  281. package/dist/DropdownButton.js +0 -1
  282. package/dist/FileExplorer.cjs +0 -1
  283. package/dist/FileExplorer.d.cts +0 -96
  284. package/dist/FileExplorer.d.ts +0 -96
  285. package/dist/FileExplorer.js +0 -1
  286. package/dist/FilmReel.cjs +0 -1
  287. package/dist/FilmReel.d.cts +0 -43
  288. package/dist/FilmReel.d.ts +0 -43
  289. package/dist/FilmReel.js +0 -1
  290. package/dist/Form.cjs +0 -1
  291. package/dist/Form.d.cts +0 -101
  292. package/dist/Form.d.ts +0 -101
  293. package/dist/Form.js +0 -1
  294. package/dist/Header.cjs +0 -1
  295. package/dist/Header.d.cts +0 -59
  296. package/dist/Header.d.ts +0 -59
  297. package/dist/Header.js +0 -1
  298. package/dist/ImageCard.cjs +0 -1
  299. package/dist/ImageCard.d.cts +0 -22
  300. package/dist/ImageCard.d.ts +0 -22
  301. package/dist/ImageCard.js +0 -1
  302. package/dist/Indicator.cjs +0 -1
  303. package/dist/Indicator.d.cts +0 -19
  304. package/dist/Indicator.d.ts +0 -19
  305. package/dist/Indicator.js +0 -1
  306. package/dist/Input.cjs +0 -1
  307. package/dist/Input.d.cts +0 -24
  308. package/dist/Input.d.ts +0 -24
  309. package/dist/Input.js +0 -1
  310. package/dist/Label.cjs +0 -1
  311. package/dist/Label.d.cts +0 -10
  312. package/dist/Label.d.ts +0 -10
  313. package/dist/Label.js +0 -1
  314. package/dist/List.cjs +0 -1
  315. package/dist/List.d.cts +0 -18
  316. package/dist/List.d.ts +0 -18
  317. package/dist/List.js +0 -1
  318. package/dist/Masonry.cjs +0 -1
  319. package/dist/Masonry.d.cts +0 -41
  320. package/dist/Masonry.d.ts +0 -41
  321. package/dist/Masonry.js +0 -1
  322. package/dist/MiniPlayer.cjs +0 -1
  323. package/dist/MiniPlayer.d.cts +0 -53
  324. package/dist/MiniPlayer.d.ts +0 -53
  325. package/dist/MiniPlayer.js +0 -1
  326. package/dist/NavLink.cjs +0 -1
  327. package/dist/NavLink.d.cts +0 -13
  328. package/dist/NavLink.d.ts +0 -13
  329. package/dist/NavLink.js +0 -1
  330. package/dist/Panel.cjs +0 -1
  331. package/dist/Panel.d.cts +0 -12
  332. package/dist/Panel.d.ts +0 -12
  333. package/dist/Panel.js +0 -1
  334. package/dist/ProgressBar.cjs +0 -1
  335. package/dist/ProgressBar.d.cts +0 -21
  336. package/dist/ProgressBar.d.ts +0 -21
  337. package/dist/ProgressBar.js +0 -1
  338. package/dist/Radio.cjs +0 -1
  339. package/dist/Radio.d.cts +0 -35
  340. package/dist/Radio.d.ts +0 -35
  341. package/dist/Radio.js +0 -1
  342. package/dist/SideNav.cjs +0 -1
  343. package/dist/SideNav.d.cts +0 -80
  344. package/dist/SideNav.d.ts +0 -80
  345. package/dist/SideNav.js +0 -1
  346. package/dist/Spin.cjs +0 -1
  347. package/dist/Spin.d.cts +0 -26
  348. package/dist/Spin.d.ts +0 -26
  349. package/dist/Spin.js +0 -1
  350. package/dist/Switch.cjs +0 -1
  351. package/dist/Switch.d.cts +0 -23
  352. package/dist/Switch.d.ts +0 -23
  353. package/dist/Switch.js +0 -1
  354. package/dist/Table.cjs +0 -1
  355. package/dist/Table.d.cts +0 -102
  356. package/dist/Table.d.ts +0 -102
  357. package/dist/Table.js +0 -1
  358. package/dist/Tabs.cjs +0 -1
  359. package/dist/Tabs.d.cts +0 -30
  360. package/dist/Tabs.d.ts +0 -30
  361. package/dist/Tabs.js +0 -1
  362. package/dist/TextBox.cjs +0 -1
  363. package/dist/TextBox.d.cts +0 -16
  364. package/dist/TextBox.d.ts +0 -16
  365. package/dist/TextBox.js +0 -1
  366. package/dist/Tooltip.cjs +0 -1
  367. package/dist/Tooltip.d.cts +0 -19
  368. package/dist/Tooltip.d.ts +0 -19
  369. package/dist/Tooltip.js +0 -1
  370. package/dist/Tree.cjs +0 -1
  371. package/dist/Tree.d.cts +0 -37
  372. package/dist/Tree.d.ts +0 -37
  373. package/dist/Tree.js +0 -1
  374. package/dist/chunks/chunk-2JLNRAXS.cjs +0 -1
  375. package/dist/chunks/chunk-2KVAFCQI.cjs +0 -1
  376. package/dist/chunks/chunk-3I7Y6FUJ.js +0 -1
  377. package/dist/chunks/chunk-47UMFXDG.js +0 -1
  378. package/dist/chunks/chunk-4D3XBPZX.cjs +0 -55
  379. package/dist/chunks/chunk-4VFV5U3S.js +0 -1
  380. package/dist/chunks/chunk-5FUEJFGY.js +0 -1
  381. package/dist/chunks/chunk-5XT6TJGF.js +0 -1
  382. package/dist/chunks/chunk-6AMBRNVW.js +0 -1
  383. package/dist/chunks/chunk-6BI4QL37.cjs +0 -1
  384. package/dist/chunks/chunk-6E5ARQBB.cjs +0 -1
  385. package/dist/chunks/chunk-6QQPQPD2.cjs +0 -1
  386. package/dist/chunks/chunk-7CEOIZXK.js +0 -1
  387. package/dist/chunks/chunk-7XPIY2SQ.cjs +0 -1
  388. package/dist/chunks/chunk-A6HIQADJ.cjs +0 -1
  389. package/dist/chunks/chunk-AEBULFON.cjs +0 -1
  390. package/dist/chunks/chunk-AK5IK7ZD.js +0 -1
  391. package/dist/chunks/chunk-AN2R5URJ.js +0 -1
  392. package/dist/chunks/chunk-AXBJKPZZ.js +0 -1
  393. package/dist/chunks/chunk-BTR2N5MO.cjs +0 -2
  394. package/dist/chunks/chunk-BUNOVZ23.cjs +0 -2
  395. package/dist/chunks/chunk-CEEQE7SY.js +0 -1
  396. package/dist/chunks/chunk-CGGBE3GJ.cjs +0 -2
  397. package/dist/chunks/chunk-CMHBPMXE.js +0 -1
  398. package/dist/chunks/chunk-DWYAPPDB.cjs +0 -1
  399. package/dist/chunks/chunk-E3DST3QD.cjs +0 -1
  400. package/dist/chunks/chunk-E4EMAZ6V.js +0 -2
  401. package/dist/chunks/chunk-E5UKEXJE.js +0 -1
  402. package/dist/chunks/chunk-ETVECKSE.js +0 -2
  403. package/dist/chunks/chunk-FDTREGBQ.cjs +0 -1
  404. package/dist/chunks/chunk-FGUFBTKI.cjs +0 -1
  405. package/dist/chunks/chunk-FQZX67Z7.js +0 -1
  406. package/dist/chunks/chunk-FROZM2O6.js +0 -1
  407. package/dist/chunks/chunk-G2VO67XY.js +0 -1
  408. package/dist/chunks/chunk-GYFFUCBT.js +0 -55
  409. package/dist/chunks/chunk-I425OSJL.js +0 -1
  410. package/dist/chunks/chunk-ICDAUJ2G.cjs +0 -1
  411. package/dist/chunks/chunk-IFRKP7M2.js +0 -1
  412. package/dist/chunks/chunk-IHBP6FI4.js +0 -1
  413. package/dist/chunks/chunk-IL5XDMUA.cjs +0 -1
  414. package/dist/chunks/chunk-IRSGPS7D.cjs +0 -1
  415. package/dist/chunks/chunk-ITWFMFVO.js +0 -1
  416. package/dist/chunks/chunk-JJP23IOG.cjs +0 -1
  417. package/dist/chunks/chunk-JRYYWYGV.cjs +0 -1
  418. package/dist/chunks/chunk-KCIICUZN.cjs +0 -1
  419. package/dist/chunks/chunk-KFQVZ2HC.cjs +0 -1
  420. package/dist/chunks/chunk-KGRBVUVK.cjs +0 -1
  421. package/dist/chunks/chunk-KY4NDB23.cjs +0 -1
  422. package/dist/chunks/chunk-KZBYFKOH.js +0 -1
  423. package/dist/chunks/chunk-LFJEIO3X.cjs +0 -1
  424. package/dist/chunks/chunk-N4QZRR2Y.cjs +0 -17
  425. package/dist/chunks/chunk-NY27TTWN.js +0 -1
  426. package/dist/chunks/chunk-OEXZGLB4.js +0 -1
  427. package/dist/chunks/chunk-OZVJMUXX.cjs +0 -1
  428. package/dist/chunks/chunk-PHAX43YF.js +0 -1
  429. package/dist/chunks/chunk-QC67HOC2.cjs +0 -1
  430. package/dist/chunks/chunk-QLFCH4TD.js +0 -1
  431. package/dist/chunks/chunk-QTADJ7I5.js +0 -17
  432. package/dist/chunks/chunk-RPBESM5F.cjs +0 -1
  433. package/dist/chunks/chunk-SC4PNYQT.js +0 -2
  434. package/dist/chunks/chunk-SLHD7PST.cjs +0 -1
  435. package/dist/chunks/chunk-UDH3OKNZ.cjs +0 -6
  436. package/dist/chunks/chunk-UEGTVAFV.cjs +0 -1
  437. package/dist/chunks/chunk-V34PT6H4.cjs +0 -1
  438. package/dist/chunks/chunk-VUWT3NFR.js +0 -1
  439. package/dist/chunks/chunk-W5UXZVLS.cjs +0 -1
  440. package/dist/chunks/chunk-WQOSJM7L.js +0 -2
  441. package/dist/chunks/chunk-WRPPKNRG.js +0 -1
  442. package/dist/chunks/chunk-X5YP5TMY.cjs +0 -1
  443. package/dist/chunks/chunk-XAOBJSFW.js +0 -1
  444. package/dist/chunks/chunk-XK7SMEDO.cjs +0 -2
  445. package/dist/chunks/chunk-XO6CNALX.js +0 -1
  446. package/dist/chunks/chunk-ZY7GZOBS.js +0 -1
  447. package/dist/styles/CinePlayer.css +0 -54
  448. package/dist/styles/FileExplorer.css +0 -38
  449. package/dist/styles/FilmReel.css +0 -24
  450. package/dist/styles/MiniPlayer.css +0 -71
@@ -1,96 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
-
4
- interface FileExplorerItem {
5
- /** File or directory name (including extension). */
6
- name: string;
7
- /** Absolute or virtual path. */
8
- path: string;
9
- /** Item type. */
10
- type: "file" | "directory";
11
- /** Size in bytes (files only). */
12
- size?: number;
13
- /** File extension (e.g. '.tsx'). Auto-derived from name if omitted. */
14
- extension?: string;
15
- /** Last modified date. */
16
- modifiedAt?: Date | string;
17
- /** Creation date. */
18
- createdAt?: Date | string;
19
- /** MIME type string. */
20
- mimeType?: string;
21
- /** Whether this item is hidden. */
22
- hidden?: boolean;
23
- }
24
- type FileExplorerViewMode = "list" | "grid";
25
- type FileExplorerDockSide = "left" | "right";
26
- /** Toolbar input mode: filter current list or navigate to a path. */
27
- type FileExplorerInputMode = "search" | "navigate";
28
- /** A custom action shown in the properties panel. */
29
- interface FileExplorerAction {
30
- /** Unique key for the action. */
31
- key: string;
32
- /** Label displayed on the button. */
33
- label: string;
34
- /** Optional lucide icon component. */
35
- icon?: React.ComponentType<{
36
- className?: string;
37
- }>;
38
- /** Called when the action is clicked. */
39
- onClick: (file: FileExplorerItem) => void;
40
- }
41
- interface FileExplorerProps {
42
- /** Files / directories to display. */
43
- files: FileExplorerItem[];
44
- /** Window title. @default 'File Explorer' */
45
- title?: string;
46
- /** Accent color (any CSS color). @default '#8b5cf6' */
47
- accent?: string;
48
- /** Default view mode. @default 'list' */
49
- defaultView?: FileExplorerViewMode;
50
- /** Initial window position {x, y}. */
51
- initialPosition?: {
52
- x: number;
53
- y: number;
54
- };
55
- /** Initial window dimensions (px). */
56
- initialSize?: {
57
- width: number;
58
- height: number;
59
- };
60
- /** Enable dock-to-edge behaviour. @default false */
61
- dockable?: boolean;
62
- /** Which edge to dock to. @default 'right' */
63
- dockSide?: FileExplorerDockSide;
64
- /** Whether the explorer starts visible. @default true */
65
- visible?: boolean;
66
- /** Called on double-click of a file. */
67
- onFileOpen?: (file: FileExplorerItem) => void;
68
- /** Called when selection changes. */
69
- onSelectionChange?: (files: FileExplorerItem[]) => void;
70
- /** Called when navigating into a directory. */
71
- onNavigate?: (path: string) => void;
72
- /** Called when the user confirms deletion of selected files via the Delete key. */
73
- onDelete?: (files: FileExplorerItem[]) => void;
74
- /** Called on close button. */
75
- onClose?: () => void;
76
- /** Called on minimize/dock. */
77
- onMinimize?: () => void;
78
- /** Called when user presses Enter in navigate mode. Receives the typed path. */
79
- onPathSubmit?: (path: string) => void;
80
- /** Default input mode. @default 'search' */
81
- defaultInputMode?: FileExplorerInputMode;
82
- /** Custom actions shown in the properties panel. Each receives the inspected file. */
83
- actions?: FileExplorerAction[];
84
- /** Whether the window is resizable. @default true */
85
- resizable?: boolean;
86
- /** Minimum window size when resizing. @default { width: 400, height: 300 } */
87
- minSize?: {
88
- width: number;
89
- height: number;
90
- };
91
- /** Extra class on outermost wrapper. */
92
- className?: string;
93
- }
94
- declare function FileExplorer({ files, title, accent, defaultView, initialPosition, initialSize, dockable, dockSide, visible: visibleProp, onFileOpen, onSelectionChange, onNavigate, onDelete, onClose, onMinimize, onPathSubmit, defaultInputMode, actions, resizable, minSize, className, }: FileExplorerProps): react_jsx_runtime.JSX.Element | null;
95
-
96
- export { FileExplorer, type FileExplorerAction, type FileExplorerDockSide, type FileExplorerInputMode, type FileExplorerItem, type FileExplorerProps, type FileExplorerViewMode };
@@ -1 +0,0 @@
1
- export{a as FileExplorer}from'./chunks/chunk-GYFFUCBT.js';import'./chunks/chunk-3I7Y6FUJ.js';import'./chunks/chunk-5FUEJFGY.js';import'./chunks/chunk-XAOBJSFW.js';import'./chunks/chunk-AXBJKPZZ.js';
package/dist/FilmReel.cjs DELETED
@@ -1 +0,0 @@
1
- 'use strict';var chunkCGGBE3GJ_cjs=require('./chunks/chunk-CGGBE3GJ.cjs');require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"FilmReel",{enumerable:true,get:function(){return chunkCGGBE3GJ_cjs.a}});
@@ -1,43 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
-
4
- interface FilmReelPhoto {
5
- src: string;
6
- alt?: string;
7
- title?: string;
8
- /** A short memoir or description for this photo. */
9
- description?: string;
10
- metadata?: {
11
- camera?: string;
12
- lens?: string;
13
- aperture?: string;
14
- shutter?: string;
15
- iso?: string;
16
- date?: string;
17
- location?: string;
18
- [key: string]: string | undefined;
19
- };
20
- }
21
- interface FilmReelAction {
22
- key: string;
23
- icon: React.ReactNode;
24
- activeIcon?: React.ReactNode;
25
- label: string;
26
- toggle?: boolean;
27
- }
28
- type FilmReelLayout = "strip" | "sheet" | "stack";
29
- interface FilmReelProps {
30
- photos: FilmReelPhoto[];
31
- layout?: FilmReelLayout;
32
- actions?: FilmReelAction[];
33
- onAction?: (action: string, photo: FilmReelPhoto, index: number) => void;
34
- className?: string;
35
- showGrain?: boolean;
36
- /** Left-side header text for the contact sheet layout. */
37
- sheetTitle?: string;
38
- /** Right-side label text for the contact sheet layout. */
39
- sheetLabel?: string;
40
- }
41
- declare function FilmReel({ photos, layout, actions, onAction, className, showGrain, sheetTitle, sheetLabel, }: FilmReelProps): react_jsx_runtime.JSX.Element;
42
-
43
- export { FilmReel, type FilmReelAction, type FilmReelLayout, type FilmReelPhoto, type FilmReelProps };
@@ -1,43 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
-
4
- interface FilmReelPhoto {
5
- src: string;
6
- alt?: string;
7
- title?: string;
8
- /** A short memoir or description for this photo. */
9
- description?: string;
10
- metadata?: {
11
- camera?: string;
12
- lens?: string;
13
- aperture?: string;
14
- shutter?: string;
15
- iso?: string;
16
- date?: string;
17
- location?: string;
18
- [key: string]: string | undefined;
19
- };
20
- }
21
- interface FilmReelAction {
22
- key: string;
23
- icon: React.ReactNode;
24
- activeIcon?: React.ReactNode;
25
- label: string;
26
- toggle?: boolean;
27
- }
28
- type FilmReelLayout = "strip" | "sheet" | "stack";
29
- interface FilmReelProps {
30
- photos: FilmReelPhoto[];
31
- layout?: FilmReelLayout;
32
- actions?: FilmReelAction[];
33
- onAction?: (action: string, photo: FilmReelPhoto, index: number) => void;
34
- className?: string;
35
- showGrain?: boolean;
36
- /** Left-side header text for the contact sheet layout. */
37
- sheetTitle?: string;
38
- /** Right-side label text for the contact sheet layout. */
39
- sheetLabel?: string;
40
- }
41
- declare function FilmReel({ photos, layout, actions, onAction, className, showGrain, sheetTitle, sheetLabel, }: FilmReelProps): react_jsx_runtime.JSX.Element;
42
-
43
- export { FilmReel, type FilmReelAction, type FilmReelLayout, type FilmReelPhoto, type FilmReelProps };
package/dist/FilmReel.js DELETED
@@ -1 +0,0 @@
1
- export{a as FilmReel}from'./chunks/chunk-ETVECKSE.js';import'./chunks/chunk-AXBJKPZZ.js';
package/dist/Form.cjs DELETED
@@ -1 +0,0 @@
1
- 'use strict';var chunkE3DST3QD_cjs=require('./chunks/chunk-E3DST3QD.cjs');require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"Form",{enumerable:true,get:function(){return chunkE3DST3QD_cjs.a}});Object.defineProperty(exports,"FormItem",{enumerable:true,get:function(){return chunkE3DST3QD_cjs.b}});Object.defineProperty(exports,"FormSection",{enumerable:true,get:function(){return chunkE3DST3QD_cjs.c}});
package/dist/Form.d.cts DELETED
@@ -1,101 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { formVariants } from './theme.cjs';
5
- import 'class-variance-authority/types';
6
-
7
- type FormLayout = "stacked" | "inline";
8
- type FormSize = "sm" | "md" | "lg";
9
- type FormValidationStatus = "error" | "warning" | "success" | "hint";
10
- /** Return value of a FormItem validation callback. */
11
- type ValidationResult = {
12
- result: boolean;
13
- reason: string;
14
- };
15
- /** Callback type for FormItem's `onValidate` prop. */
16
- type ValidateCallback = (value: unknown) => ValidationResult;
17
- /**
18
- * Map of field names → ValidationResult returned from the `onValues` callback.
19
- * Form will automatically display these errors in the matching named FormItems.
20
- * Fields with `result: true` show a success message; `result: false` shows an error.
21
- */
22
- type BulkValidationResult = Record<string, ValidationResult>;
23
- type FormProps = React.FormHTMLAttributes<HTMLFormElement> & VariantProps<typeof formVariants> & {
24
- /**
25
- * Label + control layout for all FormItems.
26
- * - "stacked" — label above control (default; always used on narrow viewports)
27
- * - "inline" — label left, control right
28
- * @default "stacked"
29
- */
30
- layout?: FormLayout;
31
- /** Form heading rendered above all items. */
32
- title?: React.ReactNode;
33
- /** Optional descriptive text below the heading. */
34
- description?: React.ReactNode;
35
- /**
36
- * Footer slot — typically holds submit / reset buttons.
37
- * Rendered below all FormItems, separated by a top border.
38
- */
39
- footer?: React.ReactNode;
40
- /**
41
- * Called on form submit with a plain-object snapshot of all named
42
- * FormItem inputs (via the native FormData API).
43
- * Call `e.preventDefault()` inside this callback to prevent a page reload.
44
- *
45
- * May return (or resolve to) a `BulkValidationResult` to display
46
- * per-field errors/successes — Form automatically routes each entry
47
- * to the matching `<FormItem name="…">`.
48
- * Supports async (return a Promise).
49
- */
50
- onValues?: (values: Record<string, FormDataEntryValue>, event: React.FormEvent<HTMLFormElement>) => BulkValidationResult | void | Promise<BulkValidationResult | void>;
51
- };
52
- declare function Form({ children, className, intent, size, layout, title, description, footer, onValues, onSubmit, ...props }: FormProps): react_jsx_runtime.JSX.Element;
53
- type FormValidation = {
54
- /** Validation display status. Controls icon colour. */
55
- status: FormValidationStatus;
56
- /** Message text shown below the control. */
57
- message: string;
58
- };
59
- type FormItemProps = {
60
- /** Label text or element. Pass a string for automatic htmlFor wiring. */
61
- label?: React.ReactNode;
62
- /**
63
- * Override the inherited layout from Form.
64
- * Useful when a specific item needs to differ from the rest.
65
- */
66
- layout?: FormLayout;
67
- /** Whether the field is required (adds a red asterisk after the label). */
68
- required?: boolean;
69
- /** Additional hint text rendered below the control (below validation if both present). */
70
- hint?: React.ReactNode;
71
- /** Externally controlled validation result. Takes precedence over `onValidate`. */
72
- validation?: FormValidation;
73
- /**
74
- * Field name used by the native FormData API when the Form's `onValues`
75
- * callback is used. Injected into the first child element automatically.
76
- */
77
- name?: string;
78
- /**
79
- * Validation callback. Called with the current value on every change.
80
- * Return `{ result: true, reason: "" }` for success or
81
- * `{ result: false, reason: "Error message" }` for error.
82
- */
83
- onValidate?: ValidateCallback;
84
- /** Extra class on the wrapper div. */
85
- className?: string;
86
- children: React.ReactNode;
87
- };
88
- declare function FormItem({ label, layout: itemLayout, required, hint, validation, name, onValidate, className, children, }: FormItemProps): react_jsx_runtime.JSX.Element;
89
- /**
90
- * Optional grouping element inside a Form.
91
- * Renders a subtle heading + divider, then its children as a nested column.
92
- */
93
- type FormSectionProps = {
94
- title?: React.ReactNode;
95
- description?: React.ReactNode;
96
- className?: string;
97
- children: React.ReactNode;
98
- };
99
- declare function FormSection({ title, description, className, children }: FormSectionProps): react_jsx_runtime.JSX.Element;
100
-
101
- export { type BulkValidationResult, Form, FormItem, type FormItemProps, type FormLayout, type FormProps, FormSection, type FormSectionProps, type FormSize, type FormValidation, type FormValidationStatus, type ValidateCallback, type ValidationResult };
package/dist/Form.d.ts DELETED
@@ -1,101 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { formVariants } from './theme.js';
5
- import 'class-variance-authority/types';
6
-
7
- type FormLayout = "stacked" | "inline";
8
- type FormSize = "sm" | "md" | "lg";
9
- type FormValidationStatus = "error" | "warning" | "success" | "hint";
10
- /** Return value of a FormItem validation callback. */
11
- type ValidationResult = {
12
- result: boolean;
13
- reason: string;
14
- };
15
- /** Callback type for FormItem's `onValidate` prop. */
16
- type ValidateCallback = (value: unknown) => ValidationResult;
17
- /**
18
- * Map of field names → ValidationResult returned from the `onValues` callback.
19
- * Form will automatically display these errors in the matching named FormItems.
20
- * Fields with `result: true` show a success message; `result: false` shows an error.
21
- */
22
- type BulkValidationResult = Record<string, ValidationResult>;
23
- type FormProps = React.FormHTMLAttributes<HTMLFormElement> & VariantProps<typeof formVariants> & {
24
- /**
25
- * Label + control layout for all FormItems.
26
- * - "stacked" — label above control (default; always used on narrow viewports)
27
- * - "inline" — label left, control right
28
- * @default "stacked"
29
- */
30
- layout?: FormLayout;
31
- /** Form heading rendered above all items. */
32
- title?: React.ReactNode;
33
- /** Optional descriptive text below the heading. */
34
- description?: React.ReactNode;
35
- /**
36
- * Footer slot — typically holds submit / reset buttons.
37
- * Rendered below all FormItems, separated by a top border.
38
- */
39
- footer?: React.ReactNode;
40
- /**
41
- * Called on form submit with a plain-object snapshot of all named
42
- * FormItem inputs (via the native FormData API).
43
- * Call `e.preventDefault()` inside this callback to prevent a page reload.
44
- *
45
- * May return (or resolve to) a `BulkValidationResult` to display
46
- * per-field errors/successes — Form automatically routes each entry
47
- * to the matching `<FormItem name="…">`.
48
- * Supports async (return a Promise).
49
- */
50
- onValues?: (values: Record<string, FormDataEntryValue>, event: React.FormEvent<HTMLFormElement>) => BulkValidationResult | void | Promise<BulkValidationResult | void>;
51
- };
52
- declare function Form({ children, className, intent, size, layout, title, description, footer, onValues, onSubmit, ...props }: FormProps): react_jsx_runtime.JSX.Element;
53
- type FormValidation = {
54
- /** Validation display status. Controls icon colour. */
55
- status: FormValidationStatus;
56
- /** Message text shown below the control. */
57
- message: string;
58
- };
59
- type FormItemProps = {
60
- /** Label text or element. Pass a string for automatic htmlFor wiring. */
61
- label?: React.ReactNode;
62
- /**
63
- * Override the inherited layout from Form.
64
- * Useful when a specific item needs to differ from the rest.
65
- */
66
- layout?: FormLayout;
67
- /** Whether the field is required (adds a red asterisk after the label). */
68
- required?: boolean;
69
- /** Additional hint text rendered below the control (below validation if both present). */
70
- hint?: React.ReactNode;
71
- /** Externally controlled validation result. Takes precedence over `onValidate`. */
72
- validation?: FormValidation;
73
- /**
74
- * Field name used by the native FormData API when the Form's `onValues`
75
- * callback is used. Injected into the first child element automatically.
76
- */
77
- name?: string;
78
- /**
79
- * Validation callback. Called with the current value on every change.
80
- * Return `{ result: true, reason: "" }` for success or
81
- * `{ result: false, reason: "Error message" }` for error.
82
- */
83
- onValidate?: ValidateCallback;
84
- /** Extra class on the wrapper div. */
85
- className?: string;
86
- children: React.ReactNode;
87
- };
88
- declare function FormItem({ label, layout: itemLayout, required, hint, validation, name, onValidate, className, children, }: FormItemProps): react_jsx_runtime.JSX.Element;
89
- /**
90
- * Optional grouping element inside a Form.
91
- * Renders a subtle heading + divider, then its children as a nested column.
92
- */
93
- type FormSectionProps = {
94
- title?: React.ReactNode;
95
- description?: React.ReactNode;
96
- className?: string;
97
- children: React.ReactNode;
98
- };
99
- declare function FormSection({ title, description, className, children }: FormSectionProps): react_jsx_runtime.JSX.Element;
100
-
101
- export { type BulkValidationResult, Form, FormItem, type FormItemProps, type FormLayout, type FormProps, FormSection, type FormSectionProps, type FormSize, type FormValidation, type FormValidationStatus, type ValidateCallback, type ValidationResult };
package/dist/Form.js DELETED
@@ -1 +0,0 @@
1
- export{a as Form,b as FormItem,c as FormSection}from'./chunks/chunk-AK5IK7ZD.js';import'./chunks/chunk-XAOBJSFW.js';import'./chunks/chunk-AXBJKPZZ.js';
package/dist/Header.cjs DELETED
@@ -1 +0,0 @@
1
- 'use strict';var chunkDWYAPPDB_cjs=require('./chunks/chunk-DWYAPPDB.cjs');require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"Header",{enumerable:true,get:function(){return chunkDWYAPPDB_cjs.a}});
package/dist/Header.d.cts DELETED
@@ -1,59 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
-
4
- interface HeaderNavItem {
5
- /** Display label. */
6
- label: React.ReactNode;
7
- /** URL or route path. */
8
- href?: string;
9
- /** Marks this item as currently active. */
10
- active?: boolean;
11
- /** Click handler (for SPA routing or custom behaviour). */
12
- onClick?: (e: React.MouseEvent) => void;
13
- }
14
- interface HeaderAction {
15
- /** Unique key. Falls back to index. */
16
- key?: string;
17
- /** Icon or element to render. */
18
- icon: React.ReactNode;
19
- /** Accessible label for the button. */
20
- "aria-label": string;
21
- /** Click handler. */
22
- onClick?: (e: React.MouseEvent) => void;
23
- /** Render as a link instead of a button. */
24
- href?: string;
25
- /** Open in new tab (when href is set). */
26
- external?: boolean;
27
- }
28
- interface HeaderProps {
29
- /** Brand text, logo element, or both. */
30
- brand?: React.ReactNode;
31
- /** Click handler on the brand element (e.g. navigate home). */
32
- onBrandClick?: (e: React.MouseEvent) => void;
33
- /** Primary navigation items displayed after the brand. */
34
- navItems?: HeaderNavItem[];
35
- /** Action buttons rendered on the right side (e.g. search, theme toggle, login). */
36
- actions?: HeaderAction[];
37
- /** Override the link component used for nav items (e.g. React-Router NavLink). */
38
- linkComponent?: React.ComponentType<{
39
- href: string;
40
- className?: string;
41
- onClick?: (e: React.MouseEvent) => void;
42
- children: React.ReactNode;
43
- }>;
44
- /** Fixed height class. @default 'h-12' */
45
- height?: string;
46
- /** Additional class names for the root header element. */
47
- className?: string;
48
- /** Content rendered between nav items and actions (e.g. search bar). */
49
- children?: React.ReactNode;
50
- /** Show a hamburger menu button on small screens (< md) that reveals nav items. @default false */
51
- mobileMenu?: boolean;
52
- /** Custom icon for the mobile nav toggle (left side). @default <PanelLeft> */
53
- navMenuIcon?: React.ReactNode;
54
- /** Custom icon for the mobile actions toggle (right side). @default <MoreHorizontal> */
55
- actionsMenuIcon?: React.ReactNode;
56
- }
57
- declare function Header({ brand, onBrandClick, navItems, actions, linkComponent: Link, height, mobileMenu, navMenuIcon, actionsMenuIcon, className, children, }: HeaderProps): react_jsx_runtime.JSX.Element;
58
-
59
- export { Header, type HeaderAction, type HeaderNavItem, type HeaderProps };
package/dist/Header.d.ts DELETED
@@ -1,59 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
-
4
- interface HeaderNavItem {
5
- /** Display label. */
6
- label: React.ReactNode;
7
- /** URL or route path. */
8
- href?: string;
9
- /** Marks this item as currently active. */
10
- active?: boolean;
11
- /** Click handler (for SPA routing or custom behaviour). */
12
- onClick?: (e: React.MouseEvent) => void;
13
- }
14
- interface HeaderAction {
15
- /** Unique key. Falls back to index. */
16
- key?: string;
17
- /** Icon or element to render. */
18
- icon: React.ReactNode;
19
- /** Accessible label for the button. */
20
- "aria-label": string;
21
- /** Click handler. */
22
- onClick?: (e: React.MouseEvent) => void;
23
- /** Render as a link instead of a button. */
24
- href?: string;
25
- /** Open in new tab (when href is set). */
26
- external?: boolean;
27
- }
28
- interface HeaderProps {
29
- /** Brand text, logo element, or both. */
30
- brand?: React.ReactNode;
31
- /** Click handler on the brand element (e.g. navigate home). */
32
- onBrandClick?: (e: React.MouseEvent) => void;
33
- /** Primary navigation items displayed after the brand. */
34
- navItems?: HeaderNavItem[];
35
- /** Action buttons rendered on the right side (e.g. search, theme toggle, login). */
36
- actions?: HeaderAction[];
37
- /** Override the link component used for nav items (e.g. React-Router NavLink). */
38
- linkComponent?: React.ComponentType<{
39
- href: string;
40
- className?: string;
41
- onClick?: (e: React.MouseEvent) => void;
42
- children: React.ReactNode;
43
- }>;
44
- /** Fixed height class. @default 'h-12' */
45
- height?: string;
46
- /** Additional class names for the root header element. */
47
- className?: string;
48
- /** Content rendered between nav items and actions (e.g. search bar). */
49
- children?: React.ReactNode;
50
- /** Show a hamburger menu button on small screens (< md) that reveals nav items. @default false */
51
- mobileMenu?: boolean;
52
- /** Custom icon for the mobile nav toggle (left side). @default <PanelLeft> */
53
- navMenuIcon?: React.ReactNode;
54
- /** Custom icon for the mobile actions toggle (right side). @default <MoreHorizontal> */
55
- actionsMenuIcon?: React.ReactNode;
56
- }
57
- declare function Header({ brand, onBrandClick, navItems, actions, linkComponent: Link, height, mobileMenu, navMenuIcon, actionsMenuIcon, className, children, }: HeaderProps): react_jsx_runtime.JSX.Element;
58
-
59
- export { Header, type HeaderAction, type HeaderNavItem, type HeaderProps };
package/dist/Header.js DELETED
@@ -1 +0,0 @@
1
- export{a as Header}from'./chunks/chunk-VUWT3NFR.js';import'./chunks/chunk-AXBJKPZZ.js';
@@ -1 +0,0 @@
1
- 'use strict';var chunk6QQPQPD2_cjs=require('./chunks/chunk-6QQPQPD2.cjs');require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"ImageCard",{enumerable:true,get:function(){return chunk6QQPQPD2_cjs.a}});Object.defineProperty(exports,"ImageCardActions",{enumerable:true,get:function(){return chunk6QQPQPD2_cjs.e}});Object.defineProperty(exports,"ImageCardBody",{enumerable:true,get:function(){return chunk6QQPQPD2_cjs.b}});Object.defineProperty(exports,"ImageCardDescription",{enumerable:true,get:function(){return chunk6QQPQPD2_cjs.d}});Object.defineProperty(exports,"ImageCardTitle",{enumerable:true,get:function(){return chunk6QQPQPD2_cjs.c}});
@@ -1,22 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
-
4
- interface ImageCardProps extends React.HTMLAttributes<HTMLDivElement> {
5
- /** Image source URL. */
6
- src: string;
7
- /** Image alt text. */
8
- alt?: string;
9
- /** Fixed aspect ratio for the image area. @default '16/9' */
10
- aspectRatio?: string;
11
- }
12
- type ImageCardBodyProps = React.HTMLAttributes<HTMLDivElement>;
13
- type ImageCardTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
14
- type ImageCardDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
15
- type ImageCardActionsProps = React.HTMLAttributes<HTMLDivElement>;
16
- declare function ImageCard({ src, alt, aspectRatio, className, children, ...props }: ImageCardProps): react_jsx_runtime.JSX.Element;
17
- declare function ImageCardBody({ className, ...props }: ImageCardBodyProps): react_jsx_runtime.JSX.Element;
18
- declare function ImageCardTitle({ className, ...props }: ImageCardTitleProps): react_jsx_runtime.JSX.Element;
19
- declare function ImageCardDescription({ className, ...props }: ImageCardDescriptionProps): react_jsx_runtime.JSX.Element;
20
- declare function ImageCardActions({ className, ...props }: ImageCardActionsProps): react_jsx_runtime.JSX.Element;
21
-
22
- export { ImageCard, ImageCardActions, type ImageCardActionsProps, ImageCardBody, type ImageCardBodyProps, ImageCardDescription, type ImageCardDescriptionProps, type ImageCardProps, ImageCardTitle, type ImageCardTitleProps };
@@ -1,22 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
-
4
- interface ImageCardProps extends React.HTMLAttributes<HTMLDivElement> {
5
- /** Image source URL. */
6
- src: string;
7
- /** Image alt text. */
8
- alt?: string;
9
- /** Fixed aspect ratio for the image area. @default '16/9' */
10
- aspectRatio?: string;
11
- }
12
- type ImageCardBodyProps = React.HTMLAttributes<HTMLDivElement>;
13
- type ImageCardTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
14
- type ImageCardDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
15
- type ImageCardActionsProps = React.HTMLAttributes<HTMLDivElement>;
16
- declare function ImageCard({ src, alt, aspectRatio, className, children, ...props }: ImageCardProps): react_jsx_runtime.JSX.Element;
17
- declare function ImageCardBody({ className, ...props }: ImageCardBodyProps): react_jsx_runtime.JSX.Element;
18
- declare function ImageCardTitle({ className, ...props }: ImageCardTitleProps): react_jsx_runtime.JSX.Element;
19
- declare function ImageCardDescription({ className, ...props }: ImageCardDescriptionProps): react_jsx_runtime.JSX.Element;
20
- declare function ImageCardActions({ className, ...props }: ImageCardActionsProps): react_jsx_runtime.JSX.Element;
21
-
22
- export { ImageCard, ImageCardActions, type ImageCardActionsProps, ImageCardBody, type ImageCardBodyProps, ImageCardDescription, type ImageCardDescriptionProps, type ImageCardProps, ImageCardTitle, type ImageCardTitleProps };
package/dist/ImageCard.js DELETED
@@ -1 +0,0 @@
1
- export{a as ImageCard,e as ImageCardActions,b as ImageCardBody,d as ImageCardDescription,c as ImageCardTitle}from'./chunks/chunk-6AMBRNVW.js';import'./chunks/chunk-AXBJKPZZ.js';
@@ -1 +0,0 @@
1
- 'use strict';var chunkFGUFBTKI_cjs=require('./chunks/chunk-FGUFBTKI.cjs');require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"Indicator",{enumerable:true,get:function(){return chunkFGUFBTKI_cjs.a}});
@@ -1,19 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { indicatorVariants } from './theme.cjs';
5
- import 'class-variance-authority/types';
6
-
7
- interface IndicatorProps extends VariantProps<typeof indicatorVariants> {
8
- children: React.ReactNode;
9
- /** Show or hide the indicator. @default true */
10
- show?: boolean;
11
- /** Content to display. Numbers > 99 are shown as "99+". Ignored when dot=true. */
12
- content?: React.ReactNode;
13
- /** Show a pulsing ring animation (best for dot-only mode). @default false */
14
- pulse?: boolean;
15
- className?: string;
16
- }
17
- declare function Indicator({ children, show, content, dot, intent, size, placement, pulse, className, }: IndicatorProps): react_jsx_runtime.JSX.Element;
18
-
19
- export { Indicator, type IndicatorProps };
@@ -1,19 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { indicatorVariants } from './theme.js';
5
- import 'class-variance-authority/types';
6
-
7
- interface IndicatorProps extends VariantProps<typeof indicatorVariants> {
8
- children: React.ReactNode;
9
- /** Show or hide the indicator. @default true */
10
- show?: boolean;
11
- /** Content to display. Numbers > 99 are shown as "99+". Ignored when dot=true. */
12
- content?: React.ReactNode;
13
- /** Show a pulsing ring animation (best for dot-only mode). @default false */
14
- pulse?: boolean;
15
- className?: string;
16
- }
17
- declare function Indicator({ children, show, content, dot, intent, size, placement, pulse, className, }: IndicatorProps): react_jsx_runtime.JSX.Element;
18
-
19
- export { Indicator, type IndicatorProps };
package/dist/Indicator.js DELETED
@@ -1 +0,0 @@
1
- export{a as Indicator}from'./chunks/chunk-E5UKEXJE.js';import'./chunks/chunk-XAOBJSFW.js';import'./chunks/chunk-AXBJKPZZ.js';
package/dist/Input.cjs DELETED
@@ -1 +0,0 @@
1
- 'use strict';var chunk6BI4QL37_cjs=require('./chunks/chunk-6BI4QL37.cjs');require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"Input",{enumerable:true,get:function(){return chunk6BI4QL37_cjs.a}});