@4alldigital/foundation-ui--gamma 1.44.12 → 1.46.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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './DisplayHeading.types';
3
3
  declare const DisplayHeading: {
4
- ({ text }: Props): React.ReactElement;
4
+ ({ text, tag }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default DisplayHeading;
@@ -1,3 +1,5 @@
1
+ import { HEADING_TAGS } from "../Heading/Heading.types";
1
2
  export interface Props {
2
3
  text: string;
4
+ tag?: HEADING_TAGS;
3
5
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './Header.types';
3
3
  declare const Header: {
4
- ({ testID, menuLinks, profileLinks, loginCallback, logoutCallback, isAuthenticated, hideMenu, logoAspectRatio, className, }: Props): React.ReactElement;
4
+ ({ testID, menuLinks, profileLinks, loginCallback, logoutCallback, isAuthenticated, hideMenu, logoAspectRatio, className, logoOnly, }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default Header;
@@ -3,10 +3,11 @@ export interface Props {
3
3
  testID?: string;
4
4
  menuLinks: Link[];
5
5
  profileLinks: Link[];
6
- loginCallback: () => void;
6
+ loginCallback?: () => void;
7
7
  logoutCallback?: () => void;
8
8
  isAuthenticated?: boolean;
9
9
  hideMenu?: boolean;
10
10
  logoAspectRatio?: string;
11
+ logoOnly?: boolean;
11
12
  className?: string;
12
13
  }
@@ -1,6 +1,6 @@
1
1
  import { Props } from './Heading.types';
2
2
  declare const Heading: {
3
- ({ children, tag, transform, align, id, testID, flush, className, singleLine }: Props): React.ReactElement;
3
+ ({ children, tag, transform, align, id, testID, flush, className, singleLine, bold }: Props): React.ReactElement;
4
4
  displayName: string;
5
5
  };
6
6
  export default Heading;
@@ -29,4 +29,5 @@ export interface Props {
29
29
  flush?: boolean;
30
30
  className?: string;
31
31
  singleLine?: boolean;
32
+ bold?: boolean;
32
33
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './PanelHero.types';
3
3
  declare const PanelHero: {
4
- ({ testID, title, description, image, buttonData, inversed, withBg, spacing, video, }: Props): React.ReactElement;
4
+ ({ testID, title, contentComponent, description, image, buttonData, inversed, withBg, spacing, video, headingTag, }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default PanelHero;
@@ -1,14 +1,18 @@
1
+ /// <reference types="react" />
1
2
  import { Props as ButtonProps } from '../Button/Button.types';
2
3
  import { Props as VideoProps } from '../Video/Video.types';
3
4
  import { SPACING } from '../Hero/Hero.types';
5
+ import { HEADING_TAGS } from '../Heading/Heading.types';
4
6
  export interface Props {
5
7
  testID?: string;
6
8
  inversed?: boolean;
7
9
  title: string;
8
- description: string;
9
- buttonData: ButtonProps;
10
+ contentComponent?: React.ReactNode;
11
+ description?: string;
12
+ buttonData?: ButtonProps;
10
13
  image?: string;
11
14
  video?: VideoProps;
12
15
  withBg?: boolean;
13
16
  spacing?: SPACING;
17
+ headingTag?: HEADING_TAGS;
14
18
  }
@@ -144,6 +144,7 @@ declare const strings: {
144
144
  RESET: string;
145
145
  APPLY_FILTER: string;
146
146
  START: string;
147
+ END: string;
147
148
  HELP: string;
148
149
  WHAT_IS_THIS: string;
149
150
  CARD_VIEW: string;
@@ -231,6 +232,12 @@ declare const strings: {
231
232
  MUSIC_ENABLED: string;
232
233
  MUSIC_DISABLED: string;
233
234
  SHARED: string;
235
+ NOT_ENTERED_IN_CHALLENGE: string;
236
+ ACCESS_RESTRICTED: string;
237
+ SHOW_FILTERS: string;
238
+ HIDE_FILTERS: string;
239
+ THIS_WEEK: string;
240
+ TODAYS_ITEMS: string;
234
241
  };
235
242
  ERRORS: {};
236
243
  };
@@ -2,8 +2,8 @@ declare const fonts: {
2
2
  sans: string[];
3
3
  serif: string[];
4
4
  mono: string[];
5
+ display: string[];
5
6
  body: string[];
6
7
  heading: string[];
7
- display: string[];
8
8
  };
9
9
  export default fonts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4alldigital/foundation-ui--gamma",
3
- "version": "1.44.12",
3
+ "version": "1.46.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": "6b18be6b0276e0bb1b243fed293abc28c3a68bab",
42
+ "gitHead": "1906553bc19cefbd2437070f69232a8120346061",
43
43
  "dependencies": {
44
44
  "@elastic/datemath": "^5.0.3",
45
45
  "@elastic/react-search-ui": "^1.21.1",
@@ -76,6 +76,7 @@
76
76
  "react-player": "^2.16.0",
77
77
  "react-share": "^5.1.0",
78
78
  "react-tabs": "^6.0.2",
79
+ "react-toastify": "^10.0.5",
79
80
  "tailwind-merge": "^2.3.0",
80
81
  "tailwindcss": "^3.4.3",
81
82
  "typescript": "^5.4.5",