@vaadin/checkbox 24.0.0 → 24.1.0-alpha2
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 +2 -2
- package/package.json +8 -7
- package/src/vaadin-checkbox-mixin.d.ts +5 -5
- package/src/vaadin-checkbox-mixin.js +2 -2
- package/src/vaadin-checkbox.d.ts +2 -2
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ An input field representing a binary choice.
|
|
|
13
13
|
<vaadin-checkbox label="Indeterminate" indeterminate></vaadin-checkbox>
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
[<img src="https://raw.githubusercontent.com/vaadin/web-components/
|
|
16
|
+
[<img src="https://raw.githubusercontent.com/vaadin/web-components/main/packages/checkbox/screenshot.png" width="400" alt="Screenshot of vaadin-checkbox">](https://vaadin.com/docs/latest/components/checkbox)
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
@@ -32,7 +32,7 @@ import '@vaadin/checkbox';
|
|
|
32
32
|
## Themes
|
|
33
33
|
|
|
34
34
|
Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/styling), Lumo and Material.
|
|
35
|
-
The [main entrypoint](https://github.com/vaadin/web-components/blob/
|
|
35
|
+
The [main entrypoint](https://github.com/vaadin/web-components/blob/main/packages/checkbox/vaadin-checkbox.js) of the package uses the Lumo theme.
|
|
36
36
|
|
|
37
37
|
To use the Material theme, import the component from the `theme/material` folder:
|
|
38
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/checkbox",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.1.0-alpha2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,11 +39,12 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
41
41
|
"@polymer/polymer": "^3.0.0",
|
|
42
|
-
"@vaadin/
|
|
43
|
-
"@vaadin/
|
|
44
|
-
"@vaadin/
|
|
45
|
-
"@vaadin/vaadin-
|
|
46
|
-
"@vaadin/vaadin-
|
|
42
|
+
"@vaadin/a11y-base": "24.1.0-alpha2",
|
|
43
|
+
"@vaadin/component-base": "24.1.0-alpha2",
|
|
44
|
+
"@vaadin/field-base": "24.1.0-alpha2",
|
|
45
|
+
"@vaadin/vaadin-lumo-styles": "24.1.0-alpha2",
|
|
46
|
+
"@vaadin/vaadin-material-styles": "24.1.0-alpha2",
|
|
47
|
+
"@vaadin/vaadin-themable-mixin": "24.1.0-alpha2",
|
|
47
48
|
"lit": "^2.0.0"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
@@ -55,5 +56,5 @@
|
|
|
55
56
|
"web-types.json",
|
|
56
57
|
"web-types.lit.json"
|
|
57
58
|
],
|
|
58
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "9e3ee2557109030f2aba59e17a84e4e121d699c0"
|
|
59
60
|
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { Constructor } from '@open-wc/dedupe-mixin';
|
|
7
|
-
import type { ActiveMixinClass } from '@vaadin/
|
|
7
|
+
import type { ActiveMixinClass } from '@vaadin/a11y-base/src/active-mixin.js';
|
|
8
|
+
import type { DelegateFocusMixinClass } from '@vaadin/a11y-base/src/delegate-focus-mixin.js';
|
|
9
|
+
import type { DisabledMixinClass } from '@vaadin/a11y-base/src/disabled-mixin.js';
|
|
10
|
+
import type { FocusMixinClass } from '@vaadin/a11y-base/src/focus-mixin.js';
|
|
11
|
+
import type { KeyboardMixinClass } from '@vaadin/a11y-base/src/keyboard-mixin.js';
|
|
8
12
|
import type { ControllerMixinClass } from '@vaadin/component-base/src/controller-mixin.js';
|
|
9
|
-
import type { DelegateFocusMixinClass } from '@vaadin/component-base/src/delegate-focus-mixin.js';
|
|
10
13
|
import type { DelegateStateMixinClass } from '@vaadin/component-base/src/delegate-state-mixin.js';
|
|
11
|
-
import type { DisabledMixinClass } from '@vaadin/component-base/src/disabled-mixin.js';
|
|
12
|
-
import type { FocusMixinClass } from '@vaadin/component-base/src/focus-mixin.js';
|
|
13
|
-
import type { KeyboardMixinClass } from '@vaadin/component-base/src/keyboard-mixin.js';
|
|
14
14
|
import type { CheckedMixinClass } from '@vaadin/field-base/src/checked-mixin.js';
|
|
15
15
|
import type { InputMixinClass } from '@vaadin/field-base/src/input-mixin.js';
|
|
16
16
|
import type { LabelMixinClass } from '@vaadin/field-base/src/label-mixin.js';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2023 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/
|
|
7
|
-
import { DelegateFocusMixin } from '@vaadin/
|
|
6
|
+
import { ActiveMixin } from '@vaadin/a11y-base/src/active-mixin.js';
|
|
7
|
+
import { DelegateFocusMixin } from '@vaadin/a11y-base/src/delegate-focus-mixin.js';
|
|
8
8
|
import { CheckedMixin } from '@vaadin/field-base/src/checked-mixin.js';
|
|
9
9
|
import { InputController } from '@vaadin/field-base/src/input-controller.js';
|
|
10
10
|
import { LabelMixin } from '@vaadin/field-base/src/label-mixin.js';
|
package/src/vaadin-checkbox.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2023 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/
|
|
6
|
+
import { ActiveMixin } from '@vaadin/a11y-base/src/active-mixin.js';
|
|
7
|
+
import { DelegateFocusMixin } from '@vaadin/a11y-base/src/delegate-focus-mixin.js';
|
|
7
8
|
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
|
|
8
|
-
import { DelegateFocusMixin } from '@vaadin/component-base/src/delegate-focus-mixin.js';
|
|
9
9
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
10
10
|
import { CheckedMixin } from '@vaadin/field-base/src/checked-mixin.js';
|
|
11
11
|
import { LabelMixin } from '@vaadin/field-base/src/label-mixin.js';
|
package/web-types.json
CHANGED