MCPcopy Create free account

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

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

Methodconstructor
(messages: LocalizedStrings<K, T>, defaultLocale: string = 'en-US')
packages/@internationalized/string/src/LocalizedStringDictionary.ts:37
Methodconstructor
(messages: LocalizedStrings, defaultLocale: string = 'en-US')
packages/@internationalized/message/src/MessageDictionary.ts:27
Methodconstructor
(locale: string, messages: MessageDictionary)
packages/@internationalized/message/src/MessageFormatter.ts:25
Methodconstructor
(parent: SelectionManager, state: MultipleSelectionState)
packages/react-aria-components/src/Menu.tsx:428
Methodconstructor
(tokens: TokenFieldSegment[], tokenRegex: RegExp)
packages/react-aria-components/stories/TokenField.stories.tsx:42
Methodconstructor
(cb: IntersectionObserverCallback, opts: IntersectionObserverInit = {})
packages/dev/test-utils/src/mockIntersectionObserver.ts:40
Methodconstructor
(tokens: TokenFieldSegment[], tokenRegex: RegExp)
packages/dev/s2-docs/pages/react-aria/TokenizingFieldValue.ts:6
Methodconstructor
(props)
packages/dev/s2-docs/src/ExampleOutput.tsx:80
Methodconstructor
(key: string, defaultValue: string)
packages/dev/s2-docs/src/useLocalStorage.ts:17
Methodconstructor
(props)
packages/dev/docs/src/ThemeSwitcher.js:94
Methodconstructor
()
packages/@adobe/react-spectrum/test/actiongroup/ActionGroup.test.js:45
Methodconstructor
(name, init)
packages/@adobe/react-spectrum/test/slider/RangeSlider.test.tsx:417
Methodconstructor
()
packages/@adobe/react-spectrum/test/radio/Radio.test.js:65
Methodconstructor
(options: WaterfallLayoutOptions = {})
packages/@adobe/react-spectrum/src/card/WaterfallLayout.tsx:56
Methodconstructor
(options: BaseLayoutOptions = {})
packages/@adobe/react-spectrum/src/card/BaseLayout.tsx:58
Methodconstructor
(options: GalleryLayoutOptions = {})
packages/@adobe/react-spectrum/src/card/GalleryLayout.tsx:84
Methodconstructor
(options: GridLayoutOptions = {})
packages/@adobe/react-spectrum/src/card/GridLayout.tsx:110
Methodconstructor
(opts: ListBoxLayoutOptions)
packages/@adobe/react-spectrum/src/listbox/ListBoxLayout.ts:25
Methodconstructor
(props)
packages/@adobe/react-spectrum/stories/numberfield/NumberField.stories.tsx:543
Methodconstructor
()
packages/@react-spectrum/ai/test/PromptFieldVoiceButton.test.tsx:186
Methodconstructor
* 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
Methodconstructor
(props: {message: string; children: ReactNode})
packages/@react-spectrum/story-utils/src/ErrorBoundary.tsx:19
Methodconstructor
(property: string, toCSS?: (value: T) => CSSValue)
packages/@react-spectrum/s2/style/style-macro.ts:42
Methodconstructor
(property: string, mapping: PropertyValueMap<T> | string[])
packages/@react-spectrum/s2/style/style-macro.ts:71
Methodconstructor
(property: string, mapping: PropertyValueMap<T> | string[])
packages/@react-spectrum/s2/style/style-macro.ts:131
Methodconstructor
( property: string, mapping: PropertyValueMap<T> | string[], numberToCSS: (value: number) => strin
packages/@react-spectrum/s2/style/style-macro.ts:155
Methodconstructor
( properties: string[], expand: (v: T | CSSValue) => CSSProperties, mapping?: Property<T> | Proper
packages/@react-spectrum/s2/style/style-macro.ts:178
Methodconstructor
( className: string, property: string, value: string, themeProperty: string | undefined, t
packages/@react-spectrum/s2/style/style-macro.ts:876
Methodconstructor
(rules: Rule[], layer?: string | null)
packages/@react-spectrum/s2/style/style-macro.ts:973
Methodconstructor
(rules: Rule[], prelude: string, layer: string | null, themeCondition: string | null)
packages/@react-spectrum/s2/style/style-macro.ts:1030
Methodconstructor
(rules: Rule[], condition: string)
packages/@react-spectrum/s2/style/style-macro.ts:1063
Methodconstructor
(property: string, mapping: {[name in C]: string | ColorToken | ColorRef})
packages/@react-spectrum/s2/style/spectrum-theme.ts:193
Methodconstructor
(opts: ComboBoxTesterOpts)
packages/@react-aria/test-utils/src/combobox.ts:51
Methodconstructor
(opts: TabsTesterOpts)
packages/@react-aria/test-utils/src/tabs.ts:40
Methodconstructor
(opts: UserOpts = {})
packages/@react-aria/test-utils/src/user.ts:135
Methodconstructor
(opts: SelectTesterOpts)
packages/@react-aria/test-utils/src/select.ts:46
Methodconstructor
(name, init)
packages/@react-aria/test-utils/src/testSetup.ts:21
Methodconstructor
(name, init)
packages/@react-aria/test-utils/src/testSetup.ts:49
Methodconstructor
(opts: RadioGroupTesterOpts)
packages/@react-aria/test-utils/src/radiogroup.ts:36
Methodconstructor
(opts: DialogTesterOpts)
packages/@react-aria/test-utils/src/dialog.ts:32
Methodconstructor
(opts: MenuTesterOpts)
packages/@react-aria/test-utils/src/menu.ts:77
Methodconstructor
(opts: TreeTesterOpts)
packages/@react-aria/test-utils/src/tree.ts:36
Methodconstructor
(opts: TableTesterOpts)
packages/@react-aria/test-utils/src/table.ts:53
Methodconstructor
(opts: CheckboxGroupTesterOpts)
packages/@react-aria/test-utils/src/checkboxgroup.ts:35
Methodconstructor
(opts: ListBoxTesterOpts)
packages/@react-aria/test-utils/src/listbox.ts:71
Methodconstructor
(opts: GridListTesterOpts)
packages/@react-aria/test-utils/src/gridlist.ts:35
Methodconstructor
(tokens: TokenFieldSegment[], tokenRegex: RegExp)
starters/tailwind/stories/TokenField.stories.tsx:22
Methodconstructor
(tokens: TokenFieldSegment[], tokenRegex: RegExp)
starters/docs/stories/TokenField.stories.tsx:23
Methodconstructor
()
scripts/bumpVersions.js:64
FunctioncontinuePropagation
()
packages/react-aria/src/interactions/createEventHandler.ts:46
MethodcontinuePropagation
()
packages/react-aria/src/interactions/usePress.ts:175
FunctionconvertItem
packages/@react-spectrum/s2/stories/TreeView.stories.tsx:1142
Methodcopy
()
packages/react-stately/src/layout/WaterfallLayout.ts:71
Methodcopy
* Returns a copy of the LayoutInfo.
packages/react-stately/src/virtualizer/LayoutInfo.ts:113
Methodcopy
* Returns a copy of this point.
packages/react-stately/src/virtualizer/Point.ts:28
Methodcopy
* Returns a copy of this rectangle.
packages/react-stately/src/virtualizer/Rect.ts:185
Methodcopy
* Returns a copy of this size.
packages/react-stately/src/virtualizer/Size.ts:25
Methodcopy
Returns a copy of this date.
packages/@internationalized/date/src/CalendarDate.ts:107
Methodcopy
Returns a copy of this time.
packages/@internationalized/date/src/CalendarDate.ts:186
Methodcopy
Returns a copy of this date.
packages/@internationalized/date/src/CalendarDate.ts:314
Methodcopy
Returns a copy of this date.
packages/@internationalized/date/src/CalendarDate.ts:503
Methodcopy
()
packages/@internationalized/date/src/types.ts:22
Methodcopy
()
packages/@react-spectrum/s2/style/style-macro.ts:893
Methodcopy
()
packages/@react-spectrum/s2/style/style-macro.ts:978
Methodcopy
()
packages/@react-spectrum/s2/style/style-macro.ts:1036
Methodcopy
()
packages/@react-spectrum/s2/style/style-macro.ts:1068
Functioncreate
@param info {import('typescript').server.PluginCreateInfo}
packages/dev/ts-plugin/src/index.js:15
Functioncreate
(context)
packages/dev/eslint-plugin-rsp-rules/rules/act-events-test.js:89
Functioncreate
(context)
packages/dev/eslint-plugin-rsp-rules/rules/no-package-root-imports.js:25
Functioncreate
(context)
packages/dev/eslint-plugin-rsp-rules/rules/pure-render.js:23
FunctioncreateCodeSandbox
( files: DownloadFiles['files'], deps: DownloadFiles['deps'], type: 'vanilla' | 'tailwind' | 's2' = 'van
packages/dev/s2-docs/src/CodeSandbox.tsx:4
MethodcreateFieldValue
(segments: TokenFieldSegment[])
packages/react-stately/test/tokenfield/TokenFieldValue.test.ts:42
MethodcreateFieldValue
(segments: TokenFieldSegment[])
packages/react-aria-components/stories/TokenField.stories.tsx:53
MethodcreateFieldValue
(segments: TokenFieldSegment[])
packages/dev/s2-docs/pages/react-aria/TokenizingFieldValue.ts:17
MethodcreateFieldValue
(segments: TokenFieldSegment[])
starters/tailwind/stories/TokenField.stories.tsx:33
MethodcreateFieldValue
(segments: TokenFieldSegment[])
starters/docs/stories/TokenField.stories.tsx:34
FunctioncreateIllustration
( Component: ComponentType<SVGProps<SVGSVGElement>> )
packages/@react-spectrum/s2/src/Icon.tsx:168
FunctioncreateItem
packages/@adobe/react-spectrum/stories/table/CRUDExample.tsx:58
MethodcreateLandmarkController
()
packages/react-aria/src/landmark/useLandmark.ts:452
FunctioncreateSearchOptionsForPages
()
packages/dev/s2-docs/src/searchUtils.tsx:320
FunctioncreateState
(src: string)
packages/@react-spectrum/s2/src/Image.tsx:144
FunctioncssModuleToSlots
(cssModule: {[cssmodule: string]: string})
packages/@adobe/react-spectrum/src/utils/Slots.tsx:31
MethodcssProperties
()
packages/@react-spectrum/s2/style/style-macro.ts:47
Functioncurrent
()
packages/react-aria/src/utils/useObjectRef.ts:55
Functioncurrent
()
packages/react-aria-components/src/ComboBox.tsx:268
Functioncurrent
()
packages/@adobe/react-spectrum/src/utils/useDOMRef.ts:68
Functioncurrent
()
packages/@adobe/react-spectrum/src/actiongroup/ActionGroup.tsx:259
Functioncurrent
()
packages/@react-spectrum/s2/src/useDOMRef.ts:62
MethodcurrentNode
()
packages/react-aria/src/utils/shadowdom/ShadowTreeWalker.ts:62
FunctioncustomPortalRender
packages/@adobe/react-spectrum/test/table/TableSizing.test.tsx:1154
FunctioncustomRender
( ui: Parameters<typeof render>[0], options?: Parameters<typeof render>[1] | undefined )
packages/dev/test-utils/src/renderOverride.tsx:30
Methodcycle
* 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
Methodcycle
* 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
Functiondecrement
()
packages/react-stately/src/numberfield/useNumberFieldState.ts:283
Functiondecrement
(stepSize = 1)
packages/react-stately/src/color/useColorWheelState.ts:193
Functiondecrement
(part)
packages/react-stately/src/datepicker/useDateFieldState.ts:400
Methoddecrement
Decrements the current input value to the next step boundary, and fires `onChange`.
packages/react-stately/src/numberfield/useNumberFieldState.ts:99
Methoddecrement
Decrements the hue by the given amount (defaults to 1).
packages/react-stately/src/color/useColorWheelState.ts:58
Methoddecrement
* 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
FunctiondecrementPage
(part)
packages/react-stately/src/datepicker/useDateFieldState.ts:406
← previousnext →7,801–7,900 of 9,472, ranked by callers