@vaadin/button 25.3.0-alpha7 → 25.3.0-alpha9
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/custom-elements.json +7 -0
- package/package.json +11 -11
- package/src/vaadin-button.js +1 -0
- package/web-types.json +2 -4
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -115,6 +115,13 @@
|
|
|
115
115
|
},
|
|
116
116
|
"description": "When disabled, the button is rendered as \"dimmed\".\n\nBy default, disabled buttons are not focusable and don't react to hover.\nAs a result, they are hidden from assistive technologies, and it's not\npossible to show a tooltip to explain why they are disabled. This can\nbe addressed by enabling the feature flag `accessibleDisabledButtons`,\nwhich makes disabled buttons focusable and hoverable, while still\npreventing them from being activated:\n\n```js\n// Set before any button is attached to the DOM.\nwindow.Vaadin.featureFlags.accessibleDisabledButtons = true\n```",
|
|
117
117
|
"fieldName": "disabled"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": {
|
|
121
|
+
"text": "string"
|
|
122
|
+
},
|
|
123
|
+
"description": "The theme variants to apply to the component.",
|
|
124
|
+
"name": "theme"
|
|
118
125
|
}
|
|
119
126
|
],
|
|
120
127
|
"mixins": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/button",
|
|
3
|
-
"version": "25.3.0-
|
|
3
|
+
"version": "25.3.0-alpha9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "25.3.0-
|
|
39
|
-
"@vaadin/component-base": "25.3.0-
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "25.3.0-
|
|
38
|
+
"@vaadin/a11y-base": "25.3.0-alpha9",
|
|
39
|
+
"@vaadin/component-base": "25.3.0-alpha9",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "25.3.0-alpha9",
|
|
41
41
|
"lit": "^3.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@vaadin/aura": "25.3.0-
|
|
45
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
46
|
-
"@vaadin/icon": "25.3.0-
|
|
47
|
-
"@vaadin/icons": "25.3.0-
|
|
48
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
44
|
+
"@vaadin/aura": "25.3.0-alpha9",
|
|
45
|
+
"@vaadin/chai-plugins": "25.3.0-alpha9",
|
|
46
|
+
"@vaadin/icon": "25.3.0-alpha9",
|
|
47
|
+
"@vaadin/icons": "25.3.0-alpha9",
|
|
48
|
+
"@vaadin/test-runner-commands": "25.3.0-alpha9",
|
|
49
49
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
50
|
-
"@vaadin/vaadin-lumo-styles": "25.3.0-
|
|
50
|
+
"@vaadin/vaadin-lumo-styles": "25.3.0-alpha9",
|
|
51
51
|
"sinon": "^22.0.0"
|
|
52
52
|
},
|
|
53
53
|
"customElements": "custom-elements.json",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "cb915ebde095ec5b94a87af93dd4530f51984c52"
|
|
59
59
|
}
|
package/src/vaadin-button.js
CHANGED
|
@@ -60,6 +60,7 @@ import { ButtonMixin } from './vaadin-button-mixin.js';
|
|
|
60
60
|
*
|
|
61
61
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
62
62
|
*
|
|
63
|
+
* @attr {string} theme - The theme variants to apply to the component.
|
|
63
64
|
* @customElement vaadin-button
|
|
64
65
|
* @extends HTMLElement
|
|
65
66
|
*/
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/button",
|
|
4
|
-
"version": "25.3.0-
|
|
4
|
+
"version": "25.3.0-alpha9",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -24,9 +24,7 @@
|
|
|
24
24
|
"description": "The theme variants to apply to the component.",
|
|
25
25
|
"value": {
|
|
26
26
|
"type": [
|
|
27
|
-
"string"
|
|
28
|
-
"null",
|
|
29
|
-
"undefined"
|
|
27
|
+
"string"
|
|
30
28
|
]
|
|
31
29
|
}
|
|
32
30
|
}
|