@partrunner-ai/ui 2.2.5 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +767 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +174 -1
- package/dist/index.d.ts +174 -1
- package/dist/index.js +762 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/light.css +574 -0
- package/styles/theme.css +574 -0
- package/styles/ui.css +574 -0
package/styles/ui.css
CHANGED
|
@@ -4242,3 +4242,577 @@ button.pr-stepper__dot:focus-visible {
|
|
|
4242
4242
|
padding-top: 8px;
|
|
4243
4243
|
border-top: 1px solid var(--pr-border);
|
|
4244
4244
|
}
|
|
4245
|
+
|
|
4246
|
+
/* ───────────────────────── CommentThread ───────────────────────── */
|
|
4247
|
+
|
|
4248
|
+
.pr-comments {
|
|
4249
|
+
position: relative;
|
|
4250
|
+
display: flex;
|
|
4251
|
+
flex-direction: column;
|
|
4252
|
+
min-height: 0;
|
|
4253
|
+
height: 100%;
|
|
4254
|
+
border: 1px solid var(--pr-border);
|
|
4255
|
+
border-radius: var(--pr-radius-md, 0.75rem);
|
|
4256
|
+
background: var(--pr-surface);
|
|
4257
|
+
color: var(--pr-fg);
|
|
4258
|
+
font-family: var(--pr-font-body, inherit);
|
|
4259
|
+
font-size: 14px;
|
|
4260
|
+
overflow: hidden;
|
|
4261
|
+
}
|
|
4262
|
+
.pr-comments--dragging::after {
|
|
4263
|
+
content: 'Suelta los archivos para adjuntarlos';
|
|
4264
|
+
position: absolute;
|
|
4265
|
+
inset: 0;
|
|
4266
|
+
display: grid;
|
|
4267
|
+
place-items: center;
|
|
4268
|
+
border: 2px dashed var(--pr-accent-strong);
|
|
4269
|
+
border-radius: inherit;
|
|
4270
|
+
background: color-mix(in srgb, var(--pr-surface) 85%, transparent);
|
|
4271
|
+
color: var(--pr-fg);
|
|
4272
|
+
font-weight: 600;
|
|
4273
|
+
pointer-events: none;
|
|
4274
|
+
}
|
|
4275
|
+
.pr-comments__header {
|
|
4276
|
+
display: flex;
|
|
4277
|
+
flex-wrap: wrap;
|
|
4278
|
+
align-items: center;
|
|
4279
|
+
justify-content: space-between;
|
|
4280
|
+
gap: 8px;
|
|
4281
|
+
padding: 12px 16px;
|
|
4282
|
+
border-bottom: 1px solid var(--pr-border);
|
|
4283
|
+
}
|
|
4284
|
+
.pr-comments__title {
|
|
4285
|
+
margin: 0;
|
|
4286
|
+
font-size: 15px;
|
|
4287
|
+
font-weight: 700;
|
|
4288
|
+
}
|
|
4289
|
+
.pr-comments__follow {
|
|
4290
|
+
display: inline-flex;
|
|
4291
|
+
padding: 2px;
|
|
4292
|
+
border: 1px solid var(--pr-border);
|
|
4293
|
+
border-radius: 999px;
|
|
4294
|
+
background: var(--pr-bg);
|
|
4295
|
+
}
|
|
4296
|
+
.pr-comments__follow-option {
|
|
4297
|
+
display: inline-flex;
|
|
4298
|
+
align-items: center;
|
|
4299
|
+
gap: 4px;
|
|
4300
|
+
padding: 4px 10px;
|
|
4301
|
+
border: 0;
|
|
4302
|
+
border-radius: 999px;
|
|
4303
|
+
background: transparent;
|
|
4304
|
+
color: var(--pr-fg-muted);
|
|
4305
|
+
font: inherit;
|
|
4306
|
+
font-size: 12px;
|
|
4307
|
+
cursor: pointer;
|
|
4308
|
+
}
|
|
4309
|
+
.pr-comments__follow-option--active {
|
|
4310
|
+
background: var(--pr-elevated);
|
|
4311
|
+
color: var(--pr-fg);
|
|
4312
|
+
box-shadow: var(--pr-shadow-sm);
|
|
4313
|
+
}
|
|
4314
|
+
.pr-comments__follow-option:focus-visible,
|
|
4315
|
+
.pr-comments__link:focus-visible,
|
|
4316
|
+
.pr-comments__quote:focus-visible,
|
|
4317
|
+
.pr-comments__reaction:focus-visible,
|
|
4318
|
+
.pr-comments__picker-item:focus-visible,
|
|
4319
|
+
.pr-comments__image:focus-visible,
|
|
4320
|
+
.pr-comments__file:focus-visible {
|
|
4321
|
+
outline: none;
|
|
4322
|
+
box-shadow: var(--pr-focus-ring);
|
|
4323
|
+
}
|
|
4324
|
+
.pr-comments__list {
|
|
4325
|
+
flex: 1 1 auto;
|
|
4326
|
+
min-height: 160px;
|
|
4327
|
+
overflow-y: auto;
|
|
4328
|
+
padding: 12px 16px;
|
|
4329
|
+
overscroll-behavior: contain;
|
|
4330
|
+
}
|
|
4331
|
+
.pr-comments__messages {
|
|
4332
|
+
display: flex;
|
|
4333
|
+
flex-direction: column;
|
|
4334
|
+
gap: 10px;
|
|
4335
|
+
margin: 0;
|
|
4336
|
+
padding: 0;
|
|
4337
|
+
list-style: none;
|
|
4338
|
+
}
|
|
4339
|
+
.pr-comments__older {
|
|
4340
|
+
display: flex;
|
|
4341
|
+
justify-content: center;
|
|
4342
|
+
padding-bottom: 8px;
|
|
4343
|
+
}
|
|
4344
|
+
.pr-comments__empty {
|
|
4345
|
+
display: grid;
|
|
4346
|
+
place-items: center;
|
|
4347
|
+
min-height: 120px;
|
|
4348
|
+
margin: 0;
|
|
4349
|
+
color: var(--pr-fg-muted);
|
|
4350
|
+
text-align: center;
|
|
4351
|
+
}
|
|
4352
|
+
.pr-comments__day,
|
|
4353
|
+
.pr-comments__unread {
|
|
4354
|
+
display: flex;
|
|
4355
|
+
align-items: center;
|
|
4356
|
+
gap: 8px;
|
|
4357
|
+
color: var(--pr-fg-faint);
|
|
4358
|
+
font-size: 12px;
|
|
4359
|
+
}
|
|
4360
|
+
.pr-comments__day::before,
|
|
4361
|
+
.pr-comments__day::after,
|
|
4362
|
+
.pr-comments__unread::before,
|
|
4363
|
+
.pr-comments__unread::after {
|
|
4364
|
+
content: '';
|
|
4365
|
+
flex: 1;
|
|
4366
|
+
height: 1px;
|
|
4367
|
+
background: var(--pr-border);
|
|
4368
|
+
}
|
|
4369
|
+
.pr-comments__unread {
|
|
4370
|
+
color: var(--pr-accent-strong);
|
|
4371
|
+
font-weight: 600;
|
|
4372
|
+
}
|
|
4373
|
+
.pr-comments__unread::before,
|
|
4374
|
+
.pr-comments__unread::after {
|
|
4375
|
+
background: var(--pr-accent-strong);
|
|
4376
|
+
}
|
|
4377
|
+
.pr-comments__row {
|
|
4378
|
+
position: relative;
|
|
4379
|
+
display: flex;
|
|
4380
|
+
align-items: flex-start;
|
|
4381
|
+
gap: 8px;
|
|
4382
|
+
max-width: 100%;
|
|
4383
|
+
border-radius: var(--pr-radius-sm, 0.5rem);
|
|
4384
|
+
transition: background-color 400ms var(--pr-ease, ease);
|
|
4385
|
+
}
|
|
4386
|
+
.pr-comments__row--own {
|
|
4387
|
+
flex-direction: row-reverse;
|
|
4388
|
+
}
|
|
4389
|
+
.pr-comments__row--highlight {
|
|
4390
|
+
background: var(--pr-tone-yellow-bg);
|
|
4391
|
+
}
|
|
4392
|
+
.pr-comments__avatar {
|
|
4393
|
+
flex: none;
|
|
4394
|
+
padding-top: 2px;
|
|
4395
|
+
}
|
|
4396
|
+
.pr-comments__agent-avatar {
|
|
4397
|
+
display: inline-grid;
|
|
4398
|
+
place-items: center;
|
|
4399
|
+
width: 24px;
|
|
4400
|
+
height: 24px;
|
|
4401
|
+
border-radius: 999px;
|
|
4402
|
+
background: var(--pr-tone-purple-bg);
|
|
4403
|
+
color: var(--pr-tone-purple-fg);
|
|
4404
|
+
}
|
|
4405
|
+
.pr-comments__bubble-wrap {
|
|
4406
|
+
display: flex;
|
|
4407
|
+
flex-direction: column;
|
|
4408
|
+
gap: 4px;
|
|
4409
|
+
min-width: 0;
|
|
4410
|
+
max-width: min(78%, 560px);
|
|
4411
|
+
}
|
|
4412
|
+
.pr-comments__row--own .pr-comments__bubble-wrap {
|
|
4413
|
+
align-items: flex-end;
|
|
4414
|
+
}
|
|
4415
|
+
.pr-comments__bubble {
|
|
4416
|
+
min-width: 0;
|
|
4417
|
+
padding: 8px 12px;
|
|
4418
|
+
border: 1px solid var(--pr-border);
|
|
4419
|
+
border-radius: 14px;
|
|
4420
|
+
border-top-left-radius: 4px;
|
|
4421
|
+
background: var(--pr-elevated);
|
|
4422
|
+
}
|
|
4423
|
+
.pr-comments__row--own .pr-comments__bubble {
|
|
4424
|
+
border-color: transparent;
|
|
4425
|
+
border-top-left-radius: 14px;
|
|
4426
|
+
border-top-right-radius: 4px;
|
|
4427
|
+
background: var(--pr-tone-yellow-bg);
|
|
4428
|
+
}
|
|
4429
|
+
.pr-comments__bubble--agent {
|
|
4430
|
+
border-color: var(--pr-tone-purple-bg);
|
|
4431
|
+
}
|
|
4432
|
+
.pr-comments__meta {
|
|
4433
|
+
display: flex;
|
|
4434
|
+
flex-wrap: wrap;
|
|
4435
|
+
align-items: baseline;
|
|
4436
|
+
gap: 6px;
|
|
4437
|
+
margin-bottom: 2px;
|
|
4438
|
+
font-size: 12px;
|
|
4439
|
+
}
|
|
4440
|
+
.pr-comments__author {
|
|
4441
|
+
font-weight: 700;
|
|
4442
|
+
}
|
|
4443
|
+
.pr-comments__badge {
|
|
4444
|
+
padding: 0 6px;
|
|
4445
|
+
border-radius: 999px;
|
|
4446
|
+
background: var(--pr-tone-purple-bg);
|
|
4447
|
+
color: var(--pr-tone-purple-fg);
|
|
4448
|
+
font-size: 11px;
|
|
4449
|
+
font-weight: 700;
|
|
4450
|
+
}
|
|
4451
|
+
.pr-comments__time,
|
|
4452
|
+
.pr-comments__edited {
|
|
4453
|
+
color: var(--pr-fg-faint);
|
|
4454
|
+
}
|
|
4455
|
+
.pr-comments__text {
|
|
4456
|
+
margin: 0;
|
|
4457
|
+
white-space: pre-wrap;
|
|
4458
|
+
overflow-wrap: anywhere;
|
|
4459
|
+
line-height: 1.45;
|
|
4460
|
+
}
|
|
4461
|
+
.pr-comments__text--deleted,
|
|
4462
|
+
.pr-comments__failed {
|
|
4463
|
+
margin: 0;
|
|
4464
|
+
color: var(--pr-fg-muted);
|
|
4465
|
+
font-style: italic;
|
|
4466
|
+
}
|
|
4467
|
+
.pr-comments__mention {
|
|
4468
|
+
padding: 0 3px;
|
|
4469
|
+
border-radius: 4px;
|
|
4470
|
+
background: var(--pr-tone-blue-bg);
|
|
4471
|
+
color: var(--pr-tone-blue-fg);
|
|
4472
|
+
font-weight: 600;
|
|
4473
|
+
}
|
|
4474
|
+
.pr-comments__mention--agent {
|
|
4475
|
+
background: var(--pr-tone-purple-bg);
|
|
4476
|
+
color: var(--pr-tone-purple-fg);
|
|
4477
|
+
}
|
|
4478
|
+
.pr-comments__quote {
|
|
4479
|
+
display: flex;
|
|
4480
|
+
flex-direction: column;
|
|
4481
|
+
gap: 1px;
|
|
4482
|
+
width: 100%;
|
|
4483
|
+
margin: 2px 0 6px;
|
|
4484
|
+
padding: 4px 8px;
|
|
4485
|
+
border: 0;
|
|
4486
|
+
border-left: 3px solid var(--pr-accent-strong);
|
|
4487
|
+
border-radius: 6px;
|
|
4488
|
+
background: color-mix(in srgb, var(--pr-fg) 6%, transparent);
|
|
4489
|
+
color: inherit;
|
|
4490
|
+
font: inherit;
|
|
4491
|
+
text-align: left;
|
|
4492
|
+
cursor: pointer;
|
|
4493
|
+
}
|
|
4494
|
+
.pr-comments__quote-author {
|
|
4495
|
+
font-size: 12px;
|
|
4496
|
+
font-weight: 700;
|
|
4497
|
+
}
|
|
4498
|
+
.pr-comments__quote-text {
|
|
4499
|
+
overflow: hidden;
|
|
4500
|
+
color: var(--pr-fg-muted);
|
|
4501
|
+
font-size: 12px;
|
|
4502
|
+
white-space: nowrap;
|
|
4503
|
+
text-overflow: ellipsis;
|
|
4504
|
+
}
|
|
4505
|
+
.pr-comments__attachments {
|
|
4506
|
+
display: flex;
|
|
4507
|
+
flex-direction: column;
|
|
4508
|
+
gap: 6px;
|
|
4509
|
+
margin-top: 6px;
|
|
4510
|
+
}
|
|
4511
|
+
.pr-comments__images {
|
|
4512
|
+
display: flex;
|
|
4513
|
+
flex-wrap: wrap;
|
|
4514
|
+
gap: 6px;
|
|
4515
|
+
}
|
|
4516
|
+
.pr-comments__image {
|
|
4517
|
+
display: block;
|
|
4518
|
+
overflow: hidden;
|
|
4519
|
+
border-radius: 8px;
|
|
4520
|
+
background: var(--pr-bg);
|
|
4521
|
+
}
|
|
4522
|
+
.pr-comments__image img {
|
|
4523
|
+
display: block;
|
|
4524
|
+
width: auto;
|
|
4525
|
+
max-width: 240px;
|
|
4526
|
+
height: auto;
|
|
4527
|
+
max-height: 200px;
|
|
4528
|
+
object-fit: cover;
|
|
4529
|
+
}
|
|
4530
|
+
.pr-comments__file {
|
|
4531
|
+
display: flex;
|
|
4532
|
+
align-items: center;
|
|
4533
|
+
gap: 6px;
|
|
4534
|
+
padding: 6px 8px;
|
|
4535
|
+
border: 1px solid var(--pr-border);
|
|
4536
|
+
border-radius: 8px;
|
|
4537
|
+
background: var(--pr-surface);
|
|
4538
|
+
color: var(--pr-fg);
|
|
4539
|
+
text-decoration: none;
|
|
4540
|
+
}
|
|
4541
|
+
.pr-comments__file-name {
|
|
4542
|
+
min-width: 0;
|
|
4543
|
+
overflow: hidden;
|
|
4544
|
+
white-space: nowrap;
|
|
4545
|
+
text-overflow: ellipsis;
|
|
4546
|
+
}
|
|
4547
|
+
.pr-comments__file-size {
|
|
4548
|
+
flex: none;
|
|
4549
|
+
color: var(--pr-fg-faint);
|
|
4550
|
+
font-size: 12px;
|
|
4551
|
+
}
|
|
4552
|
+
.pr-comments__reactions {
|
|
4553
|
+
display: flex;
|
|
4554
|
+
flex-wrap: wrap;
|
|
4555
|
+
gap: 4px;
|
|
4556
|
+
}
|
|
4557
|
+
.pr-comments__reaction {
|
|
4558
|
+
display: inline-flex;
|
|
4559
|
+
align-items: center;
|
|
4560
|
+
gap: 4px;
|
|
4561
|
+
min-height: 26px;
|
|
4562
|
+
padding: 0 8px;
|
|
4563
|
+
border: 1px solid var(--pr-border);
|
|
4564
|
+
border-radius: 999px;
|
|
4565
|
+
background: var(--pr-surface);
|
|
4566
|
+
color: var(--pr-fg);
|
|
4567
|
+
font: inherit;
|
|
4568
|
+
font-size: 13px;
|
|
4569
|
+
cursor: pointer;
|
|
4570
|
+
}
|
|
4571
|
+
.pr-comments__reaction--mine {
|
|
4572
|
+
border-color: var(--pr-accent-strong);
|
|
4573
|
+
background: var(--pr-tone-yellow-bg);
|
|
4574
|
+
}
|
|
4575
|
+
.pr-comments__reaction:disabled {
|
|
4576
|
+
cursor: default;
|
|
4577
|
+
}
|
|
4578
|
+
.pr-comments__reaction-count {
|
|
4579
|
+
font-variant-numeric: tabular-nums;
|
|
4580
|
+
font-size: 12px;
|
|
4581
|
+
}
|
|
4582
|
+
.pr-comments__picker {
|
|
4583
|
+
display: flex;
|
|
4584
|
+
flex-wrap: wrap;
|
|
4585
|
+
gap: 2px;
|
|
4586
|
+
padding: 4px;
|
|
4587
|
+
border: 1px solid var(--pr-border);
|
|
4588
|
+
border-radius: 999px;
|
|
4589
|
+
background: var(--pr-elevated);
|
|
4590
|
+
box-shadow: var(--pr-shadow-sm);
|
|
4591
|
+
}
|
|
4592
|
+
.pr-comments__picker-item {
|
|
4593
|
+
width: 32px;
|
|
4594
|
+
height: 32px;
|
|
4595
|
+
border: 0;
|
|
4596
|
+
border-radius: 999px;
|
|
4597
|
+
background: transparent;
|
|
4598
|
+
font-size: 18px;
|
|
4599
|
+
cursor: pointer;
|
|
4600
|
+
}
|
|
4601
|
+
.pr-comments__picker-item:hover {
|
|
4602
|
+
background: var(--pr-bg);
|
|
4603
|
+
}
|
|
4604
|
+
.pr-comments__actions {
|
|
4605
|
+
display: flex;
|
|
4606
|
+
align-self: center;
|
|
4607
|
+
gap: 2px;
|
|
4608
|
+
opacity: 0;
|
|
4609
|
+
transition: opacity 120ms var(--pr-ease, ease);
|
|
4610
|
+
}
|
|
4611
|
+
.pr-comments__row:hover .pr-comments__actions,
|
|
4612
|
+
.pr-comments__row:focus-within .pr-comments__actions {
|
|
4613
|
+
opacity: 1;
|
|
4614
|
+
}
|
|
4615
|
+
@media (hover: none) {
|
|
4616
|
+
.pr-comments__actions {
|
|
4617
|
+
opacity: 1;
|
|
4618
|
+
}
|
|
4619
|
+
}
|
|
4620
|
+
.pr-comments__confirm {
|
|
4621
|
+
display: flex;
|
|
4622
|
+
align-items: center;
|
|
4623
|
+
gap: 10px;
|
|
4624
|
+
font-size: 13px;
|
|
4625
|
+
}
|
|
4626
|
+
.pr-comments__link {
|
|
4627
|
+
padding: 2px 4px;
|
|
4628
|
+
border: 0;
|
|
4629
|
+
border-radius: 4px;
|
|
4630
|
+
background: transparent;
|
|
4631
|
+
color: var(--pr-fg-muted);
|
|
4632
|
+
font: inherit;
|
|
4633
|
+
font-size: 13px;
|
|
4634
|
+
cursor: pointer;
|
|
4635
|
+
}
|
|
4636
|
+
.pr-comments__link:hover:not(:disabled) {
|
|
4637
|
+
color: var(--pr-fg);
|
|
4638
|
+
text-decoration: underline;
|
|
4639
|
+
}
|
|
4640
|
+
.pr-comments__link--strong {
|
|
4641
|
+
color: var(--pr-fg);
|
|
4642
|
+
font-weight: 700;
|
|
4643
|
+
}
|
|
4644
|
+
.pr-comments__link--danger {
|
|
4645
|
+
color: var(--pr-danger);
|
|
4646
|
+
font-weight: 700;
|
|
4647
|
+
}
|
|
4648
|
+
.pr-comments__edit {
|
|
4649
|
+
display: flex;
|
|
4650
|
+
flex-direction: column;
|
|
4651
|
+
gap: 4px;
|
|
4652
|
+
min-width: min(320px, 60vw);
|
|
4653
|
+
}
|
|
4654
|
+
.pr-comments__edit-input,
|
|
4655
|
+
.pr-comments__input {
|
|
4656
|
+
width: 100%;
|
|
4657
|
+
padding: 8px 10px;
|
|
4658
|
+
border: 1px solid var(--pr-border);
|
|
4659
|
+
border-radius: var(--pr-radius-sm, 0.5rem);
|
|
4660
|
+
background: var(--pr-bg);
|
|
4661
|
+
color: var(--pr-fg);
|
|
4662
|
+
font: inherit;
|
|
4663
|
+
line-height: 1.4;
|
|
4664
|
+
resize: none;
|
|
4665
|
+
}
|
|
4666
|
+
.pr-comments__edit-input:focus,
|
|
4667
|
+
.pr-comments__input:focus {
|
|
4668
|
+
outline: none;
|
|
4669
|
+
border-color: var(--pr-accent-strong);
|
|
4670
|
+
box-shadow: var(--pr-focus-ring);
|
|
4671
|
+
}
|
|
4672
|
+
.pr-comments__edit-actions {
|
|
4673
|
+
display: flex;
|
|
4674
|
+
justify-content: flex-end;
|
|
4675
|
+
gap: 8px;
|
|
4676
|
+
}
|
|
4677
|
+
.pr-comments__typing {
|
|
4678
|
+
display: inline-flex;
|
|
4679
|
+
gap: 3px;
|
|
4680
|
+
padding: 4px 0;
|
|
4681
|
+
}
|
|
4682
|
+
.pr-comments__typing span {
|
|
4683
|
+
width: 6px;
|
|
4684
|
+
height: 6px;
|
|
4685
|
+
border-radius: 999px;
|
|
4686
|
+
background: var(--pr-fg-faint);
|
|
4687
|
+
animation: pr-comments-typing 1.2s infinite ease-in-out;
|
|
4688
|
+
}
|
|
4689
|
+
.pr-comments__typing span:nth-child(2) {
|
|
4690
|
+
animation-delay: 0.15s;
|
|
4691
|
+
}
|
|
4692
|
+
.pr-comments__typing span:nth-child(3) {
|
|
4693
|
+
animation-delay: 0.3s;
|
|
4694
|
+
}
|
|
4695
|
+
@keyframes pr-comments-typing {
|
|
4696
|
+
0%,
|
|
4697
|
+
80%,
|
|
4698
|
+
100% {
|
|
4699
|
+
opacity: 0.3;
|
|
4700
|
+
transform: translateY(0);
|
|
4701
|
+
}
|
|
4702
|
+
40% {
|
|
4703
|
+
opacity: 1;
|
|
4704
|
+
transform: translateY(-2px);
|
|
4705
|
+
}
|
|
4706
|
+
}
|
|
4707
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4708
|
+
.pr-comments__typing span {
|
|
4709
|
+
animation: none;
|
|
4710
|
+
}
|
|
4711
|
+
}
|
|
4712
|
+
.pr-comments__error {
|
|
4713
|
+
margin: 0;
|
|
4714
|
+
padding: 6px 16px;
|
|
4715
|
+
color: var(--pr-danger);
|
|
4716
|
+
font-size: 13px;
|
|
4717
|
+
}
|
|
4718
|
+
.pr-comments__readonly {
|
|
4719
|
+
margin: 0;
|
|
4720
|
+
padding: 12px 16px;
|
|
4721
|
+
border-top: 1px solid var(--pr-border);
|
|
4722
|
+
color: var(--pr-fg-muted);
|
|
4723
|
+
font-size: 13px;
|
|
4724
|
+
}
|
|
4725
|
+
.pr-comments__composer {
|
|
4726
|
+
display: flex;
|
|
4727
|
+
flex-direction: column;
|
|
4728
|
+
gap: 6px;
|
|
4729
|
+
padding: 10px 12px 12px;
|
|
4730
|
+
border-top: 1px solid var(--pr-border);
|
|
4731
|
+
}
|
|
4732
|
+
.pr-comments__replying {
|
|
4733
|
+
display: flex;
|
|
4734
|
+
align-items: center;
|
|
4735
|
+
gap: 8px;
|
|
4736
|
+
padding: 4px 4px 4px 10px;
|
|
4737
|
+
border-left: 3px solid var(--pr-accent-strong);
|
|
4738
|
+
border-radius: 6px;
|
|
4739
|
+
background: var(--pr-bg);
|
|
4740
|
+
}
|
|
4741
|
+
.pr-comments__replying-text {
|
|
4742
|
+
display: flex;
|
|
4743
|
+
flex: 1;
|
|
4744
|
+
flex-direction: column;
|
|
4745
|
+
min-width: 0;
|
|
4746
|
+
}
|
|
4747
|
+
.pr-comments__pending {
|
|
4748
|
+
display: flex;
|
|
4749
|
+
flex-wrap: wrap;
|
|
4750
|
+
gap: 6px;
|
|
4751
|
+
margin: 0;
|
|
4752
|
+
padding: 0;
|
|
4753
|
+
list-style: none;
|
|
4754
|
+
}
|
|
4755
|
+
.pr-comments__pending-file {
|
|
4756
|
+
display: inline-flex;
|
|
4757
|
+
align-items: center;
|
|
4758
|
+
gap: 6px;
|
|
4759
|
+
max-width: 260px;
|
|
4760
|
+
padding: 2px 2px 2px 8px;
|
|
4761
|
+
border: 1px solid var(--pr-border);
|
|
4762
|
+
border-radius: 999px;
|
|
4763
|
+
background: var(--pr-bg);
|
|
4764
|
+
font-size: 12px;
|
|
4765
|
+
}
|
|
4766
|
+
.pr-comments__pending-file--error {
|
|
4767
|
+
border-color: var(--pr-danger);
|
|
4768
|
+
color: var(--pr-danger);
|
|
4769
|
+
}
|
|
4770
|
+
.pr-comments__input-row {
|
|
4771
|
+
display: flex;
|
|
4772
|
+
align-items: flex-end;
|
|
4773
|
+
gap: 6px;
|
|
4774
|
+
}
|
|
4775
|
+
.pr-comments__input-wrap {
|
|
4776
|
+
position: relative;
|
|
4777
|
+
flex: 1;
|
|
4778
|
+
min-width: 0;
|
|
4779
|
+
}
|
|
4780
|
+
.pr-comments__suggestions {
|
|
4781
|
+
position: absolute;
|
|
4782
|
+
right: 0;
|
|
4783
|
+
bottom: calc(100% + 6px);
|
|
4784
|
+
left: 0;
|
|
4785
|
+
z-index: 20;
|
|
4786
|
+
max-height: 260px;
|
|
4787
|
+
margin: 0;
|
|
4788
|
+
padding: 4px;
|
|
4789
|
+
overflow-y: auto;
|
|
4790
|
+
border: 1px solid var(--pr-border);
|
|
4791
|
+
border-radius: var(--pr-radius-sm, 0.5rem);
|
|
4792
|
+
background: var(--pr-elevated);
|
|
4793
|
+
box-shadow: var(--pr-shadow-elevated, var(--pr-shadow-sm));
|
|
4794
|
+
list-style: none;
|
|
4795
|
+
}
|
|
4796
|
+
.pr-comments__suggestion {
|
|
4797
|
+
display: flex;
|
|
4798
|
+
align-items: center;
|
|
4799
|
+
gap: 8px;
|
|
4800
|
+
padding: 6px 8px;
|
|
4801
|
+
border-radius: 6px;
|
|
4802
|
+
cursor: pointer;
|
|
4803
|
+
}
|
|
4804
|
+
.pr-comments__suggestion--active {
|
|
4805
|
+
background: var(--pr-bg);
|
|
4806
|
+
}
|
|
4807
|
+
.pr-comments__suggestion-name {
|
|
4808
|
+
font-weight: 600;
|
|
4809
|
+
white-space: nowrap;
|
|
4810
|
+
}
|
|
4811
|
+
.pr-comments__suggestion-hint {
|
|
4812
|
+
min-width: 0;
|
|
4813
|
+
overflow: hidden;
|
|
4814
|
+
color: var(--pr-fg-faint);
|
|
4815
|
+
font-size: 12px;
|
|
4816
|
+
white-space: nowrap;
|
|
4817
|
+
text-overflow: ellipsis;
|
|
4818
|
+
}
|