MCPcopy Create free account

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

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

↓ 3 callersFunctionmatchMimeType
(mimeType: string, acceptedMimeTypes: string[])
packages/@react-spectrum/ai/src/PromptField.tsx:171
↓ 3 callersFunctionmergeIds
(idA: string, idB: string)
packages/react-aria/src/utils/useId.ts:109
↓ 3 callersFunctionmergeValidation
(...results: ValidationResult[])
packages/react-stately/src/form/useFormValidationState.ts:276
↓ 3 callersFunctionmod
(n: number, m: number)
packages/react-stately/src/color/useColorWheelState.ts:81
↓ 3 callersFunctionmoveVirtualFocus
(to: Element | null)
packages/react-aria/src/focus/virtualFocus.ts:4
↓ 3 callersFunctionnavigateCaret
(textbox: Locator, list: TokenFieldValue, target: Position)
packages/react-aria-components/test/utils/tokenFieldBrowserUtils.tsx:128
↓ 3 callersFunctionnextValidTarget
( target: DropTarget | null | undefined, types: Set<string>, allowedDropOperations: DropOper
packages/react-aria/src/dnd/useDroppableCollection.ts:443
↓ 3 callersFunctionnow
(timeZone: string)
packages/@internationalized/date/src/queries.ts:104
↓ 3 callersFunctiononChange
(isSelected)
packages/react-aria-components/src/ToggleButton.tsx:89
↓ 3 callersFunctiononChangeEnd
(v)
packages/react-stately/src/color/useColorSliderState.ts:98
↓ 3 callersFunctiononDownTrack
( e: React.UIEvent, id: number | undefined, clientX: number, clientY: number )
packages/react-aria/src/slider/useSlider.ts:118
↓ 3 callersFunctiononPressChange
(isPressed: boolean)
packages/react-aria/src/menu/useMenuItem.ts:234
↓ 3 callersFunctiononResize
()
packages/@adobe/react-spectrum/src/datepicker/utils.tsx:59
↓ 3 callersFunctiononSelect
(e: PressEvent | LongPressEvent | PointerEvent)
packages/react-aria/src/selection/useSelectableItem.ts:145
↓ 3 callersFunctiononSubmit
packages/@adobe/react-spectrum/stories/form/Form.stories.tsx:925
↓ 3 callersFunctionopenLink
(target: HTMLAnchorElement, modifiers: Modifiers, setOpening = true)
packages/react-aria/src/utils/openLink.tsx:106
↓ 3 callersFunctionparse
()
scripts/migrateDeps.mjs:550
↓ 3 callersFunctionparseArgs
()
packages/dev/s2-docs/scripts/testAccessibility.mjs:103
↓ 3 callersFunctionparseStaticWidth
(width: number | string, tableWidth: number)
packages/react-stately/src/table/TableUtils.ts:39
↓ 3 callersFunctionpositionsEqual
(a: Position, b: Position)
packages/react-aria-components/test/utils/tokenFieldBrowserUtils.tsx:62
↓ 3 callersFunctionprocessAsset
(asset)
packages/dev/parcel-packager-docs/DocsPackager.js:37
↓ 3 callersFunctionprocessExport
(path, node = {})
packages/dev/parcel-transformer-docs/DocsTransformer.js:758
↓ 3 callersFunctionprocessIncomingItems
packages/react-aria-components/stories/Tree.stories.tsx:1475
↓ 3 callersFunctionprocessIncomingItems
packages/@react-spectrum/s2/stories/TreeView.stories.tsx:1141
↓ 3 callersFunctionprose
(this: MacroContext | void)
packages/@react-spectrum/ai/src/style/prose.ts:43
↓ 3 callersMethodreload
Reloads the data in the list.
packages/react-stately/src/data/useAsyncList.ts:116
↓ 3 callersMethodremoveChild
(child: ElementNode<T>)
packages/react-aria/src/collections/Document.ts:185
↓ 3 callersFunctionremoveVisible
(isNotResponsive = false)
packages/dev/docs/src/client.js:107
↓ 3 callersFunctionrender
(props)
packages/@adobe/react-spectrum/stories/calendar/RangeCalendar.stories.tsx:183
↓ 3 callersFunctionrenderCompletions
(filterValue: string, callbacks?: CompletionCallbacks)
packages/@react-spectrum/ai/stories/PromptField.stories.tsx:182
↓ 3 callersFunctionrenderEmptyState
({isLoading})
packages/react-aria-components/stories/GridList.stories.tsx:586
↓ 3 callersFunctionrenderLabelPositions
(props, radioProps = [{}, {}, {}])
packages/@adobe/react-spectrum/chromatic/radio/Radio.stories.tsx:142
↓ 3 callersFunctionrenderVertical
(props = {})
packages/@adobe/react-spectrum/stories/divider/Divider.stories.tsx:73
↓ 3 callersFunctionrenderWithForm
({width = 'auto', ...props})
packages/@adobe/react-spectrum/chromatic/dialog/Dialog.stories.tsx:480
↓ 3 callersFunctionrenderWithThreeButtons
({width = 'auto', ...props})
packages/@adobe/react-spectrum/chromatic/dialog/Dialog.stories.tsx:625
↓ 3 callersFunctionrenderWrapper
( parent: View | null, reusableView: View, renderDropIndicator?: (target: ItemDropTarget) => ReactNode,
packages/react-aria-components/src/Virtualizer.tsx:177
↓ 3 callersMethodreplaceSelection
* Replaces the selection with only the given key.
packages/react-stately/src/selection/SelectionManager.ts:361
↓ 3 callersFunctionresizingTests
( render: any, rerender: any, Table: any, ControlledTable: any, resizeCol: any, resizeTable: any )
packages/react-aria/test/table/tableResizingTests.tsx:39
↓ 3 callersMethodresumeAll
Resumes the timers for all visible toasts.
packages/react-stately/src/toast/useToastState.ts:51
↓ 3 callersFunctionroundToStep
(value: number, step: number)
packages/react-stately/src/color/useColorWheelState.ts:77
↓ 3 callersFunctionrunAfterTransition
(fn: () => void)
packages/react-aria/src/utils/runAfterTransition.ts:112
↓ 3 callersMethodselect
* Toggles, replaces, or extends selection to the given key depending * on the pointer event and collection's selection mode.
packages/react-stately/src/selection/types.ts:113
↓ 3 callersFunctionset
( date: CalendarDate | CalendarDateTime, fields: DateFields )
packages/@internationalized/date/src/manipulation.ts:181
↓ 3 callersFunctionsetColorScheme
()
packages/dev/s2-docs/pages/s2/home/ExampleApp.tsx:227
↓ 3 callersFunctionsetCursor
(root: Element, pos: Position, fireEvent = false)
packages/react-aria/src/tokenfield/useTokenField.ts:668
↓ 3 callersFunctionsetDate
(part, date)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:264
↓ 3 callersFunctionsetFocusedKey
(k, childFocusStrategy = 'first')
packages/react-stately/src/selection/useMultipleSelectionState.ts:132
↓ 3 callersFunctionsetGlobalAllowedDropOperations
(o: DROP_OPERATION)
packages/react-aria/src/dnd/utils.ts:426
↓ 3 callersFunctionsetGlobalDropEffect
(dropEffect: DropEffect | undefined)
packages/react-aria/src/dnd/utils.ts:421
↓ 3 callersFunctionsetHue
(v: number)
packages/react-stately/src/color/useColorWheelState.ts:155
↓ 3 callersMethodsetSegment
Sets the value of the given segment.
packages/react-stately/src/datepicker/useDateFieldState.ts:130
↓ 3 callersFunctionsetSelected
(key, isSelected)
packages/react-stately/src/toggle/useToggleGroupState.ts:94
↓ 3 callersMethodsetSelected
Updates selection state.
packages/react-stately/src/toggle/useToggleState.ts:52
↓ 3 callersMethodsetSelectedValue
Sets the selected value.
packages/react-stately/src/radio/useRadioGroupState.ts:80
↓ 3 callersMethodsetThumbValue
* Sets the value for the specified thumb. * The actual value set will be clamped and rounded according to min/max/step. * * @param index *
packages/react-stately/src/slider/useSliderState.ts:75
↓ 3 callersFunctionsetValue
(value)
packages/react-stately/src/checkbox/useCheckboxGroupState.ts:111
↓ 3 callersFunctionsetValue
(newValue: CalendarDate | CalendarDate[] | null)
packages/react-stately/src/calendar/useCalendarState.ts:251
↓ 3 callersFunctionsetValue
(newValue: RangeValue<DateValue | null> | null)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:130
↓ 3 callersFunctionsetupGlobalFocusEvents
* Setup global event listeners to control when keyboard focus style should be visible.
packages/react-aria/src/interactions/useFocusVisible.ts:153
↓ 3 callersFunctionshiftArgs
(args: any[])
packages/@internationalized/date/src/CalendarDate.ts:51
↓ 3 callersFunctionshortName
(key, value)
packages/@adobe/react-spectrum/chromatic/color/ColorField.stories.tsx:44
↓ 3 callersFunctionshouldCloseOnInteractOutside
packages/react-aria/src/menu/useSubmenuTrigger.ts:274
↓ 3 callersFunctionshouldContainFocus
(scopeRef: ScopeRef)
packages/react-aria/src/focus/FocusScope.tsx:290
↓ 3 callersFunctionshouldOmitSymbol
(sym)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1520
↓ 3 callersMethodsort
Triggers sorting for the list.
packages/react-stately/src/data/useAsyncList.ts:120
↓ 3 callersFunctionstartOfYear
(date: DateValue)
packages/@internationalized/date/src/queries.ts:189
↓ 3 callersFunctionstartOfYear
(year: number)
packages/@internationalized/date/src/calendars/HebrewCalendar.ts:69
↓ 3 callersMethodstartResize
* Starts column resizing if the table is contained in a `<ResizableTableContainer>` element.
packages/react-aria-components/src/Table.tsx:1149
↓ 3 callersFunctionstartServer
()
scripts/testDocs.js:19
↓ 3 callersFunctionstop
(gray: string, stop: string, opacity: string)
packages/@react-spectrum/ai/src/tokens.macro.ts:115
↓ 3 callersMethodtoCSS
(rulesByLayer: Map<string, string[]>, preludes?: string[], layer?: string)
packages/@react-spectrum/s2/style/style-macro.ts:858
↓ 3 callersFunctiontoDate
( dateTime: CalendarDate | CalendarDateTime, timeZone: string, disambiguation: Disambiguation = 'compati
packages/@internationalized/date/src/conversion.ts:215
↓ 3 callersFunctiontoGregorian
(date: AnyCalendarDate)
packages/@internationalized/date/src/calendars/JapaneseCalendar.ts:65
↓ 3 callersMethodtoJS
(allowedOverridesSet: Set<string>, indent?: string)
packages/@react-spectrum/s2/style/style-macro.ts:859
↓ 3 callersFunctiontoTime
(dateTime: CalendarDateTime | ZonedDateTime)
packages/@internationalized/date/src/conversion.ts:333
↓ 3 callersFunctiontoTimeZone
(date: ZonedDateTime, timeZone: string)
packages/@internationalized/date/src/conversion.ts:381
↓ 3 callersMethodtoggleCheckbox
* Toggles the specified checkbox. Defaults to using the interaction type set on the checkbox * tester.
packages/@react-aria/test-utils/src/checkboxgroup.ts:119
↓ 3 callersMethodtoggleSelectAll
Toggles between select all and an empty selection.
packages/react-stately/src/selection/types.ts:108
↓ 3 callersMethodtoggleSort
* Toggles the sort order for the specified table column. Defaults to using the interaction type * set on the table tester.
packages/@react-aria/test-utils/src/table.ts:248
↓ 3 callersMethodtokenize
(text: string)
packages/react-aria-components/stories/TokenField.stories.tsx:247
↓ 3 callersMethodtriggerTab
* Triggers the specified tab. Defaults to using the interaction type set on the tabs tester.
packages/@react-aria/test-utils/src/tabs.ts:129
↓ 3 callersFunctiontriggerTouch
(element: HTMLElement, opts: PointerEventInit = {})
packages/dev/test-utils/src/events.ts:16
↓ 3 callersFunctionunitDuration
(duration: DateDuration)
packages/react-stately/src/calendar/useCalendarState.ts:519
↓ 3 callersFunctionupdateKeyToId
(path: NodePath<t.JSXElement>)
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/transforms.ts:941
↓ 3 callersFunctionupdateValue
(index: number, value: number)
packages/react-stately/src/slider/useSliderState.ts:297
↓ 3 callersMethodupdateVisibleToasts
(action: ToastAction)
packages/react-stately/src/toast/useToastState.ts:145
↓ 3 callersFunctionuseBreadcrumbItem
( props: AriaBreadcrumbItemProps, ref: RefObject<FocusableElement | null> )
packages/react-aria/src/breadcrumbs/useBreadcrumbItem.ts:56
↓ 3 callersFunctionuseChildren
( props: ColorFieldProps, state: ColorFieldState, ref: ForwardedRef<HTMLDivElement>, inputProps: Input
packages/react-aria-components/src/ColorField.tsx:230
↓ 3 callersFunctionuseColorArea
(props: AriaColorAreaOptions, state: ColorAreaState)
packages/react-aria/src/color/useColorArea.ts:77
↓ 3 callersFunctionuseColorAreaState
(props: ColorAreaProps)
packages/react-stately/src/color/useColorAreaState.ts:110
↓ 3 callersFunctionuseColorSlider
( props: AriaColorSliderOptions, state: ColorSliderState )
packages/react-aria/src/color/useColorSlider.ts:55
↓ 3 callersFunctionuseColorSliderState
(props: ColorSliderStateOptions)
packages/react-stately/src/color/useColorSliderState.ts:59
↓ 3 callersFunctionuseColorSwatch
(props: AriaColorSwatchProps)
packages/react-aria/src/color/useColorSwatch.ts:46
↓ 3 callersFunctionuseDatePicker
( props: AriaDatePickerProps<T>, state: DatePickerState, ref: RefObject<Element | null> )
packages/react-aria/src/datepicker/useDatePicker.ts:76
↓ 3 callersFunctionuseDatePickerGroup
( state: DatePickerState | DateRangePickerState | DateFieldState, ref: RefObject<Element | null>, disabl
packages/react-aria/src/datepicker/useDatePickerGroup.ts:13
↓ 3 callersFunctionuseDatePickerState
( props: DatePickerStateOptions<T> )
packages/react-stately/src/datepicker/useDatePickerState.ts:94
↓ 3 callersFunctionuseDateRangePicker
( props: AriaDateRangePickerProps<T>, state: DateRangePickerState, ref: RefObject<Element | null> )
packages/react-aria/src/datepicker/useDateRangePicker.ts:82
↓ 3 callersFunctionuseDateRangePickerState
( props: DateRangePickerStateOptions<T> )
packages/react-stately/src/datepicker/useDateRangePickerState.ts:109
↓ 3 callersFunctionuseDefaultProps
( v: DateValue | null, granularity: Granularity | undefined )
packages/react-stately/src/datepicker/utils.ts:285
↓ 3 callersFunctionuseDialogContainer
()
packages/@adobe/react-spectrum/src/dialog/useDialogContainer.ts:21
← previousnext →901–1,000 of 9,173, ranked by callers