@iccandle/reactjs-widget 0.1.0 → 0.1.1

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.
@@ -14350,7 +14350,10 @@ type WidgetLanguage = (typeof WIDGET_LANGUAGES)[number];
14350
14350
  declare function withPlayChart<T extends IBasicDataFeed>(datafeed: T): T;
14351
14351
  declare function withPlayChart<A extends unknown[]>(factory: (...args: A) => IBasicDataFeed, ...args: A): IBasicDataFeed;
14352
14352
 
14353
- declare const getCustomIndicators: () => Promise<readonly CustomIndicator[]>;
14353
+ type GeneratedCandlesTheme = "light" | "dark";
14354
+ /** Pane-matching mask color so predicted bars hide the underlying series. */
14355
+ declare const getGeneratedCandlesMaskColor: (theme?: GeneratedCandlesTheme) => string;
14356
+ declare const getCustomIndicators: (theme?: GeneratedCandlesTheme) => Promise<readonly CustomIndicator[]>;
14354
14357
 
14355
- export { WidgetIccandle, getCustomIndicators, withPlayChart };
14356
- export type { WidgetIccandleChartRefs, WidgetIccandleProps, WidgetLanguage };
14358
+ export { WidgetIccandle, getCustomIndicators, getGeneratedCandlesMaskColor, withPlayChart };
14359
+ export type { GeneratedCandlesTheme, WidgetIccandleChartRefs, WidgetIccandleProps, WidgetLanguage };