@dao-style/core 0.3.0 → 0.3.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.
@@ -8247,12 +8247,13 @@ const _sfc_main$2 = defineComponent({
8247
8247
  if (key === "default") {
8248
8248
  return [
8249
8249
  key,
8250
- (...args) => [
8251
- iconTemp.value,
8252
- h("span", {}, {
8253
- default: () => newSlot.call(null, ...args)
8254
- })
8255
- ]
8250
+ (...args) => {
8251
+ const defaultSlot = newSlot.call(null, ...args);
8252
+ return [
8253
+ iconTemp.value,
8254
+ defaultSlot ? h("span", { class: "dao-text-button__slot" }, { default: () => defaultSlot }) : ""
8255
+ ];
8256
+ }
8256
8257
  ];
8257
8258
  }
8258
8259
  return [key, newSlot];