@plasmicapp/react-web 0.2.288 → 0.2.290
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/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +3 -3
- package/dist/react-web.esm.js.map +1 -1
- package/lib/plasmic.css +10 -5
- package/package.json +10 -10
- package/skinny/dist/index.js +3 -3
- package/skinny/dist/index.js.map +1 -1
package/lib/plasmic.css
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
.__wab_flex-container
|
|
1
|
+
.__wab_flex-container,
|
|
2
|
+
.ρfc {
|
|
2
3
|
display: flex;
|
|
3
4
|
flex: 1;
|
|
4
5
|
align-self: stretch;
|
|
5
6
|
pointer-events: none;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
|
-
.__wab_flex-container >
|
|
9
|
+
.__wab_flex-container > *,
|
|
10
|
+
.ρfc > * {
|
|
9
11
|
pointer-events: auto;
|
|
10
12
|
}
|
|
11
13
|
|
|
12
|
-
.__wab_slot
|
|
14
|
+
.__wab_slot,
|
|
15
|
+
.ρs {
|
|
13
16
|
display: contents;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
|
-
.__wab_slot-string-wrapper
|
|
19
|
+
.__wab_slot-string-wrapper,
|
|
20
|
+
.ρsw {
|
|
17
21
|
position: relative;
|
|
18
22
|
}
|
|
19
23
|
|
|
@@ -29,7 +33,8 @@
|
|
|
29
33
|
flex-shrink: 0;
|
|
30
34
|
}
|
|
31
35
|
|
|
32
|
-
.__wab_slot > .__wab_img-wrapper
|
|
36
|
+
.__wab_slot > .__wab_img-wrapper,
|
|
37
|
+
.ρs > .__wab_img-wrapper {
|
|
33
38
|
display: block;
|
|
34
39
|
}
|
|
35
40
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.290",
|
|
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",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"test": "yarn --cwd=../.. test",
|
|
79
79
|
"lint": "eslint",
|
|
80
80
|
"upgrade-aria": "yarn upgrade --latest --scope @react-aria && yarn upgrade --latest --scope @react-stately && yarn upgrade --latest --scope @react-types",
|
|
81
|
-
"
|
|
81
|
+
"prepublishOnly": "npm run build",
|
|
82
82
|
"size": "size-limit",
|
|
83
83
|
"analyze": "size-limit --why",
|
|
84
84
|
"storybook": "storybook dev -p 6006",
|
|
@@ -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.16",
|
|
90
|
+
"@plasmicapp/data-sources": "0.1.135",
|
|
91
|
+
"@plasmicapp/data-sources-context": "0.1.18",
|
|
92
|
+
"@plasmicapp/host": "1.0.178",
|
|
93
|
+
"@plasmicapp/loader-splits": "1.0.45",
|
|
94
|
+
"@plasmicapp/prepass": "1.0.11",
|
|
95
|
+
"@plasmicapp/query": "0.1.75",
|
|
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": "27a7227956f9467cc0910d5f83d34c15bad08f3c"
|
|
161
161
|
}
|
package/skinny/dist/index.js
CHANGED
|
@@ -201,7 +201,7 @@ function wrapFlexContainerChildren(children, hasGap) {
|
|
|
201
201
|
// otherwise if we toggle between with and without gap, React reconciliation
|
|
202
202
|
// will blow away the children tree and all state if we switch from having
|
|
203
203
|
// a wrapper and not.
|
|
204
|
-
var className = hasGap ? "__wab_flex-container" : "__wab_passthrough";
|
|
204
|
+
var className = hasGap ? "__wab_flex-container ρfc" : "__wab_passthrough";
|
|
205
205
|
if (!children) {
|
|
206
206
|
return null;
|
|
207
207
|
}
|
|
@@ -556,7 +556,7 @@ function renderPlasmicSlot(opts) {
|
|
|
556
556
|
// container (you cannot apply margin to just a text node).
|
|
557
557
|
var maybeString = maybeAsString(content);
|
|
558
558
|
if (maybeString) {
|
|
559
|
-
content = React.createElement("span", { className: "__wab_slot-string-wrapper" }, maybeString);
|
|
559
|
+
content = (React.createElement("span", { className: "__wab_slot-string-wrapper \u03C1sw" }, maybeString));
|
|
560
560
|
}
|
|
561
561
|
var nonEmptyProps = Object.keys(rest).filter(function (p) { return !!rest[p]; });
|
|
562
562
|
if (nonEmptyProps.length === 0) {
|
|
@@ -564,7 +564,7 @@ function renderPlasmicSlot(opts) {
|
|
|
564
564
|
// just render the content directly; no need for style wrapper.
|
|
565
565
|
return content;
|
|
566
566
|
}
|
|
567
|
-
return React.createElement(as || "span", mergeProps({ className: "__wab_slot" }, rest), content);
|
|
567
|
+
return React.createElement(as || "span", mergeProps({ className: "__wab_slot ρs" }, rest), content);
|
|
568
568
|
}
|
|
569
569
|
function maybeAsString(node) {
|
|
570
570
|
// Unwrap fragments
|