@vaadin/button 22.0.21 → 22.1.0-alpha1
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/LICENSE +1119 -190
- package/README.md +1 -1
- package/package.json +7 -7
- package/src/vaadin-button.d.ts +7 -2
- package/src/vaadin-button.js +9 -4
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/
|
|
|
58
58
|
|
|
59
59
|
## License
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
This program is available under Vaadin Commercial License and Service Terms. For license terms, see LICENSE.
|
|
62
62
|
|
|
63
63
|
Vaadin collects usage statistics at development time to improve this product.
|
|
64
64
|
For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/button",
|
|
3
|
-
"version": "22.0
|
|
3
|
+
"version": "22.1.0-alpha1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"description": "vaadin-button",
|
|
8
|
-
"license": "
|
|
8
|
+
"license": "https://raw.githubusercontent.com/vaadin/web-components/22.1/LICENSE",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/vaadin/web-components.git",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@polymer/polymer": "^3.0.0",
|
|
35
|
-
"@vaadin/component-base": "
|
|
36
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
37
|
-
"@vaadin/vaadin-material-styles": "
|
|
38
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
35
|
+
"@vaadin/component-base": "22.1.0-alpha1",
|
|
36
|
+
"@vaadin/vaadin-lumo-styles": "22.1.0-alpha1",
|
|
37
|
+
"@vaadin/vaadin-material-styles": "22.1.0-alpha1",
|
|
38
|
+
"@vaadin/vaadin-themable-mixin": "22.1.0-alpha1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@esm-bundle/chai": "^4.3.4",
|
|
42
42
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
43
43
|
"sinon": "^9.2.4"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "e387194c2c3608b7567b43b788b504c3a12194d9"
|
|
46
46
|
}
|
package/src/vaadin-button.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*
|
|
3
|
+
* Copyright (c) 2000 - 2023 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
5
10
|
*/
|
|
6
11
|
import { ActiveMixin } from '@vaadin/component-base/src/active-mixin.js';
|
|
7
12
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
package/src/vaadin-button.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*
|
|
3
|
+
* Copyright (c) 2000 - 2023 Vaadin Ltd.
|
|
4
|
+
*
|
|
5
|
+
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
+
* license.
|
|
5
10
|
*/
|
|
6
11
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
7
12
|
import { ActiveMixin } from '@vaadin/component-base/src/active-mixin.js';
|
|
@@ -117,13 +122,13 @@ class Button extends ActiveMixin(TabindexMixin(FocusMixin(ElementMixin(ThemableM
|
|
|
117
122
|
}
|
|
118
123
|
</style>
|
|
119
124
|
<div class="vaadin-button-container">
|
|
120
|
-
<span part="prefix">
|
|
125
|
+
<span part="prefix" aria-hidden="true">
|
|
121
126
|
<slot name="prefix"></slot>
|
|
122
127
|
</span>
|
|
123
128
|
<span part="label">
|
|
124
129
|
<slot></slot>
|
|
125
130
|
</span>
|
|
126
|
-
<span part="suffix">
|
|
131
|
+
<span part="suffix" aria-hidden="true">
|
|
127
132
|
<slot name="suffix"></slot>
|
|
128
133
|
</span>
|
|
129
134
|
</div>
|