@oslokommune/punkt-css 12.42.1 → 12.42.4

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.
@@ -162,6 +162,11 @@ pkt-datepicker {
162
162
  button.pkt-input-icon {
163
163
  padding-left: 0.25rem;
164
164
  padding-right: 0.25rem;
165
+ &:hover {
166
+ background-color: inherit !important;
167
+ border-color: inherit !important;
168
+ --fg-color: var(--pkt-color-button-text-hover);
169
+ }
165
170
  }
166
171
  .pkt-datepicker__input {
167
172
  padding-right: 0;
@@ -7,13 +7,15 @@
7
7
  pkt-input-wrapper {
8
8
  display: block;
9
9
  }
10
- pkt-helptext,
11
- .pkt-inputwrapper__helptext-container {
12
- &:not(
13
- :is(:has([slot='helptext']:not(:empty))),
14
- :is(:has(.pkt-inputwrapper__helptext-expandable .pkt-inputwrapper__helptext:not(:empty)))
15
- ) {
16
- display: none;
10
+ @supports selector(:not(:has(*))) {
11
+ pkt-helptext,
12
+ .pkt-inputwrapper__helptext-container {
13
+ &:not(
14
+ :has([slot='helptext']:not(:empty)),
15
+ :has(.pkt-inputwrapper__helptext-expandable .pkt-inputwrapper__helptext:not(:empty))
16
+ ) {
17
+ display: none;
18
+ }
17
19
  }
18
20
  }
19
21
  .pkt-inputwrapper {
@@ -277,7 +277,7 @@ body.pkt-modal--open {
277
277
  }
278
278
 
279
279
  &--large {
280
- width: 100vh;
280
+ width: 100vw;
281
281
  }
282
282
  }
283
283
  }
@@ -285,7 +285,7 @@ body.pkt-modal--open {
285
285
  @media screen and (max-width: 480px) {
286
286
  .pkt-modal {
287
287
  &--small {
288
- width: 100vh;
288
+ width: 100vw;
289
289
  }
290
290
  }
291
291
  }
@@ -293,7 +293,7 @@ body.pkt-modal--open {
293
293
  @media screen and (max-width: map.get(variables.$breakpoints, 'phablet')) {
294
294
  .pkt-modal {
295
295
  &--medium {
296
- width: 100vh;
296
+ width: 100vw;
297
297
  }
298
298
  }
299
299
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.42.1",
3
+ "version": "12.42.4",
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": "8c03898a29df70a7126869654f75662c626dfc90"
58
+ "gitHead": "c1841153a3aec61d53b50b34c69ca74dd022d1ef"
59
59
  }