@4alldigital/foundation-ui--gamma 1.53.0 → 1.53.2
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/Header/Header.d.ts +1 -1
- package/dist/types/lib/components/Header/Header.types.d.ts +1 -0
- package/dist/types/lib/components/SubscriptionManager/SubscriptionManager.d.ts +1 -1
- package/dist/types/lib/components/SubscriptionManager/SubscriptionManager.types.d.ts +4 -4
- package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.d.ts +1 -1
- package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.types.d.ts +1 -0
- package/dist/types/lib/translations/en.d.ts +12 -0
- package/dist/types/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +5 -0
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './Header.types';
|
|
3
3
|
declare const Header: {
|
|
4
|
-
({ testID, hideMenu, className, logoOnly, }: Props): React.ReactElement;
|
|
4
|
+
({ testID, hideMenu, className, logoOnly, userPicture, }: 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 './SubscriptionManager.types';
|
|
3
3
|
declare const SubscriptionManager: {
|
|
4
|
-
({ testID, title, children, subscription, plans, changeSubscriptionCallback, pauseSubscriptionCallback, selectedPlanCallback,
|
|
4
|
+
({ testID, title, children, subscription, plans, changeSubscriptionCallback, pauseSubscriptionCallback, selectedPlanCallback, confirmPlanCallback, isLoading, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default SubscriptionManager;
|
|
@@ -3,7 +3,7 @@ export interface Props {
|
|
|
3
3
|
title?: string;
|
|
4
4
|
description?: string;
|
|
5
5
|
children?: React.ReactNode;
|
|
6
|
-
subscription
|
|
6
|
+
subscription?: {
|
|
7
7
|
id: string;
|
|
8
8
|
status: string;
|
|
9
9
|
plan: string;
|
|
@@ -19,8 +19,8 @@ export interface Props {
|
|
|
19
19
|
icon?: string;
|
|
20
20
|
}[];
|
|
21
21
|
isLoading?: boolean;
|
|
22
|
-
changeSubscriptionCallback
|
|
23
|
-
pauseSubscriptionCallback
|
|
24
|
-
contactSupportCallback: () => void;
|
|
22
|
+
changeSubscriptionCallback?: (id: string) => void;
|
|
23
|
+
pauseSubscriptionCallback?: () => void;
|
|
25
24
|
selectedPlanCallback?: (planId: string) => void;
|
|
25
|
+
confirmPlanCallback?: (planId: string) => void;
|
|
26
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './WorkoutScreen.types';
|
|
3
3
|
declare const WorkoutScreen: {
|
|
4
|
-
({ testID, id, title, image, description, created, duration, level, section, video, category, type, likeCallback, completedCallback, favouriteCallback, isLiked, isCompleted, isFavourite, relatedWorkouts, hasActiveSubscription, htmlDetails, }: Props): React.ReactElement;
|
|
4
|
+
({ testID, id, title, image, description, created, duration, level, section, video, category, type, likeCallback, completedCallback, favouriteCallback, isLiked, isCompleted, isFavourite, relatedWorkouts, hasActiveSubscription, htmlDetails, noSubActionCallback, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default WorkoutScreen;
|
|
@@ -504,6 +504,18 @@ declare const strings: {
|
|
|
504
504
|
RETURN_TO_HOMEPAGE: string;
|
|
505
505
|
EXPLORE_SITE: string;
|
|
506
506
|
STILL_NEED_HELP: string;
|
|
507
|
+
SUBSCRIPTON_UPDATED_SUCCESS: string;
|
|
508
|
+
SUBSCRIPTON_UPDATED_FAILED: string;
|
|
509
|
+
SELECT_A_PLAN: string;
|
|
510
|
+
CONFIRM_CHOICE: string;
|
|
511
|
+
PROVIDE_PAYMENT_DETAILS: string;
|
|
512
|
+
SUBSCRIPTON_TRIALING: string;
|
|
513
|
+
NEED_HELP_WITH_SUBSCRIPTION: string;
|
|
514
|
+
CONTACT_SUPPORT: string;
|
|
515
|
+
REGISTRATION_EMAIL_SENT: string;
|
|
516
|
+
VERIFY_EMAIL: string;
|
|
517
|
+
VERIFICATION_SUCCESS: string;
|
|
518
|
+
SUBSCRIBE: string;
|
|
507
519
|
};
|
|
508
520
|
ERRORS: {
|
|
509
521
|
GENERIC_ERROR: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type IfMaybeUndefined<T, True, False> = [undefined] extends [T] ? True : False;
|
|
2
|
+
declare const testAccess: 0;
|
|
3
|
+
export type IfUncheckedIndexedAccess<True, False> = IfMaybeUndefined<typeof testAccess, True, False>;
|
|
4
|
+
export type UncheckedIndexedAccess<T> = IfUncheckedIndexedAccess<T | undefined, T>;
|
|
5
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4alldigital/foundation-ui--gamma",
|
|
3
|
-
"version": "1.53.
|
|
3
|
+
"version": "1.53.2",
|
|
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": "27620938aa28d0c40ec1c5cc2a29b29e1dc540fa",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@elastic/datemath": "^5.0.3",
|
|
45
45
|
"@elastic/react-search-ui": "^1.21.5",
|