react-achievements 2.0.3 โ 2.0.5
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/README.md +103 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,13 +13,13 @@ https://stackblitz.com/edit/vitejs-vite-sccdux
|
|
|
13
13
|
Install `react-achievements` using npm or yarn:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install react react-dom
|
|
16
|
+
npm install react react-dom @reduxjs/toolkit react-achievements
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
or
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
yarn add react react-dom
|
|
22
|
+
yarn add react react-dom @reduxjs/toolkit react-achievements
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
<h2 align="center">๐ฎ Usage</h2>
|
|
@@ -412,6 +412,107 @@ The achievements and metrics are managed by Redux and persisted in local storage
|
|
|
412
412
|
}
|
|
413
413
|
```
|
|
414
414
|
|
|
415
|
+
<h2 align="center">๐Available Icons๐</h2>
|
|
416
|
+
|
|
417
|
+
```
|
|
418
|
+
// General Progress & Milestones
|
|
419
|
+
levelUp: '๐',
|
|
420
|
+
questComplete: '๐',
|
|
421
|
+
monsterDefeated: 'โ๏ธ',
|
|
422
|
+
itemCollected: '๐ฆ',
|
|
423
|
+
challengeCompleted: '๐',
|
|
424
|
+
milestoneReached: '๐
',
|
|
425
|
+
firstStep: '๐ฃ',
|
|
426
|
+
newBeginnings: '๐ฑ',
|
|
427
|
+
breakthrough: '๐ก',
|
|
428
|
+
growth: '๐',
|
|
429
|
+
|
|
430
|
+
// Social & Engagement
|
|
431
|
+
shared: '๐',
|
|
432
|
+
liked: 'โค๏ธ',
|
|
433
|
+
commented: '๐ฌ',
|
|
434
|
+
followed: '๐ฅ',
|
|
435
|
+
invited: '๐ค',
|
|
436
|
+
communityMember: '๐๏ธ',
|
|
437
|
+
supporter: '๐',
|
|
438
|
+
connected: '๐',
|
|
439
|
+
participant: '๐',
|
|
440
|
+
influencer: '๐ฃ',
|
|
441
|
+
|
|
442
|
+
// Time & Activity
|
|
443
|
+
activeDay: 'โ๏ธ',
|
|
444
|
+
activeWeek: '๐
',
|
|
445
|
+
activeMonth: '๐๏ธ',
|
|
446
|
+
earlyBird: 'โฐ',
|
|
447
|
+
nightOwl: '๐',
|
|
448
|
+
streak: '๐ฅ',
|
|
449
|
+
dedicated: 'โณ',
|
|
450
|
+
punctual: 'โฑ๏ธ',
|
|
451
|
+
consistent: '๐',
|
|
452
|
+
marathon: '๐',
|
|
453
|
+
|
|
454
|
+
// Creativity & Skill
|
|
455
|
+
artist: '๐จ',
|
|
456
|
+
writer: 'โ๏ธ',
|
|
457
|
+
innovator: '๐ฌ',
|
|
458
|
+
creator: '๐ ๏ธ',
|
|
459
|
+
expert: '๐',
|
|
460
|
+
master: '๐',
|
|
461
|
+
pioneer: '๐',
|
|
462
|
+
performer: '๐ญ',
|
|
463
|
+
thinker: '๐ง ',
|
|
464
|
+
explorer: '๐บ๏ธ',
|
|
465
|
+
|
|
466
|
+
// Achievement Types
|
|
467
|
+
bronze: '๐ฅ',
|
|
468
|
+
silver: '๐ฅ',
|
|
469
|
+
gold: '๐ฅ',
|
|
470
|
+
diamond: '๐',
|
|
471
|
+
legendary: 'โจ',
|
|
472
|
+
epic: '๐ฅ',
|
|
473
|
+
rare: '๐ฎ',
|
|
474
|
+
common: '๐',
|
|
475
|
+
special: '๐',
|
|
476
|
+
hidden: 'โ',
|
|
477
|
+
|
|
478
|
+
// Numbers & Counters
|
|
479
|
+
one: '1๏ธโฃ',
|
|
480
|
+
ten: '๐',
|
|
481
|
+
hundred: '๐ฏ',
|
|
482
|
+
thousand: '๐ข',
|
|
483
|
+
|
|
484
|
+
// Actions & Interactions
|
|
485
|
+
clicked: '๐ฑ๏ธ',
|
|
486
|
+
used: '๐',
|
|
487
|
+
found: '๐',
|
|
488
|
+
built: '๐งฑ',
|
|
489
|
+
solved: '๐งฉ',
|
|
490
|
+
discovered: '๐ญ',
|
|
491
|
+
unlocked: '๐',
|
|
492
|
+
upgraded: 'โฌ๏ธ',
|
|
493
|
+
repaired: '๐ง',
|
|
494
|
+
defended: '๐ก๏ธ',
|
|
495
|
+
|
|
496
|
+
// Placeholders
|
|
497
|
+
default: 'โญ', // A fallback icon
|
|
498
|
+
loading: 'โณ',
|
|
499
|
+
error: 'โ ๏ธ',
|
|
500
|
+
success: 'โ
',
|
|
501
|
+
failure: 'โ',
|
|
502
|
+
|
|
503
|
+
// Miscellaneous
|
|
504
|
+
trophy: '๐',
|
|
505
|
+
star: 'โญ',
|
|
506
|
+
flag: '๐ฉ',
|
|
507
|
+
puzzle: '๐งฉ',
|
|
508
|
+
gem: '๐',
|
|
509
|
+
crown: '๐',
|
|
510
|
+
medal: '๐
',
|
|
511
|
+
ribbon: '๐๏ธ',
|
|
512
|
+
badge: '๐๏ธ',
|
|
513
|
+
shield: '๐ก๏ธ',
|
|
514
|
+
```
|
|
515
|
+
|
|
415
516
|
<h2 align="center">๐ License</h2>
|
|
416
517
|
MIT
|
|
417
518
|
|