@chrryai/chrry 1.4.55 → 1.4.56

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/Menu.module.scss CHANGED
@@ -138,7 +138,7 @@
138
138
  .threadsList {
139
139
  display: flex;
140
140
  flex-direction: column;
141
- gap: toRem.toRem(5);
141
+ gap: toRem.toRem(7.5);
142
142
  margin-top: toRem.toRem(10);
143
143
  font-size: toRem.toRem(12.5);
144
144
  }
package/dist/index.js CHANGED
@@ -1899,7 +1899,7 @@ var init_utils = __esm({
1899
1899
  };
1900
1900
  isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
1901
1901
  config = getSiteConfig(getClientHostname());
1902
- VERSION = config.version || "1.4.55";
1902
+ VERSION = config.version || "1.4.56";
1903
1903
  getSlugFromPathname = (path) => {
1904
1904
  return getAppAndStoreSlugs(path, {
1905
1905
  defaultAppSlug: config.slug,
@@ -24079,7 +24079,7 @@ function DataProvider({ children, ...rest }) {
24079
24079
  const [instructions, setInstructions] = (0, import_react20.useState)([]);
24080
24080
  const [affiliateStats, setAffiliateStats] = (0, import_react20.useState)(null);
24081
24081
  const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react20.useState)(false);
24082
- const VERSION4 = "1.4.55";
24082
+ const VERSION4 = "1.4.56";
24083
24083
  const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
24084
24084
  const {
24085
24085
  API_URL: API_URL2,
@@ -27400,6 +27400,7 @@ var init_breakpoints = __esm({
27400
27400
  // styles/createStyleProxy.ts
27401
27401
  function createStyleProxy(options) {
27402
27402
  const { styles: styles4, theme, dimensions, styleCache: styleCache2, isWeb: isWeb2 = true } = options;
27403
+ console.log(`\u{1F680} ~ createStyleProxy ~ isWeb:`, isWeb2);
27403
27404
  if (!styles4 || typeof styles4 !== "object") {
27404
27405
  console.warn("createStyleProxy: styles object is undefined or invalid");
27405
27406
  return new Proxy({}, {
@@ -27498,8 +27499,11 @@ function createStyleHook(styles4) {
27498
27499
  theme,
27499
27500
  dimensions,
27500
27501
  styleCache: styleCache2,
27501
- isWeb: platform?.isWeb ?? true
27502
- // Default to web if platform not available
27502
+ // Treat as web if:
27503
+ // 1. We are on SSR (window undefined)
27504
+ // 2. We are on Client Web (!isNative)
27505
+ // 3. Platform is missing (default to web)
27506
+ isWeb: typeof window === "undefined" || (platform ? !platform.isNative : true)
27503
27507
  });
27504
27508
  };
27505
27509
  }
@@ -29520,7 +29524,7 @@ var init_Sidebar_styles = __esm({
29520
29524
  justifyContent: "center",
29521
29525
  alignItems: "center",
29522
29526
  position: "fixed",
29523
- backgroundColor: "var(--background)",
29527
+ backgroundColor: "#000",
29524
29528
  zIndex: 999999
29525
29529
  },
29526
29530
  splashHidden: {
@@ -40788,7 +40792,7 @@ var init_Menu_styles = __esm({
40788
40792
  threadsList: {
40789
40793
  display: "flex",
40790
40794
  flexDirection: "column",
40791
- gap: 5,
40795
+ gap: 8,
40792
40796
  marginTop: 10,
40793
40797
  fontSize: 13
40794
40798
  },
@@ -41426,7 +41430,7 @@ function Menu({
41426
41430
  alignItems: "center",
41427
41431
  gap: 3,
41428
41432
  fontSize: "0.7rem",
41429
- color: colors2.shade7
41433
+ color: "var(--shade7)"
41430
41434
  }
41431
41435
  },
41432
41436
  /* @__PURE__ */ import_react63.default.createElement(ImageComponent, { icon: "hamster", showLoading: false, width: 26, height: 26 }),