@industry-theme/github-panels 0.3.1 → 0.4.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.
@@ -133,7 +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$H = [
136
+ const __iconNode$I = [
137
137
  ["path", { d: "M10 12h4", key: "a56b0p" }],
138
138
  ["path", { d: "M10 8h4", key: "1sr2af" }],
139
139
  ["path", { d: "M14 21v-3a2 2 0 0 0-4 0v3", key: "1rgiei" }],
@@ -146,108 +146,108 @@ const __iconNode$H = [
146
146
  ],
147
147
  ["path", { d: "M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16", key: "16ra0t" }]
148
148
  ];
149
- const Building2 = createLucideIcon("building-2", __iconNode$H);
149
+ const Building2 = createLucideIcon("building-2", __iconNode$I);
150
150
  /**
151
151
  * @license lucide-react v0.552.0 - ISC
152
152
  *
153
153
  * This source code is licensed under the ISC license.
154
154
  * See the LICENSE file in the root directory of this source tree.
155
155
  */
156
- const __iconNode$G = [
156
+ const __iconNode$H = [
157
157
  ["path", { d: "M8 2v4", key: "1cmpym" }],
158
158
  ["path", { d: "M16 2v4", key: "4m81vk" }],
159
159
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
160
160
  ["path", { d: "M3 10h18", key: "8toen8" }]
161
161
  ];
162
- const Calendar = createLucideIcon("calendar", __iconNode$G);
162
+ const Calendar = createLucideIcon("calendar", __iconNode$H);
163
163
  /**
164
164
  * @license lucide-react v0.552.0 - ISC
165
165
  *
166
166
  * This source code is licensed under the ISC license.
167
167
  * See the LICENSE file in the root directory of this source tree.
168
168
  */
169
- const __iconNode$F = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
170
- const Check = createLucideIcon("check", __iconNode$F);
169
+ const __iconNode$G = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
170
+ const Check = createLucideIcon("check", __iconNode$G);
171
171
  /**
172
172
  * @license lucide-react v0.552.0 - ISC
173
173
  *
174
174
  * This source code is licensed under the ISC license.
175
175
  * See the LICENSE file in the root directory of this source tree.
176
176
  */
177
- const __iconNode$E = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
178
- const ChevronDown = createLucideIcon("chevron-down", __iconNode$E);
177
+ const __iconNode$F = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
178
+ const ChevronDown = createLucideIcon("chevron-down", __iconNode$F);
179
179
  /**
180
180
  * @license lucide-react v0.552.0 - ISC
181
181
  *
182
182
  * This source code is licensed under the ISC license.
183
183
  * See the LICENSE file in the root directory of this source tree.
184
184
  */
185
- const __iconNode$D = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
186
- const ChevronRight = createLucideIcon("chevron-right", __iconNode$D);
185
+ const __iconNode$E = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
186
+ const ChevronRight = createLucideIcon("chevron-right", __iconNode$E);
187
187
  /**
188
188
  * @license lucide-react v0.552.0 - ISC
189
189
  *
190
190
  * This source code is licensed under the ISC license.
191
191
  * See the LICENSE file in the root directory of this source tree.
192
192
  */
193
- const __iconNode$C = [
193
+ const __iconNode$D = [
194
194
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
195
195
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
196
196
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
197
197
  ];
198
- const CircleAlert = createLucideIcon("circle-alert", __iconNode$C);
198
+ const CircleAlert = createLucideIcon("circle-alert", __iconNode$D);
199
199
  /**
200
200
  * @license lucide-react v0.552.0 - ISC
201
201
  *
202
202
  * This source code is licensed under the ISC license.
203
203
  * See the LICENSE file in the root directory of this source tree.
204
204
  */
205
- const __iconNode$B = [
205
+ const __iconNode$C = [
206
206
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
207
207
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
208
208
  ];
209
- const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$B);
209
+ const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$C);
210
210
  /**
211
211
  * @license lucide-react v0.552.0 - ISC
212
212
  *
213
213
  * This source code is licensed under the ISC license.
214
214
  * See the LICENSE file in the root directory of this source tree.
215
215
  */
216
- const __iconNode$A = [
216
+ const __iconNode$B = [
217
217
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
218
218
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }]
219
219
  ];
220
- const CircleDot = createLucideIcon("circle-dot", __iconNode$A);
220
+ const CircleDot = createLucideIcon("circle-dot", __iconNode$B);
221
221
  /**
222
222
  * @license lucide-react v0.552.0 - ISC
223
223
  *
224
224
  * This source code is licensed under the ISC license.
225
225
  * See the LICENSE file in the root directory of this source tree.
226
226
  */
227
- const __iconNode$z = [
227
+ const __iconNode$A = [
228
228
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
229
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" }]
230
230
  ];
231
- const Copy = createLucideIcon("copy", __iconNode$z);
231
+ const Copy = createLucideIcon("copy", __iconNode$A);
232
232
  /**
233
233
  * @license lucide-react v0.552.0 - ISC
234
234
  *
235
235
  * This source code is licensed under the ISC license.
236
236
  * See the LICENSE file in the root directory of this source tree.
237
237
  */
238
- const __iconNode$y = [
238
+ const __iconNode$z = [
239
239
  ["path", { d: "M12 15V3", key: "m9g1x1" }],
240
240
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
241
241
  ["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
242
242
  ];
243
- const Download = createLucideIcon("download", __iconNode$y);
243
+ const Download = createLucideIcon("download", __iconNode$z);
244
244
  /**
245
245
  * @license lucide-react v0.552.0 - ISC
246
246
  *
247
247
  * This source code is licensed under the ISC license.
248
248
  * See the LICENSE file in the root directory of this source tree.
249
249
  */
250
- const __iconNode$x = [
250
+ const __iconNode$y = [
251
251
  ["path", { d: "m15 15 6 6", key: "1s409w" }],
252
252
  ["path", { d: "m15 9 6-6", key: "ko1vev" }],
253
253
  ["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
@@ -257,26 +257,26 @@ const __iconNode$x = [
257
257
  ["path", { d: "M3 8V3h5", key: "1ln10m" }],
258
258
  ["path", { d: "M9 9 3 3", key: "v551iv" }]
259
259
  ];
260
- const Expand = createLucideIcon("expand", __iconNode$x);
260
+ const Expand = createLucideIcon("expand", __iconNode$y);
261
261
  /**
262
262
  * @license lucide-react v0.552.0 - ISC
263
263
  *
264
264
  * This source code is licensed under the ISC license.
265
265
  * See the LICENSE file in the root directory of this source tree.
266
266
  */
267
- const __iconNode$w = [
267
+ const __iconNode$x = [
268
268
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
269
269
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
270
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" }]
271
271
  ];
272
- const ExternalLink = createLucideIcon("external-link", __iconNode$w);
272
+ const ExternalLink = createLucideIcon("external-link", __iconNode$x);
273
273
  /**
274
274
  * @license lucide-react v0.552.0 - ISC
275
275
  *
276
276
  * This source code is licensed under the ISC license.
277
277
  * See the LICENSE file in the root directory of this source tree.
278
278
  */
279
- const __iconNode$v = [
279
+ const __iconNode$w = [
280
280
  [
281
281
  "path",
282
282
  {
@@ -294,14 +294,14 @@ const __iconNode$v = [
294
294
  ],
295
295
  ["path", { d: "m2 2 20 20", key: "1ooewy" }]
296
296
  ];
297
- const EyeOff = createLucideIcon("eye-off", __iconNode$v);
297
+ const EyeOff = createLucideIcon("eye-off", __iconNode$w);
298
298
  /**
299
299
  * @license lucide-react v0.552.0 - ISC
300
300
  *
301
301
  * This source code is licensed under the ISC license.
302
302
  * See the LICENSE file in the root directory of this source tree.
303
303
  */
304
- const __iconNode$u = [
304
+ const __iconNode$v = [
305
305
  [
306
306
  "path",
307
307
  {
@@ -311,14 +311,14 @@ const __iconNode$u = [
311
311
  ],
312
312
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
313
313
  ];
314
- const Eye = createLucideIcon("eye", __iconNode$u);
314
+ const Eye = createLucideIcon("eye", __iconNode$v);
315
315
  /**
316
316
  * @license lucide-react v0.552.0 - ISC
317
317
  *
318
318
  * This source code is licensed under the ISC license.
319
319
  * See the LICENSE file in the root directory of this source tree.
320
320
  */
321
- const __iconNode$t = [
321
+ const __iconNode$u = [
322
322
  [
323
323
  "path",
324
324
  {
@@ -331,14 +331,14 @@ const __iconNode$t = [
331
331
  ["path", { d: "M16 13H8", key: "t4e002" }],
332
332
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
333
333
  ];
334
- const FileText = createLucideIcon("file-text", __iconNode$t);
334
+ const FileText = createLucideIcon("file-text", __iconNode$u);
335
335
  /**
336
336
  * @license lucide-react v0.552.0 - ISC
337
337
  *
338
338
  * This source code is licensed under the ISC license.
339
339
  * See the LICENSE file in the root directory of this source tree.
340
340
  */
341
- const __iconNode$s = [
341
+ const __iconNode$t = [
342
342
  [
343
343
  "path",
344
344
  {
@@ -350,14 +350,14 @@ const __iconNode$s = [
350
350
  ["path", { d: "M18 19c-2.8 0-5-2.2-5-5v8", key: "pkpw2h" }],
351
351
  ["circle", { cx: "20", cy: "19", r: "2", key: "1obnsp" }]
352
352
  ];
353
- const FolderGit2 = createLucideIcon("folder-git-2", __iconNode$s);
353
+ const FolderGit2 = createLucideIcon("folder-git-2", __iconNode$t);
354
354
  /**
355
355
  * @license lucide-react v0.552.0 - ISC
356
356
  *
357
357
  * This source code is licensed under the ISC license.
358
358
  * See the LICENSE file in the root directory of this source tree.
359
359
  */
360
- const __iconNode$r = [
360
+ const __iconNode$s = [
361
361
  [
362
362
  "path",
363
363
  {
@@ -366,14 +366,14 @@ const __iconNode$r = [
366
366
  }
367
367
  ]
368
368
  ];
369
- const FolderOpen = createLucideIcon("folder-open", __iconNode$r);
369
+ const FolderOpen = createLucideIcon("folder-open", __iconNode$s);
370
370
  /**
371
371
  * @license lucide-react v0.552.0 - ISC
372
372
  *
373
373
  * This source code is licensed under the ISC license.
374
374
  * See the LICENSE file in the root directory of this source tree.
375
375
  */
376
- const __iconNode$q = [
376
+ const __iconNode$r = [
377
377
  ["path", { d: "M12 10v6", key: "1bos4e" }],
378
378
  ["path", { d: "M9 13h6", key: "1uhe8q" }],
379
379
  [
@@ -384,14 +384,14 @@ const __iconNode$q = [
384
384
  }
385
385
  ]
386
386
  ];
387
- const FolderPlus = createLucideIcon("folder-plus", __iconNode$q);
387
+ const FolderPlus = createLucideIcon("folder-plus", __iconNode$r);
388
388
  /**
389
389
  * @license lucide-react v0.552.0 - ISC
390
390
  *
391
391
  * This source code is licensed under the ISC license.
392
392
  * See the LICENSE file in the root directory of this source tree.
393
393
  */
394
- const __iconNode$p = [
394
+ const __iconNode$q = [
395
395
  [
396
396
  "path",
397
397
  {
@@ -400,52 +400,52 @@ const __iconNode$p = [
400
400
  }
401
401
  ]
402
402
  ];
403
- const Folder = createLucideIcon("folder", __iconNode$p);
403
+ const Folder = createLucideIcon("folder", __iconNode$q);
404
404
  /**
405
405
  * @license lucide-react v0.552.0 - ISC
406
406
  *
407
407
  * This source code is licensed under the ISC license.
408
408
  * See the LICENSE file in the root directory of this source tree.
409
409
  */
410
- const __iconNode$o = [
410
+ const __iconNode$p = [
411
411
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }],
412
412
  ["line", { x1: "3", x2: "9", y1: "12", y2: "12", key: "1dyftd" }],
413
413
  ["line", { x1: "15", x2: "21", y1: "12", y2: "12", key: "oup4p8" }]
414
414
  ];
415
- const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$o);
415
+ const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$p);
416
416
  /**
417
417
  * @license lucide-react v0.552.0 - ISC
418
418
  *
419
419
  * This source code is licensed under the ISC license.
420
420
  * See the LICENSE file in the root directory of this source tree.
421
421
  */
422
- const __iconNode$n = [
422
+ const __iconNode$o = [
423
423
  ["circle", { cx: "12", cy: "18", r: "3", key: "1mpf1b" }],
424
424
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
425
425
  ["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
426
426
  ["path", { d: "M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9", key: "1uq4wg" }],
427
427
  ["path", { d: "M12 12v3", key: "158kv8" }]
428
428
  ];
429
- const GitFork = createLucideIcon("git-fork", __iconNode$n);
429
+ const GitFork = createLucideIcon("git-fork", __iconNode$o);
430
430
  /**
431
431
  * @license lucide-react v0.552.0 - ISC
432
432
  *
433
433
  * This source code is licensed under the ISC license.
434
434
  * See the LICENSE file in the root directory of this source tree.
435
435
  */
436
- const __iconNode$m = [
436
+ const __iconNode$n = [
437
437
  ["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
438
438
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
439
439
  ["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
440
440
  ];
441
- const GitMerge = createLucideIcon("git-merge", __iconNode$m);
441
+ const GitMerge = createLucideIcon("git-merge", __iconNode$n);
442
442
  /**
443
443
  * @license lucide-react v0.552.0 - ISC
444
444
  *
445
445
  * This source code is licensed under the ISC license.
446
446
  * See the LICENSE file in the root directory of this source tree.
447
447
  */
448
- const __iconNode$l = [
448
+ const __iconNode$m = [
449
449
  [
450
450
  "path",
451
451
  {
@@ -455,56 +455,56 @@ const __iconNode$l = [
455
455
  ],
456
456
  ["path", { d: "M9 18c-4.51 2-5-2-7-2", key: "9comsn" }]
457
457
  ];
458
- const Github = createLucideIcon("github", __iconNode$l);
458
+ const Github = createLucideIcon("github", __iconNode$m);
459
459
  /**
460
460
  * @license lucide-react v0.552.0 - ISC
461
461
  *
462
462
  * This source code is licensed under the ISC license.
463
463
  * See the LICENSE file in the root directory of this source tree.
464
464
  */
465
- const __iconNode$k = [
465
+ const __iconNode$l = [
466
466
  ["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
467
467
  ["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
468
468
  ];
469
- const Link = createLucideIcon("link", __iconNode$k);
469
+ const Link = createLucideIcon("link", __iconNode$l);
470
470
  /**
471
471
  * @license lucide-react v0.552.0 - ISC
472
472
  *
473
473
  * This source code is licensed under the ISC license.
474
474
  * See the LICENSE file in the root directory of this source tree.
475
475
  */
476
- const __iconNode$j = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
477
- const LoaderCircle = createLucideIcon("loader-circle", __iconNode$j);
476
+ const __iconNode$k = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
477
+ const LoaderCircle = createLucideIcon("loader-circle", __iconNode$k);
478
478
  /**
479
479
  * @license lucide-react v0.552.0 - ISC
480
480
  *
481
481
  * This source code is licensed under the ISC license.
482
482
  * See the LICENSE file in the root directory of this source tree.
483
483
  */
484
- const __iconNode$i = [
484
+ const __iconNode$j = [
485
485
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
486
486
  ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
487
487
  ];
488
- const Lock = createLucideIcon("lock", __iconNode$i);
488
+ const Lock = createLucideIcon("lock", __iconNode$j);
489
489
  /**
490
490
  * @license lucide-react v0.552.0 - ISC
491
491
  *
492
492
  * This source code is licensed under the ISC license.
493
493
  * See the LICENSE file in the root directory of this source tree.
494
494
  */
495
- const __iconNode$h = [
495
+ const __iconNode$i = [
496
496
  ["path", { d: "m10 17 5-5-5-5", key: "1bsop3" }],
497
497
  ["path", { d: "M15 12H3", key: "6jk70r" }],
498
498
  ["path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4", key: "u53s6r" }]
499
499
  ];
500
- const LogIn = createLucideIcon("log-in", __iconNode$h);
500
+ const LogIn = createLucideIcon("log-in", __iconNode$i);
501
501
  /**
502
502
  * @license lucide-react v0.552.0 - ISC
503
503
  *
504
504
  * This source code is licensed under the ISC license.
505
505
  * See the LICENSE file in the root directory of this source tree.
506
506
  */
507
- const __iconNode$g = [
507
+ const __iconNode$h = [
508
508
  [
509
509
  "path",
510
510
  {
@@ -514,14 +514,14 @@ const __iconNode$g = [
514
514
  ],
515
515
  ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
516
516
  ];
517
- const MapPin = createLucideIcon("map-pin", __iconNode$g);
517
+ const MapPin = createLucideIcon("map-pin", __iconNode$h);
518
518
  /**
519
519
  * @license lucide-react v0.552.0 - ISC
520
520
  *
521
521
  * This source code is licensed under the ISC license.
522
522
  * See the LICENSE file in the root directory of this source tree.
523
523
  */
524
- const __iconNode$f = [
524
+ const __iconNode$g = [
525
525
  [
526
526
  "path",
527
527
  {
@@ -530,37 +530,37 @@ const __iconNode$f = [
530
530
  }
531
531
  ]
532
532
  ];
533
- const MessageSquare = createLucideIcon("message-square", __iconNode$f);
533
+ const MessageSquare = createLucideIcon("message-square", __iconNode$g);
534
534
  /**
535
535
  * @license lucide-react v0.552.0 - ISC
536
536
  *
537
537
  * This source code is licensed under the ISC license.
538
538
  * See the LICENSE file in the root directory of this source tree.
539
539
  */
540
- const __iconNode$e = [
540
+ const __iconNode$f = [
541
541
  ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
542
542
  ["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
543
543
  ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
544
544
  ];
545
- const Monitor = createLucideIcon("monitor", __iconNode$e);
545
+ const Monitor = createLucideIcon("monitor", __iconNode$f);
546
546
  /**
547
547
  * @license lucide-react v0.552.0 - ISC
548
548
  *
549
549
  * This source code is licensed under the ISC license.
550
550
  * See the LICENSE file in the root directory of this source tree.
551
551
  */
552
- const __iconNode$d = [
552
+ const __iconNode$e = [
553
553
  ["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
554
554
  ["path", { d: "M2 12H22", key: "1m8cig" }]
555
555
  ];
556
- const MoveRight = createLucideIcon("move-right", __iconNode$d);
556
+ const MoveRight = createLucideIcon("move-right", __iconNode$e);
557
557
  /**
558
558
  * @license lucide-react v0.552.0 - ISC
559
559
  *
560
560
  * This source code is licensed under the ISC license.
561
561
  * See the LICENSE file in the root directory of this source tree.
562
562
  */
563
- const __iconNode$c = [
563
+ const __iconNode$d = [
564
564
  [
565
565
  "path",
566
566
  {
@@ -569,38 +569,38 @@ const __iconNode$c = [
569
569
  }
570
570
  ]
571
571
  ];
572
- const Play = createLucideIcon("play", __iconNode$c);
572
+ const Play = createLucideIcon("play", __iconNode$d);
573
573
  /**
574
574
  * @license lucide-react v0.552.0 - ISC
575
575
  *
576
576
  * This source code is licensed under the ISC license.
577
577
  * See the LICENSE file in the root directory of this source tree.
578
578
  */
579
- const __iconNode$b = [
579
+ const __iconNode$c = [
580
580
  ["path", { d: "M5 12h14", key: "1ays0h" }],
581
581
  ["path", { d: "M12 5v14", key: "s699le" }]
582
582
  ];
583
- const Plus = createLucideIcon("plus", __iconNode$b);
583
+ const Plus = createLucideIcon("plus", __iconNode$c);
584
584
  /**
585
585
  * @license lucide-react v0.552.0 - ISC
586
586
  *
587
587
  * This source code is licensed under the ISC license.
588
588
  * See the LICENSE file in the root directory of this source tree.
589
589
  */
590
- const __iconNode$a = [
590
+ const __iconNode$b = [
591
591
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
592
592
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
593
593
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
594
594
  ["path", { d: "M8 16H3v5", key: "1cv678" }]
595
595
  ];
596
- const RefreshCw = createLucideIcon("refresh-cw", __iconNode$a);
596
+ const RefreshCw = createLucideIcon("refresh-cw", __iconNode$b);
597
597
  /**
598
598
  * @license lucide-react v0.552.0 - ISC
599
599
  *
600
600
  * This source code is licensed under the ISC license.
601
601
  * See the LICENSE file in the root directory of this source tree.
602
602
  */
603
- const __iconNode$9 = [
603
+ const __iconNode$a = [
604
604
  [
605
605
  "path",
606
606
  {
@@ -618,39 +618,39 @@ const __iconNode$9 = [
618
618
  ["path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0", key: "1f8sc4" }],
619
619
  ["path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5", key: "qeys4" }]
620
620
  ];
621
- const Rocket = createLucideIcon("rocket", __iconNode$9);
621
+ const Rocket = createLucideIcon("rocket", __iconNode$a);
622
622
  /**
623
623
  * @license lucide-react v0.552.0 - ISC
624
624
  *
625
625
  * This source code is licensed under the ISC license.
626
626
  * See the LICENSE file in the root directory of this source tree.
627
627
  */
628
- const __iconNode$8 = [
628
+ const __iconNode$9 = [
629
629
  ["path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "7g6ntu" }],
630
630
  ["path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "ijws7r" }],
631
631
  ["path", { d: "M7 21h10", key: "1b0cd5" }],
632
632
  ["path", { d: "M12 3v18", key: "108xh3" }],
633
633
  ["path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2", key: "3gwbw2" }]
634
634
  ];
635
- const Scale = createLucideIcon("scale", __iconNode$8);
635
+ const Scale = createLucideIcon("scale", __iconNode$9);
636
636
  /**
637
637
  * @license lucide-react v0.552.0 - ISC
638
638
  *
639
639
  * This source code is licensed under the ISC license.
640
640
  * See the LICENSE file in the root directory of this source tree.
641
641
  */
642
- const __iconNode$7 = [
642
+ const __iconNode$8 = [
643
643
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
644
644
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
645
645
  ];
646
- const Search = createLucideIcon("search", __iconNode$7);
646
+ const Search = createLucideIcon("search", __iconNode$8);
647
647
  /**
648
648
  * @license lucide-react v0.552.0 - ISC
649
649
  *
650
650
  * This source code is licensed under the ISC license.
651
651
  * See the LICENSE file in the root directory of this source tree.
652
652
  */
653
- const __iconNode$6 = [
653
+ const __iconNode$7 = [
654
654
  [
655
655
  "path",
656
656
  {
@@ -659,14 +659,14 @@ const __iconNode$6 = [
659
659
  }
660
660
  ]
661
661
  ];
662
- const Star = createLucideIcon("star", __iconNode$6);
662
+ const Star = createLucideIcon("star", __iconNode$7);
663
663
  /**
664
664
  * @license lucide-react v0.552.0 - ISC
665
665
  *
666
666
  * This source code is licensed under the ISC license.
667
667
  * See the LICENSE file in the root directory of this source tree.
668
668
  */
669
- const __iconNode$5 = [
669
+ const __iconNode$6 = [
670
670
  [
671
671
  "path",
672
672
  {
@@ -676,46 +676,57 @@ const __iconNode$5 = [
676
676
  ],
677
677
  ["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
678
678
  ];
679
- const Tag = createLucideIcon("tag", __iconNode$5);
679
+ const Tag = createLucideIcon("tag", __iconNode$6);
680
680
  /**
681
681
  * @license lucide-react v0.552.0 - ISC
682
682
  *
683
683
  * This source code is licensed under the ISC license.
684
684
  * See the LICENSE file in the root directory of this source tree.
685
685
  */
686
- const __iconNode$4 = [
686
+ const __iconNode$5 = [
687
687
  ["path", { d: "M10 11v6", key: "nco0om" }],
688
688
  ["path", { d: "M14 11v6", key: "outv1u" }],
689
689
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
690
690
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
691
691
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
692
692
  ];
693
- const Trash2 = createLucideIcon("trash-2", __iconNode$4);
693
+ const Trash2 = createLucideIcon("trash-2", __iconNode$5);
694
694
  /**
695
695
  * @license lucide-react v0.552.0 - ISC
696
696
  *
697
697
  * This source code is licensed under the ISC license.
698
698
  * See the LICENSE file in the root directory of this source tree.
699
699
  */
700
- const __iconNode$3 = [
700
+ const __iconNode$4 = [
701
701
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
702
702
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
703
703
  ["line", { x1: "22", x2: "16", y1: "11", y2: "11", key: "1shjgl" }]
704
704
  ];
705
- const UserMinus = createLucideIcon("user-minus", __iconNode$3);
705
+ const UserMinus = createLucideIcon("user-minus", __iconNode$4);
706
706
  /**
707
707
  * @license lucide-react v0.552.0 - ISC
708
708
  *
709
709
  * This source code is licensed under the ISC license.
710
710
  * See the LICENSE file in the root directory of this source tree.
711
711
  */
712
- const __iconNode$2 = [
712
+ const __iconNode$3 = [
713
713
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
714
714
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
715
715
  ["line", { x1: "19", x2: "19", y1: "8", y2: "14", key: "1bvyxn" }],
716
716
  ["line", { x1: "22", x2: "16", y1: "11", y2: "11", key: "1shjgl" }]
717
717
  ];
718
- const UserPlus = createLucideIcon("user-plus", __iconNode$2);
718
+ const UserPlus = createLucideIcon("user-plus", __iconNode$3);
719
+ /**
720
+ * @license lucide-react v0.552.0 - ISC
721
+ *
722
+ * This source code is licensed under the ISC license.
723
+ * See the LICENSE file in the root directory of this source tree.
724
+ */
725
+ const __iconNode$2 = [
726
+ ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
727
+ ["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
728
+ ];
729
+ const User = createLucideIcon("user", __iconNode$2);
719
730
  /**
720
731
  * @license lucide-react v0.552.0 - ISC
721
732
  *
@@ -1989,10 +2000,10 @@ function formatNumber(num) {
1989
2000
  }
1990
2001
  return num.toString();
1991
2002
  }
1992
- const PANEL_ID$2 = "github-search-panel";
2003
+ const PANEL_ID$1 = "github-search-panel";
1993
2004
  const createPanelEvent$1 = (type, payload) => ({
1994
2005
  type,
1995
- source: PANEL_ID$2,
2006
+ source: PANEL_ID$1,
1996
2007
  timestamp: Date.now(),
1997
2008
  payload
1998
2009
  });
@@ -2074,7 +2085,7 @@ const GitHubSearchPanelContent = ({ context, actions, events }) => {
2074
2085
  setSelectedRepoId(repo.id);
2075
2086
  events.emit({
2076
2087
  type: "repository:preview",
2077
- source: PANEL_ID$2,
2088
+ source: PANEL_ID$1,
2078
2089
  timestamp: Date.now(),
2079
2090
  payload: {
2080
2091
  repository: repo,
@@ -2087,7 +2098,7 @@ const GitHubSearchPanelContent = ({ context, actions, events }) => {
2087
2098
  if (panelActions.addToCollection) {
2088
2099
  await panelActions.addToCollection(repo);
2089
2100
  events.emit(
2090
- createPanelEvent$1(`${PANEL_ID$2}:repository-added-to-collection`, {
2101
+ createPanelEvent$1(`${PANEL_ID$1}:repository-added-to-collection`, {
2091
2102
  repository: repo
2092
2103
  })
2093
2104
  );
@@ -53800,10 +53811,22 @@ const RecentRepositoriesPanelMetadata = {
53800
53811
  slices: [],
53801
53812
  surfaces: ["panel"]
53802
53813
  };
53803
- const PANEL_ID$1 = "industry-theme.org-profile";
53804
- const createPanelEvent = (type, payload) => ({
53814
+ function isOrgProfile(profile) {
53815
+ return profile.type === "Organization";
53816
+ }
53817
+ function isUserProfile(profile) {
53818
+ return profile.type !== "Organization";
53819
+ }
53820
+ function getProfileDescription(profile) {
53821
+ if (isOrgProfile(profile)) {
53822
+ return profile.description;
53823
+ }
53824
+ return profile.bio;
53825
+ }
53826
+ const DEFAULT_PANEL_ID = "industry-theme.profile";
53827
+ const createPanelEvent = (panelId, type, payload) => ({
53805
53828
  type,
53806
- source: PANEL_ID$1,
53829
+ source: panelId,
53807
53830
  timestamp: Date.now(),
53808
53831
  payload
53809
53832
  });
@@ -53882,18 +53905,26 @@ const CollectionCard = ({ collection, isSelected, onClick }) => {
53882
53905
  }
53883
53906
  );
53884
53907
  };
53885
- const OrgProfilePanelContent = ({
53908
+ const ProfilePanelContent = ({
53886
53909
  context,
53887
53910
  actions,
53888
- events
53911
+ events,
53912
+ profileType = "user",
53913
+ panelId = DEFAULT_PANEL_ID,
53914
+ extensions
53889
53915
  }) => {
53890
- var _a, _b, _c, _d;
53916
+ var _a, _b, _c, _d, _e2, _f, _g;
53891
53917
  const { theme: theme2 } = useTheme();
53918
+ const availableViews = useMemo(() => {
53919
+ if (profileType === "user") {
53920
+ return ["collections", "repositories", "starred"];
53921
+ }
53922
+ return ["collections", "repositories"];
53923
+ }, [profileType]);
53892
53924
  const [activeView, setActiveView] = useState("repositories");
53893
53925
  const [searchQuery, setSearchQuery] = useState("");
53894
- const panelActions = actions;
53895
- const { orgProfile: profileSlice } = context;
53896
- const org = ((_a = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _a.org) ?? null;
53926
+ const { profile: profileSlice } = context;
53927
+ const profile = ((_a = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _a.profile) ?? null;
53897
53928
  const collections = useMemo(
53898
53929
  () => {
53899
53930
  var _a2;
@@ -53908,73 +53939,91 @@ const OrgProfilePanelContent = ({
53908
53939
  },
53909
53940
  [(_c = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _c.repositories]
53910
53941
  );
53911
- const selectedCollectionId = (_d = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _d.selectedCollectionId;
53942
+ const starredRepositories = useMemo(
53943
+ () => {
53944
+ var _a2;
53945
+ return ((_a2 = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _a2.starredRepositories) || [];
53946
+ },
53947
+ [(_d = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _d.starredRepositories]
53948
+ );
53949
+ const selectedCollectionId = (_e2 = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _e2.selectedCollectionId;
53950
+ const selectedRepositoryId = (_f = profileSlice == null ? void 0 : profileSlice.data) == null ? void 0 : _f.selectedRepositoryId;
53912
53951
  const loading = (profileSlice == null ? void 0 : profileSlice.loading) ?? false;
53913
53952
  const filteredRepositories = useMemo(() => {
53914
- if (!searchQuery.trim()) return repositories;
53953
+ const repos = activeView === "starred" ? starredRepositories : repositories;
53954
+ if (!searchQuery.trim()) return repos;
53915
53955
  const query = searchQuery.toLowerCase().trim();
53916
- return repositories.filter(
53956
+ return repos.filter(
53917
53957
  (repo) => {
53918
53958
  var _a2, _b2;
53919
53959
  return repo.name.toLowerCase().includes(query) || repo.full_name.toLowerCase().includes(query) || ((_a2 = repo.description) == null ? void 0 : _a2.toLowerCase().includes(query)) || ((_b2 = repo.language) == null ? void 0 : _b2.toLowerCase().includes(query));
53920
53960
  }
53921
53961
  );
53922
- }, [repositories, searchQuery]);
53962
+ }, [repositories, starredRepositories, searchQuery, activeView]);
53923
53963
  const handleCollectionSelect = useCallback(
53924
53964
  (collection) => {
53925
53965
  events.emit(
53926
- createPanelEvent(`${PANEL_ID$1}:collection:selected`, {
53966
+ createPanelEvent(panelId, `${panelId}:collection:selected`, {
53927
53967
  collectionId: collection.id,
53928
53968
  collection
53929
53969
  })
53930
53970
  );
53931
53971
  },
53932
- [events]
53972
+ [events, panelId]
53933
53973
  );
53934
53974
  const handleRepositorySelect = useCallback(
53935
53975
  (repository) => {
53936
53976
  var _a2;
53977
+ events.emit({
53978
+ type: "repository:preview",
53979
+ source: panelId,
53980
+ timestamp: Date.now(),
53981
+ payload: {
53982
+ repository,
53983
+ source: "click"
53984
+ }
53985
+ });
53937
53986
  events.emit(
53938
- createPanelEvent(`${PANEL_ID$1}:repository:selected`, {
53987
+ createPanelEvent(panelId, `${panelId}:repository:selected`, {
53939
53988
  owner: repository.owner.login,
53940
53989
  repo: repository.name,
53941
53990
  repository
53942
53991
  })
53943
53992
  );
53944
- (_a2 = panelActions.viewRepository) == null ? void 0 : _a2.call(panelActions, repository.owner.login, repository.name);
53993
+ (_a2 = actions.viewRepository) == null ? void 0 : _a2.call(actions, repository.owner.login, repository.name);
53945
53994
  },
53946
- [events, panelActions]
53995
+ [events, panelId, actions]
53947
53996
  );
53948
53997
  const handleCloneRepository = useCallback(
53949
53998
  (repository) => {
53950
53999
  var _a2;
53951
54000
  events.emit(
53952
- createPanelEvent(`${PANEL_ID$1}:repository:clone-requested`, {
54001
+ createPanelEvent(panelId, `${panelId}:repository:clone-requested`, {
53953
54002
  repository
53954
54003
  })
53955
54004
  );
53956
- (_a2 = panelActions.cloneRepository) == null ? void 0 : _a2.call(panelActions, repository);
54005
+ (_a2 = actions.cloneRepository) == null ? void 0 : _a2.call(actions, repository);
53957
54006
  },
53958
- [events, panelActions]
54007
+ [events, panelId, actions]
53959
54008
  );
53960
54009
  const handleViewChange = useCallback(
53961
54010
  (view) => {
53962
54011
  setActiveView(view);
53963
54012
  setSearchQuery("");
53964
- events.emit(createPanelEvent(`${PANEL_ID$1}:view:changed`, { view }));
54013
+ events.emit(createPanelEvent(panelId, `${panelId}:view:changed`, { view }));
53965
54014
  },
53966
- [events]
54015
+ [events, panelId]
53967
54016
  );
53968
54017
  useEffect(() => {
53969
54018
  const unsubscribers = [
53970
- events.on(`${PANEL_ID$1}:set-view`, (event) => {
54019
+ events.on(`${panelId}:set-view`, (event) => {
53971
54020
  var _a2;
53972
- if ((_a2 = event.payload) == null ? void 0 : _a2.view) {
54021
+ if (((_a2 = event.payload) == null ? void 0 : _a2.view) && availableViews.includes(event.payload.view)) {
53973
54022
  handleViewChange(event.payload.view);
53974
54023
  }
53975
54024
  }),
53976
54025
  events.on(
53977
- `${PANEL_ID$1}:select-collection`,
54026
+ `${panelId}:select-collection`,
53978
54027
  (event) => {
53979
54028
  const { collectionId } = event.payload || {};
53980
54029
  if (collectionId) {
@@ -53986,11 +54035,12 @@ const OrgProfilePanelContent = ({
53986
54035
  }
53987
54036
  ),
53988
54037
  events.on(
53989
- `${PANEL_ID$1}:select-repository`,
54038
+ `${panelId}:select-repository`,
53990
54039
  (event) => {
53991
54040
  const { owner, repo } = event.payload || {};
53992
54041
  if (owner && repo) {
53993
- const repository = repositories.find(
54042
+ const allRepos = [...repositories, ...starredRepositories];
54043
+ const repository = allRepos.find(
53994
54044
  (r2) => r2.owner.login === owner && r2.name === repo
53995
54045
  );
53996
54046
  if (repository) {
@@ -54000,11 +54050,12 @@ const OrgProfilePanelContent = ({
54000
54050
  }
54001
54051
  ),
54002
54052
  events.on(
54003
- `${PANEL_ID$1}:clone-repository`,
54053
+ `${panelId}:clone-repository`,
54004
54054
  (event) => {
54005
54055
  const { owner, repo } = event.payload || {};
54006
54056
  if (owner && repo) {
54007
- const repository = repositories.find(
54057
+ const allRepos = [...repositories, ...starredRepositories];
54058
+ const repository = allRepos.find(
54008
54059
  (r2) => r2.owner.login === owner && r2.name === repo
54009
54060
  );
54010
54061
  if (repository) {
@@ -54013,19 +54064,25 @@ const OrgProfilePanelContent = ({
54013
54064
  }
54014
54065
  }
54015
54066
  ),
54016
- events.on(`${PANEL_ID$1}:filter-repositories`, (event) => {
54067
+ events.on(`${panelId}:filter-repositories`, (event) => {
54017
54068
  var _a2;
54018
54069
  if (((_a2 = event.payload) == null ? void 0 : _a2.filter) !== void 0) {
54019
54070
  setSearchQuery(event.payload.filter);
54020
- setActiveView("repositories");
54071
+ if (activeView === "collections") {
54072
+ setActiveView("repositories");
54073
+ }
54021
54074
  }
54022
54075
  })
54023
54076
  ];
54024
54077
  return () => unsubscribers.forEach((unsub) => unsub());
54025
54078
  }, [
54026
54079
  events,
54080
+ panelId,
54027
54081
  collections,
54028
54082
  repositories,
54083
+ starredRepositories,
54084
+ availableViews,
54085
+ activeView,
54029
54086
  handleViewChange,
54030
54087
  handleCollectionSelect,
54031
54088
  handleRepositorySelect,
@@ -54059,7 +54116,7 @@ const OrgProfilePanelContent = ({
54059
54116
  gap: "16px",
54060
54117
  maxWidth: "360px"
54061
54118
  },
54062
- children: /* @__PURE__ */ jsx(
54119
+ children: /* @__PURE__ */ jsxs(
54063
54120
  "h3",
54064
54121
  {
54065
54122
  style: {
@@ -54069,7 +54126,11 @@ const OrgProfilePanelContent = ({
54069
54126
  fontWeight: theme2.fontWeights.semibold,
54070
54127
  fontFamily: theme2.fonts.body
54071
54128
  },
54072
- children: "Loading organization..."
54129
+ children: [
54130
+ "Loading ",
54131
+ profileType === "organization" ? "organization" : "user",
54132
+ "..."
54133
+ ]
54073
54134
  }
54074
54135
  )
54075
54136
  }
@@ -54077,7 +54138,9 @@ const OrgProfilePanelContent = ({
54077
54138
  }
54078
54139
  ) });
54079
54140
  }
54080
- if (!org) {
54141
+ if (!profile) {
54142
+ const EmptyIcon = profileType === "organization" ? Building2 : User;
54143
+ const entityName = profileType === "organization" ? "organization" : "user";
54081
54144
  return /* @__PURE__ */ jsx("div", { style: baseContainerStyle, children: /* @__PURE__ */ jsx(
54082
54145
  "div",
54083
54146
  {
@@ -54100,8 +54163,8 @@ const OrgProfilePanelContent = ({
54100
54163
  maxWidth: "360px"
54101
54164
  },
54102
54165
  children: [
54103
- /* @__PURE__ */ jsx(Building2, { size: 48, style: { color: theme2.colors.textSecondary } }),
54104
- /* @__PURE__ */ jsx(
54166
+ /* @__PURE__ */ jsx(EmptyIcon, { size: 48, style: { color: theme2.colors.textSecondary } }),
54167
+ /* @__PURE__ */ jsxs(
54105
54168
  "h3",
54106
54169
  {
54107
54170
  style: {
@@ -54111,10 +54174,15 @@ const OrgProfilePanelContent = ({
54111
54174
  fontWeight: theme2.fontWeights.semibold,
54112
54175
  fontFamily: theme2.fonts.body
54113
54176
  },
54114
- children: "Select an organization"
54177
+ children: [
54178
+ "Select ",
54179
+ entityName === "organization" ? "an" : "a",
54180
+ " ",
54181
+ entityName
54182
+ ]
54115
54183
  }
54116
54184
  ),
54117
- /* @__PURE__ */ jsx(
54185
+ /* @__PURE__ */ jsxs(
54118
54186
  "p",
54119
54187
  {
54120
54188
  style: {
@@ -54123,7 +54191,13 @@ const OrgProfilePanelContent = ({
54123
54191
  fontSize: `${theme2.fontSizes[1]}px`,
54124
54192
  fontFamily: theme2.fonts.body
54125
54193
  },
54126
- children: "Click on an organization to view its profile and repositories"
54194
+ children: [
54195
+ "Click on ",
54196
+ entityName === "organization" ? "an" : "a",
54197
+ " ",
54198
+ entityName,
54199
+ " to view its profile and repositories"
54200
+ ]
54127
54201
  }
54128
54202
  )
54129
54203
  ]
@@ -54132,6 +54206,24 @@ const OrgProfilePanelContent = ({
54132
54206
  }
54133
54207
  ) });
54134
54208
  }
54209
+ const description = getProfileDescription(profile);
54210
+ const ProfileIcon = isOrgProfile(profile) ? Building2 : User;
54211
+ const renderRepositoryCard = (repo) => {
54212
+ const card = /* @__PURE__ */ jsx(
54213
+ GitHubRepositoryCard,
54214
+ {
54215
+ repository: repo,
54216
+ isSelected: repo.id === selectedRepositoryId,
54217
+ onSelect: handleRepositorySelect,
54218
+ onClone: actions.cloneRepository ? handleCloneRepository : void 0
54219
+ },
54220
+ repo.id
54221
+ );
54222
+ if (extensions == null ? void 0 : extensions.wrapRepositoryCard) {
54223
+ return /* @__PURE__ */ jsx(React2__default.Fragment, { children: extensions.wrapRepositoryCard(card, repo) }, repo.id);
54224
+ }
54225
+ return card;
54226
+ };
54135
54227
  return /* @__PURE__ */ jsxs("div", { style: baseContainerStyle, children: [
54136
54228
  /* @__PURE__ */ jsxs(
54137
54229
  "div",
@@ -54142,19 +54234,22 @@ const OrgProfilePanelContent = ({
54142
54234
  },
54143
54235
  children: [
54144
54236
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "flex-start", gap: "12px" }, children: [
54145
- /* @__PURE__ */ jsx(
54146
- "img",
54147
- {
54148
- src: org.avatar_url,
54149
- alt: org.login,
54150
- style: {
54151
- width: "80px",
54152
- height: "80px",
54153
- borderRadius: "12px",
54154
- objectFit: "cover"
54237
+ /* @__PURE__ */ jsxs("div", { style: { position: "relative" }, children: [
54238
+ /* @__PURE__ */ jsx(
54239
+ "img",
54240
+ {
54241
+ src: profile.avatar_url,
54242
+ alt: profile.login,
54243
+ style: {
54244
+ width: "80px",
54245
+ height: "80px",
54246
+ borderRadius: "12px",
54247
+ objectFit: "cover"
54248
+ }
54155
54249
  }
54156
- }
54157
- ),
54250
+ ),
54251
+ (_g = extensions == null ? void 0 : extensions.renderHeaderExtra) == null ? void 0 : _g.call(extensions, profile)
54252
+ ] }),
54158
54253
  /* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
54159
54254
  /* @__PURE__ */ jsx(
54160
54255
  "div",
@@ -54165,7 +54260,7 @@ const OrgProfilePanelContent = ({
54165
54260
  color: theme2.colors.text,
54166
54261
  fontFamily: theme2.fonts.body
54167
54262
  },
54168
- children: org.name || org.login
54263
+ children: profile.name || profile.login
54169
54264
  }
54170
54265
  ),
54171
54266
  /* @__PURE__ */ jsxs(
@@ -54173,21 +54268,21 @@ const OrgProfilePanelContent = ({
54173
54268
  {
54174
54269
  onClick: () => {
54175
54270
  var _a2;
54176
- return (_a2 = panelActions.openInBrowser) == null ? void 0 : _a2.call(panelActions, `https://github.com/${org.login}`);
54271
+ return (_a2 = actions.openInBrowser) == null ? void 0 : _a2.call(actions, `https://github.com/${profile.login}`);
54177
54272
  },
54178
54273
  style: {
54179
54274
  fontSize: `${theme2.fontSizes[1]}px`,
54180
54275
  color: theme2.colors.primary,
54181
54276
  fontFamily: theme2.fonts.body,
54182
- cursor: panelActions.openInBrowser ? "pointer" : "default"
54277
+ cursor: actions.openInBrowser ? "pointer" : "default"
54183
54278
  },
54184
54279
  children: [
54185
54280
  "@",
54186
- org.login
54281
+ profile.login
54187
54282
  ]
54188
54283
  }
54189
54284
  ),
54190
- org.description && /* @__PURE__ */ jsx(
54285
+ description && /* @__PURE__ */ jsx(
54191
54286
  "div",
54192
54287
  {
54193
54288
  style: {
@@ -54196,7 +54291,7 @@ const OrgProfilePanelContent = ({
54196
54291
  fontFamily: theme2.fonts.body,
54197
54292
  marginTop: "8px"
54198
54293
  },
54199
- children: org.description
54294
+ children: description
54200
54295
  }
54201
54296
  )
54202
54297
  ] })
@@ -54214,11 +54309,11 @@ const OrgProfilePanelContent = ({
54214
54309
  fontFamily: theme2.fonts.body
54215
54310
  },
54216
54311
  children: [
54217
- org.location && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54312
+ profile.location && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54218
54313
  /* @__PURE__ */ jsx(MapPin, { size: 12 }),
54219
- org.location
54314
+ profile.location
54220
54315
  ] }),
54221
- org.blog && /* @__PURE__ */ jsxs(
54316
+ profile.blog && /* @__PURE__ */ jsxs(
54222
54317
  "span",
54223
54318
  {
54224
54319
  style: {
@@ -54229,19 +54324,19 @@ const OrgProfilePanelContent = ({
54229
54324
  },
54230
54325
  onClick: () => {
54231
54326
  var _a2;
54232
- return (_a2 = panelActions.openInBrowser) == null ? void 0 : _a2.call(panelActions, org.blog);
54327
+ return (_a2 = actions.openInBrowser) == null ? void 0 : _a2.call(actions, profile.blog);
54233
54328
  },
54234
54329
  children: [
54235
54330
  /* @__PURE__ */ jsx(Link, { size: 12 }),
54236
- org.blog.replace(/^https?:\/\//, "")
54331
+ profile.blog.replace(/^https?:\/\//, "")
54237
54332
  ]
54238
54333
  }
54239
54334
  ),
54240
- org.email && /* @__PURE__ */ jsx("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: org.email }),
54335
+ profile.email && /* @__PURE__ */ jsx("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: profile.email }),
54241
54336
  /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54242
54337
  /* @__PURE__ */ jsx(Calendar, { size: 12 }),
54243
54338
  "Created ",
54244
- formatDate(org.created_at)
54339
+ formatDate(profile.created_at)
54245
54340
  ] })
54246
54341
  ]
54247
54342
  }
@@ -54259,13 +54354,25 @@ const OrgProfilePanelContent = ({
54259
54354
  children: [
54260
54355
  /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54261
54356
  /* @__PURE__ */ jsx(Users, { size: 14, style: { color: theme2.colors.textSecondary } }),
54262
- /* @__PURE__ */ jsx("strong", { style: { color: theme2.colors.text }, children: org.followers }),
54357
+ /* @__PURE__ */ jsx("strong", { style: { color: theme2.colors.text }, children: profile.followers }),
54263
54358
  " ",
54264
54359
  /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textSecondary }, children: "followers" })
54265
54360
  ] }),
54361
+ /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54362
+ /* @__PURE__ */ jsx(
54363
+ ProfileIcon,
54364
+ {
54365
+ size: 14,
54366
+ style: { color: theme2.colors.textSecondary }
54367
+ }
54368
+ ),
54369
+ /* @__PURE__ */ jsx("strong", { style: { color: theme2.colors.text }, children: profile.following }),
54370
+ " ",
54371
+ /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textSecondary }, children: "following" })
54372
+ ] }),
54266
54373
  /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
54267
54374
  /* @__PURE__ */ jsx(FolderGit2, { size: 14, style: { color: theme2.colors.textSecondary } }),
54268
- /* @__PURE__ */ jsx("strong", { style: { color: theme2.colors.text }, children: org.public_repos }),
54375
+ /* @__PURE__ */ jsx("strong", { style: { color: theme2.colors.text }, children: profile.public_repos }),
54269
54376
  " ",
54270
54377
  /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textSecondary }, children: "repos" })
54271
54378
  ] })
@@ -54336,16 +54443,46 @@ const OrgProfilePanelContent = ({
54336
54443
  },
54337
54444
  children: [
54338
54445
  /* @__PURE__ */ jsx(FolderGit2, { size: 16 }),
54339
- "Repositories (",
54446
+ profileType === "user" ? "Projects" : "Repositories",
54447
+ " (",
54340
54448
  repositories.length,
54341
54449
  ")"
54342
54450
  ]
54343
54451
  }
54452
+ ),
54453
+ profileType === "user" && /* @__PURE__ */ jsxs(
54454
+ "button",
54455
+ {
54456
+ onClick: () => handleViewChange("starred"),
54457
+ style: {
54458
+ flex: 1,
54459
+ display: "flex",
54460
+ alignItems: "center",
54461
+ justifyContent: "center",
54462
+ gap: "6px",
54463
+ padding: "12px",
54464
+ border: "none",
54465
+ backgroundColor: "transparent",
54466
+ color: activeView === "starred" ? theme2.colors.primary : theme2.colors.textSecondary,
54467
+ fontSize: `${theme2.fontSizes[1]}px`,
54468
+ fontWeight: activeView === "starred" ? theme2.fontWeights.semibold : theme2.fontWeights.medium,
54469
+ fontFamily: theme2.fonts.body,
54470
+ cursor: "pointer",
54471
+ borderBottom: activeView === "starred" ? `2px solid ${theme2.colors.primary}` : "2px solid transparent",
54472
+ transition: "all 0.15s ease"
54473
+ },
54474
+ children: [
54475
+ /* @__PURE__ */ jsx(Star, { size: 16 }),
54476
+ "Starred (",
54477
+ starredRepositories.length,
54478
+ ")"
54479
+ ]
54480
+ }
54344
54481
  )
54345
54482
  ]
54346
54483
  }
54347
54484
  ),
54348
- activeView === "repositories" && /* @__PURE__ */ jsx(
54485
+ (activeView === "repositories" || activeView === "starred") && /* @__PURE__ */ jsx(
54349
54486
  "div",
54350
54487
  {
54351
54488
  style: {
@@ -54448,7 +54585,7 @@ const OrgProfilePanelContent = ({
54448
54585
  },
54449
54586
  collection.id
54450
54587
  )) }),
54451
- activeView === "repositories" && /* @__PURE__ */ jsx(Fragment, { children: filteredRepositories.length === 0 ? /* @__PURE__ */ jsxs(
54588
+ (activeView === "repositories" || activeView === "starred") && /* @__PURE__ */ jsx(Fragment, { children: filteredRepositories.length === 0 ? /* @__PURE__ */ jsxs(
54452
54589
  "div",
54453
54590
  {
54454
54591
  style: {
@@ -54457,37 +54594,33 @@ const OrgProfilePanelContent = ({
54457
54594
  color: theme2.colors.textSecondary
54458
54595
  },
54459
54596
  children: [
54460
- /* @__PURE__ */ jsx(
54597
+ activeView === "starred" ? /* @__PURE__ */ jsx(Star, { size: 32, style: { marginBottom: "12px", opacity: 0.5 } }) : /* @__PURE__ */ jsx(
54461
54598
  FolderGit2,
54462
54599
  {
54463
54600
  size: 32,
54464
54601
  style: { marginBottom: "12px", opacity: 0.5 }
54465
54602
  }
54466
54603
  ),
54467
- /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: searchQuery ? `No repositories matching "${searchQuery}"` : "No repositories" })
54604
+ /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: searchQuery ? `No repositories matching "${searchQuery}"` : activeView === "starred" ? "No starred repositories" : "No repositories" })
54468
54605
  ]
54469
54606
  }
54470
54607
  ) : filteredRepositories.sort(
54471
54608
  (a, b) => a.name.localeCompare(b.name, void 0, { sensitivity: "base" })
54472
- ).map((repo) => /* @__PURE__ */ jsx(
54473
- GitHubRepositoryCard,
54474
- {
54475
- repository: repo,
54476
- onSelect: handleRepositorySelect,
54477
- onClone: panelActions.cloneRepository ? handleCloneRepository : void 0
54478
- },
54479
- repo.id
54480
- )) })
54609
+ ).map(renderRepositoryCard) })
54481
54610
  ]
54482
54611
  }
54483
54612
  )
54484
54613
  ] });
54485
54614
  };
54486
- const OrgProfilePanel = (props) => {
54487
- return /* @__PURE__ */ jsx(OrgProfilePanelContent, { ...props });
54615
+ const ProfilePanel = (props) => {
54616
+ return /* @__PURE__ */ jsx(ProfilePanelContent, { ...props });
54488
54617
  };
54489
- const OrgProfilePanelPreview = () => {
54618
+ const ProfilePanelPreview = ({
54619
+ profileType = "user"
54620
+ }) => {
54490
54621
  const { theme: theme2 } = useTheme();
54622
+ const Icon2 = profileType === "organization" ? Building2 : User;
54623
+ const label = profileType === "organization" ? "Organization" : "User";
54491
54624
  return /* @__PURE__ */ jsxs(
54492
54625
  "div",
54493
54626
  {
@@ -54511,12 +54644,12 @@ const OrgProfilePanelPreview = () => {
54511
54644
  fontWeight: theme2.fontWeights.semibold
54512
54645
  },
54513
54646
  children: [
54514
- /* @__PURE__ */ jsx(Building2, { size: 16, style: { color: theme2.colors.primary } }),
54515
- /* @__PURE__ */ jsx("span", { children: "Organization" })
54647
+ /* @__PURE__ */ jsx(Icon2, { size: 16, style: { color: theme2.colors.primary } }),
54648
+ /* @__PURE__ */ jsx("span", { children: label })
54516
54649
  ]
54517
54650
  }
54518
54651
  ),
54519
- /* @__PURE__ */ jsx(
54652
+ /* @__PURE__ */ jsxs(
54520
54653
  "div",
54521
54654
  {
54522
54655
  style: {
@@ -54525,20 +54658,24 @@ const OrgProfilePanelPreview = () => {
54525
54658
  color: theme2.colors.textSecondary,
54526
54659
  marginTop: "4px"
54527
54660
  },
54528
- children: "View organization collections and repos"
54661
+ children: [
54662
+ "View ",
54663
+ label.toLowerCase(),
54664
+ " collections and repos"
54665
+ ]
54529
54666
  }
54530
54667
  )
54531
54668
  ]
54532
54669
  }
54533
54670
  );
54534
54671
  };
54535
- const OrgProfilePanelMetadata = {
54536
- id: "industry-theme.org-profile",
54537
- name: "Organization Profile",
54538
- description: "View organization profiles with collections and repositories",
54539
- icon: "building-2",
54672
+ const ProfilePanelMetadata = {
54673
+ id: "industry-theme.profile",
54674
+ name: "Profile",
54675
+ description: "View user or organization profiles with collections and repositories",
54676
+ icon: "user",
54540
54677
  version: "0.1.0",
54541
- slices: ["orgProfile"],
54678
+ slices: ["profile"],
54542
54679
  surfaces: ["panel"]
54543
54680
  };
54544
54681
  const listRepositoriesTool = {
@@ -54822,17 +54959,17 @@ const githubToolsMetadata = {
54822
54959
  description: "Tools for browsing and managing GitHub repositories",
54823
54960
  tools: githubTools
54824
54961
  };
54825
- const PANEL_ID = "industry-theme.org-profile";
54826
- const setOrgViewTool = {
54827
- name: "set_org_profile_view",
54828
- description: "Switch between collections and repositories views in the organization profile panel.",
54962
+ const PANEL_ID = "industry-theme.profile";
54963
+ const setProfileViewTool = {
54964
+ name: "set_profile_view",
54965
+ description: "Switch between collections, repositories, and starred views in the profile panel. The starred view is only available for user profiles.",
54829
54966
  inputs: {
54830
54967
  type: "object",
54831
54968
  properties: {
54832
54969
  view: {
54833
54970
  type: "string",
54834
- enum: ["collections", "repositories"],
54835
- description: "The view to switch to (collections or repositories)"
54971
+ enum: ["collections", "repositories", "starred"],
54972
+ description: "The view to switch to (collections, repositories, or starred)"
54836
54973
  }
54837
54974
  },
54838
54975
  required: ["view"]
@@ -54843,15 +54980,15 @@ const setOrgViewTool = {
54843
54980
  success: { type: "boolean" }
54844
54981
  }
54845
54982
  },
54846
- tags: ["organization", "profile", "view", "switch"],
54983
+ tags: ["profile", "view", "switch"],
54847
54984
  tool_call_template: {
54848
54985
  call_template_type: "panel_event",
54849
54986
  event_type: `${PANEL_ID}:set-view`
54850
54987
  }
54851
54988
  };
54852
- const selectOrgCollectionTool = {
54853
- name: "select_org_collection",
54854
- description: "Select a collection from the organization's collections to view its repositories.",
54989
+ const selectProfileCollectionTool = {
54990
+ name: "select_profile_collection",
54991
+ description: "Select a collection from the user or organization's collections to view its repositories.",
54855
54992
  inputs: {
54856
54993
  type: "object",
54857
54994
  properties: {
@@ -54869,21 +55006,21 @@ const selectOrgCollectionTool = {
54869
55006
  collectionId: { type: "string" }
54870
55007
  }
54871
55008
  },
54872
- tags: ["organization", "collection", "select"],
55009
+ tags: ["profile", "collection", "select"],
54873
55010
  tool_call_template: {
54874
55011
  call_template_type: "panel_event",
54875
55012
  event_type: `${PANEL_ID}:select-collection`
54876
55013
  }
54877
55014
  };
54878
- const selectOrgRepositoryTool = {
54879
- name: "select_org_repository",
54880
- description: "Select a repository from the organization's repositories to view its details.",
55015
+ const selectProfileRepositoryTool = {
55016
+ name: "select_profile_repository",
55017
+ description: "Select a repository from the user or organization's repositories to view its details.",
54881
55018
  inputs: {
54882
55019
  type: "object",
54883
55020
  properties: {
54884
55021
  owner: {
54885
55022
  type: "string",
54886
- description: "The repository owner (organization login)"
55023
+ description: "The repository owner (user or organization login)"
54887
55024
  },
54888
55025
  repo: {
54889
55026
  type: "string",
@@ -54899,21 +55036,21 @@ const selectOrgRepositoryTool = {
54899
55036
  repository: { type: "string" }
54900
55037
  }
54901
55038
  },
54902
- tags: ["organization", "repository", "select", "navigate"],
55039
+ tags: ["profile", "repository", "select", "navigate"],
54903
55040
  tool_call_template: {
54904
55041
  call_template_type: "panel_event",
54905
55042
  event_type: `${PANEL_ID}:select-repository`
54906
55043
  }
54907
55044
  };
54908
- const cloneOrgRepositoryTool = {
54909
- name: "clone_org_repository",
54910
- description: "Clone a repository from the organization to your local machine.",
55045
+ const cloneProfileRepositoryTool = {
55046
+ name: "clone_profile_repository",
55047
+ description: "Clone a repository from the user or organization to your local machine.",
54911
55048
  inputs: {
54912
55049
  type: "object",
54913
55050
  properties: {
54914
55051
  owner: {
54915
55052
  type: "string",
54916
- description: "The repository owner (organization login)"
55053
+ description: "The repository owner (user or organization login)"
54917
55054
  },
54918
55055
  repo: {
54919
55056
  type: "string",
@@ -54928,15 +55065,15 @@ const cloneOrgRepositoryTool = {
54928
55065
  success: { type: "boolean" }
54929
55066
  }
54930
55067
  },
54931
- tags: ["organization", "repository", "clone", "download"],
55068
+ tags: ["profile", "repository", "clone", "download"],
54932
55069
  tool_call_template: {
54933
55070
  call_template_type: "panel_event",
54934
55071
  event_type: `${PANEL_ID}:clone-repository`
54935
55072
  }
54936
55073
  };
54937
- const filterOrgRepositoriesTool = {
54938
- name: "filter_org_repositories",
54939
- description: "Filter the organization's repositories by name, description, or language.",
55074
+ const filterProfileRepositoriesTool = {
55075
+ name: "filter_profile_repositories",
55076
+ description: "Filter the user or organization's repositories by name, description, or language.",
54940
55077
  inputs: {
54941
55078
  type: "object",
54942
55079
  properties: {
@@ -54953,24 +55090,24 @@ const filterOrgRepositoriesTool = {
54953
55090
  success: { type: "boolean" }
54954
55091
  }
54955
55092
  },
54956
- tags: ["organization", "repository", "filter", "search"],
55093
+ tags: ["profile", "repository", "filter", "search"],
54957
55094
  tool_call_template: {
54958
55095
  call_template_type: "panel_event",
54959
55096
  event_type: `${PANEL_ID}:filter-repositories`
54960
55097
  }
54961
55098
  };
54962
- const orgProfileTools = [
54963
- setOrgViewTool,
54964
- selectOrgCollectionTool,
54965
- selectOrgRepositoryTool,
54966
- cloneOrgRepositoryTool,
54967
- filterOrgRepositoriesTool
55099
+ const profileTools = [
55100
+ setProfileViewTool,
55101
+ selectProfileCollectionTool,
55102
+ selectProfileRepositoryTool,
55103
+ cloneProfileRepositoryTool,
55104
+ filterProfileRepositoriesTool
54968
55105
  ];
54969
- const orgProfileToolsMetadata = {
54970
- id: "org-profile-panel",
54971
- name: "Organization Profile Panel",
54972
- description: "Tools for browsing organization profiles, collections, and repositories",
54973
- tools: orgProfileTools
55106
+ const profileToolsMetadata = {
55107
+ id: "profile-panel",
55108
+ name: "Profile Panel",
55109
+ description: "Tools for browsing user and organization profiles, collections, and repositories",
55110
+ tools: profileTools
54974
55111
  };
54975
55112
  function getTimelineEventType(event) {
54976
55113
  return event.event;
@@ -55061,15 +55198,15 @@ const panels = [
55061
55198
  },
55062
55199
  {
55063
55200
  metadata: {
55064
- ...OrgProfilePanelMetadata,
55065
- tools: orgProfileTools
55201
+ ...ProfilePanelMetadata,
55202
+ tools: profileTools
55066
55203
  },
55067
- component: OrgProfilePanel,
55204
+ component: ProfilePanel,
55068
55205
  onMount: async (_context) => {
55069
- console.log("Org Profile Panel mounted");
55206
+ console.log("Profile Panel mounted");
55070
55207
  },
55071
55208
  onUnmount: async (_context) => {
55072
- console.log("Org Profile Panel unmounting");
55209
+ console.log("Profile Panel unmounting");
55073
55210
  }
55074
55211
  }
55075
55212
  ];
@@ -55086,38 +55223,41 @@ export {
55086
55223
  GitHubProjectCard,
55087
55224
  GitHubProjectsPanel,
55088
55225
  GitHubSearchPanel,
55089
- OrgProfilePanel,
55090
- OrgProfilePanelMetadata,
55091
- OrgProfilePanelPreview,
55092
55226
  OwnerRepositoriesPanel,
55227
+ ProfilePanel,
55228
+ ProfilePanelMetadata,
55229
+ ProfilePanelPreview,
55093
55230
  RecentRepositoriesPanel,
55094
55231
  addRecentOwner,
55095
55232
  addRecentRepository,
55096
- cloneOrgRepositoryTool,
55097
- filterOrgRepositoriesTool,
55233
+ cloneProfileRepositoryTool,
55234
+ filterProfileRepositoriesTool,
55235
+ getProfileDescription,
55098
55236
  getTimelineEventType,
55099
55237
  githubTools,
55100
55238
  githubToolsMetadata,
55101
55239
  isCommentEvent,
55102
55240
  isCommitEvent,
55241
+ isOrgProfile,
55103
55242
  isReviewEvent,
55243
+ isUserProfile,
55104
55244
  listIssuesTool,
55105
55245
  listRepositoriesTool,
55106
55246
  onPackageLoad,
55107
55247
  onPackageUnload,
55108
55248
  openRepositorySwitcherTool,
55109
- orgProfileTools,
55110
- orgProfileToolsMetadata,
55111
55249
  panels,
55112
55250
  previewRepositoryTool,
55251
+ profileTools,
55252
+ profileToolsMetadata,
55113
55253
  refreshIssuesTool,
55114
55254
  refreshMessagesTool,
55115
55255
  requestGitHubLoginTool,
55116
55256
  searchRepositoriesTool,
55117
- selectOrgCollectionTool,
55118
- selectOrgRepositoryTool,
55257
+ selectProfileCollectionTool,
55258
+ selectProfileRepositoryTool,
55119
55259
  selectRepositoryTool,
55120
- setOrgViewTool,
55260
+ setProfileViewTool,
55121
55261
  viewIssueMessagesTool,
55122
55262
  viewPullRequestMessagesTool
55123
55263
  };