@xsolla/xui-primitives-core 0.189.3 → 0.191.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/index.d.mts CHANGED
@@ -201,6 +201,8 @@ interface TextAreaPrimitiveProps extends Omit<InputPrimitiveProps, "onKeyDown" |
201
201
  onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
202
202
  rows?: number;
203
203
  autoSize?: boolean;
204
+ /** When true, value cannot be edited but the field remains focusable (unlike disabled). */
205
+ readOnly?: boolean;
204
206
  testID?: string;
205
207
  }
206
208
  interface LinearGradientProps {
package/index.d.ts CHANGED
@@ -201,6 +201,8 @@ interface TextAreaPrimitiveProps extends Omit<InputPrimitiveProps, "onKeyDown" |
201
201
  onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
202
202
  rows?: number;
203
203
  autoSize?: boolean;
204
+ /** When true, value cannot be edited but the field remains focusable (unlike disabled). */
205
+ readOnly?: boolean;
204
206
  testID?: string;
205
207
  }
206
208
  interface LinearGradientProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-primitives-core",
3
- "version": "0.189.3",
3
+ "version": "0.191.0",
4
4
  "description": "Core type definitions for XUI primitives",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",