MCPcopy Create free account

hub / github.com/adobe/react-spectrum / functions

Functions8,778 in github.com/adobe/react-spectrum

↓ 4 callersFunctionuseSearchField
( props: AriaSearchFieldProps, state: SearchFieldState, inputRef: RefObject<HTMLInputElement | null> )
packages/react-aria/src/searchfield/useSearchField.ts:58
↓ 4 callersFunctionuseSelectState
( props: SelectStateOptions<T, M> )
packages/react-stately/src/select/useSelectState.ts:154
↓ 4 callersFunctionuseSpinButton
(props: SpinButtonProps)
packages/react-aria/src/spinbutton/useSpinButton.ts:42
↓ 4 callersFunctionuseStyle
(layoutInfo: LayoutInfo, parent: LayoutInfo | null)
packages/@adobe/react-spectrum/src/table/TableViewBase.tsx:849
↓ 4 callersFunctionuseSyncRef
(context?: ContextValue<T> | null, ref?: RefObject<T | null>)
packages/react-aria/src/utils/useSyncRef.ts:22
↓ 4 callersFunctionuseTableColumnResize
( props: AriaTableColumnResizeProps<T>, state: TableColumnResizeState<T>, ref: RefObject<HTMLInputElemen
packages/react-aria/src/table/useTableColumnResize.ts:76
↓ 4 callersFunctionuseToast
( props: AriaToastProps<T>, state: ToastState<T>, // eslint-disable-next-line @typescript-eslint/no-unus
packages/react-aria/src/toast/useToast.ts:45
↓ 4 callersFunctionuseTooltip
(props: AriaTooltipProps, state?: TooltipTriggerState)
packages/react-aria/src/tooltip/useTooltip.ts:35
↓ 4 callersFunctionuseUpdateEffect
(cb: EffectCallback, dependencies: any[])
packages/react-aria/src/utils/useUpdateEffect.ts:17
↓ 3 callersFunctionIndent
({ params, open, close, children, alwaysIndent }: { params: TType[]; open: string; close: stri
packages/dev/s2-docs/src/types.tsx:376
↓ 3 callersFunctionTypeParameters
({typeParameters}: {typeParameters: TType[]})
packages/dev/s2-docs/src/types.tsx:516
↓ 3 callersFunctionUNSTABLE_createLandmarkController
()
packages/react-aria/src/landmark/useLandmark.ts:494
↓ 3 callersFunctionUNSTABLE_useFilteredListState
( state: ListState<T>, filterFn: ((nodeValue: string, node: Node<T>) => boolean) | null | undefined )
packages/react-stately/src/list/useListState.ts:88
↓ 3 callersMethodaddChild
(node: TreeNode)
packages/react-aria/src/focus/FocusScope.tsx:1109
↓ 3 callersFunctionaddWindowFocusTracking
(element?: HTMLElement | null)
packages/react-aria/src/interactions/useFocusVisible.ts:268
↓ 3 callersFunctionalignCenter
( date: CalendarDate, duration: DateDuration, locale: string, minValue?: DateValue | null, maxValue?
packages/react-stately/src/calendar/utils.ts:35
↓ 3 callersFunctionalignEnd
( date: CalendarDate, duration: DateDuration, locale: string, minValue?: DateValue | null, maxValue?
packages/react-stately/src/calendar/utils.ts:74
↓ 3 callersFunctionanchorId
(children: ReactNode)
packages/dev/s2-docs/src/typography.tsx:26
↓ 3 callersMethodbuild
(props: Partial<CollectionBase<T>>, context?: unknown)
packages/react-stately/src/collections/CollectionBuilder.ts:29
↓ 3 callersMethodbuildCollection
(offset: number = this.padding)
packages/react-stately/src/layout/ListLayout.ts:381
↓ 3 callersMethodbuildColumnWidths
( tableWidth: number, collection: TableCollection<T>, widths: Map<Key, ColumnSize> )
packages/react-stately/src/table/TableColumnLayout.ts:126
↓ 3 callersFunctionbuildTree
( initialItems: T[] | null = [], map: Map<Key, TreeNode<T>>, parentKey?: Key | null )
packages/react-stately/src/data/useTreeData.ts:166
↓ 3 callersFunctioncalculatePosition
(opts: PositionOpts)
packages/react-aria/src/overlays/calculatePosition.ts:646
↓ 3 callersFunctionceToJulianDay
(epoch: number, year: number, month: number, day: number)
packages/@internationalized/date/src/calendars/EthiopicCalendar.ts:27
↓ 3 callersMethodclampPosition
(position: Position)
packages/@react-spectrum/ai/src/TokenSegmentList.ts:110
↓ 3 callersFunctionclassName
({isDisabled})
packages/react-aria-components/test/Tabs.test.js:341
↓ 3 callersMethodclosestLandmark
* Get the landmark that is the closest parent in the DOM. * Returns undefined if no parent is a landmark.
packages/react-aria/src/landmark/useLandmark.ts:266
↓ 3 callersMethodcollapse
Collapse the disclosure.
packages/react-stately/src/disclosure/useDisclosureState.ts:33
↓ 3 callersFunctioncollect
packages/react-aria/test/dnd/dnd.test.js:1114
↓ 3 callersFunctioncolorMix
(a: SpectrumColor, b: SpectrumColor, percent: number)
packages/@react-spectrum/s2/style/spectrum-theme.ts:313
↓ 3 callersFunctioncommitSelection
(shouldForceSelectionChange = false)
packages/react-stately/src/combobox/useComboBoxState.ts:532
↓ 3 callersFunctioncommitValue
(dateRange: DateRange, timeRange: TimeRange)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:155
↓ 3 callersFunctioncommitValue
(date: DateValue, time: TimeValue)
packages/react-stately/src/datepicker/useDatePickerState.ts:162
↓ 3 callersFunctioncompareDate
(a: AnyCalendarDate, b: AnyCalendarDate)
packages/@internationalized/date/src/queries.ts:113
↓ 3 callersFunctioncompareNodeOrder
( collection: Collection<Node<T>>, a: Node<T>, b: Node<T> )
packages/react-stately/src/collections/getChildNodes.ts:56
↓ 3 callersFunctioncompileStrings
(messages, options)
packages/@internationalized/string-compiler/src/stringCompiler.js:15
↓ 3 callersMethodcopy
()
packages/react-stately/src/datepicker/IncompleteDate.ts:65
↓ 3 callersFunctioncountChars
(element: ReactNode)
packages/dev/s2-docs/src/VisualExampleClient.tsx:421
↓ 3 callersMethodcreateSegmentList
(segments: readonly TokenFieldSegment[])
packages/@react-spectrum/ai/src/TokenSegmentList.ts:59
↓ 3 callersFunctioncreateSyntheticEvent
(nativeEvent: Event)
packages/react-aria/src/interactions/utils.ts:22
↓ 3 callersFunctioncreateValueLookup
(values: Array<CSSValue>)
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:103
↓ 3 callersFunctioncycleDate
( value: CalendarDate | CalendarDateTime, field: DateField, amount: number, options?: CycleOptions )
packages/@internationalized/date/src/manipulation.ts:296
↓ 3 callersFunctioncycleTime
( value: Time | CalendarDateTime, field: TimeField, amount: number, options?: CycleTimeOptions )
packages/@internationalized/date/src/manipulation.ts:378
↓ 3 callersFunctioncycleValue
(value: number, amount: number, min: number, max: number, round = false)
packages/@internationalized/date/src/manipulation.ts:415
↓ 3 callersFunctiondateTimeToString
(date: AnyDateTime)
packages/@internationalized/date/src/string.ts:232
↓ 3 callersMethoddecrement
Decrements the current input value to the next step boundary, and fires `onChange`.
packages/react-stately/src/color/useColorFieldState.ts:67
↓ 3 callersFunctiondispatchVirtualBlur
(from: Element, to: Element | null)
packages/react-aria/src/focus/virtualFocus.ts:16
↓ 3 callersFunctiondynamicRenderFunc
packages/@adobe/react-spectrum/stories/menu/Submenu.stories.tsx:122
↓ 3 callersFunctiondynamicRenderFuncSections
(item: ItemNode)
packages/react-aria-components/stories/Autocomplete.stories.tsx:366
↓ 3 callersFunctiondynamicRenderFuncSections
(item: ItemNode)
packages/@adobe/react-spectrum/stories/menu/Submenu.stories.tsx:297
↓ 3 callersFunctionerrorToString
(err: unknown)
packages/dev/mcp/shared/src/utils.ts:22
↓ 3 callersMethodextendSelection
Extends the selection to the given key.
packages/react-stately/src/selection/types.ts:96
↓ 3 callersFunctionfetchText
(url: string, timeoutMs = 15000)
packages/dev/mcp/shared/src/utils.ts:52
↓ 3 callersFunctionfieldLabel
()
packages/@react-spectrum/s2/src/style-utils.ts:96
↓ 3 callersFunctionfilter
(item, text)
packages/react-stately/test/data/useListData.test.js:34
↓ 3 callersFunctionfilterFn
packages/react-aria/test/utils/shadowTreeWalker.test.tsx:61
↓ 3 callersMethodfindCheckbox
* Returns a checkbox matching the specified index or text content.
packages/@react-aria/test-utils/src/checkboxgroup.ts:57
↓ 3 callersMethodfindLineBoundary
Find a line boundary before or after a position.
packages/@react-spectrum/ai/src/TokenSegmentList.ts:259
↓ 3 callersMethodfindOption
* Returns a option matching the specified index or text content.
packages/@react-aria/test-utils/src/menu.ts:166
↓ 3 callersMethodfindPreviousKey
( fromKey?: Key, pred?: (item: Node<T>) => boolean, includeDisabled = false )
packages/react-aria/src/grid/GridKeyboardDelegate.ts:91
↓ 3 callersMethodfindRadio
* Returns a radio matching the specified index or text content.
packages/@react-aria/test-utils/src/radiogroup.ts:59
↓ 3 callersMethodfindRow
* Returns a row matching the specified index or text content.
packages/@react-aria/test-utils/src/table.ts:480
↓ 3 callersFunctionfireDropExit
(e: DragEvent)
packages/react-aria/src/dnd/useDrop.ts:136
↓ 3 callersFunctionfocus
()
packages/react-aria/src/grid/useGridCell.ts:94
↓ 3 callersFunctionfocusFirstInScope
(scope: Element[], tabbable: boolean = true)
packages/react-aria/src/focus/FocusScope.tsx:558
↓ 3 callersMethodfocusMain
Moves focus to the main landmark.
packages/react-aria/src/landmark/useLandmark.ts:80
↓ 3 callersMethodfocusPreviousPage
Moves focus to the previous page of dates, e.g. the previous month if one month is visible.
packages/react-stately/src/calendar/types.ts:128
↓ 3 callersMethodformat
Formats a localized string for the given key with the provided variables.
packages/@internationalized/string/src/LocalizedStringFormatter.ts:41
↓ 3 callersMethodformatRangeToParts
Formats a date range as an array of parts.
packages/@internationalized/date/src/DateFormatter.ts:60
↓ 3 callersMethodformatValue
Formats the current date value using the given options.
packages/react-stately/src/datepicker/useDateFieldState.ts:137
↓ 3 callersFunctiongenerateComboChunks
(opts: { states: Array<object>; exclude?: (merged: any) => boolean; numChunks: number; })
packages/@react-spectrum/s2/chromatic/utils.tsx:79
↓ 3 callersFunctiongenerateFrontmatter
(skillConfig)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:448
↓ 3 callersFunctiongenerateIcons
(iconDir, outputDir, nameRegex, template)
packages/@spectrum-icons/build-tools/generateIcons.js:29
↓ 3 callersFunctiongenerateName
(index: number)
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:477
↓ 3 callersFunctiongenerateName
(index: number, atStart = false)
packages/@react-spectrum/s2/style/style-macro.ts:790
↓ 3 callersFunctiongenerateRows
(count = 5)
packages/@adobe/react-spectrum/stories/table/TreeGridTable.stories.tsx:240
↓ 3 callersMethodgetAsFile
()
packages/react-aria/test/dnd/mocks.js:26
↓ 3 callersFunctiongetCacheDir
(options: PluginOptions)
packages/dev/parcel-transformer-storybook/react-docgen-typescript.ts:8
↓ 3 callersMethodgetColorSpaceAxes
* Returns the color space axes, xChannel, yChannel, zChannel.
packages/react-stately/src/color/types.ts:74
↓ 3 callersMethodgetCurrentYear
(year: number)
packages/@internationalized/date/tests/customCalendarImpl.ts:90
↓ 3 callersMethodgetData
(type)
packages/react-aria/test/dnd/mocks.js:125
↓ 3 callersMethodgetDatesInWeek
* Returns an array of dates in the week index counted from the provided start date, or the first * visible date if not given. The returned array al
packages/react-stately/src/calendar/types.ts:188
↓ 3 callersFunctiongetDaysInMonth
(year: number, month: number)
packages/@internationalized/date/src/calendars/HebrewCalendar.ts:94
↓ 3 callersFunctiongetDescription
()
packages/react-aria-components/test/TimeField.test.js:247
↓ 3 callersFunctiongetDescription
(index: number)
packages/@adobe/react-spectrum/stories/card/utils.ts:27
↓ 3 callersFunctiongetEraFormat
(date: CalendarDate | undefined)
packages/react-aria/src/calendar/utils.ts:41
↓ 3 callersFunctiongetFiles
(files: string[], type: string | undefined, npmDeps = {})
packages/dev/s2-docs/src/CodeBlock.tsx:280
↓ 3 callersMethodgetFirstKey
()
packages/react-aria/src/selection/ListKeyboardDelegate.ts:280
↓ 3 callersMethodgetFirstKey
(fromKey?: Key, global?: boolean)
packages/react-aria/src/grid/GridKeyboardDelegate.ts:315
↓ 3 callersMethodgetInputElement
()
packages/@react-spectrum/s2/src/TextField.tsx:59
↓ 3 callersFunctiongetItemCount
(collection: Collection<Node<T>>)
packages/react-stately/src/collections/getItemCount.ts:18
↓ 3 callersMethodgetItemProps
Returns the props for the given item.
packages/react-stately/src/selection/types.ts:123
↓ 3 callersMethodgetKeyForItemInRowByIndex
(key: Key, index: number = 0)
packages/react-aria/src/grid/GridKeyboardDelegate.ts:138
↓ 3 callersFunctiongetNextItem
( collection: Collection<Node<unknown>>, key: Key, getNextKey: (key: Key) => Key | null )
packages/react-aria/src/dnd/DropTargetKeyboardNavigation.ts:300
↓ 3 callersFunctiongetNextTarget
( target: DropTarget | null | undefined, wrap = true, key: 'left' | 'right' | 'up' | 'down'
packages/react-aria/src/dnd/useDroppableCollection.ts:422
↓ 3 callersFunctiongetNonce
(doc?: Document)
packages/react-aria/src/utils/getNonce.ts:37
↓ 3 callersFunctiongetNthItem
(iterable: Iterable<T>, index: number)
packages/react-stately/src/collections/getChildNodes.ts:32
↓ 3 callersFunctiongetNumberParserImpl
(locale: string, options: Intl.NumberFormatOptions, value: string)
packages/@internationalized/number/src/NumberParser.ts:76
↓ 3 callersFunctiongetOffset
( node: Element, ignoreScale: boolean, overrideRect?: Offset | null | undefined )
packages/react-aria/src/overlays/calculatePosition.ts:762
↓ 3 callersMethodgetOptions
* Returns the listbox options. Can be filtered to a subsection of the listbox if provided via * `element`.
packages/@react-aria/test-utils/src/listbox.ts:277
← previousnext →701–800 of 8,778, ranked by callers