@eturnity/eturnity_reusable_components 8.16.9-dev-14.0 → 8.16.9-dev-14.1
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
@@ -123,7 +123,11 @@
|
|
123
123
|
return this.type === 'error_minor'
|
124
124
|
},
|
125
125
|
iconName() {
|
126
|
-
return this.type === 'warning'
|
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.
|
146
|
-
stylesCollection.iconColor = theme.colors.
|
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
|