Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

new pricing ui

ameer246865d934b05cc5
diff --git a/apps/desktop/app.config.ts b/apps/desktop/app.config.ts
index dea69fb48..f146a64e9 100644
--- a/apps/desktop/app.config.ts
+++ b/apps/desktop/app.config.ts
@@ -1,5 +1,5 @@
-import { defineConfig } from "@solidjs/start/config";
import capUIPlugin from "@cap/ui-solid/vite";
+import { defineConfig } from "@solidjs/start/config";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
@@ -20,6 +20,7 @@ export default defineConfig({
// 3. to make use of `TAURI_DEBUG` and other env variables
// https://tauri.studio/v1/api/config#buildconfig.beforedevcommand
envPrefix: ["VITE_", "TAURI_"],
+ assetsInclude: ['**/*.riv'],
plugins: [
capUIPlugin,
tsconfigPaths({
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 9193088ac..84132067f 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -10,6 +10,7 @@
"tauri": "tauri"
},
"dependencies": {
+ "@aerofoil/rive-solid-canvas": "^2.1.4",
"@cap/database": "workspace:*",
"@cap/ui": "workspace:*",
"@cap/ui-solid": "workspace:*",
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs
index f62582398..66a2d731a 100644
--- a/apps/desktop/src-tauri/src/windows.rs
+++ b/apps/desktop/src-tauri/src/windows.rs
@@ -138,7 +138,7 @@ impl CapWindowId {
Self::Editor { .. } => (1275.0, 800.0),
Self::Settings => (600.0, 450.0),
Self::Camera => (460.0, 920.0),
- Self::Upgrade => (850.0, 850.0),
+ Self::Upgrade => (950.0, 850.0),
Self::ModeSelect => (900.0, 500.0),
_ => return None,
})
diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json
index d0707921f..dfaa3a2fa 100644
--- a/apps/desktop/src-tauri/tauri.conf.json
+++ b/apps/desktop/src-tauri/tauri.conf.json
@@ -15,7 +15,7 @@
"csp": "default-src 'self' ws: ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost data:; media-src 'self' asset: http://asset.localhost",
"assetProtocol": {
"enable": true,
- "scope": ["$APPDATA/**", "**/*.jpg", "**/*.webp", "$RESOURCE/**", "$HOME/**"]
+ "scope": ["$APPDATA/**", "**/*.jpg", "**/*.webp", "$RESOURCE/**", "**/*.riv", "$HOME/**"]
}
}
},
diff --git a/apps/desktop/src/assets/rive/pricing.riv b/apps/desktop/src/assets/rive/pricing.riv
new file mode 100644
index 000000000..78c4c6f46
Binary files /dev/null and b/apps/desktop/src/assets/rive/pricing.riv differ
diff --git a/apps/desktop/src/declaration.d.ts b/apps/desktop/src/declaration.d.ts
new file mode 100644
index 000000000..1d471fb50
--- /dev/null
+++ b/apps/desktop/src/declaration.d.ts
@@ -0,0 +1,5 @@
+declare module '*.riv' {
+ const src: string;
+ export default src;
+ }
+
\ No newline at end of file
diff --git a/apps/desktop/src/global.d.ts b/apps/desktop/src/global.d.ts
index 185a2151a..dc4eb1edc 100644
--- a/apps/desktop/src/global.d.ts
+++ b/apps/desktop/src/global.d.ts
@@ -3,7 +3,6 @@
import { Flags } from "./utils/tauri";
declare module "mp4box";
-
export interface MP4MediaTrack {
id: number;
created: Date;
diff --git a/apps/desktop/src/routes/(window-chrome)/upgrade.tsx b/apps/desktop/src/routes/(window-chrome)/upgrade.tsx
index 63de2971f..82e9ecbf9 100644
--- a/apps/desktop/src/routes/(window-chrome)/upgrade.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/upgrade.tsx
@@ -1,13 +1,13 @@
+import { createRive } from "@aerofoil/rive-solid-canvas";
import { Button } from "@cap/ui-solid";
import { action, useAction } from "@solidjs/router";
+import { createMutation } from "@tanstack/solid-query";
import { invoke } from "@tauri-apps/api/core";
import { listen } from "@tauri-apps/api/event";
import { getCurrentWindow, Window } from "@tauri-apps/api/window";
import { onOpenUrl } from "@tauri-apps/plugin-deep-link";
import * as shell from "@tauri-apps/plugin-shell";
-import { createSignal, onCleanup, onMount, Show } from "solid-js";
-
-import { createMutation } from "@tanstack/solid-query";
+import { Accessor, createSignal, onCleanup, onMount, Show } from "solid-js";
import { generalSettingsStore } from "~/store";
import { identifyUser, trackEvent } from "~/utils/analytics";
import { clientEnv } from "~/utils/env";
@@ -15,8 +15,10 @@ import { getProPlanId } from "~/utils/plans";
import { createLicenseQuery } from "~/utils/queries";
import { commands } from "~/utils/tauri";
import { apiClient, licenseApiClient, protectedHeaders } from "~/utils/web-api";
+import PricingRive from "../../assets/rive/pricing.riv";
import { authStore } from "../../store";
-import { Input } from "../editor/ui";
+
+import { Dialog, DialogContent, Input } from "../editor/ui";
import callbackTemplate from "./callback.template";
const signInAction = action(async (planType: "yearly" | "monthly") => {
@@ -175,12 +177,13 @@ const proFeatures = [
];
export default function Page() {
- const [isAnnual, setIsAnnual] = createSignal(true);
+ const [isProAnnual, setIsProAnnual] = createSignal(true);
const [isCommercialAnnual, setIsCommercialAnnual] = createSignal(true);
const [upgradeComplete, setUpgradeComplete] = createSignal(false);
const [loading, setLoading] = createSignal(false);
const signIn = useAction(signInAction);
const license = createLicenseQuery();
+ const [openLicenseDialog, setOpenLicenseDialog] = createSignal(false);
const resetLicense = createMutation(() => ({
mutationFn: async () => {
@@ -229,11 +232,11 @@ export default function Page() {
if (!auth) {
console.log("No auth found, starting sign in flow");
- await signIn(isAnnual() ? "yearly" : "monthly");
+ await signIn(isProAnnual() ? "yearly" : "monthly");
return;
}
- const planId = getProPlanId(isAnnual() ? "yearly" : "monthly");
+ const planId = getProPlanId(isProAnnual() ? "yearly" : "monthly");
console.log("Getting checkout URL for plan:", planId);
const response = await apiClient.desktop.getProSubscribeURL({
body: { priceId: planId },
@@ -343,7 +346,7 @@ export default function Page() {
}
console.log("Getting checkout URL");
- const planId = getProPlanId(isAnnual() ? "yearly" : "monthly");
+ const planId = getProPlanId(isProAnnual() ? "yearly" : "monthly");
const response = await apiClient.desktop.getProSubscribeURL({
body: { priceId: planId },
headers: await protectedHeaders(),
@@ -380,6 +383,22 @@ export default function Page() {
});
});
+ const { rive: CommercialRive, RiveComponent: Commercial } = createRive(
+ () => ({
+ src: PricingRive,
+ autoplay: true,
+ artboard: "commercial",
+ animations: ["card-stack"],
+ })
+ );
+
+ const { rive: ProRive, RiveComponent: Pro } = createRive(() => ({
+ src: PricingRive,
+ autoplay: true,
+ artboard: "pro",
+ animations: ["items-coming-in"],
+ }));
+
return (
<div class="flex relative flex-col justify-center items-center p-5 mx-auto w-full h-full">
{upgradeComplete() && (
@@ -406,7 +425,7 @@ export default function Page() {
{!upgradeComplete() && (
<>
{license.data?.type === "commercial" ? (
- <div class="bg-[--gray-50] dark:bg-[--gray-900] rounded-xl shadow-sm border border-gray-200 dark:border-[--gray-700] p-8 w-full">
+ <div class="bg-[--gray-50] dark:bg-[--gray-900] rounded-xl shadow-sm border border-gray-200 dark:border-[--gray-700] w-full">
<div class="space-y-6">
<div class="border-b border-gray-200 dark:border-[--gray-700] pb-6">
<h3 class="text-2xl font-semibold tracking-tight text-[--text-primary]">
@@ -475,15 +494,36 @@ export default function Page() {
</h1>
</div>
<div class="flex gap-4 w-full">
- <div class="flex-grow p-3 bg-gray-200 rounded-xl border shadow-sm text-card-foreground md:p-3 border-gray-300/20">
- <div class="space-y-3">
- <div class="flex flex-col gap-6 items-center px-6 pt-6">
+ <div
+ onMouseEnter={() => {
+ const riveInstance = CommercialRive();
+ if (riveInstance) {
+ // Stop any current animations first
+ riveInstance.stop();
+ // Play the enter animation
+ riveInstance.play("cards");
+ }
+ }}
+ onMouseLeave={() => {
+ const riveInstance = CommercialRive();
+ if (riveInstance) {
+ // Stop any current animations first
+ riveInstance.stop();
+ // Play the leave animation
+ riveInstance.play("card-stack");
+ }
+ }}
+ class="flex flex-col flex-1 justify-between p-3 h-[700px ] bg-gray-200 rounded-2xl border border-gray-200 shadow-sm text-card-foreground md:p-3"
+ >
+ <div class="space-y-5">
+ <div class="flex flex-col gap-6 items-center">
+ <Commercial class="w-[250px]" />
<div class="space-y-1 text-center">
<h3 class="text-2xl font-medium leading-5 tracking-tight text-[--text-primary]">
Commercial License
</h3>
- <p class="text-[0.875rem] text-[--text-primary]">
- For professional use without cloud features.
+ <p class="mt-2 text-sm text-[--text-tertiary]">
+ License details for Cap commercial use
</p>
</div>
<div class="flex flex-col justify-center items-center">
@@ -504,7 +544,7 @@ export default function Page() {
</div>
<div
onClick={() => setIsCommercialAnnual((v) => !v)}
- class="px-3 py-2 text-center bg-gray-300 rounded-full border border-transparent hover:border-gray-400"
+ class="px-3 py-2 text-center bg-gray-300 rounded-full border border-transparent transition-all duration-300 cursor-pointer hover:border-gray-400"
>
<p class="text-xs text-gray-500">
Switch to{" "}
@@ -514,126 +554,122 @@ export default function Page() {
</span>
</p>
</div>
- </div>
- <div class="px-3 md:px-8">
- <div class="flex items-center pt-4 pb-1 mt-3">
- <span class="mr-2 text-xs text-[--text-primary]">
- Switch to{" "}
- {isCommercialAnnual() ? "lifetime" : "yearly"}
- </span>
- </div>
- </div>
- <div class="px-6 pt-0 pb-4">
- <button
- onClick={() => openCommercialCheckout.mutate()}
- disabled={openCommercialCheckout.isPending}
- class="flex items-center justify-center transition-opacity duration-200 rounded-full bg-[--gray-500] hover:opacity-90 disabled:bg-[--gray-400] font-medium text-lg px-6 h-12 w-full no-underline text-gray-50"
- >
- {openCommercialCheckout.isPending
- ? "Loading..."
- : "Purchase License"}
- </button>
- </div>
- <LicenseKeyActivation />
-
- <div class="flex items-center px-6 pt-0 pb-6">
- <div class="space-y-6">
- <div>
- <ul class="p-0 space-y-3 list-none">
- {[
- "Commercial Use of Cap Recorder + Editor",
- "Community Support",
- "Local-only features",
- "Perpetual license option",
- ].map((feature) => (
- <li class="flex justify-start items-center">
- <div class="w-6 h-6 m-0 p-0 flex items-center border-[2px] border-[--gray-500] justify-center rounded-full">
- <IconLucideCheck class="w-4 h-4 text-[--text-primary]" />
- </div>
- <span class="ml-2 text-[0.9rem] text-[--text-primary]">
- {feature}
- </span>
- </li>
- ))}
- </ul>
- </div>
- </div>
+ <ul class="flex flex-col gap-2 justify-center list-none">
+ {[
+ "Commercial Use of Cap Recorder + Editor",
+ "Community Support",
+ "Local-only features",
+ "Perpetual license option",
+ ].map((feature) => (
+ <li class="flex justify-start items-center">
+ <div class="flex justify-center items-center p-0 m-0 w-6 h-6">
+ <IconLucideCheck class="w-4 h-4 text-[--text-primary]" />
+ </div>
+ <span class="ml-1 text-[0.9rem] text-[--text-primary]">
+ {feature}
+ </span>
+ </li>
+ ))}
+ </ul>
</div>
</div>
+ <ActivateLicenseDialog
+ open={openLicenseDialog}
+ onOpenChange={setOpenLicenseDialog}
+ />
+ <div class="flex flex-col gap-4 items-center px-6 pt-0">
+ <button
+ onClick={() => openCommercialCheckout.mutate()}
+ disabled={openCommercialCheckout.isPending}
+ class="flex items-center justify-center transition-opacity duration-200 rounded-full bg-[--gray-500] hover:opacity-90 disabled:bg-[--gray-400] font-medium text-lg px-6 h-12 w-full no-underline text-gray-50"
+ >
+ {openCommercialCheckout.isPending
+ ? "Loading..."
+ : "Purchase License"}
+ </button>
+ <p
+ onClick={() => setOpenLicenseDialog(true)}
+ class="mb-2 text-sm text-gray-400 transition-colors cursor-pointer hover:text-gray-500"
+ >
+ Already have a license key?
+ </p>
+ </div>
</div>
- <div class="flex-grow p-3 bg-blue-300 rounded-xl border shadow-sm text-card-foreground md:p-3 border-blue-500/20">
- <div class="space-y-3">
- <div class="flex flex-col space-y-1.5 pt-6 px-6">
- <h3 class="text-2xl font-medium tracking-tight text-gray-50 dark:text-[--text-primary]">
- Cap Pro
- </h3>
- <p class="text-[0.875rem] leading-[1.25rem] text-gray-50 dark:text-[--text-primary]">
- For professional use and teams.
- </p>
- <div>
- <div class="flex items-center space-x-3">
- <h3 class="text-4xl text-gray-50 dark:text-[--text-primary]">
- {isAnnual() ? "$6/mo" : "$9/mo"}
- </h3>
- <div>
- <p class="text-sm font-medium text-gray-50 dark:text-[--text-primary]">
- {isAnnual()
- ? "per user, billed annually."
- : "per user, billed monthly."}
- </p>
- {isAnnual() && (
- <p class="text-sm text-gray-50 dark:text-[--text-primary]">
- or, $9/month, billed monthly.
- </p>
- )}
- </div>
- </div>
+
+ {/* Cap Pro */}
+ <div
+ onMouseEnter={() => {
+ const riveInstance = ProRive();
+ if (riveInstance) {
+ // Stop any current animations first
+ riveInstance.stop();
+ // Play the enter animation
+ riveInstance.play("items-coming-out");
+ }
+ }}
+ onMouseLeave={() => {
+ const riveInstance = ProRive();
+ if (riveInstance) {
+ // Stop any current animations first
+ riveInstance.stop();
+ // Play the leave animation
+ riveInstance.play("items-coming-in");
+ }
+ }}
+ class="flex-grow p-3 h-[700px] flex-1 dark:bg-solid-white bg-gray-500 rounded-2xl border shadow-sm text-card-foreground md:p-3 border-gray-200 dark:border-[--gray-700]"
+ >
+ <div class="space-y-5">
+ <div class="flex flex-col gap-6 items-center px-6">
+ <Pro class="w-[250px]" />
+ <div class="space-y-1 text-center">
+ <h3 class="text-2xl font-medium tracking-tight leading-5 text-gray-50">
+ Cap Pro
+ </h3>
+ <p class="text-[0.875rem] text-gray-400">
+ For professional use and teams.
+ </p>
</div>
- </div>
- <div class="px-3 mt-3 md:px-8">
- <div class="flex items-center pt-4 pb-1 mt-3 border-t-2 border-[--white-transparent-20] dark:border-[--black-transparent-20]">
- <span class="mr-2 text-xs text-gray-50 dark:text-[--text-primary]">
- Switch to {isAnnual() ? "monthly" : "annually"}
- </span>
- <button
- type="button"
- role="switch"
- aria-checked={isAnnual()}
- data-state={isAnnual() ? "unchecked" : "checked"}
- value={isAnnual() ? "on" : "off"}
- class="peer inline-flex h-4 w-8 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent dark:bg-[#3F75E0] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 bg-[--blue-400]"
- onClick={() => setIsAnnual((v) => !v)}
- >
- <span
- data-state={isAnnual() ? "unchecked" : "checked"}
- class={`pointer-events-none block h-4 w-4 rounded-full dark:bg-gray-500 bg-gray-50 shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0 border-2 ${
- isAnnual()
- ? "border-blue-400 dark:border-[#3F75E0]"
- : "border-gray-300 dark:border-[--white-transparent-20]"
- }`}
- />
- </button>
+ <div class="flex flex-col justify-center items-center">
+ <h3 class="text-4xl leading-6 text-gray-50">
+ {isProAnnual() ? "$6" : "$9"}
+ <span class="text-gray-400 text-[16px]">.00 /</span>
+ </h3>
+ {isProAnnual() && (
+ <p class="text-[16px] font-medium text-gray-400">
+ per user, billed annually
+ </p>
+ )}
+ {!isProAnnual() && (
+ <p class="text-[16px] font-medium text-gray-400">
+ per user, billed monthly
+ </p>
+ )}
</div>
- </div>
- <div class="px-6 pt-0 pb-4">
- <button
- onClick={openCheckoutInExternalBrowser}
- class="flex items-center justify-center hover:opacity-90 transition-opacity duration-200 rounded-full bg-[--gray-50] dark:bg-[--gray-500] hover:bg-[--gray-200] disabled:bg-[--gray-100] font-medium text-lg px-6 h-12 w-full no-underline text-gray-500 dark:text-gray-50"
- disabled={loading()}
+ <div
+ onClick={() => setIsProAnnual((v) => !v)}
+ class="px-3 py-2 text-center bg-blue-300 rounded-full border border-transparent transition-all duration-300 cursor-pointer hover:border-blue-400"
>
- {loading() ? "Loading..." : "Upgrade to Cap Pro"}
- </button>
+ <p class="text-xs text-solid-white">
+ Switch to {isProAnnual() ? "monthly" : "yearly"}:{" "}
+ <span class="font-medium">
+ {isProAnnual()
+ ? "$9 per user, billed monthly"
+ : "$6 per user, billed annually"}
+ </span>
+ </p>
+ </div>
</div>
- <div class="flex items-center px-6 pt-0 pb-6">
+
+ <div class="flex items-center px-6">
<div class="space-y-6">
<div>
<ul class="p-0 space-y-3 list-none">
{proFeatures.map((feature) => (
- <li class="flex justify-start items-center">
- <div class="w-6 h-6 m-0 p-0 flex items-center border-[2px] border-[--gray-50] dark:border-[--gray-500] justify-center rounded-full">
- <IconLucideCheck class="w-4 h-4 text-gray-50 dark:text-[--text-primary]" />
+ <li class="flex justify-start items-center dark:text-gray-50 text-solid-white">
+ <div class="size-4 m-0 p-0 flex items-center dark:border-[--gray-500] justify-center">
+ <IconLucideCheck class="size-4" />
</div>
- <span class="ml-2 text-[0.9rem] text-gray-50 dark:text-[--text-primary]">
+ <span class="ml-2 text-[0.9rem]">
{feature}
</span>
</li>
@@ -642,6 +678,13 @@ export default function Page() {
</div>
</div>
</div>
+ <Button
+ variant="primary"
+ class="!rounded-full !text-lg w-full mx-auto"
+ onClick={openCheckoutInExternalBrowser}
+ >
+ {loading() ? "Loading..." : "Upgrade to Cap Pro"}
+ </Button>
</div>
</div>
</div>
@@ -653,7 +696,12 @@ export default function Page() {
);
}
-function LicenseKeyActivation() {
+interface Props {
+ open: Accessor<boolean>;
+ onOpenChange: (open: boolean) => void;
+}
+
+const ActivateLicenseDialog = ({ open, onOpenChange }: Props) => {
const [licenseKey, setLicenseKey] = createSignal("");
const activateLicenseKey = createMutation(() => ({
@@ -687,30 +735,30 @@ function LicenseKeyActivation() {
});
},
}));
-
return (
- <div class="px-6 pt-0">
- <p class="text-[--text-primary] text-sm mb-2">
- Already have a license key?
- </p>
- <div class="h-[76px]">
+ <Dialog.Root open={open()} onOpenChange={onOpenChange}>
+ <DialogContent
+ title="Activate License"
+ confirm={
+ <Dialog.ConfirmButton
+ disabled={activateLicenseKey.isPending}
+ onClick={() =>
+ activateLicenseKey.mutate({
+ licenseKey: licenseKey(),
+ })
+ }
+ >
+ Activate
+ </Dialog.ConfirmButton>
+ }
+ >
<Input
- placeholder="Enter license key"
+ class="mt-2"
+ placeholder="Enter license key..."
value={licenseKey()}
onInput={(e) => setLicenseKey(e.currentTarget.value)}
/>
- <Button
- class="relative mt-2 w-full"
- disabled={activateLicenseKey.isPending}
- onClick={() =>
- activateLicenseKey.mutate({
- licenseKey: licenseKey(),
- })
- }
- >
- <div class="flex justify-center w-full">Activate License</div>
- </Button>
- </div>
- </div>
+ </DialogContent>
+ </Dialog.Root>
);
-}
+};
diff --git a/packages/ui-solid/icons/check.svg b/packages/ui-solid/icons/check.svg
new file mode 100644
index 000000000..6e390aaca
--- /dev/null
+++ b/packages/ui-solid/icons/check.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>
\ No newline at end of file
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 379bbb16a..f3476c93d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -50,6 +50,9 @@ importers:
apps/desktop:
dependencies:
+ '@aerofoil/rive-solid-canvas':
+ specifier: ^2.1.4
+ version: 2.1.4
'@cap/database':
specifier: workspace:*
version: link:../../packages/database
@@ -783,7 +786,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 19.0.4(@types/[email protected])
+ version: 19.1.1(@types/[email protected])
dotenv-cli:
specifier: latest
version: 8.0.0
@@ -836,25 +839,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
@@ -885,7 +888,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 19.0.4(@types/[email protected])
+ version: 19.1.1(@types/[email protected])
'@vitejs/plugin-react':
specifier: ^4.0.3
@@ -1035,6 +1038,9 @@ packages:
resolution: {integrity: sha512-Ff9+ksdQQB3rMncgqDK78uLznstjyfIf2Arnh22pW8kBpLs6rpKDwgnZT46hin5Hl1WzazzK64DOrhSwYpS7bQ==}
+ '@aerofoil/[email protected]':
+ resolution: {integrity: sha512-fVUNl1s2LTCfosi95MOTAWdSH01zNCZNc6skYsAiaFxBj6j2M4hwKevFZI0poJOWKwEV3lZ4cayIMoTfBfAKhQ==}
+
resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
engines: {node: '>=10'}
@@ -4771,6 +4777,9 @@ packages:
resolution: {integrity: sha512-baiMx18+IMuD1yyvOGaHM9QrVUPGGG0jC+z+IPHnRJWUAUvaKuWKyE8gjDj2rzv3sz9zOGoRSPgeBVHRhZnBlA==}
engines: {node: '>=14.0.0'}
+ '@rive-app/[email protected]':
+ resolution: {integrity: sha512-0/L3jsLdpVXfZHqkK6famgLQf7wFT1TuWrB4A8I8K+/uLPulpTK76/jJ78odCdZ7WyO5OpRkK2OwuW5MvH4qJg==}
+
'@rollup/[email protected]':
resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==}
engines: {node: '>=14.0.0'}
@@ -5516,11 +5525,11 @@ packages:
react-dom:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-yAboTqP1lxZiy7id5o8V2oyaPl7rkRgKzNArDI8nO5Qamie9cOwgORP6r0pOExw6PM/ClskSJRFOCrE5uoHN8Q==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-5ybl59xfHAf9PwwkIwXU4E2y9NgNQ2UQ9f5TZt8O+Km8uyrP27aR1W05TADnY1eSQ/Oc5mMPVKK70WjWEIi63g==}
peerDependencies:
- storybook: ^9.0.0-alpha.11
- vite: ^4.0.0 || ^5.0.0 || ^6.0.0
+ storybook: ^9.0.0-alpha.14
+ vite: ^5.0.0 || ^6.0.0
'@storybook/[email protected]':
resolution: {integrity: sha512-pmf2bP3fzh45e56gqOuBT8sDX05hGdUKIZ/hcI84d5xmd6MeHiPW8th2v946wCHcxHzxib2/UU9vQUh+mB4VNw==}
@@ -5530,10 +5539,10 @@ packages:
peerDependencies:
storybook: ^8.3.3
- '@storybook/[email protected]':
- resolution: {integrity: sha512-SxLvKUlcJkpBTRP4/PHNlRZWPFrTmOWDpr3ZKdIhEkEC+KI97+SWNNps3SlV2BX4gDUl4JekFGrCH+ekbmJ7OQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-QE0d/RTzlWH7LYqZeiW7lvGgUogFLObDNS4u9d7ppzOu0/9KyBEETexNikljCUKa1Q254G+xc4yrkvOZC4fVTQ==}
peerDependencies:
- storybook: ^9.0.0-alpha.11
+ storybook: ^9.0.0-alpha.14
'@storybook/[email protected]':
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
@@ -6110,8 +6119,8 @@ packages:
resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}
- '@types/[email protected]':
- resolution: {integrity: sha512-4fSQ8vWFkg+TGhePfUzVmat3eC14TXYSsiiDSLI0dVLsrm9gZFABjPy/Qu6TKgl1tq1Bu1yDsuQgY3A3DOjCcg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-jFf/woGTVTjUJsl2O7hcopJ1r0upqoq/vIOoCj0yLh3RIXxWcljlpuZ+vEBRXsymD1jhfeJrlyTy/S1UW+4y1w==}
peerDependencies:
'@types/react': ^19.0.0
@@ -13587,6 +13596,11 @@ snapshots:
'@adobe/[email protected]': {}
+ '@aerofoil/[email protected]':
+ dependencies:
+ '@rive-app/canvas': 2.26.7
+ solid-js: 1.9.3
+
'@alloc/[email protected]': {}
'@ampproject/[email protected]':
@@ -17054,26 +17068,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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17126,18 +17140,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
@@ -17146,7 +17160,7 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17165,33 +17179,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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17213,16 +17227,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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17237,31 +17251,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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@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
@@ -17270,43 +17284,43 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@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
@@ -17315,15 +17329,15 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@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])
@@ -17333,7 +17347,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17342,15 +17356,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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17360,7 +17374,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])
@@ -17368,7 +17382,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17377,31 +17391,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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17424,12 +17438,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])
@@ -17437,7 +17451,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
dependencies:
@@ -17507,14 +17521,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.0.4(@types/[email protected])
+ '@types/react-dom': 19.1.1(@types/[email protected])
'@radix-ui/[email protected]': {}
@@ -17625,6 +17639,8 @@ snapshots:
'@remix-run/[email protected]': {}
+ '@rive-app/[email protected]': {}
+
optionalDependencies:
rollup: 4.38.0
@@ -18507,9 +18523,9 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
- '@storybook/csf-plugin': 9.0.0-alpha.11([email protected])
+ '@storybook/csf-plugin': 9.0.0-alpha.14([email protected])
browser-assert: 1.2.1
storybook: 8.3.3
ts-dedent: 2.2.0
@@ -18540,7 +18556,7 @@ snapshots:
storybook: 8.3.3
unplugin: 1.16.1
dependencies:
storybook: 8.3.3
unplugin: 1.16.1
@@ -19213,7 +19229,7 @@ snapshots:
dependencies:
'@types/react': 18.3.9
dependencies:
'@types/react': 18.3.9
@@ -27298,7 +27314,7 @@ snapshots:
dependencies:
transitivePeerDependencies:
- storybook
- vite