@solidpepper/solidpepper-icons 0.0.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.
@@ -0,0 +1,458 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, inject, computed, Input, Component } from '@angular/core';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+
5
+ class SpIconRegistryService {
6
+ constructor() {
7
+ this.registry = new Map();
8
+ }
9
+ registerIcon(icon) {
10
+ if (icon && icon.name) {
11
+ this.registry.set(icon.name, icon);
12
+ }
13
+ }
14
+ registerIcons(icons) {
15
+ if (Array.isArray(icons)) {
16
+ for (const icon of icons) {
17
+ this.registerIcon(icon);
18
+ }
19
+ }
20
+ }
21
+ getIcon(name) {
22
+ return this.registry.get(name);
23
+ }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: SpIconRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
25
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: SpIconRegistryService, providedIn: 'root' }); }
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: SpIconRegistryService, decorators: [{
28
+ type: Injectable,
29
+ args: [{
30
+ providedIn: 'root'
31
+ }]
32
+ }] });
33
+ function provideSpIcons(icons) {
34
+ return [
35
+ {
36
+ provide: 'SP_ICON_INITIALIZER',
37
+ useFactory: (registry) => {
38
+ registry.registerIcons(icons);
39
+ },
40
+ deps: [SpIconRegistryService]
41
+ }
42
+ ];
43
+ }
44
+
45
+ class SpIconComponent {
46
+ constructor() {
47
+ this.sanitizer = inject(DomSanitizer);
48
+ this.registry = inject(SpIconRegistryService, { optional: true });
49
+ this.size = 20;
50
+ this.strokeWidth = 1.5;
51
+ this.class = '';
52
+ this.resolvedIcon = computed(() => {
53
+ if (this.icon)
54
+ return this.icon;
55
+ if (this.name && this.registry) {
56
+ return this.registry.getIcon(this.name);
57
+ }
58
+ return undefined;
59
+ }, ...(ngDevMode ? [{ debugName: "resolvedIcon" }] : []));
60
+ this.viewBox = computed(() => this.resolvedIcon()?.viewBox || '0 0 24 24', ...(ngDevMode ? [{ debugName: "viewBox" }] : []));
61
+ this.iconName = computed(() => this.resolvedIcon()?.name || this.name || '', ...(ngDevMode ? [{ debugName: "iconName" }] : []));
62
+ this.safePaths = computed(() => {
63
+ const iconObj = this.resolvedIcon();
64
+ const rawPaths = iconObj ? iconObj.paths : '';
65
+ return this.sanitizer.bypassSecurityTrustHtml(rawPaths);
66
+ }, ...(ngDevMode ? [{ debugName: "safePaths" }] : []));
67
+ }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: SpIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: SpIconComponent, isStandalone: true, selector: "sp-icon", inputs: { icon: "icon", name: "name", size: "size", color: "color", fill: "fill", strokeWidth: "strokeWidth", class: "class", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
70
+ <svg
71
+ xmlns="http://www.w3.org/2000/svg"
72
+ [attr.viewBox]="viewBox()"
73
+ [attr.width]="size"
74
+ [attr.height]="size"
75
+ [attr.stroke]="color || 'currentColor'"
76
+ [attr.fill]="fill || 'none'"
77
+ [attr.stroke-width]="strokeWidth"
78
+ stroke-linecap="round"
79
+ stroke-linejoin="round"
80
+ [class]="class"
81
+ [attr.aria-label]="ariaLabel || iconName()"
82
+ [attr.aria-hidden]="!ariaLabel"
83
+ [innerHTML]="safePaths()"
84
+ class="inline-block shrink-0 align-middle transition-colors duration-150">
85
+ </svg>
86
+ `, isInline: true, styles: [":host{display:inline-flex;align-items:center;justify-content:center;line-height:0}\n"] }); }
87
+ }
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: SpIconComponent, decorators: [{
89
+ type: Component,
90
+ args: [{ selector: 'sp-icon', standalone: true, template: `
91
+ <svg
92
+ xmlns="http://www.w3.org/2000/svg"
93
+ [attr.viewBox]="viewBox()"
94
+ [attr.width]="size"
95
+ [attr.height]="size"
96
+ [attr.stroke]="color || 'currentColor'"
97
+ [attr.fill]="fill || 'none'"
98
+ [attr.stroke-width]="strokeWidth"
99
+ stroke-linecap="round"
100
+ stroke-linejoin="round"
101
+ [class]="class"
102
+ [attr.aria-label]="ariaLabel || iconName()"
103
+ [attr.aria-hidden]="!ariaLabel"
104
+ [innerHTML]="safePaths()"
105
+ class="inline-block shrink-0 align-middle transition-colors duration-150">
106
+ </svg>
107
+ `, styles: [":host{display:inline-flex;align-items:center;justify-content:center;line-height:0}\n"] }]
108
+ }], propDecorators: { icon: [{
109
+ type: Input
110
+ }], name: [{
111
+ type: Input
112
+ }], size: [{
113
+ type: Input
114
+ }], color: [{
115
+ type: Input
116
+ }], fill: [{
117
+ type: Input
118
+ }], strokeWidth: [{
119
+ type: Input
120
+ }], class: [{
121
+ type: Input
122
+ }], ariaLabel: [{
123
+ type: Input
124
+ }] } });
125
+
126
+ const spIconHome = {
127
+ name: 'home',
128
+ category: 'navigation',
129
+ tags: ['home', 'dashboard', 'house', 'accueil', 'main'],
130
+ viewBox: '0 0 24 24',
131
+ paths: '<path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/>'
132
+ };
133
+ const spIconFiles = {
134
+ name: 'files',
135
+ category: 'navigation',
136
+ tags: ['files', 'projects', 'fichiers', 'projets', 'documents'],
137
+ viewBox: '0 0 24 24',
138
+ paths: '<path d="M20 7h-3a2 2 0 0 1-2-2V2"/><path d="M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z"/><path d="M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8"/>'
139
+ };
140
+ const spIconFolder = {
141
+ name: 'folder',
142
+ category: 'navigation',
143
+ tags: ['folder', 'models', 'dossier', 'templates', 'modèles'],
144
+ viewBox: '0 0 24 24',
145
+ paths: '<path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/>'
146
+ };
147
+ const spIconDatabase = {
148
+ name: 'database',
149
+ category: 'navigation',
150
+ tags: ['database', 'data', 'données', 'base', 'baza'],
151
+ viewBox: '0 0 24 24',
152
+ paths: '<ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5V19A9 3 0 0 0 21 19V5"/><path d="M3 12A9 3 0 0 0 21 12"/>'
153
+ };
154
+ const spIconMedia = {
155
+ name: 'media',
156
+ category: 'navigation',
157
+ tags: ['media', 'image', 'picture', 'dam', 'assets', 'photos'],
158
+ viewBox: '0 0 24 24',
159
+ paths: '<rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/>'
160
+ };
161
+ const spIconMenu = {
162
+ name: 'menu',
163
+ category: 'navigation',
164
+ tags: ['menu', 'burger', 'hamburger', 'navigation', 'bars'],
165
+ viewBox: '0 0 24 24',
166
+ paths: '<line x1="4" x2="20" y1="6" y2="6"/><line x1="4" x2="20" y1="12" y2="12"/><line x1="4" x2="20" y1="18" y2="18"/>'
167
+ };
168
+ const spIconClose = {
169
+ name: 'close',
170
+ category: 'navigation',
171
+ tags: ['close', 'fermer', 'x', 'cancel', 'cross'],
172
+ viewBox: '0 0 24 24',
173
+ paths: '<path d="M18 6 6 18"/><path d="m6 6 12 12"/>'
174
+ };
175
+ const spIconChevronDown = {
176
+ name: 'chevron-down',
177
+ category: 'navigation',
178
+ tags: ['chevron', 'down', 'arrow', 'bas', 'flèche'],
179
+ viewBox: '0 0 24 24',
180
+ paths: '<path d="m6 9 6 6 6-6"/>'
181
+ };
182
+ const spIconChevronRight = {
183
+ name: 'chevron-right',
184
+ category: 'navigation',
185
+ tags: ['chevron', 'right', 'arrow', 'droite', 'flèche'],
186
+ viewBox: '0 0 24 24',
187
+ paths: '<path d="m9 18 6-6-6-6"/>'
188
+ };
189
+
190
+ const spIconSettings = {
191
+ name: 'settings',
192
+ category: 'actions',
193
+ tags: ['settings', 'paramètres', 'cog', 'gear', 'configuration'],
194
+ viewBox: '0 0 24 24',
195
+ paths: '<path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3"/>'
196
+ };
197
+ const spIconLogOut = {
198
+ name: 'logout',
199
+ category: 'actions',
200
+ tags: ['logout', 'déconnexion', 'exit', 'signout', 'leave'],
201
+ viewBox: '0 0 24 24',
202
+ paths: '<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" x2="9" y1="12" y2="12"/>'
203
+ };
204
+ const spIconUser = {
205
+ name: 'user',
206
+ category: 'actions',
207
+ tags: ['user', 'profile', 'utilisateur', 'compte', 'avatar', 'person'],
208
+ viewBox: '0 0 24 24',
209
+ paths: '<path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/>'
210
+ };
211
+ const spIconSearch = {
212
+ name: 'search',
213
+ category: 'actions',
214
+ tags: ['search', 'recherche', 'find', 'loupe', 'glass', 'query'],
215
+ viewBox: '0 0 24 24',
216
+ paths: '<circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/>'
217
+ };
218
+ const spIconPlus = {
219
+ name: 'plus',
220
+ category: 'actions',
221
+ tags: ['plus', 'add', 'ajouter', 'nouveau', 'create'],
222
+ viewBox: '0 0 24 24',
223
+ paths: '<path d="M5 12h14"/><path d="M12 5v14"/>'
224
+ };
225
+ const spIconTrash = {
226
+ name: 'trash',
227
+ category: 'actions',
228
+ tags: ['trash', 'delete', 'supprimer', 'corbeille', 'remove'],
229
+ viewBox: '0 0 24 24',
230
+ paths: '<path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/>'
231
+ };
232
+ const spIconEdit = {
233
+ name: 'edit',
234
+ category: 'actions',
235
+ tags: ['edit', 'modifier', 'pencil', 'crayon', 'update'],
236
+ viewBox: '0 0 24 24',
237
+ paths: '<path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"/><path d="m15 5 4 4"/>'
238
+ };
239
+ const spIconDownload = {
240
+ name: 'download',
241
+ category: 'actions',
242
+ tags: ['download', 'télécharger', 'import', 'save', 'export'],
243
+ viewBox: '0 0 24 24',
244
+ paths: '<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" x2="12" y1="15" y2="3"/>'
245
+ };
246
+ const spIconUpload = {
247
+ name: 'upload',
248
+ category: 'actions',
249
+ tags: ['upload', 'téléverser', 'import', 'cloud', 'dam'],
250
+ viewBox: '0 0 24 24',
251
+ paths: '<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="17 8 12 3 7 8"/><line x1="12" x2="12" y1="3" y2="15"/>'
252
+ };
253
+ const spIconFilter = {
254
+ name: 'filter',
255
+ category: 'actions',
256
+ tags: ['filter', 'filtrer', 'funnel', 'trier', 'sort'],
257
+ viewBox: '0 0 24 24',
258
+ paths: '<polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"/>'
259
+ };
260
+ const spIconEye = {
261
+ name: 'eye',
262
+ category: 'actions',
263
+ tags: ['eye', 'preview', 'aperçu', 'voir', 'view'],
264
+ viewBox: '0 0 24 24',
265
+ paths: '<path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"/><circle cx="12" cy="12" r="3"/>'
266
+ };
267
+ const spIconShare = {
268
+ name: 'share',
269
+ category: 'actions',
270
+ tags: ['share', 'partager', 'export', 'send', 'link'],
271
+ viewBox: '0 0 24 24',
272
+ paths: '<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="10.51" y2="6.49"/><line x1="8.59" x2="15.42" y1="13.49" y2="17.51"/>'
273
+ };
274
+ const spIconMoreVertical = {
275
+ name: 'more-vertical',
276
+ category: 'actions',
277
+ tags: ['more', 'vertical', 'dots', 'menu', 'options'],
278
+ viewBox: '0 0 24 24',
279
+ paths: '<circle cx="12" cy="12" r="1"/><circle cx="12" cy="5" r="1"/><circle cx="12" cy="19" r="1"/>'
280
+ };
281
+ const spIconCompass = {
282
+ name: 'compass',
283
+ category: 'actions',
284
+ tags: ['compass', 'boussole', 'guide', 'tutoriel', 'navigation'],
285
+ viewBox: '0 0 24 24',
286
+ paths: '<circle cx="12" cy="12" r="10"/><polygon points="16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"/>'
287
+ };
288
+ const spIconRefresh = {
289
+ name: 'refresh',
290
+ category: 'actions',
291
+ tags: ['refresh', 'rotate', 'restart', 'recommencer', 'reload'],
292
+ viewBox: '0 0 24 24',
293
+ paths: '<path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67"/>'
294
+ };
295
+ const spIconCopy = {
296
+ name: 'copy',
297
+ category: 'actions',
298
+ tags: ['copy', 'copier', 'duplicate', 'dupliquer', 'clone'],
299
+ viewBox: '0 0 24 24',
300
+ paths: '<rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>'
301
+ };
302
+ const spIconFolderPlus = {
303
+ name: 'folder-plus',
304
+ category: 'actions',
305
+ tags: ['folder', 'plus', 'add', 'nouveau dossier', 'create'],
306
+ viewBox: '0 0 24 24',
307
+ paths: '<path d="M12 10v6"/><path d="M9 13h6"/><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/>'
308
+ };
309
+ const spIconArrowUp = {
310
+ name: 'arrow-up',
311
+ category: 'actions',
312
+ tags: ['arrow', 'up', 'haut', 'trier', 'ascendant'],
313
+ viewBox: '0 0 24 24',
314
+ paths: '<path d="m5 12 7-7 7 7"/><path d="M12 19V5"/>'
315
+ };
316
+ const spIconArrowDown = {
317
+ name: 'arrow-down',
318
+ category: 'actions',
319
+ tags: ['arrow', 'down', 'bas', 'trier', 'descendant'],
320
+ viewBox: '0 0 24 24',
321
+ paths: '<path d="M12 5v14"/><path d="m19 12-7 7-7-7"/>'
322
+ };
323
+
324
+ const spIconBookOpen = {
325
+ name: 'book-open',
326
+ category: 'media',
327
+ tags: ['book', 'youbooky', 'open', 'livre', 'lecture'],
328
+ viewBox: '0 0 24 24',
329
+ paths: '<path d="M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"/>'
330
+ };
331
+ const spIconBook = {
332
+ name: 'book',
333
+ category: 'media',
334
+ tags: ['book', 'catalogue', 'livre', 'publication'],
335
+ viewBox: '0 0 24 24',
336
+ paths: '<path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20"/>'
337
+ };
338
+ const spIconFilePlus = {
339
+ name: 'file-plus',
340
+ category: 'media',
341
+ tags: ['file', 'document', 'plus', 'add', 'nouveau'],
342
+ viewBox: '0 0 24 24',
343
+ paths: '<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="12" y1="18" x2="12" y2="12"/><line x1="9" y1="15" x2="15" y2="15"/>'
344
+ };
345
+ const spIconFileText = {
346
+ name: 'file-text',
347
+ category: 'media',
348
+ tags: ['file', 'text', 'fiche', 'technique', 'doc'],
349
+ viewBox: '0 0 24 24',
350
+ paths: '<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><line x1="10" y1="9" x2="8" y2="9"/>'
351
+ };
352
+ const spIconGrid = {
353
+ name: 'grid',
354
+ category: 'media',
355
+ tags: ['grid', 'grille', 'view', 'layout', 'dam'],
356
+ viewBox: '0 0 24 24',
357
+ paths: '<rect width="7" height="7" x="3" y="3" rx="1"/><rect width="7" height="7" x="14" y="3" rx="1"/><rect width="7" height="7" x="14" y="14" rx="1"/><rect width="7" height="7" x="3" y="14" rx="1"/>'
358
+ };
359
+ const spIconList = {
360
+ name: 'list',
361
+ category: 'media',
362
+ tags: ['list', 'liste', 'view', 'rows', 'lines'],
363
+ viewBox: '0 0 24 24',
364
+ paths: '<line x1="8" x2="21" y1="6" y2="6"/><line x1="8" x2="21" y1="12" y2="12"/><line x1="8" x2="21" y1="18" y2="18"/><line x1="3" x2="3.01" y1="6" y2="6"/><line x1="3" x2="3.01" y1="12" y2="12"/><line x1="3" x2="3.01" y1="18" y2="18"/>'
365
+ };
366
+
367
+ const spIconCheck = {
368
+ name: 'check',
369
+ category: 'ui',
370
+ tags: ['check', 'valider', 'success', 'ok', 'tick'],
371
+ viewBox: '0 0 24 24',
372
+ paths: '<path d="M20 6 9 17l-5-5"/>'
373
+ };
374
+ const spIconInfo = {
375
+ name: 'info',
376
+ category: 'ui',
377
+ tags: ['info', 'information', 'help', 'aide', 'details'],
378
+ viewBox: '0 0 24 24',
379
+ paths: '<circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/>'
380
+ };
381
+ const spIconAlert = {
382
+ name: 'alert',
383
+ category: 'ui',
384
+ tags: ['alert', 'warning', 'attention', 'error', 'erreur', 'exclamation'],
385
+ viewBox: '0 0 24 24',
386
+ paths: '<path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"/><line x1="12" x2="12" y1="9" y2="13"/><line x1="12" x2="12.01" y1="17" y2="17"/>'
387
+ };
388
+ const spIconSun = {
389
+ name: 'sun',
390
+ category: 'ui',
391
+ tags: ['sun', 'soleil', 'light', 'mode', 'day'],
392
+ viewBox: '0 0 24 24',
393
+ paths: '<circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"/>'
394
+ };
395
+ const spIconMoon = {
396
+ name: 'moon',
397
+ category: 'ui',
398
+ tags: ['moon', 'lune', 'dark', 'mode', 'night'],
399
+ viewBox: '0 0 24 24',
400
+ paths: '<path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"/>'
401
+ };
402
+ const spIconStar = {
403
+ name: 'star',
404
+ category: 'ui',
405
+ tags: ['star', 'étoile', 'favorite', 'favoris', 'badge', 'default'],
406
+ viewBox: '0 0 24 24',
407
+ paths: '<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>'
408
+ };
409
+
410
+ const ALL_SP_ICONS = [
411
+ spIconHome,
412
+ spIconFiles,
413
+ spIconFolder,
414
+ spIconDatabase,
415
+ spIconMedia,
416
+ spIconMenu,
417
+ spIconClose,
418
+ spIconChevronDown,
419
+ spIconChevronRight,
420
+ spIconSettings,
421
+ spIconLogOut,
422
+ spIconUser,
423
+ spIconSearch,
424
+ spIconPlus,
425
+ spIconTrash,
426
+ spIconEdit,
427
+ spIconDownload,
428
+ spIconUpload,
429
+ spIconFilter,
430
+ spIconEye,
431
+ spIconShare,
432
+ spIconMoreVertical,
433
+ spIconCompass,
434
+ spIconRefresh,
435
+ spIconCopy,
436
+ spIconFolderPlus,
437
+ spIconArrowUp,
438
+ spIconArrowDown,
439
+ spIconBookOpen,
440
+ spIconBook,
441
+ spIconFilePlus,
442
+ spIconFileText,
443
+ spIconGrid,
444
+ spIconList,
445
+ spIconCheck,
446
+ spIconInfo,
447
+ spIconAlert,
448
+ spIconSun,
449
+ spIconMoon,
450
+ spIconStar
451
+ ];
452
+
453
+ /**
454
+ * Generated bundle index. Do not edit.
455
+ */
456
+
457
+ export { ALL_SP_ICONS, SpIconComponent, SpIconRegistryService, provideSpIcons, spIconAlert, spIconArrowDown, spIconArrowUp, spIconBook, spIconBookOpen, spIconCheck, spIconChevronDown, spIconChevronRight, spIconClose, spIconCompass, spIconCopy, spIconDatabase, spIconDownload, spIconEdit, spIconEye, spIconFilePlus, spIconFileText, spIconFiles, spIconFilter, spIconFolder, spIconFolderPlus, spIconGrid, spIconHome, spIconInfo, spIconList, spIconLogOut, spIconMedia, spIconMenu, spIconMoon, spIconMoreVertical, spIconPlus, spIconRefresh, spIconSearch, spIconSettings, spIconShare, spIconStar, spIconSun, spIconTrash, spIconUpload, spIconUser };
458
+ //# sourceMappingURL=solidpepper-solidpepper-icons.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"solidpepper-solidpepper-icons.mjs","sources":["../../../projects/solidpepper-icons/src/lib/sp-icon-registry.service.ts","../../../projects/solidpepper-icons/src/lib/sp-icon.component.ts","../../../projects/solidpepper-icons/src/lib/icons/navigation.ts","../../../projects/solidpepper-icons/src/lib/icons/actions.ts","../../../projects/solidpepper-icons/src/lib/icons/media.ts","../../../projects/solidpepper-icons/src/lib/icons/ui.ts","../../../projects/solidpepper-icons/src/lib/icons/index.ts","../../../projects/solidpepper-icons/src/solidpepper-solidpepper-icons.ts"],"sourcesContent":["import { Injectable, Provider } from '@angular/core';\nimport { SpIcon } from './sp-icon.types';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SpIconRegistryService {\n private registry = new Map<string, SpIcon>();\n\n registerIcon(icon: SpIcon): void {\n if (icon && icon.name) {\n this.registry.set(icon.name, icon);\n }\n }\n\n registerIcons(icons: SpIcon[]): void {\n if (Array.isArray(icons)) {\n for (const icon of icons) {\n this.registerIcon(icon);\n }\n }\n }\n\n getIcon(name: string): SpIcon | undefined {\n return this.registry.get(name);\n }\n}\n\nexport function provideSpIcons(icons: SpIcon[]): Provider[] {\n return [\n {\n provide: 'SP_ICON_INITIALIZER',\n useFactory: (registry: SpIconRegistryService) => {\n registry.registerIcons(icons);\n },\n deps: [SpIconRegistryService]\n }\n ];\n}\n","import { Component, Input, computed, inject } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { SpIcon } from './sp-icon.types';\nimport { SpIconRegistryService } from './sp-icon-registry.service';\n\n@Component({\n selector: 'sp-icon',\n standalone: true,\n template: `\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n [attr.viewBox]=\"viewBox()\"\n [attr.width]=\"size\"\n [attr.height]=\"size\"\n [attr.stroke]=\"color || 'currentColor'\"\n [attr.fill]=\"fill || 'none'\"\n [attr.stroke-width]=\"strokeWidth\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n [class]=\"class\"\n [attr.aria-label]=\"ariaLabel || iconName()\"\n [attr.aria-hidden]=\"!ariaLabel\"\n [innerHTML]=\"safePaths()\"\n class=\"inline-block shrink-0 align-middle transition-colors duration-150\">\n </svg>\n `,\n styles: [`\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n }\n `]\n})\nexport class SpIconComponent {\n private sanitizer = inject(DomSanitizer);\n private registry = inject(SpIconRegistryService, { optional: true });\n\n @Input() icon?: SpIcon;\n @Input() name?: string;\n @Input() size: number | string = 20;\n @Input() color?: string;\n @Input() fill?: string;\n @Input() strokeWidth: number | string = 1.5;\n @Input() class: string = '';\n @Input() ariaLabel?: string;\n\n private resolvedIcon = computed(() => {\n if (this.icon) return this.icon;\n if (this.name && this.registry) {\n return this.registry.getIcon(this.name);\n }\n return undefined;\n });\n\n viewBox = computed(() => this.resolvedIcon()?.viewBox || '0 0 24 24');\n iconName = computed(() => this.resolvedIcon()?.name || this.name || '');\n\n safePaths = computed<SafeHtml>(() => {\n const iconObj = this.resolvedIcon();\n const rawPaths = iconObj ? iconObj.paths : '';\n return this.sanitizer.bypassSecurityTrustHtml(rawPaths);\n });\n}\n","import { SpIcon } from '../sp-icon.types';\n\nexport const spIconHome: SpIcon = {\n name: 'home',\n category: 'navigation',\n tags: ['home', 'dashboard', 'house', 'accueil', 'main'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"/><polyline points=\"9 22 9 12 15 12 15 22\"/>'\n};\n\nexport const spIconFiles: SpIcon = {\n name: 'files',\n category: 'navigation',\n tags: ['files', 'projects', 'fichiers', 'projets', 'documents'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M20 7h-3a2 2 0 0 1-2-2V2\"/><path d=\"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z\"/><path d=\"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8\"/>'\n};\n\nexport const spIconFolder: SpIcon = {\n name: 'folder',\n category: 'navigation',\n tags: ['folder', 'models', 'dossier', 'templates', 'modèles'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\"/>'\n};\n\nexport const spIconDatabase: SpIcon = {\n name: 'database',\n category: 'navigation',\n tags: ['database', 'data', 'données', 'base', 'baza'],\n viewBox: '0 0 24 24',\n paths: '<ellipse cx=\"12\" cy=\"5\" rx=\"9\" ry=\"3\"/><path d=\"M3 5V19A9 3 0 0 0 21 19V5\"/><path d=\"M3 12A9 3 0 0 0 21 12\"/>'\n};\n\nexport const spIconMedia: SpIcon = {\n name: 'media',\n category: 'navigation',\n tags: ['media', 'image', 'picture', 'dam', 'assets', 'photos'],\n viewBox: '0 0 24 24',\n paths: '<rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\"/><circle cx=\"9\" cy=\"9\" r=\"2\"/><path d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"/>'\n};\n\nexport const spIconMenu: SpIcon = {\n name: 'menu',\n category: 'navigation',\n tags: ['menu', 'burger', 'hamburger', 'navigation', 'bars'],\n viewBox: '0 0 24 24',\n paths: '<line x1=\"4\" x2=\"20\" y1=\"6\" y2=\"6\"/><line x1=\"4\" x2=\"20\" y1=\"12\" y2=\"12\"/><line x1=\"4\" x2=\"20\" y1=\"18\" y2=\"18\"/>'\n};\n\nexport const spIconClose: SpIcon = {\n name: 'close',\n category: 'navigation',\n tags: ['close', 'fermer', 'x', 'cancel', 'cross'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M18 6 6 18\"/><path d=\"m6 6 12 12\"/>'\n};\n\nexport const spIconChevronDown: SpIcon = {\n name: 'chevron-down',\n category: 'navigation',\n tags: ['chevron', 'down', 'arrow', 'bas', 'flèche'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"m6 9 6 6 6-6\"/>'\n};\n\nexport const spIconChevronRight: SpIcon = {\n name: 'chevron-right',\n category: 'navigation',\n tags: ['chevron', 'right', 'arrow', 'droite', 'flèche'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"m9 18 6-6-6-6\"/>'\n};\n","import { SpIcon } from '../sp-icon.types';\n\nexport const spIconSettings: SpIcon = {\n name: 'settings',\n category: 'actions',\n tags: ['settings', 'paramètres', 'cog', 'gear', 'configuration'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z\"/><circle cx=\"12\" cy=\"12\" r=\"3\"/>'\n};\n\nexport const spIconLogOut: SpIcon = {\n name: 'logout',\n category: 'actions',\n tags: ['logout', 'déconnexion', 'exit', 'signout', 'leave'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\"/><polyline points=\"16 17 21 12 16 7\"/><line x1=\"21\" x2=\"9\" y1=\"12\" y2=\"12\"/>'\n};\n\nexport const spIconUser: SpIcon = {\n name: 'user',\n category: 'actions',\n tags: ['user', 'profile', 'utilisateur', 'compte', 'avatar', 'person'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\"/><circle cx=\"12\" cy=\"7\" r=\"4\"/>'\n};\n\nexport const spIconSearch: SpIcon = {\n name: 'search',\n category: 'actions',\n tags: ['search', 'recherche', 'find', 'loupe', 'glass', 'query'],\n viewBox: '0 0 24 24',\n paths: '<circle cx=\"11\" cy=\"11\" r=\"8\"/><path d=\"m21 21-4.3-4.3\"/>'\n};\n\nexport const spIconPlus: SpIcon = {\n name: 'plus',\n category: 'actions',\n tags: ['plus', 'add', 'ajouter', 'nouveau', 'create'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M5 12h14\"/><path d=\"M12 5v14\"/>'\n};\n\nexport const spIconTrash: SpIcon = {\n name: 'trash',\n category: 'actions',\n tags: ['trash', 'delete', 'supprimer', 'corbeille', 'remove'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M3 6h18\"/><path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\"/><path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\"/>'\n};\n\nexport const spIconEdit: SpIcon = {\n name: 'edit',\n category: 'actions',\n tags: ['edit', 'modifier', 'pencil', 'crayon', 'update'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z\"/><path d=\"m15 5 4 4\"/>'\n};\n\nexport const spIconDownload: SpIcon = {\n name: 'download',\n category: 'actions',\n tags: ['download', 'télécharger', 'import', 'save', 'export'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/><polyline points=\"7 10 12 15 17 10\"/><line x1=\"12\" x2=\"12\" y1=\"15\" y2=\"3\"/>'\n};\n\nexport const spIconUpload: SpIcon = {\n name: 'upload',\n category: 'actions',\n tags: ['upload', 'téléverser', 'import', 'cloud', 'dam'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/><polyline points=\"17 8 12 3 7 8\"/><line x1=\"12\" x2=\"12\" y1=\"3\" y2=\"15\"/>'\n};\n\nexport const spIconFilter: SpIcon = {\n name: 'filter',\n category: 'actions',\n tags: ['filter', 'filtrer', 'funnel', 'trier', 'sort'],\n viewBox: '0 0 24 24',\n paths: '<polygon points=\"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3\"/>'\n};\n\nexport const spIconEye: SpIcon = {\n name: 'eye',\n category: 'actions',\n tags: ['eye', 'preview', 'aperçu', 'voir', 'view'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z\"/><circle cx=\"12\" cy=\"12\" r=\"3\"/>'\n};\n\nexport const spIconShare: SpIcon = {\n name: 'share',\n category: 'actions',\n tags: ['share', 'partager', 'export', 'send', 'link'],\n viewBox: '0 0 24 24',\n paths: '<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=\"10.51\" y2=\"6.49\"/><line x1=\"8.59\" x2=\"15.42\" y1=\"13.49\" y2=\"17.51\"/>'\n};\n\nexport const spIconMoreVertical: SpIcon = {\n name: 'more-vertical',\n category: 'actions',\n tags: ['more', 'vertical', 'dots', 'menu', 'options'],\n viewBox: '0 0 24 24',\n paths: '<circle cx=\"12\" cy=\"12\" r=\"1\"/><circle cx=\"12\" cy=\"5\" r=\"1\"/><circle cx=\"12\" cy=\"19\" r=\"1\"/>'\n};\n\nexport const spIconCompass: SpIcon = {\n name: 'compass',\n category: 'actions',\n tags: ['compass', 'boussole', 'guide', 'tutoriel', 'navigation'],\n viewBox: '0 0 24 24',\n paths: '<circle cx=\"12\" cy=\"12\" r=\"10\"/><polygon points=\"16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76\"/>'\n};\n\nexport const spIconRefresh: SpIcon = {\n name: 'refresh',\n category: 'actions',\n tags: ['refresh', 'rotate', 'restart', 'recommencer', 'reload'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67\"/>'\n};\n\nexport const spIconCopy: SpIcon = {\n name: 'copy',\n category: 'actions',\n tags: ['copy', 'copier', 'duplicate', 'dupliquer', 'clone'],\n viewBox: '0 0 24 24',\n paths: '<rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"/><path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"/>'\n};\n\nexport const spIconFolderPlus: SpIcon = {\n name: 'folder-plus',\n category: 'actions',\n tags: ['folder', 'plus', 'add', 'nouveau dossier', 'create'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M12 10v6\"/><path d=\"M9 13h6\"/><path d=\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\"/>'\n};\n\nexport const spIconArrowUp: SpIcon = {\n name: 'arrow-up',\n category: 'actions',\n tags: ['arrow', 'up', 'haut', 'trier', 'ascendant'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"m5 12 7-7 7 7\"/><path d=\"M12 19V5\"/>'\n};\n\nexport const spIconArrowDown: SpIcon = {\n name: 'arrow-down',\n category: 'actions',\n tags: ['arrow', 'down', 'bas', 'trier', 'descendant'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M12 5v14\"/><path d=\"m19 12-7 7-7-7\"/>'\n};\n","import { SpIcon } from '../sp-icon.types';\n\nexport const spIconBookOpen: SpIcon = {\n name: 'book-open',\n category: 'media',\n tags: ['book', 'youbooky', 'open', 'livre', 'lecture'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25\"/>'\n};\n\nexport const spIconBook: SpIcon = {\n name: 'book',\n category: 'media',\n tags: ['book', 'catalogue', 'livre', 'publication'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20\"/>'\n};\n\nexport const spIconFilePlus: SpIcon = {\n name: 'file-plus',\n category: 'media',\n tags: ['file', 'document', 'plus', 'add', 'nouveau'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"/><polyline points=\"14 2 14 8 20 8\"/><line x1=\"12\" y1=\"18\" x2=\"12\" y2=\"12\"/><line x1=\"9\" y1=\"15\" x2=\"15\" y2=\"15\"/>'\n};\n\nexport const spIconFileText: SpIcon = {\n name: 'file-text',\n category: 'media',\n tags: ['file', 'text', 'fiche', 'technique', 'doc'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"/><polyline points=\"14 2 14 8 20 8\"/><line x1=\"16\" y1=\"13\" x2=\"8\" y2=\"13\"/><line x1=\"16\" y1=\"17\" x2=\"8\" y2=\"17\"/><line x1=\"10\" y1=\"9\" x2=\"8\" y2=\"9\"/>'\n};\n\nexport const spIconGrid: SpIcon = {\n name: 'grid',\n category: 'media',\n tags: ['grid', 'grille', 'view', 'layout', 'dam'],\n viewBox: '0 0 24 24',\n paths: '<rect width=\"7\" height=\"7\" x=\"3\" y=\"3\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"14\" y=\"3\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"14\" y=\"14\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"3\" y=\"14\" rx=\"1\"/>'\n};\n\nexport const spIconList: SpIcon = {\n name: 'list',\n category: 'media',\n tags: ['list', 'liste', 'view', 'rows', 'lines'],\n viewBox: '0 0 24 24',\n paths: '<line x1=\"8\" x2=\"21\" y1=\"6\" y2=\"6\"/><line x1=\"8\" x2=\"21\" y1=\"12\" y2=\"12\"/><line x1=\"8\" x2=\"21\" y1=\"18\" y2=\"18\"/><line x1=\"3\" x2=\"3.01\" y1=\"6\" y2=\"6\"/><line x1=\"3\" x2=\"3.01\" y1=\"12\" y2=\"12\"/><line x1=\"3\" x2=\"3.01\" y1=\"18\" y2=\"18\"/>'\n};\n","import { SpIcon } from '../sp-icon.types';\n\nexport const spIconCheck: SpIcon = {\n name: 'check',\n category: 'ui',\n tags: ['check', 'valider', 'success', 'ok', 'tick'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M20 6 9 17l-5-5\"/>'\n};\n\nexport const spIconInfo: SpIcon = {\n name: 'info',\n category: 'ui',\n tags: ['info', 'information', 'help', 'aide', 'details'],\n viewBox: '0 0 24 24',\n paths: '<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 16v-4\"/><path d=\"M12 8h.01\"/>'\n};\n\nexport const spIconAlert: SpIcon = {\n name: 'alert',\n category: 'ui',\n tags: ['alert', 'warning', 'attention', 'error', 'erreur', 'exclamation'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z\"/><line x1=\"12\" x2=\"12\" y1=\"9\" y2=\"13\"/><line x1=\"12\" x2=\"12.01\" y1=\"17\" y2=\"17\"/>'\n};\n\nexport const spIconSun: SpIcon = {\n name: 'sun',\n category: 'ui',\n tags: ['sun', 'soleil', 'light', 'mode', 'day'],\n viewBox: '0 0 24 24',\n paths: '<circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"/>'\n};\n\nexport const spIconMoon: SpIcon = {\n name: 'moon',\n category: 'ui',\n tags: ['moon', 'lune', 'dark', 'mode', 'night'],\n viewBox: '0 0 24 24',\n paths: '<path d=\"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z\"/>'\n};\n\nexport const spIconStar: SpIcon = {\n name: 'star',\n category: 'ui',\n tags: ['star', 'étoile', 'favorite', 'favoris', 'badge', 'default'],\n viewBox: '0 0 24 24',\n paths: '<polygon points=\"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2\"/>'\n};\n","import { SpIcon } from '../sp-icon.types';\nimport {\n spIconHome,\n spIconFiles,\n spIconFolder,\n spIconDatabase,\n spIconMedia,\n spIconMenu,\n spIconClose,\n spIconChevronDown,\n spIconChevronRight\n} from './navigation';\nimport {\n spIconSettings,\n spIconLogOut,\n spIconUser,\n spIconSearch,\n spIconPlus,\n spIconTrash,\n spIconEdit,\n spIconDownload,\n spIconUpload,\n spIconFilter,\n spIconEye,\n spIconShare,\n spIconMoreVertical,\n spIconCompass,\n spIconRefresh,\n spIconCopy,\n spIconFolderPlus,\n spIconArrowUp,\n spIconArrowDown\n} from './actions';\nimport {\n spIconBookOpen,\n spIconBook,\n spIconFilePlus,\n spIconFileText,\n spIconGrid,\n spIconList\n} from './media';\nimport {\n spIconCheck,\n spIconInfo,\n spIconAlert,\n spIconSun,\n spIconMoon,\n spIconStar\n} from './ui';\n\nexport * from './navigation';\nexport * from './actions';\nexport * from './media';\nexport * from './ui';\n\nexport const ALL_SP_ICONS: SpIcon[] = [\n spIconHome,\n spIconFiles,\n spIconFolder,\n spIconDatabase,\n spIconMedia,\n spIconMenu,\n spIconClose,\n spIconChevronDown,\n spIconChevronRight,\n spIconSettings,\n spIconLogOut,\n spIconUser,\n spIconSearch,\n spIconPlus,\n spIconTrash,\n spIconEdit,\n spIconDownload,\n spIconUpload,\n spIconFilter,\n spIconEye,\n spIconShare,\n spIconMoreVertical,\n spIconCompass,\n spIconRefresh,\n spIconCopy,\n spIconFolderPlus,\n spIconArrowUp,\n spIconArrowDown,\n spIconBookOpen,\n spIconBook,\n spIconFilePlus,\n spIconFileText,\n spIconGrid,\n spIconList,\n spIconCheck,\n spIconInfo,\n spIconAlert,\n spIconSun,\n spIconMoon,\n spIconStar\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAMa,qBAAqB,CAAA;AAHlC,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,GAAG,EAAkB;AAmB7C,IAAA;AAjBC,IAAA,YAAY,CAAC,IAAY,EAAA;AACvB,QAAA,IAAI,IAAI,IAA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EAAE;;;ACQF,MAAM,YAAY,GAAa;IACpC,UAAU;IACV,WAAW;IACX,YAAY;IACZ,cAAc;IACd,WAAW;IACX,UAAU;IACV,WAAW;IACX,iBAAiB;IACjB,kBAAkB;IAClB,cAAc;IACd,YAAY;IACZ,UAAU;IACV,YAAY;IACZ,UAAU;IACV,WAAW;IACX,UAAU;IACV,cAAc;IACd,YAAY;IACZ,YAAY;IACZ,SAAS;IACT,WAAW;IACX,kBAAkB;IAClB,aAAa;IACb,aAAa;IACb,UAAU;IACV,gBAAgB;IAChB,aAAa;IACb,eAAe;IACf,cAAc;IACd,UAAU;IACV,cAAc;IACd,cAAc;IACd,UAAU;IACV,UAAU;IACV,WAAW;IACX,UAAU;IACV,WAAW;IACX,SAAS;IACT,UAAU;IACV;;;AC/FF;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,90 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Provider } from '@angular/core';
3
+ import { SafeHtml } from '@angular/platform-browser';
4
+
5
+ type IconCategory = 'navigation' | 'actions' | 'media' | 'data' | 'ui';
6
+ interface SpIcon {
7
+ name: string;
8
+ category: IconCategory;
9
+ tags?: string[];
10
+ viewBox?: string;
11
+ paths: string;
12
+ }
13
+
14
+ declare class SpIconComponent {
15
+ private sanitizer;
16
+ private registry;
17
+ icon?: SpIcon;
18
+ name?: string;
19
+ size: number | string;
20
+ color?: string;
21
+ fill?: string;
22
+ strokeWidth: number | string;
23
+ class: string;
24
+ ariaLabel?: string;
25
+ private resolvedIcon;
26
+ viewBox: i0.Signal<string>;
27
+ iconName: i0.Signal<string>;
28
+ safePaths: i0.Signal<SafeHtml>;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpIconComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpIconComponent, "sp-icon", never, { "icon": { "alias": "icon"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "class": { "alias": "class"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
31
+ }
32
+
33
+ declare class SpIconRegistryService {
34
+ private registry;
35
+ registerIcon(icon: SpIcon): void;
36
+ registerIcons(icons: SpIcon[]): void;
37
+ getIcon(name: string): SpIcon | undefined;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpIconRegistryService, never>;
39
+ static ɵprov: i0.ɵɵInjectableDeclaration<SpIconRegistryService>;
40
+ }
41
+ declare function provideSpIcons(icons: SpIcon[]): Provider[];
42
+
43
+ declare const spIconHome: SpIcon;
44
+ declare const spIconFiles: SpIcon;
45
+ declare const spIconFolder: SpIcon;
46
+ declare const spIconDatabase: SpIcon;
47
+ declare const spIconMedia: SpIcon;
48
+ declare const spIconMenu: SpIcon;
49
+ declare const spIconClose: SpIcon;
50
+ declare const spIconChevronDown: SpIcon;
51
+ declare const spIconChevronRight: SpIcon;
52
+
53
+ declare const spIconSettings: SpIcon;
54
+ declare const spIconLogOut: SpIcon;
55
+ declare const spIconUser: SpIcon;
56
+ declare const spIconSearch: SpIcon;
57
+ declare const spIconPlus: SpIcon;
58
+ declare const spIconTrash: SpIcon;
59
+ declare const spIconEdit: SpIcon;
60
+ declare const spIconDownload: SpIcon;
61
+ declare const spIconUpload: SpIcon;
62
+ declare const spIconFilter: SpIcon;
63
+ declare const spIconEye: SpIcon;
64
+ declare const spIconShare: SpIcon;
65
+ declare const spIconMoreVertical: SpIcon;
66
+ declare const spIconCompass: SpIcon;
67
+ declare const spIconRefresh: SpIcon;
68
+ declare const spIconCopy: SpIcon;
69
+ declare const spIconFolderPlus: SpIcon;
70
+ declare const spIconArrowUp: SpIcon;
71
+ declare const spIconArrowDown: SpIcon;
72
+
73
+ declare const spIconBookOpen: SpIcon;
74
+ declare const spIconBook: SpIcon;
75
+ declare const spIconFilePlus: SpIcon;
76
+ declare const spIconFileText: SpIcon;
77
+ declare const spIconGrid: SpIcon;
78
+ declare const spIconList: SpIcon;
79
+
80
+ declare const spIconCheck: SpIcon;
81
+ declare const spIconInfo: SpIcon;
82
+ declare const spIconAlert: SpIcon;
83
+ declare const spIconSun: SpIcon;
84
+ declare const spIconMoon: SpIcon;
85
+ declare const spIconStar: SpIcon;
86
+
87
+ declare const ALL_SP_ICONS: SpIcon[];
88
+
89
+ export { ALL_SP_ICONS, SpIconComponent, SpIconRegistryService, provideSpIcons, spIconAlert, spIconArrowDown, spIconArrowUp, spIconBook, spIconBookOpen, spIconCheck, spIconChevronDown, spIconChevronRight, spIconClose, spIconCompass, spIconCopy, spIconDatabase, spIconDownload, spIconEdit, spIconEye, spIconFilePlus, spIconFileText, spIconFiles, spIconFilter, spIconFolder, spIconFolderPlus, spIconGrid, spIconHome, spIconInfo, spIconList, spIconLogOut, spIconMedia, spIconMenu, spIconMoon, spIconMoreVertical, spIconPlus, spIconRefresh, spIconSearch, spIconSettings, spIconShare, spIconStar, spIconSun, spIconTrash, spIconUpload, spIconUser };
90
+ export type { IconCategory, SpIcon };
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@solidpepper/solidpepper-icons",
3
+ "version": "0.0.1",
4
+ "description": "Lightweight, tree-shakeable SVG icons library for Solidpepper",
5
+ "peerDependencies": {
6
+ "@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
7
+ "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
11
+ },
12
+ "sideEffects": false,
13
+ "module": "fesm2022/solidpepper-solidpepper-icons.mjs",
14
+ "typings": "index.d.ts",
15
+ "exports": {
16
+ "./package.json": {
17
+ "default": "./package.json"
18
+ },
19
+ ".": {
20
+ "types": "./index.d.ts",
21
+ "default": "./fesm2022/solidpepper-solidpepper-icons.mjs"
22
+ }
23
+ }
24
+ }