@liberfi.io/ui-perpetuals 0.2.15 → 0.2.17

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.17";
16
16
 
17
17
  /**
18
18
  * Trading pair symbol format
@@ -2009,6 +2009,21 @@ 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 live widget's flex layout so the loading shell occupies
2016
+ * exactly the same footprint (no 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 the
2020
+ * perpetuals chart column whose host page provides the background (e.g.
2021
+ * `#000000` on the perpetuals page). A separate gray wash here would
2022
+ * clash with that.
2023
+ *
2024
+ * Shimmer styling is shared with the other perpetuals skeletons via
2025
+ * {@link ShimmerStyle} / {@link shimmerDelay}; see `../../internal/skeleton`.
2026
+ */
2012
2027
  declare function CoinInfoSkeletonsUI(): react_jsx_runtime.JSX.Element;
2013
2028
 
2014
2029
  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.17";
16
16
 
17
17
  /**
18
18
  * Trading pair symbol format
@@ -2009,6 +2009,21 @@ 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 live widget's flex layout so the loading shell occupies
2016
+ * exactly the same footprint (no 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 the
2020
+ * perpetuals chart column whose host page provides the background (e.g.
2021
+ * `#000000` on the perpetuals page). A separate gray wash here would
2022
+ * clash with that.
2023
+ *
2024
+ * Shimmer styling is shared with the other perpetuals skeletons via
2025
+ * {@link ShimmerStyle} / {@link shimmerDelay}; see `../../internal/skeleton`.
2026
+ */
2012
2027
  declare function CoinInfoSkeletonsUI(): react_jsx_runtime.JSX.Element;
2013
2028
 
2014
2029
  declare function CoinInfoNotFoundUI(): react_jsx_runtime.JSX.Element;