@remotion/design 4.0.424 → 4.0.426

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/Button.js CHANGED
@@ -47,7 +47,7 @@ export const Button = ({ children, className, disabled, depth, loading, ...rest
47
47
  const isDisabled = disabled || loading;
48
48
  const sharedClasses = cn('text-text', 'flex', 'justify-center', 'bg-button-bg', 'items-center', 'font-brand', 'border-solid', 'text-[1em]', 'rounded-lg', 'border-black', 'border-2', 'border-b-4', 'cursor-pointer', 'px-4', 'h-12', 'flex', 'flex-row', 'items-center', 'relative', 'overflow-hidden', isDisabled && 'cursor-default opacity-50', className);
49
49
  const innerContent = (_jsxs(_Fragment, { children: [
50
- _jsx("div", { className: cn(loading && 'invisible', 'inline-flex'), children: children }), loading ? (_jsx("div", { className: cn('absolute w-full h-full flex inset-0 items-center justify-center text-inherit bg-inherit'), children: _jsx(Spinner, { size: 20, duration: 1 }) })) : null] }));
50
+ _jsx("div", { className: cn(loading && 'invisible', 'inline-flex items-center'), children: children }), loading ? (_jsx("div", { className: cn('absolute w-full h-full flex inset-0 items-center justify-center text-inherit bg-inherit'), children: _jsx(Spinner, { size: 20, duration: 1 }) })) : null] }));
51
51
  const isAnchor = 'href' in rest && rest.href !== undefined;
52
52
  const content = isAnchor ? (_jsx("a", { ...rest, className: cn('no-underline text-inherit', sharedClasses), "aria-disabled": isDisabled || undefined, tabIndex: isDisabled ? -1 : undefined, onClick: isDisabled
53
53
  ? (e) => {
@@ -418,7 +418,7 @@ var Button = ({
418
418
  const innerContent = /* @__PURE__ */ jsxs2(Fragment2, {
419
419
  children: [
420
420
  /* @__PURE__ */ jsx4("div", {
421
- className: cn(loading && "invisible", "inline-flex"),
421
+ className: cn(loading && "invisible", "inline-flex items-center"),
422
422
  children
423
423
  }),
424
424
  loading ? /* @__PURE__ */ jsx4("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/design",
3
- "version": "4.0.424",
3
+ "version": "4.0.426",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/esm/index.mjs",
@@ -13,17 +13,17 @@
13
13
  "url": "https://github.com/remotion-dev/remotion/issues"
14
14
  },
15
15
  "scripts": {
16
- "formatting": "prettier --experimental-cli src --check",
16
+ "formatting": "prettier src --check",
17
17
  "lint": "eslint src",
18
18
  "watch": "tsgo -w",
19
19
  "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
20
20
  },
21
21
  "dependencies": {
22
- "@remotion/paths": "4.0.424",
23
- "@remotion/shapes": "4.0.424",
24
- "@remotion/svg-3d-engine": "4.0.424",
22
+ "@remotion/paths": "4.0.426",
23
+ "@remotion/shapes": "4.0.426",
24
+ "@remotion/svg-3d-engine": "4.0.426",
25
25
  "clsx": "^2.1.1",
26
- "remotion": "4.0.424",
26
+ "remotion": "4.0.426",
27
27
  "@radix-ui/react-select": "2.1.1",
28
28
  "@radix-ui/react-tabs": "^1.1.0",
29
29
  "lucide-react": "0.439.0"
@@ -33,7 +33,7 @@
33
33
  "react-dom": ">=16.8.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@remotion/eslint-config-internal": "4.0.424",
36
+ "@remotion/eslint-config-internal": "4.0.426",
37
37
  "eslint": "9.19.0",
38
38
  "react": "19.2.3",
39
39
  "react-dom": "19.2.3",