turmag-vue-components 0.0.13 → 0.0.14

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +26 -37
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -14,20 +14,20 @@ 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?: TGap;
17
+ colGap?: TUiFlexGap;
18
18
  direction?: "" | "col" | "reverse" | "col-reverse";
19
- gap?: TGap;
19
+ gap?: TUiFlexGap;
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?: TPadding;
26
- paddingBlock?: TPadding;
27
- paddingInline?: TPadding;
25
+ padding?: TUiFlexPadding;
26
+ paddingBlock?: TUiFlexPadding;
27
+ paddingInline?: TUiFlexPadding;
28
28
  position?: "" | "relative" | "absolute" | "sticky" | "fixed";
29
- radius?: TRadius;
30
- rowGap?: TGap;
29
+ radius?: TUiFlexRadius;
30
+ rowGap?: TUiFlexGap;
31
31
  tag?: keyof HTMLElementTagNameMap | "router-link";
32
32
  width?: "" | "wfull";
33
33
  wrap?: "" | "nowrap" | "wrap" | "wrap-reverse";
@@ -60,20 +60,20 @@ 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?: TGap;
63
+ colGap?: TUiFlexGap;
64
64
  direction?: "" | "col" | "reverse" | "col-reverse";
65
- gap?: TGap;
65
+ gap?: TUiFlexGap;
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?: TPadding;
72
- paddingBlock?: TPadding;
73
- paddingInline?: TPadding;
71
+ padding?: TUiFlexPadding;
72
+ paddingBlock?: TUiFlexPadding;
73
+ paddingInline?: TUiFlexPadding;
74
74
  position?: "" | "relative" | "absolute" | "sticky" | "fixed";
75
- radius?: TRadius;
76
- rowGap?: TGap;
75
+ radius?: TUiFlexRadius;
76
+ rowGap?: TUiFlexGap;
77
77
  tag?: keyof HTMLElementTagNameMap | "router-link";
78
78
  width?: "" | "wfull";
79
79
  wrap?: "" | "nowrap" | "wrap" | "wrap-reverse";
@@ -107,20 +107,20 @@ 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: TGap;
110
+ colGap: TUiFlexGap;
111
111
  direction: "" | "col" | "reverse" | "col-reverse";
112
- gap: TGap;
112
+ gap: TUiFlexGap;
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: TPadding;
119
- paddingBlock: TPadding;
120
- paddingInline: TPadding;
118
+ padding: TUiFlexPadding;
119
+ paddingBlock: TUiFlexPadding;
120
+ paddingInline: TUiFlexPadding;
121
121
  position: "" | "relative" | "absolute" | "sticky" | "fixed";
122
- radius: TRadius;
123
- rowGap: TGap;
122
+ radius: TUiFlexRadius;
123
+ rowGap: TUiFlexGap;
124
124
  tag: keyof HTMLElementTagNameMap | "router-link";
125
125
  width: "" | "wfull";
126
126
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -465,15 +465,15 @@ 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
-
470
468
  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"];
471
469
 
472
- declare type TPadding = '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
470
+ declare type TTooltipPosition = typeof TOOLTIP_POSITIONS[number];
471
+
472
+ export declare type TUiFlexGap = '' | 'g2' | 'g4' | 'g6' | 'g8' | 'g10' | 'g12' | 'g16' | 'g20' | 'g24' | 'g28' | 'g32' | 'g36' | 'g40' | 'g48' | 'g56' | 'g60' | 'g64' | 'g80' | 'g120';
473
473
 
474
- declare type TRadius = '' | 'r0' | 'r2' | 'r4' | 'r6' | 'r8' | 'r12' | 'r14' | 'r16' | 'r18' | 'r20' | 'r22' | 'r24' | 'r26' | 'r28' | 'r30' | 'r32';
474
+ export declare type TUiFlexPadding = '' | 'p2' | 'p4' | 'p6' | 'p8' | 'p10' | 'p12' | 'p14' | 'p16' | 'p18' | 'p20' | 'p24' | 'p28' | 'p32' | 'p36' | 'p40' | 'p42' | 'p64' | 'p80' | 'p120';
475
475
 
476
- declare type TTooltipPosition = typeof TOOLTIP_POSITIONS[number];
476
+ export declare type TUiFlexRadius = '' | 'r0' | 'r2' | 'r4' | 'r6' | 'r8' | 'r12' | 'r14' | 'r16' | 'r18' | 'r20' | 'r22' | 'r24' | 'r26' | 'r28' | 'r30' | 'r32';
477
477
 
478
478
  export declare type TUiTextSize = 'fs12' | 'fs14' | 'fs16' | 'fs18' | 'fs20' | 'fs24' | 'fs28' | 'fs32' | 'fs36' | 'fs40' | 'fs42' | 'fs48' | 'fs64';
479
479
 
@@ -489,14 +489,3 @@ declare const VuComponentsPlugin: Plugin_2;
489
489
  export default VuComponentsPlugin;
490
490
 
491
491
  export { }
492
-
493
-
494
- declare module '@vue/runtime-core' {
495
- interface IGlobalComponents {
496
- UiFlex: typeof UiFlex;
497
- UiText: typeof UiText;
498
- UiTooltipContent: typeof UiTooltipContent;
499
- UiTooltipWrapper: typeof UiTooltipWrapper;
500
- }
501
- }
502
-
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "turmag-vue-components",
3
3
  "description": "The library of the components",
4
4
  "type": "module",
5
- "version": "0.0.13",
5
+ "version": "0.0.14",
6
6
  "private": false,
7
7
  "author": {
8
8
  "name": "Pavel Vinogradov",