@ledvance/ui-biz-bundle 1.1.92 → 1.1.93

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.1.92",
7
+ "version": "1.1.93",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -2,7 +2,7 @@ import { useNavigation, useRoute } from '@react-navigation/native'
2
2
  import React, { useEffect, useState } from 'react'
3
3
  import { Image, ScrollView, Text, TouchableOpacity, View } from 'react-native'
4
4
  import { Utils } from 'tuya-panel-kit'
5
- import iconList from './iconListData'
5
+ import iconList from '@ledvance/ui-biz-bundle/src/newModules/biorhythm/iconListData'
6
6
  import LDVTopBar from '@ledvance/base/src/components/ldvTopBar'
7
7
  import I18n from '@ledvance/base/src/i18n'
8
8
 
@@ -10,6 +10,7 @@ const cx = Utils.RatioUtils.convertX
10
10
  const { withTheme } = Utils.ThemeUtils
11
11
 
12
12
  interface SceneDetailPageParams {
13
+ backText?: string
13
14
  id: any
14
15
  setIcon: (id) => void,
15
16
  iconIdList: any
@@ -46,14 +47,14 @@ function IconSelect(props: { theme?: any }) {
46
47
  return (
47
48
  <View style={{ flex: 1, flexDirection: 'column' }}>
48
49
  <LDVTopBar
49
- title={I18n.getLang('add_new_trigger_time_system_back_text')}
50
+ title={params.backText ?? I18n.getLang('add_new_trigger_time_system_back_text')}
50
51
  onBackPress={() => {
51
52
  navigation.goBack()
52
53
  }}
53
54
  />
54
55
  <ScrollView nestedScrollEnabled={true} style={{ marginHorizontal: cx(24) }}>
55
56
  <View style={{ marginTop: cx(40), marginBottom: cx(20) }}>
56
- <Text style={{ fontSize: cx(24), color: props.theme.global.brand }}>Select an icon</Text>
57
+ <Text style={{ fontSize: cx(24), color: props.theme.global.brand }}>{I18n.getLang('add_new_trigger_time_icon_selection_headline_text')}</Text>
57
58
  </View>
58
59
  <View
59
60
  style={{ flexDirection: 'row', flex: 1, flexWrap: 'wrap', justifyContent: 'space-between', alignItems: 'flex-start' }}>