@industry-theme/github-panels 0.1.48 → 0.1.49
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitHubMessagesPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubMessagesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GitHubMessagesPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubMessagesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAqB3D,OAAO,KAAK,EAAE,mBAAmB,EAAqB,MAAM,UAAU,CAAC;AAyjCvE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAE7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;CAQvC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { StoryObj } from '@storybook/react-vite';
|
|
3
2
|
/**
|
|
4
3
|
* GitHubMessagesPanel displays conversation threads for GitHub issues and PRs.
|
|
@@ -6,7 +5,7 @@ import type { StoryObj } from '@storybook/react-vite';
|
|
|
6
5
|
*/
|
|
7
6
|
declare const meta: {
|
|
8
7
|
title: string;
|
|
9
|
-
component:
|
|
8
|
+
component: import("react").FC<import("@principal-ade/panel-framework-core").PanelComponentProps>;
|
|
10
9
|
parameters: {
|
|
11
10
|
layout: string;
|
|
12
11
|
docs: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitHubMessagesPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubMessagesPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"GitHubMessagesPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubMessagesPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAyc5D;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAsCkC,CAAC;AAE7C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAMrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAM/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAY9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAM/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAsB/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAuBxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAa3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -130,7 +130,7 @@ const createLucideIcon = (iconName, iconNode) => {
|
|
|
130
130
|
* This source code is licensed under the ISC license.
|
|
131
131
|
* See the LICENSE file in the root directory of this source tree.
|
|
132
132
|
*/
|
|
133
|
-
const __iconNode$
|
|
133
|
+
const __iconNode$D = [
|
|
134
134
|
["path", { d: "M12 7v14", key: "1akyts" }],
|
|
135
135
|
[
|
|
136
136
|
"path",
|
|
@@ -140,14 +140,14 @@ const __iconNode$E = [
|
|
|
140
140
|
}
|
|
141
141
|
]
|
|
142
142
|
];
|
|
143
|
-
const BookOpen = createLucideIcon("book-open", __iconNode$
|
|
143
|
+
const BookOpen = createLucideIcon("book-open", __iconNode$D);
|
|
144
144
|
/**
|
|
145
145
|
* @license lucide-react v0.552.0 - ISC
|
|
146
146
|
*
|
|
147
147
|
* This source code is licensed under the ISC license.
|
|
148
148
|
* See the LICENSE file in the root directory of this source tree.
|
|
149
149
|
*/
|
|
150
|
-
const __iconNode$
|
|
150
|
+
const __iconNode$C = [
|
|
151
151
|
["path", { d: "M10 12h4", key: "a56b0p" }],
|
|
152
152
|
["path", { d: "M10 8h4", key: "1sr2af" }],
|
|
153
153
|
["path", { d: "M14 21v-3a2 2 0 0 0-4 0v3", key: "1rgiei" }],
|
|
@@ -160,97 +160,97 @@ const __iconNode$D = [
|
|
|
160
160
|
],
|
|
161
161
|
["path", { d: "M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16", key: "16ra0t" }]
|
|
162
162
|
];
|
|
163
|
-
const Building2 = createLucideIcon("building-2", __iconNode$
|
|
163
|
+
const Building2 = createLucideIcon("building-2", __iconNode$C);
|
|
164
164
|
/**
|
|
165
165
|
* @license lucide-react v0.552.0 - ISC
|
|
166
166
|
*
|
|
167
167
|
* This source code is licensed under the ISC license.
|
|
168
168
|
* See the LICENSE file in the root directory of this source tree.
|
|
169
169
|
*/
|
|
170
|
-
const __iconNode$
|
|
170
|
+
const __iconNode$B = [
|
|
171
171
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
172
172
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
173
173
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
174
174
|
["path", { d: "M3 10h18", key: "8toen8" }]
|
|
175
175
|
];
|
|
176
|
-
const Calendar = createLucideIcon("calendar", __iconNode$
|
|
176
|
+
const Calendar = createLucideIcon("calendar", __iconNode$B);
|
|
177
177
|
/**
|
|
178
178
|
* @license lucide-react v0.552.0 - ISC
|
|
179
179
|
*
|
|
180
180
|
* This source code is licensed under the ISC license.
|
|
181
181
|
* See the LICENSE file in the root directory of this source tree.
|
|
182
182
|
*/
|
|
183
|
-
const __iconNode$
|
|
184
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
183
|
+
const __iconNode$A = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
184
|
+
const Check = createLucideIcon("check", __iconNode$A);
|
|
185
185
|
/**
|
|
186
186
|
* @license lucide-react v0.552.0 - ISC
|
|
187
187
|
*
|
|
188
188
|
* This source code is licensed under the ISC license.
|
|
189
189
|
* See the LICENSE file in the root directory of this source tree.
|
|
190
190
|
*/
|
|
191
|
-
const __iconNode$
|
|
192
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
191
|
+
const __iconNode$z = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
192
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$z);
|
|
193
193
|
/**
|
|
194
194
|
* @license lucide-react v0.552.0 - ISC
|
|
195
195
|
*
|
|
196
196
|
* This source code is licensed under the ISC license.
|
|
197
197
|
* See the LICENSE file in the root directory of this source tree.
|
|
198
198
|
*/
|
|
199
|
-
const __iconNode$
|
|
200
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
199
|
+
const __iconNode$y = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
200
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$y);
|
|
201
201
|
/**
|
|
202
202
|
* @license lucide-react v0.552.0 - ISC
|
|
203
203
|
*
|
|
204
204
|
* This source code is licensed under the ISC license.
|
|
205
205
|
* See the LICENSE file in the root directory of this source tree.
|
|
206
206
|
*/
|
|
207
|
-
const __iconNode$
|
|
207
|
+
const __iconNode$x = [
|
|
208
208
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
209
209
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
210
210
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
211
211
|
];
|
|
212
|
-
const CircleAlert = createLucideIcon("circle-alert", __iconNode$
|
|
212
|
+
const CircleAlert = createLucideIcon("circle-alert", __iconNode$x);
|
|
213
213
|
/**
|
|
214
214
|
* @license lucide-react v0.552.0 - ISC
|
|
215
215
|
*
|
|
216
216
|
* This source code is licensed under the ISC license.
|
|
217
217
|
* See the LICENSE file in the root directory of this source tree.
|
|
218
218
|
*/
|
|
219
|
-
const __iconNode$
|
|
219
|
+
const __iconNode$w = [
|
|
220
220
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
221
221
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }]
|
|
222
222
|
];
|
|
223
|
-
const CircleDot = createLucideIcon("circle-dot", __iconNode$
|
|
223
|
+
const CircleDot = createLucideIcon("circle-dot", __iconNode$w);
|
|
224
224
|
/**
|
|
225
225
|
* @license lucide-react v0.552.0 - ISC
|
|
226
226
|
*
|
|
227
227
|
* This source code is licensed under the ISC license.
|
|
228
228
|
* See the LICENSE file in the root directory of this source tree.
|
|
229
229
|
*/
|
|
230
|
-
const __iconNode$
|
|
230
|
+
const __iconNode$v = [
|
|
231
231
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
232
232
|
["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" }]
|
|
233
233
|
];
|
|
234
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
234
|
+
const Copy = createLucideIcon("copy", __iconNode$v);
|
|
235
235
|
/**
|
|
236
236
|
* @license lucide-react v0.552.0 - ISC
|
|
237
237
|
*
|
|
238
238
|
* This source code is licensed under the ISC license.
|
|
239
239
|
* See the LICENSE file in the root directory of this source tree.
|
|
240
240
|
*/
|
|
241
|
-
const __iconNode$
|
|
241
|
+
const __iconNode$u = [
|
|
242
242
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
243
243
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
244
244
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
245
245
|
];
|
|
246
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
246
|
+
const Download = createLucideIcon("download", __iconNode$u);
|
|
247
247
|
/**
|
|
248
248
|
* @license lucide-react v0.552.0 - ISC
|
|
249
249
|
*
|
|
250
250
|
* This source code is licensed under the ISC license.
|
|
251
251
|
* See the LICENSE file in the root directory of this source tree.
|
|
252
252
|
*/
|
|
253
|
-
const __iconNode$
|
|
253
|
+
const __iconNode$t = [
|
|
254
254
|
["path", { d: "m15 15 6 6", key: "1s409w" }],
|
|
255
255
|
["path", { d: "m15 9 6-6", key: "ko1vev" }],
|
|
256
256
|
["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
|
|
@@ -260,26 +260,26 @@ const __iconNode$u = [
|
|
|
260
260
|
["path", { d: "M3 8V3h5", key: "1ln10m" }],
|
|
261
261
|
["path", { d: "M9 9 3 3", key: "v551iv" }]
|
|
262
262
|
];
|
|
263
|
-
const Expand = createLucideIcon("expand", __iconNode$
|
|
263
|
+
const Expand = createLucideIcon("expand", __iconNode$t);
|
|
264
264
|
/**
|
|
265
265
|
* @license lucide-react v0.552.0 - ISC
|
|
266
266
|
*
|
|
267
267
|
* This source code is licensed under the ISC license.
|
|
268
268
|
* See the LICENSE file in the root directory of this source tree.
|
|
269
269
|
*/
|
|
270
|
-
const __iconNode$
|
|
270
|
+
const __iconNode$s = [
|
|
271
271
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
272
272
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
273
273
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
274
274
|
];
|
|
275
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode$
|
|
275
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$s);
|
|
276
276
|
/**
|
|
277
277
|
* @license lucide-react v0.552.0 - ISC
|
|
278
278
|
*
|
|
279
279
|
* This source code is licensed under the ISC license.
|
|
280
280
|
* See the LICENSE file in the root directory of this source tree.
|
|
281
281
|
*/
|
|
282
|
-
const __iconNode$
|
|
282
|
+
const __iconNode$r = [
|
|
283
283
|
[
|
|
284
284
|
"path",
|
|
285
285
|
{
|
|
@@ -289,14 +289,14 @@ const __iconNode$s = [
|
|
|
289
289
|
],
|
|
290
290
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
291
291
|
];
|
|
292
|
-
const Eye = createLucideIcon("eye", __iconNode$
|
|
292
|
+
const Eye = createLucideIcon("eye", __iconNode$r);
|
|
293
293
|
/**
|
|
294
294
|
* @license lucide-react v0.552.0 - ISC
|
|
295
295
|
*
|
|
296
296
|
* This source code is licensed under the ISC license.
|
|
297
297
|
* See the LICENSE file in the root directory of this source tree.
|
|
298
298
|
*/
|
|
299
|
-
const __iconNode$
|
|
299
|
+
const __iconNode$q = [
|
|
300
300
|
[
|
|
301
301
|
"path",
|
|
302
302
|
{
|
|
@@ -309,14 +309,14 @@ const __iconNode$r = [
|
|
|
309
309
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
310
310
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
311
311
|
];
|
|
312
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
312
|
+
const FileText = createLucideIcon("file-text", __iconNode$q);
|
|
313
313
|
/**
|
|
314
314
|
* @license lucide-react v0.552.0 - ISC
|
|
315
315
|
*
|
|
316
316
|
* This source code is licensed under the ISC license.
|
|
317
317
|
* See the LICENSE file in the root directory of this source tree.
|
|
318
318
|
*/
|
|
319
|
-
const __iconNode$
|
|
319
|
+
const __iconNode$p = [
|
|
320
320
|
[
|
|
321
321
|
"path",
|
|
322
322
|
{
|
|
@@ -325,14 +325,14 @@ const __iconNode$q = [
|
|
|
325
325
|
}
|
|
326
326
|
]
|
|
327
327
|
];
|
|
328
|
-
const FolderOpen = createLucideIcon("folder-open", __iconNode$
|
|
328
|
+
const FolderOpen = createLucideIcon("folder-open", __iconNode$p);
|
|
329
329
|
/**
|
|
330
330
|
* @license lucide-react v0.552.0 - ISC
|
|
331
331
|
*
|
|
332
332
|
* This source code is licensed under the ISC license.
|
|
333
333
|
* See the LICENSE file in the root directory of this source tree.
|
|
334
334
|
*/
|
|
335
|
-
const __iconNode$
|
|
335
|
+
const __iconNode$o = [
|
|
336
336
|
["path", { d: "M12 10v6", key: "1bos4e" }],
|
|
337
337
|
["path", { d: "M9 13h6", key: "1uhe8q" }],
|
|
338
338
|
[
|
|
@@ -343,14 +343,14 @@ const __iconNode$p = [
|
|
|
343
343
|
}
|
|
344
344
|
]
|
|
345
345
|
];
|
|
346
|
-
const FolderPlus = createLucideIcon("folder-plus", __iconNode$
|
|
346
|
+
const FolderPlus = createLucideIcon("folder-plus", __iconNode$o);
|
|
347
347
|
/**
|
|
348
348
|
* @license lucide-react v0.552.0 - ISC
|
|
349
349
|
*
|
|
350
350
|
* This source code is licensed under the ISC license.
|
|
351
351
|
* See the LICENSE file in the root directory of this source tree.
|
|
352
352
|
*/
|
|
353
|
-
const __iconNode$
|
|
353
|
+
const __iconNode$n = [
|
|
354
354
|
[
|
|
355
355
|
"path",
|
|
356
356
|
{
|
|
@@ -359,45 +359,33 @@ const __iconNode$o = [
|
|
|
359
359
|
}
|
|
360
360
|
]
|
|
361
361
|
];
|
|
362
|
-
const Folder = createLucideIcon("folder", __iconNode$
|
|
362
|
+
const Folder = createLucideIcon("folder", __iconNode$n);
|
|
363
363
|
/**
|
|
364
364
|
* @license lucide-react v0.552.0 - ISC
|
|
365
365
|
*
|
|
366
366
|
* This source code is licensed under the ISC license.
|
|
367
367
|
* See the LICENSE file in the root directory of this source tree.
|
|
368
368
|
*/
|
|
369
|
-
const __iconNode$
|
|
369
|
+
const __iconNode$m = [
|
|
370
370
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }],
|
|
371
371
|
["line", { x1: "3", x2: "9", y1: "12", y2: "12", key: "1dyftd" }],
|
|
372
372
|
["line", { x1: "15", x2: "21", y1: "12", y2: "12", key: "oup4p8" }]
|
|
373
373
|
];
|
|
374
|
-
const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$
|
|
374
|
+
const GitCommitHorizontal = createLucideIcon("git-commit-horizontal", __iconNode$m);
|
|
375
375
|
/**
|
|
376
376
|
* @license lucide-react v0.552.0 - ISC
|
|
377
377
|
*
|
|
378
378
|
* This source code is licensed under the ISC license.
|
|
379
379
|
* See the LICENSE file in the root directory of this source tree.
|
|
380
380
|
*/
|
|
381
|
-
const __iconNode$
|
|
381
|
+
const __iconNode$l = [
|
|
382
382
|
["circle", { cx: "12", cy: "18", r: "3", key: "1mpf1b" }],
|
|
383
383
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
384
384
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
385
385
|
["path", { d: "M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9", key: "1uq4wg" }],
|
|
386
386
|
["path", { d: "M12 12v3", key: "158kv8" }]
|
|
387
387
|
];
|
|
388
|
-
const GitFork = createLucideIcon("git-fork", __iconNode$
|
|
389
|
-
/**
|
|
390
|
-
* @license lucide-react v0.552.0 - ISC
|
|
391
|
-
*
|
|
392
|
-
* This source code is licensed under the ISC license.
|
|
393
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
394
|
-
*/
|
|
395
|
-
const __iconNode$l = [
|
|
396
|
-
["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
|
|
397
|
-
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
398
|
-
["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
|
|
399
|
-
];
|
|
400
|
-
const GitMerge = createLucideIcon("git-merge", __iconNode$l);
|
|
388
|
+
const GitFork = createLucideIcon("git-fork", __iconNode$l);
|
|
401
389
|
/**
|
|
402
390
|
* @license lucide-react v0.552.0 - ISC
|
|
403
391
|
*
|
|
@@ -407,10 +395,9 @@ const GitMerge = createLucideIcon("git-merge", __iconNode$l);
|
|
|
407
395
|
const __iconNode$k = [
|
|
408
396
|
["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
|
|
409
397
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
410
|
-
["path", { d: "
|
|
411
|
-
["line", { x1: "6", x2: "6", y1: "9", y2: "21", key: "rroup" }]
|
|
398
|
+
["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
|
|
412
399
|
];
|
|
413
|
-
const
|
|
400
|
+
const GitMerge = createLucideIcon("git-merge", __iconNode$k);
|
|
414
401
|
/**
|
|
415
402
|
* @license lucide-react v0.552.0 - ISC
|
|
416
403
|
*
|
|
@@ -49021,7 +49008,7 @@ const ReactionsDisplay = ({ reactions }) => {
|
|
|
49021
49008
|
},
|
|
49022
49009
|
children: [
|
|
49023
49010
|
/* @__PURE__ */ jsx("span", { children: emoji }),
|
|
49024
|
-
/* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textSecondary }, children: count })
|
|
49011
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, color: theme2.colors.textSecondary }, children: count })
|
|
49025
49012
|
]
|
|
49026
49013
|
},
|
|
49027
49014
|
emoji
|
|
@@ -49068,6 +49055,7 @@ const CommentEvent = ({ event }) => {
|
|
|
49068
49055
|
"span",
|
|
49069
49056
|
{
|
|
49070
49057
|
style: {
|
|
49058
|
+
fontFamily: theme2.fonts.body,
|
|
49071
49059
|
color: theme2.colors.textMuted,
|
|
49072
49060
|
fontSize: theme2.fontSizes[0]
|
|
49073
49061
|
},
|
|
@@ -49085,6 +49073,7 @@ const CommentEvent = ({ event }) => {
|
|
|
49085
49073
|
borderRadius: "4px",
|
|
49086
49074
|
backgroundColor: theme2.colors.backgroundSecondary,
|
|
49087
49075
|
border: `1px solid ${theme2.colors.border}`,
|
|
49076
|
+
fontFamily: theme2.fonts.body,
|
|
49088
49077
|
fontSize: theme2.fontSizes[0],
|
|
49089
49078
|
color: theme2.colors.textSecondary,
|
|
49090
49079
|
textTransform: "uppercase"
|
|
@@ -49185,6 +49174,7 @@ const ReviewEvent = ({ event }) => {
|
|
|
49185
49174
|
"span",
|
|
49186
49175
|
{
|
|
49187
49176
|
style: {
|
|
49177
|
+
fontFamily: theme2.fonts.body,
|
|
49188
49178
|
color: config.color,
|
|
49189
49179
|
fontWeight: 500,
|
|
49190
49180
|
fontSize: theme2.fontSizes[1]
|
|
@@ -49196,6 +49186,7 @@ const ReviewEvent = ({ event }) => {
|
|
|
49196
49186
|
"span",
|
|
49197
49187
|
{
|
|
49198
49188
|
style: {
|
|
49189
|
+
fontFamily: theme2.fonts.body,
|
|
49199
49190
|
color: theme2.colors.textMuted,
|
|
49200
49191
|
fontSize: theme2.fontSizes[0]
|
|
49201
49192
|
},
|
|
@@ -49334,6 +49325,7 @@ const CommitEvent = ({ event }) => {
|
|
|
49334
49325
|
{
|
|
49335
49326
|
style: {
|
|
49336
49327
|
marginTop: "4px",
|
|
49328
|
+
fontFamily: theme2.fonts.body,
|
|
49337
49329
|
fontSize: theme2.fontSizes[0],
|
|
49338
49330
|
color: theme2.colors.textMuted
|
|
49339
49331
|
},
|
|
@@ -49346,6 +49338,7 @@ const CommitEvent = ({ event }) => {
|
|
|
49346
49338
|
{
|
|
49347
49339
|
style: {
|
|
49348
49340
|
marginLeft: "8px",
|
|
49341
|
+
fontFamily: theme2.fonts.body,
|
|
49349
49342
|
color: theme2.colors.success || "#22c55e"
|
|
49350
49343
|
},
|
|
49351
49344
|
children: [
|
|
@@ -49373,6 +49366,7 @@ const SimpleEvent = ({ icon, actor, action, timestamp }) => {
|
|
|
49373
49366
|
gap: "12px",
|
|
49374
49367
|
padding: "8px 16px",
|
|
49375
49368
|
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
49369
|
+
fontFamily: theme2.fonts.body,
|
|
49376
49370
|
fontSize: theme2.fontSizes[0],
|
|
49377
49371
|
color: theme2.colors.textSecondary
|
|
49378
49372
|
},
|
|
@@ -49389,9 +49383,9 @@ const SimpleEvent = ({ icon, actor, action, timestamp }) => {
|
|
|
49389
49383
|
}
|
|
49390
49384
|
),
|
|
49391
49385
|
/* @__PURE__ */ jsx(Avatar, { user: actor, size: 20 }),
|
|
49392
|
-
/* @__PURE__ */ jsx("span", { style: { fontWeight: 500, color: theme2.colors.text }, children: actor.login }),
|
|
49386
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, fontWeight: 500, color: theme2.colors.text }, children: actor.login }),
|
|
49393
49387
|
action,
|
|
49394
|
-
/* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textMuted, marginLeft: "auto" }, children: formatDate(timestamp) })
|
|
49388
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, color: theme2.colors.textMuted, marginLeft: "auto" }, children: formatDate(timestamp) })
|
|
49395
49389
|
]
|
|
49396
49390
|
}
|
|
49397
49391
|
);
|
|
@@ -49405,7 +49399,7 @@ const LabelEvent = ({ event }) => {
|
|
|
49405
49399
|
icon: /* @__PURE__ */ jsx(Tag, { size: 14, style: { color: theme2.colors.textMuted } }),
|
|
49406
49400
|
actor: event.actor,
|
|
49407
49401
|
action: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
49408
|
-
/* @__PURE__ */ jsx("span", { children: isLabeled ? "added" : "removed" }),
|
|
49402
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body }, children: isLabeled ? "added" : "removed" }),
|
|
49409
49403
|
/* @__PURE__ */ jsx(
|
|
49410
49404
|
"span",
|
|
49411
49405
|
{
|
|
@@ -49414,6 +49408,7 @@ const LabelEvent = ({ event }) => {
|
|
|
49414
49408
|
borderRadius: "12px",
|
|
49415
49409
|
backgroundColor: `#${event.label.color}`,
|
|
49416
49410
|
color: parseInt(event.label.color, 16) > 8388607 ? "#000" : "#fff",
|
|
49411
|
+
fontFamily: theme2.fonts.body,
|
|
49417
49412
|
fontSize: "11px",
|
|
49418
49413
|
fontWeight: 500
|
|
49419
49414
|
},
|
|
@@ -49434,8 +49429,8 @@ const AssignEvent = ({ event }) => {
|
|
|
49434
49429
|
icon: isAssigned ? /* @__PURE__ */ jsx(UserPlus, { size: 14, style: { color: theme2.colors.textMuted } }) : /* @__PURE__ */ jsx(UserMinus, { size: 14, style: { color: theme2.colors.textMuted } }),
|
|
49435
49430
|
actor: event.actor,
|
|
49436
49431
|
action: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
49437
|
-
/* @__PURE__ */ jsx("span", { children: isAssigned ? "assigned" : "unassigned" }),
|
|
49438
|
-
/* @__PURE__ */ jsx("span", { style: { fontWeight: 500, color: theme2.colors.text }, children: event.assignee.login })
|
|
49432
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body }, children: isAssigned ? "assigned" : "unassigned" }),
|
|
49433
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, fontWeight: 500, color: theme2.colors.text }, children: event.assignee.login })
|
|
49439
49434
|
] }),
|
|
49440
49435
|
timestamp: event.created_at
|
|
49441
49436
|
}
|
|
@@ -49452,8 +49447,8 @@ const ReviewRequestEvent = ({ event }) => {
|
|
|
49452
49447
|
icon: /* @__PURE__ */ jsx(Eye, { size: 14, style: { color: theme2.colors.textMuted } }),
|
|
49453
49448
|
actor: event.review_requester,
|
|
49454
49449
|
action: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
49455
|
-
/* @__PURE__ */ jsx("span", { children: isRequested ? "requested review from" : "removed review request from" }),
|
|
49456
|
-
/* @__PURE__ */ jsx("span", { style: { fontWeight: 500, color: theme2.colors.text }, children: reviewer })
|
|
49450
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body }, children: isRequested ? "requested review from" : "removed review request from" }),
|
|
49451
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, fontWeight: 500, color: theme2.colors.text }, children: reviewer })
|
|
49457
49452
|
] }),
|
|
49458
49453
|
timestamp: event.created_at
|
|
49459
49454
|
}
|
|
@@ -49467,8 +49462,8 @@ const MergeEvent = ({ event }) => {
|
|
|
49467
49462
|
icon: /* @__PURE__ */ jsx(GitMerge, { size: 14, style: { color: theme2.colors.success || "#22c55e" } }),
|
|
49468
49463
|
actor: event.actor,
|
|
49469
49464
|
action: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
49470
|
-
/* @__PURE__ */ jsx("span", { style: { color: theme2.colors.success || "#22c55e", fontWeight: 500 }, children: "merged" }),
|
|
49471
|
-
/* @__PURE__ */ jsx("span", { children: "commit" }),
|
|
49465
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body, color: theme2.colors.success || "#22c55e", fontWeight: 500 }, children: "merged" }),
|
|
49466
|
+
/* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body }, children: "commit" }),
|
|
49472
49467
|
/* @__PURE__ */ jsx(
|
|
49473
49468
|
"code",
|
|
49474
49469
|
{
|
|
@@ -49499,6 +49494,7 @@ const StateEvent = ({ event }) => {
|
|
|
49499
49494
|
"span",
|
|
49500
49495
|
{
|
|
49501
49496
|
style: {
|
|
49497
|
+
fontFamily: theme2.fonts.body,
|
|
49502
49498
|
color: isClosed ? theme2.colors.error || "#ef4444" : theme2.colors.success || "#22c55e",
|
|
49503
49499
|
fontWeight: 500
|
|
49504
49500
|
},
|
|
@@ -49521,7 +49517,7 @@ const RefEvent = ({ event }) => {
|
|
|
49521
49517
|
{
|
|
49522
49518
|
icon: /* @__PURE__ */ jsx(Rocket, { size: 14, style: { color: theme2.colors.textMuted } }),
|
|
49523
49519
|
actor: event.actor,
|
|
49524
|
-
action: /* @__PURE__ */ jsx("span", { children: labels[event.event] || event.event }),
|
|
49520
|
+
action: /* @__PURE__ */ jsx("span", { style: { fontFamily: theme2.fonts.body }, children: labels[event.event] || event.event }),
|
|
49525
49521
|
timestamp: event.created_at
|
|
49526
49522
|
}
|
|
49527
49523
|
);
|
|
@@ -49555,6 +49551,7 @@ const InlineReviewComment = ({ comment: comment2 }) => {
|
|
|
49555
49551
|
"span",
|
|
49556
49552
|
{
|
|
49557
49553
|
style: {
|
|
49554
|
+
fontFamily: theme2.fonts.body,
|
|
49558
49555
|
fontWeight: 600,
|
|
49559
49556
|
color: theme2.colors.text,
|
|
49560
49557
|
fontSize: theme2.fontSizes[0]
|
|
@@ -49566,6 +49563,7 @@ const InlineReviewComment = ({ comment: comment2 }) => {
|
|
|
49566
49563
|
"span",
|
|
49567
49564
|
{
|
|
49568
49565
|
style: {
|
|
49566
|
+
fontFamily: theme2.fonts.body,
|
|
49569
49567
|
color: theme2.colors.textMuted,
|
|
49570
49568
|
fontSize: theme2.fontSizes[0]
|
|
49571
49569
|
},
|
|
@@ -49586,7 +49584,7 @@ const InlineReviewComment = ({ comment: comment2 }) => {
|
|
|
49586
49584
|
children: comment2.path
|
|
49587
49585
|
}
|
|
49588
49586
|
),
|
|
49589
|
-
comment2.line && /* @__PURE__ */ jsxs("span", { style: { fontSize: theme2.fontSizes[0], color: theme2.colors.textSecondary }, children: [
|
|
49587
|
+
comment2.line && /* @__PURE__ */ jsxs("span", { style: { fontFamily: theme2.fonts.body, fontSize: theme2.fontSizes[0], color: theme2.colors.textSecondary }, children: [
|
|
49590
49588
|
"line ",
|
|
49591
49589
|
comment2.line
|
|
49592
49590
|
] })
|
|
@@ -49734,6 +49732,7 @@ const GitHubMessagesPanelContent = ({ context, events }) => {
|
|
|
49734
49732
|
display: "flex",
|
|
49735
49733
|
alignItems: "center",
|
|
49736
49734
|
justifyContent: "center",
|
|
49735
|
+
fontFamily: theme2.fonts.body,
|
|
49737
49736
|
color: theme2.colors.textSecondary
|
|
49738
49737
|
},
|
|
49739
49738
|
children: "Loading conversation..."
|
|
@@ -49800,6 +49799,7 @@ const GitHubMessagesPanelContent = ({ context, events }) => {
|
|
|
49800
49799
|
alignItems: "center",
|
|
49801
49800
|
justifyContent: "center",
|
|
49802
49801
|
gap: "8px",
|
|
49802
|
+
fontFamily: theme2.fonts.body,
|
|
49803
49803
|
color: theme2.colors.error || "#ef4444"
|
|
49804
49804
|
},
|
|
49805
49805
|
children: [
|
|
@@ -49810,30 +49810,6 @@ const GitHubMessagesPanelContent = ({ context, events }) => {
|
|
|
49810
49810
|
) });
|
|
49811
49811
|
}
|
|
49812
49812
|
const { target, timeline, reviewComments } = messagesData;
|
|
49813
|
-
const isPR = target.type === "pull_request";
|
|
49814
|
-
const getStatusConfig = () => {
|
|
49815
|
-
if (isPR && target.merged) {
|
|
49816
|
-
return {
|
|
49817
|
-
icon: /* @__PURE__ */ jsx(GitMerge, { size: 14 }),
|
|
49818
|
-
color: "#a855f7",
|
|
49819
|
-
// purple for merged
|
|
49820
|
-
label: "Merged"
|
|
49821
|
-
};
|
|
49822
|
-
}
|
|
49823
|
-
if (target.state === "open") {
|
|
49824
|
-
return {
|
|
49825
|
-
icon: isPR ? /* @__PURE__ */ jsx(GitPullRequest, { size: 14 }) : /* @__PURE__ */ jsx(CircleDot, { size: 14 }),
|
|
49826
|
-
color: theme2.colors.success || "#22c55e",
|
|
49827
|
-
label: target.draft ? "Draft" : "Open"
|
|
49828
|
-
};
|
|
49829
|
-
}
|
|
49830
|
-
return {
|
|
49831
|
-
icon: /* @__PURE__ */ jsx(CircleDot, { size: 14 }),
|
|
49832
|
-
color: theme2.colors.error || "#ef4444",
|
|
49833
|
-
label: "Closed"
|
|
49834
|
-
};
|
|
49835
|
-
};
|
|
49836
|
-
const statusConfig = getStatusConfig();
|
|
49837
49813
|
return /* @__PURE__ */ jsxs("div", { ref: panelRef, tabIndex: -1, style: containerStyle, children: [
|
|
49838
49814
|
/* @__PURE__ */ jsxs(
|
|
49839
49815
|
"div",
|
|
@@ -49850,45 +49826,6 @@ const GitHubMessagesPanelContent = ({ context, events }) => {
|
|
|
49850
49826
|
boxSizing: "border-box"
|
|
49851
49827
|
},
|
|
49852
49828
|
children: [
|
|
49853
|
-
/* @__PURE__ */ jsxs(
|
|
49854
|
-
"span",
|
|
49855
|
-
{
|
|
49856
|
-
style: {
|
|
49857
|
-
display: "inline-flex",
|
|
49858
|
-
alignItems: "center",
|
|
49859
|
-
gap: "6px",
|
|
49860
|
-
fontFamily: theme2.fonts.monospace,
|
|
49861
|
-
fontSize: theme2.fontSizes[0],
|
|
49862
|
-
color: theme2.colors.textSecondary
|
|
49863
|
-
},
|
|
49864
|
-
children: [
|
|
49865
|
-
isPR ? /* @__PURE__ */ jsx(GitPullRequest, { size: 14 }) : /* @__PURE__ */ jsx(CircleDot, { size: 14 }),
|
|
49866
|
-
"#",
|
|
49867
|
-
target.number
|
|
49868
|
-
]
|
|
49869
|
-
}
|
|
49870
|
-
),
|
|
49871
|
-
/* @__PURE__ */ jsxs(
|
|
49872
|
-
"span",
|
|
49873
|
-
{
|
|
49874
|
-
style: {
|
|
49875
|
-
display: "inline-flex",
|
|
49876
|
-
alignItems: "center",
|
|
49877
|
-
gap: "6px",
|
|
49878
|
-
padding: "4px 10px",
|
|
49879
|
-
borderRadius: "999px",
|
|
49880
|
-
backgroundColor: `${statusConfig.color}20`,
|
|
49881
|
-
color: statusConfig.color,
|
|
49882
|
-
fontFamily: theme2.fonts.heading,
|
|
49883
|
-
fontSize: theme2.fontSizes[0],
|
|
49884
|
-
fontWeight: 600
|
|
49885
|
-
},
|
|
49886
|
-
children: [
|
|
49887
|
-
statusConfig.icon,
|
|
49888
|
-
statusConfig.label
|
|
49889
|
-
]
|
|
49890
|
-
}
|
|
49891
|
-
),
|
|
49892
49829
|
/* @__PURE__ */ jsx(
|
|
49893
49830
|
"span",
|
|
49894
49831
|
{
|
|
@@ -49897,28 +49834,13 @@ const GitHubMessagesPanelContent = ({ context, events }) => {
|
|
|
49897
49834
|
overflow: "hidden",
|
|
49898
49835
|
textOverflow: "ellipsis",
|
|
49899
49836
|
whiteSpace: "nowrap",
|
|
49837
|
+
fontFamily: theme2.fonts.heading,
|
|
49900
49838
|
color: theme2.colors.text,
|
|
49901
49839
|
fontSize: theme2.fontSizes[1]
|
|
49902
49840
|
},
|
|
49903
49841
|
children: target.title
|
|
49904
49842
|
}
|
|
49905
49843
|
),
|
|
49906
|
-
/* @__PURE__ */ jsxs(
|
|
49907
|
-
"span",
|
|
49908
|
-
{
|
|
49909
|
-
style: {
|
|
49910
|
-
display: "inline-flex",
|
|
49911
|
-
alignItems: "center",
|
|
49912
|
-
gap: "4px",
|
|
49913
|
-
color: theme2.colors.textSecondary,
|
|
49914
|
-
fontSize: theme2.fontSizes[0]
|
|
49915
|
-
},
|
|
49916
|
-
children: [
|
|
49917
|
-
/* @__PURE__ */ jsx(MessageSquare, { size: 12 }),
|
|
49918
|
-
timeline.filter((e) => e.event === "commented" || e.event === "reviewed").length
|
|
49919
|
-
]
|
|
49920
|
-
}
|
|
49921
|
-
),
|
|
49922
49844
|
/* @__PURE__ */ jsx(
|
|
49923
49845
|
"a",
|
|
49924
49846
|
{
|
|
@@ -49974,6 +49896,7 @@ const GitHubMessagesPanelContent = ({ context, events }) => {
|
|
|
49974
49896
|
padding: "12px 16px",
|
|
49975
49897
|
backgroundColor: theme2.colors.backgroundSecondary,
|
|
49976
49898
|
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
49899
|
+
fontFamily: theme2.fonts.heading,
|
|
49977
49900
|
fontWeight: 600,
|
|
49978
49901
|
fontSize: theme2.fontSizes[0],
|
|
49979
49902
|
color: theme2.colors.textSecondary,
|