@oslokommune/punkt-css 16.17.2 → 16.26.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.
@@ -6,7 +6,7 @@
6
6
  @forward 'spacing';
7
7
 
8
8
  // Default icon path
9
- $icon-path: 'https://punkt-cdn.oslo.kommune.no/16.17/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/16.26/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -136,7 +136,8 @@ a,
136
136
  }
137
137
 
138
138
  &--external:hover::after,
139
- &:hover:not(.pkt-btn) pkt-icon {
139
+ &:hover:not(.pkt-btn) pkt-icon,
140
+ &:hover:not(.pkt-btn) .pkt-icon {
140
141
  // #1f42aa
141
142
  filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%)
142
143
  contrast(90%);
@@ -53,7 +53,8 @@ pkt-listbox {
53
53
  grid-area: label;
54
54
  }
55
55
 
56
- pkt-icon[name='check-big'] {
56
+ pkt-icon[name='check-big'],
57
+ .pkt-icon[name='check-big'] {
57
58
  // fix for odd Safari 15 bug
58
59
  height: 1rem;
59
60
  }
@@ -50,7 +50,8 @@ pkt-timepicker {
50
50
  height: auto;
51
51
  padding: 0 0.75rem;
52
52
 
53
- pkt-icon {
53
+ pkt-icon,
54
+ .pkt-icon {
54
55
  width: 1.5rem;
55
56
  height: 1.5rem;
56
57
  }
@@ -160,7 +161,8 @@ pkt-timepicker {
160
161
  padding: 0 0.75rem 0 0;
161
162
  pointer-events: none;
162
163
 
163
- pkt-icon {
164
+ pkt-icon,
165
+ .pkt-icon {
164
166
  width: 1.5rem;
165
167
  height: 1.5rem;
166
168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "16.17.2",
3
+ "version": "16.26.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",
@@ -25,20 +25,19 @@
25
25
  ]
26
26
  },
27
27
  "devDependencies": {
28
- "@oslokommune/punkt-assets": "^16.16.1",
29
- "astro": "^5.7.5",
30
- "edit-json-file": "^1.8.0",
31
- "fs-extra": "^11.2.0",
32
- "prettier": "^3.3.3",
33
- "sass": "^1.78.0",
34
- "svgo": "^3.3.2",
28
+ "@oslokommune/punkt-assets": "^16.26.2",
29
+ "edit-json-file": "^1.8.1",
30
+ "fs-extra": "^11.3.5",
31
+ "prettier": "^3.8.4",
32
+ "sass": "^1.101.0",
33
+ "svgo": "^4.0.1",
35
34
  "svgson": "^5.3.1"
36
35
  },
37
36
  "peerDependencies": {
38
37
  "@oslokommune/punkt-assets": ">=3.1.0"
39
38
  },
40
39
  "engines": {
41
- "node": ">=20.19.1"
40
+ "node": ">=22.12.0"
42
41
  },
43
42
  "private": false,
44
43
  "publishConfig": {
@@ -60,5 +59,8 @@
60
59
  "url": "https://github.com/oslokommune/punkt/issues"
61
60
  },
62
61
  "license": "MIT",
63
- "gitHead": "3eda56e8d6942a8f8aba63b79a469ac12b375e2d"
62
+ "dependencies": {
63
+ "astro": "^7.0.0-beta.4"
64
+ },
65
+ "gitHead": "b667fcd160da4b1c4e556fdd0bb23d50cc433827"
64
66
  }