@navikt/ds-css 8.5.1 → 8.5.2
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/CHANGELOG.md +6 -0
- package/dist/component/timeline.css +1 -1
- package/dist/component/timeline.min.css +1 -1
- package/dist/components.css +1 -1
- package/dist/components.min.css +1 -1
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +2 -2
- package/dist/index.min.css +1 -1
- package/package.json +2 -2
- package/src/data-table.css +9 -3
- package/src/timeline.css +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-css",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.2",
|
|
4
4
|
"description": "CSS for Nav Designsystem",
|
|
5
5
|
"author": "Aksel | Nav designsystem team",
|
|
6
6
|
"keywords": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"css:get-version": "node config/get-version.js"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@navikt/ds-tokens": "^8.5.
|
|
33
|
+
"@navikt/ds-tokens": "^8.5.2",
|
|
34
34
|
"browserslist": "^4.25.0",
|
|
35
35
|
"esbuild": "^0.27.2",
|
|
36
36
|
"fast-glob": "3.3.3",
|
package/src/data-table.css
CHANGED
|
@@ -13,9 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.aksel-data-table {
|
|
16
|
-
table-layout: fixed;
|
|
17
|
-
width: 1px; /* This is for some reason needed to make the browser respect the column width. TODO: Test in all browsers */
|
|
18
|
-
|
|
19
16
|
/*
|
|
20
17
|
We should NOT set min-width:100% b.c. it will cause inconsistencies in column resizing.
|
|
21
18
|
We could discuss whether it matters, though. But it feels buggy.
|
|
@@ -24,6 +21,15 @@
|
|
|
24
21
|
We could have a toggle for the resize feature, and let the consumer decide which downside they prefer. Might need that anyways.
|
|
25
22
|
*/
|
|
26
23
|
|
|
24
|
+
&[data-layout="fixed"] {
|
|
25
|
+
table-layout: fixed;
|
|
26
|
+
width: 1px; /* This is for some reason needed to make the browser respect the column width. TODO: Test in all browsers */
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[data-layout="auto"] {
|
|
30
|
+
min-width: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
27
33
|
--__axc-data-table-density: var(--ax-space-16) 0;
|
|
28
34
|
|
|
29
35
|
&[data-density="condensed"] {
|
package/src/timeline.css
CHANGED