@aclymatepackages/modules 2.4.3 → 2.4.5

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.
@@ -66,14 +66,14 @@ const FootprintEquivalencies = _ref => {
66
66
  icon: _proSolidSvgIcons.faIcicles,
67
67
  buildString: (carbon, equivalency) => "Your ".concat(carbon, " lbs. of carbon is enough to permanently melt ").concat(equivalency, " square ").concat(equivalency === "1" ? "foot" : "feet", " of Arctic sea ice"),
68
68
  equivalency: (0, _formatters.formatDecimal)((0, _converters.convertFootprintToIce)(footprintTons)),
69
- color: "travel",
69
+ color: "primary",
70
70
  backgroundOpacity: 0.3
71
71
  }, {
72
72
  type: "eating-hamburgers",
73
73
  icon: _proSolidSvgIcons.faHamburger,
74
74
  buildString: (carbon, equivalency) => "Your ".concat(carbon, " lbs. of carbon is equivalent to the emissions of eating ").concat(equivalency, " hamburgers"),
75
75
  equivalency: (0, _formatters.formatDecimal)((0, _converters.footprintToHamburgers)(footprintTons)),
76
- color: "mileage",
76
+ color: "summary",
77
77
  backgroundOpacity: 0.4
78
78
  }, {
79
79
  type: "carbon-budget",
@@ -14,7 +14,7 @@ var _atoms = require("@aclymatepackages/atoms");
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
- const PdlCompanySelectModule = _ref => {
17
+ const PdlCompanySelect = _ref => {
18
18
  let {
19
19
  onCompanyNotFound,
20
20
  onCompanySelected,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aclymatepackages/modules",
3
- "version": "2.4.3",
3
+ "version": "2.4.5",
4
4
  "description": "Aclymate modules",
5
5
  "author": "William Loopesko",
6
6
  "main": "dist/index.js",
@@ -80,7 +80,7 @@ const FootprintEquivalencies = ({
80
80
  equivalency === "1" ? "foot" : "feet"
81
81
  } of Arctic sea ice`,
82
82
  equivalency: formatDecimal(convertFootprintToIce(footprintTons)),
83
- color: "travel",
83
+ color: "primary",
84
84
  backgroundOpacity: 0.3,
85
85
  },
86
86
  {
@@ -89,7 +89,7 @@ const FootprintEquivalencies = ({
89
89
  buildString: (carbon, equivalency) =>
90
90
  `Your ${carbon} lbs. of carbon is equivalent to the emissions of eating ${equivalency} hamburgers`,
91
91
  equivalency: formatDecimal(footprintToHamburgers(footprintTons)),
92
- color: "mileage",
92
+ color: "summary",
93
93
  backgroundOpacity: 0.4,
94
94
  },
95
95
  {
@@ -15,7 +15,7 @@ import {
15
15
  MatchingCompanyChips,
16
16
  } from "@aclymatepackages/atoms";
17
17
 
18
- const PdlCompanySelectModule = ({
18
+ const PdlCompanySelect = ({
19
19
  onCompanyNotFound,
20
20
  onCompanySelected,
21
21
  onSelectClick = () => {},