rune-scroller 3.0.2 → 3.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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,8 +6,9 @@
6
6
  * @module rune-scroller
7
7
  */
8
8
 
9
- // Import CSS animations automatically
10
- import "./animations.css";
9
+ // Note: CSS must be imported separately by the user:
10
+ // import 'rune-scroller/animations.css'
11
+ // This avoids SSR issues with automatic CSS imports in Node/edge runtimes.
11
12
 
12
13
  // Main action (default export - recommended)
13
14
  import { runeScroller } from "./runeScroller.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rune-scroller",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Lightweight scroll animations for Svelte 5. Drop-in AOS replacement. 30 animations, zero dependencies.",
5
5
  "type": "module",
6
6
  "sideEffects": false,