laymur-animations 0.10.0 → 0.12.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.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Laymur Animations
2
2
 
3
- A collection of standard UI animations for [Laymur UI library](https://github.com/jango-git/laymur) - a Three.js-based UI framework. Includes common animations like appear/disappear effects, pulsing, jumping, and spinning.
3
+ A collection of common UI animations for Laymur UI library. Includes popular animations like appear/disappear effects, pulsing, jumping, and spinning.
4
4
 
5
- All animations are built on top of GSAP for smooth, performant motion. GSAP is a peer dependency with its own licensing terms - see [GSAP License](https://gsap.com/licensing/) for details.
5
+ **Important:** This package does not include GSAP. GSAP is a peer dependency with its own commercial licensing terms - see [GSAP License](https://gsap.com/licensing/) for details. You must install GSAP separately.
6
6
 
7
7
  ## Installation
8
8
 
@@ -3,8 +3,8 @@ import type { UIColor, UIMicro } from "laymur";
3
3
  * Interface for UI elements that can be animated.
4
4
  */
5
5
  export interface UIAnimatedElement {
6
- /** Element alpha value */
7
- color: UIColor;
8
6
  /** Micro transformation object */
9
7
  micro: UIMicro;
8
+ /** Element alpha value */
9
+ color: UIColor;
10
10
  }
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- export * from "./UIAnimatedElement";
2
- export * from "./UIAppearAnimator";
3
- export * from "./UIClickAnimator";
4
- export * from "./UIDisappearAnimator";
5
- export * from "./UIJumpCallAnimator";
6
- export * from "./UIPulseCallAnimator";
7
- export * from "./UISpinCallAnimator";
1
+ export { UIAppearAnimator } from "./UIAppearAnimator";
2
+ export { UIClickAnimator } from "./UIClickAnimator";
3
+ export { UIDisappearAnimator } from "./UIDisappearAnimator";
4
+ export { UIJumpCallAnimator } from "./UIJumpCallAnimator";
5
+ export { UIPulseCallAnimator } from "./UIPulseCallAnimator";
6
+ export { UISpinCallAnimator } from "./UISpinCallAnimator";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "laymur-animations",
3
- "version": "0.10.0",
4
- "description": "Standard animations for Laymur UI library",
3
+ "version": "0.12.0",
4
+ "description": "Common animations for the Laymur UI library",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",
7
7
  "build": "npm run clean && rollup -c",
@@ -13,13 +13,16 @@
13
13
  "types": "dist/index.d.ts",
14
14
  "exports": {
15
15
  ".": {
16
- "types": "./dist/index.d.ts",
17
16
  "import": {
17
+ "types": "./dist/index.d.ts",
18
18
  "development": "./dist/index.js",
19
19
  "production": "./dist/index.min.js",
20
20
  "default": "./dist/index.min.js"
21
21
  },
22
- "require": "./dist/index.min.js"
22
+ "require": {
23
+ "types": "./dist/index.d.ts",
24
+ "default": "./dist/index.min.js"
25
+ }
23
26
  },
24
27
  "./package.json": "./package.json"
25
28
  },
@@ -42,7 +45,7 @@
42
45
  },
43
46
  "type": "module",
44
47
  "peerDependencies": {
45
- "laymur": ">=0.10.0 <0.11.0",
48
+ "laymur": ">=0.12.0 <0.13.0",
46
49
  "gsap": ">=3.13.0 <4.0.0"
47
50
  },
48
51
  "devDependencies": {