@oslokommune/punkt-css 12.23.0 → 12.23.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.
@@ -91,7 +91,6 @@ $pkt-modal-padding-sides: map.get(variables.$spacing, 'size-40');
91
91
  color: var(--pkt-color-background-default);
92
92
  }
93
93
  }
94
-
95
94
  .pkt-link__icon {
96
95
  width: unset;
97
96
  height: 1.75rem;
@@ -235,12 +234,6 @@ body.pkt-modal--open {
235
234
  }
236
235
  }
237
236
 
238
- // Make sure the header has a background color if the close button is not yellow
239
- // :has() is not supported in Safari thus we must set :is so that it is ignored in Safari and not crash at least.
240
- .pkt-modal__header:is(:has(.pkt-modal__closeButton:not(.pkt-modal__closeButton--yellow-filled))) {
241
- background-color: var(--pkt-color-background-default);
242
- }
243
-
244
237
  // In Modal docs, margin is being added on buttons because of some global style, thus we need to override it here so that our docs example is consistent with the component.
245
238
  .pkt-modal
246
239
  .pkt-modal__container
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.23.0",
3
+ "version": "12.23.1",
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",
@@ -54,5 +54,5 @@
54
54
  "url": "https://github.com/oslokommune/punkt/issues"
55
55
  },
56
56
  "license": "MIT",
57
- "gitHead": "98a44ae9962af8297e125fefb09a6c6f7e65ef74"
57
+ "gitHead": "c546f78a17e9319e711ea21d9ecdf8cd83dc156d"
58
58
  }