opus-react 0.6.5 → 0.6.7

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
@@ -966,12 +966,26 @@
966
966
  width: 78px;
967
967
  }
968
968
 
969
+ .opus_EdjT2u_hint {
970
+ color: var(--opus-muted);
971
+ letter-spacing: .02em;
972
+ text-align: center;
973
+ text-transform: uppercase;
974
+ margin: 0;
975
+ font-size: .72rem;
976
+ font-weight: 600;
977
+ }
978
+
969
979
  .opus_EdjT2u_weekdays, .opus_EdjT2u_grid {
970
980
  grid-template-columns: repeat(7, minmax(0, 1fr));
971
981
  gap: 2px;
972
982
  display: grid;
973
983
  }
974
984
 
985
+ .opus_EdjT2u_rangeGrid {
986
+ gap: 4px 0;
987
+ }
988
+
975
989
  .opus_EdjT2u_weekday {
976
990
  height: 24px;
977
991
  color: var(--opus-muted);
@@ -997,7 +1011,15 @@
997
1011
  display: grid;
998
1012
  }
999
1013
 
1000
- .opus_EdjT2u_day:hover:not(:disabled) {
1014
+ .opus_EdjT2u_dayLabel {
1015
+ border-radius: inherit;
1016
+ place-items: center;
1017
+ width: 100%;
1018
+ height: 100%;
1019
+ display: grid;
1020
+ }
1021
+
1022
+ .opus_EdjT2u_day:hover:not(:disabled):not(.opus_EdjT2u_selected):not(.opus_EdjT2u_inRange):not(.opus_EdjT2u_rangePreview) {
1001
1023
  background: color-mix(in srgb, var(--opus-accent) 10%, transparent);
1002
1024
  }
1003
1025
 
@@ -1017,17 +1039,38 @@
1017
1039
  font-weight: 500;
1018
1040
  }
1019
1041
 
1020
- .opus_EdjT2u_today {
1042
+ .opus_EdjT2u_today:not(.opus_EdjT2u_selected):not(.opus_EdjT2u_inRange):not(.opus_EdjT2u_rangePreview) {
1021
1043
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--opus-accent) 45%, transparent);
1022
1044
  }
1023
1045
 
1024
- .opus_EdjT2u_selected, .opus_EdjT2u_selected:hover:not(:disabled) {
1046
+ .opus_EdjT2u_selected, .opus_EdjT2u_selected:hover:not(:disabled), .opus_EdjT2u_inRange, .opus_EdjT2u_inRange:hover:not(:disabled), .opus_EdjT2u_rangePreview, .opus_EdjT2u_rangePreview:hover:not(:disabled) {
1025
1047
  background: color-mix(in srgb, var(--opus-accent) 82%, #111);
1026
1048
  color: #fff;
1027
1049
  box-shadow: none;
1028
1050
  border-color: #0000;
1029
1051
  }
1030
1052
 
1053
+ .opus_EdjT2u_inRange, .opus_EdjT2u_inRange:hover:not(:disabled), .opus_EdjT2u_rangePreview, .opus_EdjT2u_rangePreview:hover:not(:disabled) {
1054
+ border-radius: 0;
1055
+ }
1056
+
1057
+ .opus_EdjT2u_rangeEndpoint {
1058
+ z-index: 1;
1059
+ position: relative;
1060
+ }
1061
+
1062
+ .opus_EdjT2u_rangeStart {
1063
+ border-radius: 8px 0 0 8px;
1064
+ }
1065
+
1066
+ .opus_EdjT2u_rangeEnd {
1067
+ border-radius: 0 8px 8px 0;
1068
+ }
1069
+
1070
+ .opus_EdjT2u_rangeStart.opus_EdjT2u_rangeEnd {
1071
+ border-radius: 8px;
1072
+ }
1073
+
1031
1074
  .opus_EdjT2u_footer {
1032
1075
  border-top: 1px solid color-mix(in srgb, var(--opus-border) 70%, transparent);
1033
1076
  justify-content: space-between;
@@ -20644,17 +20687,22 @@ button.opus_9Mof8o_block:focus-visible {
20644
20687
 
20645
20688
  /* components/MasonryGrid/MasonryGrid.module.css */
20646
20689
  .opus_Fxxd7-_grid {
20690
+ column-fill: balance;
20647
20691
  width: 100%;
20648
20692
  }
20649
20693
 
20650
20694
  .opus_Fxxd7-_card {
20651
20695
  break-inside: avoid;
20652
20696
  page-break-inside: avoid;
20653
- background: linear-gradient(180deg, color-mix(in srgb, var(--opus-accent) 8%, transparent), transparent 48%),
20654
- color-mix(in srgb, var(--opus-panel) 94%, transparent);
20697
+ border: 1px solid color-mix(in srgb, var(--opus-border) 88%, transparent);
20698
+ background: linear-gradient(180deg, color-mix(in srgb, var(--opus-accent) 10%, transparent), transparent 52%),
20699
+ color-mix(in srgb, var(--opus-panel) 96%, transparent);
20700
+ border-radius: 14px;
20701
+ align-content: start;
20655
20702
  gap: 8px;
20656
20703
  padding: 16px;
20657
20704
  display: grid;
20705
+ box-shadow: 0 10px 24px #00000014;
20658
20706
  }
20659
20707
 
20660
20708
  button.opus_Fxxd7-_card {
@@ -20667,8 +20715,9 @@ button.opus_Fxxd7-_card {
20667
20715
  }
20668
20716
 
20669
20717
  button.opus_Fxxd7-_card:hover {
20670
- background: linear-gradient(180deg, color-mix(in srgb, var(--opus-accent) 15%, transparent), transparent 58%),
20671
- color-mix(in srgb, var(--opus-panel) 94%, transparent);
20718
+ border-color: color-mix(in srgb, var(--opus-accent) 42%, var(--opus-border));
20719
+ background: linear-gradient(180deg, color-mix(in srgb, var(--opus-accent) 16%, transparent), transparent 58%),
20720
+ color-mix(in srgb, var(--opus-panel) 96%, transparent);
20672
20721
  }
20673
20722
 
20674
20723
  button.opus_Fxxd7-_card:focus-visible {
@@ -22046,17 +22095,16 @@ button.opus_Fxxd7-_card:focus-visible {
22046
22095
  z-index: 1000;
22047
22096
  border: 1px solid var(--opus-border-strong);
22048
22097
  background: color-mix(in srgb, var(--opus-panel) 97%, transparent);
22049
- width: min(320px, 86vw);
22098
+ width: min(320px, 100vw - 32px);
22050
22099
  max-height: min(70vh, 520px);
22051
22100
  box-shadow: var(--opus-shadow), 0 18px 48px #00000052;
22052
22101
  backdrop-filter: blur(18px);
22053
22102
  border-radius: 12px;
22054
22103
  gap: 12px;
22104
+ margin: 0;
22055
22105
  padding: 12px;
22056
22106
  display: grid;
22057
- position: absolute;
22058
- top: calc(100% + 8px);
22059
- right: 0;
22107
+ position: fixed;
22060
22108
  overflow: auto;
22061
22109
  }
22062
22110