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:
Yash Oswal
2026-02-03 19:11:08 +05:30
committed by Johan Persson
parent c8ae765724
commit becf8516d7
3 changed files with 34 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/ui': patch
---
export PasswordField component
+28
View File
@@ -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>
+1
View File
@@ -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';