@sikka/hawa 0.0.57 → 0.0.59

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 (40) hide show
  1. package/es/index.es.js +1 -1
  2. package/lib/index.js +1 -1
  3. package/package.json +3 -3
  4. package/src/blocks/Account/UserProfileForm.js +9 -5
  5. package/src/blocks/Account/UserSettingsForm.js +10 -5
  6. package/src/blocks/AuthForms/CodeConfirmation.js +5 -5
  7. package/src/blocks/AuthForms/NewPasswordForm.js +9 -5
  8. package/src/blocks/AuthForms/ResetPasswordForm.js +9 -5
  9. package/src/blocks/AuthForms/SignInForm.js +5 -10
  10. package/src/blocks/AuthForms/SignInPhone.js +4 -5
  11. package/src/blocks/AuthForms/SignUpForm.js +4 -10
  12. package/src/blocks/Misc/NotFound.js +1 -1
  13. package/src/blocks/Payment/ChargeWalletForm.js +9 -5
  14. package/src/blocks/Payment/CheckoutForm.js +6 -8
  15. package/src/blocks/Payment/Confirmation.js +19 -12
  16. package/src/blocks/Payment/CreditCardForm.js +6 -7
  17. package/src/blocks/Payment/Form/CForm.js +2 -12
  18. package/src/blocks/Payment/PayWithWallet.js +9 -5
  19. package/src/blocks/Payment/SelectPayment.js +4 -2
  20. package/src/elements/DragDropImages.js +2 -3
  21. package/src/elements/HawaButton.js +13 -6
  22. package/src/elements/HawaItemCard.js +38 -155
  23. package/src/elements/HawaPanelTabs.js +17 -69
  24. package/src/elements/HawaRadio.js +32 -0
  25. package/src/elements/HawaSettingsRow.js +2 -4
  26. package/src/elements/HawaTooltip.js +2 -41
  27. package/src/elements/index.js +0 -2
  28. package/src/layout/HawaContainer.js +12 -0
  29. package/src/layout/index.js +1 -0
  30. package/storybook-static/iframe.html +1 -1
  31. package/storybook-static/main.e6b8be7f.iframe.bundle.js +1 -0
  32. package/storybook-static/project.json +1 -1
  33. package/storybook-static/{vendors~main.8be71844.iframe.bundle.js → vendors~main.305b437b.iframe.bundle.js} +3 -3
  34. package/storybook-static/{vendors~main.8be71844.iframe.bundle.js.LICENSE.txt → vendors~main.305b437b.iframe.bundle.js.LICENSE.txt} +0 -0
  35. package/storybook-static/vendors~main.305b437b.iframe.bundle.js.map +1 -0
  36. package/src/elements/ActionButton.js +0 -14
  37. package/src/elements/RadioBox.js +0 -29
  38. package/src/elements/ResponsiveButton.js +0 -34
  39. package/storybook-static/main.89a5002b.iframe.bundle.js +0 -1
  40. package/storybook-static/vendors~main.8be71844.iframe.bundle.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendors~main.305b437b.iframe.bundle.js","sources":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;A","sourceRoot":""}
@@ -1,14 +0,0 @@
1
-
2
- export const ActionButton = (props) => {
3
- // <Button {...props}>{props.text}</Button>;
4
- return (
5
- <button
6
- type="button"
7
- class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center mr-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
8
- >
9
- {props.icon ? <div class="mr-2 -ml-1 w-5 h-5">{props.icon}</div> : null}
10
-
11
- {props.children}
12
- </button>
13
- );
14
- };
@@ -1,29 +0,0 @@
1
- // import React from "react";
2
- // import { Controller, useFormContext } from "react-hook-form";
3
- // import FormControlLabel from "@mui/material/FormControlLabel";
4
- // import Checkbox from "@mui/material/Checkbox";
5
-
6
- // export const StyledRadioBox = (props) => {
7
- // const { control } = useFormContext();
8
- // const { name, defaultValue, rules, shouldUnregister } = props;
9
-
10
- // return (
11
- // <React.Fragment>
12
- // <Controller
13
- // render={({ field }) => (
14
- // <FormControlLabel
15
- // control={<Checkbox />}
16
- // {...props}
17
- // {...field}
18
- // checked={field.value}
19
- // />
20
- // )}
21
- // name={name}
22
- // rules={rules}
23
- // control={control}
24
- // defaultValue={defaultValue}
25
- // shouldUnregister={shouldUnregister}
26
- // />
27
- // </React.Fragment>
28
- // );
29
- // };
@@ -1,34 +0,0 @@
1
- import React from "react";
2
- import PropTypes from "prop-types";
3
-
4
- export const ResponsiveButton = (props) => {
5
- if (props.showText) {
6
- return (
7
- <button variant="adaptive-dark" onClick={props.onClick}>
8
- {props.icon}
9
- <div style={{ width: 10 }} />
10
- {props.buttonText}
11
- </button>
12
- );
13
- } else {
14
- //icon only
15
- return (
16
- <>
17
- <button
18
- data-tooltip-target="btn1"
19
- variant="adaptive-dark"
20
- onClick={props.onClick}
21
- >
22
- {props.icon}
23
- </button>
24
- <HawaTooltip tooltipID="btn1" content={props.buttonText} />
25
- </>
26
- );
27
- }
28
- };
29
-
30
- ResponsiveButton.propTypes = {
31
- buttonText: PropTypes.string,
32
- onClick: PropTypes.func,
33
- showText: PropTypes.bool
34
- };