@oslokommune/punkt-css 12.42.8 → 12.42.10

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.
@@ -8,8 +8,12 @@ pkt-input-wrapper {
8
8
  display: block;
9
9
  }
10
10
  @supports selector(:not(:has(*))) {
11
- pkt-helptext,
12
- .pkt-inputwrapper__helptext-container {
11
+ // Skjul helptext-container hvis den ikke har innhold.
12
+ // Ganske avansert, men det påvirker ikke helptext-containere
13
+ // med pkt-inputwrapper__has-helptext, så legg til den klassen
14
+ // hvis du vet sikkert at helptext har innhold.
15
+ pkt-helptext:not(:has(.pkt-inputwrapper__has-helptext)),
16
+ .pkt-inputwrapper__helptext-container:not(.pkt-inputwrapper__has-helptext) {
13
17
  &:not(
14
18
  :has([slot='helptext']:not(:empty)),
15
19
  :has(.pkt-inputwrapper__helptext-expandable .pkt-inputwrapper__helptext:not(:empty))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.42.8",
3
+ "version": "12.42.10",
4
4
  "description": "CSS-rammeverket til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -20,7 +20,7 @@
20
20
  "preview": "astro preview"
21
21
  },
22
22
  "devDependencies": {
23
- "@oslokommune/punkt-assets": "^12.39.2",
23
+ "@oslokommune/punkt-assets": "^12.42.10",
24
24
  "astro": "^5.7.5",
25
25
  "edit-json-file": "^1.8.0",
26
26
  "fs-extra": "^11.2.0",
@@ -55,5 +55,5 @@
55
55
  "url": "https://github.com/oslokommune/punkt/issues"
56
56
  },
57
57
  "license": "MIT",
58
- "gitHead": "a2ef9aba6584e59ec9225af086f8791c9a546081"
58
+ "gitHead": "cb8b5335059c3069d06dcf8ae5452587ab50faf9"
59
59
  }