@occmundial/occ-atomic 2.0.0-beta.10 → 2.0.0-beta.12
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/build/Tip/Tip.js +4 -4
- package/build/Toaster/Toast/Toast.js +4 -4
- package/build/plugin/babel.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [2.0.0-beta.12](https://github.com/occmundial/occ-atomic/compare/v2.0.0-beta.11...v2.0.0-beta.12) (2024-04-26)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Change name of the import for AtomicProvider in babel ([d0157de](https://github.com/occmundial/occ-atomic/commit/d0157de2321bce412dc0662a98f89a6196dbc917))
|
7
|
+
|
8
|
+
# [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)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* Update tip and toast icons ([07f3474](https://github.com/occmundial/occ-atomic/commit/07f347420e2f3d278274018cd9039508cbd7e504))
|
14
|
+
|
1
15
|
# [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
16
|
|
3
17
|
|
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/build/plugin/babel.js
CHANGED
@@ -38,7 +38,7 @@ function importModule(path) {
|
|
38
38
|
} else if (importName === 'Nav' || importName === 'Menu') {
|
39
39
|
return importDeclaration(specifier, "@occmundial/occ-atomic/build/Header/".concat(importName));
|
40
40
|
} else if (importName === 'AtomicProvider') {
|
41
|
-
return importDeclaration(types.importDefaultSpecifier(types.identifier('
|
41
|
+
return importDeclaration(types.importDefaultSpecifier(types.identifier('AtomicProvider')), '@occmundial/occ-atomic/build/Provider');
|
42
42
|
} else if (subatomic.includes(importName)) {
|
43
43
|
return importDeclaration(types.importDefaultSpecifier(types.identifier(importName)), "@occmundial/occ-atomic/build/subatomic/".concat(importName));
|
44
44
|
}
|
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.12",
|
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",
|