@plasmicapp/react-web 0.2.283 → 0.2.285
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 +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +1 -1
- package/dist/react-web.esm.js.map +1 -1
- package/dist/render/PlasmicSlot.d.ts +2 -2
- package/package.json +2 -2
- package/skinny/dist/index.js +1 -1
- package/skinny/dist/index.js.map +1 -1
- package/skinny/dist/render/PlasmicSlot.d.ts +2 -2
package/dist/all.d.ts
CHANGED
|
@@ -12322,12 +12322,12 @@ declare function PlasmicSlot<T extends keyof JSX.IntrinsicElements = "div">(prop
|
|
|
12322
12322
|
as?: T;
|
|
12323
12323
|
defaultContents?: React$1.ReactNode;
|
|
12324
12324
|
value?: React$1.ReactNode;
|
|
12325
|
-
}): React$1.
|
|
12325
|
+
}): React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>> | null;
|
|
12326
12326
|
declare function renderPlasmicSlot<T extends keyof JSX.IntrinsicElements = "div">(opts: {
|
|
12327
12327
|
as?: T;
|
|
12328
12328
|
defaultContents?: React$1.ReactNode;
|
|
12329
12329
|
value?: React$1.ReactNode;
|
|
12330
|
-
}): React$1.
|
|
12330
|
+
}): React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>> | null;
|
|
12331
12331
|
|
|
12332
12332
|
type Queries = {
|
|
12333
12333
|
[name: string]: string;
|
package/dist/index.cjs.js
CHANGED
|
@@ -1562,7 +1562,7 @@ function renderPlasmicSlot(opts) {
|
|
|
1562
1562
|
if (nonEmptyProps.length === 0) {
|
|
1563
1563
|
// No attrs to apply to the slot (which means the slot is unstyled), then
|
|
1564
1564
|
// just render the content directly; no need for style wrapper.
|
|
1565
|
-
return
|
|
1565
|
+
return content;
|
|
1566
1566
|
}
|
|
1567
1567
|
return React__namespace.createElement(as || "span", mergeProps({ className: "__wab_slot" }, rest), content);
|
|
1568
1568
|
}
|