@useloops/design-system 1.4.53 → 1.4.55

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
@@ -182,9 +182,10 @@ declare const AuthFormHeader: FunctionComponent<AuthFormHeaderProps>;
182
182
 
183
183
  interface AvatarProps {
184
184
  variation?: 'sm' | 'lg';
185
- src: string;
186
- alt: string;
187
- className: string;
185
+ src?: string;
186
+ alt?: string;
187
+ className?: string;
188
+ children?: ReactElement;
188
189
  }
189
190
  declare const Avatar: FunctionComponent<AvatarProps>;
190
191
 
@@ -574,8 +575,8 @@ declare const Switch: _emotion_styled.StyledComponent<SwitchProps & _mui_system.
574
575
  type InputFieldBaseProps = TextFieldProps$1;
575
576
 
576
577
  type TextareaProps = InputFieldBaseProps & {
577
- iconLeft?: ReactElement;
578
- iconRight?: ReactElement;
578
+ startAdornment?: ReactElement;
579
+ endAdornment?: ReactElement;
579
580
  internalChange?: () => void;
580
581
  };
581
582
  declare const Textarea: FunctionComponent<TextareaProps>;
@@ -596,8 +597,8 @@ interface TextBarDividerProps {
596
597
  declare const TextBarDivider: FunctionComponent<TextBarDividerProps>;
597
598
 
598
599
  type TextFieldProps = InputFieldBaseProps & {
599
- iconLeft?: ReactElement;
600
- iconRight?: ReactElement;
600
+ startAdornment?: ReactElement;
601
+ endAdornment?: ReactElement;
601
602
  internalChange?: () => void;
602
603
  };
603
604
  declare const TextField: FunctionComponent<TextFieldProps>;