@ambuj.bhaskar/react-component-library 0.24.7-alpha → 0.24.9-alpha
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/assets/index.css +1 -1
- package/dist/index.cjs +125 -125
- package/dist/index.d.ts +17 -0
- package/dist/index.js +14371 -14212
- package/dist/index.umd.js +131 -131
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -748,11 +748,24 @@ export declare const CompactEventCard: React.FC<CompactEventCardPropsType>;
|
|
|
748
748
|
|
|
749
749
|
export declare type CompactEventCardPropsType = {
|
|
750
750
|
data: EventType;
|
|
751
|
+
imageFit?: "contain" | "cover";
|
|
752
|
+
imageWidth?: CSSstring;
|
|
753
|
+
headerHeight?: CSSstring;
|
|
754
|
+
variant?: "new" | "old";
|
|
751
755
|
className?: string;
|
|
756
|
+
headerItem?: EventElement;
|
|
757
|
+
sidePanelItems?: EventElement[];
|
|
752
758
|
isFocused?: boolean;
|
|
753
759
|
borderColor?: Color;
|
|
754
760
|
focusedBorderColor?: Color;
|
|
755
761
|
focusedBorderThickness?: CSSstring;
|
|
762
|
+
surfaceColor?: Color;
|
|
763
|
+
surfaceBorderColor?: Color;
|
|
764
|
+
surfaceSecondaryColor?: Color;
|
|
765
|
+
textPrimaryColor?: Color;
|
|
766
|
+
textSecondaryColor?: Color;
|
|
767
|
+
fontSize?: CSSstring;
|
|
768
|
+
fontSizeSmall?: CSSstring;
|
|
756
769
|
width?: CSSstring;
|
|
757
770
|
height?: CSSstring;
|
|
758
771
|
};
|
|
@@ -832,6 +845,8 @@ export declare type DetectionCarouselProps = {
|
|
|
832
845
|
data: BlobType[];
|
|
833
846
|
};
|
|
834
847
|
|
|
848
|
+
declare type EventElement = "app" | "source" | "severity" | "date" | "time";
|
|
849
|
+
|
|
835
850
|
export declare const EventPreview: React.FC<EventPreviewProps>;
|
|
836
851
|
|
|
837
852
|
export declare type EventPreviewProps = {
|
|
@@ -844,6 +859,8 @@ export declare type EventPreviewProps = {
|
|
|
844
859
|
focusedIndex?: number;
|
|
845
860
|
setFocusedIndex?: (index: number) => void;
|
|
846
861
|
emptyData?: React.ReactNode;
|
|
862
|
+
dateFormat?: Intl.DateTimeFormat;
|
|
863
|
+
timeFormat?: Intl.DateTimeFormat;
|
|
847
864
|
};
|
|
848
865
|
|
|
849
866
|
declare type EventType = {
|