@keycloak/keycloak-ui-shared 26.6.4 → 26.7.1

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/main.d.ts CHANGED
@@ -21,7 +21,7 @@ export { FormPanel } from './scroll-form/FormPanel';
21
21
  export { ScrollForm, mainPageContentId } from './scroll-form/ScrollForm';
22
22
  export { FormSubmitButton, type FormSubmitButtonProps, } from './buttons/FormSubmitButton';
23
23
  export { UserProfileFields } from './user-profile/UserProfileFields';
24
- export { beerify, debeerify, isUserProfileError, label, setUserProfileServerError, } from './user-profile/utils';
24
+ export { beerify, debeerify, isBundleKey, isUserProfileError, label, setUserProfileServerError, } from './user-profile/utils';
25
25
  export type { UserFormFields } from './user-profile/utils';
26
26
  export { createNamedContext } from './utils/createNamedContext';
27
27
  export { getErrorDescription, getErrorMessage, getNetworkErrorMessage, getNetworkErrorDescription, } from './utils/errors';
@@ -34,7 +34,7 @@ export { default as KeycloakMasthead } from './masthead/Masthead';
34
34
  export { KeycloakSelect } from './select/KeycloakSelect';
35
35
  export type { Variant, KeycloakSelectProps } from './select/KeycloakSelect';
36
36
  export { KeycloakDataTable } from './controls/table/KeycloakDataTable';
37
- export type { Action, Field, DetailField, LoaderFunction, } from './controls/table/KeycloakDataTable';
37
+ export type { Action, Field, DetailField, LoaderFunction, SignaledLoader, } from './controls/table/KeycloakDataTable';
38
38
  export { PaginatingTableToolbar } from './controls/table/PaginatingTableToolbar';
39
39
  export { TableToolbar } from './controls/table/TableToolbar';
40
40
  export { ListEmptyState } from './controls/table/ListEmptyState';
@@ -20,6 +20,7 @@ type ErrorArray = {
20
20
  export type UserProfileError = {
21
21
  responseData: ErrorArray | FieldError;
22
22
  };
23
+ export declare const isBundleKey: (displayName: unknown) => boolean;
23
24
  export declare const label: (t: TFunction, text: string | undefined, fallback?: string, prefix?: string) => string;
24
25
  export declare const labelAttribute: (t: TFunction, attribute: UserProfileAttributeMetadata) => string;
25
26
  export declare const isRootAttribute: (attr?: string) => boolean | "" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keycloak/keycloak-ui-shared",
3
- "version": "26.6.4",
3
+ "version": "26.7.1",
4
4
  "type": "module",
5
5
  "main": "./dist/keycloak-ui-shared.js",
6
6
  "types": "./dist/keycloak-ui-shared.d.ts",
@@ -50,7 +50,7 @@
50
50
  "react-dom": "^18.3.1",
51
51
  "react-hook-form": "7.70.0",
52
52
  "react-i18next": "^16.5.1",
53
- "@keycloak/keycloak-admin-client": "26.6.4"
53
+ "@keycloak/keycloak-admin-client": "26.7.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/lodash-es": "^4.17.12",
@@ -58,11 +58,11 @@
58
58
  "@types/react-dom": "^18.3.5",
59
59
  "@vitejs/plugin-react-swc": "^4.2.2",
60
60
  "rollup-plugin-peer-deps-external": "^2.2.4",
61
- "vite": "^7.3.3",
61
+ "vite": "^7.3.5",
62
62
  "vite-plugin-checker": "^0.12.0",
63
63
  "vite-plugin-dts": "^4.5.4",
64
64
  "vite-plugin-lib-inject-css": "^2.2.2",
65
- "vitest": "^4.1.8"
65
+ "vitest": "^4.0.16"
66
66
  },
67
67
  "author": {
68
68
  "name": "Red Hat, Inc.",