@connectid-tools/idp-selector-react 6.5.0 → 6.5.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/IdpLogoList.js +4 -1
- package/README.md +3 -0
- package/package.json +2 -2
package/IdpLogoList.js
CHANGED
|
@@ -9,5 +9,8 @@ export const IdpLogoList = ({ loading, logoLockupStyle }) => {
|
|
|
9
9
|
if (loading) {
|
|
10
10
|
return (_jsx("div", { className: "cid-idp-selector-idp-logo-list-skeleton-wrapper", children: _jsx(Skeleton, { height: "24px", width: "120px", dataTestId: "idp-logo-list-loading" }) }));
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
const isDarkMode = logoLockupStyle === 'dark';
|
|
13
|
+
const imgSrc = isDarkMode ? logoLockupUrl.dark : logoLockupUrl.light;
|
|
14
|
+
const dataTestId = isDarkMode ? 'logo-lockup-dark' : 'logo-lockup-light';
|
|
15
|
+
return (_jsx("div", { className: "cid-idp-selector-idp-logo-list-wrapper", "data-testid": "idp-logo-list-wrapper", children: _jsx("img", { "data-testid": dataTestId, className: "cid-logo-lockup", src: imgSrc, alt: "List of available providers" }) }));
|
|
13
16
|
};
|
package/README.md
CHANGED
|
@@ -220,6 +220,9 @@ The SVG image below the ConnectID button has either option dark or light mode. B
|
|
|
220
220
|
|
|
221
221
|
## 🚀 Release Notes
|
|
222
222
|
|
|
223
|
+
### 6.5.1 (Apr 29, 2025)
|
|
224
|
+
- Add `alt` attribute to logo lockup image.
|
|
225
|
+
|
|
223
226
|
### 6.5.0 (Apr 28, 2025)
|
|
224
227
|
- Add new `introTextType` options: `bank-details-only` and `bank-details-plus-personal-info`.
|
|
225
228
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@connectid-tools/idp-selector-react",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.1",
|
|
4
4
|
"description": "React component for IDP Selector.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"homepage": "https://github.com/connectid-tools/idp-selector-react",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/preset-typescript": "^7.27.0",
|
|
29
|
-
"@types/node": "^22.15.
|
|
29
|
+
"@types/node": "^22.15.3",
|
|
30
30
|
"@types/react": "^18.3.20",
|
|
31
31
|
"@types/react-dom": "^18.3.6",
|
|
32
32
|
"cypress": "^13.17.0",
|