@blocklet/list 0.16.15 → 0.16.16

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.
Files changed (2) hide show
  1. package/lib/index.es.js +4 -1
  2. package/package.json +3 -3
package/lib/index.es.js CHANGED
@@ -983,7 +983,10 @@ function cr() {
983
983
  return n ? /* @__PURE__ */ t(xe, { error: new Error(`Failed to fetch blocklets from ${P.explorePath}`) }) : l ? /* @__PURE__ */ t(Ze, { mt: 15 }) : /* @__PURE__ */ h(M, { children: [
984
984
  /* @__PURE__ */ t(nr, {}),
985
985
  o.map(
986
- (s) => s.blocklets.length > 0 ? /* @__PURE__ */ t(sr, { title: r(`explore.${s.type}`), blocklets: s.blocklets }, s.type) : null
986
+ (s) => {
987
+ var a;
988
+ return ((a = s.blocklets) == null ? void 0 : a.length) > 0 ? /* @__PURE__ */ t(sr, { title: r(`explore.${s.type}`), blocklets: s.blocklets }, s.type) : null;
989
+ }
987
990
  )
988
991
  ] });
989
992
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/list",
3
- "version": "0.16.15",
3
+ "version": "0.16.16",
4
4
  "description": "Common ux components of blocklet",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@blocklet/js-sdk": "^1.16.37",
56
- "@blocklet/util": "0.16.15",
56
+ "@blocklet/util": "0.16.16",
57
57
  "@emotion/react": "^11.10.0",
58
58
  "@emotion/styled": "^11.10.0",
59
59
  "@iconify-icons/tabler": "^1.2.95",
@@ -91,5 +91,5 @@
91
91
  "prettier": "^3.3.2",
92
92
  "vite": "^5.4.10"
93
93
  },
94
- "gitHead": "166d463c2b99c02a0d899161a12f091bc8116d10"
94
+ "gitHead": "76cd5f65e33072c5156d6bf6e40e198ff60ab5d2"
95
95
  }