@xsolla/xui-primitives-core 0.112.0 → 0.113.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
@@ -115,6 +115,8 @@ interface TextProps {
115
115
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap";
116
116
  textAlign?: "left" | "center" | "right" | "justify";
117
117
  textDecoration?: "none" | "underline" | "line-through";
118
+ /** Limits text to N lines with ellipsis truncation (native equivalent of noWrap) */
119
+ numberOfLines?: number;
118
120
  style?: React.CSSProperties;
119
121
  className?: string;
120
122
  id?: string;
package/index.d.ts CHANGED
@@ -115,6 +115,8 @@ interface TextProps {
115
115
  whiteSpace?: "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap";
116
116
  textAlign?: "left" | "center" | "right" | "justify";
117
117
  textDecoration?: "none" | "underline" | "line-through";
118
+ /** Limits text to N lines with ellipsis truncation (native equivalent of noWrap) */
119
+ numberOfLines?: number;
118
120
  style?: React.CSSProperties;
119
121
  className?: string;
120
122
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-primitives-core",
3
- "version": "0.112.0",
3
+ "version": "0.113.0",
4
4
  "description": "Core type definitions for XUI primitives",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",