@popgrids/ui 0.0.2 → 0.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/README.md +225 -45
- package/dist/index.cjs +1 -2014
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -659
- package/dist/index.d.ts +22 -659
- package/dist/index.js +1 -2014
- package/dist/index.js.map +1 -1
- package/dist/theme.css +449 -0
- package/package.json +66 -42
- package/dist/popgrids-logomark-letter-2GC4ZJAT.png +0 -0
- package/dist/squircle-L5LSRL2K.gif +0 -0
package/dist/theme.css
ADDED
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
@import "shadcn/tailwind.css";
|
|
2
|
+
@import "@fontsource-variable/inter";
|
|
3
|
+
@import "@fontsource/poppins/400.css";
|
|
4
|
+
@import "@fontsource/poppins/500.css";
|
|
5
|
+
@import "@fontsource/poppins/600.css";
|
|
6
|
+
@import "@fontsource/poppins/700.css";
|
|
7
|
+
@import "@fontsource/poppins/800.css";
|
|
8
|
+
|
|
9
|
+
@custom-variant dark (&:is(.dark *));
|
|
10
|
+
|
|
11
|
+
:root {
|
|
12
|
+
--radius: 0.625rem;
|
|
13
|
+
--background: var(--background, oklch(1 0 0));
|
|
14
|
+
--foreground: var(--foreground, oklch(0 0 0));
|
|
15
|
+
--card: var(--card, oklch(1 0 0));
|
|
16
|
+
--card-foreground: var(--card-foreground, oklch(0.145 0 0));
|
|
17
|
+
--popover: var(--popover, oklch(1 0 0));
|
|
18
|
+
--popover-foreground: var(--popover-foreground, oklch(0 0 0));
|
|
19
|
+
--primary: var(--primary, oklch(0.205 0 0));
|
|
20
|
+
--primary-foreground: var(--primary-foreground, oklch(0.985 0 0));
|
|
21
|
+
--secondary: var(--secondary, oklch(0.97 0 0));
|
|
22
|
+
--secondary-foreground: var(--secondary-foreground, oklch(0.205 0 0));
|
|
23
|
+
--muted: var(--muted, oklch(0.97 0 0));
|
|
24
|
+
--muted-foreground: var(--muted-foreground, oklch(0.48 0.007 255.43));
|
|
25
|
+
--accent: var(--accent, oklch(0.97 0 0));
|
|
26
|
+
--accent-foreground: var(--accent-foreground, oklch(0.205 0 0));
|
|
27
|
+
--destructive: var(--destructive, oklch(0.577 0.245 27.325));
|
|
28
|
+
--border: var(--border, oklch(0.1101 0.0763 264.05 / 10.2%));
|
|
29
|
+
--input: var(--input, oklch(0.922 0 0));
|
|
30
|
+
--ring: var(--ring, oklch(0.5367 0.2286 262.17));
|
|
31
|
+
--chart-1: var(--chart-1, oklch(0.646 0.222 41.116));
|
|
32
|
+
--chart-2: var(--chart-2, oklch(0.6 0.118 184.704));
|
|
33
|
+
--chart-3: var(--chart-3, oklch(0.398 0.07 227.392));
|
|
34
|
+
--chart-4: var(--chart-4, oklch(0.828 0.189 84.429));
|
|
35
|
+
--chart-5: var(--chart-5, oklch(0.769 0.188 70.08));
|
|
36
|
+
--sidebar: var(--sidebar, oklch(0.985 0 0));
|
|
37
|
+
--sidebar-foreground: var(--sidebar-foreground, oklch(0.145 0 0));
|
|
38
|
+
--sidebar-primary: var(--sidebar-primary, oklch(0.205 0 0));
|
|
39
|
+
--sidebar-primary-foreground: var(
|
|
40
|
+
--sidebar-primary-foreground,
|
|
41
|
+
oklch(0.985 0 0)
|
|
42
|
+
);
|
|
43
|
+
--sidebar-accent: var(--sidebar-accent, oklch(0.97 0 0));
|
|
44
|
+
--sidebar-accent-foreground: var(
|
|
45
|
+
--sidebar-accent-foreground,
|
|
46
|
+
oklch(0.205 0 0)
|
|
47
|
+
);
|
|
48
|
+
--sidebar-border: var(--sidebar-border, oklch(0.922 0 0));
|
|
49
|
+
--sidebar-ring: var(--sidebar-ring, oklch(0.708 0 0));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.dark {
|
|
53
|
+
--background: var(--background, oklch(0.15 0.03 255.43));
|
|
54
|
+
--foreground: var(--foreground, oklch(0.66 0.006 255.43));
|
|
55
|
+
--card: var(--card, oklch(0.205 0 0));
|
|
56
|
+
--card-foreground: var(--card-foreground, oklch(0.985 0 0));
|
|
57
|
+
--popover: var(--popover, oklch(0.15 0.03 255.43));
|
|
58
|
+
--popover-foreground: var(--popover-foreground, oklch(0.66 0.006 255.43));
|
|
59
|
+
--primary: var(--primary, oklch(0.922 0 0));
|
|
60
|
+
--primary-foreground: var(--primary-foreground, oklch(0.205 0 0));
|
|
61
|
+
--secondary: var(--secondary, oklch(0.269 0 0));
|
|
62
|
+
--secondary-foreground: var(--secondary-foreground, oklch(0.985 0 0));
|
|
63
|
+
--muted: var(--muted, oklch(0.269 0 0));
|
|
64
|
+
--muted-foreground: var(--muted-foreground, oklch(0.66 0.006 255.43));
|
|
65
|
+
--accent: var(--accent, oklch(0.269 0 0));
|
|
66
|
+
--accent-foreground: var(--accent-foreground, oklch(0.985 0 0));
|
|
67
|
+
--destructive: var(--destructive, oklch(0.704 0.191 22.216));
|
|
68
|
+
--border: var(--border, oklch(1 0 0 / 10%));
|
|
69
|
+
--input: var(--input, oklch(1 0 0 / 15%));
|
|
70
|
+
--ring: var(--ring, oklch(0.5367 0.2286 262.17));
|
|
71
|
+
--chart-1: var(--chart-1, oklch(0.488 0.243 264.376));
|
|
72
|
+
--chart-2: var(--chart-2, oklch(0.696 0.17 162.48));
|
|
73
|
+
--chart-3: var(--chart-3, oklch(0.769 0.188 70.08));
|
|
74
|
+
--chart-4: var(--chart-4, oklch(0.627 0.265 303.9));
|
|
75
|
+
--chart-5: var(--chart-5, oklch(0.645 0.246 16.439));
|
|
76
|
+
--sidebar: var(--sidebar, oklch(0.205 0 0));
|
|
77
|
+
--sidebar-foreground: var(--sidebar-foreground, oklch(0.985 0 0));
|
|
78
|
+
--sidebar-primary: var(--sidebar-primary, oklch(0.488 0.243 264.376));
|
|
79
|
+
--sidebar-primary-foreground: var(
|
|
80
|
+
--sidebar-primary-foreground,
|
|
81
|
+
oklch(0.985 0 0)
|
|
82
|
+
);
|
|
83
|
+
--sidebar-accent: var(--sidebar-accent, oklch(0.269 0 0));
|
|
84
|
+
--sidebar-accent-foreground: var(
|
|
85
|
+
--sidebar-accent-foreground,
|
|
86
|
+
oklch(0.985 0 0)
|
|
87
|
+
);
|
|
88
|
+
--sidebar-border: var(--sidebar-border, oklch(1 0 0 / 10%));
|
|
89
|
+
--sidebar-ring: var(--sidebar-ring, oklch(0.556 0 0));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@theme inline {
|
|
93
|
+
--font-sans: "Inter Variable", sans-serif;
|
|
94
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
95
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
96
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
97
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
98
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
99
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
100
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
101
|
+
--color-sidebar: var(--sidebar);
|
|
102
|
+
--color-chart-5: var(--chart-5);
|
|
103
|
+
--color-chart-4: var(--chart-4);
|
|
104
|
+
--color-chart-3: var(--chart-3);
|
|
105
|
+
--color-chart-2: var(--chart-2);
|
|
106
|
+
--color-chart-1: var(--chart-1);
|
|
107
|
+
--color-ring: var(--ring);
|
|
108
|
+
--color-input: var(--input);
|
|
109
|
+
--color-border: var(--border);
|
|
110
|
+
--color-destructive: var(--destructive);
|
|
111
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
112
|
+
--color-accent: var(--accent);
|
|
113
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
114
|
+
--color-muted: var(--muted);
|
|
115
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
116
|
+
--color-secondary: var(--secondary);
|
|
117
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
118
|
+
--color-primary: var(--primary);
|
|
119
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
120
|
+
--color-popover: var(--popover);
|
|
121
|
+
--color-card-foreground: var(--card-foreground);
|
|
122
|
+
--color-card: var(--card);
|
|
123
|
+
--color-foreground: var(--foreground);
|
|
124
|
+
--color-background: var(--background);
|
|
125
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
126
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
127
|
+
--radius-lg: var(--radius);
|
|
128
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
129
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
130
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
131
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* ------------------------------------------------------------ */
|
|
135
|
+
/* Brand theme settings */
|
|
136
|
+
/* ------------------------------------------------------------ */
|
|
137
|
+
|
|
138
|
+
:root {
|
|
139
|
+
--color-tint-700-reversed: var(--color-white-alpha-700);
|
|
140
|
+
--color-tint-800-default: var(--color-black-alpha-800);
|
|
141
|
+
--color-tint-900-default: var(--color-black-alpha-900);
|
|
142
|
+
--color-tint-950-reversed: var(--color-white-alpha-950);
|
|
143
|
+
--color-tint-950-default: var(--color-black-alpha-950);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.dark {
|
|
147
|
+
--color-tint-700-reversed: var(--color-black-alpha-700);
|
|
148
|
+
--color-tint-800-default: var(--color-white-alpha-800);
|
|
149
|
+
--color-tint-900-default: var(--color-white-alpha-900);
|
|
150
|
+
--color-tint-950-reversed: var(--color-black-alpha-950);
|
|
151
|
+
--color-tint-950-default: var(--color-white-alpha-950);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@theme inline {
|
|
155
|
+
/* Color: Tint */
|
|
156
|
+
--color-tint-700-reversed: var(--color-tint-700-reversed);
|
|
157
|
+
--color-tint-800-default: var(--color-tint-800-default);
|
|
158
|
+
--color-tint-900-default: var(--color-tint-900-default);
|
|
159
|
+
--color-tint-950-reversed: var(--color-tint-950-reversed);
|
|
160
|
+
--color-tint-950-default: var(--color-tint-950-default);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@theme {
|
|
164
|
+
--bg-image-checkerboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23f3f3f3' fill-opacity='1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E");
|
|
165
|
+
|
|
166
|
+
--animate-appear-then-fade: appear-then-fade 4s 300ms both;
|
|
167
|
+
--animate-fade-in: fade-in 150ms forwards;
|
|
168
|
+
--animate-fade-out: fade-out 150ms forwards;
|
|
169
|
+
--animate-shake: shake 150ms 2 linear;
|
|
170
|
+
--animate-smooth-bounce-in: smooth-bounce-in 800ms ease 1;
|
|
171
|
+
--animate-smooth-pulse: smooth-pulse 1200ms ease-in-out infinite;
|
|
172
|
+
--animate-notification-badge-ping: notification-badge-ping 1s
|
|
173
|
+
cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
174
|
+
--animate-glowing-border: glowing-border 3s linear infinite;
|
|
175
|
+
|
|
176
|
+
/* Color: Brand */
|
|
177
|
+
--color-brand-midnight-900: oklch(0.15 0.03 255.43);
|
|
178
|
+
--color-brand-midnight-800: oklch(0.19 0.05 255.43);
|
|
179
|
+
--color-brand-ocean-400: oklch(0.63 0.19 255.43);
|
|
180
|
+
--color-brand-ocean-100: oklch(0.91 0.05 255.43);
|
|
181
|
+
--color-brand-forest-900: oklch(0.31 0.12 165.43);
|
|
182
|
+
--color-brand-forest-700: oklch(0.45 0.15 165.43);
|
|
183
|
+
--color-brand-forest-100: oklch(0.97 0.04 165.43);
|
|
184
|
+
--color-brand-highlight-400: oklch(0.88 0.25 105.43);
|
|
185
|
+
--color-brand-pumpkin-500: oklch(0.62 0.18 45.43);
|
|
186
|
+
--color-brand-pumpkin-200: oklch(0.89 0.08 45.43);
|
|
187
|
+
--color-brand-lemon-300: oklch(0.91 0.12 85.43);
|
|
188
|
+
--color-brand-lemon-100: oklch(0.97 0.04 85.43);
|
|
189
|
+
|
|
190
|
+
/* Color: Black Alpha */
|
|
191
|
+
--color-black-alpha-25: rgb(0 0 32 / 0.98);
|
|
192
|
+
--color-black-alpha-50: rgb(0 0 32 / 0.96);
|
|
193
|
+
--color-black-alpha-100: rgb(0 0 32 / 0.94);
|
|
194
|
+
--color-black-alpha-200: rgb(0 0 32 / 0.92);
|
|
195
|
+
--color-black-alpha-300: rgb(0 0 32 / 0.8);
|
|
196
|
+
--color-black-alpha-400: rgb(0 0 32 / 0.56);
|
|
197
|
+
--color-black-alpha-500: rgb(0 0 32 / 0.5);
|
|
198
|
+
--color-black-alpha-600: rgb(0 0 32 / 0.35);
|
|
199
|
+
--color-black-alpha-700: rgb(0 0 32 / 0.16);
|
|
200
|
+
--color-black-alpha-800: rgb(0 0 32 / 0.08);
|
|
201
|
+
--color-black-alpha-900: rgb(0 0 32 / 0.04);
|
|
202
|
+
--color-black-alpha-950: rgb(0 0 32 / 0);
|
|
203
|
+
|
|
204
|
+
/* Color: White Alpha */
|
|
205
|
+
--color-white-alpha-25: rgb(255 255 255 / 0.98);
|
|
206
|
+
--color-white-alpha-50: rgb(255 255 255 / 0.96);
|
|
207
|
+
--color-white-alpha-100: rgb(255 255 255 / 0.94);
|
|
208
|
+
--color-white-alpha-200: rgb(255 255 255 / 0.92);
|
|
209
|
+
--color-white-alpha-300: rgb(255 255 255 / 0.8);
|
|
210
|
+
--color-white-alpha-400: rgb(255 255 255 / 0.56);
|
|
211
|
+
--color-white-alpha-500: rgb(255 255 255 / 0.5);
|
|
212
|
+
--color-white-alpha-600: rgb(255 255 255 / 0.35);
|
|
213
|
+
--color-white-alpha-700: rgb(255 255 255 / 0.16);
|
|
214
|
+
--color-white-alpha-800: rgb(255 255 255 / 0.08);
|
|
215
|
+
--color-white-alpha-900: rgb(255 255 255 / 0.04);
|
|
216
|
+
--color-white-alpha-950: rgb(255 255 255 / 0);
|
|
217
|
+
|
|
218
|
+
/* Color: Grayscale */
|
|
219
|
+
--color-grayscale-25: oklch(0.99 0.001 255.43);
|
|
220
|
+
--color-grayscale-50: oklch(0.98 0.002 255.43);
|
|
221
|
+
--color-grayscale-100: oklch(0.95 0.003 255.43);
|
|
222
|
+
--color-grayscale-200: oklch(0.91 0.004 255.43);
|
|
223
|
+
--color-grayscale-300: oklch(0.84 0.005 255.43);
|
|
224
|
+
--color-grayscale-400: oklch(0.66 0.006 255.43);
|
|
225
|
+
--color-grayscale-500: oklch(0.48 0.007 255.43);
|
|
226
|
+
--color-grayscale-600: oklch(0.36 0.008 255.43);
|
|
227
|
+
--color-grayscale-700: oklch(0.28 0.009 255.43);
|
|
228
|
+
--color-grayscale-800: oklch(0.19 0.01 255.43);
|
|
229
|
+
--color-grayscale-900: oklch(0.15 0.02 255.43);
|
|
230
|
+
--color-grayscale-950: oklch(0.11 0.02 255.43);
|
|
231
|
+
|
|
232
|
+
/* Color: Error */
|
|
233
|
+
--color-error-25: oklch(0.98 0.01 25.43);
|
|
234
|
+
--color-error-50: oklch(0.96 0.02 25.43);
|
|
235
|
+
--color-error-100: oklch(0.9394 0.0288 22.95);
|
|
236
|
+
--color-error-200: oklch(0.87 0.07 23.76);
|
|
237
|
+
--color-error-300: oklch(0.8014 0.1094 24.57);
|
|
238
|
+
--color-error-400: oklch(0.72 0.16 26.56);
|
|
239
|
+
--color-error-500: oklch(0.6371 0.2104 28.54);
|
|
240
|
+
--color-error-600: oklch(0.57 0.1963 29.03);
|
|
241
|
+
--color-error-700: oklch(0.5003 0.1821 29.51);
|
|
242
|
+
--color-error-800: oklch(0.42 0.16 29.51);
|
|
243
|
+
--color-error-900: oklch(0.35 0.14 29.51);
|
|
244
|
+
--color-error-950: oklch(0.22 0.11 29.51);
|
|
245
|
+
|
|
246
|
+
/* Color: Warning */
|
|
247
|
+
--color-warning-25: oklch(0.99 0.01 85.43);
|
|
248
|
+
--color-warning-50: oklch(0.98 0.02 85.43);
|
|
249
|
+
--color-warning-100: oklch(0.95 0.06 85.43);
|
|
250
|
+
--color-warning-200: oklch(0.89 0.12 85.43);
|
|
251
|
+
--color-warning-300: oklch(0.82 0.17 85.43);
|
|
252
|
+
--color-warning-400: oklch(0.74 0.2 85.43);
|
|
253
|
+
--color-warning-500: oklch(0.65 0.22 85.43);
|
|
254
|
+
--color-warning-600: oklch(0.55 0.23 85.43);
|
|
255
|
+
--color-warning-700: oklch(0.44 0.21 85.43);
|
|
256
|
+
--color-warning-800: oklch(0.35 0.19 85.43);
|
|
257
|
+
--color-warning-900: oklch(0.29 0.16 85.43);
|
|
258
|
+
--color-warning-950: oklch(0.18 0.13 85.43);
|
|
259
|
+
|
|
260
|
+
/* Color: Success */
|
|
261
|
+
--color-success-25: oklch(0.98 0.01 145.43);
|
|
262
|
+
--color-success-50: oklch(0.97 0.02 145.43);
|
|
263
|
+
--color-success-100: oklch(0.94 0.05 145.43);
|
|
264
|
+
--color-success-200: oklch(0.88 0.1 145.43);
|
|
265
|
+
--color-success-300: oklch(0.79 0.15 145.43);
|
|
266
|
+
--color-success-400: oklch(0.69 0.19 145.43);
|
|
267
|
+
--color-success-500: oklch(0.58 0.22 145.43);
|
|
268
|
+
--color-success-600: oklch(0.47 0.23 145.43);
|
|
269
|
+
--color-success-700: oklch(0.38 0.21 145.43);
|
|
270
|
+
--color-success-800: oklch(0.31 0.19 145.43);
|
|
271
|
+
--color-success-900: oklch(0.26 0.16 145.43);
|
|
272
|
+
--color-success-950: oklch(0.17 0.13 145.43);
|
|
273
|
+
|
|
274
|
+
/* Brand Font Settings */
|
|
275
|
+
--font--feature-settings: "kern" 1, "liga" 1, "calt" 1, "rlig" 1;
|
|
276
|
+
--font--variation-settings: "opsz" 14;
|
|
277
|
+
|
|
278
|
+
--font-decor: "Poppins", sans-serif;
|
|
279
|
+
--font-decor--feature-settings: "cv08", "ss01" 1, "ss03" 1, "kern" 1, "liga" 1;
|
|
280
|
+
--font-decor--variation-settings: "opsz" 32;
|
|
281
|
+
|
|
282
|
+
--default-transition-duration: 150ms;
|
|
283
|
+
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
284
|
+
|
|
285
|
+
/* Font Sizes */
|
|
286
|
+
/* Regular Text */
|
|
287
|
+
--text-xs: 0.75rem;
|
|
288
|
+
--text-xs--line-height: 1.125rem;
|
|
289
|
+
--text-xs--letter-spacing: 0rem;
|
|
290
|
+
|
|
291
|
+
--text-sm: 0.875rem;
|
|
292
|
+
--text-sm--line-height: 1.25rem;
|
|
293
|
+
--text-sm--letter-spacing: 0rem;
|
|
294
|
+
|
|
295
|
+
--text-base: 1rem;
|
|
296
|
+
--text-base--line-height: 1.5rem;
|
|
297
|
+
--text-base--letter-spacing: 0rem;
|
|
298
|
+
|
|
299
|
+
--text-md: var(--text-base);
|
|
300
|
+
--text-md--line-height: var(--text-base--line-height);
|
|
301
|
+
--text-md--letter-spacing: var(--text-base--letter-spacing);
|
|
302
|
+
|
|
303
|
+
--text-widget-base: 0.8125rem;
|
|
304
|
+
--text-widget-base--line-height: 1.125rem;
|
|
305
|
+
--text-widget-base--letter-spacing: -0.08px;
|
|
306
|
+
|
|
307
|
+
--text-widget-md: var(--text-widget-base);
|
|
308
|
+
--text-widget-md--line-height: var(--text-widget-base--line-height);
|
|
309
|
+
--text-widget-md--letter-spacing: var(--text-widget-base--letter-spacing);
|
|
310
|
+
|
|
311
|
+
--text-lg: 1.125rem;
|
|
312
|
+
--text-lg--line-height: 1.75rem;
|
|
313
|
+
--text-lg--letter-spacing: 0rem;
|
|
314
|
+
|
|
315
|
+
--text-xl: 1.25rem;
|
|
316
|
+
--text-xl--line-height: 1.875rem;
|
|
317
|
+
--text-xl--letter-spacing: 0rem;
|
|
318
|
+
|
|
319
|
+
/* Decorative Text */
|
|
320
|
+
--text-decor-xxs: 1.25rem;
|
|
321
|
+
--text-decor-xxs--line-height: 1.375rem;
|
|
322
|
+
--text-decor-xxs--letter-spacing: -0.025rem;
|
|
323
|
+
--text-decor-xxs--font-weight: 700;
|
|
324
|
+
|
|
325
|
+
--text-decor-xs: 1.5rem;
|
|
326
|
+
--text-decor-xs--line-height: 1.5rem;
|
|
327
|
+
--text-decor-xs--letter-spacing: -0.03rem;
|
|
328
|
+
--text-decor-xs--font-weight: 800;
|
|
329
|
+
|
|
330
|
+
--text-decor-sm: 1.875rem;
|
|
331
|
+
--text-decor-sm--line-height: 1.875rem;
|
|
332
|
+
--text-decor-sm--letter-spacing: -0.075rem;
|
|
333
|
+
--text-decor-sm--font-weight: 800;
|
|
334
|
+
|
|
335
|
+
--text-decor-md: 2.25rem;
|
|
336
|
+
--text-decor-md--line-height: 2.25rem;
|
|
337
|
+
--text-decor-md--letter-spacing: -0.09rem;
|
|
338
|
+
--text-decor-md--font-weight: 800;
|
|
339
|
+
|
|
340
|
+
--text-decor-lg: 3rem;
|
|
341
|
+
--text-decor-lg--line-height: 3rem;
|
|
342
|
+
--text-decor-lg--letter-spacing: -0.18rem;
|
|
343
|
+
--text-decor-lg--font-weight: 800;
|
|
344
|
+
|
|
345
|
+
--text-decor-xl: 3.75rem;
|
|
346
|
+
--text-decor-xl--line-height: 3.75rem;
|
|
347
|
+
--text-decor-xl--letter-spacing: -0.225rem;
|
|
348
|
+
--text-decor-xl--font-weight: 700;
|
|
349
|
+
|
|
350
|
+
--text-decor-2xl: 4.375rem;
|
|
351
|
+
--text-decor-2xl--line-height: 4.375rem;
|
|
352
|
+
--text-decor-2xl--letter-spacing: -0.2625rem;
|
|
353
|
+
--text-decor-2xl--font-weight: 800;
|
|
354
|
+
|
|
355
|
+
@keyframes shake {
|
|
356
|
+
0% {
|
|
357
|
+
transform: translate(3px, 0);
|
|
358
|
+
}
|
|
359
|
+
50% {
|
|
360
|
+
transform: translate(-3px, 0);
|
|
361
|
+
}
|
|
362
|
+
100% {
|
|
363
|
+
transform: translate(0, 0);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
@keyframes appear-then-fade {
|
|
368
|
+
0%, 100%: {
|
|
369
|
+
opacity: 0;
|
|
370
|
+
}
|
|
371
|
+
5%, 80%: {
|
|
372
|
+
opacity: 1;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
@keyframes fade-in {
|
|
377
|
+
0%: {
|
|
378
|
+
opacity: 0;
|
|
379
|
+
}
|
|
380
|
+
100%: {
|
|
381
|
+
opacity: 100;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
@keyframes fade-out {
|
|
386
|
+
0%: {
|
|
387
|
+
opacity: 100;
|
|
388
|
+
}
|
|
389
|
+
100%: {
|
|
390
|
+
opacity: 0;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
@keyframes smooth-bounce-in {
|
|
395
|
+
0%: {
|
|
396
|
+
transform: scale(0.3);
|
|
397
|
+
opacity: 0;
|
|
398
|
+
}
|
|
399
|
+
50%: {
|
|
400
|
+
transform: scale(1.05);
|
|
401
|
+
opacity: 1;
|
|
402
|
+
}
|
|
403
|
+
70%: {
|
|
404
|
+
transform: scale(0.9);
|
|
405
|
+
}
|
|
406
|
+
100%: {
|
|
407
|
+
transform: scale(1);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
@keyframes smooth-pulse {
|
|
412
|
+
100%: {
|
|
413
|
+
transform: scale(1.8);
|
|
414
|
+
opacity: 0;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
@keyframes notification-badge-ping {
|
|
419
|
+
0% {
|
|
420
|
+
transform: scale(1);
|
|
421
|
+
opacity: 1;
|
|
422
|
+
}
|
|
423
|
+
75%,
|
|
424
|
+
100% {
|
|
425
|
+
transform: scale(1.5);
|
|
426
|
+
opacity: 0;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
@keyframes glowing-border {
|
|
431
|
+
0% {
|
|
432
|
+
background-position: 0% 50%;
|
|
433
|
+
}
|
|
434
|
+
50% {
|
|
435
|
+
background-position: 100% 50%;
|
|
436
|
+
}
|
|
437
|
+
100% {
|
|
438
|
+
background-position: 0% 50%;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
@utility scrollbar-stable {
|
|
444
|
+
scrollbar-gutter: stable;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/* Instruct Tailwind to scan this library's files when this CSS is imported */
|
|
448
|
+
/* The path is relative to this CSS file's location in node_modules */
|
|
449
|
+
@source "./**/*.{js,cjs}";
|
package/package.json
CHANGED
|
@@ -1,52 +1,76 @@
|
|
|
1
1
|
{
|
|
2
|
+
"author": "PopGrids",
|
|
3
|
+
"dependencies": {
|
|
4
|
+
"@fontsource-variable/inter": "^5.0.0",
|
|
5
|
+
"@fontsource/poppins": "^5.0.0",
|
|
6
|
+
"class-variance-authority": "^0.7.0",
|
|
7
|
+
"clsx": "^2.1.1",
|
|
8
|
+
"tailwind-merge": "^2.5.5"
|
|
9
|
+
},
|
|
10
|
+
"description": "A modern, production-ready React UI component library based on shadcn/ui principles, built with Base UI primitives and optimized for tree-shaking.",
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@changesets/cli": "^2.29.8",
|
|
13
|
+
"@types/node": "^25.0.3",
|
|
14
|
+
"@types/react": "^19.0.0",
|
|
15
|
+
"@types/react-dom": "^19.0.0",
|
|
16
|
+
"react": "^19.0.0",
|
|
17
|
+
"react-dom": "^19.0.0",
|
|
18
|
+
"shadcn": "^3.6.2",
|
|
19
|
+
"tailwindcss": "^4.0.0",
|
|
20
|
+
"tsup": "^8.3.5",
|
|
21
|
+
"typescript": "^5.6.3"
|
|
22
|
+
},
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"import": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"default": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"require": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"default": "./dist/index.cjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"./theme.css": "./dist/theme.css"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"dist"
|
|
38
|
+
],
|
|
39
|
+
"keywords": [
|
|
40
|
+
"react",
|
|
41
|
+
"ui",
|
|
42
|
+
"components",
|
|
43
|
+
"tailwind",
|
|
44
|
+
"tailwindcss",
|
|
45
|
+
"shadcn",
|
|
46
|
+
"base-ui",
|
|
47
|
+
"tree-shakeable",
|
|
48
|
+
"typescript"
|
|
49
|
+
],
|
|
50
|
+
"license": "UNLICENSED",
|
|
51
|
+
"main": "./dist/index.cjs",
|
|
52
|
+
"module": "./dist/index.js",
|
|
2
53
|
"name": "@popgrids/ui",
|
|
3
|
-
"
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@base-ui/react": "^1.0.0",
|
|
56
|
+
"react": "^19.0.0",
|
|
57
|
+
"react-dom": "^19.0.0",
|
|
58
|
+
"shadcn": "^3.6.2",
|
|
59
|
+
"tailwindcss": "^4.0.0"
|
|
60
|
+
},
|
|
4
61
|
"private": false,
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.cjs",
|
|
7
|
-
"module": "dist/index.js",
|
|
8
|
-
"types": "dist/index.d.ts",
|
|
9
|
-
"license": "UNLICENSED",
|
|
10
62
|
"publishConfig": {
|
|
11
63
|
"access": "public"
|
|
12
64
|
},
|
|
13
65
|
"repository": {
|
|
14
66
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/popgrids/popgrids-
|
|
67
|
+
"url": "git+https://github.com/popgrids/popgrids-ui.git"
|
|
16
68
|
},
|
|
17
|
-
"
|
|
69
|
+
"sideEffects": false,
|
|
70
|
+
"type": "module",
|
|
71
|
+
"types": "./dist/index.d.ts",
|
|
72
|
+
"version": "0.0.5",
|
|
18
73
|
"scripts": {
|
|
19
|
-
"build": "tsup"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"lint": "eslint . --max-warnings 0",
|
|
23
|
-
"test": "web-test-runner src/**/*.test.ts --node-resolve",
|
|
24
|
-
"generate:component": "turbo gen ui:component",
|
|
25
|
-
"check-types": "tsc --noEmit"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@open-wc/testing": "^4.0.0",
|
|
29
|
-
"@popgrids/eslint-config": "*",
|
|
30
|
-
"@types/mocha": "^10.0.10",
|
|
31
|
-
"@web/dev-server-esbuild": "^0.4.4",
|
|
32
|
-
"@web/test-runner": "^0.18.0",
|
|
33
|
-
"eslint": "^9.21.0",
|
|
34
|
-
"tslib": "^2.8.1",
|
|
35
|
-
"tsup": "^8.4.0",
|
|
36
|
-
"typescript": "5.8.2"
|
|
37
|
-
},
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@popgrids/theme": "*",
|
|
40
|
-
"lit": "^3.2.1"
|
|
41
|
-
},
|
|
42
|
-
"exports": {
|
|
43
|
-
".": {
|
|
44
|
-
"types": "./dist/index.d.ts",
|
|
45
|
-
"import": "./dist/index.js",
|
|
46
|
-
"require": "./dist/index.cjs"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist"
|
|
51
|
-
]
|
|
52
|
-
}
|
|
74
|
+
"build": "tsup"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
Binary file
|
|
Binary file
|