wacomm 1.1.3 → 1.2.0
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/LikeIcon.d.ts +2 -1
- package/dist/{index-B7ZNLNsn.mjs → index-DAgr1ojB.mjs} +3 -3
- package/dist/{index-BB1Y0J3d.js → index-M4G7itaW.js} +2 -2
- package/dist/{mapbox-gl-CcrAs5oj.mjs → mapbox-gl-C4lRRl0R.mjs} +1 -1
- package/dist/{mapbox-gl-B133H4Sx.js → mapbox-gl-DF7tMA1J.js} +1 -1
- package/dist/wacomm.cjs.js +1 -1
- package/dist/wacomm.es.js +1 -1
- package/package.json +1 -1
package/dist/LikeIcon.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ZeroFuncType } from 'waujs';
|
|
1
2
|
interface LikeIconProps {
|
|
2
3
|
isLiked: boolean;
|
|
3
4
|
count: number;
|
|
4
|
-
onClick:
|
|
5
|
+
onClick: ZeroFuncType;
|
|
5
6
|
}
|
|
6
7
|
declare function LikeIcon({ isLiked, count, onClick, }: LikeIconProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export default LikeIcon;
|
|
@@ -13952,9 +13952,9 @@ function BN({
|
|
|
13952
13952
|
count: t,
|
|
13953
13953
|
onClick: o
|
|
13954
13954
|
}) {
|
|
13955
|
-
return /* @__PURE__ */ T.jsxs(ro, { onClick:
|
|
13955
|
+
return /* @__PURE__ */ T.jsxs(ro, { onClick: o, children: [
|
|
13956
13956
|
e ? "❤️" : "🤍",
|
|
13957
|
-
/* @__PURE__ */ T.jsx("span", { children: t })
|
|
13957
|
+
t > 0 && /* @__PURE__ */ T.jsx("span", { children: t })
|
|
13958
13958
|
] });
|
|
13959
13959
|
}
|
|
13960
13960
|
var ri = { exports: {} }, xC = ri.exports, Af;
|
|
@@ -41963,7 +41963,7 @@ function KD(e) {
|
|
|
41963
41963
|
}, [r]), null;
|
|
41964
41964
|
}
|
|
41965
41965
|
const Hj = Cr(KD);
|
|
41966
|
-
const _D = import("./mapbox-gl-
|
|
41966
|
+
const _D = import("./mapbox-gl-C4lRRl0R.mjs").then((e) => e.m), eE = v.forwardRef(function(t, o) {
|
|
41967
41967
|
return WD(t, o, _D);
|
|
41968
41968
|
}), kb = ZD;
|
|
41969
41969
|
const tE = $D;
|