MCPcopy Create free account

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

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

↓ 4 callersMethodfirstChild
()
packages/react-aria/src/collections/Document.ts:57
↓ 4 callersFunctionfocusField
(locator: Locator)
packages/@react-spectrum/ai/test/utils/tokenFieldBrowserUtils.tsx:91
↓ 4 callersFunctionfromExtendedYear
(year: number)
packages/@internationalized/date/src/calendars/GregorianCalendar.ts:56
↓ 4 callersMethodgetCells
* Returns the tree's cells if any. Can be filtered against a specific row if provided via * `element`.
packages/@react-aria/test-utils/src/tree.ts:286
↓ 4 callersMethodgetChildren
(key: Key)
packages/react-aria-components/src/Table.tsx:357
↓ 4 callersMethodgetColorChannels
* Returns an array of the color channels within the current color space space.
packages/react-stately/src/color/types.ts:78
↓ 4 callersFunctiongetColorScale
( this: MacroContext | void, name: string, size: any = 20 )
packages/dev/s2-docs/src/color.macro.ts:7
↓ 4 callersMethodgetColumns
* Returns the columns within the table.
packages/@react-aria/test-utils/src/table.ts:536
↓ 4 callersMethodgetCurrentActivateButton
()
packages/react-aria/src/dnd/DragManager.ts:261
↓ 4 callersFunctiongetCustomSkillContent
(skillName)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:191
↓ 4 callersMethodgetDropTargetFromPoint
* Returns a drop target within a collection for the given x and y coordinates. The point is * provided relative to the top left corner of the colle
packages/@react-types/shared/src/dnd.d.ts:200
↓ 4 callersMethodgetEntries
Returns the entries contained within the directory.
packages/@react-types/shared/src/dnd.d.ts:96
↓ 4 callersMethodgetFormattableMonth
* Returns a date that is the first day of the month for the given date. * This is used to determine the month that the given date falls in, if *
packages/@internationalized/date/src/types.ts:105
↓ 4 callersMethodgetGridlist
* Returns the gridlist.
packages/@react-aria/test-utils/src/gridlist.ts:252
↓ 4 callersMethodgetKeyAbove
Returns the key visually above the given one, or `null` for none.
packages/@react-types/shared/src/collections.d.ts:111
↓ 4 callersMethodgetKeyBelow
Returns the key visually below the given one, or `null` for none.
packages/@react-types/shared/src/collections.d.ts:108
↓ 4 callersMethodgetLayoutInfo
(key: Key)
packages/@adobe/react-spectrum/src/card/BaseLayout.tsx:100
↓ 4 callersMethodgetNextKey
(startKey: Key)
packages/react-aria/src/tabs/TabsKeyboardDelegate.ts:81
↓ 4 callersFunctiongetPlaceholderTime
(placeholderValue: DateValue | null | undefined)
packages/react-stately/src/datepicker/utils.ts:231
↓ 4 callersMethodgetPreviousKey
(key: Key, options?: {includeDisabled?: boolean})
packages/react-aria/src/selection/ListKeyboardDelegate.ts:127
↓ 4 callersMethodgetPreviousKey
(startKey: Key)
packages/react-aria/src/tabs/TabsKeyboardDelegate.ts:92
↓ 4 callersFunctiongetRect
(node: Element, ignoreScale: boolean)
packages/react-aria/src/overlays/calculatePosition.ts:749
↓ 4 callersMethodgetSegmentLimits
( type: string )
packages/react-stately/src/datepicker/IncompleteDate.ts:270
↓ 4 callersMethodgetSelectedRadio
* Returns the currently selected radio in the radiogroup if any.
packages/@react-aria/test-utils/src/radiogroup.ts:176
↓ 4 callersFunctiongetSelection
(container: Element)
packages/@react-spectrum/ai/src/TokenField.tsx:575
↓ 4 callersFunctiongetTimeZoneOffset
(ms: number, timeZone: string)
packages/@internationalized/date/src/conversion.ts:62
↓ 4 callersMethodgetValuePercent
* Returns the value as a percent between the min and max of the slider. * * @param index
packages/react-stately/src/slider/useSliderState.ts:123
↓ 4 callersMethodgetVisibleRect
Returns the visible rectangle of the collection.
packages/@react-types/shared/src/collections.d.ts:152
↓ 4 callersFunctiongregorianToJulianDay
( era: string, year: number, month: number, day: number )
packages/@internationalized/date/src/calendars/GregorianCalendar.ts:21
↓ 4 callersFunctioninsert
(index: number, ...values: T[])
packages/react-stately/src/data/useListData.ts:246
↓ 4 callersMethodinsert
* Inserts an item into a parent node as a child. * * @param parentKey - The key of the parent item to insert into. `null` for the root. * @pa
packages/react-stately/src/data/useTreeData.ts:62
↓ 4 callersMethodisDisabled
(key: Key)
packages/react-aria/src/tabs/TabsKeyboardDelegate.ts:47
↓ 4 callersMethodisPersistedKey
Returns whether the given key, or an ancestor, is persisted.
packages/react-stately/src/virtualizer/Virtualizer.ts:91
↓ 4 callersMethodisReversed
(key: Key)
packages/react-aria/src/selection/ListKeyboardDelegate.ts:173
↓ 4 callersFunctionisSameMonth
(a: DateValue, b: DateValue)
packages/@internationalized/date/src/queries.ts:28
↓ 4 callersMethodisValid
(node: Node<T>, offset: number)
packages/react-stately/src/layout/ListLayout.ts:455
↓ 4 callersFunctionisValidEvent
(event, ref)
packages/react-aria/src/interactions/useInteractOutside.ts:120
↓ 4 callersFunctionitemProcessor
(items, acceptedDragTypes)
packages/@adobe/react-spectrum/stories/table/TableDnDUtilExamples.tsx:23
↓ 4 callersFunctionitemProcessor
(items, acceptedDragTypes)
packages/@adobe/react-spectrum/stories/list/ListViewDnDUtilExamples.tsx:15
↓ 4 callersFunctionmaxDate
( a?: A | null, b?: B | null )
packages/@internationalized/date/src/queries.ts:363
↓ 4 callersFunctionminDate
( a?: A | null, b?: B | null )
packages/@internationalized/date/src/queries.ts:351
↓ 4 callersFunctionmod
(amount: number, numerator: number)
packages/@internationalized/date/src/utils.ts:17
↓ 4 callersFunctionmove
(x, y)
packages/react-aria/src/dnd/useAutoScroll.ts:76
↓ 4 callersFunctiononAction
(item: (typeof items)[0], action: Key)
packages/dev/docs/pages/react-aria/home/ExampleApp.tsx:210
↓ 4 callersFunctiononChange
packages/@react-spectrum/s2/src/useMediaQuery.ts:28
↓ 4 callersFunctiononMove
(keys: Key[], target: ItemDropTarget)
packages/@adobe/react-spectrum/stories/table/TableDnDExamples.tsx:233
↓ 4 callersFunctiononMove
(keys: Key[], target: ItemDropTarget)
packages/@adobe/react-spectrum/stories/list/ListViewDnDExamples.tsx:102
↓ 4 callersFunctionparseAbsolute
(value: string, timeZone: string)
packages/@internationalized/date/src/string.ts:165
↓ 4 callersMethodqueueUpdate
()
packages/react-aria/src/collections/Document.ts:551
↓ 4 callersFunctionremoveComponentImportIfUnused
(path: NodePath<t.Program>, component: string)
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/utils.ts:150
↓ 4 callersFunctionrender
(children, scale: Scale = 'medium')
packages/@adobe/react-spectrum/test/table/TableSizing.test.tsx:75
↓ 4 callersFunctionrenderDropIndicator
(target)
packages/react-aria-components/stories/Table.stories.tsx:1008
↓ 4 callersFunctionrenderWithOptions
({width = 'auto', ...props})
packages/@adobe/react-spectrum/chromatic/dialog/Dialog.stories.tsx:731
↓ 4 callersFunctionrewriteMonopackageImports
(file, pkg, subpath)
scripts/migrateDeps.mjs:541
↓ 4 callersMethodselectDate
Selects the given date.
packages/react-stately/src/calendar/types.ts:155
↓ 4 callersMethodsetAnchorDate
Sets the anchor date that the user clicked on to begin range selection.
packages/react-stately/src/calendar/types.ts:219
↓ 4 callersFunctionsetDragging
(element: Element | null)
packages/react-aria/src/dnd/useDrag.ts:118
↓ 4 callersFunctionsetDropCollectionRef
(ref?: RefObject<HTMLElement | null>)
packages/react-aria/src/dnd/utils.ts:397
↓ 4 callersFunctionsetLinks
(links)
packages/dev/s2-docs/src/types.tsx:177
↓ 4 callersFunctionsetStyle
(element: HTMLElement, style: string, value: string)
packages/react-aria/src/overlays/usePreventScroll.ts:228
↓ 4 callersMethodsetVisibleRect
(rect: Rect)
packages/react-stately/src/virtualizer/types.ts:28
↓ 4 callersFunctionshortName
(key, value)
packages/@adobe/react-spectrum/chromatic/numberfield/NumberField.stories.tsx:76
↓ 4 callersMethodsort
* Triggers sorting for this column in the given direction.
packages/react-aria-components/src/Table.tsx:1135
↓ 4 callersFunctionstartDragging
(target: HTMLElement)
packages/react-aria/src/dnd/useDrag.ts:318
↓ 4 callersFunctiontitle
(page)
packages/dev/s2-docs/src/Nav.tsx:221
↓ 4 callersMethodtoCSSValue
(value: T)
packages/@react-spectrum/s2/style/types.ts:30
↓ 4 callersFunctiontoHourCycle
(hour: number, hourCycle: HourCycle)
packages/react-stately/src/datepicker/IncompleteDate.ts:370
↓ 4 callersMethodtoValue
* Converts the incomplete date to a full date value, using the provided value for any unset * fields.
packages/react-stately/src/datepicker/IncompleteDate.ts:235
↓ 4 callersMethodtoggleRowExpansion
* Toggles the expansion for the specified tree row. Defaults to using the interaction type set on * the tree tester.
packages/@react-aria/test-utils/src/tree.ts:197
↓ 4 callersFunctiontriggerChangeHandlers
(modality: Modality, e: HandlerEvent)
packages/react-aria/src/interactions/useFocusVisible.ts:64
↓ 4 callersMethodtriggerRadio
* Triggers the specified radio. Defaults to using the interaction type set on the radio tester.
packages/@react-aria/test-utils/src/radiogroup.ts:136
↓ 4 callersFunctionumalquraMonthLength
(year: number, month: number)
packages/@internationalized/date/src/calendars/IslamicCalendar.ts:135
↓ 4 callersFunctionupdateComponentWithinCollection
( path: NodePath<t.JSXElement>, options: { parentComponentName: string; newComponentName: string;
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/transforms.ts:488
↓ 4 callersMethodupdateValidation
* Updates the current validation result. Not displayed to the user until `commitValidation` is * called.
packages/react-stately/src/form/useFormValidationState.ts:69
↓ 4 callersFunctionuseActionBarContainer
( props: ActionBarContainerHookProps )
packages/@react-spectrum/s2/src/ActionBar.tsx:249
↓ 4 callersFunctionuseCachedChildren
(props: CachedChildrenOptions<T>)
packages/react-aria/src/collections/useCachedChildren.ts:33
↓ 4 callersFunctionuseCalendar
( props: AriaCalendarProps<T, M>, state: CalendarState<M> )
packages/react-aria/src/calendar/useCalendar.ts:29
↓ 4 callersFunctionuseCalendarGrid
( props: AriaCalendarGridProps, state: CalendarState<CalendarSelectionMode> | RangeCalendarState )
packages/react-aria/src/calendar/useCalendarGrid.ts:69
↓ 4 callersFunctionuseCheckboxGroupState
(props: CheckboxGroupProps = {})
packages/react-stately/src/checkbox/useCheckboxGroupState.ts:91
↓ 4 callersFunctionuseCollection
( props: CollectionOptions<T, C>, factory: CollectionFactory<T, C>, context?: unknown )
packages/react-stately/src/collections/useCollection.ts:30
↓ 4 callersFunctionuseColorFieldState
(props: ColorFieldProps)
packages/react-stately/src/color/useColorFieldState.ts:88
↓ 4 callersFunctionuseDisclosureState
(props: DisclosureProps)
packages/react-stately/src/disclosure/useDisclosureState.ts:42
↓ 4 callersFunctionuseDndPersistedKeys
( selectionManager: MultipleSelectionManager, dragAndDropHooks?: DragAndDropHooks, dropState?: Droppable
packages/react-aria-components/src/DragAndDrop.tsx:101
↓ 4 callersFunctionuseDraggableCollection
( props: DraggableCollectionOptions, state: DraggableCollectionState, ref: RefObject<HTMLElement | null>
packages/react-aria/src/dnd/useDraggableCollection.ts:23
↓ 4 callersFunctionuseDraggableItem
( props: DraggableItemProps, state: DraggableCollectionState )
packages/react-aria/src/dnd/useDraggableItem.ts:71
↓ 4 callersFunctionuseFocusManager
()
packages/react-aria/src/focus/FocusScope.tsx:216
↓ 4 callersFunctionuseFocusManagerRef
( ref: FocusableRef<HTMLElement> )
packages/@adobe/react-spectrum/src/datepicker/utils.tsx:81
↓ 4 callersFunctionuseFormattedDateWidth
(state: { getDateFormatter: (locale: string, formatOptions: FormatterOptions) => DateFormatter; })
packages/@adobe/react-spectrum/src/datepicker/utils.tsx:94
↓ 4 callersFunctionuseGridList
( props: AriaGridListOptions<T>, state: ListState<T>, ref: RefObject<HTMLElement | null> )
packages/react-aria/src/gridlist/useGridList.ts:132
↓ 4 callersFunctionuseGridListItem
( props: AriaGridListItemOptions, state: ListState<T> | TreeState<T>, ref: RefObject<FocusableElement |
packages/react-aria/src/gridlist/useGridListItem.ts:91
↓ 4 callersFunctionuseHasChild
(query: string, ref: RefObject<HTMLElement | null>)
packages/@adobe/react-spectrum/src/utils/useHasChild.ts:17
↓ 4 callersFunctionuseHasTabbableChild
( ref: RefObject<Element | null>, options?: AriaHasTabbableChildOptions )
packages/react-aria/src/focus/useHasTabbableChild.ts:32
↓ 4 callersFunctionuseLink
(props: AriaLinkOptions, ref: RefObject<FocusableElement | null>)
packages/react-aria/src/link/useLink.ts:56
↓ 4 callersFunctionuseLinkProps
(props?: LinkDOMProps)
packages/react-aria/src/utils/openLink.tsx:200
↓ 4 callersFunctionuseListFormatter
(options: Intl.ListFormatOptions = {})
packages/react-aria/src/i18n/useListFormatter.tsx:22
↓ 4 callersFunctionuseLoadMoreSentinel
( props: LoadMoreSentinelProps, ref: RefObject<HTMLElement | null> )
packages/react-aria/src/utils/useLoadMoreSentinel.ts:33
↓ 4 callersFunctionuseLongPress
(props: LongPressProps)
packages/react-aria/src/interactions/useLongPress.ts:61
↓ 4 callersFunctionuseMediaQuery
(query: string)
packages/@adobe/react-spectrum/src/utils/useMediaQuery.ts:16
↓ 4 callersFunctionuseNumberField
( props: AriaNumberFieldProps, state: NumberFieldState, inputRef: RefObject<HTMLInputElement | null> )
packages/react-aria/src/numberfield/useNumberField.ts:94
↓ 4 callersFunctionusePreventScroll
(options: PreventScrollOptions = {})
packages/react-aria/src/overlays/usePreventScroll.ts:39
← previousnext →601–700 of 8,778, ranked by callers