@histoire/controls 0.15.1 → 0.15.2

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,7 +1,8 @@
1
+ import type { Awaitable } from '@histoire/shared';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- content: string;
3
+ content: string | (() => Awaitable<string>);
3
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- content: string;
5
+ content: string | (() => Awaitable<string>);
5
6
  }>>>, {}>;
6
7
  export default _default;
7
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -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?: string;
5
5
  options: string[] | number[] | HstControlOption[] | Record<string, string | number>;
6
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  "update:modelValue": (value: string) => 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?: string;
11
11
  options: string[] | number[] | HstControlOption[] | Record<string, string | number>;
12
12
  }>>> & {
13
13
  "onUpdate:modelValue"?: (value: string) => any;
@@ -1,10 +1,10 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- modelValue: boolean;
2
+ modelValue?: boolean;
3
3
  title?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  'update:modelValue': (newValue: boolean) => true;
6
6
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- modelValue: boolean;
7
+ modelValue?: boolean;
8
8
  title?: string;
9
9
  }>>> & {
10
10
  "onUpdate:modelValue"?: (newValue: boolean) => any;
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- modelValue: boolean;
2
+ modelValue?: boolean;
3
3
  withToggle?: boolean;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  'update:modelValue': (newValue: boolean) => true;
6
6
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- modelValue: boolean;
7
+ modelValue?: boolean;
8
8
  withToggle?: boolean;
9
9
  }>>> & {
10
10
  "onUpdate:modelValue"?: (newValue: boolean) => any;
@@ -1,11 +1,11 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  title?: string;
3
- modelValue: number;
3
+ modelValue?: number;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  'update:modelValue': (newValue: number) => true;
6
6
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
7
  title?: string;
8
- modelValue: number;
8
+ modelValue?: number;
9
9
  }>>> & {
10
10
  "onUpdate:modelValue"?: (newValue: number) => any;
11
11
  }, {}>, {
@@ -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?: string;
5
5
  options: HstControlOption[];
6
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  "update:modelValue": (value: string) => 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?: string;
11
11
  options: HstControlOption[];
12
12
  }>>> & {
13
13
  "onUpdate:modelValue"?: (value: string) => any;
@@ -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?: string;
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?: string;
11
11
  options: Record<string, any> | string[] | HstControlOption[];
12
12
  }>>> & {
13
13
  "onUpdate:modelValue"?: (value: any) => any;
@@ -1,13 +1,13 @@
1
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  title?: string;
3
- modelValue: number;
3
+ modelValue?: number;
4
4
  min: number;
5
5
  max: number;
6
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  'update:modelValue': (newValue: number) => true;
8
8
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  title?: string;
10
- modelValue: number;
10
+ modelValue?: number;
11
11
  min: number;
12
12
  max: number;
13
13
  }>>> & {
@@ -1,11 +1,11 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  title?: string;
3
- modelValue: string;
3
+ modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  'update:modelValue': (newValue: string) => true;
6
6
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
7
  title?: string;
8
- modelValue: string;
8
+ modelValue?: string;
9
9
  }>>> & {
10
10
  "onUpdate:modelValue"?: (newValue: string) => any;
11
11
  }, {}>, {
@@ -1,11 +1,11 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  title?: string;
3
- modelValue: string;
3
+ modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  'update:modelValue': (newValue: string) => true;
6
6
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
7
  title?: string;
8
- modelValue: string;
8
+ modelValue?: string;
9
9
  }>>> & {
10
10
  "onUpdate:modelValue"?: (newValue: string) => any;
11
11
  }, {}>, {