@mx-cartographer/experiences 6.21.2 → 6.23.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/CHANGELOG.md +4 -0
- package/dist/index.es.js +3000 -2982
- package/dist/index.es.js.map +1 -1
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +1 -0
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +9 -0
- package/dist/microinsights/interfaces.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { Beat } from '../../../common/types';
|
|
3
3
|
import { MicroWidgetProps } from '../../interfaces';
|
|
4
4
|
export interface InsightsMicroWidgetProps extends MicroWidgetProps {
|
|
5
|
+
allowSingleCardPeeking?: boolean;
|
|
5
6
|
areBeatsLoading: boolean;
|
|
6
7
|
beats: Beat[];
|
|
7
8
|
endpoint: string;
|
|
@@ -6,5 +6,14 @@ export interface MicroBeatCarouselProps extends MicroWidgetProps {
|
|
|
6
6
|
showCarouselControls?: boolean;
|
|
7
7
|
visibleCardsCount?: number;
|
|
8
8
|
}
|
|
9
|
+
export interface CarouselDimensions {
|
|
10
|
+
containerWidth: number;
|
|
11
|
+
cardWidth: number;
|
|
12
|
+
totalCards: number;
|
|
13
|
+
totalScrollWidth: number;
|
|
14
|
+
visibleCardsCount: number;
|
|
15
|
+
gap: number;
|
|
16
|
+
peekAreaWidth: number;
|
|
17
|
+
}
|
|
9
18
|
declare const _default: React.FunctionComponent<MicroBeatCarouselProps>;
|
|
10
19
|
export default _default;
|