@histoire/controls 0.17.4 → 0.17.8
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 +13 -10
- package/dist/components/HstWrapper.vue.d.ts +30 -19
- package/dist/components/button/HstButton.vue.d.ts +14 -9
- package/dist/components/button/HstButtonGroup.vue.d.ts +19 -24
- package/dist/components/checkbox/HstCheckbox.vue.d.ts +18 -17
- package/dist/components/checkbox/HstCheckboxList.vue.d.ts +19 -26
- package/dist/components/checkbox/HstSimpleCheckbox.vue.d.ts +18 -17
- package/dist/components/colorselect/HstColorSelect.vue.d.ts +18 -17
- package/dist/components/design-tokens/HstColorShades.vue.d.ts +18 -23
- package/dist/components/design-tokens/HstTokenGrid.vue.d.ts +32 -27
- package/dist/components/design-tokens/HstTokenList.vue.d.ts +16 -17
- package/dist/components/json/HstJson.vue.d.ts +18 -19
- package/dist/components/number/HstNumber.vue.d.ts +18 -17
- package/dist/components/radio/HstRadio.vue.d.ts +19 -24
- package/dist/components/select/CustomSelect.vue.d.ts +17 -20
- package/dist/components/select/HstSelect.vue.d.ts +19 -24
- package/dist/components/slider/HstSlider.vue.d.ts +22 -33
- package/dist/components/text/HstText.vue.d.ts +18 -17
- package/dist/components/textarea/HstTextarea.vue.d.ts +18 -17
- package/dist/index.d.ts +394 -1332
- package/dist/index.es.js +4581 -3959
- package/package.json +19 -19
- package/src/components/button/HstButton.story.vue +1 -1
- package/src/components/design-tokens/HstColorShades.story.vue +4 -3
- package/src/components/design-tokens/HstColorShades.vue +2 -1
- package/src/components/design-tokens/HstTokenList.story.vue +2 -1
|
@@ -1,34 +1,29 @@
|
|
|
1
1
|
import { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
title
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type: import("vue").PropType<string>;
|
|
8
|
-
};
|
|
9
|
-
options: {
|
|
10
|
-
type: import("vue").PropType<HstControlOption[]>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
title?: string;
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
options: HstControlOption[];
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
7
|
"update:modelValue": (value: string) => void;
|
|
15
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
title
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
type: import("vue").PropType<string>;
|
|
21
|
-
};
|
|
22
|
-
options: {
|
|
23
|
-
type: import("vue").PropType<HstControlOption[]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
}>> & {
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
title?: string;
|
|
10
|
+
modelValue?: string;
|
|
11
|
+
options: HstControlOption[];
|
|
12
|
+
}>>> & {
|
|
27
13
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
28
14
|
}, {}, {}>, {
|
|
29
15
|
actions?(_: {}): any;
|
|
30
16
|
}>;
|
|
31
17
|
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
32
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
28
|
new (): {
|
|
34
29
|
$slots: S;
|
|
@@ -1,25 +1,13 @@
|
|
|
1
1
|
import { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
modelValue:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
options: {
|
|
8
|
-
type: import("vue").PropType<Record<string, any> | string[] | number[] | HstControlOption[]>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
modelValue: string;
|
|
4
|
+
options: Record<string, any> | string[] | number[] | HstControlOption[];
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
6
|
"update:modelValue": (value: string) => void;
|
|
13
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
-
modelValue:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
options: {
|
|
19
|
-
type: import("vue").PropType<Record<string, any> | string[] | number[] | HstControlOption[]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
}>> & {
|
|
7
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
modelValue: string;
|
|
9
|
+
options: Record<string, any> | string[] | number[] | HstControlOption[];
|
|
10
|
+
}>>> & {
|
|
23
11
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
24
12
|
}, {}, {}>, {
|
|
25
13
|
default?(_: {
|
|
@@ -27,6 +15,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
15
|
}): any;
|
|
28
16
|
}>;
|
|
29
17
|
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
30
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
28
|
new (): {
|
|
32
29
|
$slots: S;
|
|
@@ -1,34 +1,29 @@
|
|
|
1
1
|
import { HstControlOption } from '../../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
title
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type: import("vue").PropType<any>;
|
|
8
|
-
};
|
|
9
|
-
options: {
|
|
10
|
-
type: import("vue").PropType<Record<string, any> | string[] | HstControlOption[]>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
title?: string;
|
|
4
|
+
modelValue?: any;
|
|
5
|
+
options: Record<string, any> | string[] | HstControlOption[];
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
7
|
"update:modelValue": (value: any) => void;
|
|
15
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
title
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
type: import("vue").PropType<any>;
|
|
21
|
-
};
|
|
22
|
-
options: {
|
|
23
|
-
type: import("vue").PropType<Record<string, any> | string[] | HstControlOption[]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
}>> & {
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
title?: string;
|
|
10
|
+
modelValue?: any;
|
|
11
|
+
options: Record<string, any> | string[] | HstControlOption[];
|
|
12
|
+
}>>> & {
|
|
27
13
|
"onUpdate:modelValue"?: (value: any) => any;
|
|
28
14
|
}, {}, {}>, {
|
|
29
15
|
actions?(_: {}): any;
|
|
30
16
|
}>;
|
|
31
17
|
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
32
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
28
|
new (): {
|
|
34
29
|
$slots: S;
|
|
@@ -1,36 +1,25 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
title
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
max:
|
|
13
|
-
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
'update:modelValue': (newValue: number) => true;
|
|
18
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
title: {
|
|
20
|
-
type: import("vue").PropType<string>;
|
|
21
|
-
};
|
|
22
|
-
modelValue: {
|
|
23
|
-
type: import("vue").PropType<number>;
|
|
24
|
-
};
|
|
25
|
-
min: {
|
|
26
|
-
type: import("vue").PropType<number>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
max: {
|
|
30
|
-
type: import("vue").PropType<number>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
}>> & {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string;
|
|
3
|
+
modelValue?: number;
|
|
4
|
+
min: number;
|
|
5
|
+
max: number;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (newValue: number) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
title?: string;
|
|
10
|
+
modelValue?: number;
|
|
11
|
+
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
}>>> & {
|
|
34
14
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
35
15
|
}, {}, {}>;
|
|
36
16
|
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
title
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
modelValue:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
title: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
};
|
|
14
|
-
modelValue: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
16
|
-
};
|
|
17
|
-
}>> & {
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string;
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (newValue: string) => void;
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
title?: string;
|
|
8
|
+
modelValue?: string;
|
|
9
|
+
}>>> & {
|
|
18
10
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
19
11
|
}, {}, {}>, {
|
|
20
12
|
actions?(_: {}): any;
|
|
21
13
|
}>;
|
|
22
14
|
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
23
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
25
|
new (): {
|
|
25
26
|
$slots: S;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
title
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
modelValue:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
title: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
};
|
|
14
|
-
modelValue: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
16
|
-
};
|
|
17
|
-
}>> & {
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string;
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (newValue: string) => void;
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
title?: string;
|
|
8
|
+
modelValue?: string;
|
|
9
|
+
}>>> & {
|
|
18
10
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
19
11
|
}, {}, {}>, {
|
|
20
12
|
actions?(_: {}): any;
|
|
21
13
|
}>;
|
|
22
14
|
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
23
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
25
|
new (): {
|
|
25
26
|
$slots: S;
|