@sikka/hawa 0.1.7 → 0.1.8-beta

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 (392) hide show
  1. package/README.md +21 -43
  2. package/dist/index.css +1114 -0
  3. package/dist/index.d.mts +47 -0
  4. package/dist/index.d.ts +47 -0
  5. package/dist/index.js +432 -0
  6. package/dist/index.mjs +272 -0
  7. package/package.json +54 -117
  8. package/.github/workflows/hawa-actions.yml +0 -112
  9. package/.github/workflows/hawa-publish-push.yml +0 -74
  10. package/.github/workflows/hawa-publish.yml +0 -48
  11. package/.prettierrc +0 -28
  12. package/_config.yml +0 -1
  13. package/dist/styles.css +0 -3605
  14. package/es/blocks/Account/HawaApiBox.d.ts +0 -8
  15. package/es/blocks/Account/UserProfileForm.d.ts +0 -8
  16. package/es/blocks/Account/UserSettingsForm.d.ts +0 -9
  17. package/es/blocks/Account/index.d.ts +0 -2
  18. package/es/blocks/AuthForms/AppLanding.d.ts +0 -15
  19. package/es/blocks/AuthForms/CodeConfirmation.d.ts +0 -22
  20. package/es/blocks/AuthForms/NewPasswordForm.d.ts +0 -18
  21. package/es/blocks/AuthForms/ResetPasswordForm.d.ts +0 -18
  22. package/es/blocks/AuthForms/SignInBlock.d.ts +0 -2
  23. package/es/blocks/AuthForms/SignInForm.d.ts +0 -51
  24. package/es/blocks/AuthForms/SignInPhone.d.ts +0 -13
  25. package/es/blocks/AuthForms/SignUpForm.d.ts +0 -55
  26. package/es/blocks/AuthForms/index.d.ts +0 -8
  27. package/es/blocks/Misc/EmptyState.d.ts +0 -11
  28. package/es/blocks/Misc/LeadGenerator.d.ts +0 -12
  29. package/es/blocks/Misc/NoPermission.d.ts +0 -10
  30. package/es/blocks/Misc/NotFound.d.ts +0 -11
  31. package/es/blocks/Misc/Testimonial.d.ts +0 -6
  32. package/es/blocks/Misc/index.d.ts +0 -5
  33. package/es/blocks/Payment/ChargeWalletForm.d.ts +0 -12
  34. package/es/blocks/Payment/CheckoutForm.d.ts +0 -27
  35. package/es/blocks/Payment/Confirmation.d.ts +0 -38
  36. package/es/blocks/Payment/CreditCardForm.d.ts +0 -7
  37. package/es/blocks/Payment/PayWithWallet.d.ts +0 -8
  38. package/es/blocks/Payment/SelectPayment.d.ts +0 -26
  39. package/es/blocks/Payment/index.d.ts +0 -6
  40. package/es/blocks/Pricing/ComparingPlans.d.ts +0 -39
  41. package/es/blocks/Pricing/HorizontalPricing.d.ts +0 -47
  42. package/es/blocks/Pricing/PricingPlans.d.ts +0 -47
  43. package/es/blocks/Pricing/index.d.ts +0 -3
  44. package/es/blocks/Referral/ReferralAccount.d.ts +0 -7
  45. package/es/blocks/Referral/ReferralSettlement.d.ts +0 -8
  46. package/es/blocks/Referral/ReferralStats.d.ts +0 -8
  47. package/es/blocks/Referral/index.d.ts +0 -3
  48. package/es/blocks/index.d.ts +0 -6
  49. package/es/countries.d.ts +0 -2
  50. package/es/elements/ArrowCarousel.d.ts +0 -13
  51. package/es/elements/AutoCompleteField.d.ts +0 -8
  52. package/es/elements/BackToTop.d.ts +0 -10
  53. package/es/elements/Breadcrumb.d.ts +0 -12
  54. package/es/elements/Button.d.ts +0 -12
  55. package/es/elements/Card.d.ts +0 -13
  56. package/es/elements/DragDropImages.d.ts +0 -28
  57. package/es/elements/DraggableCard.d.ts +0 -6
  58. package/es/elements/FloatingComment.d.ts +0 -32
  59. package/es/elements/FloatingCommentExec.d.ts +0 -4
  60. package/es/elements/FloatingCommentSlate.d.ts +0 -19
  61. package/es/elements/HawaAccordion.d.ts +0 -11
  62. package/es/elements/HawaAdCard.d.ts +0 -10
  63. package/es/elements/HawaAlert.d.ts +0 -23
  64. package/es/elements/HawaButton.d.ts +0 -21
  65. package/es/elements/HawaCardInput.d.ts +0 -25
  66. package/es/elements/HawaCheckbox.d.ts +0 -11
  67. package/es/elements/HawaChip.d.ts +0 -17
  68. package/es/elements/HawaCodeBlock.d.ts +0 -15
  69. package/es/elements/HawaColorPicker.d.ts +0 -9
  70. package/es/elements/HawaCopyrights.d.ts +0 -15
  71. package/es/elements/HawaDatepicker.d.ts +0 -4
  72. package/es/elements/HawaDropdownMenu.d.ts +0 -7
  73. package/es/elements/HawaIconCount.d.ts +0 -9
  74. package/es/elements/HawaInlineCode.d.ts +0 -6
  75. package/es/elements/HawaItemCard.d.ts +0 -32
  76. package/es/elements/HawaLandingCard.d.ts +0 -18
  77. package/es/elements/HawaLoading.d.ts +0 -8
  78. package/es/elements/HawaLogoButton.d.ts +0 -10
  79. package/es/elements/HawaMenu.d.ts +0 -24
  80. package/es/elements/HawaModal.d.ts +0 -21
  81. package/es/elements/HawaPanelTabs.d.ts +0 -13
  82. package/es/elements/HawaPhoneInput.d.ts +0 -11
  83. package/es/elements/HawaPinInput.d.ts +0 -10
  84. package/es/elements/HawaPricingCard.d.ts +0 -21
  85. package/es/elements/HawaRadio.d.ts +0 -16
  86. package/es/elements/HawaRange.d.ts +0 -12
  87. package/es/elements/HawaSearchBar.d.ts +0 -4
  88. package/es/elements/HawaSelect.d.ts +0 -23
  89. package/es/elements/HawaSettingsRow.d.ts +0 -44
  90. package/es/elements/HawaSnackbar.d.ts +0 -19
  91. package/es/elements/HawaStats.d.ts +0 -14
  92. package/es/elements/HawaStepper.d.ts +0 -8
  93. package/es/elements/HawaStoreButtons.d.ts +0 -7
  94. package/es/elements/HawaSwitch.d.ts +0 -7
  95. package/es/elements/HawaTable.d.ts +0 -45
  96. package/es/elements/HawaTabs.d.ts +0 -13
  97. package/es/elements/HawaTextField.d.ts +0 -31
  98. package/es/elements/HawaTooltip.d.ts +0 -12
  99. package/es/elements/HawaTypography.d.ts +0 -7
  100. package/es/elements/Icons.d.ts +0 -19
  101. package/es/elements/Input.d.ts +0 -5
  102. package/es/elements/InvoiceAccordion.d.ts +0 -31
  103. package/es/elements/Label.d.ts +0 -5
  104. package/es/elements/Skeleton.d.ts +0 -3
  105. package/es/elements/SubsectionList.d.ts +0 -19
  106. package/es/elements/TabPanel.d.ts +0 -8
  107. package/es/elements/Timeline.d.ts +0 -13
  108. package/es/elements/Tooltip.d.ts +0 -12
  109. package/es/elements/UsageCard.d.ts +0 -9
  110. package/es/elements/UserFeedback.d.ts +0 -14
  111. package/es/elements/index.d.ts +0 -57
  112. package/es/hooks/index.d.ts +0 -2
  113. package/es/hooks/useBreakpoint.d.ts +0 -2
  114. package/es/hooks/useDiscloser.d.ts +0 -7
  115. package/es/hooks/useHover.d.ts +0 -3
  116. package/es/hooks/useScrollPosition.d.ts +0 -2
  117. package/es/hooks/useTable.d.ts +0 -5
  118. package/es/index.d.ts +0 -4
  119. package/es/index.es.js +0 -16
  120. package/es/layout/AppSidebar.d.ts +0 -11
  121. package/es/layout/Banner.d.ts +0 -14
  122. package/es/layout/Box.d.ts +0 -2
  123. package/es/layout/Footer.d.ts +0 -20
  124. package/es/layout/HawaAppLayout.d.ts +0 -31
  125. package/es/layout/HawaAppLayoutSimplified.d.ts +0 -33
  126. package/es/layout/HawaBottomAppBar.d.ts +0 -8
  127. package/es/layout/HawaContainer.d.ts +0 -10
  128. package/es/layout/HawaGrid.d.ts +0 -6
  129. package/es/layout/HawaSiteLayout.d.ts +0 -23
  130. package/es/layout/index.d.ts +0 -10
  131. package/es/stories/ElementsStories/Breadcrumb.stories.d.ts +0 -6
  132. package/es/stories/ManualStories/BlocksIntroduction.stories.d.ts +0 -21
  133. package/es/stories/ManualStories/Customization.stories.d.ts +0 -21
  134. package/es/stories/ManualStories/ElementsIntroduction.stories.d.ts +0 -21
  135. package/es/stories/ManualStories/Installation.stories.d.ts +0 -21
  136. package/es/stories/ManualStories/LayoutIntroduction.stories.d.ts +0 -21
  137. package/es/stories/ManualStories/Overview.stories.d.ts +0 -22
  138. package/es/stories/ManualStories/Usage.stories.d.ts +0 -21
  139. package/es/util.d.ts +0 -10
  140. package/lib/blocks/Account/HawaApiBox.d.ts +0 -8
  141. package/lib/blocks/Account/UserProfileForm.d.ts +0 -8
  142. package/lib/blocks/Account/UserSettingsForm.d.ts +0 -9
  143. package/lib/blocks/Account/index.d.ts +0 -2
  144. package/lib/blocks/AuthForms/AppLanding.d.ts +0 -15
  145. package/lib/blocks/AuthForms/CodeConfirmation.d.ts +0 -22
  146. package/lib/blocks/AuthForms/NewPasswordForm.d.ts +0 -18
  147. package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +0 -18
  148. package/lib/blocks/AuthForms/SignInBlock.d.ts +0 -2
  149. package/lib/blocks/AuthForms/SignInForm.d.ts +0 -51
  150. package/lib/blocks/AuthForms/SignInPhone.d.ts +0 -13
  151. package/lib/blocks/AuthForms/SignUpForm.d.ts +0 -55
  152. package/lib/blocks/AuthForms/index.d.ts +0 -8
  153. package/lib/blocks/Misc/EmptyState.d.ts +0 -11
  154. package/lib/blocks/Misc/LeadGenerator.d.ts +0 -12
  155. package/lib/blocks/Misc/NoPermission.d.ts +0 -10
  156. package/lib/blocks/Misc/NotFound.d.ts +0 -11
  157. package/lib/blocks/Misc/Testimonial.d.ts +0 -6
  158. package/lib/blocks/Misc/index.d.ts +0 -5
  159. package/lib/blocks/Payment/ChargeWalletForm.d.ts +0 -12
  160. package/lib/blocks/Payment/CheckoutForm.d.ts +0 -27
  161. package/lib/blocks/Payment/Confirmation.d.ts +0 -38
  162. package/lib/blocks/Payment/CreditCardForm.d.ts +0 -7
  163. package/lib/blocks/Payment/PayWithWallet.d.ts +0 -8
  164. package/lib/blocks/Payment/SelectPayment.d.ts +0 -26
  165. package/lib/blocks/Payment/index.d.ts +0 -6
  166. package/lib/blocks/Pricing/ComparingPlans.d.ts +0 -39
  167. package/lib/blocks/Pricing/HorizontalPricing.d.ts +0 -47
  168. package/lib/blocks/Pricing/PricingPlans.d.ts +0 -47
  169. package/lib/blocks/Pricing/index.d.ts +0 -3
  170. package/lib/blocks/Referral/ReferralAccount.d.ts +0 -7
  171. package/lib/blocks/Referral/ReferralSettlement.d.ts +0 -8
  172. package/lib/blocks/Referral/ReferralStats.d.ts +0 -8
  173. package/lib/blocks/Referral/index.d.ts +0 -3
  174. package/lib/blocks/index.d.ts +0 -6
  175. package/lib/countries.d.ts +0 -2
  176. package/lib/elements/ArrowCarousel.d.ts +0 -13
  177. package/lib/elements/AutoCompleteField.d.ts +0 -8
  178. package/lib/elements/BackToTop.d.ts +0 -10
  179. package/lib/elements/Breadcrumb.d.ts +0 -12
  180. package/lib/elements/Button.d.ts +0 -12
  181. package/lib/elements/Card.d.ts +0 -13
  182. package/lib/elements/DragDropImages.d.ts +0 -28
  183. package/lib/elements/DraggableCard.d.ts +0 -6
  184. package/lib/elements/FloatingComment.d.ts +0 -32
  185. package/lib/elements/FloatingCommentExec.d.ts +0 -4
  186. package/lib/elements/FloatingCommentSlate.d.ts +0 -19
  187. package/lib/elements/HawaAccordion.d.ts +0 -11
  188. package/lib/elements/HawaAdCard.d.ts +0 -10
  189. package/lib/elements/HawaAlert.d.ts +0 -23
  190. package/lib/elements/HawaButton.d.ts +0 -21
  191. package/lib/elements/HawaCardInput.d.ts +0 -25
  192. package/lib/elements/HawaCheckbox.d.ts +0 -11
  193. package/lib/elements/HawaChip.d.ts +0 -17
  194. package/lib/elements/HawaCodeBlock.d.ts +0 -15
  195. package/lib/elements/HawaColorPicker.d.ts +0 -9
  196. package/lib/elements/HawaCopyrights.d.ts +0 -15
  197. package/lib/elements/HawaDatepicker.d.ts +0 -4
  198. package/lib/elements/HawaDropdownMenu.d.ts +0 -7
  199. package/lib/elements/HawaIconCount.d.ts +0 -9
  200. package/lib/elements/HawaInlineCode.d.ts +0 -6
  201. package/lib/elements/HawaItemCard.d.ts +0 -32
  202. package/lib/elements/HawaLandingCard.d.ts +0 -18
  203. package/lib/elements/HawaLoading.d.ts +0 -8
  204. package/lib/elements/HawaLogoButton.d.ts +0 -10
  205. package/lib/elements/HawaMenu.d.ts +0 -24
  206. package/lib/elements/HawaModal.d.ts +0 -21
  207. package/lib/elements/HawaPanelTabs.d.ts +0 -13
  208. package/lib/elements/HawaPhoneInput.d.ts +0 -11
  209. package/lib/elements/HawaPinInput.d.ts +0 -10
  210. package/lib/elements/HawaPricingCard.d.ts +0 -21
  211. package/lib/elements/HawaRadio.d.ts +0 -16
  212. package/lib/elements/HawaRange.d.ts +0 -12
  213. package/lib/elements/HawaSearchBar.d.ts +0 -4
  214. package/lib/elements/HawaSelect.d.ts +0 -23
  215. package/lib/elements/HawaSettingsRow.d.ts +0 -44
  216. package/lib/elements/HawaSnackbar.d.ts +0 -19
  217. package/lib/elements/HawaStats.d.ts +0 -14
  218. package/lib/elements/HawaStepper.d.ts +0 -8
  219. package/lib/elements/HawaStoreButtons.d.ts +0 -7
  220. package/lib/elements/HawaSwitch.d.ts +0 -7
  221. package/lib/elements/HawaTable.d.ts +0 -45
  222. package/lib/elements/HawaTabs.d.ts +0 -13
  223. package/lib/elements/HawaTextField.d.ts +0 -31
  224. package/lib/elements/HawaTooltip.d.ts +0 -12
  225. package/lib/elements/HawaTypography.d.ts +0 -7
  226. package/lib/elements/Icons.d.ts +0 -19
  227. package/lib/elements/Input.d.ts +0 -5
  228. package/lib/elements/InvoiceAccordion.d.ts +0 -31
  229. package/lib/elements/Label.d.ts +0 -5
  230. package/lib/elements/Skeleton.d.ts +0 -3
  231. package/lib/elements/SubsectionList.d.ts +0 -19
  232. package/lib/elements/TabPanel.d.ts +0 -8
  233. package/lib/elements/Timeline.d.ts +0 -13
  234. package/lib/elements/Tooltip.d.ts +0 -12
  235. package/lib/elements/UsageCard.d.ts +0 -9
  236. package/lib/elements/UserFeedback.d.ts +0 -14
  237. package/lib/elements/index.d.ts +0 -57
  238. package/lib/hooks/index.d.ts +0 -2
  239. package/lib/hooks/useBreakpoint.d.ts +0 -2
  240. package/lib/hooks/useDiscloser.d.ts +0 -7
  241. package/lib/hooks/useHover.d.ts +0 -3
  242. package/lib/hooks/useScrollPosition.d.ts +0 -2
  243. package/lib/hooks/useTable.d.ts +0 -5
  244. package/lib/index.d.ts +0 -4
  245. package/lib/index.js +0 -16
  246. package/lib/layout/AppSidebar.d.ts +0 -11
  247. package/lib/layout/Banner.d.ts +0 -14
  248. package/lib/layout/Box.d.ts +0 -2
  249. package/lib/layout/Footer.d.ts +0 -20
  250. package/lib/layout/HawaAppLayout.d.ts +0 -31
  251. package/lib/layout/HawaAppLayoutSimplified.d.ts +0 -33
  252. package/lib/layout/HawaBottomAppBar.d.ts +0 -8
  253. package/lib/layout/HawaContainer.d.ts +0 -10
  254. package/lib/layout/HawaGrid.d.ts +0 -6
  255. package/lib/layout/HawaSiteLayout.d.ts +0 -23
  256. package/lib/layout/index.d.ts +0 -10
  257. package/lib/stories/ElementsStories/Breadcrumb.stories.d.ts +0 -6
  258. package/lib/stories/ManualStories/BlocksIntroduction.stories.d.ts +0 -21
  259. package/lib/stories/ManualStories/Customization.stories.d.ts +0 -21
  260. package/lib/stories/ManualStories/ElementsIntroduction.stories.d.ts +0 -21
  261. package/lib/stories/ManualStories/Installation.stories.d.ts +0 -21
  262. package/lib/stories/ManualStories/LayoutIntroduction.stories.d.ts +0 -21
  263. package/lib/stories/ManualStories/Overview.stories.d.ts +0 -22
  264. package/lib/stories/ManualStories/Usage.stories.d.ts +0 -21
  265. package/lib/util.d.ts +0 -10
  266. package/postcss.config.js +0 -6
  267. package/rollup.config.js +0 -61
  268. package/src/blocks/Account/HawaApiBox.tsx +0 -12
  269. package/src/blocks/Account/UserProfileForm.tsx +0 -117
  270. package/src/blocks/Account/UserSettingsForm.tsx +0 -20
  271. package/src/blocks/Account/index.ts +0 -2
  272. package/src/blocks/AuthForms/AppLanding.tsx +0 -88
  273. package/src/blocks/AuthForms/CodeConfirmation.tsx +0 -72
  274. package/src/blocks/AuthForms/NewPasswordForm.tsx +0 -116
  275. package/src/blocks/AuthForms/ResetPasswordForm.tsx +0 -97
  276. package/src/blocks/AuthForms/SignInBlock.tsx +0 -60
  277. package/src/blocks/AuthForms/SignInForm.tsx +0 -228
  278. package/src/blocks/AuthForms/SignInPhone.tsx +0 -57
  279. package/src/blocks/AuthForms/SignUpForm.tsx +0 -341
  280. package/src/blocks/AuthForms/index.ts +0 -8
  281. package/src/blocks/Misc/EmptyState.tsx +0 -47
  282. package/src/blocks/Misc/LeadGenerator.tsx +0 -47
  283. package/src/blocks/Misc/NoPermission.tsx +0 -43
  284. package/src/blocks/Misc/NotFound.tsx +0 -39
  285. package/src/blocks/Misc/Testimonial.tsx +0 -47
  286. package/src/blocks/Misc/index.ts +0 -5
  287. package/src/blocks/Payment/ChargeWalletForm.tsx +0 -79
  288. package/src/blocks/Payment/CheckoutForm.tsx +0 -265
  289. package/src/blocks/Payment/Confirmation.tsx +0 -96
  290. package/src/blocks/Payment/CreditCardForm.tsx +0 -107
  291. package/src/blocks/Payment/PayWithWallet.tsx +0 -24
  292. package/src/blocks/Payment/SelectPayment.tsx +0 -88
  293. package/src/blocks/Payment/index.ts +0 -6
  294. package/src/blocks/Pricing/ComparingPlans.tsx +0 -152
  295. package/src/blocks/Pricing/HorizontalPricing.tsx +0 -148
  296. package/src/blocks/Pricing/PricingPlans.tsx +0 -81
  297. package/src/blocks/Pricing/index.ts +0 -3
  298. package/src/blocks/Referral/ReferralAccount.tsx +0 -68
  299. package/src/blocks/Referral/ReferralSettlement.tsx +0 -149
  300. package/src/blocks/Referral/ReferralStats.tsx +0 -87
  301. package/src/blocks/Referral/index.ts +0 -3
  302. package/src/blocks/index.ts +0 -6
  303. package/src/countries.ts +0 -1940
  304. package/src/elements/ArrowCarousel.tsx +0 -94
  305. package/src/elements/AutoCompleteField.tsx +0 -37
  306. package/src/elements/BackToTop.tsx +0 -129
  307. package/src/elements/Breadcrumb.tsx +0 -41
  308. package/src/elements/Button.tsx +0 -80
  309. package/src/elements/Card.tsx +0 -92
  310. package/src/elements/DragDropImages.tsx +0 -251
  311. package/src/elements/DraggableCard.tsx +0 -27
  312. package/src/elements/FloatingComment.tsx +0 -1107
  313. package/src/elements/FloatingCommentExec.tsx +0 -106
  314. package/src/elements/FloatingCommentSlate.tsx +0 -149
  315. package/src/elements/HawaAccordion.tsx +0 -57
  316. package/src/elements/HawaAdCard.tsx +0 -49
  317. package/src/elements/HawaAlert.tsx +0 -202
  318. package/src/elements/HawaButton.tsx +0 -241
  319. package/src/elements/HawaCardInput.tsx +0 -318
  320. package/src/elements/HawaCheckbox.tsx +0 -54
  321. package/src/elements/HawaChip.tsx +0 -59
  322. package/src/elements/HawaCodeBlock.tsx +0 -159
  323. package/src/elements/HawaColorPicker.tsx +0 -40
  324. package/src/elements/HawaCopyrights.tsx +0 -30
  325. package/src/elements/HawaDatepicker.tsx +0 -23
  326. package/src/elements/HawaDropdownMenu.tsx +0 -267
  327. package/src/elements/HawaIconCount.tsx +0 -17
  328. package/src/elements/HawaInlineCode.tsx +0 -9
  329. package/src/elements/HawaItemCard.tsx +0 -157
  330. package/src/elements/HawaLandingCard.tsx +0 -68
  331. package/src/elements/HawaLoading.tsx +0 -80
  332. package/src/elements/HawaLogoButton.tsx +0 -154
  333. package/src/elements/HawaMenu.tsx +0 -226
  334. package/src/elements/HawaModal.tsx +0 -89
  335. package/src/elements/HawaPanelTabs.tsx +0 -57
  336. package/src/elements/HawaPhoneInput.tsx +0 -171
  337. package/src/elements/HawaPinInput.tsx +0 -78
  338. package/src/elements/HawaPricingCard.tsx +0 -105
  339. package/src/elements/HawaRadio.tsx +0 -180
  340. package/src/elements/HawaRange.tsx +0 -49
  341. package/src/elements/HawaSearchBar.tsx +0 -7
  342. package/src/elements/HawaSelect.tsx +0 -209
  343. package/src/elements/HawaSettingsRow.tsx +0 -74
  344. package/src/elements/HawaSnackbar.tsx +0 -137
  345. package/src/elements/HawaStats.tsx +0 -68
  346. package/src/elements/HawaStepper.tsx +0 -109
  347. package/src/elements/HawaStoreButtons.tsx +0 -129
  348. package/src/elements/HawaSwitch.tsx +0 -41
  349. package/src/elements/HawaTable.tsx +0 -587
  350. package/src/elements/HawaTabs.tsx +0 -143
  351. package/src/elements/HawaTextField.tsx +0 -148
  352. package/src/elements/HawaTooltip.tsx +0 -137
  353. package/src/elements/HawaTypography.tsx +0 -9
  354. package/src/elements/Icons.tsx +0 -145
  355. package/src/elements/Input.tsx +0 -25
  356. package/src/elements/InvoiceAccordion.tsx +0 -155
  357. package/src/elements/Label.tsx +0 -26
  358. package/src/elements/Skeleton.tsx +0 -15
  359. package/src/elements/SubsectionList.tsx +0 -77
  360. package/src/elements/TabPanel.tsx +0 -25
  361. package/src/elements/Timeline.tsx +0 -35
  362. package/src/elements/Tooltip.tsx +0 -179
  363. package/src/elements/UsageCard.tsx +0 -45
  364. package/src/elements/UserFeedback.tsx +0 -126
  365. package/src/elements/index.ts +0 -62
  366. package/src/hooks/index.ts +0 -2
  367. package/src/hooks/useBreakpoint.ts +0 -24
  368. package/src/hooks/useDiscloser.ts +0 -21
  369. package/src/hooks/useHover.ts +0 -25
  370. package/src/hooks/useScrollPosition.ts +0 -30
  371. package/src/hooks/useTable.ts +0 -159
  372. package/src/index.ts +0 -4
  373. package/src/layout/AppSidebar.tsx +0 -39
  374. package/src/layout/Banner.tsx +0 -122
  375. package/src/layout/Box.tsx +0 -5
  376. package/src/layout/Footer.tsx +0 -71
  377. package/src/layout/HawaAppLayout.tsx +0 -527
  378. package/src/layout/HawaAppLayoutSimplified.tsx +0 -568
  379. package/src/layout/HawaBottomAppBar.tsx +0 -55
  380. package/src/layout/HawaContainer.tsx +0 -43
  381. package/src/layout/HawaGrid.tsx +0 -15
  382. package/src/layout/HawaSiteLayout.tsx +0 -159
  383. package/src/layout/index.ts +0 -10
  384. package/src/styles.css +0 -3605
  385. package/src/tailwind.css +0 -184
  386. package/src/translations/ar.json +0 -30
  387. package/src/translations/en.json +0 -29
  388. package/src/translations/i18n.js +0 -15
  389. package/src/util.ts +0 -149
  390. package/tailwind.config.js +0 -228
  391. package/tools/build-styles.js +0 -17
  392. package/tsconfig.json +0 -31
@@ -1,341 +0,0 @@
1
- import React, { FC } from "react"
2
- import {
3
- HawaTextField,
4
- HawaLogoButton,
5
- HawaAlert,
6
- HawaCheckbox,
7
- HawaSelect,
8
- } from "../../elements"
9
- import { Controller, FormProvider, useForm } from "react-hook-form"
10
- import { Card, CardContent, CardFooter } from "../../elements/Card"
11
- import { Button } from "../../elements/Button"
12
- import { Icons } from "../../elements/Icons"
13
- import clsx from "clsx"
14
-
15
- type SignUpFormTypes = {
16
- direction?: "rtl" | "ltr"
17
- texts: {
18
- fullNameLabel: string
19
- fullNamePlaceholder: string
20
- fullNameRequiredText: string
21
- emailLabel: string
22
- emailPlaceholder: string
23
- emailRequiredText: string
24
- emailInvalidText: string
25
- usernameLabel: string
26
- usernamePlaceholder: string
27
- usernameRequired: string
28
- passwordLabel: string
29
- passwordPlaceholder: string
30
- passwordRequiredText: string
31
- passwordTooShortText: string
32
- confirmPasswordLabel: string
33
- confirmPasswordPlaceholder: string
34
- subscribeToNewsletter: string
35
- forgotPasswordText: string
36
- termsText: string
37
- iAcceptText: string
38
- termsRequiredText: string
39
- newUserText: string
40
- signUpText: string
41
- signInText: string
42
- existingUserText: string
43
- signUpViaGoogleLabel: string
44
- signUpViaGithubLabel: string
45
- signUpViaTwitterLabel: string
46
- refCode: string
47
- }
48
- showUserSource: any
49
- viaGoogle: boolean
50
- viaGithub: boolean
51
- viaTwitter: boolean
52
- showNewsletterOption: boolean
53
- showRefCode: boolean
54
- showTermsOption: boolean
55
- handleSignUp: (e: any) => void
56
- handleRouteToSignIn: () => void
57
- handleGoogleSignUp: () => void
58
- handleGithubSignUp: () => void
59
- handleTwitterSignUp: () => void
60
- handleRouteToTOS: () => void
61
- showError: any
62
- errorTitle: any
63
- errorText: any
64
- signUpFields: any[]
65
- isLoading?: boolean
66
- }
67
-
68
- export const SignUpForm: FC<SignUpFormTypes> = (props) => {
69
- const methods = useForm()
70
- const {
71
- formState: { errors },
72
- handleSubmit,
73
- control,
74
- } = methods
75
-
76
- return (
77
- <Card dir={props.direction}>
78
- <CardContent headless>
79
- <div>
80
- {props.showError && (
81
- <HawaAlert
82
- title={props.errorTitle}
83
- text={props.errorText}
84
- severity="error"
85
- />
86
- )}
87
- <FormProvider {...methods}>
88
- <form onSubmit={handleSubmit((e) => props.handleSignUp(e))}>
89
- <div>
90
- {props.signUpFields.map((fld, i) => {
91
- if (fld === "fullname") {
92
- return (
93
- <Controller
94
- key={i}
95
- control={control}
96
- name="fullName"
97
- render={({ field }) => (
98
- <HawaTextField
99
- width="full"
100
- type="text"
101
- label={props.texts.fullNameLabel}
102
- placeholder={props.texts.fullNamePlaceholder}
103
- helpertext={errors.fullName?.message}
104
- onChange={field.onChange}
105
- value={field.value ?? ""}
106
- />
107
- )}
108
- rules={{
109
- required: props.texts.fullNameRequiredText,
110
- }}
111
- />
112
- )
113
- }
114
- if (fld === "email") {
115
- return (
116
- <Controller
117
- control={control}
118
- name="email"
119
- render={({ field }) => (
120
- <HawaTextField
121
- width="full"
122
- type="text"
123
- autoComplete="email"
124
- label={props.texts.emailLabel}
125
- helpertext={errors.email?.message}
126
- placeholder={props.texts.emailPlaceholder}
127
- onChange={field.onChange}
128
- value={field.value ?? ""}
129
- />
130
- )}
131
- rules={{
132
- required: props.texts.emailRequiredText,
133
- pattern: {
134
- value:
135
- /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
136
- message: props.texts.emailInvalidText,
137
- },
138
- }}
139
- />
140
- )
141
- }
142
- if (fld === "username") {
143
- return (
144
- <Controller
145
- control={control}
146
- name="username"
147
- render={({ field }) => (
148
- <HawaTextField
149
- width="full"
150
- type="text"
151
- autoComplete="username"
152
- label={props.texts.usernameLabel}
153
- helpertext={errors.username?.message}
154
- placeholder={props.texts.usernamePlaceholder}
155
- onChange={field.onChange}
156
- value={field.value ?? ""}
157
- />
158
- )}
159
- rules={{
160
- required: props.texts.usernameRequired,
161
- }}
162
- />
163
- )
164
- }
165
- })}
166
- </div>
167
- <Controller
168
- control={control}
169
- name="password"
170
- render={({ field }) => (
171
- <HawaTextField
172
- width="full"
173
- type="password"
174
- autoComplete="new-password"
175
- // defaultValue={field.value ?? ""}
176
- label={props.texts.passwordLabel}
177
- placeholder={props.texts.passwordPlaceholder}
178
- helpertext={errors.password?.message}
179
- onChange={field.onChange}
180
- value={field.value ?? ""}
181
- />
182
- )}
183
- rules={{ required: props.texts.passwordRequiredText }}
184
- />
185
- <Controller
186
- control={control}
187
- name="confirm_password"
188
- render={({ field }) => (
189
- <HawaTextField
190
- width="full"
191
- type="password"
192
- autoComplete="new-password"
193
- // defaultValue={field.value ?? ""}
194
- label={props.texts.confirmPasswordLabel}
195
- placeholder={props.texts.confirmPasswordPlaceholder}
196
- helpertext={errors.confirm_password?.message}
197
- onChange={field.onChange}
198
- value={field.value ?? ""}
199
- />
200
- )}
201
- rules={{ required: props.texts.passwordRequiredText }}
202
- />
203
- {props.showRefCode && (
204
- <Controller
205
- control={control}
206
- name="refCode"
207
- render={({ field }) => (
208
- <HawaTextField
209
- width="full"
210
- type="text"
211
- defaultValue={field.value ?? ""}
212
- label={props.texts.refCode}
213
- placeholder={props.texts.passwordPlaceholder}
214
- helpertext={errors.password?.message}
215
- value={field.value ?? ""}
216
- onChange={field.onChange}
217
- />
218
- )}
219
- />
220
- )}
221
- {props.showUserSource && (
222
- <div>
223
- <Controller
224
- control={control}
225
- name="reference"
226
- render={({ field }) => (
227
- <HawaSelect
228
- label="How did you learn about us?"
229
- isCreatable={false}
230
- isMulti={false ?? false}
231
- isSearchable={false}
232
- isClearable={false ?? false}
233
- options={[
234
- { value: "friend", label: "From a friend" },
235
- { value: "ad", label: "Advertisement" },
236
- { value: "other", label: "Other" },
237
- ]}
238
- onChange={(e: any) => {
239
- field.onChange(e.value)
240
- }}
241
- />
242
- )}
243
- />
244
- </div>
245
- )}
246
- {props.showTermsOption && (
247
- <Controller
248
- control={control}
249
- name="terms_accepted"
250
- render={({ field }) => (
251
- <HawaCheckbox
252
- id="terms_accepted"
253
- helperText={errors.terms_accepted?.message}
254
- onChange={(e) => field.onChange(e)}
255
- label={
256
- <span>
257
- {props.texts.iAcceptText}{" "}
258
- <a
259
- onClick={props.handleRouteToTOS}
260
- className="clickable-link"
261
- >
262
- {props.texts.termsText}
263
- </a>
264
- </span>
265
- }
266
- />
267
- )}
268
- rules={{ required: props.texts.termsRequiredText }}
269
- />
270
- )}
271
- {props.showNewsletterOption && (
272
- <Controller
273
- control={control}
274
- name="newsletter_accepted"
275
- render={({ field }) => (
276
- <HawaCheckbox
277
- id="newsletter_accepted"
278
- label={props.texts.subscribeToNewsletter}
279
- onChange={field.onChange}
280
- />
281
- )}
282
- />
283
- )}
284
-
285
- <Button className="w-full" isLoading={props.isLoading}>
286
- {props.texts.signUpText}
287
- </Button>
288
- </form>
289
- </FormProvider>
290
- <div className="flex flex-row items-center justify-center gap-1 p-3 text-center text-sm font-semibold dark:text-white">
291
- <span>{props.texts.existingUserText}</span>
292
- <span
293
- onClick={props.handleRouteToSignIn}
294
- className="clickable-link"
295
- >
296
- {props.texts.signInText}
297
- </span>
298
- </div>
299
- </div>
300
- </CardContent>
301
-
302
- {props.viaGithub || props.viaGoogle || props.viaTwitter ? (
303
- <CardFooter className="grid grid-cols-1 gap-2 ">
304
- {props.viaGoogle && (
305
- <Button variant="outline" onClick={props.handleGoogleSignUp}>
306
- <Icons.google
307
- className={clsx(
308
- "h-4 w-4",
309
- props.direction === "rtl" ? "ml-2" : "mr-2"
310
- )}
311
- />
312
- {props.texts.signUpViaGoogleLabel}
313
- </Button>
314
- )}
315
- {props.viaGithub && (
316
- <Button variant="outline" onClick={props.handleGithubSignUp}>
317
- <Icons.gitHub
318
- className={clsx(
319
- "h-4 w-4",
320
- props.direction === "rtl" ? "ml-2" : "mr-2"
321
- )}
322
- />
323
- {props.texts.signUpViaGithubLabel}
324
- </Button>
325
- )}
326
- {props.viaTwitter && (
327
- <Button variant="outline" onClick={props.handleTwitterSignUp}>
328
- <Icons.twitter
329
- className={clsx(
330
- "h-4 w-4",
331
- props.direction === "rtl" ? "ml-2" : "mr-2"
332
- )}
333
- />
334
- {props.texts.signUpViaTwitterLabel}
335
- </Button>
336
- )}
337
- </CardFooter>
338
- ) : null}
339
- </Card>
340
- )
341
- }
@@ -1,8 +0,0 @@
1
- export * from "./AppLanding"
2
- export * from "./SignInPhone"
3
- export * from "./SignInForm"
4
- export * from "./SignInBlock"
5
- export * from "./SignUpForm"
6
- export * from "./NewPasswordForm"
7
- export * from "./ResetPasswordForm"
8
- export * from "./CodeConfirmation"
@@ -1,47 +0,0 @@
1
- import React, { FC } from "react"
2
- import { Card, CardContent, CardFooter } from "../../elements/Card"
3
- import { Button } from "../../elements/Button"
4
-
5
- type TEmptyState = {
6
- variant?: "outlined" | "contained" | "neobrutalism"
7
- onActionClick: () => void
8
- texts: {
9
- youreCaughtUp?: string
10
- actionText?: string
11
- }
12
- }
13
-
14
- export const EmptyState: FC<TEmptyState> = ({
15
- variant = "contained",
16
- texts,
17
- onActionClick,
18
- }) => {
19
- return (
20
- <Card>
21
- <CardContent headless>
22
- <div className="flex flex-col items-center justify-center text-center ">
23
- <div className="flex h-10 w-10 flex-col items-center justify-center rounded-3xl bg-primary text-6xl font-bold text-primary-foreground">
24
- <svg
25
- stroke="currentColor"
26
- fill="currentColor"
27
- stroke-width="0"
28
- viewBox="0 0 512 512"
29
- height="0.35em"
30
- width="0.35em"
31
- >
32
- <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path>
33
- </svg>
34
- </div>
35
- <div className="m-2 text-xl font-bold">
36
- {texts?.youreCaughtUp ?? "You're all caught up"}
37
- </div>
38
- </div>
39
- </CardContent>
40
- <CardFooter>
41
- <Button className="w-full" onClick={() => onActionClick()}>
42
- {texts?.actionText ?? "Go Home"}
43
- </Button>
44
- </CardFooter>
45
- </Card>
46
- )
47
- }
@@ -1,47 +0,0 @@
1
- import React, { FC } from "react"
2
- import { Input } from "../../elements/Input"
3
- import { Button } from "../../elements/Button"
4
- import {
5
- Card,
6
- CardContent,
7
- CardDescription,
8
- CardHeader,
9
- CardTitle,
10
- } from "../../elements/Card"
11
-
12
- type TLeadGenerator = {
13
- variant?: "outlined" | "contained" | "neobrutalism"
14
- texts: {
15
- title: string
16
- subtitle: string
17
- submit: string
18
- }
19
- handleNewsletterSub: (e: string) => void
20
- }
21
-
22
- export const LeadGenerator: FC<TLeadGenerator> = ({
23
- variant = "contained",
24
- texts,
25
- handleNewsletterSub,
26
- }) => {
27
- return (
28
- <Card>
29
- <CardHeader>
30
- <CardTitle>{texts?.title}</CardTitle>
31
- <CardDescription>{texts?.subtitle}</CardDescription>
32
- </CardHeader>
33
- <CardContent>
34
- <form
35
- className="flex flex-row gap-2"
36
- onSubmit={(e) => {
37
- e.preventDefault()
38
- handleNewsletterSub(e.target[0].value)
39
- }}
40
- >
41
- <Input type="email" name="email" placeholder="example@sikka.io" />
42
- <Button>{texts?.submit ?? "Submit"}</Button>
43
- </form>
44
- </CardContent>
45
- </Card>
46
- )
47
- }
@@ -1,43 +0,0 @@
1
- import React, { FC } from "react"
2
- import { Card, CardContent } from "../../elements/Card"
3
-
4
- type TNoPermission = {
5
- variant?: "outlined" | "contained" | "neobrutalism"
6
- texts?: {
7
- title: string
8
- subtitle: string
9
- }
10
- }
11
-
12
- export const NoPermission: FC<TNoPermission> = ({
13
- variant = "contained",
14
- texts,
15
- }) => {
16
- return (
17
- <Card>
18
- <CardContent headless>
19
- <div className="flex flex-col items-center justify-center text-center">
20
- <div className="flex h-10 w-10 flex-col items-center justify-center rounded-3xl bg-primary text-6xl font-bold text-primary-foreground">
21
- <svg
22
- stroke="currentColor"
23
- fill="currentColor"
24
- stroke-width="0"
25
- viewBox="0 0 448 512"
26
- height="0.35em"
27
- width="0.35em"
28
- >
29
- <path d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"></path>
30
- </svg>{" "}
31
- </div>
32
- <div className="m-2 text-xl font-bold">
33
- {texts?.title ?? "You don't have permission"}
34
- </div>
35
- <div>
36
- {texts?.subtitle ??
37
- "If you think this is a problem please contact your administrator or our customer support"}
38
- </div>
39
- </div>
40
- </CardContent>
41
- </Card>
42
- )
43
- }
@@ -1,39 +0,0 @@
1
- import React, { FC } from "react"
2
- import { Card, CardContent } from "../../elements/Card"
3
- import { Button } from "../../elements/Button"
4
-
5
- type NotFoundTypes = {
6
- variant?: "outlined" | "contained" | "neobrutalism"
7
- texts?: {
8
- pageNotFound?: string
9
- ifLost?: string
10
- home?: string
11
- }
12
- }
13
-
14
- export const NotFound: FC<NotFoundTypes> = ({
15
- variant = "contained",
16
- texts,
17
- }) => {
18
- return (
19
- <Card>
20
- <CardContent headless>
21
- <div className="flex flex-col items-center dark:text-white">
22
- <div className="text-center text-6xl font-bold ">404</div>
23
- <div className="m-2 text-center text-xl font-bold ">
24
- {texts?.pageNotFound ?? "Page Not Found"}
25
- </div>
26
- <div className="mb-4 text-center">
27
- {texts?.ifLost ?? (
28
- <>
29
- If you're lost please contact us{" "}
30
- <span className="clickable-link">help@sikka.io</span>
31
- </>
32
- )}
33
- </div>
34
- <Button className="w-full">{texts?.home ?? "Home"}</Button>
35
- </div>
36
- </CardContent>
37
- </Card>
38
- )
39
- }
@@ -1,47 +0,0 @@
1
- import React, { FC } from "react"
2
- import { Card, CardContent } from "../../elements/Card"
3
-
4
- type TEmptyState = {
5
- variant?: "outlined" | "contained" | "neobrutalism"
6
- }
7
-
8
- export const Testimonial: FC<TEmptyState> = (props) => {
9
- return (
10
- <Card>
11
- <CardContent headless>
12
- <div>
13
- <p className="mb-4 max-w-sm">
14
- The team at Sikka Software is simply amazing. The tech is easy to
15
- follow, easy to work with, and infinitely flexible. The solution
16
- opportunities created by Tines are endless.
17
- </p>
18
- </div>
19
- <div className="flex flex-row gap-4">
20
- <svg width="48" height="48" viewBox="0 0 48 48" fill="none">
21
- <rect width="48" height="48" rx="24" fill="#45BE8B"></rect>
22
- <path
23
- d="M14.1412 22.4427L17.5803 16.5199C17.7671 16.1981 18.1112 16 18.4834 16H20.8581C21.653 16 22.1565 16.8528 21.7725 17.5488L19.3042 22.0225C19.2202 22.1747 19.1762 22.3458 19.1762 22.5196C19.1762 23.0879 19.6369 23.5486 20.2052 23.5486H21.5827C22.1594 23.5486 22.627 24.0162 22.627 24.5929V31.347C22.627 31.9237 22.1594 32.3913 21.5827 32.3913H15.0443C14.4676 32.3913 14 31.9237 14 31.347V22.9671C14 22.7829 14.0487 22.602 14.1412 22.4427Z"
24
- fill="#FFFFFF"
25
- ></path>
26
- <path
27
- d="M25.356 22.4427L28.7951 16.5199C28.982 16.1981 29.326 16 29.6982 16H32.0729C32.8679 16 33.3713 16.8528 32.9873 17.5488L30.5191 22.0225C30.4351 22.1747 30.391 22.3458 30.391 22.5196C30.391 23.0879 30.8518 23.5486 31.4201 23.5486H32.7975C33.3743 23.5486 33.8418 24.0162 33.8418 24.5929V31.347C33.8418 31.9237 33.3743 32.3913 32.7975 32.3913H26.2592C25.6824 32.3913 25.2148 31.9237 25.2148 31.347V22.9671C25.2148 22.7829 25.2636 22.602 25.356 22.4427Z"
28
- fill="#FFFFFF"
29
- ></path>
30
- </svg>
31
- <span className="border border-l "></span>{" "}
32
- <div>
33
- <strong>Brent Lassi</strong>
34
- <div> Chief Information Security Officer</div>
35
- </div>
36
- {/* <div>
37
- <img
38
- src="https://www.datocms-assets.com/55802/1636449069-bluecore-logo-dark.svg"
39
- title="Logo of Brent Lassi"
40
- alt="Logo of Brent Lassi"
41
- />
42
- </div> */}
43
- </div>
44
- </CardContent>
45
- </Card>
46
- )
47
- }
@@ -1,5 +0,0 @@
1
- export * from "./NotFound"
2
- export * from "./EmptyState"
3
- export * from "./Testimonial"
4
- export * from "./LeadGenerator"
5
- export * from "./NoPermission"
@@ -1,79 +0,0 @@
1
- import React, { useState, FC } from "react"
2
- import { Card, CardContent } from "../../elements/Card"
3
- import { Button } from "../../elements/Button"
4
- import { Input } from "../../elements/Input"
5
-
6
- type ChargeWalletTypes = {
7
- currency: any
8
- handleChargeWallet: any
9
- texts: {
10
- amountLabel: string
11
- amountRequired: string
12
- chargeWallet: string
13
- }
14
- }
15
- export const ChargeWalletForm: FC<ChargeWalletTypes> = (props) => {
16
- const [walletAmount, setWalletAmount] = useState(0)
17
-
18
- return (
19
- <Card>
20
- <CardContent headless>
21
- <div className="p-4 text-center">
22
- <div className=" text-5xl font-extrabold">
23
- {Number(walletAmount).toLocaleString("en") || "0"}
24
- </div>
25
- <div className="text-sm font-normal">{props.currency || "SAR"}</div>
26
- </div>
27
- <div className="mb-2 flex w-full flex-col gap-4 text-center">
28
- <div className="mb-2 flex w-full flex-row gap-4 text-center">
29
- <Button variant="outline" className="h-full w-full">
30
- 10 SAR
31
- </Button>
32
- <Button variant="outline" className="h-full w-full">
33
- 50 SAR
34
- </Button>
35
- <Button variant="outline" className="h-full w-full">
36
- 100 SAR
37
- </Button>
38
- </div>
39
-
40
- <Input placeholder="Custom Amount" type="number" name="amount" />
41
- </div>
42
- {/* <FormProvider {...methods}>
43
- <form onSubmit={handleSubmit(props.handleChargeWallet)}>
44
- <Controller
45
- control={control}
46
- name="amount"
47
- render={({ field }) => (
48
- <HawaTextField
49
- width="full"
50
- placeholder={props.texts.amountLabel}
51
- type="number"
52
- {...field}
53
- value={field.value ?? ""}
54
- inputProps={{
55
- inputMode: "numeric",
56
- min: "1",
57
- max: "9999999",
58
- step: "0.01",
59
- }}
60
- onChange={(e: any) => {
61
- field.onChange(parseFloat(e.target.value))
62
- setWalletAmount(e.target.value)
63
- }}
64
- helpertext={errors.amount?.message}
65
- />
66
- )}
67
- rules={{
68
- required: props.texts.amountRequired,
69
- }}
70
- />
71
-
72
-
73
- </form>
74
- </FormProvider> */}
75
- <Button className="mt-6 w-full">{props.texts.chargeWallet}</Button>
76
- </CardContent>
77
- </Card>
78
- )
79
- }