@4alldigital/foundation-ui--gamma 1.74.5 → 1.75.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.
@@ -0,0 +1,7 @@
1
+ import { Props } from './Banner.types';
2
+ declare const Banner: {
3
+ ({ id, testID, title, text, icon, href, className }: Props): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default Banner;
7
+ export type { Props };
@@ -0,0 +1,9 @@
1
+ export interface Props {
2
+ id?: string;
3
+ testID?: string;
4
+ title?: string;
5
+ text: string;
6
+ icon?: string;
7
+ href?: string;
8
+ className?: string;
9
+ }
@@ -0,0 +1 @@
1
+ export { default } from './Banner';
@@ -8,6 +8,7 @@ export interface Props {
8
8
  id: string;
9
9
  status: string;
10
10
  plan: string;
11
+ planDescription?: string;
11
12
  price: string;
12
13
  nextBillingDate: string;
13
14
  endDate?: string;
@@ -1,6 +1,6 @@
1
1
  export interface TabItem {
2
2
  title: string;
3
- content: any;
3
+ content: React.ReactNode;
4
4
  }
5
5
  export interface Props {
6
6
  data: TabItem[];
@@ -21,6 +21,7 @@ export { default as Radio } from './Radio';
21
21
  export { default as Switch } from './Switch';
22
22
  export { default as TextInput } from './TextInput';
23
23
  export { default as Avatar } from './Avatar';
24
+ export { default as Banner } from './Banner';
24
25
  export { default as ButtonGroup } from './ButtonGroup';
25
26
  export { default as Card } from './Card';
26
27
  export { default as DisplayHeading } from './DisplayHeading';
@@ -115,6 +116,7 @@ export type { Props as ChipProps } from './Chip/Chip.types';
115
116
  export type { CalendarProps } from './Calendar/Calendar.types';
116
117
  export type { CollapsibleRootProps, CollapsibleTriggerProps, CollapsibleContentProps } from './Collapsible/Collapsible.types';
117
118
  export type { Props as AvatarProps } from './Avatar/Avatar.types';
119
+ export type { Props as BannerProps } from './Banner/Banner.types';
118
120
  export type { Props as OTPInputProps } from './OTPInput/OTPInput.types';
119
121
  export type { Props as HeroProps } from './Hero/Hero.types';
120
122
  export { SPACING } from './Hero/Hero.types';
@@ -1,6 +1,6 @@
1
1
  import { Props } from './DashboardScreen.types';
2
2
  declare const DashboardScreen: {
3
- ({ testID, title, image, user, latestData, recentdata, stats, promo, news, statsIsLoading, promosIsLoading, dataIsLoading, handleLatestDataPress, handleRecentDataPress, handleNewsDataPress, }: Props): import("react/jsx-runtime").JSX.Element;
3
+ ({ testID, title, image, user, latestData, recentdata, stats, promo, news, statsIsLoading, promosIsLoading, dataIsLoading, handleLatestDataPress, handleRecentDataPress, handleNewsDataPress, subscriptionStatus, }: Props): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  export default DashboardScreen;
@@ -21,6 +21,7 @@ export interface Props {
21
21
  handleLatestDataPress: (id: string) => void;
22
22
  handleRecentDataPress: (id: string) => void;
23
23
  handleNewsDataPress: (id: string) => void;
24
+ subscriptionStatus?: 'none' | 'default' | 'premium';
24
25
  headerProps?: HeaderProps;
25
26
  footerProps?: FooterProps;
26
27
  }
@@ -1,6 +1,6 @@
1
1
  import { Props } from './WorkoutScreen.types';
2
2
  declare const WorkoutScreen: {
3
- ({ testID, id, title, image, description, created, duration, level, section, video, videoType, category, type, likeCallback, completedCallback, favouriteCallback, isLiked, isCompleted, isFavourite, relatedWorkouts, hasActiveSubscription, htmlDetails, noSubActionCallback, numCompleted, }: Props): import("react/jsx-runtime").JSX.Element;
3
+ ({ testID, id, title, image, description, created, duration, level, section, video, videoType, category, type, likeCallback, completedCallback, favouriteCallback, isLiked, isFavourite, relatedWorkouts, hasActiveSubscription, htmlDetails, noSubActionCallback, numCompleted, }: Props): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  export default WorkoutScreen;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4alldigital/foundation-ui--gamma",
3
- "version": "1.74.5",
3
+ "version": "1.75.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": "ee30d064d031b192d252f7667c79a0893385bd29",
42
+ "gitHead": "33cc96812fbbbc1611314f7d3af949bef0921049",
43
43
  "dependencies": {
44
44
  "@elastic/datemath": "^5.0.3",
45
45
  "@elastic/react-search-ui": "^1.24.2",
@@ -61,9 +61,9 @@
61
61
  "framer-motion": "^12.23.24",
62
62
  "he": "^1.2.0",
63
63
  "history": "^5.3.0",
64
- "html-react-parser": "^5.2.7",
64
+ "html-react-parser": "^5.2.8",
65
65
  "iso8601-duration": "^2.1.3",
66
- "libphonenumber-js": "^1.12.24",
66
+ "libphonenumber-js": "^1.12.26",
67
67
  "next": "^15.5.6",
68
68
  "rc-pagination": "^5.1.0",
69
69
  "react": "19.1.0",
@@ -72,7 +72,7 @@
72
72
  "react-content-loader": "^7.1.1",
73
73
  "react-device-detect": "^2.2.3",
74
74
  "react-dom": "19.1.0",
75
- "react-hook-form": "^7.65.0",
75
+ "react-hook-form": "^7.66.0",
76
76
  "react-hover-video-player": "^10.0.2",
77
77
  "react-modal": "^3.16.3",
78
78
  "react-otp-input": "^3.1.1",
@@ -83,7 +83,7 @@
83
83
  "react-toastify": "^11.0.5",
84
84
  "slick-carousel": "^1.8.1",
85
85
  "tailwind-merge": "^3.3.1",
86
- "tailwindcss": "^4.1.14",
86
+ "tailwindcss": "^4.1.17",
87
87
  "typescript": "^5.9.3",
88
88
  "video.js": "8.23.4"
89
89
  },
@@ -94,7 +94,7 @@
94
94
  "devDependencies": {
95
95
  "@types/he": "^1.2.3",
96
96
  "@types/jquery": "^3.5.33",
97
- "@types/react": "19.1.0",
97
+ "@types/react": "19.2.2",
98
98
  "@types/react-modal": "^3.16.3",
99
99
  "@types/react-slick": "^0.23.13",
100
100
  "@types/slick-carousel": "^1.6.40",
@@ -1,5 +0,0 @@
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 {};