@xsolla/xui-input-copy 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.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -6,8 +6,6 @@ A cross-platform React input component that includes a copy-to-clipboard button.
6
6
 
7
7
  ```bash
8
8
  npm install @xsolla/xui-input-copy
9
- # or
10
- yarn add @xsolla/xui-input-copy
11
9
  ```
12
10
 
13
11
  ## Demo
@@ -167,8 +165,8 @@ export default function ErrorInputCopy() {
167
165
 
168
166
  - **Copy Button**: Shows checkmark icon briefly (2 seconds) after successful copy
169
167
  - **Visibility Toggle**: When `secureTextEntry` is enabled, the eye icon reflects the current state:
170
- - Open eye (👁️) = Text is currently **visible** (type="text")
171
- - Closed eye (🙈) = Text is currently **hidden** (type="password")
168
+ - Open eye = Text is currently **visible** (type="text")
169
+ - Closed eye = Text is currently **hidden** (type="password")
172
170
  - This follows modern design system conventions (Material, Apple, Atlassian, Polaris)
173
171
  - Uses browser Clipboard API for copying
174
172
  - Error state shows red border and error message
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-input-copy",
3
- "version": "0.150.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,11 +13,11 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-button": "0.150.0",
17
- "@xsolla/xui-core": "0.150.0",
18
- "@xsolla/xui-icons-base": "0.150.0",
19
- "@xsolla/xui-input": "0.150.0",
20
- "@xsolla/xui-primitives-core": "0.150.0"
16
+ "@xsolla/xui-button": "0.151.0",
17
+ "@xsolla/xui-core": "0.151.0",
18
+ "@xsolla/xui-icons-base": "0.151.0",
19
+ "@xsolla/xui-input": "0.151.0",
20
+ "@xsolla/xui-primitives-core": "0.151.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=16.8.0",