@remotion/design 4.0.442 → 4.0.444
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/dist/Switch.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/tailwind.css +0 -3
- package/package.json +6 -6
package/dist/Switch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
export const Switch = ({ active, onToggle }) => {
|
|
3
|
-
return (_jsx("div", { "data-active": active, className: "h-[34px] transition-all rounded-full w-[56px] border-2 border-b-4 bg-gray-200 p-[2px] cursor-pointer data-[active=true]:bg-brand border-black relative shrink-0", onClick: onToggle, children: _jsx("div", { "data-active": active, className: "h-[20px] w-[20px]
|
|
3
|
+
return (_jsx("div", { "data-active": active, className: "h-[34px] transition-all rounded-full w-[56px] border-2 border-b-4 bg-gray-200 p-[2px] cursor-pointer data-[active=true]:bg-brand border-black relative shrink-0", onClick: onToggle, children: _jsx("div", { "data-active": active, className: "h-[20px] w-[20px] left-[4px] top-[4px] transition-all rounded-full bg-white border-2 border-black absolute data-[active=true]:left-[calc(100%-24px)]" }) }));
|
|
4
4
|
};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -5570,7 +5570,7 @@ var Switch = ({ active, onToggle }) => {
|
|
|
5570
5570
|
onClick: onToggle,
|
|
5571
5571
|
children: /* @__PURE__ */ jsx25("div", {
|
|
5572
5572
|
"data-active": active,
|
|
5573
|
-
className: "h-[20px] w-[20px]
|
|
5573
|
+
className: "h-[20px] w-[20px] left-[4px] top-[4px] transition-all rounded-full bg-white border-2 border-black absolute data-[active=true]:left-[calc(100%-24px)]"
|
|
5574
5574
|
})
|
|
5575
5575
|
});
|
|
5576
5576
|
};
|
package/dist/tailwind.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/design",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.444",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@remotion/paths": "4.0.
|
|
24
|
-
"@remotion/shapes": "4.0.
|
|
25
|
-
"@remotion/svg-3d-engine": "4.0.
|
|
23
|
+
"@remotion/paths": "4.0.444",
|
|
24
|
+
"@remotion/shapes": "4.0.444",
|
|
25
|
+
"@remotion/svg-3d-engine": "4.0.444",
|
|
26
26
|
"clsx": "^2.1.1",
|
|
27
|
-
"remotion": "4.0.
|
|
27
|
+
"remotion": "4.0.444",
|
|
28
28
|
"@radix-ui/react-select": "2.1.1",
|
|
29
29
|
"@radix-ui/react-tabs": "^1.1.0",
|
|
30
30
|
"lucide-react": "0.439.0"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"react-dom": ">=16.8.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
37
|
+
"@remotion/eslint-config-internal": "4.0.444",
|
|
38
38
|
"eslint": "9.19.0",
|
|
39
39
|
"react": "19.2.3",
|
|
40
40
|
"react-dom": "19.2.3",
|