@histoire/controls 0.15.8 → 0.15.9

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.
@@ -1,13 +1,13 @@
1
1
  import { HstControlOption } from '../../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  title?: string;
4
- modelValue?: string;
4
+ modelValue?: any;
5
5
  options: Record<string, any> | string[] | HstControlOption[];
6
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  "update:modelValue": (value: any) => void;
8
8
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  title?: string;
10
- modelValue?: string;
10
+ modelValue?: any;
11
11
  options: Record<string, any> | string[] | HstControlOption[];
12
12
  }>>> & {
13
13
  "onUpdate:modelValue"?: (value: any) => any;
package/dist/index.d.ts CHANGED
@@ -663,7 +663,7 @@ export declare const HstSelect: {
663
663
  type: import("@vue/runtime-core").PropType<string>;
664
664
  };
665
665
  modelValue: {
666
- type: import("@vue/runtime-core").PropType<string>;
666
+ type: import("@vue/runtime-core").PropType<any>;
667
667
  };
668
668
  options: {
669
669
  type: import("@vue/runtime-core").PropType<string[] | import("./types").HstControlOption[] | Record<string, any>>;
@@ -690,7 +690,7 @@ export declare const HstSelect: {
690
690
  type: import("@vue/runtime-core").PropType<string>;
691
691
  };
692
692
  modelValue: {
693
- type: import("@vue/runtime-core").PropType<string>;
693
+ type: import("@vue/runtime-core").PropType<any>;
694
694
  };
695
695
  options: {
696
696
  type: import("@vue/runtime-core").PropType<string[] | import("./types").HstControlOption[] | Record<string, any>>;
@@ -725,7 +725,7 @@ export declare const HstSelect: {
725
725
  type: import("@vue/runtime-core").PropType<string>;
726
726
  };
727
727
  modelValue: {
728
- type: import("@vue/runtime-core").PropType<string>;
728
+ type: import("@vue/runtime-core").PropType<any>;
729
729
  };
730
730
  options: {
731
731
  type: import("@vue/runtime-core").PropType<string[] | import("./types").HstControlOption[] | Record<string, any>>;
@@ -742,7 +742,7 @@ export declare const HstSelect: {
742
742
  type: import("@vue/runtime-core").PropType<string>;
743
743
  };
744
744
  modelValue: {
745
- type: import("@vue/runtime-core").PropType<string>;
745
+ type: import("@vue/runtime-core").PropType<any>;
746
746
  };
747
747
  options: {
748
748
  type: import("@vue/runtime-core").PropType<string[] | import("./types").HstControlOption[] | Record<string, any>>;
@@ -1928,7 +1928,7 @@ export declare const components: {
1928
1928
  type: import("@vue/runtime-core").PropType<string>;
1929
1929
  };
1930
1930
  modelValue: {
1931
- type: import("@vue/runtime-core").PropType<string>;
1931
+ type: import("@vue/runtime-core").PropType<any>;
1932
1932
  };
1933
1933
  options: {
1934
1934
  type: import("@vue/runtime-core").PropType<string[] | import("./types").HstControlOption[] | Record<string, any>>;
@@ -1955,7 +1955,7 @@ export declare const components: {
1955
1955
  type: import("@vue/runtime-core").PropType<string>;
1956
1956
  };
1957
1957
  modelValue: {
1958
- type: import("@vue/runtime-core").PropType<string>;
1958
+ type: import("@vue/runtime-core").PropType<any>;
1959
1959
  };
1960
1960
  options: {
1961
1961
  type: import("@vue/runtime-core").PropType<string[] | import("./types").HstControlOption[] | Record<string, any>>;
@@ -1990,7 +1990,7 @@ export declare const components: {
1990
1990
  type: import("@vue/runtime-core").PropType<string>;
1991
1991
  };
1992
1992
  modelValue: {
1993
- type: import("@vue/runtime-core").PropType<string>;
1993
+ type: import("@vue/runtime-core").PropType<any>;
1994
1994
  };
1995
1995
  options: {
1996
1996
  type: import("@vue/runtime-core").PropType<string[] | import("./types").HstControlOption[] | Record<string, any>>;
@@ -2007,7 +2007,7 @@ export declare const components: {
2007
2007
  type: import("@vue/runtime-core").PropType<string>;
2008
2008
  };
2009
2009
  modelValue: {
2010
- type: import("@vue/runtime-core").PropType<string>;
2010
+ type: import("@vue/runtime-core").PropType<any>;
2011
2011
  };
2012
2012
  options: {
2013
2013
  type: import("@vue/runtime-core").PropType<string[] | import("./types").HstControlOption[] | Record<string, any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/controls",
3
- "version": "0.15.8",
3
+ "version": "0.15.9",
4
4
  "description": "Prebuilt controls components",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -11,7 +11,7 @@ import { HstControlOption } from '../../types'
11
11
 
12
12
  defineProps<{
13
13
  title?: string
14
- modelValue?: string
14
+ modelValue?: any
15
15
  options: Record<string, any> | string[] | HstControlOption[]
16
16
  }>()
17
17