@liberfi.io/ui-perpetuals 0.2.15 → 0.2.16

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.d.mts CHANGED
@@ -12,7 +12,7 @@ declare global {
12
12
  };
13
13
  }
14
14
  }
15
- declare const _default: "0.2.15";
15
+ declare const _default: "0.2.16";
16
16
 
17
17
  /**
18
18
  * Trading pair symbol format
@@ -2009,6 +2009,19 @@ type UseCoinInfoReturnType = {
2009
2009
  };
2010
2010
  declare function useCoinInfo(symbol: string): UseCoinInfoReturnType;
2011
2011
 
2012
+ /**
2013
+ * Skeleton placeholder for {@link CoinInfoUI}.
2014
+ *
2015
+ * Mirrors the real component's flex layout so the loading shell occupies
2016
+ * exactly the same footprint (no layout jump on data arrival):
2017
+ * `[price + 24h%] [Oracle] [24h Volume] [Open Interest] [Funding / Countdown]`
2018
+ *
2019
+ * The container is intentionally transparent — coin-info renders inside
2020
+ * the perpetuals chart column whose host page provides the background
2021
+ * (e.g. `#000000` on the perpetuals page). A separate gray wash here
2022
+ * would clash with that. Only the individual `Skeleton` cells carry the
2023
+ * shimmer to indicate loading.
2024
+ */
2012
2025
  declare function CoinInfoSkeletonsUI(): react_jsx_runtime.JSX.Element;
2013
2026
 
2014
2027
  declare function CoinInfoNotFoundUI(): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ declare global {
12
12
  };
13
13
  }
14
14
  }
15
- declare const _default: "0.2.15";
15
+ declare const _default: "0.2.16";
16
16
 
17
17
  /**
18
18
  * Trading pair symbol format
@@ -2009,6 +2009,19 @@ type UseCoinInfoReturnType = {
2009
2009
  };
2010
2010
  declare function useCoinInfo(symbol: string): UseCoinInfoReturnType;
2011
2011
 
2012
+ /**
2013
+ * Skeleton placeholder for {@link CoinInfoUI}.
2014
+ *
2015
+ * Mirrors the real component's flex layout so the loading shell occupies
2016
+ * exactly the same footprint (no layout jump on data arrival):
2017
+ * `[price + 24h%] [Oracle] [24h Volume] [Open Interest] [Funding / Countdown]`
2018
+ *
2019
+ * The container is intentionally transparent — coin-info renders inside
2020
+ * the perpetuals chart column whose host page provides the background
2021
+ * (e.g. `#000000` on the perpetuals page). A separate gray wash here
2022
+ * would clash with that. Only the individual `Skeleton` cells carry the
2023
+ * shimmer to indicate loading.
2024
+ */
2012
2025
  declare function CoinInfoSkeletonsUI(): react_jsx_runtime.JSX.Element;
2013
2026
 
2014
2027
  declare function CoinInfoNotFoundUI(): react_jsx_runtime.JSX.Element;