@rescui/input 0.9.0 → 0.9.1
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/lib/index.css +229 -229
- package/lib/index.d.ts +29 -2
- package/lib/input.d.ts +2 -2
- package/lib/input.p.module.css.js +28 -28
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @deprecated use named import instead
|
|
4
4
|
*/
|
|
5
|
-
declare const DefaultInput: import("react").ForwardRefExoticComponent<
|
|
5
|
+
declare const DefaultInput: import("react").ForwardRefExoticComponent<{
|
|
6
6
|
id?: string;
|
|
7
7
|
className?: string;
|
|
8
8
|
placeholder?: string;
|
|
@@ -29,7 +29,34 @@ declare const DefaultInput: import("react").ForwardRefExoticComponent<Pick<impor
|
|
|
29
29
|
suffix?: import("react").ReactNode;
|
|
30
30
|
offSystemMicroelements?: boolean;
|
|
31
31
|
boldLabel?: boolean;
|
|
32
|
-
}
|
|
32
|
+
} & Omit<import("react").HTMLProps<HTMLInputElement>, keyof {
|
|
33
|
+
id?: string;
|
|
34
|
+
className?: string;
|
|
35
|
+
placeholder?: string;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
error?: import("react").ReactNode;
|
|
38
|
+
busy?: boolean;
|
|
39
|
+
onChange?: import("react").ChangeEventHandler<HTMLInputElement>;
|
|
40
|
+
onFocus?: import("react").FocusEventHandler<HTMLInputElement>;
|
|
41
|
+
onBlur?: import("react").FocusEventHandler<HTMLInputElement>;
|
|
42
|
+
onClear?: import("react").MouseEventHandler<HTMLButtonElement>;
|
|
43
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
44
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement>;
|
|
45
|
+
mode?: import("./input").InputMode;
|
|
46
|
+
size?: import("./input").InputSize;
|
|
47
|
+
theme?: import("./input").InputTheme;
|
|
48
|
+
type?: import("./input").InputType;
|
|
49
|
+
value?: string | number | string[];
|
|
50
|
+
icon?: import("react").ReactNode;
|
|
51
|
+
iconType?: import("./input").InputIconType;
|
|
52
|
+
label?: import("react").ReactNode;
|
|
53
|
+
note?: import("react").ReactNode;
|
|
54
|
+
name?: string;
|
|
55
|
+
clearIcon?: import("react").ReactNode;
|
|
56
|
+
suffix?: import("react").ReactNode;
|
|
57
|
+
offSystemMicroelements?: boolean;
|
|
58
|
+
boldLabel?: boolean;
|
|
59
|
+
} | "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
33
60
|
export default DefaultInput;
|
|
34
61
|
export { Input } from './input';
|
|
35
62
|
export type { InputProps } from './input';
|
package/lib/input.d.ts
CHANGED
|
@@ -84,6 +84,6 @@ declare type InputExclusiveProps = {
|
|
|
84
84
|
offSystemMicroelements?: boolean;
|
|
85
85
|
boldLabel?: boolean;
|
|
86
86
|
};
|
|
87
|
-
export declare type InputProps = InputExclusiveProps & Omit<React.HTMLProps<HTMLInputElement>, keyof InputExclusiveProps>;
|
|
88
|
-
export declare const Input: React.ForwardRefExoticComponent<
|
|
87
|
+
export declare type InputProps = InputExclusiveProps & Omit<React.HTMLProps<HTMLInputElement>, keyof InputExclusiveProps | 'ref'>;
|
|
88
|
+
export declare const Input: React.ForwardRefExoticComponent<InputExclusiveProps & Omit<React.HTMLProps<HTMLInputElement>, keyof InputExclusiveProps | "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
89
89
|
export default Input;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"container": "
|
|
3
|
-
"wrapper": "
|
|
4
|
-
"light": "
|
|
5
|
-
"enabled": "
|
|
6
|
-
"filled": "
|
|
7
|
-
"focused": "
|
|
8
|
-
"classic": "
|
|
9
|
-
"rock": "
|
|
10
|
-
"dark": "
|
|
11
|
-
"error": "
|
|
12
|
-
"disabled": "
|
|
13
|
-
"field": "
|
|
14
|
-
"sizeL": "
|
|
15
|
-
"sizeM": "
|
|
16
|
-
"sizeS": "
|
|
17
|
-
"inner": "
|
|
18
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
19
|
-
"offSystemMicroelements": "
|
|
20
|
-
"icon": "
|
|
21
|
-
"action": "
|
|
22
|
-
"right": "
|
|
23
|
-
"left": "
|
|
24
|
-
"divider": "
|
|
25
|
-
"suffix": "
|
|
26
|
-
"errorMessage": "
|
|
27
|
-
"note": "
|
|
28
|
-
"label": "
|
|
29
|
-
"boldLabel": "
|
|
2
|
+
"container": "_container_1xyveen_10",
|
|
3
|
+
"wrapper": "_wrapper_1xyveen_14",
|
|
4
|
+
"light": "_light_1xyveen_21",
|
|
5
|
+
"enabled": "_enabled_1xyveen_27",
|
|
6
|
+
"filled": "_filled_1xyveen_27",
|
|
7
|
+
"focused": "_focused_1xyveen_39",
|
|
8
|
+
"classic": "_classic_1xyveen_44",
|
|
9
|
+
"rock": "_rock_1xyveen_48",
|
|
10
|
+
"dark": "_dark_1xyveen_52",
|
|
11
|
+
"error": "_error_1xyveen_83",
|
|
12
|
+
"disabled": "_disabled_1xyveen_103",
|
|
13
|
+
"field": "_field_1xyveen_161",
|
|
14
|
+
"sizeL": "_sizeL_1xyveen_121",
|
|
15
|
+
"sizeM": "_sizeM_1xyveen_125",
|
|
16
|
+
"sizeS": "_sizeS_1xyveen_129",
|
|
17
|
+
"inner": "_inner_1xyveen_171",
|
|
18
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_1xyveen_1",
|
|
19
|
+
"offSystemMicroelements": "_offSystemMicroelements_1xyveen_345",
|
|
20
|
+
"icon": "_icon_1xyveen_356",
|
|
21
|
+
"action": "_action_1xyveen_360",
|
|
22
|
+
"right": "_right_1xyveen_441",
|
|
23
|
+
"left": "_left_1xyveen_453",
|
|
24
|
+
"divider": "_divider_1xyveen_523",
|
|
25
|
+
"suffix": "_suffix_1xyveen_558",
|
|
26
|
+
"errorMessage": "_errorMessage_1xyveen_596",
|
|
27
|
+
"note": "_note_1xyveen_614",
|
|
28
|
+
"label": "_label_1xyveen_646",
|
|
29
|
+
"boldLabel": "_boldLabel_1xyveen_661"
|
|
30
30
|
};
|
|
31
31
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/input",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "rescui-scripts build"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "8b21224849203b372eb2042031f92d652d8676c9"
|
|
40
40
|
}
|