@ledvance/group-ui-biz-bundle 1.0.143 → 1.0.144
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
|
@@ -228,7 +228,7 @@ const EnergyConsumptionCard = (props: EnergyConsumptionProp) => {
|
|
|
228
228
|
backText: energyText
|
|
229
229
|
} as EnergyConsumptionPageProps)}>
|
|
230
230
|
<Spacer height={cx(16)}/>
|
|
231
|
-
<View style={styles.consumedEnergyHeadline}>
|
|
231
|
+
<View accessibilityLabel={'AdvanceCard'} accessibilityHint={energyText} style={styles.consumedEnergyHeadline}>
|
|
232
232
|
<Text
|
|
233
233
|
style={styles.consumedEnergyCardTitle}>{energyText}</Text>
|
|
234
234
|
<Image source={Res.energyChart} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.icon.normal }}/>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, {useCallback, useEffect, useMemo} from "react";
|
|
2
|
-
import {FlatList, Image, StyleSheet, Text, View} from 'react-native'
|
|
2
|
+
import { FlatList, Image, Platform, StyleSheet, Text, View } from 'react-native'
|
|
3
3
|
import Page from '@ledvance/base/src/components/Page'
|
|
4
4
|
import Tag from '@ledvance/base/src/components/Tag'
|
|
5
5
|
import Spacer from '@ledvance/base/src/components/Spacer'
|
|
@@ -257,8 +257,9 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
|
|
|
257
257
|
addMoodPopover: {
|
|
258
258
|
width: cx(210),
|
|
259
259
|
height: cx(90.5),
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
position: 'absolute',
|
|
261
|
+
right: cx(60),
|
|
262
|
+
top: Platform.OS === 'android' ? cx(90) : cx(130),
|
|
262
263
|
backgroundColor: props.theme?.card.background,
|
|
263
264
|
},
|
|
264
265
|
popoverItem: {
|