@industry-theme/github-panels 0.1.66 → 0.1.68
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/panels.bundle.js
CHANGED
|
@@ -133,24 +133,7 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
133
133
|
* This source code is licensed under the ISC license.
|
|
134
134
|
* See the LICENSE file in the root directory of this source tree.
|
|
135
135
|
*/
|
|
136
|
-
const __iconNode$
|
|
137
|
-
["path", { d: "M12 7v14", key: "1akyts" }],
|
|
138
|
-
[
|
|
139
|
-
"path",
|
|
140
|
-
{
|
|
141
|
-
d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",
|
|
142
|
-
key: "ruj8y"
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
];
|
|
146
|
-
const BookOpen = createLucideIcon("book-open", __iconNode$G);
|
|
147
|
-
/**
|
|
148
|
-
* @license lucide-react v0.552.0 - ISC
|
|
149
|
-
*
|
|
150
|
-
* This source code is licensed under the ISC license.
|
|
151
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
152
|
-
*/
|
|
153
|
-
const __iconNode$F = [
|
|
136
|
+
const __iconNode$D = [
|
|
154
137
|
["path", { d: "M10 12h4", key: "a56b0p" }],
|
|
155
138
|
["path", { d: "M10 8h4", key: "1sr2af" }],
|
|
156
139
|
["path", { d: "M14 21v-3a2 2 0 0 0-4 0v3", key: "1rgiei" }],
|
|
@@ -163,108 +146,108 @@ const __iconNode$F = [
|
|
|
163
146
|
],
|
|
164
147
|
["path", { d: "M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16", key: "16ra0t" }]
|
|
165
148
|
];
|
|
166
|
-
const Building2 = createLucideIcon("building-2", __iconNode$
|
|
149
|
+
const Building2 = createLucideIcon("building-2", __iconNode$D);
|
|
167
150
|
/**
|
|
168
151
|
* @license lucide-react v0.552.0 - ISC
|
|
169
152
|
*
|
|
170
153
|
* This source code is licensed under the ISC license.
|
|
171
154
|
* See the LICENSE file in the root directory of this source tree.
|
|
172
155
|
*/
|
|
173
|
-
const __iconNode$
|
|
156
|
+
const __iconNode$C = [
|
|
174
157
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
175
158
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
176
159
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
177
160
|
["path", { d: "M3 10h18", key: "8toen8" }]
|
|
178
161
|
];
|
|
179
|
-
const Calendar = createLucideIcon("calendar", __iconNode$
|
|
162
|
+
const Calendar = createLucideIcon("calendar", __iconNode$C);
|
|
180
163
|
/**
|
|
181
164
|
* @license lucide-react v0.552.0 - ISC
|
|
182
165
|
*
|
|
183
166
|
* This source code is licensed under the ISC license.
|
|
184
167
|
* See the LICENSE file in the root directory of this source tree.
|
|
185
168
|
*/
|
|
186
|
-
const __iconNode$
|
|
187
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
169
|
+
const __iconNode$B = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
170
|
+
const Check = createLucideIcon("check", __iconNode$B);
|
|
188
171
|
/**
|
|
189
172
|
* @license lucide-react v0.552.0 - ISC
|
|
190
173
|
*
|
|
191
174
|
* This source code is licensed under the ISC license.
|
|
192
175
|
* See the LICENSE file in the root directory of this source tree.
|
|
193
176
|
*/
|
|
194
|
-
const __iconNode$
|
|
195
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
177
|
+
const __iconNode$A = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
178
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$A);
|
|
196
179
|
/**
|
|
197
180
|
* @license lucide-react v0.552.0 - ISC
|
|
198
181
|
*
|
|
199
182
|
* This source code is licensed under the ISC license.
|
|
200
183
|
* See the LICENSE file in the root directory of this source tree.
|
|
201
184
|
*/
|
|
202
|
-
const __iconNode$
|
|
203
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
185
|
+
const __iconNode$z = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
186
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$z);
|
|
204
187
|
/**
|
|
205
188
|
* @license lucide-react v0.552.0 - ISC
|
|
206
189
|
*
|
|
207
190
|
* This source code is licensed under the ISC license.
|
|
208
191
|
* See the LICENSE file in the root directory of this source tree.
|
|
209
192
|
*/
|
|
210
|
-
const __iconNode$
|
|
193
|
+
const __iconNode$y = [
|
|
211
194
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
212
195
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
213
196
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
214
197
|
];
|
|
215
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
198
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$y);
|
|
216
199
|
/**
|
|
217
200
|
* @license lucide-react v0.552.0 - ISC
|
|
218
201
|
*
|
|
219
202
|
* This source code is licensed under the ISC license.
|
|
220
203
|
* See the LICENSE file in the root directory of this source tree.
|
|
221
204
|
*/
|
|
222
|
-
const __iconNode$
|
|
205
|
+
const __iconNode$x = [
|
|
223
206
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
224
207
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
225
208
|
];
|
|
226
|
-
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$
|
|
209
|
+
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$x);
|
|
227
210
|
/**
|
|
228
211
|
* @license lucide-react v0.552.0 - ISC
|
|
229
212
|
*
|
|
230
213
|
* This source code is licensed under the ISC license.
|
|
231
214
|
* See the LICENSE file in the root directory of this source tree.
|
|
232
215
|
*/
|
|
233
|
-
const __iconNode$
|
|
216
|
+
const __iconNode$w = [
|
|
234
217
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
235
218
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }]
|
|
236
219
|
];
|
|
237
|
-
const CircleDot = createLucideIcon("circle-dot", __iconNode$
|
|
220
|
+
const CircleDot = createLucideIcon("circle-dot", __iconNode$w);
|
|
238
221
|
/**
|
|
239
222
|
* @license lucide-react v0.552.0 - ISC
|
|
240
223
|
*
|
|
241
224
|
* This source code is licensed under the ISC license.
|
|
242
225
|
* See the LICENSE file in the root directory of this source tree.
|
|
243
226
|
*/
|
|
244
|
-
const __iconNode$
|
|
227
|
+
const __iconNode$v = [
|
|
245
228
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
246
229
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
247
230
|
];
|
|
248
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
231
|
+
const Copy = createLucideIcon("copy", __iconNode$v);
|
|
249
232
|
/**
|
|
250
233
|
* @license lucide-react v0.552.0 - ISC
|
|
251
234
|
*
|
|
252
235
|
* This source code is licensed under the ISC license.
|
|
253
236
|
* See the LICENSE file in the root directory of this source tree.
|
|
254
237
|
*/
|
|
255
|
-
const __iconNode$
|
|
238
|
+
const __iconNode$u = [
|
|
256
239
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
257
240
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
258
241
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
259
242
|
];
|
|
260
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
243
|
+
const Download = createLucideIcon("download", __iconNode$u);
|
|
261
244
|
/**
|
|
262
245
|
* @license lucide-react v0.552.0 - ISC
|
|
263
246
|
*
|
|
264
247
|
* This source code is licensed under the ISC license.
|
|
265
248
|
* See the LICENSE file in the root directory of this source tree.
|
|
266
249
|
*/
|
|
267
|
-
const __iconNode$
|
|
250
|
+
const __iconNode$t = [
|
|
268
251
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
269
252
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
270
253
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -274,26 +257,26 @@ const __iconNode$v = [
|
|
|
274
257
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
275
258
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
276
259
|
];
|
|
277
|
-
const Expand = createLucideIcon("expand", __iconNode$
|
|
260
|
+
const Expand = createLucideIcon("expand", __iconNode$t);
|
|
278
261
|
/**
|
|
279
262
|
* @license lucide-react v0.552.0 - ISC
|
|
280
263
|
*
|
|
281
264
|
* This source code is licensed under the ISC license.
|
|
282
265
|
* See the LICENSE file in the root directory of this source tree.
|
|
283
266
|
*/
|
|
284
|
-
const __iconNode$
|
|
267
|
+
const __iconNode$s = [
|
|
285
268
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
286
269
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
287
270
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
288
271
|
];
|
|
289
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode$
|
|
272
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$s);
|
|
290
273
|
/**
|
|
291
274
|
* @license lucide-react v0.552.0 - ISC
|
|
292
275
|
*
|
|
293
276
|
* This source code is licensed under the ISC license.
|
|
294
277
|
* See the LICENSE file in the root directory of this source tree.
|
|
295
278
|
*/
|
|
296
|
-
const __iconNode$
|
|
279
|
+
const __iconNode$r = [
|
|
297
280
|
[
|
|
298
281
|
"path",
|
|
299
282
|
{
|
|
@@ -311,14 +294,14 @@ const __iconNode$t = [
|
|
|
311
294
|
],
|
|
312
295
|
["path", { d: "m2 2 20 20", key: "1ooewy" }]
|
|
313
296
|
];
|
|
314
|
-
const EyeOff = createLucideIcon("eye-off", __iconNode$
|
|
297
|
+
const EyeOff = createLucideIcon("eye-off", __iconNode$r);
|
|
315
298
|
/**
|
|
316
299
|
* @license lucide-react v0.552.0 - ISC
|
|
317
300
|
*
|
|
318
301
|
* This source code is licensed under the ISC license.
|
|
319
302
|
* See the LICENSE file in the root directory of this source tree.
|
|
320
303
|
*/
|
|
321
|
-
const __iconNode$
|
|
304
|
+
const __iconNode$q = [
|
|
322
305
|
[
|
|
323
306
|
"path",
|
|
324
307
|
{
|
|
@@ -328,14 +311,14 @@ const __iconNode$s = [
|
|
|
328
311
|
],
|
|
329
312
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
330
313
|
];
|
|
331
|
-
const Eye = createLucideIcon("eye", __iconNode$
|
|
314
|
+
const Eye = createLucideIcon("eye", __iconNode$q);
|
|
332
315
|
/**
|
|
333
316
|
* @license lucide-react v0.552.0 - ISC
|
|
334
317
|
*
|
|
335
318
|
* This source code is licensed under the ISC license.
|
|
336
319
|
* See the LICENSE file in the root directory of this source tree.
|
|
337
320
|
*/
|
|
338
|
-
const __iconNode$
|
|
321
|
+
const __iconNode$p = [
|
|
339
322
|
[
|
|
340
323
|
"path",
|
|
341
324
|
{
|
|
@@ -348,14 +331,14 @@ const __iconNode$r = [
|
|
|
348
331
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
349
332
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
350
333
|
];
|
|
351
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
334
|
+
const FileText = createLucideIcon("file-text", __iconNode$p);
|
|
352
335
|
/**
|
|
353
336
|
* @license lucide-react v0.552.0 - ISC
|
|
354
337
|
*
|
|
355
338
|
* This source code is licensed under the ISC license.
|
|
356
339
|
* See the LICENSE file in the root directory of this source tree.
|
|
357
340
|
*/
|
|
358
|
-
const __iconNode$
|
|
341
|
+
const __iconNode$o = [
|
|
359
342
|
[
|
|
360
343
|
"path",
|
|
361
344
|
{
|
|
@@ -364,14 +347,14 @@ const __iconNode$q = [
|
|
|
364
347
|
}
|
|
365
348
|
]
|
|
366
349
|
];
|
|
367
|
-
const FolderOpen = createLucideIcon("folder-open", __iconNode$
|
|
350
|
+
const FolderOpen = createLucideIcon("folder-open", __iconNode$o);
|
|
368
351
|
/**
|
|
369
352
|
* @license lucide-react v0.552.0 - ISC
|
|
370
353
|
*
|
|
371
354
|
* This source code is licensed under the ISC license.
|
|
372
355
|
* See the LICENSE file in the root directory of this source tree.
|
|
373
356
|
*/
|
|
374
|
-
const __iconNode$
|
|
357
|
+
const __iconNode$n = [
|
|
375
358
|
["path", { d: "M12 10v6", key: "1bos4e" }],
|
|
376
359
|
["path", { d: "M9 13h6", key: "1uhe8q" }],
|
|
377
360
|
[
|
|
@@ -382,14 +365,14 @@ const __iconNode$p = [
|
|
|
382
365
|
}
|
|
383
366
|
]
|
|
384
367
|
];
|
|
385
|
-
const FolderPlus = createLucideIcon("folder-plus", __iconNode$
|
|
368
|
+
const FolderPlus = createLucideIcon("folder-plus", __iconNode$n);
|
|
386
369
|
/**
|
|
387
370
|
* @license lucide-react v0.552.0 - ISC
|
|
388
371
|
*
|
|
389
372
|
* This source code is licensed under the ISC license.
|
|
390
373
|
* See the LICENSE file in the root directory of this source tree.
|
|
391
374
|
*/
|
|
392
|
-
const __iconNode$
|
|
375
|
+
const __iconNode$m = [
|
|
393
376
|
[
|
|
394
377
|
"path",
|
|
395
378
|
{
|
|
@@ -398,52 +381,52 @@ const __iconNode$o = [
|
|
|
398
381
|
}
|
|
399
382
|
]
|
|
400
383
|
];
|
|
401
|
-
const Folder = createLucideIcon("folder", __iconNode$
|
|
384
|
+
const Folder = createLucideIcon("folder", __iconNode$m);
|
|
402
385
|
/**
|
|
403
386
|
* @license lucide-react v0.552.0 - ISC
|
|
404
387
|
*
|
|
405
388
|
* This source code is licensed under the ISC license.
|
|
406
389
|
* See the LICENSE file in the root directory of this source tree.
|
|
407
390
|
*/
|
|
408
|
-
const __iconNode$
|
|
391
|
+
const __iconNode$l = [
|
|
409
392
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }],
|
|
410
393
|
["line", { x1: "3", x2: "9", y1: "12", y2: "12", key: "1dyftd" }],
|
|
411
394
|
["line", { x1: "15", x2: "21", y1: "12", y2: "12", key: "oup4p8" }]
|
|
412
395
|
];
|
|
413
|
-
const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$
|
|
396
|
+
const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$l);
|
|
414
397
|
/**
|
|
415
398
|
* @license lucide-react v0.552.0 - ISC
|
|
416
399
|
*
|
|
417
400
|
* This source code is licensed under the ISC license.
|
|
418
401
|
* See the LICENSE file in the root directory of this source tree.
|
|
419
402
|
*/
|
|
420
|
-
const __iconNode$
|
|
403
|
+
const __iconNode$k = [
|
|
421
404
|
["circle", { cx: "12", cy: "18", r: "3", key: "1mpf1b" }],
|
|
422
405
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
423
406
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
424
407
|
["path", { d: "M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9", key: "1uq4wg" }],
|
|
425
408
|
["path", { d: "M12 12v3", key: "158kv8" }]
|
|
426
409
|
];
|
|
427
|
-
const GitFork = createLucideIcon("git-fork", __iconNode$
|
|
410
|
+
const GitFork = createLucideIcon("git-fork", __iconNode$k);
|
|
428
411
|
/**
|
|
429
412
|
* @license lucide-react v0.552.0 - ISC
|
|
430
413
|
*
|
|
431
414
|
* This source code is licensed under the ISC license.
|
|
432
415
|
* See the LICENSE file in the root directory of this source tree.
|
|
433
416
|
*/
|
|
434
|
-
const __iconNode$
|
|
417
|
+
const __iconNode$j = [
|
|
435
418
|
["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
|
|
436
419
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
437
420
|
["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
|
|
438
421
|
];
|
|
439
|
-
const GitMerge = createLucideIcon("git-merge", __iconNode$
|
|
422
|
+
const GitMerge = createLucideIcon("git-merge", __iconNode$j);
|
|
440
423
|
/**
|
|
441
424
|
* @license lucide-react v0.552.0 - ISC
|
|
442
425
|
*
|
|
443
426
|
* This source code is licensed under the ISC license.
|
|
444
427
|
* See the LICENSE file in the root directory of this source tree.
|
|
445
428
|
*/
|
|
446
|
-
const __iconNode$
|
|
429
|
+
const __iconNode$i = [
|
|
447
430
|
[
|
|
448
431
|
"path",
|
|
449
432
|
{
|
|
@@ -453,57 +436,45 @@ const __iconNode$k = [
|
|
|
453
436
|
],
|
|
454
437
|
["path", { d: "M9 18c-4.51 2-5-2-7-2", key: "9comsn" }]
|
|
455
438
|
];
|
|
456
|
-
const Github = createLucideIcon("github", __iconNode$
|
|
439
|
+
const Github = createLucideIcon("github", __iconNode$i);
|
|
457
440
|
/**
|
|
458
441
|
* @license lucide-react v0.552.0 - ISC
|
|
459
442
|
*
|
|
460
443
|
* This source code is licensed under the ISC license.
|
|
461
444
|
* See the LICENSE file in the root directory of this source tree.
|
|
462
445
|
*/
|
|
463
|
-
const __iconNode$
|
|
464
|
-
|
|
465
|
-
["path", { d: "M3 3v5h5", key: "1xhq8a" }],
|
|
466
|
-
["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
|
|
467
|
-
];
|
|
468
|
-
const History = createLucideIcon("history", __iconNode$j);
|
|
446
|
+
const __iconNode$h = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
447
|
+
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$h);
|
|
469
448
|
/**
|
|
470
449
|
* @license lucide-react v0.552.0 - ISC
|
|
471
450
|
*
|
|
472
451
|
* This source code is licensed under the ISC license.
|
|
473
452
|
* See the LICENSE file in the root directory of this source tree.
|
|
474
453
|
*/
|
|
475
|
-
const __iconNode$
|
|
476
|
-
const LoaderCircle = createLucideIcon("loader-circle", __iconNode$i);
|
|
477
|
-
/**
|
|
478
|
-
* @license lucide-react v0.552.0 - ISC
|
|
479
|
-
*
|
|
480
|
-
* This source code is licensed under the ISC license.
|
|
481
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
482
|
-
*/
|
|
483
|
-
const __iconNode$h = [
|
|
454
|
+
const __iconNode$g = [
|
|
484
455
|
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
|
485
456
|
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
|
486
457
|
];
|
|
487
|
-
const Lock = createLucideIcon("lock", __iconNode$
|
|
458
|
+
const Lock = createLucideIcon("lock", __iconNode$g);
|
|
488
459
|
/**
|
|
489
460
|
* @license lucide-react v0.552.0 - ISC
|
|
490
461
|
*
|
|
491
462
|
* This source code is licensed under the ISC license.
|
|
492
463
|
* See the LICENSE file in the root directory of this source tree.
|
|
493
464
|
*/
|
|
494
|
-
const __iconNode$
|
|
465
|
+
const __iconNode$f = [
|
|
495
466
|
["path", { d: "m10 17 5-5-5-5", key: "1bsop3" }],
|
|
496
467
|
["path", { d: "M15 12H3", key: "6jk70r" }],
|
|
497
468
|
["path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4", key: "u53s6r" }]
|
|
498
469
|
];
|
|
499
|
-
const LogIn = createLucideIcon("log-in", __iconNode$
|
|
470
|
+
const LogIn = createLucideIcon("log-in", __iconNode$f);
|
|
500
471
|
/**
|
|
501
472
|
* @license lucide-react v0.552.0 - ISC
|
|
502
473
|
*
|
|
503
474
|
* This source code is licensed under the ISC license.
|
|
504
475
|
* See the LICENSE file in the root directory of this source tree.
|
|
505
476
|
*/
|
|
506
|
-
const __iconNode$
|
|
477
|
+
const __iconNode$e = [
|
|
507
478
|
[
|
|
508
479
|
"path",
|
|
509
480
|
{
|
|
@@ -512,37 +483,37 @@ const __iconNode$f = [
|
|
|
512
483
|
}
|
|
513
484
|
]
|
|
514
485
|
];
|
|
515
|
-
const MessageSquare = createLucideIcon("message-square", __iconNode$
|
|
486
|
+
const MessageSquare = createLucideIcon("message-square", __iconNode$e);
|
|
516
487
|
/**
|
|
517
488
|
* @license lucide-react v0.552.0 - ISC
|
|
518
489
|
*
|
|
519
490
|
* This source code is licensed under the ISC license.
|
|
520
491
|
* See the LICENSE file in the root directory of this source tree.
|
|
521
492
|
*/
|
|
522
|
-
const __iconNode$
|
|
493
|
+
const __iconNode$d = [
|
|
523
494
|
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
524
495
|
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
525
496
|
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
526
497
|
];
|
|
527
|
-
const Monitor = createLucideIcon("monitor", __iconNode$
|
|
498
|
+
const Monitor = createLucideIcon("monitor", __iconNode$d);
|
|
528
499
|
/**
|
|
529
500
|
* @license lucide-react v0.552.0 - ISC
|
|
530
501
|
*
|
|
531
502
|
* This source code is licensed under the ISC license.
|
|
532
503
|
* See the LICENSE file in the root directory of this source tree.
|
|
533
504
|
*/
|
|
534
|
-
const __iconNode$
|
|
505
|
+
const __iconNode$c = [
|
|
535
506
|
["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
|
|
536
507
|
["path", { d: "M2 12H22", key: "1m8cig" }]
|
|
537
508
|
];
|
|
538
|
-
const MoveRight = createLucideIcon("move-right", __iconNode$
|
|
509
|
+
const MoveRight = createLucideIcon("move-right", __iconNode$c);
|
|
539
510
|
/**
|
|
540
511
|
* @license lucide-react v0.552.0 - ISC
|
|
541
512
|
*
|
|
542
513
|
* This source code is licensed under the ISC license.
|
|
543
514
|
* See the LICENSE file in the root directory of this source tree.
|
|
544
515
|
*/
|
|
545
|
-
const __iconNode$
|
|
516
|
+
const __iconNode$b = [
|
|
546
517
|
[
|
|
547
518
|
"path",
|
|
548
519
|
{
|
|
@@ -551,38 +522,38 @@ const __iconNode$c = [
|
|
|
551
522
|
}
|
|
552
523
|
]
|
|
553
524
|
];
|
|
554
|
-
const Play = createLucideIcon("play", __iconNode$
|
|
525
|
+
const Play = createLucideIcon("play", __iconNode$b);
|
|
555
526
|
/**
|
|
556
527
|
* @license lucide-react v0.552.0 - ISC
|
|
557
528
|
*
|
|
558
529
|
* This source code is licensed under the ISC license.
|
|
559
530
|
* See the LICENSE file in the root directory of this source tree.
|
|
560
531
|
*/
|
|
561
|
-
const __iconNode$
|
|
532
|
+
const __iconNode$a = [
|
|
562
533
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
563
534
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
564
535
|
];
|
|
565
|
-
const Plus = createLucideIcon("plus", __iconNode$
|
|
536
|
+
const Plus = createLucideIcon("plus", __iconNode$a);
|
|
566
537
|
/**
|
|
567
538
|
* @license lucide-react v0.552.0 - ISC
|
|
568
539
|
*
|
|
569
540
|
* This source code is licensed under the ISC license.
|
|
570
541
|
* See the LICENSE file in the root directory of this source tree.
|
|
571
542
|
*/
|
|
572
|
-
const __iconNode$
|
|
543
|
+
const __iconNode$9 = [
|
|
573
544
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
574
545
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
575
546
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
576
547
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
577
548
|
];
|
|
578
|
-
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$
|
|
549
|
+
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$9);
|
|
579
550
|
/**
|
|
580
551
|
* @license lucide-react v0.552.0 - ISC
|
|
581
552
|
*
|
|
582
553
|
* This source code is licensed under the ISC license.
|
|
583
554
|
* See the LICENSE file in the root directory of this source tree.
|
|
584
555
|
*/
|
|
585
|
-
const __iconNode$
|
|
556
|
+
const __iconNode$8 = [
|
|
586
557
|
[
|
|
587
558
|
"path",
|
|
588
559
|
{
|
|
@@ -600,39 +571,39 @@ const __iconNode$9 = [
|
|
|
600
571
|
["path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0", key: "1f8sc4" }],
|
|
601
572
|
["path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5", key: "qeys4" }]
|
|
602
573
|
];
|
|
603
|
-
const Rocket = createLucideIcon("rocket", __iconNode$
|
|
574
|
+
const Rocket = createLucideIcon("rocket", __iconNode$8);
|
|
604
575
|
/**
|
|
605
576
|
* @license lucide-react v0.552.0 - ISC
|
|
606
577
|
*
|
|
607
578
|
* This source code is licensed under the ISC license.
|
|
608
579
|
* See the LICENSE file in the root directory of this source tree.
|
|
609
580
|
*/
|
|
610
|
-
const __iconNode$
|
|
581
|
+
const __iconNode$7 = [
|
|
611
582
|
["path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "7g6ntu" }],
|
|
612
583
|
["path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "ijws7r" }],
|
|
613
584
|
["path", { d: "M7 21h10", key: "1b0cd5" }],
|
|
614
585
|
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
615
586
|
["path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2", key: "3gwbw2" }]
|
|
616
587
|
];
|
|
617
|
-
const Scale = createLucideIcon("scale", __iconNode$
|
|
588
|
+
const Scale = createLucideIcon("scale", __iconNode$7);
|
|
618
589
|
/**
|
|
619
590
|
* @license lucide-react v0.552.0 - ISC
|
|
620
591
|
*
|
|
621
592
|
* This source code is licensed under the ISC license.
|
|
622
593
|
* See the LICENSE file in the root directory of this source tree.
|
|
623
594
|
*/
|
|
624
|
-
const __iconNode$
|
|
595
|
+
const __iconNode$6 = [
|
|
625
596
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
626
597
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
627
598
|
];
|
|
628
|
-
const Search = createLucideIcon("search", __iconNode$
|
|
599
|
+
const Search = createLucideIcon("search", __iconNode$6);
|
|
629
600
|
/**
|
|
630
601
|
* @license lucide-react v0.552.0 - ISC
|
|
631
602
|
*
|
|
632
603
|
* This source code is licensed under the ISC license.
|
|
633
604
|
* See the LICENSE file in the root directory of this source tree.
|
|
634
605
|
*/
|
|
635
|
-
const __iconNode$
|
|
606
|
+
const __iconNode$5 = [
|
|
636
607
|
[
|
|
637
608
|
"path",
|
|
638
609
|
{
|
|
@@ -641,14 +612,14 @@ const __iconNode$6 = [
|
|
|
641
612
|
}
|
|
642
613
|
]
|
|
643
614
|
];
|
|
644
|
-
const Star = createLucideIcon("star", __iconNode$
|
|
615
|
+
const Star = createLucideIcon("star", __iconNode$5);
|
|
645
616
|
/**
|
|
646
617
|
* @license lucide-react v0.552.0 - ISC
|
|
647
618
|
*
|
|
648
619
|
* This source code is licensed under the ISC license.
|
|
649
620
|
* See the LICENSE file in the root directory of this source tree.
|
|
650
621
|
*/
|
|
651
|
-
const __iconNode$
|
|
622
|
+
const __iconNode$4 = [
|
|
652
623
|
[
|
|
653
624
|
"path",
|
|
654
625
|
{
|
|
@@ -658,57 +629,46 @@ const __iconNode$5 = [
|
|
|
658
629
|
],
|
|
659
630
|
["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
|
|
660
631
|
];
|
|
661
|
-
const Tag = createLucideIcon("tag", __iconNode$
|
|
632
|
+
const Tag = createLucideIcon("tag", __iconNode$4);
|
|
662
633
|
/**
|
|
663
634
|
* @license lucide-react v0.552.0 - ISC
|
|
664
635
|
*
|
|
665
636
|
* This source code is licensed under the ISC license.
|
|
666
637
|
* See the LICENSE file in the root directory of this source tree.
|
|
667
638
|
*/
|
|
668
|
-
const __iconNode$
|
|
639
|
+
const __iconNode$3 = [
|
|
669
640
|
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
670
641
|
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
671
642
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
672
643
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
673
644
|
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
674
645
|
];
|
|
675
|
-
const Trash2 = createLucideIcon("trash-2", __iconNode$
|
|
646
|
+
const Trash2 = createLucideIcon("trash-2", __iconNode$3);
|
|
676
647
|
/**
|
|
677
648
|
* @license lucide-react v0.552.0 - ISC
|
|
678
649
|
*
|
|
679
650
|
* This source code is licensed under the ISC license.
|
|
680
651
|
* See the LICENSE file in the root directory of this source tree.
|
|
681
652
|
*/
|
|
682
|
-
const __iconNode$
|
|
653
|
+
const __iconNode$2 = [
|
|
683
654
|
["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
|
|
684
655
|
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
|
|
685
656
|
["line", { x1: "22", x2: "16", y1: "11", y2: "11", key: "1shjgl" }]
|
|
686
657
|
];
|
|
687
|
-
const UserMinus = createLucideIcon("user-minus", __iconNode$
|
|
658
|
+
const UserMinus = createLucideIcon("user-minus", __iconNode$2);
|
|
688
659
|
/**
|
|
689
660
|
* @license lucide-react v0.552.0 - ISC
|
|
690
661
|
*
|
|
691
662
|
* This source code is licensed under the ISC license.
|
|
692
663
|
* See the LICENSE file in the root directory of this source tree.
|
|
693
664
|
*/
|
|
694
|
-
const __iconNode$
|
|
665
|
+
const __iconNode$1 = [
|
|
695
666
|
["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
|
|
696
667
|
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
|
|
697
668
|
["line", { x1: "19", x2: "19", y1: "8", y2: "14", key: "1bvyxn" }],
|
|
698
669
|
["line", { x1: "22", x2: "16", y1: "11", y2: "11", key: "1shjgl" }]
|
|
699
670
|
];
|
|
700
|
-
const UserPlus = createLucideIcon("user-plus", __iconNode$
|
|
701
|
-
/**
|
|
702
|
-
* @license lucide-react v0.552.0 - ISC
|
|
703
|
-
*
|
|
704
|
-
* This source code is licensed under the ISC license.
|
|
705
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
706
|
-
*/
|
|
707
|
-
const __iconNode$1 = [
|
|
708
|
-
["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
|
|
709
|
-
["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
|
|
710
|
-
];
|
|
711
|
-
const User = createLucideIcon("user", __iconNode$1);
|
|
671
|
+
const UserPlus = createLucideIcon("user-plus", __iconNode$1);
|
|
712
672
|
/**
|
|
713
673
|
* @license lucide-react v0.552.0 - ISC
|
|
714
674
|
*
|
|
@@ -53099,6 +53059,10 @@ function saveRecentOwners(owners) {
|
|
|
53099
53059
|
}
|
|
53100
53060
|
}
|
|
53101
53061
|
function addRecentRepository(repo) {
|
|
53062
|
+
if (repo.id == null) {
|
|
53063
|
+
console.warn("addRecentRepository: skipping repository without valid id", repo.full_name);
|
|
53064
|
+
return;
|
|
53065
|
+
}
|
|
53102
53066
|
const recent = loadRecentRepositories();
|
|
53103
53067
|
const filtered = recent.filter((r2) => r2.id !== repo.id);
|
|
53104
53068
|
const newEntry = {
|
|
@@ -53124,6 +53088,10 @@ function addRecentRepository(repo) {
|
|
|
53124
53088
|
}
|
|
53125
53089
|
}
|
|
53126
53090
|
function addRecentOwner(owner) {
|
|
53091
|
+
if (owner.id == null) {
|
|
53092
|
+
console.warn("addRecentOwner: skipping owner without valid id", owner.login);
|
|
53093
|
+
return;
|
|
53094
|
+
}
|
|
53127
53095
|
const recent = loadRecentOwners();
|
|
53128
53096
|
const filtered = recent.filter((o) => o.id !== owner.id);
|
|
53129
53097
|
const newEntry = {
|
|
@@ -53152,14 +53120,13 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53152
53120
|
const [items, setItems] = useState([]);
|
|
53153
53121
|
const [selectedId, setSelectedId] = useState(null);
|
|
53154
53122
|
const [hoveredId, setHoveredId] = useState(null);
|
|
53155
|
-
const [filter, setFilter] = useState("all");
|
|
53156
53123
|
const getItemId = (item) => {
|
|
53157
53124
|
return item.type === "repository" ? `repo-${item.id}` : `owner-${item.id}`;
|
|
53158
53125
|
};
|
|
53159
53126
|
useEffect(() => {
|
|
53160
53127
|
const loadItems = () => {
|
|
53161
|
-
const repos = loadRecentRepositories();
|
|
53162
|
-
const owners = loadRecentOwners();
|
|
53128
|
+
const repos = loadRecentRepositories().filter((r2) => r2.id != null);
|
|
53129
|
+
const owners = loadRecentOwners().filter((o) => o.id != null);
|
|
53163
53130
|
const merged = [...repos, ...owners].sort(
|
|
53164
53131
|
(a, b) => b.visitedAt - a.visitedAt
|
|
53165
53132
|
);
|
|
@@ -53174,31 +53141,6 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53174
53141
|
window.removeEventListener("recent-repositories-updated", handleUpdate);
|
|
53175
53142
|
};
|
|
53176
53143
|
}, []);
|
|
53177
|
-
const filteredItems = items.filter((item) => {
|
|
53178
|
-
if (filter === "all") return true;
|
|
53179
|
-
if (filter === "repos") return item.type === "repository";
|
|
53180
|
-
if (filter === "owners") return item.type === "owner";
|
|
53181
|
-
return true;
|
|
53182
|
-
});
|
|
53183
|
-
const formatRelativeTime = (timestamp) => {
|
|
53184
|
-
const now = Date.now();
|
|
53185
|
-
const diffMs = now - timestamp;
|
|
53186
|
-
const diffMins = Math.floor(diffMs / (1e3 * 60));
|
|
53187
|
-
const diffHours = Math.floor(diffMs / (1e3 * 60 * 60));
|
|
53188
|
-
const diffDays = Math.floor(diffMs / (1e3 * 60 * 60 * 24));
|
|
53189
|
-
if (diffMins < 1) return "just now";
|
|
53190
|
-
if (diffMins < 60) return `${diffMins}m ago`;
|
|
53191
|
-
if (diffHours < 24) return `${diffHours}h ago`;
|
|
53192
|
-
if (diffDays === 1) return "yesterday";
|
|
53193
|
-
if (diffDays < 7) return `${diffDays}d ago`;
|
|
53194
|
-
if (diffDays < 30) return `${Math.floor(diffDays / 7)}w ago`;
|
|
53195
|
-
return `${Math.floor(diffDays / 30)}mo ago`;
|
|
53196
|
-
};
|
|
53197
|
-
const formatNumber2 = (num) => {
|
|
53198
|
-
if (num >= 1e6) return `${(num / 1e6).toFixed(1)}M`;
|
|
53199
|
-
if (num >= 1e3) return `${(num / 1e3).toFixed(1)}K`;
|
|
53200
|
-
return num.toString();
|
|
53201
|
-
};
|
|
53202
53144
|
const handleSelectRepository = useCallback((repo) => {
|
|
53203
53145
|
setSelectedId(getItemId(repo));
|
|
53204
53146
|
const githubRepo = {
|
|
@@ -53300,21 +53242,11 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53300
53242
|
}
|
|
53301
53243
|
}, [selectedId]);
|
|
53302
53244
|
const handleClearAll = useCallback(() => {
|
|
53303
|
-
|
|
53304
|
-
|
|
53305
|
-
|
|
53306
|
-
if (filter === "all" || filter === "owners") {
|
|
53307
|
-
saveRecentOwners([]);
|
|
53308
|
-
}
|
|
53309
|
-
if (filter === "all") {
|
|
53310
|
-
setItems([]);
|
|
53311
|
-
} else {
|
|
53312
|
-
setItems((prev) => prev.filter(
|
|
53313
|
-
(item) => filter === "repos" ? item.type !== "repository" : item.type !== "owner"
|
|
53314
|
-
));
|
|
53315
|
-
}
|
|
53245
|
+
saveRecentRepositories([]);
|
|
53246
|
+
saveRecentOwners([]);
|
|
53247
|
+
setItems([]);
|
|
53316
53248
|
setSelectedId(null);
|
|
53317
|
-
}, [
|
|
53249
|
+
}, []);
|
|
53318
53250
|
return /* @__PURE__ */ jsxs(
|
|
53319
53251
|
"div",
|
|
53320
53252
|
{
|
|
@@ -53338,21 +53270,18 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53338
53270
|
justifyContent: "space-between"
|
|
53339
53271
|
},
|
|
53340
53272
|
children: [
|
|
53341
|
-
/* @__PURE__ */
|
|
53342
|
-
|
|
53343
|
-
|
|
53344
|
-
|
|
53345
|
-
|
|
53346
|
-
|
|
53347
|
-
|
|
53348
|
-
|
|
53349
|
-
|
|
53350
|
-
|
|
53351
|
-
|
|
53352
|
-
|
|
53353
|
-
)
|
|
53354
|
-
] }),
|
|
53355
|
-
items.length > 0 && /* @__PURE__ */ jsxs(
|
|
53273
|
+
/* @__PURE__ */ jsx(
|
|
53274
|
+
"h2",
|
|
53275
|
+
{
|
|
53276
|
+
style: {
|
|
53277
|
+
margin: 0,
|
|
53278
|
+
fontSize: `${theme2.fontSizes[3]}px`,
|
|
53279
|
+
fontWeight: theme2.fontWeights.semibold
|
|
53280
|
+
},
|
|
53281
|
+
children: "Recent"
|
|
53282
|
+
}
|
|
53283
|
+
),
|
|
53284
|
+
items.length > 0 && /* @__PURE__ */ jsx(
|
|
53356
53285
|
"button",
|
|
53357
53286
|
{
|
|
53358
53287
|
onClick: handleClearAll,
|
|
@@ -53363,55 +53292,16 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53363
53292
|
background: "transparent",
|
|
53364
53293
|
cursor: "pointer",
|
|
53365
53294
|
color: theme2.colors.textSecondary,
|
|
53366
|
-
fontSize: `${theme2.fontSizes[1]}px
|
|
53367
|
-
display: "flex",
|
|
53368
|
-
alignItems: "center",
|
|
53369
|
-
gap: "6px"
|
|
53295
|
+
fontSize: `${theme2.fontSizes[1]}px`
|
|
53370
53296
|
},
|
|
53371
53297
|
title: "Clear history",
|
|
53372
|
-
children:
|
|
53373
|
-
/* @__PURE__ */ jsx(Trash2, { size: 14 }),
|
|
53374
|
-
"Clear"
|
|
53375
|
-
]
|
|
53298
|
+
children: "Clear"
|
|
53376
53299
|
}
|
|
53377
53300
|
)
|
|
53378
53301
|
]
|
|
53379
53302
|
}
|
|
53380
53303
|
),
|
|
53381
|
-
items.length
|
|
53382
|
-
"div",
|
|
53383
|
-
{
|
|
53384
|
-
style: {
|
|
53385
|
-
padding: "8px 16px",
|
|
53386
|
-
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
53387
|
-
display: "flex",
|
|
53388
|
-
gap: "4px"
|
|
53389
|
-
},
|
|
53390
|
-
children: [
|
|
53391
|
-
{ key: "all", label: "All" },
|
|
53392
|
-
{ key: "repos", label: "Repositories" },
|
|
53393
|
-
{ key: "owners", label: "Owners" }
|
|
53394
|
-
].map(({ key, label }) => /* @__PURE__ */ jsx(
|
|
53395
|
-
"button",
|
|
53396
|
-
{
|
|
53397
|
-
onClick: () => setFilter(key),
|
|
53398
|
-
style: {
|
|
53399
|
-
padding: "6px 12px",
|
|
53400
|
-
borderRadius: "6px",
|
|
53401
|
-
border: "none",
|
|
53402
|
-
background: filter === key ? theme2.colors.primary : theme2.colors.backgroundSecondary,
|
|
53403
|
-
color: filter === key ? "#fff" : theme2.colors.text,
|
|
53404
|
-
fontSize: `${theme2.fontSizes[1]}px`,
|
|
53405
|
-
cursor: "pointer",
|
|
53406
|
-
fontWeight: filter === key ? theme2.fontWeights.semibold : theme2.fontWeights.body
|
|
53407
|
-
},
|
|
53408
|
-
children: label
|
|
53409
|
-
},
|
|
53410
|
-
key
|
|
53411
|
-
))
|
|
53412
|
-
}
|
|
53413
|
-
),
|
|
53414
|
-
filteredItems.length === 0 && /* @__PURE__ */ jsxs(
|
|
53304
|
+
items.length === 0 && /* @__PURE__ */ jsxs(
|
|
53415
53305
|
"div",
|
|
53416
53306
|
{
|
|
53417
53307
|
style: {
|
|
@@ -53425,45 +53315,50 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53425
53315
|
},
|
|
53426
53316
|
children: [
|
|
53427
53317
|
/* @__PURE__ */ jsx(Github, { size: 48, color: theme2.colors.border, style: { marginBottom: 16 } }),
|
|
53428
|
-
/* @__PURE__ */ jsx("p", { style: { margin: 0, fontSize: `${theme2.fontSizes[2]}px` }, children:
|
|
53429
|
-
/* @__PURE__ */ jsx("p", { style: { margin: "8px 0 0", fontSize: `${theme2.fontSizes[1]}px` }, children:
|
|
53318
|
+
/* @__PURE__ */ jsx("p", { style: { margin: 0, fontSize: `${theme2.fontSizes[2]}px` }, children: "No recent activity" }),
|
|
53319
|
+
/* @__PURE__ */ jsx("p", { style: { margin: "8px 0 0", fontSize: `${theme2.fontSizes[1]}px` }, children: "Repositories and owners you visit will appear here" })
|
|
53430
53320
|
]
|
|
53431
53321
|
}
|
|
53432
53322
|
),
|
|
53433
|
-
|
|
53323
|
+
items.length > 0 && /* @__PURE__ */ jsx(
|
|
53434
53324
|
"div",
|
|
53435
53325
|
{
|
|
53436
53326
|
style: {
|
|
53437
53327
|
flex: 1,
|
|
53438
|
-
overflowY: "auto"
|
|
53439
|
-
padding: "8px"
|
|
53328
|
+
overflowY: "auto"
|
|
53440
53329
|
},
|
|
53441
|
-
children:
|
|
53330
|
+
children: items.map((item) => {
|
|
53442
53331
|
const itemId = getItemId(item);
|
|
53443
53332
|
const isSelected = selectedId === itemId;
|
|
53444
53333
|
const isHovered = hoveredId === itemId;
|
|
53445
53334
|
if (item.type === "repository") {
|
|
53446
53335
|
return /* @__PURE__ */ jsxs(
|
|
53447
|
-
"
|
|
53336
|
+
"div",
|
|
53448
53337
|
{
|
|
53449
|
-
|
|
53338
|
+
role: "button",
|
|
53339
|
+
tabIndex: 0,
|
|
53450
53340
|
onClick: () => handleSelectRepository(item),
|
|
53451
53341
|
onDoubleClick: () => handleOpenRepository(item),
|
|
53342
|
+
onKeyDown: (e) => {
|
|
53343
|
+
if (e.key === "Enter") handleSelectRepository(item);
|
|
53344
|
+
if (e.key === " ") {
|
|
53345
|
+
e.preventDefault();
|
|
53346
|
+
handleSelectRepository(item);
|
|
53347
|
+
}
|
|
53348
|
+
},
|
|
53452
53349
|
onMouseEnter: () => setHoveredId(itemId),
|
|
53453
53350
|
onMouseLeave: () => setHoveredId(null),
|
|
53454
53351
|
style: {
|
|
53455
53352
|
width: "100%",
|
|
53456
|
-
padding: "12px",
|
|
53457
|
-
|
|
53458
|
-
|
|
53459
|
-
border: isSelected ? `2px solid ${theme2.colors.primary}` : `1px solid ${theme2.colors.border}`,
|
|
53460
|
-
backgroundColor: isSelected ? `${theme2.colors.primary}10` : theme2.colors.surface,
|
|
53353
|
+
padding: "12px 16px",
|
|
53354
|
+
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
53355
|
+
backgroundColor: isSelected ? `${theme2.colors.primary}10` : isHovered ? theme2.colors.backgroundSecondary : "transparent",
|
|
53461
53356
|
cursor: "pointer",
|
|
53462
53357
|
textAlign: "left",
|
|
53463
53358
|
display: "flex",
|
|
53464
53359
|
flexDirection: "column",
|
|
53465
|
-
gap: "
|
|
53466
|
-
transition: "
|
|
53360
|
+
gap: "6px",
|
|
53361
|
+
transition: "background-color 0.15s ease",
|
|
53467
53362
|
position: "relative"
|
|
53468
53363
|
},
|
|
53469
53364
|
children: [
|
|
@@ -53473,7 +53368,7 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53473
53368
|
onClick: (e) => handleRemoveItem(item, e),
|
|
53474
53369
|
style: {
|
|
53475
53370
|
position: "absolute",
|
|
53476
|
-
top: "
|
|
53371
|
+
top: "6px",
|
|
53477
53372
|
right: "8px",
|
|
53478
53373
|
padding: "4px",
|
|
53479
53374
|
borderRadius: "4px",
|
|
@@ -53489,8 +53384,7 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53489
53384
|
children: /* @__PURE__ */ jsx(X, { size: 14 })
|
|
53490
53385
|
}
|
|
53491
53386
|
),
|
|
53492
|
-
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "
|
|
53493
|
-
/* @__PURE__ */ jsx(BookOpen, { size: 16, color: theme2.colors.textSecondary }),
|
|
53387
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
53494
53388
|
item.owner.avatar_url && /* @__PURE__ */ jsx(
|
|
53495
53389
|
"img",
|
|
53496
53390
|
{
|
|
@@ -53509,21 +53403,21 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53509
53403
|
"span",
|
|
53510
53404
|
{
|
|
53511
53405
|
style: {
|
|
53512
|
-
fontSize: `${theme2.fontSizes[
|
|
53513
|
-
|
|
53406
|
+
fontSize: `${theme2.fontSizes[2]}px`,
|
|
53407
|
+
fontWeight: theme2.fontWeights.semibold,
|
|
53408
|
+
color: theme2.colors.primary
|
|
53514
53409
|
},
|
|
53515
|
-
children: item.
|
|
53410
|
+
children: item.name
|
|
53516
53411
|
}
|
|
53517
53412
|
),
|
|
53518
53413
|
/* @__PURE__ */ jsx(
|
|
53519
53414
|
"span",
|
|
53520
53415
|
{
|
|
53521
53416
|
style: {
|
|
53522
|
-
fontSize: `${theme2.fontSizes[
|
|
53523
|
-
|
|
53524
|
-
color: theme2.colors.primary
|
|
53417
|
+
fontSize: `${theme2.fontSizes[1]}px`,
|
|
53418
|
+
color: theme2.colors.textSecondary
|
|
53525
53419
|
},
|
|
53526
|
-
children: item.
|
|
53420
|
+
children: item.owner.login
|
|
53527
53421
|
}
|
|
53528
53422
|
)
|
|
53529
53423
|
] })
|
|
@@ -53543,62 +53437,6 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53543
53437
|
},
|
|
53544
53438
|
children: item.description
|
|
53545
53439
|
}
|
|
53546
|
-
),
|
|
53547
|
-
/* @__PURE__ */ jsxs(
|
|
53548
|
-
"div",
|
|
53549
|
-
{
|
|
53550
|
-
style: {
|
|
53551
|
-
display: "flex",
|
|
53552
|
-
alignItems: "center",
|
|
53553
|
-
gap: "16px",
|
|
53554
|
-
fontSize: `${theme2.fontSizes[1]}px`,
|
|
53555
|
-
color: theme2.colors.textSecondary
|
|
53556
|
-
},
|
|
53557
|
-
children: [
|
|
53558
|
-
item.language && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
53559
|
-
/* @__PURE__ */ jsx(
|
|
53560
|
-
"span",
|
|
53561
|
-
{
|
|
53562
|
-
style: {
|
|
53563
|
-
width: 10,
|
|
53564
|
-
height: 10,
|
|
53565
|
-
borderRadius: "50%",
|
|
53566
|
-
backgroundColor: theme2.colors.info
|
|
53567
|
-
}
|
|
53568
|
-
}
|
|
53569
|
-
),
|
|
53570
|
-
item.language
|
|
53571
|
-
] }),
|
|
53572
|
-
item.stargazers_count !== void 0 && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
53573
|
-
/* @__PURE__ */ jsx(Star, { size: 14 }),
|
|
53574
|
-
formatNumber2(item.stargazers_count)
|
|
53575
|
-
] }),
|
|
53576
|
-
item.forks_count !== void 0 && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
53577
|
-
/* @__PURE__ */ jsx(GitFork, { size: 14 }),
|
|
53578
|
-
formatNumber2(item.forks_count)
|
|
53579
|
-
] }),
|
|
53580
|
-
/* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
53581
|
-
/* @__PURE__ */ jsx(Calendar, { size: 14 }),
|
|
53582
|
-
formatRelativeTime(item.visitedAt)
|
|
53583
|
-
] }),
|
|
53584
|
-
/* @__PURE__ */ jsx(
|
|
53585
|
-
"a",
|
|
53586
|
-
{
|
|
53587
|
-
href: item.html_url,
|
|
53588
|
-
target: "_blank",
|
|
53589
|
-
rel: "noopener noreferrer",
|
|
53590
|
-
onClick: (e) => e.stopPropagation(),
|
|
53591
|
-
style: {
|
|
53592
|
-
marginLeft: "auto",
|
|
53593
|
-
color: theme2.colors.textSecondary,
|
|
53594
|
-
display: "flex",
|
|
53595
|
-
alignItems: "center"
|
|
53596
|
-
},
|
|
53597
|
-
children: /* @__PURE__ */ jsx(ExternalLink, { size: 14 })
|
|
53598
|
-
}
|
|
53599
|
-
)
|
|
53600
|
-
]
|
|
53601
|
-
}
|
|
53602
53440
|
)
|
|
53603
53441
|
]
|
|
53604
53442
|
},
|
|
@@ -53606,26 +53444,32 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53606
53444
|
);
|
|
53607
53445
|
}
|
|
53608
53446
|
return /* @__PURE__ */ jsxs(
|
|
53609
|
-
"
|
|
53447
|
+
"div",
|
|
53610
53448
|
{
|
|
53611
|
-
|
|
53449
|
+
role: "button",
|
|
53450
|
+
tabIndex: 0,
|
|
53612
53451
|
onClick: () => handleSelectOwner(item),
|
|
53613
53452
|
onDoubleClick: () => handleOpenOwner(item),
|
|
53453
|
+
onKeyDown: (e) => {
|
|
53454
|
+
if (e.key === "Enter") handleSelectOwner(item);
|
|
53455
|
+
if (e.key === " ") {
|
|
53456
|
+
e.preventDefault();
|
|
53457
|
+
handleSelectOwner(item);
|
|
53458
|
+
}
|
|
53459
|
+
},
|
|
53614
53460
|
onMouseEnter: () => setHoveredId(itemId),
|
|
53615
53461
|
onMouseLeave: () => setHoveredId(null),
|
|
53616
53462
|
style: {
|
|
53617
53463
|
width: "100%",
|
|
53618
|
-
padding: "12px",
|
|
53619
|
-
|
|
53620
|
-
|
|
53621
|
-
border: isSelected ? `2px solid ${theme2.colors.primary}` : `1px solid ${theme2.colors.border}`,
|
|
53622
|
-
backgroundColor: isSelected ? `${theme2.colors.primary}10` : theme2.colors.surface,
|
|
53464
|
+
padding: "12px 16px",
|
|
53465
|
+
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
53466
|
+
backgroundColor: isSelected ? `${theme2.colors.primary}10` : isHovered ? theme2.colors.backgroundSecondary : "transparent",
|
|
53623
53467
|
cursor: "pointer",
|
|
53624
53468
|
textAlign: "left",
|
|
53625
53469
|
display: "flex",
|
|
53626
53470
|
flexDirection: "column",
|
|
53627
|
-
gap: "
|
|
53628
|
-
transition: "
|
|
53471
|
+
gap: "6px",
|
|
53472
|
+
transition: "background-color 0.15s ease",
|
|
53629
53473
|
position: "relative"
|
|
53630
53474
|
},
|
|
53631
53475
|
children: [
|
|
@@ -53635,7 +53479,7 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53635
53479
|
onClick: (e) => handleRemoveItem(item, e),
|
|
53636
53480
|
style: {
|
|
53637
53481
|
position: "absolute",
|
|
53638
|
-
top: "
|
|
53482
|
+
top: "6px",
|
|
53639
53483
|
right: "8px",
|
|
53640
53484
|
padding: "4px",
|
|
53641
53485
|
borderRadius: "4px",
|
|
@@ -53651,8 +53495,7 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53651
53495
|
children: /* @__PURE__ */ jsx(X, { size: 14 })
|
|
53652
53496
|
}
|
|
53653
53497
|
),
|
|
53654
|
-
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "
|
|
53655
|
-
item.ownerType === "Organization" ? /* @__PURE__ */ jsx(Building2, { size: 16, color: theme2.colors.textSecondary }) : /* @__PURE__ */ jsx(User, { size: 16, color: theme2.colors.textSecondary }),
|
|
53498
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
53656
53499
|
item.avatar_url && /* @__PURE__ */ jsx(
|
|
53657
53500
|
"img",
|
|
53658
53501
|
{
|
|
@@ -53708,50 +53551,6 @@ const RecentRepositoriesPanelContent = ({
|
|
|
53708
53551
|
},
|
|
53709
53552
|
children: item.bio
|
|
53710
53553
|
}
|
|
53711
|
-
),
|
|
53712
|
-
/* @__PURE__ */ jsxs(
|
|
53713
|
-
"div",
|
|
53714
|
-
{
|
|
53715
|
-
style: {
|
|
53716
|
-
display: "flex",
|
|
53717
|
-
alignItems: "center",
|
|
53718
|
-
gap: "16px",
|
|
53719
|
-
fontSize: `${theme2.fontSizes[1]}px`,
|
|
53720
|
-
color: theme2.colors.textSecondary
|
|
53721
|
-
},
|
|
53722
|
-
children: [
|
|
53723
|
-
item.public_repos !== void 0 && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
53724
|
-
/* @__PURE__ */ jsx(BookOpen, { size: 14 }),
|
|
53725
|
-
formatNumber2(item.public_repos),
|
|
53726
|
-
" repos"
|
|
53727
|
-
] }),
|
|
53728
|
-
item.followers !== void 0 && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
53729
|
-
/* @__PURE__ */ jsx(User, { size: 14 }),
|
|
53730
|
-
formatNumber2(item.followers),
|
|
53731
|
-
" followers"
|
|
53732
|
-
] }),
|
|
53733
|
-
/* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
53734
|
-
/* @__PURE__ */ jsx(Calendar, { size: 14 }),
|
|
53735
|
-
formatRelativeTime(item.visitedAt)
|
|
53736
|
-
] }),
|
|
53737
|
-
/* @__PURE__ */ jsx(
|
|
53738
|
-
"a",
|
|
53739
|
-
{
|
|
53740
|
-
href: `https://github.com/${item.login}`,
|
|
53741
|
-
target: "_blank",
|
|
53742
|
-
rel: "noopener noreferrer",
|
|
53743
|
-
onClick: (e) => e.stopPropagation(),
|
|
53744
|
-
style: {
|
|
53745
|
-
marginLeft: "auto",
|
|
53746
|
-
color: theme2.colors.textSecondary,
|
|
53747
|
-
display: "flex",
|
|
53748
|
-
alignItems: "center"
|
|
53749
|
-
},
|
|
53750
|
-
children: /* @__PURE__ */ jsx(ExternalLink, { size: 14 })
|
|
53751
|
-
}
|
|
53752
|
-
)
|
|
53753
|
-
]
|
|
53754
|
-
}
|
|
53755
53554
|
)
|
|
53756
53555
|
]
|
|
53757
53556
|
},
|