turmag-vue-components 0.0.9 → 0.0.12
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 +33 -27
- package/dist/turmag-vue-components.es.js +507 -503
- package/dist/turmag-vue-components.umd.js +2 -2
- package/package.json +15 -15
package/dist/index.d.ts
CHANGED
|
@@ -14,21 +14,21 @@ alignItems?: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
|
|
|
14
14
|
alignSelf?: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch" | "auto";
|
|
15
15
|
bg?: "" | "default" | "secondary" | "accent" | "surface" | "muted" | "quiet";
|
|
16
16
|
borderColor?: "" | "default" | "secondary" | "accent" | "muted";
|
|
17
|
-
colGap?:
|
|
17
|
+
colGap?: TGap;
|
|
18
18
|
direction?: "" | "col" | "reverse" | "col-reverse";
|
|
19
|
-
gap?:
|
|
19
|
+
gap?: TGap;
|
|
20
20
|
grow?: boolean;
|
|
21
21
|
height?: "" | "hfull";
|
|
22
22
|
justifyContent?: "" | "flex-start" | "flex-end" | "center" | "stretch" | "normal" | "space-between" | "space-around" | "space-evenly";
|
|
23
23
|
justifyItems?: "" | "flex-start" | "flex-end" | "center" | "stretch";
|
|
24
24
|
justifySelf?: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch" | "auto";
|
|
25
|
-
padding?:
|
|
26
|
-
paddingBlock?:
|
|
27
|
-
paddingInline?:
|
|
25
|
+
padding?: TPadding;
|
|
26
|
+
paddingBlock?: TPadding;
|
|
27
|
+
paddingInline?: TPadding;
|
|
28
28
|
position?: "" | "relative" | "absolute" | "sticky" | "fixed";
|
|
29
|
-
radius?:
|
|
30
|
-
rowGap?:
|
|
31
|
-
tag?: keyof HTMLElementTagNameMap;
|
|
29
|
+
radius?: TRadius;
|
|
30
|
+
rowGap?: TGap;
|
|
31
|
+
tag?: keyof HTMLElementTagNameMap | "router-link";
|
|
32
32
|
width?: "" | "wfull";
|
|
33
33
|
wrap?: "" | "nowrap" | "wrap" | "wrap-reverse";
|
|
34
34
|
}>, {
|
|
@@ -60,21 +60,21 @@ alignItems?: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
|
|
|
60
60
|
alignSelf?: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch" | "auto";
|
|
61
61
|
bg?: "" | "default" | "secondary" | "accent" | "surface" | "muted" | "quiet";
|
|
62
62
|
borderColor?: "" | "default" | "secondary" | "accent" | "muted";
|
|
63
|
-
colGap?:
|
|
63
|
+
colGap?: TGap;
|
|
64
64
|
direction?: "" | "col" | "reverse" | "col-reverse";
|
|
65
|
-
gap?:
|
|
65
|
+
gap?: TGap;
|
|
66
66
|
grow?: boolean;
|
|
67
67
|
height?: "" | "hfull";
|
|
68
68
|
justifyContent?: "" | "flex-start" | "flex-end" | "center" | "stretch" | "normal" | "space-between" | "space-around" | "space-evenly";
|
|
69
69
|
justifyItems?: "" | "flex-start" | "flex-end" | "center" | "stretch";
|
|
70
70
|
justifySelf?: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch" | "auto";
|
|
71
|
-
padding?:
|
|
72
|
-
paddingBlock?:
|
|
73
|
-
paddingInline?:
|
|
71
|
+
padding?: TPadding;
|
|
72
|
+
paddingBlock?: TPadding;
|
|
73
|
+
paddingInline?: TPadding;
|
|
74
74
|
position?: "" | "relative" | "absolute" | "sticky" | "fixed";
|
|
75
|
-
radius?:
|
|
76
|
-
rowGap?:
|
|
77
|
-
tag?: keyof HTMLElementTagNameMap;
|
|
75
|
+
radius?: TRadius;
|
|
76
|
+
rowGap?: TGap;
|
|
77
|
+
tag?: keyof HTMLElementTagNameMap | "router-link";
|
|
78
78
|
width?: "" | "wfull";
|
|
79
79
|
wrap?: "" | "nowrap" | "wrap" | "wrap-reverse";
|
|
80
80
|
}>, {
|
|
@@ -107,21 +107,21 @@ alignItems: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
|
|
|
107
107
|
alignSelf: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch" | "auto";
|
|
108
108
|
bg: "" | "default" | "secondary" | "accent" | "surface" | "muted" | "quiet";
|
|
109
109
|
borderColor: "" | "default" | "secondary" | "accent" | "muted";
|
|
110
|
-
colGap:
|
|
110
|
+
colGap: TGap;
|
|
111
111
|
direction: "" | "col" | "reverse" | "col-reverse";
|
|
112
|
-
gap:
|
|
112
|
+
gap: TGap;
|
|
113
113
|
grow: boolean;
|
|
114
114
|
height: "" | "hfull";
|
|
115
115
|
justifyContent: "" | "flex-start" | "flex-end" | "center" | "stretch" | "normal" | "space-between" | "space-around" | "space-evenly";
|
|
116
116
|
justifyItems: "" | "flex-start" | "flex-end" | "center" | "stretch";
|
|
117
117
|
justifySelf: "" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch" | "auto";
|
|
118
|
-
padding:
|
|
119
|
-
paddingBlock:
|
|
120
|
-
paddingInline:
|
|
118
|
+
padding: TPadding;
|
|
119
|
+
paddingBlock: TPadding;
|
|
120
|
+
paddingInline: TPadding;
|
|
121
121
|
position: "" | "relative" | "absolute" | "sticky" | "fixed";
|
|
122
|
-
radius:
|
|
123
|
-
rowGap:
|
|
124
|
-
tag: keyof HTMLElementTagNameMap;
|
|
122
|
+
radius: TRadius;
|
|
123
|
+
rowGap: TGap;
|
|
124
|
+
tag: keyof HTMLElementTagNameMap | "router-link";
|
|
125
125
|
width: "" | "wfull";
|
|
126
126
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
127
127
|
|
|
@@ -129,7 +129,7 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
129
129
|
color?: "default" | "hover" | "active" | "secondary";
|
|
130
130
|
display?: "block" | "inline" | "flex" | "";
|
|
131
131
|
line?: "lh100" | "lh110" | "lh120" | "lh130" | "lh140" | "lh150";
|
|
132
|
-
size?: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs28" | "fs32" | "fs36";
|
|
132
|
+
size?: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs28" | "fs32" | "fs36" | "fs40" | "fs42" | "fs48" | "fs64";
|
|
133
133
|
tag?: keyof HTMLElementTagNameMap;
|
|
134
134
|
text?: string | number | Ref<string, string>;
|
|
135
135
|
textAlign?: "left" | "center" | "right" | "";
|
|
@@ -149,7 +149,7 @@ wrap: string;
|
|
|
149
149
|
color?: "default" | "hover" | "active" | "secondary";
|
|
150
150
|
display?: "block" | "inline" | "flex" | "";
|
|
151
151
|
line?: "lh100" | "lh110" | "lh120" | "lh130" | "lh140" | "lh150";
|
|
152
|
-
size?: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs28" | "fs32" | "fs36";
|
|
152
|
+
size?: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs28" | "fs32" | "fs36" | "fs40" | "fs42" | "fs48" | "fs64";
|
|
153
153
|
tag?: keyof HTMLElementTagNameMap;
|
|
154
154
|
text?: string | number | Ref<string, string>;
|
|
155
155
|
textAlign?: "left" | "center" | "right" | "";
|
|
@@ -171,7 +171,7 @@ tag: keyof HTMLElementTagNameMap;
|
|
|
171
171
|
color: "default" | "hover" | "active" | "secondary";
|
|
172
172
|
display: "block" | "inline" | "flex" | "";
|
|
173
173
|
line: "lh100" | "lh110" | "lh120" | "lh130" | "lh140" | "lh150";
|
|
174
|
-
size: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs28" | "fs32" | "fs36";
|
|
174
|
+
size: "fs12" | "fs14" | "fs16" | "fs18" | "fs20" | "fs24" | "fs28" | "fs32" | "fs36" | "fs40" | "fs42" | "fs48" | "fs64";
|
|
175
175
|
text: string | number | Ref<string, string>;
|
|
176
176
|
textAlign: "left" | "center" | "right" | "";
|
|
177
177
|
weight: "fw400" | "fw500" | "fw600" | "fw700";
|
|
@@ -465,8 +465,14 @@ declare interface IProps {
|
|
|
465
465
|
width?: string;
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
+
declare type TGap = '' | 'g2' | 'g4' | 'g6' | 'g8' | 'g10' | 'g12' | 'g16' | 'g20' | 'g24' | 'g28' | 'g32' | 'g36' | 'g40' | 'g48' | 'g56' | 'g60' | 'g64' | 'g80' | 'g120';
|
|
469
|
+
|
|
468
470
|
declare const TOOLTIP_POSITIONS: readonly ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"];
|
|
469
471
|
|
|
472
|
+
declare type TPadding = '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
|
|
473
|
+
|
|
474
|
+
declare type TRadius = '' | 'r0' | 'r2' | 'r4' | 'r6' | 'r8' | 'r12' | 'r14' | 'r16' | 'r18' | 'r20' | 'r22' | 'r24' | 'r26' | 'r28' | 'r30' | 'r32';
|
|
475
|
+
|
|
470
476
|
declare type TTooltipPosition = typeof TOOLTIP_POSITIONS[number];
|
|
471
477
|
|
|
472
478
|
export declare const UiFlex: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|