@4alldigital/foundation-ui--gamma 1.49.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.
- 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/Chip/Chip.types.d.ts +2 -1
- package/dist/types/lib/components/DisplayHeading/DisplayHeading.d.ts +1 -1
- package/dist/types/lib/components/DisplayHeading/DisplayHeading.types.d.ts +1 -0
- package/dist/types/lib/components/PanelFeature/PanelFeature.d.ts +1 -1
- package/dist/types/lib/components/PanelFeature/PanelFeature.types.d.ts +6 -0
- package/dist/types/lib/components/Screen/Screen.d.ts +1 -1
- package/dist/types/lib/components/Screen/Screen.types.d.ts +1 -0
- package/dist/types/lib/components/Video/Video.d.ts +1 -1
- package/dist/types/lib/components/Video/Video.types.d.ts +2 -0
- package/dist/types/lib/templates/HomeScreen/HomeScreen.d.ts +1 -1
- package/dist/types/lib/templates/HomeScreen/HomeScreen.types.d.ts +12 -1
- package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.d.ts +1 -1
- package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.types.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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?:
|
|
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;
|
|
@@ -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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './Screen.types';
|
|
3
3
|
declare const Screen: {
|
|
4
|
-
({ testID, children, showHeader, showFooter,
|
|
4
|
+
({ testID, children, showHeader, showFooter, image, showOverlay, isFlush, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default 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;
|
|
@@ -12,7 +12,9 @@ export interface Props {
|
|
|
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
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './HomeScreen.types';
|
|
3
3
|
declare const HomeScreen: {
|
|
4
|
-
({ testID,
|
|
4
|
+
({ testID, image, panelVideoProps, panelFeatureProps, panelCardsProps, panelHerosProps, panelDataCardsProps, panelProductProps, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default HomeScreen;
|
|
@@ -1,5 +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';
|
|
1
6
|
export interface Props {
|
|
2
7
|
testID?: string;
|
|
3
|
-
title
|
|
8
|
+
title?: string;
|
|
4
9
|
image?: string;
|
|
10
|
+
panelVideoProps?: panelVideoProps;
|
|
11
|
+
panelFeatureProps?: panelFeatureProps;
|
|
12
|
+
panelCardsProps?: panelCardsProps;
|
|
13
|
+
panelHerosProps?: panelHerosProps[];
|
|
14
|
+
panelDataCardsProps?: panelCardsProps;
|
|
15
|
+
panelProductProps?: panelProductProps;
|
|
5
16
|
}
|
|
@@ -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, uuid, video, category, type, likeCallback, completedCallback, favouriteCallback, isLiked, isCompleted, isFavourite, relatedWorkouts, isLoading, hasActiveSubscription, }: Props): React.ReactElement;
|
|
4
|
+
({ testID, id, title, image, description, created, duration, level, section, uuid, video, category, type, likeCallback, completedCallback, favouriteCallback, isLiked, isCompleted, isFavourite, relatedWorkouts, isLoading, hasActiveSubscription, htmlDetails, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default WorkoutScreen;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4alldigital/foundation-ui--gamma",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.50.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": "cc02535ac8025bc6d2de4dfdaf05ece105e902ec",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@elastic/datemath": "^5.0.3",
|
|
45
45
|
"@elastic/react-search-ui": "^1.21.5",
|