@webstudio-is/sdk-components-animation 0.274.5 → 0.276.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,4 +1,9 @@
1
- # Radix Components for Webstudio
1
+ # Animation Components for Webstudio
2
2
 
3
- Radix Primitives is a low-level UI component library with a focus on accessibility and customization.
4
- Default styling is inspired by https://ui.shadcn.com/docs.
3
+ Animation components provide Webstudio-native building blocks for scroll, view, text, stagger, and video animations.
4
+
5
+ ## Component Registry Metadata
6
+
7
+ Webstudio animation component discovery uses the shared Webstudio registry format: a shadcn-compatible registry item shape with Webstudio-specific metadata stored in `meta`. The superset metadata describes animation composition, props, content models, templates, insertion rules, and Builder/MCP guidance.
8
+
9
+ This package is not published as an installable shadcn registry yet; the shape is used internally by Builder and MCP discovery.
@@ -1,5 +1,6 @@
1
+ import { type ComponentPropsWithoutRef } from "react";
1
2
  type ProgressAnimationProps<T extends Record<string, unknown> = {}> = {
2
3
  children: React.ReactNode;
3
- } & T;
4
+ } & ComponentPropsWithoutRef<"div"> & T;
4
5
  export declare const createProgressAnimation: <T extends Record<string, unknown>>() => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<ProgressAnimationProps<T>> & import("react").RefAttributes<HTMLDivElement>>;
5
6
  export {};
@@ -1,5 +1,5 @@
1
1
  export declare const VideoAnimation: import("react").ForwardRefExoticComponent<{
2
2
  children: React.ReactNode;
3
- } & {
3
+ } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
4
  timeline?: boolean;
5
5
  } & import("react").RefAttributes<HTMLDivElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-animation",
3
- "version": "0.274.5",
3
+ "version": "0.276.0",
4
4
  "description": "Webstudio components for animation",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -44,10 +44,10 @@
44
44
  "nanostores": "^0.11.3",
45
45
  "react-error-boundary": "^5.0.0",
46
46
  "shallow-equal": "^3.1.0",
47
- "@webstudio-is/css-engine": "0.274.5",
48
- "@webstudio-is/react-sdk": "0.274.5",
49
- "@webstudio-is/icons": "0.274.5",
50
- "@webstudio-is/sdk": "0.274.5"
47
+ "@webstudio-is/icons": "0.276.0",
48
+ "@webstudio-is/css-engine": "0.276.0",
49
+ "@webstudio-is/sdk": "0.276.0",
50
+ "@webstudio-is/react-sdk": "0.276.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/react": "^18.2.70",
@@ -59,21 +59,21 @@
59
59
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
60
60
  "type-fest": "^4.37.0",
61
61
  "vitest": "^3.1.2",
62
- "zod": "^3.24.2",
63
- "@webstudio-is/css-data": "0.274.5",
62
+ "zod": "^4.4.3",
63
+ "@webstudio-is/css-data": "0.276.0",
64
64
  "@webstudio-is/design-system": "0.0.0",
65
- "@webstudio-is/sdk-cli": "^0.94.0",
66
65
  "@webstudio-is/generate-arg-types": "0.0.0",
67
- "@webstudio-is/sdk-components-react": "0.274.5",
68
- "@webstudio-is/tsconfig": "1.0.7",
69
- "@webstudio-is/template": "0.274.5"
66
+ "@webstudio-is/sdk-cli": "^0.94.0",
67
+ "@webstudio-is/sdk-components-react": "0.276.0",
68
+ "@webstudio-is/template": "0.276.0",
69
+ "@webstudio-is/tsconfig": "1.0.7"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "vite build && esbuild './lib/*' --outdir=./lib --minify --allow-overwrite --banner:js='//! SPDX-License-Identifier: LicenseRef-Webstudio,Inc-Proprietary'",
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\"",
74
- "build:stories": "webstudio-sdk generate-stories && prettier --write \"src/__generated__/*.stories.tsx\"",
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 && oxfmt \"**/*.props.ts\"",
74
+ "build:stories": "tsx --conditions=webstudio src/generate-stories.ts && oxfmt \"src/__generated__/*.stories.tsx\"",
75
75
  "dts": "tsc --project tsconfig.dts.json",
76
- "typecheck": "tsgo --noEmit -p tsconfig.typecheck.json",
76
+ "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
77
77
  "test": "vitest run",
78
78
  "playwright-init": "playwright install --with-deps"
79
79
  }