@mindly/ui-components 3.14.0 → 3.15.1

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.
@@ -1,6 +1,10 @@
1
1
  import { CSSProperties, FC } from 'react';
2
2
  export declare type AvatarProps = {
3
3
  dimensions?: number;
4
+ width?: number;
5
+ height?: number;
6
+ fontSize?: number;
7
+ borderRadius?: string;
4
8
  src?: string;
5
9
  firstName?: string;
6
10
  style?: CSSProperties;
@@ -1,6 +1,9 @@
1
1
  declare type AvatarWrapperProps = {
2
2
  dimensions: number;
3
+ width?: number;
4
+ height?: number;
3
5
  withBorder: boolean;
6
+ borderRadius?: string;
4
7
  };
5
8
  export declare const AvatarWrapper: import("styled-components").StyledComponent<"div", any, AvatarWrapperProps, never>;
6
9
  export {};
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- export declare type ImageWithFallbackProps = JSX.IntrinsicElements["img"] & ({
2
+ export declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
3
3
  onErrorContent: React.ReactElement;
4
- });
4
+ };
5
5
  declare const ImageWithFallback: React.FC<ImageWithFallbackProps>;
6
6
  export default ImageWithFallback;
@@ -5,6 +5,10 @@ export declare type LetterAvatarProps = {
5
5
  className?: string;
6
6
  style?: CSSProperties;
7
7
  withBorder?: boolean;
8
+ borderRadius?: string;
9
+ width?: number;
10
+ height?: number;
11
+ fontSize?: number;
8
12
  };
9
13
  declare const _default: React.NamedExoticComponent<LetterAvatarProps>;
10
14
  export default _default;
@@ -1,6 +1,10 @@
1
1
  declare type LetterAvatarStyledProps = {
2
2
  dimensions: number;
3
+ width?: number;
4
+ height?: number;
5
+ fontSize?: number;
3
6
  withBorder: boolean;
7
+ borderRadius?: string;
4
8
  };
5
9
  declare const LetterAvatarStyled: import("styled-components").StyledComponent<"div", any, LetterAvatarStyledProps, never>;
6
10
  export default LetterAvatarStyled;
package/dist/index.d.ts CHANGED
@@ -197,12 +197,16 @@ declare type LetterAvatarProps = {
197
197
  className?: string;
198
198
  style?: CSSProperties;
199
199
  withBorder?: boolean;
200
+ borderRadius?: string;
201
+ width?: number;
202
+ height?: number;
203
+ fontSize?: number;
200
204
  };
201
205
  declare const _default$7: React.NamedExoticComponent<LetterAvatarProps>;
202
206
 
203
- declare type ImageWithFallbackProps = JSX.IntrinsicElements["img"] & ({
207
+ declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
204
208
  onErrorContent: React.ReactElement;
205
- });
209
+ };
206
210
  declare const ImageWithFallback: React.FC<ImageWithFallbackProps>;
207
211
 
208
212
  declare type PersonDateTimeCardProps = {
@@ -370,6 +374,10 @@ declare const ConsultationCardSkeleton: () => JSX.Element;
370
374
 
371
375
  declare type AvatarProps = {
372
376
  dimensions?: number;
377
+ width?: number;
378
+ height?: number;
379
+ fontSize?: number;
380
+ borderRadius?: string;
373
381
  src?: string;
374
382
  firstName?: string;
375
383
  style?: CSSProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.14.0",
3
+ "version": "3.15.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",