@vaadin/checkbox 23.1.0-alpha3 → 23.1.0-beta2

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": "23.1.0-alpha3",
3
+ "version": "23.1.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,16 +34,16 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/component-base": "23.1.0-alpha3",
38
- "@vaadin/field-base": "23.1.0-alpha3",
39
- "@vaadin/vaadin-lumo-styles": "23.1.0-alpha3",
40
- "@vaadin/vaadin-material-styles": "23.1.0-alpha3",
41
- "@vaadin/vaadin-themable-mixin": "23.1.0-alpha3"
37
+ "@vaadin/component-base": "23.1.0-beta2",
38
+ "@vaadin/field-base": "23.1.0-beta2",
39
+ "@vaadin/vaadin-lumo-styles": "23.1.0-beta2",
40
+ "@vaadin/vaadin-material-styles": "23.1.0-beta2",
41
+ "@vaadin/vaadin-themable-mixin": "23.1.0-beta2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@esm-bundle/chai": "^4.3.4",
45
45
  "@vaadin/testing-helpers": "^0.3.2",
46
46
  "sinon": "^13.0.2"
47
47
  },
48
- "gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
48
+ "gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
49
49
  }
@@ -62,7 +62,7 @@ export interface CheckboxEventMap extends HTMLElementEventMap, CheckboxCustomEve
62
62
  * @fires {CustomEvent} indeterminate-changed - Fired when the `indeterminate` property changes.
63
63
  */
64
64
  declare class Checkbox extends LabelMixin(
65
- CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(HTMLElement))))))
65
+ CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(HTMLElement)))))),
66
66
  ) {
67
67
  /**
68
68
  * True if the checkbox is in the indeterminate state which means
@@ -81,13 +81,13 @@ declare class Checkbox extends LabelMixin(
81
81
  addEventListener<K extends keyof CheckboxEventMap>(
82
82
  type: K,
83
83
  listener: (this: Checkbox, ev: CheckboxEventMap[K]) => void,
84
- options?: boolean | AddEventListenerOptions
84
+ options?: boolean | AddEventListenerOptions,
85
85
  ): void;
86
86
 
87
87
  removeEventListener<K extends keyof CheckboxEventMap>(
88
88
  type: K,
89
89
  listener: (this: Checkbox, ev: CheckboxEventMap[K]) => void,
90
- options?: boolean | EventListenerOptions
90
+ options?: boolean | EventListenerOptions,
91
91
  ): void;
92
92
  }
93
93
 
@@ -57,7 +57,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
57
57
  * @mixes LabelMixin
58
58
  */
59
59
  class Checkbox extends LabelMixin(
60
- CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement))))))
60
+ CheckedMixin(DelegateFocusMixin(ActiveMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))))),
61
61
  ) {
62
62
  static get is() {
63
63
  return 'vaadin-checkbox';
@@ -132,7 +132,7 @@ class Checkbox extends LabelMixin(
132
132
  type: Boolean,
133
133
  notify: true,
134
134
  value: false,
135
- reflectToAttribute: true
135
+ reflectToAttribute: true,
136
136
  },
137
137
 
138
138
  /**
@@ -142,8 +142,8 @@ class Checkbox extends LabelMixin(
142
142
  */
143
143
  name: {
144
144
  type: String,
145
- value: ''
146
- }
145
+ value: '',
146
+ },
147
147
  };
148
148
  }
149
149
 
@@ -184,8 +184,8 @@ class Checkbox extends LabelMixin(
184
184
  new SlotTargetController(
185
185
  this.$.noop,
186
186
  () => this._labelController.node,
187
- () => this.__warnDeprecated()
188
- )
187
+ () => this.__warnDeprecated(),
188
+ ),
189
189
  );
190
190
  }
191
191
  }
@@ -194,7 +194,7 @@ class Checkbox extends LabelMixin(
194
194
  __warnDeprecated() {
195
195
  console.warn(
196
196
  `WARNING: Since Vaadin 22, placing the label as a direct child of a <vaadin-checkbox> is deprecated.
197
- Please use <label slot="label"> wrapper or the label property instead.`
197
+ Please use <label slot="label"> wrapper or the label property instead.`,
198
198
  );
199
199
  }
200
200
 
@@ -157,5 +157,5 @@ registerStyles(
157
157
  opacity: 0.4;
158
158
  }
159
159
  `,
160
- { moduleId: 'lumo-checkbox' }
160
+ { moduleId: 'lumo-checkbox' },
161
161
  );
@@ -126,5 +126,5 @@ registerStyles(
126
126
  padding: 3px 6px 3px 12px;
127
127
  }
128
128
  `,
129
- { moduleId: 'material-checkbox' }
129
+ { moduleId: 'material-checkbox' },
130
130
  );