sixseconds-modules 1.6.49 → 1.6.50

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.cjs.js CHANGED
@@ -9094,13 +9094,15 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
9094
9094
  },
9095
9095
  children: [
9096
9096
  /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: userData?.fullName }),
9097
- Boolean(userData?.role) && /* @__PURE__ */ jsxRuntime.jsxs(material.Typography, { component: "span", sx: { m: 0, fontSize: "14px", color: "#666666" }, children: [
9097
+ /* @__PURE__ */ jsxRuntime.jsxs(material.Typography, { component: "span", sx: { m: 0, fontSize: "14px", color: "#666666" }, children: [
9098
9098
  truncateValUtil(userData?.email || ""),
9099
9099
  " ",
9100
9100
  /* @__PURE__ */ jsxRuntime.jsx("br", {}),
9101
- "(",
9102
- userData?.role,
9103
- ")"
9101
+ Boolean(userData?.role) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
9102
+ "(",
9103
+ userData?.role,
9104
+ ")"
9105
+ ] })
9104
9106
  ] })
9105
9107
  ]
9106
9108
  }
@@ -9270,7 +9272,19 @@ function Language({
9270
9272
  setInitialState((p) => ({ ...p, toggles: { ...p.toggles, lang: false } }));
9271
9273
  },
9272
9274
  children: /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { direction: "row", alignItems: "center", justifyContent: "flex-start", gap: 2, children: [
9273
- /* @__PURE__ */ jsxRuntime.jsx("img", { src: lang2?.flag, alt: lang2?.label, width: 40, height: 25 }),
9275
+ /* @__PURE__ */ jsxRuntime.jsx(
9276
+ "img",
9277
+ {
9278
+ src: lang2?.flag,
9279
+ alt: lang2?.label,
9280
+ style: {
9281
+ width: "40px !important",
9282
+ height: "25px !important"
9283
+ },
9284
+ width: 40,
9285
+ height: 25
9286
+ }
9287
+ ),
9274
9288
  /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: t2(lang2?.label) }),
9275
9289
  selectedInterFaceLang?.value === lang2?.value && /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { sx: { color: "#007FC0", fontSize: "30px" } })
9276
9290
  ] }) })