finform-react-builder 1.8.8 → 1.8.10

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.
@@ -29,7 +29,7 @@ export interface BaseField {
29
29
  title?: string;
30
30
  name: string;
31
31
  label: string;
32
- type: 'text' | 'email' | 'password' | 'number' | 'tel' | 'select' | 'checkbox' | 'toggle' | 'radio' | 'switch' | 'autocomplete' | 'date' | 'textarea' | 'image' | 'title' | 'section' | 'component';
32
+ type: 'text' | 'email' | 'password' | 'number' | 'tel' | 'select' | 'checkbox' | 'toggle' | 'radio' | 'switch' | 'autocomplete' | 'date' | 'textarea' | 'image' | 'title' | 'section' | 'component' | 'finuiHeader';
33
33
  placeholder?: string;
34
34
  labelPosition?: 'inner' | 'top' | 'none';
35
35
  labelVariant?: 'caption' | 'body2' | 'subtitle2' | 'h6';
@@ -191,7 +191,14 @@ export interface SectionField extends BaseField {
191
191
  align?: 'left' | 'center' | 'right';
192
192
  sx?: any;
193
193
  }
194
- export type FieldConfig = TextField | NumberField | SelectField | CheckboxField | ToggleField | RadioField | SwitchField | AutocompleteField | DateField | ImageField | TitleField | SectionField | ComponentField;
194
+ export interface FinUiHeaderField extends BaseField {
195
+ type: 'finuiHeader';
196
+ title?: string;
197
+ subtitle?: string;
198
+ align?: 'left' | 'center' | 'right';
199
+ actions?: any;
200
+ }
201
+ export type FieldConfig = TextField | NumberField | SelectField | CheckboxField | ToggleField | RadioField | SwitchField | AutocompleteField | DateField | ImageField | TitleField | SectionField | ComponentField | FinUiHeaderField;
195
202
  export interface FormButton {
196
203
  text: string;
197
204
  color?: string;