@dhiraj0720/report1chart 2.8.2 → 2.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhiraj0720/report1chart",
3
- "version": "2.8.2",
3
+ "version": "2.8.4",
4
4
  "main": "src/index.jsx",
5
5
  "scripts": {
6
6
  "test": "echo 'No tests'"
@@ -38,7 +38,7 @@ const FrozenTableReport2A = ({ rows = [], isFullscreen = false }) => {
38
38
  }
39
39
 
40
40
  // Frozen column slightly wider for better readability
41
- const frozenColumnWidth = isFullscreen ? 160 : 130;
41
+ const frozenColumnWidth = isFullscreen ? 160 : 80;
42
42
 
43
43
  return (
44
44
  <View style={styles.container}>
@@ -116,7 +116,7 @@ const styles = StyleSheet.create({
116
116
  flexDirection: 'row',
117
117
  },
118
118
  cell: {
119
- minWidth: 110, // Minimum width for small content
119
+ minWidth: 70, // Minimum width for small content
120
120
  paddingHorizontal: 11, // +5 left + +5 right = +10 total
121
121
  paddingVertical: 12,
122
122
  justifyContent: 'center',
@@ -7,7 +7,7 @@ const SvgLineChartCompact = ({ data }) => {
7
7
  if (!data?.series || !data.labels?.length) return null;
8
8
 
9
9
  const height = 260;
10
- const paddingLeft = 70;
10
+ const paddingLeft = 30;
11
11
  const paddingRight = 30;
12
12
  const paddingTop = 30;
13
13
  const paddingBottom = 60;
@@ -189,12 +189,12 @@ const styles = StyleSheet.create({
189
189
 
190
190
  fullScreenBtn: {
191
191
  alignSelf: 'flex-end',
192
- marginRight: 12,
193
- marginVertical: 12,
194
- paddingHorizontal: 12,
192
+ marginRight: 8,
193
+ marginVertical: 6,
194
+ paddingHorizontal: 6,
195
195
  paddingVertical: 6,
196
196
  },
197
- fullScreenText: { fontSize: 16, fontWeight: '700', color: '#000' },
197
+ fullScreenText: { fontSize: 14, fontWeight: '700', color: '#000' },
198
198
 
199
199
  content: { flex: 1, padding: 12 },
200
200