@ansible/ansible-ui-framework 2.4.2631 → 2.4.2633

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,5 +26,6 @@ export type FormGroupSingleSelectTypeAheadProps = {
26
26
  }> | null;
27
27
  onHandleClear: () => void;
28
28
  isRequired?: boolean;
29
+ toggleButtonId?: string;
29
30
  };
30
31
  export declare function FormGroupSingleSelectTypeAhead(props: FormGroupSingleSelectTypeAheadProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,9 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
2
  import { FieldPath, FieldPathValue, FieldValues, Validate } from 'react-hook-form';
3
+ export interface SelectOptionObject {
4
+ toString(): string;
5
+ compareTo?(selectOption: unknown): boolean;
6
+ }
3
7
  export type PageFormCreatableSelectProps<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
4
8
  id?: string;
5
9
  name: TFieldName;
@@ -16,5 +20,6 @@ export type PageFormCreatableSelectProps<TFieldValues extends FieldValues = Fiel
16
20
  isRequired?: boolean;
17
21
  validate?: Validate<FieldPathValue<TFieldValues, TFieldName>, TFieldValues> | Record<string, Validate<FieldPathValue<TFieldValues, TFieldName>, TFieldValues>>;
18
22
  isMulti?: boolean;
23
+ toggleButtonId?: string;
19
24
  };
20
25
  export declare function PageFormCreatableSelect<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: PageFormCreatableSelectProps<TFieldValues, TFieldName>): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "A framework for building applications using PatternFly.",
4
- "version": "2.4.2631",
4
+ "version": "2.4.2633",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",