@cryptlex/web-components 2.0.1 → 2.0.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/lib/index.css CHANGED
@@ -1,4 +1,6 @@
1
+ @plugin "tailwindcss-animate";
1
2
  @import 'tailwindcss';
2
3
  @import './tokens.css';
3
- @import './tailwind.theme.css';
4
- @import './tailwind.base.css';
4
+ @import './theme.css' layer(theme);
5
+ @import './utilities.css';
6
+ @import './base.css';
@@ -1,7 +1,4 @@
1
1
  /** https://tailwindcss.com/docs/theme#theme-variable-namespaces */
2
-
3
- @plugin "tailwindcss-animate";
4
-
5
2
  @theme static {
6
3
  /* Radius */
7
4
  --radius: 0.25rem;
@@ -180,59 +177,4 @@
180
177
  height: 0;
181
178
  }
182
179
  }
183
- }
184
-
185
- @utility link {
186
- @apply text-primary underline hover:underline-offset-2 hover:text-primary/70;
187
- }
188
-
189
- @utility caption {
190
- @apply text-xs font-medium;
191
- }
192
-
193
- @utility body {
194
- @apply text-sm;
195
- }
196
-
197
- @utility h6 {
198
- @apply text-base font-bold;
199
- }
200
-
201
- @utility h5 {
202
- @apply text-lg font-semibold;
203
- }
204
-
205
- @utility h4 {
206
- @apply text-xl font-medium;
207
- }
208
-
209
- @utility h3 {
210
- @apply text-2xl font-normal;
211
- }
212
-
213
- @utility h2 {
214
- @apply text-3xl font-light;
215
- }
216
-
217
- @utility h1 {
218
- @apply text-4xl font-extralight;
219
- }
220
-
221
- /* Standard height for inputs ~32px */
222
- @utility h-input {
223
- @apply h-8;
224
- }
225
-
226
- /* Standard size for icons */
227
- @utility size-icon {
228
- @apply size-4;
229
- }
230
-
231
- /* Fluid grid with minimum width */
232
- @utility grid-fluid {
233
- @apply grid grid-cols-[repeat(auto-fill,_minmax(var(--fluid-grid-min),_1fr))] gap-4;
234
- }
235
-
236
- @utility input {
237
- @apply w-full rounded-md border border-input bg-background px-3 py-2 body placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50;
238
180
  }
@@ -0,0 +1,54 @@
1
+ @utility link {
2
+ @apply text-primary underline hover:underline-offset-2 hover:text-primary/70;
3
+ }
4
+
5
+ @utility caption {
6
+ @apply text-xs font-medium;
7
+ }
8
+
9
+ @utility body {
10
+ @apply text-sm;
11
+ }
12
+
13
+ @utility h6 {
14
+ @apply text-base font-bold;
15
+ }
16
+
17
+ @utility h5 {
18
+ @apply text-lg font-semibold;
19
+ }
20
+
21
+ @utility h4 {
22
+ @apply text-xl font-medium;
23
+ }
24
+
25
+ @utility h3 {
26
+ @apply text-2xl font-normal;
27
+ }
28
+
29
+ @utility h2 {
30
+ @apply text-3xl font-light;
31
+ }
32
+
33
+ @utility h1 {
34
+ @apply text-4xl font-extralight;
35
+ }
36
+
37
+ /* Standard height for inputs ~32px */
38
+ @utility h-input {
39
+ @apply h-8;
40
+ }
41
+
42
+ /* Standard size for icons */
43
+ @utility size-icon {
44
+ @apply size-4;
45
+ }
46
+
47
+ /* Fluid grid with minimum width */
48
+ @utility grid-fluid {
49
+ @apply grid grid-cols-[repeat(auto-fill,_minmax(var(--fluid-grid-min),_1fr))] gap-4;
50
+ }
51
+
52
+ @utility input {
53
+ @apply w-full rounded-md border border-input bg-background px-3 py-2 body placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50;
54
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptlex/web-components",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "React component library for Cryptlex web applications",
5
5
  "author": "Cryptlex",
6
6
  "type": "module",
@@ -13,14 +13,18 @@
13
13
  "types": "./dist/index.es.d.ts",
14
14
  "import": "./dist/index.es.js"
15
15
  },
16
+ "./index.css": "./lib/index.css",
16
17
  "./tokens.css": "./lib/tokens.css",
17
- "./tailwind.theme.css": "./lib/tailwind.theme.css",
18
- "./tailwind.base.css": "./lib/tailwind.base.css"
18
+ "./theme.css": "./lib/theme.css",
19
+ "./base.css": "./lib/base.css",
20
+ "./utilities.css": "./lib/utilities.css"
19
21
  },
20
22
  "files": [
21
23
  "dist",
22
- "lib/tailwind.theme.css",
23
- "lib/tailwind.base.css",
24
+ "lib/index.css",
25
+ "lib/theme.css",
26
+ "lib/base.css",
27
+ "lib/utilities.css",
24
28
  "lib/tokens.css",
25
29
  "lib/index.css"
26
30
  ],
File without changes