@histoire/controls 0.15.0 → 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.
- package/dist/components/HstCopyIcon.vue.d.ts +3 -2
- package/dist/components/button/HstButtonGroup.vue.d.ts +2 -2
- package/dist/components/checkbox/HstCheckbox.vue.d.ts +2 -2
- package/dist/components/checkbox/HstSimpleCheckbox.vue.d.ts +2 -2
- package/dist/components/number/HstNumber.vue.d.ts +2 -2
- package/dist/components/radio/HstRadio.vue.d.ts +2 -2
- package/dist/components/select/HstSelect.vue.d.ts +2 -2
- package/dist/components/slider/HstSlider.vue.d.ts +2 -2
- package/dist/components/text/HstText.vue.d.ts +2 -2
- package/dist/components/textarea/HstTextarea.vue.d.ts +2 -2
- package/dist/index.d.ts +688 -748
- package/dist/index.es.js +5 -2
- package/package.json +3 -2
- package/src/components/HstCopyIcon.vue +6 -2
- package/src/components/button/HstButtonGroup.vue +1 -1
- package/src/components/checkbox/HstCheckbox.vue +1 -1
- package/src/components/checkbox/HstSimpleCheckbox.vue +1 -1
- package/src/components/number/HstNumber.vue +1 -1
- package/src/components/radio/HstRadio.vue +1 -1
- package/src/components/select/HstSelect.vue +1 -1
- package/src/components/slider/HstSlider.vue +1 -1
- package/src/components/text/HstText.vue +1 -1
- package/src/components/textarea/HstTextarea.vue +1 -1
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
8
|
+
modelValue?: string;
|
|
9
9
|
}>>> & {
|
|
10
10
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
11
11
|
}, {}>, {
|