@webstudio-is/sdk-components-animation 0.0.0-588fe22 → 0.0.0-a5970cb

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 (41) hide show
  1. package/lib/__generated__/animate-text.props.js +48 -0
  2. package/lib/__generated__/stagger-animation.props.js +40 -0
  3. package/lib/__generated__/video-animation.props.js +6 -0
  4. package/lib/animate-children.js +27 -0
  5. package/lib/animate-children.ws.js +30 -0
  6. package/lib/animate-text.js +9 -0
  7. package/lib/animate-text.ws.js +20 -0
  8. package/lib/components.js +10 -1
  9. package/lib/hooks.js +3 -2
  10. package/lib/metas.js +10 -1
  11. package/lib/shared/create-progress-animation.js +6 -0
  12. package/lib/shared/meta.js +13 -0
  13. package/lib/shared/proxy.js +5 -0
  14. package/lib/stagger-animation.js +7 -0
  15. package/lib/stagger-animation.ws.js +20 -0
  16. package/lib/templates.js +4 -1
  17. package/lib/types/__generated__/animate-children.props.d.ts +2 -0
  18. package/lib/types/__generated__/animate-text.props.d.ts +2 -0
  19. package/lib/types/__generated__/stagger-animation.props.d.ts +2 -0
  20. package/lib/types/__generated__/video-animation.props.d.ts +2 -0
  21. package/lib/types/animate-children.d.ts +10 -0
  22. package/lib/types/animate-children.ws.d.ts +2 -0
  23. package/lib/types/animate-text.d.ts +42 -0
  24. package/lib/types/animate-text.ws.d.ts +2 -0
  25. package/lib/types/components.d.ts +4 -1
  26. package/lib/types/metas.d.ts +4 -1
  27. package/lib/types/shared/create-progress-animation.d.ts +5 -0
  28. package/lib/types/shared/meta.d.ts +1 -0
  29. package/lib/types/shared/proxy.d.ts +4 -5
  30. package/lib/types/stagger-animation.d.ts +32 -0
  31. package/lib/types/stagger-animation.ws.d.ts +2 -0
  32. package/lib/types/templates.d.ts +1 -1
  33. package/lib/types/video-animation.d.ts +5 -0
  34. package/lib/types/video-animation.template.d.ts +2 -0
  35. package/lib/types/video-animation.ws.d.ts +2 -0
  36. package/lib/video-animation.js +6 -0
  37. package/lib/video-animation.template.js +21 -0
  38. package/lib/video-animation.ws.js +17 -0
  39. package/package.json +24 -13
  40. package/lib/props.js +0 -1
  41. package/lib/types/props.d.ts +0 -1
@@ -0,0 +1,48 @@
1
+ const e = {
2
+ className: {
3
+ required: !1,
4
+ control: "text",
5
+ type: "string",
6
+ description: "Classes to which the element belongs"
7
+ },
8
+ easing: {
9
+ description: "Easing function applied within the sliding window.",
10
+ required: !1,
11
+ control: "select",
12
+ type: "string",
13
+ defaultValue: "linear",
14
+ options: [
15
+ "linear",
16
+ "easeIn",
17
+ "easeInCubic",
18
+ "easeInQuart",
19
+ "easeOut",
20
+ "easeOutCubic",
21
+ "easeOutQuart",
22
+ "ease",
23
+ "easeInOutCubic",
24
+ "easeInOutQuart"
25
+ ]
26
+ },
27
+ slidingWindow: {
28
+ description: `Size of the sliding window for the animation:
29
+ - 0: Typewriter effect (no animation).
30
+ - (0..1]: Animates one part of the text at a time.
31
+ - (1..n]: Animates multiple parts of the text within the sliding window.`,
32
+ required: !1,
33
+ control: "number",
34
+ type: "number",
35
+ defaultValue: 5
36
+ },
37
+ splitBy: {
38
+ description: "Defines how the text is split for animation (e.g., by character, space, or symbol).",
39
+ required: !1,
40
+ control: "select",
41
+ type: "string",
42
+ defaultValue: "char",
43
+ options: ["char", "space", 'symbol "#"', 'symbol "~"']
44
+ }
45
+ };
46
+ export {
47
+ e as props
48
+ };
@@ -0,0 +1,40 @@
1
+ const e = {
2
+ className: {
3
+ required: !1,
4
+ control: "text",
5
+ type: "string",
6
+ description: "Classes to which the element belongs"
7
+ },
8
+ easing: {
9
+ description: "Easing function applied within the sliding window.",
10
+ required: !1,
11
+ control: "select",
12
+ type: "string",
13
+ defaultValue: "linear",
14
+ options: [
15
+ "linear",
16
+ "easeIn",
17
+ "easeInCubic",
18
+ "easeInQuart",
19
+ "easeOut",
20
+ "easeOutCubic",
21
+ "easeOutQuart",
22
+ "ease",
23
+ "easeInOutCubic",
24
+ "easeInOutQuart"
25
+ ]
26
+ },
27
+ slidingWindow: {
28
+ description: `Size of the sliding window for the animation:
29
+ - 0: Typewriter effect (no animation).
30
+ - (0..1]: Animates one child at a time.
31
+ - (1..n]: Animates multiple children within the sliding window.`,
32
+ required: !1,
33
+ control: "number",
34
+ type: "number",
35
+ defaultValue: 1
36
+ }
37
+ };
38
+ export {
39
+ e as props
40
+ };
@@ -0,0 +1,6 @@
1
+ const e = {
2
+ timeline: { required: !1, control: "boolean", type: "boolean" }
3
+ };
4
+ export {
5
+ e as props
6
+ };
@@ -0,0 +1,27 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as m } from "react";
3
+ import { animationCanPlayOnCanvasProperty as o } from "@webstudio-is/sdk/runtime";
4
+ const c = m(
5
+ ({ debug: t = !1, action: n, ...i }, s) => /* @__PURE__ */ r("div", { ref: s, style: { display: "contents" }, ...i })
6
+ ), a = "AnimateChildren";
7
+ c.displayName = a;
8
+ const e = "@webstudio-is/sdk-components-animation", h = {
9
+ onNavigatorUnselect: (t, n) => {
10
+ n.instancePath.length > 0 && n.instancePath[0].component === `${e}:${a}` && t.setMemoryProp(
11
+ n.instancePath[0],
12
+ o,
13
+ void 0
14
+ );
15
+ },
16
+ onNavigatorSelect: (t, n) => {
17
+ n.instancePath.length > 0 && n.instancePath[0].component === `${e}:${a}` && t.setMemoryProp(
18
+ n.instancePath[0],
19
+ o,
20
+ !0
21
+ );
22
+ }
23
+ };
24
+ export {
25
+ c as AnimateChildren,
26
+ h as hooksAnimateChildren
27
+ };
@@ -0,0 +1,30 @@
1
+ import { AnimationGroupIcon as n } from "@webstudio-is/icons/svg";
2
+ import { animation as i } from "./shared/meta.js";
3
+ const a = {
4
+ category: "animations",
5
+ description: "Animation Group component is designed to animate its children.",
6
+ icon: n,
7
+ order: 0,
8
+ label: "Animation Group",
9
+ contentModel: {
10
+ category: "instance",
11
+ children: [
12
+ "instance",
13
+ i.AnimateText,
14
+ i.StaggerAnimation,
15
+ i.VideoAnimation
16
+ ]
17
+ },
18
+ initialProps: ["action"],
19
+ props: {
20
+ action: {
21
+ required: !1,
22
+ control: "animationAction",
23
+ type: "animationAction",
24
+ description: "Animation Action"
25
+ }
26
+ }
27
+ };
28
+ export {
29
+ a as meta
30
+ };
@@ -0,0 +1,9 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as t } from "react";
3
+ const a = t(
4
+ ({ slidingWindow: o = 5, easing: m = "linear", splitBy: s = "char", ...i }, e) => /* @__PURE__ */ r("div", { ref: e, ...i })
5
+ ), n = "AnimateText";
6
+ a.displayName = n;
7
+ export {
8
+ a as AnimateText
9
+ };
@@ -0,0 +1,20 @@
1
+ import { TextAnimationIcon as o } from "@webstudio-is/icons/svg";
2
+ import { div as t } from "@webstudio-is/sdk/normalize.css";
3
+ import { props as i } from "./__generated__/animate-text.props.js";
4
+ const a = {
5
+ category: "animations",
6
+ description: "Text animation allows you to split text by char or by word to animate it.",
7
+ icon: o,
8
+ order: 1,
9
+ label: "Text Animation",
10
+ contentModel: {
11
+ category: "none",
12
+ children: ["instance"]
13
+ },
14
+ presetStyle: { div: t },
15
+ initialProps: ["slidingWindow", "easing", "splitBy"],
16
+ props: i
17
+ };
18
+ export {
19
+ a as meta
20
+ };
package/lib/components.js CHANGED
@@ -1 +1,10 @@
1
-
1
+ import { AnimateChildren as r } from "./animate-children.js";
2
+ import { AnimateText as i } from "./animate-text.js";
3
+ import { StaggerAnimation as n } from "./stagger-animation.js";
4
+ import { VideoAnimation as x } from "./video-animation.js";
5
+ export {
6
+ r as AnimateChildren,
7
+ i as AnimateText,
8
+ n as StaggerAnimation,
9
+ x as VideoAnimation
10
+ };
package/lib/hooks.js CHANGED
@@ -1,4 +1,5 @@
1
- const o = [];
1
+ import { hooksAnimateChildren as o } from "./animate-children.js";
2
+ const t = [o];
2
3
  export {
3
- o as hooks
4
+ t as hooks
4
5
  };
package/lib/metas.js CHANGED
@@ -1 +1,10 @@
1
-
1
+ import { meta as a } from "./animate-children.ws.js";
2
+ import { meta as o } from "./animate-text.ws.js";
3
+ import { meta as i } from "./stagger-animation.ws.js";
4
+ import { meta as x } from "./video-animation.ws.js";
5
+ export {
6
+ a as AnimateChildren,
7
+ o as AnimateText,
8
+ i as StaggerAnimation,
9
+ x as VideoAnimation
10
+ };
@@ -0,0 +1,6 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { forwardRef as e } from "react";
3
+ const f = () => e((r, o) => /* @__PURE__ */ t("div", { ref: o, ...r }));
4
+ export {
5
+ f as createProgressAnimation
6
+ };
@@ -0,0 +1,13 @@
1
+ const n = (t) => new Proxy(
2
+ {},
3
+ {
4
+ get(o, e) {
5
+ return `${t}${e}`;
6
+ }
7
+ }
8
+ ), r = n(
9
+ "@webstudio-is/sdk-components-animation:"
10
+ );
11
+ export {
12
+ r as animation
13
+ };
@@ -0,0 +1,5 @@
1
+ import { createProxy as o } from "@webstudio-is/template";
2
+ const i = o("@webstudio-is/sdk-components-animation:");
3
+ export {
4
+ i as animation
5
+ };
@@ -0,0 +1,7 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as n } from "react";
3
+ const o = n(({ slidingWindow: e = 1, easing: m = "linear", ...i }, r) => /* @__PURE__ */ a("div", { ref: r, ...i })), t = "StaggerAnimation";
4
+ o.displayName = t;
5
+ export {
6
+ o as StaggerAnimation
7
+ };
@@ -0,0 +1,20 @@
1
+ import { StaggerAnimationIcon as i } from "@webstudio-is/icons/svg";
2
+ import { div as n } from "@webstudio-is/sdk/normalize.css";
3
+ import { props as o } from "./__generated__/stagger-animation.props.js";
4
+ const r = {
5
+ category: "animations",
6
+ description: "Stagger animation allows you to animate children elements with a sliding window.",
7
+ icon: i,
8
+ order: 4,
9
+ label: "Stagger Animation",
10
+ contentModel: {
11
+ category: "none",
12
+ children: ["instance"]
13
+ },
14
+ presetStyle: { div: n },
15
+ initialProps: ["slidingWindow", "easing"],
16
+ props: o
17
+ };
18
+ export {
19
+ r as meta
20
+ };
package/lib/templates.js CHANGED
@@ -1 +1,4 @@
1
-
1
+ import { meta as e } from "./video-animation.template.js";
2
+ export {
3
+ e as VideoAnimation
4
+ };
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,2 @@
1
+ import type { PropMeta } from "@webstudio-is/sdk";
2
+ export declare const props: Record<string, PropMeta>;
@@ -0,0 +1,10 @@
1
+ import type { Hook } from "@webstudio-is/react-sdk";
2
+ import type { AnimationAction } from "@webstudio-is/sdk";
3
+ type ScrollProps = {
4
+ debug?: boolean;
5
+ children?: React.ReactNode;
6
+ action: AnimationAction;
7
+ };
8
+ export declare const AnimateChildren: import("react").ForwardRefExoticComponent<ScrollProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ export declare const hooksAnimateChildren: Hook;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { WsComponentMeta } from "@webstudio-is/sdk";
2
+ export declare const meta: WsComponentMeta;
@@ -0,0 +1,42 @@
1
+ declare const easings: {
2
+ linear: boolean;
3
+ easeIn: boolean;
4
+ easeInCubic: boolean;
5
+ easeInQuart: boolean;
6
+ easeOut: boolean;
7
+ easeOutCubic: boolean;
8
+ easeOutQuart: boolean;
9
+ ease: boolean;
10
+ easeInOutCubic: boolean;
11
+ easeInOutQuart: boolean;
12
+ };
13
+ declare const split: {
14
+ char: boolean;
15
+ space: boolean;
16
+ 'symbol "#"': boolean;
17
+ 'symbol "~"': boolean;
18
+ };
19
+ export declare const AnimateText: import("react").ForwardRefExoticComponent<{
20
+ /**
21
+ * Size of the sliding window for the animation:
22
+ * - 0: Typewriter effect (no animation).
23
+ * - (0..1]: Animates one part of the text at a time.
24
+ * - (1..n]: Animates multiple parts of the text within the sliding window.
25
+ */
26
+ slidingWindow?: number;
27
+ /**
28
+ * Easing function applied within the sliding window.
29
+ */
30
+ easing?: keyof typeof easings;
31
+ /**
32
+ * Text content to animate.
33
+ */
34
+ children: React.ReactNode;
35
+ /**
36
+ * Defines how the text is split for animation (e.g., by character, space, or symbol).
37
+ */
38
+ splitBy?: keyof typeof split;
39
+ } & {
40
+ className?: string;
41
+ } & import("react").RefAttributes<HTMLDivElement>>;
42
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { WsComponentMeta } from "@webstudio-is/sdk";
2
+ export declare const meta: WsComponentMeta;
@@ -1 +1,4 @@
1
- export {};
1
+ export { AnimateChildren } from "./animate-children";
2
+ export { AnimateText } from "./animate-text";
3
+ export { StaggerAnimation } from "./stagger-animation";
4
+ export { VideoAnimation } from "./video-animation";
@@ -1 +1,4 @@
1
- export {};
1
+ export { meta as AnimateChildren } from "./animate-children.ws";
2
+ export { meta as AnimateText } from "./animate-text.ws";
3
+ export { meta as StaggerAnimation } from "./stagger-animation.ws";
4
+ export { meta as VideoAnimation } from "./video-animation.ws";
@@ -0,0 +1,5 @@
1
+ type ProgressAnimationProps<T extends Record<string, unknown> = {}> = {
2
+ children: React.ReactNode;
3
+ } & T;
4
+ export declare const createProgressAnimation: <T extends Record<string, unknown>>() => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<ProgressAnimationProps<T>> & import("react").RefAttributes<HTMLDivElement>>;
5
+ export {};
@@ -0,0 +1 @@
1
+ export declare const animation: Record<string, string>;
@@ -3,15 +3,14 @@ export declare const animation: Record<string, {
3
3
  } & ((props: Record<string, unknown> & Record<`${string}:expression`, string> & {
4
4
  "ws:id"?: string;
5
5
  "ws:label"?: string;
6
+ "ws:tag"?: string;
6
7
  "ws:style"?: import("@webstudio-is/template").TemplateStyleDecl[];
7
8
  "ws:show"?: boolean | {
8
9
  chunks: string[];
9
- variables: Array<import("@webstudio-is/template").Variable | import("@webstudio-is/template").Parameter>;
10
- serialize(variableIds: string[]): string;
10
+ variables: Array<import("@webstudio-is/template").Variable | import("@webstudio-is/template").Parameter | import("@webstudio-is/template").ResourceValue>;
11
11
  };
12
- children?: import("react").ReactNode | import("@webstudio-is/template").ExpressionValue | {
12
+ children?: import("react").ReactNode | {
13
13
  chunks: string[];
14
- variables: Array<import("@webstudio-is/template").Variable | import("@webstudio-is/template").Parameter>;
15
- serialize(variableIds: string[]): string;
14
+ variables: Array<import("@webstudio-is/template").Variable | import("@webstudio-is/template").Parameter | import("@webstudio-is/template").ResourceValue>;
16
15
  } | import("@webstudio-is/template").PlaceholderValue;
17
16
  }) => import("react").ReactNode)>;
@@ -0,0 +1,32 @@
1
+ declare const easings: {
2
+ linear: boolean;
3
+ easeIn: boolean;
4
+ easeInCubic: boolean;
5
+ easeInQuart: boolean;
6
+ easeOut: boolean;
7
+ easeOutCubic: boolean;
8
+ easeOutQuart: boolean;
9
+ ease: boolean;
10
+ easeInOutCubic: boolean;
11
+ easeInOutQuart: boolean;
12
+ };
13
+ export declare const StaggerAnimation: import("react").ForwardRefExoticComponent<{
14
+ /**
15
+ * Size of the sliding window for the animation:
16
+ * - 0: Typewriter effect (no animation).
17
+ * - (0..1]: Animates one child at a time.
18
+ * - (1..n]: Animates multiple children within the sliding window.
19
+ */
20
+ slidingWindow?: number;
21
+ /**
22
+ * Easing function applied within the sliding window.
23
+ */
24
+ easing?: keyof typeof easings;
25
+ /**
26
+ * Text content to animate.
27
+ */
28
+ children: React.ReactNode;
29
+ } & {
30
+ className?: string;
31
+ } & import("react").RefAttributes<HTMLDivElement>>;
32
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { WsComponentMeta } from "@webstudio-is/sdk";
2
+ export declare const meta: WsComponentMeta;
@@ -1 +1 @@
1
- export {};
1
+ export { meta as VideoAnimation } from "./video-animation.template";
@@ -0,0 +1,5 @@
1
+ export declare const VideoAnimation: import("react").ForwardRefExoticComponent<{
2
+ children: React.ReactNode;
3
+ } & {
4
+ timeline?: boolean;
5
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import { type TemplateMeta } from "@webstudio-is/template";
2
+ export declare const meta: TemplateMeta;
@@ -0,0 +1,2 @@
1
+ import type { WsComponentMeta } from "@webstudio-is/sdk";
2
+ export declare const meta: WsComponentMeta;
@@ -0,0 +1,6 @@
1
+ import { createProgressAnimation as i } from "./shared/create-progress-animation.js";
2
+ const o = i(), a = "VideoAnimation";
3
+ o.displayName = a;
4
+ export {
5
+ o as VideoAnimation
6
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { $ as i } from "@webstudio-is/template";
3
+ import { animation as t } from "./shared/proxy.js";
4
+ const a = {
5
+ category: "animations",
6
+ description: "Video Animation",
7
+ order: 2,
8
+ template: /* @__PURE__ */ o(t.VideoAnimation, { children: /* @__PURE__ */ o(
9
+ i.Video,
10
+ {
11
+ preload: "auto",
12
+ autoPlay: !0,
13
+ muted: !0,
14
+ playsInline: !0,
15
+ crossOrigin: "anonymous"
16
+ }
17
+ ) })
18
+ };
19
+ export {
20
+ a as meta
21
+ };
@@ -0,0 +1,17 @@
1
+ import { PlayIcon as o } from "@webstudio-is/icons/svg";
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
+ icon: o,
6
+ label: "Video Animation",
7
+ contentModel: {
8
+ category: "none",
9
+ children: ["instance"]
10
+ },
11
+ presetStyle: { div: i },
12
+ props: e,
13
+ initialProps: ["timeline"]
14
+ };
15
+ export {
16
+ m as meta
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-animation",
3
- "version": "0.0.0-588fe22",
3
+ "version": "0.0.0-a5970cb",
4
4
  "description": "Webstudio components for animation",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -14,6 +14,7 @@
14
14
  ],
15
15
  "exports": {
16
16
  ".": {
17
+ "webstudio-private": "./private-src/components.ts",
17
18
  "webstudio": "./src/components.ts",
18
19
  "types": "./lib/types/components.d.ts",
19
20
  "import": "./lib/components.js"
@@ -23,11 +24,6 @@
23
24
  "types": "./lib/types/metas.d.ts",
24
25
  "import": "./lib/metas.js"
25
26
  },
26
- "./props": {
27
- "webstudio": "./src/props.ts",
28
- "types": "./lib/types/props.d.ts",
29
- "import": "./lib/props.js"
30
- },
31
27
  "./hooks": {
32
28
  "webstudio": "./src/hooks.ts",
33
29
  "types": "./lib/types/hooks.d.ts",
@@ -44,26 +40,41 @@
44
40
  "react-dom": "18.3.0-canary-14898b6a9-20240318"
45
41
  },
46
42
  "dependencies": {
47
- "@webstudio-is/icons": "0.0.0-588fe22",
48
- "@webstudio-is/sdk": "0.0.0-588fe22",
49
- "@webstudio-is/react-sdk": "0.0.0-588fe22"
43
+ "change-case": "^5.4.4",
44
+ "nanostores": "^0.11.3",
45
+ "react-error-boundary": "^5.0.0",
46
+ "shallow-equal": "^3.1.0",
47
+ "@webstudio-is/css-engine": "0.0.0-a5970cb",
48
+ "@webstudio-is/icons": "0.0.0-a5970cb",
49
+ "@webstudio-is/sdk": "0.0.0-a5970cb",
50
+ "@webstudio-is/react-sdk": "0.0.0-a5970cb"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@types/react": "^18.2.70",
53
54
  "@types/react-dom": "^18.2.25",
55
+ "@vitest/browser": "^3.0.8",
56
+ "fast-glob": "^3.3.2",
57
+ "playwright": "^1.50.1",
54
58
  "react": "18.3.0-canary-14898b6a9-20240318",
55
59
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
60
+ "type-fest": "^4.37.0",
61
+ "vitest": "^3.1.2",
62
+ "zod": "^3.24.2",
63
+ "@webstudio-is/css-data": "0.0.0",
64
+ "@webstudio-is/design-system": "0.0.0",
56
65
  "@webstudio-is/generate-arg-types": "0.0.0",
57
66
  "@webstudio-is/sdk-cli": "^0.94.0",
58
- "@webstudio-is/sdk-components-react": "0.0.0-588fe22",
59
- "@webstudio-is/template": "0.0.0-588fe22",
60
- "@webstudio-is/tsconfig": "1.0.7"
67
+ "@webstudio-is/sdk-components-react": "0.0.0-a5970cb",
68
+ "@webstudio-is/tsconfig": "1.0.7",
69
+ "@webstudio-is/template": "0.0.0-a5970cb"
61
70
  },
62
71
  "scripts": {
63
72
  "build": "vite build --config ../../vite.sdk-components.config.ts",
64
73
  "build:args": "NODE_OPTIONS=--conditions=webstudio generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.ts !./src/*.template.tsx !./src/*.test.{ts,tsx}' -e asChild -e modal -e defaultOpen -e defaultChecked && prettier --write \"**/*.props.ts\"",
65
74
  "build:stories": "webstudio-sdk generate-stories && prettier --write \"src/__generated__/*.stories.tsx\"",
66
75
  "dts": "tsc --project tsconfig.dts.json",
67
- "typecheck": "tsc"
76
+ "typecheck": "tsc",
77
+ "test": "vitest run",
78
+ "playwright-init": "playwright install --with-deps"
68
79
  }
69
80
  }
package/lib/props.js DELETED
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
- export {};