@spteck/react-controls-v2 2.7.6 → 2.7.7

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.js CHANGED
@@ -50454,7 +50454,7 @@ var wv = {
50454
50454
  ]
50455
50455
  });
50456
50456
  }, Nv = ({ author: e, dateText: t, views: n, likes: r, comments: i, showComments: a = !0, isOverlay: o = !1, isOverDue: s = !1, showAuthorDate: c = !0, showStats: l = !0, showShare: u = !1, onShare: d, className: f, style: p }) => {
50457
- let m = c && !!e, h = c && !!t, g = l && (n !== void 0 || r !== void 0 || a && i !== void 0) || u;
50457
+ let m = c && !!e, h = c && !!t, g = l && (n !== void 0 || r !== void 0) || a && i !== void 0 || u;
50458
50458
  if (!m && !h && !g) return null;
50459
50459
  let _ = o ? q.colorNeutralForegroundStaticInverted : q.colorNeutralForeground2, v = s ? Ov : o ? q.colorNeutralForegroundStaticInverted : q.colorNeutralForeground3, y = o ? q.colorNeutralForegroundStaticInverted : q.colorNeutralForeground3;
50460
50460
  return /* @__PURE__ */ V(Y, {
@@ -50484,8 +50484,8 @@ var wv = {
50484
50484
  children: t
50485
50485
  })]
50486
50486
  }), g && /* @__PURE__ */ V(Mv, {
50487
- views: n,
50488
- likes: r,
50487
+ views: l ? n : void 0,
50488
+ likes: l ? r : void 0,
50489
50489
  comments: i,
50490
50490
  showComments: a,
50491
50491
  color: y,
@@ -50948,7 +50948,7 @@ var wv = {
50948
50948
  zIndex: 10
50949
50949
  })
50950
50950
  }), Hv = ({ author: e, dateText: t, views: n, likes: r, comments: i, showComments: a = !0, isOverlay: o = !1, isOverDue: s = !1, showAuthorDate: c = !0, showStats: l = !0, showShare: u = !1, onShare: d, className: f, style: p }) => {
50951
- let m = c && (!!e || !!t), h = l && (n !== void 0 || r !== void 0 || a && i !== void 0) || u;
50951
+ let m = c && (!!e || !!t), h = l && (n !== void 0 || r !== void 0) || a && i !== void 0 || u;
50952
50952
  return !m && !h ? null : o ? /* @__PURE__ */ H(Y, {
50953
50953
  direction: "horizontal",
50954
50954
  gap: "0px",
@@ -50961,8 +50961,8 @@ var wv = {
50961
50961
  color: q.colorNeutralForegroundStaticInverted,
50962
50962
  children: [e, t].filter(Boolean).join(" · ")
50963
50963
  }), h && /* @__PURE__ */ V(Mv, {
50964
- views: n,
50965
- likes: r,
50964
+ views: l ? n : void 0,
50965
+ likes: l ? r : void 0,
50966
50966
  comments: i,
50967
50967
  showComments: a,
50968
50968
  color: q.colorNeutralForegroundStaticInverted,
@@ -51009,8 +51009,8 @@ var wv = {
51009
51009
  })
51010
51010
  ]
51011
51011
  }), h && /* @__PURE__ */ V(Mv, {
51012
- views: n,
51013
- likes: r,
51012
+ views: l ? n : void 0,
51013
+ likes: l ? r : void 0,
51014
51014
  comments: i,
51015
51015
  showComments: a,
51016
51016
  color: q.colorNeutralForeground3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spteck/react-controls-v2",
3
- "version": "2.7.6",
3
+ "version": "2.7.7",
4
4
  "description": "Framework-agnostic React controls for Vite, Next.js, and SPFx - based on Fluent UI 9",
5
5
  "license": "Elastic-2.0",
6
6
  "author": "João Mendes",