nativebits-animated-text 0.0.0-stage → 0.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/LICENSE +17 -0
- package/README.md +564 -2
- package/docs/android-demo.gif +0 -0
- package/lib/commonjs/index.js +146 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/text/BlurText.js +146 -0
- package/lib/commonjs/text/BlurText.js.map +1 -0
- package/lib/commonjs/text/BounceText.js +83 -0
- package/lib/commonjs/text/BounceText.js.map +1 -0
- package/lib/commonjs/text/CountUpText.js +77 -0
- package/lib/commonjs/text/CountUpText.js.map +1 -0
- package/lib/commonjs/text/ElasticText.js +85 -0
- package/lib/commonjs/text/ElasticText.js.map +1 -0
- package/lib/commonjs/text/ExplosionText.js +191 -0
- package/lib/commonjs/text/ExplosionText.js.map +1 -0
- package/lib/commonjs/text/FlipText.js +101 -0
- package/lib/commonjs/text/FlipText.js.map +1 -0
- package/lib/commonjs/text/GlitchText.js +329 -0
- package/lib/commonjs/text/GlitchText.js.map +1 -0
- package/lib/commonjs/text/GradientText.js +73 -0
- package/lib/commonjs/text/GradientText.js.map +1 -0
- package/lib/commonjs/text/MorphText.js +192 -0
- package/lib/commonjs/text/MorphText.js.map +1 -0
- package/lib/commonjs/text/NeonText.js +134 -0
- package/lib/commonjs/text/NeonText.js.map +1 -0
- package/lib/commonjs/text/ParticleText.js +328 -0
- package/lib/commonjs/text/ParticleText.js.map +1 -0
- package/lib/commonjs/text/RevealText.js +142 -0
- package/lib/commonjs/text/RevealText.js.map +1 -0
- package/lib/commonjs/text/RotateText.js +99 -0
- package/lib/commonjs/text/RotateText.js.map +1 -0
- package/lib/commonjs/text/ScrambleText.js +82 -0
- package/lib/commonjs/text/ScrambleText.js.map +1 -0
- package/lib/commonjs/text/ShinyText.js +87 -0
- package/lib/commonjs/text/ShinyText.js.map +1 -0
- package/lib/commonjs/text/SplitText.js +81 -0
- package/lib/commonjs/text/SplitText.js.map +1 -0
- package/lib/commonjs/text/TextWave.js +130 -0
- package/lib/commonjs/text/TextWave.js.map +1 -0
- package/lib/commonjs/text/ThreeDText.js +145 -0
- package/lib/commonjs/text/ThreeDText.js.map +1 -0
- package/lib/commonjs/text/TypewriterText.js +119 -0
- package/lib/commonjs/text/TypewriterText.js.map +1 -0
- package/lib/commonjs/text/WaveText.js +79 -0
- package/lib/commonjs/text/WaveText.js.map +1 -0
- package/lib/module/index.js +23 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/text/BlurText.js +139 -0
- package/lib/module/text/BlurText.js.map +1 -0
- package/lib/module/text/BounceText.js +77 -0
- package/lib/module/text/BounceText.js.map +1 -0
- package/lib/module/text/CountUpText.js +70 -0
- package/lib/module/text/CountUpText.js.map +1 -0
- package/lib/module/text/ElasticText.js +78 -0
- package/lib/module/text/ElasticText.js.map +1 -0
- package/lib/module/text/ExplosionText.js +184 -0
- package/lib/module/text/ExplosionText.js.map +1 -0
- package/lib/module/text/FlipText.js +94 -0
- package/lib/module/text/FlipText.js.map +1 -0
- package/lib/module/text/GlitchText.js +322 -0
- package/lib/module/text/GlitchText.js.map +1 -0
- package/lib/module/text/GradientText.js +66 -0
- package/lib/module/text/GradientText.js.map +1 -0
- package/lib/module/text/MorphText.js +185 -0
- package/lib/module/text/MorphText.js.map +1 -0
- package/lib/module/text/NeonText.js +127 -0
- package/lib/module/text/NeonText.js.map +1 -0
- package/lib/module/text/ParticleText.js +321 -0
- package/lib/module/text/ParticleText.js.map +1 -0
- package/lib/module/text/RevealText.js +135 -0
- package/lib/module/text/RevealText.js.map +1 -0
- package/lib/module/text/RotateText.js +93 -0
- package/lib/module/text/RotateText.js.map +1 -0
- package/lib/module/text/ScrambleText.js +76 -0
- package/lib/module/text/ScrambleText.js.map +1 -0
- package/lib/module/text/ShinyText.js +80 -0
- package/lib/module/text/ShinyText.js.map +1 -0
- package/lib/module/text/SplitText.js +74 -0
- package/lib/module/text/SplitText.js.map +1 -0
- package/lib/module/text/TextWave.js +123 -0
- package/lib/module/text/TextWave.js.map +1 -0
- package/lib/module/text/ThreeDText.js +138 -0
- package/lib/module/text/ThreeDText.js.map +1 -0
- package/lib/module/text/TypewriterText.js +113 -0
- package/lib/module/text/TypewriterText.js.map +1 -0
- package/lib/module/text/WaveText.js +72 -0
- package/lib/module/text/WaveText.js.map +1 -0
- package/lib/typescript/index.d.ts +41 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/text/BlurText.d.ts +16 -0
- package/lib/typescript/text/BlurText.d.ts.map +1 -0
- package/lib/typescript/text/BounceText.d.ts +15 -0
- package/lib/typescript/text/BounceText.d.ts.map +1 -0
- package/lib/typescript/text/CountUpText.d.ts +20 -0
- package/lib/typescript/text/CountUpText.d.ts.map +1 -0
- package/lib/typescript/text/ElasticText.d.ts +17 -0
- package/lib/typescript/text/ElasticText.d.ts.map +1 -0
- package/lib/typescript/text/ExplosionText.d.ts +23 -0
- package/lib/typescript/text/ExplosionText.d.ts.map +1 -0
- package/lib/typescript/text/FlipText.d.ts +17 -0
- package/lib/typescript/text/FlipText.d.ts.map +1 -0
- package/lib/typescript/text/GlitchText.d.ts +19 -0
- package/lib/typescript/text/GlitchText.d.ts.map +1 -0
- package/lib/typescript/text/GradientText.d.ts +12 -0
- package/lib/typescript/text/GradientText.d.ts.map +1 -0
- package/lib/typescript/text/MorphText.d.ts +18 -0
- package/lib/typescript/text/MorphText.d.ts.map +1 -0
- package/lib/typescript/text/NeonText.d.ts +16 -0
- package/lib/typescript/text/NeonText.d.ts.map +1 -0
- package/lib/typescript/text/ParticleText.d.ts +23 -0
- package/lib/typescript/text/ParticleText.d.ts.map +1 -0
- package/lib/typescript/text/RevealText.d.ts +19 -0
- package/lib/typescript/text/RevealText.d.ts.map +1 -0
- package/lib/typescript/text/RotateText.d.ts +17 -0
- package/lib/typescript/text/RotateText.d.ts.map +1 -0
- package/lib/typescript/text/ScrambleText.d.ts +14 -0
- package/lib/typescript/text/ScrambleText.d.ts.map +1 -0
- package/lib/typescript/text/ShinyText.d.ts +15 -0
- package/lib/typescript/text/ShinyText.d.ts.map +1 -0
- package/lib/typescript/text/SplitText.d.ts +28 -0
- package/lib/typescript/text/SplitText.d.ts.map +1 -0
- package/lib/typescript/text/TextWave.d.ts +15 -0
- package/lib/typescript/text/TextWave.d.ts.map +1 -0
- package/lib/typescript/text/ThreeDText.d.ts +24 -0
- package/lib/typescript/text/ThreeDText.d.ts.map +1 -0
- package/lib/typescript/text/TypewriterText.d.ts +21 -0
- package/lib/typescript/text/TypewriterText.d.ts.map +1 -0
- package/lib/typescript/text/WaveText.d.ts +14 -0
- package/lib/typescript/text/WaveText.d.ts.map +1 -0
- package/package.json +48 -4
- package/src/index.ts +45 -0
- package/src/text/BlurText.tsx +243 -0
- package/src/text/BounceText.tsx +158 -0
- package/src/text/CountUpText.tsx +153 -0
- package/src/text/ElasticText.tsx +143 -0
- package/src/text/ExplosionText.tsx +242 -0
- package/src/text/FlipText.tsx +161 -0
- package/src/text/GlitchText.tsx +525 -0
- package/src/text/GradientText.tsx +118 -0
- package/src/text/MorphText.tsx +305 -0
- package/src/text/NeonText.tsx +205 -0
- package/src/text/ParticleText.tsx +489 -0
- package/src/text/RevealText.tsx +255 -0
- package/src/text/RotateText.tsx +179 -0
- package/src/text/ScrambleText.tsx +137 -0
- package/src/text/ShinyText.tsx +163 -0
- package/src/text/SplitText.tsx +122 -0
- package/src/text/TextWave.tsx +223 -0
- package/src/text/ThreeDText.tsx +268 -0
- package/src/text/TypewriterText.tsx +189 -0
- package/src/text/WaveText.tsx +132 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","View","Animated","cancelAnimation","Easing","useAnimatedStyle","useSharedValue","withDelay","withRepeat","withTiming","jsx","_jsx","AnimatedCharacter","character","index","duration","stagger","amplitude","loop","style","characterStyle","progress","animation","easing","inOut","sin","value","animatedStyle","translateY","Math","PI","transform","Text","children","WaveText","text","containerStyle","characters","Array","from","accessible","accessibilityRole","accessibilityLabel","flexDirection","flexWrap","map"],"sourceRoot":"..\\..\\..\\src","sources":["text/WaveText.tsx"],"mappings":";;AACA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SACEC,IAAI,QAGC,cAAc;AAErB,OAAOC,QAAQ,IACbC,eAAe,EACfC,MAAM,EACNC,gBAAgB,EAChBC,cAAc,EACdC,SAAS,EACTC,UAAU,EACVC,UAAU,QACL,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAwBjC,MAAMC,iBAAiB,GAAGA,CAAC;EACzBC,SAAS;EACTC,KAAK;EACLC,QAAQ;EACRC,OAAO;EACPC,SAAS;EACTC,IAAI;EACJC,KAAK;EACLC;AACsB,CAAC,KAAK;EAC5B,MAAMC,QAAQ,GAAGf,cAAc,CAAC,CAAC,CAAC;EAEpCN,SAAS,CAAC,MAAM;IACd,MAAMsB,SAAS,GAAGb,UAAU,CAC1B,CAAC,EACD;MACEM,QAAQ;MACRQ,MAAM,EAAEnB,MAAM,CAACoB,KAAK,CAACpB,MAAM,CAACqB,GAAG;IACjC,CACF,CAAC;IAEDJ,QAAQ,CAACK,KAAK,GAAGnB,SAAS,CACxBO,KAAK,GAAGE,OAAO,EACfE,IAAI,GACAV,UAAU,CAACc,SAAS,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,GAC/BA,SACN,CAAC;IAED,OAAO,MAAM;MACXnB,eAAe,CAACkB,QAAQ,CAAC;IAC3B,CAAC;EACH,CAAC,EAAE,CAACN,QAAQ,EAAED,KAAK,EAAEE,OAAO,EAAEE,IAAI,CAAC,CAAC;EAEpC,MAAMS,aAAa,GAAGtB,gBAAgB,CAAC,MAAM;IAC3C,MAAMuB,UAAU,GACd,CAACC,IAAI,CAACJ,GAAG,CAACJ,QAAQ,CAACK,KAAK,GAAGG,IAAI,CAACC,EAAE,CAAC,GAAGb,SAAS;IAEjD,OAAO;MACLc,SAAS,EAAE,CAAC;QAAEH;MAAW,CAAC;IAC5B,CAAC;EACH,CAAC,CAAC;EAEA,oBACEjB,IAAA,CAACT,QAAQ,CAAC8B,IAAI;IACZb,KAAK,EAAE,CAACA,KAAK,EAAEC,cAAc,EAAEO,aAAa,CAAE;IAAAM,QAAA,EAE7CpB,SAAS,KAAK,GAAG,GAAG,QAAQ,GAAGA;EAAS,CAC5B,CAAC;AAEpB,CAAC;AAED,OAAO,MAAMqB,QAAQ,GAAGA,CAAC;EACvBC,IAAI;EACJpB,QAAQ,GAAG,GAAG;EACdC,OAAO,GAAG,EAAE;EACZC,SAAS,GAAG,EAAE;EACdE,KAAK;EACLC,cAAc;EACdgB,cAAc;EACdlB,IAAI,GAAG;AACM,CAAC,KAAK;EACnB,MAAMmB,UAAU,GAAGC,KAAK,CAACC,IAAI,CAACJ,IAAI,CAAC;EAEnC,oBACExB,IAAA,CAACV,IAAI;IACHuC,UAAU;IACVC,iBAAiB,EAAC,MAAM;IACxBC,kBAAkB,EAAEP,IAAK;IACzBhB,KAAK,EAAE,CACL;MACEwB,aAAa,EAAE,KAAK;MACpBC,QAAQ,EAAE;IACZ,CAAC,EACDR,cAAc,CACd;IAAAH,QAAA,EAEDI,UAAU,CAACQ,GAAG,CAAC,CAAChC,SAAS,EAAEC,KAAK,kBAC/BH,IAAA,CAACC,iBAAiB;MAEhBC,SAAS,EAAEA,SAAU;MACrBC,KAAK,EAAEA,KAAM;MACbC,QAAQ,EAAEA,QAAS;MACnBC,OAAO,EAAEA,OAAQ;MACjBC,SAAS,EAAEA,SAAU;MACrBC,IAAI,EAAEA,IAAK;MACXC,KAAK,EAAEA,KAAM;MACbC,cAAc,EAAEA;IAAe,GAR1B,GAAGN,KAAK,IAAID,SAAS,EAS3B,CACF;EAAC,CACE,CAAC;AAEX,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export { SplitText } from './text/SplitText';
|
|
2
|
+
export { WaveText } from './text/WaveText';
|
|
3
|
+
export { BlurText } from './text/BlurText';
|
|
4
|
+
export { GradientText } from './text/GradientText';
|
|
5
|
+
export { ShinyText } from './text/ShinyText';
|
|
6
|
+
export { TypewriterText } from './text/TypewriterText';
|
|
7
|
+
export { BounceText } from './text/BounceText';
|
|
8
|
+
export { RotateText } from './text/RotateText';
|
|
9
|
+
export { ScrambleText } from './text/ScrambleText';
|
|
10
|
+
export { FlipText } from './text/FlipText';
|
|
11
|
+
export { TextWave } from './text/TextWave';
|
|
12
|
+
export { ThreeDText } from './text/ThreeDText';
|
|
13
|
+
export { NeonText } from './text/NeonText';
|
|
14
|
+
export { RevealText } from './text/RevealText';
|
|
15
|
+
export { ElasticText } from './text/ElasticText';
|
|
16
|
+
export { CountUpText } from './text/CountUpText';
|
|
17
|
+
export { MorphText } from './text/MorphText';
|
|
18
|
+
export { GlitchText } from './text/GlitchText';
|
|
19
|
+
export { ParticleText } from './text/ParticleText';
|
|
20
|
+
export { ExplosionText } from './text/ExplosionText';
|
|
21
|
+
export type { SplitTextProps } from './text/SplitText';
|
|
22
|
+
export type { WaveTextProps } from './text/WaveText';
|
|
23
|
+
export type { BlurTextProps } from './text/BlurText';
|
|
24
|
+
export type { GradientTextProps } from './text/GradientText';
|
|
25
|
+
export type { ShinyTextProps } from './text/ShinyText';
|
|
26
|
+
export type { TypewriterTextProps } from './text/TypewriterText';
|
|
27
|
+
export type { BounceTextProps } from './text/BounceText';
|
|
28
|
+
export type { RotateTextProps } from './text/RotateText';
|
|
29
|
+
export type { ScrambleTextProps } from './text/ScrambleText';
|
|
30
|
+
export type { FlipTextProps } from './text/FlipText';
|
|
31
|
+
export type { TextWaveProps } from './text/TextWave';
|
|
32
|
+
export type { ThreeDTextProps } from './text/ThreeDText';
|
|
33
|
+
export type { NeonTextProps } from './text/NeonText';
|
|
34
|
+
export type { RevealTextProps } from './text/RevealText';
|
|
35
|
+
export type { ElasticTextProps } from './text/ElasticText';
|
|
36
|
+
export type { CountUpTextProps, CountUpEasing, } from './text/CountUpText';
|
|
37
|
+
export type { MorphTextProps } from './text/MorphText';
|
|
38
|
+
export type { GlitchTextProps } from './text/GlitchText';
|
|
39
|
+
export type { ParticleTextProps } from './text/ParticleText';
|
|
40
|
+
export type { ExplosionTextProps } from './text/ExplosionText';
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,YAAY,EACV,gBAAgB,EAChB,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface BlurTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
stagger?: number;
|
|
7
|
+
delay?: number;
|
|
8
|
+
fromY?: number;
|
|
9
|
+
blur?: number;
|
|
10
|
+
style?: TextStyle;
|
|
11
|
+
containerStyle?: ViewStyle;
|
|
12
|
+
blurColor?: string;
|
|
13
|
+
blurGradient?: string[];
|
|
14
|
+
}
|
|
15
|
+
export declare const BlurText: ({ text, duration, stagger, delay, fromY, blur, style, containerStyle, blurColor, blurGradient, }: BlurTextProps) => React.JSX.Element;
|
|
16
|
+
//# sourceMappingURL=BlurText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlurText.d.ts","sourceRoot":"","sources":["../../../src/text/BlurText.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAEH,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAuBtB,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AA6GD,eAAO,MAAM,QAAQ,GAAI,kGAWtB,aAAa,sBAkFf,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface BounceTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
stagger?: number;
|
|
7
|
+
delay?: number;
|
|
8
|
+
amplitude?: number;
|
|
9
|
+
loop?: boolean;
|
|
10
|
+
style?: TextStyle;
|
|
11
|
+
characterStyle?: TextStyle;
|
|
12
|
+
containerStyle?: ViewStyle;
|
|
13
|
+
}
|
|
14
|
+
export declare function BounceText({ text, duration, stagger, delay, amplitude, loop, style, characterStyle, containerStyle, }: BounceTextProps): React.JSX.Element;
|
|
15
|
+
//# sourceMappingURL=BounceText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BounceText.d.ts","sourceRoot":"","sources":["../../../src/text/BounceText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AActB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAsFD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,QAAc,EACd,OAAY,EACZ,KAAS,EACT,SAAc,EACd,IAAY,EACZ,KAAK,EACL,cAAc,EACd,cAAc,GACf,EAAE,eAAe,qBA8BjB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export type CountUpEasing = 'linear' | 'easeIn' | 'easeOut' | 'easeInOut';
|
|
4
|
+
export interface CountUpTextProps {
|
|
5
|
+
from?: number;
|
|
6
|
+
to: number;
|
|
7
|
+
duration?: number;
|
|
8
|
+
delay?: number;
|
|
9
|
+
decimals?: number;
|
|
10
|
+
prefix?: string;
|
|
11
|
+
suffix?: string;
|
|
12
|
+
easing?: CountUpEasing;
|
|
13
|
+
loop?: boolean;
|
|
14
|
+
loopDelay?: number;
|
|
15
|
+
style?: TextStyle;
|
|
16
|
+
containerStyle?: ViewStyle;
|
|
17
|
+
}
|
|
18
|
+
export declare function CountUpText({ from, to, duration, delay, decimals, prefix, suffix, easing, loop, loopDelay, style, containerStyle, }: CountUpTextProps): React.JSX.Element;
|
|
19
|
+
export default CountUpText;
|
|
20
|
+
//# sourceMappingURL=CountUpText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CountUpText.d.ts","sourceRoot":"","sources":["../../../src/text/CountUpText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAetB,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,WAAW,CAAC;AAEhB,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAID,wBAAgB,WAAW,CAAC,EAC1B,IAAQ,EACR,EAAE,EACF,QAAe,EACf,KAAS,EACT,QAAY,EACZ,MAAW,EACX,MAAW,EACX,MAAkB,EAClB,IAAY,EACZ,SAAgB,EAChB,KAAK,EACL,cAAc,GACf,EAAE,gBAAgB,qBA8FlB;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface ElasticTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
delay?: number;
|
|
7
|
+
amplitude?: number;
|
|
8
|
+
damping?: number;
|
|
9
|
+
stiffness?: number;
|
|
10
|
+
loop?: boolean;
|
|
11
|
+
pauseDuration?: number;
|
|
12
|
+
style?: TextStyle;
|
|
13
|
+
containerStyle?: ViewStyle;
|
|
14
|
+
}
|
|
15
|
+
export declare function ElasticText({ text, duration, delay, amplitude, damping, stiffness, loop, pauseDuration, style, containerStyle, }: ElasticTextProps): React.JSX.Element;
|
|
16
|
+
export default ElasticText;
|
|
17
|
+
//# sourceMappingURL=ElasticText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElasticText.d.ts","sourceRoot":"","sources":["../../../src/text/ElasticText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAYtB,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAc,EACd,KAAS,EACT,SAAe,EACf,OAAW,EACX,SAAe,EACf,IAAY,EACZ,aAAoB,EACpB,KAAK,EACL,cAAc,GACf,EAAE,gBAAgB,qBAiGlB;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface ExplosionTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
/** Motion duration per character in milliseconds. */
|
|
6
|
+
duration?: number;
|
|
7
|
+
/** Initial delay in milliseconds. */
|
|
8
|
+
delay?: number;
|
|
9
|
+
/** Offset between visible characters in milliseconds. */
|
|
10
|
+
stagger?: number;
|
|
11
|
+
/** Travel distance in layout points. */
|
|
12
|
+
distance?: number;
|
|
13
|
+
/** Maximum rotation in degrees. Neighboring characters rotate in opposite directions. */
|
|
14
|
+
rotation?: number;
|
|
15
|
+
direction?: 'explode' | 'implode';
|
|
16
|
+
loop?: boolean;
|
|
17
|
+
fade?: boolean;
|
|
18
|
+
scale?: boolean;
|
|
19
|
+
style?: TextStyle;
|
|
20
|
+
containerStyle?: ViewStyle;
|
|
21
|
+
}
|
|
22
|
+
export declare const ExplosionText: ({ text, duration, delay, stagger, distance, rotation, direction, loop, fade, scale, style, containerStyle, }: ExplosionTextProps) => React.JSX.Element | null;
|
|
23
|
+
//# sourceMappingURL=ExplosionText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExplosionText.d.ts","sourceRoot":"","sources":["../../../src/text/ExplosionText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAYtB,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,qDAAqD;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AA+FD,eAAO,MAAM,aAAa,GAAI,8GAa3B,kBAAkB,6BAwEpB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface FlipTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
stagger?: number;
|
|
7
|
+
delay?: number;
|
|
8
|
+
rotation?: number;
|
|
9
|
+
axis?: 'x' | 'y';
|
|
10
|
+
perspective?: number;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
style?: TextStyle;
|
|
13
|
+
characterStyle?: TextStyle;
|
|
14
|
+
containerStyle?: ViewStyle;
|
|
15
|
+
}
|
|
16
|
+
export declare const FlipText: ({ text, duration, stagger, delay, rotation, axis, perspective, loop, style, characterStyle, containerStyle, }: FlipTextProps) => React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=FlipText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlipText.d.ts","sourceRoot":"","sources":["../../../src/text/FlipText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAStB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AA0FD,eAAO,MAAM,QAAQ,GAAI,+GAYtB,aAAa,sBA+Bf,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface GlitchTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
intensity?: number;
|
|
6
|
+
duration?: number;
|
|
7
|
+
delay?: number;
|
|
8
|
+
loop?: boolean;
|
|
9
|
+
rgbSplit?: boolean;
|
|
10
|
+
noise?: boolean;
|
|
11
|
+
scanlines?: boolean;
|
|
12
|
+
flicker?: boolean;
|
|
13
|
+
slices?: number;
|
|
14
|
+
style?: TextStyle;
|
|
15
|
+
containerStyle?: ViewStyle;
|
|
16
|
+
}
|
|
17
|
+
export declare function GlitchText({ text, intensity, duration, delay, loop, rgbSplit, noise, scanlines, flicker, slices, style, containerStyle, }: GlitchTextProps): React.JSX.Element;
|
|
18
|
+
export default GlitchText;
|
|
19
|
+
//# sourceMappingURL=GlitchText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlitchText.d.ts","sourceRoot":"","sources":["../../../src/text/GlitchText.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAatB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAkQD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,SAAe,EACf,QAAc,EACd,KAAS,EACT,IAAW,EACX,QAAe,EACf,KAAY,EACZ,SAAiB,EACjB,OAAc,EACd,MAAU,EACV,KAAK,EACL,cAAc,GACf,EAAE,eAAe,qBA0NjB;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface GradientTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
colors?: string[];
|
|
6
|
+
duration?: number;
|
|
7
|
+
loop?: boolean;
|
|
8
|
+
style?: TextStyle;
|
|
9
|
+
containerStyle?: ViewStyle;
|
|
10
|
+
}
|
|
11
|
+
export declare const GradientText: ({ text, colors, duration, loop, style, containerStyle, }: GradientTextProps) => React.JSX.Element;
|
|
12
|
+
//# sourceMappingURL=GradientText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GradientText.d.ts","sourceRoot":"","sources":["../../../src/text/GradientText.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAEH,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAmBtB,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,YAAY,GAAI,0DAO1B,iBAAiB,sBA4EnB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface MorphTextProps {
|
|
4
|
+
words: string[];
|
|
5
|
+
duration?: number;
|
|
6
|
+
delay?: number;
|
|
7
|
+
stagger?: number;
|
|
8
|
+
pauseDuration?: number;
|
|
9
|
+
loop?: boolean;
|
|
10
|
+
enterFromY?: number;
|
|
11
|
+
exitToY?: number;
|
|
12
|
+
style?: TextStyle;
|
|
13
|
+
characterStyle?: TextStyle;
|
|
14
|
+
containerStyle?: ViewStyle;
|
|
15
|
+
}
|
|
16
|
+
export declare function MorphText({ words, duration, delay, stagger, pauseDuration, loop, enterFromY, exitToY, style, characterStyle, containerStyle, }: MorphTextProps): React.JSX.Element | null;
|
|
17
|
+
export default MorphText;
|
|
18
|
+
//# sourceMappingURL=MorphText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MorphText.d.ts","sourceRoot":"","sources":["../../../src/text/MorphText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAWtB,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAgID,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAc,EACd,KAAS,EACT,OAAY,EACZ,aAAoB,EACpB,IAAW,EACX,UAAe,EACf,OAAa,EACb,KAAK,EACL,cAAc,EACd,cAAc,GACf,EAAE,cAAc,4BAqIhB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface NeonTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
neonColor?: string;
|
|
6
|
+
coreColor?: string;
|
|
7
|
+
glowRadius?: number;
|
|
8
|
+
glowIntensity?: number;
|
|
9
|
+
pulse?: boolean;
|
|
10
|
+
duration?: number;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
style?: TextStyle;
|
|
13
|
+
containerStyle?: ViewStyle;
|
|
14
|
+
}
|
|
15
|
+
export declare const NeonText: ({ text, neonColor, coreColor, glowRadius, glowIntensity, pulse, duration, loop, style, containerStyle, }: NeonTextProps) => React.JSX.Element;
|
|
16
|
+
//# sourceMappingURL=NeonText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NeonText.d.ts","sourceRoot":"","sources":["../../../src/text/NeonText.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAgBtB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,QAAQ,GAAI,0GAWtB,aAAa,sBA8Jf,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface ParticleTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
fontSize?: number;
|
|
6
|
+
particleSize?: number;
|
|
7
|
+
duration?: number;
|
|
8
|
+
/** Milliseconds to hold the starting pose before moving. Defaults to 750 for disperse and 0 for assemble. */
|
|
9
|
+
delay?: number;
|
|
10
|
+
stagger?: number;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
direction?: 'assemble' | 'disperse';
|
|
13
|
+
particleColor?: string;
|
|
14
|
+
particleShape?: 'circle' | 'square' | 'diamond' | 'mixed';
|
|
15
|
+
particleGlow?: boolean;
|
|
16
|
+
glowRadius?: number;
|
|
17
|
+
glowColor?: string;
|
|
18
|
+
style?: TextStyle;
|
|
19
|
+
containerStyle?: ViewStyle;
|
|
20
|
+
}
|
|
21
|
+
export declare const ParticleText: React.FC<ParticleTextProps>;
|
|
22
|
+
export default ParticleText;
|
|
23
|
+
//# sourceMappingURL=ParticleText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParticleText.d.ts","sourceRoot":"","sources":["../../../src/text/ParticleText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAyB1E,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6GAA6G;IAC7G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IAE1D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AA0PD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA6LpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface RevealTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
direction?: 'left' | 'right' | 'top' | 'bottom';
|
|
6
|
+
duration?: number;
|
|
7
|
+
delay?: number;
|
|
8
|
+
stagger?: number;
|
|
9
|
+
mode?: 'word' | 'character';
|
|
10
|
+
fade?: boolean;
|
|
11
|
+
slide?: boolean;
|
|
12
|
+
slideDistance?: number;
|
|
13
|
+
loop?: boolean;
|
|
14
|
+
style?: TextStyle;
|
|
15
|
+
characterStyle?: TextStyle;
|
|
16
|
+
containerStyle?: ViewStyle;
|
|
17
|
+
}
|
|
18
|
+
export declare const RevealText: ({ text, direction, duration, delay, stagger, mode, fade, slide, slideDistance, loop, style, characterStyle, containerStyle, }: RevealTextProps) => React.JSX.Element;
|
|
19
|
+
//# sourceMappingURL=RevealText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevealText.d.ts","sourceRoot":"","sources":["../../../src/text/RevealText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAEH,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAYtB,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC9B;AAqFD,eAAO,MAAM,UAAU,GAAI,+HAcxB,eAAe,sBA2HjB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface RotateTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
stagger?: number;
|
|
7
|
+
delay?: number;
|
|
8
|
+
rotation?: number;
|
|
9
|
+
axis?: 'x' | 'y' | 'z';
|
|
10
|
+
perspective?: number;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
style?: TextStyle;
|
|
13
|
+
characterStyle?: TextStyle;
|
|
14
|
+
containerStyle?: ViewStyle;
|
|
15
|
+
}
|
|
16
|
+
export declare function RotateText({ text, duration, stagger, delay, rotation, axis, perspective, loop, style, characterStyle, containerStyle, }: RotateTextProps): React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=RotateText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RotateText.d.ts","sourceRoot":"","sources":["../../../src/text/RotateText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAatB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAuGD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,QAAc,EACd,OAAY,EACZ,KAAS,EACT,QAAa,EACb,IAAU,EACV,WAAiB,EACjB,IAAY,EACZ,KAAK,EACL,cAAc,EACd,cAAc,GACf,EAAE,eAAe,qBAgCjB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface ScrambleTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
characters?: string;
|
|
6
|
+
speed?: number;
|
|
7
|
+
delay?: number;
|
|
8
|
+
pauseDuration?: number;
|
|
9
|
+
loop?: boolean;
|
|
10
|
+
style?: TextStyle;
|
|
11
|
+
containerStyle?: ViewStyle;
|
|
12
|
+
}
|
|
13
|
+
export declare function ScrambleText({ text, characters, speed, delay, pauseDuration, loop, style, containerStyle, }: ScrambleTextProps): React.JSX.Element;
|
|
14
|
+
//# sourceMappingURL=ScrambleText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrambleText.d.ts","sourceRoot":"","sources":["../../../src/text/ScrambleText.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AA+BD,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,UAA+B,EAC/B,KAAU,EACV,KAAS,EACT,aAAoB,EACpB,IAAY,EACZ,KAAK,EACL,cAAc,GACf,EAAE,iBAAiB,qBA8EnB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface ShinyTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
shineColor?: string;
|
|
7
|
+
duration?: number;
|
|
8
|
+
delay?: number;
|
|
9
|
+
loop?: boolean;
|
|
10
|
+
shineWidth?: number;
|
|
11
|
+
style?: TextStyle;
|
|
12
|
+
containerStyle?: ViewStyle;
|
|
13
|
+
}
|
|
14
|
+
export declare const ShinyText: ({ text, color, shineColor, duration, delay, loop, shineWidth, style, containerStyle, }: ShinyTextProps) => React.JSX.Element;
|
|
15
|
+
//# sourceMappingURL=ShinyText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShinyText.d.ts","sourceRoot":"","sources":["../../../src/text/ShinyText.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAqBtB,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,GAAI,wFAUvB,cAAc,sBAiHhB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface SplitTextProps {
|
|
4
|
+
/** Text to reveal one character at a time. */
|
|
5
|
+
text: string;
|
|
6
|
+
/** Duration of each character animation, in milliseconds. */
|
|
7
|
+
duration?: number;
|
|
8
|
+
/** Delay between the start of adjacent character animations, in milliseconds. */
|
|
9
|
+
stagger?: number;
|
|
10
|
+
/** Delay before the first character starts, in milliseconds. */
|
|
11
|
+
delay?: number;
|
|
12
|
+
/** Initial vertical offset, in logical pixels. */
|
|
13
|
+
fromY?: number;
|
|
14
|
+
/** Text style applied to each character. */
|
|
15
|
+
style?: StyleProp<TextStyle>;
|
|
16
|
+
/** Optional style applied to each animated character. */
|
|
17
|
+
characterStyle?: StyleProp<TextStyle>;
|
|
18
|
+
/** Optional style for the wrapping container. */
|
|
19
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Reveals text character-by-character with a staggered fade and vertical rise.
|
|
23
|
+
*
|
|
24
|
+
* The initial MVP splits text by Unicode code point. Complex emoji made from
|
|
25
|
+
* multiple code points may animate as multiple pieces.
|
|
26
|
+
*/
|
|
27
|
+
export declare const SplitText: ({ text, duration, stagger, delay, fromY, style, characterStyle, containerStyle, }: SplitTextProps) => React.JSX.Element;
|
|
28
|
+
//# sourceMappingURL=SplitText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitText.d.ts","sourceRoot":"","sources":["../../../src/text/SplitText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAC/C,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAStB,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,yDAAyD;IACzD,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,iDAAiD;IACjD,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACvC;AAiDD;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,mFASvB,cAAc,sBAwBhB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface TextWaveProps {
|
|
4
|
+
text: string;
|
|
5
|
+
amplitude?: number;
|
|
6
|
+
wavelength?: number;
|
|
7
|
+
duration?: number;
|
|
8
|
+
delay?: number;
|
|
9
|
+
direction?: 'left' | 'right';
|
|
10
|
+
loop?: boolean;
|
|
11
|
+
style?: TextStyle;
|
|
12
|
+
containerStyle?: ViewStyle;
|
|
13
|
+
}
|
|
14
|
+
export declare const TextWave: ({ text, amplitude, wavelength, duration, delay, direction, loop, style, containerStyle, }: TextWaveProps) => React.JSX.Element;
|
|
15
|
+
//# sourceMappingURL=TextWave.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextWave.d.ts","sourceRoot":"","sources":["../../../src/text/TextWave.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAEH,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAkBtB,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC9B;AAiDD,eAAO,MAAM,QAAQ,GAAI,2FAUtB,aAAa,sBAiIf,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface ThreeDTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
depthColor?: string;
|
|
7
|
+
depth?: number;
|
|
8
|
+
depthOffset?: number;
|
|
9
|
+
bevelSize?: number;
|
|
10
|
+
bevelColor?: string;
|
|
11
|
+
shadowColor?: string;
|
|
12
|
+
gradientColors?: string[];
|
|
13
|
+
rotationX?: number;
|
|
14
|
+
rotationY?: number;
|
|
15
|
+
perspective?: number;
|
|
16
|
+
duration?: number;
|
|
17
|
+
animated?: boolean;
|
|
18
|
+
loop?: boolean;
|
|
19
|
+
shine?: boolean;
|
|
20
|
+
style?: TextStyle;
|
|
21
|
+
containerStyle?: ViewStyle;
|
|
22
|
+
}
|
|
23
|
+
export declare const ThreeDText: ({ text, color, depthColor, depth, depthOffset, bevelSize, bevelColor, shadowColor, gradientColors, rotationX, rotationY, perspective, duration, animated, loop, shine, style, containerStyle, }: ThreeDTextProps) => React.JSX.Element;
|
|
24
|
+
//# sourceMappingURL=ThreeDText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThreeDText.d.ts","sourceRoot":"","sources":["../../../src/text/ThreeDText.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAkBtB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,UAAU,GAAI,iMAmBxB,eAAe,sBA2MjB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface TypewriterTextProps {
|
|
4
|
+
texts: string[];
|
|
5
|
+
typingSpeed?: number;
|
|
6
|
+
deletingSpeed?: number;
|
|
7
|
+
pauseDuration?: number;
|
|
8
|
+
loop?: boolean;
|
|
9
|
+
cursorWidth?: number;
|
|
10
|
+
cursorHeight?: number;
|
|
11
|
+
cursorColor?: string;
|
|
12
|
+
cursorBorderRadius?: number;
|
|
13
|
+
cursorMarginLeft?: number;
|
|
14
|
+
cursorAnimation?: 'blink' | 'pulse' | 'none';
|
|
15
|
+
cursorAnimationDuration?: number;
|
|
16
|
+
style?: TextStyle;
|
|
17
|
+
cursorStyle?: ViewStyle;
|
|
18
|
+
containerStyle?: ViewStyle;
|
|
19
|
+
}
|
|
20
|
+
export declare function TypewriterText({ texts, typingSpeed, deletingSpeed, pauseDuration, loop, cursorWidth, cursorHeight, cursorColor, cursorBorderRadius, cursorMarginLeft, cursorAnimation, cursorAnimationDuration, style, cursorStyle, containerStyle, }: TypewriterTextProps): React.JSX.Element;
|
|
21
|
+
//# sourceMappingURL=TypewriterText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypewriterText.d.ts","sourceRoot":"","sources":["../../../src/text/TypewriterText.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAWtB,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IAGf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAG1B,eAAe,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IAC7C,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,WAAgB,EAChB,aAAkB,EAClB,aAAoB,EACpB,IAAY,EAEZ,WAAe,EACf,YAAiB,EACjB,WAAuB,EACvB,kBAAsB,EACtB,gBAAoB,EAEpB,eAAyB,EACzB,uBAA6B,EAE7B,KAAK,EACL,WAAW,EACX,cAAc,GACf,EAAE,mBAAmB,qBAgIrB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface WaveTextProps {
|
|
4
|
+
text: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
stagger?: number;
|
|
7
|
+
amplitude?: number;
|
|
8
|
+
loop?: boolean;
|
|
9
|
+
style?: TextStyle;
|
|
10
|
+
characterStyle?: TextStyle;
|
|
11
|
+
containerStyle?: ViewStyle;
|
|
12
|
+
}
|
|
13
|
+
export declare const WaveText: ({ text, duration, stagger, amplitude, style, characterStyle, containerStyle, loop, }: WaveTextProps) => React.JSX.Element;
|
|
14
|
+
//# sourceMappingURL=WaveText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaveText.d.ts","sourceRoot":"","sources":["../../../src/text/WaveText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAYtB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAgED,eAAO,MAAM,QAAQ,GAAI,sFAStB,aAAa,sBA+Bf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nativebits-animated-text",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Animated text components for React Native",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"main": "lib/commonjs/index.js",
|
|
8
|
+
"module": "lib/module/index.js",
|
|
9
|
+
"types": "lib/typescript/index.d.ts",
|
|
10
|
+
"react-native": "lib/commonjs/index.js",
|
|
11
|
+
"source": "src/index.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"lib",
|
|
14
|
+
"src",
|
|
15
|
+
"docs/android-demo.gif",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "bob build",
|
|
21
|
+
"typecheck": "tsc --noEmit",
|
|
22
|
+
"prepare": "bob build"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"react": ">=19.0.0",
|
|
26
|
+
"react-native": ">=0.79.0",
|
|
27
|
+
"react-native-reanimated": "^4.1.0",
|
|
28
|
+
"react-native-worklets": ">=0.7.0",
|
|
29
|
+
"@shopify/react-native-skia": ">=2.14.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@shopify/react-native-skia": "^2.14.0",
|
|
33
|
+
"@types/react": "^19.0.0",
|
|
34
|
+
"react": "19.0.0",
|
|
35
|
+
"react-native": "0.79.5",
|
|
36
|
+
"react-native-builder-bob": "^0.40.0",
|
|
37
|
+
"react-native-reanimated": "^4.1.0",
|
|
38
|
+
"react-native-worklets": "^0.7.4",
|
|
39
|
+
"typescript": "^5.8.0"
|
|
40
|
+
},
|
|
41
|
+
"react-native-builder-bob": {
|
|
42
|
+
"source": "src",
|
|
43
|
+
"output": "lib",
|
|
44
|
+
"targets": [
|
|
45
|
+
"commonjs",
|
|
46
|
+
"module",
|
|
47
|
+
"typescript"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|