UNPKG

react-mosaic-component

Version:
65 lines (64 loc) 2.12 kB
/** * @license * Copyright 2019 Kevin Verdieck, originally developed at Palantir Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export { Mosaic, MosaicProps, MosaicUncontrolledProps, MosaicControlledProps, MosaicWithoutDragDropContext, } from './Mosaic'; export { MosaicNode, MosaicDragType, MosaicDirection, MosaicBranch, CreateNode, MosaicParent, MosaicPath, MosaicUpdate, MosaicUpdateSpec, TileRenderer, } from './types'; export { MosaicContext, MosaicRootActions, MosaicWindowActions, MosaicWindowContext } from './contextTypes'; export { buildSpecFromUpdate, createDragToUpdates, createExpandUpdate, createHideUpdate, createRemoveUpdate, updateTree, } from './util/mosaicUpdates'; export { createBalancedTreeFromLeaves, Corner, getAndAssertNodeAtPathExists, getLeaves, getNodeAtPath, getOtherBranch, getOtherDirection, getPathToCorner, isParent, } from './util/mosaicUtilities'; export { MosaicWindow, MosaicWindowProps } from './MosaicWindow'; export { createDefaultToolbarButton, DefaultToolbarButton, MosaicButtonProps } from './buttons/MosaicButton'; export { MosaicZeroState, MosaicZeroStateProps } from './MosaicZeroState'; export { Separator } from './buttons/Separator'; export { ExpandButton } from './buttons/ExpandButton'; export { ReplaceButton } from './buttons/ReplaceButton'; export { SplitButton } from './buttons/SplitButton'; export { RemoveButton } from './buttons/RemoveButton'; export { DEFAULT_CONTROLS_WITH_CREATION, DEFAULT_CONTROLS_WITHOUT_CREATION } from './buttons/defaultToolbarControls';