@plasmicapp/react-web 0.2.392 → 0.2.394

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 -4
  2. package/package.json +4 -4
package/dist/all.d.ts CHANGED
@@ -11976,12 +11976,15 @@ interface EventHandlerType<P> extends PropTypeBase<P> {
11976
11976
  type: ArgType<any>;
11977
11977
  }[];
11978
11978
  }
11979
+ type ChoiceValue = string | number | boolean;
11980
+ type ChoiceObject = {
11981
+ label: string;
11982
+ value: ChoiceValue;
11983
+ };
11984
+ type ChoiceOptions = ChoiceValue[] | ChoiceObject[];
11979
11985
  interface ChoiceTypeBase$1<P, T> extends PropTypeBaseDefault<P, T> {
11980
11986
  type: "choice";
11981
- options: (string | number | boolean)[] | {
11982
- label: string;
11983
- value: string | number | boolean;
11984
- }[] | ContextDependentConfig$1<P, string[] | {
11987
+ options: ChoiceOptions | ContextDependentConfig$1<P, string[] | {
11985
11988
  label: string;
11986
11989
  value: string | number | boolean;
11987
11990
  }[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.392",
3
+ "version": "0.2.394",
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",
@@ -96,9 +96,9 @@
96
96
  },
97
97
  "dependencies": {
98
98
  "@plasmicapp/auth-react": "0.0.22",
99
- "@plasmicapp/data-sources": "0.1.185",
99
+ "@plasmicapp/data-sources": "0.1.187",
100
100
  "@plasmicapp/data-sources-context": "0.1.21",
101
- "@plasmicapp/host": "1.0.221",
101
+ "@plasmicapp/host": "1.0.223",
102
102
  "@plasmicapp/loader-splits": "1.0.64",
103
103
  "@plasmicapp/nextjs-app-router": "1.0.16",
104
104
  "@plasmicapp/prepass": "1.0.19",
@@ -155,5 +155,5 @@
155
155
  "react": ">=16.8.0",
156
156
  "react-dom": ">=16.8.0"
157
157
  },
158
- "gitHead": "6211d514673eb80959315c1ad860e9be30a6a466"
158
+ "gitHead": "c1194c842baeafd0687dbc2dcbe03fbd70b877d2"
159
159
  }