@sepveneto/free-dom 0.14.7 → 0.14.8

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.css CHANGED
@@ -1,4 +1,4 @@
1
- /* ../../../../../../../tmp/tmp-2133-T0AenKjEjAyH/core/src/style/index.css */
1
+ /* ../../../../../../../tmp/tmp-2248-F9lPAlsF34TI/core/src/style/index.css */
2
2
  :root {
3
3
  --vv-free-dom--theme: rgb(64, 137, 239);
4
4
  --vv-free-dom--line: var(--vv-free-dom--theme);
package/dist/index.js CHANGED
@@ -18852,7 +18852,13 @@ function createRender(comp, attrs = {}, props = {}, listeners = {}) {
18852
18852
  return (slots) => {
18853
18853
  if (import_vue_demi.isVue2) {
18854
18854
  if (Object.prototype.toString.call(slots) === "[object Object]") {
18855
- return (0, import_vue_demi.h)(comp, { ...options, scopedSlots: slots });
18855
+ let children = [];
18856
+ if ("default" in slots) {
18857
+ children = slots.default();
18858
+ } else {
18859
+ children = [slots];
18860
+ }
18861
+ return (0, import_vue_demi.h)(comp, options, children);
18856
18862
  } else {
18857
18863
  return (0, import_vue_demi.h)(comp, options, Array.isArray(slots) ? slots : [slots]);
18858
18864
  }
package/dist/index.mjs CHANGED
@@ -18857,7 +18857,13 @@ function createRender(comp, attrs = {}, props = {}, listeners = {}) {
18857
18857
  return (slots) => {
18858
18858
  if (isVue2) {
18859
18859
  if (Object.prototype.toString.call(slots) === "[object Object]") {
18860
- return h(comp, { ...options, scopedSlots: slots });
18860
+ let children = [];
18861
+ if ("default" in slots) {
18862
+ children = slots.default();
18863
+ } else {
18864
+ children = [slots];
18865
+ }
18866
+ return h(comp, options, children);
18861
18867
  } else {
18862
18868
  return h(comp, options, Array.isArray(slots) ? slots : [slots]);
18863
18869
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sepveneto/free-dom",
3
- "version": "0.14.7",
3
+ "version": "0.14.8",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",