@ambuj.bhaskar/react-component-library 0.19.4-alpha → 0.19.5-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/index.d.ts CHANGED
@@ -121,6 +121,7 @@ declare type AnnotationComponentLibraryProps = {
121
121
  fallbackImageUrl?: string;
122
122
  activeColor?: any;
123
123
  Carousel?: any;
124
+ showTool?: boolean;
124
125
  };
125
126
 
126
127
  export declare type AnnotationLibraryComponentProps = {
@@ -299,6 +300,18 @@ export declare type AwiCanvasContainerProps = {
299
300
  handleTouchCancel: any;
300
301
  };
301
302
 
303
+ export declare const AwiCustomConfirmation: default_2.FC<AwiCustomConfirmationProps>;
304
+
305
+ export declare interface AwiCustomConfirmationProps {
306
+ callback: (e: any) => void | Promise<void>;
307
+ children: React.ReactNode;
308
+ trigger?: any;
309
+ cancelCallBack?: () => void | Promise<void>;
310
+ fireOnMount?: boolean;
311
+ title?: string;
312
+ text?: string;
313
+ }
314
+
302
315
  export declare const AwiEmptyState: React.FC<AwiEmptyStateProps>;
303
316
 
304
317
  export declare type AwiEmptyStateProps = {
@@ -502,6 +515,33 @@ export declare type AwiSliderProps = {
502
515
  inputEdit?: boolean;
503
516
  };
504
517
 
518
+ export declare const AwiTableBar: default_2.FC<AwiTableBarProps>;
519
+
520
+ declare type AwiTableBarButton = {
521
+ icon?: string;
522
+ name: string;
523
+ onClick?: () => void;
524
+ title?: string;
525
+ type?: string;
526
+ isDisabled?: boolean;
527
+ backgroundColor?: string;
528
+ isActive?: boolean;
529
+ isSelected?: boolean;
530
+ };
531
+
532
+ export declare type AwiTableBarProps = {
533
+ showSearch?: boolean;
534
+ leftButtons?: AwiTableBarButton[];
535
+ rightButtons?: AwiTableBarButton[];
536
+ searchFunction?: (value: any) => any;
537
+ searchDelay?: number;
538
+ onSearchClick?: () => any;
539
+ searchPlaceHolder?: string;
540
+ showSearchEye?: boolean;
541
+ borderRequired?: boolean;
542
+ borderColor?: string;
543
+ };
544
+
505
545
  export declare const AwiTableBody: React.FC<AwiTableBodyProps>;
506
546
 
507
547
  export declare type AwiTableBodyProps = {
@@ -791,8 +831,10 @@ export declare type EventPreviewProps = {
791
831
  width?: CSSstring;
792
832
  height?: CSSstring;
793
833
  data: EventType[];
834
+ secondaryPanel?: React.ReactNode;
794
835
  focusedIndex?: number;
795
836
  setFocusedIndex?: (index: number) => void;
837
+ emptyData?: React.ReactNode;
796
838
  };
797
839
 
798
840
  declare type EventType = {