MCPcopy Create free account

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

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

↓ 2 callersFunctionbackspace
()
packages/react-aria/src/datepicker/useDateSegment.ts:109
↓ 2 callersMethodbalanceDate
@private
packages/@internationalized/date/src/types.ts:111
↓ 2 callersFunctionbalanceYearMonth
(date: Mutable<AnyCalendarDate>)
packages/@internationalized/date/src/manipulation.ts:118
↓ 2 callersMethodbalanceYearMonth
@private
packages/@internationalized/date/src/types.ts:113
↓ 2 callersFunctionbar
()
packages/@react-spectrum/s2/src/bar-utils.ts:16
↓ 2 callersFunctionblobToString
(blob: Blob)
packages/react-aria/src/dnd/utils.ts:296
↓ 2 callersFunctionbuildHeaderRows
( keyMap: Map<Key, GridNode<T>>, columnNodes: GridNode<T>[] )
packages/react-stately/src/table/TableCollection.ts:46
↓ 2 callersFunctionbuildPageIndex
(library: Library)
packages/dev/mcp/shared/src/page-manager.ts:13
↓ 2 callersMethodbuildRowGroup
(y: number, node: GridNode<T>)
packages/react-stately/src/layout/TableLayout.ts:382
↓ 2 callersMethodbuildSectionHeader
(node: Node<T>, x: number, y: number)
packages/react-stately/src/layout/ListLayout.ts:578
↓ 2 callersFunctioncalculateColumnSizes
( availableWidth: number, columns: IColumn[], changedColumns: Map<Key, ColumnSize>, getDefaultWidth?:
packages/react-stately/src/table/TableUtils.ts:109
↓ 2 callersMethodcanSelectItemIn
(key: Key, collection: Collection<Node<unknown>>)
packages/react-stately/src/selection/SelectionManager.ts:514
↓ 2 callersFunctioncapitalize
(string: string)
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/utils.ts:65
↓ 2 callersFunctioncategorizeEntries
* Categorize documentation entries by reading section exports from MDX files.
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:394
↓ 2 callersMethodcheckLabels
* Warn if there are 2+ landmarks with the same role but no label. * Labels for landmarks with the same role must also be unique. * * See http
packages/react-aria/src/landmark/useLandmark.ts:237
↓ 2 callersFunctioncheckPositionCommon
( title, expected, placement, targetDimension, boundaryDimensions, offset, crossOf
packages/react-aria/test/overlays/calculatePosition.test.ts:104
↓ 2 callersFunctionclassNamePrefix
(property: string, cssProperty: string)
packages/@react-spectrum/s2/style/style-macro.ts:267
↓ 2 callersFunctionclearGlobalDnDState
()
packages/react-aria/src/dnd/utils.ts:401
↓ 2 callersMethodclearSelection
Clears the current selection.
packages/react-stately/src/calendar/types.ts:227
↓ 2 callersFunctioncloseOpenTooltips
()
packages/react-stately/src/tooltip/useTooltipTriggerState.ts:91
↓ 2 callersFunctioncolorScale
( scale: S )
packages/@react-spectrum/s2/style/tokens.ts:79
↓ 2 callersFunctioncolorToken
(name: TokenName)
packages/@react-spectrum/s2/style/tokens.ts:37
↓ 2 callersFunctioncolorTokenToString
(token: ColorToken, opacity?: string | number)
packages/@react-spectrum/s2/style/spectrum-theme.ts:153
↓ 2 callersFunctioncolorValue
(value: ColorValue, type: ColorType = 'default', version = 5)
packages/@adobe/react-spectrum/src/utils/styleProps.ts:177
↓ 2 callersFunctioncommentIfParentCollectionNotDetected
(path: NodePath<t.JSXElement>)
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/transforms.ts:553
↓ 2 callersFunctioncommit
()
packages/react-stately/src/color/useColorFieldState.ts:135
↓ 2 callersFunctioncommitCustomValue
()
packages/react-stately/src/combobox/useComboBoxState.ts:517
↓ 2 callersFunctioncommitValidation
()
packages/react-stately/src/form/useFormValidationState.ts:167
↓ 2 callersFunctioncommitValue
()
packages/react-stately/src/combobox/useComboBoxState.ts:552
↓ 2 callersFunctioncompareTime
(a: AnyTime, b: AnyTime)
packages/@internationalized/date/src/queries.ts:117
↓ 2 callersFunctioncompileParts
(parts, inline = false, pluralValue = '')
packages/@internationalized/string-compiler/src/stringCompiler.js:34
↓ 2 callersFunctioncompileSVG
(file, componentName = 'IconComponent')
packages/@spectrum-icons/build-tools/compileSVG.js:15
↓ 2 callersFunctionconditionalToRules
( value: PropertyValueDefinition<P>, parentPriority: number, currentConditions: Set<string>, s
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:240
↓ 2 callersFunctionconditionalToRules
( value: PropertyValueDefinition<P>, parentPriority: number, currentConditions: Set<string>, s
packages/@react-spectrum/s2/style/style-macro.ts:535
↓ 2 callersFunctionconstrainMonthDay
(date: Mutable<AnyCalendarDate>)
packages/@internationalized/date/src/manipulation.ts:145
↓ 2 callersFunctionconstrainTime
(time: Mutable<AnyTime>)
packages/@internationalized/date/src/manipulation.ts:251
↓ 2 callersMethodcontainsRect
* Returns whether this rectangle fully contains another rectangle. * * @param rect - The rectangle to check.
packages/react-stately/src/virtualizer/Rect.ts:111
↓ 2 callersFunctionconvertColor
( property: string, value: string, colorVersion: number | null )
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/colors.ts:241
↓ 2 callersFunctionconvertDimensionValueToPx
( path: NodePath<t.JSXElement>, options: { propName: string; } )
packages/dev/codemods/src/s1-to-s2/src/codemods/shared/transforms.ts:774
↓ 2 callersFunctionconvertStyleProps
( props: ViewStyleProps<C>, handlers: StyleHandlers, direction: Direction, matchedBreakpoints: Breakpo
packages/@adobe/react-spectrum/src/utils/styleProps.ts:233
↓ 2 callersFunctionconvertValue
( value: DateValue | null | undefined, calendar: Calendar )
packages/react-stately/src/datepicker/utils.ts:239
↓ 2 callersFunctioncopyDirectory
(from, to)
packages/dev/s2-docs/scripts/generateMcpb.mjs:271
↓ 2 callersFunctioncopyDocsDocumentation
* Copy documentation files to the skill's references directory.
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:744
↓ 2 callersFunctioncreateCalendar
(name: CalendarIdentifier)
packages/@internationalized/date/src/createCalendar.ts:33
↓ 2 callersFunctioncreateDOMRange
(root: Element, start: Position, end: Position)
packages/@react-spectrum/ai/src/TokenField.tsx:643
↓ 2 callersFunctioncreateDOMRef
( ref: RefObject<T | null> )
packages/@react-spectrum/s2/src/useDOMRef.ts:16
↓ 2 callersFunctioncreateDirectoryItem
(entry: any)
packages/react-aria/src/dnd/utils.ts:326
↓ 2 callersFunctioncreateFileItem
(file: File | null)
packages/react-aria/src/dnd/utils.ts:313
↓ 2 callersFunctioncreateFocusableRef
( domRef: RefObject<T | null>, focusableRef: RefObject<FocusableElement | null> = domRef )
packages/@adobe/react-spectrum/src/utils/useDOMRef.ts:33
↓ 2 callersFunctioncreateListActions
( opts: CreateListOptions<T, C>, dispatch: (updater: (state: ListState<T>) => ListState<T>) => void )
packages/react-stately/src/data/useListData.ts:188
↓ 2 callersFunctioncreateMappedProperty
( fn: (value: string, property: string) => CSSProperties, values: PropertyValueMap<T> | string[] )
packages/@react-spectrum/style-macro-s1/src/style-macro.ts:41
↓ 2 callersFunctioncreateParcel
(options, isDev = false)
packages/dev/storybook-builder-parcel/preset.mjs:108
↓ 2 callersFunctioncreatePublicExports
(file, monopackage, scope, pkg)
scripts/migrateDeps.mjs:921
↓ 2 callersFunctioncreateSearchOptions
()
packages/dev/s2-docs/src/searchUtils.tsx:733
↓ 2 callersMethodcurrent
()
packages/@adobe/react-spectrum/test/actiongroup/ActionGroup.test.js:59
↓ 2 callersFunctioncustomMenuItem
(item)
packages/@adobe/react-spectrum/chromatic/menu/MenuTrigger.stories.tsx:148
↓ 2 callersMethodcycle
* Returns a new `Time` with the given field adjusted by a specified amount. * When the resulting value reaches the limits of the field, it wraps ar
packages/@internationalized/date/src/CalendarDate.ts:212
↓ 2 callersFunctiondateToString
(date: CalendarDate)
packages/@internationalized/date/src/string.ts:218
↓ 2 callersFunctiondecrement
()
packages/react-stately/src/color/useColorFieldState.ts:175
↓ 2 callersFunctiondecrementThumb
(index: number, stepSize: number = 1)
packages/react-stately/src/slider/useSliderState.ts:376
↓ 2 callersMethoddeleteLine
Delete text to the next or previous line break.
packages/@react-spectrum/ai/src/TokenSegmentList.ts:322
↓ 2 callersMethoddestroy
()
packages/react-aria/src/live-announcer/LiveAnnouncer.tsx:129
↓ 2 callersFunctiondisableTextSelection
(target?: Element)
packages/react-aria/src/interactions/textSelection.ts:39
↓ 2 callersFunctiondisconnectObserver
()
packages/dev/style-macro-chrome-plugin/src/devtool.js:107
↓ 2 callersMethoddrop
(item?: DroppableItem)
packages/react-aria/src/dnd/DragManager.ts:642
↓ 2 callersFunctiondynamicRenderFuncSections
(item: ItemNode)
packages/@adobe/react-spectrum/chromatic/menu/Submenu.stories.tsx:154
↓ 2 callersMethodendCoalescing
()
packages/@react-spectrum/ai/src/TokenSegmentList.ts:400
↓ 2 callersFunctionendOfWeek
(date: DateValue, locale: string, firstDayOfWeek?: DayOfWeek)
packages/@internationalized/date/src/queries.ts:261
↓ 2 callersMethodensureLayoutInfo
(key: Key)
packages/react-stately/src/layout/ListLayout.ts:275
↓ 2 callersFunctionensureTooltipEntry
()
packages/react-stately/src/tooltip/useTooltipTriggerState.ts:87
↓ 2 callersFunctionepochFromParts
( year: number, month: number, day: number, hour: number, minute: number, second: number, millis
packages/@internationalized/date/src/conversion.ts:45
↓ 2 callersFunctionevaluate
(code, filename)
packages/dev/test-utils/src/ssrUtils.js:21
↓ 2 callersFunctionevaluateNode
(node, file)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1107
↓ 2 callersFunctionfilter
(textValue, inputValue)
packages/react-aria-components/test/Autocomplete.test.tsx:281
↓ 2 callersFunctionfilterChildren
( collection: BaseCollection<T>, newCollection: BaseCollection<T>, firstChildKey: Key | null, filterFn
packages/react-aria/src/collections/BaseCollection.ts:326
↓ 2 callersMethodfindBoundaryWithSegmenter
Find the boundary before or after a position using an Intl.Segmenter.
packages/@react-spectrum/ai/src/TokenSegmentList.ts:201
↓ 2 callersMethodfindCell
* Returns a cell matching the specified text content.
packages/@react-aria/test-utils/src/table.ts:501
↓ 2 callersFunctionfindDefaultSelectedKey
( collection: Collection<Node<T>> | undefined, disabledKeys: Set<Key> )
packages/react-stately/src/tabs/useTabListState.ts:109
↓ 2 callersFunctionfindEraFromGregorianDate
(date: AnyCalendarDate)
packages/@internationalized/date/src/calendars/JapaneseCalendar.ts:37
↓ 2 callersMethodfindNextColumnKey
(column: Node<T>)
packages/react-aria/src/table/TableKeyboardDelegate.ts:87
↓ 2 callersMethodfindOption
* Returns a option matching the specified index or text content.
packages/@react-aria/test-utils/src/listbox.ts:96
↓ 2 callersMethodfindPreviousColumnKey
(column: Node<T>)
packages/react-aria/src/table/TableKeyboardDelegate.ts:105
↓ 2 callersMethodfindRow
* Returns a row matching the specified index or text content.
packages/@react-aria/test-utils/src/gridlist.ts:61
↓ 2 callersMethodfindTab
* Returns a tab matching the specified index or text content.
packages/@react-aria/test-utils/src/tabs.ts:63
↓ 2 callersFunctionfireDropEnter
(e: DragEvent)
packages/react-aria/src/dnd/useDrop.ts:123
↓ 2 callersFunctionfiveParagraphs
()
packages/@adobe/react-spectrum/stories/dialog/Dialog.stories.tsx:333
↓ 2 callersMethodfocusLandmark
(landmark: FocusableElement, direction: 'forward' | 'backward')
packages/react-aria/src/landmark/useLandmark.ts:153
↓ 2 callersFunctionfocusLast
()
packages/react-aria/src/datepicker/useDatePickerGroup.ts:73
↓ 2 callersFunctionfontRelative
(this: MacroContext | void, base: number, baseFontSize = 14)
packages/@react-spectrum/s2/style/spectrum-theme.ts:416
↓ 2 callersFunctionfontSizeToken
(name: TokenName)
packages/@react-spectrum/s2/style/tokens.ts:203
↓ 2 callersFunctionformatRange
( dateFormatter: DateFormatter, stringFormatter: LocalizedStringFormatter, start: CalendarDate, end: C
packages/react-aria/src/calendar/utils.ts:145
↓ 2 callersMethodformatToParts
Formats a number to an array of parts such as separators, digits, punctuation, and more.
packages/@internationalized/number/src/NumberFormatter.ts:94
↓ 2 callersFunctiongenerateData
(startDate, endDate)
scripts/getCommitsForTesting.mjs:46
↓ 2 callersFunctiongenerateId
( state: TabListState<T> | null, key: Key | null | undefined, role: string )
packages/react-aria/src/tabs/utils.ts:21
↓ 2 callersFunctiongenerateInterfaceTable
(interfaceName, file)
packages/dev/s2-docs/scripts/generateMarkdownDocs.mjs:1749
↓ 2 callersMethodgetActiveTabpanel
* Returns the currently active tabpanel if any.
packages/@react-aria/test-utils/src/tabs.ts:200
↓ 2 callersFunctiongetAdditionalReferenceLibraries
(skillConfig)
packages/dev/s2-docs/scripts/generateAgentSkills.mjs:230
↓ 2 callersFunctiongetAllowedOperations
(e: DragEvent)
packages/react-aria/src/dnd/useDrop.ts:430
↓ 2 callersFunctiongetAnchorProps
(href)
packages/dev/s2-docs/src/Link.tsx:49
↓ 2 callersFunctiongetBaseUrl
(library)
packages/dev/docs/src/utils.js:59
← previousnext →1,001–1,100 of 8,778, ranked by callers