sixseconds-modules 1.6.144 → 1.6.146

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
@@ -14750,7 +14750,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14750
14750
  ]
14751
14751
  }
14752
14752
  ),
14753
- state.toggles.userProfile && /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { onClickAway: () => handleCloseUtil(setState), children: /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { className: "profile", children: [
14753
+ state.toggles.userProfile && /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { onClickAway: () => handleCloseUtil(setState), children: /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { className: "sixseconds-profile profile", children: [
14754
14754
  /* @__PURE__ */ jsxRuntime.jsxs(
14755
14755
  material.Stack,
14756
14756
  {
@@ -15020,7 +15020,7 @@ const Header$1 = ({
15020
15020
  state.toggles.appMenus && Boolean(userData?.appAccess?.length) && /* @__PURE__ */ jsxRuntime.jsx(
15021
15021
  material.Box,
15022
15022
  {
15023
- className: "profile headerMenu",
15023
+ className: "sixseconds-headerMenu profile headerMenu",
15024
15024
  sx: {
15025
15025
  width: "400px !important",
15026
15026
  p: 1,
@@ -16286,9 +16286,22 @@ var createCache = function createCache2(options) {
16286
16286
  cache.sheet.hydrate(nodesToHydrate);
16287
16287
  return cache;
16288
16288
  };
16289
- const sixCache = createCache({ key: "sixseconds", prepend: false });
16289
+ material.unstable_ClassNameGenerator.configure((componentName) => `sixseconds-modules-${componentName}`);
16290
16290
  function MuiProvider({ children }) {
16291
- return /* @__PURE__ */ jsxRuntime.jsx(react.CacheProvider, { value: sixCache, children });
16291
+ const [cache, setCache] = React.useState(null);
16292
+ React.useEffect(() => {
16293
+ if (typeof window !== "undefined") {
16294
+ const emotionCache = createCache({
16295
+ key: "sixseconds",
16296
+ prepend: false
16297
+ });
16298
+ setCache(emotionCache);
16299
+ }
16300
+ }, []);
16301
+ if (!cache) {
16302
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
16303
+ }
16304
+ return /* @__PURE__ */ jsxRuntime.jsx(react.CacheProvider, { value: cache, children });
16292
16305
  }
16293
16306
  const App = () => {
16294
16307
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -16311,15 +16324,15 @@ const App = () => {
16311
16324
  ],
16312
16325
  userData: {
16313
16326
  userprofile: "",
16314
- email: "sdf",
16315
- role: "",
16316
- fullName: "sadf",
16317
- bio: "",
16318
- title: "",
16319
- certId: 1,
16320
- certProfileUrl: "",
16321
- company: "",
16322
- certBio: "",
16327
+ email: "sanskar@digimon.in",
16328
+ role: "Super Admin",
16329
+ fullName: "Sanskar Digimon",
16330
+ bio: "Hi, I am Sanskar from Digimon Technologies. We are working in the field of Emotion AI. We build products that help in understanding human emotions using AI. We aim to make the world a better place by leveraging the power of technology to enhance emotional intelligence.",
16331
+ title: "Software Engineer",
16332
+ certId: 101,
16333
+ certProfileUrl: "https://cert.6seconds.org/certprofile/101/sanskar-digimon",
16334
+ company: "Digimon Technologies",
16335
+ certBio: "Hi, I am Sanskar from Digimon Technologies. We are working in the field of Emotion AI. We build products that help in understanding human emotions using AI. We aim to make the world a better place by leveraging the power of technology to enhance emotional intelligence.",
16323
16336
  certOfferToHelp: "",
16324
16337
  appName: APP_NAMES.sso,
16325
16338
  appAccess: [
@@ -16349,7 +16362,7 @@ const App = () => {
16349
16362
  }
16350
16363
  ],
16351
16364
  certification: [],
16352
- country: "",
16365
+ country: "India",
16353
16366
  languages: [],
16354
16367
  areaOfWork: [],
16355
16368
  linkedInUrl: "",
@@ -16360,7 +16373,7 @@ const App = () => {
16360
16373
  id: 1,
16361
16374
  label: "Chinese",
16362
16375
  value: "zh",
16363
- flag: ""
16376
+ flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1735277277.png"
16364
16377
  },
16365
16378
  {
16366
16379
  id: 1,