@destyler/checkbox 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.
package/dist/index.cjs CHANGED
@@ -101,7 +101,9 @@ const DestylerCheckboxRoot = vue.defineComponent({
101
101
  "onClick": () => {
102
102
  this.checked = !this.checked;
103
103
  }
104
- }), this.$slots.default?.()), [
104
+ }), {
105
+ default: () => this.$slots.default?.()
106
+ }), [
105
107
  [directives.BindOnceDirective, { id: this.$props.id }]
106
108
  ]),
107
109
  useVShow ? vue.h("input", {
@@ -162,7 +164,9 @@ const DestylerCheckboxIndicator = vue.defineComponent({
162
164
  "style": {
163
165
  pointerEvents: "none"
164
166
  }
165
- }), this.$slots.default?.()));
167
+ }), {
168
+ default: () => this.$slots.default?.()
169
+ }));
166
170
  }
167
171
  });
168
172
 
package/dist/index.mjs CHANGED
@@ -99,7 +99,9 @@ const DestylerCheckboxRoot = defineComponent({
99
99
  "onClick": () => {
100
100
  this.checked = !this.checked;
101
101
  }
102
- }), this.$slots.default?.()), [
102
+ }), {
103
+ default: () => this.$slots.default?.()
104
+ }), [
103
105
  [BindOnceDirective, { id: this.$props.id }]
104
106
  ]),
105
107
  useVShow ? h("input", {
@@ -160,7 +162,9 @@ const DestylerCheckboxIndicator = defineComponent({
160
162
  "style": {
161
163
  pointerEvents: "none"
162
164
  }
163
- }), this.$slots.default?.()));
165
+ }), {
166
+ default: () => this.$slots.default?.()
167
+ }));
164
168
  }
165
169
  });
166
170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@destyler/checkbox",
3
- "version": "0.0.1-beta.11",
3
+ "version": "0.0.1-beta.12",
4
4
  "description": "unstyled checkbox component for vue",
5
5
  "author": "Elone Hoo <elonehoo@gmail.com>",
6
6
  "license": "MIT",
@@ -33,11 +33,11 @@
33
33
  "vue": ">=3.3.4"
34
34
  },
35
35
  "dependencies": {
36
- "@destyler/composition": "0.0.1-beta.11",
37
- "@destyler/directives": "0.0.1-beta.11",
38
- "@destyler/shared": "0.0.1-beta.11",
39
- "@destyler/presence": "0.0.1-beta.11",
40
- "@destyler/primitive": "0.0.1-beta.11"
36
+ "@destyler/composition": "0.0.1-beta.12",
37
+ "@destyler/shared": "0.0.1-beta.12",
38
+ "@destyler/primitive": "0.0.1-beta.12",
39
+ "@destyler/presence": "0.0.1-beta.12",
40
+ "@destyler/directives": "0.0.1-beta.12"
41
41
  },
42
42
  "scripts": {
43
43
  "clear": "rimraf ./dist",