Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
clippy
Richie McIlroy04c66713b08b
diff --git a/Cargo.lock b/Cargo.lockindex 6775f75e7..e33d77a1f 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1204,7 +1204,7 @@ dependencies = [[[package]]name = "cap-desktop"-version = "0.4.81"+version = "0.4.82"dependencies = ["aho-corasick","anyhow",diff --git a/packages/ui/src/components/Cmdk.tsx b/packages/ui/src/components/Cmdk.tsxindex cfe010751..c8f1c63df 100644--- a/packages/ui/src/components/Cmdk.tsx+++ b/packages/ui/src/components/Cmdk.tsx@@ -7,7 +7,46 @@ import { Search } from "lucide-react";import * as React from "react";import { Dialog, DialogContent } from "./Dialog";-const Command = React.forwardRef<+type ForwardRefComponent<TElement, TProps> = React.ForwardRefExoticComponent<+ TProps & React.RefAttributes<TElement>+>;++type CommandComponent = ForwardRefComponent<+ React.ElementRef<typeof CommandPrimitive>,+ React.ComponentPropsWithoutRef<typeof CommandPrimitive>+>;++type CommandInputComponent = ForwardRefComponent<+ React.ElementRef<typeof CommandPrimitive.Input>,+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>+>;++type CommandListComponent = ForwardRefComponent<+ React.ElementRef<typeof CommandPrimitive.List>,+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>+>;++type CommandEmptyComponent = ForwardRefComponent<+ React.ElementRef<typeof CommandPrimitive.Empty>,+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>+>;++type CommandGroupComponent = ForwardRefComponent<+ React.ElementRef<typeof CommandPrimitive.Group>,+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>+>;++type CommandSeparatorComponent = ForwardRefComponent<+ React.ElementRef<typeof CommandPrimitive.Separator>,+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>+>;++type CommandItemComponent = ForwardRefComponent<+ React.ElementRef<typeof CommandPrimitive.Item>,+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>+>;++const Command: CommandComponent = React.forwardRef<React.ElementRef<typeof CommandPrimitive>,React.ComponentPropsWithoutRef<typeof CommandPrimitive>>(({ className, ...props }, ref) => (@@ -36,7 +75,7 @@ const CommandDialog = ({ children, ...props }: CommandDialogProps) => {);};-const CommandInput = React.forwardRef<+const CommandInput: CommandInputComponent = React.forwardRef<React.ElementRef<typeof CommandPrimitive.Input>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>>(({ className, ...props }, ref) => (@@ -58,7 +97,7 @@ const CommandInput = React.forwardRef<CommandInput.displayName = CommandPrimitive.Input.displayName;-const CommandList = React.forwardRef<+const CommandList: CommandListComponent = React.forwardRef<React.ElementRef<typeof CommandPrimitive.List>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>>(({ className, ...props }, ref) => (@@ -74,7 +113,7 @@ const CommandList = React.forwardRef<CommandList.displayName = CommandPrimitive.List.displayName;-const CommandEmpty = React.forwardRef<+const CommandEmpty: CommandEmptyComponent = React.forwardRef<React.ElementRef<typeof CommandPrimitive.Empty>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>>((props, ref) => (@@ -87,7 +126,7 @@ const CommandEmpty = React.forwardRef<CommandEmpty.displayName = CommandPrimitive.Empty.displayName;-const CommandGroup = React.forwardRef<+const CommandGroup: CommandGroupComponent = React.forwardRef<React.ElementRef<typeof CommandPrimitive.Group>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>>(({ className, ...props }, ref) => (@@ -103,7 +142,7 @@ const CommandGroup = React.forwardRef<CommandGroup.displayName = CommandPrimitive.Group.displayName;-const CommandSeparator = React.forwardRef<+const CommandSeparator: CommandSeparatorComponent = React.forwardRef<React.ElementRef<typeof CommandPrimitive.Separator>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>>(({ className, ...props }, ref) => (@@ -115,7 +154,7 @@ const CommandSeparator = React.forwardRef<));CommandSeparator.displayName = CommandPrimitive.Separator.displayName;-const CommandItem = React.forwardRef<+const CommandItem: CommandItemComponent = React.forwardRef<React.ElementRef<typeof CommandPrimitive.Item>,React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>>(({ className, ...props }, ref) => (diff --git a/packages/ui/src/components/input/Form.tsx b/packages/ui/src/components/input/Form.tsxindex 1a1dc6f75..6e9207646 100644--- a/packages/ui/src/components/input/Form.tsx+++ b/packages/ui/src/components/input/Form.tsx@@ -14,7 +14,9 @@ import {} from "react-hook-form";import { Label } from "./Label";-const Form = FormProvider;+type FormComponent = typeof FormProvider;++const Form: FormComponent = FormProvider;type FormFieldContextValue<TFieldValues extends FieldValues = FieldValues,