@xsolla/xui-b2c-image-thumbnail 0.196.1 → 0.197.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-b2c-image-thumbnail",
3
- "version": "0.196.1",
3
+ "version": "0.197.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,8 +13,8 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-core": "0.196.1",
17
- "@xsolla/xui-primitives-core": "0.196.1"
16
+ "@xsolla/xui-core": "0.197.0",
17
+ "@xsolla/xui-primitives-core": "0.197.0"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "react": ">=16.8.0"
package/web/index.js CHANGED
@@ -3571,7 +3571,11 @@ var ADDITIONAL_BLOCKED_PROPS = /* @__PURE__ */ new Set([
3571
3571
  "fontSize",
3572
3572
  "fontWeight",
3573
3573
  "fontFamily",
3574
- "textDecoration"
3574
+ "textDecoration",
3575
+ // Cross-platform layout prop that Text consumes as CSS, never as an
3576
+ // attribute. Pinned explicitly because it is now spread into the styled
3577
+ // component rather than destructured away before it can reach the DOM.
3578
+ "numberOfLines"
3575
3579
  ]);
3576
3580
  function shouldForwardProp(key) {
3577
3581
  if (ADDITIONAL_BLOCKED_PROPS.has(key)) return false;