@ledvance/group-ui-biz-bundle 1.0.144 → 1.0.145

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
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/group-ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.0.144",
7
+ "version": "1.0.145",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -97,20 +97,20 @@ export const ChartSection = ({ isLandscape, state, actions, params, styles, them
97
97
 
98
98
  return (
99
99
  <>
100
- <View style={styles.dateControlsContainer}>
101
- <DateTypeItem
102
- style={styles.dateTypeItem}
103
- dateType={state.dateType}
104
- onDateTypeChange={actions.setDateType}
105
- />
106
- <DateSwitch
107
- style={{ flex: 1 }}
108
- date={state.date}
109
- dateType={state.dateType}
110
- headlineText={state.headlineText}
111
- onDateChange={actions.setDate}
112
- />
113
- </View>
100
+ {!isLandscape && <View style={styles.dateControlsContainer}>
101
+ <DateTypeItem
102
+ style={styles.dateTypeItem}
103
+ dateType={state.dateType}
104
+ onDateTypeChange={actions.setDateType}
105
+ />
106
+ <DateSwitch
107
+ style={{ flex: 1 }}
108
+ date={state.date}
109
+ dateType={state.dateType}
110
+ headlineText={state.headlineText}
111
+ onDateChange={actions.setDate}
112
+ />
113
+ </View>}
114
114
 
115
115
  {isDataEmpty ? (
116
116
  <EmptyDataView text={getEmptyDataTip()} theme={theme} styles={styles}/>
@@ -37,7 +37,7 @@ export const LandscapeView = ({ state, actions, params, styles, theme, screenWid
37
37
  params={params}
38
38
  styles={styles}
39
39
  theme={theme}
40
- chartHeight={screenHeight - cx(110)}
40
+ chartHeight={screenHeight - cx(30)}
41
41
  />
42
42
  </View>
43
43
  </View>
@@ -34,8 +34,8 @@ export const getStyles = (theme: ThemeType | undefined) => StyleSheet.create({
34
34
  flex: 1,
35
35
  backgroundColor: theme?.global.background,
36
36
  // width: cx(height + 20),
37
- paddingVertical: cx(30),
38
- paddingHorizontal: cx(50),
37
+ paddingVertical: cx(20),
38
+ paddingHorizontal: cx(20),
39
39
  },
40
40
  landscapeHeader: {
41
41
  flexDirection: 'row',
@@ -49,6 +49,7 @@ export const getStyles = (theme: ThemeType | undefined) => StyleSheet.create({
49
49
  },
50
50
  landscapeContent: {
51
51
  flex: 1,
52
+ marginTop: cx(-20),
52
53
  },
53
54
  normalScreenIcon: {
54
55
  width: cx(50),
@@ -183,8 +183,6 @@ const BarChartWithTouch = (props: BarChartProps) => {
183
183
  },
184
184
  grid: {
185
185
  top: '25%',
186
- right: '15%',
187
- left: '15%',
188
186
  },
189
187
  xAxis: {
190
188
  data: dataX,
@@ -435,7 +435,7 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
435
435
  keyExtractor={(item, idx) => `${item.isSleep ? 'sleep' : 'wakeUp'}_${idx}`}
436
436
  /> :
437
437
  <View style={styles.emptyListCon}>
438
- <Spacer height={cx(70)} />
438
+ <Spacer height={cx(50)} />
439
439
  <Image
440
440
  style={styles.emptyImage}
441
441
  source={{ uri: res.schedule_empty}}