An open source design system that's fully customizable and agent ready
TypeScript
chore(api-report): regenerate the core and richtext API reports (#9344)
Cindy Zhang2ad112af20d9
diff --git a/packages/core/api-report.md b/packages/core/api-report.mdindex a4af448ddd..0e61e81d38 100644--- a/packages/core/api-report.md+++ b/packages/core/api-report.md@@ -764,7 +764,7 @@ component ComplexSelector(props: ComplexSelectorProps)prop size?: ComplexSelectorSizeprop startIcon?: ReactNode | IconTypeprop status?: ComplexSelectorStatus- prop statusVariant?: FieldStatusVariant = 'attached' for input selectors; 'detached' for secondary and ghost selectors+ prop statusVariant?: FieldStatusPlacement = 'attached' for input selectors; 'detached' for secondary and ghost selectorsprop triggerLabel?: ReactNodeprop value: Valueprop variant?: ComplexSelectorVariant@@ -889,7 +889,7 @@ component DateInput(props: DateInputProps)prop ref?: React.Ref<HTMLInputElement>prop size?: DateInputSize = 'md'prop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop value?: ISODateStringprop weekStartsOn?: DayOfWeek | DayOfWeekName = 0prop width?: SizeValue@@ -924,7 +924,7 @@ component DateRangeInput(props: DateRangeInputProps)prop ref?: React.Ref<HTMLButtonElement>prop size?: DateRangeInputSize = 'md'prop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop value: DateRange | nullprop weekStartsOn?: DayOfWeek | DayOfWeekName = 0prop width?: SizeValue@@ -1145,7 +1145,7 @@ component Field(props: FieldProps)prop labelTooltip?: stringprop ref?: React.Ref<HTMLDivElement>prop status?: FieldStatusInput- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop width?: SizeValueprop xstyle?: StyleXStylesinherits AriaAttributes, DOMAttributes, HTMLAttributes@@ -1165,11 +1165,11 @@ component FieldLabel(props: FieldLabelProps)prop ref?: React.Ref<HTMLLabelElement>prop xstyle?: StyleXStylesinherits AriaAttributes, DOMAttributes, HTMLAttributes-component FieldStatus(props: FieldStatusProps)+component FieldStatus @deprecatedprop message: stringprop ref?: React.Ref<HTMLDivElement>prop type: InputStatusType- prop variant?: FieldStatusVariant = 'attached'+ prop variant: FieldStatusVariant = 'attached'prop xstyle?: StyleXStylesinherits AriaAttributes, DOMAttributes, HTMLAttributescomponent FileInput(props: FileInputProps)@@ -1198,7 +1198,7 @@ component FileInput(props: FileInputProps)prop placeholder?: string = "Choose file" or "Choose files"prop ref?: React.Ref<HTMLInputElement>prop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop value: File | File[] | nullprop width?: SizeValueinherits AriaAttributes, DOMAttributes, HTMLAttributes@@ -1641,7 +1641,7 @@ component MultiSelector(props: MultiSelectorProps)prop size?: MultiSelectorSize = 'md'prop startIcon?: ReactNode | IconTypeprop status?: MultiSelectorStatus- prop statusVariant?: FieldStatusVariant = 'attached' for input selectors; 'detached' for secondary and ghost selectors+ prop statusVariant?: FieldStatusPlacement = 'attached' for input selectors; 'detached' for secondary and ghost selectorsprop triggerDisplay?: 'count' | 'labels' | 'badges' = 'count'prop value: string[]prop variant?: MultiSelectorVariant = 'input'@@ -1706,7 +1706,7 @@ component NumberInput(props: NumberInputProps)prop size?: NumberInputSize = 'md'prop startIcon?: ReactNode | IconTypeprop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop step?: number | null = 1prop units?: string | nullprop value: number | null | undefined@@ -1823,7 +1823,7 @@ component PowerSearch(props: PowerSearchProps)prop size?: PowerSearchSize = 'md'prop startIcon?: ReactNode | IconTypeprop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop timezoneID?: stringprop tokenOverflowBehavior?: TokenizerOverflowBehavior = 'none'prop xstyle?: StyleXStyles@@ -2038,7 +2038,7 @@ component Selector(props: SelectorProps)prop size?: SelectorSize = 'md'prop startIcon?: ReactNode | IconTypeprop status?: SelectorStatus- prop statusVariant?: FieldStatusVariant = 'attached' for input selectors; 'detached' for secondary/ghost selectors+ prop statusVariant?: FieldStatusPlacement = 'attached' for input selectors; 'detached' for secondary/ghost selectorsprop value?: stringprop variant?: SelectorVariant = 'input'prop width?: SizeValue@@ -2419,7 +2419,7 @@ component TextArea(props: TextAreaProps)prop size?: TextAreaSize = 'md'prop startIcon?: ReactNode | IconTypeprop status?: TextAreaStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop value: stringprop width?: SizeValueinherits AriaAttributes, DOMAttributes, HTMLAttributes@@ -2453,7 +2453,7 @@ component TextInput(props: TextInputProps)prop size?: TextInputSize = 'md'prop startIcon?: ReactNode | IconTypeprop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop type?: TextInputType = 'text'prop value: stringprop width?: SizeValue@@ -2506,7 +2506,7 @@ component TimeInput(props: TimeInputProps)prop ref?: React.Ref<HTMLInputElement>prop size?: TimeInputSize = 'md'prop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop value?: ISOTimeStringprop width?: SizeValueinherits AriaAttributes, DOMAttributes, HTMLAttributes@@ -2631,7 +2631,7 @@ component Tokenizer(props: TokenizerProps)prop size?: TokenizerSize = 'md'prop startIcon?: ReactNode | IconTypeprop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop tokenOverflowBehavior?: TokenizerOverflowBehavior = 'none'prop value: T[]prop width?: SizeValue@@ -2788,7 +2788,7 @@ component Typeahead(props: TypeaheadProps)prop size?: TypeaheadSize = 'md'prop startIcon?: ReactNode | IconTypeprop status?: InputStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusPlacement = 'attached'prop value: T | nullprop width?: SizeValueinherits AriaAttributes, DOMAttributes, HTMLAttributes@@ -4257,13 +4257,19 @@ interface FieldStatusInputmessage?: stringmessageID?: stringtype: FieldStatusType-interface FieldStatusProps extends BaseProps<HTMLDivElement> (props of FieldStatus)+interface FieldStatusProps extends BaseProps<HTMLDivElement>+ message: string+ ref?: React.Ref<HTMLDivElement>+ type: InputStatusType+ variant?: FieldStatusVariant = 'attached'+ xstyle?: StyleXStyles+ inherits AriaAttributes, DOMAttributes, HTMLAttributestype FieldStatusType = 'warning' | 'error' | 'success'type FieldStatusVariant = keyof FieldStatusVariantMapinterface FieldStatusVariantMapattached: truedetached: true- tooltip: true+ tooltip: true @deprecatedinterface FileInputProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue' | 'value'> (props of FileInput)interface FileInputStatusmessage?: string@@ -5049,10 +5055,12 @@ interface ScrollableAreaStateinline: ScrollAxisStatetype ScrollableAreaStickyContainment = ScrollStickyContainmenttype ScrollableElementProps<E extends HTMLElement> = BaseProps<E> & RefAttributes<E>+interface SearchContext<T extends SearchableItem = SearchableItem>+ update: (items: T[]) => voidinterface SearchSource<T extends SearchableItem = SearchableItem>bootstrap: () => Promise<T[]> | T[]cancel?: () => void- search: (query: string) => Promise<T[]> | T[]+ search: (query: string, context?: SearchContext<T>) => Promise<T[]> | T[]interface SearchableItem<TAuxData = unknown>action?: ReactNodeauxiliaryData?: TAuxData@@ -5866,7 +5874,7 @@ interface UseInputStatusIconOptionsisInGroup?: booleansize?: IconSize = 'md'status?: InputStatus- statusVariant?: FieldStatusVariant+ statusVariant?: FieldStatusPlacementinterface UseInputStatusIconReturndescribedBy: string | undefinedstatusIcon: ReactNode@@ -8925,6 +8933,7 @@ TreeListVariantMap (.)BaseTypeahead (.)BaseTypeaheadProps (.)CreateStaticSourceOptions (.)+SearchContext (.)SearchSource (.)SearchableItem (.)Typeahead (.)diff --git a/packages/richtext/api-report.md b/packages/richtext/api-report.mdindex 98c36025cd..d1022a8ec1 100644--- a/packages/richtext/api-report.md+++ b/packages/richtext/api-report.md@@ -31,7 +31,7 @@ component RichTextEditor(props: RichTextEditorProps)prop ref?: Ref<RichTextEditorRef>prop size?: RichTextEditorSize = 'md'prop status?: RichTextEditorStatus- prop statusVariant?: FieldStatusVariant = 'attached'+ prop statusVariant?: FieldStatusVariant | 'tooltip' = 'attached'prop tabEscapeHint?: string = 'Press Escape then Tab to move focus out of the editor.', translated for the active localeprop toolbar?: ReactNodeprop transformers?: ReadonlyArray<Transformer>