MCPcopy Create free account

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

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

↓ 3 callersMethodclosestLandmark
* Get the landmark that is the closest parent in the DOM. * Returns undefined if no parent is a landmark.
packages/react-aria/src/landmark/useLandmark.ts:266
↓ 3 callersFunctioncollect
packages/react-aria/test/dnd/dnd.test.js:1114
↓ 3 callersFunctioncolorMix
(a: SpectrumColor, b: SpectrumColor, percent: number)
packages/@react-spectrum/s2/style/spectrum-theme.ts:313
↓ 3 callersFunctioncommit
()
packages/react-stately/src/color/useColorFieldState.ts:135
↓ 3 callersFunctioncommitSelection
(shouldForceSelectionChange = false)
packages/react-stately/src/combobox/useComboBoxState.ts:551
↓ 3 callersFunctioncommitValidation
()
packages/react-stately/src/form/useFormValidationState.ts:167
↓ 3 callersFunctioncommitValue
(dateRange: DateRange, timeRange: TimeRange)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:156
↓ 3 callersFunctioncommitValue
(date: DateValue, time: TimeValue)
packages/react-stately/src/datepicker/useDatePickerState.ts:162
↓ 3 callersFunctioncompareDate
(a: AnyCalendarDate, b: AnyCalendarDate)
packages/@internationalized/date/src/queries.ts:113
↓ 3 callersFunctioncompareNodeOrder
( collection: Collection<Node<T>>, a: Node<T>, b: Node<T> )
packages/react-stately/src/collections/getChildNodes.ts:56
↓ 3 callersFunctioncompileStrings
(messages, options)
packages/@internationalized/string-compiler/src/stringCompiler.js:15
↓ 3 callersMethodcopy
()
packages/react-stately/src/datepicker/IncompleteDate.ts:65
↓ 3 callersFunctioncountChars
(element: ReactNode)
packages/dev/s2-docs/src/VisualExampleClient.tsx:425
↓ 3 callersMethodcreateFieldValue
(segments: readonly TokenFieldSegment<T>[])
packages/react-stately/src/tokenfield/TokenFieldValue.ts:118
↓ 3 callersFunctioncreateSyntheticEvent
(nativeEvent: Event)
packages/react-aria/src/interactions/utils.ts:22
↓ 3 callersMethodcreateTextSegment
(text: string)
packages/react-stately/src/tokenfield/TokenFieldValue.ts:167
↓ 3 callersFunctioncreateValueLookup
(values: Array<CSSValue>)
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:103
↓ 3 callersFunctioncycleDate
( value: CalendarDate | CalendarDateTime, field: DateField, amount: number, options?: CycleOptions )
packages/@internationalized/date/src/manipulation.ts:296
↓ 3 callersFunctioncycleTime
( value: Time | CalendarDateTime, field: TimeField, amount: number, options?: CycleTimeOptions )
packages/@internationalized/date/src/manipulation.ts:378
↓ 3 callersFunctioncycleValue
(value: number, amount: number, min: number, max: number, round = false)
packages/@internationalized/date/src/manipulation.ts:415
↓ 3 callersFunctiondateTimeToString
(date: AnyDateTime)
packages/@internationalized/date/src/string.ts:232
↓ 3 callersMethoddecrement
Decrements the current input value to the next step boundary, and fires `onChange`.
packages/react-stately/src/color/useColorFieldState.ts:67
↓ 3 callersFunctiondefaultBrand
()
packages/@react-spectrum/ai/src/tokens.macro.ts:55
↓ 3 callersFunctiondefineProperties
(this: any, css: string)
packages/@react-spectrum/ai/src/tokens.macro.ts:123
↓ 3 callersFunctiondispatchVirtualBlur
(from: Element, to: Element | null)
packages/react-aria/src/focus/virtualFocus.ts:16
↓ 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 callersFunctionemitKeyframes
(name: string, stops: Stop[], total: number)
packages/@react-spectrum/ai/src/loader/react.tsx:107
↓ 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:308
↓ 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:114
↓ 3 callersFunctionfocusFirstInScope
(scope: Element[], tabbable: boolean = true)
packages/react-aria/src/focus/FocusScope.tsx:560
↓ 3 callersMethodfocusMain
Moves focus to the main landmark.
packages/react-aria/src/landmark/useLandmark.ts:80
↓ 3 callersFunctionfontRelative
(base: number, baseFontSize = 14)
packages/@react-spectrum/s2/style/index.ts:61
↓ 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 callersFunctiongenerateFrontmatter
(skillConfig)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:454
↓ 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:798
↓ 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 callersFunctiongetDOMPosition
(root: Element, pos: Position)
packages/react-aria/src/tokenfield/useTokenField.ts:845
↓ 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:304
↓ 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:28
↓ 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:763
↓ 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 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 callersFunctiongetScrollParents
(node: Element, checkForOverflow?: boolean)
packages/react-aria/src/utils/getScrollParents.ts:15
↓ 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:626
↓ 3 callersMethodgetSubmenuTriggers
* Returns the menu's submenu triggers if any.
packages/@react-aria/test-utils/src/menu.ts:471
↓ 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
← previousnext →801–900 of 9,472, ranked by callers