@chrryai/chrry 1.3.16 → 1.3.18

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/App.module.scss CHANGED
@@ -36,8 +36,6 @@
36
36
 
37
37
  .focus {
38
38
  position: relative;
39
- margin-left: toRem.toRem(10);
40
-
41
39
  .focusTime {
42
40
  position: absolute;
43
41
  top: toRem.toRem(-7.5);
@@ -65,11 +63,13 @@
65
63
  }
66
64
 
67
65
  .spaceInvader,
68
- .atlas {
66
+ .atlas,
67
+ .focus {
69
68
  position: relative;
70
69
  right: toRem.toRem(-5);
71
70
 
72
- &.atlas {
71
+ &.atlas,
72
+ &.focus {
73
73
  right: toRem.toRem(-3.5);
74
74
  top: toRem.toRem(-2.5);
75
75
  }
package/dist/index.d.mts CHANGED
@@ -802,7 +802,7 @@ declare const isFirefox: boolean;
802
802
  declare function getFlag({ code }: {
803
803
  code?: string;
804
804
  }): string;
805
- declare const VERSION = "1.3.16";
805
+ declare const VERSION = "1.3.18";
806
806
  type instructionBase = {
807
807
  id: string;
808
808
  title: string;
package/dist/index.d.ts CHANGED
@@ -802,7 +802,7 @@ declare const isFirefox: boolean;
802
802
  declare function getFlag({ code }: {
803
803
  code?: string;
804
804
  }): string;
805
- declare const VERSION = "1.3.16";
805
+ declare const VERSION = "1.3.18";
806
806
  type instructionBase = {
807
807
  id: string;
808
808
  title: string;
package/dist/index.js CHANGED
@@ -2076,7 +2076,7 @@ var init_App_styles = __esm({
2076
2076
  },
2077
2077
  focus: {
2078
2078
  position: "relative",
2079
- marginLeft: 10
2079
+ right: -5
2080
2080
  },
2081
2081
  focusTime: {
2082
2082
  position: "absolute",
@@ -2098,15 +2098,11 @@ var init_App_styles = __esm({
2098
2098
  gap: 10,
2099
2099
  margin: "0 auto"
2100
2100
  },
2101
- atlas: {
2102
- position: "relative",
2103
- right: -5
2104
- },
2105
- atlasAtlas: {
2101
+ focusFocus: {
2106
2102
  right: -3,
2107
2103
  top: -2
2108
2104
  },
2109
- atlasSpaceInvader: {},
2105
+ focusSpaceInvader: {},
2110
2106
  appItem: {
2111
2107
  position: "relative",
2112
2108
  flex: 1,
@@ -21525,7 +21521,7 @@ function DataProvider({
21525
21521
  const [instructions, setInstructions] = (0, import_react14.useState)([]);
21526
21522
  const [affiliateStats, setAffiliateStats] = (0, import_react14.useState)(null);
21527
21523
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react14.useState)(false);
21528
- const VERSION3 = "1.3.16";
21524
+ const VERSION3 = "1.3.18";
21529
21525
  const [weather, setWeather] = useLocalStorage("weather", user?.weather || guest?.weather || void 0);
21530
21526
  const {
21531
21527
  API_URL: API_URL2,
@@ -22622,7 +22618,7 @@ var init_utils = __esm({
22622
22618
  window.history.replaceState({}, "", newUrl);
22623
22619
  };
22624
22620
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent.includes("Firefox");
22625
- VERSION = "1.3.16";
22621
+ VERSION = "1.3.18";
22626
22622
  getSlugFromPathname = (path) => {
22627
22623
  const siteConfig = getSiteConfig();
22628
22624
  return getAppAndStoreSlugs(path, {
@@ -39594,7 +39590,7 @@ function Store({
39594
39590
  if (selectedApp && app?.id !== selectedApp.id) {
39595
39591
  setApp(selectedApp);
39596
39592
  }
39597
- }, [selectedApp, app]);
39593
+ }, [selectedApp, app?.id, setApp]);
39598
39594
  const setSelectedApp = (app2) => {
39599
39595
  if (!app2?.store?.slug) return;
39600
39596
  if (!app2?.slug) return;
@@ -39614,7 +39610,7 @@ function Store({
39614
39610
  }
39615
39611
  });
39616
39612
  }
39617
- }, [store?.id]);
39613
+ }, [store?.id, track]);
39618
39614
  (0, import_react68.useEffect)(() => {
39619
39615
  if (selectedApp) {
39620
39616
  track({
@@ -39628,7 +39624,7 @@ function Store({
39628
39624
  }
39629
39625
  });
39630
39626
  }
39631
- }, [selectedApp?.id]);
39627
+ }, [selectedApp?.id, store?.id, track]);
39632
39628
  const storeStyles = useStoreStyles();
39633
39629
  const { margin } = storeStyles.lifeOS.style;
39634
39630
  const render = () => {