opus-react 0.3.1 → 0.3.3

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
@@ -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-border) 62%, transparent);
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) 14%, transparent);
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-border) 72%, transparent);
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-muted) 45%, transparent);
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-muted) 52%, var(--opus-panel));
9569
- background-color: color-mix(in srgb, var(--opus-muted) 42%, var(--opus-panel));
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: light-dark(#fff, #070912);
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: color-mix(in srgb, var(--opus-accent) 68%, var(--opus-border));
9606
- background-color: color-mix(in srgb, var(--opus-accent) 68%, var(--opus-panel));
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: flex-start;
10776
+ align-items: center;
10776
10777
  margin: 0;
10777
10778
  padding: 0 2px;
10778
10779
  font-size: .8rem;
@@ -10782,10 +10783,21 @@
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-size: 96px;
10793
+ --tile-width: 106px;
10794
+ --tile-height: 101px;
10787
10795
  grid-auto-flow: column;
10788
- grid-auto-columns: var(--tile-size);
10796
+ grid-auto-columns: var(--tile-width);
10797
+ -ms-overflow-style: none;
10798
+ scrollbar-width: none;
10799
+ scroll-behavior: smooth;
10800
+ scroll-snap-type: x mandatory;
10789
10801
  background: none;
10790
10802
  border: 0;
10791
10803
  justify-content: start;
@@ -10799,28 +10811,87 @@
10799
10811
  overflow-x: auto;
10800
10812
  }
10801
10813
 
10814
+ .opus_zD82gC_row::-webkit-scrollbar {
10815
+ width: 0;
10816
+ height: 0;
10817
+ display: none;
10818
+ }
10819
+
10820
+ .opus_zD82gC_moreButton {
10821
+ z-index: 2;
10822
+ width: 24px;
10823
+ height: 76px;
10824
+ color: color-mix(in srgb, var(--accent-color, #9b72ff) 72%, white);
10825
+ cursor: pointer;
10826
+ background: color-mix(in srgb, var(--surface-raised, #11182a) 84%, var(--accent-color, #9b72ff) 16%);
10827
+ border: 1px solid color-mix(in srgb, var(--accent-color, #9b72ff) 42%, transparent);
10828
+ backdrop-filter: blur(8px);
10829
+ place-items: center;
10830
+ padding: 0;
10831
+ font-size: 14px;
10832
+ transition: color .16s, background-color .16s, border-color .16s, box-shadow .16s;
10833
+ display: grid;
10834
+ position: absolute;
10835
+ top: 50%;
10836
+ transform: translateY(-50%);
10837
+ }
10838
+
10839
+ .opus_zD82gC_moreButton svg {
10840
+ width: 9px;
10841
+ height: 14px;
10842
+ filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent-color, #9b72ff) 72%, transparent));
10843
+ transition: filter .16s;
10844
+ }
10845
+
10846
+ .opus_zD82gC_previousButton {
10847
+ box-shadow: 10px 0 24px color-mix(in srgb, var(--surface-base, #080b18) 80%, transparent);
10848
+ border-left: 0;
10849
+ border-radius: 0 18px 18px 0;
10850
+ left: 0;
10851
+ }
10852
+
10853
+ .opus_zD82gC_nextButton {
10854
+ box-shadow: -10px 0 24px color-mix(in srgb, var(--surface-base, #080b18) 80%, transparent);
10855
+ border-right: 0;
10856
+ border-radius: 18px 0 0 18px;
10857
+ right: 0;
10858
+ }
10859
+
10860
+ .opus_zD82gC_moreButton:hover, .opus_zD82gC_moreButton:focus-visible {
10861
+ color: var(--surface-base, #080b18);
10862
+ background: var(--accent-color, #9b72ff);
10863
+ outline: none;
10864
+ }
10865
+
10866
+ .opus_zD82gC_moreButton:focus-visible {
10867
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color, #9b72ff) 35%, transparent);
10868
+ }
10869
+
10802
10870
  .opus_zD82gC_row[data-layout="fill"] {
10803
10871
  grid-auto-columns: unset;
10804
10872
  justify-content: stretch;
10805
10873
  }
10806
10874
 
10807
10875
  .opus_zD82gC_tile {
10808
- width: var(--tile-size);
10809
- height: var(--tile-size);
10876
+ width: var(--tile-width);
10877
+ height: var(--tile-height);
10810
10878
  }
10811
10879
 
10812
10880
  .opus_zD82gC_tileItem {
10881
+ scroll-snap-align: start;
10882
+ scroll-snap-stop: normal;
10813
10883
  min-width: 0;
10814
10884
  }
10815
10885
 
10816
10886
  .opus_zD82gC_row[data-layout="fill"] .opus_zD82gC_tile {
10817
10887
  width: 100%;
10818
- height: var(--tile-size);
10888
+ height: var(--tile-height);
10819
10889
  }
10820
10890
 
10821
10891
  @media (width <= 900px) {
10822
10892
  .opus_zD82gC_row {
10823
- --tile-size: 92px;
10893
+ --tile-width: 102px;
10894
+ --tile-height: 97px;
10824
10895
  }
10825
10896
  }
10826
10897
 
@@ -10959,6 +11030,18 @@
10959
11030
  color: #ef4444;
10960
11031
  }
10961
11032
 
11033
+ .opus_8DpwUV_trend[data-trend-tone="positive"] {
11034
+ color: #22c55e;
11035
+ }
11036
+
11037
+ .opus_8DpwUV_trend[data-trend-tone="negative"] {
11038
+ color: #ef4444;
11039
+ }
11040
+
11041
+ .opus_8DpwUV_trend[data-trend-tone="warning"] {
11042
+ color: #f59e0b;
11043
+ }
11044
+
10962
11045
  .opus_8DpwUV_comparison {
10963
11046
  color: var(--tile-muted);
10964
11047
  margin: 0;
@@ -11008,24 +11091,94 @@
11008
11091
  }
11009
11092
 
11010
11093
  /* components/StatTiles/StatTiles.module.css */
11094
+ .opus_uhJd8v_viewport {
11095
+ width: calc(100% + var(--stat-tiles-edge-offset, 0px) + var(--stat-tiles-edge-offset, 0px));
11096
+ min-width: 0;
11097
+ margin-inline-start: calc(0px - var(--stat-tiles-edge-offset, 0px));
11098
+ position: relative;
11099
+ }
11100
+
11011
11101
  .opus_uhJd8v_row {
11012
11102
  --stat-tile-size: 12.75rem;
11103
+ --stat-tile-min: 9rem;
11013
11104
  --stat-tile-height: 6.75rem;
11014
11105
  grid-auto-flow: column;
11015
11106
  grid-auto-columns: var(--stat-tile-size);
11107
+ -ms-overflow-style: none;
11108
+ scrollbar-width: none;
11109
+ scroll-behavior: smooth;
11110
+ width: 100%;
11111
+ min-width: 0;
11112
+ scroll-padding-inline: var(--stat-tiles-edge-offset, 0px);
11113
+ scroll-snap-type: x mandatory;
11114
+ padding: 0 var(--stat-tiles-edge-offset, 0px);
11115
+ box-sizing: border-box;
11016
11116
  background: none;
11017
11117
  border: 0;
11018
11118
  justify-content: start;
11019
11119
  align-items: start;
11020
11120
  gap: 12px;
11021
- width: 100%;
11022
- min-width: 0;
11023
- padding: 0;
11024
11121
  display: grid;
11025
11122
  position: relative;
11026
11123
  overflow-x: auto;
11027
11124
  }
11028
11125
 
11126
+ .opus_uhJd8v_row::-webkit-scrollbar {
11127
+ width: 0;
11128
+ height: 0;
11129
+ display: none;
11130
+ }
11131
+
11132
+ .opus_uhJd8v_moreButton {
11133
+ z-index: 2;
11134
+ width: 24px;
11135
+ height: 76px;
11136
+ color: color-mix(in srgb, var(--accent-color, #9b72ff) 72%, white);
11137
+ cursor: pointer;
11138
+ background: color-mix(in srgb, var(--surface-raised, #11182a) 84%, var(--accent-color, #9b72ff) 16%);
11139
+ border: 1px solid color-mix(in srgb, var(--accent-color, #9b72ff) 42%, transparent);
11140
+ backdrop-filter: blur(8px);
11141
+ place-items: center;
11142
+ padding: 0;
11143
+ font-size: 14px;
11144
+ transition: color .16s, background-color .16s, border-color .16s, box-shadow .16s;
11145
+ display: grid;
11146
+ position: absolute;
11147
+ top: 50%;
11148
+ transform: translateY(-50%);
11149
+ }
11150
+
11151
+ .opus_uhJd8v_moreButton svg {
11152
+ width: 9px;
11153
+ height: 14px;
11154
+ filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent-color, #9b72ff) 72%, transparent));
11155
+ transition: filter .16s;
11156
+ }
11157
+
11158
+ .opus_uhJd8v_moreButton:hover, .opus_uhJd8v_moreButton:focus-visible {
11159
+ color: var(--surface-base, #080b18);
11160
+ background: var(--accent-color, #9b72ff);
11161
+ outline: none;
11162
+ }
11163
+
11164
+ .opus_uhJd8v_moreButton:focus-visible {
11165
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color, #9b72ff) 35%, transparent);
11166
+ }
11167
+
11168
+ .opus_uhJd8v_previousButton {
11169
+ box-shadow: 10px 0 24px color-mix(in srgb, var(--surface-base, #080b18) 80%, transparent);
11170
+ border-left: 0;
11171
+ border-radius: 0 18px 18px 0;
11172
+ left: 0;
11173
+ }
11174
+
11175
+ .opus_uhJd8v_nextButton {
11176
+ box-shadow: -10px 0 24px color-mix(in srgb, var(--surface-base, #080b18) 80%, transparent);
11177
+ border-right: 0;
11178
+ border-radius: 18px 0 0 18px;
11179
+ right: 0;
11180
+ }
11181
+
11029
11182
  .opus_uhJd8v_row[data-layout="fill"] {
11030
11183
  grid-auto-columns: unset;
11031
11184
  justify-content: stretch;
@@ -11036,6 +11189,8 @@
11036
11189
  }
11037
11190
 
11038
11191
  .opus_uhJd8v_statTileItem {
11192
+ scroll-snap-align: start;
11193
+ scroll-snap-stop: normal;
11039
11194
  min-width: 0;
11040
11195
  }
11041
11196
 
@@ -12450,6 +12605,44 @@
12450
12605
  grid-area: opus_ThZ-Bi_composer;
12451
12606
  }
12452
12607
 
12608
+ .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 {
12609
+ animation: .18s ease-out both opus_ThZ-Bi_notesActivityEnterFromLeft;
12610
+ }
12611
+
12612
+ .opus_ThZ-Bi_root[data-active-tab="activity"] .opus_ThZ-Bi_feed, .opus_ThZ-Bi_root[data-active-tab="activity"] .opus_ThZ-Bi_footer {
12613
+ animation: .18s ease-out both opus_ThZ-Bi_notesActivityEnterFromRight;
12614
+ }
12615
+
12616
+ @keyframes opus_ThZ-Bi_notesActivityEnterFromLeft {
12617
+ from {
12618
+ opacity: 0;
12619
+ transform: translateX(-6px);
12620
+ }
12621
+
12622
+ to {
12623
+ opacity: 1;
12624
+ transform: translateX(0);
12625
+ }
12626
+ }
12627
+
12628
+ @keyframes opus_ThZ-Bi_notesActivityEnterFromRight {
12629
+ from {
12630
+ opacity: 0;
12631
+ transform: translateX(6px);
12632
+ }
12633
+
12634
+ to {
12635
+ opacity: 1;
12636
+ transform: translateX(0);
12637
+ }
12638
+ }
12639
+
12640
+ @media (prefers-reduced-motion: reduce) {
12641
+ .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 {
12642
+ animation: none;
12643
+ }
12644
+ }
12645
+
12453
12646
  .opus_ThZ-Bi_threadItems {
12454
12647
  --thread-child-avatar-size: var(--notes-activity-avatar-size);
12455
12648
  --thread-indent: .325rem;
@@ -16338,6 +16531,54 @@ button.opus_H9TUGj_root:hover, button.opus_H9TUGj_root:focus-visible {
16338
16531
  }
16339
16532
  }
16340
16533
 
16534
+ /* components/WelcomeMessage/WelcomeMessage.module.css */
16535
+ .opus_cZqjKS_root {
16536
+ min-width: 0;
16537
+ }
16538
+
16539
+ .opus_cZqjKS_heading {
16540
+ color: var(--dashboard-section-text, var(--opus-text));
16541
+ letter-spacing: -.025em;
16542
+ margin: 0;
16543
+ font-size: clamp(1.5rem, 2.4vw, 2rem);
16544
+ font-weight: 650;
16545
+ line-height: 1.15;
16546
+ }
16547
+
16548
+ .opus_cZqjKS_wave {
16549
+ transform-origin: 70% 70%;
16550
+ margin-left: .45em;
16551
+ font-size: .88em;
16552
+ display: inline-block;
16553
+ }
16554
+
16555
+ .opus_cZqjKS_subtitle {
16556
+ color: var(--dashboard-section-muted, var(--opus-muted));
16557
+ margin: 8px 0 0;
16558
+ font-size: .95rem;
16559
+ line-height: 1.5;
16560
+ }
16561
+
16562
+ @media (prefers-reduced-motion: no-preference) {
16563
+ .opus_cZqjKS_root:hover .opus_cZqjKS_wave {
16564
+ animation: .65s ease-in-out opus_cZqjKS_welcome-wave;
16565
+ }
16566
+ }
16567
+
16568
+ @keyframes opus_cZqjKS_welcome-wave {
16569
+ 0%, 100% {
16570
+ transform: rotate(0);
16571
+ }
16572
+
16573
+ 30% {
16574
+ transform: rotate(15deg);
16575
+ }
16576
+
16577
+ 65% {
16578
+ transform: rotate(-8deg);
16579
+ }
16580
+ }
16581
+
16341
16582
  /* components/FontPicker/FontPicker.module.css */
16342
16583
  .opus_ub1fhz_field {
16343
16584
  align-items: center;