jett.admin.npmpackage 2.0.19 → 2.0.21

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.
Binary file
Binary file
package/dist/index.css CHANGED
@@ -1525,6 +1525,34 @@
1525
1525
  }
1526
1526
  }
1527
1527
  }
1528
+ @font-face {
1529
+ font-family: "Inter";
1530
+ src: url("./Inter-Regular-GS5EHSMB.woff2") format("woff2");
1531
+ font-weight: 400;
1532
+ font-style: normal;
1533
+ font-display: swap;
1534
+ }
1535
+ @font-face {
1536
+ font-family: "Inter";
1537
+ src: url("./Inter-Medium-5IRUMIHZ.woff2") format("woff2");
1538
+ font-weight: 500;
1539
+ font-style: normal;
1540
+ font-display: swap;
1541
+ }
1542
+ @font-face {
1543
+ font-family: "Inter";
1544
+ src: url("./Inter-SemiBold-SVBZ7NC6.woff2") format("woff2");
1545
+ font-weight: 600;
1546
+ font-style: normal;
1547
+ font-display: swap;
1548
+ }
1549
+ @font-face {
1550
+ font-family: "Inter";
1551
+ src: url("./Inter-Bold-UGVMS3V6.woff2") format("woff2");
1552
+ font-weight: 700;
1553
+ font-style: normal;
1554
+ font-display: swap;
1555
+ }
1528
1556
  body {
1529
1557
  font-family: "Inter", sans-serif;
1530
1558
  }
package/dist/index.js CHANGED
@@ -1018,7 +1018,7 @@ var SwitchProfileSection = ({
1018
1018
  id: `${id}-switch-error`
1019
1019
  },
1020
1020
  switchError
1021
- ), /* @__PURE__ */ import_react13.default.createElement("div", { className: "flex flex-col gap-1 pb-4", id: `${id}-markets-list` }, markets.length === 0 && /* @__PURE__ */ import_react13.default.createElement("p", { className: "px-2 py-2 text-[13px] text-gray-400", id: `${id}-markets-empty` }, "No markets available"), markets.map((profile) => {
1021
+ ), /* @__PURE__ */ import_react13.default.createElement("div", { className: "flex flex-col gap-2 pb-4", id: `${id}-markets-list` }, markets.length === 0 && /* @__PURE__ */ import_react13.default.createElement("p", { className: "px-2 py-2 text-[13px] text-gray-400", id: `${id}-markets-empty` }, "No markets available"), markets.map((profile) => {
1022
1022
  const isCurrent = profile.ProfileId === currentProfileId;
1023
1023
  const isSwitching = switchingProfileId === profile.ProfileId;
1024
1024
  return /* @__PURE__ */ import_react13.default.createElement(
@@ -1250,7 +1250,7 @@ var AppSideBar = ({
1250
1250
  return true;
1251
1251
  }
1252
1252
  }
1253
- if (normalizedMenuPath === "/trips") {
1253
+ if (normalizedMenuPath === "/corporate/trips") {
1254
1254
  if (normalizedCurrentPath.startsWith("/tripdetails") || normalizedCurrentPath.startsWith("/offline")) {
1255
1255
  return true;
1256
1256
  }
package/dist/index.mjs CHANGED
@@ -986,7 +986,7 @@ var SwitchProfileSection = ({
986
986
  id: `${id}-switch-error`
987
987
  },
988
988
  switchError
989
- ), /* @__PURE__ */ React13.createElement("div", { className: "flex flex-col gap-1 pb-4", id: `${id}-markets-list` }, markets.length === 0 && /* @__PURE__ */ React13.createElement("p", { className: "px-2 py-2 text-[13px] text-gray-400", id: `${id}-markets-empty` }, "No markets available"), markets.map((profile) => {
989
+ ), /* @__PURE__ */ React13.createElement("div", { className: "flex flex-col gap-2 pb-4", id: `${id}-markets-list` }, markets.length === 0 && /* @__PURE__ */ React13.createElement("p", { className: "px-2 py-2 text-[13px] text-gray-400", id: `${id}-markets-empty` }, "No markets available"), markets.map((profile) => {
990
990
  const isCurrent = profile.ProfileId === currentProfileId;
991
991
  const isSwitching = switchingProfileId === profile.ProfileId;
992
992
  return /* @__PURE__ */ React13.createElement(
@@ -1218,7 +1218,7 @@ var AppSideBar = ({
1218
1218
  return true;
1219
1219
  }
1220
1220
  }
1221
- if (normalizedMenuPath === "/trips") {
1221
+ if (normalizedMenuPath === "/corporate/trips") {
1222
1222
  if (normalizedCurrentPath.startsWith("/tripdetails") || normalizedCurrentPath.startsWith("/offline")) {
1223
1223
  return true;
1224
1224
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jett.admin.npmpackage",
3
- "version": "2.0.19",
3
+ "version": "2.0.21",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "exports": {