@open-feishu-card/renderer 0.2.18 → 0.2.19

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.cjs CHANGED
@@ -5703,6 +5703,7 @@ function registerBuiltins() {
5703
5703
  imgStyle.width = "100%";
5704
5704
  imgStyle.height = "auto";
5705
5705
  }
5706
+ applyOuterMargin(wrapStyle, p.margin);
5706
5707
  return h(
5707
5708
  "div",
5708
5709
  { className: `${CLS}-image__wrapper`, style: wrapStyle },
package/dist/index.js CHANGED
@@ -5702,6 +5702,7 @@ function registerBuiltins() {
5702
5702
  imgStyle.width = "100%";
5703
5703
  imgStyle.height = "auto";
5704
5704
  }
5705
+ applyOuterMargin(wrapStyle, p.margin);
5705
5706
  return h(
5706
5707
  "div",
5707
5708
  { className: `${CLS}-image__wrapper`, style: wrapStyle },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-feishu-card/renderer",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "零框架依赖的飞书卡片渲染引擎:Web / DOM / SSR,输入 RAW 或公开 DSL,输出真实 DOM 或 HTML 字符串",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",