@keycloak/keycloak-ui-shared 26.4.7 → 26.5.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.
@@ -15,7 +15,7 @@ export type BaseEnvironment = {
15
15
  clientId: string;
16
16
  /** The base URL of the resources. */
17
17
  resourceUrl: string;
18
- /** The source URL for the the logo image. */
18
+ /** The source URL for the logo image. */
19
19
  logo: string;
20
20
  /** The URL to be followed when the logo is clicked. */
21
21
  logoUrl: string;
@@ -52,7 +52,7 @@ export type DataListProps<T> = Omit<TableProps, "rows" | "cells" | "onSelect"> &
52
52
  * @param {DataListProps} props - The properties.
53
53
  * @param {string} props.ariaLabelKey - The aria label key i18n key to lookup the label
54
54
  * @param {string} props.searchPlaceholderKey - The i18n key to lookup the placeholder for the search box
55
- * @param {boolean} props.isPaginated - if true the the loader will be called with first, max and search and a pager will be added in the header
55
+ * @param {boolean} props.isPaginated - if true, the loader will be called with first, max and search and a pager will be added in the header
56
56
  * @param {(first?: number, max?: number, search?: string) => Promise<T[]>} props.loader - loader function that will fetch the data to display first, max and search are only applicable when isPaginated = true
57
57
  * @param {Field<T>} props.columns - definition of the columns
58
58
  * @param {Field<T>} props.detailColumns - definition of the columns expandable columns
@@ -8,7 +8,7 @@ export declare enum SelectVariant {
8
8
  export declare const propertyToString: (prop: string | number | undefined) => string | undefined;
9
9
  export type KeycloakSelectProps = Omit<SelectProps, "name" | "toggle" | "selected" | "onClick" | "onSelect" | "variant"> & {
10
10
  toggleId?: string;
11
- onFilter?: (value: string) => JSX.Element[];
11
+ onFilter?: (value: string) => void;
12
12
  onClear?: () => void;
13
13
  variant?: Variant;
14
14
  isDisabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keycloak/keycloak-ui-shared",
3
- "version": "26.4.7",
3
+ "version": "26.5.0",
4
4
  "type": "module",
5
5
  "main": "./dist/keycloak-ui-shared.js",
6
6
  "types": "./dist/keycloak-ui-shared.d.ts",
@@ -43,27 +43,38 @@
43
43
  "@patternfly/react-icons": "^5.4.2",
44
44
  "@patternfly/react-styles": "^5.4.1",
45
45
  "@patternfly/react-table": "^5.4.16",
46
- "i18next": "^25.5.2",
47
- "keycloak-js": "^26.2.0",
48
- "lodash-es": "^4.17.21",
46
+ "i18next": "^25.7.3",
47
+ "keycloak-js": "^26.2.2",
48
+ "lodash-es": "^4.17.22",
49
49
  "react": "^18.3.1",
50
50
  "react-dom": "^18.3.1",
51
- "react-hook-form": "7.63.0",
52
- "react-i18next": "^15.7.3",
53
- "@keycloak/keycloak-admin-client": "26.4.7"
51
+ "react-hook-form": "7.70.0",
52
+ "react-i18next": "^16.5.1",
53
+ "@keycloak/keycloak-admin-client": "26.5.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/lodash-es": "^4.17.12",
57
57
  "@types/react": "^18.3.18",
58
58
  "@types/react-dom": "^18.3.5",
59
- "@vitejs/plugin-react-swc": "^4.1.0",
59
+ "@vitejs/plugin-react-swc": "^4.2.2",
60
60
  "rollup-plugin-peer-deps-external": "^2.2.4",
61
- "vite": "^7.1.6",
62
- "vite-plugin-checker": "^0.10.3",
61
+ "vite": "^7.3.0",
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
65
  "vitest": "^3.2.4"
66
66
  },
67
+ "author": {
68
+ "name": "Red Hat, Inc.",
69
+ "url": "https://www.keycloak.org/"
70
+ },
71
+ "license": "Apache-2.0",
72
+ "repository": {
73
+ "type": "git",
74
+ "url": "https://github.com/keycloak/keycloak.git",
75
+ "directory": "js/libs/ui-shared"
76
+ },
77
+ "homepage": "https://www.keycloak.org/",
67
78
  "scripts": {
68
79
  "build": "wireit",
69
80
  "lint": "wireit"