@dhiraj0720/report1chart 2.8.8 → 2.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhiraj0720/report1chart",
3
- "version": "2.8.8",
3
+ "version": "2.9.0",
4
4
  "main": "src/index.jsx",
5
5
  "scripts": {
6
6
  "test": "echo 'No tests'"
@@ -128,20 +128,20 @@ const styles = StyleSheet.create({
128
128
  backgroundColor: '#fff',
129
129
  },
130
130
  frozenColumn: {
131
- width: 100,
131
+ width: 90,
132
132
  backgroundColor: '#f4f6f8',
133
133
  borderRightWidth: 1,
134
134
  borderColor: '#ddd',
135
135
  },
136
136
  headerRow: {
137
137
  flexDirection: 'row',
138
- backgroundColor: '#f4f6f8',
138
+ backgroundColor: '#4E79A7',
139
139
  },
140
140
  dataRow: {
141
141
  flexDirection: 'row',
142
142
  },
143
143
  cell: {
144
- width: 110,
144
+ width: 100,
145
145
  paddingVertical: 12,
146
146
  paddingHorizontal: 8,
147
147
  justifyContent: 'center',
@@ -8,7 +8,7 @@ const SvgBarLineChartCompact3A = ({ data }) => {
8
8
  if (!data?.series || !data.labels?.length) return null;
9
9
 
10
10
  const height = 280;
11
- const paddingLeft = 35;
11
+ const paddingLeft = 42;
12
12
  const paddingRight = 30;
13
13
  const paddingTop = 30;
14
14
  const paddingBottom = 70;
@@ -70,16 +70,16 @@ const styles = StyleSheet.create({
70
70
  alignItems: 'center',
71
71
  paddingHorizontal: 16,
72
72
  paddingVertical: 18,
73
- backgroundColor: '#8AB6E8',
73
+ backgroundColor: '#4E79A7',
74
74
  borderBottomWidth: 1,
75
- borderColor: '#8AB6E8',
75
+ borderColor: '#4E79A7',
76
76
  marginBottom: 12,
77
77
  },
78
78
  backIcon: {
79
79
  fontSize: 32,
80
80
  color: '#fff',
81
81
  marginRight: 16,
82
- fontWeight: '300',
82
+ fontWeight: '700',
83
83
  },
84
84
  headerTitle: {
85
85
  fontSize: 19,
@@ -169,11 +169,11 @@ const styles = StyleSheet.create({
169
169
  alignItems: 'center',
170
170
  paddingHorizontal: 16,
171
171
  paddingVertical: 18,
172
- backgroundColor: '#8AB6E8',
172
+ backgroundColor: '#4E79A7',
173
173
  borderBottomWidth: 1,
174
- borderColor: '#8AB6E8',
174
+ borderColor: '#4E79A7',
175
175
  },
176
- backIcon: { fontSize: 32, color: '#fff', fontWeight: '300' },
176
+ backIcon: { fontSize: 32, color: '#fff', fontWeight: '700' },
177
177
  headerTitle: { fontSize: 19, fontWeight: '700', color: '#fff', flex: 1, textAlign: 'center' },
178
178
 
179
179
  filterBar: {
@@ -115,8 +115,15 @@ const Report3AScreen = ({ api, token, onBack }) => {
115
115
  Months ({selectedMonths.length}/{months.length})
116
116
  </Text>
117
117
  </TouchableOpacity>
118
+
119
+ <TouchableOpacity
120
+ onPress={() => setFullscreen(true)} style={styles.filterItem}
121
+ >
122
+ <Text style={styles.filterText}>⤢ Full Screen</Text>
123
+ </TouchableOpacity>
118
124
  </View>
119
125
 
126
+
120
127
  <ScrollView style={styles.content}>
121
128
  {/* FULL SCREEN BUTTON
122
129
  <TouchableOpacity onPress={() => setFullscreen(true)} style={styles.fullScreenBtn}>
@@ -127,11 +134,7 @@ const Report3AScreen = ({ api, token, onBack }) => {
127
134
  <Text style={styles.fullScreenText}>Full Screen Table</Text>
128
135
  </TouchableOpacity> */}
129
136
 
130
- <TouchableOpacity
131
- onPress={() => setFullscreen(true)} style={styles.fullScreenBtn}
132
- >
133
- <Text style={{ fontWeight: '700' }}>⤢ Full Screen</Text>
134
- </TouchableOpacity>
137
+
135
138
 
136
139
  {/* TABLE */}
137
140
  <FrozenTableReport3A rows={filteredRows} />
@@ -198,11 +201,11 @@ const styles = StyleSheet.create({
198
201
  alignItems: 'center',
199
202
  paddingHorizontal: 16,
200
203
  paddingVertical: 18,
201
- backgroundColor: '#8AB6E8',
204
+ backgroundColor: '#4E79A7',
202
205
  borderBottomWidth: 1,
203
- borderColor: '#8AB6E8',
206
+ borderColor: '#4E79A7',
204
207
  },
205
- backIcon: { fontSize: 28, color: '#fff', fontWeight: '300' },
208
+ backIcon: { fontSize: 28, color: '#fff', fontWeight: '700' },
206
209
  headerTitle: { fontSize: 19, fontWeight: '700', color: '#fff', flex: 1, textAlign: 'center' },
207
210
 
208
211
  filterBar: {