@plasmicapp/react-web 0.2.295 → 0.2.296
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/all.d.ts +4 -2
- package/package.json +9 -9
package/dist/all.d.ts
CHANGED
|
@@ -12334,7 +12334,9 @@ type Queries = {
|
|
|
12334
12334
|
};
|
|
12335
12335
|
declare function createUseScreenVariants(isMulti: boolean, screenQueries: Queries): () => string | string[] | undefined;
|
|
12336
12336
|
|
|
12337
|
-
|
|
12337
|
+
declare const PlasmicDataSourceContextProvider: React__default.Provider<PlasmicDataSourceContextValue | undefined>;
|
|
12338
|
+
|
|
12339
|
+
declare interface PlasmicDataSourceContextValue {
|
|
12338
12340
|
userAuthToken?: string | null;
|
|
12339
12341
|
isUserLoading?: boolean;
|
|
12340
12342
|
authRedirectUri?: string;
|
|
@@ -12347,6 +12349,7 @@ interface PlasmicDataSourceContextValue {
|
|
|
12347
12349
|
roleNames: string[];
|
|
12348
12350
|
} | null;
|
|
12349
12351
|
}
|
|
12352
|
+
|
|
12350
12353
|
declare function useCurrentUser(): {
|
|
12351
12354
|
email: string;
|
|
12352
12355
|
properties: Record<string, unknown> | null;
|
|
@@ -12357,7 +12360,6 @@ declare function useCurrentUser(): {
|
|
|
12357
12360
|
} | {
|
|
12358
12361
|
isLoggedIn: boolean;
|
|
12359
12362
|
};
|
|
12360
|
-
declare const PlasmicDataSourceContextProvider: React__default.Provider<PlasmicDataSourceContextValue | undefined>;
|
|
12361
12363
|
|
|
12362
12364
|
/**
|
|
12363
12365
|
* Returns whether the component is currently being server side rendered or
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.296",
|
|
4
4
|
"description": "plasmic library for rendering in the presentational style",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -86,13 +86,13 @@
|
|
|
86
86
|
"test-storybook": "test-storybook"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@plasmicapp/auth-react": "0.0.
|
|
90
|
-
"@plasmicapp/data-sources": "0.1.
|
|
91
|
-
"@plasmicapp/data-sources-context": "0.1.
|
|
92
|
-
"@plasmicapp/host": "1.0.
|
|
93
|
-
"@plasmicapp/loader-splits": "1.0.
|
|
94
|
-
"@plasmicapp/prepass": "1.0.
|
|
95
|
-
"@plasmicapp/query": "0.1.
|
|
89
|
+
"@plasmicapp/auth-react": "0.0.18",
|
|
90
|
+
"@plasmicapp/data-sources": "0.1.137",
|
|
91
|
+
"@plasmicapp/data-sources-context": "0.1.19",
|
|
92
|
+
"@plasmicapp/host": "1.0.179",
|
|
93
|
+
"@plasmicapp/loader-splits": "1.0.48",
|
|
94
|
+
"@plasmicapp/prepass": "1.0.12",
|
|
95
|
+
"@plasmicapp/query": "0.1.76",
|
|
96
96
|
"@react-aria/checkbox": "^3.11.2",
|
|
97
97
|
"@react-aria/focus": "^3.14.3",
|
|
98
98
|
"@react-aria/interactions": "^3.19.1",
|
|
@@ -157,5 +157,5 @@
|
|
|
157
157
|
"react": ">=16.8.0",
|
|
158
158
|
"react-dom": ">=16.8.0"
|
|
159
159
|
},
|
|
160
|
-
"gitHead": "
|
|
160
|
+
"gitHead": "48a2877c3dc093d101508fcdde2fd213055fdab9"
|
|
161
161
|
}
|