MCPcopy Create free account

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

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

↓ 1 callersMethodclone
()
packages/react-aria/src/collections/BaseCollection.ts:53
↓ 1 callersMethodclone
()
packages/react-aria-components/src/Table.tsx:408
↓ 1 callersMethodcloneAncestorSections
( keys: Iterable<Key>, excludeSet: Set<Key>, collection: TreeCollection<T> )
packages/react-aria-components/src/Tree.tsx:140
↓ 1 callersMethodclose
* Closes a toast.
packages/react-stately/src/toast/useToastState.ts:135
↓ 1 callersFunctioncloseAll
()
packages/react-stately/src/menu/useMenuTriggerState.ts:70
↓ 1 callersFunctioncloseSubmenu
(triggerKey: Key, level: number)
packages/react-stately/src/menu/useMenuTriggerState.ts:85
↓ 1 callersFunctionclosestVisibleKey
( collection: Collection<Node<unknown>>, expandedKeys: Set<Key>, key: Key )
packages/react-aria-components/src/NavigationTree.tsx:325
↓ 1 callersFunctioncollapse
()
packages/@react-spectrum/s2/src/Toast.tsx:390
↓ 1 callersFunctioncollect
( keyboardDelegate: KeyboardDelegate, direction: 'up' | 'down' | 'left' | 'right', rtl = false )
packages/react-aria/test/dnd/DropTargetKeyboardNavigation.test.tsx:350
↓ 1 callersFunctioncollectBuildFiles
(dir)
packages/dev/s2-docs/scripts/validateS2DocsBuild.mjs:22
↓ 1 callersFunctioncollectSkillFiles
(skillDir)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:1011
↓ 1 callersFunctioncolorDistance
* Calculates the color distance between two RGB colors using weighted Euclidean distance. * Uses weights that better approximate human color percepti
packages/dev/s2-docs/src/searchUtils.tsx:70
↓ 1 callersFunctioncolorScale
(scale)
scripts/mapStaticColors.mjs:89
↓ 1 callersFunctioncolorToken
(token)
packages/@react-spectrum/s2/scripts/buildPageCss.mjs:4
↓ 1 callersFunctioncolorToken
(token)
scripts/mapStaticColors.mjs:82
↓ 1 callersMethodcolumnsChanged
( newCollection: TableCollection<T>, oldCollection: TableCollection<T> | null )
packages/react-stately/src/layout/TableLayout.ts:111
↓ 1 callersFunctioncommentIfNestedColumns
(path: NodePath<t.JSXElement>)
packages/dev/codemods/src/s1-to-s2/src/codemods/components/TableView/transform.ts:62
↓ 1 callersMethodcommit
(versions)
scripts/bumpVersions.js:513
↓ 1 callersMethodcommitSelection
Commits the current selection.
packages/react-stately/src/calendar/types.ts:229
↓ 1 callersFunctioncommonPrefixLength
(strings: string[])
packages/react-aria/src/datepicker/useDateSegment.ts:431
↓ 1 callersFunctioncompare
* This takes the json files generated by the buildBranchAPI and buildPublishedAPI and * reconstructs our interfaces and create a graph of all depende
scripts/compareAPIs.js:65
↓ 1 callersFunctioncompareBuildAppSize
()
scripts/compareSize.js:17
↓ 1 callersFunctioncompareWidths
(row, b)
packages/@adobe/react-spectrum/test/table/TableSizing.test.tsx:1639
↓ 1 callersFunctioncompileCondition
( conditions: Set<string>, condition: string, priority: number, rules: Rule[] )
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:336
↓ 1 callersFunctioncompileCondition
( conditions: Set<string>, condition: string, priority: number, rules: Rule[] )
packages/@react-spectrum/s2/style/style-macro.ts:653
↓ 1 callersFunctioncompileOptions
(options, pluralValue)
packages/@internationalized/string-compiler/src/stringCompiler.js:95
↓ 1 callersFunctioncompileRule
( property: string, themeProperty: string, value: Value, priority: number, conditions: Set
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:378
↓ 1 callersFunctioncompileRule
( property: string, themeProperty: string, value: Value, priority: number, conditions: Set
packages/@react-spectrum/s2/style/style-macro.ts:690
↓ 1 callersFunctioncompileString
(message)
packages/@internationalized/string-compiler/src/stringCompiler.js:27
↓ 1 callersFunctioncompileValue
( property: string, themeProperty: string, value: StyleValue<Value, Condition<T>, any> )
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:224
↓ 1 callersFunctioncompileValue
( property: string, themeProperty: string, value: StyleValue<Value, Condition<T>, any> )
packages/@react-spectrum/s2/style/style-macro.ts:527
↓ 1 callersFunctioncompleteGroup
()
packages/dev/s2-docs/pages/s2/ai-component-helpers/chat.tsx:142
↓ 1 callersFunctioncompleteGroup
()
packages/@react-spectrum/ai/stories/Chat.stories.tsx:327
↓ 1 callersFunctioncompleteStep
(detail: string)
packages/dev/s2-docs/pages/s2/ai-component-helpers/chat.tsx:128
↓ 1 callersFunctioncompleteStep
(detail: string, label?: string)
packages/@react-spectrum/ai/stories/Chat.stories.tsx:313
↓ 1 callersFunctioncomponents
(isLongForm?: boolean)
packages/dev/s2-docs/src/Layout.tsx:34
↓ 1 callersFunctioncompose
(outer: Wrapper | void, inner: Wrapper | void)
packages/react-stately/src/collections/CollectionBuilder.ts:317
↓ 1 callersFunctioncomposeWord
* Types a word the way a soft keyboard does: grows an active composition one grapheme * at a time (compositionstart + a series of compositionupdate),
packages/react-aria-components/test/TokenField.composition.browser.test.tsx:67
↓ 1 callersFunctioncomputeBoxes
(root: HTMLElement)
packages/@react-spectrum/ai/stories/prose.stories.tsx:320
↓ 1 callersFunctioncomputeHasOverflow
()
packages/@adobe/react-spectrum/src/buttongroup/ButtonGroup.tsx:65
↓ 1 callersFunctioncomputeHasOverflow
()
packages/@react-spectrum/s2/src/ButtonGroup.tsx:132
↓ 1 callersFunctioncomputePosition
( childOffset: Offset, boundaryDimensions: Dimensions, overlaySize: Offset, placementInfo: ParsedPlace
packages/react-aria/src/overlays/calculatePosition.ts:266
↓ 1 callersFunctioncomputeVisibleItems
(visibleItems: number)
packages/@adobe/react-spectrum/src/breadcrumbs/Breadcrumbs.tsx:97
↓ 1 callersFunctioncomputeVisibleItems
(visibleItems: number)
packages/@adobe/react-spectrum/src/actiongroup/ActionGroup.tsx:151
↓ 1 callersFunctioncomputeVisibleTagCount
()
packages/@adobe/react-spectrum/src/tag/TagGroup.tsx:145
↓ 1 callersFunctioncomputeVisibleTagCount
()
packages/@react-spectrum/s2/src/TagGroup.tsx:209
↓ 1 callersMethodconfirmPlaceholder
Updates the remaining unfilled segments with the placeholder value.
packages/react-stately/src/datepicker/useDateFieldState.ts:133
↓ 1 callersMethodconstrainDate
@private
packages/@internationalized/date/src/types.ts:115
↓ 1 callersMethodconstrainDate
(date: Mutable<AnyCalendarDate>)
packages/@internationalized/date/src/calendars/JapaneseCalendar.ts:113
↓ 1 callersFunctioncontainerBackgroundColor
(variant, staticColor)
packages/@adobe/react-spectrum/stories/button/Button.stories.tsx:280
↓ 1 callersMethodcontainsPoint
* Returns whether the rectangle contains the given point. * * @param point - The point to check.
packages/react-stately/src/virtualizer/Rect.ts:120
↓ 1 callersFunctionconvertDateTime
(value: DateTime, timeZone: any)
packages/@adobe/react-spectrum/src/labeledvalue/LabeledValue.tsx:246
↓ 1 callersFunctionconvertDateTime
(value: DateTime, timeZone: string)
packages/@react-spectrum/s2/src/LabeledValue.tsx:313
↓ 1 callersFunctionconvertExpanded
(expanded: 'all' | Iterable<Key>)
packages/react-stately/src/table/useTreeGridState.ts:141
↓ 1 callersFunctionconvertGridTrack
(value: DimensionValue, toPixels = false)
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/dimensions.ts:158
↓ 1 callersFunctionconvertItem
packages/react-aria-components/stories/Tree.stories.tsx:1479
↓ 1 callersFunctionconvertSelection
( selection: 'all' | Iterable<Key> | null | undefined, defaultValue?: Selection )
packages/react-stately/src/selection/useMultipleSelectionState.ts:148
↓ 1 callersFunctionconvertUnsafeDimension
( value: string | number, type: 'size' | 'space' )
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/dimensions.ts:169
↓ 1 callersFunctionconvertUnsafeStyleColor
( property: string, value: string )
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/colors.ts:305
↓ 1 callersFunctionconvertValue
(value: Key | readonly Key[] | null | undefined)
packages/react-stately/src/combobox/useComboBoxState.ts:707
↓ 1 callersFunctionconvertValue
(newValue: CalendarDate, oldValue?: DateValue)
packages/react-stately/src/calendar/useRangeCalendarState.ts:289
↓ 1 callersFunctionconvertValue
(value?: number | number[])
packages/react-stately/src/slider/useSliderState.ts:418
↓ 1 callersFunctionconvertValue
(value: Key | Key[] | null | undefined)
packages/react-stately/src/select/useSelectState.ts:273
↓ 1 callersFunctionconvertValue
( value: TimeValue | null | undefined, date: DateValue = today(getLocalTimeZone()) )
packages/react-stately/src/datepicker/useTimeFieldState.ts:108
↓ 1 callersFunctionconvertValue
(value: Time)
packages/@adobe/react-spectrum/src/labeledvalue/LabeledValue.tsx:280
↓ 1 callersFunctionconvexHull
(points: Point[])
packages/react-aria/src/tooltip/useSafeArea.ts:123
↓ 1 callersFunctioncopyAdditionalReferenceLibraries
(skillConfig, skillDir)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:927
↓ 1 callersFunctioncopyDependencyTree
( packageName, outputNodeModulesDir, bundledPackages, fromDir = repoRoot )
packages/dev/s2-docs/scripts/generateMcpb.mjs:223
↓ 1 callersFunctioncopyFile
(entry, targetSubdir, stripPrefix = null)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:848
↓ 1 callersFunctioncopyFixtureProject
(sourceDir: string, destinationDir: string)
packages/dev/codemods/src/s1-to-s2/__tests__/cli.e2e.test.ts:69
↓ 1 callersFunctioncopyFocusedDocs
(sourceDir, skillDir, docs)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:946
↓ 1 callersFunctioncorner
(a, b, diag)
packages/@react-spectrum/ai/src/loader/react.tsx:363
↓ 1 callersFunctioncountItems
(items: Iterable<Node<T>>)
packages/react-stately/src/collections/getItemCount.ts:26
↓ 1 callersFunctioncrc32
(arr: Uint8Array)
packages/dev/s2-docs/src/zip.tsx:22
↓ 1 callersFunctioncreateAnimationQueue
()
packages/dev/s2-docs/pages/react-aria/home/utils.ts:16
↓ 1 callersFunctioncreateArbitraryProperty
( fn: (value: T, property: string) => CSSProperties )
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:30
↓ 1 callersFunctioncreateBuildSettings
(options)
examples/s2-esbuild-starter-app/settings.mjs:4
↓ 1 callersFunctioncreateClient
(options: PluginOptions)
packages/dev/parcel-transformer-storybook/react-docgen-typescript.ts:230
↓ 1 callersFunctioncreateCollectionNodeClass
(type: string)
packages/react-aria/src/collections/CollectionBuilder.tsx:152
↓ 1 callersFunctioncreateColorProperty
( colors: PropertyValueMap<C>, property?: keyof CSSProperties )
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:65
↓ 1 callersFunctioncreateDOMRange
(root: Element, start: Position, end: Position)
packages/react-aria/src/tokenfield/useTokenField.ts:836
↓ 1 callersFunctioncreateElementWithDimensions
(elemName, dimensions, margins = {})
packages/react-aria/test/overlays/calculatePosition.test.ts:43
↓ 1 callersFunctioncreateEventHandler
( handler?: (e: BaseEvent<T>) => void )
packages/react-aria/src/interactions/createEventHandler.ts:20
↓ 1 callersFunctioncreateFakeYarn
(tempRoot: string)
packages/dev/codemods/src/s1-to-s2/__tests__/cli.e2e.test.ts:87
↓ 1 callersFunctioncreateFeed
(library, type, title)
scripts/createFeedS2.mjs:29
↓ 1 callersFunctioncreateFocusManagerForScope
(scopeRef: React.RefObject<Element[] | null>)
packages/react-aria/src/focus/FocusScope.tsx:221
↓ 1 callersFunctioncreateFocusableRef
( domRef: RefObject<D | null>, focusableRef?: RefObject<T | null> )
packages/@react-spectrum/ai/src/useDOMRef.ts:26
↓ 1 callersFunctioncreateImageGroup
()
packages/@react-spectrum/s2/src/ImageCoordinator.tsx:47
↓ 1 callersFunctioncreateImportDeclaration
( source: string, importKind: t.ImportSpecifier['importKind'], specifiers: t.ImportSpecifier[] )
packages/dev/codemods/src/use-subpaths/src/codemod.ts:36
↓ 1 callersMethodcreateLandmarkController
()
packages/react-aria/src/landmark/useLandmark.ts:47
↓ 1 callersMethodcreateLog
(ariaLive: string)
packages/react-aria/src/live-announcer/LiveAnnouncer.tsx:121
↓ 1 callersFunctioncreateNestedShadowRoot
(depth, currentDepth = 0)
packages/react-aria/test/overlays/ariaHideOutside.test.js:732
↓ 1 callersFunctioncreateOnChange
(value, defaultValue, onChange)
packages/react-stately/src/slider/useSliderState.ts:426
↓ 1 callersFunctioncreatePlaceholderDate
( placeholderValue: DateValue | null | undefined, granularity: string, calendar: Calendar, timeZone: s
packages/react-stately/src/datepicker/utils.ts:254
↓ 1 callersFunctioncreatePlugin
(locales = ['en-US'])
packages/dev/optimize-locales-plugin/test/LocalesPlugin.test.js:21
↓ 1 callersMethodcreateReader
()
packages/react-aria/test/dnd/mocks.js:60
↓ 1 callersFunctioncreateRecognizer
( ctor: SpeechRecognitionConstructor, lang: string, setup: RecognizerSetup )
packages/@react-spectrum/ai/src/useVoiceInput.ts:175
↓ 1 callersFunctioncreateService
(options: PluginOptions)
packages/dev/parcel-transformer-storybook/react-docgen-typescript.ts:20
↓ 1 callersFunctioncreateShadowRootAndRender
(ui)
packages/react-aria/test/interactions/useInteractOutside.shadow.test.js:29
↓ 1 callersFunctioncreateSkillArchive
* Package a skill directory as a `.tar.gz` archive at the well-known root, with `SKILL.md` * and any supporting files (references/, etc.) at the arch
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:1140
← previousnext →1,801–1,900 of 9,472, ranked by callers