@ledvance/group-ui-biz-bundle 1.0.144 → 1.0.146
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 +1 -1
- package/src/modules/biorhythm/BiorhythmPage.tsx +11 -10
- package/src/modules/energyConsumption/EnergyConsumptionChart/ChartSection.tsx +14 -14
- package/src/modules/energyConsumption/EnergyConsumptionChart/LandscapeView.tsx +1 -1
- package/src/modules/energyConsumption/EnergyConsumptionChart/styles.ts +5 -3
- package/src/modules/energyConsumption/component/NewBarChart.tsx +0 -2
- package/src/modules/overchargeSwitch/OverchargeSwitchPage.tsx +1 -0
- package/src/modules/sleepWakeUp/SleepWakeUpPage.tsx +1 -1
- package/src/modules/timeSchedule/TimeSchedulePage.tsx +1 -1
package/package.json
CHANGED
|
@@ -593,16 +593,17 @@ const BiorhythmPage = (props: { theme?: ThemeType }) => {
|
|
|
593
593
|
{setTimer(item?.name)}
|
|
594
594
|
</Text>
|
|
595
595
|
</View>
|
|
596
|
-
<View
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
596
|
+
<View style={{ width: '100%', paddingHorizontal: cx(20), }}>
|
|
597
|
+
<View
|
|
598
|
+
style={{
|
|
599
|
+
width: '100%',
|
|
600
|
+
height: cx(24),
|
|
601
|
+
backgroundColor: bgColor,
|
|
602
|
+
marginTop: cx(5),
|
|
603
|
+
marginBottom: cx(24),
|
|
604
|
+
borderRadius: cx(8),
|
|
605
|
+
}}/>
|
|
606
|
+
</View>
|
|
606
607
|
</View>
|
|
607
608
|
</TouchableOpacity>
|
|
608
609
|
</View>
|
|
@@ -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
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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}/>
|
|
@@ -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(
|
|
38
|
-
paddingHorizontal: cx(
|
|
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),
|
|
@@ -82,7 +83,8 @@ export const getStyles = (theme: ThemeType | undefined) => StyleSheet.create({
|
|
|
82
83
|
justifyContent: 'flex-end',
|
|
83
84
|
// marginHorizontal: cx(24),
|
|
84
85
|
marginTop: cx(15),
|
|
85
|
-
marginBottom: cx(-15)
|
|
86
|
+
marginBottom: cx(-15),
|
|
87
|
+
zIndex: 9999
|
|
86
88
|
},
|
|
87
89
|
downloadIcon: {
|
|
88
90
|
width: cx(24),
|
|
@@ -42,6 +42,7 @@ const OverchargeSwitchPage = (props: { theme?: ThemeType }) => {
|
|
|
42
42
|
|
|
43
43
|
return (<Page
|
|
44
44
|
backText={uaGroupInfo.name}
|
|
45
|
+
accessibilityHint={I18n.getLang('switch_overcharge_headline_text')}
|
|
45
46
|
loading={state.loading}>
|
|
46
47
|
<Spacer height={cx(24)}/>
|
|
47
48
|
<Card style={{marginHorizontal: cx(24)}}>
|
|
@@ -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(
|
|
438
|
+
<Spacer height={cx(50)} />
|
|
439
439
|
<Image
|
|
440
440
|
style={styles.emptyImage}
|
|
441
441
|
source={{ uri: res.schedule_empty}}
|
|
@@ -163,7 +163,7 @@ const TimeSchedulePage = (props: { theme?: ThemeType }) => {
|
|
|
163
163
|
text={I18n.getLang('motion_detection_time_schedule_notifications_warning_text')}
|
|
164
164
|
icon={res.ic_warning_amber}
|
|
165
165
|
style={{ marginHorizontal: cx(24) }}
|
|
166
|
-
textStyle={{ color:
|
|
166
|
+
textStyle={{ color: '#FF9500', fontSize: cx(12) }}
|
|
167
167
|
iconStyle={{ tintColor: props.theme?.global.warning }}
|
|
168
168
|
/>
|
|
169
169
|
)}
|