@oslokommune/punkt-css 11.13.3 → 11.13.13

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.
@@ -13,7 +13,7 @@
13
13
  gap: map.get(variables.$spacing, 'size-8');
14
14
  color: var(--pkt-color-text-body-default);
15
15
 
16
- >h2 {
16
+ > h2 {
17
17
  font-size: inherit;
18
18
  font-weight: inherit;
19
19
  letter-spacing: inherit;
@@ -28,7 +28,17 @@
28
28
  @include typography.get-text('pkt-txt-14-light');
29
29
  color: var(--pkt-color-text-body-default);
30
30
 
31
- >* {
31
+ > .pkt-btn,
32
+ &-expandable .pkt-btn {
33
+ @include typography.get-text('pkt-txt-14-light');
34
+ padding: 0;
35
+ height: auto;
36
+ display: inline-flex;
37
+ text-align: left;
38
+ align-items: center;
39
+ }
40
+
41
+ > * {
32
42
  &:first-child {
33
43
  margin-top: 0;
34
44
  }
@@ -39,10 +49,6 @@
39
49
  }
40
50
 
41
51
  &-expandable {
42
- display: inline-flex;
43
- text-align: left;
44
- align-items: center;
45
-
46
52
  &-heading {
47
53
  @include typography.get-text('pkt-txt-18-medium');
48
54
  margin: 0;
@@ -111,14 +117,7 @@
111
117
  margin-left: 8px;
112
118
  }
113
119
 
114
- .pkt-btn {
115
- @include typography.get-text('pkt-txt-14-light');
116
- padding: 0;
117
- height: auto;
118
- }
119
-
120
120
  &--error {
121
-
122
121
  .pkt-input,
123
122
  .pkt-input-prefix,
124
123
  .pkt-input-suffix,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "11.13.3",
3
+ "version": "11.13.13",
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",
@@ -20,7 +20,7 @@
20
20
  "preview": "astro preview"
21
21
  },
22
22
  "devDependencies": {
23
- "@oslokommune/punkt-assets": "^11.13.2",
23
+ "@oslokommune/punkt-assets": "^11.13.13",
24
24
  "astro": "^2.8.1",
25
25
  "edit-json-file": "^1.7.0",
26
26
  "fs-extra": "^11.1.0",
@@ -55,5 +55,5 @@
55
55
  "url": "https://github.com/oslokommune/punkt/issues"
56
56
  },
57
57
  "license": "MIT",
58
- "gitHead": "344b120d07c6db09133e94caa559da4919afc23e"
58
+ "gitHead": "0e14e568e7e3156eb3fce5d9dbc016bb9bb9ccf7"
59
59
  }