@aeristerminal/aeris-charts 0.14.3 → 0.14.4

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.
@@ -58,10 +58,10 @@
58
58
  --icon-active: #0a0a0a;
59
59
 
60
60
  /* Status — gains / losses, success / failure. Shared with the main platform. */
61
- --positive: #089981;
62
- --positive-subtle: #dcf5f0;
63
- --negative: #f7525f;
64
- --negative-subtle: #ffe2e2;
61
+ --positive: #3fb950;
62
+ --positive-subtle: #e8f7ea;
63
+ --negative: #f85149;
64
+ --negative-subtle: #fee1e0;
65
65
  --warning: #ff6900;
66
66
  --warning-subtle: #ffedd4;
67
67
  --indigo: #615fff;
@@ -137,8 +137,8 @@
137
137
  --bullish: var(--positive);
138
138
  --bearish: var(--negative);
139
139
  /* Big-trade bubble fills; the bubble outline uses bullish / bearish. */
140
- --buy-bubble: color-mix(in srgb, #089981 35%, transparent);
141
- --sell-bubble: color-mix(in srgb, #f7525f 35%, transparent);
140
+ --buy-bubble: color-mix(in srgb, var(--positive) 35%, transparent);
141
+ --sell-bubble: color-mix(in srgb, var(--negative) 35%, transparent);
142
142
  }
143
143
 
144
144
  .dark,
@@ -180,10 +180,10 @@
180
180
  --icon-active: #fafafa;
181
181
 
182
182
  /* Status — gains / losses, success / failure. Shared with the main platform. */
183
- --positive: #089981;
184
- --positive-subtle: #193c37;
185
- --negative: #f7525f;
186
- --negative-subtle: #532b2e;
183
+ --positive: #98c379;
184
+ --positive-subtle: #3c4933;
185
+ --negative: #e06c75;
186
+ --negative-subtle: #533133;
187
187
  --warning: #ff6900;
188
188
  --warning-subtle: #7e2a0c;
189
189
  --indigo: #615fff;
@@ -252,8 +252,8 @@
252
252
  --bullish: var(--positive);
253
253
  --bearish: var(--negative);
254
254
  /* Big-trade bubble fills; the bubble outline uses bullish / bearish. */
255
- --buy-bubble: color-mix(in srgb, #089981 35%, transparent);
256
- --sell-bubble: color-mix(in srgb, #f7525f 35%, transparent);
255
+ --buy-bubble: color-mix(in srgb, var(--positive) 35%, transparent);
256
+ --sell-bubble: color-mix(in srgb, var(--negative) 35%, transparent);
257
257
  }
258
258
  *,
259
259
  *::before,
Binary file
@@ -40,7 +40,7 @@ export interface series_markers_handle {
40
40
  * @example
41
41
  * ```js
42
42
  * const markers = create_series_markers(series, [
43
- * { time: 1556880900, position: "aboveBar", shape: "arrowDown", color: "#f7525f", text: "SELL" },
43
+ * { time: 1556880900, position: "aboveBar", shape: "arrowDown", color: "#e06c75", text: "SELL" },
44
44
  * ]);
45
45
  * markers.set_markers([]); // remove all markers
46
46
  * markers.detach();
package/dist/impl.d.ts CHANGED
@@ -7,7 +7,7 @@ import type { series_primitive, series_primitive_handle } from "./primitives.js"
7
7
  import type { canvas_primitive, canvas_primitive_handle } from "./canvas_plugins.js";
8
8
  import type { custom_series_pane_view } from "./custom_series.js";
9
9
  import { type accessibility_handle } from "./accessibility.js";
10
- import type { alert_api, crosshair_action_request_handler, any_series_options, backend_status, bars_info, chart_api, chart_context_handler, chart_options, chart_state, chart_value_snapshot, comparison_legend_entry, data_changed_handler, dbl_click_handler, deep_partial, drawing_api, drawing_created_handler, drawing_kind, drawing_options, depth_event_columns, depth_event_layer_options, depth_heatmap_options, depth_ladder_row, depth_options, depth_profile_options, depth_snapshot_columns, depth_study_snapshot, depth_update_columns, drawing_point, drawing_tool_change_handler, drawing_interval, drawing_property_schema, drawing_kind_options, drawing_template, builtin_drawing_icon, kst_periods, study_calendar_policy, previous_period, frame_stats, footprint_series_api, footprint_series_options, footprint_trade, footprint_trade_columns, general_accessibility_snapshot, general_axis_api, general_axis_options, general_brush_range, general_brush_snapshot, general_legend_snapshot, general_pane_composition, general_pane_composition_result, general_pane_options, general_reference_api, general_reference_options, general_series_api, general_series_hit, general_series_kind, general_series_options, general_shared_tooltip_snapshot, general_tooltip_snapshot, general_update_options, general_xy_row, layout_hit, layout_input, layout_series_api, layout_series_kind, layout_series_options, box_plot_row, bubble_columns, bubble_row, category_box_columns, category_error_columns, category_heatmap_columns, category_range_columns, category_xy_columns, numeric_error_columns, numeric_heatmap_columns, numeric_range_columns, numeric_xy_columns, error_bar_row, heatmap_grid_row, histogram_columns, histogram_row, range_area_row, temporal_error_columns, temporal_heatmap_columns, temporal_range_columns, temporal_xy_columns, ingestion_diagnostics, handle_scale_options, handle_scroll_options, indicator_info, indicator_input_source, indicator_kind, indicator_output_style, indicator_schema, kinetic_scroll_options, pivot_kind, vwap_reset, last_value_data, localization_options, logical_range, mismatch_direction, mouse_event_handler, ohlc_columns, ohlc_data, options_change_handler, pane_api, price_line_api, price_line_options, persistence_restore_result, price_scale_api, price_scale_create_options, price_scale_info, ring_source_layout, series_api, series_change_handler, series_data, series_kind, series_marker, series_marker_options, series_options, size_change_handler, time, replay_clock_stats, replay_seek_stats, resample_boundary, resample_options, resampled_bar, study_annotations, synthetic_bar_options, trade_stream_stats, profile_source, profile_request, profile_snapshot, naked_profile_level, tpo_request, tpo_snapshot, tpo_presentation_options, periodic_profile_presentation_request, periodic_profile_presentation_options, anchored_vwap_point, profile_drawing_options, profile_drawing_snapshot, time_and_sales_options, time_and_sales_row, time_scale_api, tracking_mode_options, trading_api, trading_hit, chart_sync_event, crosshair_sync_position, trading_intent, visible_logical_range_handler, visible_time_range_handler, volume_profile_indicator_api, volume_profile_indicator_options, big_trades_api, big_trades_options, auction_marker_options, auction_markers_api, custom_study_definition, custom_study_fault_event, custom_study_binding_options } from "./types.js";
10
+ import type { alert_api, crosshair_action_request_handler, any_series_options, backend_status, bars_info, chart_api, chart_context_handler, chart_options, chart_state, chart_value_snapshot, comparison_legend_entry, data_changed_handler, dbl_click_handler, deep_partial, drawing_api, drawing_created_handler, drawing_kind, drawing_options, depth_event_columns, depth_event_layer_options, depth_heatmap_options, depth_ladder_row, depth_options, depth_profile_options, depth_snapshot_columns, depth_study_snapshot, depth_update_columns, drawing_point, drawing_tool_change_handler, drawing_interval, drawing_property_schema, drawing_kind_options, drawing_template, builtin_drawing_icon, kst_periods, study_calendar_policy, previous_period, frame_stats, footprint_series_api, footprint_series_options, footprint_trade, footprint_trade_columns, general_accessibility_snapshot, general_axis_api, general_axis_options, general_brush_range, general_brush_snapshot, general_legend_snapshot, general_pane_composition, general_pane_composition_result, general_pane_options, general_reference_api, general_reference_options, general_series_api, general_series_hit, general_series_kind, general_series_options, general_shared_tooltip_snapshot, general_tooltip_snapshot, general_update_options, general_xy_row, layout_hit, layout_input, layout_series_api, layout_series_kind, layout_series_options, box_plot_row, bubble_columns, bubble_row, category_box_columns, category_error_columns, category_heatmap_columns, category_range_columns, category_xy_columns, numeric_error_columns, numeric_heatmap_columns, numeric_range_columns, numeric_xy_columns, error_bar_row, heatmap_grid_row, histogram_columns, histogram_row, range_area_row, temporal_error_columns, temporal_heatmap_columns, temporal_range_columns, temporal_xy_columns, ingestion_diagnostics, handle_scale_options, handle_scroll_options, indicator_info, indicator_input_source, indicator_kind, indicator_output_style, indicator_schema, kinetic_scroll_options, pivot_kind, vwap_reset, last_value_data, localization_options, logical_range, mismatch_direction, mouse_event_handler, ohlc_columns, ohlc_data, options_change_handler, pane_api, price_line_api, price_line_options, persistence_restore_result, price_scale_api, price_scale_create_options, price_scale_info, ring_source_layout, series_api, series_change_handler, series_data, series_kind, series_marker, series_marker_options, series_options, size_change_handler, time, replay_clock_stats, replay_seek_stats, resample_boundary, resample_options, resampled_bar, study_annotations, synthetic_bar_options, trade_stream_stats, profile_source, profile_request, profile_snapshot, naked_profile_level, tpo_request, tpo_snapshot, tpo_presentation_options, periodic_profile_presentation_request, periodic_profile_presentation_options, anchored_vwap_point, profile_drawing_options, profile_drawing_snapshot, time_and_sales_options, time_and_sales_row, time_scale_api, tracking_mode_options, trading_api, trading_hit, chart_sync_event, crosshair_sync_position, trading_intent, visible_logical_range_handler, visible_time_range_handler, volume_profile_indicator_api, volume_profile_indicator_options, options_volume_api, options_volume_row, big_trades_api, big_trades_options, auction_marker_options, auction_markers_api, custom_study_definition, custom_study_fault_event, custom_study_binding_options } from "./types.js";
11
11
  import { popover_palette, type theme_name } from "./theme.js";
12
12
  /** Whether the host supplied an Aeris Charts Commercial License key. */
13
13
  export declare function has_license_key(license_key: unknown): boolean;
@@ -304,6 +304,9 @@ export declare class chart_impl implements chart_api {
304
304
  private detach_gestures;
305
305
  private removed;
306
306
  private readonly series_by_id;
307
+ /** Options-volume column series → the removal of their whole study. */
308
+ private readonly options_volume_removers;
309
+ private next_options_volume_id;
307
310
  private readonly general_series_by_id;
308
311
  private readonly layout_series_by_id;
309
312
  private readonly layout_change_subscribers_by_id;
@@ -637,6 +640,7 @@ export declare class chart_impl implements chart_api {
637
640
  add_volume(source: series_api, period: number, volume_source: series_api, options?: Partial<series_options>): [series_api, series_api];
638
641
  add_vwap_bands(source: series_api, reset?: vwap_reset, standard_deviation?: number, percent?: number, volume_source?: series_api | null, options?: Partial<series_options>): [series_api, series_api, series_api, series_api, series_api];
639
642
  add_volume_profile(source: series_api, volume_source: series_api, options?: Partial<volume_profile_indicator_options>): volume_profile_indicator_api;
643
+ add_options_volume(rows?: readonly options_volume_row[]): options_volume_api;
640
644
  add_wma(source: series_api, period: number, options?: Partial<series_options>): series_api;
641
645
  add_vwma(source: series_api, period: number, volume_source?: series_api | null, options?: Partial<series_options>): series_api;
642
646
  add_standard_deviation(source: series_api, period: number, options?: Partial<series_options>): series_api;