MCPcopy Create free account

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

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

↓ 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:288
↓ 1 callersFunctioncreateTouchEvent
(target: FocusableElement, e: RTouchEvent<FocusableElement>)
packages/react-aria/src/interactions/usePress.ts:1059
↓ 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:74
↓ 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 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:532
↓ 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:377
↓ 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 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
↓ 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
↓ 1 callersFunctiondragBetweenLists
(sourceRows, dropTarget, targetX = 1, targetY = 1)
packages/@adobe/react-spectrum/test/list/ListViewDnd.test.js:1143
↓ 1 callersFunctiondragWithinList
(rows, dropTarget, targetX = 1, targetY = 1)
packages/@adobe/react-spectrum/test/table/TableDnd.test.js:821
↓ 1 callersFunctiondragWithinList
(rows, dropTarget, targetX = 1, targetY = 1)
packages/@adobe/react-spectrum/test/list/ListViewDnd.test.js:1096
↓ 1 callersFunctiondynamicRenderFunc
(item, args)
packages/react-aria-components/stories/Menu.stories.tsx:255
↓ 1 callersFunctiondynamicRenderItem
packages/react-aria-components/stories/Autocomplete.stories.tsx:360
↓ 1 callersFunctiondynamicRenderItem
(item, Icon)
packages/@adobe/react-spectrum/chromatic/menu/Submenu.stories.tsx:146
↓ 1 callersFunctiondynamicRenderItem
(item, Icon)
packages/@adobe/react-spectrum/stories/menu/Submenu.stories.tsx:289
↓ 1 callersFunctiondynamicRenderTrigger
(item: ItemNode)
packages/react-aria-components/stories/Autocomplete.stories.tsx:311
↓ 1 callersFunctiondynamicRenderTrigger
(item: ItemNode, Icon)
packages/@adobe/react-spectrum/chromatic/menu/Submenu.stories.tsx:136
↓ 1 callersFunctiondynamicRenderTrigger
(item: ItemNode, Icon)
packages/@adobe/react-spectrum/stories/menu/Submenu.stories.tsx:277
↓ 1 callersFunctionemitProperties
(properties: Record<string, any>, indent: string)
packages/@react-spectrum/ai/src/style/prose.ts:221
↓ 1 callersFunctionemitStackChange
()
packages/react-aria-components/src/Sheet.tsx:166
↓ 1 callersMethodendDrag
Ends the current drag, and emits an onDragEnd event.
packages/react-stately/src/dnd/useDraggableCollectionState.ts:67
↓ 1 callersFunctionendDragging
()
packages/react-aria/src/dnd/DragManager.ts:121
↓ 1 callersFunctionendLine
()
packages/dev/s2-docs/src/Code.tsx:201
↓ 1 callersFunctionendOfYear
(date: DateValue)
packages/@internationalized/date/src/queries.ts:198
↓ 1 callersFunctionendResizeEvent
()
packages/react-aria/src/table/useTableColumnResize.ts:152
↓ 1 callersFunctionenforceConsistentDependenciesAcrossTheProject
* This rule will enforce that a workspace MUST depend on the same version of * a dependency as the one used by the other workspaces. * * @param {Co
yarn.config.cjs:17
↓ 1 callersFunctionenforceDevMirroringPeerDependencies
({Yarn})
yarn.config.cjs:263
↓ 1 callersFunctionenforceExports
@param {Context} context
yarn.config.cjs:242
↓ 1 callersFunctionenforceNoCircularDependencies
@param {Context} context
yarn.config.cjs:92
↓ 1 callersFunctionenforceNonPrivateDependencies
@param {Context} context
yarn.config.cjs:77
↓ 1 callersFunctionenforcePublishing
@param {Context} context
yarn.config.cjs:217
↓ 1 callersFunctionenforceWorkspaceDependencies
@param {Context} context
yarn.config.cjs:144
↓ 1 callersFunctionensure
(name: string)
packages/dev/parcel-reporter-turbosnap-stats/helpers.ts:86
↓ 1 callersFunctionensureDir
(p)
packages/dev/mcp/s2/scripts/build-data.mjs:27
↓ 1 callersFunctionensureMarkdownDocs
* Ensure markdown docs are generated.
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:180
↓ 1 callersFunctionensureParsedPage
(info: PageInfo)
packages/dev/mcp/shared/src/page-manager.ts:49
↓ 1 callersFunctionenter
packages/react-aria-components/test/Sheet.test.js:586
↓ 1 callersFunctionequalSets
(setA, setB)
packages/react-stately/src/selection/useMultipleSelectionState.ts:26
↓ 1 callersFunctionescape
(string)
packages/@internationalized/string-compiler/src/stringCompiler.js:110
↓ 1 callersFunctionescapeCSV
(value)
scripts/getCommitsForTesting.mjs:286
↓ 1 callersFunctionescapeRegex
(string: string)
packages/@internationalized/number/src/NumberParser.ts:422
↓ 1 callersFunctionevaluateStylePropertiesNode
* Recursively evaluates a Babel AST node to extract its runtime value. * This function statically evaluates TS/JS expressions from the AST. * * Exa
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:434
↓ 1 callersFunctionevent
packages/react-aria/test/combobox/useComboBox.test.js:24
↓ 1 callersFunctionevent
packages/react-aria/test/searchfield/useSearchField.test.js:62
↓ 1 callersFunctionevent
packages/react-aria/test/autocomplete/useSearchAutocomplete.test.js:22
↓ 1 callersFunctionevent
(e: Partial<PressEvent>)
packages/react-aria/test/disclosure/useDisclosure.test.ts:70
↓ 1 callersFunctionexists
(deps, name)
packages/dev/eslint-plugin-rsp-rules/rules/imports.js:124
↓ 1 callersFunctionexists
(f)
scripts/buildIcons.js:78
↓ 1 callersMethodexpand
Expand the disclosure.
packages/react-stately/src/disclosure/useDisclosureState.ts:31
↓ 1 callersMethodexpand
Expand the accordion item.
packages/@react-spectrum/s2/src/Accordion.tsx:106
↓ 1 callersFunctionexpandSpaceShorthand
( prop: string, rawValue: string, convertFn: (val: string | number, type: 'space' | 'size' | 'px') => an
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/styleProps.ts:577
↓ 1 callersFunctionexpectCaret
(value: TokenFieldValue, pos: Position)
packages/react-aria-components/test/utils/tokenFieldBrowserUtils.tsx:58
↓ 1 callersFunctionexpectDOMText
Asserts the user-visible DOM text, which can diverge from the model after a composition.
packages/react-aria-components/test/TokenField.composition.browser.test.tsx:81
↓ 1 callersFunctionexpectMenuItemToBeActive
(tree, idx, selectionMode)
packages/@adobe/react-spectrum/test/menu/MenuTrigger.test.js:548
↓ 1 callersFunctionexpectMoveError
(result, action)
packages/react-stately/test/data/useTreeData.test.js:917
↓ 1 callersFunctionexpectNotFocused
(...labels)
packages/react-aria-components/test/RadioGroup.test.js:506
↓ 1 callersFunctionexpectPlaceholder
(el, placeholder)
packages/@adobe/react-spectrum/test/datepicker/DatePicker.test.js:57
↓ 1 callersFunctionexpectPlaceholder
(el, placeholder)
packages/@adobe/react-spectrum/test/datepicker/DateRangePicker.test.js:73
↓ 1 callersFunctionexpectProjectToMatchFixture
(projectDir: string, fixtureName: string)
packages/dev/codemods/src/s1-to-s2/__tests__/cli.e2e.test.ts:52
↓ 1 callersFunctionextract
(table)
scripts/generateAllPlurals.mjs:80
↓ 1 callersFunctionextractCellText
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:3082
← previousnext →1,901–2,000 of 9,472, ranked by callers