@occmundial/occ-atomic 2.0.0-beta.10 → 2.0.0-beta.11
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/build/Tip/Tip.js +4 -4
- package/build/Toaster/Toast/Toast.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [2.0.0-beta.11](https://github.com/occmundial/occ-atomic/compare/v2.0.0-beta.10...v2.0.0-beta.11) (2024-04-25)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Update tip and toast icons ([07f3474](https://github.com/occmundial/occ-atomic/commit/07f347420e2f3d278274018cd9039508cbd7e504))
|
7
|
+
|
1
8
|
# [2.0.0-beta.10](https://github.com/occmundial/occ-atomic/compare/v2.0.0-beta.9...v2.0.0-beta.10) (2024-04-25)
|
2
9
|
|
3
10
|
|
package/build/Tip/Tip.js
CHANGED
@@ -35,10 +35,10 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
35
35
|
|
36
36
|
var boldRegex = /\*(.*?)\*/g;
|
37
37
|
var icons = {
|
38
|
-
info: '
|
39
|
-
warning: '
|
40
|
-
success: '
|
41
|
-
error: '
|
38
|
+
info: 'info-circle',
|
39
|
+
warning: 'alert',
|
40
|
+
success: 'check-circle',
|
41
|
+
error: 'x-circle',
|
42
42
|
promote: null
|
43
43
|
};
|
44
44
|
var PROMOTE = 'promote';
|
@@ -37,25 +37,25 @@ var Toast = function Toast(_ref) {
|
|
37
37
|
switch (theme) {
|
38
38
|
case 'success':
|
39
39
|
return {
|
40
|
-
icon: '
|
40
|
+
icon: 'check-circle',
|
41
41
|
color: _colors["default"].bgWhite
|
42
42
|
};
|
43
43
|
|
44
44
|
case 'error':
|
45
45
|
return {
|
46
|
-
icon: '
|
46
|
+
icon: 'x-circle',
|
47
47
|
color: _colors["default"].bgWhite
|
48
48
|
};
|
49
49
|
|
50
50
|
case 'info':
|
51
51
|
return {
|
52
|
-
icon: '
|
52
|
+
icon: 'info-circle',
|
53
53
|
color: _colors["default"].bgWhite
|
54
54
|
};
|
55
55
|
|
56
56
|
case 'warning':
|
57
57
|
return {
|
58
|
-
icon: '
|
58
|
+
icon: 'alert',
|
59
59
|
color: _colors["default"].grey900
|
60
60
|
};
|
61
61
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@occmundial/occ-atomic",
|
3
|
-
"version": "2.0.0-beta.
|
3
|
+
"version": "2.0.0-beta.11",
|
4
4
|
"description": "Collection of shareable styled React components for OCC applications.",
|
5
5
|
"homepage": "http://occmundial.github.io/occ-atomic",
|
6
6
|
"main": "build/index.js",
|