@bl33dz/fa814698dcde12f86a37ac31dd3aedf9 1.0.3 → 1.0.5
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/fa814698dcde12f86a37ac31dd3aedf9.css +1 -0
- package/dist/perisai-ui.es.js +1262 -1390
- package/dist/perisai-ui.umd.js +1 -1
- package/package.json +1 -1
- package/src/global.css +575 -0
- package/src/index.ts +1 -4
- package/src/ui/SelectGroup.vue +4 -14
- package/src/ui/SelectLabel.vue +9 -20
- package/src/ui/SelectSeparator.vue +11 -17
- package/dist/ui.css +0 -1
- package/src/index.css +0 -90
- package/tailwind-preset.js +0 -88
package/src/index.css
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@tailwind base;
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
|
|
5
|
-
@layer base {
|
|
6
|
-
:root {
|
|
7
|
-
--background: 0 0% 100%;
|
|
8
|
-
--foreground: 240 10% 3.9%;
|
|
9
|
-
--card: 0 0% 100%;
|
|
10
|
-
--card-foreground: 240 10% 3.9%;
|
|
11
|
-
--popover: 0 0% 100%;
|
|
12
|
-
--popover-foreground: 240 10% 3.9%;
|
|
13
|
-
--primary: 240 5.9% 10%;
|
|
14
|
-
--primary-foreground: 0 0% 98%;
|
|
15
|
-
--secondary: 240 4.8% 95.9%;
|
|
16
|
-
--secondary-foreground: 240 5.9% 10%;
|
|
17
|
-
--muted: 240 4.8% 95.9%;
|
|
18
|
-
--muted-foreground: 240 3.8% 46.1%;
|
|
19
|
-
--accent: 240 4.8% 95.9%;
|
|
20
|
-
--accent-foreground: 240 5.9% 10%;
|
|
21
|
-
--destructive: 0 84.2% 60.2%;
|
|
22
|
-
--destructive-foreground: 0 0% 98%;
|
|
23
|
-
--border: 240 5.9% 90%;
|
|
24
|
-
--input: 240 5.9% 90%;
|
|
25
|
-
--ring: 240 10% 3.9%;
|
|
26
|
-
--radius: 0.5rem;
|
|
27
|
-
|
|
28
|
-
--success: 142 76% 36%;
|
|
29
|
-
--success-foreground: 0 0% 98%;
|
|
30
|
-
--warning: 38 92% 50%;
|
|
31
|
-
--warning-foreground: 0 0% 98%;
|
|
32
|
-
--error: 0 84% 60%;
|
|
33
|
-
--error-foreground: 0 0% 98%;
|
|
34
|
-
--info: 221 83% 53%;
|
|
35
|
-
--info-foreground: 0 0% 98%;
|
|
36
|
-
|
|
37
|
-
--text-h1: 2.25rem;
|
|
38
|
-
--text-h2: 1.875rem;
|
|
39
|
-
--text-h3: 1.5rem;
|
|
40
|
-
--text-h4: 1.25rem;
|
|
41
|
-
--text-h5: 1.125rem;
|
|
42
|
-
--text-h6: 1rem;
|
|
43
|
-
--text-body-lg: 1.125rem;
|
|
44
|
-
--text-body: 1rem;
|
|
45
|
-
--text-body-sm: 0.875rem;
|
|
46
|
-
--text-body-xs: 0.75rem;
|
|
47
|
-
|
|
48
|
-
--elevation-0: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
|
|
49
|
-
--elevation-1: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
50
|
-
--elevation-2: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px 0px rgba(0, 0, 0, 0.06);
|
|
51
|
-
--elevation-3: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
52
|
-
--elevation-4: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
53
|
-
--elevation-5: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 10px 10px -5px rgba(0, 0, 0, 0.04);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.dark {
|
|
57
|
-
--background: 240 10% 3.9%;
|
|
58
|
-
--foreground: 0 0% 98%;
|
|
59
|
-
--card: 240 10% 3.9%;
|
|
60
|
-
--card-foreground: 0 0% 98%;
|
|
61
|
-
--popover: 240 10% 3.9%;
|
|
62
|
-
--popover-foreground: 0 0% 98%;
|
|
63
|
-
--primary: 0 0% 98%;
|
|
64
|
-
--primary-foreground: 240 5.9% 10%;
|
|
65
|
-
--secondary: 240 3.7% 15.9%;
|
|
66
|
-
--secondary-foreground: 0 0% 98%;
|
|
67
|
-
--muted: 240 3.7% 15.9%;
|
|
68
|
-
--muted-foreground: 240 5% 64.9%;
|
|
69
|
-
--accent: 240 3.7% 15.9%;
|
|
70
|
-
--accent-foreground: 0 0% 98%;
|
|
71
|
-
--destructive: 0 62.8% 30.6%;
|
|
72
|
-
--destructive-foreground: 0 0% 98%;
|
|
73
|
-
--border: 240 3.7% 15.9%;
|
|
74
|
-
--input: 240 3.7% 15.9%;
|
|
75
|
-
--ring: 240 4.9% 83.9%;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@layer base {
|
|
80
|
-
* {
|
|
81
|
-
@apply border-border;
|
|
82
|
-
}
|
|
83
|
-
body {
|
|
84
|
-
@apply bg-background text-foreground;
|
|
85
|
-
font-family: 'Inter', system-ui, sans-serif;
|
|
86
|
-
}
|
|
87
|
-
.font-mono {
|
|
88
|
-
font-family: 'Iosevka', monospace;
|
|
89
|
-
}
|
|
90
|
-
}
|
package/tailwind-preset.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
theme: {
|
|
3
|
-
extend: {
|
|
4
|
-
colors: {
|
|
5
|
-
background: "hsl(var(--background))",
|
|
6
|
-
foreground: "hsl(var(--foreground))",
|
|
7
|
-
card: {
|
|
8
|
-
DEFAULT: "hsl(var(--card))",
|
|
9
|
-
foreground: "hsl(var(--card-foreground))",
|
|
10
|
-
},
|
|
11
|
-
popover: {
|
|
12
|
-
DEFAULT: "hsl(var(--popover))",
|
|
13
|
-
foreground: "hsl(var(--popover-foreground))",
|
|
14
|
-
},
|
|
15
|
-
primary: {
|
|
16
|
-
DEFAULT: "hsl(var(--primary))",
|
|
17
|
-
foreground: "hsl(var(--primary-foreground))",
|
|
18
|
-
},
|
|
19
|
-
secondary: {
|
|
20
|
-
DEFAULT: "hsl(var(--secondary))",
|
|
21
|
-
foreground: "hsl(var(--secondary-foreground))",
|
|
22
|
-
},
|
|
23
|
-
muted: {
|
|
24
|
-
DEFAULT: "hsl(var(--muted))",
|
|
25
|
-
foreground: "hsl(var(--muted-foreground))",
|
|
26
|
-
},
|
|
27
|
-
accent: {
|
|
28
|
-
DEFAULT: "hsl(var(--accent))",
|
|
29
|
-
foreground: "hsl(var(--accent-foreground))",
|
|
30
|
-
},
|
|
31
|
-
destructive: {
|
|
32
|
-
DEFAULT: "hsl(var(--destructive))",
|
|
33
|
-
foreground: "hsl(var(--destructive-foreground))",
|
|
34
|
-
},
|
|
35
|
-
border: "hsl(var(--border))",
|
|
36
|
-
input: "hsl(var(--input))",
|
|
37
|
-
ring: "hsl(var(--ring))",
|
|
38
|
-
|
|
39
|
-
// semantic statuses
|
|
40
|
-
success: {
|
|
41
|
-
DEFAULT: "hsl(var(--success))",
|
|
42
|
-
foreground: "hsl(var(--success-foreground))",
|
|
43
|
-
},
|
|
44
|
-
warning: {
|
|
45
|
-
DEFAULT: "hsl(var(--warning))",
|
|
46
|
-
foreground: "hsl(var(--warning-foreground))",
|
|
47
|
-
},
|
|
48
|
-
error: {
|
|
49
|
-
DEFAULT: "hsl(var(--error))",
|
|
50
|
-
foreground: "hsl(var(--error-foreground))",
|
|
51
|
-
},
|
|
52
|
-
info: {
|
|
53
|
-
DEFAULT: "hsl(var(--info))",
|
|
54
|
-
foreground: "hsl(var(--info-foreground))",
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
borderRadius: {
|
|
59
|
-
lg: "var(--radius)",
|
|
60
|
-
md: "calc(var(--radius) - 2px)",
|
|
61
|
-
sm: "calc(var(--radius) - 4px)",
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
fontSize: {
|
|
65
|
-
h1: "var(--text-h1)",
|
|
66
|
-
h2: "var(--text-h2)",
|
|
67
|
-
h3: "var(--text-h3)",
|
|
68
|
-
h4: "var(--text-h4)",
|
|
69
|
-
h5: "var(--text-h5)",
|
|
70
|
-
h6: "var(--text-h6)",
|
|
71
|
-
bodylg: "var(--text-body-lg)",
|
|
72
|
-
body: "var(--text-body)",
|
|
73
|
-
bodysm: "var(--text-body-sm)",
|
|
74
|
-
bodyxs: "var(--text-body-xs)",
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
boxShadow: {
|
|
78
|
-
elevation0: "var(--elevation-0)",
|
|
79
|
-
elevation1: "var(--elevation-1)",
|
|
80
|
-
elevation2: "var(--elevation-2)",
|
|
81
|
-
elevation3: "var(--elevation-3)",
|
|
82
|
-
elevation4: "var(--elevation-4)",
|
|
83
|
-
elevation5: "var(--elevation-5)",
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
};
|
|
88
|
-
|