MCPcopy Create free account

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

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

↓ 1 callersFunctionsetColorFromPoint
(x: number, y: number)
packages/react-stately/src/color/useColorAreaState.ts:185
↓ 1 callersMethodsetColorFromPoint
* Sets the x and y channels of the current color value based on a percentage of the width and * height of the color area, and triggers `onChange`.
packages/react-stately/src/color/useColorAreaState.ts:68
↓ 1 callersMethodsetDate
Sets the date portion of either the start or end of the selected range.
packages/react-stately/src/datepicker/useDateRangePickerState.ts:70
↓ 1 callersFunctionsetDateRange
(range: RangeValue<DateValue | null>)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:173
↓ 1 callersMethodsetDateTime
Sets the date and time of either the start or end of the selected range.
packages/react-stately/src/datepicker/useDateRangePickerState.ts:74
↓ 1 callersFunctionsetDraggingCollectionRef
(ref: RefObject<HTMLElement | null>)
packages/react-aria/src/dnd/utils.ts:389
↓ 1 callersFunctionsetDraggingKeys
(keys: Set<Key>)
packages/react-aria/src/dnd/utils.ts:393
↓ 1 callersFunctionsetDraggings
(draggings: boolean[])
packages/react-stately/src/slider/useSliderState.ts:273
↓ 1 callersFunctionsetFilterText
(filterText: string)
packages/react-stately/src/data/useListData.ts:240
↓ 1 callersMethodsetFocused
Sets whether the select is focused.
packages/react-stately/src/combobox/useComboBoxState.ts:168
↓ 1 callersMethodsetFocused
Sets whether focus is currently within the calendar.
packages/react-stately/src/calendar/types.ts:159
↓ 1 callersMethodsetFocusedNodeId
Sets the id of the current aria-activedescendant of the autocomplete input.
packages/react-stately/src/autocomplete/useAutocompleteState.ts:24
↓ 1 callersFunctionsetGlobalDnDState
(state: DnDState)
packages/react-aria/src/dnd/utils.ts:405
↓ 1 callersFunctionsetGlobalIgnoreEmulatedMouseEvents
()
packages/react-aria/src/interactions/useHover.ts:42
↓ 1 callersMethodsetHue
Sets the hue channel of the current color value and triggers `onChange`.
packages/react-stately/src/color/useColorWheelState.ts:45
↓ 1 callersMethodsetInvalid
Sets whether one of the checkboxes is invalid.
packages/react-stately/src/checkbox/useCheckboxGroupState.ts:84
↓ 1 callersFunctionsetNavigationPromise
(promise: Promise<void> | null, pathname?: string)
packages/dev/s2-docs/src/Router.tsx:33
↓ 1 callersMethodsetPoint
Sets the cursor position relative to the window viewport.
packages/react-stately/src/overlays/useOverlayTriggerState.ts:44
↓ 1 callersMethodsetProps
(v: Props)
packages/dev/s2-docs/src/VisualExampleClient.tsx:80
↓ 1 callersFunctionsetRef
(ref: Ref<T> | MutableRefObject<T> | null | undefined, value: T)
packages/react-aria/src/utils/mergeRefs.ts:48
↓ 1 callersFunctionsetRules
(key: string, value: [number, Rule[]])
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:147
↓ 1 callersFunctionsetRules
(key: string, value: [number, Rule[]])
packages/@react-spectrum/s2/style/style-macro.ts:322
↓ 1 callersFunctionsetScrollLeft
(node: Element, direction: Direction, scrollLeft: number)
packages/react-aria/src/virtualizer/utils.ts:86
↓ 1 callersMethodsetSelectedKeys
Replaces the set of selected keys.
packages/react-stately/src/toggle/useToggleGroupState.ts:53
↓ 1 callersMethodsetThumbEditable
* Set the specified thumb's editable state. * * @param index * @param editable
packages/react-stately/src/slider/useSliderState.ts:173
↓ 1 callersFunctionsetThumbPercent
(index: number, percent: number)
packages/react-stately/src/slider/useSliderState.ts:362
↓ 1 callersFunctionsetTimeRange
(range: RangeValue<TimeValue | null>)
packages/react-stately/src/datepicker/useDateRangePickerState.ts:198
↓ 1 callersMethodsetTimeValue
Sets the time portion of the value.
packages/react-stately/src/datepicker/useDatePickerState.ts:63
↓ 1 callersFunctionsetTouchCapable
()
packages/react-aria-components/test/PreviewTrigger.test.js:308
↓ 1 callersFunctionsetValue
(value: Color)
packages/react-stately/src/color/useColorWheelState.ts:144
↓ 1 callersFunctionsetValueExternal
()
packages/react-aria-components/test/TokenField.composition.browser.test.tsx:389
↓ 1 callersMethodsetXValue
* Sets the value for the horizontal axis channel displayed by the color area, and triggers * `onChange`.
packages/react-stately/src/color/useColorAreaState.ts:54
↓ 1 callersMethodsetYValue
* Sets the value for the vertical axis channel displayed by the color area, and triggers * `onChange`.
packages/react-stately/src/color/useColorAreaState.ts:62
↓ 1 callersFunctionsetZoned
( dateTime: ZonedDateTime, fields: DateFields & TimeFields, disambiguation?: Disambiguation )
packages/@internationalized/date/src/manipulation.ts:561
↓ 1 callersFunctionsetupGlobalEvents
()
packages/react-aria/src/utils/keyboard.tsx:258
↓ 1 callersFunctionsetupGlobalEvents
()
packages/react-aria/src/utils/runAfterTransition.ts:87
↓ 1 callersFunctionsetupGridLayout
* Creates a minimal mock virtualizer and collection, then calls layout.update() * so the layout has valid internal state for testing getDropTargetFro
packages/react-stately/test/virtualizer/GridLayout.test.ts:22
↓ 1 callersFunctionsetupListLayout
* Creates a minimal mock virtualizer and collection, then calls layout.update() * so the layout has valid internal state for testing getDropTargetFro
packages/react-stately/test/virtualizer/ListLayout.test.ts:22
↓ 1 callersFunctionsetupShadowDOMTest
(extraProps = {}, isDraggable = false)
packages/react-aria/test/interactions/usePress.test.js:4431
↓ 1 callersFunctionsha256Digest
(filePath)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:1130
↓ 1 callersFunctionshadowToken
( name: 'drop-shadow-emphasized' | 'drop-shadow-elevated' | 'drop-shadow-dragged' )
packages/@react-spectrum/s2/style/tokens.ts:227
↓ 1 callersFunctionsharedPageTools
(libraryLabel, toolPrefix)
packages/dev/s2-docs/scripts/generateMcpb.mjs:11
↓ 1 callersFunctionshiftClick
packages/@adobe/react-spectrum/test/table/TreeGridTable.test.tsx:91
↓ 1 callersFunctionshortName
(key, value)
packages/@adobe/react-spectrum/chromatic/table/TreeGridTable.stories.tsx:51
↓ 1 callersFunctionshortName
(key, value)
packages/@adobe/react-spectrum/chromatic/table/TableView.stories.tsx:43
↓ 1 callersFunctionshortName
(key, value)
packages/@adobe/react-spectrum/chromatic/list/ListView.stories.tsx:44
↓ 1 callersFunctionshortName
(key, value)
packages/@adobe/react-spectrum/chromatic/tree/TreeView.stories.tsx:50
↓ 1 callersMethodshouldInvalidateEverything
(invalidationContext: InvalidationContext<O>)
packages/react-stately/src/layout/ListLayout.ts:303
↓ 1 callersMethodshouldInvalidateEverything
(invalidationContext: InvalidationContext<O>)
packages/@react-spectrum/ai/src/ListLayout.ts:386
↓ 1 callersMethodshouldInvalidateLayoutOptions
(newOptions: O, oldOptions: O)
packages/react-stately/src/layout/ListLayout.ts:316
↓ 1 callersFunctionshouldInvalidateReactRefreshBoundary
(prevExports, nextExports)
packages/dev/parcel-transformer-storybook/csf-hmr.js:82
↓ 1 callersFunctionshouldMerge
(t, k, keyStack)
packages/dev/parcel-packager-docs/DocsPackager.js:246
↓ 1 callersFunctionshouldPreventDefaultUp
(target: Element)
packages/react-aria/src/interactions/usePress.ts:1169
↓ 1 callersFunctionshouldTransformElement
( componentName: string, path: NodePath<t.JSXElement>, selection: ComponentSelection )
packages/dev/codemods/src/s1-to-s2/src/codemods/codemod.ts:168
↓ 1 callersFunctionsigned
perf/confirm.mjs:85
↓ 1 callersFunctionsignedRankCdf
(n)
perf/report.mjs:137
↓ 1 callersFunctionsimpleColorScale
( scale: S )
packages/@react-spectrum/s2/style/tokens.ts:105
↓ 1 callersMethodsize
()
packages/react-aria/src/focus/FocusScope.tsx:1073
↓ 1 callersFunctionskipOffscreenTravel
(scroller: HTMLElement, content: HTMLElement, axis: Axis, vp: number)
packages/react-aria-components/src/Sheet.tsx:1140
↓ 1 callersFunctionsleep
(ms: number)
packages/dev/s2-docs/pages/react-aria/home/utils.ts:61
↓ 1 callersFunctionslice
(name, start, end, tid = 1)
perf/test/trace.test.mjs:13
↓ 1 callersFunctionsmoke
(options)
perf/runner.mjs:507
↓ 1 callersFunctionsnapshot
()
perf/test/layout.test.mjs:13
↓ 1 callersFunctionsoftAssert
(val, message)
scripts/lint-packages.js:26
↓ 1 callersFunctionsort
({items, sortDescriptor})
packages/@react-spectrum/s2/stories/TableView.stories.tsx:1340
↓ 1 callersFunctionsortItemsForDisplay
( items: T[], searchValue: string )
packages/dev/s2-docs/src/searchUtils.tsx:699
↓ 1 callersFunctionsortOverview
(pages: Page[])
packages/dev/s2-docs/src/Nav.tsx:197
↓ 1 callersFunctionsortProps
(doc: ComponentDoc)
packages/dev/parcel-transformer-storybook/react-docgen-typescript.ts:202
↓ 1 callersFunctionsortSectionPages
(pages: Page[])
packages/dev/s2-docs/src/Nav.tsx:181
↓ 1 callersFunctionsortUnionMembers
(text)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:396
↓ 1 callersFunctionspace
(this: MacroContext | void, px: number)
packages/@react-spectrum/s2/style/spectrum-theme.ts:424
↓ 1 callersFunctionspecificity
(selector: string)
packages/@react-spectrum/ai/stories/prose.stories.tsx:572
↓ 1 callersMethodsplitColumnsIntoControlledAndUncontrolled
* Takes an array of columns and splits it into 2 maps of columns with controlled and columns with * uncontrolled widths.
packages/react-stately/src/table/TableColumnLayout.ts:40
↓ 1 callersFunctionsplitSelectorList
(text: string)
packages/@react-spectrum/ai/stories/prose.stories.tsx:545
↓ 1 callersFunctionsplitTopLevelUnion
(text)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:294
↓ 1 callersFunctionsrgbToLinear
(c: number)
packages/@react-spectrum/ai/src/tokens.macro.ts:8
↓ 1 callersFunctionstartAnimation
()
packages/dev/s2-docs/pages/react-aria/blog/SubmenuAnimation.tsx:40
↓ 1 callersFunctionstartAnimation
()
packages/dev/s2-docs/pages/s2/home/SubmenuAnimation.tsx:40
↓ 1 callersMethodstartDrag
Begins a drag for the given key. This triggers the onDragStart event.
packages/react-stately/src/dnd/useDraggableCollectionState.ts:63
↓ 1 callersFunctionstartDragging
()
packages/react-aria/src/calendar/useCalendarCell.ts:242
↓ 1 callersFunctionstartEnterScroll
()
packages/react-aria-components/src/Sheet.tsx:392
↓ 1 callersFunctionstartListening
(harness: { user: Harness['user']; micButton: () => HTMLElement; })
packages/@react-spectrum/ai/test/PromptFieldVoiceButton.test.tsx:118
↓ 1 callersFunctionstartObserving
()
packages/dev/style-macro-chrome-plugin/src/devtool.js:122
↓ 1 callersFunctionstartReorder
({page})
perf/drivers.mjs:147
↓ 1 callersFunctionstartToolGroup
(label: string)
packages/dev/s2-docs/pages/s2/ai-component-helpers/chat.tsx:90
↓ 1 callersFunctionstartToolGroup
(label: string)
packages/@react-spectrum/ai/stories/Chat.stories.tsx:276
↓ 1 callersFunctionstops
(generating: string, state: string, variant: string)
packages/@react-spectrum/ai/src/tokens.macro.ts:132
↓ 1 callersFunctionstreamText
(content: string)
packages/dev/s2-docs/pages/s2/ai-component-helpers/chat.tsx:152
↓ 1 callersFunctionstreamText
(content: string, sources?: string[])
packages/@react-spectrum/ai/stories/Chat.stories.tsx:343
↓ 1 callersFunctionstringLiteralValue
(text)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:332
↓ 1 callersFunctionstripAbsNodeModulesPath
* Strip the absolute path prefix up to and including `node_modules`, returning * a bare specifier the bundler can resolve. (Storybook 10 no longer ex
packages/dev/storybook-builder-parcel/gen-preview-modern.mjs:27
↓ 1 callersFunctionstripMacro
(css)
packages/@react-spectrum/s2/style/__tests__/mergeStyles.test.ts:16
↓ 1 callersFunctionstripMarkdown
(description: string | undefined)
packages/dev/s2-docs/src/searchUtils.tsx:135
↓ 1 callersFunctionstripMarkdown
(description)
packages/dev/docs/src/BasePage.js:9
↓ 1 callersFunctionstripMarkdown
(description)
packages/dev/docs/src/Layout.js:179
↓ 1 callersFunctionstripQueryParams
(id: string)
packages/dev/parcel-reporter-turbosnap-stats/helpers.ts:25
↓ 1 callersFunctionsubscribe
(onStoreChange: () => void)
packages/react-aria/src/ssr/SSRProvider.tsx:199
↓ 1 callersFunctionsubscribe
(fn: () => void)
packages/react-aria/src/landmark/useLandmark.ts:93
↓ 1 callersMethodsubscribe
Subscribes to updates to the visible toasts.
packages/react-stately/src/toast/useToastState.ts:111
↓ 1 callersFunctionsubtractTime
(time: Time, duration: TimeDuration)
packages/@internationalized/date/src/manipulation.ts:280
← previousnext →3,201–3,300 of 8,660, ranked by callers