@chaibuilder/pages 0.12.5 → 0.13.0
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/{MWZ6AO7Z-DTD64z1e.cjs → 2AITGKQY-B0AWtPPy.cjs} +1 -1
- package/dist/{MWZ6AO7Z-CvFr1OAP.js → 2AITGKQY-Be7hO5oO.js} +2 -2
- package/dist/{LNWAZHJI-xZO1rgIu.cjs → NCMVHL6D-DiHKHIvM.cjs} +1 -1
- package/dist/{LNWAZHJI-RWYjJ7s-.js → NCMVHL6D-DyRLZAnS.js} +2 -2
- package/dist/{YPM2AS64-CDgAJGxA.js → ZDWCUMSJ-DKEZ2l6I.js} +5 -1
- package/dist/{YPM2AS64-CIbP9u3D.cjs → ZDWCUMSJ-oZu-r2ZF.cjs} +5 -1
- package/dist/index-CWznHXSn.js +12159 -0
- package/dist/index-ChRILqOt.cjs +13 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/package.json +18 -15
- package/dist/index-CgoLA_30.js +0 -11865
- package/dist/index-DPXVpNpJ.cjs +0 -13
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-ChRILqOt.cjs"),s=require("@chaibuilder/sdk");exports.ChaiBuilderPagesRealtime=e.ChaiBuilderPagesRealtime;exports.ChaiJsonInput=e.SmartJsonInput;exports.ImagePicker=e.ImagePicker;exports.LanguageSwitcher=e.LanguageSwitcher;exports.NestedPathSelector=e.NestedPathSelector;exports.PermissionChecker=e.PermissionChecker;exports.default=e.ChaiBuilderPages;exports.registerChaiLoginComponent=e.registerLoginComponent;exports.registerChaiSiteSetting=e.registerChaiSiteSetting;exports.useActivePage=e.useActivePage;exports.useBuilderPageData=e.useBuilderPageData;exports.useChaiAuth=e.useChaiAuth;exports.useChaiCurrentPage=e.useCurrentPage;exports.useChaiFetch=e.useChaiFetch;exports.useChaiUserInfo=e.useChaiUserInfo;exports.useClearAll=e.useClearAll;exports.useFallbackLang=e.useFallbackLang;exports.useFetch=e.useFetch;exports.useGotoPage=e.useGotoPage;exports.useLanguagePages=e.useLanguagePages;exports.usePageTypes=e.usePageTypes;exports.useReloadPage=e.useReloadPage;exports.useUpdateActivePageMetadata=e.useUpdateActivePageMetadata;exports.useUserPermissions=e.useUserRoleAndPermissions;exports.useWebsitePages=e.useWebsitePages;exports.useWebsiteSetting=e.useWebsiteSetting;Object.keys(s).forEach(a=>{a!=="default"&&!Object.prototype.hasOwnProperty.call(exports,a)&&Object.defineProperty(exports,a,{enumerable:!0,get:()=>s[a]})});
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,8 @@ declare type ChaiBuilderPagesProps = {
|
|
|
23
23
|
onLogout?: () => void;
|
|
24
24
|
getAccessToken?: () => Promise<string>;
|
|
25
25
|
supabaseInstance?: SupabaseClient;
|
|
26
|
-
|
|
26
|
+
features?: Record<string, boolean>;
|
|
27
|
+
} & Pick<ChaiBuilderEditorProps, "onError" | "translations" | "locale" | "htmlDir" | "autoSave" | "autoSaveInterval" | "fallbackLang" | "languages" | "themePresets">;
|
|
27
28
|
|
|
28
29
|
export declare class ChaiBuilderPagesRealtime implements ChaiBuilderPagesRealtimeInterface {
|
|
29
30
|
private channelId;
|
|
@@ -106,7 +107,7 @@ declare type LoggedInUser = {
|
|
|
106
107
|
expiresAt: number;
|
|
107
108
|
};
|
|
108
109
|
|
|
109
|
-
export declare function NestedPathSelector({ data, onSelect, dataType, disabled
|
|
110
|
+
export declare function NestedPathSelector({ data, onSelect, dataType, disabled }: NestedPathSelectorProps): JSX.Element;
|
|
110
111
|
|
|
111
112
|
declare type NestedPathSelectorProps = {
|
|
112
113
|
data: Record<string, any>;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { al as s, a9 as t, a8 as i, a7 as u, Y as g, a6 as r, X as h, aa as o, ak as n, Z as P, _ as l, af as C, ab as c, ah as d, aj as m, a0 as p, a1 as f, ai as S, a2 as b, ac as k, a3 as A, a4 as L, a5 as F, ag as I, ad as U, ae as v } from "./index-
|
|
1
|
+
import { al as s, a9 as t, a8 as i, a7 as u, Y as g, a6 as r, X as h, aa as o, ak as n, Z as P, _ as l, af as C, ab as c, ah as d, aj as m, a0 as p, a1 as f, ai as S, a2 as b, ac as k, a3 as A, a4 as L, a5 as F, ag as I, ad as U, ae as v } from "./index-CWznHXSn.js";
|
|
2
2
|
export * from "@chaibuilder/sdk";
|
|
3
3
|
export {
|
|
4
4
|
s as ChaiBuilderPagesRealtime,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Suraj Air",
|
|
4
4
|
"license": "Private",
|
|
5
5
|
"homepage": "https://chaibuilder.com",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.13.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
@@ -65,9 +65,10 @@
|
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@chaibuilder/runtime": "2.2.0",
|
|
68
|
-
"@chaibuilder/sdk": "
|
|
68
|
+
"@chaibuilder/sdk": "3.0.3",
|
|
69
69
|
"@types/react": "*",
|
|
70
70
|
"@types/react-dom": "*",
|
|
71
|
+
"jotai": "2.14.0",
|
|
71
72
|
"react": "^18.0 || ^19.0 || ^19.1",
|
|
72
73
|
"react-dom": "^18.0 || ^19.0 || ^19.1"
|
|
73
74
|
},
|
|
@@ -81,25 +82,24 @@
|
|
|
81
82
|
},
|
|
82
83
|
"dependencies": {
|
|
83
84
|
"@chaibuilder/runtime": "2.2.0",
|
|
84
|
-
"@chaibuilder/sdk": "
|
|
85
|
+
"@chaibuilder/sdk": "3.0.3",
|
|
85
86
|
"@mhsdesign/jit-browser-tailwindcss": "^0.4.2",
|
|
87
|
+
"@radix-ui/react-icons": "^1.3.2",
|
|
88
|
+
"@supabase/supabase-js": "2.50.3",
|
|
86
89
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
87
90
|
"@tailwindcss/container-queries": "0.1.1",
|
|
88
91
|
"@tailwindcss/forms": "^0.5.10",
|
|
89
92
|
"@tailwindcss/typography": "^0.5.16",
|
|
90
|
-
"@tanstack/react-query": "^5.
|
|
91
|
-
"
|
|
92
|
-
"canvas": "3.
|
|
93
|
+
"@tanstack/react-query": "^5.90.2",
|
|
94
|
+
"add": "^2.0.6",
|
|
95
|
+
"canvas": "3.2.0",
|
|
93
96
|
"canvas-confetti": "1.9.3",
|
|
94
97
|
"compressorjs": "1.2.1",
|
|
95
|
-
"cssnano": "7.1.0",
|
|
96
98
|
"date-fns": "4.1.0",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"fs": "0.0.1-security",
|
|
100
|
-
"jotai": "2.12.1",
|
|
99
|
+
"framer-motion": "12.23.20",
|
|
100
|
+
"jotai": "2.14.0",
|
|
101
101
|
"lodash-es": "^4.17.21",
|
|
102
|
-
"lucide-react": "^0.
|
|
102
|
+
"lucide-react": "^0.544.0",
|
|
103
103
|
"path": "^0.12.7",
|
|
104
104
|
"react-diff-view": "3.3.2",
|
|
105
105
|
"react-dropzone": "^14.3.8",
|
|
@@ -108,18 +108,18 @@
|
|
|
108
108
|
"sonner": "^2.0.7",
|
|
109
109
|
"tailwind-merge": "^3.3.1",
|
|
110
110
|
"tailwindcss-animate": "^1.0.7",
|
|
111
|
-
"zod": "^4.0.17"
|
|
112
|
-
"@supabase/supabase-js": "2.50.3"
|
|
111
|
+
"zod": "^4.0.17"
|
|
113
112
|
},
|
|
114
113
|
"devDependencies": {
|
|
115
114
|
"@eslint/js": "^9.33.0",
|
|
116
|
-
"@tanstack/react-query-devtools": "^5.
|
|
115
|
+
"@tanstack/react-query-devtools": "^5.90.2",
|
|
117
116
|
"@testing-library/jest-dom": "^6.6.4",
|
|
118
117
|
"@testing-library/react": "^16.3.0",
|
|
119
118
|
"@testing-library/user-event": "^14.6.1",
|
|
120
119
|
"@types/canvas-confetti": "^1.9.0",
|
|
121
120
|
"@types/cors": "^2.8.19",
|
|
122
121
|
"@types/express": "^5.0.3",
|
|
122
|
+
"@types/express-fileupload": "1.5.1",
|
|
123
123
|
"@types/lodash-es": "^4.17.12",
|
|
124
124
|
"@types/node": "^22.10.10",
|
|
125
125
|
"@types/react": "^19.1.10",
|
|
@@ -128,11 +128,14 @@
|
|
|
128
128
|
"autoprefixer": "^10.4.20",
|
|
129
129
|
"chokidar": "^4.0.3",
|
|
130
130
|
"cors": "^2.8.5",
|
|
131
|
+
"cssnano": "7.1.1",
|
|
131
132
|
"dotenv": "^16.4.7",
|
|
132
133
|
"eslint": "^9.18.0",
|
|
133
134
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
134
135
|
"eslint-plugin-react-refresh": "^0.4.18",
|
|
135
136
|
"express": "^4.21.2",
|
|
137
|
+
"express-fileupload": "1.5.2",
|
|
138
|
+
"fs": "0.0.1-security",
|
|
136
139
|
"global-jsdom": "^26.0.0",
|
|
137
140
|
"globals": "^15.14.0",
|
|
138
141
|
"jotai-devtools": "^0.12.0",
|