fixed mapping to distribution folder structure

This commit is contained in:
Kalle Ott
2017-03-28 09:14:58 +02:00
parent a500aedade
commit 4e37f8d9f9
28 changed files with 71 additions and 74 deletions

View File

@@ -0,0 +1 @@
export * from '../es/ArrowKeyStepper';

View File

@@ -0,0 +1 @@
export * from '../es/AutoSizer';

View File

@@ -0,0 +1 @@
export * from '../es/CellMeasurer';

View File

@@ -0,0 +1 @@
export * from '../es/Collection';

View File

@@ -0,0 +1 @@
export * from '../es/ColumnSizer';

View File

@@ -0,0 +1 @@
export * from '../es/Grid';

View File

@@ -0,0 +1 @@
export * from '../es/InfiniteLoader';

View File

@@ -0,0 +1 @@
export * from '../es/List';

View File

@@ -0,0 +1 @@
export * from '../es/Masonry';

View File

@@ -0,0 +1 @@
export * from '../es/MultiGrid';

View File

@@ -0,0 +1 @@
export * from '../es/ScrollSync';

View File

@@ -0,0 +1 @@
export * from '../es/Table';

View File

@@ -0,0 +1 @@
export * from '../es/WindowScroller';

View File

@@ -1,11 +1,10 @@
/** @flow */
import { PureComponent, Validator, Requireable } from 'react'
import {
Index,
ScrollPosition,
SizeInfo,
SizeAndPositionInfo
} from './genericTypes';
} from '../../index';
export type CollectionCellSizeAndPosition = { height: number, width: number, x: number, y: number };
export type CollectionCellSizeAndPositionGetter = (params: Index) => CollectionCellSizeAndPosition;

View File

@@ -1,9 +1,8 @@
/** @flow */
import { Validator, Requireable, PureComponent } from 'react'
import { List } from './List';
import { Table } from './Table';
import { CellMeasurerCache } from './CellMeasurer';
import { Index, Map, Alignment } from './genericTypes';
import { Index, Map, Alignment } from '../../index';
export type GridCellProps = {
columnIndex: number;

View File

@@ -1,5 +1,5 @@
import { PureComponent, Validator, Requireable } from 'react'
import { Index, IndexRange } from './genericTypes';
import { Index, IndexRange } from '../../index';
export type InfiniteLoaderChildProps = {
onRowsRendered: (params: { startIndex: number, stopIndex: number }) => void,

View File

@@ -1,7 +1,6 @@
/** @flow */
import { PureComponent, Validator, Requireable } from 'react'
import { Grid, GridCellProps } from './Grid'
import { Index, IndexRange, Alignment } from './genericTypes'
import { Index, IndexRange, Alignment } from '../../index'
import { CellMeasurerCache } from './CellMeasurer'
export type ListRowProps = GridCellProps & { index: number, style: React.CSSProperties };

View File

@@ -1,5 +1,4 @@
import { PureComponent, Validator, Requireable } from 'react'
import { } from './genericTypes';
import { CellMeasurerCache, KeyMapper } from './CellMeasurer';
import { GridCellRenderer } from './Grid';
/**

View File

@@ -1,6 +1,6 @@
import { Validator, Requireable, PureComponent, Component } from 'react';
import { CellMeasurerCache } from './CellMeasurer';
import { Index, Alignment, ScrollEventData, IndexRange, OverscanIndexRange } from './genericTypes';
import { Index, Alignment, ScrollEventData, IndexRange, OverscanIndexRange } from '../../index';
import { Grid } from './Grid';
export type TableCellDataGetterParams = {

View File

@@ -1,4 +1,3 @@
/** @flow */
import { Validator, Requireable, PureComponent } from 'react'
export type WindowScrollerChildProps = {

View File

@@ -1,40 +0,0 @@
export type Index = {
index: number
};
export type PositionInfo = {
x: number,
y: number
};
export type ScrollPosition = {
scrollLeft: number,
scrollTop: number
};
export type SizeInfo = {
height: number,
width: number
};
export type SizeAndPositionInfo = SizeInfo & PositionInfo;
export type Map<T> = { [key: string]: T };
export type Alignment = 'auto' | 'end' | 'start' | 'center';
export type IndexRange = {
startIndex: number,
stopIndex: number
}
export type OverscanIndexRange = {
overscanStartIndex: number,
overscanStopIndex: number,
}
export type ScrollEventData = {
clientHeight: number,
scrollHeight: number,
scrollTop: number
}

View File

@@ -8,19 +8,19 @@ export {
ArrowKeyStepper,
ArrowKeyStepperProps,
ChildProps as ArrowKeyStepperChildProps
} from './ArrowKeyStepper'
} from './dist/es/ArrowKeyStepper'
export {
AutoSizer,
AutoSizerProps,
Dimensions
} from './AutoSizer'
} from './dist/es/AutoSizer'
export {
CellMeasurer,
CellMeasurerCache,
CellMeasurerCacheParams,
CellMeasurerProps,
KeyMapper
} from './CellMeasurer'
} from './dist/es/CellMeasurer'
export {
Collection,
CollectionCellGroupRenderer,
@@ -30,12 +30,12 @@ export {
CollectionCellSizeAndPosition,
CollectionCellSizeAndPositionGetter,
CollectionProps
} from './Collection'
} from './dist/es/Collection'
export {
ColumnSizer,
ColumnSizerProps,
SizedColumnProps
} from './ColumnSizer'
} from './dist/es/ColumnSizer'
export {
defaultCellRangeRenderer,
Grid,
@@ -56,18 +56,18 @@ export {
SectionRenderedParams,
SizeAndPositionData,
VisibleCellRange
} from './Grid'
} from './dist/es/Grid'
export {
InfiniteLoader,
InfiniteLoaderChildProps,
InfiniteLoaderProps
} from './InfiniteLoader'
} from './dist/es/InfiniteLoader'
export {
List,
ListProps,
ListRowProps,
ListRowRenderer
} from './List'
} from './dist/es/List'
export {
createCellPositioner as createMasonryCellPositioner,
Masonry,
@@ -79,19 +79,19 @@ export {
OnScrollCallback,
Position,
Positioner
} from './Masonry'
} from './dist/es/Masonry'
export {
MultiGrid,
MultiGridProps,
MultiGridState
} from './MultiGrid'
} from './dist/es/MultiGrid'
export {
ScrollSync,
OnScrollParams,
ScrollSyncChildProps,
ScrollSyncProps,
ScrollSyncState
} from './ScrollSync'
} from './dist/es/ScrollSync'
export {
defaultTableCellDataGetter,
defaultTableCellRenderer,
@@ -117,22 +117,51 @@ export {
TableProps,
TableRowProps,
TableRowRenderer
} from './Table'
} from './dist/es/Table'
export {
WindowScroller,
WindowScrollerChildProps,
WindowScrollerProps,
WindowScrollerState
} from './WindowScroller'
} from './dist/es/WindowScroller'
export {
Alignment,
Index,
IndexRange,
Map,
PositionInfo,
ScrollEventData,
ScrollPosition,
SizeAndPositionInfo,
SizeInfo
} from './genericTypes'
export type Index = {
index: number
};
export type PositionInfo = {
x: number,
y: number
};
export type ScrollPosition = {
scrollLeft: number,
scrollTop: number
};
export type SizeInfo = {
height: number,
width: number
};
export type SizeAndPositionInfo = SizeInfo & PositionInfo;
export type Map<T> = { [key: string]: T };
export type Alignment = 'auto' | 'end' | 'start' | 'center';
export type IndexRange = {
startIndex: number,
stopIndex: number
}
export type OverscanIndexRange = {
overscanStartIndex: number,
overscanStopIndex: number,
}
export type ScrollEventData = {
clientHeight: number,
scrollHeight: number,
scrollTop: number
}