@sourcegraph/cody-web 0.30.0 → 0.31.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/style.css CHANGED
@@ -132,9 +132,24 @@ body:is([data-vscode-theme-kind='vscode-high-contrast'], [data-vscode-theme-kind
132
132
  html[data-ide=JetBrains] ._template-input-node_14yoh_1 {
133
133
  background-color: transparent;
134
134
  }
135
- ._popover-dimensions_1uf3m_1 {
135
+ ._popover-container_11l09_1 {
136
+ position: absolute;
137
+ left: 0;
138
+ }
139
+
140
+ @media (max-width: 300px) {
141
+ ._popover-container_11l09_1 {
142
+ position: relative;
143
+
144
+ --outside-bound-editor-width: 48px;
145
+ min-width: calc(100vw - var(--outside-bound-editor-width));
146
+ }
147
+ }
148
+
149
+ ._popover-dimensions_11l09_15 {
136
150
  margin-top: 20px; /* show on the line below the cursor */
137
151
  width: clamp(300px, 65vw, 440px);
152
+ max-width: 100%;
138
153
 
139
154
  --max-items: 12;
140
155
  --mention-item-height: 30px;
@@ -143,14 +158,16 @@ html[data-ide=JetBrains] ._template-input-node_14yoh_1 {
143
158
  display: flex;
144
159
  align-items: start;
145
160
  }
146
- ._popover-dimensions_1uf3m_1 ._popover_1uf3m_1 {
161
+
162
+ ._popover-dimensions_11l09_15 ._popover_11l09_1 {
147
163
  flex: 1;
148
164
  }
149
- .typeahead-flipped ._popover-dimensions_1uf3m_1 {
165
+
166
+ .typeahead-flipped ._popover-dimensions_11l09_15 {
150
167
  align-items: end;
151
168
  }
152
169
 
153
- ._popover_1uf3m_1 {
170
+ ._popover_11l09_1 {
154
171
  overflow: auto;
155
172
  background: var(--vscode-sideBar-background);
156
173
  color: var(--vscode-sideBar-foreground);
@@ -435,22 +452,17 @@ img.ProseMirror-separator {
435
452
  kbd {
436
453
  all: unset;
437
454
  }
438
- ._buttons-container_1kf9a_1 {
455
+ ._buttons-container_1ok1a_1 {
439
456
  display: flex;
440
457
  flex-wrap: wrap;
441
458
  align-items: center;
442
- border-style: solid;
443
- border-width: 1px;
444
- border-color: var(--vscode-sideBarSectionHeader-border);
445
- border-bottom-left-radius: 2px;
446
- border-bottom-right-radius: 2px;
447
459
  padding: 4px;
448
460
  }
449
461
 
450
- ._buttons_1kf9a_1 {
462
+ ._buttons_1ok1a_1 {
451
463
  display: flex;
452
464
  }
453
- ._button_1kf9a_1 {
465
+ ._button_1ok1a_1 {
454
466
  display: flex;
455
467
  align-items: center;
456
468
  padding: 3px;
@@ -461,23 +473,23 @@ kbd {
461
473
  border-radius: var(--button-icon-corner-radius);
462
474
  color: var(--foreground);
463
475
  }
464
- ._button_1kf9a_1:hover {
476
+ ._button_1ok1a_1:hover {
465
477
  background: var(--button-icon-hover-background);
466
478
  outline: 1px dotted var(--contrast-active-border);
467
479
  outline-offset: -1px;
468
480
  }
469
- ._button_1kf9a_1:not(:first-child) {
481
+ ._button_1ok1a_1:not(:first-child) {
470
482
  margin-left: 0.25rem;
471
483
  }
472
484
 
473
- ._button_1kf9a_1 ._icon-container_1kf9a_36 {
485
+ ._button_1ok1a_1 ._icon-container_1ok1a_31 {
474
486
  margin-right: 0.25rem
475
487
  }
476
488
 
477
- ._copy-button_1kf9a_40,
478
- ._insert-button_1kf9a_41,
479
- ._attribution-icon_1kf9a_42,
480
- ._status_1kf9a_43 {
489
+ ._copy-button_1ok1a_35,
490
+ ._insert-button_1ok1a_36,
491
+ ._attribution-icon_1ok1a_37,
492
+ ._status_1ok1a_38 {
481
493
  all: unset;
482
494
  padding: 3px;
483
495
  min-width: 16px; /* Status element needs to be able to expand. */
@@ -485,60 +497,60 @@ kbd {
485
497
  background-color: transparent;
486
498
  }
487
499
 
488
- ._copy-button_1kf9a_40,
489
- ._insert-button_1kf9a_41 {
500
+ ._copy-button_1ok1a_35,
501
+ ._insert-button_1ok1a_36 {
490
502
  cursor: pointer;
491
503
  background: var(--button-icon-background);
492
504
  border-radius: var(--button-icon-corner-radius);
493
505
  color: var(--foreground);
494
506
  }
495
- ._copy-button_1kf9a_40:hover,
496
- ._insert-button_1kf9a_41:hover {
507
+ ._copy-button_1ok1a_35:hover,
508
+ ._insert-button_1ok1a_36:hover {
497
509
  background: var(--button-icon-hover-background);
498
510
  outline: 1px dotted var(--contrast-active-border);
499
511
  outline-offset: -1px;
500
512
  }
501
513
 
502
- ._status_1kf9a_43 {
514
+ ._status_1ok1a_38 {
503
515
  font-size: 12px;
504
516
  line-height: 1;
505
517
  }
506
518
 
507
- ._metadata-container_1kf9a_70 {
519
+ ._metadata-container_1ok1a_65 {
508
520
  display: flex;
509
521
  align-items: center;
510
522
  margin-left: auto;
511
523
  }
512
524
 
513
- ._metadata-container_1kf9a_70 > :not(:last-child) {
525
+ ._metadata-container_1ok1a_65 > :not(:last-child) {
514
526
  margin-right: 0.25rem;
515
527
  }
516
528
 
517
- ._attribution-container_1kf9a_80 {
529
+ ._attribution-container_1ok1a_75 {
518
530
  all: unset;
519
531
  display: flex;
520
532
  margin-left: auto;
521
533
  }
522
534
 
523
535
 
524
- ._attribution-icon-unavailable_1kf9a_87 {
536
+ ._attribution-icon-unavailable_1ok1a_82 {
525
537
  color: var(--hl-orange);
526
538
  }
527
539
 
528
- ._attribution-icon-found_1kf9a_91 {
540
+ ._attribution-icon-found_1ok1a_86 {
529
541
  color: var(--hl-dark-red);
530
542
  }
531
543
 
532
- ._status_1kf9a_43 {
544
+ ._status_1ok1a_38 {
533
545
  display: flex;
534
546
  align-items: center;
535
547
  }
536
548
 
537
- ._codicon-loading_1kf9a_100 {
538
- animation: _spin_1kf9a_1 1s linear infinite;
549
+ ._codicon-loading_1ok1a_95 {
550
+ animation: _spin_1ok1a_1 1s linear infinite;
539
551
  }
540
552
 
541
- @keyframes _spin_1kf9a_1 {
553
+ @keyframes _spin_1ok1a_1 {
542
554
  from { transform: rotate(0deg); }
543
555
  to { transform: rotate(360deg); }
544
556
  }
@@ -550,16 +562,16 @@ kbd {
550
562
  --spacing: 1rem;
551
563
  }
552
564
 
553
- ._content_1kf9a_116 {
565
+ ._content_1ok1a_111 {
554
566
  word-break: break-word;
555
567
  text-wrap: wrap;
556
568
  }
557
569
 
558
570
  /* Style @-file tokens to match TranscriptAction context files */
559
- ._content_1kf9a_116 a[href^="vscode://file"] em,
560
- ._content_1kf9a_116 a[href^="vscode-insiders://file"] em,
561
- ._content_1kf9a_116 a[href^="vscodium://file"] em,
562
- ._content_1kf9a_116 a[href^="cursor://file"] em
571
+ ._content_1ok1a_111 a[href^="vscode://file"] em,
572
+ ._content_1ok1a_111 a[href^="vscode-insiders://file"] em,
573
+ ._content_1ok1a_111 a[href^="vscodium://file"] em,
574
+ ._content_1ok1a_111 a[href^="cursor://file"] em
563
575
  {
564
576
  padding: 1px 2px;
565
577
  box-sizing: border-box;
@@ -569,88 +581,88 @@ kbd {
569
581
  word-break: break-all;
570
582
  }
571
583
 
572
- ._content_1kf9a_116 p {
584
+ ._content_1ok1a_111 p {
573
585
  word-break: break-word;
574
586
  margin-block: 1rem;
575
587
  }
576
588
 
577
- ._content_1kf9a_116 pre {
589
+ /* code block styling */
590
+ ._content_1ok1a_111 pre {
578
591
  padding: calc(var(--spacing) * 0.5);
579
592
  overflow-x: auto;
580
- border-style: solid;
581
- border-width: 1px;
582
- border-color: var(--vscode-sideBarSectionHeader-border);
583
593
  border-bottom: none;
584
594
  margin: 1rem 0;
595
+ border-radius: 3px;
596
+ border: 1px solid var(--vscode-input-background);
585
597
  }
586
598
 
587
- ._content_1kf9a_116 code,
588
- ._content_1kf9a_116 pre {
599
+ ._content_1ok1a_111 code,
600
+ ._content_1ok1a_111 pre {
589
601
  font-family: var(--vscode-editor-font-family);
590
602
  font-size: var(--vscode-editor-font-size);
591
603
  overflow: auto;
592
604
  }
593
605
 
594
- ._content_1kf9a_116 pre,
595
- ._content_1kf9a_116 pre > code {
606
+ ._content_1ok1a_111 pre,
607
+ ._content_1ok1a_111 pre > code {
596
608
  /* Our syntax highlighter emits colors intended for dark backgrounds only. */
597
609
  background-color: var(--code-background);
598
610
  color: var(--code-foreground);
599
611
  margin-bottom: 0;
600
612
  }
601
- body[data-vscode-theme-kind='vscode-light'] ._content_1kf9a_116 pre,
602
- body[data-vscode-theme-kind='vscode-light'] ._content_1kf9a_116 pre > code {
613
+ body[data-vscode-theme-kind='vscode-light'] ._content_1ok1a_111 pre,
614
+ body[data-vscode-theme-kind='vscode-light'] ._content_1ok1a_111 pre > code {
603
615
  /* Our syntax highlighter emits colors intended for dark backgrounds only. */
604
616
  background-color: var(--code-background);
605
617
  color: var(--code-foreground);
606
618
  }
607
619
 
608
- ._content_1kf9a_116 h1,
609
- ._content_1kf9a_116 h2,
610
- ._content_1kf9a_116 h3,
611
- ._content_1kf9a_116 h4,
612
- ._content_1kf9a_116 h5,
613
- ._content_1kf9a_116 h6 {
620
+ ._content_1ok1a_111 h1,
621
+ ._content_1ok1a_111 h2,
622
+ ._content_1ok1a_111 h3,
623
+ ._content_1ok1a_111 h4,
624
+ ._content_1ok1a_111 h5,
625
+ ._content_1ok1a_111 h6 {
614
626
  margin: 1.2em 0;
615
627
  }
616
628
 
617
- ._content_1kf9a_116 h1 {
629
+ ._content_1ok1a_111 h1 {
618
630
  font-size: 1.15em;
619
631
  font-weight: 700;
620
632
  }
621
633
 
622
- ._content_1kf9a_116 h2 {
634
+ ._content_1ok1a_111 h2 {
623
635
  font-size: 1.1em;
624
636
  font-weight: 700;
625
637
  }
626
638
 
627
- ._content_1kf9a_116 h3 {
639
+ ._content_1ok1a_111 h3 {
628
640
  font-size: inherit;
629
641
  font-weight: 700;
630
642
  }
631
643
 
632
- ._content_1kf9a_116 h4,
633
- ._content_1kf9a_116 h5,
634
- ._content_1kf9a_116 h6 {
644
+ ._content_1ok1a_111 h4,
645
+ ._content_1ok1a_111 h5,
646
+ ._content_1ok1a_111 h6 {
635
647
  font-size: inherit;
636
648
  font-weight: 600;
637
649
  }
638
650
 
639
- ._content_1kf9a_116 > *:first-child {
651
+ ._content_1ok1a_111 > *:first-child {
640
652
  margin-top: 0;
641
653
  }
642
654
 
643
- ._content_1kf9a_116 > *:last-child {
655
+ ._content_1ok1a_111 > *:last-child {
644
656
  margin-bottom: 0;
645
657
  }
646
658
 
647
- ._content_1kf9a_116 ul, ._content_1kf9a_116 ol {
659
+ ._content_1ok1a_111 ul, ._content_1ok1a_111 ol {
648
660
  margin-block: 1rem;
649
661
  padding-inline-start: 2rem;
650
662
  list-style: revert;
651
663
  }
652
664
 
653
- ._file-name-container_1kf9a_216 {
665
+ ._file-name-container_1ok1a_211 {
654
666
  color: var(--vscode-descriptionForeground);
655
667
  margin-left: auto;
656
668
  }
@@ -2772,9 +2784,6 @@ imported in Sourcegraph shell.
2772
2784
  .tw-max-h-full {
2773
2785
  max-height: 100%;
2774
2786
  }
2775
- .tw-min-h-10 {
2776
- min-height: 20px;
2777
- }
2778
2787
  .\!tw-w-fit {
2779
2788
  width: fit-content !important;
2780
2789
  }