@ledvance/group-ui-biz-bundle 1.0.140 → 1.0.142
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/IconSelect.tsx +92 -29
- package/src/modules/energyConsumption/EnergyConsumptionActions.ts +42 -16
- package/src/modules/energyConsumption/EnergyConsumptionCard.tsx +3 -3
- package/src/modules/energyConsumption/EnergyConsumptionChart/ChartSection.tsx +103 -15
- package/src/modules/energyConsumption/EnergyConsumptionChart/LandscapeView.tsx +1 -0
- package/src/modules/energyConsumption/EnergyConsumptionChart/PortraitView.tsx +3 -27
- package/src/modules/energyConsumption/EnergyConsumptionChart/styles.ts +13 -4
- package/src/modules/energyConsumption/EnergyConsumptionChart/useEnergyData.ts +28 -12
- package/src/modules/energyConsumption/EnergyConsumptionChart.tsx +4 -0
- package/src/modules/energyConsumption/EnergyConsumptionDetail.tsx +41 -31
- package/src/modules/energyConsumption/EnergyConsumptionPage.tsx +52 -3
- package/src/modules/energyConsumption/component/DateSelectedItem.tsx +1 -1
- package/src/modules/energyConsumption/component/DateSwitch.tsx +10 -8
- package/src/modules/energyConsumption/component/DateTypeItem.tsx +1 -1
- package/src/modules/energyConsumption/component/EnergyModal.tsx +2 -2
- package/src/modules/energyConsumption/component/NewBarChart.tsx +221 -153
- package/src/modules/energyConsumption/component/Overview.tsx +1 -1
- package/src/modules/flags/FlagInfo.tsx +1204 -1054
- package/src/modules/flags/FlagItem.tsx +1 -2
- package/src/modules/flags/FlagPage.tsx +19 -15
- package/src/modules/mood_new/MoodItem.tsx +0 -1
|
@@ -46,7 +46,6 @@ const FlagItem = (props: RecommendMoodItemProps) => {
|
|
|
46
46
|
height: cx(45),
|
|
47
47
|
marginTop: cx(-5),
|
|
48
48
|
marginBottom: cx(-10),
|
|
49
|
-
fontWeight: 'bold',
|
|
50
49
|
},
|
|
51
50
|
gradientItem: {
|
|
52
51
|
alignItems: 'center',
|
|
@@ -60,7 +59,7 @@ const FlagItem = (props: RecommendMoodItemProps) => {
|
|
|
60
59
|
<Card
|
|
61
60
|
style={[styles.card, props.style]}
|
|
62
61
|
onPress={props.onPress}>
|
|
63
|
-
<View>
|
|
62
|
+
<View accessibilityLabel={'FlagItem'} accessibilityHint={`${props.title}`}>
|
|
64
63
|
<Spacer height={cx(16)} />
|
|
65
64
|
<View style={styles.headline}>
|
|
66
65
|
<View style={{ flexDirection: 'row', flex: 1, paddingRight: cx(5), justifyContent: 'flex-start' }}>
|
|
@@ -158,22 +158,26 @@ const FlagPage = (props: { theme?: ThemeType }) => {
|
|
|
158
158
|
placeholder={I18n.getLang('country_selection_textfield_headline_search')}
|
|
159
159
|
style={{ marginHorizontal: cx(24), flex: 1 }}
|
|
160
160
|
/>
|
|
161
|
-
<TouchableOpacity
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
161
|
+
<TouchableOpacity
|
|
162
|
+
style={{ paddingRight: cx(24) }}
|
|
163
|
+
accessibilityLabel={'RefreshButton'}
|
|
164
|
+
accessibilityHint={'RefreshButton'}
|
|
165
|
+
onPress={() => {
|
|
166
|
+
showDialog({
|
|
167
|
+
method: 'confirm',
|
|
168
|
+
title: I18n.getLang('flag_resetbutton'),
|
|
169
|
+
subTitle: I18n.getLang('flag_resetdescription'),
|
|
170
|
+
onConfirm: async (_, { close }) => {
|
|
171
|
+
close()
|
|
172
|
+
state.loading = true
|
|
173
|
+
await getRemoteFlagInfo(true)
|
|
174
|
+
state.loading = false
|
|
175
|
+
}
|
|
176
|
+
})
|
|
177
|
+
}}
|
|
175
178
|
>
|
|
176
|
-
<Image source={{uri: res.ic_refresh
|
|
179
|
+
<Image source={{ uri: res.ic_refresh }}
|
|
180
|
+
style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }}/>
|
|
177
181
|
</TouchableOpacity>
|
|
178
182
|
</View>
|
|
179
183
|
<FlatList
|