MCPcopy Create free account

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

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

↓ 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:519
↓ 1 callersFunctioncompleteTool
(details: string)
packages/@react-spectrum/ai/stories/Chat.stories.tsx:254
↓ 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 callersFunctioncomputeHasOverflow
()
packages/@adobe/react-spectrum/src/buttongroup/ButtonGroup.tsx:64
↓ 1 callersFunctioncomputeHasOverflow
()
packages/@react-spectrum/s2/src/ButtonGroup.tsx:131
↓ 1 callersFunctioncomputePosition
( childOffset: Offset, boundaryDimensions: Dimensions, overlaySize: Offset, placementInfo: ParsedPlace
packages/react-aria/src/overlays/calculatePosition.ts:265
↓ 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:144
↓ 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:1478
↓ 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:306
↓ 1 callersFunctionconvertValue
(value: Key | readonly Key[] | null | undefined)
packages/react-stately/src/combobox/useComboBoxState.ts:687
↓ 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:417
↓ 1 callersFunctionconvertValue
(value: Key | Key[] | null | undefined)
packages/react-stately/src/select/useSelectState.ts:272
↓ 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 callersFunctioncopyAdditionalReferenceLibraries
(skillConfig, skillDir)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:840
↓ 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:765
↓ 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:859
↓ 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/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:150
↓ 1 callersFunctioncreateColorProperty
( colors: PropertyValueMap<C>, property?: keyof CSSProperties )
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:65
↓ 1 callersFunctioncreateDOMRef
( ref: RefObject<T | null> )
packages/@react-spectrum/ai/src/useDOMRef.ts:16
↓ 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:220
↓ 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:724
↓ 1 callersFunctioncreateOnChange
(value, defaultValue, onChange)
packages/react-stately/src/slider/useSliderState.ts:425
↓ 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:17
↓ 1 callersMethodcreateReader
()
packages/react-aria/test/dnd/mocks.js:60
↓ 1 callersFunctioncreateService
(options: PluginOptions)
packages/dev/parcel-transformer-storybook/react-docgen-typescript.ts:20
↓ 1 callersFunctioncreateShadowRootAndRender
(ui)
packages/react-aria/test/interactions/useInteractOutside.test.js:450
↓ 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, otherPRs, offPRs})
scripts/createExcelSheet.mjs:258
↓ 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:286
↓ 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 callersFunctioncustomMenuItem
(item, strings)
packages/@adobe/react-spectrum/chromatic/menu/MenuTriggerLanguages.stories.tsx:55
↓ 1 callersFunctioncustomMenuItem
packages/@adobe/react-spectrum/stories/menu/MenuTrigger.stories.tsx:723
↓ 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 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 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 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 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:268
↓ 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 callersFunctiondetectPackageManager
()
packages/dev/codemods/src/s1-to-s2/src/utils/installPackage.ts:7
↓ 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
← previousnext →1,701–1,800 of 8,778, ranked by callers