@eturnity/eturnity_reusable_components 8.19.3 → 8.19.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.19.3",
3
+ "version": "8.19.4",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -123,7 +123,11 @@
123
123
  return this.type === 'error_minor'
124
124
  },
125
125
  iconName() {
126
- return this.type === 'warning' ? 'warning_triangle' : 'info'
126
+ return this.type === 'warning'
127
+ ? 'warning_triangle'
128
+ : this.isErrorMinor
129
+ ? 'erase'
130
+ : 'info'
127
131
  },
128
132
  presetStyles() {
129
133
  // the types that doesn't have explicit border anyway have it transparent
@@ -142,8 +146,8 @@
142
146
  stylesCollection.iconColor = theme.semanticColors.teal[800]
143
147
  } else if (this.isErrorMinor) {
144
148
  stylesCollection.borderStyle = 'dashed'
145
- stylesCollection.borderColor = theme.colors.pureRed
146
- stylesCollection.iconColor = theme.colors.pureRed
149
+ stylesCollection.borderColor = theme.colors.grey4
150
+ stylesCollection.iconColor = theme.colors.red
147
151
  } else {
148
152
  stylesCollection.borderStyle = 'dashed'
149
153
  stylesCollection.borderColor = theme.colors.grey4