@vaadin/vaadin-lumo-styles 25.0.0-alpha2 → 25.0.0-alpha21

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 (261) hide show
  1. package/all-imports.d.ts +0 -8
  2. package/all-imports.js +0 -18
  3. package/components/accordion-heading.css +14 -0
  4. package/components/accordion-panel.css +15 -0
  5. package/{user-colors.d.ts → components/accordion.css} +2 -3
  6. package/components/app-layout.css +11 -0
  7. package/components/avatar-group.css +31 -0
  8. package/components/avatar.css +17 -0
  9. package/components/button.css +11 -0
  10. package/components/card.css +50 -0
  11. package/components/charts.css +11 -0
  12. package/components/checkbox-group.css +23 -0
  13. package/components/checkbox.css +14 -0
  14. package/components/combo-box.css +47 -0
  15. package/components/confirm-dialog.css +17 -0
  16. package/components/context-menu.css +32 -0
  17. package/components/crud.css +40 -0
  18. package/components/custom-field.css +20 -0
  19. package/components/dashboard.css +34 -0
  20. package/components/date-picker.css +49 -0
  21. package/components/date-time-picker.css +28 -0
  22. package/components/details-summary.css +11 -0
  23. package/components/details.css +12 -0
  24. package/components/dialog.css +16 -0
  25. package/components/drawer-toggle.css +14 -0
  26. package/components/email-field.css +25 -0
  27. package/components/field-highlighter.css +22 -0
  28. package/components/form-item.css +11 -0
  29. package/components/form-layout.css +13 -0
  30. package/components/grid-filter-column.css +6 -0
  31. package/components/grid-filter.css +12 -0
  32. package/components/grid-pro-edit-column.css +48 -0
  33. package/components/grid-pro.css +14 -0
  34. package/components/grid-selection-column.css +6 -0
  35. package/components/grid-sort-column.css +6 -0
  36. package/components/grid-sorter.css +19 -0
  37. package/components/grid-tree-column.css +6 -0
  38. package/components/grid-tree-toggle.css +11 -0
  39. package/components/grid.css +11 -0
  40. package/components/horizontal-layout.css +11 -0
  41. package/components/icon.css +11 -0
  42. package/components/index.css +71 -0
  43. package/components/input-container.css +11 -0
  44. package/components/integer-field.css +25 -0
  45. package/components/item.css +11 -0
  46. package/components/list-box.css +11 -0
  47. package/components/login-form.css +14 -0
  48. package/components/login.css +15 -0
  49. package/components/map.css +11 -0
  50. package/components/master-detail-layout.css +19 -0
  51. package/components/menu-bar.css +47 -0
  52. package/components/message-input-button.css +11 -0
  53. package/components/message-input.css +13 -0
  54. package/components/message-list.css +6 -0
  55. package/components/message.css +12 -0
  56. package/components/multi-select-combo-box.css +61 -0
  57. package/components/notification.css +15 -0
  58. package/components/number-field.css +25 -0
  59. package/components/overlay.css +11 -0
  60. package/components/password-field.css +32 -0
  61. package/components/popover.css +14 -0
  62. package/components/progress-bar.css +11 -0
  63. package/components/radio-button.css +14 -0
  64. package/components/radio-group.css +23 -0
  65. package/components/rich-text-editor.css +26 -0
  66. package/components/scroller.css +11 -0
  67. package/components/select.css +48 -0
  68. package/components/side-nav-item.css +14 -0
  69. package/components/side-nav.css +12 -0
  70. package/components/split-layout.css +11 -0
  71. package/components/tab.css +11 -0
  72. package/components/tabs.css +12 -0
  73. package/components/tabsheet.css +19 -0
  74. package/components/text-area.css +25 -0
  75. package/components/text-field.css +23 -0
  76. package/components/time-picker.css +43 -0
  77. package/components/tooltip.css +14 -0
  78. package/components/upload.css +31 -0
  79. package/components/vertical-layout.css +11 -0
  80. package/dist/lumo.css +43 -0
  81. package/dist/presets/compact.css +1 -0
  82. package/dist/utility.css +1 -0
  83. package/{color-global.js → lumo.css} +3 -4
  84. package/mixins/field-button.js +3 -4
  85. package/mixins/helper.js +3 -4
  86. package/mixins/input-field-shared.js +5 -9
  87. package/mixins/loader.js +3 -2
  88. package/mixins/menu-overlay.js +3 -4
  89. package/mixins/overlay.js +3 -4
  90. package/mixins/required-field.js +3 -4
  91. package/package.json +24 -14
  92. package/presets/compact.css +31 -0
  93. package/src/components/accordion-heading.css +42 -0
  94. package/src/components/accordion-panel.css +38 -0
  95. package/src/components/app-layout.css +193 -0
  96. package/src/components/avatar-group-menu-item.css +22 -0
  97. package/src/components/avatar-group-overlay.css +11 -0
  98. package/src/components/avatar-group.css +67 -0
  99. package/src/components/avatar.css +86 -0
  100. package/src/components/button.css +334 -0
  101. package/src/components/card.css +38 -0
  102. package/src/components/chart.css +86 -0
  103. package/src/components/checkbox-group.css +18 -0
  104. package/src/components/checkbox.css +340 -0
  105. package/src/components/combo-box-item.css +18 -0
  106. package/src/components/combo-box-overlay.css +15 -0
  107. package/src/components/combo-box.css +14 -0
  108. package/src/components/confirm-dialog-overlay.css +55 -0
  109. package/src/components/context-menu-item.css +39 -0
  110. package/src/components/context-menu-list-box.css +40 -0
  111. package/src/components/context-menu-overlay.css +61 -0
  112. package/src/components/crud-dialog-overlay.css +57 -0
  113. package/src/components/crud-edit.css +30 -0
  114. package/src/components/crud.css +157 -0
  115. package/src/components/custom-field.css +102 -0
  116. package/src/components/dashboard-layout.css +28 -0
  117. package/src/components/dashboard-section.css +85 -0
  118. package/src/components/dashboard-widget.css +140 -0
  119. package/src/components/dashboard.css +14 -0
  120. package/src/components/date-picker-month-calendar.css +192 -0
  121. package/src/components/date-picker-overlay-content.css +127 -0
  122. package/src/components/date-picker-overlay.css +48 -0
  123. package/src/components/date-picker-year.css +35 -0
  124. package/src/components/date-picker.css +41 -0
  125. package/src/components/date-time-picker.css +36 -0
  126. package/src/components/details-summary.css +131 -0
  127. package/src/components/details.css +37 -0
  128. package/src/components/dialog-overlay.css +164 -0
  129. package/src/components/drawer-toggle.css +51 -0
  130. package/src/components/email-field.css +26 -0
  131. package/src/components/field-outline.css +51 -0
  132. package/src/components/form-item.css +36 -0
  133. package/src/components/grid-filter.css +16 -0
  134. package/src/components/grid-pro-edit-select.css +19 -0
  135. package/src/components/grid-pro.css +90 -0
  136. package/src/components/grid-sorter.css +70 -0
  137. package/src/components/grid-tree-toggle.css +104 -0
  138. package/src/components/grid.css +755 -0
  139. package/src/components/horizontal-layout.css +34 -0
  140. package/src/components/icon.css +11 -0
  141. package/src/components/input-container.css +228 -0
  142. package/src/components/item.css +94 -0
  143. package/src/components/list-box.css +31 -0
  144. package/src/components/login-form-wrapper.css +113 -0
  145. package/src/components/login-overlay-wrapper.css +189 -0
  146. package/src/components/map.css +182 -0
  147. package/src/components/menu-bar-button.css +128 -0
  148. package/src/components/menu-bar-item.css +23 -0
  149. package/{badge-global.js → src/components/menu-bar-overlay.css} +5 -4
  150. package/src/components/menu-bar.css +31 -0
  151. package/src/components/message-input.css +30 -0
  152. package/src/components/message.css +57 -0
  153. package/src/components/multi-select-combo-box-chip.css +113 -0
  154. package/src/components/multi-select-combo-box-container.css +20 -0
  155. package/src/components/multi-select-combo-box-item.css +13 -0
  156. package/src/components/multi-select-combo-box-overlay.css +18 -0
  157. package/src/components/multi-select-combo-box.css +102 -0
  158. package/src/components/notification-card.css +228 -0
  159. package/src/components/notification-container.css +60 -0
  160. package/src/components/number-field.css +53 -0
  161. package/src/components/password-field-button.css +19 -0
  162. package/src/components/password-field.css +24 -0
  163. package/src/components/popover-overlay.css +20 -0
  164. package/src/components/progress-bar.css +295 -0
  165. package/src/components/radio-button.css +156 -0
  166. package/src/components/radio-group.css +18 -0
  167. package/src/components/rich-text-editor-popup-overlay.css +27 -0
  168. package/src/components/rich-text-editor.css +383 -0
  169. package/src/components/scroller.css +21 -0
  170. package/src/components/select-overlay.css +54 -0
  171. package/src/components/select-value-button.css +57 -0
  172. package/src/components/select.css +73 -0
  173. package/src/components/side-nav-item.css +183 -0
  174. package/src/components/side-nav.css +102 -0
  175. package/src/components/split-layout.css +53 -0
  176. package/src/components/tab.css +246 -0
  177. package/src/components/tabs.css +285 -0
  178. package/src/components/tabsheet.css +63 -0
  179. package/src/components/text-area.css +116 -0
  180. package/src/components/time-picker-overlay.css +15 -0
  181. package/src/components/time-picker.css +36 -0
  182. package/src/components/tooltip-overlay.css +53 -0
  183. package/src/components/upload-file.css +99 -0
  184. package/src/components/upload-icon.css +20 -0
  185. package/src/components/upload.css +56 -0
  186. package/src/components/user-tag.css +48 -0
  187. package/src/components/user-tags-overlay.css +64 -0
  188. package/src/components/vertical-layout.css +34 -0
  189. package/src/global/badge.css +167 -0
  190. package/src/global/color-scheme.css +99 -0
  191. package/{utility-global.js → src/global/index.css} +3 -4
  192. package/src/global/typography.css +113 -0
  193. package/src/mixins/checkable-field.css +67 -0
  194. package/src/mixins/combo-box-loader.css +14 -0
  195. package/src/mixins/combo-box-overlay.css +30 -0
  196. package/src/mixins/dashboard-item.css +121 -0
  197. package/src/mixins/field-base.css +187 -0
  198. package/src/mixins/field-button.css +46 -0
  199. package/src/mixins/field-error-message.css +36 -0
  200. package/src/mixins/field-helper.css +62 -0
  201. package/src/mixins/field-label.css +62 -0
  202. package/src/mixins/field-required.css +26 -0
  203. package/src/mixins/grid-pro-editor.css +35 -0
  204. package/src/mixins/group-field.css +58 -0
  205. package/src/mixins/loader.css +48 -0
  206. package/src/mixins/menu-overlay-core.css +36 -0
  207. package/src/mixins/menu-overlay-ext.css +63 -0
  208. package/src/mixins/overlay.css +131 -0
  209. package/src/mixins/resizable-overlay.css +100 -0
  210. package/src/props/color.css +98 -0
  211. package/src/props/icons.css +63 -0
  212. package/src/props/index.css +12 -0
  213. package/src/props/reset.css +11 -0
  214. package/src/props/sizing.css +19 -0
  215. package/src/props/spacing.css +27 -0
  216. package/src/props/style.css +21 -0
  217. package/src/props/typography.css +24 -0
  218. package/src/utilities/accessibility.css +17 -0
  219. package/src/utilities/background.css +189 -0
  220. package/src/utilities/border.css +173 -0
  221. package/src/utilities/filter.css +37 -0
  222. package/src/utilities/flexbox-grid.css +781 -0
  223. package/src/utilities/layout.css +629 -0
  224. package/src/utilities/shadows.css +29 -0
  225. package/src/utilities/sizing.css +142 -0
  226. package/src/utilities/spacing.css +682 -0
  227. package/src/utilities/transition.css +46 -0
  228. package/src/utilities/typography.css +424 -0
  229. package/utility.css +16 -0
  230. package/vaadin-iconset.js +4 -0
  231. package/auto-complete.css +0 -2582
  232. package/badge.d.ts +0 -3
  233. package/badge.js +0 -178
  234. package/color.d.ts +0 -5
  235. package/color.js +0 -221
  236. package/font-icons.js +0 -67
  237. package/global.js +0 -5
  238. package/presets/compact.js +0 -40
  239. package/sizing.d.ts +0 -3
  240. package/sizing.js +0 -29
  241. package/spacing.d.ts +0 -3
  242. package/spacing.js +0 -37
  243. package/style.d.ts +0 -5
  244. package/style.js +0 -119
  245. package/typography-global.js +0 -13
  246. package/typography.d.ts +0 -7
  247. package/typography.js +0 -129
  248. package/user-colors.js +0 -33
  249. package/utilities/accessibility.js +0 -21
  250. package/utilities/background.js +0 -156
  251. package/utilities/border.js +0 -147
  252. package/utilities/filter.js +0 -34
  253. package/utilities/flexbox-grid.js +0 -619
  254. package/utilities/layout.js +0 -504
  255. package/utilities/shadows.js +0 -28
  256. package/utilities/sizing.js +0 -121
  257. package/utilities/spacing.js +0 -542
  258. package/utilities/transition.js +0 -49
  259. package/utilities/typography.js +0 -344
  260. package/utility.d.ts +0 -3
  261. package/utility.js +0 -34
@@ -0,0 +1,102 @@
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
+ @media lumo_components_multi-select-combo-box {
7
+ :host {
8
+ max-width: 100%;
9
+ --input-min-width: var(--vaadin-multi-select-combo-box-input-min-width, 4em);
10
+ --_chip-min-width: var(--vaadin-multi-select-combo-box-chip-min-width, 50px);
11
+ --_wrapper-gap: 0;
12
+ }
13
+
14
+ :host([opened]) {
15
+ pointer-events: auto;
16
+ }
17
+
18
+ #chips {
19
+ display: flex;
20
+ align-items: center;
21
+ }
22
+
23
+ ::slotted(input) {
24
+ box-sizing: border-box;
25
+ flex: 1 0 var(--input-min-width);
26
+ }
27
+
28
+ ::slotted([slot='chip']),
29
+ ::slotted([slot='overflow']) {
30
+ flex: 0 1 auto;
31
+ }
32
+
33
+ ::slotted([slot='chip']) {
34
+ overflow: hidden;
35
+ }
36
+
37
+ :host(:is([readonly], [disabled])) ::slotted(input) {
38
+ flex-grow: 0;
39
+ flex-basis: 0;
40
+ padding: 0;
41
+ }
42
+
43
+ :host([auto-expand-vertically]) #chips {
44
+ display: contents;
45
+ }
46
+
47
+ :host([auto-expand-horizontally]) [class$='container'] {
48
+ width: auto;
49
+ }
50
+
51
+ :host([has-value]) {
52
+ padding-inline-start: 0;
53
+ }
54
+
55
+ :host([has-value]) ::slotted(input:placeholder-shown) {
56
+ caret-color: var(--lumo-body-text-color) !important;
57
+ }
58
+
59
+ [part='label'] {
60
+ flex-shrink: 0;
61
+ }
62
+
63
+ /* Override input-container styles */
64
+ [part='input-field'] ::slotted([slot='chip']),
65
+ [part='input-field'] ::slotted([slot='overflow']) {
66
+ min-height: auto;
67
+ padding: 0.3125em calc(0.5em + var(--lumo-border-radius-s) / 4);
68
+ color: var(--lumo-body-text-color);
69
+ mask-image: none;
70
+ }
71
+
72
+ :host([auto-expand-vertically]) ::slotted([slot='chip']) {
73
+ margin-block: calc(var(--lumo-space-xs) / 2);
74
+ }
75
+
76
+ ::slotted([slot='chip']:not([readonly]):not([disabled])) {
77
+ padding-inline-end: 0;
78
+ }
79
+
80
+ :host([auto-expand-vertically]) ::slotted([slot='input']) {
81
+ min-height: calc(var(--lumo-text-field-size, var(--lumo-size-m)) - 2 * var(--lumo-space-xs));
82
+ }
83
+
84
+ ::slotted([slot='chip']:not(:last-of-type)),
85
+ ::slotted([slot='overflow']:not(:last-of-type)) {
86
+ margin-inline-end: var(--lumo-space-xs);
87
+ }
88
+
89
+ ::slotted([slot='chip'][focused]) {
90
+ background-color: var(--vaadin-selection-color, var(--lumo-primary-color));
91
+ color: var(--lumo-primary-contrast-color);
92
+ }
93
+
94
+ [part~='toggle-button']::before {
95
+ content: var(--lumo-icons-dropdown);
96
+ }
97
+
98
+ :host([readonly][has-value]) [part~='toggle-button'] {
99
+ color: var(--lumo-contrast-60pct);
100
+ cursor: var(--lumo-clickable-cursor);
101
+ }
102
+ }
@@ -0,0 +1,228 @@
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
+ @media lumo_components_notification-card {
7
+ :host {
8
+ display: block;
9
+ position: relative;
10
+ margin: var(--lumo-space-s);
11
+ }
12
+
13
+ [part='overlay'] {
14
+ pointer-events: auto;
15
+ background: var(--lumo-base-color) linear-gradient(var(--lumo-contrast-5pct), var(--lumo-contrast-5pct));
16
+ border-radius: var(--lumo-border-radius-l);
17
+ box-shadow:
18
+ 0 0 0 1px var(--lumo-contrast-10pct),
19
+ var(--lumo-box-shadow-l);
20
+ font-family: var(--lumo-font-family);
21
+ font-size: var(--lumo-font-size-m);
22
+ font-weight: 400;
23
+ line-height: var(--lumo-line-height-s);
24
+ letter-spacing: 0;
25
+ text-transform: none;
26
+ -webkit-text-size-adjust: 100%;
27
+ -webkit-font-smoothing: antialiased;
28
+ -moz-osx-font-smoothing: grayscale;
29
+ }
30
+
31
+ [part='content'] {
32
+ padding: var(--lumo-space-wide-l);
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: space-between;
36
+ }
37
+
38
+ [part='content'] ::slotted(vaadin-button) {
39
+ flex: none;
40
+ margin: 0 calc(var(--lumo-space-s) * -1) 0 var(--lumo-space-m);
41
+ }
42
+
43
+ :host([slot^='middle']) {
44
+ max-width: 80vw;
45
+ margin: var(--lumo-space-s) auto;
46
+ }
47
+
48
+ :host([slot$='stretch']) {
49
+ margin: 0;
50
+ }
51
+
52
+ :host([slot$='stretch']) [part='overlay'] {
53
+ border-radius: 0;
54
+ }
55
+
56
+ @media (min-width: 421px) {
57
+ :host(:not([slot$='stretch'])) {
58
+ display: flex;
59
+ }
60
+
61
+ :host([slot$='end']) {
62
+ justify-content: flex-end;
63
+ }
64
+
65
+ :host([slot^='middle']),
66
+ :host([slot$='center']) {
67
+ display: flex;
68
+ justify-content: center;
69
+ }
70
+ }
71
+
72
+ @keyframes lumo-notification-exit-fade-out {
73
+ 100% {
74
+ opacity: 0;
75
+ }
76
+ }
77
+
78
+ @keyframes lumo-notification-enter-fade-in {
79
+ 0% {
80
+ opacity: 0;
81
+ }
82
+ }
83
+
84
+ @keyframes lumo-notification-enter-slide-down {
85
+ 0% {
86
+ transform: translateY(-200%);
87
+ opacity: 0;
88
+ }
89
+ }
90
+
91
+ @keyframes lumo-notification-exit-slide-up {
92
+ 100% {
93
+ transform: translateY(-200%);
94
+ opacity: 0;
95
+ }
96
+ }
97
+
98
+ @keyframes lumo-notification-enter-slide-up {
99
+ 0% {
100
+ transform: translateY(200%);
101
+ opacity: 0;
102
+ }
103
+ }
104
+
105
+ @keyframes lumo-notification-exit-slide-down {
106
+ 100% {
107
+ transform: translateY(200%);
108
+ opacity: 0;
109
+ }
110
+ }
111
+
112
+ :host([slot='middle'][opening]) {
113
+ animation: lumo-notification-enter-fade-in 300ms;
114
+ }
115
+
116
+ :host([slot='middle'][closing]) {
117
+ animation: lumo-notification-exit-fade-out 300ms;
118
+ }
119
+
120
+ :host([slot^='top'][opening]) {
121
+ animation: lumo-notification-enter-slide-down 300ms;
122
+ }
123
+
124
+ :host([slot^='top'][closing]) {
125
+ animation: lumo-notification-exit-slide-up 300ms;
126
+ }
127
+
128
+ :host([slot^='bottom'][opening]) {
129
+ animation: lumo-notification-enter-slide-up 300ms;
130
+ }
131
+
132
+ :host([slot^='bottom'][closing]) {
133
+ animation: lumo-notification-exit-slide-down 300ms;
134
+ }
135
+
136
+ :host([theme='success']) {
137
+ --_focus-ring-gap-color: var(--lumo-success-color);
138
+ --vaadin-focus-ring-color: var(--lumo-success-contrast-color);
139
+ }
140
+
141
+ :host([theme='warning']) {
142
+ --_focus-ring-gap-color: var(--lumo-warning-color);
143
+ --vaadin-focus-ring-color: var(--lumo-warning-contrast-color);
144
+ }
145
+
146
+ :host([theme='error']) {
147
+ --_focus-ring-gap-color: var(--lumo-error-color);
148
+ --vaadin-focus-ring-color: var(--lumo-error-contrast-color);
149
+ }
150
+
151
+ :host([theme='primary']) {
152
+ --_focus-ring-gap-color: var(--lumo-primary-color);
153
+ --vaadin-focus-ring-color: var(--lumo-primary-contrast-color);
154
+ }
155
+
156
+ :host([theme~='primary']) [part='overlay'] {
157
+ background: var(--lumo-primary-color);
158
+ color: var(--lumo-primary-contrast-color);
159
+ box-shadow: var(--lumo-box-shadow-l);
160
+ }
161
+
162
+ :host([theme~='primary']) {
163
+ --vaadin-button-background: var(--lumo-shade-20pct);
164
+ --vaadin-button-text-color: var(--lumo-primary-contrast-color);
165
+ --vaadin-button-primary-background: var(--lumo-primary-contrast-color);
166
+ --vaadin-button-primary-text-color: var(--lumo-primary-text-color);
167
+ }
168
+
169
+ :host([theme~='contrast']) [part='overlay'] {
170
+ background: var(--lumo-contrast);
171
+ color: var(--lumo-base-color);
172
+ box-shadow: var(--lumo-box-shadow-l);
173
+ }
174
+
175
+ :host([theme~='contrast']) {
176
+ --vaadin-button-background: var(--lumo-contrast-20pct);
177
+ --vaadin-button-text-color: var(--lumo-base-color);
178
+ --vaadin-button-primary-background: var(--lumo-base-color);
179
+ --vaadin-button-primary-text-color: var(--lumo-contrast);
180
+ }
181
+
182
+ :host([theme~='success']) [part='overlay'] {
183
+ background: var(--lumo-success-color);
184
+ color: var(--lumo-success-contrast-color);
185
+ box-shadow: var(--lumo-box-shadow-l);
186
+ }
187
+
188
+ :host([theme~='success']) {
189
+ --vaadin-button-background: var(--lumo-shade-20pct);
190
+ --vaadin-button-text-color: var(--lumo-success-contrast-color);
191
+ --vaadin-button-primary-background: var(--lumo-success-contrast-color);
192
+ --vaadin-button-primary-text-color: var(--lumo-success-text-color);
193
+ }
194
+
195
+ :host([theme~='error']) [part='overlay'] {
196
+ background: var(--lumo-error-color);
197
+ color: var(--lumo-error-contrast-color);
198
+ box-shadow: var(--lumo-box-shadow-l);
199
+ }
200
+
201
+ :host([theme~='error']) {
202
+ --vaadin-button-background: var(--lumo-shade-20pct);
203
+ --vaadin-button-text-color: var(--lumo-error-contrast-color);
204
+ --vaadin-button-primary-background: var(--lumo-error-contrast-color);
205
+ --vaadin-button-primary-text-color: var(--lumo-error-text-color);
206
+ }
207
+
208
+ :host([theme~='warning']) [part='overlay'] {
209
+ background: var(--lumo-warning-color);
210
+ color: var(--lumo-warning-contrast-color);
211
+ box-shadow:
212
+ inset 0 0 0 1px var(--lumo-contrast-20pct),
213
+ var(--lumo-box-shadow-l);
214
+ }
215
+
216
+ :host([theme~='warning']) {
217
+ --vaadin-button-background: var(--lumo-shade-20pct);
218
+ --vaadin-button-text-color: var(--lumo-warning-contrast-color);
219
+ --vaadin-button-primary-background: var(--lumo-shade-50pct);
220
+ --vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);
221
+ }
222
+
223
+ @media (forced-colors: active) {
224
+ [part='overlay'] {
225
+ outline: 3px solid;
226
+ }
227
+ }
228
+ }
@@ -0,0 +1,60 @@
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
+ @media lumo_components_notification-container {
7
+ :host {
8
+ position: fixed;
9
+ inset: 0;
10
+ box-sizing: border-box;
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: stretch;
14
+ pointer-events: none;
15
+
16
+ /* Override native [popover] user agent styles */
17
+ width: auto;
18
+ height: auto;
19
+ border: none;
20
+ padding: 0;
21
+ background-color: transparent;
22
+ overflow: visible;
23
+ }
24
+
25
+ [region-group] {
26
+ flex: 1 1 0%;
27
+ display: flex;
28
+ }
29
+
30
+ [region-group='top'] {
31
+ align-items: flex-start;
32
+ }
33
+
34
+ [region-group='bottom'] {
35
+ align-items: flex-end;
36
+ }
37
+
38
+ [region-group] > [region] {
39
+ flex: 1 1 0%;
40
+ }
41
+
42
+ @media (max-width: 420px) {
43
+ [region-group] {
44
+ flex-direction: column;
45
+ align-items: stretch;
46
+ }
47
+
48
+ [region-group='top'] {
49
+ justify-content: flex-start;
50
+ }
51
+
52
+ [region-group='bottom'] {
53
+ justify-content: flex-end;
54
+ }
55
+
56
+ [region-group] > [region] {
57
+ flex: initial;
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,53 @@
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
+ @media lumo_components_number-field {
7
+ :host([readonly]) [part$='button'] {
8
+ pointer-events: none;
9
+ }
10
+
11
+ :host([step-buttons-visible]:not([theme~='align-right'])) ::slotted(input) {
12
+ text-align: center;
13
+ }
14
+
15
+ :host(:not([disabled])) [part$='button'][disabled] {
16
+ opacity: 0.2;
17
+ }
18
+
19
+ :host([step-buttons-visible]) [part='input-field'] {
20
+ padding: 0;
21
+ }
22
+
23
+ [part~='decrease-button'],
24
+ [part~='increase-button'] {
25
+ cursor: pointer;
26
+ width: 1.5em;
27
+ height: 1.5em;
28
+ -webkit-user-select: none;
29
+ user-select: none;
30
+ }
31
+
32
+ [part~='decrease-button']::before,
33
+ [part~='increase-button']::before {
34
+ margin-top: 0.25em;
35
+ }
36
+
37
+ [part~='decrease-button']::before {
38
+ content: var(--lumo-icons-minus);
39
+ }
40
+
41
+ [part~='increase-button']::before {
42
+ content: var(--lumo-icons-plus);
43
+ }
44
+
45
+ /* RTL specific styles */
46
+ :host([dir='rtl']) [part='input-field'] {
47
+ direction: ltr;
48
+ }
49
+
50
+ :host([dir='rtl']:not([theme~='align-right'])) ::slotted(input) {
51
+ --_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent, #000 1.25em);
52
+ }
53
+ }
@@ -0,0 +1,19 @@
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
+ @media lumo_components_password-field-button {
7
+ :host {
8
+ position: absolute;
9
+ right: 0;
10
+ top: 0;
11
+ margin: 0;
12
+ padding: 0;
13
+ width: 100%;
14
+ height: 100%;
15
+ min-width: auto;
16
+ background: transparent;
17
+ outline: none;
18
+ }
19
+ }
@@ -0,0 +1,24 @@
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
+ @media lumo_components_password-field {
7
+ [part~='reveal-button']::before {
8
+ content: var(--lumo-icons-eye);
9
+ }
10
+
11
+ :host([password-visible]) [part~='reveal-button']::before {
12
+ content: var(--lumo-icons-eye-disabled);
13
+ }
14
+
15
+ /* Make it easy to hide the button across the whole app */
16
+ [part~='reveal-button'] {
17
+ position: relative;
18
+ display: var(--lumo-password-field-reveal-button-display, block);
19
+ }
20
+
21
+ [part~='reveal-button'][hidden] {
22
+ display: none !important;
23
+ }
24
+ }
@@ -0,0 +1,20 @@
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
+ @media lumo_components_popover-overlay {
7
+ :host {
8
+ --_arrow-size: var(--vaadin-popover-arrow-size, 0.75rem);
9
+ --_default-offset: var(--lumo-space-xs);
10
+ }
11
+
12
+ [part='overlay'] {
13
+ overflow: visible;
14
+ border: none;
15
+ }
16
+
17
+ [part='content'] {
18
+ padding: var(--lumo-space-xs) var(--lumo-space-s);
19
+ }
20
+ }