@oslokommune/punkt-css 3.2.0 → 3.3.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/CHANGELOG.md CHANGED
@@ -5,6 +5,87 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [3.3.0](https://github.com/oslokommune/punkt/compare/3.2.1...3.3.0) (2023-04-21)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ * Fargeendringer (#795). * docs(docs): Oppdatert colors.json og tekst
15
+
16
+ * fix(css): Små endringer i fargekoder
17
+
18
+ * chore(css, docs): #729 Erstatt fargen visited med focus
19
+
20
+ Oppsummert:
21
+ Visited og visited-light er fjernet.
22
+ Focus er lagt til.
23
+
24
+ ---------
25
+
26
+ Co-authored-by: Cecilie Hansen Rørås <cecilie.roras@origo.oslo.kommune.no>
27
+
28
+
29
+ ### Bug Fixes
30
+ Ingen
31
+
32
+ ### Chores
33
+ Ingen
34
+
35
+ ---
36
+
37
+
38
+ ## [3.2.1](https://github.com/oslokommune/punkt/compare/3.2.0...3.2.1) (2023-04-20)
39
+
40
+ ### ⚠ BREAKING CHANGES
41
+ Ingen
42
+
43
+ ### Features
44
+ Ingen
45
+
46
+ ### Bug Fixes
47
+ * Legge til manglende changelogs (#804). Changelogs ble ikke generert for v3.2.0 pga en feil. Denne releasen er kun for å bumpe versjonen og få changelogs på plass.
48
+
49
+
50
+ ### Chores
51
+ Ingen
52
+
53
+ ---
54
+
55
+
56
+ ## [3.2.0](https://github.com/oslokommune/punkt/compare/3.1.2...3.2.0) (2023-04-20)
57
+
58
+ ### ⚠ BREAKING CHANGES
59
+ Ingen
60
+
61
+ ### Features
62
+ * [760](https://github.com/oslokommune/punkt/issues/760) Link og linkcard
63
+ To nyheter denne gangen; link og linkcard.
64
+
65
+ Link har fått en overhaling, og har fått mulighet til å skille
66
+ visuelt på intern og ekstern lenke. Focus state er nå mer synlig.
67
+ Link finnes kun i CSS. Les mer på
68
+ https://punkt.oslo.kommune.no/3.2/komponenter/link/
69
+
70
+ Link card er en spesialvariant av en lenke som inneholder ikon,
71
+ lenketekst og mer informasjon under lenketeksten. Komponenten
72
+ finnes både i CSS, React og Vue2. Les mer på
73
+ https://punkt.oslo.kommune.no/3.2/komponenter/linkcard/
74
+
75
+ ---------
76
+ Co-authored-by: Cecilie Hansen Rørås <cecilie.roras@origo.oslo.kommune.no>
77
+ Co-authored-by: Ole Aasen <ole.aasen@origo.oslo.kommune.no>
78
+ Co-authored-by: Victoria Nerem <118815886+vicnerem@users.noreply.github.com>
79
+
80
+ ### Bug Fixes
81
+ Ingen
82
+
83
+
84
+ ### Chores
85
+ Ingen
86
+
87
+ ---
88
+
8
89
  ## [3.1.2](https://github.com/oslokommune/punkt/compare/3.1.1...3.1.2) (2023-03-30)
9
90
 
10
91
  ### ⚠ BREAKING CHANGES
@@ -67,8 +67,7 @@
67
67
  --color-active-light: #b3f5ff;
68
68
  --color-hover: #1f42aa;
69
69
  --color-hover-light: #b3f5ff;
70
- --color-visited: #8d50b1;
71
- --color-visited-light: #e0adff;
70
+ --color-focus: #e0adff;
72
71
  --color-disabled: #4d4d4d;
73
72
  --color-disabled-light: #f9f9f9;
74
73
  --color-info: #2a2859;
@@ -79,16 +78,16 @@
79
78
  --color-blue-dark-10: #d9e9f2;
80
79
  --color-blue-5: #f1fdff;
81
80
  --color-blue-10: #e5fcff;
82
- --color-blue-60: #cdf5fb;
81
+ --color-blue-60: #d1f9ff;
83
82
  --color-green-dark-5: #f2fff3;
84
83
  --color-green-dark-10: #d9f2ef;
85
84
  --color-green-10: #e5ffe6;
86
- --color-green-30: #c0f6e3;
85
+ --color-green-30: #c7fde9;
87
86
  --color-red-5: #fff3f2;
88
87
  --color-red-10: #ffe8e5;
89
- --color-red-30: #f9cfca;
88
+ --color-red-30: #ffdfdc;
90
89
  --color-yellow-5: #fef9f0;
91
- --color-yellow-50: #fae1b6;
90
+ --color-yellow-50: #ffe7bc;
92
91
  --color-gray-light: #f9f9f9;
93
92
  --color-gray: #f2f2f2;
94
93
  --color-gray-dark: #2c2c2c;
@@ -226,19 +225,11 @@
226
225
  color: #b3f5ff !important;
227
226
  }
228
227
 
229
- .bg-color-visited {
230
- background-color: #8d50b1 !important;
231
- }
232
-
233
- .txt-color-visited {
234
- color: #8d50b1 !important;
235
- }
236
-
237
- .bg-color-visited-light {
228
+ .bg-color-focus {
238
229
  background-color: #e0adff !important;
239
230
  }
240
231
 
241
- .txt-color-visited-light {
232
+ .txt-color-focus {
242
233
  color: #e0adff !important;
243
234
  }
244
235
 
@@ -323,11 +314,11 @@
323
314
  }
324
315
 
325
316
  .bg-color-blue-60 {
326
- background-color: #cdf5fb !important;
317
+ background-color: #d1f9ff !important;
327
318
  }
328
319
 
329
320
  .txt-color-blue-60 {
330
- color: #cdf5fb !important;
321
+ color: #d1f9ff !important;
331
322
  }
332
323
 
333
324
  .bg-color-green-dark-5 {
@@ -355,11 +346,11 @@
355
346
  }
356
347
 
357
348
  .bg-color-green-30 {
358
- background-color: #c0f6e3 !important;
349
+ background-color: #c7fde9 !important;
359
350
  }
360
351
 
361
352
  .txt-color-green-30 {
362
- color: #c0f6e3 !important;
353
+ color: #c7fde9 !important;
363
354
  }
364
355
 
365
356
  .bg-color-red-5 {
@@ -379,11 +370,11 @@
379
370
  }
380
371
 
381
372
  .bg-color-red-30 {
382
- background-color: #f9cfca !important;
373
+ background-color: #ffdfdc !important;
383
374
  }
384
375
 
385
376
  .txt-color-red-30 {
386
- color: #f9cfca !important;
377
+ color: #ffdfdc !important;
387
378
  }
388
379
 
389
380
  .bg-color-yellow-5 {
@@ -395,11 +386,11 @@
395
386
  }
396
387
 
397
388
  .bg-color-yellow-50 {
398
- background-color: #fae1b6 !important;
389
+ background-color: #ffe7bc !important;
399
390
  }
400
391
 
401
392
  .txt-color-yellow-50 {
402
- color: #fae1b6 !important;
393
+ color: #ffe7bc !important;
403
394
  }
404
395
 
405
396
  .bg-color-gray-light {
@@ -9204,7 +9195,7 @@ a:hover, a.pkt-link--hover {
9204
9195
  text-decoration: underline;
9205
9196
  }
9206
9197
  a:focus-visible, a.pkt-link--focus {
9207
- box-shadow: 0px 0px 0px 0.125rem var(--color-active), 0px 0px 0px 0.375rem var(--color-visited-light);
9198
+ box-shadow: 0px 0px 0px 0.125rem var(--color-active), 0px 0px 0px 0.375rem var(--color-focus);
9208
9199
  outline: none;
9209
9200
  color: var(--color-hover);
9210
9201
  }
@@ -9228,13 +9219,13 @@ a:active, a.pkt-link--active {
9228
9219
  color: var(--color-hover-light);
9229
9220
  }
9230
9221
  [data-mode=dark] a:focus-visible, [data-mode=dark] a.pkt-link--focus {
9231
- box-shadow: 0px 0px 0px 0.125rem var(--color-active-light), 0px 0px 0px 0.375rem var(--color-visited-light);
9222
+ box-shadow: 0px 0px 0px 0.125rem var(--color-active-light), 0px 0px 0px 0.375rem var(--color-focus);
9232
9223
  outline: none;
9233
9224
  color: var(--color-hover-light);
9234
9225
  }
9235
9226
  [data-mode=dark] a:focus:not(:focus-visible) {
9236
9227
  box-shadow: none;
9237
- outline: 0.125rem solid var(--color-visited-light);
9228
+ outline: 0.125rem solid var(--color-focus);
9238
9229
  color: var(--color-hover-light);
9239
9230
  }
9240
9231
  [data-mode=dark] a:active, [data-mode=dark] a.pkt-link--active {