@ledvance/ui-biz-bundle 1.1.57 → 1.1.58

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.57",
7
+ "version": "1.1.58",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -64,7 +64,7 @@ export const defFlagList: FlagUiInfo[] = [
64
64
  id: 252,
65
65
  name: I18n.getLang('country_PT'),
66
66
  ...defFlagConfig,
67
- colors: [{ h: 360, s: 100, v: 100 }, { h: 360, s: 100, v: 100 }, { h: 120, s: 100, v: 100 }]
67
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 360, s: 100, v: 100 }, { h: 120, s: 100, v: 64 }]
68
68
  },
69
69
  {
70
70
  id: 251,
@@ -100,7 +100,7 @@ export const defFlagList: FlagUiInfo[] = [
100
100
  id: 246,
101
101
  name: I18n.getLang('country_HU'),
102
102
  ...defFlagConfig,
103
- colors: [{ h: 120, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
103
+ colors: [{ h: 120, s: 100, v: 64 }, { h: 0, s: 0, v: 100 }, { h: 360, s: 100, v: 100 }]
104
104
  },
105
105
  {
106
106
  id: 245,
@@ -148,7 +148,7 @@ export const defFlagList: FlagUiInfo[] = [
148
148
  id: 238,
149
149
  name: I18n.getLang('country_IT'),
150
150
  ...defFlagConfig,
151
- colors: [{ h: 360, s: 100, v: 100 }, { h: 212, s: 4, v: 100 }, { h: 120, s: 100, v: 100 }]
151
+ colors: [{ h: 360, s: 100, v: 100 }, { h: 212, s: 4, v: 100 }, { h: 120, s: 100, v: 64 }]
152
152
  },
153
153
  {
154
154
  id: 237,
@@ -204,7 +204,7 @@ export const defFlagList: FlagUiInfo[] = [
204
204
  id: 228,
205
205
  name: I18n.getLang('country_IE'),
206
206
  ...defFlagConfig,
207
- colors: [{ h: 45, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 100 }],
207
+ colors: [{ h: 45, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 64 }],
208
208
  },
209
209
  {
210
210
  id: 227,
@@ -258,7 +258,7 @@ export const defFlagList: FlagUiInfo[] = [
258
258
  id: 219,
259
259
  name: I18n.getLang('country_BR'),
260
260
  ...defFlagConfig,
261
- colors: [{ h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
261
+ colors: [{ h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 },],
262
262
  },
263
263
  {
264
264
  id: 218,
@@ -270,7 +270,7 @@ export const defFlagList: FlagUiInfo[] = [
270
270
  id: 217,
271
271
  name: I18n.getLang('country_AF'),
272
272
  ...defFlagConfig,
273
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 0 },],
273
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 0 },],
274
274
  },
275
275
  {
276
276
  id: 216,
@@ -282,7 +282,7 @@ export const defFlagList: FlagUiInfo[] = [
282
282
  id: 215,
283
283
  name: I18n.getLang('country_ET'),
284
284
  ...defFlagConfig,
285
- colors: [{ h: 0, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 100 },],
285
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 64 },],
286
286
  },
287
287
  {
288
288
  id: 214,
@@ -294,7 +294,7 @@ export const defFlagList: FlagUiInfo[] = [
294
294
  id: 213,
295
295
  name: I18n.getLang('country_BO'),
296
296
  ...defFlagConfig,
297
- colors: [{ h: 147, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 0, s: 100, v: 100 },],
297
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 60, s: 100, v: 100 }, { h: 0, s: 100, v: 100 },],
298
298
  },
299
299
  {
300
300
  id: 212,
@@ -318,7 +318,7 @@ export const defFlagList: FlagUiInfo[] = [
318
318
  id: 209,
319
319
  name: I18n.getLang('country_CI'),
320
320
  ...defFlagConfig,
321
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
321
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
322
322
  },
323
323
  {
324
324
  id: 208,
@@ -348,7 +348,7 @@ export const defFlagList: FlagUiInfo[] = [
348
348
  id: 204,
349
349
  name: I18n.getLang('country_IN'),
350
350
  ...defFlagConfig,
351
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
351
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
352
352
  },
353
353
  {
354
354
  id: 203,
@@ -360,7 +360,7 @@ export const defFlagList: FlagUiInfo[] = [
360
360
  id: 202,
361
361
  name: I18n.getLang('country_ir'),
362
362
  ...defFlagConfig,
363
- colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 100 },],
363
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 64 },],
364
364
  },
365
365
  {
366
366
  id: 201,
@@ -372,13 +372,13 @@ export const defFlagList: FlagUiInfo[] = [
372
372
  id: 200,
373
373
  name: I18n.getLang('country_JM'),
374
374
  ...defFlagConfig,
375
- colors: [{ h: 60, s: 100, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 147, s: 100, v: 100 },],
375
+ colors: [{ h: 60, s: 100, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 147, s: 100, v: 64 },],
376
376
  },
377
377
  {
378
378
  id: 199,
379
379
  name: I18n.getLang('country_CY'),
380
380
  ...defFlagConfig,
381
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
381
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 }, { h: 45, s: 100, v: 100 },],
382
382
  },
383
383
  {
384
384
  id: 198,
@@ -402,7 +402,7 @@ export const defFlagList: FlagUiInfo[] = [
402
402
  id: 195,
403
403
  name: I18n.getLang('country_CG'),
404
404
  ...defFlagConfig,
405
- colors: [{ h: 0, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 100 },],
405
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 147, s: 100, v: 64 },],
406
406
  },
407
407
  {
408
408
  id: 194,
@@ -420,13 +420,13 @@ export const defFlagList: FlagUiInfo[] = [
420
420
  id: 192,
421
421
  name: I18n.getLang('country_LY'),
422
422
  ...defFlagConfig,
423
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 0, s: 100, v: 100 },],
423
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 0 }, { h: 0, s: 100, v: 100 },],
424
424
  },
425
425
  {
426
426
  id: 191,
427
427
  name: I18n.getLang('country_LT'),
428
428
  ...defFlagConfig,
429
- colors: [{ h: 0, s: 100, v: 100 }, { h: 147, s: 100, v: 100 }, { h: 60, s: 100, v: 100 },],
429
+ colors: [{ h: 0, s: 100, v: 100 }, { h: 147, s: 100, v: 64 }, { h: 60, s: 100, v: 100 },],
430
430
  },
431
431
  {
432
432
  id: 190,
@@ -438,7 +438,7 @@ export const defFlagList: FlagUiInfo[] = [
438
438
  id: 189,
439
439
  name: I18n.getLang('country_MG'),
440
440
  ...defFlagConfig,
441
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
441
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
442
442
  },
443
443
  {
444
444
  id: 188,
@@ -450,7 +450,7 @@ export const defFlagList: FlagUiInfo[] = [
450
450
  id: 187,
451
451
  name: I18n.getLang('country_MA'),
452
452
  ...defFlagConfig,
453
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 100, v: 100 },],
453
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 100, v: 100 },],
454
454
  },
455
455
  {
456
456
  id: 186,
@@ -462,7 +462,7 @@ export const defFlagList: FlagUiInfo[] = [
462
462
  id: 185,
463
463
  name: I18n.getLang('country_NA'),
464
464
  ...defFlagConfig,
465
- colors: [{ h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 220, s: 100, v: 100 },],
465
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 60, s: 100, v: 100 }, { h: 220, s: 100, v: 100 },],
466
466
  },
467
467
  {
468
468
  id: 184,
@@ -474,19 +474,19 @@ export const defFlagList: FlagUiInfo[] = [
474
474
  id: 183,
475
475
  name: I18n.getLang('country_NG'),
476
476
  ...defFlagConfig,
477
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 100 },],
477
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 }, { h: 147, s: 100, v: 64 },],
478
478
  },
479
479
  {
480
480
  id: 182,
481
481
  name: I18n.getLang('country_PK'),
482
482
  ...defFlagConfig,
483
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 },],
483
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 },],
484
484
  },
485
485
  {
486
486
  id: 181,
487
487
  name: I18n.getLang('country_PS'),
488
488
  ...defFlagConfig,
489
- colors: [{ h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 0, s: 100, v: 100 },],
489
+ colors: [{ h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 0, v: 0 }, { h: 0, s: 100, v: 100 },],
490
490
  },
491
491
  {
492
492
  id: 180,
@@ -522,13 +522,13 @@ export const defFlagList: FlagUiInfo[] = [
522
522
  id: 175,
523
523
  name: I18n.getLang('country_ZA'),
524
524
  ...defFlagConfig,
525
- colors: [{ h: 205, s: 100, v: 100 }, { h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
525
+ colors: [{ h: 0, s: 0, v: 0 },{ h: 60, s: 100, v: 100 },{ h: 205, s: 100, v: 100 }, { h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
526
526
  },
527
527
  {
528
528
  id: 174,
529
529
  name: I18n.getLang('country_sy'),
530
530
  ...defFlagConfig,
531
- colors: [{ h: 0, s: 0, v: 0 }, { h: 147, s: 100, v: 100 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
531
+ colors: [{ h: 0, s: 0, v: 0 }, { h: 147, s: 100, v: 64 }, { h: 0, s: 0, v: 100 }, { h: 0, s: 100, v: 100 },],
532
532
  },
533
533
  {
534
534
  id: 173,
@@ -560,4 +560,4 @@ export const defFlagList: FlagUiInfo[] = [
560
560
  ...defFlagConfig,
561
561
  colors: [{ h: 0, s: 100, v: 100 }, { h: 205, s: 100, v: 100 }, { h: 60, s: 100, v: 100 },],
562
562
  }
563
- ]
563
+ ]
@@ -106,7 +106,7 @@ const FlagPage = () => {
106
106
  }, [JSON.stringify(flags)])
107
107
 
108
108
  useUpdateEffect(() =>{
109
- state.flags = state.searchText !== '' ? cloneDeep(flags).filter(flag => flag.name.includes(state.searchText)) : cloneDeep(flags)
109
+ state.flags = state.searchText !== '' ? cloneDeep(flags).filter(flag => (flag.name ?? '').toLowerCase().includes(state.searchText.toLowerCase())) : cloneDeep(flags)
110
110
  }, [state.searchText, flags])
111
111
 
112
112
  const getRemoteFlagInfo = async (isRefresh?: boolean) => {