@plasmicapp/react-web 0.2.244 → 0.2.246

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 +10 -4
  2. package/package.json +7 -4
package/dist/all.d.ts CHANGED
@@ -11518,6 +11518,12 @@ interface ColorType<P> extends PropTypeBaseDefault<P, string> {
11518
11518
  */
11519
11519
  keepCssVar?: boolean;
11520
11520
  }
11521
+ interface DateStringType<P> extends PropTypeBaseDefault<P, string> {
11522
+ type: "dateString";
11523
+ }
11524
+ interface DateRangeStringsType<P> extends PropTypeBaseDefault<P, [string, string]> {
11525
+ type: "dateRangeStrings";
11526
+ }
11521
11527
  interface ClassType<P> extends PropTypeBase<P> {
11522
11528
  type: "class";
11523
11529
  /**
@@ -11651,13 +11657,13 @@ interface RichDataPickerType<P> extends PropTypeBaseDefault<P, DataPickerValueTy
11651
11657
  type: "dataSelector";
11652
11658
  data?: Record<string, any> | ContextDependentConfig<P, Record<string, any>>;
11653
11659
  alwaysShowValuePathAsLabel?: boolean;
11654
- mergeWithExternalData?: boolean;
11660
+ isolateEnv?: boolean;
11655
11661
  }
11656
11662
  type DataPickerType<P> = "dataPicker" | RichDataPickerType<P>;
11657
11663
  interface RichExprEditorType<P> extends PropTypeBaseDefault<P, DataPickerValueType> {
11658
11664
  type: "exprEditor";
11659
11665
  data?: Record<string, any> | ContextDependentConfig<P, Record<string, any>>;
11660
- mergeWithExternalData?: boolean;
11666
+ isolateEnv?: boolean;
11661
11667
  }
11662
11668
  type ExprEditorType<P> = "exprEditor" | RichExprEditorType<P>;
11663
11669
  interface FormValidationRulesType<P> extends PropTypeBaseDefault<P, any> {
@@ -11775,8 +11781,8 @@ interface RichCustomType<P> extends PropTypeBaseDefault<P, any> {
11775
11781
  }
11776
11782
  type CustomType<P> = RichCustomType<P> | CustomControl<P>;
11777
11783
  type PrimitiveType<P = any> = Extract<StringType<P> | BooleanType<P> | NumberType<P> | JSONLikeType<P>, string>;
11778
- type PropType$1<P> = StringType<P> | BooleanType<P> | GraphQLType<P> | NumberType<P> | JSONLikeType<P> | DataSourceType<P> | DataPickerType<P> | ExprEditorType<P> | FormValidationRulesType<P> | EventHandlerType<P> | ChoiceType<P> | CustomType<P> | ImageUrlType<P> | SlotType<P>;
11779
- type StringCompatType<P> = StringType<P> | ChoiceType<P> | JSONLikeType<P> | ImageUrlType<P> | CustomType<P> | DataPickerType<P>;
11784
+ type PropType$1<P> = StringType<P> | BooleanType<P> | GraphQLType<P> | NumberType<P> | JSONLikeType<P> | DataSourceType<P> | DataPickerType<P> | ExprEditorType<P> | FormValidationRulesType<P> | EventHandlerType<P> | ChoiceType<P> | CustomType<P> | ImageUrlType<P> | SlotType<P> | DateStringType<P> | DateRangeStringsType<P>;
11785
+ type StringCompatType<P> = DateStringType<P> | StringType<P> | ChoiceType<P> | JSONLikeType<P> | ImageUrlType<P> | CustomType<P> | DataPickerType<P>;
11780
11786
  type BoolCompatType<P> = BooleanType<P> | CustomType<P> | DataPickerType<P>;
11781
11787
  type NumberCompatType<P> = NumberType<P> | CustomType<P> | DataPickerType<P>;
11782
11788
  type RestrictPropType$1<T, P> = T extends string ? StringCompatType<P> : T extends boolean ? BoolCompatType<P> : T extends number ? NumberCompatType<P> : PropType$1<P>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.244",
3
+ "version": "0.2.246",
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",
@@ -57,6 +57,9 @@
57
57
  },
58
58
  "./skinny/dist/plume/*": {
59
59
  "import": "./skinny/dist/plume/*/index.js"
60
+ },
61
+ "./additional-types-PlasmicImg": {
62
+ "types": "./dist/render/PlasmicImg/index.d.ts"
60
63
  }
61
64
  },
62
65
  "files": [
@@ -86,9 +89,9 @@
86
89
  "prettier": {},
87
90
  "dependencies": {
88
91
  "@plasmicapp/auth-react": "0.0.6",
89
- "@plasmicapp/data-sources": "0.1.102",
92
+ "@plasmicapp/data-sources": "0.1.104",
90
93
  "@plasmicapp/data-sources-context": "0.1.11",
91
- "@plasmicapp/host": "1.0.157",
94
+ "@plasmicapp/host": "1.0.159",
92
95
  "@plasmicapp/prepass": "1.0.2",
93
96
  "@plasmicapp/query": "0.1.67",
94
97
  "@react-aria/checkbox": "^3.5.0",
@@ -155,5 +158,5 @@
155
158
  "react": ">=16.8.0",
156
159
  "react-dom": ">=16.8.0"
157
160
  },
158
- "gitHead": "298c58ac987632c558aaf32afed63aab5a26e154"
161
+ "gitHead": "61a308488cd6fd80d9dcd5c0fa23dc7d3cd97e1f"
159
162
  }