@mindly/ui-components 0.1.41 → 0.1.43

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.
@@ -13,5 +13,5 @@ import { NoInternetConnection } from './lib/no-internet-connection/NoInternetCon
13
13
  import { TherapistInformationComponent } from './lib/therapist-information-component/TherapistInformationComponent';
14
14
  import { Input } from './lib/input/Input';
15
15
  import { ScrollTabs } from './lib/scroll-tabs/ScrollTabs';
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, };
16
+ import { TabBar } from './lib/tab-bar/TabBar';
17
+ export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterForBooking, ListButton, NavigationBar, ConsultationCard, ContentCard, TherapistCard, toast, NoInternetConnection, TherapistInformationComponent, Input, ScrollTabs, TabBar, };
@@ -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>;
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface TabBarProps {
3
+ children: ReactNode;
4
+ isIos: boolean;
5
+ }
6
+ export declare const TabBar: React.FC<TabBarProps>;
@@ -0,0 +1,5 @@
1
+ interface ContainerProps {
2
+ isIos: boolean;
3
+ }
4
+ export declare const Container: import("styled-components").StyledComponent<"div", any, ContainerProps, never>;
5
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import React, { ReactNode } from 'react';
2
- import * as styled_components from 'styled-components';
3
2
 
4
3
  interface ButtonProps {
5
4
  buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive';
@@ -49,7 +48,10 @@ interface ConsultationCardProps {
49
48
  day: string;
50
49
  time: string;
51
50
  avatar: string;
52
- ['data-testid']?: string;
51
+ ['data-container-testid']?: string;
52
+ ['data-start-testid']?: string;
53
+ ['data-reschedule-testid']?: string;
54
+ ['data-refund-testid']?: string;
53
55
  }
54
56
  declare const ConsultationCard: React.FC<ConsultationCardProps>;
55
57
 
@@ -138,9 +140,10 @@ interface ScrollTabsProps {
138
140
  }
139
141
  declare const ScrollTabs: React.FC<ScrollTabsProps>;
140
142
 
141
- interface GSProps {
143
+ interface TabBarProps {
144
+ children: ReactNode;
142
145
  isIos: boolean;
143
146
  }
144
- declare const GlobalStyles: styled_components.StyledComponent<"div", any, GSProps, never>;
147
+ declare const TabBar: React.FC<TabBarProps>;
145
148
 
146
- export { ArchivedConsultationCard, Button, ConsultationCard, ContentCard, DatePicker, FloatingButton, FooterForBooking, GlobalStyles, Input, ListButton, NavigationBar, NoInternetConnection, ScrollTabs, TherapistCard, TherapistInformationComponent, toast };
149
+ export { ArchivedConsultationCard, Button, ConsultationCard, ContentCard, DatePicker, FloatingButton, FooterForBooking, Input, ListButton, NavigationBar, NoInternetConnection, ScrollTabs, TabBar, TherapistCard, TherapistInformationComponent, toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -1,5 +0,0 @@
1
- interface GSProps {
2
- isIos: boolean;
3
- }
4
- export declare const GlobalStyles: import("styled-components").StyledComponent<"div", any, GSProps, never>;
5
- export {};
@@ -1,5 +0,0 @@
1
- interface GSProps {
2
- isIos: boolean;
3
- }
4
- export declare const GlobalStyles: import("styled-components").StyledComponent<"div", any, GSProps, never>;
5
- export {};