@oslokommune/punkt-css 12.11.5 → 12.12.2
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/modal.css +10 -7
- package/dist/css/components/modal.min.css +1 -1
- package/dist/css/components/textinput.css +5 -3
- 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 +16 -10
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +7 -5
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +19 -13
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_index.scss +1 -1
- package/dist/scss/components/_modal.scss +12 -7
- package/dist/scss/elements/_input.scss +5 -2
- package/package.json +2 -2
|
@@ -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
|
+
}
|
|
@@ -74,7 +74,11 @@
|
|
|
74
74
|
&__container:not(:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple)))):not(:is(:has(textarea[cols]))):not(
|
|
75
75
|
:is(:has(input[size]))
|
|
76
76
|
):not(:is(:has(&--fullwidth))) {
|
|
77
|
-
width: min(100
|
|
77
|
+
width: min(31rem, 100%);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&__container:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple))):not(:is(:has(&--fullwidth))) {
|
|
81
|
+
width: fit-content;
|
|
78
82
|
}
|
|
79
83
|
|
|
80
84
|
&--fullwidth {
|
|
@@ -222,7 +226,6 @@
|
|
|
222
226
|
}
|
|
223
227
|
|
|
224
228
|
&__container {
|
|
225
|
-
width: fit-content;
|
|
226
229
|
display: flex;
|
|
227
230
|
align-items: center;
|
|
228
231
|
align-self: stretch;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-css",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.12.2",
|
|
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": "e724a9ece981e63f0bf39d4d8bb49c35f4d574fa"
|
|
58
58
|
}
|