@iccandle/reactjs-widget 0.3.4 → 0.3.6

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
+ /** Widget + embed background (hex, `#` optional). Omitted = CSS defaults. */
14350
+ bg_dark?: string;
14351
+ bg_light?: string;
14349
14352
  language?: WidgetLanguage$1;
14350
14353
  onCloseResult?: () => void;
14351
14354
  iframeLoaded?: boolean;