fix(ui): export PasswordField component
Add the missing export for the PasswordField component in the main entry point of the UI package. This ensures the component is properly exposed and available for use by external consumers. Signed-off-by: Yash Oswal <yoswal@redhat.com>
This commit is contained in:
committed by
Johan Persson
parent
c8ae765724
commit
becf8516d7
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
export PasswordField component
|
||||
@@ -1396,6 +1396,34 @@ export interface PaginationOptions
|
||||
initialOffset?: number;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const PasswordField: ForwardRefExoticComponent<
|
||||
PasswordFieldProps & RefAttributes<HTMLDivElement>
|
||||
>;
|
||||
|
||||
// @public
|
||||
export const PasswordFieldDefinition: {
|
||||
readonly classNames: {
|
||||
readonly root: 'bui-PasswordField';
|
||||
readonly inputWrapper: 'bui-PasswordFieldInputWrapper';
|
||||
readonly input: 'bui-PasswordFieldInput';
|
||||
readonly inputIcon: 'bui-PasswordFieldIcon';
|
||||
readonly inputVisibility: 'bui-PasswordFieldVisibility';
|
||||
};
|
||||
readonly dataAttributes: {
|
||||
readonly size: readonly ['small', 'medium'];
|
||||
};
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export interface PasswordFieldProps
|
||||
extends TextFieldProps_2,
|
||||
Omit<FieldLabelProps, 'htmlFor' | 'id' | 'className'> {
|
||||
icon?: ReactNode;
|
||||
placeholder?: string;
|
||||
size?: 'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>;
|
||||
}
|
||||
|
||||
// @public
|
||||
export const Popover: ForwardRefExoticComponent<
|
||||
PopoverProps & RefAttributes<HTMLDivElement>
|
||||
|
||||
@@ -46,6 +46,7 @@ export * from './components/Tabs';
|
||||
export * from './components/TagGroup';
|
||||
export * from './components/Text';
|
||||
export * from './components/TextField';
|
||||
export * from './components/PasswordField';
|
||||
export * from './components/Tooltip';
|
||||
export * from './components/Menu';
|
||||
export * from './components/Popover';
|
||||
|
||||
Reference in New Issue
Block a user