opus-react 0.6.20 → 0.6.22

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.css CHANGED
@@ -25408,6 +25408,151 @@ button.opus_H9TUGj_root:hover, button.opus_H9TUGj_root:focus-visible {
25408
25408
  }
25409
25409
  }
25410
25410
 
25411
+ /* components/ChatBubble/ChatBubble.module.css */
25412
+ .opus_709yhz_group {
25413
+ width: 100%;
25414
+ color: var(--opus-text);
25415
+ align-items: flex-end;
25416
+ gap: 10px;
25417
+ display: flex;
25418
+ }
25419
+
25420
+ .opus_709yhz_group[data-alignment="right"] {
25421
+ flex-direction: row-reverse;
25422
+ }
25423
+
25424
+ .opus_709yhz_messages {
25425
+ gap: 2px;
25426
+ min-width: 0;
25427
+ max-width: min(78%, 46rem);
25428
+ display: grid;
25429
+ }
25430
+
25431
+ .opus_709yhz_message {
25432
+ gap: 4px;
25433
+ display: grid;
25434
+ }
25435
+
25436
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_message {
25437
+ justify-items: end;
25438
+ }
25439
+
25440
+ .opus_709yhz_bubble {
25441
+ border: 1px solid color-mix(in srgb, var(--opus-border) 78%, transparent);
25442
+ background: var(--chat-bubble-background, color-mix(in srgb, var(--opus-panel) 88%, var(--opus-accent) 12%));
25443
+ min-width: 0;
25444
+ color: var(--opus-text);
25445
+ overflow-wrap: anywhere;
25446
+ border-radius: 16px;
25447
+ padding: 10px 12px;
25448
+ font-size: .92rem;
25449
+ line-height: 1.5;
25450
+ }
25451
+
25452
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_bubble {
25453
+ background: var(--chat-bubble-background, var(--opus-accent));
25454
+ color: var(--opus-accent-contrast, #fff);
25455
+ border-color: color-mix(in srgb, var(--opus-accent) 70%, var(--opus-border));
25456
+ }
25457
+
25458
+ .opus_709yhz_message[data-position="first"] .opus_709yhz_bubble {
25459
+ border-bottom-left-radius: 5px;
25460
+ }
25461
+
25462
+ .opus_709yhz_message[data-position="middle"] .opus_709yhz_bubble {
25463
+ border-top-left-radius: 5px;
25464
+ border-bottom-left-radius: 5px;
25465
+ }
25466
+
25467
+ .opus_709yhz_message[data-position="last"] .opus_709yhz_bubble {
25468
+ border-top-left-radius: 5px;
25469
+ }
25470
+
25471
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_message[data-position="first"] .opus_709yhz_bubble {
25472
+ border-bottom-right-radius: 5px;
25473
+ border-bottom-left-radius: 16px;
25474
+ }
25475
+
25476
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_message[data-position="middle"] .opus_709yhz_bubble {
25477
+ border-radius: 16px 5px 5px 16px;
25478
+ }
25479
+
25480
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_message[data-position="last"] .opus_709yhz_bubble {
25481
+ border-top-left-radius: 16px;
25482
+ border-top-right-radius: 5px;
25483
+ }
25484
+
25485
+ .opus_709yhz_time {
25486
+ color: var(--opus-muted);
25487
+ font-size: .72rem;
25488
+ line-height: 1.2;
25489
+ }
25490
+
25491
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_time {
25492
+ text-align: right;
25493
+ }
25494
+
25495
+ .opus_709yhz_text {
25496
+ white-space: pre-wrap;
25497
+ }
25498
+
25499
+ .opus_709yhz_codeBlock {
25500
+ background: color-mix(in srgb, #090b12 94%, var(--opus-accent) 6%);
25501
+ color: #e8ebf3;
25502
+ white-space: pre;
25503
+ tab-size: 2;
25504
+ border-radius: 9px;
25505
+ margin: 8px 0 0;
25506
+ padding: 28px 12px 12px;
25507
+ font: 500 .8rem / 1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
25508
+ position: relative;
25509
+ overflow: auto;
25510
+ }
25511
+
25512
+ .opus_709yhz_text + .opus_709yhz_codeBlock {
25513
+ margin-top: 8px;
25514
+ }
25515
+
25516
+ .opus_709yhz_codeLanguage {
25517
+ color: #aab3c4;
25518
+ text-transform: uppercase;
25519
+ letter-spacing: .06em;
25520
+ font: 600 .64rem / 1 ui-monospace, monospace;
25521
+ position: absolute;
25522
+ top: 7px;
25523
+ right: 9px;
25524
+ }
25525
+
25526
+ .opus_709yhz_tokenComment {
25527
+ color: #8b96a9;
25528
+ }
25529
+
25530
+ .opus_709yhz_tokenKeyword {
25531
+ color: #bd93f9;
25532
+ }
25533
+
25534
+ .opus_709yhz_tokenNumber {
25535
+ color: #f8c56b;
25536
+ }
25537
+
25538
+ .opus_709yhz_tokenString {
25539
+ color: #a8dc87;
25540
+ }
25541
+
25542
+ .opus_709yhz_group[data-alignment="right"] .ShowMore_toggle, .opus_709yhz_group[data-alignment="right"] button {
25543
+ color: inherit;
25544
+ }
25545
+
25546
+ @media (width <= 480px) {
25547
+ .opus_709yhz_messages {
25548
+ max-width: calc(100% - 38px);
25549
+ }
25550
+
25551
+ .opus_709yhz_group {
25552
+ gap: 8px;
25553
+ }
25554
+ }
25555
+
25411
25556
  /* components/Asteroids/Asteroids.module.css */
25412
25557
  .opus_kcnl9Q_game {
25413
25558
  color: #e2e8f0;