opus-react 0.6.24 → 0.6.26
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/CHANGELOG.md +27 -0
- package/dist/index.cjs +289 -254
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +224 -59
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +51 -3
- package/dist/index.d.ts +51 -3
- package/dist/index.js +287 -255
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -6419,6 +6419,10 @@
|
|
|
6419
6419
|
max-height: calc(var(--show-more-full-height) + 2px);
|
|
6420
6420
|
}
|
|
6421
6421
|
|
|
6422
|
+
.opus_dSk-ve_contentShell[data-expanded="true"] {
|
|
6423
|
+
max-height: none;
|
|
6424
|
+
}
|
|
6425
|
+
|
|
6422
6426
|
.opus_dSk-ve_inner {
|
|
6423
6427
|
color: var(--opus-text);
|
|
6424
6428
|
font-size: inherit;
|
|
@@ -6454,10 +6458,6 @@
|
|
|
6454
6458
|
border-radius: var(--opus-input-radius-mark);
|
|
6455
6459
|
}
|
|
6456
6460
|
|
|
6457
|
-
.opus_dSk-ve_toggleLabel {
|
|
6458
|
-
animation: .22s cubic-bezier(.16, 1, .3, 1) opus_dSk-ve_showMoreLabelIn;
|
|
6459
|
-
}
|
|
6460
|
-
|
|
6461
6461
|
.opus_dSk-ve_chevron {
|
|
6462
6462
|
width: 14px;
|
|
6463
6463
|
height: 14px;
|
|
@@ -6472,26 +6472,10 @@
|
|
|
6472
6472
|
transform: rotate(180deg);
|
|
6473
6473
|
}
|
|
6474
6474
|
|
|
6475
|
-
@keyframes opus_dSk-ve_showMoreLabelIn {
|
|
6476
|
-
from {
|
|
6477
|
-
opacity: 0;
|
|
6478
|
-
transform: translateY(3px);
|
|
6479
|
-
}
|
|
6480
|
-
|
|
6481
|
-
to {
|
|
6482
|
-
opacity: 1;
|
|
6483
|
-
transform: translateY(0);
|
|
6484
|
-
}
|
|
6485
|
-
}
|
|
6486
|
-
|
|
6487
6475
|
@media (prefers-reduced-motion: reduce) {
|
|
6488
6476
|
.opus_dSk-ve_contentShell, .opus_dSk-ve_chevron {
|
|
6489
6477
|
transition: none;
|
|
6490
6478
|
}
|
|
6491
|
-
|
|
6492
|
-
.opus_dSk-ve_toggleLabel {
|
|
6493
|
-
animation: none;
|
|
6494
|
-
}
|
|
6495
6479
|
}
|
|
6496
6480
|
|
|
6497
6481
|
/* components/Toast/Toast.module.css */
|
|
@@ -25408,6 +25392,73 @@ button.opus_H9TUGj_root:hover, button.opus_H9TUGj_root:focus-visible {
|
|
|
25408
25392
|
}
|
|
25409
25393
|
}
|
|
25410
25394
|
|
|
25395
|
+
/* components/SyntaxHighlighter/SyntaxHighlighter.module.css */
|
|
25396
|
+
.opus_nFPk0C_root {
|
|
25397
|
+
background: color-mix(in srgb, #090b12 94%, var(--opus-accent) 6%);
|
|
25398
|
+
color: #e8ebf3;
|
|
25399
|
+
white-space: pre;
|
|
25400
|
+
tab-size: 2;
|
|
25401
|
+
border: 1px solid #ffffff1f;
|
|
25402
|
+
border-radius: 9px;
|
|
25403
|
+
margin: 0;
|
|
25404
|
+
padding: 23px 12px 11px;
|
|
25405
|
+
font: 500 .8rem / 1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
25406
|
+
position: relative;
|
|
25407
|
+
overflow: auto;
|
|
25408
|
+
}
|
|
25409
|
+
|
|
25410
|
+
.opus_nFPk0C_language {
|
|
25411
|
+
color: #aab3c4;
|
|
25412
|
+
text-transform: uppercase;
|
|
25413
|
+
letter-spacing: .06em;
|
|
25414
|
+
font: 600 .64rem / 1 ui-monospace, monospace;
|
|
25415
|
+
position: absolute;
|
|
25416
|
+
top: 7px;
|
|
25417
|
+
right: 9px;
|
|
25418
|
+
}
|
|
25419
|
+
|
|
25420
|
+
.opus_nFPk0C_comment {
|
|
25421
|
+
color: #8b96a9;
|
|
25422
|
+
}
|
|
25423
|
+
|
|
25424
|
+
.opus_nFPk0C_keyword {
|
|
25425
|
+
color: #bd93f9;
|
|
25426
|
+
}
|
|
25427
|
+
|
|
25428
|
+
.opus_nFPk0C_number {
|
|
25429
|
+
color: #f8c56b;
|
|
25430
|
+
}
|
|
25431
|
+
|
|
25432
|
+
.opus_nFPk0C_string {
|
|
25433
|
+
color: #a8dc87;
|
|
25434
|
+
}
|
|
25435
|
+
|
|
25436
|
+
[data-preview-root][data-theme="light"] .opus_nFPk0C_root, [data-theme="light"] .opus_nFPk0C_root {
|
|
25437
|
+
border-color: color-mix(in srgb, var(--opus-border) 82%, var(--opus-accent));
|
|
25438
|
+
background: color-mix(in srgb, var(--opus-panel) 88%, var(--opus-accent) 12%);
|
|
25439
|
+
color: #1c2131;
|
|
25440
|
+
}
|
|
25441
|
+
|
|
25442
|
+
[data-preview-root][data-theme="light"] .opus_nFPk0C_language, [data-theme="light"] .opus_nFPk0C_language {
|
|
25443
|
+
color: #5d667d;
|
|
25444
|
+
}
|
|
25445
|
+
|
|
25446
|
+
[data-preview-root][data-theme="light"] .opus_nFPk0C_comment, [data-theme="light"] .opus_nFPk0C_comment {
|
|
25447
|
+
color: #65708a;
|
|
25448
|
+
}
|
|
25449
|
+
|
|
25450
|
+
[data-preview-root][data-theme="light"] .opus_nFPk0C_keyword, [data-theme="light"] .opus_nFPk0C_keyword {
|
|
25451
|
+
color: #6f3ec4;
|
|
25452
|
+
}
|
|
25453
|
+
|
|
25454
|
+
[data-preview-root][data-theme="light"] .opus_nFPk0C_number, [data-theme="light"] .opus_nFPk0C_number {
|
|
25455
|
+
color: #9b5b06;
|
|
25456
|
+
}
|
|
25457
|
+
|
|
25458
|
+
[data-preview-root][data-theme="light"] .opus_nFPk0C_string, [data-theme="light"] .opus_nFPk0C_string {
|
|
25459
|
+
color: #257a4f;
|
|
25460
|
+
}
|
|
25461
|
+
|
|
25411
25462
|
/* components/ChatBubble/ChatBubble.module.css */
|
|
25412
25463
|
.opus_709yhz_group {
|
|
25413
25464
|
width: 100%;
|
|
@@ -25439,12 +25490,12 @@ button.opus_H9TUGj_root:hover, button.opus_H9TUGj_root:focus-visible {
|
|
|
25439
25490
|
}
|
|
25440
25491
|
|
|
25441
25492
|
.opus_709yhz_bubble {
|
|
25442
|
-
border: 1px solid color-mix(in srgb, var(--opus-border) 78%, transparent);
|
|
25443
|
-
background: var(--chat-bubble-background, color-mix(in srgb, var(--opus-panel) 78%, var(--opus-accent) 22%));
|
|
25493
|
+
border: 1px solid var(--chat-bubble-border-active, color-mix(in srgb, var(--opus-border) 78%, transparent));
|
|
25494
|
+
background: var(--chat-bubble-background-active, color-mix(in srgb, var(--opus-panel) 78%, var(--opus-accent) 22%));
|
|
25444
25495
|
width: fit-content;
|
|
25445
25496
|
min-width: 0;
|
|
25446
25497
|
max-width: 100%;
|
|
25447
|
-
color: var(--chat-bubble-foreground, var(--opus-text));
|
|
25498
|
+
color: var(--chat-bubble-foreground-active, var(--opus-text));
|
|
25448
25499
|
overflow-wrap: anywhere;
|
|
25449
25500
|
border-radius: 16px;
|
|
25450
25501
|
padding: 10px 12px;
|
|
@@ -25457,10 +25508,22 @@ button.opus_H9TUGj_root:hover, button.opus_H9TUGj_root:focus-visible {
|
|
|
25457
25508
|
}
|
|
25458
25509
|
|
|
25459
25510
|
.opus_709yhz_group[data-alignment="right"] .opus_709yhz_bubble {
|
|
25460
|
-
border-color: color-mix(in srgb, var(--opus-accent) 70%, var(--opus-border));
|
|
25511
|
+
border-color: var(--chat-bubble-border-active, color-mix(in srgb, var(--opus-accent) 70%, var(--opus-border)));
|
|
25461
25512
|
justify-self: end;
|
|
25462
25513
|
}
|
|
25463
25514
|
|
|
25515
|
+
[data-preview-root][data-theme="light"] .opus_709yhz_group, [data-theme="light"] .opus_709yhz_group {
|
|
25516
|
+
--chat-bubble-background-active: var(--chat-bubble-background-light);
|
|
25517
|
+
--chat-bubble-foreground-active: var(--chat-bubble-foreground-light);
|
|
25518
|
+
--chat-bubble-border-active: var(--chat-bubble-border-light);
|
|
25519
|
+
}
|
|
25520
|
+
|
|
25521
|
+
[data-preview-root][data-theme="dark"] .opus_709yhz_group, [data-theme="dark"] .opus_709yhz_group {
|
|
25522
|
+
--chat-bubble-background-active: var(--chat-bubble-background-dark);
|
|
25523
|
+
--chat-bubble-foreground-active: var(--chat-bubble-foreground-dark);
|
|
25524
|
+
--chat-bubble-border-active: var(--chat-bubble-border-dark);
|
|
25525
|
+
}
|
|
25526
|
+
|
|
25464
25527
|
.opus_709yhz_message[data-position="first"] .opus_709yhz_bubble {
|
|
25465
25528
|
border-bottom-left-radius: 0;
|
|
25466
25529
|
}
|
|
@@ -25517,60 +25580,162 @@ button.opus_H9TUGj_root:hover, button.opus_H9TUGj_root:focus-visible {
|
|
|
25517
25580
|
}
|
|
25518
25581
|
|
|
25519
25582
|
.opus_709yhz_codeBlock {
|
|
25520
|
-
|
|
25521
|
-
color: #e8ebf3;
|
|
25522
|
-
white-space: pre;
|
|
25523
|
-
tab-size: 2;
|
|
25524
|
-
border-radius: 9px;
|
|
25525
|
-
margin: 8px 0 0;
|
|
25526
|
-
padding: 28px 12px 12px;
|
|
25527
|
-
font: 500 .8rem / 1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
25528
|
-
position: relative;
|
|
25529
|
-
overflow: auto;
|
|
25583
|
+
margin: 0;
|
|
25530
25584
|
}
|
|
25531
25585
|
|
|
25532
25586
|
.opus_709yhz_text + .opus_709yhz_codeBlock {
|
|
25533
25587
|
margin-top: 8px;
|
|
25534
25588
|
}
|
|
25535
25589
|
|
|
25536
|
-
.
|
|
25537
|
-
color:
|
|
25538
|
-
text-transform: uppercase;
|
|
25539
|
-
letter-spacing: .06em;
|
|
25540
|
-
font: 600 .64rem / 1 ui-monospace, monospace;
|
|
25541
|
-
position: absolute;
|
|
25542
|
-
top: 7px;
|
|
25543
|
-
right: 9px;
|
|
25590
|
+
.opus_709yhz_group[data-alignment="right"] .ShowMore_toggle, .opus_709yhz_group[data-alignment="right"] button {
|
|
25591
|
+
color: inherit;
|
|
25544
25592
|
}
|
|
25545
25593
|
|
|
25546
|
-
|
|
25547
|
-
|
|
25594
|
+
@media (width <= 480px) {
|
|
25595
|
+
.opus_709yhz_messages {
|
|
25596
|
+
max-width: calc(100% - 38px);
|
|
25597
|
+
}
|
|
25598
|
+
|
|
25599
|
+
.opus_709yhz_group {
|
|
25600
|
+
gap: 8px;
|
|
25601
|
+
}
|
|
25548
25602
|
}
|
|
25549
25603
|
|
|
25550
|
-
.
|
|
25551
|
-
|
|
25604
|
+
/* components/Heading/Heading.module.css */
|
|
25605
|
+
.opus_FsO1sa_heading {
|
|
25606
|
+
color: var(--opus-text);
|
|
25607
|
+
font: inherit;
|
|
25608
|
+
letter-spacing: -.025em;
|
|
25609
|
+
margin: 0;
|
|
25610
|
+
line-height: 1.16;
|
|
25552
25611
|
}
|
|
25553
25612
|
|
|
25554
|
-
.
|
|
25555
|
-
|
|
25613
|
+
.opus_FsO1sa_heading[data-size="100"] {
|
|
25614
|
+
font-size: 1.125rem;
|
|
25556
25615
|
}
|
|
25557
25616
|
|
|
25558
|
-
.
|
|
25559
|
-
|
|
25617
|
+
.opus_FsO1sa_heading[data-size="200"] {
|
|
25618
|
+
font-size: 1.375rem;
|
|
25560
25619
|
}
|
|
25561
25620
|
|
|
25562
|
-
.
|
|
25563
|
-
|
|
25621
|
+
.opus_FsO1sa_heading[data-size="300"] {
|
|
25622
|
+
font-size: 1.75rem;
|
|
25564
25623
|
}
|
|
25565
25624
|
|
|
25566
|
-
|
|
25567
|
-
.
|
|
25568
|
-
|
|
25569
|
-
}
|
|
25625
|
+
.opus_FsO1sa_heading[data-size="400"] {
|
|
25626
|
+
font-size: 2.25rem;
|
|
25627
|
+
}
|
|
25570
25628
|
|
|
25571
|
-
|
|
25572
|
-
|
|
25573
|
-
|
|
25629
|
+
.opus_FsO1sa_heading[data-size="500"] {
|
|
25630
|
+
font-size: 3rem;
|
|
25631
|
+
}
|
|
25632
|
+
|
|
25633
|
+
.opus_FsO1sa_heading[data-weight="300"] {
|
|
25634
|
+
font-weight: 300;
|
|
25635
|
+
}
|
|
25636
|
+
|
|
25637
|
+
.opus_FsO1sa_heading[data-weight="400"] {
|
|
25638
|
+
font-weight: 400;
|
|
25639
|
+
}
|
|
25640
|
+
|
|
25641
|
+
.opus_FsO1sa_heading[data-weight="500"] {
|
|
25642
|
+
font-weight: 500;
|
|
25643
|
+
}
|
|
25644
|
+
|
|
25645
|
+
.opus_FsO1sa_heading[data-weight="600"] {
|
|
25646
|
+
font-weight: 600;
|
|
25647
|
+
}
|
|
25648
|
+
|
|
25649
|
+
.opus_FsO1sa_heading[data-weight="700"] {
|
|
25650
|
+
font-weight: 700;
|
|
25651
|
+
}
|
|
25652
|
+
|
|
25653
|
+
.opus_FsO1sa_heading[data-padding="snug"] {
|
|
25654
|
+
padding-block: 0;
|
|
25655
|
+
}
|
|
25656
|
+
|
|
25657
|
+
.opus_FsO1sa_heading[data-padding="compact"] {
|
|
25658
|
+
padding-block: .25rem;
|
|
25659
|
+
}
|
|
25660
|
+
|
|
25661
|
+
.opus_FsO1sa_heading[data-padding="comfortable"] {
|
|
25662
|
+
padding-block: .5rem;
|
|
25663
|
+
}
|
|
25664
|
+
|
|
25665
|
+
.opus_FsO1sa_heading[data-padding="relaxed"] {
|
|
25666
|
+
padding-block: 1rem;
|
|
25667
|
+
}
|
|
25668
|
+
|
|
25669
|
+
.opus_FsO1sa_heading[data-padding="cozy"] {
|
|
25670
|
+
padding-block: 1.5rem;
|
|
25671
|
+
}
|
|
25672
|
+
|
|
25673
|
+
/* components/Text/Text.module.css */
|
|
25674
|
+
.opus_oXzPYi_text {
|
|
25675
|
+
color: var(--opus-text);
|
|
25676
|
+
font: inherit;
|
|
25677
|
+
margin: 0;
|
|
25678
|
+
line-height: 1.55;
|
|
25679
|
+
}
|
|
25680
|
+
|
|
25681
|
+
.opus_oXzPYi_text[data-size="100"] {
|
|
25682
|
+
font-size: .75rem;
|
|
25683
|
+
}
|
|
25684
|
+
|
|
25685
|
+
.opus_oXzPYi_text[data-size="200"] {
|
|
25686
|
+
font-size: .875rem;
|
|
25687
|
+
}
|
|
25688
|
+
|
|
25689
|
+
.opus_oXzPYi_text[data-size="300"] {
|
|
25690
|
+
font-size: 1rem;
|
|
25691
|
+
}
|
|
25692
|
+
|
|
25693
|
+
.opus_oXzPYi_text[data-size="400"] {
|
|
25694
|
+
font-size: 1.125rem;
|
|
25695
|
+
}
|
|
25696
|
+
|
|
25697
|
+
.opus_oXzPYi_text[data-size="500"] {
|
|
25698
|
+
font-size: 1.25rem;
|
|
25699
|
+
}
|
|
25700
|
+
|
|
25701
|
+
.opus_oXzPYi_text[data-weight="300"] {
|
|
25702
|
+
font-weight: 300;
|
|
25703
|
+
}
|
|
25704
|
+
|
|
25705
|
+
.opus_oXzPYi_text[data-weight="400"] {
|
|
25706
|
+
font-weight: 400;
|
|
25707
|
+
}
|
|
25708
|
+
|
|
25709
|
+
.opus_oXzPYi_text[data-weight="500"] {
|
|
25710
|
+
font-weight: 500;
|
|
25711
|
+
}
|
|
25712
|
+
|
|
25713
|
+
.opus_oXzPYi_text[data-weight="600"] {
|
|
25714
|
+
font-weight: 600;
|
|
25715
|
+
}
|
|
25716
|
+
|
|
25717
|
+
.opus_oXzPYi_text[data-weight="700"] {
|
|
25718
|
+
font-weight: 700;
|
|
25719
|
+
}
|
|
25720
|
+
|
|
25721
|
+
.opus_oXzPYi_text[data-padding="snug"] {
|
|
25722
|
+
padding-block: 0;
|
|
25723
|
+
}
|
|
25724
|
+
|
|
25725
|
+
.opus_oXzPYi_text[data-padding="compact"] {
|
|
25726
|
+
padding-block: .25rem;
|
|
25727
|
+
}
|
|
25728
|
+
|
|
25729
|
+
.opus_oXzPYi_text[data-padding="comfortable"] {
|
|
25730
|
+
padding-block: .5rem;
|
|
25731
|
+
}
|
|
25732
|
+
|
|
25733
|
+
.opus_oXzPYi_text[data-padding="relaxed"] {
|
|
25734
|
+
padding-block: 1rem;
|
|
25735
|
+
}
|
|
25736
|
+
|
|
25737
|
+
.opus_oXzPYi_text[data-padding="cozy"] {
|
|
25738
|
+
padding-block: 1.5rem;
|
|
25574
25739
|
}
|
|
25575
25740
|
|
|
25576
25741
|
/* components/Asteroids/Asteroids.module.css */
|