turmag-vue-components 0.0.6 → 0.0.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/index.d.ts +26 -15
- package/dist/turmag-vue-components.es.js +1188 -1294
- package/dist/turmag-vue-components.umd.js +2 -2
- package/package.json +73 -59
package/dist/index.d.ts
CHANGED
|
@@ -130,16 +130,19 @@ color?: "default" | "hover" | "active" | "secondary";
|
|
|
130
130
|
display?: "block" | "inline" | "flex" | "";
|
|
131
131
|
line?: "lh100" | "lh110" | "lh120" | "lh130" | "lh140" | "lh150";
|
|
132
132
|
size?: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs36";
|
|
133
|
+
tag?: keyof HTMLElementTagNameMap;
|
|
133
134
|
text?: string | number | Ref<string, string>;
|
|
135
|
+
textAlign?: "left" | "center" | "right" | "";
|
|
134
136
|
weight?: "fw400" | "fw500" | "fw600" | "fw700";
|
|
135
137
|
wrap?: "nowrap" | "balance" | "";
|
|
136
138
|
}>, {
|
|
137
139
|
color: string;
|
|
138
|
-
cursor: string;
|
|
139
140
|
display: string;
|
|
140
141
|
line: string;
|
|
141
142
|
size: string;
|
|
143
|
+
tag: string;
|
|
142
144
|
text: string;
|
|
145
|
+
textAlign: string;
|
|
143
146
|
weight: string;
|
|
144
147
|
wrap: string;
|
|
145
148
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
|
|
@@ -147,38 +150,52 @@ color?: "default" | "hover" | "active" | "secondary";
|
|
|
147
150
|
display?: "block" | "inline" | "flex" | "";
|
|
148
151
|
line?: "lh100" | "lh110" | "lh120" | "lh130" | "lh140" | "lh150";
|
|
149
152
|
size?: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs36";
|
|
153
|
+
tag?: keyof HTMLElementTagNameMap;
|
|
150
154
|
text?: string | number | Ref<string, string>;
|
|
155
|
+
textAlign?: "left" | "center" | "right" | "";
|
|
151
156
|
weight?: "fw400" | "fw500" | "fw600" | "fw700";
|
|
152
157
|
wrap?: "nowrap" | "balance" | "";
|
|
153
158
|
}>, {
|
|
154
159
|
color: string;
|
|
155
|
-
cursor: string;
|
|
156
160
|
display: string;
|
|
157
161
|
line: string;
|
|
158
162
|
size: string;
|
|
163
|
+
tag: string;
|
|
159
164
|
text: string;
|
|
165
|
+
textAlign: string;
|
|
160
166
|
weight: string;
|
|
161
167
|
wrap: string;
|
|
162
168
|
}>>> & Readonly<{}>, {
|
|
163
169
|
wrap: "nowrap" | "balance" | "";
|
|
170
|
+
tag: keyof HTMLElementTagNameMap;
|
|
164
171
|
color: "default" | "hover" | "active" | "secondary";
|
|
165
172
|
display: "block" | "inline" | "flex" | "";
|
|
166
173
|
line: "lh100" | "lh110" | "lh120" | "lh130" | "lh140" | "lh150";
|
|
167
174
|
size: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs36";
|
|
168
175
|
text: string | number | Ref<string, string>;
|
|
176
|
+
textAlign: "left" | "center" | "right" | "";
|
|
169
177
|
weight: "fw400" | "fw500" | "fw600" | "fw700";
|
|
170
178
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
171
179
|
|
|
172
180
|
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<IProps>, {
|
|
181
|
+
justifyContent: string;
|
|
173
182
|
padding: string;
|
|
183
|
+
paddingBlock: string;
|
|
184
|
+
paddingInline: string;
|
|
174
185
|
radius: string;
|
|
175
186
|
width: string;
|
|
176
187
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<IProps>, {
|
|
188
|
+
justifyContent: string;
|
|
177
189
|
padding: string;
|
|
190
|
+
paddingBlock: string;
|
|
191
|
+
paddingInline: string;
|
|
178
192
|
radius: string;
|
|
179
193
|
width: string;
|
|
180
194
|
}>>> & Readonly<{}>, {
|
|
181
|
-
|
|
195
|
+
justifyContent: "" | "flex-start" | "flex-end" | "center" | "stretch" | "normal" | "space-between" | "space-around" | "space-evenly";
|
|
196
|
+
padding: "" | "p2" | "p4" | "p6" | "p8" | "p10" | "p12" | "p14" | "p16" | "p18" | "p20" | "p24" | "p28" | "p32" | "p36" | "p40" | "p42" | "p64" | "p80" | "p120";
|
|
197
|
+
paddingBlock: "" | "p2" | "p4" | "p6" | "p8" | "p10" | "p12" | "p14" | "p16" | "p18" | "p20" | "p24" | "p28" | "p32" | "p36" | "p40" | "p42" | "p64" | "p80" | "p120";
|
|
198
|
+
paddingInline: "" | "p2" | "p4" | "p6" | "p8" | "p10" | "p12" | "p14" | "p16" | "p18" | "p20" | "p24" | "p28" | "p32" | "p36" | "p40" | "p42" | "p64" | "p80" | "p120";
|
|
182
199
|
radius: "" | "r0" | "r2" | "r4" | "r6" | "r8" | "r12" | "r14" | "r16" | "r18" | "r20" | "r22" | "r24" | "r26" | "r28" | "r30" | "r32";
|
|
183
200
|
width: string;
|
|
184
201
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -238,11 +255,7 @@ type: PropType<number[]>;
|
|
|
238
255
|
default: () => number[];
|
|
239
256
|
};
|
|
240
257
|
placement: {
|
|
241
|
-
type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left
|
|
242
|
-
default: string;
|
|
243
|
-
};
|
|
244
|
-
theme: {
|
|
245
|
-
type: PropType<"light" | "dark">;
|
|
258
|
+
type: PropType<"left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
246
259
|
default: string;
|
|
247
260
|
};
|
|
248
261
|
zIndex: {
|
|
@@ -308,11 +321,7 @@ type: PropType<number[]>;
|
|
|
308
321
|
default: () => number[];
|
|
309
322
|
};
|
|
310
323
|
placement: {
|
|
311
|
-
type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left
|
|
312
|
-
default: string;
|
|
313
|
-
};
|
|
314
|
-
theme: {
|
|
315
|
-
type: PropType<"light" | "dark">;
|
|
324
|
+
type: PropType<"left" | "right" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end">;
|
|
316
325
|
default: string;
|
|
317
326
|
};
|
|
318
327
|
zIndex: {
|
|
@@ -338,7 +347,6 @@ interactiveBorder: number;
|
|
|
338
347
|
maxWidth: number;
|
|
339
348
|
offset: number[];
|
|
340
349
|
placement: TTooltipPosition;
|
|
341
|
-
theme: "light" | "dark";
|
|
342
350
|
zIndex: number;
|
|
343
351
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
344
352
|
|
|
@@ -449,7 +457,10 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
449
457
|
export declare const install: (app: App) => void;
|
|
450
458
|
|
|
451
459
|
declare interface IProps {
|
|
452
|
-
|
|
460
|
+
justifyContent?: '' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'normal' | 'space-between' | 'space-around' | 'space-evenly';
|
|
461
|
+
padding?: '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
|
|
462
|
+
paddingBlock?: '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
|
|
463
|
+
paddingInline?: '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
|
|
453
464
|
radius?: '' | 'r0' | 'r2' | 'r4' | 'r6' | 'r8' | 'r12' | 'r14' | 'r16' | 'r18' | 'r20' | 'r22' | 'r24' | 'r26' | 'r28' | 'r30' | 'r32';
|
|
454
465
|
width?: string;
|
|
455
466
|
}
|