@keycloak/keycloak-ui-shared 26.1.4 → 26.2.0
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.
- package/dist/controls/OrganizationTable.d.ts +2 -1
- package/dist/controls/select-control/SelectControl.d.ts +1 -0
- package/dist/controls/select-control/SingleSelectControl.d.ts +1 -1
- package/dist/keycloak-ui-shared.js +814 -795
- package/dist/masthead/Masthead.d.ts +2 -1
- package/dist/select/KeycloakSelect.d.ts +1 -1
- package/package.json +14 -14
|
@@ -9,8 +9,9 @@ export type OrganizationTableProps = PropsWithChildren & {
|
|
|
9
9
|
toolbarItem?: ReactNode;
|
|
10
10
|
isPaginated?: boolean;
|
|
11
11
|
isSearching?: boolean;
|
|
12
|
+
searchPlaceholderKey?: string;
|
|
12
13
|
onSelect?: (orgs: OrganizationRepresentation[]) => void;
|
|
13
14
|
onDelete?: (org: OrganizationRepresentation) => void;
|
|
14
15
|
deleteLabel?: string;
|
|
15
16
|
};
|
|
16
|
-
export declare const OrganizationTable: ({ loader, toolbarItem, isPaginated, isSearching, onSelect, onDelete, deleteLabel, link, children, }: OrganizationTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const OrganizationTable: ({ loader, toolbarItem, isPaginated, isSearching, searchPlaceholderKey, onSelect, onDelete, deleteLabel, link, children, }: OrganizationTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -23,6 +23,7 @@ export type SelectControlProps<T extends FieldValues, P extends FieldPath<T> = F
|
|
|
23
23
|
menuAppendTo?: string;
|
|
24
24
|
placeholderText?: string;
|
|
25
25
|
chipGroupProps?: ChipGroupProps;
|
|
26
|
+
onSelect?: (value: string | string[], onChangeHandler: (value: string | string[]) => void) => void;
|
|
26
27
|
};
|
|
27
28
|
export declare const isSelectBasedOptions: (options: OptionType) => options is SelectControlOption[];
|
|
28
29
|
export declare const isString: (option: SelectControlOption | string) => option is string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FieldPath, FieldValues } from 'react-hook-form';
|
|
2
2
|
import { SelectControlProps } from './SelectControl';
|
|
3
|
-
export declare const SingleSelectControl: <T extends FieldValues, P extends FieldPath<T> = FieldPath<T>>({ id, name, label, options, controller, labelIcon, ...rest }: SelectControlProps<T, P>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const SingleSelectControl: <T extends FieldValues, P extends FieldPath<T> = FieldPath<T>>({ id, name, label, options, controller, labelIcon, isDisabled, onSelect, ...rest }: SelectControlProps<T, P>) => import("react/jsx-runtime").JSX.Element;
|