@ledvance/group-ui-biz-bundle 1.0.141 → 1.0.143

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.
Files changed (49) hide show
  1. package/package.json +1 -1
  2. package/src/modules/biorhythm/BiorhythmDetailPage.tsx +8 -2
  3. package/src/modules/biorhythm/BiorhythmPage.tsx +4 -4
  4. package/src/modules/biorhythm/IconSelect.tsx +92 -29
  5. package/src/modules/diyScene/DiySceneActions.ts +3 -0
  6. package/src/modules/diyScene/DiySceneEditorPage.tsx +1 -1
  7. package/src/modules/energyConsumption/EnergyConsumptionActions.ts +1 -1
  8. package/src/modules/energyConsumption/EnergyConsumptionChart/ChartSection.tsx +61 -69
  9. package/src/modules/energyConsumption/EnergyConsumptionChart/LandscapeView.tsx +1 -0
  10. package/src/modules/energyConsumption/EnergyConsumptionChart/styles.ts +8 -4
  11. package/src/modules/energyConsumption/EnergyConsumptionChart/useEnergyData.ts +4 -2
  12. package/src/modules/energyConsumption/component/DateSwitch.tsx +10 -8
  13. package/src/modules/energyConsumption/component/NewBarChart.tsx +23 -3
  14. package/src/modules/fixedTimeForPlug/FixedTimeForPlugDetailPage.tsx +1 -1
  15. package/src/modules/fixedTimeForPlug/ItemCard.tsx +2 -2
  16. package/src/modules/fixedTimeForPlug/Summary.tsx +1 -1
  17. package/src/modules/fixedTimingForLight/FixedTimingForLightDetailPage.tsx +1 -1
  18. package/src/modules/fixedTimingForLight/ItemCard.tsx +2 -2
  19. package/src/modules/fixedTimingForLight/Summary.tsx +1 -1
  20. package/src/modules/flags/FlagEditPage.tsx +2 -2
  21. package/src/modules/flags/FlagInfo.tsx +1180 -1174
  22. package/src/modules/flags/FlagItem.tsx +1 -1
  23. package/src/modules/lightMode/LightModePage.tsx +1 -1
  24. package/src/modules/mood/DynamicMoodEditorPage.tsx +2 -2
  25. package/src/modules/mood/MoodItem.tsx +2 -2
  26. package/src/modules/mood/RecommendMoodItem.tsx +1 -1
  27. package/src/modules/mood/StaticMoodEditorPage.tsx +2 -2
  28. package/src/modules/mood_new/DynamicMoodEditorPage.tsx +2 -2
  29. package/src/modules/mood_new/MixDynamicMoodEditor.tsx +2 -2
  30. package/src/modules/mood_new/MoodItem.tsx +2 -2
  31. package/src/modules/mood_new/RecommendMoodItem.tsx +1 -1
  32. package/src/modules/mood_new/StaticMoodEditorPage.tsx +1 -1
  33. package/src/modules/music/MusicPage.tsx +1 -1
  34. package/src/modules/overchargeSwitch/OverchargeSwitchPage.tsx +1 -1
  35. package/src/modules/powerOnBehavior/LightBehaviorPage.tsx +2 -2
  36. package/src/modules/randomTimeForPlug/ItemCard.tsx +2 -2
  37. package/src/modules/randomTimeForPlug/RandomTimeForPlugDetailPage.tsx +1 -1
  38. package/src/modules/randomTimeForPlug/Summary.tsx +1 -1
  39. package/src/modules/randomTimingForLight/ItemCard.tsx +2 -2
  40. package/src/modules/randomTimingForLight/RandomTimingForLightDetailPage.tsx +1 -1
  41. package/src/modules/randomTimingForLight/Summary.tsx +1 -1
  42. package/src/modules/remoteSwitch/RemoteSwitchPage.tsx +1 -1
  43. package/src/modules/select/SelectPage.tsx +3 -3
  44. package/src/modules/sleepWakeUp/SleepWakeUpDetailPage.tsx +1 -1
  45. package/src/modules/sleepWakeUp/SleepWakeUpPage.tsx +4 -4
  46. package/src/modules/timeSchedule/TimeScheduleDetailPage.tsx +1 -1
  47. package/src/modules/timeSchedule/components/ScheduleCard.tsx +3 -3
  48. package/src/modules/timeSchedule/components/Summary.tsx +1 -1
  49. package/src/modules/timer/TimerPage.tsx +3 -3
@@ -37,7 +37,7 @@ const FlagItem = (props: RecommendMoodItemProps) => {
37
37
  headText: {
38
38
  color: props.theme?.global.fontColor,
39
39
  fontSize: cx(16),
40
- fontFamily: 'helvetica_neue_lt_std_bd',
40
+ // fontFamily: 'helvetica_neue_lt_std_bd',
41
41
  lineHeight: cx(20),
42
42
  flex: 1
43
43
  },
@@ -82,7 +82,7 @@ const LightModePage = (props: { theme?: ThemeType }) => {
82
82
  color: props.theme?.global.fontColor,
83
83
  fontSize: cx(14),
84
84
  fontWeight: 'bold',
85
- fontFamily: 'helvetica_neue_lt_std_bd',
85
+ // fontFamily: 'helvetica_neue_lt_std_bd',
86
86
  },
87
87
  })
88
88
 
@@ -468,7 +468,7 @@ const styles = StyleSheet.create({
468
468
  light: {
469
469
  color: '#000',
470
470
  fontSize: cx(18),
471
- fontFamily: 'helvetica_neue_lt_std_bd',
471
+ // fontFamily: 'helvetica_neue_lt_std_bd',
472
472
  },
473
473
  transitionMode: {
474
474
  marginHorizontal: cx(16),
@@ -536,7 +536,7 @@ const styles = StyleSheet.create({
536
536
  deleteBtnText: {
537
537
  color: '#fff',
538
538
  fontSize: cx(16),
539
- fontFamily: 'helvetica_neue_lt_std_bd',
539
+ // fontFamily: 'helvetica_neue_lt_std_bd',
540
540
  },
541
541
  })
542
542
  export default DynamicMoodEditorPage
@@ -85,7 +85,7 @@ const styles = StyleSheet.create({
85
85
  flex: 1,
86
86
  color: '#000',
87
87
  fontSize: cx(16),
88
- fontFamily: 'helvetica_neue_lt_std_bd',
88
+ // fontFamily: 'helvetica_neue_lt_std_bd',
89
89
  lineHeight: cx(20),
90
90
  },
91
91
  gradientItem: {
@@ -108,7 +108,7 @@ const styles = StyleSheet.create({
108
108
  color: '#000000DD',
109
109
  fontSize: cx(10),
110
110
  textAlignVertical: 'center',
111
- fontFamily: 'helvetica_neue_lt_std_roman',
111
+ // fontFamily: 'helvetica_neue_lt_std_roman',
112
112
  lineHeight: cx(16),
113
113
  },
114
114
  })
@@ -66,7 +66,7 @@ const styles = StyleSheet.create({
66
66
  title: {
67
67
  color: '#000',
68
68
  fontSize: cx(16),
69
- fontFamily: 'helvetica_neue_lt_std_bd',
69
+ // fontFamily: 'helvetica_neue_lt_std_bd',
70
70
  },
71
71
  lineStyle: {
72
72
  alignItems: 'center',
@@ -237,7 +237,7 @@ const styles = StyleSheet.create({
237
237
  light: {
238
238
  color: '#000',
239
239
  fontSize: cx(18),
240
- fontFamily: 'helvetica_neue_lt_std_bd',
240
+ // fontFamily: 'helvetica_neue_lt_std_bd',
241
241
  },
242
242
  preview: {
243
243
  width: cx(20),
@@ -254,7 +254,7 @@ const styles = StyleSheet.create({
254
254
  deleteBtnText: {
255
255
  color: '#fff',
256
256
  fontSize: cx(16),
257
- fontFamily: 'helvetica_neue_lt_std_bd',
257
+ // fontFamily: 'helvetica_neue_lt_std_bd',
258
258
  },
259
259
  })
260
260
 
@@ -159,7 +159,7 @@ const DynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
159
159
  light: {
160
160
  color: props.theme?.global.fontColor,
161
161
  fontSize: cx(18),
162
- fontFamily: 'helvetica_neue_lt_std_bd',
162
+ // fontFamily: 'helvetica_neue_lt_std_bd',
163
163
  },
164
164
  transitionMode: {
165
165
  marginHorizontal: cx(16),
@@ -225,7 +225,7 @@ const DynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
225
225
  deleteBtnText: {
226
226
  color: props.theme?.button.fontColor,
227
227
  fontSize: cx(16),
228
- fontFamily: 'helvetica_neue_lt_std_bd',
228
+ // fontFamily: 'helvetica_neue_lt_std_bd',
229
229
  },
230
230
  })
231
231
 
@@ -167,7 +167,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
167
167
  light: {
168
168
  color: props.theme?.global.fontColor,
169
169
  fontSize: cx(18),
170
- fontFamily: 'helvetica_neue_lt_std_bd',
170
+ // fontFamily: 'helvetica_neue_lt_std_bd',
171
171
  },
172
172
  transitionMode: {
173
173
  marginHorizontal: cx(16),
@@ -233,7 +233,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
233
233
  deleteBtnText: {
234
234
  color: props.theme?.button.fontColor,
235
235
  fontSize: cx(16),
236
- fontFamily: 'helvetica_neue_lt_std_bd',
236
+ // fontFamily: 'helvetica_neue_lt_std_bd',
237
237
  },
238
238
  })
239
239
 
@@ -56,7 +56,7 @@ const MoodItem = (props: MoodItemProps) => {
56
56
  flex: 1,
57
57
  color: props.theme?.global.fontColor,
58
58
  fontSize: cx(16),
59
- fontFamily: 'helvetica_neue_lt_std_bd',
59
+ // fontFamily: 'helvetica_neue_lt_std_bd',
60
60
  lineHeight: cx(20),
61
61
  },
62
62
  checkbox: {
@@ -79,7 +79,7 @@ const MoodItem = (props: MoodItemProps) => {
79
79
  color: props.theme?.tag.fontColor,
80
80
  fontSize: cx(10),
81
81
  textAlignVertical: 'center',
82
- fontFamily: 'helvetica_neue_lt_std_roman',
82
+ // fontFamily: 'helvetica_neue_lt_std_roman',
83
83
  lineHeight: cx(16),
84
84
  },
85
85
  });
@@ -49,7 +49,7 @@ const RecommendMixMoodItem = (props: RecommendMixMoodItemProps) => {
49
49
  title: {
50
50
  color: props.theme?.global.fontColor,
51
51
  fontSize: cx(16),
52
- fontFamily: 'helvetica_neue_lt_std_bd',
52
+ // fontFamily: 'helvetica_neue_lt_std_bd',
53
53
  },
54
54
  lineStyle: {
55
55
  alignItems: 'center',
@@ -150,7 +150,7 @@ const StaticMoodEditorPage = (props: { theme?: ThemeType }) => {
150
150
  deleteBtnText: {
151
151
  color: props.theme?.button.fontColor,
152
152
  fontSize: cx(16),
153
- fontFamily: 'helvetica_neue_lt_std_bd',
153
+ // fontFamily: 'helvetica_neue_lt_std_bd',
154
154
  },
155
155
  });
156
156
 
@@ -114,7 +114,7 @@ const MusicPage = (props: { theme?: ThemeType }) => {
114
114
  tiptext: {
115
115
  color: props.theme?.global.fontColor,
116
116
  fontSize: cx(14),
117
- lineHeight: cx(14),
117
+ // lineHeight: cx(14),
118
118
  }
119
119
  })
120
120
 
@@ -34,7 +34,7 @@ const OverchargeSwitchPage = (props: { theme?: ThemeType }) => {
34
34
  color: props.theme?.global.fontColor,
35
35
  fontSize: cx(16),
36
36
  fontWeight: 'bold',
37
- fontFamily: 'helvetica_neue_lt_std_bd',
37
+ // fontFamily: 'helvetica_neue_lt_std_bd',
38
38
  paddingTop: cx(16),
39
39
  paddingHorizontal: cx(16),
40
40
  },
@@ -65,7 +65,7 @@ const LightBehaviorPage = (props: { theme?: ThemeType }) => {
65
65
  marginHorizontal: cx(24),
66
66
  color: props.theme?.global.fontColor,
67
67
  fontSize: cx(14),
68
- fontFamily: 'helvetica_neue_lt_std_roman',
68
+ // fontFamily: 'helvetica_neue_lt_std_roman',
69
69
  },
70
70
  modeSelectGroup: {
71
71
  marginHorizontal: cx(24),
@@ -213,7 +213,7 @@ const LightBehaviorPage = (props: { theme?: ThemeType }) => {
213
213
  marginHorizontal: cx(8),
214
214
  color: props.theme?.global.fontColor,
215
215
  fontSize: cx(12),
216
- fontFamily: 'helvetica_neue_lt_std_roman',
216
+ // fontFamily: 'helvetica_neue_lt_std_roman',
217
217
  }}>
218
218
  {I18n.getLang('groups_settings_power_on_behavior_disturbbox_note')}
219
219
  </Text>
@@ -47,13 +47,13 @@ const ItemCard = <T, >(props: ItemCardProps<T>) => {
47
47
  color: props.theme?.global.fontColor,
48
48
  fontSize: cx(16),
49
49
  fontWeight: 'bold',
50
- fontFamily: 'helvetica_neue_lt_std_bd',
50
+ // fontFamily: 'helvetica_neue_lt_std_bd',
51
51
  },
52
52
  switchBtn: {},
53
53
  loopText: {
54
54
  color: props.theme?.global.fontColor,
55
55
  fontSize: cx(14),
56
- fontFamily: 'helvetica_neue_lt_std_roman',
56
+ // fontFamily: 'helvetica_neue_lt_std_roman',
57
57
  },
58
58
  })
59
59
  return (
@@ -114,7 +114,7 @@ const RandomTimeForPlugDetailPage = (props: { theme?: ThemeType }) => {
114
114
  color: props.theme?.global.fontColor,
115
115
  fontSize: cx(16),
116
116
  fontWeight: 'bold',
117
- fontFamily: 'helvetica_neue_lt_std_bd',
117
+ // fontFamily: 'helvetica_neue_lt_std_bd',
118
118
  },
119
119
  applyContent: {
120
120
  backgroundColor: props.theme?.container.background,
@@ -28,7 +28,7 @@ const Summary = (props: SummaryProps) => {
28
28
  color: props.theme?.global.fontColor,
29
29
  fontSize: cx(16),
30
30
  fontWeight: 'bold',
31
- fontFamily: 'helvetica_neue_lt_std_bd',
31
+ // fontFamily: 'helvetica_neue_lt_std_bd',
32
32
  },
33
33
  summaryContainer: {
34
34
  flex: 1,
@@ -46,13 +46,13 @@ const ItemCard = <T, >(props: ItemCardProps<T>) => {
46
46
  color: props.theme?.global.fontColor,
47
47
  fontSize: cx(16),
48
48
  fontWeight: 'bold',
49
- fontFamily: 'helvetica_neue_lt_std_bd',
49
+ // fontFamily: 'helvetica_neue_lt_std_bd',
50
50
  },
51
51
  switchBtn: {},
52
52
  loopText: {
53
53
  color: props.theme?.global.fontColor,
54
54
  fontSize: cx(14),
55
- fontFamily: 'helvetica_neue_lt_std_roman',
55
+ // fontFamily: 'helvetica_neue_lt_std_roman',
56
56
  },
57
57
  })
58
58
 
@@ -146,7 +146,7 @@ const RandomTimingForLightDetailPage = (props: { theme?: ThemeType }) => {
146
146
  color: props.theme?.global.fontColor,
147
147
  fontSize: cx(16),
148
148
  fontWeight: 'bold',
149
- fontFamily: 'helvetica_neue_lt_std_bd',
149
+ // fontFamily: 'helvetica_neue_lt_std_bd',
150
150
  },
151
151
  applyContent: {
152
152
  backgroundColor: props.theme?.container.background,
@@ -28,7 +28,7 @@ const Summary = (props: SummaryProps) => {
28
28
  color: props.theme?.global.fontColor,
29
29
  fontSize: cx(16),
30
30
  fontWeight: 'bold',
31
- fontFamily: 'helvetica_neue_lt_std_bd',
31
+ // fontFamily: 'helvetica_neue_lt_std_bd',
32
32
  },
33
33
  summaryContainer: {
34
34
  flex: 1,
@@ -37,7 +37,7 @@ const RemoteSwitchPage = (props: { theme?: ThemeType }) => {
37
37
  title: {
38
38
  color: props.theme?.global.fontColor,
39
39
  fontSize: cx(14),
40
- fontFamily: 'helvetica_neue_lt_std_bd',
40
+ // fontFamily: 'helvetica_neue_lt_std_bd',
41
41
  paddingVertical: cx(16),
42
42
  },
43
43
  shadow: {
@@ -48,7 +48,7 @@ const SelectPage = (props: { theme?: ThemeType }) => {
48
48
  marginStart: cx(16),
49
49
  color: props.theme?.button.cancel,
50
50
  fontSize: cx(17),
51
- fontFamily: 'helvetica_neue_lt_std_roman',
51
+ // fontFamily: 'helvetica_neue_lt_std_roman',
52
52
  },
53
53
  title: {
54
54
  width: '100%',
@@ -57,7 +57,7 @@ const SelectPage = (props: { theme?: ThemeType }) => {
57
57
  textAlign: 'center',
58
58
  color: props.theme?.global.fontColor,
59
59
  fontSize: cx(17),
60
- fontFamily: 'helvetica_neue_lt_std_bd',
60
+ // fontFamily: 'helvetica_neue_lt_std_bd',
61
61
  },
62
62
  card: {
63
63
  backgroundColor: props.theme?.card.background,
@@ -73,7 +73,7 @@ const SelectPage = (props: { theme?: ThemeType }) => {
73
73
  marginStart: cx(13),
74
74
  color: props.theme?.global.fontColor,
75
75
  fontSize: cx(17),
76
- fontFamily: 'helvetica_neue_lt_std_roman',
76
+ // fontFamily: 'helvetica_neue_lt_std_roman',
77
77
  },
78
78
  itemLine: {
79
79
  height: cx(1),
@@ -198,7 +198,7 @@ const SleepWakeUpDetailPage = (props: {theme?: ThemeType}) => {
198
198
  color: props.theme?.global.fontColor,
199
199
  fontSize: cx(16),
200
200
  fontWeight: 'bold',
201
- fontFamily: 'helvetica_neue_lt_std_bd',
201
+ // fontFamily: 'helvetica_neue_lt_std_bd',
202
202
  marginBottom: cx(10),
203
203
  },
204
204
  skillListItem: {
@@ -282,7 +282,7 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
282
282
  fontSize: cx(14),
283
283
  lineHeight: cx(20),
284
284
  textAlign: 'center',
285
- fontFamily: 'helvetica_neue_lt_std_roman',
285
+ // fontFamily: 'helvetica_neue_lt_std_roman',
286
286
  color: props.theme?.global.fontColor
287
287
  },
288
288
  emptyBtnView: {
@@ -317,13 +317,13 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
317
317
  color: props.theme?.global.fontColor,
318
318
  fontSize: cx(16),
319
319
  fontWeight: 'bold',
320
- fontFamily: 'helvetica_neue_lt_std_bd',
320
+ // fontFamily: 'helvetica_neue_lt_std_bd',
321
321
  },
322
322
  switchBtn: {},
323
323
  loopText: {
324
324
  color: props.theme?.global.fontColor,
325
325
  fontSize: cx(14),
326
- fontFamily: 'helvetica_neue_lt_std_roman',
326
+ // fontFamily: 'helvetica_neue_lt_std_roman',
327
327
  height: cx(20)
328
328
  },
329
329
  tag: {
@@ -336,7 +336,7 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
336
336
  tagTitle: {
337
337
  fontSize: cx(10),
338
338
  textAlign: 'center',
339
- fontFamily: 'PingFangSC-Medium',
339
+ // fontFamily: 'PingFangSC-Medium',
340
340
  color: props.theme?.tag.fontColor
341
341
  },
342
342
  })
@@ -285,7 +285,7 @@ const TimeScheduleDetailPage = (props: { theme?: ThemeType }) => {
285
285
  color: props.theme?.global.fontColor,
286
286
  fontSize: cx(16),
287
287
  fontWeight: 'bold',
288
- fontFamily: 'helvetica_neue_lt_std_bd',
288
+ // fontFamily: 'helvetica_neue_lt_std_bd',
289
289
  },
290
290
  applyContent: {
291
291
  backgroundColor: props.theme?.container.background,
@@ -43,19 +43,19 @@ const ScheduleCard = (props: ScheduleCardProps) => {
43
43
  color: props.theme?.global.fontColor,
44
44
  marginBottom: cx(5),
45
45
  fontSize: 16,
46
- fontFamily: 'helvetica_neue_lt_std_bd',
46
+ // fontFamily: 'helvetica_neue_lt_std_bd',
47
47
  fontWeight: 'bold',
48
48
  },
49
49
  loop: {
50
50
  color: props.theme?.global.fontColor,
51
51
  fontSize: cx(14),
52
- fontFamily: 'helvetica_neue_lt_std_bd',
52
+ // fontFamily: 'helvetica_neue_lt_std_bd',
53
53
  marginTop: cx(8),
54
54
  },
55
55
  name: {
56
56
  color: props.theme?.global.fontColor,
57
57
  fontSize: cx(14),
58
- fontFamily: 'helvetica_neue_lt_std_bd',
58
+ // fontFamily: 'helvetica_neue_lt_std_bd',
59
59
  marginTop: cx(8),
60
60
  },
61
61
  switchContainer: {
@@ -28,7 +28,7 @@ const Summary = (props: SummaryProps) => {
28
28
  color: props.theme?.global.fontColor,
29
29
  fontSize: cx(16),
30
30
  fontWeight: 'bold',
31
- fontFamily: 'helvetica_neue_lt_std_bd',
31
+ // fontFamily: 'helvetica_neue_lt_std_bd',
32
32
  },
33
33
  summaryContainer: {
34
34
  flex: 1,
@@ -62,7 +62,7 @@ const TimerPage = (props: { theme?: ThemeType }) => {
62
62
  color: props.theme?.global.fontColor,
63
63
  fontSize: cx(16),
64
64
  fontWeight: 'bold',
65
- fontFamily: 'helvetica_neue_lt_std_bd',
65
+ // fontFamily: 'helvetica_neue_lt_std_bd',
66
66
  },
67
67
  taskList: {
68
68
  backgroundColor: props.theme?.container.background,
@@ -134,7 +134,7 @@ const TimerPage = (props: { theme?: ThemeType }) => {
134
134
  color: props.theme?.global.secondFontColor,
135
135
  fontSize: cx(24),
136
136
  fontWeight: 'bold',
137
- fontFamily: 'helvetica_neue_lt_std_bd',
137
+ // fontFamily: 'helvetica_neue_lt_std_bd',
138
138
  },
139
139
  activeTaskDesc: {
140
140
  flex: 1,
@@ -159,7 +159,7 @@ const TimerPage = (props: { theme?: ThemeType }) => {
159
159
  fontSize: cx(22),
160
160
  textAlign: 'center',
161
161
  fontWeight: 'bold',
162
- fontFamily: 'helvetica_neue_lt_std_bd',
162
+ // fontFamily: 'helvetica_neue_lt_std_bd',
163
163
  },
164
164
  })
165
165