@pickaxeproject/react 0.0.35 → 0.0.36

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("./hooks/usePickaxeMarkdownContext.js"),r=require("../../../../common/lotties/loader-black.js"),i=require("../../../../common/lotties/loader-white.js"),s=require("react-lottie"),a=require("./Img.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=o(s);exports.default=({node:s,href:o="",children:l})=>{const{theme:c,accentColor:u,linkPreviews:d,actions:m}=t.usePickaxeMarkdownContext(),p=(o||"").startsWith("www.")?`https://${o}`:o,f=p.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([\w-]+)/i);if(f&&(null==f?void 0:f[1]))return e.jsx("div",Object.assign({style:{marginTop:"2.5rem",marginBottom:"2.5rem",display:"flex",width:"100%",justifyContent:"center"}},{children:e.jsx("iframe",Object.assign({title:"youtube-embed",src:`https://www.youtube.com/embed/${f[1]}`,style:{width:"100%",maxWidth:"560px"},allowFullScreen:!0},{children:"Iframe not supported, use a different browser."}))}));return p.match(/\.(jpeg|jpg|gif|bmp|webp|svg|tiff|avif)$/)?e.jsx(a.default,{src:p,alt:"string"==typeof l?l:"Markdown Image"}):m&&p.includes("pickaxe")&&(p.includes("/api/fn/result")||p.includes("/api/function_call_results"))?e.jsx("div",Object.assign({className:"marked-link-function-calling-loader",style:{width:"100%",maxWidth:"150px",minHeight:"150px"}},{children:e.jsx(n.default,{style:{cursor:"default",pointerEvents:"none"},options:{autoplay:!0,loop:!0,animationData:"dark"===c?i.loaderWhite:r.loaderBlack},isClickToPauseDisabled:!0,width:150,height:150})})):e.jsx("a",Object.assign({href:p,target:"_blank",rel:"noopener noreferrer"},d&&{className:"marked-link-possible-preview-render"},{style:{color:u,fontWeight:600}},{children:l}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("./hooks/usePickaxeMarkdownContext.js"),r=require("../../../../common/lotties/loader-black.js"),i=require("../../../../common/lotties/loader-white.js"),s=require("lottie-react"),a=require("./Img.js");exports.default=({node:o,href:n="",children:l})=>{const{theme:c,accentColor:d,linkPreviews:u,actions:m}=t.usePickaxeMarkdownContext(),{View:h}=s.useLottie({animationData:"dark"===c?i.loaderWhite:r.loaderBlack,autoplay:!0,loop:!0,style:{cursor:"default",pointerEvents:"none",width:"100%",maxWidth:"150px",height:"150px"}}),p=(n||"").startsWith("www.")?`https://${n}`:n,w=p.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([\w-]+)/i);if(w&&(null==w?void 0:w[1]))return e.jsx("div",Object.assign({style:{marginTop:"2.5rem",marginBottom:"2.5rem",display:"flex",width:"100%",justifyContent:"center"}},{children:e.jsx("iframe",Object.assign({title:"youtube-embed",src:`https://www.youtube.com/embed/${w[1]}`,style:{width:"100%",maxWidth:"560px"},allowFullScreen:!0},{children:"Iframe not supported, use a different browser."}))}));return p.match(/\.(jpeg|jpg|gif|bmp|webp|svg|tiff|avif)$/)?e.jsx(a.default,{src:p,alt:"string"==typeof l?l:"Markdown Image"}):m&&p.includes("pickaxe")&&(p.includes("/api/fn/result")||p.includes("/api/function_call_results"))?e.jsx("div",Object.assign({className:"marked-link-function-calling-loader",style:{width:"100%",maxWidth:"150px",minHeight:"150px"}},{children:h})):e.jsx("a",Object.assign({href:p,target:"_blank",rel:"noopener noreferrer"},u&&{className:"marked-link-possible-preview-render"},{style:{color:d,fontWeight:600}},{children:l}))};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),i=require("react"),t=require("./hooks/usePickaxeMarkdownContext.js"),n=require("react-syntax-highlighter"),s=require("react-markdown"),l=require("remark-gfm"),a=require("remark-math"),d=require("rehype-katex"),o=require("./A.js"),c=require("./Img.js");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=m(s),g=m(l),j=m(a),u=m(d);exports.PickaxeMarkdownRenderer=({className:s,style:l,value:a})=>{const{theme:d,syntaxTheme:m}=t.usePickaxeMarkdownContext(),x=i.useRef(null),b={h1:({node:e,children:i})=>r.jsx("h1",Object.assign({style:{fontSize:"2.25rem",lineHeight:"2.5rem",marginTop:"1rem",marginBottom:"1.5rem"}},{children:i})),h2:({node:e,children:i})=>r.jsx("h2",Object.assign({style:{fontSize:"1.875rem",lineHeight:"2.25rem",marginTop:"1.25rem",marginBottom:"1.25rem"}},{children:i})),h3:({node:e,children:i})=>r.jsx("h3",Object.assign({style:{fontSize:"1.5rem",lineHeight:"2rem",marginBottom:"1rem"}},{children:i})),h4:({node:e,children:i})=>r.jsx("h4",Object.assign({className:"mt-2 text-xl",style:{fontSize:"1.25rem",lineHeight:"1.75rem",marginBottom:"0.75rem"}},{children:i})),h5:({node:e,children:i})=>r.jsx("h5",Object.assign({style:{fontSize:"1.125rem",lineHeight:"1.75rem"}},{children:i})),p:({node:e,children:i})=>r.jsx("p",Object.assign({style:{fontWeight:350}},{children:i})),a:o.default,ol:({node:e,children:i})=>r.jsx("ol",Object.assign({style:{listStyleType:"decimal",listStylePosition:"inside",paddingLeft:"1.5rem",marginTop:"1rem",marginBottom:"2rem"}},{children:i})),ul:({node:e,children:i})=>r.jsx("ul",Object.assign({style:{listStyleType:"disc",listStylePosition:"inside",paddingLeft:"1.5rem",marginTop:"1rem",marginBottom:"2rem"}},{children:i})),li:({node:e,children:i})=>r.jsx("li",Object.assign({style:{marginBottom:"0.75rem"}},{children:i})),table:({children:e})=>r.jsx("div",Object.assign({className:"overflow-auto"},{children:r.jsx("table",Object.assign({style:{tableLayout:"fixed",fontSize:"0.875rem",lineHeight:"1.24rem",marginBottom:"1.5rem"}},{children:e}))})),th:({node:e,children:i})=>r.jsx("th",Object.assign({style:{padding:"0.75em 1em",fontWeight:600,textAlign:"left"}},{children:i})),tr:({node:e,children:i})=>r.jsx("tr",Object.assign({style:{border:"dark"===d?"1px solid #30363D":"1px solid #D0D7DE"}},{children:i})),td:({node:e,children:i})=>r.jsx("td",Object.assign({style:{padding:"0.75em 1em"}},{children:i})),code:i=>{var{node:t,children:s,className:l}=i,a=e.__rest(i,["node","children","className"]);const d=/language-(\w+)/.exec(l||"");return d?r.jsx(n.Prism,Object.assign({},a,{PreTag:"div",language:d[1],style:m,showLineNumbers:!0},{children:String(s).replace(/\n$/,"")})):r.jsx("code",Object.assign({},a,{className:l},{children:s}))},blockquote:({node:e,children:i})=>r.jsx("blockquote",Object.assign({style:{borderLeft:"dark"===d?"4px solid #30363D":"4px solid #D0D7DE",color:"dark"===d?"#8B8B8B":"#656D76",paddingLeft:"1rem",marginBottom:"1.5rem"}},{children:i})),img:c.default};return r.jsx("div",Object.assign({className:"pxe-markdown",ref:x,style:Object.assign({position:"relative",whiteSpace:"pre-wrap"},l)},{children:r.jsx(h.default,Object.assign({},s&&{className:s},{components:b,remarkPlugins:[g.default,j.default],rehypePlugins:[u.default]},{children:(null!=a?a:"").replace(/\u200B/g,"")}))}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/_tslib.js"),i=require("react/jsx-runtime"),r=require("react"),t=require("./hooks/usePickaxeMarkdownContext.js"),s=require("react-syntax-highlighter"),n=require("react-markdown"),l=require("remark-gfm"),d=require("remark-math"),a=require("rehype-katex"),c=require("./A.js"),o=require("./Img.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=h(n),m=h(l),u=h(d),j=h(a);exports.PickaxeMarkdownRenderer=({className:n,style:l,value:d})=>{const{theme:a,syntaxTheme:h}=t.usePickaxeMarkdownContext(),x=r.useRef(null),b={h1:({node:e,children:r})=>i.jsx("h1",Object.assign({style:{fontSize:"2.25rem",lineHeight:"2.5rem"}},{children:r})),h2:({node:e,children:r})=>i.jsx("h2",Object.assign({style:{fontSize:"1.875rem",lineHeight:"2.25rem"}},{children:r})),h3:({node:e,children:r})=>i.jsx("h3",Object.assign({style:{fontSize:"1.5rem",lineHeight:"2rem"}},{children:r})),h4:({node:e,children:r})=>i.jsx("h4",Object.assign({className:"mt-2 text-xl",style:{fontSize:"1.25rem",lineHeight:"1.75rem"}},{children:r})),h5:({node:e,children:r})=>i.jsx("h5",Object.assign({style:{fontSize:"1.125rem",lineHeight:"1.75rem"}},{children:r})),p:({node:e,children:r})=>i.jsx("p",Object.assign({style:{fontWeight:350}},{children:r})),a:c.default,ol:({node:e,children:r})=>i.jsx("ol",Object.assign({style:{listStyleType:"decimal",listStylePosition:"inside",paddingLeft:"1.5rem"}},{children:r})),ul:({node:e,children:r})=>i.jsx("ul",Object.assign({style:{listStyleType:"disc",listStylePosition:"inside",paddingLeft:"1.5rem"}},{children:r})),li:({node:e,children:r})=>i.jsx("li",{children:r}),table:({children:e})=>i.jsx("div",Object.assign({className:"overflow-auto"},{children:i.jsx("table",Object.assign({style:{tableLayout:"fixed",fontSize:"0.875rem",lineHeight:"1.24rem"}},{children:e}))})),th:({node:e,children:r})=>i.jsx("th",Object.assign({style:{padding:"0.75em 1em",fontWeight:600,textAlign:"left"}},{children:r})),tr:({node:e,children:r})=>i.jsx("tr",Object.assign({style:{border:"dark"===a?"1px solid #30363D":"1px solid #D0D7DE"}},{children:r})),td:({node:e,children:r})=>i.jsx("td",Object.assign({style:{padding:"0.75em 1em"}},{children:r})),code:r=>{var{node:t,children:n,className:l}=r,d=e.__rest(r,["node","children","className"]);const a=/language-(\w+)/.exec(l||"");return a?i.jsx(s.Prism,Object.assign({},d,{PreTag:"div",language:a[1],style:h,showLineNumbers:!0},{children:String(n).replace(/\n$/,"")})):i.jsx("code",Object.assign({},d,{className:l},{children:n}))},blockquote:({node:e,children:r})=>i.jsx("blockquote",Object.assign({style:{lineHeight:"15px",borderLeft:"dark"===a?"4px solid #30363D":"4px solid #D0D7DE",color:"dark"===a?"#8B8B8B":"#656D76",paddingLeft:"1rem",marginBottom:"1rem"}},{children:r})),img:o.default};return i.jsx("div",Object.assign({className:"pxe-markdown",ref:x,style:Object.assign({position:"relative",whiteSpace:"pre-wrap"},l)},{children:i.jsx(g.default,Object.assign({},n&&{className:n},{components:b,remarkPlugins:[m.default,u.default],rehypePlugins:[j.default]},{children:(null!=d?d:"").replace(/\u200B/g,"")}))}))};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{usePickaxeMarkdownContext as t}from"./hooks/usePickaxeMarkdownContext.js";import{loaderBlack as i}from"../../../../common/lotties/loader-black.js";import{loaderWhite as o}from"../../../../common/lotties/loader-white.js";import r from"react-lottie";import s from"./Img.js";const n=({node:n,href:a="",children:l})=>{const{theme:c,accentColor:m,linkPreviews:d,actions:p}=t(),u=(a||"").startsWith("www.")?`https://${a}`:a,f=u.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([\w-]+)/i);if(f&&(null==f?void 0:f[1]))return e("div",Object.assign({style:{marginTop:"2.5rem",marginBottom:"2.5rem",display:"flex",width:"100%",justifyContent:"center"}},{children:e("iframe",Object.assign({title:"youtube-embed",src:`https://www.youtube.com/embed/${f[1]}`,style:{width:"100%",maxWidth:"560px"},allowFullScreen:!0},{children:"Iframe not supported, use a different browser."}))}));return u.match(/\.(jpeg|jpg|gif|bmp|webp|svg|tiff|avif)$/)?e(s,{src:u,alt:"string"==typeof l?l:"Markdown Image"}):p&&u.includes("pickaxe")&&(u.includes("/api/fn/result")||u.includes("/api/function_call_results"))?e("div",Object.assign({className:"marked-link-function-calling-loader",style:{width:"100%",maxWidth:"150px",minHeight:"150px"}},{children:e(r,{style:{cursor:"default",pointerEvents:"none"},options:{autoplay:!0,loop:!0,animationData:"dark"===c?o:i},isClickToPauseDisabled:!0,width:150,height:150})})):e("a",Object.assign({href:u,target:"_blank",rel:"noopener noreferrer"},d&&{className:"marked-link-possible-preview-render"},{style:{color:m,fontWeight:600}},{children:l}))};export{n as default};
1
+ import{jsx as e}from"react/jsx-runtime";import{usePickaxeMarkdownContext as t}from"./hooks/usePickaxeMarkdownContext.js";import{loaderBlack as i}from"../../../../common/lotties/loader-black.js";import{loaderWhite as r}from"../../../../common/lotties/loader-white.js";import{useLottie as o}from"lottie-react";import n from"./Img.js";const a=({node:a,href:s="",children:l})=>{const{theme:m,accentColor:c,linkPreviews:d,actions:p}=t(),{View:h}=o({animationData:"dark"===m?r:i,autoplay:!0,loop:!0,style:{cursor:"default",pointerEvents:"none",width:"100%",maxWidth:"150px",height:"150px"}}),u=(s||"").startsWith("www.")?`https://${s}`:s,f=u.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/)([\w-]+)/i);if(f&&(null==f?void 0:f[1]))return e("div",Object.assign({style:{marginTop:"2.5rem",marginBottom:"2.5rem",display:"flex",width:"100%",justifyContent:"center"}},{children:e("iframe",Object.assign({title:"youtube-embed",src:`https://www.youtube.com/embed/${f[1]}`,style:{width:"100%",maxWidth:"560px"},allowFullScreen:!0},{children:"Iframe not supported, use a different browser."}))}));return u.match(/\.(jpeg|jpg|gif|bmp|webp|svg|tiff|avif)$/)?e(n,{src:u,alt:"string"==typeof l?l:"Markdown Image"}):p&&u.includes("pickaxe")&&(u.includes("/api/fn/result")||u.includes("/api/function_call_results"))?e("div",Object.assign({className:"marked-link-function-calling-loader",style:{width:"100%",maxWidth:"150px",minHeight:"150px"}},{children:h})):e("a",Object.assign({href:u,target:"_blank",rel:"noopener noreferrer"},d&&{className:"marked-link-possible-preview-render"},{style:{color:c,fontWeight:600}},{children:l}))};export{a as default};
@@ -1 +1 @@
1
- import{__rest as e}from"../../../../_virtual/_tslib.js";import{jsx as i}from"react/jsx-runtime";import{useRef as r}from"react";import{usePickaxeMarkdownContext as t}from"./hooks/usePickaxeMarkdownContext.js";import{Prism as n}from"react-syntax-highlighter";import l from"react-markdown";import o from"remark-gfm";import s from"remark-math";import m from"rehype-katex";import a from"./A.js";import d from"./Img.js";const c=({className:c,style:h,value:g})=>{const{theme:p,syntaxTheme:b}=t(),f=r(null),y={h1:({node:e,children:r})=>i("h1",Object.assign({style:{fontSize:"2.25rem",lineHeight:"2.5rem",marginTop:"1rem",marginBottom:"1.5rem"}},{children:r})),h2:({node:e,children:r})=>i("h2",Object.assign({style:{fontSize:"1.875rem",lineHeight:"2.25rem",marginTop:"1.25rem",marginBottom:"1.25rem"}},{children:r})),h3:({node:e,children:r})=>i("h3",Object.assign({style:{fontSize:"1.5rem",lineHeight:"2rem",marginBottom:"1rem"}},{children:r})),h4:({node:e,children:r})=>i("h4",Object.assign({className:"mt-2 text-xl",style:{fontSize:"1.25rem",lineHeight:"1.75rem",marginBottom:"0.75rem"}},{children:r})),h5:({node:e,children:r})=>i("h5",Object.assign({style:{fontSize:"1.125rem",lineHeight:"1.75rem"}},{children:r})),p:({node:e,children:r})=>i("p",Object.assign({style:{fontWeight:350}},{children:r})),a:a,ol:({node:e,children:r})=>i("ol",Object.assign({style:{listStyleType:"decimal",listStylePosition:"inside",paddingLeft:"1.5rem",marginTop:"1rem",marginBottom:"2rem"}},{children:r})),ul:({node:e,children:r})=>i("ul",Object.assign({style:{listStyleType:"disc",listStylePosition:"inside",paddingLeft:"1.5rem",marginTop:"1rem",marginBottom:"2rem"}},{children:r})),li:({node:e,children:r})=>i("li",Object.assign({style:{marginBottom:"0.75rem"}},{children:r})),table:({children:e})=>i("div",Object.assign({className:"overflow-auto"},{children:i("table",Object.assign({style:{tableLayout:"fixed",fontSize:"0.875rem",lineHeight:"1.24rem",marginBottom:"1.5rem"}},{children:e}))})),th:({node:e,children:r})=>i("th",Object.assign({style:{padding:"0.75em 1em",fontWeight:600,textAlign:"left"}},{children:r})),tr:({node:e,children:r})=>i("tr",Object.assign({style:{border:"dark"===p?"1px solid #30363D":"1px solid #D0D7DE"}},{children:r})),td:({node:e,children:r})=>i("td",Object.assign({style:{padding:"0.75em 1em"}},{children:r})),code:r=>{var{node:t,children:l,className:o}=r,s=e(r,["node","children","className"]);const m=/language-(\w+)/.exec(o||"");return m?i(n,Object.assign({},s,{PreTag:"div",language:m[1],style:b,showLineNumbers:!0},{children:String(l).replace(/\n$/,"")})):i("code",Object.assign({},s,{className:o},{children:l}))},blockquote:({node:e,children:r})=>i("blockquote",Object.assign({style:{borderLeft:"dark"===p?"4px solid #30363D":"4px solid #D0D7DE",color:"dark"===p?"#8B8B8B":"#656D76",paddingLeft:"1rem",marginBottom:"1.5rem"}},{children:r})),img:d};return i("div",Object.assign({className:"pxe-markdown",ref:f,style:Object.assign({position:"relative",whiteSpace:"pre-wrap"},h)},{children:i(l,Object.assign({},c&&{className:c},{components:y,remarkPlugins:[o,s],rehypePlugins:[m]},{children:(null!=g?g:"").replace(/\u200B/g,"")}))}))};export{c as PickaxeMarkdownRenderer};
1
+ import{__rest as e}from"../../../../_virtual/_tslib.js";import{jsx as i}from"react/jsx-runtime";import{useRef as t}from"react";import{usePickaxeMarkdownContext as n}from"./hooks/usePickaxeMarkdownContext.js";import{Prism as r}from"react-syntax-highlighter";import l from"react-markdown";import s from"remark-gfm";import o from"remark-math";import d from"rehype-katex";import c from"./A.js";import a from"./Img.js";const m=({className:m,style:h,value:g})=>{const{theme:p,syntaxTheme:b}=n(),f=t(null),y={h1:({node:e,children:t})=>i("h1",Object.assign({style:{fontSize:"2.25rem",lineHeight:"2.5rem"}},{children:t})),h2:({node:e,children:t})=>i("h2",Object.assign({style:{fontSize:"1.875rem",lineHeight:"2.25rem"}},{children:t})),h3:({node:e,children:t})=>i("h3",Object.assign({style:{fontSize:"1.5rem",lineHeight:"2rem"}},{children:t})),h4:({node:e,children:t})=>i("h4",Object.assign({className:"mt-2 text-xl",style:{fontSize:"1.25rem",lineHeight:"1.75rem"}},{children:t})),h5:({node:e,children:t})=>i("h5",Object.assign({style:{fontSize:"1.125rem",lineHeight:"1.75rem"}},{children:t})),p:({node:e,children:t})=>i("p",Object.assign({style:{fontWeight:350}},{children:t})),a:c,ol:({node:e,children:t})=>i("ol",Object.assign({style:{listStyleType:"decimal",listStylePosition:"inside",paddingLeft:"1.5rem"}},{children:t})),ul:({node:e,children:t})=>i("ul",Object.assign({style:{listStyleType:"disc",listStylePosition:"inside",paddingLeft:"1.5rem"}},{children:t})),li:({node:e,children:t})=>i("li",{children:t}),table:({children:e})=>i("div",Object.assign({className:"overflow-auto"},{children:i("table",Object.assign({style:{tableLayout:"fixed",fontSize:"0.875rem",lineHeight:"1.24rem"}},{children:e}))})),th:({node:e,children:t})=>i("th",Object.assign({style:{padding:"0.75em 1em",fontWeight:600,textAlign:"left"}},{children:t})),tr:({node:e,children:t})=>i("tr",Object.assign({style:{border:"dark"===p?"1px solid #30363D":"1px solid #D0D7DE"}},{children:t})),td:({node:e,children:t})=>i("td",Object.assign({style:{padding:"0.75em 1em"}},{children:t})),code:t=>{var{node:n,children:l,className:s}=t,o=e(t,["node","children","className"]);const d=/language-(\w+)/.exec(s||"");return d?i(r,Object.assign({},o,{PreTag:"div",language:d[1],style:b,showLineNumbers:!0},{children:String(l).replace(/\n$/,"")})):i("code",Object.assign({},o,{className:s},{children:l}))},blockquote:({node:e,children:t})=>i("blockquote",Object.assign({style:{lineHeight:"15px",borderLeft:"dark"===p?"4px solid #30363D":"4px solid #D0D7DE",color:"dark"===p?"#8B8B8B":"#656D76",paddingLeft:"1rem",marginBottom:"1rem"}},{children:t})),img:a};return i("div",Object.assign({className:"pxe-markdown",ref:f,style:Object.assign({position:"relative",whiteSpace:"pre-wrap"},h)},{children:i(l,Object.assign({},m&&{className:m},{components:y,remarkPlugins:[s,o],rehypePlugins:[d]},{children:(null!=g?g:"").replace(/\u200B/g,"")}))}))};export{m as PickaxeMarkdownRenderer};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pickaxeproject/react",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "Client utility library for Pickaxe",
5
5
  "repository": {
6
6
  "type": "git",
@@ -69,7 +69,6 @@
69
69
  "@types/node": "^18.11.18",
70
70
  "@types/react": "^18.0.26",
71
71
  "@types/react-dom": "^18.0.10",
72
- "@types/react-lottie": "^1.2.10",
73
72
  "@types/react-syntax-highlighter": "^15.5.13",
74
73
  "@typescript-eslint/eslint-plugin": "^5.48.1",
75
74
  "@typescript-eslint/parser": "^5.48.1",
@@ -93,13 +92,13 @@
93
92
  "isomorphic-dompurify": "^2.20.0",
94
93
  "katex": "^0.16.19",
95
94
  "lint-staged": "^13.1.0",
95
+ "lottie-react": "^2.4.0",
96
96
  "postcss": "^8.4.49",
97
97
  "prettier": "^2.8.2",
98
98
  "prismjs": "^1.29.0",
99
99
  "react": "^18.2.0",
100
100
  "react-dom": "^18.2.0",
101
101
  "react-intersection-observer": "^9.14.1",
102
- "react-lottie": "^1.2.10",
103
102
  "react-markdown": "^9.0.3",
104
103
  "react-syntax-highlighter": "^15.6.1",
105
104
  "react-textarea-autosize": "^8.5.7",
@@ -138,11 +137,11 @@
138
137
  "framer-motion": "^11.17.0",
139
138
  "isomorphic-dompurify": "^2.20.0",
140
139
  "katex": "^0.16.19",
140
+ "lottie-react": "^2.4.0",
141
141
  "prismjs": "^1.29.0",
142
142
  "react": "^16.8.0 || ^17 || ^18",
143
143
  "react-dom": "^16.8.0 || ^17 || ^18",
144
144
  "react-intersection-observer": "^9.14.1",
145
- "react-lottie": "^1.2.10",
146
145
  "react-markdown": "^9.0.3",
147
146
  "react-syntax-highlighter": "^15.6.1",
148
147
  "react-tooltip": "^5.28.0",