@gemeenteleiden/icons 0.0.0-stage → 0.1.1
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/LICENSE +202 -0
- package/README.md +117 -2
- package/dist/icons.json +4527 -0
- package/dist/index.cjs +4531 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +4529 -0
- package/dist/svg/aanmelden.svg +1 -0
- package/dist/svg/accessibility.svg +1 -0
- package/dist/svg/account_circle.svg +1 -0
- package/dist/svg/actueel.svg +1 -0
- package/dist/svg/add_2.svg +1 -0
- package/dist/svg/add_circle.svg +1 -0
- package/dist/svg/afval.svg +1 -0
- package/dist/svg/afval_gft.svg +1 -0
- package/dist/svg/afval_glascontainer.svg +1 -0
- package/dist/svg/afval_groenbak.svg +1 -0
- package/dist/svg/afval_ophalen.svg +1 -0
- package/dist/svg/afval_pmd.svg +1 -0
- package/dist/svg/afval_scheiden.svg +1 -0
- package/dist/svg/afvalbak_afvalzak.svg +1 -0
- package/dist/svg/afvalbak_pmd.svg +1 -0
- package/dist/svg/afvalcontainer.svg +1 -0
- package/dist/svg/afvalcontainer_afvalzak.svg +1 -0
- package/dist/svg/afvalcontainerpas.svg +1 -0
- package/dist/svg/afvalkalender.svg +1 -0
- package/dist/svg/afvalzak.svg +1 -0
- package/dist/svg/agenda.svg +1 -0
- package/dist/svg/airborne.svg +1 -0
- package/dist/svg/armoede.svg +1 -0
- package/dist/svg/arrow_downward_alt.svg +1 -0
- package/dist/svg/arrow_left_alt.svg +1 -0
- package/dist/svg/arrow_right_alt.svg +1 -0
- package/dist/svg/arrow_upward_alt.svg +1 -0
- package/dist/svg/asbest_verwijderen.svg +1 -0
- package/dist/svg/attentie.svg +1 -0
- package/dist/svg/auto.svg +1 -0
- package/dist/svg/bedrijventerrein.svg +1 -0
- package/dist/svg/begraafplaats.svg +1 -0
- package/dist/svg/begroting.svg +1 -0
- package/dist/svg/bel_ons.svg +1 -0
- package/dist/svg/belastingen.svg +1 -0
- package/dist/svg/bericht.svg +1 -0
- package/dist/svg/betaaldatums_uitkering.svg +1 -0
- package/dist/svg/bevolking.svg +1 -0
- package/dist/svg/bevrijding.svg +1 -0
- package/dist/svg/bezwaar_en_beroep.svg +1 -0
- package/dist/svg/bijstandsuitkering.svg +1 -0
- package/dist/svg/bijzondere_bijstand.svg +1 -0
- package/dist/svg/bladeren_opruimen.svg +1 -0
- package/dist/svg/bomen.svg +1 -0
- package/dist/svg/bouwen_en_verbouwen.svg +1 -0
- package/dist/svg/bouwprojecten.svg +1 -0
- package/dist/svg/brandgevaar.svg +1 -0
- package/dist/svg/brief.svg +1 -0
- package/dist/svg/buitengebied.svg +1 -0
- package/dist/svg/burgemeester.svg +1 -0
- package/dist/svg/calendar_month.svg +1 -0
- package/dist/svg/calendar_today.svg +1 -0
- package/dist/svg/call.svg +1 -0
- package/dist/svg/cancel.svg +1 -0
- package/dist/svg/captive_portal.svg +1 -0
- package/dist/svg/chat.svg +1 -0
- package/dist/svg/check.svg +1 -0
- package/dist/svg/check_circle.svg +1 -0
- package/dist/svg/check_indeterminate_small.svg +1 -0
- package/dist/svg/chevron_backward.svg +1 -0
- package/dist/svg/chevron_forward.svg +1 -0
- package/dist/svg/close.svg +1 -0
- package/dist/svg/computer.svg +1 -0
- package/dist/svg/computerregeling.svg +1 -0
- package/dist/svg/contact_gemeente.svg +1 -0
- package/dist/svg/cookie.svg +1 -0
- package/dist/svg/cultuur.svg +1 -0
- package/dist/svg/dangerous.svg +1 -0
- package/dist/svg/delete.svg +1 -0
- package/dist/svg/denk_vooruit.svg +1 -0
- package/dist/svg/description.svg +1 -0
- package/dist/svg/digid.svg +1 -0
- package/dist/svg/documenten.svg +1 -0
- package/dist/svg/dossier.svg +1 -0
- package/dist/svg/download.svg +1 -0
- package/dist/svg/duurzaamheid.svg +1 -0
- package/dist/svg/economie_werk_inkomen.svg +1 -0
- package/dist/svg/edit.svg +1 -0
- package/dist/svg/eenzaamheid.svg +1 -0
- package/dist/svg/eikenprocessie.svg +1 -0
- package/dist/svg/elektrisch_laden.svg +1 -0
- package/dist/svg/elektrisch_rijden.svg +1 -0
- package/dist/svg/energietransitie.svg +1 -0
- package/dist/svg/enquete.svg +1 -0
- package/dist/svg/erfgoed.svg +1 -0
- package/dist/svg/erfpacht.svg +1 -0
- package/dist/svg/evenementen.svg +1 -0
- package/dist/svg/f1.svg +1 -0
- package/dist/svg/feedback.svg +1 -0
- package/dist/svg/fiets.svg +1 -0
- package/dist/svg/formulier.svg +1 -0
- package/dist/svg/forum.svg +1 -0
- package/dist/svg/geboorte.svg +1 -0
- package/dist/svg/gebruiker.svg +1 -0
- package/dist/svg/gebruiker_centraal.svg +1 -0
- package/dist/svg/gebruiker_ingelogd.svg +1 -0
- package/dist/svg/gebruikersvraag.svg +1 -0
- package/dist/svg/gegevenswoordenboek.svg +1 -0
- package/dist/svg/geld.svg +1 -0
- package/dist/svg/geluid.svg +1 -0
- package/dist/svg/gemeenteraad.svg +1 -0
- package/dist/svg/gemeenteraadsvergadering.svg +1 -0
- package/dist/svg/gemiva_locatie.svg +1 -0
- package/dist/svg/gezicht.svg +1 -0
- package/dist/svg/gezondheid.svg +1 -0
- package/dist/svg/gladheid.svg +1 -0
- package/dist/svg/golf_course.svg +1 -0
- package/dist/svg/grafiek.svg +1 -0
- package/dist/svg/grofvuil.svg +1 -0
- package/dist/svg/herdenking.svg +1 -0
- package/dist/svg/home.svg +1 -0
- package/dist/svg/hond.svg +1 -0
- package/dist/svg/hondenbelasting.svg +1 -0
- package/dist/svg/hoog_water.svg +1 -0
- package/dist/svg/hoogbouw.svg +1 -0
- package/dist/svg/horeca.svg +1 -0
- package/dist/svg/horecavergunningen.svg +1 -0
- package/dist/svg/huis.svg +1 -0
- package/dist/svg/huis_en_omgeving.svg +1 -0
- package/dist/svg/huiselijk_geweld.svg +1 -0
- package/dist/svg/hulp_huishouden.svg +1 -0
- package/dist/svg/hulpmiddelen_vinden.svg +1 -0
- package/dist/svg/idkaart.svg +1 -0
- package/dist/svg/in_en_om_uw_huis.svg +1 -0
- package/dist/svg/info.svg +1 -0
- package/dist/svg/informatie.svg +1 -0
- package/dist/svg/informatie_en_betalen.svg +1 -0
- package/dist/svg/inkomen.svg +1 -0
- package/dist/svg/inloggen.svg +1 -0
- package/dist/svg/inspraak.svg +1 -0
- package/dist/svg/intimidatie.svg +1 -0
- package/dist/svg/inventory_2.svg +1 -0
- package/dist/svg/isolatie.svg +1 -0
- package/dist/svg/jeugd.svg +1 -0
- package/dist/svg/kennis.svg +1 -0
- package/dist/svg/kerstbomen.svg +1 -0
- package/dist/svg/keyboard_arrow_down.svg +1 -0
- package/dist/svg/keyboard_arrow_up.svg +1 -0
- package/dist/svg/kind_en_familie.svg +1 -0
- package/dist/svg/klacht.svg +1 -0
- package/dist/svg/koningsdag.svg +1 -0
- package/dist/svg/kopen_en_huren.svg +1 -0
- package/dist/svg/kopen_en_verkopen.svg +1 -0
- package/dist/svg/laad_station.svg +1 -0
- package/dist/svg/leerlingenvervoer.svg +1 -0
- package/dist/svg/let_op.svg +1 -0
- package/dist/svg/levensloop.svg +1 -0
- package/dist/svg/liefdadigheid.svg +1 -0
- package/dist/svg/list_arrow.svg +1 -0
- package/dist/svg/locatie.svg +1 -0
- package/dist/svg/location_on.svg +1 -0
- package/dist/svg/lock.svg +1 -0
- package/dist/svg/mail.svg +1 -0
- package/dist/svg/manege.svg +1 -0
- package/dist/svg/marktgelden.svg +1 -0
- package/dist/svg/meeuwenoverlast.svg +1 -0
- package/dist/svg/melding.svg +1 -0
- package/dist/svg/melding_omgevallen_boom.svg +1 -0
- package/dist/svg/melding_openbare_ruimte.svg +1 -0
- package/dist/svg/melding_straatverlichting.svg +1 -0
- package/dist/svg/menu.svg +1 -0
- package/dist/svg/milieuzone.svg +1 -0
- package/dist/svg/mobiliteit.svg +1 -0
- package/dist/svg/monitor_agrofood.svg +1 -0
- package/dist/svg/monitor_duurzaamheid.svg +1 -0
- package/dist/svg/monitor_sociaal.svg +1 -0
- package/dist/svg/monitor_virus.svg +1 -0
- package/dist/svg/monitor_woningmarkt.svg +1 -0
- package/dist/svg/monument.svg +1 -0
- package/dist/svg/monument_woning.svg +1 -0
- package/dist/svg/museum.svg +1 -0
- package/dist/svg/natuur_landschap.svg +1 -0
- package/dist/svg/nieuwsbrief.svg +1 -0
- package/dist/svg/nieuwsbrief_digitaal.svg +1 -0
- package/dist/svg/omgeving.svg +1 -0
- package/dist/svg/omgevingsvergunning.svg +1 -0
- package/dist/svg/omgevingsvisie.svg +1 -0
- package/dist/svg/omgevingsvisie_document.svg +1 -0
- package/dist/svg/onderhoud.svg +1 -0
- package/dist/svg/ondernemen.svg +1 -0
- package/dist/svg/onderscheidingen.svg +1 -0
- package/dist/svg/onderwijs.svg +1 -0
- package/dist/svg/onderwijs_basis.svg +1 -0
- package/dist/svg/onderwijs_hoger.svg +1 -0
- package/dist/svg/onderwijs_voortgezet.svg +1 -0
- package/dist/svg/ontheffing_milieuzone.svg +1 -0
- package/dist/svg/open_in_new.svg +1 -0
- package/dist/svg/openingstijden.svg +1 -0
- package/dist/svg/openingstijden_winkels.svg +1 -0
- package/dist/svg/over_de_gemeente.svg +1 -0
- package/dist/svg/over_de_stad.svg +1 -0
- package/dist/svg/overlijden.svg +1 -0
- package/dist/svg/parkeerkosten.svg +1 -0
- package/dist/svg/parkeerplattegrond.svg +1 -0
- package/dist/svg/parkeervergunning.svg +1 -0
- package/dist/svg/parkeervoorziening_gehandicapten.svg +1 -0
- package/dist/svg/parkeren.svg +1 -0
- package/dist/svg/parkeren_bedrijven.svg +1 -0
- package/dist/svg/participatie.svg +1 -0
- package/dist/svg/participatie_campagne.svg +1 -0
- package/dist/svg/participatie_checklist.svg +1 -0
- package/dist/svg/participatie_like.svg +1 -0
- package/dist/svg/participatie_pitch.svg +1 -0
- package/dist/svg/participatie_plan.svg +1 -0
- package/dist/svg/participatie_uitvoering.svg +1 -0
- package/dist/svg/paspoort.svg +1 -0
- package/dist/svg/paspoort_idkaart_gecombineerd.svg +1 -0
- package/dist/svg/paspoort_idkaart_gecombineerd_internationaal.svg +1 -0
- package/dist/svg/paspoort_internationaal.svg +1 -0
- package/dist/svg/person.svg +1 -0
- package/dist/svg/plattegrond.svg +1 -0
- package/dist/svg/polarisatie.svg +1 -0
- package/dist/svg/politiek.svg +1 -0
- package/dist/svg/portemonnee.svg +1 -0
- package/dist/svg/presentatie.svg +1 -0
- package/dist/svg/prijskaartje.svg +1 -0
- package/dist/svg/public.svg +1 -0
- package/dist/svg/raad_en_college.svg +1 -0
- package/dist/svg/reclame.svg +1 -0
- package/dist/svg/reclamebelasting.svg +1 -0
- package/dist/svg/recreatie.svg +1 -0
- package/dist/svg/recycle.svg +1 -0
- package/dist/svg/regeling_laag_inkomen.svg +1 -0
- package/dist/svg/rekenhulp.svg +1 -0
- package/dist/svg/rijbewijs.svg +1 -0
- package/dist/svg/riool.svg +1 -0
- package/dist/svg/rioolheffing.svg +1 -0
- package/dist/svg/rioolwerkzaamheden.svg +1 -0
- package/dist/svg/roerende_zaakbelasting.svg +1 -0
- package/dist/svg/rolstoel.svg +1 -0
- package/dist/svg/schedule.svg +1 -0
- package/dist/svg/schoolkostenregeling.svg +1 -0
- package/dist/svg/schuldhulpverlening.svg +1 -0
- package/dist/svg/search.svg +1 -0
- package/dist/svg/shield.svg +1 -0
- package/dist/svg/sinterklaas.svg +1 -0
- package/dist/svg/sociaal_zorg_welzijn.svg +1 -0
- package/dist/svg/sort.svg +1 -0
- package/dist/svg/speeltuin.svg +1 -0
- package/dist/svg/sport.svg +1 -0
- package/dist/svg/sport_culturele_activiteit.svg +1 -0
- package/dist/svg/sportkleding_muziekinstrumenten.svg +1 -0
- package/dist/svg/station_sneltrein.svg +1 -0
- package/dist/svg/station_stoptrein.svg +1 -0
- package/dist/svg/stookverbod.svg +1 -0
- package/dist/svg/strand.svg +1 -0
- package/dist/svg/subsidie.svg +1 -0
- package/dist/svg/temperatuur_melding.svg +1 -0
- package/dist/svg/thuiswerken.svg +1 -0
- package/dist/svg/toegankelijkheid.svg +1 -0
- package/dist/svg/toeslag.svg +1 -0
- package/dist/svg/trouwen_en_geregistreerd_partnerschap.svg +1 -0
- package/dist/svg/tuinbouw.svg +1 -0
- package/dist/svg/uitbuiting.svg +1 -0
- package/dist/svg/uittreksel.svg +1 -0
- package/dist/svg/upload.svg +1 -0
- package/dist/svg/uw_gemeente.svg +1 -0
- package/dist/svg/uw_wijk.svg +1 -0
- package/dist/svg/vacatures.svg +1 -0
- package/dist/svg/vaccinatie.svg +1 -0
- package/dist/svg/veerboot.svg +1 -0
- package/dist/svg/veilige_wijk.svg +1 -0
- package/dist/svg/vergaderen.svg +1 -0
- package/dist/svg/vergaderen_digitaal.svg +1 -0
- package/dist/svg/vergoeding_energiekosten.svg +1 -0
- package/dist/svg/vergunning_algemeen.svg +1 -0
- package/dist/svg/verhuizen.svg +1 -0
- package/dist/svg/verkeerslicht.svg +1 -0
- package/dist/svg/verkiezingen.svg +1 -0
- package/dist/svg/verslaving.svg +1 -0
- package/dist/svg/vervoersvoorziening.svg +1 -0
- package/dist/svg/virus.svg +1 -0
- package/dist/svg/vlag.svg +1 -0
- package/dist/svg/vluchtelingen_opvang.svg +1 -0
- package/dist/svg/voeding.svg +1 -0
- package/dist/svg/vpn_key.svg +1 -0
- package/dist/svg/vragen.svg +1 -0
- package/dist/svg/vrijwilligerswerk.svg +1 -0
- package/dist/svg/vuurwerk.svg +1 -0
- package/dist/svg/wandelen.svg +1 -0
- package/dist/svg/warning.svg +1 -0
- package/dist/svg/weerbaarheid.svg +1 -0
- package/dist/svg/weerbaarheid_digitaal.svg +1 -0
- package/dist/svg/welzijnswerk.svg +1 -0
- package/dist/svg/werkzaamheden.svg +1 -0
- package/dist/svg/wie_is_wie.svg +1 -0
- package/dist/svg/wijkteam.svg +1 -0
- package/dist/svg/windenergie.svg +1 -0
- package/dist/svg/winkelen.svg +1 -0
- package/dist/svg/winkelwagen.svg +1 -0
- package/dist/svg/wmo.svg +1 -0
- package/dist/svg/wolf.svg +1 -0
- package/dist/svg/woning_zoeken.svg +1 -0
- package/dist/svg/woz_waarde.svg +1 -0
- package/dist/svg/zelfbeheer_tegel.svg +1 -0
- package/dist/svg/zelfstandig_wonen.svg +1 -0
- package/dist/svg/zoeken.svg +1 -0
- package/dist/svg/zorgverzekering.svg +1 -0
- package/dist/svg/zwemabonnement.svg +1 -0
- package/dist/svg/zwemmen.svg +1 -0
- package/package.json +50 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2026 Gemeente Leiden
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,118 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @gemeenteleiden/icons
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
De iconenset van Gemeente Leiden voor de multisiteomgeving. Het package combineert iconen uit meerdere bronnen in één set met één formaat.
|
|
4
|
+
|
|
5
|
+
| Bron (`source`) | Welke iconen | Licentie |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| `material-symbols` | [Material Symbols](https://fonts.google.com/icons?icon.style=Sharp) (Sharp, weight 300, zonder fill): alleen de iconen in [icons.json](src/sources/material-symbols/icons.json) | Apache-2.0 |
|
|
8
|
+
| `opengemeenten` | [OpenGemeenten Iconenset](https://github.com/OpenGemeenten/Iconenset): **alle** iconen van de release en variant in [source.json](src/sources/opengemeenten/source.json) | CC0-1.0 |
|
|
9
|
+
| `custom` | Maatwerk: **alle** SVG's in [src/sources/custom/svg/](src/sources/custom/svg/) en [svg-multicolor/](src/sources/custom/svg-multicolor/) | — |
|
|
10
|
+
|
|
11
|
+
## Installeren
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @gemeenteleiden/icons
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Gebruik
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
import { icons } from '@gemeenteleiden/icons';
|
|
21
|
+
|
|
22
|
+
// icons: { value, label, source, multicolor, viewBox, nodes }[]
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
- `value` is de unieke naam van het icoon, in snake_case (bijvoorbeeld `arrow_right_alt` of `afval_gft`).
|
|
26
|
+
- `viewBox` verschilt per bron (Material Symbols `0 -960 960 960`, OpenGemeenten `0 0 48 48`). Neem hem dus altijd over van het icoon zelf.
|
|
27
|
+
- `nodes` is de inhoud van het `<svg>`-element als boom (`{ tag, attrs, children? }`), met SVG-attribuutnamen zoals `fill-rule`. Daarmee bouw je het icoon in elk framework op, zonder `innerHTML`.
|
|
28
|
+
|
|
29
|
+
Het package bevat:
|
|
30
|
+
|
|
31
|
+
| Pad | Inhoud |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| `@gemeenteleiden/icons` | ESM- en CommonJS-module met `icons`, plus TypeScript-types (`IconName`, `IconSource`, `Icon`) |
|
|
34
|
+
| `@gemeenteleiden/icons/icons.json` | Dezelfde gegevens als JSON, bijvoorbeeld om in PHP te lezen |
|
|
35
|
+
| `@gemeenteleiden/icons/svg/<naam>.svg` | Losse SVG-bestanden, bijvoorbeeld voor de WordPress Icon API |
|
|
36
|
+
|
|
37
|
+
Iconen kleuren mee met `currentColor`, behalve als `multicolor` `true` is (zoals bij het DigiD-logo). Die houden hun eigen kleuren. Attributen die bepalen hoe een icoon getekend wordt (zoals `fill="none"` en `stroke` bij lijn-iconen) staan nooit op het `<svg>`-element zelf, maar op de vormen daarbinnen. Je kunt dus veilig je eigen `fill`, `class` of `style` op `<svg>` zetten.
|
|
38
|
+
|
|
39
|
+
### Compatibel met de WordPress Icon API
|
|
40
|
+
|
|
41
|
+
Elk icoon is een platte lijst vormen met alleen de elementen en attributen die de [WordPress Icon API](https://developer.wordpress.org/reference/functions/wp_register_icon/) toelaat:
|
|
42
|
+
|
|
43
|
+
- **Elementen:** `path`, `rect`, `circle` of `polygon`.
|
|
44
|
+
- **Attributen:** `fill`, `fill-rule`, `clip-rule`, `stroke*`, `transform`, en de geometrie van de vorm.
|
|
45
|
+
|
|
46
|
+
WordPress haalt al het andere weg met kses, maar laat de inhoud van verwijderde elementen staan. De vorm uit een `<clipPath>` wordt dan zichtbaar en kan het icoon bedekken.
|
|
47
|
+
|
|
48
|
+
De build zet een icoon daarom automatisch om:
|
|
49
|
+
- `<g>` wordt platgeslagen: de attributen gaan naar de vormen erin.
|
|
50
|
+
- `<line>`, `<polyline>` en `<ellipse>` worden een `<path>`.
|
|
51
|
+
- Een clip-path die niets wegsnijdt, zoals de frame-clip die Figma bij elke export toevoegt, wordt verwijderd.
|
|
52
|
+
|
|
53
|
+
## Iconen toevoegen
|
|
54
|
+
|
|
55
|
+
**Material Symbols:** voeg het icoon toe aan [src/sources/material-symbols/icons.json](src/sources/material-symbols/icons.json). De naam vind je op [fonts.google.com/icons](https://fonts.google.com/icons?icon.style=Sharp).
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
{ "value": "arrow_forward", "label": "Arrow Forward" }
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
`label` is optioneel. Met `name` kun je een icoon onder een andere naam opnemen dan in Material Symbols.
|
|
62
|
+
|
|
63
|
+
**OpenGemeenten:** alle iconen worden automatisch opgenomen. Naar een nieuwe release overstappen:
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
npm run sync:opengemeenten -- 5.2.0
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Het script downloadt de release van GitHub en vervangt [src/sources/opengemeenten/svg/](src/sources/opengemeenten/svg/). Het werkt ook `source.json` en `LICENSE.md` bij. Commit die wijzigingen. De iconen staan bewust in deze repository, omdat de Iconenset niet als actueel npm-package beschikbaar is. Zo bouwt het package altijd met precies dezelfde iconen. De variant (`Line`, `Regular`, `Fill` of `Regular diapositive`) stel je in via `variant` in `source.json`, waarna je de sync opnieuw draait. Namen worden van PascalCase naar snake_case omgezet (`AfvalbakPMD` wordt `afvalbak_pmd`). Het label komt uit de `<title>` van de SVG.
|
|
70
|
+
|
|
71
|
+
**Maatwerk:** zet een SVG, bijvoorbeeld een export uit Figma, in een van deze twee mappen:
|
|
72
|
+
|
|
73
|
+
| Map | Voor | Kleuren |
|
|
74
|
+
| --- | --- | --- |
|
|
75
|
+
| [src/sources/custom/svg/](src/sources/custom/svg/) | éénkleurige iconen | worden `currentColor` |
|
|
76
|
+
| [src/sources/custom/svg-multicolor/](src/sources/custom/svg-multicolor/) | logo's en andere meerkleurige iconen | blijven behouden |
|
|
77
|
+
|
|
78
|
+
De bestandsnaam wordt de naam van het icoon, in kleine letters (`DigiD.svg` wordt `digid`). Het label komt uit de `<title>` of anders uit de bestandsnaam (`DigiD`). De SVG wordt opgeschoond met [SVGO] en omgezet naar het formaat hierboven.
|
|
79
|
+
|
|
80
|
+
Draai daarna `npm run build`. De build stopt met een lijst van **alle** problemen als een icoon:
|
|
81
|
+
- niet bestaat in de bron;
|
|
82
|
+
- een naam heeft die al door een andere bron wordt gebruikt;
|
|
83
|
+
- een ongeldige naam heeft (alleen kleine letters, cijfers en `_` zijn toegestaan);
|
|
84
|
+
- geen `viewBox` heeft;
|
|
85
|
+
- iets anders bevat dan vormen en groepen (`g`, `path`, `circle`, `ellipse`, `line`, `polygon`, `polyline`, `rect`). Verlopen, maskers, afbeeldingen, scripts, stijlen, links en event-attributen worden geweigerd;
|
|
86
|
+
- een clip-path heeft die echt iets wegsnijdt. Maak de clip in het ontwerpprogramma plat, in Figma met *Flatten* of *Outline stroke*;
|
|
87
|
+
- attributen heeft die de WordPress Icon API niet ondersteunt, zoals `opacity` op een groep.
|
|
88
|
+
|
|
89
|
+
## Een bron toevoegen
|
|
90
|
+
|
|
91
|
+
1. Maak een map in [src/sources/](src/sources/) met een `index.js`:
|
|
92
|
+
```js
|
|
93
|
+
export default {
|
|
94
|
+
id: 'mijn-bron', // wordt `source` op elk icoon
|
|
95
|
+
optimize: true, // opschonen met SVGO (false als de bron al schoon is)
|
|
96
|
+
location: 'beschrijving', // voor foutmeldingen
|
|
97
|
+
list: () => [{ value: 'naam', label: 'Label', file: '/absoluut/pad.svg' }],
|
|
98
|
+
};
|
|
99
|
+
```
|
|
100
|
+
`list()` bepaalt welke iconen worden opgenomen: een eigen lijst, zoals bij `material-symbols`, of alles uit een map met `listSvgDirectory()` uit [utils.js](src/sources/utils.js), zoals bij `opengemeenten` en `custom`.
|
|
101
|
+
2. Registreer de bron in [src/sources/index.js](src/sources/index.js).
|
|
102
|
+
3. Vermeld de licentie in de tabel hierboven en in `license` in `package.json`.
|
|
103
|
+
|
|
104
|
+
## Publiceren
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
npm version <patch|minor|major>
|
|
108
|
+
npm publish
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
`prepack` bouwt en controleert de set automatisch vóór elke publicatie.
|
|
112
|
+
|
|
113
|
+
## Licentie
|
|
114
|
+
|
|
115
|
+
- Material Symbols: © Google, [Apache License 2.0](LICENSE).
|
|
116
|
+
- OpenGemeenten Iconenset: [CC0 1.0](src/sources/opengemeenten/LICENSE.md).
|
|
117
|
+
|
|
118
|
+
[SVGO]: https://svgo.dev
|