@mindly/ui-components 0.1.40 → 0.1.42
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -2
- package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +4 -1
- package/dist/cjs/types/lib/global-styles/GlobalStyles.style.d.ts +5 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -2
- package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +4 -1
- package/dist/esm/types/lib/global-styles/GlobalStyles.style.d.ts +5 -0
- package/dist/index.d.ts +11 -9
- package/package.json +1 -1
- package/dist/cjs/types/lib/tab-bar/TabBar.d.ts +0 -8
- package/dist/cjs/types/lib/tab-bar/TabBar.style.d.ts +0 -17
- package/dist/esm/types/lib/tab-bar/TabBar.d.ts +0 -8
- package/dist/esm/types/lib/tab-bar/TabBar.style.d.ts +0 -17
|
@@ -3,7 +3,6 @@ import { FloatingButton } from './lib/floating-button/FloatingButton';
|
|
|
3
3
|
import { FooterForBooking } from './lib/footer-for-booking/FooterForBooking';
|
|
4
4
|
import { ListButton } from './lib/list-button/ListButton';
|
|
5
5
|
import { NavigationBar } from './lib/navigation-bar/NavigationBar';
|
|
6
|
-
import { TabBar } from './lib/tab-bar/TabBar';
|
|
7
6
|
import { ConsultationCard } from './lib/consultation-card/ConsultationCard';
|
|
8
7
|
import { ContentCard } from './lib/content-card/ContentCard';
|
|
9
8
|
import { TherapistCard } from './lib/therapist-card/TherapistCard';
|
|
@@ -14,4 +13,5 @@ import { NoInternetConnection } from './lib/no-internet-connection/NoInternetCon
|
|
|
14
13
|
import { TherapistInformationComponent } from './lib/therapist-information-component/TherapistInformationComponent';
|
|
15
14
|
import { Input } from './lib/input/Input';
|
|
16
15
|
import { ScrollTabs } from './lib/scroll-tabs/ScrollTabs';
|
|
17
|
-
|
|
16
|
+
import { GlobalStyles } from './lib/global-styles/GlobalStyles.style';
|
|
17
|
+
export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ConsultationCard, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, GlobalStyles, };
|
|
@@ -8,6 +8,9 @@ export interface ConsultationCardProps {
|
|
|
8
8
|
day: string;
|
|
9
9
|
time: string;
|
|
10
10
|
avatar: string;
|
|
11
|
-
['data-testid']?: string;
|
|
11
|
+
['data-container-testid']?: string;
|
|
12
|
+
['data-start-testid']?: string;
|
|
13
|
+
['data-reschedule-testid']?: string;
|
|
14
|
+
['data-refund-testid']?: string;
|
|
12
15
|
}
|
|
13
16
|
export declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
+
import * as styled_components from 'styled-components';
|
|
2
3
|
|
|
3
4
|
interface ButtonProps {
|
|
4
5
|
buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
|
|
@@ -40,13 +41,6 @@ interface NavigationBarProps {
|
|
|
40
41
|
}
|
|
41
42
|
declare const NavigationBar: React.FC<NavigationBarProps>;
|
|
42
43
|
|
|
43
|
-
interface TabBarProps {
|
|
44
|
-
isIos: boolean;
|
|
45
|
-
children: ReactNode;
|
|
46
|
-
['data-testid']?: string;
|
|
47
|
-
}
|
|
48
|
-
declare const TabBar: React.FC<TabBarProps>;
|
|
49
|
-
|
|
50
44
|
interface ConsultationCardProps {
|
|
51
45
|
startConsultation: (props?: React.SyntheticEvent) => void;
|
|
52
46
|
handleReschedule: (props?: React.SyntheticEvent) => void;
|
|
@@ -55,7 +49,10 @@ interface ConsultationCardProps {
|
|
|
55
49
|
day: string;
|
|
56
50
|
time: string;
|
|
57
51
|
avatar: string;
|
|
58
|
-
['data-testid']?: string;
|
|
52
|
+
['data-container-testid']?: string;
|
|
53
|
+
['data-start-testid']?: string;
|
|
54
|
+
['data-reschedule-testid']?: string;
|
|
55
|
+
['data-refund-testid']?: string;
|
|
59
56
|
}
|
|
60
57
|
declare const ConsultationCard: React.FC<ConsultationCardProps>;
|
|
61
58
|
|
|
@@ -144,4 +141,9 @@ interface ScrollTabsProps {
|
|
|
144
141
|
}
|
|
145
142
|
declare const ScrollTabs: React.FC<ScrollTabsProps>;
|
|
146
143
|
|
|
147
|
-
|
|
144
|
+
interface GSProps {
|
|
145
|
+
isIos: boolean;
|
|
146
|
+
}
|
|
147
|
+
declare const GlobalStyles: styled_components.StyledComponent<"div", any, GSProps, never>;
|
|
148
|
+
|
|
149
|
+
export { ArchivedConsultationCard, Button, ConsultationCard, ContentCard, DatePicker, FloatingButton, FooterForBooking, GlobalStyles, Input, ListButton, NavigationBar, NoInternetConnection, ScrollTabs, TherapistCard, TherapistInformationComponent, toast };
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface ContainerProps {
|
|
3
|
-
isIos: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonTabBar & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & {
|
|
6
|
-
onIonTabsDidChange?: ((event: CustomEvent<{
|
|
7
|
-
tab: string;
|
|
8
|
-
}>) => void) | undefined;
|
|
9
|
-
onIonTabsWillChange?: ((event: CustomEvent<{
|
|
10
|
-
tab: string;
|
|
11
|
-
}>) => void) | undefined;
|
|
12
|
-
slot?: "bottom" | "top" | undefined;
|
|
13
|
-
style?: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
} | undefined;
|
|
16
|
-
} & Pick<import("react").HTMLAttributes<HTMLIonTabBarElement>, "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("react").RefAttributes<HTMLIonTabBarElement>>, any, ContainerProps, never>;
|
|
17
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface ContainerProps {
|
|
3
|
-
isIos: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonTabBar & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & {
|
|
6
|
-
onIonTabsDidChange?: ((event: CustomEvent<{
|
|
7
|
-
tab: string;
|
|
8
|
-
}>) => void) | undefined;
|
|
9
|
-
onIonTabsWillChange?: ((event: CustomEvent<{
|
|
10
|
-
tab: string;
|
|
11
|
-
}>) => void) | undefined;
|
|
12
|
-
slot?: "bottom" | "top" | undefined;
|
|
13
|
-
style?: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
} | undefined;
|
|
16
|
-
} & Pick<import("react").HTMLAttributes<HTMLIonTabBarElement>, "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("react").RefAttributes<HTMLIonTabBarElement>>, any, ContainerProps, never>;
|
|
17
|
-
export {};
|