mn-angular-lib 2.0.56 → 2.0.58

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mn-angular-lib",
3
- "version": "2.0.56",
3
+ "version": "2.0.58",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.1.7",
6
6
  "@angular/core": "^22.1.7",
@@ -3,47 +3,19 @@ import { InjectionToken, Provider, TemplateRef } from "@angular/core";
3
3
  import { VariantProps } from "tailwind-variants";
4
4
  export declare const mnAlertVariants: import("tailwind-variants").TVReturnType<{
5
5
  kind: {
6
- success: "bg-success/10 border-success/30 text-success";
7
- info: "bg-info/10 border-info/30 text-info";
8
- warning: "bg-warning/10 border-warning/30 text-warning";
9
- error: "bg-error/10 border-error/30 text-error";
10
- default: "bg-base-100 border-base-300 text-base-content";
11
- accent: "bg-accent/10 border-accent/30 text-accent";
6
+ success: string;
7
+ info: string;
8
+ warning: string;
9
+ error: string;
10
+ default: string;
11
+ accent: string;
12
12
  };
13
13
  variant: {
14
- fill: "";
15
- outline: "bg-base-200 border-2";
16
- soft: "border-none shadow-none";
14
+ fill: string;
15
+ outline: string;
16
+ soft: string;
17
17
  };
18
- }, undefined, "flex items-start gap-3 p-4 border rounded-xl shadow-sm w-full ", {
19
- kind: {
20
- success: "bg-success/10 border-success/30 text-success";
21
- info: "bg-info/10 border-info/30 text-info";
22
- warning: "bg-warning/10 border-warning/30 text-warning";
23
- error: "bg-error/10 border-error/30 text-error";
24
- default: "bg-base-100 border-base-300 text-base-content";
25
- accent: "bg-accent/10 border-accent/30 text-accent";
26
- };
27
- variant: {
28
- fill: "";
29
- outline: "bg-base-200 border-2";
30
- soft: "border-none shadow-none";
31
- };
32
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
33
- kind: {
34
- success: "bg-success/10 border-success/30 text-success";
35
- info: "bg-info/10 border-info/30 text-info";
36
- warning: "bg-warning/10 border-warning/30 text-warning";
37
- error: "bg-error/10 border-error/30 text-error";
38
- default: "bg-base-100 border-base-300 text-base-content";
39
- accent: "bg-accent/10 border-accent/30 text-accent";
40
- };
41
- variant: {
42
- fill: "";
43
- outline: "bg-base-200 border-2";
44
- soft: "border-none shadow-none";
45
- };
46
- }, undefined>>;
18
+ }, undefined, "flex items-start gap-3 p-4 border rounded-xl shadow-sm w-full ", undefined, undefined, undefined>;
47
19
  export type MnAlertVariants = VariantProps<typeof mnAlertVariants>;
48
20
  export type MnAlertId = string;
49
21
  export type MnAlert = {
@@ -2,161 +2,57 @@ import { VariantProps } from "tailwind-variants";
2
2
  import * as i0 from "@angular/core";
3
3
  export declare const mnButtonVariants: import("tailwind-variants").TVReturnType<{
4
4
  size: {
5
- sm: "px-2 py-1 text-sm";
6
- md: "px-3 py-1.5 text-base";
7
- lg: "px-4 py-2 text-lg";
5
+ sm: string;
6
+ md: string;
7
+ lg: string;
8
8
  };
9
9
  variant: {
10
- fill: "";
11
- outline: "bg-transparent border";
12
- text: "bg-transparent";
13
- textUnderline: "bg-transparent underline underline-offset-2";
14
- ghost: "bg-transparent";
10
+ fill: string;
11
+ outline: string;
12
+ text: string;
13
+ textUnderline: string;
14
+ ghost: string;
15
15
  };
16
16
  color: {
17
- primary: "";
18
- secondary: "";
19
- danger: "";
20
- warning: "";
21
- success: "";
22
- accent: "";
23
- gray: "";
17
+ primary: string;
18
+ secondary: string;
19
+ danger: string;
20
+ warning: string;
21
+ success: string;
22
+ accent: string;
23
+ gray: string;
24
24
  };
25
25
  borderRadius: {
26
- none: "rounded-none";
27
- xs: "rounded-xs";
28
- sm: "rounded-sm";
29
- md: "rounded-md";
30
- lg: "rounded-lg";
31
- xl: "rounded-xl";
32
- two_xl: "rounded-2xl";
33
- three_xl: "rounded-3xl";
34
- four_xl: "rounded-4xl";
35
- full: "rounded-full";
26
+ none: string;
27
+ xs: string;
28
+ sm: string;
29
+ md: string;
30
+ lg: string;
31
+ xl: string;
32
+ two_xl: string;
33
+ three_xl: string;
34
+ four_xl: string;
35
+ full: string;
36
36
  };
37
37
  shape: {
38
- default: "";
39
- circle: "p-0 shrink-0 rounded-full";
40
- square: "p-0 shrink-0 rounded-md";
38
+ default: string;
39
+ circle: string;
40
+ square: string;
41
41
  };
42
42
  disabled: {
43
- true: "opacity-50 pointer-events-none";
43
+ true: string;
44
44
  };
45
45
  loading: {
46
- true: "opacity-50 pointer-events-none cursor-wait";
46
+ true: string;
47
47
  };
48
48
  wrap: {
49
- true: "whitespace-normal";
50
- false: "whitespace-nowrap";
49
+ true: string;
50
+ false: string;
51
51
  };
52
52
  hover: {
53
- true: "";
53
+ true: string;
54
54
  };
55
- }, undefined, "inline-flex items-center justify-center hover:cursor-pointer transition-[color,background-color,border-color,box-shadow,filter,opacity] duration-300 ease-in-out", {
56
- size: {
57
- sm: "px-2 py-1 text-sm";
58
- md: "px-3 py-1.5 text-base";
59
- lg: "px-4 py-2 text-lg";
60
- };
61
- variant: {
62
- fill: "";
63
- outline: "bg-transparent border";
64
- text: "bg-transparent";
65
- textUnderline: "bg-transparent underline underline-offset-2";
66
- ghost: "bg-transparent";
67
- };
68
- color: {
69
- primary: "";
70
- secondary: "";
71
- danger: "";
72
- warning: "";
73
- success: "";
74
- accent: "";
75
- gray: "";
76
- };
77
- borderRadius: {
78
- none: "rounded-none";
79
- xs: "rounded-xs";
80
- sm: "rounded-sm";
81
- md: "rounded-md";
82
- lg: "rounded-lg";
83
- xl: "rounded-xl";
84
- two_xl: "rounded-2xl";
85
- three_xl: "rounded-3xl";
86
- four_xl: "rounded-4xl";
87
- full: "rounded-full";
88
- };
89
- shape: {
90
- default: "";
91
- circle: "p-0 shrink-0 rounded-full";
92
- square: "p-0 shrink-0 rounded-md";
93
- };
94
- disabled: {
95
- true: "opacity-50 pointer-events-none";
96
- };
97
- loading: {
98
- true: "opacity-50 pointer-events-none cursor-wait";
99
- };
100
- wrap: {
101
- true: "whitespace-normal";
102
- false: "whitespace-nowrap";
103
- };
104
- hover: {
105
- true: "";
106
- };
107
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
108
- size: {
109
- sm: "px-2 py-1 text-sm";
110
- md: "px-3 py-1.5 text-base";
111
- lg: "px-4 py-2 text-lg";
112
- };
113
- variant: {
114
- fill: "";
115
- outline: "bg-transparent border";
116
- text: "bg-transparent";
117
- textUnderline: "bg-transparent underline underline-offset-2";
118
- ghost: "bg-transparent";
119
- };
120
- color: {
121
- primary: "";
122
- secondary: "";
123
- danger: "";
124
- warning: "";
125
- success: "";
126
- accent: "";
127
- gray: "";
128
- };
129
- borderRadius: {
130
- none: "rounded-none";
131
- xs: "rounded-xs";
132
- sm: "rounded-sm";
133
- md: "rounded-md";
134
- lg: "rounded-lg";
135
- xl: "rounded-xl";
136
- two_xl: "rounded-2xl";
137
- three_xl: "rounded-3xl";
138
- four_xl: "rounded-4xl";
139
- full: "rounded-full";
140
- };
141
- shape: {
142
- default: "";
143
- circle: "p-0 shrink-0 rounded-full";
144
- square: "p-0 shrink-0 rounded-md";
145
- };
146
- disabled: {
147
- true: "opacity-50 pointer-events-none";
148
- };
149
- loading: {
150
- true: "opacity-50 pointer-events-none cursor-wait";
151
- };
152
- wrap: {
153
- true: "whitespace-normal";
154
- false: "whitespace-nowrap";
155
- };
156
- hover: {
157
- true: "";
158
- };
159
- }, undefined>>;
55
+ }, undefined, "inline-flex items-center justify-center hover:cursor-pointer transition-[color,background-color,border-color,box-shadow,filter,opacity] duration-300 ease-in-out", undefined, undefined, undefined>;
160
56
  export type MnButtonVariants = VariantProps<typeof mnButtonVariants>;
161
57
  export type MnButtonTypes = {
162
58
  size: MnButtonVariants['size'];
@@ -187,77 +83,29 @@ export declare class MnButton {
187
83
  }
188
84
  export declare const mnBadgeVariants: import("tailwind-variants").TVReturnType<{
189
85
  size: {
190
- sm: "px-1.5 py-0.5 text-xs";
191
- md: "px-2 py-0.5 text-sm";
192
- lg: "px-2.5 py-1 text-base";
193
- xl: "px-3 py-1.5 text-lg";
194
- };
195
- variant: {
196
- default: "";
197
- fill: "";
198
- };
199
- wrap: {
200
- true: "whitespace-normal";
201
- false: "whitespace-nowrap";
202
- };
203
- color: {
204
- primary: "";
205
- secondary: "";
206
- danger: "";
207
- warning: "";
208
- success: "";
209
- accent: "";
210
- lightgray: "";
211
- };
212
- }, undefined, "inline-flex items-center rounded-md border font-semibold", {
213
- size: {
214
- sm: "px-1.5 py-0.5 text-xs";
215
- md: "px-2 py-0.5 text-sm";
216
- lg: "px-2.5 py-1 text-base";
217
- xl: "px-3 py-1.5 text-lg";
218
- };
219
- variant: {
220
- default: "";
221
- fill: "";
222
- };
223
- wrap: {
224
- true: "whitespace-normal";
225
- false: "whitespace-nowrap";
226
- };
227
- color: {
228
- primary: "";
229
- secondary: "";
230
- danger: "";
231
- warning: "";
232
- success: "";
233
- accent: "";
234
- lightgray: "";
235
- };
236
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
237
- size: {
238
- sm: "px-1.5 py-0.5 text-xs";
239
- md: "px-2 py-0.5 text-sm";
240
- lg: "px-2.5 py-1 text-base";
241
- xl: "px-3 py-1.5 text-lg";
86
+ sm: string;
87
+ md: string;
88
+ lg: string;
89
+ xl: string;
242
90
  };
243
91
  variant: {
244
- default: "";
245
- fill: "";
92
+ default: string;
93
+ fill: string;
246
94
  };
247
95
  wrap: {
248
- true: "whitespace-normal";
249
- false: "whitespace-nowrap";
96
+ true: string;
97
+ false: string;
250
98
  };
251
99
  color: {
252
- primary: "";
253
- secondary: "";
254
- danger: "";
255
- warning: "";
256
- success: "";
257
- accent: "";
258
- lightgray: "";
259
- };
260
- }, undefined>>;
100
+ primary: string;
101
+ secondary: string;
102
+ danger: string;
103
+ warning: string;
104
+ success: string;
105
+ accent: string;
106
+ lightgray: string;
107
+ };
108
+ }, undefined, "inline-flex items-center rounded-md border font-semibold", undefined, undefined, undefined>;
261
109
  export type MnBadgeVariants = VariantProps<typeof mnBadgeVariants>;
262
110
  export type MnBadgeTypes = {
263
111
  size: MnBadgeVariants['size'];
@@ -308,21 +156,9 @@ export declare class MnSkeleton {
308
156
  }
309
157
  export declare const mnSkeletonVariants: import("tailwind-variants").TVReturnType<{
310
158
  shape: {
311
- rectangle: "rounded-md h-4";
312
- circle: "rounded-full h-10 w-10";
313
- text: "rounded h-4";
314
- };
315
- }, undefined, "bg-base-300 relative overflow-hidden", {
316
- shape: {
317
- rectangle: "rounded-md h-4";
318
- circle: "rounded-full h-10 w-10";
319
- text: "rounded h-4";
320
- };
321
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
322
- shape: {
323
- rectangle: "rounded-md h-4";
324
- circle: "rounded-full h-10 w-10";
325
- text: "rounded h-4";
159
+ rectangle: string;
160
+ circle: string;
161
+ text: string;
326
162
  };
327
- }, undefined>>;
163
+ }, undefined, "bg-base-300 relative overflow-hidden", undefined, undefined, undefined>;
328
164
  export type MnSkeletonVariantProps = VariantProps<typeof mnSkeletonVariants>;