@vaadin/checkbox 24.0.0-alpha3 → 24.0.0-alpha4

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.0.0-alpha3",
3
+ "version": "24.0.0-alpha4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,11 +36,11 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "24.0.0-alpha3",
40
- "@vaadin/field-base": "24.0.0-alpha3",
41
- "@vaadin/vaadin-lumo-styles": "24.0.0-alpha3",
42
- "@vaadin/vaadin-material-styles": "24.0.0-alpha3",
43
- "@vaadin/vaadin-themable-mixin": "24.0.0-alpha3"
39
+ "@vaadin/component-base": "24.0.0-alpha4",
40
+ "@vaadin/field-base": "24.0.0-alpha4",
41
+ "@vaadin/vaadin-lumo-styles": "24.0.0-alpha4",
42
+ "@vaadin/vaadin-material-styles": "24.0.0-alpha4",
43
+ "@vaadin/vaadin-themable-mixin": "24.0.0-alpha4"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
@@ -51,5 +51,5 @@
51
51
  "web-types.json",
52
52
  "web-types.lit.json"
53
53
  ],
54
- "gitHead": "7a013a3c5a56abd61dd4f7773c6ec77c3541bdf2"
54
+ "gitHead": "66be46e82c4d0a673859fbc9bdb1581dd89f360c"
55
55
  }
@@ -13,7 +13,6 @@ import { DelegateFocusMixin } from '@vaadin/field-base/src/delegate-focus-mixin.
13
13
  import { InputController } from '@vaadin/field-base/src/input-controller.js';
14
14
  import { LabelMixin } from '@vaadin/field-base/src/label-mixin.js';
15
15
  import { LabelledInputController } from '@vaadin/field-base/src/labelled-input-controller.js';
16
- import { SlotTargetController } from '@vaadin/field-base/src/slot-target-controller.js';
17
16
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
18
17
 
19
18
  /**
@@ -110,10 +109,6 @@ class Checkbox extends LabelMixin(
110
109
  </div>
111
110
 
112
111
  <slot name="label"></slot>
113
-
114
- <div style="display: none !important">
115
- <slot id="noop"></slot>
116
- </div>
117
112
  </div>
118
113
  <slot name="tooltip"></slot>
119
114
  `;
@@ -182,25 +177,10 @@ class Checkbox extends LabelMixin(
182
177
  }),
183
178
  );
184
179
  this.addController(new LabelledInputController(this.inputElement, this._labelController));
185
- this.addController(
186
- new SlotTargetController(
187
- this.$.noop,
188
- () => this._labelController.node,
189
- () => this.__warnDeprecated(),
190
- ),
191
- );
192
180
  this._tooltipController = new TooltipController(this);
193
181
  this.addController(this._tooltipController);
194
182
  }
195
183
 
196
- /** @private */
197
- __warnDeprecated() {
198
- console.warn(
199
- `WARNING: Since Vaadin 22, placing the label as a direct child of a <vaadin-checkbox> is deprecated.
200
- Please use <label slot="label"> wrapper or the label property instead.`,
201
- );
202
- }
203
-
204
184
  /**
205
185
  * Extends the method from `ActiveMixin` in order to
206
186
  * prevent setting the `active` attribute when interacting with a link inside the label.
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.0.0-alpha3",
4
+ "version": "24.0.0-alpha4",
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.0.0-alpha3",
4
+ "version": "24.0.0-alpha4",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {