MCPcopy Create free account

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

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

↓ 3 callersFunctiondynamicRenderFunc
packages/@adobe/react-spectrum/stories/menu/Submenu.stories.tsx:122
↓ 3 callersFunctiondynamicRenderFuncSections
(item: ItemNode)
packages/react-aria-components/stories/Autocomplete.stories.tsx:366
↓ 3 callersFunctiondynamicRenderFuncSections
(item: ItemNode)
packages/@adobe/react-spectrum/stories/menu/Submenu.stories.tsx:297
↓ 3 callersFunctionerrorToString
(err: unknown)
packages/dev/mcp/shared/src/utils.ts:22
↓ 3 callersFunctionfetchText
(url: string, timeoutMs = 15000)
packages/dev/mcp/shared/src/utils.ts:52
↓ 3 callersFunctionfieldLabel
()
packages/@react-spectrum/s2/src/style-utils.ts:96
↓ 3 callersFunctionfilter
(item, text)
packages/react-stately/test/data/useListData.test.js:34
↓ 3 callersFunctionfilterFn
packages/react-aria/test/utils/shadowTreeWalker.test.tsx:61
↓ 3 callersMethodfindCheckbox
* Returns a checkbox matching the specified index or text content.
packages/@react-aria/test-utils/src/checkboxgroup.ts:57
↓ 3 callersMethodfindLineBoundary
Find a line boundary before or after a position.
packages/react-stately/src/tokenfield/TokenFieldValue.ts:249
↓ 3 callersMethodfindOption
* Returns a option matching the specified index or text content.
packages/@react-aria/test-utils/src/menu.ts:166
↓ 3 callersMethodfindPreviousKey
( fromKey?: Key, pred?: (item: Node<T>) => boolean, includeDisabled = false )
packages/react-aria/src/grid/GridKeyboardDelegate.ts:91
↓ 3 callersMethodfindRadio
* Returns a radio matching the specified index or text content.
packages/@react-aria/test-utils/src/radiogroup.ts:59
↓ 3 callersMethodfindRow
* Returns a row matching the specified index or text content.
packages/@react-aria/test-utils/src/table.ts:480
↓ 3 callersFunctionfireDropExit
(e: DragEvent)
packages/react-aria/src/dnd/useDrop.ts:136
↓ 3 callersFunctionfocus
()
packages/react-aria/src/grid/useGridCell.ts:111
↓ 3 callersFunctionfocusFirstInScope
(scope: Element[], tabbable: boolean = true)
packages/react-aria/src/focus/FocusScope.tsx:559
↓ 3 callersMethodfocusMain
Moves focus to the main landmark.
packages/react-aria/src/landmark/useLandmark.ts:80
↓ 3 callersMethodfocusPreviousPage
Moves focus to the previous page of dates, e.g. the previous month if one month is visible.
packages/react-stately/src/calendar/types.ts:128
↓ 3 callersMethodformat
Formats a localized string for the given key with the provided variables.
packages/@internationalized/string/src/LocalizedStringFormatter.ts:41
↓ 3 callersMethodformatRangeToParts
Formats a date range as an array of parts.
packages/@internationalized/date/src/DateFormatter.ts:60
↓ 3 callersMethodformatValue
Formats the current date value using the given options.
packages/react-stately/src/datepicker/useDateFieldState.ts:137
↓ 3 callersFunctiongenerateComboChunks
(opts: { states: Array<object>; exclude?: (merged: any) => boolean; numChunks: number; })
packages/@react-spectrum/s2/chromatic/utils.tsx:79
↓ 3 callersFunctiongenerateFrontmatter
(skillConfig)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:448
↓ 3 callersFunctiongenerateIcons
(iconDir, outputDir, nameRegex, template)
packages/@spectrum-icons/build-tools/generateIcons.js:29
↓ 3 callersFunctiongenerateName
(index: number)
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:477
↓ 3 callersFunctiongenerateName
(index: number, atStart = false)
packages/@react-spectrum/s2/style/style-macro.ts:796
↓ 3 callersFunctiongenerateRows
(count = 5)
packages/@adobe/react-spectrum/stories/table/TreeGridTable.stories.tsx:240
↓ 3 callersMethodgetAsFile
()
packages/react-aria/test/dnd/mocks.js:26
↓ 3 callersFunctiongetCacheDir
(options: PluginOptions)
packages/dev/parcel-transformer-storybook/react-docgen-typescript.ts:8
↓ 3 callersMethodgetColorSpaceAxes
* Returns the color space axes, xChannel, yChannel, zChannel.
packages/react-stately/src/color/types.ts:74
↓ 3 callersMethodgetCurrentYear
(year: number)
packages/@internationalized/date/tests/customCalendarImpl.ts:90
↓ 3 callersMethodgetData
(type)
packages/react-aria/test/dnd/mocks.js:125
↓ 3 callersFunctiongetDaysInMonth
(year: number, month: number)
packages/@internationalized/date/src/calendars/HebrewCalendar.ts:94
↓ 3 callersFunctiongetDescription
()
packages/react-aria-components/test/TimeField.test.js:247
↓ 3 callersFunctiongetDescription
(index: number)
packages/@adobe/react-spectrum/stories/card/utils.ts:27
↓ 3 callersFunctiongetEraFormat
(date: CalendarDate | undefined)
packages/react-aria/src/calendar/utils.ts:41
↓ 3 callersFunctiongetFiles
(files: string[], type: string | undefined, npmDeps = {})
packages/dev/s2-docs/src/CodeBlock.tsx:296
↓ 3 callersMethodgetFirstKey
()
packages/react-aria/src/selection/ListKeyboardDelegate.ts:280
↓ 3 callersMethodgetFirstKey
(fromKey?: Key, global?: boolean)
packages/react-aria/src/grid/GridKeyboardDelegate.ts:315
↓ 3 callersMethodgetFormattedValue
* Returns the string label for the value, per props.formatOptions. * * @param value
packages/react-stately/src/slider/useSliderState.ts:137
↓ 3 callersMethodgetInputElement
()
packages/@react-spectrum/s2/src/TextField.tsx:60
↓ 3 callersFunctiongetItemCount
(collection: Collection<Node<T>>)
packages/react-stately/src/collections/getItemCount.ts:18
↓ 3 callersMethodgetItemProps
Returns the props for the given item.
packages/react-stately/src/selection/types.ts:123
↓ 3 callersMethodgetKeyForItemInRowByIndex
(key: Key, index: number = 0)
packages/react-aria/src/grid/GridKeyboardDelegate.ts:138
↓ 3 callersFunctiongetNextItem
( collection: Collection<Node<unknown>>, key: Key, getNextKey: (key: Key) => Key | null )
packages/react-aria/src/dnd/DropTargetKeyboardNavigation.ts:300
↓ 3 callersFunctiongetNextTarget
( target: DropTarget | null | undefined, wrap = true, key: 'left' | 'right' | 'up' | 'down'
packages/react-aria/src/dnd/useDroppableCollection.ts:424
↓ 3 callersFunctiongetNonce
(doc?: Document)
packages/react-aria/src/utils/getNonce.ts:37
↓ 3 callersFunctiongetNthItem
(iterable: Iterable<T>, index: number)
packages/react-stately/src/collections/getChildNodes.ts:32
↓ 3 callersFunctiongetNumberParserImpl
(locale: string, options: Intl.NumberFormatOptions, value: string)
packages/@internationalized/number/src/NumberParser.ts:76
↓ 3 callersFunctiongetOffset
( node: Element, ignoreScale: boolean, overrideRect?: Offset | null | undefined )
packages/react-aria/src/overlays/calculatePosition.ts:762
↓ 3 callersMethodgetOptions
* Returns the listbox options. Can be filtered to a subsection of the listbox if provided via * `element`.
packages/@react-aria/test-utils/src/listbox.ts:277
↓ 3 callersFunctiongetPosition
(container: Element, node: Node, offset: number)
packages/react-aria/src/tokenfield/useTokenField.ts:622
↓ 3 callersFunctiongetPropValue
( node: t.JSXAttribute['value'] | t.ObjectProperty['value'] )
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/utils.ts:4
↓ 3 callersFunctiongetResourceTags
(library: Library)
packages/dev/s2-docs/src/searchUtils.tsx:491
↓ 3 callersFunctiongetResponsiveProp
( prop: Responsive<T>, matchedBreakpoints: Breakpoint[] )
packages/@adobe/react-spectrum/src/utils/styleProps.ts:324
↓ 3 callersMethodgetRows
* Returns the rows within the table if any. Can be filtered to a specific row group if provided * via `element`.
packages/@react-aria/test-utils/src/table.ts:545
↓ 3 callersMethodgetRows
* Returns the gridlist's rows if any.
packages/@react-aria/test-utils/src/gridlist.ts:259
↓ 3 callersFunctiongetScrollContainer
()
packages/dev/s2-docs/src/client.tsx:32
↓ 3 callersMethodgetSelectAllKeys
()
packages/react-stately/src/selection/SelectionManager.ts:400
↓ 3 callersMethodgetSelectedCheckboxes
* Returns the currently selected checkboxes in the checkboxgroup if any.
packages/@react-aria/test-utils/src/checkboxgroup.ts:159
↓ 3 callersFunctiongetSelection
(container: Element)
packages/react-aria/src/tokenfield/useTokenField.ts:607
↓ 3 callersFunctiongetSunlight
(item: Plant)
packages/dev/s2-docs/pages/react-aria/examples/plants/Labels.tsx:60
↓ 3 callersMethodgetTablist
* Returns the tablist.
packages/@react-aria/test-utils/src/tabs.ts:163
↓ 3 callersMethodgetTextValue
Returns a string representation of the item's contents.
packages/@react-types/shared/src/collections.d.ts:192
↓ 3 callersMethodgetTrigger
* Returns the select's trigger.
packages/@react-aria/test-utils/src/select.ts:254
↓ 3 callersFunctiongetTypeText
* Get type text from a declaration, preferring the type node (AST) over the resolved type.
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:974
↓ 3 callersFunctiongetValidationResult
( value: DateValue | null, minValue: DateValue | null | undefined, maxValue: DateValue | null | undefine
packages/react-stately/src/datepicker/utils.ts:47
↓ 3 callersFunctiongetVarValues
(css)
packages/@adobe/spectrum-css-builder-temp/css/lib/varUtils.js:41
↓ 3 callersMethodgetVisibleLayoutInfos
()
packages/react-stately/src/virtualizer/Virtualizer.ts:242
↓ 3 callersMethodgetWeekPattern
(isBigYear: boolean)
packages/@internationalized/date/tests/customCalendarImpl.ts:86
↓ 3 callersFunctiongridDimensionValue
(value)
packages/@adobe/react-spectrum/src/layout/Grid.tsx:107
↓ 3 callersFunctionhandleHide
(immediate?: boolean)
packages/react-aria/src/tooltip/useTooltipTrigger.ts:56
↓ 3 callersMethodincrement
Increments the current input value to the next step boundary, and fires `onChange`.
packages/react-stately/src/color/useColorFieldState.ts:65
↓ 3 callersFunctioninvertDuration
(duration: DateTimeDuration)
packages/@internationalized/date/src/manipulation.ts:159
↓ 3 callersMethodisCellDisabled
* Returns whether the given date is disabled according to the `minValue, `maxValue`, and * `isDisabled` props.
packages/react-stately/src/calendar/types.ts:170
↓ 3 callersFunctionisElementVisible
(element: Element, childElement?: Element)
packages/react-aria/src/utils/isElementVisible.ts:62
↓ 3 callersFunctionisEqualValidation
(a: ValidationResult | null, b: ValidationResult | null)
packages/react-stately/src/form/useFormValidationState.ts:261
↓ 3 callersFunctionisHTMLAnchorLink
(target: Element)
packages/react-aria/src/interactions/usePress.ts:1014
↓ 3 callersMethodisInverseEra
@private
packages/@internationalized/date/src/types.ts:117
↓ 3 callersFunctionisLeapYear
(year: number)
packages/@internationalized/date/src/calendars/HebrewCalendar.ts:34
↓ 3 callersFunctionisLocalTimeZoneOverridden
()
packages/@internationalized/date/src/queries.ts:161
↓ 3 callersFunctionisMemberOf
(node: any)
packages/dev/codemods/src/test-utils-rc-update/src/codemod.ts:98
↓ 3 callersFunctionisPublishing
@param {Workspace} workspace
yarn.config.cjs:197
↓ 3 callersMethodisRow
(node: Node<T>)
packages/react-aria/src/grid/GridKeyboardDelegate.ts:79
↓ 3 callersFunctionisSameYear
(a: DateValue, b: DateValue)
packages/@internationalized/date/src/queries.ts:40
↓ 3 callersFunctionisShadowRoot
(value: unknown)
packages/react-aria/src/utils/domHelpers.ts:64
↓ 3 callersMethodisStickyColumn
(node: GridNode<T>)
packages/react-stately/src/layout/TableLayout.ts:373
↓ 3 callersFunctionisTabbable
(element: Element)
packages/react-aria/src/utils/isFocusable.ts:47
↓ 3 callersFunctionisToday
(date: DateValue, timeZone: string)
packages/@internationalized/date/src/queries.ts:68
↓ 3 callersMethodisValid
(node: Node<T>, offset: number)
packages/@react-spectrum/ai/src/ListLayout.ts:646
↓ 3 callersFunctionisValidDropTarget
()
packages/react-stately/test/virtualizer/GridLayout.test.ts:96
↓ 3 callersFunctionisValidKeyboardEvent
( event: KeyboardEvent | globalThis.KeyboardEvent, currentTarget: Element )
packages/react-aria/src/interactions/usePress.ts:1018
↓ 3 callersFunctionisVirtualPointerEvent
(event: PointerEvent)
packages/react-aria/src/utils/isVirtualEvent.ts:42
↓ 3 callersFunctionislamicToJulianDay
(epoch: number, year: number, month: number, day: number)
packages/@internationalized/date/src/calendars/IslamicCalendar.ts:25
↓ 3 callersFunctionjulianDayToCE
(epoch: number, jd: number)
packages/@internationalized/date/src/calendars/EthiopicCalendar.ts:38
↓ 3 callersMethodkeyboardNavigateToRow
(opts: { row: HTMLElement; selectionOnNav?: 'default' | 'none'; })
packages/@react-aria/test-utils/src/tree.ts:74
↓ 3 callersMethodkeyboardNavigateToRow
(opts: { row: HTMLElement; selectionOnNav?: 'default' | 'none'; })
packages/@react-aria/test-utils/src/table.ts:76
↓ 3 callersFunctionlayoutInfoToStyle
( layoutInfo: LayoutInfo, dir: Direction, parent?: LayoutInfo | null )
packages/react-aria/src/virtualizer/VirtualizerItem.tsx:51
↓ 3 callersFunctionmapConditionalValue
( value: PropertyValueDefinition<T>, fn: (value: T) => U )
packages/@react-spectrum/s2/style/style-macro.ts:213
← previousnext →801–900 of 9,173, ranked by callers