km-card-layout-core 0.1.10 → 0.1.11

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/dist/index.js CHANGED
@@ -251,9 +251,7 @@ const buildTextContentStyle = (el, unit) => {
251
251
  wordBreak: 'break-word',
252
252
  lineHeight: ((_b = el.style) === null || _b === void 0 ? void 0 : _b.lineHeight) !== undefined && ((_c = el.style) === null || _c === void 0 ? void 0 : _c.lineHeight) !== null
253
253
  ? el.style.lineHeight
254
- : '1.2',
255
- display: 'inline-flex',
256
- alignItems: 'center',
254
+ : '',
257
255
  };
258
256
  if (textAlign)
259
257
  style.textAlign = textAlign;
package/index.ts CHANGED
@@ -295,9 +295,7 @@ const buildTextContentStyle = (el: TextElement, unit: 'px' | 'rpx') => {
295
295
  lineHeight:
296
296
  el.style?.lineHeight !== undefined && el.style?.lineHeight !== null
297
297
  ? el.style.lineHeight
298
- : '1.2',
299
- display: 'inline-flex',
300
- alignItems: 'center',
298
+ : '',
301
299
  };
302
300
  if (textAlign) style.textAlign = textAlign;
303
301
  return styleObjectToString(style, unit);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "km-card-layout-core",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Shared render helpers for CardMaster layout JSON (binding resolution, layout normalization).",
5
5
  "main": "dist/index.js",
6
6
  "types": "types.d.ts",