@useloops/design-system 1.4.52 → 1.4.53

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 CHANGED
@@ -684,15 +684,15 @@ type DifferentialType = BaseField & DifferentialProps;
684
684
  type LikertType = BaseField & LikertProps;
685
685
  type RadioGroupType = BaseField & RadioGroupProps;
686
686
  type DragAndDropRankingType = BaseField & RankProps;
687
- type FieldType = 'textfield' | 'textarea' | 'select' | 'checkbox' | 'checkboxGroup' | 'slider' | 'differential' | 'likert' | 'starRating' | 'radioGroup' | 'text' | 'ranking';
687
+ type DynamicFieldType = 'textfield' | 'textarea' | 'select' | 'checkbox' | 'checkboxGroup' | 'slider' | 'differential' | 'likert' | 'starRating' | 'radioGroup' | 'ranking';
688
+ type FieldType = DynamicFieldType | 'html';
688
689
  type FieldTypes = CheckboxType | CheckboxGroupType | SelectType | TextFieldType | SliderType | DifferentialType | LikertType | RadioGroupType | DragAndDropRankingType;
689
690
  interface BaseField {
690
691
  name: string;
691
692
  ref?: any;
692
693
  multiline?: boolean;
693
694
  fieldType: FieldType;
694
- textContent?: string;
695
- typographyProps?: TypographyProps;
695
+ content?: ReactElement;
696
696
  defaultValue?: string | number | string[] | undefined;
697
697
  label?: string;
698
698
  labelProps?: InputLabelProps;