summit-registration-lite 2.0.3 → 2.0.4

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -683,6 +683,7 @@ const stripe_js_namespaceObject = require("@stripe/stripe-js");
683
683
 
684
684
  const LoginComponent = ({
685
685
  options,
686
+ login,
686
687
  allowsNativeAuth,
687
688
  allowsOtpAuthlogin,
688
689
  getLoginCode,
@@ -724,7 +725,7 @@ const LoginComponent = ({
724
725
  "data-testid": "email-button"
725
726
  }, ">"), /*#__PURE__*/external_react_default().createElement("br", null)), emailError && /*#__PURE__*/external_react_default().createElement("span", {
726
727
  "data-testid": "email-error"
727
- }, "Please enter a valid email adress")), /*#__PURE__*/external_react_default().createElement("span", null, "Or you may signup or login with a social provider:"), options.map((o, index) => {
728
+ }, "Please enter a valid email address")), /*#__PURE__*/external_react_default().createElement("span", null, "Or you may signup or login with a social provider:"), options.map((o, index) => {
728
729
  return o.provider_param ? /*#__PURE__*/external_react_default().createElement("div", {
729
730
  className: `${index_module.button}`,
730
731
  key: `provider-${o.provider_param}`,
@@ -770,7 +771,7 @@ const LoginComponent = ({
770
771
  }, "Please enter a valid email adress")))));
771
772
  };
772
773
 
773
- /* harmony default export */ const components_login = (LoginComponent);
774
+ /* harmony default export */ const login = (LoginComponent);
774
775
  ;// CONCATENATED MODULE: external "prop-types"
775
776
  const external_prop_types_namespaceObject = require("prop-types");
776
777
  ;// CONCATENATED MODULE: external "@stripe/react-stripe-js"
@@ -1935,7 +1936,7 @@ const RegistrationLite = _ref => {
1935
1936
  onClick: handleCloseClick
1936
1937
  })), /*#__PURE__*/external_react_default().createElement("div", {
1937
1938
  className: general_module.stepsWrapper
1938
- }, !profileData && !passwordlessCodeSent && /*#__PURE__*/external_react_default().createElement(components_login, {
1939
+ }, !profileData && !passwordlessCodeSent && /*#__PURE__*/external_react_default().createElement(login, {
1939
1940
  options: loginOptions,
1940
1941
  allowsNativeAuth: allowsNativeAuth,
1941
1942
  allowsOtpAuth: allowsOtpAuth,
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "summit-registration-lite",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Summit Registration Lite",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "clean": "find . -name \"node_modules\" -type d -prune -exec rm -rf '{}' + && yarn install",
7
+ "clean": "find . -name \"dist\" -type d -prune -exec rm -rf '{}' + & find . -name \"node_modules\" -type d -prune -exec rm -rf '{}' + && yarn",
8
8
  "build-dev": "./node_modules/.bin/webpack --config webpack.dev.js",
9
9
  "build": "./node_modules/.bin/webpack --config webpack.prod.js",
10
10
  "serve": "webpack-dev-server --open --port=8888 --https --config webpack.dev.js",
@@ -59,7 +59,7 @@
59
59
  "moment": "^2.22.2",
60
60
  "moment-timezone": "^0.5.21",
61
61
  "node-sass": "^7.0.1",
62
- "openstack-uicore-foundation": "^4.0.18",
62
+ "openstack-uicore-foundation": "^4.0.14",
63
63
  "optimize-css-assets-webpack-plugin": "^6.0.1",
64
64
  "path": "^0.12.7",
65
65
  "react": "^16.8.4",
@@ -103,7 +103,7 @@
103
103
  "lodash": "^4.17.14",
104
104
  "moment": "^2.22.2",
105
105
  "moment-timezone": "^0.5.21",
106
- "openstack-uicore-foundation": "^4.0.18",
106
+ "openstack-uicore-foundation": "^4.0.14",
107
107
  "react": "^16.8.4",
108
108
  "react-bootstrap": "^0.31.5",
109
109
  "react-datetime": "^2.16.2",