@chaibuilder/sdk 4.0.0-beta.50 → 4.0.0-beta.51
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/README.md +35 -47
- package/dist/{2SSKDMRQ-DRvGNTLs.cjs → 2SSKDMRQ-BSYe_xPq.cjs} +1 -1
- package/dist/{2SSKDMRQ-DqIyZppU.js → 2SSKDMRQ-Dv-C_YAA.js} +3 -3
- package/dist/{AP7HFJJL-BWwvxG86.cjs → AP7HFJJL-BJolKJBt.cjs} +1 -1
- package/dist/{AP7HFJJL-DlUIW-7z.js → AP7HFJJL-DhdVstVC.js} +1 -1
- package/dist/{IconPicker-Bf163F7t.js → IconPicker-BBkl0T8b.js} +13 -13
- package/dist/{IconPicker-JWhYq2Gp.cjs → IconPicker-C0WWlb8t.cjs} +1 -1
- package/dist/{WDYDFRGG-SsaVMSIa.js → WDYDFRGG-CJs2MxSq.js} +4 -4
- package/dist/{WDYDFRGG-N7kNyI7H.cjs → WDYDFRGG-DRt6Zg7Q.cjs} +1 -1
- package/dist/{actions-registery-BHbZHkE3.cjs → actions-registery-CLL3KrNv.cjs} +2 -2
- package/dist/{actions-registery-gJb_wq2F.js → actions-registery-CrGIlqUX.js} +88 -88
- package/dist/actions.cjs +1 -1
- package/dist/actions.js +2 -2
- package/dist/{add-new-language-page-QIaeQ_fJ.cjs → add-new-language-page-ByMSfRcN.cjs} +1 -1
- package/dist/{add-new-language-page-BnPnQ-3A.js → add-new-language-page-DtVoDNfI.js} +35 -35
- package/dist/{add-new-page-Ddoy3kTu.cjs → add-new-page-CnuChfJz.cjs} +1 -1
- package/dist/add-new-page-DanzzvYo.js +31 -0
- package/dist/{ai-panel-default-lang-BOCTOIH_.js → ai-panel-default-lang-BaPz2d_6.js} +35 -35
- package/dist/{ai-panel-default-lang-FNeOfRkj.cjs → ai-panel-default-lang-CoIQSz_Y.cjs} +2 -2
- package/dist/{ai-panel-other-lang-C2j7qGZx.js → ai-panel-other-lang--i-5z4e2.js} +22 -22
- package/dist/{ai-panel-other-lang-DgRzCQGx.cjs → ai-panel-other-lang-ChlMVodg.cjs} +1 -1
- package/dist/{ai-prompt-input-p5KHwgCW.js → ai-prompt-input-BQi0VDJC.js} +77 -77
- package/dist/{ai-prompt-input-SJnya_UU.cjs → ai-prompt-input-BT5426AB.cjs} +1 -1
- package/dist/{ai-translation-prompt-BTEXWPQq.js → ai-translation-prompt-BN78s33t.js} +8 -8
- package/dist/{ai-translation-prompt-Dhh-bNJr.cjs → ai-translation-prompt-BQPaekp3.cjs} +1 -1
- package/dist/{apply-binding-CBSjMYSk.cjs → apply-binding-Cjh1kqMO.cjs} +1 -1
- package/dist/{apply-binding-vAuN-TGV.js → apply-binding-v_W4uR3U.js} +28 -28
- package/dist/{plugin-BSjgGgwo.js → chai-theme-helpers-BEf2rwE4.js} +83 -83
- package/dist/chai-theme-helpers-q3nwoNht.cjs +22 -0
- package/dist/{change-password-modal-BwBRdCeD.cjs → change-password-modal-DHUrrKw7.cjs} +1 -1
- package/dist/{change-password-modal-BkBFwrxi.js → change-password-modal-pEp-nMNb.js} +30 -30
- package/dist/{code-display-DdWcOQ_i.js → code-display-BaLKScgW.js} +5 -5
- package/dist/{code-display-BR-gij5j.cjs → code-display-i7jb2kmw.cjs} +1 -1
- package/dist/{code-editor-CyLjDiEp.js → code-editor-CRoniyP0.js} +12 -12
- package/dist/{code-editor-SWbfFj1E.cjs → code-editor-gwFRjQ2_.cjs} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +0 -5
- package/dist/core.js +49 -49
- package/dist/{css-import-modal-Be47CBJn.js → css-import-modal-B3qxX9Iv.js} +14 -14
- package/dist/{css-import-modal-Bdwgd05S.cjs → css-import-modal-nAB5FSwn.cjs} +2 -2
- package/dist/{delete-page-BYh290jY.js → delete-page-DbawNFf7.js} +13 -13
- package/dist/{delete-page-BNZclrjF.cjs → delete-page-YP1HEAoD.cjs} +1 -1
- package/dist/{digital-asset-manager-BINMP8H4.js → digital-asset-manager-DTD5mf24.js} +388 -357
- package/dist/digital-asset-manager-kJnuMqpw.cjs +1 -0
- package/dist/{duplicate-page-DgxKd840.cjs → duplicate-page-CxqW_EO7.cjs} +1 -1
- package/dist/{duplicate-page-B_j9rgxU.js → duplicate-page-DnRb1y6K.js} +19 -19
- package/dist/{dynamic-page-selector-CDuWB_Yw.cjs → dynamic-page-selector-2EqJhUrB.cjs} +1 -1
- package/dist/{dynamic-page-selector-B2HE4wRM.js → dynamic-page-selector-D6VLDIN9.js} +17 -17
- package/dist/{get-chai-builder-tailwind-config-7CxFxEYL.cjs → get-chai-builder-tailwind-config-DNp8Vhme.cjs} +1 -1
- package/dist/{get-chai-builder-tailwind-config-DC4sDOYK.js → get-chai-builder-tailwind-config-k8l5sdcw.js} +3 -3
- package/dist/{get-chai-builder-theme-BpuwSLeS.js → get-chai-builder-theme-DLpviqPJ.js} +1 -1
- package/dist/get-chai-builder-theme-Du4ARJlw.cjs +1 -0
- package/dist/{image-editor-DwhTYkVR.cjs → image-editor-BQcOGsli.cjs} +1 -1
- package/dist/{image-editor-BBvvi9Vm.js → image-editor-CMf731xL.js} +15 -15
- package/dist/index-BYrRPW_c.cjs +5 -0
- package/dist/index-D-r_K4yA.cjs +160 -0
- package/dist/{index-OuHV9Ann.js → index-DPV6NiJ-.js} +5894 -6049
- package/dist/index-DqzFD1CG.js +4861 -0
- package/dist/{mark-as-template-BP6ltrws.js → mark-as-template-D7jqSCXw.js} +28 -28
- package/dist/{mark-as-template-6kAFYYpY.cjs → mark-as-template-DyB56HzI.cjs} +1 -1
- package/dist/{nested-path-selector-content-DmtCI3q9.js → nested-path-selector-content-dwSikrsV.js} +2 -2
- package/dist/{nested-path-selector-content-aTdu-o0e.cjs → nested-path-selector-content-g9_Tq_sR.cjs} +1 -1
- package/dist/no-language-page-content-BRITuyfN.js +43 -0
- package/dist/{no-language-page-content-HjxRSjI0.cjs → no-language-page-content-ZvMNVY-Y.cjs} +1 -1
- package/dist/{no-language-page-dialog-CoRH5H9v.cjs → no-language-page-dialog-Cndq8xRP.cjs} +1 -1
- package/dist/no-language-page-dialog-D7L9nVb9.js +10 -0
- package/dist/page-creator-BAIbU14q.js +652 -0
- package/dist/page-creator-qL3-M8g3.cjs +1 -0
- package/dist/{page-manager-new-KUeOWmce.cjs → page-manager-new-By3eGO3i.cjs} +1 -1
- package/dist/{page-manager-new-CwYu8Am_.js → page-manager-new-YRG89y4f.js} +63 -63
- package/dist/page-manager-search-and-filter-BbdgOU9V.cjs +1 -0
- package/dist/page-manager-search-and-filter-Cllju4CV.js +184 -0
- package/dist/pages.cjs +1 -1
- package/dist/pages.d.ts +0 -15
- package/dist/pages.js +20 -21
- package/dist/{publish-pages-content-BmaVd0qz.js → publish-pages-content-CG5LBUnY.js} +48 -48
- package/dist/{publish-pages-content-gMEMzV-_.cjs → publish-pages-content-DxMiBxNU.cjs} +1 -1
- package/dist/{register-chai-top-bar-DyW9GPzV.cjs → register-chai-top-bar-CCssW5dL.cjs} +1 -1
- package/dist/{register-chai-top-bar-D6GjnauV.js → register-chai-top-bar-DWmJ2efT.js} +11 -11
- package/dist/render.cjs +1 -1
- package/dist/render.js +54 -54
- package/dist/{rte-widget-modal-CiTwsXTr.cjs → rte-widget-modal-CsTqFJc_.cjs} +1 -1
- package/dist/{rte-widget-modal-IU8JzPuZ.js → rte-widget-modal-DoeTMRtX.js} +2 -2
- package/dist/runtime-client.cjs +1 -1
- package/dist/runtime-client.js +1 -1
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +1 -1
- package/dist/sdk.css +1 -1
- package/dist/{selected-block-display-C7iOI7Wd.js → selected-block-display-Ck1kkNEi.js} +17 -28
- package/dist/{selected-block-display-CSYAaqzP.cjs → selected-block-display-DSow6N4b.cjs} +1 -1
- package/dist/seo-panel---mYZmLD.js +559 -0
- package/dist/seo-panel-mfX63fua.cjs +1 -0
- package/dist/{shared-json-ld-nS_mdAYR.js → shared-json-ld-B3I_RLE2.js} +46 -46
- package/dist/{shared-json-ld-Clk0cKIp.cjs → shared-json-ld-CGgwUOlW.cjs} +1 -1
- package/dist/{slug-input-DLWTMTsO.js → slug-input-DQ4t3-Tt.js} +5 -5
- package/dist/{slug-input-CiHC5l3r.cjs → slug-input-DaNbl597.cjs} +1 -1
- package/dist/supabase-actions.cjs +1 -1
- package/dist/supabase-actions.js +2 -2
- package/dist/types.d.ts +0 -96
- package/dist/{unmark-as-template-D_-Bbbl_.cjs → unmark-as-template-CZ65AE4v.cjs} +1 -1
- package/dist/{unmark-as-template-BStQtwjr.js → unmark-as-template-DvmoTbVu.js} +11 -11
- package/dist/unpublish-page-3--vO5b0.js +28 -0
- package/dist/{unpublish-page-CGZWa57H.cjs → unpublish-page-B46TiWlU.cjs} +1 -1
- package/dist/{unpublished-partials-modal-BhNAub_z.js → unpublished-partials-modal-DVMz3q83.js} +18 -15
- package/dist/{unpublished-partials-modal-Cv5R9-hi.cjs → unpublished-partials-modal-U5lKBOSR.cjs} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +2 -2
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +2 -2
- package/dist/{web-preview-_TrLPhaZ.js → web-preview-D5o5XQo0.js} +2 -2
- package/dist/{web-preview-e2NMKzzH.cjs → web-preview-Da3RhcjQ.cjs} +1 -1
- package/package.json +1 -1
- package/dist/active-in-another-tab-3S4Tzg0v.js +0 -35
- package/dist/active-in-another-tab-C83x4jHw.cjs +0 -1
- package/dist/add-new-page-aLHfIIHC.js +0 -31
- package/dist/continue-editing-in-this-client-DTmWmAee.js +0 -25
- package/dist/continue-editing-in-this-client-DgtsPYZ4.cjs +0 -1
- package/dist/design-token-usage-D1lWCJ3L.js +0 -114
- package/dist/design-token-usage-eY2wQ0l3.cjs +0 -1
- package/dist/digital-asset-manager-DnNRvKt8.cjs +0 -1
- package/dist/get-chai-builder-theme-B5RkBTsB.cjs +0 -1
- package/dist/image-compression-DPFITwOL.js +0 -37
- package/dist/image-compression-UaU7Bwqe.cjs +0 -1
- package/dist/index-CzBSRTj0.cjs +0 -5
- package/dist/index-DCJDQs1a.cjs +0 -160
- package/dist/index-nzqILA37.js +0 -5199
- package/dist/json-diff-viewer-3C7leKFH.cjs +0 -8
- package/dist/json-diff-viewer-CMw5W_Li.js +0 -261
- package/dist/lang-panel-DIdkbjDj.cjs +0 -1
- package/dist/lang-panel-S3dD5t_t.js +0 -216
- package/dist/manage-design-tokens-6YGIctip.js +0 -446
- package/dist/manage-design-tokens-modal-BSSCXH8Y.cjs +0 -1
- package/dist/manage-design-tokens-modal-CzsnN49F.js +0 -161
- package/dist/manage-design-tokens-udLBvkHA.cjs +0 -1
- package/dist/no-language-page-content-MPJjIXir.js +0 -43
- package/dist/no-language-page-dialog-D06JM3cU.js +0 -10
- package/dist/page-creator-Cu6i7LZ1.js +0 -796
- package/dist/page-creator-QCmVlpyE.cjs +0 -1
- package/dist/page-lock-D5BkmYCP.cjs +0 -1
- package/dist/page-lock-csXU_vk5.js +0 -30
- package/dist/page-locked-dialog-BfmE52P5.cjs +0 -1
- package/dist/page-locked-dialog-o9eCXo2g.js +0 -136
- package/dist/page-manager-search-and-filter-BE7w_2hv.cjs +0 -1
- package/dist/page-manager-search-and-filter-BwxrJZgv.js +0 -210
- package/dist/page-revisions-content-DmXFnqRE.js +0 -459
- package/dist/page-revisions-content-qIljNtcN.cjs +0 -1
- package/dist/plugin-DHpuZZXz.cjs +0 -22
- package/dist/save-to-lib-CPqQG37K.js +0 -429
- package/dist/save-to-lib-DMPQDhKe.cjs +0 -1
- package/dist/seo-panel-CgDo_uDs.cjs +0 -2
- package/dist/seo-panel-DUVBUbG3.js +0 -789
- package/dist/take-over-request-Bjyi22us.js +0 -64
- package/dist/take-over-request-GdscXVYh.cjs +0 -1
- package/dist/translation-warning-modal-CLZ9tC1F.cjs +0 -1
- package/dist/translation-warning-modal-CzNt6LDO.js +0 -27
- package/dist/unpublish-page-Dsqk_IA1.js +0 -28
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Chai Builder is a **full open-source React website builder** that empowers devel
|
|
|
10
10
|
- **Next.js 16**
|
|
11
11
|
- **Tailwind CSS v3+**
|
|
12
12
|
|
|
13
|
-
📚 **[CodeWiki](https://codewiki.google/github.com/chaibuilder/sdk)**
|
|
13
|
+
📚 **[CodeWiki](https://codewiki.google/github.com/chaibuilder/sdk)** | 🎨 **[Live Demo](https://chaibuilder-sdk.vercel.app/)**
|
|
14
14
|
|
|
15
15
|

|
|
16
16
|
|
|
@@ -29,52 +29,40 @@ Chai Builder is a **full open-source React website builder** that empowers devel
|
|
|
29
29
|
|
|
30
30
|
## 📦 Packages
|
|
31
31
|
|
|
32
|
-
Chai Builder is available in
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
**All Core Features Plus:**
|
|
67
|
-
|
|
68
|
-
- 📄 **Page Types** - Define custom page types with specific layouts
|
|
69
|
-
- 📚 **Collections** - Manage content collections (blogs, products, portfolios)
|
|
70
|
-
- 🖼️ **Media Manager** - Built-in media manager with image editor
|
|
71
|
-
- 🤖 **AI Assistant** - Create and edit UI components and content with AI
|
|
72
|
-
- 🔍 **SEO & JSON-LD** - Advanced SEO features with structured data
|
|
73
|
-
- 👁️ **Preview Mode** - Live preview before publishing
|
|
74
|
-
- 🔒 **CMS Integration** - Connect to any headless CMS
|
|
75
|
-
- 🔐 **BYO Stack** - Bring Your Own Auth, Database (Postgres), and Storage
|
|
76
|
-
|
|
77
|
-
🚀 **Get Started:** [Next.js + Supabase Starter](https://github.com/chaibuilder/chaibuilder-next-supabase-starter) (Work in Progress)
|
|
32
|
+
Chai Builder is available in three packages:
|
|
33
|
+
|
|
34
|
+
| Feature | sdk<br />(reactjs) | next <br />(nextjs) | pro<br />(multi-tenant nextjs) |
|
|
35
|
+
| ------------------------- | :----------------: | :-----------------: | :----------------------------: |
|
|
36
|
+
| Drag & Drop React Builder | ✅ | ✅ | ✅ |
|
|
37
|
+
| Extensible API | ✅ | ✅ | ✅ |
|
|
38
|
+
| Inner Hooks | ✅ | ✅ | ✅ |
|
|
39
|
+
| Custom Blocks | ✅ | ✅ | ✅ |
|
|
40
|
+
| Custom Panels | ✅ | ✅ | ✅ |
|
|
41
|
+
| Data Binding | ✅ | ✅ | ✅ |
|
|
42
|
+
| i18n Support | ✅ | ✅ | ✅ |
|
|
43
|
+
| AI Panel(standard) | ✅ | ✅ | ✅ |
|
|
44
|
+
| Theme System | ✅ | ✅ | ✅ |
|
|
45
|
+
| Import HTML | ✅ | ✅ | ✅ |
|
|
46
|
+
| Partial Blocks | | ✅ | ✅ |
|
|
47
|
+
| Page Types | | ✅ | ✅ |
|
|
48
|
+
| Collections | | ✅ | ✅ |
|
|
49
|
+
| Media Manager | | ✅ | ✅ |
|
|
50
|
+
| SEO & JSON-LD | | ✅ | ✅ |
|
|
51
|
+
| Preview Mode | | ✅ | ✅ |
|
|
52
|
+
| CMS Integration | | ✅ | ✅ |
|
|
53
|
+
| BYO Stack | | ✅ | ✅ |
|
|
54
|
+
| Multiple Languages | | | ✅ |
|
|
55
|
+
| AI for SEO | | | ✅ |
|
|
56
|
+
| Revisions | | | ✅ |
|
|
57
|
+
| Design Tokens | | | ✅ |
|
|
58
|
+
| Library | | | ✅ |
|
|
59
|
+
| Multi User | | | ✅ |
|
|
60
|
+
| AI Context & Advanced AI | | | ✅ |
|
|
61
|
+
| Multi-tenant Support | | | ✅ |
|
|
62
|
+
| Reveal Animations | | | 🔜 |
|
|
63
|
+
| New Builder UI | | | 🔜 |
|
|
64
|
+
| Registry of Custom Blocks | | | 🔜 |
|
|
65
|
+
| Premium Templates | | | 🔜 |
|
|
78
66
|
|
|
79
67
|
---
|
|
80
68
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./AP7HFJJL-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./AP7HFJJL-BJolKJBt.cjs"),t=require("./index-BYrRPW_c.cjs");var u=r=>{const[o,n]=e.createLocalStorage({prefix:"TanstackQueryDevtools"}),a=t.getPreferredColorScheme(),c=t.createMemo(()=>{const l=r.theme||o.theme_preference||e.THEME_PREFERENCE;return l!=="system"?l:a()});return t.createComponent(e.QueryDevtoolsContext.Provider,{value:r,get children(){return t.createComponent(e.PiPProvider,{disabled:!0,localStore:o,setLocalStore:n,get children(){return t.createComponent(e.ThemeContext.Provider,{value:c,get children(){return t.createComponent(e.ParentPanel,{get children(){return t.createComponent(e.ContentView,{localStore:o,setLocalStore:n,get onClose(){return r.onClose},showPanelViewOnly:!0})}})}})}})}})},s=u;exports.default=s;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./AP7HFJJL-
|
|
2
|
-
import {
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./AP7HFJJL-DhdVstVC.js";
|
|
2
|
+
import { r as h, s as v, t as e } from "./index-DqzFD1CG.js";
|
|
3
3
|
var C = (r) => {
|
|
4
4
|
const [t, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
6
|
-
}), a =
|
|
6
|
+
}), a = h(), l = v(() => {
|
|
7
7
|
const n = r.theme || t.theme_preference || c;
|
|
8
8
|
return n !== "system" ? n : a();
|
|
9
9
|
});
|