MCPcopy Create free account

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

Functions8,660 in github.com/adobe/react-spectrum

↓ 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:1668
↓ 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:421
↓ 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 callersFunctioncount
perf/runner.mjs:485
↓ 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:838
↓ 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:237
↓ 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:429
↓ 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
↓ 1 callersFunctioncreateSpectrumSizingProperty
( property: string, values: PropertyValueMap<T> )
packages/@react-spectrum/s2/style/spectrum-theme.ts:488
↓ 1 callersFunctioncreateStackBlitz
( files: DownloadFiles['files'], deps: DownloadFiles['deps'], type: 'vanilla' | 'tailwind' | 's2' = 'van
packages/dev/s2-docs/src/StackBlitz.tsx:3
↓ 1 callersFunctioncreateTestingSheet
({v3PRs, s2PRs, racPRs, aiPRs, otherPRs, offPRs})
scripts/createExcelSheet.mjs:262
↓ 1 callersFunctioncreateTheme
( theme: T )
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:126
↓ 1 callersFunctioncreateTheme
( theme: T )
packages/@react-spectrum/s2/style/style-macro.ts:292
↓ 1 callersFunctioncreateTouchEvent
(target: FocusableElement, e: RTouchEvent<FocusableElement>)
packages/react-aria/src/interactions/usePress.ts:1080
↓ 1 callersFunctioncreateWritableDataTransfer
* Creates a DataTransfer wrapper that works around Chromium restrictions on synthetic events. * * Chromium silently ignores writes to effectAllowed
packages/@react-spectrum/s2/test/utils/dragAndDrop.ts:22
↓ 1 callersFunctioncross
(o: Point, a: Point, b: Point)
packages/react-aria/src/tooltip/useSafeArea.ts:129
↓ 1 callersFunctioncustomClipboardTypeUnsupported
()
packages/react-aria-components/test/TokenField.browser.test.tsx:75
↓ 1 callersFunctioncustomMenuItem
(item, strings)
packages/@adobe/react-spectrum/chromatic/menu/MenuTriggerLanguages.stories.tsx:55
↓ 1 callersFunctioncustomMenuItem
packages/@adobe/react-spectrum/stories/menu/MenuTrigger.stories.tsx:662
↓ 1 callersFunctioncustomOption
(item)
packages/@adobe/react-spectrum/chromatic/listbox/ListBox.stories.tsx:129
↓ 1 callersFunctioncustomOption
packages/@adobe/react-spectrum/stories/listbox/ListBox.stories.tsx:909
↓ 1 callersMethodcycle
* Increments or decrements the given field. If it is null, then it is set to the placeholder * value.
packages/react-stately/src/datepicker/IncompleteDate.ts:137
↓ 1 callersMethodcycle
* Returns a new `CalendarDate` with the given field adjusted by a specified amount. * When the resulting value reaches the limits of the field, it
packages/@internationalized/date/src/CalendarDate.ts:137
↓ 1 callersFunctioncycleValue
(value: number, amount: number, min: number, max: number, round = false)
packages/react-stately/src/datepicker/IncompleteDate.ts:340
↓ 1 callersFunctioncycleZoned
( dateTime: ZonedDateTime, field: DateField | TimeField, amount: number, options?: CycleTimeOptions )
packages/@internationalized/date/src/manipulation.ts:484
↓ 1 callersFunctiondataRows
(expected, direction)
perf/drivers.mjs:248
↓ 1 callersFunctiondayPeriodString
(formatter: DateFormatter, hour: number)
packages/react-aria/src/datepicker/useDateSegment.ts:429
↓ 1 callersFunctiondblClickAt
(textbox: Locator, node: Node, offset: number)
packages/react-aria-components/test/utils/tokenFieldBrowserUtils.tsx:113
↓ 1 callersFunctiondebounce
(func, delay)
packages/dev/parcel-transformer-storybook/csf-hmr.js:4
↓ 1 callersFunctiondebugLog
()
packages/dev/style-macro-chrome-plugin/src/content-script.js:6
↓ 1 callersFunctiondeclaresMargin
(style: CSSStyleDeclaration, prop: 'margin-top' | 'margin-bottom')
packages/@react-spectrum/ai/stories/prose.stories.tsx:534
↓ 1 callersFunctiondecorator
(storyFn, context)
packages/@adobe/react-spectrum/stories/list/ListView.stories.tsx:103
↓ 1 callersMethoddecrementPage
* Decrements the given segment by a larger amount, rounding it to the nearest increment. * The amount to decrement by depends on the field, for exa
packages/react-stately/src/datepicker/useDateFieldState.ts:124
↓ 1 callersFunctiondecrementThumb
(index: number, stepSize: number = 1)
packages/react-stately/src/slider/useSliderState.ts:380
↓ 1 callersMethoddecrementThumb
* Decrements the value of the thumb by the step or page amount.
packages/react-stately/src/slider/useSliderState.ts:182
↓ 1 callersMethoddecrementToMin
Sets the current value to the minimum color value, and fires `onChange`.
packages/react-stately/src/color/useColorFieldState.ts:71
↓ 1 callersFunctiondecrementX
(stepSize = 1)
packages/react-stately/src/color/useColorAreaState.ts:222
↓ 1 callersMethoddecrementX
Decrements the value of the horizontal axis channel by the channel step or page amount.
packages/react-stately/src/color/useColorAreaState.ts:78
↓ 1 callersFunctiondecrementY
(stepSize = 1)
packages/react-stately/src/color/useColorAreaState.ts:225
↓ 1 callersMethoddecrementY
Decrements the value of the vertical axis channel by the channel step or page amount.
packages/react-stately/src/color/useColorAreaState.ts:83
↓ 1 callersFunctiondefaultGetDropOperation
(target, items, allowedOperations)
packages/react-aria/stories/dnd/DroppableGrid.tsx:166
↓ 1 callersFunctiondeferred
()
packages/react-aria-components/test/Dialog.test.js:361
↓ 1 callersFunctiondefinePointerEvent
()
packages/@react-aria/test-utils/src/testSetup.ts:38
↓ 1 callersFunctiondegToRad
(deg: number)
packages/react-stately/src/color/useColorWheelState.ts:94
↓ 1 callersFunctiondeleteNode
(node: TreeNode<T>, map: Map<Key, TreeNode<T>>)
packages/react-stately/src/data/useTreeData.ts:269
↓ 1 callersFunctiondescribeInteractions
(name, tests)
packages/react-aria-components/test/AriaMenu.test-util.tsx:18
↓ 1 callersFunctiondescribeInteractions
(name, tests)
packages/react-aria-components/test/AriaTree.test-util.tsx:18
↓ 1 callersFunctiondestroyAnnouncer
()
packages/react-aria/src/live-announcer/LiveAnnouncer.tsx:71
↓ 1 callersFunctiondetectPackageManager
()
packages/dev/codemods/src/s1-to-s2/src/utils/installPackage.ts:7
↓ 1 callersFunctiondetected
perf/confirm.mjs:14
↓ 1 callersFunctiondiagnose
(browser, server, result, dir, isInterrupted)
perf/runner.mjs:238
↓ 1 callersFunctiondiffSelection
(a: Selection, b: Selection)
packages/react-aria/src/grid/useGridSelectionAnnouncement.ts:139
↓ 1 callersFunctiondirToTitle
(dir)
packages/dev/docs/src/Layout.js:171
↓ 1 callersFunctiondisablePendingProps
(props)
packages/@adobe/react-spectrum/src/button/Button.tsx:56
↓ 1 callersMethoddismiss
* A handler to programmatically dismiss the dialog.
packages/@react-spectrum/s2/src/DialogContainer.tsx:70
↓ 1 callersFunctiondispose
()
packages/react-aria/src/landmark/useLandmark.ts:521
↓ 1 callersFunctiondistance
(a, b)
scripts/convertAnatomy.js:52
↓ 1 callersFunctiondownload
(url, dest)
scripts/compareSize.js:87
↓ 1 callersFunctiondragAndDrop
( source: Element, target: Element, options?: DragAndDropOptions )
packages/@react-spectrum/s2/test/utils/dragAndDrop.ts:93
↓ 1 callersFunctiondragBetweenLists
(sourceRows, dropTarget, targetX = 1, targetY = 1)
packages/@adobe/react-spectrum/test/table/TableDnd.test.js:865
← previousnext →1,901–2,000 of 8,660, ranked by callers