@oslokommune/punkt-css 12.4.3 → 12.5.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.
@@ -6,7 +6,7 @@
6
6
  @forward 'spacing';
7
7
 
8
8
  // Default icon path
9
- $icon-path: 'https://punkt-cdn.oslo.kommune.no/12.4/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/12.5/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -2,9 +2,9 @@
2
2
  * Spacing
3
3
  */
4
4
 
5
- @use "sass:map";
6
- @use "../abstracts/variables";
7
- @use "../abstracts/mixins/breakpoints" as *;
5
+ @use 'sass:map';
6
+ @use '../abstracts/variables';
7
+ @use '../abstracts/mixins/breakpoints' as *;
8
8
 
9
9
  @each $sp-name, $sp-value in variables.$spacing {
10
10
  .m-#{$sp-name} {
@@ -55,6 +55,10 @@
55
55
  padding-bottom: $sp-value !important;
56
56
  }
57
57
 
58
+ .gap-#{$sp-name} {
59
+ gap: $sp-value !important;
60
+ }
61
+
58
62
  @each $bp-name, $bp-value in variables.$breakpoints {
59
63
  @include bp('#{$bp-value}') {
60
64
  .m-#{$sp-name}--#{$bp-name}-up {
@@ -104,6 +108,10 @@
104
108
  padding-top: $sp-value !important;
105
109
  padding-bottom: $sp-value !important;
106
110
  }
111
+
112
+ .gap-#{$sp-name}--#{$bp-name}-up {
113
+ gap: $sp-value !important;
114
+ }
107
115
  }
108
116
  }
109
117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.4.3",
3
+ "version": "12.5.0",
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": "e2f0da635d1cf791a2182a85ec76020c1b7a4c4f"
57
+ "gitHead": "1342b6cc802b3fef7caa218bc76051777e8dbe57"
58
58
  }