@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 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: 'infoSolid',
39
- warning: 'warningSolid',
40
- success: 'checkSolid',
41
- error: 'crossSolid',
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: 'checkSolid',
40
+ icon: 'check-circle',
41
41
  color: _colors["default"].bgWhite
42
42
  };
43
43
 
44
44
  case 'error':
45
45
  return {
46
- icon: 'warningSolid',
46
+ icon: 'x-circle',
47
47
  color: _colors["default"].bgWhite
48
48
  };
49
49
 
50
50
  case 'info':
51
51
  return {
52
- icon: 'infoSolid',
52
+ icon: 'info-circle',
53
53
  color: _colors["default"].bgWhite
54
54
  };
55
55
 
56
56
  case 'warning':
57
57
  return {
58
- icon: 'warningSolid',
58
+ icon: 'alert',
59
59
  color: _colors["default"].grey900
60
60
  };
61
61
  }
@@ -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('Provider')), '@occmundial/occ-atomic/build/Provider');
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.10",
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",