Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

wip: Notifications window (using toasts)

Richie McIlroy198a8c408596
diff --git a/Cargo.lock b/Cargo.lock
index d174c06f9..b9050aa7a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -206,30 +206,6 @@ dependencies = [
"pin-project-lite",
]
-[[package]]
-name = "async-executor"
-version = "1.13.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec"
-dependencies = [
- "async-task",
- "concurrent-queue",
- "fastrand",
- "futures-lite",
- "slab",
-]
-
-[[package]]
-name = "async-fs"
-version = "2.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a"
-dependencies = [
- "async-lock",
- "blocking",
- "futures-lite",
-]
-
[[package]]
name = "async-io"
version = "2.3.4"
@@ -1540,7 +1516,6 @@ dependencies = [
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-global-shortcut",
- "tauri-plugin-notification",
"tauri-plugin-oauth",
"tauri-plugin-os",
"tauri-plugin-process",
@@ -1589,16 +1564,6 @@ dependencies = [
"dirs-sys",
]
-[[package]]
-name = "dirs-next"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
-dependencies = [
- "cfg-if 1.0.0",
- "dirs-sys-next",
-]
-
[[package]]
name = "dirs-sys"
version = "0.4.1"
@@ -1611,17 +1576,6 @@ dependencies = [
"windows-sys 0.48.0",
]
-[[package]]
-name = "dirs-sys-next"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
-dependencies = [
- "libc",
- "redox_users",
- "winapi",
-]
-
[[package]]
name = "dispatch"
version = "0.2.0"
@@ -3366,19 +3320,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
-[[package]]
-name = "mac-notification-sys"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dce8f34f3717aa37177e723df6c1fc5fb02b2a1087374ea3fe0ea42316dc8f91"
-dependencies = [
- "cc",
- "dirs-next",
- "objc-foundation",
- "objc_id",
- "time",
-]
-
[[package]]
name = "mach2"
version = "0.4.2"
@@ -3814,19 +3755,6 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8"
-[[package]]
-name = "notify-rust"
-version = "4.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5134a72dc570b178bff81b01e81ab14a6fcc015391ed4b3b14853090658cd3a3"
-dependencies = [
- "log",
- "mac-notification-sys",
- "serde",
- "tauri-winrt-notification",
- "zbus",
-]
-
[[package]]
name = "ntapi"
version = "0.4.1"
@@ -4530,7 +4458,7 @@ checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016"
dependencies = [
"base64 0.22.1",
"indexmap 2.5.0",
- "quick-xml 0.32.0",
+ "quick-xml",
"serde",
"time",
]
@@ -4683,15 +4611,6 @@ version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
-[[package]]
-name = "quick-xml"
-version = "0.31.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33"
-dependencies = [
- "memchr",
-]
-
[[package]]
name = "quick-xml"
version = "0.32.0"
@@ -6272,25 +6191,6 @@ dependencies = [
"thiserror",
]
-[[package]]
-name = "tauri-plugin-notification"
-version = "2.0.0-rc.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e69aaabfb7720083862ea35de37d9ad71b9465249762462ced38c2c92690a9e"
-dependencies = [
- "log",
- "notify-rust",
- "rand 0.8.5",
- "serde",
- "serde_json",
- "serde_repr",
- "tauri",
- "tauri-plugin",
- "thiserror",
- "time",
- "url",
-]
-
[[package]]
name = "tauri-plugin-oauth"
version = "0.0.0-alpha.0"
@@ -6514,17 +6414,6 @@ dependencies = [
"toml 0.7.8",
]
-[[package]]
-name = "tauri-winrt-notification"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f89f5fb70d6f62381f5d9b2ba9008196150b40b75f3068eb24faeddf1c686871"
-dependencies = [
- "quick-xml 0.31.0",
- "windows 0.56.0",
- "windows-version",
-]
-
[[package]]
name = "tempfile"
version = "3.12.0"
@@ -7558,16 +7447,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "windows"
-version = "0.56.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132"
-dependencies = [
- "windows-core 0.56.0",
- "windows-targets 0.52.6",
-]
-
[[package]]
name = "windows"
version = "0.57.0"
@@ -7628,18 +7507,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "windows-core"
-version = "0.56.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6"
-dependencies = [
- "windows-implement 0.56.0",
- "windows-interface 0.56.0",
- "windows-result 0.1.2",
- "windows-targets 0.52.6",
-]
-
[[package]]
name = "windows-core"
version = "0.57.0"
@@ -7665,17 +7532,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "windows-implement"
-version = "0.56.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.75",
-]
-
[[package]]
name = "windows-implement"
version = "0.57.0"
@@ -7698,17 +7554,6 @@ dependencies = [
"syn 2.0.75",
]
-[[package]]
-name = "windows-interface"
-version = "0.56.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.75",
-]
-
[[package]]
name = "windows-interface"
version = "0.57.0"
@@ -8118,15 +7963,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b8e3d6ae3342792a6cc2340e4394334c7402f3d793b390d2c5494a4032b3030"
dependencies = [
"async-broadcast",
- "async-executor",
- "async-fs",
- "async-io",
- "async-lock",
"async-process",
"async-recursion",
- "async-task",
"async-trait",
- "blocking",
"derivative",
"enumflags2",
"event-listener",
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index f564219b1..488a63a50 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -44,6 +44,7 @@
"solid-js": "^1.7.8",
"solid-markdown": "^2.0.13",
"solid-presence": "^0.1.8",
+ "solid-toast": "^0.5.0",
"solid-transition-group": "^0.2.3",
"unplugin-auto-import": "^0.18.2",
"unplugin-icons": "^0.19.2",
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index b4dadd836..393d72f47 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -29,7 +29,6 @@ tauri-plugin-os = "2.0.0-rc.0"
tauri-plugin-process = "2.0.0-rc.0"
tauri-plugin-decorum = "1.0.0"
tauri-plugin-dialog = "2.0.0-rc.0"
-tauri-plugin-notification = "2.0.0-rc.0"
tauri-plugin-updater = "2.0.0-rc.0"
tauri-plugin-oauth = { git = "https://github.com/FabianLars/tauri-plugin-oauth", branch = "v2" }
tauri-plugin-global-shortcut = "2.0.0-rc.0"
diff --git a/apps/desktop/src-tauri/capabilities/default.json b/apps/desktop/src-tauri/capabilities/default.json
index 0dd6e4695..32e87cd56 100644
--- a/apps/desktop/src-tauri/capabilities/default.json
+++ b/apps/desktop/src-tauri/capabilities/default.json
@@ -27,7 +27,6 @@
"store:default",
"process:default",
"oauth:allow-start",
- "updater:default",
- "notification:default"
+ "updater:default"
]
}
diff --git a/apps/desktop/src-tauri/src/general_settings.rs b/apps/desktop/src-tauri/src/general_settings.rs
index e3cce3758..037a228fd 100644
--- a/apps/desktop/src-tauri/src/general_settings.rs
+++ b/apps/desktop/src-tauri/src/general_settings.rs
@@ -13,6 +13,8 @@ pub struct GeneralSettingsStore {
pub hide_dock_icon: bool,
#[serde(default)]
pub auto_create_shareable_link: bool,
+ #[serde(default)]
+ pub enable_tooltip_notifications: bool, // New field
}
impl GeneralSettingsStore {
diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs
index 3a50e09c3..052010f2e 100644
--- a/apps/desktop/src-tauri/src/lib.rs
+++ b/apps/desktop/src-tauri/src/lib.rs
@@ -54,7 +54,6 @@ use std::{
};
use tauri::{AppHandle, Manager, Runtime, State, WindowEvent};
use tauri_nspanel::ManagerExt;
-use tauri_plugin_notification::PermissionState;
use tauri_plugin_shell::ShellExt;
use tauri_specta::Event;
use tokio::task;
@@ -237,6 +236,12 @@ pub struct RequestOpenSettings {
page: String,
}
+#[derive(Deserialize, specta::Type, Serialize, tauri_specta::Event, Debug, Clone)]
+pub struct NewNotification {
+ title: String,
+ body: String,
+}
+
type MutableState<'a, T> = State<'a, Arc<RwLock<T>>>;
#[tauri::command]
@@ -1201,6 +1206,11 @@ async fn copy_rendered_video_to_clipboard(
println!("Copying to clipboard: {:?}", output_path_str);
+ notifications::send_notification(
+ &app,
+ notifications::NotificationType::VideoCopiedToClipboard,
+ );
+
#[cfg(target_os = "macos")]
{
use cocoa::appkit::NSPasteboard;
@@ -1359,6 +1369,17 @@ async fn remove_fake_window(
Ok(())
}
+#[tauri::command(async)]
+#[specta::specta]
+fn show_notifications_window(app: AppHandle) {
+ if app.get_webview_window("notifications").is_some() {
+ println!("notifications window already exists");
+ return;
+ }
+
+ CapWindow::Notifications.show(&app).unwrap();
+}
+
#[tauri::command(async)]
#[specta::specta]
fn show_previous_recordings_window(app: AppHandle) {
@@ -2247,6 +2268,7 @@ pub async fn run() {
list_capture_screens,
list_audio_devices,
show_previous_recordings_window,
+ show_notifications_window,
close_previous_recordings_window,
set_fake_window_bounds,
remove_fake_window,
@@ -2305,6 +2327,7 @@ pub async fn run() {
RequestStopRecording,
RequestNewScreenshot,
RequestOpenSettings,
+ NewNotification
])
.ty::<ProjectConfiguration>()
.ty::<AuthStore>()
@@ -2333,7 +2356,6 @@ pub async fn run() {
.plugin(tauri_plugin_process::init())
.plugin(tauri_plugin_oauth::init())
.plugin(tauri_plugin_updater::Builder::new().build())
- .plugin(tauri_plugin_notification::init())
.invoke_handler(specta_builder.invoke_handler())
.setup(move |app| {
specta_builder.mount_events(app);
@@ -2342,18 +2364,6 @@ pub async fn run() {
let app_handle = app.handle().clone();
- #[cfg(target_os = "macos")]
- {
- use tauri_plugin_notification::NotificationExt;
-
- let notification_permission = app.notification().permission_state().unwrap();
- if notification_permission != PermissionState::Granted {
- app.notification()
- .request_permission()
- .expect("failed to request notification permission");
- }
- }
-
if permissions::do_permissions_check(true).necessary_granted() {
open_main_window(app_handle.clone());
} else {
diff --git a/apps/desktop/src-tauri/src/notifications.rs b/apps/desktop/src-tauri/src/notifications.rs
index e51ab86de..ad116894a 100644
--- a/apps/desktop/src-tauri/src/notifications.rs
+++ b/apps/desktop/src-tauri/src/notifications.rs
@@ -1,4 +1,5 @@
-use tauri_plugin_notification::NotificationExt;
+use crate::NewNotification;
+use tauri_specta::Event;
pub enum NotificationType {
VideoSaved,
@@ -50,8 +51,9 @@ pub fn send_notification(app: &tauri::AppHandle, notification_type: Notification
println!("Sending notification: Title: '{}', Body: '{}'", title, body);
- match app.notification().builder().title(title).body(body).show() {
- Ok(_) => println!("Notification sent successfully"),
- Err(e) => eprintln!("Failed to send notification: {}", e),
+ let _ = NewNotification {
+ title: title.to_string(),
+ body: body.to_string(),
}
+ .emit(app);
}
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs
index 731965358..381740729 100644
--- a/apps/desktop/src-tauri/src/windows.rs
+++ b/apps/desktop/src-tauri/src/windows.rs
@@ -6,6 +6,7 @@ pub enum CapWindow {
Editor { project_id: String },
Permissions,
PrevRecordings,
+ Notifications,
WindowCaptureOccluder,
Camera { ws_port: u16 },
InProgressRecording { position: Option<(f64, f64)> },
@@ -23,6 +24,7 @@ impl CapWindow {
"window-capture-occluder" => Self::WindowCaptureOccluder,
"in-progress-recording" => Self::InProgressRecording { position: None },
"prev-recordings" => Self::PrevRecordings,
+ "notifications" => Self::Notifications,
"permissions" => Self::Permissions,
"feedback" => Self::Feedback,
"upgrade" => Self::Upgrade,
@@ -42,6 +44,7 @@ impl CapWindow {
Self::WindowCaptureOccluder => "window-capture-occluder".to_string(),
Self::InProgressRecording { .. } => "in-progress-recording".to_string(),
Self::PrevRecordings => "prev-recordings".to_string(),
+ Self::Notifications => "notifications".to_string(),
Self::Editor { project_id } => format!("editor-{}", project_id),
Self::Permissions => "permissions".to_string(),
Self::Feedback => "feedback".to_string(),
@@ -56,6 +59,7 @@ impl CapWindow {
Self::WindowCaptureOccluder => "Cap Window Capture Occluder".to_string(),
Self::InProgressRecording { .. } => "Cap In Progress Recording".to_string(),
Self::Editor { .. } => "Cap Editor".to_string(),
+ Self::Notifications => "Cap Notifications".to_string(),
Self::Permissions => "Cap Permissions".to_string(),
Self::Changelog => "Cap Changelog".to_string(),
_ => "Cap".to_string(),
@@ -67,6 +71,7 @@ impl CapWindow {
CapWindow::Main => true,
CapWindow::Editor { .. } => true,
CapWindow::Settings { .. } => true,
+ CapWindow::Notifications => true,
CapWindow::Permissions => true,
CapWindow::Feedback => true,
CapWindow::Upgrade => true,
@@ -242,6 +247,31 @@ impl CapWindow {
window
}
+ Self::Notifications => {
+ let window =
+ WebviewWindow::builder(app, &label, WebviewUrl::App("/notifications".into()))
+ .title(self.title())
+ .maximized(false)
+ .transparent(true)
+ .resizable(false)
+ .fullscreen(false)
+ .decorations(false)
+ .shadow(false)
+ .always_on_top(true)
+ .visible_on_all_workspaces(true)
+ .content_protected(true)
+ .inner_size(350.0, 350.0)
+ .position(
+ (monitor.size().width as f64) / monitor.scale_factor() - 350.0,
+ 0.0,
+ )
+ .build()?;
+
+ // Make window non-interactive
+ window.set_ignore_cursor_events(true)?;
+
+ window
+ }
Self::PrevRecordings => {
let window =
WebviewWindow::builder(app, &label, WebviewUrl::App("/prev-recordings".into()))
diff --git a/apps/desktop/src/App.tsx b/apps/desktop/src/App.tsx
index 93312dc60..09494d6af 100644
--- a/apps/desktop/src/App.tsx
+++ b/apps/desktop/src/App.tsx
@@ -12,8 +12,6 @@ export default function App() {
return (
<ErrorBoundary
fallback={(e: Error) => {
- console.log("An error was caught by the root error boundary");
- console.log(e);
return (
<>
<p>{e.toString()}</p>
diff --git a/apps/desktop/src/routes/(window-chrome)/index.tsx b/apps/desktop/src/routes/(window-chrome)/index.tsx
index b12e6b308..1780e9636 100644
--- a/apps/desktop/src/routes/(window-chrome)/index.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/index.tsx
@@ -68,6 +68,7 @@ export default function () {
onMount(async () => {
await commands.showPreviousRecordingsWindow();
+ await commands.showNotificationsWindow();
});
const isRecording = () => !!currentRecording.data;
@@ -82,7 +83,6 @@ export default function () {
},
}));
- // important for sign in redirect, trust me
createAsync(() => getAuth());
createUpdateCheck();
diff --git a/apps/desktop/src/routes/(window-chrome)/settings.tsx b/apps/desktop/src/routes/(window-chrome)/settings.tsx
index d031a1e02..995c634c6 100644
--- a/apps/desktop/src/routes/(window-chrome)/settings.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/settings.tsx
@@ -1,6 +1,6 @@
import { A, type RouteSectionProps, useLocation } from "@solidjs/router";
import { cx } from "cva";
-import { createResource, For } from "solid-js";
+import { createResource, For, createSignal } from "solid-js";
import { Button } from "@cap/ui-solid";
import { commands } from "~/utils/tauri";
import { getVersion } from "@tauri-apps/api/app";
@@ -15,6 +15,17 @@ export default function (props: RouteSectionProps) {
const [version] = createResource(async () => getVersion());
const versionString = () => version() ?? "0";
+ const [enableTooltipNotifications, setEnableTooltipNotifications] =
+ createSignal(false);
+
+ const handleToggleNotifications = () => {
+ setEnableTooltipNotifications(!enableTooltipNotifications());
+ commands.setGeneralSettings({
+ ...options.data,
+ enableTooltipNotifications: !enableTooltipNotifications(),
+ });
+ };
+
return (
<div class="h-[calc(100vh-3rem)] flex flex-row divide-x divide-gray-200 text-[0.875rem] leading-[1.25rem]">
<div class="h-full flex flex-col">
@@ -63,6 +74,16 @@ export default function (props: RouteSectionProps) {
<Button onClick={handleSignOut} variant="secondary" class="w-full">
Sign Out
</Button>
+ <div>
+ <label>
+ <input
+ type="checkbox"
+ checked={enableTooltipNotifications()}
+ onChange={handleToggleNotifications}
+ />
+ Enable Tooltip Notifications
+ </label>
+ </div>
</div>
</div>
<div class="flex-1 bg-gray-50">{props.children}</div>
diff --git a/apps/desktop/src/routes/notifications.tsx b/apps/desktop/src/routes/notifications.tsx
new file mode 100644
index 000000000..9264c1508
--- /dev/null
+++ b/apps/desktop/src/routes/notifications.tsx
@@ -0,0 +1,21 @@
+import { events } from "~/utils/tauri";
+import toast, { Toaster } from "solid-toast";
+
+export default function Page() {
+ events.newNotification.listen((e) => {
+ toast.success(e.payload.body);
+ });
+
+ return (
+ <>
+ <style>
+ {`
+ body {
+ background: transparent !important;
+ }
+ `}
+ </style>
+ <Toaster />
+ </>
+ );
+}
diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.ts
index 6049cae67..b38607280 100644
--- a/apps/desktop/src/utils/tauri.ts
+++ b/apps/desktop/src/utils/tauri.ts
@@ -81,6 +81,9 @@ async listAudioDevices() : Promise<Result<string[], null>> {
async showPreviousRecordingsWindow() : Promise<void> {
await TAURI_INVOKE("show_previous_recordings_window");
},
+async showNotificationsWindow() : Promise<void> {
+ await TAURI_INVOKE("show_notifications_window");
+},
async closePreviousRecordingsWindow() : Promise<void> {
await TAURI_INVOKE("close_previous_recordings_window");
},
@@ -322,6 +325,7 @@ async isCameraWindowOpen() : Promise<boolean> {
export const events = __makeEvents__<{
currentRecordingChanged: CurrentRecordingChanged,
editorStateChanged: EditorStateChanged,
+newNotification: NewNotification,
newRecordingAdded: NewRecordingAdded,
newScreenshotAdded: NewScreenshotAdded,
recordingMetaChanged: RecordingMetaChanged,
@@ -338,6 +342,7 @@ showCapturesPanel: ShowCapturesPanel
}>({
currentRecordingChanged: "current-recording-changed",
editorStateChanged: "editor-state-changed",
+newNotification: "new-notification",
newRecordingAdded: "new-recording-added",
newScreenshotAdded: "new-screenshot-added",
recordingMetaChanged: "recording-meta-changed",
@@ -380,13 +385,14 @@ export type CursorConfiguration = { hideWhenIdle: boolean; size: number; type: C
export type CursorType = "pointer" | "circle"
export type Display = { path: string }
export type EditorStateChanged = { playhead_position: number }
-export type GeneralSettingsStore = { upload_individual_files: boolean; open_editor_after_recording: boolean; hide_dock_icon?: boolean; auto_create_shareable_link?: boolean }
+export type GeneralSettingsStore = { upload_individual_files: boolean; open_editor_after_recording: boolean; hide_dock_icon?: boolean; auto_create_shareable_link?: boolean; enable_tooltip_notifications?: boolean }
export type Hotkey = { code: string; meta: boolean; ctrl: boolean; alt: boolean; shift: boolean }
export type HotkeyAction = "startRecording" | "stopRecording" | "restartRecording" | "takeScreenshot"
export type HotkeysConfiguration = { show: boolean }
export type HotkeysStore = { hotkeys: { [key in HotkeyAction]: Hotkey } }
export type InProgressRecording = { recordingDir: string; displaySource: ScreenCaptureTarget; segments: number[] }
export type JsonValue<T> = [T]
+export type NewNotification = { title: string; body: string }
export type NewRecordingAdded = { path: string }
export type NewScreenshotAdded = { path: string }
export type OSPermission = "screenRecording" | "camera" | "microphone" | "accessibility"
diff --git a/crates/rendering/src/lib.rs b/crates/rendering/src/lib.rs
index 759699718..9e40d42e0 100644
--- a/crates/rendering/src/lib.rs
+++ b/crates/rendering/src/lib.rs
@@ -356,7 +356,7 @@ impl ProjectUniforms {
target_bounds[3] - target_bounds[1],
];
- let scale = 1.0;
+ let scale = 2.0;
let scale_origin = (0.0, 0.0);
let screen_scale_origin = (
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e52385a3f..e4053daf2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -142,6 +142,9 @@ importers:
solid-presence:
specifier: ^0.1.8
version: 0.1.8([email protected])
+ solid-toast:
+ specifier: ^0.5.0
+ version: 0.5.0([email protected])
solid-transition-group:
specifier: ^0.2.3
version: 0.2.3([email protected])
@@ -324,7 +327,7 @@ importers:
storybook-solidjs-vite:
specifier: ^1.0.0-beta.2
typescript:
specifier: ^5.2.2
version: 5.6.2
@@ -721,7 +724,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 18.3.0
+ version: 18.3.1
dotenv-cli:
specifier: latest
version: 7.4.2
@@ -759,25 +762,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
@@ -808,7 +811,7 @@ importers:
version: 18.3.9
'@types/react-dom':
specifier: latest
- version: 18.3.0
+ version: 18.3.1
'@vitejs/plugin-react':
specifier: ^4.0.3
@@ -4003,21 +4006,11 @@ packages:
react-dom:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-5n/5jf5io6r19WkASsdGR+knJTrQPRm9DIlnrxcNt9od4DnACOfBeu/TUIXJaoABW0Knm1eOoluYRtKvOWtCLQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-7SlyZ3XQRQju4GFlzNLS45KhUAfWnBexKnqqpL2sOPMgcTfIkahESZXhhi1lX4AwHT1hXSkKR23lUhgS39E3Fw==}
peerDependencies:
- '@preact/preset-vite': '*'
- storybook: ^8.4.0-alpha.5
- typescript: '>= 4.3.x'
+ storybook: ^8.4.0-beta.0
vite: ^4.0.0 || ^5.0.0
- vite-plugin-glimmerx: '*'
- peerDependenciesMeta:
- '@preact/preset-vite':
- optional: true
- typescript:
- optional: true
- vite-plugin-glimmerx:
- optional: true
'@storybook/[email protected]':
resolution: {integrity: sha512-pmf2bP3fzh45e56gqOuBT8sDX05hGdUKIZ/hcI84d5xmd6MeHiPW8th2v946wCHcxHzxib2/UU9vQUh+mB4VNw==}
@@ -4027,10 +4020,10 @@ packages:
peerDependencies:
storybook: ^8.3.3
- '@storybook/[email protected]':
- resolution: {integrity: sha512-YtTBXDKE9uQEZpZaagiVrMauJ/TojsSC3AQjoM9s6zg0kPu41iUk8YYZi6HyDZxwx0AKPDRAY/eMwVhq8odNHQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-tsyl6txhgY3+nb8kuo1vbKF/G7BBXwJGZwvDhUBUBs/DVHhnxgc4t07wHNtqa1JYAV+v0Pwb10xvs6hK+9O55w==}
peerDependencies:
- storybook: ^8.4.0-alpha.5
+ storybook: ^8.4.0-beta.0
'@storybook/[email protected]':
resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}
@@ -4387,9 +4380,6 @@ packages:
resolution: {integrity: sha512-dNKVfHd/jk0SkR/exKGj2ggkB45MAkzvWCaqLUUgkyjITkGNzH8H+yUwr+BLJUBjZOe9w8X3wgmXhZDRg1ED6A==}
- '@types/[email protected]':
- resolution: {integrity: sha512-frsJrz2t/CeGifcu/6uRo4b+SzAwT4NYCVPu1GN8IB9XTzrpPkGuV0tmh9mN+/L0PklAlsC3u5Fxt0ju00LXIw==}
-
resolution: {integrity: sha512-0JVF3wdQG+pN0ImwWD0bNgJiKF2OHg/7CDBHw5UIbRTvlnkgGHK6V5doE54ltvhud4o31/dEiHm23CAlxFiUQg==}
@@ -4489,6 +4479,9 @@ packages:
resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==}
+
resolution: {integrity: sha512-UzjzmgY/VH3Str6DcAGTLMA1mVVhGOyARNTANExrirtp+JgxhaIOVDxq4TIRmpSi4voLv+w4HA9CC5GvhhCA0A==}
deprecated: This is a stub types definition. react-tooltip provides its own type definitions, so you do not need this installed.
@@ -6441,10 +6434,6 @@ packages:
resolution: {integrity: sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==}
engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
engines: {node: '>=8'}
@@ -9253,6 +9242,11 @@ packages:
peerDependencies:
solid-js: ^1.3
+ resolution: {integrity: sha512-t770JakjyS2P9b8Qa1zMLOD51KYKWXbTAyJePVUoYex5c5FH5S/HtUBUbZAWFcqRCKmAE8KhyIiCvDZA8bOnxQ==}
+ peerDependencies:
+ solid-js: ^1.5.4
+
resolution: {integrity: sha512-iB72c9N5Kz9ykRqIXl0lQohOau4t0dhel9kjwFvx81UZJbVwaChMuBuyhiZmK24b8aKEK0w3uFM96ZxzcyZGdg==}
engines: {node: '>=18.0.0', pnpm: '>=8.6.0'}
@@ -12605,26 +12599,26 @@ snapshots:
'@radix-ui/[email protected]': {}
dependencies:
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@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': 18.3.0
+ '@types/react-dom': 18.3.1
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-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([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': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -12677,18 +12671,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])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@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-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-scope': 1.1.0(@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-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@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-controllable-state': 1.1.0(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -12697,7 +12691,7 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -12716,33 +12710,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-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([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': 18.3.0
+ '@types/react-dom': 18.3.1
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-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([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': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -12764,16 +12758,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-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([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': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -12788,31 +12782,31 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.9
dependencies:
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@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': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
'@radix-ui/primitive': 1.1.0
- '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([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-direction': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@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])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-scope': 1.1.0(@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-primitive': 2.0.0(@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])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@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])([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
@@ -12821,43 +12815,43 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
'@radix-ui/primitive': 1.1.0
- '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([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-direction': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.0(@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])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([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])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.1.0(@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': 18.3.0
+ '@types/react-dom': 18.3.1
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])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.0(@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-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-scope': 1.1.0(@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-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@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-controllable-state': 1.1.0(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -12866,15 +12860,15 @@ snapshots:
react-remove-scroll: 2.5.7(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 18.3.0
+ '@types/react-dom': 18.3.1
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-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([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])
@@ -12884,7 +12878,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -12893,15 +12887,15 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
'@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': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -12911,7 +12905,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])
@@ -12919,7 +12913,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -12928,31 +12922,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': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
'@radix-ui/primitive': 1.1.0
- '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([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-direction': 1.1.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([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': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -12975,12 +12969,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-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([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])
@@ -12988,7 +12982,7 @@ snapshots:
react-dom: 18.3.1([email protected])
optionalDependencies:
'@types/react': 18.3.9
- '@types/react-dom': 18.3.0
+ '@types/react-dom': 18.3.1
dependencies:
@@ -13058,14 +13052,14 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.9
dependencies:
- '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-primitive': 2.0.0(@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': 18.3.0
+ '@types/react-dom': 18.3.1
'@radix-ui/[email protected]': {}
@@ -13917,19 +13911,13 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
dependencies:
- '@storybook/csf-plugin': 8.4.0-alpha.5([email protected])
- '@types/find-cache-dir': 3.2.1
+ '@storybook/csf-plugin': 8.4.0-beta.0([email protected])
browser-assert: 1.2.1
- es-module-lexer: 1.5.4
- find-cache-dir: 3.3.2
- magic-string: 0.30.11
storybook: 8.3.3
ts-dedent: 2.2.0
- optionalDependencies:
- typescript: 5.6.2
transitivePeerDependencies:
- webpack-sources
@@ -13960,7 +13948,7 @@ snapshots:
transitivePeerDependencies:
- webpack-sources
dependencies:
storybook: 8.3.3
unplugin: 1.14.1
@@ -14346,8 +14334,6 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]': {}
-
dependencies:
'@types/node': 20.16.9
@@ -14452,6 +14438,10 @@ snapshots:
dependencies:
'@types/react': 18.3.9
+ '@types/[email protected]':
+ dependencies:
+ '@types/react': 18.3.9
+
dependencies:
@@ -17026,12 +17016,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- commondir: 1.0.1
- make-dir: 3.1.0
- pkg-dir: 4.2.0
-
dependencies:
locate-path: 5.0.0
@@ -20643,6 +20627,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ solid-js: 1.9.1
+
dependencies:
'@solid-primitives/refs': 1.0.8([email protected])
@@ -20707,15 +20695,12 @@ snapshots:
dependencies:
internal-slot: 1.0.7
dependencies:
+ '@storybook/builder-vite': 8.4.0-beta.0([email protected])([email protected](@types/[email protected])([email protected]))
transitivePeerDependencies:
- - '@preact/preset-vite'
- storybook
- - typescript
- vite
- - vite-plugin-glimmerx
- webpack-sources