@navikt/ds-css 0.16.20 → 0.17.1

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.
@@ -34,7 +34,7 @@
34
34
  );
35
35
  }
36
36
 
37
- .navds-confirmation-panel {
37
+ .navds-confirmation-panel__inner {
38
38
  display: flex;
39
39
  flex-direction: column;
40
40
  gap: var(--navds-spacing-4);
@@ -49,17 +49,17 @@
49
49
  max-width: 80ch;
50
50
  }
51
51
 
52
- .navds-confirmation-panel--small {
52
+ .navds-confirmation-panel--small .navds-confirmation-panel__inner {
53
53
  padding: var(--navds-spacing-3);
54
54
  gap: var(--navds-spacing-2);
55
55
  }
56
56
 
57
- .navds-confirmation-panel--checked {
57
+ .navds-confirmation-panel--checked .navds-confirmation-panel__inner {
58
58
  background-color: var(--navds-confirmation-panel-color-background-checked);
59
59
  border-color: var(--navds-confirmation-panel-color-border-checked);
60
60
  }
61
61
 
62
- .navds-confirmation-panel--error {
62
+ .navds-confirmation-panel--error .navds-confirmation-panel__inner {
63
63
  background-color: var(--navds-confirmation-panel-color-background-error);
64
64
  border: 1px solid transparent;
65
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-css",
3
- "version": "0.16.20",
3
+ "version": "0.17.1",
4
4
  "private": false,
5
5
  "description": "Css for NAV Designsystem components",
6
6
  "author": "NAV Designsystem team",
@@ -21,12 +21,12 @@
21
21
  "watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
22
22
  },
23
23
  "devDependencies": {
24
- "@navikt/ds-tokens": "^0.8.7",
24
+ "@navikt/ds-tokens": "^0.9.0",
25
25
  "normalize.css": "^8.0.1",
26
26
  "postcss": "^8.3.6",
27
27
  "postcss-cli": "^8.3.1",
28
28
  "postcss-combine-duplicated-selectors": "10.0.3",
29
29
  "postcss-import": "^14.0.2"
30
30
  },
31
- "gitHead": "1aaadda1f13c055eb84b764f3476da9ae9d6d3ab"
31
+ "gitHead": "7fb0ac1e3de0ea6e17bc436ea75c389ae236ac65"
32
32
  }
package/table.css CHANGED
@@ -47,7 +47,20 @@
47
47
 
48
48
  .navds-table--zebra-stripes
49
49
  .navds-table__body
50
- .navds-table__row:nth-of-type(odd):not(:hover):not(.navds-table__row--selected) {
50
+ .navds-table__row:nth-child(odd):not(:hover):not(.navds-table__row--selected) {
51
+ background-color: var(--navds-table-row-color-background-zebra);
52
+ }
53
+
54
+ .navds-table--zebra-stripes
55
+ .navds-table__body
56
+ .navds-table__expandable-row:nth-child(4n
57
+ + 1):not(:hover):not(.navds-table__row--selected) {
58
+ background-color: transparent;
59
+ }
60
+
61
+ .navds-table--zebra-stripes
62
+ .navds-table__body
63
+ .navds-table__expanded-row:nth-child(4n) {
51
64
  background-color: var(--navds-table-row-color-background-zebra);
52
65
  }
53
66