@4alldigital/foundation-ui--gamma 1.44.5 → 1.44.7
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/types/lib/components/Card/Card.types.d.ts +1 -1
- package/dist/types/lib/components/Card/constants/index.d.ts +1 -1
- package/dist/types/lib/components/Card/types/CardHorz/CardHorz.d.ts +1 -1
- package/dist/types/lib/components/Video/Video.types.d.ts +1 -1
- package/dist/types/lib/context/App/index.d.ts +5 -0
- package/dist/types/lib/features/Search/config/config-helper.d.ts +27 -0
- package/dist/types/lib/features/Search/views/Layout/Layout.d.ts +2 -1
- package/dist/types/lib/features/Search/views/SearchBox/SearchBox.d.ts +2 -1
- package/dist/types/lib/features/Search/views/SingleLinksFacet/SingleLinksFacet.d.ts +2 -1
- package/dist/types/lib/features/Search/views/Sorting/Sorting.d.ts +2 -1
- package/dist/types/lib/hooks/index.d.ts +2 -0
- package/dist/types/lib/hooks/useLanguage.d.ts +2 -0
- package/dist/types/lib/hooks/useTheme.d.ts +1 -0
- package/dist/types/lib/index.d.ts +2 -0
- package/dist/types/lib/translations/en.d.ts +1 -0
- package/dist/types/lib/translations/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const cardWrapperClasses = "relative rounded-lg overflow-hidden cursor-pointer hover:scale-105 shadow hover:shadow-lg bg-
|
|
1
|
+
export declare const cardWrapperClasses = "relative rounded-lg overflow-hidden cursor-pointer hover:scale-105 shadow hover:shadow-lg bg-bodyBackground text-bodyText dark:bg-darkBodyBackground dark:text-darkBodyText hover:bg-primary hover:text-bodyTextInverted group";
|
|
2
2
|
export declare const animateClasses = "transition duration-500 ease-in-out ";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './CardHorz.types';
|
|
3
3
|
declare const CardHorz: {
|
|
4
|
-
({ testID, id, title, description, image, onClick, className, padded, icon }: Props): React.ReactElement;
|
|
4
|
+
({ testID, id, title, description, image, onClick, className, padded, icon, raised, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default CardHorz;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare function getConfig(): any;
|
|
2
|
+
export declare function getTitleField(): any;
|
|
3
|
+
export declare function getUrlField(): any;
|
|
4
|
+
export declare function getThumbnailField(): any;
|
|
5
|
+
export declare function getFacetFields(): any;
|
|
6
|
+
export declare function getSortFields(): any;
|
|
7
|
+
export declare function getResultTitle(result: any): any;
|
|
8
|
+
export declare function stripUnnecessaryResultFields(resultFields: any): {};
|
|
9
|
+
export declare function buildSearchOptionsFromConfig(): any;
|
|
10
|
+
export declare function buildFacetConfigFromConfig(): any;
|
|
11
|
+
export declare function buildSortOptionsFromConfig(): any[];
|
|
12
|
+
export declare function buildAutocompleteQueryConfig(): {
|
|
13
|
+
suggestions?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
suggestions: {
|
|
16
|
+
types: {
|
|
17
|
+
documents: {
|
|
18
|
+
fields: any;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare function getDefaultConnectConfig(): {
|
|
24
|
+
host: string;
|
|
25
|
+
index: string;
|
|
26
|
+
apiKey: string;
|
|
27
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Props } from './Layout.types';
|
|
2
|
-
declare function Layout({ className, children, header, bodyContent, bodyFooter, bodyHeader, sideContent }: Props):
|
|
3
|
+
declare function Layout({ className, children, header, bodyContent, bodyFooter, bodyHeader, sideContent }: Props): React.ReactElement;
|
|
3
4
|
declare namespace Layout {
|
|
4
5
|
var displayName: string;
|
|
5
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Props } from './SearchBox.types';
|
|
2
|
-
declare function SearchBox({ className, onChange, onSubmit, wasSearched, placeholder }: Props):
|
|
3
|
+
declare function SearchBox({ className, onChange, onSubmit, wasSearched, placeholder }: Props): React.ReactElement;
|
|
3
4
|
declare namespace SearchBox {
|
|
4
5
|
var displayName: string;
|
|
5
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Props } from './SingleLinksFacet.types';
|
|
2
|
-
declare function SingleLinksFacet({ className, label, onRemove, onSelect, options }: Props):
|
|
3
|
+
declare function SingleLinksFacet({ className, label, onRemove, onSelect, options }: Props): React.ReactElement;
|
|
3
4
|
declare namespace SingleLinksFacet {
|
|
4
5
|
var displayName: string;
|
|
5
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Props } from './Sorting.types';
|
|
2
|
-
declare function Sorting({ className, label, onChange, options }: Props):
|
|
3
|
+
declare function Sorting({ className, label, onChange, options }: Props): React.ReactElement;
|
|
3
4
|
declare namespace Sorting {
|
|
4
5
|
var displayName: string;
|
|
5
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useTheme(): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4alldigital/foundation-ui--gamma",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.7",
|
|
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": "639acfd1baacb912825ded8aec7056385b009f49",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@elastic/datemath": "^5.0.3",
|
|
45
45
|
"@elastic/react-search-ui": "^1.21.1",
|