@sikka/hawa 0.0.109 → 0.0.110

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": "@sikka/hawa",
3
- "version": "0.0.109",
3
+ "version": "0.0.110",
4
4
  "description": "UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
@@ -26,7 +26,7 @@ export const CodeConfirmation: React.FunctionComponent<
26
26
  } = methods
27
27
 
28
28
  return (
29
- <HawaContainer maxWidth="small">
29
+ <HawaContainer>
30
30
  {" "}
31
31
  {props.showError && (
32
32
  <HawaAlert
@@ -41,7 +41,7 @@ export const NewPasswordForm: React.FunctionComponent<NewPasswordTypes> = (
41
41
  }
42
42
 
43
43
  return (
44
- <HawaContainer maxWidth="small">
44
+ <HawaContainer>
45
45
  {" "}
46
46
  {matchError && (
47
47
  <HawaAlert text={props.texts.passwordMatchError} severity="error" />
@@ -27,8 +27,7 @@ export const ResetPasswordForm: React.FunctionComponent<ResetPasswordType> = (
27
27
  control,
28
28
  } = methods
29
29
  return (
30
- <HawaContainer maxWidth="small">
31
- {" "}
30
+ <HawaContainer>
32
31
  {!props.sent ? (
33
32
  <form onSubmit={handleSubmit(props.handleResetPassword)}>
34
33
  <Controller
@@ -57,7 +57,7 @@ export const SignInForm: React.FunctionComponent<SignInFormTypes> = (props) => {
57
57
  } = useForm()
58
58
 
59
59
  return (
60
- <HawaContainer maxWidth="small">
60
+ <HawaContainer>
61
61
  <form onSubmit={handleSubmit((e) => props.handleSignIn(e))}>
62
62
  {props.showError && (
63
63
  <HawaAlert
@@ -27,7 +27,7 @@ export const SignInPhone: React.FunctionComponent<SignInPhoneTypes> = (
27
27
  console.log("submitting ", userPhone)
28
28
  }
29
29
  return (
30
- <HawaContainer maxWidth="small">
30
+ <HawaContainer>
31
31
  <form
32
32
  onSubmit={handleSubmit(() => console.log("testing submit"))}
33
33
  // onSubmit={(e) => {
@@ -68,7 +68,7 @@ export const SignUpForm: React.FunctionComponent<SignUpFormTypes> = (props) => {
68
68
  } = methods
69
69
 
70
70
  return (
71
- <HawaContainer maxWidth="small">
71
+ <HawaContainer>
72
72
  <div>
73
73
  {props.showError && (
74
74
  <HawaAlert
@@ -60,7 +60,7 @@ export const CheckoutForm: React.FunctionComponent<CheckoutFormTypes> = (
60
60
  },
61
61
  }
62
62
  return (
63
- <HawaContainer maxWidth="full">
63
+ <HawaContainer>
64
64
  <div>
65
65
  <div className="mb-2 text-center text-xl font-semibold">
66
66
  {props.texts.orderDetails}
@@ -13,7 +13,7 @@ export const ReferralAccount: React.FunctionComponent<ReferralAccount> = ({
13
13
  referralCode,
14
14
  }) => {
15
15
  return (
16
- <HawaContainer maxWidth="normal">
16
+ <HawaContainer>
17
17
  <div className="my-2 mt-0">
18
18
  <div className="mb-1">Referral Code</div>
19
19
  <div className="flex flex-row items-center justify-between rounded-lg bg-white">
@@ -26,7 +26,7 @@ export const ReferralSettlement: React.FunctionComponent<
26
26
  control,
27
27
  } = methods
28
28
  return (
29
- <HawaContainer maxWidth="normal">
29
+ <HawaContainer>
30
30
  <div>
31
31
  <FormProvider {...methods}>
32
32
  <HawaTextField label={"IBAN"} />
@@ -15,7 +15,7 @@ export const ReferralStats: React.FunctionComponent<TReferralStats> = ({
15
15
  withdrawError,
16
16
  }) => {
17
17
  return (
18
- <HawaContainer maxWidth="normal">
18
+ <HawaContainer>
19
19
  <div className="mb-1">Stats</div>
20
20
  <div className="justi flex flex-row gap-1">
21
21
  <NumberCard title="Clicks" number={22} />
@@ -148,7 +148,6 @@ export const HawaPricingCard: React.FunctionComponent<PricingCardTypes> = (
148
148
  </div>
149
149
 
150
150
  // <Container
151
- // maxWidth="xs"
152
151
  // variant={props.selectedPlan ? "selected-plan-card" : "plan-card"}
153
152
  // style={{ direction: isArabic ? "rtl" : "ltr" }}
154
153
  // >
@@ -157,7 +156,6 @@ export const HawaPricingCard: React.FunctionComponent<PricingCardTypes> = (
157
156
  // label={props.discount}
158
157
  // variant="standard"
159
158
  // style={{
160
- // maxWidth: "fit-content",
161
159
  // position: "absolute",
162
160
  // bottom: 10,
163
161
  // ...chipSpacing