Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ functions
Functions
9,472 in github.com/adobe/react-spectrum
⨍
Functions
9,472
◇
Types & classes
2,429
↓ 1 callers
Function
extractDescriptionFromExpression
(node, file)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1195
↓ 1 callers
Function
extractEntry
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:279
↓ 1 callers
Function
extractExamples
()
scripts/extractExamplesS2.mjs:20
↓ 1 callers
Function
extractExamplesFromText
* Extracts one or more `@example` tag contents from JSDoc comments. * * @param {string} text - The text to extract examples from. * @returns {strin
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1545
↓ 1 callers
Function
extractJSXText
(node, file)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1228
↓ 1 callers
Function
extractLabel
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:2567
↓ 1 callers
Function
extractNameAndDescription
(lines: string[])
packages/dev/mcp/shared/src/parser.ts:25
↓ 1 callers
Function
extractOpacity
(color: string)
packages/@react-spectrum/s2/style/tokens.ts:115
↓ 1 callers
Function
extractSectionFromMdx
* Extract the section export from an MDX file. * * @param {string} mdxPath - Path to the MDX file. * @returns {string | null} - The section value o
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:340
↓ 1 callers
Function
extractTable
(dom, integerTable, fractionTable)
scripts/generateAllPlurals.mjs:79
↓ 1 callers
Function
extractTestInstructions
(contents)
scripts/getCommitsForTesting.mjs:246
↓ 1 callers
Function
extractText
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:2730
↓ 1 callers
Function
extractTypeLinkName
(node)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1178
↓ 1 callers
Function
failTestOnConsoleError
()
scripts/setupTests.js:54
↓ 1 callers
Function
failTestOnConsoleWarn
()
scripts/setupTests.js:70
↓ 1 callers
Function
fakeFetch
()
packages/@adobe/react-spectrum/stories/table/Table.stories.tsx:1208
↓ 1 callers
Function
fakeFocus
(node: HTMLElement, type: 'focus' | 'blur')
packages/dev/s2-docs/pages/s2/home/Mobile.tsx:351
↓ 1 callers
Function
fakeImporter
(pkgName)
packages/dev/optimize-locales-plugin/test/LocalesPlugin.test.js:25
↓ 1 callers
Function
fakeImporter
(pkgName)
packages/dev/parcel-resolver-optimize-locales/test/LocalesResolver.test.js:31
↓ 1 callers
Function
fetchVars
()
packages/@adobe/spectrum-css-builder-temp/css/plugins/postcss-custom-properties-mapping.js:20
↓ 1 callers
Method
file
(cb)
packages/react-aria/test/dnd/mocks.js:47
↓ 1 callers
Function
filterAndSortSearchItems
( items: T[], searchValue: string, options: SearchOptions<T> )
packages/dev/s2-docs/src/searchUtils.tsx:454
↓ 1 callers
Function
filterCollection
( collection: Collection<Node<T>>, inputValue: string, filter: FilterFn )
packages/react-stately/src/combobox/useComboBoxState.ts:663
↓ 1 callers
Function
filterFalsePositives
* Filter out known false positive violations from axe results.
packages/dev/s2-docs/scripts/testAccessibility.mjs:94
↓ 1 callers
Function
filterHoverProps
(props: TextAreaProps)
packages/react-aria-components/src/TextArea.tsx:32
↓ 1 callers
Function
filterHoverProps
(props: InputProps)
packages/react-aria-components/src/Input.tsx:82
↓ 1 callers
Function
filterKeys
(obj)
scripts/migrateIntl.mjs:65
↓ 1 callers
Function
filterNodes
( collection: Collection<Node<T>>, nodes: Iterable<Node<T>>, inputValue: string, filter: FilterFn )
packages/react-stately/src/combobox/useComboBoxState.ts:671
↓ 1 callers
Function
filterProps
packages/@adobe/react-spectrum/src/dropzone/DropZone.tsx:52
↓ 1 callers
Function
filterSearchItems
( items: T[], searchValue: string, options: SearchOptions<T> )
packages/dev/s2-docs/src/searchUtils.tsx:352
↓ 1 callers
Function
filterSections
(sections: Section[], searchValue: string)
packages/dev/s2-docs/src/searchUtils.tsx:270
↓ 1 callers
Function
filterTests
packages/react-aria-components/test/AriaAutocomplete.test-util.tsx:105
↓ 1 callers
Function
findAllFiles
(files: string[], npmDeps = {})
packages/dev/s2-docs/src/CodeBlock.tsx:320
↓ 1 callers
Method
findBoundaryWithSegmenter
Find the boundary before or after a position using an Intl.Segmenter.
packages/react-stately/src/tokenfield/TokenFieldValue.ts:250
↓ 1 callers
Function
findClosestColors
* Finds the closest colors to a given hex code from the color map. * Returns an array of color names sorted by distance (closest first).
packages/dev/s2-docs/src/searchUtils.tsx:88
↓ 1 callers
Function
findColumnKeyProp
(path: NodePath<t.JSXElement>)
packages/dev/codemods/src/s1-to-s2/src/codemods/components/Row/transform.ts:35
↓ 1 callers
Function
findDay
(dateText: string)
packages/@react-spectrum/s2/test/DateRangePicker.browser.test.tsx:44
↓ 1 callers
Function
findInText
( text: string, search: string | RegExp, direction: Direction, fromOffset?: number )
packages/react-stately/src/tokenfield/TokenFieldValue.ts:441
↓ 1 callers
Function
findLink
(node)
packages/dev/parcel-transformer-mdx-docs/MDXTransformer.js:247
↓ 1 callers
Function
findMatchingDelimiter
(text, start)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:207
↓ 1 callers
Function
findMenuItem
(name: string | RegExp)
packages/@react-spectrum/ai/test/PromptField.test.tsx:36
↓ 1 callers
Method
findNearestDropTarget
()
packages/react-aria/src/dnd/DragManager.ts:527
↓ 1 callers
Function
findNextSegment
(group: Element, fromX: number, direction: number)
packages/react-aria/src/datepicker/useDatePickerGroup.ts:140
↓ 1 callers
Method
findOption
* Returns an option matching the specified index or text content.
packages/@react-aria/test-utils/src/combobox.ts:137
↓ 1 callers
Method
findOption
* Returns a option matching the specified index or text content.
packages/@react-aria/test-utils/src/select.ts:134
↓ 1 callers
Function
findPackageDir
(startDir)
scripts/reportExports.js:113
↓ 1 callers
Function
findRoot
packages/react-aria-components/test/Checkbox.test.js:54
↓ 1 callers
Function
findRoot
packages/react-aria-components/test/RadioGroup.test.js:98
↓ 1 callers
Function
findRoot
packages/react-aria-components/test/CheckboxGroup.test.js:54
↓ 1 callers
Function
findRoot
packages/react-aria-components/test/Switch.test.js:54
↓ 1 callers
Function
findSelector
(el: Element, prop: 'margin-top' | 'margin-bottom')
packages/@react-spectrum/ai/stories/prose.stories.tsx:446
↓ 1 callers
Function
findTopLevelArrow
(text)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:176
↓ 1 callers
Function
findValidDropTargets
(options: DragTarget)
packages/react-aria/src/dnd/DragManager.ts:707
↓ 1 callers
Function
finishExpanding
()
packages/@react-spectrum/s2/test/SideNavPanel.test.tsx:93
↓ 1 callers
Function
fiveParagraphs
()
packages/@adobe/react-spectrum/chromatic/dialog/Dialog.stories.tsx:530
↓ 1 callers
Function
fmt
(d)
scripts/sendWeeklyExcelSheet.mjs:17
↓ 1 callers
Function
focus
()
packages/react-aria/src/gridlist/useGridListItem.ts:115
↓ 1 callers
Function
focusCell
(tree, text)
packages/@adobe/react-spectrum/test/table/TreeGridTable.test.tsx:54
↓ 1 callers
Function
focusCell
(tree, text)
packages/@adobe/react-spectrum/test/table/TableTests.js:246
↓ 1 callers
Method
focusLast
Moves focus to the last focusable or tabbable element in the focus scope.
packages/react-aria/src/focus/FocusScope.tsx:64
↓ 1 callers
Method
focusMain
()
packages/react-aria/src/landmark/useLandmark.ts:371
↓ 1 callers
Method
focusNearestAvailableDate
Focuses the next available day before or after the anchor date.
packages/react-stately/src/calendar/types.ts:231
↓ 1 callers
Method
focusNext
Moves focus to the next landmark.
packages/react-aria/src/landmark/useLandmark.ts:76
↓ 1 callers
Method
focusNextDay
Moves focus to the next calendar date.
packages/react-stately/src/calendar/types.ts:118
↓ 1 callers
Method
focusNextRow
Moves focus to the next row of dates, e.g. the next week.
packages/react-stately/src/calendar/types.ts:122
↓ 1 callers
Method
focusNextSection
* Moves focus to the next section of dates based on what is currently displayed. * By default, focus is moved by one of the currently displayed uni
packages/react-stately/src/calendar/types.ts:143
↓ 1 callers
Method
focusPrevious
Moves focus to the previous landmark.
packages/react-aria/src/landmark/useLandmark.ts:78
↓ 1 callers
Method
focusPreviousDay
Moves focus to the previous calendar date.
packages/react-stately/src/calendar/types.ts:120
↓ 1 callers
Method
focusPreviousRow
Moves focus to the previous row of dates, e.g. the previous work.
packages/react-stately/src/calendar/types.ts:124
↓ 1 callers
Method
focusPreviousSection
* Moves focus to the previous section of dates based on what is currently displayed. * By default, focus is moved by one of the currently displayed
packages/react-stately/src/calendar/types.ts:151
↓ 1 callers
Function
focusRing
()
packages/@react-spectrum/style-macro-s1/src/spectrum-theme.ts:460
↓ 1 callers
Method
focusSectionEnd
* Moves focus to the end of the current section of dates, e.g. the end of the current month * month.
packages/react-stately/src/calendar/types.ts:135
↓ 1 callers
Method
focusSectionStart
Moves focus to the start of the current section of dates, e.g. the start of the current month.
packages/react-stately/src/calendar/types.ts:130
↓ 1 callers
Function
followDependencies
(iname)
scripts/compareAPIs.js:199
↓ 1 callers
Function
followInvertedDependencies
(iname, deps)
scripts/compareAPIs.js:238
↓ 1 callers
Function
font
(value: keyof typeof fontSize)
packages/@react-spectrum/ai/src/style/prose.ts:336
↓ 1 callers
Function
fontToken
(tag: string)
packages/@react-spectrum/ai/stories/prose.stories.tsx:101
↓ 1 callers
Function
for
(let category of [...pageCategories].sort())
packages/dev/docs/src/Layout.js:462
↓ 1 callers
Function
forceRender
()
packages/react-aria-components/test/TokenField.composition.browser.test.tsx:212
↓ 1 callers
Function
formatAxeResults
(results, url, ignoredRules = new Set())
packages/dev/s2-docs/scripts/testAccessibility.mjs:175
↓ 1 callers
Function
formatCode
(node, code, printWidth = 80, force = false)
packages/dev/parcel-transformer-mdx-docs/MDXTransformer.js:707
↓ 1 callers
Function
formatDateLabel
(dateStr)
scripts/sendWeeklyExcelSheet.mjs:24
↓ 1 callers
Function
formatInterfaces
(interfaces, allInterfaces)
scripts/compareAPIs.js:668
↓ 1 callers
Function
formatProp
([name, prop])
scripts/compareAPIs.js:664
↓ 1 callers
Function
formatRows
(rows)
scripts/getCommitsForTesting.mjs:172
↓ 1 callers
Function
formatSpecifierList
(specifiers)
scripts/reportExports.js:220
↓ 1 callers
Function
formatValue
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:860
↓ 1 callers
Function
fromDate
(date: Date, timeZone: string)
packages/@internationalized/date/src/conversion.ts:254
↓ 1 callers
Function
fromHourCycle
(hour: number, dayPeriod: number, hourCycle: HourCycle)
packages/react-stately/src/datepicker/IncompleteDate.ts:400
↓ 1 callers
Function
generate
(dir)
scripts/generateS2IconIndex.js:23
↓ 1 callers
Function
generateAuditSkillMd
(skillConfig)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:688
↓ 1 callers
Function
generateBackground
()
packages/react-aria/src/color/useColorSlider.ts:88
↓ 1 callers
Function
generateBundle
* Generate an MCPB bundle for a given library. This makes the MCP servers easier to install in * certain MCP clients like Claude Desktop. Reference:
packages/dev/s2-docs/scripts/generateMcpb.mjs:119
↓ 1 callers
Function
generateCSV
(startDate, endDate)
scripts/getCommitsForTesting.mjs:166
↓ 1 callers
Function
generateClassAPITable
* Generate markdown documentation for a class, including its methods and properties.
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:3347
↓ 1 callers
Function
generateDefaultColorSchemeStyles
(this: MacroContext | void)
packages/@react-spectrum/s2/src/page.macro.ts:21
↓ 1 callers
Function
generateDocsSkillMd
* Generate the SKILL.md content.
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:471
↓ 1 callers
Function
generateFunctionOptionsTable
* Generate a markdown table for the options interface of a function. * Looks at the first parameter type of the exported function with the given name
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:3598
↓ 1 callers
Function
generateFunctionSignature
* Generate a function signature markdown. * Returns the signature like: `functionName(param1: Type1, param2: Type2): ReturnType`
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:3672
↓ 1 callers
Function
generateIframeModern
(options)
packages/dev/storybook-builder-parcel/gen-iframe-modern.mjs:7
← previous
next →
2,001–2,100 of 9,472, ranked by callers