MCPcopy Create free account

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

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

↓ 9 callersMethodgetKeyAfter
Get the key that comes after the given key in the collection.
packages/@react-types/shared/src/collections.d.ts:180
↓ 9 callersMethodgetRowGroups
* Returns the row groups within the table.
packages/@react-aria/test-utils/src/table.ts:528
↓ 9 callersFunctionisElementInScope
(element?: Element | null, scope?: Element[] | null)
packages/react-aria/src/focus/FocusScope.tsx:481
↓ 9 callersFunctionisInternalDropOperation
(ref?: RefObject<HTMLElement | null>)
packages/react-aria/src/dnd/utils.ts:411
↓ 9 callersFunctionisScrollable
(node: Element | null, checkForOverflow?: boolean)
packages/react-aria/src/utils/isScrollable.ts:13
↓ 9 callersFunctiononSelectionChange
packages/@adobe/react-spectrum/stories/combobox/ComboBox.stories.tsx:640
↓ 9 callersFunctionrender
(props, radioProps = [{}, {}, {}])
packages/@adobe/react-spectrum/chromatic/radio/Radio.stories.tsx:126
↓ 9 callersFunctionrender
(props = {})
packages/@adobe/react-spectrum/stories/provider/Provider.stories.tsx:225
↓ 9 callersFunctionrenderComponent
(Component, props)
packages/@adobe/react-spectrum/test/textfield/TextArea.test.js:21
↓ 9 callersMethodreplaceRangeWithSegments
Replace the text between two positions with new segments.
packages/@react-spectrum/ai/src/TokenSegmentList.ts:135
↓ 9 callersFunctionsetFocusedDate
(date)
packages/react-stately/src/calendar/useCalendarState.ts:312
↓ 9 callersMethodsetFocusedDate
Sets the focused date.
packages/react-stately/src/calendar/types.ts:116
↓ 9 callersFunctionsetSelectedKey
(key: Key)
packages/react-stately/src/steplist/useStepListState.ts:142
↓ 9 callersFunctionstart
()
packages/react-aria/src/interactions/useMove.ts:102
↓ 9 callersFunctionuseComboBoxState
( props: ComboBoxStateOptions<T, M> )
packages/react-stately/src/combobox/useComboBoxState.ts:194
↓ 9 callersFunctionuseOverlayTrigger
( props: OverlayTriggerProps, state: OverlayTriggerState, ref?: RefObject<Element | null> )
packages/react-aria/src/overlays/useOverlayTrigger.ts:37
↓ 9 callersFunctionuseTableState
(props: TableStateProps<T>)
packages/react-stately/src/table/useTableState.ts:116
↓ 9 callersFunctionuseTextField
( props: AriaTextFieldOptions<T>, ref: TextFieldRefObject<T> )
packages/react-aria/src/textfield/useTextField.ts:188
↓ 8 callersMethodfocusPrevious
Moves focus to the previous focusable or tabbable element in the focus scope.
packages/react-aria/src/focus/FocusScope.tsx:60
↓ 8 callersMethodformatRange
Formats a date range as a string.
packages/@internationalized/date/src/DateFormatter.ts:44
↓ 8 callersMethodfromJulianDay
Creates a CalendarDate in this calendar from the given Julian day number.
packages/@internationalized/date/src/types.ts:70
↓ 8 callersFunctiongetAltKey
()
packages/@react-aria/test-utils/src/utils.ts:42
↓ 8 callersMethodgetChannelName
* Returns a localized color channel name for a given channel and locale, * for use in visual or accessibility labels.
packages/react-stately/src/color/types.ts:58
↓ 8 callersMethodgetFile
Returns the contents of the file as a blob.
packages/@react-types/shared/src/dnd.d.ts:85
↓ 8 callersFunctiongetFormatOptions
( fieldOptions: FieldOptions, options: FormatterOptions )
packages/react-stately/src/datepicker/utils.ts:184
↓ 8 callersMethodgetRows
()
packages/react-aria-components/src/Table.tsx:162
↓ 8 callersMethodgetRows
* Returns the tree's rows if any.
packages/@react-aria/test-utils/src/tree.ts:271
↓ 8 callersFunctiongetScrollParent
(node: Element, checkForOverflow?: boolean)
packages/react-aria/src/utils/getScrollParent.ts:15
↓ 8 callersMethodgetStringForLocale
(key: string, locale: string)
packages/@internationalized/message/src/MessageDictionary.ts:34
↓ 8 callersMethodgetTree
* Returns the tree.
packages/@react-aria/test-utils/src/tree.ts:264
↓ 8 callersMethodinsert
* Inserts items into the list at the given index. * * @param index - The index to insert into. * @param values - The values to insert.
packages/react-stately/src/data/useListData.ts:64
↓ 8 callersMethodonBlur
(e: FocusEvent)
packages/react-aria/src/dnd/DragManager.ts:310
↓ 8 callersFunctionparseArgs
()
scripts/testDocs.js:7
↓ 8 callersFunctionrender
(props = {})
packages/@adobe/react-spectrum/chromatic/searchfield/SearchField.stories.tsx:104
↓ 8 callersFunctionrenderComponent
(props)
packages/@adobe/react-spectrum/test/color/ColorField.test.js:24
↓ 8 callersFunctionresolveComponentPath
(componentName, file, docsSource)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1360
↓ 8 callersMethodsetThumbDragging
* Set is dragging on the specified thumb. * * @param index * @param dragging
packages/react-stately/src/slider/useSliderState.ts:97
↓ 8 callersFunctionsetValue
(newValue: DateValue | IncompleteDate | null)
packages/react-stately/src/datepicker/useDateFieldState.ts:305
↓ 8 callersFunctiontoAbsolute
( date: CalendarDate | CalendarDateTime, timeZone: string, disambiguation: Disambiguation = 'compatible'
packages/@internationalized/date/src/conversion.ts:151
↓ 8 callersFunctionuseDOMRef
( ref: DOMRef<T> )
packages/@react-spectrum/ai/src/useDOMRef.ts:26
↓ 8 callersFunctionuseGridCell
( props: GridCellProps, state: GridState<T, C>, ref: RefObject<FocusableElement | null> )
packages/react-aria/src/grid/useGridCell.ts:75
↓ 8 callersFunctionuseIsMobileDevice
()
packages/@adobe/react-spectrum/src/utils/useIsMobileDevice.ts:17
↓ 8 callersFunctionuseTable
( props: AriaTableProps, state: TableState<T> | TreeGridState<T>, ref: RefObject<HTMLElement | null> )
packages/react-aria/src/table/useTable.ts:64
↓ 8 callersFunctionwrapper
({children})
packages/react-aria/test/searchfield/useSearchField.test.js:135
↓ 7 callersFunctionJoinList
({ elements, joiner, minIndent = 2, newlineBefore, neverIndent }: { elements: TType[]; joiner: s
packages/dev/s2-docs/src/types.tsx:433
↓ 7 callersFunctionaddComponentImport
(path: NodePath<t.Program>, newComponentName: string)
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/utils.ts:80
↓ 7 callersFunctionalignStart
( date: CalendarDate, duration: DateDuration, locale: string, minValue?: DateValue | null, maxValue?
packages/react-stately/src/calendar/utils.ts:54
↓ 7 callersMethodclear
(assertiveness: Assertiveness)
packages/react-aria/src/live-announcer/LiveAnnouncer.tsx:165
↓ 7 callersFunctioncreateBranchComponent
( CollectionNodeClass: CollectionNodeClass<any> | string, render: (props: P, ref: ForwardedRef<E>, node: N
packages/react-aria/src/collections/CollectionBuilder.tsx:243
↓ 7 callersFunctioncreateFocusManager
( ref: RefObject<Element | null>, defaultOptions: FocusManagerOptions = {} )
packages/react-aria/src/focus/FocusScope.tsx:899
↓ 7 callersFunctioncreateShadowRoot
(attachTo: HTMLElement = document.body)
packages/dev/test-utils/src/shadowDOM.ts:19
↓ 7 callersFunctionenableShadowDOM
()
packages/react-stately/src/flags/flags.ts:24
↓ 7 callersFunctionenableTableNestedRows
()
packages/react-stately/src/flags/flags.ts:16
↓ 7 callersFunctionepochFromDate
(date: AnyDateTime)
packages/@internationalized/date/src/conversion.ts:31
↓ 7 callersFunctionfocusElement
(element: FocusableElement | null, scroll = false)
packages/react-aria/src/focus/FocusScope.tsx:524
↓ 7 callersMethodformat
* Formats a number value as a string, according to the locale and options provided to the * constructor.
packages/@internationalized/number/src/NumberFormatter.ts:73
↓ 7 callersMethodgetChannelRange
* Returns the minimum, maximum, and step values for a given channel.
packages/react-stately/src/color/types.ts:53
↓ 7 callersMethodgetKeyBefore
Get the key that comes before the given key in the collection.
packages/@react-types/shared/src/collections.d.ts:177
↓ 7 callersMethodgetLayoutInfo
(key: Key)
packages/react-aria/src/table/useTable.ts:42
↓ 7 callersFunctiongetLibraryLabel
(library: Library)
packages/dev/s2-docs/src/library.tsx:21
↓ 7 callersMethodgetRadios
* Returns the radios.
packages/@react-aria/test-utils/src/radiogroup.ts:169
↓ 7 callersMethodgetSelectedRows
* Returns the tree's selected rows if any.
packages/@react-aria/test-utils/src/tree.ts:278
↓ 7 callersMethodgetTable
* Returns the table.
packages/@react-aria/test-utils/src/table.ts:521
↓ 7 callersMethodgetTabs
* Returns the tabs in the tablist.
packages/@react-aria/test-utils/src/tabs.ts:186
↓ 7 callersMethodgetTreeNode
(data: ScopeRef)
packages/react-aria/src/focus/FocusScope.tsx:1021
↓ 7 callersFunctionisDateUnavailable
packages/@adobe/react-spectrum/test/calendar/CalendarBase.test.js:415
↓ 7 callersMethodisDragging
Returns whether the given key is currently being dragged.
packages/react-stately/src/dnd/useDraggableCollectionState.ts:50
↓ 7 callersFunctionisFocusable
(element: Element, options?: {skipVisibilityCheck?: boolean})
packages/react-aria/src/utils/isFocusable.ts:39
↓ 7 callersFunctionisLeapYear
(year: number)
packages/@internationalized/date/src/calendars/GregorianCalendar.ts:48
↓ 7 callersFunctionkeyframes
(this: MacroContext | void, css: string)
packages/@react-spectrum/s2/style/style-macro.ts:1127
↓ 7 callersMethodlastChild
()
packages/react-aria/src/collections/Document.ts:66
↓ 7 callersMethodnavigate
Moves focus either forward or backward in the landmark sequence.
packages/react-aria/src/landmark/useLandmark.ts:82
↓ 7 callersFunctionrender
(props)
packages/@adobe/react-spectrum/stories/dialog/DialogTrigger.stories.tsx:793
↓ 7 callersFunctionrenderEmptyLoader
({isLoading, tableWidth = 400})
packages/react-aria-components/stories/Table.stories.tsx:859
↓ 7 callersFunctionrenderIconSizes
(Component, props)
packages/@spectrum-icons/workflow/stories/IconsWorkflow.stories.tsx:73
↓ 7 callersFunctionrenderSearchLandmark
(child)
packages/@adobe/react-spectrum/stories/searchfield/SearchField.stories.tsx:205
↓ 7 callersMethodreplaceRange
Replace the text between two positions with new text.
packages/@react-spectrum/ai/src/TokenSegmentList.ts:125
↓ 7 callersFunctionscrollIntoViewport
( targetElement: Element | null, opts: ScrollIntoViewportOpts = {} )
packages/react-aria/src/utils/scrollIntoView.ts:142
↓ 7 callersFunctionsetColorScheme
()
packages/@react-spectrum/s2/src/style-utils.ts:148
↓ 7 callersMethodsetCurrentDropTarget
(dropTarget: DropTarget | null, item?: DroppableItem)
packages/react-aria/src/dnd/DragManager.ts:547
↓ 7 callersMethodsetOpen
Sets whether the calendar popover is open.
packages/react-stately/src/datepicker/useDatePickerState.ts:74
↓ 7 callersFunctionsimulateMobile
(width: number = 700)
packages/@react-spectrum/test-utils/src/testSetup.ts:19
↓ 7 callersFunctionstaticColor
()
packages/@react-spectrum/s2/src/style-utils.ts:192
↓ 7 callersFunctiontest
(name: string, input: string)
packages/dev/codemods/src/s1-to-s2/__tests__/well.test.ts:5
↓ 7 callersFunctiontrack
()
packages/@react-spectrum/s2/src/bar-utils.ts:58
↓ 7 callersFunctiontriggerLongPress
(opts: { element: HTMLElement; advanceTimer: (time: number) => unknown | Promise<unknown>; pointerOpts?:
packages/@react-aria/test-utils/src/utils.ts:67
↓ 7 callersMethodtriggerRowAction
* Triggers the action for the specified tree row. Defaults to using the interaction type set on * the tree tester.
packages/@react-aria/test-utils/src/tree.ts:236
↓ 7 callersFunctionunwrapDOMRef
( ref: RefObject<DOMRefValue<T> | null> )
packages/@adobe/react-spectrum/src/utils/useDOMRef.ts:64
↓ 7 callersFunctionupdatePropName
( path: NodePath<t.JSXElement>, options: { /** Prop name to replace. */ oldPropName: string; /
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/transforms.ts:189
↓ 7 callersFunctionuseEnterAnimation
( ref: RefObject<HTMLElement | null>, isReady: boolean = true )
packages/react-aria/src/utils/animation.ts:17
↓ 7 callersFunctionuseFormValidation
( props: FormValidationProps<T>, state: FormValidationState, ref: RefObject<ValidatableElement | null> |
packages/react-aria/src/form/useFormValidation.ts:28
↓ 7 callersFunctionuseGrid
( props: GridProps, state: GridState<T, GridCollection<T>>, ref: RefObject<HTMLElement | null> )
packages/react-aria/src/grid/useGrid.ts:101
↓ 7 callersFunctionuseGridRow
( props: GridRowProps<T>, state: S, ref: RefObject<FocusableElement | null> )
packages/react-aria/src/grid/useGridRow.ts:56
↓ 7 callersFunctionuseGridState
( props: GridStateOptions<T, C> )
packages/react-stately/src/grid/useGridState.ts:40
↓ 7 callersFunctionuseInteractOutside
(props: InteractOutsideProps)
packages/react-aria/src/interactions/useInteractOutside.ts:37
↓ 7 callersFunctionuseLabel
(props: LabelAriaProps)
packages/react-aria/src/label/useLabel.ts:40
↓ 7 callersFunctionuseListBox
( props: AriaListBoxOptions<T>, state: ListState<T>, ref: RefObject<HTMLElement | null> )
packages/react-aria/src/listbox/useListBox.ts:130
↓ 7 callersFunctionuseOption
( props: AriaOptionProps, state: ListState<T>, ref: RefObject<FocusableElement | null> )
packages/react-aria/src/listbox/useOption.ts:101
↓ 7 callersFunctionuseRouter
()
packages/react-aria/src/utils/openLink.tsx:81
↓ 7 callersFunctionuseScale
()
packages/@react-spectrum/s2/src/utils.ts:21
← previousnext →301–400 of 8,778, ranked by callers