From 21f023dd487ebfb6c730d228b0004885ae3ba7aa Mon Sep 17 00:00:00 2001 From: Ilya <47112191+ItsEeleeya@users.noreply.github.com> Date: Fri, 3 Apr 2026 02:55:31 +0330 Subject: [PATCH 1/7] Auto migrate with `@tailwindcss/upgrade` --- .../src/components/CapErrorBoundary.tsx | 4 +- apps/desktop/src/components/Cropper.tsx | 16 +-- apps/desktop/src/components/Loader.tsx | 2 +- apps/desktop/src/components/SignInButton.tsx | 2 +- apps/desktop/src/components/Toggle.tsx | 12 +- .../src/components/titlebar/Titlebar.tsx | 6 +- .../controls/CaptionControlsWindows11.tsx | 2 +- apps/desktop/src/entry-server.tsx | 2 +- apps/desktop/src/routes/(window-chrome).tsx | 4 +- .../(window-chrome)/new-main/CameraSelect.tsx | 4 +- .../new-main/DeviceSelectOverlay.tsx | 2 +- .../new-main/MicrophoneSelect.tsx | 4 +- .../new-main/ModeInfoPanel.tsx | 4 +- .../(window-chrome)/new-main/TargetCard.tsx | 34 ++--- .../new-main/TargetDropdownButton.tsx | 2 +- .../new-main/TargetTypeButton.tsx | 2 +- .../routes/(window-chrome)/new-main/index.tsx | 28 ++-- .../src/routes/(window-chrome)/onboarding.tsx | 124 +++++++++--------- .../src/routes/(window-chrome)/settings.tsx | 8 +- .../(window-chrome)/settings/changelog.tsx | 12 +- .../(window-chrome)/settings/feedback.tsx | 6 +- .../(window-chrome)/settings/general.tsx | 14 +- .../(window-chrome)/settings/hotkeys.tsx | 4 +- .../settings/integrations/s3-config.tsx | 6 +- .../(window-chrome)/settings/license.tsx | 10 +- .../(window-chrome)/settings/recordings.tsx | 12 +- .../(window-chrome)/settings/screenshots.tsx | 12 +- .../settings/transcription.tsx | 4 +- .../src/routes/(window-chrome)/update.tsx | 16 +-- .../src/routes/(window-chrome)/upgrade.tsx | 18 +-- apps/desktop/src/routes/camera.tsx | 6 +- apps/desktop/src/routes/capture-area.tsx | 10 +- apps/desktop/src/routes/debug.tsx | 14 +- .../src/routes/editor/AspectRatioSelect.tsx | 2 +- .../desktop/src/routes/editor/CaptionsTab.tsx | 4 +- .../src/routes/editor/ConfigSidebar.tsx | 78 +++++------ apps/desktop/src/routes/editor/Editor.tsx | 26 ++-- .../src/routes/editor/EditorErrorScreen.tsx | 2 +- apps/desktop/src/routes/editor/ExportPage.tsx | 24 ++-- apps/desktop/src/routes/editor/Header.tsx | 4 +- .../desktop/src/routes/editor/KeyboardTab.tsx | 4 +- .../desktop/src/routes/editor/MaskOverlay.tsx | 2 +- .../src/routes/editor/PerformanceOverlay.tsx | 2 +- .../src/routes/editor/PresetsDropdown.tsx | 2 +- .../desktop/src/routes/editor/ShareButton.tsx | 8 +- .../desktop/src/routes/editor/TextOverlay.tsx | 2 +- .../routes/editor/Timeline/CaptionsTrack.tsx | 4 +- .../src/routes/editor/Timeline/ClipTrack.tsx | 12 +- .../routes/editor/Timeline/KeyboardTrack.tsx | 6 +- .../src/routes/editor/Timeline/MaskTrack.tsx | 10 +- .../src/routes/editor/Timeline/SceneTrack.tsx | 8 +- .../src/routes/editor/Timeline/TextTrack.tsx | 8 +- .../src/routes/editor/Timeline/Track.tsx | 4 +- .../routes/editor/Timeline/TrackManager.tsx | 2 +- .../src/routes/editor/Timeline/ZoomTrack.tsx | 8 +- .../src/routes/editor/Timeline/index.tsx | 8 +- .../src/routes/editor/TranscriptPage.tsx | 8 +- .../desktop/src/routes/editor/color-utils.tsx | 8 +- apps/desktop/src/routes/editor/context.ts | 2 +- .../src/routes/editor/editor-skeleton.tsx | 42 +++--- apps/desktop/src/routes/editor/text-style.tsx | 8 +- apps/desktop/src/routes/editor/ui.tsx | 30 ++--- .../src/routes/in-progress-recording.tsx | 18 +-- .../desktop/src/routes/recordings-overlay.tsx | 22 ++-- .../screenshot-editor/AnnotationConfig.tsx | 10 +- .../screenshot-editor/AnnotationLayer.tsx | 2 +- .../screenshot-editor/AnnotationTools.tsx | 4 +- .../routes/screenshot-editor/ColorPicker.tsx | 8 +- .../src/routes/screenshot-editor/Editor.tsx | 30 ++--- .../routes/screenshot-editor/LayersPanel.tsx | 8 +- .../src/routes/screenshot-editor/Preview.tsx | 6 +- .../src/routes/screenshot-editor/context.tsx | 2 +- .../popovers/AspectRatioSelect.tsx | 2 +- .../popovers/BackgroundSettingsPopover.tsx | 14 +- .../popovers/RoundingPopover.tsx | 8 +- .../popovers/ShadowPopover.tsx | 8 +- .../screenshot-editor-skeleton.tsx | 4 +- .../src/routes/screenshot-editor/ui.tsx | 30 ++--- .../screenshot-editor/useScreenshotExport.ts | 2 +- .../src/routes/target-select-overlay.tsx | 12 +- apps/desktop/src/utils/tauri.ts | 4 +- packages/ui-solid/package.json | 2 +- packages/ui-solid/src/Button.tsx | 12 +- packages/ui-solid/src/SwitchTab.tsx | 6 +- packages/ui-solid/src/main.css | 24 +++- packages/ui-solid/tailwind.config.js | 6 +- packages/ui/src/components/Button.tsx | 4 +- packages/ui/src/components/Card.tsx | 2 +- packages/ui/src/components/Cmdk.tsx | 8 +- packages/ui/src/components/Dialog.tsx | 6 +- packages/ui/src/components/Dropdown.tsx | 12 +- packages/ui/src/components/NavigationMenu.tsx | 10 +- packages/ui/src/components/Popover.tsx | 2 +- packages/ui/src/components/Select.tsx | 14 +- packages/ui/src/components/SkeletonRows.tsx | 4 +- packages/ui/src/components/Switch.tsx | 4 +- packages/ui/src/components/Table.tsx | 6 +- packages/ui/src/components/input/Input.tsx | 2 +- 98 files changed, 535 insertions(+), 517 deletions(-) diff --git a/apps/desktop/src/components/CapErrorBoundary.tsx b/apps/desktop/src/components/CapErrorBoundary.tsx index 5bf7fc132e..2dca68d1d4 100644 --- a/apps/desktop/src/components/CapErrorBoundary.tsx +++ b/apps/desktop/src/components/CapErrorBoundary.tsx @@ -9,9 +9,9 @@ export function CapErrorBoundary(props: ParentProps) { fallback={(e: Error) => { console.error(e); return ( -
+
-

+

An Error Occured

diff --git a/apps/desktop/src/components/Cropper.tsx b/apps/desktop/src/components/Cropper.tsx index 6509ce71cf..2a22e1b5f9 100644 --- a/apps/desktop/src/components/Cropper.tsx +++ b/apps/desktop/src/components/Cropper.tsx @@ -1018,7 +1018,7 @@ export function Cropper( return (

{(transform) => ( @@ -1110,7 +1110,7 @@ export function Cropper( handle.isCorner ? (
)} -
+
{ if (part.toLowerCase() === lowercaseQuery) { return ( - {part} + {part} ); } return part; @@ -314,12 +314,12 @@ export default function TargetCard(props: TargetCardProps) { disabled={local.disabled} data-variant={local.variant} class={cx( - "group flex flex-col overflow-hidden rounded-lg border border-transparent bg-gray-3 text-left outline-none transition-colors duration-100 hover:bg-gray-4 focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1", + "group flex flex-col overflow-hidden rounded-lg border border-transparent bg-gray-3 text-left outline-hidden transition-colors duration-100 hover:bg-gray-4 focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1", local.disabled && "pointer-events-none opacity-60", local.class, )} > -
+
-
+
-
+
{recordingFailed() ? "Recording failed" : "Upload failed"} @@ -391,7 +391,7 @@ export default function TargetCard(props: TargetCardProps) { role="button" tabIndex={-1} onClick={handleOpenEditor} - class="flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" + class="flex-1 flex items-center justify-center p-1 rounded-sm hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" >
@@ -401,7 +401,7 @@ export default function TargetCard(props: TargetCardProps) { role="button" tabIndex={-1} onClick={handleCopy} - class="flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" + class="flex-1 flex items-center justify-center p-1 rounded-sm hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" >
@@ -411,7 +411,7 @@ export default function TargetCard(props: TargetCardProps) { role="button" tabIndex={-1} onClick={handleSave} - class="flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" + class="flex-1 flex items-center justify-center p-1 rounded-sm hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" >
@@ -436,7 +436,7 @@ export default function TargetCard(props: TargetCardProps) { role="button" tabIndex={-1} onClick={handleOpenRecordingEditor} - class="flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" + class="flex-1 flex items-center justify-center p-1 rounded-sm hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" >
@@ -453,7 +453,7 @@ export default function TargetCard(props: TargetCardProps) { role="button" tabIndex={-1} onClick={handleReupload} - class="flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" + class="flex-1 flex items-center justify-center p-1 rounded-sm hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" >
@@ -475,7 +475,7 @@ export default function TargetCard(props: TargetCardProps) { role="button" tabIndex={-1} onClick={handleOpenRecordingLink} - class="flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" + class="flex-1 flex items-center justify-center p-1 rounded-sm hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" >
@@ -486,7 +486,7 @@ export default function TargetCard(props: TargetCardProps) { role="button" tabIndex={-1} onClick={handleOpenRecordingFolder} - class="flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" + class="flex-1 flex items-center justify-center p-1 rounded-sm hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" >
@@ -496,7 +496,7 @@ export default function TargetCard(props: TargetCardProps) { role="button" tabIndex={-1} onClick={handleDeleteRecording} - class="flex-1 flex items-center justify-center p-1 rounded hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" + class="flex-1 flex items-center justify-center p-1 rounded-sm hover:bg-gray-5 text-gray-11 hover:text-gray-12 transition-colors" >
@@ -522,12 +522,12 @@ export function TargetCardSkeleton(props: { class?: string }) { props.class, )} > -
+
-
-
-
+
+
+
diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsx index 5865e5c860..4c6c7b2619 100644 --- a/apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsx +++ b/apps/desktop/src/routes/(window-chrome)/new-main/TargetDropdownButton.tsx @@ -27,7 +27,7 @@ export default function TargetDropdownButton< aria-expanded={local.expanded ? "true" : "false"} data-expanded={local.expanded ? "true" : "false"} class={cx( - "flex w-5 shrink-0 items-center justify-center rounded-lg bg-gray-4 text-gray-12 transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1 hover:bg-gray-5", + "flex w-5 shrink-0 items-center justify-center rounded-lg bg-gray-4 text-gray-12 transition-colors duration-150 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1 hover:bg-gray-5", local.expanded && "bg-gray-5", local.disabled && "pointer-events-none opacity-60", local.class, diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/TargetTypeButton.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/TargetTypeButton.tsx index eea046c313..c295d46de8 100644 --- a/apps/desktop/src/routes/(window-chrome)/new-main/TargetTypeButton.tsx +++ b/apps/desktop/src/routes/(window-chrome)/new-main/TargetTypeButton.tsx @@ -24,7 +24,7 @@ function TargetTypeButton(props: TargetTypeButtonProps) { disabled={local.disabled} aria-pressed={local.selected ? "true" : "false"} class={cx( - "flex flex-1 flex-col items-center justify-end gap-1 rounded-lg border border-gray-5 bg-gray-3 py-2 text-center transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1", + "flex flex-1 flex-col items-center justify-end gap-1 rounded-lg border border-gray-5 bg-gray-3 py-2 text-center transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1", local.selected ? "text-gray-12" : "text-gray-12 hover:bg-gray-4", local.disabled && "pointer-events-none opacity-60", local.class, diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx index a140812d75..aefb782ef7 100644 --- a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx +++ b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx @@ -239,7 +239,7 @@ function CameraListItem(props: { disabled={props.disabled} onClick={props.onSelect} class={cx( - "flex flex-col gap-0.5 px-3 py-2.5 rounded-lg text-sm text-left outline-none", + "flex flex-col gap-0.5 px-3 py-2.5 rounded-lg text-sm text-left outline-hidden", props.isSelected ? "bg-blue-500 text-white" : props.isFocused @@ -298,7 +298,7 @@ function MicrophoneListItem(props: { disabled={props.disabled} onClick={props.onSelect} class={cx( - "relative overflow-hidden flex flex-col gap-0.5 px-3 py-2.5 rounded-lg text-sm text-left outline-none", + "relative overflow-hidden flex flex-col gap-0.5 px-3 py-2.5 rounded-lg text-sm text-left outline-hidden", props.isSelected ? "bg-blue-500 text-white" : props.isFocused @@ -481,7 +481,7 @@ function DeviceListPanel(props: DeviceListPanelProps) { return (
@@ -508,7 +508,7 @@ function DeviceListPanel(props: DeviceListPanelProps) { disabled={props.disabled} onClick={() => handleSelect(null)} class={cx( - "flex items-center gap-3 px-3 py-2.5 rounded-lg text-sm text-left outline-none", + "flex items-center gap-3 px-3 py-2.5 rounded-lg text-sm text-left outline-hidden", isNoneSelected() ? "bg-blue-500 text-white" : focusedIndex() === 0 @@ -777,7 +777,7 @@ function TargetMenuPanel(props: TargetMenuPanelProps & SharedTargetMenuProps) { onClick={() => props.onBack()} class="flex gap-1 items-center rounded-md px-1.5 text-xs text-gray-11 transition-opacity hover:opacity-70 hover:text-gray-12 - focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1" + focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1" > Back @@ -967,7 +967,7 @@ function MainWindowHelpButton() { onClick={() => { commands.showWindow("Onboarding"); }} - class="flex shrink-0 justify-center items-center size-5 focus:outline-none" + class="flex shrink-0 justify-center items-center size-5 focus:outline-hidden" > @@ -1715,7 +1715,7 @@ function Page() { return (
@@ -1751,7 +1751,7 @@ function Page() { return next; }); }} - class="flex justify-center items-center size-5 focus:outline-none" + class="flex justify-center items-center size-5 focus:outline-hidden" > @@ -1770,7 +1770,7 @@ function Page() { return next; }); }} - class="flex justify-center items-center size-5 focus:outline-none" + class="flex justify-center items-center size-5 focus:outline-hidden" > @@ -1782,7 +1782,7 @@ function Page() { onClick={() => { new WebviewWindow("debug", { url: "/debug" }); }} - class="flex justify-center items-center focus:outline-none" + class="flex justify-center items-center focus:outline-hidden" > @@ -1794,7 +1794,7 @@ function Page() {
-
+
@@ -1342,7 +1342,7 @@ function RecordingBar(props: {