Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

auth via deep link

neo773695b1a698955
diff --git a/Cargo.lock b/Cargo.lock
index 83b87857e..7a3dd459b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -244,7 +244,7 @@ dependencies = [
"wayland-backend",
"wayland-client",
"wayland-protocols",
- "zbus",
+ "zbus 4.4.0",
]
[[package]]
@@ -4395,7 +4395,7 @@ dependencies = [
"mac-notification-sys",
"serde",
"tauri-winrt-notification",
- "zbus",
+ "zbus 4.4.0",
]
[[package]]
@@ -7280,17 +7280,18 @@ dependencies = [
[[package]]
name = "tauri-plugin-single-instance"
-version = "2.0.1"
+version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a25ac834491d089699a2bc9266a662faf373c9f779f05a2235bc6e4d9e61769a"
+checksum = "47c387d4d96690131dc46d1d2827df5c222b896a2bfeb15a16267229a55c50b5"
dependencies = [
- "log",
"serde",
"serde_json",
"tauri",
- "thiserror 1.0.63",
+ "tauri-plugin-deep-link",
+ "thiserror 2.0.6",
+ "tracing",
"windows-sys 0.59.0",
- "zbus",
+ "zbus 5.3.0",
]
[[package]]
@@ -9298,9 +9299,45 @@ dependencies = [
"uds_windows",
"windows-sys 0.52.0",
"xdg-home",
- "zbus_macros",
- "zbus_names",
- "zvariant",
+ "zbus_macros 4.4.0",
+ "zbus_names 3.0.0",
+ "zvariant 4.2.0",
+]
+
+[[package]]
+name = "zbus"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "192a0d989036cd60a1e91a54c9851fb9ad5bd96125d41803eed79d2e2ef74bd7"
+dependencies = [
+ "async-broadcast",
+ "async-executor",
+ "async-fs",
+ "async-io",
+ "async-lock",
+ "async-process",
+ "async-recursion",
+ "async-task",
+ "async-trait",
+ "blocking",
+ "enumflags2",
+ "event-listener",
+ "futures-core",
+ "futures-util",
+ "hex",
+ "nix 0.29.0",
+ "ordered-stream",
+ "serde",
+ "serde_repr",
+ "static_assertions",
+ "tracing",
+ "uds_windows",
+ "windows-sys 0.59.0",
+ "winnow 0.6.20",
+ "xdg-home",
+ "zbus_macros 5.3.0",
+ "zbus_names 4.1.1",
+ "zvariant 5.2.0",
]
[[package]]
@@ -9313,7 +9350,22 @@ dependencies = [
"proc-macro2",
"quote",
"syn 2.0.90",
- "zvariant_utils",
+ "zvariant_utils 2.1.0",
+]
+
+[[package]]
+name = "zbus_macros"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3685b5c81fce630efc3e143a4ded235b107f1b1cdf186c3f115529e5e5ae4265"
+dependencies = [
+ "proc-macro-crate 3.2.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.90",
+ "zbus_names 4.1.1",
+ "zvariant 5.2.0",
+ "zvariant_utils 3.1.0",
]
[[package]]
@@ -9324,7 +9376,19 @@ checksum = "4b9b1fef7d021261cc16cba64c351d291b715febe0fa10dc3a443ac5a5022e6c"
dependencies = [
"serde",
"static_assertions",
- "zvariant",
+ "zvariant 4.2.0",
+]
+
+[[package]]
+name = "zbus_names"
+version = "4.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "519629a3f80976d89c575895b05677cbc45eaf9f70d62a364d819ba646409cc8"
+dependencies = [
+ "serde",
+ "static_assertions",
+ "winnow 0.6.20",
+ "zvariant 5.2.0",
]
[[package]]
@@ -9404,7 +9468,22 @@ dependencies = [
"serde",
"static_assertions",
"url",
- "zvariant_derive",
+ "zvariant_derive 4.2.0",
+]
+
+[[package]]
+name = "zvariant"
+version = "5.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "55e6b9b5f1361de2d5e7d9fd1ee5f6f7fcb6060618a1f82f3472f58f2b8d4be9"
+dependencies = [
+ "endi",
+ "enumflags2",
+ "serde",
+ "static_assertions",
+ "winnow 0.6.20",
+ "zvariant_derive 5.2.0",
+ "zvariant_utils 3.1.0",
]
[[package]]
@@ -9417,7 +9496,20 @@ dependencies = [
"proc-macro2",
"quote",
"syn 2.0.90",
- "zvariant_utils",
+ "zvariant_utils 2.1.0",
+]
+
+[[package]]
+name = "zvariant_derive"
+version = "5.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "573a8dd76961957108b10f7a45bac6ab1ea3e9b7fe01aff88325dc57bb8f5c8b"
+dependencies = [
+ "proc-macro-crate 3.2.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.90",
+ "zvariant_utils 3.1.0",
]
[[package]]
@@ -9430,3 +9522,17 @@ dependencies = [
"quote",
"syn 2.0.90",
]
+
+[[package]]
+name = "zvariant_utils"
+version = "3.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ddd46446ea2a1f353bfda53e35f17633afa79f4fe290a611c94645c69fe96a50"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "serde",
+ "static_assertions",
+ "syn 2.0.90",
+ "winnow 0.6.20",
+]
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 677ba076f..42a79c8dc 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -34,6 +34,7 @@
"@solidjs/start": "^1.0.6",
"@tanstack/solid-query": "^5.51.21",
"@tauri-apps/api": "^2.1.1",
+ "@tauri-apps/plugin-deep-link": "^2.2.0",
"@tauri-apps/plugin-dialog": "2.0.1",
"@tauri-apps/plugin-fs": "2.0.3",
"@tauri-apps/plugin-http": "^2.0.1",
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index cf2428031..ebdf5030c 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -33,12 +33,14 @@ tauri-plugin-notification = "2.1.0"
tauri-plugin-os = "2.1.0"
tauri-plugin-process = "2.0.1"
tauri-plugin-shell = "2.1.0"
-tauri-plugin-single-instance = "2.0.1"
+[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\"))".dependencies]
+tauri-plugin-single-instance = { version = "2.2.1", features = ["deep-link"] }
tauri-plugin-store = "2.2.0"
tauri-plugin-updater = "2.2.0"
tauri-plugin-oauth = { git = "https://github.com/FabianLars/tauri-plugin-oauth", branch = "v2" }
tauri-plugin-window-state = "2.2.0"
tauri-plugin-positioner = "2.2.0"
+tauri-plugin-deep-link = "2.2.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
@@ -79,7 +81,6 @@ cap-flags = { path = "../../../crates/flags" }
cap-recording = { path = "../../../crates/recording" }
cap-export = { path = "../../../crates/export" }
flume.workspace = true
-tauri-plugin-deep-link = "2.2.0"
tracing-subscriber = "0.3.19"
[target.'cfg(target_os = "macos")'.dependencies]
diff --git a/apps/desktop/src-tauri/capabilities/default.json b/apps/desktop/src-tauri/capabilities/default.json
index 7c7dcebb3..cfa329c41 100644
--- a/apps/desktop/src-tauri/capabilities/default.json
+++ b/apps/desktop/src-tauri/capabilities/default.json
@@ -31,6 +31,7 @@
"oauth:allow-start",
"updater:default",
"notification:default",
+ "deep-link:default",
{
"identifier": "http:default",
"allow": [
diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs
index 9b3d41d47..99192855e 100644
--- a/apps/desktop/src-tauri/src/lib.rs
+++ b/apps/desktop/src-tauri/src/lib.rs
@@ -2047,6 +2047,7 @@ pub async fn run() {
}
builder
+ .plugin(tauri_plugin_deep_link::init())
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_store::Builder::new().build())
@@ -2057,7 +2058,6 @@ pub async fn run() {
.plugin(tauri_plugin_updater::Builder::new().build())
.plugin(tauri_plugin_notification::init())
.plugin(flags::plugin::init())
- .plugin(tauri_plugin_deep_link::init())
.invoke_handler({
let handler = specta_builder.invoke_handler();
@@ -2076,13 +2076,6 @@ pub async fn run() {
general_settings::init(&app);
fake_window::init(&app);
- // this doesn't work in dev on mac, just a fact of deeplinks
- app.deep_link().on_open_url(|event| {
- // TODO: handle deep link for auth
- dbg!(event.id());
- dbg!(event.urls());
- });
-
if let Ok(Some(auth)) = AuthStore::load(&app) {
sentry::configure_scope(|scope| {
scope.set_user(auth.user_id.map(|id| sentry::User {
diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json
index 92e3d0ed6..2d1d1720e 100644
--- a/apps/desktop/src-tauri/tauri.conf.json
+++ b/apps/desktop/src-tauri/tauri.conf.json
@@ -32,7 +32,13 @@
"deep-link": {
"desktop": {
"schemes": ["cap-desktop"]
- }
+ },
+ "mobile": [
+ {
+ "host": "cap.so",
+ "pathPrefix": ["/signin"]
+ }
+ ]
}
},
"bundle": {
diff --git a/apps/desktop/src/routes/(window-chrome)/signin.tsx b/apps/desktop/src/routes/(window-chrome)/signin.tsx
index 7da06521a..898852e21 100644
--- a/apps/desktop/src/routes/(window-chrome)/signin.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/signin.tsx
@@ -9,7 +9,8 @@ import {
useSubmission,
useNavigate,
} from "@solidjs/router";
-import { onMount, onCleanup } from "solid-js";
+import { onMount, onCleanup, createSignal } from "solid-js";
+import { onOpenUrl } from "@tauri-apps/plugin-deep-link";
import callbackTemplate from "./callback.template";
import { authStore } from "~/store";
@@ -62,6 +63,11 @@ const signInAction = action(async () => {
});
stopListening();
+ const isDevMode = import.meta.env.VITE_ENVIRONMENT === "development";
+ if (!isDevMode) {
+ return;
+ }
+
const token = url.searchParams.get("token");
const user_id = url.searchParams.get("user_id");
const expires = Number(url.searchParams.get("expires"));
@@ -97,6 +103,7 @@ export default function Page() {
const signIn = useAction(signInAction);
const submission = useSubmission(signInAction);
const navigate = useNavigate();
+ const [isSignedIn, setIsSignedIn] = createSignal(false);
// Listen for auth changes and redirect to signin if auth is cleared
onMount(async () => {
@@ -122,6 +129,44 @@ export default function Page() {
}
unsubscribe?.();
});
+
+ const unsubscribeDeepLink = await onOpenUrl(async (urls) => {
+ const isDevMode = import.meta.env.VITE_ENVIRONMENT === "development";
+ if (isDevMode) {
+ return;
+ }
+
+ for (const url of urls) {
+ if (!url.includes("token=")) return;
+
+ const urlObject = new URL(url);
+ const token = urlObject.searchParams.get("token");
+ const user_id = urlObject.searchParams.get("user_id");
+ const expires = Number(urlObject.searchParams.get("expires"));
+
+ if (!token || !expires || !user_id) {
+ throw new Error("Invalid signin params");
+ }
+
+ const existingAuth = await authStore.get();
+ await authStore.set({
+ token,
+ user_id,
+ expires,
+ plan: {
+ upgraded: false,
+ last_checked: 0,
+ manual: existingAuth?.plan?.manual ?? false,
+ },
+ });
+ setIsSignedIn(true);
+ alert("Successfully signed in to Cap!");
+ }
+ });
+
+ onCleanup(() => {
+ unsubscribeDeepLink();
+ });
});
return (
@@ -133,7 +178,17 @@ export default function Page() {
</h1>
<p class="text-gray-400">Beautiful screen recordings, owned by you.</p>
</div>
- {submission.pending ? (
+ {isSignedIn() ? (
+ <Button
+ variant="secondary"
+ onClick={async () => {
+ const currentWindow = getCurrentWindow();
+ await currentWindow.close();
+ }}
+ >
+ Close window
+ </Button>
+ ) : submission.pending ? (
<Button variant="secondary" onClick={() => submission.clear()}>
Cancel sign in
</Button>
diff --git a/apps/web/app/api/desktop/session/request/route.ts b/apps/web/app/api/desktop/session/request/route.ts
index b1a51fa74..df1c4ac31 100644
--- a/apps/web/app/api/desktop/session/request/route.ts
+++ b/apps/web/app/api/desktop/session/request/route.ts
@@ -41,7 +41,7 @@ export async function GET(req: NextRequest) {
}
const returnUrl = new URL(
- `http://127.0.0.1:${port}?token=${tokenValue}&expires=${decodedToken?.exp}&user_id=${user.id}`
+ `cap-desktop://signin?token=${tokenValue}&expires=${decodedToken?.exp}&user_id=${user.id}`
);
return Response.redirect(returnUrl.href);
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 393d98cc6..500f47bae 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -106,6 +106,9 @@ importers:
'@tauri-apps/api':
specifier: ^2.1.1
version: 2.1.1
+ '@tauri-apps/plugin-deep-link':
+ specifier: ^2.2.0
+ version: 2.2.0
'@tauri-apps/plugin-dialog':
specifier: 2.0.1
version: 2.0.1
@@ -418,7 +421,7 @@ importers:
version: 8.57.1
eslint-config-airbnb-typescript:
specifier: ^18.0.0
eslint-import-resolver-typescript:
specifier: ^3.6.1
@@ -757,7 +760,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 19.0.2(@types/[email protected])
+ version: 19.0.3(@types/[email protected])
dotenv-cli:
specifier: latest
version: 8.0.0
@@ -795,25 +798,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
@@ -844,7 +847,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 19.0.2(@types/[email protected])
+ version: 19.0.3(@types/[email protected])
'@vitejs/plugin-react':
specifier: ^4.0.3
@@ -4297,10 +4300,10 @@ packages:
react-dom:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-a4NFy6y2pfBMQWe4ZPCMh5/Fr3YMDeWWsPoc6KGXc5IbV0YMF8bPlQt3hLKRBGWQOR7C/VuuKnD4FE5CSHIbCA==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-31OJfaS6Aj3vFO/0pJE6iz3sDkQU6TB0m6/WfZ+i80Re4OG1pu5GCvP8bqOFuEAQpyc2sFKs6B+wOBvZuuSskg==}
peerDependencies:
- storybook: ^8.5.0-beta.4
+ storybook: ^8.6.0-alpha.0
vite: ^4.0.0 || ^5.0.0 || ^6.0.0
'@storybook/[email protected]':
@@ -4311,10 +4314,10 @@ packages:
peerDependencies:
storybook: ^8.3.3
- '@storybook/[email protected]':
- resolution: {integrity: sha512-b+V6hWSjo1g1jj+CQBm0br0/XAZ92NTEL7yiu3UuZsPZr27bNFysDEEpfxWjnlJP28z9R7VaHvMnEsQ5hRjdOA==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-FkI3YW7ObEAFBQokJ04uPIQnBbnsfUKf08jriZ/nB03dcUNVDkl1GjPHONXJK8IwUKfKsiXRVqmrqJPSkK6xvQ==}
peerDependencies:
- storybook: ^8.5.0-beta.4
+ storybook: ^8.6.0-alpha.0
'@storybook/[email protected]':
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
@@ -4541,6 +4544,9 @@ packages:
engines: {node: '>= 10'}
hasBin: true
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-H6mkxr2KZ3XJcKL44tiq6cOjCw9DL8OgU1xjn3j26Qsn+H/roPFiyhR7CHuB8Ar+sQFj4YVlfmJwtBajK2FETQ==}
+
'@tauri-apps/[email protected]':
resolution: {integrity: sha512-fnUrNr6EfvTqdls/ufusU7h6UbNFzLKvHk/zTuOiBq01R3dTODqwctZlzakdbfSp/7pNwTKvgKTAgl/NAP/Z0Q==}
@@ -4809,8 +4815,8 @@ packages:
resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}
- '@types/[email protected]':
- resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA==}
peerDependencies:
'@types/react': ^19.0.0
@@ -13738,26 +13744,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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -13810,18 +13816,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
@@ -13830,7 +13836,7 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -13849,33 +13855,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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -13897,16 +13903,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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -13921,31 +13927,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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@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
@@ -13954,43 +13960,43 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@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
@@ -13999,15 +14005,15 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@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])
@@ -14017,7 +14023,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -14026,15 +14032,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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -14044,7 +14050,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])
@@ -14052,7 +14058,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -14061,31 +14067,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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -14108,12 +14114,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])
@@ -14121,7 +14127,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 19.0.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
dependencies:
@@ -14191,14 +14197,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.2(@types/[email protected])
+ '@types/react-dom': 19.0.3(@types/[email protected])
'@radix-ui/[email protected]': {}
@@ -15046,9 +15052,9 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
- '@storybook/csf-plugin': 8.5.0-beta.4([email protected])
+ '@storybook/csf-plugin': 8.6.0-alpha.0([email protected])
browser-assert: 1.2.1
storybook: 8.3.3
ts-dedent: 2.2.0
@@ -15079,7 +15085,7 @@ snapshots:
storybook: 8.3.3
unplugin: 1.16.0
dependencies:
storybook: 8.3.3
unplugin: 1.16.0
@@ -15271,6 +15277,10 @@ snapshots:
'@tauri-apps/cli-win32-ia32-msvc': 2.1.0
'@tauri-apps/cli-win32-x64-msvc': 2.1.0
+ '@tauri-apps/[email protected]':
+ dependencies:
+ '@tauri-apps/api': 2.1.1
+
'@tauri-apps/[email protected]':
dependencies:
'@tauri-apps/api': 2.1.1
@@ -15617,7 +15627,7 @@ snapshots:
dependencies:
'@types/react': 18.3.9
dependencies:
'@types/react': 18.3.9
@@ -17636,7 +17646,7 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
dependencies:
confusing-browser-globals: 1.0.11
eslint: 8.57.1
@@ -17645,12 +17655,12 @@ snapshots:
object.entries: 1.1.8
semver: 6.3.1
dependencies:
'@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@typescript-eslint/parser': 7.18.0([email protected])([email protected])
eslint: 8.57.1
+ eslint-config-airbnb-base: 15.0.0([email protected])([email protected])
transitivePeerDependencies:
- eslint-plugin-import
@@ -17734,7 +17744,7 @@ snapshots:
debug: 4.3.7([email protected])
enhanced-resolve: 5.17.1
eslint: 8.57.1
fast-glob: 3.3.2
get-tsconfig: 4.8.1
is-bun-module: 1.2.1
@@ -17753,7 +17763,7 @@ snapshots:
debug: 4.3.7([email protected])
enhanced-resolve: 5.17.1
eslint: 8.57.1
fast-glob: 3.3.2
get-tsconfig: 4.8.1
is-bun-module: 1.2.1
@@ -17777,7 +17787,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -17788,7 +17798,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -17810,7 +17820,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -17838,7 +17848,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.1
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -22617,7 +22627,7 @@ snapshots:
dependencies:
- '@storybook/builder-vite': 8.5.0-beta.4([email protected])([email protected](@types/[email protected])([email protected]))
+ '@storybook/builder-vite': 8.6.0-alpha.0([email protected])([email protected](@types/[email protected])([email protected]))
transitivePeerDependencies:
- storybook
- vite