ia-table 0.15.2 → 0.15.3

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
@@ -916,6 +916,7 @@ export declare interface SmartGridBodyCellProps {
916
916
  isGrandTotalRow?: boolean;
917
917
  isLeftPinnedRowsAvailable?: boolean;
918
918
  style?: CSSProperties | null;
919
+ index: number;
919
920
  }
920
921
 
921
922
  export declare interface SmartGridButtonProps {
@@ -1104,6 +1105,7 @@ export declare interface SmartGridCallbackRefCurrent {
1104
1105
  onSortChange?: ((sortModel: SmartGridSortModel) => void) | null;
1105
1106
  onFilterChange?: ((filterModel: SmartGridFilterModel) => void) | null;
1106
1107
  onSearch?: ((searchTerm: SmartGridSearchFunctionParams) => void) | null;
1108
+ onContentDensityChange?: ((contentDensity: SmartGridRowHeightType) => void) | null;
1107
1109
  }
1108
1110
 
1109
1111
  export declare type SmartGridCellRenderer = {
@@ -4121,6 +4123,8 @@ export declare type SmartGridRowGroupStatePagination = {
4121
4123
 
4122
4124
  export declare type SmartGridRowHeightMap = Record<string | number, number>;
4123
4125
 
4126
+ declare type SmartGridRowHeightType = "default" | "compact" | "comfortable";
4127
+
4124
4128
  export declare interface SmartGridRowHoverEffectParams {
4125
4129
  scrollContainerRef: RefObject<HTMLElement | null>;
4126
4130
  tableInstance: MutableRefObject<HTMLElement | null>;
@@ -4128,6 +4132,7 @@ export declare interface SmartGridRowHoverEffectParams {
4128
4132
 
4129
4133
  export declare type SmartGridRowInfo = {
4130
4134
  isFirst: boolean;
4135
+ isLast: boolean;
4131
4136
  span: number;
4132
4137
  rowIds?: (string | number)[];
4133
4138
  };
@@ -4199,6 +4204,7 @@ export declare interface SmartGridRowSpanInfo {
4199
4204
  export declare interface SmartGridRowSpanInfoDetails {
4200
4205
  span?: number;
4201
4206
  isFirst?: boolean;
4207
+ isLast?: boolean;
4202
4208
  }
4203
4209
 
4204
4210
  export declare type SmartGridRowStyleParams = {
@@ -5102,6 +5108,7 @@ export declare interface SmartGridTableProps extends SmartGridSaveViewCallbackRe
5102
5108
  ChatComponent?: (props: SmartGridTableChatWrapper) => JSX.Element;
5103
5109
  CommentComponent?: FC<SmartGridCommentWrapperProps>;
5104
5110
  commentProps?: SmartGridCommentProps;
5111
+ onContentDensityChange?: ((contentDensity: SmartGridRowHeightType) => void) | null;
5105
5112
  }
5106
5113
 
5107
5114
  export declare interface SmartGridTableRef {