@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.
- package/.turbo/turbo-build.log +8 -3
- package/CHANGELOG.md +17 -0
- package/es/index.js +5621 -690
- package/jest.config.js +1 -1
- package/lib/index.js +5545 -613
- package/package.json +4 -2
- package/src/components/Avatar/AvatarStack/utils.ts +6 -4
- package/src/components/Badge/Status.tsx +1 -1
- package/src/components/Badge/__tests__/Status.spec.tsx +20 -0
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -0
- package/src/components/Chart/ChartSelect/StyledChartSelect.tsx +9 -0
- package/src/components/Chart/ChartSelect/__tests__/StyledChartSelect.spec.tsx +15 -0
- package/src/components/Chart/ChartSelect/__tests__/__snapshots__/StyledChartSelect.spec.tsx.snap +20 -0
- package/src/components/Chart/ChartSelect/__tests__/index.spec.tsx +111 -0
- package/src/components/Chart/ChartSelect/index.tsx +137 -0
- package/src/components/Chart/ColumnChart/ColumnChartContent.tsx +84 -0
- package/src/components/Chart/ColumnChart/Segment.tsx +66 -0
- package/src/components/Chart/ColumnChart/StackedSegment.tsx +99 -0
- package/src/components/Chart/ColumnChart/StyledColumnChart.tsx +9 -0
- package/src/components/Chart/ColumnChart/__tests__/ColumnChartContent.spec.tsx +68 -0
- package/src/components/Chart/ColumnChart/__tests__/Segment.spec.tsx +99 -0
- package/src/components/Chart/ColumnChart/__tests__/StackedSegment.spec.tsx +115 -0
- package/src/components/Chart/ColumnChart/__tests__/__snapshots__/StackedSegment.spec.tsx.snap +120 -0
- package/src/components/Chart/ColumnChart/__tests__/__snapshots__/index.spec.tsx.snap +1405 -0
- package/src/components/Chart/ColumnChart/__tests__/index.spec.tsx +134 -0
- package/src/components/Chart/ColumnChart/index.tsx +216 -0
- package/src/components/Chart/Line/Line.tsx +81 -0
- package/src/components/Chart/Line/__tests__/Line.spec.tsx +148 -0
- package/src/components/Chart/Line/__tests__/__snapshots__/Line.spec.tsx.snap +56 -0
- package/src/components/Chart/Line/__tests__/__snapshots__/index.spec.tsx.snap +1461 -0
- package/src/components/Chart/Line/__tests__/index.spec.tsx +112 -0
- package/src/components/Chart/Line/index.tsx +143 -0
- package/src/components/Chart/StyledChart.tsx +16 -0
- package/src/components/Chart/index.tsx +13 -0
- package/src/components/Chart/shared/AxisLabel.tsx +25 -0
- package/src/components/Chart/shared/ChartFrame.tsx +131 -0
- package/src/components/Chart/shared/ChartHeader.tsx +19 -0
- package/src/components/Chart/shared/EmptyState.tsx +83 -0
- package/src/components/Chart/shared/XAxis.tsx +69 -0
- package/src/components/Chart/shared/XAxisGrid.tsx +42 -0
- package/src/components/Chart/shared/YAxis.tsx +104 -0
- package/src/components/Chart/shared/YAxisGrid.tsx +58 -0
- package/src/components/Chart/shared/__tests__/ChartFrame.spec.tsx +125 -0
- package/src/components/Chart/shared/__tests__/ChartHeader.spec.tsx +22 -0
- package/src/components/Chart/shared/__tests__/EmptyState.spec.tsx +29 -0
- package/src/components/Chart/shared/__tests__/XAXisGrid.spec.tsx +30 -0
- package/src/components/Chart/shared/__tests__/XAxis.spec.tsx +42 -0
- package/src/components/Chart/shared/__tests__/YAxis.spec.tsx +72 -0
- package/src/components/Chart/shared/__tests__/YAxisGrid.spec.tsx +35 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/ChartFrame.spec.tsx.snap +3058 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/ChartHeader.spec.tsx.snap +160 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/EmptyState.spec.tsx.snap +155 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/XAXisGrid.spec.tsx.snap +197 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/XAxis.spec.tsx.snap +369 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/YAxis.spec.tsx.snap +1013 -0
- package/src/components/Chart/shared/__tests__/__snapshots__/YAxisGrid.spec.tsx.snap +228 -0
- package/src/components/Chart/shared/__tests__/niceNumbers.spec.tsx +127 -0
- package/src/components/Chart/shared/constants.ts +2 -0
- package/src/components/Chart/shared/hooks/useColorScale.ts +25 -0
- package/src/components/Chart/shared/hooks/useGenerateTicks.ts +27 -0
- package/src/components/Chart/shared/hooks/useScaleBandX.ts +17 -0
- package/src/components/Chart/shared/hooks/useScaleLinearY.ts +30 -0
- package/src/components/Chart/shared/niceNumbers.ts +68 -0
- package/src/components/Chart/types.ts +100 -0
- package/src/components/Select/MultiSelect/OptionList.tsx +1 -1
- package/src/components/Select/MultiSelect/index.tsx +2 -6
- package/src/components/Select/MultiSelect/utils.ts +1 -1
- package/src/components/Select/SingleSelect/OptionList.tsx +1 -1
- package/src/components/Select/SingleSelect/index.tsx +2 -7
- package/src/components/Select/__tests__/helpers.spec.tsx +0 -36
- package/src/components/Select/helpers.tsx +0 -75
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +2 -0
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +28 -0
- package/src/theme/components/chart.ts +28 -0
- package/src/theme/components/columnChart.ts +15 -0
- package/src/theme/getTheme.ts +6 -0
- package/src/types.ts +4 -0
- package/src/utils/__tests__/helpers.spec.ts +36 -1
- package/src/utils/helpers.ts +76 -1
- package/stats/8.100.0/rn-stats.html +4842 -0
- package/stats/8.99.4/rn-stats.html +1 -1
- package/types/components/Badge/Status.d.ts +0 -1
- package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +8 -0
- package/types/components/Chart/ChartSelect/index.d.ts +63 -0
- package/types/components/Chart/ColumnChart/ColumnChartContent.d.ts +25 -0
- package/types/components/Chart/ColumnChart/Segment.d.ts +14 -0
- package/types/components/Chart/ColumnChart/StackedSegment.d.ts +28 -0
- package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +8 -0
- package/types/components/Chart/ColumnChart/index.d.ts +80 -0
- package/types/components/Chart/Line/Line.d.ts +21 -0
- package/types/components/Chart/Line/index.d.ts +35 -0
- package/types/components/Chart/StyledChart.d.ts +9 -0
- package/types/components/Chart/index.d.ts +9 -0
- package/types/components/Chart/shared/AxisLabel.d.ts +7 -0
- package/types/components/Chart/shared/ChartFrame.d.ts +30 -0
- package/types/components/Chart/shared/ChartHeader.d.ts +8 -0
- package/types/components/Chart/shared/EmptyState.d.ts +8 -0
- package/types/components/Chart/shared/XAxis.d.ts +8 -0
- package/types/components/Chart/shared/XAxisGrid.d.ts +8 -0
- package/types/components/Chart/shared/YAxis.d.ts +10 -0
- package/types/components/Chart/shared/YAxisGrid.d.ts +10 -0
- package/types/components/Chart/shared/constants.d.ts +2 -0
- package/types/components/Chart/shared/hooks/useColorScale.d.ts +7 -0
- package/types/components/Chart/shared/hooks/useGenerateTicks.d.ts +6 -0
- package/types/components/Chart/shared/hooks/useScaleBandX.d.ts +8 -0
- package/types/components/Chart/shared/hooks/useScaleLinearY.d.ts +9 -0
- package/types/components/Chart/shared/niceNumbers.d.ts +12 -0
- package/types/components/Chart/types.d.ts +84 -0
- package/types/components/Select/helpers.d.ts +0 -5
- package/types/index.d.ts +2 -1
- package/types/theme/components/chart.d.ts +22 -0
- package/types/theme/components/columnChart.d.ts +10 -0
- package/types/theme/getTheme.d.ts +4 -0
- package/types/types.d.ts +3 -1
- package/types/utils/helpers.d.ts +5 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`ChartHeader should render correctly 1`] = `
|
|
4
|
+
<View
|
|
5
|
+
style={
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
>
|
|
11
|
+
<View
|
|
12
|
+
style={
|
|
13
|
+
[
|
|
14
|
+
{},
|
|
15
|
+
[
|
|
16
|
+
{
|
|
17
|
+
"alignItems": "center",
|
|
18
|
+
"flexDirection": "row",
|
|
19
|
+
"justifyContent": "space-between",
|
|
20
|
+
"marginBottom": 16,
|
|
21
|
+
},
|
|
22
|
+
undefined,
|
|
23
|
+
],
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
>
|
|
27
|
+
<View
|
|
28
|
+
style={
|
|
29
|
+
[
|
|
30
|
+
{},
|
|
31
|
+
undefined,
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
>
|
|
35
|
+
<Text
|
|
36
|
+
allowFontScaling={false}
|
|
37
|
+
style={
|
|
38
|
+
[
|
|
39
|
+
{
|
|
40
|
+
"color": "#001f23",
|
|
41
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
42
|
+
"fontSize": 16,
|
|
43
|
+
"letterSpacing": 0.48,
|
|
44
|
+
"lineHeight": 24,
|
|
45
|
+
},
|
|
46
|
+
undefined,
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
themeIntent="body"
|
|
50
|
+
themeTypeface="neutral"
|
|
51
|
+
themeVariant="regular"
|
|
52
|
+
>
|
|
53
|
+
Chart title
|
|
54
|
+
</Text>
|
|
55
|
+
</View>
|
|
56
|
+
<View
|
|
57
|
+
style={
|
|
58
|
+
[
|
|
59
|
+
{},
|
|
60
|
+
undefined,
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
>
|
|
64
|
+
<View
|
|
65
|
+
accessibilityState={
|
|
66
|
+
{
|
|
67
|
+
"disabled": false,
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
accessibilityValue={
|
|
71
|
+
{
|
|
72
|
+
"max": undefined,
|
|
73
|
+
"min": undefined,
|
|
74
|
+
"now": undefined,
|
|
75
|
+
"text": undefined,
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
accessible={true}
|
|
79
|
+
focusable={true}
|
|
80
|
+
onClick={[Function]}
|
|
81
|
+
onResponderGrant={[Function]}
|
|
82
|
+
onResponderMove={[Function]}
|
|
83
|
+
onResponderRelease={[Function]}
|
|
84
|
+
onResponderTerminate={[Function]}
|
|
85
|
+
onResponderTerminationRequest={[Function]}
|
|
86
|
+
onStartShouldSetResponder={[Function]}
|
|
87
|
+
style={
|
|
88
|
+
[
|
|
89
|
+
{
|
|
90
|
+
"alignItems": "center",
|
|
91
|
+
"alignSelf": "stretch",
|
|
92
|
+
"backgroundColor": "#401960",
|
|
93
|
+
"borderRadius": 32,
|
|
94
|
+
"flexDirection": "row",
|
|
95
|
+
"height": 60,
|
|
96
|
+
"justifyContent": "center",
|
|
97
|
+
"padding": 16,
|
|
98
|
+
},
|
|
99
|
+
undefined,
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
>
|
|
103
|
+
<Text
|
|
104
|
+
allowFontScaling={false}
|
|
105
|
+
disabled={false}
|
|
106
|
+
ellipsizeMode="tail"
|
|
107
|
+
numberOfLines={1}
|
|
108
|
+
style={
|
|
109
|
+
[
|
|
110
|
+
{
|
|
111
|
+
"color": "#001f23",
|
|
112
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
113
|
+
"fontSize": 18,
|
|
114
|
+
"letterSpacing": 0.24,
|
|
115
|
+
"lineHeight": 28,
|
|
116
|
+
},
|
|
117
|
+
[
|
|
118
|
+
{
|
|
119
|
+
"color": "#ffffff",
|
|
120
|
+
"flexShrink": 1,
|
|
121
|
+
"lineHeight": undefined,
|
|
122
|
+
"textAlign": "center",
|
|
123
|
+
"textAlignVertical": "center",
|
|
124
|
+
},
|
|
125
|
+
undefined,
|
|
126
|
+
],
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
themeButtonVariant="filled-primary"
|
|
130
|
+
themeIntent="body"
|
|
131
|
+
themeLevel="h5"
|
|
132
|
+
themeTypeface="neutral"
|
|
133
|
+
>
|
|
134
|
+
Button
|
|
135
|
+
</Text>
|
|
136
|
+
</View>
|
|
137
|
+
</View>
|
|
138
|
+
</View>
|
|
139
|
+
<View
|
|
140
|
+
pointerEvents="box-none"
|
|
141
|
+
position="bottom"
|
|
142
|
+
style={
|
|
143
|
+
[
|
|
144
|
+
{
|
|
145
|
+
"bottom": 0,
|
|
146
|
+
"elevation": 9999,
|
|
147
|
+
"flexDirection": "column-reverse",
|
|
148
|
+
"left": 0,
|
|
149
|
+
"paddingHorizontal": 24,
|
|
150
|
+
"paddingVertical": 16,
|
|
151
|
+
"position": "absolute",
|
|
152
|
+
"right": 0,
|
|
153
|
+
"top": 0,
|
|
154
|
+
},
|
|
155
|
+
undefined,
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
/>
|
|
159
|
+
</View>
|
|
160
|
+
`;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`EmptyState renders correctly on web 1`] = `
|
|
4
|
+
<View
|
|
5
|
+
style={
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
>
|
|
11
|
+
<RNSVGGroup
|
|
12
|
+
fill={
|
|
13
|
+
{
|
|
14
|
+
"payload": 4278190080,
|
|
15
|
+
"type": 0,
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
>
|
|
19
|
+
<View
|
|
20
|
+
onLayout={[Function]}
|
|
21
|
+
style={
|
|
22
|
+
[
|
|
23
|
+
{},
|
|
24
|
+
{
|
|
25
|
+
"left": 175,
|
|
26
|
+
"position": "absolute",
|
|
27
|
+
"top": 175,
|
|
28
|
+
},
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
>
|
|
32
|
+
<Text
|
|
33
|
+
allowFontScaling={false}
|
|
34
|
+
ellipsizeMode="tail"
|
|
35
|
+
numberOfLines={1}
|
|
36
|
+
style={
|
|
37
|
+
[
|
|
38
|
+
{
|
|
39
|
+
"color": "#4d6265",
|
|
40
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
41
|
+
"fontSize": 12,
|
|
42
|
+
"letterSpacing": 0.24,
|
|
43
|
+
"lineHeight": 16,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"textAlign": "center",
|
|
47
|
+
},
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
themeFontWeight="semi-bold"
|
|
51
|
+
themeIntent="muted"
|
|
52
|
+
>
|
|
53
|
+
No data
|
|
54
|
+
</Text>
|
|
55
|
+
</View>
|
|
56
|
+
</RNSVGGroup>
|
|
57
|
+
<View
|
|
58
|
+
pointerEvents="box-none"
|
|
59
|
+
position="bottom"
|
|
60
|
+
style={
|
|
61
|
+
[
|
|
62
|
+
{
|
|
63
|
+
"bottom": 0,
|
|
64
|
+
"elevation": 9999,
|
|
65
|
+
"flexDirection": "column-reverse",
|
|
66
|
+
"left": 0,
|
|
67
|
+
"paddingHorizontal": 24,
|
|
68
|
+
"paddingVertical": 16,
|
|
69
|
+
"position": "absolute",
|
|
70
|
+
"right": 0,
|
|
71
|
+
"top": 0,
|
|
72
|
+
},
|
|
73
|
+
undefined,
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
/>
|
|
77
|
+
</View>
|
|
78
|
+
`;
|
|
79
|
+
|
|
80
|
+
exports[`EmptyState should render 1`] = `
|
|
81
|
+
<View
|
|
82
|
+
style={
|
|
83
|
+
{
|
|
84
|
+
"flex": 1,
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
>
|
|
88
|
+
<RNSVGGroup
|
|
89
|
+
fill={
|
|
90
|
+
{
|
|
91
|
+
"payload": 4278190080,
|
|
92
|
+
"type": 0,
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
>
|
|
96
|
+
<View
|
|
97
|
+
onLayout={[Function]}
|
|
98
|
+
style={
|
|
99
|
+
[
|
|
100
|
+
{},
|
|
101
|
+
{
|
|
102
|
+
"left": 175,
|
|
103
|
+
"position": "absolute",
|
|
104
|
+
"top": 175,
|
|
105
|
+
},
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
>
|
|
109
|
+
<Text
|
|
110
|
+
allowFontScaling={false}
|
|
111
|
+
ellipsizeMode="tail"
|
|
112
|
+
numberOfLines={1}
|
|
113
|
+
style={
|
|
114
|
+
[
|
|
115
|
+
{
|
|
116
|
+
"color": "#4d6265",
|
|
117
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
118
|
+
"fontSize": 12,
|
|
119
|
+
"letterSpacing": 0.24,
|
|
120
|
+
"lineHeight": 16,
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"textAlign": "center",
|
|
124
|
+
},
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
themeFontWeight="semi-bold"
|
|
128
|
+
themeIntent="muted"
|
|
129
|
+
>
|
|
130
|
+
No data
|
|
131
|
+
</Text>
|
|
132
|
+
</View>
|
|
133
|
+
</RNSVGGroup>
|
|
134
|
+
<View
|
|
135
|
+
pointerEvents="box-none"
|
|
136
|
+
position="bottom"
|
|
137
|
+
style={
|
|
138
|
+
[
|
|
139
|
+
{
|
|
140
|
+
"bottom": 0,
|
|
141
|
+
"elevation": 9999,
|
|
142
|
+
"flexDirection": "column-reverse",
|
|
143
|
+
"left": 0,
|
|
144
|
+
"paddingHorizontal": 24,
|
|
145
|
+
"paddingVertical": 16,
|
|
146
|
+
"position": "absolute",
|
|
147
|
+
"right": 0,
|
|
148
|
+
"top": 0,
|
|
149
|
+
},
|
|
150
|
+
undefined,
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
/>
|
|
154
|
+
</View>
|
|
155
|
+
`;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`XAxisGrid should render correctly 1`] = `
|
|
4
|
+
<View
|
|
5
|
+
style={
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
>
|
|
11
|
+
<RNSVGGroup
|
|
12
|
+
fill={
|
|
13
|
+
{
|
|
14
|
+
"payload": 4278190080,
|
|
15
|
+
"type": 0,
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
testID="x-axis-grid"
|
|
19
|
+
>
|
|
20
|
+
<RNSVGLine
|
|
21
|
+
fill={
|
|
22
|
+
{
|
|
23
|
+
"payload": 4278190080,
|
|
24
|
+
"type": 0,
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
propList={
|
|
28
|
+
[
|
|
29
|
+
"stroke",
|
|
30
|
+
"strokeDasharray",
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
stroke={
|
|
34
|
+
{
|
|
35
|
+
"payload": 4293454314,
|
|
36
|
+
"type": 0,
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
strokeDasharray={
|
|
40
|
+
[
|
|
41
|
+
4,
|
|
42
|
+
4,
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
testID="x-axis-grid-1"
|
|
46
|
+
x1={11.53846153846154}
|
|
47
|
+
x2={11.53846153846154}
|
|
48
|
+
y1={0}
|
|
49
|
+
y2={100}
|
|
50
|
+
/>
|
|
51
|
+
<RNSVGLine
|
|
52
|
+
fill={
|
|
53
|
+
{
|
|
54
|
+
"payload": 4278190080,
|
|
55
|
+
"type": 0,
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
propList={
|
|
59
|
+
[
|
|
60
|
+
"stroke",
|
|
61
|
+
"strokeDasharray",
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
stroke={
|
|
65
|
+
{
|
|
66
|
+
"payload": 4293454314,
|
|
67
|
+
"type": 0,
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
strokeDasharray={
|
|
71
|
+
[
|
|
72
|
+
4,
|
|
73
|
+
4,
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
testID="x-axis-grid-2"
|
|
77
|
+
x1={30.76923076923077}
|
|
78
|
+
x2={30.76923076923077}
|
|
79
|
+
y1={0}
|
|
80
|
+
y2={100}
|
|
81
|
+
/>
|
|
82
|
+
<RNSVGLine
|
|
83
|
+
fill={
|
|
84
|
+
{
|
|
85
|
+
"payload": 4278190080,
|
|
86
|
+
"type": 0,
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
propList={
|
|
90
|
+
[
|
|
91
|
+
"stroke",
|
|
92
|
+
"strokeDasharray",
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
stroke={
|
|
96
|
+
{
|
|
97
|
+
"payload": 4293454314,
|
|
98
|
+
"type": 0,
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
strokeDasharray={
|
|
102
|
+
[
|
|
103
|
+
4,
|
|
104
|
+
4,
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
testID="x-axis-grid-3"
|
|
108
|
+
x1={50}
|
|
109
|
+
x2={50}
|
|
110
|
+
y1={0}
|
|
111
|
+
y2={100}
|
|
112
|
+
/>
|
|
113
|
+
<RNSVGLine
|
|
114
|
+
fill={
|
|
115
|
+
{
|
|
116
|
+
"payload": 4278190080,
|
|
117
|
+
"type": 0,
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
propList={
|
|
121
|
+
[
|
|
122
|
+
"stroke",
|
|
123
|
+
"strokeDasharray",
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
stroke={
|
|
127
|
+
{
|
|
128
|
+
"payload": 4293454314,
|
|
129
|
+
"type": 0,
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
strokeDasharray={
|
|
133
|
+
[
|
|
134
|
+
4,
|
|
135
|
+
4,
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
testID="x-axis-grid-4"
|
|
139
|
+
x1={69.23076923076923}
|
|
140
|
+
x2={69.23076923076923}
|
|
141
|
+
y1={0}
|
|
142
|
+
y2={100}
|
|
143
|
+
/>
|
|
144
|
+
<RNSVGLine
|
|
145
|
+
fill={
|
|
146
|
+
{
|
|
147
|
+
"payload": 4278190080,
|
|
148
|
+
"type": 0,
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
propList={
|
|
152
|
+
[
|
|
153
|
+
"stroke",
|
|
154
|
+
"strokeDasharray",
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
stroke={
|
|
158
|
+
{
|
|
159
|
+
"payload": 4293454314,
|
|
160
|
+
"type": 0,
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
strokeDasharray={
|
|
164
|
+
[
|
|
165
|
+
4,
|
|
166
|
+
4,
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
testID="x-axis-grid-5"
|
|
170
|
+
x1={88.46153846153847}
|
|
171
|
+
x2={88.46153846153847}
|
|
172
|
+
y1={0}
|
|
173
|
+
y2={100}
|
|
174
|
+
/>
|
|
175
|
+
</RNSVGGroup>
|
|
176
|
+
<View
|
|
177
|
+
pointerEvents="box-none"
|
|
178
|
+
position="bottom"
|
|
179
|
+
style={
|
|
180
|
+
[
|
|
181
|
+
{
|
|
182
|
+
"bottom": 0,
|
|
183
|
+
"elevation": 9999,
|
|
184
|
+
"flexDirection": "column-reverse",
|
|
185
|
+
"left": 0,
|
|
186
|
+
"paddingHorizontal": 24,
|
|
187
|
+
"paddingVertical": 16,
|
|
188
|
+
"position": "absolute",
|
|
189
|
+
"right": 0,
|
|
190
|
+
"top": 0,
|
|
191
|
+
},
|
|
192
|
+
undefined,
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
/>
|
|
196
|
+
</View>
|
|
197
|
+
`;
|