@4alldigital/foundation-ui--gamma 1.53.1 → 1.53.3

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.
@@ -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;
@@ -6,4 +6,5 @@ export interface Props {
6
6
  hideMenu?: boolean;
7
7
  logoOnly?: boolean;
8
8
  className?: string;
9
+ userPicture?: string;
9
10
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './CardGridScreen.types';
3
3
  declare const CardGridScreen: {
4
- ({ testID, title, image, data, onPressCallback, isLoading }: Props): React.ReactElement;
4
+ ({ testID, title, image, data, onPressCallback, isLoading, noDataMessage, }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default CardGridScreen;
@@ -6,4 +6,5 @@ export interface Props {
6
6
  data?: CardProps[];
7
7
  onPressCallback: (id: string) => void;
8
8
  isLoading?: boolean;
9
+ noDataMessage?: string;
9
10
  }
@@ -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;
@@ -27,4 +27,5 @@ export interface Props {
27
27
  isLoading?: boolean;
28
28
  hasActiveSubscription?: boolean;
29
29
  htmlDetails?: boolean;
30
+ noSubActionCallback?: () => void;
30
31
  }
@@ -512,6 +512,20 @@ declare const strings: {
512
512
  SUBSCRIPTON_TRIALING: string;
513
513
  NEED_HELP_WITH_SUBSCRIPTION: string;
514
514
  CONTACT_SUPPORT: string;
515
+ REGISTRATION_EMAIL_SENT: string;
516
+ VERIFY_EMAIL: string;
517
+ VERIFICATION_SUCCESS: string;
518
+ SUBSCRIBE: string;
519
+ NO_DATA_FOUND: string;
520
+ NO_DATA: string;
521
+ NO_WORKOUTS: string;
522
+ NO_MEDIA: string;
523
+ NO_CHALLENGES: string;
524
+ NO_LIVE: string;
525
+ NO_SCHEDULE: string;
526
+ NO_CONTENT: string;
527
+ PROMO_INFO: string;
528
+ REQUEST_PROMO_INFO: string;
515
529
  };
516
530
  ERRORS: {
517
531
  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.1",
3
+ "version": "1.53.3",
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": "92c685073087f21e78af71caf4306f630c28500c",
42
+ "gitHead": "5d7e8b1d907ae8c8cc5cd671d8beff8b0f5a03ed",
43
43
  "dependencies": {
44
44
  "@elastic/datemath": "^5.0.3",
45
45
  "@elastic/react-search-ui": "^1.21.5",
@@ -58,12 +58,12 @@
58
58
  "date-fns": "^3.6.0",
59
59
  "date-input-polyfill": "^2.14.0",
60
60
  "filter-invalid-dom-props": "^3.0.1",
61
- "framer-motion": "^11.3.28",
61
+ "framer-motion": "^11.3.29",
62
62
  "history": "^5.3.0",
63
63
  "html-react-parser": "^5.1.12",
64
64
  "iso8601-duration": "^2.1.2",
65
65
  "libphonenumber-js": "^1.11.7",
66
- "next": "^14.2.5",
66
+ "next": "^14.2.6",
67
67
  "rc-pagination": "^4.2.0",
68
68
  "react": "^18.3.1",
69
69
  "react-burger-menu": "^3.0.9",