backend.ai-ui 25.18.1 → 25.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,8 @@ export interface BAISelectProps<ValueType = any, OptionType extends BaseOptionTy
12
12
  bottomLoading?: boolean;
13
13
  footer?: React.ReactNode;
14
14
  endReached?: () => void;
15
+ searchAction?: (value: string) => Promise<void>;
15
16
  }
16
17
  declare function BAISelect<ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>({ ref, autoSelectOption, ghost, tooltip, atBottomThreshold, atBottomStateChange, footer, endReached, // Destructure the new prop
17
- ...selectProps }: BAISelectProps<ValueType, OptionType>): React.ReactElement;
18
+ searchAction, ...selectProps }: BAISelectProps<ValueType, OptionType>): React.ReactElement;
18
19
  export default BAISelect;
@@ -0,0 +1,7 @@
1
+ import { BAIAdminResourceGroupSelect_scalingGroupsV2Fragment$key } from '../../__generated__/BAIAdminResourceGroupSelect_scalingGroupsV2Fragment.graphql';
2
+ import { BAISelectProps } from '../BAISelect';
3
+ export interface BAIAdminResourceGroupSelectProps extends Omit<BAISelectProps, 'options' | 'labelInValue'> {
4
+ queryRef: BAIAdminResourceGroupSelect_scalingGroupsV2Fragment$key;
5
+ }
6
+ declare const BAIAdminResourceGroupSelect: ({ queryRef, loading, ...selectPropsWithoutLoading }: BAIAdminResourceGroupSelectProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default BAIAdminResourceGroupSelect;
@@ -31,3 +31,5 @@ export type { BAIDeactivateArtifactsModalProps, BAIDeactivateArtifactsModalArtif
31
31
  export { default as BAIActivateArtifactsModal } from './BAIActivateArtifactsModal';
32
32
  export type { BAIActivateArtifactsModalProps, BAIActivateArtifactsModalArtifactsFragmentKey, } from './BAIActivateArtifactsModal';
33
33
  export { default as BAIVFolderDeleteButton } from './BAIVFolderDeleteButton';
34
+ export { default as BAIAdminResourceGroupSelect } from './BAIAdminResourceGroupSelect';
35
+ export type { BAIAdminResourceGroupSelectProps } from './BAIAdminResourceGroupSelect';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend.ai-ui",
3
- "version": "25.18.1",
3
+ "version": "25.18.2",
4
4
  "description": "React components for Backend.AI",
5
5
  "repository": {
6
6
  "type": "git",