aot-ui 0.2.36 → 0.2.37

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.
@@ -14883,13 +14883,12 @@ function cl() {
14883
14883
  });
14884
14884
  }
14885
14885
  function ll({ title: e, description: t = "暂无数据", image: n, showImage: r = !0, fill: i = !1, height: a, borderRadius: o, children: s, className: c = "", style: l }) {
14886
- let u = n === void 0 ? r ? /* @__PURE__ */ b(cl, {}) : null : n, d = {
14887
- ...i && a == null ? { height: "100%" } : null,
14886
+ let u = n === void 0 ? r ? /* @__PURE__ */ b(cl, {}) : null : n, d = sl(o), f = {
14888
14887
  ...a == null ? null : { height: sl(a) },
14889
- ...o == null ? null : {
14890
- borderRadius: sl(o),
14891
- "--aot-empty-radius": sl(o)
14892
- },
14888
+ ...d ? {
14889
+ borderRadius: d,
14890
+ "--aot-empty-radius": d
14891
+ } : null,
14893
14892
  ...l
14894
14893
  };
14895
14894
  return /* @__PURE__ */ x("div", {
@@ -14898,7 +14897,7 @@ function ll({ title: e, description: t = "暂无数据", image: n, showImage: r
14898
14897
  i ? "is-fill" : "",
14899
14898
  c
14900
14899
  ].filter(Boolean).join(" "),
14901
- style: d,
14900
+ style: f,
14902
14901
  children: [
14903
14902
  u == null ? null : /* @__PURE__ */ b("div", {
14904
14903
  className: "aot-empty__image",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aot-ui",
3
- "version": "0.2.36",
3
+ "version": "0.2.37",
4
4
  "description": "AOT React UI component kit",
5
5
  "type": "module",
6
6
  "main": "./dist-lib/aot-ui.js",