@plasmicapp/react-web 0.2.190 → 0.2.192
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 +10 -1
- package/package.json +4 -4
package/dist/all.d.ts
CHANGED
|
@@ -11050,6 +11050,11 @@ interface PropTypeBase<P> {
|
|
|
11050
11050
|
* If true, does not allow the user to use a dynamic expression for this prop
|
|
11051
11051
|
*/
|
|
11052
11052
|
disableDynamicValue?: boolean;
|
|
11053
|
+
/**
|
|
11054
|
+
* If set to true, the component will be remounted when the prop value is updated.
|
|
11055
|
+
* (This behavior only appliees to canvas)
|
|
11056
|
+
*/
|
|
11057
|
+
forceRemount?: boolean;
|
|
11053
11058
|
}
|
|
11054
11059
|
declare type DefaultValueOrExpr<P, T> = {
|
|
11055
11060
|
defaultExpr?: undefined;
|
|
@@ -11228,6 +11233,9 @@ declare type DataPickerType<P> = ({
|
|
|
11228
11233
|
type: "exprEditor";
|
|
11229
11234
|
data: Record<string, any> | ContextDependentConfig<P, Record<string, any>>;
|
|
11230
11235
|
} & DefaultValueOrExpr<P, DataPickerValueType> & PropTypeBase<P>);
|
|
11236
|
+
declare type FormValidationRulesType<P> = {
|
|
11237
|
+
type: "formValidationRules";
|
|
11238
|
+
} & DefaultValueOrExpr<P, any> & PropTypeBase<P>;
|
|
11231
11239
|
declare type EventHandlerType<P> = {
|
|
11232
11240
|
type: "eventHandler";
|
|
11233
11241
|
argTypes: {
|
|
@@ -11342,7 +11350,7 @@ declare type ControlTypeBase = {
|
|
|
11342
11350
|
uncontrolledProp?: string;
|
|
11343
11351
|
};
|
|
11344
11352
|
declare type SupportControlled<T> = Extract<T, String | CustomControl<any>> | (Exclude<T, String | CustomControl<any>> & ControlTypeBase);
|
|
11345
|
-
declare type PropType$1<P> = SupportControlled<StringType<P> | BooleanType<P> | NumberType<P> | JSONLikeType<P> | ChoiceType<P> | ImageUrlType<P> | CustomType<P> | GraphQLType<P> | DataPickerType<P> | EventHandlerType<P>> | SlotType<P>;
|
|
11353
|
+
declare type PropType$1<P> = SupportControlled<StringType<P> | BooleanType<P> | NumberType<P> | JSONLikeType<P> | ChoiceType<P> | ImageUrlType<P> | CustomType<P> | GraphQLType<P> | DataPickerType<P> | FormValidationRulesType<P> | EventHandlerType<P>> | SlotType<P>;
|
|
11346
11354
|
declare type RestrictPropType$1<T, P> = T extends string ? SupportControlled<StringType<P> | ChoiceType<P> | JSONLikeType<P> | ImageUrlType<P> | CustomType<P> | DataPickerType<P>> : T extends boolean ? SupportControlled<BooleanType<P> | JSONLikeType<P> | CustomType<P> | DataPickerType<P>> : T extends number ? SupportControlled<NumberType<P> | JSONLikeType<P> | CustomType<P> | DataPickerType<P>> : PropType$1<P>;
|
|
11347
11355
|
interface ActionProps<P> {
|
|
11348
11356
|
componentProps: P;
|
|
@@ -11678,6 +11686,7 @@ declare global {
|
|
|
11678
11686
|
declare type TokenType = "color" | "spacing" | "font-family" | "font-size" | "line-height" | "opacity";
|
|
11679
11687
|
interface TokenRegistration {
|
|
11680
11688
|
name: string;
|
|
11689
|
+
displayName: string;
|
|
11681
11690
|
value: string;
|
|
11682
11691
|
type: TokenType;
|
|
11683
11692
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.192",
|
|
4
4
|
"description": "plasmic library for rendering in the presentational style",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
},
|
|
103
103
|
"prettier": {},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@plasmicapp/data-sources": "0.1.
|
|
105
|
+
"@plasmicapp/data-sources": "0.1.62",
|
|
106
106
|
"@plasmicapp/data-sources-context": "0.1.9",
|
|
107
|
-
"@plasmicapp/host": "1.0.
|
|
107
|
+
"@plasmicapp/host": "1.0.124",
|
|
108
108
|
"@plasmicapp/query": "0.1.61",
|
|
109
109
|
"@react-aria/checkbox": "^3.5.0",
|
|
110
110
|
"@react-aria/focus": "^3.7.0",
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
"react": ">=16.8.0",
|
|
172
172
|
"react-dom": ">=16.8.0"
|
|
173
173
|
},
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "36fcd311054efa3557a2c78a63cec7c05e006979"
|
|
175
175
|
}
|