@ledvance/group-ui-biz-bundle 1.0.17 → 1.0.18

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/group-ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.0.17",
7
+ "version": "1.0.18",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -215,7 +215,7 @@ const FlagEditPage = () => {
215
215
  disabled={state.mood.colors.length < 3}
216
216
  onPress={() => {
217
217
  state.mood.colors.splice(index, 1)
218
- state.currentNode = hex2Hsv(state.mood.colors[state.mood.colors.length - 1])!
218
+ state.currentNode = state.mood.colors[state.mood.colors.length - 1]
219
219
  }}>
220
220
  <Image
221
221
  style={[
@@ -1,5 +1,4 @@
1
1
  import I18n from "@ledvance/base/src/i18n";
2
- import res from "@ledvance/base/src/res";
3
2
  import { SceneNodeTransitionMode } from "../mood/SceneInfo";
4
3
 
5
4
  type HSV = {
@@ -28,6 +27,17 @@ export interface FlagUiInfo extends FlagItemInfo{
28
27
  }
29
28
 
30
29
  export const defFlagList: FlagUiInfo[] = [
30
+ {
31
+ id: 231,
32
+ version: 0,
33
+ mode: SceneNodeTransitionMode.Jump,
34
+ speed: 70,
35
+ name: I18n.getLang('flag_leverkusen'),
36
+ whiteColors: [
37
+ { brightness: 100, colorTemp: 0},
38
+ ],
39
+ colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 60, s: 100, v: 100}]
40
+ },
31
41
  {
32
42
  id: 255,
33
43
  version: 0,
@@ -295,16 +305,4 @@ export const defFlagList: FlagUiInfo[] = [
295
305
  ],
296
306
  colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}]
297
307
  },
298
- {
299
- id: 231,
300
- version: 0,
301
- mode: SceneNodeTransitionMode.Jump,
302
- speed: 70,
303
- name: I18n.getLang('flag_leverkusen'),
304
- icon: res.leverkusen_icon,
305
- whiteColors: [
306
- { brightness: 100, colorTemp: 0},
307
- ],
308
- colors: [{h: 360, s: 100, v: 100}, {h: 0, s: 0, v: 100}, {h: 60, s: 100, v: 100}]
309
- },
310
308
  ]