@partrunner-ai/ui 2.2.4 → 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 +2 -2
- package/styles/light.css +574 -0
- package/styles/theme.css +574 -0
- package/styles/ui.css +574 -0
package/styles/theme.css
CHANGED
|
@@ -4487,3 +4487,577 @@ button.pr-stepper__dot:focus-visible {
|
|
|
4487
4487
|
padding-top: 8px;
|
|
4488
4488
|
border-top: 1px solid var(--pr-border);
|
|
4489
4489
|
}
|
|
4490
|
+
|
|
4491
|
+
/* ───────────────────────── CommentThread ───────────────────────── */
|
|
4492
|
+
|
|
4493
|
+
.pr-comments {
|
|
4494
|
+
position: relative;
|
|
4495
|
+
display: flex;
|
|
4496
|
+
flex-direction: column;
|
|
4497
|
+
min-height: 0;
|
|
4498
|
+
height: 100%;
|
|
4499
|
+
border: 1px solid var(--pr-border);
|
|
4500
|
+
border-radius: var(--pr-radius-md, 0.75rem);
|
|
4501
|
+
background: var(--pr-surface);
|
|
4502
|
+
color: var(--pr-fg);
|
|
4503
|
+
font-family: var(--pr-font-body, inherit);
|
|
4504
|
+
font-size: 14px;
|
|
4505
|
+
overflow: hidden;
|
|
4506
|
+
}
|
|
4507
|
+
.pr-comments--dragging::after {
|
|
4508
|
+
content: 'Suelta los archivos para adjuntarlos';
|
|
4509
|
+
position: absolute;
|
|
4510
|
+
inset: 0;
|
|
4511
|
+
display: grid;
|
|
4512
|
+
place-items: center;
|
|
4513
|
+
border: 2px dashed var(--pr-accent-strong);
|
|
4514
|
+
border-radius: inherit;
|
|
4515
|
+
background: color-mix(in srgb, var(--pr-surface) 85%, transparent);
|
|
4516
|
+
color: var(--pr-fg);
|
|
4517
|
+
font-weight: 600;
|
|
4518
|
+
pointer-events: none;
|
|
4519
|
+
}
|
|
4520
|
+
.pr-comments__header {
|
|
4521
|
+
display: flex;
|
|
4522
|
+
flex-wrap: wrap;
|
|
4523
|
+
align-items: center;
|
|
4524
|
+
justify-content: space-between;
|
|
4525
|
+
gap: 8px;
|
|
4526
|
+
padding: 12px 16px;
|
|
4527
|
+
border-bottom: 1px solid var(--pr-border);
|
|
4528
|
+
}
|
|
4529
|
+
.pr-comments__title {
|
|
4530
|
+
margin: 0;
|
|
4531
|
+
font-size: 15px;
|
|
4532
|
+
font-weight: 700;
|
|
4533
|
+
}
|
|
4534
|
+
.pr-comments__follow {
|
|
4535
|
+
display: inline-flex;
|
|
4536
|
+
padding: 2px;
|
|
4537
|
+
border: 1px solid var(--pr-border);
|
|
4538
|
+
border-radius: 999px;
|
|
4539
|
+
background: var(--pr-bg);
|
|
4540
|
+
}
|
|
4541
|
+
.pr-comments__follow-option {
|
|
4542
|
+
display: inline-flex;
|
|
4543
|
+
align-items: center;
|
|
4544
|
+
gap: 4px;
|
|
4545
|
+
padding: 4px 10px;
|
|
4546
|
+
border: 0;
|
|
4547
|
+
border-radius: 999px;
|
|
4548
|
+
background: transparent;
|
|
4549
|
+
color: var(--pr-fg-muted);
|
|
4550
|
+
font: inherit;
|
|
4551
|
+
font-size: 12px;
|
|
4552
|
+
cursor: pointer;
|
|
4553
|
+
}
|
|
4554
|
+
.pr-comments__follow-option--active {
|
|
4555
|
+
background: var(--pr-elevated);
|
|
4556
|
+
color: var(--pr-fg);
|
|
4557
|
+
box-shadow: var(--pr-shadow-sm);
|
|
4558
|
+
}
|
|
4559
|
+
.pr-comments__follow-option:focus-visible,
|
|
4560
|
+
.pr-comments__link:focus-visible,
|
|
4561
|
+
.pr-comments__quote:focus-visible,
|
|
4562
|
+
.pr-comments__reaction:focus-visible,
|
|
4563
|
+
.pr-comments__picker-item:focus-visible,
|
|
4564
|
+
.pr-comments__image:focus-visible,
|
|
4565
|
+
.pr-comments__file:focus-visible {
|
|
4566
|
+
outline: none;
|
|
4567
|
+
box-shadow: var(--pr-focus-ring);
|
|
4568
|
+
}
|
|
4569
|
+
.pr-comments__list {
|
|
4570
|
+
flex: 1 1 auto;
|
|
4571
|
+
min-height: 160px;
|
|
4572
|
+
overflow-y: auto;
|
|
4573
|
+
padding: 12px 16px;
|
|
4574
|
+
overscroll-behavior: contain;
|
|
4575
|
+
}
|
|
4576
|
+
.pr-comments__messages {
|
|
4577
|
+
display: flex;
|
|
4578
|
+
flex-direction: column;
|
|
4579
|
+
gap: 10px;
|
|
4580
|
+
margin: 0;
|
|
4581
|
+
padding: 0;
|
|
4582
|
+
list-style: none;
|
|
4583
|
+
}
|
|
4584
|
+
.pr-comments__older {
|
|
4585
|
+
display: flex;
|
|
4586
|
+
justify-content: center;
|
|
4587
|
+
padding-bottom: 8px;
|
|
4588
|
+
}
|
|
4589
|
+
.pr-comments__empty {
|
|
4590
|
+
display: grid;
|
|
4591
|
+
place-items: center;
|
|
4592
|
+
min-height: 120px;
|
|
4593
|
+
margin: 0;
|
|
4594
|
+
color: var(--pr-fg-muted);
|
|
4595
|
+
text-align: center;
|
|
4596
|
+
}
|
|
4597
|
+
.pr-comments__day,
|
|
4598
|
+
.pr-comments__unread {
|
|
4599
|
+
display: flex;
|
|
4600
|
+
align-items: center;
|
|
4601
|
+
gap: 8px;
|
|
4602
|
+
color: var(--pr-fg-faint);
|
|
4603
|
+
font-size: 12px;
|
|
4604
|
+
}
|
|
4605
|
+
.pr-comments__day::before,
|
|
4606
|
+
.pr-comments__day::after,
|
|
4607
|
+
.pr-comments__unread::before,
|
|
4608
|
+
.pr-comments__unread::after {
|
|
4609
|
+
content: '';
|
|
4610
|
+
flex: 1;
|
|
4611
|
+
height: 1px;
|
|
4612
|
+
background: var(--pr-border);
|
|
4613
|
+
}
|
|
4614
|
+
.pr-comments__unread {
|
|
4615
|
+
color: var(--pr-accent-strong);
|
|
4616
|
+
font-weight: 600;
|
|
4617
|
+
}
|
|
4618
|
+
.pr-comments__unread::before,
|
|
4619
|
+
.pr-comments__unread::after {
|
|
4620
|
+
background: var(--pr-accent-strong);
|
|
4621
|
+
}
|
|
4622
|
+
.pr-comments__row {
|
|
4623
|
+
position: relative;
|
|
4624
|
+
display: flex;
|
|
4625
|
+
align-items: flex-start;
|
|
4626
|
+
gap: 8px;
|
|
4627
|
+
max-width: 100%;
|
|
4628
|
+
border-radius: var(--pr-radius-sm, 0.5rem);
|
|
4629
|
+
transition: background-color 400ms var(--pr-ease, ease);
|
|
4630
|
+
}
|
|
4631
|
+
.pr-comments__row--own {
|
|
4632
|
+
flex-direction: row-reverse;
|
|
4633
|
+
}
|
|
4634
|
+
.pr-comments__row--highlight {
|
|
4635
|
+
background: var(--pr-tone-yellow-bg);
|
|
4636
|
+
}
|
|
4637
|
+
.pr-comments__avatar {
|
|
4638
|
+
flex: none;
|
|
4639
|
+
padding-top: 2px;
|
|
4640
|
+
}
|
|
4641
|
+
.pr-comments__agent-avatar {
|
|
4642
|
+
display: inline-grid;
|
|
4643
|
+
place-items: center;
|
|
4644
|
+
width: 24px;
|
|
4645
|
+
height: 24px;
|
|
4646
|
+
border-radius: 999px;
|
|
4647
|
+
background: var(--pr-tone-purple-bg);
|
|
4648
|
+
color: var(--pr-tone-purple-fg);
|
|
4649
|
+
}
|
|
4650
|
+
.pr-comments__bubble-wrap {
|
|
4651
|
+
display: flex;
|
|
4652
|
+
flex-direction: column;
|
|
4653
|
+
gap: 4px;
|
|
4654
|
+
min-width: 0;
|
|
4655
|
+
max-width: min(78%, 560px);
|
|
4656
|
+
}
|
|
4657
|
+
.pr-comments__row--own .pr-comments__bubble-wrap {
|
|
4658
|
+
align-items: flex-end;
|
|
4659
|
+
}
|
|
4660
|
+
.pr-comments__bubble {
|
|
4661
|
+
min-width: 0;
|
|
4662
|
+
padding: 8px 12px;
|
|
4663
|
+
border: 1px solid var(--pr-border);
|
|
4664
|
+
border-radius: 14px;
|
|
4665
|
+
border-top-left-radius: 4px;
|
|
4666
|
+
background: var(--pr-elevated);
|
|
4667
|
+
}
|
|
4668
|
+
.pr-comments__row--own .pr-comments__bubble {
|
|
4669
|
+
border-color: transparent;
|
|
4670
|
+
border-top-left-radius: 14px;
|
|
4671
|
+
border-top-right-radius: 4px;
|
|
4672
|
+
background: var(--pr-tone-yellow-bg);
|
|
4673
|
+
}
|
|
4674
|
+
.pr-comments__bubble--agent {
|
|
4675
|
+
border-color: var(--pr-tone-purple-bg);
|
|
4676
|
+
}
|
|
4677
|
+
.pr-comments__meta {
|
|
4678
|
+
display: flex;
|
|
4679
|
+
flex-wrap: wrap;
|
|
4680
|
+
align-items: baseline;
|
|
4681
|
+
gap: 6px;
|
|
4682
|
+
margin-bottom: 2px;
|
|
4683
|
+
font-size: 12px;
|
|
4684
|
+
}
|
|
4685
|
+
.pr-comments__author {
|
|
4686
|
+
font-weight: 700;
|
|
4687
|
+
}
|
|
4688
|
+
.pr-comments__badge {
|
|
4689
|
+
padding: 0 6px;
|
|
4690
|
+
border-radius: 999px;
|
|
4691
|
+
background: var(--pr-tone-purple-bg);
|
|
4692
|
+
color: var(--pr-tone-purple-fg);
|
|
4693
|
+
font-size: 11px;
|
|
4694
|
+
font-weight: 700;
|
|
4695
|
+
}
|
|
4696
|
+
.pr-comments__time,
|
|
4697
|
+
.pr-comments__edited {
|
|
4698
|
+
color: var(--pr-fg-faint);
|
|
4699
|
+
}
|
|
4700
|
+
.pr-comments__text {
|
|
4701
|
+
margin: 0;
|
|
4702
|
+
white-space: pre-wrap;
|
|
4703
|
+
overflow-wrap: anywhere;
|
|
4704
|
+
line-height: 1.45;
|
|
4705
|
+
}
|
|
4706
|
+
.pr-comments__text--deleted,
|
|
4707
|
+
.pr-comments__failed {
|
|
4708
|
+
margin: 0;
|
|
4709
|
+
color: var(--pr-fg-muted);
|
|
4710
|
+
font-style: italic;
|
|
4711
|
+
}
|
|
4712
|
+
.pr-comments__mention {
|
|
4713
|
+
padding: 0 3px;
|
|
4714
|
+
border-radius: 4px;
|
|
4715
|
+
background: var(--pr-tone-blue-bg);
|
|
4716
|
+
color: var(--pr-tone-blue-fg);
|
|
4717
|
+
font-weight: 600;
|
|
4718
|
+
}
|
|
4719
|
+
.pr-comments__mention--agent {
|
|
4720
|
+
background: var(--pr-tone-purple-bg);
|
|
4721
|
+
color: var(--pr-tone-purple-fg);
|
|
4722
|
+
}
|
|
4723
|
+
.pr-comments__quote {
|
|
4724
|
+
display: flex;
|
|
4725
|
+
flex-direction: column;
|
|
4726
|
+
gap: 1px;
|
|
4727
|
+
width: 100%;
|
|
4728
|
+
margin: 2px 0 6px;
|
|
4729
|
+
padding: 4px 8px;
|
|
4730
|
+
border: 0;
|
|
4731
|
+
border-left: 3px solid var(--pr-accent-strong);
|
|
4732
|
+
border-radius: 6px;
|
|
4733
|
+
background: color-mix(in srgb, var(--pr-fg) 6%, transparent);
|
|
4734
|
+
color: inherit;
|
|
4735
|
+
font: inherit;
|
|
4736
|
+
text-align: left;
|
|
4737
|
+
cursor: pointer;
|
|
4738
|
+
}
|
|
4739
|
+
.pr-comments__quote-author {
|
|
4740
|
+
font-size: 12px;
|
|
4741
|
+
font-weight: 700;
|
|
4742
|
+
}
|
|
4743
|
+
.pr-comments__quote-text {
|
|
4744
|
+
overflow: hidden;
|
|
4745
|
+
color: var(--pr-fg-muted);
|
|
4746
|
+
font-size: 12px;
|
|
4747
|
+
white-space: nowrap;
|
|
4748
|
+
text-overflow: ellipsis;
|
|
4749
|
+
}
|
|
4750
|
+
.pr-comments__attachments {
|
|
4751
|
+
display: flex;
|
|
4752
|
+
flex-direction: column;
|
|
4753
|
+
gap: 6px;
|
|
4754
|
+
margin-top: 6px;
|
|
4755
|
+
}
|
|
4756
|
+
.pr-comments__images {
|
|
4757
|
+
display: flex;
|
|
4758
|
+
flex-wrap: wrap;
|
|
4759
|
+
gap: 6px;
|
|
4760
|
+
}
|
|
4761
|
+
.pr-comments__image {
|
|
4762
|
+
display: block;
|
|
4763
|
+
overflow: hidden;
|
|
4764
|
+
border-radius: 8px;
|
|
4765
|
+
background: var(--pr-bg);
|
|
4766
|
+
}
|
|
4767
|
+
.pr-comments__image img {
|
|
4768
|
+
display: block;
|
|
4769
|
+
width: auto;
|
|
4770
|
+
max-width: 240px;
|
|
4771
|
+
height: auto;
|
|
4772
|
+
max-height: 200px;
|
|
4773
|
+
object-fit: cover;
|
|
4774
|
+
}
|
|
4775
|
+
.pr-comments__file {
|
|
4776
|
+
display: flex;
|
|
4777
|
+
align-items: center;
|
|
4778
|
+
gap: 6px;
|
|
4779
|
+
padding: 6px 8px;
|
|
4780
|
+
border: 1px solid var(--pr-border);
|
|
4781
|
+
border-radius: 8px;
|
|
4782
|
+
background: var(--pr-surface);
|
|
4783
|
+
color: var(--pr-fg);
|
|
4784
|
+
text-decoration: none;
|
|
4785
|
+
}
|
|
4786
|
+
.pr-comments__file-name {
|
|
4787
|
+
min-width: 0;
|
|
4788
|
+
overflow: hidden;
|
|
4789
|
+
white-space: nowrap;
|
|
4790
|
+
text-overflow: ellipsis;
|
|
4791
|
+
}
|
|
4792
|
+
.pr-comments__file-size {
|
|
4793
|
+
flex: none;
|
|
4794
|
+
color: var(--pr-fg-faint);
|
|
4795
|
+
font-size: 12px;
|
|
4796
|
+
}
|
|
4797
|
+
.pr-comments__reactions {
|
|
4798
|
+
display: flex;
|
|
4799
|
+
flex-wrap: wrap;
|
|
4800
|
+
gap: 4px;
|
|
4801
|
+
}
|
|
4802
|
+
.pr-comments__reaction {
|
|
4803
|
+
display: inline-flex;
|
|
4804
|
+
align-items: center;
|
|
4805
|
+
gap: 4px;
|
|
4806
|
+
min-height: 26px;
|
|
4807
|
+
padding: 0 8px;
|
|
4808
|
+
border: 1px solid var(--pr-border);
|
|
4809
|
+
border-radius: 999px;
|
|
4810
|
+
background: var(--pr-surface);
|
|
4811
|
+
color: var(--pr-fg);
|
|
4812
|
+
font: inherit;
|
|
4813
|
+
font-size: 13px;
|
|
4814
|
+
cursor: pointer;
|
|
4815
|
+
}
|
|
4816
|
+
.pr-comments__reaction--mine {
|
|
4817
|
+
border-color: var(--pr-accent-strong);
|
|
4818
|
+
background: var(--pr-tone-yellow-bg);
|
|
4819
|
+
}
|
|
4820
|
+
.pr-comments__reaction:disabled {
|
|
4821
|
+
cursor: default;
|
|
4822
|
+
}
|
|
4823
|
+
.pr-comments__reaction-count {
|
|
4824
|
+
font-variant-numeric: tabular-nums;
|
|
4825
|
+
font-size: 12px;
|
|
4826
|
+
}
|
|
4827
|
+
.pr-comments__picker {
|
|
4828
|
+
display: flex;
|
|
4829
|
+
flex-wrap: wrap;
|
|
4830
|
+
gap: 2px;
|
|
4831
|
+
padding: 4px;
|
|
4832
|
+
border: 1px solid var(--pr-border);
|
|
4833
|
+
border-radius: 999px;
|
|
4834
|
+
background: var(--pr-elevated);
|
|
4835
|
+
box-shadow: var(--pr-shadow-sm);
|
|
4836
|
+
}
|
|
4837
|
+
.pr-comments__picker-item {
|
|
4838
|
+
width: 32px;
|
|
4839
|
+
height: 32px;
|
|
4840
|
+
border: 0;
|
|
4841
|
+
border-radius: 999px;
|
|
4842
|
+
background: transparent;
|
|
4843
|
+
font-size: 18px;
|
|
4844
|
+
cursor: pointer;
|
|
4845
|
+
}
|
|
4846
|
+
.pr-comments__picker-item:hover {
|
|
4847
|
+
background: var(--pr-bg);
|
|
4848
|
+
}
|
|
4849
|
+
.pr-comments__actions {
|
|
4850
|
+
display: flex;
|
|
4851
|
+
align-self: center;
|
|
4852
|
+
gap: 2px;
|
|
4853
|
+
opacity: 0;
|
|
4854
|
+
transition: opacity 120ms var(--pr-ease, ease);
|
|
4855
|
+
}
|
|
4856
|
+
.pr-comments__row:hover .pr-comments__actions,
|
|
4857
|
+
.pr-comments__row:focus-within .pr-comments__actions {
|
|
4858
|
+
opacity: 1;
|
|
4859
|
+
}
|
|
4860
|
+
@media (hover: none) {
|
|
4861
|
+
.pr-comments__actions {
|
|
4862
|
+
opacity: 1;
|
|
4863
|
+
}
|
|
4864
|
+
}
|
|
4865
|
+
.pr-comments__confirm {
|
|
4866
|
+
display: flex;
|
|
4867
|
+
align-items: center;
|
|
4868
|
+
gap: 10px;
|
|
4869
|
+
font-size: 13px;
|
|
4870
|
+
}
|
|
4871
|
+
.pr-comments__link {
|
|
4872
|
+
padding: 2px 4px;
|
|
4873
|
+
border: 0;
|
|
4874
|
+
border-radius: 4px;
|
|
4875
|
+
background: transparent;
|
|
4876
|
+
color: var(--pr-fg-muted);
|
|
4877
|
+
font: inherit;
|
|
4878
|
+
font-size: 13px;
|
|
4879
|
+
cursor: pointer;
|
|
4880
|
+
}
|
|
4881
|
+
.pr-comments__link:hover:not(:disabled) {
|
|
4882
|
+
color: var(--pr-fg);
|
|
4883
|
+
text-decoration: underline;
|
|
4884
|
+
}
|
|
4885
|
+
.pr-comments__link--strong {
|
|
4886
|
+
color: var(--pr-fg);
|
|
4887
|
+
font-weight: 700;
|
|
4888
|
+
}
|
|
4889
|
+
.pr-comments__link--danger {
|
|
4890
|
+
color: var(--pr-danger);
|
|
4891
|
+
font-weight: 700;
|
|
4892
|
+
}
|
|
4893
|
+
.pr-comments__edit {
|
|
4894
|
+
display: flex;
|
|
4895
|
+
flex-direction: column;
|
|
4896
|
+
gap: 4px;
|
|
4897
|
+
min-width: min(320px, 60vw);
|
|
4898
|
+
}
|
|
4899
|
+
.pr-comments__edit-input,
|
|
4900
|
+
.pr-comments__input {
|
|
4901
|
+
width: 100%;
|
|
4902
|
+
padding: 8px 10px;
|
|
4903
|
+
border: 1px solid var(--pr-border);
|
|
4904
|
+
border-radius: var(--pr-radius-sm, 0.5rem);
|
|
4905
|
+
background: var(--pr-bg);
|
|
4906
|
+
color: var(--pr-fg);
|
|
4907
|
+
font: inherit;
|
|
4908
|
+
line-height: 1.4;
|
|
4909
|
+
resize: none;
|
|
4910
|
+
}
|
|
4911
|
+
.pr-comments__edit-input:focus,
|
|
4912
|
+
.pr-comments__input:focus {
|
|
4913
|
+
outline: none;
|
|
4914
|
+
border-color: var(--pr-accent-strong);
|
|
4915
|
+
box-shadow: var(--pr-focus-ring);
|
|
4916
|
+
}
|
|
4917
|
+
.pr-comments__edit-actions {
|
|
4918
|
+
display: flex;
|
|
4919
|
+
justify-content: flex-end;
|
|
4920
|
+
gap: 8px;
|
|
4921
|
+
}
|
|
4922
|
+
.pr-comments__typing {
|
|
4923
|
+
display: inline-flex;
|
|
4924
|
+
gap: 3px;
|
|
4925
|
+
padding: 4px 0;
|
|
4926
|
+
}
|
|
4927
|
+
.pr-comments__typing span {
|
|
4928
|
+
width: 6px;
|
|
4929
|
+
height: 6px;
|
|
4930
|
+
border-radius: 999px;
|
|
4931
|
+
background: var(--pr-fg-faint);
|
|
4932
|
+
animation: pr-comments-typing 1.2s infinite ease-in-out;
|
|
4933
|
+
}
|
|
4934
|
+
.pr-comments__typing span:nth-child(2) {
|
|
4935
|
+
animation-delay: 0.15s;
|
|
4936
|
+
}
|
|
4937
|
+
.pr-comments__typing span:nth-child(3) {
|
|
4938
|
+
animation-delay: 0.3s;
|
|
4939
|
+
}
|
|
4940
|
+
@keyframes pr-comments-typing {
|
|
4941
|
+
0%,
|
|
4942
|
+
80%,
|
|
4943
|
+
100% {
|
|
4944
|
+
opacity: 0.3;
|
|
4945
|
+
transform: translateY(0);
|
|
4946
|
+
}
|
|
4947
|
+
40% {
|
|
4948
|
+
opacity: 1;
|
|
4949
|
+
transform: translateY(-2px);
|
|
4950
|
+
}
|
|
4951
|
+
}
|
|
4952
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4953
|
+
.pr-comments__typing span {
|
|
4954
|
+
animation: none;
|
|
4955
|
+
}
|
|
4956
|
+
}
|
|
4957
|
+
.pr-comments__error {
|
|
4958
|
+
margin: 0;
|
|
4959
|
+
padding: 6px 16px;
|
|
4960
|
+
color: var(--pr-danger);
|
|
4961
|
+
font-size: 13px;
|
|
4962
|
+
}
|
|
4963
|
+
.pr-comments__readonly {
|
|
4964
|
+
margin: 0;
|
|
4965
|
+
padding: 12px 16px;
|
|
4966
|
+
border-top: 1px solid var(--pr-border);
|
|
4967
|
+
color: var(--pr-fg-muted);
|
|
4968
|
+
font-size: 13px;
|
|
4969
|
+
}
|
|
4970
|
+
.pr-comments__composer {
|
|
4971
|
+
display: flex;
|
|
4972
|
+
flex-direction: column;
|
|
4973
|
+
gap: 6px;
|
|
4974
|
+
padding: 10px 12px 12px;
|
|
4975
|
+
border-top: 1px solid var(--pr-border);
|
|
4976
|
+
}
|
|
4977
|
+
.pr-comments__replying {
|
|
4978
|
+
display: flex;
|
|
4979
|
+
align-items: center;
|
|
4980
|
+
gap: 8px;
|
|
4981
|
+
padding: 4px 4px 4px 10px;
|
|
4982
|
+
border-left: 3px solid var(--pr-accent-strong);
|
|
4983
|
+
border-radius: 6px;
|
|
4984
|
+
background: var(--pr-bg);
|
|
4985
|
+
}
|
|
4986
|
+
.pr-comments__replying-text {
|
|
4987
|
+
display: flex;
|
|
4988
|
+
flex: 1;
|
|
4989
|
+
flex-direction: column;
|
|
4990
|
+
min-width: 0;
|
|
4991
|
+
}
|
|
4992
|
+
.pr-comments__pending {
|
|
4993
|
+
display: flex;
|
|
4994
|
+
flex-wrap: wrap;
|
|
4995
|
+
gap: 6px;
|
|
4996
|
+
margin: 0;
|
|
4997
|
+
padding: 0;
|
|
4998
|
+
list-style: none;
|
|
4999
|
+
}
|
|
5000
|
+
.pr-comments__pending-file {
|
|
5001
|
+
display: inline-flex;
|
|
5002
|
+
align-items: center;
|
|
5003
|
+
gap: 6px;
|
|
5004
|
+
max-width: 260px;
|
|
5005
|
+
padding: 2px 2px 2px 8px;
|
|
5006
|
+
border: 1px solid var(--pr-border);
|
|
5007
|
+
border-radius: 999px;
|
|
5008
|
+
background: var(--pr-bg);
|
|
5009
|
+
font-size: 12px;
|
|
5010
|
+
}
|
|
5011
|
+
.pr-comments__pending-file--error {
|
|
5012
|
+
border-color: var(--pr-danger);
|
|
5013
|
+
color: var(--pr-danger);
|
|
5014
|
+
}
|
|
5015
|
+
.pr-comments__input-row {
|
|
5016
|
+
display: flex;
|
|
5017
|
+
align-items: flex-end;
|
|
5018
|
+
gap: 6px;
|
|
5019
|
+
}
|
|
5020
|
+
.pr-comments__input-wrap {
|
|
5021
|
+
position: relative;
|
|
5022
|
+
flex: 1;
|
|
5023
|
+
min-width: 0;
|
|
5024
|
+
}
|
|
5025
|
+
.pr-comments__suggestions {
|
|
5026
|
+
position: absolute;
|
|
5027
|
+
right: 0;
|
|
5028
|
+
bottom: calc(100% + 6px);
|
|
5029
|
+
left: 0;
|
|
5030
|
+
z-index: 20;
|
|
5031
|
+
max-height: 260px;
|
|
5032
|
+
margin: 0;
|
|
5033
|
+
padding: 4px;
|
|
5034
|
+
overflow-y: auto;
|
|
5035
|
+
border: 1px solid var(--pr-border);
|
|
5036
|
+
border-radius: var(--pr-radius-sm, 0.5rem);
|
|
5037
|
+
background: var(--pr-elevated);
|
|
5038
|
+
box-shadow: var(--pr-shadow-elevated, var(--pr-shadow-sm));
|
|
5039
|
+
list-style: none;
|
|
5040
|
+
}
|
|
5041
|
+
.pr-comments__suggestion {
|
|
5042
|
+
display: flex;
|
|
5043
|
+
align-items: center;
|
|
5044
|
+
gap: 8px;
|
|
5045
|
+
padding: 6px 8px;
|
|
5046
|
+
border-radius: 6px;
|
|
5047
|
+
cursor: pointer;
|
|
5048
|
+
}
|
|
5049
|
+
.pr-comments__suggestion--active {
|
|
5050
|
+
background: var(--pr-bg);
|
|
5051
|
+
}
|
|
5052
|
+
.pr-comments__suggestion-name {
|
|
5053
|
+
font-weight: 600;
|
|
5054
|
+
white-space: nowrap;
|
|
5055
|
+
}
|
|
5056
|
+
.pr-comments__suggestion-hint {
|
|
5057
|
+
min-width: 0;
|
|
5058
|
+
overflow: hidden;
|
|
5059
|
+
color: var(--pr-fg-faint);
|
|
5060
|
+
font-size: 12px;
|
|
5061
|
+
white-space: nowrap;
|
|
5062
|
+
text-overflow: ellipsis;
|
|
5063
|
+
}
|