@entur/icons 3.5.0 → 4.0.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.
- package/CHANGELOG.md +11 -0
- package/dist/index.esm.js +5 -13
- package/dist/index.esm.native.js +5 -13
- package/dist/index.js +5 -13
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [4.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/icons@3.5.0...@entur/icons@4.0.0) (2022-04-19)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **cableway icon:** fix color of cableway icon, and fix color prop in native package ([73cc942](https://bitbucket.org/enturas/design-system/commits/73cc942cf85bce77f8815e208853d64983e96d4d))
|
|
11
|
+
- **cableway icon:** update cableway icon to more correct size ([e0007e4](https://bitbucket.org/enturas/design-system/commits/e0007e471e2382be36390b0aa8caa39babf815fd))
|
|
12
|
+
|
|
13
|
+
### BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
- **cableway icon:** Icon is visualy larger, but not physically, watch out for unintended visual effect caused by this
|
|
16
|
+
|
|
6
17
|
# [3.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/icons@3.4.1...@entur/icons@3.5.0) (2022-03-01)
|
|
7
18
|
|
|
8
19
|
### Features
|
package/dist/index.esm.js
CHANGED
|
@@ -2503,27 +2503,19 @@ function BusIcon(props) {
|
|
|
2503
2503
|
|
|
2504
2504
|
function CablewayIcon(props) {
|
|
2505
2505
|
return /*#__PURE__*/createElement("svg", _extends({}, props, {
|
|
2506
|
+
fill: "none",
|
|
2506
2507
|
viewBox: "0 0 16 16",
|
|
2507
2508
|
width: props.width || props.size || '1em',
|
|
2508
2509
|
height: props.height || props.size || '1em',
|
|
2509
2510
|
className: (!props.color ? 'eds-icon eds-icon__cableway ' : 'eds-icon') + (props.className || '') + (props.inline ? ' eds-icon--inline' : ''),
|
|
2510
2511
|
inline: undefined,
|
|
2511
2512
|
color: props.color || '#642e88'
|
|
2512
|
-
}), /*#__PURE__*/createElement("
|
|
2513
|
-
fill: "#
|
|
2513
|
+
}), /*#__PURE__*/createElement("path", {
|
|
2514
|
+
fill: "#642E88",
|
|
2514
2515
|
fillRule: "evenodd",
|
|
2516
|
+
d: "M13.295 1.803l-3.917.984a1.225 1.225 0 00-.188-.806L13.094 1l.201.803zm-5.127.121a.74.74 0 110 1.482.74.74 0 010-1.482zm5.011 6.011a.432.432 0 00-.42-.336h-9.18a.432.432 0 00-.422.336l-1.146 5.068a.557.557 0 00.09.433l1.003 1.385a.432.432 0 00.35.179h9.429a.432.432 0 00.35-.179l1.002-1.385a.556.556 0 00.09-.433L13.18 7.935zM5.49 11.502c0 .24-.193.433-.432.433H3.763a.432.432 0 01-.422-.526l.382-1.727a.43.43 0 01.42-.34h.915c.239 0 .432.194.432.433v1.727zm4.494 0a.432.432 0 01-.432.433H6.961a.432.432 0 01-.432-.432V9.775c0-.238.193-.432.432-.432h2.591c.238 0 .432.194.432.432v1.728zm2.927.272a.432.432 0 01-.337.162h-1.295a.432.432 0 01-.433-.433V9.775c0-.238.194-.432.432-.432h.914a.43.43 0 01.422.34l.381 1.727a.431.431 0 01-.084.364zM6.959 2.54l-3.918.984.202.803 3.904-.98a1.225 1.225 0 01-.188-.807zm1.623 1.273v1.724h1.43v.828H6.324v-.828h1.43V3.814c.13.047.268.084.414.084.147 0 .284-.037.414-.084z",
|
|
2515
2517
|
clipRule: "evenodd"
|
|
2516
|
-
}
|
|
2517
|
-
d: "M12.062 7.273a.35.35 0 00-.341-.272H4.279a.35.35 0 00-.341.272l-.929 4.108a.451.451 0 00.074.351l.812 1.123a.35.35 0 00.283.145h7.644a.35.35 0 00.283-.145l.812-1.123a.451.451 0 00.074-.35l-.929-4.109zm-6.233 2.892a.35.35 0 01-.35.35h-1.05a.35.35 0 01-.342-.425l.31-1.4a.35.35 0 01.34-.276h.742a.35.35 0 01.35.35v1.4zm3.643 0a.35.35 0 01-.35.35h-2.1a.35.35 0 01-.35-.35v-1.4a.35.35 0 01.35-.35h2.1a.35.35 0 01.35.35v1.4zm2.372.22a.35.35 0 01-.273.131h-1.05a.35.35 0 01-.35-.35V8.764a.35.35 0 01.35-.35h.741a.35.35 0 01.342.275l.309 1.4a.35.35 0 01-.069.295z"
|
|
2518
|
-
}), /*#__PURE__*/createElement("path", {
|
|
2519
|
-
d: "M8 2.4a.6.6 0 11-.001 1.202A.6.6 0 018 2.4z"
|
|
2520
|
-
}), /*#__PURE__*/createElement("path", {
|
|
2521
|
-
d: "M8.98 3.1l3.176-.797-.164-.651-3.164.795c.13.193.175.424.153.653z"
|
|
2522
|
-
}), /*#__PURE__*/createElement("path", {
|
|
2523
|
-
d: "M7.02 2.9L3.844 3.7l.164.65 3.164-.794A.993.993 0 017.02 2.9z"
|
|
2524
|
-
}), /*#__PURE__*/createElement("path", {
|
|
2525
|
-
d: "M8.336 5.33V3.933C8.23 3.97 8.119 4 8 4s-.23-.03-.336-.068V5.33H6.505v.671h2.99v-.67h-1.16z"
|
|
2526
|
-
})));
|
|
2518
|
+
}));
|
|
2527
2519
|
}
|
|
2528
2520
|
|
|
2529
2521
|
function CarIcon(props) {
|
package/dist/index.esm.native.js
CHANGED
|
@@ -2244,25 +2244,17 @@ function BusIcon(props) {
|
|
|
2244
2244
|
|
|
2245
2245
|
function CablewayIcon(props) {
|
|
2246
2246
|
return /*#__PURE__*/createElement(Svg, _extends({}, props, {
|
|
2247
|
+
fill: "none",
|
|
2247
2248
|
viewBox: "0 0 16 16",
|
|
2248
2249
|
width: props.width || props.size || 16,
|
|
2249
2250
|
height: props.height || props.size || 16,
|
|
2250
2251
|
color: props.color || '#181C56'
|
|
2251
|
-
}), /*#__PURE__*/createElement(
|
|
2252
|
-
fill: "
|
|
2252
|
+
}), /*#__PURE__*/createElement(Path, {
|
|
2253
|
+
fill: "currentColor",
|
|
2253
2254
|
fillRule: "evenodd",
|
|
2255
|
+
d: "M13.295 1.803l-3.917.984a1.225 1.225 0 00-.188-.806L13.094 1l.201.803zm-5.127.121a.74.74 0 110 1.482.74.74 0 010-1.482zm5.011 6.011a.432.432 0 00-.42-.336h-9.18a.432.432 0 00-.422.336l-1.146 5.068a.557.557 0 00.09.433l1.003 1.385a.432.432 0 00.35.179h9.429a.432.432 0 00.35-.179l1.002-1.385a.556.556 0 00.09-.433L13.18 7.935zM5.49 11.502c0 .24-.193.433-.432.433H3.763a.432.432 0 01-.422-.526l.382-1.727a.43.43 0 01.42-.34h.915c.239 0 .432.194.432.433v1.727zm4.494 0a.432.432 0 01-.432.433H6.961a.432.432 0 01-.432-.432V9.775c0-.238.193-.432.432-.432h2.591c.238 0 .432.194.432.432v1.728zm2.927.272a.432.432 0 01-.337.162h-1.295a.432.432 0 01-.433-.433V9.775c0-.238.194-.432.432-.432h.914a.43.43 0 01.422.34l.381 1.727a.431.431 0 01-.084.364zM6.959 2.54l-3.918.984.202.803 3.904-.98a1.225 1.225 0 01-.188-.807zm1.623 1.273v1.724h1.43v.828H6.324v-.828h1.43V3.814c.13.047.268.084.414.084.147 0 .284-.037.414-.084z",
|
|
2254
2256
|
clipRule: "evenodd"
|
|
2255
|
-
}
|
|
2256
|
-
d: "M12.062 7.273a.35.35 0 00-.341-.272H4.279a.35.35 0 00-.341.272l-.929 4.108a.451.451 0 00.074.351l.812 1.123a.35.35 0 00.283.145h7.644a.35.35 0 00.283-.145l.812-1.123a.451.451 0 00.074-.35l-.929-4.109zm-6.233 2.892a.35.35 0 01-.35.35h-1.05a.35.35 0 01-.342-.425l.31-1.4a.35.35 0 01.34-.276h.742a.35.35 0 01.35.35v1.4zm3.643 0a.35.35 0 01-.35.35h-2.1a.35.35 0 01-.35-.35v-1.4a.35.35 0 01.35-.35h2.1a.35.35 0 01.35.35v1.4zm2.372.22a.35.35 0 01-.273.131h-1.05a.35.35 0 01-.35-.35V8.764a.35.35 0 01.35-.35h.741a.35.35 0 01.342.275l.309 1.4a.35.35 0 01-.069.295z"
|
|
2257
|
-
}), /*#__PURE__*/createElement(Path, {
|
|
2258
|
-
d: "M8 2.4a.6.6 0 11-.001 1.202A.6.6 0 018 2.4z"
|
|
2259
|
-
}), /*#__PURE__*/createElement(Path, {
|
|
2260
|
-
d: "M8.98 3.1l3.176-.797-.164-.651-3.164.795c.13.193.175.424.153.653z"
|
|
2261
|
-
}), /*#__PURE__*/createElement(Path, {
|
|
2262
|
-
d: "M7.02 2.9L3.844 3.7l.164.65 3.164-.794A.993.993 0 017.02 2.9z"
|
|
2263
|
-
}), /*#__PURE__*/createElement(Path, {
|
|
2264
|
-
d: "M8.336 5.33V3.933C8.23 3.97 8.119 4 8 4s-.23-.03-.336-.068V5.33H6.505v.671h2.99v-.67h-1.16z"
|
|
2265
|
-
})));
|
|
2257
|
+
}));
|
|
2266
2258
|
}
|
|
2267
2259
|
|
|
2268
2260
|
function CarIcon(props) {
|
package/dist/index.js
CHANGED
|
@@ -2507,27 +2507,19 @@ function BusIcon(props) {
|
|
|
2507
2507
|
|
|
2508
2508
|
function CablewayIcon(props) {
|
|
2509
2509
|
return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
2510
|
+
fill: "none",
|
|
2510
2511
|
viewBox: "0 0 16 16",
|
|
2511
2512
|
width: props.width || props.size || '1em',
|
|
2512
2513
|
height: props.height || props.size || '1em',
|
|
2513
2514
|
className: (!props.color ? 'eds-icon eds-icon__cableway ' : 'eds-icon') + (props.className || '') + (props.inline ? ' eds-icon--inline' : ''),
|
|
2514
2515
|
inline: undefined,
|
|
2515
2516
|
color: props.color || '#642e88'
|
|
2516
|
-
}), /*#__PURE__*/React.createElement("
|
|
2517
|
-
fill: "#
|
|
2517
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
2518
|
+
fill: "#642E88",
|
|
2518
2519
|
fillRule: "evenodd",
|
|
2520
|
+
d: "M13.295 1.803l-3.917.984a1.225 1.225 0 00-.188-.806L13.094 1l.201.803zm-5.127.121a.74.74 0 110 1.482.74.74 0 010-1.482zm5.011 6.011a.432.432 0 00-.42-.336h-9.18a.432.432 0 00-.422.336l-1.146 5.068a.557.557 0 00.09.433l1.003 1.385a.432.432 0 00.35.179h9.429a.432.432 0 00.35-.179l1.002-1.385a.556.556 0 00.09-.433L13.18 7.935zM5.49 11.502c0 .24-.193.433-.432.433H3.763a.432.432 0 01-.422-.526l.382-1.727a.43.43 0 01.42-.34h.915c.239 0 .432.194.432.433v1.727zm4.494 0a.432.432 0 01-.432.433H6.961a.432.432 0 01-.432-.432V9.775c0-.238.193-.432.432-.432h2.591c.238 0 .432.194.432.432v1.728zm2.927.272a.432.432 0 01-.337.162h-1.295a.432.432 0 01-.433-.433V9.775c0-.238.194-.432.432-.432h.914a.43.43 0 01.422.34l.381 1.727a.431.431 0 01-.084.364zM6.959 2.54l-3.918.984.202.803 3.904-.98a1.225 1.225 0 01-.188-.807zm1.623 1.273v1.724h1.43v.828H6.324v-.828h1.43V3.814c.13.047.268.084.414.084.147 0 .284-.037.414-.084z",
|
|
2519
2521
|
clipRule: "evenodd"
|
|
2520
|
-
}
|
|
2521
|
-
d: "M12.062 7.273a.35.35 0 00-.341-.272H4.279a.35.35 0 00-.341.272l-.929 4.108a.451.451 0 00.074.351l.812 1.123a.35.35 0 00.283.145h7.644a.35.35 0 00.283-.145l.812-1.123a.451.451 0 00.074-.35l-.929-4.109zm-6.233 2.892a.35.35 0 01-.35.35h-1.05a.35.35 0 01-.342-.425l.31-1.4a.35.35 0 01.34-.276h.742a.35.35 0 01.35.35v1.4zm3.643 0a.35.35 0 01-.35.35h-2.1a.35.35 0 01-.35-.35v-1.4a.35.35 0 01.35-.35h2.1a.35.35 0 01.35.35v1.4zm2.372.22a.35.35 0 01-.273.131h-1.05a.35.35 0 01-.35-.35V8.764a.35.35 0 01.35-.35h.741a.35.35 0 01.342.275l.309 1.4a.35.35 0 01-.069.295z"
|
|
2522
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
2523
|
-
d: "M8 2.4a.6.6 0 11-.001 1.202A.6.6 0 018 2.4z"
|
|
2524
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
2525
|
-
d: "M8.98 3.1l3.176-.797-.164-.651-3.164.795c.13.193.175.424.153.653z"
|
|
2526
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
2527
|
-
d: "M7.02 2.9L3.844 3.7l.164.65 3.164-.794A.993.993 0 017.02 2.9z"
|
|
2528
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
2529
|
-
d: "M8.336 5.33V3.933C8.23 3.97 8.119 4 8 4s-.23-.03-.336-.068V5.33H6.505v.671h2.99v-.67h-1.16z"
|
|
2530
|
-
})));
|
|
2522
|
+
}));
|
|
2531
2523
|
}
|
|
2532
2524
|
|
|
2533
2525
|
function CarIcon(props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/icons",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"@entur/tokens": "^3.3.1",
|
|
49
49
|
"@entur/utils": "^0.4.3"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "f760e1b8cfdc14231bd6391a8d82dfed1d71daa4"
|
|
52
52
|
}
|