deja-vue 2.1.0 → 2.1.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.
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, ModelRef, Reactive, Ref, ShallowRef, ShallowUnwrapRef, WatchOptions } from "vue";
|
|
2
2
|
import { NodeRef } from "vue-unwrap";
|
|
3
|
-
import
|
|
3
|
+
import SplitText from "gsap/SplitText";
|
|
4
4
|
|
|
5
5
|
//#region src/core/EventBus.d.ts
|
|
6
6
|
declare class EventBus<E extends string, A extends unknown[] = []> {
|
|
@@ -273,11 +273,11 @@ type __VLS_Slots$2 = {
|
|
|
273
273
|
default(props: DejaVueSplitTextScopeProps): any;
|
|
274
274
|
};
|
|
275
275
|
declare const __VLS_base$2: import("vue").DefineComponent<__VLS_Props, DejaVueSplitTextInstance, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
276
|
-
split: (splitText: SplitText) => any;
|
|
277
276
|
revert: (splitText: SplitText) => any;
|
|
277
|
+
split: (splitText: SplitText) => any;
|
|
278
278
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
279
|
-
onSplit?: ((splitText: SplitText) => any) | undefined;
|
|
280
279
|
onRevert?: ((splitText: SplitText) => any) | undefined;
|
|
280
|
+
onSplit?: ((splitText: SplitText) => any) | undefined;
|
|
281
281
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
282
282
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
283
283
|
declare const _default$1: typeof __VLS_export$2;
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { gsap } from "gsap";
|
|
2
|
-
import
|
|
2
|
+
import ScrollTrigger from "gsap/ScrollTrigger";
|
|
3
3
|
import { computed, createBlock, defineComponent, effectScope, inject, mergeModels, nextTick, onUnmounted, openBlock, provide, reactive, ref, renderSlot, shallowReactive, shallowRef, toRefs, toValue, unref, useAttrs, useModel, watch } from "vue";
|
|
4
4
|
import { getNodeElement, useUnwrap } from "vue-unwrap";
|
|
5
|
-
import
|
|
5
|
+
import SplitText from "gsap/SplitText";
|
|
6
6
|
//#region src/constants.ts
|
|
7
7
|
const ANIMATION_EVENTS = [
|
|
8
8
|
"complete",
|