@stokr/components-library 2.0.5 → 2.0.6

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.
@@ -375,7 +375,8 @@ var Header = function Header(_ref3) {
375
375
  withPadding: true,
376
376
  flexColumnt: true,
377
377
  noPaddingTop: !signupFlow,
378
- borderTop: signupFlow
378
+ borderTop: signupFlow,
379
+ isLast: true
379
380
  }, /*#__PURE__*/_react.default.createElement(_Button.default, {
380
381
  minWidth: "160px",
381
382
  secondary: true,
@@ -131,8 +131,10 @@ exports.MobileMenuItem = MobileMenuItem;
131
131
  var MobileMenuPart = _styledComponents.default.div.withConfig({
132
132
  displayName: "Headerstyles__MobileMenuPart",
133
133
  componentId: "sc-hifrdy-14"
134
- })(["", " ", " ", " ", " ", ""], function (props) {
135
- return props.withPadding && "\n padding: 30px 0;\n\n @media screen and (max-width: 320px) {\n padding: 15px 0;\n }\n ";
134
+ })(["", " ", " ", " ", " ", " ", ""], function (props) {
135
+ return props.withPadding && "\n padding: 30px 0;\n \n\n @media screen and (max-width: 320px) {\n padding: 15px 0;\n }\n ";
136
+ }, function (props) {
137
+ return props.isLast && "\n // padding-bottom: env(safe-area-inset-bottom);\n padding-bottom:100px;\n ";
136
138
  }, function (props) {
137
139
  return props.grow && "\n flex-grow: ".concat(props.grow, ";\n ");
138
140
  }, function (props) {
package/dist/index.js CHANGED
@@ -1092,6 +1092,17 @@ Object.keys(_checkSaleTimeLeft).forEach(function (key) {
1092
1092
  }
1093
1093
  });
1094
1094
  });
1095
+ var _customHooks = require("./utils/customHooks");
1096
+ Object.keys(_customHooks).forEach(function (key) {
1097
+ if (key === "default" || key === "__esModule") return;
1098
+ if (key in exports && exports[key] === _customHooks[key]) return;
1099
+ Object.defineProperty(exports, key, {
1100
+ enumerable: true,
1101
+ get: function get() {
1102
+ return _customHooks[key];
1103
+ }
1104
+ });
1105
+ });
1095
1106
  var _FA = require("./components/2FA");
1096
1107
  Object.keys(_FA).forEach(function (key) {
1097
1108
  if (key === "default" || key === "__esModule") return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
package/CHANGELOG.md DELETED
@@ -1,17 +0,0 @@
1
- # v0.1.0 (Tue Sep 03 2019)
2
-
3
- - Created first version of the design system, with `Avatar`, `Badge`, `Button`, `Icon` and `Link` components.
4
-
5
- # v1.1.9
6
-
7
- - updated footer
8
-
9
- # v2.0.0
10
-
11
- - BREAKING CHANGE
12
- - added firebase auth flow and auth context
13
-
14
- #### Authors: 1
15
-
16
- - Marcel Cruz ([@marcelcruz](https://github.com/marcelscruz))
17
- - Bilal Hodzic ([@bilalhodzic](https://github.com/bilalhodzic))