react-panel-layout 0.4.2 → 0.5.1
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/FloatingPanelFrame-6W5OexYe.js +98 -0
- package/dist/FloatingPanelFrame-6W5OexYe.js.map +1 -0
- package/dist/FloatingPanelFrame-D9Cp2al1.cjs +2 -0
- package/dist/FloatingPanelFrame-D9Cp2al1.cjs.map +1 -0
- package/dist/GridLayout-BzrIDrC9.js +1465 -0
- package/dist/GridLayout-BzrIDrC9.js.map +1 -0
- package/dist/GridLayout-ZrOhoLLB.cjs +2 -0
- package/dist/GridLayout-ZrOhoLLB.cjs.map +1 -0
- package/dist/PanelSystemContext.d.ts +9 -0
- package/dist/components/grid/GridLayerList.d.ts +3 -0
- package/dist/components/grid/GridLayout.d.ts +5 -0
- package/dist/components/paneling/FloatingPanelFrame.d.ts +4 -0
- package/dist/components/window/FloatingWindow.d.ts +15 -0
- package/dist/config/panelRouter.d.ts +2 -2
- package/dist/config.cjs +1 -1
- package/dist/config.cjs.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/constants/styles.d.ts +3 -1
- package/dist/floating.cjs +1 -1
- package/dist/floating.js +1 -1
- package/dist/hooks/ContentCacheContext.d.ts +59 -0
- package/dist/hooks/useContainerScroll.d.ts +23 -0
- package/dist/hooks/useContentCache.d.ts +67 -0
- package/dist/hooks/useDocumentScroll.d.ts +13 -0
- package/dist/hooks/useScrollContainer.d.ts +21 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +950 -878
- package/dist/index.js.map +1 -1
- package/dist/modules/grid/GridLayoutContext.d.ts +5 -0
- package/dist/modules/grid/resizeHandles.d.ts +14 -0
- package/dist/modules/grid/trackUtils.d.ts +29 -0
- package/dist/modules/grid/useGridTracks.d.ts +6 -15
- package/dist/modules/grid/useLayerInteractions.d.ts +2 -1
- package/dist/modules/window/useFloatingState.d.ts +9 -0
- package/dist/pivot.cjs +1 -1
- package/dist/pivot.js +1 -1
- package/dist/sticky-header/StickyHeader.d.ts +53 -0
- package/dist/sticky-header/index.d.ts +7 -0
- package/dist/sticky-header/types.d.ts +50 -0
- package/dist/sticky-header.cjs +2 -0
- package/dist/sticky-header.cjs.map +1 -0
- package/dist/sticky-header.js +198 -0
- package/dist/sticky-header.js.map +1 -0
- package/dist/styles-CA2_zLZt.js +52 -0
- package/dist/{styles-DcG3aIFx.cjs.map → styles-CA2_zLZt.js.map} +1 -1
- package/dist/styles-PsqGOEJP.cjs +2 -0
- package/dist/styles-PsqGOEJP.cjs.map +1 -0
- package/dist/types.d.ts +79 -4
- package/dist/useIsomorphicLayoutEffect-DGRNF4Lf.cjs +2 -0
- package/dist/useIsomorphicLayoutEffect-DGRNF4Lf.cjs.map +1 -0
- package/dist/useIsomorphicLayoutEffect-DhmEnmZ_.js +6 -0
- package/dist/useIsomorphicLayoutEffect-DhmEnmZ_.js.map +1 -0
- package/dist/usePivot-BS-DGfwd.cjs +2 -0
- package/dist/usePivot-BS-DGfwd.cjs.map +1 -0
- package/dist/usePivot-BvOGxLQQ.js +124 -0
- package/dist/usePivot-BvOGxLQQ.js.map +1 -0
- package/dist/utils/css.d.ts +19 -0
- package/package.json +6 -1
- package/dist/FloatingPanelFrame-SOrLGjZd.js +0 -67
- package/dist/FloatingPanelFrame-SOrLGjZd.js.map +0 -1
- package/dist/FloatingPanelFrame-XtBcHANI.cjs +0 -2
- package/dist/FloatingPanelFrame-XtBcHANI.cjs.map +0 -1
- package/dist/GridLayout-CLvW8jID.js +0 -1352
- package/dist/GridLayout-CLvW8jID.js.map +0 -1
- package/dist/GridLayout-qufTyOQM.cjs +0 -2
- package/dist/GridLayout-qufTyOQM.cjs.map +0 -1
- package/dist/styles-DcG3aIFx.cjs +0 -2
- package/dist/styles-w0ZixggV.js +0 -51
- package/dist/styles-w0ZixggV.js.map +0 -1
- package/dist/usePivot-C8q0pMgW.cjs +0 -2
- package/dist/usePivot-C8q0pMgW.cjs.map +0 -1
- package/dist/usePivot-z9gumDf-.js +0 -97
- package/dist/usePivot-z9gumDf-.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,18 +2,21 @@
|
|
|
2
2
|
* @file Main entry point for the React Panel Layout library
|
|
3
3
|
*/
|
|
4
4
|
import "./modules/theme/variables.css";
|
|
5
|
-
export type { GridTrack, PanelLayoutConfig, LayerPositionMode, LayerDefinition, PanelLayoutProps, Position, WindowOffset, WindowPosition, WindowSize, WindowBounds, WindowConstraints, PopupWindowFeatures, PopupWindowOptions, PopupWindowFactoryConfig, FloatingWindowMode,
|
|
5
|
+
export type { GridTrack, PanelLayoutConfig, LayerPositionMode, LayerDefinition, PanelLayoutProps, Position, WindowOffset, WindowPosition, WindowSize, WindowBounds, WindowConstraints, PopupWindowFeatures, PopupWindowOptions, PopupWindowFactoryConfig, FloatingWindowMode, FloatingBehavior, FloatingHeaderConfig, DrawerBehavior, } from "./types";
|
|
6
6
|
export { GridLayout } from "./components/grid/GridLayout";
|
|
7
7
|
export type { GridLayoutProps } from "./components/grid/GridLayout";
|
|
8
8
|
export { Drawer } from "./components/window/Drawer";
|
|
9
9
|
export type { DrawerProps } from "./components/window/Drawer";
|
|
10
10
|
export { DrawerLayers } from "./components/window/DrawerLayers";
|
|
11
11
|
export type { DrawerLayersProps } from "./components/window/DrawerLayers";
|
|
12
|
+
export { FloatingWindow } from "./components/window/FloatingWindow";
|
|
13
|
+
export type { FloatingWindowProps } from "./components/window/FloatingWindow";
|
|
12
14
|
export { HorizontalDivider } from "./components/resizer/HorizontalDivider";
|
|
13
15
|
export type { HorizontalDividerProps } from "./components/resizer/HorizontalDivider";
|
|
14
16
|
export { ResizeHandle } from "./components/resizer/ResizeHandle";
|
|
15
17
|
export type { ResizeHandleProps } from "./components/resizer/ResizeHandle";
|
|
16
18
|
export { useLayerDragHandle } from "./modules/grid/useLayerDragHandle";
|
|
19
|
+
export { useFloatingState } from "./modules/window/useFloatingState";
|
|
17
20
|
export { useTransitionState, runTransition } from "./hooks/useTransitionState";
|
|
18
21
|
export type { TransitionMode, TransitionOptions, UseTransitionStateOptions } from "./hooks/useTransitionState";
|
|
19
22
|
export { CSS_VAR_PREFIX } from "./constants/styles";
|