@vaadin/checkbox 24.4.0-alpha16 → 24.4.0-alpha18
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/README.md +0 -1
- package/package.json +8 -8
- package/src/vaadin-checkbox.d.ts +2 -22
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,6 @@ An input field representing a binary choice.
|
|
|
5
5
|
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/checkbox)
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@vaadin/checkbox)
|
|
8
|
-
[](https://discord.gg/PHmkCKC)
|
|
9
8
|
|
|
10
9
|
```html
|
|
11
10
|
<vaadin-checkbox label="Checked" checked></vaadin-checkbox>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/checkbox",
|
|
3
|
-
"version": "24.4.0-
|
|
3
|
+
"version": "24.4.0-alpha18",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/a11y-base": "24.4.0-
|
|
41
|
-
"@vaadin/component-base": "24.4.0-
|
|
42
|
-
"@vaadin/field-base": "24.4.0-
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "24.4.0-
|
|
44
|
-
"@vaadin/vaadin-material-styles": "24.4.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "24.4.0-
|
|
40
|
+
"@vaadin/a11y-base": "24.4.0-alpha18",
|
|
41
|
+
"@vaadin/component-base": "24.4.0-alpha18",
|
|
42
|
+
"@vaadin/field-base": "24.4.0-alpha18",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha18",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "24.4.0-alpha18",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha18",
|
|
46
46
|
"lit": "^3.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "7d675c61eaa32ef50c07de7b2fea19ff437b6b90"
|
|
58
58
|
}
|
package/src/vaadin-checkbox.d.ts
CHANGED
|
@@ -3,13 +3,9 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import { ActiveMixin } from '@vaadin/a11y-base/src/active-mixin.js';
|
|
7
|
-
import { DelegateFocusMixin } from '@vaadin/a11y-base/src/delegate-focus-mixin.js';
|
|
8
|
-
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
|
|
9
6
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
10
|
-
import { CheckedMixin } from '@vaadin/field-base/src/checked-mixin.js';
|
|
11
|
-
import { LabelMixin } from '@vaadin/field-base/src/label-mixin.js';
|
|
12
7
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
8
|
+
import { CheckboxMixin } from './vaadin-checkbox-mixin.js';
|
|
13
9
|
|
|
14
10
|
/**
|
|
15
11
|
* Fired when the checkbox is checked or unchecked by the user.
|
|
@@ -71,23 +67,7 @@ export interface CheckboxEventMap extends HTMLElementEventMap, CheckboxCustomEve
|
|
|
71
67
|
* @fires {CustomEvent} checked-changed - Fired when the `checked` property changes.
|
|
72
68
|
* @fires {CustomEvent} indeterminate-changed - Fired when the `indeterminate` property changes.
|
|
73
69
|
*/
|
|
74
|
-
declare class Checkbox extends
|
|
75
|
-
CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(HTMLElement)))))),
|
|
76
|
-
) {
|
|
77
|
-
/**
|
|
78
|
-
* True if the checkbox is in the indeterminate state which means
|
|
79
|
-
* it is not possible to say whether it is checked or unchecked.
|
|
80
|
-
* The state is reset once the user switches the checkbox by hand.
|
|
81
|
-
*
|
|
82
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#Indeterminate_state_checkboxes
|
|
83
|
-
*/
|
|
84
|
-
indeterminate: boolean;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* The name of the checkbox.
|
|
88
|
-
*/
|
|
89
|
-
name: string;
|
|
90
|
-
|
|
70
|
+
declare class Checkbox extends CheckboxMixin(ElementMixin(ThemableMixin(HTMLElement))) {
|
|
91
71
|
addEventListener<K extends keyof CheckboxEventMap>(
|
|
92
72
|
type: K,
|
|
93
73
|
listener: (this: Checkbox, ev: CheckboxEventMap[K]) => void,
|
package/web-types.json
CHANGED