@oslokommune/punkt-css 8.0.5 → 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.
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "8.0.5",
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": "5ee54b441a79b5cb73e9659f909443c48d6b600c"
58
+ "gitHead": "837caafedd376bb52d435f7a46c935c6ada950fa"
59
59
  }