@iccandle/reactjs-widget 0.2.30 → 0.2.32
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/widget-iccandle.cjs +17 -17
- package/dist/widget-iccandle.d.ts +8 -2
- package/dist/widget-iccandle.js +4743 -4704
- package/package.json +1 -1
|
@@ -14334,12 +14334,18 @@ type WidgetIccandleChartRefs = {
|
|
|
14334
14334
|
generatedCandlesBackgroundStudyIdRef: RefObject<EntityId | null>;
|
|
14335
14335
|
generatedCandlesStudyIdRef: RefObject<EntityId | null>;
|
|
14336
14336
|
};
|
|
14337
|
-
declare const WidgetIccandle: ({ chartWidget, children, theme, language, submitCallback, onCloseResult, iframeLoaded, resultIframeRef, isShowScanButton, isShowTrackerButton, isShowScannerPopup, availableIntervals, onScanClick, }: WidgetIccandleProps) => react_jsx_runtime.JSX.Element;
|
|
14337
|
+
declare const WidgetIccandle: ({ chartWidget, children, theme, chartMaskColors, language, submitCallback, onCloseResult, iframeLoaded, resultIframeRef, isShowScanButton, isShowTrackerButton, isShowScannerPopup, availableIntervals, onScanClick, }: WidgetIccandleProps) => react_jsx_runtime.JSX.Element;
|
|
14338
|
+
type WidgetChartMaskColors = {
|
|
14339
|
+
light?: string;
|
|
14340
|
+
dark?: string;
|
|
14341
|
+
};
|
|
14338
14342
|
type WidgetIccandleProps = {
|
|
14339
14343
|
chartWidget: IChartingLibraryWidget | null;
|
|
14340
14344
|
children: ReactNode | ((chartRefs: WidgetIccandleChartRefs) => ReactNode);
|
|
14341
14345
|
submitCallback: (iframeSrc: string) => void;
|
|
14342
14346
|
theme?: "light" | "dark" | "system";
|
|
14347
|
+
/** Simulate-candle mask colors per theme. Defaults: light `#ffffff`, dark `#0F0F0F`. */
|
|
14348
|
+
chartMaskColors?: WidgetChartMaskColors;
|
|
14343
14349
|
language?: WidgetLanguage$1;
|
|
14344
14350
|
onCloseResult?: () => void;
|
|
14345
14351
|
iframeLoaded?: boolean;
|
|
@@ -14371,4 +14377,4 @@ declare const getCustomIndicators: (theme?: GeneratedCandlesTheme) => Promise<re
|
|
|
14371
14377
|
declare const WIDGET_RESULT_URL = "https://embed-iccandle-app.iccandle.ai";
|
|
14372
14378
|
|
|
14373
14379
|
export { WIDGET_RESULT_URL, WidgetIccandle, getCustomIndicators, handleResultIframeLoad, withPlayChart };
|
|
14374
|
-
export type { GeneratedCandlesTheme, WidgetIccandleProps, WidgetLanguage };
|
|
14380
|
+
export type { GeneratedCandlesTheme, WidgetChartMaskColors, WidgetIccandleProps, WidgetLanguage };
|