@ledvance/ui-biz-bundle 1.0.12 → 1.0.13

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.12",
7
+ "version": "1.0.13",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -164,7 +164,7 @@ const DynamicMoodEditorPage = () => {
164
164
  }}
165
165
  showError={state.mood.name.length > 32 || nameRepeat}
166
166
  tipColor={nameRepeat ? '#f00' : undefined}
167
- tipIcon={nameRepeat ? require('../../res/ic_text_field_input_error.png') : undefined}
167
+ tipIcon={nameRepeat ? res.ic_text_field_input_error : undefined}
168
168
  errorText={Strings.getLang(nameRepeat ? 'string_light_pp_field_sm_add_error1' : 'add_new_dynamic_mood_alert_text')}/>
169
169
  <Card style={styles.adjustCard}>
170
170
  <Spacer height={cx(16)}/>
@@ -219,7 +219,7 @@ const DynamicMoodEditorPage = () => {
219
219
  }}>
220
220
  <Image
221
221
  style={[styles.adjustButton, {tintColor: state.paintBucketSelected ? '#f60' : '#666'}]}
222
- source={require('../../res/ic_paint_bucket.png')}/>
222
+ source={res.ic_paint_bucket}/>
223
223
  </TouchableOpacity>
224
224
  <TouchableOpacity
225
225
  onPress={() => {
@@ -227,7 +227,7 @@ const DynamicMoodEditorPage = () => {
227
227
  }}>
228
228
  <Image
229
229
  style={[styles.adjustButton, {tintColor: state.paintBucketSelected ? '#666' : '#f60'}]}
230
- source={require('../../res/ic_colorize.png')}/>
230
+ source={res.ic_colorize}/>
231
231
  </TouchableOpacity>
232
232
  </View>
233
233
  <FlatList
@@ -260,7 +260,7 @@ const DynamicMoodEditorPage = () => {
260
260
  tintColor: state.mood.nodes.length < 3 ? '#ccc' : '#666',
261
261
  },
262
262
  ]}
263
- source={require('../../res/ic_mood_del.png')}/>
263
+ source={res.ic_mood_del}/>
264
264
  </TouchableOpacity>
265
265
  </View>
266
266
  )
@@ -160,7 +160,7 @@ const StaticMoodEditorPage = () => {
160
160
  }}
161
161
  showError={state.mood.name.length > 32 || nameRepeat}
162
162
  tipColor={nameRepeat ? '#f00' : undefined}
163
- tipIcon={nameRepeat ? require('../../res/ic_text_field_input_error.png') : undefined}
163
+ tipIcon={nameRepeat ? res.ic_text_field_input_error : undefined}
164
164
  errorText={Strings.getLang(nameRepeat ? 'string_light_pp_field_sm_add_error1' : 'add_new_dynamic_mood_alert_text')}/>
165
165
  <Card style={styles.adjustCard}>
166
166
  <Spacer height={cx(16)}/>