@plasmicapp/host
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -39,2 +39,6 @@ /// <reference types="react" /> | ||
}; | ||
declare type ImageUrlType = "imageUrl" | ({ | ||
type: "imageUrl"; | ||
defaultValue?: string; | ||
} & PropTypeBase); | ||
export declare type PrimitiveType = Extract<StringType | BooleanType | NumberType | JSONLikeType, String>; | ||
@@ -51,4 +55,4 @@ declare type ControlTypeBase = { | ||
declare type SupportControlled<T> = Extract<T, String> | (Exclude<T, String> & ControlTypeBase); | ||
export declare type PropType = SupportControlled<StringType | BooleanType | NumberType | JSONLikeType | ChoiceType> | SlotType; | ||
declare type RestrictPropType<T> = T extends string ? SupportControlled<StringType | ChoiceType | JSONLikeType> : T extends boolean ? SupportControlled<BooleanType | JSONLikeType> : T extends number ? SupportControlled<NumberType | JSONLikeType> : PropType; | ||
export declare type PropType = SupportControlled<StringType | BooleanType | NumberType | JSONLikeType | ChoiceType | ImageUrlType> | SlotType; | ||
declare type RestrictPropType<T> = T extends string ? SupportControlled<StringType | ChoiceType | JSONLikeType | ImageUrlType> : T extends boolean ? SupportControlled<BooleanType | JSONLikeType> : T extends number ? SupportControlled<NumberType | JSONLikeType> : PropType; | ||
interface ComponentTemplate<P> extends Omit<CodeComponentElement<P>, "type" | "name"> { | ||
@@ -55,0 +59,0 @@ /** |
{ | ||
"name": "@plasmicapp/host", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "plasmic library for app hosting", | ||
@@ -32,3 +32,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@plasmicapp/preamble": "0.0.19", | ||
"@plasmicapp/preamble": "0.0.20", | ||
"window-or-global": "^1.0.1" | ||
@@ -35,0 +35,0 @@ }, |
@@ -39,2 +39,6 @@ /// <reference types="react" /> | ||
}; | ||
declare type ImageUrlType = "imageUrl" | ({ | ||
type: "imageUrl"; | ||
defaultValue?: string; | ||
} & PropTypeBase); | ||
export declare type PrimitiveType = Extract<StringType | BooleanType | NumberType | JSONLikeType, String>; | ||
@@ -51,4 +55,4 @@ declare type ControlTypeBase = { | ||
declare type SupportControlled<T> = Extract<T, String> | (Exclude<T, String> & ControlTypeBase); | ||
export declare type PropType = SupportControlled<StringType | BooleanType | NumberType | JSONLikeType | ChoiceType> | SlotType; | ||
declare type RestrictPropType<T> = T extends string ? SupportControlled<StringType | ChoiceType | JSONLikeType> : T extends boolean ? SupportControlled<BooleanType | JSONLikeType> : T extends number ? SupportControlled<NumberType | JSONLikeType> : PropType; | ||
export declare type PropType = SupportControlled<StringType | BooleanType | NumberType | JSONLikeType | ChoiceType | ImageUrlType> | SlotType; | ||
declare type RestrictPropType<T> = T extends string ? SupportControlled<StringType | ChoiceType | JSONLikeType | ImageUrlType> : T extends boolean ? SupportControlled<BooleanType | JSONLikeType> : T extends number ? SupportControlled<NumberType | JSONLikeType> : PropType; | ||
interface ComponentTemplate<P> extends Omit<CodeComponentElement<P>, "type" | "name"> { | ||
@@ -55,0 +59,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
126076
1043
+ Added@plasmicapp/preamble@0.0.20(transitive)
- Removed@plasmicapp/preamble@0.0.19(transitive)
Updated@plasmicapp/preamble@0.0.20