@infinite-table/infinite-react 0.2.9 → 0.2.12

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/index.css CHANGED
@@ -406,7 +406,7 @@
406
406
  border-left: var(--infinite-cell-border);
407
407
  }
408
408
 
409
- /* vanilla-extract-css-ns:@infinite-table/infinite-react/src/components/InfiniteTable/components/cell.css.ts.vanilla.css?source=Ll8xZWV4YzJhMCB7CiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7Cn0KLl8xZWV4YzJhMSB7CiAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0Owp9Ci5fMWVleGMyYTIgewogIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7Cn0KLl8xZWV4YzJhMyB7CiAgdHJhbnNpdGlvbjogbGVmdCAzMDBtczsKfQouXzFlZXhjMmE0IHsKICB0cmFuc2l0aW9uOiBub25lOwp9Ci5fMWVleGMyYTUgewogIHBhZGRpbmc6IHZhcigtLWluZmluaXRlLWNlbGwtcGFkZGluZyk7CiAgYm9yZGVyLWxlZnQ6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXdpZHRoKSBzb2xpZCB0cmFuc3BhcmVudDsKICBib3JkZXItcmlnaHQ6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXdpZHRoKSBzb2xpZCB0cmFuc3BhcmVudDsKfQouXzFlZXhjMmE4IHsKICBib3JkZXItdG9wLWxlZnQtcmFkaXVzOiB2YXIoLS1pbmZpbml0ZS1jZWxsLWJvcmRlci1yYWRpdXMpOwogIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7Cn0KLl8xZWV4YzJhYSB7CiAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7CiAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7Cn0KLl8xZWV4YzJhbCB7CiAgYm9yZGVyLXJpZ2h0OiB2YXIoLS1pbmZpbml0ZS1jZWxsLWJvcmRlcik7Cn0KLl8xZWV4YzJhbSB7CiAgLS1pbmZpbml0ZS1jZWxsLWJvcmRlcjogdmFyKC0taW5maW5pdGUtY2VsbC1ib3JkZXItaW52aXNpYmxlKTsKICBib3JkZXItbGVmdDogdmFyKC0taW5maW5pdGUtY2VsbC1ib3JkZXIpOwp9 */
409
+ /* vanilla-extract-css-ns:@infinite-table/infinite-react/src/components/InfiniteTable/components/cell.css.ts.vanilla.css?source=Ll8xZWV4YzJhMCB7CiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7Cn0KLl8xZWV4YzJhMSB7CiAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0Owp9Ci5fMWVleGMyYTIgewogIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7Cn0KLl8xZWV4YzJhMyB7CiAgdHJhbnNpdGlvbjogbGVmdCAzMDBtczsKfQouXzFlZXhjMmE0IHsKICB0cmFuc2l0aW9uOiBub25lOwp9Ci5fMWVleGMyYTUgewogIHBhZGRpbmc6IHZhcigtLWluZmluaXRlLWNlbGwtcGFkZGluZyk7CiAgYm9yZGVyLWxlZnQ6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXdpZHRoKSBzb2xpZCB0cmFuc3BhcmVudDsKICBib3JkZXItcmlnaHQ6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXdpZHRoKSBzb2xpZCB0cmFuc3BhcmVudDsKfQouXzFlZXhjMmE5IHsKICBib3JkZXItdG9wLWxlZnQtcmFkaXVzOiB2YXIoLS1pbmZpbml0ZS1jZWxsLWJvcmRlci1yYWRpdXMpOwogIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7Cn0KLl8xZWV4YzJhYiB7CiAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7CiAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7Cn0KLl8xZWV4YzJhbSB7CiAgYm9yZGVyLXJpZ2h0OiB2YXIoLS1pbmZpbml0ZS1jZWxsLWJvcmRlcik7Cn0KLl8xZWV4YzJhbiB7CiAgLS1pbmZpbml0ZS1jZWxsLWJvcmRlcjogdmFyKC0taW5maW5pdGUtY2VsbC1ib3JkZXItaW52aXNpYmxlKTsKICBib3JkZXItbGVmdDogdmFyKC0taW5maW5pdGUtY2VsbC1ib3JkZXIpOwp9 */
410
410
  ._1eexc2a0 {
411
411
  justify-content: center;
412
412
  }
@@ -427,18 +427,18 @@
427
427
  border-left: var(--infinite-cell-border-width) solid transparent;
428
428
  border-right: var(--infinite-cell-border-width) solid transparent;
429
429
  }
430
- ._1eexc2a8 {
430
+ ._1eexc2a9 {
431
431
  border-top-left-radius: var(--infinite-cell-border-radius);
432
432
  border-bottom-left-radius: var(--infinite-cell-border-radius);
433
433
  }
434
- ._1eexc2aa {
434
+ ._1eexc2ab {
435
435
  border-top-right-radius: var(--infinite-cell-border-radius);
436
436
  border-bottom-right-radius: var(--infinite-cell-border-radius);
437
437
  }
438
- ._1eexc2al {
438
+ ._1eexc2am {
439
439
  border-right: var(--infinite-cell-border);
440
440
  }
441
- ._1eexc2am {
441
+ ._1eexc2an {
442
442
  --infinite-cell-border: var(--infinite-cell-border-invisible);
443
443
  border-left: var(--infinite-cell-border);
444
444
  }
package/index.d.ts CHANGED
@@ -2,6 +2,10 @@ import * as _vanilla_extract_private from '@vanilla-extract/private';
2
2
  import * as React$1 from 'react';
3
3
  import { CSSProperties, MutableRefObject } from 'react';
4
4
 
5
+ declare function debounce(fn: Function, { wait }: {
6
+ wait: number;
7
+ }): (...args: any[]) => void;
8
+
5
9
  interface ScrollPosition {
6
10
  scrollTop: number;
7
11
  scrollLeft: number;
@@ -129,6 +133,16 @@ interface SubscriptionCallback<T> {
129
133
  onChange: (fn: SubscriptionCallbackOnChangeFn<T>) => VoidFn;
130
134
  }
131
135
 
136
+ interface LogFn {
137
+ (...args: any[]): LogFn;
138
+ extend: (channelName: string) => LogFn;
139
+ }
140
+ declare class Logger {
141
+ debug: LogFn;
142
+ error: LogFn;
143
+ constructor(channelName: string);
144
+ }
145
+
132
146
  interface Size {
133
147
  width: number;
134
148
  height: number;
@@ -145,10 +159,76 @@ declare type VirtualBrainOptions = {
145
159
  name?: string;
146
160
  };
147
161
  declare type MainAxisSize = number | ((itemIndex: number) => number);
162
+ declare type OnRenderCountChangeFn = (renderCount: number) => void;
163
+ declare type OnSizeChangeFn = (size: number) => void;
164
+ declare type OnDestroyFn = () => void;
148
165
  declare type RenderRange = {
149
166
  renderStartIndex: number;
150
167
  renderEndIndex: number;
151
168
  };
169
+ declare type OnRenderRangeChangeFn = (renderRange: RenderRange) => void;
170
+ declare class VirtualBrain extends Logger {
171
+ private scrollPosition;
172
+ private scrollPositionOnMainAxis;
173
+ private itemSpanParent;
174
+ private itemSpanValue;
175
+ private itemSizeCache;
176
+ private itemOffsetCache;
177
+ private options;
178
+ private destroyed;
179
+ private totalSize;
180
+ private onScrollFns;
181
+ private onTotalSizeChangeFns;
182
+ private onRenderCountChangeFns;
183
+ private onRenderRangeChangeFns;
184
+ private onDestroyFns;
185
+ name: string | undefined;
186
+ private renderCount;
187
+ private renderRange;
188
+ private availableSize;
189
+ constructor(options: VirtualBrainOptions);
190
+ setAvailableSize: (size: Size) => void;
191
+ getOptions(): VirtualBrainOptions;
192
+ private updateRenderCount;
193
+ private computeRenderCount;
194
+ private setRenderCount;
195
+ private updateRenderRange;
196
+ getRenderStartIndex(): number;
197
+ getRenderCount: () => number;
198
+ setScrollPosition: (scrollPosition: ScrollPosition) => void;
199
+ private notifyScrollChange;
200
+ private notifyDestroy;
201
+ private notifyTotalSizeChange;
202
+ private notifyRenderCountChange;
203
+ private notifyRenderRangeChange;
204
+ getRenderRange: () => RenderRange;
205
+ private setRenderRange;
206
+ private computeRenderRange;
207
+ getScrollPosition: () => ScrollPosition;
208
+ onScroll: (fn: OnScrollFn) => () => void;
209
+ onTotalSizeChange: (fn: OnSizeChangeFn) => () => void;
210
+ onRenderCountChange: (fn: OnRenderCountChangeFn) => () => void;
211
+ onRenderRangeChange: (fn: OnRenderRangeChangeFn) => () => void;
212
+ onDestroy: (fn: OnDestroyFn) => () => void;
213
+ update: (newCount: VirtualBrainOptions['count'], newItemSize: VirtualBrainOptions['itemSize'], newItemSpan?: VirtualBrainOptions['itemSpan']) => void;
214
+ private reset;
215
+ private computeItemSpanUpTo;
216
+ private computeCacheFor;
217
+ private getItemSizeCacheFor;
218
+ getItemSpan: (itemIndex: number) => number;
219
+ getItemSpanParent: (itemIndex: number) => number;
220
+ getItemSizeWithSpan: (itemIndex: number, itemSpan: number) => number;
221
+ /**
222
+ * For now, this doesn't take into account the itemspan, and it's okay not to
223
+ * @param itemIndex
224
+ * @returns the size of the specified item
225
+ */
226
+ getItemSize: (itemIndex: number) => number;
227
+ getTotalSize: () => number;
228
+ getItemAt: (scrollPos: number) => number;
229
+ getItemOffsetFor: (itemIndex: number) => number;
230
+ destroy: () => void;
231
+ }
152
232
 
153
233
  interface DataSourceDataParams<T> {
154
234
  originalDataArray: T[];
@@ -390,6 +470,9 @@ declare type InfiniteTableColumnVerticalAlign = 'start' | 'center' | 'end';
390
470
  declare type InfiniteTableColumnHeader<T> = Renderable | InfiniteTableColumnHeaderRenderFunction<T>;
391
471
  declare type InfiniteTableColumnTypeNames = 'string' | 'number' | 'date' | string;
392
472
  declare type InfiniteTableColumnWithRenderOrRenderValueOrFieldOrValueGetter<T> = RequireAtLeastOne<{
473
+ /**
474
+ * Determines the field property of the column.
475
+ */
393
476
  field?: keyof T;
394
477
  render?: InfiniteTableColumnRenderFunction<T>;
395
478
  renderValue?: InfiniteTableColumnRenderFunction<T>;
@@ -441,8 +524,17 @@ declare type InfiniteTableBaseColumn<T> = {
441
524
  valueGetter?: InfiniteTableColumnValueGetter<T>;
442
525
  defaultWidth?: number;
443
526
  defaultFlex?: number;
527
+ minWidth?: number;
528
+ maxWidth?: number;
444
529
  };
445
- declare type InfiniteTableColumn<T> = {} & InfiniteTableBaseColumn<T> & InfiniteTableColumnWithRenderOrRenderValueOrFieldOrValueGetter<T>;
530
+ /**
531
+ * Defines a column in the table.
532
+ *
533
+ * @typeParam DATA_TYPE The type of the data in the table.
534
+ *
535
+ * Can be bound to a field which is a `keyof DATA_TYPE`.
536
+ */
537
+ declare type InfiniteTableColumn<DATA_TYPE> = {} & InfiniteTableBaseColumn<DATA_TYPE> & InfiniteTableColumnWithRenderOrRenderValueOrFieldOrValueGetter<DATA_TYPE>;
446
538
  declare type InfiniteTableGeneratedGroupColumn<T> = InfiniteTableColumn<T> & {
447
539
  groupByField: string | string[];
448
540
  id?: string;
@@ -633,20 +725,21 @@ declare type InfiniteTableColumnType<T> = {
633
725
  resizable?: InfiniteTableColumn<T>['resizable'];
634
726
  align?: InfiniteTableColumn<T>['align'];
635
727
  verticalAlign?: InfiniteTableColumn<T>['verticalAlign'];
728
+ cssEllipsis?: boolean;
729
+ headerCssEllipsis?: boolean;
636
730
  renderValue?: InfiniteTableColumn<T>['renderValue'];
637
731
  render?: InfiniteTableColumn<T>['render'];
638
732
  valueGetter?: InfiniteTableColumn<T>['valueGetter'];
733
+ style?: InfiniteTableColumn<T>['style'];
639
734
  };
640
- declare type InfiniteTablePropColumnTypesMap<T> = Map<'default' | string, InfiniteTableColumnType<T>>;
641
- declare type InfiniteTablePropColumnTypes<T> = InfiniteTablePropColumnTypesMap<T> | Record<'default' | string, InfiniteTableColumnType<T>>;
735
+ declare type InfiniteTablePropColumnTypes<T> = Record<'default' | string, InfiniteTableColumnType<T>>;
642
736
  declare type InfiniteTableColumnSizingOptions = {
643
737
  flex?: number;
644
738
  width?: number;
645
739
  minWidth?: number;
646
740
  maxWidth?: number;
647
741
  };
648
- declare type InfiniteTablePropColumnSizingMap = Map<string, InfiniteTableColumnSizingOptions>;
649
- declare type InfiniteTablePropColumnSizing = InfiniteTablePropColumnSizingMap | Record<string, InfiniteTableColumnSizingOptions>;
742
+ declare type InfiniteTablePropColumnSizing = Record<string, InfiniteTableColumnSizingOptions>;
650
743
  declare type InfiniteTableImperativeApi<T> = {
651
744
  setColumnOrder: (columnOrder: InfiniteTablePropColumnOrder) => void;
652
745
  setColumnVisibility: (columnVisibility: InfiniteTablePropColumnVisibility) => void;
@@ -729,6 +822,7 @@ interface InfiniteTableProps<T> {
729
822
  defaultColumnPinning?: InfiniteTablePropColumnPinning;
730
823
  columnSizing?: InfiniteTablePropColumnSizing;
731
824
  defaultColumnSizing?: InfiniteTablePropColumnSizing;
825
+ onColumnSizingChange?: (columnSizing: InfiniteTablePropColumnSizing) => void;
732
826
  pivotColumnGroups?: InfiniteTablePropColumnGroups;
733
827
  columnGroups?: InfiniteTablePropColumnGroups;
734
828
  defaultColumnGroups?: InfiniteTablePropColumnGroups;
@@ -752,9 +846,12 @@ interface InfiniteTableProps<T> {
752
846
  focusedWithinClassName?: string;
753
847
  focusedStyle?: React$1.CSSProperties;
754
848
  focusedWithinStyle?: React$1.CSSProperties;
849
+ columnCssEllipsis?: boolean;
850
+ columnHeaderCssEllipsis?: boolean;
755
851
  columnDefaultWidth?: number;
756
852
  columnMinWidth?: number;
757
853
  columnMaxWidth?: number;
854
+ resizableColumns?: boolean;
758
855
  virtualizeColumns?: InfiniteTablePropVirtualizeColumns<T>;
759
856
  virtualizeRows?: boolean;
760
857
  defaultActiveIndex?: number;
@@ -775,8 +872,15 @@ interface InfiniteTableProps<T> {
775
872
  onReady?: (api: InfiniteTableImperativeApi<T>) => void;
776
873
  rowProps?: React$1.HTMLProps<HTMLDivElement> | ((rowArgs: InfiniteTableRowStyleFnParams<T>) => React$1.HTMLProps<HTMLDivElement>);
777
874
  licenseKey?: string;
778
- scrollTopId?: string | number;
875
+ scrollTopKey?: string | number;
876
+ autoSizeColumnsKey?: InfiniteTablePropAutoSizeColumnsKey;
779
877
  }
878
+ declare type InfiniteTablePropAutoSizeColumnsKey = string | number | {
879
+ key: string | number;
880
+ columnsToSkip?: string[];
881
+ columnsToResize?: string[];
882
+ includeHeader?: boolean;
883
+ };
780
884
  declare type Scrollbars = {
781
885
  vertical: boolean;
782
886
  horizontal: boolean;
@@ -802,7 +906,10 @@ interface InfiniteTableSetupState<T> {
802
906
  onHeaderHeightCSSVarChange: SubscriptionCallback<number>;
803
907
  columnsWhenGrouping?: InfiniteTablePropColumnsMap<T>;
804
908
  bodySize: Size;
909
+ verticalVirtualBrain: VirtualBrain;
910
+ horizontalVirtualBrain: VirtualBrain;
805
911
  focused: boolean;
912
+ ready: boolean;
806
913
  focusedWithin: boolean;
807
914
  scrollPosition: ScrollPosition;
808
915
  draggingColumnId: null | string;
@@ -813,7 +920,7 @@ interface InfiniteTableSetupState<T> {
813
920
  declare type InfiniteTableColumnGroupsDepthsMap = Map<string, number>;
814
921
  declare type InfiniteTablePropPivotTotalColumnPosition = false | 'start' | 'end';
815
922
  interface InfiniteTableMappedState<T> {
816
- scrollTopId: InfiniteTableProps<T>['scrollTopId'];
923
+ scrollTopKey: InfiniteTableProps<T>['scrollTopKey'];
817
924
  viewportReservedWidth: InfiniteTableProps<T>['viewportReservedWidth'];
818
925
  groupColumn: InfiniteTableProps<T>['groupColumn'];
819
926
  onScrollbarsChange: InfiniteTableProps<T>['onScrollbarsChange'];
@@ -826,6 +933,7 @@ interface InfiniteTableMappedState<T> {
826
933
  onSelfBlur: InfiniteTableProps<T>['onSelfBlur'];
827
934
  onFocusWithin: InfiniteTableProps<T>['onFocusWithin'];
828
935
  onBlurWithin: InfiniteTableProps<T>['onBlurWithin'];
936
+ autoSizeColumnsKey: InfiniteTableProps<T>['autoSizeColumnsKey'];
829
937
  scrollStopDelay: NonUndefined<InfiniteTableProps<T>['scrollStopDelay']>;
830
938
  onScrollToTop: InfiniteTableProps<T>['onScrollToTop'];
831
939
  onScrollToBottom: InfiniteTableProps<T>['onScrollToBottom'];
@@ -848,6 +956,7 @@ interface InfiniteTableMappedState<T> {
848
956
  columnMinWidth: NonUndefined<InfiniteTableProps<T>['columnMinWidth']>;
849
957
  columnMaxWidth: NonUndefined<InfiniteTableProps<T>['columnMaxWidth']>;
850
958
  columnDefaultWidth: NonUndefined<InfiniteTableProps<T>['columnDefaultWidth']>;
959
+ columnCssEllipsis: NonUndefined<InfiniteTableProps<T>['columnCssEllipsis']>;
851
960
  draggableColumns: NonUndefined<InfiniteTableProps<T>['draggableColumns']>;
852
961
  sortable: NonUndefined<InfiniteTableProps<T>['sortable']>;
853
962
  hideEmptyGroupColumns: NonUndefined<InfiniteTableProps<T>['hideEmptyGroupColumns']>;
@@ -861,8 +970,8 @@ interface InfiniteTableMappedState<T> {
861
970
  licenseKey: NonUndefined<InfiniteTableProps<T>['licenseKey']>;
862
971
  columnVisibility: InfiniteTablePropColumnVisibility;
863
972
  columnPinning: InfiniteTablePropColumnPinningMap;
864
- columnSizing: InfiniteTablePropColumnSizingMap;
865
- columnTypes: InfiniteTablePropColumnTypesMap<T>;
973
+ columnSizing: InfiniteTablePropColumnSizing;
974
+ columnTypes: InfiniteTablePropColumnTypes<T>;
866
975
  columnGroups: InfiniteTablePropColumnGroupsMap;
867
976
  collapsedColumnGroups: NonUndefined<InfiniteTableProps<T>['collapsedColumnGroups']>;
868
977
  pivotTotalColumnPosition: NonUndefined<InfiniteTableProps<T>['pivotTotalColumnPosition']>;
@@ -872,6 +981,7 @@ interface InfiniteTableDerivedState<T> {
872
981
  computedColumns: Map<string, InfiniteTableColumn<T>>;
873
982
  virtualizeHeader: boolean;
874
983
  groupRenderStrategy: NonUndefined<InfiniteTableProps<T>['groupRenderStrategy']>;
984
+ columnHeaderCssEllipsis: NonUndefined<InfiniteTableProps<T>['columnHeaderCssEllipsis']>;
875
985
  columnGroupsDepthsMap: InfiniteTableColumnGroupsDepthsMap;
876
986
  columnGroupsMaxDepth: number;
877
987
  computedColumnGroups: InfiniteTablePropColumnGroupsMap;
@@ -958,4 +1068,4 @@ declare function interceptMap<K, V>(map: Map<K, V>, fns: InterceptedMapFns<K, V>
958
1068
 
959
1069
  declare function useEffectWithChanges(fn: (changes: Record<string, any>, prevValues: Record<string, any>) => void | (() => void), deps: Record<string, any>): void;
960
1070
 
961
- export { DataSource, DataSourceAction, DataSourceActionType, DataSourceAggregationReducer, DataSourceComponentActions, DataSourceContextValue, DataSourceData, DataSourceDataParams, DataSourceDataParamsChanges, DataSourceDerivedState, DataSourceExpandedAndCollapsedGroupRows, DataSourceGroupBy, DataSourceGroupRowsList, DataSourceLivePaginationCursorFn, DataSourceLivePaginationCursorParams, DataSourceLivePaginationCursorValue, DataSourceMappedState, DataSourceMappings, DataSourcePivotBy, DataSourcePropAggregationReducers, DataSourcePropGroupBy, DataSourcePropLivePaginationCursor, DataSourcePropPivotBy, DataSourceProps, DataSourceReducer, DataSourceRemoteData, DataSourceSetupState, DataSourceSingleSortInfo, DataSourceSortInfo, DataSourceState, GroupRowsState, InfiniteTable, InfiniteTableAction, InfiniteTableActionType, InfiniteTableClassName, InfiniteTableColumn, InfiniteTableColumnAggregator, InfiniteTableColumnComparer, InfiniteTableColumnGroup, InfiniteTableColumnRenderParam, InfiniteTableColumnRenderValueParam, InfiniteTableColumnRowspanParam, InfiniteTableColumnSizingOptions, InfiniteTableComponent, InfiniteTableComputedColumn, InfiniteTableComputedValues, InfiniteTableContextValue, InfiniteTableGroupColumnBase, InfiniteTableGroupColumnFunction, InfiniteTableGroupColumnGetterOptions, InfiniteTableImperativeApi, InfiniteTablePropColumnGroups, InfiniteTablePropColumnOrder, InfiniteTablePropColumnPinning, InfiniteTablePropColumnSizing, InfiniteTablePropColumnSizingMap, InfiniteTablePropColumnTypes, InfiniteTablePropColumnTypesMap, InfiniteTablePropColumnVisibility, InfiniteTablePropColumns, InfiniteTablePropColumnsMap, InfiniteTablePropComponents, InfiniteTablePropGroupColumn, InfiniteTablePropGroupRenderStrategy, InfiniteTablePropRowClassName, InfiniteTablePropRowStyle, InfiniteTableProps, InfiniteTableRowClassNameFn, InfiniteTableRowInfo, InfiniteTableRowStyleFn, InfiniteTableState, LazyGroupDataDeepMap, LazyGroupDataItem, LazyGroupRowInfo, Scrollbars, flatten, getComponentStateRoot, group, interceptMap, multisort, useComponentState, useDataSource, useEffectWithChanges };
1071
+ export { DataSource, DataSourceAction, DataSourceActionType, DataSourceAggregationReducer, DataSourceComponentActions, DataSourceContextValue, DataSourceData, DataSourceDataParams, DataSourceDataParamsChanges, DataSourceDerivedState, DataSourceExpandedAndCollapsedGroupRows, DataSourceGroupBy, DataSourceGroupRowsList, DataSourceLivePaginationCursorFn, DataSourceLivePaginationCursorParams, DataSourceLivePaginationCursorValue, DataSourceMappedState, DataSourceMappings, DataSourcePivotBy, DataSourcePropAggregationReducers, DataSourcePropGroupBy, DataSourcePropLivePaginationCursor, DataSourcePropPivotBy, DataSourceProps, DataSourceReducer, DataSourceRemoteData, DataSourceSetupState, DataSourceSingleSortInfo, DataSourceSortInfo, DataSourceState, GroupRowsState, InfiniteTable, InfiniteTableAction, InfiniteTableActionType, InfiniteTableClassName, InfiniteTableColumn, InfiniteTableColumnAggregator, InfiniteTableColumnComparer, InfiniteTableColumnGroup, InfiniteTableColumnRenderParam, InfiniteTableColumnRenderValueParam, InfiniteTableColumnRowspanParam, InfiniteTableColumnSizingOptions, InfiniteTableComponent, InfiniteTableComputedColumn, InfiniteTableComputedValues, InfiniteTableContextValue, InfiniteTableGroupColumnBase, InfiniteTableGroupColumnFunction, InfiniteTableGroupColumnGetterOptions, InfiniteTableImperativeApi, InfiniteTablePivotColumn, InfiniteTablePropAutoSizeColumnsKey, InfiniteTablePropColumnGroups, InfiniteTablePropColumnOrder, InfiniteTablePropColumnPinning, InfiniteTablePropColumnSizing, InfiniteTablePropColumnTypes, InfiniteTablePropColumnVisibility, InfiniteTablePropColumns, InfiniteTablePropColumnsMap, InfiniteTablePropComponents, InfiniteTablePropGroupColumn, InfiniteTablePropGroupRenderStrategy, InfiniteTablePropRowClassName, InfiniteTablePropRowStyle, InfiniteTableProps, InfiniteTableRowClassNameFn, InfiniteTableRowInfo, InfiniteTableRowStyleFn, InfiniteTableState, LazyGroupDataDeepMap, LazyGroupDataItem, LazyGroupRowInfo, Scrollbars, debounce, flatten, getComponentStateRoot, group, interceptMap, multisort, useComponentState, useDataSource, useEffectWithChanges };
package/index.esm.css CHANGED
@@ -406,7 +406,7 @@
406
406
  border-left: var(--infinite-cell-border);
407
407
  }
408
408
 
409
- /* vanilla-extract-css-ns:@infinite-table/infinite-react/src/components/InfiniteTable/components/cell.css.ts.vanilla.css?source=Ll8xZWV4YzJhMCB7CiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7Cn0KLl8xZWV4YzJhMSB7CiAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0Owp9Ci5fMWVleGMyYTIgewogIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7Cn0KLl8xZWV4YzJhMyB7CiAgdHJhbnNpdGlvbjogbGVmdCAzMDBtczsKfQouXzFlZXhjMmE0IHsKICB0cmFuc2l0aW9uOiBub25lOwp9Ci5fMWVleGMyYTUgewogIHBhZGRpbmc6IHZhcigtLWluZmluaXRlLWNlbGwtcGFkZGluZyk7CiAgYm9yZGVyLWxlZnQ6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXdpZHRoKSBzb2xpZCB0cmFuc3BhcmVudDsKICBib3JkZXItcmlnaHQ6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXdpZHRoKSBzb2xpZCB0cmFuc3BhcmVudDsKfQouXzFlZXhjMmE4IHsKICBib3JkZXItdG9wLWxlZnQtcmFkaXVzOiB2YXIoLS1pbmZpbml0ZS1jZWxsLWJvcmRlci1yYWRpdXMpOwogIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7Cn0KLl8xZWV4YzJhYSB7CiAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7CiAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7Cn0KLl8xZWV4YzJhbCB7CiAgYm9yZGVyLXJpZ2h0OiB2YXIoLS1pbmZpbml0ZS1jZWxsLWJvcmRlcik7Cn0KLl8xZWV4YzJhbSB7CiAgLS1pbmZpbml0ZS1jZWxsLWJvcmRlcjogdmFyKC0taW5maW5pdGUtY2VsbC1ib3JkZXItaW52aXNpYmxlKTsKICBib3JkZXItbGVmdDogdmFyKC0taW5maW5pdGUtY2VsbC1ib3JkZXIpOwp9 */
409
+ /* vanilla-extract-css-ns:@infinite-table/infinite-react/src/components/InfiniteTable/components/cell.css.ts.vanilla.css?source=Ll8xZWV4YzJhMCB7CiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7Cn0KLl8xZWV4YzJhMSB7CiAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0Owp9Ci5fMWVleGMyYTIgewogIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7Cn0KLl8xZWV4YzJhMyB7CiAgdHJhbnNpdGlvbjogbGVmdCAzMDBtczsKfQouXzFlZXhjMmE0IHsKICB0cmFuc2l0aW9uOiBub25lOwp9Ci5fMWVleGMyYTUgewogIHBhZGRpbmc6IHZhcigtLWluZmluaXRlLWNlbGwtcGFkZGluZyk7CiAgYm9yZGVyLWxlZnQ6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXdpZHRoKSBzb2xpZCB0cmFuc3BhcmVudDsKICBib3JkZXItcmlnaHQ6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXdpZHRoKSBzb2xpZCB0cmFuc3BhcmVudDsKfQouXzFlZXhjMmE5IHsKICBib3JkZXItdG9wLWxlZnQtcmFkaXVzOiB2YXIoLS1pbmZpbml0ZS1jZWxsLWJvcmRlci1yYWRpdXMpOwogIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7Cn0KLl8xZWV4YzJhYiB7CiAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7CiAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IHZhcigtLWluZmluaXRlLWNlbGwtYm9yZGVyLXJhZGl1cyk7Cn0KLl8xZWV4YzJhbSB7CiAgYm9yZGVyLXJpZ2h0OiB2YXIoLS1pbmZpbml0ZS1jZWxsLWJvcmRlcik7Cn0KLl8xZWV4YzJhbiB7CiAgLS1pbmZpbml0ZS1jZWxsLWJvcmRlcjogdmFyKC0taW5maW5pdGUtY2VsbC1ib3JkZXItaW52aXNpYmxlKTsKICBib3JkZXItbGVmdDogdmFyKC0taW5maW5pdGUtY2VsbC1ib3JkZXIpOwp9 */
410
410
  ._1eexc2a0 {
411
411
  justify-content: center;
412
412
  }
@@ -427,18 +427,18 @@
427
427
  border-left: var(--infinite-cell-border-width) solid transparent;
428
428
  border-right: var(--infinite-cell-border-width) solid transparent;
429
429
  }
430
- ._1eexc2a8 {
430
+ ._1eexc2a9 {
431
431
  border-top-left-radius: var(--infinite-cell-border-radius);
432
432
  border-bottom-left-radius: var(--infinite-cell-border-radius);
433
433
  }
434
- ._1eexc2aa {
434
+ ._1eexc2ab {
435
435
  border-top-right-radius: var(--infinite-cell-border-radius);
436
436
  border-bottom-right-radius: var(--infinite-cell-border-radius);
437
437
  }
438
- ._1eexc2al {
438
+ ._1eexc2am {
439
439
  border-right: var(--infinite-cell-border);
440
440
  }
441
- ._1eexc2am {
441
+ ._1eexc2an {
442
442
  --infinite-cell-border: var(--infinite-cell-border-invisible);
443
443
  border-left: var(--infinite-cell-border);
444
444
  }