@ledvance/ui-biz-bundle 1.0.59 → 1.0.60

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/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.0.59",
7
+ "version": "1.0.60",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -135,6 +135,10 @@ const BiorhythmEditPage = () => {
135
135
  close()
136
136
  onDeleteBtnClick()
137
137
  },
138
+ motionConfig:{
139
+ hideDuration: 0,
140
+ showDuration: 100
141
+ }
138
142
  })
139
143
  }, [])
140
144
 
@@ -149,6 +153,10 @@ const BiorhythmEditPage = () => {
149
153
  close()
150
154
  navigation.goBack()
151
155
  },
156
+ motionConfig:{
157
+ hideDuration: 0,
158
+ showDuration: 100
159
+ }
152
160
  })
153
161
  }, [])
154
162
 
@@ -213,6 +213,10 @@ const BiorhythmPage = () => {
213
213
  state.flag = Symbol()
214
214
  close()
215
215
  },
216
+ motionConfig:{
217
+ hideDuration: 0,
218
+ showDuration: 100
219
+ }
216
220
  })
217
221
  }, [sleepList, wakeUpList])
218
222
 
@@ -604,7 +608,10 @@ const BiorhythmPage = () => {
604
608
  style={{flex: 1}}
605
609
  onPress={() => {
606
610
  const editPageParams: BiorhythmEditPageParams = {
607
- planData: _.cloneDeep(item),
611
+ planData: {
612
+ ...item,
613
+ name: setTimer(item?.name)
614
+ },
608
615
  isAdd: false,
609
616
  onPlanEdited,
610
617
  onPlanDelete,
@@ -94,6 +94,8 @@ const DeviceState = (props: DeviceStateProps) => {
94
94
  isSupportTemperature={!!props.isSupportTemperature}
95
95
  isColorMode={props.singleActions.isColor}
96
96
  setIsColorMode={setWorkModeStateAction}
97
+ reserveSV={true}
98
+ minBrightness={0}
97
99
  h={props.singleActions.h}
98
100
  s={props.singleActions.s}
99
101
  v={props.singleActions.v}
@@ -59,6 +59,7 @@ const SleepWakeUpPage = () => {
59
59
  if (mode === 'add' && isSleep && state.sleepScheduleList.length === MAX_SCHEDULE) return
60
60
  if (mode === 'add' && !isSleep && state.wakeUpScheduleList.length === MAX_SCHEDULE) return
61
61
  navigateToEdit({
62
+ ...props,
62
63
  mode,
63
64
  dps: props.dps,
64
65
  isSleep,