@destyler/radio 0.0.1-beta.11 → 0.0.1-beta.12

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.
@@ -101,7 +101,9 @@ const DestylerRadioGroupRoot = vue.defineComponent({
101
101
  "aria-required": this.required,
102
102
  "dir": this.dir,
103
103
  "name": this.name
104
- }, this.$slots.default?.()));
104
+ }, {
105
+ default: () => this.$slots.default?.()
106
+ }));
105
107
  }
106
108
  });
107
109
 
@@ -295,7 +297,9 @@ const DestylerRadioGroupItem = vue.defineComponent({
295
297
  "onFocus": () => {
296
298
  this.handleFocus();
297
299
  }
298
- }), this.$slots.default?.()));
300
+ }), {
301
+ default: () => this.$slots.default?.()
302
+ }));
299
303
  }
300
304
  });
301
305
 
@@ -326,7 +330,9 @@ const DestylerRadioGroupIndicator = vue.defineComponent({
326
330
  "data-disabled": this.itemContext.disabled.value ? "" : void 0,
327
331
  "as": this.$props.as,
328
332
  "asChild": this.$props.asChild
329
- }, this.$slots.default?.()) : null;
333
+ }, {
334
+ default: () => this.$slots.default?.()
335
+ }) : null;
330
336
  }
331
337
  });
332
338
 
@@ -99,7 +99,9 @@ const DestylerRadioGroupRoot = defineComponent({
99
99
  "aria-required": this.required,
100
100
  "dir": this.dir,
101
101
  "name": this.name
102
- }, this.$slots.default?.()));
102
+ }, {
103
+ default: () => this.$slots.default?.()
104
+ }));
103
105
  }
104
106
  });
105
107
 
@@ -293,7 +295,9 @@ const DestylerRadioGroupItem = defineComponent({
293
295
  "onFocus": () => {
294
296
  this.handleFocus();
295
297
  }
296
- }), this.$slots.default?.()));
298
+ }), {
299
+ default: () => this.$slots.default?.()
300
+ }));
297
301
  }
298
302
  });
299
303
 
@@ -324,7 +328,9 @@ const DestylerRadioGroupIndicator = defineComponent({
324
328
  "data-disabled": this.itemContext.disabled.value ? "" : void 0,
325
329
  "as": this.$props.as,
326
330
  "asChild": this.$props.asChild
327
- }, this.$slots.default?.()) : null;
331
+ }, {
332
+ default: () => this.$slots.default?.()
333
+ }) : null;
328
334
  }
329
335
  });
330
336
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@destyler/radio",
3
- "version": "0.0.1-beta.11",
3
+ "version": "0.0.1-beta.12",
4
4
  "description": "unstyled radio component for vue",
5
5
  "author": "Elone Hoo <elonehoo@gmail.com>",
6
6
  "license": "MIT",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@vueuse/core": "^10.7.2",
37
- "@destyler/roving-focus": "0.0.1-beta.11",
38
- "@destyler/composition": "0.0.1-beta.11",
39
- "@destyler/primitive": "0.0.1-beta.11",
40
- "@destyler/directives": "0.0.1-beta.11",
41
- "@destyler/shared": "0.0.1-beta.11"
37
+ "@destyler/composition": "0.0.1-beta.12",
38
+ "@destyler/directives": "0.0.1-beta.12",
39
+ "@destyler/shared": "0.0.1-beta.12",
40
+ "@destyler/primitive": "0.0.1-beta.12",
41
+ "@destyler/roving-focus": "0.0.1-beta.12"
42
42
  },
43
43
  "scripts": {
44
44
  "clear": "rimraf ./dist",