Skip to content
This repository was archived by the owner on Jun 21, 2025. It is now read-only.

Commit 54c3642

Browse files
author
=
committed
chore: delete the export of Mask
1 parent bce6e37 commit 54c3642

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/lib/src/widgets/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export type { TextOptions, TextIns } from "./text.vue";
2121
export { default as TextUnit } from "./text-unit.vue";
2222
export { default as Image } from "./image.vue";
2323
export type { ImageOptions } from "./image.vue";
24-
export { default as Mask } from "./mask.vue";
25-
export type { MaskOptions } from "./mask.vue";
24+
// export { default as Mask } from "./mask.vue";
25+
// export type { MaskOptions } from "./mask.vue";
2626
export { default as Path } from "./path.vue";
2727
export type { PathOptions, PathIns } from "./path.vue";
2828
export { default as WebView } from "./webview.vue";

packages/lib/src/widgets/mask.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script setup lang="ts">
1+
<!-- <script setup lang="ts">
22
import { defineProps } from "vue";
33
import { defineWidget } from "@vue-motion/core";
44
import { type WidgetOptions, widget } from "./widget";
@@ -27,4 +27,4 @@ const id = props.wid || `mask-${Math.random().toString(36).substring(2, 9)}`;
2727
<g v-bind="widget(options)" :mask="`url(#${id})`">
2828
<slot name="target" />
2929
</g>
30-
</template>
30+
</template> -->

0 commit comments

Comments
 (0)