api-render-ui 1.1.4 → 1.1.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-render-ui",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "api-render-ui is a UI library that pursues simple and efficient data rendering for openapi.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -67,7 +67,10 @@
67
67
 
68
68
  .codigma-apioperator:hover {
69
69
  cursor: pointer;
70
- color: var(--main-color, var(--primary, #404040));
70
+ color: var(--text, black);
71
+ background-color: var(--hover-bg, rgba(169,199,239,0.12));
72
+ transition: background-color .12s ease, color .12s ease;
73
+ border-radius: 4px;
71
74
  }
72
75
  .codigma-apioperator:active {
73
76
  color: var(--main-color, var(--primary, #404040));
@@ -290,4 +293,10 @@
290
293
  flex: 1 1 0;
291
294
  min-height: 5rem;
292
295
  /* padding: 2px */
296
+ }
297
+ .codigma-apiunit-apioperator:hover {
298
+ cursor: pointer;
299
+ color: var(--text, black);
300
+ background-color: var(--hover-bg, rgba(169,199,239,0.08));
301
+ transition: background-color .12s ease, color .12s ease;
293
302
  }
@@ -68,7 +68,10 @@ export const GLOBAL_STYLES = `.codigma-apioperatorlist {
68
68
 
69
69
  .codigma-apioperator:hover {
70
70
  cursor: pointer;
71
- color: var(--main-color, var(--primary, #404040));
71
+ color: var(--text, black);
72
+ background-color: var(--hover-bg, rgba(169,199,239,0.12));
73
+ transition: background-color .12s ease, color .12s ease;
74
+ border-radius: 4px;
72
75
  }
73
76
  .codigma-apioperator:active {
74
77
  color: var(--main-color, var(--primary, #404040));
@@ -291,4 +294,10 @@ export const GLOBAL_STYLES = `.codigma-apioperatorlist {
291
294
  flex: 1 1 0;
292
295
  min-height: 5rem;
293
296
  /* padding: 2px */
297
+ }
298
+ .codigma-apiunit-apioperator:hover {
299
+ cursor: pointer;
300
+ color: var(--text, black);
301
+ background-color: var(--hover-bg, rgba(169,199,239,0.08));
302
+ transition: background-color .12s ease, color .12s ease;
294
303
  }`;