@oslokommune/punkt-css 8.0.4 → 8.0.8
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 +35 -0
- package/dist/css/components/alert.css +17 -0
- package/dist/css/components/alert.min.css +1 -1
- package/dist/css/components/inputwrapper.css +0 -14
- package/dist/css/components/inputwrapper.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-components.css +18 -15
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +1 -1
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +18 -15
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/components/_alert.scss +17 -0
- package/dist/scss/components/_inputwrapper.scss +0 -13
- package/dist/scss/elements/_input.scss +2 -2
- package/package.json +2 -2
|
@@ -100,3 +100,20 @@ $-border-thickness: map.get(variables.$spacing, 'size-4');
|
|
|
100
100
|
top: 0.625rem;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
+
|
|
104
|
+
// Utelukkende for bruk i feilmeldinger i InputWrapper
|
|
105
|
+
.#{$-module-name}--slim {
|
|
106
|
+
padding: map.get(variables.$spacing, 'size-12')
|
|
107
|
+
map.get(variables.$spacing, 'size-16')
|
|
108
|
+
map.get(variables.$spacing, 'size-12') map.get(variables.$spacing, 'size-4');
|
|
109
|
+
.#{$-module-name}__icon {
|
|
110
|
+
width: 1.375rem;
|
|
111
|
+
height: 1.375rem;
|
|
112
|
+
top: 0.81rem;
|
|
113
|
+
left: 1.25rem;
|
|
114
|
+
}
|
|
115
|
+
.#{$-module-name}__text {
|
|
116
|
+
@include get-text('pkt-txt-16-light');
|
|
117
|
+
margin: 0 0 0 2.875rem;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -85,24 +85,11 @@
|
|
|
85
85
|
// Alert
|
|
86
86
|
.pkt-alert {
|
|
87
87
|
width: min(100%, 31rem);
|
|
88
|
-
padding: 0.75rem 1rem 0.75rem calc(8px - 4px);
|
|
89
88
|
margin: 0 0 0.5rem 0;
|
|
90
89
|
|
|
91
90
|
&--error {
|
|
92
91
|
margin: 0.5rem 0 0.5rem 0;
|
|
93
92
|
}
|
|
94
|
-
|
|
95
|
-
&__icon {
|
|
96
|
-
width: 1.375rem;
|
|
97
|
-
height: 1.375rem;
|
|
98
|
-
top: 0.81rem;
|
|
99
|
-
left: 1.25rem;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&__text {
|
|
103
|
-
@include typography.get-text('pkt-txt-16-light');
|
|
104
|
-
margin: 0 0 0 2.875rem;
|
|
105
|
-
}
|
|
106
93
|
}
|
|
107
94
|
|
|
108
95
|
// Tag
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
padding: 0.5rem 1rem;
|
|
18
18
|
|
|
19
19
|
&:not(textarea[cols]):not(input[size]):not(&--fullwidth),
|
|
20
|
-
&__container:not(:has(textarea[cols])):not(:has(input[size])):not(
|
|
21
|
-
:has(&--fullwidth)
|
|
20
|
+
&__container:not(:is(:has(textarea[cols]))):not(:is(:has(input[size]))):not(
|
|
21
|
+
:is(:has(&--fullwidth))
|
|
22
22
|
) {
|
|
23
23
|
width: min(100%, 31rem);
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-css",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.8",
|
|
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",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
56
56
|
},
|
|
57
57
|
"license": "MIT",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "837caafedd376bb52d435f7a46c935c6ada950fa"
|
|
59
59
|
}
|