@sikka/hawa 0.0.78 → 0.0.79

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 (51) hide show
  1. package/es/index.es.js +1 -1
  2. package/lib/index.js +1 -1
  3. package/package.json +1 -1
  4. package/src/blocks/AuthForms/SignInForm.js +15 -10
  5. package/src/blocks/AuthForms/SignInPhone.js +1 -0
  6. package/src/elements/HawaPhoneInput.js +1 -3
  7. package/storybook-static/{0.cf71f8aa82edef0a7186.manager.bundle.js → 0.60b9c65419c3ce80ab72.manager.bundle.js} +2 -2
  8. package/storybook-static/{0.1104ca18.iframe.bundle.js.LICENSE.txt → 0.60b9c65419c3ce80ab72.manager.bundle.js.LICENSE.txt} +0 -0
  9. package/storybook-static/0.e2b91f98.iframe.bundle.js +3 -0
  10. package/storybook-static/{0.cf71f8aa82edef0a7186.manager.bundle.js.LICENSE.txt → 0.e2b91f98.iframe.bundle.js.LICENSE.txt} +0 -0
  11. package/storybook-static/0.e2b91f98.iframe.bundle.js.map +1 -0
  12. package/storybook-static/{1.e3eafd38.iframe.bundle.js → 1.e2210f7b.iframe.bundle.js} +0 -0
  13. package/storybook-static/1.fcf12768b56cacc8bdd8.manager.bundle.js +1 -0
  14. package/storybook-static/5.c1ea708e0305a3f2690d.manager.bundle.js +2 -0
  15. package/storybook-static/{5.5b799f3fbf64cec8e51a.manager.bundle.js.LICENSE.txt → 5.c1ea708e0305a3f2690d.manager.bundle.js.LICENSE.txt} +0 -0
  16. package/storybook-static/{6.b34ce31193a7fa1dd965.manager.bundle.js → 6.aa9b5ae07e5f3bc21475.manager.bundle.js} +1 -1
  17. package/storybook-static/{6.6023eba1.iframe.bundle.js → 6.fadd6632.iframe.bundle.js} +2 -2
  18. package/storybook-static/{6.6023eba1.iframe.bundle.js.LICENSE.txt → 6.fadd6632.iframe.bundle.js.LICENSE.txt} +0 -0
  19. package/storybook-static/6.fadd6632.iframe.bundle.js.map +1 -0
  20. package/storybook-static/{7.632f8551.iframe.bundle.js → 7.12834585.iframe.bundle.js} +0 -0
  21. package/storybook-static/{7.72879af713f755a7aa7e.manager.bundle.js → 7.f95843e9a2777ac17dbf.manager.bundle.js} +1 -1
  22. package/storybook-static/{8.f9b98ef3e089be1a16d6.manager.bundle.js → 8.15e99a30b6a9bc116f34.manager.bundle.js} +2 -2
  23. package/storybook-static/{8.f9b98ef3e089be1a16d6.manager.bundle.js.LICENSE.txt → 8.15e99a30b6a9bc116f34.manager.bundle.js.LICENSE.txt} +0 -0
  24. package/storybook-static/{9.63a5cf7a.iframe.bundle.js → 9.51450e03.iframe.bundle.js} +2 -2
  25. package/storybook-static/{9.63a5cf7a.iframe.bundle.js.LICENSE.txt → 9.51450e03.iframe.bundle.js.LICENSE.txt} +0 -0
  26. package/storybook-static/9.51450e03.iframe.bundle.js.map +1 -0
  27. package/storybook-static/{9.1e1335092fade49cc986.manager.bundle.js → 9.78e4df0068efee922f9a.manager.bundle.js} +1 -1
  28. package/storybook-static/iframe.html +1 -1
  29. package/storybook-static/index.html +1 -1
  30. package/storybook-static/main.2539e901.iframe.bundle.js +1 -0
  31. package/storybook-static/main.3b67cd32d74b4c684f1b.manager.bundle.js +1 -0
  32. package/storybook-static/project.json +1 -1
  33. package/storybook-static/{runtime~main.67ec6e92.iframe.bundle.js → runtime~main.49eed76e.iframe.bundle.js} +1 -1
  34. package/storybook-static/{runtime~main.a58df7ba92d01c5088d3.manager.bundle.js → runtime~main.4d99c291be326901006a.manager.bundle.js} +1 -1
  35. package/storybook-static/vendors~main.86108d25403f3f41d9ea.manager.bundle.js +2 -0
  36. package/storybook-static/{vendors~main.d13ba71108048897ea4a.manager.bundle.js.LICENSE.txt → vendors~main.86108d25403f3f41d9ea.manager.bundle.js.LICENSE.txt} +0 -0
  37. package/storybook-static/vendors~main.a425b282.iframe.bundle.js +3 -0
  38. package/storybook-static/{vendors~main.2c1e652d.iframe.bundle.js.LICENSE.txt → vendors~main.a425b282.iframe.bundle.js.LICENSE.txt} +0 -0
  39. package/storybook-static/vendors~main.a425b282.iframe.bundle.js.map +1 -0
  40. package/tailwind.config.js +1 -1
  41. package/storybook-static/0.1104ca18.iframe.bundle.js +0 -3
  42. package/storybook-static/0.1104ca18.iframe.bundle.js.map +0 -1
  43. package/storybook-static/1.7e6ec5c45ae5b70c5149.manager.bundle.js +0 -1
  44. package/storybook-static/5.5b799f3fbf64cec8e51a.manager.bundle.js +0 -2
  45. package/storybook-static/6.6023eba1.iframe.bundle.js.map +0 -1
  46. package/storybook-static/9.63a5cf7a.iframe.bundle.js.map +0 -1
  47. package/storybook-static/main.4bd27e4e7faa098302d1.manager.bundle.js +0 -1
  48. package/storybook-static/main.ec5cf911.iframe.bundle.js +0 -1
  49. package/storybook-static/vendors~main.2c1e652d.iframe.bundle.js +0 -3
  50. package/storybook-static/vendors~main.2c1e652d.iframe.bundle.js.map +0 -1
  51. package/storybook-static/vendors~main.d13ba71108048897ea4a.manager.bundle.js +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "description": "UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
@@ -74,15 +74,17 @@ export const SignInForm = (props) => {
74
74
  {props.texts.forgotPasswordText}
75
75
  </div>
76
76
  <HawaButton fullWidth type="submit" text={props.texts.signInText} />{" "}
77
- <div className="font-semibold p-3 text-center text-sm">
78
- {props.texts.newUserText}{" "}
79
- <span
80
- onClick={props.handleRouteToSignUp}
81
- className="text-blue-600 cursor-pointer"
82
- >
83
- {props.texts.signUpText}
84
- </span>
85
- </div>
77
+ {!props.withoutSignUp && (
78
+ <div className="font-semibold p-3 text-center text-sm">
79
+ {props.texts.newUserText}{" "}
80
+ <span
81
+ onClick={props.handleRouteToSignUp}
82
+ className="text-blue-600 cursor-pointer"
83
+ >
84
+ {props.texts.signUpText}
85
+ </span>
86
+ </div>
87
+ )}
86
88
  </form>
87
89
  {/* <Divider /> */}
88
90
  {/* <div className="divide-y divide-gray-900"></div> */}
@@ -141,5 +143,8 @@ SignInForm.propTypes = {
141
143
  handleRouteToSignUp: PropTypes.func,
142
144
  handleGoogleSignIn: PropTypes.func,
143
145
  handleGithubSignIn: PropTypes.func,
144
- handleTwitterSignIn: PropTypes.func
146
+ handleTwitterSignIn: PropTypes.func,
147
+ handleForgotPassword: PropTypes.func,
148
+
149
+ withoutSignUp: PropTypes.bool
145
150
  };
@@ -31,6 +31,7 @@ export const SignInPhone = (props) => {
31
31
  />
32
32
  )}
33
33
  />
34
+ <div className="mt-2"></div>
34
35
  <HawaButton fullWidth type="submit" text={props.SignInButtonText} />
35
36
  </form>
36
37
  </HawaContainer>
@@ -85,9 +85,7 @@ export default function HawaPhoneInput({ preferredCountry }) {
85
85
  setSelectedCountry(newValue);
86
86
  }}
87
87
  />
88
- <div>
89
- <input className="bg-gray-50 border rounded-l-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 border-l-0" />
90
- </div>
88
+ <input className="bg-gray-50 border rounded-l-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 border-l-0" />
91
89
  </div>
92
90
  );
93
91
  }