@visns-studio/visns-components 5.8.18 → 5.8.19

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/package.json CHANGED
@@ -86,7 +86,7 @@
86
86
  "react-dom": "^17.0.0 || ^18.0.0"
87
87
  },
88
88
  "name": "@visns-studio/visns-components",
89
- "version": "5.8.18",
89
+ "version": "5.8.19",
90
90
  "description": "Various packages to assist in the development of our Custom Applications.",
91
91
  "main": "src/index.js",
92
92
  "files": [
@@ -118,7 +118,6 @@ function GenericFormBuilder({ setting, urlParam, userProfile }) {
118
118
  let info = [];
119
119
 
120
120
  // Always show type
121
- info.push(field.label);
122
121
  info.push(fieldTypeLabel);
123
122
 
124
123
  // Show size if not default
@@ -625,6 +625,20 @@ select:not(:placeholder-shown) + .fi__span {
625
625
  user-select: none;
626
626
  }
627
627
 
628
+ // Completely hide field info when modal is open
629
+ .fieldInfo {
630
+ opacity: 0 !important;
631
+ visibility: hidden !important;
632
+ z-index: 1 !important; // Much lower than modal backdrop
633
+ }
634
+
635
+ // Lower z-index of field controls when modal is open
636
+ .fieldControls {
637
+ z-index: 1 !important; // Much lower than modal backdrop
638
+ opacity: 0 !important;
639
+ visibility: hidden !important;
640
+ }
641
+
628
642
  // Disable hover effects on interactive fields when modal is open
629
643
  .interactiveField {
630
644
  &:hover {
@@ -1216,7 +1230,7 @@ select:not(:placeholder-shown) + .fi__span {
1216
1230
  align-items: flex-start;
1217
1231
  opacity: 0;
1218
1232
  transition: opacity 0.2s ease;
1219
- z-index: 10000;
1233
+ z-index: 1002; // Reduced from 10000 to be below modals but above content
1220
1234
  pointer-events: none;
1221
1235
 
1222
1236
  > * {
@@ -1230,34 +1244,38 @@ select:not(:placeholder-shown) + .fi__span {
1230
1244
  top: 8px; // Increased from 4px to provide more space for tooltip above
1231
1245
  left: 50%;
1232
1246
  transform: translateX(-50%);
1233
- background: rgba(var(--primary-rgb), 0.85);
1247
+ background: rgba(
1248
+ var(--primary-rgb),
1249
+ 0.4
1250
+ ); // Much more subtle - reduced from 0.85
1234
1251
  color: white;
1235
- padding: 4px 12px;
1236
- border-radius: 12px;
1237
- font-size: 0.75rem;
1238
- font-weight: 500;
1252
+ padding: 3px 10px; // Slightly smaller padding
1253
+ border-radius: 10px; // Slightly smaller border radius
1254
+ font-size: 0.7rem; // Smaller font size
1255
+ font-weight: 400; // Lighter font weight - reduced from 500
1239
1256
  white-space: nowrap;
1240
- box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
1241
- z-index: 10001;
1257
+ box-shadow: 0 1px 4px rgba(var(--primary-rgb), 0.15); // Much softer shadow
1258
+ z-index: 1001; // Reduced from 10001 to be below modals but above content
1242
1259
  pointer-events: none;
1243
- opacity: 1; // Always visible
1260
+ opacity: 0.7; // More subtle - reduced from 1
1244
1261
  transition: all 0.2s ease;
1245
1262
  max-width: calc(100% - 120px); // Leave space for drag handle and actions
1246
1263
  overflow: hidden;
1247
1264
  text-overflow: ellipsis;
1248
1265
 
1249
- // Enhanced styling on hover
1266
+ // Enhanced styling on hover - more prominent when needed
1250
1267
  .interactiveField:hover & {
1251
1268
  opacity: 1;
1252
- background: var(--primary-color);
1269
+ background: rgba(var(--primary-rgb), 0.85); // Full opacity on hover
1253
1270
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
1254
1271
  transform: translateX(-50%) scale(1.05);
1272
+ font-weight: 500; // Bolder on hover
1255
1273
  }
1256
1274
 
1257
1275
  // Responsive behavior for smaller fields
1258
1276
  @media (max-width: 768px) {
1259
- font-size: 0.7rem;
1260
- padding: 3px 8px;
1277
+ font-size: 0.65rem;
1278
+ padding: 2px 8px;
1261
1279
  max-width: calc(100% - 100px);
1262
1280
  }
1263
1281
  }
@@ -1284,7 +1302,7 @@ select:not(:placeholder-shown) + .fi__span {
1284
1302
  min-width: 40px;
1285
1303
  min-height: 40px;
1286
1304
  position: relative;
1287
- z-index: 10001;
1305
+ z-index: 1003; // Reduced from 10001 to be below modals but above content
1288
1306
 
1289
1307
  svg {
1290
1308
  display: block !important;
@@ -1334,7 +1352,7 @@ select:not(:placeholder-shown) + .fi__span {
1334
1352
  min-width: 36px;
1335
1353
  min-height: 36px;
1336
1354
  position: relative;
1337
- z-index: 10001;
1355
+ z-index: 1003; // Reduced from 10001 to be below modals but above content
1338
1356
 
1339
1357
  svg {
1340
1358
  display: block !important;