@chaibuilder/sdk 2.0.10 → 2.0.12
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.
- package/dist/{chai-theme-helpers-DC7cFoyJ.js → chai-theme-helpers-BpnwYsLZ.js} +72 -69
- package/dist/{chai-theme-helpers-DKMzVh0t.cjs → chai-theme-helpers-D2bHv81c.cjs} +16 -15
- package/dist/core.cjs +3 -3
- package/dist/core.js +38 -38
- package/dist/{plugin-jViUnwnQ.js → plugin-D56-CF7U.js} +1 -1
- package/dist/{plugin-3oYvWHBg.cjs → plugin-PDQQ8m4D.cjs} +1 -1
- package/dist/render.cjs +1 -1
- package/dist/render.d.ts +3 -3
- package/dist/render.js +3 -3
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +1 -1
- package/package.json +3 -3
package/dist/core.js
CHANGED
|
@@ -18,7 +18,7 @@ import { useThrottledCallback, useDebouncedCallback, useResizeObserver, useInter
|
|
|
18
18
|
import { useFeature, FlagsProvider } from "flagged";
|
|
19
19
|
import { getRegisteredChaiBlock, getDefaultBlockProps, useRegisteredFonts, useRegisteredChaiBlocks, getBlockFormSchemas, syncBlocksWithDefaults } from "@chaibuilder/runtime";
|
|
20
20
|
import { registerChaiBlock as Ue } from "@chaibuilder/runtime";
|
|
21
|
-
import { e as getDefaultExportFromCjs, d as defaultThemeOptions, g as getChaiThemeOptions, p as plugin, a as getChaiThemeCssVariables, c as getThemeFontsLinkMarkup, f as getThemeCustomFontFace } from "./chai-theme-helpers-
|
|
21
|
+
import { e as getDefaultExportFromCjs, d as defaultThemeOptions, g as getChaiThemeOptions, p as plugin, a as getChaiThemeCssVariables, c as getThemeFontsLinkMarkup, f as getThemeCustomFontFace } from "./chai-theme-helpers-BpnwYsLZ.js";
|
|
22
22
|
import { PlusIcon as PlusIcon$1, ChevronRight, DatabaseIcon, ChevronLeft, Bold, Italic, Underline as Underline$1, Strikethrough, List, ListOrdered, AlignLeft, AlignCenter, AlignRight, Link as Link$1, Unlink, Maximize2, X, Plus, PlusCircle, ChevronDown, Loader, SparklesIcon, Globe, PencilIcon, FileJson, Zap, EyeOff, MoreVertical, Eye, ChevronsDown, ChevronsUp, Languages, FileEdit, Recycle, SmileIcon, ShuffleIcon, Moon, Sparkles, Loader2, Image as Image$1, Send, DatabaseZapIcon, Edit2, Paintbrush, Layers } from "lucide-react";
|
|
23
23
|
import RjForm from "@rjsf/core";
|
|
24
24
|
import validator from "@rjsf/validator-ajv8";
|
|
@@ -3849,9 +3849,9 @@ const useHandleCanvasDblClick = (o, n) => {
|
|
|
3849
3849
|
heading: get(o, "fontFamily.heading"),
|
|
3850
3850
|
body: get(o, "fontFamily.body")
|
|
3851
3851
|
};
|
|
3852
|
-
return f.filter((E) => E.
|
|
3852
|
+
return f.filter((E) => E.family === S || E.family === B);
|
|
3853
3853
|
}, [o == null ? void 0 : o.fontFamily, f]), y = useMemo(() => getThemeFontsLinkMarkup(filter(b, (S) => has(S, "url"))), [b]), v = useMemo(
|
|
3854
|
-
() => getThemeCustomFontFace(filter(b, (S) =>
|
|
3854
|
+
() => getThemeCustomFontFace(filter(b, (S) => has(S, "src"))),
|
|
3855
3855
|
[b]
|
|
3856
3856
|
);
|
|
3857
3857
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -8000,24 +8000,21 @@ const selectParent = (o, n) => {
|
|
|
8000
8000
|
) }),
|
|
8001
8001
|
/* @__PURE__ */ jsx(PasteAtRootContextMenu, { parentContext, setParentContext })
|
|
8002
8002
|
] });
|
|
8003
|
-
},
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
}
|
|
8019
|
-
)
|
|
8020
|
-
] });
|
|
8003
|
+
}, BorderRadiusInput = ({ value: o, onChange: n, disabled: r }) => {
|
|
8004
|
+
const a = debounce((l) => n(l), 200);
|
|
8005
|
+
return /* @__PURE__ */ jsx(
|
|
8006
|
+
"input",
|
|
8007
|
+
{
|
|
8008
|
+
type: "range",
|
|
8009
|
+
min: "0",
|
|
8010
|
+
step: "1",
|
|
8011
|
+
max: "30",
|
|
8012
|
+
disabled: r,
|
|
8013
|
+
defaultValue: o.replace("px", ""),
|
|
8014
|
+
onChange: (l) => a(l.target.value),
|
|
8015
|
+
className: "flex-1 cursor-pointer"
|
|
8016
|
+
}
|
|
8017
|
+
);
|
|
8021
8018
|
}, ColorPickerInput = ({ value: o, onChange: n }) => {
|
|
8022
8019
|
const r = debounce((a) => n(a), 200);
|
|
8023
8020
|
return /* @__PURE__ */ jsx(
|
|
@@ -8039,21 +8036,24 @@ const selectParent = (o, n) => {
|
|
|
8039
8036
|
)
|
|
8040
8037
|
}
|
|
8041
8038
|
);
|
|
8042
|
-
},
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8039
|
+
}, FontSelector = ({
|
|
8040
|
+
label: o,
|
|
8041
|
+
value: n,
|
|
8042
|
+
onChange: r
|
|
8043
|
+
}) => {
|
|
8044
|
+
const a = useRegisteredFonts();
|
|
8045
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-0.5", children: [
|
|
8046
|
+
/* @__PURE__ */ jsx(Label, { className: "text-sm text-slate-800", children: startCase(o) }),
|
|
8047
|
+
/* @__PURE__ */ jsx(
|
|
8048
|
+
"select",
|
|
8049
|
+
{
|
|
8050
|
+
className: "mt-1 w-full cursor-pointer rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
8051
|
+
value: n,
|
|
8052
|
+
onChange: (l) => r(l.target.value),
|
|
8053
|
+
children: a.map((l) => /* @__PURE__ */ jsx("option", { value: l.family, children: l.family }, l.family))
|
|
8054
|
+
}
|
|
8055
|
+
)
|
|
8056
|
+
] });
|
|
8057
8057
|
}, ThemeConfigPanel = React.memo(({ className: o = "" }) => {
|
|
8058
8058
|
const [n] = useDarkMode(), [r, a] = React.useState(""), l = useBuilderProp("themePresets", []), i = useBuilderProp("themePanelComponent", null), { hasPermission: c } = usePermissions(), [d, p] = useTheme(), u = useThemeOptions(), { t: g } = useTranslation(), m = (v) => {
|
|
8059
8059
|
a(v);
|
|
@@ -9434,7 +9434,7 @@ const RootLayout = () => {
|
|
|
9434
9434
|
children: [
|
|
9435
9435
|
/* @__PURE__ */ jsx("div", { className: "h-14 w-screen shrink-0 border-b border-border", children: /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(TopBar, {}) }) }),
|
|
9436
9436
|
/* @__PURE__ */ jsxs("main", { className: "relative flex h-[calc(100vh-56px)] max-w-full flex-1 flex-row", children: [
|
|
9437
|
-
/* @__PURE__ */ jsxs("div", { className: "flex
|
|
9437
|
+
/* @__PURE__ */ jsxs("div", { className: "flex w-12 flex-col items-center justify-between border-r border-border py-2", children: [
|
|
9438
9438
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col", children: h.map((y, v) => /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
9439
9439
|
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: !0, children: /* @__PURE__ */ jsx(
|
|
9440
9440
|
Button,
|
|
@@ -9449,7 +9449,7 @@ const RootLayout = () => {
|
|
|
9449
9449
|
/* @__PURE__ */ jsx(TooltipContent, { side: "right", children: /* @__PURE__ */ jsx("p", { children: m(y.label) }) })
|
|
9450
9450
|
] }, "button" + v)) }),
|
|
9451
9451
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col space-y-1" }),
|
|
9452
|
-
/* @__PURE__ */ jsx("div", { className: "flex
|
|
9452
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col", children: d == null ? void 0 : d.map((y, v) => /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx("div", {}), children: React__default.createElement(y, {}) }, `sidebar-component-${v}`)) })
|
|
9453
9453
|
] }),
|
|
9454
9454
|
/* @__PURE__ */ jsx(
|
|
9455
9455
|
motion.div,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./chai-theme-helpers-
|
|
1
|
+
"use strict";const o=require("./chai-theme-helpers-D2bHv81c.cjs"),n=(i=o.defaultThemeOptions)=>({container:{center:!0,padding:"1rem",screens:{"2xl":"1400px"}},...o.getChaiThemeOptions(i)}),r=o.plugin(function({addBase:i,theme:e}){i({"h1,h2,h3,h4,h5,h6":{fontFamily:e("fontFamily.heading")},body:{fontFamily:e("fontFamily.body"),color:e("colors.foreground"),backgroundColor:e("colors.background")}})});exports.chaiBuilderPlugin=r;exports.getChaiBuilderTheme=n;
|
package/dist/render.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./chai-theme-helpers-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./chai-theme-helpers-D2bHv81c.cjs"),s=require("lodash-es"),m=require("./getSplitClasses-DodqA_KW.cjs"),F=require("@mhsdesign/jit-browser-tailwindcss"),b=require("@tailwindcss/aspect-ratio"),k=require("@tailwindcss/container-queries"),M=require("@tailwindcss/forms"),N=require("@tailwindcss/typography"),w=require("./plugin-PDQQ8m4D.cjs"),g=require("react/jsx-runtime"),T=require("@chaibuilder/runtime"),p=require("react"),Y=require("tailwind-merge"),I=(e,r="")=>{const{classes:n}=m.getSplitChaiClasses(e),t=n.split(" ").map(i=>i.split(" ").map(a=>{if(a==="")return"";if(a.includes(":")){const u=a.split(":");return u[u.length-1]=r+s.last(u),u.join(":")}return`${r}${a}`}).join(" "));return s.flattenDeep(t).join(" ")},A=e=>{if(!e)return[];try{return JSON.parse(J(e)).filter(n=>!n._type.startsWith("@chai"))}catch{return[{_type:"Paragraph",_id:"error",content:"Invalid JSON. Please check the JSON string."}]}};function J(e){const r=/(asset:\/\/|https:\/\/asset\.localhost\/)(?:localhost\/)?[^"']+/g;return e.replace(r,n=>{const t=decodeURIComponent(n),i=t.indexOf("public");return i!==-1?t.substring(i+6):t})}async function K(e,r,n=[],t="",i){return await F.createTailwindcss({tailwindConfig:{darkMode:"class",safelist:n,theme:{extend:w.getChaiBuilderTheme(e)},plugins:[M,N,b,k,w.chaiBuilderPlugin],corePlugins:{preflight:i},...t?{prefix:`${t}`}:{}}}).generateStylesFromContent(` ${i?"@tailwind base;":""}
|
|
2
2
|
@tailwind components;
|
|
3
3
|
@tailwind utilities;`,r)}const V=(e,r,n)=>{const t=JSON.stringify(e).replace(/#styles:([^"]*)/g,(i,o)=>`#styles:${o.replace(/,/g," ")}`.replace(/#styles:/g,""));return K(r,[t],[],"",n)},L=async(e,r=S.defaultThemeOptions,n=!1)=>await V(e,r,n);async function U(e){const r=await(e==null?void 0:e.dataProvider(e.block,e.lang,e.metadata));return s.has(r,"$metadata")&&e.dataProviderMetadataCallback(e.block,r.$metadata),g.jsx(p.Suspense,{children:p.createElement(e.component,{...s.omit(e.props,["dataProvider","dataProviderMetadataCallback"]),...s.omit(r,"$metadata"),key:`${e.block._id}-async`})})}const z=s.memoize((e,r)=>{const{baseClasses:n,classes:t}=m.getSplitChaiClasses(e),i=Y.twMerge(n,t);return r===""?i.replace(m.STYLES_KEY,"").trim():I(i,r).replace(m.STYLES_KEY,"").trim()}),j=(e,r)=>{const n=s.cloneDeep(e);return s.forEach(s.keys(n),t=>{if(s.isString(n[t])){let i=n[t];const o=/\{\{(.*?)\}\}/g,l=i.match(o);l&&l.forEach(a=>{const u=a.slice(2,-2),h=s.get(r,u,a);i=i.replace(a,h)}),n[t]=i}s.isObject(n[t])&&(n[t]=j(n[t],r))}),n};function D(e,r){const n=s.get(e,`${r}_attrs`,{}),t=s.keys(n).join(" ");return s.includes(t,"x-show")&&!s.includes(t,"x-transition")&&(n["x-transition"]=""),n}function W(e,r){const n={};return Object.keys(e).forEach(t=>{if(s.isString(e[t])&&e[t].startsWith(m.STYLES_KEY)){const i=z(e[t],r);n[t]={className:i,...D(e,t)}}}),n}function H(e,r,n){if(s.isEmpty(r))return e;const t=s.cloneDeep(e),i=s.get(n,"i18nProps",[]);return s.forEach(s.keys(t),o=>{i.includes(o)&&!s.isEmpty(r)&&(t[o]=s.get(t,`${o}-${r}`,t[o]))}),t}const Q=s.memoize(e=>{const r=T.getRegisteredChaiBlock(e),n=s.get(r,"schema.properties",{});return Object.fromEntries(Object.entries(n).filter(([,t])=>s.get(t,"runtime",!1)))}),G=(e,r,n)=>s.isEmpty(n)?{}:Object.entries(n).reduce((t,[i,o])=>{const l=[];let a=s.find(e,{_id:r});for(;a;)l.push(a),a=s.find(e,{_id:a._parent});const u=s.find(l,{_type:o.block});return u&&(t[i]=s.get(u,s.get(o,"prop"),null)),t},{}),X=()=>g.jsx("span",{children:"Loading..."});function E({blocks:e,parent:r,classPrefix:n="",externalData:t={},blockModifierCallback:i=null,lang:o="",fallbackLang:l="",metadata:a={},dataProviderMetadataCallback:u=()=>{}}){const h=e,P=c=>W(c,n),$=r?s.filter(e,{_parent:r}):s.filter(e,c=>s.isEmpty(c._parent));return s.uniqBy($,"_id").map((c,q)=>{const y={},v=s.filter(h,{_parent:c._id});y.children=v.length>0?g.jsx(E,{externalData:t,classPrefix:n,parent:c._id,blocks:h,lang:o||l,metadata:a,fallbackLang:l,dataProviderMetadataCallback:u},`${c._id}-children`):null;const d=T.getRegisteredChaiBlock(c._type);if(d!==null){let f=c;const _=d.component;f={...d.defaults,...c},i&&(f=i(f));const x=o===l?"":o,O=G(h,c._id,Q(c._type)),C=j(H(c,x,d),t),B=s.omit({blockProps:{},inBuilder:!1,...f,index:q,...C,...P(C),...y,...O,metadata:a,lang:o||l,key:c._id},["_parent"]);if(s.has(d,"dataProvider")){const R=s.get(d,"suspenseFallback",X);return g.jsx(p.Suspense,{fallback:p.createElement(R),children:g.jsx(U,{dataProviderMetadataCallback:u,lang:o||l,metadata:a,dataProvider:d.dataProvider,block:c,component:_,props:B},`${c._id}-async`)},`${c._id}-suspense`)}return g.jsx(p.Suspense,{children:p.createElement(_,B)},`${c._id}-suspense`)}return g.jsxs("noscript",{children:[c._type," not found"]},`${c._id}-noscript`)})}exports.getChaiThemeCssVariables=S.getChaiThemeCssVariables;exports.getThemeFontsCSSImport=S.getThemeFontsCSSImport;exports.getThemeFontsLinkMarkup=S.getThemeFontsLinkMarkup;exports.RenderChaiBlocks=E;exports.convertToBlocks=A;exports.getStylesForBlocks=L;
|
package/dist/render.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChaiFontViaUrl } from '@chaibuilder/runtime';
|
|
2
2
|
|
|
3
3
|
declare type BorderRadiusValue = false | string;
|
|
4
4
|
|
|
@@ -35,9 +35,9 @@ export declare const getChaiThemeCssVariables: (chaiTheme: Partial<ChaiBuilderTh
|
|
|
35
35
|
|
|
36
36
|
export declare const getStylesForBlocks: (blocks: ChaiBlock[], themeOptions?: ChaiBuilderThemeOptions, includeBaseStyles?: boolean) => Promise<string>;
|
|
37
37
|
|
|
38
|
-
export declare const getThemeFontsCSSImport: (fonts:
|
|
38
|
+
export declare const getThemeFontsCSSImport: (fonts: ChaiFontViaUrl[]) => any;
|
|
39
39
|
|
|
40
|
-
export declare const getThemeFontsLinkMarkup: (fonts:
|
|
40
|
+
export declare const getThemeFontsLinkMarkup: (fonts: ChaiFontViaUrl[]) => any;
|
|
41
41
|
|
|
42
42
|
declare type HSLColor = string;
|
|
43
43
|
|
package/dist/render.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as Y } from "./chai-theme-helpers-
|
|
2
|
-
import { a as At, b as It, c as Jt } from "./chai-theme-helpers-
|
|
1
|
+
import { d as Y } from "./chai-theme-helpers-BpnwYsLZ.js";
|
|
2
|
+
import { a as At, b as It, c as Jt } from "./chai-theme-helpers-BpnwYsLZ.js";
|
|
3
3
|
import { last as q, flattenDeep as z, has as v, omit as y, memoize as O, get as d, filter as h, isEmpty as g, uniqBy as D, cloneDeep as E, forEach as x, keys as B, isString as R, isObject as Q, find as _, includes as j } from "lodash-es";
|
|
4
4
|
import { g as F, S } from "./getSplitClasses-DphwgQiE.js";
|
|
5
5
|
import { createTailwindcss as G } from "@mhsdesign/jit-browser-tailwindcss";
|
|
@@ -7,7 +7,7 @@ import H from "@tailwindcss/aspect-ratio";
|
|
|
7
7
|
import L from "@tailwindcss/container-queries";
|
|
8
8
|
import X from "@tailwindcss/forms";
|
|
9
9
|
import Z from "@tailwindcss/typography";
|
|
10
|
-
import { g as k, c as tt } from "./plugin-
|
|
10
|
+
import { g as k, c as tt } from "./plugin-D56-CF7U.js";
|
|
11
11
|
import { jsx as p, jsxs as et } from "react/jsx-runtime";
|
|
12
12
|
import { getRegisteredChaiBlock as N } from "@chaibuilder/runtime";
|
|
13
13
|
import b, { Suspense as w, createElement as nt } from "react";
|
package/dist/tailwind.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@tailwindcss/aspect-ratio"),a=require("@tailwindcss/forms"),n=require("@tailwindcss/typography"),d=require("tailwindcss-animate"),r=require("./plugin-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@tailwindcss/aspect-ratio"),a=require("@tailwindcss/forms"),n=require("@tailwindcss/typography"),d=require("tailwindcss-animate"),r=require("./plugin-PDQQ8m4D.cjs");function i(){return{colors:{border:"hsl(var(--border))",input:"hsl(var(--input))",ring:"hsl(var(--ring))",background:"hsl(var(--background))",foreground:"hsl(var(--foreground))",primary:{DEFAULT:"hsl(var(--primary))",foreground:"hsl(var(--primary-foreground))"},secondary:{DEFAULT:"hsl(var(--secondary))",foreground:"hsl(var(--secondary-foreground))"},destructive:{DEFAULT:"hsl(var(--destructive))",foreground:"hsl(var(--destructive-foreground))"},muted:{DEFAULT:"hsl(var(--muted))",foreground:"hsl(var(--muted-foreground))"},accent:{DEFAULT:"hsl(var(--accent))",foreground:"hsl(var(--accent-foreground))"},popover:{DEFAULT:"hsl(var(--popover))",foreground:"hsl(var(--popover-foreground))"},card:{DEFAULT:"hsl(var(--card))",foreground:"hsl(var(--card-foreground))"}},borderRadius:{lg:"var(--radius)",md:"calc(var(--radius) - 2px)",sm:"calc(var(--radius) - 4px)"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"}}}const t=e=>({darkMode:"class",content:[...e,"node_modules/@chaibuilder/sdk/dist/*.{js,cjs}"],theme:{extend:i()},plugins:[d,n,a,o]});exports.chaiBuilderPlugin=r.chaiBuilderPlugin;exports.getChaiBuilderTheme=r.getChaiBuilderTheme;exports.getChaiBuilderTailwindConfig=t;
|
package/dist/tailwind.js
CHANGED
|
@@ -2,7 +2,7 @@ import o from "@tailwindcss/aspect-ratio";
|
|
|
2
2
|
import e from "@tailwindcss/forms";
|
|
3
3
|
import a from "@tailwindcss/typography";
|
|
4
4
|
import d from "tailwindcss-animate";
|
|
5
|
-
import { c as l, g as v } from "./plugin-
|
|
5
|
+
import { c as l, g as v } from "./plugin-D56-CF7U.js";
|
|
6
6
|
function n() {
|
|
7
7
|
return {
|
|
8
8
|
colors: {
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"author": "Suraj Air",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"homepage": "https://chaibuilder.com",
|
|
8
|
-
"version": "2.0.
|
|
8
|
+
"version": "2.0.12",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@chaibuilder/runtime": "2.0.
|
|
56
|
+
"@chaibuilder/runtime": "2.0.6",
|
|
57
57
|
"@types/react": "*",
|
|
58
58
|
"@types/react-dom": "*",
|
|
59
59
|
"jotai": "2.12.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@ai-sdk/react": "^1.2.2",
|
|
73
|
-
"@chaibuilder/runtime": "2.0.
|
|
73
|
+
"@chaibuilder/runtime": "2.0.6",
|
|
74
74
|
"@floating-ui/dom": "1.6.13",
|
|
75
75
|
"@floating-ui/react-dom": "2.1.2",
|
|
76
76
|
"@mhsdesign/jit-browser-tailwindcss": "0.4.2",
|