@fewbox/den 0.0.83 → 0.0.85

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewbox/den",
3
- "version": "0.0.83",
3
+ "version": "0.0.85",
4
4
  "main": "index.js",
5
5
  "types": "index-app.d.ts",
6
6
  "repository": "https://github.com/FewBox/fewbox-den.git",
@@ -4,5 +4,6 @@ export interface IPayloadAction<T> extends IAction {
4
4
  export interface IAction {
5
5
  type: string;
6
6
  }
7
+ export type IFullAction<T> = IPayloadAction<T> | IAction;
7
8
  export declare const emptyAction: () => IAction;
8
9
  export declare const resetAction: () => IAction;
@@ -43,8 +43,9 @@ export interface IViewProps {
43
43
  overflowX?: Property.OverflowX;
44
44
  overflowY?: Property.OverflowY;
45
45
  isDefaultValue?: boolean;
46
- key?: React.Key | undefined;
47
- ref?: React.LegacyRef<any> | undefined;
46
+ key?: React.Key;
47
+ ref?: React.RefObject<any>;
48
+ readonlyRef?: React.RefObject<any>;
48
49
  customAttibutes?: Object;
49
50
  }
50
51
  export interface IEventProps {
@@ -33,8 +33,6 @@ export interface IBaseInputProps extends IBaseProps {
33
33
  isRequired?: boolean;
34
34
  disabled?: boolean;
35
35
  overWrite?: (inputRef: React.RefObject<HTMLInputElement>) => JSX.Element;
36
- inputRef?: React.RefObject<HTMLInputElement>;
37
- inputReadonlyRef?: React.RefObject<any>;
38
36
  }
39
37
  export interface IVInputProps extends IBaseInputProps {
40
38
  inheritClassName?: string;