@webstudio-is/sdk-components-animation 0.219.0 → 0.221.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/lib/animate-children.ws.js +4 -6
- package/lib/animate-text.ws.js +4 -8
- package/lib/stagger-animation.ws.js +6 -10
- package/lib/types/animate-children.ws.d.ts +1 -2
- package/lib/types/animate-text.ws.d.ts +1 -2
- package/lib/types/stagger-animation.ws.d.ts +1 -2
- package/lib/types/video-animation.ws.d.ts +1 -2
- package/lib/video-animation.ws.js +6 -10
- package/package.json +8 -13
- package/lib/props.js +0 -10
- package/lib/types/props.d.ts +0 -4
|
@@ -14,8 +14,8 @@ const a = {
|
|
|
14
14
|
i.StaggerAnimation,
|
|
15
15
|
i.VideoAnimation
|
|
16
16
|
]
|
|
17
|
-
}
|
|
18
|
-
|
|
17
|
+
},
|
|
18
|
+
initialProps: ["action"],
|
|
19
19
|
props: {
|
|
20
20
|
action: {
|
|
21
21
|
required: !1,
|
|
@@ -23,10 +23,8 @@ const a = {
|
|
|
23
23
|
type: "animationAction",
|
|
24
24
|
description: "Animation Action"
|
|
25
25
|
}
|
|
26
|
-
}
|
|
27
|
-
initialProps: ["action"]
|
|
26
|
+
}
|
|
28
27
|
};
|
|
29
28
|
export {
|
|
30
|
-
a as meta
|
|
31
|
-
e as propsMeta
|
|
29
|
+
a as meta
|
|
32
30
|
};
|
package/lib/animate-text.ws.js
CHANGED
|
@@ -11,14 +11,10 @@ const a = {
|
|
|
11
11
|
category: "none",
|
|
12
12
|
children: ["instance"]
|
|
13
13
|
},
|
|
14
|
-
presetStyle: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, s = {
|
|
18
|
-
props: i,
|
|
19
|
-
initialProps: ["slidingWindow", "easing", "splitBy"]
|
|
14
|
+
presetStyle: { div: t },
|
|
15
|
+
initialProps: ["slidingWindow", "easing", "splitBy"],
|
|
16
|
+
props: i
|
|
20
17
|
};
|
|
21
18
|
export {
|
|
22
|
-
a as meta
|
|
23
|
-
s as propsMeta
|
|
19
|
+
a as meta
|
|
24
20
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StaggerAnimationIcon as i } from "@webstudio-is/icons/svg";
|
|
2
|
-
import { div as
|
|
3
|
-
import { props as
|
|
2
|
+
import { div as n } from "@webstudio-is/sdk/normalize.css";
|
|
3
|
+
import { props as o } from "./__generated__/stagger-animation.props.js";
|
|
4
4
|
const r = {
|
|
5
5
|
category: "animations",
|
|
6
6
|
description: "Stagger animation allows you to animate children elements with a sliding window.",
|
|
@@ -11,14 +11,10 @@ const r = {
|
|
|
11
11
|
category: "none",
|
|
12
12
|
children: ["instance"]
|
|
13
13
|
},
|
|
14
|
-
presetStyle: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, s = {
|
|
18
|
-
props: n,
|
|
19
|
-
initialProps: ["slidingWindow", "easing"]
|
|
14
|
+
presetStyle: { div: n },
|
|
15
|
+
initialProps: ["slidingWindow", "easing"],
|
|
16
|
+
props: o
|
|
20
17
|
};
|
|
21
18
|
export {
|
|
22
|
-
r as meta
|
|
23
|
-
s as propsMeta
|
|
19
|
+
r as meta
|
|
24
20
|
};
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { PlayIcon as o } from "@webstudio-is/icons/svg";
|
|
2
|
-
import { props as
|
|
3
|
-
import { div as
|
|
4
|
-
const
|
|
2
|
+
import { props as e } from "./__generated__/video-animation.props.js";
|
|
3
|
+
import { div as i } from "@webstudio-is/sdk/normalize.css";
|
|
4
|
+
const m = {
|
|
5
5
|
icon: o,
|
|
6
6
|
label: "Video Animation",
|
|
7
7
|
contentModel: {
|
|
8
8
|
category: "none",
|
|
9
9
|
children: ["instance"]
|
|
10
10
|
},
|
|
11
|
-
presetStyle: {
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
}, m = {
|
|
15
|
-
props: t,
|
|
11
|
+
presetStyle: { div: i },
|
|
12
|
+
props: e,
|
|
16
13
|
initialProps: ["timeline"]
|
|
17
14
|
};
|
|
18
15
|
export {
|
|
19
|
-
|
|
20
|
-
m as propsMeta
|
|
16
|
+
m as meta
|
|
21
17
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk-components-animation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.221.0",
|
|
4
4
|
"description": "Webstudio components for animation",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -24,11 +24,6 @@
|
|
|
24
24
|
"types": "./lib/types/metas.d.ts",
|
|
25
25
|
"import": "./lib/metas.js"
|
|
26
26
|
},
|
|
27
|
-
"./props": {
|
|
28
|
-
"webstudio": "./src/props.ts",
|
|
29
|
-
"types": "./lib/types/props.d.ts",
|
|
30
|
-
"import": "./lib/props.js"
|
|
31
|
-
},
|
|
32
27
|
"./hooks": {
|
|
33
28
|
"webstudio": "./src/hooks.ts",
|
|
34
29
|
"types": "./lib/types/hooks.d.ts",
|
|
@@ -49,10 +44,10 @@
|
|
|
49
44
|
"nanostores": "^0.11.3",
|
|
50
45
|
"react-error-boundary": "^5.0.0",
|
|
51
46
|
"shallow-equal": "^3.1.0",
|
|
52
|
-
"@webstudio-is/css-engine": "0.
|
|
53
|
-
"@webstudio-is/
|
|
54
|
-
"@webstudio-is/sdk": "0.
|
|
55
|
-
"@webstudio-is/
|
|
47
|
+
"@webstudio-is/css-engine": "0.221.0",
|
|
48
|
+
"@webstudio-is/react-sdk": "0.221.0",
|
|
49
|
+
"@webstudio-is/sdk": "0.221.0",
|
|
50
|
+
"@webstudio-is/icons": "0.221.0"
|
|
56
51
|
},
|
|
57
52
|
"devDependencies": {
|
|
58
53
|
"@types/react": "^18.2.70",
|
|
@@ -67,11 +62,11 @@
|
|
|
67
62
|
"zod": "^3.24.2",
|
|
68
63
|
"@webstudio-is/css-data": "0.0.0",
|
|
69
64
|
"@webstudio-is/design-system": "0.0.0",
|
|
70
|
-
"@webstudio-is/generate-arg-types": "0.0.0",
|
|
71
65
|
"@webstudio-is/sdk-cli": "^0.94.0",
|
|
72
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
66
|
+
"@webstudio-is/sdk-components-react": "0.221.0",
|
|
67
|
+
"@webstudio-is/template": "0.221.0",
|
|
73
68
|
"@webstudio-is/tsconfig": "1.0.7",
|
|
74
|
-
"@webstudio-is/
|
|
69
|
+
"@webstudio-is/generate-arg-types": "0.0.0"
|
|
75
70
|
},
|
|
76
71
|
"scripts": {
|
|
77
72
|
"build": "vite build --config ../../vite.sdk-components.config.ts",
|
package/lib/props.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { propsMeta as r } from "./animate-children.ws.js";
|
|
2
|
-
import { propsMeta as a } from "./animate-text.ws.js";
|
|
3
|
-
import { propsMeta as i } from "./stagger-animation.ws.js";
|
|
4
|
-
import { propsMeta as s } from "./video-animation.ws.js";
|
|
5
|
-
export {
|
|
6
|
-
r as AnimateChildren,
|
|
7
|
-
a as AnimateText,
|
|
8
|
-
i as StaggerAnimation,
|
|
9
|
-
s as VideoAnimation
|
|
10
|
-
};
|
package/lib/types/props.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { propsMeta as AnimateChildren } from "./animate-children.ws";
|
|
2
|
-
export { propsMeta as AnimateText } from "./animate-text.ws";
|
|
3
|
-
export { propsMeta as StaggerAnimation } from "./stagger-animation.ws";
|
|
4
|
-
export { propsMeta as VideoAnimation } from "./video-animation.ws";
|