@navikt/ds-css 6.4.1 → 6.5.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": "6.4.1",
3
+ "version": "6.5.0",
4
4
  "description": "CSS for NAV Designsystem",
5
5
  "author": "Aksel | NAV designsystem team",
6
6
  "keywords": [
@@ -27,7 +27,7 @@
27
27
  "css:get-version": "node config/get-version.js"
28
28
  },
29
29
  "devDependencies": {
30
- "@navikt/ds-tokens": "^6.4.1",
30
+ "@navikt/ds-tokens": "^6.5.0",
31
31
  "cssnano": "6.0.0",
32
32
  "fast-glob": "3.2.11",
33
33
  "lodash": "4.17.21",
package/tabs.css CHANGED
@@ -7,7 +7,7 @@
7
7
  .navds-tabs__tablist {
8
8
  display: flex;
9
9
  max-width: 100%;
10
- width: auto;
10
+ width: 100%;
11
11
  scroll-behavior: smooth;
12
12
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
13
13
  scrollbar-width: none; /* for Firefox */
@@ -83,6 +83,10 @@
83
83
  gap: var(--a-spacing-1);
84
84
  }
85
85
 
86
+ .navds-tabs__tab-inner > * {
87
+ display: inline-flex;
88
+ }
89
+
86
90
  .navds-tabs__tab-inner svg {
87
91
  flex-shrink: 0;
88
92
  }
@@ -117,6 +121,10 @@
117
121
  font-size: 1.5rem;
118
122
  }
119
123
 
124
+ .navds-tabs__tab--fill {
125
+ flex: 1 1 100%;
126
+ }
127
+
120
128
  .navds-tabs__tabpanel:focus-visible {
121
129
  outline: 2px solid transparent;
122
130
  box-shadow: inset 0 0 0 2px var(--a-border-focus);
package/toggle-group.css CHANGED
@@ -4,6 +4,10 @@
4
4
  gap: var(--a-spacing-2);
5
5
  }
6
6
 
7
+ .navds-toggle-group__wrapper--fill {
8
+ justify-items: initial;
9
+ }
10
+
7
11
  .navds-toggle-group {
8
12
  border-radius: var(--a-border-radius-medium);
9
13
  background-color: var(--ac-toggle-group-bg, var(--a-surface-transparent));