@vaadin/tabs 24.2.3 → 24.3.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/package.json +9 -9
- package/theme/lumo/vaadin-tab-styles.js +9 -5
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/tabs",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.3.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/a11y-base": "
|
|
40
|
-
"@vaadin/component-base": "
|
|
41
|
-
"@vaadin/item": "
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
43
|
-
"@vaadin/vaadin-material-styles": "
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
39
|
+
"@vaadin/a11y-base": "24.3.0-alpha10",
|
|
40
|
+
"@vaadin/component-base": "24.3.0-alpha10",
|
|
41
|
+
"@vaadin/item": "24.3.0-alpha10",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "24.3.0-alpha10",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "24.3.0-alpha10",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "24.3.0-alpha10"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
48
|
-
"@vaadin/testing-helpers": "^0.
|
|
48
|
+
"@vaadin/testing-helpers": "^0.6.0",
|
|
49
49
|
"sinon": "^13.0.2"
|
|
50
50
|
},
|
|
51
51
|
"web-types": [
|
|
52
52
|
"web-types.json",
|
|
53
53
|
"web-types.lit.json"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "0271523d93fe5df0425ff64206886614f3c6f401"
|
|
56
56
|
}
|
|
@@ -31,6 +31,10 @@ registerStyles(
|
|
|
31
31
|
-webkit-user-select: none;
|
|
32
32
|
-moz-user-select: none;
|
|
33
33
|
user-select: none;
|
|
34
|
+
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
35
|
+
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
36
|
+
--_selection-color: var(--vaadin-selection-color, var(--lumo-primary-color));
|
|
37
|
+
--_selection-color-text: var(--vaadin-selection-color-text, var(--lumo-primary-text-color));
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
:host(:not([orientation='vertical'])) {
|
|
@@ -62,12 +66,12 @@ registerStyles(
|
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
:host([selected]) {
|
|
65
|
-
color: var(--
|
|
69
|
+
color: var(--_selection-color-text);
|
|
66
70
|
transition: 0.6s color;
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
:host([active]:not([selected])) {
|
|
70
|
-
color: var(--
|
|
74
|
+
color: var(--_selection-color-text);
|
|
71
75
|
transition-duration: 0.1s;
|
|
72
76
|
}
|
|
73
77
|
|
|
@@ -90,7 +94,7 @@ registerStyles(
|
|
|
90
94
|
|
|
91
95
|
:host([selected])::before,
|
|
92
96
|
:host([selected])::after {
|
|
93
|
-
background-color: var(--
|
|
97
|
+
background-color: var(--_selection-color);
|
|
94
98
|
}
|
|
95
99
|
|
|
96
100
|
:host([orientation='vertical'])::before,
|
|
@@ -105,7 +109,7 @@ registerStyles(
|
|
|
105
109
|
}
|
|
106
110
|
|
|
107
111
|
:host::after {
|
|
108
|
-
box-shadow: 0 0 0 4px var(--
|
|
112
|
+
box-shadow: 0 0 0 4px var(--_selection-color);
|
|
109
113
|
opacity: 0.15;
|
|
110
114
|
transition: 0.15s 0.02s transform, 0.8s 0.17s opacity;
|
|
111
115
|
}
|
|
@@ -198,7 +202,7 @@ registerStyles(
|
|
|
198
202
|
/* Focus-ring */
|
|
199
203
|
|
|
200
204
|
:host([focus-ring]) {
|
|
201
|
-
box-shadow: inset 0 0 0
|
|
205
|
+
box-shadow: inset 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
202
206
|
border-radius: var(--lumo-border-radius-m);
|
|
203
207
|
}
|
|
204
208
|
|
package/web-types.json
CHANGED