@zevra/ui 0.49.0 → 0.50.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/DECISIONS.md +90 -0
- package/README.md +18 -0
- package/dist/catalogue.js +1 -1
- package/dist/catalogue.js.map +1 -1
- package/dist/css-inline.d.ts.map +1 -1
- package/dist/css-inline.js +1 -1
- package/dist/css-inline.js.map +1 -1
- package/dist/forms.js +1 -1
- package/dist/forms.js.map +1 -1
- package/dist/icon-data.d.ts +1 -1
- package/dist/icon-data.d.ts.map +1 -1
- package/dist/icon-data.js +86 -0
- package/dist/icon-data.js.map +1 -1
- package/dist/overlays.d.ts.map +1 -1
- package/dist/overlays.js +9 -3
- package/dist/overlays.js.map +1 -1
- package/dist/select-menu.d.ts.map +1 -1
- package/dist/select-menu.js +67 -5
- package/dist/select-menu.js.map +1 -1
- package/icons/LICENCE-lucide.txt +47 -0
- package/icons/index.json +301 -0
- package/icons/sprite.svg +43 -0
- package/package.json +2 -1
- package/react/catalogue.tsx +1 -1
- package/react/css-inline.ts +1 -1
- package/react/forms.tsx +1 -1
- package/react/icon-data.ts +129 -0
- package/react/overlays.tsx +9 -3
- package/react/select-menu.tsx +73 -6
- package/src/forms.css +32 -4
package/react/forms.tsx
CHANGED
package/react/icon-data.ts
CHANGED
|
@@ -4,152 +4,238 @@
|
|
|
4
4
|
export type IconId =
|
|
5
5
|
| 'accueil'
|
|
6
6
|
| 'activite'
|
|
7
|
+
| 'actualiser'
|
|
7
8
|
| 'aide'
|
|
9
|
+
| 'annuler'
|
|
8
10
|
| 'app-couches'
|
|
9
11
|
| 'applications'
|
|
10
12
|
| 'archiver'
|
|
11
13
|
| 'attention'
|
|
12
14
|
| 'avancer'
|
|
13
15
|
| 'balance'
|
|
16
|
+
| 'barres'
|
|
14
17
|
| 'base-de-donnees'
|
|
18
|
+
| 'batiment'
|
|
19
|
+
| 'billet'
|
|
15
20
|
| 'bouclier-verifie'
|
|
16
21
|
| 'cadenas'
|
|
22
|
+
| 'cadenas-ouvert'
|
|
17
23
|
| 'cadrer'
|
|
18
24
|
| 'calendrier'
|
|
25
|
+
| 'camembert'
|
|
26
|
+
| 'carte-bancaire'
|
|
19
27
|
| 'chevron-bas'
|
|
20
28
|
| 'chevron-droit'
|
|
21
29
|
| 'chevron-gauche'
|
|
22
30
|
| 'chevron-haut'
|
|
23
31
|
| 'citation'
|
|
32
|
+
| 'cle'
|
|
33
|
+
| 'cloche'
|
|
24
34
|
| 'coche'
|
|
35
|
+
| 'coche-cercle'
|
|
36
|
+
| 'code'
|
|
25
37
|
| 'copier'
|
|
26
38
|
| 'corbeille'
|
|
27
39
|
| 'courriel'
|
|
40
|
+
| 'crayon'
|
|
41
|
+
| 'croix-cercle'
|
|
28
42
|
| 'cube'
|
|
29
43
|
| 'deconnexion'
|
|
30
44
|
| 'depot-fichier'
|
|
31
45
|
| 'diplome'
|
|
32
46
|
| 'dossier'
|
|
47
|
+
| 'drapeau'
|
|
33
48
|
| 'eclair'
|
|
34
49
|
| 'empreinte'
|
|
35
50
|
| 'envoyer'
|
|
36
51
|
| 'epingle'
|
|
37
52
|
| 'equipe'
|
|
38
53
|
| 'etincelles'
|
|
54
|
+
| 'etiquette'
|
|
39
55
|
| 'etoile'
|
|
40
56
|
| 'fermer'
|
|
41
57
|
| 'fichier'
|
|
42
58
|
| 'filtre'
|
|
59
|
+
| 'fleche-bas'
|
|
60
|
+
| 'fleche-droite'
|
|
61
|
+
| 'fleche-gauche'
|
|
62
|
+
| 'fleche-haut'
|
|
43
63
|
| 'globe'
|
|
44
64
|
| 'graphique'
|
|
45
65
|
| 'gras'
|
|
66
|
+
| 'historique'
|
|
46
67
|
| 'horloge'
|
|
47
68
|
| 'image'
|
|
48
69
|
| 'imprimante'
|
|
49
70
|
| 'info'
|
|
50
71
|
| 'italique'
|
|
51
72
|
| 'lecture'
|
|
73
|
+
| 'lien'
|
|
52
74
|
| 'lien-externe'
|
|
53
75
|
| 'liste-a-puces'
|
|
76
|
+
| 'liste-coches'
|
|
54
77
|
| 'livre-ouvert'
|
|
78
|
+
| 'lune'
|
|
55
79
|
| 'menu'
|
|
80
|
+
| 'message'
|
|
56
81
|
| 'micro'
|
|
57
82
|
| 'moins'
|
|
58
83
|
| 'muet'
|
|
59
84
|
| 'oeil'
|
|
60
85
|
| 'oeil-barre'
|
|
86
|
+
| 'partager'
|
|
61
87
|
| 'pause'
|
|
88
|
+
| 'piece-jointe'
|
|
62
89
|
| 'plein-ecran'
|
|
63
90
|
| 'plus'
|
|
91
|
+
| 'plus-cercle'
|
|
92
|
+
| 'poignee'
|
|
93
|
+
| 'portefeuille'
|
|
94
|
+
| 'prise'
|
|
64
95
|
| 'recherche'
|
|
96
|
+
| 'recu'
|
|
65
97
|
| 'registre'
|
|
66
98
|
| 'reglages'
|
|
67
99
|
| 'rembobiner'
|
|
100
|
+
| 'repere'
|
|
68
101
|
| 'reseau'
|
|
102
|
+
| 'retablir'
|
|
103
|
+
| 'robot'
|
|
104
|
+
| 'sablier'
|
|
69
105
|
| 'signet'
|
|
106
|
+
| 'soleil'
|
|
70
107
|
| 'son'
|
|
108
|
+
| 'tableau-de-bord'
|
|
71
109
|
| 'taches'
|
|
72
110
|
| 'telecharger'
|
|
73
111
|
| 'telephone'
|
|
112
|
+
| 'televerser'
|
|
113
|
+
| 'terminal'
|
|
74
114
|
| 'tri'
|
|
75
115
|
| 'trois-points'
|
|
76
116
|
| 'utilisateur'
|
|
117
|
+
| 'utilisateur-moins'
|
|
118
|
+
| 'utilisateur-plus'
|
|
77
119
|
| 'video'
|
|
120
|
+
| 'webhook'
|
|
78
121
|
|
|
79
122
|
export const CORPS: Record<IconId, string> = {
|
|
80
123
|
'accueil': "<path d=\"M4 10.67 L12 4 L20 10.67 V20 H4 Z\" /><path d=\"M9.33 20 V13.33 H14.67 V20\" />",
|
|
81
124
|
'activite': "<path d=\"M3.33 12 H8 L10.67 5.33 L14 18.67 L16 12 H20.67\" />",
|
|
125
|
+
'actualiser': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\" /><path d=\"M8 16H3v5\" /></g>",
|
|
82
126
|
'aide': "<circle cx=\"12\" cy=\"12\" r=\"8.67\" /><path d=\"M9.33 9.33 A2.67 2.67 0 0 1 14.53 10.13 C14.53 11.87 12 12.27 12 14\" /><rect x=\"11.2\" y=\"16.27\" width=\"1.6\" height=\"1.6\" fill=\"currentColor\" stroke=\"none\" />",
|
|
127
|
+
'annuler': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M9 14 4 9l5-5\" /><path d=\"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11\" /></g>",
|
|
83
128
|
'app-couches': "<path d=\"M12 2.67 L20 6.67 L12 10.67 L4 6.67 Z\" /><path d=\"M4 12 L12 16 L20 12\" /><path d=\"M4 17.33 L12 21.33 L20 17.33\" />",
|
|
84
129
|
'applications': "<rect x=\"4\" y=\"4\" width=\"6.67\" height=\"6.67\" fill=\"currentColor\" stroke=\"none\" /><rect x=\"13.33\" y=\"4\" width=\"6.67\" height=\"6.67\" fill=\"currentColor\" stroke=\"none\" /><rect x=\"4\" y=\"13.33\" width=\"6.67\" height=\"6.67\" fill=\"currentColor\" stroke=\"none\" /><rect x=\"13.33\" y=\"13.33\" width=\"6.67\" height=\"6.67\" fill=\"currentColor\" stroke=\"none\" />",
|
|
85
130
|
'archiver': "<rect x=\"3.33\" y=\"4\" width=\"17.33\" height=\"4.67\" /><path d=\"M5.33 8.67 V18.93 A1.07 1.07 0 0 0 6.4 20 H17.6 A1.07 1.07 0 0 0 18.67 18.93 V8.67\" /><path d=\"M9.33 12.67 H14.67\" />",
|
|
86
131
|
'attention': "<path d=\"M10.67 3.87 L2.53 17.87 A1.55 1.55 0 0 0 3.87 20.19 H20.13 A1.55 1.55 0 0 0 21.47 17.87 L13.33 3.87 A1.54 1.54 0 0 0 10.67 3.87 Z\" /><path d=\"M12 9.33 V13.33\" /><rect x=\"11.2\" y=\"15.73\" width=\"1.6\" height=\"1.6\" fill=\"currentColor\" stroke=\"none\" />",
|
|
87
132
|
'avancer': "<path d=\"M4 6 L11 12 L4 18 Z\" fill=\"currentColor\" stroke=\"none\" /><path d=\"M13 6 L20 12 L13 18 Z\" fill=\"currentColor\" stroke=\"none\" />",
|
|
88
133
|
'balance': "<path d=\"M12 3.33 V20.67\" /><path d=\"M8.67 20.67 H15.33\" /><path d=\"M5.33 6 H18.67\" /><path d=\"M6.67 6 L3.33 13.33\" /><path d=\"M6.67 6 L10 13.33\" /><path d=\"M3.33 13.33 A3.33 3.33 0 0 0 10 13.33\" /><path d=\"M17.33 6 L14 13.33\" /><path d=\"M17.33 6 L20.67 13.33\" /><path d=\"M14 13.33 A3.33 3.33 0 0 0 20.67 13.33\" />",
|
|
134
|
+
'barres': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M3 3v16a2 2 0 0 0 2 2h16\" /><path d=\"M18 17V9\" /><path d=\"M13 17V5\" /><path d=\"M8 17v-3\" /></g>",
|
|
89
135
|
'base-de-donnees': "<ellipse cx=\"12\" cy=\"6\" rx=\"7.33\" ry=\"2.67\" /><path d=\"M4.67 6 V12 C4.67 13.47 7.87 14.67 12 14.67 C16.13 14.67 19.33 13.47 19.33 12 V6\" /><path d=\"M4.67 12 V18 C4.67 19.47 7.87 20.67 12 20.67 C16.13 20.67 19.33 19.47 19.33 18 V12\" />",
|
|
136
|
+
'batiment': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M10 12h4\" /><path d=\"M10 8h4\" /><path d=\"M14 21v-3a2 2 0 0 0-4 0v3\" /><path d=\"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2\" /><path d=\"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16\" /></g>",
|
|
137
|
+
'billet': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><rect width=\"20\" height=\"12\" x=\"2\" y=\"6\" rx=\"2\" /><circle cx=\"12\" cy=\"12\" r=\"2\" /><path d=\"M6 12h.01M18 12h.01\" /></g>",
|
|
90
138
|
'bouclier-verifie': "<path d=\"M12 2.67 L20 6 V12 C20 16.67 16.67 19.73 12 21.33 C7.33 19.73 4 16.67 4 12 V6 Z\" /><path d=\"M8.67 12 L11.07 14.4 L15.33 10\" />",
|
|
91
139
|
'cadenas': "<rect x=\"4.67\" y=\"10.67\" width=\"14.67\" height=\"9.33\" /><path d=\"M8 10.67 V7.33 A4 4 0 0 1 16 7.33 V10.67\" /><circle cx=\"12\" cy=\"15.33\" r=\"1.33\" />",
|
|
140
|
+
'cadenas-ouvert': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\" /><path d=\"M7 11V7a5 5 0 0 1 9.9-1\" /></g>",
|
|
92
141
|
'cadrer': "<path d=\"M4 8 V4 H8\" /><path d=\"M20 8 V4 H16\" /><path d=\"M4 16 V20 H8\" /><path d=\"M20 16 V20 H16\" />",
|
|
93
142
|
'calendrier': "<rect x=\"3.33\" y=\"4.67\" width=\"17.33\" height=\"16\" /><path d=\"M3.33 9.33 H20.67\" /><path d=\"M8 2.67 V6.67\" /><path d=\"M16 2.67 V6.67\" />",
|
|
143
|
+
'camembert': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z\" /><path d=\"M21.21 15.89A10 10 0 1 1 8 2.83\" /></g>",
|
|
144
|
+
'carte-bancaire': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><rect width=\"20\" height=\"14\" x=\"2\" y=\"5\" rx=\"2\" /><line x1=\"2\" x2=\"22\" y1=\"10\" y2=\"10\" /><path d=\"M6 14h2\" /></g>",
|
|
94
145
|
'chevron-bas': "<path d=\"M6.67 9.33 L12 14.67 L17.33 9.33\" />",
|
|
95
146
|
'chevron-droit': "<path d=\"M9.33 4 L17.33 12 L9.33 20\" />",
|
|
96
147
|
'chevron-gauche': "<path d=\"M14.67 4 L6.67 12 L14.67 20\" />",
|
|
97
148
|
'chevron-haut': "<path d=\"M6.67 14.67 L12 9.33 L17.33 14.67\" />",
|
|
98
149
|
'citation': "<path d=\"M4 14 V10 C4 7.8 5.8 6 8 6 V9 C6.9 9 6 9.9 6 11 H9 V14 Z\" /><path d=\"M14 14 V10 C14 7.8 15.8 6 18 6 V9 C16.9 9 16 9.9 16 11 H19 V14 Z\" />",
|
|
150
|
+
'cle': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\" /><circle cx=\"16.5\" cy=\"7.5\" r=\".5\" fill=\"currentColor\" /></g>",
|
|
151
|
+
'cloche': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M10.268 21a2 2 0 0 0 3.464 0\" /><path d=\"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326\" /></g>",
|
|
99
152
|
'coche': "<path d=\"M5 12.4 L9.4 16.8 L19 6.8\" />",
|
|
153
|
+
'coche-cercle': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"m16 9-5.5 5.5L8 12\" /></g>",
|
|
154
|
+
'code': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"m16 18 6-6-6-6\" /><path d=\"m8 6-6 6 6 6\" /></g>",
|
|
100
155
|
'copier': "<rect x=\"4\" y=\"4\" width=\"12\" height=\"12\" /><path d=\"M8 16 V18.93 A1.07 1.07 0 0 0 9.07 20 H18.93 A1.07 1.07 0 0 0 20 18.93 V9.07 A1.07 1.07 0 0 0 18.93 8 H16\" />",
|
|
101
156
|
'corbeille': "<path d=\"M4 6.67 H20\" /><path d=\"M9.33 6.67 V4.67 A1.33 1.33 0 0 1 10.67 3.33 H13.33 A1.33 1.33 0 0 1 14.67 4.67 V6.67\" /><path d=\"M6 6.67 L6.93 18.93 A1.33 1.33 0 0 0 8.27 20 H15.73 A1.33 1.33 0 0 0 17.07 18.93 L18 6.67\" /><path d=\"M10 10.67 V16.67\" /><path d=\"M14 10.67 V16.67\" />",
|
|
102
157
|
'courriel': "<rect x=\"2.67\" y=\"5.33\" width=\"18.67\" height=\"13.33\" /><path d=\"M2.67 7.33 L12 13.33 L21.33 7.33\" />",
|
|
158
|
+
'crayon': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\" /><path d=\"m15 5 4 4\" /></g>",
|
|
159
|
+
'croix-cercle': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"m15 9-6 6\" /><path d=\"m9 9 6 6\" /></g>",
|
|
103
160
|
'cube': "<path d=\"M3.33 8 L12 4 L20.67 8 V16 L12 20 L3.33 16 Z\" /><path d=\"M3.33 8 L12 12 L20.67 8\" /><path d=\"M12 12 V20\" />",
|
|
104
161
|
'deconnexion': "<path d=\"M14.67 4 H5.33 V20 H14.67\" /><path d=\"M10.67 12 H20\" /><path d=\"M16.67 8 L20.67 12 L16.67 16\" />",
|
|
105
162
|
'depot-fichier': "<path d=\"M12 3.2 V14.4\" /><polyline points=\"7.6,10 12,14.4 16.4,10\" /><path d=\"M4 16.8 v2.4 a1.6 1.6 0 0 0 1.6 1.6 h12.8 a1.6 1.6 0 0 0 1.6-1.6 v-2.4\" />",
|
|
106
163
|
'diplome': "<path d=\"M2.67 9.33 L12 4.67 L21.33 9.33 L12 14 Z\" /><path d=\"M6.67 11.6 V16 C6.67 17.47 9.07 18.67 12 18.67 C14.93 18.67 17.33 17.47 17.33 16 V11.6\" /><path d=\"M21.33 9.33 V14.67\" />",
|
|
107
164
|
'dossier': "<path d=\"M1.41 6.64a1.69 1.69 0 0 1 1.69-1.69h4.8l2.12 2.4h10.87a1.69 1.69 0 0 1 1.69 1.69v9.88a1.69 1.69 0 0 1-1.69 1.69H3.11A1.69 1.69 0 0 1 1.41 20.33V6.64Z\" />",
|
|
165
|
+
'drapeau': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\" /></g>",
|
|
108
166
|
'eclair': "<path d=\"M13.33 2.67 L5.33 13.33 H12 L10.67 21.33 L18.67 10.67 H12 Z\" />",
|
|
109
167
|
'empreinte': "<path d=\"M4 18.67 V14.67 A8 9.33 0 0 1 20 14.67 V17.33\" /><path d=\"M8 17.33 A4 5.33 0 0 1 16 17.33\" /><path d=\"M12 13.33 V20\" />",
|
|
110
168
|
'envoyer': "<path d=\"M21.33 2.67 L10.67 13.33\" /><path d=\"M21.33 2.67 L14.67 21.33 L10.67 13.33 L2.67 9.33 Z\" />",
|
|
111
169
|
'epingle': "<path d=\"M12 21.33 C7.56 16.89 5.33 13.42 5.33 10.67 A6.67 6.67 0 0 1 18.67 10.67 C18.67 13.42 16.44 16.89 12 21.33 Z\" /><circle cx=\"12\" cy=\"10.67\" r=\"2.4\" />",
|
|
112
170
|
'equipe': "<circle cx=\"9.33\" cy=\"8\" r=\"3.33\" /><path d=\"M3.33 20 C3.33 15.33 6 13.33 9.33 13.33 C12.67 13.33 15.33 15.33 15.33 20\" /><path d=\"M16 5.33 A2.93 2.93 0 0 1 16 11.07\" /><path d=\"M17.33 13.6 C19.73 14.27 20.67 16.4 20.67 20\" />",
|
|
113
171
|
'etincelles': "<path d=\"M12 2.67 L13.87 8.8 L20 10.67 L13.87 12.53 L12 18.67 L10.13 12.53 L4 10.67 L10.13 8.8 Z\" /><path d=\"M19.33 16.67 L20 18.67 L22 19.33 L20 20 L19.33 22 L18.67 20 L16.67 19.33 L18.67 18.67 Z\" />",
|
|
172
|
+
'etiquette': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z\" /><circle cx=\"7.5\" cy=\"7.5\" r=\".5\" fill=\"currentColor\" /></g>",
|
|
114
173
|
'etoile': "<path d=\"M12 3.33 L14.67 8.53 L20.4 9.37 L16.2 13.4 L17.2 19.07 L12 16.4 L6.8 19.07 L7.8 13.4 L3.6 9.37 L9.33 8.53 Z\" />",
|
|
115
174
|
'fermer': "<path d=\"M5.33 5.33 L18.67 18.67\" /><path d=\"M18.67 5.33 L5.33 18.67\" />",
|
|
116
175
|
'fichier': "<path d=\"M13.33 2.67 H6.67 A1.33 1.33 0 0 0 5.33 4 V20 A1.33 1.33 0 0 0 6.67 21.33 H17.33 A1.33 1.33 0 0 0 18.67 20 V8 Z\" /><path d=\"M13.33 2.67 V8 H18.67\" />",
|
|
117
176
|
'filtre': "<path d=\"M2.67 4 H21.33 L14.67 12.27 V18.67 L9.33 21.33 V12.27 Z\" />",
|
|
177
|
+
'fleche-bas': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M12 5v14\" /><path d=\"m19 12-7 7-7-7\" /></g>",
|
|
178
|
+
'fleche-droite': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M5 12h14\" /><path d=\"m12 5 7 7-7 7\" /></g>",
|
|
179
|
+
'fleche-gauche': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"m12 19-7-7 7-7\" /><path d=\"M19 12H5\" /></g>",
|
|
180
|
+
'fleche-haut': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"m5 12 7-7 7 7\" /><path d=\"M12 19V5\" /></g>",
|
|
118
181
|
'globe': "<circle cx=\"12\" cy=\"12\" r=\"8.67\" /><path d=\"M3.33 12 H20.67\" /><path d=\"M12 3.33 C14.22 5.64 15.47 8.71 15.47 12 C15.47 15.29 14.22 18.36 12 20.67 C9.78 18.36 8.53 15.29 8.53 12 C8.53 8.71 9.78 5.64 12 3.33 Z\" />",
|
|
119
182
|
'graphique': "<path d=\"M4 4 V20 H20\" /><path d=\"M8.67 20 V12.67\" /><path d=\"M12.67 20 V8\" /><path d=\"M16.67 20 V15.33\" />",
|
|
120
183
|
'gras': "<path d=\"M7 4 H13 C15.2 4 16.5 5.3 16.5 7.5 C16.5 9.7 15.2 11 13 11 H7 Z\" /><path d=\"M7 11 H14 C16.2 11 17.5 12.5 17.5 15 C17.5 17.5 16.2 19 14 19 H7 Z\" />",
|
|
184
|
+
'historique': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\" /><path d=\"M3 3v5h5\" /><path d=\"M12 7v5l4 2\" /></g>",
|
|
121
185
|
'horloge': "<circle cx=\"12\" cy=\"12\" r=\"8\" /><path d=\"M12 6.67 V12 L15.33 14\" />",
|
|
122
186
|
'image': "<path d=\"M3.5 5 H20.5 V19 H3.5 Z\" /><path d=\"M3.5 16 L9 10.5 L13.5 15 L16 12.5 L20.5 17\" /><path d=\"M15 8.5 H15.01\" />",
|
|
123
187
|
'imprimante': "<path d=\"M6.67 8 V3.33 H17.33 V8\" /><path d=\"M6.67 17.33 H4.67 A1.33 1.33 0 0 1 3.33 16 V10.67 A1.33 1.33 0 0 1 4.67 9.33 H19.33 A1.33 1.33 0 0 1 20.67 10.67 V16 A1.33 1.33 0 0 1 19.33 17.33 H17.33\" /><rect x=\"6.67\" y=\"13.33\" width=\"10.67\" height=\"7.33\" />",
|
|
124
188
|
'info': "<circle cx=\"12\" cy=\"12\" r=\"8.67\" /><path d=\"M12 11.33 V16\" /><rect x=\"11.2\" y=\"7.2\" width=\"1.6\" height=\"1.6\" fill=\"currentColor\" stroke=\"none\" />",
|
|
125
189
|
'italique': "<path d=\"M10 5 H18\" /><path d=\"M6 19 H14\" /><path d=\"M14.5 5 L9.5 19\" />",
|
|
126
190
|
'lecture': "<path d=\"M8 5 L19 12 L8 19 Z\" fill=\"currentColor\" stroke=\"none\" />",
|
|
191
|
+
'lien': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\" /><path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\" /></g>",
|
|
127
192
|
'lien-externe': "<path d=\"M10.67 4 H4 V20 H20 V13.33\" /><path d=\"M14.67 4 H20 V9.33\" /><path d=\"M20 4 L12 12\" />",
|
|
128
193
|
'liste-a-puces': "<path d=\"M9 6.5 H20\" /><path d=\"M9 12 H20\" /><path d=\"M9 17.5 H20\" /><path d=\"M4 5.5 H6 V7.5 H4 Z\" fill=\"currentColor\" stroke=\"none\" /><path d=\"M4 11 H6 V13 H4 Z\" fill=\"currentColor\" stroke=\"none\" /><path d=\"M4 16.5 H6 V18.5 H4 Z\" fill=\"currentColor\" stroke=\"none\" />",
|
|
194
|
+
'liste-coches': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M13 5h8\" /><path d=\"M13 12h8\" /><path d=\"M13 19h8\" /><path d=\"m3 17 2 2 4-4\" /><path d=\"m3 7 2 2 4-4\" /></g>",
|
|
129
195
|
'livre-ouvert': "<path d=\"M2.67 5.33 C5.33 4.67 7.78 4.89 12 6.67 C16.22 4.89 18.67 4.67 21.33 5.33 V18 C18.67 17.33 16.22 17.56 12 19.33 C7.78 17.56 5.33 17.33 2.67 18 Z\" /><path d=\"M12 6.67 V19.33\" />",
|
|
196
|
+
'lune': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\" /></g>",
|
|
130
197
|
'menu': "<path d=\"M0 5.33 H24\" /><path d=\"M0 12 H24\" /><path d=\"M0 18.67 H24\" />",
|
|
198
|
+
'message': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\" /></g>",
|
|
131
199
|
'micro': "<rect x=\"9.33\" y=\"3.33\" width=\"5.33\" height=\"10.67\" rx=\"2.67\" /><path d=\"M5.33 11.33 A6.67 6.67 0 0 0 18.67 11.33\" /><path d=\"M12 18 V20.67\" /><path d=\"M8.67 20.67 H15.33\" />",
|
|
132
200
|
'moins': "<path d=\"M4 12 H20\" />",
|
|
133
201
|
'muet': "<path d=\"M4 9.5 H7.5 L12 5.5 V18.5 L7.5 14.5 H4 Z\" /><path d=\"M16 10 L21 14\" /><path d=\"M21 10 L16 14\" />",
|
|
134
202
|
'oeil': "<path d=\"M2 12 C5.33 6.67 8.67 4.67 12 4.67 C15.33 4.67 18.67 6.67 22 12 C18.67 17.33 15.33 19.33 12 19.33 C8.67 19.33 5.33 17.33 2 12 Z\" /><circle cx=\"12\" cy=\"12\" r=\"2.67\" />",
|
|
135
203
|
'oeil-barre': "<path d=\"M3 12 C5.5 7.5 8.6 5.5 12 5.5 C15.4 5.5 18.5 7.5 21 12 C18.5 16.5 15.4 18.5 12 18.5 C8.6 18.5 5.5 16.5 3 12 Z\" /><path d=\"M9.5 12 A2.5 2.5 0 0 1 14.5 12 A2.5 2.5 0 0 1 9.5 12 Z\" /><path d=\"M4 20 L20 4\" />",
|
|
204
|
+
'partager': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><circle cx=\"18\" cy=\"5\" r=\"3\" /><circle cx=\"6\" cy=\"12\" r=\"3\" /><circle cx=\"18\" cy=\"19\" r=\"3\" /><line x1=\"8.59\" x2=\"15.42\" y1=\"13.51\" y2=\"17.49\" /><line x1=\"15.41\" x2=\"8.59\" y1=\"6.51\" y2=\"10.49\" /></g>",
|
|
136
205
|
'pause': "<path d=\"M9 5 H11 V19 H9 Z\" fill=\"currentColor\" stroke=\"none\" /><path d=\"M13 5 H15 V19 H13 Z\" fill=\"currentColor\" stroke=\"none\" />",
|
|
206
|
+
'piece-jointe': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551\" /></g>",
|
|
137
207
|
'plein-ecran': "<path d=\"M4 9 V4 H9\" /><path d=\"M20 9 V4 H15\" /><path d=\"M4 15 V20 H9\" /><path d=\"M20 15 V20 H15\" />",
|
|
138
208
|
'plus': "<path d=\"M12 4 V20\" /><path d=\"M4 12 H20\" />",
|
|
209
|
+
'plus-cercle': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"M8 12h8\" /><path d=\"M12 8v8\" /></g>",
|
|
210
|
+
'poignee': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><circle cx=\"9\" cy=\"12\" r=\"1\" /><circle cx=\"9\" cy=\"5\" r=\"1\" /><circle cx=\"9\" cy=\"19\" r=\"1\" /><circle cx=\"15\" cy=\"12\" r=\"1\" /><circle cx=\"15\" cy=\"5\" r=\"1\" /><circle cx=\"15\" cy=\"19\" r=\"1\" /></g>",
|
|
211
|
+
'portefeuille': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1\" /><path d=\"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4\" /></g>",
|
|
212
|
+
'prise': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M12 22v-5\" /><path d=\"M15 8V2\" /><path d=\"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z\" /><path d=\"M9 8V2\" /></g>",
|
|
139
213
|
'recherche': "<circle cx=\"10.67\" cy=\"10.67\" r=\"6\" /><path d=\"M15.33 15.33 L20 20\" />",
|
|
214
|
+
'recu': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M12 17V7\" /><path d=\"M16 8h-6a2 2 0 0 0 0 4h4a2 2 0 0 1 0 4H8\" /><path d=\"M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z\" /></g>",
|
|
140
215
|
'registre': "<rect x=\"3.33\" y=\"5.33\" width=\"17.33\" height=\"5.33\" /><rect x=\"3.33\" y=\"13.33\" width=\"17.33\" height=\"5.33\" /><rect x=\"5.87\" y=\"7.2\" width=\"1.6\" height=\"1.6\" fill=\"currentColor\" stroke=\"none\" /><rect x=\"5.87\" y=\"15.2\" width=\"1.6\" height=\"1.6\" fill=\"currentColor\" stroke=\"none\" />",
|
|
141
216
|
'reglages': "<circle cx=\"12\" cy=\"12\" r=\"2.93\" /><path d=\"M12 2 V4.67 M12 19.33 V22 M2 12 H4.67 M19.33 12 H22 M4.8 4.8 L6.67 6.67 M17.33 17.33 L19.2 19.2 M19.2 4.8 L17.33 6.67 M6.67 17.33 L4.8 19.2\" />",
|
|
142
217
|
'rembobiner': "<path d=\"M11 6 L4 12 L11 18 Z\" fill=\"currentColor\" stroke=\"none\" /><path d=\"M20 6 L13 12 L20 18 Z\" fill=\"currentColor\" stroke=\"none\" />",
|
|
218
|
+
'repere': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\" /><circle cx=\"12\" cy=\"10\" r=\"3\" /></g>",
|
|
143
219
|
'reseau': "<circle cx=\"12\" cy=\"12\" r=\"8\" /><path d=\"M4 12 H20\" /><path d=\"M12 4 C14.67 8 14.67 16 12 20\" /><path d=\"M12 4 C9.33 8 9.33 16 12 20\" />",
|
|
220
|
+
'retablir': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"m15 14 5-5-5-5\" /><path d=\"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13\" /></g>",
|
|
221
|
+
'robot': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M12 8V4H8\" /><rect width=\"16\" height=\"12\" x=\"4\" y=\"8\" rx=\"2\" /><path d=\"M2 14h2\" /><path d=\"M20 14h2\" /><path d=\"M15 13v2\" /><path d=\"M9 13v2\" /></g>",
|
|
222
|
+
'sablier': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M5 22h14\" /><path d=\"M5 2h14\" /><path d=\"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22\" /><path d=\"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2\" /></g>",
|
|
144
223
|
'signet': "<path d=\"M6 4 H18 V20 L12 15.5 L6 20 Z\" />",
|
|
224
|
+
'soleil': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><circle cx=\"12\" cy=\"12\" r=\"4\" /><path d=\"M12 2v2\" /><path d=\"M12 20v2\" /><path d=\"m4.93 4.93 1.41 1.41\" /><path d=\"m17.66 17.66 1.41 1.41\" /><path d=\"M2 12h2\" /><path d=\"M20 12h2\" /><path d=\"m6.34 17.66-1.41 1.41\" /><path d=\"m19.07 4.93-1.41 1.41\" /></g>",
|
|
145
225
|
'son': "<path d=\"M4 9.5 H7.5 L12 5.5 V18.5 L7.5 14.5 H4 Z\" /><path d=\"M16 9 C17.5 10.2 17.5 13.8 16 15\" /><path d=\"M18.8 6.6 C21.4 9 21.4 15 18.8 17.4\" />",
|
|
226
|
+
'tableau-de-bord': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><rect width=\"7\" height=\"9\" x=\"3\" y=\"3\" rx=\"1\" /><rect width=\"7\" height=\"5\" x=\"14\" y=\"3\" rx=\"1\" /><rect width=\"7\" height=\"9\" x=\"14\" y=\"12\" rx=\"1\" /><rect width=\"7\" height=\"5\" x=\"3\" y=\"16\" rx=\"1\" /></g>",
|
|
146
227
|
'taches': "<path d=\"M4.67 6.67 L6.67 8.67 L10 5.33\" /><path d=\"M4.67 16 L6.67 18 L10 14.67\" /><path d=\"M13.33 7.33 H20\" /><path d=\"M13.33 16.67 H20\" />",
|
|
147
228
|
'telecharger': "<path d=\"M12 3.33 V15.33\" /><polyline points=\"6.67,10 12,15.33 17.33,10\" /><path d=\"M4.67 20.67 H19.33\" />",
|
|
148
229
|
'telephone': "<path d=\"M20.67 16.93 V19.33 A1.6 1.6 0 0 1 18.93 20.93 C16.13 20.67 13.47 19.67 11.2 18.13 C9.09 16.71 7.29 14.91 5.87 12.8 C4.33 10.52 3.33 7.85 3.07 5.05 A1.6 1.6 0 0 1 4.67 3.33 H7.07 A1.6 1.6 0 0 1 8.67 4.71 C8.79 5.83 9.04 6.93 9.4 7.97 A1.6 1.6 0 0 1 9.04 9.65 L8 10.69 C9.32 13.01 11.03 14.71 13.33 16 L14.37 14.96 A1.6 1.6 0 0 1 16.05 14.6 C17.09 14.96 18.19 15.21 19.31 15.33 A1.6 1.6 0 0 1 20.67 16.93 Z\" />",
|
|
230
|
+
'televerser': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M12 3v12\" /><path d=\"m17 8-5-5-5 5\" /><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\" /></g>",
|
|
231
|
+
'terminal': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"m7 11 2-2-2-2\" /><path d=\"M11 13h4\" /><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\" /></g>",
|
|
149
232
|
'tri': "<path d=\"M8 4 V20\" /><path d=\"M4.67 7.33 L8 4 L11.33 7.33\" /><path d=\"M16 20 V4\" /><path d=\"M12.67 16.67 L16 20 L19.33 16.67\" />",
|
|
150
233
|
'trois-points': "<rect x=\"4\" y=\"10.67\" width=\"2.66\" height=\"2.66\" fill=\"currentColor\" stroke=\"none\" /><rect x=\"10.67\" y=\"10.67\" width=\"2.66\" height=\"2.66\" fill=\"currentColor\" stroke=\"none\" /><rect x=\"17.34\" y=\"10.67\" width=\"2.66\" height=\"2.66\" fill=\"currentColor\" stroke=\"none\" />",
|
|
151
234
|
'utilisateur': "<circle cx=\"12\" cy=\"8\" r=\"3.33\" /><path d=\"M5.33 20 C5.33 15.33 8.33 13.33 12 13.33 C15.67 13.33 18.67 15.33 18.67 20\" />",
|
|
235
|
+
'utilisateur-moins': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\" /><circle cx=\"9\" cy=\"7\" r=\"4\" /><line x1=\"22\" x2=\"16\" y1=\"11\" y2=\"11\" /></g>",
|
|
236
|
+
'utilisateur-plus': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\" /><circle cx=\"9\" cy=\"7\" r=\"4\" /><line x1=\"19\" x2=\"19\" y1=\"8\" y2=\"14\" /><line x1=\"22\" x2=\"16\" y1=\"11\" y2=\"11\" /></g>",
|
|
152
237
|
'video': "<path d=\"M3.5 6 H15 V18 H3.5 Z\" /><path d=\"M15 10 L20.5 7 V17 L15 14 Z\" />",
|
|
238
|
+
'webhook': "<g transform=\"matrix(0.9 0 0 0.9 1.20 1.20)\" stroke-width=\"2.222\"><path d=\"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2\" /><path d=\"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06\" /><path d=\"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8\" /></g>",
|
|
153
239
|
}
|
|
154
240
|
|
|
155
241
|
/** Nom lisible de chaque icône : sert de titre accessible par défaut à
|
|
@@ -157,75 +243,118 @@ export const CORPS: Record<IconId, string> = {
|
|
|
157
243
|
export const NOMS: Record<IconId, string> = {
|
|
158
244
|
'accueil': "Accueil",
|
|
159
245
|
'activite': "Activité (pouls)",
|
|
246
|
+
'actualiser': "Actualiser",
|
|
160
247
|
'aide': "Aide",
|
|
248
|
+
'annuler': "Annuler (défaire)",
|
|
161
249
|
'app-couches': "Application (couches)",
|
|
162
250
|
'applications': "Applications (lanceur)",
|
|
163
251
|
'archiver': "Archiver",
|
|
164
252
|
'attention': "Attention (avertissement)",
|
|
165
253
|
'avancer': "Avancer",
|
|
166
254
|
'balance': "Balance (justice)",
|
|
255
|
+
'barres': "Graphique en barres",
|
|
167
256
|
'base-de-donnees': "Base de données",
|
|
257
|
+
'batiment': "Bâtiment (organisation)",
|
|
258
|
+
'billet': "Billet",
|
|
168
259
|
'bouclier-verifie': "Bouclier vérifié (authentification)",
|
|
169
260
|
'cadenas': "Cadenas (secret)",
|
|
261
|
+
'cadenas-ouvert': "Cadenas ouvert",
|
|
170
262
|
'cadrer': "Cadrer (ajuster à la vue)",
|
|
171
263
|
'calendrier': "Calendrier",
|
|
264
|
+
'camembert': "Graphique en secteurs",
|
|
265
|
+
'carte-bancaire': "Carte bancaire",
|
|
172
266
|
'chevron-bas': "Chevron bas",
|
|
173
267
|
'chevron-droit': "Chevron droit",
|
|
174
268
|
'chevron-gauche': "Chevron gauche",
|
|
175
269
|
'chevron-haut': "Chevron haut",
|
|
176
270
|
'citation': "Citation",
|
|
271
|
+
'cle': "Clé",
|
|
272
|
+
'cloche': "Cloche (notifications)",
|
|
177
273
|
'coche': "Coche",
|
|
274
|
+
'coche-cercle': "Validé",
|
|
275
|
+
'code': "Code",
|
|
178
276
|
'copier': "Copier",
|
|
179
277
|
'corbeille': "Corbeille (supprimer)",
|
|
180
278
|
'courriel': "Courriel",
|
|
279
|
+
'crayon': "Crayon (modifier, renommer)",
|
|
280
|
+
'croix-cercle': "Refusé",
|
|
181
281
|
'cube': "Cube (stockage objet)",
|
|
182
282
|
'deconnexion': "Déconnexion",
|
|
183
283
|
'depot-fichier': "Dépôt de fichier (zone de glisser-déposer)",
|
|
184
284
|
'diplome': "Diplôme (Campus)",
|
|
185
285
|
'dossier': "Dossier",
|
|
286
|
+
'drapeau': "Drapeau",
|
|
186
287
|
'eclair': "Éclair (action rapide)",
|
|
187
288
|
'empreinte': "Empreinte (biométrie, passkey)",
|
|
188
289
|
'envoyer': "Envoyer",
|
|
189
290
|
'epingle': "Épingle (lieu)",
|
|
190
291
|
'equipe': "Équipe (membres)",
|
|
191
292
|
'etincelles': "Étincelles (IA)",
|
|
293
|
+
'etiquette': "Étiquette",
|
|
192
294
|
'etoile': "Étoile (favori)",
|
|
193
295
|
'fermer': "Fermer",
|
|
194
296
|
'fichier': "Fichier (document)",
|
|
195
297
|
'filtre': "Filtre",
|
|
298
|
+
'fleche-bas': "Flèche bas",
|
|
299
|
+
'fleche-droite': "Flèche droite",
|
|
300
|
+
'fleche-gauche': "Flèche gauche",
|
|
301
|
+
'fleche-haut': "Flèche haut",
|
|
196
302
|
'globe': "Globe (international)",
|
|
197
303
|
'graphique': "Graphique (barres)",
|
|
198
304
|
'gras': "Gras",
|
|
305
|
+
'historique': "Historique",
|
|
199
306
|
'horloge': "Horloge (intégration continue)",
|
|
200
307
|
'image': "Image",
|
|
201
308
|
'imprimante': "Imprimante",
|
|
202
309
|
'info': "Information",
|
|
203
310
|
'italique': "Italique",
|
|
204
311
|
'lecture': "Lecture",
|
|
312
|
+
'lien': "Lien",
|
|
205
313
|
'lien-externe': "Lien externe",
|
|
206
314
|
'liste-a-puces': "Liste à puces",
|
|
315
|
+
'liste-coches': "Liste cochée",
|
|
207
316
|
'livre-ouvert': "Livre ouvert (formation)",
|
|
317
|
+
'lune': "Lune",
|
|
208
318
|
'menu': "Menu (hamburger)",
|
|
319
|
+
'message': "Message",
|
|
209
320
|
'micro': "Micro (dictée)",
|
|
210
321
|
'moins': "Moins",
|
|
211
322
|
'muet': "Muet",
|
|
212
323
|
'oeil': "Œil (afficher)",
|
|
213
324
|
'oeil-barre': "Œil barré",
|
|
325
|
+
'partager': "Partager",
|
|
214
326
|
'pause': "Pause",
|
|
327
|
+
'piece-jointe': "Pièce jointe",
|
|
215
328
|
'plein-ecran': "Plein écran",
|
|
216
329
|
'plus': "Plus",
|
|
330
|
+
'plus-cercle': "Ajouter (cerclé)",
|
|
331
|
+
'poignee': "Poignée (glisser)",
|
|
332
|
+
'portefeuille': "Portefeuille",
|
|
333
|
+
'prise': "Prise (connecteur)",
|
|
217
334
|
'recherche': "Recherche (loupe)",
|
|
335
|
+
'recu': "Reçu (facture)",
|
|
218
336
|
'registre': "Registre (serveurs empilés)",
|
|
219
337
|
'reglages': "Réglages",
|
|
220
338
|
'rembobiner': "Rembobiner",
|
|
339
|
+
'repere': "Repère (lieu)",
|
|
221
340
|
'reseau': "Réseau (entrée / globe)",
|
|
341
|
+
'retablir': "Rétablir (refaire)",
|
|
342
|
+
'robot': "Robot (assistant)",
|
|
343
|
+
'sablier': "Sablier",
|
|
222
344
|
'signet': "Signet",
|
|
345
|
+
'soleil': "Soleil",
|
|
223
346
|
'son': "Son",
|
|
347
|
+
'tableau-de-bord': "Tableau de bord",
|
|
224
348
|
'taches': "Tâches (liste à cocher)",
|
|
225
349
|
'telecharger': "Télécharger",
|
|
226
350
|
'telephone': "Téléphone",
|
|
351
|
+
'televerser': "Téléverser",
|
|
352
|
+
'terminal': "Terminal",
|
|
227
353
|
'tri': "Tri",
|
|
228
354
|
'trois-points': "Trois points (menu contextuel)",
|
|
229
355
|
'utilisateur': "Utilisateur",
|
|
356
|
+
'utilisateur-moins': "Retirer une personne",
|
|
357
|
+
'utilisateur-plus': "Ajouter une personne",
|
|
230
358
|
'video': "Vidéo",
|
|
359
|
+
'webhook': "Webhook",
|
|
231
360
|
}
|
package/react/overlays.tsx
CHANGED
|
@@ -66,8 +66,14 @@ export function useOverlay({ ouvert, onClose, panneau, verrouille = true }: UseO
|
|
|
66
66
|
|
|
67
67
|
// ⚠️ La valeur PRÉCÉDENTE est restaurée, pas remise à '' : une page qui
|
|
68
68
|
// gérait déjà son propre défilement serait cassée par un reset aveugle.
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
// ⚠️ Sur `html`, JAMAIS sur `body` (DECISIONS, 03/11/2026) : overlays.css
|
|
70
|
+
// verrouille déjà `html` ; un `overflow` de plus sur `body` ne remonte
|
|
71
|
+
// alors plus au viewport, `body` devient un conteneur de défilement à
|
|
72
|
+
// zéro, et toute colonne `sticky` de la page saute en haut de `body`,
|
|
73
|
+
// hors de l'écran.
|
|
74
|
+
const racine = docu.documentElement
|
|
75
|
+
const overflowPrecedent = verrouille ? racine.style.overflow : null
|
|
76
|
+
if (verrouille) racine.style.overflow = 'hidden'
|
|
71
77
|
|
|
72
78
|
const premier = cible?.querySelector<HTMLElement>(FOCUSABLES)
|
|
73
79
|
premier?.focus()
|
|
@@ -99,7 +105,7 @@ export function useOverlay({ ouvert, onClose, panneau, verrouille = true }: UseO
|
|
|
99
105
|
docu.addEventListener('keydown', onKey)
|
|
100
106
|
return () => {
|
|
101
107
|
docu.removeEventListener('keydown', onKey)
|
|
102
|
-
if (overflowPrecedent !== null)
|
|
108
|
+
if (overflowPrecedent !== null) racine.style.overflow = overflowPrecedent
|
|
103
109
|
origine.current?.focus?.()
|
|
104
110
|
}
|
|
105
111
|
}, [ouvert, panneau, verrouille])
|
package/react/select-menu.tsx
CHANGED
|
@@ -20,9 +20,11 @@
|
|
|
20
20
|
// liste système est plus rapide à manipuler que n'importe quelle liste
|
|
21
21
|
// maison, et où le clavier logiciel s'adapte tout seul.
|
|
22
22
|
|
|
23
|
-
import { useCallback, useEffect, useId, useRef, useState } from 'react'
|
|
23
|
+
import { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from 'react'
|
|
24
|
+
import type { CSSProperties } from 'react'
|
|
24
25
|
import type { ReactNode } from 'react'
|
|
25
26
|
import { cx } from './cx.js'
|
|
27
|
+
import { Icon } from './icon.js'
|
|
26
28
|
|
|
27
29
|
export interface OptionSelect<T extends string = string> {
|
|
28
30
|
valeur: T
|
|
@@ -117,13 +119,70 @@ export function SelectMenu<T extends string = string>({
|
|
|
117
119
|
return () => doc.removeEventListener('pointerdown', dehors)
|
|
118
120
|
}, [ouvert])
|
|
119
121
|
|
|
122
|
+
// La place de la liste à l'écran (DECISIONS, 03/11/2026) : en `fixed`, elle
|
|
123
|
+
// échappe à tout conteneur qui rogne (un tableau qui défile, une carte en
|
|
124
|
+
// `overflow: hidden`). Calculée d'après la boîte du déclencheur, et
|
|
125
|
+
// recalculée quand la page ou un conteneur défile, ou que la fenêtre change.
|
|
126
|
+
const [place, setPlace] = useState<CSSProperties | null>(null)
|
|
127
|
+
useLayoutEffect(() => {
|
|
128
|
+
if (!ouvert) {
|
|
129
|
+
setPlace(null)
|
|
130
|
+
return
|
|
131
|
+
}
|
|
132
|
+
const vue = declencheur.current?.ownerDocument.defaultView ?? window
|
|
133
|
+
const ECART = 5
|
|
134
|
+
const MARGE = 8
|
|
135
|
+
function placer(e?: Event) {
|
|
136
|
+
// Le défilement de la liste ELLE-MÊME ne la déplace pas : sans ce
|
|
137
|
+
// filtre, chaque tour de molette dans une longue liste la replaçait.
|
|
138
|
+
if (e && e.target === liste.current) return
|
|
139
|
+
const d = declencheur.current
|
|
140
|
+
if (!d) return
|
|
141
|
+
const r = d.getBoundingClientRect()
|
|
142
|
+
// La largeur AVANT la mesure : sans elle, la liste vaut encore 100 % de
|
|
143
|
+
// la fenêtre au premier passage, et le garde-fou de droite la plaque à
|
|
144
|
+
// gauche de l'écran.
|
|
145
|
+
liste.current?.style.setProperty('--zv-menu-largeur', `${r.width}px`)
|
|
146
|
+
const hauteur = liste.current?.scrollHeight ?? 0
|
|
147
|
+
const largeur = Math.max(liste.current?.offsetWidth ?? 0, r.width)
|
|
148
|
+
const dessous = vue.innerHeight - r.bottom - ECART - MARGE
|
|
149
|
+
const dessus = r.top - ECART - MARGE
|
|
150
|
+
// Au-dessus seulement si la liste ne tient pas dessous ET qu'il y a
|
|
151
|
+
// davantage de place au-dessus : sinon on garde le sens attendu.
|
|
152
|
+
const enHaut = hauteur > dessous && dessus > dessous
|
|
153
|
+
const dispo = Math.max(120, enHaut ? dessus : dessous)
|
|
154
|
+
const visible = Math.min(hauteur, dispo)
|
|
155
|
+
setPlace({
|
|
156
|
+
position: 'fixed',
|
|
157
|
+
top: enHaut ? r.top - ECART - visible : r.bottom + ECART,
|
|
158
|
+
// Jamais hors de la fenêtre à droite.
|
|
159
|
+
left: Math.max(MARGE, Math.min(r.left, vue.innerWidth - largeur - MARGE)),
|
|
160
|
+
maxHeight: dispo,
|
|
161
|
+
'--zv-menu-largeur': `${r.width}px`,
|
|
162
|
+
} as CSSProperties)
|
|
163
|
+
}
|
|
164
|
+
placer()
|
|
165
|
+
vue.addEventListener('scroll', placer, true)
|
|
166
|
+
vue.addEventListener('resize', placer)
|
|
167
|
+
return () => {
|
|
168
|
+
vue.removeEventListener('scroll', placer, true)
|
|
169
|
+
vue.removeEventListener('resize', placer)
|
|
170
|
+
}
|
|
171
|
+
}, [ouvert, options.length])
|
|
172
|
+
|
|
120
173
|
// L'option active reste visible quand on parcourt une liste plus haute que
|
|
121
|
-
// son cadre.
|
|
174
|
+
// son cadre. `place` : la liste n'est bornée (hauteur maximale) qu'une fois
|
|
175
|
+
// placée ; avant, il n'y a rien à faire défiler, et une liste longue
|
|
176
|
+
// s'ouvrait en haut (« Algérie ») au lieu de l'option choisie (« France »).
|
|
177
|
+
// Sur le PASSAGE à « placée », pas sur chaque nouvelle place : la place
|
|
178
|
+
// change à chaque défilement de la page, et ramener l'option active à
|
|
179
|
+
// chaque fois contrarierait qui parcourt la liste.
|
|
180
|
+
const placee = place !== null
|
|
122
181
|
useEffect(() => {
|
|
123
|
-
if (!ouvert) return
|
|
182
|
+
if (!ouvert || !placee) return
|
|
124
183
|
const el = liste.current?.children[actif] as HTMLElement | undefined
|
|
125
184
|
el?.scrollIntoView({ block: 'nearest' })
|
|
126
|
-
}, [ouvert, actif])
|
|
185
|
+
}, [ouvert, actif, placee])
|
|
127
186
|
|
|
128
187
|
function suivant(depuis: number, pas: number): number {
|
|
129
188
|
const n = options.length
|
|
@@ -215,12 +274,20 @@ export function SelectMenu<T extends string = string>({
|
|
|
215
274
|
>
|
|
216
275
|
<span className="zv-trunc">{choisi ? choisi.label : placeholder}</span>
|
|
217
276
|
<span className="zv-select__chevron" aria-hidden="true">
|
|
218
|
-
|
|
277
|
+
<Icon nom="chevron-bas" taille="sm" />
|
|
219
278
|
</span>
|
|
220
279
|
</button>
|
|
221
280
|
|
|
222
281
|
{ouvert && (
|
|
223
|
-
<div
|
|
282
|
+
<div
|
|
283
|
+
ref={liste}
|
|
284
|
+
id={idListe}
|
|
285
|
+
role="listbox"
|
|
286
|
+
className="zv-menu zv-menu--place"
|
|
287
|
+
// Tant que la place n'est pas calculée (premier rendu), la liste est
|
|
288
|
+
// posée mais invisible : elle ne clignote pas à sa place d'origine.
|
|
289
|
+
style={place ?? { position: 'fixed', visibility: 'hidden' }}
|
|
290
|
+
>
|
|
224
291
|
{options.map((o, i) => (
|
|
225
292
|
<button
|
|
226
293
|
key={o.valeur}
|
package/src/forms.css
CHANGED
|
@@ -383,8 +383,21 @@
|
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
.zv-select-anchor--block .zv-menu {
|
|
386
|
-
|
|
387
|
-
|
|
386
|
+
/* En `fixed` (DECISIONS, 03/11/2026), 100 % vaudrait la fenêtre : la
|
|
387
|
+
* largeur du déclencheur arrive par `--zv-menu-largeur`. La liste en est
|
|
388
|
+
* le MINIMUM, pas la mesure : sous un déclencheur calé sur son contenu
|
|
389
|
+
* (« Membre »), l'option longue (« Administrateur ») débordait. Elle prend
|
|
390
|
+
* la largeur de ses options, jamais plus que la fenêtre. */
|
|
391
|
+
width: max-content;
|
|
392
|
+
min-width: var(--zv-menu-largeur, 100%);
|
|
393
|
+
max-width: calc(100vw - 16px);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/* La liste de SelectMenu, placée par le composant (`fixed`, haut, gauche,
|
|
397
|
+
* hauteur maximale) : elle défile au-delà de la place disponible. */
|
|
398
|
+
.zv-menu--place {
|
|
399
|
+
overflow-y: auto;
|
|
400
|
+
overscroll-behavior: contain;
|
|
388
401
|
}
|
|
389
402
|
|
|
390
403
|
/* ─── Déclencheur de sélection DESSINÉE ─────────────────────────────────
|
|
@@ -459,10 +472,25 @@
|
|
|
459
472
|
color: var(--accent);
|
|
460
473
|
}
|
|
461
474
|
|
|
462
|
-
/*
|
|
475
|
+
/* Le chevron : l'icône `chevron-bas` du jeu (DECISIONS, 02/11/2026). Il
|
|
476
|
+
* était un « ▾ » (U+25BE) de police, gras et petit, qui ne ressemblait à
|
|
477
|
+
* aucune icône. Il pivote d'un demi-tour quand la liste est ouverte.
|
|
478
|
+
* HORS RELEVÉ : la planche ne montrait que l'état fermé. */
|
|
463
479
|
.zv-select__chevron {
|
|
464
|
-
|
|
480
|
+
display: inline-flex;
|
|
481
|
+
flex: none;
|
|
465
482
|
color: var(--label);
|
|
483
|
+
transition: transform 140ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
[aria-expanded='true'] > .zv-select__chevron {
|
|
487
|
+
transform: rotate(180deg);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
@media (prefers-reduced-motion: reduce) {
|
|
491
|
+
.zv-select__chevron {
|
|
492
|
+
transition: none;
|
|
493
|
+
}
|
|
466
494
|
}
|
|
467
495
|
|
|
468
496
|
/* ─── Case à cocher et bouton radio ─────────────────────────────────────
|