@4alldigital/foundation-ui--gamma 1.48.0 → 1.50.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.
Files changed (78) hide show
  1. package/dist/foundation-ui.css +1 -1
  2. package/dist/index.esm.js +2 -2
  3. package/dist/index.js +2 -2
  4. package/dist/types/lib/components/Accordion/Accordion.d.ts +8 -0
  5. package/dist/types/lib/components/Accordion/Accordion.types.d.ts +8 -0
  6. package/dist/types/lib/components/Accordion/index.d.ts +1 -0
  7. package/dist/types/lib/components/Carousel/Carousel.types.d.ts +7 -1
  8. package/dist/types/lib/components/Chip/Chip.types.d.ts +2 -1
  9. package/dist/types/lib/components/DisplayHeading/DisplayHeading.d.ts +1 -1
  10. package/dist/types/lib/components/DisplayHeading/DisplayHeading.types.d.ts +1 -0
  11. package/dist/types/lib/components/Header/Header.d.ts +1 -1
  12. package/dist/types/lib/components/PanelFeature/PanelFeature.d.ts +1 -1
  13. package/dist/types/lib/components/PanelFeature/PanelFeature.types.d.ts +6 -0
  14. package/dist/types/lib/components/Schedule/Schedule.d.ts +8 -0
  15. package/dist/types/lib/components/Schedule/Schedule.types.d.ts +73 -0
  16. package/dist/types/lib/components/Schedule/index.d.ts +1 -0
  17. package/dist/types/lib/components/ScheduleItem/ScheduleItem.d.ts +8 -0
  18. package/dist/types/lib/components/ScheduleItem/ScheduleItem.types.d.ts +8 -0
  19. package/dist/types/lib/components/ScheduleItem/index.d.ts +1 -0
  20. package/dist/types/lib/components/Screen/Screen.d.ts +8 -0
  21. package/dist/types/lib/components/Screen/Screen.types.d.ts +1 -0
  22. package/dist/types/lib/components/Screen/index.d.ts +1 -0
  23. package/dist/types/lib/components/Video/Video.d.ts +1 -1
  24. package/dist/types/lib/components/Video/Video.types.d.ts +3 -1
  25. package/dist/types/lib/constants/index.d.ts +3 -0
  26. package/dist/types/lib/context/App/index.d.ts +5 -0
  27. package/dist/types/lib/forms/SubscriptionForm/SubscriptionForm.d.ts +8 -0
  28. package/dist/types/lib/forms/SubscriptionForm/SubscriptionForm.types.d.ts +6 -0
  29. package/dist/types/lib/forms/SubscriptionForm/index.d.ts +1 -0
  30. package/dist/types/lib/index.d.ts +1 -0
  31. package/dist/types/lib/templates/AccountScreen/AccountScreen.d.ts +8 -0
  32. package/dist/types/lib/templates/AccountScreen/AccountScreen.types.d.ts +29 -0
  33. package/dist/types/lib/templates/AccountScreen/index.d.ts +1 -0
  34. package/dist/types/lib/templates/AuthScreen/AuthScreen.d.ts +8 -0
  35. package/dist/types/lib/templates/AuthScreen/AuthScreen.types.d.ts +8 -0
  36. package/dist/types/lib/templates/AuthScreen/index.d.ts +1 -0
  37. package/dist/types/lib/templates/CardGridScreen/CardGridScreen.d.ts +8 -0
  38. package/dist/types/lib/templates/CardGridScreen/CardGridScreen.types.d.ts +9 -0
  39. package/dist/types/lib/templates/CardGridScreen/index.d.ts +1 -0
  40. package/dist/types/lib/templates/CatalogueScreen/CatalogueScreen.d.ts +8 -0
  41. package/dist/types/lib/templates/CatalogueScreen/CatalogueScreen.types.d.ts +7 -0
  42. package/dist/types/lib/templates/CatalogueScreen/index.d.ts +1 -0
  43. package/dist/types/lib/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.d.ts +8 -0
  44. package/dist/types/lib/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.types.d.ts +9 -0
  45. package/dist/types/lib/templates/ChallengeLibraryScreen/index.d.ts +1 -0
  46. package/dist/types/lib/templates/ChallengeScreen/ChallengeScreen.d.ts +8 -0
  47. package/dist/types/lib/templates/ChallengeScreen/ChallengeScreen.types.d.ts +19 -0
  48. package/dist/types/lib/templates/ChallengeScreen/index.d.ts +1 -0
  49. package/dist/types/lib/templates/ContentScreen/ContentScreen.d.ts +8 -0
  50. package/dist/types/lib/templates/ContentScreen/ContentScreen.types.d.ts +7 -0
  51. package/dist/types/lib/templates/ContentScreen/index.d.ts +1 -0
  52. package/dist/types/lib/templates/DashboardScreen/DashboardScreen.d.ts +8 -0
  53. package/dist/types/lib/templates/DashboardScreen/DashboardScreen.types.d.ts +25 -0
  54. package/dist/types/lib/templates/DashboardScreen/index.d.ts +1 -0
  55. package/dist/types/lib/templates/FAQScreen/FAQScreen.d.ts +8 -0
  56. package/dist/types/lib/templates/FAQScreen/FAQScreen.types.d.ts +14 -0
  57. package/dist/types/lib/templates/FAQScreen/index.d.ts +1 -0
  58. package/dist/types/lib/templates/HomeScreen/HomeScreen.d.ts +8 -0
  59. package/dist/types/lib/templates/HomeScreen/HomeScreen.types.d.ts +16 -0
  60. package/dist/types/lib/templates/HomeScreen/index.d.ts +1 -0
  61. package/dist/types/lib/templates/MenuScreen/MenuScreen.d.ts +8 -0
  62. package/dist/types/lib/templates/MenuScreen/MenuScreen.types.d.ts +11 -0
  63. package/dist/types/lib/templates/MenuScreen/index.d.ts +1 -0
  64. package/dist/types/lib/templates/ProfileScreen/ProfileScreen.d.ts +8 -0
  65. package/dist/types/lib/templates/ProfileScreen/ProfileScreen.types.d.ts +23 -0
  66. package/dist/types/lib/templates/ProfileScreen/index.d.ts +1 -0
  67. package/dist/types/lib/templates/ScheduleScreen/ScheduleScreen.d.ts +8 -0
  68. package/dist/types/lib/templates/ScheduleScreen/ScheduleScreen.types.d.ts +8 -0
  69. package/dist/types/lib/templates/ScheduleScreen/index.d.ts +1 -0
  70. package/dist/types/lib/templates/SubscriptionScreen/SubscriptionScreen.d.ts +8 -0
  71. package/dist/types/lib/templates/SubscriptionScreen/SubscriptionScreen.types.d.ts +25 -0
  72. package/dist/types/lib/templates/SubscriptionScreen/index.d.ts +1 -0
  73. package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.d.ts +8 -0
  74. package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.types.d.ts +30 -0
  75. package/dist/types/lib/templates/WorkoutScreen/index.d.ts +1 -0
  76. package/dist/types/lib/templates/index.d.ts +30 -0
  77. package/dist/types/lib/utils/index.d.ts +1 -0
  78. package/package.json +5 -4
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './Accordion.types';
3
+ declare const Accordion: {
4
+ ({ testID, data, titleKey, contentKey }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default Accordion;
8
+ export type { Props };
@@ -0,0 +1,8 @@
1
+ export interface Props {
2
+ testID?: string;
3
+ titleKey?: string;
4
+ contentKey?: string;
5
+ data: {
6
+ [key: string]: string;
7
+ }[];
8
+ }
@@ -0,0 +1 @@
1
+ export { default } from './Accordion';
@@ -1,4 +1,4 @@
1
- import { Props as CardProps } from "../Card/Card.types";
1
+ import { Props as CardProps } from '../Card/Card.types';
2
2
  export interface Props {
3
3
  testID?: string;
4
4
  data: CardProps[];
@@ -14,5 +14,11 @@ export interface Props {
14
14
  shouldScrollOnClick?: boolean;
15
15
  showDots?: boolean;
16
16
  showArrows?: boolean;
17
+ responsive?: {
18
+ breakpoint: number;
19
+ settings: {
20
+ slidesToShow: number;
21
+ };
22
+ }[];
17
23
  };
18
24
  }
@@ -1,9 +1,10 @@
1
+ export type ChipVariant = 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error';
1
2
  export interface Props {
2
3
  testID?: string;
3
4
  text: string;
4
5
  outline?: boolean;
5
6
  rounded?: boolean;
6
- variant?: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
7
+ variant?: ChipVariant;
7
8
  size?: 'small' | 'medium' | 'large';
8
9
  icon?: string;
9
10
  iconFirst?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './DisplayHeading.types';
3
3
  declare const DisplayHeading: {
4
- ({ text, tag }: Props): React.ReactElement;
4
+ ({ text, flush, tag }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default DisplayHeading;
@@ -2,4 +2,5 @@ import { HEADING_TAGS } from "../Heading/Heading.types";
2
2
  export interface Props {
3
3
  text: string;
4
4
  tag?: HEADING_TAGS;
5
+ flush?: boolean;
5
6
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './Header.types';
3
3
  declare const Header: {
4
- ({ testID, loginCallback, logoutCallback, isAuthenticated, hideMenu, className, logoOnly, }: Props): React.ReactElement;
4
+ ({ testID, hideMenu, className, logoOnly, }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default Header;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './PanelFeature.types';
3
3
  declare const PanelFeature: {
4
- ({ testID, title, description, inversed, assets, buttonData, withBg, spacing, }: Props): React.ReactElement;
4
+ ({ testID, title, description, inversed, assets, buttonData, withBg, spacing, chips, }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default PanelFeature;
@@ -16,4 +16,10 @@ export interface Props {
16
16
  };
17
17
  withBg?: boolean;
18
18
  spacing?: SPACING;
19
+ chips?: {
20
+ text: string;
21
+ icon?: string;
22
+ iconFirst?: boolean;
23
+ variant?: string;
24
+ }[];
19
25
  }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './Schedule.types';
3
+ declare const Schedule: {
4
+ ({ testID, raised, scheduleItems, hasAccess }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default Schedule;
8
+ export type { Props };
@@ -0,0 +1,73 @@
1
+ export interface WeekDay {
2
+ date: Date;
3
+ isToday: boolean;
4
+ }
5
+ type WeekdayLong = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
6
+ export interface ScheduleItem {
7
+ day: WeekdayLong;
8
+ component: React.ReactElement;
9
+ }
10
+ interface Schedule {
11
+ uuid: string;
12
+ created: string;
13
+ langcode: string;
14
+ updated: string;
15
+ days: {
16
+ monday?: {
17
+ title: string;
18
+ start: string;
19
+ end: string;
20
+ video: string;
21
+ live: string;
22
+ }[];
23
+ tuesday?: {
24
+ title: string;
25
+ start: string;
26
+ end: string;
27
+ video: string;
28
+ live: string;
29
+ }[];
30
+ wednesday?: {
31
+ title: string;
32
+ start: string;
33
+ end: string;
34
+ video: string;
35
+ live: string;
36
+ }[];
37
+ thursday?: {
38
+ title: string;
39
+ start: string;
40
+ end: string;
41
+ video: string;
42
+ live: string;
43
+ }[];
44
+ friday?: {
45
+ title: string;
46
+ start: string;
47
+ end: string;
48
+ video: string;
49
+ live: string;
50
+ }[];
51
+ saturday?: {
52
+ title: string;
53
+ start: string;
54
+ end: string;
55
+ video: string;
56
+ live: string;
57
+ }[];
58
+ sunday?: {
59
+ title: string;
60
+ start: string;
61
+ end: string;
62
+ video: string;
63
+ live: string;
64
+ }[];
65
+ }[];
66
+ }
67
+ export interface Props {
68
+ testID?: string;
69
+ raised?: boolean;
70
+ scheduleItems?: Schedule;
71
+ hasAccess?: boolean;
72
+ }
73
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './Schedule';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './ScheduleItem.types';
3
+ declare const ScheduleItem: {
4
+ ({ testID, end, live, start, title }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default ScheduleItem;
8
+ export type { Props };
@@ -0,0 +1,8 @@
1
+ export interface Props {
2
+ testID?: string;
3
+ end: number;
4
+ live: string;
5
+ start: number;
6
+ title: string;
7
+ video?: string;
8
+ }
@@ -0,0 +1 @@
1
+ export { default } from './ScheduleItem';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './Screen.types';
3
+ declare const Screen: {
4
+ ({ testID, children, showHeader, showFooter, image, showOverlay, isFlush, }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default Screen;
8
+ export type { Props };
@@ -9,4 +9,5 @@ export interface Props {
9
9
  footerProps?: FooterProps;
10
10
  image?: string;
11
11
  showOverlay?: boolean;
12
+ isFlush?: boolean;
12
13
  }
@@ -0,0 +1 @@
1
+ export { default } from './Screen';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './Video.types';
3
3
  declare const Video: {
4
- ({ url, sources, onReady, className, options, isYoutube, defaultAudioTrack, rounded, aspectRatioValue, }: Props): React.ReactElement;
4
+ ({ url, sources, onReady, onExitFullScreenCallback, className, options, isYoutube, defaultAudioTrack, rounded, aspectRatioValue, fullScreenOnly, }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default Video;
@@ -5,14 +5,16 @@ export interface Props {
5
5
  preload?: 'auto' | 'metadata' | 'none';
6
6
  title?: string;
7
7
  sources?: {
8
- uri: string;
8
+ src: string;
9
9
  type?: string;
10
10
  }[];
11
11
  className?: string;
12
12
  options?: any;
13
13
  isYoutube?: boolean;
14
14
  onReady?: (player: any) => void;
15
+ onExitFullScreenCallback?: () => void;
15
16
  defaultAudioTrack?: string;
16
17
  rounded?: boolean;
17
18
  aspectRatioValue?: '16/9' | '4/3' | '1/1' | '3/4' | '9/16' | '16/7' | '16/5';
19
+ fullScreenOnly?: boolean;
18
20
  }
@@ -0,0 +1,3 @@
1
+ export declare const DATE_FORMAT = "MMMM dd, yyyy";
2
+ export declare const DATE_TIME_FORMAT = "MMMM dd, yyyy HH:mm";
3
+ export declare const TIME_FORMAT = "HH:mm";
@@ -42,6 +42,11 @@ interface AppContextProps {
42
42
  currency?: string;
43
43
  country?: string;
44
44
  };
45
+ app?: {
46
+ loginCallback?: () => void;
47
+ logoutCallback?: () => void;
48
+ isAuthenticated?: boolean;
49
+ };
45
50
  }
46
51
  export declare const AppContext: React.Context<AppContextProps>;
47
52
  interface AppProviderProps {
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './SubscriptionForm.types';
3
+ declare const SubscriptionForm: {
4
+ ({ testID, initialValues, handleSubmit, isDisabled }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default SubscriptionForm;
8
+ export type { Props };
@@ -0,0 +1,6 @@
1
+ export interface Props {
2
+ testID?: string;
3
+ initialValues?: Record<string, string>;
4
+ handleSubmit: (values: Record<string, string>) => void;
5
+ isDisabled?: boolean;
6
+ }
@@ -0,0 +1 @@
1
+ export { default } from './SubscriptionForm';
@@ -4,3 +4,4 @@ export * from './forms';
4
4
  export * from './context';
5
5
  export * from './translations';
6
6
  export * from './hooks';
7
+ export * from './templates';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './AccountScreen.types';
3
+ declare const AccountScreen: {
4
+ ({ testID, title, image, user, logoutCallback, menu }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default AccountScreen;
8
+ export type { Props };
@@ -0,0 +1,29 @@
1
+ export interface Props {
2
+ testID: string;
3
+ title?: string;
4
+ image?: string;
5
+ user?: {
6
+ profile?: {
7
+ picture?: string;
8
+ firstName?: string;
9
+ lastName?: string;
10
+ dateOfBirth?: string;
11
+ email: string;
12
+ };
13
+ subscription?: {
14
+ status?: string;
15
+ price?: string;
16
+ nextBillingDate?: string;
17
+ cardType?: string;
18
+ cardNumber?: string;
19
+ cardExpiry?: string;
20
+ };
21
+ };
22
+ logoutCallback: () => void;
23
+ menu: {
24
+ title: string;
25
+ route: string;
26
+ icon?: string;
27
+ onClick: () => void;
28
+ }[];
29
+ }
@@ -0,0 +1 @@
1
+ export { default } from './AccountScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './AuthScreen.types';
3
+ declare const AuthScreen: {
4
+ ({ testID, title, image, formProps }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default AuthScreen;
8
+ export type { Props };
@@ -0,0 +1,8 @@
1
+ import { Props as AuthProps } from '../../components/Authenticator/Authenticator.types';
2
+ export interface Props {
3
+ testID?: string;
4
+ title: string;
5
+ isLoading: boolean;
6
+ image?: string;
7
+ formProps: AuthProps;
8
+ }
@@ -0,0 +1 @@
1
+ export { default } from './AuthScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './CardGridScreen.types';
3
+ declare const CardGridScreen: {
4
+ ({ testID, title, image, data, onPressCallback, isLoading }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default CardGridScreen;
8
+ export type { Props };
@@ -0,0 +1,9 @@
1
+ import { Props as CardProps } from '../../components/Card/Card.types';
2
+ export interface Props {
3
+ testID?: string;
4
+ title: string;
5
+ image?: string;
6
+ data?: CardProps[];
7
+ onPressCallback: (id: string) => void;
8
+ isLoading?: boolean;
9
+ }
@@ -0,0 +1 @@
1
+ export { default } from './CardGridScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './CatalogueScreen.types';
3
+ declare const CatalogueScreen: {
4
+ ({ testID, title, image, searchProps }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default CatalogueScreen;
8
+ export type { Props };
@@ -0,0 +1,7 @@
1
+ import { Props as SearchProps } from '../../features/Search/Search.types';
2
+ export interface Props {
3
+ testID?: string;
4
+ title: string;
5
+ image?: string;
6
+ searchProps: SearchProps;
7
+ }
@@ -0,0 +1 @@
1
+ export { default } from './CatalogueScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './ChallengeLibraryScreen.types';
3
+ declare const ChallengeLibraryScreen: {
4
+ ({ testID, title, image, data, isLoading, onPressCallback, }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default ChallengeLibraryScreen;
8
+ export type { Props };
@@ -0,0 +1,9 @@
1
+ import { Props as CardProps } from '../../components/Card/Card.types';
2
+ export interface Props {
3
+ testID?: string;
4
+ title: string;
5
+ image?: string;
6
+ data?: CardProps[];
7
+ isLoading?: boolean;
8
+ onPressCallback: (id: string) => void;
9
+ }
@@ -0,0 +1 @@
1
+ export { default } from './ChallengeLibraryScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './ChallengeScreen.types';
3
+ declare const ChallengeScreen: {
4
+ ({ testID, title, image, created, body, days, price, puchaseLabel, hasAccess, onPressCallback, purchaseCallback, }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default ChallengeScreen;
8
+ export type { Props };
@@ -0,0 +1,19 @@
1
+ interface ChallengeDay {
2
+ title: string;
3
+ image: string;
4
+ id: string;
5
+ }
6
+ export interface Props {
7
+ testID?: string;
8
+ title: string;
9
+ image?: string;
10
+ created?: number;
11
+ body?: string;
12
+ days?: ChallengeDay[];
13
+ hasAccess?: boolean;
14
+ onPressCallback: (id: string) => void;
15
+ price?: number;
16
+ puchaseLabel?: string;
17
+ purchaseCallback: () => void;
18
+ }
19
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './ChallengeScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './ContentScreen.types';
3
+ declare const ContentScreen: {
4
+ ({ testID, title, image, updated, content }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default ContentScreen;
8
+ export type { Props };
@@ -0,0 +1,7 @@
1
+ export interface Props {
2
+ testID?: string;
3
+ title: string;
4
+ image?: string;
5
+ content: string;
6
+ updated?: number;
7
+ }
@@ -0,0 +1 @@
1
+ export { default } from './ContentScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './DashboardScreen.types';
3
+ declare const DashboardScreen: {
4
+ ({ testID, title, image, user, latestData, recentdata, stats, promo, news, statsIsLoading, promosIsLoading, dataIsLoading, handleLatestDataPress, handleRecentDataPress, handleNewsDataPress, }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default DashboardScreen;
8
+ export type { Props };
@@ -0,0 +1,25 @@
1
+ import { CardProps, PanelHeroProps } from '../../components';
2
+ import { Props as HeaderProps } from '../../components/Header/Header.types';
3
+ import { Props as FooterProps } from '../../components/Footer/Footer.types';
4
+ export interface Props {
5
+ testID?: string;
6
+ title: string;
7
+ image?: string;
8
+ user?: {
9
+ id?: string;
10
+ name?: string;
11
+ };
12
+ latestData?: CardProps[];
13
+ recentdata?: CardProps[];
14
+ stats?: CardProps[];
15
+ promo?: PanelHeroProps;
16
+ news?: CardProps[];
17
+ statsIsLoading?: boolean;
18
+ promosIsLoading?: boolean;
19
+ dataIsLoading?: boolean;
20
+ handleLatestDataPress: (id: string) => void;
21
+ handleRecentDataPress: (id: string) => void;
22
+ handleNewsDataPress: (id: string) => void;
23
+ headerProps?: HeaderProps;
24
+ footerProps?: FooterProps;
25
+ }
@@ -0,0 +1 @@
1
+ export { default } from './DashboardScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './FAQScreen.types';
3
+ declare const FAQScreen: {
4
+ ({ testID, title, image, data, isLoading }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default FAQScreen;
8
+ export type { Props };
@@ -0,0 +1,14 @@
1
+ export interface Props {
2
+ testID?: string;
3
+ title: string;
4
+ image?: string;
5
+ data?: {
6
+ uuid?: string;
7
+ id?: string;
8
+ title?: string;
9
+ answer?: string;
10
+ created?: number;
11
+ updated?: number;
12
+ }[];
13
+ isLoading?: boolean;
14
+ }
@@ -0,0 +1 @@
1
+ export { default } from './FAQScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './HomeScreen.types';
3
+ declare const HomeScreen: {
4
+ ({ testID, image, panelVideoProps, panelFeatureProps, panelCardsProps, panelHerosProps, panelDataCardsProps, panelProductProps, }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default HomeScreen;
8
+ export type { Props };
@@ -0,0 +1,16 @@
1
+ import { Props as panelVideoProps } from '../../components/PanelVideo/PanelVideo.types';
2
+ import { Props as panelFeatureProps } from '../../components/PanelFeature/PanelFeature.types';
3
+ import { Props as panelCardsProps } from '../../components/PanelCards/PanelCards.types';
4
+ import { Props as panelHerosProps } from '../../components/PanelHero/PanelHero.types';
5
+ import { Props as panelProductProps } from '../../components/PanelProduct/PanelProduct.types';
6
+ export interface Props {
7
+ testID?: string;
8
+ title?: string;
9
+ image?: string;
10
+ panelVideoProps?: panelVideoProps;
11
+ panelFeatureProps?: panelFeatureProps;
12
+ panelCardsProps?: panelCardsProps;
13
+ panelHerosProps?: panelHerosProps[];
14
+ panelDataCardsProps?: panelCardsProps;
15
+ panelProductProps?: panelProductProps;
16
+ }
@@ -0,0 +1 @@
1
+ export { default } from './HomeScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './MenuScreen.types';
3
+ declare const MenuScreen: {
4
+ ({ testID, title, image, menu, isLoading }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default MenuScreen;
8
+ export type { Props };
@@ -0,0 +1,11 @@
1
+ export interface Props {
2
+ testID?: string;
3
+ title: string;
4
+ image?: string;
5
+ menu?: {
6
+ title: string;
7
+ onPress: (arg?: any) => void;
8
+ icon?: string;
9
+ }[];
10
+ isLoading?: boolean;
11
+ }
@@ -0,0 +1 @@
1
+ export { default } from './MenuScreen';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './ProfileScreen.types';
3
+ declare const ProfileScreen: {
4
+ ({ testID, title, image, user, handleProfileSubmit }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default ProfileScreen;
8
+ export type { Props };