next-helios-fe 1.6.25 → 1.6.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/form/input/color.d.ts +2 -1
- package/dist/components/form/input/date.d.ts +1 -0
- package/dist/components/form/input/email.d.ts +3 -1
- package/dist/components/form/input/file.d.ts +3 -1
- package/dist/components/form/input/number.d.ts +3 -1
- package/dist/components/form/input/password.d.ts +3 -1
- package/dist/components/form/input/range.d.ts +4 -2
- package/dist/components/form/input/text.d.ts +3 -1
- package/dist/components/form/input/time.d.ts +2 -1
- package/dist/components/form/other/autocomplete.d.ts +6 -5
- package/dist/components/form/other/multipleSelect.d.ts +6 -5
- package/dist/components/form/other/phoneNumber.d.ts +2 -1
- package/dist/components/form/other/pin.d.ts +2 -1
- package/dist/components/form/other/secret.d.ts +2 -1
- package/dist/components/form/other/select.d.ts +6 -5
- package/dist/components/form/other/textarea.d.ts +3 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/form/input/color.tsx +20 -10
- package/src/components/form/input/date.tsx +24 -11
- package/src/components/form/input/email.tsx +36 -11
- package/src/components/form/input/file.tsx +37 -11
- package/src/components/form/input/number.tsx +36 -11
- package/src/components/form/input/password.tsx +30 -10
- package/src/components/form/input/range.tsx +37 -16
- package/src/components/form/input/text.tsx +36 -11
- package/src/components/form/input/time.tsx +25 -12
- package/src/components/form/other/autocomplete.tsx +27 -17
- package/src/components/form/other/multipleSelect.tsx +26 -16
- package/src/components/form/other/phoneNumber.tsx +21 -10
- package/src/components/form/other/pin.tsx +21 -10
- package/src/components/form/other/secret.tsx +20 -10
- package/src/components/form/other/select.tsx +24 -15
- package/src/components/form/other/textarea.tsx +31 -10
@@ -1,10 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface ColorProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
6
8
|
};
|
7
|
-
label?: string;
|
8
9
|
onClipboardClick?: (value: string) => void;
|
9
10
|
}
|
10
11
|
export declare const Color: React.FC<ColorProps>;
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface EmailProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
8
|
+
hideInputDetail?: boolean;
|
6
9
|
};
|
7
|
-
label?: string;
|
8
10
|
}
|
9
11
|
export declare const Email: React.FC<EmailProps>;
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface FileProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
variant?: "basic" | "drag&drop";
|
5
7
|
buttonVariant?: "basic" | "button";
|
@@ -7,8 +9,8 @@ export interface FileProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
7
9
|
buttonOnly?: boolean;
|
8
10
|
width?: "full" | "fit";
|
9
11
|
height?: "short" | "medium" | "high";
|
12
|
+
hideInputDetail?: boolean;
|
10
13
|
};
|
11
|
-
label?: string;
|
12
14
|
defaultValue?: any[];
|
13
15
|
value?: any[];
|
14
16
|
}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface NumberProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
8
|
+
hideInputDetail?: boolean;
|
6
9
|
};
|
7
|
-
label?: string;
|
8
10
|
}
|
9
11
|
export declare const Number: React.FC<NumberProps>;
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface PasswordProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
8
|
+
hideInputDetail?: boolean;
|
6
9
|
};
|
7
|
-
label?: string;
|
8
10
|
}
|
9
11
|
export declare const Password: React.FC<PasswordProps>;
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface RangeProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
5
|
+
theme?: string;
|
3
6
|
options?: {
|
4
7
|
width?: "full" | "fit";
|
8
|
+
hideInputDetail?: boolean;
|
5
9
|
};
|
6
|
-
label?: string;
|
7
|
-
theme?: string;
|
8
10
|
}
|
9
11
|
export declare const Range: React.FC<RangeProps>;
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface TextProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
8
|
+
hideInputDetail?: boolean;
|
6
9
|
};
|
7
|
-
label?: string;
|
8
10
|
}
|
9
11
|
export declare const Text: React.FC<TextProps>;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface TimeProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
6
8
|
};
|
7
|
-
label?: string;
|
8
9
|
}
|
9
10
|
export declare const Time: React.FC<TimeProps>;
|
@@ -1,15 +1,16 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface AutocompleteProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
3
|
-
options?: {
|
4
|
-
width?: "full" | "fit";
|
5
|
-
height?: "short" | "medium" | "high";
|
6
|
-
};
|
7
|
-
label?: string;
|
8
3
|
menus: {
|
9
4
|
label: string;
|
10
5
|
value: string;
|
11
6
|
[key: string]: any;
|
12
7
|
}[];
|
8
|
+
label?: string;
|
13
9
|
placeholder?: string;
|
10
|
+
description?: string;
|
11
|
+
options?: {
|
12
|
+
width?: "full" | "fit";
|
13
|
+
height?: "short" | "medium" | "high";
|
14
|
+
};
|
14
15
|
}
|
15
16
|
export declare const Autocomplete: React.FC<AutocompleteProps>;
|
@@ -1,16 +1,17 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface MultipleSelectProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "value"> {
|
3
|
-
options?: {
|
4
|
-
width?: "full" | "fit";
|
5
|
-
height?: "short" | "medium" | "high";
|
6
|
-
};
|
7
|
-
label?: string;
|
8
3
|
menus: {
|
9
4
|
label: string;
|
10
5
|
value: string;
|
11
6
|
[key: string]: any;
|
12
7
|
}[];
|
8
|
+
label?: string;
|
13
9
|
placeholder?: string;
|
10
|
+
description?: string;
|
11
|
+
options?: {
|
12
|
+
width?: "full" | "fit";
|
13
|
+
height?: "short" | "medium" | "high";
|
14
|
+
};
|
14
15
|
required?: boolean;
|
15
16
|
disabled?: boolean;
|
16
17
|
value?: string[];
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface PhoneNumberProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
6
8
|
};
|
7
|
-
label?: string;
|
8
9
|
getPhoneNumber?: (value: string) => void;
|
9
10
|
}
|
10
11
|
export declare const PhoneNumber: React.FC<PhoneNumberProps>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface PinProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
height?: "short" | "medium" | "high";
|
5
7
|
length: number;
|
6
8
|
};
|
7
|
-
label?: string;
|
8
9
|
onChange?: (e: any) => void;
|
9
10
|
}
|
10
11
|
export declare const Pin: React.FC<PinProps>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface SecretProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
6
8
|
};
|
7
|
-
label?: string;
|
8
9
|
value?: string;
|
9
10
|
onClipboardClick?: (value: string) => void;
|
10
11
|
}
|
@@ -1,15 +1,16 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
3
|
-
options?: {
|
4
|
-
width?: "full" | "fit";
|
5
|
-
height?: "short" | "medium" | "high";
|
6
|
-
};
|
7
|
-
label?: string;
|
8
3
|
menus: {
|
9
4
|
label: string;
|
10
5
|
value: string;
|
11
6
|
[key: string]: any;
|
12
7
|
}[];
|
8
|
+
label?: string;
|
13
9
|
placeholder?: string;
|
10
|
+
description?: string;
|
11
|
+
options?: {
|
12
|
+
width?: "full" | "fit";
|
13
|
+
height?: "short" | "medium" | "high";
|
14
|
+
};
|
14
15
|
}
|
15
16
|
export declare const Select: React.FC<SelectProps>;
|
@@ -1,9 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
3
|
+
label?: string;
|
4
|
+
description?: string;
|
3
5
|
options?: {
|
4
6
|
width?: "full" | "fit";
|
5
7
|
height?: "short" | "medium" | "high";
|
8
|
+
hideInputDetail?: boolean;
|
6
9
|
};
|
7
|
-
label?: string;
|
8
10
|
}
|
9
11
|
export declare const Textarea: React.FC<TextareaProps>;
|