@keycloakify/keycloak-ui-shared 26.0.6004 → 26.0.7002
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.
|
@@ -57,7 +57,7 @@ const Domains = (org: OrganizationRepresentation) => {
|
|
|
57
57
|
);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
type OrganizationTableProps = PropsWithChildren & {
|
|
60
|
+
export type OrganizationTableProps = PropsWithChildren & {
|
|
61
61
|
loader:
|
|
62
62
|
| LoaderFunction<OrganizationRepresentation>
|
|
63
63
|
| OrganizationRepresentation[];
|
|
@@ -66,6 +66,7 @@ type OrganizationTableProps = PropsWithChildren & {
|
|
|
66
66
|
>;
|
|
67
67
|
toolbarItem?: ReactNode;
|
|
68
68
|
isPaginated?: boolean;
|
|
69
|
+
isSearching?: boolean;
|
|
69
70
|
onSelect?: (orgs: OrganizationRepresentation[]) => void;
|
|
70
71
|
onDelete?: (org: OrganizationRepresentation) => void;
|
|
71
72
|
deleteLabel?: string;
|
|
@@ -75,6 +76,7 @@ export const OrganizationTable = ({
|
|
|
75
76
|
loader,
|
|
76
77
|
toolbarItem,
|
|
77
78
|
isPaginated = false,
|
|
79
|
+
isSearching = false,
|
|
78
80
|
onSelect,
|
|
79
81
|
onDelete,
|
|
80
82
|
deleteLabel = "delete",
|
|
@@ -87,8 +89,8 @@ export const OrganizationTable = ({
|
|
|
87
89
|
<KeycloakDataTable
|
|
88
90
|
loader={loader}
|
|
89
91
|
isPaginated={isPaginated}
|
|
92
|
+
isSearching={isSearching}
|
|
90
93
|
ariaLabelKey="organizationList"
|
|
91
|
-
searchPlaceholderKey="searchOrganization"
|
|
92
94
|
toolbarItem={toolbarItem}
|
|
93
95
|
onSelect={onSelect}
|
|
94
96
|
canSelectAll={onSelect !== undefined}
|
|
@@ -119,6 +121,10 @@ export const OrganizationTable = ({
|
|
|
119
121
|
name: "description",
|
|
120
122
|
displayKey: "description",
|
|
121
123
|
},
|
|
124
|
+
{
|
|
125
|
+
name: "membershipType",
|
|
126
|
+
displayKey: "membershipType",
|
|
127
|
+
},
|
|
122
128
|
]}
|
|
123
129
|
emptyState={children}
|
|
124
130
|
/>
|
|
@@ -17,7 +17,7 @@ export enum SelectVariant {
|
|
|
17
17
|
export const propertyToString = (prop: string | number | undefined) =>
|
|
18
18
|
typeof prop === "number" ? prop + "px" : prop;
|
|
19
19
|
|
|
20
|
-
export type KeycloakSelectProps
|
|
20
|
+
export type KeycloakSelectProps = Omit<
|
|
21
21
|
SelectProps,
|
|
22
22
|
"name" | "toggle" | "selected" | "onClick" | "onSelect"
|
|
23
23
|
> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keycloakify/keycloak-ui-shared",
|
|
3
|
-
"version": "26.0.
|
|
3
|
+
"version": "26.0.7002",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git://github.com/keycloakify/keycloak-ui-shared.git"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"react-dom": "^18.3.1",
|
|
20
20
|
"react-hook-form": "7.53.0",
|
|
21
21
|
"react-i18next": "^15.0.2",
|
|
22
|
-
"keycloak-
|
|
23
|
-
"
|
|
22
|
+
"@keycloak/keycloak-admin-client": "26.0.7",
|
|
23
|
+
"keycloak-js": "26.0.7",
|
|
24
24
|
"@types/lodash-es": "^4.17.12",
|
|
25
25
|
"@types/react": "^18.3.11",
|
|
26
26
|
"@types/react-dom": "^18.3.0"
|