@oanda/labs-volatility-chart-widget 1.0.167 → 1.0.168

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/CHANGELOG.md CHANGED
@@ -3,6 +3,682 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.0.168 (2025-09-02)
7
+
8
+
9
+
10
+ ## 1.0.218 (2025-09-01)
11
+
12
+
13
+
14
+ ## 1.0.217 (2025-08-25)
15
+
16
+
17
+
18
+ ## 1.0.216 (2025-08-18)
19
+
20
+
21
+
22
+ ## 1.0.215 (2025-08-18)
23
+
24
+
25
+
26
+ ## 1.0.214 (2025-08-14)
27
+
28
+
29
+
30
+ ## 1.0.213 (2025-08-12)
31
+
32
+
33
+
34
+ ## 1.0.212 (2025-08-05)
35
+
36
+
37
+
38
+ ## 1.0.211 (2025-08-05)
39
+
40
+
41
+
42
+ ## 1.0.210 (2025-07-31)
43
+
44
+
45
+
46
+ ## 1.0.209 (2025-07-31)
47
+
48
+
49
+
50
+ ## 1.0.208 (2025-07-24)
51
+
52
+
53
+
54
+ ## 1.0.207 (2025-07-18)
55
+
56
+
57
+
58
+ ## 1.0.206 (2025-07-18)
59
+
60
+
61
+
62
+ ## 1.0.205 (2025-07-17)
63
+
64
+
65
+
66
+ ## 1.0.204 (2025-07-09)
67
+
68
+
69
+
70
+ ## 1.0.203 (2025-06-16)
71
+
72
+
73
+
74
+ ## 1.0.202 (2025-06-04)
75
+
76
+
77
+
78
+ ## 1.0.201 (2025-06-02)
79
+
80
+
81
+
82
+ ## 1.0.200 (2025-05-30)
83
+
84
+
85
+
86
+ ## 1.0.199 (2025-05-29)
87
+
88
+
89
+
90
+ ## 1.0.198 (2025-05-26)
91
+
92
+
93
+
94
+ ## 1.0.197 (2025-05-23)
95
+
96
+
97
+
98
+ ## 1.0.196 (2025-05-22)
99
+
100
+
101
+
102
+ ## 1.0.195 (2025-05-21)
103
+
104
+
105
+
106
+ ## 1.0.194 (2025-05-21)
107
+
108
+
109
+
110
+ ## 1.0.193 (2025-05-15)
111
+
112
+
113
+
114
+ ## 1.0.192 (2025-05-14)
115
+
116
+
117
+
118
+ ## 1.0.191 (2025-04-30)
119
+
120
+
121
+
122
+ ## 1.0.190 (2025-04-28)
123
+
124
+
125
+
126
+ ## 1.0.189 (2025-04-23)
127
+
128
+
129
+
130
+ ## 1.0.188 (2025-04-22)
131
+
132
+
133
+
134
+ ## 1.0.187 (2025-04-18)
135
+
136
+
137
+
138
+ ## 1.0.186 (2025-04-10)
139
+
140
+
141
+
142
+ ## 1.0.185 (2025-04-09)
143
+
144
+
145
+
146
+ ## 1.0.184 (2025-04-08)
147
+
148
+
149
+
150
+ ## 1.0.183 (2025-04-04)
151
+
152
+
153
+
154
+ ## 1.0.182 (2025-03-21)
155
+
156
+
157
+
158
+ ## 1.0.181 (2025-03-13)
159
+
160
+
161
+
162
+ ## 1.0.180 (2025-01-30)
163
+
164
+
165
+
166
+ ## 1.0.179 (2025-01-29)
167
+
168
+
169
+
170
+ ## 1.0.178 (2025-01-12)
171
+
172
+
173
+
174
+ ## 1.0.177 (2025-01-10)
175
+
176
+
177
+
178
+ ## 1.0.176 (2025-01-10)
179
+
180
+
181
+
182
+ ## 1.0.175 (2025-01-08)
183
+
184
+
185
+
186
+ ## 1.0.174 (2024-12-16)
187
+
188
+
189
+
190
+ ## 1.0.173 (2024-12-11)
191
+
192
+
193
+
194
+ ## 1.0.172 (2024-11-29)
195
+
196
+
197
+
198
+ ## 1.0.171 (2024-11-28)
199
+
200
+
201
+
202
+ ## 1.0.170 (2024-11-28)
203
+
204
+
205
+
206
+ ## 1.0.169 (2024-11-20)
207
+
208
+
209
+
210
+ ## 1.0.168 (2024-11-19)
211
+
212
+
213
+
214
+ ## 1.0.167 (2024-10-14)
215
+
216
+
217
+
218
+ ## 1.0.166 (2024-10-07)
219
+
220
+
221
+
222
+ ## 1.0.165 (2024-10-03)
223
+
224
+
225
+
226
+ ## 1.0.164 (2024-09-26)
227
+
228
+
229
+
230
+ ## 1.0.163 (2024-09-18)
231
+
232
+
233
+
234
+ ## 1.0.162 (2024-09-12)
235
+
236
+
237
+
238
+ ## 1.0.161 (2024-09-11)
239
+
240
+
241
+
242
+ ## 1.0.160 (2024-09-10)
243
+
244
+
245
+
246
+ ## 1.0.159 (2024-09-09)
247
+
248
+
249
+
250
+ ## 1.0.158 (2024-09-04)
251
+
252
+
253
+
254
+ ## 1.0.157 (2024-09-04)
255
+
256
+
257
+
258
+ ## 1.0.156 (2024-09-02)
259
+
260
+
261
+
262
+ ## 1.0.155 (2024-08-29)
263
+
264
+
265
+
266
+ ## 1.0.154 (2024-08-29)
267
+
268
+
269
+
270
+ ## 1.0.153 (2024-08-23)
271
+
272
+
273
+
274
+ ## 1.0.152 (2024-08-23)
275
+
276
+
277
+
278
+ ## 1.0.151 (2024-08-20)
279
+
280
+
281
+
282
+ ## 1.0.150 (2024-08-19)
283
+
284
+
285
+
286
+ ## 1.0.149 (2024-08-07)
287
+
288
+
289
+
290
+ ## 1.0.148 (2024-08-01)
291
+
292
+
293
+
294
+ ## 1.0.147 (2024-08-01)
295
+
296
+
297
+
298
+ ## 1.0.146 (2024-07-26)
299
+
300
+
301
+
302
+ ## 1.0.145 (2024-07-25)
303
+
304
+
305
+
306
+ ## 1.0.144 (2024-07-22)
307
+
308
+
309
+
310
+ ## 1.0.143 (2024-07-19)
311
+
312
+
313
+
314
+ ## 1.0.142 (2024-07-16)
315
+
316
+
317
+
318
+ ## 1.0.141 (2024-07-16)
319
+
320
+
321
+
322
+ ## 1.0.140 (2024-07-12)
323
+
324
+
325
+
326
+ ## 1.0.139 (2024-07-12)
327
+
328
+
329
+
330
+ ## 1.0.138 (2024-07-10)
331
+
332
+
333
+
334
+ ## 1.0.137 (2024-07-05)
335
+
336
+
337
+
338
+ ## 1.0.136 (2024-07-03)
339
+
340
+
341
+
342
+ ## 1.0.135 (2024-07-03)
343
+
344
+
345
+
346
+ ## 1.0.134 (2024-07-03)
347
+
348
+
349
+
350
+ ## 1.0.133 (2024-06-28)
351
+
352
+
353
+
354
+ ## 1.0.132 (2024-06-27)
355
+
356
+
357
+
358
+ ## 1.0.131 (2024-06-27)
359
+
360
+
361
+
362
+ ## 1.0.130 (2024-06-26)
363
+
364
+
365
+
366
+ ## 1.0.129 (2024-06-17)
367
+
368
+
369
+
370
+ ## 1.0.128 (2024-06-17)
371
+
372
+
373
+
374
+ ## 1.0.127 (2024-06-10)
375
+
376
+
377
+
378
+ ## 1.0.126 (2024-05-29)
379
+
380
+
381
+
382
+ ## 1.0.125 (2024-05-29)
383
+
384
+
385
+
386
+ ## 1.0.124 (2024-05-29)
387
+
388
+
389
+
390
+ ## 1.0.123 (2024-05-28)
391
+
392
+
393
+
394
+ ## 1.0.122 (2024-05-27)
395
+
396
+
397
+
398
+ ## 1.0.121 (2024-05-27)
399
+
400
+
401
+
402
+ ## 1.0.120 (2024-05-24)
403
+
404
+
405
+
406
+ ## 1.0.119 (2024-05-17)
407
+
408
+
409
+
410
+ ## 1.0.118 (2024-05-09)
411
+
412
+
413
+
414
+ ## 1.0.117 (2024-05-07)
415
+
416
+
417
+
418
+ ## 1.0.116 (2024-04-23)
419
+
420
+
421
+
422
+ ## 1.0.115 (2024-04-22)
423
+
424
+
425
+
426
+ ## 1.0.114 (2024-04-19)
427
+
428
+
429
+
430
+ ## 1.0.113 (2024-04-19)
431
+
432
+
433
+
434
+ ## 1.0.112 (2024-04-15)
435
+
436
+
437
+
438
+ ## 1.0.111 (2024-04-11)
439
+
440
+
441
+
442
+ ## 1.0.110 (2024-04-05)
443
+
444
+
445
+
446
+ ## 1.0.109 (2024-04-05)
447
+
448
+
449
+
450
+ ## 1.0.108 (2024-04-04)
451
+
452
+
453
+
454
+ ## 1.0.107 (2024-04-03)
455
+
456
+
457
+
458
+ ## 1.0.106 (2024-03-29)
459
+
460
+
461
+
462
+ ## 1.0.105 (2024-03-28)
463
+
464
+
465
+
466
+ ## 1.0.104 (2024-03-21)
467
+
468
+
469
+
470
+ ## 1.0.103 (2024-03-20)
471
+
472
+
473
+
474
+ ## 1.0.102 (2024-03-20)
475
+
476
+
477
+
478
+ ## 1.0.101 (2024-03-13)
479
+
480
+
481
+
482
+ ## 1.0.100 (2024-03-12)
483
+
484
+
485
+
486
+ ## 1.0.99 (2024-03-11)
487
+
488
+
489
+
490
+ ## 1.0.98 (2024-03-07)
491
+
492
+
493
+
494
+ ## 1.0.97 (2024-03-06)
495
+
496
+
497
+
498
+ ## 1.0.96 (2024-03-06)
499
+
500
+
501
+
502
+ ## 1.0.95 (2024-03-04)
503
+
504
+
505
+
506
+ ## 1.0.94 (2024-02-29)
507
+
508
+
509
+
510
+ ## 1.0.93 (2024-02-28)
511
+
512
+
513
+
514
+ ## 1.0.92 (2024-02-28)
515
+
516
+
517
+
518
+ ## 1.0.91 (2024-02-23)
519
+
520
+
521
+
522
+ ## 1.0.90 (2024-02-23)
523
+
524
+
525
+
526
+ ## 1.0.89 (2024-02-21)
527
+
528
+
529
+
530
+ ## 1.0.88 (2024-02-21)
531
+
532
+
533
+
534
+ ## 1.0.87 (2024-02-20)
535
+
536
+
537
+
538
+ ## 1.0.86 (2024-02-20)
539
+
540
+
541
+
542
+ ## 1.0.85 (2024-02-13)
543
+
544
+
545
+
546
+ ## 1.0.84 (2024-02-13)
547
+
548
+
549
+
550
+ ## 1.0.83 (2024-02-09)
551
+
552
+
553
+
554
+ ## 1.0.82 (2024-02-05)
555
+
556
+
557
+
558
+ ## 1.0.81 (2024-02-05)
559
+
560
+
561
+
562
+ ## 1.0.80 (2024-02-05)
563
+
564
+
565
+
566
+ ## 1.0.79 (2024-02-05)
567
+
568
+
569
+
570
+ ## 1.0.78 (2024-01-30)
571
+
572
+
573
+
574
+ ## 1.0.77 (2024-01-25)
575
+
576
+
577
+
578
+ ## 1.0.76 (2024-01-25)
579
+
580
+
581
+
582
+ ## 1.0.75 (2024-01-22)
583
+
584
+
585
+
586
+ ## 1.0.74 (2024-01-22)
587
+
588
+
589
+
590
+ ## 1.0.73 (2024-01-22)
591
+
592
+
593
+
594
+ ## 1.0.72 (2024-01-19)
595
+
596
+
597
+
598
+ ## 1.0.71 (2024-01-18)
599
+
600
+
601
+
602
+ ## 1.0.70 (2024-01-17)
603
+
604
+
605
+
606
+ ## 1.0.69 (2024-01-17)
607
+
608
+
609
+
610
+ ## 1.0.68 (2024-01-15)
611
+
612
+
613
+
614
+ ## 1.0.67 (2024-01-15)
615
+
616
+
617
+
618
+ ## 1.0.66 (2024-01-12)
619
+
620
+
621
+
622
+ ## 1.0.65 (2024-01-11)
623
+
624
+
625
+
626
+ ## 1.0.64 (2024-01-11)
627
+
628
+
629
+
630
+ ## 1.0.63 (2024-01-11)
631
+
632
+
633
+
634
+ ## 1.0.62 (2024-01-10)
635
+
636
+
637
+
638
+ ## 1.0.61 (2024-01-09)
639
+
640
+
641
+
642
+ ## 1.0.60 (2024-01-05)
643
+
644
+
645
+
646
+ ## 1.0.59 (2023-12-27)
647
+
648
+
649
+
650
+ ## 1.0.58 (2023-12-22)
651
+
652
+
653
+
654
+ ## 1.0.57 (2023-12-22)
655
+
656
+
657
+
658
+ ## 1.0.56 (2023-12-21)
659
+
660
+
661
+
662
+ ## 1.0.55 (2023-12-19)
663
+
664
+
665
+
666
+ ## 1.0.54 (2023-12-15)
667
+
668
+
669
+
670
+ ## 1.0.53 (2023-12-13)
671
+
672
+
673
+
674
+ ## 1.0.52 (2023-12-13)
675
+
676
+ **Note:** Version bump only for package @oanda/labs-volatility-chart-widget
677
+
678
+
679
+
680
+
681
+
6
682
  ## 1.0.167 (2025-09-01)
7
683
 
8
684
 
@@ -10,9 +10,10 @@ var _charts = require("echarts/charts");
10
10
  var _components = require("echarts/components");
11
11
  var echarts = _interopRequireWildcard(require("echarts/core"));
12
12
  var _renderers = require("echarts/renderers");
13
- var _react = _interopRequireWildcard(require("react"));
13
+ var _react = _interopRequireDefault(require("react"));
14
14
  var _constants = require("./constants");
15
15
  var _getOption = require("./getOption");
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
17
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
18
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
19
  echarts.use([_components.GridSimpleComponent, _components.GraphicComponent, _components.TooltipComponent, _components.TitleComponent, _charts.BarChart, _renderers.CanvasRenderer]);
@@ -27,50 +28,29 @@ const Chart = _ref => {
27
28
  lang
28
29
  } = (0, _monoI18n.useLocale)();
29
30
  const {
30
- isDark,
31
- size
31
+ isDark
32
32
  } = (0, _labsWidgetCommon.useLayoutProvider)();
33
- const isDesktop = size === _labsWidgetCommon.Size.DESKTOP;
34
- const echartRef = (0, _react.useRef)(null);
35
- (0, _react.useEffect)(() => {
36
- if (echartRef.current) {
37
- const echartInstance = echartRef.current.getEchartsInstance();
38
- echartInstance.setOption(isDesktop ? (0, _getOption.getDesktopOption)({
39
- timeUnit,
40
- lang,
41
- isDark
42
- }) : (0, _getOption.getMobileOption)({
43
- timeUnit,
44
- lang,
45
- isDark
46
- }));
47
- }
48
- }, [echartRef, timeUnit, isDesktop, lang, isDark]);
49
- (0, _react.useEffect)(() => {
50
- if (echartRef.current) {
51
- const echartInstance = echartRef.current.getEchartsInstance();
52
- echartInstance.on('highlight', () => {
53
- echartInstance.setOption({
33
+ return _react.default.createElement(_labsWidgetCommon.BaseChart, {
34
+ chartHeight: _constants.CHART_HEIGHT,
35
+ echarts: echarts,
36
+ isDark: isDark,
37
+ option: (0, _getOption.getOption)(values, lang, timeUnit, isDark),
38
+ onEvents: {
39
+ highlight: (_params, instance) => {
40
+ instance.setOption({
54
41
  title: {
55
42
  show: false
56
43
  }
57
44
  });
58
- });
59
- echartInstance.on('globalout', () => {
60
- echartInstance.setOption({
45
+ },
46
+ globalout: (_params, instance) => {
47
+ instance.setOption({
61
48
  title: {
62
- show: window.innerWidth < 769
49
+ show: true
63
50
  }
64
51
  });
65
- });
52
+ }
66
53
  }
67
- }, [echartRef]);
68
- return _react.default.createElement(_labsWidgetCommon.BaseChart, {
69
- ref: echartRef,
70
- chartHeight: _constants.CHART_HEIGHT,
71
- echarts: echarts,
72
- isDark: isDark,
73
- option: (0, _getOption.getOption)(values, lang, timeUnit)
74
54
  });
75
55
  };
76
56
  exports.Chart = Chart;