@vaadin/button 24.1.0-alpha6 → 24.1.0-alpha7
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 +8 -8
- package/src/vaadin-button-base.js +15 -0
- 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/button",
|
|
3
|
-
"version": "24.1.0-
|
|
3
|
+
"version": "24.1.0-alpha7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/a11y-base": "24.1.0-
|
|
42
|
-
"@vaadin/component-base": "24.1.0-
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "24.1.0-
|
|
44
|
-
"@vaadin/vaadin-material-styles": "24.1.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "24.1.0-
|
|
41
|
+
"@vaadin/a11y-base": "24.1.0-alpha7",
|
|
42
|
+
"@vaadin/component-base": "24.1.0-alpha7",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "24.1.0-alpha7",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "24.1.0-alpha7",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "24.1.0-alpha7",
|
|
46
46
|
"lit": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@esm-bundle/chai": "^4.3.4",
|
|
50
|
-
"@vaadin/icon": "24.1.0-
|
|
50
|
+
"@vaadin/icon": "24.1.0-alpha7",
|
|
51
51
|
"@vaadin/testing-helpers": "^0.4.0",
|
|
52
52
|
"sinon": "^13.0.2"
|
|
53
53
|
},
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "6711b6ac7b49e2ddc0990c34de9718b58c2d16b3"
|
|
59
59
|
}
|
|
@@ -50,6 +50,21 @@ export const buttonStyles = css`
|
|
|
50
50
|
overflow: hidden;
|
|
51
51
|
text-overflow: ellipsis;
|
|
52
52
|
}
|
|
53
|
+
|
|
54
|
+
@media (forced-colors: active) {
|
|
55
|
+
:host {
|
|
56
|
+
outline: 1px solid;
|
|
57
|
+
outline-offset: -1px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host([focused]) {
|
|
61
|
+
outline-width: 2px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([disabled]) {
|
|
65
|
+
outline-color: GrayText;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
53
68
|
`;
|
|
54
69
|
|
|
55
70
|
export const buttonTemplate = (html) => html`
|
package/web-types.json
CHANGED