laif-ds 0.1.2 → 0.1.3

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 (425) hide show
  1. package/dist/_virtual/jsx-runtime.js +6 -0
  2. package/dist/_virtual/jsx-runtime2.js +5 -0
  3. package/dist/_virtual/react-jsx-runtime.development.js +5 -0
  4. package/dist/_virtual/react-jsx-runtime.production.js +5 -0
  5. package/dist/components/ui/accordion.js +65 -0
  6. package/dist/components/ui/alert-dialog.js +147 -0
  7. package/dist/components/ui/alert.js +67 -0
  8. package/dist/components/ui/aspect-ratio.js +11 -0
  9. package/dist/components/ui/async-select.js +172 -0
  10. package/dist/components/ui/audio-visualizer.js +94 -0
  11. package/dist/components/ui/avatar.js +54 -0
  12. package/dist/components/ui/badge.js +41 -0
  13. package/dist/components/ui/button.js +66 -0
  14. package/dist/components/ui/calendar.js +62 -0
  15. package/dist/components/ui/card.js +77 -0
  16. package/dist/components/ui/carousel.js +178 -0
  17. package/dist/components/ui/chart.js +216 -0
  18. package/dist/components/ui/chat-message.js +250 -0
  19. package/dist/components/ui/chat.js +226 -0
  20. package/dist/components/ui/checkbox.js +32 -0
  21. package/dist/components/ui/collapsible.js +35 -0
  22. package/dist/components/ui/command.js +162 -0
  23. package/dist/components/ui/context-menu.js +224 -0
  24. package/dist/components/ui/copy-button.js +45 -0
  25. package/dist/components/ui/date-picker.js +59 -0
  26. package/dist/components/ui/dialog.js +123 -0
  27. package/dist/components/ui/drawer.js +120 -0
  28. package/dist/components/ui/file-preview.js +120 -0
  29. package/dist/components/ui/form.js +102 -0
  30. package/dist/components/ui/hover-card.js +39 -0
  31. package/dist/components/ui/icon.js +35 -0
  32. package/dist/components/ui/input-otp.js +62 -0
  33. package/dist/components/ui/input-selector.js +119 -0
  34. package/dist/components/ui/input.js +70 -0
  35. package/dist/components/ui/interrupt-prompt.js +38 -0
  36. package/dist/components/ui/label.js +23 -0
  37. package/dist/components/ui/markdown-renderer.js +126 -0
  38. package/dist/components/ui/menubar.js +252 -0
  39. package/dist/components/ui/message-input.js +336 -0
  40. package/dist/components/ui/message-list.js +29 -0
  41. package/dist/components/ui/multiple-selector.js +350 -0
  42. package/dist/components/ui/navigation-menu.js +171 -0
  43. package/dist/components/ui/pagination.js +119 -0
  44. package/dist/components/ui/popover.js +39 -0
  45. package/dist/components/ui/progress.js +32 -0
  46. package/dist/components/ui/prompt-suggestions.js +23 -0
  47. package/dist/components/ui/radio-group.js +46 -0
  48. package/dist/components/ui/resizable.js +49 -0
  49. package/dist/components/ui/scroll-area.js +61 -0
  50. package/dist/components/ui/select.js +189 -0
  51. package/dist/components/ui/separator.js +27 -0
  52. package/dist/components/ui/sheet.js +121 -0
  53. package/dist/components/ui/sidebar.js +599 -0
  54. package/dist/components/ui/skeleton.js +16 -0
  55. package/dist/components/ui/sonner.js +23 -0
  56. package/dist/components/ui/switch.js +32 -0
  57. package/dist/components/ui/table.js +115 -0
  58. package/dist/components/ui/tabs.js +68 -0
  59. package/dist/components/ui/textarea.js +19 -0
  60. package/dist/components/ui/toggle-group.js +63 -0
  61. package/dist/components/ui/toggle.js +44 -0
  62. package/dist/components/ui/tooltip.js +56 -0
  63. package/dist/components/ui/typing-indicator.js +13 -0
  64. package/dist/hooks/use-audio-recording.js +55 -0
  65. package/dist/hooks/use-auto-scroll.js +37 -0
  66. package/dist/hooks/use-autosize-textarea.js +22 -0
  67. package/dist/hooks/use-copy-to-clipboard.js +25 -0
  68. package/dist/hooks/use-debounce.js +16 -0
  69. package/dist/hooks/use-mobile.js +17 -0
  70. package/dist/index.d.ts +1088 -8
  71. package/dist/index.js +299 -0
  72. package/dist/lib/audio-utils.js +30 -0
  73. package/dist/lib/utils.js +9 -0
  74. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +248 -0
  75. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +36 -0
  76. package/dist/node_modules/react/jsx-runtime.js +11 -0
  77. package/dist/styles.css +1 -1
  78. package/package.json +15 -43
  79. package/dist/abap-BmBUA35e.js +0 -6
  80. package/dist/actionscript-3-zFUbzQa9.js +0 -6
  81. package/dist/ada-CBvPkFpZ.js +0 -6
  82. package/dist/andromeeda-uXNdzNpk.js +0 -4
  83. package/dist/angular-html-0fTdLuKf.js +0 -32
  84. package/dist/angular-ts-wkniW60G.js +0 -21
  85. package/dist/apache-CVNlsSDc.js +0 -6
  86. package/dist/apex-DFk3KRB1.js +0 -6
  87. package/dist/apl-TLDHFJX6.js +0 -16
  88. package/dist/applescript-CYMR_y0g.js +0 -6
  89. package/dist/ara-4QmU5e04.js +0 -6
  90. package/dist/asciidoc-v_1bjgUg.js +0 -6
  91. package/dist/asm-RC0Yh-NZ.js +0 -6
  92. package/dist/astro-Uf8_VxKJ.js +0 -16
  93. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  94. package/dist/awk-gPH8MVMW.js +0 -6
  95. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  96. package/dist/ballerina-kvLnRU_e.js +0 -6
  97. package/dist/bat-BHYy44sT.js +0 -6
  98. package/dist/beancount-D-MADTs_.js +0 -6
  99. package/dist/berry-Ci9U0o4h.js +0 -6
  100. package/dist/bibtex-CX618D15.js +0 -6
  101. package/dist/bicep-iuYiPopT.js +0 -6
  102. package/dist/blade-BtR00Gx0.js +0 -18
  103. package/dist/bsl-BIXPNqL4.js +0 -8
  104. package/dist/c-DASdrs7p.js +0 -6
  105. package/dist/cadence-BDALQi26.js +0 -6
  106. package/dist/cairo-tXZKA2PT.js +0 -8
  107. package/dist/catppuccin-frappe-BrTOiad2.js +0 -4
  108. package/dist/catppuccin-latte-D-dc_R4m.js +0 -4
  109. package/dist/catppuccin-macchiato-DN4jOp0G.js +0 -4
  110. package/dist/catppuccin-mocha-B8yCE3-3.js +0 -4
  111. package/dist/clarity-CNgV2Ths.js +0 -6
  112. package/dist/clojure-CsKKFGwv.js +0 -6
  113. package/dist/cmake-Dr-A3iJx.js +0 -6
  114. package/dist/cobol-DMssKNmC.js +0 -10
  115. package/dist/codeowners-Bt9yU6NX.js +0 -6
  116. package/dist/codeql-DBNTqJi1.js +0 -6
  117. package/dist/coffee-D_GzM8k1.js +0 -8
  118. package/dist/common-lisp-r7ZEOG7T.js +0 -6
  119. package/dist/components/atoms/index.d.ts +0 -20
  120. package/dist/components/index.d.ts +0 -3
  121. package/dist/components/molecules/index.d.ts +0 -29
  122. package/dist/components/organisms/index.d.ts +0 -14
  123. package/dist/components/ui/accordion.d.ts +0 -7
  124. package/dist/components/ui/alert-dialog.d.ts +0 -14
  125. package/dist/components/ui/alert.d.ts +0 -9
  126. package/dist/components/ui/aspect-ratio.d.ts +0 -3
  127. package/dist/components/ui/async-select.d.ts +0 -54
  128. package/dist/components/ui/audio-visualizer.d.ts +0 -7
  129. package/dist/components/ui/avatar.d.ts +0 -6
  130. package/dist/components/ui/badge.d.ts +0 -9
  131. package/dist/components/ui/button.d.ts +0 -14
  132. package/dist/components/ui/calendar.d.ts +0 -4
  133. package/dist/components/ui/card.d.ts +0 -9
  134. package/dist/components/ui/carousel.d.ts +0 -19
  135. package/dist/components/ui/chart.d.ts +0 -40
  136. package/dist/components/ui/chat-message.d.ts +0 -62
  137. package/dist/components/ui/chat.d.ts +0 -53
  138. package/dist/components/ui/checkbox.d.ts +0 -4
  139. package/dist/components/ui/collapsible.d.ts +0 -5
  140. package/dist/components/ui/command.d.ts +0 -16
  141. package/dist/components/ui/context-menu.d.ts +0 -25
  142. package/dist/components/ui/copy-button.d.ts +0 -6
  143. package/dist/components/ui/date-picker.d.ts +0 -11
  144. package/dist/components/ui/dialog.d.ts +0 -13
  145. package/dist/components/ui/drawer.d.ts +0 -13
  146. package/dist/components/ui/file-preview.d.ts +0 -7
  147. package/dist/components/ui/form.d.ts +0 -24
  148. package/dist/components/ui/hover-card.d.ts +0 -6
  149. package/dist/components/ui/icon.d.ts +0 -33
  150. package/dist/components/ui/input-otp.d.ts +0 -11
  151. package/dist/components/ui/input-selector.d.ts +0 -14
  152. package/dist/components/ui/input.d.ts +0 -14
  153. package/dist/components/ui/interrupt-prompt.d.ts +0 -6
  154. package/dist/components/ui/label.d.ts +0 -4
  155. package/dist/components/ui/markdown-renderer.d.ts +0 -5
  156. package/dist/components/ui/menubar.d.ts +0 -26
  157. package/dist/components/ui/message-input.d.ts +0 -23
  158. package/dist/components/ui/message-list.d.ts +0 -10
  159. package/dist/components/ui/multiple-selector.d.ts +0 -75
  160. package/dist/components/ui/navigation-menu.d.ts +0 -14
  161. package/dist/components/ui/pagination.d.ts +0 -13
  162. package/dist/components/ui/popover.d.ts +0 -7
  163. package/dist/components/ui/progress.d.ts +0 -4
  164. package/dist/components/ui/prompt-suggestions.d.ts +0 -10
  165. package/dist/components/ui/radio-group.d.ts +0 -5
  166. package/dist/components/ui/resizable.d.ts +0 -8
  167. package/dist/components/ui/scroll-area.d.ts +0 -5
  168. package/dist/components/ui/select.d.ts +0 -21
  169. package/dist/components/ui/separator.d.ts +0 -4
  170. package/dist/components/ui/sheet.d.ts +0 -13
  171. package/dist/components/ui/sidebar.d.ts +0 -69
  172. package/dist/components/ui/skeleton.d.ts +0 -2
  173. package/dist/components/ui/sonner.d.ts +0 -3
  174. package/dist/components/ui/switch.d.ts +0 -4
  175. package/dist/components/ui/table.d.ts +0 -10
  176. package/dist/components/ui/tabs.d.ts +0 -7
  177. package/dist/components/ui/textarea.d.ts +0 -3
  178. package/dist/components/ui/toggle-group.d.ts +0 -7
  179. package/dist/components/ui/toggle.d.ts +0 -9
  180. package/dist/components/ui/tooltip.d.ts +0 -7
  181. package/dist/components/ui/typing-indicator.d.ts +0 -1
  182. package/dist/coq-CB6Pv_W9.js +0 -6
  183. package/dist/cpp-CJF2i3ah.js +0 -18
  184. package/dist/crystal-BKWnaU3g.js +0 -18
  185. package/dist/csharp-CYWRhZ2R.js +0 -6
  186. package/dist/css-D1aVdRIU.js +0 -6
  187. package/dist/csv-DvCncUGQ.js +0 -6
  188. package/dist/cue-BXMrmvay.js +0 -6
  189. package/dist/cypher-DTm5zNR1.js +0 -6
  190. package/dist/d-D6ZXmn3l.js +0 -6
  191. package/dist/dark-plus-pUHDTVV0.js +0 -4
  192. package/dist/dart-Dz59Is3F.js +0 -6
  193. package/dist/dax-DTVGzydb.js +0 -6
  194. package/dist/desktop-Db9vb-dl.js +0 -6
  195. package/dist/diff-XmNrvgM1.js +0 -6
  196. package/dist/docker-DWH2onkn.js +0 -6
  197. package/dist/dotenv-4337wvzu.js +0 -6
  198. package/dist/dracula-BtZx2Kac.js +0 -4
  199. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  200. package/dist/dream-maker-CvvfrJSx.js +0 -6
  201. package/dist/edge-CgxR-qhM.js +0 -12
  202. package/dist/elixir-DZkeSPwW.js +0 -8
  203. package/dist/elm-BKuV1HE1.js +0 -8
  204. package/dist/emacs-lisp-BAefI874.js +0 -6
  205. package/dist/erb-BLwkpXUJ.js +0 -10
  206. package/dist/erlang-CmIiwF3I.js +0 -6
  207. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  208. package/dist/everforest-light-BbXl82Em.js +0 -4
  209. package/dist/fennel-DNqkz9pE.js +0 -6
  210. package/dist/fish-DIm72t2T.js +0 -6
  211. package/dist/fluent-BapTxJsC.js +0 -6
  212. package/dist/fortran-fixed-form-s9Hnb3av.js +0 -8
  213. package/dist/fortran-free-form-CNDsBFUj.js +0 -6
  214. package/dist/fsharp-Cv0x43wb.js +0 -8
  215. package/dist/gdresource-CMcKXvgJ.js +0 -10
  216. package/dist/gdscript-D7aheHm-.js +0 -6
  217. package/dist/gdshader-BGJEsM2Z.js +0 -6
  218. package/dist/genie-C9gPjc6J.js +0 -6
  219. package/dist/gherkin-bka1Exbx.js +0 -6
  220. package/dist/git-commit-BspYIY3P.js +0 -8
  221. package/dist/git-rebase--zLBTjUa.js +0 -8
  222. package/dist/github-dark-DenFmJkN.js +0 -4
  223. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  224. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  225. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  226. package/dist/github-light-JYsPkUQd.js +0 -4
  227. package/dist/github-light-default-D99KPAby.js +0 -4
  228. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  229. package/dist/gleam-B4k9YFGD.js +0 -6
  230. package/dist/glimmer-js-DhY9umHJ.js +0 -14
  231. package/dist/glimmer-ts-CCrHcYH5.js +0 -14
  232. package/dist/glsl-XLGYNq5B.js +0 -8
  233. package/dist/gnuplot-DnWoRZt-.js +0 -6
  234. package/dist/go-BErP6iv1.js +0 -6
  235. package/dist/graphql-DWpQF4JI.js +0 -14
  236. package/dist/groovy-IWs5-NIO.js +0 -6
  237. package/dist/hack-CQrV-ytR.js +0 -10
  238. package/dist/haml-CMN0hQaL.js +0 -10
  239. package/dist/handlebars-Cc-7fXX5.js +0 -14
  240. package/dist/haskell-CtlGos0K.js +0 -6
  241. package/dist/haxe-CZZ33vZw.js +0 -6
  242. package/dist/hcl-6hOg9WP4.js +0 -6
  243. package/dist/hjson-CgwED-oz.js +0 -6
  244. package/dist/hlsl-3-lv4gi7.js +0 -6
  245. package/dist/hooks/index.d.ts +0 -6
  246. package/dist/hooks/use-audio-recording.d.ts +0 -14
  247. package/dist/hooks/use-auto-scroll.d.ts +0 -7
  248. package/dist/hooks/use-autosize-textarea.d.ts +0 -8
  249. package/dist/hooks/use-copy-to-clipboard.d.ts +0 -9
  250. package/dist/hooks/use-debounce.d.ts +0 -1
  251. package/dist/hooks/use-mobile.d.ts +0 -1
  252. package/dist/houston-BDYrDoDW.js +0 -4
  253. package/dist/html-B0P_v3yU.js +0 -10
  254. package/dist/html-derivative-D59SHfh8.js +0 -8
  255. package/dist/http-Dcjm_K1m.js +0 -14
  256. package/dist/hxml-BNKImryz.js +0 -8
  257. package/dist/hy-C2xHhR6I.js +0 -6
  258. package/dist/imba-Drd0AMDo.js +0 -8
  259. package/dist/index-B3zhPw_i.js +0 -6376
  260. package/dist/index-CX8WDA1V.js +0 -71798
  261. package/dist/ini-BUcvsX-U.js +0 -6
  262. package/dist/java-B7odJ7Ap.js +0 -6
  263. package/dist/javascript-fa8UlHZE.js +0 -6
  264. package/dist/jinja-CCSYduCH.js +0 -11
  265. package/dist/jison-BygvlveW.js +0 -8
  266. package/dist/json-71t8ZF9g.js +0 -6
  267. package/dist/json5-Z7F6rA6a.js +0 -6
  268. package/dist/jsonc-Dphhs4m2.js +0 -6
  269. package/dist/jsonl-D9jj92Gg.js +0 -6
  270. package/dist/jsonnet-DEQ7IUoJ.js +0 -6
  271. package/dist/jssm-j74e88UX.js +0 -6
  272. package/dist/jsx-Bkesy5tT.js +0 -6
  273. package/dist/julia-CiahampL.js +0 -16
  274. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  275. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  276. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  277. package/dist/kotlin-DCgZY7Ii.js +0 -6
  278. package/dist/kusto-Cw029H-v.js +0 -6
  279. package/dist/laif-ds.es.js +0 -238
  280. package/dist/laif-ds.umd.js +0 -8032
  281. package/dist/laserwave-6a00oqik.js +0 -4
  282. package/dist/latex-LfGCYGw5.js +0 -8
  283. package/dist/lean-CYSet4vs.js +0 -6
  284. package/dist/less-DQA4v-Nm.js +0 -6
  285. package/dist/light-plus-CZuVqSLX.js +0 -4
  286. package/dist/liquid-CvufO3kO.js +0 -14
  287. package/dist/log-D2eRfqDn.js +0 -6
  288. package/dist/logo-QEAtGWZ9.js +0 -6
  289. package/dist/lua-BVfhNLDr.js +0 -8
  290. package/dist/luau-BjYGiqID.js +0 -6
  291. package/dist/make-BjuHP00g.js +0 -6
  292. package/dist/markdown-B6guhLWd.js +0 -6
  293. package/dist/marko-CHlMS8w5.js +0 -14
  294. package/dist/material-theme-D6KBX41T.js +0 -4
  295. package/dist/material-theme-darker-CkRroheE.js +0 -4
  296. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  297. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  298. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  299. package/dist/matlab-BpQlIJiw.js +0 -6
  300. package/dist/mdc-4K6B6lHG.js +0 -12
  301. package/dist/mdx-DIoECIFU.js +0 -6
  302. package/dist/mermaid-BZ7WHNIe.js +0 -6
  303. package/dist/min-dark-C7ak0t6c.js +0 -4
  304. package/dist/min-light-CKFxVcPp.js +0 -4
  305. package/dist/mipsasm-DusDYkFc.js +0 -6
  306. package/dist/mojo-CY9jaezJ.js +0 -6
  307. package/dist/monokai-C1KBYcO0.js +0 -4
  308. package/dist/move-ChphFumd.js +0 -6
  309. package/dist/narrat-Dz4d7OmN.js +0 -6
  310. package/dist/nextflow-DW0Yq9a2.js +0 -6
  311. package/dist/nginx-Can2eAjw.js +0 -8
  312. package/dist/night-owl-Bm2rzalh.js +0 -4
  313. package/dist/nim-B3r2RtQZ.js +0 -20
  314. package/dist/nix-Cg5uV_xg.js +0 -6
  315. package/dist/nord-CC5OiUXg.js +0 -4
  316. package/dist/nushell-BfRnzRWn.js +0 -6
  317. package/dist/objective-c-BGg9R27G.js +0 -6
  318. package/dist/objective-cpp-CJ3y3V_5.js +0 -6
  319. package/dist/ocaml-BZLsfx_o.js +0 -6
  320. package/dist/one-dark-pro-D7-kP8fv.js +0 -4
  321. package/dist/one-light-D9sNaUtq.js +0 -4
  322. package/dist/pascal-l2bqd7Dz.js +0 -6
  323. package/dist/perl-DaMQyPwp.js +0 -16
  324. package/dist/php-BL3EfPBi.js +0 -18
  325. package/dist/plastic-CSTz3KZp.js +0 -4
  326. package/dist/plsql-oVq_K_wH.js +0 -6
  327. package/dist/po-5jaeIyVd.js +0 -6
  328. package/dist/poimandres-C-VADXHD.js +0 -4
  329. package/dist/polar-wcLp8ci7.js +0 -6
  330. package/dist/postcss-BZ3MNRIJ.js +0 -6
  331. package/dist/powerquery-CgRa2XRw.js +0 -6
  332. package/dist/powershell-Diwyv8Eh.js +0 -6
  333. package/dist/prisma-COL_v1x4.js +0 -6
  334. package/dist/prolog-CuvJOxqT.js +0 -6
  335. package/dist/proto-o9HLmF90.js +0 -6
  336. package/dist/pug-HKe4Luo3.js +0 -12
  337. package/dist/puppet-wpGOnQp5.js +0 -6
  338. package/dist/purescript-B_1NgE2N.js +0 -6
  339. package/dist/python-xYxLFJY-.js +0 -6
  340. package/dist/qml-FlMIyjU9.js +0 -8
  341. package/dist/qmldir-BInDYbpo.js +0 -6
  342. package/dist/qss-D-h4NdUG.js +0 -6
  343. package/dist/r-F-9I-ITZ.js +0 -6
  344. package/dist/racket-BoD1TBFT.js +0 -6
  345. package/dist/raku-IaYcw19m.js +0 -6
  346. package/dist/razor-CeqqNtyB.js +0 -10
  347. package/dist/red-7y8PH7HH.js +0 -4
  348. package/dist/reg-CMUdAgIP.js +0 -6
  349. package/dist/regexp-GiFkbxS-.js +0 -6
  350. package/dist/rel-BaRn3QX7.js +0 -6
  351. package/dist/riscv-B9V3SsvW.js +0 -6
  352. package/dist/rose-pine-DhT-HZE9.js +0 -4
  353. package/dist/rose-pine-dawn-DiCjL2i4.js +0 -4
  354. package/dist/rose-pine-moon-BNmGHlcn.js +0 -4
  355. package/dist/rst-C3D6-dqL.js +0 -22
  356. package/dist/ruby-DcPLUUK3.js +0 -30
  357. package/dist/rust-Pc7DCsZD.js +0 -6
  358. package/dist/sas-tDSYjXcL.js +0 -8
  359. package/dist/sass-iCyS6eP9.js +0 -6
  360. package/dist/scala-Cly-fENF.js +0 -6
  361. package/dist/scheme-Zi24oEYu.js +0 -6
  362. package/dist/scss-DhHc4lxB.js +0 -8
  363. package/dist/sdbl-BBamrXFL.js +0 -6
  364. package/dist/shaderlab-CvqEIoL0.js +0 -8
  365. package/dist/shellscript-Dn0-btNd.js +0 -6
  366. package/dist/shellsession-8OLo3sB6.js +0 -8
  367. package/dist/slack-dark-i7wN4OET.js +0 -4
  368. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  369. package/dist/smalltalk-Cns31tKw.js +0 -6
  370. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  371. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  372. package/dist/solarized-light-BheCkDPT.js +0 -4
  373. package/dist/solidity-BG_k8fA_.js +0 -6
  374. package/dist/soy-EwHMOVPj.js +0 -8
  375. package/dist/sparql-DhuelBut.js +0 -8
  376. package/dist/splunk-CTqDjQdo.js +0 -6
  377. package/dist/sql-DCkt643-.js +0 -6
  378. package/dist/ssh-config-DHHGll-v.js +0 -6
  379. package/dist/stata-Dok6hMw0.js +0 -8
  380. package/dist/stylus-n_9f0QQ5.js +0 -6
  381. package/dist/svelte-01qw6Rxm.js +0 -14
  382. package/dist/swift-BAWqNR8A.js +0 -6
  383. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  384. package/dist/system-verilog-Cui-g-ut.js +0 -6
  385. package/dist/systemd-CsKYQIQK.js +0 -6
  386. package/dist/talonscript-D2dGh8FO.js +0 -6
  387. package/dist/tasl-D3W8HMV6.js +0 -6
  388. package/dist/tcl-2y0Fuc4S.js +0 -6
  389. package/dist/templ-Hmy8U0DD.js +0 -12
  390. package/dist/terraform-BGW6Oerf.js +0 -6
  391. package/dist/tex-mHs7a43s.js +0 -8
  392. package/dist/tokyo-night-LhP3hHhi.js +0 -4
  393. package/dist/toml-CQSfOn0e.js +0 -6
  394. package/dist/ts-tags-DYZ4SGcN.js +0 -41
  395. package/dist/tsv-BtvSkaG0.js +0 -6
  396. package/dist/tsx-DiGsgWT8.js +0 -6
  397. package/dist/turtle-BJ2wmjPc.js +0 -6
  398. package/dist/twig-BmytkGQV.js +0 -18
  399. package/dist/typescript-buWNZFwO.js +0 -6
  400. package/dist/typespec-bLbdsxJL.js +0 -6
  401. package/dist/typst-Y9_SmXTs.js +0 -6
  402. package/dist/v-wa8Orrdd.js +0 -6
  403. package/dist/vala-DRdriFr_.js +0 -6
  404. package/dist/vb-E2_-jk4M.js +0 -6
  405. package/dist/verilog-B1iBoR5_.js +0 -6
  406. package/dist/vesper-CJsaOsSM.js +0 -4
  407. package/dist/vhdl-CRVaAhXk.js +0 -6
  408. package/dist/viml-B-zWOd7Z.js +0 -6
  409. package/dist/vitesse-black-BoGvW84i.js +0 -4
  410. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  411. package/dist/vitesse-light-CcmG315c.js +0 -4
  412. package/dist/vue-Bl1uVNsA.js +0 -31
  413. package/dist/vue-html-DHr5wjBG.js +0 -10
  414. package/dist/vyper-DWutKXpa.js +0 -6
  415. package/dist/wasm-Bv5f0gKv.js +0 -6
  416. package/dist/wasm-DQxwEHae.js +0 -7
  417. package/dist/wenyan-BMYnfus1.js +0 -6
  418. package/dist/wgsl-DnPoPGDU.js +0 -6
  419. package/dist/wikitext-CntM04PE.js +0 -6
  420. package/dist/wolfram-Ws5qPlX9.js +0 -6
  421. package/dist/xml-ChBsf5uy.js +0 -8
  422. package/dist/xsl-BefjlXrd.js +0 -8
  423. package/dist/yaml-Bbg74JKr.js +0 -6
  424. package/dist/zenscript-C0RKE4nU.js +0 -6
  425. package/dist/zig-D6SXBGNm.js +0 -6
@@ -0,0 +1,599 @@
1
+ "use client";
2
+ import { j as t } from "../../_virtual/jsx-runtime.js";
3
+ import * as u from "react";
4
+ import { Slot as g } from "@radix-ui/react-slot";
5
+ import { cva as M } from "class-variance-authority";
6
+ import { PanelLeftIcon as k } from "lucide-react";
7
+ import { useIsMobile as z } from "../../hooks/use-mobile.js";
8
+ import { cn as r } from "../../lib/utils.js";
9
+ import { Button as I } from "./button.js";
10
+ import { Input as C } from "./input.js";
11
+ import { Separator as E } from "./separator.js";
12
+ import { Sheet as D, SheetContent as T, SheetHeader as B, SheetTitle as A, SheetDescription as O } from "./sheet.js";
13
+ import { Skeleton as j } from "./skeleton.js";
14
+ import { Tooltip as R, TooltipTrigger as H, TooltipContent as K, TooltipProvider as G } from "./tooltip.js";
15
+ const L = "sidebar_state", $ = 60 * 60 * 24 * 7, P = "16rem", V = "18rem", W = "3rem", q = "b", y = u.createContext(null);
16
+ function w() {
17
+ const a = u.useContext(y);
18
+ if (!a)
19
+ throw new Error("useSidebar must be used within a SidebarProvider.");
20
+ return a;
21
+ }
22
+ function ne({
23
+ defaultOpen: a = !0,
24
+ open: e,
25
+ onOpenChange: i,
26
+ className: s,
27
+ style: n,
28
+ children: o,
29
+ ...p
30
+ }) {
31
+ const l = z(), [f, c] = u.useState(!1), [x, N] = u.useState(a), m = e ?? x, h = u.useCallback(
32
+ (d) => {
33
+ const b = typeof d == "function" ? d(m) : d;
34
+ i ? i(b) : N(b), typeof document < "u" && (document.cookie = `${L}=${b}; path=/; max-age=${$}`);
35
+ },
36
+ [i, m]
37
+ ), v = u.useCallback(() => l ? c((d) => !d) : h((d) => !d), [l, h, c]);
38
+ u.useEffect(() => {
39
+ const d = (b) => {
40
+ b.key === q && (b.metaKey || b.ctrlKey) && (b.preventDefault(), v());
41
+ };
42
+ if (typeof window < "u")
43
+ return window.addEventListener("keydown", d), () => window.removeEventListener("keydown", d);
44
+ }, [v]);
45
+ const S = m ? "expanded" : "collapsed", _ = u.useMemo(
46
+ () => ({
47
+ state: S,
48
+ open: m,
49
+ setOpen: h,
50
+ isMobile: l,
51
+ openMobile: f,
52
+ setOpenMobile: c,
53
+ toggleSidebar: v
54
+ }),
55
+ [S, m, h, l, f, c, v]
56
+ );
57
+ return /* @__PURE__ */ t.jsx(y.Provider, { value: _, children: /* @__PURE__ */ t.jsx(G, { delayDuration: 0, children: /* @__PURE__ */ t.jsx(
58
+ "div",
59
+ {
60
+ "data-slot": "sidebar-wrapper",
61
+ style: {
62
+ "--sidebar-width": P,
63
+ "--sidebar-width-icon": W,
64
+ ...n
65
+ },
66
+ className: r(
67
+ "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
68
+ s
69
+ ),
70
+ ...p,
71
+ children: o
72
+ }
73
+ ) }) });
74
+ }
75
+ function de({
76
+ side: a = "left",
77
+ variant: e = "sidebar",
78
+ collapsible: i = "offcanvas",
79
+ className: s,
80
+ children: n,
81
+ ...o
82
+ }) {
83
+ const { isMobile: p, state: l, openMobile: f, setOpenMobile: c } = w();
84
+ return i === "none" ? /* @__PURE__ */ t.jsx(
85
+ "div",
86
+ {
87
+ "data-slot": "sidebar",
88
+ className: r(
89
+ "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
90
+ s
91
+ ),
92
+ ...o,
93
+ children: n
94
+ }
95
+ ) : p ? /* @__PURE__ */ t.jsx(D, { open: f, onOpenChange: c, ...o, children: /* @__PURE__ */ t.jsxs(
96
+ T,
97
+ {
98
+ "data-sidebar": "sidebar",
99
+ "data-slot": "sidebar",
100
+ "data-mobile": "true",
101
+ className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
102
+ style: {
103
+ "--sidebar-width": V
104
+ },
105
+ side: a,
106
+ children: [
107
+ /* @__PURE__ */ t.jsxs(B, { className: "sr-only", children: [
108
+ /* @__PURE__ */ t.jsx(A, { children: "Sidebar" }),
109
+ /* @__PURE__ */ t.jsx(O, { children: "Displays the mobile sidebar." })
110
+ ] }),
111
+ /* @__PURE__ */ t.jsx("div", { className: "flex h-full w-full flex-col", children: n })
112
+ ]
113
+ }
114
+ ) }) : /* @__PURE__ */ t.jsxs(
115
+ "div",
116
+ {
117
+ className: "group peer text-sidebar-foreground hidden md:block",
118
+ "data-state": l,
119
+ "data-collapsible": l === "collapsed" ? i : "",
120
+ "data-variant": e,
121
+ "data-side": a,
122
+ "data-slot": "sidebar",
123
+ children: [
124
+ /* @__PURE__ */ t.jsx(
125
+ "div",
126
+ {
127
+ "data-slot": "sidebar-gap",
128
+ className: r(
129
+ "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
130
+ "group-data-[collapsible=offcanvas]:w-0",
131
+ "group-data-[side=right]:rotate-180",
132
+ e === "floating" || e === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
133
+ )
134
+ }
135
+ ),
136
+ /* @__PURE__ */ t.jsx(
137
+ "div",
138
+ {
139
+ "data-slot": "sidebar-container",
140
+ className: r(
141
+ "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
142
+ a === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
143
+ // Adjust the padding for floating and inset variants.
144
+ e === "floating" || e === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
145
+ s
146
+ ),
147
+ ...o,
148
+ children: /* @__PURE__ */ t.jsx(
149
+ "div",
150
+ {
151
+ "data-sidebar": "sidebar",
152
+ "data-slot": "sidebar-inner",
153
+ className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
154
+ children: n
155
+ }
156
+ )
157
+ }
158
+ )
159
+ ]
160
+ }
161
+ );
162
+ }
163
+ function oe({
164
+ className: a,
165
+ onClick: e,
166
+ ...i
167
+ }) {
168
+ const { toggleSidebar: s } = w();
169
+ return /* @__PURE__ */ t.jsxs(
170
+ I,
171
+ {
172
+ "data-sidebar": "trigger",
173
+ "data-slot": "sidebar-trigger",
174
+ variant: "ghost",
175
+ size: "icon",
176
+ className: r("size-7", a),
177
+ onClick: (n) => {
178
+ e == null || e(n), s();
179
+ },
180
+ ...i,
181
+ children: [
182
+ /* @__PURE__ */ t.jsx(k, {}),
183
+ /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: "Toggle Sidebar" })
184
+ ]
185
+ }
186
+ );
187
+ }
188
+ function le({ className: a, ...e }) {
189
+ const { toggleSidebar: i } = w();
190
+ return /* @__PURE__ */ t.jsx(
191
+ "button",
192
+ {
193
+ "data-sidebar": "rail",
194
+ "data-slot": "sidebar-rail",
195
+ "aria-label": "Toggle Sidebar",
196
+ tabIndex: -1,
197
+ onClick: i,
198
+ title: "Toggle Sidebar",
199
+ className: r(
200
+ "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
201
+ "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
202
+ "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
203
+ "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
204
+ "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
205
+ "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
206
+ a
207
+ ),
208
+ ...e
209
+ }
210
+ );
211
+ }
212
+ function ue({ className: a, ...e }) {
213
+ return /* @__PURE__ */ t.jsx(
214
+ "main",
215
+ {
216
+ "data-slot": "sidebar-inset",
217
+ className: r(
218
+ "bg-background relative flex w-full flex-1 flex-col",
219
+ "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
220
+ a
221
+ ),
222
+ ...e
223
+ }
224
+ );
225
+ }
226
+ function ce({
227
+ className: a,
228
+ ...e
229
+ }) {
230
+ return /* @__PURE__ */ t.jsx(
231
+ C,
232
+ {
233
+ "data-slot": "sidebar-input",
234
+ "data-sidebar": "input",
235
+ className: r("bg-background h-8 w-full shadow-none", a),
236
+ ...e
237
+ }
238
+ );
239
+ }
240
+ function be({ className: a, ...e }) {
241
+ return /* @__PURE__ */ t.jsx(
242
+ "div",
243
+ {
244
+ "data-slot": "sidebar-header",
245
+ "data-sidebar": "header",
246
+ className: r("flex flex-col gap-2 p-2", a),
247
+ ...e
248
+ }
249
+ );
250
+ }
251
+ function fe({ className: a, ...e }) {
252
+ return /* @__PURE__ */ t.jsx(
253
+ "div",
254
+ {
255
+ "data-slot": "sidebar-footer",
256
+ "data-sidebar": "footer",
257
+ className: r("flex flex-col gap-2 p-2", a),
258
+ ...e
259
+ }
260
+ );
261
+ }
262
+ function pe({
263
+ className: a,
264
+ ...e
265
+ }) {
266
+ return /* @__PURE__ */ t.jsx(
267
+ E,
268
+ {
269
+ "data-slot": "sidebar-separator",
270
+ "data-sidebar": "separator",
271
+ className: r("bg-sidebar-border mx-2 w-auto", a),
272
+ ...e
273
+ }
274
+ );
275
+ }
276
+ function me({ className: a, ...e }) {
277
+ return /* @__PURE__ */ t.jsx(
278
+ "div",
279
+ {
280
+ "data-slot": "sidebar-content",
281
+ "data-sidebar": "content",
282
+ className: r(
283
+ "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
284
+ a
285
+ ),
286
+ ...e
287
+ }
288
+ );
289
+ }
290
+ function ge({ className: a, ...e }) {
291
+ return /* @__PURE__ */ t.jsx(
292
+ "div",
293
+ {
294
+ "data-slot": "sidebar-group",
295
+ "data-sidebar": "group",
296
+ className: r("relative flex w-full min-w-0 flex-col p-2", a),
297
+ ...e
298
+ }
299
+ );
300
+ }
301
+ function xe({
302
+ className: a,
303
+ asChild: e = !1,
304
+ ...i
305
+ }) {
306
+ const s = e ? g : "div";
307
+ return /* @__PURE__ */ t.jsx(
308
+ s,
309
+ {
310
+ "data-slot": "sidebar-group-label",
311
+ "data-sidebar": "group-label",
312
+ className: r(
313
+ "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
314
+ "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
315
+ a
316
+ ),
317
+ ...i
318
+ }
319
+ );
320
+ }
321
+ function he({
322
+ className: a,
323
+ asChild: e = !1,
324
+ ...i
325
+ }) {
326
+ const s = e ? g : "button";
327
+ return /* @__PURE__ */ t.jsx(
328
+ s,
329
+ {
330
+ "data-slot": "sidebar-group-action",
331
+ "data-sidebar": "group-action",
332
+ className: r(
333
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
334
+ // Increases the hit area of the button on mobile.
335
+ "after:absolute after:-inset-2 md:after:hidden",
336
+ "group-data-[collapsible=icon]:hidden",
337
+ a
338
+ ),
339
+ ...i
340
+ }
341
+ );
342
+ }
343
+ function ve({
344
+ className: a,
345
+ ...e
346
+ }) {
347
+ return /* @__PURE__ */ t.jsx(
348
+ "div",
349
+ {
350
+ "data-slot": "sidebar-group-content",
351
+ "data-sidebar": "group-content",
352
+ className: r("w-full text-sm", a),
353
+ ...e
354
+ }
355
+ );
356
+ }
357
+ function we({ className: a, ...e }) {
358
+ return /* @__PURE__ */ t.jsx(
359
+ "ul",
360
+ {
361
+ "data-slot": "sidebar-menu",
362
+ "data-sidebar": "menu",
363
+ className: r("flex w-full min-w-0 flex-col gap-1", a),
364
+ ...e
365
+ }
366
+ );
367
+ }
368
+ function Se({ className: a, ...e }) {
369
+ return /* @__PURE__ */ t.jsx(
370
+ "li",
371
+ {
372
+ "data-slot": "sidebar-menu-item",
373
+ "data-sidebar": "menu-item",
374
+ className: r("group/menu-item relative", a),
375
+ ...e
376
+ }
377
+ );
378
+ }
379
+ const F = M(
380
+ "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
381
+ {
382
+ variants: {
383
+ variant: {
384
+ default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
385
+ outline: "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
386
+ },
387
+ size: {
388
+ default: "h-8 text-sm",
389
+ sm: "h-7 text-xs",
390
+ lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
391
+ }
392
+ },
393
+ defaultVariants: {
394
+ variant: "default",
395
+ size: "default"
396
+ }
397
+ }
398
+ );
399
+ function je({
400
+ asChild: a = !1,
401
+ isActive: e = !1,
402
+ variant: i = "default",
403
+ size: s = "default",
404
+ tooltip: n,
405
+ className: o,
406
+ ...p
407
+ }) {
408
+ const l = a ? g : "button", { isMobile: f, state: c } = w(), x = /* @__PURE__ */ t.jsx(
409
+ l,
410
+ {
411
+ "data-slot": "sidebar-menu-button",
412
+ "data-sidebar": "menu-button",
413
+ "data-size": s,
414
+ "data-active": e,
415
+ className: r(F({ variant: i, size: s }), o),
416
+ ...p
417
+ }
418
+ );
419
+ return n ? (typeof n == "string" && (n = {
420
+ children: n
421
+ }), /* @__PURE__ */ t.jsxs(R, { children: [
422
+ /* @__PURE__ */ t.jsx(H, { asChild: !0, children: x }),
423
+ /* @__PURE__ */ t.jsx(
424
+ K,
425
+ {
426
+ side: "right",
427
+ align: "center",
428
+ hidden: c !== "collapsed" || f,
429
+ ...n
430
+ }
431
+ )
432
+ ] })) : x;
433
+ }
434
+ function ye({
435
+ className: a,
436
+ asChild: e = !1,
437
+ showOnHover: i = !1,
438
+ ...s
439
+ }) {
440
+ const n = e ? g : "button";
441
+ return /* @__PURE__ */ t.jsx(
442
+ n,
443
+ {
444
+ "data-slot": "sidebar-menu-action",
445
+ "data-sidebar": "menu-action",
446
+ className: r(
447
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
448
+ // Increases the hit area of the button on mobile.
449
+ "after:absolute after:-inset-2 md:after:hidden",
450
+ "peer-data-[size=sm]/menu-button:top-1",
451
+ "peer-data-[size=default]/menu-button:top-1.5",
452
+ "peer-data-[size=lg]/menu-button:top-2.5",
453
+ "group-data-[collapsible=icon]:hidden",
454
+ i && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
455
+ a
456
+ ),
457
+ ...s
458
+ }
459
+ );
460
+ }
461
+ function Ne({
462
+ className: a,
463
+ ...e
464
+ }) {
465
+ return /* @__PURE__ */ t.jsx(
466
+ "div",
467
+ {
468
+ "data-slot": "sidebar-menu-badge",
469
+ "data-sidebar": "menu-badge",
470
+ className: r(
471
+ "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
472
+ "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
473
+ "peer-data-[size=sm]/menu-button:top-1",
474
+ "peer-data-[size=default]/menu-button:top-1.5",
475
+ "peer-data-[size=lg]/menu-button:top-2.5",
476
+ "group-data-[collapsible=icon]:hidden",
477
+ a
478
+ ),
479
+ ...e
480
+ }
481
+ );
482
+ }
483
+ function _e({
484
+ className: a,
485
+ showIcon: e = !1,
486
+ ...i
487
+ }) {
488
+ const s = u.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
489
+ return /* @__PURE__ */ t.jsxs(
490
+ "div",
491
+ {
492
+ "data-slot": "sidebar-menu-skeleton",
493
+ "data-sidebar": "menu-skeleton",
494
+ className: r("flex h-8 items-center gap-2 rounded-md px-2", a),
495
+ ...i,
496
+ children: [
497
+ e && /* @__PURE__ */ t.jsx(
498
+ j,
499
+ {
500
+ className: "size-4 rounded-md",
501
+ "data-sidebar": "menu-skeleton-icon"
502
+ }
503
+ ),
504
+ /* @__PURE__ */ t.jsx(
505
+ j,
506
+ {
507
+ className: "h-4 max-w-(--skeleton-width) flex-1",
508
+ "data-sidebar": "menu-skeleton-text",
509
+ style: {
510
+ "--skeleton-width": s
511
+ }
512
+ }
513
+ )
514
+ ]
515
+ }
516
+ );
517
+ }
518
+ function Me({ className: a, ...e }) {
519
+ return /* @__PURE__ */ t.jsx(
520
+ "ul",
521
+ {
522
+ "data-slot": "sidebar-menu-sub",
523
+ "data-sidebar": "menu-sub",
524
+ className: r(
525
+ "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
526
+ "group-data-[collapsible=icon]:hidden",
527
+ a
528
+ ),
529
+ ...e
530
+ }
531
+ );
532
+ }
533
+ function ke({
534
+ className: a,
535
+ ...e
536
+ }) {
537
+ return /* @__PURE__ */ t.jsx(
538
+ "li",
539
+ {
540
+ "data-slot": "sidebar-menu-sub-item",
541
+ "data-sidebar": "menu-sub-item",
542
+ className: r("group/menu-sub-item relative", a),
543
+ ...e
544
+ }
545
+ );
546
+ }
547
+ function ze({
548
+ asChild: a = !1,
549
+ size: e = "md",
550
+ isActive: i = !1,
551
+ className: s,
552
+ ...n
553
+ }) {
554
+ const o = a ? g : "a";
555
+ return /* @__PURE__ */ t.jsx(
556
+ o,
557
+ {
558
+ "data-slot": "sidebar-menu-sub-button",
559
+ "data-sidebar": "menu-sub-button",
560
+ "data-size": e,
561
+ "data-active": i,
562
+ className: r(
563
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
564
+ "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
565
+ e === "sm" && "text-xs",
566
+ e === "md" && "text-sm",
567
+ "group-data-[collapsible=icon]:hidden",
568
+ s
569
+ ),
570
+ ...n
571
+ }
572
+ );
573
+ }
574
+ export {
575
+ de as Sidebar,
576
+ me as SidebarContent,
577
+ fe as SidebarFooter,
578
+ ge as SidebarGroup,
579
+ he as SidebarGroupAction,
580
+ ve as SidebarGroupContent,
581
+ xe as SidebarGroupLabel,
582
+ be as SidebarHeader,
583
+ ce as SidebarInput,
584
+ ue as SidebarInset,
585
+ we as SidebarMenu,
586
+ ye as SidebarMenuAction,
587
+ Ne as SidebarMenuBadge,
588
+ je as SidebarMenuButton,
589
+ Se as SidebarMenuItem,
590
+ _e as SidebarMenuSkeleton,
591
+ Me as SidebarMenuSub,
592
+ ze as SidebarMenuSubButton,
593
+ ke as SidebarMenuSubItem,
594
+ ne as SidebarProvider,
595
+ le as SidebarRail,
596
+ pe as SidebarSeparator,
597
+ oe as SidebarTrigger,
598
+ w as useSidebar
599
+ };
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import { j as n } from "../../_virtual/jsx-runtime.js";
3
+ import { cn as o } from "../../lib/utils.js";
4
+ function a({ className: e, ...t }) {
5
+ return /* @__PURE__ */ n.jsx(
6
+ "div",
7
+ {
8
+ "data-slot": "skeleton",
9
+ className: o("bg-accent animate-pulse rounded-md", e),
10
+ ...t
11
+ }
12
+ );
13
+ }
14
+ export {
15
+ a as Skeleton
16
+ };
@@ -0,0 +1,23 @@
1
+ "use client";
2
+ import { j as e } from "../../_virtual/jsx-runtime.js";
3
+ import { useTheme as t } from "next-themes";
4
+ import { Toaster as s } from "sonner";
5
+ const n = ({ ...r }) => {
6
+ const { theme: o = "system" } = t();
7
+ return /* @__PURE__ */ e.jsx(
8
+ s,
9
+ {
10
+ theme: o,
11
+ className: "toaster group",
12
+ style: {
13
+ "--normal-bg": "var(--popover)",
14
+ "--normal-text": "var(--popover-foreground)",
15
+ "--normal-border": "var(--border)"
16
+ },
17
+ ...r
18
+ }
19
+ );
20
+ };
21
+ export {
22
+ n as Toaster
23
+ };
@@ -0,0 +1,32 @@
1
+ "use client";
2
+ import { j as e } from "../../_virtual/jsx-runtime.js";
3
+ import * as t from "@radix-ui/react-switch";
4
+ import { cn as a } from "../../lib/utils.js";
5
+ function o({
6
+ className: r,
7
+ ...n
8
+ }) {
9
+ return /* @__PURE__ */ e.jsx(
10
+ t.Root,
11
+ {
12
+ "data-slot": "switch",
13
+ className: a(
14
+ "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
15
+ r
16
+ ),
17
+ ...n,
18
+ children: /* @__PURE__ */ e.jsx(
19
+ t.Thumb,
20
+ {
21
+ "data-slot": "switch-thumb",
22
+ className: a(
23
+ "bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"
24
+ )
25
+ }
26
+ )
27
+ }
28
+ );
29
+ }
30
+ export {
31
+ o as Switch
32
+ };