@4alldigital/foundation-ui--gamma 1.57.0 → 1.59.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/README.md +19 -0
- 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 +2 -0
- package/dist/types/lib/components/Carousel/Carousel.d.ts +1 -1
- package/dist/types/lib/components/Carousel/Carousel.types.d.ts +3 -1
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { COPY_ALIGN } from '../Copy/Copy.types';
|
|
2
3
|
import { NumberType } from './types/CardData/CardData.types';
|
|
3
4
|
export declare enum CardVariant {
|
|
@@ -32,6 +33,7 @@ export interface Actions {
|
|
|
32
33
|
download?: ActionItem;
|
|
33
34
|
edit?: ActionItem;
|
|
34
35
|
delete?: ActionItem;
|
|
36
|
+
custom?: React.ReactNode[];
|
|
35
37
|
}
|
|
36
38
|
export interface CardData {
|
|
37
39
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './Carousel.types';
|
|
3
3
|
declare const Carousel: {
|
|
4
|
-
({ testID, data, onPressCallback, count, isCentered, carouselOptions, }: Props): React.ReactElement;
|
|
4
|
+
({ testID, data, onPressCallback, count, isCentered, carouselOptions, customRender, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Carousel;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Props as CardProps } from '../Card/Card.types';
|
|
2
2
|
export interface Props {
|
|
3
3
|
testID?: string;
|
|
4
|
-
data: CardProps[];
|
|
4
|
+
data: CardProps[] | any[];
|
|
5
5
|
onPressCallback?: (arg: any) => void;
|
|
6
6
|
count?: number;
|
|
7
7
|
isCentered?: boolean;
|
|
@@ -22,5 +22,7 @@ export interface Props {
|
|
|
22
22
|
}[];
|
|
23
23
|
easing?: string;
|
|
24
24
|
rtl?: boolean;
|
|
25
|
+
autoplaySpeed?: number;
|
|
25
26
|
};
|
|
27
|
+
customRender?: (item: any, index: number) => React.ReactElement;
|
|
26
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4alldigital/foundation-ui--gamma",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.59.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": "bc060b899bafed7cc65a9d49a5ee510afc291bc6",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@elastic/datemath": "^5.0.3",
|
|
45
45
|
"@elastic/react-search-ui": "^1.21.5",
|