@stokr/components-library 2.3.12 → 2.3.13

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.
@@ -33,10 +33,12 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
33
33
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
34
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
35
35
  var Form = function Form(_ref) {
36
- var children = _ref.children;
36
+ var children = _ref.children,
37
+ id = _ref.id;
37
38
  return /*#__PURE__*/_react.default.createElement(_Form.FormContainer, {
38
39
  autoComplete: "off",
39
- noValidate: true
40
+ noValidate: true,
41
+ id: id
40
42
  }, children);
41
43
  };
42
44
 
@@ -117,7 +117,7 @@ var RegisterTaxId = function RegisterTaxId(_ref) {
117
117
  style: {
118
118
  color: _colors.default.orangishRed
119
119
  }
120
- }, "Providing your tax ID is not required for KPMG donation"))), taxId && /*#__PURE__*/_react.default.createElement(_ComponentWrapper.default, {
120
+ }, "Providing your tax ID is not required for your KPMG donation."))), taxId && /*#__PURE__*/_react.default.createElement(_ComponentWrapper.default, {
121
121
  noPaddingTop: true
122
122
  }, /*#__PURE__*/_react.default.createElement(_Text.default, null, /*#__PURE__*/_react.default.createElement("p", null, "You have successfully submitted your Tax ID information."))), !isUpdatingUser && !error && !taxId && /*#__PURE__*/_react.default.createElement(_ComponentWrapper.default, {
123
123
  noPaddingVertical: true
@@ -10,14 +10,14 @@ var km_ify = function km_ify(input, decimals) {
10
10
  if (input % 10 !== 0) {
11
11
  input = truncateDecimals(input, 1);
12
12
  }
13
- input += 'M';
13
+ return input += 'M';
14
14
  }
15
15
  if (input >= 1000) {
16
16
  input /= 1000;
17
17
  if (input % 10 !== 0) {
18
18
  input = truncateDecimals(input, 1);
19
19
  }
20
- input += 'K';
20
+ return input += 'K';
21
21
  }
22
22
  if (decimals) {
23
23
  return input.toFixed(decimals);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "2.3.12",
3
+ "version": "2.3.13",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",