@industry-theme/repository-composition-panels 0.7.22 → 0.7.24
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/{browserAll-7VUEtimn.js → browserAll-B8SGpKNH.js} +3 -3
- package/dist/{browserAll-7VUEtimn.js.map → browserAll-B8SGpKNH.js.map} +1 -1
- package/dist/{index-BqQ_Bwuh.js → index-Du-HFyPY.js} +391 -244
- package/dist/{index-BqQ_Bwuh.js.map → index-Du-HFyPY.js.map} +1 -1
- package/dist/{init-CO01xKcY.js → init-BU3NCsD0.js} +2 -2
- package/dist/{init-CO01xKcY.js.map → init-BU3NCsD0.js.map} +1 -1
- package/dist/panels/overworld-map/components/RepoCard.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/RepoCardStatic.d.ts +7 -3
- package/dist/panels/overworld-map/components/RepoCardStatic.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/RepoSprite.d.ts +4 -2
- package/dist/panels/overworld-map/components/RepoSprite.d.ts.map +1 -1
- package/dist/panels/overworld-map/components/cardThemes.d.ts +25 -0
- package/dist/panels/overworld-map/components/cardThemes.d.ts.map +1 -0
- package/dist/panels/overworld-map/components/spriteRenderer.d.ts.map +1 -1
- package/dist/panels.bundle.js +1 -1
- package/dist/webworkerAll-C72I_Byi.js +3 -0
- package/dist/webworkerAll-C72I_Byi.js.map +1 -0
- package/package.json +1 -1
- package/dist/webworkerAll-CGxPy3y-.js +0 -3
- package/dist/webworkerAll-CGxPy3y-.js.map +0 -1
|
@@ -134,7 +134,7 @@ const createLucideIcon$1 = (iconName, iconNode) => {
|
|
|
134
134
|
* This source code is licensed under the ISC license.
|
|
135
135
|
* See the LICENSE file in the root directory of this source tree.
|
|
136
136
|
*/
|
|
137
|
-
const __iconNode$
|
|
137
|
+
const __iconNode$qm = [
|
|
138
138
|
[
|
|
139
139
|
"path",
|
|
140
140
|
{
|
|
@@ -143,25 +143,25 @@ const __iconNode$qo = [
|
|
|
143
143
|
}
|
|
144
144
|
]
|
|
145
145
|
];
|
|
146
|
-
const Activity$1 = createLucideIcon$1("activity", __iconNode$
|
|
146
|
+
const Activity$1 = createLucideIcon$1("activity", __iconNode$qm);
|
|
147
147
|
/**
|
|
148
148
|
* @license lucide-react v0.552.0 - ISC
|
|
149
149
|
*
|
|
150
150
|
* This source code is licensed under the ISC license.
|
|
151
151
|
* See the LICENSE file in the root directory of this source tree.
|
|
152
152
|
*/
|
|
153
|
-
const __iconNode$
|
|
153
|
+
const __iconNode$ql = [
|
|
154
154
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
155
155
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
156
156
|
];
|
|
157
|
-
const ArrowUp$1 = createLucideIcon$1("arrow-up", __iconNode$
|
|
157
|
+
const ArrowUp$1 = createLucideIcon$1("arrow-up", __iconNode$ql);
|
|
158
158
|
/**
|
|
159
159
|
* @license lucide-react v0.552.0 - ISC
|
|
160
160
|
*
|
|
161
161
|
* This source code is licensed under the ISC license.
|
|
162
162
|
* See the LICENSE file in the root directory of this source tree.
|
|
163
163
|
*/
|
|
164
|
-
const __iconNode$
|
|
164
|
+
const __iconNode$qk = [
|
|
165
165
|
[
|
|
166
166
|
"path",
|
|
167
167
|
{
|
|
@@ -172,100 +172,100 @@ const __iconNode$qm = [
|
|
|
172
172
|
["path", { d: "m3.3 7 8.7 5 8.7-5", key: "g66t2b" }],
|
|
173
173
|
["path", { d: "M12 22V12", key: "d0xqtd" }]
|
|
174
174
|
];
|
|
175
|
-
const Box$1 = createLucideIcon$1("box", __iconNode$
|
|
175
|
+
const Box$1 = createLucideIcon$1("box", __iconNode$qk);
|
|
176
176
|
/**
|
|
177
177
|
* @license lucide-react v0.552.0 - ISC
|
|
178
178
|
*
|
|
179
179
|
* This source code is licensed under the ISC license.
|
|
180
180
|
* See the LICENSE file in the root directory of this source tree.
|
|
181
181
|
*/
|
|
182
|
-
const __iconNode$
|
|
183
|
-
const Check$1 = createLucideIcon$1("check", __iconNode$
|
|
182
|
+
const __iconNode$qj = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
183
|
+
const Check$1 = createLucideIcon$1("check", __iconNode$qj);
|
|
184
184
|
/**
|
|
185
185
|
* @license lucide-react v0.552.0 - ISC
|
|
186
186
|
*
|
|
187
187
|
* This source code is licensed under the ISC license.
|
|
188
188
|
* See the LICENSE file in the root directory of this source tree.
|
|
189
189
|
*/
|
|
190
|
-
const __iconNode$
|
|
191
|
-
const ChevronDown$1 = createLucideIcon$1("chevron-down", __iconNode$
|
|
190
|
+
const __iconNode$qi = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
191
|
+
const ChevronDown$1 = createLucideIcon$1("chevron-down", __iconNode$qi);
|
|
192
192
|
/**
|
|
193
193
|
* @license lucide-react v0.552.0 - ISC
|
|
194
194
|
*
|
|
195
195
|
* This source code is licensed under the ISC license.
|
|
196
196
|
* See the LICENSE file in the root directory of this source tree.
|
|
197
197
|
*/
|
|
198
|
-
const __iconNode$
|
|
199
|
-
const ChevronLeft$1 = createLucideIcon$1("chevron-left", __iconNode$
|
|
198
|
+
const __iconNode$qh = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
199
|
+
const ChevronLeft$1 = createLucideIcon$1("chevron-left", __iconNode$qh);
|
|
200
200
|
/**
|
|
201
201
|
* @license lucide-react v0.552.0 - ISC
|
|
202
202
|
*
|
|
203
203
|
* This source code is licensed under the ISC license.
|
|
204
204
|
* See the LICENSE file in the root directory of this source tree.
|
|
205
205
|
*/
|
|
206
|
-
const __iconNode$
|
|
207
|
-
const ChevronRight$1 = createLucideIcon$1("chevron-right", __iconNode$
|
|
206
|
+
const __iconNode$qg = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
207
|
+
const ChevronRight$1 = createLucideIcon$1("chevron-right", __iconNode$qg);
|
|
208
208
|
/**
|
|
209
209
|
* @license lucide-react v0.552.0 - ISC
|
|
210
210
|
*
|
|
211
211
|
* This source code is licensed under the ISC license.
|
|
212
212
|
* See the LICENSE file in the root directory of this source tree.
|
|
213
213
|
*/
|
|
214
|
-
const __iconNode$
|
|
215
|
-
const ChevronUp$1 = createLucideIcon$1("chevron-up", __iconNode$
|
|
214
|
+
const __iconNode$qf = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
215
|
+
const ChevronUp$1 = createLucideIcon$1("chevron-up", __iconNode$qf);
|
|
216
216
|
/**
|
|
217
217
|
* @license lucide-react v0.552.0 - ISC
|
|
218
218
|
*
|
|
219
219
|
* This source code is licensed under the ISC license.
|
|
220
220
|
* See the LICENSE file in the root directory of this source tree.
|
|
221
221
|
*/
|
|
222
|
-
const __iconNode$
|
|
222
|
+
const __iconNode$qe = [
|
|
223
223
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
224
224
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
225
225
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
226
226
|
];
|
|
227
|
-
const CircleAlert$1 = createLucideIcon$1("circle-alert", __iconNode$
|
|
227
|
+
const CircleAlert$1 = createLucideIcon$1("circle-alert", __iconNode$qe);
|
|
228
228
|
/**
|
|
229
229
|
* @license lucide-react v0.552.0 - ISC
|
|
230
230
|
*
|
|
231
231
|
* This source code is licensed under the ISC license.
|
|
232
232
|
* See the LICENSE file in the root directory of this source tree.
|
|
233
233
|
*/
|
|
234
|
-
const __iconNode$
|
|
234
|
+
const __iconNode$qd = [
|
|
235
235
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
236
236
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
237
237
|
];
|
|
238
|
-
const CircleCheckBig$1 = createLucideIcon$1("circle-check-big", __iconNode$
|
|
238
|
+
const CircleCheckBig$1 = createLucideIcon$1("circle-check-big", __iconNode$qd);
|
|
239
239
|
/**
|
|
240
240
|
* @license lucide-react v0.552.0 - ISC
|
|
241
241
|
*
|
|
242
242
|
* This source code is licensed under the ISC license.
|
|
243
243
|
* See the LICENSE file in the root directory of this source tree.
|
|
244
244
|
*/
|
|
245
|
-
const __iconNode$
|
|
245
|
+
const __iconNode$qc = [
|
|
246
246
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
247
247
|
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
|
|
248
248
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
249
249
|
];
|
|
250
|
-
const CircleQuestionMark$1 = createLucideIcon$1("circle-question-mark", __iconNode$
|
|
250
|
+
const CircleQuestionMark$1 = createLucideIcon$1("circle-question-mark", __iconNode$qc);
|
|
251
251
|
/**
|
|
252
252
|
* @license lucide-react v0.552.0 - ISC
|
|
253
253
|
*
|
|
254
254
|
* This source code is licensed under the ISC license.
|
|
255
255
|
* See the LICENSE file in the root directory of this source tree.
|
|
256
256
|
*/
|
|
257
|
-
const __iconNode$
|
|
257
|
+
const __iconNode$qb = [
|
|
258
258
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
259
259
|
["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" }]
|
|
260
260
|
];
|
|
261
|
-
const Copy$1 = createLucideIcon$1("copy", __iconNode$
|
|
261
|
+
const Copy$1 = createLucideIcon$1("copy", __iconNode$qb);
|
|
262
262
|
/**
|
|
263
263
|
* @license lucide-react v0.552.0 - ISC
|
|
264
264
|
*
|
|
265
265
|
* This source code is licensed under the ISC license.
|
|
266
266
|
* See the LICENSE file in the root directory of this source tree.
|
|
267
267
|
*/
|
|
268
|
-
const __iconNode$
|
|
268
|
+
const __iconNode$qa = [
|
|
269
269
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
270
270
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
271
271
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -275,26 +275,26 @@ const __iconNode$qc = [
|
|
|
275
275
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
276
276
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
277
277
|
];
|
|
278
|
-
const Expand$1 = createLucideIcon$1("expand", __iconNode$
|
|
278
|
+
const Expand$1 = createLucideIcon$1("expand", __iconNode$qa);
|
|
279
279
|
/**
|
|
280
280
|
* @license lucide-react v0.552.0 - ISC
|
|
281
281
|
*
|
|
282
282
|
* This source code is licensed under the ISC license.
|
|
283
283
|
* See the LICENSE file in the root directory of this source tree.
|
|
284
284
|
*/
|
|
285
|
-
const __iconNode$
|
|
285
|
+
const __iconNode$q9 = [
|
|
286
286
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
287
287
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
288
288
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
289
289
|
];
|
|
290
|
-
const ExternalLink$1 = createLucideIcon$1("external-link", __iconNode$
|
|
290
|
+
const ExternalLink$1 = createLucideIcon$1("external-link", __iconNode$q9);
|
|
291
291
|
/**
|
|
292
292
|
* @license lucide-react v0.552.0 - ISC
|
|
293
293
|
*
|
|
294
294
|
* This source code is licensed under the ISC license.
|
|
295
295
|
* See the LICENSE file in the root directory of this source tree.
|
|
296
296
|
*/
|
|
297
|
-
const __iconNode$
|
|
297
|
+
const __iconNode$q8 = [
|
|
298
298
|
[
|
|
299
299
|
"path",
|
|
300
300
|
{
|
|
@@ -306,14 +306,14 @@ const __iconNode$qa = [
|
|
|
306
306
|
["path", { d: "M10 12.5 8 15l2 2.5", key: "1tg20x" }],
|
|
307
307
|
["path", { d: "m14 12.5 2 2.5-2 2.5", key: "yinavb" }]
|
|
308
308
|
];
|
|
309
|
-
const FileCode$1 = createLucideIcon$1("file-code", __iconNode$
|
|
309
|
+
const FileCode$1 = createLucideIcon$1("file-code", __iconNode$q8);
|
|
310
310
|
/**
|
|
311
311
|
* @license lucide-react v0.552.0 - ISC
|
|
312
312
|
*
|
|
313
313
|
* This source code is licensed under the ISC license.
|
|
314
314
|
* See the LICENSE file in the root directory of this source tree.
|
|
315
315
|
*/
|
|
316
|
-
const __iconNode$
|
|
316
|
+
const __iconNode$q7 = [
|
|
317
317
|
[
|
|
318
318
|
"path",
|
|
319
319
|
{
|
|
@@ -324,14 +324,14 @@ const __iconNode$q9 = [
|
|
|
324
324
|
["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
|
|
325
325
|
["path", { d: "m10 18 3-3-3-3", key: "18f6ys" }]
|
|
326
326
|
];
|
|
327
|
-
const FileSymlink$1 = createLucideIcon$1("file-symlink", __iconNode$
|
|
327
|
+
const FileSymlink$1 = createLucideIcon$1("file-symlink", __iconNode$q7);
|
|
328
328
|
/**
|
|
329
329
|
* @license lucide-react v0.552.0 - ISC
|
|
330
330
|
*
|
|
331
331
|
* This source code is licensed under the ISC license.
|
|
332
332
|
* See the LICENSE file in the root directory of this source tree.
|
|
333
333
|
*/
|
|
334
|
-
const __iconNode$
|
|
334
|
+
const __iconNode$q6 = [
|
|
335
335
|
[
|
|
336
336
|
"path",
|
|
337
337
|
{
|
|
@@ -344,14 +344,14 @@ const __iconNode$q8 = [
|
|
|
344
344
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
345
345
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
346
346
|
];
|
|
347
|
-
const FileText$1 = createLucideIcon$1("file-text", __iconNode$
|
|
347
|
+
const FileText$1 = createLucideIcon$1("file-text", __iconNode$q6);
|
|
348
348
|
/**
|
|
349
349
|
* @license lucide-react v0.552.0 - ISC
|
|
350
350
|
*
|
|
351
351
|
* This source code is licensed under the ISC license.
|
|
352
352
|
* See the LICENSE file in the root directory of this source tree.
|
|
353
353
|
*/
|
|
354
|
-
const __iconNode$
|
|
354
|
+
const __iconNode$q5 = [
|
|
355
355
|
[
|
|
356
356
|
"path",
|
|
357
357
|
{
|
|
@@ -360,14 +360,14 @@ const __iconNode$q7 = [
|
|
|
360
360
|
}
|
|
361
361
|
]
|
|
362
362
|
];
|
|
363
|
-
const FolderOpen$1 = createLucideIcon$1("folder-open", __iconNode$
|
|
363
|
+
const FolderOpen$1 = createLucideIcon$1("folder-open", __iconNode$q5);
|
|
364
364
|
/**
|
|
365
365
|
* @license lucide-react v0.552.0 - ISC
|
|
366
366
|
*
|
|
367
367
|
* This source code is licensed under the ISC license.
|
|
368
368
|
* See the LICENSE file in the root directory of this source tree.
|
|
369
369
|
*/
|
|
370
|
-
const __iconNode$
|
|
370
|
+
const __iconNode$q4 = [
|
|
371
371
|
[
|
|
372
372
|
"path",
|
|
373
373
|
{
|
|
@@ -376,39 +376,39 @@ const __iconNode$q6 = [
|
|
|
376
376
|
}
|
|
377
377
|
]
|
|
378
378
|
];
|
|
379
|
-
const Folder$1 = createLucideIcon$1("folder", __iconNode$
|
|
379
|
+
const Folder$1 = createLucideIcon$1("folder", __iconNode$q4);
|
|
380
380
|
/**
|
|
381
381
|
* @license lucide-react v0.552.0 - ISC
|
|
382
382
|
*
|
|
383
383
|
* This source code is licensed under the ISC license.
|
|
384
384
|
* See the LICENSE file in the root directory of this source tree.
|
|
385
385
|
*/
|
|
386
|
-
const __iconNode$
|
|
386
|
+
const __iconNode$q3 = [
|
|
387
387
|
["line", { x1: "6", x2: "6", y1: "3", y2: "15", key: "17qcm7" }],
|
|
388
388
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
389
389
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
390
390
|
["path", { d: "M18 9a9 9 0 0 1-9 9", key: "n2h4wq" }]
|
|
391
391
|
];
|
|
392
|
-
const GitBranch$1 = createLucideIcon$1("git-branch", __iconNode$
|
|
392
|
+
const GitBranch$1 = createLucideIcon$1("git-branch", __iconNode$q3);
|
|
393
393
|
/**
|
|
394
394
|
* @license lucide-react v0.552.0 - ISC
|
|
395
395
|
*
|
|
396
396
|
* This source code is licensed under the ISC license.
|
|
397
397
|
* See the LICENSE file in the root directory of this source tree.
|
|
398
398
|
*/
|
|
399
|
-
const __iconNode$
|
|
399
|
+
const __iconNode$q2 = [
|
|
400
400
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
401
401
|
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
|
402
402
|
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
|
403
403
|
];
|
|
404
|
-
const Globe$1 = createLucideIcon$1("globe", __iconNode$
|
|
404
|
+
const Globe$1 = createLucideIcon$1("globe", __iconNode$q2);
|
|
405
405
|
/**
|
|
406
406
|
* @license lucide-react v0.552.0 - ISC
|
|
407
407
|
*
|
|
408
408
|
* This source code is licensed under the ISC license.
|
|
409
409
|
* See the LICENSE file in the root directory of this source tree.
|
|
410
410
|
*/
|
|
411
|
-
const __iconNode$
|
|
411
|
+
const __iconNode$q1 = [
|
|
412
412
|
[
|
|
413
413
|
"path",
|
|
414
414
|
{
|
|
@@ -431,77 +431,77 @@ const __iconNode$q3 = [
|
|
|
431
431
|
}
|
|
432
432
|
]
|
|
433
433
|
];
|
|
434
|
-
const Layers$1 = createLucideIcon$1("layers", __iconNode$
|
|
434
|
+
const Layers$1 = createLucideIcon$1("layers", __iconNode$q1);
|
|
435
435
|
/**
|
|
436
436
|
* @license lucide-react v0.552.0 - ISC
|
|
437
437
|
*
|
|
438
438
|
* This source code is licensed under the ISC license.
|
|
439
439
|
* See the LICENSE file in the root directory of this source tree.
|
|
440
440
|
*/
|
|
441
|
-
const __iconNode$
|
|
441
|
+
const __iconNode$q0 = [
|
|
442
442
|
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
443
443
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
444
444
|
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
|
445
445
|
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
|
446
446
|
];
|
|
447
|
-
const LayoutGrid$1 = createLucideIcon$1("layout-grid", __iconNode$
|
|
447
|
+
const LayoutGrid$1 = createLucideIcon$1("layout-grid", __iconNode$q0);
|
|
448
448
|
/**
|
|
449
449
|
* @license lucide-react v0.552.0 - ISC
|
|
450
450
|
*
|
|
451
451
|
* This source code is licensed under the ISC license.
|
|
452
452
|
* See the LICENSE file in the root directory of this source tree.
|
|
453
453
|
*/
|
|
454
|
-
const __iconNode$
|
|
455
|
-
const LoaderCircle$1 = createLucideIcon$1("loader-circle", __iconNode$
|
|
454
|
+
const __iconNode$p$ = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
455
|
+
const LoaderCircle$1 = createLucideIcon$1("loader-circle", __iconNode$p$);
|
|
456
456
|
/**
|
|
457
457
|
* @license lucide-react v0.552.0 - ISC
|
|
458
458
|
*
|
|
459
459
|
* This source code is licensed under the ISC license.
|
|
460
460
|
* See the LICENSE file in the root directory of this source tree.
|
|
461
461
|
*/
|
|
462
|
-
const __iconNode$
|
|
462
|
+
const __iconNode$p_ = [
|
|
463
463
|
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
|
464
464
|
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
|
465
465
|
];
|
|
466
|
-
const Lock$1 = createLucideIcon$1("lock", __iconNode$
|
|
466
|
+
const Lock$1 = createLucideIcon$1("lock", __iconNode$p_);
|
|
467
467
|
/**
|
|
468
468
|
* @license lucide-react v0.552.0 - ISC
|
|
469
469
|
*
|
|
470
470
|
* This source code is licensed under the ISC license.
|
|
471
471
|
* See the LICENSE file in the root directory of this source tree.
|
|
472
472
|
*/
|
|
473
|
-
const __iconNode$
|
|
474
|
-
const Minus$1 = createLucideIcon$1("minus", __iconNode$
|
|
473
|
+
const __iconNode$pZ = [["path", { d: "M5 12h14", key: "1ays0h" }]];
|
|
474
|
+
const Minus$1 = createLucideIcon$1("minus", __iconNode$pZ);
|
|
475
475
|
/**
|
|
476
476
|
* @license lucide-react v0.552.0 - ISC
|
|
477
477
|
*
|
|
478
478
|
* This source code is licensed under the ISC license.
|
|
479
479
|
* See the LICENSE file in the root directory of this source tree.
|
|
480
480
|
*/
|
|
481
|
-
const __iconNode$
|
|
481
|
+
const __iconNode$pY = [
|
|
482
482
|
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
483
483
|
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
484
484
|
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
485
485
|
];
|
|
486
|
-
const Monitor$1 = createLucideIcon$1("monitor", __iconNode$
|
|
486
|
+
const Monitor$1 = createLucideIcon$1("monitor", __iconNode$pY);
|
|
487
487
|
/**
|
|
488
488
|
* @license lucide-react v0.552.0 - ISC
|
|
489
489
|
*
|
|
490
490
|
* This source code is licensed under the ISC license.
|
|
491
491
|
* See the LICENSE file in the root directory of this source tree.
|
|
492
492
|
*/
|
|
493
|
-
const __iconNode$
|
|
493
|
+
const __iconNode$pX = [
|
|
494
494
|
["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
|
|
495
495
|
["path", { d: "M2 12H22", key: "1m8cig" }]
|
|
496
496
|
];
|
|
497
|
-
const MoveRight$1 = createLucideIcon$1("move-right", __iconNode$
|
|
497
|
+
const MoveRight$1 = createLucideIcon$1("move-right", __iconNode$pX);
|
|
498
498
|
/**
|
|
499
499
|
* @license lucide-react v0.552.0 - ISC
|
|
500
500
|
*
|
|
501
501
|
* This source code is licensed under the ISC license.
|
|
502
502
|
* See the LICENSE file in the root directory of this source tree.
|
|
503
503
|
*/
|
|
504
|
-
const __iconNode$
|
|
504
|
+
const __iconNode$pW = [
|
|
505
505
|
[
|
|
506
506
|
"path",
|
|
507
507
|
{
|
|
@@ -513,14 +513,14 @@ const __iconNode$pY = [
|
|
|
513
513
|
["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
|
|
514
514
|
["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
|
|
515
515
|
];
|
|
516
|
-
const Package$1 = createLucideIcon$1("package", __iconNode$
|
|
516
|
+
const Package$1 = createLucideIcon$1("package", __iconNode$pW);
|
|
517
517
|
/**
|
|
518
518
|
* @license lucide-react v0.552.0 - ISC
|
|
519
519
|
*
|
|
520
520
|
* This source code is licensed under the ISC license.
|
|
521
521
|
* See the LICENSE file in the root directory of this source tree.
|
|
522
522
|
*/
|
|
523
|
-
const __iconNode$
|
|
523
|
+
const __iconNode$pV = [
|
|
524
524
|
[
|
|
525
525
|
"path",
|
|
526
526
|
{
|
|
@@ -529,65 +529,65 @@ const __iconNode$pX = [
|
|
|
529
529
|
}
|
|
530
530
|
]
|
|
531
531
|
];
|
|
532
|
-
const Play$1 = createLucideIcon$1("play", __iconNode$
|
|
532
|
+
const Play$1 = createLucideIcon$1("play", __iconNode$pV);
|
|
533
533
|
/**
|
|
534
534
|
* @license lucide-react v0.552.0 - ISC
|
|
535
535
|
*
|
|
536
536
|
* This source code is licensed under the ISC license.
|
|
537
537
|
* See the LICENSE file in the root directory of this source tree.
|
|
538
538
|
*/
|
|
539
|
-
const __iconNode$
|
|
539
|
+
const __iconNode$pU = [
|
|
540
540
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
541
541
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
542
542
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
543
543
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
544
544
|
];
|
|
545
|
-
const RefreshCw$1 = createLucideIcon$1("refresh-cw", __iconNode$
|
|
545
|
+
const RefreshCw$1 = createLucideIcon$1("refresh-cw", __iconNode$pU);
|
|
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$
|
|
552
|
+
const __iconNode$pT = [
|
|
553
553
|
["path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "7g6ntu" }],
|
|
554
554
|
["path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "ijws7r" }],
|
|
555
555
|
["path", { d: "M7 21h10", key: "1b0cd5" }],
|
|
556
556
|
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
557
557
|
["path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2", key: "3gwbw2" }]
|
|
558
558
|
];
|
|
559
|
-
const Scale$1 = createLucideIcon$1("scale", __iconNode$
|
|
559
|
+
const Scale$1 = createLucideIcon$1("scale", __iconNode$pT);
|
|
560
560
|
/**
|
|
561
561
|
* @license lucide-react v0.552.0 - ISC
|
|
562
562
|
*
|
|
563
563
|
* This source code is licensed under the ISC license.
|
|
564
564
|
* See the LICENSE file in the root directory of this source tree.
|
|
565
565
|
*/
|
|
566
|
-
const __iconNode$
|
|
566
|
+
const __iconNode$pS = [
|
|
567
567
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
568
568
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
569
569
|
];
|
|
570
|
-
const Search$1 = createLucideIcon$1("search", __iconNode$
|
|
570
|
+
const Search$1 = createLucideIcon$1("search", __iconNode$pS);
|
|
571
571
|
/**
|
|
572
572
|
* @license lucide-react v0.552.0 - ISC
|
|
573
573
|
*
|
|
574
574
|
* This source code is licensed under the ISC license.
|
|
575
575
|
* See the LICENSE file in the root directory of this source tree.
|
|
576
576
|
*/
|
|
577
|
-
const __iconNode$
|
|
577
|
+
const __iconNode$pR = [
|
|
578
578
|
["path", { d: "M14 17H5", key: "gfn3mx" }],
|
|
579
579
|
["path", { d: "M19 7h-9", key: "6i9tg" }],
|
|
580
580
|
["circle", { cx: "17", cy: "17", r: "3", key: "18b49y" }],
|
|
581
581
|
["circle", { cx: "7", cy: "7", r: "3", key: "dfmy0x" }]
|
|
582
582
|
];
|
|
583
|
-
const Settings2$1 = createLucideIcon$1("settings-2", __iconNode$
|
|
583
|
+
const Settings2$1 = createLucideIcon$1("settings-2", __iconNode$pR);
|
|
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$
|
|
590
|
+
const __iconNode$pQ = [
|
|
591
591
|
[
|
|
592
592
|
"path",
|
|
593
593
|
{
|
|
@@ -597,53 +597,37 @@ const __iconNode$pS = [
|
|
|
597
597
|
],
|
|
598
598
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
599
599
|
];
|
|
600
|
-
const Settings$1 = createLucideIcon$1("settings", __iconNode$
|
|
601
|
-
/**
|
|
602
|
-
* @license lucide-react v0.552.0 - ISC
|
|
603
|
-
*
|
|
604
|
-
* This source code is licensed under the ISC license.
|
|
605
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
606
|
-
*/
|
|
607
|
-
const __iconNode$pR = [
|
|
608
|
-
[
|
|
609
|
-
"path",
|
|
610
|
-
{
|
|
611
|
-
d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
|
|
612
|
-
key: "r04s7s"
|
|
613
|
-
}
|
|
614
|
-
]
|
|
615
|
-
];
|
|
616
|
-
const Star$1 = createLucideIcon$1("star", __iconNode$pR);
|
|
600
|
+
const Settings$1 = createLucideIcon$1("settings", __iconNode$pQ);
|
|
617
601
|
/**
|
|
618
602
|
* @license lucide-react v0.552.0 - ISC
|
|
619
603
|
*
|
|
620
604
|
* This source code is licensed under the ISC license.
|
|
621
605
|
* See the LICENSE file in the root directory of this source tree.
|
|
622
606
|
*/
|
|
623
|
-
const __iconNode$
|
|
607
|
+
const __iconNode$pP = [
|
|
624
608
|
["path", { d: "M12 19h8", key: "baeox8" }],
|
|
625
609
|
["path", { d: "m4 17 6-6-6-6", key: "1yngyt" }]
|
|
626
610
|
];
|
|
627
|
-
const Terminal$1 = createLucideIcon$1("terminal", __iconNode$
|
|
611
|
+
const Terminal$1 = createLucideIcon$1("terminal", __iconNode$pP);
|
|
628
612
|
/**
|
|
629
613
|
* @license lucide-react v0.552.0 - ISC
|
|
630
614
|
*
|
|
631
615
|
* This source code is licensed under the ISC license.
|
|
632
616
|
* See the LICENSE file in the root directory of this source tree.
|
|
633
617
|
*/
|
|
634
|
-
const __iconNode$
|
|
618
|
+
const __iconNode$pO = [
|
|
635
619
|
["path", { d: "M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2", key: "125lnx" }],
|
|
636
620
|
["path", { d: "M8.5 2h7", key: "csnxdl" }],
|
|
637
621
|
["path", { d: "M14.5 16h-5", key: "1ox875" }]
|
|
638
622
|
];
|
|
639
|
-
const TestTube$1 = createLucideIcon$1("test-tube", __iconNode$
|
|
623
|
+
const TestTube$1 = createLucideIcon$1("test-tube", __iconNode$pO);
|
|
640
624
|
/**
|
|
641
625
|
* @license lucide-react v0.552.0 - ISC
|
|
642
626
|
*
|
|
643
627
|
* This source code is licensed under the ISC license.
|
|
644
628
|
* See the LICENSE file in the root directory of this source tree.
|
|
645
629
|
*/
|
|
646
|
-
const __iconNode$
|
|
630
|
+
const __iconNode$pN = [
|
|
647
631
|
[
|
|
648
632
|
"path",
|
|
649
633
|
{
|
|
@@ -654,20 +638,7 @@ const __iconNode$pO = [
|
|
|
654
638
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
655
639
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
656
640
|
];
|
|
657
|
-
const TriangleAlert$1 = createLucideIcon$1("triangle-alert", __iconNode$
|
|
658
|
-
/**
|
|
659
|
-
* @license lucide-react v0.552.0 - ISC
|
|
660
|
-
*
|
|
661
|
-
* This source code is licensed under the ISC license.
|
|
662
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
663
|
-
*/
|
|
664
|
-
const __iconNode$pN = [
|
|
665
|
-
["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
|
|
666
|
-
["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
|
|
667
|
-
["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
|
|
668
|
-
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
|
|
669
|
-
];
|
|
670
|
-
const Users$1 = createLucideIcon$1("users", __iconNode$pN);
|
|
641
|
+
const TriangleAlert$1 = createLucideIcon$1("triangle-alert", __iconNode$pN);
|
|
671
642
|
/**
|
|
672
643
|
* @license lucide-react v0.552.0 - ISC
|
|
673
644
|
*
|
|
@@ -106236,7 +106207,7 @@ const browserExt = {
|
|
|
106236
106207
|
},
|
|
106237
106208
|
test: () => true,
|
|
106238
106209
|
load: async () => {
|
|
106239
|
-
await import("./browserAll-
|
|
106210
|
+
await import("./browserAll-B8SGpKNH.js");
|
|
106240
106211
|
}
|
|
106241
106212
|
};
|
|
106242
106213
|
const webworkerExt = {
|
|
@@ -106247,7 +106218,7 @@ const webworkerExt = {
|
|
|
106247
106218
|
},
|
|
106248
106219
|
test: () => typeof self !== "undefined" && self.WorkerGlobalScope !== void 0,
|
|
106249
106220
|
load: async () => {
|
|
106250
|
-
await import("./webworkerAll-
|
|
106221
|
+
await import("./webworkerAll-C72I_Byi.js");
|
|
106251
106222
|
}
|
|
106252
106223
|
};
|
|
106253
106224
|
class ObservablePoint {
|
|
@@ -153917,28 +153888,7 @@ const TelemetryCoveragePanel = ({ context: context2, events }) => {
|
|
|
153917
153888
|
}
|
|
153918
153889
|
);
|
|
153919
153890
|
};
|
|
153920
|
-
const
|
|
153921
|
-
const ISO_TILE_HEIGHT$1 = 32;
|
|
153922
|
-
const licenseBorderColors = {
|
|
153923
|
-
MIT: "#228b22",
|
|
153924
|
-
// Forest green - open/welcoming
|
|
153925
|
-
BSD: "#228b22",
|
|
153926
|
-
// Same as MIT
|
|
153927
|
-
"BSD-3-Clause": "#228b22",
|
|
153928
|
-
ISC: "#228b22",
|
|
153929
|
-
"Apache-2.0": "#d97706",
|
|
153930
|
-
// Amber/orange - formal but welcoming
|
|
153931
|
-
"GPL-3.0": "#2255aa",
|
|
153932
|
-
// GNU blue
|
|
153933
|
-
"LGPL-3.0": "#2255aa",
|
|
153934
|
-
"GPL-2.0": "#2255aa",
|
|
153935
|
-
"AGPL-3.0": "#2255aa",
|
|
153936
|
-
"MPL-2.0": "#8b5cf6",
|
|
153937
|
-
// Purple
|
|
153938
|
-
UNLICENSED: "#dc2626"
|
|
153939
|
-
// Red - restrictive
|
|
153940
|
-
};
|
|
153941
|
-
const cardThemes$1 = {
|
|
153891
|
+
const cardThemes = {
|
|
153942
153892
|
blue: {
|
|
153943
153893
|
cardBg: "#3b4a6b",
|
|
153944
153894
|
cardBorder: "#2a3654",
|
|
@@ -153988,15 +153938,36 @@ const cardThemes$1 = {
|
|
|
153988
153938
|
panelBorder: "#4a4a4a"
|
|
153989
153939
|
}
|
|
153990
153940
|
};
|
|
153991
|
-
|
|
153992
|
-
|
|
153993
|
-
|
|
153994
|
-
|
|
153941
|
+
const licenseBorderColors = {
|
|
153942
|
+
MIT: "#228b22",
|
|
153943
|
+
// Forest green - open/welcoming
|
|
153944
|
+
BSD: "#228b22",
|
|
153945
|
+
// Same as MIT
|
|
153946
|
+
"BSD-3-Clause": "#228b22",
|
|
153947
|
+
ISC: "#228b22",
|
|
153948
|
+
"Apache-2.0": "#d97706",
|
|
153949
|
+
// Amber/orange - formal but welcoming
|
|
153950
|
+
"GPL-3.0": "#2255aa",
|
|
153951
|
+
// GNU blue
|
|
153952
|
+
"LGPL-3.0": "#2255aa",
|
|
153953
|
+
"GPL-2.0": "#2255aa",
|
|
153954
|
+
"AGPL-3.0": "#2255aa",
|
|
153955
|
+
"MPL-2.0": "#8b5cf6",
|
|
153956
|
+
// Purple
|
|
153957
|
+
UNLICENSED: "#dc2626"
|
|
153958
|
+
// Red - restrictive
|
|
153959
|
+
};
|
|
153995
153960
|
function formatCount(count2) {
|
|
153996
153961
|
if (count2 < 1e3) return count2.toString();
|
|
153997
153962
|
if (count2 < 1e6) return `${(count2 / 1e3).toFixed(1)}k`;
|
|
153998
153963
|
return `${(count2 / 1e6).toFixed(1)}M`;
|
|
153999
153964
|
}
|
|
153965
|
+
const ISO_TILE_WIDTH$1 = 64;
|
|
153966
|
+
const ISO_TILE_HEIGHT$1 = 32;
|
|
153967
|
+
function parseColor$1(color2) {
|
|
153968
|
+
if (typeof color2 === "number") return color2;
|
|
153969
|
+
return parseInt(color2.replace("#", ""), 16);
|
|
153970
|
+
}
|
|
154000
153971
|
function getPackagePositions$1(count2, footprintWidth, footprintHeight) {
|
|
154001
153972
|
const positions = [];
|
|
154002
153973
|
const spacing = 0.18;
|
|
@@ -154049,6 +154020,7 @@ const RepoSprite = ({
|
|
|
154049
154020
|
collaborators,
|
|
154050
154021
|
license,
|
|
154051
154022
|
label,
|
|
154023
|
+
owner,
|
|
154052
154024
|
variant = "default",
|
|
154053
154025
|
cardTheme = "blue",
|
|
154054
154026
|
width = 200,
|
|
@@ -154243,7 +154215,7 @@ const RepoSprite = ({
|
|
|
154243
154215
|
onPackageHoverEnd
|
|
154244
154216
|
]);
|
|
154245
154217
|
if (variant === "card") {
|
|
154246
|
-
const colors = cardThemes
|
|
154218
|
+
const colors = cardThemes[cardTheme];
|
|
154247
154219
|
const licenseBorder = license ? licenseBorderColors[license] : null;
|
|
154248
154220
|
return /* @__PURE__ */ jsxs(
|
|
154249
154221
|
"div",
|
|
@@ -154262,7 +154234,7 @@ const RepoSprite = ({
|
|
|
154262
154234
|
boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
|
|
154263
154235
|
},
|
|
154264
154236
|
children: [
|
|
154265
|
-
|
|
154237
|
+
owner && /* @__PURE__ */ jsxs(
|
|
154266
154238
|
"div",
|
|
154267
154239
|
{
|
|
154268
154240
|
style: {
|
|
@@ -154276,29 +154248,33 @@ const RepoSprite = ({
|
|
|
154276
154248
|
},
|
|
154277
154249
|
children: [
|
|
154278
154250
|
/* @__PURE__ */ jsx(
|
|
154279
|
-
"
|
|
154251
|
+
"img",
|
|
154280
154252
|
{
|
|
154253
|
+
src: `https://github.com/${owner}.png?size=40`,
|
|
154254
|
+
alt: owner,
|
|
154281
154255
|
style: {
|
|
154282
|
-
|
|
154283
|
-
|
|
154284
|
-
|
|
154285
|
-
|
|
154286
|
-
|
|
154287
|
-
},
|
|
154288
|
-
children: "Monorepo"
|
|
154256
|
+
width: "18px",
|
|
154257
|
+
height: "18px",
|
|
154258
|
+
borderRadius: "50%",
|
|
154259
|
+
border: "1px solid rgba(255,255,255,0.3)"
|
|
154260
|
+
}
|
|
154289
154261
|
}
|
|
154290
154262
|
),
|
|
154291
154263
|
/* @__PURE__ */ jsx(
|
|
154292
154264
|
"span",
|
|
154293
154265
|
{
|
|
154294
154266
|
style: {
|
|
154295
|
-
fontSize: "
|
|
154296
|
-
fontWeight: theme2.fontWeights.
|
|
154297
|
-
color: "#
|
|
154267
|
+
fontSize: "12px",
|
|
154268
|
+
fontWeight: theme2.fontWeights.medium,
|
|
154269
|
+
color: "#e0e0e0",
|
|
154298
154270
|
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
154299
|
-
fontFamily: theme2.fonts.body
|
|
154271
|
+
fontFamily: theme2.fonts.body,
|
|
154272
|
+
maxWidth: "80px",
|
|
154273
|
+
overflow: "hidden",
|
|
154274
|
+
textOverflow: "ellipsis",
|
|
154275
|
+
whiteSpace: "nowrap"
|
|
154300
154276
|
},
|
|
154301
|
-
children:
|
|
154277
|
+
children: owner
|
|
154302
154278
|
}
|
|
154303
154279
|
)
|
|
154304
154280
|
]
|
|
@@ -154639,7 +154615,7 @@ const RepoCard = ({
|
|
|
154639
154615
|
onPackageHover,
|
|
154640
154616
|
onPackageHoverEnd
|
|
154641
154617
|
}) => {
|
|
154642
|
-
var _a, _b, _c, _d;
|
|
154618
|
+
var _a, _b, _c, _d, _e2;
|
|
154643
154619
|
const size = sizeOverride ?? calculateRepositorySize(repository.metrics);
|
|
154644
154620
|
const color2 = colorOverride ?? getRepositoryColor$1(repository);
|
|
154645
154621
|
const packages = transformPackages(repository.packages);
|
|
@@ -154652,6 +154628,7 @@ const RepoCard = ({
|
|
|
154652
154628
|
collaborators: (_c = repository.metrics) == null ? void 0 : _c.contributors,
|
|
154653
154629
|
license: (_d = repository.github) == null ? void 0 : _d.license,
|
|
154654
154630
|
label: repository.name,
|
|
154631
|
+
owner: (_e2 = repository.github) == null ? void 0 : _e2.owner,
|
|
154655
154632
|
variant,
|
|
154656
154633
|
cardTheme,
|
|
154657
154634
|
width,
|
|
@@ -154999,32 +154976,23 @@ function getRepositoryColor(repository) {
|
|
|
154999
154976
|
}
|
|
155000
154977
|
return hashStringToColor(repository.name);
|
|
155001
154978
|
}
|
|
155002
|
-
function formatNumber(num) {
|
|
155003
|
-
if (num < 1e3) return num.toString();
|
|
155004
|
-
if (num < 1e6) return `${(num / 1e3).toFixed(1)}k`;
|
|
155005
|
-
return `${(num / 1e6).toFixed(1)}M`;
|
|
155006
|
-
}
|
|
155007
|
-
const cardThemes = {
|
|
155008
|
-
blue: { bg: "#1e3a5f", border: "#3b82f6", text: "#93c5fd" },
|
|
155009
|
-
red: { bg: "#5f1e1e", border: "#ef4444", text: "#fca5a5" },
|
|
155010
|
-
green: { bg: "#1e5f3a", border: "#22c55e", text: "#86efac" },
|
|
155011
|
-
purple: { bg: "#3b1e5f", border: "#8b5cf6", text: "#c4b5fd" },
|
|
155012
|
-
gold: { bg: "#5f4a1e", border: "#f59e0b", text: "#fcd34d" },
|
|
155013
|
-
dark: { bg: "#1a1a2e", border: "#4a4a6a", text: "#a0a0c0" }
|
|
155014
|
-
};
|
|
155015
154979
|
const RepoCardStatic = ({
|
|
155016
154980
|
repository,
|
|
155017
|
-
|
|
154981
|
+
packages,
|
|
154982
|
+
cardTheme = "blue",
|
|
155018
154983
|
width = 200,
|
|
155019
154984
|
height = 280,
|
|
155020
|
-
spriteSize = 160
|
|
155021
|
-
showMetadata = true
|
|
154985
|
+
spriteSize = 160
|
|
155022
154986
|
}) => {
|
|
155023
|
-
var _a, _b, _c;
|
|
154987
|
+
var _a, _b, _c, _d;
|
|
155024
154988
|
const { theme: theme2 } = useTheme();
|
|
155025
154989
|
const [spriteDataUrl, setSpriteDataUrl] = useState(null);
|
|
155026
154990
|
const [isLoading, setIsLoading] = useState(true);
|
|
155027
|
-
const
|
|
154991
|
+
const colors = cardThemes[cardTheme];
|
|
154992
|
+
const license = (_a = repository.github) == null ? void 0 : _a.license;
|
|
154993
|
+
const licenseBorder = license ? licenseBorderColors[license] : null;
|
|
154994
|
+
const stars = (_b = repository.github) == null ? void 0 : _b.stars;
|
|
154995
|
+
const files = (_c = repository.metrics) == null ? void 0 : _c.fileCount;
|
|
155028
154996
|
const size = calculateRepositorySize(repository.metrics);
|
|
155029
154997
|
const color2 = getRepositoryColor(repository);
|
|
155030
154998
|
useEffect(() => {
|
|
@@ -155035,6 +155003,7 @@ const RepoCardStatic = ({
|
|
|
155035
155003
|
const dataUrl = await renderSpriteToDataUrlCached({
|
|
155036
155004
|
size,
|
|
155037
155005
|
color: color2,
|
|
155006
|
+
packages,
|
|
155038
155007
|
stars: (_a2 = repository.github) == null ? void 0 : _a2.stars,
|
|
155039
155008
|
collaborators: (_b2 = repository.metrics) == null ? void 0 : _b2.contributors,
|
|
155040
155009
|
license: (_c2 = repository.github) == null ? void 0 : _c2.license,
|
|
@@ -155057,131 +155026,291 @@ const RepoCardStatic = ({
|
|
|
155057
155026
|
return () => {
|
|
155058
155027
|
mounted = false;
|
|
155059
155028
|
};
|
|
155060
|
-
}, [size, color2, repository, spriteSize]);
|
|
155029
|
+
}, [size, color2, packages, repository, spriteSize]);
|
|
155061
155030
|
return /* @__PURE__ */ jsxs(
|
|
155062
155031
|
"div",
|
|
155063
155032
|
{
|
|
155064
155033
|
style: {
|
|
155065
|
-
|
|
155066
|
-
height,
|
|
155034
|
+
position: "relative",
|
|
155067
155035
|
display: "flex",
|
|
155068
155036
|
flexDirection: "column",
|
|
155069
|
-
backgroundColor:
|
|
155070
|
-
|
|
155071
|
-
|
|
155037
|
+
backgroundColor: colors.cardBg,
|
|
155038
|
+
padding: "28px 12px 12px 12px",
|
|
155039
|
+
border: `${licenseBorder ? "5px" : "3px"} solid ${licenseBorder || colors.cardBorder}`,
|
|
155040
|
+
width,
|
|
155041
|
+
height,
|
|
155042
|
+
boxSizing: "border-box",
|
|
155072
155043
|
overflow: "hidden",
|
|
155073
|
-
|
|
155044
|
+
boxShadow: licenseBorder ? `inset 0 0 0 2px ${licenseBorder}40, 0 0 8px ${licenseBorder}60` : `inset 0 0 0 2px ${colors.cardHighlight}`
|
|
155074
155045
|
},
|
|
155075
155046
|
children: [
|
|
155076
|
-
/* @__PURE__ */
|
|
155047
|
+
((_d = repository.github) == null ? void 0 : _d.owner) && /* @__PURE__ */ jsxs(
|
|
155048
|
+
"div",
|
|
155049
|
+
{
|
|
155050
|
+
style: {
|
|
155051
|
+
position: "absolute",
|
|
155052
|
+
top: "6px",
|
|
155053
|
+
left: "8px",
|
|
155054
|
+
display: "flex",
|
|
155055
|
+
alignItems: "center",
|
|
155056
|
+
gap: "6px",
|
|
155057
|
+
zIndex: 10
|
|
155058
|
+
},
|
|
155059
|
+
children: [
|
|
155060
|
+
/* @__PURE__ */ jsx(
|
|
155061
|
+
"img",
|
|
155062
|
+
{
|
|
155063
|
+
src: `https://github.com/${repository.github.owner}.png?size=40`,
|
|
155064
|
+
alt: repository.github.owner,
|
|
155065
|
+
style: {
|
|
155066
|
+
width: "18px",
|
|
155067
|
+
height: "18px",
|
|
155068
|
+
borderRadius: "50%",
|
|
155069
|
+
border: "1px solid rgba(255,255,255,0.3)"
|
|
155070
|
+
}
|
|
155071
|
+
}
|
|
155072
|
+
),
|
|
155073
|
+
/* @__PURE__ */ jsx(
|
|
155074
|
+
"span",
|
|
155075
|
+
{
|
|
155076
|
+
style: {
|
|
155077
|
+
fontSize: "12px",
|
|
155078
|
+
fontWeight: theme2.fontWeights.medium,
|
|
155079
|
+
color: "#e0e0e0",
|
|
155080
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
155081
|
+
fontFamily: theme2.fonts.body,
|
|
155082
|
+
maxWidth: "80px",
|
|
155083
|
+
overflow: "hidden",
|
|
155084
|
+
textOverflow: "ellipsis",
|
|
155085
|
+
whiteSpace: "nowrap"
|
|
155086
|
+
},
|
|
155087
|
+
children: repository.github.owner
|
|
155088
|
+
}
|
|
155089
|
+
)
|
|
155090
|
+
]
|
|
155091
|
+
}
|
|
155092
|
+
),
|
|
155093
|
+
stars !== void 0 && stars > 0 && /* @__PURE__ */ jsxs(
|
|
155094
|
+
"div",
|
|
155095
|
+
{
|
|
155096
|
+
style: {
|
|
155097
|
+
position: "absolute",
|
|
155098
|
+
top: "6px",
|
|
155099
|
+
right: "8px",
|
|
155100
|
+
display: "flex",
|
|
155101
|
+
alignItems: "center",
|
|
155102
|
+
gap: "4px",
|
|
155103
|
+
zIndex: 10
|
|
155104
|
+
},
|
|
155105
|
+
children: [
|
|
155106
|
+
/* @__PURE__ */ jsx(
|
|
155107
|
+
"span",
|
|
155108
|
+
{
|
|
155109
|
+
style: {
|
|
155110
|
+
fontSize: "10px",
|
|
155111
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155112
|
+
color: "#fbbf24",
|
|
155113
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)"
|
|
155114
|
+
},
|
|
155115
|
+
children: "★"
|
|
155116
|
+
}
|
|
155117
|
+
),
|
|
155118
|
+
/* @__PURE__ */ jsx(
|
|
155119
|
+
"span",
|
|
155120
|
+
{
|
|
155121
|
+
style: {
|
|
155122
|
+
fontSize: "16px",
|
|
155123
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155124
|
+
color: "#ffffff",
|
|
155125
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.5)",
|
|
155126
|
+
fontFamily: theme2.fonts.body
|
|
155127
|
+
},
|
|
155128
|
+
children: formatCount(stars)
|
|
155129
|
+
}
|
|
155130
|
+
)
|
|
155131
|
+
]
|
|
155132
|
+
}
|
|
155133
|
+
),
|
|
155134
|
+
/* @__PURE__ */ jsxs(
|
|
155077
155135
|
"div",
|
|
155078
155136
|
{
|
|
155079
155137
|
style: {
|
|
155080
155138
|
flex: 1,
|
|
155139
|
+
minHeight: 0,
|
|
155140
|
+
position: "relative",
|
|
155141
|
+
background: `linear-gradient(180deg, ${colors.windowGradient[0]} 0%, ${colors.windowGradient[1]} 100%)`,
|
|
155142
|
+
border: `2px solid ${colors.cardHighlight}`,
|
|
155143
|
+
boxShadow: "inset 0 2px 4px rgba(0,0,0,0.3)",
|
|
155144
|
+
overflow: "hidden",
|
|
155081
155145
|
display: "flex",
|
|
155082
155146
|
alignItems: "center",
|
|
155083
|
-
justifyContent: "center"
|
|
155084
|
-
padding: "8px",
|
|
155085
|
-
minHeight: spriteSize
|
|
155147
|
+
justifyContent: "center"
|
|
155086
155148
|
},
|
|
155087
|
-
children:
|
|
155088
|
-
|
|
155089
|
-
|
|
155090
|
-
|
|
155091
|
-
|
|
155092
|
-
|
|
155093
|
-
|
|
155094
|
-
|
|
155095
|
-
|
|
155149
|
+
children: [
|
|
155150
|
+
/* @__PURE__ */ jsx(
|
|
155151
|
+
"div",
|
|
155152
|
+
{
|
|
155153
|
+
style: {
|
|
155154
|
+
position: "absolute",
|
|
155155
|
+
inset: 0,
|
|
155156
|
+
pointerEvents: "none",
|
|
155157
|
+
backgroundImage: `
|
|
155158
|
+
radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4) 50%, transparent 50%),
|
|
155159
|
+
radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3) 50%, transparent 50%),
|
|
155160
|
+
radial-gradient(1px 1px at 40% 10%, rgba(255,255,255,0.35) 50%, transparent 50%),
|
|
155161
|
+
radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.25) 50%, transparent 50%),
|
|
155162
|
+
radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4) 50%, transparent 50%),
|
|
155163
|
+
radial-gradient(1px 1px at 85% 40%, rgba(255,255,255,0.3) 50%, transparent 50%),
|
|
155164
|
+
radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,0.35) 50%, transparent 50%),
|
|
155165
|
+
radial-gradient(1px 1px at 35% 70%, rgba(255,255,255,0.25) 50%, transparent 50%),
|
|
155166
|
+
radial-gradient(1px 1px at 50% 85%, rgba(255,255,255,0.4) 50%, transparent 50%),
|
|
155167
|
+
radial-gradient(1px 1px at 65% 60%, rgba(255,255,255,0.3) 50%, transparent 50%),
|
|
155168
|
+
radial-gradient(1px 1px at 80% 75%, rgba(255,255,255,0.35) 50%, transparent 50%),
|
|
155169
|
+
radial-gradient(1px 1px at 95% 90%, rgba(255,255,255,0.25) 50%, transparent 50%),
|
|
155170
|
+
radial-gradient(1.5px 1.5px at 20% 25%, rgba(255,255,255,0.5) 50%, transparent 50%),
|
|
155171
|
+
radial-gradient(1.5px 1.5px at 60% 30%, rgba(200,220,255,0.45) 50%, transparent 50%),
|
|
155172
|
+
radial-gradient(1.5px 1.5px at 45% 65%, rgba(255,255,255,0.5) 50%, transparent 50%),
|
|
155173
|
+
radial-gradient(1.5px 1.5px at 75% 80%, rgba(220,200,255,0.45) 50%, transparent 50%),
|
|
155174
|
+
radial-gradient(2px 2px at 30% 50%, rgba(255,255,255,0.6) 50%, transparent 50%),
|
|
155175
|
+
radial-gradient(2px 2px at 70% 55%, rgba(200,220,255,0.55) 50%, transparent 50%),
|
|
155176
|
+
radial-gradient(2px 2px at 90% 15%, rgba(255,255,255,0.6) 50%, transparent 50%)
|
|
155177
|
+
`,
|
|
155178
|
+
backgroundSize: "100% 100%"
|
|
155179
|
+
}
|
|
155096
155180
|
}
|
|
155097
|
-
|
|
155098
|
-
|
|
155099
|
-
|
|
155100
|
-
|
|
155101
|
-
|
|
155102
|
-
|
|
155103
|
-
|
|
155104
|
-
|
|
155105
|
-
|
|
155106
|
-
|
|
155181
|
+
),
|
|
155182
|
+
isLoading ? /* @__PURE__ */ jsx(
|
|
155183
|
+
"div",
|
|
155184
|
+
{
|
|
155185
|
+
style: {
|
|
155186
|
+
width: spriteSize * 0.5,
|
|
155187
|
+
height: spriteSize * 0.5,
|
|
155188
|
+
backgroundColor: `${colors.cardHighlight}40`,
|
|
155189
|
+
borderRadius: "8px",
|
|
155190
|
+
animation: "pulse 1.5s ease-in-out infinite"
|
|
155191
|
+
}
|
|
155107
155192
|
}
|
|
155108
|
-
|
|
155109
|
-
|
|
155110
|
-
|
|
155111
|
-
|
|
155112
|
-
|
|
155113
|
-
|
|
155114
|
-
|
|
155115
|
-
|
|
155116
|
-
|
|
155117
|
-
|
|
155193
|
+
) : spriteDataUrl ? /* @__PURE__ */ jsx(
|
|
155194
|
+
"img",
|
|
155195
|
+
{
|
|
155196
|
+
src: spriteDataUrl,
|
|
155197
|
+
alt: repository.name,
|
|
155198
|
+
style: {
|
|
155199
|
+
maxWidth: "100%",
|
|
155200
|
+
maxHeight: "100%",
|
|
155201
|
+
objectFit: "contain"
|
|
155202
|
+
}
|
|
155118
155203
|
}
|
|
155119
|
-
|
|
155120
|
-
|
|
155204
|
+
) : /* @__PURE__ */ jsx(
|
|
155205
|
+
"div",
|
|
155206
|
+
{
|
|
155207
|
+
style: {
|
|
155208
|
+
width: spriteSize * 0.5,
|
|
155209
|
+
height: spriteSize * 0.5,
|
|
155210
|
+
backgroundColor: `#${color2.toString(16).padStart(6, "0")}`,
|
|
155211
|
+
borderRadius: "8px",
|
|
155212
|
+
opacity: 0.5
|
|
155213
|
+
}
|
|
155214
|
+
}
|
|
155215
|
+
)
|
|
155216
|
+
]
|
|
155121
155217
|
}
|
|
155122
155218
|
),
|
|
155123
|
-
|
|
155219
|
+
/* @__PURE__ */ jsxs(
|
|
155124
155220
|
"div",
|
|
155125
155221
|
{
|
|
155126
155222
|
style: {
|
|
155127
|
-
|
|
155128
|
-
|
|
155129
|
-
|
|
155223
|
+
marginTop: "8px",
|
|
155224
|
+
padding: "8px",
|
|
155225
|
+
background: `linear-gradient(180deg, ${colors.panelGradient[0]} 0%, ${colors.panelGradient[1]} 100%)`,
|
|
155226
|
+
border: `1px solid ${colors.panelBorder}`,
|
|
155227
|
+
flexShrink: 0
|
|
155130
155228
|
},
|
|
155131
155229
|
children: [
|
|
155132
155230
|
/* @__PURE__ */ jsx(
|
|
155133
155231
|
"div",
|
|
155134
155232
|
{
|
|
155135
155233
|
style: {
|
|
155136
|
-
fontSize:
|
|
155137
|
-
fontWeight:
|
|
155138
|
-
color:
|
|
155139
|
-
marginBottom: "
|
|
155234
|
+
fontSize: theme2.fontSizes[2],
|
|
155235
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155236
|
+
color: "#ffffff",
|
|
155237
|
+
marginBottom: "6px",
|
|
155238
|
+
fontFamily: theme2.fonts.body,
|
|
155239
|
+
whiteSpace: "nowrap",
|
|
155140
155240
|
overflow: "hidden",
|
|
155141
155241
|
textOverflow: "ellipsis",
|
|
155142
|
-
|
|
155242
|
+
textShadow: "0 1px 2px rgba(0,0,0,0.3)",
|
|
155243
|
+
textAlign: "center"
|
|
155143
155244
|
},
|
|
155144
155245
|
title: repository.name,
|
|
155145
155246
|
children: repository.name
|
|
155146
155247
|
}
|
|
155147
155248
|
),
|
|
155148
|
-
/* @__PURE__ */
|
|
155249
|
+
/* @__PURE__ */ jsx(
|
|
155149
155250
|
"div",
|
|
155150
155251
|
{
|
|
155151
155252
|
style: {
|
|
155152
155253
|
display: "flex",
|
|
155153
|
-
|
|
155154
|
-
|
|
155155
|
-
|
|
155254
|
+
justifyContent: "center",
|
|
155255
|
+
flexWrap: "wrap",
|
|
155256
|
+
gap: "10px",
|
|
155257
|
+
fontSize: theme2.fontSizes[1],
|
|
155258
|
+
color: "#e0e0e0",
|
|
155259
|
+
fontFamily: theme2.fonts.body
|
|
155156
155260
|
},
|
|
155157
|
-
children: [
|
|
155158
|
-
(
|
|
155159
|
-
"
|
|
155261
|
+
children: files !== void 0 && files > 0 && /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
155262
|
+
/* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 16 16", fill: "#94a3b8", children: /* @__PURE__ */ jsx(
|
|
155263
|
+
"path",
|
|
155160
155264
|
{
|
|
155161
|
-
|
|
155162
|
-
|
|
155163
|
-
|
|
155164
|
-
|
|
155165
|
-
]
|
|
155265
|
+
d: "M3 1h7l3 3v11H3V1zm7 0v3h3M5 8h6M5 11h6",
|
|
155266
|
+
stroke: "#94a3b8",
|
|
155267
|
+
strokeWidth: "1",
|
|
155268
|
+
fill: "none"
|
|
155166
155269
|
}
|
|
155167
|
-
),
|
|
155168
|
-
(
|
|
155270
|
+
) }),
|
|
155271
|
+
formatCount(files)
|
|
155272
|
+
] })
|
|
155273
|
+
}
|
|
155274
|
+
),
|
|
155275
|
+
packages && packages.length > 1 && /* @__PURE__ */ jsxs(
|
|
155276
|
+
"div",
|
|
155277
|
+
{
|
|
155278
|
+
style: {
|
|
155279
|
+
marginTop: "6px",
|
|
155280
|
+
display: "flex",
|
|
155281
|
+
flexWrap: "wrap",
|
|
155282
|
+
justifyContent: "center",
|
|
155283
|
+
gap: "4px"
|
|
155284
|
+
},
|
|
155285
|
+
children: [
|
|
155286
|
+
packages.slice(0, 6).map((pkg, i2) => /* @__PURE__ */ jsx(
|
|
155169
155287
|
"span",
|
|
155170
155288
|
{
|
|
155171
|
-
style: {
|
|
155172
|
-
|
|
155173
|
-
|
|
155174
|
-
|
|
155175
|
-
|
|
155176
|
-
|
|
155177
|
-
|
|
155178
|
-
|
|
155289
|
+
style: {
|
|
155290
|
+
fontSize: theme2.fontSizes[0],
|
|
155291
|
+
color: "#e0e0e0",
|
|
155292
|
+
backgroundColor: "rgba(0,0,0,0.2)",
|
|
155293
|
+
padding: "2px 6px",
|
|
155294
|
+
borderRadius: "3px",
|
|
155295
|
+
fontFamily: theme2.fonts.body,
|
|
155296
|
+
borderLeft: `2px solid ${typeof pkg.color === "string" ? pkg.color : `#${(pkg.color || 8947848).toString(16).padStart(6, "0")}`}`
|
|
155297
|
+
},
|
|
155298
|
+
children: pkg.name
|
|
155299
|
+
},
|
|
155300
|
+
i2
|
|
155301
|
+
)),
|
|
155302
|
+
packages.length > 6 && /* @__PURE__ */ jsxs(
|
|
155179
155303
|
"span",
|
|
155180
155304
|
{
|
|
155181
|
-
style: {
|
|
155305
|
+
style: {
|
|
155306
|
+
fontSize: theme2.fontSizes[0],
|
|
155307
|
+
color: "#a0a0a0",
|
|
155308
|
+
fontFamily: theme2.fonts.body
|
|
155309
|
+
},
|
|
155182
155310
|
children: [
|
|
155183
|
-
|
|
155184
|
-
|
|
155311
|
+
"+",
|
|
155312
|
+
packages.length - 6,
|
|
155313
|
+
" more"
|
|
155185
155314
|
]
|
|
155186
155315
|
}
|
|
155187
155316
|
)
|
|
@@ -155190,6 +155319,24 @@ const RepoCardStatic = ({
|
|
|
155190
155319
|
)
|
|
155191
155320
|
]
|
|
155192
155321
|
}
|
|
155322
|
+
),
|
|
155323
|
+
license && /* @__PURE__ */ jsx(
|
|
155324
|
+
"div",
|
|
155325
|
+
{
|
|
155326
|
+
style: {
|
|
155327
|
+
position: "absolute",
|
|
155328
|
+
bottom: "-3px",
|
|
155329
|
+
right: "-3px",
|
|
155330
|
+
backgroundColor: licenseBorder || colors.cardHighlight,
|
|
155331
|
+
padding: "3px 10px",
|
|
155332
|
+
borderRadius: "3px 0 0 0",
|
|
155333
|
+
fontSize: theme2.fontSizes[0],
|
|
155334
|
+
fontWeight: theme2.fontWeights.bold,
|
|
155335
|
+
color: "#ffffff",
|
|
155336
|
+
textShadow: "0 1px 1px rgba(0,0,0,0.3)"
|
|
155337
|
+
},
|
|
155338
|
+
children: license
|
|
155339
|
+
}
|
|
155193
155340
|
)
|
|
155194
155341
|
]
|
|
155195
155342
|
}
|
|
@@ -155365,4 +155512,4 @@ export {
|
|
|
155365
155512
|
RepoCardStatic as y,
|
|
155366
155513
|
renderSpriteToDataUrl as z
|
|
155367
155514
|
};
|
|
155368
|
-
//# sourceMappingURL=index-
|
|
155515
|
+
//# sourceMappingURL=index-Du-HFyPY.js.map
|