@vaadin/radio-group 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/radio-group",
3
- "version": "24.0.0-alpha3",
3
+ "version": "24.0.0-alpha4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,11 +38,11 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/component-base": "24.0.0-alpha3",
42
- "@vaadin/field-base": "24.0.0-alpha3",
43
- "@vaadin/vaadin-lumo-styles": "24.0.0-alpha3",
44
- "@vaadin/vaadin-material-styles": "24.0.0-alpha3",
45
- "@vaadin/vaadin-themable-mixin": "24.0.0-alpha3"
41
+ "@vaadin/component-base": "24.0.0-alpha4",
42
+ "@vaadin/field-base": "24.0.0-alpha4",
43
+ "@vaadin/vaadin-lumo-styles": "24.0.0-alpha4",
44
+ "@vaadin/vaadin-material-styles": "24.0.0-alpha4",
45
+ "@vaadin/vaadin-themable-mixin": "24.0.0-alpha4"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@esm-bundle/chai": "^4.3.4",
@@ -53,5 +53,5 @@
53
53
  "web-types.json",
54
54
  "web-types.lit.json"
55
55
  ],
56
- "gitHead": "7a013a3c5a56abd61dd4f7773c6ec77c3541bdf2"
56
+ "gitHead": "66be46e82c4d0a673859fbc9bdb1581dd89f360c"
57
57
  }
@@ -12,7 +12,6 @@ import { DelegateFocusMixin } from '@vaadin/field-base/src/delegate-focus-mixin.
12
12
  import { InputController } from '@vaadin/field-base/src/input-controller.js';
13
13
  import { LabelMixin } from '@vaadin/field-base/src/label-mixin.js';
14
14
  import { LabelledInputController } from '@vaadin/field-base/src/labelled-input-controller.js';
15
- import { SlotTargetController } from '@vaadin/field-base/src/slot-target-controller.js';
16
15
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
17
16
 
18
17
  /**
@@ -111,10 +110,6 @@ class RadioButton extends LabelMixin(
111
110
  </div>
112
111
 
113
112
  <slot name="label"></slot>
114
-
115
- <div style="display: none !important">
116
- <slot id="noop"></slot>
117
- </div>
118
113
  </div>
119
114
  `;
120
115
  }
@@ -161,21 +156,6 @@ class RadioButton extends LabelMixin(
161
156
  }),
162
157
  );
163
158
  this.addController(new LabelledInputController(this.inputElement, this._labelController));
164
- this.addController(
165
- new SlotTargetController(
166
- this.$.noop,
167
- () => this._labelController.node,
168
- () => this.__warnDeprecated(),
169
- ),
170
- );
171
- }
172
-
173
- /** @private */
174
- __warnDeprecated() {
175
- console.warn(
176
- `WARNING: Since Vaadin 22, placing the label as a direct child of a <vaadin-radio-button> is deprecated.
177
- Please use <label slot="label"> wrapper or the label property instead.`,
178
- );
179
159
  }
180
160
  }
181
161
 
@@ -227,7 +227,7 @@ class RadioGroup extends FieldMixin(
227
227
  * @private
228
228
  */
229
229
  get isHorizontalRTL() {
230
- return this.getAttribute('dir') === 'rtl' && this._theme !== 'vertical';
230
+ return this.__isRTL && this._theme !== 'vertical';
231
231
  }
232
232
 
233
233
  /**
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/radio-group",
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/radio-group",
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": {