@vaadin/checkbox 24.4.0-dev.223e39f050 → 24.4.0-dev.4b20a0c55

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 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
  [![npm version](https://badgen.net/npm/v/@vaadin/checkbox)](https://www.npmjs.com/package/@vaadin/checkbox)
8
- [![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](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-dev.223e39f050",
3
+ "version": "24.4.0-dev.4b20a0c55",
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-dev.223e39f050",
41
- "@vaadin/component-base": "24.4.0-dev.223e39f050",
42
- "@vaadin/field-base": "24.4.0-dev.223e39f050",
43
- "@vaadin/vaadin-lumo-styles": "24.4.0-dev.223e39f050",
44
- "@vaadin/vaadin-material-styles": "24.4.0-dev.223e39f050",
45
- "@vaadin/vaadin-themable-mixin": "24.4.0-dev.223e39f050",
40
+ "@vaadin/a11y-base": "24.4.0-dev.4b20a0c55",
41
+ "@vaadin/component-base": "24.4.0-dev.4b20a0c55",
42
+ "@vaadin/field-base": "24.4.0-dev.4b20a0c55",
43
+ "@vaadin/vaadin-lumo-styles": "24.4.0-dev.4b20a0c55",
44
+ "@vaadin/vaadin-material-styles": "24.4.0-dev.4b20a0c55",
45
+ "@vaadin/vaadin-themable-mixin": "24.4.0-dev.4b20a0c55",
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": "5e2e3bfc811c95aed9354235fab93fdbf43eb354"
57
+ "gitHead": "b79c81e5f6fd24684b34ee0dc434e94d943ea13e"
58
58
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
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';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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
6
  import { ActiveMixin } from '@vaadin/a11y-base/src/active-mixin.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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
6
  import type { CSSResult } from 'lit';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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
6
  import { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -1,15 +1,11 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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 LabelMixin(
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,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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
6
  export * from './vaadin-checkbox.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
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
6
  import { html, LitElement } from 'lit';
@@ -17,7 +17,7 @@ import { checkboxStyles } from './vaadin-checkbox-styles.js';
17
17
  *
18
18
  * ## Disclaimer
19
19
  *
20
- * This component is an experiment not intended for publishing to npm.
20
+ * This component is an experiment and not yet a part of Vaadin platform.
21
21
  * There is no ETA regarding specific Vaadin version where it'll land.
22
22
  * Feel free to try this code in your apps as per Apache 2.0 license.
23
23
  */