@ledvance/ui-biz-bundle 1.0.4 → 1.0.6
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,12 +4,13 @@
|
|
|
4
4
|
"name": "@ledvance/ui-biz-bundle",
|
|
5
5
|
"pid": [],
|
|
6
6
|
"uiid": "",
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.6",
|
|
8
8
|
"scripts": {},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@ledvance/base": "^1.
|
|
10
|
+
"@ledvance/base": "^1.1.17",
|
|
11
11
|
"@reduxjs/toolkit": "^1.8.6",
|
|
12
12
|
"@tuya/tuya-panel-api": "^1.12.0",
|
|
13
|
+
"@tuya/tuya-panel-lamp-sdk": "^1.14.1",
|
|
13
14
|
"ahooks": "^2.x",
|
|
14
15
|
"buffer": "^6.0.3",
|
|
15
16
|
"dayjs": "^1.11.5",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
|
+
|
|
4
|
+
const ldvStyles = StyleSheet.create({
|
|
5
|
+
shadow: {
|
|
6
|
+
shadowColor: '#000000',
|
|
7
|
+
shadowOpacity: 0.2,
|
|
8
|
+
shadowRadius: 8,
|
|
9
|
+
elevation:8,
|
|
10
|
+
shadowOffset: {
|
|
11
|
+
width: 0,
|
|
12
|
+
height: 4,
|
|
13
|
+
},
|
|
14
|
+
backgroundColor: '#fff',
|
|
15
|
+
borderRadius: 8,
|
|
16
|
+
},
|
|
17
|
+
})
|
|
18
|
+
|
|
19
|
+
export default ldvStyles;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useCallback, useEffect } from 'react'
|
|
2
2
|
import I18n from '@ledvance/base/src/i18n'
|
|
3
|
-
import { getRemoteSceneList } from '../mood/
|
|
3
|
+
import { getRemoteSceneList } from '../mood/MoodAction'
|
|
4
4
|
import { useDeviceInfo } from '@ledvance/base/src/models/modules/NativePropsSlice'
|
|
5
5
|
import { useReactive } from 'ahooks'
|
|
6
6
|
import { ScenePageUIState, SceneUIState } from '../mood/SceneInfo'
|
|
7
|
-
import res from '@res'
|
|
7
|
+
import res from '@ledvance/base/src/res'
|
|
8
8
|
import { FlatList, StyleSheet, View } from 'react-native'
|
|
9
9
|
import Spacer from '@ledvance/base/src/components/Spacer'
|
|
10
10
|
import Tag from '@ledvance/base/src/components/Tag'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useEffect } from 'react'
|
|
2
2
|
import { StyleSheet, View } from 'react-native'
|
|
3
|
-
import ldvStyles from 'config/ldvConfig'
|
|
3
|
+
import ldvStyles from '../../config/ldvConfig'
|
|
4
4
|
import LdvSwitch from '@ledvance/base/src/components/ldvSwitch'
|
|
5
5
|
import I18n from '@ledvance/base/src/i18n'
|
|
6
6
|
import LdvColorSlider from '@ledvance/base/src/components/ldvColorSlider'
|