@vaadin/checkbox 24.3.8 → 24.3.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/checkbox",
3
- "version": "24.3.8",
3
+ "version": "24.3.9",
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.3.8",
41
- "@vaadin/component-base": "~24.3.8",
42
- "@vaadin/field-base": "~24.3.8",
43
- "@vaadin/vaadin-lumo-styles": "~24.3.8",
44
- "@vaadin/vaadin-material-styles": "~24.3.8",
45
- "@vaadin/vaadin-themable-mixin": "~24.3.8",
40
+ "@vaadin/a11y-base": "~24.3.9",
41
+ "@vaadin/component-base": "~24.3.9",
42
+ "@vaadin/field-base": "~24.3.9",
43
+ "@vaadin/vaadin-lumo-styles": "~24.3.9",
44
+ "@vaadin/vaadin-material-styles": "~24.3.9",
45
+ "@vaadin/vaadin-themable-mixin": "~24.3.9",
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": "144e479d60d7d52edd4d35aba032c6863c02e878"
57
+ "gitHead": "89f71cc95b22840de910070c145f9cbf9714f4f4"
58
58
  }
@@ -3,13 +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/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,
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": "24.3.8",
4
+ "version": "24.3.9",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/checkbox",
4
- "version": "24.3.8",
4
+ "version": "24.3.9",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {