Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

wip

ameer2468b6c62ca1991b
diff --git a/apps/desktop/src/routes/(window-chrome)/signin.tsx b/apps/desktop/src/routes/(window-chrome)/signin.tsx
index ec509091b..04c55accf 100644
--- a/apps/desktop/src/routes/(window-chrome)/signin.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/signin.tsx
@@ -1,17 +1,17 @@
import { Button } from "@cap/ui-solid";
-import * as shell from "@tauri-apps/plugin-shell";
-import { listen } from "@tauri-apps/api/event";
+import { createMutation } from "@tanstack/solid-query";
import { invoke } from "@tauri-apps/api/core";
-import { onOpenUrl } from "@tauri-apps/plugin-deep-link";
+import { listen } from "@tauri-apps/api/event";
import { Window } from "@tauri-apps/api/window";
-import { createMutation } from "@tanstack/solid-query";
+import { onOpenUrl } from "@tauri-apps/plugin-deep-link";
+import * as shell from "@tauri-apps/plugin-shell";
-import callbackTemplate from "./callback.template";
+import { getCurrentWindow } from "@tauri-apps/api/window";
import { authStore } from "~/store";
+import { identifyUser, trackEvent } from "~/utils/analytics";
import { clientEnv } from "~/utils/env";
-import { getCurrentWindow } from "@tauri-apps/api/window";
import { commands } from "~/utils/tauri";
-import { identifyUser, trackEvent } from "~/utils/analytics";
+import callbackTemplate from "./callback.template";
export default function Page() {
const signIn = createMutation(() => ({
diff --git a/apps/web/app/[slug]/layout.tsx b/apps/web/app/[slug]/layout.tsx
new file mode 100644
index 000000000..a14e64fcd
--- /dev/null
+++ b/apps/web/app/[slug]/layout.tsx
@@ -0,0 +1,16 @@
+export const metadata = {
+ title: 'Next.js',
+ description: 'Generated by Next.js',
+}
+
+export default function RootLayout({
+ children,
+}: {
+ children: React.ReactNode
+}) {
+ return (
+ <html lang="en">
+ <body>{children}</body>
+ </html>
+ )
+}
diff --git a/apps/web/app/dashboard/caps/components/EmptyCapState.tsx b/apps/web/app/dashboard/caps/components/EmptyCapState.tsx
index 5b8575162..fbd212292 100644
--- a/apps/web/app/dashboard/caps/components/EmptyCapState.tsx
+++ b/apps/web/app/dashboard/caps/components/EmptyCapState.tsx
@@ -1,31 +1,34 @@
import { Button } from "@cap/ui";
+import { useRive } from "@rive-app/react-canvas";
interface EmptyCapStateProps {
userName?: string;
}
export const EmptyCapState: React.FC<EmptyCapStateProps> = ({ userName }) => {
+ const { rive, RiveComponent: EmptyCap } = useRive({
+ src: "/rive/capsempty.riv",
+ artboard: "empty",
+ autoplay: true,
+ });
return (
- <div className="w-full flex flex-col items-center justify-center">
- <div className="w-full max-w-md mx-auto">
- <img
- className="w-full h-auto"
- src="/illustrations/person-microphone.svg"
- alt="Person using microphone"
- />
- </div>
- <div className="text-center pb-[30px]">
- <h1 className="text-2xl font-semibold mb-3">
- <span className="block">Hey{userName ? `, ${userName}` : ""}!</span>
- <span className="block">Record your first Cap.</span>
- </h1>
- <p className="text-xl max-w-md">
- Craft your narrative with a Cap—get projects done quicker.
- </p>
- <div className="flex justify-center mt-8">
+ <div className="flex flex-col justify-center items-center w-full">
+ <div className="flex flex-col gap-3 items-center text-center">
+ <div className="mx-auto w-full max-w-[300px] flex justify-center items-center">
+ <EmptyCap className="h-[150px] w-[400px]" />
+ </div>
+ <div className="flex flex-col items-center">
+ <p className="mb-1 text-xl font-semibold text-gray-500">
+ Hey{userName ? ` ${userName}` : ""}! Record your first Cap
+ </p>
+ <p className="max-w-md text-gray-400 text-md">
+ Craft your narrative with - get projects done quicker
+ </p>
+ </div>
+ <div className="flex justify-center mt-4">
<Button
- href="/download"
size="lg"
+ href="/download"
className="relative"
variant="primary"
>
diff --git a/apps/web/app/fonts/SFPRODISPLAYBLACKITALIC.woff2 b/apps/web/app/fonts/SFPRODISPLAYBLACKITALIC.woff2
new file mode 100644
index 000000000..b539a87b5
Binary files /dev/null and b/apps/web/app/fonts/SFPRODISPLAYBLACKITALIC.woff2 differ
diff --git a/apps/web/app/fonts/SFPRODISPLAYBOLD.woff2 b/apps/web/app/fonts/SFPRODISPLAYBOLD.woff2
new file mode 100644
index 000000000..e53ba2728
Binary files /dev/null and b/apps/web/app/fonts/SFPRODISPLAYBOLD.woff2 differ
diff --git a/apps/web/app/fonts/SFPRODISPLAYHEAVYITALIC.woff2 b/apps/web/app/fonts/SFPRODISPLAYHEAVYITALIC.woff2
new file mode 100644
index 000000000..b6fbb4e5b
Binary files /dev/null and b/apps/web/app/fonts/SFPRODISPLAYHEAVYITALIC.woff2 differ
diff --git a/apps/web/app/fonts/SFPRODISPLAYLIGHTITALIC.woff2 b/apps/web/app/fonts/SFPRODISPLAYLIGHTITALIC.woff2
new file mode 100644
index 000000000..8dca0a8fb
Binary files /dev/null and b/apps/web/app/fonts/SFPRODISPLAYLIGHTITALIC.woff2 differ
diff --git a/apps/web/app/fonts/SFPRODISPLAYMEDIUM.woff2 b/apps/web/app/fonts/SFPRODISPLAYMEDIUM.woff2
new file mode 100644
index 000000000..b6003a562
Binary files /dev/null and b/apps/web/app/fonts/SFPRODISPLAYMEDIUM.woff2 differ
diff --git a/apps/web/app/fonts/SFPRODISPLAYREGULAR.woff2 b/apps/web/app/fonts/SFPRODISPLAYREGULAR.woff2
new file mode 100644
index 000000000..6406e4850
Binary files /dev/null and b/apps/web/app/fonts/SFPRODISPLAYREGULAR.woff2 differ
diff --git a/apps/web/app/globals.css b/apps/web/app/globals.css
index 9fa534aaa..ffc0173d7 100644
--- a/apps/web/app/globals.css
+++ b/apps/web/app/globals.css
@@ -36,7 +36,6 @@
body,
html {
color: #000000;
- font-family: var(--font-geist-sans) !important;
background-color: white;
}
@@ -111,6 +110,20 @@ a.bg-primary:hover {
animation: animatedyaxis 6s ease infinite forwards;
}
+.button-gradient-border::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ padding: 1px;
+ border-radius: 16px;
+ background: linear-gradient(to bottom, #ffffff40 70%, #ffffff00 100%);
+ -webkit-mask:
+ linear-gradient(#fff 0 0) content-box,
+ linear-gradient(#fff 0 0);
+ -webkit-mask-composite: xor;
+ mask-composite: exclude;
+}
+
@media (prefers-color-scheme: dark) {
body,
html {
diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx
index b332a1ec3..1e19d5ac6 100644
--- a/apps/web/app/layout.tsx
+++ b/apps/web/app/layout.tsx
@@ -3,13 +3,32 @@ import { BentoScript } from "@/components/BentoScript";
import { Footer } from "@/components/Footer";
import { Navbar } from "@/components/Navbar";
import { getCurrentUser } from "@cap/database/auth/session";
+import { serverEnv } from "@cap/env";
import crypto from "crypto";
-import { GeistSans } from "geist/font/sans";
import type { Metadata } from "next";
+import localFont from "next/font/local";
import { Toaster } from "react-hot-toast";
import { AuthProvider } from "./AuthProvider";
import { PostHogProvider, Providers } from "./providers";
-import { serverEnv } from "@cap/env";
+
+const SfProDisplay = localFont({
+ src: [
+ {
+ path: "./fonts/SFPRODISPLAYREGULAR.woff2",
+ weight: "300",
+ },
+ {
+ path: "./fonts/SFPRODISPLAYBOLD.woff2",
+ weight: "700",
+ },
+ {
+ path: "./fonts/SFPRODISPLAYMEDIUM.woff2",
+ weight: "500",
+ },
+ ],
+ display: "swap",
+ variable: "--font-sf-pro-display",
+});
export const metadata: Metadata = {
title: "Cap — Beautiful screen recordings, owned by you.",
@@ -40,7 +59,7 @@ export default async function RootLayout({
}
return (
- <html className={`${GeistSans.variable}`} lang="en">
+ <html lang="en">
<head>
<link
rel="apple-touch-icon"
diff --git a/apps/web/app/login/form.tsx b/apps/web/app/login/form.tsx
index 3e27df2cc..7e3ab7f73 100644
--- a/apps/web/app/login/form.tsx
+++ b/apps/web/app/login/form.tsx
@@ -1,14 +1,17 @@
"use client";
-import { Button } from "@cap/ui";
+import { getSpace } from "@/actions/workspace/get-space";
+import { NODE_ENV } from "@cap/env";
+import { Button, Input, Label } from "@cap/ui";
+import { faArrowLeft } from "@fortawesome/free-solid-svg-icons";
+import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
+import { LucideArrowUpRight, LucideMail } from "lucide-react";
import { signIn } from "next-auth/react";
+import Link from "next/link";
import { useSearchParams } from "next/navigation";
import { useEffect, useState } from "react";
import { toast } from "react-hot-toast";
-import { Input, Label } from "@cap/ui";
-import { NODE_ENV } from "@cap/env";
import { trackEvent } from "../utils/analytics";
-import { getSpace } from "@/actions/workspace/get-space";
export function LoginForm() {
const searchParams = useSearchParams();
@@ -100,64 +103,7 @@ export function LoginForm() {
return (
<>
- <div className="flex flex-col space-y-3 fade-in-down animate-delay-2">
- {!oauthError && (
- <>
- {showOrgInput === false && (
- <Button
- variant="dark"
- size="lg"
- className="h-12 text-lg flex items-center justify-center space-x-2"
- onClick={handleGoogleSignIn}
- disabled={loading}
- >
- <svg
- className="w-4 h-4"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 12 12"
- >
- <g fill="#E1E1E6" clipPath="url(#clip0)">
- <path d="M11.762 6.138c0-.408-.033-.818-.104-1.22h-5.66V7.23H9.24a2.78 2.78 0 0 1-1.2 1.823v1.5h1.934c1.135-1.046 1.788-2.589 1.788-4.414"></path>
- <path d="M5.999 12c1.618 0 2.983-.531 3.977-1.448l-1.933-1.5c-.538.367-1.233.574-2.042.574-1.565 0-2.892-1.056-3.369-2.476H.637v1.545A6 6 0 0 0 6 12"></path>
- <path d="M2.63 7.15a3.6 3.6 0 0 1 0-2.297V3.307H.637a6 6 0 0 0 0 5.388z"></path>
- <path d="M5.999 2.374a3.26 3.26 0 0 1 2.302.9l1.713-1.713A5.77 5.77 0 0 0 5.999 0 6 6 0 0 0 .637 3.307L2.63 4.852C3.104 3.43 4.434 2.374 6 2.374"></path>
- </g>
- <defs>
- <clipPath id="clip0">
- <path fill="#fff" d="M0 0h11.762v12H0z"></path>
- </clipPath>
- </defs>
- </svg>
- <span className="text-gray-50">Continue with Google</span>
- </Button>
- )}
-
- {showOrgInput === false && (
- <div className="relative">
- <div className="absolute inset-0 flex items-center">
- <div className="w-full border-t border-blue-100" />
- </div>
- <div className="relative flex justify-center">
- <span className="bg-white px-2 text-gray-500 rounded-xl text-xs">
- Or
- </span>
- </div>
- </div>
- )}
- </>
- )}
-
- {oauthError && (
- <div className="mb-4 p-4 bg-red-600 rounded-lg">
- <p className="text-sm text-gray-50">
- It looks like you've previously used this email to sign up via
- email login. Please enter your email below to receive a sign in
- link.
- </p>
- </div>
- )}
-
+ <div className="flex flex-col space-y-3">
<form
onSubmit={async (e) => {
e.preventDefault();
@@ -196,8 +142,8 @@ export function LoginForm() {
>
{showOrgInput === false && (
<>
- <div>
- <input
+ <div className="flex flex-col space-y-3">
+ <Input
id="email"
name="email"
autoFocus
@@ -210,108 +156,158 @@ export function LoginForm() {
onChange={(e) => {
setEmail(e.target.value);
}}
- className="block w-full appearance-none rounded-full border border-gray-300 px-3 h-12 placeholder-gray-400 shadow-sm focus:border-black focus:outline-none focus:ring-black text-lg"
/>
- {NODE_ENV === "development" && (
- <div className="py-3 px-6 flex items-center justify-center bg-red-600 rounded-xl mt-3">
- <p className="text-white text-lg">
+ <Button
+ variant="primary"
+ type="submit"
+ disabled={loading || emailSent}
+ icon={<LucideMail size={16} />}
+ >
+ {emailSent
+ ? NODE_ENV === "development"
+ ? "Email sent to your terminal"
+ : "Email sent to your inbox"
+ : "Login with email"}
+ </Button>
+ {/* {NODE_ENV === "development" && (
+ <div className="flex justify-center items-center px-6 py-3 mt-3 bg-red-600 rounded-xl">
+ <p className="text-lg text-white">
<span className="font-bold text-white">
Development mode:
</span>{" "}
Auth URL will be logged to your dev console.
</p>
</div>
- )}
+ )} */}
</div>
- <Button
- variant="primary"
- size="lg"
- className="h-12 text-lg"
- type="submit"
- disabled={loading || emailSent}
- >
- {emailSent
- ? NODE_ENV === "development"
- ? "Email sent to your terminal"
- : "Email sent to your inbox"
- : "Continue with Email"}
- </Button>
</>
)}
-
{showOrgInput === false && (
- <Button
- variant="white"
- size="sm"
- className="h-9 text-lg flex items-center justify-center space-x-2 border-gray-300"
- onClick={() => setShowOrgInput(true)}
- disabled={loading}
- >
- <span className="text-gray-500">Continue with SAML SSO</span>
- </Button>
- )}
- </form>
- {showOrgInput && (
- <form onSubmit={handleSpaceLookup} className="space-y-2">
- <div>
- <Label htmlFor="spaceId">Space ID</Label>
- <Input
- id="spaceId"
- value={spaceId}
- onChange={(e) => setSpaceId(e.target.value)}
- className="w-full max-w-full"
- />
+ <div className="flex gap-4 items-center">
+ <span className="flex-1 h-px bg-gray-200" />
+ <p className="text-sm text-center text-gray-400">OR</p>
+ <span className="flex-1 h-px bg-gray-200" />
</div>
- {spaceName && (
- <p className="text-sm text-gray-500">
- Signing in to: {spaceName}
- </p>
- )}
- <div>
+ )}
+ {showOrgInput === false && (
+ <div className="flex flex-col gap-3 justify-center items-center">
+ {!oauthError && (
+ <>
+ {showOrgInput === false && (
+ <Button
+ variant="red"
+ className="flex justify-center items-center space-x-2 w-full text-sm"
+ onClick={handleGoogleSignIn}
+ disabled={loading}
+ >
+ <svg
+ width="15"
+ height="16"
+ viewBox="0 0 15 16"
+ fill="none"
+ className="mr-1"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M15 8.1754C15 12.4546 12.0215 15.5 7.62295 15.5C3.40574 15.5 0 12.1492 0 8C0 3.85081 3.40574 0.5 7.62295 0.5C9.67623 0.5 11.4037 1.24093 12.7346 2.4627L10.6598 4.4254C7.9457 1.84879 2.89857 3.78427 2.89857 8C2.89857 10.6159 5.02254 12.7359 7.62295 12.7359C10.6414 12.7359 11.7725 10.6069 11.9508 9.50302H7.62295V6.92339H14.8801C14.9508 7.30746 15 7.67641 15 8.1754Z"
+ fill="white"
+ />
+ </svg>
+ Login with Google
+ </Button>
+ )}
+ </>
+ )}
+
+ {oauthError && (
+ <div className="p-4 mb-4 bg-red-600 rounded-lg">
+ <p className="text-sm text-gray-50">
+ It looks like you've previously used this email to sign up
+ via email login. Please enter your email below to receive a
+ sign in link.
+ </p>
+ </div>
+ )}
<Button
- type="submit"
- variant="dark"
- className="w-full max-w-full"
+ variant="white"
+ className="w-full"
+ onClick={() => setShowOrgInput(true)}
+ disabled={loading}
>
- Continue with SSO
+ <LucideArrowUpRight size={20} />
+ Login with SAML SSO
</Button>
</div>
- </form>
+ )}
+ </form>
+ {showOrgInput && (
+ <>
+ <div
+ onClick={() => setShowOrgInput(false)}
+ className="flex absolute top-2 left-6 gap-2 items-center text-gray-500 transition-colors duration-300 cursor-pointer hover:text-gray-400"
+ >
+ <FontAwesomeIcon className="w-3" icon={faArrowLeft} />
+ <p className="text-sm text-inherit">Back</p>
+ </div>
+ <form onSubmit={handleSpaceLookup} className="space-y-2">
+ <div>
+ <Label htmlFor="spaceId">Space ID</Label>
+ <Input
+ id="spaceId"
+ value={spaceId}
+ onChange={(e) => setSpaceId(e.target.value)}
+ className="w-full max-w-full"
+ />
+ </div>
+ {spaceName && (
+ <p className="text-sm text-gray-500">
+ Signing in to: {spaceName}
+ </p>
+ )}
+ <div>
+ <Button
+ type="submit"
+ variant="dark"
+ className="w-full max-w-full"
+ >
+ Continue with SSO
+ </Button>
+ </div>
+ </form>
+ </>
)}
- <p className="text-xs text-gray-500 pt-2">
+ <p className="text-xs text-center text-gray-400">
By typing your email and clicking continue, you acknowledge that you
have both read and agree to Cap's{" "}
- <a
+ <Link
href="/terms"
target="_blank"
- className="text-gray-600 font-semibold text-xs"
+ className="text-xs font-semibold text-gray-500 hover:text-blue-300"
>
Terms of Service
- </a>{" "}
+ </Link>{" "}
and{" "}
- <a
+ <Link
href="/privacy"
target="_blank"
- className="text-gray-600 font-semibold text-xs"
+ className="text-xs font-semibold text-gray-500 hover:text-blue-300"
>
Privacy Policy
- </a>
+ </Link>
.
</p>
</div>
{emailSent && (
- <div>
- <button
- className="mt-5 text-sm text-gray-500 underline hover:text-black"
- onClick={() => {
- setEmailSent(false);
- setEmail("");
- setLoading(false);
- }}
- >
- Click to restart sign in process.
- </button>
- </div>
+ <button
+ className="pt-3 mx-auto text-sm text-gray-500 underline hover:text-gray-400"
+ onClick={() => {
+ setEmailSent(false);
+ setEmail("");
+ setLoading(false);
+ }}
+ >
+ Click to restart sign in process
+ </button>
)}
</>
);
diff --git a/apps/web/app/login/page.tsx b/apps/web/app/login/page.tsx
index 646dfda3e..0b609a9cf 100644
--- a/apps/web/app/login/page.tsx
+++ b/apps/web/app/login/page.tsx
@@ -1,8 +1,9 @@
+import { getCurrentUser } from "@cap/database/auth/session";
import { Button, LogoBadge } from "@cap/ui";
+import Link from "next/link";
+import { redirect } from "next/navigation";
import { Suspense } from "react";
import { LoginForm } from "./form";
-import { getCurrentUser } from "@cap/database/auth/session";
-import { redirect } from "next/navigation";
export default async function LoginPage() {
const session = await getCurrentUser();
@@ -12,16 +13,14 @@ export default async function LoginPage() {
}
return (
- <div className="muted-custom-bg w-full h-screen flex items-center justify-center">
- <div className="w-full max-w-lg relative overflow-hidden sm:rounded-2xl p-4 space-y-4">
- <a href="/">
- <LogoBadge className="h-12 w-auto fade-in-down" />
- </a>
- <div className="text-left flex flex-col items-start justify-center space-y-3">
- <h1 className="text-3xl font-semibold fade-in-down animate-delay-1">
- Sign in to Cap.
- </h1>
- <p className="text-2xl text-gray-500 fade-in-down animate-delay-1">
+ <div className="flex justify-center items-center w-full h-screen">
+ <div className="overflow-hidden relative w-[calc(100%-2%)] p-[28px] max-w-[472px] space-y-[28px] bg-gray-100 border border-gray-200 rounded-2xl">
+ <Link href="/">
+ <LogoBadge className="w-[72px] mx-auto" />
+ </Link>
+ <div className="flex flex-col justify-center items-center text-left">
+ <h1 className="text-2xl font-semibold">Sign in to Cap</h1>
+ <p className="text-[16px] text-gray-400">
Beautiful screen recordings, owned by you.
</p>
</div>
@@ -32,7 +31,7 @@ export default async function LoginPage() {
<Button disabled={true} variant="primary" />
<Button disabled={true} variant="secondary" />
<Button disabled={true} variant="destructive" />
- <div className="mx-auto h-5 w-3/4 rounded-lg bg-gray-100" />
+ <div className="mx-auto w-3/4 h-5 bg-gray-100 rounded-lg" />
</>
}
>
diff --git a/apps/web/app/onboarding/Onboarding.tsx b/apps/web/app/onboarding/Onboarding.tsx
index b8f5df99b..929bf555e 100644
--- a/apps/web/app/onboarding/Onboarding.tsx
+++ b/apps/web/app/onboarding/Onboarding.tsx
@@ -1,17 +1,7 @@
"use client";
import { users } from "@cap/database/schema";
-import {
- Card,
- CardContent,
- CardDescription,
- CardFooter,
- CardHeader,
- CardTitle,
- Button,
- Input,
- Label,
-} from "@cap/ui";
+import { Button, CardContent, Input, Label } from "@cap/ui";
import { useRouter } from "next/navigation";
import { useState } from "react";
import toast from "react-hot-toast";
@@ -59,39 +49,38 @@ export const Onboarding = ({
};
return (
- <form onSubmit={handleSubmit}>
- <Card noStyle>
- <CardContent>
- <div className="space-y-3">
- <div className="flex flex-col space-y-1 items-center">
- <Label htmlFor="firstName">First name *</Label>
- <Input
- type="text"
- id="firstName"
- name="firstName"
- required
- value={firstNameInput}
- onChange={(e) => setFirstNameInput(e.target.value)}
- />
- </div>
- <div className="flex flex-col space-y-1 items-center">
- <Label htmlFor="lastName">Last name</Label>
- <Input type="text" id="lastName" name="lastName" />
- </div>
+ <form
+ className="relative w-[calc(100%-2%)] p-[28px] max-w-[472px] bg-gray-100 border border-gray-200 rounded-2xl"
+ onSubmit={handleSubmit}
+ >
+ <CardContent>
+ <div className="space-y-3">
+ <div className="flex flex-col space-y-1">
+ <Label htmlFor="firstName">First name *</Label>
+ <Input
+ type="text"
+ id="firstName"
+ name="firstName"
+ required
+ value={firstNameInput}
+ onChange={(e) => setFirstNameInput(e.target.value)}
+ />
</div>
- </CardContent>
- <CardFooter className="border-t px-6 py-4">
- <Button
- disabled={!firstNameInput}
- className="mx-auto"
- type="submit"
- size="lg"
- spinner={loading}
- >
- Complete
- </Button>
- </CardFooter>
- </Card>
+ <div className="flex flex-col space-y-1">
+ <Label htmlFor="lastName">Last name</Label>
+ <Input type="text" id="lastName" name="lastName" />
+ </div>
+ </div>
+ </CardContent>
+ <Button
+ disabled={!firstNameInput}
+ className="mx-auto"
+ type="submit"
+ size="sm"
+ spinner={loading}
+ >
+ Complete
+ </Button>
</form>
);
};
diff --git a/apps/web/app/onboarding/page.tsx b/apps/web/app/onboarding/page.tsx
index e9a06a34b..bd8c1d641 100644
--- a/apps/web/app/onboarding/page.tsx
+++ b/apps/web/app/onboarding/page.tsx
@@ -1,6 +1,5 @@
-import { Button, LogoBadge } from "@cap/ui";
-import { Suspense } from "react";
import { getCurrentUser } from "@cap/database/auth/session";
+import { LogoBadge } from "@cap/ui";
import { redirect } from "next/navigation";
import { Onboarding } from "./Onboarding";
@@ -18,20 +17,16 @@ export default async function OnboardingPage() {
}
return (
- <div className="muted-custom-bg-2 w-full h-screen flex items-center justify-center">
- <div className="w-full max-w-lg relative overflow-hidden sm:rounded-2xl p-4 space-y-4">
+ <div className="flex justify-center items-center w-full h-screen">
+ <div className="overflow-hidden relative p-4 space-y-6 w-full max-w-lg sm:rounded-2xl">
<a href="/">
- <LogoBadge className="h-14 mx-auto w-auto fade-in-down" />
+ <LogoBadge className="mx-auto w-auto h-14" />
</a>
- <div className="text-center flex flex-col items-center justify-center space-y-3">
- <h1 className="text-3xl font-semibold fade-in-down animate-delay-1">
- Let's get you started.
- </h1>
- <p className="text-2xl text-gray-500 fade-in-down animate-delay-1">
- What's your name?
- </p>
+ <div className="flex flex-col justify-center items-center space-y-1 text-center">
+ <h1 className="text-3xl font-semibold">Let's get you started</h1>
+ <p className="text-2xl text-gray-500">What's your name?</p>
</div>
- <div className="fade-in-down animate-delay-2 flex flex-col space-y-3">
+ <div className="flex flex-col space-y-3">
<Onboarding user={user ?? null} />
</div>
</div>
diff --git a/apps/web/components/Navbar.tsx b/apps/web/components/Navbar.tsx
index 5f36d9353..ba2b61f26 100644
--- a/apps/web/components/Navbar.tsx
+++ b/apps/web/components/Navbar.tsx
@@ -166,7 +166,7 @@ export const Navbar = ({ auth }: { auth: boolean }) => {
<Button
variant="white"
href="https://github.com/CapSoftware/Cap"
- size="md"
+ size="sm"
className="w-full font-medium sm:w-auto"
icon={<FontAwesomeIcon icon={faGithub} />}
>
@@ -175,7 +175,7 @@ export const Navbar = ({ auth }: { auth: boolean }) => {
<Button
variant="dark"
href={auth === false ? "/login" : "/dashboard"}
- size="md"
+ size="sm"
className="w-full font-medium sm:w-auto"
>
{auth === false ? "Login" : "Dashboard"}
diff --git a/apps/web/package.json b/apps/web/package.json
index 73e193531..f53fa825d 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -34,6 +34,7 @@
"@octokit/rest": "^20.0.2",
"@react-email/components": "^0.0.13",
"@react-email/render": "0.0.11",
+ "@rive-app/react-canvas": "^4.18.7",
"@stripe/stripe-js": "^3.3.0",
"@t3-oss/env-nextjs": "^0.12.0",
"@tanstack/react-query": "^5.51.11",
diff --git a/apps/web/public/rive/capsempty.riv b/apps/web/public/rive/capsempty.riv
new file mode 100644
index 000000000..10c76b4d2
Binary files /dev/null and b/apps/web/public/rive/capsempty.riv differ
diff --git a/packages/ui/src/components/Button.tsx b/packages/ui/src/components/Button.tsx
index c5ea42706..a46f3fcd0 100644
--- a/packages/ui/src/components/Button.tsx
+++ b/packages/ui/src/components/Button.tsx
@@ -1,10 +1,10 @@
-import * as React from "react";
+import { classNames } from "@cap/utils";
import { Slot } from "@radix-ui/react-slot";
import { cva, type VariantProps } from "class-variance-authority";
-import { classNames } from "@cap/utils";
+import * as React from "react";
const buttonVariants = cva(
- "flex items-center justify-center gap-1 rounded-full border-[1px] font-normal",
+ "flex items-center justify-center cursor-pointer ring-offset-transparent relative min-w-[100px] button-gradient-border gap-1 rounded-[16px]",
{
defaultVariants: {
variant: "primary",
@@ -13,23 +13,24 @@ const buttonVariants = cva(
variants: {
variant: {
primary:
- "bg-blue-300 text-gray-50 hover:bg-blue-400 disabled:bg-blue-200 border-blue-300",
+ "bg-gradient-to-t from-blue-300 to-[#75A3FF] shadow-[0_0_0_1px] hover:brightness-110 shadow-blue-400 text-gray-50 hover:bg-blue-400 disabled:bg-blue-200",
+ red: "bg-gradient-to-t from-[#772828] to-[#9F3C3C] shadow-[0_0_0_1px] hover:brightness-110 shadow-red-900 text-gray-50 hover:bg-red-400 disabled:bg-red-200",
secondary:
"bg-blue-400 text-gray-50 hover:bg-blue-500 disabled:bg-blue-200 disabled:text-gray-400 border-blue-300",
destructive:
"bg-red-300 text-gray-50 hover:bg-red-400 disabled:bg-red-200 border-red-300",
white:
- "bg-white text-gray-500 hover:bg-gray-100 disabled:bg-gray-100 border-black/10",
+ "bg-gray-50 text-gray-500 hover:bg-gray-200 border disabled:bg-gray-100 border-gray-200",
gray: "bg-gray-200 text-gray-500 hover:bg-gray-200 disabled:bg-gray-100 border-transparent",
- dark: "bg-[#2e2e2e] text-gray-50 hover:bg-[#383838] disabled:bg-[#383838] border-transparent",
+ dark: "bg-gradient-to-t from-[#0f0f0f] to-[#404040] shadow-[0_0_0_1px] hover:brightness-110 shadow-[#383838] text-gray-50 hover:bg-[#383838] disabled:bg-[#383838] border-transparent",
radialblue:
"text-gray-50 disabled:bg-gray-100 border-0 [background:radial-gradient(90%_100%_at_15%_12%,#9BC4FF_0%,#3588FF_100%)] border-transparent hover:opacity-80",
},
size: {
- xs: "font-[400] text-[0.75rem] px-[0.5rem] h-[1.25rem] ",
- sm: "font-[400] text-[0.875rem] px-[0.75rem] h-[1.75rem]",
- md: "font-[400] text-[0.875rem] px-[1rem] h-[2rem]",
- lg: "font-[400] text-[1.125rem] px-[1.25em] h-[2.5rem]",
+ xs: "text-[0.75rem] px-[0.5rem] ",
+ sm: "text-[0.875rem] h-[40px] px-[0.75rem]",
+ md: "text-sm px-[1rem] h-[48px]",
+ lg: "text-md h-[48px] px-[1.25em]",
},
},
}
@@ -66,12 +67,10 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
href={href || undefined}
{...props}
>
- {icon && icon}
- {props.children}
{spinner && (
<svg
xmlns="http://www.w3.org/2000/svg"
- className="ml-2 w-6 h-6"
+ className="mr-2 w-6 h-6"
viewBox="0 0 24 24"
>
<style>
@@ -92,6 +91,8 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
/>
</svg>
)}
+ {icon && icon}
+ {props.children}
</Comp>
);
}
diff --git a/packages/ui/src/components/input/Input.tsx b/packages/ui/src/components/input/Input.tsx
index 1f6ab2a8b..c38335365 100644
--- a/packages/ui/src/components/input/Input.tsx
+++ b/packages/ui/src/components/input/Input.tsx
@@ -11,7 +11,11 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
<input
type={type}
className={classNames(
- "flex h-[32px] w-full max-w-[250px] bg-gray-50 rounded-[8px] border-[1px] border-gray-300 focus:border-black px-3 h-10 text-gray-500 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-gray-400 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
+ "flex px-4 w-full text-sm font-thin text-gray-500 bg-gray-50 border-gray-200 transition-all duration-300 outline-0 focus:bg-gray-50",
+ "hover:bg-gray-100 h-[48px] placeholder:text-gray-400 py-[14px] rounded-[16px] border-[1px] focus:border-gray-500",
+ "file:border-0 file:bg-transparent file:text-sm file:font-medium",
+ "disabled:cursor-not-allowed disabled:opacity-50 placeholder:transition-all",
+ "ring-0 focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 placeholder:duration-300 hover:placeholder:text-gray-500",
className
)}
ref={ref}
diff --git a/packages/ui/style/tailwind.config.js b/packages/ui/style/tailwind.config.js
index cd6a06cf8..e23fbd97f 100644
--- a/packages/ui/style/tailwind.config.js
+++ b/packages/ui/style/tailwind.config.js
@@ -118,7 +118,7 @@ module.exports = function (app, options) {
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
fontFamily: {
- primary: ['var(--font-geist-sans)', 'sans-serif'],
+ primary: ['var(--font-sf-pro-display)', 'sans-serif'],
},
keyframes: {
flyEmoji: {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9e0c357e7..839f24970 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -495,6 +495,9 @@ importers:
'@react-email/render':
specifier: 0.0.11
version: 0.0.11
+ '@rive-app/react-canvas':
+ specifier: ^4.18.7
+ version: 4.18.7([email protected])
'@stripe/stripe-js':
specifier: ^3.3.0
version: 3.5.0
@@ -792,7 +795,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 19.1.1(@types/[email protected])
+ version: 19.1.2(@types/[email protected])
dotenv-cli:
specifier: latest
version: 8.0.0
@@ -845,25 +848,25 @@ importers:
'@radix-ui/react-dialog':
specifier: ^1.0.5
'@radix-ui/react-dropdown-menu':
specifier: ^2.0.6
'@radix-ui/react-label':
specifier: ^2.0.2
'@radix-ui/react-navigation-menu':
specifier: ^1.1.4
'@radix-ui/react-popover':
specifier: ^1.0.7
'@radix-ui/react-slot':
specifier: ^1.0.2
version: 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-switch':
specifier: ^1.1.0
'@tailwindcss/typography':
specifier: ^0.5.9
@@ -894,7 +897,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 19.1.1(@types/[email protected])
+ version: 19.1.2(@types/[email protected])
'@vitejs/plugin-react':
specifier: ^4.0.3
@@ -4786,6 +4789,14 @@ packages:
'@rive-app/[email protected]':
resolution: {integrity: sha512-0/L3jsLdpVXfZHqkK6famgLQf7wFT1TuWrB4A8I8K+/uLPulpTK76/jJ78odCdZ7WyO5OpRkK2OwuW5MvH4qJg==}
+ '@rive-app/[email protected]':
+ resolution: {integrity: sha512-qCPEBCLRAOiMbAH54tGQN2DvHO+Oz5VXCyQ5/Pcv/mNJlUzu/p1CZgX+Q16FMOcc1s15QVUFcN+SovHwaRRBwg==}
+
+ '@rive-app/[email protected]':
+ resolution: {integrity: sha512-nhY8zrPlhmC7fYTkr0alvahEnQUOcJawlCO16N9Bro8TSHEqO7xgEcKQ5e0VoSwpV9kxtCEWztN/xgZvHvQ2pw==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0
+
'@rollup/[email protected]':
resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==}
engines: {node: '>=14.0.0'}
@@ -5531,10 +5542,10 @@ packages:
react-dom:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-Xz7QXErLIc4B+yU26l8eEXQ5Ikv8h+purD8FRVHjaNvx9pnK0GeOXpmXzvybDqP21F6CY2f03AKuz1BZaYsMnQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-eImTYftI0rnRI0kT7zYpUbroFjDUagBG7jiLzMMgTycadx2q47NiROEA7aXuIpslGsyx1XuFafK0cayWqnSfGA==}
peerDependencies:
- storybook: ^9.0.0-alpha.17
+ storybook: ^9.0.0-alpha.18
vite: ^5.0.0 || ^6.0.0
'@storybook/[email protected]':
@@ -5545,10 +5556,10 @@ packages:
peerDependencies:
storybook: ^8.3.3
- '@storybook/[email protected]':
- resolution: {integrity: sha512-5as8EF6Nabo5Oi0h8/XOTy3SgQIgYRMb+u3RixUYKfItDmKbh99n1/Bqhvs7350HIIopvjRkm8AoAC6c4WpQcw==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-171/oPA72aSh/wubXl6moLsEjxNg4O1ItJfkESAPx0LQKftMlEDyRp1wRFOZMxIuLAVom92OoJdWk4iAOz8Tfw==}
peerDependencies:
- storybook: ^9.0.0-alpha.17
+ storybook: ^9.0.0-alpha.18
'@storybook/[email protected]':
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
@@ -6125,8 +6136,8 @@ packages:
resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}
- '@types/[email protected]':
- resolution: {integrity: sha512-jFf/woGTVTjUJsl2O7hcopJ1r0upqoq/vIOoCj0yLh3RIXxWcljlpuZ+vEBRXsymD1jhfeJrlyTy/S1UW+4y1w==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-XGJkWF41Qq305SKWEILa1O8vzhb3aOo3ogBlSmiqNko/WmRb6QIaweuZCXjKygVDXpzXb5wyxKTSOsmkuqj+Qw==}
peerDependencies:
'@types/react': ^19.0.0
@@ -17081,26 +17092,26 @@ snapshots:
'@radix-ui/[email protected]': {}
dependencies:
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17153,18 +17164,18 @@ snapshots:
transitivePeerDependencies:
- '@types/react'
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -17173,7 +17184,7 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17192,33 +17203,33 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-escape-keydown': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17240,16 +17251,16 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17264,31 +17275,31 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.9
dependencies:
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -17297,43 +17308,43 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -17342,15 +17353,15 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@floating-ui/react-dom': 2.1.2([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-rect': 1.1.0(@types/[email protected])([email protected])
@@ -17360,7 +17371,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17369,15 +17380,15 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17387,7 +17398,7 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
@@ -17395,7 +17406,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17404,31 +17415,31 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
'@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17451,12 +17462,12 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.9
dependencies:
'@radix-ui/primitive': 1.1.0
'@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])
@@ -17464,7 +17475,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
@@ -17534,14 +17545,14 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.9
dependencies:
react: 18.3.1
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.1.1(@types/[email protected])
+ '@types/react-dom': 19.1.2(@types/[email protected])
'@radix-ui/[email protected]': {}
@@ -17654,6 +17665,13 @@ snapshots:
'@rive-app/[email protected]': {}
+ '@rive-app/[email protected]': {}
+
+ dependencies:
+ '@rive-app/canvas': 2.26.8
+ react: 18.3.1
+
optionalDependencies:
rollup: 4.38.0
@@ -18536,9 +18554,9 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
- '@storybook/csf-plugin': 9.0.0-alpha.17([email protected])
+ '@storybook/csf-plugin': 9.0.0-alpha.18([email protected])
browser-assert: 1.2.1
storybook: 8.3.3
ts-dedent: 2.2.0
@@ -18569,7 +18587,7 @@ snapshots:
storybook: 8.3.3
unplugin: 1.16.1
dependencies:
storybook: 8.3.3
unplugin: 1.16.1
@@ -19242,7 +19260,7 @@ snapshots:
dependencies:
'@types/react': 18.3.9
dependencies:
'@types/react': 18.3.9
@@ -27341,7 +27359,7 @@ snapshots:
dependencies:
transitivePeerDependencies:
- storybook
- vite