@vaadin/vaadin-lumo-styles 25.0.0-alpha1 → 25.0.0-alpha10

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 (226) hide show
  1. package/auto-complete.css +3 -73
  2. package/components/accordion-heading.css +14 -0
  3. package/components/accordion-panel.css +15 -0
  4. package/components/accordion.css +7 -0
  5. package/components/app-layout.css +11 -0
  6. package/components/avatar-group.css +31 -0
  7. package/components/avatar.css +17 -0
  8. package/components/button.css +12 -0
  9. package/components/card.css +50 -0
  10. package/components/charts.css +11 -0
  11. package/components/checkbox-group.css +23 -0
  12. package/components/checkbox.css +14 -0
  13. package/components/combo-box.css +47 -0
  14. package/components/confirm-dialog.css +17 -0
  15. package/components/context-menu.css +32 -0
  16. package/components/crud.css +40 -0
  17. package/components/custom-field.css +20 -0
  18. package/components/dashboard.css +34 -0
  19. package/components/date-picker.css +49 -0
  20. package/components/date-time-picker.css +28 -0
  21. package/components/details-summary.css +11 -0
  22. package/components/details.css +12 -0
  23. package/components/dialog.css +16 -0
  24. package/components/drawer-toggle.css +14 -0
  25. package/components/email-field.css +25 -0
  26. package/components/field-highlighter.css +22 -0
  27. package/components/form-item.css +11 -0
  28. package/components/form-layout.css +11 -0
  29. package/components/grid-filter-column.css +6 -0
  30. package/components/grid-filter.css +12 -0
  31. package/components/grid-pro-edit-column.css +48 -0
  32. package/components/grid-pro.css +14 -0
  33. package/components/grid-selection-column.css +6 -0
  34. package/components/grid-sort-column.css +6 -0
  35. package/components/grid-sorter.css +19 -0
  36. package/components/grid-tree-column.css +6 -0
  37. package/components/grid-tree-toggle.css +11 -0
  38. package/components/grid.css +11 -0
  39. package/components/horizontal-layout.css +11 -0
  40. package/components/icon.css +11 -0
  41. package/components/input-container.css +11 -0
  42. package/components/integer-field.css +25 -0
  43. package/components/item.css +11 -0
  44. package/components/list-box.css +11 -0
  45. package/components/login-form.css +14 -0
  46. package/components/login.css +15 -0
  47. package/components/map.css +11 -0
  48. package/components/master-detail-layout.css +19 -0
  49. package/components/menu-bar.css +47 -0
  50. package/components/message-input.css +13 -0
  51. package/components/message-list.css +6 -0
  52. package/components/message.css +12 -0
  53. package/components/multi-select-combo-box.css +61 -0
  54. package/components/notification.css +15 -0
  55. package/components/number-field.css +25 -0
  56. package/components/overlay.css +11 -0
  57. package/components/password-field.css +32 -0
  58. package/components/popover.css +14 -0
  59. package/components/progress-bar.css +11 -0
  60. package/components/radio-button.css +14 -0
  61. package/components/radio-group.css +23 -0
  62. package/components/rich-text-editor.css +26 -0
  63. package/components/scroller.css +11 -0
  64. package/components/select.css +48 -0
  65. package/components/side-nav-item.css +14 -0
  66. package/components/side-nav.css +12 -0
  67. package/components/split-layout.css +11 -0
  68. package/components/tab.css +11 -0
  69. package/components/tabs.css +12 -0
  70. package/components/tabsheet.css +19 -0
  71. package/components/text-area.css +25 -0
  72. package/components/text-field.css +23 -0
  73. package/components/time-picker.css +43 -0
  74. package/components/tooltip.css +14 -0
  75. package/components/upload.css +28 -0
  76. package/components/vertical-layout.css +11 -0
  77. package/components.css +71 -0
  78. package/font-icons.js +28 -26
  79. package/global.css +8 -0
  80. package/lumo.css +8 -0
  81. package/mixins/input-field-shared.js +1 -2
  82. package/mixins/menu-overlay.js +0 -2
  83. package/mixins/required-field.js +0 -1
  84. package/package.json +16 -12
  85. package/props.css +12 -0
  86. package/src/components/accordion-heading.css +42 -0
  87. package/src/components/accordion-panel.css +38 -0
  88. package/src/components/app-layout.css +193 -0
  89. package/src/components/avatar-group-menu-item.css +22 -0
  90. package/src/components/avatar-group-overlay.css +15 -0
  91. package/src/components/avatar-group.css +67 -0
  92. package/src/components/avatar.css +86 -0
  93. package/src/components/button.css +334 -0
  94. package/src/components/card.css +38 -0
  95. package/src/components/chart.css +85 -0
  96. package/src/components/checkbox-group.css +18 -0
  97. package/src/components/checkbox.css +341 -0
  98. package/src/components/combo-box-item.css +18 -0
  99. package/src/components/combo-box-overlay.css +15 -0
  100. package/src/components/combo-box.css +14 -0
  101. package/src/components/confirm-dialog-overlay.css +59 -0
  102. package/src/components/context-menu-item.css +39 -0
  103. package/src/components/context-menu-list-box.css +40 -0
  104. package/src/components/context-menu-overlay.css +41 -0
  105. package/src/components/crud-dialog-overlay.css +57 -0
  106. package/src/components/crud-edit.css +30 -0
  107. package/src/components/crud.css +157 -0
  108. package/src/components/custom-field.css +102 -0
  109. package/src/components/dashboard-layout.css +94 -0
  110. package/src/components/dashboard-section.css +113 -0
  111. package/src/components/dashboard-widget.css +224 -0
  112. package/src/components/dashboard.css +23 -0
  113. package/src/components/date-picker-month-calendar.css +192 -0
  114. package/src/components/date-picker-overlay-content.css +161 -0
  115. package/src/components/date-picker-overlay.css +60 -0
  116. package/src/components/date-picker-year.css +35 -0
  117. package/src/components/date-picker.css +41 -0
  118. package/src/components/date-time-picker.css +36 -0
  119. package/src/components/details-summary.css +131 -0
  120. package/src/components/details.css +37 -0
  121. package/src/components/dialog-overlay.css +173 -0
  122. package/src/components/drawer-toggle.css +51 -0
  123. package/src/components/email-field.css +26 -0
  124. package/src/components/field-outline.css +51 -0
  125. package/src/components/form-item.css +36 -0
  126. package/src/components/form-layout.css +12 -0
  127. package/src/components/grid-filter.css +16 -0
  128. package/src/components/grid-pro-edit-select.css +19 -0
  129. package/src/components/grid-pro.css +84 -0
  130. package/src/components/grid-sorter.css +70 -0
  131. package/src/components/grid-tree-toggle.css +104 -0
  132. package/src/components/grid.css +755 -0
  133. package/src/components/horizontal-layout.css +34 -0
  134. package/src/components/icon.css +11 -0
  135. package/src/components/input-container.css +228 -0
  136. package/src/components/item.css +94 -0
  137. package/src/components/list-box.css +31 -0
  138. package/src/components/login-form-wrapper.css +113 -0
  139. package/src/components/login-overlay-wrapper.css +189 -0
  140. package/src/components/map.css +182 -0
  141. package/src/components/menu-bar-button.css +128 -0
  142. package/src/components/menu-bar-item.css +23 -0
  143. package/src/components/menu-bar-overlay.css +10 -0
  144. package/src/components/menu-bar.css +31 -0
  145. package/src/components/message-input.css +30 -0
  146. package/src/components/message.css +82 -0
  147. package/src/components/multi-select-combo-box-chip.css +113 -0
  148. package/src/components/multi-select-combo-box-container.css +20 -0
  149. package/src/components/multi-select-combo-box-item.css +13 -0
  150. package/src/components/multi-select-combo-box-overlay.css +18 -0
  151. package/src/components/multi-select-combo-box.css +102 -0
  152. package/src/components/notification-card.css +228 -0
  153. package/src/components/notification-container.css +60 -0
  154. package/src/components/number-field.css +53 -0
  155. package/src/components/password-field-button.css +19 -0
  156. package/src/components/password-field.css +24 -0
  157. package/src/components/popover-overlay.css +156 -0
  158. package/src/components/progress-bar.css +295 -0
  159. package/src/components/radio-button.css +156 -0
  160. package/src/components/radio-group.css +18 -0
  161. package/src/components/rich-text-editor-popup-overlay.css +27 -0
  162. package/src/components/rich-text-editor.css +485 -0
  163. package/src/components/scroller.css +40 -0
  164. package/src/components/select-overlay.css +54 -0
  165. package/src/components/select-value-button.css +57 -0
  166. package/src/components/select.css +60 -0
  167. package/src/components/side-nav-item.css +170 -0
  168. package/src/components/side-nav.css +102 -0
  169. package/src/components/split-layout.css +131 -0
  170. package/src/components/tab.css +246 -0
  171. package/src/components/tabs.css +285 -0
  172. package/src/components/tabsheet.css +59 -0
  173. package/src/components/text-area.css +116 -0
  174. package/src/components/time-picker-overlay.css +15 -0
  175. package/src/components/time-picker.css +36 -0
  176. package/src/components/tooltip-overlay.css +50 -0
  177. package/src/components/upload-file-list.css +24 -0
  178. package/src/components/upload-file.css +133 -0
  179. package/src/components/upload-icon.css +20 -0
  180. package/src/components/upload.css +56 -0
  181. package/src/components/user-tag.css +48 -0
  182. package/src/components/user-tags-overlay.css +64 -0
  183. package/src/components/vertical-layout.css +34 -0
  184. package/src/global/badge.css +167 -0
  185. package/src/global/color-scheme.css +99 -0
  186. package/src/global/typography.css +113 -0
  187. package/src/mixins/checkable-field.css +67 -0
  188. package/src/mixins/combo-box-loader.css +14 -0
  189. package/src/mixins/combo-box-overlay.css +30 -0
  190. package/src/mixins/dashboard-item.css +252 -0
  191. package/src/mixins/field-base.css +187 -0
  192. package/src/mixins/field-button.css +46 -0
  193. package/src/mixins/field-error-message.css +36 -0
  194. package/src/mixins/field-helper.css +62 -0
  195. package/src/mixins/field-label.css +62 -0
  196. package/src/mixins/field-required.css +26 -0
  197. package/src/mixins/grid-pro-editor.css +35 -0
  198. package/src/mixins/group-field.css +58 -0
  199. package/src/mixins/loader.css +48 -0
  200. package/src/mixins/menu-overlay-core.css +36 -0
  201. package/src/mixins/menu-overlay-ext.css +63 -0
  202. package/src/mixins/overlay.css +121 -0
  203. package/src/mixins/resizable-overlay.css +99 -0
  204. package/src/props/color.css +98 -0
  205. package/src/props/icons.css +61 -0
  206. package/src/props/reset.css +11 -0
  207. package/src/props/sizing.css +19 -0
  208. package/src/props/spacing.css +27 -0
  209. package/src/props/style.css +21 -0
  210. package/src/props/typography.css +24 -0
  211. package/src/utilities/accessibility.css +17 -0
  212. package/src/utilities/background.css +189 -0
  213. package/src/utilities/border.css +173 -0
  214. package/src/utilities/filter.css +37 -0
  215. package/src/utilities/flexbox-grid.css +781 -0
  216. package/src/utilities/layout.css +629 -0
  217. package/src/utilities/shadows.css +29 -0
  218. package/src/utilities/sizing.css +142 -0
  219. package/src/utilities/spacing.css +682 -0
  220. package/src/utilities/transition.css +46 -0
  221. package/src/utilities/typography.css +424 -0
  222. package/style.d.ts +0 -2
  223. package/style.js +1 -89
  224. package/utilities/transition.js +3 -2
  225. package/utility.css +17 -0
  226. package/vaadin-iconset.js +2 -0
@@ -0,0 +1,424 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2000 - 2025 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ /* === Font size === */
7
+ .text-2xs {
8
+ font-size: var(--lumo-font-size-xxs);
9
+ }
10
+
11
+ .text-xs {
12
+ font-size: var(--lumo-font-size-xs);
13
+ }
14
+
15
+ .text-s {
16
+ font-size: var(--lumo-font-size-s);
17
+ }
18
+
19
+ .text-m {
20
+ font-size: var(--lumo-font-size-m);
21
+ }
22
+
23
+ .text-l {
24
+ font-size: var(--lumo-font-size-l);
25
+ }
26
+
27
+ .text-xl {
28
+ font-size: var(--lumo-font-size-xl);
29
+ }
30
+
31
+ .text-2xl {
32
+ font-size: var(--lumo-font-size-xxl);
33
+ }
34
+
35
+ .text-3xl {
36
+ font-size: var(--lumo-font-size-xxxl);
37
+ }
38
+
39
+ /* === Font weight === */
40
+ .font-thin {
41
+ font-weight: 100;
42
+ }
43
+
44
+ .font-extralight {
45
+ font-weight: 200;
46
+ }
47
+
48
+ .font-light {
49
+ font-weight: 300;
50
+ }
51
+
52
+ .font-normal {
53
+ font-weight: 400;
54
+ }
55
+
56
+ .font-medium {
57
+ font-weight: 500;
58
+ }
59
+
60
+ .font-semibold {
61
+ font-weight: 600;
62
+ }
63
+
64
+ .font-bold {
65
+ font-weight: 700;
66
+ }
67
+
68
+ .font-extrabold {
69
+ font-weight: 800;
70
+ }
71
+
72
+ .font-black {
73
+ font-weight: 900;
74
+ }
75
+
76
+ /* === Line clamp === */
77
+ [class*='line-clamp-'] {
78
+ display: -webkit-box;
79
+ overflow: hidden;
80
+ -webkit-box-orient: vertical;
81
+ }
82
+
83
+ .line-clamp-1 {
84
+ -webkit-line-clamp: 1;
85
+ }
86
+
87
+ .line-clamp-2 {
88
+ -webkit-line-clamp: 2;
89
+ }
90
+
91
+ .line-clamp-3 {
92
+ -webkit-line-clamp: 3;
93
+ }
94
+
95
+ .line-clamp-4 {
96
+ -webkit-line-clamp: 4;
97
+ }
98
+
99
+ .line-clamp-5 {
100
+ -webkit-line-clamp: 5;
101
+ }
102
+
103
+ .line-clamp-6 {
104
+ -webkit-line-clamp: 6;
105
+ }
106
+
107
+ /* === Line height === */
108
+ .leading-none {
109
+ line-height: 1;
110
+ }
111
+
112
+ .leading-xs {
113
+ line-height: var(--lumo-line-height-xs);
114
+ }
115
+
116
+ .leading-s {
117
+ line-height: var(--lumo-line-height-s);
118
+ }
119
+
120
+ .leading-m {
121
+ line-height: var(--lumo-line-height-m);
122
+ }
123
+
124
+ /* === List style type === */
125
+ .list-none {
126
+ list-style-type: none;
127
+ }
128
+
129
+ /* === Text alignment === */
130
+ .text-left {
131
+ text-align: left;
132
+ }
133
+
134
+ .text-center {
135
+ text-align: center;
136
+ }
137
+
138
+ .text-right {
139
+ text-align: right;
140
+ }
141
+
142
+ .text-justify {
143
+ text-align: justify;
144
+ }
145
+
146
+ /* === Text color === */
147
+ .text-header {
148
+ color: var(--lumo-header-text-color);
149
+ }
150
+
151
+ .text-body {
152
+ color: var(--lumo-body-text-color);
153
+ }
154
+
155
+ .text-secondary {
156
+ color: var(--lumo-secondary-text-color);
157
+ }
158
+
159
+ .text-tertiary {
160
+ color: var(--lumo-tertiary-text-color);
161
+ }
162
+
163
+ .text-disabled {
164
+ color: var(--lumo-disabled-text-color);
165
+ }
166
+
167
+ .text-primary {
168
+ color: var(--lumo-primary-text-color);
169
+ }
170
+
171
+ .text-primary-contrast {
172
+ color: var(--lumo-primary-contrast-color);
173
+ }
174
+
175
+ .text-error {
176
+ color: var(--lumo-error-text-color);
177
+ }
178
+
179
+ .text-error-contrast {
180
+ color: var(--lumo-error-contrast-color);
181
+ }
182
+
183
+ .text-success {
184
+ color: var(--lumo-success-text-color);
185
+ }
186
+
187
+ .text-success-contrast {
188
+ color: var(--lumo-success-contrast-color);
189
+ }
190
+
191
+ .text-warning {
192
+ color: var(--lumo-warning-text-color);
193
+ }
194
+
195
+ .text-warning-contrast {
196
+ color: var(--lumo-warning-contrast-color);
197
+ }
198
+
199
+ /* == Text decoration === */
200
+ .line-through {
201
+ text-decoration-line: line-through;
202
+ }
203
+
204
+ .no-underline {
205
+ text-decoration-line: none;
206
+ }
207
+
208
+ .underline {
209
+ text-decoration-line: underline;
210
+ }
211
+
212
+ /* === Text overflow === */
213
+ .overflow-clip {
214
+ text-overflow: clip;
215
+ }
216
+
217
+ .overflow-ellipsis {
218
+ text-overflow: ellipsis;
219
+ }
220
+
221
+ /* === Text transform === */
222
+ .capitalize {
223
+ text-transform: capitalize;
224
+ }
225
+
226
+ .lowercase {
227
+ text-transform: lowercase;
228
+ }
229
+
230
+ .uppercase {
231
+ text-transform: uppercase;
232
+ }
233
+
234
+ /* === Whitespace === */
235
+ .whitespace-normal {
236
+ white-space: normal;
237
+ }
238
+
239
+ .whitespace-break-spaces {
240
+ white-space: normal;
241
+ }
242
+
243
+ .whitespace-nowrap {
244
+ white-space: nowrap;
245
+ }
246
+
247
+ .whitespace-pre {
248
+ white-space: pre;
249
+ }
250
+
251
+ .whitespace-pre-line {
252
+ white-space: pre-line;
253
+ }
254
+
255
+ .whitespace-pre-wrap {
256
+ white-space: pre-wrap;
257
+ }
258
+
259
+ /* === Responsive design === */
260
+ @media (min-width: 640px) {
261
+ .sm\:text-2xs {
262
+ font-size: var(--lumo-font-size-xxs);
263
+ }
264
+
265
+ .sm\:text-xs {
266
+ font-size: var(--lumo-font-size-xs);
267
+ }
268
+
269
+ .sm\:text-s {
270
+ font-size: var(--lumo-font-size-s);
271
+ }
272
+
273
+ .sm\:text-m {
274
+ font-size: var(--lumo-font-size-m);
275
+ }
276
+
277
+ .sm\:text-l {
278
+ font-size: var(--lumo-font-size-l);
279
+ }
280
+
281
+ .sm\:text-xl {
282
+ font-size: var(--lumo-font-size-xl);
283
+ }
284
+
285
+ .sm\:text-2xl {
286
+ font-size: var(--lumo-font-size-xxl);
287
+ }
288
+
289
+ .sm\:text-3xl {
290
+ font-size: var(--lumo-font-size-xxxl);
291
+ }
292
+ }
293
+ @media (min-width: 768px) {
294
+ .md\:text-2xs {
295
+ font-size: var(--lumo-font-size-xxs);
296
+ }
297
+
298
+ .md\:text-xs {
299
+ font-size: var(--lumo-font-size-xs);
300
+ }
301
+
302
+ .md\:text-s {
303
+ font-size: var(--lumo-font-size-s);
304
+ }
305
+
306
+ .md\:text-m {
307
+ font-size: var(--lumo-font-size-m);
308
+ }
309
+
310
+ .md\:text-l {
311
+ font-size: var(--lumo-font-size-l);
312
+ }
313
+
314
+ .md\:text-xl {
315
+ font-size: var(--lumo-font-size-xl);
316
+ }
317
+
318
+ .md\:text-2xl {
319
+ font-size: var(--lumo-font-size-xxl);
320
+ }
321
+
322
+ .md\:text-3xl {
323
+ font-size: var(--lumo-font-size-xxxl);
324
+ }
325
+ }
326
+ @media (min-width: 1024px) {
327
+ .lg\:text-2xs {
328
+ font-size: var(--lumo-font-size-xxs);
329
+ }
330
+
331
+ .lg\:text-xs {
332
+ font-size: var(--lumo-font-size-xs);
333
+ }
334
+
335
+ .lg\:text-s {
336
+ font-size: var(--lumo-font-size-s);
337
+ }
338
+
339
+ .lg\:text-m {
340
+ font-size: var(--lumo-font-size-m);
341
+ }
342
+
343
+ .lg\:text-l {
344
+ font-size: var(--lumo-font-size-l);
345
+ }
346
+
347
+ .lg\:text-xl {
348
+ font-size: var(--lumo-font-size-xl);
349
+ }
350
+
351
+ .lg\:text-2xl {
352
+ font-size: var(--lumo-font-size-xxl);
353
+ }
354
+
355
+ .lg\:text-3xl {
356
+ font-size: var(--lumo-font-size-xxxl);
357
+ }
358
+ }
359
+ @media (min-width: 1280px) {
360
+ .xl\:text-2xs {
361
+ font-size: var(--lumo-font-size-xxs);
362
+ }
363
+
364
+ .xl\:text-xs {
365
+ font-size: var(--lumo-font-size-xs);
366
+ }
367
+
368
+ .xl\:text-s {
369
+ font-size: var(--lumo-font-size-s);
370
+ }
371
+
372
+ .xl\:text-m {
373
+ font-size: var(--lumo-font-size-m);
374
+ }
375
+
376
+ .xl\:text-l {
377
+ font-size: var(--lumo-font-size-l);
378
+ }
379
+
380
+ .xl\:text-xl {
381
+ font-size: var(--lumo-font-size-xl);
382
+ }
383
+
384
+ .xl\:text-2xl {
385
+ font-size: var(--lumo-font-size-xxl);
386
+ }
387
+
388
+ .xl\:text-3xl {
389
+ font-size: var(--lumo-font-size-xxxl);
390
+ }
391
+ }
392
+ @media (min-width: 1536px) {
393
+ .\32xl\:text-2xs {
394
+ font-size: var(--lumo-font-size-xxs);
395
+ }
396
+
397
+ .\32xl\:text-xs {
398
+ font-size: var(--lumo-font-size-xs);
399
+ }
400
+
401
+ .\32xl\:text-s {
402
+ font-size: var(--lumo-font-size-s);
403
+ }
404
+
405
+ .\32xl\:text-m {
406
+ font-size: var(--lumo-font-size-m);
407
+ }
408
+
409
+ .\32xl\:text-l {
410
+ font-size: var(--lumo-font-size-l);
411
+ }
412
+
413
+ .\32xl\:text-xl {
414
+ font-size: var(--lumo-font-size-xl);
415
+ }
416
+
417
+ .\32xl\:text-2xl {
418
+ font-size: var(--lumo-font-size-xxl);
419
+ }
420
+
421
+ .\32xl\:text-3xl {
422
+ font-size: var(--lumo-font-size-xxxl);
423
+ }
424
+ }
package/style.d.ts CHANGED
@@ -1,5 +1,3 @@
1
1
  import type { CSSResult } from 'lit';
2
2
 
3
- export const globals: CSSResult;
4
-
5
3
  export const style: CSSResult;
package/style.js CHANGED
@@ -26,94 +26,6 @@ const style = css`
26
26
  }
27
27
  `;
28
28
 
29
- /**
30
- * Default values for component-specific custom properties.
31
- */
32
- const globals = css`
33
- html {
34
- /* Button */
35
- --vaadin-button-background: var(--lumo-contrast-5pct);
36
- --vaadin-button-border: none;
37
- --vaadin-button-border-radius: var(--lumo-border-radius-m);
38
- --vaadin-button-font-size: var(--lumo-font-size-m);
39
- --vaadin-button-font-weight: 500;
40
- --vaadin-button-height: var(--lumo-size-m);
41
- --vaadin-button-margin: var(--lumo-space-xs) 0;
42
- --vaadin-button-min-width: calc(var(--vaadin-button-height) * 2);
43
- --vaadin-button-padding: 0 calc(var(--vaadin-button-height) / 3 + var(--lumo-border-radius-m) / 2);
44
- --vaadin-button-text-color: var(--lumo-primary-text-color);
45
- --vaadin-button-primary-background: var(--lumo-primary-color);
46
- --vaadin-button-primary-border: none;
47
- --vaadin-button-primary-font-weight: 600;
48
- --vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);
49
- --vaadin-button-tertiary-background: transparent !important;
50
- --vaadin-button-tertiary-text-color: var(--lumo-primary-text-color);
51
- --vaadin-button-tertiary-font-weight: 500;
52
- --vaadin-button-tertiary-padding: 0 calc(var(--vaadin-button-height) / 6);
53
- /* Checkbox */
54
- --vaadin-checkbox-background: var(--lumo-contrast-20pct);
55
- --vaadin-checkbox-background-hover: var(--lumo-contrast-30pct);
56
- --vaadin-checkbox-border-radius: var(--lumo-border-radius-s);
57
- --vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark);
58
- --vaadin-checkbox-checkmark-char-indeterminate: '';
59
- --vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color);
60
- --vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px);
61
- --vaadin-checkbox-label-color: var(--lumo-body-text-color);
62
- --vaadin-checkbox-label-font-size: var(--lumo-font-size-m);
63
- --vaadin-checkbox-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) var(--lumo-space-xs);
64
- --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
65
- --vaadin-checkbox-disabled-checkmark-color: var(--lumo-contrast-30pct);
66
- --vaadin-checkbox-disabled-background: var(--lumo-contrast-10pct);
67
- /* Radio button */
68
- --vaadin-radio-button-background: var(--lumo-contrast-20pct);
69
- --vaadin-radio-button-background-hover: var(--lumo-contrast-30pct);
70
- --vaadin-radio-button-dot-color: var(--lumo-primary-contrast-color);
71
- --vaadin-radio-button-dot-size: 3px;
72
- --vaadin-radio-button-label-color: var(--lumo-body-text-color);
73
- --vaadin-radio-button-label-font-size: var(--lumo-font-size-m);
74
- --vaadin-radio-button-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs)
75
- var(--lumo-space-xs);
76
- --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
77
- --vaadin-radio-button-disabled-background: var(--lumo-contrast-10pct);
78
- --vaadin-radio-button-disabled-dot-color: var(--lumo-contrast-30pct);
79
- --vaadin-selection-color: var(--lumo-primary-color);
80
- --vaadin-selection-color-text: var(--lumo-primary-text-color);
81
- --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
82
- --vaadin-focus-ring-color: var(--lumo-primary-color-50pct);
83
- --vaadin-focus-ring-width: 2px;
84
- /* Label */
85
- --vaadin-input-field-label-color: var(--lumo-secondary-text-color);
86
- --vaadin-input-field-focused-label-color: var(--lumo-primary-text-color);
87
- --vaadin-input-field-hovered-label-color: var(--lumo-body-text-color);
88
- --vaadin-input-field-label-font-size: var(--lumo-font-size-s);
89
- --vaadin-input-field-label-font-weight: 500;
90
- /* Helper */
91
- --vaadin-input-field-helper-color: var(--lumo-secondary-text-color);
92
- --vaadin-input-field-helper-font-size: var(--lumo-font-size-xs);
93
- --vaadin-input-field-helper-font-weight: 400;
94
- --vaadin-input-field-helper-spacing: 0.4em;
95
- /* Error message */
96
- --vaadin-input-field-error-color: var(--lumo-error-text-color);
97
- --vaadin-input-field-error-font-size: var(--lumo-font-size-xs);
98
- --vaadin-input-field-error-font-weight: 400;
99
- /* Input field */
100
- --vaadin-input-field-background: var(--lumo-contrast-10pct);
101
- --vaadin-input-field-icon-color: var(--lumo-contrast-60pct);
102
- --vaadin-input-field-icon-size: var(--lumo-icon-size-m);
103
- --vaadin-input-field-invalid-background: var(--lumo-error-color-10pct);
104
- --vaadin-input-field-invalid-hover-highlight: var(--lumo-error-color-50pct);
105
- --vaadin-input-field-disabled-background: var(--lumo-contrast-5pct);
106
- --vaadin-input-field-disabled-value-color: var(--lumo-disabled-text-color);
107
- --vaadin-input-field-height: var(--lumo-size-m);
108
- --vaadin-input-field-hover-highlight: var(--lumo-contrast-50pct);
109
- --vaadin-input-field-placeholder-color: var(--lumo-secondary-text-color);
110
- --vaadin-input-field-readonly-border: 1px dashed var(--lumo-contrast-30pct);
111
- --vaadin-input-field-value-color: var(--lumo-body-text-color);
112
- --vaadin-input-field-value-font-size: var(--lumo-font-size-m);
113
- --vaadin-input-field-value-font-weight: 500;
114
- }
115
- `;
116
-
117
29
  addLumoGlobalStyles('style-props', style);
118
30
 
119
- export { globals, style };
31
+ export { style };
@@ -7,8 +7,9 @@ import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
7
7
 
8
8
  export const transition = css`
9
9
  .transition {
10
- transition-property: -webkit-backdrop-filter, backdrop-filter, background-color, border-color, box-shadow, color,
11
- fill, filter, opacity, rotate, scale, stroke, text-decoration-color, transform, translate;
10
+ transition-property:
11
+ -webkit-backdrop-filter, backdrop-filter, background-color, border-color, box-shadow, color, fill, filter,
12
+ opacity, rotate, scale, stroke, text-decoration-color, transform, translate;
12
13
  transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
13
14
  transition-duration: var(--lumo-utility-transition-duration, 150ms);
14
15
  }
package/utility.css ADDED
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2000 - 2025 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ @import './props.css';
7
+ @import './src/utilities/accessibility.css';
8
+ @import './src/utilities/background.css';
9
+ @import './src/utilities/border.css';
10
+ @import './src/utilities/filter.css';
11
+ @import './src/utilities/flexbox-grid.css';
12
+ @import './src/utilities/layout.css';
13
+ @import './src/utilities/shadows.css';
14
+ @import './src/utilities/sizing.css';
15
+ @import './src/utilities/spacing.css';
16
+ @import './src/utilities/transition.css';
17
+ @import './src/utilities/typography.css';
package/vaadin-iconset.js CHANGED
@@ -28,6 +28,7 @@ template.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg"><defs>
28
28
  <g id="lumo:chevron-left"><path d="M346 533l199 210c9 9 23 9 32 0 4-4 7-10 6-17V274C583 261 573 250 561 250c-6 0-12 2-16 7l-199 210c-17 18-17 48 0 66z"></path></g>
29
29
  <g id="lumo:chevron-right"><path d="M654 533L455 743c-9 9-23 9-32 0C419 739 417 733 417 726V274C417 261 427 250 439 250c6 0 12 2 16 7l199 210c17 18 17 48 0 66z"></path></g>
30
30
  <g id="lumo:chevron-up"><path d="M533 346l210 199c9 9 9 23 0 32-4 4-10 7-17 6H274C261 583 250 573 250 561c0-6 2-12 7-16l210-199c18-17 48-17 66 0z"></path></g>
31
+ <g id="lumo:clean"><path d="M250 208v8L368 333h99l-30 70 88 88L592 333H833V208H250M136 208L83 261l291 291L271 792h125l65-153L697 875 750 822 148 220 136 208Z"></path></g>
31
32
  <g id="lumo:clock"><path d="M538 489l85 85c15 15 15 38 0 53-15 15-38 15-53 0l-93-93a38 38 0 0 1-2-2C467 525 462 515 462 504V308c0-21 17-38 38-37 21 0 38 17 37 37v181zM500 833c-184 0-333-149-333-333s149-333 333-333 333 149 333 333-149 333-333 333z m0-68c146 0 265-118 265-265 0-146-118-265-265-265-146 0-265 118-265 265 0 146 118 265 265 265z"></path></g>
32
33
  <g id="lumo:cog"><path d="M833 458l-81-18c-8-25-17-50-29-75L767 292 708 233l-72 49c-21-12-46-25-75-30L542 167h-84l-19 79c-25 8-50 17-71 30L296 233 233 296l47 69c-12 21-21 46-29 71L167 458v84l84 25c8 25 17 50 29 75L233 708 292 767l76-44c21 12 46 25 75 29L458 833h84l19-81c25-8 50-17 75-29L708 767l59-59-44-66c12-21 25-46 29-75L833 542v-84z m-333 217c-96 0-175-79-175-175 0-96 79-175 175-175 96 0 175 79 175 175 0 96-79 175-175 175z"></path></g>
33
34
  <g id="lumo:cross"><path d="M445 500l-142-141c-15-15-15-40 0-56 15-15 40-15 56 0L500 445l141-142c15-15 40-15 56 0 15 15 15 40 0 56L555 500l142 141c15 15 15 40 0 56-15 15-40 15-56 0L500 555l-141 142c-15 15-40 15-56 0-15-15-15-40 0-56L445 500z"></path></g>
@@ -38,6 +39,7 @@ template.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg"><defs>
38
39
  <g id="lumo:error"><path d="M500 833c-184 0-333-149-333-333s149-333 333-333 333 149 333 333-149 333-333 333z m0-68c146 0 265-118 265-265 0-146-118-265-265-265-146 0-265 118-265 265 0 146 118 265 265 265zM479 292h42c12 0 21 9 20 20l-11 217c0 8-6 13-13 13h-34c-7 0-13-6-13-13l-11-217C459 301 468 292 479 292zM483 608h34c12 0 21 9 20 21v33c0 12-9 21-20 21h-34c-12 0-21-9-21-21v-33c0-12 9-21 21-21z"></path></g>
39
40
  <g id="lumo:eye"><path d="M500 750c-187 0-417-163-417-250s230-250 417-250 417 163 417 250-230 250-417 250z m-336-231c20 22 47 46 78 69C322 644 411 678 500 678s178-34 258-90c31-22 59-46 78-69 6-7 12-14 16-19-4-6-9-12-16-19-20-22-47-46-78-69C678 356 589 322 500 322s-178 34-258 90c-31 22-59 46-78 69-6 7-12 14-16 19 4 6 9 12 16 19zM500 646c-81 0-146-65-146-146s65-146 146-146 146 65 146 146-65 146-146 146z m0-75c39 0 71-32 71-71 0-39-32-71-71-71-39 0-71 32-71 71 0 39 32 71 71 71z"></path></g>
40
41
  <g id="lumo:eye-disabled"><path d="M396 735l60-60c15 2 30 3 44 3 89 0 178-34 258-90 31-22 59-46 78-69 6-7 12-14 16-19-4-6-9-12-16-19-20-22-47-46-78-69-8-5-15-11-23-15l50-51C862 397 917 458 917 500c0 87-230 250-417 250-34 0-69-5-104-15zM215 654C138 603 83 542 83 500c0-87 230-250 417-250 34 0 69 5 104 15l-59 60c-15-2-30-3-45-3-89 0-178 34-258 90-31 22-59 46-78 69-6 7-12 14-16 19 4 6 9 12 16 19 20 22 47 46 78 69 8 5 16 11 24 16L215 654z m271-9l159-159c0 5 1 9 1 14 0 81-65 146-146 146-5 0-9 0-14-1z m-131-131C354 510 354 505 354 500c0-81 65-146 146-146 5 0 10 0 14 1l-159 159z m-167 257L780 179c12-12 32-12 44 0 12 12 12 32 0 44L232 815c-12 12-32 12-44 0s-12-32 0-44z"></path></g>
42
+ <g id="lumo:link"><path d="M667 250h-125v79h125c94 0 171 76 170 171a171 171 0 0 1-170 171h-125V750h125a250 250 0 0 0 250-250c0-138-112-250-250-250M163 500c0-95 77-171 170-171h125V250H333a250 250 0 0 0-250 250 250 250 0 0 0 250 250h125v-79H333c-94 0-171-77-171-171M333 542h334v-84H333v84Z"></path></g>
41
43
  <g id="lumo:menu"><path d="M167 292c0-23 19-42 41-42h584C815 250 833 268 833 292c0 23-19 42-41 41H208C185 333 167 315 167 292z m0 208c0-23 19-42 41-42h584C815 458 833 477 833 500c0 23-19 42-41 42H208C185 542 167 523 167 500z m0 208c0-23 19-42 41-41h584C815 667 833 685 833 708c0 23-19 42-41 42H208C185 750 167 732 167 708z"></path></g>
42
44
  <g id="lumo:minus"><path d="M261 461c-22 0-39 18-39 39 0 22 18 39 39 39h478c22 0 39-18 39-39 0-22-18-39-39-39H261z"></path></g>
43
45
  <g id="lumo:ordered-list"><path d="M138 333V198H136l-43 28v-38l45-31h45V333H138z m-61 128c0-35 27-59 68-59 39 0 66 21 66 53 0 20-11 37-43 64l-29 27v2h74V583H80v-30l55-52c26-24 32-33 33-43 0-13-10-22-24-22-15 0-26 10-26 25v1h-41v-1zM123 759v-31h21c15 0 25-8 25-21 0-13-10-21-25-21-15 0-26 9-26 23h-41c1-34 27-56 68-57 39 0 66 20 66 49 0 20-14 36-33 39v3c24 3 40 19 39 41 0 32-30 54-73 54-41 0-69-22-70-57h43c1 13 11 22 28 22 16 0 27-9 27-22 0-14-10-22-28-22h-21zM333 258c0-18 15-33 34-33h516c18 0 33 15 34 33 0 18-15 33-34 34H367c-18 0-33-15-34-34z m0 250c0-18 15-33 34-33h516c18 0 33 15 34 33s-15 33-34 34H367c-18 0-33-15-34-34z m0 250c0-18 15-33 34-33h516c18 0 33 15 34 33s-15 33-34 34H367c-18 0-33-15-34-34z"></path></g>