@matteodicristofalo/text-animations 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import React, { useState, useEffect, useRef, useMemo, useCallback } from 'react';
2
3
 
3
4
  function round(num, digits) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matteodicristofalo/text-animations",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "React library to animate text",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && rollup -c",
@@ -27,6 +27,7 @@
27
27
  "rollup": "^4.28.0",
28
28
  "rollup-plugin-peer-deps-external": "^2.2.4",
29
29
  "rollup-plugin-postcss": "^4.0.2",
30
+ "rollup-preserve-directives": "^1.1.3",
30
31
  "sass": "^1.81.0",
31
32
  "storybook": "^8.4.6",
32
33
  "tslib": "^2.8.1",