@navikt/ds-css 1.3.2 → 1.3.3

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": "@navikt/ds-css",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Css for NAV Designsystem components",
5
5
  "author": "NAV Designsystem team",
6
6
  "keywords": [
@@ -20,12 +20,12 @@
20
20
  "watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
21
21
  },
22
22
  "devDependencies": {
23
- "@navikt/ds-tokens": "^1.3.2",
23
+ "@navikt/ds-tokens": "^1.3.3",
24
24
  "normalize.css": "^8.0.1",
25
25
  "postcss": "^8.3.6",
26
26
  "postcss-cli": "^8.3.1",
27
27
  "postcss-combine-duplicated-selectors": "10.0.3",
28
28
  "postcss-import": "^14.0.2"
29
29
  },
30
- "gitHead": "b6d65ad80535872c70603f7c8814ce1d4e2f91dd"
30
+ "gitHead": "85518226c65170c4692b484118dcba8d2135944e"
31
31
  }
package/table.css CHANGED
@@ -33,7 +33,7 @@
33
33
  display: table-row;
34
34
  }
35
35
 
36
- .navds-table__body .navds-table__row:hover {
36
+ .navds-table__body .navds-table__row--shade-on-hover:hover {
37
37
  background-color: var(--navds-table-row-color-background-hover);
38
38
  }
39
39
 
@@ -41,20 +41,21 @@
41
41
  background-color: var(--navds-table-row-color-background-selected);
42
42
  }
43
43
 
44
- .navds-table__body .navds-table__row--selected:hover {
44
+ .navds-table__body
45
+ .navds-table__row--shade-on-hover.navds-table__row--selected:hover {
45
46
  background-color: var(--navds-table-row-color-background-selected-hover);
46
47
  }
47
48
 
48
49
  .navds-table--zebra-stripes
49
50
  .navds-table__body
50
- .navds-table__row:nth-child(odd):not(:hover):not(.navds-table__row--selected) {
51
+ :where(.navds-table__row:nth-child(odd):not(.navds-table__row--selected)) {
51
52
  background-color: var(--navds-table-row-color-background-zebra);
52
53
  }
53
54
 
54
55
  .navds-table--zebra-stripes
55
56
  .navds-table__body
56
- .navds-table__expandable-row:nth-child(4n
57
- + 1):not(:hover):not(.navds-table__row--selected) {
57
+ :where(.navds-table__expandable-row:nth-child(4n
58
+ + 1):not(.navds-table__row--selected)) {
58
59
  background-color: transparent;
59
60
  }
60
61
 
@@ -87,8 +88,12 @@
87
88
  text-align: center;
88
89
  }
89
90
 
90
- .navds-table__body .navds-table__row:hover .navds-table__header-cell,
91
- .navds-table__body .navds-table__row:hover .navds-table__data-cell {
91
+ .navds-table__body
92
+ .navds-table__row--shade-on-hover:hover
93
+ .navds-table__header-cell,
94
+ .navds-table__body
95
+ .navds-table__row--shade-on-hover:hover
96
+ .navds-table__data-cell {
92
97
  border-color: var(--navds-table-cell-color-border-hover);
93
98
  }
94
99