mainstack-design-system 0.7.22 → 0.7.23

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.
@@ -7785,7 +7785,7 @@ function z9(e, o) {
7785
7785
  var i = {};
7786
7786
  for (var r in e)
7787
7787
  if ({}.hasOwnProperty.call(e, r)) {
7788
- if (o.includes(r))
7788
+ if (o.indexOf(r) !== -1)
7789
7789
  continue;
7790
7790
  i[r] = e[r];
7791
7791
  }
@@ -7798,7 +7798,7 @@ function c5(e, o) {
7798
7798
  if (Object.getOwnPropertySymbols) {
7799
7799
  var d = Object.getOwnPropertySymbols(e);
7800
7800
  for (r = 0; r < d.length; r++)
7801
- i = d[r], o.includes(i) || {}.propertyIsEnumerable.call(e, i) && (n[i] = e[i]);
7801
+ i = d[r], o.indexOf(i) === -1 && {}.propertyIsEnumerable.call(e, i) && (n[i] = e[i]);
7802
7802
  }
7803
7803
  return n;
7804
7804
  }
@@ -24435,8 +24435,8 @@ const Ol = ({
24435
24435
  bgColor: T.gray50,
24436
24436
  textColor: T.gray400
24437
24437
  }
24438
- }, hh = ({ status: e, icon: o, label: i, allCaps: r }) => {
24439
- var n, d, p;
24438
+ }, hh = ({ status: e, icon: o, label: i, allCaps: r, fontFamily: n }) => {
24439
+ var d, p, b;
24440
24440
  return /* @__PURE__ */ r1(
24441
24441
  y1,
24442
24442
  {
@@ -24448,10 +24448,11 @@ const Ol = ({
24448
24448
  px: "10px",
24449
24449
  width: "fit-content",
24450
24450
  rounded: "100px",
24451
- bg: (n = S3[e]) == null ? void 0 : n.bgColor,
24452
- color: (d = S3[e]) == null ? void 0 : d.textColor,
24451
+ bg: (d = S3[e]) == null ? void 0 : d.bgColor,
24452
+ color: (p = S3[e]) == null ? void 0 : p.textColor,
24453
24453
  textTransform: r ? "uppercase" : "none",
24454
24454
  alignItems: "center",
24455
+ fontFamily: n ?? "Degular",
24455
24456
  children: [
24456
24457
  /* @__PURE__ */ t(x5.span, { children: i ?? e }),
24457
24458
  o && /* @__PURE__ */ t(
@@ -24462,7 +24463,7 @@ const Ol = ({
24462
24463
  display: "flex",
24463
24464
  justifyContent: "center",
24464
24465
  alignItems: "center",
24465
- color: (p = S3[e]) == null ? void 0 : p.textColor,
24466
+ color: (b = S3[e]) == null ? void 0 : b.textColor,
24466
24467
  children: o
24467
24468
  }
24468
24469
  )
@@ -5,6 +5,7 @@ export interface ITag {
5
5
  label?: string;
6
6
  icon?: ReactNode;
7
7
  allCaps?: boolean;
8
+ fontFamily?: string;
8
9
  }
9
- declare const Tag: ({ status, icon, label, allCaps }: ITag) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Tag: ({ status, icon, label, allCaps, fontFamily }: ITag) => import("react/jsx-runtime").JSX.Element;
10
11
  export default Tag;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.7.22",
3
+ "version": "0.7.23",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",