@navikt/ds-css 0.18.1 → 0.18.4

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.
@@ -148,6 +148,7 @@
148
148
  + .navds-checkbox__label::before {
149
149
  background-position: 4px center;
150
150
  }
151
+
151
152
  .navds-checkbox__input:indeterminate:focus + .navds-checkbox__label::before,
152
153
  .navds-checkbox__input:checked:focus + .navds-checkbox__label::before {
153
154
  box-shadow: inset 0 0 0 1px white, var(--navds-shadow-focus);
package/loader.css CHANGED
@@ -10,7 +10,7 @@
10
10
  --navds-loader-color-inverted-foreground: var(
11
11
  --navds-semantic-color-component-background-light
12
12
  );
13
- --navds-loader-color-inverted-background: rgba(255, 255, 255, 0.3);
13
+ --navds-loader-color-inverted-background: rgb(255 255 255 / 0.3);
14
14
  --navds-loader-color-transparent-background: transparent;
15
15
  }
16
16
 
package/modal.css CHANGED
@@ -2,7 +2,7 @@
2
2
  --navds-modal-color-background: var(
3
3
  --navds-semantic-color-component-background-light
4
4
  );
5
- --navds-modal-color-overlay: rgba(38, 38, 38, 0.7);
5
+ --navds-modal-color-overlay: rgb(38 38 38 / 0.7);
6
6
  }
7
7
 
8
8
  .ReactModal__Body--open {
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-css",
3
- "version": "0.18.1",
4
- "private": false,
3
+ "version": "0.18.4",
5
4
  "description": "Css for NAV Designsystem components",
6
5
  "author": "NAV Designsystem team",
7
6
  "keywords": [
@@ -21,12 +20,12 @@
21
20
  "watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
22
21
  },
23
22
  "devDependencies": {
24
- "@navikt/ds-tokens": "^0.9.1",
23
+ "@navikt/ds-tokens": "^0.9.3",
25
24
  "normalize.css": "^8.0.1",
26
25
  "postcss": "^8.3.6",
27
26
  "postcss-cli": "^8.3.1",
28
27
  "postcss-combine-duplicated-selectors": "10.0.3",
29
28
  "postcss-import": "^14.0.2"
30
29
  },
31
- "gitHead": "c1a97b0b5e1bd237493d5bc70636052c16bb4471"
30
+ "gitHead": "e8ee773bd818d21db02c0bd495db65306fe3b907"
32
31
  }
package/page-header.css CHANGED
@@ -15,10 +15,7 @@
15
15
  display: flex;
16
16
  justify-content: center;
17
17
  background-color: var(--navds-page-header-color-background);
18
- padding-top: 1.5rem;
19
- padding-bottom: 1.5rem;
20
- padding-left: calc((100vw - 100%) / 2);
21
- padding-right: calc((100vw - 100%) / 2);
18
+ padding: 1.5rem calc((100vw - 100%) / 2);
22
19
  margin-left: calc((100vw - 100%) / -2);
23
20
  margin-right: calc((100vw - 100%) / -2);
24
21
  }
@@ -58,9 +55,11 @@
58
55
  .navds-page-header--situation {
59
56
  box-shadow: 0 -4px 0 var(--navds-page-header-color-shadow-situation) inset;
60
57
  }
58
+
61
59
  .navds-page-header--product {
62
60
  box-shadow: 0 -4px 0 var(--navds-page-header-color-shadow-product) inset;
63
61
  }
62
+
64
63
  .navds-page-header--guide {
65
64
  box-shadow: 0 -4px 0 var(--navds-page-header-color-shadow-guide) inset;
66
65
  }
@@ -70,6 +69,7 @@
70
69
  width: 3rem;
71
70
  height: 3rem;
72
71
  }
72
+
73
73
  .navds-page-header__title {
74
74
  font-size: var(--navds-font-size-heading-xlarge);
75
75
  }
package/read-more.css CHANGED
@@ -18,11 +18,11 @@
18
18
  }
19
19
 
20
20
  .navds-read-more:hover {
21
- background-color: rgba(38, 38, 38, 0.06);
21
+ background-color: rgba(38 38 38 / 0.06);
22
22
  }
23
23
 
24
24
  .navds-read-more:active {
25
- background-color: rgba(38, 38, 38, 0.1);
25
+ background-color: rgba(38 38 38 / 0.1);
26
26
  }
27
27
 
28
28
  .navds-read-more:focus {
@@ -50,7 +50,7 @@
50
50
  content: "";
51
51
  display: block;
52
52
  width: 2px;
53
- background-color: rgba(38, 38, 38, 0.36);
53
+ background-color: rgba(38 38 38 / 0.36);
54
54
  margin: 0 7px;
55
55
  flex-shrink: 0;
56
56
  }
package/tooltip.css CHANGED
@@ -2,6 +2,7 @@
2
2
  0% {
3
3
  opacity: 0;
4
4
  }
5
+
5
6
  100% {
6
7
  opacity: 1;
7
8
  }
@@ -17,8 +18,8 @@
17
18
  border-radius: var(--navds-border-radius-small);
18
19
  padding: 0 var(--navds-spacing-2);
19
20
  align-items: center;
20
- filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))
21
- drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
21
+ filter: drop-shadow(0 2px 4px rgba(0 0 0 / 0.1))
22
+ drop-shadow(0 4px 6px rgba(0 0 0 / 0.1));
22
23
  display: flex;
23
24
  flex-direction: column;
24
25
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);