@plasmicapp/react-web 0.2.240 → 0.2.241

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.
Files changed (2) hide show
  1. package/dist/all.d.ts +7 -0
  2. package/package.json +4 -4
package/dist/all.d.ts CHANGED
@@ -11343,6 +11343,13 @@ 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>;
11346
11353
  }
11347
11354
  interface FunctionParam<P> {
11348
11355
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.240",
3
+ "version": "0.2.241",
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.98",
89
+ "@plasmicapp/data-sources": "0.1.99",
90
90
  "@plasmicapp/data-sources-context": "0.1.11",
91
- "@plasmicapp/host": "1.0.153",
91
+ "@plasmicapp/host": "1.0.154",
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": "137e58313cc95457f9278f9c4161982afc8af5a7"
158
+ "gitHead": "98f55a13c36ec563fe7e8f286167d0c3f241fee8"
159
159
  }