@vaadin/vaadin-lumo-styles 24.6.5 → 24.7.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.
- package/all-imports.js +1 -1
- package/auto-complete.css +32 -36
- package/badge-global.js +1 -1
- package/badge.js +1 -1
- package/color-global.js +1 -1
- package/color.js +1 -1
- package/font-icons.js +1 -1
- package/icons.js +1 -1
- package/mixins/field-button.js +1 -1
- package/mixins/helper.d.ts +1 -1
- package/mixins/helper.js +1 -1
- package/mixins/input-field-shared.d.ts +1 -1
- package/mixins/input-field-shared.js +26 -9
- package/mixins/loader.js +1 -1
- package/mixins/menu-overlay.js +1 -1
- package/mixins/overlay.js +1 -1
- package/mixins/required-field.js +1 -1
- package/package.json +5 -5
- package/presets/compact.js +1 -1
- package/sizing.js +1 -1
- package/spacing.js +1 -1
- package/style.js +1 -1
- package/typography-global.js +1 -1
- package/typography.js +1 -1
- package/user-colors.d.ts +1 -1
- package/user-colors.js +1 -1
- package/utilities/accessibility.js +1 -1
- package/utilities/background.js +1 -1
- package/utilities/border.js +1 -1
- package/utilities/filter.js +1 -1
- package/utilities/flexbox-grid.js +1 -1
- package/utilities/layout.js +1 -1
- package/utilities/shadows.js +1 -1
- package/utilities/sizing.js +1 -1
- package/utilities/spacing.js +1 -1
- package/utilities/transition.js +30 -28
- package/utilities/typography.js +1 -1
- package/utility-global.js +1 -1
- package/utility.js +1 -1
- package/vaadin-iconset.js +1 -1
- package/version.js +1 -1
package/all-imports.js
CHANGED
package/auto-complete.css
CHANGED
|
@@ -2221,43 +2221,39 @@
|
|
|
2221
2221
|
padding-top: var(--lumo-space-xl);
|
|
2222
2222
|
}
|
|
2223
2223
|
|
|
2224
|
-
.transition-none {
|
|
2225
|
-
transition: none;
|
|
2226
|
-
}
|
|
2227
|
-
.transition-all {
|
|
2228
|
-
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
2229
|
-
}
|
|
2230
2224
|
.transition {
|
|
2231
|
-
transition:
|
|
2232
|
-
color,
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
transition:
|
|
2255
|
-
}
|
|
2256
|
-
.transition-
|
|
2257
|
-
transition:
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2225
|
+
transition-property: -webkit-backdrop-filter, backdrop-filter, background-color, border-color, box-shadow, color,
|
|
2226
|
+
fill, filter, opacity, rotate, scale, stroke, text-decoration-color, transform, translate;
|
|
2227
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
2228
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
2229
|
+
}
|
|
2230
|
+
.transition-all {
|
|
2231
|
+
transition-property: all;
|
|
2232
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
2233
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
2234
|
+
}
|
|
2235
|
+
.transition-colors {
|
|
2236
|
+
transition-property: background-color, border-color, color, fill, stroke, text-decoration-color;
|
|
2237
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
2238
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
2239
|
+
}
|
|
2240
|
+
.transition-opacity {
|
|
2241
|
+
transition-property: opacity;
|
|
2242
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
2243
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
2244
|
+
}
|
|
2245
|
+
.transition-shadow {
|
|
2246
|
+
transition-property: box-shadow;
|
|
2247
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
2248
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
2249
|
+
}
|
|
2250
|
+
.transition-transform {
|
|
2251
|
+
transition-property: rotate, scale, transform, translate;
|
|
2252
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
2253
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
2254
|
+
}
|
|
2255
|
+
.transition-none {
|
|
2256
|
+
transition-property: none;
|
|
2261
2257
|
}
|
|
2262
2258
|
|
|
2263
2259
|
/* === Font size === */
|
package/badge-global.js
CHANGED
package/badge.js
CHANGED
package/color-global.js
CHANGED
package/color.js
CHANGED
package/font-icons.js
CHANGED
package/icons.js
CHANGED
package/mixins/field-button.js
CHANGED
package/mixins/helper.d.ts
CHANGED
package/mixins/helper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import '../color.js';
|
|
@@ -47,17 +47,17 @@ const inputField = css`
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* Hover */
|
|
50
|
-
:host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
|
|
50
|
+
:host(:hover:not([readonly]):not([focused]):not([disabled])) [part='input-field']::after {
|
|
51
51
|
opacity: var(--vaadin-input-field-hover-highlight-opacity, 0.1);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* Touch device adjustment */
|
|
55
55
|
@media (pointer: coarse) {
|
|
56
|
-
:host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
|
|
56
|
+
:host(:hover:not([readonly]):not([focused]):not([disabled])) [part='input-field']::after {
|
|
57
57
|
opacity: 0;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
:host(:active:not([readonly]):not([focused])) [part='input-field']::after {
|
|
60
|
+
:host(:active:not([readonly]):not([focused]):not([disabled])) [part='input-field']::after {
|
|
61
61
|
opacity: 0.2;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -68,7 +68,27 @@ const inputField = css`
|
|
|
68
68
|
transition-duration: 0.15s, 1s;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
/*
|
|
71
|
+
/* Opt-in focus-ring when using pointer devices */
|
|
72
|
+
/* This applies a focus-ring as box-shadow when the element is focused, but
|
|
73
|
+
the ring is only visible / has a width when the respective CSS property is
|
|
74
|
+
"enabled" using a value of 1 */
|
|
75
|
+
:host([focused]) [part='input-field'] {
|
|
76
|
+
/* Borders are implemented using box-shadows as well. To avoid overriding
|
|
77
|
+
the border on focus, even if the pointer focus-ring is disabled, we need to:
|
|
78
|
+
- Duplicate the border box shadow for this rule
|
|
79
|
+
- Remove the border (by using width of 0) when the focus-ring is visible,
|
|
80
|
+
which is the same behavior as for the keyboard focus-ring below
|
|
81
|
+
- Apply the border when the focus ring is not visible
|
|
82
|
+
*/
|
|
83
|
+
--_pointer-focus-visible: clamp(0, var(--lumo-input-field-pointer-focus-visible, 0), 1);
|
|
84
|
+
--_conditional-border-width: calc(calc(1 - var(--_pointer-focus-visible)) * var(--_input-border-width));
|
|
85
|
+
--_conditional-focus-ring-width: calc(var(--_pointer-focus-visible) * var(--_focus-ring-width));
|
|
86
|
+
box-shadow:
|
|
87
|
+
inset 0 0 0 var(--_conditional-border-width) var(--_input-border-color),
|
|
88
|
+
0 0 0 var(--_conditional-focus-ring-width) var(--_focus-ring-color);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Focus-ring when using keyboard navigation */
|
|
72
92
|
:host([focus-ring]) [part='input-field'] {
|
|
73
93
|
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
74
94
|
}
|
|
@@ -103,10 +123,7 @@ const inputField = css`
|
|
|
103
123
|
/* Invalid style */
|
|
104
124
|
:host([invalid]) {
|
|
105
125
|
--vaadin-input-field-border-color: var(--lumo-error-color);
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
:host([invalid][focus-ring]) [part='input-field'] {
|
|
109
|
-
box-shadow: 0 0 0 var(--_focus-ring-width) var(--lumo-error-color-50pct);
|
|
126
|
+
--_focus-ring-color: var(--lumo-error-color-50pct);
|
|
110
127
|
}
|
|
111
128
|
|
|
112
129
|
:host([input-prevented]) [part='input-field'] {
|
package/mixins/loader.js
CHANGED
package/mixins/menu-overlay.js
CHANGED
package/mixins/overlay.js
CHANGED
package/mixins/required-field.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/vaadin-lumo-styles",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.7.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@polymer/polymer": "^3.0.0",
|
|
44
|
-
"@vaadin/component-base": "
|
|
45
|
-
"@vaadin/icon": "
|
|
46
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
44
|
+
"@vaadin/component-base": "24.7.0-alpha10",
|
|
45
|
+
"@vaadin/icon": "24.7.0-alpha10",
|
|
46
|
+
"@vaadin/vaadin-themable-mixin": "24.7.0-alpha10"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"gulp": "^4.0.2",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"gulp-sort": "^2.0.0",
|
|
53
53
|
"gulp-svgmin": "^4.1.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c0f8933df2a6a40648d3fb9cfbae6bbf86a8aa90"
|
|
56
56
|
}
|
package/presets/compact.js
CHANGED
package/sizing.js
CHANGED
package/spacing.js
CHANGED
package/style.js
CHANGED
package/typography-global.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css, unsafeCSS } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
package/typography.js
CHANGED
package/user-colors.d.ts
CHANGED
package/user-colors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utilities/background.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utilities/border.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utilities/filter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utilities/layout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utilities/shadows.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utilities/sizing.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utilities/spacing.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utilities/transition.js
CHANGED
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
|
7
7
|
|
|
8
8
|
export const transition = css`
|
|
9
|
-
.transition
|
|
10
|
-
transition:
|
|
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;
|
|
12
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
13
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
11
14
|
}
|
|
15
|
+
|
|
12
16
|
.transition-all {
|
|
13
|
-
transition: all
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
transition:
|
|
17
|
-
color,
|
|
18
|
-
background-color,
|
|
19
|
-
border-color,
|
|
20
|
-
text-decoration-color,
|
|
21
|
-
fill,
|
|
22
|
-
stroke,
|
|
23
|
-
opacity,
|
|
24
|
-
box-shadow,
|
|
25
|
-
transform,
|
|
26
|
-
filter,
|
|
27
|
-
backdrop-filter 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
17
|
+
transition-property: all;
|
|
18
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
19
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
28
20
|
}
|
|
21
|
+
|
|
29
22
|
.transition-colors {
|
|
30
|
-
transition:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
border-color,
|
|
34
|
-
text-decoration-color,
|
|
35
|
-
fill,
|
|
36
|
-
stroke 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
23
|
+
transition-property: background-color, border-color, color, fill, stroke, text-decoration-color;
|
|
24
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
25
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
37
26
|
}
|
|
27
|
+
|
|
38
28
|
.transition-opacity {
|
|
39
|
-
transition: opacity
|
|
29
|
+
transition-property: opacity;
|
|
30
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
31
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
40
32
|
}
|
|
33
|
+
|
|
41
34
|
.transition-shadow {
|
|
42
|
-
transition: box-shadow
|
|
35
|
+
transition-property: box-shadow;
|
|
36
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
37
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
43
38
|
}
|
|
39
|
+
|
|
44
40
|
.transition-transform {
|
|
45
|
-
transition:
|
|
41
|
+
transition-property: rotate, scale, transform, translate;
|
|
42
|
+
transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));
|
|
43
|
+
transition-duration: var(--lumo-utility-transition-duration, 150ms);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.transition-none {
|
|
47
|
+
transition-property: none;
|
|
46
48
|
}
|
|
47
49
|
`;
|
package/utilities/typography.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/utility-global.js
CHANGED
package/utility.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/register-styles.js';
|
package/vaadin-iconset.js
CHANGED
package/version.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|