@histoire/controls 0.2.4 → 0.3.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/design-tokens/HstTokenGrid.story.vue.d.ts +2 -0
- package/dist/components/design-tokens/HstTokenGrid.vue.d.ts +33 -0
- package/dist/components/design-tokens/HstTokenList.story.vue.d.ts +2 -0
- package/dist/components/design-tokens/HstTokenList.vue.d.ts +17 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.es.js +248 -81
- package/dist/style-standalone.css +648 -0
- package/dist/style.css +1 -598
- package/package.json +9 -10
- package/src/components/design-tokens/HstColorShades.story.vue +9 -0
- package/src/components/design-tokens/HstColorShades.vue +19 -8
- package/src/components/design-tokens/HstTokenGrid.story.vue +35 -0
- package/src/components/design-tokens/HstTokenGrid.vue +88 -0
- package/src/components/design-tokens/HstTokenList.story.vue +79 -0
- package/src/components/design-tokens/HstTokenList.vue +62 -0
- package/src/index.ts +7 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
3
|
+
colSize?: number;
|
|
4
|
+
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
5
|
+
}>, {
|
|
6
|
+
colSize: number;
|
|
7
|
+
getName: any;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
10
|
+
colSize?: number;
|
|
11
|
+
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
12
|
+
}>, {
|
|
13
|
+
colSize: number;
|
|
14
|
+
getName: any;
|
|
15
|
+
}>>>, {
|
|
16
|
+
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
17
|
+
colSize: number;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
} : P[K];
|
|
33
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
3
|
+
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
tokens: Record<string, string | number | any[] | Record<string, any>>;
|
|
6
|
+
getName?: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
7
|
+
}>>>, {}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,57 @@ export declare const HstColorShades: import("vue").DefineComponent<{
|
|
|
106
106
|
type: import("vue").PropType<string>;
|
|
107
107
|
};
|
|
108
108
|
}>>, {}>;
|
|
109
|
+
export declare const HstTokenList: import("vue").DefineComponent<{
|
|
110
|
+
tokens: {
|
|
111
|
+
type: import("vue").PropType<Record<string, string | number | any[] | Record<string, any>>>;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
getName: {
|
|
115
|
+
type: import("vue").PropType<(key: string, value: string | number | any[] | Record<string, any>) => string>;
|
|
116
|
+
};
|
|
117
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
+
tokens: {
|
|
119
|
+
type: import("vue").PropType<Record<string, string | number | any[] | Record<string, any>>>;
|
|
120
|
+
required: true;
|
|
121
|
+
};
|
|
122
|
+
getName: {
|
|
123
|
+
type: import("vue").PropType<(key: string, value: string | number | any[] | Record<string, any>) => string>;
|
|
124
|
+
};
|
|
125
|
+
}>>, {}>;
|
|
126
|
+
export declare const HstTokenGrid: import("vue").DefineComponent<{
|
|
127
|
+
getName: {
|
|
128
|
+
type: import("vue").PropType<(key: string, value: string | number | any[] | Record<string, any>) => string>;
|
|
129
|
+
} & {
|
|
130
|
+
default: any;
|
|
131
|
+
};
|
|
132
|
+
colSize: {
|
|
133
|
+
type: import("vue").PropType<number>;
|
|
134
|
+
} & {
|
|
135
|
+
default: number;
|
|
136
|
+
};
|
|
137
|
+
tokens: {
|
|
138
|
+
type: import("vue").PropType<Record<string, string | number | any[] | Record<string, any>>>;
|
|
139
|
+
required: true;
|
|
140
|
+
};
|
|
141
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
142
|
+
getName: {
|
|
143
|
+
type: import("vue").PropType<(key: string, value: string | number | any[] | Record<string, any>) => string>;
|
|
144
|
+
} & {
|
|
145
|
+
default: any;
|
|
146
|
+
};
|
|
147
|
+
colSize: {
|
|
148
|
+
type: import("vue").PropType<number>;
|
|
149
|
+
} & {
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
tokens: {
|
|
153
|
+
type: import("vue").PropType<Record<string, string | number | any[] | Record<string, any>>>;
|
|
154
|
+
required: true;
|
|
155
|
+
};
|
|
156
|
+
}>>, {
|
|
157
|
+
getName: (key: string, value: string | number | any[] | Record<string, any>) => string;
|
|
158
|
+
colSize: number;
|
|
159
|
+
}>;
|
|
109
160
|
export declare const HstCopyIcon: import("vue").DefineComponent<{
|
|
110
161
|
content: {
|
|
111
162
|
type: import("vue").PropType<string>;
|