MCPcopy Create free account

hub / github.com/bvaughn/react-resizable-panels / functions

Functions1,182 in github.com/bvaughn/react-resizable-panels

↓ 1 callersFunctionmeasure
()
lib/workspace/components/TabsetSlot.tsx:117
↓ 1 callersFunctionmeasure
()
lib/workspace/components/DropIndicator.tsx:77
↓ 1 callersFunctionmeasure
()
lib/grid/components/Grid.tsx:330
↓ 1 callersFunctionmeasureAddedTabsetSize
( model: WorkspaceModel<unknown, unknown>, target: TabDropTarget, size: number | string | undefined, l
lib/workspace/utils/measureAddedTabsetSize.ts:20
↓ 1 callersFunctionmeasureCollapsedSize
( tabsetElement: HTMLElement, headerElement: HTMLElement, orientation: Orientation )
lib/workspace/utils/measureCollapsedSize.ts:12
↓ 1 callersFunctionmeasureContent
( element: Element, children: HTMLElement[], isVertical: boolean, scale: number )
lib/workspace/utils/measureTabListFreeSpace.ts:68
↓ 1 callersFunctionmeasureSplitSizes
( model: WorkspaceModel<unknown, unknown>, splitId: string, sizes: { [childId: string]: number | string
lib/workspace/utils/measureSplitSizes.ts:13
↓ 1 callersFunctionmeasureTabListFreeSpace
(element: HTMLElement)
lib/workspace/utils/measureTabListFreeSpace.ts:20
↓ 1 callersFunctionmeasureTabs
(page: Page)
integrations/tests/tests/workspace.spec.tsx:1551
↓ 1 callersFunctionmockElement
( x: number, y: number, width: number, height: number, scale = 1 )
lib/workspace/utils/measureDropIndicatorInsets.test.ts:7
↓ 1 callersFunctionmockElement
(width: number, height: number, scale = 1)
lib/workspace/utils/measureChromeSize.test.ts:7
↓ 1 callersFunctionmockEvent
( currentTarget: Document, clientX: number, { buttons = 1, pointerId = 1, pointe
lib/global/event-handlers/crossDocumentEvents.test.ts:109
↓ 1 callersFunctionmockEvent
(clientX: number, clientY: number = 50)
lib/global/event-handlers/onDocumentPointerMove.test.ts:47
↓ 1 callersFunctionmockGetComputedStyle
()
lib/shared/utils/test/mockGetComputedStyle.ts:14
↓ 1 callersFunctionmockHeights
(top: number, bottom: number)
lib/flex/components/Group.test.tsx:1430
↓ 1 callersFunctionmockLayout
(element: HTMLElement, node: FloatingTabsetNode)
lib/workspace/components/FloatingTabsets.test.tsx:104
↓ 1 callersFunctionmockLayoutStorage
({ groupId, legacyLayout = { "left,right": { expandToSizes: {}, layout
lib/flex/hooks/useDefaultLayout.test.tsx:777
↓ 1 callersFunctionmockModal
(dialog: HTMLDialogElement, modal: boolean)
lib/global/utils/isViableHitTarget.test.ts:13
↓ 1 callersFunctionmockPointerEvent
({ clientX = 0, clientY = 0, type = "pointermove" }: { clientX?: number; clientY?: number; type?:
lib/global/test/mockPointerEvent.ts:1
↓ 1 callersFunctionmockWidths
(middle: number)
lib/flex/components/Group.test.tsx:1387
↓ 1 callersFunctionmodel
( root: WorkspaceNode, maximizedTabsetId?: string )
lib/workspace/models/model.test.ts:60
↓ 1 callersFunctionmount
(html: string)
lib/workspace/utils/getDropTarget.test.ts:479
↓ 1 callersFunctionmove
(delta: number, commit = false)
lib/global/utils/updateActiveHitRegion.test.ts:138
↓ 1 callersFunctionmovePointer
(clientX: number)
lib/global/utils/abortActivePointerResize.test.ts:93
↓ 1 callersFunctionnormalizeFloatingTabset
( tabset: FloatingTabsetNode<TabData, TabsetData> )
lib/workspace/models/normalizeFloatingTabset.ts:15
↓ 1 callersFunctionnotifyItemOnResize
( axis: RegisteredResizeAxis, element: HTMLElement, borderBoxSize: readonly ResizeObserverSize[] )
lib/global/utils/notifyItemOnResize.ts:5
↓ 1 callersFunctionnotifySeparatorPreviewChanged
(separator: RegisteredSeparator)
lib/global/mutable-state/interactions.ts:96
↓ 1 callersFunctionobserveHeaderChild
(node: HTMLElement)
lib/workspace/components/TabList.tsx:152
↓ 1 callersFunctiononDocumentContextMenu
(event: MouseEvent)
lib/global/event-handlers/onDocumentContextMenu.ts:3
↓ 1 callersFunctiononDocumentPointerLeave
(event: PointerEvent)
lib/global/event-handlers/onDocumentPointerLeave.ts:6
↓ 1 callersFunctiononTabKeyDown
(event: KeyboardEvent<HTMLElement>)
lib/workspace/components/Tab.tsx:169
↓ 1 callersFunctiononWindowBlur
(event: FocusEvent)
lib/global/event-handlers/onWindowBlur.ts:3
↓ 1 callersFunctiononWindowPageHide
(event: PageTransitionEvent)
lib/global/event-handlers/onWindowPageHide.ts:3
↓ 1 callersFunctionopenFile
(path: string)
src/routes/examples/WorkspaceOpenTab.tsx:14
↓ 1 callersFunctionopenPopout
( popouts: { current: PopoutWindows<TabData> | null }, model = createModel("popped") )
lib/workspace/hooks/usePopoutWindows.test.tsx:120
↓ 1 callersFunctionoverrideSupportsAdvancedCursorStylesForTesting
( override: boolean )
lib/global/cursor/supportsAdvancedCursorStyles.ts:3
↓ 1 callersFunctionpanelTab
(panel: PanelView, title: string)
src/components/vs-code-workspace/VSCodeWorkspace.tsx:71
↓ 1 callersFunctionparseNumericStyleValue
( value: CSSProperties["height"] )
lib/shared/utils/parseNumericStyleValue.ts:3
↓ 1 callersFunctionparsePixels
(value: string | undefined | null)
lib/grid/utils/measureGridAxis.ts:3
↓ 1 callersFunctionpointAt
(element: Element | null)
lib/workspace/utils/getDropTarget.test.ts:492
↓ 1 callersFunctionpointerOut
(currentTarget: Document)
lib/global/event-handlers/crossDocumentEvents.test.ts:353
↓ 1 callersFunctionpopOut
(tabset: TabsetNode<TabData>)
src/routes/examples/WorkspacePopoutWindows.tsx:20
↓ 1 callersFunctionpostFromOtherPage
(message: Message)
lib/workspace/components/Workspace.test.tsx:5037
↓ 1 callersFunctionpress
( target: HTMLElement, moves: { clientX: number; clientY: number }[], release = true )
lib/workspace/components/FloatingTabsets.test.tsx:113
↓ 1 callersFunctionpreview
()
lib/workspace/components/Workspace.test.tsx:3895
↓ 1 callersFunctionprintSeparators
()
lib/flex/components/Separator.test.tsx:391
↓ 1 callersFunctionpruneRemovedNodes
( sizes: { [nodeId: string]: Value }, nodeIds: Set<string> )
lib/workspace/utils/pruneRemovedNodes.ts:2
↓ 1 callersFunctionread
(target: CSSStyleDeclaration | undefined, property: string)
lib/workspace/utils/measureTabListFreeSpace.ts:76
↓ 1 callersFunctionread
(property: string)
lib/workspace/utils/getTabListScrollport.ts:25
↓ 1 callersFunctionreadLegacyLayout
({ id, panelIds, storage }: { id: string; panelIds?: string[] | undefined; storage: LayoutStorage;
lib/flex/utils/readLegacyLayout.ts:15
↓ 1 callersFunctionreadRules
(sheet: CSSStyleSheet | null)
lib/workspace/utils/copyStyleSheets.ts:79
↓ 1 callersFunctionrecord
()
integrations/tests/tests/workspace.spec.tsx:1668
↓ 1 callersFunctionrect
(start: number, size: number)
lib/global/utils/updateActiveHitRegion.test.ts:96
↓ 1 callersFunctionrect
(start: number, size: number)
lib/global/utils/calculateResizePreviews.test.ts:14
↓ 1 callersFunctionrelativeBoundsToBounds
(relativeBounds: DOMRect)
lib/global/test/mockGroup.ts:44
↓ 1 callersFunctionrenderAccepting
(props: Partial<WorkspaceProps<TabData>> = {})
lib/workspace/components/Workspace.test.tsx:6216
↓ 1 callersFunctionrenderButton
()
lib/global/mutable-state/interactions.test.ts:110
↓ 1 callersFunctionrenderCollapseButtons
(props: Partial<WorkspaceProps> = {})
lib/workspace/components/WorkspaceButtons.test.tsx:90
↓ 1 callersFunctionrenderEmptyTabset
()
src/components/workspace/WorkspaceDemo.tsx:221
↓ 1 callersFunctionrenderGrid
(showCell: boolean, columnSpan = 1)
lib/grid/components/Grid.test.tsx:863
↓ 1 callersFunctionrenderGridWithGridlines
({ columnGridlineDisabled, rowGridlineDisabled }: { columnGridlineDisabled?: boolean;
lib/grid/components/Grid.test.tsx:725
↓ 1 callersFunctionrenderGridWithSpanningCell
({ firstColumnGridlineDisabled }: { firstColumnGridlineDisabled?: boolean } = {})
lib/grid/components/Grid.test.tsx:896
↓ 1 callersFunctionrenderGroup
(popover: ReactElement<unknown>, container: string)
integrations/tests/tests/popover.spec.tsx:27
↓ 1 callersFunctionrenderMaximizeButtons
(props: Partial<WorkspaceProps> = {})
lib/workspace/components/WorkspaceButtons.test.tsx:258
↓ 1 callersFunctionrenderOverflowing
( mainPage: Page, selectedId?: string, direction?: "rtl" )
integrations/tests/tests/workspace.spec.tsx:1524
↓ 1 callersFunctionrenderSeparator
(orientation: Orientation)
src/components/workspace/workspaceDemoStyles.tsx:7
↓ 1 callersFunctionrenderTab
(tab: TabNode<DemoTab>, props: TabRenderProps)
src/components/workspace/WorkspaceDemo.tsx:229
↓ 1 callersFunctionrenderTabPreview
(tab: TabNode, otherTabCount = 0)
lib/workspace/components/Workspace.tsx:1494
↓ 1 callersFunctionrenderTwoByTwoGrid
({ columns = 2, onLayoutChange, onLayoutChanged, rows = 2, spanBottomRow = false }: { columns?: nu
lib/grid/components/Grid.test.tsx:170
↓ 1 callersFunctionrenderWithPalette
({ onClick = vi.fn(), preview, props = {}, tabId = "new", to
lib/workspace/components/Workspace.test.tsx:5648
↓ 1 callersFunctionrenderWorkspace
(props: Partial<WorkspaceProps<TabData>> = {})
lib/workspace/components/FloatingTabsets.test.tsx:74
↓ 1 callersFunctionrenderWorkspaces
( props: Partial<WorkspaceProps<TabData>> = {}, otherProps: Partial<WorkspaceProps<TabData>> =
lib/workspace/components/Workspace.test.tsx:4125
↓ 1 callersFunctionreportAndCloseAll
()
lib/workspace/hooks/usePopoutWindows.tsx:149
↓ 1 callersFunctionreportNativeDragover
(drag: NativeDrag)
lib/workspace/mutable-state/nativeDragChannel.ts:201
↓ 1 callersFunctionresize
( start: FloatingTabsetRect, edge: FloatingResizeEdge, deltaX: number, deltaY: number, minimumSize:
lib/workspace/hooks/useFloatingTabsetGesture.ts:288
↓ 1 callersFunctionresize
( size: number, delta: number, trigger: Args["trigger"] = "mouse-or-touch" )
lib/global/utils/adjustLayoutByDelta.test.ts:69
↓ 1 callersFunctionresizeGroup
(groupSize: number)
lib/flex/components/Group.test.tsx:836
↓ 1 callersFunctionresizeInsertedTabset
( model: WorkspaceModel<TabData, TabsetData>, tabsetId: string, size: number | string | undefined, spl
lib/workspace/models/resizeInsertedTabset.ts:16
↓ 1 callersFunctionrestore
()
src/routes/examples/UsePopoutWindowsRestore.tsx:29
↓ 1 callersFunctionrestoreTabset
( model: WorkspaceModel<TabData, TabsetData> )
lib/workspace/models/restoreTabset.ts:3
↓ 1 callersFunctionreuse
( next: TabListOverflowState, prev: TabListOverflowState | undefined )
lib/workspace/utils/measureTabListOverflow.ts:78
↓ 1 callersFunctionrunTest
( callback: (args: { container: HTMLElement; groupRef: RefObject<GroupImperativeHandle |
lib/flex/components/Group.test.tsx:447
↓ 1 callersFunctionsaveModel
(storageKey: string, model: WorkspaceModel<DemoTab>)
src/components/workspace/WorkspaceDemo.tsx:79
↓ 1 callersFunctionsaveModel
(model: WorkspaceModel<TabData>)
src/routes/examples/WorkspacePersistence.tsx:21
↓ 1 callersFunctionscrollList
(list: Element, offset: number)
lib/workspace/components/Workspace.test.tsx:2952
↓ 1 callersFunctionsegmentToRect
( { crossEnd, crossStart, end, start }: GridSegment, axis: GridAxis )
lib/grid/utils/segmentToRect.ts:6
↓ 1 callersFunctionserialize
(group: MockGroup)
lib/global/dom/calculateHitRegions.test.ts:34
↓ 1 callersFunctionserialize
( event: PointerEvent, mountedGroups: MountedAxes, ownerDocument: Document = document )
lib/global/utils/findMatchingHitRegions.test.ts:11
↓ 1 callersFunctionset
(tabsetId: string, value: Value | undefined)
lib/workspace/utils/createTabListStore.ts:33
↓ 1 callersFunctionsetBounds
()
lib/flex/components/ResizePreview.test.tsx:29
↓ 1 callersFunctionsetElementStyle
(element: Element, style: CSSStyleDeclaration)
lib/shared/utils/test/mockGetComputedStyle.ts:37
↓ 1 callersFunctionsetItemSize
( nextSize: number, { axis, changed, itemSize: prevSize, state }: ReturnType<typeof findSynced>, {
lib/global/utils/getImperativeItemMethods.ts:292
↓ 1 callersFunctionsetRightToLeft
(page: Page)
integrations/tests/tests/workspace.spec.tsx:2670
↓ 1 callersFunctionsetUp
( tab: { size: number; start: number }, { isVertical = false, scale = 1 }: { isVertical?: boolea
lib/workspace/utils/scrollTabIntoView.test.ts:7
↓ 1 callersFunctionsetWorkspaceWidth
(page: Page, width: number)
integrations/tests/tests/workspace.spec.tsx:2210
↓ 1 callersFunctionsettle
()
integrations/tests/tests/workspace.spec.tsx:1860
↓ 1 callersFunctionsetup
( groups: { onLayoutChange?: (layout: Layout) => void; onLayoutChanged?: (layout: Layout) => v
lib/flex/components/throwingLayoutCallbacks.test.tsx:33
↓ 1 callersFunctionsetup
()
lib/workspace/utils/getDefaultFloatingRect.test.ts:30
↓ 1 callersFunctionsetup
({ padding = 0 }: { padding?: number } = {})
lib/workspace/utils/getWorkspaceDropEdge.test.ts:15
↓ 1 callersFunctionsetup
({ keepWhenEmpty = false } = {})
lib/workspace/utils/getDropTarget.test.ts:73
← previousnext →601–700 of 1,182, ranked by callers