@blocklet/list 0.14.2 → 0.14.3

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 -4
  2. package/package.json +3 -3
package/lib/index.es.js CHANGED
@@ -20,8 +20,8 @@ import fe from "flat";
20
20
  import xt from "@mui/icons-material/KeyboardArrowDown";
21
21
  import wt from "lodash/isEmpty";
22
22
  import Ie from "@mui/material/Box";
23
- import { Img as kt } from "@arcblock/ux";
24
- import vt from "@arcblock/ux/lib/Avatar";
23
+ import kt from "@arcblock/ux/lib/Avatar";
24
+ import vt from "@arcblock/ux/lib/Img";
25
25
  import Ct from "@iconify-icons/tabler/cloud-download";
26
26
  import St from "@mui/icons-material/ChevronLeft";
27
27
  import Bt from "@mui/icons-material/ChevronRight";
@@ -852,7 +852,7 @@ function er() {
852
852
  ) })
853
853
  ] }) : null;
854
854
  function l(c) {
855
- return /* @__PURE__ */ t(S, { width: { xs: "100%", md: 338 }, height: 210, borderRadius: 2, overflow: "hidden", children: /* @__PURE__ */ t(kt, { src: c, alt: "", style: { width: "100%", height: "100%", objectFit: "cover" } }) });
855
+ return /* @__PURE__ */ t(S, { width: { xs: "100%", md: 338 }, height: 210, borderRadius: 2, overflow: "hidden", children: /* @__PURE__ */ t(vt, { src: c, alt: "", style: { width: "100%", height: "100%", objectFit: "cover" } }) });
856
856
  }
857
857
  function d(c) {
858
858
  return /* @__PURE__ */ t(L, { variant: "h2", width: "100%", children: c });
@@ -882,7 +882,7 @@ function er() {
882
882
  function s(c, w = 0) {
883
883
  const { did: k, owner: x, stats: z } = c;
884
884
  return /* @__PURE__ */ m(S, { display: "flex", alignItems: "center", gap: 2, color: "text.secondary", children: [
885
- /* @__PURE__ */ t(ge, { icon: /* @__PURE__ */ t(vt, { src: x.avatar, did: k, size: 20, variant: "circle" }), children: x.fullName }),
885
+ /* @__PURE__ */ t(ge, { icon: /* @__PURE__ */ t(kt, { src: x.avatar, did: k, size: 20, variant: "circle" }), children: x.fullName }),
886
886
  /* @__PURE__ */ t(ge, { icon: /* @__PURE__ */ t(Se, { icon: Ct }), title: `${z.downloads + w}`, children: tr(z.downloads + w) })
887
887
  ] });
888
888
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/list",
3
- "version": "0.14.2",
3
+ "version": "0.14.3",
4
4
  "description": "Common ux components of blocklet",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "@algolia/autocomplete-js": "^1.17.0",
54
54
  "@algolia/autocomplete-theme-classic": "^1.17.0",
55
- "@blocklet/util": "0.14.2",
55
+ "@blocklet/util": "0.14.3",
56
56
  "@emotion/react": "^11.10.0",
57
57
  "@emotion/styled": "^11.10.0",
58
58
  "@iconify-icons/tabler": "^1.2.95",
@@ -89,5 +89,5 @@
89
89
  "prettier": "^3.3.2",
90
90
  "vite": "^5.2.12"
91
91
  },
92
- "gitHead": "c9eb5283a39c2c976d15d35cf1f7263b216e3ca6"
92
+ "gitHead": "d88e1656b0a882d78280e739db4f41958fa2af14"
93
93
  }