rn-shiki 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1165) hide show
  1. package/package.json +47 -5
  2. package/src/components/syntax/SyntaxHighlighter.tsx +3 -2
  3. package/src/hooks/useSyntaxHighlighter.ts +1 -15
  4. package/src/index.ts +1 -0
  5. package/src/syntax/highlighter/index.ts +2 -2
  6. package/src/types/shiki.d.ts +11 -4
  7. package/src/types/shiki.ts +17 -0
  8. package/src/vendor/shiki/core/core.d.ts +11 -0
  9. package/src/vendor/shiki/core/engine-javascript.d.ts +5 -0
  10. package/src/vendor/shiki/langs/abap.d.ts +4 -0
  11. package/src/vendor/shiki/langs/actionscript-3.d.ts +4 -0
  12. package/src/vendor/shiki/langs/ada.d.ts +4 -0
  13. package/src/vendor/shiki/langs/adoc.d.ts +4 -0
  14. package/src/vendor/shiki/langs/angular-expression.d.ts +4 -0
  15. package/src/vendor/shiki/langs/angular-html.d.ts +4 -0
  16. package/src/vendor/shiki/langs/angular-inline-style.d.ts +4 -0
  17. package/src/vendor/shiki/langs/angular-inline-template.d.ts +4 -0
  18. package/src/vendor/shiki/langs/angular-let-declaration.d.ts +4 -0
  19. package/src/vendor/shiki/langs/angular-template-blocks.d.ts +4 -0
  20. package/src/vendor/shiki/langs/angular-template.d.ts +4 -0
  21. package/src/vendor/shiki/langs/angular-ts.d.ts +4 -0
  22. package/src/vendor/shiki/langs/apache.d.ts +4 -0
  23. package/src/vendor/shiki/langs/apex.d.ts +4 -0
  24. package/src/vendor/shiki/langs/apl.d.ts +4 -0
  25. package/src/vendor/shiki/langs/applescript.d.ts +4 -0
  26. package/src/vendor/shiki/langs/ara.d.ts +4 -0
  27. package/src/vendor/shiki/langs/asciidoc.d.ts +4 -0
  28. package/src/vendor/shiki/langs/asm.d.ts +4 -0
  29. package/src/vendor/shiki/langs/astro.d.ts +4 -0
  30. package/src/vendor/shiki/langs/awk.d.ts +4 -0
  31. package/src/vendor/shiki/langs/ballerina.d.ts +4 -0
  32. package/src/vendor/shiki/langs/bash.d.ts +4 -0
  33. package/src/vendor/shiki/langs/bat.d.ts +4 -0
  34. package/src/vendor/shiki/langs/batch.d.ts +4 -0
  35. package/src/vendor/shiki/langs/be.d.ts +4 -0
  36. package/src/vendor/shiki/langs/beancount.d.ts +4 -0
  37. package/src/vendor/shiki/langs/berry.d.ts +4 -0
  38. package/src/vendor/shiki/langs/bibtex.d.ts +4 -0
  39. package/src/vendor/shiki/langs/bicep.d.ts +4 -0
  40. package/src/vendor/shiki/langs/blade.d.ts +4 -0
  41. package/src/vendor/shiki/langs/c.d.ts +4 -0
  42. package/src/vendor/shiki/langs/cadence.d.ts +4 -0
  43. package/src/vendor/shiki/langs/cdc.d.ts +4 -0
  44. package/src/vendor/shiki/langs/clarity.d.ts +4 -0
  45. package/src/vendor/shiki/langs/clj.d.ts +4 -0
  46. package/src/vendor/shiki/langs/clojure.d.ts +4 -0
  47. package/src/vendor/shiki/langs/closure-templates.d.ts +4 -0
  48. package/src/vendor/shiki/langs/cmake.d.ts +4 -0
  49. package/src/vendor/shiki/langs/cmd.d.ts +4 -0
  50. package/src/vendor/shiki/langs/cobol.d.ts +4 -0
  51. package/src/vendor/shiki/langs/codeowners.d.ts +4 -0
  52. package/src/vendor/shiki/langs/codeql.d.ts +4 -0
  53. package/src/vendor/shiki/langs/coffee.d.ts +4 -0
  54. package/src/vendor/shiki/langs/coffeescript.d.ts +4 -0
  55. package/src/vendor/shiki/langs/common-lisp.d.ts +4 -0
  56. package/src/vendor/shiki/langs/console.d.ts +4 -0
  57. package/src/vendor/shiki/langs/coq.d.ts +4 -0
  58. package/src/vendor/shiki/langs/cpp-macro.d.ts +4 -0
  59. package/src/vendor/shiki/langs/cpp.d.ts +4 -0
  60. package/src/vendor/shiki/langs/cql.d.ts +4 -0
  61. package/src/vendor/shiki/langs/crystal.d.ts +4 -0
  62. package/src/vendor/shiki/langs/cs.d.ts +4 -0
  63. package/src/vendor/shiki/langs/csharp.d.ts +4 -0
  64. package/src/vendor/shiki/langs/css.d.ts +4 -0
  65. package/src/vendor/shiki/langs/csv.d.ts +4 -0
  66. package/src/vendor/shiki/langs/cue.d.ts +4 -0
  67. package/src/vendor/shiki/langs/cypher.d.ts +4 -0
  68. package/src/vendor/shiki/langs/d.d.ts +4 -0
  69. package/src/vendor/shiki/langs/dart.d.ts +4 -0
  70. package/src/vendor/shiki/langs/dax.d.ts +4 -0
  71. package/src/vendor/shiki/langs/desktop.d.ts +4 -0
  72. package/src/vendor/shiki/langs/diff.d.ts +4 -0
  73. package/src/vendor/shiki/langs/docker.d.ts +4 -0
  74. package/src/vendor/shiki/langs/dockerfile.d.ts +4 -0
  75. package/src/vendor/shiki/langs/dotenv.d.ts +4 -0
  76. package/src/vendor/shiki/langs/dream-maker.d.ts +4 -0
  77. package/src/vendor/shiki/langs/edge.d.ts +4 -0
  78. package/src/vendor/shiki/langs/elisp.d.ts +4 -0
  79. package/src/vendor/shiki/langs/elixir.d.ts +4 -0
  80. package/src/vendor/shiki/langs/elm.d.ts +4 -0
  81. package/src/vendor/shiki/langs/emacs-lisp.d.ts +4 -0
  82. package/src/vendor/shiki/langs/erb.d.ts +4 -0
  83. package/src/vendor/shiki/langs/erl.d.ts +4 -0
  84. package/src/vendor/shiki/langs/erlang.d.ts +4 -0
  85. package/src/vendor/shiki/langs/es-tag-css.d.ts +4 -0
  86. package/src/vendor/shiki/langs/es-tag-glsl.d.ts +4 -0
  87. package/src/vendor/shiki/langs/es-tag-html.d.ts +4 -0
  88. package/src/vendor/shiki/langs/es-tag-sql.d.ts +4 -0
  89. package/src/vendor/shiki/langs/es-tag-xml.d.ts +4 -0
  90. package/src/vendor/shiki/langs/f.d.ts +4 -0
  91. package/src/vendor/shiki/langs/f03.d.ts +4 -0
  92. package/src/vendor/shiki/langs/f08.d.ts +4 -0
  93. package/src/vendor/shiki/langs/f18.d.ts +4 -0
  94. package/src/vendor/shiki/langs/f77.d.ts +4 -0
  95. package/src/vendor/shiki/langs/f90.d.ts +4 -0
  96. package/src/vendor/shiki/langs/f95.d.ts +4 -0
  97. package/src/vendor/shiki/langs/fennel.d.ts +4 -0
  98. package/src/vendor/shiki/langs/fish.d.ts +4 -0
  99. package/src/vendor/shiki/langs/fluent.d.ts +4 -0
  100. package/src/vendor/shiki/langs/for.d.ts +4 -0
  101. package/src/vendor/shiki/langs/fortran-fixed-form.d.ts +4 -0
  102. package/src/vendor/shiki/langs/fortran-free-form.d.ts +4 -0
  103. package/src/vendor/shiki/langs/fs.d.ts +4 -0
  104. package/src/vendor/shiki/langs/fsharp.d.ts +4 -0
  105. package/src/vendor/shiki/langs/fsl.d.ts +4 -0
  106. package/src/vendor/shiki/langs/ftl.d.ts +4 -0
  107. package/src/vendor/shiki/langs/gdresource.d.ts +4 -0
  108. package/src/vendor/shiki/langs/gdscript.d.ts +4 -0
  109. package/src/vendor/shiki/langs/gdshader.d.ts +4 -0
  110. package/src/vendor/shiki/langs/genie.d.ts +4 -0
  111. package/src/vendor/shiki/langs/gherkin.d.ts +4 -0
  112. package/src/vendor/shiki/langs/git-commit.d.ts +4 -0
  113. package/src/vendor/shiki/langs/git-rebase.d.ts +4 -0
  114. package/src/vendor/shiki/langs/gjs.d.ts +4 -0
  115. package/src/vendor/shiki/langs/gleam.d.ts +4 -0
  116. package/src/vendor/shiki/langs/glimmer-js.d.ts +4 -0
  117. package/src/vendor/shiki/langs/glimmer-ts.d.ts +4 -0
  118. package/src/vendor/shiki/langs/glsl.d.ts +4 -0
  119. package/src/vendor/shiki/langs/gnuplot.d.ts +4 -0
  120. package/src/vendor/shiki/langs/go.d.ts +4 -0
  121. package/src/vendor/shiki/langs/gql.d.ts +4 -0
  122. package/src/vendor/shiki/langs/graphql.d.ts +4 -0
  123. package/src/vendor/shiki/langs/groovy.d.ts +4 -0
  124. package/src/vendor/shiki/langs/gts.d.ts +4 -0
  125. package/src/vendor/shiki/langs/hack.d.ts +4 -0
  126. package/src/vendor/shiki/langs/haml.d.ts +4 -0
  127. package/src/vendor/shiki/langs/handlebars.d.ts +4 -0
  128. package/src/vendor/shiki/langs/haskell.d.ts +4 -0
  129. package/src/vendor/shiki/langs/haxe.d.ts +4 -0
  130. package/src/vendor/shiki/langs/hbs.d.ts +4 -0
  131. package/src/vendor/shiki/langs/hcl.d.ts +4 -0
  132. package/src/vendor/shiki/langs/hjson.d.ts +4 -0
  133. package/src/vendor/shiki/langs/hlsl.d.ts +4 -0
  134. package/src/vendor/shiki/langs/hs.d.ts +4 -0
  135. package/src/vendor/shiki/langs/html-derivative.d.ts +4 -0
  136. package/src/vendor/shiki/langs/html.d.ts +4 -0
  137. package/src/vendor/shiki/langs/http.d.ts +4 -0
  138. package/src/vendor/shiki/langs/hxml.d.ts +4 -0
  139. package/src/vendor/shiki/langs/hy.d.ts +4 -0
  140. package/src/vendor/shiki/langs/imba.d.ts +4 -0
  141. package/src/vendor/shiki/langs/ini.d.ts +4 -0
  142. package/src/vendor/shiki/langs/jade.d.ts +4 -0
  143. package/src/vendor/shiki/langs/java.d.ts +4 -0
  144. package/src/vendor/shiki/langs/javascript.d.ts +4 -0
  145. package/src/vendor/shiki/langs/jinja-html.d.ts +4 -0
  146. package/src/vendor/shiki/langs/jinja.d.ts +4 -0
  147. package/src/vendor/shiki/langs/jison.d.ts +4 -0
  148. package/src/vendor/shiki/langs/jl.d.ts +4 -0
  149. package/src/vendor/shiki/langs/js.d.ts +4 -0
  150. package/src/vendor/shiki/langs/json.d.ts +4 -0
  151. package/src/vendor/shiki/langs/json5.d.ts +4 -0
  152. package/src/vendor/shiki/langs/jsonc.d.ts +4 -0
  153. package/src/vendor/shiki/langs/jsonl.d.ts +4 -0
  154. package/src/vendor/shiki/langs/jsonnet.d.ts +4 -0
  155. package/src/vendor/shiki/langs/jssm.d.ts +4 -0
  156. package/src/vendor/shiki/langs/jsx.d.ts +4 -0
  157. package/src/vendor/shiki/langs/julia.d.ts +4 -0
  158. package/src/vendor/shiki/langs/kotlin.d.ts +4 -0
  159. package/src/vendor/shiki/langs/kql.d.ts +4 -0
  160. package/src/vendor/shiki/langs/kt.d.ts +4 -0
  161. package/src/vendor/shiki/langs/kts.d.ts +4 -0
  162. package/src/vendor/shiki/langs/kusto.d.ts +4 -0
  163. package/src/vendor/shiki/langs/latex.d.ts +4 -0
  164. package/src/vendor/shiki/langs/lean.d.ts +4 -0
  165. package/src/vendor/shiki/langs/lean4.d.ts +4 -0
  166. package/src/vendor/shiki/langs/less.d.ts +4 -0
  167. package/src/vendor/shiki/langs/liquid.d.ts +4 -0
  168. package/src/vendor/shiki/langs/lisp.d.ts +4 -0
  169. package/src/vendor/shiki/langs/lit.d.ts +4 -0
  170. package/src/vendor/shiki/langs/log.d.ts +4 -0
  171. package/src/vendor/shiki/langs/logo.d.ts +4 -0
  172. package/src/vendor/shiki/langs/lua.d.ts +4 -0
  173. package/src/vendor/shiki/langs/luau.d.ts +4 -0
  174. package/src/vendor/shiki/langs/make.d.ts +4 -0
  175. package/src/vendor/shiki/langs/makefile.d.ts +4 -0
  176. package/src/vendor/shiki/langs/markdown-vue.d.ts +4 -0
  177. package/src/vendor/shiki/langs/markdown.d.ts +4 -0
  178. package/src/vendor/shiki/langs/marko.d.ts +4 -0
  179. package/src/vendor/shiki/langs/matlab.d.ts +4 -0
  180. package/src/vendor/shiki/langs/md.d.ts +4 -0
  181. package/src/vendor/shiki/langs/mdc.d.ts +4 -0
  182. package/src/vendor/shiki/langs/mdx.d.ts +4 -0
  183. package/src/vendor/shiki/langs/mediawiki.d.ts +4 -0
  184. package/src/vendor/shiki/langs/mermaid.d.ts +4 -0
  185. package/src/vendor/shiki/langs/mips.d.ts +4 -0
  186. package/src/vendor/shiki/langs/mipsasm.d.ts +4 -0
  187. package/src/vendor/shiki/langs/mmd.d.ts +4 -0
  188. package/src/vendor/shiki/langs/mojo.d.ts +4 -0
  189. package/src/vendor/shiki/langs/move.d.ts +4 -0
  190. package/src/vendor/shiki/langs/nar.d.ts +4 -0
  191. package/src/vendor/shiki/langs/narrat.d.ts +4 -0
  192. package/src/vendor/shiki/langs/nextflow.d.ts +4 -0
  193. package/src/vendor/shiki/langs/nf.d.ts +4 -0
  194. package/src/vendor/shiki/langs/nginx.d.ts +4 -0
  195. package/src/vendor/shiki/langs/nim.d.ts +4 -0
  196. package/src/vendor/shiki/langs/nix.d.ts +4 -0
  197. package/src/vendor/shiki/langs/nu.d.ts +4 -0
  198. package/src/vendor/shiki/langs/nushell.d.ts +4 -0
  199. package/src/vendor/shiki/langs/objc.d.ts +4 -0
  200. package/src/vendor/shiki/langs/objective-c.d.ts +4 -0
  201. package/src/vendor/shiki/langs/objective-cpp.d.ts +4 -0
  202. package/src/vendor/shiki/langs/ocaml.d.ts +4 -0
  203. package/src/vendor/shiki/langs/pascal.d.ts +4 -0
  204. package/src/vendor/shiki/langs/perl.d.ts +4 -0
  205. package/src/vendor/shiki/langs/perl6.d.ts +4 -0
  206. package/src/vendor/shiki/langs/php.d.ts +4 -0
  207. package/src/vendor/shiki/langs/plsql.d.ts +4 -0
  208. package/src/vendor/shiki/langs/po.d.ts +4 -0
  209. package/src/vendor/shiki/langs/postcss.d.ts +4 -0
  210. package/src/vendor/shiki/langs/pot.d.ts +4 -0
  211. package/src/vendor/shiki/langs/potx.d.ts +4 -0
  212. package/src/vendor/shiki/langs/powerquery.d.ts +4 -0
  213. package/src/vendor/shiki/langs/powershell.d.ts +4 -0
  214. package/src/vendor/shiki/langs/prisma.d.ts +4 -0
  215. package/src/vendor/shiki/langs/prolog.d.ts +4 -0
  216. package/src/vendor/shiki/langs/properties.d.ts +4 -0
  217. package/src/vendor/shiki/langs/proto.d.ts +4 -0
  218. package/src/vendor/shiki/langs/protobuf.d.ts +4 -0
  219. package/src/vendor/shiki/langs/ps.d.ts +4 -0
  220. package/src/vendor/shiki/langs/ps1.d.ts +4 -0
  221. package/src/vendor/shiki/langs/pug.d.ts +4 -0
  222. package/src/vendor/shiki/langs/puppet.d.ts +4 -0
  223. package/src/vendor/shiki/langs/purescript.d.ts +4 -0
  224. package/src/vendor/shiki/langs/py.d.ts +4 -0
  225. package/src/vendor/shiki/langs/python.d.ts +4 -0
  226. package/src/vendor/shiki/langs/ql.d.ts +4 -0
  227. package/src/vendor/shiki/langs/qml.d.ts +4 -0
  228. package/src/vendor/shiki/langs/qmldir.d.ts +4 -0
  229. package/src/vendor/shiki/langs/qss.d.ts +4 -0
  230. package/src/vendor/shiki/langs/r.d.ts +4 -0
  231. package/src/vendor/shiki/langs/racket.d.ts +4 -0
  232. package/src/vendor/shiki/langs/raku.d.ts +4 -0
  233. package/src/vendor/shiki/langs/razor.d.ts +4 -0
  234. package/src/vendor/shiki/langs/rb.d.ts +4 -0
  235. package/src/vendor/shiki/langs/reg.d.ts +4 -0
  236. package/src/vendor/shiki/langs/regex.d.ts +4 -0
  237. package/src/vendor/shiki/langs/regexp.d.ts +4 -0
  238. package/src/vendor/shiki/langs/rel.d.ts +4 -0
  239. package/src/vendor/shiki/langs/riscv.d.ts +4 -0
  240. package/src/vendor/shiki/langs/rs.d.ts +4 -0
  241. package/src/vendor/shiki/langs/rst.d.ts +4 -0
  242. package/src/vendor/shiki/langs/ruby.d.ts +4 -0
  243. package/src/vendor/shiki/langs/rust.d.ts +4 -0
  244. package/src/vendor/shiki/langs/sas.d.ts +4 -0
  245. package/src/vendor/shiki/langs/sass.d.ts +4 -0
  246. package/src/vendor/shiki/langs/scala.d.ts +4 -0
  247. package/src/vendor/shiki/langs/scheme.d.ts +4 -0
  248. package/src/vendor/shiki/langs/scss.d.ts +4 -0
  249. package/src/vendor/shiki/langs/sh.d.ts +4 -0
  250. package/src/vendor/shiki/langs/shader.d.ts +4 -0
  251. package/src/vendor/shiki/langs/shaderlab.d.ts +4 -0
  252. package/src/vendor/shiki/langs/shell.d.ts +4 -0
  253. package/src/vendor/shiki/langs/shellscript.d.ts +4 -0
  254. package/src/vendor/shiki/langs/shellsession.d.ts +4 -0
  255. package/src/vendor/shiki/langs/smalltalk.d.ts +4 -0
  256. package/src/vendor/shiki/langs/solidity.d.ts +4 -0
  257. package/src/vendor/shiki/langs/soy.d.ts +4 -0
  258. package/src/vendor/shiki/langs/sparql.d.ts +4 -0
  259. package/src/vendor/shiki/langs/spl.d.ts +4 -0
  260. package/src/vendor/shiki/langs/splunk.d.ts +4 -0
  261. package/src/vendor/shiki/langs/sql.d.ts +4 -0
  262. package/src/vendor/shiki/langs/ssh-config.d.ts +4 -0
  263. package/src/vendor/shiki/langs/stata.d.ts +4 -0
  264. package/src/vendor/shiki/langs/styl.d.ts +4 -0
  265. package/src/vendor/shiki/langs/stylus.d.ts +4 -0
  266. package/src/vendor/shiki/langs/svelte.d.ts +4 -0
  267. package/src/vendor/shiki/langs/swift.d.ts +4 -0
  268. package/src/vendor/shiki/langs/system-verilog.d.ts +4 -0
  269. package/src/vendor/shiki/langs/systemd.d.ts +4 -0
  270. package/src/vendor/shiki/langs/tasl.d.ts +4 -0
  271. package/src/vendor/shiki/langs/tcl.d.ts +4 -0
  272. package/src/vendor/shiki/langs/templ.d.ts +4 -0
  273. package/src/vendor/shiki/langs/terraform.d.ts +4 -0
  274. package/src/vendor/shiki/langs/tex.d.ts +4 -0
  275. package/src/vendor/shiki/langs/tf.d.ts +4 -0
  276. package/src/vendor/shiki/langs/tfvars.d.ts +4 -0
  277. package/src/vendor/shiki/langs/toml.d.ts +4 -0
  278. package/src/vendor/shiki/langs/ts-tags.d.ts +4 -0
  279. package/src/vendor/shiki/langs/ts.d.ts +4 -0
  280. package/src/vendor/shiki/langs/tsp.d.ts +4 -0
  281. package/src/vendor/shiki/langs/tsv.d.ts +4 -0
  282. package/src/vendor/shiki/langs/tsx.d.ts +4 -0
  283. package/src/vendor/shiki/langs/turtle.d.ts +4 -0
  284. package/src/vendor/shiki/langs/twig.d.ts +4 -0
  285. package/src/vendor/shiki/langs/typ.d.ts +4 -0
  286. package/src/vendor/shiki/langs/typescript.d.ts +4 -0
  287. package/src/vendor/shiki/langs/typespec.d.ts +4 -0
  288. package/src/vendor/shiki/langs/typst.d.ts +4 -0
  289. package/src/vendor/shiki/langs/v.d.ts +4 -0
  290. package/src/vendor/shiki/langs/vala.d.ts +4 -0
  291. package/src/vendor/shiki/langs/vb.d.ts +4 -0
  292. package/src/vendor/shiki/langs/verilog.d.ts +4 -0
  293. package/src/vendor/shiki/langs/vhdl.d.ts +4 -0
  294. package/src/vendor/shiki/langs/vim.d.ts +4 -0
  295. package/src/vendor/shiki/langs/viml.d.ts +4 -0
  296. package/src/vendor/shiki/langs/vimscript.d.ts +4 -0
  297. package/src/vendor/shiki/langs/vue-directives.d.ts +4 -0
  298. package/src/vendor/shiki/langs/vue-html.d.ts +4 -0
  299. package/src/vendor/shiki/langs/vue-interpolations.d.ts +4 -0
  300. package/src/vendor/shiki/langs/vue-sfc-style-variable-injection.d.ts +4 -0
  301. package/src/vendor/shiki/langs/vue.d.ts +4 -0
  302. package/src/vendor/shiki/langs/vy.d.ts +4 -0
  303. package/src/vendor/shiki/langs/vyper.d.ts +4 -0
  304. package/src/vendor/shiki/langs/wasm.d.ts +4 -0
  305. package/src/vendor/shiki/langs/wenyan.d.ts +4 -0
  306. package/src/vendor/shiki/langs/wgsl.d.ts +4 -0
  307. package/src/vendor/shiki/langs/wiki.d.ts +4 -0
  308. package/src/vendor/shiki/langs/wikitext.d.ts +4 -0
  309. package/src/vendor/shiki/langs/wl.d.ts +4 -0
  310. package/src/vendor/shiki/langs/wolfram.d.ts +4 -0
  311. package/src/vendor/shiki/langs/xml.d.ts +4 -0
  312. package/src/vendor/shiki/langs/xsl.d.ts +4 -0
  313. package/src/vendor/shiki/langs/yaml.d.ts +4 -0
  314. package/src/vendor/shiki/langs/yml.d.ts +4 -0
  315. package/src/vendor/shiki/langs/zenscript.d.ts +4 -0
  316. package/src/vendor/shiki/langs/zig.d.ts +4 -0
  317. package/src/vendor/shiki/langs/zsh.d.ts +4 -0
  318. package/src/vendor/shiki/manifest.json +1468 -0
  319. package/src/vendor/shiki/themes/andromeeda.d.ts +4 -0
  320. package/src/vendor/shiki/themes/aurora-x.d.ts +4 -0
  321. package/src/vendor/shiki/themes/ayu-dark.d.ts +4 -0
  322. package/src/vendor/shiki/themes/catppuccin-frappe.d.ts +4 -0
  323. package/src/vendor/shiki/themes/catppuccin-latte.d.ts +4 -0
  324. package/src/vendor/shiki/themes/catppuccin-macchiato.d.ts +4 -0
  325. package/src/vendor/shiki/themes/catppuccin-mocha.d.ts +4 -0
  326. package/src/vendor/shiki/themes/dark-plus.d.ts +4 -0
  327. package/src/vendor/shiki/themes/dracula-soft.d.ts +4 -0
  328. package/src/vendor/shiki/themes/dracula.d.ts +4 -0
  329. package/src/vendor/shiki/themes/everforest-dark.d.ts +4 -0
  330. package/src/vendor/shiki/themes/everforest-light.d.ts +4 -0
  331. package/src/vendor/shiki/themes/github-dark-default.d.ts +4 -0
  332. package/src/vendor/shiki/themes/github-dark-dimmed.d.ts +4 -0
  333. package/src/vendor/shiki/themes/github-dark-high-contrast.d.ts +4 -0
  334. package/src/vendor/shiki/themes/github-dark.d.ts +4 -0
  335. package/src/vendor/shiki/themes/github-light-default.d.ts +4 -0
  336. package/src/vendor/shiki/themes/github-light-high-contrast.d.ts +4 -0
  337. package/src/vendor/shiki/themes/github-light.d.ts +4 -0
  338. package/src/vendor/shiki/themes/houston.d.ts +4 -0
  339. package/src/vendor/shiki/themes/kanagawa-dragon.d.ts +4 -0
  340. package/src/vendor/shiki/themes/kanagawa-lotus.d.ts +4 -0
  341. package/src/vendor/shiki/themes/kanagawa-wave.d.ts +4 -0
  342. package/src/vendor/shiki/themes/laserwave.d.ts +4 -0
  343. package/src/vendor/shiki/themes/light-plus.d.ts +4 -0
  344. package/src/vendor/shiki/themes/material-theme-darker.d.ts +4 -0
  345. package/src/vendor/shiki/themes/material-theme-lighter.d.ts +4 -0
  346. package/src/vendor/shiki/themes/material-theme-ocean.d.ts +4 -0
  347. package/src/vendor/shiki/themes/material-theme-palenight.d.ts +4 -0
  348. package/src/vendor/shiki/themes/material-theme.d.ts +4 -0
  349. package/src/vendor/shiki/themes/min-dark.d.ts +4 -0
  350. package/src/vendor/shiki/themes/min-light.d.ts +4 -0
  351. package/src/vendor/shiki/themes/monokai.d.ts +4 -0
  352. package/src/vendor/shiki/themes/night-owl.d.ts +4 -0
  353. package/src/vendor/shiki/themes/nord.d.ts +4 -0
  354. package/src/vendor/shiki/themes/one-dark-pro.d.ts +4 -0
  355. package/src/vendor/shiki/themes/one-light.d.ts +4 -0
  356. package/src/vendor/shiki/themes/plastic.d.ts +4 -0
  357. package/src/vendor/shiki/themes/poimandres.d.ts +4 -0
  358. package/src/vendor/shiki/themes/red.d.ts +4 -0
  359. package/src/vendor/shiki/themes/rose-pine-dawn.d.ts +4 -0
  360. package/src/vendor/shiki/themes/rose-pine-moon.d.ts +4 -0
  361. package/src/vendor/shiki/themes/rose-pine.d.ts +4 -0
  362. package/src/vendor/shiki/themes/slack-dark.d.ts +4 -0
  363. package/src/vendor/shiki/themes/slack-ochin.d.ts +4 -0
  364. package/src/vendor/shiki/themes/snazzy-light.d.ts +4 -0
  365. package/src/vendor/shiki/themes/solarized-dark.d.ts +4 -0
  366. package/src/vendor/shiki/themes/solarized-light.d.ts +4 -0
  367. package/src/vendor/shiki/themes/tokyo-night.d.ts +4 -0
  368. package/src/vendor/shiki/themes/vesper.d.ts +4 -0
  369. package/src/vendor/shiki/themes/vitesse-black.d.ts +4 -0
  370. package/src/vendor/shiki/themes/vitesse-dark.d.ts +4 -0
  371. package/src/vendor/shiki/themes/vitesse-light.d.ts +4 -0
  372. package/eslint.config.mjs +0 -6
  373. package/lib/commonjs/components/syntax/SyntaxHighlighter.js +0 -79
  374. package/lib/commonjs/components/syntax/SyntaxHighlighter.js.map +0 -1
  375. package/lib/commonjs/components/syntax/SyntaxLine.js +0 -36
  376. package/lib/commonjs/components/syntax/SyntaxLine.js.map +0 -1
  377. package/lib/commonjs/components/syntax/index.js +0 -21
  378. package/lib/commonjs/components/syntax/index.js.map +0 -1
  379. package/lib/commonjs/hooks/useSyntaxHighlighter.js +0 -64
  380. package/lib/commonjs/hooks/useSyntaxHighlighter.js.map +0 -1
  381. package/lib/commonjs/index.js +0 -19
  382. package/lib/commonjs/index.js.map +0 -1
  383. package/lib/commonjs/package.json +0 -1
  384. package/lib/commonjs/syntax/highlighter/index.js +0 -40
  385. package/lib/commonjs/syntax/highlighter/index.js.map +0 -1
  386. package/lib/commonjs/syntax/index.js +0 -19
  387. package/lib/commonjs/syntax/index.js.map +0 -1
  388. package/lib/commonjs/types/index.js +0 -2
  389. package/lib/commonjs/types/index.js.map +0 -1
  390. package/lib/commonjs/types/shiki.d.js +0 -2
  391. package/lib/commonjs/types/shiki.d.js.map +0 -1
  392. package/lib/commonjs/utils/index.js +0 -17
  393. package/lib/commonjs/utils/index.js.map +0 -1
  394. package/lib/commonjs/utils/string.js +0 -28
  395. package/lib/commonjs/utils/string.js.map +0 -1
  396. package/lib/module/components/syntax/SyntaxHighlighter.js +0 -74
  397. package/lib/module/components/syntax/SyntaxHighlighter.js.map +0 -1
  398. package/lib/module/components/syntax/SyntaxLine.js +0 -31
  399. package/lib/module/components/syntax/SyntaxLine.js.map +0 -1
  400. package/lib/module/components/syntax/index.js +0 -5
  401. package/lib/module/components/syntax/index.js.map +0 -1
  402. package/lib/module/hooks/useSyntaxHighlighter.js +0 -60
  403. package/lib/module/hooks/useSyntaxHighlighter.js.map +0 -1
  404. package/lib/module/index.js +0 -4
  405. package/lib/module/index.js.map +0 -1
  406. package/lib/module/package.json +0 -1
  407. package/lib/module/syntax/highlighter/index.js +0 -35
  408. package/lib/module/syntax/highlighter/index.js.map +0 -1
  409. package/lib/module/syntax/index.js +0 -4
  410. package/lib/module/syntax/index.js.map +0 -1
  411. package/lib/module/types/index.js +0 -2
  412. package/lib/module/types/index.js.map +0 -1
  413. package/lib/module/types/shiki.d.js +0 -2
  414. package/lib/module/types/shiki.d.js.map +0 -1
  415. package/lib/module/utils/index.js +0 -4
  416. package/lib/module/utils/index.js.map +0 -1
  417. package/lib/module/utils/string.js +0 -22
  418. package/lib/module/utils/string.js.map +0 -1
  419. package/lib/typescript/components/syntax/SyntaxHighlighter.d.ts +0 -13
  420. package/lib/typescript/components/syntax/SyntaxHighlighter.d.ts.map +0 -1
  421. package/lib/typescript/components/syntax/SyntaxLine.d.ts +0 -9
  422. package/lib/typescript/components/syntax/SyntaxLine.d.ts.map +0 -1
  423. package/lib/typescript/components/syntax/index.d.ts +0 -3
  424. package/lib/typescript/components/syntax/index.d.ts.map +0 -1
  425. package/lib/typescript/hooks/useSyntaxHighlighter.d.ts +0 -15
  426. package/lib/typescript/hooks/useSyntaxHighlighter.d.ts.map +0 -1
  427. package/lib/typescript/index.d.ts +0 -2
  428. package/lib/typescript/index.d.ts.map +0 -1
  429. package/lib/typescript/syntax/highlighter/index.d.ts +0 -9
  430. package/lib/typescript/syntax/highlighter/index.d.ts.map +0 -1
  431. package/lib/typescript/syntax/index.d.ts +0 -2
  432. package/lib/typescript/syntax/index.d.ts.map +0 -1
  433. package/lib/typescript/types/index.d.ts +0 -7
  434. package/lib/typescript/types/index.d.ts.map +0 -1
  435. package/lib/typescript/utils/index.d.ts +0 -2
  436. package/lib/typescript/utils/index.d.ts.map +0 -1
  437. package/lib/typescript/utils/string.d.ts +0 -5
  438. package/lib/typescript/utils/string.d.ts.map +0 -1
  439. package/scripts/build.js +0 -173
  440. package/tsconfig.json +0 -30
  441. package/vendor/shiki/langs/abap.d.ts +0 -4
  442. package/vendor/shiki/langs/actionscript-3.d.ts +0 -4
  443. package/vendor/shiki/langs/ada.d.ts +0 -4
  444. package/vendor/shiki/langs/adoc.d.ts +0 -4
  445. package/vendor/shiki/langs/angular-expression.d.ts +0 -4
  446. package/vendor/shiki/langs/angular-html.d.ts +0 -4
  447. package/vendor/shiki/langs/angular-inline-style.d.ts +0 -4
  448. package/vendor/shiki/langs/angular-inline-template.d.ts +0 -4
  449. package/vendor/shiki/langs/angular-let-declaration.d.ts +0 -4
  450. package/vendor/shiki/langs/angular-template-blocks.d.ts +0 -4
  451. package/vendor/shiki/langs/angular-template.d.ts +0 -4
  452. package/vendor/shiki/langs/angular-ts.d.ts +0 -4
  453. package/vendor/shiki/langs/apache.d.ts +0 -4
  454. package/vendor/shiki/langs/apex.d.ts +0 -4
  455. package/vendor/shiki/langs/apl.d.ts +0 -4
  456. package/vendor/shiki/langs/applescript.d.ts +0 -4
  457. package/vendor/shiki/langs/ara.d.ts +0 -4
  458. package/vendor/shiki/langs/asciidoc.d.ts +0 -4
  459. package/vendor/shiki/langs/asm.d.ts +0 -4
  460. package/vendor/shiki/langs/astro.d.ts +0 -4
  461. package/vendor/shiki/langs/awk.d.ts +0 -4
  462. package/vendor/shiki/langs/ballerina.d.ts +0 -4
  463. package/vendor/shiki/langs/bash.d.ts +0 -4
  464. package/vendor/shiki/langs/bat.d.ts +0 -4
  465. package/vendor/shiki/langs/batch.d.ts +0 -4
  466. package/vendor/shiki/langs/be.d.ts +0 -4
  467. package/vendor/shiki/langs/beancount.d.ts +0 -4
  468. package/vendor/shiki/langs/berry.d.ts +0 -4
  469. package/vendor/shiki/langs/bibtex.d.ts +0 -4
  470. package/vendor/shiki/langs/bicep.d.ts +0 -4
  471. package/vendor/shiki/langs/blade.d.ts +0 -4
  472. package/vendor/shiki/langs/c.d.ts +0 -4
  473. package/vendor/shiki/langs/cadence.d.ts +0 -4
  474. package/vendor/shiki/langs/cdc.d.ts +0 -4
  475. package/vendor/shiki/langs/clarity.d.ts +0 -4
  476. package/vendor/shiki/langs/clj.d.ts +0 -4
  477. package/vendor/shiki/langs/clojure.d.ts +0 -4
  478. package/vendor/shiki/langs/closure-templates.d.ts +0 -4
  479. package/vendor/shiki/langs/cmake.d.ts +0 -4
  480. package/vendor/shiki/langs/cmd.d.ts +0 -4
  481. package/vendor/shiki/langs/cobol.d.ts +0 -4
  482. package/vendor/shiki/langs/codeowners.d.ts +0 -4
  483. package/vendor/shiki/langs/codeql.d.ts +0 -4
  484. package/vendor/shiki/langs/coffee.d.ts +0 -4
  485. package/vendor/shiki/langs/coffeescript.d.ts +0 -4
  486. package/vendor/shiki/langs/common-lisp.d.ts +0 -4
  487. package/vendor/shiki/langs/console.d.ts +0 -4
  488. package/vendor/shiki/langs/coq.d.ts +0 -4
  489. package/vendor/shiki/langs/cpp-macro.d.ts +0 -4
  490. package/vendor/shiki/langs/cpp.d.ts +0 -4
  491. package/vendor/shiki/langs/cql.d.ts +0 -4
  492. package/vendor/shiki/langs/crystal.d.ts +0 -4
  493. package/vendor/shiki/langs/cs.d.ts +0 -4
  494. package/vendor/shiki/langs/csharp.d.ts +0 -4
  495. package/vendor/shiki/langs/css.d.ts +0 -4
  496. package/vendor/shiki/langs/csv.d.ts +0 -4
  497. package/vendor/shiki/langs/cue.d.ts +0 -4
  498. package/vendor/shiki/langs/cypher.d.ts +0 -4
  499. package/vendor/shiki/langs/d.d.ts +0 -4
  500. package/vendor/shiki/langs/dart.d.ts +0 -4
  501. package/vendor/shiki/langs/dax.d.ts +0 -4
  502. package/vendor/shiki/langs/desktop.d.ts +0 -4
  503. package/vendor/shiki/langs/diff.d.ts +0 -4
  504. package/vendor/shiki/langs/docker.d.ts +0 -4
  505. package/vendor/shiki/langs/dockerfile.d.ts +0 -4
  506. package/vendor/shiki/langs/dotenv.d.ts +0 -4
  507. package/vendor/shiki/langs/dream-maker.d.ts +0 -4
  508. package/vendor/shiki/langs/edge.d.ts +0 -4
  509. package/vendor/shiki/langs/elisp.d.ts +0 -4
  510. package/vendor/shiki/langs/elixir.d.ts +0 -4
  511. package/vendor/shiki/langs/elm.d.ts +0 -4
  512. package/vendor/shiki/langs/emacs-lisp.d.ts +0 -4
  513. package/vendor/shiki/langs/erb.d.ts +0 -4
  514. package/vendor/shiki/langs/erl.d.ts +0 -4
  515. package/vendor/shiki/langs/erlang.d.ts +0 -4
  516. package/vendor/shiki/langs/es-tag-css.d.ts +0 -4
  517. package/vendor/shiki/langs/es-tag-glsl.d.ts +0 -4
  518. package/vendor/shiki/langs/es-tag-html.d.ts +0 -4
  519. package/vendor/shiki/langs/es-tag-sql.d.ts +0 -4
  520. package/vendor/shiki/langs/es-tag-xml.d.ts +0 -4
  521. package/vendor/shiki/langs/f.d.ts +0 -4
  522. package/vendor/shiki/langs/f03.d.ts +0 -4
  523. package/vendor/shiki/langs/f08.d.ts +0 -4
  524. package/vendor/shiki/langs/f18.d.ts +0 -4
  525. package/vendor/shiki/langs/f77.d.ts +0 -4
  526. package/vendor/shiki/langs/f90.d.ts +0 -4
  527. package/vendor/shiki/langs/f95.d.ts +0 -4
  528. package/vendor/shiki/langs/fennel.d.ts +0 -4
  529. package/vendor/shiki/langs/fish.d.ts +0 -4
  530. package/vendor/shiki/langs/fluent.d.ts +0 -4
  531. package/vendor/shiki/langs/for.d.ts +0 -4
  532. package/vendor/shiki/langs/fortran-fixed-form.d.ts +0 -4
  533. package/vendor/shiki/langs/fortran-free-form.d.ts +0 -4
  534. package/vendor/shiki/langs/fs.d.ts +0 -4
  535. package/vendor/shiki/langs/fsharp.d.ts +0 -4
  536. package/vendor/shiki/langs/fsl.d.ts +0 -4
  537. package/vendor/shiki/langs/ftl.d.ts +0 -4
  538. package/vendor/shiki/langs/gdresource.d.ts +0 -4
  539. package/vendor/shiki/langs/gdscript.d.ts +0 -4
  540. package/vendor/shiki/langs/gdshader.d.ts +0 -4
  541. package/vendor/shiki/langs/genie.d.ts +0 -4
  542. package/vendor/shiki/langs/gherkin.d.ts +0 -4
  543. package/vendor/shiki/langs/git-commit.d.ts +0 -4
  544. package/vendor/shiki/langs/git-rebase.d.ts +0 -4
  545. package/vendor/shiki/langs/gjs.d.ts +0 -4
  546. package/vendor/shiki/langs/gleam.d.ts +0 -4
  547. package/vendor/shiki/langs/glimmer-js.d.ts +0 -4
  548. package/vendor/shiki/langs/glimmer-ts.d.ts +0 -4
  549. package/vendor/shiki/langs/glsl.d.ts +0 -4
  550. package/vendor/shiki/langs/gnuplot.d.ts +0 -4
  551. package/vendor/shiki/langs/go.d.ts +0 -4
  552. package/vendor/shiki/langs/gql.d.ts +0 -4
  553. package/vendor/shiki/langs/graphql.d.ts +0 -4
  554. package/vendor/shiki/langs/groovy.d.ts +0 -4
  555. package/vendor/shiki/langs/gts.d.ts +0 -4
  556. package/vendor/shiki/langs/hack.d.ts +0 -4
  557. package/vendor/shiki/langs/haml.d.ts +0 -4
  558. package/vendor/shiki/langs/handlebars.d.ts +0 -4
  559. package/vendor/shiki/langs/haskell.d.ts +0 -4
  560. package/vendor/shiki/langs/haxe.d.ts +0 -4
  561. package/vendor/shiki/langs/hbs.d.ts +0 -4
  562. package/vendor/shiki/langs/hcl.d.ts +0 -4
  563. package/vendor/shiki/langs/hjson.d.ts +0 -4
  564. package/vendor/shiki/langs/hlsl.d.ts +0 -4
  565. package/vendor/shiki/langs/hs.d.ts +0 -4
  566. package/vendor/shiki/langs/html-derivative.d.ts +0 -4
  567. package/vendor/shiki/langs/html.d.ts +0 -4
  568. package/vendor/shiki/langs/http.d.ts +0 -4
  569. package/vendor/shiki/langs/hxml.d.ts +0 -4
  570. package/vendor/shiki/langs/hy.d.ts +0 -4
  571. package/vendor/shiki/langs/imba.d.ts +0 -4
  572. package/vendor/shiki/langs/ini.d.ts +0 -4
  573. package/vendor/shiki/langs/jade.d.ts +0 -4
  574. package/vendor/shiki/langs/java.d.ts +0 -4
  575. package/vendor/shiki/langs/javascript.d.ts +0 -4
  576. package/vendor/shiki/langs/jinja-html.d.ts +0 -4
  577. package/vendor/shiki/langs/jinja.d.ts +0 -4
  578. package/vendor/shiki/langs/jison.d.ts +0 -4
  579. package/vendor/shiki/langs/jl.d.ts +0 -4
  580. package/vendor/shiki/langs/js.d.ts +0 -4
  581. package/vendor/shiki/langs/json.d.ts +0 -4
  582. package/vendor/shiki/langs/json5.d.ts +0 -4
  583. package/vendor/shiki/langs/jsonc.d.ts +0 -4
  584. package/vendor/shiki/langs/jsonl.d.ts +0 -4
  585. package/vendor/shiki/langs/jsonnet.d.ts +0 -4
  586. package/vendor/shiki/langs/jssm.d.ts +0 -4
  587. package/vendor/shiki/langs/jsx.d.ts +0 -4
  588. package/vendor/shiki/langs/julia.d.ts +0 -4
  589. package/vendor/shiki/langs/kotlin.d.ts +0 -4
  590. package/vendor/shiki/langs/kql.d.ts +0 -4
  591. package/vendor/shiki/langs/kt.d.ts +0 -4
  592. package/vendor/shiki/langs/kts.d.ts +0 -4
  593. package/vendor/shiki/langs/kusto.d.ts +0 -4
  594. package/vendor/shiki/langs/latex.d.ts +0 -4
  595. package/vendor/shiki/langs/lean.d.ts +0 -4
  596. package/vendor/shiki/langs/lean4.d.ts +0 -4
  597. package/vendor/shiki/langs/less.d.ts +0 -4
  598. package/vendor/shiki/langs/liquid.d.ts +0 -4
  599. package/vendor/shiki/langs/lisp.d.ts +0 -4
  600. package/vendor/shiki/langs/lit.d.ts +0 -4
  601. package/vendor/shiki/langs/log.d.ts +0 -4
  602. package/vendor/shiki/langs/logo.d.ts +0 -4
  603. package/vendor/shiki/langs/lua.d.ts +0 -4
  604. package/vendor/shiki/langs/luau.d.ts +0 -4
  605. package/vendor/shiki/langs/make.d.ts +0 -4
  606. package/vendor/shiki/langs/makefile.d.ts +0 -4
  607. package/vendor/shiki/langs/markdown-vue.d.ts +0 -4
  608. package/vendor/shiki/langs/markdown.d.ts +0 -4
  609. package/vendor/shiki/langs/marko.d.ts +0 -4
  610. package/vendor/shiki/langs/matlab.d.ts +0 -4
  611. package/vendor/shiki/langs/md.d.ts +0 -4
  612. package/vendor/shiki/langs/mdc.d.ts +0 -4
  613. package/vendor/shiki/langs/mdx.d.ts +0 -4
  614. package/vendor/shiki/langs/mediawiki.d.ts +0 -4
  615. package/vendor/shiki/langs/mermaid.d.ts +0 -4
  616. package/vendor/shiki/langs/mips.d.ts +0 -4
  617. package/vendor/shiki/langs/mipsasm.d.ts +0 -4
  618. package/vendor/shiki/langs/mmd.d.ts +0 -4
  619. package/vendor/shiki/langs/mojo.d.ts +0 -4
  620. package/vendor/shiki/langs/move.d.ts +0 -4
  621. package/vendor/shiki/langs/nar.d.ts +0 -4
  622. package/vendor/shiki/langs/narrat.d.ts +0 -4
  623. package/vendor/shiki/langs/nextflow.d.ts +0 -4
  624. package/vendor/shiki/langs/nf.d.ts +0 -4
  625. package/vendor/shiki/langs/nginx.d.ts +0 -4
  626. package/vendor/shiki/langs/nim.d.ts +0 -4
  627. package/vendor/shiki/langs/nix.d.ts +0 -4
  628. package/vendor/shiki/langs/nu.d.ts +0 -4
  629. package/vendor/shiki/langs/nushell.d.ts +0 -4
  630. package/vendor/shiki/langs/objc.d.ts +0 -4
  631. package/vendor/shiki/langs/objective-c.d.ts +0 -4
  632. package/vendor/shiki/langs/objective-cpp.d.ts +0 -4
  633. package/vendor/shiki/langs/ocaml.d.ts +0 -4
  634. package/vendor/shiki/langs/pascal.d.ts +0 -4
  635. package/vendor/shiki/langs/perl.d.ts +0 -4
  636. package/vendor/shiki/langs/perl6.d.ts +0 -4
  637. package/vendor/shiki/langs/php.d.ts +0 -4
  638. package/vendor/shiki/langs/plsql.d.ts +0 -4
  639. package/vendor/shiki/langs/po.d.ts +0 -4
  640. package/vendor/shiki/langs/postcss.d.ts +0 -4
  641. package/vendor/shiki/langs/pot.d.ts +0 -4
  642. package/vendor/shiki/langs/potx.d.ts +0 -4
  643. package/vendor/shiki/langs/powerquery.d.ts +0 -4
  644. package/vendor/shiki/langs/powershell.d.ts +0 -4
  645. package/vendor/shiki/langs/prisma.d.ts +0 -4
  646. package/vendor/shiki/langs/prolog.d.ts +0 -4
  647. package/vendor/shiki/langs/properties.d.ts +0 -4
  648. package/vendor/shiki/langs/proto.d.ts +0 -4
  649. package/vendor/shiki/langs/protobuf.d.ts +0 -4
  650. package/vendor/shiki/langs/ps.d.ts +0 -4
  651. package/vendor/shiki/langs/ps1.d.ts +0 -4
  652. package/vendor/shiki/langs/pug.d.ts +0 -4
  653. package/vendor/shiki/langs/puppet.d.ts +0 -4
  654. package/vendor/shiki/langs/purescript.d.ts +0 -4
  655. package/vendor/shiki/langs/py.d.ts +0 -4
  656. package/vendor/shiki/langs/python.d.ts +0 -4
  657. package/vendor/shiki/langs/ql.d.ts +0 -4
  658. package/vendor/shiki/langs/qml.d.ts +0 -4
  659. package/vendor/shiki/langs/qmldir.d.ts +0 -4
  660. package/vendor/shiki/langs/qss.d.ts +0 -4
  661. package/vendor/shiki/langs/r.d.ts +0 -4
  662. package/vendor/shiki/langs/racket.d.ts +0 -4
  663. package/vendor/shiki/langs/raku.d.ts +0 -4
  664. package/vendor/shiki/langs/razor.d.ts +0 -4
  665. package/vendor/shiki/langs/rb.d.ts +0 -4
  666. package/vendor/shiki/langs/reg.d.ts +0 -4
  667. package/vendor/shiki/langs/regex.d.ts +0 -4
  668. package/vendor/shiki/langs/regexp.d.ts +0 -4
  669. package/vendor/shiki/langs/rel.d.ts +0 -4
  670. package/vendor/shiki/langs/riscv.d.ts +0 -4
  671. package/vendor/shiki/langs/rs.d.ts +0 -4
  672. package/vendor/shiki/langs/rst.d.ts +0 -4
  673. package/vendor/shiki/langs/ruby.d.ts +0 -4
  674. package/vendor/shiki/langs/rust.d.ts +0 -4
  675. package/vendor/shiki/langs/sas.d.ts +0 -4
  676. package/vendor/shiki/langs/sass.d.ts +0 -4
  677. package/vendor/shiki/langs/scala.d.ts +0 -4
  678. package/vendor/shiki/langs/scheme.d.ts +0 -4
  679. package/vendor/shiki/langs/scss.d.ts +0 -4
  680. package/vendor/shiki/langs/sh.d.ts +0 -4
  681. package/vendor/shiki/langs/shader.d.ts +0 -4
  682. package/vendor/shiki/langs/shaderlab.d.ts +0 -4
  683. package/vendor/shiki/langs/shell.d.ts +0 -4
  684. package/vendor/shiki/langs/shellscript.d.ts +0 -4
  685. package/vendor/shiki/langs/shellsession.d.ts +0 -4
  686. package/vendor/shiki/langs/smalltalk.d.ts +0 -4
  687. package/vendor/shiki/langs/solidity.d.ts +0 -4
  688. package/vendor/shiki/langs/soy.d.ts +0 -4
  689. package/vendor/shiki/langs/sparql.d.ts +0 -4
  690. package/vendor/shiki/langs/spl.d.ts +0 -4
  691. package/vendor/shiki/langs/splunk.d.ts +0 -4
  692. package/vendor/shiki/langs/sql.d.ts +0 -4
  693. package/vendor/shiki/langs/ssh-config.d.ts +0 -4
  694. package/vendor/shiki/langs/stata.d.ts +0 -4
  695. package/vendor/shiki/langs/styl.d.ts +0 -4
  696. package/vendor/shiki/langs/stylus.d.ts +0 -4
  697. package/vendor/shiki/langs/svelte.d.ts +0 -4
  698. package/vendor/shiki/langs/swift.d.ts +0 -4
  699. package/vendor/shiki/langs/system-verilog.d.ts +0 -4
  700. package/vendor/shiki/langs/systemd.d.ts +0 -4
  701. package/vendor/shiki/langs/tasl.d.ts +0 -4
  702. package/vendor/shiki/langs/tcl.d.ts +0 -4
  703. package/vendor/shiki/langs/templ.d.ts +0 -4
  704. package/vendor/shiki/langs/terraform.d.ts +0 -4
  705. package/vendor/shiki/langs/tex.d.ts +0 -4
  706. package/vendor/shiki/langs/tf.d.ts +0 -4
  707. package/vendor/shiki/langs/tfvars.d.ts +0 -4
  708. package/vendor/shiki/langs/toml.d.ts +0 -4
  709. package/vendor/shiki/langs/ts-tags.d.ts +0 -4
  710. package/vendor/shiki/langs/ts.d.ts +0 -4
  711. package/vendor/shiki/langs/tsp.d.ts +0 -4
  712. package/vendor/shiki/langs/tsv.d.ts +0 -4
  713. package/vendor/shiki/langs/tsx.d.ts +0 -4
  714. package/vendor/shiki/langs/turtle.d.ts +0 -4
  715. package/vendor/shiki/langs/twig.d.ts +0 -4
  716. package/vendor/shiki/langs/typ.d.ts +0 -4
  717. package/vendor/shiki/langs/typescript.d.ts +0 -4
  718. package/vendor/shiki/langs/typespec.d.ts +0 -4
  719. package/vendor/shiki/langs/typst.d.ts +0 -4
  720. package/vendor/shiki/langs/v.d.ts +0 -4
  721. package/vendor/shiki/langs/vala.d.ts +0 -4
  722. package/vendor/shiki/langs/vb.d.ts +0 -4
  723. package/vendor/shiki/langs/verilog.d.ts +0 -4
  724. package/vendor/shiki/langs/vhdl.d.ts +0 -4
  725. package/vendor/shiki/langs/vim.d.ts +0 -4
  726. package/vendor/shiki/langs/viml.d.ts +0 -4
  727. package/vendor/shiki/langs/vimscript.d.ts +0 -4
  728. package/vendor/shiki/langs/vue-directives.d.ts +0 -4
  729. package/vendor/shiki/langs/vue-html.d.ts +0 -4
  730. package/vendor/shiki/langs/vue-interpolations.d.ts +0 -4
  731. package/vendor/shiki/langs/vue-sfc-style-variable-injection.d.ts +0 -4
  732. package/vendor/shiki/langs/vue.d.ts +0 -4
  733. package/vendor/shiki/langs/vy.d.ts +0 -4
  734. package/vendor/shiki/langs/vyper.d.ts +0 -4
  735. package/vendor/shiki/langs/wasm.d.ts +0 -4
  736. package/vendor/shiki/langs/wenyan.d.ts +0 -4
  737. package/vendor/shiki/langs/wgsl.d.ts +0 -4
  738. package/vendor/shiki/langs/wiki.d.ts +0 -4
  739. package/vendor/shiki/langs/wikitext.d.ts +0 -4
  740. package/vendor/shiki/langs/wl.d.ts +0 -4
  741. package/vendor/shiki/langs/wolfram.d.ts +0 -4
  742. package/vendor/shiki/langs/xml.d.ts +0 -4
  743. package/vendor/shiki/langs/xsl.d.ts +0 -4
  744. package/vendor/shiki/langs/yaml.d.ts +0 -4
  745. package/vendor/shiki/langs/yml.d.ts +0 -4
  746. package/vendor/shiki/langs/zenscript.d.ts +0 -4
  747. package/vendor/shiki/langs/zig.d.ts +0 -4
  748. package/vendor/shiki/langs/zsh.d.ts +0 -4
  749. package/vendor/shiki/manifest.json +0 -1466
  750. package/vendor/shiki/themes/andromeeda.d.ts +0 -4
  751. package/vendor/shiki/themes/aurora-x.d.ts +0 -4
  752. package/vendor/shiki/themes/ayu-dark.d.ts +0 -4
  753. package/vendor/shiki/themes/catppuccin-frappe.d.ts +0 -4
  754. package/vendor/shiki/themes/catppuccin-latte.d.ts +0 -4
  755. package/vendor/shiki/themes/catppuccin-macchiato.d.ts +0 -4
  756. package/vendor/shiki/themes/catppuccin-mocha.d.ts +0 -4
  757. package/vendor/shiki/themes/dark-plus.d.ts +0 -4
  758. package/vendor/shiki/themes/dracula-soft.d.ts +0 -4
  759. package/vendor/shiki/themes/dracula.d.ts +0 -4
  760. package/vendor/shiki/themes/everforest-dark.d.ts +0 -4
  761. package/vendor/shiki/themes/everforest-light.d.ts +0 -4
  762. package/vendor/shiki/themes/github-dark-default.d.ts +0 -4
  763. package/vendor/shiki/themes/github-dark-dimmed.d.ts +0 -4
  764. package/vendor/shiki/themes/github-dark-high-contrast.d.ts +0 -4
  765. package/vendor/shiki/themes/github-dark.d.ts +0 -4
  766. package/vendor/shiki/themes/github-light-default.d.ts +0 -4
  767. package/vendor/shiki/themes/github-light-high-contrast.d.ts +0 -4
  768. package/vendor/shiki/themes/github-light.d.ts +0 -4
  769. package/vendor/shiki/themes/houston.d.ts +0 -4
  770. package/vendor/shiki/themes/kanagawa-dragon.d.ts +0 -4
  771. package/vendor/shiki/themes/kanagawa-lotus.d.ts +0 -4
  772. package/vendor/shiki/themes/kanagawa-wave.d.ts +0 -4
  773. package/vendor/shiki/themes/laserwave.d.ts +0 -4
  774. package/vendor/shiki/themes/light-plus.d.ts +0 -4
  775. package/vendor/shiki/themes/material-theme-darker.d.ts +0 -4
  776. package/vendor/shiki/themes/material-theme-lighter.d.ts +0 -4
  777. package/vendor/shiki/themes/material-theme-ocean.d.ts +0 -4
  778. package/vendor/shiki/themes/material-theme-palenight.d.ts +0 -4
  779. package/vendor/shiki/themes/material-theme.d.ts +0 -4
  780. package/vendor/shiki/themes/min-dark.d.ts +0 -4
  781. package/vendor/shiki/themes/min-light.d.ts +0 -4
  782. package/vendor/shiki/themes/monokai.d.ts +0 -4
  783. package/vendor/shiki/themes/night-owl.d.ts +0 -4
  784. package/vendor/shiki/themes/nord.d.ts +0 -4
  785. package/vendor/shiki/themes/one-dark-pro.d.ts +0 -4
  786. package/vendor/shiki/themes/one-light.d.ts +0 -4
  787. package/vendor/shiki/themes/plastic.d.ts +0 -4
  788. package/vendor/shiki/themes/poimandres.d.ts +0 -4
  789. package/vendor/shiki/themes/red.d.ts +0 -4
  790. package/vendor/shiki/themes/rose-pine-dawn.d.ts +0 -4
  791. package/vendor/shiki/themes/rose-pine-moon.d.ts +0 -4
  792. package/vendor/shiki/themes/rose-pine.d.ts +0 -4
  793. package/vendor/shiki/themes/slack-dark.d.ts +0 -4
  794. package/vendor/shiki/themes/slack-ochin.d.ts +0 -4
  795. package/vendor/shiki/themes/snazzy-light.d.ts +0 -4
  796. package/vendor/shiki/themes/solarized-dark.d.ts +0 -4
  797. package/vendor/shiki/themes/solarized-light.d.ts +0 -4
  798. package/vendor/shiki/themes/tokyo-night.d.ts +0 -4
  799. package/vendor/shiki/themes/vesper.d.ts +0 -4
  800. package/vendor/shiki/themes/vitesse-black.d.ts +0 -4
  801. package/vendor/shiki/themes/vitesse-dark.d.ts +0 -4
  802. package/vendor/shiki/themes/vitesse-light.d.ts +0 -4
  803. /package/{vendor → src/vendor}/shiki/core/core.js +0 -0
  804. /package/{vendor → src/vendor}/shiki/core/engine-javascript.js +0 -0
  805. /package/{vendor → src/vendor}/shiki/langs/abap.js +0 -0
  806. /package/{vendor → src/vendor}/shiki/langs/actionscript-3.js +0 -0
  807. /package/{vendor → src/vendor}/shiki/langs/ada.js +0 -0
  808. /package/{vendor → src/vendor}/shiki/langs/adoc.js +0 -0
  809. /package/{vendor → src/vendor}/shiki/langs/angular-expression.js +0 -0
  810. /package/{vendor → src/vendor}/shiki/langs/angular-html.js +0 -0
  811. /package/{vendor → src/vendor}/shiki/langs/angular-inline-style.js +0 -0
  812. /package/{vendor → src/vendor}/shiki/langs/angular-inline-template.js +0 -0
  813. /package/{vendor → src/vendor}/shiki/langs/angular-let-declaration.js +0 -0
  814. /package/{vendor → src/vendor}/shiki/langs/angular-template-blocks.js +0 -0
  815. /package/{vendor → src/vendor}/shiki/langs/angular-template.js +0 -0
  816. /package/{vendor → src/vendor}/shiki/langs/angular-ts.js +0 -0
  817. /package/{vendor → src/vendor}/shiki/langs/apache.js +0 -0
  818. /package/{vendor → src/vendor}/shiki/langs/apex.js +0 -0
  819. /package/{vendor → src/vendor}/shiki/langs/apl.js +0 -0
  820. /package/{vendor → src/vendor}/shiki/langs/applescript.js +0 -0
  821. /package/{vendor → src/vendor}/shiki/langs/ara.js +0 -0
  822. /package/{vendor → src/vendor}/shiki/langs/asciidoc.js +0 -0
  823. /package/{vendor → src/vendor}/shiki/langs/asm.js +0 -0
  824. /package/{vendor → src/vendor}/shiki/langs/astro.js +0 -0
  825. /package/{vendor → src/vendor}/shiki/langs/awk.js +0 -0
  826. /package/{vendor → src/vendor}/shiki/langs/ballerina.js +0 -0
  827. /package/{vendor → src/vendor}/shiki/langs/bash.js +0 -0
  828. /package/{vendor → src/vendor}/shiki/langs/bat.js +0 -0
  829. /package/{vendor → src/vendor}/shiki/langs/batch.js +0 -0
  830. /package/{vendor → src/vendor}/shiki/langs/be.js +0 -0
  831. /package/{vendor → src/vendor}/shiki/langs/beancount.js +0 -0
  832. /package/{vendor → src/vendor}/shiki/langs/berry.js +0 -0
  833. /package/{vendor → src/vendor}/shiki/langs/bibtex.js +0 -0
  834. /package/{vendor → src/vendor}/shiki/langs/bicep.js +0 -0
  835. /package/{vendor → src/vendor}/shiki/langs/blade.js +0 -0
  836. /package/{vendor → src/vendor}/shiki/langs/c.js +0 -0
  837. /package/{vendor → src/vendor}/shiki/langs/cadence.js +0 -0
  838. /package/{vendor → src/vendor}/shiki/langs/cdc.js +0 -0
  839. /package/{vendor → src/vendor}/shiki/langs/clarity.js +0 -0
  840. /package/{vendor → src/vendor}/shiki/langs/clj.js +0 -0
  841. /package/{vendor → src/vendor}/shiki/langs/clojure.js +0 -0
  842. /package/{vendor → src/vendor}/shiki/langs/closure-templates.js +0 -0
  843. /package/{vendor → src/vendor}/shiki/langs/cmake.js +0 -0
  844. /package/{vendor → src/vendor}/shiki/langs/cmd.js +0 -0
  845. /package/{vendor → src/vendor}/shiki/langs/cobol.js +0 -0
  846. /package/{vendor → src/vendor}/shiki/langs/codeowners.js +0 -0
  847. /package/{vendor → src/vendor}/shiki/langs/codeql.js +0 -0
  848. /package/{vendor → src/vendor}/shiki/langs/coffee.js +0 -0
  849. /package/{vendor → src/vendor}/shiki/langs/coffeescript.js +0 -0
  850. /package/{vendor → src/vendor}/shiki/langs/common-lisp.js +0 -0
  851. /package/{vendor → src/vendor}/shiki/langs/console.js +0 -0
  852. /package/{vendor → src/vendor}/shiki/langs/coq.js +0 -0
  853. /package/{vendor → src/vendor}/shiki/langs/cpp-macro.js +0 -0
  854. /package/{vendor → src/vendor}/shiki/langs/cpp.js +0 -0
  855. /package/{vendor → src/vendor}/shiki/langs/cql.js +0 -0
  856. /package/{vendor → src/vendor}/shiki/langs/crystal.js +0 -0
  857. /package/{vendor → src/vendor}/shiki/langs/cs.js +0 -0
  858. /package/{vendor → src/vendor}/shiki/langs/csharp.js +0 -0
  859. /package/{vendor → src/vendor}/shiki/langs/css.js +0 -0
  860. /package/{vendor → src/vendor}/shiki/langs/csv.js +0 -0
  861. /package/{vendor → src/vendor}/shiki/langs/cue.js +0 -0
  862. /package/{vendor → src/vendor}/shiki/langs/cypher.js +0 -0
  863. /package/{vendor → src/vendor}/shiki/langs/d.js +0 -0
  864. /package/{vendor → src/vendor}/shiki/langs/dart.js +0 -0
  865. /package/{vendor → src/vendor}/shiki/langs/dax.js +0 -0
  866. /package/{vendor → src/vendor}/shiki/langs/desktop.js +0 -0
  867. /package/{vendor → src/vendor}/shiki/langs/diff.js +0 -0
  868. /package/{vendor → src/vendor}/shiki/langs/docker.js +0 -0
  869. /package/{vendor → src/vendor}/shiki/langs/dockerfile.js +0 -0
  870. /package/{vendor → src/vendor}/shiki/langs/dotenv.js +0 -0
  871. /package/{vendor → src/vendor}/shiki/langs/dream-maker.js +0 -0
  872. /package/{vendor → src/vendor}/shiki/langs/edge.js +0 -0
  873. /package/{vendor → src/vendor}/shiki/langs/elisp.js +0 -0
  874. /package/{vendor → src/vendor}/shiki/langs/elixir.js +0 -0
  875. /package/{vendor → src/vendor}/shiki/langs/elm.js +0 -0
  876. /package/{vendor → src/vendor}/shiki/langs/emacs-lisp.js +0 -0
  877. /package/{vendor → src/vendor}/shiki/langs/erb.js +0 -0
  878. /package/{vendor → src/vendor}/shiki/langs/erl.js +0 -0
  879. /package/{vendor → src/vendor}/shiki/langs/erlang.js +0 -0
  880. /package/{vendor → src/vendor}/shiki/langs/es-tag-css.js +0 -0
  881. /package/{vendor → src/vendor}/shiki/langs/es-tag-glsl.js +0 -0
  882. /package/{vendor → src/vendor}/shiki/langs/es-tag-html.js +0 -0
  883. /package/{vendor → src/vendor}/shiki/langs/es-tag-sql.js +0 -0
  884. /package/{vendor → src/vendor}/shiki/langs/es-tag-xml.js +0 -0
  885. /package/{vendor → src/vendor}/shiki/langs/f.js +0 -0
  886. /package/{vendor → src/vendor}/shiki/langs/f03.js +0 -0
  887. /package/{vendor → src/vendor}/shiki/langs/f08.js +0 -0
  888. /package/{vendor → src/vendor}/shiki/langs/f18.js +0 -0
  889. /package/{vendor → src/vendor}/shiki/langs/f77.js +0 -0
  890. /package/{vendor → src/vendor}/shiki/langs/f90.js +0 -0
  891. /package/{vendor → src/vendor}/shiki/langs/f95.js +0 -0
  892. /package/{vendor → src/vendor}/shiki/langs/fennel.js +0 -0
  893. /package/{vendor → src/vendor}/shiki/langs/fish.js +0 -0
  894. /package/{vendor → src/vendor}/shiki/langs/fluent.js +0 -0
  895. /package/{vendor → src/vendor}/shiki/langs/for.js +0 -0
  896. /package/{vendor → src/vendor}/shiki/langs/fortran-fixed-form.js +0 -0
  897. /package/{vendor → src/vendor}/shiki/langs/fortran-free-form.js +0 -0
  898. /package/{vendor → src/vendor}/shiki/langs/fs.js +0 -0
  899. /package/{vendor → src/vendor}/shiki/langs/fsharp.js +0 -0
  900. /package/{vendor → src/vendor}/shiki/langs/fsl.js +0 -0
  901. /package/{vendor → src/vendor}/shiki/langs/ftl.js +0 -0
  902. /package/{vendor → src/vendor}/shiki/langs/gdresource.js +0 -0
  903. /package/{vendor → src/vendor}/shiki/langs/gdscript.js +0 -0
  904. /package/{vendor → src/vendor}/shiki/langs/gdshader.js +0 -0
  905. /package/{vendor → src/vendor}/shiki/langs/genie.js +0 -0
  906. /package/{vendor → src/vendor}/shiki/langs/gherkin.js +0 -0
  907. /package/{vendor → src/vendor}/shiki/langs/git-commit.js +0 -0
  908. /package/{vendor → src/vendor}/shiki/langs/git-rebase.js +0 -0
  909. /package/{vendor → src/vendor}/shiki/langs/gjs.js +0 -0
  910. /package/{vendor → src/vendor}/shiki/langs/gleam.js +0 -0
  911. /package/{vendor → src/vendor}/shiki/langs/glimmer-js.js +0 -0
  912. /package/{vendor → src/vendor}/shiki/langs/glimmer-ts.js +0 -0
  913. /package/{vendor → src/vendor}/shiki/langs/glsl.js +0 -0
  914. /package/{vendor → src/vendor}/shiki/langs/gnuplot.js +0 -0
  915. /package/{vendor → src/vendor}/shiki/langs/go.js +0 -0
  916. /package/{vendor → src/vendor}/shiki/langs/gql.js +0 -0
  917. /package/{vendor → src/vendor}/shiki/langs/graphql.js +0 -0
  918. /package/{vendor → src/vendor}/shiki/langs/groovy.js +0 -0
  919. /package/{vendor → src/vendor}/shiki/langs/gts.js +0 -0
  920. /package/{vendor → src/vendor}/shiki/langs/hack.js +0 -0
  921. /package/{vendor → src/vendor}/shiki/langs/haml.js +0 -0
  922. /package/{vendor → src/vendor}/shiki/langs/handlebars.js +0 -0
  923. /package/{vendor → src/vendor}/shiki/langs/haskell.js +0 -0
  924. /package/{vendor → src/vendor}/shiki/langs/haxe.js +0 -0
  925. /package/{vendor → src/vendor}/shiki/langs/hbs.js +0 -0
  926. /package/{vendor → src/vendor}/shiki/langs/hcl.js +0 -0
  927. /package/{vendor → src/vendor}/shiki/langs/hjson.js +0 -0
  928. /package/{vendor → src/vendor}/shiki/langs/hlsl.js +0 -0
  929. /package/{vendor → src/vendor}/shiki/langs/hs.js +0 -0
  930. /package/{vendor → src/vendor}/shiki/langs/html-derivative.js +0 -0
  931. /package/{vendor → src/vendor}/shiki/langs/html.js +0 -0
  932. /package/{vendor → src/vendor}/shiki/langs/http.js +0 -0
  933. /package/{vendor → src/vendor}/shiki/langs/hxml.js +0 -0
  934. /package/{vendor → src/vendor}/shiki/langs/hy.js +0 -0
  935. /package/{vendor → src/vendor}/shiki/langs/imba.js +0 -0
  936. /package/{vendor → src/vendor}/shiki/langs/ini.js +0 -0
  937. /package/{vendor → src/vendor}/shiki/langs/jade.js +0 -0
  938. /package/{vendor → src/vendor}/shiki/langs/java.js +0 -0
  939. /package/{vendor → src/vendor}/shiki/langs/javascript.js +0 -0
  940. /package/{vendor → src/vendor}/shiki/langs/jinja-html.js +0 -0
  941. /package/{vendor → src/vendor}/shiki/langs/jinja.js +0 -0
  942. /package/{vendor → src/vendor}/shiki/langs/jison.js +0 -0
  943. /package/{vendor → src/vendor}/shiki/langs/jl.js +0 -0
  944. /package/{vendor → src/vendor}/shiki/langs/js.js +0 -0
  945. /package/{vendor → src/vendor}/shiki/langs/json.js +0 -0
  946. /package/{vendor → src/vendor}/shiki/langs/json5.js +0 -0
  947. /package/{vendor → src/vendor}/shiki/langs/jsonc.js +0 -0
  948. /package/{vendor → src/vendor}/shiki/langs/jsonl.js +0 -0
  949. /package/{vendor → src/vendor}/shiki/langs/jsonnet.js +0 -0
  950. /package/{vendor → src/vendor}/shiki/langs/jssm.js +0 -0
  951. /package/{vendor → src/vendor}/shiki/langs/jsx.js +0 -0
  952. /package/{vendor → src/vendor}/shiki/langs/julia.js +0 -0
  953. /package/{vendor → src/vendor}/shiki/langs/kotlin.js +0 -0
  954. /package/{vendor → src/vendor}/shiki/langs/kql.js +0 -0
  955. /package/{vendor → src/vendor}/shiki/langs/kt.js +0 -0
  956. /package/{vendor → src/vendor}/shiki/langs/kts.js +0 -0
  957. /package/{vendor → src/vendor}/shiki/langs/kusto.js +0 -0
  958. /package/{vendor → src/vendor}/shiki/langs/latex.js +0 -0
  959. /package/{vendor → src/vendor}/shiki/langs/lean.js +0 -0
  960. /package/{vendor → src/vendor}/shiki/langs/lean4.js +0 -0
  961. /package/{vendor → src/vendor}/shiki/langs/less.js +0 -0
  962. /package/{vendor → src/vendor}/shiki/langs/liquid.js +0 -0
  963. /package/{vendor → src/vendor}/shiki/langs/lisp.js +0 -0
  964. /package/{vendor → src/vendor}/shiki/langs/lit.js +0 -0
  965. /package/{vendor → src/vendor}/shiki/langs/log.js +0 -0
  966. /package/{vendor → src/vendor}/shiki/langs/logo.js +0 -0
  967. /package/{vendor → src/vendor}/shiki/langs/lua.js +0 -0
  968. /package/{vendor → src/vendor}/shiki/langs/luau.js +0 -0
  969. /package/{vendor → src/vendor}/shiki/langs/make.js +0 -0
  970. /package/{vendor → src/vendor}/shiki/langs/makefile.js +0 -0
  971. /package/{vendor → src/vendor}/shiki/langs/markdown-vue.js +0 -0
  972. /package/{vendor → src/vendor}/shiki/langs/markdown.js +0 -0
  973. /package/{vendor → src/vendor}/shiki/langs/marko.js +0 -0
  974. /package/{vendor → src/vendor}/shiki/langs/matlab.js +0 -0
  975. /package/{vendor → src/vendor}/shiki/langs/md.js +0 -0
  976. /package/{vendor → src/vendor}/shiki/langs/mdc.js +0 -0
  977. /package/{vendor → src/vendor}/shiki/langs/mdx.js +0 -0
  978. /package/{vendor → src/vendor}/shiki/langs/mediawiki.js +0 -0
  979. /package/{vendor → src/vendor}/shiki/langs/mermaid.js +0 -0
  980. /package/{vendor → src/vendor}/shiki/langs/mips.js +0 -0
  981. /package/{vendor → src/vendor}/shiki/langs/mipsasm.js +0 -0
  982. /package/{vendor → src/vendor}/shiki/langs/mmd.js +0 -0
  983. /package/{vendor → src/vendor}/shiki/langs/mojo.js +0 -0
  984. /package/{vendor → src/vendor}/shiki/langs/move.js +0 -0
  985. /package/{vendor → src/vendor}/shiki/langs/nar.js +0 -0
  986. /package/{vendor → src/vendor}/shiki/langs/narrat.js +0 -0
  987. /package/{vendor → src/vendor}/shiki/langs/nextflow.js +0 -0
  988. /package/{vendor → src/vendor}/shiki/langs/nf.js +0 -0
  989. /package/{vendor → src/vendor}/shiki/langs/nginx.js +0 -0
  990. /package/{vendor → src/vendor}/shiki/langs/nim.js +0 -0
  991. /package/{vendor → src/vendor}/shiki/langs/nix.js +0 -0
  992. /package/{vendor → src/vendor}/shiki/langs/nu.js +0 -0
  993. /package/{vendor → src/vendor}/shiki/langs/nushell.js +0 -0
  994. /package/{vendor → src/vendor}/shiki/langs/objc.js +0 -0
  995. /package/{vendor → src/vendor}/shiki/langs/objective-c.js +0 -0
  996. /package/{vendor → src/vendor}/shiki/langs/objective-cpp.js +0 -0
  997. /package/{vendor → src/vendor}/shiki/langs/ocaml.js +0 -0
  998. /package/{vendor → src/vendor}/shiki/langs/pascal.js +0 -0
  999. /package/{vendor → src/vendor}/shiki/langs/perl.js +0 -0
  1000. /package/{vendor → src/vendor}/shiki/langs/perl6.js +0 -0
  1001. /package/{vendor → src/vendor}/shiki/langs/php.js +0 -0
  1002. /package/{vendor → src/vendor}/shiki/langs/plsql.js +0 -0
  1003. /package/{vendor → src/vendor}/shiki/langs/po.js +0 -0
  1004. /package/{vendor → src/vendor}/shiki/langs/postcss.js +0 -0
  1005. /package/{vendor → src/vendor}/shiki/langs/pot.js +0 -0
  1006. /package/{vendor → src/vendor}/shiki/langs/potx.js +0 -0
  1007. /package/{vendor → src/vendor}/shiki/langs/powerquery.js +0 -0
  1008. /package/{vendor → src/vendor}/shiki/langs/powershell.js +0 -0
  1009. /package/{vendor → src/vendor}/shiki/langs/prisma.js +0 -0
  1010. /package/{vendor → src/vendor}/shiki/langs/prolog.js +0 -0
  1011. /package/{vendor → src/vendor}/shiki/langs/properties.js +0 -0
  1012. /package/{vendor → src/vendor}/shiki/langs/proto.js +0 -0
  1013. /package/{vendor → src/vendor}/shiki/langs/protobuf.js +0 -0
  1014. /package/{vendor → src/vendor}/shiki/langs/ps.js +0 -0
  1015. /package/{vendor → src/vendor}/shiki/langs/ps1.js +0 -0
  1016. /package/{vendor → src/vendor}/shiki/langs/pug.js +0 -0
  1017. /package/{vendor → src/vendor}/shiki/langs/puppet.js +0 -0
  1018. /package/{vendor → src/vendor}/shiki/langs/purescript.js +0 -0
  1019. /package/{vendor → src/vendor}/shiki/langs/py.js +0 -0
  1020. /package/{vendor → src/vendor}/shiki/langs/python.js +0 -0
  1021. /package/{vendor → src/vendor}/shiki/langs/ql.js +0 -0
  1022. /package/{vendor → src/vendor}/shiki/langs/qml.js +0 -0
  1023. /package/{vendor → src/vendor}/shiki/langs/qmldir.js +0 -0
  1024. /package/{vendor → src/vendor}/shiki/langs/qss.js +0 -0
  1025. /package/{vendor → src/vendor}/shiki/langs/r.js +0 -0
  1026. /package/{vendor → src/vendor}/shiki/langs/racket.js +0 -0
  1027. /package/{vendor → src/vendor}/shiki/langs/raku.js +0 -0
  1028. /package/{vendor → src/vendor}/shiki/langs/razor.js +0 -0
  1029. /package/{vendor → src/vendor}/shiki/langs/rb.js +0 -0
  1030. /package/{vendor → src/vendor}/shiki/langs/reg.js +0 -0
  1031. /package/{vendor → src/vendor}/shiki/langs/regex.js +0 -0
  1032. /package/{vendor → src/vendor}/shiki/langs/regexp.js +0 -0
  1033. /package/{vendor → src/vendor}/shiki/langs/rel.js +0 -0
  1034. /package/{vendor → src/vendor}/shiki/langs/riscv.js +0 -0
  1035. /package/{vendor → src/vendor}/shiki/langs/rs.js +0 -0
  1036. /package/{vendor → src/vendor}/shiki/langs/rst.js +0 -0
  1037. /package/{vendor → src/vendor}/shiki/langs/ruby.js +0 -0
  1038. /package/{vendor → src/vendor}/shiki/langs/rust.js +0 -0
  1039. /package/{vendor → src/vendor}/shiki/langs/sas.js +0 -0
  1040. /package/{vendor → src/vendor}/shiki/langs/sass.js +0 -0
  1041. /package/{vendor → src/vendor}/shiki/langs/scala.js +0 -0
  1042. /package/{vendor → src/vendor}/shiki/langs/scheme.js +0 -0
  1043. /package/{vendor → src/vendor}/shiki/langs/scss.js +0 -0
  1044. /package/{vendor → src/vendor}/shiki/langs/sh.js +0 -0
  1045. /package/{vendor → src/vendor}/shiki/langs/shader.js +0 -0
  1046. /package/{vendor → src/vendor}/shiki/langs/shaderlab.js +0 -0
  1047. /package/{vendor → src/vendor}/shiki/langs/shell.js +0 -0
  1048. /package/{vendor → src/vendor}/shiki/langs/shellscript.js +0 -0
  1049. /package/{vendor → src/vendor}/shiki/langs/shellsession.js +0 -0
  1050. /package/{vendor → src/vendor}/shiki/langs/smalltalk.js +0 -0
  1051. /package/{vendor → src/vendor}/shiki/langs/solidity.js +0 -0
  1052. /package/{vendor → src/vendor}/shiki/langs/soy.js +0 -0
  1053. /package/{vendor → src/vendor}/shiki/langs/sparql.js +0 -0
  1054. /package/{vendor → src/vendor}/shiki/langs/spl.js +0 -0
  1055. /package/{vendor → src/vendor}/shiki/langs/splunk.js +0 -0
  1056. /package/{vendor → src/vendor}/shiki/langs/sql.js +0 -0
  1057. /package/{vendor → src/vendor}/shiki/langs/ssh-config.js +0 -0
  1058. /package/{vendor → src/vendor}/shiki/langs/stata.js +0 -0
  1059. /package/{vendor → src/vendor}/shiki/langs/styl.js +0 -0
  1060. /package/{vendor → src/vendor}/shiki/langs/stylus.js +0 -0
  1061. /package/{vendor → src/vendor}/shiki/langs/svelte.js +0 -0
  1062. /package/{vendor → src/vendor}/shiki/langs/swift.js +0 -0
  1063. /package/{vendor → src/vendor}/shiki/langs/system-verilog.js +0 -0
  1064. /package/{vendor → src/vendor}/shiki/langs/systemd.js +0 -0
  1065. /package/{vendor → src/vendor}/shiki/langs/tasl.js +0 -0
  1066. /package/{vendor → src/vendor}/shiki/langs/tcl.js +0 -0
  1067. /package/{vendor → src/vendor}/shiki/langs/templ.js +0 -0
  1068. /package/{vendor → src/vendor}/shiki/langs/terraform.js +0 -0
  1069. /package/{vendor → src/vendor}/shiki/langs/tex.js +0 -0
  1070. /package/{vendor → src/vendor}/shiki/langs/tf.js +0 -0
  1071. /package/{vendor → src/vendor}/shiki/langs/tfvars.js +0 -0
  1072. /package/{vendor → src/vendor}/shiki/langs/toml.js +0 -0
  1073. /package/{vendor → src/vendor}/shiki/langs/ts-tags.js +0 -0
  1074. /package/{vendor → src/vendor}/shiki/langs/ts.js +0 -0
  1075. /package/{vendor → src/vendor}/shiki/langs/tsp.js +0 -0
  1076. /package/{vendor → src/vendor}/shiki/langs/tsv.js +0 -0
  1077. /package/{vendor → src/vendor}/shiki/langs/tsx.js +0 -0
  1078. /package/{vendor → src/vendor}/shiki/langs/turtle.js +0 -0
  1079. /package/{vendor → src/vendor}/shiki/langs/twig.js +0 -0
  1080. /package/{vendor → src/vendor}/shiki/langs/typ.js +0 -0
  1081. /package/{vendor → src/vendor}/shiki/langs/typescript.js +0 -0
  1082. /package/{vendor → src/vendor}/shiki/langs/typespec.js +0 -0
  1083. /package/{vendor → src/vendor}/shiki/langs/typst.js +0 -0
  1084. /package/{vendor → src/vendor}/shiki/langs/v.js +0 -0
  1085. /package/{vendor → src/vendor}/shiki/langs/vala.js +0 -0
  1086. /package/{vendor → src/vendor}/shiki/langs/vb.js +0 -0
  1087. /package/{vendor → src/vendor}/shiki/langs/verilog.js +0 -0
  1088. /package/{vendor → src/vendor}/shiki/langs/vhdl.js +0 -0
  1089. /package/{vendor → src/vendor}/shiki/langs/vim.js +0 -0
  1090. /package/{vendor → src/vendor}/shiki/langs/viml.js +0 -0
  1091. /package/{vendor → src/vendor}/shiki/langs/vimscript.js +0 -0
  1092. /package/{vendor → src/vendor}/shiki/langs/vue-directives.js +0 -0
  1093. /package/{vendor → src/vendor}/shiki/langs/vue-html.js +0 -0
  1094. /package/{vendor → src/vendor}/shiki/langs/vue-interpolations.js +0 -0
  1095. /package/{vendor → src/vendor}/shiki/langs/vue-sfc-style-variable-injection.js +0 -0
  1096. /package/{vendor → src/vendor}/shiki/langs/vue.js +0 -0
  1097. /package/{vendor → src/vendor}/shiki/langs/vy.js +0 -0
  1098. /package/{vendor → src/vendor}/shiki/langs/vyper.js +0 -0
  1099. /package/{vendor → src/vendor}/shiki/langs/wasm.js +0 -0
  1100. /package/{vendor → src/vendor}/shiki/langs/wenyan.js +0 -0
  1101. /package/{vendor → src/vendor}/shiki/langs/wgsl.js +0 -0
  1102. /package/{vendor → src/vendor}/shiki/langs/wiki.js +0 -0
  1103. /package/{vendor → src/vendor}/shiki/langs/wikitext.js +0 -0
  1104. /package/{vendor → src/vendor}/shiki/langs/wl.js +0 -0
  1105. /package/{vendor → src/vendor}/shiki/langs/wolfram.js +0 -0
  1106. /package/{vendor → src/vendor}/shiki/langs/xml.js +0 -0
  1107. /package/{vendor → src/vendor}/shiki/langs/xsl.js +0 -0
  1108. /package/{vendor → src/vendor}/shiki/langs/yaml.js +0 -0
  1109. /package/{vendor → src/vendor}/shiki/langs/yml.js +0 -0
  1110. /package/{vendor → src/vendor}/shiki/langs/zenscript.js +0 -0
  1111. /package/{vendor → src/vendor}/shiki/langs/zig.js +0 -0
  1112. /package/{vendor → src/vendor}/shiki/langs/zsh.js +0 -0
  1113. /package/{vendor → src/vendor}/shiki/themes/andromeeda.js +0 -0
  1114. /package/{vendor → src/vendor}/shiki/themes/aurora-x.js +0 -0
  1115. /package/{vendor → src/vendor}/shiki/themes/ayu-dark.js +0 -0
  1116. /package/{vendor → src/vendor}/shiki/themes/catppuccin-frappe.js +0 -0
  1117. /package/{vendor → src/vendor}/shiki/themes/catppuccin-latte.js +0 -0
  1118. /package/{vendor → src/vendor}/shiki/themes/catppuccin-macchiato.js +0 -0
  1119. /package/{vendor → src/vendor}/shiki/themes/catppuccin-mocha.js +0 -0
  1120. /package/{vendor → src/vendor}/shiki/themes/dark-plus.js +0 -0
  1121. /package/{vendor → src/vendor}/shiki/themes/dracula-soft.js +0 -0
  1122. /package/{vendor → src/vendor}/shiki/themes/dracula.js +0 -0
  1123. /package/{vendor → src/vendor}/shiki/themes/everforest-dark.js +0 -0
  1124. /package/{vendor → src/vendor}/shiki/themes/everforest-light.js +0 -0
  1125. /package/{vendor → src/vendor}/shiki/themes/github-dark-default.js +0 -0
  1126. /package/{vendor → src/vendor}/shiki/themes/github-dark-dimmed.js +0 -0
  1127. /package/{vendor → src/vendor}/shiki/themes/github-dark-high-contrast.js +0 -0
  1128. /package/{vendor → src/vendor}/shiki/themes/github-dark.js +0 -0
  1129. /package/{vendor → src/vendor}/shiki/themes/github-light-default.js +0 -0
  1130. /package/{vendor → src/vendor}/shiki/themes/github-light-high-contrast.js +0 -0
  1131. /package/{vendor → src/vendor}/shiki/themes/github-light.js +0 -0
  1132. /package/{vendor → src/vendor}/shiki/themes/houston.js +0 -0
  1133. /package/{vendor → src/vendor}/shiki/themes/kanagawa-dragon.js +0 -0
  1134. /package/{vendor → src/vendor}/shiki/themes/kanagawa-lotus.js +0 -0
  1135. /package/{vendor → src/vendor}/shiki/themes/kanagawa-wave.js +0 -0
  1136. /package/{vendor → src/vendor}/shiki/themes/laserwave.js +0 -0
  1137. /package/{vendor → src/vendor}/shiki/themes/light-plus.js +0 -0
  1138. /package/{vendor → src/vendor}/shiki/themes/material-theme-darker.js +0 -0
  1139. /package/{vendor → src/vendor}/shiki/themes/material-theme-lighter.js +0 -0
  1140. /package/{vendor → src/vendor}/shiki/themes/material-theme-ocean.js +0 -0
  1141. /package/{vendor → src/vendor}/shiki/themes/material-theme-palenight.js +0 -0
  1142. /package/{vendor → src/vendor}/shiki/themes/material-theme.js +0 -0
  1143. /package/{vendor → src/vendor}/shiki/themes/min-dark.js +0 -0
  1144. /package/{vendor → src/vendor}/shiki/themes/min-light.js +0 -0
  1145. /package/{vendor → src/vendor}/shiki/themes/monokai.js +0 -0
  1146. /package/{vendor → src/vendor}/shiki/themes/night-owl.js +0 -0
  1147. /package/{vendor → src/vendor}/shiki/themes/nord.js +0 -0
  1148. /package/{vendor → src/vendor}/shiki/themes/one-dark-pro.js +0 -0
  1149. /package/{vendor → src/vendor}/shiki/themes/one-light.js +0 -0
  1150. /package/{vendor → src/vendor}/shiki/themes/plastic.js +0 -0
  1151. /package/{vendor → src/vendor}/shiki/themes/poimandres.js +0 -0
  1152. /package/{vendor → src/vendor}/shiki/themes/red.js +0 -0
  1153. /package/{vendor → src/vendor}/shiki/themes/rose-pine-dawn.js +0 -0
  1154. /package/{vendor → src/vendor}/shiki/themes/rose-pine-moon.js +0 -0
  1155. /package/{vendor → src/vendor}/shiki/themes/rose-pine.js +0 -0
  1156. /package/{vendor → src/vendor}/shiki/themes/slack-dark.js +0 -0
  1157. /package/{vendor → src/vendor}/shiki/themes/slack-ochin.js +0 -0
  1158. /package/{vendor → src/vendor}/shiki/themes/snazzy-light.js +0 -0
  1159. /package/{vendor → src/vendor}/shiki/themes/solarized-dark.js +0 -0
  1160. /package/{vendor → src/vendor}/shiki/themes/solarized-light.js +0 -0
  1161. /package/{vendor → src/vendor}/shiki/themes/tokyo-night.js +0 -0
  1162. /package/{vendor → src/vendor}/shiki/themes/vesper.js +0 -0
  1163. /package/{vendor → src/vendor}/shiki/themes/vitesse-black.js +0 -0
  1164. /package/{vendor → src/vendor}/shiki/themes/vitesse-dark.js +0 -0
  1165. /package/{vendor → src/vendor}/shiki/themes/vitesse-light.js +0 -0
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "createHighlighter", {
7
- enumerable: true,
8
- get: function () {
9
- return _highlighter.createHighlighter;
10
- }
11
- });
12
- Object.defineProperty(exports, "processTokens", {
13
- enumerable: true,
14
- get: function () {
15
- return _highlighter.processTokens;
16
- }
17
- });
18
- var _highlighter = require("./highlighter");
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_highlighter","require"],"sourceRoot":"../../../src","sources":["syntax/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/index.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=shiki.d.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/shiki.d.ts"],"mappings":"","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _string = require("./string");
7
- Object.keys(_string).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _string[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _string[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_string","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":";;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,OAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,OAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,OAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.createContentPreview = createContentPreview;
7
- exports.createLineKey = createLineKey;
8
- exports.removeExtraIndentation = removeExtraIndentation;
9
- function createContentPreview(tokens, maxLength = 20) {
10
- return tokens.slice(0, 3).map(token => token.content).join('').slice(0, maxLength);
11
- }
12
- function createLineKey(line, index) {
13
- const contentPreview = createContentPreview(line);
14
- return `line-${index}-${contentPreview}`;
15
- }
16
- function removeExtraIndentation(text) {
17
- const preserved = text.replace(/\\n/g, '§NEWLINE§');
18
- const lines = preserved.split('\n');
19
- const minIndent = Math.min(...lines.filter(line => line.trim().length > 0).map(line => line.match(/^\s*/)?.[0].length ?? 0));
20
- const normalized = lines.map(line => {
21
- if (line.trim().length === 0) return '';
22
- const indent = line.match(/^\s*/)?.[0] ?? '';
23
- const relativeIndent = ' '.repeat(Math.max(0, indent.length - minIndent));
24
- return relativeIndent + line.trim();
25
- }).join('\n');
26
- return normalized.replace(/§NEWLINE§/g, '\\n');
27
- }
28
- //# sourceMappingURL=string.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createContentPreview","tokens","maxLength","slice","map","token","content","join","createLineKey","line","index","contentPreview","removeExtraIndentation","text","preserved","replace","lines","split","minIndent","Math","min","filter","trim","length","match","normalized","indent","relativeIndent","repeat","max"],"sourceRoot":"../../../src","sources":["utils/string.ts"],"mappings":";;;;;;;;AAEO,SAASA,oBAAoBA,CAACC,MAAmB,EAAEC,SAAiB,GAAG,EAAE,EAAU;EACxF,OAAOD,MAAM,CACVE,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CACXC,GAAG,CAACC,KAAK,IAAIA,KAAK,CAACC,OAAO,CAAC,CAC3BC,IAAI,CAAC,EAAE,CAAC,CACRJ,KAAK,CAAC,CAAC,EAAED,SAAS,CAAC;AACxB;AAEO,SAASM,aAAaA,CAACC,IAAiB,EAAEC,KAAa,EAAE;EAC9D,MAAMC,cAAc,GAAGX,oBAAoB,CAACS,IAAI,CAAC;EACjD,OAAO,QAAQC,KAAK,IAAIC,cAAc,EAAE;AAC1C;AAEO,SAASC,sBAAsBA,CAACC,IAAY,EAAU;EAC3D,MAAMC,SAAS,GAAGD,IAAI,CAACE,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC;EACnD,MAAMC,KAAK,GAAGF,SAAS,CAACG,KAAK,CAAC,IAAI,CAAC;EACnC,MAAMC,SAAS,GAAGC,IAAI,CAACC,GAAG,CACxB,GAAGJ,KAAK,CACLK,MAAM,CAACZ,IAAI,IAAIA,IAAI,CAACa,IAAI,CAAC,CAAC,CAACC,MAAM,GAAG,CAAC,CAAC,CACtCnB,GAAG,CAACK,IAAI,IAAIA,IAAI,CAACe,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAACD,MAAM,IAAI,CAAC,CACpD,CAAC;EAED,MAAME,UAAU,GAAGT,KAAK,CACrBZ,GAAG,CAAEK,IAAI,IAAK;IACb,IAAIA,IAAI,CAACa,IAAI,CAAC,CAAC,CAACC,MAAM,KAAK,CAAC,EAC1B,OAAO,EAAE;IAEX,MAAMG,MAAM,GAAGjB,IAAI,CAACe,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IAC5C,MAAMG,cAAc,GAAG,GAAG,CAACC,MAAM,CAACT,IAAI,CAACU,GAAG,CAAC,CAAC,EAAEH,MAAM,CAACH,MAAM,GAAGL,SAAS,CAAC,CAAC;IACzE,OAAOS,cAAc,GAAGlB,IAAI,CAACa,IAAI,CAAC,CAAC;EACrC,CAAC,CAAC,CACDf,IAAI,CAAC,IAAI,CAAC;EAEb,OAAOkB,UAAU,CAACV,OAAO,CAAC,YAAY,EAAE,KAAK,CAAC;AAChD","ignoreList":[]}
@@ -1,74 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { Text, View } from 'react-native';
5
- import typescript from 'vendor/shiki/langs/typescript';
6
- import githubDark from 'vendor/shiki/themes/github-dark';
7
- import { useSyntaxHighlighter } from '../../hooks/useSyntaxHighlighter';
8
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
9
- function SyntaxHighlighter({
10
- text,
11
- lang = typescript,
12
- langName = 'typescript',
13
- theme = githubDark,
14
- themeName = 'github-dark',
15
- fontSize
16
- }) {
17
- const {
18
- tokens,
19
- error,
20
- isLoading
21
- } = useSyntaxHighlighter({
22
- text,
23
- lang,
24
- langName,
25
- theme,
26
- themeName
27
- });
28
- if (error) {
29
- return /*#__PURE__*/_jsxs(Text, {
30
- style: {
31
- color: '#ff6b6b',
32
- fontFamily: 'monospace',
33
- fontSize
34
- },
35
- children: ["Error:", error]
36
- });
37
- }
38
- if (isLoading) {
39
- return /*#__PURE__*/_jsx(Text, {
40
- style: {
41
- color: '#f8f8f2',
42
- fontFamily: 'monospace',
43
- fontSize
44
- },
45
- children: "Loading..."
46
- });
47
- }
48
- return /*#__PURE__*/_jsx(View, {
49
- children: tokens.map((line, lineIndex) => /*#__PURE__*/_jsxs(View, {
50
- style: {
51
- flexDirection: 'row',
52
- flexWrap: 'wrap'
53
- },
54
- children: [line.map((token, tokenIndex) => /*#__PURE__*/_jsx(Text, {
55
- style: {
56
- color: token.color || '#FFFFFF',
57
- fontFamily: 'monospace',
58
- fontSize,
59
- fontStyle: token.fontStyle
60
- },
61
- children: token.content.replace(/ /g, '\u00A0')
62
- }, `${lineIndex}-${tokenIndex}`)), /*#__PURE__*/_jsx(Text, {
63
- style: {
64
- color: '#FFFFFF',
65
- fontFamily: 'monospace',
66
- fontSize
67
- },
68
- children: '\n'
69
- })]
70
- }, `line-${lineIndex}`))
71
- });
72
- }
73
- export default SyntaxHighlighter;
74
- //# sourceMappingURL=SyntaxHighlighter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","View","typescript","githubDark","useSyntaxHighlighter","jsxs","_jsxs","jsx","_jsx","SyntaxHighlighter","text","lang","langName","theme","themeName","fontSize","tokens","error","isLoading","style","color","fontFamily","children","map","line","lineIndex","flexDirection","flexWrap","token","tokenIndex","fontStyle","content","replace"],"sourceRoot":"../../../../src","sources":["components/syntax/SyntaxHighlighter.tsx"],"mappings":";;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzC,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,UAAU,MAAM,iCAAiC;AACxD,SAASC,oBAAoB,QAAQ,kCAAkC;AAAA,SAAAC,IAAA,IAAAC,KAAA,EAAAC,GAAA,IAAAC,IAAA;AAWvE,SAASC,iBAAiBA,CAAC;EACzBC,IAAI;EACJC,IAAI,GAAGT,UAAU;EACjBU,QAAQ,GAAG,YAAY;EACvBC,KAAK,GAAGV,UAAU;EAClBW,SAAS,GAAG,aAAa;EACzBC;AACsB,CAAC,EAAE;EACzB,MAAM;IAAEC,MAAM;IAAEC,KAAK;IAAEC;EAAU,CAAC,GAAGd,oBAAoB,CAAC;IACxDM,IAAI;IACJC,IAAI;IACJC,QAAQ;IACRC,KAAK;IACLC;EACF,CAAC,CAAC;EAEF,IAAIG,KAAK,EAAE;IACT,oBACEX,KAAA,CAACN,IAAI;MAACmB,KAAK,EAAE;QAAEC,KAAK,EAAE,SAAS;QAAEC,UAAU,EAAE,WAAW;QAAEN;MAAS,CAAE;MAAAO,QAAA,GAAC,QAEpE,EAACL,KAAK;IAAA,CACF,CAAC;EAEX;EAEA,IAAIC,SAAS,EAAE;IACb,oBAAOV,IAAA,CAACR,IAAI;MAACmB,KAAK,EAAE;QAAEC,KAAK,EAAE,SAAS;QAAEC,UAAU,EAAE,WAAW;QAAEN;MAAS,CAAE;MAAAO,QAAA,EAAC;IAAU,CAAM,CAAC;EAChG;EAEA,oBACEd,IAAA,CAACP,IAAI;IAAAqB,QAAA,EACFN,MAAM,CAACO,GAAG,CAAC,CAACC,IAAI,EAAEC,SAAS,kBAC1BnB,KAAA,CAACL,IAAI;MAA2BkB,KAAK,EAAE;QAAEO,aAAa,EAAE,KAAK;QAAEC,QAAQ,EAAE;MAAO,CAAE;MAAAL,QAAA,GAC/EE,IAAI,CAACD,GAAG,CAAC,CAACK,KAAK,EAAEC,UAAU,kBAC1BrB,IAAA,CAACR,IAAI;QAEHmB,KAAK,EAAE;UACLC,KAAK,EAAEQ,KAAK,CAACR,KAAK,IAAI,SAAS;UAC/BC,UAAU,EAAE,WAAW;UACvBN,QAAQ;UACRe,SAAS,EAAEF,KAAK,CAACE;QACnB,CAAE;QAAAR,QAAA,EAEDM,KAAK,CAACG,OAAO,CAACC,OAAO,CAAC,IAAI,EAAE,QAAQ;MAAC,GARjC,GAAGP,SAAS,IAAII,UAAU,EAS3B,CACP,CAAC,eACFrB,IAAA,CAACR,IAAI;QAACmB,KAAK,EAAE;UAAEC,KAAK,EAAE,SAAS;UAAEC,UAAU,EAAE,WAAW;UAAEN;QAAS,CAAE;QAAAO,QAAA,EAAE;MAAI,CAAO,CAAC;IAAA,GAd1E,QAAQG,SAAS,EAetB,CACP;EAAC,CACE,CAAC;AAEX;AAEA,eAAehB,iBAAiB","ignoreList":[]}
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { Text, View } from 'react-native';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- function SyntaxLine({
7
- line,
8
- fontSize
9
- }) {
10
- return /*#__PURE__*/_jsx(View, {
11
- style: {
12
- flexDirection: 'row',
13
- flexWrap: 'wrap'
14
- },
15
- children: line.map((token, tokenIndex) => {
16
- // Preserve whitespace
17
- const content = token.content.replace(/ /g, '\u00A0');
18
- return /*#__PURE__*/_jsx(Text, {
19
- style: {
20
- color: token.color,
21
- fontFamily: 'monospace',
22
- fontSize,
23
- fontStyle: token.fontStyle
24
- },
25
- children: content
26
- }, `${content}-${tokenIndex}`);
27
- })
28
- });
29
- }
30
- export default SyntaxLine;
31
- //# sourceMappingURL=SyntaxLine.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Text","View","jsx","_jsx","SyntaxLine","line","fontSize","style","flexDirection","flexWrap","children","map","token","tokenIndex","content","replace","color","fontFamily","fontStyle"],"sourceRoot":"../../../../src","sources":["components/syntax/SyntaxLine.tsx"],"mappings":";;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAOzC,SAASC,UAAUA,CAAC;EAAEC,IAAI;EAAEC;AAA0B,CAAC,EAAE;EACvD,oBACEH,IAAA,CAACF,IAAI;IAACM,KAAK,EAAE;MAAEC,aAAa,EAAE,KAAK;MAAEC,QAAQ,EAAE;IAAO,CAAE;IAAAC,QAAA,EACrDL,IAAI,CAACM,GAAG,CAAC,CAACC,KAAK,EAAEC,UAAU,KAAK;MAC/B;MACA,MAAMC,OAAO,GAAGF,KAAK,CAACE,OAAO,CAACC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;MACrD,oBACEZ,IAAA,CAACH,IAAI;QAEHO,KAAK,EAAE;UACLS,KAAK,EAAEJ,KAAK,CAACI,KAAK;UAClBC,UAAU,EAAE,WAAW;UACvBX,QAAQ;UACRY,SAAS,EAAEN,KAAK,CAACM;QACnB,CAAE;QAAAR,QAAA,EAEDI;MAAO,GARH,GAAGA,OAAO,IAAID,UAAU,EASzB,CAAC;IAEX,CAAC;EAAC,CACE,CAAC;AAEX;AAEA,eAAeT,UAAU","ignoreList":[]}
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- export { default as SyntaxHighlighter } from './SyntaxHighlighter';
4
- export { default as SyntaxLine } from './SyntaxLine';
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["default","SyntaxHighlighter","SyntaxLine"],"sourceRoot":"../../../../src","sources":["components/syntax/index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,iBAAiB,QAAQ,qBAAqB;AAClE,SAASD,OAAO,IAAIE,UAAU,QAAQ,cAAc","ignoreList":[]}
@@ -1,60 +0,0 @@
1
- "use strict";
2
-
3
- import { useEffect, useState } from 'react';
4
- import { createHighlighter } from '../syntax';
5
- export function useSyntaxHighlighter({
6
- text,
7
- lang,
8
- langName,
9
- theme,
10
- themeName
11
- }) {
12
- const [tokens, setTokens] = useState([]);
13
- const [error, setError] = useState();
14
- const [isLoading, setIsLoading] = useState(true);
15
- useEffect(() => {
16
- let mounted = true;
17
- setIsLoading(true);
18
- async function highlight() {
19
- if (!text) {
20
- setIsLoading(false);
21
- setTokens([]);
22
- return;
23
- }
24
- try {
25
- const highlighter = await createHighlighter({
26
- langs: [lang],
27
- themes: [theme]
28
- });
29
- const result = highlighter.codeToTokens(text, {
30
- lang: langName,
31
- theme: themeName
32
- });
33
- if (mounted && result.tokens) {
34
- setTokens(result.tokens);
35
- setError(undefined);
36
- }
37
- } catch (err) {
38
- console.error('Highlighting error:', err);
39
- if (mounted) {
40
- setError(err instanceof Error ? err.message : 'Syntax highlighting failed');
41
- setTokens([]);
42
- }
43
- } finally {
44
- if (mounted) {
45
- setIsLoading(false);
46
- }
47
- }
48
- }
49
- highlight();
50
- return () => {
51
- mounted = false;
52
- };
53
- }, [text, lang, langName, theme, themeName]);
54
- return {
55
- tokens,
56
- error,
57
- isLoading
58
- };
59
- }
60
- //# sourceMappingURL=useSyntaxHighlighter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useEffect","useState","createHighlighter","useSyntaxHighlighter","text","lang","langName","theme","themeName","tokens","setTokens","error","setError","isLoading","setIsLoading","mounted","highlight","highlighter","langs","themes","result","codeToTokens","undefined","err","console","Error","message"],"sourceRoot":"../../../src","sources":["hooks/useSyntaxHighlighter.ts"],"mappings":";;AACA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SAASC,iBAAiB,QAAQ,WAAW;AAgB7C,OAAO,SAASC,oBAAoBA,CAAC;EAAEC,IAAI;EAAEC,IAAI;EAAEC,QAAQ;EAAEC,KAAK;EAAEC;AAAkC,CAAC,EAAE;EACvG,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGT,QAAQ,CAAkB,EAAE,CAAC;EACzD,MAAM,CAACU,KAAK,EAAEC,QAAQ,CAAC,GAAGX,QAAQ,CAAS,CAAC;EAC5C,MAAM,CAACY,SAAS,EAAEC,YAAY,CAAC,GAAGb,QAAQ,CAAC,IAAI,CAAC;EAEhDD,SAAS,CAAC,MAAM;IACd,IAAIe,OAAO,GAAG,IAAI;IAClBD,YAAY,CAAC,IAAI,CAAC;IAElB,eAAeE,SAASA,CAAA,EAAG;MACzB,IAAI,CAACZ,IAAI,EAAE;QACTU,YAAY,CAAC,KAAK,CAAC;QACnBJ,SAAS,CAAC,EAAE,CAAC;QACb;MACF;MAEA,IAAI;QACF,MAAMO,WAAW,GAAG,MAAMf,iBAAiB,CAAC;UAC1CgB,KAAK,EAAE,CAACb,IAAI,CAAC;UACbc,MAAM,EAAE,CAACZ,KAAK;QAChB,CAAC,CAAC;QAEF,MAAMa,MAAM,GAAGH,WAAW,CAACI,YAAY,CAACjB,IAAI,EAAE;UAC5CC,IAAI,EAAEC,QAAQ;UACdC,KAAK,EAAEC;QACT,CAAC,CAAgB;QAEjB,IAAIO,OAAO,IAAIK,MAAM,CAACX,MAAM,EAAE;UAC5BC,SAAS,CAACU,MAAM,CAACX,MAAM,CAAC;UACxBG,QAAQ,CAACU,SAAS,CAAC;QACrB;MACF,CAAC,CACD,OAAOC,GAAG,EAAE;QACVC,OAAO,CAACb,KAAK,CAAC,qBAAqB,EAAEY,GAAG,CAAC;QACzC,IAAIR,OAAO,EAAE;UACXH,QAAQ,CAACW,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACG,OAAO,GAAG,4BAA4B,CAAC;UAC3EhB,SAAS,CAAC,EAAE,CAAC;QACf;MACF,CAAC,SACO;QACN,IAAIK,OAAO,EAAE;UACXD,YAAY,CAAC,KAAK,CAAC;QACrB;MACF;IACF;IAEAE,SAAS,CAAC,CAAC;IACX,OAAO,MAAM;MACXD,OAAO,GAAG,KAAK;IACjB,CAAC;EACH,CAAC,EAAE,CAACX,IAAI,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,SAAS,CAAC,CAAC;EAE5C,OAAO;IAAEC,MAAM;IAAEE,KAAK;IAAEE;EAAU,CAAC;AACrC","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export { SyntaxHighlighter, SyntaxLine } from './components/syntax';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["SyntaxHighlighter","SyntaxLine"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,iBAAiB,EAAEC,UAAU,QAAQ,qBAAqB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"type":"module"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
-
3
- import { createHighlighterCore } from '../../../vendor/shiki/core/core';
4
- import { createJavaScriptRegexEngine } from '../../../vendor/shiki/core/engine-javascript';
5
- async function initializeHighlighter(langs, themes) {
6
- return createHighlighterCore({
7
- engine: createJavaScriptRegexEngine(),
8
- langs,
9
- themes
10
- });
11
- }
12
- export async function createHighlighter({
13
- langs,
14
- themes
15
- }) {
16
- if (!langs?.length || !themes?.length) {
17
- throw new Error('Please provide both `langs` and `themes` when creating a highlighter.');
18
- }
19
- try {
20
- const highlighter = await initializeHighlighter(langs, themes);
21
- console.log('Initialized highlighter:', highlighter);
22
- return highlighter;
23
- } catch (error) {
24
- console.error('Failed to create highlighter:', error);
25
- throw error;
26
- }
27
- }
28
- export function processTokens(tokens) {
29
- return tokens.map(token => ({
30
- content: token.content,
31
- color: token.color || '#000000',
32
- fontStyle: token.fontStyle?.toString()
33
- }));
34
- }
35
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createHighlighterCore","createJavaScriptRegexEngine","initializeHighlighter","langs","themes","engine","createHighlighter","length","Error","highlighter","console","log","error","processTokens","tokens","map","token","content","color","fontStyle","toString"],"sourceRoot":"../../../../src","sources":["syntax/highlighter/index.ts"],"mappings":";;AAEA,SAASA,qBAAqB,QAAQ,iCAAiC;AACvE,SAASC,2BAA2B,QAAQ,8CAA8C;AAE1F,eAAeC,qBAAqBA,CAACC,KAAsB,EAAEC,MAAoB,EAA8D;EAC7I,OAAOJ,qBAAqB,CAAC;IAC3BK,MAAM,EAAEJ,2BAA2B,CAAC,CAAC;IACrCE,KAAK;IACLC;EACF,CAAC,CAAC;AACJ;AAEA,OAAO,eAAeE,iBAAiBA,CAAC;EAAEH,KAAK;EAAEC;AAAyD,CAAC,EAA8D;EACvK,IAAI,CAACD,KAAK,EAAEI,MAAM,IAAI,CAACH,MAAM,EAAEG,MAAM,EAAE;IACrC,MAAM,IAAIC,KAAK,CAAC,uEAAuE,CAAC;EAC1F;EAEA,IAAI;IACF,MAAMC,WAAW,GAAG,MAAMP,qBAAqB,CAACC,KAAK,EAAEC,MAAM,CAAC;IAC9DM,OAAO,CAACC,GAAG,CAAC,0BAA0B,EAAEF,WAAW,CAAC;IACpD,OAAOA,WAAW;EACpB,CAAC,CACD,OAAOG,KAAK,EAAE;IACZF,OAAO,CAACE,KAAK,CAAC,+BAA+B,EAAEA,KAAK,CAAC;IACrD,MAAMA,KAAK;EACb;AACF;AAEA,OAAO,SAASC,aAAaA,CAACC,MAAqB,EAAe;EAChE,OAAOA,MAAM,CAACC,GAAG,CAACC,KAAK,KAAK;IAC1BC,OAAO,EAAED,KAAK,CAACC,OAAO;IACtBC,KAAK,EAAEF,KAAK,CAACE,KAAK,IAAI,SAAS;IAC/BC,SAAS,EAAEH,KAAK,CAACG,SAAS,EAAEC,QAAQ,CAAC;EACvC,CAAC,CAAC,CAAC;AACL","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export { createHighlighter, processTokens } from './highlighter';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createHighlighter","processTokens"],"sourceRoot":"../../../src","sources":["syntax/index.ts"],"mappings":";;AAAA,SAASA,iBAAiB,EAAEC,aAAa,QAAQ,eAAe","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/index.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=shiki.d.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/shiki.d.ts"],"mappings":"","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export * from './string';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":";;AAAA,cAAc,UAAU","ignoreList":[]}
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- export function createContentPreview(tokens, maxLength = 20) {
4
- return tokens.slice(0, 3).map(token => token.content).join('').slice(0, maxLength);
5
- }
6
- export function createLineKey(line, index) {
7
- const contentPreview = createContentPreview(line);
8
- return `line-${index}-${contentPreview}`;
9
- }
10
- export function removeExtraIndentation(text) {
11
- const preserved = text.replace(/\\n/g, '§NEWLINE§');
12
- const lines = preserved.split('\n');
13
- const minIndent = Math.min(...lines.filter(line => line.trim().length > 0).map(line => line.match(/^\s*/)?.[0].length ?? 0));
14
- const normalized = lines.map(line => {
15
- if (line.trim().length === 0) return '';
16
- const indent = line.match(/^\s*/)?.[0] ?? '';
17
- const relativeIndent = ' '.repeat(Math.max(0, indent.length - minIndent));
18
- return relativeIndent + line.trim();
19
- }).join('\n');
20
- return normalized.replace(/§NEWLINE§/g, '\\n');
21
- }
22
- //# sourceMappingURL=string.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createContentPreview","tokens","maxLength","slice","map","token","content","join","createLineKey","line","index","contentPreview","removeExtraIndentation","text","preserved","replace","lines","split","minIndent","Math","min","filter","trim","length","match","normalized","indent","relativeIndent","repeat","max"],"sourceRoot":"../../../src","sources":["utils/string.ts"],"mappings":";;AAEA,OAAO,SAASA,oBAAoBA,CAACC,MAAmB,EAAEC,SAAiB,GAAG,EAAE,EAAU;EACxF,OAAOD,MAAM,CACVE,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CACXC,GAAG,CAACC,KAAK,IAAIA,KAAK,CAACC,OAAO,CAAC,CAC3BC,IAAI,CAAC,EAAE,CAAC,CACRJ,KAAK,CAAC,CAAC,EAAED,SAAS,CAAC;AACxB;AAEA,OAAO,SAASM,aAAaA,CAACC,IAAiB,EAAEC,KAAa,EAAE;EAC9D,MAAMC,cAAc,GAAGX,oBAAoB,CAACS,IAAI,CAAC;EACjD,OAAO,QAAQC,KAAK,IAAIC,cAAc,EAAE;AAC1C;AAEA,OAAO,SAASC,sBAAsBA,CAACC,IAAY,EAAU;EAC3D,MAAMC,SAAS,GAAGD,IAAI,CAACE,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC;EACnD,MAAMC,KAAK,GAAGF,SAAS,CAACG,KAAK,CAAC,IAAI,CAAC;EACnC,MAAMC,SAAS,GAAGC,IAAI,CAACC,GAAG,CACxB,GAAGJ,KAAK,CACLK,MAAM,CAACZ,IAAI,IAAIA,IAAI,CAACa,IAAI,CAAC,CAAC,CAACC,MAAM,GAAG,CAAC,CAAC,CACtCnB,GAAG,CAACK,IAAI,IAAIA,IAAI,CAACe,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAACD,MAAM,IAAI,CAAC,CACpD,CAAC;EAED,MAAME,UAAU,GAAGT,KAAK,CACrBZ,GAAG,CAAEK,IAAI,IAAK;IACb,IAAIA,IAAI,CAACa,IAAI,CAAC,CAAC,CAACC,MAAM,KAAK,CAAC,EAC1B,OAAO,EAAE;IAEX,MAAMG,MAAM,GAAGjB,IAAI,CAACe,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IAC5C,MAAMG,cAAc,GAAG,GAAG,CAACC,MAAM,CAACT,IAAI,CAACU,GAAG,CAAC,CAAC,EAAEH,MAAM,CAACH,MAAM,GAAGL,SAAS,CAAC,CAAC;IACzE,OAAOS,cAAc,GAAGlB,IAAI,CAACa,IAAI,CAAC,CAAC;EACrC,CAAC,CAAC,CACDf,IAAI,CAAC,IAAI,CAAC;EAEb,OAAOkB,UAAU,CAACV,OAAO,CAAC,YAAY,EAAE,KAAK,CAAC;AAChD","ignoreList":[]}
@@ -1,13 +0,0 @@
1
- import type { LanguageInput, ThemeInput } from 'shiki';
2
- import React from 'react';
3
- interface SyntaxHighlighterProps {
4
- text: string;
5
- lang?: LanguageInput;
6
- langName?: string;
7
- theme?: ThemeInput;
8
- themeName?: string;
9
- fontSize?: number;
10
- }
11
- declare function SyntaxHighlighter({ text, lang, langName, theme, themeName, fontSize, }: SyntaxHighlighterProps): React.JSX.Element;
12
- export default SyntaxHighlighter;
13
- //# sourceMappingURL=SyntaxHighlighter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SyntaxHighlighter.d.ts","sourceRoot":"","sources":["../../../../src/components/syntax/SyntaxHighlighter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,iBAAS,iBAAiB,CAAC,EACzB,IAAI,EACJ,IAAiB,EACjB,QAAuB,EACvB,KAAkB,EAClB,SAAyB,EACzB,QAAQ,GACT,EAAE,sBAAsB,qBA4CxB;AAED,eAAe,iBAAiB,CAAA"}
@@ -1,9 +0,0 @@
1
- import type { TokenType } from '../../types';
2
- import React from 'react';
3
- interface SyntaxLineProps {
4
- line: TokenType[];
5
- fontSize?: number;
6
- }
7
- declare function SyntaxLine({ line, fontSize }: SyntaxLineProps): React.JSX.Element;
8
- export default SyntaxLine;
9
- //# sourceMappingURL=SyntaxLine.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SyntaxLine.d.ts","sourceRoot":"","sources":["../../../../src/components/syntax/SyntaxLine.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,eAAe;IACvB,IAAI,EAAE,SAAS,EAAE,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,eAAe,qBAsBtD;AAED,eAAe,UAAU,CAAA"}
@@ -1,3 +0,0 @@
1
- export { default as SyntaxHighlighter } from './SyntaxHighlighter';
2
- export { default as SyntaxLine } from './SyntaxLine';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/syntax/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA"}
@@ -1,15 +0,0 @@
1
- import type { LanguageInput, ThemedToken, ThemeInput } from 'shiki';
2
- interface SyntaxHighlighterProps {
3
- text: string;
4
- lang: LanguageInput;
5
- langName: string;
6
- theme: ThemeInput;
7
- themeName: string;
8
- }
9
- export declare function useSyntaxHighlighter({ text, lang, langName, theme, themeName }: SyntaxHighlighterProps): {
10
- tokens: ThemedToken[][];
11
- error: string | undefined;
12
- isLoading: boolean;
13
- };
14
- export {};
15
- //# sourceMappingURL=useSyntaxHighlighter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSyntaxHighlighter.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSyntaxHighlighter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUnE,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,aAAa,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,UAAU,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,sBAAsB;;;;EAqDtG"}
@@ -1,2 +0,0 @@
1
- export { SyntaxHighlighter, SyntaxLine } from './components/syntax';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA"}
@@ -1,9 +0,0 @@
1
- import type { LanguageInput, ThemedToken, ThemeInput } from 'shiki';
2
- import type { TokenType } from '../../types';
3
- import { createHighlighterCore } from '../../../vendor/shiki/core/core';
4
- export declare function createHighlighter({ langs, themes }: {
5
- langs: LanguageInput[];
6
- themes: ThemeInput[];
7
- }): Promise<Awaited<ReturnType<typeof createHighlighterCore>>>;
8
- export declare function processTokens(tokens: ThemedToken[]): TokenType[];
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/syntax/highlighter/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAA;AAWvE,wBAAsB,iBAAiB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;IAAE,KAAK,EAAE,aAAa,EAAE,CAAC;IAAC,MAAM,EAAE,UAAU,EAAE,CAAA;CAAE,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAcvK;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,SAAS,EAAE,CAMhE"}
@@ -1,2 +0,0 @@
1
- export { createHighlighter, processTokens } from './highlighter';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/syntax/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA"}
@@ -1,7 +0,0 @@
1
- export interface TokenType {
2
- content: string;
3
- color: string;
4
- fontStyle?: string;
5
- fontWeight?: string;
6
- }
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB"}
@@ -1,2 +0,0 @@
1
- export * from './string';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
@@ -1,5 +0,0 @@
1
- import type { TokenType } from '../types';
2
- export declare function createContentPreview(tokens: TokenType[], maxLength?: number): string;
3
- export declare function createLineKey(line: TokenType[], index: number): string;
4
- export declare function removeExtraIndentation(text: string): string;
5
- //# sourceMappingURL=string.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/utils/string.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEzC,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,GAAE,MAAW,GAAG,MAAM,CAMxF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,MAAM,UAG7D;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAqB3D"}