mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
build(deps): bump the npm group in /web with 18 updates (#1957)
This commit is contained in:
parent
c8fbb32d29
commit
33d7d75597
12 changed files with 746 additions and 663 deletions
|
@ -6,7 +6,7 @@
|
|||
import { classNames } from "@utils";
|
||||
|
||||
interface WarningAlertProps {
|
||||
text: string | JSX.Element;
|
||||
text: string | React.JSX.Element;
|
||||
alert?: string;
|
||||
colors?: string;
|
||||
className?: string;
|
||||
|
|
|
@ -24,9 +24,10 @@ interface TextFieldProps {
|
|||
autoComplete?: string;
|
||||
hidden?: boolean;
|
||||
disabled?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
}
|
||||
|
||||
|
||||
export const TextField = ({
|
||||
name,
|
||||
defaultValue,
|
||||
|
@ -101,7 +102,7 @@ interface RegexFieldProps {
|
|||
useRegex?: boolean;
|
||||
hidden?: boolean;
|
||||
disabled?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
}
|
||||
|
||||
export const RegexField = ({
|
||||
|
@ -399,7 +400,7 @@ interface TextAreaProps {
|
|||
autoComplete?: string;
|
||||
hidden?: boolean;
|
||||
disabled?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
}
|
||||
|
||||
export const TextArea = ({
|
||||
|
@ -472,7 +473,7 @@ interface TextAreaAutoResizeProps {
|
|||
autoComplete?: string;
|
||||
hidden?: boolean;
|
||||
disabled?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
|
@ -549,7 +550,7 @@ interface PasswordFieldProps {
|
|||
defaultValue?: string;
|
||||
help?: string;
|
||||
required?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
}
|
||||
|
||||
export const PasswordField = ({
|
||||
|
@ -633,7 +634,7 @@ interface NumberFieldProps {
|
|||
required?: boolean;
|
||||
min?: number;
|
||||
max?: number;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
className?: string;
|
||||
isDecimal?: boolean;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ interface MultiSelectProps {
|
|||
columns?: COL_WIDTHS;
|
||||
creatable?: boolean;
|
||||
disabled?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
}
|
||||
|
||||
export const MultiSelect = ({
|
||||
|
@ -260,7 +260,7 @@ export interface SelectFieldProps {
|
|||
optionDefaultText: string;
|
||||
options: SelectFieldOption[];
|
||||
columns?: COL_WIDTHS;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ interface SwitchGroupProps {
|
|||
label?: string;
|
||||
description?: string | React.ReactNode;
|
||||
heading?: boolean;
|
||||
tooltip?: JSX.Element;
|
||||
tooltip?: React.JSX.Element;
|
||||
disabled?: boolean;
|
||||
className?: string;
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@ export const TextInput = <TFormValues extends Record<string, unknown>>({
|
|||
isHidden,
|
||||
columnWidth,
|
||||
...props
|
||||
}: FormInputProps<TFormValues>): JSX.Element => {
|
||||
}: FormInputProps<TFormValues>): React.JSX.Element => {
|
||||
// If the name is in a FieldArray, it will be 'fields.index.fieldName' and errors[name] won't return anything, so we are using lodash get
|
||||
const errorMessages = get(errors, name);
|
||||
const hasError = !!(errors && errorMessages);
|
||||
|
@ -149,7 +149,7 @@ export const PasswordInput = <TFormValues extends Record<string, unknown>>({
|
|||
isHidden,
|
||||
columnWidth,
|
||||
...props
|
||||
}: FormInputProps<TFormValues>): JSX.Element => {
|
||||
}: FormInputProps<TFormValues>): React.JSX.Element => {
|
||||
const [isVisible, toggleVisibility] = useToggle(false);
|
||||
|
||||
// If the name is in a FieldArray, it will be 'fields.index.fieldName' and errors[name] won't return anything, so we are using lodash get
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
import { useQuery} from "@tanstack/react-query";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { Link } from "@tanstack/react-router";
|
||||
import { classNames } from "@utils";
|
||||
import { LinkIcon } from "@heroicons/react/24/solid";
|
||||
|
@ -20,7 +20,7 @@ interface StatsItemProps {
|
|||
const StatsItem = ({ name, placeholder, value, to, eventType }: StatsItemProps) => (
|
||||
<Link
|
||||
className="group relative px-4 py-3 cursor-pointer overflow-hidden rounded-lg shadow-lg bg-white dark:bg-gray-800 hover:scale-110 hover:shadow-xl transition-all duration-200 ease-in-out"
|
||||
to={to}
|
||||
to={to ?? ""}
|
||||
search={{
|
||||
action_status: eventType
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue