cogsbox-state 0.5.424 → 0.5.425
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/CogsState.d.ts +0 -3
- package/dist/CogsState.jsx +497 -496
- package/dist/CogsState.jsx.map +1 -1
- package/dist/Functions.d.ts +1 -2
- package/dist/Functions.jsx +87 -90
- package/dist/Functions.jsx.map +1 -1
- package/package.json +1 -1
- package/src/CogsState.tsx +10 -9
- package/src/Functions.tsx +5 -7
package/dist/CogsState.d.ts
CHANGED
|
@@ -101,7 +101,6 @@ export type ArrayEndType<TShape extends unknown> = {
|
|
|
101
101
|
last: () => StateObject<InferArrayElement<TShape>> | undefined;
|
|
102
102
|
} & EndType<TShape>;
|
|
103
103
|
export type FormOptsType = {
|
|
104
|
-
key?: string;
|
|
105
104
|
validation?: {
|
|
106
105
|
hideMessage?: boolean;
|
|
107
106
|
message?: string;
|
|
@@ -109,9 +108,7 @@ export type FormOptsType = {
|
|
|
109
108
|
props?: GenericObject;
|
|
110
109
|
disable?: boolean;
|
|
111
110
|
};
|
|
112
|
-
formElements?: boolean;
|
|
113
111
|
debounceTime?: number;
|
|
114
|
-
stateServerDifferences?: string[][];
|
|
115
112
|
};
|
|
116
113
|
export type FormControl<T> = (obj: FormElementParams<T>) => JSX.Element;
|
|
117
114
|
export type UpdateArg<S> = S | ((prevState: S) => S);
|