@sepveneto/free-dom 0.13.1 → 0.13.2
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 +1 -1
- package/dist/index.js +8 -4
- package/dist/index.mjs +10 -5
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -42197,7 +42197,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
42197
42197
|
return ctx;
|
|
42198
42198
|
}
|
|
42199
42199
|
};
|
|
42200
|
-
function
|
|
42200
|
+
function watchEffect7(effect, options) {
|
|
42201
42201
|
return doWatch(effect, null, options);
|
|
42202
42202
|
}
|
|
42203
42203
|
function watchPostEffect(effect, options) {
|
|
@@ -44065,7 +44065,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
44065
44065
|
exports.version = version3;
|
|
44066
44066
|
exports.warn = warn$1;
|
|
44067
44067
|
exports.watch = watch8;
|
|
44068
|
-
exports.watchEffect =
|
|
44068
|
+
exports.watchEffect = watchEffect7;
|
|
44069
44069
|
exports.watchPostEffect = watchPostEffect;
|
|
44070
44070
|
exports.watchSyncEffect = watchSyncEffect;
|
|
44071
44071
|
exports.withAsyncContext = withAsyncContext;
|
|
@@ -50166,7 +50166,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
50166
50166
|
return ctx;
|
|
50167
50167
|
}
|
|
50168
50168
|
};
|
|
50169
|
-
function
|
|
50169
|
+
function watchEffect7(effect, options) {
|
|
50170
50170
|
return doWatch(effect, null, options);
|
|
50171
50171
|
}
|
|
50172
50172
|
function watchPostEffect(effect, options) {
|
|
@@ -52570,7 +52570,7 @@ Component that was made reactive: `,
|
|
|
52570
52570
|
exports.version = version3;
|
|
52571
52571
|
exports.warn = warn2;
|
|
52572
52572
|
exports.watch = watch8;
|
|
52573
|
-
exports.watchEffect =
|
|
52573
|
+
exports.watchEffect = watchEffect7;
|
|
52574
52574
|
exports.watchPostEffect = watchPostEffect;
|
|
52575
52575
|
exports.watchSyncEffect = watchSyncEffect;
|
|
52576
52576
|
exports.withAsyncContext = withAsyncContext;
|
|
@@ -58337,6 +58337,10 @@ var FreeDomWrap = (0, import_vue_demi18.defineComponent)({
|
|
|
58337
58337
|
height: height.value + "px",
|
|
58338
58338
|
width: width.value + "px"
|
|
58339
58339
|
}));
|
|
58340
|
+
(0, import_vue_demi18.watchEffect)(() => {
|
|
58341
|
+
width.value = props.width;
|
|
58342
|
+
height.value = props.height;
|
|
58343
|
+
});
|
|
58340
58344
|
(0, import_vue_demi18.watch)([
|
|
58341
58345
|
wrapRect.width,
|
|
58342
58346
|
wrapRect.height,
|
package/dist/index.mjs
CHANGED
|
@@ -42198,7 +42198,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
42198
42198
|
return ctx;
|
|
42199
42199
|
}
|
|
42200
42200
|
};
|
|
42201
|
-
function
|
|
42201
|
+
function watchEffect7(effect, options) {
|
|
42202
42202
|
return doWatch(effect, null, options);
|
|
42203
42203
|
}
|
|
42204
42204
|
function watchPostEffect(effect, options) {
|
|
@@ -44066,7 +44066,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
44066
44066
|
exports.version = version3;
|
|
44067
44067
|
exports.warn = warn$1;
|
|
44068
44068
|
exports.watch = watch8;
|
|
44069
|
-
exports.watchEffect =
|
|
44069
|
+
exports.watchEffect = watchEffect7;
|
|
44070
44070
|
exports.watchPostEffect = watchPostEffect;
|
|
44071
44071
|
exports.watchSyncEffect = watchSyncEffect;
|
|
44072
44072
|
exports.withAsyncContext = withAsyncContext;
|
|
@@ -50167,7 +50167,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
50167
50167
|
return ctx;
|
|
50168
50168
|
}
|
|
50169
50169
|
};
|
|
50170
|
-
function
|
|
50170
|
+
function watchEffect7(effect, options) {
|
|
50171
50171
|
return doWatch(effect, null, options);
|
|
50172
50172
|
}
|
|
50173
50173
|
function watchPostEffect(effect, options) {
|
|
@@ -52571,7 +52571,7 @@ Component that was made reactive: `,
|
|
|
52571
52571
|
exports.version = version3;
|
|
52572
52572
|
exports.warn = warn2;
|
|
52573
52573
|
exports.watch = watch8;
|
|
52574
|
-
exports.watchEffect =
|
|
52574
|
+
exports.watchEffect = watchEffect7;
|
|
52575
52575
|
exports.watchPostEffect = watchPostEffect;
|
|
52576
52576
|
exports.watchSyncEffect = watchSyncEffect;
|
|
52577
52577
|
exports.withAsyncContext = withAsyncContext;
|
|
@@ -56222,7 +56222,8 @@ import {
|
|
|
56222
56222
|
ref as ref13,
|
|
56223
56223
|
shallowRef as shallowRef6,
|
|
56224
56224
|
toRefs as toRefs2,
|
|
56225
|
-
watch as watch6
|
|
56225
|
+
watch as watch6,
|
|
56226
|
+
watchEffect as watchEffect6
|
|
56226
56227
|
} from "vue-demi";
|
|
56227
56228
|
|
|
56228
56229
|
// src/util/tokens.ts
|
|
@@ -58336,6 +58337,10 @@ var FreeDomWrap = defineComponent6({
|
|
|
58336
58337
|
height: height.value + "px",
|
|
58337
58338
|
width: width.value + "px"
|
|
58338
58339
|
}));
|
|
58340
|
+
watchEffect6(() => {
|
|
58341
|
+
width.value = props.width;
|
|
58342
|
+
height.value = props.height;
|
|
58343
|
+
});
|
|
58339
58344
|
watch6([
|
|
58340
58345
|
wrapRect.width,
|
|
58341
58346
|
wrapRect.height,
|