@tb-dev/vue-components 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -166,7 +166,12 @@ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
166
166
  variant: _ctx.variant,
167
167
  style: normalizeStyle(_ctx.style),
168
168
  "button-class": _ctx.buttonClass
169
- }, null, 8, ["label", "size", "variant", "style", "button-class"])
169
+ }, {
170
+ default: withCtx(() => [
171
+ renderSlot(_ctx.$slots, "default")
172
+ ]),
173
+ _: 3
174
+ }, 8, ["label", "size", "variant", "style", "button-class"])
170
175
  ])) : (openBlock(), createBlock(unref(RouterLink), {
171
176
  key: 1,
172
177
  to: { name: _ctx.to }
@@ -178,9 +183,14 @@ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
178
183
  variant: _ctx.variant,
179
184
  style: normalizeStyle(_ctx.style),
180
185
  "button-class": _ctx.buttonClass
181
- }, null, 8, ["label", "size", "variant", "style", "button-class"])
186
+ }, {
187
+ default: withCtx(() => [
188
+ renderSlot(_ctx.$slots, "default")
189
+ ]),
190
+ _: 3
191
+ }, 8, ["label", "size", "variant", "style", "button-class"])
182
192
  ]),
183
- _: 1
193
+ _: 3
184
194
  }, 8, ["to"]));
185
195
  };
186
196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/vue-components",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Vue components",
5
5
  "license": "MIT",
6
6
  "type": "module",