@useloops/design-system 1.4.194 → 1.4.195
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/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1090,6 +1090,7 @@ type CustomFieldType = {
|
|
|
1090
1090
|
* Field Type Utilities
|
|
1091
1091
|
*/
|
|
1092
1092
|
interface BaseField {
|
|
1093
|
+
id?: string;
|
|
1093
1094
|
name: string;
|
|
1094
1095
|
ref?: any;
|
|
1095
1096
|
multiline?: boolean;
|
|
@@ -1112,7 +1113,7 @@ interface BaseField {
|
|
|
1112
1113
|
}
|
|
1113
1114
|
type CreateFieldType<TFieldType extends string, TProps, TDefaultValue extends any = void> = {
|
|
1114
1115
|
fieldType: TFieldType;
|
|
1115
|
-
} & BaseField & Omit<TProps, '
|
|
1116
|
+
} & BaseField & Omit<TProps, 'id' | 'name' | 'value' | 'defaultValue' | 'onChange'> & (TDefaultValue extends void ? unknown : {
|
|
1116
1117
|
defaultValue?: TDefaultValue;
|
|
1117
1118
|
});
|
|
1118
1119
|
type FieldType = FieldTypes['fieldType'];
|