MCPcopy Create free account

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

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

↓ 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:108
↓ 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:312
↓ 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 callersFunctionemitKeyframes
(name: string, stops: Stop[])
packages/@react-spectrum/ai/src/loader/react.tsx:71
↓ 2 callersMethodendCoalescing
End coalescing undo/redo history.
packages/react-stately/src/tokenfield/TokenFieldValue.ts:378
↓ 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:1107
↓ 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:356
↓ 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-spectrum/s2/src/SideNav.tsx:712
↓ 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:203
↓ 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:94
↓ 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:1749
↓ 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:230
↓ 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
↓ 2 callersFunctiongetCellId
(state: TableState<T>, rowKey: Key, columnKey: Key)
packages/react-aria/src/table/utils.ts:38
↓ 2 callersFunctiongetChildren
packages/react-stately/test/data/useTreeData.test.js:29
↓ 2 callersMethodgetClosestLeft
(key: Key)
packages/@adobe/react-spectrum/src/card/WaterfallLayout.tsx:237
↓ 2 callersMethodgetClosestRight
(key: Key)
packages/@adobe/react-spectrum/src/card/WaterfallLayout.tsx:208
↓ 2 callersFunctiongetCodeSandboxFiles
( files: DownloadFiles['files'], deps: DownloadFiles['deps'], type: 'vanilla' | 'tailwind' | 's2' = 'van
packages/dev/s2-docs/src/CodeSandbox.tsx:70
↓ 2 callersFunctiongetColumnHeaderId
(state: TableState<T>, columnKey: Key)
packages/react-aria/src/table/utils.ts:29
↓ 2 callersFunctiongetComponentDescription
* Extract the leading JSDoc description comment placed immediately above the export for a * component.
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1421
↓ 2 callersMethodgetContentSize
Returns the size of the scrollable content in the collection.
packages/@react-types/shared/src/collections.d.ts:154
↓ 2 callersFunctiongetCurrentPage
(page: Page)
packages/dev/s2-docs/src/getPages.ts:72
↓ 2 callersFunctiongetCustomGuideEntries
(skillName)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:222
↓ 2 callersFunctiongetDaysInMonth
(year: number, month: number)
packages/@internationalized/date/src/calendars/EthiopicCalendar.ts:49
↓ 2 callersFunctiongetDaysInYear
(year: number)
packages/@internationalized/date/src/calendars/HebrewCalendar.ts:73
↓ 2 callersFunctiongetDefaultLocale
()
packages/react-aria/src/i18n/useDefaultLocale.ts:24
↓ 2 callersFunctiongetDescription
(currentPage: Page)
packages/dev/s2-docs/src/Layout.tsx:126
↓ 2 callersFunctiongetDragModality
()
packages/react-aria/src/dnd/utils.ts:93
↓ 2 callersFunctiongetDropOperation
(allowedOperations: DROP_OPERATION, operation: DropOperation)
packages/react-aria/src/dnd/useDrop.ts:506
↓ 2 callersFunctiongetEdgeSnapTarget
( edge: ScrollAnchorEdge, axis: ScrollAnchorAxis, contentSize: Size, previousVisibleRect: Rect )
packages/react-stately/src/virtualizer/ScrollAnchor.ts:110
↓ 2 callersMethodgetEstimatedHeight
( node: GridNode<T>, width: number, height: number | null, estimatedHeight: number | null )
packages/react-stately/src/layout/TableLayout.ts:316
↓ 2 callersMethodgetEstimatedRowHeight
()
packages/react-stately/src/layout/TableLayout.ts:345
↓ 2 callersFunctiongetFirstInScope
(scope: Element[], tabbable = true)
packages/react-aria/src/focus/FocusScope.tsx:541
↓ 2 callersMethodgetFirstKey
()
packages/@adobe/react-spectrum/src/card/BaseLayout.tsx:222
↓ 2 callersFunctiongetFirstLocalMemberName
* Gets the local name of the first imported module. * * @param {ASTNode} node - The ImportDeclaration node. * @returns {string | null}
packages/dev/eslint-plugin-rsp-rules/rules/sort-imports.js:26
↓ 2 callersMethodgetFlowEnd
(rect: DOMRect)
packages/react-aria/src/dnd/ListDropTargetDelegate.ts:80
↓ 2 callersMethodgetFlowStart
(rect: DOMRect)
packages/react-aria/src/dnd/ListDropTargetDelegate.ts:76
↓ 2 callersFunctiongetGlobalToastQueue
()
packages/@adobe/react-spectrum/src/toast/ToastContainer.tsx:56
↓ 2 callersFunctiongetGlobalToastQueue
()
packages/@react-spectrum/s2/src/Toast.tsx:105
↓ 2 callersMethodgetHueName
* Returns a localized name for the hue, for use in visual or accessibility labels.
packages/react-stately/src/color/types.ts:86
↓ 2 callersFunctiongetImportKey
(specifier: t.ImportSpecifier)
packages/dev/codemods/src/use-subpaths/src/codemod.ts:14
↓ 2 callersFunctiongetImportStatements
(node, file, relative = true)
scripts/migrateDeps.mjs:740
↓ 2 callersFunctiongetImportedName
(specifier: t.ImportSpecifier)
packages/dev/codemods/src/use-subpaths/src/codemod.ts:8
↓ 2 callersFunctiongetItemId
(state: ListState<T>, itemKey: Key)
packages/react-aria/src/listbox/utils.ts:39
↓ 2 callersMethodgetKeyForSearch
Returns the next key after `fromKey` that matches the given search string, or `null` for none.
packages/@react-types/shared/src/collections.d.ts:132
↓ 2 callersMethodgetKeyPageAbove
Returns the key visually one page above the given one, or `null` for none.
packages/@react-types/shared/src/collections.d.ts:123
↓ 2 callersMethodgetKeyPageBelow
Returns the key visually one page below the given one, or `null` for none.
packages/@react-types/shared/src/collections.d.ts:120
↓ 2 callersFunctiongetKeys
(key: Key)
packages/react-stately/src/dnd/useDraggableCollectionState.ts:90
↓ 2 callersMethodgetKeysForDrag
Returns the keys of the items that will be dragged with the given key (e.g. selected items).
packages/react-stately/src/dnd/useDraggableCollectionState.ts:52
↓ 2 callersMethodgetLastKey
()
packages/react-aria/src/selection/ListKeyboardDelegate.ts:285
↓ 2 callersMethodgetLastKey
(fromKey?: Key, global?: boolean)
packages/react-aria/src/grid/GridKeyboardDelegate.ts:351
← previousnext →1,101–1,200 of 9,173, ranked by callers