@zerohive/hive-viewer 2.0.2 → 2.0.4

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/styles.css CHANGED
@@ -589,6 +589,17 @@
589
589
  overflow: hidden;
590
590
  }
591
591
 
592
+ .hv-text-scroll-surface {
593
+ width: 816px;
594
+ min-height: 0;
595
+ overflow: visible;
596
+ }
597
+
598
+ .hv-text-scroll-content {
599
+ width: 100%;
600
+ min-height: 0;
601
+ }
602
+
592
603
  .hv-richtext-authoring-shell {
593
604
  width: 100%;
594
605
  min-width: 100%;
@@ -1016,23 +1027,64 @@
1016
1027
  inset: 0;
1017
1028
  pointer-events: auto;
1018
1029
  cursor: crosshair;
1019
- background: rgba(79, 70, 229, 0.08);
1020
- outline: 2px dashed rgba(79, 70, 229, 0.3);
1021
- outline-offset: -8px;
1030
+ background:
1031
+ radial-gradient(circle at center, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0.03));
1032
+ outline: 2px dashed rgba(79, 70, 229, 0.36);
1033
+ outline-offset: -10px;
1022
1034
  }
1023
1035
 
1024
- .hv-signature-overlay-hint {
1036
+ .hv-signature-overlay-banner {
1025
1037
  position: absolute;
1026
1038
  top: 16px;
1039
+ left: 16px;
1027
1040
  right: 16px;
1028
- max-width: 260px;
1029
- padding: 10px 12px;
1041
+ display: flex;
1042
+ align-items: flex-start;
1043
+ justify-content: space-between;
1044
+ gap: 12px;
1045
+ padding: 12px 14px;
1046
+ border-radius: 16px;
1047
+ background: rgba(15, 23, 42, 0.84);
1048
+ border: 1px solid rgba(255, 255, 255, 0.12);
1049
+ color: #fff;
1050
+ box-shadow: var(--hv-shadow);
1051
+ }
1052
+
1053
+ .hv-signature-overlay-banner-copy {
1054
+ display: flex;
1055
+ flex-direction: column;
1056
+ gap: 4px;
1057
+ min-width: 0;
1058
+ }
1059
+
1060
+ .hv-signature-overlay-title {
1061
+ font-size: 12px;
1062
+ font-weight: 700;
1063
+ letter-spacing: 0.04em;
1064
+ text-transform: uppercase;
1065
+ }
1066
+
1067
+ .hv-signature-overlay-hint {
1068
+ max-width: 420px;
1069
+ font-size: 12px;
1070
+ line-height: 1.45;
1071
+ color: rgba(255, 255, 255, 0.92);
1072
+ }
1073
+
1074
+ .hv-signature-overlay-cancel {
1075
+ flex: 0 0 auto;
1076
+ border: 1px solid rgba(255, 255, 255, 0.18);
1030
1077
  border-radius: 999px;
1031
- background: rgba(15, 23, 42, 0.82);
1078
+ background: rgba(255, 255, 255, 0.1);
1032
1079
  color: #fff;
1033
1080
  font-size: 12px;
1034
- font-weight: 600;
1035
- box-shadow: var(--hv-shadow);
1081
+ font-weight: 700;
1082
+ padding: 8px 12px;
1083
+ cursor: pointer;
1084
+ }
1085
+
1086
+ .hv-signature-overlay-cancel:hover {
1087
+ background: rgba(255, 255, 255, 0.16);
1036
1088
  }
1037
1089
 
1038
1090
  .hv-signature-stamp {
@@ -1052,6 +1104,11 @@
1052
1104
  cursor: pointer;
1053
1105
  }
1054
1106
 
1107
+ .hv-signature-stamp:hover {
1108
+ background: rgba(255, 255, 255, 0.72);
1109
+ border-color: rgba(148, 163, 184, 0.35);
1110
+ }
1111
+
1055
1112
  .hv-signature-stamp.active {
1056
1113
  background: rgba(255, 255, 255, 0.92);
1057
1114
  border-color: rgba(79, 70, 229, 0.7);
@@ -1059,12 +1116,26 @@
1059
1116
  cursor: move;
1060
1117
  }
1061
1118
 
1119
+ .hv-signature-ghost {
1120
+ pointer-events: none;
1121
+ background: rgba(255, 255, 255, 0.8);
1122
+ border-color: rgba(79, 70, 229, 0.5);
1123
+ box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.16), 0 18px 32px rgba(15, 23, 42, 0.12);
1124
+ opacity: 0.94;
1125
+ }
1126
+
1127
+ .hv-signature-ghost .hv-signature-meta {
1128
+ color: #475569;
1129
+ }
1130
+
1062
1131
  .hv-signature-image {
1063
1132
  flex: 1 1 auto;
1064
1133
  min-height: 0;
1065
1134
  width: 100%;
1066
1135
  height: 100%;
1067
1136
  display: block;
1137
+ object-fit: contain;
1138
+ object-position: center center;
1068
1139
  pointer-events: none;
1069
1140
  }
1070
1141
 
@@ -1343,6 +1414,12 @@
1343
1414
  color: #b45309;
1344
1415
  }
1345
1416
 
1417
+ .hv-annotation-ghost {
1418
+ pointer-events: none;
1419
+ opacity: 0.9;
1420
+ border-style: dashed;
1421
+ }
1422
+
1346
1423
  .hv-annotation-resize {
1347
1424
  position: absolute;
1348
1425
  right: -5px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerohive/hive-viewer",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",