@lumaui/tokens 0.4.1 → 0.4.3

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.
@@ -2,47 +2,76 @@
2
2
  * Auto-generated manifest of classes used by @lumaui/angular components
3
3
  * DO NOT EDIT - This file is regenerated during build
4
4
  *
5
- * This file exists so Tailwind can detect which classes are used
6
- * without requiring @source directive in user's CSS
5
+ * This file exists so Tailwind can detect which classes are used by Luma components
6
+ * without requiring users to configure @source patterns manually.
7
+ *
8
+ * Generated by: tools/generate-class-manifest.ts
9
+ * Total classes: 211
7
10
  */
8
11
 
9
12
  export const LUMA_COMPONENT_CLASSES = [
13
+ '-translate-x-1/2',
14
+ '[&[data-state=open]>svg]:rotate-180',
15
+ 'absolute',
10
16
  'active:bg-destructive/95',
11
17
  'active:bg-primary/10',
12
18
  'active:bg-primary/90',
13
19
  'active:bg-primary/95',
14
20
  'active:bg-secondary/90',
15
21
  'active:scale-95',
22
+ 'animate-in',
23
+ 'animate-out',
16
24
  'bg-black/80',
17
25
  'bg-card',
18
26
  'bg-destructive',
19
- 'bg-destructive/10',
20
27
  'bg-muted',
21
28
  'bg-popover',
22
29
  'bg-primary',
23
30
  'bg-primary-2',
24
- 'bg-primary/10',
25
31
  'bg-secondary',
26
- 'bg-success/10',
32
+ 'bg-success',
27
33
  'bg-transparent',
28
- 'bg-warning/15',
34
+ 'bg-warning',
29
35
  'bg-white',
30
- 'border',
36
+ 'block',
31
37
  'border-b',
32
38
  'border-b-2',
33
39
  'border-border',
34
- 'border-destructive/30',
35
- 'border-gray-200',
36
40
  'border-primary',
37
41
  'border-primary-7',
38
- 'border-primary/30',
39
- 'border-success/30',
40
42
  'border-transparent',
41
- 'border-warning/30',
43
+ 'bottom-0',
44
+ 'bottom-4',
45
+ 'bottom-center',
46
+ 'bottom-left',
47
+ 'bottom-right',
48
+ 'cursor-pointer',
49
+ 'dark:bg-gray-800',
50
+ 'dark:hover:bg-gray-700',
51
+ 'dark:text-white',
52
+ 'data-[state=active]:bg-background',
53
+ 'data-[state=active]:border-primary',
54
+ 'data-[state=active]:shadow-sm',
55
+ 'data-[state=active]:text-foreground',
56
+ 'data-[state=closed]:opacity-0',
57
+ 'data-[state=open]:bg-primary-2',
58
+ 'data-[state=open]:opacity-100',
59
+ 'data-[state=open]:text-muted-foreground',
42
60
  'disabled:cursor-not-allowed',
43
61
  'disabled:opacity-30',
44
62
  'disabled:opacity-50',
45
63
  'disabled:pointer-events-none',
64
+ 'duration-200',
65
+ 'duration-300',
66
+ 'ease-out',
67
+ 'fade-in',
68
+ 'fade-out',
69
+ 'fixed',
70
+ 'flex',
71
+ 'flex-1',
72
+ 'flex-col',
73
+ 'flex-col-reverse',
74
+ 'flex-shrink-0',
46
75
  'focus-visible:outline-none',
47
76
  'focus-visible:ring-2',
48
77
  'focus-visible:ring-offset-2',
@@ -54,7 +83,21 @@ export const LUMA_COMPONENT_CLASSES = [
54
83
  'focus:ring-primary',
55
84
  'focus:ring-primary-9',
56
85
  'font-medium',
86
+ 'font-semibold',
87
+ 'gap-1',
88
+ 'gap-1.5',
89
+ 'gap-2',
90
+ 'gap-4',
91
+ 'grid',
92
+ 'grid-rows-[0fr]',
93
+ 'grid-rows-[1fr]',
94
+ 'group',
95
+ 'h-0.5',
96
+ 'h-4',
97
+ 'h-8',
98
+ 'hidden',
57
99
  'hover:bg-destructive/90',
100
+ 'hover:bg-gray-100',
58
101
  'hover:bg-primary/10',
59
102
  'hover:bg-primary/90',
60
103
  'hover:bg-secondary/80',
@@ -63,25 +106,87 @@ export const LUMA_COMPONENT_CLASSES = [
63
106
  'hover:text-foreground',
64
107
  'hover:text-primary',
65
108
  'inline-flex',
109
+ 'inset-0',
66
110
  'items-center',
111
+ 'items-end',
112
+ 'items-start',
113
+ 'justify-between',
67
114
  'justify-center',
115
+ 'justify-end',
116
+ 'justify-start',
117
+ 'leading-none',
118
+ 'leading-relaxed',
119
+ 'left-0',
120
+ 'left-1/2',
121
+ 'left-4',
122
+ 'left-[50%]',
123
+ 'max-h-[60vh]',
124
+ 'max-w-[360px]',
125
+ 'max-w-lg',
126
+ 'max-w-md',
127
+ 'max-w-sm',
128
+ 'max-w-xl',
68
129
  'mb-2',
130
+ 'min-w-0',
131
+ 'min-w-[320px]',
132
+ 'mr-2',
133
+ 'mt-2',
134
+ 'mt-4',
135
+ 'opacity-0',
136
+ 'opacity-100',
137
+ 'opacity-70',
138
+ 'overflow-hidden',
139
+ 'overflow-y-auto',
140
+ 'p-1',
141
+ 'p-4',
142
+ 'p-6',
143
+ 'pb-4',
144
+ 'pointer-events-auto',
145
+ 'pointer-events-none',
146
+ 'pt-0',
147
+ 'px-0',
148
+ 'px-2',
149
+ 'px-3',
150
+ 'px-4',
151
+ 'px-5',
152
+ 'py-0.5',
153
+ 'py-1.5',
154
+ 'py-2',
155
+ 'py-2.5',
156
+ 'py-3',
157
+ 'py-4',
69
158
  'relative',
159
+ 'right-4',
160
+ 'ring-offset-2',
161
+ 'rotate-0',
162
+ 'rotate-180',
70
163
  'rounded-[var(--radius-4)]',
71
164
  'rounded-[var(--radius-5)]',
72
165
  'rounded-[var(--radius-6)]',
73
166
  'rounded-full',
167
+ 'rounded-l-xl',
74
168
  'rounded-lg',
75
169
  'rounded-md',
76
170
  'rounded-none',
77
171
  'rounded-sm',
172
+ 'rounded-xl',
173
+ 'self-stretch',
174
+ 'shadow-[var(--shadow-2)]',
175
+ 'shadow-[var(--shadow-3)]',
176
+ 'shadow-[var(--shadow-4)]',
177
+ 'shadow-[var(--shadow-6)]',
178
+ 'shadow-md',
179
+ 'shadow-none',
180
+ 'shrink-0',
181
+ 'slide-in-from-top-2',
182
+ 'slide-out-to-top-2',
183
+ 'sm:text-left',
78
184
  'text-2xl',
79
185
  'text-base',
80
186
  'text-card-foreground',
81
187
  'text-center',
82
- 'text-destructive',
83
188
  'text-destructive-foreground',
84
- 'text-destructive/80',
189
+ 'text-gray-500',
85
190
  'text-gray-600',
86
191
  'text-gray-900',
87
192
  'text-left',
@@ -90,20 +195,30 @@ export const LUMA_COMPONENT_CLASSES = [
90
195
  'text-popover-foreground',
91
196
  'text-primary',
92
197
  'text-primary-12',
93
- 'text-primary/85',
94
198
  'text-secondary-foreground',
95
199
  'text-sm',
96
- 'text-success',
97
- 'text-success/75',
98
- 'text-warning',
99
- 'text-warning/70',
100
200
  'text-white',
101
201
  'text-xl',
102
202
  'text-xs',
203
+ 'top-4',
204
+ 'top-[50%]',
205
+ 'top-center',
206
+ 'top-left',
207
+ 'top-right',
208
+ 'tracking-tight',
103
209
  'transition-[grid-template-rows]',
104
210
  'transition-all',
105
211
  'transition-colors',
106
212
  'transition-opacity',
107
213
  'transition-transform',
108
- 'w-full'
214
+ 'translate-x-[-50%]',
215
+ 'translate-y-[-50%]',
216
+ 'w-4',
217
+ 'w-8',
218
+ 'w-auto',
219
+ 'w-full',
220
+ 'whitespace-normal',
221
+ 'whitespace-nowrap',
222
+ 'z-50',
223
+ 'z-[100]'
109
224
  ];
package/build/luma.css CHANGED
@@ -1,5 +1,8 @@
1
1
  @import 'tailwindcss';
2
2
 
3
+ /* Configure class-based dark mode */
4
+ @variant dark (.dark &);
5
+
3
6
  /* Component class manifest - enables automatic class discovery */
4
7
  @source "./luma-classes.js";
5
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumaui/tokens",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Design tokens for Luma UI - Neo-Minimal design system",
5
5
  "type": "module",
6
6
  "main": "./build/luma.css",