opus-react 0.6.21 → 0.6.23

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,149 @@ 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-radius: 16px 16px 5px;
25473
+ }
25474
+
25475
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_message[data-position="middle"] .opus_709yhz_bubble {
25476
+ border-radius: 16px 5px 5px 16px;
25477
+ }
25478
+
25479
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_message[data-position="last"] .opus_709yhz_bubble {
25480
+ border-radius: 16px 5px 16px 16px;
25481
+ }
25482
+
25483
+ .opus_709yhz_time {
25484
+ color: var(--opus-muted);
25485
+ font-size: .72rem;
25486
+ line-height: 1.2;
25487
+ }
25488
+
25489
+ .opus_709yhz_group[data-alignment="right"] .opus_709yhz_time {
25490
+ text-align: right;
25491
+ }
25492
+
25493
+ .opus_709yhz_text {
25494
+ white-space: pre-wrap;
25495
+ }
25496
+
25497
+ .opus_709yhz_codeBlock {
25498
+ background: color-mix(in srgb, #090b12 94%, var(--opus-accent) 6%);
25499
+ color: #e8ebf3;
25500
+ white-space: pre;
25501
+ tab-size: 2;
25502
+ border-radius: 9px;
25503
+ margin: 8px 0 0;
25504
+ padding: 28px 12px 12px;
25505
+ font: 500 .8rem / 1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
25506
+ position: relative;
25507
+ overflow: auto;
25508
+ }
25509
+
25510
+ .opus_709yhz_text + .opus_709yhz_codeBlock {
25511
+ margin-top: 8px;
25512
+ }
25513
+
25514
+ .opus_709yhz_codeLanguage {
25515
+ color: #aab3c4;
25516
+ text-transform: uppercase;
25517
+ letter-spacing: .06em;
25518
+ font: 600 .64rem / 1 ui-monospace, monospace;
25519
+ position: absolute;
25520
+ top: 7px;
25521
+ right: 9px;
25522
+ }
25523
+
25524
+ .opus_709yhz_tokenComment {
25525
+ color: #8b96a9;
25526
+ }
25527
+
25528
+ .opus_709yhz_tokenKeyword {
25529
+ color: #bd93f9;
25530
+ }
25531
+
25532
+ .opus_709yhz_tokenNumber {
25533
+ color: #f8c56b;
25534
+ }
25535
+
25536
+ .opus_709yhz_tokenString {
25537
+ color: #a8dc87;
25538
+ }
25539
+
25540
+ .opus_709yhz_group[data-alignment="right"] .ShowMore_toggle, .opus_709yhz_group[data-alignment="right"] button {
25541
+ color: inherit;
25542
+ }
25543
+
25544
+ @media (width <= 480px) {
25545
+ .opus_709yhz_messages {
25546
+ max-width: calc(100% - 38px);
25547
+ }
25548
+
25549
+ .opus_709yhz_group {
25550
+ gap: 8px;
25551
+ }
25552
+ }
25553
+
25411
25554
  /* components/Asteroids/Asteroids.module.css */
25412
25555
  .opus_kcnl9Q_game {
25413
25556
  color: #e2e8f0;