@plasmicapp/react-web 0.2.177 → 0.2.178

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 +20 -0
  2. package/package.json +4 -4
package/dist/all.d.ts CHANGED
@@ -11019,9 +11019,20 @@ interface PropTypeBase<P> {
11019
11019
  * markdown in the text here.
11020
11020
  */
11021
11021
  exprHint?: string;
11022
+ /**
11023
+ * Function for whether this prop should be hidden in the right panel,
11024
+ * given the current props for this component
11025
+ */
11022
11026
  hidden?: ContextDependentConfig<P, boolean>;
11023
11027
  readOnly?: boolean | ContextDependentConfig<P, boolean>;
11028
+ /**
11029
+ * If true, will hide the prop in a collapsed section; good for props that
11030
+ * should not usually be used.
11031
+ */
11024
11032
  advanced?: boolean;
11033
+ /**
11034
+ * If true, does not allow the user to use a dynamic expression for this prop
11035
+ */
11025
11036
  disableDynamicValue?: boolean;
11026
11037
  }
11027
11038
  declare type DefaultValueOrExpr<P, T> = {
@@ -11260,6 +11271,15 @@ declare type SlotType<P> = "slot" | ({
11260
11271
  * repeatedElement().
11261
11272
  */
11262
11273
  isRepeated?: boolean;
11274
+ /**
11275
+ * A nicer, human-readable display name for your slot prop
11276
+ */
11277
+ displayName?: string;
11278
+ /**
11279
+ * Function for whether this slot should be hidden from the left tree,
11280
+ * given the current props for this component
11281
+ */
11282
+ hidden?: ContextDependentConfig<P, boolean>;
11263
11283
  /**
11264
11284
  * If slot is a render prop (accepts a function that takes in some
11265
11285
  * arguments and returns some JSX), then specify the names of the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.177",
3
+ "version": "0.2.178",
4
4
  "description": "plasmic library for rendering in the presentational style",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -86,9 +86,9 @@
86
86
  },
87
87
  "prettier": {},
88
88
  "dependencies": {
89
- "@plasmicapp/data-sources": "0.1.50",
89
+ "@plasmicapp/data-sources": "0.1.51",
90
90
  "@plasmicapp/data-sources-context": "0.1.7",
91
- "@plasmicapp/host": "1.0.117",
91
+ "@plasmicapp/host": "1.0.118",
92
92
  "@plasmicapp/query": "0.1.61",
93
93
  "@react-aria/checkbox": "^3.5.0",
94
94
  "@react-aria/focus": "^3.7.0",
@@ -155,5 +155,5 @@
155
155
  "react": ">=16.8.0",
156
156
  "react-dom": ">=16.8.0"
157
157
  },
158
- "gitHead": "0b3533eeda3f61856866187f278377c3672426ec"
158
+ "gitHead": "f5d0cd2ad8930d509f48d608bda4829c5158dc00"
159
159
  }