ecloud-spark 1.0.5 → 1.1.0

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.
@@ -18,5 +18,7 @@ export interface TextReader {
18
18
  end?: string | number | StartEndFunc;
19
19
  responsive?: boolean;
20
20
  withMask?: boolean;
21
+ highlight?: boolean;
22
+ highlightColor?: string;
21
23
  onComplete?: Dispatch<SetStateAction<boolean>>;
22
24
  }
package/dist/index.d.ts CHANGED
@@ -61,12 +61,14 @@ interface TextReader$1 {
61
61
  end?: string | number | StartEndFunc;
62
62
  responsive?: boolean;
63
63
  withMask?: boolean;
64
+ highlight?: boolean;
65
+ highlightColor?: string;
64
66
  onComplete?: Dispatch<SetStateAction<boolean>>;
65
67
  }
66
68
 
67
69
  declare function TextReveal({ children, duration, start, scrub, toggleActions, delay, }: TextReveal$1): React$1.JSX.Element;
68
70
 
69
- declare function TextReader({ text, textColor, textColorIdle, pin, pinRef, start, end, responsive, withMask, onComplete, }: TextReader$1): React$1.JSX.Element;
71
+ declare function TextReader({ text, textColor, textColorIdle, pin, pinRef, start, end, responsive, withMask, highlight, highlightColor, onComplete, }: TextReader$1): React$1.JSX.Element;
70
72
 
71
73
  interface HPin$1 {
72
74
  children: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecloud-spark",
3
- "version": "1.0.5",
3
+ "version": "1.1.0",
4
4
  "description": "The spark that will light your projects",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c"