@iccandle/reactjs-widget 0.3.3 → 0.3.5

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.
@@ -14334,7 +14334,7 @@ type WidgetIccandleChartRefs = {
14334
14334
  generatedCandlesBackgroundStudyIdRef: RefObject<EntityId | null>;
14335
14335
  generatedCandlesStudyIdRef: RefObject<EntityId | null>;
14336
14336
  };
14337
- declare const WidgetIccandle: ({ chartWidget, children, theme, chartMaskColors, language, submitCallback, onCloseResult, iframeLoaded, resultIframeRef, isShowScanButton, isShowTrackerButton, isShowScannerPopup, availableIntervals, onScanClick, }: WidgetIccandleProps) => react_jsx_runtime.JSX.Element;
14337
+ declare const WidgetIccandle: ({ chartWidget, children, theme, chartMaskColors, bg_dark, bg_light, language, submitCallback, onCloseResult, iframeLoaded, resultIframeRef, isShowScanButton, isShowTrackerButton, isShowScannerPopup, availableIntervals, onScanClick, }: WidgetIccandleProps) => react_jsx_runtime.JSX.Element;
14338
14338
  type WidgetChartMaskColors = {
14339
14339
  light?: string;
14340
14340
  dark?: string;
@@ -14346,6 +14346,9 @@ type WidgetIccandleProps = {
14346
14346
  theme?: "light" | "dark" | "system";
14347
14347
  /** Simulate-candle mask colors per theme. Defaults: light `#ffffff`, dark `#0F0F0F`. */
14348
14348
  chartMaskColors?: WidgetChartMaskColors;
14349
+ /** Embed page background (hex, `#` optional). Omitted = no `bg_*` query params. */
14350
+ bg_dark?: string;
14351
+ bg_light?: string;
14349
14352
  language?: WidgetLanguage$1;
14350
14353
  onCloseResult?: () => void;
14351
14354
  iframeLoaded?: boolean;
@@ -14363,7 +14366,6 @@ type WidgetIccandleProps = {
14363
14366
  * Also used to gate pattern date-range drawing.
14364
14367
  * Ignored in pattern mode (`isShowScanButton={false}`), which always uses
14365
14368
  * `PATTERN_SCANNER_INTERVALS` (`1`…`1D`, no `1W`/`1M`).
14366
- * Tracker is always hidden on `1W`/`1M` (same allowlist as scanner settings).
14367
14369
  */
14368
14370
  availableIntervals?: string[];
14369
14371
  /** Called when the user clicks Scan in the scanner popup. */