MCPcopy Create free account

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

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

↓ 2 callersMethodcanSelectItemIn
(key: Key, collection: Collection<Node<unknown>>)
packages/react-stately/src/selection/SelectionManager.ts:514
↓ 2 callersFunctioncanonicalKeyboardShortcut
(parsed: ParsedKeyboardShortcut)
packages/react-aria/src/interactions/createKeyboardShortcutHandler.ts:158
↓ 2 callersFunctioncapitalize
(string: string)
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/utils.ts:65
↓ 2 callersMethodcaptureBeforeLayout
* Captures the anchor from pre-layout view positions.
packages/react-stately/src/virtualizer/ScrollAnchor.ts:228
↓ 2 callersFunctioncaptureScrollAnchor
( edge: ScrollAnchorEdge, axis: ScrollAnchorAxis, visibleRect: Rect, visibleLayoutInfos: Iterable<[Key
packages/react-stately/src/virtualizer/ScrollAnchor.ts:83
↓ 2 callersFunctioncategorizeEntries
* Categorize documentation entries by reading section exports from MDX files.
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:400
↓ 2 callersMethodcheckLabels
* Warn if there are 2+ landmarks with the same role but no label. * Labels for landmarks with the same role must also be unique. * * See http
packages/react-aria/src/landmark/useLandmark.ts:237
↓ 2 callersFunctioncheckPositionCommon
( title, expected, placement, targetDimension, boundaryDimensions, offset, crossOf
packages/react-aria/test/overlays/calculatePosition.test.ts:104
↓ 2 callersFunctionclassNamePrefix
(property: string, cssProperty: string)
packages/@react-spectrum/s2/style/style-macro.ts:269
↓ 2 callersFunctionclearGlobalDnDState
()
packages/react-aria/src/dnd/utils.ts:401
↓ 2 callersMethodclearSelection
Clears the current selection.
packages/react-stately/src/calendar/types.ts:227
↓ 2 callersFunctioncloseOpenTooltips
()
packages/react-stately/src/tooltip/useTooltipTriggerState.ts:99
↓ 2 callersFunctioncolorScale
( scale: S )
packages/@react-spectrum/s2/style/tokens.ts:95
↓ 2 callersFunctioncolorValue
(value: ColorValue, type: ColorType = 'default', version = 5)
packages/@adobe/react-spectrum/src/utils/styleProps.ts:177
↓ 2 callersFunctioncommentIfParentCollectionNotDetected
(path: NodePath<t.JSXElement>)
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/transforms.ts:553
↓ 2 callersFunctioncommitCustomValue
()
packages/react-stately/src/combobox/useComboBoxState.ts:536
↓ 2 callersFunctioncommitValue
()
packages/react-stately/src/combobox/useComboBoxState.ts:571
↓ 2 callersFunctioncompare
(a: Position, b: Position)
packages/react-stately/src/tokenfield/TokenFieldValue.ts:79
↓ 2 callersFunctioncompareTime
(a: AnyTime, b: AnyTime)
packages/@internationalized/date/src/queries.ts:117
↓ 2 callersFunctioncompileParts
(parts, inline = false, pluralValue = '')
packages/@internationalized/string-compiler/src/stringCompiler.js:34
↓ 2 callersFunctioncompileSVG
(file, componentName = 'IconComponent')
packages/@spectrum-icons/build-tools/compileSVG.js:15
↓ 2 callersFunctioncomputeScrollAnchorTarget
( anchor: ScrollAnchor, axis: ScrollAnchorAxis, getLayoutInfo: (key: Key) => LayoutInfo | null, visibl
packages/react-stately/src/virtualizer/ScrollAnchor.ts:56
↓ 2 callersFunctionconditionalToRules
( value: PropertyValueDefinition<P>, parentPriority: number, currentConditions: Set<string>, s
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:240
↓ 2 callersFunctionconditionalToRules
( value: PropertyValueDefinition<P>, parentPriority: number, currentConditions: Set<string>, s
packages/@react-spectrum/s2/style/style-macro.ts:543
↓ 2 callersFunctionconstrainMonthDay
(date: Mutable<AnyCalendarDate>)
packages/@internationalized/date/src/manipulation.ts:145
↓ 2 callersFunctionconstrainTime
(time: Mutable<AnyTime>)
packages/@internationalized/date/src/manipulation.ts:251
↓ 2 callersFunctionconvertColor
( property: string, value: string, colorVersion: number | null )
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/colors.ts:240
↓ 2 callersFunctionconvertDimensionValueToPx
( path: NodePath<t.JSXElement>, options: { propName: string; } )
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/transforms.ts:774
↓ 2 callersFunctionconvertStyleProps
( props: ViewStyleProps<C>, handlers: StyleHandlers, direction: Direction, matchedBreakpoints: Breakpo
packages/@adobe/react-spectrum/src/utils/styleProps.ts:233
↓ 2 callersFunctionconvertValue
( value: DateValue | null | undefined, calendar: Calendar )
packages/react-stately/src/datepicker/utils.ts:239
↓ 2 callersFunctioncopyDirectory
(from, to)
packages/dev/s2-docs/scripts/generateMcpb.mjs:271
↓ 2 callersFunctioncopyDocsDocumentation
* Copy documentation files to the skill's references directory.
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:826
↓ 2 callersFunctioncreateCalendar
(name: CalendarIdentifier)
packages/@internationalized/date/src/createCalendar.ts:33
↓ 2 callersFunctioncreateClonedDocumentStyleRoot
* Clone document stylesheets into a new div; each shadow root needs its own copy (appendChild moves * nodes).
packages/@react-spectrum/s2/stories/ShadowDOM.stories.tsx:139
↓ 2 callersFunctioncreateDOMRef
( ref: RefObject<T | null> )
packages/@react-spectrum/ai/src/useDOMRef.ts:16
↓ 2 callersFunctioncreateDOMRef
( ref: RefObject<T | null> )
packages/@react-spectrum/s2/src/useDOMRef.ts:16
↓ 2 callersFunctioncreateDirectoryItem
(entry: any)
packages/react-aria/src/dnd/utils.ts:326
↓ 2 callersFunctioncreateFileItem
(file: File | null)
packages/react-aria/src/dnd/utils.ts:313
↓ 2 callersFunctioncreateFocusableRef
( domRef: RefObject<T | null>, focusableRef: RefObject<FocusableElement | null> = domRef )
packages/@adobe/react-spectrum/src/utils/useDOMRef.ts:33
↓ 2 callersFunctioncreateKeyboardShortcutHandler
( bindings: KeyboardShortcutBindings )
packages/react-aria/src/interactions/createKeyboardShortcutHandler.ts:192
↓ 2 callersFunctioncreateListActions
( opts: CreateListOptions<T, C>, dispatch: (updater: (state: ListState<T>) => ListState<T>) => void )
packages/react-stately/src/data/useListData.ts:188
↓ 2 callersFunctioncreateMappedProperty
( fn: (value: string, property: string) => CSSProperties, values: PropertyValueMap<T> | string[] )
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:41
↓ 2 callersFunctioncreateParcel
(options, isDev = false)
packages/dev/storybook-builder-parcel/preset.mjs:117
↓ 2 callersFunctioncreatePublicExports
(file, monopackage, scope, pkg)
scripts/migrateDeps.mjs:921
↓ 2 callersFunctioncreateSearchOptions
()
packages/dev/s2-docs/src/searchUtils.tsx:733
↓ 2 callersMethodcurrent
()
packages/@adobe/react-spectrum/test/actiongroup/ActionGroup.test.js:59
↓ 2 callersFunctioncustomMenuItem
(item)
packages/@adobe/react-spectrum/chromatic/menu/MenuTrigger.stories.tsx:148
↓ 2 callersMethodcycle
* Returns a new `Time` with the given field adjusted by a specified amount. * When the resulting value reaches the limits of the field, it wraps ar
packages/@internationalized/date/src/CalendarDate.ts:212
↓ 2 callersFunctiondateToString
(date: CalendarDate)
packages/@internationalized/date/src/string.ts:218
↓ 2 callersFunctiondecrement
()
packages/react-stately/src/color/useColorFieldState.ts:175
↓ 2 callersMethoddeleteLine
Delete text to the next or previous line break.
packages/react-stately/src/tokenfield/TokenFieldValue.ts:370
↓ 2 callersMethoddestroy
()
packages/react-aria/src/live-announcer/LiveAnnouncer.tsx:129
↓ 2 callersFunctiondisableTextSelection
(target?: Element)
packages/react-aria/src/interactions/textSelection.ts:38
↓ 2 callersFunctiondisconnectObserver
()
packages/dev/style-macro-chrome-plugin/src/devtool.js:107
↓ 2 callersFunctiondomText
Visible text of the field (DOM), with the token zero-width-space markers removed.
packages/react-aria-components/test/TokenField.composition.browser.test.tsx:76
↓ 2 callersMethoddrop
(item?: DroppableItem)
packages/react-aria/src/dnd/DragManager.ts:647
↓ 2 callersFunctiondynamicRenderFuncSections
(item: ItemNode)
packages/@adobe/react-spectrum/chromatic/menu/Submenu.stories.tsx:154
↓ 2 callersMethodendCoalescing
End coalescing undo/redo history.
packages/react-stately/src/tokenfield/TokenFieldValue.ts:436
↓ 2 callersFunctionendOfWeek
(date: DateValue, locale: string, firstDayOfWeek?: DayOfWeek)
packages/@internationalized/date/src/queries.ts:261
↓ 2 callersMethodensureLayoutInfo
(key: Key)
packages/react-stately/src/layout/ListLayout.ts:275
↓ 2 callersMethodensureLayoutInfo
(key: Key)
packages/@react-spectrum/ai/src/ListLayout.ts:334
↓ 2 callersFunctionensureTooltipEntry
()
packages/react-stately/src/tooltip/useTooltipTriggerState.ts:95
↓ 2 callersFunctionepochFromParts
( year: number, month: number, day: number, hour: number, minute: number, second: number, millis
packages/@internationalized/date/src/conversion.ts:45
↓ 2 callersFunctionevaluate
(code, filename)
packages/dev/test-utils/src/ssrUtils.js:21
↓ 2 callersFunctionevaluateNode
(node, file)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1119
↓ 2 callersFunctionexitStartOf
(c: Cell)
packages/@react-spectrum/ai/src/loader/react.tsx:67
↓ 2 callersFunctionexpand
()
packages/@react-spectrum/s2/src/SideNavPanel.tsx:132
↓ 2 callersFunctionfilter
(textValue, inputValue)
packages/react-aria-components/test/Autocomplete.test.tsx:281
↓ 2 callersFunctionfilterChildren
( collection: BaseCollection<T>, newCollection: BaseCollection<T>, firstChildKey: Key | null, filterFn
packages/react-aria/src/collections/BaseCollection.ts:326
↓ 2 callersFunctionfind
(i: number)
packages/@react-spectrum/ai/stories/prose.stories.tsx:390
↓ 2 callersMethodfindCell
* Returns a cell matching the specified text content.
packages/@react-aria/test-utils/src/table.ts:501
↓ 2 callersFunctionfindDefaultSelectedKey
( collection: Collection<Node<T>> | undefined, disabledKeys: Set<Key> )
packages/react-stately/src/tabs/useTabListState.ts:109
↓ 2 callersFunctionfindEraFromGregorianDate
(date: AnyCalendarDate)
packages/@internationalized/date/src/calendars/JapaneseCalendar.ts:37
↓ 2 callersFunctionfindKeyForRoute
(collection: Collection<Node<unknown>>, route: string)
packages/react-aria-components/src/NavigationTree.tsx:313
↓ 2 callersMethodfindNextColumnKey
(column: Node<T>)
packages/react-aria/src/table/TableKeyboardDelegate.ts:87
↓ 2 callersMethodfindOption
* Returns a option matching the specified index or text content.
packages/@react-aria/test-utils/src/listbox.ts:96
↓ 2 callersMethodfindPreviousColumnKey
(column: Node<T>)
packages/react-aria/src/table/TableKeyboardDelegate.ts:105
↓ 2 callersMethodfindRow
* Returns a row matching the specified index or text content.
packages/@react-aria/test-utils/src/gridlist.ts:61
↓ 2 callersMethodfindTab
* Returns a tab matching the specified index or text content.
packages/@react-aria/test-utils/src/tabs.ts:63
↓ 2 callersFunctionfireDropEnter
(e: DragEvent)
packages/react-aria/src/dnd/useDrop.ts:123
↓ 2 callersFunctionfiveParagraphs
()
packages/@adobe/react-spectrum/stories/dialog/Dialog.stories.tsx:333
↓ 2 callersMethodfocusLandmark
(landmark: FocusableElement, direction: 'forward' | 'backward')
packages/react-aria/src/landmark/useLandmark.ts:153
↓ 2 callersFunctionfocusLast
()
packages/react-aria/src/datepicker/useDatePickerGroup.ts:83
↓ 2 callersFunctionfontRelative
(this: MacroContext | void, base: number, baseFontSize = 14)
packages/@react-spectrum/s2/style/spectrum-theme.ts:416
↓ 2 callersFunctionfontSizeToken
(name: TokenName)
packages/@react-spectrum/s2/style/tokens.ts:213
↓ 2 callersFunctionformatRange
( dateFormatter: DateFormatter, stringFormatter: LocalizedStringFormatter, start: CalendarDate, end: C
packages/react-aria/src/calendar/utils.ts:145
↓ 2 callersMethodformatToParts
Formats a number to an array of parts such as separators, digits, punctuation, and more.
packages/@internationalized/number/src/NumberFormatter.ts:57
↓ 2 callersFunctiongenerateData
(startDate, endDate)
scripts/getCommitsForTesting.mjs:46
↓ 2 callersFunctiongenerateId
( state: TabListState<T> | null, key: Key | null | undefined, role: string )
packages/react-aria/src/tabs/utils.ts:21
↓ 2 callersFunctiongenerateInterfaceTable
(interfaceName, file)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1761
↓ 2 callersFunctiongenerateName
(value: string)
packages/@react-spectrum/ai/src/style/style-macro.ts:25
↓ 2 callersMethodgetActiveTabpanel
* Returns the currently active tabpanel if any.
packages/@react-aria/test-utils/src/tabs.ts:200
↓ 2 callersFunctiongetAdditionalReferenceLibraries
(skillConfig)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:236
↓ 2 callersFunctiongetAllowedOperations
(e: DragEvent)
packages/react-aria/src/dnd/useDrop.ts:430
↓ 2 callersFunctiongetAnchorProps
(href)
packages/dev/s2-docs/src/Link.tsx:49
↓ 2 callersFunctiongetBaseUrl
(library)
packages/dev/docs/src/utils.js:59
↓ 2 callersFunctiongetBreakpointHandler
()
packages/@adobe/react-spectrum/src/utils/BreakpointProvider.tsx:33
↓ 2 callersFunctiongetCachedDateFormatter
( locale: string, options: Intl.DateTimeFormatOptions = {} )
packages/@internationalized/date/src/DateFormatter.ts:122
↓ 2 callersFunctiongetCell
(tree, text)
packages/@adobe/react-spectrum/test/table/TreeGridTable.test.tsx:44
↓ 2 callersFunctiongetCell
(tree, text)
packages/@adobe/react-spectrum/test/table/TableTests.js:236
← previousnext →1,101–1,200 of 9,472, ranked by callers