@vaadin/button 23.0.2 → 23.0.5
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/button",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@polymer/polymer": "^3.0.0",
|
|
36
|
-
"@vaadin/component-base": "^23.0.
|
|
37
|
-
"@vaadin/vaadin-lumo-styles": "^23.0.
|
|
38
|
-
"@vaadin/vaadin-material-styles": "^23.0.
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "^23.0.
|
|
36
|
+
"@vaadin/component-base": "^23.0.5",
|
|
37
|
+
"@vaadin/vaadin-lumo-styles": "^23.0.5",
|
|
38
|
+
"@vaadin/vaadin-material-styles": "^23.0.5",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "^23.0.5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@esm-bundle/chai": "^4.3.4",
|
|
43
43
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
44
44
|
"sinon": "^9.2.4"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "4cd2b11eb053d36fba9f0a8128da4e63984753e2"
|
|
47
47
|
}
|
package/src/vaadin-button.js
CHANGED
|
@@ -50,6 +50,20 @@ class Button extends ActiveMixin(TabindexMixin(FocusMixin(ElementMixin(ThemableM
|
|
|
50
50
|
return 'vaadin-button';
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
static get properties() {
|
|
54
|
+
return {
|
|
55
|
+
/**
|
|
56
|
+
* Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
|
|
57
|
+
*
|
|
58
|
+
* @override
|
|
59
|
+
* @protected
|
|
60
|
+
*/
|
|
61
|
+
tabindex: {
|
|
62
|
+
value: 0
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
53
67
|
static get template() {
|
|
54
68
|
return html`
|
|
55
69
|
<style>
|
|
@@ -73,6 +87,7 @@ class Button extends ActiveMixin(TabindexMixin(FocusMixin(ElementMixin(ThemableM
|
|
|
73
87
|
content: '\\2003';
|
|
74
88
|
display: inline-block;
|
|
75
89
|
width: 0;
|
|
90
|
+
max-height: 100%;
|
|
76
91
|
}
|
|
77
92
|
|
|
78
93
|
.vaadin-button-container {
|