@devopness/ui-react 2.159.0 → 2.161.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/icons/iconLoader.d.ts +156 -153
- package/dist/src/icons/index.d.ts +1 -1
- package/dist/src/icons/types.d.ts +15 -0
- package/dist/ui-react.cjs +106 -106
- package/dist/ui-react.js +1318 -1316
- package/package.json +12 -12
|
@@ -1,435 +1,438 @@
|
|
|
1
|
+
import { Icon } from './types';
|
|
1
2
|
declare const iconList: readonly [{
|
|
2
3
|
readonly type: "icon";
|
|
3
|
-
readonly
|
|
4
|
+
readonly name: "add";
|
|
4
5
|
readonly component: import('react-icons/lib').IconType;
|
|
5
6
|
}, {
|
|
6
7
|
readonly type: "icon";
|
|
7
|
-
readonly
|
|
8
|
+
readonly name: "alarm";
|
|
8
9
|
readonly component: import('react-icons/lib').IconType;
|
|
9
10
|
}, {
|
|
10
11
|
readonly type: "icon";
|
|
11
|
-
readonly
|
|
12
|
+
readonly name: "arrowDown";
|
|
12
13
|
readonly component: import('react-icons/lib').IconType;
|
|
13
14
|
}, {
|
|
14
15
|
readonly type: "icon";
|
|
15
|
-
readonly
|
|
16
|
+
readonly name: "arrowLeft";
|
|
16
17
|
readonly component: import('react-icons/lib').IconType;
|
|
17
18
|
}, {
|
|
18
19
|
readonly type: "icon";
|
|
19
|
-
readonly
|
|
20
|
+
readonly name: "arrowRight";
|
|
20
21
|
readonly component: import('react-icons/lib').IconType;
|
|
21
22
|
}, {
|
|
22
23
|
readonly type: "icon";
|
|
23
|
-
readonly
|
|
24
|
+
readonly name: "arrowUp";
|
|
24
25
|
readonly component: import('react-icons/lib').IconType;
|
|
25
26
|
}, {
|
|
26
27
|
readonly type: "icon";
|
|
27
|
-
readonly
|
|
28
|
+
readonly name: "branch";
|
|
28
29
|
readonly component: import('react-icons/lib').IconType;
|
|
29
30
|
}, {
|
|
30
31
|
readonly type: "icon";
|
|
31
|
-
readonly
|
|
32
|
-
readonly component: (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
readonly name: "checkOutline";
|
|
33
|
+
readonly component: import('react-icons/lib').IconType;
|
|
34
|
+
}, {
|
|
35
|
+
readonly type: "image";
|
|
36
|
+
readonly name: "children";
|
|
37
|
+
readonly component: string;
|
|
36
38
|
}, {
|
|
37
39
|
readonly type: "icon";
|
|
38
|
-
readonly
|
|
40
|
+
readonly name: "close";
|
|
39
41
|
readonly component: import('react-icons/lib').IconType;
|
|
40
42
|
}, {
|
|
41
43
|
readonly type: "icon";
|
|
42
|
-
readonly
|
|
44
|
+
readonly name: "cloudWarning";
|
|
43
45
|
readonly component: import('react-icons/lib').IconType;
|
|
44
46
|
}, {
|
|
45
47
|
readonly type: "icon";
|
|
46
|
-
readonly
|
|
48
|
+
readonly name: "codeBadge";
|
|
47
49
|
readonly component: import('react-icons/lib').IconType;
|
|
48
50
|
}, {
|
|
49
51
|
readonly type: "icon";
|
|
50
|
-
readonly
|
|
52
|
+
readonly name: "commit";
|
|
51
53
|
readonly component: import('react-icons/lib').IconType;
|
|
52
54
|
}, {
|
|
53
55
|
readonly type: "icon";
|
|
54
|
-
readonly
|
|
56
|
+
readonly name: "config";
|
|
55
57
|
readonly component: import('react-icons/lib').IconType;
|
|
56
58
|
}, {
|
|
57
59
|
readonly type: "icon";
|
|
58
|
-
readonly
|
|
60
|
+
readonly name: "connect";
|
|
59
61
|
readonly component: import('react-icons/lib').IconType;
|
|
60
62
|
}, {
|
|
61
63
|
readonly type: "icon";
|
|
62
|
-
readonly
|
|
64
|
+
readonly name: "copy";
|
|
63
65
|
readonly component: import('react-icons/lib').IconType;
|
|
64
66
|
}, {
|
|
65
67
|
readonly type: "icon";
|
|
66
|
-
readonly
|
|
68
|
+
readonly name: "copyOutline";
|
|
67
69
|
readonly component: import('react-icons/lib').IconType;
|
|
68
70
|
}, {
|
|
69
71
|
readonly type: "icon";
|
|
70
|
-
readonly
|
|
72
|
+
readonly name: "cubes";
|
|
71
73
|
readonly component: import('react-icons/lib').IconType;
|
|
72
74
|
}, {
|
|
73
75
|
readonly type: "icon";
|
|
74
|
-
readonly
|
|
76
|
+
readonly name: "currencyCircle";
|
|
75
77
|
readonly component: import('react-icons/lib').IconType;
|
|
76
78
|
}, {
|
|
77
79
|
readonly type: "icon";
|
|
78
|
-
readonly
|
|
80
|
+
readonly name: "delete";
|
|
79
81
|
readonly component: import('react-icons/lib').IconType;
|
|
80
82
|
}, {
|
|
81
83
|
readonly type: "icon";
|
|
82
|
-
readonly
|
|
84
|
+
readonly name: "deploy";
|
|
83
85
|
readonly component: import('react-icons/lib').IconType;
|
|
84
86
|
}, {
|
|
85
87
|
readonly type: "icon";
|
|
86
|
-
readonly
|
|
88
|
+
readonly name: "description";
|
|
87
89
|
readonly component: import('react-icons/lib').IconType;
|
|
88
90
|
}, {
|
|
89
91
|
readonly type: "icon";
|
|
90
|
-
readonly
|
|
92
|
+
readonly name: "devices";
|
|
91
93
|
readonly component: import('react-icons/lib').IconType;
|
|
92
94
|
}, {
|
|
93
95
|
readonly type: "icon";
|
|
94
|
-
readonly
|
|
96
|
+
readonly name: "dragHandle";
|
|
95
97
|
readonly component: import('react-icons/lib').IconType;
|
|
96
98
|
}, {
|
|
97
99
|
readonly type: "icon";
|
|
98
|
-
readonly
|
|
100
|
+
readonly name: "edit";
|
|
99
101
|
readonly component: import('react-icons/lib').IconType;
|
|
100
102
|
}, {
|
|
101
103
|
readonly type: "icon";
|
|
102
|
-
readonly
|
|
104
|
+
readonly name: "error";
|
|
103
105
|
readonly component: import('react-icons/lib').IconType;
|
|
104
106
|
}, {
|
|
105
107
|
readonly type: "icon";
|
|
106
|
-
readonly
|
|
108
|
+
readonly name: "eyeClosed";
|
|
107
109
|
readonly component: import('react-icons/lib').IconType;
|
|
108
110
|
}, {
|
|
109
111
|
readonly type: "icon";
|
|
110
|
-
readonly
|
|
112
|
+
readonly name: "eyeOpen";
|
|
111
113
|
readonly component: import('react-icons/lib').IconType;
|
|
112
114
|
}, {
|
|
113
115
|
readonly type: "icon";
|
|
114
|
-
readonly
|
|
116
|
+
readonly name: "eyeOutline";
|
|
115
117
|
readonly component: import('react-icons/lib').IconType;
|
|
116
118
|
}, {
|
|
117
119
|
readonly type: "icon";
|
|
118
|
-
readonly
|
|
120
|
+
readonly name: "folder";
|
|
119
121
|
readonly component: import('react-icons/lib').IconType;
|
|
120
122
|
}, {
|
|
121
123
|
readonly type: "icon";
|
|
122
|
-
readonly
|
|
124
|
+
readonly name: "gear";
|
|
123
125
|
readonly component: import('react-icons/lib').IconType;
|
|
124
126
|
}, {
|
|
125
127
|
readonly type: "icon";
|
|
126
|
-
readonly
|
|
128
|
+
readonly name: "globe";
|
|
127
129
|
readonly component: import('react-icons/lib').IconType;
|
|
128
130
|
}, {
|
|
129
131
|
readonly type: "icon";
|
|
130
|
-
readonly
|
|
132
|
+
readonly name: "group";
|
|
131
133
|
readonly component: import('react-icons/lib').IconType;
|
|
132
134
|
}, {
|
|
133
135
|
readonly type: "icon";
|
|
134
|
-
readonly
|
|
136
|
+
readonly name: "help";
|
|
135
137
|
readonly component: import('react-icons/lib').IconType;
|
|
136
138
|
}, {
|
|
137
139
|
readonly type: "icon";
|
|
138
|
-
readonly
|
|
140
|
+
readonly name: "info";
|
|
139
141
|
readonly component: import('react-icons/lib').IconType;
|
|
140
142
|
}, {
|
|
141
143
|
readonly type: "icon";
|
|
142
|
-
readonly
|
|
144
|
+
readonly name: "key";
|
|
143
145
|
readonly component: import('react-icons/lib').IconType;
|
|
144
146
|
}, {
|
|
145
147
|
readonly type: "icon";
|
|
146
|
-
readonly
|
|
148
|
+
readonly name: "launch";
|
|
147
149
|
readonly component: import('react-icons/lib').IconType;
|
|
148
150
|
}, {
|
|
149
151
|
readonly type: "icon";
|
|
150
|
-
readonly
|
|
152
|
+
readonly name: "lens";
|
|
151
153
|
readonly component: import('react-icons/lib').IconType;
|
|
152
154
|
}, {
|
|
153
155
|
readonly type: "icon";
|
|
154
|
-
readonly
|
|
156
|
+
readonly name: "link";
|
|
155
157
|
readonly component: import('react-icons/lib').IconType;
|
|
156
158
|
}, {
|
|
157
159
|
readonly type: "icon";
|
|
158
|
-
readonly
|
|
159
|
-
readonly component:
|
|
160
|
+
readonly name: "loading";
|
|
161
|
+
readonly component: ({ color, size }: {
|
|
162
|
+
color: string;
|
|
163
|
+
size: number;
|
|
164
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
160
165
|
}, {
|
|
161
166
|
readonly type: "icon";
|
|
162
|
-
readonly
|
|
167
|
+
readonly name: "lock";
|
|
163
168
|
readonly component: import('react-icons/lib').IconType;
|
|
164
169
|
}, {
|
|
165
170
|
readonly type: "icon";
|
|
166
|
-
readonly
|
|
171
|
+
readonly name: "lockOpen";
|
|
167
172
|
readonly component: import('react-icons/lib').IconType;
|
|
168
173
|
}, {
|
|
169
174
|
readonly type: "icon";
|
|
170
|
-
readonly
|
|
175
|
+
readonly name: "logout";
|
|
171
176
|
readonly component: import('react-icons/lib').IconType;
|
|
172
177
|
}, {
|
|
173
178
|
readonly type: "icon";
|
|
174
|
-
readonly
|
|
179
|
+
readonly name: "mapPin";
|
|
175
180
|
readonly component: import('react-icons/lib').IconType;
|
|
176
181
|
}, {
|
|
177
182
|
readonly type: "icon";
|
|
178
|
-
readonly
|
|
183
|
+
readonly name: "more";
|
|
179
184
|
readonly component: import('react-icons/lib').IconType;
|
|
180
185
|
}, {
|
|
181
186
|
readonly type: "icon";
|
|
182
|
-
readonly
|
|
187
|
+
readonly name: "network";
|
|
183
188
|
readonly component: import('react-icons/lib').IconType;
|
|
184
189
|
}, {
|
|
185
190
|
readonly type: "icon";
|
|
186
|
-
readonly
|
|
191
|
+
readonly name: "openInNewWindow";
|
|
187
192
|
readonly component: import('react-icons/lib').IconType;
|
|
188
193
|
}, {
|
|
189
194
|
readonly type: "icon";
|
|
190
|
-
readonly
|
|
195
|
+
readonly name: "organization";
|
|
191
196
|
readonly component: import('react-icons/lib').IconType;
|
|
197
|
+
}, {
|
|
198
|
+
readonly type: "image";
|
|
199
|
+
readonly name: "parent";
|
|
200
|
+
readonly component: string;
|
|
192
201
|
}, {
|
|
193
202
|
readonly type: "icon";
|
|
194
|
-
readonly
|
|
203
|
+
readonly name: "passkey";
|
|
195
204
|
readonly component: import('react-icons/lib').IconType;
|
|
196
205
|
}, {
|
|
197
206
|
readonly type: "icon";
|
|
198
|
-
readonly
|
|
207
|
+
readonly name: "pending";
|
|
199
208
|
readonly component: import('react-icons/lib').IconType;
|
|
200
209
|
}, {
|
|
201
210
|
readonly type: "icon";
|
|
202
|
-
readonly
|
|
211
|
+
readonly name: "plus";
|
|
203
212
|
readonly component: import('react-icons/lib').IconType;
|
|
204
213
|
}, {
|
|
205
214
|
readonly type: "icon";
|
|
206
|
-
readonly
|
|
215
|
+
readonly name: "plusCircle";
|
|
207
216
|
readonly component: import('react-icons/lib').IconType;
|
|
208
217
|
}, {
|
|
209
218
|
readonly type: "icon";
|
|
210
|
-
readonly
|
|
219
|
+
readonly name: "remove";
|
|
211
220
|
readonly component: import('react-icons/lib').IconType;
|
|
212
221
|
}, {
|
|
213
222
|
readonly type: "icon";
|
|
214
|
-
readonly
|
|
223
|
+
readonly name: "security";
|
|
215
224
|
readonly component: import('react-icons/lib').IconType;
|
|
216
225
|
}, {
|
|
217
226
|
readonly type: "icon";
|
|
218
|
-
readonly
|
|
227
|
+
readonly name: "server";
|
|
219
228
|
readonly component: import('react-icons/lib').IconType;
|
|
220
229
|
}, {
|
|
221
230
|
readonly type: "icon";
|
|
222
|
-
readonly
|
|
231
|
+
readonly name: "serverCloud";
|
|
223
232
|
readonly component: import('react-icons/lib').IconType;
|
|
224
233
|
}, {
|
|
225
234
|
readonly type: "icon";
|
|
226
|
-
readonly
|
|
235
|
+
readonly name: "serverOutline";
|
|
227
236
|
readonly component: import('react-icons/lib').IconType;
|
|
228
237
|
}, {
|
|
229
238
|
readonly type: "icon";
|
|
230
|
-
readonly
|
|
239
|
+
readonly name: "settings";
|
|
231
240
|
readonly component: import('react-icons/lib').IconType;
|
|
232
241
|
}, {
|
|
233
242
|
readonly type: "icon";
|
|
234
|
-
readonly
|
|
243
|
+
readonly name: "shield";
|
|
235
244
|
readonly component: import('react-icons/lib').IconType;
|
|
236
245
|
}, {
|
|
237
246
|
readonly type: "icon";
|
|
238
|
-
readonly
|
|
239
|
-
readonly component:
|
|
247
|
+
readonly name: "shieldLock";
|
|
248
|
+
readonly component: string;
|
|
240
249
|
}, {
|
|
241
250
|
readonly type: "icon";
|
|
242
|
-
readonly
|
|
251
|
+
readonly name: "shieldOutline";
|
|
243
252
|
readonly component: import('react-icons/lib').IconType;
|
|
244
253
|
}, {
|
|
245
254
|
readonly type: "icon";
|
|
246
|
-
readonly
|
|
255
|
+
readonly name: "skip";
|
|
247
256
|
readonly component: import('react-icons/lib').IconType;
|
|
248
257
|
}, {
|
|
249
258
|
readonly type: "icon";
|
|
250
|
-
readonly
|
|
259
|
+
readonly name: "snooze";
|
|
251
260
|
readonly component: import('react-icons/lib').IconType;
|
|
252
261
|
}, {
|
|
253
262
|
readonly type: "icon";
|
|
254
|
-
readonly
|
|
263
|
+
readonly name: "sort";
|
|
255
264
|
readonly component: import('react-icons/lib').IconType;
|
|
256
265
|
}, {
|
|
257
266
|
readonly type: "icon";
|
|
258
|
-
readonly
|
|
267
|
+
readonly name: "storage";
|
|
259
268
|
readonly component: import('react-icons/lib').IconType;
|
|
260
269
|
}, {
|
|
261
270
|
readonly type: "icon";
|
|
262
|
-
readonly
|
|
271
|
+
readonly name: "subnet";
|
|
263
272
|
readonly component: import('react-icons/lib').IconType;
|
|
264
273
|
}, {
|
|
265
274
|
readonly type: "icon";
|
|
266
|
-
readonly
|
|
275
|
+
readonly name: "success";
|
|
267
276
|
readonly component: import('react-icons/lib').IconType;
|
|
268
277
|
}, {
|
|
269
278
|
readonly type: "icon";
|
|
270
|
-
readonly
|
|
279
|
+
readonly name: "tag";
|
|
271
280
|
readonly component: import('react-icons/lib').IconType;
|
|
272
281
|
}, {
|
|
273
282
|
readonly type: "icon";
|
|
274
|
-
readonly
|
|
283
|
+
readonly name: "teamOutline";
|
|
275
284
|
readonly component: import('react-icons/lib').IconType;
|
|
276
285
|
}, {
|
|
277
|
-
readonly type: "
|
|
278
|
-
readonly
|
|
279
|
-
readonly component:
|
|
280
|
-
}, {
|
|
281
|
-
readonly type: "image";
|
|
282
|
-
readonly accessor: "github-white";
|
|
283
|
-
readonly component: string;
|
|
286
|
+
readonly type: "icon";
|
|
287
|
+
readonly name: "terminal";
|
|
288
|
+
readonly component: import('react-icons/lib').IconType;
|
|
284
289
|
}, {
|
|
285
|
-
readonly type: "
|
|
286
|
-
readonly
|
|
287
|
-
readonly component:
|
|
290
|
+
readonly type: "icon";
|
|
291
|
+
readonly name: "treeView";
|
|
292
|
+
readonly component: import('react-icons/lib').IconType;
|
|
288
293
|
}, {
|
|
289
|
-
readonly type: "
|
|
290
|
-
readonly
|
|
291
|
-
readonly component:
|
|
294
|
+
readonly type: "icon";
|
|
295
|
+
readonly name: "unlink";
|
|
296
|
+
readonly component: import('react-icons/lib').IconType;
|
|
292
297
|
}, {
|
|
293
|
-
readonly type: "
|
|
294
|
-
readonly
|
|
295
|
-
readonly component:
|
|
298
|
+
readonly type: "icon";
|
|
299
|
+
readonly name: "user";
|
|
300
|
+
readonly component: import('react-icons/lib').IconType;
|
|
296
301
|
}, {
|
|
297
|
-
readonly type: "
|
|
298
|
-
readonly
|
|
299
|
-
readonly component:
|
|
302
|
+
readonly type: "icon";
|
|
303
|
+
readonly name: "warning";
|
|
304
|
+
readonly component: import('react-icons/lib').IconType;
|
|
300
305
|
}, {
|
|
301
306
|
readonly type: "image";
|
|
302
|
-
readonly
|
|
307
|
+
readonly name: "aws";
|
|
303
308
|
readonly component: string;
|
|
304
309
|
}, {
|
|
305
310
|
readonly type: "image";
|
|
306
|
-
readonly
|
|
311
|
+
readonly name: "azure";
|
|
307
312
|
readonly component: string;
|
|
308
313
|
}, {
|
|
309
314
|
readonly type: "image";
|
|
310
|
-
readonly
|
|
315
|
+
readonly name: "bitbucket";
|
|
311
316
|
readonly component: string;
|
|
312
317
|
}, {
|
|
313
318
|
readonly type: "image";
|
|
314
|
-
readonly
|
|
319
|
+
readonly name: "c-sharp";
|
|
315
320
|
readonly component: string;
|
|
316
321
|
}, {
|
|
317
322
|
readonly type: "image";
|
|
318
|
-
readonly
|
|
323
|
+
readonly name: "centos";
|
|
319
324
|
readonly component: string;
|
|
320
325
|
}, {
|
|
321
326
|
readonly type: "image";
|
|
322
|
-
readonly
|
|
327
|
+
readonly name: "devopness";
|
|
323
328
|
readonly component: string;
|
|
324
329
|
}, {
|
|
325
330
|
readonly type: "image";
|
|
326
|
-
readonly
|
|
331
|
+
readonly name: "digitalocean";
|
|
327
332
|
readonly component: string;
|
|
328
333
|
}, {
|
|
329
334
|
readonly type: "image";
|
|
330
|
-
readonly
|
|
335
|
+
readonly name: "docker";
|
|
331
336
|
readonly component: string;
|
|
332
337
|
}, {
|
|
333
338
|
readonly type: "image";
|
|
334
|
-
readonly
|
|
339
|
+
readonly name: "dotnetcore";
|
|
335
340
|
readonly component: string;
|
|
336
341
|
}, {
|
|
337
342
|
readonly type: "image";
|
|
338
|
-
readonly
|
|
343
|
+
readonly name: "dotnetcore-aspnetcore";
|
|
339
344
|
readonly component: string;
|
|
340
345
|
}, {
|
|
341
346
|
readonly type: "image";
|
|
342
|
-
readonly
|
|
347
|
+
readonly name: "gcp";
|
|
343
348
|
readonly component: string;
|
|
344
349
|
}, {
|
|
345
350
|
readonly type: "image";
|
|
346
|
-
readonly
|
|
351
|
+
readonly name: "github";
|
|
347
352
|
readonly component: string;
|
|
348
353
|
}, {
|
|
349
354
|
readonly type: "image";
|
|
350
|
-
readonly
|
|
355
|
+
readonly name: "gitlab";
|
|
351
356
|
readonly component: string;
|
|
352
357
|
}, {
|
|
353
358
|
readonly type: "image";
|
|
354
|
-
readonly
|
|
359
|
+
readonly name: "html";
|
|
355
360
|
readonly component: string;
|
|
356
361
|
}, {
|
|
357
362
|
readonly type: "image";
|
|
358
|
-
readonly
|
|
363
|
+
readonly name: "java";
|
|
359
364
|
readonly component: string;
|
|
360
365
|
}, {
|
|
361
366
|
readonly type: "image";
|
|
362
|
-
readonly
|
|
367
|
+
readonly name: "nodejs";
|
|
363
368
|
readonly component: string;
|
|
364
369
|
}, {
|
|
365
370
|
readonly type: "image";
|
|
366
|
-
readonly
|
|
371
|
+
readonly name: "php";
|
|
367
372
|
readonly component: string;
|
|
368
373
|
}, {
|
|
369
374
|
readonly type: "image";
|
|
370
|
-
readonly
|
|
375
|
+
readonly name: "php-laravel";
|
|
371
376
|
readonly component: string;
|
|
372
377
|
}, {
|
|
373
378
|
readonly type: "image";
|
|
374
|
-
readonly
|
|
379
|
+
readonly name: "python";
|
|
375
380
|
readonly component: string;
|
|
376
381
|
}, {
|
|
377
382
|
readonly type: "image";
|
|
378
|
-
readonly
|
|
383
|
+
readonly name: "python-django";
|
|
379
384
|
readonly component: string;
|
|
380
385
|
}, {
|
|
381
386
|
readonly type: "image";
|
|
382
|
-
readonly
|
|
387
|
+
readonly name: "python-fastapi";
|
|
383
388
|
readonly component: string;
|
|
384
389
|
}, {
|
|
385
390
|
readonly type: "image";
|
|
386
|
-
readonly
|
|
391
|
+
readonly name: "python-flask";
|
|
387
392
|
readonly component: string;
|
|
388
393
|
}, {
|
|
389
394
|
readonly type: "image";
|
|
390
|
-
readonly
|
|
395
|
+
readonly name: "ruby";
|
|
391
396
|
readonly component: string;
|
|
392
397
|
}, {
|
|
393
398
|
readonly type: "icon";
|
|
394
|
-
readonly
|
|
395
|
-
readonly component: import('react-icons/lib').IconType;
|
|
396
|
-
}, {
|
|
397
|
-
readonly type: "icon";
|
|
398
|
-
readonly accessor: "eye";
|
|
399
|
-
readonly component: import('react-icons/lib').IconType;
|
|
400
|
-
}, {
|
|
401
|
-
readonly type: "icon";
|
|
402
|
-
readonly accessor: "eyeOff";
|
|
403
|
-
readonly component: import('react-icons/lib').IconType;
|
|
404
|
-
}, {
|
|
405
|
-
readonly type: "icon";
|
|
406
|
-
readonly accessor: "passkey";
|
|
399
|
+
readonly name: "self-hosted";
|
|
407
400
|
readonly component: import('react-icons/lib').IconType;
|
|
408
401
|
}, {
|
|
409
|
-
readonly type: "
|
|
410
|
-
readonly
|
|
411
|
-
readonly component:
|
|
412
|
-
}, {
|
|
413
|
-
readonly type: "icon";
|
|
414
|
-
readonly accessor: "description";
|
|
415
|
-
readonly component: import('react-icons/lib').IconType;
|
|
416
|
-
}, {
|
|
417
|
-
readonly type: "icon";
|
|
418
|
-
readonly accessor: "terminal";
|
|
419
|
-
readonly component: import('react-icons/lib').IconType;
|
|
420
|
-
}, {
|
|
421
|
-
readonly type: "icon";
|
|
422
|
-
readonly accessor: "treeView";
|
|
423
|
-
readonly component: import('react-icons/lib').IconType;
|
|
424
|
-
}, {
|
|
425
|
-
readonly type: "icon";
|
|
426
|
-
readonly accessor: "folder";
|
|
427
|
-
readonly component: import('react-icons/lib').IconType;
|
|
402
|
+
readonly type: "image";
|
|
403
|
+
readonly name: "ubuntu";
|
|
404
|
+
readonly component: string;
|
|
428
405
|
}];
|
|
429
406
|
/**
|
|
430
|
-
*
|
|
407
|
+
* Maps deprecated icon names to their new names.
|
|
408
|
+
*
|
|
409
|
+
* This object helps migrate from old icon names to new ones by providing
|
|
410
|
+
* a lookup table where:
|
|
411
|
+
* - Keys are the old/deprecated icon names
|
|
412
|
+
* - Values are the new icon names that should be used instead
|
|
413
|
+
*
|
|
414
|
+
* @example
|
|
415
|
+
* // The object looks like this:
|
|
416
|
+
* {
|
|
417
|
+
* 'downArrow': 'arrowDown',
|
|
418
|
+
* 'eye': 'eyeOpen',
|
|
419
|
+
* // ... more mappings
|
|
420
|
+
* }
|
|
421
|
+
*
|
|
422
|
+
* @example
|
|
423
|
+
* // Usage:
|
|
424
|
+
* const newName = deprecatedToNewIconMap['downArrow'] // returns 'arrowDown'
|
|
431
425
|
*/
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
426
|
+
declare const deprecatedToNewIconMap: DeprecatedToNewIconMap;
|
|
427
|
+
type DeprecatedIcon = Extract<(typeof iconList)[number], {
|
|
428
|
+
type: 'deprecated-icon';
|
|
429
|
+
} | {
|
|
430
|
+
type: 'deprecated-image';
|
|
431
|
+
}>;
|
|
432
|
+
type DeprecatedToNewIconMap = {
|
|
433
|
+
[K in DeprecatedIcon['name']]: Extract<DeprecatedIcon, {
|
|
434
|
+
name: K;
|
|
435
|
+
}>['newName'];
|
|
436
|
+
};
|
|
437
|
+
declare const iconLoader: (name?: Icon, size?: number, color?: string, opacity?: number, label?: string) => React.JSX.Element;
|
|
438
|
+
export { deprecatedToNewIconMap, iconLoader, iconList };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { deprecatedToNewIconMap, iconList } from './iconLoader';
|
|
2
|
+
/**
|
|
3
|
+
* Lists all valid icon names available in the iconList
|
|
4
|
+
*/
|
|
5
|
+
type Icon = (typeof iconList)[number]['name'];
|
|
6
|
+
/**
|
|
7
|
+
* Lists all valid icon names, filtered out the deprecated ones
|
|
8
|
+
*
|
|
9
|
+
* If you need to migrate from a deprecated icon, you can use the
|
|
10
|
+
* deprecatedToNewIconMap object to find the new icon name.
|
|
11
|
+
*
|
|
12
|
+
* @see {deprecatedToNewIconMap}
|
|
13
|
+
*/
|
|
14
|
+
type ValidIcon = Exclude<Icon, keyof typeof deprecatedToNewIconMap>;
|
|
15
|
+
export type { ValidIcon as Icon };
|