opus-react 0.3.1 → 0.3.2
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 +695 -532
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +245 -20
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +21 -3
- package/dist/index.d.ts +21 -3
- package/dist/index.js +832 -671
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -9468,7 +9468,7 @@
|
|
|
9468
9468
|
/* components/ResizeHandle/ResizeHandle.module.css */
|
|
9469
9469
|
.opus_PaKREB_handle {
|
|
9470
9470
|
z-index: 1;
|
|
9471
|
-
background: color-mix(in srgb, var(--opus-
|
|
9471
|
+
background: color-mix(in srgb, var(--opus-accent) 8%, transparent);
|
|
9472
9472
|
touch-action: none;
|
|
9473
9473
|
border: 0;
|
|
9474
9474
|
flex: 0 0 8px;
|
|
@@ -9493,7 +9493,7 @@
|
|
|
9493
9493
|
}
|
|
9494
9494
|
|
|
9495
9495
|
.opus_PaKREB_handle[data-background="accent"] {
|
|
9496
|
-
background: color-mix(in srgb, var(--opus-accent)
|
|
9496
|
+
background: color-mix(in srgb, var(--opus-accent) 8%, transparent);
|
|
9497
9497
|
}
|
|
9498
9498
|
|
|
9499
9499
|
.opus_PaKREB_handle[data-background="contrast"] {
|
|
@@ -9501,7 +9501,7 @@
|
|
|
9501
9501
|
}
|
|
9502
9502
|
|
|
9503
9503
|
.opus_PaKREB_handle:hover, .opus_PaKREB_handle:focus-visible {
|
|
9504
|
-
background: color-mix(in srgb, var(--opus-
|
|
9504
|
+
background: color-mix(in srgb, var(--opus-accent) 22%, transparent);
|
|
9505
9505
|
}
|
|
9506
9506
|
|
|
9507
9507
|
.opus_PaKREB_handle[data-background="none"]:hover, .opus_PaKREB_handle[data-background="none"]:focus-visible {
|
|
@@ -9510,7 +9510,7 @@
|
|
|
9510
9510
|
|
|
9511
9511
|
.opus_PaKREB_handle:after {
|
|
9512
9512
|
content: "";
|
|
9513
|
-
background: color-mix(in srgb, var(--opus-
|
|
9513
|
+
background: color-mix(in srgb, var(--opus-accent) 32%, transparent);
|
|
9514
9514
|
border-radius: 999px;
|
|
9515
9515
|
transition: background .16s, inset .16s;
|
|
9516
9516
|
position: absolute;
|
|
@@ -9565,8 +9565,10 @@
|
|
|
9565
9565
|
|
|
9566
9566
|
.opus_PaKREB_grip {
|
|
9567
9567
|
z-index: 1;
|
|
9568
|
-
border: 1px solid color-mix(in srgb, var(--opus-
|
|
9569
|
-
background-color: color-mix(in srgb, var(--opus-
|
|
9568
|
+
border: 1px solid color-mix(in srgb, var(--opus-accent) 52%, #070912);
|
|
9569
|
+
background-color: color-mix(in srgb, var(--opus-accent) 52%, #070912);
|
|
9570
|
+
box-shadow: 0 1px 3px #00000047,
|
|
9571
|
+
0 0 4px color-mix(in srgb, var(--opus-accent) 7%, transparent);
|
|
9570
9572
|
pointer-events: none;
|
|
9571
9573
|
border-radius: 999px;
|
|
9572
9574
|
justify-content: center;
|
|
@@ -9578,7 +9580,6 @@
|
|
|
9578
9580
|
top: 50%;
|
|
9579
9581
|
left: 50%;
|
|
9580
9582
|
transform: translate(-50%, -50%);
|
|
9581
|
-
box-shadow: 0 1px 3px #00000047, inset 0 1px #ffffff1f;
|
|
9582
9583
|
}
|
|
9583
9584
|
|
|
9584
9585
|
.opus_PaKREB_handle[data-orientation="vertical"] .opus_PaKREB_grip {
|
|
@@ -9594,7 +9595,7 @@
|
|
|
9594
9595
|
}
|
|
9595
9596
|
|
|
9596
9597
|
.opus_PaKREB_dot {
|
|
9597
|
-
background:
|
|
9598
|
+
background: #070912;
|
|
9598
9599
|
border-radius: 50%;
|
|
9599
9600
|
flex: 0 0 4px;
|
|
9600
9601
|
width: 4px;
|
|
@@ -9602,8 +9603,8 @@
|
|
|
9602
9603
|
}
|
|
9603
9604
|
|
|
9604
9605
|
.opus_PaKREB_handle:hover .opus_PaKREB_grip, .opus_PaKREB_handle:focus-visible .opus_PaKREB_grip {
|
|
9605
|
-
border-color:
|
|
9606
|
-
background-color:
|
|
9606
|
+
border-color: var(--opus-accent);
|
|
9607
|
+
background-color: var(--opus-accent);
|
|
9607
9608
|
box-shadow: 0 1px 4px #00000052,
|
|
9608
9609
|
0 0 5px color-mix(in srgb, var(--opus-accent) 14%, transparent);
|
|
9609
9610
|
}
|
|
@@ -10772,7 +10773,7 @@
|
|
|
10772
10773
|
word-break: normal;
|
|
10773
10774
|
flex: auto;
|
|
10774
10775
|
justify-content: center;
|
|
10775
|
-
align-items:
|
|
10776
|
+
align-items: center;
|
|
10776
10777
|
margin: 0;
|
|
10777
10778
|
padding: 0 2px;
|
|
10778
10779
|
font-size: .8rem;
|
|
@@ -10782,10 +10783,19 @@
|
|
|
10782
10783
|
}
|
|
10783
10784
|
|
|
10784
10785
|
/* components/Tiles/Tiles.module.css */
|
|
10786
|
+
.opus_zD82gC_viewport {
|
|
10787
|
+
width: 100%;
|
|
10788
|
+
min-width: 0;
|
|
10789
|
+
position: relative;
|
|
10790
|
+
}
|
|
10791
|
+
|
|
10785
10792
|
.opus_zD82gC_row {
|
|
10786
|
-
--tile-
|
|
10793
|
+
--tile-width: 106px;
|
|
10794
|
+
--tile-height: 101px;
|
|
10787
10795
|
grid-auto-flow: column;
|
|
10788
|
-
grid-auto-columns: var(--tile-
|
|
10796
|
+
grid-auto-columns: var(--tile-width);
|
|
10797
|
+
scroll-behavior: smooth;
|
|
10798
|
+
scroll-snap-type: x mandatory;
|
|
10789
10799
|
background: none;
|
|
10790
10800
|
border: 0;
|
|
10791
10801
|
justify-content: start;
|
|
@@ -10799,28 +10809,81 @@
|
|
|
10799
10809
|
overflow-x: auto;
|
|
10800
10810
|
}
|
|
10801
10811
|
|
|
10812
|
+
.opus_zD82gC_moreButton {
|
|
10813
|
+
z-index: 2;
|
|
10814
|
+
width: 24px;
|
|
10815
|
+
height: 76px;
|
|
10816
|
+
color: color-mix(in srgb, var(--accent-color, #9b72ff) 72%, white);
|
|
10817
|
+
cursor: pointer;
|
|
10818
|
+
background: color-mix(in srgb, var(--surface-raised, #11182a) 84%, var(--accent-color, #9b72ff) 16%);
|
|
10819
|
+
border: 1px solid color-mix(in srgb, var(--accent-color, #9b72ff) 42%, transparent);
|
|
10820
|
+
backdrop-filter: blur(8px);
|
|
10821
|
+
place-items: center;
|
|
10822
|
+
padding: 0;
|
|
10823
|
+
font-size: 14px;
|
|
10824
|
+
transition: color .16s, background-color .16s, border-color .16s, box-shadow .16s;
|
|
10825
|
+
display: grid;
|
|
10826
|
+
position: absolute;
|
|
10827
|
+
top: 50%;
|
|
10828
|
+
transform: translateY(-50%);
|
|
10829
|
+
}
|
|
10830
|
+
|
|
10831
|
+
.opus_zD82gC_moreButton svg {
|
|
10832
|
+
width: 9px;
|
|
10833
|
+
height: 14px;
|
|
10834
|
+
filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent-color, #9b72ff) 72%, transparent));
|
|
10835
|
+
transition: filter .16s;
|
|
10836
|
+
}
|
|
10837
|
+
|
|
10838
|
+
.opus_zD82gC_previousButton {
|
|
10839
|
+
box-shadow: 10px 0 24px color-mix(in srgb, var(--surface-base, #080b18) 80%, transparent);
|
|
10840
|
+
border-left: 0;
|
|
10841
|
+
border-radius: 0 18px 18px 0;
|
|
10842
|
+
left: 0;
|
|
10843
|
+
}
|
|
10844
|
+
|
|
10845
|
+
.opus_zD82gC_nextButton {
|
|
10846
|
+
box-shadow: -10px 0 24px color-mix(in srgb, var(--surface-base, #080b18) 80%, transparent);
|
|
10847
|
+
border-right: 0;
|
|
10848
|
+
border-radius: 18px 0 0 18px;
|
|
10849
|
+
right: 0;
|
|
10850
|
+
}
|
|
10851
|
+
|
|
10852
|
+
.opus_zD82gC_moreButton:hover, .opus_zD82gC_moreButton:focus-visible {
|
|
10853
|
+
color: var(--surface-base, #080b18);
|
|
10854
|
+
background: var(--accent-color, #9b72ff);
|
|
10855
|
+
outline: none;
|
|
10856
|
+
}
|
|
10857
|
+
|
|
10858
|
+
.opus_zD82gC_moreButton:focus-visible {
|
|
10859
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color, #9b72ff) 35%, transparent);
|
|
10860
|
+
}
|
|
10861
|
+
|
|
10802
10862
|
.opus_zD82gC_row[data-layout="fill"] {
|
|
10803
10863
|
grid-auto-columns: unset;
|
|
10804
10864
|
justify-content: stretch;
|
|
10805
10865
|
}
|
|
10806
10866
|
|
|
10807
10867
|
.opus_zD82gC_tile {
|
|
10808
|
-
width: var(--tile-
|
|
10809
|
-
height: var(--tile-
|
|
10868
|
+
width: var(--tile-width);
|
|
10869
|
+
height: var(--tile-height);
|
|
10810
10870
|
}
|
|
10811
10871
|
|
|
10812
10872
|
.opus_zD82gC_tileItem {
|
|
10873
|
+
scroll-snap-align: start;
|
|
10874
|
+
scroll-snap-stop: normal;
|
|
10813
10875
|
min-width: 0;
|
|
10814
10876
|
}
|
|
10815
10877
|
|
|
10816
10878
|
.opus_zD82gC_row[data-layout="fill"] .opus_zD82gC_tile {
|
|
10817
10879
|
width: 100%;
|
|
10818
|
-
height: var(--tile-
|
|
10880
|
+
height: var(--tile-height);
|
|
10819
10881
|
}
|
|
10820
10882
|
|
|
10821
10883
|
@media (width <= 900px) {
|
|
10822
10884
|
.opus_zD82gC_row {
|
|
10823
|
-
--tile-
|
|
10885
|
+
--tile-width: 102px;
|
|
10886
|
+
--tile-height: 97px;
|
|
10824
10887
|
}
|
|
10825
10888
|
}
|
|
10826
10889
|
|
|
@@ -10959,6 +11022,18 @@
|
|
|
10959
11022
|
color: #ef4444;
|
|
10960
11023
|
}
|
|
10961
11024
|
|
|
11025
|
+
.opus_8DpwUV_trend[data-trend-tone="positive"] {
|
|
11026
|
+
color: #22c55e;
|
|
11027
|
+
}
|
|
11028
|
+
|
|
11029
|
+
.opus_8DpwUV_trend[data-trend-tone="negative"] {
|
|
11030
|
+
color: #ef4444;
|
|
11031
|
+
}
|
|
11032
|
+
|
|
11033
|
+
.opus_8DpwUV_trend[data-trend-tone="warning"] {
|
|
11034
|
+
color: #f59e0b;
|
|
11035
|
+
}
|
|
11036
|
+
|
|
10962
11037
|
.opus_8DpwUV_comparison {
|
|
10963
11038
|
color: var(--tile-muted);
|
|
10964
11039
|
margin: 0;
|
|
@@ -11008,24 +11083,86 @@
|
|
|
11008
11083
|
}
|
|
11009
11084
|
|
|
11010
11085
|
/* components/StatTiles/StatTiles.module.css */
|
|
11086
|
+
.opus_uhJd8v_viewport {
|
|
11087
|
+
width: calc(100% + var(--stat-tiles-edge-offset, 0px) + var(--stat-tiles-edge-offset, 0px));
|
|
11088
|
+
min-width: 0;
|
|
11089
|
+
margin-inline-start: calc(0px - var(--stat-tiles-edge-offset, 0px));
|
|
11090
|
+
position: relative;
|
|
11091
|
+
}
|
|
11092
|
+
|
|
11011
11093
|
.opus_uhJd8v_row {
|
|
11012
11094
|
--stat-tile-size: 12.75rem;
|
|
11095
|
+
--stat-tile-min: 9rem;
|
|
11013
11096
|
--stat-tile-height: 6.75rem;
|
|
11014
11097
|
grid-auto-flow: column;
|
|
11015
11098
|
grid-auto-columns: var(--stat-tile-size);
|
|
11099
|
+
scroll-behavior: smooth;
|
|
11100
|
+
width: 100%;
|
|
11101
|
+
min-width: 0;
|
|
11102
|
+
scroll-padding-inline: var(--stat-tiles-edge-offset, 0px);
|
|
11103
|
+
scroll-snap-type: x mandatory;
|
|
11104
|
+
padding: 0 var(--stat-tiles-edge-offset, 0px);
|
|
11105
|
+
box-sizing: border-box;
|
|
11016
11106
|
background: none;
|
|
11017
11107
|
border: 0;
|
|
11018
11108
|
justify-content: start;
|
|
11019
11109
|
align-items: start;
|
|
11020
11110
|
gap: 12px;
|
|
11021
|
-
width: 100%;
|
|
11022
|
-
min-width: 0;
|
|
11023
|
-
padding: 0;
|
|
11024
11111
|
display: grid;
|
|
11025
11112
|
position: relative;
|
|
11026
11113
|
overflow-x: auto;
|
|
11027
11114
|
}
|
|
11028
11115
|
|
|
11116
|
+
.opus_uhJd8v_moreButton {
|
|
11117
|
+
z-index: 2;
|
|
11118
|
+
width: 24px;
|
|
11119
|
+
height: 76px;
|
|
11120
|
+
color: color-mix(in srgb, var(--accent-color, #9b72ff) 72%, white);
|
|
11121
|
+
cursor: pointer;
|
|
11122
|
+
background: color-mix(in srgb, var(--surface-raised, #11182a) 84%, var(--accent-color, #9b72ff) 16%);
|
|
11123
|
+
border: 1px solid color-mix(in srgb, var(--accent-color, #9b72ff) 42%, transparent);
|
|
11124
|
+
backdrop-filter: blur(8px);
|
|
11125
|
+
place-items: center;
|
|
11126
|
+
padding: 0;
|
|
11127
|
+
font-size: 14px;
|
|
11128
|
+
transition: color .16s, background-color .16s, border-color .16s, box-shadow .16s;
|
|
11129
|
+
display: grid;
|
|
11130
|
+
position: absolute;
|
|
11131
|
+
top: 50%;
|
|
11132
|
+
transform: translateY(-50%);
|
|
11133
|
+
}
|
|
11134
|
+
|
|
11135
|
+
.opus_uhJd8v_moreButton svg {
|
|
11136
|
+
width: 9px;
|
|
11137
|
+
height: 14px;
|
|
11138
|
+
filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent-color, #9b72ff) 72%, transparent));
|
|
11139
|
+
transition: filter .16s;
|
|
11140
|
+
}
|
|
11141
|
+
|
|
11142
|
+
.opus_uhJd8v_moreButton:hover, .opus_uhJd8v_moreButton:focus-visible {
|
|
11143
|
+
color: var(--surface-base, #080b18);
|
|
11144
|
+
background: var(--accent-color, #9b72ff);
|
|
11145
|
+
outline: none;
|
|
11146
|
+
}
|
|
11147
|
+
|
|
11148
|
+
.opus_uhJd8v_moreButton:focus-visible {
|
|
11149
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color, #9b72ff) 35%, transparent);
|
|
11150
|
+
}
|
|
11151
|
+
|
|
11152
|
+
.opus_uhJd8v_previousButton {
|
|
11153
|
+
box-shadow: 10px 0 24px color-mix(in srgb, var(--surface-base, #080b18) 80%, transparent);
|
|
11154
|
+
border-left: 0;
|
|
11155
|
+
border-radius: 0 18px 18px 0;
|
|
11156
|
+
left: 0;
|
|
11157
|
+
}
|
|
11158
|
+
|
|
11159
|
+
.opus_uhJd8v_nextButton {
|
|
11160
|
+
box-shadow: -10px 0 24px color-mix(in srgb, var(--surface-base, #080b18) 80%, transparent);
|
|
11161
|
+
border-right: 0;
|
|
11162
|
+
border-radius: 18px 0 0 18px;
|
|
11163
|
+
right: 0;
|
|
11164
|
+
}
|
|
11165
|
+
|
|
11029
11166
|
.opus_uhJd8v_row[data-layout="fill"] {
|
|
11030
11167
|
grid-auto-columns: unset;
|
|
11031
11168
|
justify-content: stretch;
|
|
@@ -11036,6 +11173,8 @@
|
|
|
11036
11173
|
}
|
|
11037
11174
|
|
|
11038
11175
|
.opus_uhJd8v_statTileItem {
|
|
11176
|
+
scroll-snap-align: start;
|
|
11177
|
+
scroll-snap-stop: normal;
|
|
11039
11178
|
min-width: 0;
|
|
11040
11179
|
}
|
|
11041
11180
|
|
|
@@ -12450,6 +12589,44 @@
|
|
|
12450
12589
|
grid-area: opus_ThZ-Bi_composer;
|
|
12451
12590
|
}
|
|
12452
12591
|
|
|
12592
|
+
.opus_ThZ-Bi_root[data-active-tab="notes"] .opus_ThZ-Bi_composer, .opus_ThZ-Bi_root[data-active-tab="notes"] .opus_ThZ-Bi_feed, .opus_ThZ-Bi_root[data-active-tab="notes"] .opus_ThZ-Bi_footer {
|
|
12593
|
+
animation: .18s ease-out both opus_ThZ-Bi_notesActivityEnterFromLeft;
|
|
12594
|
+
}
|
|
12595
|
+
|
|
12596
|
+
.opus_ThZ-Bi_root[data-active-tab="activity"] .opus_ThZ-Bi_feed, .opus_ThZ-Bi_root[data-active-tab="activity"] .opus_ThZ-Bi_footer {
|
|
12597
|
+
animation: .18s ease-out both opus_ThZ-Bi_notesActivityEnterFromRight;
|
|
12598
|
+
}
|
|
12599
|
+
|
|
12600
|
+
@keyframes opus_ThZ-Bi_notesActivityEnterFromLeft {
|
|
12601
|
+
from {
|
|
12602
|
+
opacity: 0;
|
|
12603
|
+
transform: translateX(-6px);
|
|
12604
|
+
}
|
|
12605
|
+
|
|
12606
|
+
to {
|
|
12607
|
+
opacity: 1;
|
|
12608
|
+
transform: translateX(0);
|
|
12609
|
+
}
|
|
12610
|
+
}
|
|
12611
|
+
|
|
12612
|
+
@keyframes opus_ThZ-Bi_notesActivityEnterFromRight {
|
|
12613
|
+
from {
|
|
12614
|
+
opacity: 0;
|
|
12615
|
+
transform: translateX(6px);
|
|
12616
|
+
}
|
|
12617
|
+
|
|
12618
|
+
to {
|
|
12619
|
+
opacity: 1;
|
|
12620
|
+
transform: translateX(0);
|
|
12621
|
+
}
|
|
12622
|
+
}
|
|
12623
|
+
|
|
12624
|
+
@media (prefers-reduced-motion: reduce) {
|
|
12625
|
+
.opus_ThZ-Bi_root[data-active-tab] .opus_ThZ-Bi_composer, .opus_ThZ-Bi_root[data-active-tab] .opus_ThZ-Bi_feed, .opus_ThZ-Bi_root[data-active-tab] .opus_ThZ-Bi_footer {
|
|
12626
|
+
animation: none;
|
|
12627
|
+
}
|
|
12628
|
+
}
|
|
12629
|
+
|
|
12453
12630
|
.opus_ThZ-Bi_threadItems {
|
|
12454
12631
|
--thread-child-avatar-size: var(--notes-activity-avatar-size);
|
|
12455
12632
|
--thread-indent: .325rem;
|
|
@@ -16338,6 +16515,54 @@ button.opus_H9TUGj_root:hover, button.opus_H9TUGj_root:focus-visible {
|
|
|
16338
16515
|
}
|
|
16339
16516
|
}
|
|
16340
16517
|
|
|
16518
|
+
/* components/WelcomeMessage/WelcomeMessage.module.css */
|
|
16519
|
+
.opus_cZqjKS_root {
|
|
16520
|
+
min-width: 0;
|
|
16521
|
+
}
|
|
16522
|
+
|
|
16523
|
+
.opus_cZqjKS_heading {
|
|
16524
|
+
color: var(--dashboard-section-text, var(--opus-text));
|
|
16525
|
+
letter-spacing: -.025em;
|
|
16526
|
+
margin: 0;
|
|
16527
|
+
font-size: clamp(1.5rem, 2.4vw, 2rem);
|
|
16528
|
+
font-weight: 650;
|
|
16529
|
+
line-height: 1.15;
|
|
16530
|
+
}
|
|
16531
|
+
|
|
16532
|
+
.opus_cZqjKS_wave {
|
|
16533
|
+
transform-origin: 70% 70%;
|
|
16534
|
+
margin-left: .45em;
|
|
16535
|
+
font-size: .88em;
|
|
16536
|
+
display: inline-block;
|
|
16537
|
+
}
|
|
16538
|
+
|
|
16539
|
+
.opus_cZqjKS_subtitle {
|
|
16540
|
+
color: var(--dashboard-section-muted, var(--opus-muted));
|
|
16541
|
+
margin: 8px 0 0;
|
|
16542
|
+
font-size: .95rem;
|
|
16543
|
+
line-height: 1.5;
|
|
16544
|
+
}
|
|
16545
|
+
|
|
16546
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
16547
|
+
.opus_cZqjKS_root:hover .opus_cZqjKS_wave {
|
|
16548
|
+
animation: .65s ease-in-out opus_cZqjKS_welcome-wave;
|
|
16549
|
+
}
|
|
16550
|
+
}
|
|
16551
|
+
|
|
16552
|
+
@keyframes opus_cZqjKS_welcome-wave {
|
|
16553
|
+
0%, 100% {
|
|
16554
|
+
transform: rotate(0);
|
|
16555
|
+
}
|
|
16556
|
+
|
|
16557
|
+
30% {
|
|
16558
|
+
transform: rotate(15deg);
|
|
16559
|
+
}
|
|
16560
|
+
|
|
16561
|
+
65% {
|
|
16562
|
+
transform: rotate(-8deg);
|
|
16563
|
+
}
|
|
16564
|
+
}
|
|
16565
|
+
|
|
16341
16566
|
/* components/FontPicker/FontPicker.module.css */
|
|
16342
16567
|
.opus_ub1fhz_field {
|
|
16343
16568
|
align-items: center;
|