@histoire/controls 0.11.9 → 0.12.0
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/button/HstButtonGroup.vue.d.ts +2 -2
- package/dist/components/checkbox/HstCheckboxList.vue.d.ts +2 -2
- package/dist/index.d.ts +58 -58
- package/dist/index.es.js +1957 -1916
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/src/components/button/HstButtonGroup.vue +1 -1
- package/src/components/checkbox/HstCheckboxList.vue +1 -1
- package/src/index.ts +2 -2
|
@@ -2,13 +2,13 @@ import { HstControlOption } from '../../types';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
title?: string;
|
|
4
4
|
modelValue: string;
|
|
5
|
-
options: HstControlOption[];
|
|
5
|
+
options: string[] | 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
10
|
modelValue: string;
|
|
11
|
-
options: HstControlOption[];
|
|
11
|
+
options: string[] | HstControlOption[];
|
|
12
12
|
}>>> & {
|
|
13
13
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
14
14
|
}, {}>;
|
|
@@ -2,13 +2,13 @@ import { HstControlOption } from '../../types';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
title?: string;
|
|
4
4
|
modelValue: Array<string>;
|
|
5
|
-
options: HstControlOption[];
|
|
5
|
+
options: string[] | 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
10
|
modelValue: Array<string>;
|
|
11
|
-
options: HstControlOption[];
|
|
11
|
+
options: string[] | HstControlOption[];
|
|
12
12
|
}>>> & {
|
|
13
13
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
14
14
|
}, {}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const HstButtonGroup: import("@histoire/vendors/vue").DefineCompo
|
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
options: {
|
|
19
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
19
|
+
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>;
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, {
|
|
@@ -30,7 +30,7 @@ export declare const HstButtonGroup: import("@histoire/vendors/vue").DefineCompo
|
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
options: {
|
|
33
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
33
|
+
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>;
|
|
34
34
|
required: true;
|
|
35
35
|
};
|
|
36
36
|
}>> & {
|
|
@@ -66,7 +66,7 @@ export declare const HstCheckboxList: import("@histoire/vendors/vue").DefineComp
|
|
|
66
66
|
required: true;
|
|
67
67
|
};
|
|
68
68
|
options: {
|
|
69
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
69
|
+
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>;
|
|
70
70
|
required: true;
|
|
71
71
|
};
|
|
72
72
|
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, {
|
|
@@ -80,7 +80,7 @@ export declare const HstCheckboxList: import("@histoire/vendors/vue").DefineComp
|
|
|
80
80
|
required: true;
|
|
81
81
|
};
|
|
82
82
|
options: {
|
|
83
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
83
|
+
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>;
|
|
84
84
|
required: true;
|
|
85
85
|
};
|
|
86
86
|
}>> & {
|
|
@@ -369,7 +369,7 @@ export declare const components: {
|
|
|
369
369
|
required: true;
|
|
370
370
|
};
|
|
371
371
|
options: {
|
|
372
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
372
|
+
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>;
|
|
373
373
|
required: true;
|
|
374
374
|
};
|
|
375
375
|
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, {
|
|
@@ -383,7 +383,7 @@ export declare const components: {
|
|
|
383
383
|
required: true;
|
|
384
384
|
};
|
|
385
385
|
options: {
|
|
386
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
386
|
+
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>;
|
|
387
387
|
required: true;
|
|
388
388
|
};
|
|
389
389
|
}>> & {
|
|
@@ -419,7 +419,7 @@ export declare const components: {
|
|
|
419
419
|
required: true;
|
|
420
420
|
};
|
|
421
421
|
options: {
|
|
422
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
422
|
+
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>;
|
|
423
423
|
required: true;
|
|
424
424
|
};
|
|
425
425
|
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, {
|
|
@@ -433,7 +433,7 @@ export declare const components: {
|
|
|
433
433
|
required: true;
|
|
434
434
|
};
|
|
435
435
|
options: {
|
|
436
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
436
|
+
type: import("@histoire/vendors/vue").PropType<string[] | import("./types").HstControlOption[]>;
|
|
437
437
|
required: true;
|
|
438
438
|
};
|
|
439
439
|
}>> & {
|
|
@@ -568,6 +568,56 @@ export declare const components: {
|
|
|
568
568
|
}>> & {
|
|
569
569
|
"onUpdate:modelValue"?: (value: any) => any;
|
|
570
570
|
}, {}>;
|
|
571
|
+
HstRadio: import("@histoire/vendors/vue").DefineComponent<{
|
|
572
|
+
title: {
|
|
573
|
+
type: import("@histoire/vendors/vue").PropType<string>;
|
|
574
|
+
};
|
|
575
|
+
modelValue: {
|
|
576
|
+
type: import("@histoire/vendors/vue").PropType<string>;
|
|
577
|
+
required: true;
|
|
578
|
+
};
|
|
579
|
+
options: {
|
|
580
|
+
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
581
|
+
required: true;
|
|
582
|
+
};
|
|
583
|
+
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, {
|
|
584
|
+
"update:modelValue": (value: string) => void;
|
|
585
|
+
}, string, import("@histoire/vendors/vue").VNodeProps & import("@histoire/vendors/vue").AllowedComponentProps & import("@histoire/vendors/vue").ComponentCustomProps, Readonly<import("@histoire/vendors/vue").ExtractPropTypes<{
|
|
586
|
+
title: {
|
|
587
|
+
type: import("@histoire/vendors/vue").PropType<string>;
|
|
588
|
+
};
|
|
589
|
+
modelValue: {
|
|
590
|
+
type: import("@histoire/vendors/vue").PropType<string>;
|
|
591
|
+
required: true;
|
|
592
|
+
};
|
|
593
|
+
options: {
|
|
594
|
+
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
595
|
+
required: true;
|
|
596
|
+
};
|
|
597
|
+
}>> & {
|
|
598
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
599
|
+
}, {}>;
|
|
600
|
+
HstJson: import("@histoire/vendors/vue").DefineComponent<{
|
|
601
|
+
title: {
|
|
602
|
+
type: import("@histoire/vendors/vue").PropType<string>;
|
|
603
|
+
};
|
|
604
|
+
modelValue: {
|
|
605
|
+
type: import("@histoire/vendors/vue").PropType<unknown>;
|
|
606
|
+
required: true;
|
|
607
|
+
};
|
|
608
|
+
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, {
|
|
609
|
+
'update:modelValue': (newValue: unknown) => true;
|
|
610
|
+
}, string, import("@histoire/vendors/vue").VNodeProps & import("@histoire/vendors/vue").AllowedComponentProps & import("@histoire/vendors/vue").ComponentCustomProps, Readonly<import("@histoire/vendors/vue").ExtractPropTypes<{
|
|
611
|
+
title: {
|
|
612
|
+
type: import("@histoire/vendors/vue").PropType<string>;
|
|
613
|
+
};
|
|
614
|
+
modelValue: {
|
|
615
|
+
type: import("@histoire/vendors/vue").PropType<unknown>;
|
|
616
|
+
required: true;
|
|
617
|
+
};
|
|
618
|
+
}>> & {
|
|
619
|
+
"onUpdate:modelValue"?: (newValue: unknown) => any;
|
|
620
|
+
}, {}>;
|
|
571
621
|
HstColorShades: import("@histoire/vendors/vue").DefineComponent<{
|
|
572
622
|
shades: {
|
|
573
623
|
type: import("@histoire/vendors/vue").PropType<Record<string, any>>;
|
|
@@ -653,55 +703,5 @@ export declare const components: {
|
|
|
653
703
|
required: true;
|
|
654
704
|
};
|
|
655
705
|
}>>, {}>;
|
|
656
|
-
HstRadio: import("@histoire/vendors/vue").DefineComponent<{
|
|
657
|
-
title: {
|
|
658
|
-
type: import("@histoire/vendors/vue").PropType<string>;
|
|
659
|
-
};
|
|
660
|
-
modelValue: {
|
|
661
|
-
type: import("@histoire/vendors/vue").PropType<string>;
|
|
662
|
-
required: true;
|
|
663
|
-
};
|
|
664
|
-
options: {
|
|
665
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
666
|
-
required: true;
|
|
667
|
-
};
|
|
668
|
-
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, {
|
|
669
|
-
"update:modelValue": (value: string) => void;
|
|
670
|
-
}, string, import("@histoire/vendors/vue").VNodeProps & import("@histoire/vendors/vue").AllowedComponentProps & import("@histoire/vendors/vue").ComponentCustomProps, Readonly<import("@histoire/vendors/vue").ExtractPropTypes<{
|
|
671
|
-
title: {
|
|
672
|
-
type: import("@histoire/vendors/vue").PropType<string>;
|
|
673
|
-
};
|
|
674
|
-
modelValue: {
|
|
675
|
-
type: import("@histoire/vendors/vue").PropType<string>;
|
|
676
|
-
required: true;
|
|
677
|
-
};
|
|
678
|
-
options: {
|
|
679
|
-
type: import("@histoire/vendors/vue").PropType<import("./types").HstControlOption[]>;
|
|
680
|
-
required: true;
|
|
681
|
-
};
|
|
682
|
-
}>> & {
|
|
683
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
684
|
-
}, {}>;
|
|
685
|
-
HstJson: import("@histoire/vendors/vue").DefineComponent<{
|
|
686
|
-
title: {
|
|
687
|
-
type: import("@histoire/vendors/vue").PropType<string>;
|
|
688
|
-
};
|
|
689
|
-
modelValue: {
|
|
690
|
-
type: import("@histoire/vendors/vue").PropType<unknown>;
|
|
691
|
-
required: true;
|
|
692
|
-
};
|
|
693
|
-
}, {}, unknown, {}, {}, import("@histoire/vendors/vue").ComponentOptionsMixin, import("@histoire/vendors/vue").ComponentOptionsMixin, {
|
|
694
|
-
'update:modelValue': (newValue: unknown) => true;
|
|
695
|
-
}, string, import("@histoire/vendors/vue").VNodeProps & import("@histoire/vendors/vue").AllowedComponentProps & import("@histoire/vendors/vue").ComponentCustomProps, Readonly<import("@histoire/vendors/vue").ExtractPropTypes<{
|
|
696
|
-
title: {
|
|
697
|
-
type: import("@histoire/vendors/vue").PropType<string>;
|
|
698
|
-
};
|
|
699
|
-
modelValue: {
|
|
700
|
-
type: import("@histoire/vendors/vue").PropType<unknown>;
|
|
701
|
-
required: true;
|
|
702
|
-
};
|
|
703
|
-
}>> & {
|
|
704
|
-
"onUpdate:modelValue"?: (newValue: unknown) => any;
|
|
705
|
-
}, {}>;
|
|
706
706
|
};
|
|
707
707
|
export * from './types';
|