@4alldigital/foundation-ui--gamma 1.47.0 → 1.48.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.
@@ -59,6 +59,7 @@ export interface CardData {
59
59
  align?: COPY_ALIGN;
60
60
  raised?: boolean;
61
61
  htmlDetails?: string;
62
+ accessRestriced?: boolean;
62
63
  }
63
64
  export interface Props {
64
65
  variant?: CardVariant;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './CardMedia.types';
3
3
  declare const CardMedia: {
4
- ({ id, title, description, image, className, metaData, actions, onClick, playCallback, htmlDetails, }: Props): React.ReactElement;
4
+ ({ id, title, description, image, className, metaData, actions, onClick, playCallback, htmlDetails, accessRestriced, }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default CardMedia;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Props } from './CardGrid.types';
3
+ declare const CardGrid: {
4
+ ({ testID, data, onPressCallback }: Props): React.ReactElement;
5
+ displayName: string;
6
+ };
7
+ export default CardGrid;
8
+ export type { Props };
@@ -0,0 +1,6 @@
1
+ import { Props as CardProps } from '../Card/Card.types';
2
+ export interface Props {
3
+ testID?: string;
4
+ data: CardProps[];
5
+ onPressCallback: (id: string) => void;
6
+ }
@@ -0,0 +1 @@
1
+ export { default } from './CardGrid';
@@ -0,0 +1,12 @@
1
+ import { Props as HeaderProps } from '../Header/Header.types';
2
+ import { Props as FooterProps } from '../Footer/Footer.types';
3
+ export interface Props {
4
+ testID?: string;
5
+ children: React.ReactNode;
6
+ showHeader?: boolean;
7
+ showFooter?: boolean;
8
+ headerProps?: HeaderProps;
9
+ footerProps?: FooterProps;
10
+ image?: string;
11
+ showOverlay?: boolean;
12
+ }
@@ -39,6 +39,7 @@ export { default as PanelFeature } from './PanelFeature';
39
39
  export { default as PanelHero } from './PanelHero';
40
40
  export { default as PanelProduct } from './PanelProduct';
41
41
  export { default as PanelVideo } from './PanelVideo';
42
+ export { default as CardGrid } from './CardGrid';
42
43
  export { default as Container } from './Container';
43
44
  export { default as ContentPageLayout } from './ContentPageLayout';
44
45
  export { default as ContentRowsLayout } from './ContentRowsLayout';
@@ -101,3 +102,6 @@ export type { Props as AvatarProps } from './Avatar/Avatar.types';
101
102
  export type { Props as OTPInputProps } from './OTPInput/OTPInput.types';
102
103
  export type { Props as HeroProps } from './Hero/Hero.types';
103
104
  export type { Props as HtmlContentProps } from './HtmlContent/HtmlContent.types';
105
+ export type { Props as CardGridProps } from './CardGrid/CardGrid.types';
106
+ export type { Props as ScreenProps } from './Screen/Screen.types';
107
+ export type { Props as CarouselProps } from './Carousel/Carousel.types';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Props } from './Layout.types';
3
- declare function Layout({ className, children, header, bodyContent, bodyFooter, bodyHeader, sideContent }: Props): React.ReactElement;
3
+ declare function Layout({ className, children, header, bodyContent, bodyFooter, bodyHeader, sideContent, showSidebar, }: Props): React.ReactElement;
4
4
  declare namespace Layout {
5
5
  var displayName: string;
6
6
  }
@@ -7,4 +7,5 @@ export interface Props {
7
7
  bodyHeader?: React.ReactNode;
8
8
  sideContent?: React.ReactNode;
9
9
  noSidebar?: boolean;
10
+ showSidebar?: boolean;
10
11
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Props } from './SearchBox.types';
3
- declare function SearchBox({ className, onChange, onSubmit, wasSearched, placeholder }: Props): React.ReactElement;
3
+ declare function SearchBox({ className, onChange, onSubmit, wasSearched, placeholder, allowReset, resetTrigger, }: Props): React.ReactElement;
4
4
  declare namespace SearchBox {
5
5
  var displayName: string;
6
6
  }
@@ -5,4 +5,6 @@ export interface Props {
5
5
  value?: string;
6
6
  wasSearched?: boolean;
7
7
  placeholder?: string;
8
+ allowReset?: boolean;
9
+ resetTrigger?: (data?: any, options?: any) => void;
8
10
  }
@@ -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.47.0",
3
+ "version": "1.48.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": "81b0fcb4715c2a45cfc2fef1ca29e9126c393ee7",
42
+ "gitHead": "32877f04aae489068d0354a7b91e8eb07753701f",
43
43
  "dependencies": {
44
44
  "@elastic/datemath": "^5.0.3",
45
45
  "@elastic/react-search-ui": "^1.21.5",