@xsolla/xui-input-password 0.150.0 → 0.151.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/README.md +2 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -6,8 +6,6 @@ A cross-platform React password input component with visibility toggle, validati
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install @xsolla/xui-input-password
|
|
9
|
-
# or
|
|
10
|
-
yarn add @xsolla/xui-input-password
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
## Demo
|
|
@@ -214,8 +212,8 @@ export default function PasswordSizes() {
|
|
|
214
212
|
## Behavior
|
|
215
213
|
|
|
216
214
|
- **Visibility Toggle**: The eye icon reflects the current state of the password:
|
|
217
|
-
- Open eye
|
|
218
|
-
- Closed eye
|
|
215
|
+
- Open eye = Password is currently **visible** (type="text")
|
|
216
|
+
- Closed eye = Password is currently **hidden** (type="password")
|
|
219
217
|
- This follows modern design system conventions (Material, Apple, Atlassian, Polaris)
|
|
220
218
|
- Checkmark appears when `extraCheckup` returns true
|
|
221
219
|
- Clear button appears when input has value and `extraClear` is true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-input-password",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.151.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xsolla/xui-core": "0.
|
|
17
|
-
"@xsolla/xui-icons-base": "0.
|
|
18
|
-
"@xsolla/xui-primitives-core": "0.
|
|
16
|
+
"@xsolla/xui-core": "0.151.0",
|
|
17
|
+
"@xsolla/xui-icons-base": "0.151.0",
|
|
18
|
+
"@xsolla/xui-primitives-core": "0.151.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": ">=16.8.0",
|