@apia/icons 4.0.102 → 5.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,482 @@
1
+ import * as _meronex_icons_lib from '@meronex/icons/lib';
2
+ import { IconType } from '@meronex/icons';
3
+
4
+ type TIconType = IconType;
5
+ type TIconName = keyof typeof IconsMap;
6
+ /**
7
+ * La idea original al menos, es que los nombres de los íconos sean lo más
8
+ * genérico posible. Como ejemplo, tenemos el ícono Plus, cuyo nombre no indica
9
+ * nada acerca del rol que ocupa en la aplicación, sino que solamente describe
10
+ * qué ícono podemos esperar encontrar.
11
+ *
12
+ * Para indicar qué uso podría tener en la aplicación, se pueden agregar tags
13
+ * en el array tags correspondiente.
14
+ */
15
+ declare const IconsMap: {
16
+ Alert: {
17
+ icon: IconType;
18
+ tags: string[];
19
+ };
20
+ AreaSelect: {
21
+ icon: IconType;
22
+ tags: never[];
23
+ };
24
+ ArrowLeft: {
25
+ icon: IconType;
26
+ tags: never[];
27
+ };
28
+ ArrowRight: {
29
+ icon: IconType;
30
+ tags: never[];
31
+ };
32
+ ArrowUp: {
33
+ icon: IconType;
34
+ tags: never[];
35
+ };
36
+ ArrowDown: {
37
+ icon: IconType;
38
+ tags: never[];
39
+ };
40
+ ArrowRightThin: {
41
+ icon: _meronex_icons_lib.IconType;
42
+ tags: never[];
43
+ };
44
+ ArrowLeftThin: {
45
+ icon: _meronex_icons_lib.IconType;
46
+ tags: never[];
47
+ };
48
+ ArrowUpThin: {
49
+ icon: IconType;
50
+ tags: never[];
51
+ };
52
+ ArrowDownThin: {
53
+ icon: IconType;
54
+ tags: never[];
55
+ };
56
+ Attach: {
57
+ icon: IconType;
58
+ tags: string[];
59
+ };
60
+ Broom: {
61
+ icon: IconType;
62
+ tags: string[];
63
+ };
64
+ Bulb: {
65
+ icon: IconType;
66
+ tags: string[];
67
+ };
68
+ Calendar: {
69
+ icon: IconType;
70
+ tags: string[];
71
+ };
72
+ Camera: {
73
+ icon: IconType;
74
+ tags: string[];
75
+ };
76
+ Check: {
77
+ icon: IconType;
78
+ tags: string[];
79
+ };
80
+ Checking: {
81
+ icon: _meronex_icons_lib.IconType;
82
+ tags: string[];
83
+ };
84
+ CircleFilled: {
85
+ icon: IconType;
86
+ tags: never[];
87
+ };
88
+ Clock: {
89
+ icon: IconType;
90
+ tags: never[];
91
+ };
92
+ CloudArrow: {
93
+ icon: IconType;
94
+ tags: string[];
95
+ };
96
+ Close: {
97
+ icon: IconType;
98
+ tags: string[];
99
+ };
100
+ CloseThin: {
101
+ icon: IconType;
102
+ tags: string[];
103
+ };
104
+ Comment: {
105
+ icon: IconType;
106
+ tags: never[];
107
+ };
108
+ Copy: {
109
+ icon: IconType;
110
+ tags: never[];
111
+ };
112
+ CrossFilter: {
113
+ icon: IconType;
114
+ tags: never[];
115
+ };
116
+ Cube: {
117
+ icon: IconType;
118
+ tags: never[];
119
+ };
120
+ Desktop: {
121
+ icon: IconType;
122
+ tags: string[];
123
+ };
124
+ Difference: {
125
+ icon: IconType;
126
+ tags: never[];
127
+ };
128
+ Download: {
129
+ icon: IconType;
130
+ tags: never[];
131
+ };
132
+ DotSmall: {
133
+ icon: IconType;
134
+ tags: never[];
135
+ };
136
+ DotBig: {
137
+ icon: IconType;
138
+ tags: never[];
139
+ };
140
+ DragAndDrop: {
141
+ icon: IconType;
142
+ tags: string[];
143
+ };
144
+ Edit: {
145
+ icon: IconType;
146
+ tags: string[];
147
+ };
148
+ Ellipsis: {
149
+ icon: IconType;
150
+ tags: string[];
151
+ };
152
+ External: {
153
+ icon: IconType;
154
+ tags: string[];
155
+ };
156
+ Erase: {
157
+ icon: IconType;
158
+ tags: string[];
159
+ };
160
+ Eye: {
161
+ icon: IconType;
162
+ tags: string[];
163
+ };
164
+ File: {
165
+ icon: IconType;
166
+ tags: string[];
167
+ };
168
+ Filter: {
169
+ icon: IconType;
170
+ tags: never[];
171
+ };
172
+ First: {
173
+ icon: IconType;
174
+ tags: never[];
175
+ };
176
+ FlowTree: {
177
+ icon: IconType;
178
+ tags: never[];
179
+ };
180
+ FolderClosed: {
181
+ icon: IconType;
182
+ tags: string[];
183
+ };
184
+ FolderOpen: {
185
+ icon: IconType;
186
+ tags: string[];
187
+ };
188
+ FolderPlus: {
189
+ icon: IconType;
190
+ tags: string[];
191
+ };
192
+ Filter2: {
193
+ icon: IconType;
194
+ tags: string[];
195
+ };
196
+ NotFilter: {
197
+ icon: IconType;
198
+ tags: string[];
199
+ };
200
+ Groups: {
201
+ icon: IconType;
202
+ tags: never[];
203
+ };
204
+ Hide: {
205
+ icon: IconType;
206
+ tags: string[];
207
+ };
208
+ Hamburguer: {
209
+ icon: IconType;
210
+ tags: string[];
211
+ };
212
+ Help: {
213
+ icon: IconType;
214
+ tags: string[];
215
+ };
216
+ Home: {
217
+ icon: IconType;
218
+ tags: string[];
219
+ };
220
+ Info: {
221
+ icon: IconType;
222
+ tags: never[];
223
+ };
224
+ Laptop: {
225
+ icon: IconType;
226
+ tags: never[];
227
+ };
228
+ Last: {
229
+ icon: IconType;
230
+ tags: never[];
231
+ };
232
+ LetterAutocomplete: {
233
+ icon: IconType;
234
+ tags: never[];
235
+ };
236
+ LineArrowUp: {
237
+ icon: IconType;
238
+ tags: never[];
239
+ };
240
+ Locked: {
241
+ icon: IconType;
242
+ tags: string[];
243
+ };
244
+ Magic: {
245
+ icon: IconType;
246
+ tags: string[];
247
+ };
248
+ Maximize: {
249
+ icon: IconType;
250
+ tags: string[];
251
+ };
252
+ Merge: {
253
+ icon: IconType;
254
+ tags: never[];
255
+ };
256
+ Microphone: {
257
+ icon: IconType;
258
+ tags: string[];
259
+ };
260
+ Minimize: {
261
+ icon: IconType;
262
+ tags: string[];
263
+ };
264
+ Minus: {
265
+ icon: IconType;
266
+ tags: string[];
267
+ };
268
+ MinusReverse: {
269
+ icon: IconType;
270
+ tags: string[];
271
+ };
272
+ MinusFilled: {
273
+ icon: IconType;
274
+ tags: string[];
275
+ };
276
+ Molecule: {
277
+ icon: IconType;
278
+ tags: string[];
279
+ };
280
+ Next: {
281
+ icon: IconType;
282
+ tags: never[];
283
+ };
284
+ Note: {
285
+ icon: IconType;
286
+ tags: never[];
287
+ };
288
+ PanHand: {
289
+ icon: IconType;
290
+ tags: string[];
291
+ };
292
+ Pencil: {
293
+ icon: IconType;
294
+ tags: string[];
295
+ };
296
+ Pin: {
297
+ icon: IconType;
298
+ tags: never[];
299
+ };
300
+ Plus: {
301
+ icon: IconType;
302
+ tags: string[];
303
+ };
304
+ PlusReverse: {
305
+ icon: IconType;
306
+ tags: string[];
307
+ };
308
+ PlusFilled: {
309
+ icon: IconType;
310
+ tags: string[];
311
+ };
312
+ PlusThin: {
313
+ icon: IconType;
314
+ tags: never[];
315
+ };
316
+ Pointer: {
317
+ icon: IconType;
318
+ tags: string[];
319
+ };
320
+ Previous: {
321
+ icon: IconType;
322
+ tags: never[];
323
+ };
324
+ Print: {
325
+ icon: IconType;
326
+ tags: never[];
327
+ };
328
+ Redo: {
329
+ icon: IconType;
330
+ tags: never[];
331
+ };
332
+ RedoSmall: {
333
+ icon: IconType;
334
+ tags: never[];
335
+ };
336
+ Readonly: {
337
+ icon: IconType;
338
+ tags: never[];
339
+ };
340
+ Refresh: {
341
+ icon: IconType;
342
+ tags: string[];
343
+ };
344
+ Save: {
345
+ icon: IconType;
346
+ tags: never[];
347
+ };
348
+ Search: {
349
+ icon: IconType;
350
+ tags: never[];
351
+ };
352
+ Settings: {
353
+ icon: IconType;
354
+ tags: string[];
355
+ };
356
+ SquareFilled: {
357
+ icon: IconType;
358
+ tags: never[];
359
+ };
360
+ SquareOutline: {
361
+ icon: IconType;
362
+ tags: never[];
363
+ };
364
+ Sort: {
365
+ icon: IconType;
366
+ tags: never[];
367
+ };
368
+ SortedNone: {
369
+ icon: IconType;
370
+ tags: string[];
371
+ };
372
+ SortedUp: {
373
+ icon: IconType;
374
+ tags: string[];
375
+ };
376
+ SortedDown: {
377
+ icon: IconType;
378
+ tags: string[];
379
+ };
380
+ Star: {
381
+ icon: IconType;
382
+ tags: string[];
383
+ };
384
+ Stop: {
385
+ icon: IconType;
386
+ tags: never[];
387
+ };
388
+ Sum: {
389
+ icon: IconType;
390
+ tags: string[];
391
+ };
392
+ Tabs: {
393
+ icon: IconType;
394
+ tags: string[];
395
+ };
396
+ TaskList: {
397
+ icon: IconType;
398
+ tags: string[];
399
+ };
400
+ ThumbsDown: {
401
+ icon: IconType;
402
+ tags: string[];
403
+ };
404
+ ThumbsUp: {
405
+ icon: IconType;
406
+ tags: string[];
407
+ };
408
+ Translate: {
409
+ icon: IconType;
410
+ tags: string[];
411
+ };
412
+ Trash: {
413
+ icon: IconType;
414
+ tags: string[];
415
+ };
416
+ Undo: {
417
+ icon: IconType;
418
+ tags: string[];
419
+ };
420
+ UndoSmall: {
421
+ icon: IconType;
422
+ tags: string[];
423
+ };
424
+ Upload: {
425
+ icon: IconType;
426
+ tags: never[];
427
+ };
428
+ User: {
429
+ icon: IconType;
430
+ tags: never[];
431
+ };
432
+ User2: {
433
+ icon: IconType;
434
+ tags: never[];
435
+ };
436
+ View: {
437
+ icon: IconType;
438
+ tags: string[];
439
+ };
440
+ Volume: {
441
+ icon: IconType;
442
+ tags: never[];
443
+ };
444
+ WindowMaximize: {
445
+ icon: IconType;
446
+ tags: never[];
447
+ };
448
+ WindowMinimize: {
449
+ icon: IconType;
450
+ tags: never[];
451
+ };
452
+ Work: {
453
+ icon: IconType;
454
+ tags: never[];
455
+ };
456
+ ZoomIn: {
457
+ icon: IconType;
458
+ tags: string[];
459
+ };
460
+ ZoomOut: {
461
+ icon: IconType;
462
+ tags: string[];
463
+ };
464
+ };
465
+ declare const icons: Record<keyof typeof IconsMap, TIconType>;
466
+ /**
467
+ * Se puede utilizar este type guard para aceptar argumentos en los componentes
468
+ * que permitan pasar tanto un nombre de ícono como un ícono en sí.
469
+ *
470
+ * @example
471
+ *-
472
+ * ({icon}: {icon: TIconName | TIconType}) => {
473
+ * const ActualIcon = React.useMemo(
474
+ * ()=> isIconName(icon) ? (() => <Icon name={icon} />) : icon
475
+ * , [])
476
+ * return <ActualIcon />
477
+ * }
478
+ */
479
+ declare function isIconName(arg: TIconName | TIconType): arg is TIconName;
480
+
481
+ export { IconsMap, type TIconName, type TIconType, icons, isIconName };
482
+ //# sourceMappingURL=iconMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconMap.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}