@@ -25,8 +25,9 @@ import { FieldRow } from '@rocket.chat/fuselage';
2525import { ForwardRefExoticComponent } from ' react' ;
2626import { IconProps } from ' @rocket.chat/fuselage' ;
2727import { InputBoxProps } from ' @rocket.chat/fuselage' ;
28- import { JSX as JSX_2 } from ' react/jsx-runtime ' ;
28+ import { JSX } from ' react' ;
2929import { Key } from ' react' ;
30+ import { MouseEventHandler } from ' react' ;
3031import { MultiSelectAnchorParams } from ' @rocket.chat/fuselage' ;
3132import { NumberInputProps } from ' @rocket.chat/fuselage' ;
3233import { PasswordInputProps } from ' @rocket.chat/fuselage' ;
@@ -54,7 +55,7 @@ error?: string;
5455} & RefAttributes <HTMLElement >, " ref" > & RefAttributes <HTMLElement >>;
5556
5657// @public (undocumented)
57- export function Field(input : FieldProps ): JSX_2 .Element ;
58+ export function Field(input : FieldProps ): JSX .Element ;
5859
5960// @public (undocumented)
6061export const FieldContext: Context <FieldContextValue >;
@@ -73,15 +74,15 @@ export type FieldContextValue = {
7374};
7475
7576// @public (undocumented)
76- export const FieldDescription: (input : FieldDescriptionProps ) => JSX_2 .Element ;
77+ export const FieldDescription: (input : FieldDescriptionProps ) => JSX .Element ;
7778
7879// @public (undocumented)
7980export type FieldDescriptionProps = {
8081 children: ReactNode ;
8182} & ComponentProps <typeof FieldDescription_2 >;
8283
8384// @public (undocumented)
84- export const FieldError: (input : FieldErrorProps ) => JSX_2 .Element ;
85+ export const FieldError: (input : FieldErrorProps ) => JSX .Element ;
8586
8687// @public (undocumented)
8788export type FieldErrorProps = {
@@ -91,15 +92,15 @@ export type FieldErrorProps = {
9192export { FieldGroup }
9293
9394// @public (undocumented)
94- export const FieldHint: (input : FieldHintProps ) => JSX_2 .Element ;
95+ export const FieldHint: (input : FieldHintProps ) => JSX .Element ;
9596
9697// @public (undocumented)
9798export type FieldHintProps = {
9899 children: ReactNode ;
99100} & ComponentProps <typeof FieldHint_2 >;
100101
101102// @public (undocumented)
102- export const FieldLabel: (props : FieldLabelProps ) => JSX_2 .Element ;
103+ export const FieldLabel: (props : FieldLabelProps ) => JSX .Element ;
103104
104105export { FieldLabelInfo }
105106
@@ -114,7 +115,7 @@ export type FieldProps = {
114115} & ComponentProps <typeof Field_2 >;
115116
116117// @public (undocumented)
117- export function FieldProvider(input : FieldProviderProps ): JSX_2 .Element ;
118+ export function FieldProvider(input : FieldProviderProps ): JSX .Element ;
118119
119120// @public (undocumented)
120121export type FieldProviderProps = {
@@ -127,13 +128,13 @@ export { FieldRow }
127128export type FieldType = ' wrappedByLabel' | ' referencedByLabel' | ' referencedByInput' ;
128129
129130// @public (undocumented)
130- export const HiddenLabel: (input : HiddenLabelProps ) => JSX_2 .Element ;
131+ export const HiddenLabel: (input : HiddenLabelProps ) => JSX .Element ;
131132
132133// @public (undocumented)
133134export type HiddenLabelProps = ComponentProps <typeof FieldLabel_2 >;
134135
135136// @public (undocumented)
136- export const LabelFor: (input : LabelForProps ) => JSX_2 .Element ;
137+ export const LabelFor: (input : LabelForProps ) => JSX .Element ;
137138
138139// @public (undocumented)
139140export type LabelForProps = ComponentProps <typeof FieldLabel_2 >;
@@ -153,7 +154,12 @@ customEmpty?: string;
153154anchor? : ElementType <MultiSelectAnchorParams > | ((params : MultiSelectAnchorParams ) => ReactNode );
154155renderOptions? : ElementType ;
155156renderItem? : ElementType ;
156- renderSelected? : ElementType ;
157+ renderSelected? : ElementType < {
158+ value: SelectOption [0 ];
159+ label: SelectOption [1 ];
160+ onMouseDown: MouseEventHandler ;
161+ children: ReactNode ;
162+ }>;
157163addonIcon? : IconProps [" name" ];
158164setFilter? : (filter : string ) => void ;
159165} & RefAttributes <HTMLInputElement >, " ref" > & RefAttributes <HTMLInputElement >>;
@@ -170,7 +176,12 @@ customEmpty?: string;
170176anchor? : ElementType <MultiSelectAnchorParams > | ((params : MultiSelectAnchorParams ) => ReactNode );
171177renderOptions? : ElementType ;
172178renderItem? : ElementType ;
173- renderSelected? : ElementType ;
179+ renderSelected? : ElementType < {
180+ value: SelectOption [0 ];
181+ label: SelectOption [1 ];
182+ onMouseDown: MouseEventHandler ;
183+ children: ReactNode ;
184+ }>;
174185addonIcon? : IconProps [" name" ];
175186setFilter? : (filter : string ) => void ;
176187} & {
@@ -191,7 +202,7 @@ labelChildren?: ReactNode;
191202} & RefAttributes <HTMLInputElement >, " ref" > & RefAttributes <HTMLInputElement >>;
192203
193204// @public (undocumented)
194- export const ReferencedLabel: (input : ReferencedLabelProps ) => JSX_2 .Element ;
205+ export const ReferencedLabel: (input : ReferencedLabelProps ) => JSX .Element ;
195206
196207// @public (undocumented)
197208export type ReferencedLabelProps = ComponentProps <typeof FieldLabel_2 >;
@@ -203,7 +214,7 @@ error?: string;
203214} & RefAttributes <HTMLInputElement >, " ref" > & RefAttributes <HTMLInputElement >>;
204215
205216// @public (undocumented)
206- export const Select: ForwardRefExoticComponent <Omit <Omit <AriaSelectProps <object >, " value " | " children " | " onChange" > & {
217+ export const Select: ForwardRefExoticComponent <Omit <Omit <AriaSelectProps <object >, " children " | " value " | " onChange" > & {
207218error? : string ;
208219placeholder? : string ;
209220value? : Key | null | undefined ;
0 commit comments