@sb1/ffe-system-message-react 8.0.16 → 8.0.18

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.
@@ -17,7 +17,6 @@ export default function SystemErrorMessage(props) {
17
17
  "aria-label": texts[locale].error.ariaLabel,
18
18
  locale: locale,
19
19
  icon: /*#__PURE__*/React.createElement(Icon, {
20
- ariaLabel: texts[locale].error.icon,
21
20
  fileUrl: priorityHighIconSmall,
22
21
  size: "sm"
23
22
  }),
@@ -16,7 +16,6 @@ export default function SystemInfoMessage(_ref) {
16
16
  "aria-label": texts[locale].info.ariaLabel,
17
17
  locale: locale,
18
18
  icon: /*#__PURE__*/React.createElement(Icon, {
19
- ariaLabel: texts[locale].info.icon,
20
19
  size: "sm",
21
20
  fileUrl: infoIconSmall
22
21
  })
@@ -16,7 +16,6 @@ export default function SystemNewsMessage(_ref) {
16
16
  "aria-label": texts[locale].news.ariaLabel,
17
17
  locale: locale,
18
18
  icon: /*#__PURE__*/React.createElement(Icon, {
19
- ariaLabel: texts[locale].news.icon,
20
19
  size: "sm",
21
20
  fileUrl: infoIconSmall
22
21
  })
@@ -16,7 +16,6 @@ export default function SystemSuccessMessage(_ref) {
16
16
  "aria-label": texts[locale].success.ariaLabel,
17
17
  locale: locale,
18
18
  icon: /*#__PURE__*/React.createElement(Icon, {
19
- ariaLabel: texts[locale].success.icon,
20
19
  size: "sm",
21
20
  fileUrl: checkIconSmall
22
21
  })
package/es/texts.js CHANGED
@@ -1,58 +1,46 @@
1
1
  var nb = {
2
2
  close: 'Lukk',
3
3
  error: {
4
- ariaLabel: 'Feilmelding',
5
- icon: 'Utropstegn'
4
+ ariaLabel: 'Feilmelding'
6
5
  },
7
6
  info: {
8
- ariaLabel: 'Infomelding',
9
- icon: 'Infotegn'
7
+ ariaLabel: 'Infomelding'
10
8
  },
11
9
  success: {
12
- ariaLabel: 'Suksessmelding',
13
- icon: 'Hake'
10
+ ariaLabel: 'Suksessmelding'
14
11
  },
15
12
  news: {
16
- ariaLabel: 'Nyhetsmelding',
17
- icon: 'Infotegn'
13
+ ariaLabel: 'Nyhetsmelding'
18
14
  }
19
15
  };
20
16
  var nn = {
21
17
  close: 'Lukk',
22
18
  error: {
23
- ariaLabel: 'Feilmelding',
24
- icon: 'Utropsteikn'
19
+ ariaLabel: 'Feilmelding'
25
20
  },
26
21
  info: {
27
- ariaLabel: 'Infomelding',
28
- icon: 'Infoteikn'
22
+ ariaLabel: 'Infomelding'
29
23
  },
30
24
  success: {
31
- ariaLabel: 'Suksessmelding',
32
- icon: 'Hake'
25
+ ariaLabel: 'Suksessmelding'
33
26
  },
34
27
  news: {
35
- ariaLabel: 'Nyheitsmelding',
36
- icon: 'Infoteikn'
28
+ ariaLabel: 'Nyheitsmelding'
37
29
  }
38
30
  };
39
31
  var en = {
40
32
  close: 'Close',
41
33
  error: {
42
- ariaLabel: 'Error message',
43
- icon: 'Exclamation mark'
34
+ ariaLabel: 'Error message'
44
35
  },
45
36
  info: {
46
- ariaLabel: 'Info message',
47
- icon: 'Info sign'
37
+ ariaLabel: 'Info message'
48
38
  },
49
39
  success: {
50
- ariaLabel: 'Success message',
51
- icon: 'Check mark'
40
+ ariaLabel: 'Success message'
52
41
  },
53
42
  news: {
54
- ariaLabel: 'News message',
55
- icon: 'Info sign'
43
+ ariaLabel: 'News message'
56
44
  }
57
45
  };
58
46
  export default {
@@ -24,7 +24,6 @@ function SystemErrorMessage(props) {
24
24
  "aria-label": _texts.default[locale].error.ariaLabel,
25
25
  locale: locale,
26
26
  icon: /*#__PURE__*/_react.default.createElement(_ffeIconsReact.Icon, {
27
- ariaLabel: _texts.default[locale].error.icon,
28
27
  fileUrl: priorityHighIconSmall,
29
28
  size: "sm"
30
29
  }),
@@ -23,7 +23,6 @@ function SystemInfoMessage(_ref) {
23
23
  "aria-label": _texts.default[locale].info.ariaLabel,
24
24
  locale: locale,
25
25
  icon: /*#__PURE__*/_react.default.createElement(_ffeIconsReact.Icon, {
26
- ariaLabel: _texts.default[locale].info.icon,
27
26
  size: "sm",
28
27
  fileUrl: infoIconSmall
29
28
  })
@@ -23,7 +23,6 @@ function SystemNewsMessage(_ref) {
23
23
  "aria-label": _texts.default[locale].news.ariaLabel,
24
24
  locale: locale,
25
25
  icon: /*#__PURE__*/_react.default.createElement(_ffeIconsReact.Icon, {
26
- ariaLabel: _texts.default[locale].news.icon,
27
26
  size: "sm",
28
27
  fileUrl: infoIconSmall
29
28
  })
@@ -23,7 +23,6 @@ function SystemSuccessMessage(_ref) {
23
23
  "aria-label": _texts.default[locale].success.ariaLabel,
24
24
  locale: locale,
25
25
  icon: /*#__PURE__*/_react.default.createElement(_ffeIconsReact.Icon, {
26
- ariaLabel: _texts.default[locale].success.icon,
27
26
  size: "sm",
28
27
  fileUrl: checkIconSmall
29
28
  })
package/lib/texts.js CHANGED
@@ -7,58 +7,46 @@ exports.default = void 0;
7
7
  var nb = {
8
8
  close: 'Lukk',
9
9
  error: {
10
- ariaLabel: 'Feilmelding',
11
- icon: 'Utropstegn'
10
+ ariaLabel: 'Feilmelding'
12
11
  },
13
12
  info: {
14
- ariaLabel: 'Infomelding',
15
- icon: 'Infotegn'
13
+ ariaLabel: 'Infomelding'
16
14
  },
17
15
  success: {
18
- ariaLabel: 'Suksessmelding',
19
- icon: 'Hake'
16
+ ariaLabel: 'Suksessmelding'
20
17
  },
21
18
  news: {
22
- ariaLabel: 'Nyhetsmelding',
23
- icon: 'Infotegn'
19
+ ariaLabel: 'Nyhetsmelding'
24
20
  }
25
21
  };
26
22
  var nn = {
27
23
  close: 'Lukk',
28
24
  error: {
29
- ariaLabel: 'Feilmelding',
30
- icon: 'Utropsteikn'
25
+ ariaLabel: 'Feilmelding'
31
26
  },
32
27
  info: {
33
- ariaLabel: 'Infomelding',
34
- icon: 'Infoteikn'
28
+ ariaLabel: 'Infomelding'
35
29
  },
36
30
  success: {
37
- ariaLabel: 'Suksessmelding',
38
- icon: 'Hake'
31
+ ariaLabel: 'Suksessmelding'
39
32
  },
40
33
  news: {
41
- ariaLabel: 'Nyheitsmelding',
42
- icon: 'Infoteikn'
34
+ ariaLabel: 'Nyheitsmelding'
43
35
  }
44
36
  };
45
37
  var en = {
46
38
  close: 'Close',
47
39
  error: {
48
- ariaLabel: 'Error message',
49
- icon: 'Exclamation mark'
40
+ ariaLabel: 'Error message'
50
41
  },
51
42
  info: {
52
- ariaLabel: 'Info message',
53
- icon: 'Info sign'
43
+ ariaLabel: 'Info message'
54
44
  },
55
45
  success: {
56
- ariaLabel: 'Success message',
57
- icon: 'Check mark'
46
+ ariaLabel: 'Success message'
58
47
  },
59
48
  news: {
60
- ariaLabel: 'News message',
61
- icon: 'Info sign'
49
+ ariaLabel: 'News message'
62
50
  }
63
51
  };
64
52
  var _default = exports.default = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-system-message-react",
3
- "version": "8.0.16",
3
+ "version": "8.0.18",
4
4
  "description": "SpareBank 1 System Message komponent",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -24,9 +24,9 @@
24
24
  "test:watch": "ffe-buildtool jest --watch"
25
25
  },
26
26
  "dependencies": {
27
- "@sb1/ffe-grid-react": "^13.2.6",
27
+ "@sb1/ffe-grid-react": "^13.2.7",
28
28
  "@sb1/ffe-icons-react": "^9.0.4",
29
- "@sb1/ffe-system-message": "^8.0.7",
29
+ "@sb1/ffe-system-message": "^8.0.8",
30
30
  "classnames": "^2.3.1",
31
31
  "prop-types": "^15.7.2"
32
32
  },
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "6fac635d56e4bec7be541c6381b87dd4e6e213ee"
44
+ "gitHead": "530c07f3d613834eb4d5309f53ec715a9ef83936"
45
45
  }