@plasmicapp/react-web 0.2.184 → 0.2.186
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 +3 -1
- package/dist/react-web.cjs.development.js +3 -3
- package/dist/react-web.cjs.development.js.map +1 -1
- package/dist/react-web.cjs.production.min.js +1 -1
- package/dist/react-web.cjs.production.min.js.map +1 -1
- package/dist/react-web.esm.js +3 -3
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +4 -4
- package/skinny/dist/index.js +4 -4
- package/skinny/dist/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.186",
|
|
4
4
|
"description": "plasmic library for rendering in the presentational style",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
},
|
|
103
103
|
"prettier": {},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@plasmicapp/data-sources": "0.1.
|
|
106
|
-
"@plasmicapp/data-sources-context": "0.1.
|
|
105
|
+
"@plasmicapp/data-sources": "0.1.56",
|
|
106
|
+
"@plasmicapp/data-sources-context": "0.1.8",
|
|
107
107
|
"@plasmicapp/host": "1.0.120",
|
|
108
108
|
"@plasmicapp/query": "0.1.61",
|
|
109
109
|
"@react-aria/checkbox": "^3.5.0",
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
"react": ">=16.8.0",
|
|
172
172
|
"react-dom": ">=16.8.0"
|
|
173
173
|
},
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "68151623f96fe4a3b4b70aee194a4f5af7bc3ede"
|
|
175
175
|
}
|
package/skinny/dist/index.js
CHANGED
|
@@ -1304,7 +1304,7 @@ function useDollarState(specs) {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
// we need to eager initialize all states in canvas to populate the data picker
|
|
1306
1306
|
$$state.specTreeLeaves.forEach(function (node) {
|
|
1307
|
-
var _a;
|
|
1307
|
+
var _a, _b;
|
|
1308
1308
|
var spec = node.getSpec();
|
|
1309
1309
|
if (spec.isRepeated) {
|
|
1310
1310
|
return;
|
|
@@ -1312,12 +1312,12 @@ function useDollarState(specs) {
|
|
|
1312
1312
|
var stateCell = getStateCellFrom$StateRoot($state, spec.pathObj);
|
|
1313
1313
|
var newSpec = specs.find(function (sp) { return sp.path === spec.path; });
|
|
1314
1314
|
if (!newSpec ||
|
|
1315
|
-
stateCell.initFuncHash === (newSpec === null || newSpec === void 0 ? void 0 : newSpec.initFuncHash)
|
|
1316
|
-
|
|
1315
|
+
(stateCell.initFuncHash === ((_a = newSpec === null || newSpec === void 0 ? void 0 : newSpec.initFuncHash) !== null && _a !== void 0 ? _a : "") &&
|
|
1316
|
+
stateCell.initialValue !== UNINITIALIZED)) {
|
|
1317
1317
|
return;
|
|
1318
1318
|
}
|
|
1319
1319
|
stateCell.initFunc = newSpec.initFunc;
|
|
1320
|
-
stateCell.initFuncHash = (
|
|
1320
|
+
stateCell.initFuncHash = (_b = newSpec.initFuncHash) !== null && _b !== void 0 ? _b : "";
|
|
1321
1321
|
var init = spec.valueProp
|
|
1322
1322
|
? $$state.env.$props[spec.valueProp]
|
|
1323
1323
|
: spec.initFunc
|