@plasmicapp/react-web 0.2.281 → 0.2.283
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.283",
|
|
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",
|
|
@@ -157,5 +157,5 @@
|
|
|
157
157
|
"react": ">=16.8.0",
|
|
158
158
|
"react-dom": ">=16.8.0"
|
|
159
159
|
},
|
|
160
|
-
"gitHead": "
|
|
160
|
+
"gitHead": "e45fdd538908a6edf3fff079f403ae0070bc43d0"
|
|
161
161
|
}
|
package/skinny/dist/index.js
CHANGED
|
@@ -21,6 +21,7 @@ import '@plasmicapp/host';
|
|
|
21
21
|
|
|
22
22
|
// https://stackoverflow.com/a/2117523
|
|
23
23
|
function uuidv4() {
|
|
24
|
+
// eslint-disable-next-line
|
|
24
25
|
// @ts-ignore
|
|
25
26
|
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, function (c) {
|
|
26
27
|
return (c ^
|
|
@@ -66,6 +67,7 @@ function triggerLogin(appId, authorizeEndpoint, redirectUri) {
|
|
|
66
67
|
params.set("response_type", "code");
|
|
67
68
|
params.set("code_challenge", code_challenge);
|
|
68
69
|
params.set("code_challenge_method", "S256");
|
|
70
|
+
params.set("origin_host", window.location.host);
|
|
69
71
|
if (redirectUri) {
|
|
70
72
|
params.set("redirect_uri", redirectUri);
|
|
71
73
|
}
|
|
@@ -211,7 +213,8 @@ function wrapFlexContainerChildren(children, hasGap) {
|
|
|
211
213
|
}
|
|
212
214
|
}
|
|
213
215
|
function createPlasmicElement(override, defaultRoot, defaultProps, wrapChildrenInFlex) {
|
|
214
|
-
if (!override ||
|
|
216
|
+
if (!override ||
|
|
217
|
+
(typeof override === "object" && Object.keys(override).length === 0)) {
|
|
215
218
|
return createElementWithChildren(defaultRoot, defaultProps, defaultProps.children);
|
|
216
219
|
}
|
|
217
220
|
var override2 = deriveOverride(override);
|