afroicons 0.5.0 → 0.6.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.
- package/README.md +2 -1
- package/icons.json +1322 -0
- package/index.d.ts +57 -3
- package/index.js +2 -2
- package/package.json +3 -3
- package/sprite.svg +54 -0
- package/svg/drapeau-afrique-du-sud.svg +1 -0
- package/svg/drapeau-algerie.svg +1 -0
- package/svg/drapeau-angola.svg +1 -0
- package/svg/drapeau-benin.svg +1 -0
- package/svg/drapeau-botswana.svg +1 -0
- package/svg/drapeau-burkina-faso.svg +1 -0
- package/svg/drapeau-burundi.svg +1 -0
- package/svg/drapeau-cameroun.svg +1 -0
- package/svg/drapeau-cap-vert.svg +1 -0
- package/svg/drapeau-centrafrique.svg +1 -0
- package/svg/drapeau-comores.svg +1 -0
- package/svg/drapeau-congo.svg +1 -0
- package/svg/drapeau-cote-d-ivoire.svg +1 -0
- package/svg/drapeau-djibouti.svg +1 -0
- package/svg/drapeau-egypte.svg +1 -0
- package/svg/drapeau-erythree.svg +1 -0
- package/svg/drapeau-eswatini.svg +1 -0
- package/svg/drapeau-ethiopie.svg +1 -0
- package/svg/drapeau-gabon.svg +1 -0
- package/svg/drapeau-gambie.svg +1 -0
- package/svg/drapeau-ghana.svg +1 -0
- package/svg/drapeau-guinee-bissau.svg +1 -0
- package/svg/drapeau-guinee-equatoriale.svg +1 -0
- package/svg/drapeau-guinee.svg +1 -0
- package/svg/drapeau-kenya.svg +1 -0
- package/svg/drapeau-lesotho.svg +1 -0
- package/svg/drapeau-liberia.svg +1 -0
- package/svg/drapeau-libye.svg +1 -0
- package/svg/drapeau-madagascar.svg +1 -0
- package/svg/drapeau-malawi.svg +1 -0
- package/svg/drapeau-mali.svg +1 -0
- package/svg/drapeau-maroc.svg +1 -0
- package/svg/drapeau-maurice.svg +1 -0
- package/svg/drapeau-mauritanie.svg +1 -0
- package/svg/drapeau-mozambique.svg +1 -0
- package/svg/drapeau-namibie.svg +1 -0
- package/svg/drapeau-niger.svg +1 -0
- package/svg/drapeau-nigeria.svg +1 -0
- package/svg/drapeau-ouganda.svg +1 -0
- package/svg/drapeau-rd-congo.svg +1 -0
- package/svg/drapeau-rwanda.svg +1 -0
- package/svg/drapeau-sao-tome-et-principe.svg +1 -0
- package/svg/drapeau-senegal.svg +1 -0
- package/svg/drapeau-seychelles.svg +1 -0
- package/svg/drapeau-sierra-leone.svg +1 -0
- package/svg/drapeau-somalie.svg +1 -0
- package/svg/drapeau-soudan-du-sud.svg +1 -0
- package/svg/drapeau-soudan.svg +1 -0
- package/svg/drapeau-tanzanie.svg +1 -0
- package/svg/drapeau-tchad.svg +1 -0
- package/svg/drapeau-togo.svg +1 -0
- package/svg/drapeau-tunisie.svg +1 -0
- package/svg/drapeau-zambie.svg +1 -0
- package/svg/drapeau-zimbabwe.svg +1 -0
- package/svg/fill/drapeau-afrique-du-sud.svg +1 -0
- package/svg/fill/drapeau-algerie.svg +1 -0
- package/svg/fill/drapeau-angola.svg +1 -0
- package/svg/fill/drapeau-benin.svg +1 -0
- package/svg/fill/drapeau-botswana.svg +1 -0
- package/svg/fill/drapeau-burkina-faso.svg +1 -0
- package/svg/fill/drapeau-burundi.svg +1 -0
- package/svg/fill/drapeau-cameroun.svg +1 -0
- package/svg/fill/drapeau-cap-vert.svg +1 -0
- package/svg/fill/drapeau-centrafrique.svg +1 -0
- package/svg/fill/drapeau-comores.svg +1 -0
- package/svg/fill/drapeau-congo.svg +1 -0
- package/svg/fill/drapeau-cote-d-ivoire.svg +1 -0
- package/svg/fill/drapeau-djibouti.svg +1 -0
- package/svg/fill/drapeau-egypte.svg +1 -0
- package/svg/fill/drapeau-erythree.svg +1 -0
- package/svg/fill/drapeau-eswatini.svg +1 -0
- package/svg/fill/drapeau-ethiopie.svg +1 -0
- package/svg/fill/drapeau-gabon.svg +1 -0
- package/svg/fill/drapeau-gambie.svg +1 -0
- package/svg/fill/drapeau-ghana.svg +1 -0
- package/svg/fill/drapeau-guinee-bissau.svg +1 -0
- package/svg/fill/drapeau-guinee-equatoriale.svg +1 -0
- package/svg/fill/drapeau-guinee.svg +1 -0
- package/svg/fill/drapeau-kenya.svg +1 -0
- package/svg/fill/drapeau-lesotho.svg +1 -0
- package/svg/fill/drapeau-liberia.svg +1 -0
- package/svg/fill/drapeau-libye.svg +1 -0
- package/svg/fill/drapeau-madagascar.svg +1 -0
- package/svg/fill/drapeau-malawi.svg +1 -0
- package/svg/fill/drapeau-mali.svg +1 -0
- package/svg/fill/drapeau-maroc.svg +1 -0
- package/svg/fill/drapeau-maurice.svg +1 -0
- package/svg/fill/drapeau-mauritanie.svg +1 -0
- package/svg/fill/drapeau-mozambique.svg +1 -0
- package/svg/fill/drapeau-namibie.svg +1 -0
- package/svg/fill/drapeau-niger.svg +1 -0
- package/svg/fill/drapeau-nigeria.svg +1 -0
- package/svg/fill/drapeau-ouganda.svg +1 -0
- package/svg/fill/drapeau-rd-congo.svg +1 -0
- package/svg/fill/drapeau-rwanda.svg +1 -0
- package/svg/fill/drapeau-sao-tome-et-principe.svg +1 -0
- package/svg/fill/drapeau-senegal.svg +1 -0
- package/svg/fill/drapeau-seychelles.svg +1 -0
- package/svg/fill/drapeau-sierra-leone.svg +1 -0
- package/svg/fill/drapeau-somalie.svg +1 -0
- package/svg/fill/drapeau-soudan-du-sud.svg +1 -0
- package/svg/fill/drapeau-soudan.svg +1 -0
- package/svg/fill/drapeau-tanzanie.svg +1 -0
- package/svg/fill/drapeau-tchad.svg +1 -0
- package/svg/fill/drapeau-togo.svg +1 -0
- package/svg/fill/drapeau-tunisie.svg +1 -0
- package/svg/fill/drapeau-zambie.svg +1 -0
- package/svg/fill/drapeau-zimbabwe.svg +1 -0
package/index.d.ts
CHANGED
|
@@ -160,10 +160,64 @@ export type AfroiconName =
|
|
|
160
160
|
| "zimbabwe"
|
|
161
161
|
| "ndebele"
|
|
162
162
|
| "ville"
|
|
163
|
-
| "riad"
|
|
164
|
-
|
|
163
|
+
| "riad"
|
|
164
|
+
| "drapeau-algerie"
|
|
165
|
+
| "drapeau-angola"
|
|
166
|
+
| "drapeau-benin"
|
|
167
|
+
| "drapeau-botswana"
|
|
168
|
+
| "drapeau-burkina-faso"
|
|
169
|
+
| "drapeau-burundi"
|
|
170
|
+
| "drapeau-cap-vert"
|
|
171
|
+
| "drapeau-cameroun"
|
|
172
|
+
| "drapeau-centrafrique"
|
|
173
|
+
| "drapeau-tchad"
|
|
174
|
+
| "drapeau-comores"
|
|
175
|
+
| "drapeau-congo"
|
|
176
|
+
| "drapeau-rd-congo"
|
|
177
|
+
| "drapeau-cote-d-ivoire"
|
|
178
|
+
| "drapeau-djibouti"
|
|
179
|
+
| "drapeau-egypte"
|
|
180
|
+
| "drapeau-guinee-equatoriale"
|
|
181
|
+
| "drapeau-erythree"
|
|
182
|
+
| "drapeau-eswatini"
|
|
183
|
+
| "drapeau-ethiopie"
|
|
184
|
+
| "drapeau-gabon"
|
|
185
|
+
| "drapeau-gambie"
|
|
186
|
+
| "drapeau-ghana"
|
|
187
|
+
| "drapeau-guinee"
|
|
188
|
+
| "drapeau-guinee-bissau"
|
|
189
|
+
| "drapeau-kenya"
|
|
190
|
+
| "drapeau-lesotho"
|
|
191
|
+
| "drapeau-liberia"
|
|
192
|
+
| "drapeau-libye"
|
|
193
|
+
| "drapeau-madagascar"
|
|
194
|
+
| "drapeau-malawi"
|
|
195
|
+
| "drapeau-mali"
|
|
196
|
+
| "drapeau-mauritanie"
|
|
197
|
+
| "drapeau-maurice"
|
|
198
|
+
| "drapeau-maroc"
|
|
199
|
+
| "drapeau-mozambique"
|
|
200
|
+
| "drapeau-namibie"
|
|
201
|
+
| "drapeau-niger"
|
|
202
|
+
| "drapeau-nigeria"
|
|
203
|
+
| "drapeau-ouganda"
|
|
204
|
+
| "drapeau-rwanda"
|
|
205
|
+
| "drapeau-sao-tome-et-principe"
|
|
206
|
+
| "drapeau-senegal"
|
|
207
|
+
| "drapeau-seychelles"
|
|
208
|
+
| "drapeau-sierra-leone"
|
|
209
|
+
| "drapeau-somalie"
|
|
210
|
+
| "drapeau-afrique-du-sud"
|
|
211
|
+
| "drapeau-soudan-du-sud"
|
|
212
|
+
| "drapeau-soudan"
|
|
213
|
+
| "drapeau-tanzanie"
|
|
214
|
+
| "drapeau-togo"
|
|
215
|
+
| "drapeau-tunisie"
|
|
216
|
+
| "drapeau-zambie"
|
|
217
|
+
| "drapeau-zimbabwe";
|
|
218
|
+
export type AfroiconCategory = "nature" | "faune" | "musique" | "symboles" | "cuisine" | "vie" | "architecture" | "drapeaux";
|
|
165
219
|
export type AfroiconRegion = "pan" | "ouest" | "centre" | "est" | "nord" | "australe";
|
|
166
|
-
export interface AfroiconData { id: AfroiconName; fr: string; en: string; cat: AfroiconCategory; region: AfroiconRegion; tags: string[]; since: string; /** Icône dont celle-ci est une variante (épluchée, coupée, ouverte…). */ variantOf?: AfroiconName; /** Dessin au trait. */ body: string; /** Version remplie. */ fill: string; }
|
|
220
|
+
export interface AfroiconData { id: AfroiconName; fr: string; en: string; cat: AfroiconCategory; region: AfroiconRegion; tags: string[]; since: string; /** Icône dont celle-ci est une variante (épluchée, coupée, ouverte…). */ variantOf?: AfroiconName; /** Drapeaux : code ISO du pays et son nom. */ iso?: string; country?: { fr: string; en: string }; /** Dessin au trait. */ body: string; /** Version remplie. */ fill: string; }
|
|
167
221
|
export const icons: Record<AfroiconName, AfroiconData>;
|
|
168
222
|
export const names: AfroiconName[];
|
|
169
223
|
export type AfroiconVariant = "line" | "fill";
|