@plasmicapp/react-web 0.2.240 → 0.2.242
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 +18 -0
- package/package.json +4 -4
package/dist/all.d.ts
CHANGED
|
@@ -11343,6 +11343,24 @@ interface CodeComponentMeta<P> {
|
|
|
11343
11343
|
*/
|
|
11344
11344
|
hideFromContentCreators?: boolean;
|
|
11345
11345
|
refActions?: Record<string, RefActionRegistration<P>>;
|
|
11346
|
+
/**
|
|
11347
|
+
* Optional function that takes in component props and context, and returns
|
|
11348
|
+
* a string that will be used for labeling this element in the Outline panel
|
|
11349
|
+
* on the left of the Studio. This makes it easy to identify an element when
|
|
11350
|
+
* looking at the tree.
|
|
11351
|
+
*/
|
|
11352
|
+
treeLabel?: ContextDependentConfig<P, string>;
|
|
11353
|
+
/**
|
|
11354
|
+
* The value of the CSS display property used by this component.
|
|
11355
|
+
* Plasmic passes in a class name prop to components to let users style them,
|
|
11356
|
+
* but normally this does not include layout properties like display.
|
|
11357
|
+
* However, if the user has set the components visibility to be visible
|
|
11358
|
+
* (for instance, in the base variant it was set to not visible ie display none,
|
|
11359
|
+
* but in a variant it's overridden to be visible), then Plasmic needs to know
|
|
11360
|
+
* what display property to set.
|
|
11361
|
+
* Defaults to "flex".
|
|
11362
|
+
*/
|
|
11363
|
+
defaultDisplay?: string;
|
|
11346
11364
|
}
|
|
11347
11365
|
interface FunctionParam<P> {
|
|
11348
11366
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.242",
|
|
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",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"prettier": {},
|
|
87
87
|
"dependencies": {
|
|
88
88
|
"@plasmicapp/auth-react": "0.0.6",
|
|
89
|
-
"@plasmicapp/data-sources": "0.1.
|
|
89
|
+
"@plasmicapp/data-sources": "0.1.100",
|
|
90
90
|
"@plasmicapp/data-sources-context": "0.1.11",
|
|
91
|
-
"@plasmicapp/host": "1.0.
|
|
91
|
+
"@plasmicapp/host": "1.0.155",
|
|
92
92
|
"@plasmicapp/prepass": "1.0.1",
|
|
93
93
|
"@plasmicapp/query": "0.1.67",
|
|
94
94
|
"@react-aria/checkbox": "^3.5.0",
|
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
"react": ">=16.8.0",
|
|
156
156
|
"react-dom": ">=16.8.0"
|
|
157
157
|
},
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "b2313dac07dd2e0466990ff0a64a24083c148931"
|
|
159
159
|
}
|