Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Bump tailwind to 4.0, default font weight 500
Ilyac07b6150b35f
diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.tsindex e0c1904d9..f918c31a1 100644--- a/apps/desktop/src/utils/tauri.ts+++ b/apps/desktop/src/utils/tauri.ts@@ -194,6 +194,9 @@ async createScreenshotEditorInstance() : Promise<SerializedScreenshotEditorInstaasync updateScreenshotConfig(config: ProjectConfiguration, save: boolean, revision: number) : Promise<null> {return await TAURI_INVOKE("update_screenshot_config", { config, save, revision });},+async recognizeScreenshotText(region: ScreenshotOcrRegion) : Promise<ScreenshotOcrResult> {+ return await TAURI_INVOKE("recognize_screenshot_text", { region });+},async getRecordingMeta(path: string, fileType: FileType) : Promise<RecordingMetaWithMetadata> {return await TAURI_INVOKE("get_recording_meta", { path, fileType });},@@ -435,7 +438,6 @@ videoImportProgress: "video-import-progress"/** user-defined types **/-export type AllGpusInfo = { gpus: GpuInfoDiag[]; primaryGpuIndex: number | null; isMultiGpuSystem: boolean; hasDiscreteGpu: boolean }export type Annotation = { id: string; type: AnnotationType; x: number; y: number; width: number; height: number; strokeColor: string; strokeWidth: number; fillColor: string; opacity: number; rotation: number; text: string | null; maskType?: MaskType | null; maskLevel?: number | null }export type AnnotationType = "arrow" | "circle" | "rectangle" | "text" | "mask"export type AppTheme = "system" | "light" | "dark"@@ -513,7 +515,6 @@ quality: number | null;*/fast: boolean | null }export type GlideDirection = "none" | "left" | "right" | "up" | "down"-export type GpuInfoDiag = { vendor: string; description: string; dedicatedVideoMemoryMb: number; adapterIndex: number; isSoftwareAdapter: boolean; isBasicRenderDriver: boolean; supportsHardwareEncoding: boolean }export type HapticPattern = "alignment" | "levelChange" | "generic"export type HapticPerformanceTime = "default" | "now" | "drawCompleted"export type Hotkey = { code: string; meta: boolean; ctrl: boolean; alt: boolean; shift: boolean }@@ -531,6 +532,7 @@ export type KeyboardTrackSegment = { id: string; start: number; end: number; disexport type LogicalBounds = { position: LogicalPosition; size: LogicalSize }export type LogicalPosition = { x: number; y: number }export type LogicalSize = { width: number; height: number }+export type MacOSVersionInfo = { major: number; minor: number; patch: number; displayName: string; buildNumber: string; isAppleSilicon: boolean }export type MainWindowRecordingStartBehaviour = "close" | "minimise"export type MaskKeyframes = { position?: MaskVectorKeyframe[]; size?: MaskVectorKeyframe[]; intensity?: MaskScalarKeyframe[] }export type MaskKind = "sensitive" | "highlight"@@ -578,7 +580,6 @@ export type RecordingStatus = "pending" | "recording"export type RecordingStopped = nullexport type RecordingTargetMode = "display" | "window" | "area" | "camera"export type RenderFrameEvent = { frame_number: number; fps: number; resolution_base: XY<number> }-export type RenderingStatus = { isUsingSoftwareRendering: boolean; isUsingBasicRenderDriver: boolean; hardwareEncodingAvailable: boolean; warningMessage: string | null }export type RequestOpenRecordingPicker = { target_mode: RecordingTargetMode | null }export type RequestOpenSettings = { page: string }export type RequestScreenCapturePrewarm = { force?: boolean }@@ -590,6 +591,9 @@ export type SceneMode = "default" | "cameraOnly" | "hideCamera"export type SceneSegment = { start: number; end: number; mode?: SceneMode }export type ScreenCaptureTarget = { variant: "window"; id: WindowId } | { variant: "display"; id: DisplayId } | { variant: "area"; screen: DisplayId; bounds: LogicalBounds } | { variant: "cameraOnly" }export type ScreenMovementSpring = { stiffness: number; damping: number; mass: number }+export type ScreenshotOcrLine = { text: string; confidence: number | null; bounds: ScreenshotOcrRegion }+export type ScreenshotOcrRegion = { x: number; y: number; width: number; height: number }+export type ScreenshotOcrResult = { text: string; lines: ScreenshotOcrLine[]; engine: string }export type SegmentRecordings = { display: Video; camera: Video | null; mic: Audio | null; system_audio: Audio | null }export type SerializedEditorInstance = { framesSocketUrl: string; recordingDuration: number; savedProjectConfig: ProjectConfiguration; recordings: ProjectRecordingsMeta; path: string }export type SerializedScreenshotEditorInstance = { framesSocketUrl: string; path: string; config: ProjectConfiguration | null; prettyName: string; imageWidth: number; imageHeight: number }@@ -603,7 +607,7 @@ export type StereoMode = "stereo" | "monoL" | "monoR"export type StudioRecordingMeta = { segment: SingleSegment } | { inner: MultipleSegments }export type StudioRecordingQuality = "compatibility" | "balanced" | "ultra"export type StudioRecordingStatus = { status: "InProgress" } | { status: "NeedsRemux" } | { status: "Failed"; error: string } | { status: "Complete" }-export type SystemDiagnostics = { windowsVersion: WindowsVersionInfo | null; gpuInfo: GpuInfoDiag | null; allGpus: AllGpusInfo | null; renderingStatus: RenderingStatus; availableEncoders: string[]; graphicsCaptureSupported: boolean; d3D11VideoProcessorAvailable: boolean }+export type SystemDiagnostics = { macosVersion: MacOSVersionInfo | null; availableEncoders: string[]; screenCaptureSupported: boolean; metalSupported: boolean; gpuName: string | null }export type TargetUnderCursor = { display_id: DisplayId | null; window: WindowUnderCursor | null }export type TextSegment = { start: number; end: number; track?: number; enabled?: boolean; content?: string; center?: XY<number>; size?: XY<number>; fontFamily?: string; fontSize?: number; fontWeight?: number; italic?: boolean; color?: string; fadeDuration?: number }export type TimelineConfiguration = { segments: TimelineSegment[]; zoomSegments: ZoomSegment[]; sceneSegments?: SceneSegment[]; maskSegments?: MaskSegment[]; textSegments?: TextSegment[]; captionSegments?: CaptionTrackSegment[]; keyboardSegments?: KeyboardTrackSegment[] }@@ -623,7 +627,6 @@ export type WindowExclusion = { bundleIdentifier?: string | null; ownerName?: stexport type WindowId = stringexport type WindowPosition = { x: number; y: number; displayId?: DisplayId | null }export type WindowUnderCursor = { id: WindowId; app_name: string; bounds: LogicalBounds }-export type WindowsVersionInfo = { major: number; minor: number; build: number; displayName: string; meetsRequirements: boolean; isWindows11: boolean }export type XY<T> = { x: T; y: T }export type ZoomMode = "auto" | { manual: { x: number; y: number } }export type ZoomSegment = { start: number; end: number; amount: number; mode: ZoomMode; glideDirection?: GlideDirection; glideSpeed?: number; instantAnimation?: boolean; edgeSnapRatio?: number }diff --git a/packages/ui-solid/package.json b/packages/ui-solid/package.jsonindex cf0787553..a17666853 100644--- a/packages/ui-solid/package.json+++ b/packages/ui-solid/package.json@@ -24,7 +24,7 @@"postcss": "^8.5.10","storybook-solidjs": "^1.0.0-beta.2","tailwind-scrollbar": "^4.0.2",- "tailwindcss": "^4.2.4",+ "tailwindcss": "^4.3","tw-animate-css": "^1.4.0","unplugin-auto-import": "^0.18.2","unplugin-fonts": "^1.1.1",diff --git a/packages/ui-solid/src/main.css b/packages/ui-solid/src/main.cssindex 1a90cdc83..76854a730 100644--- a/packages/ui-solid/src/main.css+++ b/packages/ui-solid/src/main.css@@ -175,6 +175,7 @@body {font-family: "Geist Sans", sans-serif;+ font-weight: 500;}.custom-bg {diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex b30794f37..d4a8b1337 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1275,7 +1275,7 @@ importers:specifier: ^4.0.2version: 4.0.2([email protected])([email protected])tailwindcss:- specifier: ^4.2.4+ specifier: ^4.3version: 4.3.0tw-animate-css:specifier: ^1.4.0@@ -2351,9 +2351,6 @@ packages:'@emnapi/[email protected]':resolution: {integrity: sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ==}- '@emnapi/[email protected]':- resolution: {integrity: sha512-PVtJr5CmLwYAU9PZDMITZoR5iAOShYREoR45EyyLrbntV50mdePTgUn4AmOw90Ifcj+x2kRjdzr1HP3RrNiHGA==}-'@emnapi/[email protected]':resolution: {integrity: sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==}@@ -18135,11 +18132,6 @@ snapshots:tslib: 2.8.1optional: true- '@emnapi/[email protected]':- dependencies:- tslib: 2.8.1- optional: true-'@emnapi/[email protected]':dependencies:tslib: 2.8.1@@ -19125,7 +19117,7 @@ snapshots:'@img/[email protected]':dependencies:- '@emnapi/runtime': 1.7.1+ '@emnapi/runtime': 1.10.0optional: true'@img/[email protected]':@@ -34003,7 +33995,7 @@ snapshots:acorn-import-phases: 1.0.4([email protected])browserslist: 4.26.3chrome-trace-event: 1.0.4- enhanced-resolve: 5.19.0+ enhanced-resolve: 5.21.3es-module-lexer: 1.7.0eslint-scope: 5.1.1events: 3.3.0@@ -34014,7 +34006,7 @@ snapshots:mime-types: 2.1.35neo-async: 2.6.2schema-utils: 4.3.3- tapable: 2.3.0+ tapable: 2.3.3watchpack: 2.5.1webpack-sources: 3.3.3