@navikt/ds-css 4.3.0 → 4.4.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.
package/CHANGELOG.md CHANGED
@@ -1,522 +1,251 @@
1
1
  # @navikt/ds-css
2
2
 
3
- ## 4.3.0
4
-
5
- ### Minor Changes
6
-
7
- - [#2069](https://github.com/navikt/aksel/pull/2069) [`99c08b8e4`](https://github.com/navikt/aksel/commit/99c08b8e4ab33acd20a21719986452652ffe3c57) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Popover og Helptext har nå luft mot siden av skjerm på mindre flater
3
+ ## 4.4.1
8
4
 
9
5
  ### Patch Changes
10
6
 
11
- - [#2067](https://github.com/navikt/aksel/pull/2067) [`d39ed906c`](https://github.com/navikt/aksel/commit/d39ed906c61149ac823ebab2e8974a105e592163) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Nested ExpansionCard fikk styling fra parent
7
+ - :lipstick: Chat: fjernet border, satt avatar svg til 24x24px, byttet om "subtle" og "neutral" ([#2077](https://github.com/navikt/aksel/pull/2077))
12
8
 
13
- ## 4.2.0
9
+ ## 4.4.0
14
10
 
15
11
  ### Minor Changes
16
12
 
17
- - [#2048](https://github.com/navikt/aksel/pull/2048) [`b1625ba38`](https://github.com/navikt/aksel/commit/b1625ba3882b430d678d0623922d7fb56aa724b3) Thanks [@HalvorHaugan](https://github.com/HalvorHaugan)! - Oppdatert Chat
13
+ - Shadow-tokens er oppdatert: Datepicker har nå ikke border, Modal bruker shadow-xlarge, LinkCard bruker shadow-xsmall ([PR](https://github.com/navikt/aksel/pull/2041))
18
14
 
19
- - :sparkles: Ny prop `size` som kan settes til "small" for en mer kompakt layout
20
- - :sparkles: Ny prop `variant` som erstatter `backgroundColor` og `avatarBgColor`
21
- - :sparkles: `avatar` er nå valgfritt
22
- - :wheelchair: Forbedret UU
23
- - :lipstick: Oppdatert utseende
15
+ ## 4.3.0
16
+
17
+ ### Minor Changes
24
18
 
25
- ## 4.1.7
19
+ - Popover/Helptext: Maksbredde på 100vw - 1.5rem. Treffer ikke lengre kanten på skjermen. ([PR](https://github.com/navikt/aksel/pull/2069))
26
20
 
27
21
  ### Patch Changes
28
22
 
29
- - [`42b5af64a`](https://github.com/navikt/aksel/commit/42b5af64ab35d0f2d126d41f8fc3e61fe2834b36) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Fikset jsdom-problemer ved rendring av Timeline
23
+ - ExpansionCard: Ved nesting av komponetene fikk man styling fra parent ([PR](https://github.com/navikt/aksel/pull/2067))
24
+
25
+ ## 4.2.0
30
26
 
31
- ## 4.1.6
27
+ ### Minor Changes
32
28
 
33
- ## 4.1.5
29
+ - Chat: `small`-size, innebygde varianter for farge og oppdatert utseende. ([PR](https://github.com/navikt/aksel/pull/2048))
34
30
 
35
31
  ## 4.1.4
36
32
 
37
33
  ### Patch Changes
38
34
 
39
- - [#2049](https://github.com/navikt/aksel/pull/2049) [`e06096105`](https://github.com/navikt/aksel/commit/e060961050c75ec815e5c125001f1ff99106e298) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Subtle-description på form-elementer brakk bruk av Readmore
40
-
41
- ## 4.1.3
42
-
43
- ## 4.1.2
35
+ - Readmore: setter nå eksplisitt color for å ikke arve text-subtle fra parent. ([PR](https://github.com/navikt/aksel/pull/2049))
44
36
 
45
37
  ## 4.1.1
46
38
 
47
39
  ### Patch Changes
48
40
 
49
- - [`91343563c`](https://github.com/navikt/aksel/commit/91343563c916a554d8ade5401c28ab4c3b3e26af) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Fikset markering av tekst i skeleton.
41
+ - :bug: Fikset cursor-markering av tekst i skeleton.
50
42
 
51
43
  ## 4.1.0
52
44
 
53
45
  ### Minor Changes
54
46
 
55
- - [#2035](https://github.com/navikt/aksel/pull/2035) [`7b42f536a`](https://github.com/navikt/aksel/commit/7b42f536aa90c1b5dbe2b19f1bbe292701546420) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: Oppdatert Chips
56
-
57
- - Toggle Chips har nå varianter: neutral og action
58
- - Toggle Chips har nå en ny prop: `checkmark` som slår av/på checkmark ved selected-state
59
-
60
- - [#2036](https://github.com/navikt/aksel/pull/2036) [`b2f796d68`](https://github.com/navikt/aksel/commit/b2f796d681f1c1d76d26d1fd743268c8c618a854) Thanks [@KenAJoh](https://github.com/KenAJoh)! - - Oppdatert text-subtle og icon-subtle tokens til 700-skala (tidligere 600).
61
-
62
- - Icon-subtle bruker nå grayalpha.
63
- - Alle description-felter på fieldsets har nå text-subtle som farge.
64
-
65
- - [#1821](https://github.com/navikt/aksel/pull/1821) [`db8c38a09`](https://github.com/navikt/aksel/commit/db8c38a094cd183db54aebecb62d5b223920a040) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: Ny komponent Skeleton!
66
-
67
- - varianter: text, circle, rounded og rectangle
47
+ - Chips: `neutral` og `action`-varianter av Chips.Toggle. Opt-out mulighet for Checkmark. Oppdatert checkmark-ikon ([PR](https://github.com/navikt/aksel/pull/2035))
68
48
 
69
- ### Patch Changes
70
-
71
- - [#2027](https://github.com/navikt/aksel/pull/2027) [`c028f36e2`](https://github.com/navikt/aksel/commit/c028f36e2bc58223ebf8b655980dde7eafb30add) Thanks [@JulianNymark](https://github.com/JulianNymark)! - :sparkles: La til `indent`-prop på Accordion
49
+ - Alle description-felter på fieldsets har nå `text-subtle` som farge. ([PR](https://github.com/navikt/aksel/pull/2036))
72
50
 
73
51
  ## 4.0.0
74
52
 
75
53
  ### Major Changes
76
54
 
77
- - [#2026](https://github.com/navikt/aksel/pull/2026) [`895bdc08e`](https://github.com/navikt/aksel/commit/895bdc08e50647d9b9186cbf0e9ab069323de56c) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :test-tube: Datepicker og Monthpicker er nå ute av beta. Kjør codemod for migrering, eller `cmd/ctrl + shift + f` og erstatt `UNSAFE_` med ``
78
-
79
- - UNSAFE-prefix er fjernet fra Datepicker og Monthpicker
80
-
81
- ```bash
82
- npx @navikt/aksel codemod v4-date
83
- ```
84
-
85
- - [#2026](https://github.com/navikt/aksel/pull/2026) [`895bdc08e`](https://github.com/navikt/aksel/commit/895bdc08e50647d9b9186cbf0e9ab069323de56c) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :truck: Komponenter i `@navikt/ds-react-internal` er flyttet over til `@navikt/ds-react`
55
+ - All styling fra `@navikt/ds-css-internal` er flyttet til `@navikt/ds-css`. ([PR](https://github.com/navikt/aksel/pull/2026))
86
56
 
87
- - `<Header />` er renamet til `<InternalHeader />`
88
- - Dropdown, Timeline og InternalHeader(Header) er flyttet over til `@navikt/ds-react`
89
- - All styling fra `@navikt/ds-css-internal` er flyttet til `@navikt/ds-css` og classname-prefix er endret fra `navdsi` -> `navds` for flyttede komponenter. Sett opp [stylelint med configen vår](https://aksel.nav.no/grunnleggende/kode/stylelint), så vil du få feilmelding om du bruker gamle klassenavn.
90
- - Fikset cascading-problem mellom dropdown og popover. Dropdown blir ikke lengre påvirket av import-rekkefølge av popover.
91
- - Styling for flyttede komponenter finnes nå på CDN (https://aksel.nav.no/grunnleggende/kode/css-import)
57
+ - classname-prefix er endret fra `navdsi` -> `navds` for flyttede komponenter.
92
58
 
93
- Kjør codemod for migrering:
59
+ - Fikset cascading-problem mellom dropdown og popover. Dropdown blir ikke lengre påvirket av import-rekkefølge av popover.
94
60
 
95
- ```bash
96
- // React
97
- npx @navikt/aksel codemod v4-internal-react
98
-
99
- // CSS
100
- npx @navikt/aksel codemod v4-internal-css
101
- ```
102
-
103
- ## 3.4.2
104
-
105
- ## 3.4.1
61
+ - Styling for flyttede komponenter finnes nå på CDN [Guide](https://aksel.nav.no/grunnleggende/kode/css-import)
106
62
 
107
63
  ## 3.4.0
108
64
 
109
65
  ### Minor Changes
110
66
 
111
- - [#2010](https://github.com/navikt/aksel/pull/2010) [`b958d41a2`](https://github.com/navikt/aksel/commit/b958d41a20c66327658514fcf24ae20893c9531a) Thanks [@HalvorHaugan](https://github.com/HalvorHaugan)! - Ny variant "moderate" i Tag
112
-
113
- ## 3.3.1
114
-
115
- ## 3.3.0
116
-
117
- ## 3.2.4
118
-
119
- ### Patch Changes
120
-
121
- - [#2000](https://github.com/navikt/aksel/pull/2000) [`30eee0dac`](https://github.com/navikt/aksel/commit/30eee0dac4e3e5a1379033283a6885e646e80458) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Search støtter nå htmlSize-prop
67
+ - Tag: `moderate`-variant ([PR](https://github.com/navikt/aksel/pull/2010))
122
68
 
123
69
  ## 3.2.3
124
70
 
125
71
  ### Patch Changes
126
72
 
127
- - [#1993](https://github.com/navikt/aksel/pull/1993) [`475e994f4`](https://github.com/navikt/aksel/commit/475e994f494b2080ffc05eb1684b6a244e3e2969) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Fikset small-variant av datepicker-input
128
-
129
- - :recycle: Refactored Datepicker.Input-button for bugfix
130
-
131
- - [#1994](https://github.com/navikt/aksel/pull/1994) [`444e905e0`](https://github.com/navikt/aksel/commit/444e905e01965fd5cac40ff20c5225b072e67221) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: CopyButton har nå en `xsmall`-variant
132
-
133
- - Kan nå lettere brukes i tabeller
134
-
135
- ## 3.2.2
73
+ - Datepicker: Fikset small-variant av datepicker-input. ([PR](https://github.com/navikt/aksel/pull/1993))
136
74
 
137
- ## 3.2.1
138
-
139
- ## 3.2.0
140
-
141
- ### Minor Changes
142
-
143
- - [#1982](https://github.com/navikt/aksel/pull/1982) [`affcab14c`](https://github.com/navikt/aksel/commit/affcab14c3d536929dfa64a36f5b43f9d0e8c3b7) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :sparkles: Ny komponent `<CopyButton />`!
144
-
145
- - Erstatter `<CopyToClipboard />` fra `@navikt/ds-react-internal`
146
- - CopyToClipboard er markert som deprecated. Den vil fortsatt fungere, men noen lintere vil kunne ende opp med å klage på den.
75
+ - CopyButton: `xsmall`-size for bruk i tabeller ([PR](https://github.com/navikt/aksel/pull/1994))
147
76
 
148
77
  ## 3.1.3
149
78
 
150
79
  ### Patch Changes
151
80
 
152
- - [#1976](https://github.com/navikt/aksel/pull/1976) [`e8ecf309a`](https://github.com/navikt/aksel/commit/e8ecf309a910e47fd3cea6c54cd993ab1196910f) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :lipstick: Oppdatert utseende for ToggleGroup
153
-
154
- - Medium og Small er begge 10px lavere
155
- - Mindre border-radius
156
-
157
- ## 3.1.2
158
-
159
- ## 3.1.1
81
+ - :lipstick: Oppdatert utseende for ToggleGroup. `Medium` og `Small`-size er begge 10px lavere, mindre border-radius ([PR](https://github.com/navikt/aksel/pull/1976))
160
82
 
161
83
  ## 3.1.0
162
84
 
163
85
  ### Minor Changes
164
86
 
165
- - [#1966](https://github.com/navikt/aksel/pull/1966) [`f1c4c46eb`](https://github.com/navikt/aksel/commit/f1c4c46ebb0522561483f18e3b86b190cf9cc372) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :lipstick: Alle komponenter bruker nå default `:focus-visible` for fokusmarkering.
166
- (Alle komponenter som bruker `:focus-visible` har også en fallback for `:focus`)
87
+ - Alle komponenter bruker nå default `:focus-visible` for fokusmarkering. Medfølger også fallback for `:focus` ([PR](https://github.com/navikt/aksel/pull/1966))
167
88
 
168
89
  ### Patch Changes
169
90
 
170
- - [#1967](https://github.com/navikt/aksel/pull/1967) [`9d2cd9e7f`](https://github.com/navikt/aksel/commit/9d2cd9e7fffb3cf6310c88229ee39ea85db19bca) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :lipstick: Oppdatert Label og Description spacing for skjemakomponenter
171
-
172
- ## 3.0.1
91
+ - Oppdatert Label og Description spacing for skjemakomponenter ([PR](https://github.com/navikt/aksel/pull/1967))
173
92
 
174
93
  ## 3.0.0
175
94
 
176
95
  ### Major Changes
177
96
 
178
- - [#1964](https://github.com/navikt/aksel/pull/1964) [`166ee5feb`](https://github.com/navikt/aksel/commit/166ee5feb3c987c4e633eb449812116bfd865d3f) Thanks [@KenAJoh](https://github.com/KenAJoh)! - **Accordion**
179
-
180
- - Accordion oppdatet til å ha chevron left-aligned.
181
- - Neutral-variant lagt til
182
- - Diverse nye size-options for heading og paddinger.
183
- - Deler av Accordion-CSS er refaktorert. Dette vil kunne brekke overskrevne stiler.
184
-
185
- - [#1964](https://github.com/navikt/aksel/pull/1964) [`166ee5feb`](https://github.com/navikt/aksel/commit/166ee5feb3c987c4e633eb449812116bfd865d3f) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Aksels løsninger bruker nå `@navikt/aksel-icons`
186
-
187
- **Sideeffects av ikonendringer**
188
-
189
- - Komponenter som tidligere brukte Expand-ikon har fått oppdatert animasjon (table, readmore og accordion)
190
- - Alert bruker samme ikonstørrelse for alle størrelser
191
- - Chips har justert padding/ikonstørrelser
192
- - Datepicker hover-bug på knapper er fikset
193
- - Helptekst bruker nå et custom-ikon.
194
- - Select har fått justert padding rundt ikon
195
- - Switch bruker samme checkmark som checkbox, er nå avrundet
196
- - ReadMore har justert margin for alignment med ikon, fjernet content-animasjon
197
- - Tabs bruker default text-default nå
198
- - Stepper har endret hvordan den styler checkmark-ikon.
199
-
200
- ## 2.9.8
201
-
202
- ## 2.9.7
203
-
204
- ## 2.9.6
205
-
206
- ## 2.9.5
207
-
208
- ## 2.9.4
209
-
210
- ## 2.9.3
211
-
212
- ## 2.9.2
213
-
214
- ## 2.9.1
97
+ - Accordion: Chevron er left-aligned, deler av styling er refaktorert, `size`-props og `neutral`-variant ([PR](https://github.com/navikt/aksel/pull/1964))
215
98
 
216
99
  ## 2.9.0
217
100
 
218
101
  ### Minor Changes
219
102
 
220
- - [#1941](https://github.com/navikt/aksel/pull/1941) [`657b7f3f3`](https://github.com/navikt/aksel/commit/657b7f3f3e62c5ce3173e6c95a29fcd237ce7343) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: CSS nå tilgjengelig som separate filer
221
-
222
- - Kan lastest fra CDN
223
- - Tilbys nå i minified-versjoner
224
- - Kommandoline: `npx @navikt/aksel css-imports` for å raskt komme i gang med CSS-optimalisering
225
-
226
- ## 2.8.16
227
-
228
- ## 2.8.15
229
-
230
- ### Patch Changes
231
-
232
- - [#1930](https://github.com/navikt/aksel/pull/1930) [`6682be1c8`](https://github.com/navikt/aksel/commit/6682be1c8e6562213c64e5be4bed70fef54ab865) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Alle pakker implementerer nå npm provenance (beta)
233
-
234
- ## 2.8.14
235
-
236
- ### Patch Changes
237
-
238
- - [`f0d9a8853`](https://github.com/navikt/aksel/commit/f0d9a8853f56854a4049bd3f6cc34968e9d6c380) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Fixes shown month on open in Datepicker/MonthPicker, better handling of out-of-range 'today'
239
-
240
- ## 2.8.13
241
-
242
- ## 2.8.12
243
-
244
- ## 2.8.11
245
-
246
- ## 2.8.10
103
+ - CSS nå tilgjengelig som separate filer: Kan lastest fra CDN, minified-versjoner tilgjengelig ([PR](https://github.com/navikt/aksel/pull/1941))
247
104
 
248
105
  ## 2.8.9
249
106
 
250
107
  ### Patch Changes
251
108
 
252
- - [#1905](https://github.com/navikt/aksel/pull/1905) [`212194964`](https://github.com/navikt/aksel/commit/212194964c4dd576e1ffc031316dff8cbe5016a2) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :sparkles: Padding/border-radius tokens for button.css
253
-
254
- ## 2.8.8
109
+ - Button: Padding/border-radius tokens ([PR](https://github.com/navikt/aksel/pull/1905))
255
110
 
256
111
  ## 2.8.7
257
112
 
258
113
  ### Patch Changes
259
114
 
260
- - [`7f3f025db`](https://github.com/navikt/aksel/commit/7f3f025db2ad605df4240605a733d10d08db753a) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Fikset typografi for radio, checkbox. Button token for tertiary
115
+ - Button: token for tertiary
261
116
 
262
117
  ## 2.8.6
263
118
 
264
119
  ### Patch Changes
265
120
 
266
- - [`2eb358ad8`](https://github.com/navikt/aksel/commit/2eb358ad888979d21c385b3900973946f3f466be) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Alert, Chips og ErrorSummary har nå bedre utvalg av tokens
121
+ - Alert, Chips og ErrorSummary har nå bedre utvalg av tokens
267
122
 
268
123
  ## 2.8.5
269
124
 
270
125
  ### Patch Changes
271
126
 
272
- - [`f66437082`](https://github.com/navikt/aksel/commit/f664370826ed51bda7ad681e1f1799c26d2c1f0a) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :art: Accordion-tokens for header bakgrunn
127
+ - Accordion: tokens for header-bakgrunn
273
128
 
274
- - [#1879](https://github.com/navikt/aksel/pull/1879) [`55b585618`](https://github.com/navikt/aksel/commit/55b585618341a4d8bf26ed9b9e129d897b1600dc) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Fikset tekstfarge i select på iphone
275
-
276
- ## 2.8.4
277
-
278
- ## 2.8.3
129
+ - Select: Fikset tekstfarge på iphone ([PR](https://github.com/navikt/aksel/pull/1879))
279
130
 
280
131
  ## 2.8.2
281
132
 
282
133
  ### Patch Changes
283
134
 
284
- - [#1870](https://github.com/navikt/aksel/pull/1870) [`9c495cf50`](https://github.com/navikt/aksel/commit/9c495cf5037a7453e51e273ab93e4232576f4958) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Oppdatert typografi for ExpansioCard
285
-
286
- ## 2.8.1
287
-
288
- ## 2.8.0
289
-
290
- ### Minor Changes
291
-
292
- - [#1820](https://github.com/navikt/aksel/pull/1820) [`c6d51a019`](https://github.com/navikt/aksel/commit/c6d51a01902e4fd7916a422e17ed175f39acd458) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :tada: Ny komponent! ExpansionCard. Oppfølger fra gammel Ekspanderbartpanel.
135
+ - ExpansioCard: Oppdatert typografi ([PR](https://github.com/navikt/aksel/pull/1870))
293
136
 
294
137
  ## 2.7.8
295
138
 
296
139
  ### Patch Changes
297
140
 
298
- - [#1863](https://github.com/navikt/aksel/pull/1863) [`7ace69f21`](https://github.com/navikt/aksel/commit/7ace69f215760bbb5bf997670c897403d8ee558d) Thanks [@it-vegard](https://github.com/it-vegard)! - Added focus indicator for tabpanel
299
-
300
- ## 2.7.7
301
-
302
- ## 2.7.6
141
+ - Tabs: La til focus-markering for Tabs.Panel ([PR](https://github.com/navikt/aksel/pull/1863))
303
142
 
304
143
  ## 2.7.5
305
144
 
306
145
  ### Patch Changes
307
146
 
308
- - :bug: Fikset token-bug i togglegroup
309
-
310
- ## 2.7.4
311
-
312
- ## 2.7.3
313
-
314
- ## 2.7.2
315
-
316
- ## 2.7.1
317
-
318
- ## 2.7.0
319
-
320
- ## 2.6.2
321
-
322
- ## 2.6.1
323
-
324
- ## 2.6.0
325
-
326
- ## 2.5.1
327
-
328
- ## 2.5.0
147
+ - ToggleGroup: Fikset token-bug
329
148
 
330
149
  ## 2.4.3
331
150
 
332
151
  ### Patch Changes
333
152
 
334
- - [`f962bc781`](https://github.com/navikt/aksel/commit/f962bc7816027c24e334d9754c3e07cda951cf56) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Fikset disabled-opacity bug i select for Chrome
153
+ - Select: Fikset disabled + opacity bug for Chrome
335
154
 
336
155
  ## 2.4.2
337
156
 
338
157
  ### Patch Changes
339
158
 
340
- - [#1823](https://github.com/navikt/aksel/pull/1823) [`a7ce61f84`](https://github.com/navikt/aksel/commit/a7ce61f840e5bfaafc4f70e550167fe0095555b8) Thanks [@kschieren](https://github.com/kschieren)! - added support for nested lists
341
-
342
- ## 2.4.1
343
-
344
- ## 2.4.0
345
-
346
- ### Minor Changes
347
-
348
- - [#1807](https://github.com/navikt/aksel/pull/1807) [`70eeb24b3`](https://github.com/navikt/aksel/commit/70eeb24b38ac871c7f2e31e1621b949669c401b6) Thanks [@kschieren](https://github.com/kschieren)! - Added List component
159
+ - List: La til støtte for nesting ([PR](https://github.com/navikt/aksel/pull/1823))
349
160
 
350
161
  ## 2.3.1
351
162
 
352
163
  ### Patch Changes
353
164
 
354
- - [`241b2e678`](https://github.com/navikt/aksel/commit/241b2e678f1f40909e2d36fe095dcbce8673f174) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Fikset feil bruk av fallback-tokens i textarea, timeline
165
+ - Fikset feil bruk av fallback-tokens i Textarea og Timeline
355
166
 
356
167
  ## 2.3.0
357
168
 
358
169
  ### Minor Changes
359
170
 
360
- - [#1813](https://github.com/navikt/aksel/pull/1813) [`7702c6527`](https://github.com/navikt/aksel/commit/7702c65275a4d86a8260852d091e6dd4cfe9217c) Thanks [@ingfo](https://github.com/ingfo)! - Fiksa sentrering av tekst i Select i Firefox
171
+ - Select: Fikset sentrering av tekst i Firefox ([PR](https://github.com/navikt/aksel/pull/1813))
361
172
 
362
173
  ### Patch Changes
363
174
 
364
- - [`51b62cca7`](https://github.com/navikt/aksel/commit/51b62cca7b857e92669cd0b09e620b131faf80e5) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Select small 34px høyde -> 32px
175
+ - Select: `small`-variant er 32px (var 34px)
365
176
 
366
177
  ## 2.2.0
367
178
 
368
179
  ### Minor Changes
369
180
 
370
- - [#1789](https://github.com/navikt/aksel/pull/1789) [`c0929a534`](https://github.com/navikt/aksel/commit/c0929a534dc8effece5435f8be550cb7931a52b1) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Button og ToggleGroup har nå en neutral-variant, oppdatert neutral-tokens
371
-
372
- ## 2.1.7
373
-
374
- ## 2.1.6
375
-
376
- ## 2.1.5
181
+ - ToggleGroup: `Neutral`-variant. ([PR](https://github.com/navikt/aksel/pull/1789))
377
182
 
378
- ## 2.1.4
379
-
380
- ## 2.1.3
183
+ - Button: `Neutral`-variant.
381
184
 
382
185
  ## 2.1.2
383
186
 
384
187
  ### Patch Changes
385
188
 
386
- - [`62f36da5e`](https://github.com/navikt/aksel/commit/62f36da5e74fc7f53414d42b310c3b57597795bc) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Small textfield har nå 8px horisontal padding (4px før)
387
-
388
- ## 2.1.1
389
-
390
- ## 2.1.0
391
-
392
- ## 2.0.18
393
-
394
- ## 2.0.17
395
-
396
- ## 2.0.16
397
-
398
- ## 2.0.15
399
-
400
- ### Patch Changes
401
-
402
- - [#1748](https://github.com/navikt/aksel/pull/1748) [`22dfd8e60`](https://github.com/navikt/aksel/commit/22dfd8e60315c421749394d35e41f412a00a7593) Thanks [@KenAJoh](https://github.com/KenAJoh)! - toptextPosition prop i Chat for horisontal plassering av navn og dato.
403
-
404
- ## 2.0.14
405
-
406
- ## 2.0.13
189
+ - TextField: `small`-variant har nå 8px horisontal padding (før 4px)
407
190
 
408
191
  ## 2.0.12
409
192
 
410
193
  ### Patch Changes
411
194
 
412
- - [#1737](https://github.com/navikt/aksel/pull/1737) [`8a1ef5e7e`](https://github.com/navikt/aksel/commit/8a1ef5e7e2c066cb80c13e14329e1585e2c427f8) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Fikset default visuell error-state for radio
413
-
414
- ## 2.0.11
415
-
416
- ## 2.0.10
417
-
418
- ## 2.0.9
419
-
420
- ## 2.0.8
421
-
422
- ## 2.0.7
423
-
424
- ## 2.0.6
195
+ - Radio: Fikset default visuell error-state ([PR](https://github.com/navikt/aksel/pull/1737))
425
196
 
426
197
  ## 2.0.5
427
198
 
428
199
  ### Patch Changes
429
200
 
430
- - Reverserte border-width endrind i button
431
-
432
- ## 2.0.4
433
-
434
- ## 2.0.3
435
-
436
- ## 2.0.2
201
+ - Button: Reverserte border-width endrinder (var 1.5px, nå 2px)
437
202
 
438
203
  ## 2.0.1
439
204
 
440
205
  ### Patch Changes
441
206
 
442
- - [`e8007328d`](https://github.com/navikt/aksel/commit/e8007328db3f6d5be696cf24f03304c79be0f3f7) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Bugfixer ved bruk av tokens
207
+ - Bugfixer ved bruk av tokens oppdatert i v2.0.0
443
208
 
444
209
  ## 2.0.0
445
210
 
446
211
  ### Major Changes
447
212
 
448
- - [`6b96e4833`](https://github.com/navikt/aksel/commit/6b96e48330c2e013a1acee85cefccd9ccc1aece4) Thanks [@KenAJoh](https://github.com/KenAJoh)! - v2: Tokens update and font-loading
213
+ - Fontlasting: Fonter lastes fra NAV-CDN
449
214
 
450
- ## 1.5.10
215
+ - Tokens: Alle komponenter bruker nå semantiske tokens for som standard, med innebygd støtte for komponent-spesifikke tokens.
451
216
 
452
217
  ## 1.5.9
453
218
 
454
219
  ### Patch Changes
455
220
 
456
- - 4px -> 2px gap chips-toggle active
457
-
458
- ## 1.5.8
459
-
460
- ## 1.5.7
461
-
462
- ## 1.5.6
463
-
464
- ## 1.5.5
465
-
466
- ## 1.5.4
467
-
468
- ### Patch Changes
469
-
470
- - [#1709](https://github.com/navikt/aksel/pull/1709) [`77302a30b`](https://github.com/navikt/aksel/commit/77302a30b8eef8dc00b2d2e9c904a3f57da81a11) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Oppdatert ikoner
221
+ - Chips: 4px -> 2px gap mellom checkmark i Chips.Toggle
471
222
 
472
223
  ## 1.5.3
473
224
 
474
225
  ### Patch Changes
475
226
 
476
- - Byttet om på alt-farge rekkefølge
477
-
478
- ## 1.5.2
479
-
480
- ### Patch Changes
481
-
482
- - :memo: Rename FilterChips to ToggleChips
227
+ - Tokens: Byttet om på rekkefølge av alt-farger
483
228
 
484
229
  ## 1.5.1
485
230
 
486
231
  ### Patch Changes
487
232
 
488
- - Flex-wrap chips.css
233
+ - Chips. Bruker nå standard flex-wrap
489
234
 
490
235
  ## 1.5.0
491
236
 
492
237
  ### Minor Changes
493
238
 
494
- - [#1684](https://github.com/navikt/aksel/pull/1684) [`e19bf67b3`](https://github.com/navikt/aksel/commit/e19bf67b337dea39989c68b5e9c2591cf0d5b40f) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :sparkles: Oppdaterte tag-varianter
495
-
496
- - [#1668](https://github.com/navikt/aksel/pull/1668) [`97c5f60e9`](https://github.com/navikt/aksel/commit/97c5f60e9111da7e08f55c8d0aa29581f0a9b1ca) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Chips komponent :sparkles:
497
-
498
- ## 1.4.4
499
-
500
- ## 1.4.3
239
+ - Tag: `filled`-varianter ([PR](https://github.com/navikt/aksel/pull/1684))
501
240
 
502
- ### Patch Changes
503
-
504
- - :sparkles: Validering og inputFormat i Date-komponenter
505
-
506
- ## 1.4.2
507
-
508
- ## 1.4.1
241
+ ## 1.3.39
509
242
 
510
243
  ### Patch Changes
511
244
 
512
- - [`3c08651df`](https://github.com/navikt/aksel/commit/3c08651df28c3e19dd8c8a7a1d0032200bec473d) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Date-komponenter følger språkrådets dato-formatering for måneder.
513
-
514
- ## 1.4.0
245
+ - Fikset bruk av `:watch` for diverse parsere (less, parcel)
515
246
 
516
- ## 1.3.39
247
+ ## 1.3.24
517
248
 
518
249
  ### Patch Changes
519
250
 
520
- - [`40f0b3340`](https://github.com/navikt/aksel/commit/40f0b3340d01bf85fecc04f2f3a8e8b2acf996f1) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Bump for latest-tag
521
-
522
- ## 1.3.38
251
+ - Tokens tilgjengeligjøres også på `:host`. Dette lar shadow-dom brukere konsumere tokens direkte.
package/chat.css CHANGED
@@ -26,7 +26,6 @@
26
26
  align-items: center;
27
27
  box-shadow: var(--a-shadow-xsmall);
28
28
  background-color: var(--ac-chat-avatar-bg, var(--a-surface-neutral-subtle));
29
- border: 1px solid var(--ac-chat-border-color, var(--a-border-subtle));
30
29
  border-radius: var(--a-border-radius-full);
31
30
  color: var(--ac-chat-avatar-color, var(--a-text-default));
32
31
  display: flex;
@@ -35,14 +34,16 @@
35
34
  overflow: hidden;
36
35
  height: 2.5rem;
37
36
  width: 2.5rem;
37
+ line-height: 2.5rem; /* Makes text properly vertically centered in Chrome */
38
38
  font-size: 1.06rem;
39
39
  letter-spacing: 0.024rem;
40
40
  }
41
41
 
42
42
  .navds-chat__avatar svg {
43
43
  align-self: center;
44
- height: 100%;
45
44
  width: 100%;
45
+ max-width: 1.5rem;
46
+ max-height: 1.5rem;
46
47
  }
47
48
 
48
49
  .navds-chat__bubble {
@@ -50,7 +51,6 @@
50
51
  box-shadow: var(--a-shadow-xsmall);
51
52
  width: fit-content;
52
53
  background-color: var(--ac-chat-bubble-bg, var(--a-surface-neutral-subtle));
53
- border: 1px solid var(--ac-chat-border-color, var(--a-border-subtle));
54
54
  border-radius: var(--a-border-radius-xlarge);
55
55
  border-bottom-left-radius: 2px;
56
56
  display: flex;
@@ -72,8 +72,8 @@
72
72
  background-color: var(--a-surface-info-subtle);
73
73
  }
74
74
 
75
- .navds-chat--neutral .navds-chat__bubble,
76
- .navds-chat--neutral .navds-chat__avatar {
75
+ .navds-chat--subtle .navds-chat__bubble,
76
+ .navds-chat--subtle .navds-chat__avatar {
77
77
  background-color: var(--a-surface-default);
78
78
  }
79
79
 
package/date.css CHANGED
@@ -278,3 +278,7 @@
278
278
  visibility: hidden;
279
279
  pointer-events: none;
280
280
  }
281
+
282
+ .navds-date__popover:where(.navds-popover) {
283
+ border: none;
284
+ }