Skip to content

Commit

Permalink
Export Draggable components from Table (#254)
Browse files Browse the repository at this point in the history
Adds exports for Draggable and DragSelectable (and
supporting interfaces) to public API.
  • Loading branch information
themadcreator authored Nov 29, 2016
1 parent 85240d4 commit f832387
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions packages/table/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ import "es6-shim";
export {
Cell,
ICellProps,
ICellRenderer
ICellRenderer,
} from "./cell/cell";

export {
EditableCell,
IEditableCellProps
IEditableCellProps,
} from "./cell/editableCell";

export {
JSONFormat,
IJSONFormatProps
IJSONFormatProps,
} from "./cell/formats/jsonFormat";

export {
TruncatedFormat,
ITruncatedFormatProps
ITruncatedFormatProps,
} from "./cell/formats/truncatedFormat";

export {
Expand All @@ -38,9 +38,16 @@ export {
Clipboard,
Grid,
Rect,
Utils
Utils,
} from "./common/index";

export {
ICoordinateData,
IDragHandler,
IDraggableProps,
Draggable,
} from "./interactions/draggable";

export {
CopyCellsMenuItem,
IContextMenuRenderer,
Expand All @@ -51,24 +58,30 @@ export {
ILockableLayout,
IResizeHandleProps,
Orientation,
ResizeHandle
ResizeHandle,
} from "./interactions/resizeHandle";

export {
ISelectableProps,
IDragSelectableProps,
DragSelectable,
} from "./interactions/selectable";

export {
ColumnHeaderCell,
IColumnHeaderCellProps,
IColumnHeaderRenderer,
HorizontalCellDivider
HorizontalCellDivider,
} from "./headers/columnHeaderCell";

export {
IRowHeaderCellProps,
RowHeaderCell
RowHeaderCell,
} from "./headers/rowHeaderCell";

export {
IEditableNameProps,
EditableName
EditableName,
} from "./headers/editableName";

export {
Expand All @@ -77,10 +90,10 @@ export {
IStyledRegionGroup,
RegionCardinality,
Regions,
SelectionModes
SelectionModes,
} from "./regions";

export {
ITableProps,
Table
Table,
} from "./table";

1 comment on commit f832387

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Export Draggable components from Table (#254)

Preview: docs Coverage: core | datetime

Please sign in to comment.