mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 17:59:14 +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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue