ywana-core8 0.1.14 → 0.1.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -33,7 +33,7 @@ export const ResetPasswordBox = ({ logo, title, userRequired = true, oldPwdRequi
33
33
  }
34
34
 
35
35
  function ok() {
36
- if (onOK && canOK()) {
36
+ if (onOK) {
37
37
  onOK(form)
38
38
  }
39
39
  }
@@ -57,7 +57,6 @@ export const ResetPasswordBox = ({ logo, title, userRequired = true, oldPwdRequi
57
57
  {children}
58
58
  </header>
59
59
  <main>
60
- <Text use="headline6">{text}</Text>
61
60
  {userRequired ? <TextField id="user" outlined icon="person" label={userLabel} lapse={100} onChange={changeField} onEnter={ok} /> : null}
62
61
  {oldPwdRequired ? <TextField id="oldPassword" outlined icon="lock" type="password" label="Old Password" lapse={100} onChange={changeField} onEnter={ok} /> : null}
63
62
  <TextField id="password1" outlined icon="lock" type="password" label={passwordLabel} lapse={100} onChange={changeField} onEnter={ok} />