@navikt/ds-css 8.12.1 → 8.13.0

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": "8.12.1",
3
+ "version": "8.13.0",
4
4
  "description": "CSS for Nav Designsystem",
5
5
  "author": "Aksel | Nav designsystem team",
6
6
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "css:get-version": "node config/get-version.js"
33
33
  },
34
34
  "devDependencies": {
35
- "@navikt/ds-tokens": "^8.12.1",
35
+ "@navikt/ds-tokens": "^8.13.0",
36
36
  "browserslist": "^4.25.0",
37
37
  "esbuild": "^0.28.0",
38
38
  "fast-glob": "3.3.3",
@@ -169,13 +169,18 @@
169
169
 
170
170
  .aksel-data-table__cell {
171
171
  /* border doesn't work on sticky thead when we have collapsed borders, so using box-shadow instead */
172
- box-shadow: inset 1px 1px 0 0 var(--ax-border-neutral-subtle);
172
+ box-shadow: inset 0 1px 0 0 var(--ax-border-neutral-subtle);
173
173
  text-align: start;
174
174
  vertical-align: middle;
175
175
  scroll-margin: var(--ax-space-0);
176
176
  padding: 0;
177
177
  font-size: var(--__axc-data-table-text-size);
178
178
 
179
+ .aksel-data-table__thead &,
180
+ .aksel-data-table[data-column-dividers="true"] & {
181
+ box-shadow: inset 1px 1px 0 0 var(--ax-border-neutral-subtle);
182
+ }
183
+
179
184
  &:not(.aksel-data-table__column-header, [data-sticky]) {
180
185
  overflow: hidden; /* Needed for cases where left margin is added to cell-content (nested rows) */
181
186
  }
@@ -245,11 +250,6 @@
245
250
  animation: scroll-shadow-fade-start 1s linear;
246
251
  animation-timeline: --horizontal-table-scroll;
247
252
  }
248
-
249
- &[data-sticky-last]::after {
250
- inset-inline: 0 -1px;
251
- border-right-width: 1px;
252
- }
253
253
  }
254
254
 
255
255
  &[data-sticky="end"] {
package/src/timeline.css CHANGED
@@ -34,11 +34,7 @@
34
34
  position: absolute;
35
35
  color: var(--ax-text-neutral-subtle);
36
36
  white-space: nowrap;
37
-
38
- &:first-of-type,
39
- &:last-of-type {
40
- overflow-x: clip;
41
- }
37
+ overflow-x: clip;
42
38
  }
43
39
 
44
40
  .aksel-timeline__row {