@sikka/hawa 0.1.6 → 0.1.7-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 (389) 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 -3580
  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 -10
  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/SubsectionList.d.ts +0 -19
  105. package/es/elements/TabPanel.d.ts +0 -8
  106. package/es/elements/Timeline.d.ts +0 -13
  107. package/es/elements/Tooltip.d.ts +0 -12
  108. package/es/elements/UsageCard.d.ts +0 -9
  109. package/es/elements/UserFeedback.d.ts +0 -14
  110. package/es/elements/index.d.ts +0 -57
  111. package/es/hooks/index.d.ts +0 -2
  112. package/es/hooks/useBreakpoint.d.ts +0 -2
  113. package/es/hooks/useDiscloser.d.ts +0 -7
  114. package/es/hooks/useHover.d.ts +0 -3
  115. package/es/hooks/useScrollPosition.d.ts +0 -2
  116. package/es/hooks/useTable.d.ts +0 -5
  117. package/es/index.d.ts +0 -4
  118. package/es/index.es.js +0 -16
  119. package/es/layout/AppSidebar.d.ts +0 -11
  120. package/es/layout/Banner.d.ts +0 -14
  121. package/es/layout/Box.d.ts +0 -2
  122. package/es/layout/Footer.d.ts +0 -20
  123. package/es/layout/HawaAppLayout.d.ts +0 -31
  124. package/es/layout/HawaAppLayoutSimplified.d.ts +0 -33
  125. package/es/layout/HawaBottomAppBar.d.ts +0 -8
  126. package/es/layout/HawaContainer.d.ts +0 -10
  127. package/es/layout/HawaGrid.d.ts +0 -6
  128. package/es/layout/HawaSiteLayout.d.ts +0 -23
  129. package/es/layout/index.d.ts +0 -10
  130. package/es/stories/ElementsStories/Breadcrumb.stories.d.ts +0 -6
  131. package/es/stories/ManualStories/BlocksIntroduction.stories.d.ts +0 -21
  132. package/es/stories/ManualStories/Customization.stories.d.ts +0 -21
  133. package/es/stories/ManualStories/ElementsIntroduction.stories.d.ts +0 -21
  134. package/es/stories/ManualStories/Installation.stories.d.ts +0 -21
  135. package/es/stories/ManualStories/LayoutIntroduction.stories.d.ts +0 -21
  136. package/es/stories/ManualStories/Overview.stories.d.ts +0 -22
  137. package/es/stories/ManualStories/Usage.stories.d.ts +0 -21
  138. package/es/util.d.ts +0 -10
  139. package/lib/blocks/Account/HawaApiBox.d.ts +0 -8
  140. package/lib/blocks/Account/UserProfileForm.d.ts +0 -8
  141. package/lib/blocks/Account/UserSettingsForm.d.ts +0 -9
  142. package/lib/blocks/Account/index.d.ts +0 -2
  143. package/lib/blocks/AuthForms/AppLanding.d.ts +0 -15
  144. package/lib/blocks/AuthForms/CodeConfirmation.d.ts +0 -22
  145. package/lib/blocks/AuthForms/NewPasswordForm.d.ts +0 -18
  146. package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +0 -18
  147. package/lib/blocks/AuthForms/SignInBlock.d.ts +0 -2
  148. package/lib/blocks/AuthForms/SignInForm.d.ts +0 -51
  149. package/lib/blocks/AuthForms/SignInPhone.d.ts +0 -13
  150. package/lib/blocks/AuthForms/SignUpForm.d.ts +0 -55
  151. package/lib/blocks/AuthForms/index.d.ts +0 -8
  152. package/lib/blocks/Misc/EmptyState.d.ts +0 -11
  153. package/lib/blocks/Misc/LeadGenerator.d.ts +0 -12
  154. package/lib/blocks/Misc/NoPermission.d.ts +0 -10
  155. package/lib/blocks/Misc/NotFound.d.ts +0 -11
  156. package/lib/blocks/Misc/Testimonial.d.ts +0 -6
  157. package/lib/blocks/Misc/index.d.ts +0 -5
  158. package/lib/blocks/Payment/ChargeWalletForm.d.ts +0 -12
  159. package/lib/blocks/Payment/CheckoutForm.d.ts +0 -27
  160. package/lib/blocks/Payment/Confirmation.d.ts +0 -38
  161. package/lib/blocks/Payment/CreditCardForm.d.ts +0 -7
  162. package/lib/blocks/Payment/PayWithWallet.d.ts +0 -8
  163. package/lib/blocks/Payment/SelectPayment.d.ts +0 -26
  164. package/lib/blocks/Payment/index.d.ts +0 -6
  165. package/lib/blocks/Pricing/ComparingPlans.d.ts +0 -39
  166. package/lib/blocks/Pricing/HorizontalPricing.d.ts +0 -47
  167. package/lib/blocks/Pricing/PricingPlans.d.ts +0 -47
  168. package/lib/blocks/Pricing/index.d.ts +0 -3
  169. package/lib/blocks/Referral/ReferralAccount.d.ts +0 -7
  170. package/lib/blocks/Referral/ReferralSettlement.d.ts +0 -8
  171. package/lib/blocks/Referral/ReferralStats.d.ts +0 -8
  172. package/lib/blocks/Referral/index.d.ts +0 -3
  173. package/lib/blocks/index.d.ts +0 -6
  174. package/lib/countries.d.ts +0 -2
  175. package/lib/elements/ArrowCarousel.d.ts +0 -13
  176. package/lib/elements/AutoCompleteField.d.ts +0 -8
  177. package/lib/elements/BackToTop.d.ts +0 -10
  178. package/lib/elements/Breadcrumb.d.ts +0 -12
  179. package/lib/elements/Button.d.ts +0 -12
  180. package/lib/elements/Card.d.ts +0 -10
  181. package/lib/elements/DragDropImages.d.ts +0 -28
  182. package/lib/elements/DraggableCard.d.ts +0 -6
  183. package/lib/elements/FloatingComment.d.ts +0 -32
  184. package/lib/elements/FloatingCommentExec.d.ts +0 -4
  185. package/lib/elements/FloatingCommentSlate.d.ts +0 -19
  186. package/lib/elements/HawaAccordion.d.ts +0 -11
  187. package/lib/elements/HawaAdCard.d.ts +0 -10
  188. package/lib/elements/HawaAlert.d.ts +0 -23
  189. package/lib/elements/HawaButton.d.ts +0 -21
  190. package/lib/elements/HawaCardInput.d.ts +0 -25
  191. package/lib/elements/HawaCheckbox.d.ts +0 -11
  192. package/lib/elements/HawaChip.d.ts +0 -17
  193. package/lib/elements/HawaCodeBlock.d.ts +0 -15
  194. package/lib/elements/HawaColorPicker.d.ts +0 -9
  195. package/lib/elements/HawaCopyrights.d.ts +0 -15
  196. package/lib/elements/HawaDatepicker.d.ts +0 -4
  197. package/lib/elements/HawaDropdownMenu.d.ts +0 -7
  198. package/lib/elements/HawaIconCount.d.ts +0 -9
  199. package/lib/elements/HawaInlineCode.d.ts +0 -6
  200. package/lib/elements/HawaItemCard.d.ts +0 -32
  201. package/lib/elements/HawaLandingCard.d.ts +0 -18
  202. package/lib/elements/HawaLoading.d.ts +0 -8
  203. package/lib/elements/HawaLogoButton.d.ts +0 -10
  204. package/lib/elements/HawaMenu.d.ts +0 -24
  205. package/lib/elements/HawaModal.d.ts +0 -21
  206. package/lib/elements/HawaPanelTabs.d.ts +0 -13
  207. package/lib/elements/HawaPhoneInput.d.ts +0 -11
  208. package/lib/elements/HawaPinInput.d.ts +0 -10
  209. package/lib/elements/HawaPricingCard.d.ts +0 -21
  210. package/lib/elements/HawaRadio.d.ts +0 -16
  211. package/lib/elements/HawaRange.d.ts +0 -12
  212. package/lib/elements/HawaSearchBar.d.ts +0 -4
  213. package/lib/elements/HawaSelect.d.ts +0 -23
  214. package/lib/elements/HawaSettingsRow.d.ts +0 -44
  215. package/lib/elements/HawaSnackbar.d.ts +0 -19
  216. package/lib/elements/HawaStats.d.ts +0 -14
  217. package/lib/elements/HawaStepper.d.ts +0 -8
  218. package/lib/elements/HawaStoreButtons.d.ts +0 -7
  219. package/lib/elements/HawaSwitch.d.ts +0 -7
  220. package/lib/elements/HawaTable.d.ts +0 -45
  221. package/lib/elements/HawaTabs.d.ts +0 -13
  222. package/lib/elements/HawaTextField.d.ts +0 -31
  223. package/lib/elements/HawaTooltip.d.ts +0 -12
  224. package/lib/elements/HawaTypography.d.ts +0 -7
  225. package/lib/elements/Icons.d.ts +0 -19
  226. package/lib/elements/Input.d.ts +0 -5
  227. package/lib/elements/InvoiceAccordion.d.ts +0 -31
  228. package/lib/elements/Label.d.ts +0 -5
  229. package/lib/elements/SubsectionList.d.ts +0 -19
  230. package/lib/elements/TabPanel.d.ts +0 -8
  231. package/lib/elements/Timeline.d.ts +0 -13
  232. package/lib/elements/Tooltip.d.ts +0 -12
  233. package/lib/elements/UsageCard.d.ts +0 -9
  234. package/lib/elements/UserFeedback.d.ts +0 -14
  235. package/lib/elements/index.d.ts +0 -57
  236. package/lib/hooks/index.d.ts +0 -2
  237. package/lib/hooks/useBreakpoint.d.ts +0 -2
  238. package/lib/hooks/useDiscloser.d.ts +0 -7
  239. package/lib/hooks/useHover.d.ts +0 -3
  240. package/lib/hooks/useScrollPosition.d.ts +0 -2
  241. package/lib/hooks/useTable.d.ts +0 -5
  242. package/lib/index.d.ts +0 -4
  243. package/lib/index.js +0 -16
  244. package/lib/layout/AppSidebar.d.ts +0 -11
  245. package/lib/layout/Banner.d.ts +0 -14
  246. package/lib/layout/Box.d.ts +0 -2
  247. package/lib/layout/Footer.d.ts +0 -20
  248. package/lib/layout/HawaAppLayout.d.ts +0 -31
  249. package/lib/layout/HawaAppLayoutSimplified.d.ts +0 -33
  250. package/lib/layout/HawaBottomAppBar.d.ts +0 -8
  251. package/lib/layout/HawaContainer.d.ts +0 -10
  252. package/lib/layout/HawaGrid.d.ts +0 -6
  253. package/lib/layout/HawaSiteLayout.d.ts +0 -23
  254. package/lib/layout/index.d.ts +0 -10
  255. package/lib/stories/ElementsStories/Breadcrumb.stories.d.ts +0 -6
  256. package/lib/stories/ManualStories/BlocksIntroduction.stories.d.ts +0 -21
  257. package/lib/stories/ManualStories/Customization.stories.d.ts +0 -21
  258. package/lib/stories/ManualStories/ElementsIntroduction.stories.d.ts +0 -21
  259. package/lib/stories/ManualStories/Installation.stories.d.ts +0 -21
  260. package/lib/stories/ManualStories/LayoutIntroduction.stories.d.ts +0 -21
  261. package/lib/stories/ManualStories/Overview.stories.d.ts +0 -22
  262. package/lib/stories/ManualStories/Usage.stories.d.ts +0 -21
  263. package/lib/util.d.ts +0 -10
  264. package/postcss.config.js +0 -6
  265. package/rollup.config.js +0 -61
  266. package/src/blocks/Account/HawaApiBox.tsx +0 -12
  267. package/src/blocks/Account/UserProfileForm.tsx +0 -117
  268. package/src/blocks/Account/UserSettingsForm.tsx +0 -20
  269. package/src/blocks/Account/index.ts +0 -2
  270. package/src/blocks/AuthForms/AppLanding.tsx +0 -88
  271. package/src/blocks/AuthForms/CodeConfirmation.tsx +0 -72
  272. package/src/blocks/AuthForms/NewPasswordForm.tsx +0 -116
  273. package/src/blocks/AuthForms/ResetPasswordForm.tsx +0 -97
  274. package/src/blocks/AuthForms/SignInBlock.tsx +0 -60
  275. package/src/blocks/AuthForms/SignInForm.tsx +0 -228
  276. package/src/blocks/AuthForms/SignInPhone.tsx +0 -57
  277. package/src/blocks/AuthForms/SignUpForm.tsx +0 -341
  278. package/src/blocks/AuthForms/index.ts +0 -8
  279. package/src/blocks/Misc/EmptyState.tsx +0 -47
  280. package/src/blocks/Misc/LeadGenerator.tsx +0 -47
  281. package/src/blocks/Misc/NoPermission.tsx +0 -43
  282. package/src/blocks/Misc/NotFound.tsx +0 -39
  283. package/src/blocks/Misc/Testimonial.tsx +0 -47
  284. package/src/blocks/Misc/index.ts +0 -5
  285. package/src/blocks/Payment/ChargeWalletForm.tsx +0 -79
  286. package/src/blocks/Payment/CheckoutForm.tsx +0 -265
  287. package/src/blocks/Payment/Confirmation.tsx +0 -96
  288. package/src/blocks/Payment/CreditCardForm.tsx +0 -107
  289. package/src/blocks/Payment/PayWithWallet.tsx +0 -24
  290. package/src/blocks/Payment/SelectPayment.tsx +0 -88
  291. package/src/blocks/Payment/index.ts +0 -6
  292. package/src/blocks/Pricing/ComparingPlans.tsx +0 -152
  293. package/src/blocks/Pricing/HorizontalPricing.tsx +0 -148
  294. package/src/blocks/Pricing/PricingPlans.tsx +0 -81
  295. package/src/blocks/Pricing/index.ts +0 -3
  296. package/src/blocks/Referral/ReferralAccount.tsx +0 -68
  297. package/src/blocks/Referral/ReferralSettlement.tsx +0 -149
  298. package/src/blocks/Referral/ReferralStats.tsx +0 -87
  299. package/src/blocks/Referral/index.ts +0 -3
  300. package/src/blocks/index.ts +0 -6
  301. package/src/countries.ts +0 -1940
  302. package/src/elements/ArrowCarousel.tsx +0 -94
  303. package/src/elements/AutoCompleteField.tsx +0 -37
  304. package/src/elements/BackToTop.tsx +0 -129
  305. package/src/elements/Breadcrumb.tsx +0 -41
  306. package/src/elements/Button.tsx +0 -80
  307. package/src/elements/Card.tsx +0 -87
  308. package/src/elements/DragDropImages.tsx +0 -251
  309. package/src/elements/DraggableCard.tsx +0 -27
  310. package/src/elements/FloatingComment.tsx +0 -1107
  311. package/src/elements/FloatingCommentExec.tsx +0 -106
  312. package/src/elements/FloatingCommentSlate.tsx +0 -149
  313. package/src/elements/HawaAccordion.tsx +0 -57
  314. package/src/elements/HawaAdCard.tsx +0 -49
  315. package/src/elements/HawaAlert.tsx +0 -202
  316. package/src/elements/HawaButton.tsx +0 -241
  317. package/src/elements/HawaCardInput.tsx +0 -318
  318. package/src/elements/HawaCheckbox.tsx +0 -54
  319. package/src/elements/HawaChip.tsx +0 -59
  320. package/src/elements/HawaCodeBlock.tsx +0 -159
  321. package/src/elements/HawaColorPicker.tsx +0 -40
  322. package/src/elements/HawaCopyrights.tsx +0 -30
  323. package/src/elements/HawaDatepicker.tsx +0 -23
  324. package/src/elements/HawaDropdownMenu.tsx +0 -267
  325. package/src/elements/HawaIconCount.tsx +0 -17
  326. package/src/elements/HawaInlineCode.tsx +0 -9
  327. package/src/elements/HawaItemCard.tsx +0 -157
  328. package/src/elements/HawaLandingCard.tsx +0 -68
  329. package/src/elements/HawaLoading.tsx +0 -80
  330. package/src/elements/HawaLogoButton.tsx +0 -154
  331. package/src/elements/HawaMenu.tsx +0 -226
  332. package/src/elements/HawaModal.tsx +0 -89
  333. package/src/elements/HawaPanelTabs.tsx +0 -57
  334. package/src/elements/HawaPhoneInput.tsx +0 -171
  335. package/src/elements/HawaPinInput.tsx +0 -78
  336. package/src/elements/HawaPricingCard.tsx +0 -105
  337. package/src/elements/HawaRadio.tsx +0 -180
  338. package/src/elements/HawaRange.tsx +0 -49
  339. package/src/elements/HawaSearchBar.tsx +0 -7
  340. package/src/elements/HawaSelect.tsx +0 -209
  341. package/src/elements/HawaSettingsRow.tsx +0 -74
  342. package/src/elements/HawaSnackbar.tsx +0 -137
  343. package/src/elements/HawaStats.tsx +0 -72
  344. package/src/elements/HawaStepper.tsx +0 -109
  345. package/src/elements/HawaStoreButtons.tsx +0 -129
  346. package/src/elements/HawaSwitch.tsx +0 -41
  347. package/src/elements/HawaTable.tsx +0 -587
  348. package/src/elements/HawaTabs.tsx +0 -143
  349. package/src/elements/HawaTextField.tsx +0 -148
  350. package/src/elements/HawaTooltip.tsx +0 -137
  351. package/src/elements/HawaTypography.tsx +0 -9
  352. package/src/elements/Icons.tsx +0 -145
  353. package/src/elements/Input.tsx +0 -25
  354. package/src/elements/InvoiceAccordion.tsx +0 -155
  355. package/src/elements/Label.tsx +0 -26
  356. package/src/elements/SubsectionList.tsx +0 -77
  357. package/src/elements/TabPanel.tsx +0 -25
  358. package/src/elements/Timeline.tsx +0 -35
  359. package/src/elements/Tooltip.tsx +0 -179
  360. package/src/elements/UsageCard.tsx +0 -45
  361. package/src/elements/UserFeedback.tsx +0 -126
  362. package/src/elements/index.ts +0 -62
  363. package/src/hooks/index.ts +0 -2
  364. package/src/hooks/useBreakpoint.ts +0 -24
  365. package/src/hooks/useDiscloser.ts +0 -21
  366. package/src/hooks/useHover.ts +0 -25
  367. package/src/hooks/useScrollPosition.ts +0 -30
  368. package/src/hooks/useTable.ts +0 -159
  369. package/src/index.ts +0 -4
  370. package/src/layout/AppSidebar.tsx +0 -39
  371. package/src/layout/Banner.tsx +0 -122
  372. package/src/layout/Box.tsx +0 -5
  373. package/src/layout/Footer.tsx +0 -71
  374. package/src/layout/HawaAppLayout.tsx +0 -527
  375. package/src/layout/HawaAppLayoutSimplified.tsx +0 -568
  376. package/src/layout/HawaBottomAppBar.tsx +0 -55
  377. package/src/layout/HawaContainer.tsx +0 -43
  378. package/src/layout/HawaGrid.tsx +0 -15
  379. package/src/layout/HawaSiteLayout.tsx +0 -159
  380. package/src/layout/index.ts +0 -10
  381. package/src/styles.css +0 -3580
  382. package/src/tailwind.css +0 -184
  383. package/src/translations/ar.json +0 -30
  384. package/src/translations/en.json +0 -29
  385. package/src/translations/i18n.js +0 -15
  386. package/src/util.ts +0 -149
  387. package/tailwind.config.js +0 -227
  388. package/tools/build-styles.js +0 -17
  389. package/tsconfig.json +0 -31
@@ -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,12 +0,0 @@
1
- import { FC } from "react";
2
- type ChargeWalletTypes = {
3
- currency: any;
4
- handleChargeWallet: any;
5
- texts: {
6
- amountLabel: string;
7
- amountRequired: string;
8
- chargeWallet: string;
9
- };
10
- };
11
- export declare const ChargeWalletForm: FC<ChargeWalletTypes>;
12
- export {};
@@ -1,27 +0,0 @@
1
- import { FC } from "react";
2
- type CheckoutFormTypes = {
3
- lang: string;
4
- products: any;
5
- total: any;
6
- handlePayNow: any;
7
- countriesList: any;
8
- texts: {
9
- orderDetails: string;
10
- billingAddress: string;
11
- payNow: string;
12
- emailLabel: string;
13
- emailRequiredText: string;
14
- emailInvalidText: string;
15
- firstNameLabel: string;
16
- required: string;
17
- lastNameLabel: string;
18
- streetAddressLabel: string;
19
- buildingNumberLabel: string;
20
- cityLabel: string;
21
- stateLabel: string;
22
- countryLabel: string;
23
- zipCodeLabel: string;
24
- };
25
- };
26
- export declare const CheckoutForm: FC<CheckoutFormTypes>;
27
- export {};
@@ -1,38 +0,0 @@
1
- import { FC } from "react";
2
- type ConfirmationPageTypes = {
3
- texts: {
4
- print: string;
5
- history: string;
6
- homePage: string;
7
- successMessage: string;
8
- orderDetails: string;
9
- fasterPaymentNote: string;
10
- yourOrderNumber: string;
11
- emailLabel: string;
12
- emailRequiredText: string;
13
- emailInvalidText: string;
14
- firstNameLabel: string;
15
- required: string;
16
- lastNameLabel: string;
17
- streetAddressLabel: string;
18
- buildingNumberLabel: string;
19
- cityLabel: string;
20
- stateLabel: string;
21
- countryLabel: string;
22
- zipCodeLabel: string;
23
- refundPolicy: string;
24
- };
25
- products: any;
26
- countriesList: any;
27
- lang: string;
28
- total: string;
29
- userEmail: string;
30
- orderNumber: string;
31
- confirmationTitle: string;
32
- handleHome: any;
33
- handlePrint: any;
34
- handleHistory: any;
35
- handleRefundPolicyLink: any;
36
- };
37
- export declare const ConfirmationPage: FC<ConfirmationPageTypes>;
38
- export {};
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- type CreditCardFormTypes = {
3
- handle: any;
4
- handlePayWithCreditCard: any;
5
- };
6
- export declare const CreditCardForm: FC<CreditCardFormTypes>;
7
- export {};
@@ -1,8 +0,0 @@
1
- import { FC } from "react";
2
- type PayWithWalletTypes = {
3
- walletBalance: any;
4
- currency: any;
5
- handlePayWithWallet: any;
6
- };
7
- export declare const PayWithWallet: FC<PayWithWalletTypes>;
8
- export {};
@@ -1,26 +0,0 @@
1
- import { FC } from "react";
2
- type SelectPaymentTypes = {
3
- viaMada: boolean;
4
- viaWallet: boolean;
5
- viaSTCPay: boolean;
6
- viaPayPal: boolean;
7
- viaApplePay: boolean;
8
- viaCreditCard: boolean;
9
- viaGooglePay: boolean;
10
- madaLabel: string;
11
- stcPayLabel: string;
12
- paypalLabel: string;
13
- walletLabel: string;
14
- applePayLabel: string;
15
- visaMasterLabel: string;
16
- googlePayLabel: string;
17
- handleMada: any;
18
- handleWallet: any;
19
- handleSTCPay: any;
20
- handlePayPal: any;
21
- handleApplePay: any;
22
- handleCreditCard: any;
23
- handleGooglePay: any;
24
- };
25
- export declare const SelectPayment: FC<SelectPaymentTypes>;
26
- export {};
@@ -1,6 +0,0 @@
1
- export * from "./SelectPayment";
2
- export * from "./CreditCardForm";
3
- export * from "./ChargeWalletForm";
4
- export * from "./PayWithWallet";
5
- export * from "./CheckoutForm";
6
- export * from "./Confirmation";
@@ -1,39 +0,0 @@
1
- import { FC } from "react";
2
- type ComparingPlansTypes = {
3
- plans: [
4
- {
5
- direction: "rtl" | "ltr";
6
- features: [{
7
- included: boolean;
8
- text: string;
9
- description?: string;
10
- }];
11
- price: number;
12
- texts: {
13
- title: string;
14
- subtitle: string;
15
- buttonText: string;
16
- cycleText: string;
17
- currencyText: string;
18
- };
19
- size: "small" | "medium" | "large";
20
- }
21
- ];
22
- currencies: [
23
- {
24
- label: string;
25
- value: string;
26
- }
27
- ];
28
- billingCycles: [
29
- {
30
- label: string;
31
- value: string;
32
- }
33
- ];
34
- onCycleChange?: (e: any) => void;
35
- onCurrencyChange?: (e: any) => void;
36
- direction?: "rtl" | "ltr";
37
- };
38
- export declare const ComparingPlans: FC<ComparingPlansTypes>;
39
- export {};
@@ -1,47 +0,0 @@
1
- import { FC } from "react";
2
- type HorizontalPricingTypes = {
3
- plans: [
4
- {
5
- direction: "rtl" | "ltr";
6
- features: [{
7
- included: boolean;
8
- text: string;
9
- }];
10
- price: number;
11
- texts: {
12
- title: string;
13
- subtitle: string;
14
- buttonText: string;
15
- cycleText: string;
16
- currencyText: string;
17
- };
18
- size: "small" | "medium" | "large";
19
- }
20
- ];
21
- currencies: [
22
- {
23
- label: string;
24
- value: string;
25
- }
26
- ];
27
- billingCycles: [
28
- {
29
- label: string;
30
- value: string;
31
- }
32
- ];
33
- onPlanClicked?: (e: any) => void;
34
- currentCycle: {
35
- label: string;
36
- value: string;
37
- };
38
- currentCurrency: {
39
- label: string;
40
- value: string;
41
- };
42
- onCycleChange?: (e: any) => void;
43
- onCurrencyChange?: (e: any) => void;
44
- direction?: "rtl" | "ltr";
45
- };
46
- export declare const HorizontalPricing: FC<HorizontalPricingTypes>;
47
- export {};
@@ -1,47 +0,0 @@
1
- import { FC } from "react";
2
- type PricingPlansTypes = {
3
- plans: [
4
- {
5
- direction: "rtl" | "ltr";
6
- features: [{
7
- included: boolean;
8
- text: string;
9
- }];
10
- price: number;
11
- texts: {
12
- title: string;
13
- subtitle: string;
14
- buttonText: string;
15
- cycleText: string;
16
- currencyText: string;
17
- };
18
- size: "small" | "medium" | "large";
19
- }
20
- ];
21
- currencies: [
22
- {
23
- label: string;
24
- value: string;
25
- }
26
- ];
27
- billingCycles: [
28
- {
29
- label: string;
30
- value: string;
31
- }
32
- ];
33
- onPlanClicked?: (e: any) => void;
34
- currentCycle: {
35
- label: string;
36
- value: string;
37
- };
38
- currentCurrency: {
39
- label: string;
40
- value: string;
41
- };
42
- onCycleChange?: (e: any) => void;
43
- onCurrencyChange?: (e: any) => void;
44
- direction?: "rtl" | "ltr";
45
- };
46
- export declare const PricingPlans: FC<PricingPlansTypes>;
47
- export {};
@@ -1,3 +0,0 @@
1
- export * from "./PricingPlans";
2
- export * from "./ComparingPlans";
3
- export * from "./HorizontalPricing";
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- type ReferralAccount = {
3
- referralLink: string;
4
- referralCode: string;
5
- };
6
- export declare const ReferralAccount: FC<ReferralAccount>;
7
- export {};
@@ -1,8 +0,0 @@
1
- import { FC } from "react";
2
- type TReferralSettlement = {
3
- referralLink: string;
4
- referralCode: string;
5
- withdrawError?: string;
6
- };
7
- export declare const ReferralSettlement: FC<TReferralSettlement>;
8
- export {};
@@ -1,8 +0,0 @@
1
- import { FC } from "react";
2
- type TReferralStats = {
3
- referralLink: string;
4
- referralCode: string;
5
- withdrawError?: string;
6
- };
7
- export declare const ReferralStats: FC<TReferralStats>;
8
- export {};
@@ -1,3 +0,0 @@
1
- export * from "./ReferralAccount";
2
- export * from "./ReferralSettlement";
3
- export * from "./ReferralStats";
@@ -1,6 +0,0 @@
1
- export * from "./Account";
2
- export * from "./AuthForms";
3
- export * from "./Payment";
4
- export * from "./Pricing";
5
- export * from "./Referral";
6
- export * from "./Misc";
@@ -1,2 +0,0 @@
1
- declare let countries: any;
2
- export default countries;
@@ -1,13 +0,0 @@
1
- import { FC } from "react";
2
- type Item = {
3
- label?: string;
4
- icon?: JSX.Element;
5
- };
6
- type ComponentTypes = {
7
- items: Item[];
8
- index?: number;
9
- arrowSize?: number;
10
- labelSize?: "small" | "medium" | "big";
11
- };
12
- export declare const ArrowCarousel: FC<ComponentTypes>;
13
- export {};
@@ -1,8 +0,0 @@
1
- import { FC } from "react";
2
- type TAutoCompleteFieldTypes = {
3
- name: string;
4
- rules: any;
5
- shouldUnregister: boolean;
6
- };
7
- export declare const AutoCompleteField: FC<TAutoCompleteFieldTypes>;
8
- export {};
@@ -1,10 +0,0 @@
1
- import { FC, RefObject } from "react";
2
- type ComponentTypes = {
3
- paddingX?: number;
4
- paddingY?: number;
5
- paddingThreshold?: number;
6
- corner?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
7
- anchor: RefObject<HTMLInputElement>;
8
- };
9
- export declare const BackToTop: FC<ComponentTypes>;
10
- export {};
@@ -1,12 +0,0 @@
1
- import { FC, ReactNode } from "react";
2
- type TBreadcrumb = {
3
- /** The array of crumbs, each one with a label and a href link */
4
- breadcrumbLinks: [{
5
- label: string;
6
- href: string;
7
- }];
8
- /** The separator between each crumb, can be character or React Node. The default is ">" */
9
- separator?: string | ReactNode;
10
- };
11
- declare const HawaBreadcrumb: FC<TBreadcrumb>;
12
- export default HawaBreadcrumb;
@@ -1,12 +0,0 @@
1
- import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const buttonVariants: (props?: {
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
5
- size?: "default" | "sm" | "lg" | "icon";
6
- } & import("class-variance-authority/dist/types").ClassProp) => string;
7
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
- asChild?: boolean;
9
- isLoading?: boolean;
10
- }
11
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
12
- export { Button, buttonVariants };
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
- declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
- declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
5
- declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
6
- declare const CardContent: React.ForwardRefExoticComponent<{
7
- headless?: boolean;
8
- } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
9
- declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
10
- export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
@@ -1,28 +0,0 @@
1
- import React from "react";
2
- type DragDropImagesTypes = {
3
- /** The text label above the component. Consistant with the other form input fields */
4
- label?: string;
5
- files: [File];
6
- setFiles: any;
7
- setDeletedFiles: any;
8
- maxFiles: number;
9
- accept: string;
10
- onAcceptedFiles: any;
11
- showPreview: any;
12
- onDeleteFile: any;
13
- onClearFiles: any;
14
- maxSize: number;
15
- errorMessages: string;
16
- /** The translation object, use this to replace the default text with any translated text you want.*/
17
- texts: {
18
- errorUploading: any;
19
- clickHereToUpload: any;
20
- maxFileSize: any;
21
- tooManyFiles: any;
22
- fileTooLarge: any;
23
- acceptedFileTypes: any;
24
- invalidFileType: any;
25
- };
26
- };
27
- export declare const DragDropImages: React.FunctionComponent<DragDropImagesTypes>;
28
- export {};
@@ -1,6 +0,0 @@
1
- import { ReactElement, FC } from "react";
2
- type DraggableCardTypes = {
3
- children: ReactElement;
4
- };
5
- export declare const DraggableCard: FC<DraggableCardTypes>;
6
- export {};
@@ -1,32 +0,0 @@
1
- import React from "react";
2
- type ComponentTypes = {
3
- rtl?: "enabled" | "disabled" | "auto";
4
- onSubmit?: (content: string, stylings: {
5
- type: keyof typeof stylers;
6
- start: number;
7
- finish: number;
8
- }[]) => void;
9
- };
10
- declare const stylers: {
11
- bold: {
12
- css: string;
13
- content: string;
14
- };
15
- italic: {
16
- id: string;
17
- css: string;
18
- content: string;
19
- };
20
- under: {
21
- id: string;
22
- css: string;
23
- content: string;
24
- };
25
- strike: {
26
- id: string;
27
- css: string;
28
- content: string;
29
- };
30
- };
31
- export declare const FloatingComment: React.FunctionComponent<ComponentTypes>;
32
- export {};
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- type ComponentTypes = {};
3
- export declare const FloatingCommentExec: React.FC<ComponentTypes>;
4
- export {};
@@ -1,19 +0,0 @@
1
- import React from "react";
2
- import { BaseEditor } from "slate";
3
- import { ReactEditor } from "slate-react";
4
- type CustomElement = {
5
- type: "paragraph";
6
- children: CustomText[];
7
- };
8
- type CustomText = {
9
- text: string;
10
- };
11
- declare module "slate" {
12
- interface CustomTypes {
13
- Editor: BaseEditor & ReactEditor;
14
- Element: CustomElement;
15
- Text: CustomText;
16
- }
17
- }
18
- export declare const FloatingCommentSlate: () => React.JSX.Element;
19
- export {};
@@ -1,11 +0,0 @@
1
- import { FC } from "react";
2
- type AccordionTypes = {
3
- /** The title of the clickable accordion bar */
4
- title: string;
5
- /** The content inside the accordion to be visible once the bar is clicked */
6
- content: any;
7
- /** The index of each accordion, must be unique for each usage of this component */
8
- index: any;
9
- };
10
- export declare const HawaAccordion: FC<AccordionTypes>;
11
- export {};
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- type AdCardTypes = {
3
- orientation: "vertical" | "horizontal";
4
- title: string;
5
- description: string;
6
- imageURL: string;
7
- handleHide: any;
8
- };
9
- export declare const HawaAdCard: FC<AdCardTypes>;
10
- export {};
@@ -1,23 +0,0 @@
1
- import React from "react";
2
- type AlertTypes = {
3
- severity: "info" | "warning" | "error" | "success";
4
- /** The title of the alert placed above the text of the alert. Can be used alone */
5
- title?: any;
6
- /** The text of the alert placed below the title of the alert. Can be used alone */
7
- text: any;
8
- /** The duration for the alert to stay on the screen */
9
- duration?: number;
10
- variant?: "normal" | "solid" | "top-accent" | "left-accent" | "right-accent" | "bottom-accent";
11
- direction?: "rtl" | "ltr";
12
- actions?: [
13
- {
14
- label: string;
15
- onClick: any;
16
- variant: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost";
17
- }
18
- ];
19
- persistant?: boolean;
20
- icon?: any;
21
- };
22
- export declare const HawaAlert: React.FunctionComponent<AlertTypes>;
23
- export {};
@@ -1,21 +0,0 @@
1
- import { FC, ButtonHTMLAttributes } from "react";
2
- interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
- variant?: "contained" | "outlined";
4
- feedback?: string;
5
- tooltipDirection?: "rtl" | "ltr";
6
- color?: "default" | "primary" | "secondary" | "light" | "dark";
7
- width?: "full" | "normal" | "half";
8
- size?: "xs" | "small" | "medium" | "large" | "noPadding" | "full" | "icon";
9
- margins?: "none" | "1" | "2" | "3" | "4";
10
- tooltip?: string;
11
- tooltipSize?: "normal" | "small" | "large";
12
- tooltipPosition?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
13
- startIcon?: any;
14
- endIcon?: any;
15
- isLoading?: boolean;
16
- badge?: any;
17
- edgeCorner?: any;
18
- disabled?: boolean;
19
- }
20
- export declare const HawaButton: FC<ButtonProps>;
21
- export {};
@@ -1,25 +0,0 @@
1
- import React from "react";
2
- export declare const HawaCardInput: ({ cardHolder, cardMonth, cardYear, cardCvv, rememberMe, onUpdateState, cardNumberRef, cardHolderRef, cardDateRef, cardCvvRef, rememberMeRef, onCardInputFocus, onCardInputBlur, children, handlePaymentPayfort, selectedPaymentMethod, isRegister, accessCode, shaRequestPassphrase, transaction, signature, isCheckout, }: {
3
- cardHolder: any;
4
- cardMonth: any;
5
- cardYear: any;
6
- cardCvv: any;
7
- rememberMe: any;
8
- onUpdateState: any;
9
- cardNumberRef: any;
10
- cardHolderRef: any;
11
- cardDateRef: any;
12
- cardCvvRef: any;
13
- rememberMeRef: any;
14
- onCardInputFocus: any;
15
- onCardInputBlur: any;
16
- children: any;
17
- handlePaymentPayfort: any;
18
- selectedPaymentMethod: any;
19
- isRegister: any;
20
- accessCode: any;
21
- shaRequestPassphrase: any;
22
- transaction: any;
23
- signature: any;
24
- isCheckout: any;
25
- }) => React.JSX.Element;
@@ -1,11 +0,0 @@
1
- import { FC } from "react";
2
- type TCheckBoxTypes = {
3
- centered?: boolean;
4
- label?: any;
5
- helperText?: any;
6
- id: string;
7
- onChange?: (e: any) => void;
8
- val?: boolean;
9
- };
10
- export declare const HawaCheckbox: FC<TCheckBoxTypes>;
11
- export {};
@@ -1,17 +0,0 @@
1
- import { FC } from "react";
2
- type TChipTypes = {
3
- /** The text inside the chip */
4
- label: string;
5
- /** The small icon before the chip label */
6
- icon?: JSX.Element;
7
- /** The color of the chip, must be a tailwind color */
8
- color?: string;
9
- /** The size of the chip */
10
- size?: "small" | "normal" | "large";
11
- /** Enable/Disable the dot before the label of the chip */
12
- dot?: boolean;
13
- /** Red/Green dot next to the label of the chip indicating online/offline or available/unavailable */
14
- dotType?: "available" | "unavailable";
15
- };
16
- export declare const HawaChip: FC<TChipTypes>;
17
- export {};
@@ -1,15 +0,0 @@
1
- import { FC } from "react";
2
- type CodeBlockTypes = {
3
- color?: "dark" | "light";
4
- language?: string;
5
- width?: "full" | "md" | "sm";
6
- tabs?: TabsTypes[];
7
- fileName?: string;
8
- code?: string;
9
- };
10
- type TabsTypes = {
11
- title: string;
12
- code: string;
13
- };
14
- export declare const HawaCodeBlock: FC<CodeBlockTypes>;
15
- export {};
@@ -1,9 +0,0 @@
1
- import { FC, ChangeEvent } from "react";
2
- type ColorPickerTypes = {
3
- /** The hex code for the color */
4
- color?: any;
5
- /** Fires everytime the color changes */
6
- handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
7
- };
8
- export declare const HawaColorPicker: FC<ColorPickerTypes>;
9
- export {};