@vaadin/checkbox 23.2.0 → 23.3.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/package.json +7 -7
- package/src/vaadin-checkbox.js +4 -0
- package/web-types.json +9 -1
- package/web-types.lit.json +15 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/checkbox",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.3.0-alpha1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/component-base": "
|
|
40
|
-
"@vaadin/field-base": "
|
|
41
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
42
|
-
"@vaadin/vaadin-material-styles": "
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
39
|
+
"@vaadin/component-base": "23.3.0-alpha1",
|
|
40
|
+
"@vaadin/field-base": "23.3.0-alpha1",
|
|
41
|
+
"@vaadin/vaadin-lumo-styles": "23.3.0-alpha1",
|
|
42
|
+
"@vaadin/vaadin-material-styles": "23.3.0-alpha1",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "23.3.0-alpha1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"web-types.json",
|
|
52
52
|
"web-types.lit.json"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "beabc527d4b1274eb798ff701d406fed45cfe638"
|
|
55
55
|
}
|
package/src/vaadin-checkbox.js
CHANGED
|
@@ -7,6 +7,7 @@ import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
|
7
7
|
import { ActiveMixin } from '@vaadin/component-base/src/active-mixin.js';
|
|
8
8
|
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
|
|
9
9
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
10
|
+
import { TooltipController } from '@vaadin/component-base/src/tooltip-controller.js';
|
|
10
11
|
import { CheckedMixin } from '@vaadin/field-base/src/checked-mixin.js';
|
|
11
12
|
import { DelegateFocusMixin } from '@vaadin/field-base/src/delegate-focus-mixin.js';
|
|
12
13
|
import { InputController } from '@vaadin/field-base/src/input-controller.js';
|
|
@@ -114,6 +115,7 @@ class Checkbox extends LabelMixin(
|
|
|
114
115
|
<slot id="noop"></slot>
|
|
115
116
|
</div>
|
|
116
117
|
</div>
|
|
118
|
+
<slot name="tooltip"></slot>
|
|
117
119
|
`;
|
|
118
120
|
}
|
|
119
121
|
|
|
@@ -187,6 +189,8 @@ class Checkbox extends LabelMixin(
|
|
|
187
189
|
() => this.__warnDeprecated(),
|
|
188
190
|
),
|
|
189
191
|
);
|
|
192
|
+
this._tooltipController = new TooltipController(this);
|
|
193
|
+
this.addController(this._tooltipController);
|
|
190
194
|
}
|
|
191
195
|
|
|
192
196
|
/** @private */
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/checkbox",
|
|
4
|
-
"version": "23.
|
|
4
|
+
"version": "23.3.0-alpha1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -171,6 +171,14 @@
|
|
|
171
171
|
{
|
|
172
172
|
"name": "indeterminate-changed",
|
|
173
173
|
"description": "Fired when the `indeterminate` property changes."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "value-changed",
|
|
177
|
+
"description": "Fired when the `value` property changes."
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "checked-changed",
|
|
181
|
+
"description": "Fired when the `checked` property changes."
|
|
174
182
|
}
|
|
175
183
|
]
|
|
176
184
|
}
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/checkbox",
|
|
4
|
-
"version": "23.
|
|
4
|
+
"version": "23.3.0-alpha1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -74,6 +74,20 @@
|
|
|
74
74
|
"value": {
|
|
75
75
|
"kind": "expression"
|
|
76
76
|
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "@value-changed",
|
|
80
|
+
"description": "Fired when the `value` property changes.",
|
|
81
|
+
"value": {
|
|
82
|
+
"kind": "expression"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "@checked-changed",
|
|
87
|
+
"description": "Fired when the `checked` property changes.",
|
|
88
|
+
"value": {
|
|
89
|
+
"kind": "expression"
|
|
90
|
+
}
|
|
77
91
|
}
|
|
78
92
|
]
|
|
79
93
|
}
|