@histoire/controls
Advanced tools
Comparing version 0.11.9 to 0.12.0
@@ -5,3 +5,3 @@ import { HstControlOption } from '../../types'; | ||
modelValue: string; | ||
options: HstControlOption[]; | ||
options: string[] | HstControlOption[]; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
@@ -12,3 +12,3 @@ "update:modelValue": (value: string) => void; | ||
modelValue: string; | ||
options: HstControlOption[]; | ||
options: string[] | HstControlOption[]; | ||
}>>> & { | ||
@@ -15,0 +15,0 @@ "onUpdate:modelValue"?: (value: string) => any; |
@@ -5,3 +5,3 @@ import { HstControlOption } from '../../types'; | ||
modelValue: Array<string>; | ||
options: HstControlOption[]; | ||
options: string[] | HstControlOption[]; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
@@ -12,3 +12,3 @@ "update:modelValue": (value: string[]) => void; | ||
modelValue: Array<string>; | ||
options: HstControlOption[]; | ||
options: string[] | HstControlOption[]; | ||
}>>> & { | ||
@@ -15,0 +15,0 @@ "onUpdate:modelValue"?: (value: string[]) => any; |
@@ -19,3 +19,3 @@ export declare const HstButton: import("@histoire/vendors/vue").DefineComponent<{ | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>; | ||
required: true; | ||
@@ -34,3 +34,3 @@ }; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>; | ||
required: true; | ||
@@ -71,3 +71,3 @@ }; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>; | ||
required: true; | ||
@@ -86,3 +86,3 @@ }; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>; | ||
required: true; | ||
@@ -376,3 +376,3 @@ }; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>; | ||
required: true; | ||
@@ -391,3 +391,3 @@ }; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>; | ||
required: true; | ||
@@ -428,3 +428,3 @@ }; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>; | ||
required: true; | ||
@@ -443,3 +443,3 @@ }; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>; | ||
required: true; | ||
@@ -579,2 +579,52 @@ }; | ||
}, {}>; | ||
HstRadio: import("@histoire/vendors/vue").DefineComponent<{ | ||
title: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
}; | ||
modelValue: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
required: true; | ||
}; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
required: true; | ||
}; | ||
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: string) => void; | ||
}, string, import("@histoire/vendors/vue").VNodeProps & import("@histoire/vendors/vue").AllowedComponentProps & import("@histoire/vendors/vue").ComponentCustomProps, Readonly<import("@histoire/vendors/vue").ExtractPropTypes<{ | ||
title: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
}; | ||
modelValue: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
required: true; | ||
}; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
required: true; | ||
}; | ||
}>> & { | ||
"onUpdate:modelValue"?: (value: string) => any; | ||
}, {}>; | ||
HstJson: import("@histoire/vendors/vue").DefineComponent<{ | ||
title: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
}; | ||
modelValue: { | ||
type: import("@histoire/vendors/vue").PropType<unknown>; | ||
required: true; | ||
}; | ||
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, { | ||
'update:modelValue': (newValue: unknown) => true; | ||
}, string, import("@histoire/vendors/vue").VNodeProps & import("@histoire/vendors/vue").AllowedComponentProps & import("@histoire/vendors/vue").ComponentCustomProps, Readonly<import("@histoire/vendors/vue").ExtractPropTypes<{ | ||
title: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
}; | ||
modelValue: { | ||
type: import("@histoire/vendors/vue").PropType<unknown>; | ||
required: true; | ||
}; | ||
}>> & { | ||
"onUpdate:modelValue"?: (newValue: unknown) => any; | ||
}, {}>; | ||
HstColorShades: import("@histoire/vendors/vue").DefineComponent<{ | ||
@@ -665,53 +715,3 @@ shades: { | ||
}>>, {}>; | ||
HstRadio: import("@histoire/vendors/vue").DefineComponent<{ | ||
title: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
}; | ||
modelValue: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
required: true; | ||
}; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
required: true; | ||
}; | ||
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, { | ||
"update:modelValue": (value: string) => void; | ||
}, string, import("@histoire/vendors/vue").VNodeProps & import("@histoire/vendors/vue").AllowedComponentProps & import("@histoire/vendors/vue").ComponentCustomProps, Readonly<import("@histoire/vendors/vue").ExtractPropTypes<{ | ||
title: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
}; | ||
modelValue: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
required: true; | ||
}; | ||
options: { | ||
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>; | ||
required: true; | ||
}; | ||
}>> & { | ||
"onUpdate:modelValue"?: (value: string) => any; | ||
}, {}>; | ||
HstJson: import("@histoire/vendors/vue").DefineComponent<{ | ||
title: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
}; | ||
modelValue: { | ||
type: import("@histoire/vendors/vue").PropType<unknown>; | ||
required: true; | ||
}; | ||
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, { | ||
'update:modelValue': (newValue: unknown) => true; | ||
}, string, import("@histoire/vendors/vue").VNodeProps & import("@histoire/vendors/vue").AllowedComponentProps & import("@histoire/vendors/vue").ComponentCustomProps, Readonly<import("@histoire/vendors/vue").ExtractPropTypes<{ | ||
title: { | ||
type: import("@histoire/vendors/vue").PropType<string>; | ||
}; | ||
modelValue: { | ||
type: import("@histoire/vendors/vue").PropType<unknown>; | ||
required: true; | ||
}; | ||
}>> & { | ||
"onUpdate:modelValue"?: (newValue: unknown) => any; | ||
}, {}>; | ||
}; | ||
export * from './types'; |
{ | ||
"name": "@histoire/controls", | ||
"version": "0.11.9", | ||
"version": "0.12.0", | ||
"description": "Prebuilt controls components", | ||
@@ -41,3 +41,3 @@ "license": "MIT", | ||
"@codemirror/view": "^6.3.0", | ||
"@histoire/vendors": "^0.11.9" | ||
"@histoire/vendors": "^0.12.0" | ||
}, | ||
@@ -48,3 +48,3 @@ "devDependencies": { | ||
"@types/node": "^17.0.32", | ||
"@vitejs/plugin-vue": "^2.3.1", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vue/test-utils": "^2.0.0-rc.19", | ||
@@ -59,3 +59,3 @@ "@vueuse/core": "^8.2.5", | ||
"typescript": "^4.7.4", | ||
"vite": "^3.1.4", | ||
"vite": "^4.0.0", | ||
"vue": "^3.2.31", | ||
@@ -62,0 +62,0 @@ "vue-tsc": "^0.35.2" |
@@ -43,2 +43,4 @@ import HstButtonVue from './components/button/HstButton.vue' | ||
HstSelect, | ||
HstRadio, | ||
HstJson, | ||
HstColorShades, | ||
@@ -48,6 +50,4 @@ HstTokenList, | ||
HstCopyIcon, | ||
HstRadio, | ||
HstJson, | ||
} | ||
export * from './types' |
Sorry, the diff of this file is too big to display
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
982462
16185
+ Added@histoire/vendors@0.12.4(transitive)
- Removed@histoire/vendors@0.11.9(transitive)
Updated@histoire/vendors@^0.12.0