@hero-design/rn 8.99.4 → 8.100.0

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.
Files changed (121) hide show
  1. package/.turbo/turbo-build.log +8 -3
  2. package/CHANGELOG.md +17 -0
  3. package/es/index.js +5621 -690
  4. package/jest.config.js +1 -1
  5. package/lib/index.js +5545 -613
  6. package/package.json +4 -2
  7. package/src/components/Avatar/AvatarStack/utils.ts +6 -4
  8. package/src/components/Badge/Status.tsx +1 -1
  9. package/src/components/Badge/__tests__/Status.spec.tsx +20 -0
  10. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -0
  11. package/src/components/Chart/ChartSelect/StyledChartSelect.tsx +9 -0
  12. package/src/components/Chart/ChartSelect/__tests__/StyledChartSelect.spec.tsx +15 -0
  13. package/src/components/Chart/ChartSelect/__tests__/__snapshots__/StyledChartSelect.spec.tsx.snap +20 -0
  14. package/src/components/Chart/ChartSelect/__tests__/index.spec.tsx +111 -0
  15. package/src/components/Chart/ChartSelect/index.tsx +137 -0
  16. package/src/components/Chart/ColumnChart/ColumnChartContent.tsx +84 -0
  17. package/src/components/Chart/ColumnChart/Segment.tsx +66 -0
  18. package/src/components/Chart/ColumnChart/StackedSegment.tsx +99 -0
  19. package/src/components/Chart/ColumnChart/StyledColumnChart.tsx +9 -0
  20. package/src/components/Chart/ColumnChart/__tests__/ColumnChartContent.spec.tsx +68 -0
  21. package/src/components/Chart/ColumnChart/__tests__/Segment.spec.tsx +99 -0
  22. package/src/components/Chart/ColumnChart/__tests__/StackedSegment.spec.tsx +115 -0
  23. package/src/components/Chart/ColumnChart/__tests__/__snapshots__/StackedSegment.spec.tsx.snap +120 -0
  24. package/src/components/Chart/ColumnChart/__tests__/__snapshots__/index.spec.tsx.snap +1405 -0
  25. package/src/components/Chart/ColumnChart/__tests__/index.spec.tsx +134 -0
  26. package/src/components/Chart/ColumnChart/index.tsx +216 -0
  27. package/src/components/Chart/Line/Line.tsx +81 -0
  28. package/src/components/Chart/Line/__tests__/Line.spec.tsx +148 -0
  29. package/src/components/Chart/Line/__tests__/__snapshots__/Line.spec.tsx.snap +56 -0
  30. package/src/components/Chart/Line/__tests__/__snapshots__/index.spec.tsx.snap +1461 -0
  31. package/src/components/Chart/Line/__tests__/index.spec.tsx +112 -0
  32. package/src/components/Chart/Line/index.tsx +143 -0
  33. package/src/components/Chart/StyledChart.tsx +16 -0
  34. package/src/components/Chart/index.tsx +13 -0
  35. package/src/components/Chart/shared/AxisLabel.tsx +25 -0
  36. package/src/components/Chart/shared/ChartFrame.tsx +131 -0
  37. package/src/components/Chart/shared/ChartHeader.tsx +19 -0
  38. package/src/components/Chart/shared/EmptyState.tsx +83 -0
  39. package/src/components/Chart/shared/XAxis.tsx +69 -0
  40. package/src/components/Chart/shared/XAxisGrid.tsx +42 -0
  41. package/src/components/Chart/shared/YAxis.tsx +104 -0
  42. package/src/components/Chart/shared/YAxisGrid.tsx +58 -0
  43. package/src/components/Chart/shared/__tests__/ChartFrame.spec.tsx +125 -0
  44. package/src/components/Chart/shared/__tests__/ChartHeader.spec.tsx +22 -0
  45. package/src/components/Chart/shared/__tests__/EmptyState.spec.tsx +29 -0
  46. package/src/components/Chart/shared/__tests__/XAXisGrid.spec.tsx +30 -0
  47. package/src/components/Chart/shared/__tests__/XAxis.spec.tsx +42 -0
  48. package/src/components/Chart/shared/__tests__/YAxis.spec.tsx +72 -0
  49. package/src/components/Chart/shared/__tests__/YAxisGrid.spec.tsx +35 -0
  50. package/src/components/Chart/shared/__tests__/__snapshots__/ChartFrame.spec.tsx.snap +3058 -0
  51. package/src/components/Chart/shared/__tests__/__snapshots__/ChartHeader.spec.tsx.snap +160 -0
  52. package/src/components/Chart/shared/__tests__/__snapshots__/EmptyState.spec.tsx.snap +155 -0
  53. package/src/components/Chart/shared/__tests__/__snapshots__/XAXisGrid.spec.tsx.snap +197 -0
  54. package/src/components/Chart/shared/__tests__/__snapshots__/XAxis.spec.tsx.snap +369 -0
  55. package/src/components/Chart/shared/__tests__/__snapshots__/YAxis.spec.tsx.snap +1013 -0
  56. package/src/components/Chart/shared/__tests__/__snapshots__/YAxisGrid.spec.tsx.snap +228 -0
  57. package/src/components/Chart/shared/__tests__/niceNumbers.spec.tsx +127 -0
  58. package/src/components/Chart/shared/constants.ts +2 -0
  59. package/src/components/Chart/shared/hooks/useColorScale.ts +25 -0
  60. package/src/components/Chart/shared/hooks/useGenerateTicks.ts +27 -0
  61. package/src/components/Chart/shared/hooks/useScaleBandX.ts +17 -0
  62. package/src/components/Chart/shared/hooks/useScaleLinearY.ts +30 -0
  63. package/src/components/Chart/shared/niceNumbers.ts +68 -0
  64. package/src/components/Chart/types.ts +100 -0
  65. package/src/components/Select/MultiSelect/OptionList.tsx +1 -1
  66. package/src/components/Select/MultiSelect/index.tsx +2 -6
  67. package/src/components/Select/MultiSelect/utils.ts +1 -1
  68. package/src/components/Select/SingleSelect/OptionList.tsx +1 -1
  69. package/src/components/Select/SingleSelect/index.tsx +2 -7
  70. package/src/components/Select/__tests__/helpers.spec.tsx +0 -36
  71. package/src/components/Select/helpers.tsx +0 -75
  72. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -0
  73. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  74. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -0
  75. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +2 -0
  76. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +1 -0
  77. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  78. package/src/index.ts +2 -0
  79. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +28 -0
  80. package/src/theme/components/chart.ts +28 -0
  81. package/src/theme/components/columnChart.ts +15 -0
  82. package/src/theme/getTheme.ts +6 -0
  83. package/src/types.ts +4 -0
  84. package/src/utils/__tests__/helpers.spec.ts +36 -1
  85. package/src/utils/helpers.ts +76 -1
  86. package/stats/8.100.0/rn-stats.html +4842 -0
  87. package/stats/8.99.4/rn-stats.html +1 -1
  88. package/types/components/Badge/Status.d.ts +0 -1
  89. package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +8 -0
  90. package/types/components/Chart/ChartSelect/index.d.ts +63 -0
  91. package/types/components/Chart/ColumnChart/ColumnChartContent.d.ts +25 -0
  92. package/types/components/Chart/ColumnChart/Segment.d.ts +14 -0
  93. package/types/components/Chart/ColumnChart/StackedSegment.d.ts +28 -0
  94. package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +8 -0
  95. package/types/components/Chart/ColumnChart/index.d.ts +80 -0
  96. package/types/components/Chart/Line/Line.d.ts +21 -0
  97. package/types/components/Chart/Line/index.d.ts +35 -0
  98. package/types/components/Chart/StyledChart.d.ts +9 -0
  99. package/types/components/Chart/index.d.ts +9 -0
  100. package/types/components/Chart/shared/AxisLabel.d.ts +7 -0
  101. package/types/components/Chart/shared/ChartFrame.d.ts +30 -0
  102. package/types/components/Chart/shared/ChartHeader.d.ts +8 -0
  103. package/types/components/Chart/shared/EmptyState.d.ts +8 -0
  104. package/types/components/Chart/shared/XAxis.d.ts +8 -0
  105. package/types/components/Chart/shared/XAxisGrid.d.ts +8 -0
  106. package/types/components/Chart/shared/YAxis.d.ts +10 -0
  107. package/types/components/Chart/shared/YAxisGrid.d.ts +10 -0
  108. package/types/components/Chart/shared/constants.d.ts +2 -0
  109. package/types/components/Chart/shared/hooks/useColorScale.d.ts +7 -0
  110. package/types/components/Chart/shared/hooks/useGenerateTicks.d.ts +6 -0
  111. package/types/components/Chart/shared/hooks/useScaleBandX.d.ts +8 -0
  112. package/types/components/Chart/shared/hooks/useScaleLinearY.d.ts +9 -0
  113. package/types/components/Chart/shared/niceNumbers.d.ts +12 -0
  114. package/types/components/Chart/types.d.ts +84 -0
  115. package/types/components/Select/helpers.d.ts +0 -5
  116. package/types/index.d.ts +2 -1
  117. package/types/theme/components/chart.d.ts +22 -0
  118. package/types/theme/components/columnChart.d.ts +10 -0
  119. package/types/theme/getTheme.d.ts +4 -0
  120. package/types/types.d.ts +3 -1
  121. package/types/utils/helpers.d.ts +5 -0
@@ -0,0 +1,3058 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`ChartFrame should not render empty state when emptyText is provided 1`] = `
4
+ <View
5
+ style={
6
+ {
7
+ "flex": 1,
8
+ }
9
+ }
10
+ >
11
+ <View
12
+ style={
13
+ [
14
+ {},
15
+ {
16
+ "height": 100,
17
+ "width": 100,
18
+ },
19
+ ]
20
+ }
21
+ >
22
+ <View
23
+ onLayout={[Function]}
24
+ style={
25
+ [
26
+ {},
27
+ [
28
+ {
29
+ "alignItems": "center",
30
+ "flexDirection": "row",
31
+ "justifyContent": "space-between",
32
+ "marginBottom": 16,
33
+ },
34
+ undefined,
35
+ ],
36
+ ]
37
+ }
38
+ >
39
+ <View
40
+ style={
41
+ [
42
+ {},
43
+ undefined,
44
+ ]
45
+ }
46
+ >
47
+ <Text
48
+ allowFontScaling={false}
49
+ style={
50
+ [
51
+ {
52
+ "color": "#001f23",
53
+ "fontFamily": "BeVietnamPro-Regular",
54
+ "fontSize": 16,
55
+ "letterSpacing": 0.48,
56
+ "lineHeight": 24,
57
+ },
58
+ undefined,
59
+ ]
60
+ }
61
+ themeIntent="body"
62
+ themeTypeface="neutral"
63
+ themeVariant="regular"
64
+ >
65
+ Chart title
66
+ </Text>
67
+ </View>
68
+ <View
69
+ style={
70
+ [
71
+ {},
72
+ undefined,
73
+ ]
74
+ }
75
+ >
76
+ <View
77
+ accessibilityState={
78
+ {
79
+ "disabled": false,
80
+ }
81
+ }
82
+ accessibilityValue={
83
+ {
84
+ "max": undefined,
85
+ "min": undefined,
86
+ "now": undefined,
87
+ "text": undefined,
88
+ }
89
+ }
90
+ accessible={true}
91
+ focusable={true}
92
+ onClick={[Function]}
93
+ onResponderGrant={[Function]}
94
+ onResponderMove={[Function]}
95
+ onResponderRelease={[Function]}
96
+ onResponderTerminate={[Function]}
97
+ onResponderTerminationRequest={[Function]}
98
+ onStartShouldSetResponder={[Function]}
99
+ style={
100
+ [
101
+ {
102
+ "alignItems": "center",
103
+ "alignSelf": "stretch",
104
+ "backgroundColor": "#401960",
105
+ "borderRadius": 32,
106
+ "flexDirection": "row",
107
+ "height": 60,
108
+ "justifyContent": "center",
109
+ "padding": 16,
110
+ },
111
+ undefined,
112
+ ]
113
+ }
114
+ >
115
+ <Text
116
+ allowFontScaling={false}
117
+ disabled={false}
118
+ ellipsizeMode="tail"
119
+ numberOfLines={1}
120
+ style={
121
+ [
122
+ {
123
+ "color": "#001f23",
124
+ "fontFamily": "BeVietnamPro-SemiBold",
125
+ "fontSize": 18,
126
+ "letterSpacing": 0.24,
127
+ "lineHeight": 28,
128
+ },
129
+ [
130
+ {
131
+ "color": "#ffffff",
132
+ "flexShrink": 1,
133
+ "lineHeight": undefined,
134
+ "textAlign": "center",
135
+ "textAlignVertical": "center",
136
+ },
137
+ undefined,
138
+ ],
139
+ ]
140
+ }
141
+ themeButtonVariant="filled-primary"
142
+ themeIntent="body"
143
+ themeLevel="h5"
144
+ themeTypeface="neutral"
145
+ >
146
+ Button
147
+ </Text>
148
+ </View>
149
+ </View>
150
+ </View>
151
+ <View
152
+ style={
153
+ [
154
+ {},
155
+ {
156
+ "paddingTop": 8,
157
+ },
158
+ ]
159
+ }
160
+ >
161
+ <RNSVGSvgView
162
+ bbHeight={100}
163
+ bbWidth={100}
164
+ focusable={false}
165
+ style={
166
+ [
167
+ {
168
+ "backgroundColor": "transparent",
169
+ "borderWidth": 0,
170
+ },
171
+ {
172
+ "height": 100,
173
+ "overflow": "visible",
174
+ "width": 100,
175
+ },
176
+ {
177
+ "flex": 0,
178
+ "height": 100,
179
+ "width": 100,
180
+ },
181
+ ]
182
+ }
183
+ >
184
+ <RNSVGGroup
185
+ fill={
186
+ {
187
+ "payload": 4278190080,
188
+ "type": 0,
189
+ }
190
+ }
191
+ >
192
+ <RNSVGGroup
193
+ fill={
194
+ {
195
+ "payload": 4278190080,
196
+ "type": 0,
197
+ }
198
+ }
199
+ >
200
+ <RNSVGGroup
201
+ fill={
202
+ {
203
+ "payload": 4278190080,
204
+ "type": 0,
205
+ }
206
+ }
207
+ >
208
+ <View
209
+ alignItems="center"
210
+ style={
211
+ [
212
+ {
213
+ "alignItems": "center",
214
+ },
215
+ {
216
+ "left": 50.47619047619048,
217
+ "maxHeight": 32,
218
+ "position": "absolute",
219
+ "top": 68,
220
+ "width": 9.904761904761905,
221
+ },
222
+ ]
223
+ }
224
+ testID="x-axis-label-May 2025-container"
225
+ >
226
+ <Text
227
+ adjustsFontSizeToFit={true}
228
+ allowFontScaling={false}
229
+ ellipsizeMode="tail"
230
+ minimumFontScale={0.6}
231
+ numberOfLines={2}
232
+ style={
233
+ [
234
+ {
235
+ "color": "#4d6265",
236
+ "fontSize": 10,
237
+ "letterSpacing": 0,
238
+ "lineHeight": 14,
239
+ },
240
+ {
241
+ "textAlign": "center",
242
+ },
243
+ ]
244
+ }
245
+ themeIntent="subdued"
246
+ >
247
+ May 2025
248
+ </Text>
249
+ </View>
250
+ </RNSVGGroup>
251
+ <RNSVGGroup
252
+ fill={
253
+ {
254
+ "payload": 4278190080,
255
+ "type": 0,
256
+ }
257
+ }
258
+ >
259
+ <View
260
+ alignItems="center"
261
+ style={
262
+ [
263
+ {
264
+ "alignItems": "center",
265
+ },
266
+ {
267
+ "left": 62.85714285714286,
268
+ "maxHeight": 32,
269
+ "position": "absolute",
270
+ "top": 68,
271
+ "width": 9.904761904761905,
272
+ },
273
+ ]
274
+ }
275
+ testID="x-axis-label-Jun 2025-container"
276
+ >
277
+ <Text
278
+ adjustsFontSizeToFit={true}
279
+ allowFontScaling={false}
280
+ ellipsizeMode="tail"
281
+ minimumFontScale={0.6}
282
+ numberOfLines={2}
283
+ style={
284
+ [
285
+ {
286
+ "color": "#4d6265",
287
+ "fontSize": 10,
288
+ "letterSpacing": 0,
289
+ "lineHeight": 14,
290
+ },
291
+ {
292
+ "textAlign": "center",
293
+ },
294
+ ]
295
+ }
296
+ themeIntent="subdued"
297
+ >
298
+ Jun 2025
299
+ </Text>
300
+ </View>
301
+ </RNSVGGroup>
302
+ <RNSVGGroup
303
+ fill={
304
+ {
305
+ "payload": 4278190080,
306
+ "type": 0,
307
+ }
308
+ }
309
+ >
310
+ <View
311
+ alignItems="center"
312
+ style={
313
+ [
314
+ {
315
+ "alignItems": "center",
316
+ },
317
+ {
318
+ "left": 75.23809523809524,
319
+ "maxHeight": 32,
320
+ "position": "absolute",
321
+ "top": 68,
322
+ "width": 9.904761904761905,
323
+ },
324
+ ]
325
+ }
326
+ testID="x-axis-label-Jul 2025-container"
327
+ >
328
+ <Text
329
+ adjustsFontSizeToFit={true}
330
+ allowFontScaling={false}
331
+ ellipsizeMode="tail"
332
+ minimumFontScale={0.6}
333
+ numberOfLines={2}
334
+ style={
335
+ [
336
+ {
337
+ "color": "#4d6265",
338
+ "fontSize": 10,
339
+ "letterSpacing": 0,
340
+ "lineHeight": 14,
341
+ },
342
+ {
343
+ "textAlign": "center",
344
+ },
345
+ ]
346
+ }
347
+ themeIntent="subdued"
348
+ >
349
+ Jul 2025
350
+ </Text>
351
+ </View>
352
+ </RNSVGGroup>
353
+ <RNSVGGroup
354
+ fill={
355
+ {
356
+ "payload": 4278190080,
357
+ "type": 0,
358
+ }
359
+ }
360
+ >
361
+ <View
362
+ alignItems="center"
363
+ style={
364
+ [
365
+ {
366
+ "alignItems": "center",
367
+ },
368
+ {
369
+ "left": 87.61904761904762,
370
+ "maxHeight": 32,
371
+ "position": "absolute",
372
+ "top": 68,
373
+ "width": 9.904761904761905,
374
+ },
375
+ ]
376
+ }
377
+ testID="x-axis-label-Aug 2025-container"
378
+ >
379
+ <Text
380
+ adjustsFontSizeToFit={true}
381
+ allowFontScaling={false}
382
+ ellipsizeMode="tail"
383
+ minimumFontScale={0.6}
384
+ numberOfLines={2}
385
+ style={
386
+ [
387
+ {
388
+ "color": "#4d6265",
389
+ "fontSize": 10,
390
+ "letterSpacing": 0,
391
+ "lineHeight": 14,
392
+ },
393
+ {
394
+ "textAlign": "center",
395
+ },
396
+ ]
397
+ }
398
+ themeIntent="subdued"
399
+ >
400
+ Aug 2025
401
+ </Text>
402
+ </View>
403
+ </RNSVGGroup>
404
+ </RNSVGGroup>
405
+ <RNSVGGroup
406
+ fill={
407
+ {
408
+ "payload": 4278190080,
409
+ "type": 0,
410
+ }
411
+ }
412
+ >
413
+ <RNSVGGroup
414
+ fill={
415
+ {
416
+ "payload": 4278190080,
417
+ "type": 0,
418
+ }
419
+ }
420
+ >
421
+ <View
422
+ style={
423
+ [
424
+ {},
425
+ {
426
+ "maxWidth": 32,
427
+ "position": "absolute",
428
+ "right": 68,
429
+ "top": 56,
430
+ "transform": [
431
+ {
432
+ "translateY": -7,
433
+ },
434
+ ],
435
+ },
436
+ ]
437
+ }
438
+ testID="y-axis-label-0-container"
439
+ >
440
+ <Text
441
+ adjustsFontSizeToFit={true}
442
+ allowFontScaling={false}
443
+ ellipsizeMode="tail"
444
+ minimumFontScale={0.6}
445
+ numberOfLines={1}
446
+ style={
447
+ [
448
+ {
449
+ "color": "#4d6265",
450
+ "fontSize": 10,
451
+ "letterSpacing": 0,
452
+ "lineHeight": 14,
453
+ },
454
+ {
455
+ "textAlign": "right",
456
+ },
457
+ ]
458
+ }
459
+ themeIntent="subdued"
460
+ >
461
+ $0
462
+ </Text>
463
+ </View>
464
+ </RNSVGGroup>
465
+ <RNSVGGroup
466
+ fill={
467
+ {
468
+ "payload": 4278190080,
469
+ "type": 0,
470
+ }
471
+ }
472
+ >
473
+ <View
474
+ style={
475
+ [
476
+ {},
477
+ {
478
+ "maxWidth": 32,
479
+ "position": "absolute",
480
+ "right": 68,
481
+ "top": 42,
482
+ "transform": [
483
+ {
484
+ "translateY": -7,
485
+ },
486
+ ],
487
+ },
488
+ ]
489
+ }
490
+ testID="y-axis-label-20-container"
491
+ >
492
+ <Text
493
+ adjustsFontSizeToFit={true}
494
+ allowFontScaling={false}
495
+ ellipsizeMode="tail"
496
+ minimumFontScale={0.6}
497
+ numberOfLines={1}
498
+ style={
499
+ [
500
+ {
501
+ "color": "#4d6265",
502
+ "fontSize": 10,
503
+ "letterSpacing": 0,
504
+ "lineHeight": 14,
505
+ },
506
+ {
507
+ "textAlign": "right",
508
+ },
509
+ ]
510
+ }
511
+ themeIntent="subdued"
512
+ >
513
+ $20
514
+ </Text>
515
+ </View>
516
+ </RNSVGGroup>
517
+ <RNSVGGroup
518
+ fill={
519
+ {
520
+ "payload": 4278190080,
521
+ "type": 0,
522
+ }
523
+ }
524
+ >
525
+ <View
526
+ style={
527
+ [
528
+ {},
529
+ {
530
+ "maxWidth": 32,
531
+ "position": "absolute",
532
+ "right": 68,
533
+ "top": 28,
534
+ "transform": [
535
+ {
536
+ "translateY": -7,
537
+ },
538
+ ],
539
+ },
540
+ ]
541
+ }
542
+ testID="y-axis-label-40-container"
543
+ >
544
+ <Text
545
+ adjustsFontSizeToFit={true}
546
+ allowFontScaling={false}
547
+ ellipsizeMode="tail"
548
+ minimumFontScale={0.6}
549
+ numberOfLines={1}
550
+ style={
551
+ [
552
+ {
553
+ "color": "#4d6265",
554
+ "fontSize": 10,
555
+ "letterSpacing": 0,
556
+ "lineHeight": 14,
557
+ },
558
+ {
559
+ "textAlign": "right",
560
+ },
561
+ ]
562
+ }
563
+ themeIntent="subdued"
564
+ >
565
+ $40
566
+ </Text>
567
+ </View>
568
+ </RNSVGGroup>
569
+ <RNSVGGroup
570
+ fill={
571
+ {
572
+ "payload": 4278190080,
573
+ "type": 0,
574
+ }
575
+ }
576
+ >
577
+ <View
578
+ style={
579
+ [
580
+ {},
581
+ {
582
+ "maxWidth": 32,
583
+ "position": "absolute",
584
+ "right": 68,
585
+ "top": 14,
586
+ "transform": [
587
+ {
588
+ "translateY": -7,
589
+ },
590
+ ],
591
+ },
592
+ ]
593
+ }
594
+ testID="y-axis-label-60-container"
595
+ >
596
+ <Text
597
+ adjustsFontSizeToFit={true}
598
+ allowFontScaling={false}
599
+ ellipsizeMode="tail"
600
+ minimumFontScale={0.6}
601
+ numberOfLines={1}
602
+ style={
603
+ [
604
+ {
605
+ "color": "#4d6265",
606
+ "fontSize": 10,
607
+ "letterSpacing": 0,
608
+ "lineHeight": 14,
609
+ },
610
+ {
611
+ "textAlign": "right",
612
+ },
613
+ ]
614
+ }
615
+ themeIntent="subdued"
616
+ >
617
+ $60
618
+ </Text>
619
+ </View>
620
+ </RNSVGGroup>
621
+ <RNSVGGroup
622
+ fill={
623
+ {
624
+ "payload": 4278190080,
625
+ "type": 0,
626
+ }
627
+ }
628
+ >
629
+ <View
630
+ style={
631
+ [
632
+ {},
633
+ {
634
+ "maxWidth": 32,
635
+ "position": "absolute",
636
+ "right": 68,
637
+ "top": 0,
638
+ "transform": [
639
+ {
640
+ "translateY": -7,
641
+ },
642
+ ],
643
+ },
644
+ ]
645
+ }
646
+ testID="y-axis-label-80-container"
647
+ >
648
+ <Text
649
+ adjustsFontSizeToFit={true}
650
+ allowFontScaling={false}
651
+ ellipsizeMode="tail"
652
+ minimumFontScale={0.6}
653
+ numberOfLines={1}
654
+ style={
655
+ [
656
+ {
657
+ "color": "#4d6265",
658
+ "fontSize": 10,
659
+ "letterSpacing": 0,
660
+ "lineHeight": 14,
661
+ },
662
+ {
663
+ "textAlign": "right",
664
+ },
665
+ ]
666
+ }
667
+ themeIntent="subdued"
668
+ >
669
+ $80
670
+ </Text>
671
+ </View>
672
+ </RNSVGGroup>
673
+ </RNSVGGroup>
674
+ <RNSVGGroup
675
+ fill={
676
+ {
677
+ "payload": 4278190080,
678
+ "type": 0,
679
+ }
680
+ }
681
+ testID="x-axis-grid"
682
+ >
683
+ <RNSVGLine
684
+ fill={
685
+ {
686
+ "payload": 4278190080,
687
+ "type": 0,
688
+ }
689
+ }
690
+ propList={
691
+ [
692
+ "stroke",
693
+ "strokeDasharray",
694
+ ]
695
+ }
696
+ stroke={
697
+ {
698
+ "payload": 4293454314,
699
+ "type": 0,
700
+ }
701
+ }
702
+ strokeDasharray={
703
+ [
704
+ 4,
705
+ 4,
706
+ ]
707
+ }
708
+ testID="x-axis-grid-May 2025"
709
+ x1={55.42857142857143}
710
+ x2={55.42857142857143}
711
+ y1={0}
712
+ y2={56}
713
+ />
714
+ <RNSVGLine
715
+ fill={
716
+ {
717
+ "payload": 4278190080,
718
+ "type": 0,
719
+ }
720
+ }
721
+ propList={
722
+ [
723
+ "stroke",
724
+ "strokeDasharray",
725
+ ]
726
+ }
727
+ stroke={
728
+ {
729
+ "payload": 4293454314,
730
+ "type": 0,
731
+ }
732
+ }
733
+ strokeDasharray={
734
+ [
735
+ 4,
736
+ 4,
737
+ ]
738
+ }
739
+ testID="x-axis-grid-Jun 2025"
740
+ x1={67.80952380952381}
741
+ x2={67.80952380952381}
742
+ y1={0}
743
+ y2={56}
744
+ />
745
+ <RNSVGLine
746
+ fill={
747
+ {
748
+ "payload": 4278190080,
749
+ "type": 0,
750
+ }
751
+ }
752
+ propList={
753
+ [
754
+ "stroke",
755
+ "strokeDasharray",
756
+ ]
757
+ }
758
+ stroke={
759
+ {
760
+ "payload": 4293454314,
761
+ "type": 0,
762
+ }
763
+ }
764
+ strokeDasharray={
765
+ [
766
+ 4,
767
+ 4,
768
+ ]
769
+ }
770
+ testID="x-axis-grid-Jul 2025"
771
+ x1={80.19047619047619}
772
+ x2={80.19047619047619}
773
+ y1={0}
774
+ y2={56}
775
+ />
776
+ <RNSVGLine
777
+ fill={
778
+ {
779
+ "payload": 4278190080,
780
+ "type": 0,
781
+ }
782
+ }
783
+ propList={
784
+ [
785
+ "stroke",
786
+ "strokeDasharray",
787
+ ]
788
+ }
789
+ stroke={
790
+ {
791
+ "payload": 4293454314,
792
+ "type": 0,
793
+ }
794
+ }
795
+ strokeDasharray={
796
+ [
797
+ 4,
798
+ 4,
799
+ ]
800
+ }
801
+ testID="x-axis-grid-Aug 2025"
802
+ x1={92.57142857142857}
803
+ x2={92.57142857142857}
804
+ y1={0}
805
+ y2={56}
806
+ />
807
+ </RNSVGGroup>
808
+ <RNSVGGroup
809
+ fill={
810
+ {
811
+ "payload": 4278190080,
812
+ "type": 0,
813
+ }
814
+ }
815
+ testID="y-axis-grid"
816
+ >
817
+ <RNSVGLine
818
+ fill={
819
+ {
820
+ "payload": 4278190080,
821
+ "type": 0,
822
+ }
823
+ }
824
+ propList={
825
+ [
826
+ "stroke",
827
+ "strokeDasharray",
828
+ ]
829
+ }
830
+ stroke={
831
+ {
832
+ "payload": 4293454314,
833
+ "type": 0,
834
+ }
835
+ }
836
+ strokeDasharray={
837
+ [
838
+ 4,
839
+ 4,
840
+ ]
841
+ }
842
+ testID="y-axis-grid-0"
843
+ x1={48}
844
+ x2={100}
845
+ y1={56}
846
+ y2={56}
847
+ />
848
+ <RNSVGLine
849
+ fill={
850
+ {
851
+ "payload": 4278190080,
852
+ "type": 0,
853
+ }
854
+ }
855
+ propList={
856
+ [
857
+ "stroke",
858
+ "strokeDasharray",
859
+ ]
860
+ }
861
+ stroke={
862
+ {
863
+ "payload": 4293454314,
864
+ "type": 0,
865
+ }
866
+ }
867
+ strokeDasharray={
868
+ [
869
+ 4,
870
+ 4,
871
+ ]
872
+ }
873
+ testID="y-axis-grid-20"
874
+ x1={48}
875
+ x2={100}
876
+ y1={42}
877
+ y2={42}
878
+ />
879
+ <RNSVGLine
880
+ fill={
881
+ {
882
+ "payload": 4278190080,
883
+ "type": 0,
884
+ }
885
+ }
886
+ propList={
887
+ [
888
+ "stroke",
889
+ "strokeDasharray",
890
+ ]
891
+ }
892
+ stroke={
893
+ {
894
+ "payload": 4293454314,
895
+ "type": 0,
896
+ }
897
+ }
898
+ strokeDasharray={
899
+ [
900
+ 4,
901
+ 4,
902
+ ]
903
+ }
904
+ testID="y-axis-grid-40"
905
+ x1={48}
906
+ x2={100}
907
+ y1={28}
908
+ y2={28}
909
+ />
910
+ <RNSVGLine
911
+ fill={
912
+ {
913
+ "payload": 4278190080,
914
+ "type": 0,
915
+ }
916
+ }
917
+ propList={
918
+ [
919
+ "stroke",
920
+ "strokeDasharray",
921
+ ]
922
+ }
923
+ stroke={
924
+ {
925
+ "payload": 4293454314,
926
+ "type": 0,
927
+ }
928
+ }
929
+ strokeDasharray={
930
+ [
931
+ 4,
932
+ 4,
933
+ ]
934
+ }
935
+ testID="y-axis-grid-60"
936
+ x1={48}
937
+ x2={100}
938
+ y1={14}
939
+ y2={14}
940
+ />
941
+ <RNSVGLine
942
+ fill={
943
+ {
944
+ "payload": 4278190080,
945
+ "type": 0,
946
+ }
947
+ }
948
+ propList={
949
+ [
950
+ "stroke",
951
+ "strokeDasharray",
952
+ ]
953
+ }
954
+ stroke={
955
+ {
956
+ "payload": 4293454314,
957
+ "type": 0,
958
+ }
959
+ }
960
+ strokeDasharray={
961
+ [
962
+ 4,
963
+ 4,
964
+ ]
965
+ }
966
+ testID="y-axis-grid-80"
967
+ x1={48}
968
+ x2={100}
969
+ y1={0}
970
+ y2={0}
971
+ />
972
+ </RNSVGGroup>
973
+ </RNSVGGroup>
974
+ </RNSVGSvgView>
975
+ </View>
976
+ </View>
977
+ <View
978
+ pointerEvents="box-none"
979
+ position="bottom"
980
+ style={
981
+ [
982
+ {
983
+ "bottom": 0,
984
+ "elevation": 9999,
985
+ "flexDirection": "column-reverse",
986
+ "left": 0,
987
+ "paddingHorizontal": 24,
988
+ "paddingVertical": 16,
989
+ "position": "absolute",
990
+ "right": 0,
991
+ "top": 0,
992
+ },
993
+ undefined,
994
+ ]
995
+ }
996
+ />
997
+ </View>
998
+ `;
999
+
1000
+ exports[`ChartFrame should render correctly 1`] = `
1001
+ <View
1002
+ style={
1003
+ {
1004
+ "flex": 1,
1005
+ }
1006
+ }
1007
+ >
1008
+ <View
1009
+ style={
1010
+ [
1011
+ {},
1012
+ {
1013
+ "height": 100,
1014
+ "width": 100,
1015
+ },
1016
+ ]
1017
+ }
1018
+ >
1019
+ <View
1020
+ onLayout={[Function]}
1021
+ style={
1022
+ [
1023
+ {},
1024
+ [
1025
+ {
1026
+ "alignItems": "center",
1027
+ "flexDirection": "row",
1028
+ "justifyContent": "space-between",
1029
+ "marginBottom": 16,
1030
+ },
1031
+ undefined,
1032
+ ],
1033
+ ]
1034
+ }
1035
+ >
1036
+ <View
1037
+ style={
1038
+ [
1039
+ {},
1040
+ undefined,
1041
+ ]
1042
+ }
1043
+ >
1044
+ <Text
1045
+ allowFontScaling={false}
1046
+ style={
1047
+ [
1048
+ {
1049
+ "color": "#001f23",
1050
+ "fontFamily": "BeVietnamPro-Regular",
1051
+ "fontSize": 16,
1052
+ "letterSpacing": 0.48,
1053
+ "lineHeight": 24,
1054
+ },
1055
+ undefined,
1056
+ ]
1057
+ }
1058
+ themeIntent="body"
1059
+ themeTypeface="neutral"
1060
+ themeVariant="regular"
1061
+ >
1062
+ Chart title
1063
+ </Text>
1064
+ </View>
1065
+ <View
1066
+ style={
1067
+ [
1068
+ {},
1069
+ undefined,
1070
+ ]
1071
+ }
1072
+ >
1073
+ <View
1074
+ accessibilityState={
1075
+ {
1076
+ "disabled": false,
1077
+ }
1078
+ }
1079
+ accessibilityValue={
1080
+ {
1081
+ "max": undefined,
1082
+ "min": undefined,
1083
+ "now": undefined,
1084
+ "text": undefined,
1085
+ }
1086
+ }
1087
+ accessible={true}
1088
+ focusable={true}
1089
+ onClick={[Function]}
1090
+ onResponderGrant={[Function]}
1091
+ onResponderMove={[Function]}
1092
+ onResponderRelease={[Function]}
1093
+ onResponderTerminate={[Function]}
1094
+ onResponderTerminationRequest={[Function]}
1095
+ onStartShouldSetResponder={[Function]}
1096
+ style={
1097
+ [
1098
+ {
1099
+ "alignItems": "center",
1100
+ "alignSelf": "stretch",
1101
+ "backgroundColor": "#401960",
1102
+ "borderRadius": 32,
1103
+ "flexDirection": "row",
1104
+ "height": 60,
1105
+ "justifyContent": "center",
1106
+ "padding": 16,
1107
+ },
1108
+ undefined,
1109
+ ]
1110
+ }
1111
+ >
1112
+ <Text
1113
+ allowFontScaling={false}
1114
+ disabled={false}
1115
+ ellipsizeMode="tail"
1116
+ numberOfLines={1}
1117
+ style={
1118
+ [
1119
+ {
1120
+ "color": "#001f23",
1121
+ "fontFamily": "BeVietnamPro-SemiBold",
1122
+ "fontSize": 18,
1123
+ "letterSpacing": 0.24,
1124
+ "lineHeight": 28,
1125
+ },
1126
+ [
1127
+ {
1128
+ "color": "#ffffff",
1129
+ "flexShrink": 1,
1130
+ "lineHeight": undefined,
1131
+ "textAlign": "center",
1132
+ "textAlignVertical": "center",
1133
+ },
1134
+ undefined,
1135
+ ],
1136
+ ]
1137
+ }
1138
+ themeButtonVariant="filled-primary"
1139
+ themeIntent="body"
1140
+ themeLevel="h5"
1141
+ themeTypeface="neutral"
1142
+ >
1143
+ Button
1144
+ </Text>
1145
+ </View>
1146
+ </View>
1147
+ </View>
1148
+ <View
1149
+ style={
1150
+ [
1151
+ {},
1152
+ {
1153
+ "paddingTop": 8,
1154
+ },
1155
+ ]
1156
+ }
1157
+ >
1158
+ <RNSVGSvgView
1159
+ bbHeight={100}
1160
+ bbWidth={100}
1161
+ focusable={false}
1162
+ style={
1163
+ [
1164
+ {
1165
+ "backgroundColor": "transparent",
1166
+ "borderWidth": 0,
1167
+ },
1168
+ {
1169
+ "height": 100,
1170
+ "overflow": "visible",
1171
+ "width": 100,
1172
+ },
1173
+ {
1174
+ "flex": 0,
1175
+ "height": 100,
1176
+ "width": 100,
1177
+ },
1178
+ ]
1179
+ }
1180
+ >
1181
+ <RNSVGGroup
1182
+ fill={
1183
+ {
1184
+ "payload": 4278190080,
1185
+ "type": 0,
1186
+ }
1187
+ }
1188
+ >
1189
+ <RNSVGGroup
1190
+ fill={
1191
+ {
1192
+ "payload": 4278190080,
1193
+ "type": 0,
1194
+ }
1195
+ }
1196
+ >
1197
+ <RNSVGGroup
1198
+ fill={
1199
+ {
1200
+ "payload": 4278190080,
1201
+ "type": 0,
1202
+ }
1203
+ }
1204
+ >
1205
+ <View
1206
+ alignItems="center"
1207
+ style={
1208
+ [
1209
+ {
1210
+ "alignItems": "center",
1211
+ },
1212
+ {
1213
+ "left": 50.47619047619048,
1214
+ "maxHeight": 32,
1215
+ "position": "absolute",
1216
+ "top": 68,
1217
+ "width": 9.904761904761905,
1218
+ },
1219
+ ]
1220
+ }
1221
+ testID="x-axis-label-May 2025-container"
1222
+ >
1223
+ <Text
1224
+ adjustsFontSizeToFit={true}
1225
+ allowFontScaling={false}
1226
+ ellipsizeMode="tail"
1227
+ minimumFontScale={0.6}
1228
+ numberOfLines={2}
1229
+ style={
1230
+ [
1231
+ {
1232
+ "color": "#4d6265",
1233
+ "fontSize": 10,
1234
+ "letterSpacing": 0,
1235
+ "lineHeight": 14,
1236
+ },
1237
+ {
1238
+ "textAlign": "center",
1239
+ },
1240
+ ]
1241
+ }
1242
+ themeIntent="subdued"
1243
+ >
1244
+ May 2025
1245
+ </Text>
1246
+ </View>
1247
+ </RNSVGGroup>
1248
+ <RNSVGGroup
1249
+ fill={
1250
+ {
1251
+ "payload": 4278190080,
1252
+ "type": 0,
1253
+ }
1254
+ }
1255
+ >
1256
+ <View
1257
+ alignItems="center"
1258
+ style={
1259
+ [
1260
+ {
1261
+ "alignItems": "center",
1262
+ },
1263
+ {
1264
+ "left": 62.85714285714286,
1265
+ "maxHeight": 32,
1266
+ "position": "absolute",
1267
+ "top": 68,
1268
+ "width": 9.904761904761905,
1269
+ },
1270
+ ]
1271
+ }
1272
+ testID="x-axis-label-Jun 2025-container"
1273
+ >
1274
+ <Text
1275
+ adjustsFontSizeToFit={true}
1276
+ allowFontScaling={false}
1277
+ ellipsizeMode="tail"
1278
+ minimumFontScale={0.6}
1279
+ numberOfLines={2}
1280
+ style={
1281
+ [
1282
+ {
1283
+ "color": "#4d6265",
1284
+ "fontSize": 10,
1285
+ "letterSpacing": 0,
1286
+ "lineHeight": 14,
1287
+ },
1288
+ {
1289
+ "textAlign": "center",
1290
+ },
1291
+ ]
1292
+ }
1293
+ themeIntent="subdued"
1294
+ >
1295
+ Jun 2025
1296
+ </Text>
1297
+ </View>
1298
+ </RNSVGGroup>
1299
+ <RNSVGGroup
1300
+ fill={
1301
+ {
1302
+ "payload": 4278190080,
1303
+ "type": 0,
1304
+ }
1305
+ }
1306
+ >
1307
+ <View
1308
+ alignItems="center"
1309
+ style={
1310
+ [
1311
+ {
1312
+ "alignItems": "center",
1313
+ },
1314
+ {
1315
+ "left": 75.23809523809524,
1316
+ "maxHeight": 32,
1317
+ "position": "absolute",
1318
+ "top": 68,
1319
+ "width": 9.904761904761905,
1320
+ },
1321
+ ]
1322
+ }
1323
+ testID="x-axis-label-Jul 2025-container"
1324
+ >
1325
+ <Text
1326
+ adjustsFontSizeToFit={true}
1327
+ allowFontScaling={false}
1328
+ ellipsizeMode="tail"
1329
+ minimumFontScale={0.6}
1330
+ numberOfLines={2}
1331
+ style={
1332
+ [
1333
+ {
1334
+ "color": "#4d6265",
1335
+ "fontSize": 10,
1336
+ "letterSpacing": 0,
1337
+ "lineHeight": 14,
1338
+ },
1339
+ {
1340
+ "textAlign": "center",
1341
+ },
1342
+ ]
1343
+ }
1344
+ themeIntent="subdued"
1345
+ >
1346
+ Jul 2025
1347
+ </Text>
1348
+ </View>
1349
+ </RNSVGGroup>
1350
+ <RNSVGGroup
1351
+ fill={
1352
+ {
1353
+ "payload": 4278190080,
1354
+ "type": 0,
1355
+ }
1356
+ }
1357
+ >
1358
+ <View
1359
+ alignItems="center"
1360
+ style={
1361
+ [
1362
+ {
1363
+ "alignItems": "center",
1364
+ },
1365
+ {
1366
+ "left": 87.61904761904762,
1367
+ "maxHeight": 32,
1368
+ "position": "absolute",
1369
+ "top": 68,
1370
+ "width": 9.904761904761905,
1371
+ },
1372
+ ]
1373
+ }
1374
+ testID="x-axis-label-Aug 2025-container"
1375
+ >
1376
+ <Text
1377
+ adjustsFontSizeToFit={true}
1378
+ allowFontScaling={false}
1379
+ ellipsizeMode="tail"
1380
+ minimumFontScale={0.6}
1381
+ numberOfLines={2}
1382
+ style={
1383
+ [
1384
+ {
1385
+ "color": "#4d6265",
1386
+ "fontSize": 10,
1387
+ "letterSpacing": 0,
1388
+ "lineHeight": 14,
1389
+ },
1390
+ {
1391
+ "textAlign": "center",
1392
+ },
1393
+ ]
1394
+ }
1395
+ themeIntent="subdued"
1396
+ >
1397
+ Aug 2025
1398
+ </Text>
1399
+ </View>
1400
+ </RNSVGGroup>
1401
+ </RNSVGGroup>
1402
+ <RNSVGGroup
1403
+ fill={
1404
+ {
1405
+ "payload": 4278190080,
1406
+ "type": 0,
1407
+ }
1408
+ }
1409
+ >
1410
+ <RNSVGGroup
1411
+ fill={
1412
+ {
1413
+ "payload": 4278190080,
1414
+ "type": 0,
1415
+ }
1416
+ }
1417
+ >
1418
+ <View
1419
+ style={
1420
+ [
1421
+ {},
1422
+ {
1423
+ "maxWidth": 32,
1424
+ "position": "absolute",
1425
+ "right": 68,
1426
+ "top": 56,
1427
+ "transform": [
1428
+ {
1429
+ "translateY": -7,
1430
+ },
1431
+ ],
1432
+ },
1433
+ ]
1434
+ }
1435
+ testID="y-axis-label-0-container"
1436
+ >
1437
+ <Text
1438
+ adjustsFontSizeToFit={true}
1439
+ allowFontScaling={false}
1440
+ ellipsizeMode="tail"
1441
+ minimumFontScale={0.6}
1442
+ numberOfLines={1}
1443
+ style={
1444
+ [
1445
+ {
1446
+ "color": "#4d6265",
1447
+ "fontSize": 10,
1448
+ "letterSpacing": 0,
1449
+ "lineHeight": 14,
1450
+ },
1451
+ {
1452
+ "textAlign": "right",
1453
+ },
1454
+ ]
1455
+ }
1456
+ themeIntent="subdued"
1457
+ >
1458
+ $0
1459
+ </Text>
1460
+ </View>
1461
+ </RNSVGGroup>
1462
+ <RNSVGGroup
1463
+ fill={
1464
+ {
1465
+ "payload": 4278190080,
1466
+ "type": 0,
1467
+ }
1468
+ }
1469
+ >
1470
+ <View
1471
+ style={
1472
+ [
1473
+ {},
1474
+ {
1475
+ "maxWidth": 32,
1476
+ "position": "absolute",
1477
+ "right": 68,
1478
+ "top": 42,
1479
+ "transform": [
1480
+ {
1481
+ "translateY": -7,
1482
+ },
1483
+ ],
1484
+ },
1485
+ ]
1486
+ }
1487
+ testID="y-axis-label-20-container"
1488
+ >
1489
+ <Text
1490
+ adjustsFontSizeToFit={true}
1491
+ allowFontScaling={false}
1492
+ ellipsizeMode="tail"
1493
+ minimumFontScale={0.6}
1494
+ numberOfLines={1}
1495
+ style={
1496
+ [
1497
+ {
1498
+ "color": "#4d6265",
1499
+ "fontSize": 10,
1500
+ "letterSpacing": 0,
1501
+ "lineHeight": 14,
1502
+ },
1503
+ {
1504
+ "textAlign": "right",
1505
+ },
1506
+ ]
1507
+ }
1508
+ themeIntent="subdued"
1509
+ >
1510
+ $20
1511
+ </Text>
1512
+ </View>
1513
+ </RNSVGGroup>
1514
+ <RNSVGGroup
1515
+ fill={
1516
+ {
1517
+ "payload": 4278190080,
1518
+ "type": 0,
1519
+ }
1520
+ }
1521
+ >
1522
+ <View
1523
+ style={
1524
+ [
1525
+ {},
1526
+ {
1527
+ "maxWidth": 32,
1528
+ "position": "absolute",
1529
+ "right": 68,
1530
+ "top": 28,
1531
+ "transform": [
1532
+ {
1533
+ "translateY": -7,
1534
+ },
1535
+ ],
1536
+ },
1537
+ ]
1538
+ }
1539
+ testID="y-axis-label-40-container"
1540
+ >
1541
+ <Text
1542
+ adjustsFontSizeToFit={true}
1543
+ allowFontScaling={false}
1544
+ ellipsizeMode="tail"
1545
+ minimumFontScale={0.6}
1546
+ numberOfLines={1}
1547
+ style={
1548
+ [
1549
+ {
1550
+ "color": "#4d6265",
1551
+ "fontSize": 10,
1552
+ "letterSpacing": 0,
1553
+ "lineHeight": 14,
1554
+ },
1555
+ {
1556
+ "textAlign": "right",
1557
+ },
1558
+ ]
1559
+ }
1560
+ themeIntent="subdued"
1561
+ >
1562
+ $40
1563
+ </Text>
1564
+ </View>
1565
+ </RNSVGGroup>
1566
+ <RNSVGGroup
1567
+ fill={
1568
+ {
1569
+ "payload": 4278190080,
1570
+ "type": 0,
1571
+ }
1572
+ }
1573
+ >
1574
+ <View
1575
+ style={
1576
+ [
1577
+ {},
1578
+ {
1579
+ "maxWidth": 32,
1580
+ "position": "absolute",
1581
+ "right": 68,
1582
+ "top": 14,
1583
+ "transform": [
1584
+ {
1585
+ "translateY": -7,
1586
+ },
1587
+ ],
1588
+ },
1589
+ ]
1590
+ }
1591
+ testID="y-axis-label-60-container"
1592
+ >
1593
+ <Text
1594
+ adjustsFontSizeToFit={true}
1595
+ allowFontScaling={false}
1596
+ ellipsizeMode="tail"
1597
+ minimumFontScale={0.6}
1598
+ numberOfLines={1}
1599
+ style={
1600
+ [
1601
+ {
1602
+ "color": "#4d6265",
1603
+ "fontSize": 10,
1604
+ "letterSpacing": 0,
1605
+ "lineHeight": 14,
1606
+ },
1607
+ {
1608
+ "textAlign": "right",
1609
+ },
1610
+ ]
1611
+ }
1612
+ themeIntent="subdued"
1613
+ >
1614
+ $60
1615
+ </Text>
1616
+ </View>
1617
+ </RNSVGGroup>
1618
+ <RNSVGGroup
1619
+ fill={
1620
+ {
1621
+ "payload": 4278190080,
1622
+ "type": 0,
1623
+ }
1624
+ }
1625
+ >
1626
+ <View
1627
+ style={
1628
+ [
1629
+ {},
1630
+ {
1631
+ "maxWidth": 32,
1632
+ "position": "absolute",
1633
+ "right": 68,
1634
+ "top": 0,
1635
+ "transform": [
1636
+ {
1637
+ "translateY": -7,
1638
+ },
1639
+ ],
1640
+ },
1641
+ ]
1642
+ }
1643
+ testID="y-axis-label-80-container"
1644
+ >
1645
+ <Text
1646
+ adjustsFontSizeToFit={true}
1647
+ allowFontScaling={false}
1648
+ ellipsizeMode="tail"
1649
+ minimumFontScale={0.6}
1650
+ numberOfLines={1}
1651
+ style={
1652
+ [
1653
+ {
1654
+ "color": "#4d6265",
1655
+ "fontSize": 10,
1656
+ "letterSpacing": 0,
1657
+ "lineHeight": 14,
1658
+ },
1659
+ {
1660
+ "textAlign": "right",
1661
+ },
1662
+ ]
1663
+ }
1664
+ themeIntent="subdued"
1665
+ >
1666
+ $80
1667
+ </Text>
1668
+ </View>
1669
+ </RNSVGGroup>
1670
+ </RNSVGGroup>
1671
+ <RNSVGGroup
1672
+ fill={
1673
+ {
1674
+ "payload": 4278190080,
1675
+ "type": 0,
1676
+ }
1677
+ }
1678
+ testID="x-axis-grid"
1679
+ >
1680
+ <RNSVGLine
1681
+ fill={
1682
+ {
1683
+ "payload": 4278190080,
1684
+ "type": 0,
1685
+ }
1686
+ }
1687
+ propList={
1688
+ [
1689
+ "stroke",
1690
+ "strokeDasharray",
1691
+ ]
1692
+ }
1693
+ stroke={
1694
+ {
1695
+ "payload": 4293454314,
1696
+ "type": 0,
1697
+ }
1698
+ }
1699
+ strokeDasharray={
1700
+ [
1701
+ 4,
1702
+ 4,
1703
+ ]
1704
+ }
1705
+ testID="x-axis-grid-May 2025"
1706
+ x1={55.42857142857143}
1707
+ x2={55.42857142857143}
1708
+ y1={0}
1709
+ y2={56}
1710
+ />
1711
+ <RNSVGLine
1712
+ fill={
1713
+ {
1714
+ "payload": 4278190080,
1715
+ "type": 0,
1716
+ }
1717
+ }
1718
+ propList={
1719
+ [
1720
+ "stroke",
1721
+ "strokeDasharray",
1722
+ ]
1723
+ }
1724
+ stroke={
1725
+ {
1726
+ "payload": 4293454314,
1727
+ "type": 0,
1728
+ }
1729
+ }
1730
+ strokeDasharray={
1731
+ [
1732
+ 4,
1733
+ 4,
1734
+ ]
1735
+ }
1736
+ testID="x-axis-grid-Jun 2025"
1737
+ x1={67.80952380952381}
1738
+ x2={67.80952380952381}
1739
+ y1={0}
1740
+ y2={56}
1741
+ />
1742
+ <RNSVGLine
1743
+ fill={
1744
+ {
1745
+ "payload": 4278190080,
1746
+ "type": 0,
1747
+ }
1748
+ }
1749
+ propList={
1750
+ [
1751
+ "stroke",
1752
+ "strokeDasharray",
1753
+ ]
1754
+ }
1755
+ stroke={
1756
+ {
1757
+ "payload": 4293454314,
1758
+ "type": 0,
1759
+ }
1760
+ }
1761
+ strokeDasharray={
1762
+ [
1763
+ 4,
1764
+ 4,
1765
+ ]
1766
+ }
1767
+ testID="x-axis-grid-Jul 2025"
1768
+ x1={80.19047619047619}
1769
+ x2={80.19047619047619}
1770
+ y1={0}
1771
+ y2={56}
1772
+ />
1773
+ <RNSVGLine
1774
+ fill={
1775
+ {
1776
+ "payload": 4278190080,
1777
+ "type": 0,
1778
+ }
1779
+ }
1780
+ propList={
1781
+ [
1782
+ "stroke",
1783
+ "strokeDasharray",
1784
+ ]
1785
+ }
1786
+ stroke={
1787
+ {
1788
+ "payload": 4293454314,
1789
+ "type": 0,
1790
+ }
1791
+ }
1792
+ strokeDasharray={
1793
+ [
1794
+ 4,
1795
+ 4,
1796
+ ]
1797
+ }
1798
+ testID="x-axis-grid-Aug 2025"
1799
+ x1={92.57142857142857}
1800
+ x2={92.57142857142857}
1801
+ y1={0}
1802
+ y2={56}
1803
+ />
1804
+ </RNSVGGroup>
1805
+ <RNSVGGroup
1806
+ fill={
1807
+ {
1808
+ "payload": 4278190080,
1809
+ "type": 0,
1810
+ }
1811
+ }
1812
+ testID="y-axis-grid"
1813
+ >
1814
+ <RNSVGLine
1815
+ fill={
1816
+ {
1817
+ "payload": 4278190080,
1818
+ "type": 0,
1819
+ }
1820
+ }
1821
+ propList={
1822
+ [
1823
+ "stroke",
1824
+ "strokeDasharray",
1825
+ ]
1826
+ }
1827
+ stroke={
1828
+ {
1829
+ "payload": 4293454314,
1830
+ "type": 0,
1831
+ }
1832
+ }
1833
+ strokeDasharray={
1834
+ [
1835
+ 4,
1836
+ 4,
1837
+ ]
1838
+ }
1839
+ testID="y-axis-grid-0"
1840
+ x1={48}
1841
+ x2={100}
1842
+ y1={56}
1843
+ y2={56}
1844
+ />
1845
+ <RNSVGLine
1846
+ fill={
1847
+ {
1848
+ "payload": 4278190080,
1849
+ "type": 0,
1850
+ }
1851
+ }
1852
+ propList={
1853
+ [
1854
+ "stroke",
1855
+ "strokeDasharray",
1856
+ ]
1857
+ }
1858
+ stroke={
1859
+ {
1860
+ "payload": 4293454314,
1861
+ "type": 0,
1862
+ }
1863
+ }
1864
+ strokeDasharray={
1865
+ [
1866
+ 4,
1867
+ 4,
1868
+ ]
1869
+ }
1870
+ testID="y-axis-grid-20"
1871
+ x1={48}
1872
+ x2={100}
1873
+ y1={42}
1874
+ y2={42}
1875
+ />
1876
+ <RNSVGLine
1877
+ fill={
1878
+ {
1879
+ "payload": 4278190080,
1880
+ "type": 0,
1881
+ }
1882
+ }
1883
+ propList={
1884
+ [
1885
+ "stroke",
1886
+ "strokeDasharray",
1887
+ ]
1888
+ }
1889
+ stroke={
1890
+ {
1891
+ "payload": 4293454314,
1892
+ "type": 0,
1893
+ }
1894
+ }
1895
+ strokeDasharray={
1896
+ [
1897
+ 4,
1898
+ 4,
1899
+ ]
1900
+ }
1901
+ testID="y-axis-grid-40"
1902
+ x1={48}
1903
+ x2={100}
1904
+ y1={28}
1905
+ y2={28}
1906
+ />
1907
+ <RNSVGLine
1908
+ fill={
1909
+ {
1910
+ "payload": 4278190080,
1911
+ "type": 0,
1912
+ }
1913
+ }
1914
+ propList={
1915
+ [
1916
+ "stroke",
1917
+ "strokeDasharray",
1918
+ ]
1919
+ }
1920
+ stroke={
1921
+ {
1922
+ "payload": 4293454314,
1923
+ "type": 0,
1924
+ }
1925
+ }
1926
+ strokeDasharray={
1927
+ [
1928
+ 4,
1929
+ 4,
1930
+ ]
1931
+ }
1932
+ testID="y-axis-grid-60"
1933
+ x1={48}
1934
+ x2={100}
1935
+ y1={14}
1936
+ y2={14}
1937
+ />
1938
+ <RNSVGLine
1939
+ fill={
1940
+ {
1941
+ "payload": 4278190080,
1942
+ "type": 0,
1943
+ }
1944
+ }
1945
+ propList={
1946
+ [
1947
+ "stroke",
1948
+ "strokeDasharray",
1949
+ ]
1950
+ }
1951
+ stroke={
1952
+ {
1953
+ "payload": 4293454314,
1954
+ "type": 0,
1955
+ }
1956
+ }
1957
+ strokeDasharray={
1958
+ [
1959
+ 4,
1960
+ 4,
1961
+ ]
1962
+ }
1963
+ testID="y-axis-grid-80"
1964
+ x1={48}
1965
+ x2={100}
1966
+ y1={0}
1967
+ y2={0}
1968
+ />
1969
+ </RNSVGGroup>
1970
+ <Text
1971
+ allowFontScaling={false}
1972
+ style={
1973
+ [
1974
+ {
1975
+ "color": "#001f23",
1976
+ "fontFamily": "BeVietnamPro-Regular",
1977
+ "fontSize": 16,
1978
+ "letterSpacing": 0.48,
1979
+ "lineHeight": 24,
1980
+ },
1981
+ undefined,
1982
+ ]
1983
+ }
1984
+ themeIntent="body"
1985
+ themeTypeface="neutral"
1986
+ themeVariant="regular"
1987
+ >
1988
+ Chart content
1989
+ </Text>
1990
+ </RNSVGGroup>
1991
+ </RNSVGSvgView>
1992
+ </View>
1993
+ </View>
1994
+ <View
1995
+ pointerEvents="box-none"
1996
+ position="bottom"
1997
+ style={
1998
+ [
1999
+ {
2000
+ "bottom": 0,
2001
+ "elevation": 9999,
2002
+ "flexDirection": "column-reverse",
2003
+ "left": 0,
2004
+ "paddingHorizontal": 24,
2005
+ "paddingVertical": 16,
2006
+ "position": "absolute",
2007
+ "right": 0,
2008
+ "top": 0,
2009
+ },
2010
+ undefined,
2011
+ ]
2012
+ }
2013
+ />
2014
+ </View>
2015
+ `;
2016
+
2017
+ exports[`ChartFrame should render empty state when data is empty 1`] = `
2018
+ <View
2019
+ style={
2020
+ {
2021
+ "flex": 1,
2022
+ }
2023
+ }
2024
+ >
2025
+ <View
2026
+ style={
2027
+ [
2028
+ {},
2029
+ {
2030
+ "height": 100,
2031
+ "width": 100,
2032
+ },
2033
+ ]
2034
+ }
2035
+ >
2036
+ <View
2037
+ onLayout={[Function]}
2038
+ style={
2039
+ [
2040
+ {},
2041
+ [
2042
+ {
2043
+ "alignItems": "center",
2044
+ "flexDirection": "row",
2045
+ "justifyContent": "space-between",
2046
+ "marginBottom": 16,
2047
+ },
2048
+ undefined,
2049
+ ],
2050
+ ]
2051
+ }
2052
+ >
2053
+ <View
2054
+ style={
2055
+ [
2056
+ {},
2057
+ undefined,
2058
+ ]
2059
+ }
2060
+ >
2061
+ <Text
2062
+ allowFontScaling={false}
2063
+ style={
2064
+ [
2065
+ {
2066
+ "color": "#001f23",
2067
+ "fontFamily": "BeVietnamPro-Regular",
2068
+ "fontSize": 16,
2069
+ "letterSpacing": 0.48,
2070
+ "lineHeight": 24,
2071
+ },
2072
+ undefined,
2073
+ ]
2074
+ }
2075
+ themeIntent="body"
2076
+ themeTypeface="neutral"
2077
+ themeVariant="regular"
2078
+ >
2079
+ Chart title
2080
+ </Text>
2081
+ </View>
2082
+ <View
2083
+ style={
2084
+ [
2085
+ {},
2086
+ undefined,
2087
+ ]
2088
+ }
2089
+ >
2090
+ <View
2091
+ accessibilityState={
2092
+ {
2093
+ "disabled": false,
2094
+ }
2095
+ }
2096
+ accessibilityValue={
2097
+ {
2098
+ "max": undefined,
2099
+ "min": undefined,
2100
+ "now": undefined,
2101
+ "text": undefined,
2102
+ }
2103
+ }
2104
+ accessible={true}
2105
+ focusable={true}
2106
+ onClick={[Function]}
2107
+ onResponderGrant={[Function]}
2108
+ onResponderMove={[Function]}
2109
+ onResponderRelease={[Function]}
2110
+ onResponderTerminate={[Function]}
2111
+ onResponderTerminationRequest={[Function]}
2112
+ onStartShouldSetResponder={[Function]}
2113
+ style={
2114
+ [
2115
+ {
2116
+ "alignItems": "center",
2117
+ "alignSelf": "stretch",
2118
+ "backgroundColor": "#401960",
2119
+ "borderRadius": 32,
2120
+ "flexDirection": "row",
2121
+ "height": 60,
2122
+ "justifyContent": "center",
2123
+ "padding": 16,
2124
+ },
2125
+ undefined,
2126
+ ]
2127
+ }
2128
+ >
2129
+ <Text
2130
+ allowFontScaling={false}
2131
+ disabled={false}
2132
+ ellipsizeMode="tail"
2133
+ numberOfLines={1}
2134
+ style={
2135
+ [
2136
+ {
2137
+ "color": "#001f23",
2138
+ "fontFamily": "BeVietnamPro-SemiBold",
2139
+ "fontSize": 18,
2140
+ "letterSpacing": 0.24,
2141
+ "lineHeight": 28,
2142
+ },
2143
+ [
2144
+ {
2145
+ "color": "#ffffff",
2146
+ "flexShrink": 1,
2147
+ "lineHeight": undefined,
2148
+ "textAlign": "center",
2149
+ "textAlignVertical": "center",
2150
+ },
2151
+ undefined,
2152
+ ],
2153
+ ]
2154
+ }
2155
+ themeButtonVariant="filled-primary"
2156
+ themeIntent="body"
2157
+ themeLevel="h5"
2158
+ themeTypeface="neutral"
2159
+ >
2160
+ Button
2161
+ </Text>
2162
+ </View>
2163
+ </View>
2164
+ </View>
2165
+ <View
2166
+ style={
2167
+ [
2168
+ {},
2169
+ {
2170
+ "paddingTop": 8,
2171
+ },
2172
+ ]
2173
+ }
2174
+ >
2175
+ <RNSVGSvgView
2176
+ bbHeight={100}
2177
+ bbWidth={100}
2178
+ focusable={false}
2179
+ style={
2180
+ [
2181
+ {
2182
+ "backgroundColor": "transparent",
2183
+ "borderWidth": 0,
2184
+ },
2185
+ {
2186
+ "height": 100,
2187
+ "overflow": "visible",
2188
+ "width": 100,
2189
+ },
2190
+ {
2191
+ "flex": 0,
2192
+ "height": 100,
2193
+ "width": 100,
2194
+ },
2195
+ ]
2196
+ }
2197
+ >
2198
+ <RNSVGGroup
2199
+ fill={
2200
+ {
2201
+ "payload": 4278190080,
2202
+ "type": 0,
2203
+ }
2204
+ }
2205
+ >
2206
+ <RNSVGGroup
2207
+ fill={
2208
+ {
2209
+ "payload": 4278190080,
2210
+ "type": 0,
2211
+ }
2212
+ }
2213
+ >
2214
+ <RNSVGGroup
2215
+ fill={
2216
+ {
2217
+ "payload": 4278190080,
2218
+ "type": 0,
2219
+ }
2220
+ }
2221
+ >
2222
+ <View
2223
+ alignItems="center"
2224
+ style={
2225
+ [
2226
+ {
2227
+ "alignItems": "center",
2228
+ },
2229
+ {
2230
+ "left": 50.47619047619048,
2231
+ "maxHeight": 32,
2232
+ "position": "absolute",
2233
+ "top": 68,
2234
+ "width": 9.904761904761905,
2235
+ },
2236
+ ]
2237
+ }
2238
+ testID="x-axis-label-May 2025-container"
2239
+ >
2240
+ <Text
2241
+ adjustsFontSizeToFit={true}
2242
+ allowFontScaling={false}
2243
+ ellipsizeMode="tail"
2244
+ minimumFontScale={0.6}
2245
+ numberOfLines={2}
2246
+ style={
2247
+ [
2248
+ {
2249
+ "color": "#4d6265",
2250
+ "fontSize": 10,
2251
+ "letterSpacing": 0,
2252
+ "lineHeight": 14,
2253
+ },
2254
+ {
2255
+ "textAlign": "center",
2256
+ },
2257
+ ]
2258
+ }
2259
+ themeIntent="subdued"
2260
+ >
2261
+ May 2025
2262
+ </Text>
2263
+ </View>
2264
+ </RNSVGGroup>
2265
+ <RNSVGGroup
2266
+ fill={
2267
+ {
2268
+ "payload": 4278190080,
2269
+ "type": 0,
2270
+ }
2271
+ }
2272
+ >
2273
+ <View
2274
+ alignItems="center"
2275
+ style={
2276
+ [
2277
+ {
2278
+ "alignItems": "center",
2279
+ },
2280
+ {
2281
+ "left": 62.85714285714286,
2282
+ "maxHeight": 32,
2283
+ "position": "absolute",
2284
+ "top": 68,
2285
+ "width": 9.904761904761905,
2286
+ },
2287
+ ]
2288
+ }
2289
+ testID="x-axis-label-Jun 2025-container"
2290
+ >
2291
+ <Text
2292
+ adjustsFontSizeToFit={true}
2293
+ allowFontScaling={false}
2294
+ ellipsizeMode="tail"
2295
+ minimumFontScale={0.6}
2296
+ numberOfLines={2}
2297
+ style={
2298
+ [
2299
+ {
2300
+ "color": "#4d6265",
2301
+ "fontSize": 10,
2302
+ "letterSpacing": 0,
2303
+ "lineHeight": 14,
2304
+ },
2305
+ {
2306
+ "textAlign": "center",
2307
+ },
2308
+ ]
2309
+ }
2310
+ themeIntent="subdued"
2311
+ >
2312
+ Jun 2025
2313
+ </Text>
2314
+ </View>
2315
+ </RNSVGGroup>
2316
+ <RNSVGGroup
2317
+ fill={
2318
+ {
2319
+ "payload": 4278190080,
2320
+ "type": 0,
2321
+ }
2322
+ }
2323
+ >
2324
+ <View
2325
+ alignItems="center"
2326
+ style={
2327
+ [
2328
+ {
2329
+ "alignItems": "center",
2330
+ },
2331
+ {
2332
+ "left": 75.23809523809524,
2333
+ "maxHeight": 32,
2334
+ "position": "absolute",
2335
+ "top": 68,
2336
+ "width": 9.904761904761905,
2337
+ },
2338
+ ]
2339
+ }
2340
+ testID="x-axis-label-Jul 2025-container"
2341
+ >
2342
+ <Text
2343
+ adjustsFontSizeToFit={true}
2344
+ allowFontScaling={false}
2345
+ ellipsizeMode="tail"
2346
+ minimumFontScale={0.6}
2347
+ numberOfLines={2}
2348
+ style={
2349
+ [
2350
+ {
2351
+ "color": "#4d6265",
2352
+ "fontSize": 10,
2353
+ "letterSpacing": 0,
2354
+ "lineHeight": 14,
2355
+ },
2356
+ {
2357
+ "textAlign": "center",
2358
+ },
2359
+ ]
2360
+ }
2361
+ themeIntent="subdued"
2362
+ >
2363
+ Jul 2025
2364
+ </Text>
2365
+ </View>
2366
+ </RNSVGGroup>
2367
+ <RNSVGGroup
2368
+ fill={
2369
+ {
2370
+ "payload": 4278190080,
2371
+ "type": 0,
2372
+ }
2373
+ }
2374
+ >
2375
+ <View
2376
+ alignItems="center"
2377
+ style={
2378
+ [
2379
+ {
2380
+ "alignItems": "center",
2381
+ },
2382
+ {
2383
+ "left": 87.61904761904762,
2384
+ "maxHeight": 32,
2385
+ "position": "absolute",
2386
+ "top": 68,
2387
+ "width": 9.904761904761905,
2388
+ },
2389
+ ]
2390
+ }
2391
+ testID="x-axis-label-Aug 2025-container"
2392
+ >
2393
+ <Text
2394
+ adjustsFontSizeToFit={true}
2395
+ allowFontScaling={false}
2396
+ ellipsizeMode="tail"
2397
+ minimumFontScale={0.6}
2398
+ numberOfLines={2}
2399
+ style={
2400
+ [
2401
+ {
2402
+ "color": "#4d6265",
2403
+ "fontSize": 10,
2404
+ "letterSpacing": 0,
2405
+ "lineHeight": 14,
2406
+ },
2407
+ {
2408
+ "textAlign": "center",
2409
+ },
2410
+ ]
2411
+ }
2412
+ themeIntent="subdued"
2413
+ >
2414
+ Aug 2025
2415
+ </Text>
2416
+ </View>
2417
+ </RNSVGGroup>
2418
+ </RNSVGGroup>
2419
+ <RNSVGGroup
2420
+ fill={
2421
+ {
2422
+ "payload": 4278190080,
2423
+ "type": 0,
2424
+ }
2425
+ }
2426
+ >
2427
+ <RNSVGGroup
2428
+ fill={
2429
+ {
2430
+ "payload": 4278190080,
2431
+ "type": 0,
2432
+ }
2433
+ }
2434
+ >
2435
+ <View
2436
+ style={
2437
+ [
2438
+ {},
2439
+ {
2440
+ "maxWidth": 32,
2441
+ "position": "absolute",
2442
+ "right": 68,
2443
+ "top": 56,
2444
+ "transform": [
2445
+ {
2446
+ "translateY": -7,
2447
+ },
2448
+ ],
2449
+ },
2450
+ ]
2451
+ }
2452
+ testID="y-axis-label-0-container"
2453
+ >
2454
+ <Text
2455
+ adjustsFontSizeToFit={true}
2456
+ allowFontScaling={false}
2457
+ ellipsizeMode="tail"
2458
+ minimumFontScale={0.6}
2459
+ numberOfLines={1}
2460
+ style={
2461
+ [
2462
+ {
2463
+ "color": "#4d6265",
2464
+ "fontSize": 10,
2465
+ "letterSpacing": 0,
2466
+ "lineHeight": 14,
2467
+ },
2468
+ {
2469
+ "textAlign": "right",
2470
+ },
2471
+ ]
2472
+ }
2473
+ themeIntent="subdued"
2474
+ >
2475
+ $0
2476
+ </Text>
2477
+ </View>
2478
+ </RNSVGGroup>
2479
+ <RNSVGGroup
2480
+ fill={
2481
+ {
2482
+ "payload": 4278190080,
2483
+ "type": 0,
2484
+ }
2485
+ }
2486
+ >
2487
+ <View
2488
+ style={
2489
+ [
2490
+ {},
2491
+ {
2492
+ "maxWidth": 32,
2493
+ "position": "absolute",
2494
+ "right": 68,
2495
+ "top": 42,
2496
+ "transform": [
2497
+ {
2498
+ "translateY": -7,
2499
+ },
2500
+ ],
2501
+ },
2502
+ ]
2503
+ }
2504
+ testID="y-axis-label-20-container"
2505
+ >
2506
+ <Text
2507
+ adjustsFontSizeToFit={true}
2508
+ allowFontScaling={false}
2509
+ ellipsizeMode="tail"
2510
+ minimumFontScale={0.6}
2511
+ numberOfLines={1}
2512
+ style={
2513
+ [
2514
+ {
2515
+ "color": "#4d6265",
2516
+ "fontSize": 10,
2517
+ "letterSpacing": 0,
2518
+ "lineHeight": 14,
2519
+ },
2520
+ {
2521
+ "textAlign": "right",
2522
+ },
2523
+ ]
2524
+ }
2525
+ themeIntent="subdued"
2526
+ >
2527
+ $20
2528
+ </Text>
2529
+ </View>
2530
+ </RNSVGGroup>
2531
+ <RNSVGGroup
2532
+ fill={
2533
+ {
2534
+ "payload": 4278190080,
2535
+ "type": 0,
2536
+ }
2537
+ }
2538
+ >
2539
+ <View
2540
+ style={
2541
+ [
2542
+ {},
2543
+ {
2544
+ "maxWidth": 32,
2545
+ "position": "absolute",
2546
+ "right": 68,
2547
+ "top": 28,
2548
+ "transform": [
2549
+ {
2550
+ "translateY": -7,
2551
+ },
2552
+ ],
2553
+ },
2554
+ ]
2555
+ }
2556
+ testID="y-axis-label-40-container"
2557
+ >
2558
+ <Text
2559
+ adjustsFontSizeToFit={true}
2560
+ allowFontScaling={false}
2561
+ ellipsizeMode="tail"
2562
+ minimumFontScale={0.6}
2563
+ numberOfLines={1}
2564
+ style={
2565
+ [
2566
+ {
2567
+ "color": "#4d6265",
2568
+ "fontSize": 10,
2569
+ "letterSpacing": 0,
2570
+ "lineHeight": 14,
2571
+ },
2572
+ {
2573
+ "textAlign": "right",
2574
+ },
2575
+ ]
2576
+ }
2577
+ themeIntent="subdued"
2578
+ >
2579
+ $40
2580
+ </Text>
2581
+ </View>
2582
+ </RNSVGGroup>
2583
+ <RNSVGGroup
2584
+ fill={
2585
+ {
2586
+ "payload": 4278190080,
2587
+ "type": 0,
2588
+ }
2589
+ }
2590
+ >
2591
+ <View
2592
+ style={
2593
+ [
2594
+ {},
2595
+ {
2596
+ "maxWidth": 32,
2597
+ "position": "absolute",
2598
+ "right": 68,
2599
+ "top": 14,
2600
+ "transform": [
2601
+ {
2602
+ "translateY": -7,
2603
+ },
2604
+ ],
2605
+ },
2606
+ ]
2607
+ }
2608
+ testID="y-axis-label-60-container"
2609
+ >
2610
+ <Text
2611
+ adjustsFontSizeToFit={true}
2612
+ allowFontScaling={false}
2613
+ ellipsizeMode="tail"
2614
+ minimumFontScale={0.6}
2615
+ numberOfLines={1}
2616
+ style={
2617
+ [
2618
+ {
2619
+ "color": "#4d6265",
2620
+ "fontSize": 10,
2621
+ "letterSpacing": 0,
2622
+ "lineHeight": 14,
2623
+ },
2624
+ {
2625
+ "textAlign": "right",
2626
+ },
2627
+ ]
2628
+ }
2629
+ themeIntent="subdued"
2630
+ >
2631
+ $60
2632
+ </Text>
2633
+ </View>
2634
+ </RNSVGGroup>
2635
+ <RNSVGGroup
2636
+ fill={
2637
+ {
2638
+ "payload": 4278190080,
2639
+ "type": 0,
2640
+ }
2641
+ }
2642
+ >
2643
+ <View
2644
+ style={
2645
+ [
2646
+ {},
2647
+ {
2648
+ "maxWidth": 32,
2649
+ "position": "absolute",
2650
+ "right": 68,
2651
+ "top": 0,
2652
+ "transform": [
2653
+ {
2654
+ "translateY": -7,
2655
+ },
2656
+ ],
2657
+ },
2658
+ ]
2659
+ }
2660
+ testID="y-axis-label-80-container"
2661
+ >
2662
+ <Text
2663
+ adjustsFontSizeToFit={true}
2664
+ allowFontScaling={false}
2665
+ ellipsizeMode="tail"
2666
+ minimumFontScale={0.6}
2667
+ numberOfLines={1}
2668
+ style={
2669
+ [
2670
+ {
2671
+ "color": "#4d6265",
2672
+ "fontSize": 10,
2673
+ "letterSpacing": 0,
2674
+ "lineHeight": 14,
2675
+ },
2676
+ {
2677
+ "textAlign": "right",
2678
+ },
2679
+ ]
2680
+ }
2681
+ themeIntent="subdued"
2682
+ >
2683
+ $80
2684
+ </Text>
2685
+ </View>
2686
+ </RNSVGGroup>
2687
+ </RNSVGGroup>
2688
+ <RNSVGGroup
2689
+ fill={
2690
+ {
2691
+ "payload": 4278190080,
2692
+ "type": 0,
2693
+ }
2694
+ }
2695
+ testID="x-axis-grid"
2696
+ >
2697
+ <RNSVGLine
2698
+ fill={
2699
+ {
2700
+ "payload": 4278190080,
2701
+ "type": 0,
2702
+ }
2703
+ }
2704
+ propList={
2705
+ [
2706
+ "stroke",
2707
+ "strokeDasharray",
2708
+ ]
2709
+ }
2710
+ stroke={
2711
+ {
2712
+ "payload": 4293454314,
2713
+ "type": 0,
2714
+ }
2715
+ }
2716
+ strokeDasharray={
2717
+ [
2718
+ 4,
2719
+ 4,
2720
+ ]
2721
+ }
2722
+ testID="x-axis-grid-May 2025"
2723
+ x1={55.42857142857143}
2724
+ x2={55.42857142857143}
2725
+ y1={0}
2726
+ y2={56}
2727
+ />
2728
+ <RNSVGLine
2729
+ fill={
2730
+ {
2731
+ "payload": 4278190080,
2732
+ "type": 0,
2733
+ }
2734
+ }
2735
+ propList={
2736
+ [
2737
+ "stroke",
2738
+ "strokeDasharray",
2739
+ ]
2740
+ }
2741
+ stroke={
2742
+ {
2743
+ "payload": 4293454314,
2744
+ "type": 0,
2745
+ }
2746
+ }
2747
+ strokeDasharray={
2748
+ [
2749
+ 4,
2750
+ 4,
2751
+ ]
2752
+ }
2753
+ testID="x-axis-grid-Jun 2025"
2754
+ x1={67.80952380952381}
2755
+ x2={67.80952380952381}
2756
+ y1={0}
2757
+ y2={56}
2758
+ />
2759
+ <RNSVGLine
2760
+ fill={
2761
+ {
2762
+ "payload": 4278190080,
2763
+ "type": 0,
2764
+ }
2765
+ }
2766
+ propList={
2767
+ [
2768
+ "stroke",
2769
+ "strokeDasharray",
2770
+ ]
2771
+ }
2772
+ stroke={
2773
+ {
2774
+ "payload": 4293454314,
2775
+ "type": 0,
2776
+ }
2777
+ }
2778
+ strokeDasharray={
2779
+ [
2780
+ 4,
2781
+ 4,
2782
+ ]
2783
+ }
2784
+ testID="x-axis-grid-Jul 2025"
2785
+ x1={80.19047619047619}
2786
+ x2={80.19047619047619}
2787
+ y1={0}
2788
+ y2={56}
2789
+ />
2790
+ <RNSVGLine
2791
+ fill={
2792
+ {
2793
+ "payload": 4278190080,
2794
+ "type": 0,
2795
+ }
2796
+ }
2797
+ propList={
2798
+ [
2799
+ "stroke",
2800
+ "strokeDasharray",
2801
+ ]
2802
+ }
2803
+ stroke={
2804
+ {
2805
+ "payload": 4293454314,
2806
+ "type": 0,
2807
+ }
2808
+ }
2809
+ strokeDasharray={
2810
+ [
2811
+ 4,
2812
+ 4,
2813
+ ]
2814
+ }
2815
+ testID="x-axis-grid-Aug 2025"
2816
+ x1={92.57142857142857}
2817
+ x2={92.57142857142857}
2818
+ y1={0}
2819
+ y2={56}
2820
+ />
2821
+ </RNSVGGroup>
2822
+ <RNSVGGroup
2823
+ fill={
2824
+ {
2825
+ "payload": 4278190080,
2826
+ "type": 0,
2827
+ }
2828
+ }
2829
+ testID="y-axis-grid"
2830
+ >
2831
+ <RNSVGLine
2832
+ fill={
2833
+ {
2834
+ "payload": 4278190080,
2835
+ "type": 0,
2836
+ }
2837
+ }
2838
+ propList={
2839
+ [
2840
+ "stroke",
2841
+ "strokeDasharray",
2842
+ ]
2843
+ }
2844
+ stroke={
2845
+ {
2846
+ "payload": 4293454314,
2847
+ "type": 0,
2848
+ }
2849
+ }
2850
+ strokeDasharray={
2851
+ [
2852
+ 4,
2853
+ 4,
2854
+ ]
2855
+ }
2856
+ testID="y-axis-grid-0"
2857
+ x1={48}
2858
+ x2={100}
2859
+ y1={56}
2860
+ y2={56}
2861
+ />
2862
+ <RNSVGLine
2863
+ fill={
2864
+ {
2865
+ "payload": 4278190080,
2866
+ "type": 0,
2867
+ }
2868
+ }
2869
+ propList={
2870
+ [
2871
+ "stroke",
2872
+ "strokeDasharray",
2873
+ ]
2874
+ }
2875
+ stroke={
2876
+ {
2877
+ "payload": 4293454314,
2878
+ "type": 0,
2879
+ }
2880
+ }
2881
+ strokeDasharray={
2882
+ [
2883
+ 4,
2884
+ 4,
2885
+ ]
2886
+ }
2887
+ testID="y-axis-grid-20"
2888
+ x1={48}
2889
+ x2={100}
2890
+ y1={42}
2891
+ y2={42}
2892
+ />
2893
+ <RNSVGLine
2894
+ fill={
2895
+ {
2896
+ "payload": 4278190080,
2897
+ "type": 0,
2898
+ }
2899
+ }
2900
+ propList={
2901
+ [
2902
+ "stroke",
2903
+ "strokeDasharray",
2904
+ ]
2905
+ }
2906
+ stroke={
2907
+ {
2908
+ "payload": 4293454314,
2909
+ "type": 0,
2910
+ }
2911
+ }
2912
+ strokeDasharray={
2913
+ [
2914
+ 4,
2915
+ 4,
2916
+ ]
2917
+ }
2918
+ testID="y-axis-grid-40"
2919
+ x1={48}
2920
+ x2={100}
2921
+ y1={28}
2922
+ y2={28}
2923
+ />
2924
+ <RNSVGLine
2925
+ fill={
2926
+ {
2927
+ "payload": 4278190080,
2928
+ "type": 0,
2929
+ }
2930
+ }
2931
+ propList={
2932
+ [
2933
+ "stroke",
2934
+ "strokeDasharray",
2935
+ ]
2936
+ }
2937
+ stroke={
2938
+ {
2939
+ "payload": 4293454314,
2940
+ "type": 0,
2941
+ }
2942
+ }
2943
+ strokeDasharray={
2944
+ [
2945
+ 4,
2946
+ 4,
2947
+ ]
2948
+ }
2949
+ testID="y-axis-grid-60"
2950
+ x1={48}
2951
+ x2={100}
2952
+ y1={14}
2953
+ y2={14}
2954
+ />
2955
+ <RNSVGLine
2956
+ fill={
2957
+ {
2958
+ "payload": 4278190080,
2959
+ "type": 0,
2960
+ }
2961
+ }
2962
+ propList={
2963
+ [
2964
+ "stroke",
2965
+ "strokeDasharray",
2966
+ ]
2967
+ }
2968
+ stroke={
2969
+ {
2970
+ "payload": 4293454314,
2971
+ "type": 0,
2972
+ }
2973
+ }
2974
+ strokeDasharray={
2975
+ [
2976
+ 4,
2977
+ 4,
2978
+ ]
2979
+ }
2980
+ testID="y-axis-grid-80"
2981
+ x1={48}
2982
+ x2={100}
2983
+ y1={0}
2984
+ y2={0}
2985
+ />
2986
+ </RNSVGGroup>
2987
+ <RNSVGGroup
2988
+ fill={
2989
+ {
2990
+ "payload": 4278190080,
2991
+ "type": 0,
2992
+ }
2993
+ }
2994
+ >
2995
+ <View
2996
+ onLayout={[Function]}
2997
+ style={
2998
+ [
2999
+ {},
3000
+ {
3001
+ "left": 74,
3002
+ "position": "absolute",
3003
+ "top": 28,
3004
+ },
3005
+ ]
3006
+ }
3007
+ >
3008
+ <Text
3009
+ allowFontScaling={false}
3010
+ ellipsizeMode="tail"
3011
+ numberOfLines={1}
3012
+ style={
3013
+ [
3014
+ {
3015
+ "color": "#4d6265",
3016
+ "fontFamily": "BeVietnamPro-SemiBold",
3017
+ "fontSize": 12,
3018
+ "letterSpacing": 0.24,
3019
+ "lineHeight": 16,
3020
+ },
3021
+ {
3022
+ "textAlign": "center",
3023
+ },
3024
+ ]
3025
+ }
3026
+ themeFontWeight="semi-bold"
3027
+ themeIntent="muted"
3028
+ >
3029
+ NO RECENT DATA
3030
+ </Text>
3031
+ </View>
3032
+ </RNSVGGroup>
3033
+ </RNSVGGroup>
3034
+ </RNSVGSvgView>
3035
+ </View>
3036
+ </View>
3037
+ <View
3038
+ pointerEvents="box-none"
3039
+ position="bottom"
3040
+ style={
3041
+ [
3042
+ {
3043
+ "bottom": 0,
3044
+ "elevation": 9999,
3045
+ "flexDirection": "column-reverse",
3046
+ "left": 0,
3047
+ "paddingHorizontal": 24,
3048
+ "paddingVertical": 16,
3049
+ "position": "absolute",
3050
+ "right": 0,
3051
+ "top": 0,
3052
+ },
3053
+ undefined,
3054
+ ]
3055
+ }
3056
+ />
3057
+ </View>
3058
+ `;