@sb1/ffe-system-message-react 8.0.1 → 8.0.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.
@@ -13,8 +13,9 @@ export default function SystemErrorMessage(props) {
13
13
  modifier: "error",
14
14
  "aria-label": "Feilmelding",
15
15
  icon: /*#__PURE__*/React.createElement(_Symbol, {
16
- ariaLabel: "Utropstegn"
17
- }, "priority_high"),
16
+ ariaLabel: "Utropstegn",
17
+ icon: "priority_high"
18
+ }),
18
19
  role: alert ? 'alert' : 'group'
19
20
  }, rest));
20
21
  }
@@ -7,7 +7,8 @@ export default function SystemInfoMessage(props) {
7
7
  modifier: "info",
8
8
  "aria-label": "Infomelding",
9
9
  icon: /*#__PURE__*/React.createElement(_Symbol, {
10
- ariaLabel: "Infotegn"
11
- }, "info_i")
10
+ ariaLabel: "Infotegn",
11
+ icon: "info_i"
12
+ })
12
13
  }, props));
13
14
  }
@@ -98,10 +98,10 @@ var SystemMessage = /*#__PURE__*/function (_Component) {
98
98
  onClick: this.close,
99
99
  type: "button"
100
100
  }, /*#__PURE__*/React.createElement(_Symbol, {
101
- ariaLabel: "",
101
+ icon: "close",
102
102
  size: "sm",
103
103
  weight: 300
104
- }, "close"))));
104
+ }))));
105
105
  }
106
106
  }]);
107
107
  return SystemMessage;
@@ -7,7 +7,8 @@ export default function SystemNewsMessage(props) {
7
7
  modifier: "news",
8
8
  "aria-label": "Nyhetsmelding",
9
9
  icon: /*#__PURE__*/React.createElement(_Symbol, {
10
- ariaLabel: "Infotegn"
11
- }, "info_i")
10
+ ariaLabel: "Infotegn",
11
+ icon: "info_i"
12
+ })
12
13
  }, props));
13
14
  }
@@ -7,7 +7,8 @@ export default function SystemSuccessMessage(props) {
7
7
  modifier: "success",
8
8
  "aria-label": "Suksessmelding",
9
9
  icon: /*#__PURE__*/React.createElement(_Symbol, {
10
- ariaLabel: "Hake"
11
- }, "check")
10
+ ariaLabel: "Hake",
11
+ icon: "check"
12
+ })
12
13
  }, props));
13
14
  }
@@ -20,8 +20,9 @@ function SystemErrorMessage(props) {
20
20
  modifier: "error",
21
21
  "aria-label": "Feilmelding",
22
22
  icon: /*#__PURE__*/_react.default.createElement(_ffeSymbolsReact.default, {
23
- ariaLabel: "Utropstegn"
24
- }, "priority_high"),
23
+ ariaLabel: "Utropstegn",
24
+ icon: "priority_high"
25
+ }),
25
26
  role: alert ? 'alert' : 'group'
26
27
  }, rest));
27
28
  }
@@ -14,7 +14,8 @@ function SystemInfoMessage(props) {
14
14
  modifier: "info",
15
15
  "aria-label": "Infomelding",
16
16
  icon: /*#__PURE__*/_react.default.createElement(_ffeSymbolsReact.default, {
17
- ariaLabel: "Infotegn"
18
- }, "info_i")
17
+ ariaLabel: "Infotegn",
18
+ icon: "info_i"
19
+ })
19
20
  }, props));
20
21
  }
@@ -107,10 +107,10 @@ var SystemMessage = /*#__PURE__*/function (_Component) {
107
107
  onClick: this.close,
108
108
  type: "button"
109
109
  }, /*#__PURE__*/_react.default.createElement(_ffeSymbolsReact.default, {
110
- ariaLabel: "",
110
+ icon: "close",
111
111
  size: "sm",
112
112
  weight: 300
113
- }, "close"))));
113
+ }))));
114
114
  }
115
115
  }]);
116
116
  return SystemMessage;
@@ -14,7 +14,8 @@ function SystemNewsMessage(props) {
14
14
  modifier: "news",
15
15
  "aria-label": "Nyhetsmelding",
16
16
  icon: /*#__PURE__*/_react.default.createElement(_ffeSymbolsReact.default, {
17
- ariaLabel: "Infotegn"
18
- }, "info_i")
17
+ ariaLabel: "Infotegn",
18
+ icon: "info_i"
19
+ })
19
20
  }, props));
20
21
  }
@@ -14,7 +14,8 @@ function SystemSuccessMessage(props) {
14
14
  modifier: "success",
15
15
  "aria-label": "Suksessmelding",
16
16
  icon: /*#__PURE__*/_react.default.createElement(_ffeSymbolsReact.default, {
17
- ariaLabel: "Hake"
18
- }, "check")
17
+ ariaLabel: "Hake",
18
+ icon: "check"
19
+ })
19
20
  }, props));
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-system-message-react",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
4
4
  "description": "SpareBank 1 System Message komponent",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@sb1/ffe-grid-react": "^13.0.8",
28
- "@sb1/ffe-symbols-react": "^2.0.1",
28
+ "@sb1/ffe-symbols-react": "^2.0.4",
29
29
  "@sb1/ffe-system-message": "^8.0.1",
30
30
  "classnames": "^2.3.1",
31
31
  "prop-types": "^15.7.2"
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "cc263235739eb3dc241a230b0b446ea89659ea77"
44
+ "gitHead": "6887537e950b6104716ac2b8145f78bf64b69b07"
45
45
  }