@4alldigital/foundation-ui--gamma 1.47.0 → 1.49.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.
- package/dist/foundation-ui.css +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/types/lib/components/Accordion/Accordion.d.ts +8 -0
- package/dist/types/lib/components/Accordion/Accordion.types.d.ts +8 -0
- package/dist/types/lib/components/Accordion/index.d.ts +1 -0
- package/dist/types/lib/components/Card/Card.types.d.ts +1 -0
- package/dist/types/lib/components/Card/types/CardMedia/CardMedia.d.ts +1 -1
- package/dist/types/lib/components/CardGrid/CardGrid.d.ts +8 -0
- package/dist/types/lib/components/CardGrid/CardGrid.types.d.ts +6 -0
- package/dist/types/lib/components/CardGrid/index.d.ts +1 -0
- package/dist/types/lib/components/Carousel/Carousel.types.d.ts +7 -1
- package/dist/types/lib/components/Header/Header.d.ts +1 -1
- package/dist/types/lib/components/Schedule/Schedule.d.ts +8 -0
- package/dist/types/lib/components/Schedule/Schedule.types.d.ts +73 -0
- package/dist/types/lib/components/Schedule/index.d.ts +1 -0
- package/dist/types/lib/components/ScheduleItem/ScheduleItem.d.ts +8 -0
- package/dist/types/lib/components/ScheduleItem/ScheduleItem.types.d.ts +8 -0
- package/dist/types/lib/components/ScheduleItem/index.d.ts +1 -0
- package/dist/types/lib/components/Screen/Screen.d.ts +8 -0
- package/dist/types/lib/components/Screen/Screen.types.d.ts +12 -0
- package/dist/types/lib/components/Screen/index.d.ts +1 -0
- package/dist/types/lib/components/Video/Video.types.d.ts +1 -1
- package/dist/types/lib/components/index.d.ts +4 -0
- package/dist/types/lib/constants/index.d.ts +3 -0
- package/dist/types/lib/context/App/index.d.ts +5 -0
- package/dist/types/lib/features/Search/views/Layout/Layout.d.ts +1 -1
- package/dist/types/lib/features/Search/views/Layout/Layout.types.d.ts +1 -0
- package/dist/types/lib/features/Search/views/SearchBox/SearchBox.d.ts +1 -1
- package/dist/types/lib/features/Search/views/SearchBox/SearchBox.types.d.ts +2 -0
- package/dist/types/lib/forms/SubscriptionForm/SubscriptionForm.d.ts +8 -0
- package/dist/types/lib/forms/SubscriptionForm/SubscriptionForm.types.d.ts +6 -0
- package/dist/types/lib/forms/SubscriptionForm/index.d.ts +1 -0
- package/dist/types/lib/index.d.ts +1 -0
- package/dist/types/lib/templates/AccountScreen/AccountScreen.d.ts +8 -0
- package/dist/types/lib/templates/AccountScreen/AccountScreen.types.d.ts +29 -0
- package/dist/types/lib/templates/AccountScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/AuthScreen/AuthScreen.d.ts +8 -0
- package/dist/types/lib/templates/AuthScreen/AuthScreen.types.d.ts +8 -0
- package/dist/types/lib/templates/AuthScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/CardGridScreen/CardGridScreen.d.ts +8 -0
- package/dist/types/lib/templates/CardGridScreen/CardGridScreen.types.d.ts +9 -0
- package/dist/types/lib/templates/CardGridScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/CatalogueScreen/CatalogueScreen.d.ts +8 -0
- package/dist/types/lib/templates/CatalogueScreen/CatalogueScreen.types.d.ts +7 -0
- package/dist/types/lib/templates/CatalogueScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.d.ts +8 -0
- package/dist/types/lib/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.types.d.ts +9 -0
- package/dist/types/lib/templates/ChallengeLibraryScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ChallengeScreen/ChallengeScreen.d.ts +8 -0
- package/dist/types/lib/templates/ChallengeScreen/ChallengeScreen.types.d.ts +19 -0
- package/dist/types/lib/templates/ChallengeScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ContentScreen/ContentScreen.d.ts +8 -0
- package/dist/types/lib/templates/ContentScreen/ContentScreen.types.d.ts +7 -0
- package/dist/types/lib/templates/ContentScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/DashboardScreen/DashboardScreen.d.ts +8 -0
- package/dist/types/lib/templates/DashboardScreen/DashboardScreen.types.d.ts +25 -0
- package/dist/types/lib/templates/DashboardScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/FAQScreen/FAQScreen.d.ts +8 -0
- package/dist/types/lib/templates/FAQScreen/FAQScreen.types.d.ts +14 -0
- package/dist/types/lib/templates/FAQScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/HomeScreen/HomeScreen.d.ts +8 -0
- package/dist/types/lib/templates/HomeScreen/HomeScreen.types.d.ts +5 -0
- package/dist/types/lib/templates/HomeScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/MenuScreen/MenuScreen.d.ts +8 -0
- package/dist/types/lib/templates/MenuScreen/MenuScreen.types.d.ts +11 -0
- package/dist/types/lib/templates/MenuScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ProfileScreen/ProfileScreen.d.ts +8 -0
- package/dist/types/lib/templates/ProfileScreen/ProfileScreen.types.d.ts +23 -0
- package/dist/types/lib/templates/ProfileScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ScheduleScreen/ScheduleScreen.d.ts +8 -0
- package/dist/types/lib/templates/ScheduleScreen/ScheduleScreen.types.d.ts +8 -0
- package/dist/types/lib/templates/ScheduleScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/SubscriptionScreen/SubscriptionScreen.d.ts +8 -0
- package/dist/types/lib/templates/SubscriptionScreen/SubscriptionScreen.types.d.ts +25 -0
- package/dist/types/lib/templates/SubscriptionScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.d.ts +8 -0
- package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.types.d.ts +29 -0
- package/dist/types/lib/templates/WorkoutScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/index.d.ts +30 -0
- package/dist/types/lib/translations/en.d.ts +4 -0
- package/dist/types/lib/utils/index.d.ts +1 -0
- package/package.json +5 -4
|
@@ -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 };
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
handleProfileSubmit: (values: Record<string, string>) => void;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ProfileScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './ScheduleScreen.types';
|
|
3
|
+
declare const ScheduleScreen: {
|
|
4
|
+
({ testID, title, image, scheduleData, isLoading }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ScheduleScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ScheduleScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './SubscriptionScreen.types';
|
|
3
|
+
declare const SubscriptionScreen: {
|
|
4
|
+
({ testID, title, image, user, handleSubscriptionSubmit, subscriptionCallback, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default SubscriptionScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
plan?: string;
|
|
16
|
+
price?: string;
|
|
17
|
+
billingDate?: string;
|
|
18
|
+
cardType?: string;
|
|
19
|
+
cardNumber?: string;
|
|
20
|
+
cardExpiry?: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
handleSubscriptionSubmit: (values: any) => void;
|
|
24
|
+
subscriptionCallback?: () => void;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SubscriptionScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './WorkoutScreen.types';
|
|
3
|
+
declare const WorkoutScreen: {
|
|
4
|
+
({ testID, id, title, image, description, created, duration, level, section, uuid, video, category, type, likeCallback, completedCallback, favouriteCallback, isLiked, isCompleted, isFavourite, relatedWorkouts, isLoading, hasActiveSubscription, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default WorkoutScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
testID?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
image?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
uuid?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
created?: number;
|
|
9
|
+
duration?: string;
|
|
10
|
+
level?: string;
|
|
11
|
+
section?: string;
|
|
12
|
+
video: string;
|
|
13
|
+
videoPoster?: string;
|
|
14
|
+
videoDownload?: string;
|
|
15
|
+
category?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
isVideo?: boolean;
|
|
18
|
+
sharePath?: string;
|
|
19
|
+
shareMessage?: string;
|
|
20
|
+
likeCallback?: (id: string) => void;
|
|
21
|
+
isLiked?: boolean;
|
|
22
|
+
completedCallback?: (id: string) => void;
|
|
23
|
+
isCompleted?: boolean;
|
|
24
|
+
favouriteCallback?: (id: string) => void;
|
|
25
|
+
isFavourite?: boolean;
|
|
26
|
+
relatedWorkouts?: any[];
|
|
27
|
+
isLoading?: boolean;
|
|
28
|
+
hasActiveSubscription?: boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './WorkoutScreen';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export { default as AccountScreen } from './AccountScreen';
|
|
2
|
+
export { default as AuthScreen } from './AuthScreen';
|
|
3
|
+
export { default as CardGridScreen } from './CardGridScreen';
|
|
4
|
+
export { default as CatalogueScreen } from './CatalogueScreen';
|
|
5
|
+
export { default as ChallengeLibraryScreen } from './ChallengeLibraryScreen';
|
|
6
|
+
export { default as ChallengeScreen } from './ChallengeScreen';
|
|
7
|
+
export { default as ContentScreen } from './ContentScreen';
|
|
8
|
+
export { default as DashboardScreen } from './DashboardScreen';
|
|
9
|
+
export { default as FAQScreen } from './FAQScreen';
|
|
10
|
+
export { default as HomeScreen } from './HomeScreen';
|
|
11
|
+
export { default as MenuScreen } from './MenuScreen';
|
|
12
|
+
export { default as ProfileScreen } from './ProfileScreen';
|
|
13
|
+
export { default as ScheduleScreen } from './ScheduleScreen';
|
|
14
|
+
export { default as SubscriptionScreen } from './SubscriptionScreen';
|
|
15
|
+
export { default as WorkoutScreen } from './WorkoutScreen';
|
|
16
|
+
export type { Props as AccountScreenProps } from './AccountScreen/AccountScreen.types';
|
|
17
|
+
export type { Props as AuthScreenProps } from './AuthScreen/AuthScreen.types';
|
|
18
|
+
export type { Props as CardGridScreenProps } from './CardGridScreen/CardGridScreen.types';
|
|
19
|
+
export type { Props as CatalogueScreenProps } from './CatalogueScreen/CatalogueScreen.types';
|
|
20
|
+
export type { Props as ChallengeLibraryScreenProps } from './ChallengeLibraryScreen/ChallengeLibraryScreen.types';
|
|
21
|
+
export type { Props as ChallengeScreenProps } from './ChallengeScreen/ChallengeScreen.types';
|
|
22
|
+
export type { Props as ContentScreenProps } from './ContentScreen/ContentScreen.types';
|
|
23
|
+
export type { Props as DashboardScreenProps } from './DashboardScreen/DashboardScreen.types';
|
|
24
|
+
export type { Props as FAQScreenProps } from './FAQScreen/FAQScreen.types';
|
|
25
|
+
export type { Props as HomeScreenProps } from './HomeScreen/HomeScreen.types';
|
|
26
|
+
export type { Props as MenuScreenProps } from './MenuScreen/MenuScreen.types';
|
|
27
|
+
export type { Props as ProfileScreenProps } from './ProfileScreen/ProfileScreen.types';
|
|
28
|
+
export type { Props as ScheduleScreenProps } from './ScheduleScreen/ScheduleScreen.types';
|
|
29
|
+
export type { Props as SubscriptionScreenProps } from './SubscriptionScreen/SubscriptionScreen.types';
|
|
30
|
+
export type { Props as WorkoutScreenProps } from './WorkoutScreen/WorkoutScreen.types';
|
|
@@ -9,6 +9,9 @@ declare const strings: {
|
|
|
9
9
|
};
|
|
10
10
|
CHALLENGE: {
|
|
11
11
|
TITLE: string;
|
|
12
|
+
NOT_ENTERED_IN_CHALLENGE: string;
|
|
13
|
+
CLICK_TO_ENTER: string;
|
|
14
|
+
PAYMENT_NOTE: string;
|
|
12
15
|
};
|
|
13
16
|
CHALLENGES_LIST: {
|
|
14
17
|
TITLE: string;
|
|
@@ -348,6 +351,7 @@ declare const strings: {
|
|
|
348
351
|
SHARED: string;
|
|
349
352
|
NOT_ENTERED_IN_CHALLENGE: string;
|
|
350
353
|
ACCESS_RESTRICTED: string;
|
|
354
|
+
PURCHASE_TO_ACCESS: string;
|
|
351
355
|
SHOW_FILTERS: string;
|
|
352
356
|
HIDE_FILTERS: string;
|
|
353
357
|
THIS_WEEK: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4alldigital/foundation-ui--gamma",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.49.0",
|
|
4
4
|
"description": "Foundation UI Component library with GAMMA theme. ",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "cc773247aa4c24f3609d7e4d058945a8ae6d84c8",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@elastic/datemath": "^5.0.3",
|
|
45
45
|
"@elastic/react-search-ui": "^1.21.5",
|
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
55
55
|
"@tailwindcss/forms": "^0.5.7",
|
|
56
56
|
"@tailwindcss/typography": "^0.5.13",
|
|
57
|
-
"@videojs/http-streaming": "3.13.2",
|
|
58
57
|
"classnames": "^2.5.1",
|
|
59
58
|
"date-fns": "^3.6.0",
|
|
60
59
|
"date-input-polyfill": "^2.14.0",
|
|
@@ -62,11 +61,13 @@
|
|
|
62
61
|
"framer-motion": "^11.3.20",
|
|
63
62
|
"history": "^5.3.0",
|
|
64
63
|
"html-react-parser": "^5.1.12",
|
|
64
|
+
"iso8601-duration": "^2.1.2",
|
|
65
65
|
"libphonenumber-js": "^1.11.5",
|
|
66
66
|
"next": "^14.2.5",
|
|
67
67
|
"rc-pagination": "^4.2.0",
|
|
68
68
|
"react": "^18.3.1",
|
|
69
69
|
"react-burger-menu": "^3.0.9",
|
|
70
|
+
"react-collapsible": "^2.10.0",
|
|
70
71
|
"react-content-loader": "^7.0.2",
|
|
71
72
|
"react-device-detect": "^2.2.3",
|
|
72
73
|
"react-dom": "^18.3.1",
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
"tailwind-merge": "^2.4.0",
|
|
83
84
|
"tailwindcss": "^3.4.7",
|
|
84
85
|
"typescript": "^5.5.4",
|
|
85
|
-
"video.js": "8.
|
|
86
|
+
"video.js": "8.12.0"
|
|
86
87
|
},
|
|
87
88
|
"bugs": {
|
|
88
89
|
"url": "https://github.com/4AllDigital/foundation-ui/issues"
|