@navikt/ds-tokens 8.16.1 → 8.17.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 ADDED
@@ -0,0 +1,621 @@
1
+ # @navikt/ds-tokens
2
+
3
+ ## 8.17.1
4
+
5
+ ## 8.17.0
6
+
7
+ ## 8.16.2
8
+
9
+ ## 8.16.1
10
+
11
+ ## 8.16.0
12
+
13
+ ## 8.15.0
14
+
15
+ ## 8.14.0
16
+
17
+ ## 8.13.1
18
+
19
+ ## 8.13.0
20
+
21
+ ## 8.12.1
22
+
23
+ ## 8.12.0
24
+
25
+ ## 8.11.1
26
+
27
+ ### Patch Changes
28
+
29
+ - Add types for token_docs and remove internal-types from package ([#4912](https://github.com/navikt/aksel/pull/4912))
30
+
31
+ ## 8.11.0
32
+
33
+ ## 8.10.6
34
+
35
+ ## 8.10.5
36
+
37
+ ## 8.10.4
38
+
39
+ ## 8.10.3
40
+
41
+ ## 8.10.2
42
+
43
+ ## 8.10.1
44
+
45
+ ## 8.10.0
46
+
47
+ ## 8.9.1
48
+
49
+ ## 8.9.0
50
+
51
+ ## 8.8.0
52
+
53
+ ### Patch Changes
54
+
55
+ - Tokens: `--ax-opacity-disabled` adjusted from 0.3 to 0.45. ([#4734](https://github.com/navikt/aksel/pull/4734))
56
+
57
+ ## 8.7.0
58
+
59
+ ## 8.6.0
60
+
61
+ ## 8.5.2
62
+
63
+ ## 8.5.1
64
+
65
+ ## 8.5.0
66
+
67
+ ## 8.4.1
68
+
69
+ ## 8.4.0
70
+
71
+ ## 8.3.0
72
+
73
+ ## 8.2.2
74
+
75
+ ## 8.2.1
76
+
77
+ ## 8.2.0
78
+
79
+ ## 8.1.0
80
+
81
+ ## 8.0.1
82
+
83
+ ## 8.0.0
84
+
85
+ ### Major Changes
86
+
87
+ - New design with theming support - See https://aksel.nav.no/grunnleggende/endringslogg/versjon-8 for more info ([#4283](https://github.com/navikt/aksel/pull/4283))
88
+
89
+ ## 7.40.0
90
+
91
+ ## 7.39.1
92
+
93
+ ## 7.39.0
94
+
95
+ ## 7.38.0
96
+
97
+ ## 7.37.0
98
+
99
+ ### Patch Changes
100
+
101
+ - Tokens: Updated --ax-bg-overlay token. ([#4262](https://github.com/navikt/aksel/pull/4262))
102
+
103
+ ## 7.36.0
104
+
105
+ ## 7.35.3
106
+
107
+ ## 7.35.2
108
+
109
+ ## 7.35.1
110
+
111
+ ## 7.35.0
112
+
113
+ ## 7.34.0
114
+
115
+ ### Patch Changes
116
+
117
+ - Tooltip: Update z-index to max int. ([#4309](https://github.com/navikt/aksel/pull/4309))
118
+
119
+ ## 7.33.5
120
+
121
+ ## 7.33.4
122
+
123
+ ## 7.33.3
124
+
125
+ ## 7.33.2
126
+
127
+ ## 7.33.1
128
+
129
+ ## 7.33.0
130
+
131
+ ## 7.32.5
132
+
133
+ ## 7.32.4
134
+
135
+ ## 7.32.3
136
+
137
+ ## 7.32.2
138
+
139
+ ## 7.32.1
140
+
141
+ ## 7.32.0
142
+
143
+ ## 7.31.0
144
+
145
+ ## 7.30.1
146
+
147
+ ## 7.30.0
148
+
149
+ ## 7.29.1
150
+
151
+ ## 7.29.0
152
+
153
+ ## 7.28.1
154
+
155
+ ## 7.28.0
156
+
157
+ ## 7.27.1
158
+
159
+ ## 7.27.0
160
+
161
+ ### Minor Changes
162
+
163
+ - Darkside: Using 'Theme' to set current color-theme now works when root-node does not set light or dark class. ([#3961](https://github.com/navikt/aksel/pull/3961))
164
+
165
+ ## 7.26.0
166
+
167
+ ## 7.25.2
168
+
169
+ ## 7.25.1
170
+
171
+ ### Patch Changes
172
+
173
+ - Darkside: Updated Meta-lime 300 and 400. ([#3928](https://github.com/navikt/aksel/pull/3928))
174
+
175
+ ## 7.25.0
176
+
177
+ ## 7.24.0
178
+
179
+ ## 7.23.2
180
+
181
+ ## 7.23.1
182
+
183
+ ## 7.23.0
184
+
185
+ ### Minor Changes
186
+
187
+ - Darkside: Renamed 'data-color-role' dynamic theme attribute to 'data-color'. ([#3849](https://github.com/navikt/aksel/pull/3849))
188
+
189
+ - Darkside: 'Accent' is now set as the default color palette in components when no other options are set. ([#3849](https://github.com/navikt/aksel/pull/3849))
190
+
191
+ ## 7.22.0
192
+
193
+ ### Minor Changes
194
+
195
+ - Border-radius: Add new `radius`-tokens that will replace `border-radius`-tokens. T-shirt sizing is replaced with numbers reflecting its value. `--a-border-radius-medium` is now `--ax-radius-4`. Until darkside-theming is mainlined, we will continue to support both new and legacy border-radius side by side. ([#3784](https://github.com/navikt/aksel/pull/3784))
196
+
197
+ ## 7.21.1
198
+
199
+ ## 7.21.0
200
+
201
+ ## 7.20.0
202
+
203
+ ## 7.19.1
204
+
205
+ ## 7.19.0
206
+
207
+ ### Patch Changes
208
+
209
+ - Darkside: Update global 'meta-purple' color. ([#3703](https://github.com/navikt/aksel/pull/3703))
210
+
211
+ ## 7.18.0
212
+
213
+ ## 7.17.4
214
+
215
+ ## 7.17.3
216
+
217
+ ## 7.17.2
218
+
219
+ ## 7.17.1
220
+
221
+ ## 7.17.0
222
+
223
+ ## 7.16.1
224
+
225
+ ## 7.16.0
226
+
227
+ ## 7.15.0
228
+
229
+ ## 7.14.3
230
+
231
+ ## 7.14.2
232
+
233
+ ### Patch Changes
234
+
235
+ - Darkside: :lipstick: Bumped `bg-raised` token to `neutral-200` in darkmode. ([`441d8b7`](https://github.com/navikt/aksel/commit/441d8b732cb4820e6fe37ad87200c5b5eb31e5cf))
236
+
237
+ ## 7.14.1
238
+
239
+ ## 7.14.0
240
+
241
+ ## 7.13.0
242
+
243
+ ## 7.12.2
244
+
245
+ ## 7.12.1
246
+
247
+ ## 7.12.0
248
+
249
+ ## 7.11.0
250
+
251
+ ## 7.10.0
252
+
253
+ ## 7.9.2
254
+
255
+ ## 7.9.1
256
+
257
+ ## 7.9.0
258
+
259
+ ## 7.8.1
260
+
261
+ ## 7.8.0
262
+
263
+ ## 7.7.0
264
+
265
+ ## 7.6.0
266
+
267
+ ## 7.5.3
268
+
269
+ ## 7.5.2
270
+
271
+ ## 7.5.1
272
+
273
+ ## 7.5.0
274
+
275
+ ## 7.4.3
276
+
277
+ ## 7.4.2
278
+
279
+ ## 7.4.1
280
+
281
+ ## 7.4.0
282
+
283
+ ## 7.3.1
284
+
285
+ ## 7.3.0
286
+
287
+ ## 7.2.1
288
+
289
+ ## 7.2.0
290
+
291
+ ## 7.1.2
292
+
293
+ ## 7.1.1
294
+
295
+ ## 7.1.0
296
+
297
+ ## 7.0.1
298
+
299
+ ## 7.0.0
300
+
301
+ ## 6.17.0
302
+
303
+ ## 6.16.3
304
+
305
+ ## 6.16.2
306
+
307
+ ## 6.16.1
308
+
309
+ ## 6.16.0
310
+
311
+ ### Patch Changes
312
+
313
+ - Tokens: Adjusted Green 400 to comply with AA 3.00 contrast. ([#3091](https://github.com/navikt/aksel/pull/3091))
314
+
315
+ ## 6.15.0
316
+
317
+ ## 6.14.0
318
+
319
+ ### Minor Changes
320
+
321
+ - Fonts: Added built-in support for cyrillic, cyrillic-ext and latin-ext ([#3044](https://github.com/navikt/aksel/pull/3044))
322
+
323
+ ## 6.13.0
324
+
325
+ ## 6.12.0
326
+
327
+ ## 6.11.0
328
+
329
+ ## 6.10.1
330
+
331
+ ## 6.10.0
332
+
333
+ ## 6.9.0
334
+
335
+ ## 6.8.0
336
+
337
+ ## 6.7.1
338
+
339
+ ## 6.7.0
340
+
341
+ ## 6.6.1
342
+
343
+ ## 6.6.0
344
+
345
+ ## 6.5.0
346
+
347
+ ## 6.4.1
348
+
349
+ ## 6.4.0
350
+
351
+ ## 6.3.6
352
+
353
+ ## 6.3.5
354
+
355
+ ## 6.3.4
356
+
357
+ ## 6.3.3
358
+
359
+ ## 6.3.2
360
+
361
+ ## 6.3.1
362
+
363
+ ## 6.3.0
364
+
365
+ ## 6.2.0
366
+
367
+ ## 6.1.1
368
+
369
+ ## 6.1.0
370
+
371
+ ## 6.0.0
372
+
373
+ ### Major Changes
374
+
375
+ - Tokens: La til nytt brekkpunkt `2xl` for `1440px`. Alle primitives er oppdatert for å reflektere oppdateringen. Brukere av Tailwind vil måtte sjekke at overskriving av `screen: "2xl"` ikke brekker app. ([#2623](https://github.com/navikt/aksel/pull/2623))
376
+
377
+ - Tokens: Fjernet token `--a-z-index-modal` da den ikke lengre blir konsumert i systemet. ([#2623](https://github.com/navikt/aksel/pull/2623))
378
+
379
+ ## 5.18.3
380
+
381
+ ## 5.18.2
382
+
383
+ ## 5.18.1
384
+
385
+ ## 5.18.0
386
+
387
+ ## 5.17.5
388
+
389
+ ## 5.17.4
390
+
391
+ ## 5.17.3
392
+
393
+ ## 5.17.2
394
+
395
+ ## 5.17.1
396
+
397
+ ## 5.17.0
398
+
399
+ ## 5.16.0
400
+
401
+ ## 5.15.1
402
+
403
+ ## 5.15.0
404
+
405
+ ## 5.14.0
406
+
407
+ ## 5.13.0
408
+
409
+ ### Patch Changes
410
+
411
+ - Tokens: Ny token `--a-text-width-max: 576px` ([#2572](https://github.com/navikt/aksel/pull/2572))
412
+
413
+ ## 5.12.5
414
+
415
+ ## 5.12.4
416
+
417
+ ## 5.12.3
418
+
419
+ ## 5.12.2
420
+
421
+ ## 5.12.1
422
+
423
+ ## 5.12.0
424
+
425
+ ## 5.11.5
426
+
427
+ ## 5.11.4
428
+
429
+ ## 5.11.3
430
+
431
+ ## 5.11.2
432
+
433
+ ## 5.11.1
434
+
435
+ ## 5.11.0
436
+
437
+ ## 5.10.4
438
+
439
+ ## 5.10.3
440
+
441
+ ## 5.10.2
442
+
443
+ ## 5.10.1
444
+
445
+ ## 5.10.0
446
+
447
+ ## 5.9.2
448
+
449
+ ## 5.9.1
450
+
451
+ ## 5.9.0
452
+
453
+ ## 5.8.0
454
+
455
+ ## 5.7.6
456
+
457
+ ## 5.7.5
458
+
459
+ ## 5.7.4
460
+
461
+ ## 5.7.3
462
+
463
+ ### Patch Changes
464
+
465
+ - Ny spacing token på 0.375rem ([#2370](https://github.com/navikt/aksel/pull/2370))
466
+
467
+ ## 5.7.2
468
+
469
+ ## 5.7.1
470
+
471
+ ## 5.7.0
472
+
473
+ ## 5.6.5
474
+
475
+ ## 5.6.4
476
+
477
+ ## 5.6.3
478
+
479
+ ## 5.6.2
480
+
481
+ ### Patch Changes
482
+
483
+ - Tokens: Tilbyr nå token literals for typer, tidligere string literals ([#2342](https://github.com/navikt/aksel/pull/2342))
484
+
485
+ ## 5.6.1
486
+
487
+ ## 5.6.0
488
+
489
+ ## 5.5.0
490
+
491
+ ### Minor Changes
492
+
493
+ - Box: Ny primitive, erstatter dagens `Panel` ([#2195](https://github.com/navikt/aksel/pull/2195))
494
+
495
+ ## 5.4.1
496
+
497
+ ## 5.4.0
498
+
499
+ ### Patch Changes
500
+
501
+ - Tokens: `data-theme="light"` vil nå tilbakestille theming ([#2238](https://github.com/navikt/aksel/pull/2238))
502
+
503
+ ## 5.3.5
504
+
505
+ ## 5.3.4
506
+
507
+ ## 5.3.3
508
+
509
+ ## 5.3.2
510
+
511
+ ## 5.3.1
512
+
513
+ ## 5.3.0
514
+
515
+ ## 5.2.1
516
+
517
+ ## 5.2.0
518
+
519
+ ## 5.1.0
520
+
521
+ ## 5.0.3
522
+
523
+ ### Patch Changes
524
+
525
+ - ConfirmationPanel: Fikset opplesing av feilmelding ([#2199](https://github.com/navikt/aksel/pull/2199))
526
+
527
+ - Tokens: `--a-icon-alt-3` er nå i synk med figma ([#2199](https://github.com/navikt/aksel/pull/2199))
528
+
529
+ ## 5.0.2
530
+
531
+ ## 5.0.1
532
+
533
+ ## 5.0.0
534
+
535
+ ### Major Changes
536
+
537
+ - Gray: Gråfarger er nå mindre varme ([#2092](https://github.com/navikt/aksel/pull/2092))
538
+
539
+ - Action: Selected-varianter av action er nå 'blue' ('deepblue' før) ([#2092](https://github.com/navikt/aksel/pull/2092))
540
+
541
+ ## 4.12.1
542
+
543
+ ## 4.12.0
544
+
545
+ ## 4.11.2
546
+
547
+ ## 4.11.1
548
+
549
+ ## 4.11.0
550
+
551
+ ## 4.10.2
552
+
553
+ ## 4.10.1
554
+
555
+ ## 4.10.0
556
+
557
+ ## 4.9.1
558
+
559
+ ## 4.9.0
560
+
561
+ ## 4.8.0
562
+
563
+ ## 4.7.4
564
+
565
+ ## 4.7.3
566
+
567
+ ## 4.7.2
568
+
569
+ ## 4.7.1
570
+
571
+ ## 4.7.0
572
+
573
+ ## 4.6.1
574
+
575
+ ## 4.6.0
576
+
577
+ ## 4.5.0
578
+
579
+ ## 4.4.2
580
+
581
+ ## 4.4.1
582
+
583
+ ## 4.4.0
584
+
585
+ ### Minor Changes
586
+
587
+ - Shadow-tokens er oppdatert til mer tydeligere varianter ([PR](https://github.com/navikt/aksel/pull/2041))
588
+
589
+ ## 4.1.0
590
+
591
+ ### Minor Changes
592
+
593
+ - :tada: Fargetokens for datavisualisering. ([PR](https://github.com/navikt/aksel/pull/2032))
594
+
595
+ - Oppdatert text-subtle og icon-subtle tokens til 700-skala (tidligere 600). ([PR](https://github.com/navikt/aksel/pull/2036))
596
+
597
+ ## 2.5.0
598
+
599
+ ### Minor Changes
600
+
601
+ - Breakpoint-tokens lagt til ([PR](https://github.com/navikt/aksel/pull/1832))
602
+
603
+ ## 2.2.0
604
+
605
+ ### Minor Changes
606
+
607
+ - Justeringer av semantiske fargetokens, statusfarger nå mer tydelig ([PR](https://github.com/navikt/aksel/pull/1787))
608
+
609
+ - Oppdatert neutral-tokens ([PR](https://github.com/navikt/aksel/pull/1789))
610
+
611
+ ## 2.1.0
612
+
613
+ ### Patch Changes
614
+
615
+ - Fikset feil danger-hover token ([PR](https://github.com/navikt/aksel/pull/1665))
616
+
617
+ ## 2.0.0
618
+
619
+ ### Major Changes
620
+
621
+ - Alle token er oppdatert til nytt format. ([Guide](https://aksel.nav.no/grunnleggende/kode/migrering#h76f47744d112))
package/dist/tokens.css CHANGED
@@ -551,7 +551,7 @@
551
551
  }
552
552
 
553
553
  :root, :host {
554
- --ax-version: "8.16.1";
554
+ --ax-version: "8.17.1";
555
555
  --ax-space-0: 0rem;
556
556
  --ax-space-1: .0625rem;
557
557
  --ax-space-2: .125rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-tokens",
3
- "version": "8.16.1",
3
+ "version": "8.17.1",
4
4
  "description": "Design-tokens for Nav designsystem",
5
5
  "author": "Aksel | Nav designsystem team",
6
6
  "keywords": [
@@ -35,14 +35,14 @@
35
35
  "homepage": "https://aksel.nav.no/grunnleggende/styling/design-tokens/",
36
36
  "devDependencies": {
37
37
  "@figma/plugin-typings": "^1.131.0",
38
- "colorjs.io": "^0.7.0",
39
- "esbuild": "^0.28.0",
38
+ "colorjs.io": "^0.7.1",
39
+ "esbuild": "^0.28.2",
40
40
  "lightningcss": "^1.33.0",
41
41
  "lodash": "4.18.1",
42
42
  "style-dictionary": "^4.1.1",
43
43
  "tsx": "^4.23.1",
44
44
  "typescript": "6.0.3",
45
- "vitest": "4.1.10"
45
+ "vitest": "4.1.11"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public",
@@ -69,4 +69,4 @@
69
69
  "./scss": "./dist/tokens.scss",
70
70
  "./less": "./dist/tokens.less"
71
71
  }
72
- }
72
+ }
package/types.ts CHANGED
@@ -31,18 +31,10 @@ export type {
31
31
 
32
32
  /* --------------------------- Backgrounds tokens --------------------------- */
33
33
  type AkselRootBackgroundToken =
34
- | "default"
35
- | "input"
36
- | "raised"
37
- | "sunken"
38
- | "overlay";
34
+ "default" | "input" | "raised" | "sunken" | "overlay";
39
35
 
40
36
  type AkselDynamicStatelessBackgroundToken =
41
- | "soft"
42
- | "softA"
43
- | "moderate"
44
- | "moderateA"
45
- | "strong";
37
+ "soft" | "softA" | "moderate" | "moderateA" | "strong";
46
38
 
47
39
  type AkselDynamicStatefulBackgroundToken =
48
40
  | "moderate-hover"