auxalia-ui-kit 1.6.1 → 1.6.2
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/{chunk-SGPYWKN6.js → chunk-N24ZQVRM.js} +32 -0
- package/dist/index.cjs +35 -3
- package/dist/index.js +4 -4
- package/dist/tailwind.preset.cjs +32 -0
- package/dist/tailwind.preset.js +1 -1
- package/dist/tokens.css +31 -0
- package/package.json +1 -1
|
@@ -33,6 +33,38 @@ var preset = {
|
|
|
33
33
|
display: ["Inter", "sans-serif"],
|
|
34
34
|
body: ["Inter", "sans-serif"]
|
|
35
35
|
},
|
|
36
|
+
fontSize: {
|
|
37
|
+
"2xs": ["var(--font-size-2xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
38
|
+
xs: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
39
|
+
sm: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
40
|
+
base: ["var(--font-size-base)", { lineHeight: "var(--line-height-normal)" }],
|
|
41
|
+
md: ["var(--font-size-md)", { lineHeight: "var(--line-height-normal)" }],
|
|
42
|
+
lg: ["var(--font-size-lg)", { lineHeight: "var(--line-height-snug)" }],
|
|
43
|
+
xl: ["var(--font-size-xl)", { lineHeight: "var(--line-height-snug)" }],
|
|
44
|
+
"2xl": ["var(--font-size-2xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
45
|
+
"3xl": ["var(--font-size-3xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
46
|
+
"4xl": ["var(--font-size-4xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
47
|
+
"5xl": ["var(--font-size-5xl)", { lineHeight: "var(--line-height-tight)" }]
|
|
48
|
+
},
|
|
49
|
+
fontWeight: {
|
|
50
|
+
normal: "var(--font-weight-normal)",
|
|
51
|
+
medium: "var(--font-weight-medium)",
|
|
52
|
+
semibold: "var(--font-weight-semibold)",
|
|
53
|
+
bold: "var(--font-weight-bold)"
|
|
54
|
+
},
|
|
55
|
+
lineHeight: {
|
|
56
|
+
none: "var(--line-height-none)",
|
|
57
|
+
tight: "var(--line-height-tight)",
|
|
58
|
+
snug: "var(--line-height-snug)",
|
|
59
|
+
normal: "var(--line-height-normal)",
|
|
60
|
+
relaxed: "var(--line-height-relaxed)"
|
|
61
|
+
},
|
|
62
|
+
letterSpacing: {
|
|
63
|
+
tight: "var(--tracking-tight)",
|
|
64
|
+
normal: "var(--tracking-normal)",
|
|
65
|
+
wide: "var(--tracking-wide)",
|
|
66
|
+
widest: "var(--tracking-widest)"
|
|
67
|
+
},
|
|
36
68
|
colors: {
|
|
37
69
|
// ─── Brand semantic tokens (map to CSS vars in tokens.css) ───
|
|
38
70
|
primary: "var(--color-primary)",
|
package/dist/index.cjs
CHANGED
|
@@ -1063,7 +1063,7 @@ function FieldError({
|
|
|
1063
1063
|
{
|
|
1064
1064
|
role: "alert",
|
|
1065
1065
|
"data-slot": "field-error",
|
|
1066
|
-
className: cn("text-destructive text-
|
|
1066
|
+
className: cn("text-destructive text-2xs font-normal", className),
|
|
1067
1067
|
...props,
|
|
1068
1068
|
children: content
|
|
1069
1069
|
}
|
|
@@ -6457,7 +6457,7 @@ var selectTriggerVariants = (0, import_class_variance_authority12.cva)(
|
|
|
6457
6457
|
},
|
|
6458
6458
|
size: {
|
|
6459
6459
|
sm: "h-8 px-3 text-sm",
|
|
6460
|
-
md: "h-10 px-3 text-
|
|
6460
|
+
md: "h-10 px-3 text-sm",
|
|
6461
6461
|
lg: "h-12 px-4 text-base"
|
|
6462
6462
|
}
|
|
6463
6463
|
},
|
|
@@ -6663,7 +6663,7 @@ var textVariants = (0, import_class_variance_authority14.cva)(`text-content`, {
|
|
|
6663
6663
|
variants: {
|
|
6664
6664
|
size: {
|
|
6665
6665
|
sm: "text-sm",
|
|
6666
|
-
md: "text-
|
|
6666
|
+
md: "text-base",
|
|
6667
6667
|
lg: "text-lg",
|
|
6668
6668
|
xl: "text-xl font-semibold",
|
|
6669
6669
|
"2xl": "text-2xl font-semibold",
|
|
@@ -7392,6 +7392,38 @@ var preset = {
|
|
|
7392
7392
|
display: ["Inter", "sans-serif"],
|
|
7393
7393
|
body: ["Inter", "sans-serif"]
|
|
7394
7394
|
},
|
|
7395
|
+
fontSize: {
|
|
7396
|
+
"2xs": ["var(--font-size-2xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
7397
|
+
xs: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
7398
|
+
sm: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
7399
|
+
base: ["var(--font-size-base)", { lineHeight: "var(--line-height-normal)" }],
|
|
7400
|
+
md: ["var(--font-size-md)", { lineHeight: "var(--line-height-normal)" }],
|
|
7401
|
+
lg: ["var(--font-size-lg)", { lineHeight: "var(--line-height-snug)" }],
|
|
7402
|
+
xl: ["var(--font-size-xl)", { lineHeight: "var(--line-height-snug)" }],
|
|
7403
|
+
"2xl": ["var(--font-size-2xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
7404
|
+
"3xl": ["var(--font-size-3xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
7405
|
+
"4xl": ["var(--font-size-4xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
7406
|
+
"5xl": ["var(--font-size-5xl)", { lineHeight: "var(--line-height-tight)" }]
|
|
7407
|
+
},
|
|
7408
|
+
fontWeight: {
|
|
7409
|
+
normal: "var(--font-weight-normal)",
|
|
7410
|
+
medium: "var(--font-weight-medium)",
|
|
7411
|
+
semibold: "var(--font-weight-semibold)",
|
|
7412
|
+
bold: "var(--font-weight-bold)"
|
|
7413
|
+
},
|
|
7414
|
+
lineHeight: {
|
|
7415
|
+
none: "var(--line-height-none)",
|
|
7416
|
+
tight: "var(--line-height-tight)",
|
|
7417
|
+
snug: "var(--line-height-snug)",
|
|
7418
|
+
normal: "var(--line-height-normal)",
|
|
7419
|
+
relaxed: "var(--line-height-relaxed)"
|
|
7420
|
+
},
|
|
7421
|
+
letterSpacing: {
|
|
7422
|
+
tight: "var(--tracking-tight)",
|
|
7423
|
+
normal: "var(--tracking-normal)",
|
|
7424
|
+
wide: "var(--tracking-wide)",
|
|
7425
|
+
widest: "var(--tracking-widest)"
|
|
7426
|
+
},
|
|
7395
7427
|
colors: {
|
|
7396
7428
|
// ─── Brand semantic tokens (map to CSS vars in tokens.css) ───
|
|
7397
7429
|
primary: "var(--color-primary)",
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tailwind_preset_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N24ZQVRM.js";
|
|
4
4
|
|
|
5
5
|
// src/components/Alert.tsx
|
|
6
6
|
import * as React from "react";
|
|
@@ -938,7 +938,7 @@ function FieldError({
|
|
|
938
938
|
{
|
|
939
939
|
role: "alert",
|
|
940
940
|
"data-slot": "field-error",
|
|
941
|
-
className: cn("text-destructive text-
|
|
941
|
+
className: cn("text-destructive text-2xs font-normal", className),
|
|
942
942
|
...props,
|
|
943
943
|
children: content
|
|
944
944
|
}
|
|
@@ -6336,7 +6336,7 @@ var selectTriggerVariants = cva12(
|
|
|
6336
6336
|
},
|
|
6337
6337
|
size: {
|
|
6338
6338
|
sm: "h-8 px-3 text-sm",
|
|
6339
|
-
md: "h-10 px-3 text-
|
|
6339
|
+
md: "h-10 px-3 text-sm",
|
|
6340
6340
|
lg: "h-12 px-4 text-base"
|
|
6341
6341
|
}
|
|
6342
6342
|
},
|
|
@@ -6542,7 +6542,7 @@ var textVariants = cva14(`text-content`, {
|
|
|
6542
6542
|
variants: {
|
|
6543
6543
|
size: {
|
|
6544
6544
|
sm: "text-sm",
|
|
6545
|
-
md: "text-
|
|
6545
|
+
md: "text-base",
|
|
6546
6546
|
lg: "text-lg",
|
|
6547
6547
|
xl: "text-xl font-semibold",
|
|
6548
6548
|
"2xl": "text-2xl font-semibold",
|
package/dist/tailwind.preset.cjs
CHANGED
|
@@ -56,6 +56,38 @@ var preset = {
|
|
|
56
56
|
display: ["Inter", "sans-serif"],
|
|
57
57
|
body: ["Inter", "sans-serif"]
|
|
58
58
|
},
|
|
59
|
+
fontSize: {
|
|
60
|
+
"2xs": ["var(--font-size-2xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
61
|
+
xs: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
62
|
+
sm: ["var(--font-size-xs)", { lineHeight: "var(--line-height-normal)" }],
|
|
63
|
+
base: ["var(--font-size-base)", { lineHeight: "var(--line-height-normal)" }],
|
|
64
|
+
md: ["var(--font-size-md)", { lineHeight: "var(--line-height-normal)" }],
|
|
65
|
+
lg: ["var(--font-size-lg)", { lineHeight: "var(--line-height-snug)" }],
|
|
66
|
+
xl: ["var(--font-size-xl)", { lineHeight: "var(--line-height-snug)" }],
|
|
67
|
+
"2xl": ["var(--font-size-2xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
68
|
+
"3xl": ["var(--font-size-3xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
69
|
+
"4xl": ["var(--font-size-4xl)", { lineHeight: "var(--line-height-tight)" }],
|
|
70
|
+
"5xl": ["var(--font-size-5xl)", { lineHeight: "var(--line-height-tight)" }]
|
|
71
|
+
},
|
|
72
|
+
fontWeight: {
|
|
73
|
+
normal: "var(--font-weight-normal)",
|
|
74
|
+
medium: "var(--font-weight-medium)",
|
|
75
|
+
semibold: "var(--font-weight-semibold)",
|
|
76
|
+
bold: "var(--font-weight-bold)"
|
|
77
|
+
},
|
|
78
|
+
lineHeight: {
|
|
79
|
+
none: "var(--line-height-none)",
|
|
80
|
+
tight: "var(--line-height-tight)",
|
|
81
|
+
snug: "var(--line-height-snug)",
|
|
82
|
+
normal: "var(--line-height-normal)",
|
|
83
|
+
relaxed: "var(--line-height-relaxed)"
|
|
84
|
+
},
|
|
85
|
+
letterSpacing: {
|
|
86
|
+
tight: "var(--tracking-tight)",
|
|
87
|
+
normal: "var(--tracking-normal)",
|
|
88
|
+
wide: "var(--tracking-wide)",
|
|
89
|
+
widest: "var(--tracking-widest)"
|
|
90
|
+
},
|
|
59
91
|
colors: {
|
|
60
92
|
// ─── Brand semantic tokens (map to CSS vars in tokens.css) ───
|
|
61
93
|
primary: "var(--color-primary)",
|
package/dist/tailwind.preset.js
CHANGED
package/dist/tokens.css
CHANGED
|
@@ -7,6 +7,37 @@
|
|
|
7
7
|
/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
|
|
8
8
|
--font-sans: 'Inter', sans-serif;
|
|
9
9
|
|
|
10
|
+
/* Font sizes */
|
|
11
|
+
--font-size-2xs: 0.625rem; /* 10px */
|
|
12
|
+
--font-size-xs: 0.75rem; /* 12px */
|
|
13
|
+
--font-size-base: 0.875rem; /* 14px */
|
|
14
|
+
--font-size-md: 1rem; /* 16px */
|
|
15
|
+
--font-size-lg: 1.125rem; /* 18px */
|
|
16
|
+
--font-size-xl: 1.25rem; /* 20px */
|
|
17
|
+
--font-size-2xl: 1.5rem; /* 24px */
|
|
18
|
+
--font-size-3xl: 1.875rem; /* 30px */
|
|
19
|
+
--font-size-4xl: 2.25rem; /* 36px */
|
|
20
|
+
--font-size-5xl: 3rem; /* 48px */
|
|
21
|
+
|
|
22
|
+
/* Line heights */
|
|
23
|
+
--line-height-none: 1;
|
|
24
|
+
--line-height-tight: 1.25;
|
|
25
|
+
--line-height-snug: 1.375;
|
|
26
|
+
--line-height-normal: 1.5;
|
|
27
|
+
--line-height-relaxed: 1.625;
|
|
28
|
+
|
|
29
|
+
/* Font weights */
|
|
30
|
+
--font-weight-normal: 400;
|
|
31
|
+
--font-weight-medium: 500;
|
|
32
|
+
--font-weight-semibold: 600;
|
|
33
|
+
--font-weight-bold: 700;
|
|
34
|
+
|
|
35
|
+
/* Letter spacing */
|
|
36
|
+
--tracking-tight: -0.025em;
|
|
37
|
+
--tracking-normal: 0em;
|
|
38
|
+
--tracking-wide: 0.025em;
|
|
39
|
+
--tracking-widest: 0.1em;
|
|
40
|
+
|
|
10
41
|
/* ─── STATIC PALETTE ───────────────────────────────────────── */
|
|
11
42
|
|
|
12
43
|
/* Auxalia Green scale */
|