Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ functions
Functions
9,472 in github.com/adobe/react-spectrum
⨍
Functions
9,472
◇
Types & classes
2,429
Method
constructor
(messages: LocalizedStrings<K, T>, defaultLocale: string = 'en-US')
packages/@internationalized/string/src/LocalizedStringDictionary.ts:37
Method
constructor
(messages: LocalizedStrings, defaultLocale: string = 'en-US')
packages/@internationalized/message/src/MessageDictionary.ts:27
Method
constructor
(locale: string, messages: MessageDictionary)
packages/@internationalized/message/src/MessageFormatter.ts:25
Method
constructor
(parent: SelectionManager, state: MultipleSelectionState)
packages/react-aria-components/src/Menu.tsx:428
Method
constructor
(tokens: TokenFieldSegment[], tokenRegex: RegExp)
packages/react-aria-components/stories/TokenField.stories.tsx:42
Method
constructor
(cb: IntersectionObserverCallback, opts: IntersectionObserverInit = {})
packages/dev/test-utils/src/mockIntersectionObserver.ts:40
Method
constructor
(tokens: TokenFieldSegment[], tokenRegex: RegExp)
packages/dev/s2-docs/pages/react-aria/TokenizingFieldValue.ts:6
Method
constructor
(props)
packages/dev/s2-docs/src/ExampleOutput.tsx:80
Method
constructor
(key: string, defaultValue: string)
packages/dev/s2-docs/src/useLocalStorage.ts:17
Method
constructor
(props)
packages/dev/docs/src/ThemeSwitcher.js:94
Method
constructor
()
packages/@adobe/react-spectrum/test/actiongroup/ActionGroup.test.js:45
Method
constructor
(name, init)
packages/@adobe/react-spectrum/test/slider/RangeSlider.test.tsx:417
Method
constructor
()
packages/@adobe/react-spectrum/test/radio/Radio.test.js:65
Method
constructor
(options: WaterfallLayoutOptions = {})
packages/@adobe/react-spectrum/src/card/WaterfallLayout.tsx:56
Method
constructor
(options: BaseLayoutOptions = {})
packages/@adobe/react-spectrum/src/card/BaseLayout.tsx:58
Method
constructor
(options: GalleryLayoutOptions = {})
packages/@adobe/react-spectrum/src/card/GalleryLayout.tsx:84
Method
constructor
(options: GridLayoutOptions = {})
packages/@adobe/react-spectrum/src/card/GridLayout.tsx:110
Method
constructor
(opts: ListBoxLayoutOptions)
packages/@adobe/react-spectrum/src/listbox/ListBoxLayout.ts:25
Method
constructor
(props)
packages/@adobe/react-spectrum/stories/numberfield/NumberField.stories.tsx:543
Method
constructor
()
packages/@react-spectrum/ai/test/PromptFieldVoiceButton.test.tsx:186
Method
constructor
* Creates a new ListLayout with options. See the list of properties below for a description * of the options that can be provided.
packages/@react-spectrum/ai/src/ListLayout.ts:197
Method
constructor
(props: {message: string; children: ReactNode})
packages/@react-spectrum/story-utils/src/ErrorBoundary.tsx:19
Method
constructor
(property: string, toCSS?: (value: T) => CSSValue)
packages/@react-spectrum/s2/style/style-macro.ts:42
Method
constructor
(property: string, mapping: PropertyValueMap<T> | string[])
packages/@react-spectrum/s2/style/style-macro.ts:71
Method
constructor
(property: string, mapping: PropertyValueMap<T> | string[])
packages/@react-spectrum/s2/style/style-macro.ts:131
Method
constructor
( property: string, mapping: PropertyValueMap<T> | string[], numberToCSS: (value: number) => strin
packages/@react-spectrum/s2/style/style-macro.ts:155
Method
constructor
( properties: string[], expand: (v: T | CSSValue) => CSSProperties, mapping?: Property<T> | Proper
packages/@react-spectrum/s2/style/style-macro.ts:178
Method
constructor
( className: string, property: string, value: string, themeProperty: string | undefined, t
packages/@react-spectrum/s2/style/style-macro.ts:876
Method
constructor
(rules: Rule[], layer?: string | null)
packages/@react-spectrum/s2/style/style-macro.ts:973
Method
constructor
(rules: Rule[], prelude: string, layer: string | null, themeCondition: string | null)
packages/@react-spectrum/s2/style/style-macro.ts:1030
Method
constructor
(rules: Rule[], condition: string)
packages/@react-spectrum/s2/style/style-macro.ts:1063
Method
constructor
(property: string, mapping: {[name in C]: string | ColorToken | ColorRef})
packages/@react-spectrum/s2/style/spectrum-theme.ts:193
Method
constructor
(opts: ComboBoxTesterOpts)
packages/@react-aria/test-utils/src/combobox.ts:51
Method
constructor
(opts: TabsTesterOpts)
packages/@react-aria/test-utils/src/tabs.ts:40
Method
constructor
(opts: UserOpts = {})
packages/@react-aria/test-utils/src/user.ts:135
Method
constructor
(opts: SelectTesterOpts)
packages/@react-aria/test-utils/src/select.ts:46
Method
constructor
(name, init)
packages/@react-aria/test-utils/src/testSetup.ts:21
Method
constructor
(name, init)
packages/@react-aria/test-utils/src/testSetup.ts:49
Method
constructor
(opts: RadioGroupTesterOpts)
packages/@react-aria/test-utils/src/radiogroup.ts:36
Method
constructor
(opts: DialogTesterOpts)
packages/@react-aria/test-utils/src/dialog.ts:32
Method
constructor
(opts: MenuTesterOpts)
packages/@react-aria/test-utils/src/menu.ts:77
Method
constructor
(opts: TreeTesterOpts)
packages/@react-aria/test-utils/src/tree.ts:36
Method
constructor
(opts: TableTesterOpts)
packages/@react-aria/test-utils/src/table.ts:53
Method
constructor
(opts: CheckboxGroupTesterOpts)
packages/@react-aria/test-utils/src/checkboxgroup.ts:35
Method
constructor
(opts: ListBoxTesterOpts)
packages/@react-aria/test-utils/src/listbox.ts:71
Method
constructor
(opts: GridListTesterOpts)
packages/@react-aria/test-utils/src/gridlist.ts:35
Method
constructor
(tokens: TokenFieldSegment[], tokenRegex: RegExp)
starters/tailwind/stories/TokenField.stories.tsx:22
Method
constructor
(tokens: TokenFieldSegment[], tokenRegex: RegExp)
starters/docs/stories/TokenField.stories.tsx:23
Method
constructor
()
scripts/bumpVersions.js:64
Function
continuePropagation
()
packages/react-aria/src/interactions/createEventHandler.ts:46
Method
continuePropagation
()
packages/react-aria/src/interactions/usePress.ts:175
Function
convertItem
packages/@react-spectrum/s2/stories/TreeView.stories.tsx:1142
Method
copy
()
packages/react-stately/src/layout/WaterfallLayout.ts:71
Method
copy
* Returns a copy of the LayoutInfo.
packages/react-stately/src/virtualizer/LayoutInfo.ts:113
Method
copy
* Returns a copy of this point.
packages/react-stately/src/virtualizer/Point.ts:28
Method
copy
* Returns a copy of this rectangle.
packages/react-stately/src/virtualizer/Rect.ts:185
Method
copy
* Returns a copy of this size.
packages/react-stately/src/virtualizer/Size.ts:25
Method
copy
Returns a copy of this date.
packages/@internationalized/date/src/CalendarDate.ts:107
Method
copy
Returns a copy of this time.
packages/@internationalized/date/src/CalendarDate.ts:186
Method
copy
Returns a copy of this date.
packages/@internationalized/date/src/CalendarDate.ts:314
Method
copy
Returns a copy of this date.
packages/@internationalized/date/src/CalendarDate.ts:503
Method
copy
()
packages/@internationalized/date/src/types.ts:22
Method
copy
()
packages/@react-spectrum/s2/style/style-macro.ts:893
Method
copy
()
packages/@react-spectrum/s2/style/style-macro.ts:978
Method
copy
()
packages/@react-spectrum/s2/style/style-macro.ts:1036
Method
copy
()
packages/@react-spectrum/s2/style/style-macro.ts:1068
Function
create
@param info {import('typescript').server.PluginCreateInfo}
packages/dev/ts-plugin/src/index.js:15
Function
create
(context)
packages/dev/eslint-plugin-rsp-rules/rules/act-events-test.js:89
Function
create
(context)
packages/dev/eslint-plugin-rsp-rules/rules/no-package-root-imports.js:25
Function
create
(context)
packages/dev/eslint-plugin-rsp-rules/rules/pure-render.js:23
Function
createCodeSandbox
( files: DownloadFiles['files'], deps: DownloadFiles['deps'], type: 'vanilla' | 'tailwind' | 's2' = 'van
packages/dev/s2-docs/src/CodeSandbox.tsx:4
Method
createFieldValue
(segments: TokenFieldSegment[])
packages/react-stately/test/tokenfield/TokenFieldValue.test.ts:42
Method
createFieldValue
(segments: TokenFieldSegment[])
packages/react-aria-components/stories/TokenField.stories.tsx:53
Method
createFieldValue
(segments: TokenFieldSegment[])
packages/dev/s2-docs/pages/react-aria/TokenizingFieldValue.ts:17
Method
createFieldValue
(segments: TokenFieldSegment[])
starters/tailwind/stories/TokenField.stories.tsx:33
Method
createFieldValue
(segments: TokenFieldSegment[])
starters/docs/stories/TokenField.stories.tsx:34
Function
createIllustration
( Component: ComponentType<SVGProps<SVGSVGElement>> )
packages/@react-spectrum/s2/src/Icon.tsx:168
Function
createItem
packages/@adobe/react-spectrum/stories/table/CRUDExample.tsx:58
Method
createLandmarkController
()
packages/react-aria/src/landmark/useLandmark.ts:452
Function
createSearchOptionsForPages
()
packages/dev/s2-docs/src/searchUtils.tsx:320
Function
createState
(src: string)
packages/@react-spectrum/s2/src/Image.tsx:144
Function
cssModuleToSlots
(cssModule: {[cssmodule: string]: string})
packages/@adobe/react-spectrum/src/utils/Slots.tsx:31
Method
cssProperties
()
packages/@react-spectrum/s2/style/style-macro.ts:47
Function
current
()
packages/react-aria/src/utils/useObjectRef.ts:55
Function
current
()
packages/react-aria-components/src/ComboBox.tsx:268
Function
current
()
packages/@adobe/react-spectrum/src/utils/useDOMRef.ts:68
Function
current
()
packages/@adobe/react-spectrum/src/actiongroup/ActionGroup.tsx:259
Function
current
()
packages/@react-spectrum/s2/src/useDOMRef.ts:62
Method
currentNode
()
packages/react-aria/src/utils/shadowdom/ShadowTreeWalker.ts:62
Function
customPortalRender
packages/@adobe/react-spectrum/test/table/TableSizing.test.tsx:1154
Function
customRender
( ui: Parameters<typeof render>[0], options?: Parameters<typeof render>[1] | undefined )
packages/dev/test-utils/src/renderOverride.tsx:30
Method
cycle
* Returns a new `CalendarDateTime` with the given field adjusted by a specified amount. * When the resulting value reaches the limits of the field,
packages/@internationalized/date/src/CalendarDate.ts:363
Method
cycle
* Returns a new `ZonedDateTime` 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:556
Function
decrement
()
packages/react-stately/src/numberfield/useNumberFieldState.ts:283
Function
decrement
(stepSize = 1)
packages/react-stately/src/color/useColorWheelState.ts:193
Function
decrement
(part)
packages/react-stately/src/datepicker/useDateFieldState.ts:400
Method
decrement
Decrements the current input value to the next step boundary, and fires `onChange`.
packages/react-stately/src/numberfield/useNumberFieldState.ts:99
Method
decrement
Decrements the hue by the given amount (defaults to 1).
packages/react-stately/src/color/useColorWheelState.ts:58
Method
decrement
* Decrements the given segment. Upon reaching the minimum or maximum value, the value wraps * around to the opposite limit.
packages/react-stately/src/datepicker/useDateFieldState.ts:112
Function
decrementPage
(part)
packages/react-stately/src/datepicker/useDateFieldState.ts:406
← previous
next →
7,801–7,900 of 9,472, ranked by callers