@oslokommune/punkt-css 12.11.5 → 12.12.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.11/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/12.12/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -15,7 +15,7 @@
15
15
  max-height: max-content;
16
16
  display: flex;
17
17
  flex-direction: column;
18
- gap: map.get(variables.$spacing, 'size-16');
18
+ gap: map.get(variables.$spacing, 'size-32');
19
19
  align-items: center;
20
20
  position: fixed;
21
21
 
@@ -37,6 +37,10 @@
37
37
  margin-right: 3rem;
38
38
  }
39
39
 
40
+ &.pkt-modal--noHeadingText {
41
+ gap: 5rem;
42
+ }
43
+
40
44
  .pkt-modal__closeButton {
41
45
  position: absolute;
42
46
  right: 1.25rem;
@@ -62,7 +66,6 @@
62
66
  100% 50px,
63
67
  100% 16px,
64
68
  100% 16px;
65
- padding: 1rem 0;
66
69
  }
67
70
  }
68
71
  }
@@ -110,17 +113,15 @@ body.pkt-modal--open {
110
113
  .pkt-modal {
111
114
  &[open] {
112
115
  gap: map.get(variables.$spacing, 'size-16') 0;
116
+ line-height: map.get(variables.$line-height, 'lh-24');
113
117
 
114
118
  .pkt-modal__headingText {
115
- font-size: map.get(variables.$font-size, 'size-20');
116
- letter-spacing: map.get(variables.$letter-spacing, 'tight');
117
- line-height: map.get(variables.$line-height, 'lh-24');
119
+ font-size: map.get(variables.$font-size, 'size-22');
118
120
  }
119
121
 
120
122
  .pkt-modal__content {
121
- font-size: map.get(variables.$font-size, 'size-16');
122
123
  letter-spacing: map.get(variables.$letter-spacing, 'tight');
123
- line-height: map.get(variables.$line-height, 'lh-24');
124
+ font-size: map.get(variables.$font-size, 'size-16');
124
125
  }
125
126
  }
126
127
 
@@ -164,3 +165,7 @@ body.pkt-modal--open {
164
165
  }
165
166
  }
166
167
  }
168
+
169
+ .pkt-modal.pkt-modal--removePadding {
170
+ padding: 0;
171
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "12.11.5",
3
+ "version": "12.12.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": "1ac7645d35560a308696609a4d6743ed5f183452"
57
+ "gitHead": "7101571e5d72c3a719ac4fb3030d544702c22364"
58
58
  }