afroicons-ui 0.0.0-stage → 0.5.0

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.
Files changed (169) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +36 -2
  3. package/icons.json +1306 -0
  4. package/index.d.ts +657 -0
  5. package/index.js +344 -0
  6. package/package.json +19 -4
  7. package/svg/Activity.svg +1 -0
  8. package/svg/AlertCircle.svg +1 -0
  9. package/svg/AlertTriangle.svg +1 -0
  10. package/svg/ArrowLeft.svg +1 -0
  11. package/svg/ArrowRight.svg +1 -0
  12. package/svg/Award.svg +1 -0
  13. package/svg/BadgeCheck.svg +1 -0
  14. package/svg/Ban.svg +1 -0
  15. package/svg/Banknote.svg +1 -0
  16. package/svg/BarChart3.svg +1 -0
  17. package/svg/BedDouble.svg +1 -0
  18. package/svg/Bell.svg +1 -0
  19. package/svg/BellRing.svg +1 -0
  20. package/svg/BookLock.svg +1 -0
  21. package/svg/BookMarked.svg +1 -0
  22. package/svg/BookOpen.svg +1 -0
  23. package/svg/BookText.svg +1 -0
  24. package/svg/Boxes.svg +1 -0
  25. package/svg/Brain.svg +1 -0
  26. package/svg/Briefcase.svg +1 -0
  27. package/svg/Building2.svg +1 -0
  28. package/svg/Bus.svg +1 -0
  29. package/svg/CakeSlice.svg +1 -0
  30. package/svg/Calculator.svg +1 -0
  31. package/svg/Calendar.svg +1 -0
  32. package/svg/CalendarCheck.svg +1 -0
  33. package/svg/CalendarClock.svg +1 -0
  34. package/svg/CalendarDays.svg +1 -0
  35. package/svg/CalendarRange.svg +1 -0
  36. package/svg/Camera.svg +1 -0
  37. package/svg/Car.svg +1 -0
  38. package/svg/Check.svg +1 -0
  39. package/svg/CheckCircle.svg +1 -0
  40. package/svg/CheckCircle2.svg +1 -0
  41. package/svg/ChefHat.svg +1 -0
  42. package/svg/ChevronDown.svg +1 -0
  43. package/svg/ChevronLeft.svg +1 -0
  44. package/svg/ChevronRight.svg +1 -0
  45. package/svg/ChevronUp.svg +1 -0
  46. package/svg/ClipboardCheck.svg +1 -0
  47. package/svg/ClipboardList.svg +1 -0
  48. package/svg/Clock.svg +1 -0
  49. package/svg/Cloud.svg +1 -0
  50. package/svg/CloudOff.svg +1 -0
  51. package/svg/Cog.svg +1 -0
  52. package/svg/Coins.svg +1 -0
  53. package/svg/Copy.svg +1 -0
  54. package/svg/CreditCard.svg +1 -0
  55. package/svg/Crown.svg +1 -0
  56. package/svg/Database.svg +1 -0
  57. package/svg/DollarSign.svg +1 -0
  58. package/svg/Download.svg +1 -0
  59. package/svg/Edit2.svg +1 -0
  60. package/svg/ExternalLink.svg +1 -0
  61. package/svg/Eye.svg +1 -0
  62. package/svg/EyeOff.svg +1 -0
  63. package/svg/Factory.svg +1 -0
  64. package/svg/FileBarChart.svg +1 -0
  65. package/svg/FileInput.svg +1 -0
  66. package/svg/FileSearch.svg +1 -0
  67. package/svg/FileSpreadsheet.svg +1 -0
  68. package/svg/FileText.svg +1 -0
  69. package/svg/Fingerprint.svg +1 -0
  70. package/svg/FolderKanban.svg +1 -0
  71. package/svg/Fuel.svg +1 -0
  72. package/svg/Gauge.svg +1 -0
  73. package/svg/Globe.svg +1 -0
  74. package/svg/GraduationCap.svg +1 -0
  75. package/svg/HandCoins.svg +1 -0
  76. package/svg/Handshake.svg +1 -0
  77. package/svg/HardDrive.svg +1 -0
  78. package/svg/HardHat.svg +1 -0
  79. package/svg/Headphones.svg +1 -0
  80. package/svg/HelpCircle.svg +1 -0
  81. package/svg/History.svg +1 -0
  82. package/svg/Home.svg +1 -0
  83. package/svg/Inbox.svg +1 -0
  84. package/svg/Info.svg +1 -0
  85. package/svg/KeyRound.svg +1 -0
  86. package/svg/Keyboard.svg +1 -0
  87. package/svg/Landmark.svg +1 -0
  88. package/svg/Layers.svg +1 -0
  89. package/svg/LayoutDashboard.svg +1 -0
  90. package/svg/LayoutGrid.svg +1 -0
  91. package/svg/LifeBuoy.svg +1 -0
  92. package/svg/Lightbulb.svg +1 -0
  93. package/svg/Link2.svg +1 -0
  94. package/svg/ListTree.svg +1 -0
  95. package/svg/Loader2.svg +1 -0
  96. package/svg/Lock.svg +1 -0
  97. package/svg/LogIn.svg +1 -0
  98. package/svg/LogOut.svg +1 -0
  99. package/svg/Mail.svg +1 -0
  100. package/svg/MapPin.svg +1 -0
  101. package/svg/MessageCircle.svg +1 -0
  102. package/svg/MessageSquare.svg +1 -0
  103. package/svg/Minus.svg +1 -0
  104. package/svg/Monitor.svg +1 -0
  105. package/svg/Moon.svg +1 -0
  106. package/svg/Package.svg +1 -0
  107. package/svg/PackageCheck.svg +1 -0
  108. package/svg/Palette.svg +1 -0
  109. package/svg/Paperclip.svg +1 -0
  110. package/svg/PenLine.svg +1 -0
  111. package/svg/Pencil.svg +1 -0
  112. package/svg/Percent.svg +1 -0
  113. package/svg/Phone.svg +1 -0
  114. package/svg/Pill.svg +1 -0
  115. package/svg/Play.svg +1 -0
  116. package/svg/Plug.svg +1 -0
  117. package/svg/Plus.svg +1 -0
  118. package/svg/Printer.svg +1 -0
  119. package/svg/Receipt.svg +1 -0
  120. package/svg/ReceiptText.svg +1 -0
  121. package/svg/RefreshCw.svg +1 -0
  122. package/svg/Rocket.svg +1 -0
  123. package/svg/RotateCcw.svg +1 -0
  124. package/svg/Save.svg +1 -0
  125. package/svg/Scale.svg +1 -0
  126. package/svg/ScanLine.svg +1 -0
  127. package/svg/Search.svg +1 -0
  128. package/svg/Send.svg +1 -0
  129. package/svg/Settings.svg +1 -0
  130. package/svg/Settings2.svg +1 -0
  131. package/svg/Share2.svg +1 -0
  132. package/svg/Shield.svg +1 -0
  133. package/svg/ShieldAlert.svg +1 -0
  134. package/svg/ShieldCheck.svg +1 -0
  135. package/svg/Shirt.svg +1 -0
  136. package/svg/ShoppingBag.svg +1 -0
  137. package/svg/ShoppingCart.svg +1 -0
  138. package/svg/SlidersHorizontal.svg +1 -0
  139. package/svg/Smartphone.svg +1 -0
  140. package/svg/Sparkles.svg +1 -0
  141. package/svg/Sprout.svg +1 -0
  142. package/svg/Star.svg +1 -0
  143. package/svg/Stethoscope.svg +1 -0
  144. package/svg/Store.svg +1 -0
  145. package/svg/Tag.svg +1 -0
  146. package/svg/Ticket.svg +1 -0
  147. package/svg/Timer.svg +1 -0
  148. package/svg/Trash2.svg +1 -0
  149. package/svg/TrendingDown.svg +1 -0
  150. package/svg/TrendingUp.svg +1 -0
  151. package/svg/Truck.svg +1 -0
  152. package/svg/Undo2.svg +1 -0
  153. package/svg/Upload.svg +1 -0
  154. package/svg/User.svg +1 -0
  155. package/svg/UserCheck.svg +1 -0
  156. package/svg/UserCircle.svg +1 -0
  157. package/svg/UserPlus.svg +1 -0
  158. package/svg/UserX.svg +1 -0
  159. package/svg/Users.svg +1 -0
  160. package/svg/UsersRound.svg +1 -0
  161. package/svg/UtensilsCrossed.svg +1 -0
  162. package/svg/Wallet.svg +1 -0
  163. package/svg/Warehouse.svg +1 -0
  164. package/svg/WifiOff.svg +1 -0
  165. package/svg/Workflow.svg +1 -0
  166. package/svg/Wrench.svg +1 -0
  167. package/svg/X.svg +1 -0
  168. package/svg/XCircle.svg +1 -0
  169. package/svg/Zap.svg +1 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 THAFAM HOLDING SARL and Afroicons contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,37 @@
1
- # Temporary Holding Version
1
+ # afroicons-ui
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Les icônes d'interface [Afroicons](https://afroicons.org), **compatibles `lucide-react`** : mêmes noms de composants, mêmes props.
4
+
5
+ ```bash
6
+ npm install afroicons-ui lucide-react
7
+ ```
8
+
9
+ ```diff
10
+ - import { Plus, Wallet, ShoppingCart } from "lucide-react";
11
+ + import { Plus, Wallet, ShoppingCart } from "afroicons-ui";
12
+ ```
13
+
14
+ Ou, sans toucher aux imports, avec un alias (Vite) :
15
+
16
+ ```js
17
+ // vite.config.js
18
+ resolve: { alias: { "lucide-react": "afroicons-ui" } }
19
+ ```
20
+
21
+ Avec l'alias, `afroicons-ui` doit lui-même pouvoir importer le vrai `lucide-react`. Préférez donc le remplacement des imports, ou un alias limité à votre code source.
22
+
23
+ ## Ce qui change
24
+
25
+ - **163 icônes redessinées** (les plus utilisées par NAFA ERP : priorités P1 et P2) : trait 1,75 arrondi, grille 24 × 24.
26
+ - **18 métaphores africaines** : `Home` → la case, `ShoppingCart` → le panier tressé, `Store` → la boutique de quartier, `Wallet` → un portefeuille fermé par un cauri, `DollarSign` → le cauri, `Truck` → la moto de livraison, `Bus` → le taxi-brousse, `BedDouble` → le lit sous moustiquaire, `Shirt` → le dashiki, `UtensilsCrossed` → la marmite, `Fuel` → le bidon, `Users` → deux personnes dont une coiffée d'un gele, `Globe` → un globe centré sur l'Afrique, `ShoppingBag` → le sac de marché en raphia tressé…
27
+ - **Toutes les autres** icônes Lucide restent disponibles sous leur nom : elles viennent directement de `lucide-react`.
28
+
29
+ `afroiconNames` donne la liste des icônes redessinées.
30
+
31
+ ## Props
32
+
33
+ Comme Lucide : `size` (24), `color` (`currentColor`), `strokeWidth` (**1,75** au lieu de 2), `absoluteStrokeWidth`, `className`, plus toutes les props SVG. Les classes `lucide lucide-<nom>` sont conservées, avec `afroicon` en plus. Les alias `PlusIcon` et `LucidePlus` existent aussi, et le type `LucideIcon` vient de `lucide-react`.
34
+
35
+ Les SVG sont aussi fournis à part : `afroicons-ui/svg/Wallet.svg`.
36
+
37
+ Licence MIT. Les icônes reprises de Lucide restent sous licence ISC.