@chaibuilder/pages 0.12.6 → 0.13.1
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-BM50QLiT.js → 2AITGKQY-CENX4_xF.js} +2 -2
- package/dist/{MWZ6AO7Z-Xu1OhV0R.cjs → 2AITGKQY-DULB7thn.cjs} +1 -1
- package/dist/{LNWAZHJI-D3mTYSvJ.js → NCMVHL6D-C876JEj5.js} +2 -2
- package/dist/{LNWAZHJI-D-c3gUx4.cjs → NCMVHL6D-CqalO-g8.cjs} +1 -1
- package/dist/{YPM2AS64-BuQUTzlo.cjs → ZDWCUMSJ-B7wBWmr3.cjs} +5 -1
- package/dist/{YPM2AS64-C-zNNnLJ.js → ZDWCUMSJ-BTetztmo.js} +5 -1
- package/dist/{index-D3cpVwh-.cjs → index-DxMxs0cm.cjs} +7 -7
- package/dist/{index-C7eKzJrC.js → index-IB36s074.js} +2633 -2660
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/package.json +17 -15
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-DxMxs0cm.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
|
@@ -14,7 +14,7 @@ export default ChaiBuilderPages;
|
|
|
14
14
|
|
|
15
15
|
declare type ChaiBuilderPagesProps = {
|
|
16
16
|
hasReactQueryProvider?: boolean;
|
|
17
|
-
|
|
17
|
+
topLeftCorner?: React.FC;
|
|
18
18
|
apiUrl?: string;
|
|
19
19
|
usersApiUrl?: string;
|
|
20
20
|
assetsApiUrl?: string;
|
|
@@ -24,7 +24,7 @@ declare type ChaiBuilderPagesProps = {
|
|
|
24
24
|
getAccessToken?: () => Promise<string>;
|
|
25
25
|
supabaseInstance?: SupabaseClient;
|
|
26
26
|
features?: Record<string, boolean>;
|
|
27
|
-
} & Pick<ChaiBuilderEditorProps, "onError" | "translations" | "locale" | "htmlDir" | "
|
|
27
|
+
} & Pick<ChaiBuilderEditorProps, "onError" | "translations" | "locale" | "htmlDir" | "autoSave" | "autoSaveInterval" | "fallbackLang" | "languages" | "themePresets">;
|
|
28
28
|
|
|
29
29
|
export declare class ChaiBuilderPagesRealtime implements ChaiBuilderPagesRealtimeInterface {
|
|
30
30
|
private channelId;
|
|
@@ -107,7 +107,7 @@ declare type LoggedInUser = {
|
|
|
107
107
|
expiresAt: number;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
|
-
export declare function NestedPathSelector({ data, onSelect, dataType, disabled
|
|
110
|
+
export declare function NestedPathSelector({ data, onSelect, dataType, disabled }: NestedPathSelectorProps): JSX.Element;
|
|
111
111
|
|
|
112
112
|
declare type NestedPathSelectorProps = {
|
|
113
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-IB36s074.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.1",
|
|
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,23 @@
|
|
|
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.1.2",
|
|
93
|
+
"@tanstack/react-query": "^5.90.2",
|
|
94
|
+
"canvas": "3.2.0",
|
|
93
95
|
"canvas-confetti": "1.9.3",
|
|
94
96
|
"compressorjs": "1.2.1",
|
|
95
|
-
"cssnano": "7.1.0",
|
|
96
97
|
"date-fns": "4.1.0",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"fs": "0.0.1-security",
|
|
100
|
-
"jotai": "2.12.1",
|
|
98
|
+
"framer-motion": "12.23.20",
|
|
99
|
+
"jotai": "2.14.0",
|
|
101
100
|
"lodash-es": "^4.17.21",
|
|
102
|
-
"lucide-react": "^0.
|
|
101
|
+
"lucide-react": "^0.544.0",
|
|
103
102
|
"path": "^0.12.7",
|
|
104
103
|
"react-diff-view": "3.3.2",
|
|
105
104
|
"react-dropzone": "^14.3.8",
|
|
@@ -108,18 +107,18 @@
|
|
|
108
107
|
"sonner": "^2.0.7",
|
|
109
108
|
"tailwind-merge": "^3.3.1",
|
|
110
109
|
"tailwindcss-animate": "^1.0.7",
|
|
111
|
-
"zod": "^4.0.17"
|
|
112
|
-
"@supabase/supabase-js": "2.50.3"
|
|
110
|
+
"zod": "^4.0.17"
|
|
113
111
|
},
|
|
114
112
|
"devDependencies": {
|
|
115
113
|
"@eslint/js": "^9.33.0",
|
|
116
|
-
"@tanstack/react-query-devtools": "^5.
|
|
114
|
+
"@tanstack/react-query-devtools": "^5.90.2",
|
|
117
115
|
"@testing-library/jest-dom": "^6.6.4",
|
|
118
116
|
"@testing-library/react": "^16.3.0",
|
|
119
117
|
"@testing-library/user-event": "^14.6.1",
|
|
120
118
|
"@types/canvas-confetti": "^1.9.0",
|
|
121
119
|
"@types/cors": "^2.8.19",
|
|
122
120
|
"@types/express": "^5.0.3",
|
|
121
|
+
"@types/express-fileupload": "1.5.1",
|
|
123
122
|
"@types/lodash-es": "^4.17.12",
|
|
124
123
|
"@types/node": "^22.10.10",
|
|
125
124
|
"@types/react": "^19.1.10",
|
|
@@ -128,11 +127,14 @@
|
|
|
128
127
|
"autoprefixer": "^10.4.20",
|
|
129
128
|
"chokidar": "^4.0.3",
|
|
130
129
|
"cors": "^2.8.5",
|
|
130
|
+
"cssnano": "7.1.1",
|
|
131
131
|
"dotenv": "^16.4.7",
|
|
132
132
|
"eslint": "^9.18.0",
|
|
133
133
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
134
134
|
"eslint-plugin-react-refresh": "^0.4.18",
|
|
135
135
|
"express": "^4.21.2",
|
|
136
|
+
"express-fileupload": "1.5.2",
|
|
137
|
+
"fs": "0.0.1-security",
|
|
136
138
|
"global-jsdom": "^26.0.0",
|
|
137
139
|
"globals": "^15.14.0",
|
|
138
140
|
"jotai-devtools": "^0.12.0",
|