@majoo-ui/react 1.55.7 → 1.55.8

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.
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
- import { ReactI18NextChild } from 'react-i18next';
3
2
  interface ProgressListData {
4
3
  progress: number;
5
- title: ReactI18NextChild | Iterable<ReactI18NextChild>;
4
+ title: string | (() => HTMLElement | React.ReactElement | JSX.Element);
6
5
  icon?: React.ReactElement | undefined;
7
6
  }
8
7
  interface ProgressIndicatorProps {
@@ -19,7 +19,8 @@ interface MobileTableProps {
19
19
  css?: CSS;
20
20
  customRowsStyle?: (e: any) => CustomRowsStyle[];
21
21
  cellAlign?: 'top' | 'center' | 'bottom';
22
- renderContextMenu?: () => JSX.Element;
22
+ renderContextMenu: () => JSX.Element;
23
+ handleRowClick: (row: object, index: number) => void;
23
24
  }
24
25
  declare const MobileTable: React.ForwardRefExoticComponent<MobileTableProps & React.RefAttributes<HTMLDivElement>>;
25
26
  export default MobileTable;
@@ -1242,8 +1242,8 @@ export interface TableProps {
1242
1242
  showDuplicatedData?: boolean;
1243
1243
  onRowClick?: (record: Row, index: number) => void;
1244
1244
  /**
1245
- * Additional props for Hide Pagination
1246
- */
1245
+ * Additional props for Hide Pagination
1246
+ */
1247
1247
  hidePagination?: boolean;
1248
1248
  }
1249
1249
  export declare function Table({ columns, data: rawData, keyId, pageIndex: controlledPageIndex, totalPage, totalData, fetchData, hideDataInfo, rowsPerPageOptions, emptyDataMessage, customEmptyDataProps: emptyDataProps, isLoading, css, headerCss, onSelectedChange, isInfiniteScroll, hasMoreItems, rowLimit, cellAlign, selectedIds, rowGroup, hiddenColumns, columnOrder, customRowsStyle, isMobileLayout, showDuplicatedData, onRowClick, hidePagination, }: TableProps): JSX.Element;
package/index.esm.css CHANGED
@@ -779,27 +779,14 @@
779
779
 
780
780
  border-radius: 100%;
781
781
  display: inline-block;
782
- -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
783
782
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
784
783
  }
785
784
  .rdw-spinner .rdw-bounce1 {
786
- -webkit-animation-delay: -0.32s;
787
785
  animation-delay: -0.32s;
788
786
  }
789
787
  .rdw-spinner .rdw-bounce2 {
790
- -webkit-animation-delay: -0.16s;
791
788
  animation-delay: -0.16s;
792
789
  }
793
- @-webkit-keyframes sk-bouncedelay {
794
- 0%,
795
- 80%,
796
- 100% {
797
- -webkit-transform: scale(0);
798
- }
799
- 40% {
800
- -webkit-transform: scale(1);
801
- }
802
- }
803
790
  @keyframes sk-bouncedelay {
804
791
  0%,
805
792
  80%,