An open source design system that's fully customizable and agent ready
TypeScript
API report: @astryxdesign/core
.
Components
component AlertDialog(props: AlertDialogProps)
prop actionLabel: string
prop actionVariant?: ButtonVariant = 'destructive'
prop cancelLabel?: string = 'Cancel'
prop description: string
prop isActionLoading?: boolean
prop isInline?: boolean = false
prop isOpen: boolean
prop onAction: () => unknown
prop onOpenChange: (isOpen: boolean) => unknown
prop ref?: React.Ref<HTMLDialogElement>
prop title: string
prop width?: number | string = 400
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component AppShell(props: AppShellProps)
prop banner?: ReactNode
prop children: ReactNode
prop contentPadding?: SpacingStep
prop height?: 'fill' | 'auto' = 'fill'
prop mobileNav?: false | MobileNavConfig | ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop sideNav?: ReactNode
prop topNav?: ReactNode
prop variant?: AppShellVariant = 'elevated'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component AspectRatio(props: AspectRatioProps)
prop children: ReactNode
prop fit?: AspectRatioFit
prop ratio: number
prop ref?: React.Ref<HTMLDivElement>
prop shape?: AspectRatioShape = 'rectangle'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Avatar(props: AvatarProps)
prop alt?: string
prop as?: LinkComponentType
prop data-testid?: string
prop fallbackSrc?: string
prop href?: string
prop name?: string
prop onClick?: React.MouseEventHandler<HTMLElement>
prop ref?: React.Ref<HTMLDivElement>
prop rel?: string
prop shape?: AvatarShape = 'circle'
prop size?: AvatarSize = 'md'
prop src?: string
prop status?: ReactNode
prop target?: string
prop tooltip?: string | boolean = true
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component AvatarGroup(props: AvatarGroupProps)
prop children: ReactNode
prop data-testid?: string
prop ref?: React.Ref<HTMLDivElement>
prop shape?: AvatarShape = 'circle'
prop size?: AvatarSize = 'md'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component AvatarGroupOverflow(props: AvatarGroupOverflowProps)
prop children?: ReactNode
prop count: number
prop onClick?: () => void
prop ref?: React.Ref<HTMLElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component AvatarStatusDot(props: AvatarStatusDotProps)
prop icon?: ReactNode
prop label?: string
prop ref?: React.Ref<HTMLDivElement>
prop variant?: AvatarStatusDotVariant = 'success'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Badge(props: BadgeProps)
prop icon?: ReactNode
prop label: ReactNode
prop ref?: React.Ref<HTMLSpanElement>
prop variant?: BadgeVariant = 'neutral'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Banner(props: BannerProps)
prop children?: ReactNode
prop collapsible?: boolean | CollapsibleConfig = true
prop container?: BannerContainer = 'card'
prop description?: ReactNode
prop dismissLabel?: string
prop elevation?: Elevation = 'none'
prop endContent?: ReactNode
prop icon?: ReactNode
prop isDismissable?: boolean = false
prop onDismiss?: () => void
prop ref?: React.Ref<HTMLDivElement>
prop status: BannerStatus
prop title: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BaseTypeahead(props: BaseTypeaheadProps)
prop __queryEntries?: (query: string, results: T[]) => T[] @internal
prop anchorRef?: RefObject<HTMLElement | null>
prop ariaDescribedBy?: string
prop ariaLabelledBy?: string
prop debounceMs?: number = 150
prop emptySearchText?: ReactNode = 'No results found'
prop hasAutoFocus?: boolean = false
prop hasEntriesOnFocus?: boolean = false
prop inputId?: string
prop inputTabIndex?: number
prop inputXStyle?: StyleXStyles
prop isDisabled?: boolean = false
prop isFocusableDisabled?: boolean = false
prop maxMenuItems?: number = 10
prop menuWidth?: number
prop minQueryLength?: number = 1 — every non-empty query is searched.
prop onChange: (item: T | null) => void
prop onChangeQuery?: (query: string) => void
prop onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void
prop onOpenChange?: (isOpen: boolean) => void
prop placeholder?: string
prop ref?: React.Ref<HTMLInputElement>
prop renderItem?: (item: T) => ReactNode
prop searchSource: SearchSource<T>
prop size?: 'sm' | 'md' | 'lg' = 'md'
prop value: T | null
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Blockquote(props: BlockquoteProps)
prop children: ReactNode
prop cite?: ReactNode
prop ref?: React.Ref<HTMLQuoteElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BottomSheet(props: BottomSheetProps)
prop children: ReactNode
prop hasScrim?: boolean
prop height?: BottomSheetHeight | number | string = 'capped'
prop isOpen?: boolean
prop label: string
prop onOpenChange?: (isOpen: boolean) => void
prop padding?: SpacingStep
prop purpose?: DialogPurpose = 'info'
prop ref?: React.Ref<HTMLDivElement>
prop sheetId?: never
prop snapPoints?: ReadonlyArray<BottomSheetSnapPoint>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BottomSheetSwitcher(props: BottomSheetSwitcherProps) @deprecated
prop activeSheet: string | null
prop children: ReactNode
prop hasScrim?: boolean = true
prop onActiveSheetChange: (sheetId: string | null) => void
prop onCancel?: (event: SyntheticEvent<HTMLDialogElement>) => void
prop ref?: React.Ref<HTMLDialogElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BreadcrumbItem(props: BreadcrumbItemProps)
prop as?: LinkComponentType
prop children: ReactNode
prop href?: string
prop isCurrent?: boolean = undefined
prop menu?: DropdownMenuOption[] | ReactNode
prop menuSize?: DropdownMenuSize
prop onClick?: (e: MouseEvent<HTMLElement>) => void
prop ref?: React.Ref<HTMLLIElement>
prop startIcon?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BreadcrumbMenuCheckboxItem(props: DropdownMenuCheckboxItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop hasCloseOnSelect?: boolean = false
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop onChange?: (checked: boolean) => void
prop ref?: React.Ref<HTMLElement>
prop value: boolean
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BreadcrumbMenuDivider(props: DropdownMenuDividerProps)
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BreadcrumbMenuGroup(props: DropdownMenuGroupProps)
prop children?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop title?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BreadcrumbMenuItem(props: DropdownMenuItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop hasCloseOnSelect?: boolean = true
prop href?: string
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop onClick?: (event: MouseEvent) => void
prop ref?: React.Ref<HTMLElement>
prop rel?: string
prop target?: '_blank' | '_self'
prop variant?: 'default' | 'destructive' = 'default'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BreadcrumbMenuRadioGroup(props: DropdownMenuRadioGroupProps)
prop children: ReactNode
prop hasCloseOnSelect?: boolean = true
prop label: string
prop onChange: (value: string) => void
prop ref?: Ref<HTMLDivElement>
prop value: string | undefined
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BreadcrumbMenuRadioItem(props: DropdownMenuRadioItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop ref?: React.Ref<HTMLElement>
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component BreadcrumbMenuSubMenu(props: DropdownMenuSubMenuProps)
prop children: ReactNode
prop data-testid?: string
prop delay?: number = 150
prop description?: ReactNode
prop footer?: ReactNode
prop hasSpinner?: boolean = false
prop header?: ReactNode
prop hideDelay?: number = 200
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop menuDataTestId?: string
prop menuWidth?: number | string
prop onOpenChange?: (isOpen: boolean) => void
prop presentation?: DropdownMenuSubMenuPresentation = 'adaptive'
prop ref?: React.Ref<HTMLElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Breadcrumbs(props: BreadcrumbsProps)
prop children: ReactNode
prop label?: string = 'Breadcrumb'
prop ref?: React.Ref<HTMLElement>
prop separator?: ReactNode = '/'
prop variant?: BreadcrumbsVariant = 'default'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Button(props: ButtonProps)
prop as?: LinkComponentType
prop children?: ReactNode
prop clickAction?: (e: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>
prop elevation?: Elevation = 'none'
prop endContent?: ReactNode
prop form?: string
prop href?: string
prop icon?: ReactNode
prop isDisabled?: boolean = false
prop isIconOnly?: boolean = false
prop isInterruptible?: boolean = false
prop isLoading?: boolean = false
prop label: string
prop name?: string
prop onClick?: React.MouseEventHandler<HTMLButtonElement>
prop ref?: React.Ref<HTMLButtonElement>
prop rel?: string
prop size?: ButtonSize = 'md'
prop target?: string
prop tooltip?: string
prop type?: 'button' | 'submit' | 'reset' = 'button'
prop value?: string | number | ReadonlyArray<string>
prop variant?: ButtonVariant = 'secondary'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ButtonGroup(props: ButtonGroupProps)
prop children: ReactNode
prop data-testid?: string
prop elevation?: Elevation = 'none'
prop isDisabled?: boolean = false
prop label: string
prop orientation?: ButtonGroupOrientation = 'horizontal'
prop ref?: React.Ref<HTMLDivElement>
prop size?: ButtonSize = 'md'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Calendar(props: CalendarProps)
prop calendar?: CalendarSystem
prop dateConstraints?: ReadonlyArray<(date: Date) => boolean>
prop defaultValue?: ISODateString
prop focusDate?: ISODateString
prop handleRef?: React.Ref<CalendarHandle>
prop hasOutsideDays?: boolean
prop hasVariableRowCount?: boolean
prop hasWeekNumbers?: boolean
prop max?: ISODateString
prop maxRangeSpan?: number
prop min?: ISODateString
prop minRangeSpan?: number
prop mode?: 'single'
prop numberOfMonths?: 1 | 2
prop onChange?: (value: ISODateString, valueAsDate: Date) => void
prop onFocusDateChange?: (focusDate: ISODateString) => void
prop ref?: React.Ref<HTMLDivElement>
prop value?: ISODateString | null
prop weekStartsOn?: DayOfWeek | DayOfWeekName
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Card(props: CardProps)
prop children?: ReactNode
prop elevation?: Elevation = 'none'
prop height?: SizeValue
prop maxWidth?: SizeValue
prop minHeight?: SizeValue
prop padding?: SpacingStep = the theme's card padding (spacing step 4 with no theme)
prop ref?: React.Ref<HTMLDivElement>
prop variant?: CardVariant = 'default'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Carousel(props: CarouselProps)
prop aria-label?: string = 'Carousel'
prop children: ReactNode
prop data-testid?: string
prop gap?: 0 | 0.5 | 1 | 1.5 | 2 | 3 | 4 = 1
prop handleRef?: React.Ref<CarouselHandle>
prop hasButtons?: boolean = true
prop hasEdgeFade?: boolean = true
prop hasLoop?: boolean = false
prop hasSnap?: boolean | SnapPaging = false
prop padding?: SpacingStep = undefined (no padding)
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Center(props: CenterProps)
prop axis?: CenterAxis = 'both'
prop children: ReactNode
prop height?: SizeValue
prop isInline?: boolean = false
prop maxWidth?: SizeValue
prop minHeight?: SizeValue
prop padding?: SpacingStep
prop paddingBlock?: SpacingStep
prop paddingBlockEnd?: SpacingStep
prop paddingBlockStart?: SpacingStep
prop paddingInline?: SpacingStep
prop paddingInlineEnd?: SpacingStep
prop paddingInlineStart?: SpacingStep
prop ref?: React.Ref<HTMLDivElement>
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatComposer(props: ChatComposerProps)
prop density?: ChatComposerDensity
prop drawer?: ReactNode
prop elevation?: 'none' | 'low' = 'low'
prop footerActions?: ReactNode
prop headerActions?: ReactNode
prop headerContext?: ReactNode
prop input?: ReactNode
prop isDisabled?: boolean
prop isStopShown?: boolean = false
prop onChange?: (value: string) => void
prop onStop?: () => void
prop onSubmit: (value: string) => void
prop placeholder?: string
prop ref?: React.Ref<HTMLDivElement>
prop sendActions?: ReactNode
prop sendButton?: ReactNode
prop status?: ChatComposerStatus
prop statusPosition?: 'top' | 'bottom' = 'bottom'
prop value?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatComposerDrawer(props: ChatComposerDrawerProps)
prop children: ReactNode
prop className?: string
prop collapsedSummary?: ReactNode
prop count?: number
prop data-testid?: string
prop defaultIsCollapsed?: boolean = false
prop isCollapsed?: boolean
prop label?: string = 'Items'
prop onCollapsedChange?: (isCollapsed: boolean) => void
prop ref?: React.Ref<HTMLDivElement>
prop style?: React.CSSProperties
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatComposerInput(props: ChatComposerInputProps)
prop debounceMs?: number = 150
prop enterKeyHint?: EnterKeyHint = 'send'
prop handleRef?: React.Ref<ChatComposerInputHandle>
prop hasHistory?: boolean = true
prop isDisabled?: boolean = false
prop label?: string = 'Message input'
prop maxRows?: number = 8
prop onChange?: (value: string) => void
prop onFiles?: (files: File[]) => void
prop onKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void
prop onPaste?: (event: ClipboardEvent<HTMLDivElement>, text: string) => boolean | void
prop onSubmit?: (value: string) => void
prop pasteAsToken?: UseChatPasteAsTokenReturn | false
prop placeholder?: string = 'Type a message\u2026'
prop ref?: React.Ref<HTMLDivElement>
prop triggers?: ChatComposerTrigger[]
prop value?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatComposerTokenElement(props: ChatComposerTokenElementProps)
prop ref?: React.Ref<HTMLSpanElement>
prop token: ChatComposerToken
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatDictationButton(props: ChatDictationButtonProps)
prop dictation: UseSpeechRecognitionReturn
prop isHiddenWhenUnsupported?: boolean = true
prop label?: string
prop ref?: React.Ref<HTMLSpanElement>
prop size?: 'sm' | 'md' = "md"
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatLayout(props: ChatLayoutProps)
prop children: ReactNode
prop composer: ReactNode
prop density?: Density = 'balanced'
prop emptyState?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop scrollButton?: ReactNode | null
prop scrollRef?: React.RefObject<HTMLElement | null>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatLayoutScrollButton(props: ChatLayoutScrollButtonProps)
prop isVisible: boolean
prop label?: string
prop onClick: () => void
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatMessage(props: ChatMessageProps)
prop avatar?: ReactNode
prop children: ReactNode
prop density?: ChatDensity
prop metadata?: ReactNode
prop name?: ReactNode
prop ref?: React.Ref<HTMLElement>
prop sender: ChatMessageSender
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatMessageBubble(props: ChatMessageBubbleProps)
prop children: ReactNode
prop group?: 'first' | 'middle' | 'last'
prop metadata?: ReactNode
prop name?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop variant?: ChatMessageBubbleVariant = 'filled'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatMessageList(props: ChatMessageListProps)
prop align?: 'top' | 'bottom' = 'bottom'
prop children: ReactNode
prop density?: ChatDensity = 'balanced'
prop emptyState?: ReactNode
prop gap?: SpacingStep
prop isStreaming?: boolean = false
prop ref?: React.Ref<HTMLDivElement>
prop scrollToTopAction?: () => Promise<void>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatMessageMetadata(props: ChatMessageMetadataProps)
prop footer?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop status?: ChatMessageStatus
prop timestamp?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatSendButton(props: ChatSendButtonProps)
prop isDisabled?: boolean
prop isStopShown?: boolean = false
prop onSend?: () => void
prop onStop?: () => void
prop ref?: React.Ref<HTMLButtonElement>
prop sendIcon?: ReactNode
prop size?: 'sm' | 'md' = 'md'
prop stopIcon?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatSystemMessage(props: ChatSystemMessageProps)
prop children: ReactNode
prop icon?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop variant?: ChatSystemMessageVariant = 'default'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatTokenizedText(props: ChatTokenizedTextProps)
prop children: string
prop ref?: React.Ref<HTMLSpanElement>
prop tokens?: ChatComposerToken[]
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ChatToolCalls(props: ChatToolCallsProps)
prop calls: ChatToolCallItem[]
prop defaultIsExpanded?: boolean = false
prop isExpanded?: boolean
prop label?: string
prop onExpandedChange?: (isExpanded: boolean) => void
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CheckIndicator(props: IndicatorProps)
prop children?: ReactNode
prop isDisabled?: boolean = false
prop ref?: Ref<HTMLSpanElement>
prop size?: IndicatorSize = 'md'
prop state: IndicatorState<F>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CheckboxIndicator(props: IndicatorProps)
prop children?: ReactNode
prop isDisabled?: boolean = false
prop ref?: Ref<HTMLSpanElement>
prop size?: IndicatorSize = 'md'
prop state: IndicatorState<F>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CheckboxInput(props: CheckboxInputProps)
prop changeAction?: (checked: boolean, e: ChangeEvent<HTMLInputElement>) => void | Promise<void>
prop description?: string
prop disabledMessage?: string
prop htmlName?: string
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isReadOnly?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelIcon?: ReactNode | IconType
prop onBlur?: (e: FocusEvent<HTMLInputElement>) => void
prop onChange?: (checked: boolean, e: ChangeEvent<HTMLInputElement>) => void
prop onFocus?: (e: FocusEvent<HTMLInputElement>) => void
prop ref?: React.Ref<HTMLInputElement>
prop size?: CheckboxInputSize = 'md'
prop status?: InputStatus
prop value: boolean | 'indeterminate'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CheckboxList(props: CheckboxListProps)
prop changeAction?: (values: string[]) => void | Promise<void>
prop children: ReactNode
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop density?: ListDensity = 'balanced'
prop description?: string
prop disabledMessage?: string
prop hasDividers?: boolean = false
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isReadOnly?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop onChange?: (values: string[]) => void
prop ref?: React.Ref<HTMLDivElement>
prop status?: InputStatus
prop value?: string[]
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CheckboxListItem(props: CheckboxListItemProps)
prop align?: ItemAlign = 'center'
prop aria-label?: string
prop description?: ReactNode
prop endContent?: ReactNode
prop isChecked?: boolean | 'indeterminate'
prop isDisabled?: boolean = false
prop isLoading?: boolean = false
prop label: ReactNode
prop onCheck?: (checked: boolean) => void
prop ref?: React.Ref<HTMLLIElement>
prop value?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Citation(props: CitationProps)
prop number: number
prop ref?: React.Ref<HTMLElement>
prop source: CitationSource
prop variant?: 'label' | 'number'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ClickableCard(props: ClickableCardProps)
prop children?: ReactNode
prop elevation?: Elevation = 'none'
prop height?: SizeValue
prop href?: string
prop isDisabled?: boolean
prop label: string
prop maxWidth?: SizeValue
prop onClick?: (event: MouseEvent<HTMLElement>) => void
prop padding?: SpacingStep = 4 (16px)
prop ref?: Ref<HTMLDivElement>
prop target?: string = '_self'
prop variant?: CardVariant = 'default'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Code(props: CodeProps)
prop children: ReactNode
prop color?: CodeColor = 'primary'
prop ref?: React.Ref<HTMLElement>
prop size?: CodeSize
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CodeBlock(props: CodeBlockProps)
prop code: string
prop collapsibleThreshold?: number
prop container?: 'card' | 'section' = 'card'
prop endContent?: React.ReactNode
prop hasCopyButton?: boolean
prop hasLanguageLabel?: boolean
prop hasLineNumbers?: boolean
prop highlightLines?: number[]
prop highlightMode?: 'auto' | 'ranges' | 'spans'
prop isCollapsible?: boolean
prop isDiff?: boolean
prop isWrapped?: boolean
prop language?: string | CodeLanguage = 'plaintext'
prop maxHeight?: number | string
prop onCopy?: () => void
prop onCopyError?: (error: unknown) => void
prop ref?: React.Ref<HTMLPreElement>
prop size?: 'sm' | 'md'
prop startLineNumber?: number = 1
prop syntaxTheme?: SyntaxThemeDefinition
prop title?: string
prop tokenizer?: (code: string, language: string) => { type: string; start: number; end: number }[] @deprecated
prop width?: string = 'fit-content'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Collapsible(props: CollapsibleProps)
prop animatedLayout?: AnimatedLayout
prop chevronPosition?: CollapsibleChevronPosition = 'end'
prop children?: ReactNode
prop data-testid?: string
prop defaultIsOpen?: boolean = true
prop isDisabled?: boolean = false
prop isOpen?: boolean
prop onOpenChange?: (isOpen: boolean) => void
prop ref?: React.Ref<HTMLDivElement>
prop trigger: ReactNode
prop value?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CollapsibleGroup(props: CollapsibleGroupProps)
prop chevronPosition?: CollapsibleChevronPosition = 'end'
prop children: ReactNode
prop defaultValue?: string | string[]
prop density?: CollapsibleGroupDensity
prop hasDividers?: boolean = false
prop onChange?: (value: string | string[]) => void
prop ref?: React.Ref<HTMLElement>
prop type?: 'single' | 'multiple' = "single"
prop value?: string | string[]
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CommandPalette(props: CommandPaletteProps)
prop emptyBootstrapText?: ReactNode = 'Type to search'
prop emptySearchText?: ReactNode = 'No results'
prop footer?: ReactNode = <CommandPaletteFooter />
prop input?: ReactNode = <CommandPaletteInput />
prop isInline?: boolean = false
prop isOpen: boolean
prop label?: string = 'Command palette'
prop maxHeight?: number | string = 480
prop onOpenChange: (isOpen: boolean) => void
prop onValueChange?: (value: string) => void
prop ref?: React.Ref<HTMLDialogElement>
prop renderItem?: (item: T, isSelected: boolean) => ReactNode
prop searchSource: SearchSource<T>
prop value?: string
prop width?: number | string = 640
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CommandPaletteEmpty(props: CommandPaletteEmptyProps)
prop children: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CommandPaletteFooter(props: CommandPaletteFooterProps)
prop children?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CommandPaletteGroup(props: CommandPaletteGroupProps)
prop children: ReactNode
prop heading: string
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CommandPaletteInput(props: CommandPaletteInputProps)
prop endContent?: ReactNode
prop hasAutoFocus?: boolean = true
prop label?: string = 'Search commands'
prop onChange?: React.ChangeEventHandler<HTMLInputElement>
prop onValueChange?: (value: string) => void
prop placeholder?: string = 'Search…'
prop ref?: React.Ref<HTMLInputElement>
prop value?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CommandPaletteItem(props: CommandPaletteItemProps)
prop children: ReactNode
prop isDisabled?: boolean = false
prop isHighlighted?: boolean = false
prop isSelected?: boolean = false
prop onSelect?: (value: string) => void
prop ref?: React.Ref<HTMLDivElement>
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component CommandPaletteList(props: CommandPaletteListProps)
prop children: ReactNode
prop label?: string = 'Commands'
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ComplexSelector(props: ComplexSelectorProps)
prop alignment?: LayerAlignment
prop changeAction?: (value: Value) => void | Promise<void>
prop children: (value: Value, onChange: (value: Value) => void, close: () => void, state: ComplexSelectorRenderState) => ReactNode
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop contentXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop data-testid?: string
prop description?: string
prop handleRef?: React.Ref<ComplexSelectorHandle>
prop isDisabled?: boolean
prop isLabelHidden?: boolean
prop isLoading?: boolean
prop isOptional?: boolean
prop isRequired?: boolean
prop label: string
prop labelTooltip?: string
prop onChange?: (value: Value) => void
prop onClick?: React.MouseEventHandler<HTMLElement>
prop onKeyDown?: React.KeyboardEventHandler<HTMLElement>
prop onOpenChange?: (isOpen: boolean) => void
prop placeholder?: ReactNode
prop placement?: LayerPlacement
prop ref?: React.Ref<HTMLElement>
prop renderTrigger?: (props: ComplexSelectorRenderTriggerProps) => ReactNode
prop size?: ComplexSelectorSize
prop startIcon?: ReactNode | IconType
prop status?: ComplexSelectorStatus
prop statusVariant?: FieldStatusPlacement = 'attached' for input selectors; 'detached' for secondary and ghost selectors
prop triggerLabel?: ReactNode
prop value: Value
prop variant?: ComplexSelectorVariant
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ContextMenu(props: ContextMenuProps)
prop children: ReactNode
prop data-testid?: string
prop isDisabled?: boolean
prop items?: ContextMenuOption[]
prop label?: string = 'Context menu'
prop menuContent?: undefined
prop menuWidth?: number | string = '160px'
prop onOpenChange?: (isOpen: boolean) => void
prop presentation?: AdaptivePresentation = 'popover'
prop ref?: React.Ref<HTMLElement>
prop size?: 'sm' | 'md' | 'lg' = 'md'
prop triggerAs?: 'div' | 'span' = 'div'
prop triggerXstyle?: StyleXStyles | StyleXStyles[]
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ContextMenuCheckboxItem(props: DropdownMenuCheckboxItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop hasCloseOnSelect?: boolean = false
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop onChange?: (checked: boolean) => void
prop ref?: React.Ref<HTMLElement>
prop value: boolean
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ContextMenuDivider(props: DropdownMenuDividerProps)
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ContextMenuGroup(props: DropdownMenuGroupProps)
prop children?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop title?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ContextMenuItem(props: DropdownMenuItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop hasCloseOnSelect?: boolean = true
prop href?: string
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop onClick?: (event: MouseEvent) => void
prop ref?: React.Ref<HTMLElement>
prop rel?: string
prop target?: '_blank' | '_self'
prop variant?: 'default' | 'destructive' = 'default'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ContextMenuRadioGroup(props: DropdownMenuRadioGroupProps)
prop children: ReactNode
prop hasCloseOnSelect?: boolean = true
prop label: string
prop onChange: (value: string) => void
prop ref?: Ref<HTMLDivElement>
prop value: string | undefined
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ContextMenuRadioItem(props: DropdownMenuRadioItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop ref?: React.Ref<HTMLElement>
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ContextMenuSubMenu(props: DropdownMenuSubMenuProps)
prop children: ReactNode
prop data-testid?: string
prop delay?: number = 150
prop description?: ReactNode
prop footer?: ReactNode
prop hasSpinner?: boolean = false
prop header?: ReactNode
prop hideDelay?: number = 200
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop menuDataTestId?: string
prop menuWidth?: number | string
prop onOpenChange?: (isOpen: boolean) => void
prop presentation?: DropdownMenuSubMenuPresentation = 'adaptive'
prop ref?: React.Ref<HTMLElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DateInput(props: DateInputProps)
prop calendar?: CalendarSystem = the InternationalizationProvider's calendar, else `'gregory'`
prop changeAction?: (value: ISODateString | undefined) => void | Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop dateConstraints?: ReadonlyArray<(date: Date) => boolean>
prop description?: string
prop disabledMessage?: string
prop format?: DateInputFormat | ((value: ISODateString) => string) = 'date_long'
prop hasClear?: boolean = false
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop max?: ISODateString
prop min?: ISODateString
prop nativePicker?: DateInputNativePicker = 'touch' @deprecated
prop numberOfMonths?: 1 | 2 = 1
prop onChange?: (value: ISODateString | undefined) => void
prop placeholder?: string = "Select a date"
prop presentation?: DateInputPresentation = 'adaptive-native'
prop ref?: React.Ref<HTMLInputElement>
prop size?: DateInputSize = 'md'
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop value?: ISODateString
prop weekStartsOn?: DayOfWeek | DayOfWeekName = 0
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DateRangeInput(props: DateRangeInputProps)
prop calendar?: CalendarSystem = the InternationalizationProvider's calendar, else `'gregory'`
prop changeAction?: (value: DateRange | null) => void | Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop dateConstraints?: ReadonlyArray<(date: Date) => boolean>
prop description?: string
prop disabledMessage?: string
prop hasClear?: boolean = true
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop max?: ISODateString
prop maxRangeSpan?: number
prop min?: ISODateString
prop minRangeSpan?: number
prop numberOfMonths?: 1 | 2 = 2
prop onChange: (value: DateRange | null) => void
prop placeholder?: string = "Select date range"
prop presets?: ReadonlyArray<DateRangePreset>
prop ref?: React.Ref<HTMLButtonElement>
prop size?: DateRangeInputSize = 'md'
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop value: DateRange | null
prop weekStartsOn?: DayOfWeek | DayOfWeekName = 0
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DateTimeInput(props: DateTimeInputProps)
prop calendar?: CalendarSystem = the InternationalizationProvider's calendar, else `'gregory'`
prop changeAction?: (value: ISODateTimeString | undefined) => void | Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop dateConstraints?: ReadonlyArray<(date: Date) => boolean>
prop description?: string
prop disabledMessage?: string
prop hasClear?: boolean = false
prop hasSeconds?: boolean = false
prop hourFormat?: DateTimeInputHourFormat = the locale's hour cycle
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop max?: ISODateTimeString
prop min?: ISODateTimeString
prop nativePicker?: DateTimeInputNativePicker = 'touch' @deprecated
prop numberOfMonths?: 1 | 2 = 1
prop onChange: (value: ISODateTimeString | undefined) => void
prop placeholder?: string = "Select a date"
prop presentation?: DateTimeInputPresentation = 'adaptive-native'
prop ref?: React.Ref<HTMLInputElement>
prop size?: DateTimeInputSize = 'md'
prop status?: InputStatus
prop timeIncrement?: DateTimeInputTimeIncrement = 1
prop timeLabel?: string
prop timeOptionInterval?: DateTimeInputTimeOptionInterval
prop timePlaceholder?: string = "Select a time"
prop value?: ISODateTimeString
prop weekStartsOn?: DayOfWeek | DayOfWeekName = 0
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Dialog(props: DialogProps)
prop children: ReactNode
prop isInline?: boolean = false
prop isOpen: boolean
prop maxHeight?: number | string = '75dvh'
prop onOpenChange: (isOpen: boolean) => unknown
prop padding?: SpacingStep
prop position?: Readonly<DialogPosition>
prop purpose?: DialogPurpose = 'info'
prop ref?: React.Ref<HTMLDialogElement>
prop variant?: DialogVariant = 'standard'
prop width?: number | string = 400
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DialogHeader(props: DialogHeaderProps)
prop endContent?: ReactNode
prop endContentEdgeCompensation?: 'inline' | 'block' | 'all'
prop hasDivider?: boolean
prop onOpenChange?: (isOpen: boolean) => unknown
prop ref?: React.Ref<HTMLDivElement>
prop startContent?: ReactNode
prop subtitle?: ReactNode
prop title: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Divider(props: DividerProps)
prop isFullBleed?: boolean = false
prop label?: ReactNode
prop orientation?: 'horizontal' | 'vertical' = 'horizontal'
prop ref?: React.Ref<HTMLDivElement>
prop variant?: DividerVariant = 'subtle'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Drawer(props: DrawerProps)
prop children: ReactNode
prop data-testid?: string
prop experimental?: { isFullWidthOnMobile?: boolean } @experimental
prop hasScrim?: boolean = true
prop isOpen: boolean
prop label: string
prop onOpenChange: (isOpen: boolean) => void
prop padding?: SpacingStep
prop purpose?: DialogPurpose = 'info'
prop ref?: React.Ref<HTMLDialogElement>
prop side?: 'start' | 'end' = 'end'
prop width?: number | string = 400
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DrawerHeader(props: DrawerHeaderProps)
prop endContent?: ReactNode
prop endContentEdgeCompensation?: 'inline' | 'block' | 'all'
prop hasDivider?: boolean
prop onOpenChange?: (isOpen: boolean) => unknown
prop ref?: React.Ref<HTMLDivElement>
prop startContent?: ReactNode
prop subtitle?: ReactNode
prop title: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DropdownMenu(props: DropdownMenuProps)
prop alignment?: LayerAlignment = 'start'
prop button?: DropdownMenuButtonProps
prop children?: undefined
prop data-testid?: string
prop footer?: ReactNode
prop hasChevron?: boolean
prop header?: ReactNode
prop isMenuOpen?: boolean
prop items?: DropdownMenuOption[]
prop menuMaxHeight?: number
prop menuWidth?: number | string
prop onClick?: () => void
prop onOpenChange?: (isOpen: boolean) => void
prop placement?: LayerPlacement = 'below'
prop presentation?: DropdownMenuPresentation
prop renderTrigger?: (props: DropdownMenuTriggerProps) => ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DropdownMenuCheckboxItem(props: DropdownMenuCheckboxItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop hasCloseOnSelect?: boolean = false
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop onChange?: (checked: boolean) => void
prop ref?: React.Ref<HTMLElement>
prop value: boolean
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DropdownMenuDivider(props: DropdownMenuDividerProps)
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DropdownMenuGroup(props: DropdownMenuGroupProps)
prop children?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop title?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DropdownMenuItem(props: DropdownMenuItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop hasCloseOnSelect?: boolean = true
prop href?: string
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop onClick?: (event: MouseEvent) => void
prop ref?: React.Ref<HTMLElement>
prop rel?: string
prop target?: '_blank' | '_self'
prop variant?: 'default' | 'destructive' = 'default'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DropdownMenuRadioGroup(props: DropdownMenuRadioGroupProps)
prop children: ReactNode
prop hasCloseOnSelect?: boolean = true
prop label: string
prop onChange: (value: string) => void
prop ref?: Ref<HTMLDivElement>
prop value: string | undefined
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DropdownMenuRadioItem(props: DropdownMenuRadioItemProps)
prop description?: ReactNode
prop endContent?: ReactNode
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop ref?: React.Ref<HTMLElement>
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component DropdownMenuSubMenu(props: DropdownMenuSubMenuProps)
prop children: ReactNode
prop data-testid?: string
prop delay?: number = 150
prop description?: ReactNode
prop footer?: ReactNode
prop hasSpinner?: boolean = false
prop header?: ReactNode
prop hideDelay?: number = 200
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop menuDataTestId?: string
prop menuWidth?: number | string
prop onOpenChange?: (isOpen: boolean) => void
prop presentation?: DropdownMenuSubMenuPresentation = 'adaptive'
prop ref?: React.Ref<HTMLElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component EmptyState(props: EmptyStateProps)
prop actions?: ReactNode
prop description?: string
prop headingLevel?: 1 | 2 | 3 | 4 | 5 | 6 = 3
prop icon?: ReactNode
prop isCompact?: boolean = false
prop ref?: React.Ref<HTMLDivElement>
prop title: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Field(props: FieldProps)
prop children: ReactNode
prop description?: string
prop descriptionID?: string
prop inputID: string
prop isDisabled?: boolean = false
prop isGroupLabel?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelID?: string
prop labelIcon?: ReactNode | IconType
prop labelTooltip?: string
prop ref?: React.Ref<HTMLDivElement>
prop status?: FieldStatusInput
prop statusVariant?: FieldStatusPlacement = 'attached'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component FieldLabel(props: FieldLabelProps)
prop description?: ReactNode
prop descriptionID?: string
prop inputID: string
prop isDisabled?: boolean = false
prop isGroupLabel?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelID?: string
prop labelIcon?: ReactNode | IconType
prop labelTooltip?: string
prop ref?: React.Ref<HTMLLabelElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component FieldStatus(props: FieldStatusProps)
overload (props: FieldStatusProps & { variant: 'tooltip' }) => React.JSX.Element @deprecated
prop message: string
prop ref?: React.Ref<HTMLDivElement>
prop type: InputStatusType
prop variant?: FieldStatusVariant = 'attached'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component FileInput(props: FileInputProps)
prop accept?: string
prop changeAction?: (files: File | File[] | null) => Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop description?: string
prop disabledMessage?: string
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isMultiple?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop maxFiles?: number
prop maxSize?: number
prop mode?: 'dropzone' | 'input' = 'input'
prop onChange: (files: File | File[] | null) => void
prop placeholder?: string = "Choose file" or "Choose files"
prop ref?: React.Ref<HTMLInputElement>
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop value: File | File[] | null
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component FormLayout(props: FormLayoutProps)
prop children?: ReactNode
prop defaultOptionality?: FormOptionality
prop direction?: FormLayoutDirection = 'vertical'
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Grid(props: GridProps)
prop align?: GridAlignment
prop children?: ReactNode
prop columnGap?: SpacingStep
prop columns?: GridColumns
prop gap?: SpacingStep
prop height?: SizeValue
prop justify?: GridAlignment
prop maxWidth?: SizeValue
prop minHeight?: SizeValue
prop ref?: React.Ref<HTMLDivElement>
prop rowGap?: SpacingStep
prop rowHeight?: number
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component GridSpan(props: GridSpanProps)
prop children?: ReactNode
prop columns?: number | 'full'
prop ref?: React.Ref<HTMLDivElement>
prop rows?: number
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component HStack(props: HStackProps)
prop align?: StackCrossAlignment
prop as?: ElementType = 'div'
prop children?: ReactNode
prop gap?: SpacingStep
prop hAlign?: StackMainAlignment
prop height?: SizeValue
prop isScrollable?: boolean = false
prop justify?: StackMainAlignment
prop maxWidth?: SizeValue
prop minHeight?: SizeValue
prop padding?: SpacingStep
prop paddingBlock?: SpacingStep
prop paddingBlockEnd?: SpacingStep
prop paddingBlockStart?: SpacingStep
prop paddingInline?: SpacingStep
prop paddingInlineEnd?: SpacingStep
prop paddingInlineStart?: SpacingStep
prop ref?: React.Ref<HTMLElement>
prop vAlign?: StackCrossAlignment = 'stretch'
prop width?: SizeValue
prop wrap?: StackWrap = 'nowrap'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Heading(props: HeadingProps)
prop accessibilityLevel?: HeadingLevel = Same as `level`
prop children: ReactNode
prop color?: TextColor = 'primary'
prop display?: TextDisplay = 'block'
prop hasCapsize?: boolean = false
prop hasStrikethrough?: boolean = false
prop hasTruncateTooltip?: boolean | LayerPlacement = true
prop justify?: TextJustify = 'start'
prop level: HeadingLevel
prop maxLines?: number = 0
prop ref?: React.Ref<HTMLHeadingElement>
prop textWrap?: TextWrap
prop type?: HeadingType
prop weight?: TextWeight
prop wordBreak?: WordBreak = 'break-all' for maxLines=1, 'break-word' otherwise
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component HoverCard(props: HoverCardProps)
prop alignment?: LayerAlignment = 'center'
prop children: ReactNode
prop content: ReactNode
prop delay?: number = 300
prop focusTrigger?: HoverCardFocusTrigger = 'auto'
prop hasHoverIndication?: 'auto' | boolean = 'auto'
prop hideDelay?: number = 200
prop isDefaultOpen?: boolean
prop isEnabled?: boolean = true
prop isOpen?: boolean
prop label?: string
prop onOpenChange?: (isOpen: boolean) => void
prop placement?: LayerPlacement = 'above'
prop touchTrigger?: HoverCardTouchTrigger = 'auto'
prop xstyle?: StyleXStyles
inherits HTMLAttributes
component Icon(props: IconProps)
prop color?: IconColor = 'inherit'
prop icon: IconType | IconName | NamespacedIconName
prop label?: string
prop ref?: React.Ref<SVGSVGElement>
prop size?: IconSize
prop variant?: IconVariant
prop xstyle?: StyleXStyles
inherits AriaAttributes, Attributes, DOMAttributes, SVGAttributes
component IconButton(props: IconButtonProps)
prop as?: LinkComponentType
prop clickAction?: (e: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>
prop elevation?: Elevation = 'none'
prop form?: string
prop href?: string
prop icon: ReactNode
prop isDisabled?: boolean = false
prop isInterruptible?: boolean = false
prop isLoading?: boolean = false
prop label: string
prop name?: string
prop onClick?: React.MouseEventHandler<HTMLButtonElement>
prop ref?: React.Ref<HTMLButtonElement>
prop rel?: string
prop size?: ButtonSize = 'md'
prop target?: string
prop tooltip?: string
prop type?: 'button' | 'submit' | 'reset' = 'button'
prop value?: string | number | ReadonlyArray<string>
prop variant?: ButtonVariant = 'secondary'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component InfoTip(props: InfoTipProps)
prop content: ReactNode
prop label?: string = A translated "More information"
prop ref?: Ref<HTMLButtonElement>
prop size?: InfoTipSize = 'sm'
prop xstyle?: StyleXStyles
inherits HTMLAttributes
component InputClearButton(props: InputClearButtonProps)
prop iconClassName?: string
prop label: string
prop onClick: (e: React.MouseEvent<HTMLButtonElement>) => void
prop xstyle?: stylex.StyleXStyles
component InputGroup(props: InputGroupProps)
prop children: ReactNode
prop data-testid?: string
prop description?: string
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop ref?: React.Ref<HTMLDivElement>
prop size?: InputGroupSize = 'md'
prop status?: InputStatus
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component InputGroupText(props: InputGroupTextProps)
prop children: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component InternationalizationProvider(props: InternationalizationProviderProps)
prop calendar?: CalendarSystem
prop children: ReactNode
prop dir?: 'ltr' | 'rtl'
prop locale: Locale
prop messages?: ProviderMessagesByLocale
prop overrides?: Overrides
component Item(props: ItemProps)
prop align?: ItemAlign = 'center'
prop as?: 'div' | 'li' | 'span' | React.ElementType = 'div'
prop data-testid?: string
prop density?: ItemDensity = 'balanced'
prop description?: ReactNode
prop descriptionLines?: number
prop endContent?: ReactNode
prop href?: string
prop interactiveRef?: React.RefObject<HTMLElement | null>
prop isDisabled?: boolean = false
prop isHighlighted?: boolean = false
prop isSelected?: boolean = false
prop label: ReactNode
prop labelLines?: number
prop layout?: 'stacked' | 'inline' = 'stacked'
prop marker?: ReactNode
prop onClick?: (event: React.MouseEvent) => void
prop ref?: React.Ref<HTMLElement>
prop rel?: string
prop startContent?: ReactNode
prop swipeActions?: ItemSwipeActions
prop swipeBehavior?: ItemSwipeBehavior = 'reveal'
prop target?: '_blank' | '_self'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Kbd(props: KbdProps)
prop keys: string
prop ref?: React.Ref<HTMLSpanElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component LayerProvider(props: LayerProviderProps)
prop children: ReactNode
prop inset?: LayerInset
prop toast?: LayerToastConfig
component Layout(props: LayoutProps)
prop children?: ReactNode
prop content?: ReactNode
prop contentWidth?: SizeValue
prop defaultHasDividers?: boolean
prop end?: ReactNode
prop footer?: ReactNode
prop header?: ReactNode
prop height?: LayoutHeight = 'fill'
prop padding?: SpacingStep
prop ref?: React.Ref<HTMLDivElement>
prop start?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component LayoutContent(props: LayoutContentProps)
prop children?: ReactNode
prop isScrollable?: boolean = true
prop label?: string
prop padding?: SpacingStep
prop ref?: React.Ref<HTMLDivElement>
prop role?: AriaRole
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component LayoutFooter(props: LayoutFooterProps)
prop children?: ReactNode
prop hasDivider?: boolean = false
prop height?: SizeValue
prop label?: string
prop padding?: SpacingStep
prop ref?: React.Ref<HTMLDivElement>
prop role?: AriaRole
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component LayoutHeader(props: LayoutHeaderProps)
prop children?: ReactNode
prop hasDivider?: boolean = false
prop height?: SizeValue
prop label?: string
prop padding?: SpacingStep
prop paddingBlockEnd?: SpacingStep
prop ref?: React.Ref<HTMLDivElement>
prop role?: AriaRole
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component LayoutPanel(props: LayoutPanelProps)
prop children?: ReactNode
prop hasDivider?: boolean = false
prop isScrollable?: boolean = true
prop label?: string
prop padding?: SpacingStep
prop ref?: React.Ref<HTMLDivElement>
prop resizable?: ResizableRegion | ResizableProps
prop role?: AriaRole
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Lightbox(props: LightboxProps)
prop defaultIndex?: number = 0
prop hasAutoPlay?: boolean = false
prop hasZoom?: boolean = false
prop index?: number
prop isOpen: boolean
prop media: LightboxMedia | LightboxMedia[]
prop onIndexChange?: (index: number) => void
prop onOpenChange: (isOpen: boolean) => void
prop ref?: React.Ref<HTMLDialogElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Link(props: LinkProps)
prop as?: LinkComponentType
prop children: ReactNode
prop color?: TextColor = 'accent'
prop display?: TextDisplay = 'inline'
prop download?: string | boolean
prop hasUnderline?: boolean = false
prop href?: string
prop isDisabled?: boolean = false
prop isExternalLink?: boolean = false
prop isStandalone?: boolean = false
prop label?: string
prop maxLines?: number = 0
prop newTabLabel?: string = '(opens in new tab)'
prop onClick?: React.MouseEventHandler<HTMLAnchorElement | HTMLButtonElement>
prop ref?: React.Ref<HTMLAnchorElement | HTMLButtonElement>
prop referrerPolicy?: React.HTMLAttributeReferrerPolicy
prop rel?: string
prop size?: TextSize
prop target?: string
prop tooltip?: string
prop type?: TextType = 'body'
prop weight?: TextWeight
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component LinkProvider(props: LinkProviderProps)
prop children: ReactNode
prop component: LinkComponentType
component List(props: ListProps)
prop animatedLayout?: AnimatedLayout
prop children: ReactNode
prop data-testid?: string
prop density?: ListDensity = 'balanced'
prop edge?: ListEdge = 'padded'
prop edgeCompensation?: 'inline' @deprecated
prop hasDividers?: boolean = false
prop header?: ReactNode
prop listStyle?: ListMarkerStyle = 'none'
prop ref?: React.Ref<HTMLUListElement | HTMLOListElement>
prop reorderable?: Reorderable
prop start?: number = 1
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ListItem(props: ListItemProps)
prop align?: ItemAlign = 'center'
prop description?: ReactNode
prop endContent?: ReactNode
prop href?: string
prop interactiveRef?: React.RefObject<HTMLElement | null>
prop isDisabled?: boolean = false
prop isSelected?: boolean = false
prop itemKey?: string | number
prop label: ReactNode
prop onClick?: (e: React.MouseEvent) => void
prop ref?: React.Ref<HTMLLIElement>
prop rel?: string
prop startContent?: ReactNode
prop swipeActions?: ItemSwipeActions
prop swipeBehavior?: ItemSwipeBehavior = 'reveal'
prop target?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Markdown(props: MarkdownProps)
prop autolink?: 'gfm'
prop children: string
prop citationStyle?: 'label' | 'number' = 'label'
prop codeLanguages?: ReadonlyArray<CodeLanguage>
prop components?: Partial<MarkdownComponents>
prop contentAlign?: 'start' | 'center' = 'start'
prop contentWidth?: number | string
prop density?: 'default' | 'compact'
prop display?: TextDisplay = 'block'
prop headingLevelStart?: 1 | 2 | 3 | 4 | 5 | 6 = 1
prop inlinePlugins?: MarkdownInlinePlugin[]
prop isStreaming?: boolean
prop onLinkClick?: (href: string, event: React.MouseEvent<HTMLAnchorElement>) => void | false
prop plugins?: Plugins
prop ref?: React.Ref<HTMLDivElement> | React.Ref<HTMLSpanElement>
prop sources?: Record<string, MarkdownSource>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component MediaTheme(props: MediaThemeProps)
prop children: React.ReactNode
prop fallback?: 'dark' | 'light' = "dark"
prop mode: MediaThemeMode
component MetadataList(props: MetadataListProps)
prop children: ReactNode
prop columns?: MetadataListColumns = 'single'
prop data-testid?: string
prop label?: MetadataListLabelConfig
prop maxNumOfItems?: number
prop orientation?: 'vertical' | 'horizontal' = 'vertical'
prop ref?: React.Ref<HTMLDivElement>
prop title?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component MetadataListItem(props: MetadataListItemProps)
prop children: ReactNode
prop data-testid?: string
prop icon?: ReactNode
prop label: string
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component MobileNav(props: MobileNavProps)
prop children: ReactNode
prop data-testid?: string
prop header?: ReactNode
prop isOpen?: boolean
prop label?: string
prop onOpenChange?: (isOpen: boolean) => void
prop ref?: React.Ref<HTMLDialogElement>
prop side?: 'start' | 'end' | 'auto' = 'auto'
prop width?: number = 320
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component MobileNavToggle(props: MobileNavToggleProps)
prop children?: ReactNode
prop data-testid?: string
prop label?: string = 'Open navigation'
prop ref?: React.Ref<HTMLButtonElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component MoreMenu(props: MoreMenuProps)
prop alignment?: LayerAlignment = 'start'
prop data-testid?: string
prop icon?: ReactNode = Three horizontal dots from the icon registry ('moreHorizontal')
prop isDisabled?: boolean = false
prop isMenuOpen?: boolean
prop items: DropdownMenuOption[]
prop label?: string = 'More options'
prop onOpenChange?: (isOpen: boolean) => void
prop placement?: LayerPlacement = 'below'
prop presentation?: DropdownMenuPresentation
prop ref?: React.Ref<HTMLButtonElement>
prop size?: ButtonSize = 'md'
prop variant?: ButtonVariant = 'ghost'
prop xstyle?: StyleXStyles
inherits HTMLAttributes
component MultiSelector(props: MultiSelectorProps)
prop changeAction?: (value: string[]) => void | Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop data-testid?: string
prop description?: string
prop disabledMessage?: string
prop emptySearchText?: ReactNode = 'No results found'
prop emptyText?: ReactNode = 'No options'
prop formatValue?: (items: MultiSelectorSelectedItem[]) => string = the translated `@astryx.multiSelector.selectedCount` message ("2 selected") for 'count', "A, B, C, +N" for 'labels'
prop handleRef?: React.Ref<MultiSelectorHandle>
prop hasClear?: boolean = false
prop hasCreate?: boolean = false
prop hasSearch?: boolean = false
prop hasSelectAll?: boolean = false
prop htmlName?: string
prop indicatorPosition?: IndicatorPosition = 'start'
prop isDefaultOpen?: boolean = false
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isReadOnly?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop maxBadges?: number = 3
prop onChange: (value: string[], change?: MultiSelectorChange) => void
prop onClick?: React.MouseEventHandler<HTMLElement>
prop onFocus?: React.FocusEventHandler<HTMLElement>
prop onKeyDown?: React.KeyboardEventHandler<HTMLElement>
prop onOpenChange?: (isOpen: boolean) => void
prop options: T[]
prop placeholder?: string = 'Select...'
prop presentation?: MultiSelectorPresentation = 'popover'
prop ref?: React.Ref<HTMLElement>
prop renderOption?: (option: MultiSelectorOptionData) => ReactNode
prop renderTrigger?: (props: MultiSelectorRenderTriggerProps) => ReactNode
prop searchPlaceholder?: string = 'Search...'
prop selectAllLabel?: string = 'Select all'
prop size?: MultiSelectorSize = 'md'
prop startIcon?: ReactNode | IconType
prop status?: MultiSelectorStatus
prop statusVariant?: FieldStatusPlacement = 'attached' for input selectors; 'detached' for secondary and ghost selectors
prop triggerDisplay?: 'count' | 'labels' | 'badges' = 'count'
prop value: string[]
prop variant?: MultiSelectorVariant = 'input'
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component NavHeadingMenu(props: NavHeadingMenuProps)
prop children: ReactNode
prop minWidth?: number | string
prop ref?: React.Ref<HTMLDivElement>
prop size?: NavHeadingMenuSize = 'md'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component NavHeadingMenuItem(props: NavHeadingMenuItemProps)
prop description?: ReactNode
prop href?: string
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop label: ReactNode
prop onClick?: () => void
prop ref?: React.Ref<HTMLElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component NavIcon(props: NavIconProps)
prop icon: ReactNode
prop ref?: React.Ref<HTMLSpanElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component NumberInput(props: NumberInputProps)
prop autoComplete?: string
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop description?: string
prop disabledMessage?: string
prop formatValue?: (value: number) => string
prop hasAutoFocus?: boolean = false
prop hasClear?: false
prop hasNumberSteppers?: boolean = false
prop htmlName?: string
prop isDisabled?: boolean = false
prop isIntegerOnly?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isReadOnly?: boolean = false
prop isRequired?: boolean = false
prop isWheelEnabled?: boolean = true
prop label: string
prop labelIcon?: ReactNode | IconType
prop labelTooltip?: string
prop max?: number | null
prop min?: number | null
prop onBlur?: (e: FocusEvent<HTMLInputElement>) => void
prop onChange: (value: number) => void
prop onEnter?: () => void
prop onFocus?: (e: FocusEvent<HTMLInputElement>) => void
prop onKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void
prop placeholder?: string
prop ref?: React.Ref<HTMLInputElement>
prop size?: NumberInputSize = 'md'
prop startIcon?: ReactNode | IconType
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop step?: number | null = 1
prop units?: string | null
prop value: number | null | undefined
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Outline(props: OutlineProps)
prop activeId?: string
prop data-testid?: string
prop density?: 'default' | 'compact' = 'default'
prop hasScrollOnClick?: boolean = true
prop items: OutlineItem[]
prop label?: string = 'Table of contents'
prop offset?: number = 0
prop onActiveIdChange?: (id: string) => void
prop onNavigateEnd?: (id: string) => void
prop onNavigateStart?: (id: string) => void
prop ref?: React.Ref<HTMLElement>
prop scrollContainerRef?: React.RefObject<HTMLElement | null>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component OverflowList(props: OverflowListProps)
prop behavior?: 'observeParent' | 'observeSelf' = 'observeSelf'
prop children: ReactNode
prop collapseFrom?: 'start' | 'end' = 'end'
prop gap?: SpacingStep = 2
prop maxRows?: number = undefined
prop maxVisibleItems?: number = undefined
prop minVisibleItems?: number = 0
prop onOverflowChange?: (overflowItems: OverflowItem[]) => void
prop overflowRenderer?: (overflowItems: OverflowItem[]) => ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Overlay(props: OverlayProps)
prop align?: OverlayAlign = "end"
prop children?: ReactNode
prop content: ReactNode
prop isOpen?: boolean
prop position?: OverlayPosition = "fill"
prop ref?: Ref<HTMLDivElement>
prop scrim?: OverlayScrimMode = "dark"
prop showOn?: OverlayShowOn = "always"
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Pagination(props: PaginationProps)
prop changeAction?: (page: number) => void | Promise<void>
prop data-testid?: string
prop hasFirstLast?: boolean = true for `input`, false for `compact`
prop hasMore?: boolean
prop isDisabled?: boolean = false
prop label?: string = 'Pagination'
prop onChange: (page: number) => void
prop onPageSizeChange?: (pageSize: number) => void
prop page: number
prop pageLabel?: string = the localized "Page"
prop pageSize?: number = 10
prop pageSizeOptions?: number[]
prop ref?: React.Ref<HTMLElement>
prop siblingCount?: number = 1
prop size?: PaginationSize = 'md'
prop step?: number = 1
prop totalItems?: number
prop totalPages?: number
prop variant?: PaginationVariant = 'pages'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Popover(props: PopoverProps)
prop alignment?: LayerAlignment = 'start'
prop anchorRef?: React.RefObject<HTMLElement>
prop children?: ReactNode | ((props: PopoverTriggerRenderProps) => ReactNode)
prop closeButtonLabel?: string = "Close popover"
prop content: ReactNode
prop data-testid?: string
prop hasAutoFocus?: boolean = true
prop hasCloseButton?: boolean = true
prop hasEscapeDismiss?: boolean = true
prop hasLightDismiss?: boolean = true
prop isEnabled?: boolean = true
prop isModal?: boolean = true
prop isOpen?: boolean
prop label?: string
prop onOpenChange?: (isOpen: boolean) => void
prop padding?: SpacingStep = 3
prop placement?: LayerPlacement = 'below'
prop presentation?: PopoverPresentation = 'popover'
prop role?: 'dialog' | 'none' = 'dialog'
prop width?: number | string = 'auto'
prop xstyle?: StyleXStyles
inherits HTMLAttributes
component PowerSearch(props: PowerSearchProps)
prop components?: PowerSearchComponents
prop config: PowerSearchConfig
prop disabledMessage?: string
prop endContent?: React.ReactNode
prop filters: ReadonlyArray<PowerSearchFilter>
prop handleRef?: React.Ref<PowerSearchHandle>
prop hasAutoFocus?: boolean = false
prop hasClear?: boolean = true
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = true
prop isReadOnly?: boolean = false
prop label?: string = 'Search'
prop maxOperatorMenuItems?: number = 10
prop maxSearchResults?: number = 10
prop maxTokenLength?: number = 40
prop menuWidth?: number
prop onBlur?: (e: React.FocusEvent) => void
prop onChange: (filters: ReadonlyArray<PowerSearchFilter>, changeType: PowerSearchChangeType, index: number) => void
prop onFocus?: (e: React.FocusEvent) => void
prop placeholder?: string = 'Search...'
prop popoverSaveButtonLabel?: string = 'Apply'
prop presentation?: PowerSearchPresentation = 'adaptive'
prop ref?: React.Ref<HTMLDivElement>
prop resultCount?: number | string
prop size?: PowerSearchSize = 'md'
prop startIcon?: ReactNode | IconType
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop timezoneID?: string
prop tokenOverflowBehavior?: TokenizerOverflowBehavior = 'none'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component PowerSearchFilterEditor(props: PowerSearchEditorProps)
prop config: PowerSearchConfig
prop filter: PartialFilter
prop isReadOnly?: boolean
prop mode: 'create' | 'edit'
prop onCancel: () => void
prop onSave: (filter: PowerSearchFilter | null) => void
prop saveButtonLabel?: string
prop timezoneID?: string
component PowerSearchToken(props: PowerSearchTokenProps)
prop config: PowerSearchConfig
prop field: PowerSearchField
prop filter: PowerSearchFilter
prop isDisabled?: boolean
prop maxLength: number
prop onClick?: () => void
prop onRemove?: () => void
prop operator: PowerSearchOperator
prop timezoneID?: string
component ProgressBar(props: ProgressBarProps)
prop data-testid?: string
prop formatValueLabel?: (value: number, max: number) => string = (value, max) => `${Math.round((value / max) * 100)}%`
prop hasValueLabel?: boolean = false
prop isDisabled?: boolean = false
prop isIndeterminate?: boolean = false
prop isLabelHidden?: boolean = false
prop label: string
prop marks?: ReadonlyArray<ProgressBarMark>
prop max?: number = 100
prop ref?: React.Ref<HTMLDivElement>
prop value?: number
prop variant?: ProgressBarVariant = 'accent'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component RadioIndicator(props: IndicatorProps)
prop children?: ReactNode
prop isDisabled?: boolean = false
prop ref?: Ref<HTMLSpanElement>
prop size?: IndicatorSize = 'md'
prop state: IndicatorState<F>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component RadioList(props: RadioListProps)
prop children: ReactNode
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop data-testid?: string
prop description?: string
prop disabledMessage?: string
prop htmlName?: string
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop onChange: (value: string) => void
prop orientation?: 'vertical' | 'horizontal' = "vertical"
prop ref?: React.Ref<HTMLDivElement>
prop size?: RadioListSize = 'md'
prop status?: InputStatus
prop value: string
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component RadioListItem(props: RadioListItemProps)
prop align?: ItemAlign = 'center'
prop aria-label?: string
prop description?: ReactNode
prop endContent?: ReactNode
prop isDisabled?: boolean = false
prop label: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop startContent?: ReactNode
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ResizeHandle(props: ResizeHandleProps)
prop children?: ReactNode
prop direction?: 'horizontal' | 'vertical' = 'horizontal'
prop hasDivider?: boolean = false
prop isAlwaysVisible?: boolean = true
prop isDisabled?: boolean = false
prop isReversed?: boolean = false
prop label?: string = 'Resize handle'
prop pillPlacement?: PillPlacement = 'auto'
prop position?: 'inline' | 'overlay' = 'inline'
prop ref?: React.Ref<HTMLDivElement>
prop resizable?: ResizableRegion | ResizableProps
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ScrollableArea(props: ScrollableAreaProps)
prop axis?: ScrollAxis = 'block'
prop children?: ReactNode
prop height?: SizeValue
prop isFullBleed?: boolean = false
prop label: string
prop maxWidth?: SizeValue
prop minHeight?: SizeValue
prop overscroll?: ScrollOverscroll = 'allow'
prop padding?: SpacingStep = 0
prop paddingBlock?: SpacingStep
prop paddingBlockEnd?: SpacingStep
prop paddingBlockStart?: SpacingStep
prop paddingInline?: SpacingStep
prop paddingInlineEnd?: SpacingStep
prop paddingInlineStart?: SpacingStep
prop ref?: React.Ref<HTMLDivElement>
prop role?: 'group' | 'region' = 'group'
prop stickyContainment?: ScrollableAreaStickyContainment = 'whenScrollable'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Section(props: SectionProps)
prop children?: ReactNode
prop dividers?: ('top' | 'bottom' | 'start' | 'end')[]
prop height?: SizeValue
prop maxWidth?: SizeValue
prop minHeight?: SizeValue
prop padding?: SpacingStep = 4 (16px)
prop paddingBlock?: SpacingStep
prop paddingBlockEnd?: SpacingStep
prop paddingBlockStart?: SpacingStep
prop paddingInline?: SpacingStep
prop paddingInlineEnd?: SpacingStep
prop paddingInlineStart?: SpacingStep
prop ref?: React.Ref<HTMLElement>
prop variant?: SectionVariant = 'section'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SegmentedControl(props: SegmentedControlProps)
prop children: ReactNode
prop disabledMessage?: string
prop isDisabled?: boolean = false
prop label: string
prop layout?: SegmentedControlLayout = 'hug'
prop onChange: (value: string) => void
prop ref?: React.Ref<HTMLDivElement>
prop size?: SegmentedControlSize = 'md'
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SegmentedControlItem(props: SegmentedControlItemProps)
prop icon?: ReactNode
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop label: string
prop ref?: React.Ref<HTMLButtonElement>
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SelectableCard(props: SelectableCardProps)
prop children?: ReactNode
prop elevation?: Elevation = 'none'
prop height?: SizeValue
prop isDisabled?: boolean
prop isSelected: boolean
prop label: string
prop maxWidth?: SizeValue
prop onChange: (isSelected: boolean) => void
prop padding?: SpacingStep = 4 (16px)
prop ref?: Ref<HTMLDivElement>
prop variant?: CardVariant = 'default'
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Selector(props: SelectorProps)
prop changeAction?: (value: string) => void | Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop data-testid?: string
prop description?: string
prop disabledMessage?: string
prop emptySearchText?: ReactNode = 'No results found'
prop emptyText?: ReactNode = 'No options'
prop hasClear?: false
prop hasSearch?: boolean = false
prop htmlName?: string
prop indicatorPosition?: IndicatorPosition = 'end'
prop isDefaultOpen?: boolean = false
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isReadOnly?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop onChange?: (value: string) => void
prop onClick?: React.MouseEventHandler<HTMLElement>
prop onFocus?: React.FocusEventHandler<HTMLElement>
prop onKeyDown?: React.KeyboardEventHandler<HTMLElement>
prop options: T[]
prop placeholder?: string = 'Select...'
prop placement?: LayerPlacement
prop presentation?: SelectorPresentation = 'popover'
prop ref?: React.Ref<HTMLButtonElement>
prop renderOption?: (option: SelectorOptionData) => ReactNode
prop renderValue?: (option: SelectorOptionData) => ReactNode
prop searchPlaceholder?: string = 'Search...'
prop size?: SelectorSize = 'md'
prop startIcon?: ReactNode | IconType
prop status?: SelectorStatus
prop statusVariant?: FieldStatusPlacement = 'attached' for input selectors; 'detached' for secondary/ghost selectors
prop value?: string
prop variant?: SelectorVariant = 'input'
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SelectorOption(props: SelectorOptionProps)
prop className?: string
prop description?: ReactNode
prop endContent?: ReactNode
prop icon?: ReactNode | IconType
prop label: ReactNode
prop layout?: 'stacked' | 'inline' = 'stacked'
prop style?: React.CSSProperties
prop xstyle?: StyleXStyles
component SideNav(props: SideNavProps)
prop children: ReactNode
prop className?: string
prop collapsible?: boolean | SideNavCollapsibleConfig = false
prop data-testid?: string
prop footer?: ReactNode
prop footerIcons?: ReactNode
prop handleRef?: React.Ref<SideNavImperativeCollapseHandle> @deprecated
prop header?: ReactNode
prop ref?: React.Ref<HTMLElement>
prop resizable?: boolean | ResizableConfig | ResizableRegion = false
prop style?: React.CSSProperties
prop topContent?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SideNavCollapseButton(props: SideNavCollapseButtonProps)
prop children?: ReactNode
prop collapsible?: SideNavControlledCollapsible
prop handleRef?: React.RefObject<SideNavImperativeCollapseHandle | null> @deprecated
prop label?: string
prop ref?: React.Ref<HTMLButtonElement>
prop size?: ElementSize
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SideNavHeading(props: SideNavHeadingProps)
prop as?: LinkComponentType
prop headerEndContent?: ReactNode
prop heading: string
prop headingHref?: string
prop icon?: ReactNode
prop menu?: ReactNode
prop ref?: React.Ref<HTMLDivElement>
prop subheading?: string
prop subheadingHref?: string
prop superheading?: string
prop superheadingHref?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SideNavItem(props: SideNavItemProps)
prop actions?: ReactNode
prop as?: LinkComponentType
prop children?: ReactNode
prop collapsible?: boolean | { defaultIsCollapsed?: boolean; isCollapsed?: boolean; onCollapsedChange?: (isCollapsed: boolean) => void } = false
prop endContent?: ReactNode
prop href?: string
prop icon?: ReactNode | IconType
prop isDisabled?: boolean = false
prop isSelected?: boolean = false
prop label: string
prop onClick?: (e: React.MouseEvent) => void
prop ref?: React.Ref<HTMLElement>
prop selectedIcon?: ReactNode | IconType
prop size?: NavItemSize = 'md'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SideNavSection(props: SideNavSectionProps)
prop children: ReactNode
prop endContent?: ReactNode
prop isHeaderHidden?: boolean = false
prop ref?: React.Ref<HTMLDivElement>
prop subtitle?: string
prop title: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SizeProvider(props: ProviderProps)
inherits ProviderProps
component Skeleton(props: SkeletonProps)
prop data-testid?: string
prop height?: number | string = '100%'
prop index?: number = 0
prop radius?: SkeletonRadius = 3
prop ref?: React.Ref<HTMLDivElement>
prop width?: number | string = '100%'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Slider(props: SliderProps)
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop data-testid?: string
prop description?: string
prop disabledMessage?: string
prop formatValue?: (value: number) => string
prop htmlName?: string
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop marks?: { value: number; label?: string }[]
prop max?: number = 100
prop min?: number = 0
prop onChange?: (value: number) => void
prop onChangeEnd?: (value: number) => void
prop orientation?: 'horizontal' | 'vertical' = "horizontal"
prop ref?: React.Ref<HTMLDivElement>
prop status?: InputStatus
prop step?: number = 1
prop value: number
prop valueDisplay?: 'tooltip' | 'text' | 'none' = "tooltip"
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Spinner(props: SpinnerProps)
prop data-testid?: string
prop label?: ReactNode
prop ref?: React.Ref<HTMLSpanElement>
prop shade?: SpinnerShade = 'default'
prop size?: SpinnerSize = 'md'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Stack(props: StackProps)
prop align?: StackCrossAlignment
prop as?: ElementType = 'div'
prop children?: ReactNode
prop direction?: StackDirection = 'vertical'
prop gap?: SpacingStep
prop hAlign?: StackAlignment
prop height?: SizeValue
prop isScrollable?: boolean = false
prop justify?: StackMainAlignment
prop maxWidth?: SizeValue
prop minHeight?: SizeValue
prop padding?: SpacingStep
prop paddingBlock?: SpacingStep
prop paddingBlockEnd?: SpacingStep
prop paddingBlockStart?: SpacingStep
prop paddingInline?: SpacingStep
prop paddingInlineEnd?: SpacingStep
prop paddingInlineStart?: SpacingStep
prop ref?: React.Ref<HTMLElement>
prop vAlign?: StackAlignment
prop width?: SizeValue
prop wrap?: StackWrap = 'nowrap'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component StackItem(props: StackItemProps)
prop as?: ElementType = 'div'
prop children?: ReactNode
prop crossAlignSelf?: StackItemCrossAlignSelf
prop isScrollable?: boolean = false
prop ref?: React.Ref<HTMLElement>
prop size?: StackItemSize = "static"
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component StatusDot(props: StatusDotProps)
prop icon?: ReactNode
prop isPulsing?: boolean = false
prop label: string
prop ref?: React.Ref<HTMLSpanElement>
prop tooltip?: string
prop variant: StatusDotVariant
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Step(props: StepProps)
prop children?: ReactNode
prop density?: StepDensity
prop description?: string
prop endContent?: ReactNode
prop indicator?: StepIndicatorPreset | ReactNode = 'auto'
prop isDisabled?: boolean = false
prop isOptional?: boolean = false
prop label: string
prop ref?: React.Ref<HTMLLIElement>
prop status?: StepStatus
prop step: number
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Stepper(props: StepperProps)
prop activeStep: number
prop children: ReactNode
prop density?: 'compact' | 'balanced' | 'spacious' = 'balanced'
prop horizontalOptions?: StepperHorizontalOptions = {minimumStepWidth: 112, collapsedVariant: 'withLabelAndControls'}
prop indicatorPosition?: StepperIndicatorPosition = 'separated'
prop label?: string
prop onStepClick?: (index: number) => void
prop orientation?: StepperOrientation = 'horizontal'
prop ref?: React.Ref<HTMLOListElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Switch(props: SwitchProps)
prop changeAction?: (checked: boolean, e: ChangeEvent<HTMLInputElement>) => void | Promise<void>
prop description?: string
prop disabledMessage?: string
prop htmlName?: string
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelIcon?: ReactNode | IconType
prop labelPosition?: SwitchLabelPosition = 'end'
prop labelSpacing?: SwitchLabelSpacing = 'hug'
prop labelTooltip?: string
prop onBlur?: (e: FocusEvent<HTMLInputElement>) => void
prop onChange?: (checked: boolean, e: ChangeEvent<HTMLInputElement>) => void
prop onFocus?: (e: FocusEvent<HTMLInputElement>) => void
prop ref?: React.Ref<HTMLInputElement>
prop size?: 'sm' | 'md' = 'md'
prop status?: InputStatus
prop value: boolean
prop width?: SizeValue
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component SyntaxTheme(props: SyntaxThemeProps)
prop children: React.ReactNode
prop theme: SyntaxThemeDefinition
component Tab(props: TabProps)
prop as?: LinkComponentType
prop endContent?: ReactNode
prop href?: string
prop icon?: ReactNode
prop isLabelHidden?: boolean = false
prop label: string
prop panelId?: string
prop ref?: React.Ref<HTMLButtonElement>
prop selectedIcon?: ReactNode
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TabList(props: TabListProps)
prop children: ReactNode
prop hasDivider?: boolean = false
prop isFullBleed?: boolean = false
prop layout?: 'hug' | 'fill' = 'hug'
prop onChange: (value: string) => void
prop overflow?: TabListOverflow = 'auto'
prop ref?: React.Ref<HTMLElement>
prop role?: AriaRole
prop size?: TabListSize = 'md'
prop value: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TabMenu(props: TabMenuProps)
prop label: string
prop options: TabMenuOption[]
prop ref?: React.Ref<HTMLButtonElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Table
prop children?: ReactNode
prop columns?: TableColumn<T>[]
prop data?: T[]
prop density?: TableDensity = 'balanced'
prop dividers?: TableDividers = 'rows'
prop emptyState?: ReactNode | false = <EmptyState title="No data" isCompact />
prop hasHover?: boolean = false
prop idKey?: (keyof T & string) | ((item: T) => string | number)
prop isStriped?: boolean = false
prop plugins?: Record<string, TablePlugin<T>>
prop ref?: React.Ref<HTMLTableElement>
prop rowCount?: number
prop rowIndexStart?: number = 1
prop scrollWrapper?: ComponentType<{ children: ReactNode; htmlProps?: HTMLAttributes<HTMLDivElement> & { ref?: Ref<HTMLDivElement> }; xstyle?: StyleXStyles[]; beforeTable?: ReactNode; afterTable?: ReactNode }>
prop textOverflow?: 'wrap' | 'truncate' = 'wrap'
prop verticalAlign?: TableVerticalAlign = 'middle'
prop virtualization?: BaseTableProps<T>['virtualization']
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TableBody(props: TableBodyProps)
prop children: ReactNode
prop ref?: React.Ref<HTMLTableSectionElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TableCell(props: TableCellProps)
prop children?: ReactNode
prop colSpan?: number
prop contextMenuActions?: TableContextActions
prop headers?: string
prop ref?: React.Ref<HTMLTableCellElement>
prop rowSpan?: number
prop scope?: 'col' | 'row' | 'colgroup' | 'rowgroup'
prop xstyle?: StyleXStyles | StyleXStyles[]
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TableFooter(props: TableFooterProps)
prop children: ReactNode
prop ref?: React.Ref<HTMLTableSectionElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TableHeader(props: TableHeaderProps)
prop children: ReactNode
prop ref?: React.Ref<HTMLTableSectionElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TableHeaderCell(props: TableHeaderCellProps)
prop children?: ReactNode
prop contextMenuActions?: TableContextActions
prop ref?: React.Ref<HTMLTableCellElement>
prop scope?: 'col' | 'row' | 'colgroup' | 'rowgroup'
prop xstyle?: StyleXStyles | StyleXStyles[]
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TableRow(props: TableRowProps)
prop children: ReactNode
prop isHeaderRow?: boolean
prop ref?: React.Ref<HTMLTableRowElement>
prop xstyle?: StyleXStyles[]
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TableSelectionToolbar(props: TableSelectionToolbarProps)
prop centerContent?: ReactNode
prop clearLabel?: string = 'Unselect All'
prop dividers?: ('top' | 'bottom' | 'start' | 'end')[]
prop gap?: SpacingStep = 1
prop label?: string = 'Bulk actions'
prop orientation?: 'horizontal' | 'vertical' = 'horizontal'
prop ref?: React.Ref<HTMLDivElement>
prop renderSelectionLabel?: (selectedCount: number) => ReactNode
prop selection: TableSelectionState
prop size?: ToolbarSize = 'md'
prop startContent?: ReactNode
prop variant?: SectionVariant = 'transparent'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Text(props: TextProps)
prop as?: 'span' | 'p' | 'div' | 'label' | 'h1' | 'h2' | 'h3' = 'span'
prop children: ReactNode
prop color?: TextColor
prop display?: TextDisplay = 'inline'
prop hasCapsize?: boolean = false
prop hasStrikethrough?: boolean = false
prop hasTabularNumbers?: boolean = false
prop hasTruncateTooltip?: boolean | LayerPlacement = true
prop justify?: TextJustify = 'start'
prop maxLines?: number = 0
prop ref?: React.Ref<HTMLElement>
prop size?: TextSize
prop textWrap?: TextWrap
prop type?: TextType = 'body'
prop weight?: TextWeight
prop wordBreak?: WordBreak = 'break-all' for maxLines=1, 'break-word' otherwise
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TextArea(props: TextAreaProps)
prop autoCapitalize?: AutoCapitalize
prop autoComplete?: React.TextareaHTMLAttributes<HTMLTextAreaElement>['autoComplete']
prop changeAction?: (value: string, e: ChangeEvent<HTMLTextAreaElement>) => void | Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop description?: string
prop disabledMessage?: string
prop enterKeyHint?: EnterKeyHint
prop hasAutoCorrect?: boolean
prop hasAutoFocus?: boolean = false
prop hasSpellCheck?: boolean = true
prop htmlName?: string
prop inputMode?: InputMode
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isReadOnly?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop maxLength?: number
prop onBlur?: (e: FocusEvent<HTMLTextAreaElement>) => void
prop onChange?: (value: string, e: ChangeEvent<HTMLTextAreaElement>) => void
prop onFocus?: (e: FocusEvent<HTMLTextAreaElement>) => void
prop onPaste?: (e: ClipboardEvent<HTMLTextAreaElement>) => void
prop placeholder?: string
prop ref?: React.Ref<HTMLTextAreaElement>
prop rows?: number = 3
prop size?: TextAreaSize = 'md'
prop startIcon?: ReactNode | IconType
prop status?: TextAreaStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop value: string
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TextInput(props: TextInputProps)
prop autoCapitalize?: AutoCapitalize
prop autoComplete?: React.InputHTMLAttributes<HTMLInputElement>['autoComplete']
prop changeAction?: (value: string, e: ChangeEvent<HTMLInputElement>) => void | Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop description?: string
prop disabledMessage?: string
prop enterKeyHint?: EnterKeyHint
prop hasAutoCorrect?: boolean
prop hasAutoFocus?: boolean = false
prop hasClear?: boolean = false
prop hasSpellCheck?: boolean
prop htmlName?: string
prop inputMode?: InputMode
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isReadOnly?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop onChange?: (value: string, e: ChangeEvent<HTMLInputElement>) => void
prop onEnter?: () => void
prop onKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void
prop placeholder?: string
prop ref?: React.Ref<HTMLInputElement>
prop size?: TextInputSize = 'md'
prop startIcon?: ReactNode | IconType
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop type?: TextInputType = 'text'
prop value: string
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Theme(props: ThemeProps)
prop children: React.ReactNode
prop mode?: ThemeMode
prop theme: DefinedTheme
component Thumbnail(props: ThumbnailProps)
prop alt?: string
prop data-testid?: string
prop isDisabled?: boolean = false
prop isLoading?: boolean = false
prop label?: string
prop onClick?: (e: React.MouseEvent) => void
prop onRemove?: (e: React.MouseEvent) => void
prop ref?: React.Ref<HTMLDivElement>
prop showRemoveOn?: 'always' | 'hover' = 'hover'
prop src?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TimeInput(props: TimeInputProps)
prop changeAction?: (value: ISOTimeString | undefined) => void | Promise<void>
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop description?: string
prop disabledMessage?: string
prop hasAutoFocus?: boolean = false
prop hasClear?: boolean = false
prop hasSeconds?: boolean = false
prop hourFormat?: TimeInputHourFormat = the locale's hour cycle
prop increment?: number = 1
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isLoading?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop max?: ISOTimeString
prop min?: ISOTimeString
prop nativePicker?: TimeInputNativePicker = 'touch' @deprecated
prop onChange?: (value: ISOTimeString | undefined) => void
prop placeholder?: string = "Select a time"
prop presentation?: TimeInputPresentation = 'adaptive-native'
prop ref?: React.Ref<HTMLInputElement>
prop size?: TimeInputSize = 'md'
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop value?: ISOTimeString
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Timer(props: TimerProps)
prop color?: TextColor = 'secondary'
prop format?: TimerFormat = 'elapsed'
prop ref?: React.Ref<HTMLTimeElement>
prop size?: TextSize
prop startTime?: number
prop type?: TextType = 'supporting'
prop weight?: TextWeight
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Timestamp(props: TimestampProps)
prop autoThreshold?: number = 604800 (7 days)
prop color?: TextColor = 'secondary'
prop data-testid?: string
prop format?: TimestampFormat = 'auto'
prop hasTooltip?: boolean = true
prop isLive?: boolean = false
prop isTimezoneShown?: boolean = false
prop ref?: React.Ref<HTMLTimeElement>
prop size?: TextSize
prop timezoneID?: string
prop tooltipEntries?: ReadonlyArray<TimestampTooltipEntry> = undefined — a single default row with the full absolute time in the viewer's own time zone
prop type?: TextType = 'supporting'
prop value: string | number
prop weight?: TextWeight
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Toast(props: ToastProps)
prop autoHideDuration: number
prop body: ReactNode
prop endContent?: ReactNode
prop isAutoHide: boolean
prop isExiting?: boolean
prop onDismiss: (reason: ToastDismissReason) => void
prop renderContent?: ToastContentRenderFn
prop type: ToastType
component ToggleButton(props: ToggleButtonProps)
prop children?: ReactNode
prop elevation?: Elevation = 'none'
prop icon?: ReactNode
prop isDisabled?: boolean = false
prop isIconOnly?: boolean = false
prop isLoading?: boolean = false
prop isPressed?: boolean
prop label: string
prop onPressedChange?: (isPressed: boolean, event: React.MouseEvent<HTMLButtonElement>) => void
prop pressedChangeAction?: (isPressed: boolean) => void | Promise<void>
prop pressedIcon?: ReactNode
prop ref?: React.Ref<HTMLButtonElement>
prop size?: ButtonSize = 'md'
prop tooltip?: string
prop value?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component ToggleButtonGroup(props: ToggleButtonGroupProps)
prop children: ReactNode
prop data-testid?: string
prop isDisabled?: boolean = false
prop label: string
prop onChange: (value: string | null) => void
prop orientation?: 'horizontal' | 'vertical' = 'horizontal'
prop size?: ButtonSize = 'md'
prop type?: 'single' = 'single'
prop value: string | null
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Token(props: TokenProps)
prop color?: TokenColor = 'default'
prop description?: string
prop endContent?: ReactNode
prop href?: string
prop icon?: ReactNode
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop label: string
prop onClick?: (e: React.MouseEvent) => void
prop onRemove?: (e: React.MouseEvent) => void
prop ref?: React.Ref<HTMLElement>
prop size?: TokenSize = 'md'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Tokenizer(props: TokenizerProps)
overload <T extends SearchableItem>(props: Omit<TokenizerProps<T>, 'ref'> & { ref?: React.Ref<HTMLInputElement | HTMLButtonElement> }) => React.JSX.Element
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop debounceMs?: number = 150
prop description?: string
prop disabledMessage?: string
prop emptySearchText?: ReactNode = 'No results found'
prop endContent?: ReactNode
prop handleRef?: React.Ref<TokenizerHandle>
prop hasAutoFocus?: boolean = false
prop hasClear?: boolean = false
prop hasCreate?: boolean = false
prop hasEntriesOnFocus?: boolean = false
prop htmlName?: string
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop maxEntries?: number
prop maxMenuItems?: number = 10
prop menuWidth?: number
prop minQueryLength?: number = 1
prop onBlur?: (e: React.FocusEvent) => void
prop onChange: (items: T[], change: TokenizerChange<T>) => void
prop onChangeQuery?: (query: string) => void
prop onFocus?: (e: React.FocusEvent) => void
prop onKeyDown?: React.KeyboardEventHandler<HTMLElement>
prop placeholder?: string
prop presentation?: TokenizerPresentation = 'adaptive'
prop ref?: React.Ref<HTMLInputElement>
prop renderItem?: (item: T) => ReactNode
prop renderToken?: (item: T, onRemove: () => void) => ReactNode
prop searchSource: SearchSource<T>
prop size?: TokenizerSize = 'md'
prop startIcon?: ReactNode | IconType
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop tokenOverflowBehavior?: TokenizerOverflowBehavior = 'none'
prop value: T[]
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Toolbar(props: ToolbarProps)
prop centerContent?: ReactNode
prop dividers?: ('top' | 'bottom' | 'start' | 'end')[]
prop endContent?: ReactNode
prop gap?: SpacingStep = 1
prop label: string
prop orientation?: 'horizontal' | 'vertical' = 'horizontal'
prop ref?: React.Ref<HTMLDivElement>
prop size?: ToolbarSize = 'md'
prop startContent?: ReactNode
prop variant?: SectionVariant = 'transparent'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Tooltip(props: TooltipProps)
prop alignment?: LayerAlignment = 'center'
prop anchorRef?: React.RefObject<HTMLElement | null>
prop children?: ReactNode
prop content: ReactNode
prop delay?: number = 200
prop focusTrigger?: TooltipFocusTrigger = 'auto'
prop hasHoverIndication?: 'auto' | boolean = 'auto'
prop hideDelay?: number = 0
prop isDefaultOpen?: boolean
prop isEnabled?: boolean = true
prop isOpen?: boolean
prop onOpenChange?: (isOpen: boolean) => void
prop placement?: LayerPlacement = 'above'
prop touchTrigger?: TooltipTouchTrigger = 'auto'
component TopNav(props: TopNavProps)
prop centerContent?: ReactNode
prop children?: ReactNode
prop endContent?: ReactNode
prop heading?: ReactNode
prop label?: string = 'Top navigation'
prop ref?: React.Ref<HTMLElement>
prop startContent?: ReactNode
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TopNavHeading(props: TopNavHeadingProps)
prop as?: LinkComponentType
prop headerEndContent?: ReactNode
prop heading?: string
prop headingHref?: string
prop logo?: ReactNode
prop logoLabel?: string
prop menu?: ReactNode
prop ref?: React.Ref<HTMLElement>
prop subheading?: string
prop subheadingHref?: string
prop superheading?: string
prop superheadingHref?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TopNavItem(props: TopNavItemProps)
prop as?: LinkComponentType
prop children?: ReactNode
prop download?: string | boolean
prop href?: string
prop icon?: ReactNode
prop isDisabled?: boolean = false
prop isIconOnly?: boolean = false
prop isSelected?: boolean = false
prop label: string
prop ref?: React.Ref<HTMLAnchorElement>
prop referrerPolicy?: React.HTMLAttributeReferrerPolicy
prop rel?: string
prop size?: NavItemSize = 'md'
prop target?: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TopNavMegaMenu(props: TopNavMegaMenuProps)
prop delay?: number = 150
prop featured?: ReactNode
prop hideDelay?: number = 250
prop items?: ReactNode
prop label: string
prop onOpenChange?: (isOpen: boolean) => void
prop ref?: React.Ref<HTMLButtonElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TopNavMegaMenuFeaturedCard(props: TopNavMegaMenuFeaturedCardProps)
prop children?: ReactNode
prop description?: string
prop image?: string
prop imageAlt?: string
prop linkHref?: string
prop linkLabel?: string
prop ref?: React.Ref<HTMLDivElement>
prop title: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TopNavMegaMenuItem(props: TopNavMegaMenuItemProps)
prop as?: LinkComponentType
prop description?: string
prop href?: string
prop icon?: ReactNode
prop onClick?: () => void
prop ref?: React.Ref<HTMLElement>
prop title: string
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TopNavMenu(props: TopNavMenuProps)
prop delay?: number = 150
prop hideDelay?: number = 200
prop items: TopNavMenuItemData[]
prop label: string
prop ref?: React.Ref<HTMLButtonElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TreeList(props: TreeListProps)
prop animatedLayout?: AnimatedLayout
prop data-testid?: string
prop density?: TreeListDensity = 'balanced'
prop header?: ReactNode
prop items: TreeListItemData[]
prop ref?: React.Ref<HTMLDivElement>
prop variant?: TreeListVariant = 'lineGuides'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component Typeahead(props: TypeaheadProps)
prop containerClassName?: string
prop containerStyle?: CSSProperties
prop containerXstyle?: StyleXStyles
prop controlClassName?: string
prop controlStyle?: CSSProperties
prop controlXstyle?: StyleXStyles
prop debounceMs?: number = 150
prop description?: string
prop disabledMessage?: string
prop emptySearchText?: ReactNode = 'No results found'
prop hasAutoFocus?: boolean = false
prop hasClear?: boolean = true
prop hasEntriesOnFocus?: boolean = false
prop isDisabled?: boolean = false
prop isLabelHidden?: boolean = false
prop isOptional?: boolean = false
prop isRequired?: boolean = false
prop label: string
prop labelTooltip?: string
prop maxMenuItems?: number = 10
prop minQueryLength?: number = 1
prop onChange: (item: T | null) => void
prop onChangeQuery?: (query: string) => void
prop onKeyDown?: React.KeyboardEventHandler<HTMLElement>
prop onOpenChange?: (isOpen: boolean) => void
prop placeholder?: string
prop ref?: React.Ref<HTMLInputElement>
prop renderItem?: (item: T) => ReactNode
prop searchSource: SearchSource<T>
prop size?: TypeaheadSize = 'md'
prop startIcon?: ReactNode | IconType
prop status?: InputStatus
prop statusVariant?: FieldStatusPlacement = 'attached'
prop value: T | null
prop width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component TypeaheadItem(props: TypeaheadItemProps)
prop description?: string
prop group?: string
prop icon?: ReactNode
prop isDisabled?: boolean = false
prop item: T
prop ref?: React.Ref<HTMLDivElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component VStack(props: VStackProps)
prop align?: StackCrossAlignment
prop as?: ElementType = 'div'
prop children?: ReactNode
prop gap?: SpacingStep
prop hAlign?: StackCrossAlignment = 'stretch'
prop height?: SizeValue
prop isScrollable?: boolean = false
prop justify?: StackMainAlignment
prop maxWidth?: SizeValue
prop minHeight?: SizeValue
prop padding?: SpacingStep
prop paddingBlock?: SpacingStep
prop paddingBlockEnd?: SpacingStep
prop paddingBlockStart?: SpacingStep
prop paddingInline?: SpacingStep
prop paddingInlineEnd?: SpacingStep
prop paddingInlineStart?: SpacingStep
prop ref?: React.Ref<HTMLElement>
prop vAlign?: StackMainAlignment
prop width?: SizeValue
prop wrap?: StackWrap = 'nowrap'
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
component VisuallyHidden(props: VisuallyHiddenProps)
prop as?: ElementType = 'span'
prop children: ReactNode
prop ref?: React.Ref<HTMLElement>
prop xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
Hooks
hook useAnimatedLayout: ({…}: UseAnimatedLayoutOptions) => AnimatedLayout
hook useAnimator: (ref: RefObject<HTMLElement | null>) => AnimatorHandle
hook useAnnounce: ({…}?: UseAnnounceOptions) => AnnounceFn
hook useAppShellMobile: () => AppShellMobileContextValue
hook useAvatarGroup: () => AvatarGroupContextValue | null
hook useBaseTablePlugins: <T extends Record<string, unknown>>(basePlugins: TablePlugin<T>[], userPlugins: Record<string, TablePlugin<T>> | undefined) => TablePlugin<T>[]
hook useButtonGroup: () => ButtonGroupContextValue | null
hook useCalendarConstraints: (options: UseCalendarConstraintsOptions) => UseCalendarConstraintsReturn
hook useCalendarDays: (options: UseCalendarDaysOptions) => UseCalendarDaysReturn
hook useCalendarNavigation: (options: UseCalendarNavigationOptions) => UseCalendarNavigationReturn
hook useChatComposerContext: () => ChatComposerContextValue | null
hook useChatComposerTokens: ({…}: UseChatComposerTokensOptions) => UseChatComposerTokensReturn
hook useChatDictation: (options?: UseChatDictationOptions) => UseChatDictationReturn
hook useChatLayoutContext: () => ChatLayoutContextValue | null
hook useChatNewMessages: ({…}: UseChatNewMessagesOptions) => UseChatNewMessagesReturn
hook useChatPasteAsToken: ({…}: UseChatPasteAsTokenOptions) => UseChatPasteAsTokenReturn
hook useChatStreamScroll: ({…}: UseChatStreamScrollOptions) => UseChatStreamScrollReturn
hook useClickableContainer: (options: UseClickableContainerOptions) => ClickableContainerResult
hook useClipboard: (options?: UseClipboardOptions) => UseClipboardReturn
hook useCollapsible: (options: UseCollapsibleOptions) => UseCollapsibleReturn
hook useCollator: (options?: Intl.CollatorOptions) => Intl.Collator
hook useCombobox: <T extends ComboboxOption = SelectorOptionData>({…}: UseComboboxOptions<T>) => UseComboboxResult<T>
hook useCommandPaletteContext: () => CommandPaletteContextValue | null
hook useContainerReveal: (options?: UseContainerRevealOptions) => UseContainerRevealReturn
hook useDevWarning: (component: string, message: string, condition?: boolean) => void
hook useDirection: () => 'ltr' | 'rtl'
hook useDragToSnapPoints: (ref: RefObject<HTMLElement | null>, options: DragToSnapPointsOptions) => UseDragToSnapPointsResult
hook useDropdownMenuContext: () => DropdownMenuContextValue | null
hook useEntryAnimation: (preset?: EntryAnimationPreset) => StyleXStyles | null
hook useFocusTrap: <T extends HTMLElement = HTMLElement>(options: UseFocusTrapOptions) => UseFocusTrapReturn<T>
hook useGridFocus: <T extends HTMLElement = HTMLElement>(options: UseGridFocusOptions) => UseGridFocusReturn<T>
hook useHotkeys: (hotkeys: Hotkey[]) => void
hook useHoverCard: (options?: HoverCardOptions) => HoverCardReturn
hook useIcon: (name: IconName | NamespacedIconName) => ReactNode
hook useImageMode: (src: string | null | undefined, options?: UseImageModeOptions) => 'dark' | 'light' | null
hook useImperativeAlertDialog: () => ImperativeAlertDialogReturn
hook useImperativeDialog: (defaultOptions?: DialogOptions) => ImperativeDialogReturn
hook useIndicator
overload <N extends CoreIndicatorName>(name: N) => IndicatorComponent<IndicatorMap[N]>
overload <N extends IndicatorName>(name: N) => IndicatorComponent<IndicatorMap[N]> | undefined
hook useIndicatorFocusRing: (containerRef: RefObject<HTMLElement | null>, isDisabled?: boolean) => UseIndicatorFocusRingReturn
hook useInputContainer: ({…}: UseInputContainerOptions) => ClickableContainerResult
hook useInputGroup: () => InputGroupContextValue | null
hook useInputStatusIcon: ({…}: UseInputStatusIconOptions) => UseInputStatusIconReturn
hook useInteractiveRole: ({…}: UseInteractiveRoleOptions) => InteractiveRole
hook useInteractiveRoleContext: () => InteractiveRole | null
hook useKeyboardHint: (options?: UseKeyboardHintOptions) => UseKeyboardHintReturn
hook useLayer
overload (options: ContextLayerOptions) => ContextLayerReturn
overload (options: FixedLayerOptions) => FixedLayerReturn
hook useLightbox: (options: UseLightboxOptions) => UseLightboxReturn
hook useLinkComponent: (as?: LinkComponentType) => LinkComponentType
hook useLinkify: (text: string, options?: UseLinkifyOptions) => ReactNode[]
hook useListFocus: <T extends HTMLElement = HTMLElement>(options?: UseListFocusOptions) => UseListFocusReturn<T>
hook useLocale: () => Locale
hook useLongPress: (options: UseLongPressOptions) => UseLongPressHandlers
hook useMediaQuery: (query: string, serverDefault?: boolean) => boolean
hook useMenuPress: (options: UseMenuPressOptions) => UseMenuPressReturn
hook useMergedRefs: <T>(refA?: Ref<T>, refB?: Ref<T>, refC?: Ref<T>, refD?: Ref<T>, refE?: Ref<T>, refF?: Ref<T>) => RefCallback<T>
hook useMultiCombobox: ({…}: UseMultiComboboxOptions) => UseMultiComboboxResult
hook useNavHeadingCloseContext: () => NavHeadingCloseContextValue | null
hook useNavHeadingMenuContext: () => NavHeadingMenuContextValue | null
hook useOutlineFromDOM: (containerRef: React.RefObject<HTMLElement | null>) => OutlineItem[]
hook useOutlineFromMarkdown: <Node extends MarkdownExtensionNode = never>(markdown: string, options?: ParseOutlineFromMarkdownOptions<Node>) => OutlineItem[]
hook useOverflow: (itemCount: number, options?: UseOverflowOptions) => UseOverflowReturn
hook useOverlay: ({…}?: UseOverlayOptions) => UseOverlayResult
hook usePanGesture: (ref: RefObject<Element | null>, options: PanGestureOptions) => void
hook usePopover: (options?: UsePopoverOptions) => UsePopoverReturn
hook usePowerSearchConfig: <const D extends ReadonlyArray<FieldDefinition>>(definitions: D, configName?: string) => { config: PowerSearchConfig; applyFilters: <T extends InferData<D>>(filters: ReadonlyArray<PowerSearchFilter>, data: ReadonlyArray<T>) => T[] }
hook usePressFeedback: () => typeof pressableProps
hook useResizable
overload <const Config extends UseResizableSingleConfig>(config: SingleResizableArgument<Config>) => ResizableRegion
overload <const Config extends UseResizableMultiConfig>(config: MultiResizableArgument<Config>) => Record<string, ResizableRegion>
hook useScrollLock: (isLocked: boolean) => void
hook useScrollOverflow: () => { overflowStart: boolean; overflowEnd: boolean; hasOverflow: boolean; scrollRef: (el: HTMLElement | null) => void }
hook useScrollableArea: ({…}: UseScrollableAreaOptions) => UseScrollableAreaResult
hook useSelectedItemOffset: ({…}: UseSelectedItemOffsetOptions) => UseSelectedItemOffsetResult
hook useSideNavCollapse: () => SideNavCollapseState
hook useSideNavRenderMode: () => SideNavRenderMode
hook useSize: <T extends string = ElementSize>(sizeProp?: T, defaultSize?: T) => T
hook useSnapPaging: (options?: SnapPagingOptions) => SnapPaging
hook useSpeechRecognition: (options?: UseSpeechRecognitionOptions) => UseSpeechRecognitionReturn
hook useStepperContext: () => StepperContextValue
hook useStreamingText: (targetText: string, isStreaming: boolean, options?: UseStreamingTextOptions) => string
hook useSyntaxTheme: () => UseSyntaxThemeReturn | null
hook useTabListContext: () => TabListContextValue
hook useTableColumnResize: <T extends Record<string, unknown>>(config: UseTableColumnResizeConfig) => TablePlugin<T>
hook useTableColumnSettings: <T extends Record<string, unknown>, TColumnKey extends string = string>(config: UseTableColumnSettingsConfig<TColumnKey>) => TablePlugin<T>
hook useTableColumnSettingsState: <TColumnKey extends string = string>(config: UseTableColumnSettingsStateConfig<TColumnKey>) => UseTableColumnSettingsStateReturn<TColumnKey>
hook useTableFilterState: (initialState?: TableFilterState) => UseTableFilterStateResult
hook useTableFiltering: <T extends Record<string, unknown>>(config: UseTableFilteringConfig) => TablePlugin<T>
hook useTableGroupedRows: <T extends Record<string, unknown>>(config: UseTableGroupedRowsConfig<T>) => UseTableGroupedRowsResult<T>
hook useTablePagination: <T extends Record<string, unknown>>(config: UseTablePaginationConfig) => TablePlugin<T>
hook useTableRowExpansion: <T extends Record<string, unknown>>(config: UseTableRowExpansionConfig<T>) => TablePlugin<T>
hook useTableRowIndex: <T extends Record<string, unknown>>(config?: UseTableRowIndexConfig<T>) => TablePlugin<T>
hook useTableRowStatus: <T extends Record<string, unknown>>(config: UseTableRowStatusConfig<T>) => TablePlugin<T>
hook useTableRowsVirtualization: ({…}: UseTableRowsVirtualizationConfig) => TableVirtualizationCapability
hook useTableSelection: <T extends Record<string, unknown>>(config: UseTableSelectionConfig<T>) => TablePlugin<T>
hook useTableSelectionState: <T extends Record<string, unknown>>(config: UseTableSelectionStateConfig<T>) => UseTableSelectionStateResult<T>
hook useTableSortable: <T extends Record<string, unknown>, TSortKey extends string = string>(config: UseTableSortableConfig<TSortKey>) => TablePlugin<T>
hook useTableSortableState: <T extends Record<string, unknown>, TSortKey extends string = string>(config: UseTableSortableStateConfig<T, TSortKey>) => UseTableSortableStateResult<T, TSortKey>
hook useTableStickyColumns: <T extends Record<string, unknown>>(config: UseTableStickyColumnsConfig) => TablePlugin<T>
hook useTableTreeData: <T extends Record<string, unknown>>(config: UseTableTreeDataConfig<T>) => TablePlugin<T>
hook useTableTreeState: <T extends Record<string, unknown>>(config: UseTableTreeStateConfig<T>) => UseTableTreeStateResult<T>
hook useTheme: () => UseThemeReturn
hook useThemeName: () => string | null
hook useToast: () => ShowToastFn
hook useTooltip: (options?: TooltipOptions) => TooltipReturn
hook useTopNavRenderMode: () => TopNavRenderMode
hook useTranslator: () => TranslatorFn
hook useTreeFocus: <T extends HTMLElement = HTMLElement>(options?: UseTreeFocusOptions) => UseTreeFocusReturn<T>
hook useTruncation: (options: UseTruncationOptions) => UseTruncationReturn
hook useTypeahead: (options: UseTypeaheadOptions) => UseTypeaheadReturn
Functions
function adjustTime: (time: ISOTimeString, deltaMinutes: number, includeSeconds?: boolean) => ISOTimeString
function applyHighlightRangesBatch: (codeEl: HTMLElement, tokenLines: TokenLine[], startLine: number) => RangeEntry[]
function applyHighlightRangesChunked: (codeEl: HTMLElement, tokenLines: TokenLine[]) => () => void
function applyHighlightRangesFlat: (el: HTMLElement, tokenLines: TokenLine[]) => () => void
function characterCount: (str: string) => number
function clampTime: (time: ISOTimeString, min?: ISOTimeString, max?: ISOTimeString, includeSeconds?: boolean) => ISOTimeString
function cleanupRanges: (ranges: RangeEntry[]) => void
function compactDefinition: (points?: Readonly<Pick<WidthBreakpoints, 'md'>>) => CompactDefinition
function compareTime: (a: ISOTimeString | undefined, b: ISOTimeString | undefined) => number
function composeEventHandlers: <E extends SyntheticEvent>(...handlers: (((event: E) => void) | undefined)[]) => (event: E) => void
function container: ({…}: ContainerOptions) => readonly [Readonly<{ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">; readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingIn … #72b9b91f
function createAnimator: (element: HTMLElement) => Animator
function createCodeLanguage: ({…}: CreateCodeLanguageOptions) => CodeLanguage
function createDragToSnapPoints: (element: HTMLElement, options: DragToSnapPointsOptions) => DragToSnapPoints
function createISOTimeString: (value: string) => ISOTimeString | null
function createIncrementalState: <MathEnabled extends boolean = false>() => IncrementalState<MathEnabled>
function createPanGesture: (element: Element, options: PanGestureOptions) => PanGesture
function createPowerSearchConfig: <const D extends ReadonlyArray<FieldDefinition>>(definitions: D, configName?: string) => { config: PowerSearchConfig; applyFilters: <T extends InferData<D>>(filters: ReadonlyArray<PowerSearchFilter>, data: ReadonlyArray<T>) => T[] }
function createReorderable: <TKey extends string | number = string | number, TTo = number>(options: ReorderableOptions<TKey, TTo>) => Reorderable<TKey, TTo>
function createStaticSource: <T extends SearchableItem>(items: T[], options?: CreateStaticSourceOptions<T>) => SearchSource<T>
function dateToISO: (pd: PlainDate) => ISODateString
function decodeMarkdownCharacterReferences: (text: string) => string
function defineSyntaxTheme: (input: SyntaxThemeInput) => SyntaxThemeDefinition
function defineTheme: <const IconVariants extends ReadonlyArray<string> | undefined = undefined, Base extends DefinedTheme | undefined = undefined>(input: DefineThemeInput<IconVariants, Base>) => ResolvedDefinedTheme<ThemeIconVariant<IconVariants, Base>>
function devError: (component: string, message: string, ...args: unknown[]) => void
function devWarn: (component: string, message: string, ...args: unknown[]) => void
function ensureHighlightStyles: () => void
function expandColorScale: (config: ColorScaleConfig) => ColorScaleTokens
function expandMotionScale: (config: MotionScaleConfig) => MotionScaleTokens
function expandRadiusScale: (config: RadiusScaleConfig) => RadiusScaleTokens
function expandTypeScale: (config: TypeScaleConfig) => TypeScaleTokens
function firstCharacter: (str: string) => string
function flatTokensToLines: (tokens: { type: string; start: number; end: number }[], code: string) => TokenLine[]
function formatColor: ({…}: RGBA) => string
function formatDevMessage: (component: string, message: string) => string
function formatDisplayTime12h: (time: ISOTimeString | undefined, includeSeconds?: boolean) => string
function formatDisplayTime24h: (time: ISOTimeString | undefined, includeSeconds?: boolean) => string
function formatHex: (r: number, g: number, b: number) => string
function formatISOTime: (time: ParsedTime, includeSeconds?: boolean) => ISOTimeString
function formatSharedDate: (pd: PlainDate, format: SharedDateFormat, locale?: Locale, calendar?: CalendarSystem) => string
function generateAdaptationCSS: (theme: DefinedTheme, warnings?: string[]) => ThemeCSSOutput
function generateColumns: <T extends Record<string, unknown>>(data: T[]) => TableColumn<T>[]
function generateOnMediaCSS: (theme: DefinedTheme, warnings?: string[]) => string
function generatePageRange: (currentPage: number, totalPages: number, siblingCount: number) => (number | '...')[]
function generateThemeCSS: (theme: DefinedTheme, warnings?: string[]) => ThemeCSSOutput
function generateThemeRules: (theme: ThemeRuleSource, warnings?: string[]) => string[]
function generateThemeRulesSplit: (theme: DefinedTheme, warnings?: string[]) => ThemeRulesSplit
function generateTypeScaleComponents: (_config: TypeScaleConfig) => Record<string, Record<string, Record<string, string>>>
function getDaysInMonth: (year: number, month: number) => number
function getExtendedIcon: (name: ExtendedIconName, fallback?: ReactNode, source?: IconRegistrySource) => ReactNode
function getIcon: (name: ExtendedIconName, source?: IconRegistrySource) => ReactNode
function getIconRegistry: (source?: IconRegistrySource) => Readonly<Record<IconName, ReactNode>>
function getIndicator
overload <N extends CoreIndicatorName>(name: N, source?: IndicatorRegistrySource) => IndicatorComponent<IndicatorMap[N]>
overload <N extends IndicatorName>(name: N, source?: IndicatorRegistrySource) => IndicatorComponent<IndicatorMap[N]> | undefined
function getInputARIA: (labelID: string, describedByIDs?: AriaID[], inputGroup?: InputARIAInputGroup | null) => InputARIA
function getItemGroup: (item: SearchableItem) => string | undefined
function getKey: (idKey: Key | null | undefined, fallback: KeyFallback) => string
function getLocaleDirection: (locale: string) => 'ltr' | 'rtl'
function getRegisteredTheme: (name: string | null | undefined) => DefinedTheme | null
function getRegisteredThemes: () => ReadonlyMap<string, DefinedTheme>
function getWeekNumber: (pd: PlainDate) => number
function groupItems: <T extends SearchableItem>(items: T[], {…}?: GroupItemsOptions) => ItemGroup<T>[]
function hasActiveFocusTrapEscape @deprecated: () => boolean
function hasInteractiveAncestor: (el: Element, rootEl: Element) => boolean
function hasTextSelection: (node: Element) => boolean
function isDateInRange: (pd: PlainDate, range: [PlainDate, PlainDate]) => boolean
function isDefinedTheme: (theme: unknown) => theme is DefinedTheme
function isFocusDetached: (doc?: Document) => boolean
function isImeKeyEvent: (event: { isComposing?: boolean; keyCode?: number }) => boolean
function isLocaleDayFirst: (locale?: Locale) => boolean
function isMenuPressActivation: () => boolean
function isRenderable: (node: ReactNode) => boolean
function isSameDay: (a: PlainDate, b: PlainDate) => boolean
function isTimeInRange: (time: ISOTimeString, min?: ISOTimeString, max?: ISOTimeString) => boolean
function menuPressStep: <T>(gesture: MenuPressGesture<T>, event: MenuPressEvent<T>) => MenuPressStep<T>
function mergeProps: (xdsClassOrStylexResult: string | PropsObject, stylexResultOrClassName?: PropsObject | string, classNameOrStyle?: string | React.CSSProperties, style?: React.CSSProperties) => PropsObject
function mergeRefs: <T>(...refs: (Ref<T> | undefined)[]) => RefCallback<T>
function observeResize: (element: Element, callback: ResizeCallback) => () => void
function paginateData: <T>(data: T[], page: number, pageSize: number) => T[]
function parseColor: (value: string) => RGBA | null
function parseDateInput: (input: string, locale?: Locale) => PlainDate | null
function parseHex: (hex: string) => RGBA | null
function parseISO: (str: ISODateString) => PlainDate
function parseISOTime: (time: string) => ParsedTime | null
function parseInline
overload (text: string, sourceIds?: ReadonlySet<string>) => InlineNode[]
overload (text: string, options: MathParseOptionsWithoutPlugins) => InlineNodeWithMath[]
overload (text: string, options: ParseOptionsWithoutPlugins) => InlineNode[]
overload <const Plugins extends ReadonlyArray<MarkdownPluginEntry>>(text: string, options: ParseOptionsWithoutPlugins & { plugins: Plugins }) => InlineNode<MarkdownExtensionsOf<Plugins>>[]
overload <const Plugins extends ReadonlyArray<MarkdownPluginEntry>>(text: string, options: MathParseOptionsWithoutPlugins & { plugins: Plugins }) => InlineNodeWithMath<MarkdownExtensionsOf<Plugins>>[]
function parseInlineAst
overload (text: string, sourceIds?: ReadonlySet<string>) => MarkdownAstPhrasingContent[]
overload (text: string, options: ParseOptionsWithoutPlugins | MathParseOptionsWithoutPlugins) => MarkdownAstPhrasingContent[]
overload <const Plugins extends ReadonlyArray<MarkdownPluginEntry>>(text: string, options: (ParseOptionsWithoutPlugins | MathParseOptionsWithoutPlugins) & { plugins: Plugins }) => MarkdownAstPhrasingContent<MarkdownExtensionsOf<Plugins>>[]
function parseMarkdown
overload (input: string, sourceIds?: ReadonlySet<string>) => BlockNode[]
overload (input: string, options: MathParseOptionsWithoutPlugins) => BlockNodeWithMath[]
overload (input: string, options: ParseOptionsWithoutPlugins) => BlockNode[]
overload <const Plugins extends ReadonlyArray<MarkdownPluginEntry>>(input: string, options: ParseOptionsWithoutPlugins & { plugins: Plugins }) => BlockNode<MarkdownExtensionsOf<Plugins>>[]
overload <const Plugins extends ReadonlyArray<MarkdownPluginEntry>>(input: string, options: MathParseOptionsWithoutPlugins & { plugins: Plugins }) => BlockNodeWithMath<MarkdownExtensionsOf<Plugins>>[]
function parseMarkdownAst
overload (input: string, sourceIds?: ReadonlySet<string>) => MarkdownAstRoot
overload (input: string, options: ParseOptionsWithoutPlugins | MathParseOptionsWithoutPlugins) => MarkdownAstRoot
overload <const Plugins extends ReadonlyArray<MarkdownPluginEntry>>(input: string, options: (ParseOptionsWithoutPlugins | MathParseOptionsWithoutPlugins) & { plugins: Plugins }) => MarkdownAstRoot<MarkdownExtensionsOf<Plugins>>
function parseMarkdownIncremental
overload (input: string, state: IncrementalState<false>, sourceIds?: ReadonlySet<string>) => BlockNode[]
overload (input: string, state: IncrementalState<true>, options: IncrementalMathParseOptionsWithoutPlugins) => BlockNodeWithMath[]
overload (input: string, state: IncrementalState<false>, options: IncrementalParseOptionsWithoutPlugins) => BlockNode[]
overload <const Plugins extends ReadonlyArray<MarkdownPluginEntry>>(input: string, state: IncrementalState<false>, options: IncrementalParseOptionsWithoutPlugins & { plugins: Plugins }) => BlockNode<MarkdownExtensionsOf<Plugins>>[]
overload <const Plugins extends ReadonlyArray<MarkdownPluginEntry>>(input: string, state: IncrementalState<true>, options: IncrementalMathParseOptionsWithoutPlugins & { plugins: Plugins }) => BlockNodeWithMath<MarkdownExtensionsOf<Plugins>>[]
function parseOutlineFromMarkdown: <Node extends MarkdownExtensionNode = never>(markdown: string, options?: ParseOutlineFromMarkdownOptions<Node>) => OutlineItem[]
function parseRgb: (value: string) => RGBA | null
function parseStyleKey: (key: string) => string
function parseTimeInput: (input: string, includeSeconds?: boolean) => ISOTimeString | null
function percent: (value: number, options: { min: PixelWidth; max?: never } | { min?: never; max: PixelWidth }) => ResizablePercentSize
function pixel: (value: number) => PixelWidth
function plainDateAddDays: (pd: PlainDate, n: number) => PlainDate
function plainDateAddMonths: (pd: PlainDate, n: number) => PlainDate
function plainDateCreate: (year: number, month: number, day: number) => PlainDate
function plainDateDayOfWeek: (pd: PlainDate) => number
function plainDateFormat: (pd: PlainDate, options: Intl.DateTimeFormatOptions, locale?: Locale) => string
function plainDateFromDate: (d: Date) => PlainDate
function plainDateFromISO: (str: ISODateString) => PlainDate
function plainDateFromInstant: (instant: number, timezoneID: string) => PlainDate
function plainDateGetWeekNumber: (pd: PlainDate) => number
function plainDateIsAfter: (a: PlainDate, b: PlainDate) => boolean
function plainDateIsBefore: (a: PlainDate, b: PlainDate) => boolean
function plainDateIsEqual: (a: PlainDate, b: PlainDate) => boolean
function plainDateIsInRange: (pd: PlainDate, range: [PlainDate, PlainDate]) => boolean
function plainDateMax: (a: PlainDate, b: PlainDate) => PlainDate
function plainDateMin: (a: PlainDate, b: PlainDate) => PlainDate
function plainDateSetEndOfWeekExclusive: (pd: PlainDate, weekStartsOn: number) => PlainDate
function plainDateSetFirstOfMonth: (pd: PlainDate) => PlainDate
function plainDateSetStartOfWeek: (pd: PlainDate, weekStartsOn: number) => PlainDate
function plainDateToDate: (pd: PlainDate) => Date
function plainDateToISO: (pd: PlainDate) => ISODateString
function plainDateToInstant: (date: PlainDate, timezoneID: string, hour?: number, minute?: number) => number
function plainDateToday: () => PlainDate
function proportional: (value?: number, options?: { minWidth?: number }) => ProportionalWidth
function registerIcons: (icons: Partial<Record<ExtendedIconName, IconEntry>>) => void
function registerTheme: (theme: DefinedTheme) => void
function renderIconSlot: (icon: React.ReactNode | IconType, props?: { size?: IconSize; color?: IconColor }) => React.ReactNode
function resetIcons @internal: () => void
function resetThemes @internal: () => void
function resolveColumnWidths: <T extends Record<string, unknown>>(columns: TableColumn<T>[]) => ResolvedColumnWidths
function resolveContextActions: (actions: TableContextActions | undefined) => TableContextAction[]
function resolveOperatorLabel: (operator: PowerSearchOperator, t: TranslatorFn) => string
function resolveSize: (size: AvatarSize) => number
function resolveThemeToken: (theme: DefinedTheme | null | undefined, name: TokenName | (string & {}), options: ResolveThemeTokenOptions) => string
function resolveThemeTokens: (theme: DefinedTheme | null | undefined, options: ResolveThemeTokensOptions) => Record<string, string>
function stack: ({…}: StackOptions) => readonly [Readonly<{ readonly display: stylex.StyleXClassNameFor<"display", "flex"> }>, Readonly<{ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirect … #9351b12c
function stackItem: ({…}?: StackItemOptions) => readonly [Readonly<{ readonly minHeight: stylex.StyleXClassNameFor<"minHeight", 0>; readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0> }>, Readonly<{ r … #888e10f2
function themeDataAttributes: (props?: ClassProps) => ThemeDataAttributes
function themeProps: (component: string, props?: ClassProps) => ThemeProps
function toGLFloats: (color: RGBA | null) => [number, number, number]
function toSearchFilters: <_T extends Record<string, unknown>>(filters: TableFilterState, columns: ReadonlyArray<{ key: string; filter?: TableFilterFieldRef | string }>, searchConfig: PowerSearchConfig) => PowerSearchFilter[]
function tokenVar: (name: TokenName | (string & {})) => string
function tokenize: (code: string, language: CodeLanguageInput) => TokenLine[]
function tokenizeAsync: (code: string, language: CodeLanguageInput, signal?: AbortSignal) => Promise<TokenLine[]>
function tokenizeStreaming: (code: string, language: CodeLanguageInput, onBatch: (lines: TokenLine[], startLine: number) => void, signal?: AbortSignal) => Promise<void>
function truncateCharacters: (str: string, max: number, ellipsis?: string) => string
function unobserveResize: (element: Element, callback?: ResizeCallback) => void
function visitMarkdownNodes: <Extension extends MarkdownAstExtensionNode, Type extends keyof MarkdownAstNodeMap<Extension>>(root: MarkdownAstRoot<Extension>, type: Type, visitor: (node: MarkdownAstNodeMap<Extension>[Type]) => void) => void
function warnOnce: (key: string, component: string, message: string, ...args: unknown[]) => void
Values
context AppShellMobileContext: Context<AppShellMobileContextValue>
const DATE_FORMAT_LONG: Intl.DateTimeFormatOptions
const DATE_FORMAT_MONTH_ONLY: Intl.DateTimeFormatOptions
const DATE_FORMAT_MONTH_YEAR: Intl.DateTimeFormatOptions
const DATE_FORMAT_SHORT: Intl.DateTimeFormatOptions
const DATE_FORMAT_SHORT_WITH_WEEKDAY: Intl.DateTimeFormatOptions
const DATE_FORMAT_SHORT_WITH_YEAR: Intl.DateTimeFormatOptions
const DATE_FORMAT_WEEKDAY_ONLY: Intl.DateTimeFormatOptions
const DATE_FORMAT_WITH_WEEKDAY: Intl.DateTimeFormatOptions
const DEFAULT_COMPACT_DEFINITION: CompactDefinition
const DEFAULT_MIN_COLUMN_WIDTH: 120
const DEFAULT_WIDTH_BREAKPOINTS: Readonly<WidthBreakpoints>
context DropdownMenuContext: Context<DropdownMenuContextValue | null>
const EDGE_COMP_ATTR: 'data-astryx-edge-comp'
context FormLayoutContext: Context<{ direction: FormLayoutDirection; defaultOptionality?: FormOptionality }>
const INTERACTIVE_SELECTORS: string
context InteractiveRoleContext: Context<InteractiveRole | null>
context InternationalizationContext: Context<InternationalizationContextValue>
context LayoutAreaContext: Context<LayoutArea>
context LayoutDividerContext: Context<LayoutDividerContextValue | null>
const MENU_PRESS_MARKER: 'data-astryx-menu-press'
const MENU_PRESS_SETTLE_MS: 300
context NavHeadingCloseContext: Context<NavHeadingCloseContextValue | null>
context NavHeadingMenuContext: Context<NavHeadingMenuContextValue | null>
context RadioListContext: React.Context<RadioListContextValue | null>
const SHARED_DATE_FORMAT_OPTIONS: Record<Exclude<SharedDateFormat, 'system_date'>, Intl.DateTimeFormatOptions>
const SYNC_TOKENIZE_THRESHOLD: 2000
context SideNavRenderContext: Context<SideNavRenderMode>
context SizeContext: Context<ElementSize | null>
const TOKEN_TYPES: readonly ["keyword", "string", "comment", "number", "function", "type", "tag", "attribute", "property", "operator", "constant", "punctuation", "variable"]
context TableContext: Context<TableContextValue | null>
context ThemeContext @internal: Context<ThemeContextValue | null>
context TopNavRenderContext: Context<TopNavRenderMode>
const WIDTH_BREAKPOINT_NAMES: readonly ["sm", "md", "lg", "xl", "2xl"]
const borderDefaults: { readonly '--border-width': "1px" }
const borderVars: stylex.VarGroup<Readonly<{ readonly '--border-width': "1px" }>, symbol>
const colorDefaults: object
--color-accent: 'light-dark(#0064E0, #0171E3)'
--color-accent-muted: 'light-dark(#0082FB33, #0082FB3F)'
--color-on-accent: 'light-dark(#FFFFFF, #FFFFFF)'
--color-neutral: 'light-dark(rgba(5, 54, 89, 0.1), rgba(223, 226, 229, 0.2))'
--color-background-surface: 'light-dark(#FFFFFF, #1F1F22)'
--color-background-body: 'light-dark(#F1F4F7, #111112)'
--color-overlay: 'light-dark(#01122866, #11111299)'
--color-overlay-hover: 'light-dark(#0536590C, #FFFFFF0C)'
--color-overlay-pressed: 'light-dark(#05365919, #FFFFFF19)'
--color-background-muted: 'light-dark(#0536590C, #1111127F)'
--color-text-primary: 'light-dark(#0A1317, #DFE2E5)'
--color-text-secondary: 'light-dark(#4E606F, #AAAFB5)'
--color-text-disabled: 'light-dark(#A4B0BC, #6F747C)'
--color-text-accent: 'light-dark(#0064E0, #3E9EFB)'
--color-on-dark: 'light-dark(#FFFFFF, #FFFFFF)'
--color-on-light: 'light-dark(#000000, #000000)'
--color-icon-accent: 'light-dark(#0064E0, #2694FE)'
--color-icon-primary: 'light-dark(#0A1317, #DFE2E5)'
--color-icon-secondary: 'light-dark(#4E606F, #AAAFB5)'
--color-icon-disabled: 'light-dark(#A4B0BC, #6F747C)'
--color-background-card: 'light-dark(#FFFFFF, #1F1F22)'
--color-background-popover: 'light-dark(#FFFFFF, #28292C)'
--color-background-inverted: 'light-dark(#0A1317, #FFFFFF)'
--color-background-error-inverted: 'light-dark(#AA071E, #E3193B)'
--color-info: 'light-dark(#0064E0, #0064E0)'
--color-info-muted: 'light-dark(#0082FB33, #0082FB3F)'
--color-on-info: 'light-dark(#FFFFFF, #FFFFFF)'
--color-success: 'light-dark(#0D8626, #0D8626)'
--color-success-muted: 'light-dark(#0B991F33, #0B991F3F)'
--color-on-success: 'light-dark(#FFFFFF, #FFFFFF)'
--color-error: 'light-dark(#E3193B, #F5394F)'
--color-error-muted: 'light-dark(#E3193B33, #F5394F3F)'
--color-on-error: 'light-dark(#FFFFFF, #0A1317)'
--color-warning: 'light-dark(#E9AF08, #F2C00B)'
--color-warning-muted: 'light-dark(#E2A40033, #E2A4003F)'
--color-on-warning: 'light-dark(#0A1317, #0A1317)'
--color-text-info: 'var(--color-text-blue)'
--color-text-success: 'var(--color-text-green)'
--color-text-warning: 'var(--color-text-yellow)'
--color-text-error: 'var(--color-text-red)'
--color-icon-info: 'var(--color-text-info)'
--color-icon-success: 'var(--color-text-success)'
--color-icon-warning: 'var(--color-text-warning)'
--color-icon-error: 'var(--color-text-error)'
--color-border-info: 'var(--color-text-info)'
--color-border-success: 'var(--color-text-success)'
--color-border-warning: 'var(--color-text-warning)'
--color-border-error: 'var(--color-text-error)'
--color-on-info-muted: 'var(--color-text-blue)'
--color-on-success-muted: 'var(--color-text-green)'
--color-on-warning-muted: 'var(--color-text-yellow)'
--color-on-error-muted: 'var(--color-text-red)'
--color-border: 'light-dark(#05365919, #F2F4F619)'
--color-border-emphasized: 'light-dark(#CCD3DB, #494D53)'
--color-skeleton: 'light-dark(#CCD3DB, #5A5E66)'
--color-track: 'light-dark(#CCD3DB, #5A5E66)'
--color-shadow: 'light-dark(rgba(5, 54, 89, 0.1), rgba(0, 0, 0, 0.3))'
--color-tint-hover: 'light-dark(black, white)'
--color-background-blue: 'light-dark(#0171E333, #0171E333)'
--color-border-blue: 'light-dark(#0064E0, #2694FE)'
--color-icon-blue: 'light-dark(#0064E0, #2694FE)'
--color-text-blue: 'light-dark(#042F97, #AFD7FF)'
--color-background-cyan: 'light-dark(#03A7D733, #03A7D733)'
--color-border-cyan: 'light-dark(#089DD0, #0171A4)'
--color-icon-cyan: 'light-dark(#00ACC1, #26C6DA)'
--color-text-cyan: 'light-dark(#014975, #A1EEF9)'
--color-background-gray: 'light-dark(#0A131733, #666A724C)'
--color-border-gray: 'light-dark(#647685, #748695)'
--color-icon-gray: 'light-dark(#4E606F, #AAAFB5)'
--color-text-gray: 'light-dark(#0A1317, #E7EAED)'
--color-background-green: 'light-dark(#24BB5E33, #24BB5E33)'
--color-border-green: 'light-dark(#0D8626, #0B991F)'
--color-icon-green: 'light-dark(#0D8626, #26A756)'
--color-text-green: 'light-dark(#09441F, #A5F690)'
--color-background-orange: 'light-dark(#F2790233, #F2790233)'
--color-border-orange: 'light-dark(#EB6E00, #B34A01)'
--color-icon-orange: 'light-dark(#E9690B, #FB8C00)'
--color-text-orange: 'light-dark(#6B2203, #FDB876)'
--color-background-pink: 'light-dark(#E638B333, #E638B333)'
--color-border-pink: 'light-dark(#F351C0, #C02294)'
--color-icon-pink: 'light-dark(#C2185B, #EC407A)'
--color-text-pink: 'light-dark(#650053, #FEADE3)'
--color-background-purple: 'light-dark(#7952FF33, #7952FF33)'
--color-border-purple: 'light-dark(#9081FF, #7340FE)'
--color-icon-purple: 'light-dark(#5B08D8, #7952FF)'
--color-text-purple: 'light-dark(#3E0697, #B3B0FE)'
--color-background-red: 'light-dark(#E3193B33, #E3193B33)'
--color-border-red: 'light-dark(#E3193B, #F5394F)'
--color-icon-red: 'light-dark(#D31130, #E3193B)'
--color-text-red: 'light-dark(#7B0210, #FFB2B8)'
--color-background-teal: 'light-dark(#0DB7AF33, #0DB7AF33)'
--color-border-teal: 'light-dark(#08A3A3, #08767D)'
--color-icon-teal: 'light-dark(#009688, #26A69A)'
--color-text-teal: 'light-dark(#083943, #40DCCD)'
--color-background-yellow: 'light-dark(#E2A40033, #E2A40033)'
--color-border-yellow: 'light-dark(#C58600, #B47700)'
--color-icon-yellow: 'light-dark(#FBC02D, #FFEE58)'
--color-text-yellow: 'light-dark(#753F07, #FBCE03)'
const colorVars: stylex.VarGroup<Readonly<{ readonly '--color-accent': "light-dark(#0064E0, #0171E3)"; readonly '--color-accent-muted': "light-dark(#0082FB33, #0082FB3F)"; reado … #9de1262f
const dataTokenDefaults: object
--color-data-categorical-blue: 'light-dark(#0171E3, #0171E3)'
--color-data-categorical-orange: 'light-dark(#EB6E00, #EB6E00)'
--color-data-categorical-purple: 'light-dark(#6B1EFD, #6B1EFD)'
--color-data-categorical-green: 'light-dark(#0B991F, #0B991F)'
--color-data-categorical-pink: 'light-dark(#F351C0, #F351C0)'
--color-data-categorical-cyan: 'light-dark(#0171A4, #0171A4)'
--color-data-categorical-red: 'light-dark(#F5394F, #F5394F)'
--color-data-categorical-teal: 'light-dark(#08A3A3, #08A3A3)'
--color-data-categorical-brown: 'light-dark(#965E03, #965E03)'
--color-data-categorical-indigo: 'light-dark(#6F8AFF, #6F8AFF)'
--color-data-neutral: 'light-dark(#8494A3, #8C939B)'
--color-data-blue-5: 'light-dark(#02165E, #02165E)'
--color-data-blue-4: 'light-dark(#004CBC, #004CBC)'
--color-data-blue-3: 'light-dark(#2694FE, #2694FE)'
--color-data-blue-2: 'light-dark(#78BEFF, #78BEFF)'
--color-data-blue-1: 'light-dark(#DBECFF, #DBECFF)'
--color-data-shamrock-5: 'light-dark(#0B603D, #0B603D)'
--color-data-shamrock-4: 'light-dark(#138546, #138546)'
--color-data-shamrock-3: 'light-dark(#24BB5E, #24BB5E)'
--color-data-shamrock-2: 'light-dark(#8EF7AA, #8EF7AA)'
--color-data-shamrock-1: 'light-dark(#D6FEE4, #D6FEE4)'
--color-data-orange-5: 'light-dark(#A13F04, #A13F04)'
--color-data-orange-4: 'light-dark(#D66100, #D66100)'
--color-data-orange-3: 'light-dark(#FD9537, #FD9537)'
--color-data-orange-2: 'light-dark(#FDB876, #FDB876)'
--color-data-orange-1: 'light-dark(#FFE6CF, #FFE6CF)'
--color-data-pink-5: 'light-dark(#8E1073, #8E1073)'
--color-data-pink-4: 'light-dark(#D123A1, #D123A1)'
--color-data-pink-3: 'light-dark(#F989D3, #F989D3)'
--color-data-pink-2: 'light-dark(#FEADE3, #FEADE3)'
--color-data-pink-1: 'light-dark(#FCE3F4, #FCE3F4)'
--color-data-purple-5: 'light-dark(#3E0697, #3E0697)'
--color-data-purple-4: 'light-dark(#6B1EFD, #6B1EFD)'
--color-data-purple-3: 'light-dark(#9081FF, #9081FF)'
--color-data-purple-2: 'light-dark(#B3B0FE, #B3B0FE)'
--color-data-purple-1: 'light-dark(#E8E8FB, #E8E8FB)'
--color-data-red-5: 'light-dark(#9D0519, #9D0519)'
--color-data-red-4: 'light-dark(#D31130, #D31130)'
--color-data-red-3: 'light-dark(#FB7D87, #FB7D87)'
--color-data-red-2: 'light-dark(#FFB2B8, #FFB2B8)'
--color-data-red-1: 'light-dark(#FEE4E6, #FEE4E6)'
--color-data-teal-5: 'light-dark(#08767D, #08767D)'
--color-data-teal-4: 'light-dark(#0C9293, #0C9293)'
--color-data-teal-3: 'light-dark(#0DB7AF, #0DB7AF)'
--color-data-teal-2: 'light-dark(#6CE6D8, #6CE6D8)'
--color-data-teal-1: 'light-dark(#D7FCF8, #D7FCF8)'
--color-data-yellow-5: 'light-dark(#8A5001, #8A5001)'
--color-data-yellow-4: 'light-dark(#D69804, #D69804)'
--color-data-yellow-3: 'light-dark(#FBCE03, #FBCE03)'
--color-data-yellow-2: 'light-dark(#FCEC85, #FCEC85)'
--color-data-yellow-1: 'light-dark(#FDF6BA, #FDF6BA)'
--color-data-gray-5: 'light-dark(#25363F, #333338)'
--color-data-gray-4: 'light-dark(#5D6C7B, #666A72)'
--color-data-gray-3: 'light-dark(#AFB9C4, #B2B8BE)'
--color-data-gray-2: 'light-dark(#CCD3DB, #D0D3D6)'
--color-data-gray-1: 'light-dark(#F1F4F7, #F2F4F6)'
const defaultIndicators: { [N in CoreIndicatorName]: IndicatorComponent<IndicatorMap[N]> }
const domainTokenDefaults: Record<string, string>
const durationDefaults: object
--duration-fast-min: '130ms'
--duration-fast: '175ms'
--duration-fast-max: '230ms'
--duration-medium-min: '310ms'
--duration-medium: '410ms'
--duration-medium-max: '550ms'
--duration-slow-min: '730ms'
--duration-slow: '975ms'
--duration-slow-max: '1300ms'
--duration-exit: 'var(--duration-fast)'
const durationVars: stylex.VarGroup<Readonly<{ readonly '--duration-fast-min': "130ms"; readonly '--duration-fast': "175ms"; readonly '--duration-fast-max': "230ms"; readonly '--du … #f2df5593
const easeDefaults: object
--ease-standard: 'cubic-bezier(0.24, 1, 0.4, 1)'
--ease-entrance: 'cubic-bezier(0.24, 1, 0.4, 1)'
--ease-move: 'cubic-bezier(0.24, 1, 0.4, 1)'
--ease-exit: 'cubic-bezier(0.3, 0, 0.6, 0.6)'
const easeVars: stylex.VarGroup<Readonly<{ readonly '--ease-standard': "cubic-bezier(0.24, 1, 0.4, 1)"; readonly '--ease-entrance': "cubic-bezier(0.24, 1, 0.4, 1)"; readonly '- … #3fe55453
const edgeCompSlot: Readonly<{ readonly inset: (amount: string) => readonly [Readonly<{ marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", string | null>; marginInli … #d01d6b3d
const focusDefaults: { readonly '--focus-outline-width': "2px"; readonly '--focus-outline-style': "solid"; readonly '--focus-outline-color': "var(--color-accent)"; readonly '--focus-outline-offset': "3px" }
const focusOutlineProps: object
focusVisible: (...styles: unknown[]) => Readonly<{ className?: string | undefined; 'data-style-src'?: string | undefined; style?: Readonly<{ [$$Key$$: string]: string | number }> | undefined }>
focusWithin: (...styles: unknown[]) => Readonly<{ className?: string | undefined; 'data-style-src'?: string | undefined; style?: Readonly<{ [$$Key$$: string]: string | number }> | undefined }>
focusWithinFirstChild: (...styles: unknown[]) => Readonly<{ className?: string | undefined; 'data-style-src'?: string | undefined; style?: Readonly<{ [$$Key$$: string]: string | number }> | undefined }>
suppressed: (...styles: unknown[]) => Readonly<{ className?: string | undefined; 'data-style-src'?: string | undefined; style?: Readonly<{ [$$Key$$: string]: string | number }> | undefined }>
publishFocusVisibleVars: (...styles: unknown[]) => Readonly<{ className?: string | undefined; 'data-style-src'?: string | undefined; style?: Readonly<{ [$$Key$$: string]: string | number }> | undefined }>
focusWithinOrPublished: (...styles: unknown[]) => Readonly<{ className?: string | undefined; 'data-style-src'?: string | undefined; style?: Readonly<{ [$$Key$$: string]: string | number }> | undefined }>
const focusOutlineStyles: Readonly<{ readonly focusVisible: Readonly<{ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "0" | "2px">; readonly outlineStyle: stylex.StyleX … #fb1ca74f
const focusVars: stylex.VarGroup<Readonly<{ readonly '--focus-outline-width': "2px"; readonly '--focus-outline-style': "solid"; readonly '--focus-outline-color': "var(--color-ac … #5c32fa16
const fontWeightDefaults: { readonly '--font-weight-normal': "400"; readonly '--font-weight-medium': "500"; readonly '--font-weight-semibold': "600"; readonly '--font-weight-bold': "700" }
const fontWeightVars: stylex.VarGroup<Readonly<{ readonly '--font-weight-normal': "400"; readonly '--font-weight-medium': "500"; readonly '--font-weight-semibold': "600"; readonly '--font-weight-bold': "700" }>, symbol>
const indicatorScope: ReturnType<typeof stylex.defineMarker>
const inputStatusBorderStyles: Readonly<{ readonly warning: Readonly<{ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "var(--color-text-warning)" | "Highlight"> }>; readonly e … #739ff723
const inputStatusFocusStyles: Readonly<{ readonly warning: Readonly<{ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "var(--color-text-warning)"> }>; readonly error: Readonly … #a9ac1cbc
const inputStatusFocusWithinStyles: Readonly<{ readonly warning: Readonly<{ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "var(--color-text-warning)" | "Highlight"> }>; readonly e … #739ff723
const inputStatusHoverShadowStyles: Readonly<{ readonly warning: Readonly<{ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "none" | { readonly '@media (hover: hover)': stylex.StyleXVar … #de6f47e5
const inputWrapperStyles: Readonly<{ readonly base: Readonly<{ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">; readonly position: stylex.StyleXClassNameFor<"pos … #ba795170
const interactionOverlayStyles: Readonly<{ readonly backgroundColor: Readonly<{ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "light-dark(#0536590C, #FFFFFF0C)" | "lig … #3522ad34
const overlayPaddingReset: Readonly<{ readonly reset: Readonly<{ readonly '--container-padding-inline-start': stylex.StyleXClassNameFor<"--container-padding-inline-start", "0px">; readonl … #15cd7287
const radiusDefaults: object
--radius-none: '0px'
--radius-inner: '4px'
--radius-element: '8px'
--radius-container: '12px'
--radius-page: '28px'
--radius-chat: '28px'
--radius-full: '9999px'
const radiusVars: stylex.VarGroup<Readonly<{ readonly '--radius-none': "0px"; readonly '--radius-inner': "4px"; readonly '--radius-element': "8px"; readonly '--radius-container': … #146a4918
const rtlStyles: Readonly<{ readonly mirror: Readonly<{ readonly transform: stylex.StyleXClassNameFor<"transform", "scaleX(-1)" | null> }>; readonly centerInline: (blockOffset: … #982a488f
const shadowDefaults: object
--shadow-low: '0px 1px 1px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 2px 8px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2))'
--shadow-med: '0px 1px 2px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 2px 12px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2))'
--shadow-high: '0px 2px 2px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 8px 24px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3))'
--shadow-inset-hover: 'inset 0px 0px 0px 2px light-dark(rgba(5, 54, 89, 0.15), rgba(223, 226, 229, 0.2))'
--shadow-inset-selected: 'inset 0px 0px 0px 2px rgba(1, 113, 227, 0.5)'
--shadow-inset-success: 'inset 0px 0px 0px 2px rgba(38, 167, 86, 0.3)'
--shadow-inset-warning: 'inset 0px 0px 0px 2px rgba(226, 164, 0, 0.3)'
--shadow-inset-error: 'inset 0px 0px 0px 2px rgba(227, 25, 59, 0.3)'
const shadowVars: stylex.VarGroup<Readonly<{ readonly '--shadow-low': "0px 1px 1px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 2px 8px light-dark(rgba(0, 0, 0, 0.1), … #9e227ca3
const sizeDefaults: { readonly '--size-element-sm': "28px"; readonly '--size-element-md': "32px"; readonly '--size-element-lg': "36px" }
const sizeVars: stylex.VarGroup<Readonly<{ readonly '--size-element-sm': "28px"; readonly '--size-element-md': "32px"; readonly '--size-element-lg': "36px" }>, symbol>
const spacingDefaults: object
--spacing-0: '0rem'
--spacing-0-5: '0.125rem'
--spacing-1: '0.25rem'
--spacing-1-5: '0.375rem'
--spacing-2: '0.5rem'
--spacing-3: '0.75rem'
--spacing-4: '1rem'
--spacing-5: '1.25rem'
--spacing-6: '1.5rem'
--spacing-7: '1.75rem'
--spacing-8: '2rem'
--spacing-9: '2.25rem'
--spacing-10: '2.5rem'
--spacing-11: '2.75rem'
--spacing-12: '3rem'
const spacingVars: stylex.VarGroup<Readonly<{ readonly '--spacing-0': "0rem"; readonly '--spacing-0-5': "0.125rem"; readonly '--spacing-1': "0.25rem"; readonly '--spacing-1-5': "0 … #3a5aec9c
const syntaxTokenDefaults: object
--color-syntax-keyword: 'var(--color-text-accent)'
--color-syntax-string: 'var(--color-text-green)'
--color-syntax-comment: 'var(--color-text-secondary)'
--color-syntax-number: 'var(--color-text-orange)'
--color-syntax-function: 'var(--color-text-blue)'
--color-syntax-type: 'var(--color-text-purple)'
--color-syntax-variable: 'var(--color-text-primary)'
--color-syntax-operator: 'var(--color-text-cyan)'
--color-syntax-constant: 'var(--color-text-orange)'
--color-syntax-tag: 'var(--color-text-red)'
--color-syntax-attribute: 'var(--color-text-teal)'
--color-syntax-property: 'var(--color-text-cyan)'
--color-syntax-punctuation: 'var(--color-text-secondary)'
--color-syntax-background: 'var(--color-background-muted)'
--color-syntax-added: 'color-mix(in srgb, var(--color-success-muted) 25%, transparent)'
--color-syntax-removed: 'color-mix(in srgb, var(--color-error-muted) 25%, transparent)'
--color-syntax-diff-header: 'var(--color-background-muted)'
--color-syntax-added-marker: 'var(--color-text-green)'
--color-syntax-removed-marker: 'var(--color-text-red)'
const textSizeDefaults: object
--font-size-4xs: '0.375rem'
--font-size-3xs: '0.4375rem'
--font-size-2xs: '0.5rem'
--font-size-xs: '0.625rem'
--font-size-sm: '0.75rem'
--font-size-base: '0.875rem'
--font-size-lg: '1.0625rem'
--font-size-xl: '1.25rem'
--font-size-2xl: '1.5rem'
--font-size-3xl: '1.8125rem'
--font-size-4xl: '2.1875rem'
--font-size-5xl: '2.625rem'
const textSizeVars: stylex.VarGroup<Readonly<{ readonly '--font-size-4xs': "0.375rem"; readonly '--font-size-3xs': "0.4375rem"; readonly '--font-size-2xs': "0.5rem"; readonly '--fo … #5b14b92c
const tokenDefaults: Record<string, string>
const tokenVars: Record<TokenName, string>
const typeScaleDefaults: object
--text-heading-1-size: 'var(--font-size-2xl)'
--text-heading-1-weight: 'var(--font-weight-semibold)'
--text-heading-1-leading: '1.3333'
--text-heading-2-size: 'var(--font-size-xl)'
--text-heading-2-weight: 'var(--font-weight-semibold)'
--text-heading-2-leading: '1.4'
--text-heading-3-size: 'var(--font-size-lg)'
--text-heading-3-weight: 'var(--font-weight-semibold)'
--text-heading-3-leading: '1.4118'
--text-heading-4-size: 'var(--font-size-base)'
--text-heading-4-weight: 'var(--font-weight-semibold)'
--text-heading-4-leading: '1.4286'
--text-heading-5-size: 'var(--font-size-sm)'
--text-heading-5-weight: 'var(--font-weight-semibold)'
--text-heading-5-leading: '1.6667'
--text-heading-6-size: 'var(--font-size-xs)'
--text-heading-6-weight: 'var(--font-weight-semibold)'
--text-heading-6-leading: '1.6'
--text-body-size: 'var(--font-size-base)'
--text-body-weight: 'var(--font-weight-normal)'
--text-body-leading: '1.4286'
--text-large-size: 'var(--font-size-lg)'
--text-large-weight: 'var(--font-weight-semibold)'
--text-large-leading: '1.4118'
--text-label-size: 'var(--font-size-base)'
--text-label-weight: 'var(--font-weight-medium)'
--text-label-leading: '1.4286'
--text-code-size: 'var(--font-size-base)'
--text-code-weight: 'var(--font-weight-normal)'
--text-code-leading: '1.4286'
--text-supporting-size: 'var(--font-size-sm)'
--text-supporting-weight: 'var(--font-weight-normal)'
--text-supporting-leading: '1.6667'
--text-display-1-size: 'var(--font-size-5xl)'
--text-display-1-weight: 'var(--font-weight-normal)'
--text-display-1-leading: '1.2381'
--text-display-2-size: 'var(--font-size-4xl)'
--text-display-2-weight: 'var(--font-weight-normal)'
--text-display-2-leading: '1.2571'
--text-display-3-size: 'var(--font-size-3xl)'
--text-display-3-weight: 'var(--font-weight-normal)'
--text-display-3-leading: '1.2414'
const typeScaleVars: stylex.VarGroup<Readonly<{ readonly '--text-heading-1-size': "var(--font-size-2xl)"; readonly '--text-heading-1-weight': "var(--font-weight-semibold)"; readonly … #aed5ac60
const typographyDefaults: object
--font-family-body: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'
--font-family-code: '"SF Mono", Monaco, Consolas, monospace'
--font-family-heading: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'
const typographyVars: stylex.VarGroup<Readonly<{ readonly '--font-family-body': "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif"; readonly '--f … #115234a4
Types
interface AlertDialogProps extends BaseProps<HTMLDialogElement> (props of AlertDialog)
interface AnimatedLayout
@astryxdesign/core/animated-layout/v1?: never
interface Animator extends AnimatorHandle
animate: (target: AnimatorValues, options?: AnimatorAnimateOptions) => Promise<void>
decay: (velocity: AnimatorDecayVelocity) => Promise<void>
destroy: () => void
get: () => AnimatorSnapshot
getVelocity: () => AnimatorSnapshot
set: (values: AnimatorValues) => void
stop: () => void
interface AnimatorAnimateOptions
velocity?: AnimatorValues
type AnimatorChannel = 'x' | 'y' | 'scale' | 'rotate' | 'opacity'
type AnimatorDecayVelocity = AnimatorValues
interface AnimatorHandle
animate: (target: AnimatorValues, options?: AnimatorAnimateOptions) => Promise<void>
decay: (velocity: AnimatorDecayVelocity) => Promise<void>
get: () => AnimatorSnapshot
getVelocity: () => AnimatorSnapshot
set: (values: AnimatorValues) => void
stop: () => void
type AnimatorSnapshot = Readonly<Record<AnimatorChannel, number>>
type AnimatorValues = Partial<Record<AnimatorChannel, number>>
type AnnounceFn = (message: string, politeness?: AnnouncePoliteness) => void
type AnnouncePoliteness = 'polite' | 'assertive'
type AppShellBreakpoint = WidthBreakpointName | 'none'
interface AppShellMobileContextValue
closeMobileNav: () => void
hasAutoToggle: boolean
isMobile: boolean
isMobileNavEnabled: boolean
isMobileNavOpen: boolean
mobileNavId?: string
openMobileNav: () => void
toggleMobileNav: () => void
interface AppShellProps extends BaseProps<HTMLDivElement> (props of AppShell)
type AppShellVariant = keyof AppShellVariantMap
interface AppShellVariantMap
elevated: true
section: true
surface: true
wash: true
type AspectRatioFit = 'cover' | 'contain' | 'center'
interface AspectRatioProps extends BaseProps<HTMLDivElement> (props of AspectRatio)
type AspectRatioShape = 'rectangle' | 'ellipse'
type AutoCapitalize = 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'
interface AvatarGroupContextValue
numericSize: number
overlap: number
shape: AvatarShape
size: AvatarSize
interface AvatarGroupOverflowProps extends Omit<BaseProps<HTMLElement>, 'onClick'> (props of AvatarGroupOverflow)
interface AvatarGroupProps extends BaseProps<HTMLDivElement> (props of AvatarGroup)
interface AvatarProps extends BaseProps<HTMLDivElement> (props of Avatar)
type AvatarShape = 'circle' | 'rounded' | 'square'
type AvatarSize = AvatarNamedSize | AvatarNumericSize
interface AvatarStatusDotProps extends BaseProps<HTMLDivElement> (props of AvatarStatusDot)
type AvatarStatusDotVariant = keyof AvatarStatusDotVariantMap
interface AvatarStatusDotVariantMap
error: true
neutral: true
success: true
interface BadgeProps extends BaseProps<HTMLSpanElement> (props of Badge)
type BadgeVariant = keyof BadgeVariantMap
interface BadgeVariantMap
blue: true
cyan: true
error: true
green: true
info: true
neutral: true
orange: true
pink: true
purple: true
red: true
success: true
teal: true
warning: true
yellow: true
type BannerContainer = keyof BannerContainerMap
interface BannerContainerMap
card: true
section: true
interface BannerProps extends BaseProps<HTMLDivElement> (props of Banner)
type BannerStatus = keyof BannerStatusMap
interface BannerStatusMap
error: true
info: true
success: true
warning: true
interface BaseProps<T extends HTMLElement = HTMLElement> extends Omit<React.HTMLAttributes<T>, 'children' | 'title' | 'contentEditable' | 'dangerouslySetInnerHTML' | 'suppressContentEditableWarning' | 'suppressHydrationWarning' | 'accessKey' | 'autoCapitalize' | 'autoFocus' | 'contextMenu' | 'enterKeyHint' | 'lang' | 'nonce' | 'slot' | 'spellCheck' | 'translate' | 'radioGroup' | 'inputMode' | 'is' | 'about' | 'content' | 'datatype' | 'inlist' | 'prefix' | 'property' | 'rel' | 'resource' | 'rev' | 'typeof' | 'vocab' | 'autoCorrect' | 'autoSave' | 'color' | 'results' | 'security' | 'unselectable' | 'itemProp' | 'itemScope' | 'itemType' | 'itemID' | 'itemRef' | 'popover' | 'popoverTargetAction' | 'popoverTarget' | 'exportparts' | 'defaultChecked' | 'defaultValue'>
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface BaseTableProps<T extends Record<string, unknown>> extends BaseProps<HTMLTableElement>
children?: ReactNode
columns?: TableColumn<T>[]
data?: T[]
emptyState?: ReactNode | false = <EmptyState title="No data" isCompact />
idKey?: (keyof T & string) | ((item: T) => string | number)
plugins?: TablePlugin<T>[]
ref?: React.Ref<HTMLTableElement>
rowCount?: number
rowIndexStart?: number = 1
scrollWrapper?: ComponentType<{ children: ReactNode; htmlProps?: HTMLAttributes<HTMLDivElement> & { ref?: Ref<HTMLDivElement> }; xstyle?: StyleXStyles[]; beforeTable?: ReactNode; afterTable?: ReactNode }>
textOverflow?: 'wrap' | 'truncate' = 'wrap'
virtualization?: TableVirtualizationCapability
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface BaseTypeaheadProps<T extends SearchableItem> extends Omit<BaseProps<HTMLElement>, 'onChange'> (props of BaseTypeahead)
type BlockNode<Extension extends MarkdownExtensionNode = never> = LegacyBlockNodeKind<Extension> & BlockMetadata
type BlockNodeWithMath<Extension extends MarkdownExtensionNode = never> = MathEnabledBlockNodeKind<Extension> & BlockMetadata
interface BlockquoteProps extends BaseProps<HTMLQuoteElement> (props of Blockquote)
interface BodyCellRenderProps
columnIndex?: number
columns?: ReadonlyArray<TableColumn<Record<string, unknown>>>
contextMenuActions?: TableContextActions
htmlProps: TdHTMLAttributes<HTMLTableCellElement>
isContentSuppressed?: boolean
xstyle: StyleXStyles[]
interface BodyRowRenderProps
afterRow?: ReactNode
children: ReactNode
htmlProps: HTMLAttributes<HTMLTableRowElement>
ref?: Ref<HTMLTableRowElement>
xstyle: StyleXStyles[]
type BorderVarName = keyof typeof borderDefaults
type BottomSheetHeight = keyof typeof HEIGHT_BUDGETS
type BottomSheetProps = StandaloneBottomSheetProps | SwitcherBottomSheetProps (props of BottomSheet)
type BottomSheetSnapPoint = number | string
interface BottomSheetSwitcherProps extends BaseProps<HTMLDialogElement> @deprecated (props of BottomSheetSwitcher)
interface BreadcrumbItemProps extends Omit<BaseProps<HTMLLIElement>, 'onClick'> (props of BreadcrumbItem)
interface BreadcrumbMenuCheckboxItemProps extends Omit<BaseProps, 'onChange' | 'role' | 'aria-checked' | 'tabIndex'>
description?: ReactNode
endContent?: ReactNode
hasCloseOnSelect?: boolean = false
icon?: ReactNode | IconType
isDisabled?: boolean = false
label: ReactNode
onChange?: (checked: boolean) => void
ref?: React.Ref<HTMLElement>
value: boolean
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface BreadcrumbMenuDividerData
type: 'divider'
interface BreadcrumbMenuDividerProps extends Omit<BaseProps<HTMLDivElement>, 'role' | 'aria-orientation'>
ref?: React.Ref<HTMLDivElement>
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface BreadcrumbMenuGroupProps extends Omit<BaseProps<HTMLDivElement>, 'role'>
children?: ReactNode
ref?: React.Ref<HTMLDivElement>
title?: ReactNode
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface BreadcrumbMenuItemData extends Pick<DropdownMenuItemProps, 'icon' | 'onClick' | 'isDisabled' | 'variant' | 'description' | 'endContent' | 'hasCloseOnSelect' | 'href' | 'target' | 'rel'>
description?: ReactNode
endContent?: ReactNode
hasCloseOnSelect?: boolean = true
href?: string
icon?: ReactNode | IconType
id?: string
isDisabled?: boolean = false
items?: DropdownMenuOption[]
label: ReactNode
onClick?: (event: MouseEvent) => void
rel?: string
target?: '_blank' | '_self'
variant?: 'default' | 'destructive' = 'default'
interface BreadcrumbMenuItemProps extends Omit<BaseProps, 'role' | 'tabIndex'>
description?: ReactNode
endContent?: ReactNode
hasCloseOnSelect?: boolean = true
href?: string
icon?: ReactNode | IconType
isDisabled?: boolean = false
label: ReactNode
onClick?: (event: MouseEvent) => void
ref?: React.Ref<HTMLElement>
rel?: string
target?: '_blank' | '_self'
variant?: 'default' | 'destructive' = 'default'
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type BreadcrumbMenuOption = DropdownMenuItemData | DropdownMenuDividerData | DropdownMenuSection
interface BreadcrumbMenuRadioGroupProps extends Omit<BaseProps, 'onChange'>
children: ReactNode
hasCloseOnSelect?: boolean = true
label: string
onChange: (value: string) => void
ref?: Ref<HTMLDivElement>
value: string | undefined
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface BreadcrumbMenuRadioItemProps extends Omit<BaseProps, 'role' | 'aria-checked' | 'tabIndex'>
description?: ReactNode
endContent?: ReactNode
icon?: ReactNode | IconType
isDisabled?: boolean = false
label: ReactNode
ref?: React.Ref<HTMLElement>
value: string
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface BreadcrumbMenuSection
id?: string
items: DropdownMenuItemData[]
title?: string
type: 'section'
interface BreadcrumbMenuSubMenuProps extends DropdownMenuSubMenuBaseProps
children: ReactNode
data-testid?: string
delay?: number = 150
description?: ReactNode
footer?: ReactNode
hasSpinner?: boolean = false
header?: ReactNode
hideDelay?: number = 200
icon?: ReactNode | IconType
isDisabled?: boolean = false
label: ReactNode
menuDataTestId?: string
menuWidth?: number | string
onOpenChange?: (isOpen: boolean) => void
presentation?: DropdownMenuSubMenuPresentation = 'adaptive'
ref?: React.Ref<HTMLElement>
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface BreadcrumbsProps extends BaseProps<HTMLElement> (props of Breadcrumbs)
type BreadcrumbsVariant = keyof BreadcrumbsVariantMap
interface BreadcrumbsVariantMap
default: true
supporting: true
type BuiltinTextColor = 'primary' | 'secondary' | 'disabled' | 'placeholder' | 'accent' | 'inherit'
type BuiltinTextType = 'body' | 'large' | 'label' | 'supporting' | 'code' | 'display-1' | 'display-2' | 'display-3' | 'inherit'
interface ButtonGroupContextValue
isDisabled: boolean
orientation: ButtonGroupOrientation
type ButtonGroupOrientation = 'horizontal' | 'vertical'
interface ButtonGroupProps extends BaseProps<HTMLDivElement> (props of ButtonGroup)
interface ButtonProps extends BaseProps<HTMLButtonElement> (props of Button)
type ButtonSize = keyof typeof sizeStyles
type ButtonVariant = keyof ButtonVariantMap
interface ButtonVariantMap
destructive: true
ghost: true
primary: true
secondary: true
interface CalendarDay
date: PlainDate
dayNumber: number
isOutside: boolean
iso: ISODateString
interface CalendarHandle
navigateTo: (date: ISODateString) => void
type CalendarProps = CalendarSingleProps | CalendarRangeProps (props of Calendar)
type CalendarSystem = 'gregory' | 'iso8601' | 'buddhist' | 'roc' | 'japanese' | 'persian' | 'indian' | 'hebrew' | 'chinese' | 'dangi' | 'coptic' | 'ethiopic' | 'ethioaa' | 'islamic-c … #85e5f84c
interface CardProps extends BaseProps<HTMLDivElement> (props of Card)
type CardVariant = keyof CardVariantMap
interface CardVariantMap
blue: true
cyan: true
default: true
gray: true
green: true
muted: true
orange: true
pink: true
purple: true
red: true
teal: true
transparent: true
yellow: true
interface CarouselHandle
canScrollNext: () => boolean
canScrollPrev: () => boolean
scrollNext: () => void
scrollPrev: () => void
scrollTo: (index: number) => void
interface CarouselProps extends BaseProps<HTMLDivElement> (props of Carousel)
type Catalog = Record<string, MessageEntry>
type CenterAxis = 'both' | 'horizontal' | 'vertical'
interface CenterProps extends BaseProps<HTMLDivElement> (props of Center)
interface ChatComposerContextValue
canSend: boolean
inputControlRef?: RefObject<ChatComposerInputControl | null>
isDisabled: boolean
isStopShown: boolean
onChange: (value: string) => void
onStop?: () => void
onSubmit: (value: string) => void
placeholder: string
value: string
type ChatComposerDensity = 'compact' | 'balanced' | 'spacious'
interface ChatComposerDrawerProps extends BaseProps<HTMLDivElement> (props of ChatComposerDrawer)
interface ChatComposerInputControl
focus: () => void
interface ChatComposerInputHandle
expandToken: (id: string) => void
focus: () => void
getValue: () => string
insertText: (text: string) => void
insertToken: (token: ChatComposerToken) => string | undefined
interface ChatComposerInputProps extends Omit<BaseProps<HTMLDivElement>, 'onChange' | 'onPaste' | 'onSubmit'> (props of ChatComposerInput)
interface ChatComposerProps extends Omit<BaseProps<HTMLDivElement>, 'onChange' | 'onSubmit'> (props of ChatComposer)
type ChatComposerStatus
message?: string
type: 'error' | 'warning'
type ChatComposerToken = ChatComposerTokenBadge | ChatComposerTokenCustom
interface ChatComposerTokenElementProps extends BaseProps<HTMLSpanElement> (props of ChatComposerTokenElement)
type ChatComposerTrigger
character: string
deserialize?: (value: string) => ChatComposerToken | null
emptySearchText?: ReactNode = 'No results'
hasMultiWordQuery?: boolean = false
loadingText?: string = 'Searching\u2026'
menuLabel?: string = 'Suggestions'
onSelect: (item: SearchableItem) => string | ChatComposerToken
renderItem?: (item: SearchableItem) => ReactNode
searchSource: SearchSource
type ChatComposerTriggerItem = SearchableItem
type ChatDensity = 'compact' | 'balanced' | 'spacious'
interface ChatDictationButtonProps extends BaseProps<HTMLSpanElement> (props of ChatDictationButton)
interface ChatLayoutProps extends BaseProps<HTMLDivElement> (props of ChatLayout)
interface ChatLayoutScrollButtonProps extends Omit<BaseProps<HTMLDivElement>, 'onClick'> (props of ChatLayoutScrollButton)
interface ChatMessageBubbleProps extends BaseProps<HTMLDivElement> (props of ChatMessageBubble)
type ChatMessageBubbleVariant = 'filled' | 'ghost'
interface ChatMessageListProps extends BaseProps<HTMLDivElement> (props of ChatMessageList)
interface ChatMessageMetadataProps extends BaseProps<HTMLDivElement> (props of ChatMessageMetadata)
interface ChatMessageProps extends BaseProps<HTMLElement> (props of ChatMessage)
type ChatMessageSender = 'user' | 'assistant' | 'system'
type ChatMessageStatus = 'sending' | 'sent' | 'delivered' | 'read' | 'error'
interface ChatScrollToBottomOptions
behavior?: 'instant' | 'spring' = 'spring'
interface ChatSendButtonProps extends BaseProps<HTMLButtonElement> (props of ChatSendButton)
interface ChatSystemMessageProps extends BaseProps<HTMLDivElement> (props of ChatSystemMessage)
type ChatSystemMessageVariant = 'default' | 'divider'
interface ChatTokenizedTextProps extends BaseProps<HTMLSpanElement> (props of ChatTokenizedText)
interface ChatToolCallItem
additions?: number
data?: unknown
deletions?: number
duration?: string
errorMessage?: string
key?: string
name: string
node?: string
resultDetail?: ReactNode
stats?: ReactNode
status?: ChatToolCallStatus = 'complete'
target?: string
type ChatToolCallStatus = 'pending' | 'running' | 'complete' | 'error'
interface ChatToolCallsProps extends BaseProps<HTMLDivElement> (props of ChatToolCalls)
interface CheckboxInputProps extends Omit<BaseProps, 'onChange'> (props of CheckboxInput)
type CheckboxInputSize = keyof typeof wrapperSizeStyles
interface CheckboxListItemProps extends BaseProps<HTMLLIElement> (props of CheckboxListItem)
interface CheckboxListProps extends Omit<FieldInputBaseProps<HTMLDivElement>, 'onChange'> (props of CheckboxList)
interface CitationProps extends BaseProps<HTMLElement> (props of Citation)
interface CitationSource
icon?: ReactNode
src?: string
title?: string
url?: string
type ClassProps = Record<string, ClassValue>
type ClassValue = string | number | undefined | null
interface ClickableCardProps extends BaseProps (props of ClickableCard)
interface ClickableContainerResult
onClick: (event: MouseEvent<HTMLElement>) => void
onMouseUp: (event: MouseEvent<HTMLElement>) => void
onPointerDown: (event: PointerEvent<HTMLElement>) => void
interface CodeBlockProps extends BaseProps<HTMLPreElement> (props of CodeBlock)
type CodeColor = 'primary' | 'secondary' | 'inherit'
type CodeLanguage
@astryxdesign/core/code-language/v1?: never
fileExtensions: ReadonlyArray<string>
fileNames: ReadonlyArray<string>
identifiers: ReadonlyArray<string>
name: string
type CodeLanguageToken
end: number
start: number
type: string
type CodeLanguageTokenize = (code: string, language: string) => CodeLanguageToken[]
interface CodeProps extends BaseProps<HTMLElement> (props of Code)
type CodeSize = 'inherit'
type CollapsibleChevronPosition = 'start' | 'end'
type CollapsibleConfig
defaultIsOpen?: boolean = true
isOpen?: boolean
onOpenChange?: (isOpen: boolean) => void
type CollapsibleGroupDensity = 'compact' | 'balanced' | 'spacious'
interface CollapsibleGroupProps extends Omit<BaseProps<HTMLElement>, 'onChange'> (props of CollapsibleGroup)
interface CollapsibleProps extends BaseProps (props of Collapsible)
interface ColorScaleConfig
accent?: string | [light: string, dark: string]
contrast?: 'standard' | 'high' = 'standard'
neutralStyle?: 'warm' | 'cool' | 'neutral' = 'cool'
type ColorScaleTokens = Record<string, string>
type ColorVarName = keyof typeof colorDefaults
interface ColumnSettingsOption<TColumnKey extends string = string>
group?: string
isAlwaysVisible?: boolean = false
key: TColumnKey
label: string
type ColumnWidth = ProportionalWidth | PixelWidth
interface CommandPaletteContextValue
getItemId: (index: number) => string
highlightedIndex: number
isBusy: boolean
isOpen: boolean
listId: string
onClose: () => void
onKeyDown: (e: React.KeyboardEvent) => void
search: string
searchResults: SearchableItem[]
selectItem: (value: string) => void
selectableItems: { value: string; label?: string; disabled?: boolean }[]
setHighlightedIndex: (index: number) => void
setSearch: (search: string) => void
setValue: (value: string) => void
value: string
interface CommandPaletteEmptyProps extends BaseProps<HTMLDivElement> (props of CommandPaletteEmpty)
interface CommandPaletteFooterProps extends BaseProps<HTMLDivElement> (props of CommandPaletteFooter)
interface CommandPaletteGroupProps extends BaseProps<HTMLDivElement> (props of CommandPaletteGroup)
interface CommandPaletteInputProps extends Omit<BaseProps<HTMLInputElement>, 'onChange'> (props of CommandPaletteInput)
interface CommandPaletteItemProps extends Omit<BaseProps<HTMLDivElement>, 'onChange' | 'onSelect'> (props of CommandPaletteItem)
interface CommandPaletteListProps extends BaseProps<HTMLDivElement> (props of CommandPaletteList)
interface CommandPaletteProps<T extends SearchableItem = SearchableItem> extends Omit<BaseProps<HTMLDialogElement>, 'onChange'> (props of CommandPalette)
interface CompactDefinition
coarsePointerQuery: string
heightBelow: number
query: string
widthBelow: number
interface ComplexSelectorHandle
close: () => void
isOpen: () => boolean
open: () => void
toggle: () => void
interface ComplexSelectorProps<Value> extends Omit<FieldInputBaseProps, 'children' | 'onChange'> (props of ComplexSelector)
interface ComplexSelectorRenderState
contentId: string
isBusy: boolean
isOpen: boolean
triggerId: string
interface ComplexSelectorRenderTriggerProps extends Omit<FieldInputBaseProps, keyof FieldPartStyleProps | 'id' | 'onClick' | 'onKeyDown' | 'role' | 'aria-label' | 'aria-haspopup' | 'aria-expanded' | 'aria-controls' | 'aria-busy' | 'aria-required' | 'aria-disabled'>
aria-busy: boolean | undefined
aria-controls: string
aria-disabled: 'true' | undefined
aria-expanded: boolean
aria-haspopup: 'dialog'
aria-label: string | undefined
aria-required: 'true' | undefined
id: string
onClick: (event: React.MouseEvent<HTMLElement>) => void
onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void
ref: (element: HTMLElement | null) => void
role: 'combobox'
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type ComplexSelectorSize = 'sm' | 'md' | 'lg'
interface ComplexSelectorStatus
message?: string
type: 'warning' | 'error' | 'success'
type ComplexSelectorVariant = 'input' | 'secondary' | 'ghost'
type ComponentStyleMap = Record<string, Record<string, StyleOverrides>>
type ContainerComponent = keyof typeof themeDefaultStyles
interface ContainerOptions
maxHeight?: string
padding?: SpacingToken = 'spacing4'
paddingInnerX?: SpacingToken
paddingInnerY?: SpacingToken
paddingOuterX?: SpacingToken
paddingOuterY?: SpacingToken
useThemeDefault?: ContainerComponent = undefined (uses explicit spacing token values)
interface ContainerRevealOptions
forceState?: 'active' | 'inactive'
hoverDelay?: number = 0
interface ContentRevealOptions
forceVisibility?: 'shown' | 'hidden'
isLayoutPreserved?: boolean = false
isRevealInverted?: boolean = false
interface ContextLayerOptions extends BaseLayerOptions
lazyMount?: boolean = false
lightDismiss?: boolean = false
mode: 'context'
onHide?: () => void
onShow?: () => void
interface ContextLayerReturn
anchorId: string
hide: () => void
id: string
isOpen: boolean
ref: RefCallback<HTMLElement>
render: (children: ReactNode, props?: ContextRenderProps) => ReactNode
show: () => void
interface ContextMenuCheckboxItemProps extends Omit<BaseProps, 'onChange' | 'role' | 'aria-checked' | 'tabIndex'>
description?: ReactNode
endContent?: ReactNode
hasCloseOnSelect?: boolean = false
icon?: ReactNode | IconType
isDisabled?: boolean = false
label: ReactNode
onChange?: (checked: boolean) => void
ref?: React.Ref<HTMLElement>
value: boolean
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type ContextMenuDividerData = DropdownMenuDividerData
interface ContextMenuDividerProps extends Omit<BaseProps<HTMLDivElement>, 'role' | 'aria-orientation'>
ref?: React.Ref<HTMLDivElement>
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface ContextMenuGroupProps extends Omit<BaseProps<HTMLDivElement>, 'role'>
children?: ReactNode
ref?: React.Ref<HTMLDivElement>
title?: ReactNode
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type ContextMenuItemData = DropdownMenuItemData
interface ContextMenuItemProps extends Omit<BaseProps, 'role' | 'tabIndex'>
description?: ReactNode
endContent?: ReactNode
hasCloseOnSelect?: boolean = true
href?: string
icon?: ReactNode | IconType
isDisabled?: boolean = false
label: ReactNode
onClick?: (event: MouseEvent) => void
ref?: React.Ref<HTMLElement>
rel?: string
target?: '_blank' | '_self'
variant?: 'default' | 'destructive' = 'default'
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type ContextMenuOption = DropdownMenuOption
type ContextMenuProps = ContextMenuDataProps | ContextMenuCompoundProps (props of ContextMenu)
interface ContextMenuRadioGroupProps extends Omit<BaseProps, 'onChange'>
children: ReactNode
hasCloseOnSelect?: boolean = true
label: string
onChange: (value: string) => void
ref?: Ref<HTMLDivElement>
value: string | undefined
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface ContextMenuRadioItemProps extends Omit<BaseProps, 'role' | 'aria-checked' | 'tabIndex'>
description?: ReactNode
endContent?: ReactNode
icon?: ReactNode | IconType
isDisabled?: boolean = false
label: ReactNode
ref?: React.Ref<HTMLElement>
value: string
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type ContextMenuSection = DropdownMenuSection
interface ContextMenuSubMenuProps extends DropdownMenuSubMenuBaseProps
children: ReactNode
data-testid?: string
delay?: number = 150
description?: ReactNode
footer?: ReactNode
hasSpinner?: boolean = false
header?: ReactNode
hideDelay?: number = 200
icon?: ReactNode | IconType
isDisabled?: boolean = false
label: ReactNode
menuDataTestId?: string
menuWidth?: number | string
onOpenChange?: (isOpen: boolean) => void
presentation?: DropdownMenuSubMenuPresentation = 'adaptive'
ref?: React.Ref<HTMLElement>
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface ContextRenderProps
alignment?: LayerAlignment
aria-label?: string
as?: 'div' | 'span' = 'div'
className?: string
offset?: number | string = 0
onMouseEnter?: React.MouseEventHandler<HTMLElement>
onMouseLeave?: React.MouseEventHandler<HTMLElement>
placement?: LayerPlacement
positioning?: 'anchor' | 'custom' = 'anchor'
role?: string
style?: React.CSSProperties
xstyle?: StyleXStyles
type CoreIndicatorName = 'check' | 'checkbox' | 'radio'
type CoreTokenName = keyof typeof colorDefaults | keyof typeof spacingDefaults | keyof typeof sizeDefaults | keyof typeof borderDefaults | keyof typeof focusDefaults | keyof typeof … #4209c9b3
type CreateCodeLanguageOptions = CodeLanguageMeta & { tokenize: CodeLanguageTokenize }
interface CreateStaticSourceOptions<T extends SearchableItem = SearchableItem>
keywords?: (item: T) => string[]
interface CustomOperatorValue
Editor: React.ComponentType<{ isDisabled?: boolean; onChange: (value: string | null) => void; placeholder: string; value: string | null }>
getString: (value: string) => string
type: 'custom'
interface CustomTextTypes
type DataTokenName = keyof typeof dataTokenDefaults
interface DateAbsoluteOperatorValue
isDateOnly?: boolean
type: 'date_absolute'
type DateInputFormat = Extract<TimestampFormat, 'date' | 'date_long' | 'date_weekday' | 'system_date'>
type DateInputNativePicker @deprecated = 'touch' | 'always' | 'never'
type DateInputPresentation = PickerPresentation
interface DateInputProps extends Omit<FieldInputBaseProps<HTMLInputElement>, 'onChange' | 'defaultValue'> (props of DateInput)
type DateInputSize = keyof typeof sizeStyles
interface DateInputStatus
message?: string
type: InputStatusType
type DateInputStatusType = 'warning' | 'error' | 'success'
interface DateRange
end: ISODateString
start: ISODateString
interface DateRangeFilterPreset
label: string
value: DateTimeRange
interface DateRangeInputProps extends Omit<FieldInputBaseProps<HTMLButtonElement>, 'onChange' | 'defaultValue'> (props of DateRangeInput)
type DateRangeInputSize = 'sm' | 'md' | 'lg'
interface DateRangeInputStatus
message?: string
type: InputStatusType
type DateRangeInputStatusType = 'warning' | 'error' | 'success'
interface DateRangeOperatorValue
intervalDatePresets?: ReadonlyArray<DateRangeFilterPreset>
relativeDatePresets?: ReadonlyArray<RelativeDateFilterPreset>
type: 'date_range'
interface DateRangePreset
getRange: () => DateRange
label: string
interface DateRelativeOperatorValue
isFutureAllowed?: boolean = true
isPastAllowed?: boolean = true
type: 'date_relative'
type DateTimeInputHourFormat = '12h' | '24h'
type DateTimeInputNativePicker @deprecated = 'touch' | 'always' | 'never'
type DateTimeInputPresentation = PickerPresentation
interface DateTimeInputProps extends Omit<FieldInputBaseProps<HTMLInputElement>, 'onChange' | 'defaultValue'> (props of DateTimeInput)
type DateTimeInputSize = 'sm' | 'md' | 'lg'
interface DateTimeInputStatus
message?: string
type: InputStatusType
type DateTimeInputStatusType = 'warning' | 'error' | 'success'
type DateTimeInputTimeIncrement = 1 | 5 | 10 | 15 | 30
type DateTimeInputTimeOptionInterval = 5 | 10 | 15 | 30 | 60
interface DateTimeRange
end: DateTimeRangePart
start: DateTimeRangePart
type DateTimeRangePart = { readonly type: 'NOW' } | { readonly type: 'ABSOLUTE'; readonly unixSeconds: number } | { readonly type: 'RELATIVE'; readonly backValue: number; readonly unit: … #f13a2da6
type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6
type DayOfWeekName = 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat'
interface DefineThemeInput<IconVariants extends ReadonlyArray<string> | undefined = ReadonlyArray<string> | undefined, Base extends DefinedTheme | undefined = DefinedTheme | undefined>
adaptations?: ThemeAdaptations
color?: ColorScaleConfig
components?: ComponentStyleMap
extends?: Base
iconVariants?: IconVariants
icons?: ThemeIconEntries<ThemeIconEntryVariant<IconVariants, Base>>
indicators?: IndicatorRegistry
localTokens?: Record<string, TokenValue>
motion?: ThemeMotionConfig
name: string
onDark?: OnMediaOverrides
onLight?: OnMediaOverrides
radius?: RadiusScaleConfig
syntax?: SyntaxThemeDefinition
tokens?: Partial<Record<TokenName, TokenValue>>
typography?: TypographyConfig
interface DefinedTheme
__adaptationRules?: ResolvedThemeAdaptationRule[] @internal
__adaptations?: NormalizedThemeAdaptations @internal
__axes?: ThemeGenerativeAxes @internal
__built?: true
__iconEntryVariants?: Record<string, ReadonlyArray<string> | undefined> @internal
__icons?: ThemeIconEntries<never> @internal
__inputTokens?: Partial<Record<string, TokenValue>> @internal
__localTokenLineage?: string[] @internal
__localTokenOwners?: Record<string, string> @internal
__onDark?: ResolvedOnMedia @internal
__onLight?: ResolvedOnMedia @internal
components?: ComponentStyleMap
iconVariants?: ReadonlyArray<string>
icons?: ThemeIconOverrides
indicators?: IndicatorRegistry
localTokens?: Record<string, string>
name: string
tokens: Record<string, string>
interface DialogHeaderProps extends BaseProps<HTMLDivElement> (props of DialogHeader)
interface DialogPosition extends DialogBlockPosition
bottom?: number | string
end?: number | string
start?: number | string
top?: number | string
interface DialogProps extends BaseProps<HTMLDialogElement> (props of Dialog)
type DialogPurpose = 'required' | 'form' | 'info'
type DialogVariant = keyof DialogVariantMap
interface DialogVariantMap
fullscreen: true
standard: true
interface DividerProps extends BaseProps<HTMLDivElement> (props of Divider)
type DividerVariant = keyof DividerVariantMap
interface DividerVariantMap
strong: true
subtle: true
type DomainTokenName = SyntaxTokenName | DataTokenName
interface DragToSnapPoints
destroy: () => void
settleTo: (index: number) => void
interface DragToSnapPointsOptions
axis: 'x' | 'y'
flickThreshold?: number
onSettle: (index: number) => void
snapPoints: ReadonlyArray<number>
interface DrawerHeaderProps extends BaseProps<HTMLDivElement> (props of DrawerHeader)
interface DrawerProps extends BaseProps<HTMLDialogElement> (props of Drawer)
type DropdownMenuButtonProps = Omit<ButtonProps, 'onClick'>
interface DropdownMenuCheckboxItemProps extends Omit<BaseProps, 'onChange' | 'role' | 'aria-checked' | 'tabIndex'> (props of DropdownMenuCheckboxItem)
interface DropdownMenuContextValue
closeMenu: () => void
drillIn?: DropdownMenuDrillIn
menuLabel?: string
menuSize: DropdownMenuSize
interface DropdownMenuDividerData
type: 'divider'
interface DropdownMenuDividerProps extends Omit<BaseProps<HTMLDivElement>, 'role' | 'aria-orientation'> (props of DropdownMenuDivider)
interface DropdownMenuGroupProps extends Omit<BaseProps<HTMLDivElement>, 'role'> (props of DropdownMenuGroup)
interface DropdownMenuItemData extends Pick<DropdownMenuItemProps, 'icon' | 'onClick' | 'isDisabled' | 'variant' | 'description' | 'endContent' | 'hasCloseOnSelect' | 'href' | 'target' | 'rel'>
description?: ReactNode
endContent?: ReactNode
hasCloseOnSelect?: boolean = true
href?: string
icon?: ReactNode | IconType
id?: string
isDisabled?: boolean = false
items?: DropdownMenuOption[]
label: ReactNode
onClick?: (event: MouseEvent) => void
rel?: string
target?: '_blank' | '_self'
variant?: 'default' | 'destructive' = 'default'
interface DropdownMenuItemProps extends Omit<BaseProps, 'role' | 'tabIndex'> (props of DropdownMenuItem)
type DropdownMenuOption = DropdownMenuItemData | DropdownMenuDividerData | DropdownMenuSection
type DropdownMenuPresentation = AdaptivePresentation
type DropdownMenuProps = DropdownMenuDataProps | DropdownMenuCompoundProps (props of DropdownMenu)
interface DropdownMenuRadioGroupProps extends Omit<BaseProps, 'onChange'> (props of DropdownMenuRadioGroup)
interface DropdownMenuRadioItemProps extends Omit<BaseProps, 'role' | 'aria-checked' | 'tabIndex'> (props of DropdownMenuRadioItem)
interface DropdownMenuSection
id?: string
items: DropdownMenuItemData[]
title?: string
type: 'section'
type DropdownMenuSize = 'sm' | 'md' | 'lg'
type DropdownMenuSubMenuPresentation = 'flyout' | 'drill-in' | 'adaptive'
interface DropdownMenuSubMenuProps extends DropdownMenuSubMenuBaseProps (props of DropdownMenuSubMenu)
interface DropdownMenuTriggerProps
aria-controls: string
aria-expanded: boolean
aria-haspopup: 'menu' | 'dialog'
id: string
onClick: (event: React.MouseEvent<HTMLElement>) => void
onClickCapture: (event: React.MouseEvent<HTMLElement>) => void
onContextMenu: (event: React.MouseEvent<HTMLElement>) => void
onFocus: (event: React.FocusEvent<HTMLElement>) => void
onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void
onPointerDown: (event: React.PointerEvent<HTMLElement>) => void
ref: (element: HTMLElement | null) => void
type DurationVarName = keyof typeof durationDefaults
type EaseVarName = keyof typeof easeDefaults
type ElementSize = 'sm' | 'md' | 'lg'
interface EmptyOperatorValue
type: 'empty'
interface EmptyStateProps extends BaseProps<HTMLDivElement> (props of EmptyState)
type EnterKeyHint = 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'
interface EntityListOperatorValue
isArbitraryStringAllowed?: boolean = false
renderItem?: (item: SearchableItem) => ReactNode
searchSource?: SearchSource
tokenization?: OperatorTokenizationConfig
type: 'entity_list'
type EntryAnimationPreset = 'slideDown' | 'slideUp' | 'fadeIn' | 'scaleIn'
interface EnumItem
icon?: ReactNode
label: string
value: string
interface EnumListOperatorValue
type: 'enum_list'
values: ReadonlyArray<EnumItem>
interface EnumOperatorValue
type: 'enum'
values: ReadonlyArray<EnumItem>
type ExtendedIconName = IconName | (string & {})
interface FieldContainerStyleProps
containerClassName?: string
containerStyle?: CSSProperties
containerXstyle?: StyleXStyles
interface FieldControlStyleProps
controlClassName?: string
controlStyle?: CSSProperties
controlXstyle?: StyleXStyles
interface FieldDefinition<K extends string = string, T extends FieldType = FieldType>
enumValues?: ReadonlyArray<EnumItem>
key: K
label?: string
type: T
type FieldInputBaseProps<T extends HTMLElement = HTMLElement> = Omit<BaseProps<T>, FieldInputForbiddenStyleProp> & FieldPartStyleProps
interface FieldLabelProps extends BaseProps<HTMLLabelElement> (props of FieldLabel)
interface FieldPartStyleProps extends FieldContainerStyleProps, FieldControlStyleProps
containerClassName?: string
containerStyle?: CSSProperties
containerXstyle?: StyleXStyles
controlClassName?: string
controlStyle?: CSSProperties
controlXstyle?: StyleXStyles
interface FieldProps extends Omit<BaseProps<HTMLDivElement>, 'children'> (props of Field)
interface FieldStatusInput
message?: string
messageID?: string
type: FieldStatusType
type FieldStatusPlacement = keyof FieldStatusVariantMap | 'tooltip'
interface FieldStatusProps extends BaseProps<HTMLDivElement> (props of FieldStatus)
type FieldStatusType = 'warning' | 'error' | 'success'
type FieldStatusVariant = keyof FieldStatusVariantMap
interface FieldStatusVariantMap
attached: true
detached: true
tooltip: true @deprecated
interface FileInputProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue' | 'value'> (props of FileInput)
interface FileInputStatus
message?: string
type: InputStatusType
type FileInputStatusType = 'warning' | 'error' | 'success'
type FilterValue = FilterValueEmpty | FilterValueString | FilterValueStringList | FilterValueInteger | FilterValueFloat | FilterValueTime | FilterValueDateAbsolute | FilterValueDa … #d6035ca7
interface FilterValueCustom
type: 'custom'
value: string
interface FilterValueDateAbsolute
type: 'date_absolute'
unixSeconds: number
interface FilterValueDateRange
type: 'date_range'
value: DateTimeRange
interface FilterValueDateRelative
type: 'date_relative'
value: string
interface FilterValueEmpty
type: 'empty'
interface FilterValueEntityList
type: 'entity_list'
value: ReadonlyArray<PowerSearchEntity>
interface FilterValueEnum
type: 'enum'
value: string
interface FilterValueEnumList
type: 'enum_list'
value: ReadonlyArray<string>
interface FilterValueFloat
type: 'float'
value: number
interface FilterValueInteger
type: 'integer'
value: number
interface FilterValueNested
type: 'nested'
value: ReadonlyArray<PowerSearchFilter>
interface FilterValueString
type: 'string'
value: string
interface FilterValueStringList
type: 'string_list'
value: ReadonlyArray<string>
interface FilterValueTime
type: 'time'
value: string
interface FixedLayerOptions extends BaseLayerOptions
lightDismiss?: boolean = false
mode: 'fixed'
onHide?: () => void
onShow?: () => void
interface FixedLayerReturn
hide: () => void
id: string
isOpen: boolean
ref: undefined
render: (children: ReactNode, props: FixedRenderProps) => ReactNode
show: () => void
interface FixedRenderProps
className?: string
style?: React.CSSProperties
x: number
xstyle?: StyleXStyles
y: number
interface FloatOperatorValue
maxValue?: number
minValue?: number
type: 'float'
units?: string
type FontWeight = 'normal' | 'medium' | 'semibold' | 'bold' | (string & {})
type FontWeightVarName = keyof typeof fontWeightDefaults
type FormLayoutDirection = 'vertical' | 'horizontal' | 'horizontal-labels'
interface FormLayoutProps extends BaseProps<HTMLDivElement> (props of FormLayout)
type FormOptionality = 'optional' | 'required'
type GridAlignment = 'start' | 'center' | 'end' | 'stretch'
type GridColumns = number | { minWidth: number; max?: number; repeat?: 'fill' | 'fit' }
interface GridProps extends BaseProps<HTMLDivElement> (props of Grid)
interface GridSpanProps extends BaseProps<HTMLDivElement> (props of GridSpan)
interface GroupItemsOptions
ungroupedFirst?: boolean
interface HStackProps extends Omit<StackProps, 'direction' | 'hAlign' | 'vAlign'> (props of HStack)
interface HeaderCellRenderProps
after?: ReactNode
before?: ReactNode
below?: ReactNode
columnIndex?: number
columns?: ReadonlyArray<TableColumn<Record<string, unknown>>>
content?: ReactNode
contextMenuActions?: TableContextActions
htmlProps: ThHTMLAttributes<HTMLTableCellElement>
overlay?: ReactNode
xstyle: StyleXStyles[]
interface HeaderRowRenderProps
children: ReactNode
htmlProps: HTMLAttributes<HTMLTableRowElement>
xstyle: StyleXStyles[]
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6
interface HeadingProps extends Omit<BaseProps<HTMLHeadingElement>, 'children'> (props of Heading)
type HeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'
type HeadingType = keyof HeadingTypeMap
interface HeadingTypeMap
display-1: true
display-2: true
display-3: true
interface Hotkey
allowInInputs?: boolean = false
isDisabled?: boolean
keys: string
onPress: (event: KeyboardEvent) => void
type HoverCardFocusTrigger = 'auto' | 'always' | 'never'
interface HoverCardOptions
alignment?: LayerAlignment = 'center'
delay?: number = 300
focusTrigger?: HoverCardFocusTrigger = 'auto'
hideDelay?: number = 200
isDefaultOpen?: boolean
isEnabled?: boolean = true
isOpen?: boolean
label?: string
onHide?: () => void
onShow?: () => void
placement?: LayerPlacement = 'above'
touchTrigger?: HoverCardTouchTrigger = 'auto'
interface HoverCardProps extends Pick<BaseProps, 'xstyle' | 'className' | 'style'> (props of HoverCard)
interface HoverCardReturn
anchorId: string
describedBy: string
hide: () => void
id: string
interactionRef: RefCallback<HTMLElement>
isOpen: boolean
positionRef: RefCallback<HTMLElement>
ref: RefCallback<HTMLElement>
renderHoverCard: (children: ReactNode, props?: Omit<ContextRenderProps, 'positioning'>) => ReactNode
show: () => void
type HoverCardTouchTrigger = LayerTouchTrigger
type ISODateString = `${number}${number}${number}${number}-${number}${number}-${number}${number}`
type ISODateTimeString = string & { readonly __brand: 'ISODateTimeString' }
type ISOTimeString = string & { readonly __brand: 'ISOTimeString' }
interface IconButtonProps extends Omit<ButtonProps, 'isIconOnly' | 'children' | 'endContent'> (props of IconButton)
type IconColor = keyof typeof colorStyles
type IconEntry<Variant extends string = IconVariant> = ReactNode | ((request: IconRequest<Variant>) => ReactNode)
type IconName = 'close' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronsLeft' | 'chevronsRight' | 'check' | 'success' | 'error' | 'warning' | 'info' | 'calendar' | … #29e67310
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'ref' | 'color'> (props of Icon)
type IconRegistry = Record<IconName, ReactNode>
type IconRegistrySource = DefinedTheme | string | null | undefined
type IconRequest<Variant extends string = IconVariant> = Readonly<{ size: IconSize; variant?: Variant }>
type IconSize = keyof typeof iconSizeValues
type IconType = ComponentType<SVGProps<SVGSVGElement>>
type IconVariant = keyof IconVariantMap & string
interface IconVariantMap
interface ImageSampleRegion
height: number
width: number
x: number
y: number
interface ImperativeAlertDialogReturn
element: ReactNode
hide: () => void
isOpen: boolean
show: (options: AlertDialogOptions) => void
interface ImperativeDialogReturn
element: ReactNode
hide: () => void
isOpen: boolean
show: (content: ReactNode, options?: DialogOptions) => void
type IncrementalMathParseOptions<Plugins extends ReadonlyArray<MarkdownPluginEntry> = readonly []> = MathParseOptions<Plugins> & { readonly isFinal?: boolean }
type IncrementalParseOptions<Plugins extends ReadonlyArray<MarkdownPluginEntry> = readonly []> = ParseOptions<Plugins> & { readonly isFinal?: boolean }
interface IncrementalParseState<MathEnabled extends boolean = false>
[incrementalStateMode]: MathEnabled @internal
autolink?: 'gfm'
linkDefsKey?: string
math?: MathEnabled
pluginSyntaxIdentity?: string
prevInput: string
settledBlocks: IncrementalBlockNode<MathEnabled>[]
settledText: string
settledUpTo: number
sourceIdsKey?: string
sourceRanges?: boolean
type IndicatorComponent<F extends IndicatorFamily = IndicatorFamily> = ComponentType<IndicatorProps<F>>
type IndicatorFamily = keyof IndicatorFamilyMap & string
interface IndicatorFamilyMap
multiSelection: 'unchecked' | 'checked' | 'indeterminate'
singleSelection: 'unchecked' | 'checked'
interface IndicatorMap
check: 'singleSelection'
checkbox: 'multiSelection'
radio: 'singleSelection'
type IndicatorName = keyof IndicatorMap & string
type IndicatorNameOfFamily<F extends IndicatorFamily> = { [N in IndicatorName]: IndicatorMap[N] extends F ? N : never }[IndicatorName]
type IndicatorPosition = 'start' | 'end'
interface IndicatorProps<F extends IndicatorFamily = IndicatorFamily> extends Omit<BaseProps<HTMLSpanElement>, 'aria-hidden' | 'role' | 'aria-label' | 'aria-labelledby' | 'tabIndex'> (props of RadioIndicator)
type IndicatorRegistry = { [N in IndicatorName]?: IndicatorComponent<IndicatorMap[N]> }
type IndicatorRegistrySource = DefinedTheme | string | null | undefined
type IndicatorSize = 'sm' | 'md'
type IndicatorState<F extends IndicatorFamily = IndicatorFamily> = IndicatorFamilyMap[F]
type InferData<D extends ReadonlyArray<FieldDefinition>> = { [F in D[number] as F['key']]: FieldTypeToJS[F['type']] }
interface InfoTipProps extends Pick<BaseProps, 'xstyle' | 'className' | 'style'> (props of InfoTip)
type InfoTipSize = IconSize
type InlineNode<Extension extends MarkdownExtensionNode = never> = { type: 'text'; content: string } | { type: 'bold'; children: InlineNode<Extension>[] } | { type: 'italic'; children: InlineNode<Extension>[] } | { type: 'strik … #7f5046d1
type InlineNodeWithMath<Extension extends MarkdownExtensionNode = never> = { type: 'text'; content: string } | { type: 'bold'; children: InlineNodeWithMath<Extension>[] } | { type: 'italic'; children: InlineNodeWithMath<Extension>[] } … #7144a813
interface InputARIA
ariaDescribedBy?: string
ariaLabelledBy?: string
interface InputARIAInputGroup
describedByIDs?: string
labelID: string
interface InputGroupContextValue
describedByIDs?: string
isInGroup: true
labelID: string
interface InputGroupProps extends Omit<BaseProps<HTMLDivElement>, 'children'> (props of InputGroup)
type InputGroupSize = 'sm' | 'md' | 'lg'
interface InputGroupTextProps extends BaseProps<HTMLDivElement> (props of InputGroupText)
type InputMode = 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'
type InputSize = 'sm' | 'md' | 'lg'
interface InputStatus
message?: string
type: InputStatusType
type InputStatusType = 'warning' | 'error' | 'success'
interface IntegerOperatorValue
maxValue?: number
minValue?: number
type: 'integer'
units?: string
type InteractiveRole = 'link' | 'button' | 'inert'
interface InternationalizationContextValue
calendar?: CalendarSystem
direction: 'ltr' | 'rtl'
locale: Locale
messages: MessagesByLocale
overrides?: Overrides
translate: ReturnType<typeof getResolve>
interface InternationalizationProviderProps (props of InternationalizationProvider)
type ItemAlign = 'center' | 'start' | 'first-line'
type ItemDensity = 'compact' | 'balanced' | 'spacious'
interface ItemGroup<T extends SearchableItem = SearchableItem>
heading: string | null
items: T[]
interface ItemProps extends BaseProps<HTMLElement> (props of Item)
interface ItemSwipeAction
hasRemoval?: boolean = false
icon?: ReactNode
id?: string
isDisabled?: boolean
label: string
onActivate: () => void | Promise<void>
variant?: ItemSwipeActionVariant = 'accent'
type ItemSwipeActionVariant = 'neutral' | 'accent' | 'destructive'
interface ItemSwipeActions
leading?: ItemSwipeAction[]
trailing?: ItemSwipeAction[]
type ItemSwipeBehavior = 'reveal' | 'commit'
interface KbdProps extends BaseProps<HTMLSpanElement> (props of Kbd)
type Key = string | number
type KeyFallback = Key | (() => Key)
type KeyboardHintOrientation = 'horizontal' | 'vertical' | 'both'
type LayerAlignment = 'start' | 'center' | 'end'
interface LayerInset
blockEnd?: number | string
blockStart?: number | string
inlineEnd?: number | string
inlineStart?: number | string
type LayerPlacement = 'above' | 'below' | 'start' | 'end'
interface LayerProviderProps (props of LayerProvider)
interface LayerToastConfig
inset?: { top?: number; bottom?: number; start?: number; end?: number }
maxVisible?: number = 5
position?: 'topEnd' | 'topStart' | 'bottomEnd' | 'bottomStart' = 'bottomEnd'
type LayoutArea = 'header' | 'footer' | 'content' | 'start' | 'end' | null
interface LayoutContentProps extends BaseProps<HTMLDivElement> (props of LayoutContent)
interface LayoutDividerContextValue
defaultHasDividers: boolean
interface LayoutFooterProps extends BaseProps<HTMLDivElement> (props of LayoutFooter)
interface LayoutHeaderProps extends BaseProps<HTMLDivElement> (props of LayoutHeader)
type LayoutHeight = 'fill' | 'auto'
interface LayoutPanelProps extends BaseProps<HTMLDivElement> (props of LayoutPanel)
interface LayoutProps extends Omit<BaseProps, 'content'> (props of Layout)
interface LightboxMedia
alt: string
caption?: ReactNode
src: string
type?: LightboxMediaType = 'image'
type LightboxMediaType = 'image' | 'video'
interface LightboxProps extends BaseProps<HTMLDialogElement> (props of Lightbox)
type LinkComponentType = ElementType
interface LinkProps extends BaseProps<HTMLAnchorElement | HTMLButtonElement> (props of Link)
interface LinkProviderProps (props of LinkProvider)
interface LinkifyPattern
href: (match: RegExpMatchArray) => string
isExternal?: boolean = false
label?: (match: RegExpMatchArray) => string
pattern: RegExp
type ListDensity = 'compact' | 'balanced' | 'spacious'
type ListEdge = 'padded' | 'flush' | 'outset' | 'bleed'
type ListFocusOrientation = 'horizontal' | 'vertical' | 'both'
type ListItemNode<Extension extends MarkdownExtensionNode = never>
checked?: boolean
children: BlockNode<Extension>[]
interface ListItemProps extends BaseProps<HTMLLIElement> (props of ListItem)
interface ListProps extends BaseProps<HTMLUListElement | HTMLOListElement> (props of List)
type ListStyle = 'none' | 'disc' | 'decimal' | 'circle'
type Locale = string
type MarkdownAstBlockContent<Extension extends MarkdownAstExtensionNode = never> = MarkdownAstHeading<Extension> | MarkdownAstParagraph<Extension> | MarkdownAstCode | MarkdownAstMath | MarkdownAstBlockquote<Extension> | MarkdownAstList<Extensi … #ddc63558
interface MarkdownAstBlockquote<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
children: ReadonlyArray<MarkdownAstBlockContent<Extension>>
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'blockquote'
interface MarkdownAstBreak extends MarkdownAstNodeBase
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'break'
interface MarkdownAstCitation extends MarkdownAstNodeBase
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
sourceId: string
type: 'citation'
interface MarkdownAstCode extends MarkdownAstNodeBase
data?: MarkdownAstDataValue
lang: string | null
meta?: string
position?: MarkdownAstPosition
type: 'code'
value: string
type MarkdownAstDataValue = null | boolean | number | string | ReadonlyArray<MarkdownAstDataValue> | { readonly [key: string]: MarkdownAstDataValue }
interface MarkdownAstExtensionNode<Plugin extends string = string, Name extends string = string, Data extends MarkdownAstDataValue = MarkdownAstDataValue, Display extends 'inline' | 'block' = 'inline' | 'block'> extends MarkdownAstNodeBase
data: Data
display: Display
name: Name
plugin: Plugin
position?: MarkdownAstPosition
source?: string
type: 'extension'
interface MarkdownAstHeading<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
children: ReadonlyArray<MarkdownAstPhrasingContent<Extension>>
data?: MarkdownAstDataValue
depth: 1 | 2 | 3 | 4 | 5 | 6
position?: MarkdownAstPosition
type: 'heading'
interface MarkdownAstImage extends MarkdownAstNodeBase
alt: string
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'image'
url: string
interface MarkdownAstInlineCode extends MarkdownAstNodeBase
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'inlineCode'
value: string
interface MarkdownAstInlineMath extends MarkdownAstNodeBase
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'inlineMath'
value: string
interface MarkdownAstLink<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
children: ReadonlyArray<MarkdownAstPhrasingContent<Extension>>
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'link'
url: string
interface MarkdownAstList<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
children: ReadonlyArray<MarkdownAstListItem<Extension>>
data?: MarkdownAstDataValue
delimiter?: '.' | ')'
ordered: boolean
position?: MarkdownAstPosition
spread?: boolean
start?: number
type: 'list'
interface MarkdownAstListItem<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
checked?: boolean
children: ReadonlyArray<MarkdownAstBlockContent<Extension>>
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'listItem'
interface MarkdownAstMath extends MarkdownAstNodeBase
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'math'
value: string
type MarkdownAstNode<Extension extends MarkdownAstExtensionNode = MarkdownAstExtensionNode, Type extends keyof MarkdownAstNodeMap<Extension> = keyof MarkdownAstNodeMap<Extension>> = MarkdownAstNodeMap<Extension>[Type]
interface MarkdownAstNodeBase
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
interface MarkdownAstNodeMap<Extension extends MarkdownAstExtensionNode = MarkdownAstExtensionNode>
blockquote: MarkdownAstBlockquote<Extension>
break: MarkdownAstBreak
citation: MarkdownAstCitation
code: MarkdownAstCode
delete: MarkdownAstParent<'delete', Extension>
emphasis: MarkdownAstParent<'emphasis', Extension>
extension: Extension
heading: MarkdownAstHeading<Extension>
image: MarkdownAstImage
inlineCode: MarkdownAstInlineCode
inlineMath: MarkdownAstInlineMath
link: MarkdownAstLink<Extension>
list: MarkdownAstList<Extension>
listItem: MarkdownAstListItem<Extension>
math: MarkdownAstMath
paragraph: MarkdownAstParagraph<Extension>
root: MarkdownAstRoot<Extension>
strong: MarkdownAstParent<'strong', Extension>
table: MarkdownAstTable<Extension>
tableCell: MarkdownAstTableCell<Extension>
tableRow: MarkdownAstTableRow<Extension>
text: MarkdownAstText
thematicBreak: MarkdownAstThematicBreak
interface MarkdownAstParagraph<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
children: ReadonlyArray<MarkdownAstPhrasingContent<Extension>>
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'paragraph'
type MarkdownAstPhrasingContent<Extension extends MarkdownAstExtensionNode = never> = MarkdownAstText | MarkdownAstParent<'strong', Extension> | MarkdownAstParent<'emphasis', Extension> | MarkdownAstParent<'delete', Extension> | MarkdownAstInline … #a2579fc8
interface MarkdownAstPoint
column?: number
line?: number
offset?: number
interface MarkdownAstPosition
end: MarkdownAstPoint
start: MarkdownAstPoint
interface MarkdownAstRoot<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
children: ReadonlyArray<MarkdownAstBlockContent<Extension>>
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'root'
interface MarkdownAstTable<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
align: ReadonlyArray<MarkdownAstTableAlignment>
children: ReadonlyArray<MarkdownAstTableRow<Extension>>
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'table'
interface MarkdownAstTableCell<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
children: ReadonlyArray<MarkdownAstPhrasingContent<Extension>>
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'tableCell'
interface MarkdownAstTableRow<Extension extends MarkdownAstExtensionNode = never> extends MarkdownAstNodeBase
children: ReadonlyArray<MarkdownAstTableCell<Extension>>
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'tableRow'
interface MarkdownAstText extends MarkdownAstNodeBase
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'text'
value: string
interface MarkdownAstThematicBreak extends MarkdownAstNodeBase
data?: MarkdownAstDataValue
position?: MarkdownAstPosition
type: 'thematicBreak'
interface MarkdownComponents
blockquote?: React.ComponentType<{ children: React.ReactNode; sourceLines?: MarkdownSourceLines }>
citation?: React.ComponentType<{ source: CitationSource; number: number; variant: 'label' | 'number' }>
code?: React.ComponentType<{ code: string; language?: string; sourceLines?: MarkdownSourceLines }>
heading?: React.ComponentType<{ level: 1 | 2 | 3 | 4 | 5 | 6; children: React.ReactNode; id?: string; sourceLines?: MarkdownSourceLines }>
hr?: React.ComponentType<{ sourceLines?: MarkdownSourceLines }>
image?: React.ComponentType<{ src: string; alt: string; sourceLines?: MarkdownSourceLines }>
inlineCode?: React.ComponentType<{ children: string }>
link?: React.ComponentType<{ href: string; children: React.ReactNode }>
math?: React.ComponentType<{ value: string; display: 'inline' | 'block'; sourceLines?: MarkdownSourceLines }>
paragraph?: React.ComponentType<{ children: React.ReactNode; sourceLines?: MarkdownSourceLines }>
interface MarkdownInlinePlugin
getEndIndex?: (text: string, match: RegExpMatchArray) => number | false
pattern: RegExp
render: (match: RegExpMatchArray, key: string) => React.ReactNode
interface MarkdownProps<Plugins extends ReadonlyArray<MarkdownPluginEntry> = readonly []> extends BaseProps<HTMLElement> (props of Markdown)
type MarkdownSource = CitationSource
interface MarkdownSourceLines
end: number
start: number
type MathBlockNode = { type: 'math'; value: string } & BlockMetadata
type MathInlineNode
type: 'math'
value: string
type MathParseOptions<Plugins extends ReadonlyArray<MarkdownPluginEntry> = readonly []> = CommonParseOptions<Plugins> & { math: true }
type MediaThemeMode = 'dark' | 'light' | 'auto' | 'off'
interface MediaThemeProps (props of MediaTheme)
type MenuPresentation = 'popover' | 'bottom-sheet' | 'adaptive'
type MenuPressEffect<T> = { type: 'none' } | { type: 'open' } | { type: 'highlight'; row: T } | { type: 'clear' } | { type: 'act'; row: T } | { type: 'settle'; stray: boolean; dismiss: boolean }
type MenuPressEvent<T> = { type: 'down'; target: 'trigger' | 'menu'; pointerType: MenuPressPointerType; row: T | null; time: number } | { type: 'opened'; time: number } | { type: 'move' … #b8bb8361
type MenuPressGesture<T> = { phase: 'idle' } | { phase: 'triggerPress'; pointerType: MenuPressPointerType; startedAt: number } | { phase: 'open'; pointerType: MenuPressPointerType; opened … #8aa37415
type MenuPressPointerType = 'mouse' | 'touch' | 'pen'
interface MenuPressStep<T>
effect: MenuPressEffect<T>
gesture: MenuPressGesture<T>
interface MessageEntry
defaultMessage: string
description?: string
type MessagesByLocale = Record<Locale, Catalog>
type MetadataListColumns = 'multi' | 'single' | number
interface MetadataListItemProps extends BaseProps<HTMLDivElement> (props of MetadataListItem)
interface MetadataListLabelConfig
position?: 'start' | 'top'
width?: number | string
interface MetadataListProps extends Omit<BaseProps<HTMLDivElement>, 'title'> (props of MetadataList)
interface MobileNavConfig
breakpoint?: AppShellBreakpoint = 'md'
content?: ReactNode
defaultIsMobile?: boolean = false
hasToggle?: boolean = true
isOpen?: boolean
onOpenChange?: (isOpen: boolean) => void
interface MobileNavProps extends Omit<BaseProps, 'title'> (props of MobileNav)
interface MobileNavToggleProps extends Omit<BaseProps<HTMLButtonElement>, 'aria-expanded' | 'aria-controls'> (props of MobileNavToggle)
interface MoreMenuProps extends Pick<BaseProps, 'xstyle' | 'className' | 'style'> (props of MoreMenu)
type MotionCharacter = 'crisp' | 'standard' | 'expressive'
interface MotionScaleConfig
easing?: string
fast: number
medium: number
ratio: number
slow?: number
type MotionScaleTokens = Record<string, string>
type MultiSelectorChange
query: string
type: 'create'
type MultiSelectorDivider = SelectorDivider
interface MultiSelectorHandle
close: () => void
isOpen: () => boolean
open: () => void
toggle: () => void
type MultiSelectorOptionData = SelectorOptionData
type MultiSelectorOptionType = SelectorOptionType
type MultiSelectorPresentation = AdaptivePresentation
interface MultiSelectorProps<T extends MultiSelectorOptionType = MultiSelectorOptionType> extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue'> (props of MultiSelector)
interface MultiSelectorRenderTriggerProps extends Omit<FieldInputBaseProps, keyof FieldPartStyleProps | 'id' | 'onClick' | 'onKeyDown' | 'onFocus' | 'aria-haspopup' | 'aria-expanded' | 'aria-controls' | 'aria-busy' | 'aria-readonly'>
aria-busy: boolean | undefined
aria-controls?: string
aria-expanded: boolean
aria-haspopup?: 'listbox' | 'grid' | 'dialog'
aria-readonly?: boolean
id: string
onClick?: (event: React.MouseEvent<HTMLElement>) => void
onFocus: (event: React.FocusEvent<HTMLElement>) => void
onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void
ref: (element: HTMLElement | null) => void
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type MultiSelectorSection = SelectorSection
interface MultiSelectorSelectedItem
label: string
value: string
type MultiSelectorSize = 'sm' | 'md' | 'lg'
interface MultiSelectorStatus
message?: string
type: 'warning' | 'error' | 'success'
type MultiSelectorStatusType = 'warning' | 'error' | 'success'
type NamespacedIconName = `${string}:${string}`
interface NavHeadingCloseContextValue
closeMenu: () => void
interface NavHeadingMenuContextValue
closeMenu: () => void
size: NavHeadingMenuSize
interface NavHeadingMenuItemProps extends Omit<BaseProps<HTMLElement>, 'onClick'> (props of NavHeadingMenuItem)
interface NavHeadingMenuProps extends BaseProps<HTMLDivElement> (props of NavHeadingMenu)
type NavHeadingMenuSize = 'sm' | 'md' | 'lg'
interface NavIconProps extends BaseProps<HTMLSpanElement> (props of NavIcon)
interface NestedOperatorValue
type: 'nested'
type NumberInputProps = NumberInputPropsNonClearable | NumberInputPropsClearable (props of NumberInput)
type NumberInputSize = keyof typeof sizeStyles
interface NumberInputStatus
message?: string
type: InputStatusType
type NumberInputStatusType = 'warning' | 'error' | 'success'
interface OperatorTokenizationConfig
regex?: string
sort?: boolean
type OperatorValue = EmptyOperatorValue | StringOperatorValue | StringListOperatorValue | IntegerOperatorValue | FloatOperatorValue | TimeOperatorValue | DateAbsoluteOperatorValue | … #bf3196cb
interface OutlineItem
id: string
label: string
level: number
interface OutlineProps extends BaseProps<HTMLElement> (props of Outline)
interface OverflowItem
child: ReactElement
index: number
interface OverflowListProps extends BaseProps<HTMLDivElement> (props of OverflowList)
type OverlayAlign = 'start' | 'center' | 'end'
interface OverlayContainerProps
className: string | undefined
onClick: ((e: MouseEvent<HTMLElement>) => void) | undefined
onMouseUp: ((e: MouseEvent<HTMLElement>) => void) | undefined
style: React.CSSProperties | undefined
type OverlayPosition = 'fill' | 'bottom' | 'top'
interface OverlayProps extends BaseProps<HTMLDivElement> (props of Overlay)
type OverlayScrimMode = 'dark' | 'light' | false
type OverlayShowOn = 'hover' | 'always' | 'focus' | 'hover-or-focus'
type Overrides = Partial<Record<Locale, Record<string, string>>>
interface PaginationProps extends Omit<BaseProps<HTMLElement>, 'onChange'> (props of Pagination)
type PaginationSize = 'sm' | 'md'
type PaginationVariant = keyof PaginationVariantMap
interface PaginationVariantMap
compact: true
count: true
dots: true
input: true
none: true
pages: true
interface PanGesture
destroy: () => void
interface PanGestureEvent
state: PanGestureState
translation: { x: number; y: number }
velocity: { x: number; y: number }
interface PanGestureOptions
axis?: 'x' | 'y'
onPan: (event: PanGestureEvent) => void
type PanGestureState = 'began' | 'changed' | 'ended' | 'cancelled'
type ParseOptions<Plugins extends ReadonlyArray<MarkdownPluginEntry> = readonly []> = CommonParseOptions<Plugins> & { math?: false | undefined }
interface ParseOutlineFromMarkdownOptions<Node extends MarkdownExtensionNode = never>
isFinal?: boolean
plugins?: ReadonlyArray<MarkdownPluginEntry<Node>>
interface ParsedTime
hour: number
minute: number
second: number
interface PartialFilter
field: string
isReadOnly?: boolean
operator?: string
value?: FilterValue
interface PixelWidth
type: 'pixel'
value: number
interface PlainDate
day: number
month: number
year: number
type PopoverPresentation = AdaptivePresentation
interface PopoverProps extends Pick<BaseProps, 'xstyle' | 'className' | 'style'> (props of Popover)
interface PopoverTriggerRenderProps
aria-controls: string
aria-expanded: boolean
aria-haspopup: 'dialog'
onClick: (event?: { detail: number }) => void
ref: (el: HTMLElement | null) => void
type PowerSearchChangeType = 'add' | 'edit' | 'remove'
interface PowerSearchComponentOverride
Editor?: ComponentType<PowerSearchEditorProps>
Token?: ComponentType<PowerSearchTokenProps>
type PowerSearchComponents = Partial<Record<OperatorValue['type'], PowerSearchComponentOverride>>
interface PowerSearchConfig
contentSearchFieldKey?: string
fields: ReadonlyArray<PowerSearchField>
name: string
interface PowerSearchEditorProps (props of PowerSearchFilterEditor)
interface PowerSearchEntity
id: string
label: string
photo?: string
interface PowerSearchField
defaultOperator?: string
description?: string
group?: string
icon?: ReactNode
isValueMatchAllowed?: boolean = true
key: string
label: string
operators: ReadonlyArray<PowerSearchOperator>
typeaheadAliases?: ReadonlyArray<string>
typeaheadMinQueryLength?: number
interface PowerSearchFilter
field: string
isReadOnly?: boolean
operator: string
value: FilterValue
interface PowerSearchHandle
blurTypeahead: () => void
focusTypeahead: () => void
type PowerSearchOperator = PowerSearchOperatorWithLabel | PowerSearchOperatorWithI18nKey
interface PowerSearchOperatorBase
key: string
value: OperatorValue
interface PowerSearchOperatorWithI18nKey extends PowerSearchOperatorBase
i18nKey: string
key: string
label?: never
value: OperatorValue
interface PowerSearchOperatorWithLabel extends PowerSearchOperatorBase
i18nKey?: never
key: string
label: string
value: OperatorValue
type PowerSearchPresentation = AdaptivePresentation
interface PowerSearchProps extends Omit<BaseProps<HTMLElement>, 'onChange'> (props of PowerSearch)
type PowerSearchSize = 'sm' | 'md' | 'lg'
interface PowerSearchTokenProps (props of PowerSearchToken)
interface ProgressBarMark
label: string
value: number
interface ProgressBarProps extends BaseProps<HTMLDivElement> (props of ProgressBar)
type ProgressBarVariant = keyof ProgressBarVariantMap
interface ProgressBarVariantMap
accent: true
error: true
neutral: true
success: true
warning: true
interface ProportionalWidth
minWidth?: number
type: 'proportional'
value: number
type ProseElement = 'p' | 'ul' | 'ol' | 'li' | 'liLast' | 'blockquote' | 'code' | 'pre' | 'preCode' | 'hr' | 'strong' | 'em' | 'a' | 'aHover' | 'firstChild' | 'lastChild'
type ProviderMessagesByLocale = Record<Locale, Catalog | RuntimeCatalog>
interface RGBA
a: number
b: number
g: number
r: number
interface RadioListContextValue
hasDisabledMessage: boolean
isDisabled: boolean
isRequired: boolean
name: string
onChange: (value: string) => void
size: RadioListSize
status?: InputStatus
value: string
interface RadioListItemProps extends BaseProps<HTMLDivElement> (props of RadioListItem)
interface RadioListProps extends Omit<FieldInputBaseProps<HTMLDivElement>, 'onChange'> (props of RadioList)
type RadioListSize = 'sm' | 'md'
interface RadiusScaleConfig
base: number
multiplier: number
type RadiusScaleTokens = Record<string, string>
type RadiusVarName = keyof typeof radiusDefaults
interface RelativeDateFilterPreset
label: string
value: string
interface ReorderMove<TKey extends string | number = string | number, TTo = number>
key: TKey
to: TTo
interface Reorderable<TKey extends string | number = string | number, TTo = number>
[reorderableBrand]: { readonly key: TKey; readonly to: TTo }
start: (key: TKey) => void
interface ReorderableOptions<TKey extends string | number = string | number, TTo = number>
isReorderable?: (key: TKey) => boolean
onReorder: (move: ReorderMove<TKey, TTo>) => void
interface ResizableConfig
autoSaveId?: string
defaultIsCollapsed?: boolean
defaultWidth?: number = 260
isCollapsed?: boolean
maxWidth?: number = 480
minWidth?: number = 180
onCollapseChange?: (isCollapsed: boolean) => void
onWidthChange?: (width: number) => void
type ResizablePercentSize = { type: 'percent'; value: number } & ({ min: PixelWidth; max?: never } | { min?: never; max: PixelWidth })
interface ResizableProps
_collapsedSize: number
_collapsible: boolean
_direction?: ResizableDirection
_isCollapsed: boolean
_isResizableProps: true
_maxSizePx: number
_minSizePx: number
_onResizeCancel?: () => void
_onResizeEnd: () => void
_onResizeMove: (delta: number) => void
_onResizeStart: () => void
_size: number
_snaps: number[]
interface ResizableRegion
collapse: () => void
expand: () => void
isCollapsed: boolean
props: ResizableProps
resize: (size: number) => void
size: number
type ResizableRegionConfig = ResizableRegionSizing & ResizableMinConfig & ResizableMaxConfig
type ResizableSize = number | `${number}px` | `${number}%` | PixelWidth | ResizablePercentSize
interface ResizeHandleProps extends Omit<BaseProps<HTMLDivElement>, 'style'> (props of ResizeHandle)
interface ResolveThemeTokenOptions extends ResolveThemeTokensOptions
fallback?: string
mode: ResolvedThemeMode
interface ResolveThemeTokensOptions
mode: ResolvedThemeMode
type ResolvedDefinedTheme<IconVariant extends string = string> = DefinedTheme & { __adaptations: NormalizedThemeAdaptations; __axes: ThemeGenerativeAxes; __iconVariant?(variant: IconVariant): void }
type ResolvedThemeMode = 'light' | 'dark'
type RuntimeCatalog = Readonly<Record<string, string>>
type ScrollAxis = 'inline' | 'block' | 'both'
interface ScrollAxisState
atEnd: boolean
atStart: boolean
isScrollable: boolean
type ScrollKeyboardAccess = { owner: 'content' } | { owner: 'viewport'; label: string; role?: 'group' | 'region' } | { owner: 'contentOrViewport'; label: string; role?: 'group' | 'region' }
interface ScrollOverflowState
hasOverflow: boolean
overflowEnd: boolean
overflowStart: boolean
type ScrollOverscroll = 'allow' | 'contain'
type ScrollStickyContainment = 'whenScrollable' | 'always'
interface ScrollWrapperRenderProps
afterTable?: ReactNode
beforeTable?: ReactNode
htmlProps: HTMLAttributes<HTMLDivElement> & { ref?: Ref<HTMLDivElement> }
xstyle: StyleXStyles[]
interface ScrollableAreaProps extends Omit<BaseProps<HTMLDivElement>, 'aria-label' | 'children' | 'role' | 'tabIndex'> (props of ScrollableArea)
interface ScrollableAreaState
block: ScrollAxisState
inline: ScrollAxisState
type ScrollableAreaStickyContainment = ScrollStickyContainment
type ScrollableElementProps<E extends HTMLElement> = BaseProps<E> & RefAttributes<E>
interface SearchContext<T extends SearchableItem = SearchableItem>
update: (items: T[]) => void
interface SearchSource<T extends SearchableItem = SearchableItem>
bootstrap: () => Promise<T[]> | T[]
cancel?: () => void
search: (query: string, context?: SearchContext<T>) => Promise<T[]> | T[]
interface SearchableItem<TAuxData = unknown>
action?: ReactNode
auxiliaryData?: TAuxData
element?: ReactNode
id: string
label: string
interface SectionProps extends BaseProps<HTMLElement> (props of Section)
type SectionVariant = keyof SectionVariantMap
interface SectionVariantMap
muted: true
section: true
transparent: true
interface SegmentedControlItemProps extends BaseProps<HTMLButtonElement> (props of SegmentedControlItem)
type SegmentedControlLayout = 'hug' | 'fill'
interface SegmentedControlProps extends Omit<BaseProps<HTMLDivElement>, 'onChange'> (props of SegmentedControl)
type SegmentedControlSize = 'sm' | 'md' | 'lg'
interface SelectableCardProps extends Omit<BaseProps, 'onChange'> (props of SelectableCard)
type SelectorDivider
type: 'divider'
type SelectorOptionData
action?: ReactNode
description?: ReactNode
disabled?: boolean
icon?: ReactNode | IconType
label?: string
value: string
type SelectorOptionType = string | SelectorOptionData | SelectorDivider | SelectorSection
type SelectorPresentation = AdaptivePresentation
type SelectorProps<T extends SelectorOptionType = SelectorOptionType> = SelectorPropsNonClearable<T> | SelectorPropsClearable<T> (props of Selector)
type SelectorSection
options: SelectorOptionData[]
title?: string
type: 'section'
type SelectorSize = 'sm' | 'md' | 'lg'
interface SelectorStatus
message?: string
type: SelectorStatusType
type SelectorStatusType = 'warning' | 'error' | 'success'
type ShadowVarName = keyof typeof shadowDefaults
type SharedDateFormat = 'date' | 'date_long' | 'date_weekday' | 'system_date'
type ShowToastFn = (options: ToastOptions) => ToastDismissFn
interface SideNavCollapseButtonProps extends BaseProps<HTMLButtonElement> (props of SideNavCollapseButton)
interface SideNavCollapseState
isCollapsed: boolean
isCollapsible: boolean
toggle: () => void
interface SideNavCollapsibleConfig
buttonLabel?: string
defaultIsCollapsed?: boolean
hasButton?: boolean
isCollapsed?: boolean
onCollapsedChange?: (isCollapsed: boolean) => void
interface SideNavControlledCollapsible extends SideNavCollapsibleConfig
buttonLabel?: string
defaultIsCollapsed?: boolean
hasButton?: boolean
isCollapsed: boolean
onCollapsedChange: (isCollapsed: boolean) => void
interface SideNavHeadingProps extends BaseProps<HTMLDivElement> (props of SideNavHeading)
interface SideNavImperativeCollapseHandle @deprecated
getCollapseState: () => SideNavCollapseState | null
interface SideNavItemProps extends BaseProps<HTMLElement> (props of SideNavItem)
interface SideNavProps extends BaseProps<HTMLElement> (props of SideNav)
type SideNavRenderMode = 'default' | 'topbar' | 'drawer' | 'drawer-content'
interface SideNavSectionProps extends BaseProps<HTMLDivElement> (props of SideNavSection)
type SizeValue = number | string
type SizeVarName = keyof typeof sizeDefaults
interface SkeletonProps extends BaseProps<HTMLDivElement> (props of Skeleton)
type SkeletonRadius = keyof typeof radiusStyles
interface SliderBaseProps extends Omit<FieldInputBaseProps<HTMLDivElement>, 'onChange'>
containerClassName?: string
containerStyle?: CSSProperties
containerXstyle?: StyleXStyles
controlClassName?: string
controlStyle?: CSSProperties
controlXstyle?: StyleXStyles
data-testid?: string
description?: string
disabledMessage?: string
formatValue?: (value: number) => string
htmlName?: string
isDisabled?: boolean = false
isLabelHidden?: boolean = false
isOptional?: boolean = false
isRequired?: boolean = false
label: string
labelTooltip?: string
marks?: { value: number; label?: string }[]
max?: number = 100
min?: number = 0
orientation?: 'horizontal' | 'vertical' = "horizontal"
ref?: React.Ref<HTMLDivElement>
status?: InputStatus
step?: number = 1
valueDisplay?: 'tooltip' | 'text' | 'none' = "tooltip"
width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type SliderProps = SliderSingleProps | SliderRangeProps (props of Slider)
interface SliderRangeProps extends SliderBaseProps
containerClassName?: string
containerStyle?: CSSProperties
containerXstyle?: StyleXStyles
controlClassName?: string
controlStyle?: CSSProperties
controlXstyle?: StyleXStyles
data-testid?: string
description?: string
disabledMessage?: string
formatValue?: (value: number) => string
htmlName?: string
isDisabled?: boolean = false
isLabelHidden?: boolean = false
isOptional?: boolean = false
isRequired?: boolean = false
label: string
labelTooltip?: string
marks?: { value: number; label?: string }[]
max?: number = 100
min?: number = 0
minStepsBetweenThumbs?: number
onChange?: (value: [number, number]) => void
onChangeEnd?: (value: [number, number]) => void
orientation?: 'horizontal' | 'vertical' = "horizontal"
ref?: React.Ref<HTMLDivElement>
status?: InputStatus
step?: number = 1
value: [number, number]
valueDisplay?: 'tooltip' | 'text' | 'none' = "tooltip"
width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface SliderSingleProps extends SliderBaseProps
containerClassName?: string
containerStyle?: CSSProperties
containerXstyle?: StyleXStyles
controlClassName?: string
controlStyle?: CSSProperties
controlXstyle?: StyleXStyles
data-testid?: string
description?: string
disabledMessage?: string
formatValue?: (value: number) => string
htmlName?: string
isDisabled?: boolean = false
isLabelHidden?: boolean = false
isOptional?: boolean = false
isRequired?: boolean = false
label: string
labelTooltip?: string
marks?: { value: number; label?: string }[]
max?: number = 100
min?: number = 0
onChange?: (value: number) => void
onChangeEnd?: (value: number) => void
orientation?: 'horizontal' | 'vertical' = "horizontal"
ref?: React.Ref<HTMLDivElement>
status?: InputStatus
step?: number = 1
value: number
valueDisplay?: 'tooltip' | 'text' | 'none' = "tooltip"
width?: SizeValue
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface SnapPaging
@astryxdesign/core/snap-paging/v1?: never
interface SnapPagingOptions
pages?: 'view' | 'item' = 'view'
type SourceRange
end: number
start: number
type SpacingStep = 0 | 0.5 | 1 | 1.5 | 2 | 3 | 4 | 5 | 6 | 8 | 10
type SpacingToken = 'spacing0' | 'spacing0_5' | 'spacing1' | 'spacing1_5' | 'spacing2' | 'spacing3' | 'spacing4' | 'spacing5' | 'spacing6' | 'spacing7' | 'spacing8' | 'spacing9' | 'spacing10' | 'spacing11' | 'spacing12'
type SpacingVarName = keyof typeof spacingDefaults
interface SpinnerProps extends BaseProps<HTMLSpanElement> (props of Spinner)
type SpinnerShade = 'default' | 'onMedia' | 'subtle' | 'inherit'
type SpinnerSize = keyof typeof SIZES
type StackAlignment = StackMainAlignment | StackCrossAlignment
type StackCrossAlignment = keyof typeof alignItemsStyles
type StackDirection = keyof typeof directionStyles
type StackItemCrossAlignSelf = keyof typeof crossAlignSelfStyles
interface StackItemOptions
crossAlignSelf?: StackItemCrossAlignSelf
size?: StackItemSize = "static"
interface StackItemProps extends BaseProps<HTMLElement> (props of StackItem)
type StackItemSize = keyof typeof sizeStyles
type StackMainAlignment = keyof typeof justifyContentStyles
interface StackOptions
crossAlign?: StackCrossAlignment
direction: StackDirection
gap?: SpacingStep
mainAlign?: StackMainAlignment
wrap?: StackWrap = 'nowrap'
interface StackProps extends BaseProps<HTMLElement> (props of Stack)
type StackWrap = keyof typeof wrapStyles
interface StatusDotProps extends BaseProps<HTMLSpanElement> (props of StatusDot)
type StatusDotVariant = keyof StatusDotVariantMap
interface StatusDotVariantMap
accent: true
error: true
neutral: true
success: true
warning: true
type StepIndicatorPreset = 'auto' | 'number' | 'none'
interface StepProps extends BaseProps<HTMLLIElement> (props of Step)
type StepStatus = 'accent' | 'success' | 'warning' | 'error'
type StepperCollapsedVariant = 'withLabelAndControls' | 'withLabel' | 'hiddenLabel'
interface StepperContextValue
activeStep: number
density: StepperDensity
indicatorPosition: StepperIndicatorPosition
isNonLinear: boolean
onStepClick: ((index: number) => void) | null
orientation: StepperOrientation
previousActiveStep: number
registerStep: (index: number, options?: StepperRegistrationOptions) => () => void
interface StepperHorizontalOptions
collapsedVariant: StepperCollapsedVariant = 'withLabelAndControls'
minimumStepWidth: number = 112
type StepperIndicatorPosition = 'separated' | 'on-track'
type StepperOrientation = 'horizontal' | 'vertical'
interface StepperProps extends BaseProps<HTMLOListElement> (props of Stepper)
interface StepperRegistrationOptions
getIsDisabled?: () => boolean
type StreamingTextSpeed = 'natural' | 'fast' | 'instant'
interface StringListOperatorValue
isArbitraryStringAllowed?: boolean = false
searchSource?: SearchSource
tokenization?: OperatorTokenizationConfig
type: 'string_list'
interface StringOperatorValue
isArbitraryStringAllowed?: boolean = false
searchSource?: SearchSource
type: 'string'
type StyleOverrides = Record<string, string | Record<string, string>>
type SwitchLabelPosition = 'start' | 'end'
type SwitchLabelSpacing = 'hug' | 'spread'
interface SwitchProps extends Omit<BaseProps, 'onChange'> (props of Switch)
interface SyntaxThemeDefinition
__inputTokens: SyntaxThemeTokenInput
name: string
tokens: SyntaxThemeTokenMap
interface SyntaxThemeInput
name: string
tokens: SyntaxThemeTokenInput
type SyntaxThemeTokenInput = Record<Exclude<SyntaxThemeTokenKey, DiffSyntaxThemeTokenKey>, SyntaxTokenValue> & Partial<Record<DiffSyntaxThemeTokenKey, SyntaxTokenValue>>
type SyntaxThemeTokenKey = 'keyword' | 'string' | 'comment' | 'number' | 'function' | 'type' | 'variable' | 'operator' | 'constant' | 'tag' | 'attribute' | 'property' | 'punctuation' | 'background' | DiffSyntaxThemeTokenKey
type SyntaxThemeTokenMap = Record<Exclude<SyntaxThemeTokenKey, DiffSyntaxThemeTokenKey>, string> & Partial<Record<DiffSyntaxThemeTokenKey, string>>
type SyntaxToken
end: number
start: number
type: string
type SyntaxTokenName = keyof typeof syntaxTokenDefaults
type SyntaxTokenValue = string | [light: string, dark: string]
type TabListLayout = 'hug' | 'fill'
type TabListOverflow = 'auto' | 'scroll' | 'visible'
type TabListPattern = 'nav' | 'tabs'
interface TabListProps extends Omit<BaseProps<HTMLElement>, 'onChange'> (props of TabList)
type TabListSize = 'sm' | 'md' | 'lg'
interface TabMenuOption
icon?: ReactNode | IconType
label: string
value: string
interface TabMenuProps extends Omit<BaseProps<HTMLButtonElement>, 'role' | 'tabIndex' | 'aria-haspopup' | 'aria-expanded' | 'aria-controls'> (props of TabMenu)
interface TabProps extends BaseProps<HTMLButtonElement> (props of Tab)
type TableAlignment = 'left' | 'center' | 'right' | null
interface TableBodyProps extends BaseProps<HTMLTableSectionElement> (props of TableBody)
type TableCellNode<Extension extends MarkdownExtensionNode = never>
children: InlineNode<Extension>[]
interface TableCellProps extends BaseProps<HTMLTableCellElement> (props of TableCell)
interface TableColumn<T extends Record<string, unknown>>
align?: TableColumnAlign = 'start'
filter?: TableFilterFieldRef | string
header?: ReactNode
key: string
renderCell?: (item: T) => ReactNode
resizable?: boolean
sortable?: boolean | TableSortableColumnConfig
width?: ColumnWidth
type TableColumnAlign = 'start' | 'center' | 'end'
interface TableContextAction
checked?: boolean
disabled?: boolean
group?: string
icon?: ReactNode
id: string
label: ReactNode
onSelect: () => void
variant?: 'default' | 'destructive' = 'default'
type TableContextActions = TableContextAction[] | (() => TableContextAction[])
interface TableContextValue
density: 'compact' | 'balanced' | 'spacious'
dividers: 'rows' | 'columns' | 'grid' | 'none'
hasHover: boolean
isStriped: boolean
textOverflow: 'wrap' | 'truncate'
verticalAlign: TableVerticalAlign
type TableDensity = 'compact' | 'balanced' | 'spacious'
type TableDividers = 'rows' | 'columns' | 'grid' | 'none'
interface TableFilterFieldRef
field: string
operator?: string
type TableFilterState = Record<string, TableFilterValue | undefined>
type TableFilterValue = string | number | string[]
type TableFilterVariant = 'popover' | 'inline' | 'inline-compact'
interface TableFooterProps extends BaseProps<HTMLTableSectionElement> (props of TableFooter)
interface TableHeaderCellProps extends BaseProps<HTMLTableCellElement> (props of TableHeaderCell)
interface TableHeaderProps extends BaseProps<HTMLTableSectionElement> (props of TableHeader)
interface TablePlugin<T extends Record<string, unknown> = Record<string, unknown>>
rowModel?: TableRenderContext['rowModel']
transformBodyCell?: (props: BodyCellRenderProps, column: TableColumn<T>, item: T, columnIndex: number, columns: ReadonlyArray<TableColumn<T>>, context?: TableRowContext) => BodyCellRenderProps
transformBodyRow?: (props: BodyRowRenderProps, item: T, index: number, context?: TableRowContext) => BodyRowRenderProps
transformColumns?: (columns: TableColumn<T>[]) => TableColumn<T>[]
transformHeaderCell?: (props: HeaderCellRenderProps, column: TableColumn<T>, columnIndex: number, columns: ReadonlyArray<TableColumn<T>>) => HeaderCellRenderProps
transformHeaderRow?: (props: HeaderRowRenderProps) => HeaderRowRenderProps
transformScrollWrapper?: (props: ScrollWrapperRenderProps, context?: TableRenderContext) => ScrollWrapperRenderProps
transformTable?: (props: TableRenderProps) => TableRenderProps
transformTableContext?: (children: ReactNode) => ReactNode
interface TableProps<T extends Record<string, unknown>> extends TableAppearanceProps<T>
children?: ReactNode
columns?: TableColumn<T>[]
data?: T[]
density?: TableDensity = 'balanced'
dividers?: TableDividers = 'rows'
emptyState?: ReactNode | false = <EmptyState title="No data" isCompact />
hasHover?: boolean = false
idKey?: (keyof T & string) | ((item: T) => string | number)
isStriped?: boolean = false
plugins?: Record<string, TablePlugin<T>>
ref?: React.Ref<HTMLTableElement>
rowCount?: number
rowIndexStart?: number = 1
scrollWrapper?: ComponentType<{ children: ReactNode; htmlProps?: HTMLAttributes<HTMLDivElement> & { ref?: Ref<HTMLDivElement> }; xstyle?: StyleXStyles[]; beforeTable?: ReactNode; afterTable?: ReactNode }>
textOverflow?: 'wrap' | 'truncate' = 'wrap'
verticalAlign?: TableVerticalAlign = 'middle'
virtualization?: BaseTableProps<T>['virtualization']
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface TableRenderContext
headerRowCount: number
logicalRowCount: number
mode: 'data' | 'children'
rowModel: 'flat' | 'tree' | 'grouped' | 'detail' | 'custom'
viewport: React.RefObject<HTMLDivElement | null>
interface TableRenderProps
htmlProps: HTMLAttributes<HTMLTableElement>
xstyle: StyleXStyles[]
interface TableRowContext
headerRowCount: number
identityStatus: 'valid' | 'missing' | 'invalid' | 'duplicate'
key: string | number | undefined
kind: 'product' | 'synthetic' | 'unknown'
logicalIndex: number
logicalRowCount: number
render: TableRenderContext
interface TableRowProps extends BaseProps<HTMLTableRowElement> (props of TableRow)
interface TableRowStatus
color: TableRowStatusColor | (string & {})
icon?: IconName
label: string
interface TableSelectionState
clearSelection: () => void
hasSelection: boolean
selectedCount: number
selectedKeys: ReadonlySet<string>
interface TableSelectionToolbarProps extends Omit<ToolbarProps, 'endContent' | 'label'> (props of TableSelectionToolbar)
interface TableSemanticRowStatus
color?: never
icon?: never
label: string
status: 'success' | 'warning' | 'error'
type TableSortComparator<T> = (a: T, b: T) => number
type TableSortDirection = 'ascending' | 'descending'
interface TableSortEntry<TSortKey extends string = string>
direction: TableSortDirection
sortKey: TSortKey
type TableSortState<TSortKey extends string = string> = TableSortEntry<TSortKey>[]
interface TableSortableColumnConfig
sortKey?: string = column.key — if omitted, uses the column's `key` property
type TableTextOverflow = 'wrap' | 'truncate'
interface TableTreeRowMeta
hasChildren: boolean
id: string
isExpanded: boolean
level: number
type TableVerticalAlign = 'middle' | 'top' | 'bottom'
interface TableVirtualizationCapability
@astryxdesign/core/table-virtualization/v1: never
interface TextAreaProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue'>, TextEntryTraitProps (props of TextArea)
type TextAreaSize = 'sm' | 'md' | 'lg'
interface TextAreaStatus
message?: string
type: TextAreaStatusType
type TextAreaStatusType = 'warning' | 'error' | 'success'
type TextColor = keyof TextColorMap
interface TextColorMap
accent: true
disabled: true
inherit: true
placeholder: true
primary: true
secondary: true
type TextDisplay = 'inline' | 'block'
interface TextInputProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue'>, TextEntryTraitProps (props of TextInput)
type TextInputSize = keyof typeof sizeStyles
interface TextInputStatus
message?: string
type: InputStatusType
type TextInputStatusType = 'warning' | 'error' | 'success'
type TextInputType = 'text' | 'password' | 'email' | 'search' | 'tel' | 'url'
type TextJustify = 'start' | 'center' | 'end'
interface TextProps extends Omit<BaseProps, 'children'> (props of Text)
type TextSize = '4xs' | '3xs' | '2xs' | 'xsm' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl'
type TextSizeVarName = keyof typeof textSizeDefaults
type TextType = BuiltinTextType | (keyof CustomTextTypes & string)
type TextWeight = 'normal' | 'medium' | 'semibold' | 'bold'
type TextWrap = 'wrap' | 'nowrap' | 'balance' | 'pretty'
type TextXStyleAllowed
alignSelf?: unknown
flexBasis?: unknown
flexGrow?: unknown
flexShrink?: unknown
margin?: unknown
marginBlock?: unknown
marginBlockEnd?: unknown
marginBlockStart?: unknown
marginBottom?: unknown
marginEnd?: unknown
marginInline?: unknown
marginInlineEnd?: unknown
marginInlineStart?: unknown
marginStart?: unknown
marginTop?: unknown
maxWidth?: unknown
minWidth?: unknown
textAlign?: unknown
textAlignLast?: unknown
verticalAlign?: unknown
width?: unknown
interface ThemeAdaptationCondition
contrast?: 'more' | 'less' | 'no-preference'
motion?: 'reduce' | 'no-preference'
pointer?: 'coarse' | 'fine'
width?: ThemeAdaptationWidthCondition
interface ThemeAdaptationRule
value: ThemeAdaptationValue
when: ThemeAdaptationCondition
interface ThemeAdaptationTypographyConfig extends Omit<TypographyConfig, 'scale'>
body?: TypographyRole
code?: TypographyRole
heading?: TypographyRole
scale?: Partial<NonNullable<TypographyConfig['scale']>>
interface ThemeAdaptationValue
color?: Partial<ColorScaleConfig>
components?: ComponentStyleMap
localTokens?: Record<string, TokenValue>
motion?: Partial<MotionScaleConfig> & ThemeMotionKnobs
radius?: Partial<RadiusScaleConfig>
tokens?: Partial<Record<TokenName, TokenValue>>
typography?: ThemeAdaptationTypographyConfig
interface ThemeAdaptationWidthCondition
below?: WidthBreakpointName
from?: WidthBreakpointName
interface ThemeAdaptations
rules?: ThemeAdaptationRule[]
widthBreakpoints?: Partial<WidthBreakpoints>
interface ThemeCSSOutput
component: string
prose: string
interface ThemeContextValue @internal
mode: ThemeMode
theme: DefinedTheme
type ThemeDataAttributes = Record<`data-${string}`, string | undefined>
type ThemeMode = 'system' | 'light' | 'dark'
type ThemeMotionConfig = ThemeMotionKnobs | (MotionScaleConfig & ThemeMotionKnobs)
interface ThemeMotionKnobs
character?: MotionCharacter
tempo?: number
type ThemeProps = { className: string } & ThemeDataAttributes (props of Theme)
interface ThemeRulesSplit
component: string[]
prose: string[]
interface ThumbnailProps extends BaseProps<HTMLDivElement> (props of Thumbnail)
type TimeInputHourFormat = '12h' | '24h'
type TimeInputNativePicker @deprecated = 'touch' | 'always' | 'never'
type TimeInputPresentation = InputPresentation
interface TimeInputProps extends Omit<FieldInputBaseProps<HTMLInputElement>, 'onChange' | 'defaultValue'> (props of TimeInput)
type TimeInputSize = keyof typeof sizeStyles
interface TimeInputStatus
message?: string
type: InputStatusType
type TimeInputStatusType = 'warning' | 'error' | 'success'
interface TimeOperatorValue
maxValue?: string
minValue?: string
type: 'time'
type TimerFormat = 'elapsed' | 'clock'
interface TimerProps extends Omit<BaseProps<HTMLTimeElement>, 'dateTime'> (props of Timer)
type TimestampFormat = 'relative' | 'relative_short' | 'auto' | 'date' | 'date_long' | 'date_weekday' | 'date_time' | 'time' | 'system_date' | 'system_date_time' | 'system_time' | 'unix_seconds'
interface TimestampProps extends BaseProps<HTMLTimeElement> (props of Timestamp)
interface TimestampTooltipEntry
format?: TimestampTooltipFormat = 'full'
isCopyable?: boolean = false
label?: string
timezoneID?: string
type TimestampTooltipFormat = InstantFormat
type ToastCollisionBehavior = 'overwrite' | 'ignore'
type ToastContentRenderFn = (toast: ToastContentRenderProps) => ReactNode
interface ToastContentRenderProps
autoHideDuration: number
body: ReactNode
dismiss: ToastDismissFn
endContent?: ReactNode
isAutoHide: boolean
type: ToastType
type ToastDismissFn = () => void
type ToastDismissReason = 'auto' | 'manual'
interface ToastOptions
autoHideDuration?: number = 5000
body: ReactNode
collisionBehavior?: ToastCollisionBehavior = 'overwrite'
endContent?: ReactNode
isAutoHide?: boolean
onHide?: (reason: ToastDismissReason) => void
renderContent?: ToastContentRenderFn
type?: ToastType = 'info'
uniqueID?: string
type ToastPosition = 'topEnd' | 'topStart' | 'bottomEnd' | 'bottomStart'
interface ToastProps (props of Toast)
type ToastType = 'info' | 'error'
interface ToggleButtonGroupMultipleProps extends ToggleButtonGroupBaseProps
children: ReactNode
data-testid?: string
isDisabled?: boolean = false
label: string
onChange: (value: string[]) => void
orientation?: 'horizontal' | 'vertical' = 'horizontal'
size?: ButtonSize = 'md'
type: 'multiple'
value: string[]
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
type ToggleButtonGroupProps = ToggleButtonGroupSingleProps | ToggleButtonGroupMultipleProps (props of ToggleButtonGroup)
interface ToggleButtonGroupSingleProps extends ToggleButtonGroupBaseProps
children: ReactNode
data-testid?: string
isDisabled?: boolean = false
label: string
onChange: (value: string | null) => void
orientation?: 'horizontal' | 'vertical' = 'horizontal'
size?: ButtonSize = 'md'
type?: 'single' = 'single'
value: string | null
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface ToggleButtonProps extends BaseProps<HTMLButtonElement> (props of ToggleButton)
type TokenColor = keyof TokenColorMap
interface TokenColorMap
blue: true
cyan: true
default: true
gray: true
green: true
orange: true
pink: true
purple: true
red: true
teal: true
yellow: true
type TokenLine = SyntaxToken[]
type TokenName = CoreTokenName | DomainTokenName
interface TokenPortal
id: string
span: HTMLSpanElement
token: ChatComposerToken
interface TokenProps extends BaseProps<HTMLElement> (props of Token)
type TokenSize = 'sm' | 'md' | 'lg'
type TokenValue = string | [light: string, dark: string]
type TokenizerChange<T extends SearchableItem> = { item: T; type: 'add' } | { item: T; type: 'create' } | { item: T; type: 'remove' } | { type: 'reorder' }
interface TokenizerHandle
blur: () => void
focus: () => void
type TokenizerOverflowBehavior = 'none' | 'unfocusedInline' | 'unfocusedLayer'
type TokenizerPresentation = AdaptivePresentation
interface TokenizerProps<T extends SearchableItem> extends Omit<FieldInputBaseProps<HTMLInputElement>, 'onChange' | 'onFocus' | 'onBlur' | 'onKeyDown'> (props of Tokenizer)
type TokenizerSize = 'sm' | 'md' | 'lg'
interface TokenizerStatus
message?: string
type: InputStatusType
type TokenizerStatusType = 'warning' | 'error' | 'success'
interface ToolbarProps extends BaseProps<HTMLDivElement> (props of Toolbar)
type ToolbarSize = ElementSize
type TooltipFocusTrigger = 'auto' | 'always' | 'never'
interface TooltipOptions
alignment?: LayerAlignment = 'center'
delay?: number = 200
focusTrigger?: TooltipFocusTrigger = 'auto'
hideDelay?: number = 0
isDefaultOpen?: boolean
isEnabled?: boolean = true
isOpen?: boolean
onHide?: () => void
onShow?: () => void
placement?: LayerPlacement = 'above'
touchTrigger?: TooltipTouchTrigger = 'auto'
interface TooltipProps (props of Tooltip)
interface TooltipReturn
anchorId: string
describedBy: string
hide: () => void
interactionRef: RefCallback<HTMLElement>
positionRef: RefCallback<HTMLElement>
ref: RefCallback<HTMLElement>
renderTooltip: (children: ReactNode, props?: Omit<ContextRenderProps, 'positioning'>) => ReactNode
show: () => void
type TooltipTouchTrigger = LayerTouchTrigger
interface TopNavHeadingProps extends BaseProps<HTMLElement> (props of TopNavHeading)
interface TopNavItemProps extends BaseProps<HTMLAnchorElement> (props of TopNavItem)
interface TopNavMegaMenuFeaturedCardProps extends BaseProps<HTMLDivElement> (props of TopNavMegaMenuFeaturedCard)
interface TopNavMegaMenuItemProps extends Omit<BaseProps<HTMLElement>, 'onClick'> (props of TopNavMegaMenuItem)
interface TopNavMegaMenuProps extends BaseProps<HTMLButtonElement> (props of TopNavMegaMenu)
interface TopNavMenuItemData
description?: string
href?: string
icon?: ReactNode
onClick?: () => void
title: string
interface TopNavMenuProps extends BaseProps<HTMLButtonElement> (props of TopNavMenu)
interface TopNavProps extends BaseProps<HTMLElement> (props of TopNav)
type TopNavRenderMode = 'default' | 'mobile-bar' | 'drawer'
interface Translator
format: (message: string, values?: Record<string, unknown>, locale?: string) => string
type TranslatorFn = (key: string, values?: Record<string, unknown>) => string
type TreeListDensity = 'compact' | 'balanced' | 'spacious'
interface TreeListItemData
children?: TreeListItemData[]
className?: string
description?: string
endContent?: ReactNode
href?: string
id: string
isDisabled?: boolean
isExpanded?: boolean
isSelected?: boolean
label: ReactNode
onClick?: (e: React.MouseEvent) => void
startContent?: ReactNode
style?: CSSProperties
target?: string
xstyle?: StyleXStyles
interface TreeListProps extends BaseProps<HTMLDivElement> (props of TreeList)
type TreeListVariant = keyof TreeListVariantMap
interface TreeListVariantMap
lineGuides: true
noGuides: true
interface TypeScaleConfig
base: number
ratio: number
weights?: { heading?: HeadingWeightOverrides; text?: TextWeightOverrides }
type TypeScaleTokens = Record<string, string>
type TypeScaleVarName = keyof typeof typeScaleDefaults
interface TypeaheadItemProps<T extends SearchableItem = SearchableItem> extends BaseProps<HTMLDivElement> (props of TypeaheadItem)
interface TypeaheadProps<T extends SearchableItem> extends Omit<FieldInputBaseProps<HTMLInputElement>, 'onChange' | 'onKeyDown'> (props of Typeahead)
type TypeaheadSize = 'sm' | 'md' | 'lg'
interface TypeaheadStatus
message?: string
type: InputStatusType
type TypeaheadStatusType = 'warning' | 'error' | 'success'
interface TypographyConfig
body?: TypographyRole
code?: TypographyRole
heading?: TypographyRole
scale?: { base: number; ratio: number }
interface TypographyRole
fallbacks?: string
family?: string
weight?: FontWeight
weights?: Partial<Record<1 | 2 | 3 | 4 | 5 | 6, FontWeight>>
type TypographyVarName = keyof typeof typographyDefaults
interface UseAnimatedLayoutOptions
containerRef: RefObject<HTMLElement | null>
interface UseAnnounceOptions
hasReplace?: boolean = false
interface UseCalendarConstraintsOptions
dateConstraints?: ReadonlyArray<(date: Date) => boolean>
max?: ISODateString
maxRangeSpan?: number
min?: ISODateString
minRangeSpan?: number
rangeAnchor?: PlainDate | null
interface UseCalendarConstraintsReturn
isDateDisabled: (date: PlainDate) => boolean
maxDate: PlainDate | null
minDate: PlainDate | null
interface UseCalendarDaysOptions
calendar?: CalendarSystem = 'gregory'
hasVariableRowCount?: boolean
month: number
weekStartsOn?: DayOfWeek
year: number
interface UseCalendarDaysReturn
dayNames: string[]
days: CalendarDay[]
totalCells: number
weeks: CalendarDay[][]
interface UseCalendarNavigationOptions
calendar?: CalendarSystem = 'gregory'
focusDate?: ISODateString
initialValue?: ISODateString
numberOfMonths?: 1 | 2
onFocusDateChange?: (focusDate: ISODateString) => void
interface UseCalendarNavigationReturn
baseMonth: PlainDate
clearPendingFocus: () => void
monthYearLabel: string
navigateMonth: (delta: number, focusedDate?: ISODateString, offset?: number) => void
pendingFocus: ISODateString | null
visibleCalendarMonths: { year: number; month: number }[]
visibleMonths: PlainDate[]
interface UseChatComposerTokensOptions
editableRef: React.RefObject<HTMLDivElement | null>
onEmitChange: () => void
interface UseChatComposerTokensReturn
cleanupPortals: () => void
expandToken: (id: string) => void
handleKeyDown: (e: React.KeyboardEvent) => boolean
handlePaste: (e: React.ClipboardEvent) => boolean
insertToken: (token: ChatComposerToken) => string | undefined
tokenPortals: TokenPortal[]
interface UseChatDictationOptions
audioContext?: AudioContext
continuous?: boolean = true
hasSounds?: boolean = false
inputRef?: React.RefObject<ChatComposerInputHandle | null>
interimResults?: boolean = true
lang?: string = InternationalizationProvider locale
onEnd?: () => void
onError?: (error: { error: string; message?: string }) => void
onResult?: (transcript: string) => void
onStart?: () => void
onTranscript?: (transcript: string, isFinal: boolean) => void
transformTranscript?: (transcript: string) => string
interface UseChatDictationReturn
abort: () => void
bands: number[]
interimTranscript: string
isListening: boolean
isSpeaking: boolean
isSupported: boolean
rawBands: number[]
start: () => void
stop: () => void
toggle: () => void
volume: number
interface UseChatNewMessagesOptions
isLocked: boolean
onResize?: () => void
interface UseChatNewMessagesReturn
contentRef: (el: HTMLElement | null) => void
dismiss: () => void
hasNewMessages: boolean
interface UseChatPasteAsTokenOptions
inputRef: React.RefObject<ChatComposerInputHandle | null>
threshold?: number = 200
toToken?: (text: string) => ChatComposerToken = Creates a neutral badge with character count label.
interface UseChatPasteAsTokenReturn
onPaste: (event: ClipboardEvent<HTMLDivElement>, text: string) => boolean
interface UseChatStreamScrollOptions
buttonThreshold?: number = 100
damping?: number = 0.7
enabled?: boolean = true
lockThreshold?: number = 10
mass?: number = 1.25
scrollRef: React.RefObject<HTMLElement | null>
stiffness?: number = 0.05
interface UseChatStreamScrollReturn
isLocked: boolean
isScrolledUp: boolean
lock: () => void
scrollIfLocked: () => void
scrollToBottom: (options?: ChatScrollToBottomOptions) => void
scrollToLastMessage: () => void
scrollToMessage: (el: HTMLElement) => void
unlock: () => void
interface UseClickableContainerOptions
containerRef: RefObject<HTMLElement | null>
disabled?: boolean
href?: string
interactiveRef?: RefObject<HTMLElement | null>
onClick?: (event: MouseEvent<HTMLElement>) => void
target?: string
interface UseClipboardOptions
announce?: string
resetAfterMs?: number = 2000
interface UseClipboardReturn
copy: (text: string) => Promise<boolean>
isCopied: boolean
interface UseCollapsibleOptions
isCollapsible?: boolean | CollapsibleConfig
value?: string
interface UseCollapsibleReturn
isEnabled: boolean
isOpen: boolean
toggle: () => void
interface UseContainerRevealOptions
isEnabled?: boolean = true
interface UseContainerRevealReturn
getContainerProps: (options?: ContainerRevealOptions) => { className?: string; style?: CSSProperties }
getContentRevealProps: (options?: ContentRevealOptions) => { className?: string; style?: CSSProperties }
interface UseDragToSnapPointsResult
settleTo: (index: number) => void
interface UseFocusTrapOptions
isActive: boolean
onEscape?: () => void
interface UseFocusTrapReturn<T extends HTMLElement = HTMLElement>
containerRef: React.RefObject<T | null>
focusFirst: () => void
interface UseGridFocusOptions
cellSelector?: string = 'button:not([disabled]), [tabindex]:not([tabindex="-1"])'
columns: number
getFocusTarget?: (cell: HTMLElement) => HTMLElement | null
hasRovingTabIndex?: boolean = false
isCellFocusable?: (cell: HTMLElement) => boolean
onNavigateAfter?: (column: number, offset: number) => void
onNavigateBefore?: (column: number, offset: number) => void
onPageDown?: (event: React.KeyboardEvent) => void
onPageUp?: (event: React.KeyboardEvent) => void
interface UseGridFocusReturn<T extends HTMLElement = HTMLElement>
focusCell: (index: number) => void
focusFirst: () => void
focusLast: () => void
gridRef: React.RefObject<T | null>
handleFocus: (e: React.FocusEvent) => void
handleKeyDown: (e: React.KeyboardEvent) => void
interface UseImageModeOptions
fallback?: 'dark' | 'light' | null = null
region?: ImageSampleRegion
threshold?: number = 0.5
interface UseInputContainerOptions
containerRef: RefObject<HTMLElement | null>
disabled?: boolean
inputRef: RefObject<HTMLInputElement | HTMLTextAreaElement | HTMLElement | null>
interface UseInputStatusIconOptions
isInGroup?: boolean
size?: IconSize = 'md'
status?: InputStatus
statusVariant?: FieldStatusPlacement
interface UseInputStatusIconReturn
describedBy: string | undefined
statusIcon: ReactNode
interface UseInteractiveRoleOptions
href?: string
isDisabled?: boolean = false
onClick?: ((...args: never[]) => unknown) | null
interface UseKeyboardHintOptions
dismissAfterMs?: number = 3000
isEnabled?: boolean = true
orientation?: KeyboardHintOrientation = 'horizontal'
interface UseKeyboardHintReturn
hintElement: ReactNode
onBlur: (e: React.FocusEvent) => void
onFocus: (e: React.FocusEvent) => void
onKeyDown: (e: React.KeyboardEvent) => void
interface UseLightboxOptions extends LightboxOptions
hasAutoPlay?: boolean = false
hasZoom?: boolean = false
media: LightboxMedia | LightboxMedia[]
ref?: React.Ref<HTMLDialogElement>
xstyle?: StyleXStyles
inherits AriaAttributes, DOMAttributes, HTMLAttributes
interface UseLightboxReturn
close: () => void
element: ReactNode
getTriggerProps: (index: number) => { role: 'button'; tabIndex: 0; 'aria-haspopup': 'dialog'; onClick: () => void; onKeyDown: (e: React.KeyboardEvent) => void }
index: number
isOpen: boolean
open: (index?: number) => void
triggerProps: { role: 'button'; tabIndex: 0; 'aria-haspopup': 'dialog'; onClick: () => void; onKeyDown: (e: React.KeyboardEvent) => void }
interface UseLinkifyOptions
hasBuiltins?: boolean = true
patterns?: LinkifyPattern[]
interface UseListFocusOptions
boundarySelector?: string
hasCaretGuard?: boolean = false
hasHomeEnd?: boolean = true
hasPaging?: boolean = false
hasRovingTabIndex?: boolean = false
itemSelector?: string = '[role="menuitem"]'
onEscape?: () => void
orientation?: ListFocusOrientation = 'vertical'
wrap?: boolean = true
interface UseListFocusReturn<T extends HTMLElement = HTMLElement>
focusFirst: () => boolean
focusItem: (index: number) => void
focusLast: () => boolean
getItems: () => HTMLElement[]
handleFocus: (e: React.FocusEvent) => void
handleKeyDown: (e: React.KeyboardEvent) => void
listRef: React.RefObject<T | null>
ownsEvent: (e: React.KeyboardEvent) => boolean
interface UseLongPressHandlers
cancel: () => void
moveTo: (point: { x: number; y: number }) => boolean
onTouchCancel: (e?: React.TouchEvent) => void
onTouchEnd: (e?: React.TouchEvent) => void
onTouchMove: (e: React.TouchEvent) => void
onTouchStart: (e: React.TouchEvent) => void
start: (point: { x: number; y: number }) => void
interface UseLongPressOptions
delayMs?: number
disabled?: boolean
moveCancelPx?: number
onLongPress: (point: { x: number; y: number }) => void
interface UseMenuPressOptions
getScroller?: () => HTMLElement | null
hitTest?: (x: number, y: number) => Element | null
isEnabled?: boolean = true
itemSelector: string
longPressDelayMs?: number = 500
menuRef: RefObject<HTMLElement | null>
onActivate?: (row: HTMLElement, release: PointerEvent) => void
onDismiss?: () => void
onHighlight?: (row: HTMLElement | null) => void
onTriggerPress?: (pointerType: MenuPressPointerType) => boolean
triggerRef?: RefObject<HTMLElement | null>
interface UseMenuPressReturn
cancel: () => void
isTriggerClickFromPress: () => boolean
menuProps: { onPointerDown: (event: React.PointerEvent<HTMLElement>) => void; [MENU_PRESS_MARKER]: '' }
triggerProps: { onPointerDown: (event: React.PointerEvent<HTMLElement>) => void; onContextMenu: (event: React.MouseEvent<HTMLElement>) => void }
interface UseOverflowOptions
behavior?: 'observeParent' | 'observeSelf' = 'observeSelf'
collapseFrom?: 'start' | 'end' = 'end'
gap?: number = 0
maxRows?: number = undefined
maxVisibleItems?: number = undefined
minVisibleItems?: number = 0
interface UseOverflowReturn
containerRef: React.RefCallback<HTMLElement>
hasOverflow: boolean
measureRef: React.RefCallback<HTMLElement>
rowHeight: number
rows: number
visibleCount: number
interface UseOverlayOptions
align?: OverlayAlign = "end"
content?: ReactNode
isOpen?: boolean
position?: OverlayPosition = "fill"
scrim?: OverlayScrimMode = "dark"
showOn?: OverlayShowOn = "always"
interface UseOverlayResult
containerProps: OverlayContainerProps
containerRef: React.RefObject<HTMLElement | null>
element: ReactElement | null
renderOverlay: (children: ReactNode) => ReactElement
interface UsePopoverOptions
className?: string
closeButtonLabel?: string = "Close popover"
dialogLabel?: string
hasAutoFocus?: boolean = true
hasCloseButton?: boolean = true
hasEscapeDismiss?: boolean = true
hasLightDismiss?: boolean = true
hasSurface?: boolean = true
isModal?: boolean = true
onHide?: () => void
onShow?: () => void
padding?: SpacingStep
role?: 'dialog' | 'none' = 'dialog'
style?: React.CSSProperties
surfaceTarget?: string
xstyle?: StyleXStyles
interface UsePopoverReturn
anchorId: string
contentRef: React.RefObject<HTMLDivElement | null>
hide: () => void
id: string
isOpen: boolean
render: (children: ReactNode, props?: ContextRenderProps) => ReactNode
show: (options?: { skipAutoFocus?: boolean }) => void
toggle: () => void
triggerProps: { 'aria-haspopup': 'dialog' | 'true'; 'aria-expanded': boolean; 'aria-controls': string }
triggerRef: (el: HTMLElement | null) => void
interface UseResizableMultiConfig
autoSaveId?: string
containerRef?: RefObject<HTMLElement | null>
direction?: ResizableDirection = 'horizontal'
regions: Record<string, ResizableRegionConfig>
type UseResizableSingleConfig = ResizableRegionConfig & UseResizableSingleOptions
interface UseScrollableAreaOptions
axis: ScrollAxis
keyboardAccess: ScrollKeyboardAccess
overscroll?: ScrollOverscroll
stickyContainment?: ScrollStickyContainment
interface UseScrollableAreaResult
getContentProps: <E extends HTMLElement>(props?: ScrollableElementProps<E>) => ScrollableElementProps<E>
getViewportProps: <E extends HTMLElement>(props?: ScrollableElementProps<E>) => ScrollableElementProps<E>
state: ScrollableAreaState
interface UseSpeechRecognitionOptions
audioContext?: AudioContext
continuous?: boolean = true
interimResults?: boolean = true
lang?: string = InternationalizationProvider locale
onEnd?: () => void
onError?: (error: { error: string; message?: string }) => void
onResult?: (transcript: string) => void
onStart?: () => void
onTranscript?: (transcript: string, isFinal: boolean) => void
transformTranscript?: (text: string) => string
interface UseSpeechRecognitionReturn
abort: () => void
bands: number[]
interimTranscript: string
isListening: boolean
isSpeaking: boolean
isSupported: boolean
rawBands: number[]
start: () => void
stop: () => void
toggle: () => void
volume: number
interface UseStreamingTextOptions
speed?: StreamingTextSpeed = 'natural'
interface UseSyntaxThemeReturn
mode: 'light' | 'dark'
name: string
token: (name: SyntaxThemeTokenKey) => string
tokens: Record<SyntaxThemeTokenKey, string>
interface UseTableColumnResizeConfig
columnWidths?: Record<string, number>
columns?: TableColumn<Record<string, unknown>>[]
maxWidth?: number = Infinity (no max)
minWidth?: number = undefined (uses column-specific minimum)
onColumnResizeEnd?: (updates: Record<string, number>) => void
type UseTableColumnSettingsConfig<TColumnKey extends string = string> = UseTableColumnSettingsStateConfig<TColumnKey>
interface UseTableColumnSettingsStateConfig<TColumnKey extends string = string>
activeColumnKeys: ReadonlyArray<TColumnKey>
columns: ReadonlyArray<ColumnSettingsOption<TColumnKey>>
defaultColumnKeys?: ReadonlyArray<TColumnKey>
onChangeActiveColumnKeys: (keys: ReadonlyArray<TColumnKey>) => void
interface UseTableColumnSettingsStateReturn<TColumnKey extends string = string>
activeColumnKeys: ReadonlyArray<TColumnKey>
columnSettingsConfig: UseTableColumnSettingsStateConfig<TColumnKey>
isColumnActive: (key: TColumnKey) => boolean
isColumnToggleable: (key: TColumnKey) => boolean
resetToDefault: () => void
setActiveColumnKeys: (keys: string[]) => void
showAllColumns: () => void
toggleColumn: (key: TColumnKey) => void
interface UseTableFilteringConfig
filters: TableFilterState
onFilterChange: (columnKey: string, value: TableFilterValue | null) => void
searchConfig: PowerSearchConfig
variant?: TableFilterVariant = 'popover'
interface UseTableGroupedRowsConfig<T extends Record<string, unknown>>
collapsedGroups: Set<string>
data: T[]
getRowKey?: (item: T) => string
groupBy: (item: T) => string
groupOrder?: string[]
onToggleGroup: (groupKey: string) => void
renderGroupHeader?: (groupKey: string, count: number, collapsed: boolean) => ReactNode
interface UseTableGroupedRowsResult<T extends Record<string, unknown>>
data: T[]
idKey: (item: T) => string
plugin: TablePlugin<T>
interface UseTablePaginationConfig
align?: 'start' | 'center' | 'end' = 'center'
hasMore?: boolean
label?: string = 'Table pagination'
onPageChange: (page: number) => void
onPageSizeChange?: (pageSize: number) => void
page: number
pageSize?: number = 10
pageSizeOptions?: number[]
position?: 'below' | 'above' | 'both' | 'none' = 'below'
size?: 'sm' | 'md' = 'md'
totalItems?: number
totalPages?: number
variant?: 'pages' | 'count' | 'compact' | 'dots' | 'none' = 'pages'
interface UseTableRowExpansionConfig<T extends Record<string, unknown>>
animatedLayout?: AnimatedLayout
expandedKeys: Set<string>
getIsItemExpandable?: (item: T) => boolean = all rows expandable
getRowKey: (item: T) => string
getRowLabel?: (item: T) => string
hasRowClickExpansion?: boolean = false (only the chevron toggles expansion).
onToggle: (key: string) => void
panelVariant?: 'muted' | 'transparent' = 'transparent'
renderExpanded: (item: T) => ReactNode
interface UseTableRowIndexConfig<T extends Record<string, unknown>>
data: T[]
getRowKey?: (item: T) => string
label?: ReactNode = '#'
startFrom?: number = 1
interface UseTableRowStatusConfig<T extends Record<string, unknown>>
getStatus: (item: T) => (TableRowStatus & { status?: never }) | TableSemanticRowStatus | null
interface UseTableRowsVirtualizationConfig
rowHeight: number
viewportHeight: number
interface UseTableSelectionConfig<T extends Record<string, unknown>>
getIsAllSelected: () => boolean
getIsIndeterminate?: () => boolean
getIsItemEnabled?: (item: T) => boolean = () => true
getIsItemSelectable?: (item: T) => boolean = () => true
getIsItemSelected: (item: T) => boolean
getRowLabel?: (item: T) => string
hasRowHighlight?: boolean = true
onSelectAll: (event: { isAllSelected: boolean }) => void
onSelectItem: (event: { item: T; isSelected: boolean }) => void
interface UseTableSelectionStateConfig<T extends Record<string, unknown>>
data?: T[]
getIsItemEnabled?: (item: T) => boolean = () => true
getIsItemSelectable?: (item: T) => boolean = () => true
idKey: (keyof T & string) | ((item: T) => string)
selectedKeys: Set<string>
setSelectedKeys: React.Dispatch<React.SetStateAction<Set<string>>>
interface UseTableSelectionStateResult<T extends Record<string, unknown>>
selectionConfig: UseTableSelectionConfig<T>
selectionState: TableSelectionState
interface UseTableSortableConfig<TSortKey extends string = string>
allowUnsortedState?: boolean = true
isMultiSortEnabled?: boolean = false
onSortChange: (sort: TableSortState<TSortKey>) => void
sort: TableSortState<TSortKey>
interface UseTableSortableStateConfig<T extends Record<string, unknown>, TSortKey extends string = string>
allowUnsortedState?: boolean = true
comparators?: Partial<Record<TSortKey, TableSortComparator<T>>>
data: T[]
defaultSort?: TableSortState<TSortKey> = []
isMultiSortEnabled?: boolean = false
onSortChange?: (sort: TableSortState<TSortKey>) => void
sort?: TableSortState<TSortKey>
interface UseTableSortableStateResult<T extends Record<string, unknown>, TSortKey extends string = string>
applySort: (data: T[]) => T[]
sort: TableSortState<TSortKey>
sortConfig: UseTableSortableConfig<TSortKey>
sortedData: T[]
interface UseTableStickyColumnsConfig
endKeys?: string[]
startKeys?: string[]
interface UseTableTreeDataConfig<T extends Record<string, unknown>>
getRowLabel?: (item: T) => string
getRowMeta: (item: T) => TableTreeRowMeta | undefined
hasExpandAllControl?: boolean = false
hasExpandableRows: boolean
hasRowClickExpansion?: boolean = false (only the chevron toggles expansion).
indent?: 'sm' | 'md' | 'lg' = 'md'
isAllExpanded?: boolean | 'indeterminate'
onCollapseAll?: () => void
onExpandAll?: () => void
onToggleItem: (item: T) => void
treeColumnKey?: string = the first column
interface UseTableTreeStateConfig<T extends Record<string, unknown>>
childrenKey?: string = 'children'
data: T[]
defaultExpandedIds?: Iterable<string>
expandedIds?: ReadonlySet<string>
idKey: (keyof T & string) | ((item: T) => string | number)
indent?: 'sm' | 'md' | 'lg'
isItemExpandable?: (item: T) => boolean
onExpandedIdsChange?: (ids: ReadonlySet<string>) => void
sortSiblings?: (siblings: T[]) => T[]
treeColumnKey?: string
interface UseTableTreeStateResult<T extends Record<string, unknown>>
collapseAll: () => void
expandAll: () => void
expandedIds: ReadonlySet<string>
isAllExpanded: boolean | 'indeterminate'
treeConfig: UseTableTreeDataConfig<T>
visibleData: T[]
interface UseThemeReturn
mode: 'light' | 'dark'
name: string
token: (name: string) => string
tokens: Record<string, string>
interface UseTreeFocusOptions
getItemId?: (item: HTMLElement) => string | undefined = reads the `data-tree-id` attribute
getLevel?: (item: HTMLElement) => number = reads the `aria-level` attribute (falling back to `1`)
hasRovingTabIndex?: boolean = false
isCollapsed?: (item: HTMLElement) => boolean = `aria-expanded === 'false'`
isExpanded?: (item: HTMLElement) => boolean = `aria-expanded === 'true'`
isItemDisabled?: (item: HTMLElement) => boolean = reads `data-tree-disabled` (present ⇒ disabled)
itemSelector?: string = '[role="treeitem"]'
onActivate?: (item: HTMLElement, id: string | undefined) => boolean | undefined
onActiveChange?: (id: string | undefined) => void
onToggleExpand?: (id: string) => void
typeahead?: boolean = true
typeaheadResetMs?: number = 500
interface UseTreeFocusReturn<T extends HTMLElement = HTMLElement>
focusFirst: () => void
focusLast: () => void
handleFocus: (e: React.FocusEvent) => void
handleKeyDown: (e: React.KeyboardEvent) => void
treeRef: React.RefObject<T | null>
interface UseTruncationOptions
maxLines: number
interface UseTruncationReturn
fullText: string
isTruncated: boolean
ref: RefCallback<HTMLElement>
interface UseTypeaheadOptions
getCurrentIndex?: () => number
getItemLabels: () => ReadonlyArray<string | null | undefined>
isDisabled?: (index: number) => boolean
onMatch: (index: number) => void
resetMs?: number = 750
interface UseTypeaheadReturn
onKeyDown: (e: React.KeyboardEvent | KeyboardEvent) => boolean
reset: () => void
interface VStackProps extends Omit<StackProps, 'direction' | 'hAlign' | 'vAlign'> (props of VStack)
interface VisuallyHiddenProps extends Omit<BaseProps<HTMLElement>, 'className' | 'style'> (props of VisuallyHidden)
type WidthBreakpointName = (typeof WIDTH_BREAKPOINT_NAMES)[number]
type WidthBreakpoints = Record<WidthBreakpointName, number>
type WordBreak = 'break-word' | 'break-all'
./AlertDialog
Also exported from an earlier entry point
AlertDialog (.)
AlertDialogProps (.)
ImperativeAlertDialogReturn (.)
useImperativeAlertDialog (.)
./AppShell
Also exported from an earlier entry point
AppShell (.)
AppShellBreakpoint (.)
AppShellMobileContext (.)
AppShellMobileContextValue (.)
AppShellProps (.)
AppShellVariant (.)
AppShellVariantMap (.)
MobileNavConfig (.)
useAppShellMobile (.)
./AspectRatio
Also exported from an earlier entry point
AspectRatio (.)
AspectRatioFit (.)
AspectRatioProps (.)
AspectRatioShape (.)
./Avatar
Also exported from an earlier entry point
Avatar (.)
AvatarProps (.)
AvatarShape (.)
AvatarSize (.)
AvatarStatusDot (.)
AvatarStatusDotProps (.)
AvatarStatusDotVariant (.)
AvatarStatusDotVariantMap (.)
resolveSize (.)
./AvatarGroup
Also exported from an earlier entry point
AvatarGroup (.)
AvatarGroupContextValue (.)
AvatarGroupOverflow (.)
AvatarGroupOverflowProps (.)
AvatarGroupProps (.)
useAvatarGroup (.)
./Badge
Also exported from an earlier entry point
Badge (.)
BadgeProps (.)
BadgeVariant (.)
BadgeVariantMap (.)
./Banner
Also exported from an earlier entry point
Banner (.)
BannerContainer (.)
BannerContainerMap (.)
BannerProps (.)
BannerStatus (.)
BannerStatusMap (.)
./BaseProps
Also exported from an earlier entry point
BaseProps (.)
./Blockquote
Also exported from an earlier entry point
Blockquote (.)
BlockquoteProps (.)
./BottomSheet
Also exported from an earlier entry point
BottomSheet (.)
BottomSheetHeight (.)
BottomSheetProps (.)
BottomSheetSnapPoint (.)
BottomSheetSwitcher (.)
BottomSheetSwitcherProps (.)
./Breadcrumbs
Also exported from an earlier entry point
BreadcrumbItem (.)
BreadcrumbItemProps (.)
BreadcrumbMenuCheckboxItem (.)
BreadcrumbMenuCheckboxItemProps (.)
BreadcrumbMenuDivider (.)
BreadcrumbMenuDividerData (.)
BreadcrumbMenuDividerProps (.)
BreadcrumbMenuGroup (.)
BreadcrumbMenuGroupProps (.)
BreadcrumbMenuItem (.)
BreadcrumbMenuItemData (.)
BreadcrumbMenuItemProps (.)
BreadcrumbMenuOption (.)
BreadcrumbMenuRadioGroup (.)
BreadcrumbMenuRadioGroupProps (.)
BreadcrumbMenuRadioItem (.)
BreadcrumbMenuRadioItemProps (.)
BreadcrumbMenuSection (.)
BreadcrumbMenuSubMenu (.)
BreadcrumbMenuSubMenuProps (.)
Breadcrumbs (.)
BreadcrumbsProps (.)
BreadcrumbsVariant (.)
BreadcrumbsVariantMap (.)
./Button
Also exported from an earlier entry point
Button (.)
ButtonProps (.)
ButtonSize (.)
ButtonVariant (.)
ButtonVariantMap (.)
./ButtonGroup
Also exported from an earlier entry point
ButtonGroup (.)
ButtonGroupContextValue (.)
ButtonGroupOrientation (.)
ButtonGroupProps (.)
useButtonGroup (.)
./Calendar
Also exported from an earlier entry point
Calendar (.)
CalendarDay (.)
CalendarHandle (.)
CalendarProps (.)
DateRange (.)
DayOfWeek (.)
DayOfWeekName (.)
ISODateString (.)
UseCalendarConstraintsOptions (.)
UseCalendarConstraintsReturn (.)
UseCalendarDaysOptions (.)
UseCalendarDaysReturn (.)
UseCalendarNavigationOptions (.)
UseCalendarNavigationReturn (.)
getWeekNumber (.)
isDateInRange (.)
isSameDay (.)
useCalendarConstraints (.)
useCalendarDays (.)
useCalendarNavigation (.)
./Calendar/utils
Also exported from an earlier entry point
PlainDate (.)
dateToISO (.)
getWeekNumber (.)
isDateInRange (.)
isSameDay (.)
parseISO (.)
./Card
Also exported from an earlier entry point
Card (.)
CardProps (.)
CardVariant (.)
CardVariantMap (.)
SizeValue (.)
./Carousel
Also exported from an earlier entry point
Carousel (.)
CarouselHandle (.)
CarouselProps (.)
./Center
Also exported from an earlier entry point
Center (.)
CenterAxis (.)
CenterProps (.)
./Chat
Also exported from an earlier entry point
ChatComposer (.)
ChatComposerContextValue (.)
ChatComposerDensity (.)
ChatComposerDrawer (.)
ChatComposerDrawerProps (.)
ChatComposerInput (.)
ChatComposerInputControl (.)
ChatComposerInputHandle (.)
ChatComposerInputProps (.)
ChatComposerProps (.)
ChatComposerStatus (.)
ChatComposerToken (.)
ChatComposerTokenElement (.)
ChatComposerTokenElementProps (.)
ChatComposerTrigger (.)
ChatComposerTriggerItem (.)
ChatDensity (.)
ChatDictationButton (.)
ChatDictationButtonProps (.)
ChatLayout (.)
ChatLayoutProps (.)
ChatLayoutScrollButton (.)
ChatLayoutScrollButtonProps (.)
ChatMessage (.)
ChatMessageBubble (.)
ChatMessageBubbleProps (.)
ChatMessageBubbleVariant (.)
ChatMessageList (.)
ChatMessageListProps (.)
ChatMessageMetadata (.)
ChatMessageMetadataProps (.)
ChatMessageProps (.)
ChatMessageSender (.)
ChatMessageStatus (.)
ChatScrollToBottomOptions (.)
ChatSendButton (.)
ChatSendButtonProps (.)
ChatSystemMessage (.)
ChatSystemMessageProps (.)
ChatSystemMessageVariant (.)
ChatTokenizedText (.)
ChatTokenizedTextProps (.)
ChatToolCallItem (.)
ChatToolCallStatus (.)
ChatToolCalls (.)
ChatToolCallsProps (.)
TokenPortal (.)
UseChatComposerTokensOptions (.)
UseChatComposerTokensReturn (.)
UseChatDictationOptions (.)
UseChatDictationReturn (.)
UseChatNewMessagesOptions (.)
UseChatNewMessagesReturn (.)
UseChatPasteAsTokenOptions (.)
UseChatPasteAsTokenReturn (.)
UseChatStreamScrollOptions (.)
UseChatStreamScrollReturn (.)
UseSpeechRecognitionOptions (.)
UseSpeechRecognitionReturn (.)
useChatComposerContext (.)
useChatComposerTokens (.)
useChatDictation (.)
useChatLayoutContext (.)
useChatNewMessages (.)
useChatPasteAsToken (.)
useChatStreamScroll (.)
useSpeechRecognition (.)
./CheckboxInput
Also exported from an earlier entry point
CheckboxInput (.)
CheckboxInputProps (.)
CheckboxInputSize (.)
./CheckboxList
Also exported from an earlier entry point
CheckboxList (.)
CheckboxListItem (.)
CheckboxListItemProps (.)
CheckboxListProps (.)
./Citation
Also exported from an earlier entry point
Citation (.)
CitationProps (.)
CitationSource (.)
./ClickableCard
Also exported from an earlier entry point
ClickableCard (.)
ClickableCardProps (.)
./Code
Also exported from an earlier entry point
Code (.)
CodeColor (.)
CodeProps (.)
CodeSize (.)
./CodeBlock
Also exported from an earlier entry point
Code (.)
CodeBlock (.)
CodeBlockProps (.)
CodeColor (.)
CodeLanguage (.)
CodeLanguageToken (.)
CodeLanguageTokenize (.)
CodeProps (.)
CodeSize (.)
CreateCodeLanguageOptions (.)
SYNC_TOKENIZE_THRESHOLD (.)
SyntaxToken (.)
TOKEN_TYPES (.)
TokenLine (.)
applyHighlightRangesBatch (.)
applyHighlightRangesChunked (.)
applyHighlightRangesFlat (.)
cleanupRanges (.)
createCodeLanguage (.)
ensureHighlightStyles (.)
flatTokensToLines (.)
tokenize (.)
tokenizeAsync (.)
tokenizeStreaming (.)
./CodeBlock/languages/dockerfile
Values
const dockerfile: CodeLanguage
./CodeBlock/languages/graphql
Values
const graphql: CodeLanguage
./CodeBlock/languages/java
Values
const java: CodeLanguage
./CodeBlock/languages/lua
Values
const lua: CodeLanguage
./CodeBlock/languages/objective-c
Values
const objectiveC: CodeLanguage
./CodeBlock/languages/powershell
Values
const powershell: CodeLanguage
./CodeBlock/languages/ruby
Values
const ruby: CodeLanguage
./CodeBlock/languages/thrift
Values
const thrift: CodeLanguage
./CodeBlock/languages/toml
Values
const toml: CodeLanguage
./Collapsible
Also exported from an earlier entry point
Collapsible (.)
CollapsibleChevronPosition (.)
CollapsibleConfig (.)
CollapsibleGroup (.)
CollapsibleGroupDensity (.)
CollapsibleGroupProps (.)
CollapsibleProps (.)
UseCollapsibleOptions (.)
UseCollapsibleReturn (.)
useCollapsible (.)
./CommandPalette
Also exported from an earlier entry point
CommandPalette (.)
CommandPaletteContextValue (.)
CommandPaletteEmpty (.)
CommandPaletteEmptyProps (.)
CommandPaletteFooter (.)
CommandPaletteFooterProps (.)
CommandPaletteGroup (.)
CommandPaletteGroupProps (.)
CommandPaletteInput (.)
CommandPaletteInputProps (.)
CommandPaletteItem (.)
CommandPaletteItemProps (.)
CommandPaletteList (.)
CommandPaletteListProps (.)
CommandPaletteProps (.)
useCommandPaletteContext (.)
./ComplexSelector
Also exported from an earlier entry point
ComplexSelector (.)
ComplexSelectorHandle (.)
ComplexSelectorProps (.)
ComplexSelectorRenderState (.)
ComplexSelectorRenderTriggerProps (.)
ComplexSelectorSize (.)
ComplexSelectorStatus (.)
ComplexSelectorVariant (.)
./ContextMenu
Also exported from an earlier entry point
ContextMenu (.)
ContextMenuCheckboxItem (.)
ContextMenuCheckboxItemProps (.)
ContextMenuDivider (.)
ContextMenuDividerData (.)
ContextMenuDividerProps (.)
ContextMenuGroup (.)
ContextMenuGroupProps (.)
ContextMenuItem (.)
ContextMenuItemData (.)
ContextMenuItemProps (.)
ContextMenuOption (.)
ContextMenuProps (.)
ContextMenuRadioGroup (.)
ContextMenuRadioGroupProps (.)
ContextMenuRadioItem (.)
ContextMenuRadioItemProps (.)
ContextMenuSection (.)
ContextMenuSubMenu (.)
ContextMenuSubMenuProps (.)
MenuPresentation (.)
./DateInput
Also exported from an earlier entry point
DateInput (.)
DateInputFormat (.)
DateInputNativePicker (.)
DateInputPresentation (.)
DateInputProps (.)
DateInputSize (.)
DateInputStatus (.)
DateInputStatusType (.)
./DateInput/tokens.stylex
Values
const WEEKS_PER_PANE: 6
const dateInputTouchGeometry: { paneBlockSize: string; paneRows: string; wheelEdgePadding: string }
const dateInputTouchSizes: { daySize: string; wheelItemSize: string }
./DateRangeInput
Also exported from an earlier entry point
DateRange (.)
DateRangeInput (.)
DateRangeInputProps (.)
DateRangeInputSize (.)
DateRangeInputStatus (.)
DateRangeInputStatusType (.)
DateRangePreset (.)
./DateTimeInput
Also exported from an earlier entry point
DateTimeInput (.)
DateTimeInputHourFormat (.)
DateTimeInputNativePicker (.)
DateTimeInputPresentation (.)
DateTimeInputProps (.)
DateTimeInputSize (.)
DateTimeInputStatus (.)
DateTimeInputStatusType (.)
DateTimeInputTimeIncrement (.)
DateTimeInputTimeOptionInterval (.)
ISODateTimeString (.)
./Dialog
Also exported from an earlier entry point
Dialog (.)
DialogHeader (.)
DialogHeaderProps (.)
DialogPosition (.)
DialogProps (.)
DialogPurpose (.)
DialogVariant (.)
DialogVariantMap (.)
ImperativeDialogReturn (.)
useImperativeDialog (.)
./Divider
Also exported from an earlier entry point
Divider (.)
DividerProps (.)
DividerVariant (.)
DividerVariantMap (.)
./Drawer
Also exported from an earlier entry point
Drawer (.)
DrawerHeader (.)
DrawerHeaderProps (.)
DrawerProps (.)
./DropdownMenu
Also exported from an earlier entry point
DropdownMenu (.)
DropdownMenuButtonProps (.)
DropdownMenuCheckboxItem (.)
DropdownMenuCheckboxItemProps (.)
DropdownMenuContext (.)
DropdownMenuContextValue (.)
DropdownMenuDivider (.)
DropdownMenuDividerData (.)
DropdownMenuDividerProps (.)
DropdownMenuGroup (.)
DropdownMenuGroupProps (.)
DropdownMenuItem (.)
DropdownMenuItemData (.)
DropdownMenuItemProps (.)
DropdownMenuOption (.)
DropdownMenuPresentation (.)
DropdownMenuProps (.)
DropdownMenuRadioGroup (.)
DropdownMenuRadioGroupProps (.)
DropdownMenuRadioItem (.)
DropdownMenuRadioItemProps (.)
DropdownMenuSection (.)
DropdownMenuSize (.)
DropdownMenuSubMenu (.)
DropdownMenuSubMenuPresentation (.)
DropdownMenuSubMenuProps (.)
DropdownMenuTriggerProps (.)
MenuPresentation (.)
useDropdownMenuContext (.)
./EmptyState
Also exported from an earlier entry point
EmptyState (.)
EmptyStateProps (.)
./Field
Also exported from an earlier entry point
AutoCapitalize (.)
EnterKeyHint (.)
Field (.)
FieldContainerStyleProps (.)
FieldControlStyleProps (.)
FieldInputBaseProps (.)
FieldLabel (.)
FieldLabelProps (.)
FieldPartStyleProps (.)
FieldProps (.)
FieldStatus (.)
FieldStatusInput (.)
FieldStatusPlacement (.)
FieldStatusProps (.)
FieldStatusType (.)
FieldStatusVariant (.)
FieldStatusVariantMap (.)
InputClearButton (.)
InputMode (.)
InputSize (.)
InputStatus (.)
InputStatusType (.)
inputStatusBorderStyles (.)
inputStatusFocusStyles (.)
inputStatusFocusWithinStyles (.)
inputStatusHoverShadowStyles (.)
inputWrapperStyles (.)
./FieldStatus
Also exported from an earlier entry point
FieldStatus (.)
FieldStatusProps (.)
FieldStatusVariant (.)
FieldStatusVariantMap (.)
./FileInput
Also exported from an earlier entry point
FileInput (.)
FileInputProps (.)
FileInputStatus (.)
FileInputStatusType (.)
./FormLayout
Also exported from an earlier entry point
FormLayout (.)
FormLayoutContext (.)
FormLayoutDirection (.)
FormLayoutProps (.)
FormOptionality (.)
./Grid
Also exported from an earlier entry point
Grid (.)
GridAlignment (.)
GridColumns (.)
GridProps (.)
GridSpan (.)
GridSpanProps (.)
./HStack
Also exported from an earlier entry point
HStack (.)
HStackProps (.)
./Heading
Also exported from an earlier entry point
Heading (.)
HeadingLevel (.)
HeadingProps (.)
HeadingType (.)
HeadingTypeMap (.)
./HoverCard
Also exported from an earlier entry point
HoverCard (.)
HoverCardFocusTrigger (.)
HoverCardOptions (.)
HoverCardProps (.)
HoverCardReturn (.)
HoverCardTouchTrigger (.)
useHoverCard (.)
./Icon
Also exported from an earlier entry point
ExtendedIconName (.)
Icon (.)
IconColor (.)
IconEntry (.)
IconName (.)
IconProps (.)
IconRegistry (.)
IconRegistrySource (.)
IconRequest (.)
IconSize (.)
IconType (.)
IconVariant (.)
IconVariantMap (.)
NamespacedIconName (.)
getExtendedIcon (.)
getIcon (.)
getIconRegistry (.)
registerIcons (.)
renderIconSlot (.)
resetIcons (.)
useIcon (.)
./Icon/IconSize.stylex
Values
const iconBoxSizeStyles: Readonly<{ readonly xsm: Readonly<{ readonly width: stylex.StyleXClassNameFor<"width", "0.75rem">; readonly height: stylex.StyleXClassNameFor<"height", "0.75rem … #39f28f7a
const iconSizeStyles: Readonly<{ readonly xsm: Readonly<{ readonly width: stylex.StyleXClassNameFor<"width", "var(--_icon-width, 0.75rem)">; readonly height: stylex.StyleXClassNameFo … #b18a30bb
Also exported from an earlier entry point
IconSize (.)
./IconButton
Also exported from an earlier entry point
IconButton (.)
IconButtonProps (.)
./Indicator
Also exported from an earlier entry point
CheckIndicator (.)
CheckboxIndicator (.)
CoreIndicatorName (.)
IndicatorComponent (.)
IndicatorFamily (.)
IndicatorFamilyMap (.)
IndicatorMap (.)
IndicatorName (.)
IndicatorNameOfFamily (.)
IndicatorPosition (.)
IndicatorProps (.)
IndicatorRegistry (.)
IndicatorRegistrySource (.)
IndicatorSize (.)
IndicatorState (.)
RadioIndicator (.)
defaultIndicators (.)
getIndicator (.)
indicatorScope (.)
useIndicator (.)
./Indicator/indicator.markers.stylex
Also exported from an earlier entry point
indicatorScope (.)
./InfoTip
Also exported from an earlier entry point
InfoTip (.)
InfoTipProps (.)
InfoTipSize (.)
./InputGroup
Also exported from an earlier entry point
InputGroup (.)
InputGroupContextValue (.)
InputGroupProps (.)
InputGroupSize (.)
InputGroupText (.)
InputGroupTextProps (.)
useInputGroup (.)
./InteractiveRoleContext
Also exported from an earlier entry point
InteractiveRoleContext (.)
useInteractiveRoleContext (.)
./Item
Also exported from an earlier entry point
Item (.)
ItemAlign (.)
ItemDensity (.)
ItemProps (.)
ItemSwipeAction (.)
ItemSwipeActionVariant (.)
ItemSwipeActions (.)
ItemSwipeBehavior (.)
./Kbd
Also exported from an earlier entry point
Kbd (.)
KbdProps (.)
./Layer
Components
component LayerDepthProvider
prop children: ReactNode
Hooks
hook useLayerContext: () => LayerContextValue | null
hook useLayerDismissal: (options: UseLayerDismissalOptions) => UseLayerDismissalReturn
hook useTouchTrigger: (options: UseTouchTriggerOptions) => UseTouchTriggerReturn
Functions
function isActionTrigger: (element: HTMLElement) => boolean
Values
context LayerContext: Context<LayerContextValue | null>
const layerAnimations: Readonly<{ readonly below: Readonly<{ readonly animationDuration: stylex.StyleXClassNameFor<"animationDuration", string>; readonly animationTimingFunction: styl … #b637e434
Types
interface LayerContextValue
inset: LayerInset | undefined
isProvider: true
toastConfig: LayerToastConfig
type LayerEscapeBehavior = 'close' | 'block'
type LayerTouchTrigger = 'auto' | 'tap' | 'none'
interface UseLayerDismissalOptions
escapeBehavior?: LayerEscapeBehavior = 'close'
getContainer?: () => HTMLElement | null
isActive: boolean
isEnabled?: boolean = true
isPresent?: () => boolean
onDismiss: () => void
interface UseLayerDismissalReturn
shouldDismissOnCloseRequest: () => boolean
interface UseTouchTriggerOptions
hide: () => void
isControlled: boolean
isEnabled: boolean
isOpen: boolean
layerId: string
show: () => void
touchTrigger: LayerTouchTrigger
triggerRef: RefObject<HTMLElement | null>
interface UseTouchTriggerReturn
clearTapOpen: () => void
handlePointerDown: (event: PointerEvent) => boolean
handlePointerEnter: (event: PointerEvent) => void
isTouchInteraction: () => boolean
isTouchPointerRef: RefObject<boolean>
Also exported from an earlier entry point
ContextLayerOptions (.)
ContextLayerReturn (.)
ContextRenderProps (.)
FixedLayerOptions (.)
FixedLayerReturn (.)
FixedRenderProps (.)
HoverCard (.)
HoverCardFocusTrigger (.)
HoverCardOptions (.)
HoverCardProps (.)
HoverCardReturn (.)
HoverCardTouchTrigger (.)
LayerAlignment (.)
LayerInset (.)
LayerPlacement (.)
LayerProvider (.)
LayerProviderProps (.)
LayerToastConfig (.)
Popover (.)
PopoverProps (.)
Tooltip (.)
TooltipFocusTrigger (.)
TooltipOptions (.)
TooltipProps (.)
TooltipReturn (.)
TooltipTouchTrigger (.)
UsePopoverOptions (.)
UsePopoverReturn (.)
useHoverCard (.)
useLayer (.)
usePopover (.)
useTooltip (.)
./Layer/layerAnimations.stylex
Also exported from an earlier entry point
layerAnimations (./Layer)
./Layer/layerTextReset.stylex
Values
const layerTextReset: Readonly<{ readonly reset: Readonly<{ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Hel … #007376bf
./Layer/layerViewportInset.stylex
Values
const layerViewportInset: object
gutterBlockStart: string
gutterBlockEnd: string
gutterInline: string
gutterBlock: string
gutterBlockFallback: string
gutterBlockStartFallback: string
gutterBlockEndFallback: string
gutterInlineFallback: string
maxInlineSize: string
maxInlineSizeFallback: string
maxBlockSize: string
maxBlockSizeFallback: string
./Layout
Also exported from an earlier entry point
Card (.)
CardProps (.)
ContainerComponent (.)
ContainerOptions (.)
EDGE_COMP_ATTR (.)
HStack (.)
HStackProps (.)
Layout (.)
LayoutArea (.)
LayoutAreaContext (.)
LayoutContent (.)
LayoutContentProps (.)
LayoutDividerContext (.)
LayoutDividerContextValue (.)
LayoutFooter (.)
LayoutFooterProps (.)
LayoutHeader (.)
LayoutHeaderProps (.)
LayoutHeight (.)
LayoutPanel (.)
LayoutPanelProps (.)
LayoutProps (.)
Section (.)
SectionProps (.)
SectionVariant (.)
SizeValue (.)
SpacingStep (.)
SpacingToken (.)
Stack (.)
StackAlignment (.)
StackCrossAlignment (.)
StackDirection (.)
StackItem (.)
StackItemCrossAlignSelf (.)
StackItemOptions (.)
StackItemProps (.)
StackItemSize (.)
StackMainAlignment (.)
StackOptions (.)
StackProps (.)
StackWrap (.)
VStack (.)
VStackProps (.)
container (.)
edgeCompSlot (.)
overlayPaddingReset (.)
stack (.)
stackItem (.)
./Layout/container.stylex
Also exported from an earlier entry point
ContainerComponent (.)
ContainerOptions (.)
SpacingToken (.)
container (.)
./Layout/edgeCompensation.stylex
Also exported from an earlier entry point
EDGE_COMP_ATTR (.)
edgeCompSlot (.)
./Layout/padding.stylex
Values
const containerPaddingBlockEndVarStyles: Readonly<{ readonly 0: Readonly<{ readonly '--container-padding-block-end': stylex.StyleXClassNameFor<"--container-padding-block-end", "0rem"> }>; readonly 0.5: … #2fc6e1da
const containerPaddingBlockStartVarStyles: Readonly<{ readonly 0: Readonly<{ readonly '--container-padding-block-start': stylex.StyleXClassNameFor<"--container-padding-block-start", "0rem"> }>; readonly … #2d7ab943
const containerPaddingInlineEndVarStyles: Readonly<{ readonly 0: Readonly<{ readonly '--container-padding-inline-end': stylex.StyleXClassNameFor<"--container-padding-inline-end", "0rem"> }>; readonly 0. … #d2e3e512
const containerPaddingInlineStartVarStyles: Readonly<{ readonly 0: Readonly<{ readonly '--container-padding-inline-start': stylex.StyleXClassNameFor<"--container-padding-inline-start", "0rem"> }>; readonl … #99d0c87d
const containerPaddingInlineVarStyles: Readonly<{ readonly 0: Readonly<{ readonly '--container-padding-inline-start': stylex.StyleXClassNameFor<"--container-padding-inline-start", "0rem">; readonly ' … #a3f8f1b6
const layoutPaddingOuterXVarStyles: Readonly<{ readonly 0: Readonly<{ readonly '--layout-padding-own-outer-x': stylex.StyleXClassNameFor<"--layout-padding-own-outer-x", "0rem"> }>; readonly 0.5: R … #c69cde77
const layoutPaddingOuterYVarStyles: Readonly<{ readonly 0: Readonly<{ readonly '--layout-padding-own-outer-y': stylex.StyleXClassNameFor<"--layout-padding-own-outer-y", "0rem"> }>; readonly 0.5: R … #c682c4e3
const paddingBlockEndStyles: Readonly<{ readonly 0: Readonly<{ readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", "0rem"> }>; readonly 0.5: Readonly<{ readonly paddingBl … #0f11fe2c
const paddingBlockStartStyles: Readonly<{ readonly 0: Readonly<{ readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "0rem"> }>; readonly 0.5: Readonly<{ readonly paddi … #531fc901
const paddingBlockStyles: Readonly<{ readonly 0: Readonly<{ readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", "0rem">; readonly paddingBlockEnd: stylex.StyleXCla … #495f7531
const paddingInlineEndStyles: Readonly<{ readonly 0: Readonly<{ readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "0rem"> }>; readonly 0.5: Readonly<{ readonly padding … #b23a0533
const paddingInlineStartStyles: Readonly<{ readonly 0: Readonly<{ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0rem"> }>; readonly 0.5: Readonly<{ readonly pad … #4fbb9c14
const paddingInlineStyles: Readonly<{ readonly 0: Readonly<{ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0rem">; readonly paddingInlineEnd: stylex.StyleX … #36c15450
const paddingStyles: Readonly<{ readonly 0: Readonly<{ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", "0rem">; readonly paddingInlineEnd: stylex.StyleX … #cbcd3195
const sectionPaddingPropagationStyles: Readonly<{ readonly 0: Readonly<{ readonly '--_section-padding-propagated': stylex.StyleXClassNameFor<"--_section-padding-propagated", "0rem"> }>; readonly 0.5: … #161f45c0
const spacingStepToToken: Record<SpacingStep, string>
Also exported from an earlier entry point
overlayPaddingReset (.)
./Lightbox
Also exported from an earlier entry point
Lightbox (.)
LightboxMedia (.)
LightboxMediaType (.)
LightboxProps (.)
UseLightboxOptions (.)
UseLightboxReturn (.)
useLightbox (.)
./Link
Also exported from an earlier entry point
Link (.)
LinkComponentType (.)
LinkProps (.)
LinkProvider (.)
LinkProviderProps (.)
LinkifyPattern (.)
UseLinkifyOptions (.)
useLinkComponent (.)
useLinkify (.)
./List
Also exported from an earlier entry point
List (.)
ListDensity (.)
ListEdge (.)
ListItem (.)
ListItemProps (.)
ListProps (.)
ListStyle (.)
./Markdown
Also exported from an earlier entry point
BlockNode (.)
BlockNodeWithMath (.)
IncrementalMathParseOptions (.)
IncrementalParseOptions (.)
IncrementalParseState (.)
InlineNode (.)
InlineNodeWithMath (.)
ListItemNode (.)
Markdown (.)
MarkdownAstBlockContent (.)
MarkdownAstBlockquote (.)
MarkdownAstBreak (.)
MarkdownAstCitation (.)
MarkdownAstCode (.)
MarkdownAstDataValue (.)
MarkdownAstExtensionNode (.)
MarkdownAstHeading (.)
MarkdownAstImage (.)
MarkdownAstInlineCode (.)
MarkdownAstInlineMath (.)
MarkdownAstLink (.)
MarkdownAstList (.)
MarkdownAstListItem (.)
MarkdownAstMath (.)
MarkdownAstNode (.)
MarkdownAstNodeBase (.)
MarkdownAstNodeMap (.)
MarkdownAstParagraph (.)
MarkdownAstPhrasingContent (.)
MarkdownAstPoint (.)
MarkdownAstPosition (.)
MarkdownAstRoot (.)
MarkdownAstTable (.)
MarkdownAstTableCell (.)
MarkdownAstTableRow (.)
MarkdownAstText (.)
MarkdownAstThematicBreak (.)
MarkdownComponents (.)
MarkdownInlinePlugin (.)
MarkdownProps (.)
MarkdownSource (.)
MarkdownSourceLines (.)
MathBlockNode (.)
MathInlineNode (.)
MathParseOptions (.)
ParseOptions (.)
SourceRange (.)
TableAlignment (.)
TableCellNode (.)
createIncrementalState (.)
decodeMarkdownCharacterReferences (.)
parseInline (.)
parseInlineAst (.)
parseMarkdown (.)
parseMarkdownAst (.)
parseMarkdownIncremental (.)
visitMarkdownNodes (.)
./Markdown/parser
Also exported from an earlier entry point
BlockNode (.)
BlockNodeWithMath (.)
IncrementalMathParseOptions (.)
IncrementalParseOptions (.)
IncrementalParseState (.)
InlineNode (.)
InlineNodeWithMath (.)
ListItemNode (.)
MarkdownAstBlockContent (.)
MarkdownAstBlockquote (.)
MarkdownAstBreak (.)
MarkdownAstCitation (.)
MarkdownAstCode (.)
MarkdownAstDataValue (.)
MarkdownAstExtensionNode (.)
MarkdownAstHeading (.)
MarkdownAstImage (.)
MarkdownAstInlineCode (.)
MarkdownAstInlineMath (.)
MarkdownAstLink (.)
MarkdownAstList (.)
MarkdownAstListItem (.)
MarkdownAstMath (.)
MarkdownAstNode (.)
MarkdownAstNodeBase (.)
MarkdownAstNodeMap (.)
MarkdownAstParagraph (.)
MarkdownAstPhrasingContent (.)
MarkdownAstPoint (.)
MarkdownAstPosition (.)
MarkdownAstRoot (.)
MarkdownAstTable (.)
MarkdownAstTableCell (.)
MarkdownAstTableRow (.)
MarkdownAstText (.)
MarkdownAstThematicBreak (.)
MathBlockNode (.)
MathInlineNode (.)
MathParseOptions (.)
ParseOptions (.)
SourceRange (.)
TableAlignment (.)
TableCellNode (.)
createIncrementalState (.)
decodeMarkdownCharacterReferences (.)
parseInline (.)
parseInlineAst (.)
parseMarkdown (.)
parseMarkdownAst (.)
parseMarkdownIncremental (.)
./Markdown/plugin-renderer
Components
component MarkdownPluginNodeRenderer(props: MarkdownPluginNodeRendererProps)
prop node: MarkdownExtensionNode
prop plugins: ReadonlyArray<MarkdownPluginEntry>
Types
interface MarkdownPluginNodeRendererProps (props of MarkdownPluginNodeRenderer)
./Markdown/plugins
Functions
function createMarkdownFenceTransform: <const Languages extends readonly [string, ...string[]], const Node extends MarkdownExtensionNode<string, string, MarkdownPluginData, 'block'>>(options: MarkdownFenceTransformOptions<Languages, Node>) => MarkdownTransform<Node>
function createMarkdownFrontmatter: <Metadata extends MarkdownPluginData>(options: MarkdownFrontmatterOptions<Metadata>) => MarkdownFrontmatter<Metadata>
function createMarkdownHeadingLinks: (options?: MarkdownHeadingLinksOptions) => MarkdownPluginEntry<never>
function createMarkdownPlugin
overload <const Name extends string, const Node extends MarkdownExtensionNode<Name>>(definition: MarkdownSyntaxPluginDefinition<Name, Node>) => MarkdownPluginEntry<Node>
overload <const Name extends string>(definition: MarkdownTransformPluginDefinition<Name, never>) => MarkdownPluginEntry<never>
overload <const Name extends string, const Node extends MarkdownExtensionNode<Name>>(definition: MarkdownTransformPluginDefinition<Name, Node>) => MarkdownPluginEntry<Node>
function createMarkdownSourceDecoration: (options: MarkdownSourceDecorationOptions) => MarkdownTransform<never>
function createMarkdownTextTransform
overload (options: MarkdownTextTransformOptions<never>) => MarkdownTransform<never>
overload <Node extends MarkdownExtensionNode>(options: MarkdownTextTransformOptions<Node>) => MarkdownTransform<Node>
function getMarkdownPluginCapabilities: (plugin: MarkdownPluginEntry) => MarkdownPluginCapabilities
function getMarkdownSourceDecorations: (node: MarkdownAstNodeBase) => ReadonlyArray<MarkdownSourceDecoration>
function isMarkdownExtensionNode: <Node extends MarkdownExtensionNode>(node: MarkdownAstNodeBase & { readonly type: string }, plugin: Node['plugin'], name: Node['name']) => node is Node
Values
const markdownSoftBreaksPlugin: MarkdownPluginEntry<never>
const markdownSourceLinesPlugin: MarkdownPluginEntry<never>
Types
type MarkdownExtensionNode<PluginName extends string = string, NodeName extends string = string, Data extends MarkdownPluginData = MarkdownPluginData, Display extends 'inline' | 'block' = 'inline' | 'block'> = MarkdownAstExtensionNode<PluginName, NodeName, Data, Display>
interface MarkdownExtensionRenderer<Node extends MarkdownExtensionNode>
render: (props: { node: Node }) => React.ReactNode
toText: (node: Node) => string
type MarkdownExtensionRenderers<Node extends MarkdownExtensionNode> = Readonly<{ [NodeName in Node['name']]: MarkdownExtensionRenderer<Extract<Node, { name: NodeName }>> }>
type MarkdownExtensionsOf<Plugins extends ReadonlyArray<MarkdownPluginEntry>> = MarkdownNodeOf<Plugins[number]>
interface MarkdownFenceContext<Language extends string>
code: string
language: Language
meta?: string
type MarkdownFenceNode<Node extends MarkdownExtensionNode> = Node & { readonly type: 'extension'; readonly display: 'block'; readonly position?: never; readonly source?: never }
interface MarkdownFenceTransformOptions<Languages extends readonly [string, ...string[]], Node extends MarkdownExtensionNode<string, string, MarkdownPluginData, 'block'>>
createNode: (context: MarkdownFenceContext<Languages[number]>) => MarkdownFenceNode<Node> | null | undefined
languages: Languages
interface MarkdownFrontmatter<Metadata extends MarkdownPluginData>
getMetadata: (document: MarkdownAstRoot<MarkdownExtensionNode>) => Metadata | undefined
parse: (source: string, isFinal?: boolean) => MarkdownFrontmatterParseResult<Metadata>
plugin: MarkdownPluginEntry<never>
interface MarkdownFrontmatterOptions<Metadata extends MarkdownPluginData>
name: string
parse: (fields: FrontmatterRecord) => Metadata
type MarkdownFrontmatterParseResult<Metadata extends MarkdownPluginData> = { readonly status: 'none' } | { readonly status: 'defer' } | { readonly status: 'match'; readonly contentStart: number; readonly metadata: Metadata }
interface MarkdownHeadingLinksOptions
headingIdPrefix?: string
permalinkBaseUrl?: string
type MarkdownNodeOf<Entry> = Entry extends MarkdownPluginEntry<infer Node> ? Node : never
interface MarkdownPluginCapabilities
syntax: boolean
transform: boolean
type MarkdownPluginData = MarkdownAstDataValue
type MarkdownPluginDefinition<Name extends string, Node extends MarkdownExtensionNode<Name> = never> = MarkdownSyntaxPluginDefinition<Name, Node> | MarkdownTransformPluginDefinition<Name, Node>
interface MarkdownPluginEntry<Node extends MarkdownExtensionNode = MarkdownExtensionNode>
@astryxdesign/core/markdown-plugin-node/v1: Node
apiVersion: 1
name: string
interface MarkdownSourceDecoration
data?: MarkdownPluginData
name: string
interface MarkdownSourceDecorationOptions
name: string
ranges: ReadonlyArray<MarkdownSourceDecorationRange>
interface MarkdownSourceDecorationRange
data?: MarkdownPluginData
end: number
start: number
interface MarkdownSyntaxCapability<Node extends MarkdownExtensionNode = MarkdownExtensionNode>
block?: readonly [ MarkdownSyntaxContribution<ExtensionForDisplay<Node, 'block'>>, ...MarkdownSyntaxContribution<ExtensionForDisplay<Node, 'block'>>[] ]
inline?: readonly [ MarkdownSyntaxContribution<ExtensionForDisplay<Node, 'inline'>>, ...MarkdownSyntaxContribution<ExtensionForDisplay<Node, 'inline'>>[] ]
interface MarkdownSyntaxContribution<Node extends MarkdownExtensionNode = MarkdownExtensionNode>
maxSpan: number
startsWith: readonly [string, ...string[]]
tokenize: (input: MarkdownTokenizerInput) => MarkdownTokenizeResult<Node>
interface MarkdownSyntaxPluginDefinition<Name extends string, Node extends MarkdownExtensionNode<Name>> extends MarkdownPluginDefinitionBase<Name>
apiVersion: 1
name: Name
parseKey: string
renderers: MarkdownExtensionRenderers<Node>
syntax: MarkdownSyntaxCapability<Node>
transform?: MarkdownTransform<Node>
interface MarkdownTextTransformContext
parentType: 'heading' | 'paragraph' | 'strong' | 'emphasis' | 'delete' | 'tableCell'
interface MarkdownTextTransformOptions<Node extends MarkdownExtensionNode = never>
getEndIndex?: (text: string, match: RegExpExecArray) => number | false
pattern: RegExp
replace: (match: RegExpExecArray, context: MarkdownTextTransformContext) => MarkdownAstPhrasingContent<Node> | ReadonlyArray<MarkdownAstPhrasingContent<Node>>
requiredSubstrings?: readonly [string, ...string[]]
type MarkdownTokenizeResult<Node extends MarkdownExtensionNode> = { readonly status: 'no-match' } | { readonly status: 'defer' } | { readonly status: 'match'; readonly end: number; readonly node: ExtensionNodeWithoutProvenance<Node> }
interface MarkdownTokenizerInput
column: number
context: 'inline' | 'block'
end: number
isFinal: boolean
lineStart: number
offset: number
source: string
interface MarkdownTransform<Node extends MarkdownExtensionNode = never>
@astryxdesign/core/markdown-transform-node/v1?: Node
interface MarkdownTransformContext
display: 'inline' | 'block'
isFinal: boolean
report: (message: string) => void
source: string
type MarkdownTransformPluginDefinition<Name extends string, Node extends MarkdownExtensionNode<Name> = never> = MarkdownPluginDefinitionBase<Name> & { readonly transform: MarkdownTransform<Node>; readonly parseKey?: never; readonly syntax?: never } & ([Node] extends [neve … #2fc5de4d
./Markdown/remark
Functions
function createMarkdownRemarkTransform
overload <Settings extends ReadonlyArray<unknown> = readonly []>(plugin: MarkdownRemarkPlugin<Settings>, ...settings: Settings) => MarkdownTransform<never>
overload <Settings extends ReadonlyArray<unknown> = readonly []>(plugin: MarkdownRemarkCompatiblePlugin<Settings>, ...settings: Settings) => MarkdownTransform<never>
Types
type MarkdownRemarkBlockContent = MarkdownRemarkHeading | MarkdownRemarkParagraph | MarkdownRemarkCode | MarkdownRemarkMath | MarkdownRemarkBlockquote | MarkdownRemarkList | MarkdownRemarkTable … #913c6d3c
interface MarkdownRemarkBlockquote extends MarkdownRemarkNodeBase
children: MarkdownRemarkBlockContent[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'blockquote'
interface MarkdownRemarkBreak extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'break'
interface MarkdownRemarkCitation extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
sourceId: string
type: 'citation'
interface MarkdownRemarkCode extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
lang: string | null
meta?: string | null
position?: MarkdownRemarkPosition
type: 'code'
value: string
type MarkdownRemarkCompatiblePlugin<Settings extends ReadonlyArray<unknown> = readonly []> = (...settings: Settings) => Returned<MarkdownRemarkCompatibleTransformer>
type MarkdownRemarkCompatibleTransformer = (...args: never[]) => unknown
interface MarkdownRemarkExtension extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
display: 'inline' | 'block'
name: string
plugin: string
position?: MarkdownRemarkPosition
source?: string
type: 'extension'
interface MarkdownRemarkFile
data: { [key: string]: unknown }
fail: (reason: string | Error, place?: unknown, ruleId?: string) => never
message: (reason: string | Error, place?: unknown, ruleId?: string) => MarkdownRemarkMessage
messages: MarkdownRemarkMessage[]
toString: () => string
value: string
interface MarkdownRemarkHeading extends MarkdownRemarkNodeBase
children: MarkdownRemarkPhrasingContent[]
data?: { [key: string]: unknown }
depth: 1 | 2 | 3 | 4 | 5 | 6
position?: MarkdownRemarkPosition
type: 'heading'
interface MarkdownRemarkImage extends MarkdownRemarkNodeBase
alt: string
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
title?: string | null
type: 'image'
url: string
interface MarkdownRemarkInlineCode extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'inlineCode'
value: string
interface MarkdownRemarkInlineMath extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'inlineMath'
value: string
interface MarkdownRemarkLink extends MarkdownRemarkNodeBase
children: MarkdownRemarkPhrasingContent[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
title?: string | null
type: 'link'
url: string
interface MarkdownRemarkList extends MarkdownRemarkNodeBase
children: MarkdownRemarkListItem[]
data?: { [key: string]: unknown }
delimiter?: '.' | ')'
ordered: boolean
position?: MarkdownRemarkPosition
spread?: boolean | null
start?: number | null
type: 'list'
interface MarkdownRemarkListItem extends MarkdownRemarkNodeBase
checked?: boolean | null
children: MarkdownRemarkBlockContent[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
spread?: boolean | null
type: 'listItem'
interface MarkdownRemarkMath extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'math'
value: string
interface MarkdownRemarkMessage
fatal: boolean
place: unknown
reason: string
ruleId: string | null
toString: () => string
interface MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
interface MarkdownRemarkParagraph extends MarkdownRemarkNodeBase
children: MarkdownRemarkPhrasingContent[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'paragraph'
type MarkdownRemarkPhrasingContent = MarkdownRemarkText | MarkdownRemarkInlineCode | MarkdownRemarkInlineMath | MarkdownRemarkBreak | MarkdownRemarkPhrasingParent<'strong'> | MarkdownRemarkPhrasing … #0814b4f5
interface MarkdownRemarkPhrasingParent<Type extends 'strong' | 'emphasis' | 'delete'> extends MarkdownRemarkNodeBase
children: MarkdownRemarkPhrasingContent[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: Type
type MarkdownRemarkPlugin<Settings extends ReadonlyArray<unknown> = readonly []> = (...settings: Settings) => Returned<MarkdownRemarkTransformer>
interface MarkdownRemarkPoint
column?: number
line?: number
offset?: number
interface MarkdownRemarkPosition
end: MarkdownRemarkPoint
start: MarkdownRemarkPoint
interface MarkdownRemarkRoot extends MarkdownRemarkNodeBase
children: MarkdownRemarkBlockContent[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'root'
interface MarkdownRemarkTable extends MarkdownRemarkNodeBase
align: MarkdownRemarkTableAlignment[]
children: MarkdownRemarkTableRow[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'table'
type MarkdownRemarkTableAlignment = 'left' | 'center' | 'right' | null
interface MarkdownRemarkTableCell extends MarkdownRemarkNodeBase
children: MarkdownRemarkPhrasingContent[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'tableCell'
interface MarkdownRemarkTableRow extends MarkdownRemarkNodeBase
children: MarkdownRemarkTableCell[]
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'tableRow'
interface MarkdownRemarkText extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'text'
value: string
interface MarkdownRemarkThematicBreak extends MarkdownRemarkNodeBase
data?: { [key: string]: unknown }
position?: MarkdownRemarkPosition
type: 'thematicBreak'
type MarkdownRemarkTransformer = (tree: MarkdownRemarkRoot, file: MarkdownRemarkFile) => Returned<MarkdownRemarkRoot>
./Markdown/utils
Functions
function trimStreamingArtifacts: (input: string, options?: { math?: boolean }) => string
Types
interface IncrementalState<MathEnabled extends boolean = false>
[incrementalStateMode]: MathEnabled @internal
autolink?: 'gfm'
linkDefsKey?: string
math?: MathEnabled
pluginSyntaxIdentity?: string
prevInput: string
settledBlocks: IncrementalBlockNode<MathEnabled>[]
settledText: string
settledUpTo: number
sourceIdsKey?: string
sourceRanges?: boolean
Also exported from an earlier entry point
BlockNode (.)
BlockNodeWithMath (.)
IncrementalMathParseOptions (.)
IncrementalParseOptions (.)
InlineNode (.)
InlineNodeWithMath (.)
ListItemNode (.)
MarkdownAstBlockContent (.)
MarkdownAstExtensionNode (.)
MarkdownAstNode (.)
MarkdownAstNodeMap (.)
MarkdownAstPhrasingContent (.)
MarkdownAstRoot (.)
MathBlockNode (.)
MathInlineNode (.)
MathParseOptions (.)
ParseOptions (.)
TableAlignment (.)
TableCellNode (.)
createIncrementalState (.)
parseInline (.)
parseMarkdown (.)
parseMarkdownIncremental (.)
visitMarkdownNodes (.)
./MetadataList
Also exported from an earlier entry point
MetadataList (.)
MetadataListColumns (.)
MetadataListItem (.)
MetadataListItemProps (.)
MetadataListLabelConfig (.)
MetadataListProps (.)
./MobileNav
Also exported from an earlier entry point
MobileNav (.)
MobileNavProps (.)
MobileNavToggle (.)
MobileNavToggleProps (.)
./MoreMenu
Also exported from an earlier entry point
MoreMenu (.)
MoreMenuProps (.)
./MultiSelector
Also exported from an earlier entry point
MultiSelector (.)
MultiSelectorChange (.)
MultiSelectorDivider (.)
MultiSelectorHandle (.)
MultiSelectorOptionData (.)
MultiSelectorOptionType (.)
MultiSelectorPresentation (.)
MultiSelectorProps (.)
MultiSelectorRenderTriggerProps (.)
MultiSelectorSection (.)
MultiSelectorSelectedItem (.)
MultiSelectorSize (.)
MultiSelectorStatus (.)
MultiSelectorStatusType (.)
useMultiCombobox (.)
./NavIcon
Also exported from an earlier entry point
NavIcon (.)
NavIconProps (.)
./NavItem/navItemStyles.stylex
Values
const navItemStyles: Readonly<{ readonly item: Readonly<{ readonly display: stylex.StyleXClassNameFor<"display", "flex">; readonly alignItems: stylex.StyleXClassNameFor<"alignItems" … #b0702bc7
Types
type NavItemSize = 'sm' | 'md' | 'lg'
./NavMenu
Also exported from an earlier entry point
NavHeadingCloseContext (.)
NavHeadingCloseContextValue (.)
NavHeadingMenu (.)
NavHeadingMenuContext (.)
NavHeadingMenuContextValue (.)
NavHeadingMenuItem (.)
NavHeadingMenuItemProps (.)
NavHeadingMenuProps (.)
NavHeadingMenuSize (.)
useNavHeadingCloseContext (.)
useNavHeadingMenuContext (.)
./NumberInput
Also exported from an earlier entry point
NumberInput (.)
NumberInputProps (.)
NumberInputSize (.)
NumberInputStatus (.)
NumberInputStatusType (.)
./Outline
Also exported from an earlier entry point
Outline (.)
OutlineItem (.)
OutlineProps (.)
ParseOutlineFromMarkdownOptions (.)
parseOutlineFromMarkdown (.)
useOutlineFromDOM (.)
useOutlineFromMarkdown (.)
./OverflowList
Also exported from an earlier entry point
OverflowItem (.)
OverflowList (.)
OverflowListProps (.)
./Overlay
Also exported from an earlier entry point
Overlay (.)
OverlayAlign (.)
OverlayContainerProps (.)
OverlayPosition (.)
OverlayProps (.)
OverlayScrimMode (.)
OverlayShowOn (.)
UseOverlayOptions (.)
UseOverlayResult (.)
useOverlay (.)
./Pagination
Also exported from an earlier entry point
Pagination (.)
PaginationProps (.)
PaginationSize (.)
PaginationVariant (.)
PaginationVariantMap (.)
generatePageRange (.)
./Popover
Also exported from an earlier entry point
Popover (.)
PopoverPresentation (.)
PopoverProps (.)
PopoverTriggerRenderProps (.)
UsePopoverOptions (.)
UsePopoverReturn (.)
usePopover (.)
./PowerSearch
Also exported from an earlier entry point
CustomOperatorValue (.)
DateAbsoluteOperatorValue (.)
DateRangeFilterPreset (.)
DateRangeOperatorValue (.)
DateRelativeOperatorValue (.)
DateTimeRange (.)
DateTimeRangePart (.)
EmptyOperatorValue (.)
EntityListOperatorValue (.)
EnumItem (.)
EnumListOperatorValue (.)
EnumOperatorValue (.)
FieldDefinition (.)
FilterValue (.)
FilterValueCustom (.)
FilterValueDateAbsolute (.)
FilterValueDateRange (.)
FilterValueDateRelative (.)
FilterValueEmpty (.)
FilterValueEntityList (.)
FilterValueEnum (.)
FilterValueEnumList (.)
FilterValueFloat (.)
FilterValueInteger (.)
FilterValueNested (.)
FilterValueString (.)
FilterValueStringList (.)
FilterValueTime (.)
FloatOperatorValue (.)
InferData (.)
IntegerOperatorValue (.)
NestedOperatorValue (.)
OperatorTokenizationConfig (.)
OperatorValue (.)
PartialFilter (.)
PowerSearch (.)
PowerSearchChangeType (.)
PowerSearchComponentOverride (.)
PowerSearchComponents (.)
PowerSearchConfig (.)
PowerSearchEditorProps (.)
PowerSearchEntity (.)
PowerSearchField (.)
PowerSearchFilter (.)
PowerSearchFilterEditor (.)
PowerSearchHandle (.)
PowerSearchOperator (.)
PowerSearchOperatorBase (.)
PowerSearchOperatorWithI18nKey (.)
PowerSearchOperatorWithLabel (.)
PowerSearchPresentation (.)
PowerSearchProps (.)
PowerSearchSize (.)
PowerSearchToken (.)
PowerSearchTokenProps (.)
RelativeDateFilterPreset (.)
StringListOperatorValue (.)
StringOperatorValue (.)
TimeOperatorValue (.)
createPowerSearchConfig (.)
resolveOperatorLabel (.)
usePowerSearchConfig (.)
./PowerSearch/utils
Functions
function formatFilterValue: (_config: InternalConfig, operatorValue: OperatorValue, filterValue: FilterValue, maxLength: number, t: TranslatorFn, locale: Locale, timezoneID?: string, calendar?: CalendarSystem) => string
Types
interface InternalConfig
config: PowerSearchConfig
getDefaultOperator: (fieldKey: string) => PowerSearchOperator | undefined
getField: (key: string) => PowerSearchField | undefined
getOperator: (fieldKey: string, operatorKey: string) => PowerSearchOperator | undefined
getVisibleFields: () => ReadonlyArray<PowerSearchField>
getVisibleOperators: (fieldKey: string) => ReadonlyArray<PowerSearchOperator>
Also exported from an earlier entry point
FilterValue (.)
OperatorValue (.)
./ProgressBar
Also exported from an earlier entry point
ProgressBar (.)
ProgressBarMark (.)
ProgressBarProps (.)
ProgressBarVariant (.)
ProgressBarVariantMap (.)
./RadioList
Also exported from an earlier entry point
RadioList (.)
RadioListContext (.)
RadioListContextValue (.)
RadioListItem (.)
RadioListItemProps (.)
RadioListProps (.)
RadioListSize (.)
./Resizable
Also exported from an earlier entry point
ResizableConfig (.)
ResizablePercentSize (.)
ResizableProps (.)
ResizableRegion (.)
ResizableRegionConfig (.)
ResizableSize (.)
ResizeHandle (.)
ResizeHandleProps (.)
UseResizableMultiConfig (.)
UseResizableSingleConfig (.)
percent (.)
useResizable (.)
./Resizable/utils
Also exported from an earlier entry point
PixelWidth (.)
ResizablePercentSize (.)
ResizableSize (.)
percent (.)
pixel (.)
./ScrollableArea
Also exported from an earlier entry point
ScrollAxis (.)
ScrollAxisState (.)
ScrollKeyboardAccess (.)
ScrollOverscroll (.)
ScrollStickyContainment (.)
ScrollableArea (.)
ScrollableAreaProps (.)
ScrollableAreaState (.)
ScrollableAreaStickyContainment (.)
ScrollableElementProps (.)
UseScrollableAreaOptions (.)
UseScrollableAreaResult (.)
useScrollableArea (.)
./Section
Also exported from an earlier entry point
Section (.)
SectionProps (.)
SectionVariant (.)
SectionVariantMap (.)
./SegmentedControl
Also exported from an earlier entry point
SegmentedControl (.)
SegmentedControlItem (.)
SegmentedControlItemProps (.)
SegmentedControlLayout (.)
SegmentedControlProps (.)
SegmentedControlSize (.)
./SelectableCard
Also exported from an earlier entry point
SelectableCard (.)
SelectableCardProps (.)
./Selector
Also exported from an earlier entry point
Selector (.)
SelectorDivider (.)
SelectorOption (.)
SelectorOptionData (.)
SelectorOptionType (.)
SelectorPresentation (.)
SelectorProps (.)
SelectorSection (.)
SelectorSize (.)
SelectorStatus (.)
SelectorStatusType (.)
useCombobox (.)
useSelectedItemOffset (.)
./Selector/selectorPresentation.stylex
Values
const selectorPresentationStyles: Readonly<{ readonly pointerRestoredFocus: Readonly<{ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "light-dark(#CCD3DB, #494D53)">; readonly bo … #f1b692cc
./Selector/utils
Functions
function getSelectableOptions: (options: SelectorOptionType[]) => SelectorOptionData[]
function isDivider: (option: SelectorOptionType) => option is SelectorDivider
function isOptionData: (option: SelectorOptionType) => option is SelectorOptionData | string
function isSection: (option: SelectorOptionType) => option is SelectorSection
function normalizeOption: (option: string | SelectorOptionData) => SelectorOptionData
./SideNav
Also exported from an earlier entry point
SideNav (.)
SideNavCollapseButton (.)
SideNavCollapseButtonProps (.)
SideNavCollapseState (.)
SideNavCollapsibleConfig (.)
SideNavControlledCollapsible (.)
SideNavHeading (.)
SideNavHeadingProps (.)
SideNavImperativeCollapseHandle (.)
SideNavItem (.)
SideNavItemProps (.)
SideNavProps (.)
SideNavRenderContext (.)
SideNavRenderMode (.)
SideNavSection (.)
SideNavSectionProps (.)
useSideNavCollapse (.)
useSideNavRenderMode (.)
./SizeContext
Also exported from an earlier entry point
ElementSize (.)
SizeContext (.)
SizeProvider (.)
useSize (.)
./Skeleton
Also exported from an earlier entry point
Skeleton (.)
SkeletonProps (.)
SkeletonRadius (.)
./Slider
Also exported from an earlier entry point
Slider (.)
SliderBaseProps (.)
SliderProps (.)
SliderRangeProps (.)
SliderSingleProps (.)
./SnapPaging
Also exported from an earlier entry point
SnapPaging (.)
SnapPagingOptions (.)
useSnapPaging (.)
./Spinner
Also exported from an earlier entry point
Spinner (.)
SpinnerProps (.)
SpinnerShade (.)
SpinnerSize (.)
./Stack
Also exported from an earlier entry point
HStack (.)
HStackProps (.)
Stack (.)
StackAlignment (.)
StackItem (.)
StackItemProps (.)
StackProps (.)
VStack (.)
VStackProps (.)
./Stack/stack.stylex
Also exported from an earlier entry point
SpacingStep (.)
StackCrossAlignment (.)
StackDirection (.)
StackMainAlignment (.)
StackOptions (.)
StackWrap (.)
stack (.)
./Stack/stackItem.stylex
Also exported from an earlier entry point
StackItemCrossAlignSelf (.)
StackItemOptions (.)
StackItemSize (.)
stackItem (.)
./StatusDot
Also exported from an earlier entry point
StatusDot (.)
StatusDotProps (.)
StatusDotVariant (.)
StatusDotVariantMap (.)
./Stepper
Also exported from an earlier entry point
Step (.)
StepIndicatorPreset (.)
StepProps (.)
StepStatus (.)
Stepper (.)
StepperCollapsedVariant (.)
StepperContextValue (.)
StepperHorizontalOptions (.)
StepperIndicatorPosition (.)
StepperOrientation (.)
StepperProps (.)
StepperRegistrationOptions (.)
useStepperContext (.)
./Switch
Also exported from an earlier entry point
Switch (.)
SwitchLabelPosition (.)
SwitchLabelSpacing (.)
SwitchProps (.)
./TabList
Also exported from an earlier entry point
Tab (.)
TabList (.)
TabListLayout (.)
TabListOverflow (.)
TabListPattern (.)
TabListProps (.)
TabListSize (.)
TabMenu (.)
TabMenuOption (.)
TabMenuProps (.)
TabProps (.)
useTabListContext (.)
./Table
Also exported from an earlier entry point
BaseTableProps (.)
BodyCellRenderProps (.)
BodyRowRenderProps (.)
ColumnSettingsOption (.)
ColumnWidth (.)
DEFAULT_MIN_COLUMN_WIDTH (.)
HeaderCellRenderProps (.)
HeaderRowRenderProps (.)
PixelWidth (.)
ProportionalWidth (.)
ScrollWrapperRenderProps (.)
Table (.)
TableBody (.)
TableBodyProps (.)
TableCell (.)
TableCellProps (.)
TableColumn (.)
TableColumnAlign (.)
TableContext (.)
TableContextAction (.)
TableContextActions (.)
TableContextValue (.)
TableDensity (.)
TableDividers (.)
TableFilterFieldRef (.)
TableFilterState (.)
TableFilterValue (.)
TableFilterVariant (.)
TableFooter (.)
TableFooterProps (.)
TableHeader (.)
TableHeaderCell (.)
TableHeaderCellProps (.)
TableHeaderProps (.)
TablePlugin (.)
TableProps (.)
TableRenderContext (.)
TableRenderProps (.)
TableRow (.)
TableRowContext (.)
TableRowProps (.)
TableRowStatus (.)
TableSelectionState (.)
TableSelectionToolbar (.)
TableSelectionToolbarProps (.)
TableSemanticRowStatus (.)
TableSortComparator (.)
TableSortDirection (.)
TableSortEntry (.)
TableSortState (.)
TableSortableColumnConfig (.)
TableTextOverflow (.)
TableTreeRowMeta (.)
TableVerticalAlign (.)
TableVirtualizationCapability (.)
UseTableColumnResizeConfig (.)
UseTableColumnSettingsConfig (.)
UseTableColumnSettingsStateConfig (.)
UseTableColumnSettingsStateReturn (.)
UseTableFilteringConfig (.)
UseTableGroupedRowsConfig (.)
UseTableGroupedRowsResult (.)
UseTablePaginationConfig (.)
UseTableRowExpansionConfig (.)
UseTableRowIndexConfig (.)
UseTableRowStatusConfig (.)
UseTableRowsVirtualizationConfig (.)
UseTableSelectionConfig (.)
UseTableSelectionStateConfig (.)
UseTableSelectionStateResult (.)
UseTableSortableConfig (.)
UseTableSortableStateConfig (.)
UseTableSortableStateResult (.)
UseTableStickyColumnsConfig (.)
UseTableTreeDataConfig (.)
UseTableTreeStateConfig (.)
UseTableTreeStateResult (.)
generateColumns (.)
paginateData (.)
pixel (.)
proportional (.)
resolveColumnWidths (.)
resolveContextActions (.)
toSearchFilters (.)
useBaseTablePlugins (.)
useTableColumnResize (.)
useTableColumnSettings (.)
useTableColumnSettingsState (.)
useTableFilterState (.)
useTableFiltering (.)
useTableGroupedRows (.)
useTablePagination (.)
useTableRowExpansion (.)
useTableRowIndex (.)
useTableRowStatus (.)
useTableRowsVirtualization (.)
useTableSelection (.)
useTableSelectionState (.)
useTableSortable (.)
useTableSortableState (.)
useTableStickyColumns (.)
useTableTreeData (.)
useTableTreeState (.)
./Table/utils
Functions
function capitalize: (str: string) => string
Also exported from an earlier entry point
ColumnWidth (.)
DEFAULT_MIN_COLUMN_WIDTH (.)
PixelWidth (.)
ProportionalWidth (.)
TableColumn (.)
generateColumns (.)
pixel (.)
proportional (.)
resolveColumnWidths (.)
./Text
Also exported from an earlier entry point
Heading (.)
HeadingLevel (.)
HeadingProps (.)
HeadingType (.)
HeadingTypeMap (.)
ProseElement (.)
Text (.)
TextColor (.)
TextColorMap (.)
TextDisplay (.)
TextJustify (.)
TextProps (.)
TextSize (.)
TextType (.)
TextWeight (.)
TextWrap (.)
TextXStyleAllowed (.)
UseTruncationOptions (.)
UseTruncationReturn (.)
WordBreak (.)
useTruncation (.)
./Text/text.stylex
Values
const capsizeStyles: Readonly<{ readonly enabled: Readonly<{ readonly textBoxEdge: stylex.StyleXClassNameFor<"textBoxEdge", "cap alphabetic">; readonly textBoxTrim: stylex.StyleXCla … #c2f5a19c
const colorStyles: Readonly<{ readonly primary: Readonly<{ readonly color: stylex.StyleXClassNameFor<"color", "light-dark(#0A1317, #DFE2E5)"> }>; readonly secondary: Readonly<{ re … #ee16b085
const decorationStyles: Readonly<{ readonly strikethrough: Readonly<{ readonly textDecoration: stylex.StyleXClassNameFor<"textDecoration", "line-through"> }> }>
const defaultWeightByTypeStyles: Readonly<{ readonly body: Readonly<{ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", "var(--font-weight-normal)"> }>; readonly large: Readonly<{ re … #7b93196d
const displayStyles: Readonly<{ readonly inline: Readonly<{ readonly display: stylex.StyleXClassNameFor<"display", "inline">; readonly overflowWrap: stylex.StyleXClassNameFor<"overf … #81cb0621
const justifyStyles: Readonly<{ readonly start: Readonly<{ readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "start"> }>; readonly center: Readonly<{ readonly textAlign: st … #8d088e19
const sizeByLevelStyles: Readonly<{ readonly 1: Readonly<{ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", "var(--font-size-2xl)">; readonly lineHeight: stylex.StyleXClassNameF … #c4a3a9df
const sizeByTypeStyles: Readonly<{ readonly body: Readonly<{ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", "var(--font-size-base)">; readonly lineHeight: stylex.StyleXClassN … #2041d898
const sizeStyles: Readonly<{ readonly '4xs': Readonly<{ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", "0.375rem"> }>; readonly '3xs': Readonly<{ readonly fontSize: sty … #e7517622
const tabularNumbersStyle: Readonly<{ readonly enabled: Readonly<{ readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums"> }> }>
const textWrapStyles: Readonly<{ readonly wrap: Readonly<{ readonly textWrap: stylex.StyleXClassNameFor<"textWrap", "wrap"> }>; readonly nowrap: Readonly<{ readonly textWrap: stylex. … #bc60efa9
const truncationStyles: Readonly<{ readonly singleLine: Readonly<{ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">; readonly textOverflow: stylex.StyleXClassNameFor< … #2f931a40
const truncationTooltipStyles: Readonly<{ readonly content: Readonly<{ readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "300px">; readonly wordBreak: stylex.StyleXClassNameFor<"wordBreak", "break-word"> }> }>
const weightStyles: Readonly<{ readonly normal: Readonly<{ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", "400"> }>; readonly medium: Readonly<{ readonly fontWeight: … #f8d42563
const wordBreakStyles: Readonly<{ readonly 'break-word': Readonly<{ readonly wordBreak: stylex.StyleXClassNameFor<"wordBreak", "normal">; readonly overflowWrap: stylex.StyleXClassName … #5f6f1a80
./TextArea
Also exported from an earlier entry point
TextArea (.)
TextAreaProps (.)
TextAreaSize (.)
TextAreaStatus (.)
TextAreaStatusType (.)
./TextInput
Also exported from an earlier entry point
TextInput (.)
TextInputProps (.)
TextInputSize (.)
TextInputStatus (.)
TextInputStatusType (.)
TextInputType (.)
./Thumbnail
Also exported from an earlier entry point
Thumbnail (.)
ThumbnailProps (.)
./TimeInput
Also exported from an earlier entry point
ISOTimeString (.)
TimeInput (.)
TimeInputHourFormat (.)
TimeInputNativePicker (.)
TimeInputPresentation (.)
TimeInputProps (.)
TimeInputSize (.)
TimeInputStatus (.)
TimeInputStatusType (.)
./Timer
Also exported from an earlier entry point
Timer (.)
TimerFormat (.)
TimerProps (.)
./Timestamp
Also exported from an earlier entry point
Timestamp (.)
TimestampFormat (.)
TimestampProps (.)
TimestampTooltipEntry (.)
TimestampTooltipFormat (.)
./Toast
Components
component ToastViewport(props: ToastViewportProps)
prop children?: React.ReactNode
prop inset?: { top?: number; bottom?: number; start?: number; end?: number }
prop isTopLayer?: boolean = true
prop layerInset?: LayerInset
prop maxVisible?: number = 5
prop position?: ToastPosition
Types
interface ToastViewportProps (props of ToastViewport)
Also exported from an earlier entry point
ShowToastFn (.)
Toast (.)
ToastCollisionBehavior (.)
ToastContentRenderFn (.)
ToastContentRenderProps (.)
ToastDismissFn (.)
ToastDismissReason (.)
ToastOptions (.)
ToastPosition (.)
ToastProps (.)
ToastType (.)
useToast (.)
./ToggleButton
Also exported from an earlier entry point
ToggleButton (.)
ToggleButtonGroup (.)
ToggleButtonGroupMultipleProps (.)
ToggleButtonGroupProps (.)
ToggleButtonGroupSingleProps (.)
ToggleButtonProps (.)
./Token
Also exported from an earlier entry point
Token (.)
TokenColor (.)
TokenColorMap (.)
TokenProps (.)
TokenSize (.)
./Tokenizer
Also exported from an earlier entry point
Tokenizer (.)
TokenizerChange (.)
TokenizerHandle (.)
TokenizerOverflowBehavior (.)
TokenizerPresentation (.)
TokenizerProps (.)
TokenizerSize (.)
TokenizerStatus (.)
TokenizerStatusType (.)
./Toolbar
Also exported from an earlier entry point
Toolbar (.)
ToolbarProps (.)
ToolbarSize (.)
./Tooltip
Also exported from an earlier entry point
Tooltip (.)
TooltipFocusTrigger (.)
TooltipOptions (.)
TooltipProps (.)
TooltipReturn (.)
TooltipTouchTrigger (.)
useTooltip (.)
./TopNav
Also exported from an earlier entry point
TopNav (.)
TopNavHeading (.)
TopNavHeadingProps (.)
TopNavItem (.)
TopNavItemProps (.)
TopNavMegaMenu (.)
TopNavMegaMenuFeaturedCard (.)
TopNavMegaMenuFeaturedCardProps (.)
TopNavMegaMenuItem (.)
TopNavMegaMenuItemProps (.)
TopNavMegaMenuProps (.)
TopNavMenu (.)
TopNavMenuItemData (.)
TopNavMenuProps (.)
TopNavProps (.)
TopNavRenderContext (.)
TopNavRenderMode (.)
useTopNavRenderMode (.)
./TreeList
Also exported from an earlier entry point
TreeList (.)
TreeListDensity (.)
TreeListItemData (.)
TreeListProps (.)
TreeListVariant (.)
TreeListVariantMap (.)
./Typeahead
Also exported from an earlier entry point
BaseTypeahead (.)
BaseTypeaheadProps (.)
CreateStaticSourceOptions (.)
SearchContext (.)
SearchSource (.)
SearchableItem (.)
Typeahead (.)
TypeaheadItem (.)
TypeaheadItemProps (.)
TypeaheadProps (.)
TypeaheadSize (.)
TypeaheadStatus (.)
TypeaheadStatusType (.)
createStaticSource (.)
./Typeahead/utils
Also exported from an earlier entry point
CreateStaticSourceOptions (.)
SearchSource (.)
SearchableItem (.)
createStaticSource (.)
./VStack
Also exported from an earlier entry point
VStack (.)
VStackProps (.)
./VisuallyHidden
Also exported from an earlier entry point
VisuallyHidden (.)
VisuallyHiddenProps (.)
./astryx.css
stylesheet ./dist/astryx.css
./docs.mjs
no exports
./groups.doc.mjs
Values
const GROUP_DOCS: Record<string, ComponentGroupDoc>
./hooks
Also exported from an earlier entry point
AnimatedLayout (.)
AnnounceFn (.)
AnnouncePoliteness (.)
ClickableContainerResult (.)
ContainerRevealOptions (.)
ContentRevealOptions (.)
DragToSnapPoints (.)
DragToSnapPointsOptions (.)
EntryAnimationPreset (.)
Hotkey (.)
INTERACTIVE_SELECTORS (.)
ImageSampleRegion (.)
InteractiveRole (.)
KeyboardHintOrientation (.)
ListFocusOrientation (.)
MENU_PRESS_MARKER (.)
MENU_PRESS_SETTLE_MS (.)
MenuPressEffect (.)
MenuPressEvent (.)
MenuPressGesture (.)
MenuPressPointerType (.)
MenuPressStep (.)
PanGesture (.)
PanGestureEvent (.)
PanGestureOptions (.)
PanGestureState (.)
ScrollAxis (.)
ScrollAxisState (.)
ScrollKeyboardAccess (.)
ScrollOverflowState (.)
ScrollOverscroll (.)
ScrollStickyContainment (.)
ScrollableAreaState (.)
ScrollableElementProps (.)
StreamingTextSpeed (.)
UseAnimatedLayoutOptions (.)
UseAnnounceOptions (.)
UseClickableContainerOptions (.)
UseClipboardOptions (.)
UseClipboardReturn (.)
UseContainerRevealOptions (.)
UseContainerRevealReturn (.)
UseDragToSnapPointsResult (.)
UseFocusTrapOptions (.)
UseFocusTrapReturn (.)
UseGridFocusOptions (.)
UseGridFocusReturn (.)
UseImageModeOptions (.)
UseInputContainerOptions (.)
UseInputStatusIconOptions (.)
UseInputStatusIconReturn (.)
UseInteractiveRoleOptions (.)
UseKeyboardHintOptions (.)
UseKeyboardHintReturn (.)
UseListFocusOptions (.)
UseListFocusReturn (.)
UseLongPressHandlers (.)
UseLongPressOptions (.)
UseMenuPressOptions (.)
UseMenuPressReturn (.)
UseOverflowOptions (.)
UseOverflowReturn (.)
UseScrollableAreaOptions (.)
UseScrollableAreaResult (.)
UseStreamingTextOptions (.)
UseTreeFocusOptions (.)
UseTreeFocusReturn (.)
UseTypeaheadOptions (.)
UseTypeaheadReturn (.)
hasActiveFocusTrapEscape (.)
hasInteractiveAncestor (.)
hasTextSelection (.)
isMenuPressActivation (.)
menuPressStep (.)
useAnimatedLayout (.)
useAnimator (.)
useAnnounce (.)
useClickableContainer (.)
useClipboard (.)
useContainerReveal (.)
useDevWarning (.)
useDragToSnapPoints (.)
useEntryAnimation (.)
useFocusTrap (.)
useGridFocus (.)
useHotkeys (.)
useImageMode (.)
useIndicatorFocusRing (.)
useInputContainer (.)
useInputStatusIcon (.)
useInteractiveRole (.)
useKeyboardHint (.)
useListFocus (.)
useLongPress (.)
useMediaQuery (.)
useMenuPress (.)
useMergedRefs (.)
useOverflow (.)
usePanGesture (.)
usePressFeedback (.)
useScrollLock (.)
useScrollOverflow (.)
useScrollableArea (.)
useStreamingText (.)
useTreeFocus (.)
useTypeahead (.)
./i18n
Also exported from an earlier entry point
CalendarSystem (.)
Catalog (.)
InternationalizationContext (.)
InternationalizationContextValue (.)
InternationalizationProvider (.)
InternationalizationProviderProps (.)
Locale (.)
MessageEntry (.)
MessagesByLocale (.)
Overrides (.)
ProviderMessagesByLocale (.)
RuntimeCatalog (.)
Translator (.)
TranslatorFn (.)
getLocaleDirection (.)
useCollator (.)
useDirection (.)
useLocale (.)
useTranslator (.)
./locales/*.generated.js
Matches
pattern ./dist/i18n/generated-locales/*.generated.d.ts
af-ZA
ar-SA
ca-ES
cs-CZ
da-DK
de-DE
el-GR
en
es-ES
fi-FI
fr-FR
he-IL
hu-HU
it-IT
ja-JP
ko-KR
nl-NL
no-NO
pl-PL
pseudo
pt-BR
pt-PT
ro-RO
ru-RU
sr-SP
sv-SE
tr-TR
uk-UA
vi-VN
zh-CN
zh-TW
./locales/*.json
Matches
pattern ./locales/*.json
af-ZA
ar-SA
ca-ES
cs-CZ
da-DK
de-DE
el-GR
en
es-ES
fi-FI
fr-FR
he-IL
hu-HU
it-IT
ja-JP
ko-KR
nl-NL
no-NO
pl-PL
pseudo
pt-BR
pt-PT
ro-RO
ru-RU
sr-SP
sv-SE
tr-TR
uk-UA
vi-VN
zh-CN
zh-TW
./naming
Functions
function cssVar: (name: string) => string
function dataAttr: (name: string) => `data-${string}`
function stableClassName: (component: string) => string
Values
const NAMESPACE: 'astryx'
const classPrefix: 'astryx'
const cssVarNamespace: 'astryx'
const dataAttrNamespace: 'astryx'
./reset.css
stylesheet ./src/reset.css
./tailwind-theme.css
stylesheet ./src/tailwind-theme.css
./theme
Also exported from an earlier entry point
BorderVarName (.)
BuiltinTextColor (.)
BuiltinTextType (.)
ColorScaleConfig (.)
ColorScaleTokens (.)
ColorVarName (.)
CompactDefinition (.)
ComponentStyleMap (.)
CoreTokenName (.)
CustomTextTypes (.)
DEFAULT_COMPACT_DEFINITION (.)
DEFAULT_WIDTH_BREAKPOINTS (.)
DataTokenName (.)
DefineThemeInput (.)
DefinedTheme (.)
DomainTokenName (.)
DurationVarName (.)
EaseVarName (.)
FontWeight (.)
FontWeightVarName (.)
HeadingTag (.)
IndicatorComponent (.)
IndicatorFamily (.)
IndicatorFamilyMap (.)
IndicatorMap (.)
IndicatorName (.)
IndicatorNameOfFamily (.)
IndicatorProps (.)
IndicatorRegistry (.)
IndicatorSize (.)
IndicatorState (.)
MediaTheme (.)
MediaThemeMode (.)
MediaThemeProps (.)
MotionCharacter (.)
MotionScaleConfig (.)
MotionScaleTokens (.)
RadiusScaleConfig (.)
RadiusScaleTokens (.)
RadiusVarName (.)
ResolveThemeTokenOptions (.)
ResolveThemeTokensOptions (.)
ResolvedDefinedTheme (.)
ResolvedThemeMode (.)
ShadowVarName (.)
SizeVarName (.)
SpacingVarName (.)
StyleOverrides (.)
SyntaxTheme (.)
SyntaxThemeDefinition (.)
SyntaxThemeInput (.)
SyntaxThemeTokenInput (.)
SyntaxThemeTokenKey (.)
SyntaxThemeTokenMap (.)
SyntaxTokenName (.)
SyntaxTokenValue (.)
TextColor (.)
TextColorMap (.)
TextSize (.)
TextSizeVarName (.)
TextType (.)
TextWeight (.)
Theme (.)
ThemeAdaptationCondition (.)
ThemeAdaptationRule (.)
ThemeAdaptationTypographyConfig (.)
ThemeAdaptationValue (.)
ThemeAdaptationWidthCondition (.)
ThemeAdaptations (.)
ThemeCSSOutput (.)
ThemeContext (.)
ThemeContextValue (.)
ThemeMode (.)
ThemeMotionConfig (.)
ThemeMotionKnobs (.)
ThemeRulesSplit (.)
TokenName (.)
TokenValue (.)
TypeScaleConfig (.)
TypeScaleTokens (.)
TypeScaleVarName (.)
TypographyConfig (.)
TypographyRole (.)
TypographyVarName (.)
UseSyntaxThemeReturn (.)
UseThemeReturn (.)
WIDTH_BREAKPOINT_NAMES (.)
WidthBreakpointName (.)
WidthBreakpoints (.)
borderDefaults (.)
borderVars (.)
colorDefaults (.)
colorVars (.)
compactDefinition (.)
dataTokenDefaults (.)
defineSyntaxTheme (.)
defineTheme (.)
domainTokenDefaults (.)
durationDefaults (.)
durationVars (.)
easeDefaults (.)
easeVars (.)
expandColorScale (.)
expandMotionScale (.)
expandRadiusScale (.)
expandTypeScale (.)
focusDefaults (.)
focusVars (.)
fontWeightDefaults (.)
fontWeightVars (.)
generateAdaptationCSS (.)
generateOnMediaCSS (.)
generateThemeCSS (.)
generateThemeRules (.)
generateThemeRulesSplit (.)
generateTypeScaleComponents (.)
getRegisteredTheme (.)
getRegisteredThemes (.)
isDefinedTheme (.)
radiusDefaults (.)
radiusVars (.)
registerTheme (.)
resetThemes (.)
resolveThemeToken (.)
resolveThemeTokens (.)
shadowDefaults (.)
shadowVars (.)
sizeDefaults (.)
sizeVars (.)
spacingDefaults (.)
spacingVars (.)
syntaxTokenDefaults (.)
textSizeDefaults (.)
textSizeVars (.)
tokenDefaults (.)
tokenVar (.)
tokenVars (.)
typeScaleDefaults (.)
typeScaleVars (.)
typographyDefaults (.)
typographyVars (.)
useSyntaxTheme (.)
useTheme (.)
useThemeName (.)
./theme/dataTokens.stylex
Values
const dataVars: stylex.VarGroup<Readonly<{ readonly '--color-data-categorical-blue': "light-dark(#0171E3, #0171E3)"; readonly '--color-data-categorical-orange': "light-dark(#EB … #fcf2cfaa
Types
type DataTokenName = keyof typeof dataTokenDefaults
./theme/syntax
Functions
function syntaxThemeStyle: (theme: SyntaxThemeDefinition) => Record<string, string>
function syntaxThemeToCSS: (theme: SyntaxThemeDefinition) => string
Values
const allSyntaxPresets: object
0: SyntaxThemeDefinition
1: SyntaxThemeDefinition
2: SyntaxThemeDefinition
3: SyntaxThemeDefinition
4: SyntaxThemeDefinition
5: SyntaxThemeDefinition
6: SyntaxThemeDefinition
7: SyntaxThemeDefinition
8: SyntaxThemeDefinition
9: SyntaxThemeDefinition
10: SyntaxThemeDefinition
11: SyntaxThemeDefinition
length: 12
toString: () => string
toLocaleString: { (): string; (locales: string | string[], options?: (NumberFormatOptions & DateTimeFormatOptions) | undefined): string }
concat: { (...items: ConcatArray<SyntaxThemeDefinition>[]): SyntaxThemeDefinition[]; (...items: (SyntaxThemeDefinition | ConcatArray<SyntaxThemeDefinition>)[]): SyntaxThemeDefinition[] }
join: (separator?: string | undefined) => string
slice: (start?: number | undefined, end?: number | undefined) => SyntaxThemeDefinition[]
indexOf: (searchElement: SyntaxThemeDefinition, fromIndex?: number | undefined) => number
lastIndexOf: (searchElement: SyntaxThemeDefinition, fromIndex?: number | undefined) => number
every: { <S extends SyntaxThemeDefinition>(predicate: (value: SyntaxThemeDefinition, index: number, array: readonly SyntaxThemeDefinition[]) => value is S, thisArg?: a … #93187a8b
some: (predicate: (value: SyntaxThemeDefinition, index: number, array: readonly SyntaxThemeDefinition[]) => unknown, thisArg?: any) => boolean
forEach: (callbackfn: (value: SyntaxThemeDefinition, index: number, array: readonly SyntaxThemeDefinition[]) => void, thisArg?: any) => void
map: <U>(callbackfn: (value: SyntaxThemeDefinition, index: number, array: readonly SyntaxThemeDefinition[]) => U, thisArg?: any) => U[]
filter: { <S extends SyntaxThemeDefinition>(predicate: (value: SyntaxThemeDefinition, index: number, array: readonly SyntaxThemeDefinition[]) => value is S, thisArg?: a … #dd98db48
reduce: { (callbackfn: (previousValue: SyntaxThemeDefinition, currentValue: SyntaxThemeDefinition, currentIndex: number, array: readonly SyntaxThemeDefinition[]) => Syn … #86f13e50
reduceRight: { (callbackfn: (previousValue: SyntaxThemeDefinition, currentValue: SyntaxThemeDefinition, currentIndex: number, array: readonly SyntaxThemeDefinition[]) => Syn … #86f13e50
find: { <S extends SyntaxThemeDefinition>(predicate: (value: SyntaxThemeDefinition, index: number, obj: readonly SyntaxThemeDefinition[]) => value is S, thisArg?: any … #c7b34f42
findIndex: (predicate: (value: SyntaxThemeDefinition, index: number, obj: readonly SyntaxThemeDefinition[]) => unknown, thisArg?: any) => number
entries: () => ArrayIterator<[number, SyntaxThemeDefinition]>
keys: () => ArrayIterator<number>
values: () => ArrayIterator<SyntaxThemeDefinition>
includes: (searchElement: SyntaxThemeDefinition, fromIndex?: number | undefined) => boolean
flatMap: <U, This = undefined>(callback: (this: This, value: SyntaxThemeDefinition, index: number, array: SyntaxThemeDefinition[]) => U | readonly U[], thisArg?: This | undefined) => U[]
flat: <A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]
at: (index: number) => SyntaxThemeDefinition | undefined
[Symbol.iterator]: () => ArrayIterator<SyntaxThemeDefinition>
[Symbol.unscopables]: { readonly [x: number]: boolean | undefined; readonly length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; concat … #8d7403b2
const catppuccinLatte: SyntaxThemeDefinition
const catppuccinMocha: SyntaxThemeDefinition
const darkSyntaxPresets: readonly [SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition]
const dracula: SyntaxThemeDefinition
const githubDark: SyntaxThemeDefinition
const githubLight: SyntaxThemeDefinition
const lightSyntaxPresets: readonly [SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition, SyntaxThemeDefinition]
const monokai: SyntaxThemeDefinition
const nord: SyntaxThemeDefinition
const oneDarkPro: SyntaxThemeDefinition
const oneLight: SyntaxThemeDefinition
const solarizedLight: SyntaxThemeDefinition
const tokyoNight: SyntaxThemeDefinition
const tokyoNightLight: SyntaxThemeDefinition
Also exported from an earlier entry point
SyntaxTheme (.)
SyntaxThemeDefinition (.)
SyntaxThemeInput (.)
SyntaxThemeTokenInput (.)
SyntaxThemeTokenKey (.)
SyntaxThemeTokenMap (.)
SyntaxTokenName (.)
SyntaxTokenValue (.)
UseSyntaxThemeReturn (.)
defineSyntaxTheme (.)
syntaxTokenDefaults (.)
useSyntaxTheme (.)
./theme/tokens
Also exported from an earlier entry point
ResolveThemeTokenOptions (.)
ResolveThemeTokensOptions (.)
ResolvedThemeMode (.)
resolveThemeToken (.)
resolveThemeTokens (.)
tokenVar (.)
tokenVars (.)
./theme/tokens.stylex
Also exported from an earlier entry point
BorderVarName (.)
ColorVarName (.)
DurationVarName (.)
EaseVarName (.)
FontWeightVarName (.)
RadiusVarName (.)
ShadowVarName (.)
SizeVarName (.)
SpacingVarName (.)
TextSizeVarName (.)
TypeScaleVarName (.)
TypographyVarName (.)
borderDefaults (.)
borderVars (.)
colorDefaults (.)
colorVars (.)
durationDefaults (.)
durationVars (.)
easeDefaults (.)
easeVars (.)
focusDefaults (.)
focusVars (.)
fontWeightDefaults (.)
fontWeightVars (.)
radiusDefaults (.)
radiusVars (.)
shadowDefaults (.)
shadowVars (.)
sizeDefaults (.)
sizeVars (.)
spacingDefaults (.)
spacingVars (.)
textSizeDefaults (.)
textSizeVars (.)
typeScaleDefaults (.)
typeScaleVars (.)
typographyDefaults (.)
typographyVars (.)
./utils
Also exported from an earlier entry point
ClassProps (.)
ClassValue (.)
DATE_FORMAT_LONG (.)
DATE_FORMAT_MONTH_ONLY (.)
DATE_FORMAT_MONTH_YEAR (.)
DATE_FORMAT_SHORT (.)
DATE_FORMAT_SHORT_WITH_WEEKDAY (.)
DATE_FORMAT_SHORT_WITH_YEAR (.)
DATE_FORMAT_WEEKDAY_ONLY (.)
DATE_FORMAT_WITH_WEEKDAY (.)
DateRange (.)
DayOfWeek (.)
GroupItemsOptions (.)
ISODateString (.)
ISOTimeString (.)
InputARIA (.)
InputARIAInputGroup (.)
ItemGroup (.)
Key (.)
KeyFallback (.)
ParsedTime (.)
PlainDate (.)
RGBA (.)
SHARED_DATE_FORMAT_OPTIONS (.)
SharedDateFormat (.)
SizeValue (.)
ThemeDataAttributes (.)
ThemeProps (.)
adjustTime (.)
characterCount (.)
clampTime (.)
compareTime (.)
composeEventHandlers (.)
createISOTimeString (.)
dateToISO (.)
devError (.)
devWarn (.)
firstCharacter (.)
focusOutlineProps (.)
focusOutlineStyles (.)
formatColor (.)
formatDevMessage (.)
formatDisplayTime12h (.)
formatDisplayTime24h (.)
formatHex (.)
formatISOTime (.)
formatSharedDate (.)
getDaysInMonth (.)
getInputARIA (.)
getItemGroup (.)
getKey (.)
groupItems (.)
interactionOverlayStyles (.)
isFocusDetached (.)
isImeKeyEvent (.)
isLocaleDayFirst (.)
isRenderable (.)
isTimeInRange (.)
mergeProps (.)
mergeRefs (.)
observeResize (.)
parseColor (.)
parseDateInput (.)
parseHex (.)
parseISO (.)
parseISOTime (.)
parseRgb (.)
parseStyleKey (.)
parseTimeInput (.)
plainDateAddDays (.)
plainDateAddMonths (.)
plainDateCreate (.)
plainDateDayOfWeek (.)
plainDateFormat (.)
plainDateFromDate (.)
plainDateFromISO (.)
plainDateFromInstant (.)
plainDateGetWeekNumber (.)
plainDateIsAfter (.)
plainDateIsBefore (.)
plainDateIsEqual (.)
plainDateIsInRange (.)
plainDateMax (.)
plainDateMin (.)
plainDateSetEndOfWeekExclusive (.)
plainDateSetFirstOfMonth (.)
plainDateSetStartOfWeek (.)
plainDateToDate (.)
plainDateToISO (.)
plainDateToInstant (.)
plainDateToday (.)
rtlStyles (.)
themeDataAttributes (.)
themeProps (.)
toGLFloats (.)
truncateCharacters (.)
unobserveResize (.)
warnOnce (.)
./utils/focusOutline.stylex
Values
const FOCUS_OUTLINE: string
const FOCUS_OUTLINE_PARTS: { readonly outlineWidth: stylex.StyleXVar<"2px">; readonly outlineStyle: stylex.StyleXVar<"solid">; readonly outlineColor: stylex.StyleXVar<"var(--color-accent) … #1af63a72
const FOCUS_OUTLINE_PARTS_NONE: { readonly outlineWidth: ""; readonly outlineStyle: ""; readonly outlineColor: ""; readonly outlineOffset: "" }
Also exported from an earlier entry point
focusOutlineProps (.)
focusOutlineStyles (.)
./utils/interactionOverlay.stylex
Values
const pressConsts: { releaseMs: number }
const pressVars: stylex.VarGroup<Readonly<{ '--astryx-press-alpha': stylex.Types.Num<0> }>, symbol>
Also exported from an earlier entry point
interactionOverlayStyles (.)
Stylesheets
var --astryx-press-alpha (./astryx.css)
var --border-width (./astryx.css)
var --button-focus-offset (./astryx.css)
var --button-icon-only-aspect (./astryx.css)
var --color-accent (./astryx.css)
var --color-accent-muted (./astryx.css)
var --color-background-blue (./astryx.css)
var --color-background-body (./astryx.css)
var --color-background-card (./astryx.css)
var --color-background-cyan (./astryx.css)
var --color-background-error-inverted (./astryx.css)
var --color-background-gray (./astryx.css)
var --color-background-green (./astryx.css)
var --color-background-inverted (./astryx.css)
var --color-background-muted (./astryx.css)
var --color-background-orange (./astryx.css)
var --color-background-pink (./astryx.css)
var --color-background-popover (./astryx.css)
var --color-background-purple (./astryx.css)
var --color-background-red (./astryx.css)
var --color-background-surface (./astryx.css)
var --color-background-teal (./astryx.css)
var --color-background-yellow (./astryx.css)
var --color-border (./astryx.css)
var --color-border-blue (./astryx.css)
var --color-border-cyan (./astryx.css)
var --color-border-emphasized (./astryx.css)
var --color-border-error (./astryx.css)
var --color-border-gray (./astryx.css)
var --color-border-green (./astryx.css)
var --color-border-info (./astryx.css)
var --color-border-orange (./astryx.css)
var --color-border-pink (./astryx.css)
var --color-border-purple (./astryx.css)
var --color-border-red (./astryx.css)
var --color-border-success (./astryx.css)
var --color-border-teal (./astryx.css)
var --color-border-warning (./astryx.css)
var --color-border-yellow (./astryx.css)
var --color-data-blue-1 (./astryx.css)
var --color-data-blue-2 (./astryx.css)
var --color-data-blue-3 (./astryx.css)
var --color-data-blue-4 (./astryx.css)
var --color-data-blue-5 (./astryx.css)
var --color-data-categorical-blue (./astryx.css)
var --color-data-categorical-brown (./astryx.css)
var --color-data-categorical-cyan (./astryx.css)
var --color-data-categorical-green (./astryx.css)
var --color-data-categorical-indigo (./astryx.css)
var --color-data-categorical-orange (./astryx.css)
var --color-data-categorical-pink (./astryx.css)
var --color-data-categorical-purple (./astryx.css)
var --color-data-categorical-red (./astryx.css)
var --color-data-categorical-teal (./astryx.css)
var --color-data-gray-1 (./astryx.css)
var --color-data-gray-2 (./astryx.css)
var --color-data-gray-3 (./astryx.css)
var --color-data-gray-4 (./astryx.css)
var --color-data-gray-5 (./astryx.css)
var --color-data-neutral (./astryx.css)
var --color-data-orange-1 (./astryx.css)
var --color-data-orange-2 (./astryx.css)
var --color-data-orange-3 (./astryx.css)
var --color-data-orange-4 (./astryx.css)
var --color-data-orange-5 (./astryx.css)
var --color-data-pink-1 (./astryx.css)
var --color-data-pink-2 (./astryx.css)
var --color-data-pink-3 (./astryx.css)
var --color-data-pink-4 (./astryx.css)
var --color-data-pink-5 (./astryx.css)
var --color-data-purple-1 (./astryx.css)
var --color-data-purple-2 (./astryx.css)
var --color-data-purple-3 (./astryx.css)
var --color-data-purple-4 (./astryx.css)
var --color-data-purple-5 (./astryx.css)
var --color-data-red-1 (./astryx.css)
var --color-data-red-2 (./astryx.css)
var --color-data-red-3 (./astryx.css)
var --color-data-red-4 (./astryx.css)
var --color-data-red-5 (./astryx.css)
var --color-data-shamrock-1 (./astryx.css)
var --color-data-shamrock-2 (./astryx.css)
var --color-data-shamrock-3 (./astryx.css)
var --color-data-shamrock-4 (./astryx.css)
var --color-data-shamrock-5 (./astryx.css)
var --color-data-teal-1 (./astryx.css)
var --color-data-teal-2 (./astryx.css)
var --color-data-teal-3 (./astryx.css)
var --color-data-teal-4 (./astryx.css)
var --color-data-teal-5 (./astryx.css)
var --color-data-yellow-1 (./astryx.css)
var --color-data-yellow-2 (./astryx.css)
var --color-data-yellow-3 (./astryx.css)
var --color-data-yellow-4 (./astryx.css)
var --color-data-yellow-5 (./astryx.css)
var --color-error (./astryx.css)
var --color-error-muted (./astryx.css)
var --color-icon-accent (./astryx.css)
var --color-icon-blue (./astryx.css)
var --color-icon-cyan (./astryx.css)
var --color-icon-disabled (./astryx.css)
var --color-icon-error (./astryx.css)
var --color-icon-gray (./astryx.css)
var --color-icon-green (./astryx.css)
var --color-icon-info (./astryx.css)
var --color-icon-orange (./astryx.css)
var --color-icon-pink (./astryx.css)
var --color-icon-primary (./astryx.css)
var --color-icon-purple (./astryx.css)
var --color-icon-red (./astryx.css)
var --color-icon-secondary (./astryx.css)
var --color-icon-success (./astryx.css)
var --color-icon-teal (./astryx.css)
var --color-icon-warning (./astryx.css)
var --color-icon-yellow (./astryx.css)
var --color-info (./astryx.css)
var --color-info-muted (./astryx.css)
var --color-neutral (./astryx.css)
var --color-on-accent (./astryx.css)
var --color-on-dark (./astryx.css)
var --color-on-error (./astryx.css)
var --color-on-error-muted (./astryx.css)
var --color-on-info (./astryx.css)
var --color-on-info-muted (./astryx.css)
var --color-on-light (./astryx.css)
var --color-on-success (./astryx.css)
var --color-on-success-muted (./astryx.css)
var --color-on-warning (./astryx.css)
var --color-on-warning-muted (./astryx.css)
var --color-overlay (./astryx.css)
var --color-overlay-hover (./astryx.css)
var --color-overlay-pressed (./astryx.css)
var --color-shadow (./astryx.css)
var --color-skeleton (./astryx.css)
var --color-success (./astryx.css)
var --color-success-muted (./astryx.css)
var --color-syntax-background (./astryx.css)
var --color-text-accent (./astryx.css)
var --color-text-blue (./astryx.css)
var --color-text-cyan (./astryx.css)
var --color-text-disabled (./astryx.css)
var --color-text-error (./astryx.css)
var --color-text-gray (./astryx.css)
var --color-text-green (./astryx.css)
var --color-text-info (./astryx.css)
var --color-text-orange (./astryx.css)
var --color-text-pink (./astryx.css)
var --color-text-primary (./astryx.css)
var --color-text-purple (./astryx.css)
var --color-text-red (./astryx.css)
var --color-text-secondary (./astryx.css)
var --color-text-success (./astryx.css)
var --color-text-teal (./astryx.css)
var --color-text-warning (./astryx.css)
var --color-text-yellow (./astryx.css)
var --color-tint-hover (./astryx.css)
var --color-track (./astryx.css)
var --color-warning (./astryx.css)
var --color-warning-muted (./astryx.css)
var --container-max-height (./astryx.css)
var --container-padding-block-end (./astryx.css)
var --container-padding-block-start (./astryx.css)
var --container-padding-inline-end (./astryx.css)
var --container-padding-inline-start (./astryx.css)
var --duration-exit (./astryx.css)
var --duration-fast (./astryx.css)
var --duration-fast-max (./astryx.css)
var --duration-fast-min (./astryx.css)
var --duration-medium (./astryx.css)
var --duration-medium-max (./astryx.css)
var --duration-medium-min (./astryx.css)
var --duration-slow (./astryx.css)
var --duration-slow-max (./astryx.css)
var --duration-slow-min (./astryx.css)
var --ease-entrance (./astryx.css)
var --ease-exit (./astryx.css)
var --ease-move (./astryx.css)
var --ease-standard (./astryx.css)
var --focus-outline-color (./astryx.css)
var --focus-outline-offset (./astryx.css)
var --focus-outline-style (./astryx.css)
var --focus-outline-width (./astryx.css)
var --font-family-body (./astryx.css)
var --font-family-code (./astryx.css)
var --font-family-heading (./astryx.css)
var --font-size-2xl (./astryx.css)
var --font-size-2xs (./astryx.css)
var --font-size-3xl (./astryx.css)
var --font-size-3xs (./astryx.css)
var --font-size-4xl (./astryx.css)
var --font-size-4xs (./astryx.css)
var --font-size-5xl (./astryx.css)
var --font-size-base (./astryx.css)
var --font-size-lg (./astryx.css)
var --font-size-sm (./astryx.css)
var --font-size-xl (./astryx.css)
var --font-size-xs (./astryx.css)
var --font-weight-bold (./astryx.css)
var --font-weight-medium (./astryx.css)
var --font-weight-normal (./astryx.css)
var --font-weight-semibold (./astryx.css)
var --indicator-color (./astryx.css)
var --layout-alignment-width (./astryx.css)
var --layout-content-width (./astryx.css)
var --layout-padding-inner-x (./astryx.css)
var --layout-padding-inner-y (./astryx.css)
var --layout-padding-outer-x (./astryx.css)
var --layout-padding-outer-y (./astryx.css)
var --layout-padding-own-outer-x (./astryx.css)
var --layout-padding-own-outer-y (./astryx.css)
var --radius-chat (./astryx.css)
var --radius-container (./astryx.css)
var --radius-element (./astryx.css)
var --radius-full (./astryx.css)
var --radius-inner (./astryx.css)
var --radius-none (./astryx.css)
var --radius-page (./astryx.css)
var --resize-hint (./astryx.css)
var --selectable-card-ring-color (./astryx.css)
var --separator-display (./astryx.css)
var --shadow-high (./astryx.css)
var --shadow-inset-error (./astryx.css)
var --shadow-inset-hover (./astryx.css)
var --shadow-inset-selected (./astryx.css)
var --shadow-inset-success (./astryx.css)
var --shadow-inset-warning (./astryx.css)
var --shadow-low (./astryx.css)
var --shadow-med (./astryx.css)
var --size-element-lg (./astryx.css)
var --size-element-md (./astryx.css)
var --size-element-sm (./astryx.css)
var --spacing-0 (./astryx.css)
var --spacing-0-5 (./astryx.css)
var --spacing-1 (./astryx.css)
var --spacing-1-5 (./astryx.css)
var --spacing-10 (./astryx.css)
var --spacing-11 (./astryx.css)
var --spacing-12 (./astryx.css)
var --spacing-2 (./astryx.css)
var --spacing-3 (./astryx.css)
var --spacing-4 (./astryx.css)
var --spacing-5 (./astryx.css)
var --spacing-6 (./astryx.css)
var --spacing-7 (./astryx.css)
var --spacing-8 (./astryx.css)
var --spacing-9 (./astryx.css)
var --spinner-arc-fraction (./astryx.css)
var --spinner-color (./astryx.css)
var --spinner-diameter (./astryx.css)
var --spinner-stroke-width (./astryx.css)
var --spinner-track-color (./astryx.css)
var --step-connector-gap (./astryx.css)
var --table-row-overlay (./astryx.css)
var --text-body-leading (./astryx.css)
var --text-body-size (./astryx.css)
var --text-body-weight (./astryx.css)
var --text-code-leading (./astryx.css)
var --text-code-size (./astryx.css)
var --text-code-weight (./astryx.css)
var --text-display-1-leading (./astryx.css)
var --text-display-1-size (./astryx.css)
var --text-display-1-weight (./astryx.css)
var --text-display-2-leading (./astryx.css)
var --text-display-2-size (./astryx.css)
var --text-display-2-weight (./astryx.css)
var --text-display-3-leading (./astryx.css)
var --text-display-3-size (./astryx.css)
var --text-display-3-weight (./astryx.css)
var --text-heading-1-leading (./astryx.css)
var --text-heading-1-size (./astryx.css)
var --text-heading-1-weight (./astryx.css)
var --text-heading-2-leading (./astryx.css)
var --text-heading-2-size (./astryx.css)
var --text-heading-2-weight (./astryx.css)
var --text-heading-3-leading (./astryx.css)
var --text-heading-3-size (./astryx.css)
var --text-heading-3-weight (./astryx.css)
var --text-heading-4-leading (./astryx.css)
var --text-heading-4-size (./astryx.css)
var --text-heading-4-weight (./astryx.css)
var --text-heading-5-leading (./astryx.css)
var --text-heading-5-size (./astryx.css)
var --text-heading-5-weight (./astryx.css)
var --text-heading-6-leading (./astryx.css)
var --text-heading-6-size (./astryx.css)
var --text-heading-6-weight (./astryx.css)
var --text-label-leading (./astryx.css)
var --text-label-size (./astryx.css)
var --text-label-weight (./astryx.css)
var --text-large-leading (./astryx.css)
var --text-large-size (./astryx.css)
var --text-large-weight (./astryx.css)
var --text-supporting-leading (./astryx.css)
var --text-supporting-size (./astryx.css)
var --text-supporting-weight (./astryx.css)
var --tree-list-indent (./astryx.css)
var --tree-list-row-gap (./astryx.css)
var --border-color-error (./tailwind-theme.css)
var --border-color-info (./tailwind-theme.css)
var --border-color-success (./tailwind-theme.css)
var --border-color-warning (./tailwind-theme.css)
var --caret-color-error (./tailwind-theme.css)
var --caret-color-info (./tailwind-theme.css)
var --caret-color-success (./tailwind-theme.css)
var --caret-color-warning (./tailwind-theme.css)
var --color-accent (./tailwind-theme.css)
var --color-accent-bg (./tailwind-theme.css)
var --color-accent-muted (./tailwind-theme.css)
var --color-blue-ring (./tailwind-theme.css)
var --color-blue-subtle (./tailwind-theme.css)
var --color-blue-vivid (./tailwind-theme.css)
var --color-body (./tailwind-theme.css)
var --color-border (./tailwind-theme.css)
var --color-border-strong (./tailwind-theme.css)
var --color-card (./tailwind-theme.css)
var --color-cyan-ring (./tailwind-theme.css)
var --color-cyan-subtle (./tailwind-theme.css)
var --color-cyan-vivid (./tailwind-theme.css)
var --color-disabled (./tailwind-theme.css)
var --color-error (./tailwind-theme.css)
var --color-error-muted (./tailwind-theme.css)
var --color-gray-ring (./tailwind-theme.css)
var --color-gray-subtle (./tailwind-theme.css)
var --color-gray-vivid (./tailwind-theme.css)
var --color-green-ring (./tailwind-theme.css)
var --color-green-subtle (./tailwind-theme.css)
var --color-green-vivid (./tailwind-theme.css)
var --color-info (./tailwind-theme.css)
var --color-info-muted (./tailwind-theme.css)
var --color-inverted (./tailwind-theme.css)
var --color-muted (./tailwind-theme.css)
var --color-neutral (./tailwind-theme.css)
var --color-on-accent (./tailwind-theme.css)
var --color-on-dark (./tailwind-theme.css)
var --color-on-error (./tailwind-theme.css)
var --color-on-error-muted (./tailwind-theme.css)
var --color-on-info (./tailwind-theme.css)
var --color-on-info-muted (./tailwind-theme.css)
var --color-on-light (./tailwind-theme.css)
var --color-on-success (./tailwind-theme.css)
var --color-on-success-muted (./tailwind-theme.css)
var --color-on-warning (./tailwind-theme.css)
var --color-on-warning-muted (./tailwind-theme.css)
var --color-orange-ring (./tailwind-theme.css)
var --color-orange-subtle (./tailwind-theme.css)
var --color-orange-vivid (./tailwind-theme.css)
var --color-overlay (./tailwind-theme.css)
var --color-overlay-hover (./tailwind-theme.css)
var --color-overlay-pressed (./tailwind-theme.css)
var --color-pink-ring (./tailwind-theme.css)
var --color-pink-subtle (./tailwind-theme.css)
var --color-pink-vivid (./tailwind-theme.css)
var --color-popover (./tailwind-theme.css)
var --color-primary (./tailwind-theme.css)
var --color-purple-ring (./tailwind-theme.css)
var --color-purple-subtle (./tailwind-theme.css)
var --color-purple-vivid (./tailwind-theme.css)
var --color-red-ring (./tailwind-theme.css)
var --color-red-subtle (./tailwind-theme.css)
var --color-red-vivid (./tailwind-theme.css)
var --color-secondary (./tailwind-theme.css)
var --color-shadow (./tailwind-theme.css)
var --color-skeleton (./tailwind-theme.css)
var --color-success (./tailwind-theme.css)
var --color-success-muted (./tailwind-theme.css)
var --color-surface (./tailwind-theme.css)
var --color-teal-ring (./tailwind-theme.css)
var --color-teal-subtle (./tailwind-theme.css)
var --color-teal-vivid (./tailwind-theme.css)
var --color-tint-hover (./tailwind-theme.css)
var --color-track (./tailwind-theme.css)
var --color-warning (./tailwind-theme.css)
var --color-warning-muted (./tailwind-theme.css)
var --color-yellow-ring (./tailwind-theme.css)
var --color-yellow-subtle (./tailwind-theme.css)
var --color-yellow-vivid (./tailwind-theme.css)
var --ease-out (./tailwind-theme.css)
var --font-heading (./tailwind-theme.css)
var --font-mono (./tailwind-theme.css)
var --font-sans (./tailwind-theme.css)
var --font-weight-bold (./tailwind-theme.css)
var --font-weight-medium (./tailwind-theme.css)
var --font-weight-normal (./tailwind-theme.css)
var --font-weight-semibold (./tailwind-theme.css)
var --outline-color-error (./tailwind-theme.css)
var --outline-color-info (./tailwind-theme.css)
var --outline-color-success (./tailwind-theme.css)
var --outline-color-warning (./tailwind-theme.css)
var --placeholder-color-error (./tailwind-theme.css)
var --placeholder-color-info (./tailwind-theme.css)
var --placeholder-color-success (./tailwind-theme.css)
var --placeholder-color-warning (./tailwind-theme.css)
var --radius-full (./tailwind-theme.css)
var --radius-lg (./tailwind-theme.css)
var --radius-md (./tailwind-theme.css)
var --radius-none (./tailwind-theme.css)
var --radius-sm (./tailwind-theme.css)
var --radius-xl (./tailwind-theme.css)
var --radius-xs (./tailwind-theme.css)
var --ring-color-error (./tailwind-theme.css)
var --ring-color-info (./tailwind-theme.css)
var --ring-color-success (./tailwind-theme.css)
var --ring-color-warning (./tailwind-theme.css)
var --shadow-lg (./tailwind-theme.css)
var --shadow-md (./tailwind-theme.css)
var --shadow-sm (./tailwind-theme.css)
var --size-lg (./tailwind-theme.css)
var --size-md (./tailwind-theme.css)
var --size-sm (./tailwind-theme.css)
var --spacing (./tailwind-theme.css)
var --text-2xl (./tailwind-theme.css)
var --text-2xs (./tailwind-theme.css)
var --text-3xl (./tailwind-theme.css)
var --text-4xl (./tailwind-theme.css)
var --text-5xl (./tailwind-theme.css)
var --text-base (./tailwind-theme.css)
var --text-color-error (./tailwind-theme.css)
var --text-color-info (./tailwind-theme.css)
var --text-color-status-error (./tailwind-theme.css)
var --text-color-status-info (./tailwind-theme.css)
var --text-color-status-success (./tailwind-theme.css)
var --text-color-status-warning (./tailwind-theme.css)
var --text-color-success (./tailwind-theme.css)
var --text-color-warning (./tailwind-theme.css)
var --text-decoration-color-error (./tailwind-theme.css)
var --text-decoration-color-info (./tailwind-theme.css)
var --text-decoration-color-success (./tailwind-theme.css)
var --text-decoration-color-warning (./tailwind-theme.css)
var --text-lg (./tailwind-theme.css)
var --text-sm (./tailwind-theme.css)
var --text-xl (./tailwind-theme.css)
var --text-xs (./tailwind-theme.css)
var --transition-property-colors (./tailwind-theme.css)
var --transition-property-opacity (./tailwind-theme.css)
var --transition-property-shadow (./tailwind-theme.css)
var --transition-property-transform (./tailwind-theme.css)
Theme targets
target alert-dialog (AlertDialog)
target app-shell (AppShell) props [variant]
target app-shell-header (AppShell) props [variant]
target app-shell-sidenav (AppShell) props [variant]
target aspect-ratio (AspectRatio) props [shape]
target avatar (Avatar) props [shape, size]
target avatar-fallback (Avatar) props [size]
target avatar-group (AvatarGroup) props [shape, size]
target avatar-group-overflow (AvatarGroup) props [shape, size]
target avatar-status-dot (Avatar) props [variant]
target avatar-status-dot-glyph (Avatar) props [shape]
target badge (Badge) props [variant]
target banner (Banner) props [container, status]
target banner-content (Banner) props [container, status]
target banner-description (Banner)
target banner-frame (Banner) props [container, elevation]
target banner-icon (Banner) props [status]
target blockquote (Blockquote)
target bottom-sheet (BottomSheet)
target breadcrumb-item (Breadcrumbs) props [variant]
target breadcrumb-item-menu-trigger (Breadcrumbs) props [variant]
target breadcrumb-menu (Breadcrumbs)
target breadcrumbs (Breadcrumbs) props [variant]
target button (Button) props [elevation, size, variant]
target button-group (ButtonGroup) props [elevation, orientation, size]
target calendar (Calendar) props [mode]
target calendar-day (Calendar) states [disabled, in-range, marker, selected, today]
target calendar-nav (Calendar) props [nav] states [disabled]
target card (Card) props [elevation, variant]
target carousel (Carousel)
target carousel-scroller (Carousel) props [edgeFade, gap, padding, snap]
target center (Center) props [axis]
target chat-composer (Chat) props [density]
target chat-composer-drawer (Chat) props [collapsed]
target chat-composer-input (Chat)
target chat-dictation-button (Chat)
target chat-layout (Chat) props [density]
target chat-layout-scroll-button (Chat)
target chat-message (Chat) props [density, sender]
target chat-message-bubble (Chat) props [density, sender, variant]
target chat-message-list (Chat) props [density]
target chat-message-metadata (Chat)
target chat-send-button (Chat)
target chat-system-message (Chat) props [variant]
target chat-tokenized-text (Chat)
target chat-tool-calls (Chat)
target checkbox-indicator (CheckboxInput) props [size] states [checked, disabled]
target checkbox-indicator (Indicator) props [size] states [checked, disabled]
target checkbox-indicator-check (Indicator) props [size]
target checkbox-indicator-dash (Indicator) props [size]
target checkbox-input (CheckboxInput) props [size]
target checkbox-label (CheckboxInput)
target checkbox-list (CheckboxList)
target citation (Citation) props [variant]
target clickable-card (ClickableCard) props [variant]
target code (Code) props [color]
target code-block (CodeBlock) props [container, language, size]
target code-block-copy-button (CodeBlock)
target code-block-header (CodeBlock) props [container, language, size]
target code-block-title (CodeBlock) props [language, size]
target collapsible (Collapsible) props [density] states [divided]
target collapsible-content (Collapsible) props [density] states [open]
target collapsible-group (Collapsible) props [density]
target collapsible-trigger (Collapsible) props [chevronPosition, density] states [disabled, open]
target command-palette-empty (CommandPalette)
target command-palette-footer (CommandPalette)
target command-palette-group (CommandPalette)
target command-palette-group-heading (CommandPalette)
target command-palette-input (CommandPalette)
target command-palette-item (CommandPalette) states [disabled, highlighted, selected]
target command-palette-list (CommandPalette)
target complex-selector (ComplexSelector) props [size, status, variant]
target complex-selector-indicator-icon (ComplexSelector) states [state]
target complex-selector-popup (ComplexSelector)
target context-menu (ContextMenu)
target date-input (DateInput) props [size, status] states [disabled]
target date-input-toggle-icon (DateInput) states [state]
target date-range-input (DateRangeInput) props [size, status] states [disabled]
target date-range-input-preset (DateRangeInput) states [disabled, selected]
target date-range-input-presets (DateRangeInput)
target date-range-input-toggle-icon (DateRangeInput) states [state]
target date-time-input (DateTimeInput) props [size, status] states [disabled]
target date-time-input-clock-icon (DateTimeInput)
target date-time-input-date-segment (DateTimeInput) props [size, status]
target date-time-input-time-listbox (DateTimeInput)
target date-time-input-time-option (DateTimeInput)
target date-time-input-time-segment (DateTimeInput) props [size, status]
target date-time-input-toggle-icon (DateTimeInput) states [state]
target dialog (Dialog) props [variant]
target dialog-header (Dialog)
target dialog-header-close-icon (Dialog)
target dialog-header-end-content (Dialog)
target dialog-header-start-content (Dialog)
target dialog-header-title-block (Dialog)
target divider (Divider) props [orientation, variant]
target drawer (Drawer) props [side]
target drawer-header (Drawer)
target drawer-header-close-icon (Drawer)
target drawer-header-end-content (Drawer)
target drawer-header-start-content (Drawer)
target drawer-header-title-block (Drawer)
target dropdown-menu (DropdownMenu) props [presentation]
target dropdown-menu-divider (DropdownMenu)
target dropdown-menu-indicator-icon (DropdownMenu)
target dropdown-menu-item (DropdownMenu) props [size, variant]
target dropdown-menu-radio (DropdownMenu) props [size] states [checked, disabled]
target dropdown-menu-section-heading (DropdownMenu)
target empty-state (EmptyState) props [variant]
target empty-state-description (EmptyState) props [variant]
target empty-state-title (EmptyState) props [variant]
target field (Field) props [layout]
target field-label (Field)
target field-status (Field) props [type, variant]
target field-status (FieldStatus) props [type, variant]
target field-status-icon (FieldStatus) props [type]
target file-input (FileInput) props [mode, status]
target file-input-icon (FileInput) props [mode]
target form-layout (FormLayout) props [direction]
target grid (Grid) props [align, columns, gap, justify]
target grid-span (Grid)
target heading (Text) props [color, level, type, weight]
target hover-card (HoverCard)
target icon (Icon) props [color, size]
target input-clear-button (Field)
target input-clear-icon (Field)
target input-group (InputGroup) props [size, status]
target input-group-text (InputGroup)
target input-status-icon (Field) props [size, status]
target item (Item) props [align, density]
target item-swipe-action (Item) props [variant]
target item-swipe-panel (Item) props [side]
target kbd (Kbd)
target layout (Layout) props [height]
target layout-content (Layout)
target layout-footer (Layout)
target layout-header (Layout)
target layout-panel (Layout)
target lightbox (Lightbox)
target link (Link) props [color]
target list (List) props [density, listStyle]
target list-item (List)
target markdown (Markdown) props [density]
target markdown-blockquote (Markdown) props [density]
target markdown-codeblock (Markdown) props [density]
target markdown-heading (Markdown) props [density, level]
target markdown-hr (Markdown) props [density]
target markdown-image (Markdown) props [density]
target markdown-list (Markdown) props [density]
target markdown-paragraph (Markdown) props [density]
target markdown-table (Markdown) props [density]
target metadata-list (MetadataList) props [columns, orientation]
target metadata-list-item (MetadataList)
target mobile-nav (MobileNav) props [side]
target more-menu (MoreMenu)
target multi-selector (MultiSelector) props [size, status, variant] states [disabled, readonly]
target multi-selector-empty-state (MultiSelector)
target multi-selector-indicator-icon (MultiSelector) states [state]
target multi-selector-option (MultiSelector) props [size] states [disabled, select-all, selected]
target multi-selector-popup (MultiSelector)
target multi-selector-search (MultiSelector)
target multi-selector-section-heading (MultiSelector)
target nav-heading-menu (NavHeadingMenu) props [size]
target nav-heading-menu-item (NavHeadingMenu) props [size]
target nav-icon (NavIcon)
target number-input (NumberInput) props [size, status] states [disabled, readonly]
target outline (Outline) props [density]
target outline-indicator (Outline)
target outline-item (Outline) props [level] states [active]
target overflow-list (OverflowList)
target overlay (Overlay)
target overlay-scrim (Overlay) props [position]
target pagination (Pagination) props [size, variant]
target pagination-dot (Pagination) props [size] states [active]
target pagination-input-label (Pagination) props [size]
target pagination-input-total (Pagination) props [size]
target popover (Popover)
target power-search (PowerSearch)
target progress-bar (ProgressBar) props [variant]
target progress-bar-fill (ProgressBar) props [variant]
target progress-bar-mark (ProgressBar) props [placement, variant]
target progress-bar-track (ProgressBar)
target radio-indicator (Indicator) props [size] states [checked, disabled]
target radio-indicator (RadioList) props [size] states [checked, disabled]
target radio-indicator-dot (Indicator) props [size]
target radio-indicator-dot (RadioList) props [size]
target radio-list (RadioList) props [orientation, size]
target radio-list-item (RadioList) props [size] states [disabled, selected]
target resize-handle (Resizable) props [direction]
target resize-handle-pill (Resizable)
target scrollable-area (ScrollableArea) props [axis]
target section (Section) props [variant]
target segmented-control (SegmentedControl) props [size]
target segmented-control-item (SegmentedControl) props [size] states [disabled, selected]
target selectable-card (SelectableCard) props [selected, variant]
target selector (Selector) props [size, status, variant] states [disabled, readonly]
target selector-check (Selector)
target selector-empty-state (Selector)
target selector-indicator-icon (Selector) states [state]
target selector-option (Selector)
target selector-option-row (Selector) props [size] states [disabled, selected]
target selector-popup (Selector)
target selector-search (Selector)
target selector-section-heading (Selector)
target side-nav (SideNav) props [mode]
target side-nav-heading (SideNav)
target side-nav-item (SideNav) props [size] states [disabled, selected]
target side-nav-section (SideNav)
target skeleton (Skeleton)
target slider (Slider) props [orientation] states [disabled]
target slider-control (Slider) props [orientation] states [disabled]
target slider-thumb (Slider) props [orientation] states [disabled]
target slider-track (Slider) props [orientation]
target spinner (Spinner) props [shade, size]
target stack (Stack) props [direction, gap, wrap]
target stack-item (Stack) props [size]
target status-dot (StatusDot) props [variant]
target step (Stepper) props [progress, status]
target step-bar (Stepper)
target step-connector (Stepper)
target step-description (Stepper) props [progress, status]
target step-indicator (Stepper) props [progress, status]
target step-label (Stepper) props [disabled, progress, status]
target stepper (Stepper) props [indicatorPosition, orientation]
target stepper-frame (Stepper)
target stepper-summary (Stepper)
target switch (Switch) props [size] states [checked, disabled]
target switch-field (Switch) props [labelPosition, labelSpacing]
target switch-label (Switch)
target switch-thumb (Switch) props [size] states [checked]
target tab (TabList) states [selected]
target tab-indicator (TabList) states [selected]
target tab-list (TabList) props [size]
target tab-menu (TabList)
target tab-menu-dropdown (TabList)
target tab-menu-item (TabList)
target tab-scroll-button (TabList)
target tab-strip (TabList)
target table (Table)
target table-body (Table)
target table-cell (Table) props [density]
target table-footer (Table)
target table-header (Table)
target table-header-cell (Table) props [density]
target table-row (Table)
target table-scroll-wrapper (Table)
target text (Text) props [color, size, type]
target text-area (TextArea) props [size, status] states [disabled, readonly]
target text-area-control (TextArea)
target text-area-counter (TextArea)
target text-input (TextInput) props [size, status] states [disabled, readonly]
target thumbnail (Thumbnail)
target time-input (TimeInput) props [size, status] states [disabled]
target timer (Timer)
target timestamp (Timestamp) props [color, format, type]
target timestamp-copy-button (Timestamp)
target toast (Toast) props [type]
target toggle-button (ToggleButton) props [elevation] states [isPressed]
target toggle-button-group (ToggleButton)
target token (Token) props [color, size] states [disabled]
target tokenizer (Tokenizer) props [size, status] states [disabled]
target toolbar (Toolbar) states [size]
target tooltip (Tooltip)
target top-nav (TopNav) states [mode]
target top-nav-heading (TopNav)
target top-nav-item (TopNav) states [mode, selected]
target top-nav-mega-menu (TopNav) states [mode]
target top-nav-mega-menu-featured-card (TopNav)
target top-nav-mega-menu-item (TopNav) states [mode]
target top-nav-menu (TopNav)
target tree-list (TreeList) props [density, variant]
target tree-list-chevron (TreeList) states [state]
target tree-list-guide (TreeList)
target tree-list-item (TreeList) props [density] states [disabled, selected]
target tree-list-item-label (TreeList) states [selected]
target trigger-menu (Chat)
target typeahead (Typeahead) props [size, status]
target typeahead-dropdown (Typeahead)
target typeahead-empty-state (Typeahead)
target typeahead-item (Typeahead)
Public attributes
attr data-active (theme reflection on 2 targets)
attr data-align (theme reflection on 2 targets)
attr data-astryx-aspect-ratio-override (public data attribute)
attr data-astryx-edge-comp (public data attribute)
attr data-astryx-media (public data attribute)
attr data-astryx-menu-press (public data attribute)
attr data-astryx-pressable (public data attribute)
attr data-astryx-theme (public data attribute)
attr data-astryx-token (public data attribute)
attr data-astryx-token-value (public data attribute)
attr data-axis (theme reflection on 2 targets)
attr data-checked (theme reflection on 5 targets)
attr data-chevron-position (theme reflection on 1 target)
attr data-collapsed (theme reflection on 1 target)
attr data-color (theme reflection on 7 targets)
attr data-columns (theme reflection on 2 targets)
attr data-container (theme reflection on 5 targets)
attr data-density (theme reflection on 25 targets)
attr data-direction (theme reflection on 3 targets)
attr data-disabled (theme reflection on 30 targets)
attr data-divided (theme reflection on 1 target)
attr data-edge-fade (theme reflection on 1 target)
attr data-elevation (theme reflection on 5 targets)
attr data-format (theme reflection on 1 target)
attr data-gap (theme reflection on 3 targets)
attr data-height (theme reflection on 1 target)
attr data-highlighted (theme reflection on 1 target)
attr data-in-range (theme reflection on 1 target)
attr data-indicator-position (theme reflection on 1 target)
attr data-is-pressed (theme reflection on 1 target)
attr data-justify (theme reflection on 1 target)
attr data-label-position (theme reflection on 1 target)
attr data-label-spacing (theme reflection on 1 target)
attr data-language (theme reflection on 3 targets)
attr data-layout (theme reflection on 1 target)
attr data-level (theme reflection on 3 targets)
attr data-list-style (theme reflection on 1 target)
attr data-marker (theme reflection on 1 target)
attr data-mode (theme reflection on 8 targets)
attr data-nav (theme reflection on 1 target)
attr data-open (theme reflection on 2 targets)
attr data-orientation (theme reflection on 9 targets)
attr data-padding (theme reflection on 1 target)
attr data-placement (theme reflection on 1 target)
attr data-position (theme reflection on 1 target)
attr data-presentation (theme reflection on 1 target)
attr data-progress (theme reflection on 4 targets)
attr data-readonly (theme reflection on 5 targets)
attr data-select-all (theme reflection on 1 target)
attr data-selected (theme reflection on 14 targets)
attr data-sender (theme reflection on 2 targets)
attr data-shade (theme reflection on 1 target)
attr data-shape (theme reflection on 5 targets)
attr data-side (theme reflection on 3 targets)
attr data-size (theme reflection on 55 targets)
attr data-snap (theme reflection on 1 target)
attr data-state (theme reflection on 7 targets)
attr data-status (theme reflection on 24 targets)
attr data-today (theme reflection on 1 target)
attr data-type (theme reflection on 6 targets)
attr data-variant (theme reflection on 33 targets)
attr data-weight (theme reflection on 1 target)
attr data-wrap (theme reflection on 1 target)
Reachable members tagged internal
internal ThemeContext via .
internal ThemeContextValue via .
internal resetIcons via .
internal resetThemes via .