@mindly/ui-components 3.13.2 → 3.15.0

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,9 +1,14 @@
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;
7
11
  className?: string;
12
+ withBorder?: boolean;
8
13
  };
9
14
  export declare const Avatar: FC<AvatarProps>;
@@ -1,5 +1,9 @@
1
1
  declare type AvatarWrapperProps = {
2
2
  dimensions: number;
3
+ width?: number;
4
+ height?: number;
5
+ withBorder: boolean;
6
+ borderRadius?: string;
3
7
  };
4
8
  export declare const AvatarWrapper: import("styled-components").StyledComponent<"div", any, AvatarWrapperProps, never>;
5
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;
@@ -4,6 +4,11 @@ export declare type LetterAvatarProps = {
4
4
  dimensions?: number;
5
5
  className?: string;
6
6
  style?: CSSProperties;
7
+ withBorder?: boolean;
8
+ borderRadius?: string;
9
+ width?: number;
10
+ height?: number;
11
+ fontSize?: number;
7
12
  };
8
13
  declare const _default: React.NamedExoticComponent<LetterAvatarProps>;
9
14
  export default _default;
@@ -1,5 +1,10 @@
1
1
  declare type LetterAvatarStyledProps = {
2
2
  dimensions: number;
3
+ width?: number;
4
+ height?: number;
5
+ fontSize?: number;
6
+ withBorder: boolean;
7
+ borderRadius?: string;
3
8
  };
4
9
  declare const LetterAvatarStyled: import("styled-components").StyledComponent<"div", any, LetterAvatarStyledProps, never>;
5
10
  export default LetterAvatarStyled;
@@ -7,6 +7,7 @@ declare type RoundButtonPropsType = {
7
7
  buttonType?: 'transparent' | 'fullFill' | 'reject' | 'success';
8
8
  dimension?: number;
9
9
  transformed?: boolean;
10
+ isLoading?: boolean;
10
11
  };
11
12
  declare const RoundButton: React.FC<RoundButtonPropsType>;
12
13
  export default RoundButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const StyledRoundButtonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
3
  export declare const StyledRoundButtonText: import("styled-components").StyledComponent<"p", any, {}, never>;
3
4
  declare type StyledControlPanelButtonPropsType = {
@@ -7,4 +8,5 @@ declare type StyledControlPanelButtonPropsType = {
7
8
  transformed?: boolean;
8
9
  };
9
10
  export declare const StyledRoundButton: import("styled-components").StyledComponent<"button", any, StyledControlPanelButtonPropsType, never>;
11
+ export declare const Loader: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonSpinner & Pick<import("react").HTMLAttributes<HTMLIonSpinnerElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIonSpinnerElement>>, any, {}, never>;
10
12
  export {};
package/dist/index.d.ts CHANGED
@@ -196,12 +196,17 @@ declare type LetterAvatarProps = {
196
196
  dimensions?: number;
197
197
  className?: string;
198
198
  style?: CSSProperties;
199
+ withBorder?: boolean;
200
+ borderRadius?: string;
201
+ width?: number;
202
+ height?: number;
203
+ fontSize?: number;
199
204
  };
200
205
  declare const _default$7: React.NamedExoticComponent<LetterAvatarProps>;
201
206
 
202
- declare type ImageWithFallbackProps = JSX.IntrinsicElements["img"] & ({
207
+ declare type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
203
208
  onErrorContent: React.ReactElement;
204
- });
209
+ };
205
210
  declare const ImageWithFallback: React.FC<ImageWithFallbackProps>;
206
211
 
207
212
  declare type PersonDateTimeCardProps = {
@@ -369,10 +374,15 @@ declare const ConsultationCardSkeleton: () => JSX.Element;
369
374
 
370
375
  declare type AvatarProps = {
371
376
  dimensions?: number;
377
+ width?: number;
378
+ height?: number;
379
+ fontSize?: number;
380
+ borderRadius?: string;
372
381
  src?: string;
373
382
  firstName?: string;
374
383
  style?: CSSProperties;
375
384
  className?: string;
385
+ withBorder?: boolean;
376
386
  };
377
387
  declare const Avatar: FC<AvatarProps>;
378
388
 
@@ -455,6 +465,7 @@ declare type RoundButtonPropsType = {
455
465
  buttonType?: 'transparent' | 'fullFill' | 'reject' | 'success';
456
466
  dimension?: number;
457
467
  transformed?: boolean;
468
+ isLoading?: boolean;
458
469
  };
459
470
  declare const RoundButton: React.FC<RoundButtonPropsType>;
460
471
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.13.2",
3
+ "version": "3.15.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",