@react-fabric/form 1.0.0-beta.49 → 1.0.0-beta.51
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/types/form/Controller.d.ts +1 -1
- package/dist/types/input/Checkbox.d.ts +0 -1
- package/dist/types/input/ColorPicker.d.ts +1 -1
- package/dist/types/input/Field.d.ts +0 -1
- package/dist/types/input/Radio.d.ts +0 -1
- package/dist/types/input/RadioGroup.d.ts +0 -1
- package/dist/types/input/Switch.d.ts +0 -1
- package/dist/types/ranger/index.d.ts +2 -2
- package/dist/types/select/useSelect.d.ts +4 -14
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/schema.d.ts +0 -1
- package/package.json +7 -7
- package/src/form/Controller.tsx +1 -1
- package/src/input/ColorPicker.tsx +1 -1
- package/src/types/index.ts +1 -1
|
@@ -18,7 +18,7 @@ type RangerConfig = {
|
|
|
18
18
|
steps: number[];
|
|
19
19
|
});
|
|
20
20
|
export declare const useRanger: (opts: RangerConfig) => {
|
|
21
|
-
trackElRef: import("react").RefObject<HTMLDivElement>;
|
|
21
|
+
trackElRef: import("react").RefObject<HTMLDivElement | null>;
|
|
22
22
|
activeHandleIndex: number | undefined;
|
|
23
23
|
ticks: {
|
|
24
24
|
key: number;
|
|
@@ -33,7 +33,7 @@ export declare const useRanger: (opts: RangerConfig) => {
|
|
|
33
33
|
value: number;
|
|
34
34
|
active: boolean;
|
|
35
35
|
props: {
|
|
36
|
-
ref: import("react").RefObject<HTMLDivElement>;
|
|
36
|
+
ref: import("react").RefObject<HTMLDivElement | null>;
|
|
37
37
|
onMouseDownCapture: (e: ME) => void;
|
|
38
38
|
onTouchStartCapture: (e: TE) => void;
|
|
39
39
|
} | {
|
|
@@ -27,20 +27,10 @@ export declare const useSelect: ({ options, value, defaultOpen, autoComplete, mu
|
|
|
27
27
|
onSelect?: (item: AnyObject) => void;
|
|
28
28
|
onChange?: (value: AnyObject) => void;
|
|
29
29
|
}) => {
|
|
30
|
-
state: State
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
multiple: boolean;
|
|
35
|
-
emptyValue: AnyObject;
|
|
36
|
-
open: boolean;
|
|
37
|
-
loading: boolean;
|
|
38
|
-
query?: string | undefined;
|
|
39
|
-
items: AnyObject[];
|
|
40
|
-
};
|
|
41
|
-
listRef: import("react").MutableRefObject<HTMLElement[]>;
|
|
42
|
-
focusableRef: import("react").RefObject<HTMLElement>;
|
|
43
|
-
listContentRef: import("react").MutableRefObject<any[]>;
|
|
30
|
+
state: State;
|
|
31
|
+
listRef: import("react").RefObject<HTMLElement[]>;
|
|
32
|
+
focusableRef: import("react").RefObject<HTMLElement | null>;
|
|
33
|
+
listContentRef: import("react").RefObject<any[]>;
|
|
44
34
|
handleChange: (value?: AnyObject) => void;
|
|
45
35
|
handleRemove: (index?: number) => void;
|
|
46
36
|
handleQuery: (query: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-fabric/form",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.51",
|
|
4
4
|
"description": "RUF: Form package",
|
|
5
5
|
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
"@dnd-kit/utilities": "^3.2.2",
|
|
42
42
|
"@floating-ui/react": "^0.27.9",
|
|
43
43
|
"@hookform/resolvers": "^3.9.0",
|
|
44
|
-
"@react-fabric/core": "^1.0.0-beta.
|
|
45
|
-
"@react-fabric/date": "^1.0.0-beta.
|
|
46
|
-
"@react-fabric/utilities": "^1.0.0-beta.
|
|
44
|
+
"@react-fabric/core": "^1.0.0-beta.51",
|
|
45
|
+
"@react-fabric/date": "^1.0.0-beta.51",
|
|
46
|
+
"@react-fabric/utilities": "^1.0.0-beta.50",
|
|
47
47
|
"classnames": "^2.5.1",
|
|
48
48
|
"color": "^4.2.3",
|
|
49
49
|
"react-color": "^2.19.3",
|
|
50
50
|
"react-hook-form": "^7.52.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"i18next": "^
|
|
53
|
+
"i18next": "^25.2.1",
|
|
54
54
|
"react": "^19.0.0",
|
|
55
55
|
"react-dom": "^19.0.0",
|
|
56
|
-
"react-i18next": "^15.
|
|
56
|
+
"react-i18next": "^15.5.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/axios": "^0.14.0",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"node": ">=18.12.0",
|
|
64
64
|
"npm": ">=8.19.0"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "a1b04de4663045f82992bff2aef8db26608eac74"
|
|
67
67
|
}
|
package/src/form/Controller.tsx
CHANGED