@zealicsolutions/web-ui 1.0.23 → 1.0.24

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.
@@ -122,7 +122,7 @@ export declare type ObjectStateProperties = {
122
122
  pmiObjectId: string | null;
123
123
  };
124
124
  export declare type MoleculeItemTypes = 'stepper_item' | 'checklist_item' | 'accordion_item' | 'menu_item' | 'tabs_item';
125
- export declare type MoleculeTypes = 'text' | 'header_tab_group' | 'consent' | 'signup_password_fields' | 'account_button' | 'stepper' | 'checklist' | 'accordion' | 'menu' | 'tabs' | 'divider' | 'link' | 'video' | 'image' | 'button' | 'alert' | 'badge' | 'chip' | 'basic_text_field' | 'rating' | 'switch' | 'slider' | 'select' | 'date_picker' | 'email_input_field' | 'phone_number_input_field' | 'numeric_input_field' | 'currency_input_field';
125
+ export declare type MoleculeTypes = 'simple_text' | 'text' | 'header_tab_group' | 'consent' | 'signup_password_fields' | 'account_button' | 'stepper' | 'checklist' | 'accordion' | 'menu' | 'tabs' | 'divider' | 'link' | 'video' | 'image' | 'button' | 'alert' | 'badge' | 'chip' | 'basic_text_field' | 'rating' | 'switch' | 'slider' | 'select' | 'date_picker' | 'email_input_field' | 'phone_number_input_field' | 'numeric_input_field' | 'currency_input_field';
126
126
  /**
127
127
  * [ NEW MOLECULE: 3 ] Second Step is to add the new molecule name to this list, in snake case format
128
128
  *
@@ -145,6 +145,15 @@ export interface TextMoleculeType extends BaseMoleculeType {
145
145
  props?: TextProps;
146
146
  };
147
147
  }
148
+ export interface SimpleTextMoleculeType extends BaseMoleculeType {
149
+ type: 'simple_text';
150
+ properties: Partial<{
151
+ text: TextProperties;
152
+ }>;
153
+ config: {
154
+ props?: TextProps;
155
+ };
156
+ }
148
157
  export interface ConsentFieldMoleculeType extends BaseMoleculeType {
149
158
  type: 'consent';
150
159
  properties: Partial<{
@@ -413,7 +422,7 @@ export interface CurrencyInputFieldMoleculeType extends BaseMoleculeType {
413
422
  dataCapture: DataCaptureProperties;
414
423
  };
415
424
  }
416
- export declare type Molecule = StrictUnion<TextMoleculeType | ConsentFieldMoleculeType | PasswordSetupMoleculeType | StepperMoleculeType | ChecklistsMoleculeType | AccordionMoleculeType | MenuMoleculeType | TabsMoleculeType | DividerMoleculeType | LinkMoleculeType | VideoMoleculeType | ImageMoleculeType | ButtonMoleculeType | ChipMoleculeType | BadgeMoleculeType | AlertMoleculeType | BasicTextFieldMoleculeType | RatingMoleculeType | SwitchMoleculeType | SliderMoleculeType | SelectMoleculeType | DatePickerMoleculeType | EmailInputFieldMoleculeType | PhoneNumberInputFieldMoleculeType | NumericInputFieldMoleculeType | CurrencyInputFieldMoleculeType> & Partial<{
425
+ export declare type Molecule = StrictUnion<SimpleTextMoleculeType | TextMoleculeType | ConsentFieldMoleculeType | PasswordSetupMoleculeType | StepperMoleculeType | ChecklistsMoleculeType | AccordionMoleculeType | MenuMoleculeType | TabsMoleculeType | DividerMoleculeType | LinkMoleculeType | VideoMoleculeType | ImageMoleculeType | ButtonMoleculeType | ChipMoleculeType | BadgeMoleculeType | AlertMoleculeType | BasicTextFieldMoleculeType | RatingMoleculeType | SwitchMoleculeType | SliderMoleculeType | SelectMoleculeType | DatePickerMoleculeType | EmailInputFieldMoleculeType | PhoneNumberInputFieldMoleculeType | NumericInputFieldMoleculeType | CurrencyInputFieldMoleculeType> & Partial<{
417
426
  form: UseFormReturn<any>;
418
427
  formData: AnyObject;
419
428
  setFormData: Dispatch<SetStateAction<AnyObject>>;