@automattic/agenttic-ui 0.1.9 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/README.md +281 -350
  2. package/dist/_basePickBy-Co6w2C-t.js +151 -0
  3. package/dist/_baseUniq-BbhifY2s.js +614 -0
  4. package/dist/abap-Y8Dl9g_6.js +6 -0
  5. package/dist/actionscript-3-DZzbMeqX.js +6 -0
  6. package/dist/ada-vP6ak0IW.js +6 -0
  7. package/dist/andromeeda-uXNdzNpk.js +4 -0
  8. package/dist/angular-html-BmadGEgW.js +32 -0
  9. package/dist/angular-ts-D-QQnnGT.js +21 -0
  10. package/dist/apache-BUjz-sD2.js +6 -0
  11. package/dist/apex-D_wPycVx.js +6 -0
  12. package/dist/apl-sitt7C8I.js +16 -0
  13. package/dist/applescript-BPx7YFFu.js +6 -0
  14. package/dist/ara-Z2fSOxSw.js +6 -0
  15. package/dist/arc-DMQNivgh.js +83 -0
  16. package/dist/architecture-O4VJ6CD3-CrsUkgBe.js +5 -0
  17. package/dist/architectureDiagram-KFL7JDKH-BCeU_Tkj.js +4665 -0
  18. package/dist/asciidoc-B-pCoB3G.js +6 -0
  19. package/dist/asm-BTWLY5ym.js +6 -0
  20. package/dist/astro-DHnp0xIo.js +18 -0
  21. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  22. package/dist/awk-Fb0P9dkn.js +6 -0
  23. package/dist/ayu-dark-CxPZkpb2.js +4 -0
  24. package/dist/ballerina-oZK-YekG.js +6 -0
  25. package/dist/bat-0FvbqU9S.js +6 -0
  26. package/dist/beancount-DEfTbbFX.js +6 -0
  27. package/dist/berry-PwsHPR_K.js +6 -0
  28. package/dist/bibtex-EULQRLY5.js +6 -0
  29. package/dist/bicep-DFU2oTl7.js +6 -0
  30. package/dist/blade-OPzGcV14.js +20 -0
  31. package/dist/blockDiagram-ZYB65J3Q-eNfG2owp.js +2265 -0
  32. package/dist/bsl-NkNNwerW.js +8 -0
  33. package/dist/c-eeMepfLm.js +6 -0
  34. package/dist/c4Diagram-AAMF2YG6-CEVcZg_d.js +1581 -0
  35. package/dist/cadence-DMRWHJp4.js +6 -0
  36. package/dist/cairo-DM6WF2e3.js +8 -0
  37. package/dist/catppuccin-frappe-DlGpEc12.js +4 -0
  38. package/dist/catppuccin-latte-DDI4I_Rd.js +4 -0
  39. package/dist/catppuccin-macchiato-BBzuZG5U.js +4 -0
  40. package/dist/catppuccin-mocha-CwrFPXRy.js +4 -0
  41. package/dist/channel-DwkBtswx.js +5 -0
  42. package/dist/chunk-ANTBXLJU-DjsG4Faa.js +9 -0
  43. package/dist/chunk-FHKO5MBM-DvgpKHah.js +15 -0
  44. package/dist/chunk-GLLZNHP4-BS9MWsNn.js +19 -0
  45. package/dist/chunk-JBRWN2VN-BB1oFn95.js +1376 -0
  46. package/dist/chunk-LXBSTHXV-DoWWvL-R.js +1382 -0
  47. package/dist/chunk-NRVI72HA-CN8BG5Yn.js +20 -0
  48. package/dist/chunk-OMD6QJNC-D7UKmZm8.js +64 -0
  49. package/dist/chunk-WVR4S24B-D3bw0yi4.js +8 -0
  50. package/dist/clarity-BseSxcHx.js +6 -0
  51. package/dist/classDiagram-3BZAVTQC-DhpbenB7.js +16 -0
  52. package/dist/classDiagram-v2-QTMF73CY-DhpbenB7.js +16 -0
  53. package/dist/clojure-CXJfHrL3.js +6 -0
  54. package/dist/clone-DmrWxu_i.js +8 -0
  55. package/dist/cmake-BJz8BOTU.js +6 -0
  56. package/dist/cobol-4A8XjHhj.js +10 -0
  57. package/dist/codeowners-Bt9yU6NX.js +6 -0
  58. package/dist/codeql-DHkodjjI.js +6 -0
  59. package/dist/coffee-Dl27lzbd.js +8 -0
  60. package/dist/common-lisp-EVqT9Zhp.js +6 -0
  61. package/dist/components/AgentUI.d.ts +20 -1
  62. package/dist/components/AgentUI.d.ts.map +1 -1
  63. package/dist/components/AgentUIContainer.d.ts +8 -0
  64. package/dist/components/AgentUIContainer.d.ts.map +1 -0
  65. package/dist/components/animations/index.d.ts +0 -1
  66. package/dist/components/animations/index.d.ts.map +1 -1
  67. package/dist/components/chat/AnimatedPlaceholder.d.ts +8 -0
  68. package/dist/components/chat/AnimatedPlaceholder.d.ts.map +1 -0
  69. package/dist/components/chat/Chat.d.ts +1 -1
  70. package/dist/components/chat/Chat.d.ts.map +1 -1
  71. package/dist/components/chat/ChatFooter.d.ts +4 -2
  72. package/dist/components/chat/ChatFooter.d.ts.map +1 -1
  73. package/dist/components/chat/ChatFooter.stories.d.ts +73 -0
  74. package/dist/components/chat/ChatFooter.stories.d.ts.map +1 -0
  75. package/dist/components/chat/ChatHeader.d.ts +2 -1
  76. package/dist/components/chat/ChatHeader.d.ts.map +1 -1
  77. package/dist/components/chat/ChatInput.d.ts +5 -2
  78. package/dist/components/chat/ChatInput.d.ts.map +1 -1
  79. package/dist/components/chat/ChatInput.stories.d.ts +41 -1
  80. package/dist/components/chat/ChatInput.stories.d.ts.map +1 -1
  81. package/dist/components/chat/MessageActions.d.ts.map +1 -1
  82. package/dist/components/chat/Messages.d.ts +2 -2
  83. package/dist/components/chat/Messages.d.ts.map +1 -1
  84. package/dist/components/chat/Messages.stories.d.ts +2 -2
  85. package/dist/components/chat/Notice.d.ts +3 -1
  86. package/dist/components/chat/Notice.d.ts.map +1 -1
  87. package/dist/components/chat/Notice.stories.d.ts +3 -0
  88. package/dist/components/chat/Notice.stories.d.ts.map +1 -1
  89. package/dist/components/chat/Suggestions.d.ts +2 -0
  90. package/dist/components/chat/Suggestions.d.ts.map +1 -1
  91. package/dist/components/composable/AgentUIConversationView.d.ts +8 -0
  92. package/dist/components/composable/AgentUIConversationView.d.ts.map +1 -0
  93. package/dist/components/composable/AgentUIFooter.d.ts +7 -0
  94. package/dist/components/composable/AgentUIFooter.d.ts.map +1 -0
  95. package/dist/components/composable/AgentUIHeader.d.ts +5 -0
  96. package/dist/components/composable/AgentUIHeader.d.ts.map +1 -0
  97. package/dist/components/composable/AgentUIInput.d.ts +9 -0
  98. package/dist/components/composable/AgentUIInput.d.ts.map +1 -0
  99. package/dist/components/composable/AgentUIMessages.d.ts +5 -0
  100. package/dist/components/composable/AgentUIMessages.d.ts.map +1 -0
  101. package/dist/components/composable/AgentUINotice.d.ts +5 -0
  102. package/dist/components/composable/AgentUINotice.d.ts.map +1 -0
  103. package/dist/components/composable/AgentUISuggestions.d.ts +6 -0
  104. package/dist/components/composable/AgentUISuggestions.d.ts.map +1 -0
  105. package/dist/components/icons/ZoomIcon.d.ts +3 -0
  106. package/dist/components/icons/ZoomIcon.d.ts.map +1 -0
  107. package/dist/components/icons/ZoomIconFilled.d.ts +3 -0
  108. package/dist/components/icons/ZoomIconFilled.d.ts.map +1 -0
  109. package/dist/components/ui/button.d.ts +3 -2
  110. package/dist/components/ui/button.d.ts.map +1 -1
  111. package/dist/components/ui/button.stories.d.ts +15 -4
  112. package/dist/components/ui/button.stories.d.ts.map +1 -1
  113. package/dist/components/views/CompactView.d.ts +6 -2
  114. package/dist/components/views/CompactView.d.ts.map +1 -1
  115. package/dist/components/views/ConversationView.d.ts +3 -2
  116. package/dist/components/views/ConversationView.d.ts.map +1 -1
  117. package/dist/context/AgentUIContext.d.ts +41 -0
  118. package/dist/context/AgentUIContext.d.ts.map +1 -0
  119. package/dist/coq-B0L9upzn.js +6 -0
  120. package/dist/cpp-Cj177cuW.js +18 -0
  121. package/dist/crystal-ymVvJzbZ.js +18 -0
  122. package/dist/csharp-DmxfTLWR.js +6 -0
  123. package/dist/css-CECN5uSL.js +6 -0
  124. package/dist/csv-CmYOceLb.js +6 -0
  125. package/dist/cue-ZzumE7IT.js +6 -0
  126. package/dist/cypher-jpdmjtA6.js +6 -0
  127. package/dist/cytoscape.esm-ZmItrg9y.js +18731 -0
  128. package/dist/d-CBagWSwH.js +6 -0
  129. package/dist/dagre-2BBEFEWP-DWbEdWsD.js +447 -0
  130. package/dist/dark-plus-pUHDTVV0.js +4 -0
  131. package/dist/dart-6ObCrKr9.js +6 -0
  132. package/dist/dax-CcDT-8dH.js +6 -0
  133. package/dist/defaultLocale-D7EN2tov.js +171 -0
  134. package/dist/desktop-B93p9R9O.js +6 -0
  135. package/dist/diagram-4IRLE6MV-Q8q6qm5n.js +534 -0
  136. package/dist/diagram-GUPCWM2R-B8VhFieT.js +143 -0
  137. package/dist/diagram-RP2FKANI-CYWUKKLB.js +221 -0
  138. package/dist/diff-BxzP2J8R.js +6 -0
  139. package/dist/docker-CsHqm9tx.js +6 -0
  140. package/dist/dotenv-BMjVjUL1.js +6 -0
  141. package/dist/dracula-BtZx2Kac.js +4 -0
  142. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  143. package/dist/dream-maker-PAx17jaB.js +6 -0
  144. package/dist/edge-_LvgTcmu.js +12 -0
  145. package/dist/elixir-BTCUAmQk.js +8 -0
  146. package/dist/elm-BtNbw_Cd.js +8 -0
  147. package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
  148. package/dist/erDiagram-HZWUO2LU-CC0RhTpv.js +842 -0
  149. package/dist/erb-D0PIpZCP.js +10 -0
  150. package/dist/erlang-xM7DPKQj.js +8 -0
  151. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  152. package/dist/everforest-light-BbXl82Em.js +4 -0
  153. package/dist/fennel-N4WcXuKx.js +6 -0
  154. package/dist/fish-B6QqlqeT.js +6 -0
  155. package/dist/flowDiagram-THRYKUMA-B00E_hY6.js +1627 -0
  156. package/dist/fluent-BMXUxfv1.js +6 -0
  157. package/dist/fortran-fixed-form-DUsA-VGo.js +8 -0
  158. package/dist/fortran-free-form-DPIT_jbP.js +6 -0
  159. package/dist/fsharp-BTdsmEUN.js +8 -0
  160. package/dist/ganttDiagram-WV7ZQ7D5-Cv2vsghm.js +2499 -0
  161. package/dist/gdresource-DLfsylRW.js +10 -0
  162. package/dist/gdscript-9lm8qppb.js +6 -0
  163. package/dist/gdshader-Bk8fF6yr.js +6 -0
  164. package/dist/genie-DzUvd7U9.js +6 -0
  165. package/dist/gherkin-DHRaV0YP.js +6 -0
  166. package/dist/git-commit-Bd32YZ0K.js +8 -0
  167. package/dist/git-rebase-ZWUFO_T4.js +8 -0
  168. package/dist/gitGraph-ZV4HHKMB-Bj31zYat.js +5 -0
  169. package/dist/gitGraphDiagram-OJR772UL-BGrYC5q0.js +712 -0
  170. package/dist/github-dark-DenFmJkN.js +4 -0
  171. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  172. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  173. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  174. package/dist/github-light-JYsPkUQd.js +4 -0
  175. package/dist/github-light-default-D99KPAby.js +4 -0
  176. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  177. package/dist/gleam-Bv284lvN.js +6 -0
  178. package/dist/glimmer-js-CkxRszZZ.js +14 -0
  179. package/dist/glimmer-ts-Bi6BYQCn.js +14 -0
  180. package/dist/glsl-CkUcVZNK.js +8 -0
  181. package/dist/gnuplot-yPG9-sE_.js +6 -0
  182. package/dist/go-ChxJuLYK.js +6 -0
  183. package/dist/graph-DaSuptw6.js +247 -0
  184. package/dist/graphql-BLaPX4fU.js +14 -0
  185. package/dist/groovy-CJQTphOW.js +6 -0
  186. package/dist/gruvbox-dark-hard-C2ND4cMr.js +4 -0
  187. package/dist/gruvbox-dark-medium-C8k4c8au.js +4 -0
  188. package/dist/gruvbox-dark-soft-xx9Q6FaG.js +4 -0
  189. package/dist/gruvbox-light-hard-BpUXv5in.js +4 -0
  190. package/dist/gruvbox-light-medium-D3XFCoU1.js +4 -0
  191. package/dist/gruvbox-light-soft-u7hpfz6Z.js +4 -0
  192. package/dist/hack-Bx1jMtBC.js +10 -0
  193. package/dist/haml-6FagfhCM.js +10 -0
  194. package/dist/handlebars-Bd5Y4M6I.js +14 -0
  195. package/dist/haskell-WeIwNIP6.js +6 -0
  196. package/dist/haxe-TztHsm5T.js +6 -0
  197. package/dist/hcl-D438OF-I.js +6 -0
  198. package/dist/hjson-DYBUbqOl.js +6 -0
  199. package/dist/hlsl-Bk8TCZNL.js +6 -0
  200. package/dist/hooks/useMultiTimeout.d.ts +11 -0
  201. package/dist/hooks/useMultiTimeout.d.ts.map +1 -0
  202. package/dist/houston-BDYrDoDW.js +4 -0
  203. package/dist/html-7XVNRwN7.js +10 -0
  204. package/dist/html-derivative-BNxZ5Yf6.js +8 -0
  205. package/dist/http-WC357zBG.js +14 -0
  206. package/dist/hxml-GbqSQCLa.js +8 -0
  207. package/dist/hy-Brt5EZ7-.js +6 -0
  208. package/dist/imba-CimUv-Uh.js +6 -0
  209. package/dist/index-DR9mkSeU.js +29474 -0
  210. package/dist/index.css +1 -1
  211. package/dist/index.d.ts +22 -1
  212. package/dist/index.d.ts.map +1 -1
  213. package/dist/index.js +41 -2371
  214. package/dist/info-63CPKGFF-DnZM8nKQ.js +5 -0
  215. package/dist/infoDiagram-DDUCL6P7-ClQolrbt.js +24 -0
  216. package/dist/ini-BZIuRIvJ.js +6 -0
  217. package/dist/init-DjUOC4st.js +16 -0
  218. package/dist/java-DY6VlHhP.js +6 -0
  219. package/dist/javascript-Dp1Jmi5H.js +6 -0
  220. package/dist/jinja-WEhOU5ES.js +11 -0
  221. package/dist/jison-c2JI40PB.js +8 -0
  222. package/dist/journeyDiagram-FFXJYRFH-P_IVMTj2.js +836 -0
  223. package/dist/json-DxJze_jm.js +6 -0
  224. package/dist/json5-BT4Fjg39.js +6 -0
  225. package/dist/jsonc-CHjZD8gR.js +6 -0
  226. package/dist/jsonl-BGuvDmy9.js +6 -0
  227. package/dist/jsonnet-Bx2cfsXg.js +6 -0
  228. package/dist/jssm-BcADi6EI.js +6 -0
  229. package/dist/jsx-BtKADgXT.js +6 -0
  230. package/dist/julia-DcoDQokW.js +16 -0
  231. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  232. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  233. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  234. package/dist/kanban-definition-KOZQBZVT-Uk8JKe_b.js +720 -0
  235. package/dist/kotlin-ByBMgTeR.js +6 -0
  236. package/dist/kusto-VWFLl2T0.js +6 -0
  237. package/dist/laserwave-6a00oqik.js +4 -0
  238. package/dist/latex-MZCpjnva.js +8 -0
  239. package/dist/layout-BHKAMNdk.js +1324 -0
  240. package/dist/lean-DXqEE_d1.js +6 -0
  241. package/dist/less-B1GLI2Di.js +6 -0
  242. package/dist/light-plus-CZuVqSLX.js +4 -0
  243. package/dist/linear-UAzexi4b.js +255 -0
  244. package/dist/liquid-3HHuHOZ2.js +14 -0
  245. package/dist/llvm-6RQLId6G.js +6 -0
  246. package/dist/log-Al8wyEFV.js +6 -0
  247. package/dist/logo-DBa4JDzV.js +6 -0
  248. package/dist/lua-kX5WP_P5.js +8 -0
  249. package/dist/luau-BeoZWRh5.js +6 -0
  250. package/dist/make-CsMclxtr.js +6 -0
  251. package/dist/markdown-CiI2E98D.js +6 -0
  252. package/dist/marko-L-KhXzqZ.js +14 -0
  253. package/dist/material-theme-D6KBX41T.js +4 -0
  254. package/dist/material-theme-darker-CkRroheE.js +4 -0
  255. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  256. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  257. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  258. package/dist/matlab-BOAaUVP0.js +6 -0
  259. package/dist/mdc-DPBWa7dN.js +12 -0
  260. package/dist/mdx-BOhZZUJ8.js +6 -0
  261. package/dist/mermaid-B0ixDHKN.js +6 -0
  262. package/dist/mermaid-parser.core-FuzJzmL7.js +12921 -0
  263. package/dist/mermaid.core-D7qBd055.js +14002 -0
  264. package/dist/min-dark-C7ak0t6c.js +4 -0
  265. package/dist/min-light-CKFxVcPp.js +4 -0
  266. package/dist/mindmap-definition-LNHGMQRG-D1C2-kkn.js +3229 -0
  267. package/dist/mipsasm-CTx18fBl.js +6 -0
  268. package/dist/mojo-BD611d7o.js +6 -0
  269. package/dist/monokai-C1KBYcO0.js +4 -0
  270. package/dist/move-653S600C.js +6 -0
  271. package/dist/narrat-DmhDCBs-.js +6 -0
  272. package/dist/nextflow-D1Zd9cNl.js +6 -0
  273. package/dist/nginx-5vhPAEw3.js +8 -0
  274. package/dist/night-owl-Bm2rzalh.js +4 -0
  275. package/dist/nim-Fi8wNe6i.js +20 -0
  276. package/dist/nix-ceY58Dty.js +6 -0
  277. package/dist/nord-CC5OiUXg.js +4 -0
  278. package/dist/nushell-Be2rueDv.js +6 -0
  279. package/dist/objective-c-Itk8tzmv.js +6 -0
  280. package/dist/objective-cpp-DGt5UKRO.js +6 -0
  281. package/dist/ocaml-eSVK32Eg.js +6 -0
  282. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  283. package/dist/one-light-D9sNaUtq.js +4 -0
  284. package/dist/ordinal-DfAQgscy.js +61 -0
  285. package/dist/packet-HUATNLJX-B5EJOyma.js +5 -0
  286. package/dist/pascal-xy8pJNns.js +6 -0
  287. package/dist/perl-BoEn6HmT.js +16 -0
  288. package/dist/php-BRU9zhoN.js +18 -0
  289. package/dist/pie-WTHONI2E-Bl1BKqE7.js +5 -0
  290. package/dist/pieDiagram-DBDJKBY4-BkVTsR1n.js +161 -0
  291. package/dist/plastic-CSTz3KZp.js +4 -0
  292. package/dist/plsql-pVbGZfOv.js +6 -0
  293. package/dist/po-BNfHvqmm.js +6 -0
  294. package/dist/poimandres-C-VADXHD.js +4 -0
  295. package/dist/polar-CAZahv3u.js +6 -0
  296. package/dist/postcss-05aHdL-n.js +6 -0
  297. package/dist/powerquery-DI9HkTvs.js +6 -0
  298. package/dist/powershell-Clc4ydu-.js +6 -0
  299. package/dist/prisma-FZjmVtSl.js +6 -0
  300. package/dist/prolog-C5-yg4TO.js +6 -0
  301. package/dist/proto-MmCPeFAD.js +6 -0
  302. package/dist/pug-CJWI-qSo.js +12 -0
  303. package/dist/puppet-CUJHmnxV.js +6 -0
  304. package/dist/purescript-rUfGld-4.js +6 -0
  305. package/dist/python-BFNSHbwJ.js +6 -0
  306. package/dist/qml-D3ATcgGh.js +8 -0
  307. package/dist/qmldir-BInDYbpo.js +6 -0
  308. package/dist/qss-AeJTysr_.js +6 -0
  309. package/dist/quadrantDiagram-YPSRARAO-D1el8UE7.js +1024 -0
  310. package/dist/r-Bm0uF0U2.js +6 -0
  311. package/dist/racket-B83wSAja.js +6 -0
  312. package/dist/radar-NJJJXTRR-Ba8Estdw.js +5 -0
  313. package/dist/raku-nEQ4ZJJ7.js +6 -0
  314. package/dist/razor-BPFYEoc9.js +10 -0
  315. package/dist/red-7y8PH7HH.js +4 -0
  316. package/dist/reg-m_s_Kiip.js +6 -0
  317. package/dist/regexp-BazyLpPg.js +6 -0
  318. package/dist/rel-BcRfyd6Q.js +6 -0
  319. package/dist/requirementDiagram-EGVEC5DT-DL1bEAjs.js +852 -0
  320. package/dist/riscv-Ce8MAQLP.js +6 -0
  321. package/dist/rose-pine-Cr4kwgAY.js +4 -0
  322. package/dist/rose-pine-dawn-ClRRUdXX.js +4 -0
  323. package/dist/rose-pine-moon-ucNn3Gm8.js +4 -0
  324. package/dist/rst-B6mPMsKo.js +22 -0
  325. package/dist/ruby-DInklMmU.js +30 -0
  326. package/dist/rust-CLzF9zIN.js +6 -0
  327. package/dist/sankeyDiagram-HRAUVNP4-Dyr3TqRu.js +810 -0
  328. package/dist/sas-fpEvgATw.js +8 -0
  329. package/dist/sass-DxHp5rTx.js +6 -0
  330. package/dist/scala-D4grkFkl.js +6 -0
  331. package/dist/scheme-BCRWuEm4.js +6 -0
  332. package/dist/scss-B1FaCqwR.js +8 -0
  333. package/dist/sdbl-B7T8abf4.js +6 -0
  334. package/dist/sequenceDiagram-4MX5Z3NR-CaMVkEvG.js +2283 -0
  335. package/dist/shaderlab-Cr62-Wb4.js +8 -0
  336. package/dist/shellscript-InADTalH.js +6 -0
  337. package/dist/shellsession-DiDJNQdy.js +8 -0
  338. package/dist/slack-dark-i7wN4OET.js +4 -0
  339. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  340. package/dist/smalltalk-BlI1_OkM.js +6 -0
  341. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  342. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  343. package/dist/solarized-light-BheCkDPT.js +4 -0
  344. package/dist/solidity-CneOhxmR.js +6 -0
  345. package/dist/soy-LybuU3Y_.js +8 -0
  346. package/dist/sparql-B0KWFEri.js +8 -0
  347. package/dist/splunk-CRXR8A9s.js +6 -0
  348. package/dist/sql-Cn_v3PB0.js +6 -0
  349. package/dist/ssh-config-DP-hNVbF.js +6 -0
  350. package/dist/stata-B8c5fTjX.js +8 -0
  351. package/dist/stateDiagram-UUKSUZ4H-D-xTiq6H.js +263 -0
  352. package/dist/stateDiagram-v2-EYPG3UTE-BK5bFTpp.js +16 -0
  353. package/dist/stylus-CyKEU1Ej.js +6 -0
  354. package/dist/svelte-BjDUPxZ1.js +14 -0
  355. package/dist/swift-_uF_96_m.js +6 -0
  356. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  357. package/dist/system-verilog-BCm7smPJ.js +6 -0
  358. package/dist/systemd-C-4qm6XH.js +6 -0
  359. package/dist/talonscript-CFF3LF_O.js +6 -0
  360. package/dist/tasl-Cg_WBUAe.js +6 -0
  361. package/dist/tcl-DN7buRTF.js +6 -0
  362. package/dist/templ-Brj2RH7A.js +12 -0
  363. package/dist/terraform-DGvcn9zM.js +6 -0
  364. package/dist/tex-CmrLTxbG.js +8 -0
  365. package/dist/timeline-definition-3HZDQTIS-DbCuAY-N.js +801 -0
  366. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  367. package/dist/toml-DY62mUL_.js +6 -0
  368. package/dist/treemap-75Q7IDZK-RcudvwLc.js +5 -0
  369. package/dist/ts-tags-CZMzuZh-.js +41 -0
  370. package/dist/tsv-BtvSkaG0.js +6 -0
  371. package/dist/tsx-B8rCNbgL.js +6 -0
  372. package/dist/turtle-_H59FV7D.js +6 -0
  373. package/dist/twig-GjIxYqCX.js +18 -0
  374. package/dist/types/index.d.ts +7 -2
  375. package/dist/types/index.d.ts.map +1 -1
  376. package/dist/typescript-mg6ATTE8.js +6 -0
  377. package/dist/typespec-Djmco60m.js +6 -0
  378. package/dist/typst-D_1QKWns.js +6 -0
  379. package/dist/v-BW14IZv7.js +6 -0
  380. package/dist/vala-uxaPR7d1.js +6 -0
  381. package/dist/vb-D8_c5-KN.js +6 -0
  382. package/dist/verilog-B-bybjPF.js +6 -0
  383. package/dist/vesper-BckBta1U.js +4 -0
  384. package/dist/vhdl-CUlNa8ac.js +6 -0
  385. package/dist/viml-DsfA-sWm.js +6 -0
  386. package/dist/vitesse-black-BoGvW84i.js +4 -0
  387. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  388. package/dist/vitesse-light-CcmG315c.js +4 -0
  389. package/dist/vue-D-ba2-Rx.js +31 -0
  390. package/dist/vue-html-Dn2ZoOSz.js +10 -0
  391. package/dist/vue-vine-Jmfkm6lF.js +20 -0
  392. package/dist/vyper-CPQuu50u.js +6 -0
  393. package/dist/wasm-BBXxrAl7.js +6 -0
  394. package/dist/wasm-DQxwEHae.js +7 -0
  395. package/dist/wenyan-pbVjoM9_.js +6 -0
  396. package/dist/wgsl-DY4iK1q1.js +6 -0
  397. package/dist/wikitext-Z-MoUasO.js +6 -0
  398. package/dist/wit-CQMQOlTg.js +6 -0
  399. package/dist/wolfram-Dz4KXISs.js +6 -0
  400. package/dist/xml-C2J0sS9M.js +8 -0
  401. package/dist/xsl-BmSZphgC.js +8 -0
  402. package/dist/xychartDiagram-FDP5SA34-NGeBTA9Y.js +1340 -0
  403. package/dist/yaml-DaO7k5B1.js +6 -0
  404. package/dist/zenscript-CxBjpf9c.js +6 -0
  405. package/dist/zig-Vm0PO9wB.js +6 -0
  406. package/package.json +4 -4
@@ -0,0 +1,18 @@
1
+ import t from "./css-CECN5uSL.js";
2
+ import e from "./javascript-Dp1Jmi5H.js";
3
+ import n from "./scss-B1FaCqwR.js";
4
+ import i from "./php-BRU9zhoN.js";
5
+ import a from "./python-BFNSHbwJ.js";
6
+ import s from "./ruby-DInklMmU.js";
7
+ const r = Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!-- end tminclude -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","name":"twig","patterns":[{"begin":"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\s%})","name":"source.css.scss.embedded.twig","patterns":[{"include":"source.css.scss"}]},{"begin":"(</?)((?i:body|head|html))\\\\b","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\b","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([0-:A-Za-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"^\\\\s*<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([-:A-Za-z]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<=[\\"'])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#-?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"-?#}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[(,:\\\\[{\\\\s])(?:true|false|null|none)(?=[]),}\\\\s])","name":"constant.language.twig"},{"match":"(?<=[(,:\\\\[{\\\\s]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[]),}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[]),:|}\\\\s]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(defined|empty|even|iterable|odd)"},"twig-functions-warg":{"begin":"(?<=[(,:\\\\[{\\\\s])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[(,:\\\\[{\\\\s])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-keywords":{"match":"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|use|with)(?=\\\\s)","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[(,:\\\\[{\\\\s])([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\s])"},"twig-operators":{"patterns":[{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)([-+]|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)([=~])(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)([:?]|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"twig-statement-tag":{"begin":"\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig"},{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig"}]}},"scopeName":"text.html.twig","embeddedLangs":["css","javascript","scss","php","python","ruby"]}`)), l = [
8
+ ...t,
9
+ ...e,
10
+ ...n,
11
+ ...i,
12
+ ...a,
13
+ ...s,
14
+ r
15
+ ];
16
+ export {
17
+ l as default
18
+ };
@@ -22,11 +22,13 @@ export interface Message {
22
22
  }
23
23
  export interface MessageAction {
24
24
  id: string;
25
- icon: React.ReactNode;
25
+ icon?: React.ReactNode;
26
26
  label: string;
27
27
  onClick: (message: Message) => void | Promise<void>;
28
28
  tooltip?: string;
29
29
  disabled?: boolean;
30
+ pressed?: boolean;
31
+ showLabel?: boolean;
30
32
  }
31
33
  export declare const DEFAULT_PLACEHOLDER: import("@wordpress/i18n").TranslatableText<"Ask anything">;
32
34
  export interface AgentUIProps {
@@ -38,11 +40,12 @@ export interface AgentUIProps {
38
40
  style?: React.CSSProperties;
39
41
  variant?: 'floating' | 'embedded';
40
42
  triggerIcon?: React.ReactNode;
41
- placeholder?: string;
43
+ placeholder?: string | string[];
42
44
  notice?: NoticeConfig;
43
45
  onOpen?: () => void;
44
46
  onExpand?: () => void;
45
47
  onClose?: () => void;
48
+ onStop?: () => void;
46
49
  emptyView?: React.ReactNode;
47
50
  floatingChatState?: ChatState;
48
51
  suggestions?: Suggestion[];
@@ -50,6 +53,8 @@ export interface AgentUIProps {
50
53
  messageRenderer?: ComponentType<{
51
54
  children: string;
52
55
  }>;
56
+ inputValue?: string;
57
+ onInputChange?: (value: string) => void;
53
58
  }
54
59
  export interface NoticeConfig {
55
60
  icon?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,MAAM,WAAW,UAAU;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,OAAO;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,OAAO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