MCPcopy Create free account

hub / github.com/seek-oss/playroom / functions

Functions272 in github.com/seek-oss/playroom

↓ 2 callersFunctiongetFiberKey
(el: Element)
src/components/Frame/InspectOverlay.tsx:27
↓ 2 callersFunctiongetFrameErrors
()
cypress/support/utils.ts:35
↓ 2 callersFunctiongetInspectHighlight
()
cypress/support/utils.ts:646
↓ 2 callersFunctiongetSelectionPositionRelativeToCommentStart
( selectionEndpoint: CodeMirror.Position, commentStartIndex: number, commentStartUsed: string )
src/components/CodeEditor/keymaps/comment.ts:50
↓ 2 callersFunctiongetSnippets
()
cypress/support/utils.ts:233
↓ 2 callersFunctiongotoThemedPreview
(themeName: string)
cypress/support/utils.ts:167
↓ 2 callersFunctionguard
(amount: number)
src/css/palettes.ts:3
↓ 2 callersFunctionhoverTargetInFrame
(selector: string)
cypress/support/utils.ts:633
↓ 2 callersMethodhydrate
@internal
src/components/CodeEditor/CodeMirror2.tsx:554
↓ 2 callersFunctioninsertAtCursor
({ code, cursor, snippet, }: { code: string; cursor: CursorPosition; snippet: string; })
src/utils/cursor.ts:7
↓ 2 callersFunctionloadPlayroomWithAppearance
( appearance: 'light' | 'dark', initialCode?: string )
cypress/support/utils.ts:398
↓ 2 callersFunctionmapValues
(object, callback)
lib/getStaticTypes.js:31
↓ 2 callersFunctionnewline
(...strings: string[])
src/css/delimiters.ts:3
↓ 2 callersFunctionopenStoredPlayroomByName
( name: string, options: { source: 'keyboard' | 'menu' } )
cypress/support/utils.ts:539
↓ 2 callersFunctionrenderDocumentToCanvas
(doc: Document)
src/components/Frame/frameMessenger.tsx:71
↓ 2 callersFunctionresetPreview
({ previewRenderCode, previewEditorCode, highlightLineNumber, ...state }: State)
src/contexts/StoreContext.tsx:185
↓ 2 callersFunctionresolveDataFromUrl
(location = history.location)
src/utils/params.ts:62
↓ 2 callersFunctionresolvePosition
( event: MouseEvent | TouchEvent, pagePos: 'pageX' | 'pageY' )
src/components/Playroom/ResizeHandle.tsx:11
↓ 2 callersFunctionresolveScore
( item: string, search: string, modifier: number = 0 )
src/components/Snippets/Snippets.tsx:134
↓ 2 callersFunctionresolveSnippetId
(snippet: Snippet, index: number)
src/components/Snippets/Snippets.tsx:29
↓ 2 callersFunctionselectSnippetByIndex
(index: number)
cypress/support/utils.ts:238
↓ 2 callersFunctionshowUsage
()
bin/cli.cjs:11
↓ 2 callersFunctionsortStoredPlayrooms
(storedPlayrooms: State['storedPlayrooms'])
src/contexts/StoreContext.tsx:195
↓ 2 callersFunctiontoggleSnippets
( state: 'open' | 'close', options: ToggleSnippetsOptions )
cypress/support/utils.ts:192
↓ 2 callersFunctionuseDocumentTitle
({ title, suffix }: UseDocumentTitleProps)
src/utils/useDocumentTitle.ts:10
↓ 2 callersFunctionuseGlobalKeyboardShortcutsForWindow
(win: Window | null)
src/components/globalKeyboardShortcuts.ts:7
↓ 2 callersFunctionwithPropTypes
(component)
cypress/projects/themed/components.js:3
↓ 2 callersFunctionwithPropTypes
(component)
cypress/projects/basic/components.js:3
↓ 1 callersMethodapplyUserDefined
( props: IControlledCodeMirror | IUnControlledCodeMirror, preserved?: any )
src/components/CodeEditor/CodeMirror2.tsx:272
↓ 1 callersFunctionassertCodePaneSearchMatchesCount
(lines: number)
cypress/support/utils.ts:501
↓ 1 callersFunctionassertFrameSettingsCount
(count: number)
cypress/support/utils.ts:565
↓ 1 callersFunctionclearCode
()
cypress/support/utils.ts:37
↓ 1 callersFunctionconvertShortcutForPlatform
(shortcut: KeyCombination)
src/components/KeyboardShortcut/KeyboardShortcut.tsx:18
↓ 1 callersFunctioncreateInspectElement
(active: boolean)
src/configModules/useScope.ts:12
↓ 1 callersFunctioncreatePreviewUrl
({ baseUrl, code, theme, title, editorHidden, paramType = 'hash', }: CreatePreviewUrlOptions)
utils/index.ts:149
↓ 1 callersFunctiondetermineCommentType
( cm: Editor, from: CodeMirror.Position, to: CodeMirror.Position )
src/components/CodeEditor/keymaps/comment.ts:223
↓ 1 callersFunctionfallbackUuid
()
src/utils/fallbackUuid.ts:2
↓ 1 callersFunctionfindDeepestElementMatch
( element: any, fiberTypes: Set<any> )
src/components/Frame/InspectOverlay.tsx:71
↓ 1 callersFunctionfindInCode
( term: string, options: { source: 'keyboard' | 'editorAction' } )
cypress/support/utils.ts:417
↓ 1 callersFunctionformatForInsertion
({ code, cursor, }: CodeWithCursor)
src/utils/formatting.ts:156
↓ 1 callersFunctiongenerateStorageKey
()
lib/provideDefaultConfig.js:16
↓ 1 callersFunctiongetFrameNames
()
cypress/support/utils.ts:33
↓ 1 callersFunctiongetGitBranch
()
lib/provideDefaultConfig.js:8
↓ 1 callersFunctiongetIconForWidth
(width: number | 'Fit to window')
src/components/Header/Header.tsx:93
↓ 1 callersFunctiongetLineFromFiber
(fiber: any)
src/components/Frame/InspectOverlay.tsx:31
↓ 1 callersFunctiongetNewPosition
( range: CodeMirror.Range, direction: Direction, extraLines: number )
src/components/CodeEditor/keymaps/lines.ts:13
↓ 1 callersFunctiongetSelectionFromOffset
({ commentType, isAlreadyCommented, fullContent, from, }: GetSelectionFromOffsetOptions)
src/components/CodeEditor/keymaps/comment.ts:73
↓ 1 callersFunctiongetSelectionToOffset
({ to, commentType, isAlreadyCommented, isMultiLineSelection, fullContent, }: GetSelectionToOffsetOp
src/components/CodeEditor/keymaps/comment.ts:122
↓ 1 callersFunctiongetTitle
({ title, suffix = 'Playroom', }: UseDocumentTitleProps)
src/utils/useDocumentTitle.ts:16
↓ 1 callersFunctiongetUpdatedContent
(existingContent: string, range: TagRange)
src/components/CodeEditor/keymaps/comment.ts:170
↓ 1 callersFunctiongetVisibleRect
(el: Element)
src/components/Frame/InspectOverlay.tsx:14
↓ 1 callersFunctiongotoPreview
()
cypress/support/utils.ts:161
↓ 1 callersFunctionisFullExpressionSlot
(tokens: CodeMirror.Token[])
src/components/CodeEditor/keymaps/comment.ts:203
↓ 1 callersFunctionisOnlyWhitespace
(input: string)
src/components/CodeEditor/keymaps/comment.ts:201
↓ 1 callersFunctionisReverseSelection
({ anchor, head, }: IsReverseSelectionOptions)
src/components/CodeEditor/keymaps/comment.ts:22
↓ 1 callersFunctionjumpToCharacter
(line: number, character: number)
cypress/support/utils.ts:494
↓ 1 callersFunctionkeyBy
(array = [], key)
lib/getStaticTypes.js:22
↓ 1 callersFunctionmaskOverflow
( element: HTMLElement, direction: keyof typeof styles.direction )
src/components/ScrollContainer/ScrollContainer.tsx:18
↓ 1 callersFunctionmoveByLines
(range: CodeMirror.Range, lines: number)
src/components/CodeEditor/keymaps/lines.ts:24
↓ 1 callersFunctiononSuccess
()
src/components/RenderCode/RenderCode.tsx:35
↓ 1 callersFunctionparsePropType
(propType)
lib/getStaticTypes.js:9
↓ 1 callersFunctionpositionErrorMarkerAtCursor
( cursorMarker: HTMLButtonElement, editor: Editor )
src/components/CodeEditor/CodeEditor.tsx:97
↓ 1 callersFunctionrangeIsAlreadySelected
( ranges: CodeMirror.Range[], checkRange: Pick<CodeMirror.Range, 'from' | 'to'> )
src/components/CodeEditor/keymaps/cursors.ts:29
↓ 1 callersMethodrender
@internal
src/components/CodeEditor/CodeMirror2.tsx:737
↓ 1 callersFunctionresolveComponentFromLevel
(level: Props['level'])
src/components/Heading/Heading.tsx:13
↓ 1 callersFunctionrunPrettier
({ code, cursorOffset, }: { code: string; cursorOffset: number; })
src/utils/formatting.ts:16
↓ 1 callersFunctionscoreSnippet
(snippet: SnippetWithId, search: string)
src/components/Snippets/Snippets.tsx:170
↓ 1 callersFunctionselectNextCharacters
(numCharacters: number)
cypress/support/utils.ts:267
↓ 1 callersFunctionstartHandler
( event: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement> )
src/components/Playroom/ResizeHandle.tsx:47
↓ 1 callersFunctionunwrapJsx
(code: string)
src/utils/formatting.ts:65
↓ 1 callersFunctionupdateUrlCode
(code: string)
src/utils/params.ts:27
↓ 1 callersFunctionuseIntersection
( ref: RefObject<HTMLElement | null>, options: IntersectionObserverInit )
src/components/Frames/Iframe.tsx:88
↓ 1 callersFunctionuseNormalizedRef
( externalRef: ForwardedRef<TElement> )
src/components/ScrollContainer/ScrollContainer.tsx:49
↓ 1 callersFunctionuseParams
( selector: (rawParams: URLSearchParams) => ReturnType )
src/utils/params.ts:43
↓ 1 callersMethodwire
(props: IControlledCodeMirror | IUnControlledCodeMirror)
src/components/CodeEditor/CodeMirror2.tsx:285
↓ 1 callersFunctionwordAt
(cm: Editor, pos: CodeMirror.Position)
src/components/CodeEditor/keymaps/cursors.ts:7
↓ 1 callersFunctionwrapJsx
(code: string)
src/utils/formatting.ts:62
↓ 1 callersFunctionwriteSummary
({ title, link })
scripts/postCommitStatus.js:4
FunctionBar
({ color = 'black', children })
cypress/projects/typescript/components/Bar.tsx:10
FunctionButton
({ as: ButtonComponent = 'button', children, tone, size = 'medium', height = 'explicit', ...props
src/components/Button/Button.tsx:25
FunctionCodeEditor
({ code, editorHidden, onChange, previewCode, }: Props)
src/components/CodeEditor/CodeEditor.tsx:118
FunctionContent
({ searchRef, onSelect }: SnippetsContentProps)
src/components/Snippets/Snippets.tsx:210
FunctionContextMenu
({ trigger, align = 'start', children, onOpenChange, }: Props)
src/components/ContextMenu/ContextMenu.tsx:106
FunctionContextMenuItem
({ onClick, children, closeOnClick, disabled, tone = 'neutral', icon: Icon, active = true, }: {
src/components/ContextMenu/ContextMenu.tsx:12
FunctionContextMenuItemLink
({ onClick, children, href, target = '_blank', disabled, tone = 'neutral', icon: Icon, ...rest
src/components/ContextMenu/ContextMenu.tsx:56
FunctionDialog
({ title, open, onOpenChange, finalFocus, initialFocus, children, }: Props)
src/components/Dialog/Dialog.tsx:23
FunctionEditorActions
()
src/components/EditorActions/EditorActions.tsx:114
FunctionEditorProvider
({ children }: { children: ReactNode })
src/contexts/EditorContext.tsx:22
FunctionErrorMessage
({ children, delay, action, actionLabel, }: { children: ReactNode; delay?: number; action?: () =
src/components/EditorActions/EditorError.tsx:9
FunctionErrorMessageReceiver
({ size }: ReceiveErrorMessageProps)
src/components/Frame/frameMessenger.tsx:35
FunctionErrorMessageSender
({ message, delayVisibility, }: { message: string; delayVisibility?: boolean; })
src/components/Frame/frameMessenger.tsx:13
FunctionEvalCode
({ code, inspectMode, onSuccess, }: { code: string; inspectMode: boolean; onSuccess?: () => void;
src/components/RenderCode/RenderCode.tsx:14
FunctionFoo
({ color = 'black', children })
cypress/projects/typescript/components/Foo.tsx:10
FunctionFrame
({ frame, // title, code, scrollingPanelRef, frameId, frameSettings = {}, inspectMode, dispatc
src/components/Frames/Frames.tsx:56
FunctionFrame
({ code, inspectMode, themeName, theme, frameSettings, ErrorComponent, }: FrameProps)
src/components/Frame/Frame.tsx:28
FunctionFrameContent
({ code, themeName, theme, }: { code: string; themeName: string | null; theme: string; })
src/entries/frame.tsx:15
FunctionFrameError
({ message, delayVisibility, size = 'small', }: { message: ReactNode; delayVisibility?: boolean; s
src/components/Frame/FrameError.tsx:8
FunctionFrames
({ code }: FramesProps)
src/components/Frames/Frames.tsx:272
FunctionFramesMenu
()
src/components/Header/Header.tsx:111
FunctionHeader
()
src/components/Header/Header.tsx:399
← previousnext →101–200 of 272, ranked by callers