@vaadin/vaadin-lumo-styles 25.0.0-alpha17 → 25.0.0-alpha19

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.
Files changed (52) hide show
  1. package/all-imports.d.ts +0 -8
  2. package/all-imports.js +0 -18
  3. package/components/upload.css +6 -3
  4. package/mixins/field-button.js +3 -4
  5. package/mixins/helper.js +3 -4
  6. package/mixins/input-field-shared.js +3 -6
  7. package/mixins/loader.js +3 -2
  8. package/mixins/menu-overlay.js +3 -2
  9. package/mixins/overlay.js +3 -4
  10. package/mixins/required-field.js +3 -4
  11. package/package.json +7 -8
  12. package/presets/compact.css +31 -0
  13. package/src/components/context-menu-overlay.css +21 -0
  14. package/src/components/upload-file.css +4 -3
  15. package/src/mixins/overlay.css +9 -0
  16. package/utility.css +0 -1
  17. package/auto-complete.css +0 -2512
  18. package/badge-global.js +0 -9
  19. package/badge.d.ts +0 -3
  20. package/badge.js +0 -178
  21. package/color-global.js +0 -9
  22. package/color.d.ts +0 -5
  23. package/color.js +0 -221
  24. package/font-icons.js +0 -71
  25. package/global.js +0 -5
  26. package/presets/compact.js +0 -40
  27. package/sizing.d.ts +0 -3
  28. package/sizing.js +0 -29
  29. package/spacing.d.ts +0 -3
  30. package/spacing.js +0 -37
  31. package/src/components/upload-file-list.css +0 -24
  32. package/style.d.ts +0 -3
  33. package/style.js +0 -31
  34. package/typography-global.js +0 -13
  35. package/typography.d.ts +0 -7
  36. package/typography.js +0 -129
  37. package/user-colors.d.ts +0 -8
  38. package/user-colors.js +0 -33
  39. package/utilities/accessibility.js +0 -21
  40. package/utilities/background.js +0 -156
  41. package/utilities/border.js +0 -147
  42. package/utilities/filter.js +0 -34
  43. package/utilities/flexbox-grid.js +0 -619
  44. package/utilities/layout.js +0 -504
  45. package/utilities/shadows.js +0 -28
  46. package/utilities/sizing.js +0 -121
  47. package/utilities/spacing.js +0 -542
  48. package/utilities/transition.js +0 -50
  49. package/utilities/typography.js +0 -344
  50. package/utility-global.js +0 -9
  51. package/utility.d.ts +0 -3
  52. package/utility.js +0 -34
@@ -1,504 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
7
-
8
- export const layout = css`
9
- /* === Aspect ratio === */
10
- .aspect-square {
11
- aspect-ratio: 1 / 1;
12
- }
13
- .aspect-video {
14
- aspect-ratio: 16 / 9;
15
- }
16
-
17
- /* === Box sizing === */
18
- .box-border {
19
- box-sizing: border-box;
20
- }
21
- .box-content {
22
- box-sizing: content-box;
23
- }
24
-
25
- /* === Display === */
26
- .block {
27
- display: block;
28
- }
29
- .flex {
30
- display: flex;
31
- }
32
- .grid {
33
- display: grid;
34
- }
35
- .hidden {
36
- display: none;
37
- }
38
- .inline {
39
- display: inline;
40
- }
41
- .inline-block {
42
- display: inline-block;
43
- }
44
- .inline-flex {
45
- display: inline-flex;
46
- }
47
- .inline-grid {
48
- display: inline-grid;
49
- }
50
-
51
- /* === Overflow === */
52
- .overflow-auto {
53
- overflow: auto;
54
- }
55
- .overflow-hidden {
56
- overflow: hidden;
57
- }
58
- .overflow-scroll {
59
- overflow: scroll;
60
- }
61
-
62
- /* === Position === */
63
- .absolute {
64
- position: absolute;
65
- }
66
- .fixed {
67
- position: fixed;
68
- }
69
- .static {
70
- position: static;
71
- }
72
- .sticky {
73
- position: sticky;
74
- }
75
- .relative {
76
- position: relative;
77
- }
78
-
79
- /* === Top, end, bottom, start === */
80
- .-bottom-xs {
81
- bottom: calc(var(--lumo-space-xs) / -1);
82
- }
83
- .-bottom-s {
84
- bottom: calc(var(--lumo-space-s) / -1);
85
- }
86
- .-bottom-m {
87
- bottom: calc(var(--lumo-space-m) / -1);
88
- }
89
- .-bottom-l {
90
- bottom: calc(var(--lumo-space-l) / -1);
91
- }
92
- .-bottom-xl {
93
- bottom: calc(var(--lumo-space-xl) / -1);
94
- }
95
- .-bottom-full {
96
- bottom: -100%;
97
- }
98
- .bottom-0 {
99
- bottom: 0;
100
- }
101
- .bottom-xs {
102
- bottom: var(--lumo-space-xs);
103
- }
104
- .bottom-s {
105
- bottom: var(--lumo-space-s);
106
- }
107
- .bottom-m {
108
- bottom: var(--lumo-space-m);
109
- }
110
- .bottom-l {
111
- bottom: var(--lumo-space-l);
112
- }
113
- .bottom-xl {
114
- bottom: var(--lumo-space-xl);
115
- }
116
- .bottom-auto {
117
- bottom: auto;
118
- }
119
- .bottom-full {
120
- bottom: 100%;
121
- }
122
-
123
- .-end-xs {
124
- inset-inline-end: calc(var(--lumo-space-xs) / -1);
125
- }
126
- .-end-s {
127
- inset-inline-end: calc(var(--lumo-space-s) / -1);
128
- }
129
- .-end-m {
130
- inset-inline-end: calc(var(--lumo-space-m) / -1);
131
- }
132
- .-end-l {
133
- inset-inline-end: calc(var(--lumo-space-l) / -1);
134
- }
135
- .-end-xl {
136
- inset-inline-end: calc(var(--lumo-space-xl) / -1);
137
- }
138
- .-end-full {
139
- inset-inline-end: -100%;
140
- }
141
- .end-0 {
142
- inset-inline-end: 0;
143
- }
144
- .end-xs {
145
- inset-inline-end: var(--lumo-space-xs);
146
- }
147
- .end-s {
148
- inset-inline-end: var(--lumo-space-s);
149
- }
150
- .end-m {
151
- inset-inline-end: var(--lumo-space-m);
152
- }
153
- .end-l {
154
- inset-inline-end: var(--lumo-space-l);
155
- }
156
- .end-xl {
157
- inset-inline-end: var(--lumo-space-xl);
158
- }
159
- .end-auto {
160
- inset-inline-end: auto;
161
- }
162
- .end-full {
163
- inset-inline-end: 100%;
164
- }
165
-
166
- .-start-xs {
167
- inset-inline-start: calc(var(--lumo-space-xs) / -1);
168
- }
169
- .-start-s {
170
- inset-inline-start: calc(var(--lumo-space-s) / -1);
171
- }
172
- .-start-m {
173
- inset-inline-start: calc(var(--lumo-space-m) / -1);
174
- }
175
- .-start-l {
176
- inset-inline-start: calc(var(--lumo-space-l) / -1);
177
- }
178
- .-start-xl {
179
- inset-inline-start: calc(var(--lumo-space-xl) / -1);
180
- }
181
- .-start-full {
182
- inset-inline-start: -100%;
183
- }
184
- .start-0 {
185
- inset-inline-start: 0;
186
- }
187
- .start-xs {
188
- inset-inline-start: var(--lumo-space-xs);
189
- }
190
- .start-s {
191
- inset-inline-start: var(--lumo-space-s);
192
- }
193
- .start-m {
194
- inset-inline-start: var(--lumo-space-m);
195
- }
196
- .start-l {
197
- inset-inline-start: var(--lumo-space-l);
198
- }
199
- .start-xl {
200
- inset-inline-start: var(--lumo-space-xl);
201
- }
202
- .start-auto {
203
- inset-inline-start: auto;
204
- }
205
- .start-full {
206
- inset-inline-start: 100%;
207
- }
208
-
209
- .-top-xs {
210
- top: calc(var(--lumo-space-xs) / -1);
211
- }
212
- .-top-s {
213
- top: calc(var(--lumo-space-s) / -1);
214
- }
215
- .-top-m {
216
- top: calc(var(--lumo-space-m) / -1);
217
- }
218
- .-top-l {
219
- top: calc(var(--lumo-space-l) / -1);
220
- }
221
- .-top-xl {
222
- top: calc(var(--lumo-space-xl) / -1);
223
- }
224
- .-top-full {
225
- top: -100%;
226
- }
227
- .top-0 {
228
- top: 0;
229
- }
230
- .top-xs {
231
- top: var(--lumo-space-xs);
232
- }
233
- .top-s {
234
- top: var(--lumo-space-s);
235
- }
236
- .top-m {
237
- top: var(--lumo-space-m);
238
- }
239
- .top-l {
240
- top: var(--lumo-space-l);
241
- }
242
- .top-xl {
243
- top: var(--lumo-space-xl);
244
- }
245
- .top-auto {
246
- top: auto;
247
- }
248
- .top-full {
249
- top: 100%;
250
- }
251
-
252
- /* === Visibility === */
253
- .invisible {
254
- visibility: hidden;
255
- }
256
- .visible {
257
- visibility: visible;
258
- }
259
-
260
- /* === Z-index === */
261
- .z-0 {
262
- z-index: 0;
263
- }
264
- .z-10 {
265
- z-index: 10;
266
- }
267
- .z-20 {
268
- z-index: 20;
269
- }
270
- .z-30 {
271
- z-index: 30;
272
- }
273
- .z-40 {
274
- z-index: 40;
275
- }
276
- .z-50 {
277
- z-index: 50;
278
- }
279
- .z-auto {
280
- z-index: auto;
281
- }
282
-
283
- /* === Responsive design === */
284
- @media (min-width: 640px) {
285
- /* Display */
286
- .sm\\:block {
287
- display: block;
288
- }
289
- .sm\\:flex {
290
- display: flex;
291
- }
292
- .sm\\:grid {
293
- display: grid;
294
- }
295
- .sm\\:hidden {
296
- display: none;
297
- }
298
- .sm\\:inline {
299
- display: inline;
300
- }
301
- .sm\\:inline-block {
302
- display: inline-block;
303
- }
304
- .sm\\:inline-flex {
305
- display: inline-flex;
306
- }
307
- .sm\\:inline-grid {
308
- display: inline-grid;
309
- }
310
-
311
- /* Position */
312
- .sm\\:absolute {
313
- position: absolute;
314
- }
315
- .sm\\:fixed {
316
- position: fixed;
317
- }
318
- .sm\\:relative {
319
- position: relative;
320
- }
321
- .sm\\:static {
322
- position: static;
323
- }
324
- .sm\\:sticky {
325
- position: sticky;
326
- }
327
- }
328
- @media (min-width: 768px) {
329
- /* Display */
330
- .md\\:block {
331
- display: block;
332
- }
333
- .md\\:flex {
334
- display: flex;
335
- }
336
- .md\\:grid {
337
- display: grid;
338
- }
339
- .md\\:hidden {
340
- display: none;
341
- }
342
- .md\\:inline {
343
- display: inline;
344
- }
345
- .md\\:inline-block {
346
- display: inline-block;
347
- }
348
- .md\\:inline-flex {
349
- display: inline-flex;
350
- }
351
- .md\\:inline-grid {
352
- display: inline-grid;
353
- }
354
-
355
- /* Position */
356
- .md\\:absolute {
357
- position: absolute;
358
- }
359
- .md\\:fixed {
360
- position: fixed;
361
- }
362
- .md\\:relative {
363
- position: relative;
364
- }
365
- .md\\:static {
366
- position: static;
367
- }
368
- .md\\:sticky {
369
- position: sticky;
370
- }
371
- }
372
- @media (min-width: 1024px) {
373
- /* Display */
374
- .lg\\:block {
375
- display: block;
376
- }
377
- .lg\\:flex {
378
- display: flex;
379
- }
380
- .lg\\:grid {
381
- display: grid;
382
- }
383
- .lg\\:hidden {
384
- display: none;
385
- }
386
- .lg\\:inline {
387
- display: inline;
388
- }
389
- .lg\\:inline-block {
390
- display: inline-block;
391
- }
392
- .lg\\:inline-flex {
393
- display: inline-flex;
394
- }
395
- .lg\\:inline-grid {
396
- display: inline-grid;
397
- }
398
-
399
- /* Position */
400
- .lg\\:absolute {
401
- position: absolute;
402
- }
403
- .lg\\:fixed {
404
- position: fixed;
405
- }
406
- .lg\\:relative {
407
- position: relative;
408
- }
409
- .lg\\:static {
410
- position: static;
411
- }
412
- .lg\\:sticky {
413
- position: sticky;
414
- }
415
- }
416
- @media (min-width: 1280px) {
417
- /* Display */
418
- .xl\\:block {
419
- display: block;
420
- }
421
- .xl\\:flex {
422
- display: flex;
423
- }
424
- .xl\\:grid {
425
- display: grid;
426
- }
427
- .xl\\:hidden {
428
- display: none;
429
- }
430
- .xl\\:inline {
431
- display: inline;
432
- }
433
- .xl\\:inline-block {
434
- display: inline-block;
435
- }
436
- .xl\\:inline-flex {
437
- display: inline-flex;
438
- }
439
- .xl\\:inline-grid {
440
- display: inline-grid;
441
- }
442
-
443
- /* Position */
444
- .xl\\:absolute {
445
- position: absolute;
446
- }
447
- .xl\\:fixed {
448
- position: fixed;
449
- }
450
- .xl\\:relative {
451
- position: relative;
452
- }
453
- .xl\\:static {
454
- position: static;
455
- }
456
- .xl\\:sticky {
457
- position: sticky;
458
- }
459
- }
460
- @media (min-width: 1536px) {
461
- /* Display */
462
- .\\32xl\\:block {
463
- display: block;
464
- }
465
- .\\32xl\\:flex {
466
- display: flex;
467
- }
468
- .\\32xl\\:grid {
469
- display: grid;
470
- }
471
- .\\32xl\\:hidden {
472
- display: none;
473
- }
474
- .\\32xl\\:inline {
475
- display: inline;
476
- }
477
- .\\32xl\\:inline-block {
478
- display: inline-block;
479
- }
480
- .\\32xl\\:inline-flex {
481
- display: inline-flex;
482
- }
483
- .\\32xl\\:inline-grid {
484
- display: inline-grid;
485
- }
486
-
487
- /* Position */
488
- .\\32xl\\:absolute {
489
- position: absolute;
490
- }
491
- .\\32xl\\:fixed {
492
- position: fixed;
493
- }
494
- .\\32xl\\:relative {
495
- position: relative;
496
- }
497
- .\\32xl\\:static {
498
- position: static;
499
- }
500
- .\\32xl\\:sticky {
501
- position: sticky;
502
- }
503
- }
504
- `;
@@ -1,28 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
7
-
8
- export const shadows = css`
9
- /* === Box shadow === */
10
- .shadow-none {
11
- box-shadow: none;
12
- }
13
- .shadow-xs {
14
- box-shadow: var(--lumo-box-shadow-xs);
15
- }
16
- .shadow-s {
17
- box-shadow: var(--lumo-box-shadow-s);
18
- }
19
- .shadow-m {
20
- box-shadow: var(--lumo-box-shadow-m);
21
- }
22
- .shadow-l {
23
- box-shadow: var(--lumo-box-shadow-l);
24
- }
25
- .shadow-xl {
26
- box-shadow: var(--lumo-box-shadow-xl);
27
- }
28
- `;
@@ -1,121 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
7
-
8
- export const sizing = css`
9
- /* === Height === */
10
- .h-0 {
11
- height: 0;
12
- }
13
- .h-xs {
14
- height: var(--lumo-size-xs);
15
- }
16
- .h-s {
17
- height: var(--lumo-size-s);
18
- }
19
- .h-m {
20
- height: var(--lumo-size-m);
21
- }
22
- .h-l {
23
- height: var(--lumo-size-l);
24
- }
25
- .h-xl {
26
- height: var(--lumo-size-xl);
27
- }
28
- .h-auto {
29
- height: auto;
30
- }
31
- .h-full {
32
- height: 100%;
33
- }
34
- .h-screen {
35
- height: 100vh;
36
- }
37
-
38
- /* === Height (max) === */
39
- .max-h-full {
40
- max-height: 100%;
41
- }
42
- .max-h-screen {
43
- max-height: 100vh;
44
- }
45
-
46
- /* === Height (min) === */
47
- .min-h-0 {
48
- min-height: 0;
49
- }
50
- .min-h-full {
51
- min-height: 100%;
52
- }
53
- .min-h-screen {
54
- min-height: 100vh;
55
- }
56
-
57
- /* === Icon sizing === */
58
- .icon-s {
59
- height: var(--lumo-icon-size-s);
60
- width: var(--lumo-icon-size-s);
61
- }
62
- .icon-m {
63
- height: var(--lumo-icon-size-m);
64
- width: var(--lumo-icon-size-m);
65
- }
66
- .icon-l {
67
- height: var(--lumo-icon-size-l);
68
- width: var(--lumo-icon-size-l);
69
- }
70
-
71
- /* === Width === */
72
- .w-xs {
73
- width: var(--lumo-size-xs);
74
- }
75
- .w-s {
76
- width: var(--lumo-size-s);
77
- }
78
- .w-m {
79
- width: var(--lumo-size-m);
80
- }
81
- .w-l {
82
- width: var(--lumo-size-l);
83
- }
84
- .w-xl {
85
- width: var(--lumo-size-xl);
86
- }
87
- .w-auto {
88
- width: auto;
89
- }
90
- .w-full {
91
- width: 100%;
92
- }
93
-
94
- /* === Width (max) === */
95
- .max-w-full {
96
- max-width: 100%;
97
- }
98
- .max-w-screen-sm {
99
- max-width: 640px;
100
- }
101
- .max-w-screen-md {
102
- max-width: 768px;
103
- }
104
- .max-w-screen-lg {
105
- max-width: 1024px;
106
- }
107
- .max-w-screen-xl {
108
- max-width: 1280px;
109
- }
110
- .max-w-screen-2xl {
111
- max-width: 1536px;
112
- }
113
-
114
- /* === Width (min) === */
115
- .min-w-0 {
116
- min-width: 0;
117
- }
118
- .min-w-full {
119
- min-width: 100%;
120
- }
121
- `;