@entur/icons 4.1.1 → 4.1.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/icons@4.1.1...@entur/icons@4.1.2) (2022-05-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **validation exclamation icon:** fix incorrect exclamation mark color for non-contrast validation ([22deff9](https://bitbucket.org/enturas/design-system/commits/22deff9cac4f867a26a14ec51197f1c3be13d403))
11
+
6
12
  ## [4.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/icons@4.1.0...@entur/icons@4.1.1) (2022-04-27)
7
13
 
8
14
  **Note:** Version bump only for package @entur/icons
package/dist/index.esm.js CHANGED
@@ -4549,14 +4549,18 @@ function ValidationExclamationIcon(props) {
4549
4549
  viewBox: "0 0 16 16",
4550
4550
  width: props.width || props.size || '1em',
4551
4551
  height: props.height || props.size || '1em',
4552
- className: 'eds-icon ' + (props.className || '') + (props.inline ? ' eds-icon--inline' : ''),
4552
+ className: 'eds-icon__ValidationExclamationIcon ' + (props.className || '') + (props.inline ? ' eds-icon--inline' : ''),
4553
4553
  inline: undefined,
4554
4554
  color: props.color || 'currentColor'
4555
+ }), /*#__PURE__*/createElement("circle", {
4556
+ cx: 8,
4557
+ cy: 8,
4558
+ r: 4.38,
4559
+ fill: "#181c56"
4555
4560
  }), /*#__PURE__*/createElement("path", {
4556
- fill: "currentColor",
4561
+ fill: "#181c56",
4557
4562
  fillRule: "evenodd",
4558
- d: "M8 1C4.15 1 1 4.15 1 8s3.15 7 7 7 7-3.15 7-7-3.15-7-7-7zm-.7 3h1.4v5.1H7.3V4zm.705 8.25a.875.875 0 110-1.75.875.875 0 010 1.75z",
4559
- clipRule: "evenodd"
4563
+ d: "M8 1a7 7 0 107 7 7 7 0 00-7-7zm-.7 3h1.4v5.1H7.3zm.7 8.25a.88.88 0 11.87-.87.87.87 0 01-.87.87z"
4560
4564
  }));
4561
4565
  }
4562
4566
 
@@ -4055,11 +4055,15 @@ function ValidationExclamationIcon(props) {
4055
4055
  width: props.width || props.size || 16,
4056
4056
  height: props.height || props.size || 16,
4057
4057
  color: props.color || '#181C56'
4058
+ }), /*#__PURE__*/createElement(Circle, {
4059
+ cx: 8,
4060
+ cy: 8,
4061
+ r: 4.38,
4062
+ fill: "#181c56"
4058
4063
  }), /*#__PURE__*/createElement(Path, {
4059
- fill: "currentColor",
4064
+ fill: "#181c56",
4060
4065
  fillRule: "evenodd",
4061
- d: "M8 1C4.15 1 1 4.15 1 8s3.15 7 7 7 7-3.15 7-7-3.15-7-7-7zm-.7 3h1.4v5.1H7.3V4zm.705 8.25a.875.875 0 110-1.75.875.875 0 010 1.75z",
4062
- clipRule: "evenodd"
4066
+ d: "M8 1a7 7 0 107 7 7 7 0 00-7-7zm-.7 3h1.4v5.1H7.3zm.7 8.25a.88.88 0 11.87-.87.87.87 0 01-.87.87z"
4063
4067
  }));
4064
4068
  }
4065
4069
 
package/dist/index.js CHANGED
@@ -4553,14 +4553,18 @@ function ValidationExclamationIcon(props) {
4553
4553
  viewBox: "0 0 16 16",
4554
4554
  width: props.width || props.size || '1em',
4555
4555
  height: props.height || props.size || '1em',
4556
- className: 'eds-icon ' + (props.className || '') + (props.inline ? ' eds-icon--inline' : ''),
4556
+ className: 'eds-icon__ValidationExclamationIcon ' + (props.className || '') + (props.inline ? ' eds-icon--inline' : ''),
4557
4557
  inline: undefined,
4558
4558
  color: props.color || 'currentColor'
4559
+ }), /*#__PURE__*/React.createElement("circle", {
4560
+ cx: 8,
4561
+ cy: 8,
4562
+ r: 4.38,
4563
+ fill: "#181c56"
4559
4564
  }), /*#__PURE__*/React.createElement("path", {
4560
- fill: "currentColor",
4565
+ fill: "#181c56",
4561
4566
  fillRule: "evenodd",
4562
- d: "M8 1C4.15 1 1 4.15 1 8s3.15 7 7 7 7-3.15 7-7-3.15-7-7-7zm-.7 3h1.4v5.1H7.3V4zm.705 8.25a.875.875 0 110-1.75.875.875 0 010 1.75z",
4563
- clipRule: "evenodd"
4567
+ d: "M8 1a7 7 0 107 7 7 7 0 00-7-7zm-.7 3h1.4v5.1H7.3zm.7 8.25a.88.88 0 11.87-.87.87.87 0 01-.87.87z"
4564
4568
  }));
4565
4569
  }
4566
4570
 
package/dist/styles.css CHANGED
@@ -55,3 +55,9 @@ p .eds-icon {
55
55
  .eds-contrast .eds-icon__tram g,
56
56
  .eds-contrast .eds-icon__tram path {
57
57
  fill: #b482fb; }
58
+
59
+ .eds-icon__ValidationExclamationIcon path {
60
+ fill: currentColor; }
61
+
62
+ .eds-icon__ValidationExclamationIcon circle {
63
+ fill-opacity: 0; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/icons",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
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.2",
49
49
  "@entur/utils": "^0.4.3"
50
50
  },
51
- "gitHead": "7b557782d62c07bdce744f9b084d57177e2202e9"
51
+ "gitHead": "0fba0071ad9dc75cc68b72b846f5bab78be12449"
52
52
  }