@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.
- 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/Card/Card.types.d.ts +1 -0
- package/dist/types/lib/components/Card/types/CardMedia/CardMedia.d.ts +1 -1
- package/dist/types/lib/components/CardGrid/CardGrid.d.ts +8 -0
- package/dist/types/lib/components/CardGrid/CardGrid.types.d.ts +6 -0
- package/dist/types/lib/components/CardGrid/index.d.ts +1 -0
- package/dist/types/lib/components/Screen/Screen.types.d.ts +12 -0
- package/dist/types/lib/components/index.d.ts +4 -0
- package/dist/types/lib/features/Search/views/Layout/Layout.d.ts +1 -1
- package/dist/types/lib/features/Search/views/Layout/Layout.types.d.ts +1 -0
- package/dist/types/lib/features/Search/views/SearchBox/SearchBox.d.ts +1 -1
- package/dist/types/lib/features/Search/views/SearchBox/SearchBox.types.d.ts +2 -0
- package/dist/types/lib/translations/en.d.ts +4 -0
- package/package.json +2 -2
|
@@ -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 @@
|
|
|
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
|
}
|
|
@@ -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
|
}
|
|
@@ -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.
|
|
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": "
|
|
42
|
+
"gitHead": "32877f04aae489068d0354a7b91e8eb07753701f",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@elastic/datemath": "^5.0.3",
|
|
45
45
|
"@elastic/react-search-ui": "^1.21.5",
|