@plasmicapp/react-web 0.2.289 → 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/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.289",
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",
@@ -157,5 +157,5 @@
157
157
  "react": ">=16.8.0",
158
158
  "react-dom": ">=16.8.0"
159
159
  },
160
- "gitHead": "1089fbd93d2ac0d2ac7e0e8f755ba98d5c21f0eb"
160
+ "gitHead": "27a7227956f9467cc0910d5f83d34c15bad08f3c"
161
161
  }
@@ -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