@oslokommune/punkt-css 12.42.4 → 12.42.5

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.
@@ -31,11 +31,12 @@ pkt-listbox {
31
31
  list-style: none;
32
32
  flex-grow: 1;
33
33
  overflow-y: auto;
34
- &:not(:is(:has(*))) {
35
- display: none;
34
+ @supports selector(:not(:has(*))) {
35
+ &:not(:is(:has(*))) {
36
+ display: none;
37
+ }
36
38
  }
37
39
  }
38
-
39
40
  .pkt-listbox__option {
40
41
  margin: 0;
41
42
  padding: 0.75rem 20px;
@@ -51,6 +52,11 @@ pkt-listbox {
51
52
  grid-area: label;
52
53
  }
53
54
 
55
+ pkt-icon[name='check-big'] {
56
+ // fix for odd Safari 15 bug
57
+ height: 1rem;
58
+ }
59
+
54
60
  &-description {
55
61
  padding-top: 0.25rem;
56
62
  grid-area: description;
@@ -73,7 +79,6 @@ pkt-listbox {
73
79
  }
74
80
 
75
81
  &--selected {
76
- grid-area: check;
77
82
  padding-left: 0.25rem;
78
83
  &:focus {
79
84
  padding-left: 2px;
@@ -110,8 +115,10 @@ pkt-listbox {
110
115
  margin: 0;
111
116
  flex-grow: 0;
112
117
  flex-shrink: 1;
113
- &:not(:is(:has(*))) {
114
- display: none;
118
+ @supports selector(:not(:has(*))) {
119
+ &:not(:is(:has(*))) {
120
+ display: none;
121
+ }
115
122
  }
116
123
  }
117
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.42.4",
3
+ "version": "12.42.5",
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",
@@ -55,5 +55,5 @@
55
55
  "url": "https://github.com/oslokommune/punkt/issues"
56
56
  },
57
57
  "license": "MIT",
58
- "gitHead": "c1841153a3aec61d53b50b34c69ca74dd022d1ef"
58
+ "gitHead": "568e687d99deef74b129835c9fd66b14b5dd3b7f"
59
59
  }