@entur/icons 9.0.2 → 10.0.0-next.0

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.
Files changed (2) hide show
  1. package/dist/styles.css +15 -15
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -159,13 +159,13 @@
159
159
  top: 0.2em;
160
160
  }
161
161
  .eds-icon :where(g, path) {
162
- fill: currentColor;
162
+ fill: currentcolor;
163
163
  }
164
164
  .eds-icon__metro {
165
165
  color: #bf5826;
166
166
  color: var(--basecolors-shape-metro-default);
167
167
  }
168
- .eds-contrast .eds-icon__metro {
168
+ :where(.eds-contrast) .eds-icon__metro {
169
169
  color: #f08901;
170
170
  color: var(--basecolors-shape-metro-contrast);
171
171
  }
@@ -173,7 +173,7 @@
173
173
  color: #c5044e;
174
174
  color: var(--basecolors-shape-bus-default);
175
175
  }
176
- .eds-contrast .eds-icon__bus {
176
+ :where(.eds-contrast) .eds-icon__bus {
177
177
  color: #ff6392;
178
178
  color: var(--basecolors-shape-bus-contrast);
179
179
  }
@@ -181,7 +181,7 @@
181
181
  color: #800664;
182
182
  color: var(--basecolors-shape-plane-default);
183
183
  }
184
- .eds-contrast .eds-icon__plane {
184
+ :where(.eds-contrast) .eds-icon__plane {
185
185
  color: #fbafea;
186
186
  color: var(--basecolors-shape-plane-contrast);
187
187
  }
@@ -189,7 +189,7 @@
189
189
  color: #800664;
190
190
  color: var(--basecolors-shape-helicopter-default);
191
191
  }
192
- .eds-contrast .eds-icon__helicopter {
192
+ :where(.eds-contrast) .eds-icon__helicopter {
193
193
  color: #fbafea;
194
194
  color: var(--basecolors-shape-helicopter-contrast);
195
195
  }
@@ -197,7 +197,7 @@
197
197
  color: #78469a;
198
198
  color: var(--basecolors-shape-tram-default);
199
199
  }
200
- .eds-contrast .eds-icon__tram {
200
+ :where(.eds-contrast) .eds-icon__tram {
201
201
  color: #b482fb;
202
202
  color: var(--basecolors-shape-tram-contrast);
203
203
  }
@@ -205,7 +205,7 @@
205
205
  color: #78469a;
206
206
  color: var(--basecolors-shape-funicular-default);
207
207
  }
208
- .eds-contrast .eds-icon__funicular {
208
+ :where(.eds-contrast) .eds-icon__funicular {
209
209
  color: #b482fb;
210
210
  color: var(--basecolors-shape-funicular-contrast);
211
211
  }
@@ -213,7 +213,7 @@
213
213
  color: #78469a;
214
214
  color: var(--basecolors-shape-cableway-default);
215
215
  }
216
- .eds-contrast .eds-icon__cableway {
216
+ :where(.eds-contrast) .eds-icon__cableway {
217
217
  color: #b482fb;
218
218
  color: var(--basecolors-shape-cableway-contrast);
219
219
  }
@@ -221,7 +221,7 @@
221
221
  color: #3d3e40;
222
222
  color: var(--basecolors-shape-taxi-default);
223
223
  }
224
- .eds-contrast .eds-icon__car, .eds-contrast .eds-icon__taxi, .eds-contrast .eds-icon__snowcoach {
224
+ :where(.eds-contrast) .eds-icon__car, :where(.eds-contrast) .eds-icon__taxi, :where(.eds-contrast) .eds-icon__snowcoach {
225
225
  color: #ffe082;
226
226
  color: var(--basecolors-shape-taxi-contrast);
227
227
  }
@@ -229,7 +229,7 @@
229
229
  color: #0d827e;
230
230
  color: var(--basecolors-shape-bicycle-default);
231
231
  }
232
- .eds-contrast .eds-icon__bicycle {
232
+ :where(.eds-contrast) .eds-icon__bicycle {
233
233
  color: #00dbb6;
234
234
  color: var(--basecolors-shape-bicycle-contrast);
235
235
  }
@@ -237,7 +237,7 @@
237
237
  color: #8d8e9c;
238
238
  color: var(--basecolors-shape-walk-default);
239
239
  }
240
- .eds-contrast .eds-icon__standing, .eds-contrast .eds-icon__walk, .eds-contrast .eds-icon__strolling, .eds-contrast .eds-icon__running {
240
+ :where(.eds-contrast) .eds-icon__standing, :where(.eds-contrast) .eds-icon__walk, :where(.eds-contrast) .eds-icon__strolling, :where(.eds-contrast) .eds-icon__running {
241
241
  color: #9ea0bd;
242
242
  color: var(--basecolors-shape-walk-contrast);
243
243
  }
@@ -245,7 +245,7 @@
245
245
  color: #00367f;
246
246
  color: var(--basecolors-shape-train-default);
247
247
  }
248
- .eds-contrast .eds-icon__train {
248
+ :where(.eds-contrast) .eds-icon__train {
249
249
  color: #42a5f5;
250
250
  color: var(--basecolors-shape-train-contrast);
251
251
  }
@@ -253,7 +253,7 @@
253
253
  color: #0c6693;
254
254
  color: var(--basecolors-shape-ferry-default);
255
255
  }
256
- .eds-contrast .eds-icon__ferry, .eds-contrast .eds-icon__carferry {
256
+ :where(.eds-contrast) .eds-icon__ferry, :where(.eds-contrast) .eds-icon__carferry {
257
257
  color: #6fdfff;
258
258
  color: var(--basecolors-shape-ferry-contrast);
259
259
  }
@@ -261,7 +261,7 @@
261
261
  color: #0d827e;
262
262
  color: var(--basecolors-shape-mobility-default);
263
263
  }
264
- .eds-contrast .eds-icon__mobility, .eds-contrast .eds-icon__citybike, .eds-contrast .eds-icon__carsharing {
264
+ :where(.eds-contrast) .eds-icon__mobility, :where(.eds-contrast) .eds-icon__citybike, :where(.eds-contrast) .eds-icon__carsharing {
265
265
  color: #00dbb6;
266
266
  color: var(--basecolors-shape-mobility-contrast);
267
267
  }
@@ -269,7 +269,7 @@
269
269
  fill: #ffffff;
270
270
  fill: var(--basecolors-frame-default);
271
271
  }
272
- .eds-contrast .eds-icon :where(.svg-exclamation) {
272
+ :where(.eds-contrast) .eds-icon :where(.svg-exclamation) {
273
273
  fill: #181c56;
274
274
  fill: var(--basecolors-frame-contrast);
275
275
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/icons",
3
- "version": "9.0.2",
3
+ "version": "10.0.0-next.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -27,7 +27,7 @@
27
27
  "test": "jest"
28
28
  },
29
29
  "peerDependencies": {
30
- "react": ">=16.8.0"
30
+ "react": ">=18.0.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@babel/core": "7.29.0",
@@ -40,7 +40,7 @@
40
40
  "@svgr/plugin-prettier": "8.1.0",
41
41
  "@svgr/plugin-svgo": "8.1.0",
42
42
  "@testing-library/jest-dom": "^5.17.0",
43
- "@testing-library/react": "^10.4.9",
43
+ "@testing-library/react": "^16.3.0",
44
44
  "@testing-library/user-event": "14.6.1",
45
45
  "@types/fs-extra": "^11.0.4",
46
46
  "case": "1.6.3",
@@ -58,7 +58,7 @@
58
58
  "typescript": "^5.9.2"
59
59
  },
60
60
  "dependencies": {
61
- "@entur/tokens": "^3.23.0"
61
+ "@entur/tokens": "^3.24.1-next.0"
62
62
  },
63
- "gitHead": "0def581520c21bb535b0c66eac9b09ba12b44fb3"
63
+ "gitHead": "0f435bdeec98cc3cea1db7434b13b1f771a39a18"
64
64
  }