@mindly/ui-components 3.31.1 → 3.32.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.
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/{lib → deprecated}/button/Button.d.ts +3 -0
- package/dist/cjs/types/index.d.ts +3 -1
- package/dist/cjs/types/lib/CustomButton/CustomButton.d.ts +9 -0
- package/dist/cjs/types/lib/CustomButton/CustomButton.styled.d.ts +9 -0
- package/dist/cjs/types/lib/CustomButton/index.d.ts +1 -0
- package/dist/cjs/types/lib/Inputs/PasswordInput/PasswordInput.d.ts +3 -1
- package/dist/cjs/types/lib/UpdatesCard/UpdatesCard.d.ts +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/{lib → deprecated}/button/Button.d.ts +3 -0
- package/dist/esm/types/index.d.ts +3 -1
- package/dist/esm/types/lib/CustomButton/CustomButton.d.ts +9 -0
- package/dist/esm/types/lib/CustomButton/CustomButton.styled.d.ts +9 -0
- package/dist/esm/types/lib/CustomButton/index.d.ts +1 -0
- package/dist/esm/types/lib/Inputs/PasswordInput/PasswordInput.d.ts +3 -1
- package/dist/esm/types/lib/UpdatesCard/UpdatesCard.d.ts +1 -1
- package/dist/index.d.ts +19 -6
- package/package.json +1 -1
- /package/dist/cjs/types/{lib → deprecated}/button/Button.style.d.ts +0 -0
- /package/dist/esm/types/{lib → deprecated}/button/Button.style.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from './
|
|
1
|
+
import { Button } from './deprecated/button/Button';
|
|
2
2
|
import { FloatingButton } from './lib/floating-button/FloatingButton';
|
|
3
3
|
import { ListButton } from './lib/list-button/ListButton';
|
|
4
4
|
import { NavigationBar } from './lib/navigation-bar/NavigationBar';
|
|
@@ -143,3 +143,5 @@ export { default as CustomTextarea } from './lib/Inputs/CustomTextarea';
|
|
|
143
143
|
export * from './lib/Inputs/CustomTextarea';
|
|
144
144
|
export { default as CustomSelect } from './lib/Inputs/CustomSelect';
|
|
145
145
|
export * from './lib/Inputs/CustomSelect';
|
|
146
|
+
export { default as CustomButton } from './lib/CustomButton';
|
|
147
|
+
export * from './lib/CustomButton';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type PossibleButtonTypes = 'primary';
|
|
3
|
+
declare type ButtonProps = {
|
|
4
|
+
buttonType: PossibleButtonTypes;
|
|
5
|
+
borderRadius?: number;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
8
|
+
declare const CustomButton: React.FC<ButtonProps>;
|
|
9
|
+
export default CustomButton;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PossibleButtonTypes } from './CustomButton';
|
|
3
|
+
declare type StyledButtonProps = {
|
|
4
|
+
buttonType?: PossibleButtonTypes;
|
|
5
|
+
borderRadius?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const StyledButton: import("styled-components").StyledComponent<"button", any, StyledButtonProps, never>;
|
|
8
|
+
export declare const StyledSpinner: 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>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomButton';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const PasswordInput: React.
|
|
2
|
+
declare const PasswordInput: React.ForwardRefExoticComponent<{
|
|
3
|
+
error?: string | null | undefined;
|
|
4
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>;
|
|
3
5
|
export default PasswordInput;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,17 @@ import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, Rea
|
|
|
3
3
|
import { JSX as JSX$1 } from '@ionic/core/components';
|
|
4
4
|
import { ILocalVideoTrack, IRemoteVideoTrack, ILocalAudioTrack, IRemoteAudioTrack } from 'agora-rtc-sdk-ng';
|
|
5
5
|
|
|
6
|
-
interface ButtonProps {
|
|
6
|
+
interface ButtonProps$1 {
|
|
7
7
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
|
|
8
8
|
isDisabled: boolean;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
onClick?: (props?: React.SyntheticEvent) => void;
|
|
11
11
|
['data-testid']?: string;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
*/
|
|
16
|
+
declare const Button: React.FC<ButtonProps$1>;
|
|
14
17
|
|
|
15
18
|
interface FloatingButtonType {
|
|
16
19
|
bottomHeight: number;
|
|
@@ -524,9 +527,9 @@ declare type UpdatesPopupPropsType = {
|
|
|
524
527
|
text?: string;
|
|
525
528
|
closeHandler?: () => void;
|
|
526
529
|
buttonHandler?: () => void;
|
|
527
|
-
buttonType?: Extract<ButtonProps, 'buttonType'>;
|
|
530
|
+
buttonType?: Extract<ButtonProps$1, 'buttonType'>;
|
|
528
531
|
buttonText?: string;
|
|
529
|
-
disabledButton?: Extract<ButtonProps, 'isDisabled'>;
|
|
532
|
+
disabledButton?: Extract<ButtonProps$1, 'isDisabled'>;
|
|
530
533
|
};
|
|
531
534
|
declare const UpdatesCard: React.FC<UpdatesPopupPropsType>;
|
|
532
535
|
|
|
@@ -896,7 +899,9 @@ declare const ImageInput: React.ForwardRefExoticComponent<{
|
|
|
896
899
|
isError?: boolean | undefined;
|
|
897
900
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>;
|
|
898
901
|
|
|
899
|
-
declare const PasswordInput: React.
|
|
902
|
+
declare const PasswordInput: React.ForwardRefExoticComponent<{
|
|
903
|
+
error?: string | null | undefined;
|
|
904
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>;
|
|
900
905
|
|
|
901
906
|
declare const _default$1: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
902
907
|
isError?: boolean | undefined;
|
|
@@ -910,4 +915,12 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
910
915
|
isError?: boolean | undefined;
|
|
911
916
|
} & React.SelectHTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>>>;
|
|
912
917
|
|
|
913
|
-
|
|
918
|
+
declare type PossibleButtonTypes = 'primary';
|
|
919
|
+
declare type ButtonProps = {
|
|
920
|
+
buttonType: PossibleButtonTypes;
|
|
921
|
+
borderRadius?: number;
|
|
922
|
+
loading?: boolean;
|
|
923
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
924
|
+
declare const CustomButton: React.FC<ButtonProps>;
|
|
925
|
+
|
|
926
|
+
export { AppFooter, AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, _default$4 as BookingScheduleTime, _default$3 as BookingSpecialistInfo, Button, CancelSession, _default$n as ChatListItem, _default$l as ChatListSkeleton, _default$m as ChatMessage, ChatMessageSkeleton, _default$e as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$b as ConsultationModal, _default$9 as ConsultationSpecialistCard, Container, ContentCard, CustomButton, _default as CustomSelect, _default$1 as CustomTextarea, DatePicker, _default$7 as DaySlider, DayToRender, _default$5 as EducationCard, _default$k as EmptyChatList, EmptyChatMessages, _default$c as EmptyConsultations, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, HorizontalCalendarProps, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, _default$r as LetterAvatar, ListButton, ListSelect, LouseConnect, _default$o as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$q as PersonDateTimeCard, _default$6 as ProfileView, Range, _default$8 as ReSchedule, ReScheduleSuccess, RoundButton, RowSelect, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$p as SelectImpressionEmoji, _default$d as SignUpSessionButton, _default$a as SignUpSessionModal, Skeleton, SpecialistAbout, SpecialistCard, _default$i as SpecialistEducationCard, _default$h as SpecialistProfileViewCard, SpecialistStatisticsCard, SpecialistWorkDirections, StatisticsScroll, StatusTag, SwitchDeviceCard, TabBar, Tag, _default$2 as TextInput, _default$j as Textarea, TherapistCard, TherapistInformationComponent, Toggle, TooltipComponent, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$f as VideoCallInfo, _default$g as VideoPlayer, WorkDirections, YourLocalTimeBlock, decOfNum, toast };
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|