MCPcopy Create free account

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

Functions9,173 in github.com/adobe/react-spectrum

↓ 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 callersFunctionuseComboBox
( props: AriaComboBoxOptions<T, M>, state: ComboBoxState<T, M> )
packages/react-aria/src/combobox/useComboBox.ts:124
↓ 7 callersFunctionuseDateFieldState
( props: DateFieldStateOptions<T> )
packages/react-stately/src/datepicker/useDateFieldState.ts:194
↓ 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:108
↓ 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 callersFunctionuseInteractionModality
()
packages/react-aria/src/interactions/useFocusVisible.ts:314
↓ 7 callersFunctionuseLabel
(props: LabelAriaProps)
packages/react-aria/src/label/useLabel.ts:40
↓ 7 callersFunctionuseMenuTrigger
( props: AriaMenuTriggerProps, state: MenuTriggerState, ref: RefObject<Element | null> )
packages/react-aria/src/menu/useMenuTrigger.ts:53
↓ 7 callersFunctionuseMenuTriggerState
(props: MenuTriggerProps)
packages/react-stately/src/menu/useMenuTriggerState.ts:65
↓ 7 callersFunctionuseOverlayPosition
(props: AriaPositionProps)
packages/react-aria/src/overlays/useOverlayPosition.ts:178
↓ 7 callersFunctionuseRouter
()
packages/react-aria/src/utils/openLink.tsx:81
↓ 7 callersFunctionuseSettings
()
packages/dev/s2-docs/src/SettingsContext.tsx:19
↓ 7 callersFunctionuseTableHeaderRow
( props: GridRowProps<T>, state: TableState<T>, // eslint-disable-next-line @typescript-eslint/no-unused
packages/react-aria/src/table/useTableHeaderRow.ts:28
↓ 7 callersFunctionuseTableRow
( props: GridRowProps<T>, state: TableState<T> | TreeGridState<T>, ref: RefObject<FocusableElement | nul
packages/react-aria/src/table/useTableRow.ts:50
↓ 7 callersFunctionuseTooltipTriggerState
(props: TooltipTriggerProps = {})
packages/react-stately/src/tooltip/useTooltipTriggerState.ts:85
↓ 7 callersFunctionuseValueEffect
(defaultValue: S | (() => S))
packages/react-aria/src/utils/useValueEffect.ts:22
↓ 6 callersMethodaddDescendants
(node: CollectionNode<T>, oldCollection: BaseCollection<T>)
packages/react-aria/src/collections/BaseCollection.ts:287
↓ 6 callersMethodbuildChild
(node: Node<T>, x: number, y: number, parentKey: Key | null)
packages/react-stately/src/layout/ListLayout.ts:466
↓ 6 callersMethodcancelEvent
(e: Event)
packages/react-aria/src/dnd/DragManager.ts:373
↓ 6 callersFunctioncolorSwatch
( this: MacroContext | void, color: string, type = 'backgroundColor', size: any = 20 )
packages/dev/s2-docs/src/color.macro.ts:18
↓ 6 callersMethodcommit
Selects the currently focused item and updates the input value.
packages/react-stately/src/combobox/useComboBoxState.ts:162
↓ 6 callersFunctionconstrain
(date: Mutable<AnyCalendarDate>)
packages/@internationalized/date/src/manipulation.ts:150
↓ 6 callersFunctionconstrainValue
( date: CalendarDate, minValue?: DateValue | null, maxValue?: DateValue | null )
packages/react-stately/src/calendar/utils.ts:122
↓ 6 callersFunctioncontrolBorderRadius
(size: 'default' | 'sm' = 'default')
packages/@react-spectrum/s2/src/style-utils.ts:241
↓ 6 callersFunctioncreateDOMRef
( ref: RefObject<T | null> )
packages/@adobe/react-spectrum/src/utils/useDOMRef.ts:23
↓ 6 callersFunctioncreateFocusableRef
( domRef: RefObject<D | null>, focusableRef?: RefObject<T | null> )
packages/@react-spectrum/s2/src/useDOMRef.ts:26
↓ 6 callersMethoddispose
* Disposes the landmark controller. When no landmarks are registered, and no * controllers are active, the landmark keyboard listeners are removed
packages/react-aria/src/landmark/useLandmark.ts:87
↓ 6 callersFunctionendOfMonth
(date: DateValue)
packages/@internationalized/date/src/queries.ts:180
↓ 6 callersMethodfindNextNonDisabled
( key: Key | null, getNext: (key: Key) => Key | null, includeDisabled = false )
packages/react-aria/src/selection/ListKeyboardDelegate.ts:99
↓ 6 callersMethodfocusFirst
Moves focus to the first focusable or tabbable element in the focus scope.
packages/react-aria/src/focus/FocusScope.tsx:62
↓ 6 callersFunctiongenerateArbitraryValueSelector
(v: string, atStart = false)
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:497
↓ 6 callersFunctiongenerateArbitraryValueSelector
(v: string, atStart = false)
packages/@react-spectrum/s2/style/style-macro.ts:816
↓ 6 callersFunctiongetCacheKey
(name, file)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1271
↓ 6 callersMethodgetCheckboxes
* Returns the checkboxes.
packages/@react-aria/test-utils/src/checkboxgroup.ts:152
↓ 6 callersMethodgetChildren
(key: Key)
packages/react-aria-components/src/TreeDropTargetDelegate.ts:13
↓ 6 callersFunctiongetDayOfWeek
(date: DateValue, locale: string, firstDayOfWeek?: DayOfWeek)
packages/@internationalized/date/src/queries.ts:89
↓ 6 callersMethodgetEras
Returns a list of era identifiers for the calendar.
packages/@internationalized/date/src/types.ts:81
↓ 6 callersMethodgetGlobalDictionaryForPackage
(packageName: string)
packages/@internationalized/string/src/LocalizedStringDictionary.ts:66
↓ 6 callersMethodgetMonthsInYear
Returns the number of months in the year of the given date.
packages/@internationalized/date/src/types.ts:77
↓ 6 callersFunctiongetScopeRoot
(scope: Element[])
packages/react-aria/src/focus/FocusScope.tsx:286
↓ 6 callersMethodgetThumbMinValue
* Returns the min allowed value for the specified thumb. * * @param index
packages/react-stately/src/slider/useSliderState.ts:144
↓ 6 callersMethodgetThumbValueLabel
* Returns the string label for the specified thumb's value, per props.formatOptions. * * @param index
packages/react-stately/src/slider/useSliderState.ts:130
↓ 6 callersFunctiongetTypes
(items: DragItem[])
packages/react-aria/src/dnd/utils.ts:57
↓ 6 callersMethodisCell
(node: Node<T>)
packages/react-aria/src/grid/GridKeyboardDelegate.ts:75
↓ 6 callersFunctionisElementInChildScope
(element: Element, scope: ScopeRef = null)
packages/react-aria/src/focus/FocusScope.tsx:492
↓ 6 callersFunctionisEqualCalendar
(a: Calendar, b: Calendar)
packages/@internationalized/date/src/queries.ts:63
↓ 6 callersMethodisValidPartialNumber
* Returns whether the given string could potentially be a valid number. This should be used to * validate user input as the user types. If a `minVa
packages/@internationalized/number/src/NumberParser.ts:57
↓ 6 callersFunctionisWeekend
(date: DateValue, locale: string)
packages/@internationalized/date/src/queries.ts:395
↓ 6 callersMethodmove
(x: number, y: number)
packages/react-aria/src/dnd/useAutoScroll.ts:23
↓ 6 callersMethodmove
* Moves an item within the list. * * @param key - The key of the item to move. * @param toIndex - The index to move the item to.
packages/react-stately/src/data/useListData.ts:115
↓ 6 callersFunctionnormalizeColor
(v: string | IColor)
packages/react-stately/src/color/Color.ts:38
↓ 6 callersMethodof
(field: Field)
packages/react-aria/src/datepicker/useDisplayNames.ts:21
↓ 6 callersFunctiononAction
packages/@adobe/react-spectrum/stories/list/ListViewSelection.stories.tsx:195
↓ 6 callersMethodonFocus
(e: FocusEvent)
packages/react-aria/src/dnd/DragManager.ts:269
↓ 6 callersFunctionparseTime
(value: string)
packages/@internationalized/date/src/string.ts:42
↓ 6 callersFunctionpreloadSearchMenu
()
packages/dev/s2-docs/src/SearchMenuTrigger.tsx:14
↓ 6 callersFunctionrender
(children, scale = 'medium' as Scale, locale = 'en-US')
packages/@adobe/react-spectrum/test/menu/SubMenuTrigger.test.tsx:34
↓ 6 callersFunctionrender
(children, locale = 'en-US', scale = 'medium')
packages/@adobe/react-spectrum/test/list/ListView.test.js:114
↓ 6 callersFunctionrender
(props: Omit<SpectrumButtonGroupProps, 'children'>)
packages/@adobe/react-spectrum/chromatic/buttongroup/ButtonGroup.stories.tsx:63
↓ 6 callersFunctionrenderIconSizes
(Component, props)
packages/@spectrum-icons/express/stories/IconsExpress.stories.tsx:65
↓ 6 callersFunctionrenderNoLabel
(props: any = {})
packages/@adobe/react-spectrum/stories/numberfield/NumberField.stories.tsx:444
↓ 6 callersFunctionrenderPopover
(props, withMargin = true)
packages/@adobe/react-spectrum/stories/dialog/DialogTrigger.stories.tsx:870
↓ 6 callersFunctionrenderSearchLandmark
(child)
packages/@adobe/react-spectrum/chromatic/searchfield/SearchField.stories.tsx:100
↓ 6 callersMethodreplaceSelection
Replaces the selection with only the given key.
packages/react-stately/src/selection/types.ts:100
↓ 6 callersMethodresolvedOptions
Returns the resolved formatting options based on the values passed to the constructor.
packages/@internationalized/number/src/NumberFormatter.ts:133
↓ 6 callersMethodsetFilterText
Sets the filter text.
packages/react-stately/src/data/useListData.ts:49
↓ 6 callersFunctionsetSelected
(isSelected)
packages/react-aria/src/button/useToggleButtonGroup.ts:124
↓ 6 callersMethodsetSelectedKeys
Sets the selected keys in the collection.
packages/react-stately/src/selection/types.ts:63
↓ 6 callersFunctionsetTime
( value: Time | CalendarDateTime, fields: TimeFields )
packages/@internationalized/date/src/manipulation.ts:209
↓ 6 callersFunctionsetupIntersectionObserverMock
({ disconnect = () => null, observe = () => null, takeRecords = () => [], unobserve = () => null }: {
packages/dev/test-utils/src/mockIntersectionObserver.ts:17
↓ 6 callersFunctionshadowDOM
()
packages/react-stately/src/flags/flags.ts:28
↓ 6 callersMethodsort
* Triggers sorting for this column in the given direction.
packages/react-aria-components/src/Table.tsx:1145
↓ 6 callersFunctiontoFixedNumber
(value: number, digits: number, base: number = 10)
packages/react-stately/src/utils/number.ts:76
↓ 6 callersMethodtoHexInt
Converts the color to hex, and returns an integer representation.
packages/react-stately/src/color/types.ts:39
↓ 6 callersMethodtriggerCallback
(entries: any[])
packages/dev/test-utils/src/mockIntersectionObserver.ts:55
↓ 6 callersFunctionupdateTree
( items: TreeNode<T>[], key: Key | null, update: (node: TreeNode<T>) => TreeNode<T> | null, or
packages/react-stately/src/data/useTreeData.ts:192
↓ 6 callersFunctionuseCalendarGrid
( props: AriaCalendarGridProps, state: CalendarState<CalendarSelectionMode> | RangeCalendarState )
packages/react-aria/src/calendar/useCalendarGrid.ts:70
↓ 6 callersFunctionuseCalendarState
(props: CalendarStateOptions<T, M>)
packages/react-stately/src/calendar/useCalendarState.ts:102
↓ 6 callersFunctionuseCardViewContext
()
packages/@adobe/react-spectrum/src/card/CardViewContext.tsx:25
↓ 6 callersFunctionuseDateField
( props: AriaDateFieldOptions<T>, state: DateFieldState, ref: RefObject<Element | null> )
packages/react-aria/src/datepicker/useDateField.ts:89
↓ 6 callersFunctionuseDraggableCollectionState
( props: DraggableCollectionStateOptions<T> )
packages/react-stately/src/dnd/useDraggableCollectionState.ts:73
↓ 6 callersFunctionuseDrop
(options: DropOptions)
packages/react-aria/src/dnd/useDrop.ts:104
↓ 6 callersFunctionuseDroppableCollection
( props: DroppableCollectionOptions, state: DroppableCollectionState, ref: RefObject<HTMLElement | null>
packages/react-aria/src/dnd/useDroppableCollection.ts:76
↓ 6 callersFunctionuseDroppableCollectionState
( props: DroppableCollectionStateOptions )
packages/react-stately/src/dnd/useDroppableCollectionState.ts:66
↓ 6 callersFunctionuseExitAnimation
(ref: RefObject<HTMLElement | null>, isOpen: boolean)
packages/react-aria/src/utils/animation.ts:48
↓ 6 callersFunctionuseIntersectionObserver
( ref: RefObject<HTMLElement | null>, onIntersect: () => Function | void )
packages/dev/s2-docs/pages/react-aria/home/utils.ts:78
↓ 6 callersFunctionuseIsSkeleton
()
packages/@react-spectrum/s2/src/Skeleton.tsx:72
↓ 6 callersFunctionuseListBoxLayout
()
packages/@adobe/react-spectrum/src/listbox/ListBoxBase.tsx:73
↓ 6 callersFunctionuseLongPress
(props: LongPressProps)
packages/react-aria/src/interactions/useLongPress.ts:63
↓ 6 callersFunctionuseMenu
( props: AriaMenuOptions<T>, state: TreeState<T>, ref: RefObject<HTMLElement | null> )
packages/react-aria/src/menu/useMenu.ts:81
↓ 6 callersFunctionuseMenuItem
( props: AriaMenuItemProps, state: TreeState<T>, ref: RefObject<FocusableElement | null> )
packages/react-aria/src/menu/useMenuItem.ts:142
↓ 6 callersFunctionuseModalOverlay
( props: AriaModalOverlayProps, state: OverlayTriggerState, ref: RefObject<HTMLElement | null> )
packages/react-aria/src/overlays/useModalOverlay.ts:51
← previousnext →401–500 of 9,173, ranked by callers