react-gldn-kit 0.1.175 → 0.1.176

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.
@@ -106,6 +106,8 @@ var AssignEmail = function (props) {
106
106
  });
107
107
  }
108
108
  }, [status, resetFormType, email, confirmEmailByCodeStatus]);
109
- return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperEmail, classes) }, { children: [(0, jsx_runtime_1.jsx)(EmailInput_1.EmailInput, { size: "full", onChange: setEmail, callbackFn: handleAllowInputCode, classesWrapper: styles.wrapperEmailInput, label: "profile.content.myAccount.form.email", placeholder: "profile.content.myAccount.form.enterEmail", requestId: types_1.ERequestIds.UpdateUserEmail, sendCommand: sendCommand, classes: styles.wrapperEmailInput, defaultValue: initialEmail, isRestEmail: true }), (0, jsx_runtime_1.jsx)(BaseInput_1.BaseInput, { placeholder: "profile.content.myAccount.form.code", size: "full", defaultValue: "", disabled: !isAllowed, onChange: changeInput('code'), classes: styles.wrapperInput }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.buttons }, { children: [(0, jsx_runtime_1.jsx)(Buttons_1.BaseButton, { text: "profile.content.myAccount.form.verification", color: "primary", disabled: isNotUpdateBtn, size: "--button-full", buttonHeight: "--button-height-l", classes: styles.verificationButton, handleClick: assignEmail, centreText: true }), (0, jsx_runtime_1.jsx)(Buttons_1.BaseButton, { text: "", color: "dark", size: "--button-s", classes: styles.closeButton, handleClick: resetFormType, startIcon: (0, jsx_runtime_1.jsx)(CrossSvg_1.CrossSvg, { width: "10", height: "10", classes: styles.closeButtonSvg }) })] }))] })));
109
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperEmail, classes) }, { children: [(0, jsx_runtime_1.jsx)(EmailInput_1.EmailInput, { size: "full", onChange: setEmail, callbackFn: handleAllowInputCode, classesWrapper: styles.wrapperEmailInput, placeholder: "profile.content.myAccount.form.enterEmail", requestId: types_1.ERequestIds.UpdateUserEmail, sendCommand: sendCommand, classes: styles.wrapperEmailInput, defaultValue: initialEmail, isRestEmail: true }), (0, jsx_runtime_1.jsx)(BaseInput_1.BaseInput, { placeholder: "profile.content.myAccount.form.code", size: "full", defaultValue: "", disabled: !isAllowed, onChange: changeInput('code'), classes: styles.wrapperInput,
110
+ // inputLabelType={inputLabelType}
111
+ errorText: confirmEmailByCodeStatus === 'rejected' ? 'errors.smth' : '' }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.buttons }, { children: [(0, jsx_runtime_1.jsx)(Buttons_1.BaseButton, { text: "profile.content.myAccount.form.verification", color: "primary", disabled: isNotUpdateBtn, size: "--button-full", buttonHeight: "--button-height-l", classes: styles.verificationButton, handleClick: assignEmail, centreText: true }), (0, jsx_runtime_1.jsx)(Buttons_1.BaseButton, { text: "", color: "dark", size: "--button-s", classes: styles.closeButton, handleClick: resetFormType, startIcon: (0, jsx_runtime_1.jsx)(CrossSvg_1.CrossSvg, { width: "10", height: "10", classes: styles.closeButtonSvg }) })] }))] })));
110
112
  };
111
113
  exports.AssignEmail = AssignEmail;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-gldn-kit",
3
- "version": "0.1.175",
3
+ "version": "0.1.176",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "keywords": [],
@@ -44,7 +44,7 @@
44
44
  "postcss-loader": "^8.1.1",
45
45
  "postcss-preset-env": "^10.1.2",
46
46
  "prettier": "^2.8.8",
47
- "react-render-hooks": "^0.1.3",
47
+ "react-render-hooks": "^0.1.7",
48
48
  "rimraf": "^6.0.1",
49
49
  "scheduler": "^0.25.0",
50
50
  "style-loader": "^4.0.0",