@neovici/cosmoz-omnitable 14.0.3 → 14.0.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.
@@ -14,7 +14,8 @@ const checkbox = css`
14
14
  user-select: none;
15
15
  cursor: pointer;
16
16
  display: inline-block;
17
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.16) inset;
17
+ box-shadow: 0 0 0 2px
18
+ var(--cosmoz-omnitable-checkbox-shadow-color, rgba(0, 0, 0, 0.16)) inset;
18
19
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
19
20
  vertical-align: middle;
20
21
  transition: background-color 140ms;
@@ -54,7 +55,9 @@ const checkbox = css`
54
55
 
55
56
  .checkbox:hover {
56
57
  box-shadow:
57
- 0 0 0 2px rgba(0, 0, 0, 1) inset,
58
+ 0 0 0 2px
59
+ var(--cosmoz-omnitable-checkbox-shadow-color-hover, rgba(0, 0, 0, 1))
60
+ inset,
58
61
  0 0 2px 6px #2021240f;
59
62
  }
60
63
 
@@ -113,6 +116,7 @@ export default css`
113
116
  position: relative;
114
117
  display: flex;
115
118
  align-items: flex-end;
119
+ background-color: var(--cosmoz-omnitable-header-bg-color, inherit);
116
120
  }
117
121
 
118
122
  [hidden] {
@@ -446,11 +450,12 @@ export default css`
446
450
  .itemRow:hover {
447
451
  box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0,
448
452
  0 1px 2px 0 rgb(60 64 67 / 30%), 0 1px 3px 1px rgb(60 64 67 / 15%);
449
- /* background: var(--cosmoz-omnitable-hover-color); */
453
+ background-color: var(--cosmoz-omnitable-row-hover-color);
450
454
  }
451
455
  .groupRow:hover .checkbox:not(:checked):not(:hover),
452
456
  .itemRow:hover .checkbox:not(:checked):not(:hover) {
453
- box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.54) inset;
457
+ box-shadow: 0 0 0 2px var(--cosmoz-omnitable-checkbox-shadow-color-not-hover, rgba(0, 0, 0, 0.54))
458
+ inset;
454
459
  }
455
460
  .groupRow:hover .expand:not(:hover),
456
461
  .itemRow:hover .expand:not(:hover) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-omnitable",
3
- "version": "14.0.3",
3
+ "version": "14.0.5",
4
4
  "description": "[![Build Status](https://travis-ci.org/Neovici/cosmoz-omnitable.svg?branch=master)](https://travis-ci.org/Neovici/cosmoz-omnitable)",
5
5
  "keywords": [
6
6
  "web-components"