@oslokommune/punkt-css 12.11.4 → 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.
- package/CHANGELOG.md +38 -0
- package/dist/css/components/calendar.css +1 -1
- package/dist/css/components/calendar.min.css +1 -1
- package/dist/css/components/modal.css +10 -7
- package/dist/css/components/modal.min.css +1 -1
- package/dist/css/components/textinput.css +1 -1
- package/dist/css/components/textinput.min.css +1 -1
- package/dist/css/pkt-base.css +1 -1
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +13 -9
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +3 -3
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +16 -12
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_index.scss +1 -1
- package/dist/scss/components/_calendar.scss +1 -1
- package/dist/scss/components/_modal.scss +12 -7
- package/package.json +2 -2
|
@@ -196,7 +196,7 @@ pkt-datepicker {
|
|
|
196
196
|
// Firefox specific styles :(
|
|
197
197
|
@-moz-document url-prefix() {
|
|
198
198
|
.pkt-datepicker__input:not(.pkt-datepicker--multiple) {
|
|
199
|
-
width:
|
|
199
|
+
width: 10.5rem;
|
|
200
200
|
}
|
|
201
201
|
.pkt-datepicker__inputs button.pkt-input-icon {
|
|
202
202
|
display: none;
|
|
@@ -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-
|
|
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-
|
|
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
|
-
|
|
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.
|
|
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": "
|
|
57
|
+
"gitHead": "7101571e5d72c3a719ac4fb3030d544702c22364"
|
|
58
58
|
}
|