@histoire/controls 1.0.0-alpha.4 → 1.0.0-beta.1
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.story.vue.d.ts +2 -0
- package/dist/components/HstWrapper.vue.d.ts +1 -0
- package/dist/components/button/HstButton.vue.d.ts +1 -1
- package/dist/components/checkbox/HstSimpleCheckbox.vue.d.ts +1 -3
- package/dist/components/design-tokens/HstTokenGrid.vue.d.ts +1 -1
- package/dist/components/json/HstJson.vue.d.ts +1 -3
- package/dist/components/number/HstNumber.vue.d.ts +1 -3
- package/dist/components/slider/HstSlider.vue.d.ts +1 -3
- package/dist/components/text/HstText.vue.d.ts +1 -3
- package/dist/components/textarea/HstTextarea.vue.d.ts +1 -3
- package/dist/index.d.ts +14 -34
- package/dist/index.es.js +5175 -4889
- package/dist/style-standalone.css +4 -0
- package/package.json +8 -8
- package/src/components/HstCopyIcon.story.vue +26 -0
- package/src/components/button/HstButton.vue +1 -1
- package/src/components/checkbox/__snapshots__/HstCheckbox.spec.ts.snap +2 -6
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -9,6 +9,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
tag: string;
|
|
10
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
11
11
|
default?: (props: {}) => any;
|
|
12
|
+
} & {
|
|
12
13
|
actions?: (props: {}) => any;
|
|
13
14
|
}>;
|
|
14
15
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
2
2
|
color?: "flat" | "default" | "primary";
|
|
3
3
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
4
4
|
color?: "flat" | "default" | "primary";
|
|
5
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
6
6
|
default?: (props: {}) => any;
|
|
7
7
|
}>;
|
|
8
8
|
export default _default;
|
|
@@ -8,7 +8,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
withToggle?: boolean;
|
|
9
9
|
}> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: (newValue: boolean) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
12
|
-
path: (typeof __VLS_nativeElements)["path"];
|
|
13
|
-
}, HTMLDivElement>;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
12
|
export default _default;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
}> & Readonly<{}>, {
|
|
10
10
|
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
11
11
|
colSize: number;
|
|
12
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
13
13
|
default?: (props: {
|
|
14
14
|
token: {
|
|
15
15
|
key: string;
|
|
@@ -8,9 +8,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
8
|
modelValue: unknown;
|
|
9
9
|
}> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: (newValue: unknown) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
12
|
-
editorElement: (typeof __VLS_nativeElements)["div"];
|
|
13
|
-
}, any>, {
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
14
12
|
actions?: (props: {}) => any;
|
|
15
13
|
}>;
|
|
16
14
|
export default _default;
|
|
@@ -8,9 +8,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
8
|
modelValue?: number | null;
|
|
9
9
|
}> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
12
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
13
|
-
}, any>, {
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
14
12
|
actions?: (props: {}) => any;
|
|
15
13
|
}>;
|
|
16
14
|
export default _default;
|
|
@@ -12,7 +12,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
max: number;
|
|
13
13
|
}> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
16
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
17
|
-
}, any>;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
16
|
export default _default;
|
|
@@ -8,9 +8,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
8
|
modelValue?: string | null;
|
|
9
9
|
}> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
12
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
13
|
-
}, any>, {
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
14
12
|
actions?: (props: {}) => any;
|
|
15
13
|
}>;
|
|
16
14
|
export default _default;
|
|
@@ -8,9 +8,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
8
8
|
modelValue?: string | null;
|
|
9
9
|
}> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
12
|
-
input: (typeof __VLS_nativeElements)["textarea"];
|
|
13
|
-
}, any>, {
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
14
12
|
actions?: (props: {}) => any;
|
|
15
13
|
}>;
|
|
16
14
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const HstButton: {
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
3
|
color?: "flat" | "default" | "primary";
|
|
4
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {},
|
|
4
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
5
5
|
P: {};
|
|
6
6
|
B: {};
|
|
7
7
|
D: {};
|
|
@@ -143,9 +143,7 @@ export declare const HstText: {
|
|
|
143
143
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
144
144
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
145
145
|
"update:modelValue": (newValue: string) => void;
|
|
146
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
|
|
147
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
148
|
-
}, any, import("vue").ComponentProvideOptions, {
|
|
146
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
149
147
|
P: {};
|
|
150
148
|
B: {};
|
|
151
149
|
D: {};
|
|
@@ -181,9 +179,7 @@ export declare const HstNumber: {
|
|
|
181
179
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
182
180
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
183
181
|
"update:modelValue": (newValue: number) => void;
|
|
184
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
|
|
185
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
186
|
-
}, any, import("vue").ComponentProvideOptions, {
|
|
182
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
187
183
|
P: {};
|
|
188
184
|
B: {};
|
|
189
185
|
D: {};
|
|
@@ -225,9 +221,7 @@ export declare const HstSlider: import("vue").DefineComponent<{
|
|
|
225
221
|
max: number;
|
|
226
222
|
}> & Readonly<{
|
|
227
223
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
228
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
229
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
230
|
-
}, any>;
|
|
224
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
231
225
|
export declare const HstTextarea: {
|
|
232
226
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
233
227
|
title?: string;
|
|
@@ -236,9 +230,7 @@ export declare const HstTextarea: {
|
|
|
236
230
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
237
231
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
238
232
|
"update:modelValue": (newValue: string) => void;
|
|
239
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
|
|
240
|
-
input: (typeof __VLS_nativeElements)["textarea"];
|
|
241
|
-
}, any, import("vue").ComponentProvideOptions, {
|
|
233
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
242
234
|
P: {};
|
|
243
235
|
B: {};
|
|
244
236
|
D: {};
|
|
@@ -376,7 +368,7 @@ export declare const HstTokenGrid: {
|
|
|
376
368
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
377
369
|
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
378
370
|
colSize: number;
|
|
379
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {},
|
|
371
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
380
372
|
P: {};
|
|
381
373
|
B: {};
|
|
382
374
|
D: {};
|
|
@@ -464,9 +456,7 @@ export declare const HstJson: {
|
|
|
464
456
|
"onUpdate:modelValue"?: (newValue: unknown) => any;
|
|
465
457
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
466
458
|
"update:modelValue": (newValue: unknown) => void;
|
|
467
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
|
|
468
|
-
editorElement: (typeof __VLS_nativeElements)["div"];
|
|
469
|
-
}, any, import("vue").ComponentProvideOptions, {
|
|
459
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
470
460
|
P: {};
|
|
471
461
|
B: {};
|
|
472
462
|
D: {};
|
|
@@ -534,7 +524,7 @@ export declare const components: {
|
|
|
534
524
|
HstButton: {
|
|
535
525
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
536
526
|
color?: "flat" | "default" | "primary";
|
|
537
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {},
|
|
527
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
538
528
|
P: {};
|
|
539
529
|
B: {};
|
|
540
530
|
D: {};
|
|
@@ -676,9 +666,7 @@ export declare const components: {
|
|
|
676
666
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
677
667
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
678
668
|
"update:modelValue": (newValue: string) => void;
|
|
679
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
|
|
680
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
681
|
-
}, any, import("vue").ComponentProvideOptions, {
|
|
669
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
682
670
|
P: {};
|
|
683
671
|
B: {};
|
|
684
672
|
D: {};
|
|
@@ -714,9 +702,7 @@ export declare const components: {
|
|
|
714
702
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
715
703
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
716
704
|
"update:modelValue": (newValue: number) => void;
|
|
717
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
|
|
718
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
719
|
-
}, any, import("vue").ComponentProvideOptions, {
|
|
705
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
720
706
|
P: {};
|
|
721
707
|
B: {};
|
|
722
708
|
D: {};
|
|
@@ -758,9 +744,7 @@ export declare const components: {
|
|
|
758
744
|
max: number;
|
|
759
745
|
}> & Readonly<{
|
|
760
746
|
"onUpdate:modelValue"?: (newValue: number) => any;
|
|
761
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
762
|
-
input: (typeof __VLS_nativeElements)["input"];
|
|
763
|
-
}, any>;
|
|
747
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
764
748
|
HstTextarea: {
|
|
765
749
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
766
750
|
title?: string;
|
|
@@ -769,9 +753,7 @@ export declare const components: {
|
|
|
769
753
|
"onUpdate:modelValue"?: (newValue: string) => any;
|
|
770
754
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
771
755
|
"update:modelValue": (newValue: string) => void;
|
|
772
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
|
|
773
|
-
input: (typeof __VLS_nativeElements)["textarea"];
|
|
774
|
-
}, any, import("vue").ComponentProvideOptions, {
|
|
756
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
775
757
|
P: {};
|
|
776
758
|
B: {};
|
|
777
759
|
D: {};
|
|
@@ -885,9 +867,7 @@ export declare const components: {
|
|
|
885
867
|
"onUpdate:modelValue"?: (newValue: unknown) => any;
|
|
886
868
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
887
869
|
"update:modelValue": (newValue: unknown) => void;
|
|
888
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {
|
|
889
|
-
editorElement: (typeof __VLS_nativeElements)["div"];
|
|
890
|
-
}, any, import("vue").ComponentProvideOptions, {
|
|
870
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
891
871
|
P: {};
|
|
892
872
|
B: {};
|
|
893
873
|
D: {};
|
|
@@ -986,7 +966,7 @@ export declare const components: {
|
|
|
986
966
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
987
967
|
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
988
968
|
colSize: number;
|
|
989
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {},
|
|
969
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
990
970
|
P: {};
|
|
991
971
|
B: {};
|
|
992
972
|
D: {};
|