@chaibuilder/sdk 3.1.13 → 3.1.15
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/{code-editor-DrzGdqvV.js → code-editor-BeFF_6gp.js} +1 -1
- package/dist/{code-editor-BhsT9_jf.cjs → code-editor-DrQr2iOn.cjs} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{get-chai-builder-theme-Bw2iD8P4.cjs → get-chai-builder-theme-B1tr_NJB.cjs} +1 -1
- package/dist/{get-chai-builder-theme-jTJ8F0Vo.js → get-chai-builder-theme-BarMkcGH.js} +1 -1
- package/dist/index-BAxhgbfL.cjs +153 -0
- package/dist/index-BUT6PpvB.js +12100 -0
- package/dist/{plugin-Cn2Shmk3.js → plugin-BOcGV_IY.js} +13 -15
- package/dist/plugin-CSgw-f78.cjs +22 -0
- package/dist/render.cjs +1 -1
- package/dist/render.js +3 -3
- package/dist/{rte-widget-modal-BaiE-vjR.cjs → rte-widget-modal-BAXArDDD.cjs} +1 -1
- package/dist/{rte-widget-modal-CVt85o7n.js → rte-widget-modal-CmcQewRS.js} +1 -1
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +2 -2
- package/package.json +3 -3
- package/dist/index-BaPNNyIM.cjs +0 -365
- package/dist/index-zENTTCH5.js +0 -33856
- package/dist/plugin-BGIqPJSF.cjs +0 -22
|
@@ -99,11 +99,7 @@ const O = {
|
|
|
99
99
|
popover: ["#FFFFFF", "#09090B"],
|
|
100
100
|
"popover-foreground": ["#09090B", "#FFFFFF"]
|
|
101
101
|
}
|
|
102
|
-
}
|
|
103
|
-
function _(r) {
|
|
104
|
-
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
105
|
-
}
|
|
106
|
-
const q = (r) => ({
|
|
102
|
+
}, q = (r) => ({
|
|
107
103
|
fontFamily: r.fontFamily ? h(r.fontFamily).reduce(
|
|
108
104
|
(e, n) => ({
|
|
109
105
|
...e,
|
|
@@ -147,11 +143,11 @@ function p(r) {
|
|
|
147
143
|
}
|
|
148
144
|
return `${Math.round(a * 360)} ${Math.round(d * 100)}% ${Math.round(g * 100)}%`;
|
|
149
145
|
}
|
|
150
|
-
const
|
|
146
|
+
const _ = (r) => {
|
|
151
147
|
const e = b().find((n) => n.family === r);
|
|
152
148
|
return `"${r}", ${B(e, "fallback", "")}`;
|
|
153
149
|
}, S = (r) => `:root {
|
|
154
|
-
${r.fontFamily && Object.entries(r.fontFamily).map(([t, e]) => `--font-${t}: ${
|
|
150
|
+
${r.fontFamily && Object.entries(r.fontFamily).map(([t, e]) => `--font-${t}: ${_(e)};`).join(`
|
|
155
151
|
`)}
|
|
156
152
|
${r.borderRadius && `--radius: ${r.borderRadius};`}
|
|
157
153
|
${r.colors && Object.entries(r.colors).map(([t, e]) => `--${t}: ${p(e[0])};`).join(`
|
|
@@ -176,6 +172,9 @@ const E = (r) => {
|
|
|
176
172
|
`)
|
|
177
173
|
).join(`
|
|
178
174
|
`);
|
|
175
|
+
function E(r) {
|
|
176
|
+
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
177
|
+
}
|
|
179
178
|
var s = {}, c = {}, m;
|
|
180
179
|
function P() {
|
|
181
180
|
return m || (m = 1, function(r) {
|
|
@@ -207,7 +206,7 @@ function P() {
|
|
|
207
206
|
}(c)), c;
|
|
208
207
|
}
|
|
209
208
|
var y;
|
|
210
|
-
function
|
|
209
|
+
function A() {
|
|
211
210
|
return y || (y = 1, function(r) {
|
|
212
211
|
Object.defineProperty(r, "__esModule", {
|
|
213
212
|
value: !0
|
|
@@ -227,14 +226,14 @@ function j() {
|
|
|
227
226
|
}(s)), s;
|
|
228
227
|
}
|
|
229
228
|
var f, $;
|
|
230
|
-
function
|
|
229
|
+
function j() {
|
|
231
230
|
if ($) return f;
|
|
232
231
|
$ = 1;
|
|
233
|
-
let r =
|
|
232
|
+
let r = A();
|
|
234
233
|
return f = (r.__esModule ? r : { default: r }).default, f;
|
|
235
234
|
}
|
|
236
|
-
var C =
|
|
237
|
-
const M = /* @__PURE__ */
|
|
235
|
+
var C = j();
|
|
236
|
+
const M = /* @__PURE__ */ E(C), V = M(function({ addBase: r, theme: t }) {
|
|
238
237
|
r({
|
|
239
238
|
"h1,h2,h3,h4,h5,h6": {
|
|
240
239
|
fontFamily: t("fontFamily.heading")
|
|
@@ -254,8 +253,7 @@ export {
|
|
|
254
253
|
w as e,
|
|
255
254
|
I as f,
|
|
256
255
|
q as g,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
L as j,
|
|
256
|
+
x as h,
|
|
257
|
+
L as i,
|
|
260
258
|
M as p
|
|
261
259
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";const b=require("@chaibuilder/runtime"),a=require("lodash-es"),B={fontFamily:{"font-heading":"Inter","font-body":"Inter"},borderRadius:"10px",colors:[{group:"Body",items:{background:["#FFFFFF","#121212"],foreground:["#121212","#FFFFFF"]}},{group:"Primary",items:{primary:["#2563EB","#3B82F6"],"primary-foreground":["#FFFFFF","#FFFFFF"]}},{group:"Secondary",items:{secondary:["#F3F4F6","#374151"],"secondary-foreground":["#1F2937","#F9FAFB"]}},{group:"Border, Input & Ring",items:{border:["#E5E7EB","#374151"],input:["#E5E7EB","#374151"],ring:["#2563EB","#3B82F6"]}},{group:"Card",items:{card:["#FFFFFF","#1F2937"],"card-foreground":["#121212","#FFFFFF"]}},{group:"Popover",items:{popover:["#FFFFFF","#1F2937"],"popover-foreground":["#121212","#FFFFFF"]}},{group:"Muted",items:{muted:["#F3F4F6","#374151"],"muted-foreground":["#6B7280","#9CA3AF"]}},{group:"Accent",items:{accent:["#F3F4F6","#374151"],"accent-foreground":["#1F2937","#FFFFFF"]}},{group:"Destructive",items:{destructive:["#DC2626","#EF4444"],"destructive-foreground":["#FFFFFF","#FFFFFF"]}}]},v={fontFamily:{heading:"Inter",body:"Inter"},borderRadius:"6px",colors:{background:["#FFFFFF","#09090B"],foreground:["#09090B","#FFFFFF"],primary:["#2563EB","#3B82F6"],"primary-foreground":["#FFFFFF","#FFFFFF"],secondary:["#F4F4F5","#27272A"],"secondary-foreground":["#09090B","#FFFFFF"],muted:["#F4F4F5","#27272A"],"muted-foreground":["#71717A","#A1A1AA"],accent:["#F4F4F5","#27272A"],"accent-foreground":["#09090B","#FFFFFF"],destructive:["#EF4444","#7F1D1D"],"destructive-foreground":["#FFFFFF","#FFFFFF"],border:["#E4E4E7","#27272A"],input:["#E4E4E7","#27272A"],ring:["#2563EB","#3B82F6"],card:["#FFFFFF","#09090B"],"card-foreground":["#09090B","#FFFFFF"],popover:["#FFFFFF","#09090B"],"popover-foreground":["#09090B","#FFFFFF"]}},_=e=>({fontFamily:e.fontFamily?a.keys(e.fontFamily).reduce((r,n)=>({...r,[n.replace("font-","")]:`var(--${n})`}),{}):{},borderRadius:e.borderRadius?{lg:"var(--radius)",md:"calc(var(--radius) - 2px)",sm:"calc(var(--radius) - 4px)"}:{},colors:e.colors?a.flatten(e.colors.map(r=>Object.entries(r.items))).reduce((r,[n])=>({...r,[n]:`hsl(var(--${n}))`}),{}):{}});function m(e){const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);let r=parseInt(t[1],16),n=parseInt(t[2],16),F=parseInt(t[3],16);r/=255,n/=255,F/=255;const o=Math.max(r,n,F),u=Math.min(r,n,F);let i,d;const g=(o+u)/2;if(o==u)i=d=0;else{const l=o-u;switch(d=g>.5?l/(2-o-u):l/(o+u),o){case r:i=(n-F)/l+(n<F?6:0);break;case n:i=(F-r)/l+2;break;case F:i=(r-n)/l+4;break}i/=6}return`${Math.round(i*360)} ${Math.round(d*100)}% ${Math.round(g*100)}%`}const E=e=>{const r=b.getAllRegisteredFonts().find(n=>n.family===e);return`"${e}", ${a.get(r,"fallback","")}`},P=e=>`:root {
|
|
2
|
+
${e.fontFamily&&Object.entries(e.fontFamily).map(([t,r])=>`--font-${t}: ${E(r)};`).join(`
|
|
3
|
+
`)}
|
|
4
|
+
${e.borderRadius&&`--radius: ${e.borderRadius};`}
|
|
5
|
+
${e.colors&&Object.entries(e.colors).map(([t,r])=>`--${t}: ${m(r[0])};`).join(`
|
|
6
|
+
`)}
|
|
7
|
+
}
|
|
8
|
+
.dark {
|
|
9
|
+
${e.colors&&Object.entries(e.colors).map(([t,r])=>`--${t}: ${m(r[1])};`).join(`
|
|
10
|
+
`)}
|
|
11
|
+
}`,C=e=>!e||e.length===0?"":a.uniqBy(e,"family").map(t=>`<link rel="stylesheet" href="${t.url}" />`).join(`
|
|
12
|
+
`),A=e=>!e||e.length===0?[]:a.uniqBy(e,"family").map(t=>t.url),j=e=>!e||e.length===0?"":a.uniqBy(e,"family").map(t=>`@import url("${t.url}");`).join(`
|
|
13
|
+
`),k=e=>!e||e.length===0?"":a.uniqBy(e,"family").map(t=>t.src.map(r=>`@font-face {
|
|
14
|
+
font-family: "${t.family}";
|
|
15
|
+
src: url("${r.url}") format("${r.format}");
|
|
16
|
+
font-display: swap;
|
|
17
|
+
${r.fontWeight?`font-weight: ${r.fontWeight};`:""}
|
|
18
|
+
${r.fontStyle?`font-style: ${r.fontStyle};`:""}
|
|
19
|
+
${r.fontStretch?`font-stretch: ${r.fontStretch};`:""}
|
|
20
|
+
}`).join(`
|
|
21
|
+
`)).join(`
|
|
22
|
+
`);function q(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s={},c={},p;function M(){return p||(p=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function t(n,F){return{handler:n,config:F}}t.withOptions=function(n,F=()=>({})){const o=function(u){return{__options:u,handler:n(u),config:F(u)}};return o.__isOptionsFunction=!0,o.__pluginFunction=n,o.__configFunction=F,o};const r=t}(c)),c}var y;function O(){return y||(y=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const t=r(M());function r(F){return F&&F.__esModule?F:{default:F}}const n=t.default}(s)),s}var f,h;function R(){if(h)return f;h=1;let e=O();return f=(e.__esModule?e:{default:e}).default,f}var I=R();const $=q(I),S=$(function({addBase:e,theme:t}){e({"h1,h2,h3,h4,h5,h6":{fontFamily:t("fontFamily.heading")},body:{fontFamily:t("fontFamily.body"),color:t("colors.foreground"),backgroundColor:t("colors.background")}})});exports.chaiBuilderPlugin=S;exports.defaultThemeOptions=B;exports.defaultThemeValues=v;exports.getChaiThemeCssVariables=P;exports.getChaiThemeOptions=_;exports.getThemeCustomFontFace=k;exports.getThemeFontsCSSImport=j;exports.getThemeFontsLinkMarkup=C;exports.getThemeFontsUrls=A;exports.plugin=$;
|
package/dist/render.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./plugin-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./plugin-CSgw-f78.cjs"),u=require("./apply-binding-DCZAw7M-.cjs"),t=require("lodash-es"),q=require("@tailwindcss/aspect-ratio"),L=require("@tailwindcss/forms"),E=require("@tailwindcss/typography");require("tailwindcss-animate");const $=require("./get-chai-builder-theme-B1tr_NJB.cjs"),F=require("@mhsdesign/jit-browser-tailwindcss"),R=require("@tailwindcss/container-queries"),m=require("react/jsx-runtime"),p=require("react"),M=require("@chaibuilder/runtime");function j(e,a){const r=e.filter(({_type:i})=>i==="GlobalBlock"||i==="PartialBlock");for(let i=0;i<r.length;i++){const o=r[i],c=t.get(o,"partialBlockId",t.get(o,"globalBlock",""));if(c==="")continue;let s=t.cloneDeep(t.get(a,c,[]));o._parent&&(s==null?void 0:s.length)>0&&(s=s.map(l=>(t.isEmpty(l._parent)&&(l._parent=o._parent),l)));const n=e.indexOf(o);e.splice(n,1,...s)}return e}const D=e=>{if(!e)return[];try{return JSON.parse(A(e)).filter(r=>!r._type.startsWith("@chai"))}catch{return[{_type:"Paragraph",_id:"error",content:"Invalid JSON. Please check the JSON string."}]}};function A(e){const a=/(asset:\/\/|https:\/\/asset\.localhost\/)(?:localhost\/)?[^"']+/g;return e.replace(a,r=>{const i=decodeURIComponent(r),o=i.indexOf("public");return o!==-1?i.substring(o+6):i})}async function O(e,a=[],r=!1){return await F.createTailwindcss({tailwindConfig:{darkMode:"class",safelist:a,theme:{extend:{...$.getChaiBuilderTheme(),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"}}},plugins:[L,E,q,R,k.chaiBuilderPlugin],corePlugins:{preflight:r}}}).generateStylesFromContent(` ${r?"@tailwind base;":""}
|
|
2
2
|
@tailwind components;
|
|
3
3
|
@tailwind utilities;`,e)}const K=(e,a)=>{const r=JSON.stringify(e).replace(/#styles:([^"]*)/g,(i,o)=>`#styles:${o.replace(/,/g," ")}`.replace(/#styles:/g,""));return O([r],[],a)},N=async(e,a=!1)=>await K(e,a);async function J(e){const a={pageProps:e.pageProps,block:e.block,lang:e.lang,draft:e.draft,inBuilder:!1},r=await e.dataProvider(a);return t.has(r,"$metadata")&&t.isFunction(e.dataProviderMetadataCallback)&&e.dataProviderMetadataCallback(e.block,r.$metadata),e.children({...t.omit(r,"$metadata")})}const H=()=>m.jsx("div",{}),V=e=>{const{block:a,lang:r,fallbackLang:i,children:o,externalData:c,blocks:s,draft:n,pageProps:l,dataProviderMetadataCallback:y}=e,d=M.getRegisteredChaiBlock(a._type),h=t.get(d,"component",null),P=t.get(e.repeaterData,"index",-1),f=t.get(e.repeaterData,"dataKey",""),b=r===i?"":r,g=u.applyBindingToBlockProps(u.applyLanguage(a,b,d),c,{index:P,key:f}),C=u.getBlockTagAttributes(a,!1),T=U(s,a._id,u.getBlockRuntimeProps(a._type)),S=t.has(d,"dataProvider")&&t.isFunction(d.dataProvider),B={...g,...C,...T},w={blockProps:{},inBuilder:!1,lang:r||i,...B},v=t.get(B,"_show",!0);if(t.isNull(h)||!v)return null;if(S){const I=t.get(d,"suspenseFallback",H);return m.jsx(p.Suspense,{fallback:p.createElement(I),children:m.jsx(J,{lang:r,pageProps:l,block:B,dataProvider:d.dataProvider,...y?{dataProviderMetadataCallback:y}:{},draft:n,children:x=>p.createElement(h,{...w,...x,children:o({_id:a._id,_type:a._type,...t.isArray(g.repeaterItems)?{repeaterItems:u.applyLimit(g.repeaterItems,a),$repeaterItemsKey:g.$repeaterItemsKey,repeaterTotalItems:g.repeaterTotalItems??-1}:{}})})})})}return m.jsx(p.Suspense,{children:p.createElement(h,{...w,children:o({_id:a._id,_type:a._type,...t.isArray(g.repeaterItems)?{repeaterItems:u.applyLimit(g.repeaterItems,a),$repeaterItemsKey:g.$repeaterItemsKey,repeaterTotalItems:g.repeaterTotalItems??-1}:{}})})})},_=e=>{const{blocks:a,parent:r,repeaterData:i,type:o}=e;let c=t.uniqBy(t.filter(a,n=>t.has(n,"_id")&&(t.isEmpty(r)?!n._parent:n._parent===r)),"_id");const s=n=>t.filter(a,l=>l._parent===n).length>0;return(o==="Heading"||o==="Paragraph"||o==="Link")&&(c=u.adjustSpacingInContentBlocks(c)),t.map(c,n=>n?p.createElement(V,{...e,key:n._id,block:n},({_id:l,_type:y,repeaterItems:d,$repeaterItemsKey:h})=>y==="Repeater"?t.isArray(d)&&d.map((P,f)=>p.createElement(_,{...e,parent:n._id,key:`${t.get(n,"_parent","root")}-${n._id}-${f}`,repeaterData:{index:f,dataKey:h}})):s(l)?p.createElement(_,{...e,parent:n._id,key:`${t.get(n,"_parent","root")}-${n._id}`,repeaterData:i,type:n._type}):null):null)},U=(e,a,r)=>t.isEmpty(r)?{}:Object.entries(r).reduce((i,[o,c])=>{const s=[];let n=t.find(e,{_id:a});for(;n;)s.push(n),n=t.find(e,{_id:n._parent});const l=t.find(s,{_type:c.block});return l&&(i[o]=t.get(l,t.get(c,"prop"),null)),i},{});function W(e){if(t.isEmpty(e.lang)&&!t.isEmpty(e.fallbackLang))throw new Error("lang prop is required when fallbackLang is provided");if(t.isEmpty(e.blocks))return null;const a=e.lang??"en",r=e.fallbackLang??a;return m.jsx(_,{...e,lang:a,fallbackLang:r})}exports.getChaiThemeCssVariables=k.getChaiThemeCssVariables;exports.getThemeFontsCSSImport=k.getThemeFontsCSSImport;exports.getThemeFontsLinkMarkup=k.getThemeFontsLinkMarkup;exports.applyChaiDataBinding=u.applyChaiDataBinding;exports.convertHTMLToChaiBlocks=u.getBlocksFromHTML;exports.RenderChaiBlocks=W;exports.convertToBlocks=D;exports.getMergedPartialBlocks=j;exports.getStylesForBlocks=N;
|
package/dist/render.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as K } from "./plugin-
|
|
2
|
-
import { a as ve, b as Se, e as xe } from "./plugin-
|
|
1
|
+
import { c as K } from "./plugin-BOcGV_IY.js";
|
|
2
|
+
import { a as ve, b as Se, e as xe } from "./plugin-BOcGV_IY.js";
|
|
3
3
|
import { a as M, b as O, g as A, c as N, d as I, e as J } from "./apply-binding-DXR0sMuX.js";
|
|
4
4
|
import { f as $e, h as Le } from "./apply-binding-DXR0sMuX.js";
|
|
5
5
|
import { get as s, cloneDeep as j, isEmpty as g, has as b, isFunction as x, omit as E, isNull as q, isArray as B, uniqBy as H, filter as v, map as U, find as _ } from "lodash-es";
|
|
@@ -7,7 +7,7 @@ import V from "@tailwindcss/aspect-ratio";
|
|
|
7
7
|
import W from "@tailwindcss/forms";
|
|
8
8
|
import G from "@tailwindcss/typography";
|
|
9
9
|
import "tailwindcss-animate";
|
|
10
|
-
import { g as z } from "./get-chai-builder-theme-
|
|
10
|
+
import { g as z } from "./get-chai-builder-theme-BarMkcGH.js";
|
|
11
11
|
import { createTailwindcss as Q } from "@mhsdesign/jit-browser-tailwindcss";
|
|
12
12
|
import X from "@tailwindcss/container-queries";
|
|
13
13
|
import { jsx as f } from "react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("./index-BAxhgbfL.cjs"),n=require("./tooltip-CzZ7Fvt7.cjs");require("clsx");require("tailwind-merge");const S=({isOpen:m,onClose:l,editor:t,rteElement:f})=>{const r=u.usePageExternalData(),j=o=>{if(!t)return;const i=`{{${o}}}`;t.commands.focus();const{from:p,to:g}=t.state.selection;if(p!==g)t.chain().deleteSelection().insertContent(i).run();else{const{state:c}=t,s=c.selection.from,x=c.doc.textBetween(Math.max(0,s-1),s),a=c.doc.textBetween(s,Math.min(s+1,c.doc.content.size));let d="";s>0&&x!==" "&&!/[.,!?;:]/.test(x)&&(d=" ");let h="";a&&a!==" "&&!/[.,!?;:]/.test(a)&&(h=" "),t.chain().insertContent(d+i+h).run()}};return e.jsx(n.Dialog,{open:m,onOpenChange:o=>!o&&l(),children:e.jsxs(n.DialogContent,{className:"max-h-[90vh] overflow-y-auto sm:max-w-[800px]",children:[e.jsx(n.DialogHeader,{children:e.jsxs(n.DialogTitle,{className:"flex items-center justify-between pr-8",children:[e.jsx("span",{children:"Rich Text Editor"}),Object.keys(r).length>0&&e.jsxs("div",{className:"flex items-center",children:[e.jsx("span",{className:"mr-2 text-sm text-muted-foreground",children:"Add field:"}),e.jsx("div",{className:"rte-path-selector",children:e.jsx(u.NestedPathSelector,{data:r,onSelect:j})})]})]})}),f,e.jsx("div",{className:"mt-4 flex justify-end",children:e.jsx(n.Button,{onClick:l,children:"Done"})})]})})};exports.default=S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { d as N, N as D } from "./index-
|
|
2
|
+
import { d as N, N as D } from "./index-BUT6PpvB.js";
|
|
3
3
|
import { a1 as v, a3 as S, a6 as j, a9 as w, v as y } from "./tooltip-Bz2MxMHf.js";
|
|
4
4
|
import "clsx";
|
|
5
5
|
import "tailwind-merge";
|
package/dist/tailwind.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./plugin-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./plugin-CSgw-f78.cjs"),e=require("./get-chai-builder-tailwind-config-C6MHaUM0.cjs"),r=require("./get-chai-builder-theme-B1tr_NJB.cjs");exports.chaiBuilderPlugin=i.chaiBuilderPlugin;exports.getChaiBuilderTailwindConfig=e.getChaiBuilderTailwindConfig;exports.getChaiBuilderTheme=r.getChaiBuilderTheme;
|
package/dist/tailwind.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as r } from "./plugin-
|
|
1
|
+
import { c as r } from "./plugin-BOcGV_IY.js";
|
|
2
2
|
import { g as o } from "./get-chai-builder-tailwind-config-BqaIvg8p.js";
|
|
3
|
-
import { g as l } from "./get-chai-builder-theme-
|
|
3
|
+
import { g as l } from "./get-chai-builder-theme-BarMkcGH.js";
|
|
4
4
|
export {
|
|
5
5
|
r as chaiBuilderPlugin,
|
|
6
6
|
o as getChaiBuilderTailwindConfig,
|
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": "3.1.
|
|
8
|
+
"version": "3.1.15",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"@types/react": "*",
|
|
58
58
|
"@types/react-dom": "*",
|
|
59
59
|
"jotai": "2.14.0",
|
|
60
|
-
"react": "^18.0 || ^19.0",
|
|
61
|
-
"react-dom": "^18.0 || ^19.0"
|
|
60
|
+
"react": "^18.0 || ^19.0 || ^19.1 || ^19.2",
|
|
61
|
+
"react-dom": "^18.0 || ^19.0 || ^19.1 || ^19.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
64
64
|
"@types/react": {
|